Commit graph

121 commits

Author SHA1 Message Date
alisdair sullivan
1f1cb04cfd moved option parsing into the decoder module,trying to get as much implementation outside the interface module as possible 2010-08-23 13:36:53 -07:00
alisdair sullivan
00baba4dc7 renamed format opts record 2010-08-22 23:59:39 -07:00
alisdair sullivan
aa96606c61 small enhancement to testing multi value json bodies 2010-08-22 11:46:57 -07:00
alisdair sullivan
134aa8cc49 removed the need to regenerate the jsx_utfxx decoders. not sure why i didn't do that before, pretty sure i had a bad reason 2010-08-22 11:31:14 -07:00
alisdair sullivan
67d2e6219e Merge branch 'master' of github.com:talentdeficit/jsx 2010-08-22 10:41:27 -07:00
alisdair
8c308159e1 interstitial commit to preserve experiment 2010-08-22 02:01:22 +00:00
alisdair sullivan
24af6c36cb minor updates to edocs 2010-08-20 18:25:06 -07:00
alisdair sullivan
6ff74e6d59 edoc documentation added 2010-08-19 23:30:22 -07:00
alisdair sullivan
c098b06e88 general cleanup of modules, moved most types, specs, defines and records to header files and did some minor reformatting to adhere to style guidelines 2010-08-19 18:22:34 -07:00
alisdair sullivan
317d757b45 minor api change, More(end_stream) is now a badarg exception in any case except the ambiguous number 2010-08-12 21:32:03 -07:00
alisdair sullivan
485c4d74ea fixed a misleading comment about eventify 2010-08-12 20:55:07 -07:00
alisdair sullivan
45b9bc1dd0 moved function that fakes the jsx parser iterator to jsx so any client program can take advantage of it 2010-08-12 20:08:39 -07:00
alisdair sullivan
422f5958a0 it'd be nice if jsx:is_json accounted for repeat keys in a correct manner, right? 2010-08-12 17:20:58 -07:00
alisdair sullivan
cc5537165a supressed compiler warning in jsx_eep0018 about an unused variable 2010-08-11 23:19:05 -07:00
alisdair sullivan
b016087ceb more type fixes 2010-08-11 23:11:12 -07:00
alisdair sullivan
6120455a22 updated modules to use the new eep0018() type 2010-08-11 22:33:50 -07:00
alisdair sullivan
55f1f18366 tests working, finally 2010-08-11 19:27:33 -07:00
alisdair sullivan
843b3cdf24 more tests plus associated bug fixes, some tests still broken (in the sense they are not being run, not that they fail) 2010-08-10 21:56:29 -07:00
alisdair sullivan
80d42c4e49 removed fake test and redundant functions 2010-08-10 17:51:04 -07:00
alisdair sullivan
36c322c4a6 added format tests 2010-08-10 13:07:16 -07:00
alisdair sullivan
d73ce1eae8 removed superfluous tests 2010-08-10 12:31:05 -07:00
alisdair sullivan
55540969a6 small modification to jsx_test 2010-08-10 11:52:18 -07:00
alisdair sullivan
1617c878f5 abandoning branch for now, work is in intermediate state 2010-08-10 11:04:14 -07:00
alisdair sullivan
bff9a38d39 refactoring of eep0018 2010-08-07 23:01:04 -07:00
alisdair sullivan
5da5b6d782 eunit tests for verify module 2010-08-07 18:09:07 -07:00
alisdair sullivan
16cb0ad95e eunit tests for eep0018 module 2010-08-07 18:08:52 -07:00
alisdair sullivan
eaa4ab4018 some minor changes to eep0018 2010-08-06 18:18:46 -07:00
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
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
640156033e whitespace changes 2010-08-01 20:05:28 -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
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
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
446095cbb2 minor bugfixes to jsx_eep0018 2010-06-26 19:16:56 -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
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
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