aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2011-09-08feat($browser): jQuery style url method, onUrlChange eventVojta Jina
This is just basic implementation of $browser.url, $browser.onUrlChange methods: $browser.url() - returns current location.href $browser.url('/new') - set url to /new If supported, history.pushState is used, location.href property otherwise. $browser.url('/new', true) - replace current url with /new If supported, history.replaceState is used, location.replace otherwise. $browser.onUrlChange is only fired when url is changed from the browser: - user types into address bar - user clicks on back/forward button - user clicks on link It's not fired when url is changed using $browser.url() Breaks Removed $browser.setUrl(), $browser.getUrl(), use $browser.url() Breaks Removed $browser.onHashChange(), use $browser.onUrlChange()
2011-09-08style(filter): Couple of missing spaces, semi-colons, add empty linesVojta Jina
2011-09-08fix(filter.currency): Return empty string for non-numbersVojta Jina
2011-09-07fix(ng:options): ng:change should be called after the new val is setIgor Minar
Closes #547
2011-09-05fix($browser.xhr): not convert 0 status to 200Vojta Jina
2011-09-02test(jsonp): fixing jsonp e2e testsIgor Minar
- buzz api keeps on throttling our requests which makes our build fail so I'm disabling the buzz demo e2e test - the $xhr service jsonp test was modified to use jsonp on angularjs.org instead of buzz api for the same reason as mentioned above
2011-09-02docs(guide/tutorial/misc): sync with google docsIgor Minar
2011-09-01docs(ng:bind): fix example codeIgor Minar
2011-09-01fix(ng:class): make ng:class friendly towards other code adding/removing classesIgor Minar
ng:class as well as ng:class-odd and ng:class-even always reset the class list to whatever it was before compilation, this makes it impossible to create another directive which adds its own classes on the element on which ng:class was applied. the fix simply removes all classes that were added previously by ng:class and add classes that the ng:class expression evaluates to. we can now guarantee that we won't clobber stuff added before or after compilation as long as all class names are unique. in order to implement this I had to beef up jqLite#addClass and jqLite#removeClass to be able to add/remove multiple classes without creating duplicates.
2011-09-01fix(jqLite): addClass should ignore falsy valuesIgor Minar
2011-09-01fix(jqLite): special-case attr('class') because of IE9 bugIgor Minar
2011-09-01feat(scope): add listener deregistration fn for $watch and $onIgor Minar
- both $watch and $on now return a function which when called deregisters the listener - $removeListener was removed and replaced with the above - added more tests for $watch and $on Closes #542
2011-09-01docs(API): various api doc fixes from ToniIgor Minar
2011-08-31kill(merge): removing merge fn - dead buggy code with no specsIgor Minar
2011-08-31fix(scope): fix edge case for $digest & $broadcast scope traversalIgor Minar
- fixed traversal originating on a scope with with a right sibling - unified code for both $broadcast and $digest
2011-08-31style(docs): improve the formatting of events in docsMisko Hevery
2011-08-31feat($route): add events before/after route changeMisko Hevery
BREAKING CHANGE * removing `onChange` FEATURE * adding three events: $beforeRouteChange, $afterRouteChange, $routeReload
2011-08-31bug($xhr.bulk): fix exceptions under some circumstancesMisko Hevery
2011-08-30feat(widget): add ng:pluralize as an Angular widgetDi Peng
2011-08-30feat(locale): add getPluralCat functionDi Peng
2011-08-25fix(markup): Make special attrs such as ng:href work even without bindingDi Peng
- special attrs such as ng:href, ng:check did not work as intended when their values do not contain bindings. And this commit is to fix that Closes #534
2011-08-24fix(events): fixing IE specific issuesIgor Minar
IE doesn't have Array#indexOf and [].splice.call doesn't work there either.
2011-08-24feat(scope): support for eventsIgor Minar
- register listeners with $on - remove listeners with $removeListener - fire event that bubbles to root with $emit - fire event that propagates to all child scopes with $broadcast
2011-08-24feat(ng:cloak): add ng:cloak directiveIgor Minar
2011-08-24fix(AngularPublic): expose missing angular public methodsDi Peng
- expose lowercase, uppercase and isDate to angular public api - remove unnecessary extention of jqLite at an early stage
2011-08-24doc(API): various API documentation improvementsToni Thompson
2011-08-23fix(jqlite): correct the jqLite.removeClass methodIgor Minar
2011-08-19feat($route): add reloadOnSearch route param to avoid reloadsIgor Minar
In order to avoid unnecesary route reloads when just hashSearch part of the url changes, it is now possible to disable this behavior by setting reloadOnSearch param of the route declaration to false. Closes #354
2011-08-18fix($resource): properly call error callback when resource is called with ↵Karl Seamon
two arguments
2011-08-16doc(sample): Add javascript sandbox integration (jsFiddle)dandoyon
Change doc_widget.js to: - render "edit in jsfiddle" button next to all examples - make opt out certain examples by adding jsfiddle="false" attribute to doc:source element
2011-08-15fix(filters): fix lint warningsIgor Minar
2011-08-15refactor(jqLite): remove jqLite show/hide supportIgor Minar
it turns out that even with our tricks, jqLite#show is not usable in practice and definitely not on par with jQuery. so rather than introducing half-baked apis which introduce issues, I'm removing them. I also removed show/hide uses from docs, since they are not needed. Breaks jqLite.hide/jqLite.show which are no longer available.
2011-08-15style(*): remove extra semicolonsIgor Minar
2011-08-15refactor(json): use angularString instead of angular.StringIgor Minar
2011-08-15style(*): wrap all assignments in if statementsIgor Minar
we commonly assign stuff in if statments like this: if (variable = someFn()) { //do something with variable } This results in lint and IDE warnings (did you mean ==?). It is better to be explicit about our intention and wrap the assignement into parens: if ((variable = someFn())) { //do something with variable } Doing so suppresses warnings + is easier to understand the intention. I verified that the closure compiler strips the extra parens, so there is no byte overhead for this safety practice. We should use this style going forward...
2011-08-14break(date): remove support for 'long', 'longtime' date formats and 'z' flagIgor Minar
The support for the 'z' formatting flag was removed becase the timezone info can't be retrieved from the browser apis (except for en-US locale on some but not all browsers). For this reason we don't want to support this flag at all. Related to this, since the 'long' and 'longtime' datetime formats require the 'z' flag in the formatting string, we are removing support for this format as well.
2011-08-14refactor(date,curreny,number): inject and use $locale in filtersDi Peng
- filter.number, filter.currency and filter.date are injected with $locale service so that we can just swap the service to localize these - date filter was beefed up in order to support literal strings found in localization rules
2011-08-14feat($locale): add default locale service for en-USDi Peng
2011-08-14fix(directives): make ng:class-even/odd work with ng:classDi Peng
Closes #508
2011-08-14refactor(scope): non-recursive $digest methodMisko Hevery
2011-08-14refactor(scope): use double-linked-list for childrenMisko Hevery
Much faster $destroy operations for large ng:repeat sets.
2011-08-12feat(scope): $evalAsync supportMisko Hevery
2011-08-12perf(scope): re-enable statement cacheingMisko Hevery
2011-08-12refactor(scope): remove $flush/$observe ng:eval/ng:eval-orderMisko Hevery
2011-08-12fix(scope): rerun $digest from root, rather then per scope.Misko Hevery
2011-08-12fix(bootstrap): missing var failed strict mode bootMisko Hevery
2011-08-10doc($browser): remove duplication of $browser to docsVojta Jina
This was causing to show up the "$browser" twice in the menu.
2011-08-10doc($browser): hide $browser.notifyWhenNoOustandingRequest methodVojta Jina
Closes #506
2011-08-06style($function): replace $function with 'function'Igor Minar
2011-08-06refactor(widgets): remove input[button, submit, reset, image] and button ↵Di Peng
windgets These widgets are useless and only trigger extra $updateViews. The only reason we had them was to support ng:change on these widgets, but since there are no bindings present in these cases it doesn't make sense to support ng:change here. It's likely just a leftover from getangular.com Breaking change: ng:change for input[button], input[submit], input[reset], input[image] and button widgets is not supported any more