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.2 kB

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