commit 926955f325e1fee48301d5a595a78a5bffd86ce5 Author: Matthias Clasen Date: Tue Feb 10 19:49:10 2015 -0500 2.43.4 NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 56f0c637cffce17c3aae5033aa3142a5ebc4edfd Author: Jasper St. Pierre Date: Tue Feb 10 11:50:53 2015 -0800 Update .gitignore gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 433fc9475d351f3529bea0ea18a443eb5ec7f3dc Author: Chun-wei Fan Date: Mon Feb 9 15:42:01 2015 +0800 gmem.h, gthread.h: Include glib/gutils.h gmem.h and gthread.h made use of the inline keyword, that is not available on all compilers in C-mode, causing builds to break on such compilers. Include glib/gutils.h which handles the inline issue, in place of glib/gtypes.h if applicable, which is included quite early on by glib/gutils.h. https://bugzilla.gnome.org/show_bug.cgi?id=744190 glib/gmem.h | 2 +- glib/gthread.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 59c0ff48257b812ad4542c914372fcc646abb0df Author: Sébastien Wilmet Date: Sun Oct 5 15:12:25 2014 +0200 GI annotation for g_get_charset() https://bugzilla.gnome.org/show_bug.cgi?id=736914 glib/gcharset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3f6d233e872e5d8a520486a644fb118d358a9be8 Author: Sébastien Wilmet Date: Thu Sep 18 17:16:59 2014 +0200 docs: code example for enumeration types I had to read the GTK+ code recently to have an example. https://bugzilla.gnome.org/show_bug.cgi?id=736914 gobject/genums.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 0110f2a810cfd638a0a6525deb69aeec7a0f0cab Author: Ryan Lortie Date: Fri Feb 6 17:00:01 2015 +0100 g_steal_pointer: make it C++ clean We have a test that #includes our headers from a C++ program to make sure we don't throw any errors or warnings as a result of that. The new inline implementation of g_steal_pointer() does an implicit conversion from (void *), which is not valid in C++. Add a cast to avoid the problem. Thanks to Ignacio Casal Quinteiro for the report. glib/gmem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aa68b3d6d6f6d6c51e753b26b0fdc67b0eeefa17 Author: Ryan Lortie Date: Fri Feb 6 12:41:57 2015 +0100 tests: add a test case for g_steal_pointer() Just some basic checking to make sure it works as intended. https://bugzilla.gnome.org/show_bug.cgi?id=742456 glib/tests/utils.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit e668796c5a90a19bce0ff893794817af6aad4dc2 Author: Ryan Lortie Date: Fri Feb 6 12:38:26 2015 +0100 Add new API g_steal_pointer() This is particularly nice when used with g_autoptr(). See examples in the docs. This patch is based upon an idea (and original patch submission) from Will Manley . https://bugzilla.gnome.org/show_bug.cgi?id=742456 glib/gmem.h | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) commit b5538416c065bafe760220e92754f891abd254b2 Author: Xavier Claessens Date: Tue Feb 3 10:40:15 2015 -0500 GListModel: Use G_DECLARE_INTERFACE https://bugzilla.gnome.org/show_bug.cgi?id=743939 gio/gio-autocleanups.h | 1 - gio/glistmodel.h | 12 +++--------- 2 files changed, 3 insertions(+), 10 deletions(-) commit 3d39b8eb01aa5590865691a303ee9153b2a35cf5 Author: Xavier Claessens Date: Tue Feb 3 10:40:07 2015 -0500 Add G_DECLARE_INTERFACE https://bugzilla.gnome.org/show_bug.cgi?id=743939 docs/reference/gobject/gobject-sections.txt | 1 + gobject/gtype.h | 74 +++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) commit 1404d3e12819b342fda74d082dcb067a029141b1 Author: Xavier Claessens Date: Thu Feb 5 10:35:42 2015 -0500 Add GMutexLocker https://bugzilla.gnome.org/show_bug.cgi?id=744012 docs/reference/glib/glib-sections.txt | 5 +++ glib/glib-autocleanups.h | 1 + glib/gthread.h | 69 +++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) commit 74c22150cf4c2f8a9c7d7fae058a7fd589a94a27 Author: Xavier Claessens Date: Thu Feb 5 16:20:43 2015 +0100 docs: fix up docs issues in gio/ docs/reference/gio/Makefile.am | 10 ++++ docs/reference/gio/gio-sections.txt | 111 +++++++++++++++++++++++++++++++++-- gio/fen/fen-kernel.c | 1 - gio/gaction.c | 7 +++ gio/gactiongroup.c | 7 +++ gio/gactionmap.c | 7 +++ gio/gappinfo.c | 10 +++- gio/gappinfo.h | 1 + gio/gapplication.c | 10 ++++ gio/gapplication.h | 5 -- gio/gapplicationcommandline.c | 7 +++ gio/gdbusactiongroup.c | 7 +++ gio/gdbusmenumodel.c | 7 +++ gio/gdbusobject.c | 7 +++ gio/gdbusobjectmanager.c | 7 +++ gio/gdesktopappinfo.c | 7 +++ gio/gdesktopappinfo.h | 4 +- gio/gfile.h | 3 + gio/gfiledescriptorbased.h | 2 + gio/gfileinfo.h | 4 +- gio/gicon.h | 1 + gio/giomodule.c | 12 ++++ gio/gnetworkmonitor.c | 16 +++++ gio/gproxyaddress.c | 8 +++ gio/gproxyresolver.c | 13 ++++ gio/gremoteactiongroup.c | 7 +++ gio/gresource.c | 7 +++ gio/gsettings.c | 7 +++ gio/gsettingsbackend.h | 15 +++++ gio/gsettingsschema.c | 15 ++++- gio/gsimpleaction.c | 8 +++ gio/gsocketcontrolmessage.h | 2 + gio/gsocketlistener.h | 2 + gio/gsocketservice.h | 2 + gio/gtcpwrapperconnection.c | 7 +++ gio/gtlsbackend.c | 4 ++ gio/gtlscertificate.c | 1 - gio/gtlsclientconnection.h | 8 +++ gio/gtlspassword.h | 9 +++ gio/gtlsserverconnection.h | 8 +++ gio/gunixconnection.c | 7 +++ gio/gunixfdlist.c | 7 +++ gio/gunixfdmessage.c | 7 +++ gio/gwin32mount.c | 2 +- gio/kqueue/kqueue-exclusions.c | 2 +- gio/kqueue/kqueue-helper.c | 4 +- gio/win32/gwinhttpfile.c | 2 +- gio/win32/gwinhttpfileinputstream.c | 2 +- gio/win32/gwinhttpfileoutputstream.c | 2 +- 49 files changed, 385 insertions(+), 26 deletions(-) commit 6a97275c4507e08b66fdeb4bb054bb8f78096f14 Author: Xavier Claessens Date: Thu Feb 5 15:24:27 2015 +0100 docs: fix many documentation issues in gobject/ docs/reference/gobject/Makefile.am | 5 ++--- docs/reference/gobject/gobject-sections.txt | 5 ++++- gobject/gboxed.c | 6 ------ gobject/gclosure.c | 20 ++++++++++++++++++++ gobject/gclosure.h | 19 +++++++++++++++++++ gobject/gparam.c | 2 +- gobject/gparam.h | 1 + gobject/gsignal.c | 13 +++++++++++++ gobject/gtype.h | 2 -- gobject/gtypemodule.h | 14 ++++++++++++++ gobject/gvaluecollector.h | 7 +++++++ 11 files changed, 81 insertions(+), 13 deletions(-) commit 7417198e4e1915e3ab026ce454ebb3f6349af1c6 Author: Ryan Lortie Date: Wed Feb 4 16:29:56 2015 +0100 docs: fix typo in g_settings_new_full() docstring gio/gsettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8d96932cb8aa9869dece68318176900334f40b3f Author: Ryan Lortie Date: Wed Feb 4 15:37:27 2015 +0100 docs: add a bunch of pointless documentation Document each of the baked-in CClosure marshallers that we have in gobject, along with their #GVaClosureMarshal equivalents. Based on a patch from Xavier Claessens . gobject/gmarshal.c | 790 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 790 insertions(+) commit d4791bd383189f4ea056e4f2aa0c90171bf7a6be Author: Xavier Claessens Date: Mon Feb 2 09:46:31 2015 -0500 Doc: Fix g_auto and g_autoptr typo glib/docs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a1c85833d4951bdb7dfd2c252f7e318059c3389b Author: Xavier Claessens Date: Mon Feb 2 15:00:25 2015 -0500 Doc: Add missing functions in gio.types This is made by doing a build with --rebuild-types option, then manually remove those functions: g_win32_input_stream_get_type g_win32_output_stream_get_type g_io_extension_get_type Maybe Makefile.am could remove them automatically so we can remove gio.types from git and rely on --rebuild-types option? docs/reference/gio/gio.types | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) commit 116d8fa042772be5828c4af8a1134ec09119b4fc Author: Xavier Claessens Date: Mon Feb 2 14:41:04 2015 -0500 Doc: sort and uniquify gio.types docs/reference/gio/gio.types | 76 +++++++++++++++++++++----------------------- 1 file changed, 36 insertions(+), 40 deletions(-) commit caf9db2dfbea4fd0306d4edf12b11ee91d235c7c Author: Xavier Claessens Date: Fri Jan 30 11:40:46 2015 -0500 Doc: Fix GListModel/GListStore docs/reference/gio/gio-sections.txt | 3 +-- gio/glistmodel.c | 10 +++++++++- gio/gliststore.c | 9 ++++++++- 3 files changed, 18 insertions(+), 4 deletions(-) commit 642f7a5c792ae2c2ba6deb301f910a3ca9438eac Author: Chun-wei Fan Date: Wed Feb 4 16:00:52 2015 +0800 Visual Studio 2008 Builds: Fix Header "Installation" Apparently I did not fix the "installation" of gliststore.h and glistmodel.h fully for Visual Studio 2008 builds. Fix that. Doh! build/win32/vs9/glib-install.vsprops | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5b74681f5b4dd3f5fc93b82a4f706c2337d76a8d Author: Aurélien Zanelli Date: Tue Feb 3 15:41:05 2015 +0100 gnulib/vasprintf: handle unsigned modifier for long long Otherwise, an unsigned integer will be displayed as a signed one if we use internal printf and if HAVE_LONG_LONG_FORMAT is not defined. https://bugzilla.gnome.org/show_bug.cgi?id=743936 glib/gnulib/vasnprintf.c | 5 +++++ 1 file changed, 5 insertions(+) commit c1b0f178ca4739e7ab2e4e47c4585d41db8637e5 Author: Lars Uebernickel Date: Tue Feb 3 16:06:53 2015 +0100 GListStore: fix preconditions in insert_sorted() gio/gliststore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 2b536d3cbb718e9cf731bf07df96738341540701 Author: Xavier Claessens Date: Tue Feb 3 15:57:54 2015 +0100 docs: fix typos in G_DECLARE_*_TYPE https://bugzilla.gnome.org/show_bug.cgi?id=743656 gobject/gtype.h | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) commit 26af7c152f602896cabf9ab6cb6ba42a47a5b992 Author: Ryan Lortie Date: Tue Feb 3 13:42:59 2015 +0100 tests: add test for GListStore inserted sort https://bugzilla.gnome.org/show_bug.cgi?id=743927 gio/tests/glistmodel.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) commit 3f3eac474b26d5e01fbfdb50f3e45b7f7826bad9 Author: Ryan Lortie Date: Tue Feb 3 13:18:10 2015 +0100 GListStore: add sorted insert function Add g_list_store_insert_sorted() which takes a GCompareDataFunc to decide where to insert. This ends up being a very trivial function, thanks to GSequence. https://bugzilla.gnome.org/show_bug.cgi?id=743927 docs/reference/gio/gio-sections.txt | 1 + gio/gliststore.c | 39 +++++++++++++++++++++++++++++++++++++ gio/gliststore.h | 6 ++++++ 3 files changed, 46 insertions(+) commit 6161b285da3d00fb4e02d4774d741799b6e18584 Author: Chun-wei Fan Date: Mon Feb 2 23:25:31 2015 +0800 gtype.h: Fix Build on non-GCC Use the (private) _GLIB_DEFINE_AUTOPTR_CHAINUP macro for G_DECLARE_DERIVABLE_TYPE and G_DECLARE_FINAL_TYPE so that we will attempt to typedef and define items necessary for GCC __attribute__((cleanup)) on, well, GCC only. This fixes the build on non-GCC. https://bugzilla.gnome.org/show_bug.cgi?id=743640 gobject/gtype.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 696db7561560d9311dca93f0c849f96770f41d01 Author: Chun-wei Fan Date: Mon Feb 2 23:21:35 2015 +0800 gmacros.h: Add Private Macro _GLIB_DEFINE_AUTOPTR_CHAINUP This is necessary as we are using _GLIB_AUTOPTR_TYPENAME and _GLIB_AUTOPTR_FUNC_NAME in gtype.h for G_DECLARE_DERIVABLE_TYPE and G_DECLARE_FINAL_TYPE, but _GLIB_AUTOPTR_TYPENAME and _GLIB_AUTOPTR_FUNC_NAME expand to nothing on non-GCC, causing builds on non-GCC to break, due to bad typedef and function definitions. This patch defines a new private macro which does what is needed on GCC builds and does nothing on non-GCC builds, thus fixing the build. https://bugzilla.gnome.org/show_bug.cgi?id=743640 glib/gmacros.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit ccf696a6e1da37ed414f08edb745a99aba935211 Author: Chun-wei Fan Date: Mon Feb 2 13:33:18 2015 +0800 glistmodel.h: Fix _GListModelInterface Define "interface" is a reserved word on Visual Studio, so fix the build by using g_iface instead. https://bugzilla.gnome.org/show_bug.cgi?id=743827 gio/glistmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 57a49f6891a0d69c0b3b686040bf81e303831b77 Author: Ryan Lortie Date: Mon Feb 2 09:16:55 2015 +0100 fix G_DEFINE_AUTO_CLEANUP_FREE_FUNC on non-GCC Add the missing 'none' argument to this macro in the non-GCC case. The none parameter was added after the others and I forgot to update the non-GCC case. https://bugzilla.gnome.org/show_bug.cgi?id=743640 glib/gmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 08f7f976961ca1174d187a917ec2a3d235f09448 Author: Ryan Lortie Date: Fri Jan 30 17:38:45 2015 +0100 docs: link the GListModel docs from the index docs/reference/gio/gio-docs.xml | 5 +++++ 1 file changed, 5 insertions(+) commit dee57faa6ca60f451b83655b59af806da4a48a17 Author: Chun-wei Fan Date: Mon Feb 2 14:27:29 2015 +0800 MSVC Builds: Fix "Installation" of GListModel Headers Somehow I had the wrong path for getting the headers... oops. build/win32/vs10/glib-install.props | 4 ++-- build/win32/vs9/glib-install.vsprops | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 25e26ea034eff1b1f9823106efb3d8db5fcbeaed Author: Chun-wei Fan Date: Mon Feb 2 14:16:18 2015 +0800 MSVC Builds: Update vs11|vs12/Makefile.am The rename of install.vxproj to glib-install.vcxproj needs to be applied here as well for dist'ing the project files correctly. build/win32/vs11/Makefile.am | 2 +- build/win32/vs12/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 444a5fcd4a22ca8c78cde5b4ee333287429c980e Author: Chun-wei Fan Date: Mon Feb 2 12:49:42 2015 +0800 MSVC Builds: Rename "install" Projects Rename the project to "install" the GLib files, as we are planning to have a grand solution file that would build the entire GTK+ stack with its deps, to ease the process for people building the GTK+ stack from a stock installation of Visual Studio. build/win32/vs10/Makefile.am | 2 +- build/win32/vs10/glib-install.vcxproj | 164 ++++++++++++++++++++++++++++++++++ build/win32/vs10/glib.sln | 2 +- build/win32/vs10/install.vcxproj | 164 ---------------------------------- build/win32/vs9/Makefile.am | 2 +- build/win32/vs9/glib-install.vcproj | 77 ++++++++++++++++ build/win32/vs9/glib.sln | 2 +- build/win32/vs9/install.vcproj | 77 ---------------- 8 files changed, 245 insertions(+), 245 deletions(-) commit 407adc6ea12e08950b36722b95fa54ef925de53a Author: Chun-wei Fan Date: Mon Feb 2 11:16:29 2015 +0800 gobject\gtype.h: Make up for Missing '\' The macro definition for G_DECLARE_DERIVABLE_TYPE was missing a '\' when we wanted to ignore deprecation warnings for it. gobject/gtype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 65f4bd17a2bab8c8ffb13a4c0311cfda86c5a630 Author: Chun-wei Fan Date: Mon Feb 2 11:14:07 2015 +0800 One More Update For MSVC Builds We also need to "install" the headers for Lars' new APIs for GListModel/ GListStore. build/win32/vs10/glib-install.props | 2 ++ build/win32/vs9/glib-install.vsprops | 2 ++ 2 files changed, 4 insertions(+) commit 50012fb426394c21f656c9c01f41cdf031794f28 Author: Chun-wei Fan Date: Mon Feb 2 10:51:25 2015 +0800 MSVC Builds: "Install" the Autocleanup Headers We are including the autocleanup headers as public headers for all builds, although they work only for GCC in reality, so "install" them. Also clean up a bit as we are having "\\" in places, where we only need "\". build/win32/vs10/glib-install.props | 283 ++++++++++++++++++----------------- build/win32/vs9/glib-install.vsprops | 283 ++++++++++++++++++----------------- 2 files changed, 286 insertions(+), 280 deletions(-) commit e2f8afdd85c18c6eea4ce42b0c9dad2cdbfc9b3e Author: Ryan Lortie Date: Fri Jan 30 15:21:20 2015 +0100 gio: add support for g_auto() and g_autoptr() Add support to libgio types for the new cleanup macros. https://bugzilla.gnome.org/show_bug.cgi?id=743640 gio/Makefile.am | 1 + gio/gdbusdaemon.h | 2 + gio/gdesktopappinfo.h | 2 + gio/gfiledescriptorbased.h | 1 + gio/gio-autocleanups.h | 147 ++++++++++++++++++++++++++++++++++++++++++ gio/gio.h | 2 + gio/gunixconnection.h | 2 + gio/gunixcredentialsmessage.h | 2 + gio/gunixfdlist.h | 1 + gio/gunixfdmessage.h | 2 + gio/gunixinputstream.h | 2 + gio/gunixmount.h | 1 + gio/gunixmounts.h | 1 + gio/gunixoutputstream.h | 2 + gio/gunixsocketaddress.h | 2 + gio/gunixvolume.h | 1 + gio/gwin32appinfo.h | 2 + gio/gwin32inputstream.h | 2 + gio/gwin32mount.h | 1 + gio/gwin32outputstream.h | 2 + 20 files changed, 178 insertions(+) commit 8ea414c8c6c40e208ebe4a9fdd41c7abdb05c392 Author: Ryan Lortie Date: Wed Jan 28 11:47:05 2015 +0000 G_DECLARE_*_TYPE: add auto cleanup support Automatically add support for the new cleanup macros to the type declaration macros. This is an API break because now your parent class needs to support cleanup if you want to use G_DECLARE_*_TYPE. These macros are only 1 day old, however, so that's probably not a big problem (and we are already busy adding the macros all over GLib and Gtk+). https://bugzilla.gnome.org/show_bug.cgi?id=743640 gobject/gtype.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 3d5de34def8b3120190ffb2561b5093abb6a3abb Author: Ryan Lortie Date: Wed Jan 28 11:46:34 2015 +0000 gobject: add support for g_auto() and g_autoptr() Add support to libgobject types for the new cleanup macros. https://bugzilla.gnome.org/show_bug.cgi?id=743640 glib/glib-object.h | 2 ++ gobject/Makefile.am | 1 + gobject/gobject-autocleanups.h | 26 ++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) commit 663834671dd34e95f7dbb6b96bebf1daac468c93 Author: Ryan Lortie Date: Wed Jan 28 11:45:26 2015 +0000 glib: add support for g_auto() and g_autoptr() Add support to the libglib types for the new cleanup macros. https://bugzilla.gnome.org/show_bug.cgi?id=743640 glib/Makefile.am | 1 + glib/glib-autocleanups.h | 67 ++++++++++++++++++++++++++++++++++++++++++++++++ glib/glib.h | 2 ++ 3 files changed, 70 insertions(+) commit 2596919c58a364243196e65a9adda693448139f7 Author: Ryan Lortie Date: Wed Jan 28 11:27:35 2015 +0000 macros: add support for GNUC cleanup __attribute__ Add g_auto() and g_autoptr() as helpers for declaring variables with automatic cleanup. Add some macros to help types define cleanup functions for themselves. Going forward it will be an expectation that people use this macro when creating a new type, even if they do not intend to use the auto-cleanup functionality for themselves. These new macros only work on GCC and clang, which is why we resisted adding them for so long. There exist many people who are only interested in writing programs for these compilers, however, and a similar API in libgsystem has proven to be extremely popular, so let's expose this functionality to an even wider audience. We ignore deprecation warnings when emitting the free functions, which seems suspicious. The reason that we do this is not because we want to call deprecated functions, but just the opposite: sometimes the free function will be an _unref() function that is only AVAILABLE_IN newer versions, and these warnings are also implemented as deprecation warnings. https://bugzilla.gnome.org/show_bug.cgi?id=743640 docs/reference/glib/glib-sections.txt | 7 ++ glib/docs.c | 190 ++++++++++++++++++++++++++++++++++ glib/gmacros.h | 34 ++++++ 3 files changed, 231 insertions(+) commit b5e1ea6fee6ac5b97585ffc1e30eb4f1ec137e1f Author: Ryan Lortie Date: Fri Jan 30 16:40:03 2015 +0100 DECLARE_TYPE: ignore deprecations in inlines Prevent complaints about deprecations in the inline functions emitted by the new G_DECLARE_*_TYPE macros. gobject/gtype.h | 4 ++++ 1 file changed, 4 insertions(+) commit 9d0389b3b574e6e0fc181ac161bf7c9ccd231e15 Author: Ryan Lortie Date: Wed Jan 28 11:30:23 2015 +0000 G_DECLARE_FINAL_TYPE: trivial fix in docs comment https://bugzilla.gnome.org/show_bug.cgi?id=743640 gobject/gtype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 93982d4a16d8623137177da2f994abaf8075b4b0 Author: Ryan Lortie Date: Fri Jan 30 15:30:02 2015 +0100 giotypefuncs test: tweak _get_type() regexp Make sure that we only match the _get_type() function name by restricting the regexp to matching [A-Za-z0-9_]. We were matching on .* before which means that if we had two _get_type() functions appearing on a single line then we would get everything in between them included (by the default rule of '*' being greedy). This affected G_DECLARE_*_TYPE which puts several uses of _get_type() into a single line. gio/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b69beff42691ef300b6829beb261ca4cdfff02be Author: Lars Uebernickel Date: Thu May 1 20:04:32 2014 +0200 Add GListModel GListModel is an interface that represents a dynamic list of GObjects. Also add GListStore, a simple implementation of GListModel that stores all objects in memory, using a GSequence. https://bugzilla.gnome.org/show_bug.cgi?id=729351 docs/reference/gio/gio-sections.txt | 38 ++++ gio/Makefile.am | 4 + gio/gio.h | 2 + gio/giotypes.h | 2 + gio/glistmodel.c | 260 ++++++++++++++++++++++ gio/glistmodel.h | 78 +++++++ gio/gliststore.c | 421 ++++++++++++++++++++++++++++++++++++ gio/gliststore.h | 66 ++++++ gio/tests/Makefile.am | 1 + gio/tests/glistmodel.c | 132 +++++++++++ 10 files changed, 1004 insertions(+) commit 6d55189d8c7eaf95b7d94d62b6e88caccaa4034a Author: Lars Uebernickel Date: Mon Jan 26 10:13:26 2015 +0000 gsettings: add g_settings_schema_list_children https://bugzilla.gnome.org/show_bug.cgi?id=743517 docs/reference/gio/gio-sections.txt | 1 + gio/gsettings.c | 24 +--------------------- gio/gsettingsschema.c | 41 +++++++++++++++++++++++++++++++++++++ gio/gsettingsschema.h | 3 +++ 4 files changed, 46 insertions(+), 23 deletions(-) commit d95bb1f08b07c3ae701076cd9d3cf6894a122e9c Author: Lars Uebernickel Date: Mon Jan 26 09:50:34 2015 +0000 gsettings: add g_settings_schema_key_get_name https://bugzilla.gnome.org/show_bug.cgi?id=743517 docs/reference/gio/gio-sections.txt | 1 + gio/gsettingsschema.c | 18 ++++++++++++++++++ gio/gsettingsschema.h | 2 ++ 3 files changed, 21 insertions(+) commit f3c604d2735fd63c5d45ecbeff9cb0e90d3356ac Author: Christian Hergert Date: Tue Jan 27 18:50:04 2015 +0000 G_DECLARE_DERIVED_TYPE: allow forward declarations This allows multiple declarations such as: typedef struct _Foo Foo; as is needed when you have systems with circular referencing. https://bugzilla.gnome.org/show_bug.cgi?id=743596 gobject/gtype.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e8d3f29300b695b1f49723fc561f3ab81a1fb361 Author: Dan Winship Date: Tue Jan 27 07:38:31 2015 -0500 gcredentialsprivate: clarify the USE_FREEBSD_CMSGCRED users Add comments clarifying what the three non-FreeBSD platforms using G_CREDENTIALS_USE_FREEBSD_CMSGCRED are. gio/gcredentialsprivate.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4c54b9fe31b2a9b2db3ccbce71ae486001cb8b5e Author: Peeter Must Date: Tue Jan 27 11:34:48 2015 +0900 gcredentials: Add support for DragonFly https://bugzilla.gnome.org/show_bug.cgi?id=743508 gio/gcredentialsprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3b4cb28e17c6a5dac64eb8afda2b1143757ad7a4 Author: Ryan Lortie Date: Mon Feb 3 17:40:17 2014 +0000 gtype: add type declaration macros for headers Add G_DECLARE_DERIVABLE_TYPE() and G_DECLARE_FINAL_TYPE() to allow skipping almost all of the typical GObject boilerplate code. These macros make some assumptions about GObject best practice that mean that they may not be usable with older classes that have to preserve API/ABI compatibility with a time before these practices existed. https://bugzilla.gnome.org/show_bug.cgi?id=389585 docs/reference/gobject/gobject-sections.txt | 2 + gobject/gtype.h | 158 ++++++++++++++++++++++++++++ 2 files changed, 160 insertions(+) commit e07cc89dee9ef3ad7d0062c0ac669025584ef281 Author: Chun-wei Fan Date: Mon Jan 26 11:17:28 2015 +0800 glib-sections.txt: Add g_win32_check_windows_version() https://bugzilla.gnome.org/show_bug.cgi?id=741895 docs/reference/glib/glib-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit bcbf80c35580142216f4b1ed2f71717efb2de99d Author: Chun-wei Fan Date: Mon Jan 26 11:11:48 2015 +0800 gwin32: Add g_win32_check_windows_version() API This adds a public API where one can use to see whether the running version of Windows where the code is run is at least the specified version, service pack level, and the type (non-server, server, any) of the running Windows OS. This API is done as: -GetVersion()/GetVersionEx() changed in the way they work since Windows 8.1 [1][2], so a newer mechanism to check the version of the running Windows operating system is needed. MSDN also states that GetVersion() might be further changed or removed after Windows 8.1. This provides a wrapper for VerfyVersionInfo() as well in GLib for most cases, which was recommended in place of g_win32_get_windows_version() for more detailed Windows version checking. -Provides an OS-level functionality check, for those that we don't need to venture into GetProcAddress(), and also to determine system API behavior changes due to differences in OS versions. Also added a note for the g_win32_get_windows_version() API that since the behavior of GetVersion() which it uses, is changed since Windows 8.1, users of the API should be aware. [1]: http://msdn.microsoft.com/zh-tw/library/windows/desktop/ms724451%28v=vs.85%29.aspx [2]: http://msdn.microsoft.com/zh-tw/library/windows/desktop/ms724451%28v=vs.85%29.aspx https://bugzilla.gnome.org/show_bug.cgi?id=741895 glib/gwin32.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- glib/gwin32.h | 26 ++++++++++++++++++- 2 files changed, 105 insertions(+), 3 deletions(-) commit be2d9b4f5801380ac02e8d158686538d10e3dee5 Author: Cosimo Cecchi Date: Mon Jan 26 11:18:06 2015 +0000 GSimpleAction: add g_simple_action_set_state_hint Currently the only way to set a state hint on an action is through a subclass; add a g_simple_action_set_state_hint() method so that this becomes easier for clients that already use GSimpleAction. https://bugzilla.gnome.org/show_bug.cgi?id=743521 docs/reference/gio/gio-sections.txt | 1 + gio/gsimpleaction.c | 39 ++++++++++++++++++++++++++++++++++++- gio/gsimpleaction.h | 4 ++++ 3 files changed, 43 insertions(+), 1 deletion(-) commit 2a0c18041ba71435df3fc3834d360553c97fdfe4 Author: Ilya Konstantinov Date: Sat Dec 20 11:19:00 2014 -0500 gthread: add thread name support on Mac OS https://bugzilla.gnome.org/show_bug.cgi?id=741807 configure.ac | 10 ++++++++++ glib/gthread-posix.c | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) commit 1cf7f5a2400ee9f4140e5c5bfab60e536bdabf14 Author: Philip Withnall Date: Sun Jan 25 17:09:35 2015 +0000 gobject: Fix a typo in a documentation comment gobject/gobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4462cd30bc737a590ab8eec8b50b90e9952ad083 Author: Philip Withnall Date: Sun Jan 25 17:09:24 2015 +0000 gthread: Fix a typo in a documentation comment glib/gthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 92041f4b3b7eca6ddff0bade48b77d88f906ca6f Author: Philip Withnall Date: Sun Jan 25 16:22:43 2015 +0000 gstrfuncs: Document that g_ascii_dtostr() writes a nul terminator And g_ascii_formatd(). Reviewed-by: Ryan Lortie glib/gstrfuncs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ef09373e03c9f2f8bf9388013c812bb73c12076f Author: Chun-wei Fan Date: Wed Jan 21 14:28:47 2015 +0800 gio/Makefile.am: Fix MSVC Project Generation We need to filter out gnetworkmonitornm.c in the MSVC Projects, as that is UNIX-only code. gio/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 29307b4e41d36bfbc73f3c6405d6ccdfbf1f87e6 Author: Ryan Lortie Date: Tue Jan 20 01:38:13 2015 -0500 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)