aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-09-05chore(release): add script for comparing master and stable branchesBrian Ford
2013-09-05chore(release): start 1.2.0-rc.3 ferocious-twitch iterationIgor Minar
2013-09-05docs(changelog): correct version number formats in changelogIgor Minar
2013-09-05chore(changelog): fix link to 1.2.0rc1Igor Minar
2013-09-04chore(ngdoc): fix version number parsing for doc version switcherIgor Minar
2013-09-04chore(release): cut 1.2.0-rc.2 barehand-atomsplitting releasev1.2.0-rc.2Igor Minar
2013-09-04chore(grunt): support semver v2 version number formatIgor Minar
previously we couldn't use it because of bower bugs
2013-09-04chore(changelog): release notes for 1.2.0-rc.2 barehand-atomsplittingIgor Minar
2013-09-03fix(ngView): ensure ngClass works with together with ngView's transclusion ↵Matias Niemelä
behavior Closes: #3727
2013-09-03fix(ngAnimate): ensure that ngClass is always compiled before enter, leave ↵Matias Niemelä
and move animations Closes #3727 Closes #3603
2013-09-03chore($rootScope): provide support to execute a function after the digest ↵Matias Niemelä
cycle is complete
2013-09-03fix(ngAnimate): cut down on extra $timeout callsMatias Niemelä
2013-09-03chore(ngdocs): ensure $animate is not shared between the docs and the ↵Matias Niemelä
example applications
2013-09-03feat(ngMock): allow passing an object literal as shorthand to moduleMerrick Christensen
2013-09-02fix($http): allow empty responses to be cachedjankuca
Closes #3809
2013-08-30Merge pull request #3822 from gdi2290/navlist-fixJan Kuča
fix(guide): multiline items in navlist
2013-08-30fix(guide) broken title overflow in navlistgdi2290
2013-08-30chore(build): add jenkins_build.sh fileIgor Minar
2013-08-29fix(core): parse IE11 UA string correctlyChirayu Krishnappa
It's great that IE11 wants to be compatible enough that it doesn't want to be special cased and treated differently. However, as long as one has to have a different code path for IE than for the other supported browsers, we still need to detect and special case it. For instance, our URL parsing code still needs the same workaround the we used for IE10. We still see the same Access denied / TypeError exceptions when setting certain values. FYI, Angular doesn't generally blindly test for IE – we also check the version number. Thanks to modern.ie for the free IE11 test VM. Closes #3682
2013-08-29chore(readme): add Travis build statusPatrickJS
2013-08-29perf(ngBindHtml): watch the original value and sanitize laterChirayu Krishnappa
2013-08-29fix(ngMocks): $logProvider should not use internal APIsAdam de Baugh
angular.mocks.$LogProvider $logProvider.debugEnabled(false) is crashing with undefined when run inside karma/jasmine test runner: angular.module('foo', []).config(['$logProvider', function ($logProvider) { $logProvider.debugEnabled(false); }]); Closes #3612
2013-08-29docs($q): document notify behaviorColin Frei
Closes #3341
2013-08-29docs(guide): remove duplicated `require` sectiontomazy
2013-08-29chore: fix Jenkins buildVojta Jina
2013-08-28chore(travis): run bower install twice to make sure it doesVojta Jina
This is a work-around for Bower/Node.js issue (https://github.com/bower/bower/issues/830). We run `bower install` twice, as the probability of failing twice in a row is very low. I had to extract `bower` task out of the package, because we need to run `bower install` before building and `grunt bower` can fail, which takes down the whole process and therefore it wouldn't build.
2013-08-28chore(karma): longer reconnect timeoutVojta Jina
2013-08-28chore(travis): clean up the build outputVojta Jina
2013-08-28chore: switch back to npm grunt-parallelVojta Jina
The patch has been released so we don't need to rely on github branch anymore.
2013-08-28chore(travis): use ports proxied by SauceLabsVojta Jina
Some browser does not allow to proxy localhost and so SL uses another proxy on the VM. This proxy only proxies some ports (SauceConnect proxies all ports). This is the issue why Safari didn't connect for e2e tests, because 9877 was not proxied. This change makes sure we use SL enabled ports.
2013-08-28chore: use Karma v0.11Vojta Jina
Karma v0.11 starts test execution immediately after a browser gets captured (instead of waiting for all browsers). It also kills each browser immediately after it's done. This will use our resources (SauceLabs browsers) more efficiently.
2013-08-28docs(guide): update description of $inject mechanism to be a little clearerphanboy4
2013-08-27test(Scope): fix tests after reverting commitsIgor Minar
Making assertions on state (rather than interactions) is better anyway.
2013-08-27revert: feat(mocks): make $timeout#flush throw an exception when emptyIgor Minar
This reverts commit cbf06a5d64aba537f0e2679a194d3998d8365493. This turned out to be a bad idea because it allow us to fast-forward the wall clock time (see previous commit).
2013-08-27revert: fix(mocks): $timeout#flush should not update time when emptyIgor Minar
This reverts commit 42af8eada2803a54a98b4f792e60feb480d68a0c. This turned out to be a bad idea as it prevents us from moving the time forward and asserting that the component state didn't change due to the scheduled task executing too early.
2013-08-27style($http): remove unused argumentIgor Minar
2013-08-27chore(i18n): update path in the generate.sh scriptIgor Minar
2013-08-27fix(i18n): remove obsolete locale filesIgor Minar
Remove obsolete locale files that are not found in Google Closure library. I don't know why they were removed, but without a link to Closure we can't maintain these files going forward so I'm deleting them. BREAKING CHANGE: some non-common region-specific local files were removed.
2013-08-26feat(Scope): async auto-flush $evalAsync queue when outside of $digestIgor Minar
This change causes a new $digest to be scheduled in the next tick if a task was was sent to the $evalAsync queue from outside of a $digest or an $apply. While this mode of operation is not common for most of the user code, this change means that $q promises that utilze $evalAsync queue to guarantee asynchronicity of promise apis will now also resolve outside of a $digest, which turned out to be a big pain point for some developers. The implementation ensures that we don't do more work than needed and that we coalese as much work as possible into a single $digest. The use of $browser instead of setTimeout ensures that we can mock out and control the scheduling of "auto-flush", which should in theory allow all of the existing code and tests to work without negative side-effects. Closes #3539 Closes #2438
2013-08-25fix(mocks): $timeout#flush should not update time when emptyIgor Minar
When $timeout#flush is called with a delay and no task can be flushed within that delay, the current time should not be updated as that gets the mock into an inconsistent state. BREAKING CHANGE: if a tests was written around the buggy behavior the delays might be off now This would typically not be a problem, but because of the previous breaking change in $timeout.flush, the combination of two might be confusing and that's why we are documenting it. Old behavior: ``` doSomething(); //schedules task to execute in 500ms from now doOtherStuff(); //schedules task to execute in 600ms from now try { $timeout.flush(300); // throws "no task to be flushed" exception } catch(e) {}; $time.flush(200); //flushes only doSomething() task ``` New behavior: ``` doSomething(); //schedules task to execute in 500ms from now doOtherStuff(); //schedules task to execute in 600ms from now try { $timeout.flush(300); // throws "no task to be flushed" exception } catch(e) {}; $time.flush(200); // throws "no task to be flushed" exception again // because previous exception didn't move the time forward ``` Fixed test: ``` doSomething(); //schedules task to execute in 500ms from now doOtherStuff(); //schedules task to execute in 600ms from now try { $timeout.flush(300); // throws "no task to be flushed" exception } catch(e) {}; $time.flush(500); // flushes only doSomething() task ```
2013-08-25feat(mocks): make $timeout#flush throw an exception when emptyIgor Minar
When calling $timeout.flush with or without a delay an exception should be thrown if there is nothing to be flushed. This prevents tests from flushing stuff unnecessarily. BREAKING CHANGE: calling $timeout.flush(delay) when there is no task to be flushed within the delay throws an exception now. Please adjust the delay or remove the flush call from your tests as the exception is a signed of a programming error.
2013-08-25test(docs): disable brittle tests that need to be rewrittenIgor Minar
2013-08-25style(animateSpec): remove wsIgor Minar
2013-08-24chore(tests): add Promises/A+ Test Suite to the buildJames Talmage
Closes #3693
2013-08-24fix($q): reject should catch & forward exceptions thrown in errbackIgor Minar
2013-08-23chore(travis): clean up logsVojta Jina
Forward SauceConnect logs and Karma debug logs into a file and print these files at the very end of a build.
2013-08-23chore: use only polling on Travis/SLVojta Jina
2013-08-23chore: run more browsers on Travis (IE8,IE9,IE10,Safari,FF)Vojta Jina
Also instead of running everything in parallel, there are only two parallel tasks: - e2e tests running in the background (only on Chrome) - all the unit tests running sequentially
2013-08-23chore: reorganize test helper files under test/helpersIgor Minar
2013-08-23fix($animate): skip ngAnimate animations if the provided element already has ↵Matias Niemelä
transitions/durations attached to it Closes #3587