Commit graph

118 commits

Author SHA1 Message Date
alisdair sullivan
11e0adc05e opts now uses a record definition, rather than a handwritten tuple 2010-06-26 07:27:38 -07:00
alisdair sullivan
528bdc4791 added test case for negative zero, fixed typo in zero.test 2010-06-25 03:22:02 -07:00
alisdair sullivan
2834404054 removed extra clause from jsx_test.escript, slight modifications so it works with prove 2010-06-25 03:02:12 -07:00
alisdair sullivan
a9ecb733e3 decoder now returns end_json event at earliest possible time, Next() returns nothing but {error, badjson} if fed bad input or incomplete after that point, even if forced 2010-06-25 02:46:54 -07:00
alisdair sullivan
d58343bff3 supressed warning from jsx_test.escript 2010-06-25 02:06:22 -07:00
alisdair sullivan
0a96a059a1 added test for multi_terms 2010-06-24 15:55:08 -07:00
alisdair sullivan
1320241e68 Merge branch 'master' into multiple_terms 2010-06-23 23:38:06 -07:00
alisdair sullivan
c5c0aca251 removed mid level api completely 2010-06-23 23:37:48 -07:00
alisdair sullivan
79361c418f formatting 2010-06-23 23:36:34 -07:00
alisdair sullivan
46df6e5a38 incomplete work on multi term streams 2010-06-23 16:43:09 -07:00
alisdair sullivan
37f9d2a07a brought test suite up to date, fixed a dumb error that occured when parsing integers larger than 100 2010-06-21 23:06:55 -07:00
alisdair sullivan
34929a452e rewrote build system 2010-06-21 14:00:05 -07:00
alisdair sullivan
5309030233 repaired jsx:fold and moved some defines to jsx_decoder.hrl 2010-06-20 18:11:06 -07:00
alisdair sullivan
cff4d17561 substantial refactoring of api and decoder internals 2010-06-20 17:00:08 -07:00
alisdair sullivan
c3bdc3b681 removed rogue DS_Store 2010-06-11 22:05:41 -07:00
alisdair sullivan
31a55cf517 updated jsx_parser example, needs more comments 2010-06-11 22:01:58 -07:00
alisdair sullivan
4286892861 new interruptable api, examples broken for the hojillionth time 2010-06-11 21:57:42 -07:00
alisdair sullivan
e690d7723a first pass at new api 2010-06-11 18:14:24 -07:00
alisdair sullivan
813058e2fb changed end_of_json to end_json 2010-06-10 20:32:15 -07:00
alisdair sullivan
e245d8aa92 tightened up options allowed 2010-06-09 06:21:03 -07:00
alisdair sullivan
38aef5f383 updated examples for new api 2010-06-09 00:58:23 -07:00
alisdair sullivan
f042908c30 reworked api, renamed decoder to parser, added types and function specs for exported functions 2010-06-09 00:57:15 -07:00
alisdair sullivan
1dad27d1f0 removed dummy file 2010-06-08 20:21:59 -07:00
alisdair sullivan
0d7a6f9720 fixed embarassing non-termination bug 2010-06-08 20:21:18 -07:00
alisdair sullivan
bbc291c7c4 converted jsx_test to escript, updated makefile 2010-06-08 16:36:59 -07:00
alisdair sullivan
44813b623a deleted rebar, added empty readme 2010-06-07 18:32:59 -07:00
alisdair sullivan
da91d56afd deleted out of date readme 2010-06-07 18:31:56 -07:00
alisdair sullivan
8610eeefad makefile test target now compiles first 2010-06-07 17:58:44 -07:00
alisdair sullivan
c2f8d4e6a0 added install target to makefile, stages into code:lib_dir() 2010-06-07 17:55:13 -07:00
alisdair sullivan
a6990152b3 added makefile and build script 2010-06-07 17:21:04 -07:00
alisdair sullivan
50b0d03083 updated examples 2010-06-07 16:28:48 -07:00
alisdair sullivan
d25f96f798 merged in unified decoder branch 2010-06-07 16:21:22 -07:00
alisdair sullivan
eb55eb9599 all five utfx variants supported now compiled from a single templated module 2010-06-07 16:15:40 -07:00
alisdair sullivan
5460796e33 changed end of stream token 2010-06-07 16:10:29 -07:00
alisdair sullivan
fb497a20bc added a streaming mode, use option [{stream_mode, true}] to use. no tests yet 2010-06-06 13:58:04 -07:00
alisdair sullivan
152c2ec75f added decode function to jsx.erl 2010-06-05 07:49:55 -07:00
alisdair sullivan
a3ab6ca9fc refactored utf16 and utf32 (little and big variants) so only the module name and a few defines have to be changed to ease further refactoring, also fixed binary optimizations 2010-06-04 23:50:53 -07:00
alisdair sullivan
028e8a0b99 updated error returns from all decoders 2010-06-03 00:11:05 -07:00
alisdair sullivan
fbbfc3bebb changed error reporting for utf8 decoder, utf16 and utf32 variants currently throwing untrapped errors 2010-06-02 23:42:05 -07:00
alisdair sullivan
ad0b87aa37 readme updated 2010-06-02 23:02:45 -07:00
alisdair sullivan
3453c5ab2e reexported detect_encoding from jsx.erl, remembered why it was exported 2010-06-02 21:54:25 -07:00
alisdair sullivan
0de4a87325 unexported detect_encoding from jsx.erl 2010-06-02 21:52:41 -07:00
alisdair sullivan
71bd2834fd more comments for jsx_parser 2010-06-02 21:47:59 -07:00
alisdair sullivan
d6497e1755 removed bare README, replaced by README.markdown 2010-06-02 21:24:56 -07:00
alisdair sullivan
a145df8c93 readme updated 2010-06-02 21:23:20 -07:00
alisdair sullivan
d3a8de31fe minor changes to jsx_parser to preserve list ordering 2010-06-02 21:19:05 -07:00
alisdair sullivan
403e2f53bb added .app file 2010-06-02 21:11:21 -07:00
alisdair sullivan
ef30957c08 added rebar to project 2010-06-02 21:11:04 -07:00
alisdair sullivan
ef952ceee8 converted jsx_test to etap, fixed resulting bugs with autodetection 2010-06-01 23:33:56 -07:00
alisdair sullivan
b82d4c5337 new tests 2010-06-01 21:00:12 -07:00