1219 Commits

Author SHA1 Message Date
Igor Minar
2f128c9619 fix(e2e): add index-nocache.html to run e2e tests without cache
using appcache while running e2e tests was causing the following
problems:
- Safari would occasionally reload the app (as a result of the appcache
  refresh) during the angular.validator.asychronous test, which would
  result in test failure and false positivy.
- Firefox6 would run the tests very slowly, disabling the cache resolved
  the latency issues
- Sometimes tests would run with stale code pulled from cache, which
  would result in flaky tests.
2011-10-03 12:24:29 -07:00
Igor Minar
f7a5f1788a fix($route): fix regex escaping in route matcher 2011-09-27 01:45:54 +02:00
Marcello Nuccio
b3ed7a8a7a fix($resource): action defaults should override resource defaults
defaults definned per action should take precedence over defaults
defined for the whole resource.

This is potentialy a BREAKING CHANGE in case someone relied on the buggy
behavior.
2011-09-27 00:52:12 +02:00
Igor Minar
62d34e1437 fix(angular-mocks): fix .defer.cancel when i=0 2011-09-16 14:19:05 +02:00
Igor Minar
855971c385 fix(angular-mocks): fix forEach -> angular.forEach in $browser.defer.cancel 2011-09-16 01:52:30 +02:00
Igor Minar
2d489ff936 fix(docs): use window.execScript instead of window.eval on IE
IE's window.eval doesn't execute in the global context, so we have to
use window.execScript instead which works like window.eval on normal
browsers. However execScript throws an exception when an empty string is
passed in, so I created a workaround with a workaround.
2011-09-06 14:58:39 -07:00
Vojta Jina
fc5cda2f72 fix($browser.xhr): not convert 0 status to 200 2011-09-06 23:33:29 +02:00
Igor Minar
05ad1ce90c test(coockbook/mvc): disable tic tac toe e2e test
it looks like under certain circumstances the location service doesn't
propagate chages to window.loction. I'm disabling this test now, it is
passing on the master branch (0.10.0)
2011-09-02 22:34:07 -07:00
Igor Minar
5703984d4d test(jsonp): fixing jsonp e2e tests
- buzz api keeps on throttling our requests which makes our build fail
  so I'm disabling the buzz demo e2e test
- the $xhr service jsonp test was modified to use jsonp on angularjs.org
  instead of buzz api for the same reason as mentioned above
2011-09-02 17:10:25 -07:00
Igor Minar
ea8952177e fix(test): improve $cookie service test to work with Safari 5.1
the max size for safari cookies has changed sligtly so I had to adjust
the test to make cookie creation fail on this browser
2011-09-02 10:05:06 -07:00
Di Peng
90ca6f983e fix(docs): remove more unecessary use of hide() and show() method
- tutorial section of docs fails to render properly as
doc:tutorial-instructions widget uses deprecated show and hide methods
of jQlite.
2011-08-21 09:41:50 -07:00
Igor Minar
57030bb6b4 chore(version.yaml): preparing version.yaml for 0.9.20 2011-08-21 01:14:16 -07:00
Igor Minar
710a27030e cutting the 0.9.19 canine-psychokinesis release v0.9.19 2011-08-21 01:12:34 -07:00
Igor Minar
19aa16c8d5 fix(docs): work around the lame ng:show directive 2011-08-21 01:12:34 -07:00
Igor Minar
4a1972c71b fix(docs): change docs.css to avoid css clashes in buzz example 2011-08-21 01:12:34 -07:00
Igor Minar
6aa04b1db4 fix(ng:options): remove memory leak caused by scope.
$new can't be used for creation of temporary scopes because it registers
an onEval listener that doesn't go away and keeps the scope around, we
must use inherit(scope) instead to avoid this issue.

The issue does not apply to the master branch with the new scope which
has a scope descructor to clean up this mess.
2011-08-21 01:12:34 -07:00
Di Peng
ac6e1306ec fix(sample): Fix for jsFiddle integration 2011-08-19 13:29:26 -07:00
Igor Minar
e004378d10 feat($route): add reloadOnSearch route param to avoid reloads
In order to avoid unnecesary route reloads when just hashSearch part
of the url changes, it is now possible to disable this behavior by
setting reloadOnSearch param of the route declaration to false.

Closes #354
2011-08-19 12:05:52 -07:00
Karl Seamon
4ec1d8ee86 feat($xhr,$resource): expose response headers in callbacks
all $xhr*, $resource and related mocks now have access to headers from
their callbacks
2011-08-19 01:20:45 -07:00
Karl Seamon
c37bfde9eb fix($resource): properly call error callback when resource is called with two arguments 2011-08-19 01:17:20 -07:00
Vojta Jina
f6bcbb53f0 feat(test): toHaveBeenCalledOnce jasmine matcher 2011-08-19 01:17:09 -07:00
dandoyon
53a4580d95 doc(sample): Add javascript sandbox integration (jsFiddle)
Change doc_widget.js to:

- render "edit in jsfiddle" button next to all examples
- make opt out certain examples by adding jsfiddle="false" attribute to
  doc:source element
2011-08-19 01:16:56 -07:00
Igor Minar
4c8eaa1eb0 refactor(jqLite): remove jqLite show/hide support
it turns out that even with our tricks, jqLite#show is not usable in
practice and definitely not on par with jQuery. so rather than
introducing half-baked apis which introduce issues, I'm removing them.

I also removed show/hide uses from docs, since they are not needed.

Breaks jqLite.hide/jqLite.show which are no longer available.
2011-08-19 00:59:44 -07:00
Igor Minar
4ba35eb97e chore(jasmine): disable 'Jasmine waiting for..' msg 2011-08-19 00:15:21 -07:00
Di Peng
6fb4bf4c54 fix(directives): make ng:class-even/odd work with ng:class
Closes #508
2011-08-19 00:14:05 -07:00
Misko Hevery
cc604b6e26 fix(bootstrap): missing var failed strict mode boot 2011-08-18 23:47:02 -07:00
Vojta Jina
99ee6f275a doc($browser): remove duplication of $browser to docs
This was causing to show up the "$browser" twice in the menu.
2011-08-18 23:46:51 -07:00
Vojta Jina
21c4919a5b doc($browser): hide $browser.notifyWhenNoOustandingRequest method
Closes #506
2011-08-18 23:46:21 -07:00
Di Peng
714759100c refactor(widgets): remove input[button, submit, reset, image] and button windgets
These widgets are useless and only trigger extra $updateViews.

The only reason we had them was to support ng:change on these widgets,
but since there are no bindings present in these cases it doesn't make
sense to support ng:change here. It's likely just a leftover from
getangular.com

Breaking change: ng:change for input[button], input[submit], input[reset], input[image]
and button widgets is not supported any more
2011-08-18 23:44:15 -07:00
Di Peng
ee8e981c47 doc(xhr): add e2e test for JSONP error handling
- add e2e tests
- refactor the example by removing clear button and simplifying the code
2011-08-18 23:34:15 -07:00
Di Peng
05e2c3196c feat($browser): JSONP error handling
since we don't know if the error was due to a client error (4xx) or
server error (5xx), we leave the status code as undefined.
2011-08-18 23:33:32 -07:00
Igor Minar
718ebf1fcf doc(tutorial): updates needed for 0.9.18 rebase 2011-08-18 23:33:19 -07:00
DiPeng
2f5d17f3b6 fix(docs): fix qfs.read() encoding issue
- must use binary reading when using read function in q-fs module
otherwise some unicode character may be garbled.

Closes #497
2011-08-18 23:33:10 -07:00
Vojta Jina
fd792de9e8 fix($xhr.error): fix docs and add missed breaking change
$xhr.error's first argument (request) has no callback property anymore,
it's called success now...

This breaking change was introduced by b5594a773a
2011-08-18 23:33:00 -07:00
dandoyon
a01cf6d39e doc(typos): fix couple of typos in the docs
Minor documentation fixes. Should not be any code changes.
One test changed due to dependency on text in documentation.
2011-08-18 23:24:08 -07:00
Igor Minar
f93e9bfa81 prepare the 0.9.19 canine-psychokinesis iteration 2011-08-18 23:24:08 -07:00
Igor Minar
590cd14ae0 fix(Rakefile): index-jq.html needs to be rewritten like index.html 2011-08-18 23:23:41 -07:00
Igor Minar
74db92cd9f doc(release notes): small fixes for the 0.9.18 release 2011-08-18 23:23:27 -07:00
Igor Minar
aacd5b672e cutting the 0.9.18 jiggling-armfat release v0.9.18 2011-07-29 16:30:24 -07:00
Igor Minar
8d64793717 doc(release notes): release notes for the 0.9.18 jiggling-armfat release 2011-07-29 15:27:15 -07:00
Igor Minar
908f59a5df doc(date filter): fix dashes in api docs 2011-07-29 15:00:00 -07:00
Igor Minar
a45d383da2 doc(contribute): add npm & q dependencies to setup instructions 2011-07-29 13:59:36 -07:00
Igor Minar
c1a681d6f4 doc(index.html): change the order of elements in the navbar
Users often don't see Tutorial and go straight to crappy Dev Guide,
changing the order should help find them right content in the right
order.
2011-07-29 13:44:55 -07:00
Igor Minar
f4df421b44 doc(css): make all navbar links bold 2011-07-29 13:43:51 -07:00
Igor Minar
bdef462ccc doc(started): fixing up the doc and adding link to the tutorial 2011-07-29 12:56:50 -07:00
Igor Minar
a79231dea6 doc(guide): various fixes and improvements 2011-07-29 12:46:54 -07:00
Igor Minar
3e54a1b18a doc(tutorial): fixes and improvements from Toni and Ben 2011-07-29 12:40:27 -07:00
Igor Minar
4b90f65614 feat(tutorial): add an arrow to 'Workspace Reset Instructions' links
The arrow is a hint that user won't navigate to a new page, but instead
the instructions will be displayed inline.
2011-07-29 11:43:17 -07:00
Karl Seamon
b5594a773a feat($xhr): add custom error callback to $xhr, $xhr.cache, $xhr.bulk, $resource
Closes #408
2011-07-27 15:21:31 -07:00
Vojta Jina
f39420e7d7 style(): fix couple of missing semi-colons 2011-07-27 22:24:07 +02:00