commit 7ebf2618aac31547131ced79f563266810917ae0 Author: Matthias Clasen Date: Thu Apr 30 13:40:42 2015 -0400 2.45.1 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5fc7608792202b56b2b40e56941a4fcbbe1f400 Author: Matthias Clasen Date: Thu Apr 30 12:46:20 2015 -0400 Updates NEWS | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-) commit aeb069cd78e17cafa3002dbc40d074131d370571 Author: Yosef Or Boczko Date: Wed Apr 29 14:23:50 2015 +0300 Updated Hebrew translation po/he.po | 433 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 223 insertions(+), 210 deletions(-) commit c71b16c3be17113f80693690555c453f31e5f31a Author: Hans Petter Jansson Date: Tue Apr 28 16:50:42 2015 +0200 gmarkup: Make append_escaped_text() slightly more robust. https://bugzilla.gnome.org/show_bug.cgi?id=631597 glib/gmarkup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4e29e9a079a8e7a80ee78d9dc55b9ceb90f3421c Author: Simon McVittie Date: Sun Jul 20 19:34:54 2014 +0100 regex test: do not assert that system PCRE allows "(?P<1>)" Perl >= 5.18, and PCRE >= 8.34, disallow this. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=733325 Reviewed-by: Christian Persch glib/tests/regex.c | 3 +++ 1 file changed, 3 insertions(+) commit 1fdece4f227a800ae44d04838fc29b6d8343fed5 Author: Simon McVittie Date: Sun Jul 20 19:33:17 2014 +0100 regex test: improve diagnostics for some failures These fail with system PCRE 8.35, but the improved diagnostics are generic. Reviewed-by: Christian Persch Bug: https://bugzilla.gnome.org/show_bug.cgi?id=733325 glib/tests/regex.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 62 insertions(+), 3 deletions(-) commit 073a81d1da69689c3228846c81e93de2a4931ff4 Author: Philip Withnall Date: Mon Jun 30 15:57:28 2014 +0100 gsignal: Mark the return value of g_signal_emitv() as (inout) (optional) https://bugzilla.gnome.org/show_bug.cgi?id=719966 gobject/gsignal.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ee742ec69cc543962917e073b3ec8ed19d296a10 Author: Marek Černocký Date: Sat Apr 25 12:41:09 2015 +0200 Updated Czech translation po/cs.po | 404 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 208 insertions(+), 196 deletions(-) commit 0c97cb5fa21f66e6552fa15d3577cd4edb0bc574 Author: Sveinn í Felli Date: Fri Apr 24 14:36:02 2015 +0000 Updated Icelandic translation po/is.po | 5561 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 3144 insertions(+), 2417 deletions(-) commit 10b5a8befc16bdefdbfb8d1fc10df11d53acb6ef Author: Chun-wei Fan Date: Wed May 14 16:02:35 2014 +0800 Fix the thumbnail-verification Test The third parameter of the thumnail_verify() function had been updated to const GLocalFileStat, so update the thumbnail-verification test likewise so that the test works properly on all supported platforms. https://bugzilla.gnome.org/show_bug.cgi?id=711547 gio/tests/thumbnail-verification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2bb898c60f43330f8bdf277e1931228031fe49b4 Author: Ryan Lortie Date: Thu Apr 2 17:17:35 2015 -0400 app info: tweak default application algorithm Always run the full algorithm for a given mime type before considering fallback types. This includes considering installed applications capable of handling a particular mimetype, even if such an app is not explicitly marked as default, and there is a default app for a less-specific type. Specifically, this often helps with cases of installing apps that can handle a particular subtype of text/plain. We want to take those apps in preference to a generic text editor, even if that editor is listed as the default for text/plain and there is no default listed for the more specific type. Because of the more holistic approach taken by the algorithm, it is now more complicated, but it also means that we can do more work while holding the lock. In turn, that lets us avoid duplicating some strings, which is nice. https://bugzilla.gnome.org/show_bug.cgi?id=744282 gio/gdesktopappinfo.c | 103 ++++++++++++++++++++++---------------------------- 1 file changed, 45 insertions(+), 58 deletions(-) commit cf940b66bcea7835c2e01b9bfa051a2e826835c9 Author: Chun-wei Fan Date: Wed Apr 22 16:36:13 2015 +0800 build/Makefile-newvs.am: Fix %.vcxproj Rule The if-else statement added in commit 9bc3ae9 was missing a '\' after the 'else', causing 'make dist/distcheck' to break with "unexpected end-of-file" errors. Fix this-didn't notice this when reviewing that patch. My fault. :| build/Makefile-newvs.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc01109618009ad748abdc58bdc0c64891b84db0 Author: Philip Withnall Date: Tue Apr 21 23:57:17 2015 +0100 gdbusmessage: Fix a minor memory leak on an error path If g_dbus_message_to_blob() fails at all, it will leak its mbuf. Spotted by running the gdbus-serialization test under Valgrind — so there is a justification for leak-free tests after all! gio/gdbusmessage.c | 3 +++ 1 file changed, 3 insertions(+) commit 1b3dbec0658695deee02b35b7d9a3fce981ce772 Author: Philip Withnall Date: Tue Apr 21 23:56:10 2015 +0100 gvariant-parser: Clarify g_variant_parse() returns a non-floating ref Unlike, say, g_variant_new(), which returns a floating reference. g_variant_parse() returns a non-floating one, so must always have g_variant_unref() called on the result. glib/gvariant-parser.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit c62f7a7d688cc7c6d4f88e45cddd74aac5dc4582 Author: Philip Withnall Date: Tue Apr 21 23:55:49 2015 +0100 tests: Fix various minor memory leaks in gdbus-serialization gio/tests/gdbus-serialization.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 41acf970accd25c4446e8f28c0b817e332722c23 Author: Marc-André Lureau Date: Fri Mar 6 15:22:33 2015 +0100 gdbus: fix out-of-bound array access In path_rule_matches(), the given paths may be of 0-length. Do not access memory before the array in those case. This is for example triggered by: test_match_rule (con, G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH, "/", "", FALSE); in test_connection_signal_match_rules(). This bug was found thanks to GCC AddressSanitizer. https://bugzilla.gnome.org/show_bug.cgi?id=745745 gio/gdbusconnection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9bc3ae920731448575741bf0a799a32c9c1a6668 Author: Simon McVittie Date: Mon Apr 20 14:54:28 2015 +0100 Makefile-newvs: some .vcxproj.filters files are in builddir, some in srcdir Without this change, out-of-tree distcheck doesn't get very far. Similarly, allow *.vcxproj, *.props to be in either the builddir or the srcdir. Finally, since I'm touching these lines anyway, eliminate some useless uses of cat: "cat x | sed 's/foo/bar/' > y" is equivalent to "sed 's/foo/bar/' < x > y". Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748176 Reviewed-by: Chun-wei Fan build/Makefile-newvs.am | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) commit 812ce28d5ccf626bb6594749f4d87951ed5cfc73 Author: Arun Raghavan Date: Fri Apr 17 10:00:50 2015 +0530 gsocketconnection: Fix copy-pasto in documentation https://bugzilla.gnome.org/show_bug.cgi?id=748019 gio/gsocketconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 92331eb10a6ad05d3b811546539a82470a36a466 Author: Simon McVittie Date: Mon Apr 20 12:15:42 2015 +0100 Distribute summary-xmllang-and-attrs.gschema.xml in tarballs This is needed for "make distcheck". Reviewed-by: Matthias Clasen Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748177 gio/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 68bb63e3eea4a52a4c3486804087ed60a6f28404 Author: Chun-wei Fan Date: Fri Apr 17 13:59:28 2015 +0800 build/Makfile-newvs.am: Use Pattern Rules Make use of pattern rules when generating the Visual Studio 2012/2013 Projects from the Visual Studio 2010 projects, which will help to clean up the file and also avoid problems when running items like 'make -jN dist'. build/Makefile-newvs.am | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) commit 6a2543444cf596023efd4d8f185088ecdbc0d507 Author: Руслан Ижбулатов Date: Mon Aug 4 12:39:08 2014 +0000 W32: use 64-bit stat for localfile size calculation https://bugzilla.gnome.org/show_bug.cgi?id=728669 gio/glocalfile.c | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) commit 46779a31224714ce28d0bea4b0575826bb27e772 Author: Behdad Esfahbod Date: Mon Apr 13 12:30:16 2015 -0700 Remove UTF-8 quotation marks https://bugzilla.gnome.org/show_bug.cgi?id=747772 glib/gmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 21107959ab12da217151fe8d5f0eb65bd93fd5aa Author: Matthias Clasen Date: Wed Apr 8 22:07:26 2015 -0400 gdbus: Validate the --dest argument Passing an nonsense string for the --dest argument can lead to a segfault of gdbus. Thats not nice, so use our existing validation function for bus names here. https://bugzilla.gnome.org/show_bug.cgi?id=747541 gio/gdbus-tool.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 3fa0a051a47ca9e7ddcaf56cf842dc133fceede9 Author: Ryan Lortie Date: Wed Apr 8 22:11:27 2015 -0400 gsettings: add test for repeated errors Make sure error handling on repeated and is being done properly, not resulting in glib-compile-schemas throwing a critical. https://bugzilla.gnome.org/show_bug.cgi?id=747542 gio/tests/gschema-compile.c | 3 +++ .../schema-tests/summary-xmllang-and-attrs.gschema.xml | 13 +++++++++++++ 2 files changed, 16 insertions(+) commit 7f4fdb59aa6963a066e251063dc6b7cfb766fdfe Author: Ryan Lortie Date: Wed Apr 8 22:08:13 2015 -0400 gsettings: fix schema compiler error handling Fix a couple of issues in error handling in glib-compile-schemas. The first problem is that, in case of repeated or tags we were still allocating a GString which was never being freed (due to the throwing of the error resulting in immediate termination of the parse). The second problem is that if the repeated tag also had attributes, we would attempt to set the GError twice. https://bugzilla.gnome.org/show_bug.cgi?id=747542 gio/glib-compile-schemas.c | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit 2b8f131599842d7d6249815412a261df6fa65d15 Author: Ryan Lortie Date: Wed Apr 8 21:55:58 2015 -0400 gsettings: stay compatible with installed schemas Bug 747209 introduced an error when multiple or tags are found for a single key in a GSettings schema. This check should have been present from the start, but it was left out because the schema compiler doesn't include these items in the cache file. Even still -- part of the schema compiler's job is validation, and it should be enforcing proper syntax here. Repeated and tags are a semi-common problem when intltool has been misconfigured in the build system of a package, but it's possible to imagine mistakes being made by hand as well. The idea is that these problems would be caught during the build of a package and maintainers would be forced to fix their build systems. An unintended side-effect of this change, however, is that the schema compiler started ignoring already-installed schemas that contained these problems, when rebuilding the cache. This means that the installation of _any_ application would cause the regeneration of the entire cache, with these already-installed applications being excluded. Without the schema in the cache, the application would crash on next startup. The validation check in the gsettings m4 macro passes --strict to the compiler, which is not used when rebuilding the cache after installation. Pass this flag down into the parser and only throw the error in case --strict was given. This will result in the (desired) build failure without also causing already-installed apps to stop functioning. This means that we will not get even a warning about the invalid schema file in the already-installed case, but that's fine. There is no sense spamming the user with these messages when they are already quite fatal for the developer at build time. https://bugzilla.gnome.org/show_bug.cgi?id=747472 gio/glib-compile-schemas.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 89d46d1bdc49755ff99982fb124ec081a2297c12 Author: Matthias Clasen Date: Wed Apr 8 06:38:16 2015 -0400 docs: Document the --strict option of glib-compile-schemas Curiously, this option has managed to remain undocumented for 5 years. docs/reference/gio/glib-compile-schemas.xml | 8 ++++++++ 1 file changed, 8 insertions(+) commit cc287a21cf15350c6edcb029ee83cbf20259c48a Author: Matthias Clasen Date: Tue Apr 7 16:20:00 2015 -0400 Mention the glib-compile-schemas change in NEWS NEWS | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 495d864e438472a1c1dce1db79d1ae18a584687d Author: Ross Lagerwall Date: Tue Apr 7 18:22:58 2015 +0100 docs: Fix documentation for 95d300eac58e docs/reference/gio/gio-sections.txt | 1 + gio/gtlsclientconnection.c | 2 +- gio/gtlsclientconnection.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit b470b12c49750777e14990f24d98166d3aab9965 Author: Christophe Fergeau Date: Sat Feb 21 13:34:36 2015 +0100 gatomic: Add missing new line in API doc comment This causes an overlong line, and a spurious '*' in the generated documentation. https://bugzilla.gnome.org/show_bug.cgi?id=747363 glib/gatomic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7b8f51750391bf57278c080e366bf0e41235b4f3 Author: Chun-wei Fan Date: Tue Apr 7 15:02:22 2015 +0800 gio/gdbusproxy.c: Include gasyncresult.h Commit f10b655 removed the inclusion of gasyncresult.h from gdbusproxy.c, but gdbusproxy.c uses g_async_result_get_source_object(), which caused a build warning/error. Fix that. gio/gdbusproxy.c | 1 + 1 file changed, 1 insertion(+) commit 7e8d4145af745e6ac51337ffcc65872791e7299f Author: Dan Winship Date: Mon Apr 6 10:09:04 2015 -0400 gdbus: fix deadlock on message cancel/timeout The gdbus GTask port introduced a deadlock because some code had been using g_simple_async_result_complete_in_idle() to ensure that the callback didn't run until after a mutex was unlocked, but in the gtask version, the callback was being run immediately. Fix it to drop the mutex before calling g_task_return*(). Also, tweak tests/gdbus-connection to test this. https://bugzilla.gnome.org/show_bug.cgi?id=747349 gio/gdbusconnection.c | 58 +++++++++++++++++++++----------------------- gio/tests/gdbus-connection.c | 15 ++++++++++++ 2 files changed, 43 insertions(+), 30 deletions(-) commit 95d300eac58e6e6a7d57ce50896a7c656ebe78cf Author: Ross Lagerwall Date: Thu Feb 26 22:24:36 2015 +0000 tls: Add support for copying session data Add support for copying session data between client connections. This is needed for implementing FTP over SSL. Most servers use a separate session for each control connection and enforce sharing of each control connection's session between the related data connection. Copying session data between two connections is needed for two reasons: 1) The data connection runs on a separate port and so has a different server_identity which means it would not normally share the session with the control connection using the session caching currently implemented. 2) It is typical to have multiple control connections, each of which uses a different session with the same server_identity, so only one of these sessions gets stored in the cache. If a data connection is opened, (ignoring the port issue) it may try and reuse the wrong control connection's session, and fail. This operation is conceptually the same as OpenSSL's SSL_copy_session_id operation. https://bugzilla.gnome.org/show_bug.cgi?id=745255 gio/gtlsclientconnection.c | 26 ++++++++++++++++++++++++++ gio/gtlsclientconnection.h | 6 ++++++ 2 files changed, 32 insertions(+) commit eac975c68225e3c7d5ae21dbf382d6e5b6b02824 Author: Руслан Ижбулатов Date: Mon Apr 21 14:52:35 2014 +0000 Make sure GStatBuf is typedefed correctly https://bugzilla.gnome.org/show_bug.cgi?id=728663 glib/gstdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b64e2956f6b9ae74f1fdcecb129bff7738817509 Author: Paolo Borelli Date: Thu Oct 9 15:54:43 2014 +0200 Add an event signal to GSocketListener This allows the caller to know when a socket has been bound so that it can for instance set the SO_SENDBUF and SO_RECVBUF socket options before listen is called https://bugzilla.gnome.org/show_bug.cgi?id=738207 docs/reference/gio/gio-sections.txt | 1 + gio/gioenums.h | 23 ++++++ gio/gsocketlistener.c | 138 ++++++++++++++++++++++++++++++++---- gio/gsocketlistener.h | 5 +- gio/tests/socket-listener.c | 65 +++++++++++++++++ 5 files changed, 216 insertions(+), 16 deletions(-) commit ec9c248d7d5cf6c60e212c7ba4b9e8a0a4f76452 Author: Dan Winship Date: Tue Apr 17 10:38:37 2012 -0400 gio: deprecate GSimpleAsyncResult GTask has been around for a long time now, everything in GLib is using it, and the run-in-thread deadlock problems should be fixed now. https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gasyncinitable.c | 2 ++ gio/gasyncresult.c | 2 ++ gio/gsimpleasyncresult.c | 54 +++++++++++++++++++++++++++++++++++++++++ gio/gsimpleasyncresult.h | 50 +++++++++++++++++++------------------- gio/tests/simple-async-result.c | 4 +++ 5 files changed, 87 insertions(+), 25 deletions(-) commit f10b6550ff2ce55d06b92d6dc3e443fc007b2f7a Author: Dan Winship Date: Thu Aug 2 15:46:32 2012 -0400 gio: (belatedly) port gdbus from GSimpleAsyncResult to GTask https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gdbusaddress.c | 77 ++++----- gio/gdbusconnection.c | 431 ++++++++++++++++++-------------------------------- gio/gdbusprivate.c | 197 +++++++++-------------- gio/gdbusprivate.h | 3 +- gio/gdbusproxy.c | 266 +++++++++++++------------------ 5 files changed, 366 insertions(+), 608 deletions(-) commit e2655cd455db5ce3c768693127d983086ac1345c Author: Dan Winship Date: Sat Apr 4 10:00:39 2015 -0400 tests: clean up / ignore some more generated files gio/tests/.gitignore | 2 ++ glib/tests/Makefile.am | 2 +- glib/tests/bookmarkfile.c | 1 + glib/tests/fileutils.c | 1 + glib/tests/keyfile.c | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) commit 86866a2a6d4b7aa289f4f782dddac156869400bf Author: Dan Winship Date: Mon Mar 9 16:33:16 2015 -0400 gtask: remove hardcoded GTask thread-pool size GTask used a 10-thread thread pool for g_task_run_in_thread() / g_task_run_in_thread_sync(), but this ran into problems when task threads blocked waiting for another g_task_run_in_thread_sync() operation to complete. Previously there was a workaround for this, by bumping up the thread limit when that case was detected, but deadlocks could still happen if there were non-GTask threads involved. (Eg, task A sends a message to thread X and waits for a response, but thread X needs to complete task B in a thread before returning the response to task A.) So, allow GTask's thread pool to be expanded dynamically, by watching it from the glib worker thread, and growing it (at an exponentially-decreasing rate) if too much time passes without any tasks completing. This should solve the deadlocking problems without causing sudden breakage in apps that assume they can queue huge numbers of tasks at once without consequences. https://bugzilla.gnome.org/show_bug.cgi?id=687223 README.in | 18 ++++++++ gio/gtask.c | 138 +++++++++++++++++++++++++++++++++++++++++-------------- gio/tests/task.c | 91 ++++++++++++++++++++++++++++++++++++ 3 files changed, 212 insertions(+), 35 deletions(-) commit b2734d762f9b33c60575e835bbf9ef190315c79a Author: Matthias Clasen Date: Wed Apr 1 18:55:54 2015 -0400 glib-compile-schema: Don't accept duplicate docs This schema compiler was completely ignoring and tags. Unfortunately, there are modules out there who merge translations for these back in, with xml:lang. And this is giving dconf-editor a hard time. Since this is not how translations of schemas are meant to be done, just reject such schema files. Also add tests exercising the new error handling. https://bugzilla.gnome.org/show_bug.cgi?id=747209 gio/glib-compile-schemas.c | 27 ++++++++++++++++++++-- gio/tests/Makefile.am | 2 ++ gio/tests/gschema-compile.c | 2 ++ .../schema-tests/description-xmllang.gschema.xml | 13 +++++++++++ gio/tests/schema-tests/summary-xmllang.gschema.xml | 13 +++++++++++ 5 files changed, 55 insertions(+), 2 deletions(-) commit 6ba363b6196d06799204655344f8e26b332b7970 Author: Stas Solovey Date: Mon Mar 30 21:45:26 2015 +0000 Updated Russian translation po/ru.po | 187 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 88 insertions(+), 99 deletions(-) commit 1f1fa69375f6ed2c8f863aa9a3de38e3be49fb27 Author: alex94puchades Date: Wed Mar 25 15:26:07 2015 +0100 Make glib-compile-resources a little smarter glib-compile-resources was guessing a filename ending in .c when generating sources, but did not do the same for headers. Fix it so it generates a .h file when guessing the filename for headers. https://bugzilla.gnome.org/show_bug.cgi?id=746753 gio/glib-compile-resources.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 61a105b883c39b188c0eba5fd211adada2677c4d Author: Matthias Clasen Date: Sun Mar 29 11:41:00 2015 -0400 Clarify a confusing string Relative was repeated twice here, when clearly what was meant is relative or absolute. Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=726447 gio/gapplication-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fd40b5942dc94effbd424302ccc9390e64005d5f Author: Ryan Lortie Date: Thu Mar 26 14:49:26 2015 -0400 inotify: fix move event matching accounting The hash table stores the list of unmatched IN_MOVE_FROM events, but we were removing entries from it when popping IN_MOVE_TO events. Fix that up to correct a crash in nautilus due to the assertion failure below. https://bugzilla.gnome.org/show_bug.cgi?id=746749 gio/inotify/inotify-kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 706c4d32adfbca25cdb0663077aa0d82477fb356 Author: Ryan Lortie Date: Wed Mar 25 23:08:38 2015 -0400 file monitors: fix a typo Due to a typo, a rename reported via a pair of delete/create events (due to the watcher not giving the flag for moves to be paired) was accidentally reported as being created with the old name instead of the new name. Fix that. gio/glocalfilemonitor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4a292721bcf2943bfc05c6a1c859992f28e3efec Author: Ryan Lortie Date: Wed Mar 25 09:29:49 2015 -0400 GListModel: roll back use of type redefinition We declare the typedefs for GListModel and GListStore in giotypes.h, as a matter of convention. This is not actually required, since the typedef is emitted as part of the G_DECLARE_* macros. The giotypes.h approach is only used to avoid cyclic dependencies between headers, which is not a problem in this case. Type redefinition is a C11 feature, and although it was around in some compilers before then, gcc 4.2.1 (from 2007) is apparently still in wide use, being the default compiler for OpenBSD. Eventually, we will probably hit a case where we actually need to redefine a type, but since we're not there yet, let's back off a bit. gio/giotypes.h | 2 -- 1 file changed, 2 deletions(-) commit 3f36407d4a27e17f766a41fb7b9e7a0fcd75c85b Author: Petr Kovar Date: Wed Mar 25 13:01:47 2015 +0100 Update Czech translation po/cs.po | 184 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 104 insertions(+), 80 deletions(-) commit 69fd1fd1d0f110800ec713bac5dafb418ceecc1c Author: Ryan Lortie Date: Sun Nov 9 11:22:42 2014 -0500 GClosure: add valgrind hints GClosure has been in the "allocate area before the pointer" game since before we did this with GTypeInstance. At the time that this was done for GClosure, we didn't have valgrind.h in GLib. Now that we do, we should add similar valgrind hints as the ones we did for GTypeInstance. This substantially reduces reports of "possibly lost" on pretty much any program that makes use of signals. https://bugzilla.gnome.org/show_bug.cgi?id=739850 gobject/gclosure.c | 43 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) commit b0e330b68c161adfc5cffededd6703b6450562d5 Author: Matthias Clasen Date: Sun Mar 22 15:05:13 2015 -0400 Fix the build The world would be a better place if gcc had __has_feature(), too. glib/gmacros.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 42870201f8cd304d9e38b1b99d63a407dc9ae107 Author: Matthias Clasen Date: Sun Mar 22 14:18:36 2015 -0400 Account for clangs lack of __alloc_size__ clang's emulation of gcc 4.3 is not perfect, despite its pretending that it is. https://bugzilla.gnome.org/show_bug.cgi?id=745821 glib/gmacros.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0e0b777cfb8b645e9cc06e899a446c7d1d1d51a3 Author: Muhammet Kara Date: Sun Mar 22 00:17:31 2015 +0000