Commit Graph

  • 865b5a6519 Fix CVE-2020-12762. Björn Esser 2020-05-14 12:32:30 +02:00
  • d414d3eabc Issue #604: add check for __MINGW32__ in snprintf_compat.h Eric Haszlakiewicz 2020-05-13 14:53:05 +00:00
  • 2e71fe0963 Display a bit of info about what exactly we're benchmarking. Eric Haszlakiewicz 2020-05-11 03:03:43 +00:00
  • 199c52e2db Ignore the bench/work and bench/data directories. Eric Haszlakiewicz 2020-05-11 01:24:46 +00:00
  • 3648c3ed2c Merge pull request #602 from ploxiln/parse_uint64_errno Eric Hawicz 2020-05-10 21:15:47 -04:00
  • 003b58782b fix json_parse_uint64() usage of errno Pierce Lopez 2020-05-10 13:20:02 -04:00
  • 26f080997d Fix snprintf on windows problem for test4. Eric Haszlakiewicz 2020-05-10 04:04:28 +00:00
  • 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 Haszlakiewicz 2020-05-10 03:58:51 +00:00
  • a59d5acfab Re-format after recent change to fix linkhash. Eric Haszlakiewicz 2020-05-10 03:58:27 +00:00
  • 4f43a077a4 Issue #598: avoid building static libraries twice. Eric Haszlakiewicz 2020-05-10 03:48:45 +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 Haszlakiewicz 2020-05-10 03:32:19 +00:00
  • 45b6416652 Merge branch 'master' of https://github.com/json-c/json-c Eric Hawicz 2020-05-08 22:25:15 -04:00
  • abc9a0731b Merge pull request #597 from ploxiln/json_parse_usage Eric Hawicz 2020-05-08 22:23:28 -04:00
  • 090ae4e4d4 json_parse demo: fix and use usage() function Pierce Lopez 2020-05-08 18:27:35 -04:00
  • 22870ac2bd Merge pull request #595 from dota17/static_shared Eric Hawicz 2020-05-07 23:23:15 -04:00
  • a100573eec cmake-configure: fix enable-static option hofnarr 2020-05-08 02:27:06 +03:00
  • 558ef8609c cmake: change variable name hofnarr 2020-05-08 02:19:38 +03:00
  • 929d74512a cmake: add list for build targets hofnarr 2020-05-08 02:16:52 +03:00
  • e97fc20bfd update dota17 2020-05-07 14:50:43 +08:00
  • 31243e4d12 Merge pull request #592 from stoeckmann/oob Eric Hawicz 2020-05-06 23:31:15 -04:00
  • d07b910149 Fix integer overflows. Tobias Stoeckmann 2020-05-04 19:47:25 +02:00
  • 952db0f397 support to build both static and shared libraries dota17 2020-05-06 10:48:53 +08:00
  • 77d935b7ae Prevent division by zero in linkhash. Tobias Stoeckmann 2020-05-04 19:46:45 +02:00
  • 099016b7e8 Protect array_list_del_idx against size_t overflow. Tobias Stoeckmann 2020-05-04 19:41:16 +02:00
  • 8e3d3d5544 Make the benchmark work with pre-cmake versions of json-c. Fetch a few more data files. Eric Haszlakiewicz 2020-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 Haszlakiewicz 2020-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 Haszlakiewicz 2020-05-04 01:29:02 +00:00
  • a555d0e2f2 Merge pull request #589 from Xyene/detect-broken-rdrand Eric Hawicz 2020-05-03 21:13:48 -04:00
  • 4d36b0287d Detect broken RDRAND during initialization Tudor Brindus 2020-05-01 21:09:22 -04:00
  • 9b64c3e347 Fix printf format issues in apps/json_parse, and actually call the usage() function. Eric Hawicz 2020-05-03 14:54:38 -04:00
  • ee90110f9b Merge pull request #590 from Xyene/fix-cpuid-segfault Eric Hawicz 2020-05-03 14:52:31 -04:00
  • 0e5bbcaa16 Fix segmentation fault in CPUID check Tudor Brindus 2020-05-01 22:24:20 -04:00
  • f9605e9072 Fix cmake-configure to accept "--prefix=<foo>" in addition to "--prefix <foo>" (see also Issue #591) Eric Haszlakiewicz 2020-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 Haszlakiewicz 2020-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 Haszlakiewicz 2020-04-26 04:02:36 +00:00
  • 00272292a7 The json_parse command line app doesn't build on Windows, disable it. Eric Haszlakiewicz 2020-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 Haszlakiewicz 2020-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 Haszlakiewicz 2020-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 Haszlakiewicz 2020-04-20 15:13:10 +00:00
  • fa6bc1e2d7 Issue #471: always create directories with mode 0755, regardless of umask. Eric Haszlakiewicz 2020-04-21 03:19:17 +00:00
  • 228881c8fc Issue #585: don't install config.h Eric Haszlakiewicz 2020-04-21 01:13:21 +00:00
  • 8b511c402b Issue #585: don't install config.h Eric Haszlakiewicz 2020-04-21 01:13:21 +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 Haszlakiewicz 2020-04-19 04:17:29 +00:00
  • 9fb258d110 Update the doc links to point at 0.14 Eric Haszlakiewicz 2020-04-19 04:03:15 +00:00
  • 9f2a8eab44 Add the 0.14 docs. Eric Haszlakiewicz 2020-04-19 03:59:16 +00:00
  • 2babb5b780 Update the master branch to version 0.0.14.99 Eric Haszlakiewicz 2020-04-19 03:57:08 +00:00
  • bae2f10c43 Generate docs for the 0.14 release. json-c-0.14-20200419 Eric Haszlakiewicz 2020-04-19 03:40:50 +00:00
  • 4824a38318 Bump version to 0.14 and shared library version to 5.0.0 Eric Haszlakiewicz 2020-04-19 03:40:37 +00:00
  • 31ab57ca8b Fill in the ChangeLog for the upcoming 0.14 release. Eric Haszlakiewicz 2020-04-19 01:31:48 +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 Haszlakiewicz 2020-04-19 01:28:24 +00:00
  • 4badbe9c20 Rewrite the issued_closed_for_* files so they display a bit nicer. Eric Haszlakiewicz 2020-04-18 03:22:52 +00:00
  • 0a95f98b8d Explicitly mark several things in json_tokener deprecated. Eric Haszlakiewicz 2020-04-18 02:42:46 +00:00
  • ecb9354bb1 Re-do clang-format. Eric Haszlakiewicz 2020-04-18 02:14:13 +00:00
  • 23ddcbd4da Make json_abort() internal to json_object.c Eric Haszlakiewicz 2020-04-18 02:05:37 +00:00
  • 5cc11289b4 Make json_tokener_validate_utf8() internal to json_tokener.c, and improve the docs a bit. Eric Haszlakiewicz 2020-04-18 02:02:06 +00:00
  • 4dc0f1718e Merge pull request #582 from dota17/list_closed_issue_pr Eric Haszlakiewicz 2020-04-17 13:32:17 -04:00
  • 4313465f25 update dota17 2020-04-17 09:40:24 +08:00
  • 8bdb420d0f manual adjustment dota17 2020-04-16 16:30:14 +08:00
  • 6bf6a9e248 add the list of issues& prs closed dota17 2020-04-16 16:15:04 +08:00
  • a9114392b4 Merge pull request #524 from dota17/addTestCase_obj_token Eric Haszlakiewicz 2020-04-15 23:35:21 -04:00
  • 04bb0fca73 Merge pull request #581 from Jehan/wip/Jehan/no-strict-prototypes-windows Eric Haszlakiewicz 2020-04-15 23:32:59 -04:00
  • b14363ae32 remove unsuitable case dota17 2020-04-15 20:06:12 +08:00
  • 8c33d1c3c9 CMakeLists: do not enforce strict prototypes on Windows. Jehan 2020-04-15 13:01:09 +02:00
  • 7fb8d56458 Merge pull request #580 from besser82/topic/besser82/fix_cmake_tests Eric Haszlakiewicz 2020-04-14 15:17:21 -04:00
  • 053eaa61d7 Fix CMake tests for enforced strict prototypes. Björn Esser 2020-04-14 20:42:32 +02:00
  • ab5425a6a6 Merge pull request #527 from dota17/arraylist_test Eric Haszlakiewicz 2020-04-14 10:28:16 -04:00
  • 511edb51a4 Merge pull request #579 from besser82/topic/besser82/strict-prototypes Eric Haszlakiewicz 2020-04-14 10:25:13 -04:00
  • 2876fcc137 clang-format two test_util_file.c and test_object_iterator.c dota17 2020-04-14 10:15:27 +08:00
  • 8096125618 Increased the test coverage of json_util.c from 76% to 90.3%. chenguoping 2020-01-03 10:17:05 +08:00
  • f56c5c1a60 Increased the test coverage of json_object_iterator.c from 0% to 100% chenguoping 2020-01-03 10:05:09 +08:00
  • 74bbe349c4 clang-format test1.c dota17 2020-04-14 09:20:51 +08:00
  • 110c60fcdd fix valgrind errors chenguoping 2020-01-03 16:56:43 +08:00
  • 76e1472808 testcase for array_list chenguoping 2020-01-02 19:30:00 +08:00
  • d0dc3489dc Enforce strict prototypes. Björn Esser 2020-04-13 11:29:52 +02:00
  • 4742a2ab1d Merge pull request #578 from besser82/topic/besser82/pkgconfig_install Eric Haszlakiewicz 2020-04-12 20:52:01 -04:00
  • 165e6f58fc CMake: Install pkgconfig file in proper location by default Björn Esser 2020-04-12 19:21:54 +02:00
  • 8269f90956 Merge pull request #577 from besser82/topic/besser82/json_c_version_test_verbose_on_fail Eric Haszlakiewicz 2020-04-11 22:35:40 -04:00
  • 5e699f7f73 Be verbose on failing json_c_version test. Björn Esser 2020-04-11 21:09:31 +02:00
  • c58d56ab7c Merge pull request #576 from besser82/topic/besser82/increase_coverage Eric Haszlakiewicz 2020-04-11 14:45:45 -04:00
  • d52f1ff2c1 Merge pull request #575 from besser82/topic/besser82/cosmetics Eric Haszlakiewicz 2020-04-11 14:18:37 -04:00
  • d47fb12e85 Test coverage for json_c_version. Björn Esser 2020-04-11 12:29:36 +02:00
  • 73a2ed115a Remove multiple trailing newlines at EOF. Björn Esser 2020-04-11 10:34:30 +02:00
  • fd0ae5aba6 gitignore: Add build folder. Björn Esser 2020-04-10 13:10:30 +02:00
  • 78cd37fb18 Clean trailing white-space. Björn Esser 2020-04-10 13:06:54 +02:00
  • 37355cf0e6 Fix line terminators to be UNIX. Björn Esser 2020-04-10 13:25:41 +02:00
  • 270dc2f999 Update README.md to remove autoconf instructions in favor of cmake. Eric Haszlakiewicz 2020-04-11 03:24:51 +00:00
  • 0734c5303d Merge pull request #572 from besser82/topic/besser82/cmake_fixes Eric Haszlakiewicz 2020-04-10 22:08:27 -04:00
  • 69ceb38f2f Merge pull request #573 from besser82/topic/besser82/coverage Chen 2020-04-11 09:31:43 +08:00
  • 0dac15c1ca Fix coveralls submission. Björn Esser 2020-04-10 15:08:09 +02:00
  • e756777c92 CMake: Check whether BSYMBOLIC is supported by the linker. Björn Esser 2020-04-10 14:42:03 +02:00
  • 58670ec64e CMake: Build Doxygen documentation out-of-tree. Björn Esser 2020-04-10 14:20:57 +02:00
  • a989651bd4 CMake: Fix appending of linker flags. Björn Esser 2020-04-10 14:15:52 +02:00
  • 61392c867f List the set of contributors since the 0.13 branch Eric Haszlakiewicz 2020-04-10 02:11:48 +00:00
  • 0a070ef312 Fix one more assert("!invalid cint_type") to use json_abort(...) instead. Eric Haszlakiewicz 2020-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 Haszlakiewicz 2020-04-09 20:58:28 +00:00
  • b64bdfe381 Remove autoconf files from .gitignore. Eric Haszlakiewicz 2020-04-09 02:55:21 +00:00
  • 0c60125211 Update the oss-fuzz build script to try to get it to work with cmake. Eric Haszlakiewicz 2020-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 Haszlakiewicz 2020-04-09 02:15:31 +00:00
  • 96ab2f6596 osx builds also need -DDISABLE_BSYMBOLIC=ON Eric Haszlakiewicz 2020-04-08 03:04:27 +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 Haszlakiewicz 2020-04-08 02:54:10 +00:00