aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2012-01-10feat(module): new module loaderMisko Hevery
2012-01-10chore(license): update yearMisko Hevery
2012-01-09fix($httpBackend): fix for jsonp requestsIgor Minar
2012-01-09chore($http): small $http fixesIgor Minar
2012-01-09feat($http): turn mock backend into a decorator + e2e testing supportIgor Minar
- provider -> decorator - autoflush + passThrough mode - fix noop -> angular.noop
2012-01-09feat($http): expose req/resp headers to transform fnsIgor Minar
2012-01-09feat($httpBackend): add expect/when shortcut methodsIgor Minar
2012-01-09fix($http): fix and cleanup $http and friendsIgor Minar
$http: - use promises internally - get rid of XhrFuture that was previously used internally - get rid of $browser.defer calls for async stuff (serving from cache), promises will take care of asynchronicity - fix transformation bugs (when caching requested + multiple request pending + error is returned) - get rid of native header parsing and instead just lazily parse the header string $httpBackend: - don't return raw/mock XMLHttpRequest object (we don't use it for anything anymore) - call the callback with response headers string mock $httpBackend: - unify response api for expect and when - call the callback with response headers string - changed the expect/when failure error message so that EXPECTED and GOT values are aligned Conflicts: src/service/http.js test/service/compilerSpec.js test/service/httpSpec.js
2012-01-09feat(browser.defer): flush should throw exception when queue is emptyIgor Minar
2012-01-08docs(fix): select widget name -> ng:modelVojta Jina
2012-01-07feat(ng:include): enable/disable scrolling through autoscroll attributeVojta Jina
2012-01-06fix($httpBackend): respond 200/404 when on file protocol (fix protocol parsing)Vojta Jina
2012-01-06fix(angular.copy): throw Error if source and destination are identicalDhruv Manek
Closes #693
2012-01-06feat(scope): throw exception when recursive $applyIgor Minar
2012-01-06fix(ng:repeat): support repeating over array with nullIgor Minar
typeof null == 'object', but it doesn't behave like an object because its properties can't be dereferenced, so we need to special-case it. Closes #702
2012-01-03style(q): rename src/Deferred.js to src/service/q.jsIgor Minar
2012-01-03style(q): reorganize the file + drop fallback dependenciesIgor Minar
2012-01-03docs(q): documentation for all $q apisIgor Minar
2012-01-03docs(scope): fix typo $digest -> $watchMark Hansen
2012-01-03docs(resource): fix params for non-get actionsSean Gilligan
2011-12-07fix(input): bind inputs to the 'input' eventbartes
The input event is fired on all non-ie browsers whenever the contents of an input field changes. This means that we now support cut&paste via mouse which was previously unsupported. IE8 and older don't support this events and IE9 has a problematic support for it, so we can't rely solely on this event and drop keydown and change events.
2011-12-07fix(filter): remove the $ prefix from filter service idsIgor Minar
2011-12-07feat(injector): add $provide.decoratorIgor Minar
2011-12-07fix(): use angular.callbacks namespace for jsonp callbacksIgor Minar
Previously we used to put callbacks on the window object, but that causes problems on IE8 where it is not possible to delete properties from the window object
2011-12-06fix(route): $destroy scope after update and reloadVojta Jina
When we update route (changing only search param, no route reload) and then reload (change to different route), it did not $destroy last scope.
2011-12-06docs(form): add docs about form submissionIgor Minar
2011-12-06docs(ng:submit): update docs example to not add empty itemsVojta Jina
2011-12-06feat(form): do not prevent submission if action attribute presentVojta Jina
2011-12-05feat($http): allow interceptors to be servicesIgor Minar
2011-12-05fix(jqLite): JQLiteHasClass should work even when minifiedIgor Minar
closure compiler is smarter than we expected and drops the unused fn argument - this breaks the meta-programing logic of jqLite. The fix special cases JQLiteHasClass since its the only fn that needs this treatment in a way that is minification-proof.
2011-12-01fix($httpBackend mock): getResponseHeader should be case insensitiveIgor Minar
2011-12-01fix($resource): forwardport exposing headers from 0.9.19Igor Minar
2011-11-30fix(ng:include): prevent race conditions by ignoring stale http callbacksIgor Minar
This fix is similar to what I've done in ng:view, if a new template has been requested before the callback for the previous template returned, ignore it. Otherwise weird race conditions happen and users might end up getting the content for the previous include rendered instead of the most recent one.
2011-11-30docs($location): add docs for the $location.search setterIgor Minar
2011-11-30fix(copy,equals): prevent browser crashes with Scope or WindowIgor Minar
Scope and Window instances are special and when copied can crash browser. For this reason it makes sense to compare them only by identity.
2011-11-30feat($interpolate): string interpolation functionMisko Hevery
2011-11-30feat($location): name the watch function to ease debuggingIgor Minar
2011-11-30scope($digest): add new&old val to the infinite $digest logIgor Minar
2011-11-30feat($http): add response interceptorsIgor Minar
2011-11-30feat($http): add promise supportIgor Minar
quite messy, some tests are missing, contains an experimental jasmine DI support)
2011-11-30feat(dump): add support for arrays, functions, errorsIgor Minar
2011-11-30feat($parse): add support for transparent evaluation of PromisesIgor Minar
Parser now builds expressions that can detect promises and transparently evaluate them to undefined or the promise value. If promiseA is resolved with value 'A', then {{promiseA}} evals to 'A'; If promiseA is unresolved, then {{promiseA}} evals to undefined; Following invocations are supported: - {{promise}} - {{promise.futureProp}} - {{[promise][0]}} - {{object.promise}} - {{object[promise]}} - {{array[promise]}} - {{fn(promise)}} - combinations of the above
2011-11-30fix(angular-boostrap): add missing jQuery/jqLite bindingIgor Minar
2011-11-30feat(deferreds/promises): Q-like deferred/promise implementation with a ton ↵Igor Minar
of specs
2011-11-30refactor(ng:view, ng:include): pass cache instance into $httpVojta Jina
Instead of doing all the stuff in these widgets (checking cache, etc..) we can rely on $http now...
2011-11-30fix($http): default json transformation should not crash on angular templateVojta Jina
The way we determine whether it's json is lame anyway. We need to change that. We should probably check the content type header...
2011-11-30style(): get rid off some jsl warningsVojta Jina
2011-11-30feat($http): allow passing custom cache instance per requestVojta Jina
You can still use cache: true, which will use $http's default cache.
2011-11-30feat($httpBackend): fix 0 status code when "file" protocolVojta Jina
Browsers return always 0 status code for "file" protocol, so we convert them into 200/404.
2011-11-30feat(mock.$httpBackend): say which request was expected when unexpected ↵Vojta Jina
request error