commit 60034eb0fb84e189807a9f43ca111dc656219aab Author: Matthias Clasen Date: Mon Dec 17 14:39:24 2012 -0500 2.35.3 NEWS | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- README.in | 6 ++++++ 2 files changed, 66 insertions(+), 5 deletions(-) commit b055c828152b01d4e00182b24dc841136f50b4e1 Author: Christophe Fergeau Date: Mon Dec 17 14:58:04 2012 +0100 Fix g_type_add_class_private() name in g_warning When g_type_class_get_private is called without calling g_type_add_class_private first, a g_warning is issued, but the name of the function to call is wrong: g_type_class_add_class_private. https://bugzilla.gnome.org/show_bug.cgi?id=690348 gobject/gtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df334d6e00917d2ba8d8e722f9192da65c09827e Author: Dan Winship Date: Wed Dec 12 16:39:02 2012 +0100 gsocket: improve sockopt handling for IPv4-wrapped-IPv6 sockets On IPv6 sockets, set both the IPv4 and IPv6 versions of IP socket options, in case the socket is (or might become) IPv4-wrapped. (But ignore errors when setting the IPv4 version.) Similarly, when joining or leaving a multicast group, pick the sockopt to use based on the address family of the multicast address rather than the address family of the socket. https://bugzilla.gnome.org/show_bug.cgi?id=687092 gio/gsocket.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 72d7d23402ff33c1bb92069829749dba0c509328 Author: PHO Date: Mon Dec 17 22:26:38 2012 +0900 Remove an unneeded escaping in NAMESER_COMPAT_INCLUDE In configure.ac, escaping '#' in NAMESER_COMPAT_INCLUDE results in the following gio/gnetworking.h, which obviously doesn't compile: #include #include \#include https://bugzilla.gnome.org/show_bug.cgi?id=690346 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0eb28063a837b25a1ef388410fa656472f1d687d Author: Daniel Mustieles Date: Sun Dec 16 20:47:11 2012 +0100 Updated Spanish translation po/es.po | 384 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 191 insertions(+), 193 deletions(-) commit bb4ced01f69aa4e1e9f49452d0fb37ab9236efc1 Author: Piotr Drąg Date: Sun Dec 16 03:44:09 2012 +0100 Updated Polish translation po/pl.po | 1034 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 515 insertions(+), 519 deletions(-) commit 14ee3bc44849ebec5c87f40ef8d6431e0ddf7733 Author: Fran Diéguez Date: Sat Dec 15 00:41:54 2012 +0100 Updated Galician translations po/gl.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b0efb4523455abe6deb0ec6fb05b8baca0b6a56a Author: Fran Diéguez Date: Sat Dec 15 00:40:16 2012 +0100 Updated Galician translations po/gl.po | 921 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 464 insertions(+), 457 deletions(-) commit 0b2919a93a8deba7d233ccad6222e9eb92d7ccf5 Author: Chun-wei Fan Date: Sat Dec 15 00:28:30 2012 +0800 Update Visual C++ property sheets The last commit (Add a preconfigured gio/gnetworking.h for Windows) has to be split into two as git am does not like a patch that deals with files that have different line feeds. This updates the property sheets to use the pre-configured gio/gnetworking.h during the build process. https://bugzilla.gnome.org/show_bug.cgi?id=690163 build/win32/vs10/glib.props | 6 +++--- build/win32/vs9/glib.vsprops | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 4b859e4e7a23e4aaa325770e891b6a73d44cc9fc Author: Chun-wei Fan Date: Thu Dec 13 23:45:04 2012 +0800 Add a preconfigured gio/gnetworking.h for Windows Since Windows builds by Visual C++ do not make use of autotools during its build process, we need to dist a pre-configured gio/gnetworking.h(.win32) for such builds. The vs9/vs10 (and therefore vs11) property sheets are updated as well https://bugzilla.gnome.org/show_bug.cgi?id=690163 gio/Makefile.am | 1 + gio/gnetworking.h.win32 | 82 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) commit cc3171f6802c909097f9633f3bde7705d39efaa9 Author: Tomas Bzatek Date: Fri Dec 14 16:54:09 2012 +0100 docs: Fix return value of g_file_set_attributes_from_info() GIO API usually returns FALSE and sets GError when something went wrong and it was also the case of this method, just being badly documented. gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3c87ab97ffd8735bff78c177e163826484776cd2 Author: Jasper St. Pierre Date: Wed Dec 12 04:49:28 2012 -0500 gfileenumerator: Add a g_file_enumerator_get_child method This is a new convenience method designed to simplify some use cases of GFileEnumerator, by making it easy to get the next file from a file enumerator. https://bugzilla.gnome.org/show_bug.cgi?id=690083 docs/reference/gio/gio-sections.txt | 1 + gio/gfileenumerator.c | 31 +++++++++++++++++++++++++++++++ gio/gfileenumerator.h | 3 +++ gio/gio.symbols | 1 + gio/tests/live-g-file.c | 4 ++-- 5 files changed, 38 insertions(+), 2 deletions(-) commit 6cce4790b7639656c7701a4ed8495ba50abd7c6e Author: Piotr Drąg Date: Wed Dec 12 22:21:17 2012 +0100 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 211ed1775dfc514077984d0fea5d2529dcc5036e Author: Dan Winship Date: Mon Feb 13 21:12:34 2012 -0500 gsocket: add getsockopt/setsockopt wrappers Add g_socket_get_option() and g_socket_set_option(), wrapping getsockopt/setsockopt for the case of integer-valued options. Update code to use these instead of the underlying calls. https://bugzilla.gnome.org/show_bug.cgi?id=623187 configure.ac | 38 ++-- docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gnetworkmonitornetlink.c | 21 +-- gio/gsocket.c | 356 ++++++++++++++++++++++-------------- gio/gsocket.h | 13 ++ gio/gunixconnection.c | 64 +++---- 7 files changed, 288 insertions(+), 208 deletions(-) commit b377e69685c99150cf7661e1aa77d60934e00521 Author: Dan Winship Date: Thu Nov 11 09:57:25 2010 -0500 Add gnetworking.h Install a public "gnetworking.h" header that can be used to include the relevant OS-dependent networking headers. This does not really abstract away unix-vs-windows however; error codes, in particular, are incompatible. gnetworkingprivate.h now contains just a few internal URI-related functions Also add a g_networking_init() function to gnetworking.h, which can be used to explicitly initialize OS-level networking, rather than having that happen as a side-effect of registering GInetAddress. https://bugzilla.gnome.org/show_bug.cgi?id=623187 configure.ac | 20 ++++++++- docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 6 +++ gio/.gitignore | 1 + gio/Makefile.am | 3 ++ gio/gcredentials.c | 13 +----- gio/gdbusauth.c | 3 +- gio/ginetaddress.c | 22 +++------- gio/gio.symbols | 1 + gio/gnetworking.c | 79 +++++++++++++++++++++++++++++++++++ gio/gnetworking.h.in | 83 +++++++++++++++++++++++++++++++++++++ gio/gnetworkingprivate.h | 55 +----------------------- gio/gresolver.c | 6 +-- gio/gsocket.c | 8 ++-- gio/gunixconnection.c | 8 +--- gio/gunixcredentialsmessage.c | 16 ++----- gio/gunixfdlist.c | 3 +- gio/gunixfdmessage.c | 3 +- gio/gunixsocketaddress.c | 2 +- gio/tests/gdbus-peer.c | 2 +- gio/tests/socket.c | 3 +- gio/tests/unix-fd.c | 2 +- 22 files changed, 220 insertions(+), 120 deletions(-) commit 9e90575502e663e5adde201f214c811df08bdf29 Author: Dan Winship Date: Thu Dec 29 11:25:07 2011 -0500 gio: move resolver utils from gresolver.c to gthreadedresolver.c Since there is only one resolver implementation now, we can move the resolver utility functions from gresolver.c into gthreadedresolver.c, and remove the prototypes from gnetworkingprivate.h. https://bugzilla.gnome.org/show_bug.cgi?id=623187 gio/gnetworkingprivate.h | 34 --- gio/gresolver.c | 555 ----------------------------------------------- gio/gthreadedresolver.c | 499 +++++++++++++++++++++++++++++++++++++++--- 3 files changed, 474 insertions(+), 614 deletions(-) commit c70072180557c0a897da0d96ef2cf4f5398ddd3b Author: Colin Walters Date: Tue Dec 11 16:53:48 2012 -0500 g_unix_open_pipe: Add missing F_SETFD Spotted by Ray Strode While we're here, microoptimize by skipping the fcntl() calls if flags is 0. https://bugzilla.gnome.org/show_bug.cgi?id=690069 glib/glib-unix.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 5baa26be724db9e8bb16e52568a0caca31a0b74b Author: Colin Walters Date: Mon Dec 10 20:30:44 2012 -0500 gobject.symbols: Update for g_checksum_get_type() See previous commit. gobject/gobject.symbols | 1 + 1 file changed, 1 insertion(+) commit bf1e63c2aaa0ff3dad75a006576ba8b5daac6559 Author: Colin Walters Date: Mon Dec 10 10:50:30 2012 -0500 Make GChecksum more fully introspectable In 2.34, g_compute_checksum_for_bytes() was added, but this patch allows binding users to use the incremental update API; this is significantly more efficient than reading entire files into memory. https://bugzilla.gnome.org/show_bug.cgi?id=689982 glib/gchecksum.c | 8 ++++---- gobject/gboxed.c | 1 + gobject/glib-types.h | 11 +++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) commit afdb2abb13896a3d5caecabd2f7158e8047f9956 Author: Dan Winship Date: Wed Nov 7 10:36:05 2012 -0500 gio: Don't leak the temp file when g_file_replace() fails or is cancelled If the temp file still exists at the end of the close operation, unlink it. https://bugzilla.gnome.org/show_bug.cgi?id=629301 gio/glocalfileoutputstream.c | 5 ++ gio/tests/file.c | 136 ++++++++++++++++++++++++++++++++++--------- 2 files changed, 113 insertions(+), 28 deletions(-) commit e218b96a6bf687842834fbfe133e77495049f251 Author: Alexander Larsson Date: Fri Dec 7 17:34:52 2012 +0100 Add g_type_get_type_registration_serial() This lets you cache type lookup information and then know when the cache information is out of date. In particular, we want this in order to be able to cache g_type_from_name() lookups in the Gtk+ theme machinery. https://bugzilla.gnome.org/show_bug.cgi?id=689847 docs/reference/gobject/gobject-sections.txt | 1 + gobject/gobject.symbols | 1 + gobject/gtype.c | 23 +++++++++++++++++++++++ gobject/gtype.h | 3 +++ 4 files changed, 28 insertions(+) commit d77948eadf39ff4fdc001f679c7628e84e3af461 Author: David Zeuthen Date: Thu Dec 6 16:21:58 2012 -0500 fileinfo: mark lost+found/ root directory as hidden This was reported in bug 689800. https://bugzilla.gnome.org/show_bug.cgi?id=689800 Signed-off-by: David Zeuthen gio/glocalfile.c | 40 ++++++++++++++++++++++++++++++++++++++++ gio/glocalfileinfo.c | 5 +++++ gio/glocalfileinfo.h | 4 ++++ 3 files changed, 49 insertions(+) commit 510ba9b4efe1813e24c6dfa7405c3547bf9efdd7 Author: Timothy Arceri Date: Thu Nov 29 10:50:55 2012 +1100 Support for .hidden files https://bugzilla.gnome.org/show_bug.cgi?id=587806 gio/glocalfileinfo.c | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 115 insertions(+), 1 deletion(-) commit 6869454103471d383216dc39db09279d61aa2bba Author: Ryan Lortie Date: Thu Dec 6 13:56:39 2012 -0500 add two missing version macros gio/gsimpleactiongroup.h | 1 + glib/deprecated/gthread.h | 1 + 2 files changed, 2 insertions(+) commit 7c9884476085ceb3fc91cd2eb0374543e79a6e56 Author: Ryan Lortie Date: Thu Dec 6 13:29:31 2012 -0500 various: add missing cases of #include "config.h" gio/gapplicationimpl-dbus.c | 2 ++ gio/gdbusmenumodel.c | 2 ++ gio/gioenumtypes.c.template | 2 ++ gio/gmenuexporter.c | 2 ++ gio/gmenumodel.c | 2 ++ gio/gnextstepsettingsbackend.c | 2 ++ gio/gsimpleactiongroup.c | 2 ++ glib/glib-private.c | 2 ++ glib/gtimezone.c | 2 ++ glib/gvariant-core.c | 2 ++ 10 files changed, 20 insertions(+) commit 7523c04b54485f3343a3fb55ada4a8f3d8290860 Author: Ryan Lortie Date: Sun Dec 2 12:07:24 2012 -0500 g_get_home_dir(): honour $HOME If the $HOME environment variable is set, prefer that to the entry in /etc/passwd. This brings us in line with almost every other utility and library on UNIX-like systems while avoiding some of the more complicated possibilities that have been suggested. This incompatible change has been petitioned for quite some time by many, and in particular from the Debian world, which carries a patch that adds a new G_HOME environment variable with the same meaning as this patch now assigns to HOME. The primary motivation for the change was to increase the testability of GLib-based programs from 'make check' types of frameworks: it is now possible to set HOME to a temp directory to avoid the testsuite modifying the user's real home directory. The change also brings us increased compliance with the XDG Base Directory Specification. The specification specifically states that the default values should be computed based on the HOME environment variable, whereas we were basing them on the value from /etc/passwd. The change was agreed to by all in attendence at the November 29 Gtk+ developer meeting. https://bugzilla.gnome.org/show_bug.cgi?id=142568 NEWS | 9 ++++++++ glib/gutils.c | 74 +++++++++++++++++++++++++++++------------------------------ 2 files changed, 46 insertions(+), 37 deletions(-) commit 28f88cf111eb0c8ac109d8a99560c39eaa71ce01 Author: Daniel Mustieles Date: Wed Dec 5 20:08:15 2012 +0100 Updated Spanish translation po/es.po | 290 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 147 insertions(+), 143 deletions(-) commit 1e74e46a00bc4495f620b3c0e639f6c05d7d2389 Author: Colin Walters Date: Fri Nov 30 15:18:01 2012 -0500 gdbusobjectskeleton: Fix compiler warnings The G_OBJECT_WARN_INVALID_PROPERTY_ID() macro uses a local variable named "_object"; work around this by using "object" as the variable we pass in. https://bugzilla.gnome.org/show_bug.cgi?id=689377 gio/gdbusobjectskeleton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 33de093b5abf26c42e9b6ead38088afd21e61991 Author: Colin Walters Date: Fri Nov 30 15:22:54 2012 -0500 gobject: Use local variable names in macros less likely to clash At least GDBus had code that had "_object" as a parameter to one of its functions, but this clashes with the GObject macro G_OBJECT_WARN_INVALID_PROPERTY_ID() which created a local "_object". Since many of us cargo cult around copies of objects, let's be defensive here and use local variable names less likely to clash with application code. https://bugzilla.gnome.org/show_bug.cgi?id=689377 gobject/gobject.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit e97a2f4195fb5bd8d7777651232dc10487a1ed92 Author: Dan Winship Date: Thu Nov 15 22:26:54 2012 -0500 win32: suppress fatal error dialog box when running tests When running a test program (ie, if g_test_init() has been called), don't pop up a dialog box when a fatal error occurs. Just print the message to stderr and exit. https://bugzilla.gnome.org/show_bug.cgi?id=679683 docs/reference/glib/glib-sections.txt | 1 + glib/gmessages.c | 14 +++++++++----- glib/gtestutils.c | 10 ++++++++++ glib/gtestutils.h | 1 + 4 files changed, 21 insertions(+), 5 deletions(-) commit ac025007cc571cd767fac8cbd6f937d01773ce28 Author: Aleksander Morgado Date: Mon Dec 3 15:59:06 2012 +0100 gsocketlistener: set source object tag before completing the GTask Otherwise, the finish() method won't find the source object. https://bugzilla.gnome.org/show_bug.cgi?id=689538 gio/gsocketlistener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 80c24d36f2525d83e458ebbdf62fdbd085945a02 Author: Kalev Lember Date: Sun Dec 2 15:34:37 2012 +0100 win32: Fix GDBusDaemon build when glib is built as a static lib This makes sure not to ifdef _g_io_win32_get_module() out when glib is built as a static lib, and also fixes it to work when DllMain isn't available. The implementation uses GetModuleHandleEx() which is only available on Windows XP and later, so this commit effectively drops the Windows 2000 support in glib. Earlier commit 731b4699 already took care of defining _WIN32_WINNT to support the Windows XP API. https://bugzilla.gnome.org/show_bug.cgi?id=675516 gio/giomodule.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 4a506290a701a890b4609ac979f8e1d11935a39e Author: Arnel A. Borja Date: Fri Sep 14 08:58:04 2012 +0800 win32: Use AC_CHECK_TOOL to find dlltool https://bugzilla.gnome.org/show_bug.cgi?id=684145 configure.ac | 1 + tests/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit e261b9c0308495ef03a5171fec734323748b599d Author: Evan Nemerson Date: Thu Nov 15 11:52:28 2012 -0800 gtask: annotate source_object arguments and return values as GObject https://bugzilla.gnome.org/show_bug.cgi?id=688419 gio/gtask.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit fe0b77fea8c9e5e5d1dd1cada4c18f17b6c9085a Author: Mike Gorse Date: Thu Nov 29 16:51:59 2012 -0600 Optimize reading strings when deserializing gdbus messages Now that we're directly accessing the memory holding a message blob, we can access strings directly while reading them. This speeds up read_string significantly, since we no longer malloc/memcpy/free. gio/gdbusmessage.c | 96 +++++++++++++++--------------------------------------- 1 file changed, 26 insertions(+), 70 deletions(-) commit a5f57bad20754b337357e1fba099773b34ed841d Author: Matthias Clasen Date: Fri Nov 30 09:03:20 2012 -0500 g_file_enumerate_children: Fix reference to wrong error code This function does in fact return G_IO_ERROR_NOT_DIRETORY, and not G_FILE_ERROR_NOTDIR. gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 30cff2a8e07a818a2bd8800549b264b6dec73b89 Author: Nilamdyuti Goswami Date: Fri Nov 30 17:23:29 2012 +0530 Assamese translation updated po/as.po | 176 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 87 insertions(+), 89 deletions(-) commit d64691c1fdd0fcf39e106507d30fb69aa672df04 Author: Yaron Shahrabani Date: Fri Nov 30 11:01:53 2012 +0200 Updated Hebrew translation. po/he.po | 161 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 81 insertions(+), 80 deletions(-) commit e2241c62eebbab6a169fe7ceb4413e8cc778bed7 Author: Yaron Shahrabani Date: Fri Nov 23 10:11:32 2012 +0200 Updated Hebrew translation. po/he.po | 1019 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 514 insertions(+), 505 deletions(-) commit 936254c386b57ee61ccbba3fac659fc631a9cc9a Author: Alexander Larsson Date: Fri Nov 30 09:39:13 2012 +0100 Don't look for icons called "(null)" if no xdg mime icon gio/gcontenttype.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit edf94ba2631b8c4d32e798eaec69ceb89d6b32a8 Author: Emilio Pozuelo Monfort Date: Thu Nov 29 17:48:35 2012 +0100 Fix race condition in gapplication/basic test The three processes this test creates need to be executed in order, and g_usleep was used to guarantee that. However, under heavy load, that is not enough. Instead, wait until the children start by making sure they have written to stdout before proceeding any further. https://bugzilla.gnome.org/show_bug.cgi?id=664627 gio/tests/gapplication.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 3e5214c15c2a19b64d74e7142b6cd0d520dddf04 Author: Mike Gorse Date: Wed Oct 31 19:44:03 2012 -0500 Use a simple struct when reading and writing gdbus messages GData*Streams incur significant overhead, and we do not need all of the functionality that they provide, since we only ever read from/write to memory when handling message blobs, so it is more performant to use a simple structure. https://bugzilla.gnome.org/show_bug.cgi?id=652650 gio/gdbusmessage.c | 818 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 600 insertions(+), 218 deletions(-) commit ccd1fb682050f4ccd9e0b5d1024d02199b7c862b Author: Juan Pablo Ugarte Date: Thu Nov 29 16:12:25 2012 -0300 Added G_IO_ERROR_BROKEN_PIPE gio/gioenums.h | 4 +++- gio/gioerror.c | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) commit 52c608dd0d2f8a2818c6b1fc36040eeed8f301ab Author: Ryan Lortie Date: Thu Nov 29 09:03:32 2012 -0500 gio: GLIB_AVAILABLE_IN to more APIs Useful on its own, but also for a future patch for symbol visibility. https://bugzilla.gnome.org/show_bug.cgi?id=688681 gio/gactionmap.h | 4 ++++ gio/gapplication.h | 1 + gio/gcontenttype.h | 1 + gio/gdesktopappinfo.h | 6 ++++++ gio/ginetaddressmask.h | 6 ++++++ gio/giomodule.h | 5 +++++ gio/gmenu.h | 27 +++++++++++++++++++++++++++ gio/gmenumodel.h | 19 +++++++++++++++++++ gio/gresource.h | 2 ++ gio/gsettingsschema.h | 4 ++++ gio/gsimpleaction.h | 1 + 11 files changed, 76 insertions(+) commit ce586ba991967b1a663a9082312a45725da6fe5b Author: Kalev Lember Date: Wed Nov 28 23:25:52 2012 +0100 Unconditionally use g_content_type_get_symbolic_icon() ... and g_content_type_get_generic_icon_name(). The new functions are implemented for Win32 since commit dace477c, so we no longer need to guard them with G_OS_UNIX. gio/gio.symbols | 2 -- gio/glocalfileinfo.c | 2 -- 2 files changed, 4 deletions(-) commit c9affa778e14e7dc44221fa678963e09df744f32 Author: Sebastian Dröge Date: Wed Nov 28 16:55:12 2012 +0100 Revert "Fix compilation on Android with the bionic C library" This reverts commit cb0ed84d4022e0fba6aaa9e99e258d8d507a90e5. It wasn't meant to be pushed yet. gio/glocalfileinfo.c | 2 - gio/gresolver.c | 137 ------------------------------------- gio/gthreadedresolver.c | 7 -- gio/tests/gtlsconsoleinteraction.c | 10 +-- glib/galloca.h | 4 +- glib/gstrfuncs.c | 14 ---- glib/gutils.c | 6 -- gmodule/gmodule-dl.c | 4 -- 8 files changed, 2 insertions(+), 182 deletions(-) commit 97385dbbe82a628a9997ed85e6c9f58dddf334d0 Author: Andoni Morales Alastruey Date: Wed Nov 28 16:34:18 2012 +0100 Fix duplicated case value for mingw runtimes defining EOVERLFOW as EFBIG glib/giochannel.c | 2 ++ 1 file changed, 2 insertions(+) commit cb0ed84d4022e0fba6aaa9e99e258d8d507a90e5 Author: Sebastian Dröge Date: Wed Nov 28 16:28:28 2012 +0100 Fix compilation on Android with the bionic C library gio/glocalfileinfo.c | 2 + gio/gresolver.c | 137 +++++++++++++++++++++++++++++++++++++ gio/gthreadedresolver.c | 7 ++ gio/tests/gtlsconsoleinteraction.c | 10 ++- glib/galloca.h | 4 +- glib/gstrfuncs.c | 14 ++++ glib/gutils.c | 6 ++ gmodule/gmodule-dl.c | 4 ++ 8 files changed, 182 insertions(+), 2 deletions(-) commit 058fa6393e368a2134f18df3296c09eb33d8e951 Author: Sebastian Dröge Date: Wed Nov 28 16:25:43 2012 +0100 Protect against strcmp() on NULL strings glib/ggettext.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit fca30c3e165df732360e26c685496729dbcfe8b9 Author: Martin Pitt Date: Wed Nov 28 12:09:17 2012 +0100 g_unix_signal_add_full(): Annotate to shadow g_unix_signal_add() Just like g_timeout_add() and friends, we want to hide the unintrospectable g_unix_signal_add() from GI bindings and present g_unix_signal_add_full() as GLib.unix_signal_add() to them. glib/glib-unix.c | 1 + 1 file changed, 1 insertion(+) commit 2b6be7544c5f5a8937f9e62eb796d0489cb46a67 Author: Matthias Clasen Date: Wed Nov 28 00:04:45 2012 -0500 Add new api to the docs docs/reference/gio/gio-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 65740f62bfa41836a738267d09fc676744af8edc Author: Matthias Clasen Date: Wed Nov 28 00:01:11 2012 -0500 Fix suprisingly hard-to-spot typo gio/gfileinfo.c | 2 +- gio/gfileinfo.h | 2 +- gio/gio.symbols | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit ed5c17e11f3b37b0725e1ca2f62511338fa23f1b Author: Colin Walters Date: Thu Nov 22 08:23:27 2012 -0500 GMemoryOutputStream: Add new _resizable() constructor usable from bindings Really, the memory output stream API is too warped around the model where it's a fixed size buffer that you've already allocated. Even in C, I find myself always wanting to use it to just accumulate data into an arbitrary-sized buffer it allocates. Unfortunately, it's also not usable from bindings because it's not common to bind g_free() and g_realloc(), but if you just pass NULL, you get the default of a fixed size, which is useless as per above. I am going to use this from a gjs test case, and the GSubprocess test cases also will use it. https://bugzilla.gnome.org/show_bug.cgi?id=688931 docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gmemoryoutputstream.c | 14 ++++++++++++++ gio/gmemoryoutputstream.h | 2 ++ gio/tests/memory-output-stream.c | 4 ++-- 5 files changed, 20 insertions(+), 2 deletions(-) commit 7a5dd54f472790c7ba366d267c637eb203797c14 Author: Bastien Nocera Date: Tue Nov 27 17:23:08 2012 +0100 fileinfo: Add missing AVAILABLE macro As forgotten in previous patch. gio/gfileinfo.h | 1 + 1 file changed, 1 insertion(+) commit f635f1fd16d72ba4dc1fe2f1dc1413c773595393 Author: Bastien Nocera Date: Tue Nov 27 16:59:28 2012 +0100 fileinfo: Add _get_deletion_date() helper For use in gnome-settings-daemon, so that callers don't have to parse the deletion date by hand. gio/gfileinfo.c | 36 ++++++++++++++++++++++++++++++++++++ gio/gfileinfo.h | 1 + gio/gio.symbols | 1 + 3 files changed, 38 insertions(+) commit 3baf256a2c55ffcf2664e72a39821fddb59370e1 Author: Ryan Lortie Date: Sun Nov 25 14:25:59 2012 -0500 gio: New API for GFile from remote commandline arg Add a pair of new APIs: one to GFile to create a new file from a commandline arg relative to a given cwd and one to GApplicationCommandLine to create a GFile from an arg, relative to the cwd of the invoking commandline. https://bugzilla.gnome.org/show_bug.cgi?id=689037 docs/reference/gio/gio-sections.txt | 2 + gio/gapplicationcommandline.c | 32 ++++++++++++++++ gio/gapplicationcommandline.h | 4 ++ gio/gfile.c | 76 +++++++++++++++++++++++++++++-------- gio/gfile.h | 3 ++ gio/gio.symbols | 2 + 6 files changed, 103 insertions(+), 16 deletions(-) commit 4e7161ce20364a61db1b6188654c19d9ff83b9d9 Author: ManojKumar Giri Date: Tue Nov 27 19:21:43 2012 +0530 Updated Odia Translation with FUEL implementation. po/or.po | 325 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 190 insertions(+), 135 deletions(-) commit b55e1820a9faff5557d99f78bd0a205659afc60d Author: Dan Winship Date: Sat Nov 24 15:47:45 2012 -0500 g_test_expect_message: fix pattern syntax in example code glib/gmessages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 37f369a41eebcebe331f614b12c07cb954f3144c Author: Ryan Lortie Date: Sun Nov 25 14:47:53 2012 -0500 stop using libgthread internally The gobject tools (glib-genmarshal and gobject-query) were linking against libgthread. Stop that. Also, remove the gthread_INCLUDES internal automake substitution. configure.ac | 9 ++------- gobject/Makefile.am | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) commit 1f005d93853f882cfeac3805644286e4d8a99124 Author: John Ralls Date: Sun Nov 25 16:35:08 2012 +0900 Bug 681685: Transcoding fails on OSX Add aliases for codesets supported by iconv and included in locales. Ifdef-out tests in glib/tests/gdatetime.c which fail because on OSX only ASCII numbers or symbols are returned for the format. Even though nl_langinfo does weird things on Darwin in some cases, it still acts correctly when LANG/LC_ALL is set to a supported locale.codeset. glib/libcharset/config.charset | 32 ++++++++++++++++++++++++++++++++ glib/tests/gdatetime.c | 8 ++++++++ 2 files changed, 40 insertions(+) commit ee8080cc0bda9141e323c01b12e812b1ab748e18 Author: Paolo Borelli Date: Sat Nov 24 19:12:13 2012 +0100 Add GApplication local_command_line test Assert that startup and shutdown are not called if we return TRUE from local_command_line gio/tests/gapplication.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) commit 543bbd8752cf6370897c711afed3caa0663a4850 Author: Ryan Lortie Date: Sat Nov 24 13:20:29 2012 -0500 GApplication: don't shutdown() on failure to start If we fail to start (and don't register() or call startup()) then also don't call shutdown(). This happens in the case of failing to parse commandline arguments, for example. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be008ea6e2fd4d6fa38d00b16365b20e7fc2f876 Author: Ryan Lortie Date: Sat Nov 24 11:23:22 2012 -0500 gdatetime: Fix some docs sed damage glib/gdatetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit afc2294fa84992784945842048a3e8799d73f1a8 Author: Rajesh Ranjan Date: Fri Nov 23 14:22:25 2012 +0530 hindi translation update po/hi.po | 873 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 451 insertions(+), 422 deletions(-) commit 7ed88ac25cbd93e5e15047a42570e1bb3003458d Author: Rajesh Ranjan Date: Fri Nov 23 14:04:34 2012 +0530 hindi translation update po/hi.po | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit 6290d5218100bd12d4cf3fdc4087ba0fbb0afa94 Author: Rajesh Ranjan Date: Fri Nov 23 14:02:05 2012 +0530 hindi translation update po/hi.po | 876 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 424 insertions(+), 452 deletions(-) commit 2b7c2107a5478660630666e57d53251c7602135a Author: Sébastien Wilmet Date: Thu Nov 22 19:41:19 2012 +0100 Improve i18n documentation Clearly explain which gettext functions must be called. It depends whether the program is an application or a library. https://bugzilla.gnome.org/show_bug.cgi?id=688886 glib/ggettext.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 276cf6ceeea9489ef1ed23788c3c42dee5fcd72d Author: Krzesimir Nowak Date: Thu Nov 22 16:56:52 2012 +0100 configure: Make GNUC visibility attribute test more reliable. Using "int main (int argc, char** argv)" in this test causes GCC to issue two warnings about unused variable if CFLAGS envvar has -Wunused-parameter (or just -Wextra). Those warnings are not related to the attribute checking but they can make the test fail anyway. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 73d230bc2500a17f9d7eb605c8c86fad3a878014 Author: Nilamdyuti Goswami Date: Thu Nov 22 21:59:15 2012 +0530 Assamese translation updated po/as.po | 1017 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 548 insertions(+), 469 deletions(-) commit 7944195b7acadc6061c1e4fac0aad3be11a5bb16 Author: ManojKumar Giri Date: Thu Nov 22 20:20:05 2012 +0530 Updated Odia Translation with FUEL implementation. po/or.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5089ebefe97447c9cf1dbc6779de24568cd624d2 Author: ManojKumar Giri Date: Thu Nov 22 20:18:15 2012 +0530 Updated Odia Translation with FUEL implementation. po/or.po | 1897 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1072 insertions(+), 825 deletions(-) commit 5ff99924d89896541212c93b0ac80229e7fc6a20 Author: Will Thompson Date: Wed Nov 14 14:59:42 2012 +0000 gthread: add AVAILABLE_IN_2_32 annotations https://bugzilla.gnome.org/show_bug.cgi?id=688319 glib/gthread.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 4ffa4724383cbb93c4c2fd0fb8d46027a54acde0 Author: Matthias Clasen Date: Wed Nov 21 17:39:19 2012 -0500 Add a test for the GAppLaunchContext::launched signal gio/tests/appinfo.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) commit bace1822d792cd8767156508834237d550888177 Author: Matthias Clasen Date: Fri Nov 16 18:24:21 2012 -0500 GAppLaunchContext: make it possible ot get the effective startup id gnome-session needs to know the startup id that was given to a started app; this was not available via GAppLaunchContext. This commit adds a ::launched signal to get this information. At the same time, turn the launch_failed vfunc into a signal as well. https://bugzilla.gnome.org/show_bug.cgi?id=688497 gio/gappinfo.c | 55 +++++++++++++++++++++++++++++++++++++++++++++------ gio/gappinfo.h | 4 +++- gio/gdesktopappinfo.c | 14 +++++++++++++ 3 files changed, 66 insertions(+), 7 deletions(-) commit 7b0c93554be9db2db2cba2cd59bcbebad5077d47 Author: Matthias Clasen Date: Wed Nov 21 21:14:26 2012 -0500 Add new api to exported symbols gio/gio.symbols | 3 +++ 1 file changed, 3 insertions(+) commit 419a1e404007ac7d63788e700ed30b54a5efa711 Author: Matthias Clasen Date: Wed Nov 21 21:13:40 2012 -0500 Add new API to the docs docs/reference/gio/gio-sections.txt | 3 +++ 1 file changed, 3 insertions(+) commit ace7b0fd86430774fc5de2eaee8d6b1b15930c59 Author: Matthias Clasen Date: Wed Nov 21 16:15:14 2012 -0500 Add a test for new GDesktopAppInfo getters gio/tests/desktop-app-info.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 4adbc7aa42d75c072cf6946240a82f56247416f6 Author: Matthias Clasen Date: Fri Nov 16 18:22:45 2012 -0500 GDesktopAppInfo: add enough api to make autostart implementable gnome-session still uses EggDesktopFile, since GDesktopAppInfo is missing a handful of APIs that are needed to implement the autostart spec. This patch adds the minimum that is required. https://bugzilla.gnome.org/show_bug.cgi?id=688497 gio/gdesktopappinfo.c | 103 ++++++++++++++++++++++++++++++++++++++++++++------ gio/gdesktopappinfo.h | 9 +++++ 2 files changed, 101 insertions(+), 11 deletions(-) commit 563ee093bccca5727908a7c20da2a42f59cb004b Author: Chun-wei Fan Date: Thu Nov 22 08:59:02 2012 +0800 build/win32/Makefile.am: Also go into the vs11 subdirectory build/win32/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 76cecf061b377d30e5422cdddb1fb9d19c52421d Author: Chun-wei Fan Date: Mon Nov 19 12:58:55 2012 +0800 Add autotools scripts to create VS2012 projects As the project file format for Visual Studio 2012 is only slightly different from Visual Studio 2010 projects, we can provide support for building GLib (and other projects) with Visual Studio 2012 with relatively little effort. This might change when we eventually get GLib to work with the Windows 8 (Modern UI/formerly Metro) APIs, but this will suffice for the time being for people needing to build GLib with Visual Studio 2012. Basically all that needs to be done at 'make dist' is: -Copy the .sln/.props/README.txt/.vcxproj files and replace the VS2010 stuff with VS2012 stuff -Copy the .vcxproj.filters as is build/Makefile-newvs.am | 32 ++++++++++++++++++++++++++++++++ build/win32/vs11/.gitignore | 30 ++++++++++++++++++++++++++++++ build/win32/vs11/Makefile.am | 36 ++++++++++++++++++++++++++++++++++++ configure.ac | 1 + 4 files changed, 99 insertions(+) commit 269f890474de12f31548ddb66ff9a856b18a9894 Author: Kjell Ahlstedt Date: Mon Nov 12 17:07:39 2012 +0100 GObject: Fix code snippet in description of floating reference. https://bugzilla.gnome.org/show_bug.cgi?id=688180 gobject/gobject.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5900d60d0640af59961e87f5315eb1d2f11fad9c Author: Olivier Blin Date: Wed Nov 14 19:08:10 2012 +0100 configure: add missing square bracket in AS_IF for memmove This has been broken in commit 54e31ab4f172bbb28434eafc34c9345a93c9ccf5 It seems to be the only hunk that was incorrectly converted. https://bugzilla.gnome.org/show_bug.cgi?id=688377 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e2046207a2fe1c013bbf348b87d54a1375dea7a Author: Eduardo Lima Mitev Date: Fri Nov 16 18:20:09 2012 +0100 gchecksum: Adds SHA512 support https://bugzilla.gnome.org/show_bug.cgi?id=602715 glib/gchecksum.c | 317 +++++++++++++++++++++++++++++++++++++++++++++++++- glib/gchecksum.h | 4 +- glib/tests/checksum.c | 192 ++++++++++++++++++++++++++++++ 3 files changed, 511 insertions(+), 2 deletions(-) commit 5c94a3e89cae9946bab07478c992172eda9c8ca9 Author: Daniel Mustieles Date: Tue Nov 20 15:50:54 2012 +0100 Updated Spanish translation po/es.po | 815 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 414 insertions(+), 401 deletions(-) commit 46a92a760b8fc83015ec5016cd0bc8b3ab343325 Author: Sebastian Dröge Date: Tue Nov 20 08:58:30 2012 +0100 Add boxed GType for GThread https://bugzilla.gnome.org/show_bug.cgi?id=688704 docs/reference/gobject/gobject-sections.txt | 1 + gobject/gboxed.c | 2 ++ gobject/glib-types.h | 11 +++++++++++ gobject/gobject.symbols | 1 + 4 files changed, 15 insertions(+) commit ca8062a389d88b879da1018c5d2f7429113b9e9e Author: Shankar Prasad Date: Tue Nov 20 11:42:27 2012 +0530 Updated Kannada Translations po/kn.po | 372 +++++++++++++++++++++++++++------------------------------------ 1 file changed, 157 insertions(+), 215 deletions(-) commit 51d083010286cb4bdc0d7b0b2323e25a94115087 Author: Debarshi Ray Date: Tue Nov 20 00:11:56 2012 +0100 file-info: Don't leak the filename if thumbnailing failed Fixes: https://bugzilla.gnome.org/686895 gio/glocalfileinfo.c | 1 + 1 file changed, 1 insertion(+) commit cdc95d31e61d6ff9425011af7904cb342e4a3a86 Author: Ryan Lortie Date: Mon Nov 19 18:20:41 2012 -0500 *bump* configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)