aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2014-03-07docs(ngBind): fix typoSekib Omazic
`preferrable` -> `preferable` Typo fixed Closes #6606
2014-03-07style(jsdoc tags): remove/ammend invalid tagsPeter Bacon Darwin
As highlighted by the new sterner dgeni.
2014-03-07fix($compile): support templates with thead and tfoot root elementsLucas Galfasó
If the first element in a template is a <thead> or a <tfoot>, then use the existing logic to handle table elements compilation. Closes #6289
2014-03-07docs($route): fix formatting of example codePeter Bacon Darwin
2014-03-06feat(input): support types date, time, datetime-local, month, weekBen Lesh
On older browser that don't support the new HTML5 inputs and display a text input instead, the user is required to enter the data in the corresponding ISO format. The value in `ng-model` will always be a date. E2e tests contain a workaround to a bug in webdriver, see https://github.com/angular/protractor/issues/562. Also adds weeks as format to the `dateFilter`. Related to #757. Closes #5864.
2014-03-06fix(style): expressions in style tagsSekib Omazic
Enable data-binding for style tags. Note: this feature does not work on IE8. Closes #2387 Closes #6492
2014-03-05style: enable jscs requireLeftStickedOperators ruleTimothée Jeannin
Closed #6544.
2014-03-02docs(loader): remove duplicate "the"Ole Michaelis
Typo fixup Closes #6521
2014-03-02docs(ngView): rename controller suffix in ngView exampleGronblom Sam
- According to https://github.com/angular/angular.js/blob/5bf81bc111a866ec65ef86c01336911e577df5df/docs/content/guide/controller.ngdoc#L166 Ctrl should be the suffix for a controller Closes #5817
2014-03-02docs($interval): cancel() takes a promise not a numberMikeMcElroy
Closes #6485
2014-03-02docs(*): ensure jsdoc type expressions are validPeter Bacon Darwin
2014-03-02docs(loader): change 'MyModule' -> 'myModule'Paolo Moretti
Closes #5393
2014-03-02docs(ngMock): fixes in flush() documentationthenickcox
The docs for the `flush()` method contained a few grammatical errors and were awkwardly worded. Change the explanation of the method to remove errors and read more naturally. Closes #4886
2014-02-28style: enable jscs requireRightStickedOperators ruleIgor Minar
2014-02-28docs(forms): generated CSS classes for forms and inputs must have a ng prefixMatias Niemelä
2014-02-28docs(input): update $parsers NgModelController docJason Winnebeck
Make it clear that the result of the $parsers pipeline is what goes to the model value. Closes #5708
2014-02-28docs(ngAnimate): add missing 'super' to addClassnosideeffects
2014-02-28fix($animate): delegate down to addClass/removeClass if setClass is not foundMatias Niemelä
Closes #6463
2014-02-28feat($animate): animate dirty, pristine, valid, invalid for form/fieldsYves Brissaud
Add css animations when form or field status change to/from dirty, pristine, valid or invalid. This works like animation system present with ngClass, ngShow, etc. Closes #5378
2014-02-27docs(core): update fromJson return valueslinclark
Dates are not returned, so remove Date from list of return values. Closes #3070
2014-02-27fix(jqLite): properly toggle multiple classesPawel Kozlowski
Fixes #4467 Closes #6448
2014-02-27chore(animate): fix typo in a commentLajos Veres
2014-02-27docs($sce): fix typoLajos Veres
2014-02-27docs($compile): fix typoLajos Veres
2014-02-26docs($injector): fix typodesertapple
Duplicate 'that' words present in the document, just remove one of them. Closes #6469
2014-02-26fix($animate): ensure all comment nodes are removed during a leave animationMatias Niemelä
Closes #6403
2014-02-26fix($animate): only block keyframes if a stagger is set to occurMatias Niemelä
Transitions must be blocked so that the initial CSS class can be applied without triggering an animation. Keyframes do not need to be blocked since animations are always triggered on the starting CSS class, however, if a stagger animation is set to occur then all elements for index > 0 should be blocked. This is to prevent the animation from occuring early on before the stagger delay for the given element has passed. With ngAnimate and keyframe animations, IE10 and Safari will render a slight flicker effect caused by the blocking. This fix resolves this issue. Closes #4225
2014-02-26fix(ngAnimate): TypeError Cannot call method 'querySelectorAll' in ↵Stanislav Sysoev
cancelChildAnimations When an element containing both ng-repeat and ng-if directives attempts to remove any items from the repeat collection, the following error is thrown: "TypeError Cannot call method 'querySelectorAll' of undefined". This happens because the cancelChildAnimations code naively belives that the jqLite object always has an element node within it. The fix in this commit addresses to securely check to see if a node was properly extracted before any child elements are inspected. Closes #6205
2014-02-26fix($animate): ensure that animateable directives cancel expired leave ↵Matias Niemelä
animations If enter -> leave -> enter -> leave occurs then the first leave animation will animate alongside the second. This causes the very first DOM node (the view in ngView for example) to animate at the same time as the most recent DOM node which ends up being an undesired effect. This fix takes care of this issue. Closes #5886
2014-02-26fix($animate): ensure all animated elements are taken care of during the ↵Matias Niemelä
closing timeout Closes #6395
2014-02-26docs(*): fix jsdoc type expressionsPeter Bacon Darwin
These errors in the docs were preventing some parts of the docs from being parsed.
2014-02-25revert: fix($location): parse query string when path is empty in hashbang modeIgor Minar
This reverts commit cad717b1171affc3d540cea372576c70b0cb2295. This change causes regressions in existing code and after closer inspection I realized that it is trying to fix an issue that is should not be considered a valid issue. The location service was designed to work against either "hash" part of the window.location when in the hashbang mode or full url when in the html5 mode. This change tries to merge the two modes partially, which is not right. One reason for this is that the search part of window.location can't be modified while in the hashbang mode (a browser limitation), so with this change part of the search object should be immutable and read-only which will only cause more confusion. Relates to #5964
2014-02-26feat($parse): support trailing commas in object & array literalsMichał Gołębiowski
Per ECMAScript 5.1 specification trailing commas are allowed in object and array literals. All modern browsers as well as IE>8 support this syntax. This commit adds support for such syntax to Angular expressions.
2014-02-24perf($animate): use rAF instead of timeouts to issue animation callbacksMatias Niemelä
2014-02-24chore(core): create a wrapper to manage async callbacksMatias Niemelä
2014-02-24chore(core): introduce a wrapper for requestAnimationFrameMatias Niemelä
2014-02-24docs($interpolate) fix sample code appearing unformattedDiego Muñoz Escalante
Closes #6418
2014-02-23docs($routeProvider): correct "slashs" to "slashes"Alessandro Bahgat
Closes #6415
2014-02-22docs(ngPluralize): corrected "bounded to" to "bound to"Alessandro Bahgat
Closes #6408
2014-02-22docs($animate): change @param to use valid typesPeter Bacon Darwin
`{jQuery/jqLite element}` is not a valid jsdoc type and breaks when being parsed causing the documentation to look wrong. This commit changes all such param tags to use `DOMElement` instead, which is what is used for similar params in `$compile` and `angular.element`.
2014-02-21perf($cacheFactory): skip LRU bookkeeping for caches with unbound capacitySekib Omazic
Fixes #6193 Closes #6226
2014-02-21fix($location): parse query string when path is empty in hashbang modeCaitlin Potter
Before this fix, search queries in hashbang mode were ignored if the hash was not present in the url. This patch corrects this by ensuring that the search query is available to be parsed by urlResolve when the hashbang is not present. Closes #5964
2014-02-21fix(input): use ValidityState to determine validityCaitlin Potter
In browsers where HTML5 constraint validation is (partially) implemented, an invalid number entered into an input[type=number] (for example) input element would be visible to the script context as the empty string. When the required or ngRequired attributes are not used, this results in the invalid state of the input being ignored and considered valid. To address this, a validator which considers the state of the HTML5 ValidityState object is used when available. Closes #4293 Closes #2144 Closes #4857 Closes #5120 Closes #4945 Closes #5500 Closes #5944
2014-02-21fix(isElement): reduce false-positives in isElement testsCaitlin Potter
Complimentary change to match changed $parse behaviour.
2014-02-21fix($parse): reduce false-positives in isElement testsCaitlin Potter
There are always going to be false positives here, unfortunately. But testing different properties will hopefully reduce the number of false positives in a meaningful way, without harming performance too much. Closes #4805 Closes #5675
2014-02-21feat(ngHref): bind ng-href to xlink:href for SVGAElementCaitlin Potter
This change makes the ngHref directive useful for SVGAElements by having it bind to the xlink:href attribute rather than the href attribute. Closes #5904
2014-02-21fix($http): do not add trailing questionBoris Serdyuk
Closes #6342
2014-02-21fix($http): send GET requests by defaultPawel Kozlowski
Fixes #5985 Closes #6401
2014-02-21docs(*): fix anchors for members in api docsPeter Bacon Darwin
2014-02-21docs(ngMock.$interval): fix return descriptionSadaoui Abderrahim
Closes #6384