aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
AgeCommit message (Collapse)Author
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
2014-02-16chore(ngPluralize): remove useless docs headingMatias Niemelä
2014-02-16docs(NgModelController): don't run contenteditable example on FFPeter Bacon Darwin
2014-02-16docs(*): fix jshint issues in examplesPeter Bacon Darwin
2014-02-16chore(e2etests): fix a browser check which was actually assigning the parameterJulie
2014-02-16docs(api): escape params that have <object> in their typePeter Bacon Darwin
Really the doc-gen process should escape there but for now this should stop the layout from breaking.
2014-02-16docs($locationProvider): tag as a provider rather than objectPeter Bacon Darwin
2014-02-16docs(content): fix bad linksPeter Bacon Darwin
2014-02-16docs(ngHref): fix example that navigates away from the pagePeter Bacon Darwin
2014-02-16docs(ngHref): don't run the breaking protractor testPeter Bacon Darwin
2014-02-16test(docs-app-e2e): refactor test inline with new docs appPeter Bacon Darwin
The links to code elements have now changed: api/ng.directive:ngClick -> api/ng/directive/ngClick. Examples now run inside iframes, so we need to instruct Protractor to switch to the example iframe.
2014-02-16docs(ngShowHide): fix icons in examplePeter Bacon Darwin
The protractor tests were failing because the spans containing the icons were not displaying anymore.
2014-02-16docs(examples): fix example dependenciesPeter Bacon Darwin
2014-02-16chore(protractor tests): fix up e2e testsJulie
2014-02-16chore(protractor-generator): add dgeni processor for protractorJulie
2014-02-16docs(bike-shed-migration): fix url-based links refs to AUTO modulePeter Bacon Darwin
2014-02-16docs(bike-shed-migration): fix invalid </file name=""> HTML in examplesPeter Bacon Darwin
2014-02-16docs(sce): fix invalid @name tagsPeter Bacon Darwin
2014-02-16docs(bike-shed-migration): let markdown deal with extenal linksPeter Bacon Darwin
It is problematic to use {@link} tags with external links because the markdown parser converts them to links for us before we parse the @links. This means that the following tag: ``` {@link http://www.google.com Google} ``` get converted to: ``` {@link <a href="http://www.google.com/"></a> Google} ``` Our {@link} parser then converts this to: ``` <a href="<a">&lt;</a>href="http://www.google.com/"></a> Google} ``` which is clearly a mess. The best solution is not to use {@link} tags for external links and just use the standard markdown syntax: ``` [Google](http://www.google.com) ``` In the long run, we could look into configuring or modifying `marked` not to convert these external links or we could provide a "pre-parser" processor that dealt with such links before `marked` gets its hands on it.
2014-02-16docs(bike-shed-migration): convert <doc:...> examples to <example>...Peter Bacon Darwin
2014-02-16docs(sce): fix reference to $sceDelegateProviderPeter Bacon Darwin
2014-02-16docs(all): convert <pre>/</pre> snippets to GFM snippetsCaitlin Potter
2014-02-16docs(bike-shed-migration): convert doctype and namesPeter Bacon Darwin
2014-02-15fix(numberFilter): convert all non-finite/non-numbers/non-numeric strings to ↵Sergei Z
the empty string The previous code for filtering out non-finite numbers was broken, as it would convert `null` to `0`, as well as arrays. This change fixes this by converting null/undefined/NaN/Infinity/any object to the empty string. Closes #6188 Closes #6261
2014-02-14fix($animate): ensure $animate doesn't break natural CSS transitionsMatias Niemelä
BREAKING CHANGE: ngClass and {{ class }} will now call the `setClass` animation callback instead of addClass / removeClass when both a addClass/removeClass operation is being executed on the element during the animation. Please include the setClass animation callback as well as addClass and removeClass within your JS animations to work with ngClass and {{ class }} directives. Closes #6019
2014-02-14fix($compile) support templates with table content root nodesCaitlin Potter
If the first element in a template is a <tr>, <th>, <td>, or <tbody> tag, the HTML compiler will ensure that the template is wrapped in a <table> element so that the table content is not discarded. Closes #2848 Closes #1459 Closes #3647 Closes #3241
2014-02-13fix(input): don't apply textInput to <input type="file">Tim Whitbeck
textInput shouldn't be applied to file inputs to ease writing of custom file input directives. This change prevents file inputs from instantiating the text input parser/formatter pipelines. Closes #6247 Closes #6231
2014-02-12fix(input): setViewValue on compositionendCaitlin Potter
Because of a4e6d962, model is not updated on input/change between the compositionstart and compositionend events. Unfortunately, the compositionend event does not always happen prior to an input/change event. This changeset calls the listener function to update the model after a compositionend event is received. Closes #6058 Closes #5433
2014-02-12docs($interpolate): fix link to $interpolateProvider#endSymbolCaitlin Potter
The markup here was missing the methods_ prefix and behaved incorrectly. Closes #5802
2014-02-12docs($location): fix link to $rootScope.Scope.$onCaitlin Potter
Previously missing the methods_ prefix. Closes #5798
2014-02-12docs(currencyFilter): added missing line break in currency doc ptor testJames Kyle
Closes #6229
2014-02-12docs(input): document NgModelController.$isEmpty parameters / return valueMathieu Tricoire
Closes #6224