commit 93849185ca8b5bfdece2b80f21f25efd160f0019 Author: Matthias Clasen Date: Mon Jan 9 23:23:27 2012 -0500 Updates NEWS | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 56 insertions(+), 1 deletions(-) commit 00c00e2f3f3194202877e54a2429bd1a4f9c5526 Author: Matthias Clasen Date: Mon Jan 9 21:49:08 2012 -0500 Add G_FILE_ATTRIBUTE_FILESYSTEM_USED to get exact used space This is implemented by with statfs_buffer.f_bavail (free blocks for unprivileged users) as a default way to retrieve real free space. Based on a patch by Marcus Carlson, bug 625751. docs/reference/gio/gio-sections.txt | 1 + gio/gfileattribute.c | 1 + gio/gfileinfo.h | 11 +++++++++++ gio/glocalfile.c | 19 +++++++++++++++++++ 4 files changed, 32 insertions(+), 0 deletions(-) commit 31960257a6f52a4ec92d70986969f3f7ce336c4c Author: Matthias Clasen Date: Mon Jan 9 21:35:13 2012 -0500 Make glocalfile.c more readable The many nested ifdefs here really deserve some annotations. Based on a patch by Marcus Carlson, bug 625751. gio/glocalfile.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit fd7e44383810cd939d8e0daf880817f67ea1dce2 Author: Ravi Sankar Guntur Date: Fri Jan 6 22:43:19 2012 +0530 add g_queue_free_full to glib-sections.txt Signed-off-by: Ravi Sankar Guntur https://bugzilla.gnome.org/show_bug.cgi?id=667331 docs/reference/glib/glib-sections.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 0ed2cdb0d926e28188f1ac924c8216dfa9db24a6 Author: Ravi Sankar Guntur Date: Thu Jan 5 10:51:03 2012 +0530 Use g_queue_free_full() convenience function. https://bugzilla.gnome.org/show_bug.cgi?id=667331 Signed-off-by: Ravi Sankar Guntur gio/gdbusprivate.c | 12 +++--------- glib/gmain.c | 22 +++++++++++----------- 2 files changed, 14 insertions(+), 20 deletions(-) commit a76d85de50285c7f376acefd14e66764afc1321a Author: Ihar Hrachyshka Date: Tue Jan 10 01:00:29 2012 +0300 Updated Belarusian translation. po/be.po | 5888 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 2960 insertions(+), 2928 deletions(-) commit ddf9633d95235ed783cdab42e79e99b7b0f6bee0 Author: Matthias Clasen Date: Mon Jan 9 15:27:07 2012 -0500 fix a compiler warning glib/tests/regex.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 39dc681fc7d9e336d081d0d6559e6dd3454965a0 Author: Matthias Clasen Date: Fri Jan 6 20:48:04 2012 -0500 Realign the hash set example with added api Change the name of set_insert to set_add, to better match the newly added g_hash_table_add. glib/ghash.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 875ffc41b72291cc0f2d3efae905cb0b380bb210 Author: Ryan Lortie Date: Mon Jan 9 14:28:10 2012 +0100 drop debian/ directory debian/README.debian | 30 ---------- debian/build | 62 --------------------- debian/changelog | 10 --- debian/control | 53 ------------------ debian/copyright | 8 --- debian/libglib-cvs-dev.files | 9 --- debian/postinst | 7 -- debian/rules | 126 ------------------------------------------ 8 files changed, 0 insertions(+), 305 deletions(-) commit 7678b10703ebe84cf869cf5929d89770f3f7f977 Author: Dan Vrátil Date: Mon Jan 9 09:29:20 2012 +0100 Fix GHashTable GDB pretty printing (bug #667420) glib/glib.py | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) commit 82740adc61b6d4a6174d033efe1df1303b98eaa1 Author: Alexander Shopov Date: Sun Jan 8 16:48:13 2012 +0200 Updated Bulgarian translation po/bg.po | 5874 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 2963 insertions(+), 2911 deletions(-) commit d141940bc67a1c101dbd893e0b5247d931515159 Author: Jasper St. Pierre Date: Fri Jan 6 14:29:45 2012 -0500 gthread-posix: Remove misleading documentation comments g_thread_init() has done nothing since 2.32, so while the function still can be used if "g_thread_init() has not yet been called", it won't do nothing in that case, it will just perform normally. glib/gthread-posix.c | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) commit 021e116f0525ce99cea97fb7039d6be804d4145f Author: Jasper St. Pierre Date: Mon Sep 12 23:14:32 2011 -0400 gbacktrace: g_get_prgname () isn't called for a NULL argument https://bugzilla.gnome.org/show_bug.cgi?id=658871 glib/gbacktrace.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit a44404f4ecbf9404f32313f8ee9a3fd06e5b0a47 Author: Kjartan Maraas Date: Fri Jan 6 20:35:34 2012 +0100 Updated Norwegian bokmål translation po/nb.po | 296 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 148 insertions(+), 148 deletions(-) commit 20825918a3035e1569eb12f0fc8c4d482b0a27d4 Author: Daniel Mustieles Date: Fri Jan 6 20:31:54 2012 +0100 Updated Spanish translation po/es.po | 440 ++++++++++++++++++++++++++++++-------------------------------- 1 files changed, 211 insertions(+), 229 deletions(-) commit 21d2c49f82aa3c73ab77817a80065e747a9d154a Author: Ryan Lortie Date: Fri Jan 6 10:25:03 2012 -0500 minor fixup to last commit glib/ghash.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 752f0cac159dc84c03c42f84d9d8a8c923334d43 Author: Ryan Lortie Date: Fri Jan 6 10:09:32 2012 -0500 GHashTable: new 'add' and 'contains' APIs These are both convenience APIs that make it slightly nicer to use GHashTable as a set (which is something we document as officially supported). docs/reference/glib/glib-sections.txt | 2 + glib/ghash.c | 48 +++++++++++++++++++++++++++++++++ glib/ghash.h | 4 +++ glib/glib.symbols | 2 + 4 files changed, 56 insertions(+), 0 deletions(-) commit b87f6f9f8cb789a645b8792cf197328fb686ba55 Author: Nguyễn Thái Ngọc Duy Date: Fri Jan 6 16:58:57 2012 +0700 gio/gsocks5proxy: typo fix gio/gsocks5proxy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6e92646f218ce6d70dc932c5b444150d78928294 Author: Nguyễn Thái Ngọc Duy Date: Fri Jan 6 16:58:28 2012 +0700 Updated Vietnamese translation po/vi.po | 114 ++++++++++++++++++++++++++----------------------------------- 1 files changed, 49 insertions(+), 65 deletions(-) commit 74345b3383132985c04ec2f46846f89d7a51f0a0 Author: Nguyễn Thái Ngọc Duy Date: Fri Jan 6 16:48:13 2012 +0700 po/vi: import from Damned Lies po/vi.po | 5906 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 3027 insertions(+), 2879 deletions(-) commit 0da8db52cdd928809dc7e78c951ecbb19c51c0a2 Author: Dan Winship Date: Thu Jan 5 12:57:01 2012 -0500 Remove some cruft from an older version of the code gio/gfilterinputstream.c | 3 --- gio/gfilteroutputstream.c | 1 - 2 files changed, 0 insertions(+), 4 deletions(-) commit 382341dd9934251de9e9e10dbe5ea3da00c74c59 Author: Michael Terry Date: Wed Jan 4 14:48:53 2012 -0500 gdesktopappinfo: Fix gtk-doc to mention Keywords not X-GNOME-Keywords https://bugzilla.gnome.org/show_bug.cgi?id=667285 gio/gdesktopappinfo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2fe964eeb15843a1e21789d13751b789f520ea4b Author: Simon McVittie Date: Thu Jan 5 15:10:04 2012 +0000 Mention g_test_undefined() when documenting assert_failed, assert_stderr Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666116 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters glib/gtestutils.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) commit 254efaf85e0bb0748e97a3dbe68153831a96592f Author: Simon McVittie Date: Thu Jan 5 15:02:07 2012 +0000 Skip tests of incorrect property usage under gtester -m no-undefined Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666116 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters gobject/tests/param.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) commit e3d53d5529522a8db4e1711b47baa44250ce09fd Author: Javier Jardón Date: Thu Jan 5 04:31:21 2012 +0100 glib/*: Use g_slist_free_full() convenience function glib/gshell.c | 14 ++++---------- glib/tests/regex.c | 3 +-- 2 files changed, 5 insertions(+), 12 deletions(-) commit c735b54a6384ff170ca32906ad7eae64a338e1d6 Author: Javier Jardón Date: Thu Jan 5 04:27:20 2012 +0100 gio/*: Use g_slist_free_full() convenience function gio/gfilemonitor.c | 3 +-- gio/gmemoryinputstream.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) commit 31c3082e19551377049742a7862dab455727844a Author: Michael Terry Date: Wed Jan 4 13:08:56 2012 -0500 gdesktopappinfo: Avoid crash by NULL-ing data.pid_envvar before launch https://bugzilla.gnome.org/show_bug.cgi?id=667279 gio/gdesktopappinfo.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 8b96fb3761bb094d7c0044114f377934b9b00c51 Author: Claudio Saavedra Date: Wed Jan 4 00:18:59 2012 +0200 GSocket: fix a couple of return values g_socket_receive_with_blocking() and g_socket_send_with_blocking claim to return -1 in error, their return type is gssize, and yet they return FALSE if the initial g_return_val_if_fail() call fails. https://bugzilla.gnome.org/show_bug.cgi?id=667226 gio/gsocket.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit f38a1dbca7d68eedc2d75cd7a7947c7217bbbd99 Author: Claudio Saavedra Date: Wed Jan 4 00:13:50 2012 +0200 GSocket: add some more g_return_if_fail()s https://bugzilla.gnome.org/show_bug.cgi?id=667225 gio/gsocket.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 1b919d2e5643b43c27f86d4bcf2d94f7bf98e7df Author: Matthias Clasen Date: Wed Jan 4 00:10:11 2012 -0500 Clarify g_utf8_strlen docs a bit glib/gutf8.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit d64b4c4887da1d4ec308c08ded094dad130a5c6d Author: Paolo Borelli Date: Tue Jan 3 11:49:55 2012 +0100 Add a testcase for an old regex bug. Add a testcase for bug #455640, which was fixed in PCRE versions newer than 7.2. glib/tests/regex.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 2ae83e116bc1ce2c02548940e276c294c91c5da7 Author: Javier Jardón Date: Mon Jan 2 16:10:35 2012 +0100 glib/*: Use g_list_free_full() glib/gbookmarkfile.c | 38 ++++++-------------------------------- glib/gkeyfile.c | 10 ++-------- glib/goption.c | 3 +-- glib/gregex.c | 15 +++++---------- 4 files changed, 14 insertions(+), 52 deletions(-) commit 928d2cea616db45a1a0d870fd73aed2570170288 Author: Javier Jardón Date: Mon Jan 2 16:30:11 2012 +0100 gio/*: Use g_list_free_full() convenience function gio/gcontenttype.c | 12 ++++-------- gio/gdbusauth.c | 3 +-- gio/gdbusobjectmanagerclient.c | 6 ++---- gio/gdbusobjectmanagerserver.c | 3 +-- gio/gdbusobjectskeleton.c | 3 +-- gio/gdbusserver.c | 3 +-- gio/gdesktopappinfo.c | 17 +++++------------ gio/gemblemedicon.c | 3 +-- gio/gfileenumerator.c | 3 +-- gio/gfilenamecompleter.c | 12 ++++-------- gio/gunixvolumemonitor.c | 27 +++++++++------------------ 11 files changed, 30 insertions(+), 62 deletions(-) commit dde3401122930355f665af25292ad1b639e98390 Author: Javier Jardón Date: Mon Jan 2 16:09:50 2012 +0100 gio/gdbus-2.0/codegen/codegen.py: Use g_list_free_full() gio/gdbus-2.0/codegen/codegen.py | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) commit 99c166501a6d05b2eaeb11893fab38dcf88aeeaf Author: Matthias Clasen Date: Tue Jan 3 10:48:50 2012 -0500 Fix parameter name mismatches in GWeakRef api gobject/gobject.c | 46 +++++++++++++++++++++++----------------------- 1 files changed, 23 insertions(+), 23 deletions(-) commit e6a5c2efb284acc557b6129e0649b9f7af807067 Author: Matthias Clasen Date: Tue Jan 3 08:02:49 2012 -0500 Add GWeakRef to the docs docs/reference/gobject/gobject-sections.txt | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit ee044fd839b396655000db1662b5de0569632581 Author: Javier Jardón Date: Mon Jan 2 15:20:42 2012 +0100 gio/tests: Use g_list_free_full() convenience function gio/tests/contenttype.c | 3 +-- gio/tests/desktop-app-info.c | 9 +++------ gio/tests/gdbus-example-objectmanager-client.c | 6 ++---- gio/tests/gdbus-peer.c | 3 +-- gio/tests/gdbus-test-codegen.c | 9 +++------ gio/tests/volumemonitor.c | 12 ++++-------- 6 files changed, 14 insertions(+), 28 deletions(-) commit 411259ddd3e6b5c5fbf900d7ab38d0d4da03f156 Author: Stef Walter Date: Mon Nov 14 18:03:47 2011 +0100 gvariant: Never break out of g_variant_iter_loop * Document how to break out of g_variant_iter_loop style loops. https://bugzilla.gnome.org/show_bug.cgi?id=664069 glib/gvariant.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 34e3881f2f02ccd7df704f54c0a31dead48ea382 Author: Simon McVittie Date: Wed Dec 7 15:04:59 2011 +0000 Add test for GDBusConnection singleton access racing with destruction Bug: https://bugzilla.gnome.org/show_bug.cgi?id=665211 gio/tests/gdbus-threading.c | 128 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 128 insertions(+), 0 deletions(-) commit 1e09bfc77c157b7d70342188a424eadc3d14769a Author: Simon McVittie Date: Tue Dec 6 12:44:36 2011 +0000 GDBusConnection: use GWeakRef to make the singletons thread-safe Bug: https://bugzilla.gnome.org/show_bug.cgi?id=665211 https://bugzilla.gnome.org/show_bug.cgi?id=548954 gio/gdbusconnection.c | 40 ++++++++++++++++------------------------ 1 files changed, 16 insertions(+), 24 deletions(-) commit 146aa7aa1777b84137fb1f3d4035b0f1d11e76c9 Author: Simon McVittie Date: Wed Dec 7 15:04:13 2011 +0000 Add regression test for GWeakRef used to cache a singleton https://bugzilla.gnome.org/show_bug.cgi?id=548954 gobject/tests/threadtests.c | 121 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 121 insertions(+), 0 deletions(-) commit fa5ff3955957e48a0bf50bb13be53af9b5400bb6 Author: Simon McVittie Date: Thu Dec 8 17:35:19 2011 +0000 Add deterministic tests for the API of GWeakRef These don't address the thread-safety, but do address basic use. https://bugzilla.gnome.org/show_bug.cgi?id=548954 gobject/tests/reference.c | 101 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 101 insertions(+), 0 deletions(-) commit 46c2f570da10c93d7b2fab790048f957bb422302 Author: Ryan Lortie Date: Tue Dec 6 12:27:07 2011 +0000 GWeakRef: add a weak GObject reference believed to be thread-safe This patch is a joint work with Simon McVittie. https://bugzilla.gnome.org/show_bug.cgi?id=548954 gobject/gobject.c | 239 ++++++++++++++++++++++++++++++++++++++++++++++- gobject/gobject.h | 12 +++ gobject/gobject.symbols | 4 + 3 files changed, 253 insertions(+), 2 deletions(-) commit 28c87a5594ef05a324a183d6d3271e6733abf908 Author: Simon McVittie Date: Tue Dec 6 11:37:45 2011 +0000 g_object_weak_ref, g_object_add_weak_pointer: document non-thread-safety Transparent access to a weak pointer from the thread performing the weak -> strong conversion is incompatible with thread-safety: that thread will have to do something special. This is GNOME#548954. https://bugzilla.gnome.org/show_bug.cgi?id=548954 gobject/gobject.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit 1425aa664d5efa56d9e2cc29f8aa1292463e1f5a Author: Simon McVittie Date: Tue Dec 6 11:35:02 2011 +0000 GBitLock: turn assumptions of g_futex_int_address into a static assertion We'll probably never encounter a platform where these fail, but that's what static assertions are for... https://bugzilla.gnome.org/show_bug.cgi?id=548954 glib/gbitlock.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit fc731de9291556d93e02cc4c39a8573c0a5500ea Author: Ryan Lortie Date: Mon Jan 2 11:38:40 2012 -0500 gthread.h: avoid anonymous union This is a GNU extension. https://bugzilla.gnome.org/show_bug.cgi?id=666978 glib/deprecated/gthread.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a07e9a5fb22de50e7a94797cf4f0e5718f064ea1 Author: William Hua Date: Sun Jan 1 21:53:28 2012 -0500 nextstep gsettings backend: whitespace police gio/gnextstepsettingsbackend.c | 118 +++++++++++++--------------------------- 1 files changed, 37 insertions(+), 81 deletions(-) commit edd2aff575888dc6cd6570681c719bc18fe91bb2 Author: William Hua Date: Sun Jan 1 21:38:05 2012 -0500 thread-safe nextstep gsettings backend simplified key reset logic gio/gnextstepsettingsbackend.c | 49 ++++++++++++++++++++++++++-------------- 1 files changed, 32 insertions(+), 17 deletions(-) commit 9c1008384414a257d1f0f354d5ea897df0e24e89 Author: William Hua Date: Mon Dec 26 10:04:38 2011 -0500 GSettings: nextstep settings backend gio/Makefile.am | 11 + gio/giomodule.c | 3 + gio/gnextstepsettingsbackend.c | 497 ++++++++++++++++++++++++++++++++++++++++ gio/gsettingsbackendinternal.h | 5 + 4 files changed, 516 insertions(+), 0 deletions(-) commit 00f43b22e5b5d9e4afe1eda69e348e3fdaa8c262 Author: Xan Lopez Date: Sun Jan 1 19:01:14 2012 +0100 ginetaddressmask: plug leak ==24706== 52 bytes in 1 blocks are definitely lost in loss record 7,248 of 13,092 ==24706== at 0x4A074CD: malloc (vg_replace_malloc.c:236) ==24706== by 0x70E9F5F: standard_malloc (gmem.c:85) ==24706== by 0x70E9FE8: g_malloc (gmem.c:159) ==24706== by 0x71018EC: g_slice_alloc (gslice.c:1003) ==24706== by 0x710192B: g_slice_alloc0 (gslice.c:1029) ==24706== by 0x7068526: g_type_create_instance (gtype.c:1872) ==24706== by 0x705067B: g_object_constructor (gobject.c:1835) ==24706== by 0x704FE47: g_object_newv (gobject.c:1699) ==24706== by 0x7050612: g_object_new_valist (gobject.c:1816) ==24706== by 0x704F894: g_object_new (gobject.c:1531) ==24706== by 0x6F0F2F0: g_inet_address_new_from_bytes (ginetaddress.c:459) ==24706== by 0x6F5D703: remove_network (gnetworkmonitornetlink.c:256) ==24706== by 0x6F5DD80: read_netlink_messages (gnetworkmonitornetlink.c:386) ==24706== by 0x6F2D5CA: socket_source_dispatch (gsocket.c:2505) ==24706== by 0x70E1D45: g_main_dispatch (gmain.c:2513) ==24706== by 0x70E2A06: g_main_context_dispatch (gmain.c:3050) ==24706== by 0x70E2BE9: g_main_context_iterate (gmain.c:3121) ==24706== by 0x70E2CAD: g_main_context_iteration (gmain.c:3182) ==24706== by 0x6F60A05: g_application_run (gapplication.c:1599) ==24706== by 0x42D011: main (ephy-main.c:472) https://bugzilla.gnome.org/show_bug.cgi?id=667098 gio/ginetaddressmask.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 5e4188101efe6747b637ac8e1519fe67ee42495c Author: Yaron Shahrabani Date: Fri Dec 30 10:47:56 2011 +0200 Updated Hebrew translation. po/he.po | 240 +++++++++++++++++++++++++++++++------------------------------ 1 files changed, 122 insertions(+), 118 deletions(-) commit a2e1541cda3902474aa54aded959f78928fbabf6 Author: Chun-wei Fan Date: Fri Dec 30 15:27:31 2011 +0800 config.h.win32.in: Cleanups -Make the contents of the preconfigured config.h.win32(.in) more like the contents of config.h.in -Correct the sizing of void* on x64 platforms (which should be 8, unlike 4 on x86-32 platforms) config.h.win32.in | 106 ++++++++++++++++++++++++++++------------------------ 1 files changed, 57 insertions(+), 49 deletions(-) commit 8558ae9ad4411dfdcd76180aaa421b29fc587571 Author: Matthias Clasen Date: Thu Dec 29 11:57:42 2011 -0500 Correct some Since tags As pointed out in bug 666951, g_mkdtemp and g_mkdtemp_full were only added in 2.30. glib/gfileutils.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 8ca2647c7405d06231ca5e0cfa47621e5086a65a Author: Ravi Sankar Guntur Date: Tue Dec 20 14:49:53 2011 +0530 Fix to handle '\v' (vertical tab) by g_strescape() and g_strcompress(). fix enables g_strescape() and g_strcompress() to handle '\v' along with other special characters - '\b', '\f', '\n', '\r', '\t', '\'. https://bugzilla.gnome.org/show_bug.cgi?id=664830 Signed-off-by: Ravi Sankar Guntur glib/gstrfuncs.c | 9 ++++++++- glib/tests/strfuncs.c | 16 ++++++++-------- 2 files changed, 16 insertions(+), 9 deletions(-) commit 030bf82340f1a82825ad71c4b85d664995eafde1 Author: Matthias Clasen Date: Tue Dec 27 18:10:42 2011 -0500 Some minor updates of building.sgml https://bugzilla.gnome.org/show_bug.cgi?id=664830 docs/reference/glib/building.sgml | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) commit a3860d8d7712eb52f8535f6517bb5641e70dd825 Author: Matthias Clasen Date: Tue Dec 27 18:10:26 2011 -0500 Some minor updates of HACKING HACKING | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) commit 993de34a77bdbfc37e210a85382e5f34f604efe9 Author: Simon McVittie Date: Wed Dec 14 17:31:23 2011 +0000 Add undefined/no-undefined mode options to GTester https://bugzilla.gnome.org/show_bug.cgi?id=666116 docs/reference/glib/gtester.xml | 33 ++++++++++++++++++++++++++++++++- glib/gtester.c | 10 ++++++++++ glib/gtestutils.c | 33 ++++++++++++++++++++++++++++++++- glib/gtestutils.h | 2 ++ 4 files changed, 76 insertions(+), 2 deletions(-) commit fa4792c35e42107e0ded0f499bb86415a2b1faef Author: Simon McVittie Date: Wed Dec 14 18:08:59 2011 +0000 various tests: do not provoke SIGTRAP with -m no-undefined Some of the GLib tests deliberately provoke warnings (or even fatal errors) in a forked child. Normally, this is fine, but under valgrind it's somewhat undesirable. We do want to follow fork(), so we can check for leaks in child processes that exit gracefully; but we don't want to be told about "leaks" in processes that are crashing, because there'd be no point in cleaning those up anyway. https://bugzilla.gnome.org/show_bug.cgi?id=666116 gio/tests/actions.c | 83 +++++++++++++--------- gio/tests/gdbus-proxy.c | 30 +++++--- gio/tests/gsettings.c | 64 ++++++++++++----- glib/tests/error.c | 3 + glib/tests/gvariant.c | 32 +++++---- glib/tests/logging.c | 54 +++++++++------ glib/tests/markup-collect.c | 3 + glib/tests/mem-overflow.c | 13 +++- glib/tests/option-context.c | 6 ++ glib/tests/slice.c | 3 + glib/tests/strfuncs.c | 146 +++++++++++++++++++++++--------------- glib/tests/testing.c | 32 ++++++--- gobject/tests/ifaceproperties.c | 3 + 13 files changed, 304 insertions(+), 168 deletions(-) commit 5cb29d7909afdb41054ca47892aea4e0a79f2d7a Author: Simon McVittie Date: Wed Dec 14 17:32:16 2011 +0000 Clarify documentation of fast/slow/thorough and quiet/verbose tests It turns out that there is no middle setting between fast and slow/thorough, but there *is* a middle setting between quiet and verbose. https://bugzilla.gnome.org/show_bug.cgi?id=666116 glib/gtestutils.c | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) commit 643ad9f6c340fb368ccf8e09ef1f0ba88ee6dccf Author: Matthias Clasen Date: Tue Dec 27 17:45:40 2011 -0500 Remove another unused AC_DEFINE Nothing was using the HAVE_GCOV define. configure.ac | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 7cc9e10cce30ebe9242c0cc0649a4badffe0123e Author: Matthias Clasen Date: Tue Dec 27 17:20:36 2011 -0500 Drop unused AC_SUBST DISABLE_MEM_POOLS is only used as define. configure.ac | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit bc85e6ed516f23d9fed9cdad39c605721738e190 Author: Matthias Clasen Date: Tue Dec 27 17:15:44 2011 -0500 Remove a bashism configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a176008826a8f7dcdcbc2a35d9ac3bfcabce824c Author: Matthias Clasen Date: Tue Dec 27 17:12:39 2011 -0500 Drop a lot of dead configury for threads Much of this became obsolete by the recent rewrite of our threading support. configure.ac | 179 +++++++++------------------------------------------------- 1 files changed, 27 insertions(+), 152 deletions(-) commit 8cea99741bdc540b76b4cace996068acd78e746c Author: Matthias Clasen Date: Tue Dec 27 16:22:13 2011 -0500 Don't put documentation in glibconfig.h configure.ac | 7 ------- glib/gmain.h | 3 +++ 2 files changed, 3 insertions(+), 7 deletions(-) commit 31f0ad3f352ec8bae297983f67b18cb33c2c3e5e Author: Matthias Clasen Date: Tue Dec 27 16:18:19 2011 -0500 Make glibconfig.h include guards consistent configure.ac | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit d09800d86ec408ec27b9559fbd9ff6aebca25397 Author: Matthias Clasen Date: Tue Dec 27 16:16:24 2011 -0500 Remove a commented-out macro configure.ac | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 4576a459fc0aebc48581d16a076bd0a0924ae988 Author: Matthias Clasen Date: Tue Dec 27 15:55:04 2011 -0500 Remove obsolescent AC_HEADER_STDC macro We only used the resulting define in one place, and really, these headers just have to be around or its not worth trying. configure.ac | 3 --- glib/tests/hash.c | 2 -- 2 files changed, 0 insertions(+), 5 deletions(-) commit 49a4de3ea446f21202d586a906e0aef1d4dacfed Author: Thomas Hindoe Paaboel Andersen Date: Sat Dec 24 15:31:55 2011 +0100 docs: g_atexit: do not point in a direction for where to find details https://bugzilla.gnome.org/show_bug.cgi?id=666804 glib/gutils.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 89a832250b9864c28cd0eec8db7200e00a8e9679 Author: Åsmund Skjæveland Date: Mon Dec 26 17:15:32 2011 +0100 Updated Norwegian Nynorsk translation po/nn.po | 959 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 515 insertions(+), 444 deletions(-) commit cc03b3cdea45b3592ab8e931628f027c20586aa3 Author: Matthias Clasen Date: Sat Dec 24 23:01:17 2011 -0500 Don't leak references to the menus gio/gmenumarkup.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit f077127d0169df135d078827c1c51742c3a71901 Author: Matthias Clasen Date: Sat Dec 24 22:59:10 2011 -0500 Add a test for ids on submenu and section elements The test checks that menus which are created via or
end up in the objects hash table. gio/tests/gmenumodel.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) commit 37efbf4354969fdbca9ed71895309fb7fb95a55a Author: Matthias Clasen Date: Sat Dec 24 22:58:16 2011 -0500 Menu markup: Support ids on submenu and section elements This was supposed to work, but didn't. Bug 666595. gio/gmenumarkup.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 47 insertions(+), 7 deletions(-) commit c4fc2584241dadeedee7b21bd24ca5708d6318e8 Author: Benjamin Otte Date: Sat Dec 24 14:26:24 2011 +0100 docs: Clarify non-NUL requirement in g_utf8_validate() UTF8 validation is not about your character on a dating site, so don't talk about meeting. https://bugzilla.gnome.org/show_bug.cgi?id=666803 glib/gutf8.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3f3e141ec8ffe8f40a2faced69d35cb161153107 Author: Dan Winship Date: Fri Aug 20 13:04:19 2010 -0400 Add GSocketClient::event, for tracking socket client status This can be used for debugging, or for progress UIs ("Connecting to example.com..."), or to do low-level tweaking on the connection at various points in the process. https://bugzilla.gnome.org/show_bug.cgi?id=665805 docs/reference/gio/gio-sections.txt | 3 +- gio/gio.symbols | 1 + gio/gioenums.h | 38 +++++++ gio/gsocketclient.c | 194 +++++++++++++++++++++++++++++++++-- gio/gsocketclient.h | 6 +- gio/tests/send-data.c | 23 ++++ 6 files changed, 253 insertions(+), 12 deletions(-) commit 57f279988cc2219a974042a29cbb12efd2422540 Author: Dan Winship Date: Sun Jun 12 16:29:04 2011 -0400 Add g_socket_connection_connect(), etc Previously it was more or less assumed that GSocketConnections were always connected, although this was not enforced. Make it explicit that they don't need to be, and add methods to connect them, and simplify GSocketClient by using those methods. https://bugzilla.gnome.org/show_bug.cgi?id=665805 docs/reference/gio/gio-sections.txt | 5 + gio/gio.symbols | 4 + gio/gsocketclient.c | 129 +++++++++------------------- gio/gsocketconnection.c | 159 +++++++++++++++++++++++++++++++++++ gio/gsocketconnection.h | 15 ++++ 5 files changed, 223 insertions(+), 89 deletions(-) commit e121d46b251d7a695f6c56bf3de95acb51371599 Author: Chun-wei Fan Date: Thu Dec 22 20:18:11 2011 +0800 Update GIO Visual C++ projects Link to zlib1.lib for release builds and zlib1d.lib for debug builds- this is to be consistent across the board for the GTK+ stack (and many other opensource code linking to the ZLib DLL on Windows) build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit 550fee44a9379969cb185b19b787c1d6ab35e77e Author: Chun-wei Fan Date: Thu Dec 22 18:49:01 2011 +0800 Update Visual C++ property sheets "Install" the newly-introduced gremoteactiongroup.h header. build/win32/vs10/glib.props | 2 ++ build/win32/vs9/glib.vsprops | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) commit 6e7da987b443c861946a7702d64f9e50150b9320 Author: Ryan Lortie Date: Thu Dec 22 00:24:20 2011 -0500 GSettingsBackend: allow floating refs from read() Use g_variant_take_ref() to allow for backends to return floating GVariant instances from their read() implementations. gio/gsettingsbackend.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 1b0337744282c7f048a31a9818b99370d97c44f3 Author: rodrigorivascosta Date: Thu Dec 22 10:48:09 2011 +0800 Bug 666551-Fix a few dangling pointers When removing an item from the list, check the next one's my_owner, and fix it accordingly. And take this case into account when last of the list is deleted. Also, assign NULL to 'my_owner' in g_thread_xp_WakeConditionVariable. glib/gthread-win32.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 76bc1ab28084dab671fed6e9f3993014e225df2c Author: Chun-wei Fan Date: Wed Dec 21 11:24:09 2011 +0800 glib/tests/private.c: Fix compilation on Windows -process.h must be included for _beginthreadex -Use a cast to HANDLE on _beginthreadex to silence warnings on different types glib/tests/private.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit cb71b03e2f0a273d3e466831e5c2cdf0a7c43f46 Author: Kjartan Maraas Date: Wed Dec 21 22:22:05 2011 +0100 Updated Norwegian bokmål translation po/nb.po | 276 +++++++++++++++++++++++++++++++------------------------------ 1 files changed, 140 insertions(+), 136 deletions(-) commit adff60ed6389cfb1e97a329c150320aa44b18be6 Author: Cosimo Cecchi Date: Wed Dec 21 12:36:19 2011 +0100 menu: documentation fixes g_menu_new_section() does not exist, the comment meant g_menu_item_new_section(). gio/gmenu.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 557da1650707bbb67b80be0c986598eab3893071 Author: Ryan Lortie Date: Tue Dec 20 19:45:57 2011 -0500 GObject: do checks on interface property install Add some checks to g_object_interface_install_property() similar to those in g_object_class_install_property(). https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/gobject.c | 8 +++++++- gobject/tests/param.c | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) commit b2371871097ef2b52bdb4688d702438c9e3f1787 Author: Ryan Lortie Date: Tue Dec 20 19:43:21 2011 -0500 GObject: require READ or WRITE on property install g_object_class_install_property() currently lets you install properties that are neither readable nor writable. Add a check to prevent that. https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/gobject.c | 1 + gobject/tests/param.c | 3 --- 2 files changed, 1 insertions(+), 3 deletions(-) commit 4e793c2eefab1a9b5b0c29b530cbe77fb53d7396 Author: Ryan Lortie Date: Tue Dec 20 19:33:02 2011 -0500 GObject: allow G_PARAM_CONSTRUCT on any override We were previously preventing implementations of an interface from specifying G_PARAM_CONSTRUCT for a property of that interface if the interface didn't specify it itself (or was readonly). This is something that should only interest the implementation, so we remove this restriction. This allows 6 new possible override scenarios: - writable -> writable/construct - writable -> readwrite/construct - readwrite -> readwrite/construct - writable/construct-only -> writable/construct - writable/construct-only -> readwrite/construct - readwrite/construct-only -> readwrite/construct and we update the testcase to reflect this. https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/gobject.c | 5 +---- gobject/tests/param.c | 32 ++++++++++++++++++-------------- 2 files changed, 19 insertions(+), 18 deletions(-) commit b3b9f82206707d6adad0d54ae9232bc826bec574 Author: Ryan Lortie Date: Tue Dec 20 18:44:48 2011 -0500 GObject: add test for interface property overrides Add a testcase to check all possibilities for overriding a property specified on an interface from an implementation of that interface, changing the type and flags. https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/tests/param.c | 379 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 379 insertions(+), 0 deletions(-) commit d8d78688a8e00d1f2c338bd75fb1ce20d05e059d Author: Ryan Lortie Date: Tue Dec 20 18:41:03 2011 -0500 GObject: change the order of property checks Change the order of the checks so that we hear about the 'biggest' problem first. Also, stop reporting problems after we report the first one for a particular property. Add some comments. https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/gobject.c | 70 +++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 50 insertions(+), 20 deletions(-) commit 5fb7a8e127bde6465a5b9e22b299ca2e439e702c Author: Ryan Lortie Date: Tue Dec 20 18:26:14 2011 -0500 GObject: fix property override type checks The property override typecheck was meant to enforce the type on the overriding property being exactly equal to the type on the interface property. Instead, g_type_is_a() was incorrectly used. We could try to enforce equality, but if a property is read-only then it should be possible for the implementation to type the property with any subtype of the type specified on the interface (because returning a more specific type will still satisfy the interface). Likewise, if the property is write-only then it should be possible for the implementation to type the property with any supertype. We implement the check this way. https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/gobject.c | 73 ++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 58 insertions(+), 15 deletions(-) commit ab0da3c2821b6e9ed89a3a2a708bbae1db2ed45f Author: Ryan Lortie Date: Tue Dec 20 19:12:56 2011 -0500 GSimpleAction: fix some whitespace fail gio/gsimpleaction.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) commit 342e2faa2996601bc44413087b3d70560dad78aa Author: Ryan Lortie Date: Tue Dec 20 19:11:19 2011 -0500 GSimpleAction: tweak property flags There's no need for 'enabled' and 'state' to be marked construct-only. These properties are writable at all times. gio/gsimpleaction.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) commit 958f2bac7a123bc0cf35c5afab6ac62c80b0c03b Author: Ryan Lortie Date: Tue Dec 20 15:29:16 2011 -0500 GObject: fixup reversed logic in last commit Accidentally dropped a !. gobject/gobject.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3af050f6fc760c3bedfad4e7c0f767a2e01848be Author: Ryan Lortie Date: Tue Dec 20 15:12:44 2011 -0500 gobject: Clean up logic in property checks Simplify some of the logic in this function. 1) Simplify flag checks as per Colin's suggestions in https://bugzilla.gnome.org/show_bug.cgi?id=605667 2) Don't repeatedly recheck if class_pspec is NULL. gobject/gobject.c | 50 +++++++++++++++++++++----------------------------- 1 files changed, 21 insertions(+), 29 deletions(-) commit ebf572cdd81d8c0fca4641f9204dc0421ad1bf5d Author: Ryan Lortie Date: Tue Dec 20 14:43:15 2011 -0500 GAction: back out changes to property flags 41e5ba86a791a17bb560dd7813ad7e849e0230dc introduced some changes to the property flags of GAction. These changes were not a reflection of the actual interface of GAction but were necessary due to GObject being overly-sensitive to flag changes on property overrides. Now that the GObject bug is fixed, we can restore the GAction flags to their correct values. https://bugzilla.gnome.org/show_bug.cgi?id=666615 gio/gaction.c | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) commit af24dbc12aa77aac3c82d39872878558cced7add Author: Ryan Lortie Date: Tue Dec 20 14:36:29 2011 -0500 gobject: loosen property override flag restrictions GObject enforces the following restrictions on property overrides: - must only add abilities: if the parent class supports readability/writability then the subclass must also support them. Subclasses are free to add readability/writability. - must not add additional restrictions: if the parent class doesn't have construct/construct-only restrictions then the subclass must not add them. Subclasses are free to remove restrictions. The problem with the previous implementation is that the check against adding construct/construct-only restrictions was being done even if the property was not previously writable. As an example: "readable" and "writable only on construct" was considered as being more restrictive than "read only". This patch tweaks the check to allow the addition of construct/construct-only restrictions for properties that were previously read-only and are now being made writable. https://bugzilla.gnome.org/show_bug.cgi?id=666615 gobject/gobject.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit 68706bfa2b91d4eb33cddfca2b640fcc3ce80637 Author: Matthias Clasen Date: Tue Dec 20 12:15:05 2011 -0500 Add references to the dbus interface docs on the wiki And strip out the (now) redundant copy of that information from the sources. gio/gactiongroupexporter.c | 96 +---------------------------------------- gio/gapplicationimpl-dbus.c | 4 ++ gio/gmenuexporter.c | 100 +------------------------------------------ 3 files changed, 9 insertions(+), 191 deletions(-) commit adbfa38c8e2ab859d252e566fa130a7023442d7d Author: Ryan Lortie Date: Mon Dec 19 22:56:05 2011 -0500 docs: remove duplicate GMenuModel from gio.types docs/reference/gio/gio.types | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 541693f42d462f114055fd05d1ac536e0c6f46f5 Author: Ryan Lortie Date: Mon Dec 19 17:35:31 2011 -0500 winxp threads: fix some condition variable races There are some races in the condition variable emulation code for Windows XP with respect to timeouts while waiting. First, in the event of a timeout, we never remove the waiter from the condition variable. This can cause crashes later. That problem was found by Rodrigo Rivas Costa. Second, if the waiting thread times out and exits just as we were about to call SetEvent() on its waiter event, we could end up trying to access the waiter after it was closed/freed. We need to hold on to the lock a little bit longer to ensure that that's not possible. https://bugzilla.gnome.org/show_bug.cgi?id=666551 glib/gthread-win32.c | 32 ++++++++++++++++++++++++++------ 1 files changed, 26 insertions(+), 6 deletions(-) commit f3cf8c0ca8ea952c08ef29af1e84515a8f6a2d77 Author: Ryan Lortie Date: Mon Dec 19 15:24:52 2011 -0500 *bump* configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 8f558d80100d4de5ffc50dac37857ca1b63c1480 Author: Dan Winship Date: Mon Dec 19 15:19:19 2011 -0500 gnetworkmonitornetlink.c: Fix a gsize->gssize https://bugzilla.gnome.org/show_bug.cgi?id=666422 gio/gnetworkmonitornetlink.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)