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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. 0.10
  2. * 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
  11. * Fix file descriptor leak if memory allocation fails in json_util
  12. Zachary Blair, zack_blair at hotmail dot com
  13. * 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
  17. * 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
  22. * Add handling of surrogate pairs (json_tokener.c, test4.c, Makefile.am)
  23. Brent Miller, bdmiller at yahoo dash inc dot com
  24. * Correction to comment describing printbuf_memappend in printbuf.h
  25. Brent Miller, bdmiller at yahoo dash inc dot com
  26. 0.9
  27. * Add README.html README-WIN32.html config.h.win32 to Makefile.am
  28. Michael Clark, <michael@metaparadigm.com>
  29. * Add const qualifier to the json_tokener_parse functions
  30. Eric Haszlakiewicz, EHASZLA at transunion dot com
  31. * Rename min and max so we can never clash with C or C++ std library
  32. Ian Atha, thatha at yahoo dash inc dot com
  33. * Fix any noticeable spelling or grammar errors.
  34. * Make sure every va_start has a va_end.
  35. * Check all pointers for validity.
  36. Erik Hovland, erik at hovland dot org
  37. * Fix json_object_get_boolean to return false for empty string
  38. Spotted by Vitaly Kruglikov, Vitaly dot Kruglikov at palm dot com
  39. * optimizations to json_tokener_parse_ex(), printbuf_memappend()
  40. Brent Miller, bdmiller at yahoo dash inc dot com
  41. * Disable REFCOUNT_DEBUG by default in json_object.c
  42. * Don't use this as a variable, so we can compile with a C++ compiler
  43. * Add casts from void* to type of assignment when using malloc
  44. * Add #ifdef __cplusplus guards to all of the headers
  45. * Add typedefs for json_object, json_tokener, array_list, printbuf, lh_table
  46. Michael Clark, <michael@metaparadigm.com>
  47. * Null pointer dereference fix. Fix json_object_get_boolean strlen test
  48. to not return TRUE for zero length string. Remove redundant includes.
  49. Erik Hovland, erik at hovland dot org
  50. * Fixed warning reported by adding -Wstrict-prototypes
  51. -Wold-style-definition to the compilatin flags.
  52. Dotan Barak, dotanba at gmail dot com
  53. * Add const correctness to public interfaces
  54. Gerard Krol, g dot c dot krol at student dot tudelft dot nl
  55. 0.8
  56. * Add va_end for every va_start
  57. Dotan Barak, dotanba at gmail dot com
  58. * Add macros to enable compiling out debug code
  59. Geoffrey Young, geoff at modperlcookbook dot org
  60. * Fix bug with use of capital E in numbers with exponents
  61. Mateusz Loskot, mateusz at loskot dot net
  62. * Add stddef.h include
  63. * Patch allows for json-c compile with -Werror and not fail due to
  64. -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
  65. Geoffrey Young, geoff at modperlcookbook dot org
  66. 0.7
  67. * Add escaping of backslash to json output
  68. * Add escaping of foward slash on tokenizing and output
  69. * Changes to internal tokenizer from using recursion to
  70. using a depth state structure to allow incremental parsing
  71. 0.6
  72. * Fix bug in escaping of control characters
  73. Johan Bjrklund, johbjo09 at kth dot se
  74. * Remove include "config.h" from headers (should only
  75. be included from .c files)
  76. Michael Clark <michael@metaparadigm.com>
  77. 0.5
  78. * Make headers C++ compatible by change *this to *obj
  79. * Add ifdef C++ extern "C" to headers
  80. * Use simpler definition of min and max in bits.h
  81. Larry Lansing, llansing at fuzzynerd dot com
  82. * Remove automake 1.6 requirement
  83. * Move autogen commands into autogen.sh. Update README
  84. * Remove error pointer special case for Windows
  85. * Change license from LGPL to MIT
  86. Michael Clark <michael@metaparadigm.com>
  87. 0.4
  88. * Fix additional error case in object parsing
  89. * Add back sign reversal in nested object parse as error pointer
  90. value is negative, while error value is positive.
  91. Michael Clark <michael@metaparadigm.com>
  92. 0.3
  93. * fix pointer arithmetic bug for error pointer check in is_error() macro
  94. * fix type passed to printbuf_memappend in json_tokener
  95. * update autotools bootstrap instructions in README
  96. Michael Clark <michael@metaparadigm.com>
  97. 0.2
  98. * printbuf.c - C. Watford (christopher.watford@gmail.com)
  99. Added a Win32/Win64 compliant implementation of vasprintf
  100. * debug.c - C. Watford (christopher.watford@gmail.com)
  101. Removed usage of vsyslog on Win32/Win64 systems, needs to be handled
  102. by a configure script
  103. * json_object.c - C. Watford (christopher.watford@gmail.com)
  104. Added scope operator to wrap usage of json_object_object_foreach, this
  105. needs to be rethought to be more ANSI C friendly
  106. * json_object.h - C. Watford (christopher.watford@gmail.com)
  107. Added Microsoft C friendly version of json_object_object_foreach
  108. * json_tokener.c - C. Watford (christopher.watford@gmail.com)
  109. Added a Win32/Win64 compliant implementation of strndup
  110. * json_util.c - C. Watford (christopher.watford@gmail.com)
  111. Added cast and mask to suffice size_t v. unsigned int conversion
  112. correctness
  113. * json_tokener.c - sign reversal issue on error info for nested object parse
  114. spotted by Johan Bjrklund (johbjo09 at kth.se)
  115. * json_object.c - escape " in json_escape_str
  116. * Change to automake and libtool to build shared and static library
  117. Michael Clark <michael@metaparadigm.com>
  118. 0.1
  119. * initial release