Commit graph

819 commits

Author SHA1 Message Date
alisdair sullivan
76723ce736 semantic change to way pre_encode works 2012-04-06 08:09:52 -07:00
alisdair sullivan
78ca4e4bd9 change lists to array for clarity 2012-04-04 20:57:39 -07:00
alisdair sullivan
e69ac5f371 detect utf8 bom and ignore if present 2012-04-04 20:46:41 -07:00
alisdair sullivan
5e87f02fc5 update README to include info on pre_encoders 2012-04-04 20:13:46 -07:00
alisdair sullivan
ae13b934c6 add {pre_encoder, F} variant of {pre_encoders, [F, G,...]} 2012-04-04 20:13:27 -07:00
alisdair sullivan
89292c940d pre_encoders for preprocessing input to encoder 2012-04-04 20:04:17 -07:00
alisdair sullivan
941620129d remove nicedecimal from jsx.app.src 2012-04-04 18:41:55 -07:00
alisdair sullivan
19402fbee4 two new tests for comments and one (tiny) fix for trailing comments 2012-04-01 17:53:59 -07:00
alisdair sullivan
447e0b1356 README fixes and clarifications 2012-04-01 17:40:47 -07:00
alisdair sullivan
7b5f56a4be minor refactoring in jsx_decoder 2012-04-01 17:27:55 -07:00
alisdair sullivan
3e56b7ff3d more explicit handling of comments 2012-04-01 17:16:22 -07:00
alisdair sullivan
1a791f2a78 replace old option flag names with new option flag names, and clarify a couple of them 2012-03-31 21:58:45 -07:00
alisdair sullivan
3bc2c68ea3 fix the tenses and forms of option flags 2012-03-31 21:58:18 -07:00
alisdair sullivan
fdea98ebbf add escape equiv test 2012-03-31 21:19:37 -07:00
alisdair sullivan
357e3e0aeb add naked single quoted json escape test 2012-03-31 21:19:26 -07:00
alisdair sullivan
95feb74d1b correct operation of ignore_bad_escapes 2012-03-31 20:51:47 -07:00
alisdair sullivan
1c9da676b7 remove decode/1 from jsx_decoder test suite 2012-03-31 20:39:15 -07:00
alisdair sullivan
068af5621a add tests for ignore_bad_escapes 2012-03-31 20:38:51 -07:00
alisdair sullivan
ff42a04cdf remove old escaping code path 2012-03-31 20:31:28 -07:00
alisdair sullivan
66cb67148f whitespace changes in jsx_decoder.erl 2012-03-31 17:51:20 -07:00
alisdair sullivan
60bc46e2d4 add test suite for json_escape in decoder 2012-03-31 17:45:23 -07:00
alisdair sullivan
ae2aae1ebf style and whitespace 2012-03-31 17:45:23 -07:00
alisdair sullivan
ab49c3379b style and whitespace 2012-03-31 17:45:23 -07:00
alisdair sullivan
0e4e04ee36 couple new tests for better test coverage in jsx_encoder 2012-03-31 17:45:23 -07:00
alisdair sullivan
cb6c676775 add test for dirty_strings 2012-03-31 17:45:23 -07:00
alisdair sullivan
fa173e2d11 json escape to_json and format by default 2012-03-31 17:45:23 -07:00
alisdair sullivan
7c810cb05d inline json escaping into encoder 2012-03-31 17:44:20 -07:00
alisdair sullivan
7c31e9643e remove mention of meck from README.markdown 2012-03-31 12:36:18 -07:00
alisdair sullivan
d1bb294edd remove meck and nicedecimal from deps 2012-03-31 12:35:51 -07:00
alisdair sullivan
a6aa97fff6 remove unesscessary lists:flatten call 2012-03-31 12:34:29 -07:00
alisdair sullivan
9763ff189f use io_lib:format for float formatting 2012-03-31 12:33:19 -07:00
alisdair sullivan
d81bb60701 add R14BXX to travis ci, again 2012-03-30 23:28:24 -07:00
alisdair sullivan
e5ab105d83 Merge branch 'master' of github.com:talentdeficit/jsx 2012-03-30 23:26:08 -07:00
alisdair sullivan
8ff3454d88 point test status to master, not develop 2012-03-30 23:24:11 -07:00
alisdair sullivan
3a1a591592 remove R14BXX from travis testing 2012-03-30 23:24:11 -07:00
alisdair sullivan
ad3e870615 more fixes for json_escape 2012-03-30 23:17:05 -07:00
alisdair sullivan
09d8b50f78 fix format/x and to_json/x bug involving string escapes 2012-03-29 22:14:00 -07:00
alisdair sullivan
cd1a6deaaa fix format/x and to_json/x bug involving string escapes 2012-03-29 22:13:01 -07:00
alisdair sullivan
4581bca902 document new flags 2012-03-29 21:59:07 -07:00
alisdair sullivan
c80c1f7d40 Merge branch 'develop' 2012-03-29 21:48:57 -07:00
alisdair sullivan
a6dee16904 bump version to 1.1.2 2012-03-29 21:48:24 -07:00
alisdair sullivan
6f6a660177 fix escaping problems in format/x 2012-03-29 21:43:55 -07:00
alisdair sullivan
63535b27d7 check more extended codepoints 2012-03-29 06:25:49 -07:00
alisdair sullivan
f277edabb5 opts tests 2012-03-29 06:03:14 -07:00
alisdair sullivan
c8ff83a394 add relax option, a synonym for [loose_unicode, single_quotes, comments, ignore_bad_escapes] 2012-03-29 00:24:31 -07:00
alisdair sullivan
f909a5bc6d document ignore_bad_escapes 2012-03-29 00:20:12 -07:00
alisdair sullivan
5f6d7c1f01 upon further consideration, ignoring bad \uuXXXX escape sequences could be dangerous, remove test 2012-03-29 00:18:53 -07:00
alisdair sullivan
867199539c add (failing) tests for bad escape sequences 2012-03-29 00:13:08 -07:00
alisdair sullivan
73f4dadde5 document dirty_strings in README 2012-03-29 00:05:09 -07:00
alisdair sullivan
19e710da55 add dirty_strings option to bypass json escaping strings during encoding 2012-03-29 00:01:50 -07:00