Eric Haszlakiewicz [Sun, 22 Apr 2012 19:13:01 +0000 (14:13 -0500)]
Add a test for the printbuf functions.
Eric Haszlakiewicz [Sun, 22 Apr 2012 15:48:30 +0000 (10:48 -0500)]
Use a different variable when referring to the json.la file, since the original lib_LTLIBRARIES means something special to automake.
Eric Haszlakiewicz [Sun, 22 Apr 2012 15:33:41 +0000 (10:33 -0500)]
Move the rest of the tests into the tests subdirectory.
Eric Haszlakiewicz [Sun, 22 Apr 2012 15:27:50 +0000 (10:27 -0500)]
Create a tests subdirectory and move one of the test to there.
Eric Haszlakiewicz [Tue, 3 Apr 2012 19:54:25 +0000 (14:54 -0500)]
Fix some bugs with how buffer sizes were being calcuated in printbuf_memset and an off-by-one error in printbuf_memappend.
Eric Haszlakiewicz [Tue, 3 Apr 2012 19:48:15 +0000 (14:48 -0500)]
Remove the "#undef PRINTBUF_DEBUG" from printbuf.h so it can be more easily turned on in the Makefile.
Eric Haszlakiewicz [Mon, 2 Apr 2012 20:39:55 +0000 (15:39 -0500)]
Add a printbuf_memset() function to provide an effecient way to set and append things like whitespace indentation.
Eric Haszlakiewicz [Sun, 1 Apr 2012 04:17:31 +0000 (23:17 -0500)]
Direct people to send bug reports to the json-c google group.
Eric Haszlakiewicz [Sun, 1 Apr 2012 04:17:00 +0000 (23:17 -0500)]
Remove a few more things in the distclean target to get rid of *all* generated files.
Eric Haszlakiewicz [Sun, 1 Apr 2012 03:53:43 +0000 (22:53 -0500)]
Fix a bug in json_tokener_parse_ex when re-using the same tokener to parse multiple objects. Now, json_tokener_reset() does not need to be called after a valid object is parsed.
Eric Haszlakiewicz [Sun, 1 Apr 2012 03:51:39 +0000 (22:51 -0500)]
Split the json_tokener_parse tests off from test1 into their own test and add several more cases to check various incremental parsing situations.
Eric Haszlakiewicz [Sun, 1 Apr 2012 03:49:58 +0000 (22:49 -0500)]
For the prototype for json_tokener_error_desc().
Eric Haszlakiewicz [Sun, 1 Apr 2012 03:47:47 +0000 (22:47 -0500)]
Mention json_type_to_name() in the docs for json_object_get_type().
Eric Haszlakiewicz [Sat, 31 Mar 2012 22:33:58 +0000 (17:33 -0500)]
Define a LH_LOAD_FACTOR constant and note the range that it can be set to.
Change the resize check from "count > size" to "count >= size" to avoid a
potential infinite loop with high load factors and a full hash table.
Eric Haszlakiewicz [Sat, 31 Mar 2012 18:47:28 +0000 (13:47 -0500)]
Adjust json_object_is_type and json_object_get_type so they return json_type_null for NULL objects.
Eric Haszlakiewicz [Sat, 31 Mar 2012 18:12:20 +0000 (11:12 -0700)]
Merge pull request #16 from kdopen/master
Renaming the boolean type to json_bool in json_object.h
Eric Haszlakiewicz [Sat, 31 Mar 2012 17:55:52 +0000 (12:55 -0500)]
Ignore several more files, include .o's, .lo's, etc...
Eric Haszlakiewicz [Sat, 31 Mar 2012 17:52:59 +0000 (12:52 -0500)]
Perform better error checking in json_tokener_parse_verbose and rewrite json_tokener_parse to use that instead of json_tokener_parse_ex.
Fix a typo in the string represenations of the json_tokener_error_depth error (s/to deep/too deep/)
Keith Derrick [Mon, 26 Mar 2012 21:29:31 +0000 (14:29 -0700)]
Rename boolean type to json_bool
In building large systems, there are often clashes over the
preferred base type to use for bool/boolean. At least one
experience has been with a 3rd party proprietary library which
can not be changed. In that case, boolean was a synonym for
unsigned char and used widely in packed structures.
Eric Haszlakiewicz [Wed, 22 Feb 2012 14:24:40 +0000 (08:24 -0600)]
Add json_tokener_get_error() and json_tokener_error_desc() to better encapsulate the process of retrieving errors while parsing.
Add documentation for the json_tokener_parse_ex() function.
Eric Haszlakiewicz [Thu, 16 Feb 2012 02:44:54 +0000 (20:44 -0600)]
Include json_inttypes.h in json_object.h since we use types like int32_t in the API and some systems need that header to compile.
As part of this create a public json_config.h with a custom define to
decide whether to include inttypes.h to avoid conflicting with other
projects config.h header.
Eric Haszlakiewicz [Thu, 16 Feb 2012 01:38:07 +0000 (19:38 -0600)]
Merge branch 'master' of https://github.com/json-c/json-c
Eric Haszlakiewicz [Thu, 16 Feb 2012 01:37:04 +0000 (19:37 -0600)]
Issue#10: add some const qualifiers so test1 compiles again.
Eric Haszlakiewicz [Thu, 16 Feb 2012 01:11:47 +0000 (17:11 -0800)]
Merge pull request #12 from jameinel/win32-project
Some updates to make the code compatible with VC 9 (2008)
John Arbash Meinel [Wed, 1 Feb 2012 08:27:49 +0000 (09:27 +0100)]
Some updates to make the code compatible with VC 9 (2008)
VC 9 doesn't support late variable declarations, and doesn't have inttypes
so we need some direct definitions of a couple of more types.
Eric Haszlakiewicz [Sun, 29 Jan 2012 23:49:48 +0000 (15:49 -0800)]
Merge pull request #11 from deweerdt/master
json_tokener_parse(): avoid possible NULL deref
Frederik Deweerdt [Thu, 19 Jan 2012 01:01:19 +0000 (17:01 -0800)]
json_tokener_parse(): avoid possible NULL deref
Eric Haszlakiewicz [Fri, 9 Dec 2011 22:42:41 +0000 (14:42 -0800)]
Merge pull request #7 from federicoculloca/master
Added capitals to characters to json_hex_chars
Eric Haszlakiewicz [Fri, 9 Dec 2011 22:41:40 +0000 (14:41 -0800)]
Merge pull request #8 from mstorsjo/mingw
Add -no-undefined to the libtool flags
Martin Storsjo [Fri, 25 Nov 2011 21:43:25 +0000 (23:43 +0200)]
Add -no-undefined to the libtool flags
This allows building DLLs for windows - libtool doesn't even
try to do that unless this flag is specified.
Federico Culloca [Sun, 30 Oct 2011 11:13:15 +0000 (12:13 +0100)]
Added capitalized charaters to json_hex_chars
Eric Haszlakiewicz [Thu, 13 Oct 2011 00:42:36 +0000 (17:42 -0700)]
Merge pull request #4 from deweerdt/master
Add new json_object_array_sort function
Frederik Deweerdt [Fri, 7 Oct 2011 19:07:18 +0000 (21:07 +0200)]
Add new json_object_array_sort function
- uses libc's qsort to sort the arraylist
- add test in test1.c
Eric Haszlakiewicz [Tue, 14 Jun 2011 15:01:27 +0000 (10:01 -0500)]
Add an initial (incomplete) release checklist.
Eric Haszlakiewicz [Tue, 14 Jun 2011 14:56:00 +0000 (09:56 -0500)]
Add Jehiah and myself to the list of authors.
Michael Clark [Tue, 14 Jun 2011 02:04:24 +0000 (10:04 +0800)]
Update README files with pointers to new github repo and googlegroups mailing list
Jehiah Czebotar [Thu, 26 May 2011 01:34:52 +0000 (01:34 +0000)]
handle NULL passed to json_objct_object_get
Patch via Nikola Pajkovsky
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@75
327403b1-1117-474d-bef2-
5cb71233fd97
Jehiah Czebotar [Wed, 25 May 2011 04:49:20 +0000 (04:49 +0000)]
move definition of json_object_iter to public header to enable external use of json_object_object_foreachC
Patch from Rick Moran <https://github.com/DrHayt>
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@74
327403b1-1117-474d-bef2-
5cb71233fd97
Eric Haszlakiewicz [Tue, 3 May 2011 21:28:11 +0000 (21:28 +0000)]
Set the svn:executable property so running the test_null test works properly.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@73
327403b1-1117-474d-bef2-
5cb71233fd97
Eric Haszlakiewicz [Tue, 3 May 2011 21:19:55 +0000 (21:19 +0000)]
Note the json-c home page in the README file.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@72
327403b1-1117-474d-bef2-
5cb71233fd97
Eric Haszlakiewicz [Tue, 3 May 2011 21:17:50 +0000 (21:17 +0000)]
Note a few recent changes in the ChangeLog.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@71
327403b1-1117-474d-bef2-
5cb71233fd97
Eric Haszlakiewicz [Tue, 3 May 2011 21:12:17 +0000 (21:12 +0000)]
Bump up the libtool library version to "1:0:1" (aka libjson.0.1.0) since the API has been extended, but is still backwards compatible..
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@70
327403b1-1117-474d-bef2-
5cb71233fd97
Eric Haszlakiewicz [Tue, 3 May 2011 21:09:30 +0000 (21:09 +0000)]
Bump the version to 0.10, since that's what we were at.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@69
327403b1-1117-474d-bef2-
5cb71233fd97
Eric Haszlakiewicz [Tue, 3 May 2011 20:42:25 +0000 (20:42 +0000)]
Add a test_cast test case. This checks that the casting that is implied when calling the various json_object_get_FOO() functions on a differently typed object works correctly.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@68
327403b1-1117-474d-bef2-
5cb71233fd97
Eric Haszlakiewicz [Tue, 3 May 2011 20:40:49 +0000 (20:40 +0000)]
Add a json_type_to_name() function which returns a string that describes the type. Useful for logging.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@67
327403b1-1117-474d-bef2-
5cb71233fd97
Eric Haszlakiewicz [Tue, 3 May 2011 20:39:07 +0000 (20:39 +0000)]
Fix a bug in json_object_get_int() where calling it on a string type object would always return 0, instead of the actual numerical value of the string.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@66
327403b1-1117-474d-bef2-
5cb71233fd97
Eric Haszlakiewicz [Tue, 3 May 2011 19:24:07 +0000 (19:24 +0000)]
Add a dummy "NEWS" file to automake doesn't complain.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@65
327403b1-1117-474d-bef2-
5cb71233fd97
Jehiah Czebotar [Fri, 14 Jan 2011 18:02:00 +0000 (18:02 +0000)]
readme updates
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@64
327403b1-1117-474d-bef2-
5cb71233fd97
Jehiah Czebotar [Fri, 14 Jan 2011 17:23:06 +0000 (17:23 +0000)]
update json_object_new_string_len, json_escape_str (internal). Writer handles \x00 correctly
Added parse_null test. This does not change anything with how the parser handles \u0000 or null characters
This commit is addapted from one by Adomas Paltanavičius <adomas@leanholding.com>
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@63
327403b1-1117-474d-bef2-
5cb71233fd97
Jehiah Czebotar [Wed, 8 Dec 2010 03:52:07 +0000 (03:52 +0000)]
add json_tokener_parse_verbose, and return NULL on parser errors
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@62
327403b1-1117-474d-bef2-
5cb71233fd97
Jehiah Czebotar [Tue, 7 Dec 2010 23:22:33 +0000 (23:22 +0000)]
set svn:ignore and .gitignore to skip intermediate build files
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@61
327403b1-1117-474d-bef2-
5cb71233fd97
ehaszla [Tue, 7 Dec 2010 18:15:35 +0000 (18:15 +0000)]
Simplify things by storing integer values only as int64_t's internally, and
omit the range check during parsing since we already have the checks when
accessing the value. There is no longer a json_type_int64, only json_type_int.
Fix some problems with parsing 0 and -0 values, and add a couple of tests.
Fix some minor compile issues on HPUX environments.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@60
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Wed, 13 Oct 2010 14:10:51 +0000 (14:10 +0000)]
* Fix file descriptor leak if memory allocation fails in json_util
Zachary Blair, zack_blair at hotmail dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@59
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Wed, 13 Oct 2010 14:09:41 +0000 (14:09 +0000)]
* Fix file descriptor leak if memory allocation fails in json_util
Zachary Blair, zack_blair at hotmail dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@58
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Thu, 7 Oct 2010 01:05:14 +0000 (01:05 +0000)]
Update executable properties
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@57
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Wed, 6 Oct 2010 16:39:20 +0000 (16:39 +0000)]
* Add int64 support. Two new functions json_object_net_int64 and
json_object_get_int64. Binary compatibility preserved.
Eric Haszlakiewicz, EHASZLA at transunion com
Rui Miguel Silva Seabra, rms at 1407 dot org
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@56
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Thu, 27 Aug 2009 06:40:59 +0000 (06:40 +0000)]
* Make json_object_from_file take const char *filename
Spotted by Vikram Raj V, vsagar at attinteractive dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@55
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Thu, 27 Aug 2009 06:40:00 +0000 (06:40 +0000)]
* Fix subtle bug in linkhash where lookup could hang after all slots
were filled then successively freed.
Spotted by Jean-Marc Naud, j dash m at newtraxtech dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@54
327403b1-1117-474d-bef2-
5cb71233fd97
Brent Miller [Thu, 20 Aug 2009 06:50:22 +0000 (06:50 +0000)]
* Add handling of surrogate pairs
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@53
327403b1-1117-474d-bef2-
5cb71233fd97
Brent Miller [Thu, 20 Aug 2009 06:41:32 +0000 (06:41 +0000)]
* Correct comment describing printbuf_memappend in printbuf.h
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@52
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Wed, 19 Aug 2009 08:31:29 +0000 (08:31 +0000)]
Add json-c.vcproj to EXTRA_DIST
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@51
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Wed, 19 Aug 2009 08:18:25 +0000 (08:18 +0000)]
Add mailing lists to README.html
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@50
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Wed, 19 Aug 2009 07:23:23 +0000 (07:23 +0000)]
Add note about autoconf README changes to ChangeLog
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@49
327403b1-1117-474d-bef2-
5cb71233fd97
Christopher Watford [Fri, 31 Jul 2009 02:59:02 +0000 (02:59 +0000)]
Add README.html, README-WIN32.html and config.h.win32 to EXTRA_DIST in Makefile.am
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@47
327403b1-1117-474d-bef2-
5cb71233fd97
Christopher Watford [Fri, 31 Jul 2009 02:50:48 +0000 (02:50 +0000)]
Update version to 0.9
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@46
327403b1-1117-474d-bef2-
5cb71233fd97
Christopher Watford [Fri, 31 Jul 2009 02:12:46 +0000 (02:12 +0000)]
Update changelog
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@45
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Sat, 25 Jul 2009 00:21:18 +0000 (00:21 +0000)]
typo fix
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@44
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Sat, 25 Jul 2009 00:13:44 +0000 (00:13 +0000)]
* Rename min and max so we can never clash with C or C++ std library
Ian Atha, thatha at yahoo-inc dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@43
327403b1-1117-474d-bef2-
5cb71233fd97
Christopher Watford [Wed, 8 Jul 2009 04:02:05 +0000 (04:02 +0000)]
Add const qualifier to the json_tokener_parse functions
Eric Haszlakiewicz, EHASZLA at transunion dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@42
327403b1-1117-474d-bef2-
5cb71233fd97
Christopher Watford [Wed, 8 Jul 2009 03:46:10 +0000 (03:46 +0000)]
Erik Hovland (3):
Fix any noticeable spelling or grammar errors.
Make sure every va_start has a va_end.
Check all pointers for validity.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@41
327403b1-1117-474d-bef2-
5cb71233fd97
Christopher Watford [Tue, 30 Jun 2009 03:40:53 +0000 (03:40 +0000)]
Disable REFCOUNT_DEBUG by default in json_object.c
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@40
327403b1-1117-474d-bef2-
5cb71233fd97
Christopher Watford [Tue, 12 May 2009 02:40:24 +0000 (02:40 +0000)]
Ooops. remove literal ^M (copy and paste problem)
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@39
327403b1-1117-474d-bef2-
5cb71233fd97
Christopher Watford [Tue, 12 May 2009 02:36:04 +0000 (02:36 +0000)]
Change note about CVS repository to point to subversion repos
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@38
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Mon, 27 Apr 2009 08:22:22 +0000 (08:22 +0000)]
update changelog for json_object_get_boolean fix
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@36
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Mon, 27 Apr 2009 08:19:27 +0000 (08:19 +0000)]
Fix json_object_get_boolean to return false for empty string
Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@35
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Mon, 27 Apr 2009 08:16:58 +0000 (08:16 +0000)]
optimizations to json_tokener_parse_ex(), printbuf_memappend()
-- Brent Miller, bdmiller at yahoo dash inc dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@34
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Wed, 25 Feb 2009 02:31:32 +0000 (02:31 +0000)]
* Don't use this as a variable, so we can compile with a C++ compiler
* Add casts from void* to type of assignment when using malloc
* Add #ifdef __cplusplus guards to all of the headers
* Add typedefs for json_object, json_tokener, array_list, printbuf, lh_table
Michael Clark, <michael@metaparadigm.com>
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@33
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Wed, 25 Feb 2009 01:55:31 +0000 (01:55 +0000)]
* Don't use this as a variable, so we can compile with a C++ compiler
Michael Clark, <michael@metaparadigm.com>
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@32
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Wed, 25 Feb 2009 01:51:40 +0000 (01:51 +0000)]
* Null pointer dereference fix. Fix json_object_get_boolean strlen test
to not return TRUE for zero length string. Remove redundant includes.
Erik Hovland, erik at hovland dot org
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@31
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Wed, 25 Feb 2009 01:45:00 +0000 (01:45 +0000)]
* Fixed warning reported by adding -Wstrict-prototypes
-Wold-style-definition to the compilatin flags.
Dotan Barak, dotanba at gmail dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@30
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Sat, 10 Jan 2009 14:14:12 +0000 (14:14 +0000)]
fix typo
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@29
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Sat, 10 Jan 2009 13:58:06 +0000 (13:58 +0000)]
fix typo in json_object.h
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@28
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Tue, 6 Jan 2009 22:56:57 +0000 (22:56 +0000)]
Add const correctness to public interfaces
Gerard Krol, g dot c dot krol at student dot tudelft dot nl
Update version number to 0.9
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@27
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Tue, 6 Jan 2009 22:53:25 +0000 (22:53 +0000)]
update auto generated files
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@26
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Mon, 5 Jan 2009 07:01:14 +0000 (07:01 +0000)]
Update version to 0.8
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@25
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Mon, 5 Jan 2009 06:55:02 +0000 (06:55 +0000)]
changes to make 'make dist' work properly
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@24
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Mon, 5 Jan 2009 03:57:59 +0000 (03:57 +0000)]
Add va_end for every va_start.
Dotan Barak, dotanba at gmail dot com
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@23
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Fri, 8 Aug 2008 06:54:28 +0000 (06:54 +0000)]
change version to 0.8
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@22
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Sat, 26 Jan 2008 01:10:47 +0000 (01:10 +0000)]
fix to allow compile with -Werror
-- Geoffrey Young, geoff at modperlcookbook dot org
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@21
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Fri, 7 Dec 2007 02:50:42 +0000 (02:50 +0000)]
Patch allows for json-c compile with -Werror and not fail due to
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
Geoffrey Young, geoff at modperlcookbook dot org
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@20
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Fri, 7 Dec 2007 02:44:24 +0000 (02:44 +0000)]
* Fix bug with use of capital E in numbers with exponents
Mateusz Loskot, mateusz at loskot dot net
* Add stddef.h include
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@19
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Thu, 25 Oct 2007 02:26:00 +0000 (02:26 +0000)]
* Add macros to enable compiling out debug code
Geoffrey Young, geoff at modperlcookbook dot org
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@18
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Thu, 17 May 2007 13:30:29 +0000 (13:30 +0000)]
Update version number to 0.7
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@17
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Tue, 13 Mar 2007 08:26:26 +0000 (08:26 +0000)]
* Add escaping of backslash to json output
* Add escaping of foward slash on tokenizing and output
* Changes to internal tokenizer from using recursion to
using a depth state structure to allow incremental parsing
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@14
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Tue, 13 Mar 2007 08:26:25 +0000 (08:26 +0000)]
* Fix bug in escaping of control characters
Johan Bj�rklund, johbjo09 at kth dot se
* Remove include "config.h" from headers (should only
be included from .c files)
Michael Clark <michael@metaparadigm.com>
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@12
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Tue, 13 Mar 2007 08:26:23 +0000 (08:26 +0000)]
* Make headers C++ compatible by change *this to *obj
* Add ifdef C++ extern "C" to headers
* Use simpler definition of min and max in bits.h
Larry Lansing, llansing at fuzzynerd dot com
* Remove automake 1.6 requirement
* Move autogen commands into autogen.sh. Update README
* Remove error pointer special case for Windows
* Change license from LGPL to MIT
Michael Clark <michael@metaparadigm.com>
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@10
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Tue, 13 Mar 2007 08:26:22 +0000 (08:26 +0000)]
* Fix additional error case in object parsing
* Add back sign reversal in nested object parse as error pointer
value is negative, while error value is positive.
Michael Clark <michael@metaparadigm.com>
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@8
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Tue, 13 Mar 2007 08:26:21 +0000 (08:26 +0000)]
* fix pointer arithmetic bug for error pointer check in is_error() macro
* fix type passed to printbuf_memappend in json_tokener
* update autotools bootstrap instructions in README
Michael Clark <michael@metaparadigm.com>
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@6
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Tue, 13 Mar 2007 08:26:20 +0000 (08:26 +0000)]
* printbuf.c - C. Watford (christopher dot watford at gmail dot com)
Added a Win32/Win64 compliant implementation of vasprintf
* debug.c - C. Watford (christopher dot watford at gmail dot com)
Removed usage of vsyslog on Win32/Win64 systems, needs to be handled
by a configure script
* json_object.c - C. Watford (christopher dot watford at gmail dot com)
Added scope operator to wrap usage of json_object_object_foreach, this
needs to be rethought to be more ANSI C friendly
* json_object.h - C. Watford (christopher dot watford at gmail dot com)
Added Microsoft C friendly version of json_object_object_foreach
* json_tokener.c - C. Watford (christopher dot watford at gmail dot com)
Added a Win32/Win64 compliant implementation of strndup
* json_util.c - C. Watford (christopher dot watford at gmail dot com)
Added cast and mask to suffice size_t v. unsigned int conversion
correctness
* json_tokener.c - sign reversal issue on error info for nested object parse
spotted by Johan Bj�rklund (johbjo09 at kth.se)
* json_object.c - escape " in json_escape_str
* Change to automake and libtool to build shared and static library
Michael Clark <michael@metaparadigm.com>
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@4
327403b1-1117-474d-bef2-
5cb71233fd97
Michael Clark [Tue, 13 Mar 2007 08:26:18 +0000 (08:26 +0000)]
import of version 0.1
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@2
327403b1-1117-474d-bef2-
5cb71233fd97