Commit Graph

  • 52ddfb35f1 Fix memory leak in test_safe_json_pointer_set, the caller must free the passed value when json_pointer_set failed. Also, reformat. master Eric Hawicz 2026-02-19 19:05:10 -05:00
  • 8c987e0b73 Issue #919: Fix build on non-x86 windows. Patch thanks to @dotanbrk Eric Hawicz 2026-02-19 18:48:05 -05:00
  • d7f14cb330 Merge pull request #917 from thely314/fix/oom-too-large-index Eric Hawicz 2026-02-14 17:23:49 -05:00
  • c293d9b61c general callback, safer API & related tests lone 2026-02-09 14:01:38 +08:00
  • 8c01a7c32f Merge pull request #903 from neheb/1 Eric Hawicz 2026-02-08 17:08:04 -05:00
  • d61b41c8bb github CI: add Rosen Penev 2025-11-24 16:29:26 -08:00
  • 1d4885ad09 fix compilation with clang-cl Rosen Penev 2025-11-24 16:46:45 -08:00
  • 92a4911e88 meson: use static library for tests Rosen Penev 2026-02-05 13:30:45 -08:00
  • 798d8f7235 meson: add license information Rosen Penev 2025-11-23 14:56:56 -08:00
  • a0c6bb32dd meson: simplify __thread check and fix MinGW Rosen Penev 2025-11-23 14:50:55 -08:00
  • af2671a212 meson: use override_dependency Rosen Penev 2025-11-23 14:30:36 -08:00
  • 46defb4349 Merge pull request #915 from jaisonZheng/fix-macos-locale-memory-leak Eric Hawicz 2026-01-31 13:22:57 -05:00
  • bda8299eb1 fix: adapt to the early C std lone 2026-01-27 14:43:56 +08:00
  • 1c3b98ddb5 amend: removed marco related logic lone 2026-01-26 17:54:53 +08:00
  • 22e470ac5c Fix: try to make json_pointer_set_with_array_cb a public api lone 2026-01-26 17:33:00 +08:00
  • 3d86402028 Fix: OOM vulnerability cause by is_valid_index lone 2026-01-25 23:54:27 +08:00
  • 653a12c7c2 Fix memory leak on macOS by auto-enabling NEWLOCALE_NEEDS_FREELOCALE JaisonZheng 2026-01-21 17:28:20 +08:00
  • d05ea4851f Update ChangeLog, abi-check.sh, AUTHORS and issues_closed list for an upcoming 0.19 release. Eric Hawicz 2026-01-19 16:58:29 -05:00
  • 8948568031 Merge pull request #913 from mlocati-forks/dll-versioninfo Eric Hawicz 2026-01-18 15:25:29 -05:00
  • b01b5b701b Add VERSIONINFO to libjson-c.dll Michele Locati 2026-01-18 20:23:50 +01:00
  • 26fcd8d569 Merge pull request #910 from bhaible/support-msvc-with-autoconf Eric Hawicz 2026-01-09 23:18:40 -05:00
  • 9774826e79 Support MSVC in packages that use GNU Autoconf. Bruno Haible 2026-01-09 23:51:43 +01:00
  • 14c8e2e5ee Merge pull request #907 from travier/master-cmake4 Eric Hawicz 2025-12-29 23:42:24 -05:00
  • 05180c1fa3 Merge pull request #908 from travier/json-c-0.18-cmake4 json-c-0.18 Eric Hawicz 2025-12-29 23:41:49 -05:00
  • c86b729b83 tests/CMakeLists: Allow build with CMake 4 Timothée Ravier 2025-12-23 11:54:07 +01:00
  • e4b9dfba49 tests/CMakeLists: Allow build with CMake 4 Timothée Ravier 2025-12-23 11:52:07 +01:00
  • a1249bfda0 Merge pull request #905 from glance-/fix-typo Eric Hawicz 2025-12-01 06:37:11 -05:00
  • dc44b05961 Fix typo Anton Lundin 2025-12-01 11:37:59 +01:00
  • 20974e5f88 Merge pull request #904 from Lakshmi-Surekha/aix-getopt-dont-include Eric Hawicz 2025-11-29 11:40:00 -05:00
  • a7b34a299b apps: use CMake check for getopt.h Add CMake detection for getopt.h and update json_parse.c to include it only when HAVE_GETOPT_H is defined. Fixes AIX build failure. Lakshmi-Surekha 2025-11-27 07:19:22 -06:00
  • 243ed1a51c Merge pull request #900 from neheb/1 Eric Hawicz 2025-11-04 18:32:47 -05:00
  • f565798e2c meson: remove useless if Rosen Penev 2025-11-04 10:41:08 -08:00
  • 8c012da8a6 meson: add header to size_t check Rosen Penev 2025-11-04 10:38:54 -08:00
  • bd7355470e meson: replace target_machine with host_machine Rosen Penev 2025-11-04 10:12:42 -08:00
  • 40fe4d2b04 meson: use loops for checks Rosen Penev 2025-11-04 09:30:30 -08:00
  • 2c412d4593 Merge pull request #899 from Seagate/meson_support Eric Hawicz 2025-10-27 16:00:37 -04:00
  • 0883c24130 Merge branch 'json-c:master' into meson_support Tyler Erickson 2025-10-27 12:13:23 -06:00
  • fbdd4bed24 Merge pull request #898 from Seagate/fix_cmake_clangcl Eric Hawicz 2025-10-25 09:46:22 -04:00
  • 33f4cb9353 Merge pull request #895 from nim65s/patch-1 Eric Hawicz 2025-10-25 09:45:50 -04:00
  • a5bc36de26 Removing werror option as meson has a built-in option for this Tyler Erickson 2025-10-24 09:48:56 -06:00
  • 3723b182db bug: Fixing runtime issue with test_util_file.c in Windows Tyler Erickson 2025-10-20 12:10:57 -06:00
  • e3a33ae8ae make: Adding support for building json-c with meson Tyler Erickson 2025-10-20 12:08:01 -06:00
  • 461d9f90c4 bug: Fixing Cmake build when using clang-cl Tyler Erickson 2025-10-20 11:39:04 -06:00
  • 2372e9518e Merge pull request #893 from sffc/supplemental-code-point-bug Eric Hawicz 2025-08-07 09:46:47 -04:00
  • 8af05ab785 CMake: sync minimum version Guilhem Saurel 2025-08-06 22:09:34 +02:00
  • 7974657c56 Fix code and update tests Shane F. Carr 2025-07-30 17:40:56 -07:00
  • dbefb48948 Add tests with current behavior Shane F. Carr 2025-07-30 17:39:47 -07:00
  • c56fbb30f5 Merge pull request #888 from heitbaum/patch-1 Eric Hawicz 2025-07-08 21:06:25 -04:00
  • bf92456789 Make json_parse a bit more useful by adding -u (validate UTF8) and -P (specify arbitrary tokener parse flags), and read from stdin if no filename is provided. Eric Hawicz 2025-07-08 21:02:52 -04:00
  • 7cee5237dc Issue #867 - also disallow control characters in keys Eric Hawicz 2025-04-03 21:09:05 -04:00
  • 42864e12b0 Allow build with cmake 4.0.0 Rudi Heitbaum 2025-03-28 23:14:48 +11:00
  • 7bca694b47 Merge pull request #884 from careles/mingw_win64-WIN32_LEAN_AND_MEAN-redefined Eric Hawicz 2025-01-09 00:12:09 -05:00
  • 51bcdd0000 fix macro WIN32_LEAN_AND_MEAN redefined Careles 2025-01-06 10:56:53 +08:00
  • a304464807 Merge pull request #872 from GitMensch/patch-2 Eric Hawicz 2024-12-29 13:34:38 -05:00
  • 7b73916815 Merge pull request #847 from sacredbanana/amiga Eric Hawicz 2024-12-29 13:26:11 -05:00
  • ee83daa409 Merge pull request #882 from simonresch/handle-nan-to-int-conversion Eric Hawicz 2024-12-26 19:07:07 -05:00
  • ca1a6b0cc9 Add support for MorphOS Cameron Armstrong (Nightfox) 2024-08-31 03:57:46 +08:00
  • daff6eb746 Remove linking to libamiga and libc Cameron Armstrong (Nightfox) 2024-08-05 12:50:47 +08:00
  • 254b5abef8 Do not use duplocale if building for libnix because it isnt supported yet Cameron Armstrong (Nightfox) 2024-07-15 11:30:44 +08:00
  • d31d635af1 Clean up CMakeLists.txt and remove Amiga specific locale.h guard Cameron Armstrong (Nightfox) 2024-06-22 18:49:50 +08:00
  • 743ebf53e5 Fix Readme Cameron Armstrong (Nightfox) 2024-06-22 13:45:15 +08:00
  • f928e7c0fa Get working ror libnix and clib2 Cameron Armstrong 2023-12-28 07:53:32 +08:00
  • 4feebc1cd6 Add support for Commodore Amiga Cameron Armstrong 2023-12-23 19:47:38 +08:00
  • 961c31f8ed Merge pull request #879 from janotomko/null Eric Hawicz 2024-12-07 13:33:05 -05:00
  • 0c3588330a Set error codes for truncating int conversions Simon Resch 2024-11-26 20:42:29 +01:00
  • 8c13801f2c Explicitly handle NaN values when converting to int Simon Resch 2024-11-14 13:47:18 +01:00
  • c63d4a4194 Merge pull request #878 from 0xfadead/readme-fix-underline Eric Hawicz 2024-11-23 19:39:50 -05:00
  • 77bb5c54fc Merge pull request #883 from simonresch/add-oss-fuzz-tests Eric Hawicz 2024-11-23 19:39:13 -05:00
  • 839fbe0d63 Add fuzz tests for json_object/point/array apis Simon Resch 2024-11-08 22:20:40 -05:00
  • ff8ed0f094 Issue #881: don't allow json_tokener_new_ex() with a depth < 1 Eric Hawicz 2024-11-17 22:11:24 -05:00
  • 565f181f65 Fix issue #875: cast to unsigned char so bytes above 0x7f aren't interpreted as negative, which was causing the strict-mode control characters check to incorrectly trigger. Eric Hawicz 2024-11-08 22:20:40 -05:00
  • 828c12b226 Handle NULL gracefully in json_tokener_free Ján Tomko 2024-11-06 15:19:04 +01:00
  • 474ee12435 Fix the apps/json_parse "-s" (strict) option so it actually does something, and default to non-strict. Eric Hawicz 2024-11-03 19:44:21 -05:00
  • d6b973e047 Fix underline bug in README Awildidiot 2024-11-03 20:03:49 +01:00
  • 07148f33a1 Merge pull request #873 from esiaero/master Eric Hawicz 2024-10-10 20:55:18 -04:00
  • 2ec0b87b58 Correct year in changelog for 0.18 release Evan Si 2024-10-10 23:47:55 +00:00
  • 6aab3da807 fix linkhash breaking -std=c89 Simon Sobisch 2024-10-07 08:16:42 +00:00
  • c793374f16 Update openssl command to work for newer versions of openssl. Eric Hawicz 2024-09-15 13:16:48 -04:00
  • 49790dd1ab Update the doc links to point at 0.18 gh-pages Eric Haszlakiewicz 2024-09-15 17:09:26 +00:00
  • 22206e8a2b Add the 0.18 docs. Eric Haszlakiewicz 2024-09-15 17:07:58 +00:00
  • e9bd26d568 Update the master branch to version 0.18.99 Eric Hawicz 2024-09-15 13:06:06 -04:00
  • 41a55cfced Generate docs for the 0.18 release json-c-0.18-20240915 Eric Haszlakiewicz 2024-09-15 16:22:45 +00:00
  • afdca3ab5e Bump version to 0.18 Eric Haszlakiewicz 2024-09-15 16:17:32 +00:00
  • 7ebdc4ddf8 Update abi-check.sh to compare 0.16 and 0.18 Eric Haszlakiewicz 2024-09-15 16:10:57 +00:00
  • 87900c0a2e Fix the expected output for test_parse Eric Hawicz 2024-09-15 11:59:05 -04:00
  • e5ca4d3b3d Update ChangeLog, AUTHORS and issues_closed_for_0.18.md for an upcoming 0.18 release. Eric Hawicz 2024-09-15 11:46:56 -04:00
  • e3db88d114 Merge pull request #871 from json-c/disallow-control-chars Eric Hawicz 2024-09-15 11:22:58 -04:00
  • 6bfab90c87 Issue #867: disallow control characters in strict mode. disallow-control-chars Eric Hawicz 2024-09-02 09:43:04 -04:00
  • 7fb43410af Take 2 fixing the placement of json_tokener_error_memory in the enum. (json_tokener_error_size is an actual error, *not* a measure of the size of the enum!) json-c-0.17 Eric Hawicz 2023-09-22 22:26:21 -04:00
  • ecb7a4c9a3 Merge pull request #864 from pavelzw/patch-1 Eric Hawicz 2024-08-29 21:08:52 -04:00
  • 906d1581de Update CMakeLists.txt Pavel Zwerschke 2024-08-29 10:55:02 +02:00
  • 9b8d170d1f Build pkg-config for msvc as well Pavel Zwerschke 2024-06-18 00:11:13 +02:00
  • 6e481aa061 Merge pull request #861 from bhaible/handle-another-oom-condition Eric Hawicz 2024-05-05 09:49:26 -04:00
  • 781675758f Although CMAKE_C_COMPILER_FRONTEND_VARIANT is defined, it's not always set to some value. Fix builds for cases when it's blank. Eric Haszlakiewicz 2024-04-28 17:15:42 +00:00
  • 833233faa8 Handle yet another out-of-memory condition. Bruno Haible 2024-04-22 01:50:59 +02:00
  • 31a22fb2da Issue #857: fix a few places where json_tokener should have been returning json_tokener_error_memory but wasn't. Eric Hawicz 2024-04-21 10:37:16 -04:00
  • 0051f2dbe0 Merge pull request #858 from alurm/master Eric Hawicz 2024-04-16 11:23:09 -04:00
  • 0741ce3918 json_tokener.h: json_tokener_parse_verbose: fix typo Alan Urmancheev 2024-04-16 14:56:00 +00:00
  • e3464a2ab4 Issue #829: attempt to detect clang-cl.exe and pass MSVC-compatile command line arguments. Eric Hawicz 2024-03-29 22:40:45 -04:00
  • 61016412fb Issue #850: fill in & adjust the "@returns" docs for several functions. Eric Hawicz 2024-03-29 18:46:05 -04:00