commit 639c5867c7d86cb50d5dde54acaa9ec0fcdd7648 Author: Matthias Clasen Date: Mon Jan 16 14:00:18 2012 -0500 2.31.10 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1945ed407b4ee6e951cc1644274f9cac49e3f045 Author: Matthias Clasen Date: Mon Jan 16 11:50:07 2012 -0500 Updates NEWS | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) commit bf7408c30bac5b0a20202be5aaa850dd0ca1e671 Author: Dan Winship Date: Thu Dec 29 09:42:25 2011 -0500 GInetSocketAddress: add IPv6 flowinfo and scope_id fields struct sin6_addr has two additional fields that struct sin_addr doesn't. Add support for those to GInetSocketAddress, and make sure they don't get lost when converting between glib and native types. https://bugzilla.gnome.org/show_bug.cgi?id=635554 docs/reference/gio/gio-sections.txt | 2 + gio/ginetsocketaddress.c | 109 +++++++++++++++++++++++++++++++++- gio/ginetsocketaddress.h | 12 ++-- gio/gio.symbols | 2 + gio/gsocketaddress.c | 7 ++- gio/tests/socket.c | 40 +++++++++++++ 6 files changed, 162 insertions(+), 10 deletions(-) commit c71fc7477ed3ebe513432cba21d69ca99d7eb81c Author: Dan Winship Date: Thu Dec 29 09:18:53 2011 -0500 ginetaddress.c: fix an incorrect enum name in the docs gio/ginetaddress.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 76f46b4f33c178fe9a2c0113b38dca1dc9e87c97 Author: Sebastian Dröge Date: Mon Jan 16 19:22:28 2012 +0100 GSocket: Use correct type for SO_BROADCAST parameter gio/gsocket.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d44bb6ef64bf309efa393d8c89138ba23ad6c004 Author: Sebastian Dröge Date: Mon Jan 16 15:49:50 2012 +0100 GSocket: Reset the timeout in the GSocket GSource after it was triggered https://bugzilla.gnome.org/show_bug.cgi?id=667989 gio/gsocket.c | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) commit fbdb8128dce3ef013640c7142888a76f56a7f0f8 Author: Ole André Vadla Ravnås Date: Mon Jan 16 14:00:49 2012 +0100 GSocket: Add function to get the currently available bytes for reading https://bugzilla.gnome.org/show_bug.cgi?id=668009 docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gsocket.c | 34 ++++++++++++++++++++++++++++++++++ gio/gsocket.h | 2 ++ 4 files changed, 38 insertions(+), 0 deletions(-) commit ffb5f8b10191ddf51ccd021c1e4dbba4eafbc370 Author: Sebastian Dröge Date: Fri Jan 13 13:01:35 2012 +0100 GSocket: Add function to set/get the broadcast setting on a socket https://bugzilla.gnome.org/show_bug.cgi?id=623187 docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gsocket.c | 94 +++++++++++++++++++++++++++++++++++ gio/gsocket.h | 4 ++ 4 files changed, 102 insertions(+), 0 deletions(-) commit 5560d9b8800de1144d77ed924286759286b7d27e Author: Sebastian Dröge Date: Fri Jan 13 12:48:02 2012 +0100 GSocket: Add function for setting unicast TTL docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gsocket.c | 114 +++++++++++++++++++++++++++++++++++ gio/gsocket.h | 5 ++ 4 files changed, 123 insertions(+), 0 deletions(-) commit 03b40522df4fb247f76e5948eddd2d7a02c097a5 Author: Sebastian Dröge Date: Fri Jan 13 12:53:50 2012 +0100 GSocket: Add support for source-specific multicast (RFC 4604) gio/gsocket.c | 22 +++++++++++++++++----- gio/gsocket.h | 2 ++ 2 files changed, 19 insertions(+), 5 deletions(-) commit 97f25892ea38e227fe802d0cc50fd88be12cdb17 Author: Sebastian Dröge Date: Fri Jan 13 12:37:31 2012 +0100 GSocket: Add possibility to join a multicast group only on a specific interface configure.ac | 4 ++++ gio/gnetworkingprivate.h | 1 + gio/gsocket.c | 28 +++++++++++++++++++++++++--- gio/gsocket.h | 2 ++ 4 files changed, 32 insertions(+), 3 deletions(-) commit a62d1bb74728aa80af2410cee57950a545f6fa04 Author: Dan Winship Date: Thu Dec 29 11:01:23 2011 -0500 GSocket: Add multicast-related functions Add APIs for sending and receiving multicast datagrams with GSocket. Based on an earlier patch from Olivier Chalouhi. https://bugzilla.gnome.org/show_bug.cgi?id=626589 docs/reference/gio/gio-sections.txt | 7 + gio/gio.symbols | 6 + gio/gsocket.c | 337 ++++++++++++++++++++++++++++++++++- gio/gsocket.h | 13 ++ 4 files changed, 362 insertions(+), 1 deletions(-) commit 26b3fbd141089d493adb700be0366e8e7f9e595b Author: Kjartan Maraas Date: Sun Jan 15 15:52:24 2012 +0100 Updated Norwegian bokmål translation po/nb.po | 239 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 162 insertions(+), 77 deletions(-) commit afe7a2d1368fc8dff0735757c096ded3d540ae42 Author: Dan Winship Date: Thu Jan 5 13:04:37 2012 -0500 GAsyncInitable: fix subclassibility If a class implements GAsyncInitable, and its parent also implements it, then the subclass needs to call its parent's init_async() before running its own. This was made more complicated by the fact that the default init_finish() behavior was handled by the wrapper method (which can't be used when making the super call) rather than the default implementation itself. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=667375 gio/gasyncinitable.c | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) commit feb120eb40570e803e043e1a87213166ad307c30 Author: Alexander Larsson Date: Mon Jan 16 10:38:35 2012 +0100 Fix typo registred_resources -> registered_resources gio/gresource.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit decac50c1598f75ce781a3c6a68a85c0defe38ac Author: Patrick Welche Date: Thu Jan 12 15:38:15 2012 +0000 Protect call to pthread_condattr_setclock with define. While here update pthread_attr_setstacksize test to use AC_LINK_IFELSE and avoid an unused variable in glib/tests/thread.c. https://bugzilla.gnome.org/show_bug.cgi?id=667790 configure.ac | 22 +++++++++++++++++----- glib/gthread-posix.c | 2 +- glib/tests/thread.c | 2 +- 3 files changed, 19 insertions(+), 7 deletions(-) commit 6d9f874330ee27ea09b383cb30718a492f6539dd Author: Simon McVittie Date: Fri Sep 30 14:02:29 2011 +0100 g_error_new_valist, g_error_copy: warn if domain is 0 or message is NULL Neither of those usages is valid, but there's a lot of use of 0 as a domain "in the wild", so we can't g_return_if_fail yet. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=660371 glib/gerror.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 186c15fc879606866215b40f1bfb730b1c47a727 Author: Matthias Clasen Date: Sun Jan 15 23:18:09 2012 -0500 GError: small documentation addition Document that out variables are not guaranteed to be set to defined values if an error is thrown. Inspired by bug 658315 glib/gerror.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 5377c0de0108d292ea3e23fa6d90410f9ac9fa00 Author: Matthias Clasen Date: Sun Jan 15 22:15:10 2012 -0500 Beef up Libs.private in glib-2.0.pc This should help getting static builds working on mingw. Based on a patch by Volker Grabsch, bug 619126. At the same time, drop the unnecessary GLIB_RT_LIBS variable; we are already adding -lrt to G_THREAD_LIBS. configure.ac | 4 +--- gio-2.0.pc.in | 2 +- glib-2.0.pc.in | 2 +- glib/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) commit 7e542e97a97a02592beea6a8ffff497f538df3ab Author: Matthias Clasen Date: Sun Jan 15 21:09:31 2012 -0500 Trivial docs fix I like GLib to be consistently capitalized in the docs. docs/reference/gio/glib-compile-resources.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4abe25dbbdd1ba0fd430ef61a02334b8be497fc6 Author: Daniel Mustieles Date: Sun Jan 15 19:28:05 2012 +0100 Updated Spanish translation po/es.po | 259 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 176 insertions(+), 83 deletions(-) commit 673396fb654036f7eb7ba152bb6966e48c1c0e5d Author: Dan Winship Date: Sun Jan 15 09:35:11 2012 -0500 gmain: fix adding a child source to an already-attached source Adding a child source to an already-attached parent source would crash, because we were passing the parent's context when setting the child's priority. glib/gmain.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 87dc86240835313f0cfe503b2d68a09301ad6240 Author: Christian Persch Date: Sun Jan 15 00:34:56 2012 +0100 Ensure to generate a flags GType for empty Flags enums When the flags enum only has the default NONE = 0 entry, glib-mkenums creates an enum type for it, not a flags type. Add an annotation to the enum to ensure the correct GType is created. Bug #667938. gio/gioenums.h | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) commit b717ef86ade12781b95464f4de26c1c1ec2f2df2 Author: Christian Persch Date: Sat Jan 14 21:13:03 2012 +0100 resources: Use g_set_error_literal where appropriate gio/gresourcefile.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) commit 870fc484d994093b1d4ebc8d2f52665530693e59 Author: Christian Persch Date: Sun Jan 15 00:40:25 2012 +0100 Add missing Since: docs gio/gioenums.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 91e3a673767214a86c3316f8851d93a911953f78 Author: Fran Diéguez Date: Sun Jan 15 00:42:25 2012 +0100 Updated Galician translations po/gl.po | 733 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 414 insertions(+), 319 deletions(-) commit 0fd61489e5e02312dd54ad721bcca7c45cf367a4 Author: Rico Tzschichholz Date: Sat Jan 14 11:18:07 2012 +0100 gio/tests: Fix out-of-source build and use uninstalled libraries gio/tests/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit a6e149e41f359c4bf2ddab341dad20e7fb2bd9f3 Author: Benjamin Otte Date: Sat Jan 14 01:13:42 2012 +0100 array: return_if_fail() if element size is 0 This is particular useful for: g_array_new (sizeof (MyStruct), FALSE, FALSE); because the correct incantation is g_array_new (FALSE, FALSE, sizeof (MyStruct)); and these warnings will trigger in the first situation. glib/garray.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit 9d52243790aa460c228bdcf7ee8e28f78ecd7b13 Author: Benjamin Otte Date: Sun Jan 1 21:51:40 2012 +0100 values: Use v_pointer for g_value_set_gtype() ... and g_value_get_gtype(). G_TYPE_GTYPE is a pointer type, so it's values should use the v_pointer member. This is especially true, because the value collectors from varargs in gvaluecollector.h use that, too. This should only cause issues when sizeof(glong) != sizeof(gpointer), and I'm not aware of any such platform. Maybe win64? gobject/gvaluetypes.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 86cd3018e0c5205707b2db8b9cc8537c2f60678d Author: Rico Tzschichholz Date: Fri Jan 13 23:48:12 2012 +0100 gio/tests: add some missing files to EXTRA_DIST gio/tests/Makefile.am | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit e3fe25669227944381119852b89beead267c604c Author: Rico Tzschichholz Date: Fri Jan 13 23:18:01 2012 +0100 gio: Fix for -Wformat-security gio/gresourcefile.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 8735f53ae4f1530b07ff6cf1a5211378b09cd50d Author: Rico Tzschichholz Date: Fri Jan 13 22:35:44 2012 +0100 tests: Fix build failure of resources by linking against libgmodule-2.0.la gio/tests/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 0ed77c4fdd44d717a7ab2e55b6d3551975133215 Author: Piotr Drąg Date: Fri Jan 13 21:11:03 2012 +0100 Updated POTFILES.in po/POTFILES.in | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 056cec779a02d33a49fa7bdd9abe621d6bdc95d4 Author: Alexander Larsson Date: Thu Jan 12 14:50:56 2012 +0100 Add GResource functions to gio.symbols gio/gio.symbols | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit 186e2d20780d23ebe234e9432ee7bfc47fd25ba3 Author: Alexander Larsson Date: Thu Jan 12 21:09:15 2012 +0100 Add GLIB_COMPILE_RESOURCES to glib m4 macros m4macros/glib-2.0.m4 | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit ac51c338ed4c503dab0927e64e8de7cad5a73e0a Author: Alexander Larsson Date: Thu Jan 12 20:51:56 2012 +0100 Add glib_compile_resources variable to the gio pc file gio-2.0.pc.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit c7dfea30b358d737a2711f25a7167968fede4c05 Author: Alexander Larsson Date: Fri Jan 13 16:39:28 2012 +0100 Add documentation for GResource docs/reference/gio/Makefile.am | 1 + docs/reference/gio/gio-docs.xml | 5 + docs/reference/gio/gio-sections.txt | 43 +++++++++++ docs/reference/gio/glib-compile-resources.xml | 101 +++++++++++++++++++++++++ 4 files changed, 150 insertions(+), 0 deletions(-) commit e041843b3e70df95c8909cf4e35728d0d88c1530 Author: Alexander Larsson Date: Wed Dec 21 23:37:56 2011 +0100 Support resource:/// uris gio/Makefile.am | 2 + gio/gresourcefile.c | 875 +++++++++++++++++++++++++++++++++++++++++++++++++ gio/gresourcefile.h | 51 +++ gio/gvfs.c | 11 + gio/tests/resources.c | 40 +++ 5 files changed, 979 insertions(+), 0 deletions(-) commit 75439298f88b5a56130cd1fc03c944f0326471e5 Author: Alexander Larsson Date: Wed Dec 21 21:45:16 2011 +0100 Add tests for GResource gio/tests/Makefile.am | 32 +++- gio/tests/resourceplugin.c | 18 ++ gio/tests/resources.c | 436 +++++++++++++++++++++++++++++++++++++++++ gio/tests/test.gresource.xml | 10 + gio/tests/test1.txt | 1 + gio/tests/test2.gresource.xml | 6 + gio/tests/test2.txt | 1 + gio/tests/test3.gresource.xml | 6 + gio/tests/test3.txt | 1 + gio/tests/test4.gresource.xml | 6 + 10 files changed, 516 insertions(+), 1 deletions(-) commit 827657491dba97392f5ba38a5f5c13f8f2431b10 Author: Alexander Larsson Date: Wed Dec 21 21:43:20 2011 +0100 Initial version of glib-compile-resources This is the basic utility to create resource files, either binary versions or source files that can be compiled into your app. gio/Makefile.am | 13 +- gio/glib-compile-resources.c | 693 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 705 insertions(+), 1 deletions(-) commit b87cf491630032de24c2c4ac680b6ea17613b2c8 Author: Alexander Larsson Date: Wed Dec 21 21:38:23 2011 +0100 Initial version of GResource GResource is a bundle of files combined into a single binary blog. The API lets you access the files the resource contains by using resource paths. You can also register resources with a global list and access these globally in a merged resource namespace. The normal way this is used is to link in the resources into your application/library and have it be automatically registred. Resources are compiled from an xml description using glib-compile-resources. gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gioenums.h | 38 +++ gio/giotypes.h | 8 + gio/gresource.c | 844 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gresource.h | 98 +++++++ 6 files changed, 991 insertions(+), 0 deletions(-) commit d85b722734a6fcfe94032f6113de9e5c190fd7c3 Merge: 9ef4554 73acf01 Author: Alexander Larsson Date: Fri Jan 13 16:12:56 2012 +0100 Merge remote-tracking branch 'gvdb/master' commit 9ef4554a0b252b092ee0e6731305b829d088f0cc Author: Alexander Larsson Date: Wed Dec 21 21:13:21 2011 +0100 Add macros to handle constructor functions on the compilers that support it This is only supported on some compilers, so we define G_HAS_CONSTRUCTORS when it is supported. However, when it is supported we guarantee that both constructors and destructors work, in executables as well as shared libraries (including runtime unloading of shared libraries). Usage is a bit unorthodox, as some compilers need to use #pragma to implement constructors, and #pragma can't be used in macros. The canonical way to use this: #ifdef G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA #pragma G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(my_constructor) #endif G_DEFINE_CONSTRUCTOR(my_constructor) static void my_constructor (void) { ... #ifdef G_DEFINE_DESTRUCTOR_NEEDS_PRAGMA #pragma G_DEFINE_DESTRUCTOR_PRAGMA_ARGS(my_destructor) #endif G_DEFINE_DESTRUCTOR(my_destructor) static void my_destructor (void) { ... glib/gmacros.h | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 93 insertions(+), 0 deletions(-) commit 73acf016185f323a8caa268b53284621d805fb15 Author: Alexander Larsson Date: Fri Jan 13 15:59:56 2012 +0100 Support creating a GvdbReader from data This is needed for the glib resource work. gvdb-reader.c | 146 +++++++++++++++++++++++++++++++++++++++++--------------- gvdb-reader.h | 10 ++++ 2 files changed, 117 insertions(+), 39 deletions(-) commit d1f6300363bb8afc5f7f1e54663a7201587bcd41 Author: Murray Cumming Date: Fri Jan 13 09:21:46 2012 +0100 Docs: Changed can not to cannot. This is a backport from the glib commit 30fdc1a79938540af7bad0af68d0a3b8af14f117 gvdb-reader.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3db6241b12bccab05be6916e1f843091a3cea380 Author: Yaron Shahrabani Date: Fri Jan 13 09:38:35 2012 +0200 Updated Hebrew translation. po/he.po | 442 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 221 insertions(+), 221 deletions(-) commit 9e732ab0ea742d57a46f72be475ac1d2f026eae2 Author: Javier Jardón Date: Tue Dec 6 23:15:58 2011 +0000 docs/gobject/tutorial: Use g_object_class_install_properties docs/reference/gobject/tut_gobject.xml | 51 +++++++++++++++++--------------- docs/reference/gobject/tut_howto.xml | 33 ++++++++++++++------- 2 files changed, 49 insertions(+), 35 deletions(-) commit c3d6595f5a9230fc579edd9a646351b22ca6d976 Author: Evan Nemerson Date: Sat Jan 7 09:54:53 2012 -0800 GIO: add lots of annotations for Vala bindings https://bugzilla.gnome.org/show_bug.cgi?id=667447 gio/gapplicationcommandline.c | 2 +- gio/gbufferedinputstream.c | 3 ++- gio/gdbusintrospection.c | 2 +- gio/gdbusmessage.c | 15 ++++++++------- gio/gdbusserver.c | 2 +- gio/gemblemedicon.c | 2 +- gio/gfile.c | 18 +++++++++--------- gio/gfileicon.c | 3 ++- gio/gfileinfo.c | 2 +- gio/gfilemonitor.c | 2 +- gio/ginetaddress.c | 2 +- gio/ginitable.c | 2 +- gio/gmemoryinputstream.c | 4 ++-- gio/gmountoperation.c | 3 ++- gio/gnetworkaddress.c | 2 +- gio/gnetworkservice.c | 2 +- gio/goutputstream.c | 2 ++ gio/gsimpleactiongroup.c | 4 ++-- gio/gsocket.c | 19 ++++++++++++------- gio/gsocketservice.c | 3 ++- gio/gthemedicon.c | 6 +++--- gio/gtlsclientconnection.c | 3 ++- gio/gtlsdatabase.c | 4 ++-- gio/gtlsfiledatabase.c | 3 ++- gio/gtlspassword.c | 1 + gio/gtlsserverconnection.c | 3 ++- 26 files changed, 65 insertions(+), 49 deletions(-) commit e98f17e5cf1696d418444b23cb092be0eaba3008 Author: Philip Withnall Date: Thu Dec 22 00:16:06 2011 +0000 Bug 666700 — Add some missing (allow-none) annotations Add some missing (allow-none) annotations to GContentType, GIcon and GHashTable methods. Closes: bgo#666700 gio/gcontenttype.c | 2 +- gio/gicon.c | 4 ++-- glib/ghash.c | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) commit f8843a0feb09898fea320a5a65a443bc5a70d78e Author: Matthias Clasen Date: Tue Jan 10 00:40:14 2012 -0500 Back to odd configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4a016d82f1246b6bb58e4374f318ab47a5806672 Author: Matthias Clasen Date: Tue Jan 10 00:39:20 2012 -0500 2.31.8 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)