commit 779ed3f0a530f402d522b1eb23c2dd06f70e6413 Author: Ryan Lortie Date: Mon Nov 19 16:14:05 2012 -0500 NEWS NEWS | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) commit 824bc48adb464d5360237975fc5369f0b634d9b9 Author: Ryan Lortie Date: Mon Nov 19 16:10:55 2012 -0500 Remove two accidentally-exported symbols This reverts commit 85976cf91deae6ac7cf1639a187a424ff7296968 and properly removes the offending symbols from gio.symbols. These two private symbols were found to be exported during Colin's recent work cleaning up function visibility (among other things). They were never exposed in any header file and I am 100% certain that they have never been used by anybody. They were always private -- only exposed on the library symbol list. This change will cause ABI checking tools to complain that we have removed functions, but the change is completely harmless for actual applications. https://bugzilla.gnome.org/show_bug.cgi?id=687441 gio/gio.symbols | 2 -- gio/gmenumodel.c | 8 ++------ 2 files changed, 2 insertions(+), 8 deletions(-) commit 5272bc4d67ff6c100ba02b02869db80f51d37c26 Author: Ryan Lortie Date: Mon Nov 19 10:28:55 2012 -0500 Revert "[gobject] set all properties before constructed()" This reverts commit 028d4a03f2baa7ca9243a2819f30ffb0d5e137d7. I thought that we would be able to get away with this incompatible change but it appears to impact far too much existing code. The only thing we can do is revert. https://bugzilla.gnome.org/show_bug.cgi?id=688596 gobject/gobject.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 39150f90e5c34e5402c1a31ed9e71d2e21cfd4c0 Author: Chun-wei Fan Date: Mon Nov 19 12:38:28 2012 +0800 Update config.h.win32.in Make its entries correspond to the entries in config.h.in, and use _strnicmp for strncasecmp on Visual C++. config.h.win32.in | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) commit 596f96b08db1b99c820e397cb2030fa27e79ff96 Author: Antoine Jacoutot Date: Sat Nov 17 09:44:48 2012 +0100 gio-kqueue: use O_EVTONLY on MacOS MacOS provides the O_EVTONLY flag to open(2) which allow to open a file for monitoring without preventing an unmount of the volume that contains it. https://bugzilla.gnome.org/show_bug.cgi?id=688518 gio/kqueue/kqueue-exclusions.c | 5 +++++ gio/kqueue/kqueue-helper.c | 4 ++++ 2 files changed, 9 insertions(+) commit ef8510be09a746dcbc8d470376688820b225c40f Author: Michael Natterer Date: Fri Nov 16 18:48:09 2012 +0100 Bug 673047 - gunicollate is broken on OS X Apply slightly modified patch from Camillo Lugaresi which fixes gunicollate for OSX >= 10.6. It was totally hilariously broken for anyone on 10.6 and later, I dont know if it's now broken on 10.5, but better fix it for the vast majority of users. glib/gunicollate.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit 11e306a759f6c90f4b1da67dbdf5a98ca5809670 Author: Kalev Lember Date: Fri Nov 16 17:33:14 2012 +0100 Fix a broken link in GConf migration guide gnome-utils git repo was moved to archive/ and this broke the link. docs/reference/gio/migrating-gconf.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 03ef7ba5abab928c17142f553f86b97d28ecf946 Author: Dan Winship Date: Thu Nov 15 18:18:54 2012 -0500 win32: re-fix the _utf8 compat function situation The previous fix didn't work, because every place within glib that used any of the functions also needed to be including win32compat.h. So, move the prototypes back to their original headers (but at least all in one place at the bottom). https://bugzilla.gnome.org/show_bug.cgi?id=688109 docs/reference/glib/Makefile.am | 3 +- glib/Makefile.am | 1 - glib/gconvert.c | 1 - glib/gconvert.h | 24 ++++++ glib/gdir.c | 1 - glib/gdir.h | 10 +++ glib/genviron.h | 12 +++ glib/gfileutils.h | 20 +++++ glib/giochannel.h | 8 ++ glib/glib.h | 4 - glib/gspawn.h | 46 ++++++++++ glib/gutils.h | 14 +++ glib/gwin32.h | 14 +++ glib/gwin32compat.h | 178 --------------------------------------- 14 files changed, 149 insertions(+), 187 deletions(-) commit 834e6e96b355d7b313f59eef3c90a68bc5463365 Author: Paul Menzel Date: Wed Nov 14 18:49:50 2012 +0100 docs: Fix spelling of "exceed" in gobject/gtype.c https://bugzilla.gnome.org/show_bug.cgi?id=688338 gobject/gtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8bf295bcd8d870997bb067adbddc5636f8bae9cf Author: Aleksander Morgado Date: Thu Nov 15 09:31:14 2012 +0100 gdbus: improve documentation of the GDBusError section https://bugzilla.gnome.org/show_bug.cgi?id=688370 gio/gdbuserror.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 2628dc2c09ea7658aebf810d9db90070e3be301d Author: Dan Winship Date: Sun Nov 11 13:07:30 2012 -0500 gtestutils: don't try to print long doubles A few gtestutils function use long double as a type that can (in theory) hold any int or any double. But win32 doesn't support long doubles in printf, so convert them to ints or doubles first before trying to print them. https://bugzilla.gnome.org/show_bug.cgi?id=688109 glib/gtestutils.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit aa1418c427ea904e22c9bfe812a569f4aee1e3f7 Author: Dan Winship Date: Sun Nov 11 13:05:16 2012 -0500 win32: work around broken winsock prototypes Re-#define a few socket functions to work around winsock's prototypes having, eg, "int *" rather than "unsigned int *", or "char *" rather than "void *". (Also fix two places that mistakenly assumed guint==guint32.) https://bugzilla.gnome.org/show_bug.cgi?id=688109 gio/gsocket.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit fc3acd88baad368b70f6b263e74c945e15fdc8ef Author: Dan Winship Date: Sun Nov 11 11:29:16 2012 -0500 win32: avoid printf format warnings on nonstandard formats glib/tests/test-printf tests some non-standard printf formats on Windows, which gcc doesn't recognize, and so complains about. Disable those warnings for that test. https://bugzilla.gnome.org/show_bug.cgi?id=688109 glib/tests/test-printf.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit d9e8feae7cb60e2e2cb62f0a948f025c09ca8553 Author: Dan Winship Date: Sun Nov 11 11:21:07 2012 -0500 win32: make gio/tests/gdbus-proxy.c compile win32 doesn't have kill(), so this won't even compile on Windows unless that is ifdeffed out. The test probably still doesn't *work*, but... https://bugzilla.gnome.org/show_bug.cgi?id=688109 gio/tests/gdbus-proxy.c | 4 ++++ 1 file changed, 4 insertions(+) commit 75d2c1823c56f01db1b2e97bd9287fd70fdcd84d Author: Dan Winship Date: Sat Nov 10 11:13:24 2012 -0500 gvariant-internal.h: fix the include hack gvariant-internal.h was defining GLIB_COMPILATION so that it could include individual headers, but this broke tests/gvariant on windows because setting GLIB_COMPILATION changes the definition of GLIB_VAR, causing external variables to not be found. Fix this by having it define __GLIB_H_INSIDE__ instead. https://bugzilla.gnome.org/show_bug.cgi?id=688109 glib/gvariant-internal.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 468a166711ab78986b3404909c6d9c0cf3633bea Author: Dan Winship Date: Sat Nov 10 11:09:18 2012 -0500 GLocalFile: canonicalize the initial directory separator GLocalFile was (in certain situations) translating a path like "/foo/bar/baz" to "/foo\bar\baz" on win32. Fix it to make sure the initial directory separator gets canonicalized too. Fixes gio/tests/g-icon on win32. https://bugzilla.gnome.org/show_bug.cgi?id=688109 gio/glocalfile.c | 5 +++++ 1 file changed, 5 insertions(+) commit f80d8f1e4d583167234d79ace0a3ef7081826317 Author: Dan Winship Date: Sat Nov 10 11:06:57 2012 -0500 win32: various fixes to test programs Fix a few win32-specific bugs in various tests, and #ifdef out code that is UNIX- or Linux-specific that wouldn't be expected to pass on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=688109 glib/tests/fileutils.c | 2 +- glib/tests/gdatetime.c | 5 ++++- glib/tests/keyfile.c | 13 +++++++++++-- glib/tests/mappedfile.c | 4 ++++ glib/tests/uri.c | 25 +++++++++++++------------ glib/tests/utils.c | 17 +++++++++++++++++ 6 files changed, 50 insertions(+), 16 deletions(-) commit b8c13a01b6bd5601eb3519dd3b20daed4bbc2e72 Author: Dan Winship Date: Sat Nov 10 10:58:19 2012 -0500 win32: misc warning fixes https://bugzilla.gnome.org/show_bug.cgi?id=688109 gio/gdbusaddress.c | 4 +++- gio/gdbusauth.c | 1 + gio/giomodule.c | 4 ++++ gio/gregistrysettingsbackend.c | 25 +++++++++++++------------ gio/gsocket.c | 6 +----- gio/gwin32mount.c | 4 ++-- gio/gwin32volumemonitor.c | 35 ++++------------------------------- gio/win32/gwin32directorymonitor.c | 23 +++++++++++------------ glib/gbitlock.c | 3 ++- glib/gdatetime.c | 4 ++-- glib/giochannel.h | 6 ++++++ glib/giowin32.c | 3 ++- glib/gkeyfile.c | 2 ++ glib/glib-init.c | 4 ++++ glib/gmain.c | 1 + glib/gmappedfile.c | 2 ++ glib/gnulib/vasnprintf.c | 5 ++++- glib/gspawn-win32.c | 2 ++ glib/gthread-win32.c | 1 + glib/gutils.c | 2 +- glib/tests/1bit-mutex.c | 2 ++ glib/tests/fileutils.c | 2 +- glib/tests/gwakeuptest.c | 2 +- glib/win_iconv.c | 14 +++++++------- tests/qsort-test.c | 4 ++-- 25 files changed, 81 insertions(+), 80 deletions(-) commit f248c86b0aac6c64bd2cb8e2a0e8814719a4bb0a Author: Dan Winship Date: Sun Nov 11 11:32:40 2012 -0500 win32: move some code into #ifdef G_OS_UNIX Fix various bits of code/declarations that are only used by G_OS_UNIX but were still visible to G_OS_WIN32. https://bugzilla.gnome.org/show_bug.cgi?id=688109 gio/gdbusmessage.c | 2 ++ gio/gdbusprivate.c | 8 +++++++- gio/glocaldirectorymonitor.c | 11 ++++++----- gio/tests/Makefile.am | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) commit 731b46990896665a8107535080bb075a6e18b6f7 Author: Dan Winship Date: Sat Nov 10 10:54:43 2012 -0500 win32: define _WIN32_WINNT globally Rather than defining _WIN32_WINNT only in a handful of files, define it in config.h, like we do with _GNU_SOURCE. (Also remove a "#define WIN32_LEAN_AND_MEAN" that isn't really all that useful.) https://bugzilla.gnome.org/show_bug.cgi?id=688109 configure.ac | 2 ++ gio/glocalfile.c | 1 - gio/gnetworkingprivate.h | 1 - gio/gregistrysettingsbackend.c | 3 --- gio/gtestdbus.c | 1 - gio/gwin32volumemonitor.c | 1 - gio/win32/gwin32directorymonitor.c | 2 -- gio/win32/gwinhttpvfs.h | 1 - 8 files changed, 2 insertions(+), 10 deletions(-) commit 3ac6cfaeaadc82ce7d8b9dba7134d5ea7272c70c Author: Dan Winship Date: Sat Nov 10 10:51:18 2012 -0500 win32: prototype _glib_get_dll_directory() and _glib_get_locale_dir() Rather than using "extern" declarations of these win32 functions everywhere they're needed, just prototype them in glib-private.h. (Which also fixes the fact that they weren't prototyped in the files where they're defined.) https://bugzilla.gnome.org/show_bug.cgi?id=688109 gio/gdbus-tool.c | 10 ++++++++-- gio/glib-compile-resources.c | 5 ++++- gio/glib-compile-schemas.c | 5 ++++- gio/gresource-tool.c | 5 ++++- gio/gsettings-tool.c | 5 ++++- glib/ggettext.c | 1 + glib/glib-private.h | 5 +++++ glib/gspawn-win32.c | 2 +- 8 files changed, 31 insertions(+), 7 deletions(-) commit 08f4f92fedff4821b1cdbab1763f5e3df59ce458 Author: Dan Winship Date: Thu Nov 15 12:24:57 2012 -0500 win32: add gwin32compat.h, for utf8-renaming compatibility defines To avoid -Wmissing-prototype warnings, we need to prototype both the original and the _utf8 versions of all of the functions that have had _utf8-renaming on Windows. But duplicating all the prototypes is ugly, so rather than doing them "in-place", move them all to a new header file just for that. https://bugzilla.gnome.org/show_bug.cgi?id=688109 docs/reference/glib/Makefile.am | 3 +- glib/Makefile.am | 1 + glib/gconvert.c | 1 + glib/gconvert.h | 9 -- glib/gdir.c | 2 +- glib/gdir.h | 8 -- glib/genviron.h | 8 -- glib/gfileutils.h | 15 ---- glib/giochannel.h | 4 - glib/glib.h | 4 + glib/gspawn.h | 10 --- glib/gutils.h | 14 --- glib/gwin32.h | 7 -- glib/gwin32compat.h | 178 +++++++++++++++++++++++++++++++++++++++ gmodule/gmodule.h | 18 ++-- 15 files changed, 198 insertions(+), 84 deletions(-) commit c2acbc018269a052eb7546950088a0860e3b1545 Author: Wim Taymans Date: Thu Nov 15 11:37:20 2012 +0100 gsocket: fix joining/leaving multicast groups Initialize the structure passed to setsockopt to 0 to avoid random errors when joining or leaving a multicast group. https://bugzilla.gnome.org/show_bug.cgi?id=688378 gio/gsocket.c | 2 ++ 1 file changed, 2 insertions(+) commit 49db979922283364238a5c208671591f713ecd78 Author: Michael Natterer Date: Thu Nov 15 15:23:07 2012 +0100 Revert "gmain: Add private API to create Unix child watch that uses waitid()" This reverts commit 93bf37ce1507380f74d4cb4cab6640fc7d2eb7d1. configure.ac | 2 +- glib/glib-private.c | 3 +- glib/glib-private.h | 3 - glib/gmain.c | 178 +++++++++++++-------------------------------------- 4 files changed, 45 insertions(+), 141 deletions(-) commit 6dee874b68548981ae567b553be3c010766e4a25 Author: Michael Natterer Date: Thu Nov 15 15:22:52 2012 +0100 Revert "gio: Add private API to create win32 streams from fds" This reverts commit 292de8cc5259eb66c40d9a74d85389650ef67747. gio/Makefile.am | 1 - gio/giowin32-priv.h | 43 --------------------------------------- gio/gwin32inputstream.c | 50 ++++++++++------------------------------------ gio/gwin32outputstream.c | 50 ++++++++++------------------------------------ 4 files changed, 22 insertions(+), 122 deletions(-) commit 75de24ca667b0acd82ef736cac1808add81fa637 Author: Michael Natterer Date: Thu Nov 15 15:22:37 2012 +0100 Revert "gspawn: support creating pipes with O_CLOEXEC" This reverts commit 2054ccad95cfdcf5eccd2ef6847c12039c9678e8. glib/gspawn.c | 37 ++++++++++++++++++++++++++----------- glib/gspawn.h | 5 +---- 2 files changed, 27 insertions(+), 15 deletions(-) commit 2aa97e2847246d95cae32c9c061162bfb4af838a Author: Colin Walters Date: Thu Nov 15 08:42:36 2012 -0500 gdbus: Fix some compiler warnings Code appears to have been copy/pasted from a bit which used _object, but I think it's clearer to always use the "self" parameter anyways. gio/gdbusobjectmanagerclient.c | 4 ++-- gio/gdbusobjectproxy.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit a335fd1de8fc2ab4b26c5fe6055014ea15043fb9 Author: Antoine Jacoutot Date: Wed Nov 14 12:57:42 2012 +0100 GFileMonitor: Add kqueue(3) support to GIO Written by Dmitry Matveev as part of GSoC 2011: http://netbsd-soc.sourceforge.net/projects/kqueue4gio/ This brings native file monitoring support on systems supporting kqueue(3) (all BSDs) and remove the need to rely on the unmaintained gamin software. The backend adds GKqueueDirectoryMonitor and GKqueueFileMonitor. Some parts rewritten by myself (to prevent needing a configuration file). Helpful inputs from Colin Walters and Simon McVittie. https://bugzilla.gnome.org/show_bug.cgi?id=679793 configure.ac | 12 + gio/Makefile.am | 6 + gio/giomodule.c | 6 + gio/kqueue/Makefile.am | 34 ++ gio/kqueue/dep-list.c | 521 +++++++++++++++++++++++++++ gio/kqueue/dep-list.h | 69 ++++ gio/kqueue/gkqueuedirectorymonitor.c | 205 +++++++++++ gio/kqueue/gkqueuedirectorymonitor.h | 49 +++ gio/kqueue/gkqueuefilemonitor.c | 209 +++++++++++ gio/kqueue/gkqueuefilemonitor.h | 51 +++ gio/kqueue/kqueue-exclusions.c | 60 ++++ gio/kqueue/kqueue-exclusions.h | 28 ++ gio/kqueue/kqueue-helper.c | 644 ++++++++++++++++++++++++++++++++++ gio/kqueue/kqueue-helper.h | 37 ++ gio/kqueue/kqueue-missing.c | 157 +++++++++ gio/kqueue/kqueue-missing.h | 32 ++ gio/kqueue/kqueue-sub.c | 79 +++++ gio/kqueue/kqueue-sub.h | 50 +++ gio/kqueue/kqueue-thread.c | 310 ++++++++++++++++ gio/kqueue/kqueue-thread.h | 45 +++ gio/kqueue/kqueue-utils.c | 242 +++++++++++++ gio/kqueue/kqueue-utils.h | 57 +++ 22 files changed, 2903 insertions(+) commit 2054ccad95cfdcf5eccd2ef6847c12039c9678e8 Author: Ryan Lortie Date: Sat Nov 10 13:16:29 2012 -0500 gspawn: support creating pipes with O_CLOEXEC Add a new flag, G_SPAWN_CLOEXEC_PIPES, for creating the stdin/out/err pipes with O_CLOEXEC (for the usual reasons). https://bugzilla.gnome.org/show_bug.cgi?id=672102 glib/gspawn.c | 37 +++++++++++-------------------------- glib/gspawn.h | 5 ++++- 2 files changed, 15 insertions(+), 27 deletions(-) commit 292de8cc5259eb66c40d9a74d85389650ef67747 Author: Colin Walters Date: Tue May 22 16:06:10 2012 -0400 gio: Add private API to create win32 streams from fds This will be used by GSubprocess. https://bugzilla.gnome.org/show_bug.cgi?id=672102 gio/Makefile.am | 1 + gio/giowin32-priv.h | 43 +++++++++++++++++++++++++++++++++++++++ gio/gwin32inputstream.c | 50 ++++++++++++++++++++++++++++++++++++---------- gio/gwin32outputstream.c | 50 ++++++++++++++++++++++++++++++++++++---------- 4 files changed, 122 insertions(+), 22 deletions(-) commit 93bf37ce1507380f74d4cb4cab6640fc7d2eb7d1 Author: Colin Walters Date: Mon May 21 17:09:06 2012 -0400 gmain: Add private API to create Unix child watch that uses waitid() This avoids collecting the zombie child, which means that the PID can't be reused. This prevents possible race conditions that might occur were one to send e.g. SIGTERM to a child. This race condition has always existed due to the way we called waitpid() for the app, but the window was widened when we moved the waitpid() calls into a separate thread. If waitid() isn't available, we return NULL, and consumers of this private API (namely, GSubprocess) will need to handle that. https://bugzilla.gnome.org/show_bug.cgi?id=672102 configure.ac | 2 +- glib/glib-private.c | 3 +- glib/glib-private.h | 3 + glib/gmain.c | 178 ++++++++++++++++++++++++++++++++++++++------------- 4 files changed, 141 insertions(+), 45 deletions(-) commit e744a4aa7a5b6e7b0fb3bd9e553b152ce424992c Author: Simon McVittie Date: Tue Nov 13 14:25:21 2012 +0000 Remove trailing spaces from expected GMarkup error messages Commit 138f4c1 broke the relevant part of 'make check' by changing the error messages away from the ones we previously expected. This commit updates the expected output to catch up. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=688255 Reviewed-by: Matthias Clasen glib/tests/markups/fail-5.expected | 2 +- glib/tests/markups/fail-6.expected | 2 +- glib/tests/markups/fail-7.expected | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit b98a1c8df30f9e24588a48331dacf01e49760549 Author: Colin Walters Date: Thu Nov 8 09:12:25 2012 -0500 gmain: Handle case where source id overflows 0 is not a valid source id, but for long-lived programs that rapidly create/destroy sources, it's possible for the source id to overflow. We should handle this, because the documentation implies we will. https://bugzilla.gnome.org/show_bug.cgi?id=687098 glib/glib-private.c | 3 +- glib/glib-private.h | 5 ++- glib/gmain.c | 76 +++++++++++++++++++++++++++++++++++++++--- glib/tests/mainloop.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 165 insertions(+), 6 deletions(-) commit 606aa26acf8382ac0abb008838a0bcde12246c63 Author: Paul Menzel Date: Sun Nov 11 14:48:15 2012 +0100 gio/*: Fix spelling of determining $ sed -i s,determing,determining,g gio/gdrive.c $ sed -i s,determing,determining,g gio/gdbusprivate.c http://www.merriam-webster.com/dictionary/determining For some reason according to `git log --follow` the whole file was created during some translation update. commit c45b8135046790e13b0d486f605dc62c9a783b16 Author: Timo Jyrinki Date: Mon Mar 12 11:02:04 2012 +0200 Finnish translation update from http://l10n.laxstrom.name/wiki/Gnome_3.4 translation sprint gio/gdbusprivate.c | 2 +- gio/gdrive.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9fb3082070a47a19663c3abf0c059639f9893b10 Author: Dan Winship Date: Sun Nov 11 14:14:04 2012 -0500 Revert "Return correct value for g_socket_get_available_bytes() on Windows and OSX" This neither compiles nor does what it's supposed to on Windows. This reverts commit 1e598600a16d885a3ca859fe951a5bdd198fd6e7. gio/gsocket.c | 15 ++++----------- gio/tests/socket.c | 53 ---------------------------------------------------- 2 files changed, 4 insertions(+), 64 deletions(-) commit 4651ec772520c892bf586710ac8e8ed38c515698 Author: Dan Winship Date: Sat Nov 10 10:37:00 2012 -0500 .gitignore: ignore .def files (win32 build) .gitignore | 1 + 1 file changed, 1 insertion(+) commit 2bba1da30674686960571603961e8daed973e5d0 Author: Sebastian Dröge Date: Fri Nov 9 15:28:36 2012 +0100 Add caching for the receiver addresses for g_socket_receive_from() https://bugzilla.gnome.org/show_bug.cgi?id=668842 gio/gsocket.c | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 76 insertions(+), 9 deletions(-) commit df1e0497928e96fbf6bd0a4d69b60fd19385d4be Author: Мирослав Николић Date: Sun Nov 11 11:36:03 2012 +0100 Updated Serbian translation po/sr.po | 400 +++++++++++++++++++++++++++++--------------------------- po/sr@latin.po | 400 +++++++++++++++++++++++++++++--------------------------- 2 files changed, 416 insertions(+), 384 deletions(-) commit 4a20aa31b1091462aa9ef842809d53cbd9b285bf Author: Aurimas Černius Date: Sat Nov 10 14:12:30 2012 +0200 Updated Lithuanian translation po/lt.po | 1460 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 730 insertions(+), 730 deletions(-) commit 1b3e65d5025d2d15a877edc4fb3caf105b6775ee Author: Fran Diéguez Date: Sat Nov 10 10:56:26 2012 +0100 Updated Galician translations po/gl.po | 381 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 191 insertions(+), 190 deletions(-) commit a8db7314fb194110eb4d9f7964a3eff5516c96c5 Author: Matej Urbančič Date: Sat Nov 10 08:58:41 2012 +0100 Updated Slovenian translation po/sl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit de298366e51d58c99ea5f9046eecde886558fb1d Author: Matej Urbančič Date: Sat Nov 10 08:56:38 2012 +0100 Updated Slovenian translation po/sl.po | 412 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 211 insertions(+), 201 deletions(-) commit 8caf39b59b96396a12d516b553f79f5eade4b096 Author: Matthias Clasen Date: Fri Nov 9 22:14:39 2012 -0500 Add an option to make glib-compile-resources use G_GNUC_INTERNAL https://bugzilla.gnome.org/show_bug.cgi?id=687742 docs/reference/gio/glib-compile-resources.xml | 13 +++++++++++++ gio/glib-compile-resources.c | 26 +++++++++++++++---------- 2 files changed, 29 insertions(+), 10 deletions(-) commit 138f4c1e2f3fdea3168f91fc72cde9fb0b0e602b Author: Matthias Clasen Date: Fri Nov 9 22:12:57 2012 -0500 Remove trailing space from some translated strings https://bugzilla.gnome.org/show_bug.cgi?id=687700 gio/glib-compile-schemas.c | 2 +- glib/gmarkup.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 7fd15ee4aee6ec21eb85f8836a5fd66f598a86f4 Author: Matthias Clasen Date: Fri Nov 9 22:10:10 2012 -0500 Add plural forms for some translations https://bugzilla.gnome.org/show_bug.cgi?id=687698 glib/gfileutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1e598600a16d885a3ca859fe951a5bdd198fd6e7 Author: Sebastian Dröge Date: Wed Oct 24 14:25:01 2012 +0200 Return correct value for g_socket_get_available_bytes() on Windows and OSX https://bugzilla.gnome.org/show_bug.cgi?id=686786 gio/gsocket.c | 15 +++++++++++---- gio/tests/socket.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 4 deletions(-) commit b65dac802e4c1bad3b3dd681f35eff52129b6d9e Author: John Ralls Date: Fri Nov 9 09:22:19 2012 -0800 Fix poll able streams for Darwin (and probably BSD) Darwin's poll doesn't change revents if there are no available events, though it returns 0. Initialize the fd.revents to 0 so that the test passes. That reveals a test failure, though, because with socket streams it takes time for an event to pass through the socket. Provide an 80-usec delay to allow time for the propagation. gio/gsocket.c | 1 + gio/gunixinputstream.c | 1 + gio/gunixoutputstream.c | 1 + gio/tests/converter-stream.c | 6 ++++++ gio/tests/pollable.c | 3 +++ 5 files changed, 12 insertions(+) commit 5588d47985073563749066ed18a981b1ff437f14 Author: John Ralls Date: Thu Nov 8 09:52:28 2012 -0800 Fix compile error about missing prototype For g_nextstep_settings_backend_get_type() gio/gnextstepsettingsbackend.c | 2 ++ 1 file changed, 2 insertions(+) commit f1b34cab8af395087e13d1a733bca1959487158f Author: Dan Winship Date: Fri Nov 9 11:38:08 2012 -0500 gthreadedresolver: fix a bug in the GTask porting of lookup_records We were passing the wrong destroy notify when returning the list of records, so it would crash if it got called (ie, if you didn't call g_resolver_lookup_records_finish()). (Also fix s/targets/records/ throughout the records functions.) gio/gthreadedresolver.c | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) commit edeffe0c870d0716ab0f5a5b8d435ef585c71448 Author: Timothy Arceri Date: Fri Nov 9 23:48:38 2012 +1100 Use url encoding for trash fileinfo path as per freedesktop trash specification https://bugzilla.gnome.org/show_bug.cgi?id=687540 gio/glocalfile.c | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) commit a07a5f82aafca64872691313e233295e591e7632 Author: Martin Pitt Date: Fri Nov 9 09:32:03 2012 +0100 GByteArray: Add missing transfer annotations Make g_byte_array_new() and g_byte_array_new_take() introspectable by adding missing transfer annotations to return value. Covered by tests in PyGObject. glib/garray.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e06268d72e49dd487038043674aa1ee2f419118c Author: Martin Pitt Date: Fri Nov 9 09:02:22 2012 +0100 GBytes: Add missing annotations Annotate g_bytes_new*()'s data argument to be a guint8 array, as introspection clients cannot deal with raw gconstpointers. This makes GBytes' behaviour similar to GByteArray whose API already uses guint8. Add missing transfer annotation to g_bytes_get_data() to make it introspectable. This is covered by test cases in PyGObject. glib/gbytes.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 8dd70a261df853d86f4944481dc6a18d4c8a62af Author: John Ralls Date: Thu Nov 8 08:35:23 2012 -0800 Bug 686185: GDateTime Transcoding fails on OSX Better fix than d5df0a10f. Thanks to Christian Persch for pointing this out. glib/tests/gdatetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a9eb1907a6451cdfe68f5924b138cfbeebc4dcf1 Author: Emmanuel Pacaud Date: Wed Nov 7 09:58:45 2012 +0100 Check for PR_GET_NAME PR_GET_NAME may not be defined when using an old kernel. Deal with it. glib/tests/thread.c | 2 ++ 1 file changed, 2 insertions(+) commit 753494a25e35bd1f2413bd741f73d60226fcfd14 Author: Colin Walters Date: Tue Nov 6 15:04:47 2012 -0500 tests/buffered-input-stream: Fix size of parameter passed buffer-size is guint, but the public API is gsize for some reason. Tested-By: gustavold@linux.vnet.ibm.com https://bugzilla.gnome.org/show_bug.cgi?id=687801 gio/tests/buffered-input-stream.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit d5df0a10f142db8216cb41e38ec23d5729956650 Author: John Ralls Date: Thu Oct 18 10:47:18 2012 -0700 Skip test_non_utf8_printf() if EUC-JP is aliased to UTF-8 See https://bugzilla.gnome.org/show_bug.cgi?id=686185 This skips the test on those systems, like Darwin, which provide the ja_JP.eucjp locale but which glib doesn't know how to transcode and aliases JIS to UTF-8. glib/tests/gdatetime.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit b26fb3ae5cc18fa51cd6169f1b3b5c4dd74dab29 Author: Ryan Lortie Date: Mon Nov 5 12:22:49 2012 -0500 Don't call varargs open() through non-varargs type open() is probably defined varargs. Casting a varargs function to an equivalent non-varargs type and then calling it is undefined, but gfileutils.c was doing exactly that. Add some non-varargs wrappers to avoid the problem. Problem reported by John Spencer. https://bugzilla.gnome.org/show_bug.cgi?id=687600 glib/gfileutils.c | 42 ++++++++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 10 deletions(-) commit 77032ea390cfbb1165f57fc6a61b8e4d2055934a Author: Ryan Lortie Date: Tue Nov 6 07:41:13 2012 -0500 belated version bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6a075b0d8dfe4e4a41f6624ad7032d2163d420c Author: Ryan Lortie Date: Mon Nov 5 11:07:16 2012 -0500 gtype: disallow adding interfaces after the fact Add a check to prevent adding an interface to a class that has already had its class_init done. This is an incompatible change but it is suspected that there are not many users of this functionality. Two known exceptions are pygobject (fixed in bug 686149) and our own testsuite (affected tests have been temporarily disabled by this patch). Once we confirm that nobody else is using this functionality we can remove a rather large amount of code for dealing with this case. https://bugzilla.gnome.org/show_bug.cgi?id=687659 gobject/gtype.c | 6 ++++++ gobject/tests/threadtests.c | 20 ++++++++++++-------- tests/gobject/Makefile.am | 3 --- 3 files changed, 18 insertions(+), 11 deletions(-) commit 1af1b2b2bb10b5db27cd43af02f199ebc3f466d7 Author: Martin Pitt Date: Wed Oct 24 16:30:37 2012 +0200 Box GPollFD to make it introspectable https://bugzilla.gnome.org/show_bug.cgi?id=686797 docs/reference/gobject/gobject-sections.txt | 2 ++ gobject/gboxed.c | 10 ++++++++++ gobject/glib-types.h | 11 +++++++++++ gobject/gobject.symbols | 1 + 4 files changed, 24 insertions(+) commit 81b27ffc1cbba85e322fd731e30dfdaad86cbd5e Author: Ryan Lortie Date: Mon Nov 5 08:24:30 2012 -0500 Add a translator comment about 'KB' The GLib units policy used to be that 'KB' means 1024 bytes, 'MB' means 1024 KB, 'GB' means 1024 MB, etc. Those days are over, but we have a deprecated function that still works that way. It contains the string "KB", marked for translation, which has been a source of confusion for translators on multiple occasions. https://bugzilla.gnome.org/show_bug.cgi?id=687516 glib/gutils.c | 5 +++++ 1 file changed, 5 insertions(+) commit 2b17e797a43944e38babcac1ba02296cfd81623d Author: Chun-wei Fan Date: Mon Nov 5 17:22:38 2012 +0800 gio/gthreadedresolver.c: Fix non-UNIX build Move the GError *error declaration up, as that variable is also used for non-Unix builds. gio/gthreadedresolver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8a530463add643890e4a4ec57f80531f5ef39101 Author: Sweta Kothari Date: Mon Nov 5 11:33:04 2012 +0530 Updated gujarati file po/gu.po | 311 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 158 insertions(+), 153 deletions(-) commit c5b9a47facb1cbffafae0c401d6596e2618238d1 Author: Chun-wei Fan Date: Mon Nov 5 12:31:44 2012 +0800 Visual C++ 2010 projects: Prepare support for VS2012 Add the PlatformToolset tag to the project configs so that we can use add a simple script later to the autotools files to copy the projects and change the value (v100 -> v110) of that tag (and other simple changes) in order that we can quickly provide and maintain support for Visual Studio 2012 with minimal effort. Note that at the moment GLib does not yet support the API/SDK requirements for Windows 8 Modern UI (formerly known as Metro), but this paves the very initial step. build/win32/vs10/gio.vcxprojin | 4 + build/win32/vs10/glib-compile-resources.vcxproj | 4 + build/win32/vs10/glib-compile-schemas.vcxproj | 356 ++++++++--------- build/win32/vs10/glib-genmarshal.vcxproj | 340 +++++++++-------- build/win32/vs10/glib.vcxprojin | 8 + build/win32/vs10/gmodule.vcxproj | 402 ++++++++++---------- build/win32/vs10/gobject.vcxprojin | 4 + build/win32/vs10/gresource.vcxproj | 4 + build/win32/vs10/gsettings.vcxproj | 356 ++++++++--------- .../win32/vs10/gspawn-win32-helper-console.vcxproj | 344 ++++++++--------- build/win32/vs10/gspawn-win32-helper.vcxproj | 344 ++++++++--------- build/win32/vs10/gthread.vcxproj | 376 +++++++++--------- build/win32/vs10/install.vcxproj | 300 ++++++++------- build/win32/vs10/testglib.vcxproj | 340 +++++++++-------- 14 files changed, 1621 insertions(+), 1561 deletions(-) commit 8e9279861293384a99778bb55e75ae7e8fa598d8 Author: Simon Feltman Date: Sat Nov 3 18:59:25 2012 -0700 Add array length annotation to GSignalQuery param_types field https://bugzilla.gnome.org/show_bug.cgi?id=687541 gobject/gsignal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 05034c0ff1e008ec668197fb4bb01e64b6734849 Author: Peter Mráz Date: Sat Nov 3 15:53:48 2012 +0000 Updated Slovak translation po/sk.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f508fbbbd7032a80532b34c74874a764553fb73d Author: Peter Mráz Date: Sat Nov 3 15:52:03 2012 +0000 Updated Slovak translation po/sk.po | 6482 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3488 insertions(+), 2994 deletions(-) commit 13ae0f1f922defaf21c3a5dbe8d299cddc71170a Author: Martin Pitt Date: Sat Nov 3 13:52:29 2012 +0100 Annotate g_filename_to_utf8() bytes_read and bytes_written are (out) arguments, and the return value must be a byte array instead of utf8, as otherwise the function would only support UTF-8 locales/file names. glib/gconvert.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 837db1a026a451f2785be18593bf3fa631acabd6 Author: Simon McVittie Date: Fri Nov 2 15:45:14 2012 +0000 Fix more warning-addition fallout I'm normally a big fan of small atomic commits, but I also want to get things done this afternoon... Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687441 Reviewed-by: Colin Walters tests/child-test.c | 4 ++-- tests/iochannel-test.c | 2 +- tests/mainloop-test.c | 18 +++++++++--------- tests/module-test.c | 2 ++ tests/onceinit.c | 6 ++++-- tests/slice-concurrent.c | 17 +++++++++++------ tests/thread-test.c | 6 +++--- tests/threadpool-test.c | 2 +- 8 files changed, 33 insertions(+), 24 deletions(-) commit 733acc23164e4845b6c990c0881290da568d3730 Author: Simon McVittie Date: Fri Nov 2 15:19:32 2012 +0000 Fix more void prototypes in tests Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687441 Reviewed-by: Colin Walters tests/gobject/ifaceinherit.c | 4 ++-- tests/gobject/performance.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit eb7dc2bcc61d28ad06e4e7fce781d1f467ce0592 Author: Simon McVittie Date: Fri Nov 2 15:19:20 2012 +0000 Predeclare more things in tests Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687441 Reviewed-by: Colin Walters tests/gobject/accumulator.c | 12 ++++++------ tests/gobject/defaultiface.c | 1 + tests/gobject/deftype.c | 2 ++ tests/gobject/dynamictype.c | 2 ++ tests/gobject/ifaceinherit.c | 6 ++++++ tests/gobject/performance.c | 8 ++++++++ tests/gobject/references.c | 1 + tests/gobject/singleton.c | 1 + 8 files changed, 27 insertions(+), 6 deletions(-) commit 85976cf91deae6ac7cf1639a187a424ff7296968 Author: Simon McVittie Date: Fri Nov 2 14:54:19 2012 +0000 Bring back a couple of private-but-extern symbols These both existed in 2.34.1, but are not exposed in headers, and were meant to be private. Making them static (in commit 84475e43) was technically an ABI break, and in particular it causes abicheck.sh to fail. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687441 Reviewed-by: Colin Walters gio/gmenumodel.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 7b1f8c582a699305bdbeadebb5628f54112c7220 Author: Dan Winship Date: Tue Oct 30 15:10:40 2012 -0400 gtask: bump the max thread pool size up to 100 to avoid stalls/deadlocks Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686810 for now. https://bugzilla.gnome.org/show_bug.cgi?id=687223 discusses a nicer fix for later. gio/gtask.c | 2 +- gio/tests/task.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 1afaea333b2f2775d4e5fc6f4de8f9f83f994fd7 Author: Simon McVittie Date: Sun Oct 21 23:38:31 2012 +0100 Use the FreeBSD credentials-passing code on Debian GNU/kFreeBSD The __FreeBSD__ macro means we have both a FreeBSD kernel and FreeBSD libc, which isn't the case on GNU/kFreeBSD (GNU libc and userland on the FreeBSD kernel), so it predefines a different macro. The kernel is what actually matters for credentials-passing, though. Signed-off-by: Simon McVittie Tested-by: Steven Chamberlain Bug: https://bugzilla.gnome.org/show_bug.cgi?id=649302 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581750 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631968 Reviewed-by: Dan Winship gio/gcredentials.c | 18 +++++++++--------- gio/gunixcredentialsmessage.c | 12 ++++++------ 2 files changed, 15 insertions(+), 15 deletions(-) commit ce0022933c255313e010b27f977f4ae02aad1e7e Author: Colin Walters Date: Mon Oct 29 15:44:16 2012 -0400 Merge waitpid() from g_spawn_sync into gmain() This is preparatory work for a future commit which will add a "catchall" waitpid API. If we don't synchronize here with the worker thread, race conditions are possible. This also ensures we have an error message if someone adds a child watch for a nonexistent pid, etc. Previously, we'd simply keep calling waitpid() getting ECHILD, and ignoring it until the source was removed. Now, we g_warning() and fire the source. Thirdly, this ensures that the waitpid() call in gmain handles EINTR, like the g_spawn_sync() one did. https://bugzilla.gnome.org/show_bug.cgi?id=687061 glib/gmain.c | 20 ++++++++++++--- glib/gspawn.c | 76 ++++++++++++++++++++++++++++++--------------------------- 2 files changed, 56 insertions(+), 40 deletions(-) commit 0bdf7fecaf1ffc7263d2bc48a87c99f4705138fc Author: Tim-Philipp Müller Date: Fri Nov 2 13:14:58 2012 +0000 tests: fix compiler warning in gvariant test gvariant.c:3555:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] glib/tests/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 28b30caecb8d53c0d41e6a46ef9ba01d2f08e051 Author: Colin Walters Date: Thu Nov 1 19:39:20 2012 -0400 configure: Enable set of standard -Werror=foo flags We're not going to depend on gnome-common (I assume) so this patch nicks the systemd macro to test for compiler flags, and uses it to set a similar set of -Werror=foo as the gnome-common one does. See https://bugzilla.gnome.org/show_bug.cgi?id=608953 See https://mail.gnome.org/archives/desktop-devel-list/2012-July/msg00100.html If we're going to be setting more strict compiler flags for GNOME, we should really ensure GLib builds with them first, as it's kind of the model citizen. In particular, you can see several times that downstreams such as Debian have come in and fixed -Wformat-security bugs. We should never let those get into tarballs, or even commits. https://bugzilla.gnome.org/show_bug.cgi?id=687385 configure.ac | 16 +-- m4macros/attributes.m4 | 288 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 297 insertions(+), 7 deletions(-) commit 055aa2b55e192a9c44fb0af07d8c1b3d8ef20b99 Author: Colin Walters Date: Thu Nov 1 20:10:46 2012 -0400 gdateparser: Delete unused debug print function https://bugzilla.gnome.org/show_bug.cgi?id=687385 tests/testgdateparser.c | 16 ---------------- 1 file changed, 16 deletions(-) commit 94ef8dff0d5da861389f12dee592c42936c4dba9 Author: Colin Walters Date: Thu Nov 1 19:43:02 2012 -0400 gdbusactiongroup: Add prototype for g_dbus_action_group_sync() Even private functions that are actually called across compilation units should have prototypes. For g_dbus_action_group_sync(), create one in gdbusactiongroup-private.h https://bugzilla.gnome.org/show_bug.cgi?id=687385 gio/Makefile.am | 1 + gio/gactiongroupexporter.c | 2 +- gio/gapplicationimpl-dbus.c | 8 +------- gio/gdbusactiongroup-private.h | 37 +++++++++++++++++++++++++++++++++++++ gio/gdbusactiongroup.c | 2 +- 5 files changed, 41 insertions(+), 9 deletions(-) commit dc4922af219397b18ca4d9d0ba53f0a99b43f3d4 Author: Colin Walters Date: Thu Nov 1 19:40:07 2012 -0400 test-pipe-unix: Add missing include Fixes the build with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385 gio/tests/test-pipe-unix.c | 1 + 1 file changed, 1 insertion(+) commit 3686aa0e18cf68167b14ec630bec8ba90a20d720 Author: Colin Walters Date: Thu Nov 1 19:39:09 2012 -0400 gettext: Add missing include Fixes the build with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385 glib/ggettext.c | 1 + 1 file changed, 1 insertion(+) commit 4c2a6595889eff44fa5f610e6c69016702100e95 Author: Colin Walters Date: Thu Nov 1 19:38:44 2012 -0400 gcharset: Add header file for private API This fixes the build with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385 glib/Makefile.am | 1 + glib/gcharset.c | 2 +- glib/gcharsetprivate.h | 33 +++++++++++++++++++++++++++++++++ glib/gconvert.c | 2 +- 4 files changed, 36 insertions(+), 2 deletions(-) commit 488cdb13f60273a944a6b9f0c22e233f43c7e00f Author: Colin Walters Date: Thu Nov 1 19:38:09 2012 -0400 gslice: Prototype G_ENABLE_DEBUG function that's part of ABI Sadly, g_slice_debug_tree_statistics is conditionally part of the public ABI. We might as well make it conditionally part of the API as well, even though this will require people actually using it to https://bugzilla.gnome.org/show_bug.cgi?id=687385 glib/gslice.h | 4 ++++ 1 file changed, 4 insertions(+) commit bd8387f25affe2f5780b57daf4fd3f01daf0c43d Author: Colin Walters Date: Thu Nov 1 19:37:57 2012 -0400 g_check_setuid: Include glib-private.h Otherwise we fail to build with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385 glib/gutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 139892734ebdc012b7a0c4897d89d16b3706fd5f Author: Colin Walters Date: Thu Nov 1 19:37:38 2012 -0400 tests/1bitmutex: Hack to build with -Werror=missing-prototypes Admittedly, this could probably be better, but it builds. https://bugzilla.gnome.org/show_bug.cgi?id=687385 glib/tests/1bit-mutex.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 8e59d8602ca5921d78245f5d2b405b517a5e7cf9 Author: Colin Walters Date: Thu Nov 1 19:36:52 2012 -0400 Use (void) for no parameters, not () This ensures we build with -Werror=missing-parameter-type. https://bugzilla.gnome.org/show_bug.cgi?id=687385 gio/gresource.c | 2 +- gobject/tests/threadtests.c | 2 +- tests/assert-msg-test.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 84475e4320347e637ac2fc84c9dc28b1668c8772 Author: Colin Walters Date: Thu Nov 1 19:36:15 2012 -0400 build: Prototype GType accessors for private classes Otherwise we fail to build with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385 gio/gmenumodel.c | 4 ++++ gio/gresourcefile.c | 2 ++ gio/tests/gdbus-peer-object-manager.c | 1 + gio/tests/proxy-test.c | 5 +++++ gobject/tests/param.c | 1 + tests/refcount/closures.c | 1 + tests/refcount/properties3.c | 1 + tests/refcount/properties4.c | 1 + 8 files changed, 16 insertions(+) commit 6d88a2f82294ffd6f75436e3f8e72b30fd591a03 Author: Colin Walters Date: Thu Nov 1 19:35:38 2012 -0400 build: Add missing "static" keyword where it should be used Otherwise we fail to build with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385 gio/gdbusactiongroup.c | 2 +- gio/gtestdbus.c | 2 +- gio/tests/gdbus-peer-object-manager.c | 2 +- gio/tests/gdbus-peer.c | 2 +- gio/tests/resources.c | 2 +- tests/libmoduletestplugin_a.c | 6 ++++++ tests/libmoduletestplugin_b.c | 8 ++++++++ tests/testgdate.c | 3 ++- tests/testgdateparser.c | 3 ++- tests/unicode-collate.c | 4 ++-- 10 files changed, 25 insertions(+), 9 deletions(-) commit f6da43f56c8d884c477594a787d2d025f67b0784 Author: Colin Walters Date: Thu Nov 1 19:36:41 2012 -0400 build: Ensure we #include header files for glib-genmarshal code Otherwise we fail with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385 gobject/tests/Makefile.am | 2 +- tests/gobject/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 67466b41afc6c5605b441c4955fba372e28975d3 Author: Colin Walters Date: Thu Nov 1 19:40:41 2012 -0400 build: Don't use C99 declarations Since GLib needs to compile with MSVC, we can't use them. This fixes compilation when using -Werror=declaration-after-statement. https://bugzilla.gnome.org/show_bug.cgi?id=687385 gio/tests/gdbus-proxy.c | 4 ++-- gio/tests/gdbus-test-codegen.c | 14 +++++++------- glib/gthread-posix.c | 10 ++++++---- glib/tests/gdatetime.c | 3 ++- 4 files changed, 17 insertions(+), 14 deletions(-) commit 59a24ab5a3ffff7d2cd36a1b392b49cc4024c29d Author: Robert Ancell Date: Wed Oct 31 14:56:00 2012 +1300 Use "Returns:" instead of the invalid "@returns" for annotating return values. https://bugzilla.gnome.org/show_bug.cgi?id=673229 gio/gvdb/gvdb-reader.c | 27 ++++++--- glib/deprecated/gcache.c | 6 +- glib/deprecated/gcompletion.c | 20 ++++--- glib/deprecated/grel.c | 18 ++++-- glib/deprecated/gthread-deprecated.c | 23 +++++--- glib/garray.c | 101 ++++++++++++++++++++++------------ glib/gdataset.c | 19 ++++--- glib/giochannel.c | 5 +- glib/giounix.c | 6 +- glib/giowin32.c | 9 ++- glib/glist.c | 21 ++++--- glib/gnode.c | 3 +- glib/gpattern.c | 15 +++-- glib/grand.c | 6 +- glib/gsequence.c | 7 ++- glib/gslist.c | 6 +- glib/gthread.c | 3 +- glib/gtimer.c | 8 ++- glib/gtree.c | 3 +- glib/gvariant-parser.c | 3 +- 20 files changed, 200 insertions(+), 109 deletions(-) commit 4447d5ce1117f261e7a2a935cd9a62340d436a74 Author: Colin Walters Date: Thu Oct 25 15:34:29 2012 -0400 tests/signals: Disable large enumeration value test that is failing on PPC64 Basically due to a combination of va_args semantics around signed/unsigned ints, this test case fails on ppc64. At the moment, we have as yet to find any real-world consumer with such a large enumeration value. Unfortunately, the possible fixes for this are extremely invasive; we would have to define a new enum API. Given both of these facts, we believe it makes the most sense at the current time to simply not test this. If we at a later time determine there is such a real-world consumer, we can look at doing the necessary fixes. https://bugzilla.gnome.org/show_bug.cgi?id=686662 gobject/tests/signals.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 531be87f24ecb8ad5d8753a79d8fdd894d0e094a Author: Rico Tzschichholz Date: Wed Oct 31 13:14:06 2012 +0100 po: Fix Makefile.in.in syntax Introduced by cff536c99ed22f83a09a1030c720f1555240390b po/Makefile.in.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a773a615b6fc11964ea81356aa2348e1bf116c9e Author: Will Thompson Date: Tue Oct 30 17:16:33 2012 +0000 GNetworkMonitor: add missing apostrophe to docstring gio/gnetworkmonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 529bf6bd89757eb7046e8a538349ca59a90e2136 Author: Vincent Untz Date: Tue Mar 27 16:52:24 2012 +0200 Add annotations for g_filename_from_uri() https://bugzilla.gnome.org/show_bug.cgi?id=672924 glib/gconvert.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 0d22609fe981aab877dc9f3bbfa3f97a7c4152f2 Author: Aleksander Morgado Date: Tue Oct 30 13:15:23 2012 +0100 gmessages: fix minor typo in documentation glib/gmessages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 15a21bd3cd1065a1c9e5378f0cefd99716235e9f Author: Sweta Kothari Date: Tue Oct 30 16:21:42 2012 +0530 Updated gujarati file po/gu.po | 1021 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 500 insertions(+), 521 deletions(-) commit 311e18abdded1f525725ea6e2c346fb402b2af02 Author: Ryan Lortie Date: Mon Oct 29 10:13:40 2012 +0100 gthread-posix: always use atomic pointer ops On platforms where dependent loads can be reordered (alpha) and we have exotic implementation of pthread_mutex_lock() it could be possible that our implementation of g_mutex_lock() is unsafe. Always use atomic operations to avoid this possibility. https://bugzilla.gnome.org/show_bug.cgi?id=686191 glib/gthread-posix.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit f20ae7fcfdaf9adeac3f73242adb798f1a80ddff Author: Ryan Lortie Date: Mon Oct 29 09:09:49 2012 +0100 g_dbus_connection_export_menu_model(): fix a crash Add some extra protection when 'preparing' a group that doesn't yet contain any menus. This can happen if you subscribe to a group that doesn't yet exist. It was possible to crash any application using g_dbus_connection_export_menu_model() by requesting a non-existent subscription group over the bus. In practice this only happened in races -- where the proxy sees a group that exists and queries it, but by the time it does, it's already gone. https://bugzilla.gnome.org/show_bug.cgi?id=687089 gio/gmenuexporter.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 00f4c12bf97432a50e49749895d2c8174e204907 Author: Paul Eggert Date: Mon Oct 29 10:19:20 2012 -0400 gmain: Document constraints on waitpid Applications that use glib should not invoke waitpid with a first argument that is nonpositive, because when such a waitpid is run in one thread and glib waits for a subprocess in another, there is a race condition, and the former waitpid can reap a process that was intended for the latter. Mention this in the documentation for g_child_watch_source_new, and in the diagnostic generated by g_spawn_sync when its waitpid fails with errno equal to ECHILD. Signed-off-by: Colin Walters http://bugzilla.gnome.org/show_bug.cgi?id=687075 glib/gmain.c | 8 ++++---- glib/gspawn.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) commit cff536c99ed22f83a09a1030c720f1555240390b Author: Colin Walters Date: Sun Oct 28 09:46:35 2012 -0400 mkinstalldirs: Delete from version control This is installed by automake. By maintaining it in git, we create merge conflicts as people build with different versions of automake. Just use 'mkdir -p' instead in gettext. Should be portable enough. https://bugzilla.gnome.org/show_bug.cgi?id=686839 Makefile.am | 5 -- mkinstalldirs | 162 ----------------------------------------------------- po/Makefile.in.in | 20 ++----- 3 files changed, 4 insertions(+), 183 deletions(-) commit d04ac162c10f3a855dbbaea6efe06de9d85aea02 Author: Colin Walters Date: Sat Oct 27 12:28:14 2012 -0400 README.in: Note undefined behavior with new g_type_init() -> ctor change https://bugzilla.gnome.org/show_bug.cgi?id=686822 README.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 8911cee350575f7c0b534d97fd10787181c0e542 Author: Rico Tzschichholz Date: Sat Oct 27 12:12:29 2012 +0200 gio/tests: Fix build with -Werror=format-security gio/tests/gdbus-peer-object-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fa523734c7c438944fc3b6f09a40b79d855475ee Author: Rico Tzschichholz Date: Sat Oct 27 12:10:44 2012 +0200 gio/tests: Fix linker failure Fixes 8c320d0c34ad5b3a31ac4f9024dba358a46ac725 gio/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit d68b4e1d02a06417bfe29494708a29a3d944cf41 Author: Stef Walter Date: Fri Oct 26 11:12:46 2012 +0200 gio: No need to specify SOURCES when name matches executable Removes some of the duplication from Makefile.am https://bugzilla.gnome.org/show_bug.cgi?id=686921 gio/tests/Makefile.am | 121 ------------------------------------------------- 1 file changed, 121 deletions(-) commit 8c320d0c34ad5b3a31ac4f9024dba358a46ac725 Author: Stef Walter Date: Fri Oct 26 10:42:17 2012 +0200 gio: Remove LDADD repetition from gio/tests Makefile Using a global LDADD for the basic libraries to link. https://bugzilla.gnome.org/show_bug.cgi?id=686921 gio/tests/Makefile.am | 122 +++++++------------------------------------------ 1 file changed, 16 insertions(+), 106 deletions(-) commit fb2d3aacb5998397586ce4523f987dff60a9ca85 Author: Stef Walter Date: Fri Oct 26 10:30:29 2012 +0200 gdbus: Allow GDBusObjectManagerClient to work on peer connections Allow GDBusObjectManagerClient to work on peer to peer DBus connections. Don't require that a unique bus name is available for the object manager, if the owned bus name is NULL. https://bugzilla.gnome.org/show_bug.cgi?id=686920 gio/gdbusobjectmanagerclient.c | 70 ++++--- gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 3 + gio/tests/gdbus-peer-object-manager.c | 364 +++++++++++++++++++++++++++++++++ 4 files changed, 406 insertions(+), 32 deletions(-) commit 7db2ac7b88a4d2211894153212e92ea9db5cacbb Author: Matthew Barnes Date: Fri Oct 26 13:20:29 2012 -0400 Fix typo in G_TEST_DBUS. gio/gtestdbus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d681b581ff059fdf258b6f91b62cf1e474f2cc71 Author: Cosimo Cecchi Date: Mon Apr 30 22:39:57 2012 -0400 file-info: catch thumbnail files in large directory as well When building the file attribute table info for local files, use thumbnail paths in $XDG_CACHE_DIR/thumbnails/large in addition to $XDG_CACHE_DIR/thumbnails/normal. Failing to do this would cause an application that creates large thumbnails by default to never find any value for G_FILE_ATTRIBUTE_THUMBNAIL_PATH, with no G_FILE_ATTRIBUTE_THUMBNAILING_FAILED set, which might cause the application to either think thumbnailing is still in progress, or blindly requeue thumbnail operations in a loop. Large thumbnails are generally preferred, so we now default to the path of a large thumbnail (in case both are present). https://bugzilla.gnome.org/show_bug.cgi?id=686895 gio/glocalfileinfo.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) commit 36bf25371ce77d8cea4336f52e7db09e05f23ca5 Author: Colin Walters Date: Thu Oct 25 18:21:59 2012 -0400 g_unix_signal_source_new: Allow SIGUSR1 and SIGUSR2 These are user defined, it makes sense to allow watching them. This is needed to port gnome-session and gdm over. https://bugzilla.gnome.org/show_bug.cgi?id=686898 glib/glib-unix.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 1775c46e7a3c45da936bbff97fa241e196910964 Author: Martin Pitt Date: Thu Oct 25 14:55:30 2012 +0200 GIOChannel: Add missing annotations The various read and write methods have several out arguments which were not previously marked as such. Also, as GIOChannel supports binary data with a NULL encoding, the buffers need to be uint8 arrays instead of utf8 strings. glib/giochannel.c | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) commit a5c5730085cf7739215af1624ebdf403b5c11232 Author: Martin Pitt Date: Thu Oct 25 11:27:39 2012 +0200 Revert "Box GPollFD to make it introspectable" This reverts commit 932f4250b88a50059330a9df8224feeab6b0ffd7. This got pushed accidentally and has not been accepted yet. It's also not clear whether we want this in the first place. https://bugzilla.gnome.org/show_bug.cgi?id=686797 docs/reference/gobject/gobject-sections.txt | 2 -- gobject/gboxed.c | 10 ---------- gobject/glib-types.h | 11 ----------- gobject/gobject.symbols | 1 - 4 files changed, 24 deletions(-) commit 932f4250b88a50059330a9df8224feeab6b0ffd7 Author: Martin Pitt Date: Wed Oct 24 16:30:37 2012 +0200 Box GPollFD to make it introspectable https://bugzilla.gnome.org/show_bug.cgi?id=686797 docs/reference/gobject/gobject-sections.txt | 2 ++ gobject/gboxed.c | 10 ++++++++++ gobject/glib-types.h | 11 +++++++++++ gobject/gobject.symbols | 1 + 4 files changed, 24 insertions(+) commit c3f52eae0e283f82a51d84ef3252dd10e36a0657 Author: Martin Pitt Date: Thu Oct 25 07:51:40 2012 +0200 GIOChannel: Add missing (allow-none) annotations g_io_channel_set_line_term() and g_io_channel_set_encoding() can get NULL arguments, mark them as such. glib/giochannel.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 4fb2d737ac69b60d9aef4f06884bb6a69752c607 Author: Colin Walters Date: Tue Oct 23 16:11:33 2012 +0200 gvariant: Make g_variant_new_from_bytes() public Now that GBytes has been made public, we should make g_variant_new_from_bytes() public too. Add g_variant_get_data_as_bytes() to match. https://bugzilla.gnome.org/show_bug.cgi?id=677062 docs/reference/glib/glib-sections.txt | 2 ++ glib/glib.symbols | 2 ++ glib/gvariant-core.c | 31 +++++++++++++++++++++++++++++-- glib/gvariant-core.h | 4 ---- glib/gvariant.h | 8 ++++++++ glib/tests/gvariant.c | 32 ++++++++++++++++++++++++++++++++ 6 files changed, 73 insertions(+), 6 deletions(-)