You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

ChangeLog 8.5 kB

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