Commit Graph

  • 7030dc7c5b Put buffer_size into internal_configuration Max Bruckner 2018-02-01 00:00:36 +01:00
  • 27977adc93 Put format into internal_configuration Max Bruckner 2018-01-31 23:28:48 +01:00
  • 677f0cb1bb Rename internal_hooks -> internal_configuration, cJSON_New_item -> create_item Max Bruckner 2018-01-31 22:22:53 +01:00
  • 3ebc06196a Gitignore: add CLion files Max Bruckner 2018-03-25 23:31:36 +02:00
  • fd5281bdd8 cJSON: cjson_min: Wrap arguments in parentheses Max Bruckner 2018-03-25 15:12:15 +02:00
  • 1f4044a707 cJSON.c: Remove unused cast Max Bruckner 2018-03-25 15:11:56 +02:00
  • 08a2ad3c59 is_{nan,infinity}: Wrap macro arguments in parentheses Max Bruckner 2018-03-25 14:25:46 +02:00
  • b06fb10f94 cJSON.c: Remove unnecessary includes Max Bruckner 2018-03-25 14:20:48 +02:00
  • ce5f31ac47 Remove superfluous null checks in can_read/access_at_index macros Max Bruckner 2018-02-03 19:14:19 +01:00
  • 0715259635 cJSON_Compare: Performance improvement for objects Max Bruckner 2018-02-03 15:54:47 +01:00
  • f4cc4d7c63 parse_value: Check only first character at first Max Bruckner 2018-01-31 10:31:14 +01:00
  • 952b1017ab print_number: Introduce fast path for integers. Max Bruckner 2018-01-29 20:24:42 +01:00
  • 0914640d79 Extract helper: double_to_saturated_integer Max Bruckner 2018-01-29 20:12:12 +01:00
  • 5ed383a0d1 is_nan and is_infinity macros Max Bruckner 2018-01-20 15:14:27 +01:00
  • 3e2c29528a CMake: Remove -fsanitize=float-divide-by-zero Max Bruckner 2018-01-20 15:43:56 +01:00
  • b2bbc11d44 Fix #234: Different argument names between declaration and definition Max Bruckner 2018-01-20 14:43:50 +01:00
  • 06f4152008 print: Comment about why the buffer is reallocated Max Bruckner 2018-01-19 00:11:07 +01:00
  • 0e0c463491 Release version 1.7.5 v1.7.5 Max Bruckner 2018-03-22 20:29:17 +01:00
  • 2336a0348d Contributors: Add Bob Kocisko Max Bruckner 2018-03-22 20:28:54 +01:00
  • 5d50f4efe1 Contributors: Thank all the non-code contributors Max Bruckner 2018-03-22 20:28:30 +01:00
  • 8abf110750
    Merge pull request #251 from bobkocisko/master Max Bruckner 2018-03-22 20:00:24 +01:00
  • d26a42af8d json patch: adding to a subfield of a non-object now fails as expected Bob Kocisko 2018-03-20 12:58:25 -04:00
  • 6f264b5d0c
    Merge pull request #249 from DaveGamble/fix-add-item v1.7.4 Max Bruckner 2018-03-02 20:04:29 +01:00
  • 5da9edc8b1 Release version 1.7.4 fix-add-item Max Bruckner 2018-03-02 19:57:36 +01:00
  • 22a7d04fa0 add_item_to_object: Fix use-after-free when string is aliased Max Bruckner 2018-03-02 19:49:55 +01:00
  • a25196b6a6
    Merge bfdbf5195db811e8575a3c0d22f74b7a460bc695 into a559eac472652e8098939af8828ff59eda3a66ae Thomas Chiantia 2018-02-28 17:44:18 +00:00
  • bfdbf5195d if end pointer non null, assumes end of string thomas 2018-02-28 12:39:44 -05:00
  • a559eac472 Release version 1.7.3 v1.7.3 Max Bruckner 2018-02-07 21:16:35 +01:00
  • d514bb866e Fix #241, potential double free Max Bruckner 2018-02-07 19:36:59 +01:00
  • 27caa364b0 Release version 1.7.2 v1.7.2 Max Bruckner 2018-02-06 11:38:41 +01:00
  • f47271f455 Fix pkgconfig and installation. Thanks @zeerd for reporting Max Bruckner 2018-02-06 11:24:03 +01:00
  • 0f52a058a2
    Merge 5e649a87098ab93ea36fd6ef4450b08fbaa1954b into 7cc52f60356909b3dd260304c7c50c0693699353 zeerd 2018-02-06 08:22:29 +00:00
  • 5e649a8709
    modify includedir zeerd 2018-02-06 10:23:59 +08:00
  • d04fb86e66
    libcjson.pc error in yocto environment zeerd 2018-02-06 09:56:13 +08:00
  • 3b0d37faf3 Change name from Configuration to Context context Max Bruckner 2018-02-03 12:48:34 +01:00
  • 464c9b544c cJSON_DuplicateConfiguration Max Bruckner 2018-02-03 05:02:05 +01:00
  • a0aa2df75a cJSON_ConfigurationChangeParseEnd -> cJSON_ConfigurationGetParseEnd Max Bruckner 2018-02-03 04:28:44 +01:00
  • ba81437601 cJSON_CreateConfig: Don't allow configuration, always use default Max Bruckner 2018-02-03 03:49:00 +01:00
  • d664199036 cJSON_ConfigurationChangeAllowDataAfterJson Max Bruckner 2018-02-03 02:55:06 +01:00
  • 7e4ac634c6 cJSON_ConfigurationChangeCaseSensitivity Max Bruckner 2018-02-03 02:48:14 +01:00
  • 1d9d2e8673 cJSON_ConfigurationChangeFormat Max Bruckner 2018-02-03 02:32:17 +01:00
  • c4c52cfe58 cJSON_ConfigurationChangePrebufferSize Max Bruckner 2018-02-03 02:09:10 +01:00
  • 0474d4d85f cJSON_ConfigurationChangeParseEnd Max Bruckner 2018-02-02 00:57:00 +01:00
  • 95d333b5cf cJSON_CreateConfiguration, cJSON_ConfigurationChange{Allocators,Userdata} Max Bruckner 2018-02-01 22:13:39 +01:00
  • d67ddd5c62 allocation helpers for allocating with a configuration Max Bruckner 2018-02-01 10:51:38 +01:00
  • 440ba84d08 Add cJSON_Allocators new style allocator struct Max Bruckner 2018-02-01 10:26:58 +01:00
  • 649af9c2c3 cJSON_Compare: Extract compare with internal_configuration Max Bruckner 2018-02-03 16:42:43 +01:00
  • 69f8bb7778 default_configuration: Macro for the internal_configuration defaults Max Bruckner 2018-02-01 02:01:17 +01:00
  • 99ad8cc64b internal_configuration: Add case_sensitive Max Bruckner 2018-02-01 01:45:31 +01:00
  • 47f4337604 cJSON_ParseWithOpts: Extract pasrse with internal_configuration Max Bruckner 2018-02-01 01:24:36 +01:00
  • 772376ed92 cJSON_Delete: Extract delete_item with internal_configuration Max Bruckner 2018-02-01 01:20:37 +01:00
  • 04137f4ed1 Put buffer_size into internal_configuration Max Bruckner 2018-02-01 00:00:36 +01:00
  • 479909d0a6 Put format into internal_configuration Max Bruckner 2018-01-31 23:28:48 +01:00
  • b277cd6a24 Rename internal_hooks -> internal_configuration, cJSON_New_item -> create_item Max Bruckner 2018-01-31 22:22:53 +01:00
  • e82f32b359 cJSON_Compare: Performance improvement for objects Max Bruckner 2018-02-03 15:54:47 +01:00
  • afc246f1d5 parse_value: Check only first character at first Max Bruckner 2018-01-31 10:31:14 +01:00
  • 85f76baf0e print_number: Introduce fast path for integers. Max Bruckner 2018-01-29 20:24:42 +01:00
  • 3a36ce6d32 Extract helper: double_to_saturated_integer Max Bruckner 2018-01-29 20:12:12 +01:00
  • deca87b071 is_nan and is_infinity macros Max Bruckner 2018-01-20 15:14:27 +01:00
  • 5af3271726 CMake: Remove -fsanitize=float-divide-by-zero Max Bruckner 2018-01-20 15:43:56 +01:00
  • 02641037b7 Fix #234: Different argument names between declaration and definition Max Bruckner 2018-01-20 14:43:50 +01:00
  • 1723a94b53 print: Comment about why the buffer is reallocated Max Bruckner 2018-01-19 00:11:07 +01:00
  • d48d988d7e Use character literal to declare range of nonprintable characters. less-magic Max Bruckner 2018-01-11 00:19:41 +01:00
  • 15d9ec8b07 New macro static_strlen and replace magic numbers with it. Max Bruckner 2018-01-10 17:43:25 +01:00
  • f07a3b7cb3 print_value: Use sizeof(literal) instead of magic numbers Max Bruckner 2018-01-10 15:45:14 +01:00
  • 7cc52f6035
    Merge pull request #231 from DaveGamble/fixes v1.7.1 Max Bruckner 2018-01-09 22:34:48 +01:00
  • b60b5d3744 Update version to 1.7.1 Max Bruckner 2018-01-09 21:59:42 +01:00
  • 4d84acf926 print_number: fix Off-By-One error Max Bruckner 2018-01-09 21:40:55 +01:00
  • 28d4410f42 print: fix: realloc was allocating too much memory Max Bruckner 2018-01-09 20:53:33 +01:00
  • f33fa95f3d print: Fix default buffer size in printbuffer Max Bruckner 2018-01-09 20:49:03 +01:00
  • 984dc85a5f
    Merge pull request #228 from DaveGamble/develop v1.7.0 Max Bruckner 2017-12-31 02:20:27 +01:00
  • 13a2d337a8 Update version number to 1.7 Max Bruckner 2017-12-31 02:03:40 +01:00
  • 17b83e76e9 Update Changelog for version 1.7 Max Bruckner 2017-12-31 02:01:53 +01:00
  • 43754e7833
    Merge pull request #215 from DaveGamble/new-documentation Max Bruckner 2017-12-31 01:43:11 +01:00
  • 1e95363638 README: Caveats: Duplicate object members Max Bruckner 2017-12-31 01:24:35 +01:00
  • d7e711c0de README: new doc: Add links for 4th level sections Max Bruckner 2017-12-30 21:47:28 +01:00
  • f26d8f3175 README: Add small note about CMake on Windows. Max Bruckner 2017-12-30 02:32:43 +01:00
  • e7d0c1dc37 Tests: Test if the readme examples are working Max Bruckner 2017-12-30 02:24:06 +01:00
  • 5605fa4ad5 README: new doc: Remove old explanation. Max Bruckner 2017-12-30 01:54:27 +01:00
  • cdcd553769 README: new doc: Example Max Bruckner 2017-12-20 02:42:30 +01:00
  • 61dd7f1e41 README: new doc: Working with the data structure Max Bruckner 2017-11-15 18:07:54 +01:00
  • 1285e6ac68 README: new doc: Printing Max Bruckner 2017-11-11 13:07:05 +01:00
  • b54b81251e README: new doc: Parsing Max Bruckner 2017-11-10 22:08:57 +01:00
  • c31ee79ad1 README: new doc: Data Structure section Max Bruckner 2017-11-10 21:36:05 +01:00
  • a1a1e60cb0
    Merge pull request #226 from DaveGamble/boolean_add Max Bruckner 2017-12-29 23:30:20 +01:00
  • 1b21bcd150 cJSON_Add..ToObject: Add comment to header file Max Bruckner 2017-12-29 23:29:09 +01:00
  • 77931e7fc0 cJSON_Add...ToObject: Add tests for failure conditions Max Bruckner 2017-12-29 23:26:53 +01:00
  • 5865faffa3 Convert cJSON_Add...ToObject macros into functions Max Bruckner 2017-12-28 23:56:39 +01:00
  • f966409b33 Add tests for cJSON_Add...ToObject macros Max Bruckner 2017-12-28 22:56:57 +01:00
  • de729a1635 Extract add_item_to_object function that returns a boolean Max Bruckner 2017-12-28 17:19:03 +01:00
  • 55c597c719 add_item_to_array with boolean return value Max Bruckner 2017-12-28 12:45:28 +01:00
  • d788327884 Merge a9d5b7ad8a2b50eb47895bcdd09339cd817c2535 into 27a4303f87473bc3475ff55af06de187cc8234d6 Joshua Watt 2017-12-12 18:25:55 +00:00
  • a9d5b7ad8a Include path compatibility with shared library Joshua Watt 2017-12-12 12:22:38 -06:00
  • 2a087843e4 Add overrides for BUILD_SHARED_LIBS Max Bruckner 2017-11-28 17:16:11 +01:00
  • eb7c681a4b Fix tests when building as static library Max Bruckner 2017-11-28 16:44:24 +01:00
  • 0476590a0c Update Unity to 2.4.3 Max Bruckner 2017-11-28 03:15:50 +01:00
  • da8c48668d Squashed 'tests/unity/' changes from 60b13f0..287e076 Max Bruckner 2017-11-28 03:15:50 +01:00
  • 11844dd5a6 Add cJSON_Create{Array,Object}Reference Max Bruckner 2017-11-28 03:06:02 +01:00
  • 1f543f0e28 cast_away_const: Generalize for void* Max Bruckner 2017-11-28 02:05:02 +01:00
  • eaa90a6b74 Add cJSON_CreateStringReference Max Bruckner 2017-11-28 02:02:55 +01:00