Commit graph

587 commits

Author SHA1 Message Date
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
alisdair sullivan
9d2448669e whitespace 2012-03-28 23:46:18 -07:00
alisdair sullivan
6544975379 add more comprehensive checking to json_escape 2012-03-28 23:46:06 -07:00
alisdair sullivan
dc6a026e94 add tests for bad utf sequences, fix failures 2012-03-28 23:31:07 -07:00
alisdair sullivan
2d2dd5f7c1 faster implementation of string cleaning 2012-03-28 21:51:21 -07:00
alisdair sullivan
7e243bafd1 remove tests for malformed 5 and 6 byte sequences 2012-03-28 21:23:35 -07:00
alisdair sullivan
edbe4d16ab fix clean string for bad utf8 2012-03-28 20:17:58 -07:00
alisdair sullivan
9bdbf7969b noncharacters work with incompletes now 2012-03-28 19:50:57 -07:00
alisdair sullivan
cf6dbd6480 properly guard noncharacters 2012-03-28 19:34:49 -07:00
alisdair sullivan
7a1bcc4992 bad utf sequences were being replaced with u+fffd per byte, they are now correctly replaced with just a single u+fffd codepoint 2012-03-27 23:18:06 -07:00
alisdair sullivan
4f0bfb0317 point test status to master, not develop 2012-03-27 16:58:44 -07:00
alisdair sullivan
7687a0de97 Merge branch 'develop' 2012-03-27 16:58:20 -07:00
alisdair sullivan
d964d4b12f bump version to v1.1.1 2012-03-27 16:58:06 -07:00
alisdair sullivan
addb1e172d fix for failing tests on R14BXX 2012-03-27 16:56:12 -07:00
alisdair sullivan
47951fbd86 remove R14BXX from travis testing 2012-03-27 16:53:18 -07:00
alisdair sullivan
ee5c2ae25d remove R14BXX from travis testing 2012-03-27 16:52:59 -07:00
alisdair sullivan
c28bd854f6 travis ci status pointer to develop branch 2012-03-27 16:51:23 -07:00
alisdair sullivan
bd6202e618 v1.1 2012-03-27 16:49:25 -07:00
alisdair sullivan
5fcada1093 remove badly named tests 2012-03-27 16:42:18 -07:00
alisdair sullivan
09cbbe98b5 add true, false and null tests 2012-03-27 16:33:31 -07:00
alisdair sullivan
358b8f9c26 add escaped control code test 2012-03-27 16:30:53 -07:00
alisdair sullivan
4bf86a8d06 add empty string test 2012-03-27 16:28:37 -07:00
alisdair sullivan
7918e63e71 add empty object in array test 2012-03-27 16:26:43 -07:00
alisdair sullivan
146c69ac19 add dmitry kolesnikov to acknowledgements 2012-03-27 15:52:06 -07:00
alisdair sullivan
42d6ef2c21 refactor of encoded codepoints with looser string restrictions 2012-03-27 14:44:02 -07:00
alisdair sullivan
672fe04c37 additional noncharacter handling for R14BXX 2012-03-27 13:41:23 -07:00
alisdair sullivan
3d836f1241 remove debug statement from tests 2012-03-26 22:10:09 -07:00
alisdair sullivan
134460cf6a update README to reflect slightly looser restrictions on what constitutes a valid string 2012-03-26 19:44:41 -07:00
alisdair sullivan
d5d7273e1e merge in experimental explicitspeed branch 2012-03-26 19:41:45 -07:00
alisdair sullivan
f1c4a85df1 loosen restrictions on allowed codepoints in strings 2012-03-26 19:39:28 -07:00
alisdair sullivan
3421b6546e rewrite of json_escape for efficiency 2012-03-26 19:28:53 -07:00
alisdair sullivan
04ea83266e slightly more efficient encoding of strings 2012-03-26 18:52:32 -07:00
alisdair sullivan
41002bd10f comment explaining weird string functions 2012-03-26 18:52:06 -07:00