Commit graph

153 commits

Author SHA1 Message Date
alisdair sullivan
83243c22f4 commit to allow merge of master 2010-08-06 17:59:44 -07:00
alisdair sullivan
330a1916b8 unified eep0018 encoder and decoders into single module 2010-08-06 17:58:10 -07:00
alisdair sullivan
ca1d605e95 intermediate commit on way to eunit 2010-08-06 17:55:19 -07:00
alisdair sullivan
57c85a4185 fixed compiler warning for unused variable in jsx:load_tests(Path) 2010-08-06 06:19:22 -07:00
alisdair sullivan
c6d9035e50 rebar.config added to allow use of 'rebar eunit' 2010-08-06 06:18:09 -07:00
alisdair sullivan
54754c4ffb tests and such 2010-08-05 21:05:08 -07:00
alisdair sullivan
ab7f1c8353 fixed an embarassing bug, X band 1 == 1 does not test whether X is even 2010-08-05 21:01:23 -07:00
alisdair sullivan
8e21ab9145 added the generated source files to the /src dir along with instructions on how to generate them 2010-08-04 22:24:50 -07:00
alisdair sullivan
c0aca66a75 encoder now escapes strings properly, tests still needed 2010-08-04 22:00:36 -07:00
alisdair sullivan
5413c837d4 more tests, more bugs fixed 2010-08-03 21:15:24 -07:00
alisdair sullivan
3ea3eba7b3 first attempt at integrating json lib with jsx lib 2010-08-03 20:29:49 -07:00
alisdair sullivan
4c378791f9 first step moving json project into jsx tree, compiles, but not tested 2010-08-03 14:16:56 -07:00
alisdair sullivan
cce66ca01b updated readme 2010-08-03 13:55:01 -07:00
alisdair sullivan
0dea50b1e7 fixed erroneous -type 2010-08-03 00:27:58 -07:00
alisdair sullivan
375bd8ee11 added .gitignore 2010-08-02 20:53:29 -07:00
alisdair sullivan
db91b3fb74 simplified api, end_json now signifies you can cease parsing, no need to continue and check tail 2010-08-02 20:42:12 -07:00
alisdair sullivan
5975048ee4 simplifed api, at expense of parsing naked values (which are an abomination anyways...) 2010-08-02 16:57:57 -07:00
alisdair sullivan
972b4c8ebf updated readme to reflect new, better documentation 2010-08-02 10:10:15 -07:00
alisdair sullivan
640156033e whitespace changes 2010-08-01 20:05:28 -07:00
alisdair sullivan
4d129ca320 and again, looooove markdown 2010-07-29 23:03:11 -07:00
alisdair sullivan
70ba650715 and again, looooove markdown 2010-07-29 23:02:05 -07:00
alisdair sullivan
10c6e064e4 minor readme changes 2010-07-29 23:01:05 -07:00
alisdair sullivan
fa81a0b3b4 updated README 2010-07-29 22:59:23 -07:00
alisdair sullivan
737ea8c8b7 deleted old test script 2010-07-29 22:58:45 -07:00
alisdair sullivan
42a18cfcd9 major change to api, {incomplete, Next, Force} replaced by {incomplete, Next/1} where Next/1 accepts 'end_stream' to replicate what Force/1 used to do 2010-07-27 00:05:45 -07:00
alisdair sullivan
1188f02d9f added package target to makefile 2010-07-26 18:08:01 -07:00
alisdair sullivan
126f95a44b added missing compile prereq to prove make target 2010-07-26 18:06:06 -07:00
alisdair sullivan
a83a0a4ebc reworked build system to use rebar, tests still use external script, moved jsx_decoder.erl template to /priv from /src 2010-07-26 18:04:23 -07:00
alisdair sullivan
862e5db7c3 removed example target from makefile 2010-06-29 15:54:25 -07:00
alisdair sullivan
dd86f9a041 removed example eep0018 decoder/encoder, broke it off into it's own project, also fixed a weird type spec error i'd overlooked 2010-06-28 18:14:14 -07:00
alisdair sullivan
6fe6685f08 preliminary work to allow jsx_eep0018 to encode as well as decode json 2010-06-28 17:12:45 -07:00
alisdair sullivan
7761daed4c added license and author info for jsx_eep0018 2010-06-26 19:39:14 -07:00
alisdair sullivan
446095cbb2 minor bugfixes to jsx_eep0018 2010-06-26 19:16:56 -07:00
alisdair sullivan
4ceb8f26b3 added eep0018 decoder as an example 2010-06-26 18:56:44 -07:00
alisdair sullivan
eb49531e73 fixed failing negative zero test 2010-06-26 07:30:13 -07:00
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