aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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-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.0.5 flatulent-propulsion 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-23chore(release): update the CDN versionIgor Minar
2013-01-23chore(release): cut the 1.0.4 bewildering-hair releasev1.0.4Igor Minar
2013-01-23docs(changelog): release notes for 1.1.2 and 1.0.4Igor Minar
2013-01-23chore(changelog.js): improve the changelog scriptIgor Minar
2013-01-22fix(ngResource): correct leading slash removal.pavelgj
Fixed an issues with ngResource param substitution where it was incorrectly removing leading slash when param was followed by a non-slash character. Ex: '/:foo/:bar.baz/:aux' params = { foo: 'aaa', bar: undefined, aux: undefined } The above params were incorrectly producing '/aaa.baz' but now it results in '/aaa/.baz'.
2013-01-22docs(q): added testing informationMiško Hevery
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.
2013-01-18fix(ngSwitch): don't leak when destroyed while not attacheddanilsomsikov
The leak can occur when ngSwich is used inside ngRepeat or any other directive which is destroyed while its transcluded content (which includes ngSwitch) is not attached to the DOM. Refactor ngSwitch to use controller instead of storing data on compile node. This means that we don't need to clean up the jq data cache. Controller reference is released when the linking fn is released. Closes #1621
2013-01-17docs(exceptionHandler): document testingFred Sauer
Update src/ng/exceptionHandler.js Here's an iniitla attempt at documenting how one might write a test using $exceptionHandlerProvider. The key take-away is the use of this pattern: it(...  module(...    $exceptionHandlerProvider.mode('log');  });  inject(...  ); });
2013-01-17docs(rootScope): correct code examplesMatthew Browne
2013-01-18docs(cookbook): change prototype methods to scope methods in BuzzAmir H. Hajizamani
As explained in 'Understanding the Controller Component', Controllers written for new (post 1.0 RC) versions of Angular need to add methods to the scope directly, not the function's prototype. Correcting this example should remove any ambiguity, especially for beginners.
2013-01-18docs(guide): change prototype methods to scope methods in DI examplesAmir H. Hajizamani
As explained in 'Understanding the Controller Component', Controllers written for new (post 1.0 RC) versions of Angular need to add methods to the scope directly, not the function's prototype. Correcting this example should remove any ambiguity, especially for beginners.
2013-01-18docs(ngMock.$httpBackend): fix variable declarationFred Sauer
2013-01-17doc(guide): Fix examples of $location.html5modeShai Reznik
2013-01-17doc(guide): Fixed typos at the unit tests guideShai Reznik
2013-01-17fix(angular.equals): consistently compare undefined object propsIgor Minar
previously: a = {}; b = {x:undefined}; angular.equals(a, b) == angular.equals(b, a) // returns false. both should return false because these objects are not equal. unlike in implemented in #1695 the comparison should be stricter and return false not true. if we need to relax this in the future we can always do so. Closes #1648
2013-01-17docs: recommend using Google CDNDaniel Demmel
2013-01-17docs(guide): minor grammar fixesMatt Rohrer
2013-01-17feat($compile): support modifying the DOM structure in postlink fnMartin Probst
Support modifying the DOM structure in the post link function of a directive by creating a defensive copy of the node list, as opposed to a live DOM list. This is useful for directives to actually replace their entire DOM fragment, e.g. with the HTML fragment generated by a 3rd party component (Closure, Bootstrap ...). Fix the indentation of the compileNodes function (was one too little).
2013-01-17style($compile): fix indentationIgor Minar
2013-01-17chore(Rakefile): force 32bit JVM mode only when java supports itGergely Imreh
Some Java installs don't have '-d32' flag (e.g. OpenJDK which is standard for some Linux systems), and the closure_compile fails because of forcing that flag. Test, and only run in faster 32bit mode if supported, or else just run with no flag (default mode).
2013-01-17chore(docs): use done() instead of end() in gen-docs.jsIgor Minar
2013-01-17fix($compile): do not wrap empty root text nodes in spansPete Bacon Darwin
Closes #1059
2013-01-17fix(ngRepeat): correctly apply $last if repeating over objectPete Bacon Darwin
If the $last property is calculated from the original collectionLength on an object and properties starting with $ were filtered out, then $last is never applied and $middle is applied erroniously. Closes #1789
2013-01-16chore(Rakefile): remove a duplicate file in angularFiles.jsJames deBoer
2013-01-16chore(Rakefile): generate version.jsonJames deBoer
Changes 'rake version' to output a version.json file which contains the structured version info which can be used in other tools.