aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-08-14chore(sauce): use tunnel-identifier and ready-file only on TravisVojta Jina
When running locally, there's not TRAVIS_JOB_NUMBER env variable defined and it screws the Sauce Connect (it uses a tunnel with empty name), this makes it work locally without defining TRAVIS_JOB_NUMBER env variable. Also, if you run the sauce_connect_setup.sh locally, without having SAUCE_CONNECT_READY_FILE, it does not pass the `--ready-file` argument to avoid Sauce Connect blowing up.
2013-08-14fix($timeout): clean deferreds immediately after callback exec/cancelAndy Gurden
Make sure $timeout callbacks are forgotten about immediately after execution or cancellation. Previously when passing invokeApply=false, the cleanup used $q and so would be pending until the next $digest was triggered. This does not make a large functional difference, but can be very visible when looking at memory consumption of an app or debugging around the $$asyncQueue - these callbacks can have a big retaining tree.
2013-08-14fix(mocks.$timeout): forward delay argumentVojta Jina
The $timeout decorator was not forwarding the delay argument to `browser.defer.flush(delay)`.
2013-08-14fix(tutorial): fix broken link caused by bad line breakebeal
2013-08-14docs($http): added return to interceptors success callbackMikk Kirstein
2013-08-14revert: docs($interpolate): add example for the providerIgor Minar
This reverts commit 1a01e80b9cde4a711bee3e6244594b0d7e4b92a4. This example is bogus, breaks docs.angularjs.org and karma e2e tests
2013-08-13docs(input): add missing ngChange directive for email typeDavid Bennett
All other input types already have it.
2013-08-12docs(guide/unit-testing): add expression exampleSiddique Hameed
* Improved developer guide, directive unit testing documentation code with scope expression * Removed documentation block with nothing on it
2013-08-12test(matchers): update toThrow matcherVojta Jina
2013-08-12fix($parse): move global getter out of parse.jsChirayu Krishnappa
2013-08-12fix($location): default to / for the url base if no base[href]Igor Minar
With the recent refactoring of $location service we changed this behavior resulting in a regression. Previously we thought that html5 mode always required base[href] to be set in order for urls to resolve properly. It turns out that base[href] is problematic because it makes anchor urls (#foo) to always resolve to the base url, which is almost always incorrect and results in all anchors links and other anchor urls (e.g. svg references) to be broken. For this reason, we should now start recommending that people just deploy to root context (/) and not set the base[href] when using the html5 mode (push/pop history state). If it's impossible to deploy to the root context then either all urls in the app must be absolute or base[href] must be set with the caveat that anchor urls in such app won't work. Closes #2762
2013-08-12fix(ngCloak): hide element even when CSS 'display' is setVineet Kumar
Previously an element like <div class="foo ng-cloak">...</div> would still be annoyingly visible if it matched a CSS rule like .foo { display: inline-block; }, overriding ng-cloak's display: none.
2013-08-12refactor(core): use native String.prototype.trim if availableSebastian Müller
2013-08-12fix(i18n): Do not transform arrays into objectsLucas Galfasó
Do not trasnform arrays into objects when generating the locale objects Add unit test for this check
2013-08-12style(sanitize): fix typo in variable namesBen Holley
2013-08-12chore(package.json): fix name to work with latest NPMVojta Jina
2013-08-12fix(grunt): cache version numberIgor Minar
caching the version number speeds up the build and preserves resources. this also fixed EMFILE error that now occurs on some macs.
2013-08-12fix(dump): Prevented window.dump from being overridden by karma-jasmine.Jeff Cross
In commit 6820322db562382fac903be35831275948825317 of Karma-Jasmine, the dependency on angular.dump was removed. This caused two undesirable side effects in the angular.js project. 1) Tests for presence of mock dump were failing, and 2) the default window.dump was not outputting valuable angular-aware info. This simple fix adds window.dump in testabilityPatch, to preprocess dumped input prior to passing it to the global dump method.
2013-08-12fix(equals): {} and [] should not be considered equivalentBrenton
angular.equals was returning inconsistent values for the comparison between {} and []: angular.equals({}, []) // true angular.equals([], {}]) // false Since these object are not of the same type, they should not be considered equivalent.
2013-08-12docs(guide): remove superfluous });Roland
2013-08-12fix($compile): don't check attr.specified on non-ie7Igor Minar
the specified attribute is depricated and creates warnings in Firefox Closes #3231 Closes #2160
2013-08-12chore(.gitignore): ignore npm-debug.log fileMatias Niemelä
2013-08-12docs($interpolate): add example for the providerEmmanuel
2013-08-12fix($q): call `reject()` even if `$exceptionHandler` rethrowsPete Bacon Darwin
Normally $exceptionHandler doesn't throw an exception. It is normally used just for logging and so on. But if an application developer implemented a version that did throw an exception then $q would never have called reject() when converting an exception thrown inside a `then` handler into a rejected promise.
2013-08-12chore(bower): add a .bowerrc filejankuca
2013-08-12fix(jqLite): return array from multi select in val()Eric Hagman
2013-08-09docs($compile): update directive type signatureOpherV
To avoid "Argument type Array is not assignable to parameter type function" validation error When using the minifcation-safe array style (eg .directive('myDirective', ['$http','$timeout','$compile', function($http,$timeout $compile).... ) Closes #3392
2013-08-09docs(ngModel): validators should return undefined for invalid values.Niall Smart
Closes #3525
2013-08-09docs(httpBackend): update documentation for expect methodsSanti Albo
`expect` methods can receive an Object as the data parameter, which was undocumented.
2013-08-09fix(angular.copy): change angular.copy to correcly clone RegExpAndy Hitchman
angular.copy previously copied RegExp as an empty object. Change detects RegExp instance and clones into new RegExp. This change is based on a previous fix to allow Date to be copied. Closes #3473 Closes #3474
2013-08-08docs(ngModel): clarify docs for NgModelController#Igor Minar
Closes #3498
2013-08-08fix($compile): always instantiate controllers before pre-link fns runjankuca
Controllers should be always instantiated after compile fn runs, but before pre-link fn runs. This way, controllers are available to pre-link fns that request them. Previously this was broken for async directives (directives with templateUrl). Closes #3493 Closes #3482 Closes #3514
2013-08-07chore(ngdoc): wrap all pages inside of a container tag for easy stylingMatias Niemelä
2013-08-07feat(ngForm): Supports expression in form namesMatthew Windwer
<form name="ctrl.form"> form controller will accessible as $scope.ctrl.form instead of $scope['ctrl.form'] BREAKING CHANGE: If you have form names that will evaluate as an expression: <form name="ctrl.form"> And if you are accessing the form from your controller: Before: function($scope) { $scope['ctrl.form'] // form controller instance } After: function($scope) { $scope.ctrl.form // form controller instance } This makes it possible to access a form from a controller using the new "controller as" syntax. Supporting the previous behavior offers no benefit.
2013-08-07fix(input): fix the email regex to accept TLDs up to 6 characters longneilmcgibbon
The input field email regex does't not match long domain extensions. This commit extends the email regexp to take a 6 character TLD. Example 6-character TLDs include .museum and .travel - (e.g. allabout.travel).
2013-08-07fix(jqLite): forgive unregistration of a non-registered handlerPawel Kozlowski
2013-08-06docs(compile): fix minor spelling mistakeMichael Stewart
Closes: #3468
2013-08-03docs(guide/controller): fix wording in list of 'Do not use'Mark Campbell
Wording has been changed in two of the examples to read naturally. For example: From: 'Do not use controllers for to run stateless or stateful code shared across controllers' To: 'Do not use controllers for sharing stateless or stateful code across controllers' Closes #3454
2013-08-01revert: fix(location): fix parameter handling on search()Igor Minar
This reverts commit 90532f5e3c2016c99833a4dd779a5c4718c84f4d. The commit contains references to minErr that are not available in the stable branch.
2013-07-31fix(location): fix parameter handling on search()Misko Hevery
2013-07-31docs(header): replace logo.png with logo.svgBrenton
The current logo looks awful on high-density displays. SVG is a better choice because it can scale to any resolution without increasing file size. Amending #2775 to add support for IE 8 by falling back to existing PNG with img.onerror Using relative URLs as directed by @btford and @petebacondarwin. (commit by Brenton Simpson - @appsforartists) Closes #2874 Conflicts: docs/src/templates/css/docs.css docs/src/templates/index.html
2013-07-27docs(tutorial): mention the controller along the scopeRoland
2013-07-27docs(tutorial): add formattingRoland
the string literal {{query}} was missing as it was not enclosed into ``
2013-07-27docs(tutorial): add that the test also creates a controllerRoland
2013-07-24fix(form): pick the right attribute name for ngFormPawel Kozlowski
Closes #2997
2013-07-24fix(numberFilter): always convert scientific notation to decimalPaul Meskers
Previously, the number filter would format small and large numbers as scientific notation. It now uses toFixed() to ensure that all requested digits are shown.
2013-07-24fix($location): prevent infinite digest error due to IE bugPavel Vasek
If an app uses HTML5 mode and we open an html5 url on IE8 or 9 which don't support location href, we use location.replace to reload the page with the hashbang equivalent of the url but this fails with infinite digest. This is because location.replace doesn't update location.href synchronously on IE8 and 9. Closes #2802, #3305, #1417
2013-07-23docs(bootstrap): Note that ngScenario requires ngAppBraden Shepherdson
ngScenario expects an ngApp directive to be used, and doesn't work for manually bootstrapped apps. The failure mode is to hang on navigation. Trying to make this wont-fix bug less obscure by documenting it. Eventually Protractor will replace ngScenario and fix this.
2013-07-23docs(cacheFactory): correct typosSpencer
2013-07-23docs(index): add seed app link to menu itemRichard John