aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-05-31Rename deprecated wasCalled() -> toHaveBeenCalled() in all specsVojta Jina
As well as wasNotCalled(), wasCalledWith(), wasNotCalledWith()
2011-05-31Normalize IE XHR bug (status code 1223 to 204)Vojta Jina
See http://bugs.jquery.com/ticket/1450
2011-05-19Remove trailing white spaces from all source filesVojta Jina
find . -name "*.js" -print | xargs sed -Ei s/[[:space:]]*$//
2011-05-19JSTD adapter for running e2e testsVojta Jina
Couple of changes into angular.scenario runner: - add autotest config (runs tests when document ready) - update ObjectModel (forwards events) - use only one ObjectModel instance for all outputters - expose error msg and line number in ObjectModel.Spec and ObjectModel.Step - fix generating spec.ids - fix 'html' output so that it does not mutate ObjectModel Couple of changes into docs / generator: - rename copy -> copyTpl - move docs/static into docs/examples (to avoid conflict with jstd proxy) Running all docs e2e tests: ======================================================== 1/ compile angular-scenario, jstd-scenario-adapter >> rake compile 2/ build docs >> rake docs 3/ start jstd server >> ./server-scenario.sh 4/ capture some browser 5/ run node server to serve static content >> node ../lib/nodeserver/server.js 6/ run tests >> ./test-scenario.sh
2011-05-19XHR should add Content-type header only for POSTVojta Jina
Sending Content-type header causes JSTD (Jetty) proxy to change GET methods into POST.
2011-05-19Don't check url (by HEAD request) before navigateToVojta Jina
Removed angular.scenario.Application.checkUrlStatus_ method and these tests: * should call error handler if status check fails * should perform a HEAD request to verify file existence * should call error handler if status code is less than 200 * should call error handler if status code is greater than 299 * should call error handler if status code is greater than 299
2011-05-13fix widget example codeIgor Minar
2011-05-02fix broken link $xhr docsIgor Minar
2011-04-26fix url validator exampleIgor Minar
2011-04-25Fix some typos, missing semi-colons, etc...Vojta Jina
This is a combination of 4 commits: * Fix some small typos, missing semi-colons, etc. * Fix comment for angular.scenario.SpecRunner.run method * Fixed some missing semi-colons in cookbook * Fixed missing semi-colon in nodeserver/server.js
2011-04-22fix typo in scenario jsdocsIgor Minar
2011-04-20fix Cookbook link in getting started docIgor Minar
2011-04-16Added a bit more documentation to ng:autobind to explain some of the semanticsCraig Tataryn
2011-04-15spelling fixAnthony Lieuallen
2011-04-12Have iit have higher priority then ddesrcibeMisko Hevery
2011-04-12preparing the 0.9.16 weather-control iterationIgor Minar
2011-04-11cutting the 0.9.15 lethal-stutter releasev0.9.15Igor Minar
2011-04-11release notes for 0.9.15 lethal-stutter releaseIgor Minar
2011-04-11fix indentation in angular.filter.html examplesIgor Minar
2011-04-11fix e2e runner's navigateTo when url contains # fragmentIgor Minar
2011-04-11add test for ng:view sync cache regressionIgor Minar
test for 9bd2c396
2011-04-11doc fix - ng:autobind, ng:controller and moreKenneth R. Culp
2011-04-10fix typo in angular.widget docsIgor Minar
2011-04-09fix build for IE9Igor Minar
all unit tests now pass under IE9
2011-04-08fix e2e runner testsIgor Minar
2011-04-08fix $location service docs and examplesIgor Minar
2011-04-08fix e2e runner's browser.location methodsIgor Minar
when we stopped exposing $location service on the root scope the scenario runner was not modified to access the $location service via $service The following apis were affected: - browser().location().hashSearch() - browser().location().hashPath() - browser().location().search()
2011-04-07use special nodeName_ impl only for IE<9Igor Minar
apparently IE9 is one step closer to becoming a real browser by treating xmlns-like ("foo:") prefixes in node names as part of the node name. fixes: https://groups.google.com/forum/?lnk=srg#!topic/angular/TGdrV4GsL8U
2011-04-07improve docs for angular.Object.copyIgor Minar
2011-04-07fix indentation regexp for doc:examplesIgor Minar
2011-04-04correct $resource's success callback executionIgor Minar
succcess callbacks should be executed for status codes in the range of <200,300).
2011-04-04revert ng:view sync cachingIgor Minar
sync caching in ng:view must be reverted becase ng:view uses $route.onChange to listen for changes. $route fires all onChange events before it calls $become(Controller) which means that if the template being included via ng:view contains ng:controller, ng:include or other widget that create new scopes, these scopes will be created and initialized before the parent scope is fully initialized (happens after $become is called). For this reason ng:view must be async. The new scope implemenetation will resolve this issue by providing us with an api to register one-off tasks to be executed during the flush phase. We'll be able to compile and link the included template safely at this time.
2011-04-04prepare for the angular 0.9.15 lethal-stutter iterationIgor Minar
2011-04-01cutting the 0.9.14 key-maker releasev0.9.14Igor Minar
2011-04-01release notes for the 0.9.14 key-maker iterationIgor Minar
2011-04-01upgrade jstd to 1.3.2 + improve test-coverage.sh scriptIgor Minar
2011-03-31fix infinite loop in elementError when working with detached elementsIgor Minar
2011-03-31encode query params correctly but not too agressivelyIgor Minar
2011-03-31add much needed whitespace to jqLiteSpec.jsIgor Minar
can we agree to put more white space into our code? I follow there rules for specs: - 1 blank line between sections of nontrivial it block - 2 blank lines between it blocks - 2 blank lines between describe blocks - 2 blank lines between beforeEach and afterEach - no blank line between describe and the first child it - no blank lines between two or more closing }); lines
2011-03-31add specs for jqLite wrapping/node creationIgor Minar
tests cover: - creating comment tags from a string - creating script tag from a string - wrapping document fragment
2011-03-31ignore jqLite#append for doc fragmentIgor Minar
this is needed to be compatible with jqQuery 1.5.1
2011-03-31fix jqLite#parent to be compatible with jQueryIgor Minar
our original implementation doesn't work with document fragments on IE - tests were added to cover missing cases
2011-03-30use document fragments to grow repeatersIgor Minar
- unless we are repeating OPTION elements, buffer new nodes in document fragment and append them to the DOM in one go at the end - for OPTION elements we have to keep on using the old way because of how option widget communicates with select widget this should be change, but that change is out of scope of this CL - modify jqLite to support wrapping of document fragments - fix jqLite documentation typo This change unintentionally avoids the following webkit bug that that affects repeater growth: https://bugs.webkit.org/show_bug.cgi?id=57059 However the following bug affecting shrining of repeaters is still unresolved https://bugs.webkit.org/show_bug.cgi?id=57061
2011-03-30correct size() impl for object's w/ 'length' propIgor Minar
the original implementation returned incorrect value value for objects with 'length' property.
2011-03-30extend size() to take ownPropsOnly paramIgor Minar
- extend size() to take size(obj, ownPropsOnly) - add specs for size() - update docs to mention string support - use size() in ng:repeat including the hasOwnProp check for all object doesn't create significant perf penalty: http://jsperf.com/dedicated-code-branch-for-hasownprop
2011-03-30call $eval in repeater only when neededIgor Minar
when growing children linker calls eval for new nodes, so we need to call it only for reused nodes.
2011-03-30make xhr.cache optionally synchronousIgor Minar
- add `sync` flag xhr.cache - change ng:include to use the sync flag - change ng:view to use the sync flag The end result is that there are fewer repaints in the browser, which means less "blinking" that user sees.
2011-03-30remove weird spaces from resource mutation testIgor Minar
2011-03-29Don't mutate resource if server responded with no bodyAnthony Lieuallen
If the server provides response with no body to a resource request, resource should not mutate the resource model in the callback.
2011-03-28Fixes some links and types in the DI docs.Pepper Lebeck-Jobe