9e7847ed26Merge pull request #365 from phst/bug352
Petri Lehtinen
2017-10-09 08:07:42 +03:00
112ccbd820Use last byte of error text as numeric error code
Philipp Stephani
2017-10-03 11:42:07 +02:00
271ffda903Make json_equal() const-correct
Petri Lehtinen
2017-08-19 21:10:11 +03:00
3e5405c39eWork around gcc's -Wimplicit-fallthrough
Petri Lehtinen
2017-08-19 21:09:32 +03:00
93e8cd7d68Merge pull request #359 from sanjay24/master
Petri Lehtinen
2017-08-06 07:14:18 +03:00
0abcbce3bbjson_dump_file API returns success even when fclose fails (consider disk full case). API should check the return value of fclose before returning success to its caller. fwrite may not write anything into the file, it simply returns the number of bytes written into the buffer. When disk is full and fclose is called, it results in truncation of the file (resulting in zero sized file). Since, API is returning success, its caller can't take any remedial action on its failure.
Sanjay Kumar
2017-08-05 23:52:49 +05:30
4947f9a193Merge pull request #356 from hellojaewon/master
Petri Lehtinen
2017-07-20 22:42:29 +03:00
7d1af52ab4Merge pull request #301 from npmccallum/master
Petri Lehtinen
2016-08-31 17:57:23 +03:00
63b9fd0552Add support for the cleanup attribute in GCC/Clang
Nathaniel McCallum
2016-08-30 16:12:22 -04:00
b45745118ddoc: Fix json_error_t::position type
Petri Lehtinen
2016-08-31 12:17:03 +03:00
0ffecdbadedoc: Fix json_error_t::position type
Petri Lehtinen
2016-08-31 12:17:03 +03:00
ab1ba69027Set documentation version to 2.9-dev
Petri Lehtinen
2016-08-30 21:19:51 +03:00
a5610c8895Set documentation version to 2.8
Petri Lehtinen
2016-08-30 21:19:13 +03:00
012c5f0ecajansson 2.8
v2.8
Petri Lehtinen
2016-08-30 21:09:28 +03:00
a931aace16jansson 2.8
Petri Lehtinen
2016-08-26 20:35:52 +03:00
14573dc920Merge pull request #293 from akheron/object-insertion-order
Petri Lehtinen
2016-08-25 20:20:34 +03:00
71594af7d5Merge pull request #298 from pasiopou/oom-crash
Petri Lehtinen
2016-08-11 22:15:01 +03:00
6a4b3f878dConform to c89
Andreas Pasiopoulos
2016-08-11 18:51:29 +03:00
86fdf76f79Check the allocation was successful before freeing existing hashtable buckets and increasing hashtable order
Andreas Pasiopoulos
2016-08-11 17:48:29 +03:00
835290dfdfAdd a test case for OOM while allocating memory
Andreas Pasiopoulos
2016-08-11 17:18:46 +03:00
7daffabf07Fix a typo
Petri Lehtinen
2016-06-24 06:55:49 +03:00
9df267054fAlways preserve insertion order of object items
Petri Lehtinen
2016-06-20 21:03:02 +03:00
8f067962f6Merge pull request #290 from Thynix/documentation
Petri Lehtinen
2016-06-20 07:29:29 +03:00
603fdc9154doc: fix code block formatting
Steve Dougherty
2016-06-17 10:45:47 -04:00
520340998fMerge pull request #289 from akheron/simplify-snprintf-checks
Petri Lehtinen
2016-06-03 12:29:55 +03:00