250 Commits (json-c-0.18-20240915)

Author SHA1 Message Date
  Eric Haszlakiewicz 996be85843 Fix a few places that needed adjustment for the size_t changes, including updating the range checks to use a calculated SIZE_T_MAX. 9 years ago
  Eric Haszlakiewicz 3345b25962 Add tests for the json_object_array_del_idx() function. 9 years ago
  Eric Haszlakiewicz 4e0c8b55fb Merge pull request #220 from hschaa/master 9 years ago
  chenha0 dffdee966f Fix issue #221: JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly 9 years ago
  Helmut Schaa dec5fcd50b Add some basic tests for verifying json_object_equal behavior 9 years ago
  Eric Haszlakiewicz 316da85818 Fix issue #201: add a JSON_C_TO_STRING_NOSLASHESCAPE flag to turn off escaping of forward slashes. 9 years ago
  Eric Haszlakiewicz 80c1f69b9e Use AX_APPEND_COMPILE_FLAGS() to check the various compile flags, such as -Wall, to ensure the compile supports. 10 years ago
  Eric Haszlakiewicz d4f8f92eb0 Squash deprecated function warning by replacing json_object_object_get calls with json_object_object_get_ex in test_cast. 10 years ago
  Eric Haszlakiewicz 68d856f618 Merge pull request #168 from bugness-chl/master 10 years ago
  chl 99d8fc975e Tightening the number parsing algorithm 10 years ago
  Michael Vetter fcf5ad1bd6 Remove trailing whitespace 11 years ago
  Eric Haszlakiewicz 936d036ea3 Simplify the tests Makefile to avoid repeating the name of each test. 11 years ago
  Eric Haszlakiewicz e2bbb5664c Rename the "test_case" test to "test_charcase" to make it slightly less confusing. 11 years ago
  Eric Haszlakiewicz 05da316b9c Issue #103: allow Infinity and -Infinity to be parsed. 11 years ago
  Eric Haszlakiewicz 0eedf3802f Issue#102 - add support for parsing "NaN". 11 years ago
  Andrea Faulds cf23e7506e Merge branch 'master' into LowercaseLiterals 11 years ago
  Andrea Faulds 1d6f9140ba Missing tests 11 years ago
  Andrea Faulds bda0540cb9 Only allow lowercase literals in STRICT mode 12 years ago
  Eric Haszlakiewicz 51993c28c2 Added a json_object_new_double_s() convenience function to allow an exact string representation of a double to be specified when creating the object and use it in json_tokener_parse_ex() so a re-serialized object more exactly matches the input. 12 years ago
  Eric Haszlakiewicz e8161a11bb Issue #15: add a way to set a JSON_TOKENER_STRICT flag to forbid commas at the end of arrays and objects. 12 years ago
  Eric Haszlakiewicz 94aeed2ecd Include the test_locale test in the tests that run. 12 years ago
  Eric Haszlakiewicz 5b36a432c8 Merge branch 'remicollet-issue-float' 12 years ago
  Eric Haszlakiewicz 9b64c05ff9 Mark the "val" variable in json_object_object_foreach as unused so the compiler doesn't complain. Fix warnings in the testReplaceExisting test. 12 years ago
  Eric Haszlakiewicz ca8b27d183 Enable -Werror and fix a number of minor warnings that existed. 12 years ago
  Iskren Chernev 78b089bc1e Fixed test_parse for \f 12 years ago
  Eric Haszlakiewicz 2e9fef38c2 Revert the test_null test back to emitted to stdout, and update the expected output to match. 12 years ago
  Alexander Klauer 57f36ed32a Write additional test info to stderr instead of stdout so as not to mar the expected output 12 years ago
  Alexander Klauer 827a4a97b9 Fixed memory leak in testReplaceExisting 12 years ago
  Alexander Klauer b1d61d10e1 Library is now called libjson-c 12 years ago
  Remi Collet 32d149c8f6 probably worth an option for this 12 years ago
  Remi Collet a01b659ace move locale change to be global for perf 12 years ago
  Eric Haszlakiewicz 4e4af93d66 Fix issue #53 - ensure explicit length string are still NUL terminated, and fix json_tokener_parse() to work properly with embedded unicode \u0000 values in strings. 12 years ago
  Eric Haszlakiewicz aec876357c Add a missing json_object_get() so we don't try to use a freed object in test1. 13 years ago
  Eric Haszlakiewicz 447b88a115 Fix a memory leak in the test_printbuf test. 13 years ago
  Eric Haszlakiewicz f6b27cbb6c Make it safe to delete keys while iterating with the json_object_object_foreach macro. 13 years ago
  Eric Haszlakiewicz c3d1d597ab Fix a memory leak in test1 with respect to how json_object_object_del was used. 13 years ago
  Eric Haszlakiewicz c3068bfd09 Reformat the test sources. No functional change. 13 years ago
  Eric Haszlakiewicz 4b1a0668a8 Update the set_serializer test to match the actual output. 13 years ago
  Eric Haszlakiewicz 38f421a2e7 Add a json_set_serializer() function to allow the string output of a json_object to be customized. 13 years ago
  Eric Haszlakiewicz 92f31bd99a Handle the \f escape sequence (the two characters: backslash followed by an f, not a literal formfeed) and extend the test_parse test to check all valid escape sequences. 13 years ago
  Eric Haszlakiewicz 77c6239465 Initialize errno before calling sscanf in json_parse_int64() so parsing valid numbers after parsing an out of range number works. 13 years ago
  Eric Haszlakiewicz 6988f53fcb Rewrite json_object_object_add to replace just the value if the key already exists so keys remain valid. 13 years ago
  Mateusz Loskot 984303dfe5 Added a bunch of missing HAVE_* defines tested with ./configure script to fix compilation on Linux with GCC 4.7.1. The issue likely caused by my previous commits related to Visual C++ port of the code. 13 years ago
  Mateusz Loskot 271c53ebdd Missing explicit casts from void* to specific pointers required. Added #define strcasecmp for Visual C++. 13 years ago
  Eric Haszlakiewicz 4c7f38eb9b Extend test1 and test2 to run using json_object_to_json_string_ext() based on an additional command line parameter. 13 years ago
  Eric Haszlakiewicz 3d8817978c Actually save the expected output for the test_printbuf test so it passes. 13 years ago
  Eric Haszlakiewicz e5c1e87f05 Add a test for the printbuf functions. 13 years ago
  Eric Haszlakiewicz b80772a0f5 Use a different variable when referring to the json.la file, since the original lib_LTLIBRARIES means something special to automake. 13 years ago
  Eric Haszlakiewicz c1b8891a13 Move the rest of the tests into the tests subdirectory. 13 years ago
  Eric Haszlakiewicz 1e89ba68af Create a tests subdirectory and move one of the test to there. 13 years ago