cson

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2020-01-29
08:14
Introduced the CSON_RC_xxx enum values to replace cson_rc.xxx. Leaf check-in: db81b7f3b4 user: stephan tags: trunk
07:48
minor doc updates. check-in: 90185324e0 user: stephan tags: trunk
2018-04-23
12:32
Incorporated the cson_pack API, kindly submitted by Guido Berhoerster. This adds an alternate approach to creating/parsing non-trivial JSON, which is MUCH simpler to use for many common use cases. check-in: e9037d8e03 user: stephan tags: trunk
2018-03-12
11:15
Replaced the private/interal __ and ES symbols in JSON_parser.c with XX and ESC, respectively, to avoid collisions with macros defined by system headers on HPUX 11.31 and and Solaris 11/Illumos. Patch from Guido Berhoerster. check-in: fdd952b7fb user: stephan tags: trunk
11:05
replaced f() decls with f(void). Patch from Guido Berhoerster. check-in: e1a45457f1 user: stephan tags: trunk
2018-01-09
20:28
Build fixes/updates. Increased a unicode output buffer size after reports of certain MSVC version complaining about it. check-in: 7027bd7918 user: stephan tags: trunk
2016-06-18
11:19
fixed two "strict alias" warnings, thanks to report from Kain Abel. check-in: a2315cc759 user: stephan tags: trunk
2015-11-13
09:53
removed some unused static/const internals (clang warning) and refactored the emacs indentation kludges to avoid similar warnings. Reported by Jan Danielsson. check-in: e8c8e24b51 user: stephan tags: trunk
2015-07-03
07:57
minor typo fix in code comment. check-in: fcbfae89c7 user: stephan tags: trunk
2015-07-02
21:35
Output characters above 0xFFFF as UTF16 surrogate pairs. Thanks to Evert for the report. check-in: b0191bd926 user: stephan tags: trunk
2014-04-12
10:55
Added support for setting up long double support without editing the code. Thanks to Dr. Heiko Hafok for testing this with his telescopy data :). check-in: 831c0ee46e user: stephan tags: trunk
2014-01-30
17:04
Moved sqlite3 bits into the 'session' amalgamation because cson_sqlite3.h was already injected there. check-in: 964df2262b user: stephan tags: trunk
17:02
Added cson_sqlite3 to the "all" amalgamation build. check-in: f169766098 user: stephan tags: trunk
2014-01-21
16:54
Ran doxyfile through doxygen -u. check-in: 8fd4f33e24 user: stephan tags: trunk
16:45
Added rule to upload doxygen docs to the main www site, per request. check-in: e2afbc88d3 user: stephan tags: trunk
2013-09-09
08:11
Ported in upstream JSON_parser (new license) and downstream patch from Jan L. check-in: fafbd6997a user: stephan tags: trunk
2013-09-06
18:08
Added some docs for that last workaround. check-in: a12c206760 user: stephan tags: trunk
18:02
Added a workaround, only enabled on CSON_FOSSIL_MODE, which basically assumes invalid UTF8 bytes are latin1-encoded. Works around an encoding-foo-foo in the main fossil repo. Future versions might translate this to a "?" instead. check-in: e0d6f38b9a user: stephan tags: trunk
2013-07-13
23:28
latest cpdo. check-in: 111632daa9 user: stephan tags: trunk
2013-06-20
13:35
Use __int64 for cson_int_t in _WIN32 builds. Patch from Jan Nijtmans. check-in: 9be9a78c44 user: stephan tags: trunk
2013-05-04
18:30
updated URL to cpdo DSN page. check-in: 4f44db3a3c user: stephan tags: trunk
18:17
cson_cpdo_stmt_to_value() now treats CPDO_TYPE_CUSTOM fields as string values. check-in: a666bf92a2 user: stephan tags: trunk
2013-04-14
12:58
Minor internal doc touch-ups. Fix: when indentation==0, no longer output a space after commas in arrays (thanks to Timothy Mossbarger). check-in: 5bd0c2f2e2 user: stephan tags: trunk
2013-02-12
11:49
Replaced an explicit call to realloc() with cson_realloc(). check-in: 84393c34df user: stephan tags: trunk
11:41
Now explicitly defined CSON_FOSSIL_MODE. check-in: a16cc959b4 user: stephan tags: trunk
2013-01-02
10:45
Fixed invalid comparison of unsigned int vs. negative value. Minor doc touchups. check-in: b8f010efe0 user: stephan tags: trunk
2012-08-11
13:51
Fixed an old bug which causes the special undefined value to not be recognized as a built-in value. Never showed up yet because JSON does not use the undefined type. check-in: 2a88606e09 user: stephan tags: trunk
2012-07-23
19:12
minor build fix. check-in: cb449b34ea user: stephan tags: trunk
19:12
Added some extern decls for fossil mode. check-in: 0c74359a4b user: stephan tags: trunk
2012-07-20
20:58
Minor doc fix. check-in: e4db0a7f45 user: stephan tags: trunk
2012-07-19
17:16
Corrected cpdo_amalgamation fiasco. check-in: bc80c4cfbb user: stephan tags: trunk
2012-07-07
09:53
Added long-missing cpdo_amalgamation.h. Now compiles warning-free under scan-build. check-in: ae2c78f498 user: stephan tags: trunk
2012-04-15
11:33
tinkering with some potential future refactoring. check-in: 735285360d user: stephan tags: trunk
10:18
moved cson_type_id into public API to allow some client-side dispatching optimizations. check-in: 87042db243 user: stephan tags: trunk
2012-03-31
14:34
minor doc addition. check-in: a2ce0a8780 user: stephan tags: trunk
14:34
minor fossil amalgamation build fix. check-in: 0750601a8e user: stephan tags: trunk
14:29
Expanded cson_sqlite3_bind_value() to accept an array. check-in: 862f335cef user: stephan tags: trunk
13:43
Added cson_sqlite3_bind_value(). check-in: 2e416d8d1c user: stephan tags: trunk
2012-03-09
15:59
minor cosmetic touchup to the previous commit. check-in: ade613787f user: stephan tags: trunk
15:52
Re-introduced the CSON_VOID_PTR_IS_BIG option. On 64-bit platforms this can save 8 bytes of memory per JSON integer. On 32-bit it has no effect. check-in: e52fca49e5 user: stephan tags: trunk
2012-03-05
21:35
minor internal cleanups. check-in: 8a8cac5d65 user: stephan tags: trunk
2012-03-04
19:50
minor cleanups to the previous commit. check-in: f10e062928 user: stephan tags: trunk
19:42
fixed a logic bug which causes cson_parse_argv_flags() to not recognize numeric flags as such (and treated them as strings). check-in: 494a3b7da4 user: stephan tags: trunk
14:30
cson_value_clone() now shares immutable values and objects' keys, and deeply clones containers. check-in: 3aae5815c8 user: stephan tags: trunk
13:12
Fixed an obscure and deeply internal refcounting oversight which caused object keys pulled from JSON input to have a refcount of 0 but those from cson_object_set() to have rc=1. Added some experimental (and disabled) code for using shallow cloning for non-array/object types. check-in: 000582703a user: stephan tags: trunk
11:48
minor doc updates and internal cleanups. check-in: 31a5ee1057 user: stephan tags: trunk
11:10
added cson_cpdo_bind_value() to bind a cson value to a cpdo_stmt column. check-in: 625548f29b user: stephan tags: trunk
2012-02-27
19:51
Added several layers of nesting to ensure that it is too deep for the default build of cson (for error testing purposes). A makefile-level mistake caused the previous _success_ of the parse to go unnoticed (fixed in previous commit). check-in: d70a8aecbc user: stephan tags: trunk
19:49
fixed a logic error which caused the json-parser must-fail tests to incorrectly exit with code 0 when they (unexpectedly) succeeded. check-in: d64bf0af6e user: stephan tags: trunk
19:47
json-parser.c now compiles in c89 mode. check-in: 97f54e8725 user: stephan tags: trunk