aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-12-30chore(release.sh): push both the release commit and tagIgor Minar
2013-12-30fix(input): prevent double $digest when using jQuery trigger.Michał Gołębiowski
If an event was performed natively, jQuery sets the isTrigger property. When triggering event manually, the field is not present. Manually triggered events are performed synchronously which causes the "$digest already in progress" error. Closes #5293
2013-12-30fix($location): re-assign history after BFCache back on Android browserkimwz
Closes #5425
2013-12-27perf(Scope): limit propagation of $broadcast to scopes that have listeners ↵Karl Seamon
for the event Update $on and $destroy to maintain a count of event keys registered for each scope and its children. $broadcast will not descend past a node that has a count of 0/undefined for the $broadcasted event key. Closes #5341 Closes #5371
2013-12-27fix(ngRoute): instantiate controller when template is emptyCaitlin Potter
Before this change, $route controllers are not instantiated if the template is falsy, which includes the empty string. This change tests if the template is not undefined, rather than just falsy, in order to ensure that templates are instantiated even when the template is empty, which people may have some reason to do. This "bug" was reported in http://robb.weblaws.org/2013/06/21/angularjs-vs-emberjs/, as a "gotcha" for AngularJS / ngRoute. Closes #5550
2013-12-27fix($sanitize): consider `size` attribute as valid/allowed attributeBrady Isom
The "size" attribute gets set on <font> elements when using HTML5 rich text editors, or elements with the contenteditable attribute, that rely on the 'fontSize' command (execCommand). Closes #5522
2013-12-23chore: update Karma and SauceLabs launcherVojta Jina
This should improve stability as it contains capture timeout (if a browser does not capture in a given timeout it gets killed) and retry (if a browser fails to start, Karma will try n times before failing).
2013-12-20docs(guide/forms): update examplemkolodny
Right now, non-integers such as 'aawefwae' are valid. This ensures that only integers are valid. Hopefully that makes the example more powerful. Closes #5501
2013-12-20docs(guide/forms): code style changes for an examplemkolodny
Closes #5499
2013-12-20style($http): fix a semi-colonsanfords
2013-12-20chore(release): update cdn versionVojta Jina
2013-12-19docs(guide): fix typoKlaus Weiss
Closes #5481
2013-12-19chore(release): add codename for 1.2.7Brian Ford
2013-12-19chore(release): start v1.2.7chimney-sweeper
2013-12-19chore(release): cut v1.2.6 releasev1.2.6chimney-sweeper
2013-12-19chore(release): improve the release scriptIgor Minar
2013-12-19docs(CHANGELOG): add v1.2.6 changesBrian Ford
2013-12-19feat(ngAnimate): provide configuration support to match specific className ↵Matias Niemelä
values to trigger animations Closes #5357 Closes #5283
2013-12-19feat(jqLite): provide support for element.one()Matias Niemelä
2013-12-19style(animateSpec): ensure spacing between specs and describes is consistentMatias Niemelä
2013-12-19fix($animate): use a scheduled timeout in favor of a fallback property to ↵Matias Niemelä
close transitions With ngAnimate, CSS transitions, that are not properlty triggered, are forceably closed off by appling a fallback property. The fallback property approach works, however, its styling itself may effect CSS inheritance or cause the element to render improperly. Therefore, its best to stick to using a scheduled timeout to run sometime after the highest animation time has passed. Closes #5255 Closes #5241 Closes #5405
2013-12-19docs($interval): remind the developer to destroy their intervalsJosh Kurz
It is essential that users of `$interval` destroy the interval when they are finished. Otherwise you can get memory leaks. Often `$intervals` are used in directives or controllers and developers don't think about what happens when the component is destroyed. If a directive/controller scope is destroyed, then the $interval should be destroyed as well. This could cause some issues with developers who assume that the interval will be cleared for them when the scope is destroyed. Closes #5377 I believe that the library could/should handle this as well, but thats another issue.
2013-12-19docs(ngCloak): style name is ng-cloak, not ngCloaksnicolai
Closes #5374
2013-12-19docs(booleanAttrs): add @priority to all the boolean directivesMark Jones
Closes #5361
2013-12-19docs(tutorial/step-4): fix typoTony Cronin
Closes #5356
2013-12-19docs($injector): use correct spacing convention for CoffeeScript functionsmkolodny
This convention is exhibited by http://coffeescript.org/ and https://github.com/polarmobile/coffeescript-style-guide#functions. Closes #5354
2013-12-19docs(ngEventDirs): adding quick examples for new eventsJames Watling
Closes #5338
2013-12-19fix($compile): remove invalid IE exceptional case for `href`Alexandre Potvin Latreille
It appears that this exceptional case was only valid for IE<8 and that for IE>=8 it was actually causing a bug with the `ng-href-attr` directive on `<a>` elements. Closes #5479
2013-12-19fix($parse): return 'undefined' if a middle key's value is nullCaitlin Potter
Prior to this fix, $parse/$eval would return 'null' if a middle key in an expression's value is null, when it should be expected to be undefined. This patch tries to remedy this by returning undefined for middle values in expressions, when fetching a child of that null value. For example: ```js // Given the following object: $scope.a = { b: null }; // $scope.$eval('a.b.c') returns undefined, whereas previously it would return null ``` Closes #5480
2013-12-18fix($log): should work in IE8Tobias Bosch
In IE8, reading `console.log.apply` throws an error. Catching this errow now. Fixes #5400. Fixes #5147.
2013-12-18fix(forEach): allow looping over result of querySelectorAll in IE8Tobias Bosch
In IE8 the result object of calling `node.querySelectorAll` does not have a `hasOwnPropery` function. However, it should be usable with `forEach`. Related to #5400.
2013-12-18docs(guide): fixed *off typo in angular.injector example commentZachary Babtkis
Closes #5441
2013-12-18fix($location): parse xlink:href for SVGAElementsCaitlin Potter
Before this fix, the xlink:href property of an SVG <a> element could not be parsed on click, as the property is an SVGAnimatedString rather than a DOMString. This patch parses the xlink:href's animVal into a DOMString in order to prevent an `Object #<SVGAnimatedString> has no method 'indexOf'` exception from being thrown, and also to update the location if necessary as expected. Closes #5472 Closes #5198 Closes #5199 Closes #4098 Closes #1420
2013-12-18fix(closure): add type definition for Scope#$watchCollectionoojerryoo
Closes #5475
2013-12-18perf($parse) use a faster path when the number of path parts is lowKarl Seamon
Use a faster path when the number of path tokens is low (ie the common case). This results in a better than 19x improvement in the time spent in $parse and produces output that is about the same speed in chrome and substantially faster in firefox. http://jsperf.com/angularjs-parse-getter/6 Closes #5359
2013-12-18perf(compile): add class 'ng-scope' before cloning and other micro-optimizationsKarl Seamon
Add class ng-scope to dom nodes during directive compile rather than link. Optimize handling of nodeLists. This results in a savings of about 130ms during the startup of a product within Google. Closes #5471
2013-12-18docs($resource): fix typo in server response exampleoweitz
The server is supposed to return the same card number as in the client request. Adjust server response example to the value given in the client request. Closes #5352
2013-12-18docs(tutorial/step-5): fix typojustmiaotou
Closes #5347
2013-12-18docs(ngInit): fix typoJason Farnsworth
Closes #5343
2013-12-18docs(guide/directive): improve access to isolate scope informationPete Bacon Darwin
Closes #5329
2013-12-18docs(tutorial/step_11): fix indenting in an exampleJesse Browne
Closes #5322
2013-12-18docs(contribute): you may need sudo to install globally on unix systemsKurt Funai
Closes #5318
2013-12-18docs(error/noregexp): fix link to ng-patternZiang Song
Closes #5313
2013-12-18docs($compile): fix param name and improve example variable nameKindy Lin
Closes #5310
2013-12-18fix(input): do not hold input for composition on androidChia-liang Kao
Workaround for chrome for android until #2129 is ready. Closes #5308, #5323
2013-12-18chore($sniffer): make android variable publicChia-liang Kao
2013-12-17docs(bootstrap-prettify): fix $timeout issues and update related docsPete Bacon Darwin
End 2 end tests wait for all `$timeout`s to be run before completing the test. This was problematic where we were using timeouts that restarted themselves because there would never be a point when all timeouts had completed, causing the tests to hang. To fix this $timeout had been monkey-patched but this caused other issue itself. Now that we have $interval we don't need to use $timeout handlers that re-trigger the $timeout so we can ditch the monkey-patch. This commit tidies up any examples that are using this approach and changes them to use $interval instead. Closes #5232
2013-12-17perf: use faster check for $$ prefixKarl Seamon
Use two calls to charAt instead of substr to detect a $$prefix in the shallowCopy functions. This makes shallowCopy 25-50% faster (depending on which browser is used). http://jsperf.com/angular-shallow-copy Closes #5457
2013-12-17fix(select): invalidate when 'multiple`, `required` and model is `[]`Caitlin Potter
When `multiple` attribute is set on a `<select>` control and the model value is an empty array, we should invalidate the control. Previously, this directive was using incorrect logic for determining if the model was empty. Closes #5337
2013-12-17docs(tutorial/step-11): change "last" to "next"Stéphane Reynaud
Since step 12 was added, step 11 is not the last. So this is not the last improvement. Closes #5306