22 Commits (870965e1eaa956324f7ed0825fd29ef584c20bc8)

Author SHA1 Message Date
  Eric Haszlakiewicz 6068d3f6d1 Change the strerror_override handling to check $_JSON_C_STRERROR_OVERRIDE instead of using a variable, so we don't need to export it. 5 years ago
  David McCann add7b13a9a Improved support for IBM operating systems 5 years ago
  dota17 b14363ae32 remove unsuitable case 5 years ago
  dota17 2876fcc137 clang-format two test_util_file.c and test_object_iterator.c 5 years ago
  chenguoping 8096125618 Increased the test coverage of json_util.c from 76% to 90.3%. 5 years ago
  Björn Esser 5e699f7f73
Be verbose on failing json_c_version test. 5 years ago
  Björn Esser d47fb12e85
Test coverage for json_c_version. 5 years ago
  dota17 8b162c4b89 clang-format the files 5 years ago
  Eric Haszlakiewicz 41f434e89f Fix test_util_file for VS2013 too, but skip all the tests for anything older than that because the limitations are too inconvenient. 5 years ago
  Eric Haszlakiewicz b99be9cf4e Fix up the test_util_file test for builds on Windows VS2015. 5 years ago
  Eric Haszlakiewicz 7f30afc6e5 Fix some Windows compile issues, add JSON_EXPORT's, fix bogus character escapes, define __func__ and omit unistd.h if needed. 5 years ago
  Eric Haszlakiewicz baed9983b3 Add a json_object_from_fd_ex() function, to allow the max nesting depth to be specified. 5 years ago
  Eric Haszlakiewicz fcad0ec015 PR #336: since we can't use function overriding (due to problems with it on 8 years ago
  Alexandru Ardelean fb72160caf build: make `strerror()` override-able 8 years ago
  Alexandru Ardelean 7b9432d564 tests: fix leak in `test_util_file` ; found by cppcheck 8 years ago
  Eric Haszlakiewicz e8e574fbe4 Issue #161: add a json_object_to_fd() function. 8 years ago
  Eric Haszlakiewicz 9a64fd7d55 Issue #300: Use %p instead of %lx in test_util_file since some platforms' pointers are larger than "unsigned long". 8 years ago
  Eric Haszlakiewicz 0fcf1d1ae7 Fix memory leak and inconsistent output (due to varying fd numbers) in test_util_file. 9 years ago
  Nicola Spanti (RyDroid) 8215c0ac0e Very minor changes to some tests 9 years ago
  Eric Haszlakiewicz 7d637362b7 Linux's %p format doesn't return "0x0" for NULL pointers, so switch to using %lx for consistency. 9 years ago
  Eric Haszlakiewicz 2b255d0ebf Fix absolute paths in test_util_file that vary depending on where it is run. 9 years ago
  Eric Haszlakiewicz 29ef73f21d Issue #189: Eliminate use of MC_ERROR from json_util.c, and add a json_util_get_last_err() function to retrieve the error for those callers that care about it. 9 years ago