commit fbe1fb8e4999dc9e7c30a19896e421e8a2c4103b Author: Ryan Lortie Date: Mon Dec 19 13:38:21 2011 -0500 glib 2.31.6 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 45 insertions(+), 1 deletions(-) commit 5e8a10daf15afc8fa006a3ce9877541c344a4c67 Author: Ryan Lortie Date: Mon Dec 19 13:37:06 2011 -0500 gitignore build/win32/vs10/.gitignore | 6 ++++++ .../gio/gdbus-object-manager-example/.gitignore | 1 + gio/tests/.gitignore | 6 ++++-- 3 files changed, 11 insertions(+), 2 deletions(-) commit 0a22f63ebe7ea1abe78e4b88287aaf31eb1bdb5e Author: Ryan Lortie Date: Mon Dec 19 10:47:45 2011 -0500 Drop public menu APIs from GApplication This is moving to Gtk, but we don't want to do it all right now. docs/reference/gio/gio-sections.txt | 4 -- gio/gapplication.c | 74 +++++----------------------------- gio/gapplication.h | 8 ---- gio/gapplicationimpl-dbus.c | 14 +++++-- gio/gio.symbols | 4 -- 5 files changed, 21 insertions(+), 83 deletions(-) commit 0c094d660769a00564ef33a775a387f62cf2ff41 Author: Ryan Lortie Date: Mon Dec 19 10:47:28 2011 -0500 Drop the GApplication menu test gio/tests/Makefile.am | 4 -- gio/tests/gapplication-example-menu.c | 87 --------------------------------- 2 files changed, 0 insertions(+), 91 deletions(-) commit db7707b41a48c062b8b7595bbfc241692eed7b62 Author: Daniel Mustieles Date: Mon Dec 19 17:13:11 2011 +0100 Updated Spanish translation po/es.po | 314 ++++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 171 insertions(+), 143 deletions(-) commit 466432830c60c61fe99ac30e4914443b0f0bd979 Author: Giovanni Campagna Date: Sat Dec 17 20:08:50 2011 +0100 gsettings-tool: allow specifying custom schema dirs It happens that one wants to customize settings for plugins or shell extensions, that installing schemas in nonstandard locations. This patch adds the --schemadir option to gsettings, and ensure that the appropriate schema is found. https://bugzilla.gnome.org/show_bug.cgi?id=666415 gio/gsettings-bash-completion.sh | 41 ++++++--- gio/gsettings-tool.c | 179 ++++++++++++++++++++++---------------- 2 files changed, 133 insertions(+), 87 deletions(-) commit f59acb55c1758d5e620b4806036dbc997db24ad4 Author: Florian Müllner Date: Mon Dec 19 14:52:10 2011 +0100 gdesktopappinfo: Use "Keywords" instead of "X-GNOME-Keywords" The field has now been standardized, so drop the prefix. gio/gdesktopappinfo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 40413490374777c0aba8b569f5ad45ffc205cac0 Author: Matthias Clasen Date: Mon Dec 19 07:45:43 2011 -0500 Teach gtk-doc about G_GNUC_WARN_UNUSED_RESULT docs/reference/gio/Makefile.am | 3 ++- docs/reference/glib/Makefile.am | 2 +- docs/reference/gobject/Makefile.am | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit 0971d36e4b8338f4f3f96d751f5275517514d3b1 Author: Ryan Lortie Date: Sat Dec 17 00:52:57 2011 -0500 GApplication: receiving end of GRemoteActionGroup Use the fact that the action group exporter now speaks to GRemoteActionGroup to get the platform data into GApplicion without hacks. https://bugzilla.gnome.org/show_bug.cgi?id=665737 gio/gapplication.c | 89 ++++++++++++++++++++++++++++++++++++++++++- gio/gapplicationimpl-dbus.c | 6 ++- gio/gapplicationimpl.h | 13 +++--- 3 files changed, 100 insertions(+), 8 deletions(-) commit 1807ef336a94a1d2498e2ce77686c29db1aa6aac Author: Ryan Lortie Date: Sat Dec 17 00:26:11 2011 -0500 action group exporter: kill GApplication hackery Use the GRemoteActionGroup interface, if available, instead. https://bugzilla.gnome.org/show_bug.cgi?id=665737 gio/gactiongroupexporter.c | 38 +++++++++++++------------------------- 1 files changed, 13 insertions(+), 25 deletions(-) commit eefd08996f7657488cb8afed23667030d6bd45f7 Author: Ryan Lortie Date: Sat Dec 17 00:17:08 2011 -0500 introduce GRemoteActionGroup This interfaceifies the extra functions that were on GDBusActionGroup for dealing with platform data. The two main benefits of doing this: - no longer have to do a silly song and dance in GApplication to avoid calling GDBusActionGroup API from non-dbus-aware code - the interface can be reused by the action group exporter to avoid ugly and unbindable hook callbacks https://bugzilla.gnome.org/show_bug.cgi?id=665737 docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 16 ++++ gio/Makefile.am | 2 + gio/gapplication.c | 19 +++-- gio/gapplicationimpl-dbus.c | 35 ++------- gio/gapplicationimpl.h | 14 +--- gio/gdbusactiongroup.c | 138 +++++++++++++---------------------- gio/gdbusactiongroup.h | 9 -- gio/gio.h | 1 + gio/gio.symbols | 5 +- gio/giotypes.h | 1 + gio/gremoteactiongroup.c | 136 ++++++++++++++++++++++++++++++++++ gio/gremoteactiongroup.h | 74 +++++++++++++++++++ 13 files changed, 303 insertions(+), 148 deletions(-) commit ee9f104432ee1ed0bf1e7461cf3264d0f0f1d297 Author: Ryan Lortie Date: Fri Dec 16 22:24:03 2011 -0500 GApplication: send platform data for actions again Use the _full variants of the GDBusActionGroup API to send platform data for action invocations once again. gio/gapplication.c | 16 +++++++--------- gio/gapplicationimpl-dbus.c | 20 ++++++++++++++++++++ gio/gapplicationimpl.h | 12 ++++++++++++ 3 files changed, 39 insertions(+), 9 deletions(-) commit f58df66d4d640ea926573104be9849037a3c8522 Author: Ryan Lortie Date: Fri Dec 16 22:23:30 2011 -0500 GDBusActionGroup: add _full variants of activation This allows the platform_data to be explicitly specified. docs/reference/gio/gio-sections.txt | 4 ++ gio/gdbusactiongroup.c | 93 ++++++++++++++++++++++++++++++----- gio/gdbusactiongroup.h | 9 +++ gio/gio.symbols | 2 + 4 files changed, 95 insertions(+), 13 deletions(-) commit e5ed11bcf807b3e2c0a36c684e9b794ec253cd72 Author: Ryan Lortie Date: Fri Dec 16 21:25:57 2011 -0500 Revert "GDBusActionGroup: add static platform registration" This reverts commit fcc9902e98a6a6568a1150441c8680fd4615d437. gio/gactiongroupexporter.c | 10 ---------- gio/gdbusactiongroup.c | 32 ++------------------------------ gio/gdbusactiongroup.h | 14 +++----------- gio/gio.symbols | 1 - 4 files changed, 5 insertions(+), 52 deletions(-) commit e370631f46ca9b9d5b6ca1f7bbdf0ce708922ad3 Author: Ryan Lortie Date: Fri Dec 16 11:39:24 2011 -0500 GApplication: emit signals on action changes Now that we're a GActionMap the story about propagating signals from our (now-constant) internal action group is vastly simplified. If someone calls g_application_set_action_group() then signals will stop working -- but this function is deprecated and they never worked before, so no big loss there. https://bugzilla.gnome.org/show_bug.cgi?id=643736 gio/gapplication.c | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) commit 11015f165229ac3cb5f008a8824f8135ec45c89a Author: Ryan Lortie Date: Thu Dec 15 13:27:27 2011 -0500 windows XP threads: fix hilariously obvious race I tried to do a double-checked lock without the double check. Rodrigo Rivas Costa caught the problem and suggested the (obviously correct) fix. https://bugzilla.gnome.org/show_bug.cgi?id=666296 glib/gthread-win32.c | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 deletions(-) commit fcc9902e98a6a6568a1150441c8680fd4615d437 Author: Ryan Lortie Date: Wed Dec 14 13:31:27 2011 -0500 GDBusActionGroup: add static platform registration We provide a mechanism by which a 'platform' (eg: Gtk) can register some hook functions to be called to collect platform-data at the point of sending an outgoing action activation request and also to inform the platform of this data on incoming requests (before and after dispatching the actual request). This can be used for forwarding timestamp and startup-notification information (as is presently done in GApplication) but the before/after hook could also be used for acquiring/releasing the Gdk lock or other similar things. https://bugzilla.gnome.org/show_bug.cgi?id=665737 gio/gactiongroupexporter.c | 10 ++++++++++ gio/gdbusactiongroup.c | 32 ++++++++++++++++++++++++++++++-- gio/gdbusactiongroup.h | 14 +++++++++++--- gio/gio.symbols | 1 + 4 files changed, 52 insertions(+), 5 deletions(-) commit 1d4009e6f7e1d368b3e3df2fa41b007277b600d8 Author: Ravi Sankar Guntur Date: Wed Dec 14 20:17:54 2011 +0530 Added API g_queue_free_full(). g_queue_free_full(), to free a Queue including its dynamically-allocated elements. On similar lines to List and Slist. void g_queue_free_full (GQueue *queue, GDestroyNotify free_func); Test case covering g_queue_free_full() is added. Added export symbol to glib.symbols. Closes Bug: https://bugzilla.gnome.org/show_bug.cgi?id=657433 Signed-off-by: Ravi Sankar Guntur glib/glib.symbols | 1 + glib/gqueue.c | 24 ++++++++++++++++++++++++ glib/gqueue.h | 2 ++ glib/tests/queue.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 0 deletions(-) commit 63e69b4958272c5c1525da60005cae6a974d0d48 Author: Colin Walters Date: Thu Dec 15 09:47:15 2011 -0500 GDBusActionGroup: Fix a typo in docs gio/gdbusactiongroup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 84df41c02c8806071d18e532432dff00a48ff369 Author: Dan Winship Date: Wed Dec 14 10:19:13 2011 -0500 configure.ac: robustify netlink.h check https://bugzilla.gnome.org/show_bug.cgi?id=666173 configure.ac | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 14fb10d14b07cef6af8952bfdd0bd4d864876607 Author: Stef Walter Date: Fri Dec 9 18:19:24 2011 +0100 GBytes: add a size argument to g_bytes_get_data * An out size argument so that this is more easily bindable by gobject-introspection. https://bugzilla.gnome.org/show_bug.cgi?id=665879 glib/gbytes.c | 8 ++++++-- glib/gbytes.h | 3 ++- glib/gtimezone.c | 4 ++-- glib/gvariant-core.c | 5 ++--- glib/tests/array-test.c | 4 +++- glib/tests/bytes.c | 41 ++++++++++++++++++++++++++--------------- 6 files changed, 41 insertions(+), 24 deletions(-) commit 162bafee37ccd5d58260423a8120fdcba25ecad6 Author: Chris Coulson Date: Wed Dec 14 14:00:56 2011 +0000 Initialize service_loop before running the service thread Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666129 gio/tests/gdbus-peer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a6eda97d8e8440ea5b04c081d444916dc51ad220 Author: Matthias Clasen Date: Wed Dec 14 21:05:38 2011 -0500 menu markup: tolerate not having a hash table of objects Various places in the code were assuming that the hash table was always available. Fix this, and also avoid leaking strings now that the hash table may be NULL. Based on a patch by Simon McVittie, bug 666167 gio/gmenumarkup.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit e129deb0170c8a18e662c53db799f2ba16ebf26f Author: Simon McVittie Date: Wed Dec 14 16:56:15 2011 +0000 g_array_free, g_ptr_array_free: decrement refcount if not the last ref foo_free is conceptually "worth" one unref; not decrementing the refcount here means the GArray or GPtrArray wrapper (but not its contents) would leak in the following call sequence: p = g_ptr_array_new (); g_ptr_array_ref (p); g_ptr_array_free (p, TRUE); g_ptr_array_unref (p); Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/garray.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit df9d9cc72f4d107f576322516a87e9fe0daa2539 Author: Simon McVittie Date: Wed Dec 14 16:53:24 2011 +0000 GArray, GPtrArray: factor out the actual freeing Depending how the array is freed, we may want to free the underlying array (the "segment"), the struct wrapper or both. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/garray.c | 57 +++++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 43 insertions(+), 14 deletions(-) commit 6457677b7db236ab580bdf546221f1e8d2102c80 Author: Simon McVittie Date: Wed Dec 14 16:46:56 2011 +0000 g_key_file_get_string_list: don't leak the pieces on error Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/gkeyfile.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit a1bd6e07172771f9a7e8006e5f1f824cc1f564ea Author: Simon McVittie Date: Tue Dec 13 18:18:27 2011 +0000 tls-interaction test: use a weak pointer instead of a deliberate use-after-free Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Reviewed-by: Dan Winship gio/tests/tls-interaction.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit 0a7930d04879018b5ea451ee9708f40fe93a131e Author: Ryan Lortie Date: Tue Dec 13 20:54:24 2011 -0500 gdbus tests: remove buggy use of GMainLoop g_main_loop_quit() only quits mainloops that are currently running -- not ones that may run in the future. The way the gdbus-threading tests are written can possibly result in a call to g_main_loop_quit() before g_main_loop_run() has started. The mainloops aren't actually used for anything other than signalling the completion of the threads, so just use g_thread_join() for that. https://bugzilla.gnome.org/show_bug.cgi?id=666129 gio/tests/gdbus-threading.c | 25 ------------------------- 1 files changed, 0 insertions(+), 25 deletions(-) commit a2e9318d4a8dc1257526814b8255210acd13d406 Author: Ryan Lortie Date: Wed Dec 14 09:32:11 2011 -0500 two test fixes for ARM First, some ARM systems are not fast enough to meet the 30 second deadline in gwakeuptest.c, so increase that to 60. Second, we have some signed/unsigned woes in the gparam transform tests. glib/tests/gwakeuptest.c | 4 ++-- gobject/tests/param.c | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) commit 995a2eb50bf7d9e46c029768691f93b31e09bdf8 Author: Simon McVittie Date: Tue Dec 13 18:18:07 2011 +0000 Plug some leaks in the GIO tests Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Reviewed-by: Matthias Clasen gio/tests/data-input-stream.c | 1 + gio/tests/network-monitor.c | 8 ++++++++ gio/tests/pollable.c | 1 + gio/tests/socket.c | 3 +++ gio/tests/tls-certificate.c | 1 + 5 files changed, 14 insertions(+), 0 deletions(-) commit f6b2847e5787a7c17a6d85f57049c5699451c246 Author: Simon McVittie Date: Tue Dec 13 14:46:02 2011 +0000 hash test: avoid leaking various keys and values Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Reviewed-by: Matthias Clasen glib/tests/hash.c | 82 ++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 75 insertions(+), 7 deletions(-) commit 5dca72fe67aec5f98bfb68257c34ff133b59d22a Author: Simon McVittie Date: Mon Dec 12 18:56:21 2011 +0000 GOptionContext test: free all arguments, not just the remaining ones On success, g_option_context_parse alters argv by removing options that it understood, so g_strfreev is insufficient. Instead, take a shallow copy and free all of the arguments in that, then free the array argv but not its contents. Also, improve the checks in error cases, by checking that argv has not been altered in this way. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Reviewed-by: Matthias Clasen glib/tests/option-context.c | 353 ++++++++++++++++++++++++++++++++----------- 1 files changed, 265 insertions(+), 88 deletions(-) commit 29f2ced8eb32d9001da8082c4530f017decb8267 Author: Simon McVittie Date: Tue Dec 13 19:01:42 2011 +0000 various GLib tests: plug memory leaks These don't really matter, since it's test code, but they do obscure real leaks in the library. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Acked-by: Matthias Clasen glib/tests/bookmarkfile.c | 6 ++---- glib/tests/cache.c | 2 ++ glib/tests/convert.c | 4 ++++ glib/tests/fileutils.c | 4 ++++ glib/tests/gvariant.c | 1 + glib/tests/gwakeuptest.c | 2 +- glib/tests/include.c | 1 + glib/tests/keyfile.c | 1 + glib/tests/mainloop.c | 3 +++ glib/tests/markup-parse.c | 33 ++++++++++++++++++++++++++------- glib/tests/mem-overflow.c | 23 +++++++++++++++++++---- glib/tests/node.c | 2 ++ glib/tests/option-argv0.c | 2 ++ glib/tests/option-context.c | 3 +++ glib/tests/protocol.c | 6 ++++++ glib/tests/queue.c | 12 ++++++++++-- glib/tests/sequence.c | 7 +++++++ glib/tests/strfuncs.c | 5 ++++- glib/tests/string.c | 4 ++++ glib/tests/timeout.c | 2 ++ glib/tests/tree.c | 1 + glib/tests/unix.c | 3 +++ glib/tests/uri.c | 15 ++++++++++++++- gobject/tests/boxed.c | 2 ++ gobject/tests/param.c | 1 + tests/testglib.c | 12 ++++++++++++ 26 files changed, 137 insertions(+), 20 deletions(-) commit a0f5e89aedd0fcd04164c35b1c77d194adfc698a Author: Simon McVittie Date: Mon Dec 12 15:55:59 2011 +0000 testglib: test_file_functions: don't close fd if it's -1 Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Reviewed-by: Matthias Clasen tests/testglib.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit fedc0cff518067c26bad698798e50069c765d1f3 Author: Simon McVittie Date: Wed Dec 14 12:39:06 2011 +0000 Revert "g_menu_markup_start_element: tolerate not having a hash table of objects" This reverts commit bcdb60641196f98482b5e17fcc96a92589deba35, accidentally pushed before it was reviewed. gio/gmenumarkup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit bcdb60641196f98482b5e17fcc96a92589deba35 Author: Simon McVittie Date: Wed Dec 14 12:31:31 2011 +0000 g_menu_markup_start_element: tolerate not having a hash table of objects I don't know whether this is the right fix, but gio/tests/gmenumodel crashes out, which can't be right. gio/gmenumarkup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 93f8f8158fc086312ad1e0711d403bb7479416ee Author: Simon McVittie Date: Mon Dec 12 18:58:03 2011 +0000 g_variant_byteswap: don't leak serialised.data Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Matthias Clasen glib/gvariant.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a48edddc198237803474994a3c9813d3b21f4f78 Author: Simon McVittie Date: Tue Dec 13 18:16:55 2011 +0000 GDBusActionGroup: don't leak param_str Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Matthias Clasen gio/gdbusactiongroup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c49a4dba82ea4edb8d09619caf3dc4f65e92f9dc Author: Simon McVittie Date: Tue Dec 13 14:44:18 2011 +0000 g_data_set_internal: avoid use-after-free if datalist is in dataset Removing the last thing in a dataset frees the dataset, and if the datalist was in a dataset, we can't safely unlock it after the dataset has been freed. Unlock it sooner. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Matthias Clasen glib/gdataset.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit 0bf8378840ef553262fa4f8c981c867f8f6efaaf Author: Simon McVittie Date: Mon Dec 12 18:37:10 2011 +0000 g_strcompress: check that source is non-NULL rather than just crashing Calling this function with a NULL argument is considered to be invalid, but one of the regression tests does it anyway (to watch it crash), which seems a good indication that it's expected to be somewhat common. Let's check it rather than segfaulting. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi Reviewed-by: Matthias Clasen glib/gstrfuncs.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit fbab468da531c41a516024171e67c2a7088979dd Author: Simon McVittie Date: Tue Dec 13 18:17:13 2011 +0000 g_dbus_action_group_changed: don't leak iterator and its contents Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi gio/gdbusactiongroup.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 90baa7e460c86c4c1d22f791482a2380467a190a Author: Simon McVittie Date: Mon Dec 12 18:35:14 2011 +0000 GKeyFile: free group comments when the group is removed These were leaked. Valgrind was sad. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/gkeyfile.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 9ddb2f8091e72e2c03794e65bd35031e49559dff Author: Simon McVittie Date: Mon Dec 12 18:34:47 2011 +0000 g_hmac_get_string: don't allocate and leak an unused buffer Also document why we're not actually using the buffer for anything. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/ghmac.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 64ca85ceaeb0375ff5931d45810015d5d2c774f1 Author: Simon McVittie Date: Mon Dec 12 15:54:50 2011 +0000 g_hmac_copy: initialize the refcount In practice, the uninitialized refcount will typically mean that the copy is never freed, and leaks. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/ghmac.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit edfab83c07ccac635dae15f0b8ee30c662d239a3 Author: Matthias Clasen Date: Wed Dec 14 07:16:04 2011 -0500 Add an explicit deprecation note to g_thread_init https://bugzilla.gnome.org/show_bug.cgi?id=666145 glib/deprecated/gthread-deprecated.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit b386d9ffb70879fed888f15c8ca41957e02c280c Author: Matthias Clasen Date: Wed Dec 14 00:10:34 2011 -0500 Add another menu parser test This one concerns itself with objects. gio/tests/gmenumodel.c | 62 +++++++++++++++++++++++++++++++++++------------ 1 files changed, 46 insertions(+), 16 deletions(-) commit b153e38ff0b6fc7c6532e6dfc5b0f7305a360574 Author: Matthias Clasen Date: Tue Dec 13 23:16:25 2011 -0500 GMenuModel: Flesh out the docs some more gio/gmenumodel.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit c14a3b3e9c43a32552223c05f1559717eeccec95 Author: Matthias Clasen Date: Tue Dec 13 23:06:16 2011 -0500 GMenu: purge references to GMenuProxy from the docs gio/gmenuexporter.c | 4 ++-- gio/gmenumodel.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 7e92997539b481e31b5566b4885c8b5158488daa Author: Stef Walter Date: Tue Dec 13 23:00:16 2011 -0500 documentation fixes Fixes for gtk-doc warnings. http://bugzilla.gnome.org/show_bug.cgi?id=66469 https://bugzilla.gnome.org/show_bug.cgi?id=664699 docs/reference/glib/glib-sections.txt | 4 ++ docs/reference/gobject/gobject-sections.txt | 2 + glib/docs.c | 6 ++- glib/garray.c | 12 +++--- glib/gbacktrace.h | 2 +- glib/gerror.c | 2 +- glib/gfileutils.c | 10 ++-- glib/ggettext.c | 2 +- glib/ghook.c | 4 +- glib/giochannel.c | 10 ++-- glib/glib-init.c | 2 +- glib/glib-unix.c | 20 +++++---- glib/glib-unix.h | 4 +- glib/gmain.c | 6 +- glib/gmain.h | 3 +- glib/gmessages.c | 6 +- glib/gpoll.h | 3 + glib/gscanner.c | 65 ++++++++++++++++++--------- glib/gscanner.h | 10 +++- glib/gspawn.c | 8 ++-- glib/gspawn.h | 34 +++++++------- glib/gstdio.c | 2 +- glib/gstrfuncs.c | 54 +++++++++++----------- glib/gtestutils.c | 12 +++--- glib/gthread-posix.c | 2 +- glib/gthread.c | 8 ++-- gmodule/gmodule.c | 1 + gobject/genums.c | 2 +- 28 files changed, 169 insertions(+), 127 deletions(-) commit b0c3997fdd553eca363dfd0f3c4da9938800acf9 Author: Matthias Clasen Date: Tue Dec 13 12:56:20 2011 -0500 Improve GNetworkMonitor docs Make sure we get signal and property docs, and mention the extension point in the overview. docs/reference/gio/gio.types | 1 + docs/reference/gio/overview.xml | 25 ++++++++++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) commit f3dde2d4057f5dfa5cbc9f1e3f13d596608b0b3b Author: Christophe Fergeau Date: Mon Dec 12 15:06:41 2011 +0100 gnetworkmonitornetlink.c: Fix compilation on RHEL 6.2 When trying to compile glib master on a RHEL 6.2 system, it fails with: make[4]: Entering directory `/home/teuf/gnome/src/glib/gio' CC libgio_2_0_la-gnetworkmonitornetlink.lo In file included from gnetworkmonitornetlink.c:25: /usr/include/linux/netlink.h:35: error: expected specifier-qualifier-list before 'sa_family_t' gnetworkmonitornetlink.c: In function 'g_network_monitor_netlink_initable_init': gnetworkmonitornetlink.c:99: error: 'struct sockaddr_nl' has no member named 'nl_family' gnetworkmonitornetlink.c:100: error: 'struct sockaddr_nl' has no member named 'nl_pid' gnetworkmonitornetlink.c:100: error: 'struct sockaddr_nl' has no member named 'nl_pad' gnetworkmonitornetlink.c:101: error: 'struct sockaddr_nl' has no member named 'nl_groups' make[4]: *** [libgio_2_0_la-gnetworkmonitornetlink.lo] Error 1 sa_family_t is defined in sys/socket.h, this commit makes sure this header is included before netlink.h This fixes bgo bug #666001 gio/gnetworkmonitornetlink.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit b79d1f8619951322efcfab02df65d868fa247ac7 Author: Ryan Lortie Date: Tue Dec 13 09:16:51 2011 -0500 bump version configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ab15175567d11600d0293fb4028718d2dead2e76 Author: Chun-wei Fan Date: Tue Dec 13 12:12:48 2011 +0800 Update VS property sheets "Install" the newly-added public headers in GLib and GIO, such as the ones for GMenuModel, etc. build/win32/vs10/glib.props | 28 ++++++++++++++++++++++++++-- build/win32/vs9/glib.vsprops | 14 +++++++++++++- 2 files changed, 39 insertions(+), 3 deletions(-) commit b6890e94fe304adc8d00f0211d3ed546841bf388 Author: Alexandre Franke Date: Mon Dec 12 20:36:29 2011 +0100 Fix wording délai épuisé has been replaced with délai dépassé po/fr.po | 6126 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 3123 insertions(+), 3003 deletions(-)