06742d6277
Issue #600: don't rename the static library on Windows, it _needs_ to have a different name because the dll build also creates a "json-c.lib" file.
Eric Haszlakiewicz2020-05-10 03:58:51 +00:00
519dfe1591
Issue #599: Fix the backwards check in lh_table_insert_w_hash() that was preventing adding more than 11 objects. Add a test to check for this too.
Eric Haszlakiewicz2020-05-10 03:32:19 +00:00
8e3d3d5544
Make the benchmark work with pre-cmake versions of json-c. Fetch a few more data files.
Eric Haszlakiewicz2020-05-04 03:40:40 +00:00
c66e7377f3
In jc-bench.sh, decode the --before and --after args. Use a separate data dir to avoid re-downloading files when the work dir is cleared.
Eric Haszlakiewicz2020-05-04 03:24:39 +00:00
8086314026
Issue #589: drop the rdrand test loops to just 3, tweak comments and add some links to bug reports, and decrease the nesting level of the has_rdrand() function.
Eric Haszlakiewicz2020-05-04 01:29:02 +00:00
a555d0e2f2
Merge pull request #589 from Xyene/detect-broken-rdrand
Eric Hawicz2020-05-03 21:13:48 -04:00
4d36b0287d
Detect broken RDRAND during initialization
Tudor Brindus2020-05-01 21:09:22 -04:00
9b64c3e347
Fix printf format issues in apps/json_parse, and actually call the usage() function.
Eric Hawicz2020-05-03 14:54:38 -04:00
ee90110f9b
Merge pull request #590 from Xyene/fix-cpuid-segfault
Eric Hawicz2020-05-03 14:52:31 -04:00
f9605e9072
Fix cmake-configure to accept "--prefix=<foo>" in addition to "--prefix <foo>" (see also Issue #591)
Eric Haszlakiewicz2020-05-03 03:50:16 +00:00
1059007024
Add an initial version of a benchmarking harness for json-c, to be able to more easily compare the performance of different library versions.
Eric Haszlakiewicz2020-04-27 04:00:00 +00:00
d9981f67dd
Extend the CMakeLists.txt in the apps directory to be usable as a standalone build, to link against other versions of json-c. Tweak json_parse.c slightly to allow it to build against older json-c versions.
Eric Haszlakiewicz2020-04-26 04:02:36 +00:00
00272292a7
The json_parse command line app doesn't build on Windows, disable it.
Eric Haszlakiewicz2020-04-21 21:35:41 +00:00
55d053118e
Add an apps directory, and a json_parse program to parse an input file and report on memory usage. This is intended to provide a way, during development, to test out the memory and performance impacts of a change.
Eric Haszlakiewicz2020-04-21 03:51:16 +00:00
f6f76f9430
Add a JSON_TOKENER_ALLOW_TRAILING_CHARS flag for json_tokener_set_flags() to allow multiple objects to be parsed from input even when JSON_TOKENER_STRICT is set.
Eric Haszlakiewicz2020-04-20 16:06:34 +00:00
05623b3a2e
Add an tok_flags field to explicitly specify tokener flags in test_parse and eliminate the previous bogus calls to json_tokener_set_flags()
Eric Haszlakiewicz2020-04-20 15:13:10 +00:00
fa6bc1e2d7
Issue #471: always create directories with mode 0755, regardless of umask.
Eric Haszlakiewicz2020-04-21 03:19:17 +00:00
ba4527904a
Add a few missing git commands to the release checklist, and change the S3 storage to "Standard", since it's actually (barely) cheaper than "Reduced Redundancy" now.
Eric Haszlakiewicz2020-04-19 04:17:29 +00:00
9ed00a694b
Fill in a few more pre-release steps to match what we've done for the 0.14 release. Move the list of contributors to the AUTHORS file.
Eric Haszlakiewicz2020-04-19 01:28:24 +00:00
4badbe9c20
Rewrite the issued_closed_for_* files so they display a bit nicer.
Eric Haszlakiewicz2020-04-18 03:22:52 +00:00
0a95f98b8d
Explicitly mark several things in json_tokener deprecated.
Eric Haszlakiewicz2020-04-18 02:42:46 +00:00
0a070ef312
Fix one more assert("!invalid cint_type") to use json_abort(...) instead.
Eric Haszlakiewicz2020-04-10 01:26:04 +00:00
545464322b
Issue #568: fix the strtoll and strtoull handing so config.h ends up creating defines for those only when needed, which should exclude mingw environments.
Eric Haszlakiewicz2020-04-09 20:58:28 +00:00
0c60125211
Update the oss-fuzz build script to try to get it to work with cmake.
Eric Haszlakiewicz2020-04-09 02:34:59 +00:00
95737df9d4
Remove autoconf machinery, we're using cmake now. Update the release checklist to account for that, plus fill in other tasks and clean it up a bit.
Eric Haszlakiewicz2020-04-09 02:15:31 +00:00
96bb334650
I have NFC why osx fails when "set -e" is in effect, but leave it off and clean up the rest of the debuging code in the travis config.
Eric Haszlakiewicz2020-04-08 02:54:10 +00:00