87 Commits
Author SHA1 Message Date
Alan Wang c859b25da0 Release 1.7.19 (#958) 2025-09-09 21:56:10 +08:00
Alanscut 424ce4ce96 Revert "feat: add tests for #842" to fix test failures
This reverts commit 5b502cdbfb.

Related to #860
2024-06-19 10:58:01 +08:00
Alanscut acc76239be add contributors 2024-05-13 18:26:15 +08:00
Alanscut 76be8fcf15 Release 1.7.18 2024-05-13 18:26:15 +08:00
Alanscut 5b502cdbfb feat: add tests for #842
Add some tests for setting NULL to deallocated pointers
releated to #842 and #833
2024-05-13 17:18:46 +08:00
Alanscut a20be7996d fix: remove misused optimization flag -01
related to #850
2024-05-09 10:09:18 +08:00
Alanscut 19396a49a6 update comments and add tests for cJSON_SetValuestring 2024-04-29 10:01:35 +08:00
Alanscut 5671646e97 fix: fix incorrect name in security.md
Related to #845
2024-04-28 10:10:58 +08:00
Alan Wang 66e9dff670 Create SECURITY.md 2024-04-26 16:58:00 +08:00
Alanscut 87d8f0961a Release 1.7.17
update version to 1.7.17
2023-12-26 10:24:36 +08:00
Alan Wang cb8693b058 Release 1.7.16 (#770)
* Update version to 1.7.16

* Update contributors
2023-07-05 11:22:19 +08:00
Alan Wang 545710e3bf upgrade clang to fix actions error (#768)
Actions builds are failing because clang-8 is failing to be installed. Upgrade clang-8 to clang-14 to fix this.
2023-07-04 17:02:03 +08:00
Alan Wang 203a0dec6f chore: ignore *.lst/*.lss file (#623) 2021-10-22 16:21:55 +08:00
Alan Wang e5dbaee131 docs: update comment (#622) 2021-10-22 16:09:45 +08:00
Alan Wang 6ea4c01e4e Fix potential core dumped for strrchr (#546) 2020-12-31 10:26:39 +08:00
Alan Wang 7b6645794d Fix null pointer crash, closes #536 (#538) 2020-12-17 15:42:31 +08:00
Alan Wang a1e1c208ff Merge pull request #519 from Alanscut/issue-516
fix a possible dereference of null pointer
2020-10-16 17:12:54 +08:00
Alanscut 9bf4960cd5 fix a possible dereference of null pointer 2020-10-16 17:06:29 +08:00
Alan Wang 488169faca Merge pull request #518 from fpnuseis/master
fix: windows build failure about defining nan
2020-10-16 16:52:10 +08:00
Alan Wang d2735278ed Merge pull request #505 from Alanscut/release-1.7.14
Release 1.7.14
2020-09-03 17:14:26 +08:00
Alanscut 8e84db4c4e Update changelog and contributors 2020-09-03 17:11:02 +08:00
Alanscut 8e357f825b Update version to 1.7.14 2020-09-03 17:07:49 +08:00
Alan Wang 2e5171d8d6 Merge pull request #503 from Alanscut/issue499
optimize the way to find tail node
2020-09-03 11:51:54 +08:00
Alanscut c8ca78a3cc optimize the way to find tail node 2020-09-02 20:23:52 +08:00
Alan Wang 0b13220419 Merge pull request #502 from Alanscut/nan
remove float-divide-by-zero for supporting NAN
2020-08-27 20:48:25 +08:00
Alanscut 23f027139e remove float-divide-by-zero for supporting NAN 2020-08-27 20:46:00 +08:00
Alan Wang 60c3b0a571 Merge pull request #501 from Alanscut/actions
add github actions CI
2020-08-27 20:28:06 +08:00
Alanscut 857c037ccc add github actions CI 2020-08-27 20:26:04 +08:00
Alan Wang 3fb9d929e1 Merge pull request #484 from sappo/master
Problem: WError error on macosx because NAN is a float
2020-08-21 21:30:19 +08:00
Alan Wang cf97c6f066 Merge pull request #485 from HuKeping/fix-git-archive
Remove unnecessary files in release tarball
2020-06-27 16:13:52 +08:00
Alanscut b95a4c56b0 fix #376 2020-06-22 11:23:24 +08:00
Alan Wang 7db005e028 Merge pull request #472 from Alanscut/parse-array
array's item should be in the list
2020-05-06 17:34:15 +08:00
Alanscut 1fc755ac09 array's item should be in the list 2020-05-06 17:18:42 +08:00
Alan Wang a82449fa3e Merge pull request #456 from miaoerduo/master
fix: some bugs in detach and replace, resolved #467
2020-05-06 17:07:33 +08:00
Alan Wang 2a6299d904 Merge pull request #469 from moorthy-bs/master
pkgconfig: cjson include dir added
2020-05-05 11:34:23 +08:00
Alan Wang 43f471bff1 Merge pull request #465 from Summus-git/fix_make_install_config
Make install unwanted config files
2020-05-05 11:31:39 +08:00
Alanscut 39853e5148 Update changelog 2020-04-02 23:35:50 +08:00
Alanscut ff0dabc72e Update version to 1.7.13 2020-04-02 23:34:28 +08:00
Alanscut 5d55c6c2ee fix error C2124 in visual studio 2020-04-02 23:32:30 +08:00
Alan Wang 23e4fbc639 Merge pull request #454 from Alanscut/float-compare
comparing double value with DBL_EPSILON
2020-04-02 20:09:42 +08:00
Alan Wang 65578af8cc Merge pull request #453 from Alanscut/add-return-value
add return value for  cJSON_AddItemTo... and cJSON_ReplaceItemxxx
2020-04-02 19:41:56 +08:00
Alan Wang f12cd7b701 Merge pull request #451 from Alanscut/20200324
add new function of `cJSON_SetValuestring`
2020-04-02 19:40:03 +08:00
Alanscut 4e114c1f31 update testcase, fixes #433 2020-04-02 16:24:10 +08:00
Alanscut 8943c73345 comparing double value with DBL_EPSILON 2020-04-02 16:02:24 +08:00
Alanscut af56a146fd update testcase 2020-04-02 11:06:47 +08:00
Alanscut 131966f748 add return value for cJSON_ReplaceItemxxx 2020-04-02 11:00:10 +08:00
Alanscut bd7cbe9776 false has been redefined to cJSON_False 2020-04-01 19:19:00 +08:00
Alanscut 54d6b8016e add return value for cJSON_AddItemTo... 2020-03-26 14:18:52 +08:00
Alanscut 31c7880fab update cJSON_SetValuestring and testcase 2020-03-25 15:38:54 +08:00
Alanscut 34e102d0dc update README 2020-03-24 22:28:35 +08:00
Alanscut 4790c3c8f5 add testcase for cJSON_SetValuestringToObject 2020-03-24 22:28:27 +08:00
Alanscut 6b35f1c5bc add new function of setValuestringToObject 2020-03-24 22:28:15 +08:00
3ece4c893c Improve performance of adding item to array (#448)
* use prev pointer when adding item to array

Co-authored-by: xiaomianhehe <hongshaokai@hotmail.com>
Co-authored-by: Alanscut <scut@163.com>

Date:   Tue Feb 18 11:54:23 2020 +0800

* add testcase for cJSON_DeleteItemFromArray
2020-03-24 16:17:25 +08:00
Alanscut fa28d82f2e update contributors 2020-03-19 22:58:04 +08:00
Alan Wang 1be85ff26d Merge pull request #447 from Alanscut/fix_encode_string_as_pointer
Fix encode_string_as_pointer
2020-03-18 16:53:52 +08:00
Alanscut d92c0de7e8 fix encode_string_as_pointer 2020-03-18 16:04:58 +08:00
Alan Wang ae7a7a1d0c Merge pull request #440 from Square789/patch-1
updating doc
2020-03-16 23:12:14 +08:00
Alan Wang 0586a6c437 Merge pull request #446 from DaveGamble/revert-430-array_add
Revert "use prev pointer when array do adding"
2020-03-16 23:08:06 +08:00
Alanscut f790e17b6c update content in README 2020-01-19 15:23:48 +08:00
Alanscut 74b2f03837 remove annoying float-equal option 2020-01-18 23:18:19 +08:00
Alanscut fa8b454552 correct mistake 2020-01-16 17:10:52 +08:00
Alanscut ea532cdd61 update CHANGELOG.md 2019-12-10 17:20:46 +08:00
Alanscut 4e3335618f improve compare_double 2019-12-09 10:36:45 +08:00
Alanscut c06d8264d0 improve compare_double function 2019-12-06 18:16:27 +08:00
Alanscut 1f970e7db3 fix double comparison 2019-12-06 17:11:12 +08:00
Alanscut 98ecc0245a revert R_CFLAGS 2019-12-06 15:32:45 +08:00
Alanscut 500a9db81b fix memory leak mentioned in issue 414 2019-12-05 11:05:07 +08:00
Alanscut 446ff0d6cc fix issue#327 2019-11-28 09:56:04 +08:00
Alanscut 6a848fce32 Merge pull request #408 from rolegic/patch-api-h-c
Fixed different argument between declaration and definition
2019-11-19 10:51:13 +08:00
Alanscut 533ff8a783 Merge pull request #405 from Alanscut/issue-404
fix make failed in mac os
2019-11-02 22:38:33 +08:00
Alanscut 4755aea837 fix make failed in mac os 2019-11-01 11:30:14 +08:00
Alanscut 4454731775 update readme 2019-10-29 16:14:22 +08:00
Alanscut 326f1f5ed5 Merge pull request #402 from Alanscut/cmake_add_uninstall_target
CMake: add uninstall target
2019-10-29 16:09:32 +08:00
Alanscut bb059dc2e1 add uninstall target in cmake 2019-10-29 15:48:11 +08:00
Alanscut de99175cd0 fix rmdir error (#401)
* fix rmdir error
2019-10-29 14:21:16 +08:00
Alanscut a417b183c6 add new line to endif 2019-10-29 12:47:36 +08:00
Alanscut e52b212dbf fix typos in REAM.md file 2019-09-29 19:06:47 +08:00
Alanscut 189b51c5da format comment 2019-09-11 10:42:44 +08:00
Alanscut c61573f1af format adjustment 2019-09-11 09:51:30 +08:00
Alanscut cf0d87a095 Merge pull request #384 from Alanscut/eliminate_warning
eliminate warning when compiling cJSON
2019-08-28 20:57:02 +08:00
Alanscut e750194cb1 Merge pull request #386 from lntuition/master
Correct typo error in cJSON.h
2019-08-28 20:56:06 +08:00
Alanscut e13f11ba79 Merge pull request #360 from Alanscut/master
add comment for cJSON_Minify function
2019-08-27 14:50:48 +08:00
Alanscut 8872b1429a Merge pull request #371 from basanjeev/master
Fix typos.
2019-08-26 16:33:05 +08:00
Alanscut 166c814cda eliminate warning when compiling cJSON 2019-08-12 17:06:29 +08:00
Alanscut 9d766f07a7 fix const cast warnings in cJSON_GetStringValue 2019-06-28 14:22:02 +08:00
Alanscut 85ceadb4b4 Add a comment to the parameter count of the cJSON_CreateIntArray function. 2019-06-25 17:25:23 +08:00
Alan_scut 5fe80a94b6 add comment for cJSON_Minify function 2019-05-22 10:24:13 +08:00