60 Commits (a74f6b28671955c2472b1d68ee0b87b25aa12156)

Author SHA1 Message Date
  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 d4e81f9ec8 Move the json_min() and json_max() macros to json_util.h and mark everything else in bits.h deprecated. 11 years ago
  Petar Koretić 259c5c0b5f Remove unused variable 'size' 11 years ago
  Michael Clark 64e36901a0 Patch to address the following issues: 11 years ago
  Eric Haszlakiewicz f9136f6852 Make the json_tokener_errors array local. It has been deprecated for a while, and json_tokener_error_desc() should be used instead. 11 years ago
  Eric Haszlakiewicz 05da316b9c Issue #103: allow Infinity and -Infinity to be parsed. 11 years ago
  Markus Stenberg a1c8991e13 nan function requires -lm on some platforms; use of NAN is better, if available. 11 years ago
  Eric Haszlakiewicz 0eedf3802f Issue#102 - add support for parsing "NaN". 11 years ago
  Eric Haszlakiewicz 020fa65724 Merge pull request #112 from TazeTSchnitzel/LowercaseLiterals 11 years ago
  Eric Haszlakiewicz 56df93d128 Fix Issue #111: Fix off-by-one error when range checking the input to json_tokener_error_desc(). 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 ef43fe3571 Merge pull request #96 from rouault/remove_strdnup 12 years ago
  Eric Haszlakiewicz 02aa6f01f4 Merge pull request #94 from remicollet/issue-strict2 12 years ago
  Even Rouault 86dd55a74a Fix potential out-of-bounds read in json_tokener_error_desc 12 years ago
  Remi Collet 4039f91cab trailing char not allowed in strict mode 12 years ago
  Remi Collet 87fa32dfe0 no comment in strict mode 12 years ago
  Even Rouault 1a957c2edc Remove redefinition of strndup() which is no longer used in the codebase 12 years ago
  Remi Collet a07ef3d197 no single-quote string in strict mode 12 years ago
  Eric Haszlakiewicz d032aad1f4 Minor spell check. 12 years ago
  Remi Collet e9ee4ae18a in strick mode, number must not start with 0 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
  William Dignazio 32eddd66f5 Fix broken build by using ADVANCE_CHAR macro return. 12 years ago
  William Dignazio bb492d4d69 Rename misnomer POP_CHAR to PEEK_CHAR. 12 years ago
  Eric Haszlakiewicz 5b36a432c8 Merge branch 'remicollet-issue-float' 12 years ago
  Eric Haszlakiewicz ca8b27d183 Enable -Werror and fix a number of minor warnings that existed. 12 years ago
  Eric Haszlakiewicz 56166e2dff Merge pull request #51 from remicollet/issue-dyndepth 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
  Remi Collet 16a4a32e29 float parsing must be locale independent 13 years ago
  Remi Collet 197cb1d1c1 Make maximum recursion depth a runtime option 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
  Mateusz Loskot a6f39a3c0c Replaced #if HAVE_X with #ifdef HAVE_X as the former test is troublemaker with #define HAVE_X where #define HAVE_X 1|0 is meant. 13 years ago
  Eric Haszlakiewicz f931f61851 Fixed parsing numbers in E notation. ` 13 years ago
  Eric Haszlakiewicz d809fa60c5 Fix a bug in json_tokener_parse_ex when re-using the same tokener to parse multiple objects. Now, json_tokener_reset() does not need to be called after a valid object is parsed. 13 years ago
  Eric Haszlakiewicz 3620cba6d0 Perform better error checking in json_tokener_parse_verbose and rewrite json_tokener_parse to use that instead of json_tokener_parse_ex. 13 years ago
  Eric Haszlakiewicz 2f9091f559 Add json_tokener_get_error() and json_tokener_error_desc() to better encapsulate the process of retrieving errors while parsing. 13 years ago
  Frederik Deweerdt db050901fa json_tokener_parse(): avoid possible NULL deref 13 years ago
  Jehiah Czebotar a503ee8217 add json_tokener_parse_verbose, and return NULL on parser errors 15 years ago
  ehaszla 252669cee6 Simplify things by storing integer values only as int64_t's internally, and 15 years ago
  Michael Clark c4dceae1c5 * Add int64 support. Two new functions json_object_net_int64 and 15 years ago
  Brent Miller 126ad95fc4 * Add handling of surrogate pairs 16 years ago
  Michael Clark 7fb9b03ffd * Rename min and max so we can never clash with C or C++ std library 16 years ago
  Christopher Watford b1a22ac85f Add const qualifier to the json_tokener_parse functions 16 years ago
  Christopher Watford 543bb1431f Erik Hovland (3): 16 years ago
  Michael Clark 95f55a761c optimizations to json_tokener_parse_ex(), printbuf_memappend() 16 years ago
  Michael Clark aaec1ef3c5 * Don't use this as a variable, so we can compile with a C++ compiler 16 years ago
  Michael Clark 22dee7cb59 * Null pointer dereference fix. Fix json_object_get_boolean strlen test 16 years ago