Commit graph

640 commits

Author SHA1 Message Date
alisdair sullivan
8ed4b1a405 new test for read_file/1, /2 2011-02-21 19:47:20 -08:00
alisdair sullivan
dd46f4394b commented rethrown exceptions 2010-09-28 12:52:58 -07:00
alisdair sullivan
a4d48fd8d9 backed out ill conceived change to options 2010-09-27 14:52:16 -07:00
alisdair sullivan
5bcdca948a wrapped calls to jsx_eep0018 so that badarg exceptions are raised in the public api, rather than in internal modules 2010-09-27 14:27:39 -07:00
alisdair sullivan
a99644a926 modified error return value from {error, badjson} to {error, {badjson, Bin}} where Bin is the input from the point of the error 2010-09-27 14:07:36 -07:00
alisdair sullivan
1a20e911a9 was using three different methods to rewrite options to core parser options, switched to just one 2010-09-23 22:29:21 -07:00
alisdair sullivan
c1e58460e4 added probably superfluous test, for paranoia 2010-09-23 22:28:35 -07:00
alisdair sullivan
52511d24c1 formatter and verifier allow unquoted keys now too 2010-09-23 22:28:35 -07:00
alisdair sullivan
b73e506fe2 rewrote extraction of core parser options in various components in a consistent manner 2010-09-23 22:26:04 -07:00
alisdair sullivan
d67f830def incremented version number and added CHANGES 2010-09-22 23:12:54 -07:00
alisdair sullivan
fa4e2f533b moved contents of jsx_test to jsx module to adhere to law of conversation of module names 2010-09-21 08:05:08 -07:00
alisdair sullivan
78663a9240 added new nicefloats project to dependencies 2010-09-20 18:44:24 -07:00
alisdair sullivan
aa3385a31d added type specs to all publically exported functions 2010-09-15 21:30:25 -07:00
alisdair sullivan
cf38a9a466 fixed typo in edoc comments 2010-08-26 06:36:10 -07:00
alisdair sullivan
a86dec09ef major whitespace updates to get line lengths down to < 80 characters whenever possible (a few tests ignore this). srx/jsx_test.erl was not touched because it's shortly to be replaced 2010-08-25 23:17:10 -07:00
alisdair sullivan
ac5e0e4fe3 removed author tag from modules 2010-08-25 21:40:16 -07:00
alisdair sullivan
203ec6e5e0 removed types and specs, since they are not supported in the default erlang's some linux distros supply 2010-08-25 21:28:13 -07:00
alisdair sullivan
d58fc57ab4 fixed eunit test macro definition 2010-08-23 19:59:23 -07:00
alisdair sullivan
4d8246dcdc updated edoc 2010-08-23 13:42:22 -07:00
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