aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
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.
2011-07-17feat(jqlite): added show(),hide() and eq() methods to jqliteDi Peng
- add those three methods to jqlite
2011-07-18style(injector): remove extra semicolonIgor Minar
2011-07-16doc(ng:include): improve the doc example to avoid confusionIgor Minar
2011-07-16fix(doc): fix all broken linksIgor Minar
2011-07-16doc(angular.mock.service.$browser): add xhr docsDi Peng
2011-07-13fix(ng:class): preserve classes added post compilationDi Peng
- make sure ng:class preserve classes added after compilation Closes #355
2011-07-13refactor($browser.xhr): use $browser.addJs for JSONPIgor Minar
There is no reason why we shouldn't reuse $browser.addJs for JSONP requests.
2011-07-13fix($browser.addJs): make addJs jQuery compatibleIgor Minar
Change addJs implementation to avoid use of jQuery because of issues that affect angular-ie-compat.js. See inlined comment for more info.
2011-07-13fix($browser.xhr): properly delete jsonp callbacksIgor Minar
2011-07-13fix(bootstrap): Fix bootstrap on IE<8Vojta Jina
No reason for including ie-compat in bootstrap, it's included during angularInit. Fix including ie-compat even for production.
2011-07-13doc($route): fix $route example and couple of typosVojta Jina
Rewrite $route example a bit, as it required $location and $route services to be eager published in the root scope. Fix small typos in formatter and ng:options docs.
2011-07-12fix:jqLite: Set event.target on IE<8Vojta Jina
IE<8's Event has not target property - it has srcElement property. Fix that to be consistent as jQuery.
2011-07-12fix:jqLite: Normalize non-existing attributes to undefined as jQueryVojta Jina
jqLite was returning null, but jQuery returns undefined
2011-07-12fix:jqLite: Fix binding to more events separated by spaceVojta Jina
The var eventHandler was defined outside forEach loop, so registering more events caused calling listeners registered by the last one. Regression: elm.bind('click keyup', callback1); elm.bind('click', callback2); elm.bind('keyup', callback3); Firing click event would have executed callback1, callback3 !
2011-07-11doc:widget: improve angular.widget docsIgor Minar
2011-07-10docs:compile: Just fixing some typos in the docsVojta Jina
2011-07-06fix:injector: make injector compatible with Rhino (HtmlUnit)Mårten Dolk
2011-07-01fix:exceptionHandler mock: should not specify dependenciesIgor Minar
also added a test for this mock service
2011-07-01fix:$browser mock: defer.flush() should flush all fnsIgor Minar
2011-06-30doc:markup: wrong spelling for Vojta, all DI's fault.DiPeng
2011-06-30docs:include: improve docsIgor Minar
2011-06-30fix:docs: fix $orderBy example and e2e testIgor Minar
2011-06-30feat:$xhr: provide access to $xhr header defaultsIgor Minar
$xhr header defaults are now exposed as $xhr.defaults.headers.common and $xhr.default.headers.<httpmethod>. This allows applications to configure their defaults as needed. This commit doesn't allow headers to be set per request, only per application. Per request change would require api change, which I tried to avoid *for now*.
2011-06-27fix:$browser: Use document.createElement to create JSONP script tagVojta Jina
Creating <script> tags would require a lot of extra work if we want all browsers to load and execute these scripts. We decided to not implement that in jqLite. See #369 for more information. Closes #369
2011-06-23fix:repeat: fix ending comment tagIgor Minar
2011-06-23feat:filter.date: add day/month string format supportDi Peng
Support new date format, specifically day of week/Month of year in string e.g. {{ someDate | data:"EEE, MMM d, yyyy" }} -> "Wed, Jul 10, 2011" Closes #396
2011-06-23fix:ng:repeater - fix $position when collection size changesMisko Hevery
2011-06-23fix:$orderBy - return unsorted array if no predicateMisko Hevery
Closes #399
2011-06-23fix:scope - reintroduce support for eager servicesDi Peng
8cad231 broke $eager services Problem is that the injector.eager function is not invoked when a new scope is created. Added a test to make sure service is eagerly instantiated. Closes #403
2011-06-16Added ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected to ↵Di Peng
markup.js. Also added coresponding descriptions live examples and tests for each directive to be displayed on the website. Closes #351
2011-06-15Fix test for scenario.Application - should remove old iframeVojta Jina
This behavior was changed by e83465c362c53ac7451183a775456f3112262f6e So this commit should have been part of e83465c362c53ac7451183a775456f3112262f6e Also removed hiding and navigating to about:blank as it makes no sense now...
2011-06-15Fix scenario runner on IE7, IE8Misko Hevery
* add ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected * fetch fixed cookbook/advancedform (use ng:disabled) * fire keydown instead of change on input * remove frame when test finishes