Commit Graph

109 Commits

Author SHA1 Message Date
Max Bruckner
e88be8681d create_patches: Configurable case sensitivity 2017-05-02 01:30:58 +02:00
Max Bruckner
222686513e apply_patch: configurable case sensitivity 2017-05-02 01:30:58 +02:00
Max Bruckner
62b08f1336 compare_json: configurable case sensitivity 2017-05-02 01:30:58 +02:00
Max Bruckner
7de847eeea detach_path: Configurable case sensitivity 2017-05-02 01:30:58 +02:00
Max Bruckner
af9c76e37e Add get_item_from_pointer: Configurable case sensitivity 2017-05-02 01:30:58 +02:00
Max Bruckner
2f33e8ec9b Add compare_pointers: Configurable case sensitivity 2017-05-02 01:30:58 +02:00
Max Bruckner
30906a01c0 another compare_strings fix 2017-05-02 01:30:58 +02:00
Max Bruckner
eb017abe72 fix update fix 2017-05-02 01:30:58 +02:00
Max Bruckner
487a8b76a1 fix another compare_strings 2017-05-02 01:30:58 +02:00
Max Bruckner
1d85450883 fix configurable compare_stirings 2017-05-02 01:30:58 +02:00
Max Bruckner
2616db9e92 Add compare_strings: configurable case_sensitivity 2017-05-02 01:30:58 +02:00
Max Bruckner
23cbb173d4 cJSONUtils_SortList -> sort_list 2017-05-02 01:30:58 +02:00
Max Bruckner
a29c468b68 cJSON_CompareToPatch -> create_patches 2017-05-02 01:30:58 +02:00
Max Bruckner
1d65f33d3d cJSONUtils_GeneratePatch -> compose_patch 2017-05-02 01:30:58 +02:00
Max Bruckner
997ca129a2 cJSONUtils_ApplyPatch -> apply_patch 2017-05-02 01:30:58 +02:00
Max Bruckner
cf1770b0ea cJSONUtils_Compare -> compare_json 2017-05-02 01:30:58 +02:00
Max Bruckner
aefe2f85ab cJSONUtils_PatchDetach -> detach_path 2017-05-02 01:30:58 +02:00
Max Bruckner
7f645de322 cJSONUtils_InplaceDecodePointerString -> decode_pointer_inplace 2017-05-02 01:30:58 +02:00
Max Bruckner
e6c239db2b cJSONUtils_PointerEncodedstrcpy -> encode_string_as_pointer 2017-05-02 01:30:58 +02:00
Max Bruckner
f4d9e2e1a1 cJSON_strcasecmp -> case_insensitive_strcmp 2017-05-02 01:30:58 +02:00
Max Bruckner
e3ed64d56e cJSON_PointerEncodedstrlen -> pointer_encoded_length 2017-05-02 01:30:58 +02:00
Max Bruckner
6b01dee7ca Rename cJSONUtils_Pstrcasecmp to case_insensitive_pointer_comparison
Also changes the return type to cJSON_bool
2017-05-02 01:30:58 +02:00
Max Bruckner
b73881a388 cJSON_Utils: Add true/false 2017-05-02 01:30:58 +02:00
Max Bruckner
bb2f868126 refactor cJSONUtils_GenerateMergePatch 2017-05-02 01:30:58 +02:00
Max Bruckner
11b8a8cd76 refactor cJSONUtils_MergePatch 2017-05-02 01:30:58 +02:00
Max Bruckner
01d656bebc refactor cJSONUtils_SortObject 2017-05-02 01:30:58 +02:00
Max Bruckner
7bf62ff4dc refactor cJSONUtils_SortList 2017-05-02 01:30:58 +02:00
Max Bruckner
f030058183 refactor cJSONUtils_GeneratePatches 2017-05-02 01:30:58 +02:00
Max Bruckner
a67c24c451 refactor cJSONUtils_CompareToPatch 2017-05-02 01:30:58 +02:00
Max Bruckner
512c313111 refactor cJSONUtils_AddPatchToArray 2017-05-02 01:30:58 +02:00
Max Bruckner
e591d4173a refactor cJSONUtils_GeneratePatch 2017-05-02 01:30:58 +02:00
Max Bruckner
bde341edd8 refactor cJSONUtils_ApplyPatches 2017-05-02 01:30:58 +02:00
Max Bruckner
48c97985d6 refactor cJSONUtils_ApplyPatch 2017-05-02 01:30:58 +02:00
Max Bruckner
63db67bfeb refactor cJSONUtils_Compare 2017-05-02 01:30:58 +02:00
Max Bruckner
2040ce9004 refactor cJSONUtils_PatchDetach 2017-05-02 01:30:58 +02:00
Max Bruckner
4ba6bafe34 refactor cJSONUtils_InplaceDecodePointerString 2017-05-02 01:30:58 +02:00
Max Bruckner
378a333ee2 refactor cJSONUtils_GetPointer 2017-05-02 01:30:58 +02:00
Max Bruckner
4642d6575f refactor decode_array_index_from_pointer 2017-05-02 01:30:58 +02:00
Max Bruckner
4932c80f26 refactor cJSONUtils_FindPointerFromObjectTo 2017-05-02 01:30:58 +02:00
Max Bruckner
674a678819 refactor cJSONUtils_PointerEncodedstrcpy 2017-05-02 01:30:58 +02:00
Max Bruckner
b8e3673d0f refactor cJSONUtils_PointerEncodedstrlen 2017-05-02 01:30:58 +02:00
Max Bruckner
b16bcc3c19 refactor cJSONUtils_Pstrcasecmp 2017-05-02 01:30:58 +02:00
Max Bruckner
44d313212b refactor cJSONUtils_strcasecmp 2017-05-02 01:30:58 +02:00
Max Bruckner
055c7007e5 refactor cJSONUtils_strdup 2017-05-02 01:30:58 +02:00
Max Bruckner
ee3c3bc80e cJSONUtils_GeneratePatches: Fix multiple removes in arrays 2017-04-27 21:32:18 +02:00
Max Bruckner
609bb75421 cJSON_Utils: Use cJSON_free and cJSON_malloc 2017-04-12 21:28:31 +02:00
Max Bruckner
134ebf5e89 cJSONUtils_ApplyPatches: Handle replacement of root 2017-04-12 20:50:04 +02:00
Max Bruckner
d67b008d4b decode_array_index_from_pointer: parse manually
This allows checking for leading zeroes and invalid characters after the index
2017-04-12 12:06:27 +02:00
Max Bruckner
c66342d871 cJSON_Utils: Use enum for opcode 2017-04-12 11:36:14 +02:00
Max Bruckner
c960b2b853 cJSON_Utils: Fix size_t support of cJSONUtils_GetPointer 2017-04-12 11:21:48 +02:00