19 Commits (85f57859fd2ba20c7366f00e1fbaf94c4b264010)

Author SHA1 Message Date
  Eric Haszlakiewicz fd9b3b2260 Issue #332: fix a long-standing bug in array_list_put_idx() where it would attempt to free previously free'd entries due to not checking the current array length. 8 years ago
  Eric Haszlakiewicz 3948fcad2d Issue #300: Cast size_t values to int instead of unsigned long long to work around broken behavior of MinGW. 8 years ago
  Eric Haszlakiewicz 75825a9f01 Use strdup instead of strndup in test1.c, there's no need for the latter because json_object_to_json_string_length() will always return a properly sized string. 8 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
  José Bollo 1fceb2207a test: add test of 'json_object_to_json_string_length' 9 years ago
  Matthias Schiffer d13cfe10f6
tests/tests1: fix printf format for size_t arguments 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
  chenha0 dffdee966f Fix issue #221: JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly 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
  Michael Vetter fcf5ad1bd6 Remove trailing whitespace 11 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 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
  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 1e89ba68af Create a tests subdirectory and move one of the test to there. 13 years ago