aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-02-14feat(filter): Add comparison function to filterRosina Bignall
Add optional comparator function argument to $filter('filter')(array, expression, comparator) such that the comparator function is used to compare the values and predicates. When true, defaults to equality. When missing defaults to substring matching.
2013-02-14fix(numberFilter): fix formatting when "0" passed as fractionSizeKury Kruitbosch
When checking to add decimal and trialing 0s number filter used to check trueness of fractionSize. "0" evaluating to true causes "123" to return "123."
2013-02-14docs(guide): Fix typos in concepts/model,view.Jesse Cooke
2013-02-14chore(Rakefile): parallelize the build on TravisIgor Minar
now that the forking issue is solved we can run regular build there https://github.com/travis-ci/travis-ci/issues/845
2013-02-14docs($resource): fix missing punctuationCedric Soulas
2013-02-11feat($resource): expose promise based api via $then and $resolvedIgor Minar
Expose $then and $resolved properties on resource action return values which allow checking if a promise has been resolved already as well as registering listeners at any time of the resource object life-cycle. This commit replaces unreleased commit f3bff27460afb3be208a05959d5b84233d34b7eb which exposed unintuitive $q api instead and didn't expose important stuff like http headers.
2013-02-11chore(matchers): fix hasBeenCalledOnceWith matcherIgor Minar
the error message was wrong and misleading
2013-02-11test(angular.copy): add tests for scenarios when target is missingIgor Minar
2013-02-11revert: refactor(angular.copy): use slice(0) to clone arraysIgor Minar
This reverts commit 28273b7f1ef52e46d5bc23c41bc7a1492cf23014o. slice(0) doesn't perform deep copy of the array so its unsuitable for our purposes.
2013-02-11chore(docs): improve docs parser typeIgor Minar
previously we barfed on function type definition with optional arguments like {function(number=)} this fixes it I also added a bunch of code that helps to debug incorrectly parsed docs.
2013-02-11refactor(angular.copy): use array.length=0 to empty arraysIgor Minar
2013-02-11refactor(angular.copy): use slice(0) to clone arraysIgor Minar
slice(0) is way faster on most browsers
2013-02-11fix(angular.forEach): correctly iterate over objects with length propIgor Minar
Should handle JQLite, jQuery, NodeList and other objects like arrays but not other generic objects or instances of user defined types with length property. Closes #1840
2013-02-07docs($q): fix typosradu
2013-02-07fix(scenario): include error messages in XML outputJulie
Fix the XML output of scenario tests so that it properly includes error messages from failing specs.
2013-02-07fix($compile): rename $compileNote to compileNodeEnrique Paredes
Directives was observing different instances of Attributes than the one that interpolation was registered with because we failed to realize that the compile node and link node were the same (one of them was a wrapper rather than raw node) Closes #1941
2013-02-07fix($cookies): set cookies on Safari&IE when base[href] is undefinedFredrik Bonander
Safari and IE don't like being told to store cookies with path set to undefined. This change ensures that if base[href] (from which cookie path is derived) is undefined then the cookie path defaults to ''. The test verifies that the cookie is set instead of checking that cookie has correct path, this is due to that cookie meta information is not avabile once the cookie is set. Closes #1190, #1191
2013-02-07feat(dateFilter): add `[.,]sss` formatter for millisecondsMaxim Grach
Also Implement getMilliseconds() method of TzDate and add test for this in ngMock.
2013-02-07feat($http): allow overriding the XSRF header and cookie nameSam McCall
Add 'xsrfCookieName' and 'xsrfHeaderName' property to $httpProvider.defaults and http config object, which give the name of the cookie the XSRF token is found in, and the name of the header it is sent in, respectively. This allows interop with servers with built-in XSRF support that use different names. The defaults match the current hard-coded values of 'XSRF-TOKEN' and 'X-XSRF-TOKEN'.
2013-02-07fix(date): invert timezone sign and always display signPhilip Roberts
This commit fixes #1261 and #1532. This covers two separate issues: - Positive timezones were being formatted without a leading `+` resulting in a formatting string like: "HH:MM:ssZ" giving "12:13:141000" instead of "12:13:14+1000". Fixed by checking if timezone is > 0 and adding a leading "+". - Timezone output signs were inverted. mock.TzDate expects the timezone _offset_ as it's first argument, _not_ the timezone. This means that a mock.TzDate with a positive offset should result in a date string with a negative timezone, and vice-versa. Closes #1261, #1532
2013-02-06docs(guide): remove stale info about filters changing DOMIgor Minar
as of v0.10.6 this is not the case any more
2013-02-06docs(tutorial): remove extra back-tick characterThomas Schultz
2013-02-06docs(module): fix code exampletheotheo
2013-02-05docs(ngApp): fix typoradu
2013-02-04docs(contributing): add CLA anchor for deeplinkingIgor Minar
2013-02-04docs(ngClass): fix typo in descriptionPowerKiKi
2013-01-30feat(Scope): expose transcluded and isolate scope info for batarangBrian Ford
test($compile): add test for exposing transclude and isolate scope info to batarang
2013-01-29docs($cookies): added example to $cookies api docsDean Sofer
Better than nothing.
2013-01-29docs(nextUid): fix typoradu
Update src/Angular.js removed redundant 'the' from nextUid()'s ngdoc
2013-01-29docs(tutorial): fix typoradu
Update docs/content/tutorial/step_00.ngdoc removed redundant verb
2013-01-29docs(Scope): fix argument docs for $onFred Sauer
2013-01-29test(ngBindHtml): prevent variable name leakmetaweta
Add "var" so element is local instead of global Strict mode doesn't allow undeclared global vars, and these really should be local anyway.
2013-01-29refactor(Angular.js): prevent Error variable name leak in testsmetaweta
Remove var Error = window.Error window.Error is a read-only property in Apps Script. Igor says, "we should just delete that line instead. I think it was misko's attempt to get better closure minification, but it turns out that it's actually hurting us after gzip (I verified it)."
2013-01-29chore(release): start 1.1.3 radioactive-gargle iterationIgor Minar
2013-01-26docs(a): escape sample code in ng a directiveFred Sauer
2013-01-24fix(docs): properly generate angular.js urls in doc examplesIgor Minar
2013-01-24docs(date): add missing doc about TZ behaviorIgor Minar
2013-01-24docs(changelog): correct 1.0.4 release notesIgor Minar
2013-01-24docs($injector): clarify $inject property descriptionVineet Kumar
Section heading about `$inject` property refers to it as `$injector` property.
2013-01-23feat(resource): add $q/$resorved property to ResourcePartap Davis
2013-01-23chore(release): update the CDN versionIgor Minar
2013-01-23chore(release): cut 1.1.2 tofu-animation releasev1.1.2Igor Minar
2013-01-22docs(changelog): release notes for 1.1.2 and 1.0.4Igor Minar
2013-01-22docs(ngOpen): fix typo in api docsIgor Minar
2013-01-22chore(changelog.js): improve the changelog scriptIgor Minar
2013-01-22revert: fix($resource): Route constructor, updated RegExpIgor Minar
This reverts commit 06ed8ef0127bf80610eba17b5021d1f483d0b0bf. The reverted commit causes regressions. See comments in the PR: https://github.com/angular/angular.js/pull/1402#issuecomment-12575399
2013-01-22fix(angular.equals): relax the comparison for undefined propertiesIgor Minar
in 5ae63fd3 the comparison was made consistent but strict, so that angular.equals({}, {foo: undefined}) // always returns false this turns out to cause issues for data that is being roundtripped via network and serialized via JSON because JSON.stringify serializes {foo: undefined} as {}. Since angular.equals() behaved like this before the 5ae63fd3 in 50% of the cases, changing the behavior in this way should not introduce any significant issues. Closes #1648
2013-01-21chore(Rakefile): skip build parallelization on TravisIgor Minar
Due to a infrastructure change on Travis starting JVMs in forked processes doesn't currently work. Since we don't really care that much about the build speed on Travis, I'm going to disable it there. Related issue: https://github.com/travis-ci/travis-ci/issues/845
2013-01-20docs(jqLite): fix typosergiopantoja
2013-01-18docs(contribute): adding npm install to step-by-stepWill Moore
npm install is listed in the dependencies section of the contribute guide but is missing from the step-by-step. This adds it as step 4.