- 22 May, 2018 - 1 commit
-
-
Petri Lehtinen authored
CMake variable to number comparison changed to provide meaningful error
-
- 18 May, 2018 - 2 commits
-
-
Cameron Lowell Palmer authored
message. Explicitly specify STATIC and PIC
-
Petri Lehtinen authored
CMake improvements, make package relocatable
-
- 07 May, 2018 - 4 commits
-
-
Petri Lehtinen authored
Appveyor & build instructions for Visual Studio 15 2017
-
Petri Lehtinen authored
-
Petri Lehtinen authored
-
Petri Lehtinen authored
Fix JSON_HAVE_SYNC_BUILTINS define usage
-
- 22 Mar, 2018 - 3 commits
-
-
Maxim Zhukov authored
Added JSON_HAVE_SYNC_BUILTINS and JSON_HAVE_ATOMIC_BUILTINS defines to jansson_config.h.cmake as well as in the autoheader for autoconf.
-
Petri Lehtinen authored
Fix error handling in json_pack
-
Maxim Zhukov authored
Fixed a bug where the error message was not filled if an empty object was passed to the json_pack. Fixes #271
-
- 20 Mar, 2018 - 1 commit
-
-
Petri Lehtinen authored
Build: Add JANSSON_ATTRS macro.
-
- 11 Mar, 2018 - 11 commits
-
-
Isaac Hier authored
-
Isaac Hier authored
-
Isaac Hier authored
-
Isaac Hier authored
-
Isaac Hier authored
-
Isaac Hier authored
-
Isaac Hier authored
-
Isaac Hier authored
-
Isaac Hier authored
-
Isaac Hier authored
-
Isaac Hier authored
-
- 07 Mar, 2018 - 1 commit
-
-
Corey Farrell authored
* Add test_load_callback to CMakeList.txt * Add json_dump, json_load and json_unpack chaos testing.
-
- 06 Mar, 2018 - 2 commits
-
-
Corey Farrell authored
This adds a compiler warning when strbuffer_init return value is ignored. unpack_object is updated to deal with errors produced while building unrecognized_keys.
-
Corey Farrell authored
This macro is used to conditionally generate GCC/CLANG __attribute__ declarations if supported. This allows the compiler to produce warnings on certain incorrect usages. json_sprintf and json_vsprintf will produce warnings on invalid format string. Many functions will produce a warning if the result is unused. Specifically functions which allocate new objects will warn if the result is ignored as this always results in a memory leak.
-
- 20 Feb, 2018 - 3 commits
-
-
Petri Lehtinen authored
Enable branch coverage reporting.
-
Petri Lehtinen authored
Improve test coverage.
-
Corey Farrell authored
-
- 15 Feb, 2018 - 1 commit
-
-
Corey Farrell authored
* Test equality of different length strings. * Add tab to json_pack whitespace test. * Test json_sprintf with empty result and invalid UTF. * Test json_get_alloc_funcs with NULL arguments. * Test invalid arguments. * Add test_chaos to test allocation failure code paths. * Remove redundant json_is_string checks from json_string_equal and json_string_copy. Both functions are static and can only be called with a json string. Fixes to issues found by test_chaos: * Fix crash on OOM in pack_unpack.c:read_string(). * Unconditionally free string in string_create upon allocation failure. Update load.c:parse_value() to reflect this. This resolves a leak on allocation failure for pack_unpack.c:pack_string() and value.c:json_sprintf(). Although not visible from CodeCoverage these changes significantly increase branch coverage. Especially in src/value.c where we previously covered 67.4% of branches and now cover 96.3% of branches.
-
- 11 Feb, 2018 - 1 commit
-
-
Petri Lehtinen authored
jansson 2.11
-
- 09 Feb, 2018 - 8 commits
-
-
Corey Farrell authored
-
Petri Lehtinen authored
Document encoding requirements for callbacks
-
Petri Lehtinen authored
Fix generated `pkg-config` file using cmake.
-
Petri Lehtinen authored
Use a more specific error code for premature end of input
-
Petri Lehtinen authored
document that json_error_code will be added in version 2.11
-
Petri Lehtinen authored
Original patch by @phst. Fixes #369.
-
Petri Lehtinen authored
Add json_sprintf and json_vsprintf
-
Petri Lehtinen authored
Fixes #392
-
- 08 Feb, 2018 - 2 commits
-
-
Petri Lehtinen authored
Atomic references and thread safe json_dump
-
Corey Farrell authored
Clarify thread safety docs, rename JANSSON_THREAD_SAFE
-