222 Commits (2d2382d709951c4941ad6ce5e58e5e63c79be786)

Author SHA1 Message Date
  Stoian Ivanov 9a313f767f gitignore test; add double value set checks in test 9 years ago
  Stoian Ivanov 6a0667567d some simple tests 9 years ago
  Eric Haszlakiewicz 36a28fcb0c Issue #275: fix out of bounds read when handling unicode surrogate pairs. 9 years ago
  Eric Haszlakiewicz 0fcf1d1ae7 Fix memory leak and inconsistent output (due to varying fd numbers) in test_util_file. 9 years ago
  Eric Haszlakiewicz 5fccfed4f4 Issue #260: add a check to prevent trivial loops in the object tree, even though it is up to the callers to avoid doing so in more complex cases. 9 years ago
  Eric Haszlakiewicz 61cd433131 Merge branch 'tests' of https://github.com/RyDroid/json-c into RyDroid-tests 9 years ago
  Nicola Spanti (RyDroid) 8215c0ac0e Very minor changes to some tests 9 years ago
  Eric Haszlakiewicz f3db59d990 Merge branch 'issue-165' of https://github.com/jobol/json-c into jobol-issue-165 9 years ago
  Nicola Spanti (RyDroid) 36b4003118 Adding a test with cppcheck for Travis CI 9 years ago
  Eric Haszlakiewicz 9688f343a5 Issue #246: Include xlocale.h too, to get locale_t defined, since not all OSes include that in locale.h 9 years ago
  José Bollo 1fceb2207a test: add test of 'json_object_to_json_string_length' 9 years ago
  Eric Haszlakiewicz fa76e4a8c9 Issue #195: Actually call uselocale() in the new locale handling code in json_tokener. 9 years ago
  Eric Haszlakiewicz 4091b9c87e Issue #195: use uselocale() instead of setlocale() in json_tokener to behave better in threaded environments. 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 deb9fa482d Issue #240: add arbitrary use of val's in foreach loops to squash warnings about unused variables. 9 years ago
  José Bollo 54ae254537 Fix a compiling error 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 1071385896 Issue #113: add "new" files to appropriate variables in Makefile, and note the need to run "make distcheck" as part of the release process. 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
  Eric Haszlakiewicz 595891729e Issue #236: Add -Wcast-qual and fix casts to retain constness. 9 years ago
  Matthias Schiffer d13cfe10f6
tests/tests1: fix printf format for size_t arguments 9 years ago
  Matthias Schiffer c2b004ba0e
Make default double serializer ignore userdata again 9 years ago
  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