Alan Wang
e5dbaee131
docs: update comment ( #622 )
2021-10-22 16:09:45 +08:00
SuperHuan
189dcde644
fix: add cmake_policy to CMakeLists.txt ( #613 )
...
Use the cmake_policy() command to set CMP0054 to NEW explicitly.
2021-10-22 16:02:06 +08:00
Sayan Bandyopadhyay
b9eff8b02a
fix: for issue #569 , now use the guard to turn it off ( #617 )
2021-10-22 15:57:05 +08:00
Alan Wang
f50dafc7d0
fix: potential memory leak in merge_patch() ( #611 )
2021-08-26 14:13:42 +08:00
Alan Wang
d348621ca9
chore: update version and changelog ( #610 )
2021-08-25 19:15:09 +08:00
Alan Wang
744e47353a
fix: remove redundant condition ( #605 )
2021-08-25 15:02:00 +08:00
Dimitri Papadopoulos Orfanos
7795249dd4
Typos found by codespell ( #607 )
2021-08-25 15:01:12 +08:00
CoffeeTableEspresso
324a6ac9a9
Update .gitattributes ( #544 )
2020-12-31 10:38:10 +08:00
Alan Wang
6ea4c01e4e
Fix potential core dumped for strrchr ( #546 )
2020-12-31 10:26:39 +08:00
Jordan IMBERT
9226e4ed8c
Remove always true condition in cJSON.c ( #539 )
2020-12-17 17:07:18 +08:00
Alan Wang
7b6645794d
Fix null pointer crash, closes #536 ( #538 )
2020-12-17 15:42:31 +08:00
Tim Gates
4100379a04
docs: fix simple typo, transfering -> transferring ( #527 )
...
There is a small typo in tests/readme_examples.c.
Should read `transferring` rather than `transfering`.
2020-11-16 08:57:02 +08:00
mongobaba
2f6fc7f0f2
fix several null pointer problems on allocation failure ( #526 )
2020-11-12 11:46:15 +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
Use
9931900768
fix: windows build failure about defining nan
2020-10-15 11:52:06 +09: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
h00283522
1ef4deec06
Remove unnecessary files in release tarball
...
Prior to this patch, we would find '.gitignore', '.travisCI.yml' in
the release tarball.
This patch adds a few entries in .gitattributes to specify files that
should never end up in a distribution tarball.
Signed-off-by: Hu Keping <hukeping@huawei.com>
2020-06-26 10:53:16 +08:00
Kevin Sapper
4578d3a9e1
Problem: WError error on macosx because NAN is a float
...
Solution: Add explicit cast from NAN to double
2020-06-23 09:17:32 +02: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
Moorthy
7103844037
pkgconfig: cjson include dir added
...
fixed #468
2020-04-30 12:45:10 +02:00
Romain Lesteven
3442b36672
Fix make.sh install unwanted config files
2020-04-17 12:01:39 +02:00
miaoerduo
cb4661cd91
fix: errors in replacing the first item when array_size is 1, and replacing the last item
2020-04-03 17:21:02 +08:00
miaoerduo
a65abf2f4f
fix: error list head's prev when detach the last item
2020-04-03 17:20:57 +08:00
miaoerduo
3999b12848
feat: set list head's prev in parse_array and parse_object
2020-04-03 17:20:42 +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
Sang-Heon Jeon
97cf1d84e4
Add getNumberValue function
...
* Add GetNumberValue function and testcase
Co-authored-by: Alan Wang <wp_scut@163.com>
2020-04-02 19:36:35 +08:00
caglarivriz
983bb2b4d6
Added cJSON_ParseWithLength ( #358 )
...
Co-authored-by: Caglar Ivriz <caglar.ivriz@siemens.com>
2020-04-02 19:24:36 +08:00
Alanscut
4e114c1f31
update testcase, fixes #433
2020-04-02 16:24:10 +08:00