commit ed40bf6715763045457cd6123b3882222c818cde Author: Ryan Lortie Date: Mon Aug 20 18:32:25 2012 -0400 NEWS, versions, etc. NEWS | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) commit 59394b3e1e3b3907b4dc18de4067e5476b4c1649 Author: Ryan Lortie Date: Mon Aug 20 18:32:46 2012 -0400 Revert the GMarkup attribute collect changes We need to have some more discussion on this topic. This reverts commits 86329ba44fc7662c0bad37955f0ec980a24be495 and 8d40389d15544bdc612989157f80380badce52f7. https://bugzilla.gnome.org/show_bug.cgi?id=665634 docs/reference/glib/glib-sections.txt | 1 - gio/gdbusintrospection.c | 100 ++++++++------- glib/glib.symbols | 1 - glib/gmarkup.c | 218 +++++++++++---------------------- glib/gmarkup.h | 9 -- glib/tests/markup-collect.c | 125 +++++++------------ 6 files changed, 165 insertions(+), 289 deletions(-) commit 850680d751812e3d7fbc4052a8c56ad90e20a3fa Author: Ryan Lortie Date: Mon Aug 20 17:57:13 2012 -0400 gmarkup test: fix use of message expect API glib/tests/markup-collect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56210220a2c86b099ca7757b67a3ef7fb2366d3d Author: Dan Winship Date: Mon Aug 20 17:26:45 2012 -0400 tests/protocol: update the messages to reflect G_LOG_DOMAIN being set now glib/tests/protocol.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit d06c7a911ea28d9d8019b901f71bd12cfa2dd64d Author: Ryan Lortie Date: Mon Aug 20 16:25:09 2012 -0400 g_test_expect_message: add some g_return_if_fail NULL domain is not supported and some might expect this to work, so make sure they don't get the wrong idea... glib/gmessages.c | 4 ++++ 1 file changed, 4 insertions(+) commit 07fadc7932713145ec429394c9ebf2a87bd09b75 Author: Lars Uebernickel Date: Mon Aug 20 14:32:14 2012 +0200 GMenuModel: add test for the new GMenuItem API gio/tests/gmenumodel.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit 6798fcdd0f3c1b96c3c0e8561ea81e9a05f2005f Author: Ryan Lortie Date: Sat Aug 18 14:24:46 2012 -0400 GMenuItem: add constructor to copy from model Add g_menu_item_new_from_model() for constructing a GMenuItem that is a copy of a menu item that's in a GMenuModel. docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gmenu.c | 87 +++++++++++++++++++++++++++++++++++ gio/gmenu.h | 4 ++ 4 files changed, 93 insertions(+) commit 99478dd893fab44f3672cbacce3c87b6dec3bb58 Author: Ryan Lortie Date: Sat Aug 18 14:20:59 2012 -0400 GMenuItem: add getter APIs GMenuItem has been write-only up to this point. Add some APIs for reading back values as well. docs/reference/gio/gio-sections.txt | 3 + gio/gio.symbols | 3 + gio/gmenu.c | 118 +++++++++++++++++++++++++++++++++++ gio/gmenu.h | 13 ++++ 4 files changed, 137 insertions(+) commit ad79b0f8efdb72e9c4b337dffa62521e7fa2a89a Author: Ryan Lortie Date: Sat Aug 18 14:14:21 2012 -0400 GMenuModel: remove a type safety bug There was a /* XXX */ in the code here to do proper typechecking of the GVariant in the menu model when using g_menu_model_get_item_attribute(). We have g_variant_check_format_string() now, so use it. gio/gmenumodel.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 34653169e5653b95d61c461f088e6016f042d08a Author: Ryan Lortie Date: Sat Aug 18 14:12:55 2012 -0400 GVariant: add g_variant_check_format_string() For some time now people have been asking for a way to check for type compatibility between GVariant instances and format strings. There are several APIs inside of GLib itself that would benefit from this. This patch introduces a way to do that. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gvariant.c | 104 +++++++++++++++++++++++++++++++++ glib/gvariant.h | 4 +- glib/tests/gvariant.c | 54 +++++++++++++++++ 5 files changed, 163 insertions(+), 1 deletion(-) commit 6a6b64ef4d9f2985eaf1cb727398019359b4b4f4 Author: Aurimas Černius Date: Mon Aug 20 23:10:25 2012 +0300 Updated Lithuanian translation po/lt.po | 1694 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 847 insertions(+), 847 deletions(-) commit cc24dac3c8edbe2068ba15522bb5d937602082dc Author: Dan Winship Date: Mon Jul 30 16:38:30 2012 -0400 glib/tests: use g_test_expect_message() Replace some tests that used to use g_test_trap_fork() with g_test_expect_message() instead. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/tests/Makefile.am | 1 + glib/tests/error.c | 45 +++++++----- glib/tests/gvariant.c | 56 ++++++++------- glib/tests/mainloop.c | 11 ++- glib/tests/markup-collect.c | 20 +++--- glib/tests/strfuncs.c | 163 ++++++++++++++++++++++--------------------- 6 files changed, 159 insertions(+), 137 deletions(-) commit 25ac137c0a47ccc5214dabeaa41da18dac2b0cee Author: Dan Winship Date: Mon Jul 30 16:05:08 2012 -0400 gtestutils: add g_text_expect_message() Add g_test_expect_message() and g_test_assert_expected_messages(), to allow tests of warnings, error messages, return-if-fails, etc. https://bugzilla.gnome.org/show_bug.cgi?id=679556 docs/reference/glib/glib-sections.txt | 4 + glib/glib.symbols | 2 + glib/gmessages.c | 466 +++++++++++++++++++++------------ glib/gtestutils.h | 10 + glib/tests/testing.c | 86 ++++++ 5 files changed, 397 insertions(+), 171 deletions(-) commit 78a8aecbb339f620e87711389f56308c219d443f Author: Dan Winship Date: Mon Jul 30 15:32:31 2012 -0400 g_logv: only expand the message once Hoist the g_strdup_printf()'ing out of the loop, since the message is the same for every handler that gets called. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/gmessages.c | 60 ++++++++++++++++++++++-------------------------------- 1 file changed, 24 insertions(+), 36 deletions(-) commit f78931c4abf217fce0eca890da411c1c1c983d45 Author: Dan Winship Date: Wed Aug 1 09:49:10 2012 -0400 glib/tests/testing, logging: don't use g_test_undefined() We are verifying the behavior of the test/logging functions here; this is not undefined behavior. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/tests/logging.c | 54 ++++++++++++++++++++------------------------------ glib/tests/testing.c | 32 ++++++++++-------------------- 2 files changed, 31 insertions(+), 55 deletions(-) commit d9f6314f57cad9940938165421c1efc09636147b Author: Marc-André Lureau Date: Tue Jul 3 02:04:08 2012 +0200 win32: add pipe-io-cancel-test Test that win32 streams can be cancelled. It can even be tested with wine on Linux! https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/tests/win32-streams.c | 56 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) commit b9b2cf6a666af907d775a871d76b5b6871b4a6bd Author: Marc-André Lureau Date: Wed Aug 8 01:02:40 2012 +0200 win32: add pipe-io-concurrent Implement test case suggested by Ryan Lortie on bug: https://bugzilla.gnome.org/show_bug.cgi?id=679288 "There is a potential race here that's really unlikely to happen, but here we go: We are trying to read from the same socket in two threads. Some data comes. That causes the poll() in both threads (above) to finish running. Then the cancellable is checked above. We now find ourselves here. Only one thread will read the data. The other will block on this function. Then the user may cancel the cancellable while we are blocked here, but we will stay blocked...." gio/tests/win32-streams.c | 98 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) commit 1c1ba8b5122295651400eed3f3fb3b9f69f0ac47 Author: Marc-André Lureau Date: Mon Aug 20 15:47:15 2012 +0200 win32: add pipe-io-overlap-test gio/tests/win32-streams.c | 92 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) commit b9d7b80897d79cb43c4a795c7d9d3d9a24e140cc Author: Marc-André Lureau Date: Fri Jul 6 00:46:32 2012 +0200 win32: make gio stream cancellable v2: - fix cancellation of concurrent readers - replace g_assert() usage with g_warn_if_fail() v3: - fix indentation - fix loop code to not leak (silly me) https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gasynchelper.c | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) commit 4b5d762d5d73af90de49801ecc1da52d4cd86d6f Author: Marc-André Lureau Date: Wed Aug 8 01:08:15 2012 +0200 win32: handle ERROR_MORE_DATA If a named pipe is being read in message mode and the next message is longer than the nNumberOfBytesToRead parameter specifies, ReadFile returns FALSE and GetLastError returns ERROR_MORE_DATA. Since the API doesn't allow to return both a GError and the number of bytes read so far, it makes more sense to return nread, and let the client call GetLastError() himself to check if ERROR_MORE_DATA. The current alternative loses the nread information. https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gwin32inputstream.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 23d80a04da43c08f4ea626283607a7546d7a56db Author: Marc-André Lureau Date: Mon Jul 2 21:45:41 2012 +0200 win32: use overlapped events for streams Any file handle created with FLAG_OVERLAPPED must have ReadFile()/WriteFile() called with an OVERLAPPED structure. Failing to do so will give unspecified results, invalid read/write or corruption. Without FLAG_OVERLAPPED, it is not possible to read and write concurrently, even with two seperate threads, created by 2 input and output gio streams. Also, only with FLAG_OVERLAPPED may an IO operation be asynchronous and thus be cancellable. We may want to call ReOpenFile() to make sure the FLAG is set, but this API is only available since Vista+. According to MSDN doc, adding the OVERLAPPED argument for IO operation on handles without FLAG_OVERLAPPED is allowed, and indeed the existing test still passes. v2: - update GetLastError() after _g_win32_overlap_wait_result () - split the unrelated ERROR_MORE_DATA handling https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gasynchelper.c | 28 ++++++++++++++++++++++ gio/gasynchelper.h | 11 +++++++++ gio/gwin32inputstream.c | 58 +++++++++++++++++++++++++++++++++++----------- gio/gwin32outputstream.c | 53 +++++++++++++++++++++++++++++++----------- 4 files changed, 123 insertions(+), 27 deletions(-) commit 96a0c589eec8e66f0d879c2a0979df6fd2c23dde Author: Thomas Hindoe Paaboel Andersen Date: Mon Aug 20 16:41:42 2012 +0200 gmem.c: array is only paritally filled by memcpy The size of the local_data arrray is too large. It should not be multiplied by the sizeof guint. The memcpy of profile_data to local_data later will only fill a part of the array. Spotted with the PVS-Studio static analyzer https://bugzilla.gnome.org/show_bug.cgi?id=681501 glib/gmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 248cc2c8858a2c60b9aaaa7706ef3a7f5bce84cc Author: Daniel Mustieles Date: Mon Aug 20 14:15:39 2012 +0200 Updated Spanish translation po/es.po | 348 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 190 insertions(+), 158 deletions(-) commit cbf346ce53887e7e40f38c0945f94ff672fa114e Author: Matthias Clasen Date: Sun Aug 19 02:27:04 2012 -0400 Remove some more 'the the' gio/tests/gdbus-test-codegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit efd822bb07c50e68d3cbe4c7f7a3d816a0ab7808 Author: Matthias Clasen Date: Sun Aug 19 02:26:42 2012 -0400 Improve test coverage for GSocketConnection gio/tests/proxy-test.c | 5 +++++ 1 file changed, 5 insertions(+) commit cc5d7ccdba6e46548a1e895db1d8dab3409278b8 Author: Matthias Clasen Date: Sun Aug 19 02:26:05 2012 -0400 Improve test coverage for unix socket addresses gio/tests/unix-fd.c | 4 ++++ 1 file changed, 4 insertions(+) commit 63eaeb223b9b773e055acc1a8fc7637e4a676b82 Author: Matthias Clasen Date: Sun Aug 19 02:25:37 2012 -0400 Improve test coverage for resources gio/tests/resources.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit beea8c5c847a7bf46ae77d834ed7cc3fb6822c5c Author: Matthias Clasen Date: Sun Aug 19 02:25:21 2012 -0400 Improve test coverage for filter streams gio/tests/filter-streams.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit b22f4a2dd2c05038f45485b850f3ba04bf28afb9 Author: Matthias Clasen Date: Sun Aug 19 02:25:02 2012 -0400 Improve test coverage for unix streams gio/tests/unix-streams.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 3afec2b87282b25233add6bcdfb9af4657f40ddd Author: Matthias Clasen Date: Sun Aug 19 02:24:44 2012 -0400 Improve test coverage for pollable streams gio/tests/pollable.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit eeb4951c47d6a869d50590a9a81afbb99f63b5f3 Author: Matthias Clasen Date: Sun Aug 19 02:24:04 2012 -0400 Improve GSettings test coverage gio/tests/gsettings.c | 81 +++++++++++++++++++++++++++++++++++- gio/tests/org.gtk.test.gschema.xml | 3 ++ 2 files changed, 83 insertions(+), 1 deletion(-) commit f89e9deaec3bf279eac5073a30d6d3d7b2a1568b Author: Matthias Clasen Date: Sun Aug 19 02:23:32 2012 -0400 Improve GAppInfo test coverage gio/tests/appinfo-test.desktop | 8 ++++-- gio/tests/appinfo.c | 60 +++++++++++++++++++++++++++++++++++++++- gio/tests/mimeapps.c | 21 ++++++++++++-- 3 files changed, 83 insertions(+), 6 deletions(-) commit 35bf77445bcce900fa6007290ac8226107763b94 Author: Matthias Clasen Date: Sun Aug 19 02:22:59 2012 -0400 Add some GInetAddress tests gio/tests/Makefile.am | 4 + gio/tests/inet-address.c | 365 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 369 insertions(+) commit 867ad1cebc002d881e9e113277e8ea2e03cdaaf1 Author: Matthias Clasen Date: Sun Aug 19 02:22:33 2012 -0400 Add some GPermission tests gio/tests/Makefile.am | 4 ++ gio/tests/permission.c | 106 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) commit 2687d921e15e4aead3af4867fcd6220088085d7a Author: Matthias Clasen Date: Sun Aug 19 02:21:02 2012 -0400 Cosmetic change gtk-doc doesn't need anymore to recognize plural forms of links. gio/gpollableinputstream.c | 2 +- gio/gpollableoutputstream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4dbcd27eeea8181810c8ddefd116ce474bea8496 Author: Matthias Clasen Date: Sun Aug 19 02:19:27 2012 -0400 Make GPermission more forgiving It is not great if calling g_permission_acquire on a simple permission object just segfaults. This commit arranges for this to return a G_IO_ERROR_NOT_SUPPORTED error. gio/gpermission.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) commit 4a8740d0d23077cf9be99dfd3cf583ba33595279 Author: Matthias Clasen Date: Sat Aug 18 23:17:47 2012 -0400 It is 'registered', not 'registred' gio/gresource.c | 12 ++++++------ gobject/gparam.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) commit e27367f341e56bd951ea4b6fb42ef23cd0598c65 Author: Matthias Clasen Date: Sat Aug 18 23:15:58 2012 -0400 Exterminate 'the the' gio/gdbusprivate.c | 2 +- gio/gioenums.h | 2 +- gio/gproxyaddress.c | 2 +- gio/gzlibcompressor.c | 2 +- glib/gmain.c | 14 +++++++------- glib/gmarkup.c | 2 +- glib/gspawn.h | 2 +- gobject/gvalue.h | 6 +++--- 8 files changed, 16 insertions(+), 16 deletions(-) commit 96ed9e41f436412dbc0628cf45ecd460e9823089 Author: Matthias Clasen Date: Sat Aug 18 14:42:10 2012 -0400 Improve utils test coverage glib/tests/utils.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) commit cb8f88ca9fc87a65c7df69164e0ea8a905fc224b Author: Matthias Clasen Date: Sat Aug 18 14:41:48 2012 -0400 Improve uri test coverage glib/tests/uri.c | 3 +++ 1 file changed, 3 insertions(+) commit 2c338e21d6f86bad96283d5388991dc4c4b34361 Author: Matthias Clasen Date: Sat Aug 18 14:41:35 2012 -0400 Improve strfuncs tests coverage glib/tests/strfuncs.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 58c7747c50c98331769bc4d68f341652c42063c3 Author: Matthias Clasen Date: Sat Aug 18 14:41:23 2012 -0400 Improve GRegex test coverage glib/tests/regex.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit a7e10fa0b6c1772b8be49f17bb3e1eeb3477c26c Author: Matthias Clasen Date: Sat Aug 18 14:41:07 2012 -0400 Improve GPrivate test coverage glib/tests/private.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit aad40b89fe0539eede3a66e2fe2fc8b9c8f5c420 Author: Matthias Clasen Date: Sat Aug 18 14:40:33 2012 -0400 Improve file utils test coverage glib/tests/fileutils.c | 149 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 148 insertions(+), 1 deletion(-) commit 6e1d205ad30e9a3c031d0660f909dbed8665dee4 Author: Matthias Clasen Date: Sat Aug 18 14:40:15 2012 -0400 Improve GError test coverage glib/tests/error.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e181234fe5bbf80be3973d4803bce68887a771c6 Author: Matthias Clasen Date: Sat Aug 18 14:39:52 2012 -0400 Improve atomic ops test coverage glib/tests/atomic.c | 5 +++++ 1 file changed, 5 insertions(+) commit 06d837b6a3ac59f8e997d9f745136d48b85ecb38 Author: Matthias Clasen Date: Sat Aug 18 14:39:28 2012 -0400 Improve array test coverage glib/tests/array-test.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 373dcaea567281b977e76d812a73d2ee201d2745 Author: Matthias Clasen Date: Sat Aug 18 14:38:53 2012 -0400 Improve threadpool test coverage tests/threadpool-test.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit a946892b1e80aabcf33eb9783ce1cacaf6162e97 Author: Fran Diéguez Date: Fri Aug 17 23:17:51 2012 +0200 Updated Galician translations po/gl.po | 550 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 276 insertions(+), 274 deletions(-) commit 2360d04e50d744a6db42a0a24418ecd272b45a8e Author: Owen W. Taylor Date: Thu Aug 16 22:06:45 2012 -0400 Fix problems with CLEANFILES and automake-1.11.1 Running with automake-1.11.1, a couple fixes are needed for CLEANFILES when gtk-doc is not installed. (Found with Amazon Linux AMI release 2012.03) https://bugzilla.gnome.org/show_bug.cgi?id=682067 autogen.sh | 5 ++++- glib/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit fdcdcf4f2f7a382d8b8d00842524bbd9aa82d3e0 Author: Krishnababu Krothapalli Date: Fri Aug 17 19:43:40 2012 +0530 Updated Telugu Translations po/te.po | 104 ++++++++++++++++++++++++++++---------------------------------- 1 file changed, 47 insertions(+), 57 deletions(-) commit a53ccea814fa052a7d2aaa543cf2483b4f455cb4 Author: Krishnababu Krothapalli Date: Fri Aug 17 19:22:00 2012 +0530 Updated Telugu Translations po/te.po | 1077 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 628 insertions(+), 449 deletions(-) commit 2954f70d39198e67ff6a364a4f5c275381af1a75 Author: Chun-wei Fan Date: Fri Aug 17 19:22:43 2012 +0800 Fix build on Visual C++ -glib/gmarkup.c: Use G_VA_COPY() instead of va_copy() as va_copy() may not be universally available. -gio/gtestdbus.c: Include io.h on Windows for close() gio/gtestdbus.c | 3 +++ glib/gmarkup.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 69124b2dc4587f9c978648e38c548c50352ef930 Author: Мирослав Николић Date: Fri Aug 17 12:59:44 2012 +0200 Updated Serbian translation po/sr.po | 253 +++++++++++++++++++++++++++++++------------------------- po/sr@latin.po | 253 +++++++++++++++++++++++++++++++------------------------- 2 files changed, 278 insertions(+), 228 deletions(-) commit f116437c7e73035a72ce45cb47c4518df604711a Author: Nilamdyuti Goswami Date: Fri Aug 17 14:22:32 2012 +0530 Assamese translation updated po/as.po | 318 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 171 insertions(+), 147 deletions(-) commit 56e9f896c691cb99ebd4f4d20a507760c0f445fa Author: Sandeep Sheshrao Shedmake Date: Fri Aug 17 12:24:15 2012 +0530 Updated Marathi Translations po/mr.po | 1372 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 780 insertions(+), 592 deletions(-) commit 86a4fd6fa98de29f7ee05ba655a00e4c42f11756 Author: David King Date: Fri Feb 17 11:15:08 2012 +0000 docs: Describe GCompletion item memory management https://bugzilla.gnome.org/show_bug.cgi?id=600751 glib/deprecated/gcompletion.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit b13a79aeb45e0630482202372e136ea264a24e5f Author: Matthias Clasen Date: Fri Aug 17 01:14:51 2012 -0400 Adapt schema tests to changed error messages gio/tests/gschema-compile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 056d39c9f7e058397beaed7b4f5637857510b4e2 Author: Colin Walters Date: Tue May 29 18:54:58 2012 -0400 GMappedFile: Add g_mapped_file_get_bytes() This is yet another API that has a data/length/refcount combination that one might often want to turn into a GBytes. https://bugzilla.gnome.org/show_bug.cgi?id=677065 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmappedfile.c | 24 ++++++++++++++++++++++++ glib/gmappedfile.h | 2 ++ glib/tests/mappedfile.c | 19 +++++++++++++++++++ 5 files changed, 47 insertions(+) commit b0d8498ee31ab9e3a0ad4c747d1816dd6d4758f5 Author: Matthias Clasen Date: Fri Aug 17 00:27:10 2012 -0400 GDateTime: pack the struct better Makes a difference in 32bit. glib/gdatetime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 86329ba44fc7662c0bad37955f0ec980a24be495 Author: Matthias Clasen Date: Thu Aug 16 23:41:19 2012 -0400 gdbus: Use g_markup_collect_known_attributes() in GDBus introspection In order to be able to cope with the introspection XML from the Telepathy specification, which uses attributes like tp:type and tp:name-for-bindings, we need to ignore unknown attributes when parsing. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=665634 gio/gdbusintrospection.c | 100 ++++++++++++++++++++++------------------------ 1 file changed, 47 insertions(+), 53 deletions(-) commit 8d40389d15544bdc612989157f80380badce52f7 Author: Matthias Clasen Date: Thu Aug 16 23:40:08 2012 -0400 gmarkup: Add g_markup_collect_known_attributes() Add a variant of g_markup_collect_attributes() which will ignore unknown attributes (such as those from different XML namespaces) when parsing markup, rather than returning G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE as g_markup_collect_attributes() does. Patch by Philip Withnall, https://bugzilla.gnome.org/show_bug.cgi?id=665634 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmarkup.c | 218 ++++++++++++++++++++++----------- glib/gmarkup.h | 9 ++ glib/tests/markup-collect.c | 125 ++++++++++++------- 5 files changed, 242 insertions(+), 112 deletions(-) commit 21aff13d22257ae786bbf39bd68f24f448205bfc Author: Matthias Clasen Date: Thu Aug 16 23:23:16 2012 -0400 Fix 'make report' Turns out this doesn't work unless every Makefile.am includes Makefile.decl. gio/gdbus-2.0/codegen/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 6bee6dbce53310935dce7cb1de73e0b0be36f988 Author: Matthias Clasen Date: Thu Aug 16 23:02:41 2012 -0400 Miscellaneous string fixes Typo and punctuation fixes, and some rewording, based on a patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/gdbusaddress.c | 4 ++-- gio/gdbusmethodinvocation.c | 4 ++-- gio/gicon.c | 2 +- gio/glib-compile-schemas.c | 12 ++++++------ gio/gsocket.c | 6 +++--- gio/gsocketclient.c | 4 ++-- gio/gsocks5proxy.c | 4 ++-- glib/gregex.c | 2 +- 8 files changed, 19 insertions(+), 19 deletions(-) commit e4dc223e9d1778f21c8267171dd6562ba82634c3 Author: Matthias Clasen Date: Thu Aug 16 22:47:43 2012 -0400 Make capitalisation of "UNIX" consistent in translatable strings Based on a patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/gunixsocketaddress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 191f09b04409202fc88fc88f5e05c16d4cdfa86c Author: Matthias Clasen Date: Thu Aug 16 22:23:20 2012 -0400 Change "dash" to "hyphen" in translatable strings GSchemas use hyphens, not dashes. Patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/glib-compile-schemas.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4e55bebb7aaaf2bdd635db691ad6524dd9e893f8 Author: Matthias Clasen Date: Thu Aug 16 22:17:46 2012 -0400 Fix leak in GWinHttpVfs Patch by Ole André Vadla Ravnås, bug https://bugzilla.gnome.org/show_bug.cgi?id=627423 gio/win32/gwinhttpvfs.c | 2 ++ 1 file changed, 2 insertions(+) commit 6ef1e56479db644cff6717a838a8e63a54ce54da Author: Matthias Clasen Date: Thu Aug 16 22:15:54 2012 -0400 Fix leak in GFileAttributeInfoList Patch by Ole André Vadla Ravnås, bug https://bugzilla.gnome.org/show_bug.cgi?id=627423 gio/gfileattribute.c | 1 + 1 file changed, 1 insertion(+) commit bf3262dd935ecbe72374311447de1f1c70a43fcc Author: Matthias Clasen Date: Thu Aug 16 20:18:37 2012 -0400 GTest: Improve --help output https://bugzilla.gnome.org/show_bug.cgi?id=550433 glib/gtester.c | 33 +++++++++++++++-------------- glib/gtestutils.c | 61 +++++++++++++++++++++-------------------------------- 2 files changed, 41 insertions(+), 53 deletions(-) commit 55ca95c2203cb483439aae9b1f282b93f32f621c Author: David King Date: Fri Feb 17 14:42:58 2012 +0000 docs: Improve G_GNUC_* documentation Mention where the GCC attributes should be placed for functions and arguments. Add an example for G_GNUC_UNUSED. https://bugzilla.gnome.org/show_bug.cgi?id=326931 glib/docs.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 77 insertions(+), 17 deletions(-) commit 2ccf64ba59cfcc472a658b036b8a919aa081ea7f Author: Matthias Clasen Date: Thu Aug 16 18:44:41 2012 -0400 Improve glib-genmarshal man page Expand the example in glib-genmarshal.1 to include the actual commandline invocations, and update the generated function names to match reality. https://bugzilla.gnome.org/show_bug.cgi?id=637460 docs/reference/gobject/glib-genmarshal.xml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit aa50b8aec31df6951070ed9674ab3b14dc6d2759 Author: Colin Walters Date: Thu Aug 16 18:31:02 2012 -0400 build: Fix the --disable-man case The manpage listing needs to be inside the conditional. docs/reference/gio/Makefile.am | 8 +++++--- docs/reference/glib/Makefile.am | 8 +++++--- docs/reference/gobject/Makefile.am | 7 +++++-- 3 files changed, 15 insertions(+), 8 deletions(-) commit d7e1d51fc94b79dfa4243f3b9aa6eafbe169ed6f Author: Owen W. Taylor Date: Tue Aug 14 12:57:43 2012 -0400 Add tests for g_file_make_directory_with_parents() Add tests to catch recent regressions with g_file_make_directory_with_parents() https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/tests/live-g-file.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) commit f899358156a34d1b5258d1fcdeb289e7b2bbf233 Author: Owen W. Taylor Date: Tue Aug 14 11:25:56 2012 -0400 g_file_make_directory_with_parents: clean up logic Simplify logic by only looking at whether we have a GError and not also using return codes. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) commit 5291190f46614c9e1491599af345f9c41c74967e Author: Owen W. Taylor Date: Tue Aug 14 11:20:16 2012 -0400 g_file_make_directory_with_parents(): fix a corner case If g_file_get_parent() unexpectedly failed, we could return FALSE but with no error. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 732470a3594351ffc3d085a755271844c462e9c8 Author: Owen W. Taylor Date: Tue Aug 14 11:00:14 2012 -0400 g_file_make_directory_with_parents: refix error propagation The patch from b0bce4ad triggered segfaults - see: http://redmine.yorba.org/issues/5656 We were clearing the error before dereferencing it in the next go-around of the while loop - this wasn't necessary. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit b60168a5f5b4bcfa8f8ed175cd18a0cfaea96063 Author: Matthias Clasen Date: Wed Aug 8 10:01:47 2012 -0400 Remove man page placeholder generation I don't see a good reason for this - if man page generation is disabled, man pages are not produced, and things like 'make dist' will fail. That is simpler and better. https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/reference/gio/Makefile.am | 15 +-------------- docs/reference/glib/Makefile.am | 15 +-------------- docs/reference/gobject/Makefile.am | 15 +-------------- 3 files changed, 3 insertions(+), 42 deletions(-) commit 4cd5a63f12357b6ed6314cfed237965dba0aaeae Author: Matthias Clasen Date: Wed Aug 8 09:57:48 2012 -0400 Clean up man pages on 'clean' Follow the automake heuristic that says "if 'make' created it, 'make clean' should remove it". https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/reference/gio/Makefile.am | 2 +- docs/reference/glib/Makefile.am | 2 +- docs/reference/gobject/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit ce531302cd3b562a284da24ef425108d3466a7fb Author: Matthias Clasen Date: Wed Aug 8 09:55:29 2012 -0400 Make --enable-man and --enable-gtk-doc independent Previously, --enable-man --disable-gtk-doc would silently skip man page generation, because we didn't even desdend into docs/reference. Fix this by always going there. https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit 317d91d06bc3bcdef91f98a7a75489977aa154e4 Author: Matthias Clasen Date: Thu Aug 16 17:21:03 2012 -0400 Fix an example Pointed out by Chandni Verma in https://bugzilla.gnome.org/show_bug.cgi?id=682025 docs/reference/glib/gvariant-varargs.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8a5fc2e2e548e72526b4d69f1c04a78030e47d4 Author: Javier Jardón Date: Wed Aug 15 02:45:10 2012 +0900 Revert "Use upstream gettext instead the glib one" Commited by mistake This reverts commit e930e3b3aac2fe4d62996d8033121a40153f2da3. autogen.sh | 4 - configure.ac | 15 ++- gio/Makefile.am | 1 - glib/Makefile.am | 1 - po/Makefile.in.in | 280 +++++++++++++++++++++++++++++++++++++++++++++++++++++ po/Makevars | 66 ------------- 6 files changed, 293 insertions(+), 74 deletions(-) commit 6b201748b5f71f74af02ba8c01fd4c53750f910a Author: Sebastian Geiger Date: Thu Aug 9 23:01:29 2012 +0200 compiling.xml: Add note and fix gcc example Because of the '--as-needed' default option for the linker, the linking will fail, if the file name appears after any of the options or the pkg-config invocation. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681854 docs/reference/glib/compiling.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit e930e3b3aac2fe4d62996d8033121a40153f2da3 Author: Javier Jardón Date: Mon May 16 13:23:47 2011 +0100 Use upstream gettext instead the glib one autogen.sh | 4 + configure.ac | 15 +-- gio/Makefile.am | 1 + glib/Makefile.am | 1 + po/Makefile.in.in | 280 ----------------------------------------------------- po/Makevars | 66 +++++++++++++ 6 files changed, 74 insertions(+), 293 deletions(-) commit f92a3525f79ecb53d470c00797b71c12860eb05b Author: Dirgita Date: Mon Aug 13 06:04:31 2012 +0700 Updated Indonesian translation po/id.po | 6031 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3358 insertions(+), 2673 deletions(-) commit ddfcfa66ae602c11ce9c4bfc426a79d668653278 Author: Colin Walters Date: Tue Aug 7 17:26:43 2012 -0400 build: Switch back to using AS_IF for conditionals See https://bugzilla.gnome.org/show_bug.cgi?id=674483 https://bugzilla.gnome.org/show_bug.cgi?id=681413 configure.ac | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) commit e5ad42c6127e0c4c3c5c6567e137305fbeee4fbc Author: Chao-Hsiung Liao Date: Tue Aug 7 13:36:35 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 183 +++++++++++++++++++++++++++++------------------------------ po/zh_TW.po | 183 +++++++++++++++++++++++++++++------------------------------ 2 files changed, 180 insertions(+), 186 deletions(-) commit 541c985869fe9f2c0a858c0a91b4eb60f99d19f0 Author: Stef Walter Date: Mon Aug 6 18:20:48 2012 +0200 gtlscertificate: Add certificate-bytes and private-key-bytes props * These properties contain the same data as certificate and private-key, but as GBytes https://bugzilla.gnome.org/show_bug.cgi?id=681319 gio/gdummytlsbackend.c | 4 +++ gio/gtlscertificate.c | 59 +++++++++++++++++++++++++++++++++++-------- gio/tests/gtesttlsbackend.c | 6 +++++ 3 files changed, 58 insertions(+), 11 deletions(-) commit 69dd29296e2ff691f7d305ad7686d9c2e0d6e158 Author: Ryan Lortie Date: Mon Aug 6 16:20:36 2012 -0400 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)