Misko Hevery
5f080193cb
Added an extra security check to make sure that the parser can not execute anything while evaluting JSON.
2011-01-04 13:25:49 -08:00
Igor Minar
e7a0fb250f
fromJson delegation to native JSON parser if available
...
- native parser delegation
- $xhr change to use native parser
2010-12-22 14:16:36 -08:00
Igor Minar
d11088eb43
Revert "Refactor lexer to use regular expressions"
...
We came across a major performance regression due to this change.
I'm reverting it until we find a better solution.
This reverts commit 23fc73081f .
2010-12-22 14:16:36 -08:00
Misko Hevery
a5df1fc41f
Stricter JSON parsing, for security
2010-12-11 10:07:10 -08:00
Misko Hevery
23fc73081f
Refactor lexer to use regular expressions
2010-12-08 14:39:22 -08:00
Misko Hevery
e5e69d9b90
Remove RegExp parser
...
- RegExp parser is rearly used, feature, and one should not have RegExps
in views anyways, so we are removing it
BACKWARD INCOMPATIBLE CHANGE!!!
2010-12-08 14:36:51 -08:00
Misko Hevery
fa722447f8
Fixed failed assignments of form abj[0].name=value
...
Closes #169
2010-12-08 14:20:26 -08:00
Misko Hevery
b2d63ac48b
Changed error handling so that better stack traces are displayed in the ng-errors
2010-11-16 14:19:55 -08:00
Misko Hevery
7e6f999221
added remaining directives and search box.
2010-11-15 10:04:17 -08:00
Igor Minar
e5c135ac50
Support ISO 8601 extended datetime format troughout angular.
...
Support ISO 8601 extended format datetime strings (YYYY-MM-DDTHH:mm:ss.SSSZ) as defined
in EcmaScript 5 throughout angular. This means that the following apis switched from
YYYY-MM-DDTHH:mm:ssZ to YYYY-MM-DDTHH:mm:ss.SSSZ (note the added millis) when representing dates:
- angular.Date.toString
- angular.String.toDate
- JSON serialization and deserialization (used by json filter, $xhr and $resource)
2010-11-08 22:49:30 -08:00
Misko Hevery
d5e9f38f3d
fix error in json parser which did not allow 1.2E10 as number
2010-11-05 16:41:36 -07:00
Igor Minar
c67af8a038
rename src/Parser.js to src/parser.js
2010-10-27 15:32:30 -07:00