aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
AgeCommit message (Collapse)Author
2010-11-08Add isDate method + fix old codeIgor Minar
2010-11-07Issue #51: Update extensionMap()Vojta Jina
If user override existing extension, angular properties ($) will be preserved. This piece of logic could be refactored into separate method: Something like we have extend(), addMissingProperties() - I can't find a name for this method... Closes #51
2010-11-05Refactored toJsonArray(), added isBoolean() functionVojta Jina
2010-11-05changed to showdown from markup. added validator overviewMisko Hevery
2010-11-04added documentation for ng:include and ng:widget and test for doc collector.Misko Hevery
2010-11-03hide example for angular.filterIgor Minar
2010-11-03jsdoc parser + generator + viewer + scenario runnerMisko Hevery
- parse jsdocs from source code - generate prerendered (markdown + mustache) partials - generate json - generate scenario runner for examples in docs - basic angular doc viewer
2010-11-03add jsdocs for angular and filter namespaces + all filtersIgor Minar
2010-10-31fix typo, and change a list to string for more efficient compression.Misko Hevery
2010-10-26create HTML sanitizer to allow inclusion of untrusted HTML in safe manner.Misko Hevery
Sanitization works in two phases: 1) We parse the HTML into sax-like events (start, end, chars). HTML parsing is very complex, and so it may very well be that what most browser consider valid HTML may not pares properly here, but we do best effort. We treat this parser as untrusted. 2) We have safe sanitizeWriter which treats its input (start, end, chars) as untrusted content and escapes everything. It only allows elements in the whitelist and only allows attributes which are whitelisted. Any attribute value must not start with 'javascript:'. This check is performed after escaping for entity (&xAB; etc..) and ignoring any whitespace. - Correct linky filter to use safeHtmlWriter - Correct html filter to use safeHtmlWriter Close #33; Close #34
2010-10-20Angular should look for angular-ie-compat file at the right locationIgor Minar
The location should be based on the base path of the angular script and the version identifier of the angular script. ex: angular.js -> angular-ie-compat.js js/angular-0.9.0.min.js -> js/angular-ie-compat-0.9.0.js
2010-10-20extract and test regexp that identifies angular script tagIgor Minar
2010-10-19Fix browser triggering in scenario to always do native events.Misko Hevery
- Also fixed angular.suffix for scenarios - refactored click() to browserTrigger() - Fixed Rakefile with CSS and jQuery
2010-10-18inline all images into cssIgor Minar
* embedded images as data URIs * rake task to generate multipart js file with embeded images for IE * move images into a separate directory outside of src or css and keep them there for reference * clean up Rakefile and ruby code * .gitignore update * don't penalize IE 8+ with an extra request to the ie-compat.js file
2010-10-18JSON parser is now strict (ie, expressions are not allowed for security)Misko Hevery
Close #57
2010-10-16Pass the toKeyValue() test - parsing flagsVojta Jina
2010-10-14New Angular Scenario runner and DSL system with redesigned HTML UI.Elliott Sprehn
Uses the Jasmine syntax for tests, ex: describe('widgets', function() { it('should verify that basic widgets work', function(){ navigateTo('widgets.html'); input('text.basic').enter('Carlos'); expect(binding('text.basic')).toEqual('Carlos'); input('text.basic').enter('Carlos Santana'); expect(binding('text.basic')).not().toEqual('Carlos Boozer'); input('text.password').enter('secret'); expect(binding('text.password')).toEqual('secret'); expect(binding('text.hidden')).toEqual('hiddenValue'); expect(binding('gender')).toEqual('male'); input('gender').select('female'); expect(binding('gender')).toEqual('female'); }); }); Note: To create new UI's implement the interface shown in angular.scenario.ui.Html.
2010-10-13fixed issue where date copy creates an object instead of dateMisko Hevery
2010-10-12Introduced injector and $new to scope, and injection into link methods and ↵Misko Hevery
controllers - added angular.injector(scope, services, instanceCache) which returns inject - inject method can return, instance, or call function which have $inject property - initialize services with $creation=[eager|eager-publish] this means that only some of the services are now globally accessible - upgraded $become on scope to use injector hence respect the $inject property for injection - $become should not be run multiple times and will most likely be removed in future version - added $new on scope to create a child scope - $inject is respected on constructor function - simplified scopes so that they no longer have separate __proto__ for parent, api, behavior and instance this should speed up execution since scope will now create one __proto__ chain per scope (not three). BACKWARD COMPATIBILITY WARNING: - services now need to have $inject instead of inject property for proper injection this breaks backward compatibility - not all services are now published into root scope (only: $location, $cookie, $window) - if you have widget/directive which uses services on scope (such as this.$xhr), you will now have to inject that service in (as it is not published on the root scope anymore)
2010-10-05Fix bug in IE where clone removes whitespace nodes.Elliott Sprehn
2010-09-29Differentiate between flags and empty keys in $location.hashSearchIgor Minar
* #foo?key=var&flag&emptyKey= should parse into {key:'val', flag: true, emptyKey: ''} * added docs and spec for parseKeyValue function
2010-09-23Add JSDoc for the copy() methodIgor Minar
2010-09-22Refactored the Browser:Misko Hevery
- change from using prototype to inner functions to help with better compression - removed watchers (url/cookie) and introduced a poller concept - moved the checking of URL and cookie into services which register with poolers Benefits: - Smaller minified file - can call $browser.poll() from tests to simulate polling - single place where setTimeout needs to be tested - More testable $browser
2010-09-21HEAD is now at 10c0151 Fixes on issue when a SELECT has OPTION which are ↵Misko Hevery
data bound (ie OPTION has repeater or OPTION.value is bound), then SELECT does not update to match the correct OPTION after the change in model (ie after the OPTION repeater unrolls or OPTION.value is changed.)
2010-09-16Allow angular to be included with query parameters. This is a commonAlkis Evlogimenos
pattern for forcing a reload of the script in the browser irrespective of the cache settings the host has.
2010-09-14Fixed all trivial jslint violationsMisko Hevery
2010-09-06removed accidental assignment of $element to glabal spaceMisko Hevery
2010-08-18stringify names for better compression, remove dead functions, removed ↵Misko Hevery
underscore.js compatibility
2010-08-18added better handling of ng:format=numberMisko Hevery
2010-08-11removed undocumented/unneeded methods from Array APIMisko Hevery
2010-08-11removed google charts and few other filters, switched to simple optimization ↵Misko Hevery
for compiler
2010-08-05compile should take existingScopeMisko Hevery
2010-07-30rename textMarkup to markupMisko Hevery
2010-07-30fix up the $location encodingMisko Hevery
2010-07-29keep #autobind for backward compatibilityMisko Hevery
2010-07-29fix broken build, fix #autobind and css loadingMisko Hevery
2010-07-29refactored $location service so that it correctly updates under all conditionsMisko Hevery
2010-07-27fix IE native mothods are not functions, and preventDefaultunknown
2010-07-26minor performance improvementsMisko Hevery
2010-07-21clean up error reportingMisko Hevery
2010-07-20clean up error handling a bit.Misko Hevery
2010-07-20fixed xhtml compatibility, fix console in chromeMisko Hevery
2010-07-19added equals method to angular.equals and $equalsMisko Hevery
2010-07-15proper handlig of $element in filtersMisko Hevery
2010-05-30imrove $orderBy performanceMisko Hevery
2010-05-30improve error handling with elementsMisko Hevery
2010-05-12fixes issues where the field clobbers itselfMisko Hevery
2010-05-07xhr bulk fixesMisko Hevery
2010-04-29added $xhr service with bulk and cache, hooked up $resourceMisko Hevery
2010-04-26fix ie bug with null and orphans elementsMisko Hevery