868b20ce4e
initialize null terminator of new printbuf
Pierce Lopez2016-07-16 00:30:31 -04:00
2b255d0ebf
Fix absolute paths in test_util_file that vary depending on where it is run.
Eric Haszlakiewicz2016-06-27 04:29:07 +00:00
b1d65b62db
Issue #113: Add more files to EXTRA_DIST and a dist-hook to get distcheck to at least not fail.
Eric Haszlakiewicz2016-06-27 04:28:34 +00:00
1071385896
Issue #113: add "new" files to appropriate variables in Makefile, and note the need to run "make distcheck" as part of the release process. Fix issues with the test script so it works under distcheck too.
Eric Haszlakiewicz2016-06-27 03:46:38 +00:00
29ef73f21d
Issue #189: Eliminate use of MC_ERROR from json_util.c, and add a json_util_get_last_err() function to retrieve the error for those callers that care about it. Add tests and descriptions for the functions in json_util.c
Eric Haszlakiewicz2016-06-26 02:20:05 +00:00
5fb63a09f9
linkhash.c: optimised the table_free path
Eswar Yaganti2016-06-25 22:50:36 +05:30
595891729e
Issue #236: Add -Wcast-qual and fix casts to retain constness. To better distinguish between entry->k and entry->v being const within linkhash, but non-const outside, add lh_entry_v() and lh_entry_k() accessors. Make lh_entry->k const.
Eric Haszlakiewicz2016-06-11 18:18:46 +00:00
f285c0a2e5
Issue #175: disable the fast-and-loose code in hashlittle() when running with AddressSanitizer.
Eric Haszlakiewicz2016-06-08 03:24:59 +00:00
ae66b24369
Mention that we're aiming to follow RFC 7159 now. Cause README.md to show up in Doxygen output as the main page.
Eric Haszlakiewicz2016-06-08 02:36:13 +00:00
7ae5c3f7a6
Issue #142: un-deprecate json_object_object_get(), but note why you might want to use json_object_object_get_ex() instead.
Eric Haszlakiewicz2016-05-23 03:02:34 +00:00
996be85843
Fix a few places that needed adjustment for the size_t changes, including updating the range checks to use a calculated SIZE_T_MAX.
Eric Haszlakiewicz2016-05-23 02:10:58 +00:00
316da85818
Fix issue #201: add a JSON_C_TO_STRING_NOSLASHESCAPE flag to turn off escaping of forward slashes.
Eric Haszlakiewicz2015-11-28 20:00:30 -06:00
23ee243113
reference increment and decrement is now atomic (when using a GCC compatible compiler), which allows passing json objects between threads
Emiel Bruijntjes2015-11-27 16:49:32 +01:00
239c146a4b
Appveyor: Visual Studio v140 no longer fails
James Myatt2015-11-05 13:50:30 +00:00
fd43c2b99a
Appveyor: Create artefact with library and include files only
James Myatt2015-11-05 13:41:42 +00:00
80c1f69b9e
Use AX_APPEND_COMPILE_FLAGS() to check the various compile flags, such as -Wall, to ensure the compile supports.
Eric Haszlakiewicz2015-10-23 02:16:40 +00:00
10d50aadf2
Remove the AC_FUNC_MALLOC check, since we don't depend on the malloc(0) behavior it checks for, and we don't provide a rpl_malloc() implementation anyway.
Eric Haszlakiewicz2015-10-22 02:57:13 +00:00
1757a31750
Fix doc for json_object_new_boolean() to indicate the correct value for TRUE (1).
Eric Haszlakiewicz2015-08-23 00:08:14 -04:00
d4f8f92eb0
Squash deprecated function warning by replacing json_object_object_get calls with json_object_object_get_ex in test_cast.
Eric Haszlakiewicz2015-08-23 00:06:36 -04:00
93b1fe63e5
Add back in the __attribute__((__unused__)) that was lost in the previous commit. It's needed to squash a "variable 'val' set but not used" warning.
Eric Haszlakiewicz2015-08-22 23:59:49 -04:00
cd8bd7f617
Tell the compiler we're intentionally ignoring the return value from __sync_val_compare_and_swap().
Eric Haszlakiewicz2015-05-26 19:02:19 -07:00
75d7409c4e
Fix uninitialised variable compile warning, and also fix unused-when-used warning
Stuart Walsh2015-03-31 12:23:03 +01:00