Branch for 2.0 and bump to 0.10 ver
[profile/ivi/json-c.git] / ChangeLog
1 0.10
2
3   * Add a json_object_to_json_string_ext() function to allow output to be
4      formatted in a more human readable form.
5   * Add json_object_object_get_ex(), a NULL-safe get object method, to be able
6      to distinguish between a key not present and the value being NULL.
7   * Add an alternative iterator implementation, see json_object_iterator.h
8   * Make json_object_iter public to enable external use of the
9      json_object_object_foreachC macro.
10   * Add a printbuf_memset() function to provide an effecient way to set and
11      append things like whitespace indentation.
12   * Adjust json_object_is_type and json_object_get_type so they return
13       json_type_null for NULL objects and handle NULL passed to
14       json_objct_object_get().
15   * Rename boolean type to json_bool.
16   * Fix various compile issues for Visual Studio and MinGW.
17   * Allow json_tokener_parse_ex() to be re-used to parse multiple object.
18      Also, fix some parsing issues with capitalized hexadecimal numbers and
19      number in E notation.
20   * Add json_tokener_get_error() and json_tokener_error_desc() to better 
21      encapsulate the process of retrieving errors while parsing.
22   * Various improvements to the documentation of many functions.
23   * Add new json_object_array_sort() function.
24   * Fix a bug in json_object_get_int(), which would incorrectly return 0
25     when called on a string type object.
26     Eric Haszlakiewicz
27   * Add a json_type_to_name() function.
28     Eric Haszlakiewicz
29   * Add a json_tokener_parse_verbose() function.
30     Jehiah Czebotar
31   * Improve support for null bytes within JSON strings.
32     Jehiah Czebotar
33   * Fix file descriptor leak if memory allocation fails in json_util
34     Zachary Blair, zack_blair at hotmail dot com
35   * Add int64 support. Two new functions json_object_net_int64 and
36     json_object_get_int64. Binary compatibility preserved.
37     Eric Haszlakiewicz, EHASZLA at transunion com
38     Rui Miguel Silva Seabra, rms at 1407 dot org
39   * Fix subtle bug in linkhash where lookup could hang after all slots
40     were filled then successively freed.
41     Spotted by Jean-Marc Naud, j dash m at newtraxtech dot com
42   * Make json_object_from_file take const char *filename
43     Spotted by Vikram Raj V, vsagar at attinteractive dot com
44   * Add handling of surrogate pairs (json_tokener.c, test4.c, Makefile.am)
45     Brent Miller, bdmiller at yahoo dash inc dot com
46   * Correction to comment describing printbuf_memappend in printbuf.h
47     Brent Miller, bdmiller at yahoo dash inc dot com
48
49 0.9
50   * Add README.html README-WIN32.html config.h.win32 to Makefile.am
51     Michael Clark, <michael@metaparadigm.com>
52   * Add const qualifier to the json_tokener_parse functions
53     Eric Haszlakiewicz, EHASZLA at transunion dot com
54   * Rename min and max so we can never clash with C or C++ std library
55     Ian Atha, thatha at yahoo dash inc dot com
56   * Fix any noticeable spelling or grammar errors.
57   * Make sure every va_start has a va_end.
58   * Check all pointers for validity.
59     Erik Hovland, erik at hovland dot org
60   * Fix json_object_get_boolean to return false for empty string
61     Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com
62   * optimizations to json_tokener_parse_ex(), printbuf_memappend()
63     Brent Miller, bdmiller at yahoo dash inc dot com
64   * Disable REFCOUNT_DEBUG by default in json_object.c
65   * Don't use this as a variable, so we can compile with a C++ compiler
66   * Add casts from void* to type of assignment when using malloc 
67   * Add #ifdef __cplusplus guards to all of the headers
68   * Add typedefs for json_object, json_tokener, array_list, printbuf, lh_table
69     Michael Clark, <michael@metaparadigm.com>
70   * Null pointer dereference fix. Fix json_object_get_boolean strlen test
71     to not return TRUE for zero length string. Remove redundant includes.
72     Erik Hovland, erik at hovland dot org
73   * Fixed warning reported by adding -Wstrict-prototypes
74     -Wold-style-definition to the compilatin flags.
75     Dotan Barak, dotanba at gmail dot com
76   * Add const correctness to public interfaces
77     Gerard Krol, g dot c dot krol at student dot tudelft dot nl
78
79 0.8
80   * Add va_end for every va_start
81     Dotan Barak, dotanba at gmail dot com
82   * Add macros to enable compiling out debug code
83     Geoffrey Young, geoff at modperlcookbook dot org
84   * Fix bug with use of capital E in numbers with exponents
85     Mateusz Loskot, mateusz at loskot dot net
86   * Add stddef.h include
87   * Patch allows for json-c compile with -Werror and not fail due to
88     -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
89     Geoffrey Young, geoff at modperlcookbook dot org
90
91 0.7
92   * Add escaping of backslash to json output
93   * Add escaping of foward slash on tokenizing and output
94   * Changes to internal tokenizer from using recursion to
95     using a depth state structure to allow incremental parsing
96
97 0.6
98   * Fix bug in escaping of control characters
99     Johan Björklund, johbjo09 at kth dot se
100   * Remove include "config.h" from headers (should only
101     be included from .c files)
102     Michael Clark <michael@metaparadigm.com>
103
104 0.5
105   * Make headers C++ compatible by change *this to *obj
106   * Add ifdef C++ extern "C" to headers
107   * Use simpler definition of min and max in bits.h
108     Larry Lansing, llansing at fuzzynerd dot com
109
110   * Remove automake 1.6 requirement
111   * Move autogen commands into autogen.sh. Update README
112   * Remove error pointer special case for Windows
113   * Change license from LGPL to MIT
114     Michael Clark <michael@metaparadigm.com>
115
116 0.4
117   * Fix additional error case in object parsing
118   * Add back sign reversal in nested object parse as error pointer
119     value is negative, while error value is positive.
120     Michael Clark <michael@metaparadigm.com>
121
122 0.3
123   * fix pointer arithmetic bug for error pointer check in is_error() macro
124   * fix type passed to printbuf_memappend in json_tokener
125   * update autotools bootstrap instructions in README
126     Michael Clark <michael@metaparadigm.com>
127
128 0.2
129   * printbuf.c - C. Watford (christopher.watford@gmail.com)
130     Added a Win32/Win64 compliant implementation of vasprintf
131   * debug.c - C. Watford (christopher.watford@gmail.com)
132     Removed usage of vsyslog on Win32/Win64 systems, needs to be handled
133     by a configure script
134   * json_object.c - C. Watford (christopher.watford@gmail.com)
135     Added scope operator to wrap usage of json_object_object_foreach, this
136     needs to be rethought to be more ANSI C friendly
137   * json_object.h - C. Watford (christopher.watford@gmail.com)
138     Added Microsoft C friendly version of json_object_object_foreach
139   * json_tokener.c - C. Watford (christopher.watford@gmail.com)
140     Added a Win32/Win64 compliant implementation of strndup
141   * json_util.c - C. Watford (christopher.watford@gmail.com)
142     Added cast and mask to suffice size_t v. unsigned int conversion
143     correctness 
144   * json_tokener.c - sign reversal issue on error info for nested object parse
145     spotted by Johan Björklund (johbjo09 at kth.se)
146   * json_object.c - escape " in json_escape_str
147   * Change to automake and libtool to build shared and static library
148     Michael Clark <michael@metaparadigm.com>
149         
150 0.1
151   * initial release