Commit History

Autor SHA1 Mensaxe Data
  Dave Gamble 3c6b3cc617 start of JSON Patch implementation. cJSON gained a cJSON_InsertItemToArray which pushes elements up by one. %!s(int64=10) %!d(string=hai) anos
  Dave Gamble 2abfb716d1 fix formatting. %!s(int64=10) %!d(string=hai) anos
  Dave Gamble d9fc81e6c8 Added buffered printing methods for faster printing. %!s(int64=10) %!d(string=hai) anos
  Dave Gamble 70984d47e9 patch to optimise array/object printing. %!s(int64=10) %!d(string=hai) anos
  Dave Gamble 575724a15f optimises for number/string print %!s(int64=10) %!d(string=hai) anos
  Dave Gamble 28691956a6 fix \u parser %!s(int64=12) %!d(string=hai) anos
  Dave Gamble c537515c17 inbuilt hex parser for unicode, which ought to be a lot faster. %!s(int64=12) %!d(string=hai) anos
  Dave Gamble 73cc8dd1c4 cJSON_Minify (which strips comments), %!s(int64=12) %!d(string=hai) anos
  Dave Gamble 2c9474e9e3 fix non-explicit cast %!s(int64=12) %!d(string=hai) anos
  Dave Gamble 96c59f3e49 Wire in ParseWithOpts to allow detection of JSON with following garbage. %!s(int64=12) %!d(string=hai) anos
  Dave Gamble d755436ba7 tests for cJSON_Duplicate, so it will fail by returning 0 if anything fails to allocate %!s(int64=12) %!d(string=hai) anos
  Dave Gamble 927aa631b8 Added cJSON_Duplicate. With commentary %!s(int64=12) %!d(string=hai) anos
  Dave Gamble a7fe08778f bracket logic (to quiet a warning). %!s(int64=12) %!d(string=hai) anos
  Dave Gamble 8c60f99c72 fix handling of utf16 surrogate pairs! %!s(int64=12) %!d(string=hai) anos
  Dave Gamble 8aa084918f Revert last patch. Simpler fix for empty arrays/objects is to handle them explicitly and then bail. %!s(int64=12) %!d(string=hai) anos
  Dave Gamble 3ddf3a5911 stable solution for printing arrays - based on patch donated by Jerome Lang. %!s(int64=12) %!d(string=hai) anos
  Dave Gamble 4678f33b5c Fix up ANSI issues. %!s(int64=12) %!d(string=hai) anos
  Dave Gamble fd1ac4f179 make parse_number more robust! %!s(int64=13) %!d(string=hai) anos
  Dave Gamble 0d268cfef7 Update to cJSON! We now support UTF-16 surrogate pairs :) %!s(int64=13) %!d(string=hai) anos
  Dave Gamble 9061b7a7e7 Fix c99 violation! %!s(int64=14) %!d(string=hai) anos
  Dave Gamble 15dada46b5 Fix missing cast for compilation as c++!! %!s(int64=14) %!d(string=hai) anos
  Dave Gamble 6a58ba5285 Include some analysis so that you can debug a failed parse. %!s(int64=14) %!d(string=hai) anos
  Dave Gamble b5d57642c2 Handle control-chars. %!s(int64=14) %!d(string=hai) anos
  Dave Gamble b5d2db4d9a print_object was calling free() rather than cJSON_free() under failure conditions! %!s(int64=14) %!d(string=hai) anos
  Dave Gamble 6f51f007a9 cJSON_Parse("") should return 0. %!s(int64=14) %!d(string=hai) anos
  Dave Gamble 02d86ef778 Update to permit compilation with gcc -ansi flag %!s(int64=14) %!d(string=hai) anos
  Dave Gamble de7afcc458 change firstByteMark to unsigned to prevent constant overflow warning %!s(int64=15) %!d(string=hai) anos
  Dave Gamble 149d013543 Wrong order for variable declaration. %!s(int64=15) %!d(string=hai) anos
  Dave Gamble 6711153d41 CreateBool, because it's useful ;) %!s(int64=15) %!d(string=hai) anos
  Dave Gamble 3fb3989bb1 All memory allocations are now checked, and should fail gracefully in a low memory environment. %!s(int64=15) %!d(string=hai) anos