commit 1cb4ed1fac84026a19b35ce10c54df8a6ed12959 Author: Emmanuele Bassi Date: Fri Sep 9 14:57:13 2011 +0100 Release JSON-GLib 0.13.90 (0.14.0-rc1) NEWS | 2 ++ configure.ac | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-) commit 18a83ddad87c92ae78010c678a516087ba012859 Author: Emmanuele Bassi Date: Fri Sep 9 14:58:17 2011 +0100 build: Fix the path to the 'missing' script Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9f75475871cc8723e0a41d6c8971f741a405cb9f Author: Emmanuele Bassi Date: Fri Sep 9 14:00:36 2011 +0100 reader: Do more strict validation JsonReader should perform more strict validation, and put itself in an error state whenever the user asks for values or information on nodes that are not there, or not of the right type. https://bugzilla.gnome.org/show_bug.cgi?id=658632 json-glib/json-reader.c | 177 ++++++++++++++++++++++++++++++++++++++++------ json-glib/json-reader.h | 10 +++- 2 files changed, 163 insertions(+), 24 deletions(-) commit e7f2d505de39a9dbdea1a5879c13408c7a394a18 Author: Chun-wei Fan Date: Wed Aug 31 13:33:41 2011 +0800 Update Win32 and VS Readme files Tell people about the GNOME Live! page that outlines building JSON-GLib and its dependencies with Visual C++. build/win32/vs10/README.txt | 5 +++++ build/win32/vs9/README.txt | 5 +++++ 2 files changed, 10 insertions(+), 0 deletions(-) commit c2f5b8bc64f9ac06b2dda8662924d88cc759718e Author: Emmanuele Bassi Date: Tue Aug 23 20:42:15 2011 +0100 gobject: Deserialize CONSTRUCT properties While we have to give up deserializing CONSTRUCT_ONLY properties with JsonSerializable, CONSTRUCT properties should just be deserialized like any other property. Sadly, there's still a refuse in the json_gobject_new() code that skips CONSTRUCT properties along with CONSTRUCT_ONLY ones — a remnant of a period when we deserialized them both without JsonSerializable. https://bugzilla.gnome.org/show_bug.cgi?id=655526 json-glib/json-gobject.c | 13 +++++-------- json-glib/tests/serialize-complex.c | 19 ++++++++++++++++++- json-glib/tests/serialize-full.c | 3 ++- 3 files changed, 25 insertions(+), 10 deletions(-) commit bcfac335a8e4086ff6afa5f267f9886a4d1b6370 Author: Tristan Van Berkom Date: Sun Jul 31 02:38:08 2011 -0400 Handle integer to float/double conversions in json_deserialize_pspec() It happens that while serializing that float/double properties are set to round numbers, this results in deserialization as gint64 values and a parse failure. This patch addresses it by accepting round gint64 numbers as valid values for float/double properties. json-glib/json-gobject.c | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) commit 996d89911d71f54f9a476242f1bd43c077d4428c Author: Tristan Van Berkom Date: Wed Jul 13 15:27:07 2011 -0400 Added an additional warning to json_gobject_new() The same warning that is fired when failing to deserialize properties normally needed to be added for the case that we fail to deserialize construct-only properties. json-glib/json-gobject.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit 4315308a19e4cf474451cecf8b69aceddda91f49 Author: Tristan Van Berkom Date: Sat Jul 9 15:23:36 2011 -0400 Avoid serializing default property values only after consulting the JsonSerializable. This patch gives the JsonSerializable class a chance to decide whether it's appropriate to serialize a property before JsonGObject checks for a default value and skips the property. json-glib/json-gobject.c | 10 ++-------- json-glib/json-serializable.c | 4 ++++ 2 files changed, 6 insertions(+), 8 deletions(-) commit 4ba9a6a81709221ba58d0f8e067de660eb96914e Author: Tristan Van Berkom Date: Thu Jul 7 16:35:21 2011 -0400 Fixed badly handled fundamental types in json_deserialize_pspec(). This patch fixes json_deserialize_pspec() to return FALSE when failing to deserialize some properties. Consequently the patch ensures we get the intended warnings when failing to deserialize pspecs for some fundamental types: Failed to deserialize property "foo" of type "int" on object "bar" json-glib/json-gobject.c | 42 ++++++++++++++++++++++++++++++------------ 1 files changed, 30 insertions(+), 12 deletions(-) commit 24fa4503ad5d85bf60027bd77c434b2a596b1c17 Author: Laurent Bigonville Date: Wed Jul 6 12:34:56 2011 +0200 Fix GVariant creation on some architectures (bug #650483) Fix casting issue in Gvariant creation on some architectures. json-glib/json-gvariant.c | 46 +++++++++++++++++++++++++++++++++++++++----- 1 files changed, 40 insertions(+), 6 deletions(-) commit dd3c30c5821f9f6bac4cc9016c49c7e6250377eb Author: Emmanuele Bassi Date: Tue Jul 5 15:07:20 2011 +0100 tests/path: Link expressions and results Use a structure to keep the testable expressions and their results together. json-glib/tests/path.c | 74 ++++++++++++++++++++++++++++++----------------- 1 files changed, 47 insertions(+), 27 deletions(-) commit acb33a7e6bd3d05d36e7278fafdcb4c35ec88388 Author: Emmanuele Bassi Date: Tue Jul 5 14:23:13 2011 +0100 build: Replace AC_HELP_STRING with AS_HELP_STRING configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit c296ca9ed06b8e4b54a4bd8003593b3a98b94f6b Author: Emmanuele Bassi Date: Tue Jul 5 14:22:13 2011 +0100 build: Allow m4 substitution for conditional defaults To compensate for AC_HELP_STRING()'s braindamage. configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 1fb457af51a5632956fd679deca0021becb5468b Author: Emmanuele Bassi Date: Tue Jul 5 14:22:01 2011 +0100 build: Clean up configure.ac's preamble configure.ac | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit 75e370e53cb5d31d4a366fc5f126583872f1349a Author: Chun-wei Fan Date: Wed Jun 29 14:29:12 2011 +0800 Added README.txt's for Visual Studio support Added README.txt's and included them in distribution to tell people how JSON-GLib can be build on Windows using Visual C++. build/win32/vs10/Makefile.am | 1 + build/win32/vs10/README.txt | 87 ++++++++++++++++++++++++++++++++++++++++++ build/win32/vs9/Makefile.am | 1 + build/win32/vs9/README.txt | 86 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 175 insertions(+), 0 deletions(-) commit 7da6eb52937588537754be7e0b496f51077165d2 Author: Chun-wei Fan Date: Wed Jun 29 12:54:52 2011 +0800 Re-attempt to correct EOL on VS2010 solution This time I realized that I needed to set autocrlf=false on my Windows side ... ugh... This is one of those files that must have CRLF line endings to work correctly :| build/win32/vs10/json-glib.sln | 332 ++++++++++++++++++++-------------------- 1 files changed, 166 insertions(+), 166 deletions(-) commit 4ef07b2c6e7d4d444f8ec6ce93c27f7189b942a0 Author: Travis Reitter Date: Thu Jun 23 16:54:38 2011 -0700 Link the tests against the appropriate libraries. This avoids some linking failures. Closes: bgo#653295 - json-glib tests need to link against libgobject-2 json-glib/tests/Makefile.am | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit c9ac9ce2d417210ccb06d0445a809ce9cd57c7a5 Author: Chun-wei Fan Date: Mon Jun 20 11:59:57 2011 +0800 Update VS 2010 property sheet Make up for missed backslash build/win32/vs10/json-glib.props | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 230801c694169e50ca45df7df431adbdb89cab18 Author: Chun-wei Fan Date: Mon Jun 20 11:58:03 2011 +0800 Refine Visual C++ 2010 projects Should have realized that my previous commit on Visual C++ 2010 projects (refinement) can be consolidated into the property sheet... build/win32/vs10/array.vcxproj | 8 -------- build/win32/vs10/boxed.vcxproj | 8 -------- build/win32/vs10/builder.vcxproj | 8 -------- build/win32/vs10/generator.vcxproj | 8 -------- build/win32/vs10/gvariant.vcxproj | 10 +--------- build/win32/vs10/json-glib.props | 2 +- build/win32/vs10/json-glib.vcxprojin | 8 -------- build/win32/vs10/node.vcxproj | 10 +--------- build/win32/vs10/object.vcxproj | 10 +--------- build/win32/vs10/parser.vcxproj | 10 +--------- build/win32/vs10/path.vcxproj | 10 +--------- build/win32/vs10/reader.vcxproj | 8 -------- build/win32/vs10/serialize-complex.vcxproj | 8 -------- build/win32/vs10/serialize-full.vcxproj | 8 -------- build/win32/vs10/serialize-simple.vcxproj | 8 -------- 15 files changed, 6 insertions(+), 118 deletions(-) commit d6fdf92ee000666ceb7892151673b4b56517cdd9 Author: Chun-wei Fan Date: Mon Jun 20 01:11:18 2011 +0800 Further refinements to Visual C++ 2010 projects -Seperate the intermediate folders for each configuration so that MSB6003 (cannot write into MSBuild log file as file is in use) errors and other related MSBuild errors can be avoided, and will avoid rebuilding/relinking projects when no sources are changed. -Fixed dependencies for the "install" project build/win32/vs10/array.vcxproj | 8 ++++++-- build/win32/vs10/boxed.vcxproj | 8 ++++++-- build/win32/vs10/builder.vcxproj | 8 ++++++-- build/win32/vs10/generator.vcxproj | 8 ++++++-- build/win32/vs10/gvariant.vcxproj | 9 ++++++++- build/win32/vs10/install.vcxproj | 18 +++++++++--------- build/win32/vs10/json-glib.vcxprojin | 8 ++++++-- build/win32/vs10/node.vcxproj | 8 ++++++-- build/win32/vs10/object.vcxproj | 8 ++++++-- build/win32/vs10/parser.vcxproj | 8 ++++++-- build/win32/vs10/path.vcxproj | 9 ++++++++- build/win32/vs10/reader.vcxproj | 8 ++++++-- build/win32/vs10/serialize-complex.vcxproj | 8 ++++++-- build/win32/vs10/serialize-full.vcxproj | 8 ++++++-- build/win32/vs10/serialize-simple.vcxproj | 8 ++++++-- 15 files changed, 97 insertions(+), 35 deletions(-) commit 8518effca75d2249b8186083b950644ba4098d47 Author: Chun-wei Fan Date: Mon Jun 20 00:13:29 2011 +0800 VS 2008 project files update Update RootNamespace as well for consistency sake. Thanks to Emmanuele for updating the VS9 projects earlier due to the changes in the filenames of the test sources build/win32/vs9/array.vcproj | 2 +- build/win32/vs9/boxed.vcproj | 2 +- build/win32/vs9/builder.vcproj | 2 +- build/win32/vs9/generator.vcproj | 2 +- build/win32/vs9/gvariant.vcproj | 2 +- build/win32/vs9/node.vcproj | 2 +- build/win32/vs9/object.vcproj | 2 +- build/win32/vs9/parser.vcproj | 2 +- build/win32/vs9/path.vcproj | 2 +- build/win32/vs9/reader.vcproj | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) commit 49ecbb4e2449ad55623fb46a0072fd1fbaf837e1 Author: Chun-wei Fan Date: Mon Jun 20 00:04:30 2011 +0800 Update VS2010 project files -Reflect on the change of filenames of test sources, and updated dist stuff accordingly. -Clean up projects a little bit. build/win32/vs10/Makefile.am | 36 +++--- build/win32/vs10/array-test.vcxproj | 172 ---------------------- build/win32/vs10/array-test.vcxproj.filters | 14 -- build/win32/vs10/array.vcxproj | 171 ++++++++++++++++++++++ build/win32/vs10/array.vcxproj.filters | 14 ++ build/win32/vs10/boxed.vcxproj | 1 - build/win32/vs10/builder-test.vcxproj | 172 ---------------------- build/win32/vs10/builder-test.vcxproj.filters | 14 -- build/win32/vs10/builder.vcxproj | 171 ++++++++++++++++++++++ build/win32/vs10/builder.vcxproj.filters | 14 ++ build/win32/vs10/generator-test.vcxproj | 172 ---------------------- build/win32/vs10/generator-test.vcxproj.filters | 14 -- build/win32/vs10/generator.vcxproj | 171 ++++++++++++++++++++++ build/win32/vs10/generator.vcxproj.filters | 14 ++ build/win32/vs10/gvariant-test.vcxproj | 159 --------------------- build/win32/vs10/gvariant-test.vcxproj.filters | 14 -- build/win32/vs10/gvariant.vcxproj | 159 +++++++++++++++++++++ build/win32/vs10/gvariant.vcxproj.filters | 14 ++ build/win32/vs10/install.vcxproj | 1 - build/win32/vs10/json-glib.props | 1 - build/win32/vs10/json-glib.sln | 18 ++-- build/win32/vs10/json-glib.vcxprojin | 1 - build/win32/vs10/node-test.vcxproj | 172 ---------------------- build/win32/vs10/node-test.vcxproj.filters | 14 -- build/win32/vs10/node.vcxproj | 171 ++++++++++++++++++++++ build/win32/vs10/node.vcxproj.filters | 14 ++ build/win32/vs10/object-test.vcxproj | 172 ---------------------- build/win32/vs10/object-test.vcxproj.filters | 13 -- build/win32/vs10/object.vcxproj | 171 ++++++++++++++++++++++ build/win32/vs10/object.vcxproj.filters | 13 ++ build/win32/vs10/parser-test.vcxproj | 172 ---------------------- build/win32/vs10/parser-test.vcxproj.filters | 14 -- build/win32/vs10/parser.vcxproj | 171 ++++++++++++++++++++++ build/win32/vs10/parser.vcxproj.filters | 14 ++ build/win32/vs10/path-test.vcxproj | 159 --------------------- build/win32/vs10/path-test.vcxproj.filters | 14 -- build/win32/vs10/path.vcxproj | 159 +++++++++++++++++++++ build/win32/vs10/path.vcxproj.filters | 14 ++ build/win32/vs10/reader-test.vcxproj | 173 ----------------------- build/win32/vs10/reader-test.vcxproj.filters | 14 -- build/win32/vs10/reader.vcxproj | 172 ++++++++++++++++++++++ build/win32/vs10/reader.vcxproj.filters | 14 ++ build/win32/vs10/serialize-complex.vcxproj | 1 - build/win32/vs10/serialize-full.vcxproj | 1 - build/win32/vs10/serialize-simple.vcxproj | 1 - 45 files changed, 1668 insertions(+), 1682 deletions(-) commit 54711b3e093e00457a355926516ba87c8171f17d Author: Emmanuele Bassi Date: Sun Jun 19 12:18:04 2011 +0100 build/vs9: Update after the changes in json-glib/tests build/win32/vs9/Makefile.am | 24 +++--- build/win32/vs9/array-test.vcproj | 157 ------------------------------- build/win32/vs9/array.vcproj | 157 +++++++++++++++++++++++++++++++ build/win32/vs9/boxed.vcproj | 2 +- build/win32/vs9/builder-test.vcproj | 157 ------------------------------- build/win32/vs9/builder.vcproj | 157 +++++++++++++++++++++++++++++++ build/win32/vs9/generator-test.vcproj | 157 ------------------------------- build/win32/vs9/generator.vcproj | 157 +++++++++++++++++++++++++++++++ build/win32/vs9/gvariant-test.vcproj | 147 ----------------------------- build/win32/vs9/gvariant.vcproj | 147 +++++++++++++++++++++++++++++ build/win32/vs9/json-glib.sln | 18 ++-- build/win32/vs9/node-test.vcproj | 157 ------------------------------- build/win32/vs9/node.vcproj | 157 +++++++++++++++++++++++++++++++ build/win32/vs9/object-test.vcproj | 155 ------------------------------ build/win32/vs9/object.vcproj | 155 ++++++++++++++++++++++++++++++ build/win32/vs9/parser-test.vcproj | 166 --------------------------------- build/win32/vs9/parser.vcproj | 166 +++++++++++++++++++++++++++++++++ build/win32/vs9/path-test.vcproj | 147 ----------------------------- build/win32/vs9/path.vcproj | 147 +++++++++++++++++++++++++++++ build/win32/vs9/reader-test.vcproj | 158 ------------------------------- build/win32/vs9/reader.vcproj | 158 +++++++++++++++++++++++++++++++ 21 files changed, 1423 insertions(+), 1423 deletions(-) commit 78e896c64e8cbccf1b55291521f11a3f5093080a Author: Emmanuele Bassi Date: Sun Jun 19 12:08:03 2011 +0100 build: Rename test binaries It's pointless to add the '-test' suffix to files under the tests/ directory. json-glib/tests/Makefile.am | 18 +- json-glib/tests/array-test.c | 122 ------ json-glib/tests/array.c | 122 ++++++ json-glib/tests/builder-test.c | 161 -------- json-glib/tests/builder.c | 161 ++++++++ json-glib/tests/generator-test.c | 330 ---------------- json-glib/tests/generator.c | 330 ++++++++++++++++ json-glib/tests/gvariant-test.c | 233 ----------- json-glib/tests/gvariant.c | 233 +++++++++++ json-glib/tests/node-test.c | 112 ------ json-glib/tests/node.c | 112 ++++++ json-glib/tests/object-test.c | 165 -------- json-glib/tests/object.c | 165 ++++++++ json-glib/tests/parser-test.c | 785 -------------------------------------- json-glib/tests/parser.c | 785 ++++++++++++++++++++++++++++++++++++++ json-glib/tests/path-test.c | 143 ------- json-glib/tests/path.c | 143 +++++++ json-glib/tests/reader-test.c | 134 ------- json-glib/tests/reader.c | 134 +++++++ 19 files changed, 2194 insertions(+), 2194 deletions(-) commit cef1f16cec529eeb03338f995a8b3d32b262df8b Author: Emmanuele Bassi Date: Sun Jun 19 12:00:01 2011 +0100 docs: Add index for symbols added in the 0.13 cycle doc/reference/json-glib-docs.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit cc2543e101ca8fa41989bc8eb296f8d11b5b9cad Author: Emmanuele Bassi Date: Wed Jun 15 11:30:28 2011 +0100 build: Add tar-ustar and silent-rules automake options The tar-ustar format allows longer file names and other niceties — though a format ratified in a standard from 1988 is still judged as "possibly not widespread enough". I weep for the future of humanity and software engineering. The silent-rules option is just added to avoid using AM_SILENT_RULES() on a separate line. configure.ac | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit c106aa5b0fc0ca408328b95ba721eef6a9d560d2 Author: Emmanuele Bassi Date: Wed Jun 15 11:12:38 2011 +0100 Post-release version bump to 0.13.5 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)