Commit graph

929 commits

Author SHA1 Message Date
alisdair sullivan
ffdd0f19c1 remove single line of unreachable code 2013-03-04 16:04:16 -08:00
alisdair sullivan
d0ae8a8fd9 Merge branch 'develop' into error_handler 2013-03-04 16:01:59 -08:00
alisdair sullivan
a771ffc8ae update CHANGES and README to reflect recent changes 2013-03-04 16:01:45 -08:00
alisdair sullivan
f7b9e8066c dirty_strings now behaves as you'd expect in decoder 2013-03-04 15:54:34 -08:00
alisdair sullivan
2df4b17ed1 Merge branch 'develop' into error_handler 2013-03-04 14:52:05 -08:00
alisdair sullivan
05739c7e8d suppress compiler warning about unused assert 2013-03-04 14:51:51 -08:00
alisdair sullivan
f2dc42b7c9 add test for number terminated by comma in object 2013-03-04 14:51:05 -08:00
alisdair sullivan
2f26f2e3e8 more accurate reporting of failed tests 2013-03-04 14:45:08 -08:00
alisdair sullivan
24a3e1c017 add test for badly formed unicode escape sequence 2013-03-04 14:43:56 -08:00
alisdair sullivan
f0a29a988f Merge branch 'develop' into error_handler 2013-03-04 14:40:44 -08:00
alisdair sullivan
f3c62eea5e add more tests for unicode escape sequences in strings and numbers terminated by whitespace 2013-03-04 14:40:07 -08:00
alisdair sullivan
3580bbdeb3 Merge branch 'develop' into error_handler 2013-03-04 14:25:50 -08:00
alisdair sullivan
c733d06acb add test for numbers terminated by whitespace 2013-03-04 14:25:07 -08:00
alisdair sullivan
a76cdf720c add tests for error states 2013-03-04 14:22:25 -08:00
alisdair sullivan
9148c04956 merge develop 2013-03-03 22:32:40 -08:00
alisdair sullivan
17bc86ad60 fill out comment tests for better test coverage 2013-03-03 15:34:45 -08:00
alisdair sullivan
40fd913238 remove escaping of single quotes in strings 2013-03-03 15:27:39 -08:00
alisdair sullivan
89da64168c remove unreachable clause in unescaping step 2013-03-03 15:23:17 -08:00
alisdair sullivan
ae7beffe73 add state names to errors for future use 2013-03-03 15:19:17 -08:00
alisdair sullivan
530e2ff73e alter error macro in prep for custom error handlers 2013-03-03 15:19:16 -08:00
alisdair sullivan
588b5bcd2e remove unreachable clause in string parsing 2013-03-03 15:19:02 -08:00
alisdair sullivan
15863c9904 remove bin_opt_info from compile flags 2013-03-02 15:49:25 -08:00
alisdair sullivan
69b7022e4e restore binary matching optimizations by manually constructing binaries in some error clauses 2013-03-02 15:48:26 -08:00
alisdair sullivan
0014d36114 inline seq functions and replace all stray incidences of unseq'd accumulation 2013-03-02 15:12:29 -08:00
alisdair sullivan
cfbe07ee85 use seq functions for accumulation throughout 2013-03-02 15:01:32 -08:00
alisdair sullivan
6df04635b8 change seq macros to functions 2013-03-02 14:56:32 -08:00
alisdair sullivan
8ee653a6cf rewrite number handling to both reduce states and reduce complexity 2013-03-02 14:50:40 -08:00
alisdair sullivan
1646955038 refactor handling of string escapes adding test cases to catch edge cases with replaced utf8 2013-02-27 19:41:22 -08:00
alisdair sullivan
f47e89e54f add tests for single quoted strings in objects 2013-02-26 23:16:53 -08:00
alisdair sullivan
21a8d00739 refactor partial escape sequence detection 2013-02-26 21:27:40 -08:00
alisdair sullivan
a08f660d55 check bad_utf tests for incremental decoding 2013-02-26 21:11:31 -08:00
alisdair sullivan
9bf0ca50e9 nestable /* */ style comments 2013-02-26 18:41:53 -08:00
alisdair sullivan
8a8af8af84 apply resume stuffing technique to comments for mystery project x (better resume api) 2013-02-26 18:31:44 -08:00
alisdair sullivan
4236edbf95 reduce incomplete literal states further 2013-02-25 23:18:06 -08:00
alisdair sullivan
1c030b6eeb explain some magic number nonsense 2013-02-25 21:45:13 -08:00
alisdair sullivan
9627ceefab reduce literal states 2013-02-25 21:38:07 -08:00
alisdair sullivan
e69d62f375 fix sort of a bug with escape sequences 2013-02-25 21:32:27 -08:00
alisdair sullivan
04f9fedeeb add test to ensure incremental decoding works 2013-02-25 20:23:31 -08:00
alisdair sullivan
7f94b452fa update comments to make control code handling slightly more clear 2013-02-25 17:37:49 -08:00
alisdair sullivan
01a2f06a91 vastly simplify string decoding, still needs tests for incompletes/errors 2013-02-25 17:24:06 -08:00
alisdair sullivan
a57435aad3 add additional string tests to jsx_utils 2013-02-24 20:20:25 -08:00
alisdair sullivan
71767e4d28 add test for bom in decoder 2013-02-24 20:10:48 -08:00
alisdair sullivan
2e5bb4fd3b merge new_tests branch 2013-02-24 03:07:57 -08:00
alisdair sullivan
35020643e7 revert encoder to prior version 2013-02-24 02:57:35 -08:00
alisdair sullivan
3a383b6cb0 revert parser to former version 2013-02-24 02:46:11 -08:00
alisdair sullivan
ef566d8cd3 remove cases from clean_string 2013-02-24 02:42:29 -08:00
alisdair sullivan
82b7044d42 unescape tests for decoder 2013-02-24 02:28:33 -08:00
alisdair sullivan
fd9856341f bad utf tests for decoder 2013-02-24 02:14:47 -08:00
alisdair sullivan
57e10dfca6 additional decoder tests 2013-02-24 01:59:54 -08:00
alisdair sullivan
00b593c6ea add escape tests to decoder 2013-02-24 01:50:17 -08:00