aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
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
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