Commit Graph

  • af44d57007 reformatting: cJSON_GetObjectItem Max Bruckner 2016-09-30 10:35:48 +07:00
  • 05c2dc3c2f reformatting: cJSON_GetArrayItem Max Bruckner 2016-09-30 10:35:14 +07:00
  • 4fdb6499f0 reformatting: cJSON_GetArraySize Max Bruckner 2016-09-30 10:34:47 +07:00
  • 31e53a1297 reformatting: print_object Max Bruckner 2016-09-30 09:29:03 +07:00
  • 25632fad13 reformatting: parse_object Max Bruckner 2016-09-29 00:36:12 +07:00
  • 782770c6ba reformatting: print_array Max Bruckner 2016-09-28 22:07:47 +07:00
  • ad711e6fab reformatting: parse_array Max Bruckner 2016-09-28 22:07:06 +07:00
  • a9f752e034 reformatting: print_value: 255 -> 0xFF Max Bruckner 2016-09-28 20:52:41 +07:00
  • de4dc19e72 reformatting: print_value Max Bruckner 2016-09-28 20:50:57 +07:00
  • c5f635d24a reformatting: parse_value Max Bruckner 2016-09-28 20:44:59 +07:00
  • 9b7eb6a46d reformatting: cJSON_PrintBuffered Max Bruckner 2016-09-28 20:43:46 +07:00
  • ec46581b68 reformatting: cJSON_PrintUnformatted Max Bruckner 2016-09-28 20:43:05 +07:00
  • 1748902d3c reformatting: cJSON_Print Max Bruckner 2016-09-28 20:42:46 +07:00
  • f36d9c9ef2 reformatting: cJSON_Parse Max Bruckner 2016-09-28 20:42:25 +07:00
  • e809022349 reformatting: cJSON_ParseWithOpts Max Bruckner 2016-09-28 20:42:09 +07:00
  • f1dd51bfb5 reformatting: skip Max Bruckner 2016-09-28 20:41:24 +07:00
  • d42febea50 reformatting: Predeclared print prototypes Max Bruckner 2016-09-28 20:41:07 +07:00
  • 7423692586 reformatting: print_string Max Bruckner 2016-09-28 20:40:45 +07:00
  • c71cd6cc1c reformatting: print_string_ptr Max Bruckner 2016-09-28 23:17:34 +07:00
  • c88d045888 reformatting: parse_string Max Bruckner 2016-09-28 01:34:47 +07:00
  • 2e2dc873b2 reformatting: firstByteMark Max Bruckner 2016-09-28 01:32:09 +07:00
  • e10f2bf08d reformatting: parse_hex4 Max Bruckner 2016-09-27 23:47:58 +07:00
  • 67845e3dc6 reformatting: print_number Max Bruckner 2016-09-27 23:47:13 +07:00
  • 282006d918 reformatting: update Max Bruckner 2016-09-27 23:46:39 +07:00
  • 7f9a2691bf reformatting: ensure Max Bruckner 2016-09-27 23:46:22 +07:00
  • b53ce73709 reformatting: printbuffer Max Bruckner 2016-09-27 23:45:52 +07:00
  • d5bd497636 reformatting: pow2gt Max Bruckner 2016-09-27 23:44:47 +07:00
  • 88cbe57ba4 reformatting: parse_number Max Bruckner 2016-09-27 23:44:13 +07:00
  • 46cfa68a2b reformatting: cJSON_Delete Max Bruckner 2016-09-27 23:42:50 +07:00
  • 55488f66f6 reformatting: cJSON_New_Item Max Bruckner 2016-09-27 23:40:16 +07:00
  • 8db7e6d320 reformatting: cJSON_InitHooks Max Bruckner 2016-09-27 23:39:54 +07:00
  • 18081c03c4 reformatting: cJSON_strdup Max Bruckner 2016-09-27 23:39:22 +07:00
  • 542ed727d7 reformatting: cJSON_strcasecmp Max Bruckner 2016-09-27 23:38:41 +07:00
  • c42b774f9f reformatting: cJSON_GetErrorPtr Max Bruckner 2016-09-27 23:38:05 +07:00
  • 94df772485 fix buffer overflow (#30) Max Bruckner 2016-10-02 18:56:53 +07:00
  • 3a7bd6924a Utility function to generate the patch between two objects. Dave Gamble 2016-05-29 18:16:19 +01:00
  • e79fa9472b cJSONUtils_MergePatch with tests from the RFC. Dave Gamble 2016-05-29 17:39:54 +01:00
  • 2fe50bd557 get rid of isnormal test!! Dave Gamble 2016-05-29 16:19:05 +01:00
  • 4488c2b5ad Merge pull request #4 from irwand/fix_division_by_zero_test Dave Gamble 2016-05-29 16:09:06 +01:00
  • 87f55416c1 we can safely remove this, since the initial d==0 case catches this. Dave Gamble 2016-05-29 16:01:06 +01:00
  • c15e09d2a6 and again. Dave Gamble 2016-05-29 15:42:34 +01:00
  • 12d7ccf63b fix typo. Dave Gamble 2016-05-29 15:40:47 +01:00
  • 224c2a8485 Fix compiler error when it encountered 1.0/0.0. It does not want to deal with division by 0. Tricked the compiler to use volatile local variable zero instead, so it does not know for sure whether or not it's going to be zero. Irwan Djajadi 2016-04-22 14:27:20 -05:00
  • e6b352d126 tidy up some code that was added a while back. Dave Gamble 2016-03-20 00:21:19 +00:00
  • b4151361de Allow for global/local error pointers. If you supply a return_parse_end to cJSON_ParseWithOpts, then that will store the error pointer (if parsing fails). Dave Gamble 2016-03-19 18:41:44 +00:00
  • c6d868cf06 add this to .gitignore Dave Gamble 2016-03-19 18:26:57 +00:00
  • fe967cd1ff extra checking for memory allocation failure. Dave Gamble 2016-03-19 11:27:41 +00:00
  • ee579ecbd6 Integrate patch for handling broken unicode surrogate pairs, with thanks to kolman and Irwan Djajadi on SourceForge. Dave Gamble 2016-03-19 11:19:24 +00:00
  • a6a75645e4 Merge pull request #26 from nagamalli9999/master Kevin Branigan 2016-03-06 20:10:15 +00:00
  • dbf16a0eb8 Merge pull request #31 from ChristianSch/master Kevin Branigan 2016-03-06 20:09:02 +00:00
  • 52d7d14f6c fixed segfault when the lib tries to parse HTML with embedded CSS; provided test case Christian Schulze 2016-03-06 16:43:53 +01:00
  • e70366a65a Merge pull request #29 from schmidtw/master Kevin Branigan 2016-02-16 17:33:32 +00:00
  • a5c60cd223 Improve the locations so the destination is correct as well as the include path. Weston Schmidt 2016-02-15 06:36:21 -08:00
  • 2cac21e156 Add install targets. Weston Schmidt 2016-02-15 06:21:48 -08:00
  • 53b7e74c9c Merge pull request #27 from nagamalli9999/makefile-uninstall Kevin Branigan 2016-02-11 13:09:29 -05:00
  • 5daac864a3 Added uninstall rule to Makefile Eswar Yaganti 2016-02-11 18:26:54 +05:30
  • 8d94ecec75 Merge branch 'master' of https://github.com/nagamalli9999/cJSON Eswar Yaganti 2016-02-10 10:01:03 +05:30
  • ce546b54d8 Changed the #define values of cJSON* data types Eswar Yaganti 2016-02-09 22:52:10 +05:30
  • 51371c899e Changed the #define values of cJSON* data types Eswar Yaganti 2016-02-09 22:52:10 +05:30
  • e95313adad Merge pull request #24 from FSMaxB/fix_code_order Kevin Branigan 2015-10-25 23:48:38 -04:00
  • 8222e9b8c4 Fix printing of empty string pointers Max Bruckner 2015-10-26 03:08:47 +01:00
  • d4906be4f0 Merge pull request #23 from FSMaxB/format_fix Kevin Branigan 2015-10-25 22:02:33 -04:00
  • 9cc37a2844 Fix format problem with empty objects Max Bruckner 2015-10-26 02:43:44 +01:00
  • 361b9a58cb Merge pull request #19 from FSMaxB/fix_boolean Kevin Branigan 2015-10-18 17:03:47 -04:00
  • 99c46e7661 Merge pull request #20 from FSMaxB/fix_memory_leaks Kevin Branigan 2015-10-18 17:03:25 -04:00
  • c7241f5314 Merge pull request #22 from FSMaxB/unreachable_line Kevin Branigan 2015-10-18 17:03:03 -04:00
  • 7c25dc9135 Remove line that will never be executed Max Bruckner 2015-10-16 14:59:12 +02:00
  • 58bc383b28 fix memory leaks Max Bruckner 2015-10-14 02:43:18 +02:00
  • ec71726ef8 fix boolean expression Max Bruckner 2015-10-13 20:33:37 +02:00
  • 1a20eb8494 Fixed linux compile to support fpclassify (issue #18) Kevin Branigan 2015-10-05 13:46:14 -04:00
  • 8865d869db cJSON_HasObjectItem didn’t compile Kevin Branigan 2015-10-01 12:03:27 -04:00
  • 322e440e78 Merge pull request #16 from npi3pak/patch-1 Kevin Branigan 2015-10-01 11:38:53 -04:00
  • 11fb0d0215 Merge pull request #15 from dieyushi/master Kevin Branigan 2015-10-01 11:38:33 -04:00
  • 1e1de63244 Merge pull request #13 from rmeertens/master Kevin Branigan 2015-10-01 11:37:44 -04:00
  • 11b8c97f41 Merge pull request #17 from Scypho/master Kevin Branigan 2015-10-01 11:36:19 -04:00
  • e4b96fa820 Handle invalid numbers Linus Wallgren 2015-10-01 17:18:29 +02:00
  • 0b807e21a4 README.md: fixed formatting IvanVoid 2015-09-25 19:14:39 +03:00
  • 0da343068e add new macro for iterating over an array root 2015-09-16 21:28:01 +08:00
  • b175877d8b +usefull function Roland Meertens 2015-09-15 02:40:27 +02:00
  • affedd65ba Merge pull request #11 from etodd/win-math-lib-fix Kevin Branigan 2015-08-20 12:35:07 -04:00
  • ebd06067a4 Remove "m" library dependency on Windows. Evan Todd 2015-08-19 23:03:08 -04:00
  • a819694712 Merge pull request #10 from ajaybhargav/master Kevin Branigan 2015-08-12 11:10:06 -04:00
  • acff70b22d Update gitignore to avoid tracking unwanted files Ajay Bhargav 2015-08-12 12:53:33 +05:30
  • f86b9bdfcf Merge pull request #9 from anton-sergeev/master Kevin Branigan 2015-07-27 21:33:42 -04:00
  • 956129116f Support cJSON_Utils library in CMakeLists.txt Anton Sergeev 2015-07-28 03:33:17 +06:00
  • 74793934ad Merge latest upstream code (r73) into github fork. Anton Sergeev 2015-07-28 03:48:06 +06:00
  • 2bd1e80f6c Merge pull request #8 from anton-sergeev/master Kevin Branigan 2015-07-15 10:34:08 -04:00
  • 262189428e Add CMakeLists.txt Anton Sergeev 2015-07-15 14:01:46 +06:00
  • 7632993ebe Merge pull request #7 from DongwenHuang/master Kevin Branigan 2015-06-15 10:59:20 -04:00
  • 10b888be54 Update cJSON.c DongwenHuang 2015-06-15 17:13:22 +08:00
  • 0fd1435f4b Merge pull request #6 from DongwenHuang/master Kevin Branigan 2015-06-12 14:25:52 -04:00
  • 4132e9301d Update test.c DongwenHuang 2015-06-12 12:44:42 +08:00
  • 8004ed3115 Fix bug with the sort. Dave Gamble 2015-02-13 20:33:06 +00:00
  • 174c62902c Since we anticipate repeated comparisons, add in a test for sorted lists, which can reduce cost for sorted objects to O(N) Dave Gamble 2015-02-13 20:31:33 +00:00
  • 491cf029b2 Rework cJSON_Utils object compare functions to use an O(N) algorithm on sorted lists. It's a bit of a shame to use the sorts, because cJSON is otherwise incredibly stable (json->cJSON->json is unmodified modulo formatting), but it means we get usable performance, rather than O(N^2) which will make CPUs cry. Dave Gamble 2015-02-13 19:53:27 +00:00
  • c4ddd7aaa3 Correct comment and variable declaration style to be more compatible. Added cJSONUtils_SortObject for sorting the members of an object alphabetically. Dave Gamble 2015-02-13 19:19:26 +00:00
  • 1d9b70e706 Fix comment style for proper ansi c compliance. Dave Gamble 2015-02-13 19:07:29 +00:00
  • 9d0a4cbf2a adjust the test very slightly Dave Gamble 2015-02-11 11:34:01 +00:00
  • b44a338c6d Optimise out escapable array. Dave Gamble 2015-02-11 11:31:35 +00:00
  • 060e6563c0 Add more patch functionality and some more utils. Also add a new #define to cJSON.h for SetNumberValue. Dave Gamble 2015-02-11 01:29:40 +00:00