commit 7d17fd6f61781e73c4304016d09be091d5045145 Author: Ryan Lortie Date: Mon Oct 22 22:20:47 2012 +0200 Release GLib 2.35.1 NEWS | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 62 insertions(+), 1 deletion(-) commit 05756f84187c6ceef2c24ad7535284c691ec4c8a Author: Murray Cumming Date: Sun Oct 21 13:08:01 2012 +0200 Fix this cost -> the cost typos gio/gdbusintrospection.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit c2a2c4a00bd1b0ab8210e3e1dfc4acaeb56a3e5a Author: Matej Urbančič Date: Sat Oct 20 00:14:37 2012 +0200 Updated Slovenian translation po/sl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 475edeb2edad68b4bef818deb7ee7db92598397f Author: Antoine Jacoutot Date: Fri Oct 19 14:34:18 2012 +0200 Allow slightly too big poll duration in /socket/timed_wait test Sometimes the poll duration in the /socket/timed_wait test is slightly bigger than the requested 100000, causing failures like: GLib-GIO:ERROR:socket.c:620:test_timed_wait: assertion failed (poll_duration < 110000): (110057 < 110000) Adjust the test to allow some jitter in the "too high" direction. https://bugzilla.gnome.org/show_bug.cgi?id=686458 gio/tests/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d906f84a441ad70e42fd6d5eac8837a8a8639aaa Author: Matthias Clasen Date: Tue Oct 16 21:07:13 2012 -0400 GBytes: deal with a corner-case When calling g_bytes_unref_to_data on a GBytes with NULL data we could end up with double-free or use-after-free issues. https://bugzilla.gnome.org/show_bug.cgi?id=686091 glib/gbytes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0a364382333083ddc6376edc4d3cfb8dce0ccff Author: Matthias Clasen Date: Tue Oct 16 21:16:50 2012 -0400 Add a test for the previous fix Running tests/bytes with G_SLICE=always-malloc MALLOC_CHECK_=2 was aborting before. glib/tests/bytes.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 654bfcb7ce3b99d6b71ae86f1e0aee33056f70b1 Author: Ryan Lortie Date: Tue Oct 16 12:29:22 2012 -0400 GBusNameVanishedCallback: document NULL connection @connection can be NULL for this callback. Document this possibility and describe the circumstances. https://bugzilla.gnome.org/show_bug.cgi?id=686231 gio/gdbusnamewatching.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 212ffcc574d929ca0715960b4f29a4aab909a251 Author: Ryan Lortie Date: Tue Oct 16 12:27:12 2012 -0400 GMenuExporter: allow NULL bus on _name_vanished GBusNameVanishedCallback is called with a NULL GDBusConnection in the case that the connection has vanished. We were doing an assert to verify that it was the same as we had exported the menu on and that assert was failing. https://bugzilla.gnome.org/show_bug.cgi?id=685995 gio/gmenuexporter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2002479c02fa6e468fc3f67ddc663657a52ebde8 Author: Ryan Lortie Date: Tue Oct 16 09:40:45 2012 -0400 Add note about g_type_init() to README README.in | 5 +++++ 1 file changed, 5 insertions(+) commit df02fa1e4cc61a2c7f3aafdf1a6534a831f1c0d6 Author: Ryan Lortie Date: Mon Oct 15 12:01:01 2012 -0400 Properly deprecate g_type_init() Now that all internal users of it are gone. https://bugzilla.gnome.org/show_bug.cgi?id=686161 gobject/gtype.c | 4 ++++ gobject/gtype.h | 16 ++++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) commit 1dc774a653e992e1153fbed16f90097fa8db467f Author: Ryan Lortie Date: Mon Oct 15 12:00:51 2012 -0400 Remove g_type_init() calls Very many testcases, some GLib tools (resource compiler, etc) and GApplication were calling g_type_init(). Remove those uses, as they are no longer required. https://bugzilla.gnome.org/show_bug.cgi?id=686161 gio/gapplication.c | 4 ---- gio/gdbus-tool.c | 2 -- gio/gdbusaddress.c | 2 -- gio/gio-querymodules.c | 2 -- gio/glib-compile-resources.c | 2 -- gio/gresource-tool.c | 2 -- gio/gsettings-tool.c | 2 -- gio/tests/actions.c | 1 - gio/tests/appinfo.c | 1 - gio/tests/async-close-output-stream.c | 2 -- gio/tests/buffered-input-stream.c | 1 - gio/tests/buffered-output-stream.c | 2 -- gio/tests/cancellable.c | 1 - gio/tests/contenttype.c | 2 -- gio/tests/contexts.c | 1 - gio/tests/converter-stream.c | 1 - gio/tests/data-input-stream.c | 1 - gio/tests/data-output-stream.c | 1 - gio/tests/desktop-app-info.c | 1 - gio/tests/echo-server.c | 2 -- gio/tests/file.c | 2 -- gio/tests/fileattributematcher.c | 2 -- gio/tests/filter-cat.c | 2 -- gio/tests/filter-streams.c | 1 - gio/tests/g-file-info.c | 1 - gio/tests/g-file.c | 1 - gio/tests/g-icon.c | 1 - gio/tests/gapplication-example-cmdline2.c | 2 -- gio/tests/gapplication-example-dbushooks.c | 2 -- gio/tests/gapplication.c | 2 -- gio/tests/gdbus-addresses.c | 1 - gio/tests/gdbus-auth.c | 1 - gio/tests/gdbus-bz627724.c | 1 - gio/tests/gdbus-close-pending.c | 1 - gio/tests/gdbus-connection-flush-helper.c | 2 -- gio/tests/gdbus-connection-flush.c | 1 - gio/tests/gdbus-connection-loss.c | 1 - gio/tests/gdbus-connection-slow.c | 1 - gio/tests/gdbus-connection.c | 1 - gio/tests/gdbus-daemon.c | 2 -- gio/tests/gdbus-error.c | 1 - gio/tests/gdbus-example-export.c | 2 -- gio/tests/gdbus-example-objectmanager-client.c | 2 -- gio/tests/gdbus-example-objectmanager-server.c | 2 -- gio/tests/gdbus-example-own-name.c | 2 -- gio/tests/gdbus-example-peer.c | 2 -- gio/tests/gdbus-example-server.c | 2 -- gio/tests/gdbus-example-subtree.c | 2 -- gio/tests/gdbus-example-unix-fd-client.c | 2 -- gio/tests/gdbus-example-watch-name.c | 2 -- gio/tests/gdbus-example-watch-proxy.c | 2 -- gio/tests/gdbus-exit-on-close.c | 1 - gio/tests/gdbus-export.c | 1 - gio/tests/gdbus-introspection.c | 1 - gio/tests/gdbus-message.c | 1 - gio/tests/gdbus-names.c | 1 - gio/tests/gdbus-non-socket.c | 1 - gio/tests/gdbus-peer.c | 1 - gio/tests/gdbus-proxy-threads.c | 1 - gio/tests/gdbus-proxy-well-known-name.c | 1 - gio/tests/gdbus-proxy.c | 1 - gio/tests/gdbus-serialization.c | 1 - gio/tests/gdbus-test-codegen.c | 1 - gio/tests/gdbus-threading.c | 1 - gio/tests/gmenumodel.c | 1 - gio/tests/gschema-compile.c | 1 - gio/tests/gsettings.c | 1 - gio/tests/httpd.c | 2 -- gio/tests/inet-address.c | 1 - gio/tests/io-stream.c | 1 - gio/tests/live-g-file.c | 1 - gio/tests/memory-input-stream.c | 1 - gio/tests/memory-output-stream.c | 1 - gio/tests/mimeapps.c | 1 - gio/tests/network-address.c | 2 -- gio/tests/network-monitor.c | 2 -- gio/tests/permission.c | 1 - gio/tests/pollable.c | 1 - gio/tests/proxy-test.c | 1 - gio/tests/proxy.c | 2 -- gio/tests/readwrite.c | 1 - gio/tests/resolver.c | 2 -- gio/tests/resources.c | 1 - gio/tests/send-data.c | 2 -- gio/tests/simple-async-result.c | 1 - gio/tests/sleepy-stream.c | 1 - gio/tests/socket-client.c | 2 -- gio/tests/socket-server.c | 2 -- gio/tests/socket.c | 1 - gio/tests/srvtarget.c | 1 - gio/tests/task.c | 1 - gio/tests/tls-certificate.c | 1 - gio/tests/tls-interaction.c | 1 - gio/tests/unix-fd.c | 2 -- gio/tests/unix-streams.c | 1 - gio/tests/vfs.c | 1 - gio/tests/volumemonitor.c | 2 -- gio/tests/win32-streams.c | 1 - gobject/gobject-query.c | 2 -- gobject/gvalue.c | 2 -- gobject/testgobject.c | 1 - gobject/tests/binding.c | 1 - gobject/tests/boxed.c | 1 - gobject/tests/dynamictests.c | 1 - gobject/tests/enums.c | 1 - gobject/tests/ifaceproperties.c | 2 -- gobject/tests/param.c | 1 - gobject/tests/properties.c | 1 - gobject/tests/qdata.c | 2 +- gobject/tests/reference.c | 2 -- gobject/tests/signals.c | 2 -- gobject/tests/threadtests.c | 1 - gobject/tests/valuearray.c | 2 -- tests/gio-ls.c | 2 -- tests/gobject/accumulator.c | 1 - tests/gobject/defaultiface.c | 1 - tests/gobject/dynamictype.c | 1 - tests/gobject/gvalue-test.c | 1 - tests/gobject/ifacecheck.c | 2 -- tests/gobject/ifaceinherit.c | 1 - tests/gobject/ifaceinit.c | 1 - tests/gobject/override.c | 1 - tests/gobject/paramspec-test.c | 1 - tests/gobject/performance-threaded.c | 2 -- tests/gobject/performance.c | 2 -- tests/gobject/references.c | 1 - tests/gobject/singleton.c | 2 +- tests/refcount/closures.c | 1 - tests/refcount/objects.c | 1 - tests/refcount/objects2.c | 1 - tests/refcount/properties.c | 1 - tests/refcount/properties2.c | 3 +-- tests/refcount/properties3.c | 1 - tests/refcount/properties4.c | 1 - tests/refcount/signals.c | 1 - tests/timeloop-closure.c | 2 -- 136 files changed, 3 insertions(+), 189 deletions(-) commit 7c42ab23b55c43ab96d0ac2124b550bf1f49c1ec Author: Ryan Lortie Date: Mon Oct 15 11:53:25 2012 -0400 Convert g_type_init() to a ctor Move the guts of g_type_init() into a ctor and turn g_type_init() itself into a do-nothing function. g_type_init_with_debug_flags() now ignores its arguments, but it has always been possible to achieve the same effect via environment variables. https://bugzilla.gnome.org/show_bug.cgi?id=686161 docs/reference/gobject/tut_gtype.xml | 4 +- gobject/gtype.c | 104 ++++++++++++++++------------------ gobject/gtype.h | 1 - 3 files changed, 50 insertions(+), 59 deletions(-) commit 691c0b053e0d290db407b539ff63849423e60907