1 commit 5c42cb97cf78c04017a0a95d5a97b615c07c4107
2 Author: Emmanuele Bassi <ebassi@gnome.org>
3 Date: Fri Jul 29 10:53:02 2016 +0100
5 Release JSON-GLib 1.2.2
9 2 files changed, 3 insertions(+), 2 deletions(-)
11 commit 184391215f3f4f2d2b1435b1f82446c4532fe0a2
12 Author: Piotr Drąg <piotrdrag@gmail.com>
13 Date: Sat Jul 23 22:33:15 2016 +0200
15 Add Language headers to po files
17 Future versions of gettext will fail if this header is missing.
19 po/ca@valencia.po | 2 +-
28 9 files changed, 9 insertions(+), 8 deletions(-)
30 commit 9c65113d9a61724b777ef038e789432a85cb7aca
31 Author: Anders Jonsson <anders.jonsson@norsjovallen.se>
32 Date: Tue Jul 19 21:28:56 2016 +0000
34 Updated Swedish translation
36 po/sv.po | 58 +++++++++++++++++++++++++++++-----------------------------
37 1 file changed, 29 insertions(+), 29 deletions(-)
39 commit cf30bc6fdb61ab6cb858306dda9f3eb1e66e3586
40 Author: Cédric Valmary <cvalmary@yahoo.fr>
41 Date: Mon May 30 19:39:19 2016 +0000
43 Updated Occitan translation
46 1 file changed, 1 insertion(+), 1 deletion(-)
48 commit fde984c8845d5b13fa8e0ac5bfdbb4dfc20872b4
49 Author: Cédric Valmary <cvalmary@yahoo.fr>
50 Date: Mon May 9 20:54:01 2016 +0000
52 Updated Occitan translation
54 po/oc.po | 59 ++++++++++++++++++++++++++++++-----------------------------
55 1 file changed, 30 insertions(+), 29 deletions(-)
57 commit c2f43c6fb5d702a8037cf28fc9318367c4140b84
58 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
59 Date: Mon Mar 7 14:16:44 2016 +0800
61 MSVC builds: Look for headers in include/gio-win32-2.0
63 gio.h is going to include headers from include/gio-win32-2.0 at some
64 point, so make sure we look for headers from there as well during the
67 build/win32/vs10/json-glib-build-defines.props | 4 ++--
68 build/win32/vs9/json-glib-build-defines.vsprops | 4 ++--
69 2 files changed, 4 insertions(+), 4 deletions(-)
71 commit 3a91387198ad5474f5b1af5744fb7496584769b6
72 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
73 Date: Mon Jan 4 14:26:49 2016 +0800
75 MSVC builds: Improve introspection builds on MSVC
77 This changes the introspection build process on MSVC by moving the
78 source/header list generation from using a Python script to generating
79 the list (and the full command lines for g-ir-scanner and g-ir-compiler)
80 using the common autotools module, to make it more easily maintained.
82 build/win32/Makefile.am | 34 ++++++--
83 build/win32/detectenv-msvc.mak | 76 ++++++++++++++++++
84 build/win32/detectenv_msvc.mak | 65 ---------------
85 build/win32/gen-file-list-jsonglib.py | 115 ---------------------------
86 build/win32/introspection-msvc.mak | 79 ++++++++++--------
87 build/win32/json-glib-introspection-msvc.mak | 40 ++--------
88 json-glib/Makefile.am | 26 +++++-
89 7 files changed, 181 insertions(+), 254 deletions(-)
91 commit 8e80c2ce026421f0f8b50f71a28693e9a8cae535
92 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
93 Date: Mon Jan 4 14:02:51 2016 +0800
95 MSVC builds: Add support for Visual Studio 2012-2015
97 This adds support for Visual Studio 2012-2015 by making use of the
98 common autotools module to copy the Visual Studio 2010 projects and
99 updating the (few) items in there for providing build support for the
100 newer Visual Studio versions out-of-the-box, as the formats of the
101 project files used in these releases are largely the same.
103 build/win32/Makefile.am | 2 +-
104 build/win32/vs11/Makefile.am | 53 ++++++++++++++++++++++++++++++++++++++++++++
105 build/win32/vs12/Makefile.am | 53 ++++++++++++++++++++++++++++++++++++++++++++
106 build/win32/vs14/Makefile.am | 53 ++++++++++++++++++++++++++++++++++++++++++++
108 5 files changed, 163 insertions(+), 1 deletion(-)
110 commit 5eedb10ae257b48ea4f6650f8b24240a2544b9a6
111 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
112 Date: Mon Jan 4 13:57:29 2016 +0800
114 build: Clean up MSVC-related items in autotools build files
116 This makes use of the common build/Makefile.msvcproj to create the full
117 Visual Studio 2008/2010 project files from their respective templates,
118 while making the autotools files cleaner. As an added benefit, this also
119 enables the list of headers to "install" to be filled in automatically
120 during 'make dist', so that we will have to worry less about the addition
121 or removal of public headers.
123 build/win32/vs10/Makefile.am | 16 +++++++--
124 build/win32/vs10/json-glib-install.props | 54 ----------------------------
125 build/win32/vs10/json-glib-install.propsin | 43 ++++++++++++++++++++++
126 build/win32/vs10/json-glib.vcxproj.filtersin | 2 +-
127 build/win32/vs10/json-glib.vcxprojin | 2 +-
128 build/win32/vs9/Makefile.am | 14 ++++++--
129 build/win32/vs9/json-glib-install.vsprops | 39 --------------------
130 build/win32/vs9/json-glib-install.vspropsin | 26 ++++++++++++++
131 build/win32/vs9/json-glib.vcprojin | 2 +-
132 json-glib/Makefile.am | 51 ++++++++------------------
133 10 files changed, 112 insertions(+), 137 deletions(-)
135 commit d1119d775c5c2c7d630b77ee6855b67f66d92e31
136 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
137 Date: Mon Jan 4 13:49:53 2016 +0800
139 build: Add common autotools modules for MSVC build files
141 This adds autotools modules that are directly copied from (and shared with)
142 the ones that are in GLib and GObject-introspection, where:
144 Makefile.msvcproj: Creates the complete MSVC 2008/2010 project files for
145 building the main JSON-GLib DLL and the property sheets
146 for "installing" JSON-GLib, in particular the headers,
147 aimed to clean up the json-glib/Makefile.am in particular.
149 Makefile-newvs.am: Copies the MSVC 2010 projects and replace the necessary
150 items so that we can support Visual Studio 2012-2015 out
153 Makefile.msvc-introspection: Creates the full NMake Makefile snippet that
154 contains the full command lines for g-ir-scanner
155 and g-ir-compiler to build the introspection
156 files for JSON-GLib for MSVC builds.
158 build/Makefile-newvs.am | 45 ++++++++++++++
159 build/Makefile.msvc-introspection | 125 ++++++++++++++++++++++++++++++++++++++
160 build/Makefile.msvcproj | 107 ++++++++++++++++++++++++++++++++
161 3 files changed, 277 insertions(+)
163 commit 4c2ad10eda3e2cdc2714358f72882b5ac8cbf34f
164 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
165 Date: Tue Apr 19 15:43:53 2016 +0800
167 json-types.h: Add missing JSON_AVAILABLE_IN_1_2
169 The json_node_is_immutable() missed an JSON_AVAILABLE_IN_1_2, causing it
170 not to be exported. Fix this.
172 json-glib/json-types.h | 1 +
173 1 file changed, 1 insertion(+)
175 commit 0e88e1cd971ac129a99ed970fdc7ae792016f88d
176 Author: Fabio Tomat <f.t.public@gmail.com>
177 Date: Fri Apr 8 08:16:05 2016 +0000
179 Updated Friulian translation
181 po/fur.po | 14 +++++++-------
182 1 file changed, 7 insertions(+), 7 deletions(-)
184 commit aafea9253100f41a592622ab562ae7f69cfbf0dc
185 Author: Fabio Tomat <f.t.public@gmail.com>
186 Date: Sat Apr 2 23:32:33 2016 +0000
188 Updated Friulian translation
191 1 file changed, 3 insertions(+), 3 deletions(-)
193 commit f1df1ad6e0dd929c156da58c0570131e4fafe177
194 Author: Fabio Tomat <f.t.public@gmail.com>
195 Date: Wed Mar 23 16:45:53 2016 +0000
197 Updated Friulian translation
199 po/fur.po | 173 +++++++++++++++++++++++++++++++++++++++++++++++++-------------
200 1 file changed, 137 insertions(+), 36 deletions(-)
202 commit b3655eaa245da84c5a6e01f6b65db7c37dc7df3c
203 Author: Emmanuele Bassi <ebassi@gnome.org>
204 Date: Tue Mar 22 16:15:39 2016 +0000
206 Post-release version bump to 1.2.1
208 configure.ac | 4 ++--
209 1 file changed, 2 insertions(+), 2 deletions(-)
211 commit 19f5626b70e72a81dae7ee11b4c3a4d75779a7be
212 Author: Emmanuele Bassi <ebassi@gnome.org>
213 Date: Tue Mar 22 16:14:19 2016 +0000
215 Release JSON-GLib 1.2.0 (stable)
217 configure.ac | 4 ++--
218 1 file changed, 2 insertions(+), 2 deletions(-)
220 commit ae32d238ee2479002d07d7b5b19a482dc31e7ffd
221 Author: Emmanuele Bassi <ebassi@gnome.org>
222 Date: Tue Mar 22 16:01:46 2016 +0000
224 node: Turn a g_debug() call into a JSON_NOTE
226 This allows conditional compilation, and it makes the debugging code
229 json-glib/json-node.c | 9 ++++++++-
230 1 file changed, 8 insertions(+), 1 deletion(-)
232 commit b659345f0fbf08053ae7087c7c2eb25905e61cf3
233 Author: Emmanuele Bassi <ebassi@gnome.org>
234 Date: Tue Mar 22 16:01:25 2016 +0000
236 debug: Add flag for debugging nodes
238 json-glib/json-debug.c | 3 ++-
239 json-glib/json-debug.h | 3 ++-
240 2 files changed, 4 insertions(+), 2 deletions(-)
242 commit 14fa35ca93b1e553c2f50df5527bb17fb84d69d1
243 Author: Emmanuele Bassi <ebassi@gnome.org>
244 Date: Tue Mar 1 18:59:31 2016 +0000
246 Post-release version bump to 1.1.3
249 1 file changed, 1 insertion(+), 1 deletion(-)
251 commit 83965c9474dcd35da6bffaa00f0e715986e70d74
252 Author: Emmanuele Bassi <ebassi@gnome.org>
253 Date: Tue Mar 1 16:16:05 2016 +0000
255 Release JSON-GLib 1.1.2 (snapshot)
257 NEWS | 15 +++++++++++++++
259 2 files changed, 16 insertions(+), 1 deletion(-)
261 commit f0dfe4f84c924953585db3d53c568cfe7813226a
262 Author: Emmanuele Bassi <ebassi@gnome.org>
263 Date: Tue Mar 1 16:18:24 2016 +0000
265 build: Update gitignore generation rule
267 build/autotools/Makefile.am.gitignore | 29 +++++++++++++----------------
268 1 file changed, 13 insertions(+), 16 deletions(-)
270 commit 5e186395aecb256a67a9d06c1749393be681ae38
271 Author: Emmanuele Bassi <ebassi@gnome.org>
272 Date: Tue Mar 1 16:02:28 2016 +0000
274 fixup! docs: Fix the Since tags
276 json-glib/json-types.h | 2 +-
277 1 file changed, 1 insertion(+), 1 deletion(-)
279 commit 438ca10a27f2732173b345a0ca359d1b8f59c2f6
280 Author: Emmanuele Bassi <ebassi@gnome.org>
281 Date: Tue Mar 1 15:05:13 2016 +0000
283 parser: Rename `immutable` bit field
285 json-glib/json-parser.c | 18 +++++++++---------
286 1 file changed, 9 insertions(+), 9 deletions(-)
288 commit a43a9451b0cf9ebc03c651b5688f0fad56e3bacb
289 Author: Emmanuele Bassi <ebassi@gnome.org>
290 Date: Tue Mar 1 15:02:19 2016 +0000
292 docs: Fix the Since tags
294 The newly added API is available since 1.2.
296 json-glib/json-array.c | 8 ++++----
297 json-glib/json-builder.c | 4 ++--
298 json-glib/json-node.c | 20 ++++++++++----------
299 json-glib/json-object.c | 12 ++++++------
300 json-glib/json-parser.c | 4 ++--
301 json-glib/json-value.c | 2 +-
302 6 files changed, 25 insertions(+), 25 deletions(-)
304 commit 6ddbc94c9888e5ddcd1cbb15845d2f1b5524b3ed
305 Author: Philip Withnall <philip.withnall@collabora.co.uk>
306 Date: Tue Mar 1 15:01:07 2016 +0000
308 core: Add JSON node, object, array hashes
310 Now that these objects can be marked as immutable, it is possible to
311 calculate and cache hash values for each of them. This allows efficient
312 hash-based deduplication of large numbers of JSON nodes, as needed by
313 Walbottle for JSON test vector generation.
315 To complement the new hash functions, each of JsonNode, JsonValue,
316 JsonObject and JsonArray also now have an equal() comparison method.
317 This compares them structurally and recursively, using the definition of
318 equality from the JSON Schema specification, which seems as good as any
321 http://json-schema.org/latest/json-schema-core.html#anchor9
323 https://bugzilla.gnome.org/show_bug.cgi?id=756121
325 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
327 doc/reference/json-glib-sections.txt | 11 ++
328 json-glib/json-array.c | 104 ++++++++++++++-
329 json-glib/json-node.c | 245 +++++++++++++++++++++++++++++++++++
330 json-glib/json-object.c | 99 +++++++++++++-
331 json-glib/json-parser.c | 8 +-
332 json-glib/json-types-private.h | 5 +
333 json-glib/json-types.h | 27 ++++
334 json-glib/json-value.c | 45 +++++++
335 8 files changed, 530 insertions(+), 14 deletions(-)
337 commit 1de237a502ceee96df7091c2df4492b8bc08b2c5
338 Author: Philip Withnall <philip.withnall@collabora.co.uk>
339 Date: Sat Nov 7 17:38:22 2015 +0100
341 node: Add json_node_ref() and json_node_unref()
343 Add reference counting semantics to JsonNode, in addition to the
344 existing init/unset and alloc/free semantics.
346 json_node_free() must only be used with nodes allocated using
347 json_node_alloc(). json_node_unref() may be used with all nodes (if
348 correctly paired; it may be paired with json_node_alloc()).
350 It is not valid to call json_node_free() on a node whose reference count
353 https://bugzilla.gnome.org/show_bug.cgi?id=756121
355 doc/reference/json-glib-sections.txt | 2 +
356 json-glib/json-array.c | 6 +-
357 json-glib/json-builder.c | 4 +-
358 json-glib/json-generator.c | 4 +-
359 json-glib/json-gobject.c | 4 +-
360 json-glib/json-gvariant.c | 2 +-
361 json-glib/json-node.c | 129 ++++++++++++++++++++++++++---------
362 json-glib/json-object.c | 4 +-
363 json-glib/json-parser.c | 24 +++----
364 json-glib/json-path.c | 4 +-
365 json-glib/json-reader.c | 4 +-
366 json-glib/json-types-private.h | 13 +++-
367 json-glib/json-types.h | 5 ++
368 13 files changed, 141 insertions(+), 64 deletions(-)
370 commit 58f479b60eb2db4c73605d469d68a8ffd8679327
371 Author: Philip Withnall <philip.withnall@collabora.co.uk>
372 Date: Sat Nov 7 14:17:31 2015 +0100
374 core: Add immutability support to core objects
376 Add an immutable mode to JsonNode, JsonObject, JsonArray and JsonValue.
377 This is an optional mode which objects enter by calling json_*_seal().
378 It is a one-way transition, which means that we can build and manipulate
379 objects as much as desired, before sealing them and enjoying the
380 benefits of immutable objects: no need to take copies when handling
381 them, persistent hash values (still to be implemented).
383 https://bugzilla.gnome.org/show_bug.cgi?id=756121
385 doc/reference/json-glib-sections.txt | 8 +
386 json-glib/json-array.c | 48 ++++++
387 json-glib/json-builder.c | 106 ++++++++++++
388 json-glib/json-builder.h | 2 +
389 json-glib/json-node.c | 127 +++++++++++++-
390 json-glib/json-object.c | 51 ++++++
391 json-glib/json-parser.c | 108 ++++++++++++
392 json-glib/json-parser.h | 2 +
393 json-glib/json-types-private.h | 7 +
394 json-glib/json-types.h | 13 ++
395 json-glib/json-value.c | 23 +++
396 json-glib/tests/node.c | 320 +++++++++++++++++++++++++++++++++++
397 12 files changed, 810 insertions(+), 5 deletions(-)
399 commit a82b93ba60dd0f54660990df86ba0cf7fc74c9a8
400 Author: Cédric Valmary <cvalmary@yahoo.fr>
401 Date: Mon Feb 29 19:41:32 2016 +0000
403 Updated Occitan translation
406 1 file changed, 1 insertion(+), 1 deletion(-)
408 commit 8ff4ca0a807e8bb04081bcf47e7a9951edd70ac9
409 Author: Emmanuele Bassi <ebassi@gnome.org>
410 Date: Mon Feb 29 00:31:57 2016 +0000
412 format: Silence a compiler warning
414 json-glib/json-glib-format.c | 3 ++-
415 1 file changed, 2 insertions(+), 1 deletion(-)
417 commit 130190ed1ca0387b4bc22b15b0e1a910e961c667
418 Author: Emmanuele Bassi <ebassi@gnome.org>
419 Date: Mon Feb 29 00:27:59 2016 +0000
423 GLib can take advantage of the "cleanup" attribute by using a bunch of
424 macro magic. This has been slowly been used across various libraries in
425 the G* stack, so JSON-GLib should provide symbols for the automatic
426 memory management of its types.
428 json-glib/json-builder.h | 4 ++++
429 json-glib/json-generator.h | 4 ++++
430 json-glib/json-parser.h | 4 ++++
431 json-glib/json-path.h | 4 ++++
432 json-glib/json-reader.h | 4 ++++
433 json-glib/json-types.h | 6 ++++++
434 6 files changed, 26 insertions(+)
436 commit a1490d9b6a3a21774d68f085f805d5f7a68b305e
437 Author: Emmanuele Bassi <ebassi@gnome.org>
438 Date: Thu Feb 25 09:42:54 2016 +0000
440 parser: Detect missing commas in arrays
442 Just like we detect trailing commas, we should also detect missing ones
443 to avoid parsing invalid JSON successfully.
445 json-glib/json-parser.c | 15 ++++++++++++++-
446 json-glib/tests/invalid.c | 31 +++++++++++++++++++++++++++++++
447 2 files changed, 45 insertions(+), 1 deletion(-)
449 commit c34b3541f9d2cb388bc20fecc9cf412d6ab0716d
450 Author: Emmanuele Bassi <ebassi@gnome.org>
451 Date: Thu Feb 25 09:41:38 2016 +0000
453 parser: Correctly increment the array index counter
455 We pass the counter to the JsonParser::array-element signal, but we
456 never really increment it.
458 json-glib/json-parser.c | 3 ++-
459 1 file changed, 2 insertions(+), 1 deletion(-)
461 commit 28c7347150d24383114f06457c3a8d5f5d8eab00
462 Author: Philip Withnall <philip.withnall@collabora.co.uk>
463 Date: Sat Nov 7 18:01:54 2015 +0100
465 core: Remove atomic operations for reference counting
467 They are not needed — json-glib is not at all thread safe.
469 json-glib/json-array.c | 4 ++--
470 json-glib/json-object.c | 4 ++--
471 json-glib/json-value.c | 4 ++--
472 3 files changed, 6 insertions(+), 6 deletions(-)
474 commit d8720da7ec351e5f15f6ce7baf96434ea42bb111
475 Author: Philip Withnall <philip.withnall@collabora.co.uk>
476 Date: Sat Nov 7 15:20:28 2015 +0100
478 array: Ensure JsonArray is zero-initialised
480 json-glib/json-array.c | 4 ++--
481 1 file changed, 2 insertions(+), 2 deletions(-)
483 commit db7c76dcdc56ccaaa06051ccde5db808783bef22
484 Author: Robert Ancell <robert.ancell@canonical.com>
485 Date: Tue Nov 24 21:15:38 2015 +1300
487 Fix code returning FALSE when it should be NULL
489 json-glib/json-reader.c | 2 +-
490 1 file changed, 1 insertion(+), 1 deletion(-)
492 commit e5c11ba342122981a1e3081eb7f82217a0ebb431
493 Author: Philip Withnall <philip.withnall@collabora.co.uk>
494 Date: Thu Nov 19 17:49:47 2015 +0000
496 docs: Fix section title
498 doc/reference/json-glib-docs.xml | 2 +-
499 1 file changed, 1 insertion(+), 1 deletion(-)
501 commit 1843dd381ebbe6ea62c2d8b91588eb4dab7c5bab
502 Author: Emmanuele Bassi <ebassi@gnome.org>
503 Date: Fri Nov 13 13:40:13 2015 +0000
505 docs: Fix URL of the project page
508 1 file changed, 1 insertion(+), 1 deletion(-)
510 commit 3e0985cbb3399af8bece24a2933b9045edcc7a74
511 Author: Philip Withnall <philip.withnall@collabora.co.uk>
512 Date: Fri Nov 6 11:23:45 2015 +0100
514 types: Tweak dummy padding in JsonObjectIter
516 Use padding which resembles the ABI structure of GHashTableIter so that
517 our struct size is the same as GHashTableIter on all platforms, rather
518 than just on x86_64. This fixes the static assertion failure on i386 and
521 https://bugzilla.gnome.org/show_bug.cgi?id=757675
523 json-glib/json-types.h | 6 ++++--
524 1 file changed, 4 insertions(+), 2 deletions(-)
526 commit c0607bee11fae7963d64de6556d2dea84310ca63
527 Author: Cédric Valmary <cvalmary@yahoo.fr>
528 Date: Sat Oct 31 09:10:45 2015 +0000
530 Updated Occitan translation
532 po/oc.po | 201 +++++++++++++++++++++++++++++++++++++--------------------------
533 1 file changed, 117 insertions(+), 84 deletions(-)
535 commit d720ff7b5447817933f1af38a7f03d0f7ac0b302
536 Author: Daniel Șerbănescu <daniel@serbanescu.dk>
537 Date: Sat Oct 24 19:37:07 2015 +0000
539 Added Romanian translation
541 po/ro.po | 265 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
542 1 file changed, 265 insertions(+)
544 commit d231976e240f2244c60df26a1a6600ecb325506a
545 Author: Philip Withnall <philip.withnall@collabora.co.uk>
546 Date: Thu Sep 24 11:06:34 2015 +0100
548 object: Add JsonObjectIter to ease iteration over JsonObject members
550 This is a stack-allocated iterator object similar to GHashTableIter
551 which allows allocation-free iteration over the members in a JsonObject.
553 It differs from json_object_foreach_member() in the order in which it
554 iterates — for JsonObjectIter the order is undefined.
556 https://bugzilla.gnome.org/show_bug.cgi?id=755509
558 doc/reference/json-glib-sections.txt | 3 ++
559 json-glib/json-object.c | 71 ++++++++++++++++++++++++++++++++++++
560 json-glib/json-types-private.h | 9 +++++
561 json-glib/json-types.h | 26 +++++++++++++
562 json-glib/tests/object.c | 28 ++++++++++++++
563 5 files changed, 137 insertions(+)
565 commit 5185a8f8a58e5b455116eaa8c99c4b4c38a45929
566 Author: Iain Lane <iain@orangesquash.org.uk>
567 Date: Fri Oct 2 11:28:38 2015 +0100
569 tests/builder: Don't duplicate test names
571 GLib 2.46.0 forbids this and so the testsuite fails.
573 https://bugzilla.gnome.org/show_bug.cgi?id=755977
575 json-glib/tests/builder.c | 2 +-
576 1 file changed, 1 insertion(+), 1 deletion(-)
578 commit bfbc0b48e9256473491755766c079f73bee80724
579 Author: Philip Withnall <philip.withnall@collabora.co.uk>
580 Date: Tue Sep 1 10:05:23 2015 +0100
582 lib: Trivial documentation clarifications
584 Clarify the documentation for json_node_set_object() and
585 json_object_get_array_member().
587 https://bugzilla.gnome.org/show_bug.cgi?id=754384
589 json-glib/json-node.c | 4 +++-
590 json-glib/json-object.c | 6 ++++--
591 2 files changed, 7 insertions(+), 3 deletions(-)
593 commit 54fedc974f0c0548951454125cd2b2f35528fa67
594 Author: Piotr Drąg <piotrdrag@gmail.com>
595 Date: Wed Aug 26 19:43:15 2015 +0200
597 Updated Polish translation
599 po/pl.po | 118 +++++++++++++++++++++++++++++++--------------------------------
600 1 file changed, 59 insertions(+), 59 deletions(-)
602 commit 8fd3660b4bc7e764cc57d11bbba8ef3a0ab2ee7d
603 Author: Philip Withnall <philip.withnall@collabora.co.uk>
604 Date: Fri Feb 6 15:10:35 2015 +0000
606 reader: Clarify use of json_reader_end_[element|member]() with errors
608 Include an example showing that the end function must be called on both
609 code paths (success and failure) if the reader object is to be used
612 https://bugzilla.gnome.org/show_bug.cgi?id=744100
614 json-glib/json-reader.c | 31 +++++++++++++++++++++++++++++--
615 1 file changed, 29 insertions(+), 2 deletions(-)
617 commit f7eb50b5b03ee5870e476135bd989cb49d8d44c2
618 Author: Emmanuele Bassi <ebassi@gnome.org>
619 Date: Tue Aug 18 14:04:05 2015 +0100
621 array: Do not create a null node for empty strings
623 The two are fairly different, and JsonObject does not behave this way.
625 https://bugzilla.gnome.org/show_bug.cgi?id=730803
627 json-glib/json-array.c | 2 +-
628 1 file changed, 1 insertion(+), 1 deletion(-)
630 commit 4c1485acaa0f7267c87a37477f43808924e5aece
631 Author: Anders Jonsson <anders.jonsson@norsjovallen.se>
632 Date: Sun Aug 9 21:42:03 2015 +0000
634 Updated Swedish translation
636 po/sv.po | 89 ++++++++++++++++++++++++++++++++--------------------------------
637 1 file changed, 45 insertions(+), 44 deletions(-)
639 commit 157820c544291512cfde3e224e6b0af0ab2997cb
640 Author: Pedro Albuquerque <palbuquerque73@gmail.com>
641 Date: Wed Jul 1 22:01:02 2015 +0000
643 Updated Portuguese translation
645 po/pt.po | 102 +++++++++++++++++++++++++++++++++------------------------------
646 1 file changed, 53 insertions(+), 49 deletions(-)
648 commit 3ae9c9e82dc2423b8f6af23ae2b5d08d30f6b575
649 Author: Emmanuele Bassi <ebassi@gnome.org>
650 Date: Tue Jun 9 12:56:13 2015 +0100
652 parser: Port to GTask
654 GSimpleAsyncResult is deprecated in GLib 2.46, so we should drop its
655 use, and simplify the code in the process.
657 json-glib/json-parser.c | 180 +++++++++++++++++-------------------------------
658 1 file changed, 62 insertions(+), 118 deletions(-)
660 commit 155991af58d451cf8c4ccfaed432a959f1687b1c
661 Author: Emmanuele Bassi <ebassi@gnome.org>
662 Date: Tue Jun 9 12:29:06 2015 +0100
664 docs: Add 1.2 symbols index
666 doc/reference/json-glib-docs.xml | 5 +++++
667 1 file changed, 5 insertions(+)
669 commit fd443041b5243dbb5748ce132c5c14b1c52f23fa
670 Author: Emmanuele Bassi <ebassi@gnome.org>
671 Date: Tue Jun 9 12:28:57 2015 +0100
673 docs: Add missing symbols
675 doc/reference/json-glib-sections.txt | 6 +++++-
676 1 file changed, 5 insertions(+), 1 deletion(-)
678 commit b6546a62362bafcb0aa2d97175a15c4218cc6023
679 Author: Emmanuele Bassi <ebassi@gnome.org>
680 Date: Tue Jun 9 12:23:12 2015 +0100
682 Add simple JSON/string utilities
684 Wrap JsonParser and JsonGenerator in simple, easy to call functions that
685 manage the objects for you.
687 doc/reference/json-glib-docs.xml | 5 ++
688 doc/reference/json-glib-sections.txt | 6 ++
689 json-glib/Makefile.am | 2 +
690 json-glib/json-glib.h | 1 +
691 json-glib/json-utils.c | 103 +++++++++++++++++++++++++++++++++++
692 json-glib/json-utils.h | 40 ++++++++++++++
693 json-glib/json-version-macros.h | 16 ++++++
694 7 files changed, 173 insertions(+)
696 commit 445a787757eb08afeee61a6c5fdbd6622c43d0af
697 Author: Emmanuele Bassi <ebassi@gnome.org>
698 Date: Tue Jun 9 12:24:15 2015 +0100
700 Bump up version to 1.1.1
702 New development cycle, for new API.
704 configure.ac | 6 +++---
705 1 file changed, 3 insertions(+), 3 deletions(-)
707 commit b3b996bbdf704bb7488493a8262aff3dc282d496
708 Author: Cédric Valmary <cvalmary@yahoo.fr>
709 Date: Thu May 21 17:12:58 2015 +0000
711 Added Occitan translation
713 po/oc.po | 235 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
714 1 file changed, 235 insertions(+)
716 commit a7b081b736e632405b36e34bbd01040bde115f92
717 Author: Emmanuele Bassi <ebassi@gnome.org>
718 Date: Sun Mar 15 17:52:28 2015 +0000
720 Post-release version bump to 1.0.5
722 configure.ac | 4 ++--
723 1 file changed, 2 insertions(+), 2 deletions(-)
725 commit c7bbaf2a3f3e07d9d4e48591e765f388541ecd7f
726 Author: Emmanuele Bassi <ebassi@gnome.org>
727 Date: Sun Mar 15 17:45:44 2015 +0000
729 Release JSON-GLib 1.0.4
731 configure.ac | 4 ++--
732 1 file changed, 2 insertions(+), 2 deletions(-)
734 commit 52cf02caa0db2eee99c3a1145319eea5806b2977
735 Author: Emmanuele Bassi <ebassi@gnome.org>
736 Date: Sun Mar 15 17:42:58 2015 +0000
738 build: Enable subdir-objects
740 We need to remove the path specification inside the sources listing, and
741 modify the enumeration type and marshallers generation rules to cope
742 with it (by adding the $(srcdir) when needed). This is similar to the
743 changes there were made to Clutter.
746 build/autotools/Makefile.am.enums | 29 +++++++++------
747 build/autotools/Makefile.am.marshal | 17 ++++++---
749 json-glib/Makefile.am | 70 ++++++++++++++++++-------------------
750 5 files changed, 68 insertions(+), 51 deletions(-)
752 commit efecd1214580eb2835f99b8d231b126ee6cafa21
753 Author: Samir Ribic <samir.ribic@etf.unsa.ba>
754 Date: Fri Mar 13 21:01:51 2015 +0000
756 Added Bosnian translation
758 po/bs.po | 252 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
759 1 file changed, 252 insertions(+)
761 commit 0f4a21d03a16ddd4cf052b9b2230ec004d05d430
762 Author: Emmanuele Bassi <ebassi@gnome.org>
763 Date: Fri Mar 13 13:43:59 2015 +0000
765 build: Enable gtkdoc-check
767 We can verify that the documentation is correct and up to date every
768 time we distcheck by turning on the gtk-doc check tool.
771 doc/reference/Makefile.am | 24 ++++++++++--------------
772 2 files changed, 13 insertions(+), 14 deletions(-)
774 commit 81174fcdd31f3c1d1601b5d9000c154391f14006
775 Author: Emmanuele Bassi <ebassi@gnome.org>
776 Date: Fri Mar 13 13:41:36 2015 +0000
778 build: Clean up gtk-doc stanzas
780 We need to ensure that gtk-doc looks into both the srcdir and the
781 builddir in order to find all annotations.
783 We also don't need to have the .types file under revision control:
784 gtk-doc is perfectly capable of rebuilding it by itself.
786 doc/reference/Makefile.am | 35 ++---------------------------------
787 doc/reference/json-glib.types | 7 -------
788 2 files changed, 2 insertions(+), 40 deletions(-)
790 commit c5183b4546ebaceaf77183f259d354488fea5469
791 Author: Emmanuele Bassi <ebassi@gnome.org>
792 Date: Fri Mar 13 13:40:41 2015 +0000
794 docs: Add missing symbol indices
796 doc/reference/json-glib-docs.xml | 10 ++++++++++
797 1 file changed, 10 insertions(+)
799 commit cd0fee83bfde8ccdf4602094e9f14bcd749a12b0
800 Author: Emmanuele Bassi <ebassi@gnome.org>
801 Date: Fri Mar 13 13:40:27 2015 +0000
803 docs: Add missing annotations
805 json-glib/json-serializable.c | 28 ++++++++++++++++++++++++++--
806 1 file changed, 26 insertions(+), 2 deletions(-)
808 commit d82de8274ac1aa03138078f40f99ea1cc8ef3cd0
809 Author: Patrick Welche <prlw1@cam.ac.uk>
810 Date: Fri Mar 13 11:07:54 2015 +0000
812 configure: test(1) uses = to test for string equality
814 https://bugzilla.gnome.org/show_bug.cgi?id=711600
815 https://bugzilla.gnome.org/show_bug.cgi?id=746143
817 build/autotools/glibtests.m4 | 2 +-
818 1 file changed, 1 insertion(+), 1 deletion(-)
820 commit 5d62e7a6bd5e494f9f80b9ad5f14191e4986c467
821 Author: Dušan Kazik <prescott66@gmail.com>
822 Date: Mon Mar 9 17:35:36 2015 +0000
824 Updated Slovak translation
826 po/sk.po | 174 ++++++++++++++++++++++++++++++++++++++++++++++++++-------------
827 1 file changed, 138 insertions(+), 36 deletions(-)
829 commit 88178ad0c2befc61e8771875f1f7fc2807c075ce
830 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
831 Date: Fri Mar 6 16:23:53 2015 +0800
833 MSVC Builds: Rename "Install" Projects
835 Rename the install projects as json-glib-install, so that it would be
836 easier for one to integrate the project set in a grand solution that can be
837 used to build the entire stack, such as for Clutter.
839 build/win32/vs10/Makefile.am | 2 +-
840 build/win32/vs10/install.vcxproj | 110 -----------------------------
841 build/win32/vs10/json-glib-install.vcxproj | 110 +++++++++++++++++++++++++++++
842 build/win32/vs10/json-glib.sln | 2 +-
843 build/win32/vs9/Makefile.am | 2 +-
844 build/win32/vs9/install.vcproj | 77 --------------------
845 build/win32/vs9/json-glib-install.vcproj | 77 ++++++++++++++++++++
846 build/win32/vs9/json-glib.sln | 2 +-
847 8 files changed, 191 insertions(+), 191 deletions(-)
849 commit 5332e0e3ad2ee0d03787569ddcf5cadb608ece23
850 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
851 Date: Fri Mar 6 16:15:25 2015 +0800
853 MSVC Builds: "Install" the .pdb Files
855 "Install" the .pdb files for the json-glib DLL and the tools to ease
856 debugging people developing or using json-glib, as the .pdb files are
857 already generated for all builds.
859 build/win32/vs10/json-glib-install.props | 5 +++--
860 build/win32/vs9/json-glib-install.vsprops | 5 +++--
861 2 files changed, 6 insertions(+), 4 deletions(-)
863 commit ed05b1c8f0352b22e4a726526d4155f2dc6ac7f6
864 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
865 Date: Fri Mar 6 16:12:51 2015 +0800
867 MSVC 2010 Projects: Clean Up "Installation"
869 The empty lines in the property sheets are not really needed, so remove
872 build/win32/vs10/json-glib-install.props | 21 ---------------------
873 1 file changed, 21 deletions(-)
875 commit c642f6644f82b555b348d3c364efd9961155528d
876 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
877 Date: Fri Mar 6 16:11:44 2015 +0800
879 MSVC Builds: Speed Up Release Builds
881 Use the multiprocessor compilation (/MP) option, which can cut down release
882 build times by quite a bit. This will emit a brief warning on debug
883 builds, but otherwise the build will proceed as normal.
885 Also use the /d2Zi+ option for MSVC 2010 (and later) builds so that more
886 useful information can be logged to the .pdb files for the release builds.
888 build/win32/vs10/json-glib-build-defines.props | 2 ++
889 build/win32/vs9/json-glib-build-defines.vsprops | 1 +
890 2 files changed, 3 insertions(+)
892 commit 80e44db76dd179e4c12d1a11b24f27c7548dc382
893 Author: Stef Walter <stefw@redhat.com>
894 Date: Thu Feb 13 22:21:18 2014 +0100
896 json-gvariant: Parse json doubles that are whole numbers
898 The json gvariant serializer encodes whole number doubles without
899 a dot. The deserializer needs to be able to parse these as well.
901 Fix problem, and add test cases.
903 https://bugzilla.gnome.org/show_bug.cgi?id=724319
905 json-glib/json-gvariant.c | 6 +++++-
906 json-glib/tests/gvariant.c | 4 ++++
907 2 files changed, 9 insertions(+), 1 deletion(-)
909 commit aee569b0bc2542aa8f1d13d66ddadacbda1035ac
910 Author: Philip Withnall <philip.withnall@collabora.co.uk>
911 Date: Sun Jan 25 11:47:23 2015 +0000
913 builder: Add missing (transfer) annotation to json_builder_add_value()
915 Document and annotate the fact that json_builder_add_value() takes
916 ownership of the JsonNode passed in to it.
918 https://bugzilla.gnome.org/show_bug.cgi?id=743475
920 json-glib/json-builder.c | 4 +++-
921 1 file changed, 3 insertions(+), 1 deletion(-)
923 commit 1f6668a9534c01523361075dad290c0dc49d7623
924 Author: Philip Withnall <philip@tecnocode.co.uk>
925 Date: Sat Dec 20 23:22:09 2014 +0000
927 reader: Maintain a stack of member names
929 This fixes the case where, with nested objects, we call:
930 json_reader_read_member (reader, "outer");
931 // json_reader_get_member_name (reader) == "outer"
933 json_reader_read_member (reader, "inner");
934 // json_reader_get_member_name (reader) == "inner"
935 // do something useful
936 json_reader_end_member (reader);
937 but at the end, the following assertion no longer holds:
938 // json_reader_get_member_name (reader) == "outer"
939 even though the JsonReader state should have been reset after ending the
942 Fix it by maintaining a stack of member names. This works with both
943 json_reader_read_member() and json_reader_read_element(). Updates to the
944 unit tests are included.
946 https://bugzilla.gnome.org/show_bug.cgi?id=741824
948 json-glib/json-reader.c | 29 ++++++++++++++++-------------
949 json-glib/tests/reader.c | 13 +++++++++++++
950 2 files changed, 29 insertions(+), 13 deletions(-)
952 commit 23e69e79484d41c722ab8bcab78fe850b960316e
953 Author: Tristan Van Berkom <tristan@upstairslabs.com>
954 Date: Sun Mar 9 17:59:02 2014 +0900
956 Handle serialization/deserialization of glong gulong and guint64
958 Long and unsigned long was properly serialized but not deserialized, guint64
959 handling is not ideal as the type is cast into a gint64, however this is
960 better than not handling the fundamental type at all.
962 https://bugzilla.gnome.org/show_bug.cgi?id=725972
964 json-glib/json-gobject.c | 28 ++++++++++++++++++++++++++++
965 1 file changed, 28 insertions(+)
967 commit c183513e82e20e7f77821e6a667bf12dfa0b8b20
968 Author: Emmanuele Bassi <ebassi@gnome.org>
969 Date: Fri Jul 25 10:05:21 2014 +0100
971 Drop unnecessary '_' prefix from json_marshal
973 It's not public API anyway, and we use annotations instead of the '_'
976 json-glib/Makefile.am | 2 +-
977 json-glib/json-parser.c | 18 +++++++++---------
978 2 files changed, 10 insertions(+), 10 deletions(-)
980 commit 2779d537492f1902d71cf648631238110b62b311
981 Author: Yaşar Şentürk <yasarix@gmail.com>
982 Date: Thu Dec 4 21:37:26 2014 +0000
984 Updated Turkish translation
986 po/tr.po | 205 ++++++++++++++++++++++++++++++++++++++++++++++-----------------
987 1 file changed, 152 insertions(+), 53 deletions(-)
989 commit 4ccb9ab6119b81dde81b04208b98c89fc3a7884c
990 Author: Sebastian Rasmussen <sebras@gmail.com>
991 Date: Thu Sep 18 20:13:42 2014 +0000
993 Updated Swedish translation
995 po/sv.po | 261 +++++++++++++++++++++++++++++++++++++++++++--------------------
996 1 file changed, 177 insertions(+), 84 deletions(-)
998 commit 88a3adda5238177084998b734cc0d2f3f8237f38
999 Author: ngoswami <ngoswami@redhat.com>
1000 Date: Wed Aug 20 07:49:49 2014 +0000
1002 Updated Assamese translation
1004 po/as.po | 180 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
1005 1 file changed, 140 insertions(+), 40 deletions(-)
1007 commit 5b8fa1bcd8c16e638369db78783feca5fb9fe188
1008 Author: Wolfgang Stöggl <c72578@yahoo.de>
1009 Date: Thu Aug 14 22:20:11 2014 +0000
1011 Updated German translation
1013 po/de.po | 12 ++++++------
1014 1 file changed, 6 insertions(+), 6 deletions(-)
1016 commit 47816385fa7e1f35580b50268e8de38fa22e44d6
1017 Author: Olav Vitters <olav@vitters.nl>
1018 Date: Wed Jul 30 20:24:44 2014 +0200
1022 json-glib.doap | 2 +-
1023 1 file changed, 1 insertion(+), 1 deletion(-)
1025 commit cfc576eb1a22c7ab213e26bba7716534109884fe
1026 Author: Emmanuele Bassi <ebassi@gnome.org>
1027 Date: Fri Jul 25 09:12:00 2014 +0100
1029 Clean up the enumeration type template
1031 json-glib/json-enum-types.c.in | 6 +++---
1032 1 file changed, 3 insertions(+), 3 deletions(-)
1034 commit 415c75677544df6aa4929c851f44a412ea39b7b4
1035 Author: Emmanuele Bassi <ebassi@gnome.org>
1036 Date: Fri Jul 25 09:10:52 2014 +0100
1038 Include "config.h" in the enum types template
1040 Expands the symbol annotation correctly.
1042 json-glib/json-enum-types.c.in | 1 +
1043 1 file changed, 1 insertion(+)
1045 commit 2eab41a368620c28bb3c4f9fd0e1a20b2cfdce95
1046 Author: Tom Tryfonidis <tomtryf@gmail.com>
1047 Date: Wed Jul 9 23:21:14 2014 +0000
1049 Updated Greek translation
1051 po/el.po | 80 ++++++++++++++++++++++++++++++++--------------------------------
1052 1 file changed, 40 insertions(+), 40 deletions(-)
1054 commit e1141c9ea04a9f11b60d5278693edb819bcac7d9
1055 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1056 Date: Mon Jun 9 18:29:01 2014 +0800
1058 MSVC 2010+ Projects: Update "Installation" Process
1060 Currently, due to the way that Visual Studio 2010+ projects are handled,
1061 the "install" project does not re-build upon changes to the sources, as it
1062 does not believe that its dependencies have changed, although the changed
1063 sources are automatically recompiled. This means that if a part or more
1064 of the solution does not build, or if the sources need some other fixes
1065 or enhancements, the up-to-date build is not copied automatically, which
1068 Improve on the situation by forcing the "install" project to trigger its
1069 rebuild, so that the updated binaries can be copied. This does trigger an
1070 MSBuild warning, but having that warning is way better than not having an
1071 up-to-date build, especially during testing and development.
1073 build/win32/vs10/install.vcxproj | 28 ++++++++++++++++------------
1074 build/win32/vs10/json-glib-install.props | 20 ++++++++++++++++----
1075 2 files changed, 32 insertions(+), 16 deletions(-)
1077 commit a86c22b452afd1dc14916508b9303b7dcce71eff
1078 Author: Gil Forcada <gforcada@gnome.org>
1079 Date: Tue Jun 3 00:49:01 2014 +0200
1081 [l10n] Update Catalan translation
1083 po/ca.po | 176 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
1084 1 file changed, 139 insertions(+), 37 deletions(-)
1086 commit 298a6f389d376b37f231966affad544b06a06be2
1087 Author: Emmanuele Bassi <ebassi@gnome.org>
1088 Date: Thu May 29 10:06:13 2014 +0100
1090 Post-release version bump to 1.0.3
1092 configure.ac | 4 ++--
1093 1 file changed, 2 insertions(+), 2 deletions(-)
1095 commit 82d10baa19383f22b3b8022b01be4ae1b08c968a
1096 Author: Emmanuele Bassi <ebassi@gnome.org>
1097 Date: Thu May 29 10:04:39 2014 +0100
1099 Release JSON-GLib 1.0.2
1101 configure.ac | 4 ++--
1102 1 file changed, 2 insertions(+), 2 deletions(-)
1104 commit bdb27fb70a831e14d569aaff9d7c452978da2236
1105 Author: Emmanuele Bassi <ebassi@gnome.org>
1106 Date: Thu May 29 09:52:03 2014 +0100
1108 build: Include enum-types.[ch] in the introspection sources
1110 Otherwise g-ir-scanner won't pick the types up, and will not notice that
1111 the error enumerations have an associated error domain.
1113 https://bugzilla.gnome.org/show_bug.cgi?id=730917
1115 json-glib/Makefile.am | 9 ++++++++-
1116 1 file changed, 8 insertions(+), 1 deletion(-)
1118 commit 8bbc873dccb0426ce7e2ad0974b1397506454674
1119 Author: Stef Walter <stefw@redhat.com>
1120 Date: Wed May 21 12:14:57 2014 +0200
1122 generator: Add tests for updated string escaping routine
1124 https://bugzilla.gnome.org/show_bug.cgi?id=730425
1126 json-glib/tests/generator.c | 47 +++++++++++++++++++++++++++++++++++++++++++++
1127 1 file changed, 47 insertions(+)
1129 commit f2ee9a7e205abe5050fba37fa65aceceeb243898
1130 Author: Stef Walter <stefw@redhat.com>
1131 Date: Tue May 20 10:49:02 2014 +0200
1133 generator: Escape the control characters correctly
1135 Escaping these as octals is out of the JSON spec completely,
1136 so roll our own string encoder.
1138 https://bugzilla.gnome.org/show_bug.cgi?id=730425
1140 json-glib/json-generator.c | 73 +++++++++++++++++++++++++++++-----------------
1141 1 file changed, 47 insertions(+), 26 deletions(-)
1143 commit 8f4816a2e05d0d3672d7723df2feaf466632c498
1144 Author: Stef Walter <stefw@redhat.com>
1145 Date: Tue May 20 10:43:29 2014 +0200
1147 generator: Escape Object key names correctly
1149 Also fix empty keys, which are now encoded properly.
1151 https://bugzilla.gnome.org/show_bug.cgi?id=727593
1153 json-glib/json-generator.c | 19 +++++++++++--------
1154 1 file changed, 11 insertions(+), 8 deletions(-)
1156 commit 0898b9c335a21a82d92621e16be1b1038ccc6991
1157 Author: Christian Kirbach <Christian.Kirbach@gmail.com>
1158 Date: Mon Apr 28 17:27:32 2014 +0000
1160 Updated German translation
1162 po/de.po | 175 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
1163 1 file changed, 138 insertions(+), 37 deletions(-)
1165 commit 62d9456c3d78286b662e7f96477617fd78358a18
1166 Author: Daniel Korostil <ted.korostiled@gmail.com>
1167 Date: Mon Apr 21 12:20:32 2014 +0300
1169 Updated Ukrainian translation
1171 po/uk.po | 225 +++++++++++++++++++++++++++++++++++++++++++++++----------------
1172 1 file changed, 168 insertions(+), 57 deletions(-)
1174 commit 13397eb080fee132a3d227a6b98b73e75364b4f5
1175 Author: djcb <djcb@djcbsoftware.nl>
1176 Date: Mon Apr 7 17:13:47 2014 +0300
1178 json-parser: use length parameter when validating utf-8
1180 https://bugzilla.gnome.org/show_bug.cgi?id=727755
1182 json-glib/json-parser.c | 2 +-
1183 1 file changed, 1 insertion(+), 1 deletion(-)
1185 commit c9de87387f3b2494e4e770fd1d2ffca9ebfdbfe5
1186 Author: Emmanuele Bassi <ebassi@gnome.org>
1187 Date: Thu Apr 17 15:30:32 2014 +0100
1189 tests: Add more checks to the parser stream unit
1191 json-glib/tests/parser.c | 22 ++++++++++++++++------
1192 1 file changed, 16 insertions(+), 6 deletions(-)
1194 commit e31683d2804916da23d1e48b80b124b37df1c8e6
1195 Author: Emmanuele Bassi <ebassi@gnome.org>
1196 Date: Thu Apr 17 15:28:15 2014 +0100
1198 parser: Use the right length for parsing the stream contents
1200 The ByteArray we use to buffer the contents of a stream in order to
1201 pass them to the parser may have a bigger length. We should use the
1202 cursor position that we use to put a '\0' in the buffer instead. We
1203 could also use -1, but this saves us a strlen() later on.
1205 json-glib/json-parser.c | 4 ++--
1206 1 file changed, 2 insertions(+), 2 deletions(-)
1208 commit 289e75bd35c5ee268269f09c9e2db90602994fc1
1209 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1210 Date: Mon Apr 7 15:05:40 2014 +0800
1212 Visual Studio Builds: Fix Installation of Headers
1214 json-version-macros.h needs to be installed as well, so fix that.
1216 build/win32/vs10/json-glib-install.props | 2 ++
1217 build/win32/vs9/json-glib-install.vsprops | 1 +
1218 2 files changed, 3 insertions(+)
1220 commit e645b5a383230ec5233cb0bd389e53e226a4bdd3
1221 Author: Piotr Drąg <piotrdrag@gmail.com>
1222 Date: Sun Apr 6 17:46:40 2014 +0200
1226 json-glib.doap | 4 ++--
1227 1 file changed, 2 insertions(+), 2 deletions(-)
1229 commit b3e105fa890d4c63708b9cb9d372d9db16a636ff
1230 Author: Matej Urbančič <mateju@svn.gnome.org>
1231 Date: Thu Apr 3 20:37:41 2014 +0200
1233 Updated Slovenian translation
1235 po/sl.po | 203 ++++++++++++++++++++++++++++++++++++++++++++++-----------------
1236 1 file changed, 150 insertions(+), 53 deletions(-)
1238 commit 82389b02f8b82eb5b3c37e38498975ebd15697ac
1239 Author: Inaki Larranaga Murgoitio <dooteo@zundan.com>
1240 Date: Thu Apr 3 17:39:19 2014 +0200
1242 Updated Basque language
1244 po/eu.po | 184 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
1245 1 file changed, 144 insertions(+), 40 deletions(-)
1247 commit 18c76eff151fd29213401477c2c4a022eec9c698
1248 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1249 Date: Tue Apr 1 19:40:12 2014 +0800
1251 Fix MSVC Introspection Build
1253 Also substitute $(top_builddir), as it is used for json-version.h during
1254 the scanning of the headers and sources.
1256 build/win32/gen-file-list-jsonglib.py | 3 ++-
1257 1 file changed, 2 insertions(+), 1 deletion(-)
1259 commit e0aef7ca7ba0c9d94ffa6e814caee956c139ad23
1260 Author: Emmanuele Bassi <ebassi@gnome.org>
1261 Date: Tue Mar 25 11:53:25 2014 +0000
1263 Post-release version bump to 1.0.1
1265 configure.ac | 4 ++--
1266 1 file changed, 2 insertions(+), 2 deletions(-)
1268 commit cb7212b5ee71f18f4023e928884fd55ef54b9327
1269 Author: Emmanuele Bassi <ebassi@gnome.org>
1270 Date: Tue Mar 25 11:50:36 2014 +0000
1272 Release JSON-GLib 1.0.0
1274 configure.ac | 6 +++---
1275 1 file changed, 3 insertions(+), 3 deletions(-)
1277 commit 19981d54171acff70f8a8987e0731fe1d8dd5d89
1278 Author: Gábor Kelemen <kelemeng@gnome.hu>
1279 Date: Fri Mar 21 17:09:53 2014 +0000
1281 Updated Hungarian translation
1283 po/hu.po | 181 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
1284 1 file changed, 141 insertions(+), 40 deletions(-)
1286 commit bf5295a8b72954bfff5ba89c389f8ace0d913082
1287 Author: Мирослав Николић <miroslavnikolic@rocketmail.com>
1288 Date: Fri Mar 21 04:00:22 2014 +0100
1290 Updated Serbian translation
1292 po/sr.po | 174 +++++++++++++++++++++++++++++++++++++++++++++------------
1293 po/sr@latin.po | 174 +++++++++++++++++++++++++++++++++++++++++++++------------
1294 2 files changed, 274 insertions(+), 74 deletions(-)
1296 commit a8c56f54d5f47e35921e50a63e2a59190da13ad0
1297 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1298 Date: Thu Mar 20 10:23:36 2014 +0800
1300 Visual Studio Builds: Don't Generate .def File
1302 The symbols for json-glib is now exported via a visibility-based method,
1303 like GLib and GTK+, so do likewise for the Visual Studio builds, by using
1304 __declspec(dllexport). This will also mean that the .def file is no longer
1305 needed to export the symbols for json-glib.
1307 build/win32/config.h.win32.in | 7 +++++
1308 build/win32/vs10/json-glib-gen-srcs.props | 7 -----
1309 build/win32/vs10/json-glib.vcxproj.filtersin | 1 -
1310 build/win32/vs10/json-glib.vcxprojin | 18 -------------
1311 build/win32/vs9/json-glib-gen-srcs.vsprops | 7 -----
1312 build/win32/vs9/json-glib.vcprojin | 38 ----------------------------
1313 6 files changed, 7 insertions(+), 71 deletions(-)
1315 commit b177715f1cb21edf5716a0768d6678096443ad51
1316 Author: Ask H. Larsen <asklarsen@gmail.com>
1317 Date: Wed Mar 19 22:31:43 2014 +0100
1319 Updated Danish translation
1321 po/da.po | 171 ++++++++++++++++++++++++++++++++++++++++++++++++++-------------
1322 1 file changed, 136 insertions(+), 35 deletions(-)
1324 commit 75f00bf9a9d3326444d77a400ca2d5a0378f8d32
1325 Author: Duarte Loreto <happyguy_pt@hotmail.com>
1326 Date: Tue Mar 18 23:32:42 2014 +0000
1328 Updated Portuguese translation
1330 po/pt.po | 179 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
1331 1 file changed, 140 insertions(+), 39 deletions(-)
1333 commit 7b9d72519777b313d094a0e63a9f138e3fafd54c
1334 Author: Emmanuele Bassi <ebassi@gnome.org>
1335 Date: Tue Mar 18 19:22:15 2014 +0000
1337 build: Resync our copy of introspection.m4
1339 build/autotools/introspection.m4 | 2 ++
1340 1 file changed, 2 insertions(+)
1342 commit 5adb54c97fb5a87a609584727285f742cd0e2f09
1343 Author: Emmanuele Bassi <ebassi@gnome.org>
1344 Date: Tue Mar 18 18:41:40 2014 +0000
1346 build: Include $(top_builddir)
1348 Fixes compilation in cases where builddir != srcdir.
1350 json-glib/tests/Makefile.am | 2 ++
1351 1 file changed, 2 insertions(+)
1353 commit d3fcd43a73061a64dc5f8b7551c138849a32b719
1354 Author: Emmanuele Bassi <ebassi@gnome.org>
1355 Date: Tue Mar 18 18:10:14 2014 +0000
1357 Remove conditional inclusion of config.h
1359 All the platforms and build system we support have a config.h header.
1361 json-glib/json-array.c | 2 --
1362 json-glib/json-builder.c | 2 --
1363 json-glib/json-debug.c | 2 --
1364 json-glib/json-gboxed.c | 2 --
1365 json-glib/json-generator.c | 2 --
1366 json-glib/json-gobject.c | 2 --
1367 json-glib/json-gvariant.c | 2 --
1368 json-glib/json-node.c | 2 --
1369 json-glib/json-object.c | 3 ---
1370 json-glib/json-parser.c | 2 --
1371 json-glib/json-path.c | 2 --
1372 json-glib/json-reader.c | 4 ----
1373 json-glib/json-scanner.c | 2 --
1374 json-glib/json-serializable.c | 2 --
1375 json-glib/json-value.c | 2 --
1376 json-glib/tests/generator.c | 2 --
1377 json-glib/tests/invalid.c | 2 --
1378 json-glib/tests/parser.c | 2 --
1379 18 files changed, 39 deletions(-)
1381 commit 445b1c4c1efec99ed640c16b92a9b19a87b39082
1382 Author: Emmanuele Bassi <ebassi@gnome.org>
1383 Date: Thu Mar 6 15:09:50 2014 +0000
1385 Add version constants to introspection
1387 We need to let g-ir-scanner parse json-version.h.
1389 json-glib/Makefile.am | 2 +-
1390 1 file changed, 1 insertion(+), 1 deletion(-)
1392 commit d3095c5f8fe91209cc98e1e2d7e75a8aad1e8d88
1393 Author: Emmanuele Bassi <ebassi@gnome.org>
1394 Date: Thu Mar 6 15:09:04 2014 +0000
1396 Reimplement JSON_VERSION_HEX as a macro call
1398 Add a JSON_ENCODE_VERSION macro and use it in JSON_VERSION_HEX.
1400 doc/reference/json-glib-sections.txt | 1 +
1401 json-glib/json-version.h.in | 12 +++++++-----
1402 2 files changed, 8 insertions(+), 5 deletions(-)
1404 commit 794664746dcbe8894255f9615357dd51f7f836c3
1405 Author: Emmanuele Bassi <ebassi@gnome.org>
1406 Date: Thu Mar 6 14:35:49 2014 +0000
1408 Use compiler annotations to determine symbol visibility
1410 Instead of relying on a separate file that requires being update every
1411 time we add a new public function we should use compiler annotations to
1412 let the linker know which symbols are public and exported.
1414 In order to achieve this we have to:
1416 * check for the visibility=hidden attribute
1417 * add -fvisibility=hidden to the linker flags
1418 * add a macro to annotate all public symbols
1420 While we're at it, we should copy the versioned symbols macro layout
1421 already used by GLib, GTK+, and other G* libraries, including the
1422 ability to express the range of allowed versions of JSON-GLib that
1423 third party code can compile against.
1425 configure.ac | 31 ++++++
1426 doc/reference/json-glib-sections.txt | 16 +++
1427 json-glib/Makefile.am | 47 ++++-----
1428 json-glib/abicheck.sh | 6 --
1429 json-glib/json-builder.h | 15 +++
1430 json-glib/json-enum-types.h.in | 2 +
1431 json-glib/json-generator.h | 13 +++
1432 json-glib/json-glib.h | 1 +
1433 json-glib/json-glib.symbols | 191 -----------------------------------
1434 json-glib/json-gobject.h | 26 ++++-
1435 json-glib/json-gvariant.h | 4 +
1436 json-glib/json-parser.h | 13 ++-
1437 json-glib/json-path.h | 6 ++
1438 json-glib/json-reader.h | 22 ++++
1439 json-glib/json-types.h | 103 +++++++++++++++++--
1440 json-glib/json-version-macros.h | 135 +++++++++++++++++++++++++
1441 16 files changed, 391 insertions(+), 240 deletions(-)
1443 commit 50bf9cd2f6bc9fb21d9793377f0fd534732d215d
1444 Author: Emmanuele Bassi <ebassi@gnome.org>
1445 Date: Thu Mar 6 13:58:52 2014 +0000
1447 docs: Drop the SGML mode
1449 The whole documentation is now MarkDown.
1451 doc/reference/Makefile.am | 2 +-
1452 1 file changed, 1 insertion(+), 1 deletion(-)
1454 commit 20c861f02f8e41cde2dec92f9d63d8266383c26b
1455 Author: Emmanuele Bassi <ebassi@gnome.org>
1456 Date: Thu Mar 6 13:58:15 2014 +0000
1458 docs: Port to MarkDown
1460 Drop the DocBook documentation, and move everything to the MarkDown
1461 format used by modern gtk-doc.
1463 json-glib/json-array.c | 4 +-
1464 json-glib/json-builder.c | 2 +-
1465 json-glib/json-builder.h | 7 +-
1466 json-glib/json-gboxed.c | 2 +-
1467 json-glib/json-generator.c | 9 +-
1468 json-glib/json-gobject.c | 4 +-
1469 json-glib/json-gobject.h | 2 +-
1470 json-glib/json-gvariant.c | 64 ++++------
1471 json-glib/json-node.c | 13 +-
1472 json-glib/json-object.c | 9 +-
1473 json-glib/json-path.c | 268 +++++++++++++++++-------------------------
1474 json-glib/json-path.h | 9 +-
1475 json-glib/json-reader.c | 19 ++-
1476 json-glib/json-reader.h | 7 +-
1477 json-glib/json-serializable.c | 10 +-
1478 15 files changed, 181 insertions(+), 248 deletions(-)
1480 commit ff018d7e560278d65a03c4de71c3cf11b22d3167
1481 Author: Emmanuele Bassi <ebassi@gnome.org>
1482 Date: Tue Mar 4 18:30:31 2014 +0000
1484 build: Bump up the requirement for gtk-doc
1487 1 file changed, 1 insertion(+), 1 deletion(-)
1489 commit 36872776b354d2b4b39f9da8e12dd51e949b6c90
1490 Author: Emmanuele Bassi <ebassi@gnome.org>
1491 Date: Sun Mar 2 14:26:44 2014 +0000
1493 scanner: Clean up the UTF-16 surrogate pairs decoding
1495 We over-assert() our pre-conditions, and the conversion is a bit
1496 obfuscated. We should use a proper function, and de-obfuscate the
1497 code so that the intent is clear.
1499 json-glib/json-scanner.c | 42 ++++++++++++++++++++++++++++++++++++------
1500 1 file changed, 36 insertions(+), 6 deletions(-)
1502 commit 16396ab205a5f9bfe7a68aec436fe916bbbee342
1503 Author: Seong-ho Cho <darkcircle.0426@gmail.com>
1504 Date: Sun Mar 16 22:18:26 2014 +0900
1506 Updated Korean translation
1508 po/ko.po | 189 ++++++++++++++++++++++++++++++++++++++++++++++++---------------
1509 1 file changed, 145 insertions(+), 44 deletions(-)
1511 commit 87804f9cf3d5cb643b1d92ee8b26547158fbf41a
1512 Author: Claude Paroz <claude@2xlibre.net>
1513 Date: Tue Mar 11 22:44:07 2014 +0100
1515 Updated French translation
1517 po/fr.po | 185 +++++++++++++++++++++++++++++++++++++++++++++++----------------
1518 1 file changed, 139 insertions(+), 46 deletions(-)
1520 commit e2fd54326c3dfa3927c9e78d865ed349b022a7d3
1521 Author: Yuri Myasoedov <ymyasoedov@yandex.ru>
1522 Date: Tue Mar 11 12:23:24 2014 +0400
1524 Updated Russian translation
1526 po/ru.po | 75 ++++++++++++++++++++++++++++++++--------------------------------
1527 1 file changed, 37 insertions(+), 38 deletions(-)
1529 commit fd3ccd2c7c19305d099b98c62ad6c0dae536f6bc
1530 Author: Rūdolfs Mazurs <rudolfsm@src.gnome.org>
1531 Date: Fri Mar 7 16:52:22 2014 +0200
1533 Updated Latvian translation
1535 po/lv.po | 170 ++++++++++++++++++++++++++++++++++++++++++++++++++-------------
1536 1 file changed, 135 insertions(+), 35 deletions(-)
1538 commit e76f0283c3605fb04fb03e5aee56200c1abece2e
1539 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1540 Date: Thu Mar 6 18:47:47 2014 +0800
1542 Visual Studio 2010 Projects: Add PlatformToolset Tag
1544 This adds a PlatformToolset tag to each configuration so that the projects
1545 can be updated to Visual Studio 2012 or 2013 formats quite easily, using
1546 Visual Studio's round-tripping feature which actually looks at this tag.
1548 This, for example, can be quite easily processed by a script to produce
1549 the Visual Studio 2012 and 2013 projects.
1551 build/win32/vs10/array.vcxproj | 4 ++++
1552 build/win32/vs10/boxed.vcxproj | 4 ++++
1553 build/win32/vs10/builder.vcxproj | 4 ++++
1554 build/win32/vs10/generator.vcxproj | 4 ++++
1555 build/win32/vs10/gvariant.vcxproj | 4 ++++
1556 build/win32/vs10/install.vcxproj | 4 ++++
1557 build/win32/vs10/invalid.vcxproj | 4 ++++
1558 build/win32/vs10/json-glib-format.vcxproj | 4 ++++
1559 build/win32/vs10/json-glib-validate.vcxproj | 4 ++++
1560 build/win32/vs10/json-glib.vcxprojin | 4 ++++
1561 build/win32/vs10/node.vcxproj | 4 ++++
1562 build/win32/vs10/object.vcxproj | 4 ++++
1563 build/win32/vs10/parser.vcxproj | 4 ++++
1564 build/win32/vs10/path.vcxproj | 4 ++++
1565 build/win32/vs10/reader.vcxproj | 4 ++++
1566 build/win32/vs10/serialize-complex.vcxproj | 4 ++++
1567 build/win32/vs10/serialize-full.vcxproj | 4 ++++
1568 build/win32/vs10/serialize-simple.vcxproj | 4 ++++
1569 18 files changed, 72 insertions(+)
1571 commit da66fd86764d12640ad2d53a869c77df31f5bd82
1572 Author: Piotr Drąg <piotrdrag@gmail.com>
1573 Date: Mon Mar 3 01:05:53 2014 +0100
1575 Updated Polish translation
1577 po/pl.po | 169 ++++++++++++++++++++++++++++++++++++++++++++++++++-------------
1578 1 file changed, 135 insertions(+), 34 deletions(-)
1580 commit a4d731db0780a87304c98be412d72d615b277592
1581 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1582 Date: Tue Feb 25 13:09:32 2014 +0800
1584 MSVC Builds: Update Introspection Build Process
1586 GObject-Introspection was recently changed to support acquiring the name of
1587 the DLL from a library (.lib, etc) that was passed into g-ir-scanner on
1588 Windows, like the *nix builds, instead of directly passing in the name of
1591 This updates the introspection build process, so that introspection files
1592 for JSON-GLib can continue to be properly built.
1594 build/win32/json-glib-introspection-msvc.mak | 9 ++-------
1595 1 file changed, 2 insertions(+), 7 deletions(-)
1597 commit 9dc47a1f4e66f871e435675ebe09b554b9fc9e8c
1598 Author: Sphinx Jiang <yishanj13@gmail.com>
1599 Date: Sat Feb 22 01:28:27 2014 +0000
1601 Updated Chinese (China) translation
1603 po/zh_CN.po | 113 +++++++++++++++++++++++++++++++-----------------------------
1604 1 file changed, 58 insertions(+), 55 deletions(-)
1606 commit 843b41e885c2528cb6f146f415a50582c07eaef6
1607 Author: Aurimas Černius <aurisc4@gmail.com>
1608 Date: Fri Feb 21 23:18:30 2014 +0200
1610 Updated Lithuanian translation
1612 po/lt.po | 103 ++++++++++++++++++++++++++++++++++-----------------------------
1613 1 file changed, 56 insertions(+), 47 deletions(-)
1615 commit d8de1631c41333ba72a11658a2102bb42fb15d09
1616 Author: Emmanuele Bassi <ebassi@gnome.org>
1617 Date: Fri Feb 14 17:56:10 2014 +0000
1619 Add missing annotations
1621 JsonNode, JsonObject, and JsonArray have various constructors, so we
1622 need to annotate them.
1624 json-glib/json-array.c | 10 +++++-----
1625 json-glib/json-node.c | 2 +-
1626 json-glib/json-object.c | 6 +++---
1627 3 files changed, 9 insertions(+), 9 deletions(-)
1629 commit 4726ccc490a30aeff95b7c01fc6c44dbce36a7f4
1630 Author: Kjartan Maraas <kmaraas@gnome.org>
1631 Date: Wed Feb 12 19:47:31 2014 +0100
1633 Updated Norwegian bokmål translation
1635 po/nb.po | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++-------------
1636 1 file changed, 134 insertions(+), 33 deletions(-)
1638 commit d97be101490a46c72f919d3dc45f4bc06e625e0c
1639 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1640 Date: Fri Feb 7 11:39:29 2014 +0800
1642 tools: Fix build on Visual Studio
1644 As unistd.h is not universally available, don't include it unconditionally
1645 and include the corresponding Windows headers where necessary. Also, use
1646 gssize in place of ssize_t and define STDOUT_FILENO on Windows when we
1647 don't have unistd.h, which is a constant that is defined in unistd.h.
1649 https://bugzilla.gnome.org/show_bug.cgi?id=723813
1651 json-glib/json-glib-format.c | 11 ++++++++++-
1652 json-glib/json-glib-validate.c | 2 ++
1653 2 files changed, 12 insertions(+), 1 deletion(-)
1655 commit 0b1397ad168078bf2b588ab413ad921c04aab8a2
1656 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1657 Date: Fri Feb 7 18:55:32 2014 +0800
1659 MSVC Builds: Rework Introspection Files Build
1661 Use a set of NMake Makefiles in place of custom Visual Studio Projects to
1662 generate the introspection files for JSON-GLib.
1664 Although this means that one needs to build the introspection files in two
1665 stages, namely using the projects to build the JSON-GLib DLL and then
1666 running this NMake Makefile to generate the introspection files. The
1667 original approach required setting lots of environment variables for the
1668 building of introspection files to work. Using NMake Makefiles will make
1669 it clearer to the one building the introspection files on what items and
1670 variables are needed exactly to do the job
1672 build/win32/Makefile.am | 4 +-
1673 build/win32/detectenv_msvc.mak | 65 +++++++++++++
1674 build/win32/gengir_jsonglib.bat | 132 ---------------------------
1675 build/win32/introspection-msvc.mak | 79 ++++++++++++++++
1676 build/win32/json-glib-introspection-msvc.mak | 64 +++++++++++++
1677 5 files changed, 211 insertions(+), 133 deletions(-)
1679 commit ed7f9df3c09209749d0d1be0917a80ad6a4f7546
1680 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1681 Date: Fri Feb 7 18:33:32 2014 +0800
1683 Overhaul the Visual Studio 2010 Projects
1685 Split up the property sheets used to build JSON-GLib. Also add projects to
1686 build and "install" the json-glib-validate and json-glib-format tools.
1688 Move the introspection file generation out of the Visual Studio projects
1689 to add an NMake Makefile later to generate the introspection files, to make
1690 the process clearer to people.
1692 Stop installing the test programs, although they continue to be built from
1693 the projects for now.
1695 build/win32/vs10/Makefile.am | 20 ++-
1696 build/win32/vs10/array.vcxproj | 12 +-
1697 build/win32/vs10/array.vcxproj.filters | 2 +-
1698 build/win32/vs10/boxed.vcxproj | 10 +-
1699 build/win32/vs10/boxed.vcxproj.filters | 2 +-
1700 build/win32/vs10/builder.vcxproj | 10 +-
1701 build/win32/vs10/builder.vcxproj.filters | 2 +-
1702 build/win32/vs10/generator.vcxproj | 10 +-
1703 build/win32/vs10/generator.vcxproj.filters | 2 +-
1704 build/win32/vs10/gengir.vcxproj | 104 -------------
1705 build/win32/vs10/gvariant.vcxproj | 10 +-
1706 build/win32/vs10/gvariant.vcxproj.filters | 2 +-
1707 build/win32/vs10/install.vcxproj | 76 ++--------
1708 build/win32/vs10/invalid.vcxproj | 10 +-
1709 build/win32/vs10/invalid.vcxproj.filters | 2 +-
1710 build/win32/vs10/json-glib-build-defines.props | 30 ++++
1711 build/win32/vs10/json-glib-format.vcxproj | 162 +++++++++++++++++++++
1712 build/win32/vs10/json-glib-format.vcxproj.filters | 14 ++
1713 build/win32/vs10/json-glib-gen-srcs.props | 24 +++
1714 build/win32/vs10/json-glib-install.props | 60 ++++++++
1715 build/win32/vs10/json-glib-validate.vcxproj | 162 +++++++++++++++++++++
1716 .../win32/vs10/json-glib-validate.vcxproj.filters | 14 ++
1717 build/win32/vs10/json-glib-version-paths.props | 54 +++++++
1718 build/win32/vs10/json-glib.props | 150 -------------------
1719 build/win32/vs10/json-glib.sln | 50 ++++---
1720 build/win32/vs10/json-glib.vcxproj.filtersin | 3 +-
1721 build/win32/vs10/json-glib.vcxprojin | 28 ++--
1722 build/win32/vs10/node.vcxproj | 10 +-
1723 build/win32/vs10/node.vcxproj.filters | 2 +-
1724 build/win32/vs10/object.vcxproj | 10 +-
1725 build/win32/vs10/object.vcxproj.filters | 2 +-
1726 build/win32/vs10/parser.vcxproj | 10 +-
1727 build/win32/vs10/parser.vcxproj.filters | 2 +-
1728 build/win32/vs10/path.vcxproj | 10 +-
1729 build/win32/vs10/path.vcxproj.filters | 2 +-
1730 build/win32/vs10/reader.vcxproj | 10 +-
1731 build/win32/vs10/reader.vcxproj.filters | 2 +-
1732 build/win32/vs10/serialize-complex.vcxproj | 10 +-
1733 build/win32/vs10/serialize-complex.vcxproj.filters | 2 +-
1734 build/win32/vs10/serialize-full.vcxproj | 10 +-
1735 build/win32/vs10/serialize-full.vcxproj.filters | 2 +-
1736 build/win32/vs10/serialize-simple.vcxproj | 10 +-
1737 build/win32/vs10/serialize-simple.vcxproj.filters | 2 +-
1738 43 files changed, 680 insertions(+), 441 deletions(-)
1740 commit 1e0ef4493d485bfc211bcb2af2f212a3f26a800e
1741 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1742 Date: Fri Feb 7 11:52:48 2014 +0800
1744 Fix Commit of Visual Studio 2008 Projects
1746 Left out the update to json-glib.vcprojin, oops :|
1748 build/win32/vs9/json-glib.vcprojin | 58 +++++++++++++++++++++++++-------------
1749 1 file changed, 38 insertions(+), 20 deletions(-)
1751 commit 7053ea79f4c90f26e7e25c598a6a1617fbcea990
1752 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1753 Date: Fri Feb 7 11:35:47 2014 +0800
1755 Overhaul the Visual Studio 2008 Projects
1757 Split up the property sheets used to build JSON-GLib, and make all the
1758 projects (*.vcproj) and property sheets (*.vsprops) use UNIX line endings
1759 to simplify future maintenance. Also add projects to build and "install"
1760 the json-glib-validate and json-glib-format tools.
1762 Move the introspection file generation out of the Visual Studio projects
1763 to add an NMake Makefile later to generate the introspection files, to make
1764 the process clearer to people.
1766 Stop installing the test programs, although they continue to be built from
1767 the projects for now.
1769 Similar changes to the Visual Studio 2010 projects will follow.
1771 build/win32/vs9/Makefile.am | 20 +-
1772 build/win32/vs9/array.vcproj | 306 +++++++++++-----------
1773 build/win32/vs9/boxed.vcproj | 8 +-
1774 build/win32/vs9/builder.vcproj | 306 +++++++++++-----------
1775 build/win32/vs9/generator.vcproj | 306 +++++++++++-----------
1776 build/win32/vs9/gengir.vcproj | 77 ------
1777 build/win32/vs9/gvariant.vcproj | 8 +-
1778 build/win32/vs9/install.vcproj | 160 ++++++------
1779 build/win32/vs9/invalid.vcproj | 306 +++++++++++-----------
1780 build/win32/vs9/json-glib-build-defines.vsprops | 25 ++
1781 build/win32/vs9/json-glib-format.vcproj | 151 +++++++++++
1782 build/win32/vs9/json-glib-gen-srcs.vsprops | 19 ++
1783 build/win32/vs9/json-glib-install.vsprops | 37 +++
1784 build/win32/vs9/json-glib-validate.vcproj | 151 +++++++++++
1785 build/win32/vs9/json-glib-version-paths.vsprops | 53 ++++
1786 build/win32/vs9/json-glib.sln | 75 +++---
1787 build/win32/vs9/json-glib.vsprops | 127 ----------
1788 build/win32/vs9/node.vcproj | 306 +++++++++++-----------
1789 build/win32/vs9/object.vcproj | 302 +++++++++++-----------
1790 build/win32/vs9/parser.vcproj | 324 ++++++++++++------------
1791 build/win32/vs9/path.vcproj | 8 +-
1792 build/win32/vs9/reader.vcproj | 308 +++++++++++-----------
1793 build/win32/vs9/serialize-complex.vcproj | 8 +-
1794 build/win32/vs9/serialize-full.vcproj | 8 +-
1795 build/win32/vs9/serialize-simple.vcproj | 8 +-
1796 25 files changed, 1821 insertions(+), 1586 deletions(-)
1798 commit 7b865790ae3233a0636fdc780f843143a7e94a01
1799 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1800 Date: Fri Feb 7 10:23:40 2014 +0800
1802 Update build/win32/config.h.win32.in
1804 Make its entries reflect the entries that are being checked by the
1805 autotools build, and also make the entries reflect the situation on
1806 non-Visual C++ and newer Visual Studio versions better.
1808 build/win32/config.h.win32.in | 18 +++++++++++++-----
1809 1 file changed, 13 insertions(+), 5 deletions(-)
1811 commit 4f7dd7f5b004f1bcd478572c1cb6f2dd6822add1
1812 Author: Emmanuele Bassi <ebassi@gnome.org>
1813 Date: Mon Feb 3 23:50:34 2014 +0000
1815 Post-release version bump to 0.99.3
1818 1 file changed, 1 insertion(+), 1 deletion(-)
1820 commit 43f40339eae66e0f6545da7638f36c9b07de0bab
1821 Author: Emmanuele Bassi <ebassi@gnome.org>
1822 Date: Mon Feb 3 23:49:11 2014 +0000
1824 Release JSON-GLib 0.99.2 (1.0.0-rc1)
1826 First release candidate for JSON-GLib.
1829 configure.ac | 4 ++--
1830 2 files changed, 11 insertions(+), 2 deletions(-)
1832 commit 3c627b1e44172184f54399b03d10c1637265649b
1833 Author: Emmanuele Bassi <ebassi@gnome.org>
1834 Date: Mon Feb 3 23:46:56 2014 +0000
1836 build: Add missing file
1838 We need to dist the tap-test script.
1840 build/autotools/Makefile.am | 3 ++-
1841 1 file changed, 2 insertions(+), 1 deletion(-)
1843 commit a482772a181c6ee3bd5a8d74c04b8ff9186b43f8
1844 Author: Emmanuele Bassi <ebassi@gnome.org>
1845 Date: Mon Feb 3 23:45:24 2014 +0000
1847 build: Remove bogus rules
1849 We don't need check targets any more.
1851 build/Makefile.am | 10 ----------
1852 1 file changed, 10 deletions(-)
1854 commit 627a1b3f0343666923e95ebead0c7be821d29148
1855 Author: Emmanuele Bassi <ebassi@gnome.org>
1856 Date: Mon Feb 3 23:33:44 2014 +0000
1858 build: Remove type init option for gtk-doc
1860 We're building against a required version of GLib that does not need
1861 type initialization.
1863 doc/reference/Makefile.am | 2 +-
1864 1 file changed, 1 insertion(+), 1 deletion(-)
1866 commit 501c9fb3805c9236fc008032295e0cdd87c4df47
1867 Author: Bastien Nocera <hadess@hadess.net>
1868 Date: Sat Feb 1 22:52:27 2014 +0100
1870 reader: When a read() fails, don't track back on end()
1872 When a call to json_reader_read_element() fails if the element
1873 doesn't exist, we need to call json_reader_end_element() to clear
1876 But the _end_element() call will backtrack to the parent node,
1877 when the _read_element() call did not set the child node.
1879 To fix this, leave early from _end_*() calls when an error has
1882 https://bugzilla.gnome.org/show_bug.cgi?id=723428
1884 json-glib/json-reader.c | 16 ++++++++++++----
1885 1 file changed, 12 insertions(+), 4 deletions(-)
1887 commit 40abd7add9e3fa7288fdd144fd96da5270a86663
1888 Author: Bastien Nocera <hadess@hadess.net>
1889 Date: Sat Feb 1 23:31:02 2014 +0100
1891 tests: Add new test for reader level bug
1893 https://bugzilla.gnome.org/show_bug.cgi?id=723428
1895 json-glib/tests/reader.c | 43 +++++++++++++++++++++++++++++++++++++++++++
1896 1 file changed, 43 insertions(+)
1898 commit 440f735349aa30ce34957e50786a528e96335442
1899 Author: Bastien Nocera <hadess@hadess.net>
1900 Date: Fri Dec 27 17:14:06 2013 +0100
1902 reader: Fix example code for json_reader_read_member()
1904 Fix cut'n'paste error.
1906 https://bugzilla.gnome.org/show_bug.cgi?id=721137
1908 json-glib/json-reader.c | 6 +++---
1909 1 file changed, 3 insertions(+), 3 deletions(-)
1911 commit bce10169c945a551e589267ee698fd39917813c6
1912 Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>
1913 Date: Sun Feb 2 20:40:35 2014 +0800
1915 Updated Traditional Chinese translation(Hong Kong and Taiwan)
1917 po/zh_HK.po | 174 +++++++++++++++++++++++++++++++++++++++++++++++-------------
1918 po/zh_TW.po | 174 +++++++++++++++++++++++++++++++++++++++++++++++-------------
1919 2 files changed, 274 insertions(+), 74 deletions(-)
1921 commit 3e9b53978f36543a1537da8075b7c74e1eb1ffcf
1922 Author: Daniel Mustieles <daniel.mustieles@gmail.com>
1923 Date: Thu Jan 23 12:53:38 2014 +0100
1925 Updated FSF's address
1927 json-glib/json-scanner.c | 4 +---
1928 json-glib/json-scanner.h | 4 +---
1929 2 files changed, 2 insertions(+), 6 deletions(-)
1931 commit 668975eac681d84a041d6da8df8ccc71b92bb971
1932 Author: Yosef Or Boczko <yoseforb@src.gnome.org>
1933 Date: Sun Jan 26 05:32:33 2014 +0200
1935 Added Hebrew translation
1937 Signed-off-by: Yosef Or Boczko <yoseforb@src.gnome.org>
1939 po/he.po | 263 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1940 1 file changed, 263 insertions(+)
1942 commit 5fb0b925adb517445c0347f04fe281952b614b37
1943 Author: Wylmer Wang <wantinghard@gmail.com>
1944 Date: Fri Jan 24 21:40:10 2014 +0800
1946 Update Chinese simplified translation
1948 po/zh_CN.po | 175 +++++++++++++++++++++++++++++++++++++++++++++++-------------
1949 1 file changed, 138 insertions(+), 37 deletions(-)
1951 commit 7d1457e0f1c8d142647811005c9c348104c43287
1952 Author: Marek Černocký <marek@manet.cz>
1953 Date: Sat Jan 18 22:46:35 2014 +0100
1955 Updated Czech translation
1957 po/cs.po | 175 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
1958 1 file changed, 138 insertions(+), 37 deletions(-)
1960 commit 67571cf0b7b3dacb24726c05aa9fbc7a6d4060c1
1961 Author: Yuri Myasoedov <ymyasoedov@yandex.ru>
1962 Date: Sun Jan 12 22:35:31 2014 +0400
1964 Updated Russian translation
1966 po/ru.po | 180 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
1967 1 file changed, 141 insertions(+), 39 deletions(-)
1969 commit 8502517892c656b6f68034cc5f36254bae67cafc
1970 Author: Dimitris Spingos <dmtrs32@gmail.com>
1971 Date: Tue Jan 7 09:53:59 2014 +0200
1973 Updated Greek translation
1975 po/el.po | 45 +++++++++++++++++++++++++++------------------
1976 1 file changed, 27 insertions(+), 18 deletions(-)
1978 commit e919cfbbdce0b684566a0cd6e60bdd87a654e718
1979 Author: Rafael Ferreira <rafael.f.f1@gmail.com>
1980 Date: Fri Jan 3 06:05:58 2014 -0200
1982 Updated Brazilian Portuguese translation
1984 po/pt_BR.po | 48 +++++++++++++++++++++++++++++-------------------
1985 1 file changed, 29 insertions(+), 19 deletions(-)
1987 commit f16d9b82c4d36e949620f5ef6105985c087d438e
1988 Author: Andika Triwidada <andika@gmail.com>
1989 Date: Thu Jan 2 23:39:49 2014 +0700
1991 Updated Indonesian translation
1993 po/id.po | 182 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
1994 1 file changed, 141 insertions(+), 41 deletions(-)
1996 commit 314419676c5d7f4f2c19c530bcb9ced6972a8040
1997 Author: Victor Ibragimov <victor.ibragimov@gmail.com>
1998 Date: Fri Dec 20 14:32:41 2013 +0500
2000 Tajik translation updated
2002 po/tg.po | 175 ++++++++++++++++++++++++++++++++++++++++++++++++++-------------
2003 1 file changed, 139 insertions(+), 36 deletions(-)
2005 commit 11fd007fcb4734b5640d1481407d6fa0c4943256
2006 Author: Fran Diéguez <fran.dieguez@mabishu.com>
2007 Date: Thu Dec 19 01:13:28 2013 +0100
2009 Updated Galician translations
2011 po/gl.po | 39 ++++++++++++++++++++++++---------------
2012 1 file changed, 24 insertions(+), 15 deletions(-)
2014 commit 8bceaafd95ac36c531e1a1bf079c031d1c0785ab
2015 Author: Milo Casagrande <milo@ubuntu.com>
2016 Date: Wed Dec 11 10:47:36 2013 +0100
2018 [l10n] Updated Italian translation.
2020 po/it.po | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++-------------
2021 1 file changed, 138 insertions(+), 35 deletions(-)
2023 commit 0cba330f3b24d4c2fd8ba79cabddc23d6e7e8063
2024 Author: Daniel Mustieles <daniel.mustieles@gmail.com>
2025 Date: Mon Dec 9 16:03:35 2013 +0100
2027 Updated Spanish translation
2029 po/es.po | 30 +++++++++++++++++++++---------
2030 1 file changed, 21 insertions(+), 9 deletions(-)
2032 commit 0d6a2da5775de27160f9fd0bad783cb7d45d8dac
2033 Author: Emmanuele Bassi <ebassi@gnome.org>
2034 Date: Wed Dec 4 12:43:37 2013 +0000
2036 Make json-gvariant.h conform to the other headers
2038 Only include the necessary headers, and use a single-header inclusion
2039 guard to prevent people from including only json-gvariant.h.
2041 json-glib/json-gvariant.c | 5 +++++
2042 json-glib/json-gvariant.h | 7 +++++--
2043 2 files changed, 10 insertions(+), 2 deletions(-)
2045 commit 0de776ea67869b692ee8bd709fd70c0e2368d9fc
2046 Author: Emmanuele Bassi <ebassi@gnome.org>
2047 Date: Wed Dec 4 12:41:06 2013 +0000
2049 Move the single include guard after multiple inclusion one
2051 GCC (and other compilers) can optimise multiple inclusion of headers if
2059 pattern as the first thing inside a header. The single-header inclusion
2060 guard was preventing that from happening, so we need to move it inside
2061 the multiple inclusion guard.
2063 json-glib/json-builder.h | 6 +++---
2064 json-glib/json-enum-types.h.in | 6 +++---
2065 json-glib/json-generator.h | 6 +++---
2066 json-glib/json-parser.h | 6 +++---
2067 json-glib/json-path.h | 6 +++---
2068 json-glib/json-reader.h | 6 +++---
2069 json-glib/json-types.h | 6 +++---
2070 json-glib/json-version.h.in | 6 +++---
2071 8 files changed, 24 insertions(+), 24 deletions(-)
2073 commit b3072da5a2e897b2b87f84d30485bf316c4476fb
2074 Author: Emmanuele Bassi <ebassi@gnome.org>
2075 Date: Mon Dec 2 14:34:20 2013 +0000
2077 tests/gvariant: Use G_N_ELEMENTS
2079 Instead of sizeof(array)/sizeof(type).
2081 json-glib/tests/gvariant.c | 10 +++++-----
2082 1 file changed, 5 insertions(+), 5 deletions(-)
2084 commit 64b4f936617e781e9a3677cf98b2abde94b8ef2a
2085 Author: Joseph Artsimovich <joseph.artsimovich@youview.com>
2086 Date: Tue Sep 3 11:30:08 2013 +0100
2088 Make JSON to GVariant conversion handle some string to number conversions.
2090 Consider the following JSON: ["123"]
2091 Trying to convert it to GVariant with signature "(i)" would previously fail,
2092 as string-to-number conversions weren't implemented. This patch implements
2093 string-to-number and string-to-boolean conversions.
2095 https://bugzilla.gnome.org/show_bug.cgi?id=707382
2097 json-glib/json-gvariant.c | 24 ++++++++++++++++++++++++
2098 json-glib/tests/gvariant.c | 37 ++++++++++++++++++++++++++++++-------
2099 2 files changed, 54 insertions(+), 7 deletions(-)
2101 commit 35562f291b7bf1bae88d7e5f78d7be163ca263d6
2102 Author: bi <bisnard@antidot.net>
2103 Date: Thu May 16 14:00:03 2013 +0200
2105 Add tests for json paths (2 invalids, 1 valid)
2107 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
2110 json-glib/tests/path.c
2112 json-glib/tests/path.c | 24 ++++++++++++++++++++++++
2113 1 file changed, 24 insertions(+)
2115 commit d82420c14b19f29a993b7754ff1128b3524c4ad7
2116 Author: bi <bisnard@antidot.net>
2117 Date: Wed May 15 17:35:26 2013 +0200
2119 Handle invalid path: invalid first character
2121 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
2124 json-glib/json-path.c
2126 json-glib/json-path.c | 10 +++++++++-
2127 1 file changed, 9 insertions(+), 1 deletion(-)
2129 commit e4a054484774fd0849ca18617b6e20d15964fdd8
2130 Author: bi <bisnard@antidot.net>
2131 Date: Wed May 15 16:19:55 2013 +0200
2133 path: compile and query path '$' to retrieve root node
2135 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
2137 json-glib/json-path.c | 7 +++++--
2138 1 file changed, 5 insertions(+), 2 deletions(-)
2140 commit b5570400cbd95f46373dfce2877c6599802bec21
2141 Author: bi <bisnard@antidot.net>
2142 Date: Wed May 15 16:06:48 2013 +0200
2144 Handle invalid path : missing member name after .
2146 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
2148 json-glib/json-path.c | 8 ++++++++
2149 1 file changed, 8 insertions(+)
2151 commit 730761d0ab3b9a72cea0b5cf806e656ec93f8a11
2152 Author: Emmanuele Bassi <ebassi@gnome.org>
2153 Date: Mon Dec 2 11:11:25 2013 +0000
2155 docs: Add wiki link to the README file
2158 1 file changed, 2 insertions(+)
2160 commit 4df9e2a6157e9d874e6393f50143bb28bdef3ef8
2161 Author: Emmanuele Bassi <ebassi@gnome.org>
2162 Date: Mon Dec 2 11:05:53 2013 +0000
2164 docs: Further clean ups of the README
2166 Reword the description, and fit everything on a 80 columns margin.
2168 README.md | 48 ++++++++++++++++++++++++------------------------
2169 1 file changed, 24 insertions(+), 24 deletions(-)
2171 commit 567d6470f4fc88a650dd11ed28f414537dd4c6da
2172 Author: Emmanuele Bassi <ebassi@gnome.org>
2173 Date: Mon Dec 2 11:00:19 2013 +0000
2177 Update the requirements, and clean up the text.
2179 README.md | 47 +++++++++++++++++++++++++++--------------------
2180 1 file changed, 27 insertions(+), 20 deletions(-)
2182 commit 3c0ec689cdba1379791da3bcc1ad07c46416ac9a
2183 Author: Emmanuele Bassi <ebassi@gnome.org>
2184 Date: Mon Dec 2 10:46:57 2013 +0000
2186 build: Move the pkg-config file under json-glib
2188 The pkg-config file for a library is tied to the source, so it should
2189 not be in the top-level of the project.
2191 Makefile.am | 11 -----------
2192 configure.ac | 3 +--
2193 json-glib.pc.in | 11 -----------
2194 json-glib/Makefile.am | 10 ++++++++++
2195 json-glib/json-glib.pc.in | 11 +++++++++++
2196 5 files changed, 22 insertions(+), 24 deletions(-)
2198 commit 287628bc003ae3d3e1893898c5e1a8959f895f52
2199 Author: Emmanuele Bassi <ebassi@gnome.org>
2200 Date: Mon Dec 2 10:41:37 2013 +0000
2202 build: Drop unnecessary linker flags
2204 The -no-undefined linker flag is needed only when compiling for Windows,
2205 and it's added conditionally. Except that we also add it unconditionally
2206 in the LDFLAGS used for the libjson-glib-1.0 shared object. Whoopsie.
2208 We should also drop the unneeded -rpath: distributions will go out of
2209 their way to patch it out in any case.
2211 json-glib/Makefile.am | 2 +-
2212 1 file changed, 1 insertion(+), 1 deletion(-)
2214 commit 7ab837c98a10cc1464318e4e4d04426b6fcc070b
2215 Author: Emmanuele Bassi <ebassi@gnome.org>
2216 Date: Mon Dec 2 10:40:43 2013 +0000
2218 build: Fix syntax error in --enable-man define
2220 A missing comma was triggering a bad substitution and a warning when
2221 running the configure script.
2223 configure.ac | 4 ++--
2224 1 file changed, 2 insertions(+), 2 deletions(-)
2226 commit 45e06f80b97e4b2dc0d6a1a6c806013a07113262
2227 Author: Emmanuele Bassi <ebassi@gnome.org>
2228 Date: Mon Dec 2 10:30:13 2013 +0000
2230 build: Clean up unnecessary complications
2232 We don't need a custom Makefile for quiet rules: AM_V_GEN is pretty much
2235 The Makefile.am.gtest file is not included any longer, since we switched
2236 to TAP and GLib's own rules for unit testing.
2238 Makefile.am | 12 +++---
2239 build/autotools/Makefile.am | 1 -
2240 build/autotools/Makefile.am.enums | 4 +-
2241 build/autotools/Makefile.am.gitignore | 2 +-
2242 build/autotools/Makefile.am.gtest | 74 -----------------------------------
2243 build/autotools/Makefile.am.marshal | 4 +-
2244 build/autotools/Makefile.am.silent | 11 ------
2246 doc/reference/Makefile.am | 11 ------
2247 json-glib/Makefile.am | 2 -
2248 10 files changed, 10 insertions(+), 113 deletions(-)
2250 commit 01614d512891057ed417768a85868a1382fd9bc0
2251 Author: Aurimas Černius <aurisc4@gmail.com>
2252 Date: Sun Dec 1 18:07:23 2013 +0200
2254 Updated Lithuanian translation
2256 po/lt.po | 196 ++++++++++++++++++++++++++++++++++++++++++++++-----------------
2257 1 file changed, 143 insertions(+), 53 deletions(-)
2259 commit cda0a32cc6e2e45e4af58eb53a31fbfc0a9cc9ff
2260 Author: Emmanuele Bassi <ebassi@gnome.org>
2261 Date: Sat Nov 23 12:45:59 2013 +0000
2263 build: Use the correct TAP driver
2265 Re-sync with GLib's TAP harness.
2267 build/autotools/Makefile.am | 3 +-
2268 build/autotools/glib-tap.mk | 2 +-
2269 build/autotools/tap-driver.sh | 652 ++++++++++++++++++++++++++++++++++++++++++
2270 3 files changed, 655 insertions(+), 2 deletions(-)
2272 commit 36cc15ea015640a044d499cdf983f76e11184286
2273 Author: Dimitris Spingos <dmtrs32@gmail.com>
2274 Date: Thu Nov 14 11:25:18 2013 +0200
2276 Updated Greek translation
2278 po/el.po | 169 ++++++++++++++++++++++++++++++++++++++++++++++++---------------
2279 1 file changed, 130 insertions(+), 39 deletions(-)
2281 commit 9931570f6df75093e31c6770361f2f4544d846da
2282 Author: Fran Diéguez <fran.dieguez@mabishu.com>
2283 Date: Fri Nov 1 15:29:07 2013 +0100
2285 Updated Galician translations
2287 po/gl.po | 164 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
2288 1 file changed, 128 insertions(+), 36 deletions(-)
2290 commit e21f7de27c64748a44985af9165cbb9066b19bbc
2291 Author: Daniel Mustieles <daniel.mustieles@gmail.com>
2292 Date: Thu Oct 31 18:23:18 2013 +0100
2294 Updated Spanish translation
2296 po/es.po | 178 +++++++++++++++++++++++++++++++++++++++++++++++----------------
2297 1 file changed, 133 insertions(+), 45 deletions(-)
2299 commit 80a6da1d5571f4a75a4de83ff7d63dd6668dbc94
2300 Author: Emmanuele Bassi <ebassi@gnome.org>
2301 Date: Mon Oct 28 12:55:43 2013 +0000
2303 docs: Include tool man pages in the API reference
2305 The small utilities we ship should have their main pages included in the
2306 API reference, similarly to what GLib does.
2308 doc/reference/json-glib-docs.xml | 7 ++++++-
2309 1 file changed, 6 insertions(+), 1 deletion(-)
2311 commit 42c36ba1c5a04a60bf1a6ec221c722b6c0136562
2312 Author: Emmanuele Bassi <ebassi@gnome.org>
2313 Date: Mon Oct 28 11:17:06 2013 +0000
2315 Improve consistency in error messages
2317 Use the same spacing and formatting rules.
2319 json-glib/json-glib-format.c | 4 ++--
2320 json-glib/json-glib-validate.c | 2 +-
2321 2 files changed, 3 insertions(+), 3 deletions(-)
2323 commit a6816327ece4edbce8903967780364638752616a
2324 Author: Enrico Nicoletto <liverig@gmail.com>
2325 Date: Mon Oct 28 09:04:56 2013 -0200
2327 Updated Brazilian Portuguese translation
2329 po/pt_BR.po | 170 ++++++++++++++++++++++++++++++++++++++++++++++--------------
2330 1 file changed, 132 insertions(+), 38 deletions(-)
2332 commit 06ba2cd30373f2043fe1f09a12e11eae52aa5842
2333 Author: Emmanuele Bassi <ebassi@gnome.org>
2334 Date: Mon Oct 28 00:07:33 2013 +0000
2336 po: Add utilities to the POTFILES
2338 They come with translatable strings.
2340 po/POTFILES.in | 2 ++
2341 1 file changed, 2 insertions(+)
2343 commit 15d5439f05ecf933258c19995fc684f709327541
2344 Author: Emmanuele Bassi <ebassi@gnome.org>
2345 Date: Sun Oct 27 23:45:33 2013 +0000
2347 Add abicheck.sh test output to the ignored files
2350 1 file changed, 1 insertion(+)
2352 commit 8ec28bcaac3d5134670e5f51fbd8646ec741e8c7
2353 Author: Emmanuele Bassi <ebassi@gnome.org>
2354 Date: Sun Oct 27 23:43:19 2013 +0000
2356 build: Clean up configure summary
2358 configure.ac | 3 +--
2359 1 file changed, 1 insertion(+), 2 deletions(-)
2361 commit 436ed4f2b0ce86764c84af8e0ad4b1181a287050
2362 Author: Emmanuele Bassi <ebassi@gnome.org>
2363 Date: Sun Oct 27 23:11:56 2013 +0000
2365 docs: Add infrastructure to build man pages
2367 The small utilities we build and install should have their own manual
2371 build/autotools/Makefile.am | 1 +
2372 build/autotools/jh-catalog.m4 | 54 ++++++++++++++++++++++++
2373 configure.ac | 50 ++++++++++++++++++++++
2374 doc/reference/Makefile.am | 31 ++++++++++++--
2375 doc/reference/json-glib-format.xml | 81 ++++++++++++++++++++++++++++++++++++
2376 doc/reference/json-glib-validate.xml | 67 +++++++++++++++++++++++++++++
2377 7 files changed, 283 insertions(+), 3 deletions(-)
2379 commit 848e954addf5a9a54beb37d86f684b37d0d595f1
2380 Author: Emmanuele Bassi <ebassi@gnome.org>
2381 Date: Sun Oct 27 16:43:54 2013 +0000
2385 A simple command line utility to format JSON data; it allows prettifying
2386 and unprettifying JSON.
2389 json-glib/Makefile.am | 5 +-
2390 json-glib/json-glib-format.c | 211 +++++++++++++++++++++++++++++++++++++++++++
2391 3 files changed, 216 insertions(+), 1 deletion(-)
2393 commit 1fcc3dd0956ae381444f2b1808f39424a2192a6f
2394 Author: Emmanuele Bassi <ebassi@gnome.org>
2395 Date: Sat Oct 26 20:44:31 2013 +0100
2399 The json-glib-validate tool is a small utility that validates the data
2400 found at the URIs passed on its command line.
2403 json-glib/Makefile.am | 7 ++
2404 json-glib/json-glib-validate.c | 171 +++++++++++++++++++++++++++++++++++++++++
2405 3 files changed, 179 insertions(+)
2407 commit a40e07510208456eeb52776a5ab1d8eb90625fbc
2408 Author: Emmanuele Bassi <ebassi@gnome.org>
2409 Date: Sat Oct 26 20:43:36 2013 +0100
2411 parser: Always perform UTF-8 validation
2413 JSON is defined to be encoded using UTF-8, so we should not rely on
2414 the documentation saying so when parsing, but validate the input and
2415 eventually provide a recoverable parsing error.
2417 json-glib/json-parser.c | 9 +++++++++
2418 json-glib/json-parser.h | 2 ++
2419 2 files changed, 11 insertions(+)
2421 commit e71d87eefe4fa51b9a391187c7b41d4c04333e02
2422 Author: Emmanuele Bassi <ebassi@gnome.org>
2423 Date: Sat Oct 26 20:39:39 2013 +0100
2425 parser: Always use a valid GError internally
2427 Do not just pass the GError through from the public-facing arguments: we
2428 may want to perform error checking internally at any later date.
2430 json-glib/json-parser.c | 17 +++++++++++++++--
2431 1 file changed, 15 insertions(+), 2 deletions(-)
2433 commit 288f8300977c2f7fb3912c147395fef8e1fe016e
2434 Author: Emmanuele Bassi <ebassi@gnome.org>
2435 Date: Sat Oct 26 20:38:59 2013 +0100
2437 build: Clean up the main Makefile.am
2439 json-glib/Makefile.am | 44 ++++++++++++++++++++++++++++----------------
2440 1 file changed, 28 insertions(+), 16 deletions(-)
2442 commit ce46c06d9c088501c8cbab2dba51856be1a05592
2443 Author: Juan A. Suarez Romero <jasuarez@igalia.com>
2444 Date: Wed Sep 18 17:52:17 2013 +0000
2446 path: Check if JSONPath expression is NULL
2448 https://bugzilla.gnome.org/show_bug.cgi?id=708318
2450 json-glib/json-path.c | 2 ++
2451 1 file changed, 2 insertions(+)
2453 commit a876adb3f3a20d87d76f3bf6902a64dd912c47cf
2454 Author: Jiro Matsuzawa <jmatsuzawa@gnome.org>
2455 Date: Thu Sep 19 08:12:04 2013 +0900
2457 l10n: Update Japanese translation
2459 po/ja.po | 80 ++++++++++++++++++++++++++++++++--------------------------------
2460 1 file changed, 40 insertions(+), 40 deletions(-)
2462 commit 17dbdd5cce26f257a522ba0c218a05753e1fa3b1
2463 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
2464 Date: Fri Aug 30 16:41:41 2013 +0800
2466 Visual C++ Builds: Use Custom Build Rules
2468 ...so that the json-glib.def file can be regenerated as automatically
2469 when the json-glib.symbols file is updated, and the json-glib.def can be
2470 automatically deleted on a "clean" request.
2472 Also drop some unneeded items from the property sheets.
2474 build/win32/vs10/json-glib.props | 8 ++---
2475 build/win32/vs10/json-glib.vcxproj.filtersin | 3 ++
2476 build/win32/vs10/json-glib.vcxprojin | 28 +++++++++-------
2477 build/win32/vs9/json-glib.vcprojin | 50 +++++++++++++++++++---------
2478 build/win32/vs9/json-glib.vsprops | 10 ++----
2479 5 files changed, 58 insertions(+), 41 deletions(-)
2481 commit 8e71b3e89d1852414ab27801e873f37e472fec12
2482 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
2483 Date: Wed Aug 28 11:57:45 2013 +0800
2485 MSVC Builds: Build the invalid test program
2487 Add project files to build the "invalid" test program.
2489 build/win32/vs10/Makefile.am | 2 +
2490 build/win32/vs10/install.vcxproj | 4 +
2491 build/win32/vs10/invalid.vcxproj | 167 +++++++++++++++++++++++++++++++
2492 build/win32/vs10/invalid.vcxproj.filters | 14 +++
2493 build/win32/vs10/json-glib.sln | 10 ++
2494 build/win32/vs9/Makefile.am | 1 +
2495 build/win32/vs9/invalid.vcproj | 153 ++++++++++++++++++++++++++++
2496 build/win32/vs9/json-glib.sln | 14 +++
2497 8 files changed, 365 insertions(+)
2499 commit 590a6ce8cecfd6fdfb22c7765bca20f5da3aa3d6
2500 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
2501 Date: Wed Aug 28 11:43:40 2013 +0800
2503 MSVC Builds: Drop Unneeded Defines
2505 ...since we are using GLib APIs to locate test data files since
2508 build/win32/vs10/parser.vcxproj | 8 ++++----
2509 build/win32/vs9/parser.vcproj | 8 ++++----
2510 2 files changed, 8 insertions(+), 8 deletions(-)
2512 commit df8ff199e2a56f5b0430dbe6c7a30addac5fcb42
2513 Author: Emmanuele Bassi <ebassi@gnome.org>
2514 Date: Thu Aug 22 12:10:07 2013 +0100
2516 Drop some more pointless GET_PRIVATE macros
2518 We can use the autogenerated get_instance_private() function.
2520 json-glib/json-builder.c | 8 +++-----
2521 json-glib/json-generator.c | 11 +++++------
2522 2 files changed, 8 insertions(+), 11 deletions(-)
2524 commit 141b0a4a2b3b4ef7d9f8769aef5b43f7fb841edd
2525 Author: Emmanuele Bassi <ebassi@gnome.org>
2526 Date: Thu Aug 22 12:02:01 2013 +0100
2528 parser: Fix all occurances of TESTS_DATA_DIR
2530 And use g_test_build_filename().
2532 json-glib/tests/parser.c | 7 +------
2533 1 file changed, 1 insertion(+), 6 deletions(-)
2535 commit b8baa2a07e6b125f38a3a9a0101cf9b887790ea5
2536 Author: Emmanuele Bassi <ebassi@gnome.org>
2537 Date: Thu Aug 22 11:50:14 2013 +0100
2539 parser: Use the proper GLib API to find test data files
2541 Instead of our homegrown solution. This should fix the regression in the
2542 installed tests case.
2544 Original patch by: Colin Walters <walters@verbum.org>
2546 json-glib/tests/Makefile.am | 1 -
2547 json-glib/tests/parser.c | 7 +------
2548 2 files changed, 1 insertion(+), 7 deletions(-)
2550 commit 66aa02b0da6d9964f38c4531f775f7c25b07af7d
2551 Author: Emmanuele Bassi <ebassi@gnome.org>
2552 Date: Thu Aug 22 11:46:11 2013 +0100
2554 parser: Drop a pointless macro
2556 The JSON_PARSER_GET_PRIVATE macro is pointless, now that we use the new
2559 json-glib/json-parser.c | 6 ++----
2560 1 file changed, 2 insertions(+), 4 deletions(-)
2562 commit 5b6ada6b362f3ff160608c00bcffbb8f2b8eff7b
2563 Author: Emmanuele Bassi <ebassi@gnome.org>
2564 Date: Wed Aug 21 12:16:10 2013 +0100
2566 Remove compile time GLib version check
2568 We depend on a new version of GLib, so we can remove a bunch of old
2571 json-glib/json-builder.c | 14 +-------------
2572 json-glib/json-generator.c | 14 +-------------
2573 json-glib/json-gobject.c | 8 --------
2574 json-glib/json-parser.c | 14 +-------------
2575 json-glib/json-reader.c | 13 -------------
2576 json-glib/tests/array.c | 4 ----
2577 json-glib/tests/boxed.c | 3 ---
2578 json-glib/tests/builder.c | 3 ---
2579 json-glib/tests/generator.c | 3 ---
2580 json-glib/tests/gvariant.c | 3 ---
2581 json-glib/tests/invalid.c | 3 ---
2582 json-glib/tests/node.c | 3 ---
2583 json-glib/tests/object.c | 3 ---
2584 json-glib/tests/parser.c | 3 ---
2585 json-glib/tests/path.c | 3 ---
2586 json-glib/tests/reader.c | 3 ---
2587 json-glib/tests/serialize-complex.c | 3 ---
2588 json-glib/tests/serialize-full.c | 3 ---
2589 json-glib/tests/serialize-simple.c | 3 ---
2590 19 files changed, 3 insertions(+), 103 deletions(-)
2592 commit 361e427316cc50b52e4b8f0a71a2b29d1a02ed36
2593 Author: Emmanuele Bassi <ebassi@gnome.org>
2594 Date: Wed Aug 21 12:08:44 2013 +0100
2596 path: Remove unused variable
2598 json-glib/json-path.c | 2 +-
2599 1 file changed, 1 insertion(+), 1 deletion(-)
2601 commit 6c3f870f10465602c2570e0ba3d2311587437977
2602 Author: Emmanuele Bassi <ebassi@gnome.org>
2603 Date: Wed Aug 21 12:07:39 2013 +0100
2605 tests: Use the new TAP support in GTest
2607 Instead of using the old GLib test harness, we should use the newly
2608 added TAP support and the TAP driver inside autotools.
2611 build/autotools/Makefile.am | 14 +---
2612 build/autotools/Makefile.am.gitignore | 8 +-
2613 build/autotools/glib-tap.mk | 134 ++++++++++++++++++++++++++++++++++
2614 build/autotools/glibtests.m4 | 28 +++++++
2615 build/autotools/tap-test | 5 ++
2616 configure.ac | 11 +--
2617 json-glib/Makefile.am | 10 +--
2618 json-glib/tests/Makefile.am | 52 ++-----------
2619 9 files changed, 189 insertions(+), 74 deletions(-)
2621 commit edfa380703f289c509a442d2467f1f8cfa189fff
2622 Author: Emmanuele Bassi <ebassi@gnome.org>
2623 Date: Wed Aug 21 12:01:32 2013 +0100
2625 Require GLib >= 2.37.6
2627 We're going to need the latest snapshot.
2629 configure.ac | 4 ++--
2630 1 file changed, 2 insertions(+), 2 deletions(-)
2632 commit 577f7987896a3cfebe5e43d8ebbd94692ee34020
2633 Author: Emmanuele Bassi <ebassi@gnome.org>
2634 Date: Wed Aug 21 12:01:07 2013 +0100
2638 Start a new development cycle.
2641 1 file changed, 1 insertion(+), 1 deletion(-)
2643 commit f9012e0760aea54e652acde3a3ab9cc8e154e3b0
2644 Author: Fabio Tomat <f.t.public@gmail.com>
2645 Date: Tue Aug 20 15:14:12 2013 +0200
2647 Added Friulian translation
2649 po/fur.po | 157 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2650 1 file changed, 157 insertions(+)
2652 commit 3fd47359707dfc15277cef505d4008c10d8455e9
2653 Author: Emmanuele Bassi <ebassi@gnome.org>
2654 Date: Thu Jul 11 17:04:13 2013 +0100
2656 Use new macros when compiling against new GLib
2658 If we're being compiled against a newer version of GLib, we should use
2659 the new macros that add instance private data.
2661 Since this is a stable branch, we cannot bump the GLib requirement; so
2662 we use version checks to conditionally compile the new code.
2664 json-glib/json-builder.c | 15 ++++++++++++---
2665 json-glib/json-generator.c | 15 ++++++++++++---
2666 json-glib/json-parser.c | 12 +++++++++++-
2667 json-glib/json-reader.c | 10 ++++++++++
2668 4 files changed, 45 insertions(+), 7 deletions(-)
2670 commit a9327484746820a5a2b8c1acf4a78470b004f0a0
2671 Author: Emmanuele Bassi <ebassi@gnome.org>
2672 Date: Thu Jul 11 16:49:14 2013 +0100
2674 build: Add configure option to enable -Bsymbolic
2676 We should always compile with -Bsymbolic enabled to avoid intra-library
2679 https://bugzilla.gnome.org/show_bug.cgi?id=703734
2681 configure.ac | 24 ++++++++++++++++++++++++
2682 1 file changed, 24 insertions(+)
2684 commit 8673d5abca21f4c1729c26d7ada1a409e5842572
2685 Author: Victor Ibragimov <victor.ibragimov@gmail.com>
2686 Date: Wed Jul 17 13:47:38 2013 +0500
2688 Tajik translation updated
2690 po/tg.po | 34 +++++++++++++++++-----------------
2691 1 file changed, 17 insertions(+), 17 deletions(-)
2693 commit 0d6d965d692d0863ee8f0114e2abdd66cdd69f21
2694 Author: Victor Ibragimov <victor.ibragimov@gmail.com>
2695 Date: Wed Jun 5 14:31:15 2013 +0500
2699 po/tg.po | 18 ++++++++++--------
2700 1 file changed, 10 insertions(+), 8 deletions(-)
2702 commit 10930960f20a61478244187e290433558f0a1155
2703 Author: Emmanuele Bassi <ebassi@gnome.org>
2704 Date: Fri May 17 00:21:36 2013 +0100
2706 build: Add ltp 1.10 to the whitelist
2709 1 file changed, 1 insertion(+), 1 deletion(-)
2711 commit 53431a7f034cbee724c9115783538c087dc07d31
2712 Author: Emmanuele Bassi <ebassi@gnome.org>
2713 Date: Thu May 16 23:37:05 2013 +0100
2715 build: Remove INCLUDES
2717 It has been replaced by AM_CPPFLAGS for a while.
2719 doc/reference/Makefile.am | 2 +-
2720 json-glib/Makefile.am | 6 +++---
2721 2 files changed, 4 insertions(+), 4 deletions(-)
2723 commit 3e9858cb9c34f492ad0859bd262c8c4691260b41
2724 Author: Emmanuele Bassi <ebassi@gnome.org>
2725 Date: Thu May 16 23:27:56 2013 +0100
2727 build: Add --enable-installed-tests
2729 See https://live.gnome.org/GnomeGoals/InstalledTests for more
2732 It's still possible to run `make check` with locally uninstalled tests.
2735 configure.ac | 16 +++++++++++++++-
2736 json-glib/tests/Makefile.am | 46 +++++++++++++++++++++++++++++++++++++--------
2737 json-glib/tests/parser.c | 24 ++++++++++++++++++++---
2738 4 files changed, 75 insertions(+), 12 deletions(-)
2740 commit a595c61dbd2dd6f16acc2549504f553c76551752
2741 Author: Emmanuele Bassi <ebassi@gnome.org>
2742 Date: Thu May 16 10:47:09 2013 +0100
2744 tests: Improve the JsonPath suite
2746 Run each expression as a separate unit, so we can catch errors more
2749 json-glib/tests/path.c | 182 ++++++++++++++++++++++++++++++++-----------------
2750 1 file changed, 121 insertions(+), 61 deletions(-)
2752 commit 72a3a8f71003d40087c59371d07df5b59f2df3a7
2753 Author: Emmanuele Bassi <ebassi@gnome.org>
2754 Date: Thu May 16 10:16:02 2013 +0100
2756 debug: Clean up debug flags accessor
2758 Mark json_get_debug_flags() as an internal function, and drop the '_'
2759 prefix; also, add a simple macro that we can use everywhere to mask the
2762 json-glib/json-debug.c | 8 ++++----
2763 json-glib/json-debug.h | 9 ++++++---
2764 json-glib/json-path.c | 7 ++++++-
2765 3 files changed, 16 insertions(+), 8 deletions(-)
2767 commit 5b89c6438b8c1bf7a7b1476305a4e20f2c34234b
2768 Author: Emmanuele Bassi <ebassi@gnome.org>
2769 Date: Thu May 16 10:05:51 2013 +0100
2771 path: Move debug dump of the path into its own function
2773 The path parsing function is already pretty long, so we should isolate
2774 the debugging code out of the way.
2776 json-glib/json-path.c | 123 +++++++++++++++++++++++++-------------------------
2777 1 file changed, 62 insertions(+), 61 deletions(-)
2779 commit c912213d05ea9cacb5ba87f25c76581737c6fbf6
2780 Author: Emmanuele Bassi <ebassi@gnome.org>
2781 Date: Thu May 16 10:02:50 2013 +0100
2783 Use G_DEFINE_QUARK macro
2785 Instead of hand-writing the error domain function ourselves.
2787 json-glib/json-parser.c | 10 +++-------
2788 json-glib/json-path.c | 8 ++------
2789 json-glib/json-reader.c | 10 +++-------
2790 3 files changed, 8 insertions(+), 20 deletions(-)
2792 commit ff226427bd4ab911f30a985a2c60e3eaca51c066
2793 Author: Emmanuele Bassi <ebassi@gnome.org>
2794 Date: Wed May 15 21:51:09 2013 +0100
2796 Update ignore file for autotools 1.13
2799 1 file changed, 1 insertion(+)
2801 commit e034cb033a6ba198cf22cd0601ab65bfd8c5b8dd
2802 Author: Emmanuele Bassi <ebassi@gnome.org>
2803 Date: Wed May 15 21:50:01 2013 +0100
2805 tests/path: Start adding negative tests for JsonPath
2807 json-glib/tests/path.c | 14 ++++++++++++++
2808 1 file changed, 14 insertions(+)
2810 commit 72909d28f48365f249e87ddb0ebea8ad0f0adac1
2811 Author: Emmanuele Bassi <ebassi@gnome.org>
2812 Date: Wed May 15 21:39:46 2013 +0100
2814 tests/path: Allow testing for valid queries
2816 This will allow adding negative tests to JsonPath.
2818 The tests will only be caught when compiling the query; an invalid query
2819 won't return a match, so there's no point to check matches.
2821 json-glib/tests/path.c | 64 +++++++++++++++++++++++++++++++++++++++-----------
2822 1 file changed, 50 insertions(+), 14 deletions(-)
2824 commit 69d50a83b1def47bdb6e3d5e2ef8f59081515dd5
2825 Author: Emmanuele Bassi <ebassi@gnome.org>
2826 Date: Tue Apr 16 20:02:18 2013 +0100
2828 Post-release version bump to 0.16.1
2830 configure.ac | 4 ++--
2831 1 file changed, 2 insertions(+), 2 deletions(-)
2833 commit 2a0e59c07aaf3788ace907e62a1b5140e919992f
2834 Author: Emmanuele Bassi <ebassi@gnome.org>
2835 Date: Tue Apr 16 19:56:26 2013 +0100
2837 Release JSON-GLib 0.16.0 (stable)
2839 configure.ac | 4 ++--
2840 1 file changed, 2 insertions(+), 2 deletions(-)
2842 commit 55fdc3aa8fcbebd424926eca9a912caa3f41acdf
2843 Author: Emmanuele Bassi <ebassi@gnome.org>
2844 Date: Tue Apr 16 19:59:41 2013 +0100
2846 docs: Fix xinclude fallback for annotation glossary
2848 doc/reference/json-glib-docs.xml | 2 +-
2849 1 file changed, 1 insertion(+), 1 deletion(-)
2851 commit d4e864799773ebc047219482d474f894f151eb93
2852 Author: Kristjan SCHMIDT <kristjan.schmidt@googlemail.com>
2853 Date: Mon Apr 1 18:32:26 2013 +0200
2855 Add Esperanto translation
2857 po/eo.po | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2858 1 file changed, 170 insertions(+)
2860 commit 183dac4f69c44a46d5634f82a773a41a3a449a5b
2861 Author: Seong-ho Cho <darkcircle.0426@gmail.com>
2862 Date: Thu Mar 21 00:04:11 2013 +0900
2864 Updated Korean translation
2866 po/ko.po | 67 ++++++++++++++++++++++++++++++++--------------------------------
2867 1 file changed, 34 insertions(+), 33 deletions(-)
2869 commit 5bc2060d2c433622c5b7df44d0dd3cb7fc3d7a17
2870 Author: Victor Ibragimov <victor.ibragimov@gmail.com>
2871 Date: Tue Mar 19 22:36:30 2013 +0100
2873 [l10n] Added Tadjik translation
2875 po/tg.po | 155 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2876 1 file changed, 155 insertions(+)
2878 commit 7b7ac31d069d0cda5ec5d8d16ef1e2a9f43c8bfe
2879 Author: Rūdolfs Mazurs <rudolfsm@src.gnome.org>
2880 Date: Sun Mar 17 20:23:41 2013 +0200
2882 Updated Latvian translation
2884 po/lv.po | 65 ++++++++++++++++++++++++++++++++--------------------------------
2885 1 file changed, 33 insertions(+), 32 deletions(-)
2887 commit 474cd483c4ab292bbd3ceab9f411159989e743be
2888 Author: Ask H. Larsen <asklarsen@gmail.com>
2889 Date: Sun Mar 17 08:27:33 2013 +0100
2891 Updated Danish translation
2893 po/da.po | 67 ++++++++++++++++++++++++++++++++--------------------------------
2894 1 file changed, 34 insertions(+), 33 deletions(-)
2896 commit 879ed51b7c2629a3f1c512bb787dd79e097dc7ca
2897 Author: Duarte Loreto <happyguy_pt@hotmail.com>
2898 Date: Fri Mar 15 01:00:51 2013 +0000
2900 Updated Portuguese translation and converted to New Spelling (Novo AO)
2902 po/pt.po | 98 ++++++++++++++++++++++++++++++++--------------------------------
2903 1 file changed, 49 insertions(+), 49 deletions(-)
2905 commit e1a55fde8a6a5cc0f1fe44ccfd54c60dd8a7aec6
2906 Author: Emmanuele Bassi <ebassi@gnome.org>
2907 Date: Wed Mar 13 14:41:23 2013 -0300
2909 variant: Fix documentation and annotations for deserialize()
2911 The returned GVariant when deserializing from JSON has a floating
2912 reference that needs to be sunk.
2914 json-glib/json-gvariant.c | 15 +++++++++++----
2915 1 file changed, 11 insertions(+), 4 deletions(-)
2917 commit 8bba53c334b26811083c6d786a527afce965f25d
2918 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
2919 Date: Thu Mar 7 17:30:10 2013 +0800
2921 Update Visual Studio Solution Files
2923 Integrate the utility projects to build the introspection files, where one
2924 can use to build the introspection files directly from the Visual Studio
2925 IDE if desired. Note that the introspection files are not built by default
2926 in a standard Visual Studio build process for JSON-GLib.
2928 build/win32/vs10/json-glib.sln | 6 ++++++
2929 build/win32/vs9/json-glib.sln | 9 +++++++++
2930 2 files changed, 15 insertions(+)
2932 commit 522a8b40915531ce6fe3075f5f83e6aea984e019
2933 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
2934 Date: Thu Mar 7 17:28:12 2013 +0800
2936 Visual Studio Builds: Support building introspection files
2938 Add a Windows .bat and a python script to create a file list of headers
2939 and sources to be processed by g-ir-scanner, and to call g-ir-scanner to
2940 build the introspection files for JSON-GLib. This will enable one to build
2941 the introspection files with Visual Studio builds without needing a
2942 BASH-style shell like MSYS.
2944 Also add utility Visual Studio projects that can be used to call the
2945 Windows .bat to build the introspection files, for convenience
2947 build/win32/Makefile.am | 6 +-
2948 build/win32/gen-file-list-jsonglib.py | 114 +++++++++++++++++++++++++++++
2949 build/win32/gengir_jsonglib.bat | 132 ++++++++++++++++++++++++++++++++++
2950 build/win32/vs10/Makefile.am | 1 +
2951 build/win32/vs10/gengir.vcxproj | 104 +++++++++++++++++++++++++++
2952 build/win32/vs9/Makefile.am | 1 +
2953 build/win32/vs9/gengir.vcproj | 77 ++++++++++++++++++++
2954 7 files changed, 434 insertions(+), 1 deletion(-)
2956 commit a518623439d8bcb7052affe7aeef9783e026138b
2957 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
2958 Date: Thu Mar 7 17:22:37 2013 +0800
2960 Update build/win32/config.h.win32(.in)
2962 Make its entries reflect the entries that are requested in the config.h.in
2963 that was generated with autotools
2965 build/win32/config.h.win32.in | 21 +++++++++++++++++++++
2966 1 file changed, 21 insertions(+)
2968 commit 3350c6ee0767fa18ab3ccd7c699ba5a397418573
2969 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
2970 Date: Thu Mar 7 17:21:04 2013 +0800
2972 Update Visual Studio Property Sheets
2974 -Replace JsonGlibVersion with ApiVersion, to be consistent with the Visual
2975 Studio property sheets of the other parts of the GTK+/Clutter stack, and
2976 update the corresponding projects
2977 -Add directives in the property sheets so that we use later to build the
2980 build/win32/vs10/json-glib.props | 69 +++++++++++++++++++++++-------------
2981 build/win32/vs10/json-glib.vcxprojin | 8 ++---
2982 build/win32/vs9/json-glib.vcprojin | 8 ++---
2983 build/win32/vs9/json-glib.vsprops | 59 ++++++++++++++++++++----------
2984 4 files changed, 93 insertions(+), 51 deletions(-)
2986 commit 10bc48945678b1c61f42a2860b1ca89c0d9d248f
2987 Author: Inaki Larranaga Murgoitio <dooteo@zundan.com>
2988 Date: Mon Mar 4 22:53:50 2013 +0100
2990 Updated Basque language
2992 po/eu.po | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2993 1 file changed, 158 insertions(+)
2995 commit ebe85c769b380d442ec246edebaccf8a5186b366
2996 Author: A S Alam <aalam@users.sf.net>
2997 Date: Tue Feb 26 07:28:55 2013 +0530
2999 Punjabi: Translation updated (aalam)
3001 po/pa.po | 49 +++++++++++++++++++++++++------------------------
3002 1 file changed, 25 insertions(+), 24 deletions(-)
3004 commit 96c3822becd754851c0370c5dcb983c2579ad9d7
3005 Author: Alexandre Franke <alexandre.franke@gmail.com>
3006 Date: Wed Feb 20 20:12:59 2013 +0100
3008 Update French translation
3010 po/fr.po | 44 ++++++++++++++++++++++----------------------
3011 1 file changed, 22 insertions(+), 22 deletions(-)
3013 commit 97e0e0194a7273e928fe3e73a875382fb5810333
3014 Author: Piotr Drąg <piotrdrag@gmail.com>
3015 Date: Sun Feb 17 20:13:33 2013 +0100
3017 Updated Polish translation
3019 po/pl.po | 10 +++++-----
3020 1 file changed, 5 insertions(+), 5 deletions(-)
3022 commit 078f26ac09eec7aa5b00823dedb56c5c934f9aa2
3023 Author: Anish A <aneesh.nl@gmail.com>
3024 Date: Thu Feb 14 21:23:15 2013 +0400
3026 Updated Malayalam Localization
3028 po/ml.po | 48 ++++++++++++++++++++++++------------------------
3029 1 file changed, 24 insertions(+), 24 deletions(-)
3031 commit eba4dfe745e14f8a27339d2b9962168aeec25b94
3032 Author: Evan Nemerson <evan@coeus-group.com>
3033 Date: Mon Feb 11 01:55:51 2013 -0800
3035 node: add (transfer none) annotations to the new typed initializers
3037 https://bugzilla.gnome.org/show_bug.cgi?id=693575
3039 json-glib/json-node.c | 14 +++++++-------
3040 1 file changed, 7 insertions(+), 7 deletions(-)
3042 commit 53c92e81be7d6d59d177ec2e78ee5e3bd86bc6ac
3043 Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>
3044 Date: Mon Feb 4 20:33:01 2013 +0800
3046 Updated Traditional Chinese translation(Hong Kong and Taiwan)
3048 po/zh_HK.po | 67 ++++++++++++++++++++++++++++++-------------------------------
3049 po/zh_TW.po | 67 ++++++++++++++++++++++++++++++-------------------------------
3050 2 files changed, 66 insertions(+), 68 deletions(-)
3052 commit 437418bc7f5f176cd3cee6f88aaa51f9b69ac9ae
3053 Author: Gheyret Kenji <gheyret@gmail.com>
3054 Date: Sat Jan 26 09:48:04 2013 +0900
3056 Updated Uyghur translation
3058 Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
3061 1 file changed, 2 insertions(+), 2 deletions(-)
3063 commit e4653a5c9ae70621bfba6314e4c538a8415923a1
3064 Author: Gheyret Kenji <gheyret@gmail.com>
3065 Date: Sat Jan 26 09:45:46 2013 +0900
3067 Updated Uyghur translation
3069 Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
3071 po/ug.po | 52 ++++++++++++++++++++++++++--------------------------
3072 1 file changed, 26 insertions(+), 26 deletions(-)
3074 commit e2172751e967d1dbbeb618eda68c4dc0aec709f3
3075 Author: Milo Casagrande <milo@ubuntu.com>
3076 Date: Thu Jan 24 22:36:47 2013 +0100
3078 [l10n] Updated Italian translation.
3080 po/it.po | 68 +++++++++++++++++++++++++++-------------------------------------
3081 1 file changed, 29 insertions(+), 39 deletions(-)
3083 commit eff4e0997aace5b99ab1bfd1dde9dbd3c8127b7d
3084 Author: Kjartan Maraas <kmaraas@gnome.org>
3085 Date: Wed Jan 23 14:01:55 2013 +0100
3087 Updated Norwegian bokmål translation
3089 po/nb.po | 48 ++++++++++++++++++++++++------------------------
3090 1 file changed, 24 insertions(+), 24 deletions(-)
3092 commit 36abcad4a2cb7cfd0cdbd2298bf32d5a1d617d1b
3093 Author: Carles Ferrando <carles.ferrando@gmail.com>
3094 Date: Mon Jan 21 00:27:23 2013 +0100
3096 [l10n] Updated Catalan (Valencian) translation
3098 po/ca@valencia.po | 46 +++++++++++++++++++++++-----------------------
3099 1 file changed, 23 insertions(+), 23 deletions(-)
3101 commit 87d129518204769fc5942070fab13812008e306e
3102 Author: Gil Forcada <gforcada@gnome.org>
3103 Date: Mon Jan 21 00:26:24 2013 +0100
3105 [l10n] Updated Catalan translation
3107 po/ca.po | 48 ++++++++++++++++++++++++------------------------
3108 1 file changed, 24 insertions(+), 24 deletions(-)
3110 commit 96c57eec2d8332c72b28851bc9a72e1b61ddb2c5
3111 Author: Gheyret Kenji <gheyret@gmail.com>
3112 Date: Sun Jan 20 11:49:52 2013 +0900
3114 Uyghur translation added
3116 Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
3118 po/ug.po | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3119 1 file changed, 153 insertions(+)
3121 commit 69decac8985401f1a47ffea96f72d728e3585248
3122 Author: Мирослав Николић <miroslavnikolic@rocketmail.com>
3123 Date: Sat Jan 19 11:47:40 2013 +0100
3125 Updated Serbian translation
3127 po/sr.po | 71 +++++++++++++++++++++++++---------------------------------
3128 po/sr@latin.po | 71 +++++++++++++++++++++++++---------------------------------
3129 2 files changed, 60 insertions(+), 82 deletions(-)
3131 commit a9bc17dc04b425888b40b5ecef6baefcf369ec84
3132 Author: Emmanuele Bassi <ebassi@gnome.org>
3133 Date: Fri Jan 11 17:47:13 2013 +0000
3135 path: Fix get all object members with wildcard
3137 Similar to the fix that went in commit path e348b1fa, we need to fix
3138 getting all the members of an object by using the wildcard notation.
3140 json-glib/json-path.c | 2 +-
3141 json-glib/tests/path.c | 28 +++++++++++++++++++++++-----
3142 2 files changed, 24 insertions(+), 6 deletions(-)
3144 commit e348b1fa88823ddb18fb8d2a2d1acea94c9f9448
3145 Author: Juan A. Suarez Romero <jasuarez@igalia.com>
3146 Date: Fri Jan 11 15:03:08 2013 +0000
3148 path: Fix get all array elements with wildcard
3150 Using the same data as in tests, asking for $['store']['book'][*] JSON path
3151 should return all the book objects in an array.
3153 But that array is returned inside another array, dupped several times.
3155 https://bugzilla.gnome.org/show_bug.cgi?id=691557
3157 json-glib/json-path.c | 2 +-
3158 json-glib/tests/path.c | 4 ++++
3159 2 files changed, 5 insertions(+), 1 deletion(-)
3161 commit f33c209e0f895b52afae5742a72cfacf104116bc
3162 Author: Alexander Shopov <ash@kambanaria.org>
3163 Date: Tue Jan 8 21:46:02 2013 +0200
3165 Updated Bulgarian translation
3167 po/bg.po | 48 ++++++++++++++++++++++++------------------------
3168 1 file changed, 24 insertions(+), 24 deletions(-)
3170 commit 8b540ceb2f72b2e354a54bd418c378b4edc6f01a
3171 Author: Timur Zhamakeev <ztimur@gmail.com>
3172 Date: Sat Jan 5 18:25:00 2013 +0600
3174 Updated Kyrgyz translation.
3176 po/ky.po | 7 ++++---
3177 1 file changed, 4 insertions(+), 3 deletions(-)
3179 commit 62958e52b8b60defe3f701c6b4d0680a83528312
3180 Author: Balázs Úr <urbalazs@src.gnome.org>
3181 Date: Mon Dec 31 16:47:49 2012 +0100
3183 Updated Hungarian translation
3185 po/hu.po | 68 ++++++++++++++++++++++++++++++++++++----------------------------
3186 1 file changed, 38 insertions(+), 30 deletions(-)
3188 commit b75a912ebfac50a07a3c6c3669b1e485de9df90a
3189 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
3190 Date: Wed Dec 26 10:57:56 2012 +0800
3192 Fix VS 2008 poperty sheet
3194 A 

\ris required for each line of command for this, which stands
3197 build/win32/vs9/json-glib.vsprops | 2 +-
3198 1 file changed, 1 insertion(+), 1 deletion(-)
3200 commit 881ba4e89ae88dfad1d91d693bb45af0ba5492fa
3201 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
3202 Date: Fri Dec 14 19:35:11 2012 +0800
3204 Cleanup/fix Visual C++ build files
3206 -Make all projects build with MultiByte character set, to be consistent
3208 -Generate .def in the intermediate directory, instead of json-glib/
3209 -Get rid of some unwanted cruft in many of the Win32 (32-bit) configs in
3210 various Visual C++ 2008 files.
3211 -Some cosmetic changes to Visual C++ 2010 solution file.
3212 -Fix "installation" folder
3214 build/win32/vs10/array.vcxproj | 4 +-
3215 build/win32/vs10/boxed.vcxproj | 4 +-
3216 build/win32/vs10/builder.vcxproj | 4 +-
3217 build/win32/vs10/generator.vcxproj | 4 +-
3218 build/win32/vs10/gvariant.vcxproj | 4 +-
3219 build/win32/vs10/json-glib.props | 11 +++++-
3220 build/win32/vs10/json-glib.sln | 2 +-
3221 build/win32/vs10/json-glib.vcxprojin | 8 ++--
3222 build/win32/vs10/node.vcxproj | 4 +-
3223 build/win32/vs10/object.vcxproj | 4 +-
3224 build/win32/vs10/parser.vcxproj | 4 +-
3225 build/win32/vs10/path.vcxproj | 4 +-
3226 build/win32/vs10/reader.vcxproj | 4 +-
3227 build/win32/vs10/serialize-complex.vcxproj | 4 +-
3228 build/win32/vs10/serialize-full.vcxproj | 4 +-
3229 build/win32/vs10/serialize-simple.vcxproj | 4 +-
3230 build/win32/vs9/array.vcproj | 8 +---
3231 build/win32/vs9/boxed.vcproj | 8 +---
3232 build/win32/vs9/builder.vcproj | 8 +---
3233 build/win32/vs9/generator.vcproj | 8 +---
3234 build/win32/vs9/gvariant.vcproj | 4 +-
3235 build/win32/vs9/json-glib.vcprojin | 12 ++----
3236 build/win32/vs9/json-glib.vsprops | 59 ++++++++++++++++++------------
3237 build/win32/vs9/node.vcproj | 8 +---
3238 build/win32/vs9/object.vcproj | 8 +---
3239 build/win32/vs9/parser.vcproj | 8 +---
3240 build/win32/vs9/path.vcproj | 4 +-
3241 build/win32/vs9/reader.vcproj | 8 +---
3242 build/win32/vs9/serialize-complex.vcproj | 8 +---
3243 build/win32/vs9/serialize-full.vcproj | 8 +---
3244 build/win32/vs9/serialize-simple.vcproj | 8 +---
3245 31 files changed, 105 insertions(+), 135 deletions(-)
3247 commit 59a3e4ef763c2fb312d931fe1843638be84421c8
3248 Author: Piotr Drąg <piotrdrag@gmail.com>
3249 Date: Tue Nov 27 17:15:50 2012 +0100
3251 Updated Polish translation
3253 po/pl.po | 44 ++++++++++++++++++++++----------------------
3254 1 file changed, 22 insertions(+), 22 deletions(-)
3256 commit c288498a8c39c2bcd5513cfb5612cb1de8e19806
3257 Author: Pavol Klačanský <pavol@klacansky.com>
3258 Date: Sun Nov 18 23:34:20 2012 +0100
3260 Updated slovak translation
3262 po/sk.po | 21 ++++++++++-----------
3263 1 file changed, 10 insertions(+), 11 deletions(-)
3265 commit e9504191e69ac004f2f1caeeed5e1b7f9ed903d7
3266 Author: Pavol Klačanský <pavol@klacansky.com>
3267 Date: Sat Nov 17 00:22:34 2012 +0100
3269 Updated slovak translation
3271 po/sk.po | 160 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3272 1 file changed, 160 insertions(+)
3274 commit ef4f7685307842e3723498b7daaff8536c9dc58e
3275 Author: Emmanuele Bassi <ebassi@gnome.org>
3276 Date: Wed Nov 7 18:48:25 2012 +0000
3278 build: Bump up the requirement for GLib
3280 We need symbols from GLib 2.34 for the test suite.
3283 1 file changed, 1 insertion(+), 1 deletion(-)
3285 commit 6838ee9b2a7ac7a2366a6570dc1abc7a711d9440
3286 Author: Emmanuele Bassi <ebassi@gnome.org>
3287 Date: Mon Nov 5 12:11:13 2012 +0000
3289 build: Use the symbols file to generate our public ABI
3291 Instead of a regular expression. This allows us to catch ABI issues
3292 immediately, without using the ABI check, while building JSON-GLib,
3295 json-glib/Makefile.am | 6 +++---
3296 1 file changed, 3 insertions(+), 3 deletions(-)
3298 commit 2b8e9ef835f1e99ff791bd5d5ec579e470465f46
3299 Author: Emmanuele Bassi <ebassi@gnome.org>
3300 Date: Mon Nov 5 12:11:01 2012 +0000
3304 json-glib/json-glib.symbols | 382 ++++++++++++++++++++++----------------------
3305 1 file changed, 191 insertions(+), 191 deletions(-)
3307 commit de5e62d3a2826499ab67df21162223ecd1167c5e
3308 Author: Marek Černocký <marek@manet.cz>
3309 Date: Mon Nov 5 16:15:05 2012 +0100
3311 Updated Czech translation
3314 1 file changed, 3 insertions(+), 1 deletion(-)
3316 commit 3144ead7f256f1172278f74c9c2035884e2eca50
3317 Author: Marek Černocký <marek@manet.cz>
3318 Date: Mon Nov 5 16:13:17 2012 +0100
3320 Updated Czech translation
3322 po/cs.po | 8 +++-----
3323 1 file changed, 3 insertions(+), 5 deletions(-)
3325 commit 447c3684cb99f1f8acda4a0273612ec5a065f8d7
3326 Author: Rafael Ferreira <rafael.f.f1@gmail.com>
3327 Date: Mon Nov 5 12:40:56 2012 -0200
3329 Updated Brazilian Portuguese Translation
3331 po/pt_BR.po | 67 +++++++++++++++++++++++++++++--------------------------------
3332 1 file changed, 32 insertions(+), 35 deletions(-)
3334 commit 02a081f6dc83e8f5f083722ef8bb3bfb47a746c2
3335 Author: Yuri Myasoedov <omerta13@yandex.ru>
3336 Date: Sun Nov 4 21:15:38 2012 +0400
3338 Updated Russian translation
3340 po/ru.po | 82 ++++++++++++++++++++++++++++++++--------------------------------
3341 1 file changed, 41 insertions(+), 41 deletions(-)
3343 commit f69e9b58cc8ad8d37369fd3f60db8d8e9847b1f1
3344 Author: Мирослав Николић <miroslavnikolic@rocketmail.com>
3345 Date: Sat Nov 3 09:20:27 2012 +0100
3347 Updated Serbian translation
3349 po/sr.po | 49 ++++++++++++++++++++++++++++++-------------------
3350 po/sr@latin.po | 49 ++++++++++++++++++++++++++++++-------------------
3351 2 files changed, 60 insertions(+), 38 deletions(-)
3353 commit b16cb3f338f625ed9e997dce9ad26a4568a082be
3354 Author: Tom Tryfonidis <tomtryf@gmail.com>
3355 Date: Thu Nov 1 11:43:51 2012 +0200
3357 Added Greek translation
3359 po/el.po | 77 +++++++++++++++++++++++++++++++---------------------------------
3360 1 file changed, 37 insertions(+), 40 deletions(-)
3362 commit 7552833d503db0aa94e4ebc59094e9341e8920af
3363 Author: Fran Diéguez <fran.dieguez@mabishu.com>
3364 Date: Wed Oct 31 11:04:11 2012 +0100
3366 Updated Galician translations
3368 po/gl.po | 74 +++++++++++++++++++++++++++++++---------------------------------
3369 1 file changed, 36 insertions(+), 38 deletions(-)
3371 commit 6999123568e522dc57c76799aff90a285a52c5dd
3372 Author: Wolfgang Stoeggl <c72578@yahoo.de>
3373 Date: Tue Oct 30 19:01:34 2012 +0100
3375 Updated German translation
3377 po/de.po | 78 +++++++++++++++++++++++++++++++++-------------------------------
3378 1 file changed, 40 insertions(+), 38 deletions(-)
3380 commit b3569e022b36ff8be4379a163c1694df0ac66d8e
3381 Author: Mattias Põldaru <mahfiaz@gmail.com>
3382 Date: Tue Oct 30 15:36:23 2012 +0200
3384 [l10n] Updated Estonian translation
3386 po/et.po | 8 ++++----
3387 1 file changed, 4 insertions(+), 4 deletions(-)
3389 commit 53835c75028b578a5b565280ae62971990c1355f
3390 Author: Daniel Mustieles <daniel.mustieles@gmail.com>
3391 Date: Sun Oct 28 13:31:25 2012 +0100
3393 Updated Spanish translation
3395 po/es.po | 48 ++++++++++++++++++++++++------------------------
3396 1 file changed, 24 insertions(+), 24 deletions(-)
3398 commit 28e6bff54d2ddc64e7662d96365d2faf615ed0b5
3399 Author: Marek Černocký <marek@manet.cz>
3400 Date: Sun Oct 28 11:15:27 2012 +0100
3402 Updated Czech translation
3404 po/cs.po | 39 ++++++++++++++-------------------------
3405 1 file changed, 14 insertions(+), 25 deletions(-)
3407 commit 64fe683c440d7ec7140fd27f53fbaf54da37b249
3408 Author: Emmanuele Bassi <ebassi@gnome.org>
3409 Date: Sat Oct 27 12:18:53 2012 +0100
3411 tests: Put g_type_init() under conditional compilation
3413 Starting from GLib 2.36, g_type_init() is going to be deprecated (the
3414 type system will be initialized as soon as libgobject is paged in, using
3415 constructors). As I don't want to bump dependencies just for that, the
3416 call to g_type_init() should be placed under a compile-time version
3417 check, to keep the noise from compiler warnings down.
3419 json-glib/tests/array.c | 3 +++
3420 json-glib/tests/boxed.c | 2 ++
3421 json-glib/tests/builder.c | 2 ++
3422 json-glib/tests/generator.c | 2 ++
3423 json-glib/tests/gvariant.c | 2 ++
3424 json-glib/tests/invalid.c | 2 ++
3425 json-glib/tests/node.c | 2 ++
3426 json-glib/tests/object.c | 2 ++
3427 json-glib/tests/parser.c | 2 ++
3428 json-glib/tests/path.c | 2 ++
3429 json-glib/tests/reader.c | 2 ++
3430 json-glib/tests/serialize-complex.c | 2 ++
3431 json-glib/tests/serialize-full.c | 2 ++
3432 json-glib/tests/serialize-simple.c | 2 ++
3433 14 files changed, 29 insertions(+)
3435 commit f50f32dcfdecd552ca353731faa0fde099569c28
3436 Author: Emmanuele Bassi <ebassi@gnome.org>
3437 Date: Sat Oct 27 12:06:28 2012 +0100
3439 Use typed initializers for JsonNode
3441 json-glib/json-gobject.c | 115 +++++++++++++++++++++--------------------------
3442 json-glib/json-parser.c | 37 ++++++++-------
3443 2 files changed, 73 insertions(+), 79 deletions(-)
3445 commit 893c30b4b8ce10c017d10bd534c38c458da4436c
3446 Author: Emmanuele Bassi <ebassi@gnome.org>
3447 Date: Sat Oct 27 11:51:11 2012 +0100
3449 Use the new typed JsonNode initializers
3451 The typed setters in JsonArray and JsonObject should use the JsonNode
3454 json-glib/json-array.c | 54 +++++++++++++++++--------------------------------
3455 json-glib/json-object.c | 48 +++++++++++++++++--------------------------
3456 2 files changed, 37 insertions(+), 65 deletions(-)
3458 commit 9dfb5000cad954431165e836e203e561ccb79c66
3459 Author: Emmanuele Bassi <ebassi@gnome.org>
3460 Date: Sat Oct 27 11:48:58 2012 +0100
3462 Consolidate null handling in JsonArray and JsonObject
3464 A null value is not only valid for JSON_NODE_NULL nodes, but also for
3465 JSON_NODE_ARRAY and JSON_NODE_OBJECT nodes that do not have a JsonArray
3466 or a JsonObject set.
3468 json-glib/json-array.c | 11 ++++++++++-
3469 json-glib/json-object.c | 11 ++++++++++-
3470 2 files changed, 20 insertions(+), 2 deletions(-)
3472 commit 615538100a42063ca0b84b5bb9c8a6a046a89e0b
3473 Author: Emmanuele Bassi <ebassi@gnome.org>
3474 Date: Sat Oct 27 11:44:30 2012 +0100
3476 node: Add typed initializers
3478 We should simplify the JsonNode API a bit, especially when it comes to
3479 initializing nodes. Instead of a two-step "new(<type>) followed by a
3480 set_<type>(value)" API, we can provide a "init_<type>(value)" API that
3481 can take any existing JsonNode and initialize it to the given type.
3483 This makes the JsonNode creation more concise and reliable; it also
3484 allows to implicitly re-initialize JsonNodes without requiring the user
3485 to de-allocate/re-allocate them first.
3487 doc/reference/json-glib-sections.txt | 9 ++
3488 json-glib/json-glib.symbols | 9 ++
3489 json-glib/json-node.c | 303 +++++++++++++++++++++++++++++++----
3490 json-glib/json-types.h | 19 +++
3491 4 files changed, 306 insertions(+), 34 deletions(-)
3493 commit 3fb92bc727365bce5f99da3a150a237da4da64d6
3494 Author: Emmanuele Bassi <ebassi@gnome.org>
3495 Date: Sat Oct 27 10:53:49 2012 +0100
3497 tests/reader: Improve test coverage
3499 json-glib/tests/reader.c | 24 +++++++++++++++++++-----
3500 1 file changed, 19 insertions(+), 5 deletions(-)
3502 commit 22275bc0c28682e6bd3022d36e0a9301aeb5ce56
3503 Author: Emmanuele Bassi <ebassi@gnome.org>
3504 Date: Sat Oct 27 10:52:41 2012 +0100
3506 reader: "null" is a value
3508 Even if we have a special JsonNode for it. The json_reader_is_value()
3509 function should return TRUE for 'null' nodes as well.
3511 json-glib/json-reader.c | 3 ++-
3512 1 file changed, 2 insertions(+), 1 deletion(-)
3514 commit 9c26d466f4bbdde00225f2782f041668b1536213
3515 Author: Andika Triwidada <andika@gmail.com>
3516 Date: Sat Oct 27 13:31:33 2012 +0700
3518 Updated Indonesian translation
3520 po/id.po | 74 +++++++++++++++++++++++++++-------------------------------------
3521 1 file changed, 31 insertions(+), 43 deletions(-)
3523 commit 4e73239b572fcc0eb4ff6639ee3bbde05d19d404
3524 Author: Мирослав Николић <miroslavnikolic@rocketmail.com>
3525 Date: Sat Oct 27 05:27:15 2012 +0200
3527 Updated Serbian translation
3529 po/sr.po | 17 +++++++++--------
3530 po/sr@latin.po | 17 +++++++++--------
3531 2 files changed, 18 insertions(+), 16 deletions(-)
3533 commit dee67875c1ef981bd3dc56e652df93d4a6f4feda
3534 Author: Emmanuele Bassi <ebassi@gnome.org>
3535 Date: Fri Oct 26 17:59:42 2012 +0100
3537 scanner: Remove unused functions
3539 JsonScanner is an internal, modified copy of GScanner; we don't need a
3540 bunch of the provided functions, as the type and its related API are
3541 meant for internal use only.
3543 Fewer functions == better coverage == less code to maintain.
3545 json-glib/json-parser.c | 52 +++----
3546 json-glib/json-scanner.c | 393 ++++-------------------------------------------
3547 json-glib/json-scanner.h | 45 +-----
3548 3 files changed, 59 insertions(+), 431 deletions(-)
3550 commit e83baeab7ce16db4597247e793932fd2e507e855
3551 Author: Emmanuele Bassi <ebassi@gnome.org>
3552 Date: Fri Oct 26 17:21:48 2012 +0100
3554 tests: Improve coverage
3556 json-glib/tests/serialize-full.c | 156 ++++++++++++++++++++++++++-------------
3557 1 file changed, 104 insertions(+), 52 deletions(-)
3559 commit 1e7a2ef9be305e8b1db806f364d18f704ca75a64
3560 Author: Emmanuele Bassi <ebassi@gnome.org>
3561 Date: Fri Oct 26 17:20:43 2012 +0100
3563 gobject: Use JsonSerializable API
3565 Instead of directly accessing the vfunc from the interface vtable.
3567 json-glib/json-gobject.c | 16 +++++++++-------
3568 1 file changed, 9 insertions(+), 7 deletions(-)
3570 commit 4fe6c5977d95c37c693d4f0b1d2dd90ae564b8b3
3571 Author: Emmanuele Bassi <ebassi@gnome.org>
3572 Date: Fri Oct 26 16:40:59 2012 +0100
3574 tests: Improve coverage
3576 json-glib/tests/array.c | 4 +++
3577 json-glib/tests/builder.c | 9 +++++-
3578 json-glib/tests/generator.c | 69 ++++++++++++++++++++++++++++++++++++++++++++-
3579 3 files changed, 80 insertions(+), 2 deletions(-)
3581 commit 31b8e9c9410a90c387aaf6c9c79e5affc1a1b1be
3582 Author: Emmanuele Bassi <ebassi@gnome.org>
3583 Date: Fri Oct 26 16:40:10 2012 +0100
3585 builder: Conform to the coding style
3587 Function arguments should be aligned on different lines.
3589 json-glib/json-builder.c | 20 ++++++++++++++------
3590 1 file changed, 14 insertions(+), 6 deletions(-)
3592 commit b0c087d1cc88938bc7e6bb1350a175b1ed103e62
3593 Author: Emmanuele Bassi <ebassi@gnome.org>
3594 Date: Fri Oct 26 11:06:26 2012 +0100
3596 tests: Improve coverage
3598 json-glib/tests/array.c | 30 ++++++++++++++++++++++++++++++
3599 json-glib/tests/object.c | 13 +++++++++++++
3600 2 files changed, 43 insertions(+)
3602 commit cce1435c280dbf63b0dbb8c9176e062c539aa9f9
3603 Author: Emmanuele Bassi <ebassi@gnome.org>
3604 Date: Fri Oct 26 11:04:47 2012 +0100
3606 array: Relax preconditions on array and object methods
3608 Similarly to what we did for the add_string_element(), we need to relax
3609 the preconditions for add_array_element() and add_object_element().
3611 json-glib/json-array.c | 2 --
3612 1 file changed, 2 deletions(-)
3614 commit bf273f396c640c17da9f742433b4855232b2062e
3615 Author: Emmanuele Bassi <ebassi@gnome.org>
3616 Date: Fri Oct 26 10:59:16 2012 +0100
3618 array: Relax add_string_element() preconditions
3620 The add_string_element() allows passing a NULL string as a shortcut to
3621 create a 'null' node; the preconditions on the arguments are too strict.
3623 json-glib/json-array.c | 3 +--
3624 1 file changed, 1 insertion(+), 2 deletions(-)
3626 commit 2dec8604ee58571ccc902aeb27004adf6a436ff5
3627 Author: Emmanuele Bassi <ebassi@gnome.org>
3628 Date: Fri Oct 26 10:15:35 2012 +0100
3630 tests/parser: Check negative numeric values
3632 This is the positive equivalent of the test case inside the invalid test
3635 json-glib/tests/parser.c | 16 +++++++++++++++-
3636 1 file changed, 15 insertions(+), 1 deletion(-)
3638 commit b9e93111a1200492b71476f7b3a1c60588a90a15
3639 Author: Emmanuele Bassi <ebassi@gnome.org>
3640 Date: Fri Oct 26 10:10:53 2012 +0100
3642 tests/invalid: Improve test coverage
3644 json-glib/tests/invalid.c | 32 ++++++++++++++++++++++++++++++++
3645 1 file changed, 32 insertions(+)
3647 commit 028e540bc2b78f87e5a1d2f0c36126b7636f2809
3648 Author: Emmanuele Bassi <ebassi@gnome.org>
3649 Date: Fri Oct 26 10:10:01 2012 +0100
3651 parser: Empty member names are not valid
3653 When parsing a JSON object, a member name has to be a valid string, not
3656 json-glib/json-parser.c | 13 +++++++++++++
3657 json-glib/json-parser.h | 4 +++-
3658 2 files changed, 16 insertions(+), 1 deletion(-)
3660 commit 32d7c034dda3ccce05bec2bab0007ff0d65729ab
3661 Author: Emmanuele Bassi <ebassi@gnome.org>
3662 Date: Fri Oct 26 09:15:11 2012 +0100
3664 build: Fix test-report generation
3666 We need to include the revision and date tags.
3668 build/autotools/Makefile.am.gtest | 20 ++++++++++++++------
3669 1 file changed, 14 insertions(+), 6 deletions(-)
3671 commit 43a27e66bd903a4d68a31e37c3ce04103ed49258
3672 Author: Nilamdyuti Goswami <ngoswami@redhat.com>
3673 Date: Fri Oct 26 15:41:43 2012 +0530
3675 Assamese translation updatedas.po
3677 po/as.po | 47 ++++++++++++++++++++++-------------------------
3678 1 file changed, 22 insertions(+), 25 deletions(-)
3680 commit ef6b1e9bb79ae0f07d412a876fd48e27854e9d38
3681 Author: Aurimas Černius <aurisc4@gmail.com>
3682 Date: Thu Oct 25 23:04:46 2012 +0300
3684 Updated Lithuanian translation
3686 po/lt.po | 41 +++++++++++++++--------------------------
3687 1 file changed, 15 insertions(+), 26 deletions(-)
3689 commit 1236c7493093357485c8ddc01eb6431d4ae7b842
3690 Author: Matej Urbančič <mateju@svn.gnome.org>
3691 Date: Thu Oct 25 19:22:49 2012 +0200
3693 Updated Slovenian translation
3695 po/sl.po | 46 +++++++++++++++++++++-------------------------
3696 1 file changed, 21 insertions(+), 25 deletions(-)
3698 commit 46b677b4fd818ba9343b8b569f5b951d3d8ac0a3
3699 Author: Emmanuele Bassi <ebassi@gnome.org>
3700 Date: Thu Oct 25 17:39:38 2012 +0100
3702 tests/invalid: Add more invalid JSON tests
3704 json-glib/tests/invalid.c | 113 +++++++++++++++++++++++++++++++++++++++-------
3705 1 file changed, 96 insertions(+), 17 deletions(-)
3707 commit 977c998929f4d82d93acd3ea0f99c04006e45db0
3708 Author: Emmanuele Bassi <ebassi@gnome.org>
3709 Date: Thu Oct 25 17:26:25 2012 +0100
3711 tests/invalid: Check invalid assignments
3713 json-glib/tests/invalid.c | 44 ++++++++++++++++++++++++++++++++++++++++----
3714 1 file changed, 40 insertions(+), 4 deletions(-)
3716 commit 77ed79385795d93776e6299b9add3940ceee4245
3717 Author: Emmanuele Bassi <ebassi@gnome.org>
3718 Date: Thu Oct 25 17:21:55 2012 +0100
3720 parser: Use error codes for invalid assignments
3722 In case we're parsing an assignment we should use the 'invalid bareword'
3725 json-glib/json-parser.c | 4 +++-
3726 1 file changed, 3 insertions(+), 1 deletion(-)
3728 commit 6ebe68eb539a119f99205593b0246399923daef7
3729 Author: Emmanuele Bassi <ebassi@gnome.org>
3730 Date: Thu Oct 25 17:10:39 2012 +0100
3732 tests: Move the invalid JSON unit to its own file
3734 Instead of putting it inside the parser unit test.
3736 json-glib/tests/Makefile.am | 1 +
3737 json-glib/tests/invalid.c | 93 +++++++++++++++++++++++++++++++++++++++++++++
3738 json-glib/tests/parser.c | 52 -------------------------
3739 3 files changed, 94 insertions(+), 52 deletions(-)
3741 commit 6e9c38dd0c82c322a9e98315cb22c2b771b1830f
3742 Author: Emmanuele Bassi <ebassi@gnome.org>
3743 Date: Thu Oct 25 17:08:58 2012 +0100
3745 parser: Consolidate value parsing
3747 Instead of doing a preliminary check when parsing arrays and objects, we
3748 should just call json_parse_value() and let it handle all the valid
3749 values and eventual error cases. This simplifies error handling and
3750 makes it more reliable.
3752 json-glib/json-parser.c | 37 ++++++++++++-------------------------
3753 1 file changed, 12 insertions(+), 25 deletions(-)
3755 commit 5f6ef962097916ae2908e9190d5ba62533ae33ca
3756 Author: Emmanuele Bassi <ebassi@gnome.org>
3757 Date: Thu Oct 25 17:07:16 2012 +0100
3759 parser: Show the column in the error message
3761 For JSON parsed from data (which tends to be in a single line) the
3762 column holds more information than the line.
3764 json-glib/json-parser.c | 5 +++--
3765 1 file changed, 3 insertions(+), 2 deletions(-)
3767 commit 1d236453b2569cb2cb5bbc80fde1c72e7a101826
3768 Author: Miguel Angel Cabrera Moya <madmac2501@gmail.com>
3769 Date: Sun Oct 14 12:18:30 2012 +0200
3771 parser: Fix small leak in json_parse_statement
3773 https://bugzilla.gnome.org/show_bug.cgi?id=686096
3775 json-glib/json-parser.c | 5 ++++-
3776 1 file changed, 4 insertions(+), 1 deletion(-)
3778 commit 626908526f9766e4f612bb4b893b83b7084766dc
3779 Author: Sasi Bhushan Boddepalli <sasi@swecha.net>
3780 Date: Tue Oct 9 21:36:45 2012 +0530
3782 Updated Telugu Translation
3784 po/te.po | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3785 1 file changed, 158 insertions(+)
3787 commit 57bbb1cb7f75720a4d7ba0399e5a156322d34666
3788 Author: Timur Zhamakeev <ztimur@gmail.com>
3789 Date: Thu Sep 27 11:56:23 2012 +0600
3791 Added Kyrgyz translation
3793 po/ky.po | 160 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3794 1 file changed, 160 insertions(+)
3796 commit 3f840ae31641ad800872e953ee772777e746925c
3797 Author: Mattias Põldaru <mahfiaz@gmail.com>
3798 Date: Mon Sep 24 11:26:41 2012 +0300
3800 [l10n] Updated Estonian translation
3802 po/et.po | 61 +++++++++++++------------------------------------------------
3803 1 file changed, 13 insertions(+), 48 deletions(-)
3805 commit 426d9f141f5e7c975324d42abdab774b5e9587b2
3806 Author: Mattias Põldaru <mahfiaz@gmail.com>
3807 Date: Mon Sep 24 10:57:10 2012 +0300
3809 [l10n] Updated Estonian translation
3811 po/et.po | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3812 1 file changed, 158 insertions(+)
3814 commit b2f3ef4cf26e3bae47c82d5c3c7bf79ea762563f
3815 Author: Sayak Sarkar <sayak.bugsmith@gmail.com>
3816 Date: Mon Sep 24 10:54:45 2012 +0530
3818 Added Bengali India Translation
3820 po/bn_IN.po | 156 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3821 1 file changed, 156 insertions(+)
3823 commit 655794941dbeac7f65a3ae8514fc75536c9f5ed5
3824 Author: A S Alam <aalam@users.sf.net>
3825 Date: Mon Sep 24 09:00:08 2012 +0530
3827 update Punjabi Translation
3829 po/pa.po | 68 ++++++++++++++++++++++++++--------------------------------------
3830 1 file changed, 28 insertions(+), 40 deletions(-)
3832 commit 80c6eac77df27b739e7291e3ec7ba6fd4e62c143
3833 Author: Rūdolfs Mazurs <rudolfsm@src.gnome.org>
3834 Date: Mon Sep 24 02:10:04 2012 +0300
3836 Added Latvian translation
3838 po/lv.po | 159 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3839 1 file changed, 159 insertions(+)
3841 commit f9feca98c714239d7a361597be6fe58b407e1037
3842 Author: Ani Peter <apeter@redhat.com>
3843 Date: Sun Sep 23 01:10:17 2012 +0530
3845 Updated Malayalam file
3847 po/ml.po | 155 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3848 1 file changed, 155 insertions(+)
3850 commit 7abcdadd9b49b0db881702724ef81fe571d0d750
3851 Author: Carles Ferrando <carles.ferrando@gmail.com>
3852 Date: Fri Sep 21 20:05:58 2012 +0200
3854 [l10n]Added Catalan (Valencian) translation
3856 po/ca@valencia.po | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
3857 1 file changed, 158 insertions(+)
3859 commit d1d83f78922be9e5ee98e58410c3fa998ca24d13
3860 Author: Gil Forcada <gforcada@gnome.org>
3861 Date: Fri Sep 21 20:05:57 2012 +0200
3863 [l10n] Added Catalan translation
3865 po/ca.po | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3866 1 file changed, 158 insertions(+)
3868 commit da276c3c9f7f2d7b4abce85cbbe91258b595b8ef
3869 Author: Seong-ho Cho <darkcircle.0426@gmail.com>
3870 Date: Sat Sep 22 02:53:04 2012 +0900
3872 Added Korean translation
3874 po/ko.po | 156 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3875 1 file changed, 156 insertions(+)
3877 commit fef47f834db55a503658247b530d378ea5396949
3878 Author: Chandan Kumar <chandankumar.093047@gmail.com>
3879 Date: Thu Sep 20 10:35:54 2012 +0530
3881 Updated HINDI translation
3883 po/hi.po | 160 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3884 1 file changed, 160 insertions(+)
3886 commit 2f14b54261746b8384df992c6eed232bf8628021
3887 Author: Ivaylo Valkov <ivaylo@e-valkov.org>
3888 Date: Tue Sep 18 19:29:36 2012 +0300
3890 Updated Bulgarian translation
3892 po/bg.po | 157 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3893 1 file changed, 157 insertions(+)
3895 commit 10e8cd6de555866cb7152e3d8b818db796db1261
3896 Author: Gabor Kelemen <kelemeng@gnome.hu>
3897 Date: Tue Sep 18 01:38:19 2012 +0200
3899 Added Hungarian translation
3901 po/hu.po | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3902 1 file changed, 153 insertions(+)
3904 commit 33ee7e91169c6943199739dce9a8f097fea770b3
3905 Author: Ask H. Larsen <asklarsen@gmail.com>
3906 Date: Sun Sep 16 13:43:53 2012 +0200
3908 Updated Danish translation
3910 po/da.po | 162 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3911 1 file changed, 162 insertions(+)
3913 commit 4b27aa4e36193757f2d4ddc14ff07f6a47ebe529
3914 Author: Duarte Loreto <happyguy_pt@hotmail.com>
3915 Date: Sun Sep 9 11:29:56 2012 +0100
3917 Updated Portuguese translation
3919 po/pt.po | 156 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3920 1 file changed, 156 insertions(+)
3922 commit 3b21390c1c16d701bb31678919ca639075ff2729
3923 Author: Alexandre Franke <alexandre.franke@gmail.com>
3924 Date: Thu Sep 6 12:22:09 2012 +0200
3926 Update French translation
3928 po/fr.po | 174 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3929 1 file changed, 174 insertions(+)
3931 commit 2d376ded0367ee77382a92c58f3d7852590ed0a8
3932 Author: Bruce Cowan <bruce@bcowan.me.uk>
3933 Date: Wed Sep 5 13:45:45 2012 +0100
3935 Added British English translation
3937 po/en_GB.po | 160 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3938 1 file changed, 160 insertions(+)
3940 commit 7b837e9ac065d6a117c52cb25bb285fd2bb7e89a
3941 Author: Piotr Drąg <piotrdrag@gmail.com>
3942 Date: Tue Sep 4 18:18:07 2012 +0200
3944 Updated Polish translation
3946 po/pl.po | 84 ++++++++++++++++++++++++++++------------------------------------
3947 1 file changed, 37 insertions(+), 47 deletions(-)
3949 commit b6497b1d5ce1efa9a6f90b495472aaa917245653
3950 Author: Daniel Korostil <ted.korostiled@gmail.com>
3951 Date: Fri Aug 17 19:45:07 2012 +0300
3953 Added uk translation
3955 po/uk.po | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3956 1 file changed, 158 insertions(+)
3958 commit 31ca069867c5c94ffd7d42a3f91eb3828581e7a6
3959 Author: ManojKumar Giri <mgiri@redhat.com>
3960 Date: Thu Aug 9 18:32:16 2012 +0530
3962 Updated Odia Translation.
3964 po/or.po | 35 +++++++++++++++++++----------------
3965 1 file changed, 19 insertions(+), 16 deletions(-)
3967 commit 62b6bb982ca8287b01c4b3d4abf2dd2ff19b8899
3968 Author: ManojKumar Giri <mgiri@redhat.com>
3969 Date: Tue Aug 7 17:38:42 2012 +0530
3971 Added odia file into the list & Updated translation for Odia.
3973 po/or.po | 157 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3974 1 file changed, 157 insertions(+)
3976 commit c34ddaf33f3227c5fba7a866cfa25dba2e46d275
3977 Author: Takayuki KUSANO <AE5T-KSN@asahi-net.or.jp>
3978 Date: Mon Aug 6 23:04:16 2012 +0900
3980 [l10n] Add new Japanese translation
3982 po/ja.po | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3983 1 file changed, 158 insertions(+)
3985 commit 8b5f8e8e7928fac15b38b96017c729ee2143352f
3986 Author: Kjartan Maraas <kmaraas@gnome.org>
3987 Date: Wed Jul 25 16:44:55 2012 +0200
3989 Updated Norwegian bokmål translation
3991 po/nb.po | 34 +++++++++++-----------------------
3992 1 file changed, 11 insertions(+), 23 deletions(-)
3994 commit 6fdf403d06ac890127bca474275d0f62c02caf4f
3995 Author: fenghelong <fenghelongnjit@gmail.com>
3996 Date: Sun Jul 22 13:34:07 2012 +0800
3998 Add Chinese simplified translation for ui
4000 po/zh_CN.po | 165 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4001 1 file changed, 165 insertions(+)
4003 commit 2bfb6cccf626c60571643bcc2bb12e4791dd1db6
4004 Author: Мирослав Николић <miroslavnikolic@rocketmail.com>
4005 Date: Tue Jul 17 22:05:57 2012 +0200
4007 Added Serbian translation
4009 po/sr.po | 156 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4010 po/sr@latin.po | 156 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4011 2 files changed, 312 insertions(+)
4013 commit 9eebf9c886ae7e1e172e3a1efd64f7aa7c79c758
4014 Author: Emmanuele Bassi <ebassi@gnome.org>
4015 Date: Sun Jul 15 13:25:53 2012 +0100
4017 reader: Do not do strict type validation on numeric types
4019 JsonNode will do an implicit conversion for us.
4021 json-glib/json-reader.c | 21 ---------------------
4022 1 file changed, 21 deletions(-)
4024 commit 7819e630b8fd88d269dd75a2e0fb1aeb294aed96
4025 Author: Emmanuele Bassi <ebassi@gnome.org>
4026 Date: Sun Jul 15 13:24:03 2012 +0100
4028 node: Implicitly convert numeric types
4030 When retrieving an int, a double, or a boolean, we can use the C rules
4031 of implicit conversion to move from the actual stored type inside the
4032 JsonValue to the requested C type.
4034 https://bugzilla.gnome.org/show_bug.cgi?id=660795
4036 json-glib/json-node.c | 18 ++++++++++++++++++
4037 json-glib/tests/node.c | 35 +++++++++++++++++++++++++++++++++++
4038 2 files changed, 53 insertions(+)
4040 commit b1b50ec3ad76955651abe92696c4f4717e353840
4041 Author: Emmanuele Bassi <ebassi@gnome.org>
4042 Date: Sun Jul 15 13:14:46 2012 +0100
4044 generator: Use JsonValue, not GValue
4046 We don't need to turn a JsonValue into a GValue, given that we only care
4047 about the JSON types when serializing to JSON.
4049 json-glib/json-generator.c | 33 ++++++++++++++++++---------------
4050 1 file changed, 18 insertions(+), 15 deletions(-)
4052 commit 4cb5a1d5c25e7c1e939187740897cb1969df61e8
4053 Author: Aurimas Černius <aurisc4@gmail.com>
4054 Date: Sat Jul 14 18:44:21 2012 +0300
4056 Added Lithuanian translation
4058 po/lt.po | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4059 1 file changed, 170 insertions(+)
4061 commit b11ce6570570440c94e563917f55437ca7d2e071
4062 Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>
4063 Date: Sat Jul 14 14:14:38 2012 +0800
4065 Updated Traditional Chinese translation(Hong Kong and Taiwan)
4067 po/zh_HK.po | 166 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4068 po/zh_TW.po | 166 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4069 2 files changed, 332 insertions(+)
4071 commit 1409517eb0081d8a56713ee8f6922974f3ca5af0
4072 Author: Nilamdyuti Goswami <nilamdyuti@gmail.com>
4073 Date: Fri Jul 13 20:30:07 2012 +0530
4075 Assamese translation completed
4077 po/as.po | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4078 1 file changed, 170 insertions(+)
4080 commit 4317540f0e389370c76ccedea4ca7d15a8aa4969
4081 Author: Kjartan Maraas <kmaraas@gnome.org>
4082 Date: Tue Jul 10 08:29:46 2012 +0200
4084 Updated Norwegian bokmål translation
4086 po/nb.po | 19 ++++++++++---------
4087 1 file changed, 10 insertions(+), 9 deletions(-)
4089 commit d713da8c3207d7df0c8632924887144fe22e6e0e
4090 Author: Emmanuele Bassi <ebassi@gnome.org>
4091 Date: Sat Jun 30 15:27:03 2012 +0100
4093 doap: Change my email address to @gnome.org
4095 json-glib.doap | 4 ++--
4096 1 file changed, 2 insertions(+), 2 deletions(-)
4098 commit c618e6554e28a7a4c6924b2f050daebe1580c6c0
4099 Author: Emmanuele Bassi <ebassi@gnome.org>
4100 Date: Sat Jun 30 15:22:20 2012 +0100
4102 Post-release version bump to 0.15.3
4105 1 file changed, 1 insertion(+), 1 deletion(-)
4107 commit 2d129e5d700db4e0932b3cdd0260ab173f13901e
4108 Author: Emmanuele Bassi <ebassi@gnome.org>
4109 Date: Sat Jun 30 15:19:49 2012 +0100
4111 Release JSON-GLib 0.15.2 (snapshot)
4114 1 file changed, 1 insertion(+), 1 deletion(-)
4116 commit 4bb7b70c1ec13eb67b3984b684b2ca45b340ee9b
4117 Author: Emmanuele Bassi <ebassi@gnome.org>
4118 Date: Sat Jun 30 15:19:07 2012 +0100
4120 docs: Add missing symbols
4122 The deprecation macros should be in the private section.
4124 doc/reference/json-glib-sections.txt | 2 ++
4125 1 file changed, 2 insertions(+)
4127 commit 9c5c46228d67884a0c26557f7471c5c24da14baa
4128 Author: Emmanuele Bassi <ebassi@gnome.org>
4129 Date: Sat Jun 30 15:04:58 2012 +0100
4133 NEWS | 11 +++++++++++
4134 1 file changed, 11 insertions(+)
4136 commit 460a9f3e290be0d5139571492c54ce2b7078cb1f
4137 Author: Emmanuele Bassi <ebassi@gnome.org>
4138 Date: Sat Jun 30 15:04:16 2012 +0100
4140 build: Drop dependency on gnome-autogen.sh
4142 Use autoreconf instead.
4144 autogen.sh | 49 ++++++++++++++++++++++++++++++++++++++++---------
4145 1 file changed, 40 insertions(+), 9 deletions(-)
4147 commit c6011722e55c9f03fa43e213b467ee3c1b89b2ef
4148 Author: Emmanuele Bassi <ebassi@gnome.org>
4149 Date: Sat Jun 30 14:52:31 2012 +0100
4151 symbols: Add missing functions
4153 json-glib/json-glib.symbols | 15 ++++++++++++++-
4154 1 file changed, 14 insertions(+), 1 deletion(-)
4156 commit f91117fcc066fb20204aa34c979d7fb199f0f38a
4157 Author: Emmanuele Bassi <ebassi@gnome.org>
4158 Date: Sat Jun 30 14:50:51 2012 +0100
4160 build: Add abicheck.sh
4162 The abicheck.sh script is used to check that the actural ABI we expose
4163 in our shared library is the same as the expected one we encode inside
4164 the json-glib.symbols file.
4166 Using abicheck.sh at check time, we can verify that: a) the symbols file
4167 is up to date and b) we're not unintentionally leaking private symbols
4168 to the outside world.
4170 configure.ac | 13 ++++++++++++-
4171 json-glib/Makefile.am | 6 ++++++
4172 json-glib/abicheck.sh | 6 ++++++
4173 3 files changed, 24 insertions(+), 1 deletion(-)
4175 commit d52cd977c725f7f8aa22eef91b6305255357eaf2
4176 Author: Emmanuele Bassi <ebassi@gnome.org>
4177 Date: Sat Jun 30 14:49:42 2012 +0100
4179 scanner: Mark all symbols as internal
4181 The JsonScanner API is purely internal; the symbols it exposes should
4182 not end up in the shared library ABI.
4184 json-glib/json-scanner.h | 21 +++++++++++++++++++++
4185 1 file changed, 21 insertions(+)
4187 commit b6aad8b53e9250c6b7e9c8c7302c5f8bde3a2c72
4188 Author: Emmanuele Bassi <ebassi@gnome.org>
4189 Date: Sat Jun 30 14:39:13 2012 +0100
4191 Improve test coverage
4193 json-glib/json-node.c | 9 ++++-----
4194 json-glib/tests/node.c | 18 ++++++++++++++++++
4195 json-glib/tests/object.c | 2 ++
4196 3 files changed, 24 insertions(+), 5 deletions(-)
4198 commit 9fd65a138d6ec46b94eaf807f9c87ea5ada11cf0
4199 Author: Emmanuele Bassi <ebassi@gnome.org>
4200 Date: Sat Jun 30 14:04:31 2012 +0100
4202 Use lcov instead of gcov for test coverage reports
4204 With lcov we get nicer reporting tools, with HTML output.
4207 Makefile.am | 26 ++++++++-
4209 build/autotools/Makefile.am | 1 -
4210 build/autotools/Makefile.am.gcov | 35 ------------
4211 configure.ac | 112 +++++++++++++++++++++++++++++++--------
4212 json-glib/Makefile.am | 7 +--
4213 7 files changed, 120 insertions(+), 64 deletions(-)
4215 commit c135d9ea1b143382fe1372be547cf5ea76444445
4216 Author: Emmanuele Bassi <ebassi@gnome.org>
4217 Date: Sat Jun 30 13:45:53 2012 +0100
4219 tests: Add more coverage to JsonNode
4221 json-glib/tests/node.c | 113 ++++++++++++++++++++++++++++++++++++++++++++++---
4222 1 file changed, 107 insertions(+), 6 deletions(-)
4224 commit c836800166f2b40e605bb497d7d6e884ae85254c
4225 Author: Emmanuele Bassi <ebassi@gnome.org>
4226 Date: Sat Jun 30 13:26:04 2012 +0100
4228 node: Replace GValue with JsonValue
4230 Given our needs, GValue is terribly overengineered. We do not need
4231 transformability, and we only have four types of data which won't be
4232 extended. At the same time, GValue is lacking: it can only be copied
4233 around, whereas everything else inside a JsonNode is reference counted.
4235 We can now use the newly introduced JsonValue to replace our usage of
4236 GValue to store values inside a JsonNode, giving us a simpler, reference
4237 counted storage type.
4239 json-glib/json-node.c | 177 +++++++++++++++++++----------------------
4240 json-glib/json-types-private.h | 2 +-
4241 2 files changed, 83 insertions(+), 96 deletions(-)
4243 commit 7bd24bd628df97d216436e03237fc27f85a6aa8b
4244 Author: Emmanuele Bassi <ebassi@gnome.org>
4245 Date: Sat Jun 30 13:22:47 2012 +0100
4249 Given its ECMAScript inheritance, JSON allows only four types of values:
4252 - floating point numbers
4256 We can efficiently represent a JSON value using a simple, reference
4257 counted structure, that behaves similarly to GValue but without the
4258 baggage of the whole type system.
4260 For the time being, we should keep the whole JsonValue internal: we
4261 already specify typed public accessors, so there's no need to complicate
4262 the API any further.
4264 json-glib/Makefile.am | 5 +-
4265 json-glib/json-types-private.h | 78 ++++++++++++++-
4266 json-glib/json-value.c | 216 +++++++++++++++++++++++++++++++++++++++++
4267 3 files changed, 296 insertions(+), 3 deletions(-)
4269 commit a62619788bbcc9035fb36e58308b28829f5650d3
4270 Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
4271 Date: Sat Jun 30 10:27:03 2012 +0700
4273 Added Vietnamese translation
4275 po/vi.po | 166 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4276 1 file changed, 166 insertions(+)
4278 commit 487a67e2469386751eda951222b927c9ffc2fb06
4279 Author: Dimitris Spingos <dmtrs32@gmail.com>
4280 Date: Fri Jun 22 00:05:09 2012 +0300
4282 Added Greek translation
4284 po/el.po | 178 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4285 1 file changed, 178 insertions(+)
4287 commit 59247e9f8b519c97d9e4ebf67b1b117d0c1b4d66
4288 Author: Yuri Kozlov <yuray@komyakino.ru>
4289 Date: Sun Jun 17 20:33:51 2012 +0400
4291 Added Russian translation
4293 po/ru.po | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4294 1 file changed, 170 insertions(+)
4296 commit 1a7db5b528868bdf73b1e2a648134120a28bfe20
4297 Author: Colin Walters <walters@verbum.org>
4298 Date: Fri Jun 8 11:20:12 2012 -0400
4300 path: Pass int width for printf field width, not long
4302 json-glib/json-path.c | 8 ++++----
4303 1 file changed, 4 insertions(+), 4 deletions(-)
4305 commit 2eb2fc40034496fa517feeb717c3ca114490c31f
4306 Author: Luca Ferretti <lferrett@gnome.org>
4307 Date: Sat May 19 18:49:03 2012 +0200
4309 l10n: Added Italian translation
4311 po/it.po | 172 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4312 1 file changed, 172 insertions(+)
4314 commit cecb20c5e7955f62a57df802230b80d74b4d51ce
4315 Author: Andika Triwidada <andika@gmail.com>
4316 Date: Sat May 19 12:50:25 2012 +0700
4318 Moved id.po to proper directory
4320 id.po | 171 ---------------------------------------------------------------
4321 po/id.po | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4322 2 files changed, 171 insertions(+), 171 deletions(-)
4324 commit ed9212a8219d0f953a5f73c1b8db099e6e0977d8
4325 Author: Andika Triwidada <andika@gmail.com>
4326 Date: Sat May 19 12:43:48 2012 +0700
4328 Added Indonesian translation
4330 id.po | 171 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4331 1 file changed, 171 insertions(+)
4333 commit f3fba7486037639d37c4eb58ca9ca1a7702737ad
4334 Author: A S Alam <aalam@users.sf.net>
4335 Date: Wed May 16 07:32:24 2012 +0530
4337 Added Punjabi Translaiton
4339 po/pa.po | 169 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4340 1 file changed, 169 insertions(+)
4342 commit a62e8a14314dbe41073c16a88b6e3d2bc491cbc0
4343 Author: Fran Diéguez <fran.dieguez@mabishu.com>
4344 Date: Sat Mar 24 18:03:36 2012 +0100
4346 Added Galician translations
4348 Signed-off-by: Fran Diéguez <fran.dieguez@mabishu.com>
4350 po/gl.po | 168 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4351 1 file changed, 168 insertions(+)
4353 commit 6f4b0d9286c546658af9cee4fc8c075f4f713ff1
4354 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4355 Date: Thu Mar 15 16:52:48 2012 +0800
4357 Fix "install" paths in VS property sheets
4359 build/win32/vs10/json-glib.props | 2 +-
4360 build/win32/vs9/json-glib.vsprops | 2 +-
4361 2 files changed, 2 insertions(+), 2 deletions(-)
4363 commit 2913b0b55481768d5f6dcbbeaa7dbd468cbcf0ac
4364 Author: Gabriel Speckhahn <gabspeck@gmail.com>
4365 Date: Thu Feb 16 12:48:35 2012 -0200
4367 Updated Brazilian Portuguese translation
4369 po/pt_BR.po | 170 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4370 1 file changed, 170 insertions(+)
4372 commit 64fa2598e614163fa1dd71d6d74ea2b71180cd82
4373 Author: Daniel Nylander <po@danielnylander.se>
4374 Date: Sun Jan 22 00:38:39 2012 +0100
4376 Added Swedish translation
4378 po/sv.po | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4379 1 file changed, 170 insertions(+)
4381 commit 31bac4804acba9795cd33d510725ea27a39aac23
4382 Author: Emmanuele Bassi <ebassi@gnome.org>
4383 Date: Sat Jan 14 22:16:52 2012 +0000
4385 Remove JSON_DISABLE_DEPRECATED
4387 We have deprecations warnings from the compiler, now.
4389 json-glib/Makefile.am | 2 +-
4390 json-glib/json-glib.symbols | 6 ------
4391 json-glib/json-gobject.h | 3 ---
4392 json-glib/json-types.h | 2 --
4393 4 files changed, 1 insertion(+), 12 deletions(-)
4395 commit 16f9213dc29390a933b0142ea0a39d44a7a0ab02
4396 Author: Ryan Lortie <desrt@desrt.ca>
4397 Date: Mon Jan 9 16:16:57 2012 +0100
4399 Prevent .po file updates on simple 'make'
4401 https://bugzilla.gnome.org/show_bug.cgi?id=661128
4404 1 file changed, 4 insertions(+)
4406 commit 424244569257c280c1926deadf266aa564b795ff
4407 Author: Ryan Lortie <desrt@desrt.ca>
4408 Date: Mon Jan 9 16:15:06 2012 +0100
4410 autogen.sh: remove out-of-tree check
4412 Don't verify from autogen.sh that we are in the source tree -- this
4413 breaks out-of-tree builds in a rather direct way.
4415 https://bugzilla.gnome.org/show_bug.cgi?id=667454
4417 autogen.sh | 7 -------
4418 1 file changed, 7 deletions(-)
4420 commit fce3e04b970ec58f9d9a8ba2e5fb9712665ec17b
4421 Author: Matej Urbančič <mateju@svn.gnome.org>
4422 Date: Mon Dec 26 18:50:43 2011 +0100
4424 Updated Slovenian translation
4426 po/sl.po | 70 ++++++++++++++++++++++++++++++++--------------------------------
4427 1 file changed, 35 insertions(+), 35 deletions(-)
4429 commit b9a774d95058ae00aca03b3994f0ffc48cf50699
4430 Author: Kjartan Maraas <kmaraas@gnome.org>
4431 Date: Mon Dec 19 09:46:02 2011 +0100
4433 Added Norwegian bokmål translation
4435 po/nb.po | 165 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4436 1 file changed, 165 insertions(+)
4438 commit 7f343fc7c0571905afe39c06bec19edd56885620
4439 Author: Daniel Mustieles <daniel.mustieles@gmail.com>
4440 Date: Tue Dec 6 20:22:20 2011 +0100
4442 Updated Spanish translation
4444 po/es.po | 29 +++++++++++++++++------------
4445 1 file changed, 17 insertions(+), 12 deletions(-)
4447 commit 0b7a5b7639163573055c569109cbc91ebd77bd77
4448 Author: Matej Urbančič <mateju@svn.gnome.org>
4449 Date: Fri Nov 25 18:21:43 2011 +0100
4451 Added Slovenian translation
4453 po/sl.po | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4454 1 file changed, 175 insertions(+)
4456 commit dab93ffeb85429157851402c51246066f95f25eb
4457 Author: Marek Černocký <marek@manet.cz>
4458 Date: Tue Nov 22 10:33:51 2011 +0100
4462 po/cs.po | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4463 1 file changed, 167 insertions(+)
4465 commit 432f1b2184e0e574f3e09591f540f995a465a326
4466 Author: Muhammet Kara <muhammet.k@gmail.com>
4467 Date: Wed Nov 16 12:20:54 2011 +0200
4469 [l10n]Added Turkish translation
4471 po/tr.po | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4472 1 file changed, 170 insertions(+)
4474 commit 9e4c685e9aa284cf67c4331942edfb8b5ace2c50
4475 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4476 Date: Tue Nov 15 16:43:28 2011 +0800
4478 Fix VS property sheets
4480 The $(GlibEtcInstallRoot)\include\glib-2.0 needs to be specified in
4481 "AdditionalIncludeDirectories" as well so that we will not mistakenly
4482 pick up glibconfig.h from a GLib version and other GLib headers from
4483 another version accidently.
4485 build/win32/vs10/json-glib.props | 4 ++--
4486 build/win32/vs9/json-glib.vsprops | 4 ++--
4487 2 files changed, 4 insertions(+), 4 deletions(-)
4489 commit 89d65bb4c610b87b483b20ebb958043ea1b9d191
4490 Author: Daniel Mustieles <daniel.mustieles@gmail.com>
4491 Date: Mon Nov 14 14:57:27 2011 +0100
4493 Updated Spanish translation
4495 po/es.po | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4496 1 file changed, 167 insertions(+)
4498 commit 84f987e94a44517a6052b7e91ed2e3c42660e295
4499 Author: Mario Blättermann <mariobl@gnome.org>
4500 Date: Sun Nov 13 16:53:05 2011 +0100
4502 [l10n] Added German translation
4504 po/de.po | 172 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4505 1 file changed, 172 insertions(+)
4507 commit 88e5fdd588fe3a70e1e262bc7b414e3e527e21b6
4508 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4509 Date: Fri Nov 11 15:08:08 2011 +0000
4511 docs: Use markdown in the README
4513 README | 103 ---------------------------------------------------------
4514 README.md | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4515 2 files changed, 112 insertions(+), 103 deletions(-)
4517 commit 7636e9de9414304f940837ee828d23e4608e9f32
4518 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4519 Date: Mon Oct 17 11:19:57 2011 +0100
4521 docs: Fix typo in JsonObject's description
4523 https://bugzilla.gnome.org/show_bug.cgi?id=660893
4525 json-glib/json-object.c | 2 +-
4526 1 file changed, 1 insertion(+), 1 deletion(-)
4528 commit 2cb5836b99fd4f03e88568de492d1a12841c4176
4529 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4530 Date: Mon Oct 17 11:06:38 2011 +0100
4532 Bump up the GLib dependency
4534 It's the development cycle, we can start using GLib 2.31.
4537 json-glib/json-types.h | 6 ------
4538 2 files changed, 1 insertion(+), 7 deletions(-)
4540 commit c2429c07107edd6acf95e80b82d968771c669c35
4541 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4542 Date: Mon Oct 17 10:52:43 2011 +0100
4544 Use the new GLib deprecation scheme
4546 Instead of using a defined symbol to remove the deprecated functions
4547 from the library, we should use compiler warnings.
4549 json-glib/Makefile.am | 1 -
4550 json-glib/json-gobject.h | 6 ++++--
4551 json-glib/json-types.h | 19 +++++++++++++++++--
4552 3 files changed, 21 insertions(+), 5 deletions(-)
4554 commit f0dad4508b63359123926f699a66aead9c782ce1
4555 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4556 Date: Mon Oct 17 15:39:40 2011 +0800
4558 Update VS property sheets
4560 Say goodbye to G_DISABLE_DEPRECATED and the build errors that it triggers
4561 as warnings are now issued during the use of deprecated GLib items instead.
4563 build/win32/vs10/json-glib.props | 2 +-
4564 build/win32/vs9/json-glib.vsprops | 2 +-
4565 2 files changed, 2 insertions(+), 2 deletions(-)
4567 commit 4ab8059df6ad106bf8958642aa1126925d79128c
4568 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4569 Date: Wed Oct 12 12:31:27 2011 +0100
4571 Use g_value_[sg]et_schar() with GLib ≥ 2.31
4573 The non-explicitly signed variant is deprecated.
4575 json-glib/json-gobject.c | 10 +++++++++-
4576 1 file changed, 9 insertions(+), 1 deletion(-)
4578 commit f904ad102004258dc7b839b93a7904517cc4c623
4579 Author: Matthias Clasen <mclasen@redhat.com>
4580 Date: Wed Oct 12 07:15:23 2011 -0400
4582 Adapt to the demise of single includes in GLib
4584 json-glib/json-scanner.h | 4 +---
4585 json-glib/tests/gvariant.c | 2 +-
4586 json-glib/tests/node.c | 2 +-
4587 3 files changed, 3 insertions(+), 5 deletions(-)
4589 commit d23aa2f10c6580f503dfc6969f8550db9576367f
4590 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4591 Date: Tue Sep 27 15:22:00 2011 +0800
4593 Update VS9 property sheet
4595 Separate intermediate folders so that errors/warnings caused by in-use files
4596 during compilation can be avoided.
4598 build/win32/vs9/json-glib.vsprops | 2 +-
4599 1 file changed, 1 insertion(+), 1 deletion(-)
4601 commit 941aff3788ed5ab32e577bcad626150f5e20ce7e
4602 Author: Colin Walters <walters@verbum.org>
4603 Date: Thu Sep 22 13:51:09 2011 -0400
4605 build: Fix srcdir != builddir
4607 We need to find the generated version.h in the builddir.
4609 json-glib/Makefile.am | 2 +-
4610 1 file changed, 1 insertion(+), 1 deletion(-)
4612 commit c6fed3b02fb10f4fc76b594f15c56eab6ce7c591
4613 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4614 Date: Mon Sep 19 14:40:54 2011 +0100
4616 Post-branch version bump to 0.15.1
4618 configure.ac | 4 ++--
4619 1 file changed, 2 insertions(+), 2 deletions(-)
4621 commit 35279b587f0b884fd606be77fd06e4fef919a300
4622 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4623 Date: Mon Sep 19 14:37:45 2011 +0100
4625 Release JSON-GLib 0.14.0
4627 configure.ac | 4 ++--
4628 po/pl.po | 74 ++++++++++++++++++++++++++++++------------------------------
4629 2 files changed, 39 insertions(+), 39 deletions(-)
4631 commit 3830326516285e6e86d3fa9c58ef7531679dfec0
4632 Author: Piotr Drąg <piotrdrag@gmail.com>
4633 Date: Fri Sep 9 16:27:37 2011 +0200
4635 Added Polish translation
4637 po/pl.po | 172 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4638 1 file changed, 172 insertions(+)
4640 commit 67a460d9ea8b485e740d1df34943b8df974f4255
4641 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4642 Date: Fri Sep 9 15:00:41 2011 +0100
4644 Post-release version bump to 0.13.91
4647 1 file changed, 1 insertion(+), 1 deletion(-)
4649 commit 1cb4ed1fac84026a19b35ce10c54df8a6ed12959
4650 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4651 Date: Fri Sep 9 14:57:13 2011 +0100
4653 Release JSON-GLib 0.13.90 (0.14.0-rc1)
4657 2 files changed, 3 insertions(+), 1 deletion(-)
4659 commit 18a83ddad87c92ae78010c678a516087ba012859
4660 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4661 Date: Fri Sep 9 14:58:17 2011 +0100
4663 build: Fix the path to the 'missing' script
4666 1 file changed, 1 insertion(+), 1 deletion(-)
4668 commit 9f75475871cc8723e0a41d6c8971f741a405cb9f
4669 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4670 Date: Fri Sep 9 14:00:36 2011 +0100
4672 reader: Do more strict validation
4674 JsonReader should perform more strict validation, and put itself in an
4675 error state whenever the user asks for values or information on nodes
4676 that are not there, or not of the right type.
4678 https://bugzilla.gnome.org/show_bug.cgi?id=658632
4680 json-glib/json-reader.c | 177 +++++++++++++++++++++++++++++++++++++++++-------
4681 json-glib/json-reader.h | 10 ++-
4682 2 files changed, 163 insertions(+), 24 deletions(-)
4684 commit e7f2d505de39a9dbdea1a5879c13408c7a394a18
4685 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4686 Date: Wed Aug 31 13:33:41 2011 +0800
4688 Update Win32 and VS Readme files
4690 Tell people about the GNOME Live! page that outlines building
4691 JSON-GLib and its dependencies with Visual C++.
4693 build/win32/vs10/README.txt | 5 +++++
4694 build/win32/vs9/README.txt | 5 +++++
4695 2 files changed, 10 insertions(+)
4697 commit c2f5b8bc64f9ac06b2dda8662924d88cc759718e
4698 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4699 Date: Tue Aug 23 20:42:15 2011 +0100
4701 gobject: Deserialize CONSTRUCT properties
4703 While we have to give up deserializing CONSTRUCT_ONLY properties with
4704 JsonSerializable, CONSTRUCT properties should just be deserialized like
4707 Sadly, there's still a refuse in the json_gobject_new() code that skips
4708 CONSTRUCT properties along with CONSTRUCT_ONLY ones — a remnant of a
4709 period when we deserialized them both without JsonSerializable.
4711 https://bugzilla.gnome.org/show_bug.cgi?id=655526
4713 json-glib/json-gobject.c | 13 +++++--------
4714 json-glib/tests/serialize-complex.c | 19 ++++++++++++++++++-
4715 json-glib/tests/serialize-full.c | 3 ++-
4716 3 files changed, 25 insertions(+), 10 deletions(-)
4718 commit bcfac335a8e4086ff6afa5f267f9886a4d1b6370
4719 Author: Tristan Van Berkom <tristan.van.berkom@gmail.com>
4720 Date: Sun Jul 31 02:38:08 2011 -0400
4722 Handle integer to float/double conversions in json_deserialize_pspec()
4724 It happens that while serializing that float/double properties are
4725 set to round numbers, this results in deserialization as gint64
4726 values and a parse failure. This patch addresses it by accepting
4727 round gint64 numbers as valid values for float/double properties.
4729 json-glib/json-gobject.c | 22 +++++++++++++++++++++-
4730 1 file changed, 21 insertions(+), 1 deletion(-)
4732 commit 996d89911d71f54f9a476242f1bd43c077d4428c
4733 Author: Tristan Van Berkom <tristan.van.berkom@gmail.com>
4734 Date: Wed Jul 13 15:27:07 2011 -0400
4736 Added an additional warning to json_gobject_new()
4738 The same warning that is fired when failing to deserialize
4739 properties normally needed to be added for the case that
4740 we fail to deserialize construct-only properties.
4742 json-glib/json-gobject.c | 7 ++++++-
4743 1 file changed, 6 insertions(+), 1 deletion(-)
4745 commit 4315308a19e4cf474451cecf8b69aceddda91f49
4746 Author: Tristan Van Berkom <tristan.van.berkom@gmail.com>
4747 Date: Sat Jul 9 15:23:36 2011 -0400
4749 Avoid serializing default property values only after
4750 consulting the JsonSerializable.
4752 This patch gives the JsonSerializable class a chance to decide
4753 whether it's appropriate to serialize a property before
4754 JsonGObject checks for a default value and skips the property.
4756 json-glib/json-gobject.c | 10 ++--------
4757 json-glib/json-serializable.c | 4 ++++
4758 2 files changed, 6 insertions(+), 8 deletions(-)
4760 commit 4ba9a6a81709221ba58d0f8e067de660eb96914e
4761 Author: Tristan Van Berkom <tristan.van.berkom@gmail.com>
4762 Date: Thu Jul 7 16:35:21 2011 -0400
4764 Fixed badly handled fundamental types in json_deserialize_pspec().
4766 This patch fixes json_deserialize_pspec() to return FALSE when
4767 failing to deserialize some properties. Consequently the patch
4768 ensures we get the intended warnings when failing to deserialize
4769 pspecs for some fundamental types:
4770 Failed to deserialize property "foo" of type "int" on object "bar"
4772 json-glib/json-gobject.c | 42 ++++++++++++++++++++++++++++++------------
4773 1 file changed, 30 insertions(+), 12 deletions(-)
4775 commit 24fa4503ad5d85bf60027bd77c434b2a596b1c17
4776 Author: Laurent Bigonville <bigon@bigon.be>
4777 Date: Wed Jul 6 12:34:56 2011 +0200
4779 Fix GVariant creation on some architectures (bug #650483)
4781 Fix casting issue in Gvariant creation on some architectures.
4783 json-glib/json-gvariant.c | 46 ++++++++++++++++++++++++++++++++++++++++------
4784 1 file changed, 40 insertions(+), 6 deletions(-)
4786 commit dd3c30c5821f9f6bac4cc9016c49c7e6250377eb
4787 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4788 Date: Tue Jul 5 15:07:20 2011 +0100
4790 tests/path: Link expressions and results
4792 Use a structure to keep the testable expressions and their results
4795 json-glib/tests/path.c | 74 ++++++++++++++++++++++++++++++++------------------
4796 1 file changed, 47 insertions(+), 27 deletions(-)
4798 commit acb33a7e6bd3d05d36e7278fafdcb4c35ec88388
4799 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4800 Date: Tue Jul 5 14:23:13 2011 +0100
4802 build: Replace AC_HELP_STRING with AS_HELP_STRING
4804 configure.ac | 4 ++--
4805 1 file changed, 2 insertions(+), 2 deletions(-)
4807 commit c296ca9ed06b8e4b54a4bd8003593b3a98b94f6b
4808 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4809 Date: Tue Jul 5 14:22:13 2011 +0100
4811 build: Allow m4 substitution for conditional defaults
4813 To compensate for AC_HELP_STRING()'s braindamage.
4815 configure.ac | 4 ++--
4816 1 file changed, 2 insertions(+), 2 deletions(-)
4818 commit 1fb457af51a5632956fd679deca0021becb5468b
4819 Author: Emmanuele Bassi <ebassi@linux.intel.com>
4820 Date: Tue Jul 5 14:22:01 2011 +0100
4822 build: Clean up configure.ac's preamble
4824 configure.ac | 7 +++++--
4825 1 file changed, 5 insertions(+), 2 deletions(-)
4827 commit 75e370e53cb5d31d4a366fc5f126583872f1349a
4828 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4829 Date: Wed Jun 29 14:29:12 2011 +0800
4831 Added README.txt's for Visual Studio support
4833 Added README.txt's and included them in distribution to tell
4834 people how JSON-GLib can be build on Windows using Visual C++.
4836 build/win32/vs10/Makefile.am | 1 +
4837 build/win32/vs10/README.txt | 87 ++++++++++++++++++++++++++++++++++++++++++++
4838 build/win32/vs9/Makefile.am | 1 +
4839 build/win32/vs9/README.txt | 86 +++++++++++++++++++++++++++++++++++++++++++
4840 4 files changed, 175 insertions(+)
4842 commit 7da6eb52937588537754be7e0b496f51077165d2
4843 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4844 Date: Wed Jun 29 12:54:52 2011 +0800
4846 Re-attempt to correct EOL on VS2010 solution
4848 This time I realized that I needed to set autocrlf=false on my Windows side
4851 This is one of those files that must have CRLF line endings to work
4854 build/win32/vs10/json-glib.sln | 332 ++++++++++++++++++++---------------------
4855 1 file changed, 166 insertions(+), 166 deletions(-)
4857 commit 4ef07b2c6e7d4d444f8ec6ce93c27f7189b942a0
4858 Author: Travis Reitter <treitter@gmail.com>
4859 Date: Thu Jun 23 16:54:38 2011 -0700
4861 Link the tests against the appropriate libraries.
4863 This avoids some linking failures.
4865 Closes: bgo#653295 - json-glib tests need to link against libgobject-2
4867 json-glib/tests/Makefile.am | 5 ++++-
4868 1 file changed, 4 insertions(+), 1 deletion(-)
4870 commit c9ac9ce2d417210ccb06d0445a809ce9cd57c7a5
4871 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4872 Date: Mon Jun 20 11:59:57 2011 +0800
4874 Update VS 2010 property sheet
4876 Make up for missed backslash
4878 build/win32/vs10/json-glib.props | 2 +-
4879 1 file changed, 1 insertion(+), 1 deletion(-)
4881 commit 230801c694169e50ca45df7df431adbdb89cab18
4882 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4883 Date: Mon Jun 20 11:58:03 2011 +0800
4885 Refine Visual C++ 2010 projects
4887 Should have realized that my previous commit on Visual C++ 2010 projects
4888 (refinement) can be consolidated into the property sheet...
4890 build/win32/vs10/array.vcxproj | 8 --------
4891 build/win32/vs10/boxed.vcxproj | 8 --------
4892 build/win32/vs10/builder.vcxproj | 8 --------
4893 build/win32/vs10/generator.vcxproj | 8 --------
4894 build/win32/vs10/gvariant.vcxproj | 10 +---------
4895 build/win32/vs10/json-glib.props | 2 +-
4896 build/win32/vs10/json-glib.vcxprojin | 8 --------
4897 build/win32/vs10/node.vcxproj | 10 +---------
4898 build/win32/vs10/object.vcxproj | 10 +---------
4899 build/win32/vs10/parser.vcxproj | 10 +---------
4900 build/win32/vs10/path.vcxproj | 10 +---------
4901 build/win32/vs10/reader.vcxproj | 8 --------
4902 build/win32/vs10/serialize-complex.vcxproj | 8 --------
4903 build/win32/vs10/serialize-full.vcxproj | 8 --------
4904 build/win32/vs10/serialize-simple.vcxproj | 8 --------
4905 15 files changed, 6 insertions(+), 118 deletions(-)
4907 commit d6fdf92ee000666ceb7892151673b4b56517cdd9
4908 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4909 Date: Mon Jun 20 01:11:18 2011 +0800
4911 Further refinements to Visual C++ 2010 projects
4913 -Seperate the intermediate folders for each configuration so that MSB6003
4914 (cannot write into MSBuild log file as file is in use) errors and other
4915 related MSBuild errors can be avoided, and will avoid rebuilding/relinking
4916 projects when no sources are changed.
4918 -Fixed dependencies for the "install" project
4920 build/win32/vs10/array.vcxproj | 8 ++++++--
4921 build/win32/vs10/boxed.vcxproj | 8 ++++++--
4922 build/win32/vs10/builder.vcxproj | 8 ++++++--
4923 build/win32/vs10/generator.vcxproj | 8 ++++++--
4924 build/win32/vs10/gvariant.vcxproj | 9 ++++++++-
4925 build/win32/vs10/install.vcxproj | 18 +++++++++---------
4926 build/win32/vs10/json-glib.vcxprojin | 8 ++++++--
4927 build/win32/vs10/node.vcxproj | 8 ++++++--
4928 build/win32/vs10/object.vcxproj | 8 ++++++--
4929 build/win32/vs10/parser.vcxproj | 8 ++++++--
4930 build/win32/vs10/path.vcxproj | 9 ++++++++-
4931 build/win32/vs10/reader.vcxproj | 8 ++++++--
4932 build/win32/vs10/serialize-complex.vcxproj | 8 ++++++--
4933 build/win32/vs10/serialize-full.vcxproj | 8 ++++++--
4934 build/win32/vs10/serialize-simple.vcxproj | 8 ++++++--
4935 15 files changed, 97 insertions(+), 35 deletions(-)
4937 commit 8518effca75d2249b8186083b950644ba4098d47
4938 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4939 Date: Mon Jun 20 00:13:29 2011 +0800
4941 VS 2008 project files update
4943 Update RootNamespace as well for consistency sake.
4945 Thanks to Emmanuele for updating the VS9 projects earlier due to the
4946 changes in the filenames of the test sources
4948 build/win32/vs9/array.vcproj | 2 +-
4949 build/win32/vs9/boxed.vcproj | 2 +-
4950 build/win32/vs9/builder.vcproj | 2 +-
4951 build/win32/vs9/generator.vcproj | 2 +-
4952 build/win32/vs9/gvariant.vcproj | 2 +-
4953 build/win32/vs9/node.vcproj | 2 +-
4954 build/win32/vs9/object.vcproj | 2 +-
4955 build/win32/vs9/parser.vcproj | 2 +-
4956 build/win32/vs9/path.vcproj | 2 +-
4957 build/win32/vs9/reader.vcproj | 2 +-
4958 10 files changed, 10 insertions(+), 10 deletions(-)
4960 commit 49ecbb4e2449ad55623fb46a0072fd1fbaf837e1
4961 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4962 Date: Mon Jun 20 00:04:30 2011 +0800
4964 Update VS2010 project files
4966 -Reflect on the change of filenames of test sources, and updated dist
4968 -Clean up projects a little bit.
4970 build/win32/vs10/Makefile.am | 36 ++---
4971 build/win32/vs10/array-test.vcxproj | 172 -----------------------
4972 build/win32/vs10/array-test.vcxproj.filters | 14 --
4973 build/win32/vs10/array.vcxproj | 171 +++++++++++++++++++++++
4974 build/win32/vs10/array.vcxproj.filters | 14 ++
4975 build/win32/vs10/boxed.vcxproj | 1 -
4976 build/win32/vs10/builder-test.vcxproj | 172 -----------------------
4977 build/win32/vs10/builder-test.vcxproj.filters | 14 --
4978 build/win32/vs10/builder.vcxproj | 171 +++++++++++++++++++++++
4979 build/win32/vs10/builder.vcxproj.filters | 14 ++
4980 build/win32/vs10/generator-test.vcxproj | 172 -----------------------
4981 build/win32/vs10/generator-test.vcxproj.filters | 14 --
4982 build/win32/vs10/generator.vcxproj | 171 +++++++++++++++++++++++
4983 build/win32/vs10/generator.vcxproj.filters | 14 ++
4984 build/win32/vs10/gvariant-test.vcxproj | 159 ----------------------
4985 build/win32/vs10/gvariant-test.vcxproj.filters | 14 --
4986 build/win32/vs10/gvariant.vcxproj | 159 ++++++++++++++++++++++
4987 build/win32/vs10/gvariant.vcxproj.filters | 14 ++
4988 build/win32/vs10/install.vcxproj | 1 -
4989 build/win32/vs10/json-glib.props | 1 -
4990 build/win32/vs10/json-glib.sln | 18 +--
4991 build/win32/vs10/json-glib.vcxprojin | 1 -
4992 build/win32/vs10/node-test.vcxproj | 172 -----------------------
4993 build/win32/vs10/node-test.vcxproj.filters | 14 --
4994 build/win32/vs10/node.vcxproj | 171 +++++++++++++++++++++++
4995 build/win32/vs10/node.vcxproj.filters | 14 ++
4996 build/win32/vs10/object-test.vcxproj | 172 -----------------------
4997 build/win32/vs10/object-test.vcxproj.filters | 13 --
4998 build/win32/vs10/object.vcxproj | 171 +++++++++++++++++++++++
4999 build/win32/vs10/object.vcxproj.filters | 13 ++
5000 build/win32/vs10/parser-test.vcxproj | 172 -----------------------
5001 build/win32/vs10/parser-test.vcxproj.filters | 14 --
5002 build/win32/vs10/parser.vcxproj | 171 +++++++++++++++++++++++
5003 build/win32/vs10/parser.vcxproj.filters | 14 ++
5004 build/win32/vs10/path-test.vcxproj | 159 ----------------------
5005 build/win32/vs10/path-test.vcxproj.filters | 14 --
5006 build/win32/vs10/path.vcxproj | 159 ++++++++++++++++++++++
5007 build/win32/vs10/path.vcxproj.filters | 14 ++
5008 build/win32/vs10/reader-test.vcxproj | 173 ------------------------
5009 build/win32/vs10/reader-test.vcxproj.filters | 14 --
5010 build/win32/vs10/reader.vcxproj | 172 +++++++++++++++++++++++
5011 build/win32/vs10/reader.vcxproj.filters | 14 ++
5012 build/win32/vs10/serialize-complex.vcxproj | 1 -
5013 build/win32/vs10/serialize-full.vcxproj | 1 -
5014 build/win32/vs10/serialize-simple.vcxproj | 1 -
5015 45 files changed, 1668 insertions(+), 1682 deletions(-)
5017 commit 54711b3e093e00457a355926516ba87c8171f17d
5018 Author: Emmanuele Bassi <ebassi@gnome.org>
5019 Date: Sun Jun 19 12:18:04 2011 +0100
5021 build/vs9: Update after the changes in json-glib/tests
5023 build/win32/vs9/Makefile.am | 24 ++---
5024 build/win32/vs9/array-test.vcproj | 157 --------------------------------
5025 build/win32/vs9/array.vcproj | 157 ++++++++++++++++++++++++++++++++
5026 build/win32/vs9/boxed.vcproj | 2 +-
5027 build/win32/vs9/builder-test.vcproj | 157 --------------------------------
5028 build/win32/vs9/builder.vcproj | 157 ++++++++++++++++++++++++++++++++
5029 build/win32/vs9/generator-test.vcproj | 157 --------------------------------
5030 build/win32/vs9/generator.vcproj | 157 ++++++++++++++++++++++++++++++++
5031 build/win32/vs9/gvariant-test.vcproj | 147 ------------------------------
5032 build/win32/vs9/gvariant.vcproj | 147 ++++++++++++++++++++++++++++++
5033 build/win32/vs9/json-glib.sln | 18 ++--
5034 build/win32/vs9/node-test.vcproj | 157 --------------------------------
5035 build/win32/vs9/node.vcproj | 157 ++++++++++++++++++++++++++++++++
5036 build/win32/vs9/object-test.vcproj | 155 -------------------------------
5037 build/win32/vs9/object.vcproj | 155 +++++++++++++++++++++++++++++++
5038 build/win32/vs9/parser-test.vcproj | 166 ----------------------------------
5039 build/win32/vs9/parser.vcproj | 166 ++++++++++++++++++++++++++++++++++
5040 build/win32/vs9/path-test.vcproj | 147 ------------------------------
5041 build/win32/vs9/path.vcproj | 147 ++++++++++++++++++++++++++++++
5042 build/win32/vs9/reader-test.vcproj | 158 --------------------------------
5043 build/win32/vs9/reader.vcproj | 158 ++++++++++++++++++++++++++++++++
5044 21 files changed, 1423 insertions(+), 1423 deletions(-)
5046 commit 78e896c64e8cbccf1b55291521f11a3f5093080a
5047 Author: Emmanuele Bassi <ebassi@gnome.org>
5048 Date: Sun Jun 19 12:08:03 2011 +0100
5050 build: Rename test binaries
5052 It's pointless to add the '-test' suffix to files under the tests/ directory.
5054 json-glib/tests/Makefile.am | 18 +-
5055 json-glib/tests/array-test.c | 122 ------
5056 json-glib/tests/array.c | 122 ++++++
5057 json-glib/tests/builder-test.c | 161 --------
5058 json-glib/tests/builder.c | 161 ++++++++
5059 json-glib/tests/generator-test.c | 330 ----------------
5060 json-glib/tests/generator.c | 330 ++++++++++++++++
5061 json-glib/tests/gvariant-test.c | 233 ------------
5062 json-glib/tests/gvariant.c | 233 ++++++++++++
5063 json-glib/tests/node-test.c | 112 ------
5064 json-glib/tests/node.c | 112 ++++++
5065 json-glib/tests/object-test.c | 165 --------
5066 json-glib/tests/object.c | 165 ++++++++
5067 json-glib/tests/parser-test.c | 785 ---------------------------------------
5068 json-glib/tests/parser.c | 785 +++++++++++++++++++++++++++++++++++++++
5069 json-glib/tests/path-test.c | 143 -------
5070 json-glib/tests/path.c | 143 +++++++
5071 json-glib/tests/reader-test.c | 134 -------
5072 json-glib/tests/reader.c | 134 +++++++
5073 19 files changed, 2194 insertions(+), 2194 deletions(-)
5075 commit cef1f16cec529eeb03338f995a8b3d32b262df8b
5076 Author: Emmanuele Bassi <ebassi@gnome.org>
5077 Date: Sun Jun 19 12:00:01 2011 +0100
5079 docs: Add index for symbols added in the 0.13 cycle
5081 doc/reference/json-glib-docs.xml | 5 +++++
5082 1 file changed, 5 insertions(+)
5084 commit cc2543e101ca8fa41989bc8eb296f8d11b5b9cad
5085 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5086 Date: Wed Jun 15 11:30:28 2011 +0100
5088 build: Add tar-ustar and silent-rules automake options
5090 The tar-ustar format allows longer file names and other niceties —
5091 though a format ratified in a standard from 1988 is still judged as
5092 "possibly not widespread enough". I weep for the future of humanity
5093 and software engineering.
5095 The silent-rules option is just added to avoid using AM_SILENT_RULES()
5098 configure.ac | 3 +--
5099 1 file changed, 1 insertion(+), 2 deletions(-)
5101 commit c106aa5b0fc0ca408328b95ba721eef6a9d560d2
5102 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5103 Date: Wed Jun 15 11:12:38 2011 +0100
5105 Post-release version bump to 0.13.5
5108 1 file changed, 1 insertion(+), 1 deletion(-)
5110 commit 02b3ee77a35624a3d6e478ae3700100cb24bf18f
5111 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5112 Date: Wed Jun 15 11:08:37 2011 +0100
5114 Release JSON-GLib 0.13.4
5118 2 files changed, 7 insertions(+), 1 deletion(-)
5120 commit f37878ec1759283f78a6d580c1f78e9039717862
5121 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5122 Date: Wed Jun 15 11:08:12 2011 +0100
5124 docs: Fix API reference missing symbols
5126 doc/reference/json-glib-sections.txt | 4 ++++
5127 json-glib/json-gobject.h | 6 ++++++
5128 2 files changed, 10 insertions(+)
5130 commit c994a9bfdc13aba1b7c5fd019853c68fb38148a6
5131 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5132 Date: Thu Jun 9 17:23:04 2011 +0100
5134 Remove G_CONST_RETURN usage
5138 https://bugzilla.gnome.org/show_bug.cgi?id=644611
5140 The macro is going to be deprecated soon.
5142 json-glib/json-array.c | 2 +-
5143 json-glib/json-node.c | 6 +++---
5144 json-glib/json-object.c | 2 +-
5145 json-glib/json-reader.c | 6 +++---
5146 json-glib/json-reader.h | 6 +++---
5147 json-glib/json-types-private.h | 2 +-
5148 json-glib/json-types.h | 8 ++++----
5149 7 files changed, 16 insertions(+), 16 deletions(-)
5151 commit 74bb5d61a737cceffd04c8d9ae8d5db390eda5a2
5152 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5153 Date: Fri Jun 3 11:46:05 2011 +0100
5155 Use the new atomic functions for refcounting
5157 The newly added g_atomic_int_dec_and_test() simplified the logic for
5158 unreffing Object and Array.
5160 json-glib/json-array.c | 9 ++-------
5161 json-glib/json-object.c | 9 ++-------
5162 2 files changed, 4 insertions(+), 14 deletions(-)
5164 commit 4f83868e3a18adac809aff111c5df5ff7af8fedf
5165 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5166 Date: Fri Jun 3 11:18:27 2011 +0100
5168 build: Remove deprecation disabling for GLib
5170 json-glib/Makefile.am | 1 -
5171 1 file changed, 1 deletion(-)
5173 commit 65a95198a4a1bca7b418af1639c4bb24b09947c5
5174 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5175 Date: Fri Jun 3 15:32:55 2011 +0800
5177 Visual C++ support: projects for JSONPath test
5179 Added projects to build test program for JSONPath (path-test.c)
5181 build/win32/vs10/Makefile.am | 2 +
5182 build/win32/vs10/install.vcxproj | 8 ++
5183 build/win32/vs10/json-glib.sln | 26 +++--
5184 build/win32/vs10/path-test.vcxproj | 159 +++++++++++++++++++++++++++++
5185 build/win32/vs10/path-test.vcxproj.filters | 14 +++
5186 build/win32/vs9/Makefile.am | 1 +
5187 build/win32/vs9/json-glib.sln | 30 ++++--
5188 build/win32/vs9/path-test.vcproj | 147 ++++++++++++++++++++++++++
5189 8 files changed, 371 insertions(+), 16 deletions(-)
5191 commit 16bc9cccd32f4e1c7e9fc0da128aef969d0563b0
5192 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5193 Date: Fri Jun 3 15:01:16 2011 +0800
5195 Update config.h.win32.in
5197 Added definition of GETTEXT_PACKAGE due to the addition of the i18n
5198 machinery (commit 67edce08670ce1da4956f87948985434ac5ae2ca)
5200 build/win32/config.h.win32.in | 3 +++
5201 1 file changed, 3 insertions(+)
5203 commit d93260c477930140f2ecf2927bd9f2a2d7f4f905
5204 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5205 Date: Fri Jun 3 14:47:42 2011 +0800
5207 Update VS property sheets
5209 -Add json-path.h to the list of headers to be copied in the "install" stage
5211 build/win32/vs10/json-glib.props | 2 ++
5212 build/win32/vs9/json-glib.vsprops | 1 +
5213 2 files changed, 3 insertions(+)
5215 commit c3b367ca8bac245712f8390acab1b38a314972a9
5216 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5217 Date: Wed Jun 1 17:10:17 2011 +0100
5219 serializable: Fix introspection annotations
5221 json-glib/json-serializable.c | 25 +++++++++++++++++++++++++
5222 1 file changed, 25 insertions(+)
5224 commit aee5a7fbb70e5cb714bcfef79a96c000f62e80db
5225 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5226 Date: Wed Jun 1 17:01:02 2011 +0100
5232 replaced by json-glib.doap
5235 empty, and not necessary with the foreign automake option
5238 ChangeLog | 6 ------
5240 configure.ac | 5 +++--
5241 4 files changed, 3 insertions(+), 12 deletions(-)
5243 commit 1d4cdb76b6f97c723dd6e4c634bacc52d3199999
5244 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5245 Date: Wed Jun 1 13:35:16 2011 +0100
5247 Update the ignore file for the po directory
5250 1 file changed, 1 insertion(+)
5252 commit 8863766ca4792383dad0e48550f8fb79d4c104e4
5253 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5254 Date: Wed Jun 1 13:21:32 2011 +0100
5256 Mark GError messages for translations
5258 These errors might find their way into a UI.
5260 json-glib/json-gobject.c | 4 ++--
5261 json-glib/json-gvariant.c | 40 ++++++++++++++++++----------------------
5262 json-glib/json-parser.c | 5 ++++-
5263 json-glib/json-path.c | 13 +++++++------
5264 json-glib/json-reader.c | 20 ++++++++++----------
5265 5 files changed, 41 insertions(+), 41 deletions(-)
5267 commit 67edce08670ce1da4956f87948985434ac5ae2ca
5268 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5269 Date: Wed Jun 1 13:09:01 2011 +0100
5273 We need to translate the GError messages.
5277 build/autotools/Makefile.am | 1 +
5278 build/autotools/as-linguas.m4 | 24 ++++++++++++++++++++++++
5279 configure.ac | 12 ++++++++++++
5280 json-glib/json-gobject.c | 2 ++
5281 json-glib/json-gvariant.c | 6 ++++++
5282 json-glib/json-parser.c | 2 ++
5283 json-glib/json-path.c | 4 +++-
5284 json-glib/json-reader.c | 2 ++
5285 po/.gitignore | 13 +++++++++++++
5286 po/Makevars | 7 +++++++
5287 po/POTFILES.in | 6 ++++++
5288 13 files changed, 81 insertions(+), 2 deletions(-)
5290 commit e3b5883d4435da7fe677eb9a7c74d2f83980f5da
5291 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5292 Date: Wed Jun 1 12:49:28 2011 +0100
5294 gobject: Do not serialize default values
5296 If a property is set to its default value then we can skip its
5297 serialization, to keep the number of JSON object members down.
5299 json-glib/json-gobject.c | 7 +++++++
5300 1 file changed, 7 insertions(+)
5302 commit 8c424cc133575282371bff8d17295662267049e9
5303 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5304 Date: Wed Jun 1 12:48:20 2011 +0100
5306 tests/serialize-complex: Modify the instance
5308 Do not test the defaults: create the GObject instance with different
5309 values than the default ones from the GParamSpec.
5311 json-glib/tests/serialize-complex.c | 22 +++++++++++-----------
5312 1 file changed, 11 insertions(+), 11 deletions(-)
5314 commit 96b1e6b50f355c04e794ad7366bd33b9c3d1f81b
5315 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5316 Date: Wed Jun 1 12:35:58 2011 +0100
5318 serializable: Allow introspecting properties
5320 This allows a Serializable implementation to override the property list,
5321 and the setter and the getter function.
5323 json-glib/json-gobject.c | 43 ++++++++++++++++++-----
5324 json-glib/json-gobject.h | 22 ++++++++++++
5325 json-glib/json-serializable.c | 81 +++++++++++++++++++++++++++++++++++++++++++
5326 3 files changed, 137 insertions(+), 9 deletions(-)
5328 commit c85fc93f6235b8b9d584585215b2fa860f07f2c3
5329 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5330 Date: Wed Jun 1 12:36:08 2011 +0100
5332 Revert "path: Add some more validation points"
5334 This reverts commit e8fa85705e48d03742eb351addbad53be4d8e60b.
5336 The validation broke the test suite; it'll need some more work.
5338 json-glib/json-path.c | 77 ++++++++++++++-------------------------------------
5339 1 file changed, 21 insertions(+), 56 deletions(-)
5341 commit e8fa85705e48d03742eb351addbad53be4d8e60b
5342 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5343 Date: Wed Jun 1 07:55:17 2011 +0100
5345 path: Add some more validation points
5347 Especially for the slice syntax.
5349 json-glib/json-path.c | 77 +++++++++++++++++++++++++++++++++++++--------------
5350 1 file changed, 56 insertions(+), 21 deletions(-)
5352 commit 295c469329d040b4d311e9c295bec908856190d6
5353 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5354 Date: Wed Jun 1 07:54:48 2011 +0100
5356 symbols: Add JsonPath public entry points
5358 json-glib/json-glib.symbols | 6 ++++++
5359 1 file changed, 6 insertions(+)
5361 commit 257209ab47ebcbf36006dd3aa3fcee5545381c6f
5362 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5363 Date: Wed Jun 1 07:54:26 2011 +0100
5365 docs: Document JsonPath and add it to the API reference
5367 doc/reference/json-glib-docs.xml | 3 +-
5368 doc/reference/json-glib-sections.txt | 20 ++++
5369 doc/reference/json-glib.types | 1 +
5370 json-glib/json-path.c | 174 ++++++++++++++++++++++++++++++++++-
5371 4 files changed, 195 insertions(+), 3 deletions(-)
5373 commit ac89bb7fc7491019f8baa687a785eeb93af7213e
5374 Merge: b5bd477 4ea8cd4
5375 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5376 Date: Tue May 31 23:16:10 2011 +0100
5378 Merge branch 'wip/json-path'
5381 Add initial JSONPath implementation
5383 commit 4ea8cd43986d5888fb8e809a198d6b0331b12480
5384 Author: Emmanuele Bassi <ebassi@gnome.org>
5385 Date: Sat May 28 14:36:43 2011 +0100
5387 Add initial JSONPath implementation
5389 JSONPath is a JSON query syntax similar to what XPath does for XML;
5390 using JSONPath it's possible to address a specific node (or set of
5391 nodes) inside a JSON document.
5393 The JsonPath class is a simple implementation of part of the JSONPath
5394 proposal, as formalised by Stefan Gössner here:
5396 http://goessner.net/articles/JsonPath/
5398 The covered operators are:
5401 • child, both using the dot-notation and the bracket notation;
5402 • recursive descent, or '..';
5403 • subscript, or '[]';
5405 • slice, or '[start:end:step]'.
5407 The only missing operators are the filter, or '?()' and the script,
5408 or '()', because implementing a JavaScript interpreter inside JSON-GLib
5409 is not one of my greatest aspirations. It should be possible, though,
5410 to parse and evaluate simple arithmetic conditions, in the future.
5412 The JsonPath methods are pretty straightforward: a JsonPath instance
5413 should be created and used to compile an expression; the compilation
5414 might result in a syntax error or not. Then, the JsonPath instance can
5415 be used to match any JSON tree. Like the other JSONPath implementations,
5416 JsonPath returns a JSON array of matching nodes.
5418 A simple, one-off static method called json_path_query() is also
5419 provided; the method wraps the JsonPath creation, the expression
5420 compilation, and the matching, as well as disposing the JsonPath
5423 For the time being, only positive testing is provided; negative testing
5424 for the expression compilation will follow.
5426 json-glib/Makefile.am | 2 +
5427 json-glib/json-debug.c | 3 +-
5428 json-glib/json-debug.h | 3 +-
5429 json-glib/json-glib.h | 1 +
5430 json-glib/json-path.c | 856 ++++++++++++++++++++++++++++++++++++++++++++
5431 json-glib/json-path.h | 97 +++++
5432 json-glib/tests/Makefile.am | 1 +
5433 json-glib/tests/path-test.c | 143 ++++++++
5434 8 files changed, 1104 insertions(+), 2 deletions(-)
5436 commit b5bd47727c960990ba98902ee2d7099491a4178a
5437 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5438 Date: Mon May 30 14:26:54 2011 +0800
5440 Add/update Visual C++ projects for GVariant API
5442 -Added/dist VS 2008/2010 projects to compile the gvariant-test test program
5443 (yes, the gvariant-test program passes in the 32-bit and 64-bit modes)
5444 -Updated property sheet to "install" the "new" json-gvariant.h
5446 build/win32/vs10/Makefile.am | 2 +
5447 build/win32/vs10/gvariant-test.vcxproj | 159 +++++++++++++++++++++++++
5448 build/win32/vs10/gvariant-test.vcxproj.filters | 14 +++
5449 build/win32/vs10/json-glib.props | 2 +
5450 build/win32/vs10/json-glib.sln | 10 ++
5451 build/win32/vs9/Makefile.am | 1 +
5452 build/win32/vs9/gvariant-test.vcproj | 147 +++++++++++++++++++++++
5453 build/win32/vs9/json-glib.sln | 14 +++
5454 build/win32/vs9/json-glib.vsprops | 1 +
5455 9 files changed, 350 insertions(+)
5457 commit 3a1d817fd39b4b4d2bdbc93257be535c5b29780f
5458 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5459 Date: Mon May 30 13:07:53 2011 +0800
5461 Update json-glib.symbols
5463 Added the JSON-GLib gvariant-related APIs.
5465 json-glib/json-glib.symbols | 4 ++++
5466 1 file changed, 4 insertions(+)
5468 commit 1b7f20fe88a6647e61964db063eba071114a6f66
5469 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5470 Date: Mon May 30 12:53:47 2011 +0800
5472 Update $(srcroot)/Makefile.am
5474 Due to changes to this file in commit
5475 4e41d26586991d2977c846fa4871b6df39fe4106, change the order of SUBDIRS
5476 so that "make dist" will properly run.
5478 This has been checked with "make distcheck" on Fedora 15
5481 1 file changed, 1 insertion(+), 1 deletion(-)
5483 commit 54172e25e8b62075f0aef98d21e17619466ff30f
5484 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5485 Date: Mon May 30 11:55:06 2011 +0800
5487 Update Visual C++ Project Files
5489 Update the dist part too...
5491 build/win32/vs10/Makefile.am | 16 ++++++++--------
5492 build/win32/vs9/Makefile.am | 8 ++++----
5493 2 files changed, 12 insertions(+), 12 deletions(-)
5495 commit 0715050a5a76f187f66f14288a8f3444a4eb49e4
5496 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5497 Date: Mon May 30 11:53:04 2011 +0800
5499 Update VS 2008/2010 Project Files
5501 Due to the changes in the location/names of some test programs in
5502 commit 4e41d26586991d2977c846fa4871b6df39fe4106, update the VS
5505 build/win32/vs10/boxed.vcxproj | 172 +++++++++++++++++++++
5506 build/win32/vs10/boxed.vcxproj.filters | 14 ++
5507 build/win32/vs10/install.vcxproj | 8 +-
5508 build/win32/vs10/json-glib.sln | 8 +-
5509 build/win32/vs10/serialize-complex.vcxproj | 171 ++++++++++++++++++++
5510 build/win32/vs10/serialize-complex.vcxproj.filters | 14 ++
5511 build/win32/vs10/serialize-full.vcxproj | 172 +++++++++++++++++++++
5512 build/win32/vs10/serialize-full.vcxproj.filters | 14 ++
5513 build/win32/vs10/serialize-simple.vcxproj | 171 ++++++++++++++++++++
5514 build/win32/vs10/serialize-simple.vcxproj.filters | 14 ++
5515 build/win32/vs10/test-serialize-boxed.vcxproj | 172 ---------------------
5516 .../vs10/test-serialize-boxed.vcxproj.filters | 14 --
5517 build/win32/vs10/test-serialize-complex.vcxproj | 171 --------------------
5518 .../vs10/test-serialize-complex.vcxproj.filters | 14 --
5519 build/win32/vs10/test-serialize-full.vcxproj | 172 ---------------------
5520 .../win32/vs10/test-serialize-full.vcxproj.filters | 14 --
5521 build/win32/vs10/test-serialize-simple.vcxproj | 171 --------------------
5522 .../vs10/test-serialize-simple.vcxproj.filters | 14 --
5523 build/win32/vs9/boxed.vcproj | 157 +++++++++++++++++++
5524 build/win32/vs9/json-glib.sln | 8 +-
5525 build/win32/vs9/serialize-complex.vcproj | 156 +++++++++++++++++++
5526 build/win32/vs9/serialize-full.vcproj | 157 +++++++++++++++++++
5527 build/win32/vs9/serialize-simple.vcproj | 156 +++++++++++++++++++
5528 build/win32/vs9/test-serialize-boxed.vcproj | 157 -------------------
5529 build/win32/vs9/test-serialize-complex.vcproj | 156 -------------------
5530 build/win32/vs9/test-serialize-full.vcproj | 157 -------------------
5531 build/win32/vs9/test-serialize-simple.vcproj | 156 -------------------
5532 27 files changed, 1380 insertions(+), 1380 deletions(-)
5534 commit 8b778252358ddb28936c6c9192a84f76368ca122
5535 Author: Emmanuele Bassi <ebassi@gnome.org>
5536 Date: Sat May 28 11:38:18 2011 +0100
5538 tests: Fix up the JsonBuilder test
5540 Clean up some odd code, and add a unit for the empty object case outlined
5543 json-glib/tests/builder-test.c | 52 +++++++++++++++++++++++++++++++++++++-----
5544 1 file changed, 46 insertions(+), 6 deletions(-)
5546 commit d784cc6825607c517d7565049108d1f908a1d71b
5547 Author: Emmanuele Bassi <ebassi@gnome.org>
5548 Date: Sat May 28 11:36:55 2011 +0100
5550 builder: Initialize state fields
5552 If we're calling g_free() on a field we better make sure that it's either
5553 NULL or contains valid data.
5555 https://bugzilla.gnome.org/show_bug.cgi?id=651271
5557 json-glib/json-builder.c | 1 +
5558 1 file changed, 1 insertion(+)
5560 commit e20a8b0faeb45d1ae2f1bd12d49d31d12e357b24
5561 Author: Alexandre Mazari <scaroo@gmail.com>
5562 Date: Tue Mar 22 17:28:55 2011 +0100
5564 gvariant: Fix introspection annotation
5566 The 'signature' arguments of the json_gvariant_deserialize functions are
5569 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
5571 json-glib/json-gvariant.c | 4 ++--
5572 1 file changed, 2 insertions(+), 2 deletions(-)
5574 commit 4e41d26586991d2977c846fa4871b6df39fe4106
5575 Author: Emmanuele Bassi <ebassi@gnome.org>
5576 Date: Sat May 28 11:05:57 2011 +0100
5578 tests: Move all tests under json-glib
5580 The test framework should live under the json-glib directory, and not be
5581 spread across the project.
5585 json-glib/tests/Makefile.am | 53 ++---
5586 json-glib/tests/boxed.c | 264 +++++++++++++++++++++++
5587 json-glib/tests/serialize-complex.c | 293 ++++++++++++++++++++++++++
5588 json-glib/tests/serialize-full.c | 402 ++++++++++++++++++++++++++++++++++++
5589 json-glib/tests/serialize-simple.c | 166 +++++++++++++++
5590 tests/Makefile.am | 34 ---
5591 tests/test-serialize-boxed.c | 264 -----------------------
5592 tests/test-serialize-complex.c | 293 --------------------------
5593 tests/test-serialize-full.c | 402 ------------------------------------
5594 tests/test-serialize-simple.c | 166 ---------------
5595 12 files changed, 1142 insertions(+), 1203 deletions(-)
5597 commit 8d98b99b945423085232d358492e97399c9fd071
5598 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5599 Date: Mon May 23 09:39:20 2011 +0800
5601 Update Visual Studio property sheets
5603 -Make DLL/LIB versioning more like the autotools-compiled versions
5604 -"Install" the headers in a more consistent way like the autotools versions
5606 build/win32/vs10/json-glib.props | 26 +++++++++++++-------------
5607 build/win32/vs9/json-glib.vsprops | 32 ++++++++++++++++----------------
5608 2 files changed, 29 insertions(+), 29 deletions(-)
5610 commit 15221448b5998a071b72299c666044dd65ea97e3
5611 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5612 Date: Thu May 19 08:32:03 2011 +0100
5614 Add ignore file under build/win32
5616 build/win32/.gitignore | 4 ++++
5617 1 file changed, 4 insertions(+)
5619 commit f4651885961bf3ccc8d475cdc86af051fe1101f6
5620 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5621 Date: Wed May 18 13:44:07 2011 +0100
5623 doap: Add the download-page resource
5625 json-glib.doap | 2 ++
5626 1 file changed, 2 insertions(+)
5628 commit 8ef7da62a7575ebb04c69b9d98fd24efb840ab3b
5629 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5630 Date: Wed May 18 13:39:38 2011 +0100
5632 Post-release version bump to 0.13.3
5635 1 file changed, 1 insertion(+), 1 deletion(-)
5637 commit aa793a4fbcc4d44d367ba84d3782823885fec045
5638 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5639 Date: Wed May 18 13:37:38 2011 +0100
5641 Release JSON-GLib 0.13.2 (snapshot)
5643 NEWS | 12 ++++++++++++
5645 2 files changed, 13 insertions(+), 1 deletion(-)
5647 commit 595bdd9cc160f10edefb9e54f45cb4727f39ac24
5648 Merge: 46a8e57 d3db7ac
5649 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5650 Date: Wed May 4 01:47:14 2011 +0800
5652 Merge branch 'master' into msvc-patch
5654 commit d3db7acc1f53491b6dd9637991a1eaf8bb5c5002
5655 Author: Tristan Van Berkom <tristan.van.berkom@gmail.com>
5656 Date: Tue May 3 00:20:12 2011 +0900
5658 Fixed json_deserialize_pspec() to handle null nodes.
5660 This fixes deserialization to match serialization (bug 648539)
5662 json-glib/json-gobject.c | 14 +++++++++++++-
5663 1 file changed, 13 insertions(+), 1 deletion(-)
5665 commit 9824a32a803bd194208d460068ce5ba91d776686
5666 Author: Tristan Van Berkom <tristan.van.berkom@gmail.com>
5667 Date: Sat Apr 23 18:15:37 2011 +0900
5669 Warn from json_gobject_deserialize() if a listed property cannot be deserialized.
5671 json-glib/json-gobject.c | 3 +++
5672 1 file changed, 3 insertions(+)
5674 commit 254e8e969968e7ed5f594238a980b20c6fabc46e
5675 Author: Bastien Nocera <hadess@hadess.net>
5676 Date: Thu Apr 21 02:29:53 2011 +0100
5678 reader: Fix bug in example usage
5680 json-glib/json-reader.c | 2 +-
5681 1 file changed, 1 insertion(+), 1 deletion(-)
5683 commit 46a8e576f2fae9563219fcd72a9866826e684559
5684 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5685 Date: Wed Apr 13 00:34:05 2011 +0800
5687 VS 2010 Project Files (automation support included)
5689 These are the VS 2010 project files to build JSON-GLib
5690 and its test programs. The project for building the main JSON-GLib
5691 DLL has its source files input into it by the preprocessor during
5692 "make dist", like the VS2008 project files, simplifying its maintenance.
5694 build/win32/vs10/array-test.vcxproj | 172 ++++++++++++++++++
5695 build/win32/vs10/array-test.vcxproj.filters | 14 ++
5696 build/win32/vs10/builder-test.vcxproj | 172 ++++++++++++++++++
5697 build/win32/vs10/builder-test.vcxproj.filters | 14 ++
5698 build/win32/vs10/generator-test.vcxproj | 172 ++++++++++++++++++
5699 build/win32/vs10/generator-test.vcxproj.filters | 14 ++
5700 build/win32/vs10/install.vcxproj | 149 ++++++++++++++++
5701 build/win32/vs10/json-glib.props | 123 +++++++++++++
5702 build/win32/vs10/json-glib.sln | 146 +++++++++++++++
5703 build/win32/vs10/json-glib.vcxproj.filtersin | 20 +++
5704 build/win32/vs10/json-glib.vcxprojin | 196 +++++++++++++++++++++
5705 build/win32/vs10/node-test.vcxproj | 172 ++++++++++++++++++
5706 build/win32/vs10/node-test.vcxproj.filters | 14 ++
5707 build/win32/vs10/object-test.vcxproj | 172 ++++++++++++++++++
5708 build/win32/vs10/object-test.vcxproj.filters | 13 ++
5709 build/win32/vs10/parser-test.vcxproj | 172 ++++++++++++++++++
5710 build/win32/vs10/parser-test.vcxproj.filters | 14 ++
5711 build/win32/vs10/reader-test.vcxproj | 173 ++++++++++++++++++
5712 build/win32/vs10/reader-test.vcxproj.filters | 14 ++
5713 build/win32/vs10/test-serialize-boxed.vcxproj | 172 ++++++++++++++++++
5714 .../vs10/test-serialize-boxed.vcxproj.filters | 14 ++
5715 build/win32/vs10/test-serialize-complex.vcxproj | 171 ++++++++++++++++++
5716 .../vs10/test-serialize-complex.vcxproj.filters | 14 ++
5717 build/win32/vs10/test-serialize-full.vcxproj | 172 ++++++++++++++++++
5718 .../win32/vs10/test-serialize-full.vcxproj.filters | 14 ++
5719 build/win32/vs10/test-serialize-simple.vcxproj | 171 ++++++++++++++++++
5720 .../vs10/test-serialize-simple.vcxproj.filters | 14 ++
5721 27 files changed, 2678 insertions(+)
5723 commit 6c74292e66be25840612d7ee6871f1668010eada
5724 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5725 Date: Wed Apr 13 00:30:38 2011 +0800
5727 Updates to MSVC pre-configured headers
5729 Add automation support for config.h.win32(.in), so config.h.win32
5730 will be distributed with the correct version info during "make dist"
5732 Also eliminate json-version.h.win32 as it is no longer needed (distribute
5733 json-version.h during "make dist")
5735 build/win32/config.h.win32 | 61 ------------------------
5736 build/win32/config.h.win32.in | 61 ++++++++++++++++++++++++
5737 build/win32/json-version.h.win32 | 100 ---------------------------------------
5738 3 files changed, 61 insertions(+), 161 deletions(-)
5740 commit a7bdf87ec150ac7a88a850190fa79359197e552e
5741 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5742 Date: Wed Apr 13 00:26:35 2011 +0800
5744 MSVC Support with automation added (autotools part)
5746 This updates the autotools files so that the project to compile the main
5747 JSON-GLib DLL will have its source files filed into the project during
5748 "make dist". Plus, it enables the creation/distribution of json-version.h
5749 and config.h.win32 with the correct version info during "make dist".
5751 These changes will simplify the maintenance of the VS project files,
5752 and support for VS2010 is also added here, with similar automation support,
5756 build/win32/Makefile.am | 4 ++--
5757 build/win32/vs10/Makefile.am | 33 +++++++++++++++++++++++++++++++++
5758 build/win32/vs9/Makefile.am | 1 +
5760 json-glib/Makefile.am | 39 ++++++++++++++++++++++++++++++++++++++-
5761 6 files changed, 77 insertions(+), 4 deletions(-)
5763 commit 20fe28cfaa605e11c47fe53232b5dccfa47ddf8b
5764 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5765 Date: Wed Apr 13 00:02:48 2011 +0800
5767 Update VS 2008 Project Files
5769 Add automation support for the VS 2008 project files
5770 These are the updated VS 2008 Project files and property sheets
5771 themselves. x64 compiling support is also added
5773 build/win32/vs9/array-test.vcproj | 132 ++++-------
5774 build/win32/vs9/builder-test.vcproj | 134 +++++------
5775 build/win32/vs9/generator-test.vcproj | 134 +++++------
5776 build/win32/vs9/install.vcproj | 44 ++--
5777 build/win32/vs9/json-glib.sln | 115 +++++++++-
5778 build/win32/vs9/json-glib.vcproj | 317 --------------------------
5779 build/win32/vs9/json-glib.vcprojin | 204 +++++++++++++++++
5780 build/win32/vs9/json-glib.vsprops | 20 +-
5781 build/win32/vs9/node-test.vcproj | 134 +++++------
5782 build/win32/vs9/object-test.vcproj | 134 +++++------
5783 build/win32/vs9/parser-test.vcproj | 125 +++++-----
5784 build/win32/vs9/reader-test.vcproj | 134 +++++------
5785 build/win32/vs9/test-serialize-boxed.vcproj | 134 +++++------
5786 build/win32/vs9/test-serialize-complex.vcproj | 134 +++++------
5787 build/win32/vs9/test-serialize-full.vcproj | 134 +++++------
5788 build/win32/vs9/test-serialize-simple.vcproj | 133 ++++-------
5789 16 files changed, 917 insertions(+), 1245 deletions(-)
5791 commit 61da54311018f7afedb5d1e8cbd88ae7a284714f
5792 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5793 Date: Tue Apr 12 08:53:26 2011 +0100
5795 doap: Fix the URI for Bugzilla
5797 JSON-GLib uses the GNOME Bugzilla instance.
5799 json-glib.doap | 19 +------------------
5800 1 file changed, 1 insertion(+), 18 deletions(-)
5802 commit 0ff8f784848ad34c37bd60ad92791c6f76944803
5803 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5804 Date: Tue Apr 12 08:41:20 2011 +0100
5806 build: List GIO in the json-glib pkgconfig file
5808 Building against JSON-GLib requires GIO.
5810 json-glib.pc.in | 2 +-
5811 1 file changed, 1 insertion(+), 1 deletion(-)
5813 commit 8b060cd9144990aae6531982bad66050fafcb658
5814 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5815 Date: Fri Apr 8 15:17:19 2011 +0100
5817 object: Use g_list_find_custom()
5819 Instead of manual iteration, let's use the function GList provides us.
5821 json-glib/json-object.c | 13 +++----------
5822 1 file changed, 3 insertions(+), 10 deletions(-)
5824 commit 2158cecee6fe1da8786afe2fad94d1098f879786
5825 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5826 Date: Wed Mar 23 11:35:28 2011 +0000
5828 build: Use AC_CANONICAL_HOST
5830 Since we check for the contents of the $host variable to detect
5831 compilation on/for win32, we should also be using the canonicalization
5832 facilities from autoconf.
5834 configure.ac | 20 +++++++++++---------
5835 1 file changed, 11 insertions(+), 9 deletions(-)
5837 commit 992d966572e3e498031578558ac307d0f4909246
5838 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5839 Date: Tue Mar 15 09:09:11 2011 +0000
5841 gvariant: Pass NULL down the chain for *signature
5843 Some small internal change from passing the signature to a pointer to
5844 the signature down the call chain caused all the checks for
5845 signature==NULL to fail.
5847 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
5849 json-glib/json-gvariant.c | 2 +-
5850 1 file changed, 1 insertion(+), 1 deletion(-)
5852 commit af70f34b3fc46a4c464418ebd6a16d9a1f18af8a
5853 Author: Eduardo Lima Mitev <elima@igalia.com>
5854 Date: Thu Jan 27 16:58:48 2011 +0100
5856 generator: Removes blank spaces from generated JSON when not pretty-print
5858 https://bugzilla.gnome.org/show_bug.cgi?id=640729
5860 json-glib/json-generator.c | 35 +++++++++++-------
5861 json-glib/tests/builder-test.c | 6 ++--
5862 json-glib/tests/generator-test.c | 34 +++++++++---------
5863 json-glib/tests/gvariant-test.c | 78 ++++++++++++++++++++--------------------
5864 4 files changed, 82 insertions(+), 71 deletions(-)
5866 commit 8bb22d7de00f15ef44cad502d757639d8a4e8973
5867 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5868 Date: Tue Feb 15 16:28:07 2011 +0000
5870 Fix introspection annotations
5872 json-glib/json-node.c | 7 ++++---
5873 json-glib/json-object.c | 4 ++--
5874 2 files changed, 6 insertions(+), 5 deletions(-)
5876 commit 217127545b07f93ac27e3f137d748d61a5e199da
5877 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5878 Date: Tue Feb 15 16:16:46 2011 +0000
5880 tests/object: Add a set_member() unit
5882 Verify that setting an object member multiple times does not lead to
5885 json-glib/tests/object-test.c | 29 +++++++++++++++++++++++++++++
5886 1 file changed, 29 insertions(+)
5888 commit 1a633159a593c962233a5ef4660e31e60eed96d9
5889 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5890 Date: Tue Feb 15 16:12:38 2011 +0000
5892 object: Replace the name pointer in the members list
5894 When calling g_hash_table_replace() we also free the string holding the
5895 member name. This means that the const gchar* pointer we store inside
5896 the list of ordered member names now points to garbage - so if somebody
5897 tries to iterate over the members list it will get random values instead
5898 of a valid C string.
5900 Since we guaranteed insertion order, if we replace the contents of a
5901 JsonObject member we need to find the right pointer and replace it: just
5902 removing and prepending won't do.
5904 https://bugzilla.gnome.org/show_bug.cgi?id=642383
5906 json-glib/json-object.c | 21 +++++++++++++++++++++
5907 1 file changed, 21 insertions(+)
5909 commit a125a724894a08a8d8053fdd2db92d0ad8e2dfd4
5910 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5911 Date: Sun Feb 6 23:10:54 2011 +0000
5915 Free the current_member string, and since we're destroying data we own
5916 let's do it inside the finalize implementation instead of the dispose
5919 json-glib/json-reader.c | 15 ++++++---------
5920 1 file changed, 6 insertions(+), 9 deletions(-)
5922 commit 2c5f4563c54fa273ffd8dbe02b60a12c4b54b977
5923 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5924 Date: Sun Feb 6 12:22:49 2011 +0000
5926 reader: Add accessor for the member name
5928 This should allow easy access to the member name during iteration.
5930 doc/reference/json-glib-sections.txt | 1 +
5931 json-glib/json-glib.symbols | 1 +
5932 json-glib/json-reader.c | 32 ++++++++++++++++++++++++++++++++
5933 json-glib/json-reader.h | 1 +
5934 json-glib/tests/reader-test.c | 1 +
5935 5 files changed, 36 insertions(+)
5937 commit b2880f5a4dad07ff96a9b6578ffc5d677f75eb94
5938 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5939 Date: Sun Feb 6 11:34:22 2011 +0000
5941 reader: Allow using read_element() on objects
5943 If we assume that a JSON object is just an array with a named mapping
5944 then the JsonReader API should be able to descend into objects using the
5945 same API used for arrays.
5947 This obviously is less useful than it sounds if we take a very strict
5948 interpretation of JSON objects as unordered string-to-value mappings; as
5949 the ordering is not guaranteed to be stable, parsers would be fairly
5950 weak against various JSON definitions.
5952 If the JSON format parsed is guaranteed to be stable then an integer
5953 offset might be an easy (albeit slightly less performant) way to access
5956 json-glib/json-reader.c | 67 ++++++++++++++++++++++++++++++++-----------
5957 json-glib/tests/reader-test.c | 6 ++++
5958 2 files changed, 57 insertions(+), 16 deletions(-)
5960 commit 74ed11db6da9839ce17b448d6d17103ea0734dda
5961 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5962 Date: Fri Feb 4 19:18:22 2011 +0000
5964 reader: Add list_members() method
5966 Allow retrieving a list of member names from the current cursor position
5967 of the JsonReader. It's useful if you're trying to inspect a JSON tree.
5969 doc/reference/json-glib-sections.txt | 1 +
5970 json-glib/json-glib.symbols | 1 +
5971 json-glib/json-reader.c | 46 ++++++++++++++++++++++++++++++++++++
5972 json-glib/json-reader.h | 1 +
5973 json-glib/tests/reader-test.c | 19 +++++++++++++++
5974 5 files changed, 68 insertions(+)
5976 commit eb14f92019bde75947a98f5578167af6b6a17974
5977 Author: Emmanuele Bassi <ebassi@linux.intel.com>
5978 Date: Wed Jan 26 16:58:56 2011 +0000
5980 Coding style fixes and compiler warnings removal
5982 G_VARIANT_CLASS_DICTIONARY is a define; GCC complais loudly when trying
5983 to use a switch() on an enumeration type with case values not from the
5986 Plus: coding style in JSON-GLib is mostly the same as GTK+ and Clutter,
5987 so we should adhere to it.
5989 json-glib/json-gvariant.c | 67 +++++++++++++++++++++++++----------------------
5990 1 file changed, 36 insertions(+), 31 deletions(-)
5992 commit 212b243c07721242da3dc2c0e6dfe979f73ee5c6
5993 Author: Eduardo Lima Mitev <elima@igalia.com>
5994 Date: Tue Nov 9 16:45:30 2010 +0100
5996 gvariant: Adds JSON GVariant integration API, with docs and tests
5998 https://bugzilla.gnome.org/show_bug.cgi?id=632940
6000 doc/reference/json-glib-docs.xml | 1 +
6001 doc/reference/json-glib-sections.txt | 10 +
6002 json-glib/Makefile.am | 2 +
6003 json-glib/json-glib.h | 2 +
6004 json-glib/json-gvariant.c | 1296 ++++++++++++++++++++++++++++++++++
6005 json-glib/json-gvariant.h | 46 ++
6006 json-glib/tests/Makefile.am | 4 +
6007 json-glib/tests/gvariant-test.c | 233 ++++++
6008 8 files changed, 1594 insertions(+)
6010 commit 822b6be848f3ad53ad113f0ce317b01f1a91a54f
6011 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6012 Date: Sat Jan 15 18:36:34 2011 +0000
6014 build: Do not dist a gzip tarball
6016 Use only bzip2, since it gives better compression ratios; the
6017 installation script on gnome.org will create a gzipped tarball by itself
6021 1 file changed, 1 insertion(+), 1 deletion(-)
6023 commit 7c07a6549df1ae1b4826bf40f70c62768ce7e35b
6024 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6025 Date: Mon Jan 10 11:56:32 2011 +0000
6027 build: Fix previous commit
6029 configure.ac | 7 +++++++
6030 1 file changed, 7 insertions(+)
6032 commit bb67e146c9e883185d264e693cc4a07d1a60d191
6033 Author: Fan, Chun-wei <fanc999%40yahoo.com.tw>
6034 Date: Mon Jan 10 11:49:16 2011 +0000
6036 build: Add Visual C++ 2008 project files
6038 Integrate the files inside the build, though it's still not fully
6041 https://bugzilla.gnome.org/show_bug.cgi?id=635484
6043 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
6045 build/Makefile.am | 2 +-
6046 build/win32/Makefile.am | 3 +
6047 build/win32/config.h.win32 | 61 +++++
6048 build/win32/json-version.h.win32 | 100 ++++++++
6049 build/win32/vs9/Makefile.am | 19 ++
6050 build/win32/vs9/array-test.vcproj | 189 +++++++++++++++
6051 build/win32/vs9/builder-test.vcproj | 189 +++++++++++++++
6052 build/win32/vs9/generator-test.vcproj | 189 +++++++++++++++
6053 build/win32/vs9/install.vcproj | 71 ++++++
6054 build/win32/vs9/json-glib.sln | 80 +++++++
6055 build/win32/vs9/json-glib.vcproj | 317 ++++++++++++++++++++++++++
6056 build/win32/vs9/json-glib.vsprops | 93 ++++++++
6057 build/win32/vs9/node-test.vcproj | 189 +++++++++++++++
6058 build/win32/vs9/object-test.vcproj | 187 +++++++++++++++
6059 build/win32/vs9/parser-test.vcproj | 189 +++++++++++++++
6060 build/win32/vs9/reader-test.vcproj | 190 +++++++++++++++
6061 build/win32/vs9/test-serialize-boxed.vcproj | 189 +++++++++++++++
6062 build/win32/vs9/test-serialize-complex.vcproj | 188 +++++++++++++++
6063 build/win32/vs9/test-serialize-full.vcproj | 189 +++++++++++++++
6064 build/win32/vs9/test-serialize-simple.vcproj | 189 +++++++++++++++
6065 20 files changed, 2822 insertions(+), 1 deletion(-)
6067 commit c7cd46b8320157e223009aa2a7204461c7d301d5
6068 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6069 Date: Mon Jan 10 11:48:26 2011 +0000
6071 build: Add .symbols file for win32 builds
6073 json-glib/Makefile.am | 2 +
6074 json-glib/json-glib.symbols | 163 ++++++++++++++++++++++++++++++++++++++++++++
6075 2 files changed, 165 insertions(+)
6077 commit 4549af3210461a07dc84a30433a0a23764618e4c
6078 Author: Evan Nemerson <evan@coeus-group.com>
6079 Date: Sat Nov 20 16:25:41 2010 -0800
6081 Add C include information to GIR
6085 json-glib/Makefile.am | 2 +-
6086 1 file changed, 1 insertion(+), 1 deletion(-)
6088 commit f89a50e24d2088061eb7d975db7e6f39beaf853d
6089 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6090 Date: Mon Jan 10 11:16:17 2011 +0000
6092 object: Do some more validation in set_member()
6094 Check if we're setting the same node, to avoid a needless replace.
6096 json-glib/json-object.c | 10 ++++++++++
6097 1 file changed, 10 insertions(+)
6099 commit e828cba563f2584e848994935478a7ffd21728df
6100 Author: Luca Bruno <lucabru@src.gnome.org>
6101 Date: Thu Jan 6 17:44:46 2011 +0100
6103 Add missing introspection annotations.
6105 https://bugzilla.gnome.org/show_bug.cgi?id=638932
6107 json-glib/json-array.c | 8 ++++----
6108 json-glib/json-node.c | 8 ++++----
6109 json-glib/json-object.c | 8 ++++----
6110 json-glib/json-parser.c | 2 +-
6111 json-glib/json-serializable.c | 2 +-
6112 5 files changed, 14 insertions(+), 14 deletions(-)
6114 commit 02dd77efaa60201f74349c969dc005c8bb092057
6115 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6116 Date: Mon Jan 10 10:45:39 2011 +0000
6118 generator: Use g_ascii_dtostr() to avoid losing precision
6120 The nice format escape for g_ascii_formatd() is not really suited for a
6121 serialization format, as it obviously loses precision.
6123 https://bugzilla.gnome.org/show_bug.cgi?id=637244
6125 json-glib/json-generator.c | 7 ++++---
6126 1 file changed, 4 insertions(+), 3 deletions(-)
6128 commit 3dbab961e675d0684df1121906ae3588d09653e6
6129 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6130 Date: Mon Jan 10 10:43:58 2011 +0000
6132 builder-test: Do not compare serialized double values
6134 Serialization of floating point values might lead to odd formats,
6135 especially when dealing with IEEE machine-neutral values.
6137 json-glib/tests/builder-test.c | 4 ++--
6138 1 file changed, 2 insertions(+), 2 deletions(-)
6140 commit 567d7fb4dff83c9e37e64ef8611f0231fa181c34
6141 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6142 Date: Tue Dec 14 16:35:24 2010 +0000
6144 reader: Use GObject ≥ 2.26 API
6146 Use modern API to deal with properties installation and notification.
6148 json-glib/json-reader.c | 35 +++++++++++++++--------------------
6149 1 file changed, 15 insertions(+), 20 deletions(-)
6151 commit 9aed6f5a455109186ae56ec1c3e558505644d57f
6152 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6153 Date: Tue Dec 14 16:26:10 2010 +0000
6155 generator: Clean up and add accessors
6157 Instead of asking everyone to use g_object_set() to set up a
6158 JsonGenerator the class should provide a decent API for its properties.
6160 While we're at it, we should also use modern API for installing and
6161 notifying of property changes.
6163 doc/reference/json-glib-sections.txt | 11 +-
6164 json-glib/json-generator.c | 256 +++++++++++++++++++++++++++++------
6165 json-glib/json-generator.h | 37 +++--
6166 3 files changed, 247 insertions(+), 57 deletions(-)
6168 commit de991a0c6dc4d0b3c366248e20ba6853bd2c3e92
6169 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6170 Date: Tue Dec 14 11:39:04 2010 +0000
6172 generator: Verify that the decimal separator is locale-independent
6174 There shouldn't be a requirement for this, since we're using the GLib
6175 function explicitely for this reason, but it's always good to have a
6176 comprehensive test suite.
6178 json-glib/tests/generator-test.c | 58 ++++++++++++++++++++++++++++++++++++++++
6179 1 file changed, 58 insertions(+)
6181 commit 4add0e081b8f58dec1cd68152d846be87942091e
6182 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6183 Date: Tue Dec 14 11:37:25 2010 +0000
6185 generator: Implement dumping bare values
6187 JsonGenerator is not able to generate strings for bare values, something
6188 that completely went under the radar for all this time.
6190 json-glib/json-generator.c | 15 ++++++++++-----
6191 1 file changed, 10 insertions(+), 5 deletions(-)
6193 commit 20a16d5b9ecabe68ee18655b2ff3bdb17136c6f1
6194 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6195 Date: Tue Oct 19 09:59:38 2010 +0100
6197 build: Resync the GTest rules with upstream
6199 Upstream GLib fixed the test rules to avoid repeating the test suite
6202 build/autotools/Makefile.am.gtest | 21 ++++++++++++---------
6203 1 file changed, 12 insertions(+), 9 deletions(-)
6205 commit dc262a09572328342164ebb23ad698b5cb3cd8ff
6206 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6207 Date: Tue Oct 19 09:49:20 2010 +0100
6209 Use G_DEFINE_INTERFACE()
6211 json-glib/json-serializable.c | 35 +++++++----------------------------
6212 1 file changed, 7 insertions(+), 28 deletions(-)
6214 commit 80665415cd945f3dafed6925c9975f36b916a80f
6215 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6216 Date: Tue Oct 19 09:49:05 2010 +0100
6218 Use G_DEFINE_BOXED_TYPE()
6220 json-glib/json-array.c | 13 +------------
6221 json-glib/json-node.c | 13 +------------
6222 json-glib/json-object.c | 13 +------------
6223 3 files changed, 3 insertions(+), 36 deletions(-)
6225 commit 51e2eef48fabbee554193ee9eadfb8696ebb3ac7
6226 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6227 Date: Tue Oct 19 09:48:23 2010 +0100
6229 build: Depend on GLib ≥ 2.26
6233 2 files changed, 2 insertions(+), 2 deletions(-)
6235 commit d28db01f5d12497ec96d5e507af4003b076dd154
6236 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6237 Date: Wed Sep 29 17:25:18 2010 +0100
6239 build: Use -no-undefined when compiling on win32
6241 configure.ac | 13 +++++++++++++
6242 1 file changed, 13 insertions(+)
6244 commit 5332217481b3e5fee73710bb50886fbc52a632a4
6245 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6246 Date: Sat Sep 25 12:02:36 2010 +0100
6248 Post-branch version bump to 0.13.1
6250 configure.ac | 4 ++--
6251 1 file changed, 2 insertions(+), 2 deletions(-)
6253 commit 6b4d49b8024f672d62a7059c083455ad31f7d0eb
6254 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6255 Date: Sat Sep 25 11:59:23 2010 +0100
6257 Post-release version bump to 0.12.1
6259 configure.ac | 4 ++--
6260 1 file changed, 2 insertions(+), 2 deletions(-)
6262 commit 661a7497cc88aebdee32bf31c219d457ca143590
6263 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6264 Date: Sat Sep 25 11:28:42 2010 +0100
6266 Release JSON-GLib 0.12.0
6270 configure.ac | 4 ++--
6271 3 files changed, 6 insertions(+), 5 deletions(-)
6273 commit 9b6acd68e156a45cc845bdebd99c174e82d0677c
6274 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6275 Date: Sat Sep 25 11:50:38 2010 +0100
6277 gobject: Fix deserialization of construct-only properties
6279 Commit 2d7550948dfb2e5907b851bc2c4bd296a7526086 broke the construct-only
6280 properties; we now only check for the G_PARAM_CONSTRUCT_ONLY flag, and
6281 pass construct-only properties to g_object_newv(); all the properties
6282 flagged as G_PARAM_CONSTRUCT gets passed with the rest of the properties
6285 json-glib/json-gobject.c | 4 ++--
6286 1 file changed, 2 insertions(+), 2 deletions(-)
6288 commit d480f2e77e3dc0d00fc617686b306f96353b7177
6289 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6290 Date: Sat Sep 25 11:49:41 2010 +0100
6292 test-serialize-full: Remove the dummy deserialize implementation
6294 If you don't override JsonSerializable, you get the default behaviour
6297 tests/test-serialize-full.c | 15 +--------------
6298 1 file changed, 1 insertion(+), 14 deletions(-)
6300 commit ff5dd56e4f864d0c015dcd66fa852f9cf7cf90dd
6301 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6302 Date: Sat Sep 25 11:49:19 2010 +0100
6304 debug: Add debug notes in the GObject code
6306 json-glib/json-gobject.c | 14 ++++++++++++--
6307 json-glib/json-serializable.c | 3 +++
6308 2 files changed, 15 insertions(+), 2 deletions(-)
6310 commit 7707b18f42b3a19dd780ba73ce1dabb6b8ef3c95
6311 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6312 Date: Sat Sep 25 11:48:25 2010 +0100
6314 debug: Add debug flags for GObject-related code
6316 json-glib/json-debug.c | 3 ++-
6317 json-glib/json-debug.h | 3 ++-
6318 2 files changed, 4 insertions(+), 2 deletions(-)
6320 commit c6bf7ecb0a836b5b43f203cb22be577bd54b9e9a
6321 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6322 Date: Sat Sep 25 11:23:43 2010 +0100
6324 introspection: Update to 0.9.5
6326 Add --warn-all for the scanner flags.
6328 Also, undefine JSON_DISABLE_DEPRECATED, to introspect deprecated API.
6331 json-glib/Makefile.am | 4 ++--
6332 2 files changed, 3 insertions(+), 3 deletions(-)
6334 commit 617286e4d38a93e41e1e1d974d01c1d73fd2ff66
6335 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6336 Date: Sat Sep 25 11:23:10 2010 +0100
6338 Add introspection annotations
6340 json-glib/json-array.c | 4 ++--
6341 json-glib/json-gboxed.c | 14 +++++++-------
6342 json-glib/json-gobject.c | 4 ++--
6343 json-glib/json-object.c | 4 ++--
6344 4 files changed, 13 insertions(+), 13 deletions(-)
6346 commit 19b0b873c07f918e06a8610f27a439334334a83d
6347 Author: Colin Walters <walters@verbum.org>
6348 Date: Thu Sep 9 10:24:53 2010 -0400
6350 introspection: Export json-glib-1.0 pkg-config file
6352 json-glib/Makefile.am | 2 +-
6353 1 file changed, 1 insertion(+), 1 deletion(-)
6355 commit d05e919208a47c18d001ac08900b4d2837efd4b4
6356 Author: Luca Bruno <lethalman88@gmail.com>
6357 Date: Sun Aug 15 20:30:21 2010 +0200
6359 docs: Add transfer none annotation to JsonBuilder return values.
6361 json-glib/json-builder.c | 22 +++++++++++-----------
6362 1 file changed, 11 insertions(+), 11 deletions(-)
6364 commit 2c3062cbd79826b184a6f613c519e69f3ddc1ec6
6365 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6366 Date: Sun Aug 15 18:46:02 2010 +0100
6368 builder: Add Since: annotations
6370 json-glib/json-builder.h | 54 +++++++++++++++++++++++++++---------------------
6371 1 file changed, 30 insertions(+), 24 deletions(-)
6373 commit 2d7550948dfb2e5907b851bc2c4bd296a7526086
6374 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6375 Date: Sun Aug 15 18:44:13 2010 +0100
6377 gobject: Use construct and construct-only properties
6379 Right now, we're checking twice for G_PARAM_CONSTRUCT_ONLY, but what we
6380 really want is to check for both G_PARAM_CONSTRUCT and
6381 G_PARAM_CONSTRUCT_ONLY properties when creating a new instance from a
6384 json-glib/json-gobject.c | 2 +-
6385 1 file changed, 1 insertion(+), 1 deletion(-)
6387 commit be48afe5801a541996bb64437c278088e70258f6
6388 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6389 Date: Sun Aug 15 18:43:49 2010 +0100
6391 build: Use maintainer-clean for removing ignore files
6393 build/autotools/Makefile.am.gitignore | 11 ++++++++---
6394 1 file changed, 8 insertions(+), 3 deletions(-)
6396 commit 5732cadfab58435ded4e88b0733c1a46aa0dcd2d
6397 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6398 Date: Sat Aug 14 12:55:18 2010 +0100
6400 build: Automate ignoring test binaries
6402 Use noinst_PROGRAMS to generate the list of test binaries to ignore
6403 directly in the test directories.
6405 .gitignore | 11 -----------
6406 build/autotools/Makefile.am | 3 ++-
6407 build/autotools/Makefile.am.gitignore | 19 +++++++++++++++++++
6408 json-glib/tests/Makefile.am | 4 ++++
6409 tests/Makefile.am | 4 ++++
6410 5 files changed, 29 insertions(+), 12 deletions(-)
6412 commit 8b54bed521b609c373a48d27c880cc70272b6313
6413 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6414 Date: Sat Aug 14 12:26:29 2010 +0100
6416 docs: Add 0.12 symbols index to the API reference
6418 doc/reference/json-glib-docs.xml | 5 +++++
6419 1 file changed, 5 insertions(+)
6421 commit 9ed8d5e7fe96b9dcf82ddbba7de2db40d415cbaf
6422 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6423 Date: Sat Aug 14 12:24:59 2010 +0100
6425 reader: Add :root constructor property
6427 A JsonReader is useless without a root JsonNode to start walking the
6430 json-glib/json-reader.c | 96 +++++++++++++++++++++++++++++++++++++++----
6431 json-glib/json-reader.h | 2 +-
6432 json-glib/tests/reader-test.c | 4 +-
6433 3 files changed, 91 insertions(+), 11 deletions(-)
6435 commit eeeae2194223abe2515e18edec1bdbbb6a7c793d
6436 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6437 Date: Sat Aug 14 09:40:44 2010 +0100
6439 docs: Add the RFC draft for JSON schema
6441 doc/draft-zyp-json-schema-02.txt | 1345 ++++++++++++++++++++++++++++++++++++++
6442 1 file changed, 1345 insertions(+)
6444 commit 0281176789b38973b1723f752070cb0e7340055d
6445 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6446 Date: Thu Aug 12 16:09:45 2010 +0100
6448 reader: Do not wrap JsonParser
6450 Since JsonParser has far more methods for parsing a JSON stream we
6451 should just make JsonReader an API for reading an already parsed JSON
6452 tree - in the same way that JsonBuilder does not generate the
6453 stringified version of the JSON tree it builds.
6455 doc/reference/json-glib-sections.txt | 2 +-
6456 json-glib/json-reader.c | 90 ++++++++++++------------------------
6457 json-glib/json-reader.h | 6 +--
6458 json-glib/tests/reader-test.c | 11 ++++-
6459 4 files changed, 41 insertions(+), 68 deletions(-)
6461 commit 149d2f3925ca798886f2137ae73488f7e2e6386b
6462 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6463 Date: Thu Aug 12 15:55:54 2010 +0100
6465 reader: Mirror the JsonBuilder API value accessors
6467 We should strive to make JsonBuilder and JsonReader similar in API.
6469 doc/reference/json-glib-sections.txt | 10 +++++-----
6470 json-glib/json-reader.c | 34 +++++++++++++++++-----------------
6471 json-glib/json-reader.h | 10 +++++-----
6472 json-glib/tests/reader-test.c | 8 ++++----
6473 4 files changed, 31 insertions(+), 31 deletions(-)
6475 commit b385ca3ae47e68cdf48f3641385b9fe5ac8429bc
6476 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6477 Date: Thu Aug 12 15:35:17 2010 +0100
6482 1 file changed, 2 insertions(+)
6484 commit 23866cb9935e9b9f7c88b26cdfc13ff95edfbe00
6485 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6486 Date: Thu Aug 12 15:34:09 2010 +0100
6488 docs: Add JsonReader to the API reference
6490 doc/reference/json-glib-docs.xml | 1 +
6491 doc/reference/json-glib-sections.txt | 41 ++++++++++++++++++++++++++++++++++++
6492 doc/reference/json-glib.types | 2 ++
6493 3 files changed, 44 insertions(+)
6495 commit 10e5a1d38113b7b6e7c71da76ff11219baf1022d
6496 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6497 Date: Thu Aug 12 15:29:41 2010 +0100
6501 JsonReader is a simple, cursor-based API for parsing a JSON DOM. It is
6502 similar, in spirit, to the XmlReader API provided by various platforms
6503 and XML parsing libraries.
6506 json-glib/Makefile.am | 2 +
6507 json-glib/json-glib.h | 3 +
6508 json-glib/json-reader.c | 779 ++++++++++++++++++++++++++++++++++++++++++
6509 json-glib/json-reader.h | 142 ++++++++
6510 json-glib/tests/Makefile.am | 10 +-
6511 json-glib/tests/reader-test.c | 101 ++++++
6512 7 files changed, 1035 insertions(+), 3 deletions(-)
6514 commit c3215ba1d46f7965fb58272da069bec389a174df
6515 Author: Diego Escalante Urrelo <descalante@igalia.com>
6516 Date: Wed Aug 11 14:42:25 2010 -0500
6518 json-glib/tests: explicitely link against glib
6520 Tests fail to link otherwise.
6524 json-glib/tests/Makefile.am | 3 ++-
6525 1 file changed, 2 insertions(+), 1 deletion(-)
6527 commit 7f85693922d1e2614bcce9219d2c6521580dd360
6528 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6529 Date: Mon Aug 2 18:04:21 2010 +0100
6531 build: Remove all stray mentions of Shave
6533 We depend on automake 1.11, now.
6536 autogen.sh | 15 +++------------
6537 build/autotools/Makefile.am | 2 --
6539 4 files changed, 3 insertions(+), 18 deletions(-)
6541 commit 26efdb4cc25cffa857e4ce36f0ad7ee6efe00634
6542 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6543 Date: Mon Aug 2 17:49:32 2010 +0100
6545 Post-release version bump to 0.11.3
6548 1 file changed, 1 insertion(+), 1 deletion(-)
6550 commit ff7a8ff73ee214d385c64501c8b5dc682ccad1cf
6551 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6552 Date: Mon Aug 2 17:40:29 2010 +0100
6554 Release 0.11.2 (0.12.0-rc1)
6557 1 file changed, 1 insertion(+), 1 deletion(-)
6559 commit 8a91b052fba48ae6f4a61115e2fa6839e7a21509
6560 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6561 Date: Mon Aug 2 17:45:35 2010 +0100
6563 build: Fix up the tests data path
6565 Since we load up a test file from a directory, we should be using a
6566 path - otherwise this will break out-of-tree builds, e.g. when doing
6569 json-glib/tests/Makefile.am | 2 +-
6570 json-glib/tests/parser-test.c | 4 ++--
6571 2 files changed, 3 insertions(+), 3 deletions(-)
6573 commit 2e3eaabd12829187f5a9ddacef68319442362729
6574 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6575 Date: Mon Aug 2 17:42:09 2010 +0100
6577 build: Fix introspection dependencies
6579 json-glib/Makefile.am | 4 ++--
6580 1 file changed, 2 insertions(+), 2 deletions(-)
6582 commit def6d5612fbb33f9b02df80294651f5a28a83ccc
6583 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6584 Date: Mon Aug 2 17:15:36 2010 +0100
6586 Update the NEWS file
6589 1 file changed, 2 insertions(+)
6591 commit 385e6278477dfd35d591f8343deb1de2827ac2ff
6592 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6593 Date: Mon Aug 2 17:15:22 2010 +0100
6595 docs: Update the dependencies in the README file
6598 1 file changed, 2 insertions(+), 2 deletions(-)
6600 commit 5e19ed2523441afd12c45a8b3f19d10fc9a37335
6601 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6602 Date: Mon Aug 2 17:14:52 2010 +0100
6604 build: Revert the GLib version bump
6606 GIO landed in GLib 2.16, so we don't need the version bump to 2.20.
6609 1 file changed, 1 insertion(+), 1 deletion(-)
6611 commit d9b2845572123ed79a6626d90d2d2298c9c3d5a7
6612 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6613 Date: Mon Aug 2 17:07:36 2010 +0100
6615 generator: Add an OutputStream-based method
6617 Currently, only synchronous API.
6619 The output handling is pretty trivial, unlike the input handling in
6620 JsonParser; this is a really basic convenience API.
6622 doc/reference/json-glib-sections.txt | 1 +
6623 json-glib/json-generator.c | 37 ++++++++++++++++++++++++++++++++++++
6624 json-glib/json-generator.h | 22 +++++++++++++--------
6625 3 files changed, 52 insertions(+), 8 deletions(-)
6627 commit c7c288b89175b1f9545d6ddff25609b7bb243041
6628 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6629 Date: Mon Aug 2 17:04:38 2010 +0100
6631 Fix the include for json-types.h
6633 json-glib/json-parser.h | 2 +-
6634 1 file changed, 1 insertion(+), 1 deletion(-)
6636 commit e6ea3a6bae044ec7874dfde3b50bb337f00bb3be
6637 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6638 Date: Mon Aug 2 16:41:18 2010 +0100
6640 Exercise the stream API in JsonParser
6642 json-glib/tests/Makefile.am | 2 ++
6643 json-glib/tests/parser-test.c | 78 ++++++++++++++++++++++++++++++++++++++++
6644 json-glib/tests/stream-load.json | 1 +
6645 3 files changed, 81 insertions(+)
6647 commit 8cac7f2b6987803e36ff6abe012cd3e017b5b960
6648 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6649 Date: Mon Aug 2 16:40:36 2010 +0100
6651 docs: Add the new JsonParser stream API
6653 doc/reference/json-glib-sections.txt | 3 +++
6654 1 file changed, 3 insertions(+)
6656 commit 107e53b2daa27b99fb629dd1e2bf9bfd2729b3dd
6657 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6658 Date: Mon Aug 2 16:39:04 2010 +0100
6660 parser: Add loading from a GInputStream
6662 JsonParser should be able to use a GInputStream (both synchronously and
6663 asynchronously) to retrieve the JSON data and parse it.
6665 json-glib/json-parser.c | 258 ++++++++++++++++++++++++++++++++++++++++++++++++
6666 json-glib/json-parser.h | 49 +++++----
6667 2 files changed, 289 insertions(+), 18 deletions(-)
6669 commit b164bb5180749aaff385f5d61866875bfbf9c552
6670 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6671 Date: Mon Aug 2 16:38:01 2010 +0100
6673 build: Use the GIO prefix for cross-references
6675 doc/reference/Makefile.am | 3 ++-
6676 1 file changed, 2 insertions(+), 1 deletion(-)
6678 commit 6d317b129169352111ab16a0df9aee8b9aa5284b
6679 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6680 Date: Mon Aug 2 16:37:32 2010 +0100
6682 build: Depend on GIO
6684 Bump up the dependencies to be able to use GIO.
6686 configure.ac | 8 ++++----
6687 1 file changed, 4 insertions(+), 4 deletions(-)
6689 commit 84230dd03b5db34da5ccef0a4926e18c22124952
6690 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6691 Date: Wed Jul 21 23:50:09 2010 +0100
6693 docs: Fix up the cgit URL
6696 1 file changed, 3 insertions(+), 3 deletions(-)
6698 commit 67ad0f21ca554edcd6633014b0bce7dd8d216191
6699 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6700 Date: Wed Jul 21 23:49:56 2010 +0100
6702 Update NEWS for the next stable release
6704 NEWS | 10 ++++++++++
6705 1 file changed, 10 insertions(+)
6707 commit 465880e5ccaca086fd1b881bd7175658d627318c
6708 Author: Colin Walters <walters@verbum.org>
6709 Date: Tue Jul 6 10:49:27 2010 -0400
6711 Make GIR depend on library
6713 Fixes parallel builds.
6715 json-glib/Makefile.am | 2 ++
6716 1 file changed, 2 insertions(+)
6718 commit 66e5f619d55433985460e8c641beb98e85832451
6719 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6720 Date: Wed Jun 16 12:07:41 2010 +0100
6722 docs: Add JsonBuilder to the API reference
6724 And silence gtk-doc-scanner by removing an undefined argument from
6725 json_builder_add_null_value().
6727 doc/reference/json-glib-docs.xml | 3 ++-
6728 doc/reference/json-glib-sections.txt | 32 ++++++++++++++++++++++++++++++++
6729 doc/reference/json-glib.types | 2 ++
6730 json-glib/json-builder.c | 3 ++-
6731 4 files changed, 38 insertions(+), 2 deletions(-)
6733 commit 08f3073eeb0f7e2e0973abd23ba4ec978ad302d7
6734 Author: Luca Bruno <lethalman88@gmail.com>
6735 Date: Wed Jun 9 21:31:06 2010 +0200
6737 builder: Add convenience API for building JSON trees.
6739 https://bugzilla.gnome.org/show_bug.cgi?id=621141
6741 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
6744 json-glib/Makefile.am | 2 +
6745 json-glib/json-builder.c | 682 +++++++++++++++++++++++++++++++++++++++++
6746 json-glib/json-builder.h | 100 ++++++
6747 json-glib/json-glib.h | 1 +
6748 json-glib/tests/Makefile.am | 3 +
6749 json-glib/tests/builder-test.c | 121 ++++++++
6750 7 files changed, 910 insertions(+)
6752 commit 3f8c8f99126dc1a70d847eded13afd4b64395250
6753 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6754 Date: Wed Jun 16 11:54:55 2010 +0100
6756 Allow NULL as a value for strings, arrays and objects
6758 We should not warn when asking for a string, array or object if the
6759 contents were 'null'.
6761 json-glib/json-array.c | 42 +++++++++++++++++++++++++++++++---------
6762 json-glib/json-object.c | 45 ++++++++++++++++++++++++++++++++++---------
6763 json-glib/tests/object-test.c | 4 ++++
6764 3 files changed, 73 insertions(+), 18 deletions(-)
6766 commit 471bcf28589e0929984c4e6a097ae273b017b3f0
6767 Author: Anssi Hannula <anssi@mandriva.org>
6768 Date: Fri May 28 11:57:18 2010 +0100
6770 Do not hardcode paths in pkgconfig file
6772 The pkgconfig file correctly sets $prefix to @prefix@, but the other
6773 paths are hardcoded to ones relative to $prefix.
6776 exec_prefix=${prefix}
6777 libdir=${exec_prefix}/lib
6778 includedir=${exec_prefix}/include
6780 https://bugzilla.gnome.org/show_bug.cgi?id=613282
6782 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
6784 json-glib.pc.in | 6 +++---
6785 1 file changed, 3 insertions(+), 3 deletions(-)
6787 commit 70b9235b50dd4257e0bf196e07f65807d65f8091
6788 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6789 Date: Fri May 28 11:50:01 2010 +0100
6791 docs: Remove unused field annotation
6793 JsonNode is fully opaque, so there are no fields to annotate.
6795 json-glib/json-types.h | 1 -
6796 1 file changed, 1 deletion(-)
6798 commit aaf08f5c1a08c8aaec2436653114996b98ee1f8c
6799 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6800 Date: Fri May 28 11:35:05 2010 +0100
6802 build: Clean up the build system
6804 • Use libtool m4 macros, and require libtool >= 2.2.6
6806 • Ditch unused platform checks
6808 • Drop Shave and require automake >= 1.11
6810 • Depend on gtk-doc >= 1.13
6812 • Use gobject-introspection's Makefile rules, and update introspection.m4
6815 build/autotools/Makefile.am | 3 --
6816 build/autotools/Makefile.am.silent | 6 ---
6817 build/autotools/introspection.m4 | 6 +++
6818 build/autotools/shave-libtool.in | 69 ---------------------------------
6819 build/autotools/shave.in | 79 --------------------------------------
6820 build/autotools/shave.m4 | 77 -------------------------------------
6821 configure.ac | 46 +++++++---------------
6822 json-glib/Makefile.am | 47 ++++++++---------------
6823 9 files changed, 37 insertions(+), 300 deletions(-)
6825 commit 6231cf027a8f9c3b11324c1d49a350ba55353123
6826 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6827 Date: Wed May 26 08:43:10 2010 +0100
6829 parser: Do not access GScanner:token
6831 The GScanner:token member is declared as GTokenType instead of being an
6832 unsigned int. This means that comparing it to any other enumeration is
6833 going to generate a warning in GCC >= 4.5. Unfortunately, extending the
6834 GTokenType enumeration is the idiomatic way of handling new tokens.
6838 json-glib/json-parser.c | 9 ++++++---
6839 1 file changed, 6 insertions(+), 3 deletions(-)
6841 commit fcd07918d3ed2b31b047900da9d2fed23dddf7da
6842 Author: Eiichi Sato <eiichi.for.public@gmail.com>
6843 Date: Sat Apr 10 01:52:10 2010 +0900
6845 Support for surrogate pairs in json string.
6847 https://bugzilla.gnome.org/show_bug.cgi?id=615799
6849 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
6851 json-glib/json-scanner.c | 16 +++++++++++++++-
6852 1 file changed, 15 insertions(+), 1 deletion(-)
6854 commit 37a7931f91f8d79def3f4895bc349ba621a826a1
6855 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6856 Date: Wed Apr 14 23:19:58 2010 +0100
6860 The json-debug.h header is private and not installed; hence, it should
6861 be ignored by gtk-doc.
6863 doc/reference/Makefile.am | 3 ++-
6864 1 file changed, 2 insertions(+), 1 deletion(-)
6866 commit 28edd58ddfd719d107d89aa364dc208b0126c90f
6867 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6868 Date: Wed Apr 14 23:19:28 2010 +0100
6872 There is no such thing as a 'JsonArrary' type.
6874 json-glib/json-parser.c | 2 +-
6875 1 file changed, 1 insertion(+), 1 deletion(-)
6877 commit d40045bd855bfcb73c10967d894a8e91f8675409
6878 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6879 Date: Wed Apr 14 23:17:28 2010 +0100
6881 docs: Fix typo in JsonParserError annotation
6883 json-glib/json-parser.h | 2 +-
6884 1 file changed, 1 insertion(+), 1 deletion(-)
6886 commit b55d139ed0368f368c6c9c8f8adfab4c91f1f508
6887 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6888 Date: Sat Apr 3 14:59:00 2010 +0100
6890 parser: Do not increment the index variable
6892 When parsing an array with a JsonParser with the debugging notes
6893 enabled, we get an erroneous increment of the idx variable - which is
6894 then passed to the JsonParser::array-element signal.
6896 Thanks to: Michael Stapelberg <michael@stapelberg.de>
6898 json-glib/json-parser.c | 2 +-
6899 1 file changed, 1 insertion(+), 1 deletion(-)
6901 commit 24567790d30e314ee519c8f3756b3514c0c3fd31
6902 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6903 Date: Fri Mar 19 15:45:24 2010 +0000
6905 parser: Add MISSING_COLON error
6907 We identify a missing ':' separator between an object member name and
6908 its value, so it would be a good thing to actually have an error code
6911 json-glib/json-parser.c | 3 +--
6912 json-glib/json-parser.h | 2 ++
6913 json-glib/tests/parser-test.c | 3 ++-
6914 3 files changed, 5 insertions(+), 3 deletions(-)
6916 commit 08cec3b7c9202007a5abbf548f8d2f1b54d4d0b4
6917 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6918 Date: Fri Mar 19 15:40:48 2010 +0000
6920 parser: Refactor the JsonParser logic
6922 The array and object parsing logic in JsonParser has clearly exploded
6923 beyond control: a simple tightening of the JSON validation almost broke
6924 the parser in two. It it is time to...
6926 <cue Christopher Lee voice-over>
6930 </cue Christopher Lee voice-over>
6932 This time, we should be following the JSON state machine and try to do
6933 more prediction of the next state based on peeking the next token.
6935 The code is fairly cleaner, now; and, most of all, still passes the
6936 validation test suite - which is, you know... nice.
6938 json-glib/json-parser.c | 488 ++++++++++++++++++++----------------------------
6939 1 file changed, 200 insertions(+), 288 deletions(-)
6941 commit 9ce82f8052290f3956c3d80c8739c214da314d42
6942 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6943 Date: Fri Mar 19 11:04:00 2010 +0000
6945 parser: Return specific error codes
6947 The JsonScanner error reporting mechanism, which is basically
6948 GScanner's, sucks beyond belief. In order to report an error code we
6949 need to store it inside the JsonParser private structure and then use it
6950 when creating the GError inside the error handler.
6952 This, frankly, is quite stupid.
6954 json-glib/json-parser.c | 49 ++++++++++++++++++++++++++++++++++---------
6955 json-glib/json-parser.h | 8 +++++++
6956 json-glib/tests/parser-test.c | 18 ++++++++--------
6957 3 files changed, 56 insertions(+), 19 deletions(-)
6959 commit 9d7c58b4fb5edeb8e9413acc9d509447e13962e5
6960 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6961 Date: Thu Mar 18 22:41:14 2010 +0000
6963 JSON-GLib bug tracking system has been moved
6965 We are now using bugzilla.gnome.org, since we're already hosted on
6970 2 files changed, 2 insertions(+), 2 deletions(-)
6972 commit 449656c68a3d6e0d8b96c36414b475e78b9cc272
6973 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6974 Date: Thu Mar 18 17:11:11 2010 +0000
6976 parser-test: Add a case for double parsing in JsonObject
6978 json-glib/tests/parser-test.c | 3 ++-
6979 1 file changed, 2 insertions(+), 1 deletion(-)
6981 commit 54756457de3f01d1a487fc6b90c5bd9b5b50bcf3
6982 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6983 Date: Thu Mar 18 17:09:38 2010 +0000
6985 parser: Re-use json_parse_value()
6987 The main switch inside json_parse_statement() is re-implementing the
6988 bare value parsing that is also provided by json_parse_value(). We
6989 should kill it off to avoid redundant code.
6991 json-glib/json-parser.c | 57 ++-----------------------------------------------
6992 1 file changed, 2 insertions(+), 55 deletions(-)
6994 commit 3355987049560b4d31af22476a7c2b20c9d6665b
6995 Author: Emmanuele Bassi <ebassi@linux.intel.com>
6996 Date: Thu Mar 18 17:08:44 2010 +0000
6998 parser: Add debug annotations for json_parse_value()
7000 Print out the values we are parsing, for debug purposes.
7002 json-glib/json-parser.c | 8 ++++++++
7003 1 file changed, 8 insertions(+)
7005 commit f622ee8d8ba54ddea6fbb7311a905ffab7842e8d
7006 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7007 Date: Thu Mar 18 17:05:57 2010 +0000
7009 generator: Use %g format for g_ascii_formatd()
7011 I should read the documentation for the functions I use:
7013 Converts a gdouble to a string, using the '.' as decimal point. To
7014 format the number you pass in a printf()-style format string. Allowed
7015 conversion specifiers are 'e', 'E', 'f', 'F', 'g' and 'G'.
7016 -- from g_ascii_formatd() in GLib's API reference
7020 json-glib/json-generator.c | 2 +-
7021 1 file changed, 1 insertion(+), 1 deletion(-)
7023 commit 90d6e0b8c334b3fd7995c126f07dd61ba0a9e0fb
7024 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7025 Date: Thu Mar 18 15:26:19 2010 +0000
7027 parser-test: Add a complex nested object test
7029 The nested object test should use something that's really complex: an
7030 object with a nested array and nested object definitions.
7032 json-glib/tests/parser-test.c | 21 ++++++++++++++++++++-
7033 1 file changed, 20 insertions(+), 1 deletion(-)
7035 commit f4c57ac4227c4edb8a4cecb784e871fbd5649ad1
7036 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7037 Date: Thu Mar 18 15:24:39 2010 +0000
7039 parser: Clean up array and object parsing
7041 We are doing some of the work twice, especially when dealing with the
7042 trailing commas detection and the unknown tokens after an array element
7043 or an object member definition.
7045 json-glib/json-parser.c | 44 ++++++++++++++++++++++++--------------------
7046 1 file changed, 24 insertions(+), 20 deletions(-)
7048 commit b3435c6a05ecee58c64dce669ce7e44f829afc98
7049 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7050 Date: Thu Mar 18 15:21:29 2010 +0000
7052 Add debugging macros
7054 Similarly to what GTK+ and Clutter do, we can use macros that evaluate
7055 to nothing if JSON_ENABLE_DEBUG is disabled; they evaluate to messages
7056 when the JSON_DEBUG environment variable is set to a debug domain.
7058 json-glib/Makefile.am | 4 +++-
7059 json-glib/json-debug.c | 37 +++++++++++++++++++++++++++++++++++++
7060 json-glib/json-debug.h | 45 +++++++++++++++++++++++++++++++++++++++++++++
7061 3 files changed, 85 insertions(+), 1 deletion(-)
7063 commit 88ac0d5111eb528e4c396e4c169ceee4fb046e62
7064 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7065 Date: Fri Mar 5 19:23:49 2010 +0000
7067 tests: Add another trailing comma invalid test
7069 json-glib/tests/parser-test.c | 3 ++-
7070 1 file changed, 2 insertions(+), 1 deletion(-)
7072 commit c22c1151e418af9506547804d4bc9fddb60bc0f1
7073 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7074 Date: Mon Mar 1 17:42:41 2010 +0000
7076 tests: Add negative tests
7078 Verify that invalid JSON will trigger a parser error.
7080 json-glib/tests/parser-test.c | 53 +++++++++++++++++++++++++++++++++++++++++++
7081 1 file changed, 53 insertions(+)
7083 commit 26668fe238a52a7fd8374f409fc277aaa8efa826
7084 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7085 Date: Mon Mar 1 17:41:14 2010 +0000
7087 parser: Improve strictness
7089 Apparently, some breakage crept in JsonParser which allowed invalid JSON
7090 to actually pass. For instance: trailing and missing commas, invalid
7091 barewords and wrong array and object closing braces.
7093 json-glib/json-parser.c | 117 ++++++++++++++++++++++++++++++++----------------
7094 1 file changed, 78 insertions(+), 39 deletions(-)
7096 commit 7d156366e9062349fbe58344712a055839449098
7097 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7098 Date: Sun Jan 24 19:09:28 2010 +0000
7100 build: Configure Automake
7102 Add the following options:
7104 • no-define: we don't need PACKAGE and VERSION defined in config.h
7105 • -Wno-portability: we require GNU make
7106 • dist-bzip2: generate a bz2 tarball when distchecking
7109 1 file changed, 1 insertion(+), 1 deletion(-)
7111 commit ea666891cb1e6fc9e527ce6c93a306bc97145f16
7112 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7113 Date: Sun Jan 24 18:58:28 2010 +0000
7115 docs: Fix the GBoxed registration example
7117 The registration function for serialization and deserialization has been
7118 replaced by two separate functions before releasing 0.10, but I forgot to
7119 update the example in the documentation.
7121 json-glib/json-gboxed.c | 11 ++++++-----
7122 1 file changed, 6 insertions(+), 5 deletions(-)
7124 commit 4c15bf185dcd55ae5daf6b68d2b58d32e9ac9d5c
7125 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7126 Date: Sun Jan 10 10:00:32 2010 +0000
7128 build: Fix CFLAGS and LDFLAGS for the gcov target
7130 A copy and paste thinko duplicated the CFLAGS into the LDFLAGS, so we
7131 need to fix that. The CFLAGS should also specify the optimization level
7132 to 0 and turn on debugging notes, in case --enable-debug and
7133 --enable-maintainer-flags are turned off.
7135 configure.ac | 4 ++--
7136 1 file changed, 2 insertions(+), 2 deletions(-)
7138 commit c09c2dc1c54c83fea4ef93486081fe3fab35452c
7139 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7140 Date: Sun Jan 10 09:59:14 2010 +0000
7142 Initialize every member of JsonObject on construction
7144 We create JsonObject structures using g_slice_new(), so we need to
7145 initialize every member of the structure ourselves.
7147 json-glib/json-object.c | 1 +
7148 1 file changed, 1 insertion(+)
7150 commit cdffa0eacb52479e04460d8436a08ccecce91edf
7151 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7152 Date: Sat Jan 2 23:57:31 2010 +0000
7154 build: Move compiler flags to AM_CFLAGS
7156 The AM_CPPFLAGS variable is for pre-processor flags.
7158 tests/Makefile.am | 4 +++-
7159 1 file changed, 3 insertions(+), 1 deletion(-)
7161 commit f20523412e737c2dfae92ba4b9bd86177fd018a0
7162 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7163 Date: Sat Jan 2 23:56:42 2010 +0000
7165 build: Enable maintainer flags when compiling tests
7167 The tests should be compiled under the same flags as the rest of the
7170 json-glib/tests/Makefile.am | 2 +-
7171 1 file changed, 1 insertion(+), 1 deletion(-)
7173 commit 7b72cad780fdeb42ac1d847210bd2022376f2875
7174 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7175 Date: Sat Jan 2 23:50:40 2010 +0000
7177 tests: Clean up JsonGenerator test suite
7179 Use typed accessors instead of using GValues all around.
7181 json-glib/tests/generator-test.c | 145 +++++++--------------------------------
7182 1 file changed, 25 insertions(+), 120 deletions(-)
7184 commit 3c33b61738d74b732805b497accec830b1a05796
7185 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7186 Date: Fri Jan 1 18:23:16 2010 +0000
7188 tests: Verify Array.get_elements()
7190 While verifying Array.foreach() we should also verify that the list we
7191 are iterating on is the same returned by the get_elements() method.
7193 json-glib/tests/array-test.c | 22 +++++++++++++++++-----
7194 1 file changed, 17 insertions(+), 5 deletions(-)
7196 commit c8cc10985c3e7aac5ca1c03a7b443951929ed0cb
7197 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7198 Date: Fri Jan 1 18:02:03 2010 +0000
7200 build: Add gcov proxy rule
7202 The gcov rule lives in json-glib/Makefile.am, but it would be nice to
7203 have a similar rule in the top source directory as well.
7206 1 file changed, 3 insertions(+)
7208 commit 060eddb098dd2b442f986a39aad2e7bf8c777a15
7209 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7210 Date: Tue Dec 29 23:35:00 2009 +0000
7212 tests: Re-enable the nested object generator unit
7214 Use the JSON object example inside the RFC 4627 to verify that the
7215 JsonGenerator creates the right output. This is now possible as we
7216 garantee the order of a JsonObject members.
7218 json-glib/tests/generator-test.c | 102 +++++++++++++++++++++------------------
7219 1 file changed, 56 insertions(+), 46 deletions(-)
7221 commit 37a9c9544447c4a8ac36d80dd58bd38f80b0aa3c
7222 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7223 Date: Tue Dec 29 23:02:23 2009 +0000
7225 Update the ignore file
7227 .gitignore | 5 +++--
7228 1 file changed, 3 insertions(+), 2 deletions(-)
7230 commit e32a157f97d96293f6f4061e7d0008d90ff16258
7231 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7232 Date: Tue Dec 29 22:59:13 2009 +0000
7234 tests: Move Parser and Generator tests
7236 Use the json-glib/tests directory for testing the data structures of
7237 JSON-GLib: node, object, array, parser and generator.
7239 The tests/ directory should be used for complex test cases, like the
7240 GObject and GBoxed integration - but the goal is to remove the top-level
7241 tests/ directory altogether, since the conformance test suite should be
7242 built along the json-glib/ directory.
7244 json-glib/tests/Makefile.am | 26 +-
7245 json-glib/tests/generator-test.c | 357 ++++++++++++++++++++++
7246 json-glib/tests/parser-test.c | 632 +++++++++++++++++++++++++++++++++++++++
7247 tests/Makefile.am | 8 -
7248 tests/test-generator.c | 357 ----------------------
7249 tests/test-parser.c | 632 ---------------------------------------
7250 6 files changed, 1006 insertions(+), 1006 deletions(-)
7252 commit 5b4186eb60e953ddbaadcd53b1996d28b06d4a97
7253 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7254 Date: Tue Dec 29 22:53:29 2009 +0000
7256 Add GCOV coverage test support
7258 Use GCOV, a GCC extension, to perform a coverage test on JSON-GLib when
7259 we perform a 'make check'.
7261 GCOV support builds JSON-GLib with compiler and linker flags that enable
7262 coverage reports; then the check-local target will build the gcov file
7263 for each source file, and the coverage report will be extracted from
7266 .gitignore | 7 ++++---
7267 build/autotools/Makefile.am | 3 ++-
7268 build/autotools/Makefile.am.gcov | 35 +++++++++++++++++++++++++++++++++++
7269 build/autotools/Makefile.am.gtest | 2 ++
7270 configure.ac | 25 +++++++++++++++++++++++--
7271 json-glib/Makefile.am | 9 ++++++---
7272 6 files changed, 72 insertions(+), 9 deletions(-)
7274 commit 56f56ae22d981830b696c5861e158802d31240c1
7275 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7276 Date: Tue Dec 29 21:56:42 2009 +0000
7281 1 file changed, 1 insertion(+), 1 deletion(-)
7283 commit dae32677d140a3ba6a15e1198b53ea0b3e1716b0
7284 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7285 Date: Tue Dec 29 15:35:21 2009 +0000
7287 Post-release version bump to 0.10.1
7290 1 file changed, 1 insertion(+), 1 deletion(-)
7292 commit 5aff66e8fae3e28c9cb6b74696170154eed303a7
7293 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7294 Date: Tue Dec 29 15:33:28 2009 +0000
7298 configure.ac | 4 ++--
7299 1 file changed, 2 insertions(+), 2 deletions(-)
7301 commit 7258a776ea90ea4b2dcc6f1e4e440bb09c581a12
7302 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7303 Date: Tue Dec 29 15:31:22 2009 +0000
7305 build: Enable introspection when distchecking
7308 1 file changed, 1 insertion(+), 1 deletion(-)
7310 commit 80c5178127052e600146ca889500e263da4ebf10
7311 Author: Vincent Untz <vuntz@gnome.org>
7312 Date: Sun Dec 27 02:09:44 2009 +0100
7314 Initialize out variables before using them
7316 Here's a small patch for json-glib, to fix some gcc warnings breaking
7317 the build with -Werror (gcc can't know if the variable will get
7318 initialized or not). I didn't find a product for json-glib in bugzilla,
7319 but I guess a mail will work ;-)
7323 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
7325 json-glib/json-gobject.c | 4 ++--
7326 1 file changed, 2 insertions(+), 2 deletions(-)
7328 commit e3a57eae397926ad23e216996eda164ed6c15c63
7329 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7330 Date: Sun Nov 29 12:50:58 2009 +0000
7332 Post-release bump to 0.9.3
7335 1 file changed, 1 insertion(+), 1 deletion(-)
7337 commit 4477758b73a0712fdef5e7907f6b6f4e0878428e
7338 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7339 Date: Sun Nov 29 12:34:41 2009 +0000
7341 Release 0.9.2 (0.10.0-rc1)
7344 1 file changed, 1 insertion(+), 1 deletion(-)
7346 commit 654f99c6b0d771cc6b4c68790ab164b0f691307d
7347 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7348 Date: Sun Nov 29 12:34:08 2009 +0000
7352 NEWS | 15 +++++++++++++++
7353 1 file changed, 15 insertions(+)
7355 commit 307605046cf89ef922d1d1e7c7b95405f3ecfdfb
7356 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7357 Date: Sun Nov 29 12:48:25 2009 +0000
7359 docs: Fix annotation for json_gobject_to_data()
7361 json-glib/json-gobject.c | 2 +-
7362 1 file changed, 1 insertion(+), 1 deletion(-)
7364 commit e7eb3ca4a9de1c7348dc82f528cf0858f52849dd
7365 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7366 Date: Sun Nov 29 12:37:04 2009 +0000
7368 docs: Add missing to/from_data methods
7370 doc/reference/json-glib-sections.txt | 2 ++
7371 1 file changed, 2 insertions(+)
7373 commit 27bb2c060a7b2ecc4839719d39b2044efe4c3e7a
7374 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7375 Date: Sun Nov 29 12:46:27 2009 +0000
7377 docs: Add release notes to the README
7379 README | 12 ++++++++++--
7380 1 file changed, 10 insertions(+), 2 deletions(-)
7382 commit 780d82310c47c3f07bcbaab2cefbea0d6decb899
7383 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7384 Date: Sun Nov 29 12:33:45 2009 +0000
7386 docs: Update the README
7388 README | 27 ++++++++++++++++-----------
7389 1 file changed, 16 insertions(+), 11 deletions(-)
7391 commit d122f9b8c09ad7e82b1a70da5d65ebba2111e6cc
7392 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7393 Date: Sun Nov 29 12:33:01 2009 +0000
7395 build: Clean up the configure summary
7397 Make the output of the summary a little bit nicer.
7399 configure.ac | 27 ++++++++++++++++++++-------
7400 1 file changed, 20 insertions(+), 7 deletions(-)
7402 commit e4c4480036a82cc5177fc1f184c18019af0e805e
7403 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7404 Date: Sun Nov 29 12:31:54 2009 +0000
7406 build: Require G-I 0.6.4
7408 We should require at least 0.6.4 for GObject-Introspection, since that
7409 version allows us to pass the .la file to g-ir-scanner.
7412 1 file changed, 1 insertion(+), 1 deletion(-)
7414 commit 4445bdb04d5eebc145a1db82aa5b811e8d4ed048
7415 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7416 Date: Sat Nov 28 19:13:27 2009 +0000
7418 docs: Fix argument name mismatch
7420 gtk-doc complains that the argument name in the header does not match
7421 the one in the documentation annotation for the GBoxed deserialization
7422 function registration.
7424 json-glib/json-gobject.h | 2 +-
7425 1 file changed, 1 insertion(+), 1 deletion(-)
7427 commit 793e827feaa9be3c4ffbe5c0425ac6bcc0c9e6d1
7428 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7429 Date: Sat Nov 28 19:06:36 2009 +0000
7431 build: Clean up json-glib/Makefile.am rules
7433 json-glib/Makefile.am | 24 ++++--------------------
7434 1 file changed, 4 insertions(+), 20 deletions(-)
7436 commit 97584658672fe4709fc7c3b24a44b477112322f7
7437 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7438 Date: Sat Nov 28 17:39:37 2009 +0000
7440 build: Fix out-of-tree enum types file generation
7442 build/autotools/Makefile.am.enums | 4 ++--
7443 1 file changed, 2 insertions(+), 2 deletions(-)
7445 commit 3cf919e9c7f3201305a1a63a3c270e422a37efed
7446 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7447 Date: Mon Nov 23 22:20:58 2009 +0000
7449 boxed: Split (de)serialization registration
7451 A GBoxed type defined as:
7459 Can be represented either by a JSON object:
7471 The current function for registering a serialization and a
7472 deserialization pair does not allow registering more than one
7473 deserialization function - which means that there can only be
7474 one way to deserialize a GBoxed type into a specific JsonNode
7477 To allow having more than one JsonNodeType associated to a
7478 GBoxed type and a deserialization function we need to split out
7479 the registration of the serialization and deserialization functions
7480 into two distinct functions.
7482 doc/reference/json-glib-sections.txt | 3 +-
7483 json-glib/json-gboxed.c | 115 +++++++++++++++++++++++------------
7484 json-glib/json-gobject.c | 4 +-
7485 json-glib/json-gobject.h | 63 +++++++++----------
7486 tests/test-serialize-boxed.c | 7 ++-
7487 5 files changed, 114 insertions(+), 78 deletions(-)
7489 commit 61d54cc9e2a3098e876e700a9248428f400a5368
7490 Author: Tristan Van Berkom <tristan.van.berkom@gmail.com>
7491 Date: Thu Nov 12 12:59:03 2009 +0000
7493 serializable: Make Serializable in charge of parsing
7495 If a GObject class implements JsonSerializable and has overridden
7496 the serialize_property() vfunc then the Serializable should be fully in
7497 charge of serializing a property - that is: JSON-GLib should not try to
7498 add a fallback in case the serialize_property() implementation returned
7501 This is a change in semantics for JsonSerializable implementations.
7503 http://bugzilla.openedhand.com/show_bug.cgi?id=1859
7505 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
7507 json-glib/json-gobject.c | 7 +++++--
7508 1 file changed, 5 insertions(+), 2 deletions(-)
7510 commit 63dc03da507a216c0764bc0e50fc62b2b77dc1b2
7511 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7512 Date: Thu Nov 12 12:38:29 2009 +0000
7514 serializable: Add methods proxying default implementations
7516 If you want to use the default implementation of serialize_property()
7517 and/or deserialize_property() from an object class implementing
7518 JsonSerializable you currently have to peek the interface vtable and
7519 then call the vfunc pointers.
7521 We can expose the default implementation through functions ourselves and
7522 simplify the required code.
7524 doc/reference/json-glib-sections.txt | 4 ++
7525 json-glib/json-gobject.h | 28 +++++++----
7526 json-glib/json-serializable.c | 92 ++++++++++++++++++++++++++++++++++++
7527 3 files changed, 115 insertions(+), 9 deletions(-)
7529 commit 5f484d8c274a2b866f9a3d38eebe2baa1939b7ac
7530 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7531 Date: Thu Nov 12 12:03:13 2009 +0000
7533 gobject: Add deprecation annotations
7535 This makes it easier to detect when building without
7536 JSON_DISABLE_DEPRECATED.
7538 json-glib/json-gobject.h | 4 ++--
7539 1 file changed, 2 insertions(+), 2 deletions(-)
7541 commit 3c7811bf24d4b957da730949af6795b728db5bad
7542 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7543 Date: Thu Nov 12 12:02:41 2009 +0000
7545 build: Build without deprecations
7547 Make sure that JSON-GLib is built without using deprecated API.
7549 json-glib/Makefile.am | 1 +
7550 1 file changed, 1 insertion(+)
7552 commit 923311ee52b77f53c5c529e497ea2a24efaf23ea
7553 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7554 Date: Thu Nov 12 12:01:04 2009 +0000
7556 tests: Do not use deprecated API
7558 Tests should not be using API marked as deprecated.
7560 tests/Makefile.am | 2 +-
7561 tests/test-serialize-boxed.c | 4 ++--
7562 tests/test-serialize-complex.c | 2 +-
7563 tests/test-serialize-full.c | 2 +-
7564 tests/test-serialize-simple.c | 2 +-
7565 5 files changed, 6 insertions(+), 6 deletions(-)
7567 commit e3ae84e743e1d1a1a0202e900f443e143cb77f45
7568 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7569 Date: Thu Nov 12 11:57:45 2009 +0000
7571 tests: Verify Serializable::serialize_property()
7573 Verify that an object with a custom serialize_property() is effectively
7574 what we expect it to be when it is parsed.
7576 tests/test-serialize-complex.c | 32 ++++++++++++++++++++++++++++++++
7577 1 file changed, 32 insertions(+)
7579 commit 7cebdd008a02e6cef0514f40327f94eba2a2088e
7580 Author: Cornelius Hald <hald@icandy.de>
7581 Date: Thu Nov 12 11:37:54 2009 +0000
7583 Doubles are converted to strings containing commas
7585 Under some locales (e.g. de_DE) a double is converted to a string
7586 containing a comma instead of a dot. That breaks the JSON syntax.
7589 Double: 0.34 is converted to 0,34 when using locale de_DE
7591 http://bugzilla.openedhand.com/show_bug.cgi?id=1826
7593 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
7595 json-glib/json-generator.c | 7 ++++++-
7596 1 file changed, 6 insertions(+), 1 deletion(-)
7598 commit 30d4efb775cb416212c00e3ececb0f0147739f40
7599 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7600 Date: Thu Nov 12 11:28:17 2009 +0000
7602 Update Introspection annotations
7604 • Fix the transfer rules for JsonNode, JsonObject and JsonArray
7607 • Annotate the methods returning lists
7609 json-glib/json-array.c | 18 +++++++++---------
7610 json-glib/json-node.c | 15 ++++++++-------
7611 json-glib/json-object.c | 25 +++++++++++++------------
7612 json-glib/json-parser.c | 5 +++--
7613 4 files changed, 33 insertions(+), 30 deletions(-)
7615 commit 47cd2f678a8321faac0e2d00a3538181e7bc1cbf
7616 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7617 Date: Thu Nov 12 11:27:36 2009 +0000
7619 build: Add more flags to the maintainer cflags list
7621 configure.ac | 4 +++-
7622 1 file changed, 3 insertions(+), 1 deletion(-)
7624 commit ecc185d1c542f6ff41f84be026dc380f611a5d6e
7625 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7626 Date: Thu Nov 12 10:09:17 2009 +0000
7628 enum-types: Put back a missing static
7630 The GEnumValue array defining the enumeration type values must be
7631 static, otherwise everything will crash when trying to retrieve the
7632 enumeration data from the GEnumClass.
7634 json-glib/json-enum-types.c.in | 2 +-
7635 1 file changed, 1 insertion(+), 1 deletion(-)
7637 commit 84f5af58c23b174cc9708e81ce8ccbfffa6e68eb
7638 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7639 Date: Fri Oct 30 10:46:32 2009 +0000
7641 object: Return values list in insertion order
7643 Since we return the member names in insertion order, we should also
7644 return the member values in the same order.
7646 This also allows us to get rid of the (yucky) internal copies of
7647 g_hash_table_get_keys() and g_hash_table_get_values(), since we use
7648 the hash table only for storage and lookup purposes.
7650 json-glib/json-object.c | 55 +++++++------------------------------------------
7651 1 file changed, 7 insertions(+), 48 deletions(-)
7653 commit a25a1ded25e5d1f605cffd6da7a5e036151aa70c
7654 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
7655 Date: Thu Oct 29 14:01:04 2009 +0000
7657 tests: Verify parsing bare values
7659 http://bugzilla.openedhand.com/show_bug.cgi?id=1856
7661 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
7663 tests/test-parser.c | 38 +++++++++++++++++++++++++++++++++-----
7664 1 file changed, 33 insertions(+), 5 deletions(-)
7666 commit 026ea0357fbe95e2acd43555e3b5d00e329c9740
7667 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7668 Date: Thu Oct 29 13:59:44 2009 +0000
7670 parser: Advance when parsing bare values
7672 A missing get_next_token() prevents getting the contents of
7673 the tokenizer in order to place them into the JsonNode.
7675 json-glib/json-parser.c | 1 +
7676 1 file changed, 1 insertion(+)
7678 commit 578111be53065a2bbeda73865bfa4e178f185649
7679 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7680 Date: Wed Oct 28 16:54:34 2009 +0000
7682 introspection: Fix the GIR generation
7684 The rule for creating the JSON-GLib GIR file should use the
7685 json-glib.la shared object, to avoid using the installed
7686 copy of JSON-GLib when compiling the typelib.
7688 The include file for JSON-GLib is json-glib/json-gobject.h as
7689 well: json-glib/json-object.h does not exist.
7691 json-glib/Makefile.am | 11 ++++++++---
7692 1 file changed, 8 insertions(+), 3 deletions(-)
7694 commit 8f8ce87730fc0bf102a707e84c4f6106b215cfab
7695 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7696 Date: Wed Oct 28 16:23:39 2009 +0000
7698 gobject: Use from/to data naming convention
7700 Be more GLib-like, and use
7702 <namespace>_<type>_from_data()
7703 <namespace>_<type>_to_data()
7705 Instead of the homebrew "construct" and "serialize", when dealing
7706 with string buffers.
7710 • adding json_gobject_from_data() to deprecate
7711 json_construct_gobject()
7712 • adding json_gobject_to_data() to deprecate
7713 json_serialize_gobject()
7715 The json_construct_gobject() function also contains a mistake: it
7716 uses gsize with the special value of -1 meaning "slurp the whole
7717 string", but gsize is an unsigned type. The newly added
7718 json_gobject_from_data() correctly uses gssize instead.
7720 json-glib/json-gobject.c | 63 +++++++++++++++++++++++++++++++++++++++++++++---
7721 json-glib/json-gobject.h | 10 ++++++++
7722 2 files changed, 69 insertions(+), 4 deletions(-)
7724 commit 00b4d200849e232cd904d23d3593d6f95252b483
7725 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7726 Date: Wed Oct 28 16:05:19 2009 +0000
7728 gobject: Uniform JSON<->GObject mapping code
7730 Rename json_gobject_new() to json_gobject_deserialize(), and
7731 json_gobject_dump() to json_gobject_serialize(); this maps the
7734 Also for consistency, change the serialize() return value and
7735 the deserialize() argument to be JsonNodes of type JSON_NODE_OBJECT.
7737 doc/reference/json-glib-sections.txt | 4 +-
7738 json-glib/json-gobject.c | 82 ++++++++++++++++++++++++------------
7739 json-glib/json-gobject.h | 10 ++---
7740 3 files changed, 61 insertions(+), 35 deletions(-)
7742 commit fc0607c740b153acc96e4df12a12b042e08e831b
7743 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7744 Date: Wed Oct 28 12:01:21 2009 +0000
7746 docs: Add long descriptions
7748 The json-boxed and json-serializable sections are missing the
7749 long description for the API reference.
7751 json-glib/json-gboxed.c | 49 +++++++++++++++++++++++++++++++++++++++----
7752 json-glib/json-serializable.c | 5 ++++-
7753 2 files changed, 49 insertions(+), 5 deletions(-)
7755 commit 498827110f3d635e545c7351732551676a06a1bf
7756 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7757 Date: Wed Oct 28 10:07:39 2009 +0000
7759 docs: Add the 0.10 symbols index
7761 doc/reference/json-glib-docs.xml | 5 +++++
7762 1 file changed, 5 insertions(+)
7764 commit 0979bbceb654c5e4b5dadf1e6f7e85bb9df87ca5
7765 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7766 Date: Tue Oct 27 20:58:08 2009 +0000
7768 docs: Split out GObject-related sections
7770 Like commit c176f70e593c9cfb4901cd9f27ce54b8aa7152f2 did for the
7771 source code, the documentation should be split three-ways:
7773 • GObject-related API
7775 • GBoxed-related API
7777 doc/reference/Makefile.am | 15 +++++++--------
7778 doc/reference/json-glib-docs.xml | 2 ++
7779 doc/reference/json-glib-sections.txt | 33 +++++++++++++++++++++++++++------
7780 3 files changed, 36 insertions(+), 14 deletions(-)
7782 commit 2f56ba9021ec4fe1574630404d6b24e4813cf1eb
7783 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7784 Date: Tue Oct 27 20:57:52 2009 +0000
7786 docs: Documentation fixes for gtk-doc
7788 json-glib/json-gboxed.c | 8 +++++---
7789 1 file changed, 5 insertions(+), 3 deletions(-)
7791 commit c176f70e593c9cfb4901cd9f27ce54b8aa7152f2
7792 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7793 Date: Tue Oct 27 20:49:09 2009 +0000
7795 build: Split out GBoxed and Serializable
7797 The json-gobject.c is getting pretty crowded; we should split out
7798 the JsonBoxed API and the JsonSerialized implementation into their
7799 separate source files.
7801 json-glib/Makefile.am | 4 +
7802 json-glib/json-gboxed.c | 275 +++++++++++++++++++++++++++++
7803 json-glib/json-gobject-private.h | 39 ++++
7804 json-glib/json-gobject.c | 371 +--------------------------------------
7805 json-glib/json-serializable.c | 154 ++++++++++++++++
7806 5 files changed, 476 insertions(+), 367 deletions(-)
7808 commit 373fa3d9b73391b38620fbd9ce9b69f358e5f4c8
7809 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7810 Date: Tue Oct 27 18:10:19 2009 +0000
7812 gobject: Make GObject<->JsonObject functions public
7814 The functions mapping a GObject to and from a JsonObject should
7815 be public, as they can be used by parsers.
7817 json-glib/json-gobject.c | 30 ++++++++++++++++++++++++++++--
7818 json-glib/json-gobject.h | 16 ++++++++++------
7819 2 files changed, 38 insertions(+), 8 deletions(-)
7821 commit 85f7a8e8206168d95b3ef9c02aa584f0fae5b37e
7822 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7823 Date: Tue Oct 27 18:03:11 2009 +0000
7825 gobject: Reuse the list data
7827 Since we ignore all members that don't have a corresponding
7828 GParamSpec for the class we cannot use:
7830 members = g_list_prepend (members, pspec->name);
7832 Because pspec might also be NULL. We can reuse the GList iterator
7833 data field, since that points to data internal to the JsonObject
7834 we are iterating over.
7836 json-glib/json-gobject.c | 2 +-
7837 1 file changed, 1 insertion(+), 1 deletion(-)
7839 commit ff986ee5b8df45255f4f5ab01be0bbad893bc55e
7840 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7841 Date: Tue Oct 27 17:53:34 2009 +0000
7843 gobject: Add experimental GBoxed<->JSON transformation
7845 Serializing and deserializing GBoxed types is fairly complicated
7846 currently. If a GObject implements JsonSerializable it is possible
7847 for the class to intercept the JsonNode, parse it manually and
7848 then set the value to the property.
7850 This leaves a hole opened for:
7852 • manual (de)serialization of GBoxed types
7853 • (de)serialization of GBoxed properties in classes not
7854 implementing JsonSerializable
7856 In order to serialize and deserialize a GBoxed JSON-GLib should
7857 provide a mechanism similar to the GValue transformation functions:
7858 when registering the boxed type the developer should also be able
7859 to register a serialization and a deserialization functions pair
7862 (GBoxed type, JSON type)
7864 The serialization function would be:
7866 JsonNode *(* JsonBoxedSerializeFunc) (gconstpointer boxed);
7868 And, conversely, the deserialization function would be:
7870 gpointer (* JsonBoxedDeserializeFunc) (JsonNode *node);
7872 Obviously, the whole machinery works only for GBoxed types that
7873 register the serialization and deserialization functions.
7875 .gitignore | 68 +++++------
7876 json-glib/json-gobject.c | 264 ++++++++++++++++++++++++++++++++++++++++++-
7877 json-glib/json-gobject.h | 37 ++++++
7878 tests/Makefile.am | 8 +-
7879 tests/test-serialize-boxed.c | 263 ++++++++++++++++++++++++++++++++++++++++++
7880 5 files changed, 602 insertions(+), 38 deletions(-)
7882 commit 7f6a73a0964b66b15e8b5a9858b9bc76b010f67b
7883 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7884 Date: Tue Oct 27 17:43:38 2009 +0000
7886 node: Add a private NodeType-to-string converter
7888 Useful for debugging and logging purposes.
7890 json-glib/json-node.c | 23 ++++++++++++++++++++++-
7891 json-glib/json-types-private.h | 2 ++
7892 2 files changed, 24 insertions(+), 1 deletion(-)
7894 commit 3f8990f7a4c362590f19e427aae2f68f27303fe6
7895 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7896 Date: Tue Oct 27 17:42:14 2009 +0000
7898 Remove a stray ';' that broke deserializing GStrv
7900 The stray semicolon was preventing the GPtrArray from being
7903 json-glib/json-gobject.c | 2 +-
7904 1 file changed, 1 insertion(+), 1 deletion(-)
7906 commit 8e550ac4dbb5500a40c7adad88868ede40397db7
7907 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7908 Date: Tue Oct 27 17:41:38 2009 +0000
7910 Fix compiler warnings (remove unused variables)
7912 json-glib/json-gobject.c | 3 +--
7913 1 file changed, 1 insertion(+), 2 deletions(-)
7915 commit 3b994a52d9c34f67e4ac52aa4bb0c380789fbd60
7916 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7917 Date: Tue Oct 27 17:40:55 2009 +0000
7919 build: Export MAINTAINER_CFLAGS
7921 Apparently, the MAINTAINER_CFLAGS were ignored.
7924 1 file changed, 1 insertion(+)
7926 commit 0810711a7fbb915ba9397a66e77babb30765d090
7927 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7928 Date: Tue Oct 27 17:40:23 2009 +0000
7930 build: Use AM_PROG_CC_C_O
7932 Use the Automake macro to enable per-target compiler flags.
7935 1 file changed, 1 insertion(+), 1 deletion(-)
7937 commit d664f886372afbe1d54e633240e7b7e06ebc45c8
7938 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7939 Date: Tue Oct 27 17:40:03 2009 +0000
7941 Fix compiler warnings (remove unused variables)
7943 tests/test-generator.c | 4 ++--
7944 tests/test-serialize-full.c | 1 -
7945 2 files changed, 2 insertions(+), 3 deletions(-)
7947 commit 83dea3b3dd2281dca206e0873b5fed0a2a3d50de
7948 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7949 Date: Tue Oct 27 14:01:24 2009 +0000
7951 gobject: Support constructor properties
7953 The GObject deserialization code currently skips all the constructor
7954 and constructor-only properties. In order to implement them we can
7955 add a preliminary pass on the JSON object members and build a
7958 As we don't have a GObject instance we cannot really use the
7959 Serializable interface to provide custom parsing for complex data
7960 structures, thus we fall back to the default deserialization code
7963 json-glib/json-gobject.c | 98 ++++++++++++++++++++++++++++++++++++++++-----
7964 tests/test-serialize-full.c | 11 ++---
7965 2 files changed, 93 insertions(+), 16 deletions(-)
7967 commit 2616938c7c042fced9be197205a535a8b420534e
7968 Author: Emmanuele Bassi <ebassi@linux.intel.com>
7969 Date: Tue Oct 27 11:57:38 2009 +0000
7971 build: Clean up the build environment
7973 Some of the rules can be moved into their own files to be included
7976 • silent rules (QUIET_*)
7977 • glib-mkenums rules
7978 • glib-genmarshal rules
7980 Also, the test suite rules should be moved from the top-level of
7981 the project into the build/autotools directory and then included
7982 only where it makes sense.
7984 This requires changing most of the build system to use the new
7989 Makefile.decl | 61 -------------------------
7990 build/Makefile.am | 12 ++++-
7991 build/autotools/Makefile.am | 21 +++++++--
7992 build/autotools/Makefile.am.enums | 43 ++++++++++++++++++
7993 build/autotools/Makefile.am.gtest | 61 +++++++++++++++++++++++++
7994 build/autotools/Makefile.am.marshal | 45 +++++++++++++++++++
7995 build/autotools/Makefile.am.silent | 17 +++++++
7996 doc/Makefile.am | 12 ++++-
7997 doc/reference/Makefile.am | 5 ++-
7998 json-glib/Makefile.am | 88 ++++++++++++-------------------------
7999 json-glib/tests/Makefile.am | 12 +++--
8000 tests/Makefile.am | 15 +++----
8001 14 files changed, 252 insertions(+), 149 deletions(-)
8003 commit 5406301b0e3bf74c0d7ae47a618c416d5c6dc29d
8004 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8005 Date: Tue Oct 27 11:30:55 2009 +0000
8007 gobject: Serialize properties holding a GObject
8009 Like we deserialize them, we can serialize GObject properties
8010 defined using GParamSpecObject.
8012 json-glib/json-gobject.c | 14 ++++++++++++++
8013 1 file changed, 14 insertions(+)
8015 commit 3a2176ebf96b33716d1b50068ca44b1d3cd9b0c8
8016 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8017 Date: Tue Oct 27 11:29:32 2009 +0000
8019 tests: Use properties to change values
8021 The values inside _init() should match the default values of the
8022 properties as specified by the GParamSpec. If we want to verify
8023 a non-default value we should specify the value when instantiating
8026 tests/test-serialize-simple.c | 4 ++--
8027 1 file changed, 2 insertions(+), 2 deletions(-)
8029 commit 1ff48cdc5d773925bda1ddf8bc904a9ea6a5e643
8030 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8031 Date: Tue Oct 27 11:18:51 2009 +0000
8033 gobject: Split GObject serialization code
8035 Like for the deserialization of a GObject into a JsonObject we
8036 should split out the serialization of a GObject into a JsonObject
8037 part of json_serialize_gobject() into its own private function.
8039 json-glib/json-gobject.c | 113 +++++++++++++++++++++++++----------------------
8040 1 file changed, 61 insertions(+), 52 deletions(-)
8042 commit 27afed8dc89bf9562c3536f0a053d250e70eea4d
8043 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8044 Date: Tue Oct 27 10:30:27 2009 +0000
8046 gobject: Recurse in GParamSpecObject properties
8048 Use the newly added json_gobject_new() internal function to
8049 recurse into properties defined using GParamSpecObject.
8051 The same rules used by json_construct_gobject() apply to the
8052 properties storing a GObject - including JsonSerializable
8055 The test case for serialization and deserialization of a
8056 GObject has been updated to include a property holding a
8059 json-glib/json-gobject.c | 14 ++++++++++-
8060 tests/test-serialize-full.c | 58 +++++++++++++++++++++++++++++++++++++++------
8061 2 files changed, 64 insertions(+), 8 deletions(-)
8063 commit 317447b52455c56b0123168ab127ce026d7d0c22
8064 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8065 Date: Tue Oct 27 10:20:42 2009 +0000
8067 gobject: Split JSON to GObject code
8069 If we want to be able to parse a GParamSpecObject property
8070 we need to use the same code as json_construct_gobject(), minus
8073 json-glib/json-gobject.c | 152 ++++++++++++++++++++++++++---------------------
8074 1 file changed, 83 insertions(+), 69 deletions(-)
8076 commit cba7db96581343e3cbd8e5eb067026efb8cac24e
8077 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8078 Date: Mon Oct 26 22:36:01 2009 +0000
8080 object: Guarantee insertion order
8082 When iterating over the members of a JsonObject, or when retrieving
8083 the list of members, the insertion order should be preserved by the
8084 JsonObject. This is simply implemented by keeping a mirror list of
8087 Apparently, though JSON does not guarantee any ordering, it is somewhat
8088 expected by JSON (and ECMAScript) users.
8090 json-glib/json-object.c | 67 ++++++++++++++++++++++--------------------
8091 json-glib/json-types-private.h | 3 ++
8092 tests/test-generator.c | 3 +-
8093 3 files changed, 40 insertions(+), 33 deletions(-)
8095 commit d5bebce0286aef5c4b4110c16c22a8ef3dc38405
8096 Author: Emmanuele Bassi <ebassi@gnome.org>
8097 Date: Mon Sep 28 18:15:48 2009 +0100
8099 [node] Add HOLDS macros for quick type checking
8101 JsonNode should mimick GValue's API and have macros for easy type checking
8103 doc/reference/json-glib-sections.txt | 7 ++++-
8104 json-glib/json-types.h | 51 ++++++++++++++++++++++++++++++++++++
8105 json-glib/tests/node-test.c | 2 +-
8106 3 files changed, 58 insertions(+), 2 deletions(-)
8108 commit 17fc731ed54b754285bac76c7ac23eac6b96bf24
8109 Author: Emmanuele Bassi <ebassi@gnome.org>
8110 Date: Mon Sep 28 14:02:14 2009 +0100
8112 [tests] Add a test case for Object members with empty strings
8114 Both the Object API and the Parser should not choke on members with
8115 empty strings as their value. The Object should just have a member
8116 associated with a JSON_NODE_VALUE node type and an empty string as
8119 json-glib/tests/object-test.c | 13 +++++++++++++
8120 tests/test-parser.c | 1 +
8121 2 files changed, 14 insertions(+)
8123 commit 5181bf24bf3cde743de590ab3ffa0471df9e4799
8124 Author: Emmanuele Bassi <ebassi@gnome.org>
8125 Date: Tue Sep 22 15:42:34 2009 +0100
8127 Post-branch bump to 0.9.1
8129 configure.ac | 4 ++--
8130 1 file changed, 2 insertions(+), 2 deletions(-)
8132 commit 3f83767109979c660469b3b5862fbd04469a8011
8133 Author: Emmanuele Bassi <ebassi@gnome.org>
8134 Date: Tue Sep 22 15:39:46 2009 +0100
8139 configure.ac | 8 ++++++--
8140 2 files changed, 8 insertions(+), 2 deletions(-)
8142 commit bd604338b25884edbd86cf531505259948484323
8143 Author: Emmanuele Bassi <ebassi@gnome.org>
8144 Date: Tue Sep 22 15:34:18 2009 +0100
8146 [parser] Return the right expected token
8148 When parsing a value embedded in a Json Object or Array we need to
8149 return the right expected token so that the generated syntax error
8152 json-glib/json-parser.c | 16 ++++++++++++++--
8153 1 file changed, 14 insertions(+), 2 deletions(-)
8155 commit f99cf3d3d038eff786f85409f3d04736e2068e74
8156 Author: Emmanuele Bassi <ebassi@gnome.org>
8157 Date: Tue Sep 22 15:34:07 2009 +0100
8159 [parser] Whitespace clean up
8161 json-glib/json-parser.c | 11 ++++++-----
8162 1 file changed, 6 insertions(+), 5 deletions(-)
8164 commit 6c20aae2b49a6d64db5e7d1ff3a82950ea9dc58a
8165 Author: Emmanuele Bassi <ebassi@gnome.org>
8166 Date: Mon Sep 7 22:30:11 2009 +0100
8168 [build] Prefer automake-1.11 silent rules to shave
8170 If we have automake-1.11 installed then we should enable the
8171 AM_SILENT_RULES machinery instead of Shave - even though Shave's
8172 output is a lot cleaner.
8175 configure.ac | 20 ++++++++++++++++----
8176 json-glib/Makefile.am | 6 +++++-
8177 3 files changed, 22 insertions(+), 6 deletions(-)
8179 commit 7b4bb80930f12a366d5e5a5eea5b398972cd4891
8180 Author: Emmanuele Bassi <ebassi@gnome.org>
8181 Date: Sun Sep 6 17:31:41 2009 +0100
8183 [node] Add JsonNode.set_parent()
8185 Add the setter for JsonNode:parent, to be used in JsonParser instead
8186 of directly accessing the JsonNode structure.
8188 doc/reference/json-glib-sections.txt | 1 +
8189 json-glib/json-node.c | 18 ++++++++++++++++++
8190 json-glib/json-parser.c | 14 +++++++-------
8191 json-glib/json-types.h | 2 ++
8192 tests/test-parser.c | 10 ++++++++++
8193 5 files changed, 38 insertions(+), 7 deletions(-)
8195 commit c1b76a73e0b2c6e0c7afced10bd6079a0f5b0f5d
8196 Author: Emmanuele Bassi <ebassi@gnome.org>
8197 Date: Sun Sep 6 17:15:46 2009 +0100
8199 [parser] Clean up value parsing
8201 The code that parses a value within an object and an array should
8202 be moved to its own function to avoid duplication.
8204 json-glib/json-parser.c | 199 ++++++++++++++++++++----------------------------
8205 tests/test-parser.c | 9 ++-
8206 2 files changed, 86 insertions(+), 122 deletions(-)
8208 commit d3f005c27d9a8a46259205f2f8077fb01a6a3609
8209 Author: Emmanuele Bassi <ebassi@gnome.org>
8210 Date: Sun Sep 6 14:44:18 2009 +0100
8212 [docs] Use proper xi:include for indexes
8214 Instead of relying on gtk-doc we can do the proper inclusion of the
8215 API indexes using XInclude, complete with fallbacks.
8217 Also, we should include the additional pages that gtk-doc generates
8218 for us, like the annotations glossary and the object tree.
8220 doc/reference/json-glib-docs.xml | 17 +++++++++++++++++
8221 1 file changed, 17 insertions(+)
8223 commit 7442a3011a860f12cbd40b6687b699b0b648d6b7
8224 Author: Emmanuele Bassi <ebassi@gnome.org>
8225 Date: Wed Sep 2 16:41:51 2009 +0100
8227 [docs] Small documentation fixes
8229 Clean up some notes, and add introspection annotations where needed.
8231 json-glib/json-generator.c | 11 ++++++-----
8232 json-glib/json-gobject.c | 24 ++++++++++++------------
8233 json-glib/json-parser.c | 3 ++-
8234 3 files changed, 20 insertions(+), 18 deletions(-)
8236 commit d7d1e702b1d67fa1ec830a46650a02367ce1dd29
8237 Author: Emmanuele Bassi <ebassi@gnome.org>
8238 Date: Sun Aug 16 05:52:46 2009 +0100
8240 [docs] Remove note about normalization of member names
8242 The normalization of member names inside JsonObject was removed by
8243 commit 8a7e0f381dc7e49745680df92ebb428f18bf4832.
8245 json-glib/json-object.c | 6 +-----
8246 1 file changed, 1 insertion(+), 5 deletions(-)
8248 commit 9362ccc891c914dbcf1be6bd067b0b37ae688057
8249 Author: Emmanuele Bassi <ebassi@gnome.org>
8250 Date: Thu Aug 13 15:10:27 2009 +0100
8252 [docs] Generate new symbols index for 0.6 and 0.8
8254 doc/reference/json-glib-docs.xml | 8 ++++++++
8255 1 file changed, 8 insertions(+)
8257 commit 087bfe83412dca8de1b2dd67c74f490e44ecb96a
8258 Author: Emmanuele Bassi <ebassi@gnome.org>
8259 Date: Thu Aug 13 15:10:07 2009 +0100
8261 [docs] Remove the version number from the title
8263 doc/reference/json-glib-docs.xml | 11 ++++++++---
8264 1 file changed, 8 insertions(+), 3 deletions(-)
8266 commit c7d31d55b50b23c6c1067cb3541f73dddc12127a
8267 Author: Emmanuele Bassi <ebassi@gnome.org>
8268 Date: Thu Aug 13 15:08:56 2009 +0100
8270 [docs] Let gtk-doc build the correct index
8272 Use the --name-space command line argument for gtk-doc to detect the
8273 right namespace of JSON-GLib, and create a useful index.
8275 doc/reference/Makefile.am | 2 +-
8276 1 file changed, 1 insertion(+), 1 deletion(-)
8278 commit be07ba7b983b34231ad2f0fd7fe60ae47b14ce7e
8279 Author: Emmanuele Bassi <ebassi@gnome.org>
8280 Date: Thu Aug 13 14:51:42 2009 +0100
8282 [docs] Rename main file to json-glib-docs.xml
8284 doc/reference/Makefile.am | 36 +++++----
8285 doc/reference/json-glib-docs.sgml | 163 --------------------------------------
8286 doc/reference/json-glib-docs.xml | 163 ++++++++++++++++++++++++++++++++++++++
8287 3 files changed, 182 insertions(+), 180 deletions(-)
8289 commit 9661ff342b439b5b398f7bf9ba931d6139d5143d
8290 Author: Emmanuele Bassi <ebassi@gnome.org>
8291 Date: Wed Aug 12 16:09:33 2009 +0100
8293 Post-release version bump to 0.7.7
8296 1 file changed, 1 insertion(+), 1 deletion(-)
8298 commit d5922b42604c09ba7ebcb0adc1566d0a33a99808
8299 Author: Emmanuele Bassi <ebassi@gnome.org>
8300 Date: Wed Aug 12 16:06:40 2009 +0100
8302 [release] 0.7.6 (brown paper bag)
8305 1 file changed, 1 insertion(+), 1 deletion(-)
8307 commit 9a647104ca77d4c4272845fed4bfae028098afd3
8308 Author: Emmanuele Bassi <ebassi@gnome.org>
8309 Date: Wed Aug 12 15:56:00 2009 +0100
8311 Actually use the int64 support in the Scanner
8313 We switched everything to 64 bit integers but then I forgot to
8314 enable the support for actually making the tokenizer store the
8315 parsed integers into a 64 bit value.
8317 Bad Emmanuele, no cookie for you.
8319 json-glib/json-parser.c | 12 ++++++------
8320 json-glib/json-scanner.c | 1 +
8321 2 files changed, 7 insertions(+), 6 deletions(-)
8323 commit f3e0618ee1d8aa90d0ba22e9abe5c7d6b849e0ea
8324 Author: Emmanuele Bassi <ebassi@gnome.org>
8325 Date: Wed Aug 12 14:08:35 2009 +0100
8327 Post-release version bump to 0.7.5
8330 1 file changed, 1 insertion(+), 1 deletion(-)
8332 commit c1c691fc6b58a990ee9bb17504189064051d5a12
8333 Author: Emmanuele Bassi <ebassi@gnome.org>
8334 Date: Wed Aug 12 13:56:08 2009 +0100
8339 1 file changed, 1 insertion(+), 1 deletion(-)
8341 commit 12bc49ea08c50da9a7ed53c475fe873421432ebe
8342 Author: Emmanuele Bassi <ebassi@gnome.org>
8343 Date: Wed Aug 12 14:01:49 2009 +0100
8345 Update the NEWS file
8348 1 file changed, 2 insertions(+)
8350 commit 75b888c26eebf7784c5af045a8c6af353e56b2e9
8351 Author: Emmanuele Bassi <ebassi@gnome.org>
8352 Date: Wed Aug 12 13:59:52 2009 +0100
8354 [build] Use our libtool for the typelib
8356 When compiling the GIR into a .typelib file we can use our own
8357 libtool script; shave will proxy it to the right place.
8359 json-glib/Makefile.am | 20 +++++++++++---------
8360 1 file changed, 11 insertions(+), 9 deletions(-)
8362 commit d84c0f367b06e094ff693d60a724b9f141c33ca9
8363 Author: Emmanuele Bassi <ebassi@gnome.org>
8364 Date: Wed Aug 12 13:48:17 2009 +0100
8366 Disallow single header file inclusion
8368 The correct header file for JSON-GLib is, and has always been,
8369 json-glib.h. Anything else was not supported, as we've been
8370 moving around stuff for a while, now.
8372 This commit enforces the single include file, using the same
8373 policy enacted by other libraries, like: GLib, GTK+ and Clutter.
8375 json-glib/json-enum-types.h.in | 4 ++++
8376 json-glib/json-generator.h | 4 ++++
8377 json-glib/json-glib.h | 6 ++++++
8378 json-glib/json-parser.h | 4 ++++
8379 json-glib/json-types.h | 4 ++++
8380 json-glib/json-version.h.in | 4 ++++
8381 6 files changed, 26 insertions(+)
8383 commit 3adba015e1c1f9edc7b7b2c4364d65f813216225
8384 Author: Emmanuele Bassi <ebassi@gnome.org>
8385 Date: Wed Aug 12 13:46:46 2009 +0100
8387 [introspection] Use json-gobject.h
8389 The json-gobject.h header file includes json-glib.h and all the
8390 GObject-related serialization and deserialization API; we assume
8391 that if you want introspection you should be using this header
8392 and not the plain json-glib.h.
8394 json-glib/Makefile.am | 2 +-
8395 1 file changed, 1 insertion(+), 1 deletion(-)
8397 commit a9386e20bf8e16e17a89dda24781c63bf495aa97
8398 Author: Emmanuele Bassi <ebassi@gnome.org>
8399 Date: Wed Aug 12 13:46:05 2009 +0100
8401 [tests] Include json-glib.h
8403 Do not include json-types.h, use the correct global include.
8405 json-glib/tests/array-test.c | 2 +-
8406 json-glib/tests/node-test.c | 2 +-
8407 json-glib/tests/object-test.c | 2 +-
8408 3 files changed, 3 insertions(+), 3 deletions(-)
8410 commit 8a7e0f381dc7e49745680df92ebb428f18bf4832
8411 Author: Emmanuele Bassi <ebassi@gnome.org>
8412 Date: Wed Aug 12 12:29:34 2009 +0100
8414 Do not sanitize the object member's name
8416 JsonObject sanitizes the name of the member to replace all
8417 characters defined by G_STR_DELIMITERS with '_'. This is
8418 absolutely brain damaged, since a member name can be any
8421 Obviously, if a member name maps to a GObject property is
8422 entirely up to the GObject code to decide whether to sanitize
8423 the member name or not.
8425 json-glib/json-object.c | 35 ++++++-----------------------------
8426 1 file changed, 6 insertions(+), 29 deletions(-)
8428 commit ad638149c2cc1a17c0d2ad1482d932c8940c64e0
8429 Author: Emmanuele Bassi <ebassi@gnome.org>
8430 Date: Wed Aug 12 12:22:44 2009 +0100
8435 1 file changed, 2 insertions(+)
8437 commit d87b18675ac02f42be23bf4070134690b8b9934b
8438 Author: Emmanuele Bassi <ebassi@gnome.org>
8439 Date: Wed Aug 12 12:13:11 2009 +0100
8441 Auto-promote integer types to G_TYPE_INT64
8443 The JSON RFC does not specify the size of the integer type, thus
8444 implicitly falling back to machine-size.
8446 This would all be fine and dandy if some demented Web Developer (and
8447 I use the term "developer" *very much* loosely) did not decide to
8448 use integers to store unique identifiers for objects; obviously, you
8449 can't have more than 2^32-1 status messages in a database with
8450 millions of users who update their status multiple times per day.
8453 Anyway, some languages do a type auto-promotion from Integer to
8454 Long, thus pushing the limit of allowed positive values -- until the
8455 next integer overflow, that is. C, and GLib, do not do that
8456 transparently for us so we need to:
8458 - always use gint64 when parsing a JSON data stream using
8460 - move all the Node, Object and Array APIs to gint64
8461 - auto-promote G_TYPE_INT to G_TYPE_INT64 when setting
8463 - auto-promote and auto-demote G_TYPE_INT properties when
8464 (de)serializing GObjects.
8466 The GLib types used internally by JSON-GLib are, thus:
8468 integer -> G_TYPE_INT64
8469 boolean -> G_TYPE_BOOLEAN
8470 float -> G_TYPE_DOUBLE
8471 string -> G_TYPE_STRING
8473 json-glib/json-array.c | 4 +--
8474 json-glib/json-generator.c | 4 +--
8475 json-glib/json-gobject.c | 58 +++++++++++++++++++++++++++++++---------
8476 json-glib/json-node.c | 61 ++++++++++++++++++++++++++++++++++---------
8477 json-glib/json-object.c | 4 +--
8478 json-glib/json-types.h | 12 ++++-----
8479 json-glib/tests/array-test.c | 2 +-
8480 json-glib/tests/node-test.c | 14 +++++-----
8481 json-glib/tests/object-test.c | 2 +-
8482 tests/test-generator.c | 4 +--
8483 tests/test-parser.c | 4 +--
8484 tests/test-serialize-full.c | 9 ++-----
8485 12 files changed, 121 insertions(+), 57 deletions(-)
8487 commit 7411cadc0fdd9ffc2bd7004c9980913ac857a495
8488 Author: Emmanuele Bassi <ebassi@gnome.org>
8489 Date: Sun Jun 28 23:52:34 2009 +0100
8493 tests/test-parser.c | 98 ++++++++++++++++++++++++++---------------------------
8494 1 file changed, 49 insertions(+), 49 deletions(-)
8496 commit 112a8ec8dfd9c46304008b62e8ab256ed7714644
8497 Author: Emmanuele Bassi <ebassi@gnome.org>
8498 Date: Sun Jun 28 23:49:51 2009 +0100
8500 [parser] Advance the tokenizer to avoid an infinite loop
8502 The tokenizer is not advanced when we peek a base value and return.
8503 This causes an endless loop which terminates only if the OOM killer
8504 in the kernel gets the right process.
8506 Thanks to Thomas Weidner for catching and reporting the issue.
8508 json-glib/json-parser.c | 16 +++++++++++-----
8509 1 file changed, 11 insertions(+), 5 deletions(-)
8511 commit 4ecdd6bedb7961f3a33971aa1f2338115a60f7f3
8512 Author: Emmanuele Bassi <ebassi@gnome.org>
8513 Date: Sun Jun 28 23:48:36 2009 +0100
8515 [tests] Verify parsing base values
8517 A JSON document containing just a base value (null, true/false, an
8518 integer, a floating point value or a string) is still a valid JSON
8519 document, and JsonParser must create the correct JsonNode.
8521 tests/test-parser.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++
8522 1 file changed, 59 insertions(+)
8524 commit 9a3b7a020716e23f1330915f1768a7c00bffbeb5
8525 Author: Emmanuele Bassi <ebassi@gnome.org>
8526 Date: Thu Jun 25 10:37:43 2009 +0100
8528 [docs] Fix typo in JsonObject::set_object_member()
8530 The passed value is a pointer to a JsonObject, not to a JsonArray.
8532 json-glib/json-object.c | 2 +-
8533 1 file changed, 1 insertion(+), 1 deletion(-)
8535 commit 68d872f15022217c0ff1cf516aec917d600fd762
8536 Author: Rodrigo Moya <rodrigo@gnome-db.org>
8537 Date: Wed Jun 24 14:07:18 2009 +0200
8539 Use JSON_NODE_OBJECT, not JSON_NODE_ARRAY when creating the node in json_object_set_object_member
8541 Reviewed by Emmanuele Bassi
8543 json-glib/json-object.c | 2 +-
8544 1 file changed, 1 insertion(+), 1 deletion(-)
8546 commit 6e706fb2b7a371f25c169ed25d4b617f2dc05b63
8547 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8548 Date: Sun Jun 21 10:58:24 2009 +0100
8550 [generator] Pre-compute the escape table
8552 Instead of allocating the escape table to be used with g_strescape()
8553 for each string we can have it unrolled already in code.
8555 Thanks to: Christian Persch <chpe@gnome.org>
8559 http://bugzilla.openedhand.com/show_bug.cgi?id=1648
8561 json-glib/json-generator.c | 43 +++++++++++++++++++++++++++++++++----------
8562 1 file changed, 33 insertions(+), 10 deletions(-)
8564 commit a9416b7e2823f1fffe639d90bb352a337815a70e
8565 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8566 Date: Thu Jun 18 11:23:56 2009 +0100
8568 Post-release bump to 0.7.3
8571 1 file changed, 1 insertion(+), 1 deletion(-)
8573 commit 1d13a409bb911141653a75d44e90feac9bfc2862
8574 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8575 Date: Thu Jun 18 11:20:35 2009 +0100
8580 1 file changed, 1 insertion(+), 1 deletion(-)
8582 commit ff97e679522c52be6b5dfe0f851416cdeac7f921
8583 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8584 Date: Thu Jun 18 11:14:37 2009 +0100
8586 [release] Update NEWS
8588 NEWS | 19 +++++++++++++++++++
8589 1 file changed, 19 insertions(+)
8591 commit 182ca9cd9a3fabaa2533d841154856c61c570d08
8592 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8593 Date: Thu Jun 18 11:14:13 2009 +0100
8595 [build] Fixes for passing distcheck
8597 Makefile.am | 17 ++++++++++++-----
8598 build/Makefile.am | 2 ++
8599 build/autotools/Makefile.am | 4 +++-
8600 doc/reference/Makefile.am | 20 +++++++++++---------
8601 json-glib/Makefile.am | 27 ++++++++++++++-------------
8602 5 files changed, 42 insertions(+), 28 deletions(-)
8604 commit 019d8d4c1c56250cd507283c0fc478a38364e92a
8605 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8606 Date: Thu Jun 18 10:05:57 2009 +0100
8608 [build] Let gtk-doc ignore json-types-private.h
8610 The type definitions in json-types-private.h are not meant to be
8611 documented or scanned.
8613 doc/reference/Makefile.am | 1 +
8614 1 file changed, 1 insertion(+)
8616 commit 41649f049637864cfce21f6615c7d8bcaf3f03b8
8617 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8618 Date: Thu Jun 18 10:03:23 2009 +0100
8620 [docs] Update the README file
8622 README | 30 ++++++++++++++++++++----------
8623 1 file changed, 20 insertions(+), 10 deletions(-)
8625 commit 97fc00b1a5e3878074488ee93d9b52570983da1f
8626 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8627 Date: Thu Jun 18 10:03:05 2009 +0100
8629 [build] Use AS_CASE m4 macro, instead of AS_IF
8631 configure.ac | 30 ++++++++++++++++--------------
8632 1 file changed, 16 insertions(+), 14 deletions(-)
8634 commit 610cd260ac50c09809d6273c328ecea5a21f51bb
8635 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8636 Date: Thu Jun 18 10:02:39 2009 +0100
8638 [build] Require automake 1.10
8640 configure.ac | 6 +++---
8641 1 file changed, 3 insertions(+), 3 deletions(-)
8643 commit bddc717b8b6f2f1501c30f78159c20394665d335
8644 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8645 Date: Tue Jun 9 11:48:02 2009 +0100
8647 [build] Add introspection generation
8649 Build the Introspection data when compiling JSON-GLib; this way, the
8650 API should be available to other languages automatically.
8653 build/autotools/Makefile.am | 7 +++-
8654 build/autotools/introspection.m4 | 88 ++++++++++++++++++++++++++++++++++++++++
8655 configure.ac | 13 +++---
8656 json-glib/Makefile.am | 30 ++++++++++++++
8657 5 files changed, 135 insertions(+), 6 deletions(-)
8659 commit 3ddeb7a8779a4c51453289aa15af130af480eea6
8660 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8661 Date: Tue Jun 9 11:24:54 2009 +0100
8663 [build] Add AS_COMPILER_FLAGS
8665 Use the m4 AS_COMPILER_FLAGS macro to check for the maintainer
8666 compiler flags supported by the C compiler. This should allow the
8667 build to handle gracefully different versions of GCC.
8671 build/autotools/Makefile.am | 2 +-
8672 build/autotools/as-compiler-flag.m4 | 62 +++++++++++++++++++++++++++++++++++++
8673 configure.ac | 5 ++-
8674 5 files changed, 70 insertions(+), 2 deletions(-)
8676 commit 9f817eae9fe0d09441fa78b11ef148a3f4affe22
8677 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8678 Date: Tue Jun 9 11:21:19 2009 +0100
8680 [tests] Do not namespace with json-
8682 tests/test-generator.c | 10 +++++-----
8683 tests/test-parser.c | 18 +++++++++---------
8684 2 files changed, 14 insertions(+), 14 deletions(-)
8686 commit bde3da83b1a144fc0eff1db5a2aa790462bb685e
8687 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8688 Date: Tue Jun 9 11:15:53 2009 +0100
8690 [git ignore] Add m4 files under build/
8693 1 file changed, 3 insertions(+)
8695 commit c12786444e0175464295fb9a98c600060bffa0ed
8696 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8697 Date: Tue Jun 9 11:13:30 2009 +0100
8699 Fix license and copyright notices
8701 THere is no such thing as the "Lesser General Public License
8702 version 2": the LGPL v2 is the "Library GPL", and has been
8703 superceded by v2.1 with the new "Lesser GPL" name.
8705 Also, the copyright is now Intel Corp.
8707 json-glib/json-array.c | 8 ++++++--
8708 json-glib/json-generator.c | 8 ++++++--
8709 json-glib/json-generator.h | 8 ++++++--
8710 json-glib/json-glib.h | 23 +++++++++++++++++++++++
8711 json-glib/json-gobject.h | 8 ++++++--
8712 json-glib/json-node.c | 8 ++++++--
8713 json-glib/json-object.c | 9 ++++++---
8714 json-glib/json-parser.c | 8 ++++++--
8715 json-glib/json-parser.h | 8 ++++++--
8716 json-glib/json-version.h.in | 8 ++++++--
8717 10 files changed, 77 insertions(+), 19 deletions(-)
8719 commit 069cdc8c4ea9024b1583f074815e16e9ddf7db7f
8720 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8721 Date: Tue Jun 9 11:05:23 2009 +0100
8723 [node] Make JsonNode completely private
8725 The JsonNode structure has always been meant to be completely
8726 opaque; we indirectly exposed the :type member, but only for
8727 access through the JSON_NODE_TYPE() macro.
8729 Since that macro has become a proxy for the json_node_get_node_type()
8730 function we can safely move everything into a private, uninstalled
8731 header file and let JsonNode be completely opaque to the developer.
8733 json-glib/Makefile.am | 1 +
8734 json-glib/json-array.c | 9 +------
8735 json-glib/json-generator.c | 2 ++
8736 json-glib/json-gobject.c | 2 ++
8737 json-glib/json-node.c | 2 +-
8738 json-glib/json-object.c | 9 +------
8739 json-glib/json-parser.c | 2 ++
8740 json-glib/json-types-private.h | 61 ++++++++++++++++++++++++++++++++++++++++++
8741 json-glib/json-types.h | 38 ++++++++++----------------
8742 json-glib/tests/node-test.c | 8 +++---
8743 10 files changed, 89 insertions(+), 45 deletions(-)
8745 commit 930fdf4c4dff1f5310a946c2a9f5b6860f7c8ba8
8746 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8747 Date: Sun May 17 19:44:41 2009 +0100
8749 Add JsonArray iteration function
8751 Similarly to commit 3057a172 for JsonObject, the newly added
8752 json_array_foreach_element() iterates over a JSON array data
8755 doc/reference/json-glib-sections.txt | 2 ++
8756 json-glib/json-array.c | 35 ++++++++++++++++++++++++++
8757 json-glib/json-types.h | 21 ++++++++++++++++
8758 json-glib/tests/array-test.c | 48 ++++++++++++++++++++++++++++++++++++
8759 4 files changed, 106 insertions(+)
8761 commit 3057a1722e27a13b39ddec4754fb6abda1aea199
8762 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8763 Date: Sat May 16 20:09:07 2009 +0100
8765 Add JsonObject iteration function
8767 The json_object_foreach_member() function iterates over a JsonObject
8770 doc/reference/json-glib-sections.txt | 2 ++
8771 json-glib/json-object.c | 55 ++++++++++++++++++++++++++++++++++
8772 json-glib/json-types.h | 25 ++++++++++++++--
8773 json-glib/tests/object-test.c | 57 ++++++++++++++++++++++++++++++++++++
8774 4 files changed, 137 insertions(+), 2 deletions(-)
8776 commit 5778210462b8b7a1a5d98466508276f712ea8c47
8777 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8778 Date: Sat May 16 13:53:58 2009 +0100
8780 Update the enum types templates
8782 The autogenerated enumeration types registration code should
8783 be using the same pattern used by the G_DEFINE_TYPE() macros,
8784 with GOnce to enable atomic (and thread-safe) type registration.
8786 json-glib/json-enum-types.c.in | 18 +++++++++++++-----
8787 1 file changed, 13 insertions(+), 5 deletions(-)
8789 commit 43d4bd151cd6979ecc6fdad5fab3e7988117c7be
8790 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8791 Date: Sun Apr 19 00:36:08 2009 +0100
8793 [doap] Add a category element
8795 json-glib.doap | 1 +
8796 1 file changed, 1 insertion(+)
8798 commit 58999bddac74c176fbd8544fa2cd30e2f067d863
8799 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8800 Date: Fri Apr 17 15:45:42 2009 +0100
8802 [node] Add is_null() method
8804 The json_node_is_null() function is just a quick check for
8807 doc/reference/json-glib-sections.txt | 1 +
8808 json-glib/json-node.c | 20 ++++++++++++++++++++
8809 json-glib/json-types.h | 1 +
8810 3 files changed, 22 insertions(+)
8812 commit ba46d8e07a8e2dd50a3b1fff8b8c3303e3686480
8813 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8814 Date: Fri Apr 17 15:38:40 2009 +0100
8816 [node] Make JSON_NODE_TYPE call a function
8818 Second pass at adding type safety to the JsonNode type checks.
8820 The JSON_NODE_TYPE macro now calls the json_node_get_node_type()
8821 function which hides the JsonNode.type structure field and gives
8822 us a little bit more of future compatibility.
8824 json-glib/json-types.h | 2 +-
8825 1 file changed, 1 insertion(+), 1 deletion(-)
8827 commit d1e7d1ecd05687624f7149dad75a5fac9a645e72
8828 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8829 Date: Fri Apr 17 15:36:09 2009 +0100
8831 [node] Add function version of JSON_NODE_TYPE macro
8833 First pass at adding some type safety to the JsonNode type checks,
8834 and at removing every mention of the JsonNode interna fields.
8836 doc/reference/json-glib-sections.txt | 1 +
8837 json-glib/json-node.c | 18 ++++++++++++++++++
8838 json-glib/json-types.h | 5 +++--
8839 3 files changed, 22 insertions(+), 2 deletions(-)
8841 commit f2f43d17254317d35ea0cc8206592ecbcb856b68
8842 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8843 Date: Fri Apr 17 15:22:04 2009 +0100
8845 Intern the remaining type names
8847 JsonArray and JsonSerializable type names should be interned like
8848 the rest of the types.
8850 json-glib/json-array.c | 2 +-
8851 json-glib/json-gobject.c | 3 ++-
8852 2 files changed, 3 insertions(+), 2 deletions(-)
8854 commit bfcc50d5b199e72ed3e5a7556ac2294442e3ac55
8855 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8856 Date: Fri Apr 17 15:19:42 2009 +0100
8858 [docs] Remove newline from the version template
8860 The newline at the end of the version.xml.in file is retained
8861 when using its contents as the version entity in the API reference
8864 doc/reference/version.xml.in | 2 +-
8865 1 file changed, 1 insertion(+), 1 deletion(-)
8867 commit cbc92b72b2d7870a916f24055f8c2aa2371aa4ea
8868 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8869 Date: Fri Apr 17 15:02:44 2009 +0100
8871 [tests] Use the typed accessors in test-generator
8873 Other than using the GValue-based methods we should also be using
8874 the typed JsonNode accessors and the newly added JsonObject and
8875 JsonArray typed accessors.
8877 tests/test-generator.c | 63 ++++++++------------------------------------------
8878 1 file changed, 10 insertions(+), 53 deletions(-)
8880 commit e437ce609e333c5b8ede21174dfba032c1bbfb00
8881 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8882 Date: Fri Apr 17 14:49:25 2009 +0100
8884 Add convenience accessors to JsonArray
8886 Like commit 5bb6ea91 did for JsonObject, we should add typed
8887 convenience accessors to JsonArray in order to cut down the
8888 amount of nodes needed when parsing and generating JSON data
8891 As for JsonObject, the amount of types is small enough to avoid
8892 the combinatorial API explosion.
8894 doc/reference/json-glib-sections.txt | 22 +-
8895 json-glib/json-array.c | 386 +++++++++++++++++++++++++++++++++++
8896 json-glib/json-types.h | 57 ++++--
8897 3 files changed, 447 insertions(+), 18 deletions(-)
8899 commit 4819ca625d1b73270797f913495a3835297950c2
8900 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8901 Date: Fri Apr 17 11:44:01 2009 +0100
8903 Update after the json_object_add_member() deprecation
8905 Since json_object_add_member() has been deprecated and it's using
8906 a gcc compiler attribute to loudly complain while compiling the
8907 library, we should restore the sanity and use json_object_set_member()
8910 json-glib/json-gobject.c | 2 +-
8911 json-glib/json-parser.c | 6 +++---
8912 json-glib/tests/node-test.c | 2 +-
8913 json-glib/tests/object-test.c | 4 ++--
8914 tests/test-generator.c | 26 +++++++++++++-------------
8915 tests/test-serialize-complex.c | 4 ++--
8916 tests/test-serialize-full.c | 4 ++--
8917 7 files changed, 24 insertions(+), 24 deletions(-)
8919 commit 5bb6ea91accb1d35f0ea4dae8f2b8f71bdbd134d
8920 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8921 Date: Fri Apr 17 11:35:57 2009 +0100
8923 Deprecate add_member() and add set_member() and friends
8925 The add_member() method of JsonObject has wee bit weird semantics: if
8926 the member to be added already exists it prints a scary warning and
8927 returns - and yet it calls g_hash_table_replace() internally as if it
8928 overwrites the member.
8930 So, instead of changing semantics midway we can:
8932 - add a json_object_set_member() which adds a new member and
8933 overwrites existing members
8935 - deprecate json_object_add_member()
8937 While we're at it, we can add convenience wrappers for set_member()
8938 and get_member() that don't require us toying with nodes; luckily,
8939 since the amount of valid types we can add to a JsonObject is limited,
8940 this does not lead to a combinatorial API explosion.
8942 doc/reference/json-glib-sections.txt | 17 ++
8943 json-glib/json-object.c | 489 +++++++++++++++++++++++++++++++++--
8944 json-glib/json-types.h | 83 ++++--
8945 3 files changed, 555 insertions(+), 34 deletions(-)
8947 commit 2a768cb5e553afc4a9ac0d9bf1dc36a183821983
8948 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8949 Date: Thu Apr 16 19:57:11 2009 +0100
8951 [doap] Add GNOME extensions
8953 The GNOME project provides an extension to DOAP that allows the
8954 description of the maintainer/author of a project to specify the
8957 json-glib.doap | 3 +++
8958 1 file changed, 3 insertions(+)
8960 commit 17822292acb4d1c9b4f414ea0e4b858809d3b858
8961 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8962 Date: Thu Apr 16 18:18:45 2009 +0100
8964 [doap] Add 0.6 releases
8966 Describe the releases of the 0.6 cycle.
8968 json-glib.doap | 18 ++++++++++++++++++
8969 1 file changed, 18 insertions(+)
8971 commit 470f3a4299153362deea260c806d9b87870af3de
8972 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8973 Date: Thu Apr 16 18:03:31 2009 +0100
8975 Add JSON-GLib DOAP description
8977 Use DOAP (Description Of A Project) to describe JSON-GLib. The
8978 GNOME Cgit instance will pick up the DOAP file and update itself.
8980 json-glib.doap | 30 ++++++++++++++++++++++++++++++
8981 1 file changed, 30 insertions(+)
8983 commit 764a3f79fe0d8d13e24bd921a16a46f4603bcbf1
8984 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8985 Date: Thu Apr 16 11:28:24 2009 +0100
8987 Add MAINTAINERS file
8989 Every GNOME project needs a MAINTAINERS file.
8992 1 file changed, 3 insertions(+)
8994 commit f9956b4eadcfc9bbd5c0bc4b861ff782779e8a9a
8995 Author: Emmanuele Bassi <ebassi@linux.intel.com>
8996 Date: Tue Apr 14 00:09:35 2009 +0100
8998 [node] Do not overwrite when copying
9000 Bug 1353 - Copying JSON_NODE_VALUE nodes unreliable at best
9002 When copying a JsonNode to another we do an implicit memcpy using:
9006 Which works well enough with pointers, but makes a mess out of the
9009 We should just copy the type of the original JsonNode and leave the
9010 rest to the switch() block.
9012 In order to catch potential regressions, we also need a more
9013 thorough test unit for the JsonNode copy operation.
9015 json-glib/json-node.c | 2 +-
9016 json-glib/tests/node-test.c | 45 +++++++++++++++++++++++++++++++++++++++++++--
9017 2 files changed, 44 insertions(+), 3 deletions(-)
9019 commit e2c65a75d68aafa26f2084928e732961e48beb99
9020 Author: Emmanuele Bassi <ebassi@linux.intel.com>
9021 Date: Mon Apr 13 23:46:52 2009 +0100
9023 [build] Improve the build system
9025 Clean up the configure.ac and Makefile.am files to use something
9026 that is not entirely made of FAIL.
9028 Also, use Shave to sanitize the libtool and compiler incantations
9029 and restore sanity to the build system.
9033 build/Makefile.am | 1 +
9034 build/autotools/Makefile.am | 3 ++
9035 build/autotools/shave-libtool.in | 69 ++++++++++++++++++++++++++++++
9036 build/autotools/shave.in | 79 +++++++++++++++++++++++++++++++++++
9037 build/autotools/shave.m4 | 77 ++++++++++++++++++++++++++++++++++
9038 configure.ac | 90 +++++++++++++++++++++++-----------------
9039 json-glib/Makefile.am | 89 ++++++++++++++++++++-------------------
9040 9 files changed, 340 insertions(+), 82 deletions(-)
9042 commit 8080df63b4b4eae3b59d1214fc67f48149f49773
9043 Author: Emmanuele Bassi <ebassi@linux.intel.com>
9044 Date: Mon Apr 13 22:25:42 2009 +0100
9046 [parser] Prevent leaks on error codepaths
9048 Static analysis of the code showed some potential leaks inside
9049 error paths for JsonParser.
9051 Thanks to: Gordon Williams <gordon.williams@collabora.co.uk>
9053 json-glib/json-parser.c | 38 +++++++++++++++++++++++++++++++++-----
9054 1 file changed, 33 insertions(+), 5 deletions(-)
9056 commit ca329a7d5c1185cdf15fb85891693eca30295de1
9057 Author: Emmanuele Bassi <ebassi@linux.intel.com>
9058 Date: Mon Apr 13 22:30:05 2009 +0100
9060 [docs] Show an example of assignment
9062 Since I decided to rant about assignments in JSON definitions,
9063 I also need to show what an assignment looks like.
9065 json-glib/json-parser.c | 17 ++++++++++++-----
9066 1 file changed, 12 insertions(+), 5 deletions(-)
9068 commit b28d5894060aac1239e23665f42be3946b5450e7
9069 Author: Emmanuele Bassi <ebassi@linux.intel.com>
9070 Date: Mon Apr 13 22:29:36 2009 +0100
9074 Add more spaces and remove the ` from the error message.
9076 json-glib/json-parser.c | 18 ++++++++++++------
9077 1 file changed, 12 insertions(+), 6 deletions(-)
9079 commit a19a51df9e95e36edf949e68581731bd31959081
9080 Author: Emmanuele Bassi <ebassi@linux.intel.com>
9081 Date: Mon Apr 13 22:08:21 2009 +0100
9083 [tests] Use 'static' when registering enum types
9085 Bug 1393 - Regression tests fails on OpenBSD
9087 When registering a GEnumClass we need to set the GEnumValue array
9088 as static const because g_enum_register_static() does not contain
9089 the word "static" just for fun.
9091 Reported by: Jasper <jasper@humppa.nl>
9093 tests/test-serialize-full.c | 2 +-
9094 1 file changed, 1 insertion(+), 1 deletion(-)
9096 commit e583a9ec95f3d157091ec1e1a2ac8c493f0e23b2
9097 Author: Emmanuele Bassi <ebassi@linux.intel.com>
9098 Date: Mon Apr 13 22:04:10 2009 +0100
9100 [build] Use gnome-autogen script
9102 When setting up the build environment we should use the tools that
9103 GNOME provides instead of calling autoreconf.
9105 autogen.sh | 21 ++++++++-------------
9106 1 file changed, 8 insertions(+), 13 deletions(-)
9108 commit 1d92c73bc05423872581d513f355783d4864edd5
9109 Author: Emmanuele Bassi <ebassi@gnome.org>
9110 Date: Fri Nov 28 17:24:15 2008 +0000
9112 Abstract the loading code into its own function
9114 The load_from_file() method must set the is_filename/filename fields
9115 of the JsonParserPrivate structure, so that the error handler can
9116 use them to print out the file, as well as the line in case of
9119 Since load_from_data() needs to unset those two fields, to avoid
9120 printing invalid/stale information, we need to have a generic "load"
9121 function that can be invoked by both load_from_data() and
9122 load_from_file(), and leave the JsonParser object set up to those
9125 Hence, a private json_parser_load() has been added, moving most of
9126 the code out of json_parser_load_from_data(). This function does not
9127 perform type checks and requires that the length of the memory buffer
9128 containing the JSON data stream is already a positive integer.
9130 json-glib/json-parser.c | 175 ++++++++++++++++++++++++++++--------------------
9131 1 file changed, 103 insertions(+), 72 deletions(-)
9133 commit 6e7958785096806b3ffa60a4937642d713a051f2
9134 Author: Emmanuele Bassi <ebassi@gnome.org>
9135 Date: Fri Nov 28 17:19:17 2008 +0000
9137 Display the filename inside error messages
9139 Instead of just relaying the line number both when parsing files
9140 and memory buffers, JsonParser should also print out the file name
9141 in case it is available.
9143 The error message format should be make-like and emacs-friendly,
9146 filename:line_number: error message
9148 so that editors and development environments can parse the errors
9151 This commit adds the filename string, and a boolean flag for checking
9152 whether the filename is set, inside the JsonParser private data
9153 structure. The boolean flag is checked inside the JsonScanner error
9154 handler when populating the GError or when printing the warning
9157 json-glib/json-parser.c | 28 ++++++++++++++++++++++++++--
9158 1 file changed, 26 insertions(+), 2 deletions(-)
9160 commit a5bea353dead0bd69f9664df86050fc829a2dcd5
9161 Author: Emmanuele Bassi <ebassi@gnome.org>
9162 Date: Mon Nov 3 16:01:03 2008 +0000
9164 Bump to 0.7.1 after stable branch
9166 configure.ac | 6 +++---
9167 1 file changed, 3 insertions(+), 3 deletions(-)
9169 commit cf4c7360c69c0fe7587ec2456cd10839e1d0c1d6
9170 Author: Emmanuele Bassi <ebassi@gnome.org>
9171 Date: Mon Nov 3 15:51:21 2008 +0000
9173 Correctly terminate a string array
9175 When converting from a JsonArray of strings to a GStrv we need to
9176 add a NULL at the end of the GPtrArray we use to perform the
9179 This two lines patch fixes the issue.
9183 Patch by: Kouhei Sutou <kou@cozmixng.org>
9185 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
9187 json-glib/json-gobject.c | 4 +++-
9188 1 file changed, 3 insertions(+), 1 deletion(-)
9190 commit 9b94bc7f99063f45a2725861369f36b53ec3d440
9191 Author: Emmanuele Bassi <ebassi@openedhand.com>
9192 Date: Fri Jun 13 11:56:46 2008 +0100
9194 Sync up with the current stable release numbers
9196 configure.ac | 4 ++--
9197 1 file changed, 2 insertions(+), 2 deletions(-)
9199 commit 4dd392342003147d55eee98db50e11d344b287d4
9200 Author: Emmanuele Bassi <ebassi@openedhand.com>
9201 Date: Fri Jun 13 11:27:50 2008 +0100
9203 Fix a variable shadowing
9205 json-glib/json-generator.c | 3 ++-
9206 1 file changed, 2 insertions(+), 1 deletion(-)
9208 commit a02a42ef47e61456747e511556097b903f07d68a
9209 Merge: fdbad1c bc5c722
9210 Author: Emmanuele Bassi <ebassi@openedhand.com>
9211 Date: Fri Jun 13 11:23:08 2008 +0100
9213 Merge the fix for bug #965
9215 Merge branch 'bug-965'
9217 commit bc5c7225535ef447743ac59ecdba8c237549a108
9218 Author: Emmanuele Bassi <ebassi@openedhand.com>
9219 Date: Fri Jun 13 11:22:35 2008 +0100
9221 Conditionally compile the test suite
9223 If the --disable-glibtest command line switch has been given to the
9224 configure script, the test suite should be disabled and not built.
9226 This commit disables recursion in the tests/ and json-glib/tests
9227 when the ENABLE_GLIB_TEST Makefile conditional has been set.
9229 Makefile.am | 6 +++++-
9230 configure.ac | 3 +++
9231 json-glib/Makefile.am | 2 ++
9232 3 files changed, 10 insertions(+), 1 deletion(-)
9234 commit fdbad1cfd6ad6da9fab631f945ab8d2e85228fdf
9235 Author: Emmanuele Bassi <ebassi@openedhand.com>
9236 Date: Fri Jun 13 11:06:15 2008 +0100
9238 Escape to special characters in JsonGenerator
9240 When using json-glib to write a blog system, some deserialized objects
9241 were not been interpreted by javascript because there were line breaks
9242 in generated strings.
9244 Patch from Lincoln de Sousa.
9246 Bug #958 - JsonGenerator does not escape special characters
9248 Signed-off-by: Emmanuele Bassi <ebassi@openedhand.com>
9250 json-glib/json-generator.c | 17 ++++++++++++++++-
9251 1 file changed, 16 insertions(+), 1 deletion(-)
9253 commit 81c02ef3db6901655f8a7117e5e2675d37096daf
9254 Author: Emmanuele Bassi <ebassi@openedhand.com>
9255 Date: Sun May 18 11:56:04 2008 +0100
9257 Remove the include for json-scanner.h
9259 The json-scanner.h header file is not shipped with JSON-GLib anymore.
9261 json-glib/json-glib.h | 1 -
9262 1 file changed, 1 deletion(-)
9264 commit 9713843a4294b3e35a29125bf2bf1867a6443f27
9265 Author: Emmanuele Bassi <ebassi@openedhand.com>
9266 Date: Tue May 6 11:48:25 2008 +0100
9268 Remove debian packaging
9270 debian/changelog | 5 ----
9272 debian/control | 61 -----------------------------------------
9273 debian/copyright | 27 ------------------
9274 debian/libjson-glib-dev.install | 3 --
9275 debian/libjson-glib-doc.install | 1 -
9276 debian/libjson-glib-doc.links | 1 -
9277 debian/libjson-glib0.install | 1 -
9278 debian/rules | 12 --------
9279 9 files changed, 112 deletions(-)
9281 commit d67000ab6c5ae6710f48f0517c98600af7cdaa0e
9282 Author: Emmanuele Bassi <ebassi@openedhand.com>
9283 Date: Mon May 5 23:17:58 2008 +0100
9285 Update changelog for the debian packages
9287 debian/changelog | 3 +--
9288 1 file changed, 1 insertion(+), 2 deletions(-)
9290 commit 0830873edc5203655f04868184cedb428b6d2d54
9291 Author: Emmanuele Bassi <ebassi@openedhand.com>
9292 Date: Mon May 5 23:16:38 2008 +0100
9294 Update git ignore file
9296 .gitignore | 72 +++++++++++++++++++-------------------------------------------
9297 1 file changed, 22 insertions(+), 50 deletions(-)
9299 commit eb1cd29f78ff52e3ec3b063716fb86b5f2c5ae4a
9300 Author: Emmanuele Bassi <ebassi@openedhand.com>
9301 Date: Mon May 5 23:13:17 2008 +0100
9303 Remove Vala bindings
9305 Vala bindings are maintained out of tree, directly inside the Vala
9306 repository and official packages, so there's no point in duplicating
9310 configure.ac | 15 -----
9311 contrib/Makefile.am | 6 --
9312 contrib/json-glib-1.0.deps | 1 -
9313 contrib/json-glib-1.0.vapi | 139 ---------------------------------------------
9314 contrib/json-object.vala | 46 ---------------
9315 contrib/json-test.vala | 122 ---------------------------------------
9316 7 files changed, 1 insertion(+), 334 deletions(-)
9318 commit 094acd1663210e803a8dab496f6de8066ef11f44
9319 Author: Emmanuele Bassi <ebassi@openedhand.com>
9320 Date: Mon May 5 12:44:29 2008 +0100
9325 1 file changed, 1 insertion(+), 1 deletion(-)
9327 commit a725bac9a287883f2d4f32130c7faedb121f754b
9328 Author: Emmanuele Bassi <ebassi@openedhand.com>
9329 Date: Mon May 5 12:39:01 2008 +0100
9333 configure.ac | 4 ++--
9334 1 file changed, 2 insertions(+), 2 deletions(-)
9336 commit cd598180b12a212525427a8cddf11bc0ed4f1836
9337 Author: Emmanuele Bassi <ebassi@openedhand.com>
9338 Date: Mon May 5 12:38:50 2008 +0100
9340 Update NEWS for 0.6.0
9343 1 file changed, 5 insertions(+)
9345 commit 26479ec3c342889a2ee822bdf73f2e5fb6e170d7
9346 Merge: 8b5b5f6 7ff9134
9347 Author: Emmanuele Bassi <ebassi@openedhand.com>
9348 Date: Mon May 5 12:35:16 2008 +0100
9350 Add debian packaging to the master branch
9352 Merge branch 'debian-packaging'
9354 commit 8b5b5f6a4fdfb219897d75893889014f44ba4bb0
9355 Author: Emmanuele Bassi <ebassi@openedhand.com>
9356 Date: Mon May 5 12:34:35 2008 +0100
9358 Add json-scanner.h to the EXTRA_DIST content
9360 Fix a distcheck error because json-scanner.h is not packaged inside
9363 json-glib/Makefile.am | 1 +
9364 1 file changed, 1 insertion(+)
9366 commit 705a73eb3dfa2323ec86c1d299b567a15acde7a6
9367 Author: Emmanuele Bassi <ebassi@openedhand.com>
9368 Date: Mon May 5 12:24:22 2008 +0100
9370 Style fixes for the configure output
9372 configure.ac | 10 +++++-----
9373 1 file changed, 5 insertions(+), 5 deletions(-)
9375 commit e017d392a281594e350a8d74c142cbe014753d7e
9376 Author: Emmanuele Bassi <ebassi@openedhand.com>
9377 Date: Mon May 5 12:24:00 2008 +0100
9379 Fix typo in the libtool flags arguments
9381 The correct syntax for passing the versioning information to
9382 libtool is '-version-info', not '-versio-info'.
9385 1 file changed, 1 insertion(+), 1 deletion(-)
9387 commit 2051be2f7185733bbc62d10ec096538fec924638
9388 Author: Emmanuele Bassi <ebassi@openedhand.com>
9389 Date: Mon May 5 12:22:59 2008 +0100
9391 Add the Bugzilla URL to AC_INIT
9393 JSON-GLib has a bugzilla product on bugzilla.openedhand.com. By adding
9394 the URL to the configure.ac template, the configure script will print
9395 it when invoked with the --help command line switch.
9397 configure.ac | 7 ++++++-
9398 1 file changed, 6 insertions(+), 1 deletion(-)
9400 commit 4cb8a9078172c5f56ac5d56417b8656a7053df4a
9401 Author: Emmanuele Bassi <ebassi@openedhand.com>
9402 Date: Mon May 5 12:21:40 2008 +0100
9406 Make autogen.sh test for the location of the current directory, and
9407 warn if the checkout is not complete.
9409 If gtk-doc is not installed (for instance, on an embedded minimal
9410 set up), do not fail and just provide a stub gtk-doc.make.
9412 autogen.sh | 28 +++++++++++++++++++++++++---
9413 1 file changed, 25 insertions(+), 3 deletions(-)
9415 commit 1571fcddd6f2a245f4bb6ad64f82d24fc9c4cec0
9416 Author: Emmanuele Bassi <ebassi@openedhand.com>
9417 Date: Thu May 1 23:00:28 2008 +0100
9419 Test the deserialization of arrays of strings
9421 Arrays of strings are handled automatically by the GObject
9422 deserialization and serialization code. We need to test that
9423 they are correctly parsed and assigned to the instance.
9425 tests/test-serialize-full.c | 29 +++++++++++++++++++++++++++--
9426 1 file changed, 27 insertions(+), 2 deletions(-)
9428 commit 4c11d0969a44bb70acf6463ef6305999ff443be2
9429 Author: Emmanuele Bassi <ebassi@openedhand.com>
9430 Date: Thu May 1 22:58:55 2008 +0100
9432 Use an array to hold the strings in a vector
9434 Instead of building a GString by concatenating every string inside
9435 an array to deserialize the array into a string vector property,
9436 use a GPtrArray. This is far more efficient (no reallocations are
9437 necessary, as we know the size of the array) and safe (the separator
9438 used to build the string buffer and then split it might exist in
9439 one of the original strings).
9441 json-glib/json-gobject.c | 15 +++++----------
9442 1 file changed, 5 insertions(+), 10 deletions(-)
9444 commit 7ff91344d21b0c26d3a3a2834dbf09286cb1f904
9445 Author: Emmanuele Bassi <ebassi@openedhand.com>
9446 Date: Thu May 1 16:08:15 2008 +0100
9448 Remove control re-generation rule
9450 We don't have a template control, so there's not need to clean it
9451 up and regenerate it.
9453 This is why copying existing debian/rules templates is not a good
9454 idea unless you read the Debian packaging rules.
9456 debian/rules | 3 ---
9457 1 file changed, 3 deletions(-)
9459 commit e75321e64f17d69beac0c2e131572fe081680b08
9460 Author: Emmanuele Bassi <ebassi@openedhand.com>
9461 Date: Thu May 1 15:58:31 2008 +0100
9463 Add debian packaging files
9465 The debian packaging files are obviously needed to generate Debian
9466 packages for JSON-GLib.
9468 debian/changelog | 6 ++++
9470 debian/control | 61 +++++++++++++++++++++++++++++++++++++++++
9471 debian/copyright | 27 ++++++++++++++++++
9472 debian/libjson-glib-dev.install | 3 ++
9473 debian/libjson-glib-doc.install | 1 +
9474 debian/libjson-glib-doc.links | 1 +
9475 debian/libjson-glib0.install | 1 +
9476 debian/rules | 15 ++++++++++
9477 9 files changed, 116 insertions(+)
9479 commit 30f9d47ecf43a17610cd9c0074ff832bfa37593c
9480 Author: Emmanuele Bassi <ebassi@openedhand.com>
9481 Date: Thu Apr 24 15:47:11 2008 +0100
9483 Test the equality of the serialize string length
9485 tests/test-serialize-simple.c | 3 +++
9486 1 file changed, 3 insertions(+)
9488 commit 07c2b916dadb4b40fbaabf49f0e80941993cc2cf
9489 Author: Emmanuele Bassi <ebassi@openedhand.com>
9490 Date: Thu Apr 24 15:02:33 2008 +0100
9492 Export only the public symbols
9494 All the symbols starting with an underscore or with something that
9495 is not "json" are to considered private, and thus are not global
9496 to the shared object.
9498 json-glib/Makefile.am | 6 +++++-
9499 1 file changed, 5 insertions(+), 1 deletion(-)
9501 commit 179899e5da801fda0981a1d446ba420efd4021c1
9502 Author: Emmanuele Bassi <ebassi@openedhand.com>
9503 Date: Thu Apr 24 14:55:51 2008 +0100
9505 Update git ignore file
9508 1 file changed, 4 insertions(+)
9510 commit b0daf7e3a2529dd9950d77a96a10233d68778f32
9511 Author: Emmanuele Bassi <ebassi@openedhand.com>
9512 Date: Thu Apr 24 14:54:05 2008 +0100
9514 Include the newly added json-enum-types.h header
9516 When including json-glib/json-glib.h we get everything json-glib
9517 expose as a public symbol.
9519 json-glib/json-glib.h | 1 +
9520 1 file changed, 1 insertion(+)
9522 commit c7a7f429565195fe7aba56a254abf3637cf6fa8a
9523 Author: Emmanuele Bassi <ebassi@openedhand.com>
9524 Date: Thu Apr 24 14:52:54 2008 +0100
9526 Ignore the enumeration types header and the stamp file
9528 We don't need gtk-doc to look at those files; the enumeration
9529 types are already documented, and the get_type() function and
9532 doc/reference/Makefile.am | 2 ++
9533 1 file changed, 2 insertions(+)
9535 commit 053bf43c813799c5f59e9241217fe31c560b5885
9536 Author: Emmanuele Bassi <ebassi@openedhand.com>
9537 Date: Thu Apr 24 14:52:07 2008 +0100
9539 Install the autogenerated enum types header
9541 The enumeration GTypes are public and meant to be used by
9542 language bindings and other users of the library.
9544 json-glib/Makefile.am | 1 +
9545 1 file changed, 1 insertion(+)
9547 commit 5977d95866cd9763e97a47d6c9909e6a2fbf0ed1
9548 Author: Emmanuele Bassi <ebassi@openedhand.com>
9549 Date: Thu Apr 24 14:50:34 2008 +0100
9551 Autogenerate the GTypes for the enumerations
9553 json-glib/Makefile.am | 70 ++++++++++++++++++++++++++++++++++-----------------
9554 1 file changed, 47 insertions(+), 23 deletions(-)
9556 commit 356413e8840a614914b84f40b1d8476ba036ded4
9557 Author: Emmanuele Bassi <ebassi@openedhand.com>
9558 Date: Thu Apr 24 14:49:45 2008 +0100
9560 Add enumeration types templates for glib-mkenums
9562 The templates for glib-mkenums keep the Makefile.am sane and
9563 editable by mere mortals.
9565 json-glib/json-enum-types.c.in | 31 +++++++++++++++++++++++++++++++
9566 json-glib/json-enum-types.h.in | 26 ++++++++++++++++++++++++++
9567 2 files changed, 57 insertions(+)
9569 commit 7d57ffc03783defbfeb26e21a14e3df32555c29d
9570 Author: Emmanuele Bassi <ebassi@openedhand.com>
9571 Date: Mon Apr 21 10:57:05 2008 +0100
9573 Update git ignore file
9576 1 file changed, 1 insertion(+)
9578 commit 7d259e03b9a556d155ade87417ab26830c3e7684
9579 Author: Emmanuele Bassi <ebassi@openedhand.com>
9580 Date: Sun Apr 20 22:43:32 2008 +0100
9582 Validate the variable name in the assignment test
9584 Make sure that not only we report that there is an assignment
9585 and that the returned variable is not NULL, but also that the
9586 returned variable name is correct.
9588 tests/test-parser.c | 16 ++++++++++------
9589 1 file changed, 10 insertions(+), 6 deletions(-)
9591 commit 6899bca0dcf72dac0cad9dcf1a7cd10159d471e5
9592 Author: Emmanuele Bassi <ebassi@openedhand.com>
9593 Date: Sat Apr 19 23:22:29 2008 +0100
9595 Add more cases for the nested array parsing unit
9597 Try more combinations of elements inside an array with a nested
9600 tests/test-parser.c | 2 ++
9601 1 file changed, 2 insertions(+)
9603 commit 81addb645ac5fad28619bb660624902abe981377
9604 Author: Emmanuele Bassi <ebassi@openedhand.com>
9605 Date: Sat Apr 19 23:18:54 2008 +0100
9607 Add verbose messages
9609 The unicode escaping unit should have the same verbosity as the
9612 tests/test-parser.c | 4 ++++
9613 1 file changed, 4 insertions(+)
9615 commit 22a0db88c14895f98db76bca3cb078fbd3a2b07d
9616 Author: Emmanuele Bassi <ebassi@openedhand.com>
9617 Date: Sat Apr 19 23:09:32 2008 +0100
9619 Whitespace fixes in the licensing notice
9621 json-glib/json-scanner.h | 2 +-
9622 1 file changed, 1 insertion(+), 1 deletion(-)
9624 commit 676592cef006de16d966a1ca0469ccd0556f0e4b
9625 Author: Emmanuele Bassi <ebassi@openedhand.com>
9626 Date: Sat Apr 19 23:09:20 2008 +0100
9628 Documentation fixes in JsonNode
9630 json-glib/json-node.c | 6 +++---
9631 1 file changed, 3 insertions(+), 3 deletions(-)
9633 commit bf2249a1855b6bebe0b3528b4d5321a1ebe4b9e7
9634 Author: Emmanuele Bassi <ebassi@openedhand.com>
9635 Date: Sat Apr 19 23:08:20 2008 +0100
9637 Do not copy node data if it's not there
9639 If the source JsonNode does not contain data yet, do not try
9642 json-glib/json-node.c | 17 +++++++++++++----
9643 1 file changed, 13 insertions(+), 4 deletions(-)
9645 commit c191b2f8a8159457db3333390be10d6c7c0d4336
9646 Author: Emmanuele Bassi <ebassi@openedhand.com>
9647 Date: Sat Apr 19 23:05:03 2008 +0100
9649 Ignore json-scanner.h and its types
9651 When generating the documentation, ignore the JsonScanner header
9652 as it will not be installed.
9654 Also, we moved JsonTokenType from json-parser.h to json-scanner.h,
9655 where it belongs, so we can remove it from the (private) subsection
9656 of the json-parser section.
9658 doc/reference/Makefile.am | 7 ++++++-
9659 doc/reference/json-glib-sections.txt | 1 -
9660 2 files changed, 6 insertions(+), 2 deletions(-)
9662 commit ffbd9063556a061ba3e7e4223b924ae4766adfbd
9663 Author: Emmanuele Bassi <ebassi@openedhand.com>
9664 Date: Sat Apr 19 23:01:26 2008 +0100
9666 Do not install the JsonScanner header
9668 The JsonScanner tokenizer is an internal copy of GScanner: it should
9669 not be used outside JSON-GLib - JsonParser is the public API for
9672 json-glib/Makefile.am | 5 +++--
9673 1 file changed, 3 insertions(+), 2 deletions(-)
9675 commit df2a310a6ed0a3b32415f53076ff4c053b3fd925
9676 Author: Emmanuele Bassi <ebassi@openedhand.com>
9677 Date: Sat Apr 19 22:59:28 2008 +0100
9679 Fix the external gtk-doc references
9681 Gtk-doc can try and resolve the external symbols using the data
9682 currently installed in other locations.
9684 Since we are using GLib and GObject it would be nice to backlink
9685 to them inside our API reference.
9687 doc/reference/Makefile.am | 7 ++++---
9688 1 file changed, 4 insertions(+), 3 deletions(-)
9690 commit 6a3d8266efe505b29555db21658c241eba20fe2d
9691 Author: Emmanuele Bassi <ebassi@openedhand.com>
9692 Date: Sat Apr 19 22:57:05 2008 +0100
9694 Add GLIB_PREFIX variable
9696 The gtk-doc-fixref script needs to know the location of the
9697 libraries documentation; in order to get it, we can ask the
9698 pkg-config file of the library for its prefix.
9700 configure.ac | 5 +++++
9701 1 file changed, 5 insertions(+)
9703 commit 4e5ec69cce8ab27f965985ba69ea11224ae39ffd
9704 Author: Emmanuele Bassi <ebassi@openedhand.com>
9705 Date: Sat Apr 19 22:28:21 2008 +0100
9707 Update the description and dependencies
9710 1 file changed, 6 insertions(+), 1 deletion(-)
9712 commit f65a5d5e30a1242a899149b732d1139891876014
9713 Author: Emmanuele Bassi <ebassi@openedhand.com>
9714 Date: Sat Apr 19 18:05:45 2008 +0100
9719 1 file changed, 1 insertion(+), 1 deletion(-)
9721 commit ab0da7c61bde715e99dd16027b198c7760b30922
9722 Author: Emmanuele Bassi <ebassi@openedhand.com>
9723 Date: Sat Apr 19 18:01:57 2008 +0100
9725 Update for 0.5.0 release
9727 NEWS | 14 ++++++++++++++
9728 1 file changed, 14 insertions(+)
9730 commit 203927c71231cf6cec6d88161211702b7105df2d
9731 Author: Emmanuele Bassi <ebassi@openedhand.com>
9732 Date: Sat Apr 19 17:20:50 2008 +0100
9737 1 file changed, 1 insertion(+), 1 deletion(-)
9739 commit 76921ac27534aa0a25b39790ce4d99cf6e19a20c
9740 Author: Emmanuele Bassi <ebassi@openedhand.com>
9741 Date: Sat Apr 19 17:19:30 2008 +0100
9743 Verify the correct handling of Unicode escaping
9745 Check that JsonParser correctly handles Unicode characters escaped
9746 using the \uXXXX notation, as per RFC.
9748 tests/test-parser.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++
9749 1 file changed, 67 insertions(+)
9751 commit 379a2fe972c6e7436be9f345fe018bf4fe575354
9752 Author: Emmanuele Bassi <ebassi@openedhand.com>
9753 Date: Sat Apr 19 17:16:28 2008 +0100
9755 Add support for parsing \uXXXX into Unicode
9757 JsonScanner was forked from GScanner in order to support the
9758 JSON-specific Unicode escaping.
9760 JsonScanner now intercepts the \u escape character and, if it
9761 is followed by a hexadecimal value, it will retrieve the
9762 Unicode character encoded in the following 4 values and insert
9763 the character itself in the buffer.
9765 This allows full compatibility with JSON.
9767 json-glib/json-scanner.c | 56 ++++++++++++++++++++++++++++++++++++++++++------
9768 1 file changed, 50 insertions(+), 6 deletions(-)
9770 commit 9429ecaa88cdb6705189b6970481911f11339ff6
9771 Merge: d313aa1 445a3f7
9772 Author: Emmanuele Bassi <ebassi@openedhand.com>
9773 Date: Sat Apr 19 15:33:15 2008 +0100
9775 Merge master branch back for testing JsonScanner
9777 Merge branch 'master' into json-scanner
9779 commit 445a3f71d046abed4ff99e0ab4cd9cc8e047f5be
9780 Author: Emmanuele Bassi <ebassi@openedhand.com>
9781 Date: Sat Apr 12 13:21:21 2008 +0100
9783 Allow null nodes to return a value without a warning
9785 Value nodes might contain 'null' as a valid value, so the fast accessors
9786 should not barf out when encountering a JSON_NODE_NULL instead of the
9787 expected JSON_NODE_VALUE.
9789 json-glib/json-node.c | 21 +++++++++++++++------
9790 1 file changed, 15 insertions(+), 6 deletions(-)
9792 commit 4e826d9f209a8f68023bae54c91b2bbbb202a54a
9793 Merge: 98b6e5e 2a579b5
9794 Author: Emmanuele Bassi <ebassi@openedhand.com>
9795 Date: Thu Apr 3 16:32:53 2008 +0100
9797 Merge branch 'test-framework'
9799 commit 2a579b51f38df1c009201703279a3e6cb4f57eea
9800 Author: Emmanuele Bassi <ebassi@openedhand.com>
9801 Date: Thu Apr 3 16:31:48 2008 +0100
9803 Wrap the test report information section inside an info element
9805 Makefile.decl | 6 ++++--
9806 1 file changed, 4 insertions(+), 2 deletions(-)
9808 commit 8e2e539d02b84e0fe452174f3dfab06f35a4e6a1
9809 Author: Emmanuele Bassi <ebassi@openedhand.com>
9810 Date: Sun Mar 9 20:52:29 2008 +0000
9812 Add value testing to the JsonNode unit
9814 Test the GValue API for storing fundamental types into a JsonNode.
9816 json-glib/tests/node-test.c | 29 +++++++++++++++++++++++++++++
9817 1 file changed, 29 insertions(+)
9819 commit 646b90e79d3424a332064a6a1e9fc62d1ce99386
9820 Author: Emmanuele Bassi <ebassi@openedhand.com>
9821 Date: Wed Mar 5 17:43:06 2008 +0000
9823 Add package and version information to the test-report XML
9825 Makefile.decl | 2 ++
9826 1 file changed, 2 insertions(+)
9828 commit b8943381b0df44d9e6e21ae8321df2376c8458a8
9829 Author: Emmanuele Bassi <ebassi@openedhand.com>
9830 Date: Wed Mar 5 16:03:24 2008 +0000
9832 Add JsonObject test unit
9834 Use a similar test unit as the JsonArray one, testing creation, empty
9835 objects, addition and removal of members.
9838 json-glib/tests/Makefile.am | 17 +++++++-----
9839 json-glib/tests/object-test.c | 62 +++++++++++++++++++++++++++++++++++++++++++
9840 3 files changed, 75 insertions(+), 6 deletions(-)
9842 commit 7eab612d9b200aef197fa1dffa4f89b936c76b1f
9843 Author: Emmanuele Bassi <ebassi@openedhand.com>
9844 Date: Wed Mar 5 15:46:41 2008 +0000
9846 Add element removal unit to the Array test
9848 Remove the json_array_remove_element() call from the add-element test unit
9849 and set up a separate test case for the element removal. This keeps the
9852 json-glib/tests/array-test.c | 12 ++++++++++++
9853 1 file changed, 12 insertions(+)
9855 commit 6aa1ddb891594e0f567bc3ebeb3bf5d3ab8e7e0c
9856 Author: Emmanuele Bassi <ebassi@openedhand.com>
9857 Date: Tue Mar 4 13:07:08 2008 +0000
9859 Clean the test-report XML output, if found
9862 1 file changed, 1 insertion(+), 1 deletion(-)
9864 commit 6eee8282d327614380854d572b2680f40b2faaf5
9865 Author: Emmanuele Bassi <ebassi@openedhand.com>
9866 Date: Tue Mar 4 12:37:52 2008 +0000
9868 Update gitignore file
9870 .gitignore | 18 ++++++++----------
9871 1 file changed, 8 insertions(+), 10 deletions(-)
9873 commit d5cb48681c68c3d53d8ec331ef37fb60820a9421
9874 Author: Emmanuele Bassi <ebassi@openedhand.com>
9875 Date: Tue Mar 4 12:30:48 2008 +0000
9877 Build test-serialize-full
9879 Complete the porting of the old test suite into the new, GTest based one.
9881 The new test suite is automatically run with make test; make test-report
9882 will generate an XML report of the test.
9884 The API coverage for the data types is part of the json-glib/tests
9885 directory and will be expanded later.
9887 tests/Makefile.am | 8 +++++--
9888 tests/test-serialize-full.c | 56 ++++++++++++++++++++++++++++-----------------
9889 2 files changed, 41 insertions(+), 23 deletions(-)
9891 commit 1f6307ea2d7dc6ebe279d08b9f95f3074fbdd462
9892 Author: Emmanuele Bassi <ebassi@openedhand.com>
9893 Date: Tue Mar 4 12:18:19 2008 +0000
9895 Rename test-08 into test-serialize-full
9897 The test-08 case was the last numbered test unit.
9899 tests/test-08.c | 337 --------------------------------------------
9900 tests/test-serialize-full.c | 337 ++++++++++++++++++++++++++++++++++++++++++++
9901 2 files changed, 337 insertions(+), 337 deletions(-)
9903 commit cdb194e8d64343e8bcb00e046c5fbeefd677b02a
9904 Author: Emmanuele Bassi <ebassi@openedhand.com>
9905 Date: Tue Mar 4 12:17:29 2008 +0000
9907 Rename test-07 into test-serialize-complex
9909 The new test-serialize-complex adds a test unit for the JsonSerializable
9910 interface; the TestObject implements the serialization interface to
9911 create a JSON data type from a boxed GType.
9913 tests/Makefile.am | 4 +
9914 tests/test-07.c | 252 ---------------------------------------
9915 tests/test-serialize-complex.c | 261 +++++++++++++++++++++++++++++++++++++++++
9916 3 files changed, 265 insertions(+), 252 deletions(-)
9918 commit 4c766a029d8f6a2d06b749527020fd93fc4a4f99
9919 Author: Emmanuele Bassi <ebassi@openedhand.com>
9920 Date: Tue Mar 4 12:12:37 2008 +0000
9922 Fix compilation of test-serialize-simple and add it to the test suite
9924 The new test-serialize-simple tests the GObject integration for
9925 serializing simple GObjects into JSON.
9927 tests/Makefile.am | 4 ++++
9928 tests/test-serialize-simple.c | 5 +++--
9929 2 files changed, 7 insertions(+), 2 deletions(-)
9931 commit 325185c5955f8942ddf8d55a9e3b5d6a8c2723d1
9932 Author: Emmanuele Bassi <ebassi@openedhand.com>
9933 Date: Tue Mar 4 12:10:23 2008 +0000
9935 Rename test-06 to test-serialize-simple
9937 tests/test-06.c | 162 ------------------------------------------
9938 tests/test-serialize-simple.c | 162 ++++++++++++++++++++++++++++++++++++++++++
9939 2 files changed, 162 insertions(+), 162 deletions(-)
9941 commit cbea4698c1b7284d8004fff659a7354fb3af29ee
9942 Author: Emmanuele Bassi <ebassi@openedhand.com>
9943 Date: Tue Mar 4 12:09:44 2008 +0000
9945 Move test-06 to GTest API
9947 First pass into replacing the last three numbered tests into named
9950 tests/test-06.c | 28 ++++++++++++++++++----------
9951 1 file changed, 18 insertions(+), 10 deletions(-)
9953 commit 5cc1d3d6061830de403ccbc10c2414f29cd1cf82
9954 Author: Emmanuele Bassi <ebassi@openedhand.com>
9955 Date: Tue Mar 4 10:52:51 2008 +0000
9957 Coalesce JsonGenerator test cases into a single test unit
9959 Like we did for JsonParser, JsonGenerator has now a test unit checking the
9960 output of a DOM built and dumped into a buffer.
9962 For the arrays is quite easy to verify that the output is correct;
9963 unfortunately, JsonObject does not guarantee any ordering on the members,
9964 with it being an associative array. Hence, for the object test case we
9965 just compare the length of the output.
9967 tests/Makefile.am | 4 +
9968 tests/test-04.c | 238 -----------------------------
9969 tests/test-05.c | 227 ----------------------------
9970 tests/test-generator.c | 399 +++++++++++++++++++++++++++++++++++++++++++++++++
9971 4 files changed, 403 insertions(+), 465 deletions(-)
9973 commit e100c69a4fca046cbeb6db3fc8ba49160796d87c
9974 Author: Emmanuele Bassi <ebassi@openedhand.com>
9975 Date: Tue Mar 4 10:44:56 2008 +0000
9977 Append to EXTRA_DIST, since it was defined elsewhere
9979 contrib/Makefile.am | 2 +-
9980 1 file changed, 1 insertion(+), 1 deletion(-)
9982 commit 98b6e5e2f151c4ee800754675bf01e585fee850b
9983 Author: Emmanuele Bassi <ebassi@openedhand.com>
9984 Date: Tue Mar 4 07:05:01 2008 +0000
9988 README | 36 ++++++++++++++++++++++++++++++++++++
9989 1 file changed, 36 insertions(+)
9991 commit 1a078c783a5a03b3367ce59eb25248dd6e23b5c6
9992 Author: Emmanuele Bassi <ebassi@openedhand.com>
9993 Date: Tue Mar 4 07:05:01 2008 +0000
9997 README | 36 ++++++++++++++++++++++++++++++++++++
9998 1 file changed, 36 insertions(+)
10000 commit 44891ea1040ceae95a994b646174696de7779ea1
10001 Author: Emmanuele Bassi <ebassi@openedhand.com>
10002 Date: Tue Mar 4 06:44:59 2008 +0000
10004 Update gitignore file
10006 .gitignore | 11 +++++------
10007 1 file changed, 5 insertions(+), 6 deletions(-)
10009 commit 3ea189acf52ea39653c6505c136f1f45a660a24c
10010 Author: Emmanuele Bassi <ebassi@openedhand.com>
10011 Date: Tue Mar 4 06:34:11 2008 +0000
10013 Add validation to the simple object test values
10015 Like for the simple arrays test case, add validation of the values types
10016 for the members of the simple objects test case.
10018 tests/test-parser.c | 31 ++++++++++++++++++++++++-------
10019 1 file changed, 24 insertions(+), 7 deletions(-)
10021 commit 40b3e9330f482e002aea90b0c1a4b9db2adffff0
10022 Author: Emmanuele Bassi <ebassi@openedhand.com>
10023 Date: Tue Mar 4 06:27:24 2008 +0000
10025 Add validation of the simple array test values
10027 Instead of just checking that the array contains something, the simple-array
10028 test case should validate the contents of the array.
10030 The test now uses a struct defining:
10032 - the size of the array
10033 - an element to check
10034 - the type of the node for the element
10035 - the type of the value for the node
10037 All the fields are checked for a match. This makes the simple arrays test
10038 case more reliable.
10040 tests/test-parser.c | 40 +++++++++++++++++++++++++++++++---------
10041 1 file changed, 31 insertions(+), 9 deletions(-)
10043 commit 7e6dab14302b94979672acf81eec8710ea95e288
10044 Author: Emmanuele Bassi <ebassi@openedhand.com>
10045 Date: Sun Mar 2 17:44:27 2008 +0000
10047 Add array-test to the JSON-GLib types unit tests
10049 This simple unit will test the JsonArray API, as part of the coverage
10050 test for the JSON-GLib types.
10052 json-glib/tests/Makefile.am | 10 ++++++---
10053 json-glib/tests/array-test.c | 50 ++++++++++++++++++++++++++++++++++++++++++++
10054 2 files changed, 57 insertions(+), 3 deletions(-)
10056 commit 441ee88a6e024fc5ab2cf8355adad1fecc276088
10057 Author: Emmanuele Bassi <ebassi@openedhand.com>
10058 Date: Sun Mar 2 15:09:05 2008 +0000
10060 Coalesce test-03 into test-parser
10062 The third test under the tests/ directory was the last JsonParser test,
10063 dealing with object parsing. Now, test-parser is complete and contains
10064 all the JsonParser test cases. It still needs further testing to
10065 verify the DOM created by the parser object.
10067 tests/test-02.c | 225 ----------------------------------------------------
10068 tests/test-03.c | 214 -------------------------------------------------
10069 tests/test-parser.c | 167 ++++++++++++++++++++++++++++++++++++--
10070 3 files changed, 161 insertions(+), 445 deletions(-)
10072 commit 71db86d84a5544d603b03721891e0ad14f92178d
10073 Author: Emmanuele Bassi <ebassi@openedhand.com>
10074 Date: Sun Mar 2 14:58:58 2008 +0000
10076 Update the tests build to be a testing unit
10078 Instead of having stand alone tests, use the GTest framework and start
10079 coalescing multiple test cases into one.
10081 The tests directory will be used for JsonParser, JsonGenerator and
10082 the JSON-GObject integration API, by reusing the previous test cases
10083 and remolding them into a more interesting test framework.
10085 tests/Makefile.am | 39 +++++----------------------------------
10086 1 file changed, 5 insertions(+), 34 deletions(-)
10088 commit 1e6aa16a2a6432cf96d0a86d4650c13e63c67e43
10089 Author: Emmanuele Bassi <ebassi@openedhand.com>
10090 Date: Sun Mar 2 14:56:56 2008 +0000
10092 Remove old, empty string test
10094 tests/test-01.c | 57 ---------------------------------------------------------
10095 1 file changed, 57 deletions(-)
10097 commit 989c807fd61cc65c1e4058c5d0794ae2fe438ba1
10098 Author: Emmanuele Bassi <ebassi@openedhand.com>
10099 Date: Sun Mar 2 14:56:28 2008 +0000
10101 Rename JsonParser test, and coaelesce basic parser and array tests
10103 Instead of using a single test for empty strings and another test for
10104 arrays, merge the two into a single test unit, using the GTest API.
10106 The JsonObject parsing test will also be merged later.
10108 tests/test-parser.c | 262 ++++++++++++++++++++++++++++++++++++++++++++++++++++
10109 1 file changed, 262 insertions(+)
10111 commit f1e1c0e7796903abb725e8216fc54f53573ecdc9
10112 Author: Emmanuele Bassi <ebassi@openedhand.com>
10113 Date: Sun Mar 2 10:51:09 2008 +0000
10115 Port the empty string test to the GLib testing framework
10117 The old test-01 program tested the JsonParser with an empty string; instead
10118 of relying on the exit code and error messages on screen, it shoul use the
10121 This is the first test of the old test suite to be ported to the new test
10124 tests/test-01.c | 44 +++++++++++++++++++++++++++++++++++---------
10125 1 file changed, 35 insertions(+), 9 deletions(-)
10127 commit cb5b3d5fa6244b0d20258203bd9df7e3148af57b
10128 Author: Emmanuele Bassi <ebassi@openedhand.com>
10129 Date: Sun Mar 2 10:50:17 2008 +0000
10131 Add a JsonNode copy test unit
10133 The test unit copies a NULL JsonNode and checks that the copy and the
10134 original nodes are equivalent.
10136 json-glib/tests/node-test.c | 15 +++++++++++++++
10137 1 file changed, 15 insertions(+)
10139 commit 40c757835e329fe01f8f22aba74d2e47f3a5e55c
10140 Author: Emmanuele Bassi <ebassi@openedhand.com>
10141 Date: Sun Mar 2 10:49:52 2008 +0000
10143 Update Makefile templates to include the testing framework
10145 contrib/Makefile.am | 2 ++
10146 doc/Makefile.am | 2 ++
10147 doc/reference/Makefile.am | 1 +
10148 tests/Makefile.am | 38 ++++++++++++++++++++++++++++++++------
10149 4 files changed, 37 insertions(+), 6 deletions(-)
10151 commit 75939c2b43430583150b18f0a8e82e3d60a4f4f1
10152 Author: Emmanuele Bassi <ebassi@openedhand.com>
10153 Date: Sat Mar 1 19:35:47 2008 +0000
10155 Update gitignore file
10157 .gitignore | 4 ++++
10158 1 file changed, 4 insertions(+)
10160 commit e4be0d896359cc1d0ba99dd81a66855389ebd5df
10161 Author: Emmanuele Bassi <ebassi@openedhand.com>
10162 Date: Sat Mar 1 19:30:41 2008 +0000
10164 Add initial test suite support using GLib's new testing framework
10166 GLib 2.15 added a new test unit framework to the GLib API. It allows
10167 integrating unit testing into GLib and GObject based libraries and
10170 It requires a specially crafter Makefile holding a set of declarations,
10171 which must be included into the project own Makefile templates; then
10172 it is possible to drop tests inside a subdirectory, which will be built
10173 after the library or application, and executed upon "make check".
10175 At the moment, there is a simple test for the JsonNode API, with a
10176 single unit for the "null" node type.
10178 Makefile.am | 4 +++-
10179 Makefile.decl | 57 +++++++++++++++++++++++++++++++++++++++++++++
10180 configure.ac | 3 ++-
10181 json-glib/Makefile.am | 9 ++++++-
10182 json-glib/tests/Makefile.am | 15 ++++++++++++
10183 json-glib/tests/node-test.c | 27 +++++++++++++++++++++
10184 6 files changed, 112 insertions(+), 3 deletions(-)
10186 commit d313aa1e9e472834252ec173c0409eba11ebcff9
10187 Author: Emmanuele Bassi <ebassi@openedhand.com>
10188 Date: Fri Feb 29 16:40:33 2008 +0000
10193 1 file changed, 1 insertion(+)
10195 commit 8a2bb3c4400b9df6cd864eb29920a7767e8170c7
10196 Author: Emmanuele Bassi <ebassi@openedhand.com>
10197 Date: Fri Feb 29 16:37:18 2008 +0000
10199 Sanitize JsonScanner code
10201 Use a closure instead of (*eugh*) an array of gpointers and casting
10204 Also, use the Slice allocator for the ScannerKey structs.
10206 json-glib/json-scanner.c | 42 ++++++++++++++++++++----------------------
10207 1 file changed, 20 insertions(+), 22 deletions(-)
10209 commit 42f7800c5b1c30ff187fc824a9bb39565033488e
10210 Author: Emmanuele Bassi <ebassi@openedhand.com>
10211 Date: Fri Feb 29 16:01:48 2008 +0000
10213 Update JsonParser to fix compilation
10215 JsonParser now uses JsonScanner, the internal copy of GScanner.
10217 json-glib/json-parser.c | 33 +++++++++++++++++----------------
10218 1 file changed, 17 insertions(+), 16 deletions(-)
10220 commit 314f24fd0c8c6b024c93b1d8d275f9049ef22951
10221 Author: Emmanuele Bassi <ebassi@openedhand.com>
10222 Date: Fri Feb 29 16:00:55 2008 +0000
10224 Completely internalize the JsonScanner
10226 Rename all the API and the data types to the Json namespace, so we can
10227 use the internal copy instead of GScanner.
10229 json-glib/json-scanner.c | 639 ++++++++++++++++++++++++-----------------------
10230 json-glib/json-scanner.h | 6 +-
10231 2 files changed, 328 insertions(+), 317 deletions(-)
10233 commit 65708000ab02d0a4080b662bb409ac4b79101488
10234 Author: Emmanuele Bassi <ebassi@openedhand.com>
10235 Date: Fri Feb 29 16:00:30 2008 +0000
10237 Add JsonScanner to the build
10239 json-glib/Makefile.am | 2 ++
10240 1 file changed, 2 insertions(+)
10242 commit 8e27ac27a9b22361296564d740301c2c49b387f8
10243 Author: Emmanuele Bassi <ebassi@openedhand.com>
10244 Date: Fri Feb 29 15:59:57 2008 +0000
10246 Bump up autotools requirements
10248 Do not require an ancient version of automake, and settle for one slightly
10251 configure.ac | 4 ++--
10252 1 file changed, 2 insertions(+), 2 deletions(-)
10254 commit a475b0896d5760c893a099c9411f9790e5c492ba
10255 Author: Emmanuele Bassi <ebassi@openedhand.com>
10256 Date: Fri Feb 29 12:24:14 2008 +0000
10258 Update the JsonScanner default configuration
10260 json-glib/json-scanner.c | 84 +++++++++++++++++++++---------------------------
10261 1 file changed, 36 insertions(+), 48 deletions(-)
10263 commit 10ac1734b326700257ef318d9a2000c538b5cd38
10264 Author: Emmanuele Bassi <ebassi@openedhand.com>
10265 Date: Fri Feb 29 12:22:02 2008 +0000
10267 Use JsonScanner API into JsonParser
10269 Rename the GScanner function calls into JsonScanner, to see what we
10270 actually need to have public.
10272 Also, remove the configuration: JsonScanner will provide us with one.
10274 json-glib/json-parser.c | 127 +++++++++++++++++-------------------------------
10275 1 file changed, 44 insertions(+), 83 deletions(-)
10277 commit 4a4095c360fc29f766e8baba3529a78b6d736b19
10278 Author: Emmanuele Bassi <ebassi@openedhand.com>
10279 Date: Fri Feb 29 12:21:20 2008 +0000
10281 Add json-scanner.h to the exported headers
10283 json-glib/json-glib.h | 1 +
10284 1 file changed, 1 insertion(+)
10286 commit 469a22e4f1fac6b4fd8110823322b7fbfa9b6552
10287 Author: Emmanuele Bassi <ebassi@openedhand.com>
10288 Date: Fri Feb 29 12:13:54 2008 +0000
10290 Include JsonScanner into JsonParser
10292 json-glib/json-parser.c | 1 +
10293 1 file changed, 1 insertion(+)
10295 commit 8537549a5a65f3111a4436b69499664c167b1534
10296 Author: Emmanuele Bassi <ebassi@openedhand.com>
10297 Date: Fri Feb 29 12:10:16 2008 +0000
10299 Move JsonTokenType into JsonScanner
10301 The GTokenType extension enumeration belongs with the tokenizer.
10303 json-glib/json-parser.h | 15 ++-------------
10304 1 file changed, 2 insertions(+), 13 deletions(-)
10306 commit 1ddd45d36a3a25aa86a95c60e0c29e83687971bd
10307 Author: Emmanuele Bassi <ebassi@openedhand.com>
10308 Date: Fri Feb 29 12:06:19 2008 +0000
10310 Copy GScanner into JSON-GLib as JsonScanner
10312 Instead of writing our tokenizer we can fork GScanner and make a
10313 specialized version for JSON (as per RFC), luckily the licenses
10314 are compatible (LGPLv2.1 with "any later" clause).
10316 GScanner does not support Unicode "\uNNNN" escaping and we need to
10317 ensure UTF-8 strings as well.
10319 The API will mostly be the same, but the generic bits not used by
10320 JsonParser will be hidden: this is, after all, a specialized
10323 json-glib/json-scanner.c | 1809 ++++++++++++++++++++++++++++++++++++++++++++++
10324 json-glib/json-scanner.h | 167 +++++
10325 2 files changed, 1976 insertions(+)
10327 commit 3a9ec8f1ca9bf525875c3fbfaf1ab2f3c708bf36
10328 Author: Emmanuele Bassi <ebassi@openedhand.com>
10329 Date: Tue Jan 29 19:13:15 2008 +0000
10331 Update the JSON-GLib Vala bindings
10333 Add a dependencies file, so that valac can simply use the json-glib-1.0
10334 package and correcly chain up all the dependencies needed (at the moment,
10337 Update the vapi file to match with the GLib bindings with regards to the
10338 out length parameters and some weak pointers. The only way to properly
10339 solve the weak assignments issue would be to make JsonNode, JsonObject
10340 and JsonArray proper GObjects, or at least add reference counting to
10341 JsonNode. Not going to happend in 0.6, but it's worth adding it to the
10344 contrib/json-glib-1.0.deps | 1 +
10345 contrib/json-glib-1.0.vapi | 14 +++++------
10346 contrib/json-test.vala | 62 ++++++++++++++++++++++------------------------
10347 3 files changed, 38 insertions(+), 39 deletions(-)
10349 commit e8a59f086f43e5abd5414033ea8c9a886eb112ed
10350 Author: Emmanuele Bassi <ebassi@openedhand.com>
10351 Date: Tue Jan 29 19:12:35 2008 +0000
10353 Remove % from the pkg-config file rule
10355 Rules starting with '%' are a make-isms, and automake 1.10 complains a
10359 1 file changed, 1 insertion(+), 1 deletion(-)
10361 commit b6963328f3d8d8e85ca0b21f9bdeca77b5611019
10362 Author: Emmanuele Bassi <ebassi@openedhand.com>
10363 Date: Tue Jan 29 18:19:16 2008 +0000
10365 Remove json_parser_peek_root from the gtk-doc sections
10367 The json_parser_peek_root() function has been removed, and so we do not
10368 its symbol in the json-glib-sections.txt file anymore.
10370 doc/reference/json-glib-sections.txt | 1 -
10371 1 file changed, 1 deletion(-)
10373 commit 48079c2f580171235eecc298b0193022a67e0b79
10374 Author: Emmanuele Bassi <ebassi@openedhand.com>
10375 Date: Tue Jan 29 18:18:01 2008 +0000
10377 Update after the JsonParser::get_root change
10379 Do not free the root node returned by the get_root() method in the
10380 JSON-GObject API and in the JsonParser tests.
10382 json-glib/json-gobject.c | 4 +---
10383 tests/test-01.c | 2 +-
10384 tests/test-02.c | 2 --
10385 tests/test-03.c | 2 --
10386 4 files changed, 2 insertions(+), 8 deletions(-)
10388 commit a86a300fdc256ad4270881cf9b7b97367cd87c87
10389 Author: Emmanuele Bassi <ebassi@openedhand.com>
10390 Date: Tue Jan 29 18:14:49 2008 +0000
10392 Revert JsonParser::get_root semantics
10394 The get_root() method should not return a copy of the parsed node: it is
10395 up to the developer copying it, if it needs to be kept around across multiple
10398 This commit reverts the 0b6b09c0 commit, by removing the peek_root() method
10399 and restoring the previous get_root() method behaviour.
10401 json-glib/json-parser.c | 26 ++------------------------
10402 json-glib/json-parser.h | 1 -
10403 2 files changed, 2 insertions(+), 25 deletions(-)
10405 commit 9a167068edcde51b50a15bab4ee8623994eb9c04
10406 Author: Emmanuele Bassi <ebassi@openedhand.com>
10407 Date: Mon Jan 28 11:02:30 2008 +0000
10409 Use the normalized member name in has_member
10411 The json_object_has_member() used the passed in member name, instead of
10412 the correctly normalized one.
10414 json-glib/json-object.c | 2 +-
10415 1 file changed, 1 insertion(+), 1 deletion(-)
10417 commit f2f08d282ac6bc69ba9029d065979b1332abd5a5
10418 Author: Emmanuele Bassi <ebassi@openedhand.com>
10419 Date: Sun Jan 27 21:26:51 2008 +0000
10421 Extract the parser state clearing into its own function
10423 The JsonParser object clears its state upon starting the parsing sequence
10424 or during the instance destruction process. It's worth moving the free
10425 and unref calls into their own function to be called by the load_from_data()
10426 and dispose methods. As further optimisation, inlining them should be
10429 json-glib/json-parser.c | 51 +++++++++++++++++++++++++++++--------------------
10430 1 file changed, 30 insertions(+), 21 deletions(-)
10432 commit 629d4a54913c578d7b612f10d9b04addc8e0c7fb
10433 Author: Emmanuele Bassi <ebassi@openedhand.com>
10434 Date: Tue Dec 25 21:44:03 2007 +0000
10436 Wrap config.h include with conditionals
10438 Including the autotools generated config.h should always be conditional
10439 on the HAVE_CONFIG_H definitions.
10441 json-glib/json-array.c | 2 ++
10442 json-glib/json-generator.c | 2 ++
10443 json-glib/json-gobject.c | 2 ++
10444 json-glib/json-node.c | 3 +++
10445 json-glib/json-object.c | 2 ++
10446 5 files changed, 11 insertions(+)
10448 commit e172e9ccec88999e7d8433df08d8d92568537cf7
10449 Author: Emmanuele Bassi <ebassi@openedhand.com>
10450 Date: Tue Dec 25 21:41:44 2007 +0000
10452 Kill off a few indirections
10454 Use an intermediary pointer to avoid a lot of pointer dereferences
10456 json-glib/json-parser.c | 25 ++++++++++++++-----------
10457 1 file changed, 14 insertions(+), 11 deletions(-)
10459 commit 61a6a144a2182946be4fb975d05e1c26d814c323
10460 Author: Emmanuele Bassi <ebassi@openedhand.com>
10461 Date: Tue Dec 25 11:55:36 2007 +0000
10463 Some miscellaneous fixes to the Vala bindings
10465 Expose the properties as members and remove the accessor methods in case
10466 it's obvious that they are just function proxies.
10468 Also, start binding the basic GObject API, even though no serializable
10469 support is ready, yet.
10471 contrib/json-glib-1.0.vapi | 21 ++++++++++--
10472 contrib/json-object.vala | 10 ++++--
10473 contrib/json-test.vala | 81 +++++++++++++++++++++++++++++++++-------------
10474 3 files changed, 85 insertions(+), 27 deletions(-)
10476 commit 8ec0c93715f6f43e4829a6f3ac534f9ec05e0363
10477 Author: Emmanuele Bassi <ebassi@openedhand.com>
10478 Date: Tue Dec 25 11:53:04 2007 +0000
10480 Provide a default implementation of JsonSerializable
10482 The JsonSerializable interface can provide a default implementation, using
10483 the powers of GTypeInterface. This means that classes implementing the
10484 interface can opt to implement both, either or none of the JsonSerializable
10485 methods, and still be able to retain some basic functionality for the methods
10486 they decide not to implement.
10488 json-glib/json-gobject.c | 208 +++++++++++++++++++++++++++--------------------
10489 1 file changed, 120 insertions(+), 88 deletions(-)
10491 commit 5bb6dd7b77dcd0d1996f484990223287d2144ff3
10492 Author: Emmanuele Bassi <ebassi@openedhand.com>
10493 Date: Tue Dec 25 11:51:20 2007 +0000
10495 Plug a leak when loading a new buffer with the same parser
10497 When the same JsonParser loads a different buffer it needs to clear out the
10498 current state; this means clearing the variable_name string it saves when
10499 the passed JSON stream is a JavaScript assignment.
10501 json-glib/json-parser.c | 2 ++
10502 1 file changed, 2 insertions(+)
10504 commit a90a842f269314c4423de9d84d03391a8efbd7b5
10505 Author: Emmanuele Bassi <ebassi@openedhand.com>
10506 Date: Tue Dec 25 11:49:20 2007 +0000
10508 Use gssize for the buffer length parameter
10510 Since we allow a negative value, meaning "take the whole string", for the
10511 length parameter, when need a signed size_t. This also fixes the bug where
10512 we implicitly always computed the buffer length and discarded the passed
10515 json-glib/json-parser.c | 10 +++++-----
10516 json-glib/json-parser.h | 2 +-
10517 2 files changed, 6 insertions(+), 6 deletions(-)
10519 commit 7229b9bf0bd15c6c1e5b695f8e291218a041ab45
10520 Author: Emmanuele Bassi <ebassi@openedhand.com>
10521 Date: Tue Dec 25 11:47:10 2007 +0000
10523 Initialise to zero when creating/copying a JsonNode
10525 Avoid feeding garbage to the callers by using g_slice_new0().
10527 json-glib/json-node.c | 9 +++++----
10528 1 file changed, 5 insertions(+), 4 deletions(-)
10530 commit ba7282dd23e2980203208cb73942535bfefa5906
10531 Author: Emmanuele Bassi <ebassi@openedhand.com>
10532 Date: Tue Dec 25 11:45:56 2007 +0000
10534 Do not leak the intermediate strings when generating JSON
10536 Found this very dumb leak while using Valgrind.
10538 json-glib/json-generator.c | 6 ++++++
10539 1 file changed, 6 insertions(+)
10541 commit 193aca9aabbfc3db8e1faca0a65b19ac7ba96341
10542 Author: Emmanuele Bassi <ebassi@openedhand.com>
10543 Date: Tue Dec 25 11:44:18 2007 +0000
10545 Do not free the pointer to the boxed type we get when serialising
10547 The pointer returned by g_value_get_boxed() is just a pointer to the internal
10548 copy inside GValue, and it's not ours to free, as Valgrind gently pointed
10551 tests/test-07.c | 2 --
10552 1 file changed, 2 deletions(-)
10554 commit a6fae2d61b1cfefa742574761edc19c8d6f702f5
10555 Author: Emmanuele Bassi <ebassi@openedhand.com>
10556 Date: Thu Nov 22 16:00:35 2007 +0000
10558 Add a simple Vala serialization example
10560 We don't provide the Serializable interface at the moment, because it
10561 is too much C-oriented. This example shows how to serialize a class in
10562 Vala to a JSON string.
10564 contrib/json-object.vala | 40 ++++++++++++++++++++++++++++++++++++++++
10565 1 file changed, 40 insertions(+)
10567 commit ea6cc8756f70d488eae128e4a01f63ce2766cc3a
10568 Author: Emmanuele Bassi <ebassi@openedhand.com>
10569 Date: Thu Nov 22 15:59:25 2007 +0000
10571 Omit the lenght argument now that we provide a default
10573 contrib/json-test.vala | 2 +-
10574 1 file changed, 1 insertion(+), 1 deletion(-)
10576 commit 9492f3439dd491bb5afadfe6b2bd49a72ec9bb1e
10577 Author: Emmanuele Bassi <ebassi@openedhand.com>
10578 Date: Thu Nov 22 15:58:23 2007 +0000
10580 Fix the Vala bindings
10582 Miscellaneous fixes for the Vala bindings of JSON-GLib:
10583 * add missing return values for a couple of methods
10584 * decorate the Object and Array constructors with their C names
10585 * correctly transfer the ownership when adding members/elements
10586 * add the non-null value marker for strings
10587 * provide default values for the length argument in from_data()/to_data()
10589 contrib/json-glib-1.0.vapi | 20 +++++++++++---------
10590 1 file changed, 11 insertions(+), 9 deletions(-)
10592 commit a255b4f5eb8769c444a9ac3a4cc7404fccd44ee3
10593 Author: Emmanuele Bassi <ebassi@openedhand.com>
10594 Date: Thu Nov 22 00:01:37 2007 +0000
10596 Recurse into the contrib directory only if Vala is available
10598 If Vala is not available then there's no point in getting into the
10599 contrib directory. This might change in the future, so we already
10600 have the HAVE_VALA conditional for the Makefiles.
10602 Makefile.am | 8 +++++++-
10603 configure.ac | 3 +++
10604 2 files changed, 10 insertions(+), 1 deletion(-)
10606 commit aa8911ca4d63bfb3dd34997f9a745d70d12673af
10607 Author: Emmanuele Bassi <ebassi@openedhand.com>
10608 Date: Wed Nov 21 20:44:08 2007 +0000
10610 Update the test case for the Vala bindings
10612 contrib/json-test.vala | 4 ++--
10613 1 file changed, 2 insertions(+), 2 deletions(-)
10615 commit 7083e9e6733611b5313f0708c4b93b9726ef26d0
10616 Author: Emmanuele Bassi <ebassi@openedhand.com>
10617 Date: Wed Nov 21 20:43:35 2007 +0000
10619 Wrap the newly added API in the Vala bindings
10621 Add the Json.Object.dup_member() and Json.Array.dup_element() functions.
10622 Also, export the JSON_NODE_TYPE() macro as Json.Node.type() method.
10624 contrib/json-glib-1.0.vapi | 8 ++++++--
10625 1 file changed, 6 insertions(+), 2 deletions(-)
10627 commit 9d4588e97a88960a4dd6a28debb3cb0f8d75f098
10628 Author: Emmanuele Bassi <ebassi@openedhand.com>
10629 Date: Wed Nov 21 20:42:07 2007 +0000
10631 Add symbols of the newly committed API
10633 doc/reference/json-glib-sections.txt | 3 +++
10634 1 file changed, 3 insertions(+)
10636 commit cf2eceeb69ccbda4f2ff583ee7869c7fd3cda603
10637 Author: Emmanuele Bassi <ebassi@openedhand.com>
10638 Date: Wed Nov 21 20:41:42 2007 +0000
10640 Add API to retrieve copies of the nodes inside objects and arrays
10642 Getting copies of the nodes might work better for high level languages
10643 binding the JSON-GLib API, because they can manage the lifetime of the
10644 returned values using their own rules.
10646 json-glib/json-array.c | 29 +++++++++++++++++++++++++++++
10647 json-glib/json-object.c | 29 +++++++++++++++++++++++++++++
10648 json-glib/json-types.h | 4 ++++
10649 3 files changed, 62 insertions(+)
10651 commit 5a4a8761af0562fbee8e1a56ce1771a20c1ad8e3
10652 Author: Emmanuele Bassi <ebassi@openedhand.com>
10653 Date: Wed Nov 21 20:07:12 2007 +0000
10655 Fix leaks in the test suite
10657 Dispose the root node when using the JsonParser and JsonGenerator
10658 objects after the change in sematics for their accessors.
10660 tests/test-01.c | 2 +-
10661 tests/test-02.c | 2 ++
10662 tests/test-03.c | 2 ++
10663 tests/test-04.c | 8 ++++++++
10664 tests/test-05.c | 6 ++++++
10665 5 files changed, 19 insertions(+), 1 deletion(-)
10667 commit ac699263493e09eeb203f9bf88c0a8296f9e4a8f
10668 Author: Emmanuele Bassi <ebassi@openedhand.com>
10669 Date: Wed Nov 21 20:06:06 2007 +0000
10671 Free the root node obtained using json_parser_get_root()
10673 Update json_construct_gobject() to the change of behaviour in the
10674 root node getter function of JsonParser.
10676 json-glib/json-gobject.c | 2 ++
10677 1 file changed, 2 insertions(+)
10679 commit 0b6b09c0fe2fdd21b18593192e7213d1b0098f12
10680 Author: Emmanuele Bassi <ebassi@openedhand.com>
10681 Date: Wed Nov 21 20:05:07 2007 +0000
10683 Change json_parser_get_root() semantics
10685 The json_parser_get_root() returns a pointer to the root node. This does
10686 not conform to the API naming convention inherited from GLib, where
10687 functions returning an internal pointer are called "peek" and function
10688 returning a copy are called "get".
10690 Thus, json_parser_get_root() will now return a copy of the root node and
10691 it is left to the developer to free the returned JsonNode.
10693 A function returning the pointer has also been added, and it's called
10694 json_parser_peek_root().
10696 json-glib/json-parser.c | 26 ++++++++++++++++++++++++--
10697 json-glib/json-parser.h | 2 ++
10698 2 files changed, 26 insertions(+), 2 deletions(-)
10700 commit 5f110dc5ad338497c95418b9ad1b267c95fb8ded
10701 Author: Emmanuele Bassi <ebassi@openedhand.com>
10702 Date: Wed Nov 21 18:39:04 2007 +0000
10704 Add JSON-GLib Vala bindings
10706 Add bindings for the basic JSON-GLib API. GObject API will arrive later.
10709 configure.ac | 12 +++++
10710 contrib/Makefile.am | 4 ++
10711 contrib/json-glib-1.0.vapi | 118 +++++++++++++++++++++++++++++++++++++++++++++
10712 contrib/json-test.vala | 87 +++++++++++++++++++++++++++++++++
10713 5 files changed, 222 insertions(+), 1 deletion(-)
10715 commit 557a60b4e0f1fd6fc0fa79efc60f9bfd777e0670
10716 Author: Emmanuele Bassi <ebassi@openedhand.com>
10717 Date: Wed Nov 21 14:52:15 2007 +0000
10719 Use a unicode character for the indent-char property of JsonGenerator
10721 The indent character should be any Unicode character available instead
10724 json-glib/json-generator.c | 16 ++++++++--------
10725 tests/test-05.c | 6 +++++-
10726 2 files changed, 13 insertions(+), 9 deletions(-)
10728 commit 5fc37f8f2a1594821623419f75ceaa4b95fe07cf
10729 Author: Emmanuele Bassi <ebassi@openedhand.com>
10730 Date: Wed Nov 21 01:39:00 2007 +0000
10732 Add the indent-char property to JsonGenerator
10734 The JsonGenerator:indent-char can be used to control the character that
10735 indents the lines when pretty printing.
10737 json-glib/json-generator.c | 54 ++++++++++++++++++++++++++++++++++------------
10738 1 file changed, 40 insertions(+), 14 deletions(-)
10740 commit 58133b51152ca76b8cb5c93b5991f9b1a565e9a9
10741 Author: Emmanuele Bassi <ebassi@openedhand.com>
10742 Date: Wed Nov 21 01:20:20 2007 +0000
10744 Use G_TYPE_DOUBLE when dumping a value.
10746 JsonNode of type value for floating point numbers is G_TYPE_DOUBLE
10747 and not G_TYPE_FLOAT anymore.
10749 json-glib/json-generator.c | 4 ++--
10750 1 file changed, 2 insertions(+), 2 deletions(-)
10752 commit 80006db7bcea2bd8c44a648a64ba3da6a05a6fd1
10753 Author: Emmanuele Bassi <ebassi@openedhand.com>
10754 Date: Tue Nov 20 18:30:42 2007 +0000
10756 Test correct deserialization of enum values
10758 Update the GObject deserialization test suite to check for the correct
10759 deserialization of the enum/flags values.
10761 tests/test-08.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++-------
10762 1 file changed, 53 insertions(+), 7 deletions(-)
10764 commit 1110e098fa879abf7f67f24af2a1b736ce359dd6
10765 Author: Emmanuele Bassi <ebassi@openedhand.com>
10766 Date: Tue Nov 20 18:20:33 2007 +0000
10768 Allow deserialization of strings into enums/flags
10770 If the target value is a G_TYPE_ENUM or a G_TYPE_FLAGS we can effectively
10771 deserialize a string into the corresponding value (or bit mask) using
10772 the introspection API for the GEnum and GFlags types.
10774 This code is taken from ClutterScript and it was adapted from GtkBuilder.
10776 json-glib/json-gobject.c | 170 +++++++++++++++++++++++++++++++++++++++++++++++
10777 1 file changed, 170 insertions(+)
10779 commit 2674ce68e574cebeca147944cf748b41fbe27507
10780 Author: Emmanuele Bassi <ebassi@openedhand.com>
10781 Date: Tue Nov 13 11:34:05 2007 +0000
10785 configure.ac | 2 +-
10786 1 file changed, 1 insertion(+), 1 deletion(-)
10788 commit c1547eb3aba6f09b3ce4c23bd66a798e03b35a34
10789 Author: Emmanuele Bassi <ebassi@openedhand.com>
10790 Date: Tue Nov 13 11:29:19 2007 +0000
10795 configure.ac | 2 +-
10796 2 files changed, 10 insertions(+), 1 deletion(-)
10798 commit 03325e108e40d5deba979852ee402d7d6579ac81
10799 Author: Emmanuele Bassi <ebassi@openedhand.com>
10800 Date: Tue Nov 13 11:20:34 2007 +0000
10802 Fix variable shadowing for distcheck
10804 json-glib/json-parser.c | 4 ++--
10805 1 file changed, 2 insertions(+), 2 deletions(-)
10807 commit afeec9b40468d289351c78007b5122ff716bb977
10808 Author: Emmanuele Bassi <ebassi@openedhand.com>
10809 Date: Tue Nov 13 11:16:51 2007 +0000
10811 Add 0.4 symbols index
10813 doc/reference/json-glib-docs.sgml | 4 ++++
10814 1 file changed, 4 insertions(+)
10816 commit 32023e03ca9c976e66b9af949d4aea36e1d4d874
10817 Author: Emmanuele Bassi <ebassi@openedhand.com>
10818 Date: Tue Nov 13 10:59:14 2007 +0000
10820 Change "responsible" to "asked" in the (de)serialization functions docs
10822 We provide fallbacks in case a JsonSerializable object does not translate
10823 a property into a JSON object member and vice versa.
10825 json-glib/json-gobject.c | 15 ++++++++-------
10826 1 file changed, 8 insertions(+), 7 deletions(-)
10828 commit c669a28d37795be68f3a51e9353f6f9d8e695a52
10829 Author: Emmanuele Bassi <ebassi@openedhand.com>
10830 Date: Tue Nov 13 10:55:23 2007 +0000
10832 Add new symbols to the documentation
10834 doc/reference/json-glib-sections.txt | 7 ++++++-
10835 1 file changed, 6 insertions(+), 1 deletion(-)
10837 commit b83a2bfa96885837ca48bacb6492fd68a2b5b564
10838 Merge: 1f9b3e5 198ed83
10839 Author: Emmanuele Bassi <ebassi@openedhand.com>
10840 Date: Tue Nov 13 10:51:58 2007 +0000
10842 Merge branch 'gobject-deserialize' into work
10844 commit 198ed839424dc7791d22dede152f4d7abc16a8b2
10845 Author: Emmanuele Bassi <ebassi@openedhand.com>
10846 Date: Tue Nov 13 10:51:31 2007 +0000
10848 Use the fallback value-to-node generator even for serializables
10850 To avoid reimplementing the same code all over again, if the implementation
10851 of the serialize_property virtual function of JsonSerializable returns NULL
10852 we will fall back to the simple value-to-node generator we provide for
10853 non-serializable classes.
10855 json-glib/json-gobject.c | 17 +++++++++++------
10856 tests/test-07.c | 13 +------------
10857 2 files changed, 12 insertions(+), 18 deletions(-)
10859 commit 10e937a68bd802a4f5948d900aa2201344cfc138
10860 Author: Emmanuele Bassi <ebassi@openedhand.com>
10861 Date: Tue Nov 13 10:46:02 2007 +0000
10863 Add test unit for the GObject deserialization
10866 tests/Makefile.am | 4 +-
10867 tests/test-08.c | 291 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
10868 3 files changed, 296 insertions(+), 1 deletion(-)
10870 commit 7b93db7ad996b29a6c576db33803029dc94e16fc
10871 Author: Emmanuele Bassi <ebassi@openedhand.com>
10872 Date: Tue Nov 13 10:45:23 2007 +0000
10874 Fix a couple of dumb typos in the GObject deserialization code
10876 We need to skip if the CONSTRUCT_ONLY flag is set, not unset. We also need
10877 to copy the value from the JSON node into the target GValue, not the other
10880 json-glib/json-gobject.c | 6 ++++--
10881 1 file changed, 4 insertions(+), 2 deletions(-)
10883 commit 9e61004365982017bfe9b76889e2a7d1a0320350
10884 Author: Emmanuele Bassi <ebassi@openedhand.com>
10885 Date: Tue Nov 13 10:11:34 2007 +0000
10887 Update git ignore file
10890 1 file changed, 2 insertions(+)
10892 commit 4b496c7d906c81dceafe6a5f442b55b6e161f762
10893 Author: Emmanuele Bassi <ebassi@openedhand.com>
10894 Date: Tue Nov 13 10:11:00 2007 +0000
10896 Add node-to-property simple fallback parser for deserialization
10898 The fallback parser for json_construct_gobject() is invoked if the GType
10899 does not implement the JsonSerializable interface, or if the interface
10900 was not handling the property.
10902 It will natively convert integers, booleans, strings and double precision
10903 floating point values; it also handles string vectors in form of arrays.
10905 json-glib/json-gobject.c | 94 +++++++++++++++++++++++++++++++++++++++++++-----
10906 1 file changed, 85 insertions(+), 9 deletions(-)
10908 commit a7c39c910e08093ee0d0723685005623f26b9eae
10909 Author: Emmanuele Bassi <ebassi@openedhand.com>
10910 Date: Tue Nov 13 09:28:57 2007 +0000
10912 Add the JsonGenerator:root property
10914 JsonGenerator now has a :root property, so it can be constructed using
10915 just g_object_new():
10917 generator = g_object_new (JSON_TYPE_GENERATOR,
10923 This means that the root node is copied inside the generator, instead of
10924 just taking ownership (it was quite confusing). The documentation now
10925 clearly states what happens, and that you can safely free the node after
10926 feeding it to the JsonGenerator.
10928 json-glib/json-generator.c | 30 ++++++++++++++++++++++++++++--
10929 1 file changed, 28 insertions(+), 2 deletions(-)
10931 commit 6132d7325c33e26740b4c955d8ccbe53fd817cd8
10932 Author: Emmanuele Bassi <ebassi@openedhand.com>
10933 Date: Tue Nov 13 09:26:02 2007 +0000
10935 Fix member name in json_node_get_value_type()
10937 JsonNode payload is inside a union.
10939 json-glib/json-node.c | 2 +-
10940 1 file changed, 1 insertion(+), 1 deletion(-)
10942 commit f051b948714e4928a7d7f903e891639ce4ba82fd
10943 Author: Emmanuele Bassi <ebassi@openedhand.com>
10944 Date: Tue Nov 13 09:17:22 2007 +0000
10946 Add a GType for JsonNode
10948 We need a GType for nodes if we want to add JsonNode properties or signal
10949 marshallers to a GObject class. We could use pointers, but we'd loose type
10950 safety, so it's a no-no.
10952 json-glib/json-node.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
10953 json-glib/json-types.h | 8 ++++++--
10954 2 files changed, 54 insertions(+), 2 deletions(-)
10956 commit 1f9b3e50282f8aa4a421c83ad596f6186ef82ec9
10957 Author: Emmanuele Bassi <ebassi@openedhand.com>
10958 Date: Sat Nov 10 15:12:20 2007 +0000
10960 When parsing a full assignment, also swallow any trailing semi-colon
10962 There's no end to web developers insanity when they can twist and turn a
10963 perfectly simple and elegant notation into something that allows lazyness
10966 json-glib/json-parser.c | 12 +++++++++++-
10967 tests/test-02.c | 1 +
10968 2 files changed, 12 insertions(+), 1 deletion(-)
10970 commit 261d05a4cdcc1f64824615cdc81b4b467d0a5f57
10971 Author: Emmanuele Bassi <ebassi@openedhand.com>
10972 Date: Sat Nov 10 02:15:44 2007 +0000
10974 Add support for parsing assignments
10976 Some JSON web APIs return a full JavaScript assignment instead of just
10977 the data structure (and I'm looking at you, Tumblr). This is done in clear
10978 violation of the grammar published in the RFC 4627, and it's evidently
10979 done because most web developers are too lazy for doing a
10981 var foo = eval('(' + text ')');
10983 and want everything defined for them. JsonParser will blissfully ignore
10984 the left-hand part of the assignment but, in the interest of the developer
10985 who cares, will record: 1. that the parsed statement was in fact an
10986 assignment and 2. the name of the variable used.
10988 The function json_parser_has_assignment() can be used to query both the
10989 presence of an assignment and the variable name at the same time.
10991 doc/reference/json-glib-sections.txt | 1 +
10992 json-glib/json-parser.c | 80 +++++++++++++++++++++++++++++++++++-
10993 json-glib/json-parser.h | 5 +++
10994 tests/test-02.c | 5 +++
10995 4 files changed, 89 insertions(+), 2 deletions(-)
10997 commit 45c697263364a975fd6a54373f999f2932436b6f
10998 Author: Emmanuele Bassi <ebassi@openedhand.com>
10999 Date: Sat Nov 10 01:26:46 2007 +0000
11001 Initial implementation of GObject deserialization function
11003 The json_construct_gobject() function takes a GType and a JSON data stream
11004 and constructs a new instance for the given type. If the type is a
11005 JsonSerializable, it will use the JsonSerializable interface for parsing
11006 the JsonNodes of each object member.
11008 This is the initial implementation of the function: the JsonNode-to-GValue
11009 fallback parser is just a stub.
11011 doc/reference/json-glib-sections.txt | 1 +
11012 json-glib/json-gobject.c | 182 ++++++++++++++++++++++++++++++++---
11013 json-glib/json-gobject.h | 8 +-
11014 3 files changed, 177 insertions(+), 14 deletions(-)
11016 commit 4eade1089355ebcf0614d0cfbc9c441513b7d97a
11017 Author: Emmanuele Bassi <ebassi@openedhand.com>
11018 Date: Mon Oct 29 22:23:36 2007 +0000
11020 Fix objects test suite to match the arrays one
11022 tests/test-03.c | 8 ++++----
11023 1 file changed, 4 insertions(+), 4 deletions(-)
11025 commit 3948d83795d68d665b8b969c08b6c40498eb2661
11026 Author: Emmanuele Bassi <ebassi@openedhand.com>
11027 Date: Mon Oct 29 22:23:07 2007 +0000
11029 More sanity checks for objects
11031 Add a check for commas after complex data types inside object members.
11033 json-glib/json-parser.c | 8 +++++++-
11034 1 file changed, 7 insertions(+), 1 deletion(-)
11036 commit 6182457fa305a1f159e9009d3fbef42a93f2768e
11037 Author: Emmanuele Bassi <ebassi@openedhand.com>
11038 Date: Mon Oct 29 22:17:44 2007 +0000
11040 Fix the test suite for arrays
11042 Fix a typo in test number 7 (missing comma to separate the C strings) and
11043 use G_TYPE_DOUBLE instead of G_TYPE_FLOAT for the floating point values.
11045 tests/test-02.c | 8 ++++----
11046 1 file changed, 4 insertions(+), 4 deletions(-)
11048 commit 25cdc18be8acdad54561f919c5805ad4fa9b3ac9
11049 Author: Emmanuele Bassi <ebassi@openedhand.com>
11050 Date: Mon Oct 29 22:16:31 2007 +0000
11052 Add more sanity checks to the parser
11054 Catch missing commas after an array element or an object member.
11056 json-glib/json-parser.c | 10 ++++++++++
11057 1 file changed, 10 insertions(+)
11059 commit 812422e4ed4df83374cdda6d94637448ab94dfef
11060 Author: Emmanuele Bassi <ebassi@openedhand.com>
11061 Date: Mon Oct 29 18:18:34 2007 +0000
11063 Backport fixes from Clutter trunk
11065 The copy of JSON-GLib in Clutter trunk has two fixes for the JsonParser
11068 * support for negative numbers (ints and floats);
11069 * correct parse error propagation
11071 which should make the JsonParser hopefully complete.
11073 json-glib/json-parser.c | 123 ++++++++++++++++++++++++++++++++++++++++--------
11074 1 file changed, 103 insertions(+), 20 deletions(-)
11076 commit 72d007d865a822875dfa311698fb2d13f5d3df69
11077 Author: Emmanuele Bassi <ebassi@openedhand.com>
11078 Date: Mon Oct 29 18:16:24 2007 +0000
11080 Check if the payload is set in json_node_free()
11082 Before calling json_object_unref() or json_array_unref() in json_node_free()
11083 we need to check if the payload of JsonNode is set to avoid a critical.
11085 json-glib/json-node.c | 6 ++++--
11086 1 file changed, 4 insertions(+), 2 deletions(-)
11088 commit 59a66484befba457eda2ee7a9540f2b33ff04031
11089 Author: Emmanuele Bassi <ebassi@openedhand.com>
11090 Date: Tue Oct 16 23:20:22 2007 +0100
11092 Add test unit for the JsonSerializable interface
11094 This should have been done before relasing 0.2.0. Well, that's what
11095 point releases are for.
11097 tests/Makefile.am | 4 +-
11098 tests/test-07.c | 265 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
11099 2 files changed, 268 insertions(+), 1 deletion(-)
11101 commit 34515af7bb1d69317b9e52d0ced92beaf6770e7d
11102 Author: Emmanuele Bassi <ebassi@openedhand.com>
11103 Date: Tue Oct 16 23:19:35 2007 +0100
11105 We need the actual implementation of the JsonSerializable GType function
11107 A placeholder, while syntactically correct, won't do.
11109 json-glib/json-gobject.c | 6 ++++++
11110 1 file changed, 6 insertions(+)
11112 commit 0656c4bee8e14c375481c89a62f0e6e95be758ce
11113 Author: Emmanuele Bassi <ebassi@openedhand.com>
11114 Date: Tue Oct 16 23:18:47 2007 +0100
11116 Fix the compiler fixes
11118 This is what happens when you fix a compiler warning about a shadowing
11119 variable and you don't run the test suite to check the results.
11121 json-glib/json-generator.c | 10 ++++++----
11122 1 file changed, 6 insertions(+), 4 deletions(-)
11124 commit 88794df33e08cb409f71d1aaf702cd509b600954
11125 Author: Emmanuele Bassi <ebassi@openedhand.com>
11126 Date: Tue Oct 16 19:53:27 2007 +0100
11130 configure.ac | 2 +-
11131 1 file changed, 1 insertion(+), 1 deletion(-)
11133 commit 0ce3bf30d84aedcf5f8f75e6c1112d91dcc1d654
11134 Author: Emmanuele Bassi <ebassi@openedhand.com>
11135 Date: Tue Oct 16 19:49:42 2007 +0100
11139 configure.ac | 2 +-
11140 1 file changed, 1 insertion(+), 1 deletion(-)
11142 commit 77248800533f3dabfb09dfa8ba32e3084ea62d5f
11143 Author: Emmanuele Bassi <ebassi@openedhand.com>
11144 Date: Tue Oct 16 19:43:27 2007 +0100
11146 Fix DISTCHECK configure flags
11149 1 file changed, 1 insertion(+), 1 deletion(-)
11151 commit 70be36c97a8cd598af061eb9ac5a9a5852858682
11152 Author: Emmanuele Bassi <ebassi@openedhand.com>
11153 Date: Tue Oct 16 19:42:05 2007 +0100
11155 Fix compilation errors with extra maintainer CFLAGS
11157 json-glib/json-array.c | 2 +-
11158 json-glib/json-generator.c | 16 ++++++++--------
11159 json-glib/json-parser.c | 4 ++--
11160 3 files changed, 11 insertions(+), 11 deletions(-)
11162 commit 57c39582818b8a6579fed327f5c6e2fc34e93694
11163 Author: Emmanuele Bassi <ebassi@openedhand.com>
11164 Date: Tue Oct 16 19:41:18 2007 +0100
11166 Drop -Wextra from the maintainer CFLAGS
11168 Some autogenerated code caused -Werror to croak, so -Wextra has to go.
11170 configure.ac | 2 +-
11171 1 file changed, 1 insertion(+), 1 deletion(-)
11173 commit 9c690da734ee4513f19841f93a08ae35bbaa65b1
11174 Author: Emmanuele Bassi <ebassi@openedhand.com>
11175 Date: Tue Oct 16 18:20:19 2007 +0100
11177 Autogenerate the ChangeLog when disting
11179 Makefile.am | 5 +++++
11180 1 file changed, 5 insertions(+)
11182 commit 95fc9c4fb5af82c766d2f4f515b361028bc348e7
11183 Author: Emmanuele Bassi <ebassi@openedhand.com>
11184 Date: Tue Oct 16 18:20:01 2007 +0100
11186 Fix EXTRA_DIST files for distcheck
11188 json-glib/Makefile.am | 16 +++++++++-------
11189 1 file changed, 9 insertions(+), 7 deletions(-)
11191 commit 87a36b8a5e23f3cf80730627f9b89061934a5bbf
11192 Author: Emmanuele Bassi <ebassi@openedhand.com>
11193 Date: Tue Oct 16 17:40:06 2007 +0100
11195 Add the JsonSerializable interface
11197 The JsonSerializable interface allows implementations to override the
11198 GObject-to-JSON serialization process, by providing two virtual methods
11199 to control the (de)serialization of GObject properties. This way it's
11200 possible to serialize GObjects with properties holding complex data types.
11202 doc/reference/json-glib-sections.txt | 15 +++
11203 json-glib/json-gobject.c | 188 +++++++++++++++++++++++++++++------
11204 json-glib/json-gobject.h | 51 ++++++++++
11205 json-glib/json-types.h | 1 +
11206 4 files changed, 224 insertions(+), 31 deletions(-)
11208 commit 85cb0f44c4c7297a75141999674f3eb0fdf6a308
11209 Author: Emmanuele Bassi <ebassi@openedhand.com>
11210 Date: Tue Oct 16 17:25:08 2007 +0100
11212 Add a method for getting all the nodes from a JsonObject
11214 To map json_array_get_elements(), a json_object_get_values() method has
11215 been added which returns the list of JsonNodes contained by a JsonObject.
11217 doc/reference/json-glib-sections.txt | 1 +
11218 json-glib/json-object.c | 41 ++++++++++++++++++++++++++++++++++++
11219 json-glib/json-types.h | 1 +
11220 3 files changed, 43 insertions(+)
11222 commit 474ecf1cc6aae35b184edffc75fc8626c3f12f61
11223 Author: Emmanuele Bassi <ebassi@openedhand.com>
11224 Date: Tue Oct 16 16:40:57 2007 +0100
11226 Add a note in the JsonObject documentation for the member name normalization
11228 json-glib/json-object.c | 6 +++++-
11229 1 file changed, 5 insertions(+), 1 deletion(-)
11231 commit 93e26b94d9bb1909f3b16a4b0500f27660d7e621
11232 Author: Emmanuele Bassi <ebassi@openedhand.com>
11233 Date: Tue Oct 16 16:37:01 2007 +0100
11235 Normalize every member name before using it
11237 Every member name is stored inside the internal hash table of JsonObject
11238 using a normalized string: every delimiter found matching G_STR_DELIMITERS
11239 is automatically transformed in an underscore ('_').
11241 This means that "member-name" and "member_name" are completely equivalent
11244 json-glib/json-object.c | 31 ++++++++++++++++++++++++++-----
11245 1 file changed, 26 insertions(+), 5 deletions(-)
11247 commit 73a7671dedfd3bb9bc1a8c197a68dcef90e627f7
11248 Author: Emmanuele Bassi <ebassi@openedhand.com>
11249 Date: Mon Oct 15 10:28:39 2007 +0100
11251 Provide an internal g_hash_table_get_keys() and bump down GLib dependency
11253 Even though GLib 2.14 is now available, many systems still come out with
11254 GLib 2.12. Since we are using just a single 2.14 function for retrieving
11255 the members from a JsonObject, we can provide an internal version of that
11256 function and hideit behind a pre-processor macro.
11258 configure.ac | 2 +-
11259 json-glib/json-object.c | 25 +++++++++++++++++++++++++
11260 2 files changed, 26 insertions(+), 1 deletion(-)
11262 commit 28928a2f1cbe83a2f1bf699c915daa6eca80f587
11263 Author: Emmanuele Bassi <ebassi@openedhand.com>
11264 Date: Mon Oct 15 10:25:09 2007 +0100
11266 Add API for removing nodes from arrays and objects
11268 Write and document json_object_remove_member() and json_array_remove_element()
11269 which can be used to remove a JsonNode from a JsonObject or a JsonArray
11270 respectively. This way, the JsonObject and JsonArray are API-complete and
11271 the object model can be manipulated in code.
11273 doc/reference/json-glib-sections.txt | 2 +
11274 json-glib/json-array.c | 18 +++++
11275 json-glib/json-object.c | 17 +++++
11276 json-glib/json-types.h | 126 ++++++++++++++++++-----------------
11277 4 files changed, 102 insertions(+), 61 deletions(-)
11279 commit b3ecd6e2fbdd58250427f406c43d60b8cb8d2644
11280 Author: Emmanuele Bassi <ebassi@openedhand.com>
11281 Date: Wed Oct 10 12:03:59 2007 +0100
11283 Parse bare root values
11285 If the root node contains just a bare value (true, false, null, fundamental
11286 type) then it's still valid JSON.
11288 Also, use the commodity JsonNode API to avoid using values in the parser
11291 json-glib/json-parser.c | 79 ++++++++++++++++++-------------------------------
11292 1 file changed, 29 insertions(+), 50 deletions(-)
11294 commit a7839a06da53d32eb372b4813e5883a04e1c36b7
11295 Author: Emmanuele Bassi <ebassi@openedhand.com>
11296 Date: Tue Oct 9 20:52:56 2007 +0100
11298 Add the forgotten JsonGenerator type function
11300 doc/reference/json-glib.types | 1 +
11301 1 file changed, 1 insertion(+)
11303 commit daeef3345c3a7f3325cea8c945f0e1d814defcc1
11304 Author: Emmanuele Bassi <ebassi@openedhand.com>
11305 Date: Mon Oct 8 18:29:44 2007 +0100
11307 Add json_node_dup_string()
11309 The newly added json_node_dup_string() is a convenience function for
11310 getting a copy of the string contained inside a JsonNode.
11312 doc/reference/json-glib-sections.txt | 1 +
11313 json-glib/json-node.c | 20 ++++++++++++++++++++
11314 json-glib/json-types.h | 1 +
11315 3 files changed, 22 insertions(+)
11317 commit b12efcec57fff6e7637fc924fc50333b97eb2594
11318 Author: Emmanuele Bassi <ebassi@openedhand.com>
11319 Date: Sun Oct 7 00:47:32 2007 +0100
11321 Fix documentation about the ownership of the nodes
11323 When adding a JsonNode to a JsonObject or a JsonArray, the containers
11324 take ownership of the node.
11326 json-glib/json-array.c | 7 +++++--
11327 json-glib/json-object.c | 13 ++++++++-----
11328 2 files changed, 13 insertions(+), 7 deletions(-)
11330 commit bd5a60ca658257752993ccea47950b97cdc45246
11331 Author: Emmanuele Bassi <ebassi@openedhand.com>
11332 Date: Fri Oct 5 18:24:27 2007 +0100
11334 Add convenience accessors for fundamental types in JsonNode
11336 This commit adds some convenience accessors for setting and
11337 getting fundamental types in and from a JsonNode, to avoid
11338 jumping through all the GValue hoops.
11340 doc/reference/json-glib-sections.txt | 8 ++
11341 json-glib/json-node.c | 201 +++++++++++++++++++++++++++++++++++
11342 json-glib/json-types.h | 12 +++
11343 3 files changed, 221 insertions(+)
11345 commit ad95c8bf8e4103058d42ae71f47e6980e3b52c34
11346 Author: Emmanuele Bassi <ebassi@openedhand.com>
11347 Date: Fri Oct 5 18:23:15 2007 +0100
11349 Use doubles when parsing, not floats
11351 GScanner advertise the floating point values as floats, but it really
11352 uses doubles. Hence, we need to use G_TYPE_DOUBLE when saving the
11353 parsed constants into a GValue.
11355 json-glib/json-parser.c | 8 ++++----
11356 1 file changed, 4 insertions(+), 4 deletions(-)
11358 commit 220838e4e61c5a8fd9cf627da7309acf44fa82f0
11359 Author: Emmanuele Bassi <ebassi@openedhand.com>
11360 Date: Fri Oct 5 16:39:10 2007 +0100
11362 Add line/position getters to JsonParser
11364 Add two methods to JsonParser to retrieve the currently parsed line
11365 and position within that line. These methods works only while parsing,
11366 so within the signal handlers and inside subclasses.
11368 doc/reference/json-glib-sections.txt | 6 +++++
11369 json-glib/json-parser.c | 46 +++++++++++++++++++++++++++++++++---
11370 json-glib/json-parser.h | 21 +++++++++-------
11371 3 files changed, 61 insertions(+), 12 deletions(-)
11373 commit ea5ee264a5b82fd1d09fa84ec81e17c4ea0d0c4a
11374 Author: Emmanuele Bassi <ebassi@openedhand.com>
11375 Date: Fri Oct 5 15:13:21 2007 +0100
11377 Document the newly added signals
11379 json-glib/json-parser.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++
11380 json-glib/json-parser.h | 10 +++++++-
11381 2 files changed, 73 insertions(+), 1 deletion(-)
11383 commit fa9d1676da588306be5a14bcab100ad58a41b799
11384 Author: Emmanuele Bassi <ebassi@openedhand.com>
11385 Date: Fri Oct 5 11:59:44 2007 +0100
11387 Add more signals to the JsonParser class
11389 JsonParser should emit signals in critical places, like: start/end of
11390 the parsing process; start and end of a JsonObject and a JsonArray;
11391 completion of every member and element of a JsonObject and a JsonArray.
11392 These signals require the addition of some custom marshaller.
11394 json-glib/json-marshal.list | 4 ++
11395 json-glib/json-parser.c | 118 ++++++++++++++++++++++++++++++++++++++++++--
11396 json-glib/json-parser.h | 25 ++++++++--
11397 3 files changed, 141 insertions(+), 6 deletions(-)
11399 commit aa2b31234f7cfac63b870e8d9d74e682b3121d4a
11400 Author: Emmanuele Bassi <ebassi@openedhand.com>
11401 Date: Fri Oct 5 11:57:53 2007 +0100
11403 Implement the GType functions for JsonObject and JsonArray
11405 The type functions for the JsonObject and JsonArray types were declared,
11406 albeit with the wrong return value, but not implemented. This commit
11407 fixed the return value and implements them.
11409 JsonObject and JsonArray are boxed types because we don't need them to
11410 be GObjects (no signals, no inheritance and their implementation must be
11411 completely opaque for the developer).
11413 json-glib/json-array.c | 13 +++++++++++++
11414 json-glib/json-object.c | 13 +++++++++++++
11415 json-glib/json-types.h | 4 ++--
11416 3 files changed, 28 insertions(+), 2 deletions(-)
11418 commit bd41854505f47d2176ea4cfba8083ce998c482cc
11419 Author: Emmanuele Bassi <ebassi@openedhand.com>
11420 Date: Tue Oct 2 12:13:23 2007 +0100
11422 Document the GObject integration API into the API reference
11424 doc/reference/json-glib-docs.sgml | 6 ++++++
11425 doc/reference/json-glib-sections.txt | 6 ++++++
11426 2 files changed, 12 insertions(+)
11428 commit cea3f69f2cde1cb4e6ea9242f6014b31864ad80f
11429 Author: Emmanuele Bassi <ebassi@openedhand.com>
11430 Date: Tue Oct 2 12:12:49 2007 +0100
11432 Add test case for GObject integration
11435 tests/Makefile.am | 4 +-
11436 tests/test-06.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
11437 3 files changed, 159 insertions(+), 1 deletion(-)
11439 commit 3666613e47b66d67a28bc06c6dcf678fe97eae50
11440 Author: Emmanuele Bassi <ebassi@openedhand.com>
11441 Date: Tue Oct 2 12:11:55 2007 +0100
11443 Add GObject serialization support for JSON-GLib
11445 This commit adds json-gobject.h and json_serialize_gobject() to
11446 JSON-GLib, to serialize a GObject instance into a JSON data stream.
11449 json-glib/Makefile.am | 2 +
11450 json-glib/json-gobject.c | 169 +++++++++++++++++++++++++++++++++++++++++++++++
11451 json-glib/json-gobject.h | 33 +++++++++
11452 4 files changed, 205 insertions(+)
11454 commit 8398253c76cf5dda23891b49b1aaa49e57d95a8d
11455 Author: Emmanuele Bassi <ebassi@openedhand.com>
11456 Date: Tue Oct 2 10:03:00 2007 +0100
11458 Complete the tests suite with the object deserialization
11460 Add a test unit for JSON object generation using JsonGenerator. The
11461 empty, simple (1-depth) and complex (nested object and array) cases
11464 The complex object generation is taken from the RFC 4627, Examples
11468 tests/Makefile.am | 4 +-
11469 tests/test-05.c | 217 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
11470 3 files changed, 222 insertions(+), 1 deletion(-)
11472 commit 2b25dbfa802f9af6e76fbe72140b687535cae8e5
11473 Author: Emmanuele Bassi <ebassi@openedhand.com>
11474 Date: Tue Oct 2 08:07:56 2007 +0100
11476 Add objects support
11478 JsonGenerator can now create objects and array-nested objects, with and without
11479 pretty printing. The test suite has been updated accordingly.
11481 json-glib/json-generator.c | 125 +++++++++++++++++++++++++++++++++++++++++++--
11482 tests/test-04.c | 68 ++++++++++++++++++++++++
11483 2 files changed, 190 insertions(+), 3 deletions(-)
11485 commit 326cdead6f1c7b1bbaae0961d28bfe5ca3af0a1a
11486 Author: Emmanuele Bassi <ebassi@openedhand.com>
11487 Date: Mon Oct 1 23:07:18 2007 +0100
11489 Add nested arrays support
11491 JsonGenerator now supports nested arrays, both with and without pretty
11492 printing. The tests suite has been updated accordingly.
11494 json-glib/json-generator.c | 10 ++++++++
11495 tests/test-04.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++
11496 2 files changed, 71 insertions(+)
11498 commit 6f4dd6b154a150e8b4221800b61f85e5c4277d1b
11499 Author: Emmanuele Bassi <ebassi@openedhand.com>
11500 Date: Mon Oct 1 22:58:04 2007 +0100
11502 Simple arrays generation
11504 JsonGenerator now can create simple arrays, with "pretty" enabled and disabled.
11505 Simple arrays are just one-level, value-only arrays.
11507 The test unit has been updated to exercise this new feature.
11509 json-glib/json-generator.c | 160 +++++++++++++++++++++++++++++++++++++++++++--
11510 tests/test-04.c | 86 ++++++++++++++++++++++--
11511 2 files changed, 234 insertions(+), 12 deletions(-)
11513 commit 7f0232eaab0af434e2e086c83b68395146e410f9
11514 Author: Emmanuele Bassi <ebassi@openedhand.com>
11515 Date: Mon Oct 1 22:22:12 2007 +0100
11517 Update list of git ignored files
11519 .gitignore | 5 +++++
11520 1 file changed, 5 insertions(+)
11522 commit 47b34271f989cb5f2ba01a633d003adb6052cbd1
11523 Author: Emmanuele Bassi <ebassi@openedhand.com>
11524 Date: Mon Oct 1 22:20:23 2007 +0100
11526 Add initial test unit for the JsonGenerator object
11528 tests/Makefile.am | 4 +++-
11529 tests/test-04.c | 29 +++++++++++++++++++++++++++++
11530 2 files changed, 32 insertions(+), 1 deletion(-)
11532 commit 8edb4ef3232428ac9e548ae6c1dfa2328bf7198c
11533 Author: Emmanuele Bassi <ebassi@openedhand.com>
11534 Date: Mon Oct 1 22:19:28 2007 +0100
11536 Add missing json-generator.h header
11538 json-glib/json-glib.h | 1 +
11539 1 file changed, 1 insertion(+)
11541 commit f09acae8e0d6ceba5d13de75551491835a7e71de
11542 Author: Emmanuele Bassi <ebassi@openedhand.com>
11543 Date: Mon Oct 1 19:49:43 2007 +0100
11545 Document the new public functions
11547 Now that we moved the constructors and setters for the JSON data types into
11548 the public symbols we need to document them to get back to 100% doc coverage.
11550 doc/reference/json-glib-sections.txt | 26 +++++++++++-
11551 json-glib/json-array.c | 22 ++++++++++
11552 json-glib/json-node.c | 78 ++++++++++++++++++++++++++++++++++++
11553 json-glib/json-object.c | 15 +++++++
11554 json-glib/json-types.h | 2 +
11555 5 files changed, 141 insertions(+), 2 deletions(-)
11557 commit 228a5e4efe65995778847f48d2be43f3df988e10
11558 Author: Emmanuele Bassi <ebassi@openedhand.com>
11559 Date: Mon Oct 1 18:01:20 2007 +0100
11561 Move data types ctors and setters into the public headers
11563 Now that we are providing a generator class we need to provide the
11564 constructors and setters for JsonNode, JsonObject and JsonArray. This
11565 also means that the json-private.h header is now useless, so we can
11566 remove it from the build and repository.
11568 json-glib/Makefile.am | 2 +-
11569 json-glib/json-array.c | 1 -
11570 json-glib/json-generator.c | 1 -
11571 json-glib/json-node.c | 1 -
11572 json-glib/json-object.c | 1 -
11573 json-glib/json-parser.c | 1 -
11574 json-glib/json-private.h | 35 -----------------------------------
11575 json-glib/json-types.h | 38 +++++++++++++++++++++++++++++++-------
11576 8 files changed, 32 insertions(+), 48 deletions(-)
11578 commit bfa60e9ef9da71e3c0d171f81cd08e8eac749061
11579 Author: Emmanuele Bassi <ebassi@openedhand.com>
11580 Date: Mon Oct 1 17:48:34 2007 +0100
11582 Add stub class for JsonGenerator
11584 JsonGenerator is an object that creates JSON data streams from a data
11585 model tree. This commit adds the JsonGenerator class to the build and
11588 doc/reference/json-glib-docs.sgml | 1 +
11589 doc/reference/json-glib-sections.txt | 25 ++++
11590 json-glib/Makefile.am | 2 +
11591 json-glib/json-generator.c | 255 +++++++++++++++++++++++++++++++++++
11592 json-glib/json-generator.h | 82 +++++++++++
11593 5 files changed, 365 insertions(+)
11595 commit 41849494890f1f51bc7c4429f0ee7b5d168da302
11596 Author: Emmanuele Bassi <ebassi@openedhand.com>
11597 Date: Mon Oct 1 16:37:14 2007 +0100
11599 Fix ids inside the main documentation index
11601 doc/reference/json-glib-docs.sgml | 4 ++--
11602 1 file changed, 2 insertions(+), 2 deletions(-)
11604 commit c3f8ea960ef7f8733969d9fb0f71531bc7449a16
11605 Author: Emmanuele Bassi <ebassi@openedhand.com>
11606 Date: Mon Oct 1 16:25:47 2007 +0100
11608 Complete API reference of JSON-GLib
11610 With this commit, we reach 100% coverage.
11612 json-glib/json-parser.h | 19 +++++++++++++++++++
11613 json-glib/json-types.h | 20 ++++++++++++++++++++
11614 2 files changed, 39 insertions(+)
11616 commit 2211e4e60b90b92d868c9b5f6b61e133d2435b4d
11617 Author: Emmanuele Bassi <ebassi@openedhand.com>
11618 Date: Mon Oct 1 16:25:11 2007 +0100
11620 Implement json_node_get_parent()
11622 It seems that the parent accessor fell through. This commit implements
11623 the declared json_node_get_parent() function.
11625 json-glib/json-node.c | 16 ++++++++++++++++
11626 1 file changed, 16 insertions(+)
11628 commit 29feafc236f888021b817fdfe0cfe685f5e3b65e
11629 Author: Emmanuele Bassi <ebassi@openedhand.com>
11630 Date: Mon Oct 1 16:16:15 2007 +0100
11632 Add licensing informations to the source code
11634 json-glib/json-array.c | 29 +++++++++++++++++++++++++
11635 json-glib/json-node.c | 52 ++++++++++++++++++++++++++++++++++++++-------
11636 json-glib/json-object.c | 34 +++++++++++++++++++++++++----
11637 json-glib/json-parser.c | 28 ++++++++++++++++++++++--
11638 json-glib/json-parser.h | 19 +++++++++++++++++
11639 json-glib/json-types.h | 35 ++++++++++++++++++++++++++++++
11640 json-glib/json-version.h.in | 19 +++++++++++++++++
11641 7 files changed, 202 insertions(+), 14 deletions(-)
11643 commit 6eb1a5e94957d3555e7de5f6744a8777cd89efaf
11644 Author: Emmanuele Bassi <ebassi@openedhand.com>
11645 Date: Mon Oct 1 15:55:04 2007 +0100
11647 Fix a stray newline in the documentation
11649 doc/reference/json-glib-docs.sgml | 3 +--
11650 1 file changed, 1 insertion(+), 2 deletions(-)
11652 commit a5ecf553082816a1ce6c4354ff23e8addf8d9c80
11653 Author: Emmanuele Bassi <ebassi@openedhand.com>
11654 Date: Mon Oct 1 15:52:54 2007 +0100
11656 Update git ignore file
11658 .gitignore | 22 ++++++++++++++++++++++
11659 1 file changed, 22 insertions(+)
11661 commit 9bdee4c01adef7e9d7ed18d5dd94671057f1459b
11662 Author: Emmanuele Bassi <ebassi@openedhand.com>
11663 Date: Mon Oct 1 15:50:49 2007 +0100
11665 Add API reference for JSON-GLib
11667 Use gtk-doc to build the various bits and pieces of the API reference
11670 doc/Makefile.am | 1 +
11671 doc/reference/Makefile.am | 2 +-
11672 doc/reference/json-glib-docs.sgml | 153 +++++++++++++++++++++++++++++++++++
11673 doc/reference/json-glib-sections.txt | 92 +++++++++++++++++++++
11674 doc/reference/json-glib.types | 1 +
11675 json-glib/json-node.c | 2 +-
11676 json-glib/json-version.h.in | 8 ++
11677 7 files changed, 257 insertions(+), 2 deletions(-)
11679 commit 2e362edd46f11f2fd1fa327877372b902b70c280
11680 Author: Emmanuele Bassi <ebassi@openedhand.com>
11681 Date: Mon Oct 1 14:57:39 2007 +0100
11683 Add more test cases for the object parsing
11685 tests/test-03.c | 3 +++
11686 1 file changed, 3 insertions(+)
11688 commit 79423943a8588a8ed6d5bedbc038255111897261
11689 Author: Emmanuele Bassi <ebassi@openedhand.com>
11690 Date: Mon Oct 1 14:57:25 2007 +0100
11692 Swallow the comma earlier in the parser
11694 The comma is used as a member and element separator, so it should be
11695 swallowed by the parser as soon as possible.
11697 json-glib/json-parser.c | 25 ++++++++++++++++---------
11698 1 file changed, 16 insertions(+), 9 deletions(-)
11700 commit e711b883dba88d68b6986d87f14a06361cf54be7
11701 Author: Emmanuele Bassi <ebassi@openedhand.com>
11702 Date: Mon Oct 1 14:46:31 2007 +0100
11707 1 file changed, 3 insertions(+)
11709 commit 591989c80b16fe68bdd79bcc7759a4249fdaf129
11710 Author: Emmanuele Bassi <ebassi@openedhand.com>
11711 Date: Mon Oct 1 14:45:42 2007 +0100
11713 Test object parsing
11715 Add JSON object parsing testing to the test units.
11717 tests/Makefile.am | 8 ++-
11718 tests/test-02.c | 73 +++++++++++++++++--
11719 tests/test-03.c | 211 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
11720 3 files changed, 285 insertions(+), 7 deletions(-)
11722 commit ba3a6e6afed0d4fe3853b8e7400516557a20f775
11723 Author: Emmanuele Bassi <ebassi@openedhand.com>
11724 Date: Mon Oct 1 14:44:51 2007 +0100
11726 Add JSON object parsing
11728 This commit completes the JsonParser class by adding the ability to
11729 parse JSON objects, either alone or inside arrays. JsonParser is now
11732 json-glib/json-parser.c | 235 ++++++++++++++++++++++++++++++++++++++++++++----
11733 1 file changed, 220 insertions(+), 15 deletions(-)
11735 commit fd89ad3d7127e68df06345fa52863e73ada93689
11736 Author: Emmanuele Bassi <ebassi@openedhand.com>
11737 Date: Mon Oct 1 14:43:12 2007 +0100
11739 Declare json_node_take_object() and json_node_take_array()
11741 JsonParser uses the take variant of JsonNode setters for objects and arrays
11742 since it's the one creating the objects. This way, we avoid leaks and the
11743 extra complexity of unreffing the newly created complex containers after
11744 setting them into the JsonNodes.
11746 json-glib/json-private.h | 4 ++++
11747 1 file changed, 4 insertions(+)
11749 commit b2ee98f9b0baac019540020e177189b6a3780b83
11750 Author: Emmanuele Bassi <ebassi@openedhand.com>
11751 Date: Mon Oct 1 13:01:32 2007 +0100
11753 Chain up nodes to their parent
11755 When parsing a JSON node we need to correctly set up the parent node
11756 of the newly created ones.
11758 json-glib/json-parser.c | 6 +++++-
11759 1 file changed, 5 insertions(+), 1 deletion(-)
11761 commit 88b11be5eec1da769328e93189bc2f3316c9cd0a
11762 Author: Emmanuele Bassi <ebassi@openedhand.com>
11763 Date: Mon Oct 1 12:57:46 2007 +0100
11765 Add JsonNode, a generic container for JSON types
11767 This huge commit removes JsonData and adds JsonNode, the generic container
11768 for fundamental and complex data types extracted from a JSON stream. The
11769 contents of a JsonNode can be extracted from it in form of a GValue for
11770 fundamental types (integers, floats, strings, booleans) or in form of
11771 JsonObject and JsonArray objects. JsonObject and JsonArray now accept
11772 JsonNodes instead of GValues.
11774 The JsonParser object builds the data model tree when parsing a JSON stream;
11775 the tree can be recursed by getting the root node and walking it using the
11776 GValue API for the fundamental types and the objects/arrays API for complex
11779 The API has been updated and the tests now recurse through the generated
11782 json-glib/Makefile.am | 2 +-
11783 json-glib/json-array.c | 64 +++++------
11784 json-glib/json-data.c | 93 ----------------
11785 json-glib/json-node.c | 269 +++++++++++++++++++++++++++++++++++++++++++++++
11786 json-glib/json-object.c | 44 +++-----
11787 json-glib/json-parser.c | 87 +++++++++++----
11788 json-glib/json-parser.h | 2 +-
11789 json-glib/json-private.h | 38 ++++---
11790 json-glib/json-types.h | 59 ++++++-----
11791 tests/test-01.c | 2 +-
11792 tests/test-02.c | 112 +++++++++++++++++++-
11793 11 files changed, 535 insertions(+), 237 deletions(-)
11795 commit c11ebd32f73a1e21d6097bf9eba8e12f7e35497a
11796 Author: Emmanuele Bassi <ebassi@openedhand.com>
11797 Date: Fri Sep 21 21:07:12 2007 +0100
11799 Add JsonData, an opaque container for JSON data types
11801 JsonData is like GValue, but it stores JSON data types (objects and
11802 arrays) and allows us to retrieve them safely. This way we can actually
11803 know the type of the objects returned by the parser and by the other
11804 object walking functions.
11806 json-glib/Makefile.am | 1 +
11807 json-glib/json-data.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++
11808 json-glib/json-private.h | 7 ++++
11809 json-glib/json-types.h | 53 ++++++++++++++++++---------
11810 4 files changed, 138 insertions(+), 16 deletions(-)
11812 commit f661c7e1a04c2fb198279030c9dd812f357240a3
11813 Author: Emmanuele Bassi <ebassi@openedhand.com>
11814 Date: Fri Sep 21 21:05:12 2007 +0100
11816 Skip the token check after parsing a nested array
11818 Since there cannot be any other token except for the comma, which we
11819 eat anyway, there's no point in going through the switch() check
11820 after we have finished parsing a nested array.
11822 json-glib/json-parser.c | 2 ++
11823 1 file changed, 2 insertions(+)
11825 commit ae3a66e6a90b6cfd71cb8c41c0d752fd1b0a67cc
11826 Author: Emmanuele Bassi <ebassi@openedhand.com>
11827 Date: Fri Sep 21 20:15:52 2007 +0100
11829 Update gitignore file
11831 .gitignore | 7 +++++++
11832 1 file changed, 7 insertions(+)
11834 commit 7875c5f573fdc6c2a39e958d2032f4c26d1f91ff
11835 Author: Emmanuele Bassi <ebassi@openedhand.com>
11836 Date: Fri Sep 21 20:14:49 2007 +0100
11838 Start the test suite
11840 Add the first two test units:
11842 - test-01.c: build/empty test unit
11843 - test-02.c: array test unit
11845 Every test unit must follow the same naming policy, so we can add
11846 a run-tests script later on and a pre-commit hook to invoke it
11847 and catch regressions automagically.
11849 tests/Makefile.am | 12 ++++++++++++
11850 tests/test-01.c | 31 +++++++++++++++++++++++++++++++
11851 tests/test-02.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
11852 3 files changed, 95 insertions(+)
11854 commit 81ad2e5c61db2391d2d98a6b5df1247e3abf16ec
11855 Author: Emmanuele Bassi <ebassi@openedhand.com>
11856 Date: Fri Sep 21 20:12:02 2007 +0100
11860 Add the array parsing code. The parser identifies and builds nested
11861 levels of arrays, but the storage is not quite right. That is a problem
11862 of the parser object, though, so this can be considered a first raw
11863 pass at the problem.
11865 json-glib/json-parser.c | 114 ++++++++++++++++++++++++++++++++++++++++--------
11866 1 file changed, 97 insertions(+), 17 deletions(-)
11868 commit b433703db6722785e33f968830e23c5806230ac2
11869 Author: Emmanuele Bassi <ebassi@openedhand.com>
11870 Date: Fri Sep 21 12:16:15 2007 +0100
11872 Add RFC 4627 text, where JSON is defined
11874 doc/rfc4627.txt | 563 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11875 1 file changed, 563 insertions(+)
11877 commit c77af0ec13e3e11cdb784510e6a75125bb8ef667
11878 Author: Emmanuele Bassi <ebassi@openedhand.com>
11879 Date: Fri Sep 21 12:08:09 2007 +0100
11881 Top-levels in JSON can only be objects or arrays
11883 JSON is an object serialisation format (thanks, RFC4627), so it can
11884 only express objects and/or arrays as top-levels.
11886 json-glib/json-parser.c | 24 ++++++++++++++----------
11887 1 file changed, 14 insertions(+), 10 deletions(-)
11889 commit 0ff67fb63c5e021b88d6a3d17c5e34dc95ac2676
11890 Author: Emmanuele Bassi <ebassi@openedhand.com>
11891 Date: Fri Sep 21 11:58:00 2007 +0100
11893 Update gitignore file
11895 .gitignore | 4 ++++
11896 1 file changed, 4 insertions(+)
11898 commit d98d8c3d245192abe6ec5a531c9d0d678b07d061
11899 Author: Emmanuele Bassi <ebassi@openedhand.com>
11900 Date: Fri Sep 21 11:54:40 2007 +0100
11902 Add stubs to JsonParser for actually parsing a JSON stream
11904 Initial commit for getting JsonParser to work. Because GScanner API
11905 is old and mostly sucks, we need to do some magic with signals.
11907 If json_parser_load_from_data() fails, the passed GError will be set
11908 with a JSON_PARSER_ERROR code and message; unfortunately, we can't get
11909 the nice error message out of GScanner. We can, however, override the
11910 default message handler and make it emit a signal on the JsonParser
11913 So, to make a long story short: the GError passed to the load_from_data()
11914 method is filled with a short error message; the *real* error message
11915 is passed to the ::error signal handlers so they can actually use it.
11917 GScanner should really get a way to retrieve the last error message.
11919 json-glib/json-parser.c | 266 +++++++++++++++++++++++++++++++++++++++++++++++-
11920 json-glib/json-parser.h | 28 ++++-
11921 2 files changed, 290 insertions(+), 4 deletions(-)
11923 commit cd1040e2fb6f6da50aaf72017746b33234c39704
11924 Author: Emmanuele Bassi <ebassi@openedhand.com>
11925 Date: Fri Sep 21 11:08:06 2007 +0100
11927 Add marshallers generation to the build
11929 Use glib-genmarshal to generate the marshallers we need. For the
11930 time being, we just need a (void,pointer).
11932 json-glib/Makefile.am | 30 +++++++++++++++++++++++++-----
11933 json-glib/json-marshal.list | 1 +
11934 2 files changed, 26 insertions(+), 5 deletions(-)
11936 commit 821ac3e602f936318f9a2c3b831f135408ca5d74
11937 Author: Emmanuele Bassi <ebassi@openedhand.com>
11938 Date: Thu Sep 20 20:41:09 2007 +0100
11942 .gitignore | 29 +++++++++++++++++++++++++++++
11943 1 file changed, 29 insertions(+)
11945 commit c5bfb22f964b8f1feecdc8fb29d8a74b36861d32
11946 Author: Emmanuele Bassi <ebassi@openedhand.com>
11947 Date: Thu Sep 20 17:33:28 2007 +0100
11949 Initial import of JSON-GLib
11951 JSON-GLib is a JSON parser library written with GLib and GObject.
11953 JSON is the JavaScript Object Notation, and it's used to define objects
11954 and object hierarchies in a human-readable way.
11957 COPYING | 504 ++++++++++++++++++++++++++++++++++++++
11959 Makefile.am | 15 ++
11963 configure.ac | 119 +++++++++
11964 doc/Makefile.am | 0
11965 doc/reference/Makefile.am | 82 +++++++
11966 doc/reference/json-glib-docs.sgml | 0
11967 doc/reference/version.xml.in | 1 +
11968 json-glib.pc.in | 11 +
11969 json-glib/Makefile.am | 52 ++++
11970 json-glib/json-array.c | 176 +++++++++++++
11971 json-glib/json-glib.h | 8 +
11972 json-glib/json-object.c | 201 +++++++++++++++
11973 json-glib/json-parser.c | 152 ++++++++++++
11974 json-glib/json-parser.h | 57 +++++
11975 json-glib/json-private.h | 26 ++
11976 json-glib/json-types.h | 32 +++
11977 json-glib/json-version.h.in | 65 +++++
11978 tests/Makefile.am | 0
11979 23 files changed, 1551 insertions(+)