From 1c0a3b2a556be9800e307413d41d4f040d1db062 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Thu, 31 Mar 2011 16:59:26 +0300 Subject: [PATCH] jansson 2.0.1 --- CHANGES | 31 +++++++++++++++++++++++++++++++ configure.ac | 2 +- doc/conf.py | 2 +- src/Makefile.am | 2 +- src/jansson.h | 4 ++-- 5 files changed, 36 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index d68018b..3434e48 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,34 @@ +Version 2.0.1 +============= + +Released 2011-03-31 + +* Bug fixes: + + - Replace a few `malloc()` and `free()` calls with their + counterparts that support custom memory management. + + - Fix object key hashing in json_unpack() strict checking mode. + + - Fix the parentheses in JANSSON_VERSION_HEX macro. + + - Fix `json_object_size()` return value. + + - Fix a few compilation issues. + +* Portability: + + - Enhance portability of `va_copy()`. + + - Test framework portability enhancements. + +* Documentation: + + - Distribute ``doc/upgrading.rst`` with the source tarball. + + - Build documentation in strict mode in ``make distcheck``. + + Version 2.0 =========== diff --git a/configure.ac b/configure.ac index 6ff975e..1802d0d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.60]) -AC_INIT([jansson], [2.0], [petri@digip.org]) +AC_INIT([jansson], [2.0.1], [petri@digip.org]) AM_INIT_AUTOMAKE([1.10 foreign]) diff --git a/doc/conf.py b/doc/conf.py index c8911ab..6a811b4 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -50,7 +50,7 @@ copyright = u'2009-2011, Petri Lehtinen' # The short X.Y version. version = '2.0' # The full version, including alpha/beta/rc tags. -release = '2.0' +release = '2.0.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/src/Makefile.am b/src/Makefile.am index 4f2a58d..8a74868 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,7 +17,7 @@ libjansson_la_SOURCES = \ value.c libjansson_la_LDFLAGS = \ -export-symbols-regex '^json_' \ - -version-info 4:0:0 + -version-info 4:1:0 if GCC # These flags are gcc specific diff --git a/src/jansson.h b/src/jansson.h index 0ab0dfd..eb24aed 100644 --- a/src/jansson.h +++ b/src/jansson.h @@ -22,10 +22,10 @@ extern "C" { #define JANSSON_MAJOR_VERSION 2 #define JANSSON_MINOR_VERSION 0 -#define JANSSON_MICRO_VERSION 0 +#define JANSSON_MICRO_VERSION 1 /* Micro version is omitted if it's 0 */ -#define JANSSON_VERSION "2.0" +#define JANSSON_VERSION "2.0.1" /* Version as a 3-byte hex number, e.g. 0x010201 == 1.2.1. Use this for numeric comparisons, e.g. #if JANSSON_VERSION_HEX >= ... */ -- 2.1.4