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 7.7 kB

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