- 16 2月, 2017 9 次提交
-
-
由 Max Bruckner 提交于
Introduces a preprocessor directive that aborts the compilation if the version numbers in the header don't match with the numbers in the c file.
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
Add new type cJSON_Invalid
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
This sets the type of an item only if parsing was successful. This means that in case of failure, the item's type will remain to be cJSON_Invalid.
-
由 Max Bruckner 提交于
This assigns the macro cJSON_Invalid to 0.
-
由 Max Bruckner 提交于
-
- 15 2月, 2017 2 次提交
-
-
由 Max Bruckner 提交于
This fixes a double free that happens when calling cJSON_Delete on an item that has been used by parse_string and it failed parsing the string. The double free happens, because parse_string frees an alias of item->valuestring, but doesn't set item->valuestring to NULL.
-
由 Max Bruckner 提交于
-
- 09 2月, 2017 1 次提交
-
-
由 Max Bruckner 提交于
Thanks @rrvirtual for the suggestion.
-
- 08 2月, 2017 28 次提交
-
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
Introduce the cunity testing framework
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
Enabling this flag enables AddressSanitizer and UndefinedBehaviorSanitizer
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
Test parsing and printing example files
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
git-subtree-dir: tests/unity git-subtree-split: 1782bab0bacd349a45bc215ff91f082912cd7a64
-
由 Max Bruckner 提交于
Simplify some code and improve correctness
-
由 Max Bruckner 提交于
This might cause slight changes in behavior, but it shouldn't break anything that is not already broken (for example the original macro could either return a double, or an integer or whatever depending on if object is NULL or not.)
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
-
由 Max Bruckner 提交于
Replaces the hand written floating point parser with the C library implementation.
-
由 Max Bruckner 提交于
This reverts commit c866abd8. The length of this buffer was intentional. This looks like a false positive.
-
由 Max Bruckner 提交于
Use goto fail for error handling and fix some memory leaks on the way
-
由 Max Bruckner 提交于
Simplify error handling using goto fail and improve some names.
-
由 Max Bruckner 提交于
Makes the control flow easier to reason about and fixes a few potential memory leaks.
-