commit 4f18c671ab8c7d313a1b97f9aff4616dee73bb2e Author: Allison Ryan Lortie AuthorDate: Tue Nov 24 18:44:45 2015 +0000 Commit: Allison Ryan Lortie CommitDate: Tue Nov 24 19:44:46 2015 +0000 GLib 2.47.2 NEWS | 37 +++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 39 insertions(+), 2 deletions(-) commit 398c048c66e71ec52a1799ea6fbd4c3b1554ec5e Author: Allison Ryan Lortie AuthorDate: Fri Nov 6 13:08:41 2015 -0500 Commit: Allison Ryan Lortie CommitDate: Tue Nov 24 18:44:02 2015 +0000 docs: remove GDBusObjectManager example This example has been causing on-and-off build breaks for quite some time. In this case, the code for copying the generated content into the main docs of GIO is causing problems with srcdir != destdir builds (due to the files also being copied from the read-only srcdir during distchecks). We could probably work around this problem yet again, but since there is no real benefit to having this content included, so let's remove it. https://bugzilla.gnome.org/show_bug.cgi?id=734469 configure.ac | 1 - docs/reference/gio/Makefile.am | 21 +-- .../gio/gdbus-object-manager-example/.gitignore | 1 - .../gio/gdbus-object-manager-example/Makefile.am | 67 --------- .../gdbus-object-manager-example-docs.xml | 17 --- .../gdbus-object-manager-example-sections.txt | 161 --------------------- .../gdbus-object-manager-example.types | 10 -- docs/reference/gio/migrating-gdbus.xml | 29 +--- 8 files changed, 3 insertions(+), 304 deletions(-) commit 69003a0751971275b9cb32ac345e0d0c15c81ecd Author: Tom Tryfonidis AuthorDate: Mon Nov 23 14:58:36 2015 +0000 Commit: GNOME Translation Robot CommitDate: Mon Nov 23 14:58:49 2015 +0000 Updated Greek translation (cherry picked from commit bf0f0135a32f1ec744ac951d3b759d592ed36872) po/el.po | 310 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 155 insertions(+), 155 deletions(-) commit 7bc6f021d7b65fd61194f366077efb1faafa96dc Author: Allison Ryan Lortie AuthorDate: Tue Nov 17 13:29:35 2015 -0500 Commit: Allison Ryan Lortie CommitDate: Tue Nov 17 13:43:49 2015 -0500 gmacros: fix unguarded use of __STDC_VERSION__ According to the C spec, any undefined identifier used in a #if expression is taken to have a numerical value of zero. Commit db2367e8782d7a39fc3e93d13f6a16f10cad04c2 introduced an #i statement which depended on this behaviour. gcc has a -Wundef option which warns about depending on this behaviour, and unfortunately there are projects that are using -Werror=undef in builds that include our headers. Adding a check for defined(__STDC_VERSION__) before using the macro is enough to silence gcc. glib/gmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ee2db4a286e4980213a849a13a9f46b5a0dd654 Author: Daniel Mustieles AuthorDate: Tue Nov 17 18:48:06 2015 +0100 Commit: Daniel Mustieles CommitDate: Tue Nov 17 18:48:06 2015 +0100 Updated Spanish translation po/es.po | 531 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 272 insertions(+), 259 deletions(-) commit f87e002313d566dcce71a9aba040d22ddb5c1e80 Author: Dan Winship AuthorDate: Mon Nov 16 16:57:38 2015 -0500 Commit: Dan Winship CommitDate: Mon Nov 16 16:57:38 2015 -0500 Fix g_strerror() on non-glibc When using one of the codepaths that copies the error string into buf, make sure the string gets strdup() afterward. https://bugzilla.gnome.org/show_bug.cgi?id=758194 glib/gstrfuncs.c | 2 ++ 1 file changed, 2 insertions(+) commit 03cb2eb088a79b7849eb526e0e1f3e2f4ee5b2e4 Author: GNOME Translation Robot AuthorDate: Mon Nov 16 18:20:41 2015 +0000 Commit: GNOME Translation Robot CommitDate: Mon Nov 16 18:20:41 2015 +0000 Added Scottish Gaelic translation po/LINGUAS | 1 + po/gd.po | 4416 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 4417 insertions(+) commit db2367e8782d7a39fc3e93d13f6a16f10cad04c2 Author: Allison Ryan Lortie AuthorDate: Mon Nov 9 11:36:10 2015 -0500 Commit: Allison Ryan Lortie CommitDate: Mon Nov 16 13:14:19 2015 -0500 GLib: clean up the "inline" mess once and for all It's been a long time since we've been unconditionally saying "static inline" in GLib headers without complaints so it's safe to assume that all compilers that we care about support this. One thing that is not yet totally supported is the unadorned use of the word "inline". Depending on the flags (-std=c89, for example), even GCC will complain about this. Detect missing C99 support and define "inline" to "__inline" in that case. Some research shows "__inline" appears to be the most widely-supported keyword here, but we may need to tweak this if we get some reports of breakage. Clean up all of the configure checks around this and define G_CAN_INLINE unconditionally. Unfortunately, we must assume that some people are still using G_IMPLEMENT_INLINES, we must continue to implement that (including undefining G_CAN_INLINE and redefining G_INLINE_FUNC) if requested. It is not our intent to break existing users of the old-style G_INLINE_FUNC approach and if that has happened, we may need to make some further adjustments. https://bugzilla.gnome.org/show_bug.cgi?id=757374 configure.ac | 105 --------------------------------------------------------- glib/docs.c | 19 +++++------ glib/gmacros.h | 21 ++++++++++++ glib/gutils.h | 35 ------------------- 4 files changed, 30 insertions(+), 150 deletions(-) commit 9834f79279574e2cddc4dcb6149da9bd782dd40d Author: Allison Ryan Lortie AuthorDate: Mon Nov 9 16:12:18 2015 +0000 Commit: Allison Ryan Lortie CommitDate: Mon Nov 16 13:14:19 2015 -0500 gutils: clean up bit funcs inlining mess gutils.h and gutils.c define three utility functions as inlines that are also exported via the ABI. This is done via complicated G_INLINE_FUNC and G_IMPLEMENT_INLINES logic. In order to be able to remove this mess, we create a another convoluted but slightly cleaner approach: write straight-up inline versions of the functions named _impl() in the header. Define macros with the "public" function names that call these inlines. From the .c file, export the ABI versions of these functions, implemented using the _impl() version. https://bugzilla.gnome.org/show_bug.cgi?id=757374 glib/gutils.c | 31 ++++++++++++++++++++++++------- glib/gutils.h | 53 ++++++++++++++++++++++++++++++++--------------------- 2 files changed, 56 insertions(+), 28 deletions(-) commit 0bfbb0d257593b2fcfaaf9bf09c586057ecfac25 Author: Allison Ryan Lortie AuthorDate: Mon Nov 9 15:54:58 2015 +0000 Commit: Allison Ryan Lortie CommitDate: Mon Nov 16 13:14:19 2015 -0500 GTrashStack: uninline and deprecate Deprecate GTrashStack and remove the inline implementations for the functions. This will help us clean up the mess that is inline functions in GLib. Because of how G_INLINE_FUNC worked, we have these functions on our ABI, so we must continue to export them as normal functions. We are safe to remove the inline versions, however, because any existing binaries will continue to carry them and any new builds will just start using the non-inline versions. https://bugzilla.gnome.org/show_bug.cgi?id=757374 glib/gtrashstack.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++--- glib/gtrashstack.h | 67 ++++++++---------------------------------------------- 2 files changed, 68 insertions(+), 60 deletions(-) commit 7ab79b3879fa8b336ba3047f2399f26e1601f68e Author: Ben Iofel AuthorDate: Mon Nov 16 10:05:16 2015 -0500 Commit: Dan Winship CommitDate: Mon Nov 16 12:33:02 2015 -0500 GTask: fix example code in docs https://bugzilla.gnome.org/show_bug.cgi?id=758181 gio/gtask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 448e01353abba452148b7547eaa255b0555ae575 Author: Kjartan Maraas AuthorDate: Sun Nov 15 23:59:35 2015 +0100 Commit: Kjartan Maraas CommitDate: Sun Nov 15 23:59:35 2015 +0100 Updated Norwegian bokmål translation. po/nb.po | 539 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 280 insertions(+), 259 deletions(-) commit c50bb218de95e1f4278fb1b4ad5f300b13364b85 Author: Chun-wei Fan AuthorDate: Thu Nov 12 15:26:20 2015 +0800 Commit: Chun-wei Fan CommitDate: Thu Nov 12 15:26:20 2015 +0800 MSVC 2010+ builds: Do not explicitly use /LTCG This partially reverts dc4361f. As we now ensure that items using GResources and GConstructors are always referenced so that the linker does not optimize them out in a default Release build, we no longer need to enforce the use of /LTCG, so /LTCG:incremental will work as well. build/win32/vs10/gdbus.vcxproj | 2 -- build/win32/vs10/gio-querymodules.vcxproj | 2 -- build/win32/vs10/gio.vcxprojin | 2 -- build/win32/vs10/glib-compile-resources.vcxprojin | 2 -- build/win32/vs10/glib-compile-schemas.vcxprojin | 2 -- build/win32/vs10/glib-genmarshal.vcxproj | 2 -- build/win32/vs10/glib.vcxprojin | 4 ---- build/win32/vs10/gmodule.vcxproj | 2 -- build/win32/vs10/gobject.vcxprojin | 2 -- build/win32/vs10/gresource.vcxproj | 2 -- build/win32/vs10/gsettings.vcxproj | 2 -- build/win32/vs10/gspawn-win32-helper-console.vcxproj | 2 -- build/win32/vs10/gspawn-win32-helper.vcxproj | 2 -- build/win32/vs10/gthread.vcxproj | 2 -- 14 files changed, 30 deletions(-) commit db4df9908e0137c14f5aeeefba899240c4724970 Author: Chun-wei Fan AuthorDate: Tue Nov 10 17:20:18 2015 +0800 Commit: Chun-wei Fan CommitDate: Thu Nov 12 15:01:54 2015 +0800 gconstructor: Work around constructors being optimized away on MSVC Whole program optimization is enabled by default in visual studio release builds, and this causes constructors (for e.g. resources) to be optimized away as they are not referenced from elsewhere. This works around this by some pragma magic. https://bugzilla.gnome.org/show_bug.cgi?id=752837 glib/gconstructor.h | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) commit 228ad1ed9cf9eb64ac16475e902ff5f861d60c10 Author: Jeff Bai AuthorDate: Thu Nov 12 11:02:56 2015 +0800 Commit: Aron Xu CommitDate: Thu Nov 12 11:02:56 2015 +0800 Update zh_CN translations po/zh_CN.po | 1238 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 649 insertions(+), 589 deletions(-) commit 0a10d38d1533d7944bfd10552c5df9a3cc771d8c Author: Mikhail Zabaluev AuthorDate: Sat Nov 7 18:51:04 2015 +0200 Commit: Mikhail Zabaluev CommitDate: Sat Nov 7 18:55:17 2015 +0200 Return value of g_hash_table_get_{keys,values} is (transfer container) https://bugzilla.gnome.org/show_bug.cgi?id=757742 glib/ghash.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 42463b840fb953e4663384a3911df2cd643ecf08 Author: Mikhail Zabaluev AuthorDate: Sat Nov 7 18:50:08 2015 +0200 Commit: Mikhail Zabaluev CommitDate: Sat Nov 7 18:55:17 2015 +0200 ghash: Correctly annotate (nullable) and (out) parameters https://bugzilla.gnome.org/show_bug.cgi?id=757742 glib/ghash.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 0e5365997179def68797cbaf5d1a0961bef2ad00 Author: Balázs Úr AuthorDate: Sat Nov 7 15:08:05 2015 +0000 Commit: GNOME Translation Robot CommitDate: Sat Nov 7 15:08:05 2015 +0000 Updated Hungarian translation po/hu.po | 397 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 204 insertions(+), 193 deletions(-) commit 779b5c9af00d42bcf4728270a3b5a983998121eb Author: Philip Withnall AuthorDate: Sat Nov 7 13:55:24 2015 +0100 Commit: Philip Withnall CommitDate: Sat Nov 7 13:55:24 2015 +0100 gtestutils: Fix a function name in a documentation example glib/gtestutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25a7c817d3cbef8b6508b44bca6d0b01ca77916b Author: Philip Withnall AuthorDate: Fri Dec 6 12:23:09 2013 +0000 Commit: Philip Withnall CommitDate: Sat Nov 7 10:48:32 2015 +0100 glib: Add missing (nullable) and (optional) annotations Add various (nullable) and (optional) annotations which were missing from a variety of functions. Also port a couple of existing (allow-none) annotations in the same files to use (nullable) and (optional) as appropriate instead. Secondly, add various (not nullable) annotations as needed by the new default in gobject-introspection of marking gpointers as (nullable). See https://bugzilla.gnome.org/show_bug.cgi?id=729660. This includes adding some stub documentation comments for the assertion macro error functions, which weren’t previously documented. The new comments are purely to allow for annotations, and hence are marked as (skip) to prevent the symbols appearing in the GIR file. https://bugzilla.gnome.org/show_bug.cgi?id=719966 gio/gconverter.c | 3 +- gio/gcredentials.c | 2 +- gio/gdbusconnection.h | 2 +- gio/gfileinfo.c | 9 +++--- gio/gicon.c | 2 +- gio/gmemoryoutputstream.c | 6 ++-- gio/gsocketaddress.c | 2 +- gio/gsocketcontrolmessage.c | 2 +- glib/garray.c | 6 ++-- glib/gatomic.c | 14 ++++---- glib/gbitlock.c | 6 ++-- glib/gbytes.c | 5 +-- glib/gconvert.c | 23 ++++++------- glib/gdataset.c | 10 +++--- glib/gdate.c | 2 +- glib/gdatetime.c | 10 +++--- glib/gerror.c | 8 ++--- glib/ghash.c | 33 +++++++++---------- glib/ghook.c | 4 +-- glib/gmain.c | 8 ++--- glib/gmem.c | 3 +- glib/gmem.h | 2 +- glib/gmessages.c | 27 +++++++++++++--- glib/gnode.h | 4 +-- glib/gprintf.c | 4 +-- glib/gqsort.c | 2 +- glib/gshell.c | 6 ++-- glib/gslice.c | 38 ++++++++++++++++++---- glib/gstrfuncs.c | 10 +++--- glib/gstring.c | 4 +-- glib/gtestutils.c | 10 +++++- glib/gthread.c | 6 ++-- glib/gtrashstack.c | 2 +- glib/gtree.c | 4 +-- glib/gutf8.c | 78 +++++++++++++++++++++++---------------------- glib/gutils.c | 2 +- glib/gvariant-core.c | 2 +- gobject/gboxed.c | 7 ++-- gobject/gboxed.h | 6 ++-- gobject/gclosure.c | 20 +++++++----- gobject/gclosure.h | 3 +- gobject/gmarshal.c | 44 ++++++++++++------------- gobject/gobject.c | 39 +++++++++++++---------- gobject/gparam.c | 2 +- gobject/gsignal.c | 6 ++-- gobject/gtype.c | 5 +-- gobject/gtype.h | 31 ++++++++++-------- gobject/gvalue.c | 2 +- 48 files changed, 303 insertions(+), 223 deletions(-) commit 90808a02796449615947e49ae57f5f4fa2e404ea Author: Sebastien Bacher AuthorDate: Fri Nov 6 17:42:45 2015 +0100 Commit: Allison Ryan Lortie CommitDate: Fri Nov 6 11:55:57 2015 -0500 g_local_file_trash: remove invalid free call Commit 8ece2de964c01b3428f16766f199b58f0bc67212 transplanted a block of code that contained an early-exit-on-error case which freed several variables. Because of the move, the normal-path unconditional free of one of these variables is now above this early exit case, so if this block is hit, it will now be a double-free. Remove that. https://bugzilla.gnome.org/show_bug.cgi?id=757693 gio/glocalfile.c | 1 - 1 file changed, 1 deletion(-) commit 1ac2a606fc10dd8d0e880902bc428ae406beb70c Author: Philip Withnall AuthorDate: Fri Nov 6 11:27:24 2015 +0100 Commit: Philip Withnall CommitDate: Fri Nov 6 11:27:24 2015 +0100 gtlsconnection: Fix a typo in the documentation gio/gtlsconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 751d3f00a8f4162d486658cf640d94a7a9486360 Author: Dan Winship AuthorDate: Thu Nov 5 09:42:36 2015 -0500 Commit: Dan Winship CommitDate: Thu Nov 5 09:42:36 2015 -0500 Update .gitignore for overflow tests glib/tests/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit 4d74ca4c3ad3c9900caf320b39433e68a7db8465 Author: Jan de Groot AuthorDate: Thu Mar 21 19:51:28 2013 +0000 Commit: Jürg Billeter CommitDate: Thu Nov 5 12:53:19 2015 +0100 Make gtester-report compatible with Python 3 Convert tabs to spaces and replace print with print(). The script still works with Python 2.x. https://bugzilla.gnome.org/show_bug.cgi?id=696324 glib/gtester-report | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 1c6e6671d106a45a0f30d5ca6427ebf0cc26abf5 Author: Jussi Kukkonen AuthorDate: Thu Nov 5 11:08:32 2015 +0200 Commit: Jussi Kukkonen CommitDate: Thu Nov 5 13:50:13 2015 +0200 gio/tests: Don't depend on a data file that's not built data.gresource is not built when cross-compiling: Don't add it to test_data in that case. https://bugzilla.gnome.org/show_bug.cgi?id=757628 gio/tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 503e3147485a8d21ec9915b5df4c2ba4e2c4284b Author: Pedro Albuquerque AuthorDate: Thu Nov 5 05:58:56 2015 +0000 Commit: GNOME Translation Robot CommitDate: Thu Nov 5 05:58:56 2015 +0000 Updated Portuguese translation po/pt.po | 433 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 222 insertions(+), 211 deletions(-) commit 236e8040b4f8fbf213374ce398ecf29ce011f47c Author: Simon McVittie AuthorDate: Mon Nov 2 17:17:55 2015 +0000 Commit: Simon McVittie CommitDate: Mon Nov 2 20:36:42 2015 +0000 Build gdbus-example-objectmanager-server again It was removed, apparently accidentally, in commit 5b48dc4. This had the side-effect that it wasn't included in tarball releases, which means that commit ab7b4be doesn't work when building a package. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=734469 Reviewed-by: Colin Walters gio/tests/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit 0dbc81c73ae19310f477e4888f4d4cba8474a846 Author: Mikhail Zabaluev AuthorDate: Thu Oct 29 10:54:34 2015 +0200 Commit: Mikhail Zabaluev CommitDate: Mon Nov 2 20:03:38 2015 +0200 Move G_POLLFD_FORMAT to glibconfig.h It's a platform-specific macro, so it belongs in glibconfig.h. This ensures that g-ir-scanner will not pick the wrong definition for introspection. https://bugzilla.gnome.org/show_bug.cgi?id=757294 configure.ac | 8 +++++++- glib/glibconfig.h.win32.in | 4 ++++ glib/gpoll.h | 11 ++--------- 3 files changed, 13 insertions(+), 10 deletions(-) commit 6f1b574ceab74a043d24c24d12b2cfb47e5f8228 Author: Xavier Claessens AuthorDate: Mon Nov 2 09:36:47 2015 -0500 Commit: Xavier Claessens CommitDate: Mon Nov 2 10:02:43 2015 -0500 Doc: Fix missing glibconfig.h when builddir!=srcdir Currently the doc is incomplete when builddir!=srcdir (e.g. debian package) because glibconfig.h is generared from configure.ac and is thus missing from srcdir. This leads to missing doc for symbols like G_GINT64_FORMAT. https://bugzilla.gnome.org/show_bug.cgi?id=734469 docs/reference/gio/Makefile.am | 7 ++++--- docs/reference/glib/Makefile.am | 11 ++++++++--- docs/reference/gobject/Makefile.am | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) commit 86a7c864b32cc8532df2b57f59526c11be507657 Author: Xavier Claessens AuthorDate: Fri Oct 30 14:59:11 2015 -0400 Commit: Xavier Claessens CommitDate: Mon Nov 2 09:26:58 2015 -0500 Doc: copy included example files This fix missing files when src_dir != build_dir. https://bugzilla.gnome.org/show_bug.cgi?id=734469 docs/reference/gio/Makefile.am | 19 ++++++++++++++++++- docs/reference/gio/migrating-gdbus.xml | 10 +++++----- 2 files changed, 23 insertions(+), 6 deletions(-) commit ee718d352615f8417683f99fba6d0d08a33760fa Author: Lars Uebernickel AuthorDate: Wed Oct 7 15:49:05 2015 +0200 Commit: Lars Uebernickel CommitDate: Mon Nov 2 13:52:10 2015 +0100 gapplication: reject actions without names https://bugzilla.gnome.org/show_bug.cgi?id=756134 gio/gsimpleaction.c | 2 ++ gio/gsimpleactiongroup.c | 7 +++++++ gio/tests/gapplication.c | 25 +++++++++++++++++++++++++ 3 files changed, 34 insertions(+) commit 863bffdac7f08815e4189bc881cb0c26d98d96c3 Author: Daiki Ueno AuthorDate: Mon Nov 2 09:38:50 2015 +0900 Commit: Daiki Ueno CommitDate: Mon Nov 2 11:14:04 2015 +0900 doc: fix g_task_attach_source() example The 3rd argument of the function is not a GCallback, but a GSourceFunc. https://bugzilla.gnome.org/show_bug.cgi?id=757451 gio/gtask.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit df352203d6eb06355e4de40006236af64181d9d6 Author: Xavier Claessens AuthorDate: Fri Oct 30 10:02:06 2015 -0400 Commit: Xavier Claessens CommitDate: Fri Oct 30 11:35:28 2015 -0400 Stop using g_sequence_get_length() to check if it's empty g_sequence_is_empty() is more efficient for that task. https://bugzilla.gnome.org/show_bug.cgi?id=756988 gio/gdbusmenumodel.c | 2 +- gio/glocalfilemonitor.c | 6 +++--- gio/gmenuexporter.c | 2 +- glib/gsequence.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 2bc32606c73ccb66f86444b60bf0eabc9c959fb3 Author: Xavier Claessens AuthorDate: Thu Oct 22 16:23:12 2015 -0400 Commit: Xavier Claessens CommitDate: Fri Oct 30 11:35:27 2015 -0400 GSequence: document that _get_length() is not O(1) https://bugzilla.gnome.org/show_bug.cgi?id=756988 glib/gsequence.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2331437df3fa3c28649f6b318ed980bd9462434f Author: Xavier Claessens AuthorDate: Mon Sep 21 13:24:44 2015 -0400 Commit: Xavier Claessens CommitDate: Fri Oct 30 10:30:55 2015 -0400 Doc: fix some gtk-doc warnings https://bugzilla.gnome.org/show_bug.cgi?id=755364 docs/reference/glib/glib-sections.txt | 1 + gio/gfilemonitor.c | 15 +++++++++++++++ gio/gsocketconnectable.h | 2 +- glib/gmem.c | 3 +++ gobject/gparam.c | 2 +- gobject/gparam.h | 4 ++-- 6 files changed, 23 insertions(+), 4 deletions(-) commit 7dd9ffbcfff3561d2d1bcd247c052e4c4399623f Author: Allison Ryan Lortie AuthorDate: Wed Oct 28 11:14:15 2015 +0000 Commit: Allison Ryan Lortie CommitDate: Fri Oct 30 11:58:49 2015 +0100 tests: test bounds-checked int arithmetic Add some simple testcases for the new bounds-checked integer arithmetic helpers. Include a second build of the testcase to make sure we test the fallback code even if we are on a compiler that supports the intrinsics. https://bugzilla.gnome.org/show_bug.cgi?id=503096 glib/tests/Makefile.am | 5 ++ glib/tests/overflow.c | 199 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 204 insertions(+) commit d0219f25970c740ac1a8965754868d54bcd90eeb Author: Allison Ryan Lortie AuthorDate: Wed Oct 28 11:14:13 2015 +0000 Commit: Allison Ryan Lortie CommitDate: Fri Oct 30 11:58:49 2015 +0100 GLib: add bounds-checked unsigned int arithmetic Add some helpers for builds-checked unsigned integer arithmetic to GLib. These will be based on compiler intrinsics where they are available, falling back to standard manual checks otherwise. The fallback case needs to be implemented as a function (which we do inline) because we cannot rely on statement expressions. We also implement the intrinsics case as an inline in order to avoid people accidentally writing non-portable code which depends on static evaluation of the builtin. For now there is only support for addition and multiplication for guint, guint64 and gsize. It may make sense to add support for subtraction or for the signed equivalents of those types in the future if we find a use for that. https://bugzilla.gnome.org/show_bug.cgi?id=503096 docs/reference/glib/glib-docs.xml | 1 + docs/reference/glib/glib-sections.txt | 11 +++ glib/docs.c | 124 ++++++++++++++++++++++++++++++++++ glib/gtypes.h | 57 +++++++++++++++- 4 files changed, 192 insertions(+), 1 deletion(-) commit 89bda59170b662d65f91d36220492cc890dafa0d Author: Allison Ryan Lortie AuthorDate: Wed Oct 28 11:14:11 2015 +0000 Commit: Allison Ryan Lortie CommitDate: Fri Oct 30 11:58:49 2015 +0100 macros: add dummy __has_builtin() Add a dummy definition for Clang's __has_builtin() macro. This will allow us to use __has_builtin() unconditionally, in the same way as we already do for __has_feature(). https://bugzilla.gnome.org/show_bug.cgi?id=503096 glib/gmacros.h | 4 ++++ 1 file changed, 4 insertions(+) commit 41bd8c90aebb0fd6de0735f52a3e9e99e67a5eed Author: Yosef Or Boczko AuthorDate: Fri Oct 30 12:50:00 2015 +0200 Commit: Yosef Or Boczko CommitDate: Fri Oct 30 12:50:00 2015 +0200 Updated Hebrew translation po/he.po | 381 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 196 insertions(+), 185 deletions(-) commit adfd1847763f71c79424386fd31e31693ea7f599 Author: Murray Cumming AuthorDate: Wed Oct 28 10:50:31 2015 +0100 Commit: Murray Cumming CommitDate: Wed Oct 28 10:50:40 2015 +0100 Fix tiny typo. gobject/glib-mkenums.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d52625a94a816fffb880b8a85f3bfd4c35d02b99 Author: Chun-wei Fan AuthorDate: Tue Oct 27 09:28:10 2015 +0800 Commit: Chun-wei Fan CommitDate: Tue Oct 27 09:28:10 2015 +0800 gwin32.c: Fix g_win32_check_windows_version() on 32-bit The Windows API function RtlGetVersion() is actually a function that is decorated by WINAPI (i.e. __stdcall), so we need to correct this so that the symbol can be loaded correctly from ntdll.dll, so that we won't crash as a result. Should fix the crash due to stack overflow on 32-bit builds. https://bugzilla.gnome.org/show_bug.cgi?id=756179 glib/gwin32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)