aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2011-10-11chore(formating): clean code to be function() {Misko Hevery
2011-10-11feat(forms): new and improved formsMisko Hevery
2011-10-11refactor(bindings): remove the decoration of the DOM with errors.Misko Hevery
Only $exceptionHandler gets notified now.
2011-10-11refactor(hover): delete hover serviceMisko Hevery
2011-10-11fix(jqlite): removeClass would clobber class namesMisko Hevery
2011-10-11feat(jqlite): added .inheritedData method and $destroy event.Misko Hevery
- refactored .scope() to use .inheritedData() instead. - .bind('$destroy', callback) will call when the DOM element is removed
2011-10-11feat(jqlite): support required as a no-value attributeMisko Hevery
2011-10-11refactor(injection) infer injection args in ng:controller onlyMisko Hevery
Because only controllers don't have currying, we can infer its arguments, all other APIs needing currying, automatic inference complicates the matters unecessary.
2011-10-11feat(ng:repeat) collection items and DOM elements affinity / stabilityMisko Hevery
2011-10-11fix(filter): make json filter ignore private propertiesMisko Hevery
2011-10-07fix(parser): Fix short circuit of logical AND and OR operatorsDhruv Manek
Closes #433
2011-10-05fix($limitTo): properly handle excessive limitsTEHEK Firefox
`angular.Array.limitTo`'s result should not exceed original input array size Closes #571
2011-09-29doc($log): fix the $log service exampleIgor Minar
is no longer auto-published on the root scope, so we need to publish it via a controller
2011-09-28chore(directives): add a todo for ng:styleIgor Minar
2011-09-28fix(jqLite): css should convert dash-separated properties to camelCaseIgor Minar
this fix is needed for Firefox or other browsers that strictly follow dom/css spec which states that element.style should make properties available in camelCased form. Closes #569
2011-09-27fix($resource): action defaults should override resource defaultsMarcello Nuccio
defaults definned per action should take precedence over defaults defined for the whole resource. This is potentialy a BREAKING CHANGE in case someone relied on the buggy behavior.
2011-09-26fix(scenario): workaround for FF6 dispatchEvent issue #684208Igor Minar
2011-09-26Revert "fix(scenario): temporary fix for FF6"Igor Minar
This reverts commit aac68bf2ba2dcdf0b22fa4f15ea49672cb06328d.
2011-09-26feat(docs): use html5 history api for all routing in the docs appVojta Jina
- Configure our docs app to use new $location with html5 history api! - Update simple node web server to serve index.html for all links (rewritting). - Update .htaccess file to serve index.html for all links (rewritting). - At runtime determine the base href path and attach it to the DOM. We needed the absolute URL to get all browsers to work well. - Because of the above, we also need to dynamically determine all needed js/css resources and add them to the DOM. This was needed because FF6 would eagerly fetch resources with wrong URL since the base element is added to the dom at runtime. - All content html files were moved to the partials directory, because with the new html5 urls it was impossible to tell if request for http://domain/api/angular.filter.html was an html5 url for the html filter doc page, or an xhr/appcache request for the content html file for the html filter. f
2011-09-21fix($route): fix regex escaping in route matcherIgor Minar
2011-09-16fix(angular-mocks): fix .defer.cancel when i=0Igor Minar
2011-09-16fix(e2e tests): use prop() instead of attr() and quote attributesIgor Minar
Because of changes in jQuery, we need to use element().prop() instead of element().attr() to retrieve className and other element properties. Additionally all attribute selectors (e.g. input[name=value]) must have value quoted if it contains dots (".").
2011-09-16fix(scenarioRunner): navigateTo should use prop('contentWindow')Igor Minar
... instead of attr('contentWindow')
2011-09-16feat(scenarioRunner): adding support for element().prop()Igor Minar
since jQuery 1.6.4 attr() focuses only on work with element attributes and doesn't deal well with element properties, so adding prop() support is required for getting many e2e tests to pass after upgrading the runner to jQuery 1.6.4.
2011-09-16fix(scenario dsl): jQuery getters must have no valueIgor Minar
jQuery now requires getter methods to have no value at all - they do arguments.length check to identify getters vs setters.
2011-09-16fix(ng:options): fix selecting optionsIgor Minar
Contains 3 fixes: - the internal model was by mistake using "checked" property instead of "selected" - use jqLite.prop() to set 'selected' property - added inChangeEvent check - we should not interfere with the browser selecting elements when not necessary
2011-09-16feat(jqLite): add prop() supportIgor Minar
since jQuery 1.6.4 prop() became very important because attr() does't have access to certain properties any more (e.g. className), so I'm adding it to jqLite as well so that jqLite preserves the feature-set it had before the jQuery upgrade.
2011-09-16fix(jqLite): make css() on IE8 behave the same way as jQuery 1.6.4Igor Minar
2011-09-16feat(jqLite): add support for unbind()Igor Minar
supports these invocation types: - foo.unbind(); - foo.unbind('eventType'); - foo.unbind('eventType', fn); more info: http://api.jquery.com/unbind/
2011-09-16fix(jqLite): make attr() compatible with jQuery 1.6.4Igor Minar
The behavior of attr() getter and setter changed in jQuery 1.6 and now they treat element properties and attributes as two different things, but in order to not break everyone there is a partial backwards compatibility for checking and updating element properties as well. see http://api.jquery.com/prop/ for more info.
2011-09-16fix(jqLite): attr() should not special-case 'class' attributeIgor Minar
since jQuery 1.6 'class' is not treated specially, so we have to revert this fix and use className in tests instead
2011-09-16feat (jquery): upgrade everything to jQuery 1.6.4Igor Minar
Closes #556
2011-09-16fix(angular-mocks): fix forEach -> angular.forEach in $browser.defer.cancelIgor Minar
2011-09-13style(bootstrap): fix some missing spacesDi Peng
2011-09-13refactor(angular): externalize script load order into JSONDi Peng
- move all script load order into angularFiles.js - rakefile and angular-bootstrap.js use angularFiles.js to get script orders - gen_jstd_configs.js uses angularFiles.js to generate various jstd config files - run gen_jstd_configs.js whenever we run server.sh Closes #470
2011-09-08fix($location): Use encodeUriQuery instead of escapeKai Groner
Closes #492
2011-09-08fix(scenario): temporary fix for FF6Vojta Jina
https://bugzilla.mozilla.org/show_bug.cgi?id=684208
2011-09-08style: fix some missing semi-colons and spaces, typosVojta Jina
2011-09-08refactor($route): remove some odd code and rename allowReload to forceReloadVojta Jina
2011-09-08fix(scenario): do not navigate if click event was cancelledVojta Jina
This is jQuery incompatible hack. But we were doing monkey patching there anyway... `$(...).trigger('click')` returns an array of return values, so that scenario runner knows, whether the event default action was cancelled. Without this fix, scenario runner was doing navigation even if JS code called `event.preventDefault()`. Note, this does not work in FF6
2011-09-08feat(scenario): browserTrigger returns false if preventDefault()Vojta Jina
https://developer.mozilla.org/en/DOM/element.dispatchEvent dispatchEvent method returns false if at least one of the event handlers called preventDefault(), true otherwise. It's helpful when browserTrigger method returns this value, as we can assert, whether the default operation was cancelled or not.
2011-09-08fix(docs): update docs to reflect new $location and fix e2e testsVojta Jina
2011-09-08fix($route): update $route to reflect $location changesVojta Jina
* update $route to reflect new $location * add some more unit tests to $route * fix some other failing unit tests * redirect overrides the url now Breaks $route custom redirect fn has only 3 params now
2011-09-08feat($location): $location service with html5 history api supportVojta Jina
See documentation of $location for more info Breaks $location has no properties, only get/set methods Closes #168 Closes #146 Closes #281 Closes #234
2011-09-08feat(jqLite): add event.isDefaultPrevented() as jQueryVojta Jina
Chrome's Event has defaultPrevented property, but other browsers haven't. This is workaround for other browsers - same as jQuery.
2011-09-08feat($browser): add $browser.baseHref()Vojta Jina
This method abstracts <base href="" /> in document.head - returns the value. If absolute href set, it converts the href to relative.
2011-09-08feat($sniffer): basic implementation of browser feature testingVojta Jina
This only extracts our 'hashchange' event and html5 history api detection from $browser. Closes #400
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