aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2011-09-27fix($route): fix regex escaping in route matcherIgor Minar
2011-09-27fix($resource): action defaults should override resource defaultsMarcello Nuccio
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-16fix(angular-mocks): fix .defer.cancel when i=0Igor Minar
2011-09-16fix(angular-mocks): fix forEach -> angular.forEach in $browser.defer.cancelIgor Minar
2011-09-06fix($browser.xhr): not convert 0 status to 200Vojta Jina
2011-09-02test(jsonp): fixing jsonp e2e testsIgor Minar
- 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-08-21fix(ng:options): remove memory leak caused by scope.Igor Minar
$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-19feat($route): add reloadOnSearch route param to avoid reloadsIgor Minar
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-19feat($xhr,$resource): expose response headers in callbacksKarl Seamon
all $xhr*, $resource and related mocks now have access to headers from their callbacks
2011-08-19fix($resource): properly call error callback when resource is called with ↵Karl Seamon
two arguments
2011-08-19doc(sample): Add javascript sandbox integration (jsFiddle)dandoyon
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-19refactor(jqLite): remove jqLite show/hide supportIgor Minar
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-19fix(directives): make ng:class-even/odd work with ng:classDi Peng
Closes #508
2011-08-18fix(bootstrap): missing var failed strict mode bootMisko Hevery
2011-08-18doc($browser): remove duplication of $browser to docsVojta Jina
This was causing to show up the "$browser" twice in the menu.
2011-08-18doc($browser): hide $browser.notifyWhenNoOustandingRequest methodVojta Jina
Closes #506
2011-08-18refactor(widgets): remove input[button, submit, reset, image] and button ↵Di Peng
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-18doc(xhr): add e2e test for JSONP error handlingDi Peng
- add e2e tests - refactor the example by removing clear button and simplifying the code
2011-08-18feat($browser): JSONP error handlingDi Peng
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-18fix($xhr.error): fix docs and add missed breaking changeVojta Jina
$xhr.error's first argument (request) has no callback property anymore, it's called success now... This breaking change was introduced by b5594a773a6f07dcba914aa385f92d3305285b24
2011-08-18doc(typos): fix couple of typos in the docsdandoyon
Minor documentation fixes. Should not be any code changes. One test changed due to dependency on text in documentation.
2011-07-29doc(date filter): fix dashes in api docsIgor Minar
2011-07-27feat($xhr): add custom error callback to $xhr, $xhr.cache, $xhr.bulk, $resourceKarl Seamon
Closes #408
2011-07-27style(): fix couple of missing semi-colonsVojta Jina
2011-07-27test(filter.date): fix e2e test to pass on different time zonesVojta Jina
2011-07-26fix(ng:show/ng:hide): use jqLite.show/jqLite.hideDi Peng
The previous implementation didn't handle situation when in css something was hidden with a cascaded display:none rule and then we wanted to show it. Unfortunatelly our test doesn't test this scenario because it's too complicated. :-/
2011-07-26feat(number/currency filter): format numbers and currency using patternDi Peng
both numbers and currency need to be formatted using a generic pattern which can be replaced for a different pattern when angular is working in a non en-US locale for now only en-US locale is supported, but that will change in the future
2011-07-26style(ng:options): fix style and some docsIgor Minar
2011-07-26fix(ng:options): add support for option groupsMisko Hevery
Closes# 450
2011-07-26fix(directive): ng:options to support ng:changeMisko Hevery
Closes #463
2011-07-26fix(directive): ng:options to support iterating over objectsMisko Hevery
Closes #448
2011-07-26fix(directive): ng:options incorrectly re-grew options on datasource changeMisko Hevery
Closes #464
2011-07-26fix(directive): ng:options now support binding to expressionMisko Hevery
Closes #449
2011-07-26chore(jqlite): clean up dead codeMisko Hevery
2011-07-26doc(ng:view): fix broken template links in docs; add scenario test.Misko Hevery
2011-07-22chore(license): update license headers + add version numIgor Minar
- fixed copyright overnship - updated copyright years - added @license tag so that closure compiler preserves the header - added version number into headers (finally!)
2011-07-22feat(angular.version): add angular.versionDi Peng
- placeholders are replaced with actual angular versions when doing rake compile
2011-07-20feat(filter.date): add support for default datetime formats in enDi Peng
- add support for full,long, medium, short datetime formats in en Breaks MMMMM. now we don't support MMMMM anymore as old implementation differs from Unicode Locale Data format we are following. - removed support for fullDateTime and fullTime as it means too much trouble with full timeZone names - added docs for the new features
2011-07-20feat(TzDate): add mock "toString" method to TzDate.Di Peng
- If the third param of TzDate constructor is defined, toStirng will just return this third parameter. Otherwise, toString will still be treated as unimplemented method
2011-07-19Revert "fix(ng:class): preserve classes added post compilation"Igor Minar
This reverts commit 2428907259fa80ec3b1b4bfd85ea20028a9f4fa5. We decided to revert this because it is not bullet proof. The issue is that we can't reliably have both angular and non-angular code in charge of the DOM. We could work around some issues here and there, but we can't do it reliably, so it's better not to support DOM manipulation that happens outside of angular. There is a good chance that once we integrate with MDVs our possition will change, but until then our position is that only angular or angular widgets/directives can change change DOM that was compiled.
2011-07-19doc(.defer.cancel): temporarily disable the docIgor Minar
2011-07-18feat($browser.$defer.cancel): support canceling defered tasksIgor Minar
2011-07-18fix($browser.setUrl): make browser.setUrl more efficientIgor Minar
- browser should remember the last value retrieved via browser.getUrl - browser should update window.location only if the new value is different from the current window.location value
2011-07-18feat(strict mode): adding strict mode flag to all js filesIgor Minar
the flag must be in all src and test files so that we get the benefit of running in the strict mode even in jstd the following script was used to modify all files: for file in `find src test -name "*.js"`; do echo -e "'use strict';\n" > temp.txt cat $file >> temp.txt mv temp.txt $file done
2011-07-18feat(strict mode): turn on ECMAScript 5 strict modeIgor Minar
- add 'use strict'; statement to the prefix file - configure closure compiler to use the ES5 strict mode - strip all file-specific strict mode flags after concatination Closes #223
2011-07-18fix(strict mode): fix all issues discovered by strict mode and unit/e2e testsIgor Minar
2011-07-18doc(angular.annotate): properly disable doc snippet to avoid compiler warningsIgor Minar
2011-07-18doc(misc): fixing typos in docsIgor Minar
2011-07-18refactor($browser): hide startPoll and poll methodsDiPeng
Breaks $browser.poll() method is moved inline to $browser.startpoll() Breaks $browser.startpoll() method is made private Refactor tests to reflect updated browser API Closes #387
2011-07-17refactor(docs): run e2e tests with and without jqueryDi Peng
- e2e tests will run index.html (without jquery) and with index-jq.html(with jquery). - many small changes to make e2e tests work withough JQuery as we discover problems that were previously hidden by using real JQuery.