commit afe30b28847487d9b5cb4fb65ce740107cbc7423 Author: Matthias Clasen Date: Mon Mar 5 07:54:47 2012 -0500 Fix a compiler warning gobject/gsignal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit dea3619367633786f98267181f18ec11834ec507 Author: Matthias Clasen Date: Mon Mar 5 07:34:58 2012 -0500 gobject: Fix symbol lists gobject/gobject.symbols | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) commit d2e742c60516963d894516f1ffaf72be021b5df2 Author: Matthias Clasen Date: Mon Mar 5 07:02:53 2012 -0500 More updates NEWS | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit f3fb42cfaf967cec4450437d81f824de266fb274 Merge: e9c399a 2d6502f Author: Alexander Larsson Date: Mon Mar 5 12:29:45 2012 +0100 Merge branch 'signal-performance' commit e9c399a65bfa1796947a8d1d65a4a7edab610c3b Author: Matthias Clasen Date: Sun Mar 4 23:42:45 2012 -0500 Fix distcheck gio/fam/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 17835f8efd226580f767cf86e846749102050ae1 Author: YunQiang Su Date: Mon Mar 5 17:44:58 2012 +0800 update Simplified Chinese (zh_CN) translation po/zh_CN.po | 5919 +++++++++++++++++++++++++++++++---------------------------- 1 files changed, 3129 insertions(+), 2790 deletions(-) commit c0c2cbe0aec6fe42ac7496ed831b2e78a477c351 Author: Matthias Clasen Date: Sun Mar 4 22:25:50 2012 -0500 Fix distcheck glib/pcre/Makefile.am | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 47b162c1dfeca9384058e24a9cef3fdb4e730151 Author: Matthias Clasen Date: Sun Mar 4 21:48:26 2012 -0500 Updates for 2.31.20 NEWS | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) commit 1426a8ca07f3ad0e874c0b0aad241ae93cf1e144 Author: Matthias Clasen Date: Sun Mar 4 20:49:04 2012 -0500 Fix binding properties of the same object This problem was pointed out in bug 639873. The patch here is based on Matt Barnes patch, I've added a testcase as well. gobject/gbinding.c | 8 +++++--- gobject/tests/binding.c | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 3 deletions(-) commit 840c32281d307c709b3b2d83071280b3bf46b969 Author: Nirbheek Chauhan Date: Tue Feb 21 19:42:22 2012 +0530 Run gdb under libtool so that local libraries are used If this isn't done, the system-wide glib is used for this test, and that can cause test failures. https://bugzilla.gnome.org/621368 tests/run-assert-msg-test.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d49a77df5de8102974654f6f27a119dabd550043 Author: Matej Urbančič Date: Sun Mar 4 21:23:29 2012 +0100 Updated Slovenian translation po/sl.po | 72 +++++++++++++++++++++++++++---------------------------------- 1 files changed, 32 insertions(+), 40 deletions(-) commit ce5ccbf3e0638b33f66a0948ecffe287beca1592 Author: Martin Srebotnjak Date: Sun Mar 4 21:20:59 2012 +0100 Updated Slovenian translation po/sl.po | 1636 +++++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 992 insertions(+), 644 deletions(-) commit f3bf532a3c6dd97605117dba4b7cc4aae10e7136 Author: Michael Biebl Date: Sun Mar 4 00:26:10 2012 +0100 build: include glib-compile-resources.xml in the dist tarball https://bugzilla.gnome.org/show_bug.cgi?id=671281 docs/reference/gio/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit cc2104e87a12414c205319a0e488c17c64246e9c Author: Michael Biebl Date: Sat Mar 3 21:39:35 2012 +0100 build: Fix failure on "make distclean" https://bugzilla.gnome.org/show_bug.cgi?id=671270 gio/tests/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2d6502f67bb207c5a0d6eaba27b2398b74baa28f Author: Alexander Larsson Date: Sat Mar 3 21:36:10 2012 +0100 fastpath: Do allow NO_RECURSE fastpath for NOP emissions This fixes a performance regression wrt the old NOP emission handler. gobject/gsignal.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit 5f280eb6a828d3bdeb932ce42ee97b2ab7e771f2 Author: Shota Akiyama Date: Thu Feb 23 11:52:12 2012 +0100 glib/gmacros.h: Fix up attribute to avoid namespace collisions https://bugzilla.gnome.org/show_bug.cgi?id=670751 glib/gmacros.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit deea0e39ba6bb7c41da405c1269abb962ca81a71 Author: Dan Winship Date: Fri Mar 2 10:22:11 2012 -0500 gspawn: rename G_SPAWN_ERROR_2BIG to be more bindings-friendly Rename G_SPAWN_ERROR_2BIG to G_SPAWN_ERROR_TOO_BIG (while keeping the old name for compatibility), to fix problems with language bindings where the old name translates into something that would be syntactically invalid due to starting with a digit. https://bugzilla.gnome.org/show_bug.cgi?id=671025 glib/gspawn.c | 2 +- glib/gspawn.h | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) commit a5caa564b7ac03d49386690c3037e57bdf80563d Author: Ryan Lortie Date: Sat Mar 3 11:40:51 2012 -0500 GApplication: fix name unregister logic We were attempting to unregister our ownership of our D-Bus name even in the case that we were non-unique (ie: we didn't actually own the name). Rework the logic a bit to prevent that: for non-unique, we leave impl->bus_name as NULL and we only register/unregister if it is non-NULL. gio/gapplicationimpl-dbus.c | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-) commit 5c3e86277627a8cc2dab64dd25fc7a30369472e0 Author: Nguyễn Thái Ngọc Duy Date: Sat Mar 3 22:49:18 2012 +0700 Updated Vietnamese translation po/vi.po | 85 +++++++++++++++++++++++++++---------------------------------- 1 files changed, 38 insertions(+), 47 deletions(-) commit f5aad13d8f1fe4fccf128105f9ab50f2e73f7737 Author: Nguyễn Thái Ngọc Duy Date: Sat Mar 3 22:35:16 2012 +0700 po/vi: import from Damned Lies po/vi.po | 1134 ++++++++++++++++++++++++++++++++++++------------------------- 1 files changed, 669 insertions(+), 465 deletions(-) commit 27d9b92264a35dc5753f63ad0ff2f8e5c7381c44 Author: Inaki Larranaga Murgoitio Date: Sat Mar 3 14:43:05 2012 +0100 Updated Basque language po/eu.po | 6203 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 3268 insertions(+), 2935 deletions(-) commit 59ee6dbc004adda8c4e4c8ff58bf21a9173eb99f Author: Peter O'Gorman Date: Fri Mar 2 13:36:27 2012 -0800 Bug 640202 Impossible to build multi-architecture libraries Hides ELF-only linker flag -export-dynamic from non-ELF linkers. configure.ac | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) commit b05ea89d0c9e97fcd7858a83ea0d1c6d7fe1972f Author: Alexander Larsson Date: Fri Mar 2 20:22:29 2012 +0100 Mask out G_SIGNAL_TYPE_STATIC_SCOPE when comparing types gobject/gsignal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d10f79a1963d169b1613b2163176cdea7b7d4d8d Author: Emmanuele Bassi Date: Fri Mar 2 17:06:36 2012 +0000 build: Fix rules for marshalers.[ch] gobject/tests/.gitignore | 1 + gobject/tests/Makefile.am | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit 3d52ee999af39b37badfb8ed6f7b0dbcf28c73b0 Author: Alexander Larsson Date: Fri Mar 2 16:16:17 2012 +0100 Add more tests for signal emissions gobject/tests/Makefile.am | 10 ++ gobject/tests/marshalers.list | 3 + gobject/tests/signals.c | 361 ++++++++++++++++++++++++++++++++++++++++- 3 files changed, 367 insertions(+), 7 deletions(-) commit f02ec2f2de3c9863da36be951662ddf4080adfaa Author: Alexander Larsson Date: Wed Feb 22 19:36:05 2012 +0100 Optimize single-handler va_marshaller case When there is only one closure handling a signal emission and it doesn't have a bunch of complicated features enabled we can short circuit the va_args collection into GValues and call the callback via the va_marshaller directly. https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/gsignal.c | 344 ++++++++++++++++++++++++++++++++------------- gobject/gvaluecollector.h | 30 ++++ 2 files changed, 274 insertions(+), 100 deletions(-) commit a3e91088ce40ed201cfe1514b0adb252394027b1 Author: Alexander Larsson Date: Fri Mar 2 11:20:45 2012 +0100 Use builtin marshallers and va_marshallers if possible If the signal argumment types matches a built in standard marshaller we use the va_marshaller for that, and also the normal marshaller if NULL was specified (as its faster than the generic one). gobject/gsignal.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 51 insertions(+), 3 deletions(-) commit 7964cda8e6c9dc779e99b65150e158e29d373ea4 Author: Alexander Larsson Date: Wed Feb 22 19:34:05 2012 +0100 Add g_signal_set_va_marshaller This lets you set a va_marshaller on your signal which will be propagated to all closures for the signal. Also, automatically uses the generica va_marshaller if you specify a NULL c_marshaller. https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/gsignal.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++---- gobject/gsignal.h | 11 ++++++++++ 2 files changed, 64 insertions(+), 5 deletions(-) commit 1c4f0ca48332f2e550b5e5e17365c43912958cee Author: Alexander Larsson Date: Tue Feb 28 15:48:20 2012 +0100 Add _g_closure_is_void to check for NULL vfuncs https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/gclosure.c | 36 ++++++++++++++++++++++++++++++++++++ gobject/gtype-private.h | 2 ++ 2 files changed, 38 insertions(+), 0 deletions(-) commit 57051905f9279d2c8c27e9e50154c9565708f4d5 Author: Alexander Larsson Date: Wed Feb 22 19:32:36 2012 +0100 Support generating va marshallers in glib-genmarshal https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/glib-genmarshal.c | 232 +++++++++++-- gobject/gmarshal.c | 909 +++++++++++++++++++++++++++++++++++++++++++++ gobject/gmarshal.h | 154 ++++++++ 3 files changed, 1272 insertions(+), 23 deletions(-) commit 588af03a2893615736685c43cdaff767f70d04e8 Author: Alexander Larsson Date: Wed Feb 22 19:29:14 2012 +0100 Add optional support for varargs marshallers to GClosure These closures support being invoked on a va_args which can be useful as you can then avoid boxing the va_args into GValues in certain cases. https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/gclosure.c | 364 ++++++++++++++++++++++++++++++++++++++++++++++- gobject/gclosure.h | 18 +++ gobject/gtype-private.h | 13 ++ 3 files changed, 392 insertions(+), 3 deletions(-) commit d5fbbe400aef8c802968a1398fc8e9546173b748 Author: Alexander Larsson Date: Wed Feb 22 17:46:21 2012 +0100 Add GRealClosure and move meta_marshallers there This means we're not abusing the notifiers for meta_marshallres, and we're able to later cleanly add other fields to GClosure. We still have to leave the ABI intact for the GClosure->meta_marshal bit, as old G_CLOSURE_N_NOTIFIERS macro instances still accesses it. However, we always set it to zero to keep those macros working. https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/gclosure.c | 81 +++++++++++++++++++---------------------------- gobject/gclosure.h | 6 ++- gobject/gsignal.c | 4 +- gobject/gtype-private.h | 12 +++++++ 4 files changed, 51 insertions(+), 52 deletions(-) commit 950e6a4a207180862061618de5a3b77f92d71c0a Author: Alexander Larsson Date: Wed Feb 22 19:44:24 2012 +0100 tests: Add generic and empty signal emission performace tests generic means it uses the generic marshaller empty means the vfunc pointer is NULL https://bugzilla.gnome.org/show_bug.cgi?id=661140 tests/gobject/performance.c | 112 +++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 107 insertions(+), 5 deletions(-) commit 3be0e57458fe297d79a20f261cc2b0f92c91db45 Author: Lionel Landwerlin Date: Tue Sep 27 09:15:17 2011 +0100 tests: performance: add emit-handled/emit-unhandled tests Signed-off-by: Lionel Landwerlin tests/gobject/performance.c | 125 +++++++++++++++++++++++++++++++++++------- 1 files changed, 104 insertions(+), 21 deletions(-) commit 00f1e1f5c282b0943d0a7b3e073d8867b0bdba05 Author: Jörn Magens Date: Wed Feb 29 12:29:50 2012 -0500 GSequence: add note about lookup requiring sorting g_sequence_lookup() only works on sorted sequences, but it's quite easy to create unsorted sequences. Add a note to the documentation that the sequence must be sorted in order for g_sequence_lookup() to work. https://bugzilla.gnome.org/show_bug.cgi?id=670969 glib/gsequence.c | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) commit 7e7e0b141c887a2880c88f051cb8ed07e474b24a Author: Yaron Shahrabani Date: Fri Mar 2 14:15:58 2012 +0200 Updated Hebrew translation. po/he.po | 131 ++++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 76 insertions(+), 55 deletions(-) commit cb0566eaf3b245bf2eaa8c9e912cf240d8868193 Author: Christian Dywan Date: Sat Mar 26 14:48:54 2011 +0000 gobject/gtype.c: Emphasize use of priv in member and use g_return_val_if_fail Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=597785 Signed-off-by: Javier Jardón gobject/gtype.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit 10fbfcf09010e423cfc79c54e8da50b62a0f4b8a Author: David Zeuthen Date: Thu Mar 1 14:06:43 2012 -0500 Add G_VOLUME_IDENTIFIER_KIND_CLASS identifier If an application (such as Nautilus) wants to show a sidebar with devices group into different groups such as "Devices" and "Network", it's currently up to the application itself to do the classification (for example by looking at the URI scheme for the activation root, e.g. smb://). This patch adds a new identifier G_VOLUME_IDENTIFIER_KIND_CLASS that can be set by volume monitors and used by applications. See https://bugzilla.gnome.org/show_bug.cgi?id=668295 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/gvolume.h | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 0 deletions(-) commit 479416fada430f8d1f5af8e9b7c536b2ee6e71fb Author: Krishnababu Krothapalli Date: Thu Mar 1 13:59:41 2012 +0530 Updated Telugu Translations po/te.po | 6103 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 3207 insertions(+), 2896 deletions(-) commit 80611295ab56dd95add95a9600ba8bc88d5e9a62 Author: Colin Walters Date: Wed Feb 29 12:37:24 2012 -0500 g_uri_unescape_segment: Mention (allow-none)/%NULL in documentation glib/gurifuncs.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit ede8707129389d6a795b9d23de2554b0d656e2f5 Author: Emmanuele Bassi Date: Wed Feb 29 17:52:39 2012 +0000 Version the deprecation of g_value_array_get_type() Just like the rest of the GValueArray API. gobject/gboxed.h | 13 ------------- gobject/gvaluearray.h | 13 ++++++++++++- 2 files changed, 12 insertions(+), 14 deletions(-) commit c5b6f774c4c133b5c1a9ebbd046a54ef6f177f84 Author: Andoni Morales Alastruey Date: Wed Feb 29 11:19:21 2012 +0100 gsocket: fix compilation when ENOTSOCK and WSANOTSOCK are both defined gio/gsocket.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 9db8692f5ada433b4c7292b5b595a667fb53bebc Author: Chun-wei Fan Date: Wed Feb 29 11:58:16 2012 +0800 Update Visual C++ projects Update the build support of the included PCRE as we are now including PCRE 8.30 with the GLib distribution. Also "install" the new gversionmacros.h header file. build/win32/vs10/glib.props | 2 + build/win32/vs10/glib.vcxproj.filtersin | 19 ++++- build/win32/vs10/glib.vcxprojin | 122 +++++++++++++++++++++++++++++-- build/win32/vs9/glib.vcprojin | 122 +++++++++++++++++++++++++++++-- build/win32/vs9/glib.vsprops | 1 + 5 files changed, 252 insertions(+), 14 deletions(-) commit 2bde3e8d833cf2d90ac3a0b3b89810ddd54b8c10 Author: Aleksander Morgado Date: Tue Feb 28 01:14:29 2012 +0100 gio-2.0.pc: add gdbus_codegen variable https://bugzilla.gnome.org/show_bug.cgi?id=670922 gio-2.0.pc.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 0155e19566a9d9e0d334eddac7dd757b4b9a2f4c Author: Fran Diéguez Date: Tue Feb 28 00:32:18 2012 +0100 Updated Galician translations po/gl.po | 66 +++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 42 insertions(+), 24 deletions(-) commit 7a4a973cfd1508065efa69c6a910cd01b490499a Author: David Zeuthen Date: Mon Feb 27 14:53:13 2012 -0500 GDBusConnection: Don't leak message reply in error path This was reported in bug 670909. https://bugzilla.gnome.org/show_bug.cgi?id=670909 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit eeccd3866ac679b36f5bff2c8c542b911a09a390 Author: Ryan Lortie Date: Mon Feb 27 14:00:55 2012 -0500 GDBusMenuModel: plug a leak of a GHashTable gio/gdbusmenumodel.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 51f1297a6e8a031a611dd15b8aec8f4abac9a1db Author: Christian Persch Date: Mon Feb 27 16:25:50 2012 +0100 Fixup docs comment glib/gunicode.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d2c37669f24d6c52642f0f7d76c6d8432fb57a6d Author: Christian Persch Date: Mon Feb 13 14:20:55 2012 +0100 regex: unicode: Update to Unicode 6.1.0 Update some more PCRE tables to Unicode 6.1.0. Should be completely updated now. glib/pcre/pcre_tables.c | 297 +++++++++++++++++++++++++---------------------- 1 files changed, 159 insertions(+), 138 deletions(-) commit c67ad269f1801371050da5600fa83abaf1130411 Author: Matthias Clasen Date: Mon Feb 27 07:16:11 2012 -0500 Fix doc build again The way gtk-doc works, we need compiling.sgml in both content_files (to make sure it ends up in the disted tarball) and in expand_content_files (to have references expanded). docs/reference/glib/Makefile.am | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 96c98ce62ebb88b296deab5391203a870dbfa068 Author: Matthias Clasen Date: Mon Feb 27 06:48:01 2012 -0500 Improve the wording of the message for G_UNAVAILABLE The version number we have here is the one the function appeared in, not the max-allowed version. Therefore 'unavailable before VERSION' makes more sense than 'unavailable for VERSION'. glib/gmacros.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit fecdb4f8dc5338b9c069edeb4f0eb77b0aaf3605 Author: Rico Tzschichholz Date: Mon Feb 27 12:50:18 2012 +0100 docs/glib: Moving back compiling.sgml to content_files to fix make dist docs/reference/glib/Makefile.am | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) commit 37c84b3bbf7ae6408f35db896c43ef513ffa0e8d Author: Alexander Shopov Date: Mon Feb 27 07:31:44 2012 +0200 Updated Bulgarian translation po/bg.po | 952 +++++++++++++++++++++++++++++++++++++++----------------------- 1 files changed, 604 insertions(+), 348 deletions(-) commit 4995ef4dd7959dde44c62014a06c52d41acd8908 Author: Matthias Clasen Date: Mon Feb 27 00:32:13 2012 -0500 Add a 'these are private' note for the version macros glib/gversionmacros.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 76175ab9eda0c1d56a2b6a816853ab00264b1f3b Author: Matthias Clasen Date: Mon Feb 27 00:18:47 2012 -0500 Improve documentation around deprecations docs/reference/glib/Makefile.am | 4 +++- docs/reference/glib/compiling.sgml | 2 +- docs/reference/glib/glib-docs.sgml | 2 +- docs/reference/glib/glib-sections.txt | 1 + glib/docs.c | 8 ++++++++ 5 files changed, 14 insertions(+), 3 deletions(-) commit 550fcaddf7fcdb8a4052ab43f40b27e5e9d94be1 Author: Emmanuele Bassi Date: Tue Feb 21 13:40:50 2012 +0000 Add versioned deprecation annotation We start from GLib 2.26. https://bugzilla.gnome.org/show_bug.cgi?id=670542 glib/deprecated/gcompletion.h | 16 +++++----- glib/deprecated/grel.h | 22 ++++++------ glib/deprecated/gthread.h | 70 ++++++++++++++++++++-------------------- glib/gatomic.h | 2 +- glib/gmain.h | 2 +- glib/gunicode.h | 2 +- 6 files changed, 57 insertions(+), 57 deletions(-) commit 817d992abcf127cec3de89b6d6e6e45a99b1727d Author: Emmanuele Bassi Date: Mon Feb 20 16:41:30 2012 +0000 value array: Annotate with versioned deprecation https://bugzilla.gnome.org/show_bug.cgi?id=670542 gobject/gvaluearray.h | 20 ++++++++++---------- gobject/tests/valuearray.c | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) commit 34aeeb7d64a0433f7994dd2b3f60bc018f0a84c1 Author: Emmanuele Bassi Date: Mon Feb 20 16:20:15 2012 +0000 Add flexible API version boundaries There are cases when it should be possible to define at compile time what range of functions and types should be used, in order to get, or restrict, the compiler warnings for deprecated or newly added types or functions. For instance, if GLib introduces a deprecation warning on a type in version 2.32, application code can decide to specify the minimum and maximum boundary of the used API to be 2.30; when compiling against a new version of GLib, this would produce the following results: - all deprecations introduced prior to 2.32 would emit compiler warnings when used by the application code; - all deprecations introduced in 2.32 would not emit compiler warnings when used by the application code; - all new symbols introduced in 2.32 would emit a compiler warning. Using this scheme it should be possible to have fairly complex situations, like the following one: assuming that an application is compiled with: GLIB_VERSION_MIN_REQUIRED = GLIB_VERSION_2_30 GLIB_VERSION_MAX_ALLOWED = GLIB_VERSION_2_32 and a GLib header containing: void function_A (void) GLIB_DEPRECATED_IN_2_26; void function_B (void) GLIB_DEPRECATED_IN_2_28; void function_C (void) GLIB_DEPRECATED_IN_2_30; void function_D (void) GLIB_AVAILABLE_IN_2_32; void function_E (void) GLIB_AVAILABLE_IN_2_34; any application code using the above functions will get the following compiler warnings: function_A: deprecated symbol warning function_B: deprecated symbol warning function_C: no warning function_D: no warning function_E: undefined symbol warning This means that it should be possible to gradually port code towards non-deprecated API gradually, on a per-release basis. https://bugzilla.gnome.org/show_bug.cgi?id=670542 configure.ac | 4 + docs/reference/glib/compiling.sgml | 9 ++ docs/reference/glib/glib-sections.txt | 9 ++ glib/Makefile.am | 1 + glib/docs.c | 32 +++++ glib/glib.h | 1 + glib/gmacros.h | 9 ++ glib/gtypes.h | 1 + glib/gversion.c | 12 ++ glib/gversionmacros.h | 206 +++++++++++++++++++++++++++++++++ 10 files changed, 284 insertions(+), 0 deletions(-) commit d70634526d43a9d9281301c2097c788ca575e318 Author: Christian Persch Date: Sat Feb 11 23:51:11 2012 +0100 regex: Remove --disable-regex option https://bugzilla.gnome.org/show_bug.cgi?id=622149 configure.ac | 114 ++++++++++++++++++++++----------------------------- glib/Makefile.am | 16 +------ glib/tests/regex.c | 13 ------ gobject/gboxed.c | 5 -- 4 files changed, 51 insertions(+), 97 deletions(-) commit 3e7f42654ff2fd471ccd67ad6b8a38672f81a393 Author: David King Date: Tue Feb 21 11:19:20 2012 +0000 docs: Clarify how to unset a GFileInfo attribute https://bugzilla.gnome.org/show_bug.cgi?id=592666 gio/gfileinfo.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 500aafd09960b5cea027585e3898192f9501d04f Author: David King Date: Tue Feb 21 10:05:08 2012 +0000 docs: Clarify g_type_register_fundamental() behaviour https://bugzilla.gnome.org/show_bug.cgi?id=580873 gobject/gtype.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit 989c466296fe9094f80a0633546b7419da7522c6 Author: Christian Persch Date: Sun Feb 12 21:22:13 2012 +0100 regex: Remove pcre_ucd.c glib/pcre/pcre_ucd.c | 3098 -------------------------------------------------- 1 files changed, 0 insertions(+), 3098 deletions(-) commit 706b72db21d25ec26ed7411e5221550ffb08ff21 Author: Christian Persch Date: Sun Feb 12 21:20:33 2012 +0100 regex: Use glib for unicode data Use g_unichar_type() and g_unichar_get_script() instead of pcre tables. glib/pcre/Makefile.am | 1 - glib/pcre/pcre_compile.c | 26 +- glib/pcre/pcre_dfa_exec.c | 96 +++--- glib/pcre/pcre_exec.c | 26 +- glib/pcre/pcre_internal.h | 11 +- glib/pcre/pcre_tables.c | 16 + glib/pcre/pcre_xclass.c | 24 +- glib/pcre/ucp.h | 265 ++++++++-------- glib/update-pcre/ucp.patch | 732 +++++++++++++++++++++++++++++++++++++++++++- 9 files changed, 958 insertions(+), 239 deletions(-) commit 75dffb99b3d11f4ae9d8a72a055641482a727b75 Author: Christian Persch Date: Sun Feb 12 20:41:52 2012 +0100 regex: Remove obsolete patch glib/update-pcre/utt.patch | 30 ------------------------------ 1 files changed, 0 insertions(+), 30 deletions(-) commit 8e8ab99bad79455fae732f5472c8b06a68cca35d Author: Christian Persch Date: Sun Feb 12 20:04:41 2012 +0100 regex: unicode: Update to Unicode 6.1.0 glib/pcre/pcre_ucd.c | 4769 ++++++++++++++++++++++++++------------------------ glib/pcre/ucp.h | 10 +- 2 files changed, 2452 insertions(+), 2327 deletions(-) commit 735e4a6a6a5112b5caccb7e55841aa0eba50f5cb Author: Christian Persch Date: Sun Feb 12 19:44:31 2012 +0100 regex: Remove obsolete makefile fragments The update.sh script doesn't work with current PCRE, so these are obsolete. glib/update-pcre/Makefile.am | 2 -- glib/update-pcre/Makefile.am-1 | 28 ---------------------------- glib/update-pcre/Makefile.am-2 | 10 ---------- 3 files changed, 0 insertions(+), 40 deletions(-) commit afa3375210cf5b29885559c6fefcdd1b167614d2 Author: Christian Persch Date: Sun Feb 12 19:40:48 2012 +0100 regex: Use glib memory allocator glib/pcre/pcre_globals.c | 10 ++-- glib/update-pcre/memory.patch | 114 ++++++++++++---------------------------- 2 files changed, 40 insertions(+), 84 deletions(-) commit 38309dc482eb80037b620d5797fce133fe5f3060 Author: Christian Persch Date: Sun Feb 12 19:31:15 2012 +0100 regex: Remove obsolete patch glib/update-pcre/Makefile.am | 3 +-- glib/update-pcre/pcre_valid_utf8.c | 14 -------------- 2 files changed, 1 insertions(+), 16 deletions(-) commit d02f6393dffe8dbf9e909d20cab9c8dcaaa8d98b Author: Christian Persch Date: Sun Feb 12 19:29:42 2012 +0100 regex: Use g_ascii_is[x]digit glib/pcre/pcre_compile.c | 22 ++-- glib/update-pcre/digitab.patch | 217 ++++++++++++++++----------------------- 2 files changed, 101 insertions(+), 138 deletions(-) commit 8aadf6b3c94b907c418b8289f89978e289aefa1d Author: Christian Persch Date: Sun Feb 12 19:20:49 2012 +0100 regex: Remove obsolete patch PCRE doesn't even contain the patched file anymore. glib/update-pcre/Makefile.am | 1 - glib/update-pcre/pcre_ucp_searchfuncs.c | 130 ------------------------------- 2 files changed, 0 insertions(+), 131 deletions(-) commit 3225b24cb5a24b1360d90d7efaf6e3e7329717bd Author: Christian Persch Date: Sun Feb 12 19:18:44 2012 +0100 regex: Remove obsolete patches Upstream PCRE has removed the relocations that these patches were fixing; the patches are obsolete. glib/update-pcre/make_utt.py | 57 ------- glib/update-pcre/table-reduction.patch | 269 -------------------------------- 2 files changed, 0 insertions(+), 326 deletions(-) commit a40523b7f2e4994e9a9f8c577d2b2b03d701290e Author: Christian Persch Date: Sun Feb 12 19:14:59 2012 +0100 regex: Update included PCRE to 8.30 glib/pcre/Makefile.am | 43 +- glib/pcre/pcre.h | 290 ++- glib/pcre/pcre_byte_order.c | 288 ++ glib/pcre/pcre_chartables.c | 2 +- glib/pcre/pcre_compile.c | 3217 ++++++++++++------ glib/pcre/pcre_config.c | 48 +- glib/pcre/pcre_dfa_exec.c | 901 ++++-- glib/pcre/pcre_exec.c | 3406 +++++++++++-------- glib/pcre/pcre_fullinfo.c | 62 +- glib/pcre/pcre_get.c | 199 +- glib/pcre/pcre_globals.c | 14 +- glib/pcre/pcre_internal.h | 1168 +++++-- glib/pcre/pcre_jit_compile.c | 6915 ++++++++++++++++++++++++++++++++++++++ glib/pcre/pcre_maketables.c | 148 + glib/pcre/pcre_newline.c | 50 +- glib/pcre/pcre_ord2utf8.c | 30 +- glib/pcre/pcre_refcount.c | 89 + glib/pcre/pcre_string_utils.c | 168 + glib/pcre/pcre_study.c | 718 +++- glib/pcre/pcre_tables.c | 54 +- glib/pcre/pcre_try_flipped.c | 139 - glib/pcre/pcre_ucd.c | 2981 ++++++++++++++++ glib/pcre/pcre_ucp_searchfuncs.c | 131 - glib/pcre/pcre_valid_utf8.c | 299 ++ glib/pcre/pcre_version.c | 95 + glib/pcre/pcre_xclass.c | 64 +- glib/pcre/pcreposix.h | 146 + glib/pcre/ucp.h | 195 +- 28 files changed, 17983 insertions(+), 3877 deletions(-) commit da4293a4e431185d8c0c889643712adea0dae473 Author: Matthias Clasen Date: Sun Feb 26 21:49:20 2012 -0500 Update case conversion test data for Unicode 6.1 tests/casefold.txt | 7 ++++++- tests/casemap.txt | 25 +++++++++++-------------- 2 files changed, 17 insertions(+), 15 deletions(-) commit 8280a8ee36845699ea62ce0a36fcde26e22b1b90 Author: Christian Persch Date: Fri Feb 10 18:59:50 2012 +0100 unicode: tests: More script to/from ISO-15924 tests glib/tests/unicode.c | 140 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 139 insertions(+), 1 deletions(-) commit 58b4cdd38b3fb78de918b9861e5d6362d48d1fcd Author: Christian Persch Date: Fri Feb 10 18:42:08 2012 +0100 unicode: tests: Add tests for new scripts glib/tests/unicode.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit d133d229327b8cfb7974a861da08f57140cf5c55 Author: Christian Persch Date: Fri Feb 10 18:36:13 2012 +0100 unicode: tests: Add tests for new line break classes glib/tests/unicode.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 2a2f3c41761d078368e084574bf2f1c51b89f792 Author: Christian Persch Date: Fri Feb 10 18:25:47 2012 +0100 unicode: Regenerate tables from Unicode 6.1.0 glib/gunibreak.h | 1176 ++++++++++++++++++++++++++++++----------- glib/gunichartables.h | 1383 ++++++++++++++++++++++++++++++++----------------- 2 files changed, 1766 insertions(+), 793 deletions(-) commit d1da9ff080b42f1bac6a611f68d8d3f8a166f3e6 Author: Christian Persch Date: Fri Feb 10 18:21:31 2012 +0100 unicode: Regenerate gscripttable.h for Unicode 6.1.0 glib/gscripttable.h | 162 +++++++++++++++++++++++++++++++------------------- 1 files changed, 100 insertions(+), 62 deletions(-) commit 3554026b39b575612ce71d79608156a303800552 Author: Christian Persch Date: Fri Feb 10 18:33:22 2012 +0100 unicode: tests: Remove U+27CD from is-undefined test It's assigned in Unicode 6.1.0. glib/tests/unicode.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 48e01af6f1115057d861367792e1e40f2a71fdd3 Author: Christian Persch Date: Fri Feb 10 18:20:26 2012 +0100 unicode: Add new line break classes from Unicode 6.1.0 glib/gen-unicode-tables.pl | 2 ++ glib/gunicode.h | 6 +++++- 2 files changed, 7 insertions(+), 1 deletions(-) commit fb574834c18893413fa0549f0c12699ad6354724 Author: Christian Persch Date: Fri Feb 10 16:59:41 2012 +0100 unicode: Add new scripts from Unicode 6.1.0 glib/gunicode.h | 22 +++++++++++++++++++--- glib/guniprop.c | 9 +++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) commit 2161bf254f6bfdfe589f7750c30f129261a48b30 Author: Stefan Sauer Date: Sun Feb 26 21:20:24 2012 +0100 goption: try to be helpful in goption args/flag checks When complaining about ill defined GOptionEntries include the name of the option group and entry in the warning. glib/goption.c | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) commit e4738839edfa88d1e9c401f9342d2a11e7ad2bab Author: Daniel Mustieles Date: Sun Feb 26 20:08:29 2012 +0100 Updated Spanish translation po/es.po | 137 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 77 insertions(+), 60 deletions(-) commit 761b21a249f1438bd7c347a316f023e89a30dbbc Author: Jonh Wendell Date: Sun Feb 26 10:59:40 2012 -0300 Updated Brazilian Portuguese translation po/pt_BR.po | 75 +++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 42 insertions(+), 33 deletions(-) commit 4ce98d3b5952f7c1048352c436c71d636beaae48 Author: Thomas Hindoe Paaboel Andersen Date: Sat Feb 25 10:25:13 2012 +0100 docs: g_file_new_tmp: template was renamed to tmpl gio/gfile.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0833f9735dbf077f401e30fcd8047516a53ce0c0 Author: A S Alam Date: Sun Feb 26 16:24:15 2012 +0530 update Punjabi Translation po/pa.po | 6072 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 3268 insertions(+), 2804 deletions(-) commit 4876be4abfa3291cf3e5412092059b7a2ac2ccce Author: Мирослав Николић Date: Sun Feb 26 11:26:11 2012 +0100 Updated Serbian translation po/sr.po | 89 +++++++++++++++++++++++++++++++++---------------------- po/sr@latin.po | 89 +++++++++++++++++++++++++++++++++---------------------- 2 files changed, 106 insertions(+), 72 deletions(-) commit 755a45e530bdde4b618baeec1f4f478bcc2e4f03 Author: Gheyret Kenji Date: Sun Feb 26 11:23:43 2012 +0900 Updated Uyghur translation po/ug.po | 6110 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 3151 insertions(+), 2959 deletions(-) commit ba7e1542fe9ed53dbf596e23a3efdfacae1adb98 Author: Ihar Hrachyshka Date: Sun Feb 26 01:18:29 2012 +0300 Updated Belarusian translation. po/be.po | 77 +++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 49 insertions(+), 28 deletions(-) commit abac7df5734cff4ea92b5ae92a8b34008548ecfb Author: Jonh Wendell Date: Sat Feb 25 10:54:53 2012 -0200 Make some strings translatable gio/gresource-tool.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) commit 3cc5900b7be49da10617775b91d86bbf945091ca Author: Aurimas Černius Date: Sat Feb 25 22:37:20 2012 +0200 Updated Lithuanian translation po/lt.po | 6207 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 3290 insertions(+), 2917 deletions(-) commit feaf828a92dcc373c859a196d7b82ab9347e4b2a Author: Jonh Wendell Date: Sat Feb 25 10:18:40 2012 -0200 Fixed a typo gio/glib-compile-resources.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c75614ecedf7d990083c4f54871816d547a23a0c Author: Arash Mousavi Date: Sat Feb 25 15:35:17 2012 +0330 Updated Persian Translation po/fa.po | 5657 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 3007 insertions(+), 2650 deletions(-) commit cb7d3552c3673f898fb677c1ae6fca1931f67a38 Author: Chao-Hsiung Liao Date: Sat Feb 25 10:44:50 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 333 ++++++++++++++++++++++++++++++---------------------------- po/zh_TW.po | 333 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 344 insertions(+), 322 deletions(-) commit 47475dbe6ab981679cbc2931306973d2143694cd Author: John Ralls Date: Fri Feb 24 17:04:52 2012 -0800 [Bug 529806] Cannot build in 64-bit Mac OS X due to libiconv glib/gconvert.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 462f7f5a4d7f5690e34f639afdd111c5c4119e26 Author: Filippo Della Betta Date: Thu Feb 16 10:04:50 2012 +0100 Added better support of G_STRFUNC for Visual Studio platform https://bugzilla.gnome.org/show_bug.cgi?id=670128 glib/gmacros.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit a75cac1b4c63f348f65e7045ab0eb6b66a2f55d8 Author: Jonh Wendell Date: Fri Feb 24 17:12:14 2012 -0200 Updated Brazilian Portuguese translation po/pt_BR.po | 6156 +++++++++++++++++++++++++++++++---------------------------- 1 files changed, 3237 insertions(+), 2919 deletions(-) commit 21457abdccc06087ee4e20f8f0e4449b318f6723 Author: Daiki Ueno Date: Fri Feb 24 10:12:08 2012 +0900 Hide global variable for signal ID in gdbusproxy.c. Also a similar fix for gdbusserver.c. https://bugzilla.gnome.org/show_bug.cgi?id=670721 gio/gdbusproxy.c | 2 +- gio/gdbusserver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit eece6cb9c33dbbc30e6a71e09f699fe1ab6fdff3 Author: Richard Hughes Date: Thu Feb 23 10:34:46 2012 +0000 Fix up 'Since:' for g_mapped_file_new_from_fd() It was introduced in 2.31.0, not 2.30.x glib/gmappedfile.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 98a70df48603c3c4fc63acb22a9bf6985bc0fa55 Author: Dan Winship Date: Wed Feb 22 11:38:43 2012 -0500 gthread-posix: fix order of arguments in g_thread_abort() message glib/gthread-posix.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 88182d375e13ae6519a288d5295220c83ca27e73 Author: Dan Winship Date: Wed Feb 22 08:12:52 2012 -0500 gasyncqueue: fix a 32bit overflow in g_async_queue_timed_pop also, add a test for g_async_queue_timed_pop() and g_async_queue_timeout_pop() to tests/asyncqueue.c https://bugzilla.gnome.org/show_bug.cgi?id=669670 glib/gasyncqueue.c | 2 +- glib/tests/asyncqueue.c | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletions(-) commit 9ff09f34cf0bc5fbc951490923880d82d94862d1 Author: Rui Matos Date: Tue Feb 21 16:42:43 2012 +0100 gvaluetransform: Fix an infinite loop with GFlagsValue sets with the 0 value Transforming a GValue holding flags from a GFlagsValue set that includes the 0 value (no flag bits set) into a string would loop until exhausting all the available memory. https://bugzilla.gnome.org/show_bug.cgi?id=670557 gobject/gvaluetransform.c | 2 +- gobject/tests/enums.c | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) commit 9e5ff3d3ebba8bd7f3a871735ed35fe7b4e98d77 Author: Rico Tzschichholz Date: Tue Feb 21 14:19:37 2012 +0100 Bump version configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 055229b1c589aa8b722eef2d622e1b2bde939961 Author: Fran Diéguez Date: Tue Feb 21 11:57:41 2012 +0100 Updated Galician translations po/gl.po | 140 +++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 76 insertions(+), 64 deletions(-)