blob: 5d2c9af5b7d42b13a82a188628a0c2fecf33b066 [file] [log] [blame]
Michael Clarkf5dd43a2009-08-27 06:40:00 +000010.10
Eric Haszlakiewicz20707f42011-05-03 21:17:50 +00002 * Fix a bug in json_object_get_int(), which would incorrectly return 0
3 when called on a string type object.
4 Eric Haszlakiewicz
5 * Add a json_type_to_name() function.
6 Eric Haszlakiewicz
7 * Add a json_tokener_parse_verbose() function.
8 Jehiah Czebotar
9 * Improve support for null bytes within JSON strings.
10 Jehiah Czebotar
Michael Clarkbd0a5672010-10-13 14:09:41 +000011 * Fix file descriptor leak if memory allocation fails in json_util
12 Zachary Blair, zack_blair at hotmail dot com
Michael Clarkc4dceae2010-10-06 16:39:20 +000013 * Add int64 support. Two new functions json_object_net_int64 and
14 json_object_get_int64. Binary compatibility preserved.
15 Eric Haszlakiewicz, EHASZLA at transunion com
16 Rui Miguel Silva Seabra, rms at 1407 dot org
Michael Clarkf5dd43a2009-08-27 06:40:00 +000017 * Fix subtle bug in linkhash where lookup could hang after all slots
18 were filled then successively freed.
19 Spotted by Jean-Marc Naud, j dash m at newtraxtech dot com
20 * Make json_object_from_file take const char *filename
21 Spotted by Vikram Raj V, vsagar at attinteractive dot com
Brent Miller126ad952009-08-20 06:50:22 +000022 * Add handling of surrogate pairs (json_tokener.c, test4.c, Makefile.am)
23 Brent Miller, bdmiller at yahoo dash inc dot com
Brent Millerf8663fc2009-08-20 06:41:32 +000024 * Correction to comment describing printbuf_memappend in printbuf.h
25 Brent Miller, bdmiller at yahoo dash inc dot com
26
Michael Clark68cafad2009-01-06 22:56:57 +0000270.9
Michael Clark09abeff2009-08-19 07:23:23 +000028 * Add README.html README-WIN32.html config.h.win32 to Makefile.am
29 Michael Clark, <michael@metaparadigm.com>
Christopher Watfordb22565d2009-07-31 02:12:46 +000030 * Add const qualifier to the json_tokener_parse functions
31 Eric Haszlakiewicz, EHASZLA at transunion dot com
Michael Clark7fb9b032009-07-25 00:13:44 +000032 * Rename min and max so we can never clash with C or C++ std library
Michael Clarkc80ba8d2009-07-25 00:21:18 +000033 Ian Atha, thatha at yahoo dash inc dot com
Christopher Watford543bb142009-07-08 03:46:10 +000034 * Fix any noticeable spelling or grammar errors.
35 * Make sure every va_start has a va_end.
36 * Check all pointers for validity.
37 Erik Hovland, erik at hovland dot org
Michael Clark24ea8c02009-04-27 08:22:22 +000038 * Fix json_object_get_boolean to return false for empty string
39 Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com
Michael Clark95f55a72009-04-27 08:16:58 +000040 * optimizations to json_tokener_parse_ex(), printbuf_memappend()
41 Brent Miller, bdmiller at yahoo dash inc dot com
Christopher Watfordc5cbf822009-06-30 03:40:53 +000042 * Disable REFCOUNT_DEBUG by default in json_object.c
Michael Clark266a3fd2009-02-25 01:55:31 +000043 * Don't use this as a variable, so we can compile with a C++ compiler
Michael Clarkaaec1ef2009-02-25 02:31:32 +000044 * Add casts from void* to type of assignment when using malloc
45 * Add #ifdef __cplusplus guards to all of the headers
46 * Add typedefs for json_object, json_tokener, array_list, printbuf, lh_table
Michael Clark266a3fd2009-02-25 01:55:31 +000047 Michael Clark, <michael@metaparadigm.com>
Michael Clark22dee7c2009-02-25 01:51:40 +000048 * Null pointer dereference fix. Fix json_object_get_boolean strlen test
49 to not return TRUE for zero length string. Remove redundant includes.
50 Erik Hovland, erik at hovland dot org
Michael Clarke8de0782009-02-25 01:45:00 +000051 * Fixed warning reported by adding -Wstrict-prototypes
52 -Wold-style-definition to the compilatin flags.
53 Dotan Barak, dotanba at gmail dot com
Michael Clark68cafad2009-01-06 22:56:57 +000054 * Add const correctness to public interfaces
55 Gerard Krol, g dot c dot krol at student dot tudelft dot nl
56
Michael Clarkdfaf6702007-10-25 02:26:00 +0000570.8
Michael Clark8cdac642009-01-05 03:57:59 +000058 * Add va_end for every va_start
59 Dotan Barak, dotanba at gmail dot com
Michael Clarkdfaf6702007-10-25 02:26:00 +000060 * Add macros to enable compiling out debug code
61 Geoffrey Young, geoff at modperlcookbook dot org
Michael Clarkc8f4a6e2007-12-07 02:44:24 +000062 * Fix bug with use of capital E in numbers with exponents
63 Mateusz Loskot, mateusz at loskot dot net
64 * Add stddef.h include
Michael Clark14862b12007-12-07 02:50:42 +000065 * Patch allows for json-c compile with -Werror and not fail due to
66 -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
67 Geoffrey Young, geoff at modperlcookbook dot org
Michael Clarkdfaf6702007-10-25 02:26:00 +000068
Michael Clarka850f8e2007-03-13 08:26:26 +0000690.7
70 * Add escaping of backslash to json output
71 * Add escaping of foward slash on tokenizing and output
72 * Changes to internal tokenizer from using recursion to
73 using a depth state structure to allow incremental parsing
74
Michael Clark837240f2007-03-13 08:26:25 +0000750.6
76 * Fix bug in escaping of control characters
77 Johan Björklund, johbjo09 at kth dot se
78 * Remove include "config.h" from headers (should only
79 be included from .c files)
80 Michael Clark <michael@metaparadigm.com>
81
Michael Clarkf6a6e482007-03-13 08:26:23 +0000820.5
83 * Make headers C++ compatible by change *this to *obj
84 * Add ifdef C++ extern "C" to headers
85 * Use simpler definition of min and max in bits.h
86 Larry Lansing, llansing at fuzzynerd dot com
87
88 * Remove automake 1.6 requirement
89 * Move autogen commands into autogen.sh. Update README
90 * Remove error pointer special case for Windows
91 * Change license from LGPL to MIT
92 Michael Clark <michael@metaparadigm.com>
93
Michael Clark0370baa2007-03-13 08:26:22 +0000940.4
95 * Fix additional error case in object parsing
96 * Add back sign reversal in nested object parse as error pointer
97 value is negative, while error value is positive.
98 Michael Clark <michael@metaparadigm.com>
99
Michael Clark7b899b62007-03-13 08:26:21 +00001000.3
101 * fix pointer arithmetic bug for error pointer check in is_error() macro
102 * fix type passed to printbuf_memappend in json_tokener
103 * update autotools bootstrap instructions in README
104 Michael Clark <michael@metaparadigm.com>
105
Michael Clark4504df72007-03-13 08:26:20 +00001060.2
107 * printbuf.c - C. Watford (christopher.watford@gmail.com)
108 Added a Win32/Win64 compliant implementation of vasprintf
109 * debug.c - C. Watford (christopher.watford@gmail.com)
110 Removed usage of vsyslog on Win32/Win64 systems, needs to be handled
111 by a configure script
112 * json_object.c - C. Watford (christopher.watford@gmail.com)
113 Added scope operator to wrap usage of json_object_object_foreach, this
114 needs to be rethought to be more ANSI C friendly
115 * json_object.h - C. Watford (christopher.watford@gmail.com)
116 Added Microsoft C friendly version of json_object_object_foreach
117 * json_tokener.c - C. Watford (christopher.watford@gmail.com)
118 Added a Win32/Win64 compliant implementation of strndup
119 * json_util.c - C. Watford (christopher.watford@gmail.com)
120 Added cast and mask to suffice size_t v. unsigned int conversion
121 correctness
122 * json_tokener.c - sign reversal issue on error info for nested object parse
123 spotted by Johan Björklund (johbjo09 at kth.se)
124 * json_object.c - escape " in json_escape_str
125 * Change to automake and libtool to build shared and static library
126 Michael Clark <michael@metaparadigm.com>
127
1280.1
129 * initial release