Eric Haszlakiewicz
|
537f8bcbdb
|
Add const qualifiers to several functions that don't modify the json_object.
|
2015-12-26 21:42:18 +00:00 |
|
Eric Haszlakiewicz
|
882b7d95cc
|
Issue #137: remove config.h.in from change control.
|
2015-12-08 21:20:42 -06:00 |
|
Eric Haszlakiewicz
|
980cdd61be
|
Merge commit '2be921d88376e78f84d79aafa6db2714da804e59'
|
2015-12-08 20:51:06 -06:00 |
|
Eric Haszlakiewicz
|
65be8275da
|
Merge pull request #209 from rgerhards/fix-regression
fix regression from 2d549662be
|
2015-11-29 21:24:50 -05:00 |
|
Eric Haszlakiewicz
|
316da85818
|
Fix issue #201: add a JSON_C_TO_STRING_NOSLASHESCAPE flag to turn off escaping of forward slashes.
|
2015-11-28 20:00:30 -06:00 |
|
Eric Haszlakiewicz
|
5a6a378725
|
Merge pull request #198 from unmole/master
Fix possible memory leak and remove superfluous NULL checks before free()
|
2015-11-28 13:58:07 -05:00 |
|
Eric Haszlakiewicz
|
c97bbd3797
|
Merge pull request #199 from Nzbuu/fix_vs_build
Fix build in Visual Studio
|
2015-11-14 23:31:15 -05:00 |
|
Eric Haszlakiewicz
|
b82a51a5cd
|
Merge pull request #200 from Nzbuu/ci_build
Add build scripts for CI platforms
|
2015-11-14 23:30:38 -05:00 |
|
Eric Haszlakiewicz
|
80c1f69b9e
|
Use AX_APPEND_COMPILE_FLAGS() to check the various compile flags, such as -Wall, to ensure the compile supports.
|
2015-10-23 02:16:40 +00:00 |
|
Eric Haszlakiewicz
|
10d50aadf2
|
Remove the AC_FUNC_MALLOC check, since we don't depend on the malloc(0) behavior it checks for, and we don't provide a rpl_malloc() implementation anyway.
|
2015-10-22 02:57:13 +00:00 |
|
Eric Haszlakiewicz
|
12916e229c
|
Merge pull request #196 from rgerhards/improve-performance
Performance improvements
|
2015-09-28 22:25:29 -04:00 |
|
Eric Haszlakiewicz
|
1757a31750
|
Fix doc for json_object_new_boolean() to indicate the correct value for TRUE (1).
|
2015-08-23 00:08:14 -04:00 |
|
Eric Haszlakiewicz
|
d4f8f92eb0
|
Squash deprecated function warning by replacing json_object_object_get calls with json_object_object_get_ex in test_cast.
|
2015-08-23 00:06:36 -04:00 |
|
Eric Haszlakiewicz
|
93b1fe63e5
|
Add back in the __attribute__((__unused__)) that was lost in the previous commit.
It's needed to squash a "variable 'val' set but not used" warning.
|
2015-08-23 00:00:12 -04:00 |
|
Eric Haszlakiewicz
|
a8bbefbbb4
|
Merge pull request #183 from cryogen/master
Apply compile warning fix to master branch
|
2015-08-22 15:24:26 -04:00 |
|
Eric Haszlakiewicz
|
55530bfc0f
|
Merge pull request #186 from Virtual-Instruments/master
Syntax error
|
2015-08-05 23:19:19 -04:00 |
|
Eric Haszlakiewicz
|
b594c34f57
|
Merge pull request #174 from haata/master
Adding JSON_C_TO_STRING_PRETTY_TAB flag
|
2015-05-31 12:10:13 -07:00 |
|
Eric Haszlakiewicz
|
cd8bd7f617
|
Tell the compiler we're intentionally ignoring the return value from __sync_val_compare_and_swap().
|
2015-05-26 19:02:19 -07:00 |
|
Eric Haszlakiewicz
|
cbedf2f7ca
|
Merge pull request #149 from cicku/patch-2
SONAME bump
|
2015-05-09 21:35:22 -04:00 |
|
Eric Haszlakiewicz
|
e4fce5d6ae
|
Merge pull request #171 from Nzbuu/vs2010_build
Update configuration for VS2010 and win64
|
2015-05-08 21:31:37 -04:00 |
|
Eric Haszlakiewicz
|
e1eb298de1
|
Merge pull request #182 from tpetazzoni/libm-fix
Link against libm when needed
|
2015-05-08 21:19:48 -04:00 |
|
Eric Haszlakiewicz
|
82a1316f76
|
Merge pull request #180 from yegorich/silent
Enable silent build by default
|
2015-05-08 21:19:05 -04:00 |
|
Eric Haszlakiewicz
|
68d856f618
|
Merge pull request #168 from bugness-chl/master
Tightening the number parsing algorithm
|
2015-03-03 22:41:31 -05:00 |
|
Eric Haszlakiewicz
|
7e3a6c6b9d
|
Merge pull request #163 from sixlettervariables/fix-win32-build-problems
Fix Win32 build problems
|
2015-03-03 22:35:36 -05:00 |
|
Eric Haszlakiewicz
|
da62fca305
|
Merge pull request #144 from mhei/master
Introduce json_object_from_fd
|
2015-03-03 22:12:49 -05:00 |
|
Eric Haszlakiewicz
|
484ca368f0
|
Slight style tweaks to the bsearch changest.
|
2015-03-04 03:10:10 +00:00 |
|
Eric Haszlakiewicz
|
a500c1f0b5
|
Merge pull request #155 from LeSpocky/bsearch
add bsearch for arrays
|
2015-03-03 22:00:08 -05:00 |
|
Eric Haszlakiewicz
|
9db3099572
|
Merge pull request #156 from jubalh/master
Remove trailing whitespaces
|
2015-03-03 21:37:02 -05:00 |
|
Eric Haszlakiewicz
|
ec4879ac5b
|
Merge pull request #153 from LeSpocky/doc
improve doc for json_object_to_json_string()
|
2014-09-13 22:18:51 -04:00 |
|
Eric Haszlakiewicz
|
6ec6fdaf8c
|
Merge pull request #151 from mjchinn/json_type-comma
Remove json_type enum trailing comma
|
2014-09-13 22:18:14 -04:00 |
|
Eric Haszlakiewicz
|
2c722277ee
|
Merge pull request #150 from ams-cs/master
Fix build using MinGW.
|
2014-09-13 22:17:57 -04:00 |
|
Eric Haszlakiewicz
|
f88db708ac
|
Merge pull request #141 from AlexandruCostache/master
Removed duplicate check in random_seed test - bug #140
|
2014-09-13 22:14:44 -04:00 |
|
Eric Haszlakiewicz
|
d4e81f9ec8
|
Move the json_min() and json_max() macros to json_util.h and mark everything else in bits.h deprecated.
Eliminate all uses of bits.h within the json-c code.
|
2014-05-04 22:33:26 -04:00 |
|
Eric Haszlakiewicz
|
1da0599e0e
|
Fix the definition of the error_description() macro in bits.h now that json_tokener_errors[] is not exported.
|
2014-05-03 22:26:26 -04:00 |
|
Eric Haszlakiewicz
|
2149a04ca8
|
Check for failures when allocating memory; return NULL and set errno=ENOMEM in a few of those cases.
Thanks to Susant Sahani for pointing out some of these.
|
2014-04-19 20:33:05 -04:00 |
|
Eric Haszlakiewicz
|
795e9151a1
|
Add an empty README file to placate autoconf.
|
2014-04-19 20:22:44 -04:00 |
|
Eric Haszlakiewicz
|
4569e3e430
|
Fix minor typo in README file.
|
2014-04-19 20:11:05 -04:00 |
|
Eric Haszlakiewicz
|
40aab4c502
|
Merge pull request #133 from haneefmubarak/patch-1
Update and rename README to README.md
|
2014-04-19 20:10:10 -04:00 |
|
Eric Haszlakiewicz
|
332a594fd4
|
Merge pull request #132 from pkoretic/master
Remove unused variable 'size'
|
2014-04-19 20:05:06 -04:00 |
|
Eric Haszlakiewicz
|
fa54bd542e
|
Update the release checklist to include calculating the tarball checksums and updating the wiki.
|
2014-04-11 20:07:49 -04:00 |
|
Eric Haszlakiewicz
|
515ba0dfb7
|
Bump versions up to 0.12.99 since a 0.12 release was just created.
|
2014-04-10 22:44:13 -04:00 |
|
Eric Haszlakiewicz
|
f84d9c55db
|
Update the ChangeLog with the changes for the 0.12 release.
Bump the version in the release checklist.
|
2014-04-10 21:07:20 -04:00 |
|
Eric Haszlakiewicz
|
784534a31f
|
Eliminate the deprecated mc_abort() function and MC_ABORT macro.
|
2014-03-22 21:48:34 -04:00 |
|
Eric Haszlakiewicz
|
f9136f6852
|
Make the json_tokener_errors array local. It has been deprecated for a while, and json_tokener_error_desc() should be used instead.
|
2014-03-22 21:41:24 -04:00 |
|
Eric Haszlakiewicz
|
936d036ea3
|
Simplify the tests Makefile to avoid repeating the name of each test.
|
2014-03-22 21:40:37 -04:00 |
|
Eric Haszlakiewicz
|
e2bbb5664c
|
Rename the "test_case" test to "test_charcase" to make it slightly less confusing.
|
2014-03-22 21:15:41 -04:00 |
|
Eric Haszlakiewicz
|
9f26d96f09
|
Fix warnings from autoconf about "...no AC_LANG_SOURCE call detected..." by adding that call within the AC_LINK_IFELSE call.
|
2014-03-22 19:15:01 -04:00 |
|
Eric Haszlakiewicz
|
05da316b9c
|
Issue #103: allow Infinity and -Infinity to be parsed.
|
2014-03-22 17:28:40 -04:00 |
|
Eric Haszlakiewicz
|
217bc29352
|
Merge pull request #123 from fingon/use-NAN-if-available
nan function requires -lm on some platforms - use of NAN is better, if available
|
2014-03-22 13:39:36 -04:00 |
|
Eric Haszlakiewicz
|
0eedf3802f
|
Issue#102 - add support for parsing "NaN".
|
2014-03-09 16:41:33 -04:00 |
|
Eric Haszlakiewicz
|
e6f1322b5e
|
Issue#114: check for the presence of isnan and isinf, and provide compat macros on MSCV where _isnan and _finite exist instead.
|
2014-03-02 12:16:37 -05:00 |
|
Eric Haszlakiewicz
|
db117ca02b
|
Merge pull request #121 from TazeTSchnitzel/LowercaseLiterals
Missing lowercase literals test
|
2014-02-12 13:37:17 -05:00 |
|
Eric Haszlakiewicz
|
4c086dfff7
|
Merge commit '89535bb'
|
2014-02-11 23:57:24 -05:00 |
|
Eric Haszlakiewicz
|
020fa65724
|
Merge pull request #112 from TazeTSchnitzel/LowercaseLiterals
Only allow lowercase literals in STRICT mode
|
2014-02-11 23:21:50 -05:00 |
|
Eric Haszlakiewicz
|
56df93d128
|
Fix Issue #111: Fix off-by-one error when range checking the input to json_tokener_error_desc().
|
2014-02-11 23:16:53 -05:00 |
|
Eric Haszlakiewicz
|
ceeaf42bc8
|
Merge pull request #109 from kdopen/use_strtod
Avoid potential overflow in json_object_get_double
|
2014-02-11 23:13:19 -05:00 |
|
Eric Haszlakiewicz
|
b821f0e10f
|
Merge branch 'ebassi-master'
|
2014-02-11 23:06:19 -05:00 |
|
Eric Haszlakiewicz
|
c8e0497d47
|
Merge branch 'master' of https://github.com/ebassi/json-c into ebassi-master
Conflicts:
Makefile.am
|
2014-02-11 23:05:54 -05:00 |
|
Eric Haszlakiewicz
|
295bea21d0
|
Ignore and cleanup a few more files that automake creates.
|
2014-02-11 23:03:46 -05:00 |
|
Eric Haszlakiewicz
|
a2c078fc6e
|
Issue#105: Rename configure.in to configure.ac
|
2014-02-11 22:55:52 -05:00 |
|
Eric Haszlakiewicz
|
c8ee919642
|
Remove the old libjson.so name compatibility support. The library is only created as libjson-c.so now and headers are only installed into the ${prefix}/json-c directory.
|
2014-02-11 22:49:59 -05:00 |
|
Eric Haszlakiewicz
|
06450206c4
|
Issue #59: change the floating point output format to %.17g so values with more than 6 digits show up in the output.
|
2013-09-11 21:09:43 -05:00 |
|
Eric Haszlakiewicz
|
a23caf677c
|
Use sizeof instead of hard coded values when calling snprintf.
|
2013-09-11 20:28:56 -05:00 |
|
Eric Haszlakiewicz
|
51993c28c2
|
Added a json_object_new_double_s() convenience function to allow an exact string representation of a double to be specified when creating the object and use it in json_tokener_parse_ex() so a re-serialized object more exactly matches the input.
Add json_object_free_userdata() and json_object_userdata_to_json_string() too.
|
2013-09-11 20:27:39 -05:00 |
|
Eric Haszlakiewicz
|
b83e0f1182
|
Ignore the test-driver script that is now created, and the script for the test_locale test.
|
2013-09-08 17:30:54 -05:00 |
|
Eric Haszlakiewicz
|
60e4990d1d
|
The updated test driver creates .log and .trs files; ignore them.
|
2013-09-08 17:23:24 -05:00 |
|
Eric Haszlakiewicz
|
8d18815f8a
|
strndup is gone, remove it from the README file.
|
2013-09-08 17:21:52 -05:00 |
|
Eric Haszlakiewicz
|
b939bd3768
|
Merge pull request #97 from pascal-bach/master
Add const qualifiers to json_object_to_file and json_object_to_file_ext
|
2013-09-08 13:36:40 -07:00 |
|
Eric Haszlakiewicz
|
ef43fe3571
|
Merge pull request #96 from rouault/remove_strdnup
Remove redefinition of strndup() which is no longer used in the codebase
|
2013-09-08 13:35:28 -07:00 |
|
Eric Haszlakiewicz
|
a030120c55
|
Merge pull request #95 from rouault/extern_json_object_set_serializer
Add extern to json_object_set_serializer so that it gets exported (Windows fix)
|
2013-09-08 13:33:22 -07:00 |
|
Eric Haszlakiewicz
|
02aa6f01f4
|
Merge pull request #94 from remicollet/issue-strict2
more strictness
|
2013-09-08 13:29:05 -07:00 |
|
Eric Haszlakiewicz
|
8356ecc16b
|
Merge pull request #93 from tmielika/master
fixing problem that isinf(-Inf) can be 1 or -1
|
2013-09-08 13:26:56 -07:00 |
|
Eric Haszlakiewicz
|
bd42b8310d
|
Merge pull request #104 from rouault/fix_json_tokener_error_desc_out_of_bounds_read
Fix potential out-of-bounds read in json_tokener_error_desc
|
2013-09-08 13:20:08 -07:00 |
|
Eric Haszlakiewicz
|
b3bce4d594
|
Eliminate use of MC_ABORT in json-c code, and mark MC_ABORT/mc_abort deprecated.
Also adjust an error message in json_util to make it unique. Fixes #87.
|
2013-06-29 15:31:18 -05:00 |
|
Eric Haszlakiewicz
|
be002fbb96
|
Issue#84: explicitly remove old headers and include/json directory so creating the compat symlink can work.
|
2013-06-29 15:21:04 -05:00 |
|
Eric Haszlakiewicz
|
c62965660b
|
Fix the _MSC_VER check so it compiles on non-windows compilers. Issue#91
|
2013-06-23 19:12:14 -05:00 |
|
Eric Haszlakiewicz
|
5e8df40523
|
Mention that libtoolize is needed if you're not using a release tarball.
|
2013-06-23 18:55:02 -05:00 |
|
Eric Haszlakiewicz
|
d032aad1f4
|
Minor spell check.
|
2013-06-19 09:14:19 -05:00 |
|
Eric Haszlakiewicz
|
8b1bdbb94d
|
Merge pull request #90 from remicollet/issue-strict
in strick mode, number must not start with 0
|
2013-06-19 07:13:21 -07:00 |
|
Eric Haszlakiewicz
|
98a62a7652
|
Merge pull request #89 from ayanes/master
Support NaN and Infinity
|
2013-06-18 21:18:27 -07:00 |
|
Eric Haszlakiewicz
|
b6539d6e90
|
Merge pull request #88 from weltling/master
Several MSVC fixes
|
2013-06-18 21:16:04 -07:00 |
|
Eric Haszlakiewicz
|
e48a25cfbb
|
Issue #76: use old style comment to allow json_object_iterator.h to build in ansi mode.
|
2013-04-30 09:47:19 -05:00 |
|
Eric Haszlakiewicz
|
e843616cc6
|
Fill in the instructions for update the gh-pages branch.
|
2013-04-02 21:36:28 -05:00 |
|
Eric Haszlakiewicz
|
4207147c24
|
Bump the versions for the non-release branch; add a placeholder section to the change log.
|
2013-04-02 21:22:59 -05:00 |
|
Eric Haszlakiewicz
|
20db5a4e84
|
Fill in a number of missing steps in the release process.
|
2013-04-02 21:21:38 -05:00 |
|
Eric Haszlakiewicz
|
7ca1e523f0
|
Merge branch 'master' of https://github.com/json-c/json-c
|
2013-03-31 20:58:54 -05:00 |
|
Eric Haszlakiewicz
|
0e81b21dc8
|
Bump up the version in the release checklist to 0.11
|
2013-03-31 20:58:30 -05:00 |
|
Eric Haszlakiewicz
|
eee744cd7e
|
Update the changelog with changes since the 0.10 release.
|
2013-03-31 20:57:08 -05:00 |
|
Eric Haszlakiewicz
|
f1b684971d
|
Update config.h.in to add the HAVE_SETLOCALE and HAVE_LOCALE_H lines.
|
2013-03-31 20:34:28 -05:00 |
|
Eric Haszlakiewicz
|
e8161a11bb
|
Issue #15: add a way to set a JSON_TOKENER_STRICT flag to forbid commas at the end of arrays and objects.
|
2013-03-31 20:05:36 -05:00 |
|
Eric Haszlakiewicz
|
889400d946
|
Merge pull request #73 from ghazel/master
one definition of json_object_object_foreach only works on c99 and later
|
2013-03-23 17:06:03 -07:00 |
|
Eric Haszlakiewicz
|
5ec65e43b2
|
Merge pull request #71 from WillDignazio/master
Fix Broken Build, Check ADVANCE_CHAR
|
2013-03-15 21:19:48 -07:00 |
|
Eric Haszlakiewicz
|
b64d5ab966
|
Merge pull request #70 from tg--/master
rename AM_CONFIG_HEADER to AC_CONFIG_HEADER
|
2013-03-03 20:34:34 -08:00 |
|
Eric Haszlakiewicz
|
1aa29b655a
|
Issue #68: use -std=gnu99 because some versions of gcc seem to think that -std=c99 also implies -ansi, which causes warnings and build breakage.
|
2013-03-03 22:26:28 -06:00 |
|
Eric Haszlakiewicz
|
94aeed2ecd
|
Include the test_locale test in the tests that run.
|
2013-02-26 21:14:07 -06:00 |
|
Eric Haszlakiewicz
|
5b36a432c8
|
Merge branch 'remicollet-issue-float'
Conflicts:
json_util.c
|
2013-02-26 21:09:10 -06:00 |
|
Eric Haszlakiewicz
|
9b64c05ff9
|
Mark the "val" variable in json_object_object_foreach as unused so the compiler doesn't complain. Fix warnings in the testReplaceExisting test.
|
2013-02-21 12:32:29 -06:00 |
|
Eric Haszlakiewicz
|
bfb329223a
|
Add a runtime check to see if parse_int64 needs to workaround sscanf bugs. If that workaround is not needed parsing is nearly twice as fast.
|
2013-02-09 17:35:33 -06:00 |
|
Eric Haszlakiewicz
|
ca8b27d183
|
Enable -Werror and fix a number of minor warnings that existed.
|
2013-02-09 16:35:24 -06:00 |
|
Eric Haszlakiewicz
|
92d289f5d3
|
Add a comment briefly describing json_object_object_length()
|
2013-02-09 16:18:05 -06:00 |
|