commit 61539f735a92a40597e7575b9ae870973257fccd Author: Matthias Clasen Date: Mon Jan 14 23:52:10 2013 -0500 2.35.4 NEWS | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 64 insertions(+), 5 deletions(-) commit a605b332c5a918006de8f50e9741dd0f33aa1e31 Author: Matthias Clasen Date: Mon Jan 14 23:25:05 2013 -0500 Dist assert-msg-test.gdb And refer to it in srcdir. Otherwise, the test fails mysteriously in make distcheck. tests/Makefile.am | 3 ++- tests/run-assert-msg-test.sh | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 5d42fdd068bddaaf7e42b7aaca2c15e931ebf3c5 Author: Ryan Lortie Date: Mon Jan 14 23:24:53 2013 -0500 visibility: Use a separate CFLAGS variable We only want to control the default visibility for our five main installable libraries: libglib, libgthread, libgmodule, libgobject, libgio. We should therefore only set -fvisibility=hidden when building those. Use a separate substitution variable for this purpose. Using CFLAGS directly leads to some modules built in testcases not exporting their symbols (and then the tests fail). It also affects the fam file monitoring module. Colin had originally done it this way in his visibility patch series but I failed to understand why so I didn't copy it. Now I do. Also: revert changes made to two testcases in an attempt to work around this issue. https://bugzilla.gnome.org/show_bug.cgi?id=691756 configure.ac | 4 +++- gio/Makefile.am | 3 ++- gio/tests/resourceplugin.c | 8 +++----- glib/Makefile.am | 1 + gmodule/Makefile.am | 1 + gobject/Makefile.am | 2 +- gthread/Makefile.am | 1 + tests/libmoduletestplugin_a.c | 20 ++++++++------------ tests/libmoduletestplugin_b.c | 19 ++++++++----------- tests/module-test.c | 6 ++---- 10 files changed, 30 insertions(+), 35 deletions(-) commit 7e00f381916cab6ba13f1d430310802cf6b9c726 Author: Matthias Clasen Date: Mon Jan 14 22:47:02 2013 -0500 Fix module-test in a better way Avoid having visibility attribute directly in the code by adding a _GLIB_EXTERN-decorated declaration for the exported variables. tests/libmoduletestplugin_a.c | 3 ++- tests/libmoduletestplugin_b.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit d4f0ae2c692f95046e381a2825b839b4816aea86 Author: Matthias Clasen Date: Mon Jan 14 22:22:41 2013 -0500 Fix distcheck With gdbus-testserver now being a compiled program, it no longer lives in SRCDIR. gio/tests/gdbus-connection-loss.c | 2 +- gio/tests/gdbus-connection-slow.c | 2 +- gio/tests/gdbus-connection.c | 2 +- gio/tests/gdbus-introspection.c | 2 +- gio/tests/gdbus-proxy-well-known-name.c | 4 ++-- gio/tests/gdbus-proxy.c | 4 ++-- gio/tests/gdbus-threading.c | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) commit b96499690b0da7f2713e4d5d75b4e375ef01ed2b Author: Matthias Clasen Date: Mon Jan 14 21:31:47 2013 -0500 Fix up visibility fallout in module-test tests/libmoduletestplugin_a.c | 19 +++++++++++-------- tests/libmoduletestplugin_b.c | 18 ++++++++++-------- tests/module-test.c | 6 ++++-- 3 files changed, 25 insertions(+), 18 deletions(-) commit d1c25d3191214ce6cd289f0756e6027c35cc2075 Author: Matthias Clasen Date: Mon Jan 14 17:21:52 2013 -0500 Fix the assert-msg test gdb is playing games with us, by breaking -x /dev/stdin tests/assert-msg-test.gdb | 3 +++ tests/run-assert-msg-test.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) commit ba4a3849c6cd5f14060a540398b0c498ae906bee Author: Matthias Clasen Date: Mon Jan 14 15:53:37 2013 -0500 Remove an unused function gio/tests/gdbus-test-fixture.c | 9 --------- 1 file changed, 9 deletions(-) commit 57041baf58dd4a3aad5ffee804ef8fc9fa15d6af Author: Matthias Clasen Date: Mon Jan 14 15:53:13 2013 -0500 Make the build more quiet gobject/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 456d6bb3e14402df58d26c64dadb5317dbf065e6 Author: Ryan Lortie Date: Mon Jan 14 11:17:52 2013 -0500 win32: hide g_win32_app_info_get_type() This was in a private header file and was never part of the public ABI. Hide it again. Caught by Dieter Verfaillie. gio/gwin32appinfo.h | 1 - 1 file changed, 1 deletion(-) commit b7e749fc68eeedf0abc392c00acb8d0bde2352dd Author: Ryan Lortie Date: Mon Jan 14 11:14:53 2013 -0500 glocal*monitor: export ABI only on UNIX Add an #ifdef G_OS_UNIX around the GLIB_AVAILABLE_IN_ALL annotation on the _get_type() functions for GLocal{File,Directory}Monitor. These symbols are in private header files and are only exported so that the in-tree file monitoring modules can subclass. This is only needed on UNIX and was therefore never part of the public ABI on Windows. Caught by Dieter Verfaillie. gio/glocaldirectorymonitor.h | 2 ++ gio/glocalfilemonitor.h | 2 ++ 2 files changed, 4 insertions(+) commit 963243e6b52a7083c1ae152ce92948cbfcd5945f Author: Ryan Lortie Date: Mon Jan 14 11:11:00 2013 -0500 win32: hide _glib_get_dll_directory again This is not part of our public ABI and it's not used from the other libraries in GLib, so we should not be exporting it. Caught by Dieter Verfaillie. glib/glib-private.h | 1 - 1 file changed, 1 deletion(-) commit aac826723391950c873682e2b7fb2ee7617a57f8 Author: Martin Pitt Date: Mon Jan 14 11:26:30 2013 +0100 GParamSpec: Make constructors introspectable Commit 282366c3262 unnecessarily (skip)ed all the GParamSpec constructors like g_param_spec_bool(). Make those introspectable by dropping the (skip) and adding proper transfer annotations. Keep g_param_spec_value_array() skipped as GValueArray is deprecated. gobject/gparamspecs.c | 88 +++++++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) commit 2c13657b0f1d9bd3bb2f6658adc6a410b13f355d Author: Ryan Lortie Date: Mon Jan 14 00:13:00 2013 -0500 tests: introduce a small hack for visibility One of our testcases builds a small giomodule for testing the loading of modules containing resources. Unfortunately, this module gets built using the same CFLAGS as the rest of GLib, including the visibility flags (defaulting to hidden). Use "config.h" to get a declaration of _GLIB_EXTERN that will export symbols properly and use it to annotate the necessary APIs. gio/tests/resourceplugin.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit f8756694cf3883b45d88eca99c013511f7ed0c10 Author: Ryan Lortie Date: Mon Jan 14 00:06:26 2013 -0500 gthread-impl.c: add missing #include "config.h" One of the features of our new symbol exporting regime is that it forces config.h to be included at the top of every .c file. This was missed in gthread-impl.c. The only reason this wasn't noticed is because nothing in this file is being used anymore. We need those symbols to continue to be exported for reasons of ABI backwards compatibility, however. gthread/gthread-impl.c | 2 ++ 1 file changed, 2 insertions(+) commit 59e46c4928243f63072996f6e98dab24d765df05 Author: Ryan Lortie Date: Sun Jan 13 23:43:44 2013 -0500 kqueue: Reduce G_GNUC_INTERNAL + G_LOCK abuse The kqueue file monitoring backend was misusing G_GNUC_INTERNAL for want of 'static' in a couple of places and also using it to declare a lock that was never used at all. Fix those up. gio/kqueue/kqueue-helper.c | 4 +--- gio/kqueue/kqueue-missing.c | 2 +- gio/kqueue/kqueue-thread.c | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) commit 64e1a9ca50cca461e7c6e2a4eb20a457269b6701 Author: Ryan Lortie Date: Sun Jan 13 23:30:49 2013 -0500 gio: remove export tags from two private headers I got a little bit too excited and added GLIB_AVAILABLE_IN_ALL tags to some internal API. gio/glocalfileinputstream.h | 3 --- gio/glocalfileiostream.h | 2 -- 2 files changed, 5 deletions(-) commit 068a119f7401efe68c0fdbfaea86c5e55c0ed7d5 Author: Ryan Lortie Date: Sun Jan 13 15:41:03 2013 -0500 win32: build: stop using .def files With visibility now under the control of __declspec(dllexport) we no longer need to build .def files or use them for building our various .dll files. .def files used to be installed (even though it is only really useful when creating the .dll or .lib file). Don't do that anymore either. The Makefiles still contain rules to create a .lib file for use with Visual Studio and these rules require .def files. There are special requirements to using these rules (like having installed and setup Microsoft tools for use during the build) and therefore the problem of creating a .def file for use with them is left open to anyone willing to make the effort. Many options are available depending on which toolchain is in use (dlltool, pexport, gendef, dumpbin.exe, just to name a few). If we can find a free tool for creating .lib files in the future, we should probably revisit this issue and add proper support back to our build system. gio/Makefile.am | 20 ++------------------ glib/Makefile.am | 20 ++------------------ gmodule/Makefile.am | 19 ++----------------- gobject/Makefile.am | 21 +++------------------ 4 files changed, 9 insertions(+), 71 deletions(-) commit 2e7669f5cc46927602108c328fbbeb846bd09218 Author: Ryan Lortie Date: Thu Dec 6 13:42:06 2012 -0500 configure.ac: change our visibility policy Check for -fvisibility=hidden as a supported CFLAG. If it is supported, use it and emit an AC_DEFINE to change the meaning of _GLIB_EXTERN to include the GNU attribute for marking symbols as public: __attribute((visibility("default"))). This will override the public definition of _GLIB_EXTERN for any file which does #include "config.h" (forcing all our .c files to do so, as a side effect). If we're on mingw, assume that -fvisibility will work and also throw in a __declspec(dllexport) for good measure. This will allow us to move away from using a .def file to create the the various DLLs. It's possible that there may be compilers that accept -fvisibility=hidden but don't accept the GNU attribute for making symbols public again -- we will hopefully receive bugs if any of those exist. https://bugzilla.gnome.org/show_bug.cgi?id=688681 configure.ac | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) commit f13d3c075fce46a361ea98fb0c487aa21d4d1673 Author: Ryan Lortie Date: Sun Jan 13 15:34:27 2013 -0500 win32: visibility fixups Add/remove visibility macros according to if symbols were previously part of our public win32 API. glib/glib-private.h | 2 ++ glib/gunicode.h | 2 -- glib/gwin32.h | 14 +++++++++++--- 3 files changed, 13 insertions(+), 5 deletions(-) commit 38359d1796d8bce43fb77c74adaaf664bcf82c21 Author: Ryan Lortie Date: Sun Jan 13 22:57:27 2013 -0500 gio: hide another leaked symbol guint g_menu_model_items_changed_signal leaked out. Tuck it back in. gio/gio.symbols | 1 - gio/gmenumodel.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) commit 47c9b1e315824501843880dd20785d97792cb500 Author: Rico Tzschichholz Date: Sun Jan 13 20:49:15 2013 +0100 gio: add some missing array annotations with their element-type gio/gactionmap.c | 4 ++-- gio/ginputstream.c | 9 ++++++--- gio/gsocket.c | 8 ++++---- 3 files changed, 12 insertions(+), 9 deletions(-) commit 85997d9eeb0581110c7df9a0fd7febeb27a3ee4d Author: Rico Tzschichholz Date: Sun Jan 13 20:05:17 2013 +0100 gio: add missing element-type annotation gio/gtlsdatabase.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3bd09b5fa602962b9f0445295984f7e17f8995d5 Author: Ryan Lortie Date: Thu Dec 6 14:01:46 2012 -0500 gmarshal.h: replace "extern" with GLIB_AVAILABLE_IN_ALL This was one of the few public header files that was properly declaring functions as "extern". Switch it to use GLIB_AVAILABLE_IN_ALL instead. https://bugzilla.gnome.org/show_bug.cgi?id=688681 gobject/gmarshal.h | 616 ++++++++++++++++++++++++++++------------------------- 1 file changed, 330 insertions(+), 286 deletions(-) commit 4625c138e96bca942c9215132df14d194c884802 Author: Ryan Lortie Date: Thu Dec 6 14:03:22 2012 -0500 gbacktrace.c: special treatment for a weird symbol We have a public symbol 'glib_on_error_halt' that is exported from gbacktrace.c without appearing in a header, presumably with the intention that people will be able to hit it from their debugger. Mark it as GLIB_AVAILABLE_IN_ALL from inside the .c file... https://bugzilla.gnome.org/show_bug.cgi?id=688681 glib/gbacktrace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b91c47682749b7e1455305ec5f99d5f950574a36 Author: Ryan Lortie Date: Thu Dec 6 13:37:45 2012 -0500 Add a new _GLIB_EXTERN macro for "extern" This macro simply evaluates the "extern" unless it has been explicitly defined to something else. All of the version macros (including the unversioned deprecation markers and GLIB_AVAILABLE_IN_ALL) now include _GLIB_EXTERN as part of their definition. G_INLINE has also been modified to use _GLIB_EXTERN where appropriate. This macro should never be used outside of the gmacros.h/gversonmacros.h headers. The effect of this patch is that "extern" has now been added to all functions declared in installed headers. Strictly speaking, this is something we should have had all along... GLIB_VAR and GOBJECT_VAR have also been modified to use _GLIB_EXTERN on non-Windows, instead of "extern" which they were using before. The eventual goal is to use the normal version/deprecation macros on exported variables and drop GLIB_VAR but we need to see how this will work on Windows before we go ahead with that. https://bugzilla.gnome.org/show_bug.cgi?id=688681 glib/gmacros.h | 16 ++++++++++------ glib/gtypes.h | 2 +- glib/gutils.h | 4 ++-- glib/gversionmacros.h | 38 +++++++++++++++++++------------------- gobject/gparamspecs.h | 2 +- 5 files changed, 33 insertions(+), 29 deletions(-) commit ba1bdd0708b154396c0e0d0609353db21ab5e6e9 Author: Ryan Lortie Date: Sun Jan 13 13:13:03 2013 -0500 add a missing AVAILABLE_IN_2_36 annotation gio/gapplicationcommandline.h | 1 + 1 file changed, 1 insertion(+) commit 0156092a4203d1c40dcd0df7515fc7eeaebba9ac Author: Ryan Lortie Date: Thu Dec 6 14:04:59 2012 -0500 various: add GLIB_AVAILABLE_IN_ALL everywhere else Add the GLIB_AVAILABLE_IN_ALL annotation to all old functions (that haven't already been annotated with the GLIB_AVAILABLE_IN_* macros or a deprecation macro). If we discover in the future that we cannot use only one macro on Windows, it will be an easy sed patch to fix that. https://bugzilla.gnome.org/show_bug.cgi?id=688681 gio/gaction.h | 8 +++ gio/gactiongroup.h | 14 +++++ gio/gappinfo.h | 37 ++++++++++++ gio/gapplication.h | 17 ++++++ gio/gapplicationcommandline.h | 11 ++++ gio/gasyncinitable.h | 7 +++ gio/gasyncresult.h | 3 + gio/gbufferedinputstream.h | 12 ++++ gio/gbufferedoutputstream.h | 7 +++ gio/gcancellable.h | 15 +++++ gio/gcharsetconverter.h | 5 ++ gio/gcontenttype.h | 11 ++++ gio/gconverter.h | 3 + gio/gconverterinputstream.h | 3 + gio/gconverteroutputstream.h | 3 + gio/gcredentials.h | 8 +++ gio/gdatainputstream.h | 22 +++++++ gio/gdataoutputstream.h | 12 ++++ gio/gdbusactiongroup.h | 1 + gio/gdbusaddress.h | 6 ++ gio/gdbusauthobserver.h | 3 + gio/gdbusconnection.h | 41 +++++++++++++ gio/gdbuserror.h | 11 ++++ gio/gdbusinterface.h | 4 ++ gio/gdbusinterfaceskeleton.h | 14 +++++ gio/gdbusintrospection.h | 31 ++++++++++ gio/gdbusmenumodel.h | 2 + gio/gdbusmessage.h | 50 ++++++++++++++++ gio/gdbusmethodinvocation.h | 18 ++++++ gio/gdbusnameowning.h | 5 ++ gio/gdbusnamewatching.h | 5 ++ gio/gdbusobject.h | 4 ++ gio/gdbusobjectmanager.h | 5 ++ gio/gdbusobjectmanagerclient.h | 11 ++++ gio/gdbusobjectmanagerserver.h | 8 +++ gio/gdbusobjectproxy.h | 3 + gio/gdbusobjectskeleton.h | 7 +++ gio/gdbusproxy.h | 26 +++++++++ gio/gdbusserver.h | 8 +++ gio/gdbusutils.h | 8 +++ gio/gdesktopappinfo.h | 7 +++ gio/gdrive.h | 25 ++++++++ gio/gemblem.h | 5 ++ gio/gemblemedicon.h | 6 ++ gio/gfile.h | 109 +++++++++++++++++++++++++++++++++++ gio/gfileattribute.h | 7 +++ gio/gfiledescriptorbased.h | 2 + gio/gfileenumerator.h | 11 ++++ gio/gfileicon.h | 3 + gio/gfileinfo.h | 72 +++++++++++++++++++++++ gio/gfileinputstream.h | 4 ++ gio/gfileiostream.h | 5 ++ gio/gfilemonitor.h | 5 ++ gio/gfilenamecompleter.h | 5 ++ gio/gfileoutputstream.h | 5 ++ gio/gfilterinputstream.h | 4 ++ gio/gfilteroutputstream.h | 4 ++ gio/gicon.h | 5 ++ gio/ginetaddress.h | 20 +++++++ gio/ginetsocketaddress.h | 4 ++ gio/ginitable.h | 5 ++ gio/ginputstream.h | 15 +++++ gio/gioerror.h | 3 + gio/giomodule.h | 18 ++++++ gio/giostream.h | 12 ++++ gio/gloadableicon.h | 4 ++ gio/glocaldirectorymonitor.h | 1 + gio/glocalfileinputstream.h | 3 + gio/glocalfileiostream.h | 2 + gio/glocalfilemonitor.h | 1 + gio/gmemoryinputstream.h | 4 ++ gio/gmemoryoutputstream.h | 6 ++ gio/gmount.h | 24 ++++++++ gio/gmountoperation.h | 15 +++++ gio/gnativevolumemonitor.h | 1 + gio/gnetworkaddress.h | 7 +++ gio/gnetworkmonitor.h | 4 ++ gio/gnetworkmonitorbase.h | 2 + gio/gnetworkservice.h | 7 +++ gio/goutputstream.h | 19 ++++++ gio/gpermission.h | 11 ++++ gio/gpollableinputstream.h | 5 ++ gio/gpollableoutputstream.h | 5 ++ gio/gpollableutils.h | 1 + gio/gproxy.h | 6 ++ gio/gproxyaddress.h | 7 +++ gio/gproxyaddressenumerator.h | 1 + gio/gproxyresolver.h | 6 ++ gio/gresolver.h | 15 +++++ gio/gseekable.h | 6 ++ gio/gsettings.h | 44 ++++++++++++++ gio/gsettingsbackend.h | 12 ++++ gio/gsimpleaction.h | 4 ++ gio/gsimpleactiongroup.h | 5 ++ gio/gsimpleasyncresult.h | 25 ++++++++ gio/gsimplepermission.h | 2 + gio/gsocket.h | 40 +++++++++++++ gio/gsocketaddress.h | 5 ++ gio/gsocketaddressenumerator.h | 4 ++ gio/gsocketclient.h | 31 ++++++++++ gio/gsocketconnectable.h | 3 + gio/gsocketconnection.h | 7 +++ gio/gsocketcontrolmessage.h | 6 ++ gio/gsocketlistener.h | 14 +++++ gio/gsocketservice.h | 5 ++ gio/gsrvtarget.h | 9 +++ gio/gtcpconnection.h | 3 + gio/gtcpwrapperconnection.h | 3 + gio/gthemedicon.h | 7 +++ gio/gthreadedresolver.h | 1 + gio/gthreadedsocketservice.h | 2 + gio/gtlsbackend.h | 8 +++ gio/gtlscertificate.h | 7 +++ gio/gtlsclientconnection.h | 9 +++ gio/gtlsconnection.h | 18 ++++++ gio/gtlsdatabase.h | 14 +++++ gio/gtlsfiledatabase.h | 2 + gio/gtlsinteraction.h | 5 ++ gio/gtlspassword.h | 11 ++++ gio/gtlsserverconnection.h | 2 + gio/gunixconnection.h | 5 ++ gio/gunixcredentialsmessage.h | 5 ++ gio/gunixfdlist.h | 8 +++ gio/gunixfdmessage.h | 6 ++ gio/gunixinputstream.h | 5 ++ gio/gunixmounts.h | 33 +++++++++++ gio/gunixoutputstream.h | 5 ++ gio/gunixsocketaddress.h | 7 +++ gio/gvfs.h | 8 +++ gio/gvolume.h | 17 ++++++ gio/gvolumemonitor.h | 7 +++ gio/gwin32appinfo.h | 1 + gio/gwin32inputstream.h | 5 ++ gio/gwin32outputstream.h | 5 ++ gio/gzlibcompressor.h | 4 ++ gio/gzlibdecompressor.h | 3 + glib/deprecated/gthread-deprecated.c | 1 + glib/garray.h | 49 ++++++++++++++++ glib/gasyncqueue.h | 20 +++++++ glib/gatomic.h | 12 ++++ glib/gbacktrace.h | 2 + glib/gbase64.h | 6 ++ glib/gbitlock.h | 6 ++ glib/gbookmarkfile.h | 40 +++++++++++++ glib/gbytes.h | 14 +++++ glib/gcharset.h | 4 ++ glib/gchecksum.h | 10 ++++ glib/gconvert.h | 21 +++++++ glib/gdataset.h | 15 +++++ glib/gdate.h | 47 +++++++++++++++ glib/gdatetime.h | 47 +++++++++++++++ glib/gdir.h | 6 ++ glib/genviron.h | 11 ++++ glib/gerror.h | 12 ++++ glib/gfileutils.h | 24 ++++++++ glib/ggettext.h | 6 ++ glib/ghash.h | 37 ++++++++++++ glib/ghook.h | 23 ++++++++ glib/ghostutils.h | 5 ++ glib/giochannel.h | 43 ++++++++++++++ glib/gkeyfile.h | 47 +++++++++++++++ glib/glib-private.h | 1 + glib/glibintl.h | 2 + glib/glist.h | 30 ++++++++++ glib/gmain.h | 79 +++++++++++++++++++++++++ glib/gmappedfile.h | 6 ++ glib/gmarkup.h | 15 +++++ glib/gmem.h | 16 +++++ glib/gmessages.h | 15 +++++ glib/gnode.h | 26 +++++++++ glib/goption.h | 26 +++++++++ glib/gpattern.h | 6 ++ glib/gpoll.h | 1 + glib/gprimes.h | 1 + glib/gprintf.h | 7 +++ glib/gqsort.h | 1 + glib/gquark.h | 6 ++ glib/gqueue.h | 40 +++++++++++++ glib/grand.h | 16 +++++ glib/gregex.h | 40 +++++++++++++ glib/gscanner.h | 21 +++++++ glib/gsequence.h | 37 ++++++++++++ glib/gshell.h | 4 ++ glib/gslice.h | 6 ++ glib/gslist.h | 28 +++++++++ glib/gspawn.h | 13 +++++ glib/gstdio.h | 19 ++++++ glib/gstrfuncs.h | 45 +++++++++++++++ glib/gstring.h | 31 ++++++++++ glib/gstringchunk.h | 6 ++ glib/gtestutils.h | 45 +++++++++++++++ glib/gthread.h | 16 +++++ glib/gthreadpool.h | 14 +++++ glib/gtimer.h | 11 ++++ glib/gtimezone.h | 10 ++++ glib/gtree.h | 16 +++++ glib/gunicode.h | 63 ++++++++++++++++++++ glib/gurifuncs.h | 4 ++ glib/gutils.h | 28 +++++++++ glib/gvariant-internal.h | 2 + glib/gvariant-serialiser.h | 9 +++ glib/gvariant.h | 101 ++++++++++++++++++++++++++++++++ glib/gvarianttype.h | 30 ++++++++++ glib/gvarianttypeinfo.h | 10 ++++ glib/gversion.h | 1 + gmodule/gmodule.h | 10 ++++ gobject/gbinding.h | 10 ++++ gobject/gboxed.h | 10 ++++ gobject/gclosure.h | 18 ++++++ gobject/genums.h | 14 +++++ gobject/glib-types.h | 17 ++++++ gobject/gobject.h | 59 +++++++++++++++++++ gobject/gparam.h | 29 ++++++++++ gobject/gparamspecs.h | 23 ++++++++ gobject/gsignal.h | 38 ++++++++++++ gobject/gsourceclosure.h | 2 + gobject/gtype.h | 57 ++++++++++++++++++ gobject/gtypemodule.h | 8 +++ gobject/gtypeplugin.h | 5 ++ gobject/gvalue.h | 11 ++++ gobject/gvaluetypes.h | 38 ++++++++++++ 221 files changed, 3186 insertions(+) commit 0dba77d0f4a28671d77222129f219b5961748562 Author: Ryan Lortie Date: Thu Dec 6 13:59:35 2012 -0500 gioenumtypes.h.template: use GLIB_AVAILABLE_IN_ALL glib-mkenums is not currently clever enough to know which version an enum type was added in, so just mark all the _get_type() functions as available in all versions. https://bugzilla.gnome.org/show_bug.cgi?id=688681 gio/gioenumtypes.h.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0a2b58625998680568623e69fd7fcedfd33d04da Author: Ryan Lortie Date: Thu Dec 6 13:34:55 2012 -0500 gversionmacros.h: add GLIB_AVAILABLE_IN_ALL Add a macro to declare that a particular symbol is available in all versions of GLib. All newly-added symbols should have proper version macros (like GLIB_AVAILABLE_IN_2_36) and this macro is less likely to get used 'by accident' for those than one with a name like GLIB_EXTERN or GLIB_PUBLIC. https://bugzilla.gnome.org/show_bug.cgi?id=688681 glib/gversionmacros.h | 1 + 1 file changed, 1 insertion(+) commit c219181cb20a57988ed8426be2a5da8acf6aa07c Author: Henrique Dante de Almeida Date: Sun Jan 13 14:05:14 2013 -0200 Add G_GNUC_PRINTF on all functions with format strings This allows compilation with clang without errors, even when -Wformat-nonliteral is active (as long as there are no real cases of non literal formatting). https://bugzilla.gnome.org/show_bug.cgi?id=691608 gio/gdbusauth.c | 1 + gio/gdbusauthmechanismsha1.c | 1 + gio/gdbusdaemon.c | 1 + gio/gdbuserror.h | 4 ++-- gio/gdbusmessage.c | 1 + gio/gdbusmethodinvocation.h | 5 +++-- gio/gsimpleasyncresult.h | 5 +++-- gio/gtask.h | 2 +- glib/gerror.c | 1 + glib/gerror.h | 2 +- glib/gmarkup.c | 2 ++ glib/gmarkup.h | 2 +- glib/gmessages.h | 4 ++-- glib/gprintf.h | 8 ++++---- glib/gstrfuncs.h | 3 ++- glib/gstring.h | 6 ++++-- glib/gutils.h | 3 ++- glib/gvariant-parser.c | 4 ++++ glib/tests/markup-escape.c | 1 + glib/tests/string.c | 1 + glib/tests/test-printf.c | 1 + 21 files changed, 39 insertions(+), 19 deletions(-) commit 120834db5b1cc735530d2452440ffd8a3b6e48f7 Author: Benjamin Otte Date: Sun Jan 13 18:14:11 2013 +0100 API: Constify g_get_prgname() Found by Mike Gorse while via pygobject freeing the value. Should have been const according to original commit message. glib/gutils.c | 2 +- glib/gutils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 52bfa084c4221d4283b2e1eb7aab8dca246d6921 Author: Fran Diéguez Date: Sun Jan 13 17:39:08 2013 +0100 Updated Galician translations po/gl.po | 164 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 88 insertions(+), 76 deletions(-) commit 0864e3bd6fc17bab3f60b6f0e240efb44b6b5d43 Author: Henrique Dante de Almeida Date: Sun Jan 13 12:58:12 2013 -0200 build: Ensure user-set CFLAGS override defaults For example, the user should be able disable our default -Werror settings. https://bugzilla.gnome.org/show_bug.cgi?id=691608 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1738d5f1ef7ade40445aeb296911f9ef59da8a19 Author: Dan Winship Date: Sat Jan 12 17:39:37 2013 -0500 GInputStream: fix default g_input_stream_skip_async() logic g_input_stream_real_skip_async() wants to use read_async() normally, but will use skip() in a thread instead if it sees that read_async() will end up using threads. Except that the test for "will read_async() use threads" never got updated to know about the GPollableInputStream support in read_async(), so it was doing the wrong thing in that case. Fix. Also remove a small bit of pre-GTask cruft noticed nearby. https://bugzilla.gnome.org/show_bug.cgi?id=691489 gio/ginputstream.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit e9661331babcdb19e52c094d94948ce1292b145e Author: Matej Urbančič Date: Sun Jan 13 12:02:42 2013 +0100 Updated Slovenian translation po/sl.po | 252 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 134 insertions(+), 118 deletions(-) commit 12168bd6615f7e5aa7d1ad388a6b4fc0c522015c Author: Alexander Shopov Date: Sat Jan 12 20:18:05 2013 +0200 Updated Bulgarian translation po/bg.po | 1226 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 620 insertions(+), 606 deletions(-) commit be04560f96b533a1ac591f466a2ad5b428348069 Author: Matthias Clasen Date: Sat Jan 12 13:02:31 2013 -0500 Expand g_type_init release notes This is in the light of https://bugzilla.gnome.org/show_bug.cgi?id=691077 README.in | 5 +++++ 1 file changed, 5 insertions(+) commit 8fe8dcda1e6c3d799a0409ef983811d9c659a3cf Author: Colin Walters Date: Fri Jan 11 11:10:15 2013 -0500 glocalfile: Only check for .hidden files if standard::is-hidden is requested For OSTree, I use Gio and also really care about performance. It's disturbing to see open('.hidden') all over my straces and such. At the moment I have an explicit set of things to query, as opposed to "standard::*", since even before this that also implies an lstat() of the parent directory. This matches up with what we do for all the other attributes. See https://bugzilla.gnome.org/show_bug.cgi?id=587806 https://bugzilla.gnome.org/show_bug.cgi?id=691558 gio/glocalfileinfo.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit a1f40adf733b64500b09e0d02d51967b43df9ee5 Author: Colin Walters Date: Thu Jan 10 16:25:15 2013 -0500 gio-querymodules: Ensure we're linked to GObject Since we're dynamically loading objects, after the g_type_init() change, we now need to ensure people building with --as-needed don't lose the DT_NEEDED on libgobject. https://bugzilla.gnome.org/show_bug.cgi?id=691077 gio/gio-querymodules.c | 3 +++ 1 file changed, 3 insertions(+) commit f2a5b33270389b741e6ed756bf4d12730f8b392f Author: Will Thompson Date: Thu Jan 10 11:16:47 2013 +0000 G_IO_ERROR_INVALID_DATA: fix docstring typo gio/gioenums.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cb1876b4a7e2d1c91fcf461515d5a7933c62c6ff Author: Antoine Jacoutot Date: Wed Jan 9 16:29:29 2013 +0100 ipv6_v4mapped: force pass even if we don't speak IPv4 Some OS (e.g. OpenBSD) do not implement IP v4-mapped addresses. When this is the case, then we get a "Connection refused", so force the test to pass to that further tests can run. https://bugzilla.gnome.org/show_bug.cgi?id=686058 gio/tests/socket.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 615b44c7ca77273b76b986edad16a56752c00bed Author: Dan Winship Date: Wed Jan 9 10:06:53 2013 -0500 glib-compile-resources: avoid warnings with -Wmissing-field-initializers Initialize all the fields of the generated GStaticResource, to avoid warnings in packages that build with -Wmissing-field-initializers. gio/glib-compile-resources.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb1fa6747dbb00b57889058abc27869c7a40c555 Author: Daniel Mustieles Date: Tue Jan 8 14:43:21 2013 +0100 Updated Spanish translation po/es.po | 250 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 128 insertions(+), 122 deletions(-) commit 6513e656c00550d99235faaa4714db33f12a444c Author: Javier Jardón Date: Mon Jan 7 15:41:19 2013 +0000 configure.ac: replace obsolete AC_CONFIG_HEADER with with AC_CONFIG_HEADERS The former is an obsolete alias to the latter. It may get removed in the future. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7e5390b870c5c6fd2b27d52b8a675efc551d9b7e Author: Nilamdyuti Goswami Date: Mon Jan 7 17:44:23 2013 +0530 Assamese translation updated po/as.po | 135 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 73 insertions(+), 62 deletions(-) commit b3ce0deb6d81bad318fee2f15e73cc4df20d945f Author: Dan Winship Date: Sun Jan 6 18:56:39 2013 -0500 tests/gdatetime: add a missing ; on windows glib/tests/gdatetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1d0687aa814e55def9ffb618310d7e0ae4f591cc Author: Dan Winship Date: Sun Jan 6 17:12:15 2013 -0500 gio/tests: fix a few more gdbus-testserver.py references that got missed in Matthias's earlier patch gio/tests/gdbus-proxy-well-known-name.c | 2 +- gio/tests/gdbus-proxy.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) commit 5eba9784979e0b723c05a45cf767046607e4e759 Author: Nirbheek Chauhan Date: Sat Jan 5 12:52:31 2013 +0530 GFile: Add Btrfs clone ioctl support The attached patch adds support for the btrfs "clone" ioctl which makes Copy-on-Write reflinks, resulting in cheap O(1) copies when source/destination are on the same filesystem. The ioctl itself is quite straightforward, and GNU coreutils has had support since 7.5 (--reflink=auto --sparse=auto). The ioctl only operates on regular files and symlinks, and always follows symlinks; checks have been added accordingly. This patch would be very useful for everyone who uses btrfs filesystems (Meego folks for instance). On systems that don't have btrfs, or if the the source is not on a btrfs filesystem, the ioctl returns EINVAL, and the fallback code is triggered. Hence this will cause no problems for non-btrfs users. https://bugzilla.gnome.org/show_bug.cgi?id=626497 configure.ac | 1 + gio/gfile.c | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 96 insertions(+), 9 deletions(-) commit f42347d82e3724958d36922a6171c2eb262336cb Author: Dan Winship Date: Sat Jan 5 13:26:23 2013 -0500 GMemoryInputStream: fix skip_async() a5876e5f made GMemoryInputStream subclassable, but accidentally broke read_async() and skip_async() in the process. The immediately following e7983495 fixed read_async() (and added a test for it), but skip_async() accidentally got... skipped. Fix it now and add a test for it. Also, GMemoryInputStream's skip_async() was assuming that skip() could never fail, which is true of its own implementation, but might not be true of a subclass's, so do proper GError handling too. gio/gmemoryinputstream.c | 8 ++++++-- gio/tests/memory-input-stream.c | 43 ++++++++++++++++++++++++++++++++++++++++- 2 files changed, 48 insertions(+), 3 deletions(-) commit 330c6c116e31628fcd46ee95e7bff51c60be5bab Author: Rico Tzschichholz Date: Fri Jan 4 21:36:37 2013 +0100 gio/tests: Drop superfluous dbus-1 dependencies of gdbus-auth gio/tests/Makefile.am | 3 +-- gio/tests/gdbus-auth.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) commit c2055f22f4399a23d1c02a94f8b029212e37e162 Author: Ryan Lortie Date: Mon Nov 5 11:07:16 2012 -0500 gtype: disallow adding interfaces after the fact Add a check to prevent adding an interface to a class that has already had its class_init done. This is an incompatible change but it is suspected that there are not many users of this functionality. Two known exceptions are pygobject (fixed in bug 686149) and our own testsuite (affected tests have been temporarily disabled by this patch). Once we confirm that nobody else is using this functionality we can remove a rather large amount of code for dealing with this case. https://bugzilla.gnome.org/show_bug.cgi?id=687659 gobject/gtype.c | 6 ++++++ gobject/tests/threadtests.c | 20 ++++++++++++-------- tests/gobject/Makefile.am | 3 --- 3 files changed, 18 insertions(+), 11 deletions(-) commit 125833d4277046efc77aeabe43282514b9f5bc73 Author: Rico Tzschichholz Date: Fri Jan 4 20:37:27 2013 +0100 gio/tests: Fix make dist Missing bit of 32c925427785895ce156f4bb428082e1952d2407 gio/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit efa7b5f1e7d28e10d2c4413fc1626305f46706f5 Author: Rico Tzschichholz Date: Fri Jan 4 20:25:46 2013 +0100 Revert "gtype: disallow adding interfaces after the fact" This reverts commit d6a075b0d8dfe4e4a41f6624ad7032d2163d420c. gobject/gtype.c | 6 ------ gobject/tests/threadtests.c | 20 ++++++++------------ tests/gobject/Makefile.am | 3 +++ 3 files changed, 11 insertions(+), 18 deletions(-) commit e478b65ea5fe20ea714a4e78be051a8aa7583ece Author: Matthias Clasen Date: Fri Jan 4 08:27:00 2013 -0500 Improve g_cond_wait docs Document that the mutex is locked upon return. https://bugzilla.gnome.org/show_bug.cgi?id=691110 glib/gthread-posix.c | 2 ++ 1 file changed, 2 insertions(+) commit 5fbdd3aa27a4a0445708a453ffbd935e6905ee2a Author: Marko Lindqvist Date: Thu Jan 3 19:21:35 2013 -0500 Remove deprecated AM_PROG_CC_STDC Fixes automake 1.13 build. https://bugzilla.gnome.org/show_bug.cgi?id=691011 configure.ac | 1 - 1 file changed, 1 deletion(-) commit 101ddfe22f0313c5159bda754697a59b559e7718 Author: David Zeuthen Date: Thu Jan 3 13:34:21 2013 -0500 In gdbus-auth test, use g_unsetenv(), not g_setenv() with a NULL value Signed-off-by: David Zeuthen gio/tests/gdbus-auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 361fe28fb9ebf6841830b7f193671a378554bc9e Author: Matthias Clasen Date: Thu Jan 3 13:13:50 2013 -0500 Drop gdbus-testserver.py The tests are using the C version of gdbus-testserver now. This means we no longer rely on dbus-python for 'make check'. https://bugzilla.gnome.org/show_bug.cgi?id=675856 gio/tests/Makefile.am | 1 - gio/tests/gdbus-testserver.py | 299 ------------------------------------------ 2 files changed, 300 deletions(-) commit 663ed23bc5614fb4f40df04a9e949f63cf554e06 Author: Matthias Clasen Date: Thu Jan 3 13:12:58 2013 -0500 Use the C gdbus-testserver in tests gio/tests/gdbus-connection-loss.c | 2 +- gio/tests/gdbus-connection-slow.c | 2 +- gio/tests/gdbus-connection.c | 2 +- gio/tests/gdbus-introspection.c | 2 +- gio/tests/gdbus-proxy-well-known-name.c | 2 +- gio/tests/gdbus-proxy.c | 2 +- gio/tests/gdbus-threading.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) commit 416fa3b9efb7b75c781ea26e004ad6183ea16e24 Author: Matthias Clasen Date: Thu Jan 3 13:11:58 2013 -0500 Add a C version of gdbus-testserver.py This will let us drop the dbus-python dependency. The C version does not 100% reproduce all the hash table and array manipulation of the python version, but the tests do not rely on it anyway. gio/tests/Makefile.am | 3 + gio/tests/gdbus-testserver.c | 889 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 892 insertions(+) commit 2652dc13573471a1a20070fdeef0c44eb0aa4f9a Author: David Zeuthen Date: Thu Jan 3 11:57:21 2013 -0500 GDBus: Avoid use of libdbus-1 in authentication tests This greatly simplifies the test since everything is now in a single process and possible bugs / quirks in libdbus-1 will not interfere with the tests. On the other hand, we no longer test interoperability with libdbus-1. This is somewhat moot, however, since other tests that involve a message bus (e.g. GTestDBus users which include most of the GDBus test suite itself) will test this. Also ensure that we don't pollute existing D-Bus keyrings for the DBUS_COOKIE_SHA1 authentication method (e.g. files in the ~/.dbus-keyrings directory) by setting the environment variables G_DBUS_COOKIE_SHA1_KEYRING_DIR and G_DBUS_COOKIE_SHA1_KEYRING_DIR_IGNORE_PERMISSION. All in all, this change avoids some thorny issues where the GDBus and libdbus-1 implementations disagree on whether an item in the D-Bus keyring is still valid (items have an age etc.). In reality, since the DBUS_COOKIE_SHA1 authentication method is never used in production, this is never hit in production. This bug was, however, frequently hit if you just ran the test suite repeatedly for 15 minutes or so. Also add TODO items to mention that we currently don't test corner cases involving - DBUS_COOKIE_SHA1 timeouts - libdbus-1 interoperability Signed-off-by: David Zeuthen gio/tests/Makefile.am | 2 - gio/tests/gdbus-auth.c | 304 +++++++++++++++++++++++++++---------------------- 2 files changed, 165 insertions(+), 141 deletions(-) commit 03e84f936fd6f4acbcdf671cc6be5b0690ee7ea6 Author: Dan Winship Date: Wed Jan 2 13:00:48 2013 -0500 GValueArray: clarify the deprecation warnings GValueArray as a whole is deprecated in favor of GArray (with GValue elements); warnings like "'g_value_array_get_nth' is deprecated: Use 'g_array_index' instead" are confusing because they suggest that the GArray functions can be used with GValueArrays. Make them say "Use 'GArray' instead" instead. https://bugzilla.gnome.org/show_bug.cgi?id=690970 gobject/gvaluearray.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit af27baaaef3510e32104af6fa196336f13dbc5a9 Author: Dieter Verfaillie Date: Wed Jan 2 13:10:31 2013 +0100 Fix build with --enable-gtk-doc https://bugzilla.gnome.org/show_bug.cgi?id=691001 docs/reference/glib/building.xml | 1 + 1 file changed, 1 insertion(+) commit 3e5068c18631afdc3c6a50a82f6e3499ac9bf3ed Author: Matthias Clasen Date: Tue Jan 1 15:49:06 2013 -0500 Add a --with-python option The effect is the same as specifying PYTHON=python3, but a configure option works better in jhbuild. https://bugzilla.gnome.org/show_bug.cgi?id=684103 configure.ac | 11 ++++++++++- docs/reference/glib/building.xml | 8 ++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) commit 86610b059463472e01c0001b83ed052a3edca2e0 Author: Matthias Clasen Date: Tue Jan 1 14:06:20 2013 -0500 Move testgobject to tests/ And fix it to actually check the right things. gobject/Makefile.am | 3 - gobject/testgobject.c | 429 -------------------------------------------------- tests/Makefile.am | 6 +- tests/testgobject.c | 429 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 433 insertions(+), 434 deletions(-) commit f2e00a07f49d6ad0e8d790396bcdea913592ce33 Author: Matthias Clasen Date: Tue Jan 1 13:54:54 2013 -0500 Improvde #include order consistency This was mostly fixed already, just re-fix a few details here. https://bugzilla.gnome.org/show_bug.cgi?id=71704 gobject/gatomicarray.c | 4 ++-- gobject/gclosure.c | 2 +- gobject/glib-genmarshal.c | 9 +++++---- gobject/gtype.c | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) commit 7acfdb04ac1af34af26353a2af388adb7e4db844 Author: Paolo Borelli Date: Thu Dec 27 20:55:30 2012 +0100 Annotate GApplication::local_command_line Also add some documentation. https://bugzilla.gnome.org/show_bug.cgi?id=690670 gio/gapplication.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 5e62827efdf8a6efbf48e5ed88e02ec4e3a40329 Author: Jasper St. Pierre Date: Tue Jul 3 15:14:18 2012 -0400 gmarkup: Make GMarkupParseContext a boxed type At the same time, add a refcount and public ref/unref methods. This makes it usable from introspectable. https://bugzilla.gnome.org/show_bug.cgi?id=690084 docs/reference/glib/glib-sections.txt | 2 ++ docs/reference/gobject/gobject-sections.txt | 1 + glib/glib.symbols | 2 ++ glib/gmarkup.c | 44 +++++++++++++++++++++++++++++ glib/gmarkup.h | 4 +++ gobject/gboxed.c | 1 + gobject/glib-types.h | 11 ++++++++ gobject/gobject.symbols | 1 + 8 files changed, 66 insertions(+) commit 157f80c2440dcc4ff581b2829bc2ce14071a69e2 Author: Matthias Clasen Date: Tue Jan 1 10:25:07 2013 -0500 Drop a broken link The GSettings migration docs had a link to the no-longer existing gsettings-tutorial branch of gnome-utils. Remove it. https://bugzilla.gnome.org/show_bug.cgi?id=690043 docs/reference/gio/migrating-gconf.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0d3da350c608483a12c89334638317d57449e968 Author: Michael Henning Date: Sat Dec 29 23:57:23 2012 -0500 gutils: move G_END_DECLS to the end of gutils.h Previously, some declarations near the bottom came after the G_END_DECLS, causing linker errors for C++ users that called those functions. https://bugzilla.gnome.org/show_bug.cgi?id=690902 glib/gutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 81c1fd22bd92454b0f7c97715e11c77eb0451abf Author: Daniel Mustieles Date: Mon Dec 31 12:20:07 2012 +0100 Updated Spanish translation po/es.po | 180 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 92 insertions(+), 88 deletions(-) commit a9f363733ba796b8c2365fc45a616f94bd6463e3 Author: Matthias Clasen Date: Sat Dec 29 00:22:34 2012 -0500 Fix up the gschema.dtd This DTD wasn't syntactically correct, and didn't actually describe keys correctly. This change makes it a bit too lax, but at least it can be used now. https://bugzilla.gnome.org/show_bug.cgi?id=690538 gio/gschema.dtd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 12ad403a43763aa4a99a6055c3cccd2677252430 Author: Matthias Clasen Date: Sat Dec 29 00:03:09 2012 -0500 Remove a failing test Since we stripped g_credentials_set_pid(), the test for g_credentials_get_pid() can't succeed anymore, so remove it. gio/tests/credentials.c | 4 ---- 1 file changed, 4 deletions(-) commit 32c925427785895ce156f4bb428082e1952d2407 Author: Tristan Van Berkom Date: Thu Dec 20 15:34:22 2012 +0900 Adding test coverage for GTestDBus activating in-tree services. https://bugzilla.gnome.org/show_bug.cgi?id=690543 configure.ac | 2 + gio/tests/Makefile.am | 9 +- gio/tests/gdbus-test-fixture.c | 121 +++++++++++++++++++++ gio/tests/services/Makefile.am | 2 + ...org.gtk.GDBus.Examples.ObjectManager.service.in | 3 + 5 files changed, 136 insertions(+), 1 deletion(-) commit e1b99b2ddcf21f5dab26ad74afa6935eaf70028e Author: Matthias Clasen Date: Thu Dec 27 23:43:14 2012 -0500 Move single-include guards inside include guards gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810 gio/gaction.h | 6 +++--- gio/gactiongroup.h | 6 +++--- gio/gactiongroupexporter.h | 6 +++--- gio/gactionmap.h | 6 +++--- gio/gappinfo.h | 6 +++--- gio/gapplication.h | 6 +++--- gio/gapplicationcommandline.h | 6 +++--- gio/gasyncinitable.h | 6 +++--- gio/gasyncresult.h | 6 +++--- gio/gbufferedinputstream.h | 6 +++--- gio/gbufferedoutputstream.h | 6 +++--- gio/gcancellable.h | 6 +++--- gio/gcharsetconverter.h | 6 +++--- gio/gcontenttype.h | 6 +++--- gio/gconverter.h | 6 +++--- gio/gconverterinputstream.h | 6 +++--- gio/gconverteroutputstream.h | 6 +++--- gio/gcredentials.h | 6 +++--- gio/gdatainputstream.h | 6 +++--- gio/gdataoutputstream.h | 6 +++--- gio/gdbusactiongroup.h | 6 +++--- gio/gdbusaddress.h | 6 +++--- gio/gdbusauth.h | 6 +++--- gio/gdbusauthmechanism.h | 6 +++--- gio/gdbusauthmechanismanon.h | 6 +++--- gio/gdbusauthmechanismexternal.h | 6 +++--- gio/gdbusauthmechanismsha1.h | 6 +++--- gio/gdbusauthobserver.h | 6 +++--- gio/gdbusconnection.h | 6 +++--- gio/gdbuserror.h | 6 +++--- gio/gdbusintrospection.h | 6 +++--- gio/gdbusmessage.h | 6 +++--- gio/gdbusmethodinvocation.h | 6 +++--- gio/gdbusnameowning.h | 6 +++--- gio/gdbusnamewatching.h | 6 +++--- gio/gdbusprivate.h | 6 +++--- gio/gdbusproxy.h | 6 +++--- gio/gdbusserver.h | 6 +++--- gio/gdbusutils.h | 6 +++--- gio/gdrive.h | 6 +++--- gio/gdummyproxyresolver.h | 6 +++--- gio/gemblem.h | 6 +++--- gio/gemblemedicon.h | 6 +++--- gio/gfile.h | 6 +++--- gio/gfileattribute.h | 6 +++--- gio/gfileenumerator.h | 6 +++--- gio/gfileicon.h | 6 +++--- gio/gfileinfo.h | 6 +++--- gio/gfileinputstream.h | 6 +++--- gio/gfileiostream.h | 6 +++--- gio/gfilemonitor.h | 6 +++--- gio/gfilenamecompleter.h | 6 +++--- gio/gfileoutputstream.h | 6 +++--- gio/gfilterinputstream.h | 6 +++--- gio/gfilteroutputstream.h | 6 +++--- gio/gicon.h | 6 +++--- gio/ginetaddress.h | 6 +++--- gio/ginetaddressmask.h | 6 +++--- gio/ginetsocketaddress.h | 6 +++--- gio/ginitable.h | 6 +++--- gio/ginputstream.h | 6 +++--- gio/gioenums.h | 6 +++--- gio/gioerror.h | 6 +++--- gio/giomodule.h | 6 +++--- gio/gioscheduler.h | 6 +++--- gio/giostream.h | 6 +++--- gio/giotypes.h | 6 +++--- gio/gloadableicon.h | 6 +++--- gio/gmemoryinputstream.h | 6 +++--- gio/gmemoryoutputstream.h | 6 +++--- gio/gmount.h | 6 +++--- gio/gmountoperation.h | 6 +++--- gio/gnativevolumemonitor.h | 6 +++--- gio/gnetworkaddress.h | 6 +++--- gio/gnetworkmonitor.h | 6 +++--- gio/gnetworkservice.h | 6 +++--- gio/goutputstream.h | 6 +++--- gio/gpermission.h | 6 +++--- gio/gpollableinputstream.h | 6 +++--- gio/gpollableoutputstream.h | 6 +++--- gio/gpollableutils.h | 6 +++--- gio/gproxy.h | 6 +++--- gio/gproxyaddress.h | 6 +++--- gio/gproxyaddressenumerator.h | 6 +++--- gio/gproxyresolver.h | 6 +++--- gio/gremoteactiongroup.h | 6 +++--- gio/gresolver.h | 6 +++--- gio/gresource.h | 6 +++--- gio/gseekable.h | 6 +++--- gio/gsettings.h | 6 +++--- gio/gsimpleaction.h | 6 +++--- gio/gsimpleactiongroup.h | 6 +++--- gio/gsimpleasyncresult.h | 6 +++--- gio/gsimplepermission.h | 6 +++--- gio/gsocket.h | 6 +++--- gio/gsocketaddress.h | 6 +++--- gio/gsocketaddressenumerator.h | 6 +++--- gio/gsocketclient.h | 6 +++--- gio/gsocketconnectable.h | 6 +++--- gio/gsocketconnection.h | 6 +++--- gio/gsocketcontrolmessage.h | 6 +++--- gio/gsocketlistener.h | 6 +++--- gio/gsocketservice.h | 6 +++--- gio/gsrvtarget.h | 6 +++--- gio/gtask.h | 6 +++--- gio/gtcpconnection.h | 6 +++--- gio/gtcpwrapperconnection.h | 6 +++--- gio/gtestdbus.h | 6 +++--- gio/gthemedicon.h | 6 +++--- gio/gthreadedsocketservice.h | 6 +++--- gio/gtlsbackend.h | 6 +++--- gio/gtlscertificate.h | 6 +++--- gio/gtlsclientconnection.h | 6 +++--- gio/gtlsconnection.h | 6 +++--- gio/gtlsdatabase.h | 6 +++--- gio/gtlsfiledatabase.h | 6 +++--- gio/gtlsinteraction.h | 6 +++--- gio/gtlspassword.h | 6 +++--- gio/gtlsserverconnection.h | 6 +++--- gio/gvfs.h | 6 +++--- gio/gvolume.h | 6 +++--- gio/gvolumemonitor.h | 6 +++--- gio/gzlibcompressor.h | 6 +++--- gio/gzlibdecompressor.h | 6 +++--- glib/deprecated/gallocator.h | 6 +++--- glib/deprecated/gcache.h | 6 +++--- glib/deprecated/gcompletion.h | 6 +++--- glib/deprecated/gmain.h | 6 +++--- glib/deprecated/grel.h | 6 +++--- glib/deprecated/gthread.h | 6 +++--- glib/galloca.h | 6 +++--- glib/garray.h | 6 +++--- glib/gasyncqueue.h | 6 +++--- glib/gatomic.h | 6 +++--- glib/gbacktrace.h | 6 +++--- glib/gbase64.h | 6 +++--- glib/gbookmarkfile.h | 6 +++--- glib/gbytes.h | 6 +++--- glib/gcharset.h | 6 +++--- glib/gchecksum.h | 6 +++--- glib/gconvert.h | 6 +++--- glib/gdataset.h | 6 +++--- glib/gdate.h | 6 +++--- glib/gdatetime.h | 6 +++--- glib/gdir.h | 6 +++--- glib/genviron.h | 6 +++--- glib/gerror.h | 6 +++--- glib/gfileutils.h | 6 +++--- glib/ggettext.h | 6 +++--- glib/ghash.h | 6 +++--- glib/ghmac.h | 6 +++--- glib/ghook.h | 6 +++--- glib/ghostutils.h | 6 +++--- glib/giochannel.h | 6 +++--- glib/gkeyfile.h | 6 +++--- glib/glist.h | 6 +++--- glib/gmacros.h | 6 +++--- glib/gmain-internal.h | 6 +++--- glib/gmain.h | 6 +++--- glib/gmappedfile.h | 6 +++--- glib/gmarkup.h | 6 +++--- glib/gmem.h | 6 +++--- glib/gmessages.h | 6 +++--- glib/gnode.h | 6 +++--- glib/goption.h | 6 +++--- glib/gpattern.h | 6 +++--- glib/gpoll.h | 6 +++--- glib/gprimes.h | 6 +++--- glib/gqsort.h | 6 +++--- glib/gquark.h | 6 +++--- glib/gqueue.h | 6 +++--- glib/grand.h | 6 +++--- glib/gregex.h | 6 +++--- glib/gscanner.h | 6 +++--- glib/gsequence.h | 6 +++--- glib/gshell.h | 6 +++--- glib/gslice.h | 6 +++--- glib/gslist.h | 6 +++--- glib/gspawn.h | 6 +++--- glib/gstrfuncs.h | 6 +++--- glib/gstring.h | 6 +++--- glib/gstringchunk.h | 6 +++--- glib/gtestutils.h | 6 +++--- glib/gthread.h | 6 +++--- glib/gthreadpool.h | 6 +++--- glib/gtimer.h | 6 +++--- glib/gtimezone.h | 6 +++--- glib/gtrashstack.h | 6 +++--- glib/gtree.h | 6 +++--- glib/gtypes.h | 6 +++--- glib/gunicode.h | 6 +++--- glib/gurifuncs.h | 6 +++--- glib/gutils.h | 6 +++--- glib/gvariant.h | 6 +++--- glib/gvarianttype.h | 6 +++--- glib/gversion.h | 6 +++--- glib/gversionmacros.h | 6 +++--- glib/gwin32.h | 6 +++--- gobject/gatomicarray.h | 6 +++--- gobject/gbinding.h | 6 +++--- gobject/gboxed.h | 6 +++--- gobject/gclosure.h | 6 +++--- gobject/genums.h | 6 +++--- gobject/glib-types.h | 6 +++--- gobject/gobject.h | 6 +++--- gobject/gparam.h | 6 +++--- gobject/gparamspecs.h | 6 +++--- gobject/gsignal.h | 6 +++--- gobject/gsourceclosure.h | 6 +++--- gobject/gtype-private.h | 6 +++--- gobject/gtype.h | 6 +++--- gobject/gtypemodule.h | 6 +++--- gobject/gtypeplugin.h | 6 +++--- gobject/gvalue.h | 6 +++--- gobject/gvaluearray.h | 6 +++--- gobject/gvaluetypes.h | 6 +++--- 216 files changed, 648 insertions(+), 648 deletions(-) commit 89d48d7800a21db1b94c09644bc68b84cda1940b Author: Ryan Lortie Date: Wed Jan 18 14:37:37 2012 -0500 Add g_application_command_line_get_stdin() This returns a GInputStream corresponding to the stdin on the commandline that caused this invocation. The local case works on both UNIX (GUnixInputStream on stdin) and Windows (GWin32InputStream on GetStdHandle(STD_INPUT_HANDLE)). The remote case works only on UNIX (by fd passing over D-Bus). https://bugzilla.gnome.org/show_bug.cgi?id=668210 gio/gapplicationcommandline.c | 46 +++++++++++++++++++++++++++ gio/gapplicationcommandline.h | 13 +++++--- gio/gapplicationimpl-dbus.c | 73 +++++++++++++++++++++++++++++++++++++------ gio/gio.symbols | 1 + 4 files changed, 119 insertions(+), 14 deletions(-) commit 3e97776276a3648fac9706d7a82715ab230bfb5d Author: Mattias Põldaru Date: Thu Dec 27 16:37:24 2012 +0200 [l10n] Updated Estonian translation po/et.po | 4996 ++++++++++++++++++++++++++++---------------------------------- 1 file changed, 2285 insertions(+), 2711 deletions(-) commit 3a7c1594d126d20510eb4f6b769dedc8a68e3834 Author: Fran Diéguez Date: Mon Dec 24 22:53:03 2012 +0100 Updated Galician translations po/gl.po | 181 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 92 insertions(+), 89 deletions(-) commit 53bbf26c17cf0876cdd18ddb77f6f985999a24d4 Author: Dimitris Spingos Date: Mon Dec 24 17:23:17 2012 +0200 Updated Greek translation po/el.po | 1188 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 606 insertions(+), 582 deletions(-) commit 74cc23405883ed33d7c42e05044265086d3fb420 Author: Kjartan Maraas Date: Sun Dec 23 17:38:45 2012 +0100 Updated Norwegian bokmål translation po/nb.po | 1130 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 564 insertions(+), 566 deletions(-) commit f1a1cccd5a3354407d32e458324ae416cb527925 Author: Peter Mráz Date: Sun Dec 23 14:32:58 2012 +0100 Updated Slovak translation po/sk.po | 1362 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 663 insertions(+), 699 deletions(-) commit a9578b0bb7b5f81bb64ae6f969293c4ad3afc48a Author: Piotr Drąg Date: Sun Dec 23 04:28:23 2012 +0100 Updated Polish translation po/pl.po | 182 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 93 insertions(+), 89 deletions(-) commit f3ecba5e122ecd535066dd65473488498ee8fa22 Author: Yaron Shahrabani Date: Thu Dec 20 14:24:17 2012 +0200 Updated Hebrew translation. po/he.po | 625 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 314 insertions(+), 311 deletions(-) commit c284d1c4ad38281f070060da221311f23f4c0eca Author: Daniel Mustieles Date: Thu Dec 20 11:08:39 2012 +0100 Updated Spanish translation po/es.po | 296 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 146 insertions(+), 150 deletions(-) commit 5445b4aeecf87233d54e27fee442359273a3f081 Author: Nilamdyuti Goswami Date: Thu Dec 20 13:48:11 2012 +0530 Assamese translation updated po/as.po | 507 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 254 insertions(+), 253 deletions(-) commit 08dce819ccaa63cbc572253da034634b21ddffca Author: Matthias Clasen Date: Wed Dec 19 15:20:45 2012 -0500 Revert "gtestutils: add g_test_trap_subprocess(), deprecate g_test_trap_fork()" This reverts commit e3a29184d56b3a65664eb8859e61afbc804497c8. docs/reference/glib/glib-sections.txt | 5 +- glib/glib.symbols | 3 - glib/gmessages.c | 2 +- glib/gtestutils.c | 429 ++++++---------------------------- glib/gtestutils.h | 34 +-- glib/tests/testing.c | 91 -------- 6 files changed, 77 insertions(+), 487 deletions(-) commit 0178402c6d5aee998934db6d4b49fff95dc50c48 Author: Matthias Clasen Date: Wed Dec 19 15:20:37 2012 -0500 Revert "tests: port from g_test_trap_subprocess() to g_test_trap_fork()" This reverts commit ea06ec80634ff8f22882f3bc92effb10ac294e41. gio/tests/gdbus-exit-on-close.c | 133 ++++++------ gio/tests/gdbus-non-socket.c | 9 +- gio/tests/gdbus-proxy.c | 20 +- gio/tests/gschema-compile.c | 50 ++--- gio/tests/gsettings.c | 439 +++++++++++++--------------------------- glib/tests/array-test.c | 27 ++- glib/tests/dataset.c | 23 +-- glib/tests/gvariant.c | 79 +++----- glib/tests/logging.c | 204 ++++++++----------- glib/tests/mem-overflow.c | 143 +++++-------- glib/tests/option-context.c | 372 +++++++++++++++------------------- glib/tests/scannerapi.c | 21 +- glib/tests/slice.c | 17 +- glib/tests/test-printf.c | 281 +++++++++++++++---------- glib/tests/testing.c | 214 +++++++------------- glib/tests/utils.c | 22 +- gobject/tests/param.c | 54 +---- tests/Makefile.am | 1 - tests/testglib.c | 50 ++--- 19 files changed, 884 insertions(+), 1275 deletions(-) commit 6f15db8c3d3b8c6f800e1408d05f57a133d0e7a1 Author: Matthias Clasen Date: Wed Dec 19 15:20:31 2012 -0500 Revert "gtestutils: fix "-p" logic" This reverts commit 723a8f55880f1e7bf1b475901ce40e6cd443b72d. glib/gtestutils.c | 2 +- glib/tests/testing.c | 125 --------------------------------------------------- 2 files changed, 1 insertion(+), 126 deletions(-) commit 50850fe08c92caafe99f8a1130479b6a63440e44 Author: Matthias Clasen Date: Wed Dec 19 15:20:20 2012 -0500 Revert "tests/option-context: fix under --verbose" This reverts commit 80253cd71007975946a084697ccec9891102a3e7. glib/tests/option-context.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit f64d6640d4e08bc0a82aa2b13482f48efc1c1229 Author: Matthias Clasen Date: Wed Dec 19 15:20:13 2012 -0500 Revert "tests/protocol: redo a bit" This reverts commit 8d9969fe15f2afc0c13b5d20a3103df666d68934. glib/tests/protocol.c | 49 +++++++++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 20 deletions(-) commit 53a436221fe603686bf40feb49d79a048db44943 Author: Matthias Clasen Date: Wed Dec 19 15:20:05 2012 -0500 Revert "tests/spawn-*.c: fix on Windows" This reverts commit 602714a8dae08e395c8834aa059375de7dd877c0. glib/tests/Makefile.am | 2 -- glib/tests/spawn-multithreaded.c | 4 ++-- glib/tests/spawn-singlethread.c | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) commit 2fe36a22388216a04dfd74a59a72d8636c1098e4 Author: Simon McVittie Date: Thu Nov 8 14:09:23 2012 +0000 Check that credentials pass through D-Bus on supported platforms Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687920 gio/tests/gdbus-peer.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 32bfd46c7b193de9eb6794d436f797c49b6a9f68 Author: Simon McVittie Date: Thu Nov 8 14:08:44 2012 +0000 GCredentials: add a regression test Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687920 gio/tests/Makefile.am | 1 + gio/tests/credentials.c | 131 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 132 insertions(+) commit 8f65536504a0902f1e90696eb18f8c2bd5bc1782 Author: Simon McVittie Date: Thu Nov 8 14:08:24 2012 +0000 GCredentials: add getter/setter for the Unix process ID Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687920 docs/reference/gio/gio-sections.txt | 1 + gio/gcredentials.c | 43 +++++++++++++++++++++++++++++++++++++ gio/gcredentials.h | 3 +++ gio/gio.symbols | 1 + 4 files changed, 48 insertions(+) commit 602714a8dae08e395c8834aa059375de7dd877c0 Author: Dan Winship Date: Sun Nov 25 13:52:20 2012 -0500 tests/spawn-*.c: fix on Windows Need to append ".exe" to the spawned binary name on Windows https://bugzilla.gnome.org/show_bug.cgi?id=679683 glib/tests/Makefile.am | 2 ++ glib/tests/spawn-multithreaded.c | 4 ++-- glib/tests/spawn-singlethread.c | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) commit 8d9969fe15f2afc0c13b5d20a3103df666d68934 Author: Dan Winship Date: Sun Nov 25 11:50:09 2012 -0500 tests/protocol: redo a bit Rather than overloading --verbose, just skip the tests that aren't supposed to be run in the parent process (so that if you do run the toplevel test with --verbose, it doesn't immediately error out). https://bugzilla.gnome.org/show_bug.cgi?id=679683 glib/tests/protocol.c | 49 ++++++++++++++++++++----------------------------- 1 file changed, 20 insertions(+), 29 deletions(-) commit 80253cd71007975946a084697ccec9891102a3e7 Author: Dan Winship Date: Sun Nov 25 11:42:59 2012 -0500 tests/option-context: fix under --verbose We need to always pass G_TEST_TRAP_SILENCE_STDERR/STDOUT, or else we can't check that they contained the right text later. https://bugzilla.gnome.org/show_bug.cgi?id=679683 glib/tests/option-context.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 723a8f55880f1e7bf1b475901ce40e6cd443b72d Author: Dan Winship Date: Sat Aug 25 11:54:31 2012 -0400 gtestutils: fix "-p" logic If you had two tests "/foo/bar" and "/foo/bar/baz", and ran the test program with "-p /foo/bar/baz", it would run "/foo/bar" too. Fix that. And add a test to tests/testing for it. https://bugzilla.gnome.org/show_bug.cgi?id=679683 glib/gtestutils.c | 2 +- glib/tests/testing.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 126 insertions(+), 1 deletion(-) commit ea06ec80634ff8f22882f3bc92effb10ac294e41 Author: Dan Winship Date: Sat Nov 24 16:34:13 2012 -0500 tests: port from g_test_trap_subprocess() to g_test_trap_fork() (or, in a few cases, to g_test_expect_message()) https://bugzilla.gnome.org/show_bug.cgi?id=679683 gio/tests/gdbus-exit-on-close.c | 133 ++++++------ gio/tests/gdbus-non-socket.c | 9 +- gio/tests/gdbus-proxy.c | 20 +- gio/tests/gschema-compile.c | 50 +++-- gio/tests/gsettings.c | 439 +++++++++++++++++++++++++++------------- glib/tests/array-test.c | 27 +-- glib/tests/dataset.c | 23 ++- glib/tests/gvariant.c | 79 +++++--- glib/tests/logging.c | 204 +++++++++++-------- glib/tests/mem-overflow.c | 143 ++++++++----- glib/tests/option-context.c | 372 +++++++++++++++++++--------------- glib/tests/scannerapi.c | 21 +- glib/tests/slice.c | 17 +- glib/tests/test-printf.c | 281 ++++++++++--------------- glib/tests/testing.c | 214 +++++++++++++------- glib/tests/utils.c | 22 +- gobject/tests/param.c | 54 ++++- tests/Makefile.am | 1 + tests/testglib.c | 50 +++-- 19 files changed, 1275 insertions(+), 884 deletions(-) commit e3a29184d56b3a65664eb8859e61afbc804497c8 Author: Dan Winship Date: Sat Nov 24 15:58:27 2012 -0500 gtestutils: add g_test_trap_subprocess(), deprecate g_test_trap_fork() g_test_trap_fork() doesn't work on Windows and is potentially flaky on unix anyway given the fork-but-don't-exec. Replace it with g_test_trap_subprocess(), which re-spawns the same program with arguments telling it to run a specific (otherwise-ignored) test case. Make the existing g_test_trap_fork() unit tests be unix-only (they never passed on Windows anyway), and add a parallel set of g_test_trap_subprocess() tests. https://bugzilla.gnome.org/show_bug.cgi?id=679683 docs/reference/glib/glib-sections.txt | 5 +- glib/glib.symbols | 3 + glib/gmessages.c | 2 +- glib/gtestutils.c | 429 ++++++++++++++++++++++++++++------ glib/gtestutils.h | 34 ++- glib/tests/testing.c | 91 ++++++++ 6 files changed, 487 insertions(+), 77 deletions(-) commit 79fab3e647b77f948d2e946d630dedec9ce19f5f Author: Daniel Macks Date: Sat Dec 1 14:23:01 2012 -0500 Add missing autoconf test for sysctlbyname() uses specific mib[] tokens iff it is available, but configure wasn't testing for it to be available. https://bugzilla.gnome.org/show_bug.cgi?id=689324 configure.ac | 1 + 1 file changed, 1 insertion(+) commit 1fec9ac47d157ca28c4efc1c18e5dd98bc39332b Author: Daniel Macks Date: Thu Nov 29 10:33:47 2012 -0500 Fix constant type to match assigned variable type Some compilers assume a literal value is a certain byte-length without checking the type to which it is being assigned, giving a compile-time warning: a default of 'long' is a mismatch when assigning to a guint64 when the latter is a 'long long'. Use one of glib's standard macros to specify the type of the constant to match the variable type. https://bugzilla.gnome.org/show_bug.cgi?id=688829 glib/tests/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 69ad5010e3044d5329d19b0b3099ff0c5e9e1ddc Author: Dan Winship Date: Wed Dec 19 09:10:01 2012 -0500 inotify: fix compile gio/inotify/ginotifyfilemonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5f1f9cb7d8886a6d8f06e2f67e9674758cd550bd Author: Emmanuele Bassi Date: Wed Dec 19 11:03:24 2012 +0000 timezone: Fix byte arithmetic Use guint8* instead of gpointer, to avoid warnings and side effects. https://bugzilla.gnome.org/show_bug.cgi?id=686128 glib/gtimezone.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 1d7985aa0adf7c22060470de727484e92f0a0eb9 Author: Dan Winship Date: Mon Nov 19 16:18:55 2012 -0500 tests: multiple fixes to run-assert-msg-test.sh 1) use "../libtool" rather than "libtool" to avoid problems with wacky OS X not-actually-libtool 2) Use libtool on the libtool script, not the binary, so that it actually does anything 3) Don't use "gdb --ex" since it's apparently new-ish/non-portable. https://bugzilla.gnome.org/show_bug.cgi?id=684723 tests/run-assert-msg-test.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 3a7244bd0ca5e30b1c3199c7995f924cfd231855 Author: Dan Winship Date: Wed Dec 19 08:22:23 2012 -0500 Add "Since 2.36" to G_FILE_MONITOR_WATCH_HARD_LINKS doc gio/gioenums.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 707bc4a40f48f1a361071a8b8b13d96743e89561 Author: Ryan Lortie Date: Wed Nov 18 17:59:14 2009 -0600 gio + inotify support for hard links Add a new GFileMonitorFlag: G_FILE_MONITOR_WATCH_HARD_LINKS. When set, changes made to the file via another hard link will be detected. Implement the new flag for the inotify backend. https://bugzilla.gnome.org/show_bug.cgi?id=532815 gio/gfile.c | 19 +- gio/gioenums.h | 9 +- gio/inotify/ginotifydirectorymonitor.c | 2 +- gio/inotify/ginotifyfilemonitor.c | 3 + gio/inotify/inotify-helper.c | 20 +- gio/inotify/inotify-path.c | 323 ++++++++++++++++++++++++++++----- gio/inotify/inotify-path.h | 2 +- gio/inotify/inotify-sub.c | 4 +- gio/inotify/inotify-sub.h | 11 +- 9 files changed, 327 insertions(+), 66 deletions(-) commit e6d45972fc0f75345b7ba19ac3d554cf801ba86a Author: John Ralls Date: Wed Dec 19 00:40:08 2012 +0000 Bug 633117: glib fails tests if /etc/localtime is not properly set glib/tests/gdatetime.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit c9939b0fc7d831e97e653ace5ca9751d17d3c405 Author: John Ralls Date: Tue Dec 18 15:41:09 2012 -0800 GTimeZone interval_info: Fix interval 0 per IANA tzfile instructions IANA tzfiles don't always put standard time in the 0th t_info. Follow their instructions to use the first standard time t_info for interval 0. glib/gtimezone.c | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 0f0404af21a6702f394c065ca0de33eb89a5fc48 Author: John Ralls Date: Tue Dec 18 15:40:43 2012 -0800 test_posix_parse: PST8PDT passes on Unix because it names an IANA zone. glib/tests/gdatetime.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit bdab372379790a9cca07c60ce5fa979a7dfc92ae Author: John Ralls Date: Mon Dec 17 13:35:10 2012 -0800 MSWindows TimeZone Support: Refactor and rewrite TZ variable parsing glib/gtimezone.c | 619 +++++++++++++++++++++++++++---------------------------- 1 file changed, 300 insertions(+), 319 deletions(-) commit 1af37768a533f1f5d039869f329d5a8bcd53d5f2 Author: John Ralls Date: Tue Dec 11 13:42:05 2012 -0800 Test the TZ-variable parsing functions glib/tests/gdatetime.c | 185 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 185 insertions(+) commit 7d1ae24e19b4eb35c6cea810284fadda58e6d40e Author: John Ralls Date: Thu Dec 6 17:16:50 2012 -0800 Implement and test time zone name/abbrev setting for Windows. glib/gtimezone.c | 14 ++++++++++++++ glib/tests/gdatetime.c | 9 +++++++++ 2 files changed, 23 insertions(+) commit d12bb7ef7284b49ccdeb81d7ef80b572eb1195d8 Author: John Ralls Date: Tue Dec 4 10:51:48 2012 -0800 Win32 TimeZone Support: General refactoring For code clarity and to pass tests glib/gtimezone.c | 530 +++++++++++++++++++++++++++---------------------------- 1 file changed, 259 insertions(+), 271 deletions(-) commit 1ef6933cbefe9ceed75b59e9dc4ece49aa6da247 Author: John Ralls Date: Tue Dec 4 11:13:04 2012 -0800 Add MSWindows timezone names to test new windows support. glib/tests/gdatetime.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 1ccd4d60fc6566ca4fcdbf6e961b1cb1cddc7127 Author: Arnel A. Borja Date: Sat Oct 20 11:06:28 2012 +0800 GTimeZone: Fix time zones in Windows Get time zone information from registry. Use GetTimeZoneInformation() instead to get the local time zone if Dynamic DST is not available. https://bugzilla.gnome.org/show_bug.cgi?id=683998 glib/gtimezone.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 49 insertions(+), 3 deletions(-) commit 206ba07bd99b3d0cb0620e04ed51e4529d1ba6eb Author: Arnel A. Borja Date: Mon Oct 15 11:07:16 2012 +0800 GTimeZone: Parse Windows format for TZ Parse the "tzn[+|-]hh[:mm[:ss]][dzn]" format used in Windows for environment variable TZ. https://bugzilla.gnome.org/show_bug.cgi?id=683998 glib/gtimezone.c | 265 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 265 insertions(+) commit 87436e6b3d8a6218578e6ffd63a35e60ebc8a207 Author: Arnel A. Borja Date: Sat Oct 20 14:10:43 2012 +0800 GTimeZone: Parse POSIX format for TZ Parse the "std offset [dst [offset],start[/time],end[/time]]" (POSIX) format used in Unix for environment variable TZ. https://bugzilla.gnome.org/show_bug.cgi?id=686128 glib/gtimezone.c | 341 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 336 insertions(+), 5 deletions(-) commit 9a4a53c03daf20b7a2f61db87af3b698dac80784 Author: Arnel A. Borja Date: Sun Oct 21 11:26:21 2012 +0800 GTimeZone: Add initialization functions for rules Add functions to initialize a GTimeZone from rules. glib/gtimezone.c | 277 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 277 insertions(+) commit 9fae921c3e3ecf312e7481f764894ef84add0d76 Author: Arnel A. Borja Date: Mon Oct 15 10:57:09 2012 +0800 GTimeZone: Parse more offset formats Allow more formats for offset. Parse seconds in offsets too. Make offset signs optional. https://bugzilla.gnome.org/show_bug.cgi?id=686128 glib/gtimezone.c | 46 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 9 deletions(-) commit 59f2da17490bca084a988092986d6b28d0342bf3 Author: John Ralls Date: Mon Oct 15 14:32:58 2012 -0700 Replace zoneinfo pointers with structs The approach of sucking a zoneinfo file into a GBytes and working with pointers into it might be fast, but it's obtuse and not compatible with Microsoft Windows. glib/gtimezone.c | 349 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 211 insertions(+), 138 deletions(-) commit 489e031f22611720b0259b937c81827b82ba00d6 Author: John Ralls Date: Mon Oct 15 14:19:53 2012 -0700 Extract function init_zone_from_iana_info glib/gtimezone.c | 89 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 46 insertions(+), 43 deletions(-) commit 47de8646e2ef6490d930dbb8d1da99687682dcf3 Author: John Ralls Date: Mon Oct 15 14:11:14 2012 -0700 Extract function zone_info_unix glib/gtimezone.c | 82 +++++++++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 37 deletions(-) commit 5df1edaf70ad3abe45cb599de934b9531b7388a2 Author: Ryan Lortie Date: Mon Nov 5 11:07:16 2012 -0500 gtype: disallow adding interfaces after the fact Add a check to prevent adding an interface to a class that has already had its class_init done. This is an incompatible change but it is suspected that there are not many users of this functionality. Two known exceptions are pygobject (fixed in bug 686149) and our own testsuite (affected tests have been temporarily disabled by this patch). Once we confirm that nobody else is using this functionality we can remove a rather large amount of code for dealing with this case. https://bugzilla.gnome.org/show_bug.cgi?id=687659 gobject/gtype.c | 6 ++++++ gobject/tests/threadtests.c | 20 ++++++++++++-------- tests/gobject/Makefile.am | 3 --- 3 files changed, 18 insertions(+), 11 deletions(-) commit d04faab3274ae06a318a87b08c499df7a797d39d Author: Rico Tzschichholz Date: Tue Dec 18 21:32:01 2012 +0100 gio: Fix build with -Werror=format-security gio/gunixvolume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d1ab41c940aa357c4cd04dd3c66284de3a15e5c4 Author: Rico Tzschichholz Date: Tue Dec 18 21:23:13 2012 +0100 Revert "gtype: disallow adding interfaces after the fact" This reverts commit d6a075b0d8dfe4e4a41f6624ad7032d2163d420c. gobject/gtype.c | 6 ------ gobject/tests/threadtests.c | 20 ++++++++------------ tests/gobject/Makefile.am | 3 +++ 3 files changed, 11 insertions(+), 18 deletions(-) commit f0f6c8d231b415e5d69575c0c757e10abefdca2b Author: PHO Date: Tue Dec 18 08:33:50 2012 +0900 gsocket: Work around broken CMSG_FIRSTHDR() As RFC 2292 points out, some platforms (e.g. Darwin 9.8.0) provide CMSG_FIRSTHDR(msg) which just returns msg.msg_control without first checking if msg.msg_controllen is non-zero. We need a workaround for such platforms not to let g_socket_receive_message() segfault. https://bugzilla.gnome.org/show_bug.cgi?id=690388 gio/gsocket.c | 57 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 27 deletions(-) commit 780871d2738091f425afa1573bc1bce6969f85e6 Author: Colin Walters Date: Sat Dec 15 09:55:39 2012 -0500 GOutputStream: Fix a compiler warning gio/goutputstream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 07bb8097e535eea27c5130c523f70759fb2ff45d Author: Dan Winship Date: Sat Dec 15 11:44:59 2012 -0500 gtask: don't deadlock when tasks block on other tasks If tasks block waiting for other tasks to complete then the system can end up starved for threads. Avoid this by bumping up max-threads in that case. This also reverts 7b1f8c58 and reverts max-threads for GTask's GThreadPool back to 10. https://bugzilla.gnome.org/show_bug.cgi?id=687223 gio/gtask.c | 41 ++++++++++++++++++++++++++-- gio/tests/task.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 114 insertions(+), 10 deletions(-) commit 2149b29468bb99af3c29d5de61f75aad735082dc Author: Colin Walters Date: Mon Dec 17 10:47:53 2012 -0500 Add g_get_num_processors() Based on a patch from John Cupitt Useful for thread pools which should scale to number of processors. See https://bugzilla.gnome.org/show_bug.cgi?id=687223 https://bugzilla.gnome.org/show_bug.cgi?id=614930 docs/reference/glib/glib-sections.txt | 3 ++ glib/glib.symbols | 1 + glib/gthread.c | 56 +++++++++++++++++++++++++++++++++++ glib/gthread.h | 3 ++ glib/tests/spawn-multithreaded.c | 10 ++++--- 5 files changed, 69 insertions(+), 4 deletions(-) commit ed5accf16c03cc3ec5d54a457163a747d580b49d Author: Dan Winship Date: Thu Aug 2 15:50:35 2012 -0400 gio: port file/vfs-related classes from GSimpleAsyncResult to GTask https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gdrive.c | 56 +-- gio/gfile.c | 933 ++++++++++++++++++------------------------------ gio/gfileenumerator.c | 184 ++++------ gio/gfileicon.c | 67 +--- gio/gfileinputstream.c | 80 ++--- gio/gfileiostream.c | 13 +- gio/gfileoutputstream.c | 80 ++--- gio/gloadableicon.c | 64 ++-- gio/gmount.c | 105 +++--- gio/gunixmount.c | 121 +++---- gio/gunixvolume.c | 101 +++--- gio/gvolume.c | 44 ++- 12 files changed, 723 insertions(+), 1125 deletions(-) commit 669505e354a843efb2e198d4b56e310fa6a69b9a Author: Dan Winship Date: Thu Aug 2 15:49:59 2012 -0400 gio: port basic I/O classes from GSimpleAsyncResult to GTask https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gbufferedinputstream.c | 168 +++++------ gio/gbufferedoutputstream.c | 73 ++--- gio/gdatainputstream.c | 133 ++++----- gio/ginputstream.c | 412 +++++++++++--------------- gio/giostream.c | 177 ++++++------ gio/gmemoryinputstream.c | 36 +-- gio/gmemoryoutputstream.c | 23 +- gio/goutputstream.c | 686 +++++++++++++++++++++----------------------- gio/gunixinputstream.c | 110 ++----- gio/gunixoutputstream.c | 103 ++----- 10 files changed, 771 insertions(+), 1150 deletions(-) commit 586adb9790a60ed6a8168da351719a93bc0c2e1a Author: Shantha kumar Date: Tue Dec 18 16:48:21 2012 +0530 Tamil translation updated po/ta.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8a4567aaeba8fb9efc7d968b0d99dff00dc439eb Author: Shantha kumar Date: Tue Dec 18 16:35:48 2012 +0530 Tamil translation updated po/ta.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5eb2e087cee184e48fe0563c3950f6827be35bdd Author: Shantha kumar Date: Tue Dec 18 16:29:08 2012 +0530 Tamil translation updated po/ta.po | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit e3d6bb41c5682fca47fdcd498cbc8a356f84e81f Author: Shantha kumar Date: Tue Dec 18 16:07:10 2012 +0530 Tamil translation updated po/ta.po | 107 +++++++++++++++++++++++---------------------------------------- 1 file changed, 39 insertions(+), 68 deletions(-) commit b1eb481e47a135d11aba67047631ce9dd1927d23 Author: Shantha kumar Date: Tue Dec 18 16:01:25 2012 +0530 Tamil translation updated po/ta.po | 6350 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3409 insertions(+), 2941 deletions(-) commit 99d92b1f534a4a607558f26eef9818ec013ea64e Author: Matej Urbančič Date: Tue Dec 18 08:40:39 2012 +0100 Updated Slovenian translation po/sl.po | 1901 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 953 insertions(+), 948 deletions(-) commit 9061d916058d706c3ff04f633e0158444adfec28 Author: Matthias Clasen Date: Mon Dec 17 19:18:13 2012 -0500 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6262a48678c2104617a9d329668e878bbbf1fb7f