commit 76f77fe8c971acf087abf8b969800289717ee89a Author: Ryan Lortie AuthorDate: Mon Mar 16 14:25:53 2015 -0400 Commit: Ryan Lortie CommitDate: Mon Mar 16 14:25:53 2015 -0400 GLib 2.43.92 NEWS | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 58 insertions(+), 1 deletion(-) commit fdc7cd6dd371b1eb438c02ac910bb5a5283f91d3 Author: Stas Solovey AuthorDate: Mon Mar 16 10:01:52 2015 +0000 Commit: GNOME Translation Robot CommitDate: Mon Mar 16 10:01:52 2015 +0000 Updated Russian translation po/ru.po | 189 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 109 insertions(+), 80 deletions(-) commit e6de48e68053b92b88cb4f08d8b6b1072fb66b5a Author: Matej Urbančič AuthorDate: Sun Mar 15 14:31:13 2015 +0100 Commit: Matej Urbančič CommitDate: Sun Mar 15 14:31:13 2015 +0100 Updated Slovenian translation po/sl.po | 181 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 103 insertions(+), 78 deletions(-) commit e2d05dfe989f365495ec7b99089c7dcc507115fc Author: Claude Paroz AuthorDate: Sat Mar 14 09:34:57 2015 +0100 Commit: Claude Paroz CommitDate: Sat Mar 14 09:34:57 2015 +0100 Updated French translation po/fr.po | 170 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 98 insertions(+), 72 deletions(-) commit 7ed2928054f899f75e8debc095a498e4ca655f09 Author: A S Alam AuthorDate: Fri Mar 13 22:50:42 2015 -0500 Commit: A S Alam CommitDate: Fri Mar 13 22:50:42 2015 -0500 Translation pa updated for Gnome po/pa.po | 503 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 266 insertions(+), 237 deletions(-) commit 0de16c98f7606da0d6cb3700bb6eeac0e16ac4a4 Author: Ryan Lortie AuthorDate: Fri Mar 13 17:34:57 2015 -0400 Commit: Ryan Lortie CommitDate: Fri Mar 13 17:39:50 2015 -0400 ContextSpecificGroup: some fixups For all of the effort spent ensuring that this algorithm would be correctly threadsafe, I messed up the order of operations within a single thread when porting to the new approach. Fix that up. Also: fix some overzealous asserting in the testcases. Since shutdown is now lazy, we can never surely say !is_running at any particular point in time. gio/gcontextspecificgroup.c | 7 +++---- gio/tests/contexts.c | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) commit 7a3c8e900aed6d04647efb2a32d2565558e04d19 Author: Samir Ribic AuthorDate: Fri Mar 13 20:57:49 2015 +0000 Commit: GNOME Translation Robot CommitDate: Fri Mar 13 20:57:49 2015 +0000 Updated Bosnian translation po/bs.po | 6432 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 3600 insertions(+), 2832 deletions(-) commit 3a2c35850854ceaac372067b19415aa4368c646b Author: Sebastian Rasmussen AuthorDate: Fri Mar 13 17:16:00 2015 +0000 Commit: GNOME Translation Robot CommitDate: Fri Mar 13 17:16:00 2015 +0000 Updated Swedish translation po/sv.po | 181 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 103 insertions(+), 78 deletions(-) commit c5c8bac69337f6a9e9d0311f5b9793cf6b15e41c Author: Philip Withnall AuthorDate: Fri Mar 13 09:10:01 2015 +0000 Commit: Philip Withnall CommitDate: Fri Mar 13 09:10:25 2015 +0000 goption: Mention type of G_OPTION_ARG_CALLBACK in documentation glib/goption.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 627a145e16abe92dc5fe94bff6a379a9a1379837 Author: Tim-Philipp Müller AuthorDate: Fri Dec 12 01:38:24 2014 +0000 Commit: Ryan Lortie CommitDate: Thu Mar 12 21:01:36 2015 -0400 threads: use FUTEX_WAIT_PRIVATE and FUTEX_WAKE_PRIVATE if possible This avoids some expensive code paths in the kernel, see http://lwn.net/Articles/229668/ https://bugzilla.gnome.org/show_bug.cgi?id=741442 glib/gbitlock.c | 9 +++++++-- glib/gthread-posix.c | 17 +++++++++++------ 2 files changed, 18 insertions(+), 8 deletions(-) commit 6fffce2588b19e5c80915cc9f713fc51d6dd3879 Author: Ryan Lortie AuthorDate: Thu Mar 12 17:24:05 2015 -0400 Commit: Ryan Lortie CommitDate: Thu Mar 12 17:24:05 2015 -0400 docs: clean up a few glib issues Fix a few typical problems, and also stop wrapping the inline definition of g_steal_pointer in parens, since it is not necessary and it confuses gtk-doc. docs/reference/glib/glib-sections.txt | 3 +++ glib/gmem.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit bf19b8e6c32aee318da237f8b9beb9278a10c3aa Author: Ryan Lortie AuthorDate: Thu Mar 12 17:01:00 2015 -0400 Commit: Ryan Lortie CommitDate: Thu Mar 12 17:01:00 2015 -0400 gio docs: remote errant colon from docstring This does not belong there. gio/gtlsclientconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d9de830b65224f6e8f1e1b9284bd049b86b56619 Author: Ryan Lortie AuthorDate: Thu Mar 12 16:53:18 2015 -0400 Commit: Ryan Lortie CommitDate: Thu Mar 12 16:55:22 2015 -0400 Convert remaining uses of 'Rename to:' This was replaced by (rename-to) in 2013 (see bug 676133). They're also causing gtk-doc trouble, so let's get rid of them. gio/gdbusinterface.c | 4 +--- gio/gdbusnameowning.c | 8 ++------ gio/gdbusnamewatching.c | 8 ++------ gio/gsubprocess.c | 3 +-- glib/giochannel.c | 3 +-- glib/glib-unix.c | 3 +-- glib/gmain.c | 12 ++++-------- gobject/gbinding.c | 4 +--- gobject/gobject.c | 3 +-- gobject/gvaluearray.c | 3 +-- 10 files changed, 15 insertions(+), 36 deletions(-) commit eff505ed3c36dd15706094cc4bef36b41924d01d Author: Ryan Lortie AuthorDate: Thu Mar 12 16:43:02 2015 -0400 Commit: Ryan Lortie CommitDate: Thu Mar 12 16:43:02 2015 -0400 docs: more cleanups for GIO docs/reference/gio/Makefile.am | 9 ++++++++- docs/reference/gio/gio-sections.txt | 3 +-- docs/reference/gio/gio.types | 1 + gio/gdbusprivate.c | 2 +- gio/gsubprocess.c | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) commit 497b294510599f987433833ac15d25e8d7f8da12 Author: Xavier Claessens AuthorDate: Wed Feb 11 11:27:28 2015 -0500 Commit: Ryan Lortie CommitDate: Thu Mar 12 16:09:14 2015 -0400 Doc: Fix missing API from GOptionGroup boxing docs/reference/glib/glib-sections.txt | 2 ++ docs/reference/gobject/gobject-sections.txt | 2 ++ 2 files changed, 4 insertions(+) commit 15a4af545e409004e758903b1f522257e5454e13 Author: Xavier Claessens AuthorDate: Thu Feb 5 13:10:14 2015 -0500 Commit: Ryan Lortie CommitDate: Thu Mar 12 16:09:14 2015 -0400 Doc: Mark a few things as private docs/reference/gio/gio-sections.txt | 5 +++++ gio/gresource.c | 2 +- gio/gresource.h | 1 + gio/gsettingsbackend.h | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) commit 8b654e24a5743a32b1d11794fef10a7cbf8ff5d3 Author: Xavier Claessens AuthorDate: Wed Jan 28 12:25:10 2015 -0500 Commit: Ryan Lortie CommitDate: Thu Mar 12 16:09:14 2015 -0400 Win32: Move g_win32_check_windows_version() to the correct place in header It was added after G_END_DECLS, outside the #ifdef G_PLATFORM_WIN32, and inside a #ifndef __GTK_DOC_IGNORE__ block. So it was missing from the doc. https://bugzilla.gnome.org/show_bug.cgi?id=743661 glib/gwin32.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 3626e1426d4fa24dc565618001df3ad9a26b3b00 Author: Rūdolfs Mazurs AuthorDate: Thu Mar 12 21:54:49 2015 +0200 Commit: Rūdolfs Mazurs CommitDate: Thu Mar 12 21:54:49 2015 +0200 Updated Latvian translation po/lv.po | 525 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 277 insertions(+), 248 deletions(-) commit 5c825d32725bb48c276d3b0be2971feb3cacd2e2 Author: Changwoo Ryu AuthorDate: Thu Mar 12 02:51:35 2015 +0900 Commit: Changwoo Ryu CommitDate: Thu Mar 12 02:51:35 2015 +0900 Updated Korean translation po/ko.po | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) commit 8668631baaf09c58f782c884035ac2710b9b14de Author: Tom Tryfonidis AuthorDate: Wed Mar 11 13:12:14 2015 +0000 Commit: GNOME Translation Robot CommitDate: Wed Mar 11 13:12:14 2015 +0000 Updated Greek translation po/el.po | 173 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 99 insertions(+), 74 deletions(-) commit b4d6a5fb1826da3441ed9040a4c3bf6e2e4cc2c8 Author: Jordi Mas AuthorDate: Tue Mar 10 17:44:19 2015 -0400 Commit: Jordi Mas CommitDate: Tue Mar 10 17:44:19 2015 -0400 Update Catalan translation po/ca.po | 526 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 276 insertions(+), 250 deletions(-) commit a866155e8e26fba75f87c643cbcadbc47e13bc82 Author: Benjamin Steinwender AuthorDate: Tue Mar 10 20:56:05 2015 +0000 Commit: GNOME Translation Robot CommitDate: Tue Mar 10 20:56:05 2015 +0000 Updated German translation po/de.po | 528 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 279 insertions(+), 249 deletions(-) commit f6ccb19e1a9b8acb700f271b3dc3e6c809babfe0 Author: Piotr Drąg AuthorDate: Tue Mar 10 19:50:30 2015 +0100 Commit: Piotr Drąg CommitDate: Tue Mar 10 19:50:30 2015 +0100 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 4f1f68e6bebc0694208bc7bf43816bde58229fd6 Author: Philip Withnall AuthorDate: Thu Aug 21 19:04:04 2014 +0100 Commit: Philip Withnall CommitDate: Tue Mar 10 08:37:45 2015 +0000 gtask: Add a GTask:completed property This can be used to query whether the task has completed, in the sense that it has had a result set on it, and has already – or will soon – invoke its callback function. Notifications for this property are emitted immediately after the task’s main callback, in the same main context as that callback. This allows for multiple bits of code to listen for completion of the GTask, which opens the door for blocking on cancellation of the GTask and improved handling of ‘pending’ behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=743636 docs/reference/gio/gio-sections.txt | 1 + gio/gtask.c | 88 +++++++++++++++++- gio/gtask.h | 2 + gio/tests/task.c | 175 ++++++++++++++++++++++++++++++++---- 4 files changed, 245 insertions(+), 21 deletions(-) commit e83f9e52542af1b3986999638e4aec33587c19b8 Author: Alexander Shopov AuthorDate: Tue Mar 10 10:35:24 2015 +0200 Commit: Alexander Shopov CommitDate: Tue Mar 10 10:35:24 2015 +0200 Updated Bulgarian translation po/bg.po | 449 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 235 insertions(+), 214 deletions(-) commit a065c7c5d47a6da35c17f77fd62b25ac9e4ec01e Author: Dušan Kazik AuthorDate: Mon Mar 9 11:48:33 2015 +0000 Commit: GNOME Translation Robot CommitDate: Mon Mar 9 11:48:33 2015 +0000 Updated Slovak translation po/sk.po | 135 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 80 insertions(+), 55 deletions(-) commit ec9f16846ff59629042c6dcd8b22d9cac9d3b223 Author: Trần Ngọc Quân AuthorDate: Mon Mar 9 13:26:18 2015 +0700 Commit: Trần Ngọc Quân CommitDate: Mon Mar 9 13:26:18 2015 +0700 Updated Vietnamese translation Signed-off-by: Trần Ngọc Quân po/vi.po | 597 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 313 insertions(+), 284 deletions(-) commit dfb9f09c280101aa0fc220f4aed917ccdf1533a1 Author: Daniel Mustieles AuthorDate: Sun Mar 8 21:25:11 2015 +0100 Commit: Daniel Mustieles CommitDate: Sun Mar 8 21:25:11 2015 +0100 Updated Spanish translation po/es.po | 197 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 112 insertions(+), 85 deletions(-) commit 81473a0fff03d0cf0096d38be27e203f1ac1393b Author: Aurimas Černius AuthorDate: Sun Mar 8 20:26:36 2015 +0200 Commit: Aurimas Černius CommitDate: Sun Mar 8 20:26:36 2015 +0200 Updated Lithuanian translation po/lt.po | 147 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 87 insertions(+), 60 deletions(-) commit 65efd817b26f5182f219fa774bdb2e475359569b Author: Baurzhan Muftakhidinov AuthorDate: Sun Mar 8 18:06:01 2015 +0000 Commit: GNOME Translation Robot CommitDate: Sun Mar 8 18:06:01 2015 +0000 Updated Kazakh translation po/kk.po | 5054 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 2875 insertions(+), 2179 deletions(-) commit 1e317331e4b078c5525d37a9c49f470a5048d246 Author: Balázs Úr AuthorDate: Sun Mar 8 17:38:41 2015 +0000 Commit: GNOME Translation Robot CommitDate: Sun Mar 8 17:38:41 2015 +0000 Updated Hungarian translation po/hu.po | 277 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 151 insertions(+), 126 deletions(-) commit 3deaf41e87d09d7e7598eba87c0093b521f93e32 Author: Milo Casagrande AuthorDate: Sun Mar 8 15:32:40 2015 +0000 Commit: GNOME Translation Robot CommitDate: Sun Mar 8 15:32:40 2015 +0000 Updated Italian translation po/it.po | 1035 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 701 insertions(+), 334 deletions(-) commit 4a7e68fd73f73cfb97be4ec06b225bf16ef92659 Author: Piotr Drąg AuthorDate: Sun Mar 8 15:42:16 2015 +0100 Commit: Piotr Drąg CommitDate: Sun Mar 8 15:42:16 2015 +0100 Updated Polish translation po/pl.po | 145 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 85 insertions(+), 60 deletions(-) commit d4122b954f83e349921b3dea149978d2b821b4f5 Author: Piotr Drąg AuthorDate: Sun Mar 8 15:39:02 2015 +0100 Commit: Piotr Drąg CommitDate: Sun Mar 8 15:39:02 2015 +0100 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit fdcfe584010f0f33945bd5fd7231d3bee167fa26 Author: Changwoo Ryu AuthorDate: Sun Mar 8 03:31:59 2015 +0900 Commit: Changwoo Ryu CommitDate: Sun Mar 8 03:31:59 2015 +0900 Updated Korean translation po/ko.po | 518 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 263 insertions(+), 255 deletions(-) commit 6ce79e586f0bb5df49e8f1a1935bfef666986f8a Author: Dan Winship AuthorDate: Tue Dec 9 13:35:06 2014 +0100 Commit: Dan Winship CommitDate: Fri Mar 6 16:01:07 2015 -0500 GSocketClient: fix handling of application proxies g_socket_client_add_application_proxy() claimed "When the indicated proxy protocol is returned by the #GProxyResolver, #GSocketClient will consider this protocol as supported but will not try to find a #GProxy instance to handle handshaking." But in fact, it did the checks in the wrong order, so GProxy proxies ended up overriding application-specified ones. Fix that. Also, simplify the code a bit by making use of g_hash_table_add() and g_hash_table_contains(). https://bugzilla.gnome.org/show_bug.cgi?id=733876 gio/gsocketclient.c | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) commit ed4a742946374f7ee3c46b93eb943c95f04ec4c4 Author: Paolo Borelli AuthorDate: Sat Feb 28 11:05:02 2015 +0100 Commit: Paolo Borelli CommitDate: Fri Mar 6 21:23:58 2015 +0100 HTTP proxy support Based on code from "WockyHttpProxy" written by Nicolas Dufresne and Marc-André Lureau. Initial glib patch by Brian J. Murrell. https://bugzilla.gnome.org/show_bug.cgi?id=733876 docs/reference/gio/Makefile.am | 1 + gio/Makefile.am | 2 + gio/ghttpproxy.c | 392 +++++++++++++++++++++++++++++++++++++++++ gio/ghttpproxy.h | 54 ++++++ gio/giomodule.c | 3 + 5 files changed, 452 insertions(+) commit 6fe28eef3ce5dd7ce12c6ace080bac5d9479f50c Author: Chun-wei Fan AuthorDate: Thu Mar 5 16:13:03 2015 +0800 Commit: Chun-wei Fan CommitDate: Fri Mar 6 23:40:03 2015 +0800 Windows: Use Standard Networking Functions If Possible Currently, the Windows code use Winsock2-specific APIs to try to emulate calls such as inet_pton(), inet_ntop() and if_nametoindex(), which may not do the job all the time. On Vista and later, Winsock2 does provide a proper implementation for these functions, so we can use them if they exist on the system, by querying for them during g_networking_init(). Otherwise, we continue to use the original code path for these, in the case of XP and Server 2003. This enables many of the network-address tests to pass on Windows as a result, when the native Winsock2 implementations can be used. https://bugzilla.gnome.org/show_bug.cgi?id=730352 gio/Makefile.am | 1 + gio/ginetaddress.c | 169 ++++++++++++++++++++++++++++++++----------------- gio/gnetworking.c | 39 +++++++++++- gio/gsocket.c | 8 +++ gio/gwin32networking.h | 42 ++++++++++++ 5 files changed, 199 insertions(+), 60 deletions(-) commit ec1edef3ab171f1fa24d62858a2643de6e582f58 Author: ria.freelander@gmail.com AuthorDate: Thu Mar 5 13:07:00 2015 +0000 Commit: Lars Uebernickel CommitDate: Thu Mar 5 14:54:33 2015 +0100 gfdonotificationbackend: support themed icons The spec allows setting the "image-path" hint to an icon name as well. https://bugzilla.gnome.org/show_bug.cgi?id=745634 gio/gfdonotificationbackend.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit b9c8cecc9d83d40ea680bbb297047fa837481dc2 Author: Chun-wei Fan AuthorDate: Mon Jan 19 11:03:57 2015 +0800 Commit: Chun-wei Fan CommitDate: Thu Mar 5 12:44:31 2015 +0800 gresolver.c: Windows: Fix IPv6 Address Handling Check the IPv6 addresses on Windows, as we need to reject those that have brackets/ports around them as valid addresses in this form would have been accepted during the call to g_inet_address_new_from_string (). https://bugzilla.gnome.org/show_bug.cgi?id=730352 gio/gresolver.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) commit fecec087024f81fc3afb36ac30e1af3d35ecb65f Author: Marc-Antoine Perennou AuthorDate: Wed Mar 4 11:46:46 2015 +0100 Commit: Marc-Antoine Perennou CommitDate: Wed Mar 4 14:08:19 2015 +0100 gio: add some missing autocleanup https://bugzilla.gnome.org/show_bug.cgi?id=745589 Signed-off-by: Marc-Antoine Perennou gio/gio-autocleanups.h | 2 ++ 1 file changed, 2 insertions(+) commit 74c9eaac11c1d4d2c0cdadf572760150c893e625 Author: Chun-wei Fan AuthorDate: Wed Mar 4 20:11:43 2015 +0800 Commit: Chun-wei Fan CommitDate: Wed Mar 4 20:11:43 2015 +0800 MSVC Builds: Few More Enahncements Update the .pdb file generation for the MSVC 2010+ DLLs (and the x64 gspawn helper programs), so that they match the names of the DLLs/EXEs that are built. Also update the .lib generation so that all will use -$(ApiVersion) from the property sheets instead of the -2.0 which was previously hard coded (as we will eventually move into GLib 3.x in the future, for example) build/win32/vs10/gio.vcxprojin | 12 +++++++---- build/win32/vs10/glib.vcxprojin | 24 ++++++++++++++-------- build/win32/vs10/gmodule.vcxproj | 12 +++++++---- build/win32/vs10/gobject.vcxprojin | 12 +++++++---- .../win32/vs10/gspawn-win32-helper-console.vcxproj | 2 ++ build/win32/vs10/gspawn-win32-helper.vcxproj | 2 ++ build/win32/vs10/gthread.vcxproj | 12 +++++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- build/win32/vs9/glib.vcprojin | 16 +++++++-------- build/win32/vs9/gmodule.vcproj | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- build/win32/vs9/gthread.vcproj | 8 ++++---- 12 files changed, 76 insertions(+), 48 deletions(-) commit 6d030ea0aef634cfdd6b82c9f213c1061b68709a Author: Philip Withnall AuthorDate: Wed Mar 4 08:52:22 2015 +0000 Commit: Philip Withnall CommitDate: Wed Mar 4 08:55:30 2015 +0000 gobject: Mark a helper variable as const It’s only used for argv values, which are not modified here. https://bugzilla.gnome.org/show_bug.cgi?id=614684 gobject/gobject-query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bdfc8231c6252dfe11cc0d614e71dd98e7570b53 Author: Philip Withnall AuthorDate: Fri Dec 19 18:21:30 2014 +0000 Commit: Philip Withnall CommitDate: Wed Mar 4 08:45:00 2015 +0000 gerror: Minor clarifications to the GError documentation • Clarify that GError** parameters are for the return of _newly allocated_ GError*s. • Clarify that errors may need to be checked for explicitly if the return value of a function doesn’t reliably indicate them. https://bugzilla.gnome.org/show_bug.cgi?id=741779 glib/gerror.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 7f159f13dc7829613c4b2063cd78b027bf702637 Author: Мирослав Николић AuthorDate: Tue Mar 3 20:05:47 2015 +0100 Commit: Мирослав Николић CommitDate: Tue Mar 3 20:05:47 2015 +0100 Updated Serbian translation po/sr.po | 468 ++++++++++++++++++++++++++++----------------------------- po/sr@latin.po | 468 ++++++++++++++++++++++++++++----------------------------- 2 files changed, 468 insertions(+), 468 deletions(-) commit 2a581fab7d4eb3c72b0a76c1662f4932ba7be1db Author: Philip Withnall AuthorDate: Fri Dec 19 17:08:59 2014 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 18:40:33 2015 +0000 gvariant: Use ‘UTF-8’ in docs rather than ‘utf8’ Nitpicky correction. https://bugzilla.gnome.org/show_bug.cgi?id=741779 glib/gvariant.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 8df6e5fa3ffeb74739d5d914669c7e245a84e46d Author: Philip Withnall AuthorDate: Fri Dec 19 15:33:59 2014 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 18:40:33 2015 +0000 gmain: Explicitly document the threading behaviour of g_timeout_add() i.e. That calling g_timeout_add() from a thread other than the main one probably doesn’t do what you want. Same for g_idle_add() and the *_full() variants. https://bugzilla.gnome.org/show_bug.cgi?id=741779 glib/gmain.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) commit 4aedc85fb35f58b602259d34b94dcebeefa198bc Author: Philip Withnall AuthorDate: Fri Dec 19 19:02:15 2014 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 18:40:33 2015 +0000 gobject: Mention g_clear_object() in g_object_unref() documentation https://bugzilla.gnome.org/show_bug.cgi?id=741779 gobject/gobject.c | 5 +++++ 1 file changed, 5 insertions(+) commit 18c9a4e17a74b1707b8a17779e13956e151edc27 Author: Philip Withnall AuthorDate: Fri Dec 19 19:01:06 2014 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 18:40:33 2015 +0000 gmem: Clarify that a NULL check is not needed before calling g_free() It was documented before, but wasn’t especially clear. Doing if (X) g_free (X); is apparently quite a pervasive real-world anti-pattern, so perhaps it could be documented more explicitly. https://bugzilla.gnome.org/show_bug.cgi?id=741779 glib/gmem.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 984576c01e54f335a1a2cde9e6f235946bd35f96 Author: Philip Withnall AuthorDate: Fri Dec 19 18:53:54 2014 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 18:40:33 2015 +0000 glist: Clarify that g_list_nth() is expensive Just in case people have forgotten their basic algorithms course. Seen in some pretty terrible code in the wild; hopefully mentioning the cost in the documentation will make people think twice about using a counter variable when iterating over a linked list. https://bugzilla.gnome.org/show_bug.cgi?id=741779 glib/glist.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit c6312daba0418e384b9ee64917861225a85edacf Author: Philip Withnall AuthorDate: Fri Dec 19 18:53:22 2014 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 18:40:33 2015 +0000 glist: Clarify how g_list_free_1() handles links It doesn’t, which is fine, but could be unexpected if undocumented. https://bugzilla.gnome.org/show_bug.cgi?id=741779 glib/glist.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 59748c3be03fb4df0005fcc54f6b6267d6b2ada8 Author: Philip Withnall AuthorDate: Fri Dec 19 18:52:32 2014 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 18:40:33 2015 +0000 ghash: Document that g_hash_get_[keys|values]() are expensive And definitely not the right way to iterate over a hash table (as seen in code in the wild). https://bugzilla.gnome.org/show_bug.cgi?id=741779 glib/ghash.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit c639b628ec425ac28b79bd48c703fc7115b1fc97 Author: Philip Withnall AuthorDate: Thu Dec 18 11:23:05 2014 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 18:40:33 2015 +0000 gparamspecs: Recommend use of most specific GParamSpec types It’s quite common to see a g_param_spec_pointer() used for GObject or boxed types which, while not incorrect, does make memory management unsafe, since no copying or reference counting can be performed automatically. Similarly, people often use g_param_spec_boolean() when an enum would be more appropriate, cf. http://blog.ometer.com/2011/01/20/boolean-parameters-are-wrong/ Using enums also means that the set of allowable values can be extended in future if needed. In the hope that people who write code like that read the documentation, mention the more specific types in the documentation. https://bugzilla.gnome.org/show_bug.cgi?id=741779 gobject/gparamspecs.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 430814992ddefae2588ae12e4d6aa4d66ed23461 Author: Philip Withnall AuthorDate: Wed Feb 18 17:01:18 2015 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 18:27:45 2015 +0000 docs: Expand introduction to mention using async calls over sync ones As discussed on the mailing list (see the whole thread): https://mail.gnome.org/archives/desktop-devel-list/2015-February/msg00126.html Expand the GIO documentation introduction to talk a little about when to use async and sync functions, and how the former should almost always be preferred over the latter. Link to this from the GFile documentation, which is an entry point for a lot of async calls. https://bugzilla.gnome.org/show_bug.cgi?id=744722 docs/reference/gio/overview.xml | 52 +++++++++++++++++++++++++++++++++++++++++ gio/gfile.c | 12 +++++++--- 2 files changed, 61 insertions(+), 3 deletions(-) commit f829bde76acf0d139dcbe4b81b3721d9e929fbee Author: Philip Withnall AuthorDate: Wed Jan 14 10:44:52 2015 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 17:59:50 2015 +0000 gstring: Mark the return value from g_string_free() as nullable It’s NULL iff free_segment is TRUE, so the annotation doesn’t quite capture all the function definition, but is a safe over-estimate of the return value’s nullability. https://bugzilla.gnome.org/show_bug.cgi?id=719966 glib/gstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9c94b344eacba14ad7b9a29e8a4b161c5d3e10e Author: Philip Withnall AuthorDate: Fri Jun 20 21:20:36 2014 +0100 Commit: Philip Withnall CommitDate: Tue Mar 3 17:59:50 2015 +0000 gfileutils: Mark the return value from g_path_skip_root() as nullable It returns NULL for non-absolute paths. https://bugzilla.gnome.org/show_bug.cgi?id=719966 glib/gfileutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 32956587f35a8c4f1048549f9fce521c1e21de15 Author: Philip Withnall AuthorDate: Wed Feb 18 17:58:32 2015 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 17:25:43 2015 +0000 docs: Remove redundant header examples from GObject tutorial These are in the header boilerplate section, but are actually source boilerplate which is covered in later sections. https://bugzilla.gnome.org/show_bug.cgi?id=744060 docs/reference/gobject/tut_howto.xml | 73 ++---------------------------------- 1 file changed, 4 insertions(+), 69 deletions(-) commit 88e011a7cfe531f9f41cc7f0ca91c5ddf6b86325 Author: Philip Withnall AuthorDate: Fri Feb 20 14:29:43 2015 +0000 Commit: Philip Withnall CommitDate: Tue Mar 3 17:25:43 2015 +0000 docs: Change tutorial encodings from ISO-8859-1 to UTF-8 ISO-8859-1 — that’s a blast from the past. https://bugzilla.gnome.org/show_bug.cgi?id=744060 docs/reference/gobject/tut_gobject.xml | 2 +- docs/reference/gobject/tut_gsignal.xml | 2 +- docs/reference/gobject/tut_gtype.xml | 2 +- docs/reference/gobject/tut_howto.xml | 2 +- docs/reference/gobject/tut_intro.xml | 2 +- docs/reference/gobject/tut_tools.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit 6be1e678dc2ad1dbe707ab6e58ac56c9053784d3 Author: Chun-wei Fan AuthorDate: Tue Mar 3 19:21:40 2015 +0800 Commit: Chun-wei Fan CommitDate: Tue Mar 3 19:21:40 2015 +0800 Visual Studio Builds: "Install" .pdb files They are helpful in debugging in a stack. build/win32/vs10/glib-install.props | 25 +++++++++++++++++++++++-- build/win32/vs9/glib-install.vsprops | 25 +++++++++++++++++++++++-- 2 files changed, 46 insertions(+), 4 deletions(-) commit 6e117b3fcc6cc076fb0d784c40ca91a756c6b7e7 Author: Chun-wei Fan AuthorDate: Tue Mar 3 18:24:08 2015 +0800 Commit: Chun-wei Fan CommitDate: Tue Mar 3 18:24:58 2015 +0800 MSVC Builds: GIO: Standardize zlib Linking Link to zlib1.lib for all builds, as: -The notion of zlib1d.lib is rather not standardized across the board for most cases. -Easier for the grand all-in-one solution file. build/win32/vs10/gio.vcxprojin | 4 ++-- build/win32/vs9/gio.vcprojin | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit d76ac1560e606a23e3437370559ab9079f8f81a2 Author: Chun-wei Fan AuthorDate: Tue Mar 3 18:09:42 2015 +0800 Commit: Chun-wei Fan CommitDate: Tue Mar 3 18:09:42 2015 +0800 Visual Studio 2008 Builds: Speed Up Release Builds Use the /MP option so that each project can build multiple sources in parallel, which can cut down release build times by quite a bit. This will cause a brief warning for debug builds due to their use of /Gm, and builds would otherwise proceed as they did before. Unfortunately Visual Studio 2008 is too old to support the /d2Zi+ flag, so we can't make a better debug situation for it at the moment. build/win32/vs9/glib-build-defines.vsprops | 1 + 1 file changed, 1 insertion(+) commit 7b1729f3c066c07ca075a08b3b46ed4d43fb9e29 Author: Chun-wei Fan AuthorDate: Tue Mar 3 13:52:22 2015 +0800 Commit: Chun-wei Fan CommitDate: Tue Mar 3 13:52:22 2015 +0800 MSVC Builds: Improve Build Speed and Debugging Use Multiprocessor compilation which can cut down build times by quite a bit and use the /d2Zi+ flag to have better debugging info being logged to the .pdb for release builds. These are only applicable for Visual Studio 2010/2012 and later. build/win32/vs10/glib-build-defines.props | 2 ++ 1 file changed, 2 insertions(+) commit 94b9d87a43fbde8295f78fc86cb88bbe552cdbba Author: Chun-wei Fan AuthorDate: Tue Mar 3 12:05:50 2015 +0800 Commit: Chun-wei Fan CommitDate: Tue Mar 3 12:06:22 2015 +0800 MSVC Builds: Fix and Update "Installation" The gobjectnotifyqueue.c was accidently dropped from the files to copy, and a new public header for GIO was added, so address these parts. build/win32/vs10/glib-install.props | 6 ++++-- build/win32/vs9/glib-install.vsprops | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) commit ad66ec82ee35bbcb00ef6f5597c5c212fa46ac03 Author: Marek Černocký AuthorDate: Mon Mar 2 21:52:32 2015 +0100 Commit: Marek Černocký CommitDate: Mon Mar 2 21:52:32 2015 +0100 Updated Czech translation po/cs.po | 458 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 227 insertions(+), 231 deletions(-) commit 8c104a01e19a60301fb5857eeddd1c610634ba70 Author: Ryan Lortie AuthorDate: Thu Feb 12 12:18:22 2015 -0500 Commit: Ryan Lortie CommitDate: Mon Mar 2 15:10:46 2015 -0500 GContextSpecificGroup: fix deadlock There was a theoretical deadlock between the worker trying to emit a signal at the same time as we were waiting for it to shutdown the notification (while holding the lock). The deadlock was particularly annoying because we didn't really need to wait for the shutdown and because it wasn't possible to signals to arrive while waiting for a start. Attempting to deal with start and stop in an asymmetric way could have lead to other weird situations, however. Drop the lock while waiting for the worker thread to start. This means that we face the possibility of multiple waiters on the cond at the same time, so we need to make more of a state machine. https://bugzilla.gnome.org/show_bug.cgi?id=742599 gio/gcontextspecificgroup.c | 77 +++++++++++++++++++++++++++------------------ gio/gcontextspecificgroup.h | 4 +++ gio/tests/contexts.c | 4 +-- 3 files changed, 52 insertions(+), 33 deletions(-) commit 88745c2fa70eed50beb90a61c58e51baf369f74d Author: Ryan Lortie AuthorDate: Sun Jan 25 15:16:50 2015 +0000 Commit: Ryan Lortie CommitDate: Mon Mar 2 15:10:46 2015 -0500 tests: add some tests for GContextSpecificGroup https://bugzilla.gnome.org/show_bug.cgi?id=742599 gio/tests/contexts.c | 222 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 222 insertions(+) commit 548c165a9f8386af29e8bb8243d8923e0f315c2e Author: Ryan Lortie AuthorDate: Thu Jan 8 01:35:33 2015 -0500 Commit: Ryan Lortie CommitDate: Mon Mar 2 15:10:46 2015 -0500 Make GUnixMountMonitor per-context GUnixMountMonitor was not threadsafe before. It was a global singleton which emitted signals in the first thread that happened to construct it. Move it to a per-context singleton model where each GMainContext gets its own GUnixMountMonitor. Monitor for the changes from the GLib worker thread and dispatch the results to each context with an active monitor. https://bugzilla.gnome.org/show_bug.cgi?id=742599 gio/gunixmounts.c | 261 +++++++++++++++++++++++++++--------------------------- 1 file changed, 131 insertions(+), 130 deletions(-) commit ae38d2bfa4e0bd72bf418a42cd5bda7a156b6092 Author: Ryan Lortie AuthorDate: Wed Jan 7 23:52:53 2015 -0500 Commit: Ryan Lortie CommitDate: Mon Mar 2 15:10:46 2015 -0500 gunixmounts: move GUnixMountMonitor code Move this code to the correct part of the file. While we're at it, drop an unused #define MOUNT_POLL_INTERVAL. https://bugzilla.gnome.org/show_bug.cgi?id=742599 gio/gunixmounts.c | 56 +++++++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 29 deletions(-) commit f535218f703528060fcc2a72df57c52ab86d628f Author: Ryan Lortie AuthorDate: Wed Jan 7 23:49:47 2015 -0500 Commit: Ryan Lortie CommitDate: Mon Mar 2 15:10:46 2015 -0500 gunixmounts.c: add fold markers This is a large file with a lot of very complicated code in it. Add some fold markers to make things a bit more manageable. https://bugzilla.gnome.org/show_bug.cgi?id=742599 gio/gunixmounts.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit 3167c6124ccb19fe655044e30aecea93598d1df0 Author: Ryan Lortie AuthorDate: Thu Jan 8 02:16:50 2015 -0500 Commit: Ryan Lortie CommitDate: Mon Mar 2 15:10:46 2015 -0500 Deprecate g_unix_mount_monitor_set_rate_limit() Deprecate g_unix_mount_monitor_set_rate_limit() and turn it into a no-op. This function doesn't behave as advertised. It only controls rate limiting for filesystem-based monitors. It has no impact over reporting mount changes on Linux, for example, because those are based on polling for changes in /proc (which doesn't use filesystem monitors). It also has no impact on Mac OS because a library interface is used there. This was added in https://bugzilla.gnome.org/show_bug.cgi?id=521946 in order to be used by HAL, which is effectively dead. udisks no longer uses this code at all. https://bugzilla.gnome.org/show_bug.cgi?id=742599 gio/gunixmounts.c | 18 +++++++++--------- gio/gunixmounts.h | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) commit 73d4e6f12ff20648996f655fe66cd916be631ba3 Author: Ryan Lortie AuthorDate: Thu Jan 8 02:03:18 2015 -0500 Commit: Ryan Lortie CommitDate: Mon Mar 2 15:10:46 2015 -0500 Rename g_unix_mount_monitor_new() to _get() This is a singleton, but we have a function called _new() to get it. What's worse is that the documentation makes no mention of this, and actually specifically says that a new monitor will be created each time. https://bugzilla.gnome.org/show_bug.cgi?id=742599 docs/reference/gio/gio-sections.txt | 1 + gio/glocaldirectorymonitor.c | 2 +- gio/gunixmounts.c | 41 ++++++++++++++++++++++++++++--------- gio/gunixmounts.h | 4 +++- gio/gunixvolumemonitor.c | 2 +- 5 files changed, 37 insertions(+), 13 deletions(-) commit 720274511ba243e72ab169cde96ab827804fd871 Author: Ryan Lortie AuthorDate: Thu Jan 8 02:36:26 2015 -0500 Commit: Ryan Lortie CommitDate: Mon Mar 2 15:10:46 2015 -0500 GAppInfoMonitor: port to GContextSpecificGroup https://bugzilla.gnome.org/show_bug.cgi?id=742599 gio/gappinfo.c | 131 ++++----------------------------------------------------- 1 file changed, 9 insertions(+), 122 deletions(-) commit c90b083fa8fd3da88086e634b45a190c0e4ba165 Author: Ryan Lortie AuthorDate: Wed Jan 7 23:09:30 2015 -0500 Commit: Ryan Lortie CommitDate: Mon Mar 2 15:10:46 2015 -0500 Add internal helper GContextSpecificGroup Add a new internal helper called GContextSpecificGroup. This is a mechanism for helping to maintain a group of context-specific monitor objects (eg: GAppInfoMonitor, GUnixMountMonitor). https://bugzilla.gnome.org/show_bug.cgi?id=742599 gio/Makefile.am | 2 + gio/gcontextspecificgroup.c | 258 ++++++++++++++++++++++++++++++++++++++++++++ gio/gcontextspecificgroup.h | 47 ++++++++ 3 files changed, 307 insertions(+) commit 220f7754c4db601715a7285584c0fb563a69ce3e Author: Piotr Drąg AuthorDate: Mon Mar 2 20:26:45 2015 +0100 Commit: Piotr Drąg CommitDate: Mon Mar 2 20:26:45 2015 +0100 Updated Polish translation po/pl.po | 452 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 224 insertions(+), 228 deletions(-)