210 Commits (7c722dca5f7d67ce81c5d3fa497a912f4e9cb08f)

Author SHA1 Message Date
Dave Gamble 70984d47e9 patch to optimise array/object printing. 10 years ago
Dave Gamble 575724a15f optimises for number/string print 10 years ago
Rafael Leal Dias a3eafd540d Fixed issue withh ansi (single-line comments) and updated Makefile for compiling dynamic and static lib. 10 years ago
Dave Gamble 28691956a6 fix \u parser 11 years ago
Dave Gamble c537515c17 inbuilt hex parser for unicode, which ought to be a lot faster. 11 years ago
Dave Gamble 73cc8dd1c4 cJSON_Minify (which strips comments), 11 years ago
Dave Gamble 2c9474e9e3 fix non-explicit cast 12 years ago
Dave Gamble 96c59f3e49 Wire in ParseWithOpts to allow detection of JSON with following garbage. 12 years ago
Dave Gamble d755436ba7 tests for cJSON_Duplicate, so it will fail by returning 0 if anything fails to allocate 12 years ago
Dave Gamble 927aa631b8 Added cJSON_Duplicate. With commentary 12 years ago
Dave Gamble a7fe08778f bracket logic (to quiet a warning). 12 years ago
Dave Gamble 8c60f99c72 fix handling of utf16 surrogate pairs! 12 years ago
Dave Gamble 8aa084918f Revert last patch. Simpler fix for empty arrays/objects is to handle them explicitly and then bail. 12 years ago
Dave Gamble 3ddf3a5911 stable solution for printing arrays - based on patch donated by Jerome Lang. 12 years ago
Dave Gamble 4678f33b5c Fix up ANSI issues. 12 years ago
Dave Gamble fd1ac4f179 make parse_number more robust! 13 years ago
Dave Gamble 0d268cfef7 Update to cJSON! We now support UTF-16 surrogate pairs :) 13 years ago
Kevin Branigan fc0df31a18 init commit 13 years ago
Dave Gamble 9061b7a7e7 Fix c99 violation! 14 years ago
Dave Gamble 15dada46b5 Fix missing cast for compilation as c++!! 14 years ago
Dave Gamble 6a58ba5285 Include some analysis so that you can debug a failed parse. 14 years ago
Dave Gamble b5d57642c2 Handle control-chars. 14 years ago
Dave Gamble b5d2db4d9a print_object was calling free() rather than cJSON_free() under failure conditions! 14 years ago
Dave Gamble 6f51f007a9 cJSON_Parse("") should return 0. 14 years ago
Dave Gamble 02d86ef778 Update to permit compilation with gcc -ansi flag 14 years ago
Dave Gamble de7afcc458 change firstByteMark to unsigned to prevent constant overflow warning 15 years ago
Dave Gamble 149d013543 Wrong order for variable declaration. 15 years ago
Dave Gamble 6711153d41 CreateBool, because it's useful ;) 15 years ago
Dave Gamble 3fb3989bb1 All memory allocations are now checked, and should fail gracefully in a low memory environment. 15 years ago
Dave Gamble 7dd9280267 Fix handling of non-ascii characters! 15 years ago
Dave Gamble d9840479f5 Include ctype.h for tolower() 15 years ago
Dave Gamble ee4ce32ea8 make strcasecmp STABLE if passed a null string 15 years ago
Dave Gamble 6420cfe7c4 solve the stricmp/strcasecmp in a dumb way for good. 15 years ago
Dave Gamble efe33fabbb ID: 2907153 15 years ago
Dave Gamble 37963a72b9 Don't crash if someone calls cJSON_Print(0); 15 years ago
Dave Gamble 091c0676c1 return 0! 15 years ago
Dave Gamble 341bb3c640 oops! remember to kill dead pointers on Detach!! 15 years ago
Dave Gamble 79a796aed2 Detatch and Remove objects from Arrays/Objects. 15 years ago
Dave Gamble 29b085bc5d Feature Request: 2903802. 15 years ago
Dave Gamble c4e8954eb2 Feature request: 2903779. 15 years ago
Dave Gamble 501ff3b3d0 if it's a big number, but still an integer, print it exactly! 15 years ago
Dave Gamble 0dbe29ffe8 fix bug 2895595 from jshvrsn whereby values outside of INT_MIN/INT_MAX range are printed incorrectly as ints. 15 years ago
Dave Gamble 991b577247 fix the ReplaceObject functions; tighten them up, add some more checks for stability. 15 years ago
Dave Gamble b3bd706f8f prototype versions of ReplaceObject. 15 years ago
Dave Gamble 5cca4e2c57 simplify the rendering code so there's no 'realloc' going on. 15 years ago
Dave Gamble 37da1d2493 Fix for printing values that contain % literals. Thanks to Jimmy Tam! 15 years ago
Dave Gamble 7ca2c994a7 incorporate hooks feature from bug 2883206 15 years ago
Dave Gamble c052999a71 fix bug: 2885206, whereby memory would leak in print_object if print_value failed. 15 years ago
Dave Gamble 75e1702659 fix bug: 2859459 (crash when printing JSON) 15 years ago
Dave Gamble e5fe65f58a ...try that again... better WINDOWS/WIN32/__WIN32__ (for Borland C) sentinelling 15 years ago