aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
AgeCommit message (Collapse)Author
2014-03-17style($templateCache): remove trailing whitespaceCaitlin Potter
This was introduced by 2ca6d650e8a13cee28f11c38622cab231787325f, somewhat inexplicably as I had run grunt ci-checks locally. But regardless, this should fix this up.
2014-03-17docs($templateCache): use GFM example format rather than <pre> tagsJesse Palmer
Updated example formatting. Closes #6068
2014-03-17docs(booleanAttrs): fix typoSekib Omazic
2014-03-17docs(ngForm): remove duplicate @param annotationDavid Rogers
When the example for `ngAnimate` was added in commit:3344396, the `@param name` annotation was unintentionally duplicated. Remove this duplicate. Closes #6720
2014-03-17docs(ngInclude): make the quote type explicitMark Jones
2014-03-17docs($http): update shortcut method descriptionlinclark
Update docs to reflect that $http no longer requires passing in an HTTP method, as changed in #6401.
2014-03-15fix($http): allow sending Blob data using $httpBruno Baia
Closes #5012
2014-03-14fix($http): don't covert 0 status codes to 404 for non-file protocolsPawel Kozlowski
PR #5547 introduced conversion of all 0 status codes to 404 for cases where no response was recieved (previously this was done for the file:// protocol only). But this mechanism is too eager and masks legitimate cases where status 0 should be returned. This commits reverts to the previous mechanism of handling 0 status code for the file:// protocol (converting 0 to 404) while retaining the returned status code 0 for all the protocols other than file:// Fixes #6074 Fixes #6155
2014-03-14fix($$rAF): always fallback to a $timeout incase native rAF isn't supportedMatias Niemelä
Closes #6654
2014-03-13fix (ngAnimate): fix requestAnimationFrame for old version of FirefoxThomas Belin
The recent $$RAFProvider which is a wrapper for the native requestAnimationFrame method doesn't use the mozRequestAnimationFrame. Old versions of FF (20 for example) crash if ngAnimate is included No breaking changes and fix issue https://github.com/angular/angular.js/issues/6535 Closes #6535 Closes #6540
2014-03-10docs(ngRepeat): Separate animation class in new linesBasem Mostafa
Moving to new lines & making it bold to avoid confusion when they r all in same line without any separation Closes #6633
2014-03-10feat(): whitelist blob urls for sanitization of data-bound image urlsIgor Minar
Closes #4623
2014-03-07docs($sce): correct typoSekib Omazic
`consititute` -> `constitute` Typo fixed Closes #6607
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-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-02docs($interval): cancel() takes a promise not a numberMikeMcElroy
Closes #6485
2014-03-02docs(*): ensure jsdoc type expressions are validPeter Bacon Darwin
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-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($sce): fix typoLajos Veres
2014-02-27docs($compile): fix typoLajos Veres
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-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-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($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-20docs(ngSubmit): reference correct object ($scope) in example.James Roome
Switched from this to $scope. It's confusing using $scope and this interchangeably. Closes #6375
2014-02-18docs(ngClass): Explain all 3 ways how to use ngClassBrad Williams
Closes #6324.
2014-02-18style: remove ws and enfore no-trailing-ws jscs ruleIgor Minar
2014-02-18docs($q): fixup dgeni ngdoc annotations for $q methodsCaitlin Potter
Just a tiny fixup, that's all. Closes #6317
2014-02-18docs($interpolate): correct small typoPaul Dijou
2014-02-17docs(bike-shed-migration): convert doctype and namesStéphane Reynaud
To keep the same logic as the commit https://github.com/angular/angular.js/commit/2e641ac49f121a6e2cc70bd3879930b44a8a7710