platform/upstream/json-c.git
15 years agoAdd README.html, README-WIN32.html and config.h.win32 to EXTRA_DIST in Makefile.am
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

15 years agoUpdate version to 0.9
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

15 years agoUpdate changelog
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

15 years agotypo fix
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

15 years ago * Rename min and max so we can never clash with C or C++ std library
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

15 years ago Add const qualifier to the json_tokener_parse functions
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

15 years agoErik Hovland (3):
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

15 years agoDisable REFCOUNT_DEBUG by default in json_object.c
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

15 years agoOoops. remove literal ^M (copy and paste problem)
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

15 years agoChange note about CVS repository to point to subversion repos
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

15 years agoupdate changelog for json_object_get_boolean fix
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

15 years agoFix json_object_get_boolean to return false for empty string
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

15 years agooptimizations to json_tokener_parse_ex(), printbuf_memappend()
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

15 years ago * Don't use this as a variable, so we can compile with a C++ compiler
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

15 years ago * Don't use this as a variable, so we can compile with a C++ compiler
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

15 years ago * Null pointer dereference fix. Fix json_object_get_boolean strlen test
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

15 years ago * Fixed warning reported by adding -Wstrict-prototypes
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

15 years agofix typo
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

15 years agofix typo in json_object.h
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

15 years agoAdd const correctness to public interfaces
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

15 years agoupdate auto generated files
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

15 years agoUpdate version to 0.8
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

15 years agochanges to make 'make dist' work properly
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

15 years agoAdd va_end for every va_start.
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

16 years agochange version to 0.8
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

16 years agofix to allow compile with -Werror
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

16 years agoPatch allows for json-c compile with -Werror and not fail due to
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

16 years ago* Fix bug with use of capital E in numbers with exponents
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

16 years ago* Add macros to enable compiling out debug code
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

17 years agoUpdate version number to 0.7
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

17 years ago * Add escaping of backslash to json output
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

17 years ago * Fix bug in escaping of control characters
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

17 years ago * Make headers C++ compatible by change *this to *obj
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

17 years ago * Fix additional error case in object parsing
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

17 years ago * fix pointer arithmetic bug for error pointer check in is_error() macro
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

17 years ago * printbuf.c - C. Watford (christopher dot watford at gmail dot com)
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

17 years agoimport of version 0.1
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

17 years agocreate new svn project
Michael Clark [Tue, 13 Mar 2007 08:26:17 +0000 (08:26 +0000)]
create new svn project

git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@1 327403b1-1117-474d-bef2-5cb71233fd97