commit e03fc7a522fd623bfe521ceb44ff51ca85c598b3 Author: Matthias Clasen Date: Sat Aug 16 08:59:40 2014 -0400 Updates for 2.41.3 NEWS | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 01fec1f0d58c344eacae265440938eb7759b21db Author: Christian Kirbach Date: Fri Aug 15 17:56:35 2014 +0200 Updated German translation po/de.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 52b5a06dea63c9489e76862f16895b08118aa63f Author: Chun-wei Fan Date: Wed Aug 13 09:55:11 2014 +0800 Visual C++ Builds: Update README.txt's Update notes about usage of PCRE and for people attempting to build GLib on a Chinese, Japanese or Korean locale. build/win32/vs10/README.txt | 31 +++++++++++++++++++------------ build/win32/vs9/README.txt | 31 +++++++++++++++++++------------ 2 files changed, 38 insertions(+), 24 deletions(-) commit b88fdf0b0f7e6acf109745322e27fe7869e5267e Author: Dan Winship Date: Tue Aug 12 07:50:20 2014 -0400 docs: hyphenate "High-level" and "Low-level" docs/reference/gio/gio-docs.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3d89041220a2a783b5706763b35778f9154c0883 Author: Chun-wei Fan Date: Fri Aug 8 17:39:22 2014 +0800 MSVC Builds: Generate glib-mkenums If Possible As glib-mkenums would likely be used in the building of the other components of the stack, such as Cogl, Clutter and gsettings-desktop-schemas, generate that using a Python script (if Python can be found) and "install" it. build/win32/Makefile.am | 3 +- build/win32/process_in_win32.py | 77 ++++++++++++++++++++++++++++++ build/win32/setup.py | 35 +------------- build/win32/vs10/glib-gen-srcs.props | 4 ++ build/win32/vs10/glib-install.props | 2 + build/win32/vs10/glib-version-paths.props | 4 ++ build/win32/vs10/gobject.vcxproj.filtersin | 5 +- build/win32/vs10/gobject.vcxprojin | 26 ++++++++-- build/win32/vs9/glib-gen-srcs.vsprops | 20 ++++---- build/win32/vs9/glib-install.vsprops | 1 + build/win32/vs9/glib-version-paths.vsprops | 4 ++ build/win32/vs9/gobject.vcprojin | 42 ++++++++++++++-- 12 files changed, 167 insertions(+), 56 deletions(-) commit 3e2735f4680b9f46548e7d039b0241cd24aee162 Author: Edward Hervey Date: Mon Jun 23 11:39:04 2014 +0200 gtype: Fast-path for g_type_is_a Do I really need to explain why ? https://bugzilla.gnome.org/show_bug.cgi?id=732085 gobject/gtype.c | 3 +++ 1 file changed, 3 insertions(+) commit 4b5bdf6cebc4c1b7c6db7e23c678cc2f5003e757 Author: Andre Moreira Magalhaes (andrunko) Date: Tue Jul 29 21:04:48 2014 -0300 Do not crash when checking whether an instance type is of a given fundamental. Not all instances have a TypeNode associated (e.g. GstEvent), so lets check if node is available before trying to use it. This crash can be easily reproduced by creating an event with gst_event_new_eos and using G_IS_OBJECT on the event instance. https://bugzilla.gnome.org/show_bug.cgi?id=733982 gobject/gtype.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 5053054c629c3ead90ec3c6fa1fc0fa642476d46 Author: Matej Urbančič Date: Wed Aug 6 14:15:40 2014 +0200 Updated Slovenian translation po/sl.po | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 3c6efd4d5077862adc918c651ab7c49dc133d643 Author: Руслан Ижбулатов Date: Mon Apr 21 15:00:18 2014 +0000 Make sure compiled resources only have / as dirsep https://bugzilla.gnome.org/show_bug.cgi?id=725511 gio/glib-compile-resources.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b637714ded46a05a98fb92b7b96e69fe9b215307 Author: Martin Srebotnjak Date: Tue Aug 5 21:03:32 2014 +0200 Updated Slovenian translation po/sl.po | 70 ++++++++++++++++++++++++---------------------------------------- 1 file changed, 26 insertions(+), 44 deletions(-) commit 10504edfaae764c8d32213d40db0438a8d392207 Author: Inaki Larranaga Murgoitio Date: Tue Aug 5 14:02:42 2014 +0200 Updated Basque language po/eu.po | 599 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 307 insertions(+), 292 deletions(-) commit 14f2376c8a06f0936d734ec6a7e0e836072acf65 Author: Руслан Ижбулатов Date: Wed Jul 30 07:15:39 2014 +0000 Change W32 console detection to look at the window, not stdout Check for console window being attached to the process, not for stdout being redirected into a console window. https://bugzilla.gnome.org/show_bug.cgi?id=733960 glib/gspawn-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f734873006729d18551c215d9dcf22392dbeaf3 Author: Руслан Ижбулатов Date: Mon Apr 21 15:44:47 2014 +0000 Fix tests to compile again - add missing headers to W32, call correct process-id-getting function https://bugzilla.gnome.org/show_bug.cgi?id=725513 gio/tests/filter-cat.c | 1 + gio/tests/gsubprocess-testprog.c | 2 ++ gio/tests/win32-streams.c | 6 +++--- glib/tests/fileutils.c | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) commit 7e0cb48dee9a8ecd87d403b7941ad3209eee658c Author: Руслан Ижбулатов Date: Sat Aug 2 12:36:37 2014 +0000 Silence a controversial warning in win_iconv https://bugzilla.gnome.org/show_bug.cgi?id=711547 glib/win_iconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 42ddcc6ff22c66f1ded9d7a3879df39988531878 Author: Руслан Ижбулатов Date: Sat Aug 2 12:35:43 2014 +0000 Silence some uncontroversial warnings https://bugzilla.gnome.org/show_bug.cgi?id=711547 gio/gresolver.c | 2 ++ glib/gmain.c | 1 + glib/gutils.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) commit 40650e33239994237917322d4cfecc34e4cc4394 Author: Руслан Ижбулатов Date: Sat Aug 2 12:22:16 2014 +0000 Fix printf-tests on W32 by ifdefing the expected output https://bugzilla.gnome.org/show_bug.cgi?id=725515 glib/tests/test-printf.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) commit 6680ff1ee93127b247f8ca32958620ec7db6af48 Author: Руслан Ижбулатов Date: Mon Apr 21 15:55:59 2014 +0000 Save errno and pass it along to make sure gettext does not change it https://bugzilla.gnome.org/show_bug.cgi?id=725514 glib/gfileutils.c | 58 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 41 insertions(+), 17 deletions(-) commit 786590fe93682c9b28136ccf65d870b23dd807f7 Author: Ignacio Casal Quinteiro Date: Tue Jul 29 18:59:21 2014 +0200 win32: improve the package installation dir lookup As an example, the core of gedit is in a private library placed in %INSTALLDIR%/lib/gedit/libgedit.dll Before this patch we would get %INSTALLDIR%/lib/gedit as the installation package dir, while what we actually want is to get %INSTALLDIR% https://bugzilla.gnome.org/show_bug.cgi?id=733934 glib/gwin32.c | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) commit 905a8e655c4f50f655cbd90455b26a37b977c563 Author: Руслан Ижбулатов Date: Thu Jul 31 10:12:59 2014 +0000 Ensure critial sections are released before returning https://bugzilla.gnome.org/show_bug.cgi?id=734035 gio/gregistrysettingsbackend.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit ad4f7846569980c54c29aac55ace01b20ba9b3d2 Author: Olav Vitters Date: Wed Jul 30 15:41:13 2014 +0200 doap category core glib.doap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b1dd594a22e3499caafdeccd7fa223a032b9e177 Author: Alexander Larsson Date: Wed Jul 30 12:32:21 2014 +0200 Remove atomics from g_clear_object/g_clear_pointer Practically no caller of these functions require atomic behaviour, but the atomics are much slower than normal operations, which makes it desirable to get rid of them. We have not done this before because that would be a break of the ABI. However, I recently looked into this and it seems that even if the atomics *are* used for g_clear_* it is not ever safe to use this. The atomics protects two threads that are racing to free a global/shared object from freeing the object twice. However, any *user* of the global object have no protection from the object being freed while in use, because there is no paired operation the reads and refs the object as an atomic unit (nor can such an operation be implemented using purely atomic ops). So, since nothing could safely have used the atomic aspects of these functions I consider it acceptable to just remove it. https://bugzilla.gnome.org/show_bug.cgi?id=733969 glib/gmem.c | 16 +++++----------- glib/gmem.h | 13 ++++++------- gobject/gobject.c | 3 --- 3 files changed, 11 insertions(+), 21 deletions(-) commit 2266f6b743a5a4e4d560238ebd085bf0e1ad8934 Author: Alexander Larsson Date: Wed Jul 30 12:09:01 2014 +0200 tests/gobject/performance: Clean up and add refcount performance test tests/gobject/performance.c | 129 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 119 insertions(+), 10 deletions(-) commit 03b510fde17b130dd7273cee6a65e2d54ff85fff Author: David King Date: Wed May 7 10:25:40 2014 +0100 gfile: Fix memory leak in g_file_move() https://bugzilla.gnome.org/show_bug.cgi?id=729703 gio/gfile.c | 4 ++++ 1 file changed, 4 insertions(+) commit e15ba53cdab91587721a38efa4eeea9acf871860 Author: Ryan Lortie Date: Sun Jul 27 10:08:00 2014 +0200 configure.ac: fix typo in last patch 20e709d8b92e28d162c78b147afe4040e3a48b85 fixed some issues in configure.ac but also introduced a typo. Fix that. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d36f4ec593e877b2f077df116f47fb6b0c08a5f8 Author: Aurimas Černius Date: Sun Jul 27 01:03:32 2014 +0300 Updated Lithuanian translation po/lt.po | 169 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 89 insertions(+), 80 deletions(-) commit 20e709d8b92e28d162c78b147afe4040e3a48b85 Author: Alessandro Di Federico Date: Fri Jul 25 04:16:00 2014 -0400 configure: Remove unintentional nested functions More of the same as 9362a1b2d987125a8aa0723b916d29aaaece329a. https://bugzilla.gnome.org/show_bug.cgi?id=733715 configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2268628565e4fb098252e782e58709d6b525b48a Author: Ryan Lortie Date: Thu Jul 24 11:36:57 2014 +0200 gdbus: Properly fix encoding of double arrays It turns out that this bug actually would (sometimes) impact any sort of fixed-sized array with an alignment requirement of 8 due to incorrectly counting the alignment inserted between the (aligned 4) array length and the actual data. Fix this properly and remove the exception for doubles. https://bugzilla.gnome.org/show_bug.cgi?id=732754 gio/gdbusmessage.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit 7009e317d84f661ec63b85edb436d3a2727be488 Author: Colin Walters Date: Tue Jul 22 14:04:44 2014 -0400 gtlsinteraction: Hoist precondition before allocation We're using a precondition in the middle of the function, and if we hit it, we leak the closure. Let's allocate the closure per path; this allows us to allocate it before path-specific preconditions, and better avoids a pointless malloc/free pair in the unhandled case. https://bugzilla.gnome.org/show_bug.cgi?id=733576 gio/gtlsinteraction.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 627b49b39039d43a784fa9890f473d1ca8d52417 Author: Stef Walter Date: Tue Jul 22 21:29:27 2014 +0200 gio: Fix regression encoding an array of doubles Take the simple slow path in this case. Encoding a double takes special precautions as you can see in append_value_to_blob() and friends. https://bugzilla.gnome.org/show_bug.cgi?id=732754 gio/gdbusmessage.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit b6c1d696a98b7fc4e691e8acc9f88b7bc8d57e9d Author: Stef Walter Date: Tue Jul 22 21:13:50 2014 +0200 gio: Add regression test for double array encoding https://bugzilla.gnome.org/show_bug.cgi?id=732754 gio/tests/gdbus-serialization.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit d0083f7e2dd621c6b78496bdb6ecf5d580c5e110 Author: Owen W. Taylor Date: Wed Jul 23 09:27:31 2014 -0400 Revert "gatomic: statically assert that our assumptions hold" This reverts commit 7269d75321b9d2a967a59fb35f243397f577eb41. Adding G_STATIC_ASSERT() into a header file caused compilation problems with at least one app (Anjuta). Reverting to keep GNOME continuous testing running. https://bugzilla.gnome.org/show_bug.cgi?id=730932 glib/gatomic.h | 6 ------ 1 file changed, 6 deletions(-) commit d40a2df0886cdd5ba5aabee9e81ab3d3859302d6 Author: Kjartan Maraas Date: Wed Jul 23 14:57:15 2014 +0200 Updated Norwegian bokmål translation. po/nb.po | 598 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 305 insertions(+), 293 deletions(-) commit 91821974e1e9e71fb5f2c623f68c0c9e2a6a59a9 Author: Colin Walters Date: Tue Jul 22 14:31:25 2014 -0400 gcredentials: Add assertion to pacify static analysis This should always be true. https://bugzilla.gnome.org/show_bug.cgi?id=733576 gio/gcredentials.c | 1 + 1 file changed, 1 insertion(+) commit 8ebd287fe6ae7aee11038679d086a880c13845a2 Author: Colin Walters Date: Tue Jul 22 14:23:47 2014 -0400 gkeyfilesettingsbackend: Add assertion for known-true condition We know the group exists since we enumerated it. Should silence a static analysis warning. https://bugzilla.gnome.org/show_bug.cgi?id=733576 gio/gkeyfilesettingsbackend.c | 1 + 1 file changed, 1 insertion(+) commit 7ea4bf3f309232d85b7b60f6ac6295e679a22ed8 Author: Colin Walters Date: Tue Jul 22 14:22:23 2014 -0400 glocalfileinfo: Suppress static analysis return value warning Just ignore the return value, since we're checking contents != NULL. https://bugzilla.gnome.org/show_bug.cgi?id=733576 gio/glocalfileinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5fe71c7c5c44b429eebba028cca6ecdc1356b50c Author: Colin Walters Date: Tue Jul 22 14:21:31 2014 -0400 gsettingsschema: Suppress return value check We're intentionally ignoring the value here. Pacifies static analysis. https://bugzilla.gnome.org/show_bug.cgi?id=733576 gio/gsettingsschema.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit acdcf5cd50ccbf76fb4d74dbef4e768d5980e46e Author: Colin Walters Date: Tue Jul 22 14:14:46 2014 -0400 gapplicationimpl-dbus: Fix leak of fd list object Spotted by static analysis. https://bugzilla.gnome.org/show_bug.cgi?id=733576 gio/gapplicationimpl-dbus.c | 1 + 1 file changed, 1 insertion(+) commit 3fb44c4c713847059aac22c4c71074e14d11aceb Author: Colin Walters Date: Tue Jul 22 14:11:25 2014 -0400 gsettingsschema: Close directory Spotted by static analysis. https://bugzilla.gnome.org/show_bug.cgi?id=733576 gio/gsettingsschema.c | 2 ++ 1 file changed, 2 insertions(+) commit e55a953642a9e402f4363f9fa347b6061dd78990 Author: Colin Walters Date: Tue Jul 22 14:08:00 2014 -0400 gthreadedresolver: Unref unexpected address I don't believe any real app would hit this, but we do leak if it occurs. Spotted by static analysis. https://bugzilla.gnome.org/show_bug.cgi?id=733576 gio/gthreadedresolver.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 49a5d0f6f2aed99cd78f25655f137f4448e47d92 Author: Colin Walters Date: Tue Jul 22 14:00:23 2014 -0400 gfileutils: Add missing g_free() in error path Discovered by static analysis. https://bugzilla.gnome.org/show_bug.cgi?id=733576 glib/gfileutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit feec280b7c5c7b9198e34b10b4f5764c9c3c4505 Author: Colin Walters Date: Tue Jul 22 13:58:53 2014 -0400 gfile: Initialize variable to pacify static analysis Not a real bug, but will quiet the analysis. https://bugzilla.gnome.org/show_bug.cgi?id=733576 gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9060a85193a0e15f67568ea6cac3a082fbcab30f Author: Simon McVittie Date: Sun Jul 20 12:41:57 2014 +0100 glib-init: statically assert that we have 8-bit bytes configure.ac assumes this. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=730932 configure.ac | 1 + glib/glib-init.c | 3 +++ 2 files changed, 4 insertions(+) commit 7269d75321b9d2a967a59fb35f243397f577eb41 Author: Simon McVittie Date: Sun Jul 20 12:39:24 2014 +0100 gatomic: statically assert that our assumptions hold This code assumes that int is exactly 4 bytes, and that pointers are either 4 or 8 bytes, on platforms with __ATOMIC_SEQ_CST. In practice this is going to be true. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=730932 glib/gatomic.h | 6 ++++++ 1 file changed, 6 insertions(+) commit 19e0cdd7a08af4e9ea8b15f6f82199f93bb4355d Author: Daniel Mustieles Date: Tue Jul 22 12:29:34 2014 +0200 Updated Spanish translation po/es.po | 496 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 252 insertions(+), 244 deletions(-) commit 015db2d2af3d5a3f31909c7ffb5307e5141d8fbd Author: Dan Winship Date: Wed May 7 09:17:05 2014 -0400 gio/tests/socket: add some missing g_assert_no_error()s gio/tests/socket.c | 5 +++++ 1 file changed, 5 insertions(+) commit 634b69219979c084837c59874e5b2aec01a1d3e4 Author: Dan Winship Date: Thu May 1 09:59:05 2014 -0400 gsocket: Set SO_NOSIGPIPE on sockets on Darwin This is a best-effort approach to preventing SIGPIPE emissions on Darwin and iOS, where they continue to be intercepted by the Xcode debugger even if SIG_IGN prevents them crashing the program. This is similar to the existing code which sets MSG_NOSIGNAL on all send() calls. MSG_NOSIGNAL doesn't exist on Darwin though. Based on a patch from Philip Withnall. https://bugzilla.gnome.org/show_bug.cgi?id=728730 gio/gsocket.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 7b34e07ac4576b75bcf932fd8dfeca23242ea1b1 Author: Dan Winship Date: Thu May 1 09:58:07 2014 -0400 gsocket: move set_fd_nonblocking() into g_socket_constructed() gio/gsocket.c | 58 +++++++++++++++++++++++++++------------------------------- 1 file changed, 27 insertions(+), 31 deletions(-) commit ccf5959bf490e1124f66e971c9491c07ff86812f Author: Enrico Nicoletto Date: Fri Jul 18 18:49:04 2014 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 460 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 235 insertions(+), 225 deletions(-) commit ebe47823db6409eda6e391826666b3eb8dedb692 Author: Philip Withnall Date: Fri Jul 18 08:49:19 2014 +0100 ginetaddress: Add a precondition to g_inet_address_new_from_string() Ensure that the input string is non-NULL, as inet_pton() does not like NULL strings. https://bugzilla.gnome.org/show_bug.cgi?id=733345 gio/ginetaddress.c | 2 ++ 1 file changed, 2 insertions(+) commit 641864bcba5cc85c0a5ab3a62b3781ca90271acb Author: Ignacio Casal Quinteiro Date: Thu Jul 17 13:27:54 2014 +0200 socketservice: minor cleanup gio/gsocketservice.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 79e63d4e5dfbf42ecb001e8b698c32d0bc73117b Author: Matthias Clasen Date: Mon Jul 14 10:48:09 2014 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)