commit 762842b9943145c3645f4ded065d6737fccf3692 Author: Ryan Lortie Date: Mon May 27 17:34:21 2013 -0400 GLib 2.37.1 NEWS | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) commit 4c9a7b65eb028f78ad4e68c177e4ee634124b694 Author: Matthias Clasen Date: Mon May 27 22:05:19 2013 -0400 More test fixes for builddir != srcdir tests/Makefile.am | 1 + tests/iochannel-test.c | 2 +- tests/unicode-caseconv.c | 2 +- tests/unicode-encoding.c | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) commit 98a921045cf16cb927eae2fd13a5f025cfb76365 Author: Matthias Clasen Date: Mon May 27 21:20:10 2013 -0400 Fix make check with builddir != srcdir This broke when the tests were converted to be installable. My apologies. gio/tests/Makefile.am | 1 + gio/tests/appinfo.c | 16 ++++++++++------ gio/tests/gapplication.c | 11 ++++++++--- 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 | 8 ++++---- gio/tests/gdbus-proxy-well-known-name.c | 2 +- gio/tests/gdbus-proxy.c | 2 +- gio/tests/gdbus-threading.c | 8 ++++---- 10 files changed, 32 insertions(+), 22 deletions(-) commit 4ec32e6fa827a97c4d7fd8a8b00126d52a604319 Author: Colin Walters Date: Mon May 27 19:30:31 2013 -0400 gio/tests: Make gdbus-proxy-well-known-name handle srcdir != builddir gio/tests/gdbus-proxy-well-known-name.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 7336a1e745907104ec7fab9f2086c2fc93ef8b9d Author: Ryan Lortie Date: Mon May 27 18:34:33 2013 -0400 Fix yet more test regressions... gio/tests/gdbus-connection-slow.c | 10 +++++----- gio/tests/gdbus-proxy.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) commit 42139d463721aff623041eb3e016aae263b01a8b Author: Ryan Lortie Date: Mon May 27 18:30:53 2013 -0400 One more broken test.... gio/tests/gdbus-connection-loss.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 8f87d428a6c8c91aaa47daaaff2d843b6536a88c Author: Ryan Lortie Date: Mon May 27 18:27:14 2013 -0400 More srcdir != destdir tests fallout gio/tests/resources.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit aa3db2c91b254250a84b8c8e07eb3da96fbf74aa Author: Ryan Lortie Date: Mon May 27 18:05:09 2013 -0400 tests: fix a srcdir vs. destdir issue The target file is a script, so it'll always be in SRCDIR for the uninstalled case. Just look there and avoid the libtool trickery. glib/tests/spawn-singlethread.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit ad2716bb1aa202bd6d25ab8bdafb09fd3bcc8c22 Author: ManojKumar Giri Date: Mon May 27 18:09:17 2013 +0530 Updated Odia Translation. po/or.po | 127 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 65 insertions(+), 62 deletions(-) commit 676a3d6ede64b6383d25706d514e7f4498474c96 Author: Shantha kumar Date: Mon May 27 15:31:22 2013 +0530 Tamil Translation Updated po/ta.po | 127 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 65 insertions(+), 62 deletions(-) commit 0d55c4aaf8c6671387dee287da7574ae25fb9983 Author: Chun-wei Fan Date: Mon May 27 15:57:54 2013 +0800 Fix the GObject Visual Studio Projects Update G_LOG_DOMAIN to be "GLib-GObject" so that we are consistent with the autotools builds, and that tests expecting the log domain to be "GLib-GObject" would not fail. build/win32/vs10/gobject.vcxprojin | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit 524470d8e02c7da867cf61dff86de1105067bebb Author: Chun-wei Fan Date: Mon May 27 13:23:58 2013 +0800 Fix the GLib Visual Studio Projects Define the G_LOG_DOMAIN of the GLib DLL as "GLib", because: -This makes it consistent with the autotools builds -Some tests expect the log domain to be "GLib" build/win32/vs10/glib.vcxprojin | 16 ++++++++-------- build/win32/vs9/glib.vcprojin | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) commit 80985d1c05e58f63252b1b108e8637808a2f3e4c Author: Chun-wei Fan Date: Mon May 27 12:49:47 2013 +0800 Update config.h.win32(.in) Make the entries of config.h.win32(.in) consistent with the entries that are generated from the autotools build (config.h.in). config.h.win32.in | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) commit b382c6f63339397c338aa68ad939894665368ada Author: Matthias Clasen Date: Sat May 25 23:07:03 2013 -0400 Avoid a segfault in gdbus tool When the interface name is invalid, we don't get an error back from g_dbus_connection_call_sync. gio/gdbus-tool.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 0b167b0ae964fcd999ccf8a9fdc41804df936a28 Author: Colin Walters Date: Fri May 24 22:16:44 2013 +0100 build: Fix usage of %.test again We actually need the first dependency because it includes the final executable name. Rather, fix the original bug by using the variable $(EXEEXT). gio/tests/Makefile.am | 2 +- glib/tests/Makefile.am | 2 +- gobject/tests/Makefile.am | 2 +- tests/Makefile.am | 2 +- tests/gobject/Makefile.am | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit 5088c705ac5ce118502d0c6ea74aca1cec26b575 Author: Colin Walters Date: Fri May 24 15:42:12 2013 -0400 tests: Drop unnecessary % from .test pattern match rule On Windows, the executables will have .exe, so this won't match. Furthermore, they aren't actually dependent on the executable to build. gio/tests/Makefile.am | 2 +- glib/tests/Makefile.am | 2 +- gobject/tests/Makefile.am | 2 +- tests/Makefile.am | 2 +- tests/gobject/Makefile.am | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit b85e8e5bfb3f0cb86411cc5d8b038c5af1404f1c Author: Daniel Mustieles Date: Fri May 24 13:57:47 2013 +0200 Updated Spanish translation po/es.po | 286 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 145 insertions(+), 141 deletions(-) commit a2a6122bb62f3536f59156170f334df4f8741842 Author: Nilamdyuti Goswami Date: Fri May 24 17:28:12 2013 +0530 Assamese translation updated po/as.po | 290 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 147 insertions(+), 143 deletions(-) commit fc6f6a4330e72bd4155ca0b491136ff61b477294 Author: Sweta Kothari Date: Fri May 24 13:21:27 2013 +0530 Updated Gujarati Translations po/gu.po | 290 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 147 insertions(+), 143 deletions(-) commit ec61deb79116c8b2364ef070f98ac9a222249f0c Author: Simon Kågedal Reimer Date: Mon May 6 22:04:32 2013 +0200 G_GNUC_FORMAT: documentation error Attribute should be placed just before the semicolon, not after. As can be seen in the example. https://bugzilla.gnome.org/show_bug.cgi?id=699779 glib/docs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 47d96381a2f52587f8706ffa115b2379d6ca731e Author: Jason L. Quinn Date: Thu Apr 11 23:43:17 2013 -0400 spelling fixes of 'runtine' and 'adresses' in cross.xml and running.xml, respectively https://bugzilla.gnome.org/show_bug.cgi?id=697849 docs/reference/glib/cross.xml | 2 +- docs/reference/glib/running.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3d1d49177bc577e4c0d4ec2d73b96db09e4d5be3 Author: Ryan Lortie Date: Thu Feb 21 17:48:04 2013 +0000 gsignal: remove some pointless locking We previously hold a lock in the loop that collects the arguments for g_signal_emit(), which we drop before calling into the argument collection functions and reacquire again at the bottom of the loop (ie: one release/acquire pair for each argument collected). To make matters worse, the lock is just released again after the loop. Presumably that was done to protect the access to the parameter array, but it's pretty unlikely that this is needed because the only way it changes is if the signal is unloaded. That only happens when unloading types which is quite unlikely to happen while we are emitting on an instance of that type (and, as an aside, never happens anymore anyway). If we move the unlock below the loop up above it and remove the acquire/release pair from the loop, we improve performance in the new arg-collecting performance tests by ~15% (more like ~18% in the case where we only emit to one handler -- where argument collection dominates more). https://bugzilla.gnome.org/show_bug.cgi?id=694380 gobject/gsignal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 8bb6a4aec5dbc7535244a0fa2b96b728eebe75cc Author: Ryan Lortie Date: Thu Feb 21 17:47:08 2013 +0000 performance test: add signal test with args Add a signal that has some typical arguments (a uint and a pointer) since all of the other signal performance tests are for signals with no args. https://bugzilla.gnome.org/show_bug.cgi?id=694380 tests/gobject/performance.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit 4b72bbf9b18a698555bb2aa914b9ab5fd0a4e5f3 Author: Ryan Lortie Date: Thu Feb 21 17:44:56 2013 +0000 performance test: share some code The handled and unhandled cases share the same data and _run() functions. Refactor into a common section. https://bugzilla.gnome.org/show_bug.cgi?id=694380 tests/gobject/performance.c | 62 ++++++++++++++++++--------------------------- 1 file changed, 25 insertions(+), 37 deletions(-) commit 7427e2295812b7512478d76a4424b32ec977523a Author: Elisabeth Henry Date: Mon Apr 1 04:11:01 2013 +0200 gunixconnection: added ngettext to support plural forms While those strings ("Expecting 1 control message, got %d" and "Expecting one fd, but got %d\n") have same singular/plural form in english, it is not necessarily the case in other languages. https://bugzilla.gnome.org/show_bug.cgi?id=695233 gio/gunixconnection.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 7fc2ab9493dbb480e2b6815813af9cf8bbfc081e Author: Colin Walters Date: Thu May 9 18:47:50 2013 +0100 GLocalFileOutputStream: Further deduplicate error code path Just code cleanup. https://bugzilla.gnome.org/699959 gio/glocalfileoutputstream.c | 56 +++++++++++++++++++------------------------- 1 file changed, 24 insertions(+), 32 deletions(-) commit 5e65cd4e5153b340a25a8ffb580cf5f23f54d649 Author: Colin Walters Date: Thu May 9 18:39:50 2013 +0100 GLocalFileOutputStream: Deduplicate stream creation code Lots of copy/paste of the error handling path, let's deduplicate so I can sanely patch this code later. https://bugzilla.gnome.org/699959 gio/glocalfileoutputstream.c | 103 +++++++++++++------------------------------ 1 file changed, 31 insertions(+), 72 deletions(-) commit 49030c8797d5a415e2cb94a3c658f67206cb8bf5 Author: Colin Walters Date: Wed May 22 17:41:32 2013 +0100 gdbus-peer: Drop some usage of g_thread_yield() It's a recipe for race conditions and error; on some hardware architectures one thread isn't guaranteed to see the results of writes from another thread without a cache flush. https://bugzilla.gnome.org/show_bug.cgi?id=700855 gio/tests/gdbus-peer.c | 66 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 43 insertions(+), 23 deletions(-) commit ff8f37ac05490c67fc3be5e87ff5756f1a275da3 Author: Colin Walters Date: Thu May 23 01:07:13 2013 +0100 glib/tests/cond: Fix race condition The producer could push two values with the first one being lost. Fix this by blocking the producer until a consumer reads. glib/tests/cond.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 9115dd0a7ce31f69f78aca0b0b32d7d2e4670be3 Author: Dan Winship Date: Wed May 22 14:20:08 2013 -0300 gtestutils: Use stdio rather than write() to be Windows-friendly Windows doesn't define STDOUT_FILENO and STDERR_FILENO, and they're not even guaranteed to be 1 and 2. So just use stdio instead. Also fix a counting error. Pointed out on gtk-devel-list. glib/gtestutils.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit c9cc0beb3a8c298b843efdb71822a71cc078a8ac Author: Josep Puigdemont Date: Tue May 21 16:46:25 2013 +0200 Timeout the test if dbus sevice has not appeared in due time. The test /gdbus/connection/large_message waits for a dbus name to appear. The dbus name is created by a another process executed in the background. If for some reason this fails, the test will likely wait forever. This will avoid this situation by making the test fail if the dbus service has not appeared after 10 seconds. https://bugzilla.gnome.org/show_bug.cgi?id=698981 gio/tests/gdbus-connection-slow.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit 4edc2f1a9330006a5d615bc16264b5328da6fe66 Author: Dan Winship Date: Tue May 21 09:52:32 2013 -0300 po: update for quote changes https://bugzilla.gnome.org/show_bug.cgi?id=700746 po/af.po | 146 +++++++++++++------------- po/am.po | 146 +++++++++++++------------- po/an.po | 142 ++++++++++++------------- po/ar.po | 146 +++++++++++++------------- po/as.po | 158 ++++++++++++++-------------- po/ast.po | 146 +++++++++++++------------- po/az.po | 173 +++++++++++++++--------------- po/be.po | 142 ++++++++++++------------- po/be@latin.po | 146 +++++++++++++------------- po/bg.po | 142 ++++++++++++------------- po/bn.po | 146 +++++++++++++------------- po/bn_IN.po | 146 +++++++++++++------------- po/bs.po | 151 +++++++++++++------------- po/ca.po | 153 +++++++++++++-------------- po/ca@valencia.po | 153 +++++++++++++-------------- po/cs.po | 148 +++++++++++++------------- po/cy.po | 149 +++++++++++++------------- po/da.po | 153 +++++++++++++-------------- po/de.po | 148 +++++++++++++------------- po/dz.po | 149 +++++++++++++------------- po/el.po | 308 ++++++++++++++++++++++++++--------------------------- po/en@shaw.po | 146 +++++++++++++------------- po/en_CA.po | 288 +++++++++++++++++++++++++------------------------- po/en_GB.po | 303 ++++++++++++++++++++++++++-------------------------- po/eo.po | 298 ++++++++++++++++++++++++++-------------------------- po/es.po | 158 ++++++++++++++-------------- po/et.po | 156 +++++++++++++-------------- po/eu.po | 152 +++++++++++++-------------- po/fa.po | 143 +++++++++++++------------ po/fi.po | 140 ++++++++++++------------- po/fr.po | 142 ++++++++++++------------- po/ga.po | 146 +++++++++++++------------- po/gl.po | 156 +++++++++++++-------------- po/gu.po | 278 ++++++++++++++++++++++++------------------------ po/he.po | 293 +++++++++++++++++++++++++-------------------------- po/hi.po | 266 +++++++++++++++++++++++----------------------- po/hr.po | 146 +++++++++++++------------- po/hu.po | 142 ++++++++++++------------- po/hy.po | 290 +++++++++++++++++++++++++------------------------- po/id.po | 148 +++++++++++++------------- po/is.po | 151 +++++++++++++------------- po/it.po | 142 ++++++++++++------------- po/ja.po | 156 +++++++++++++-------------- po/ka.po | 146 +++++++++++++------------- po/kk.po | 148 +++++++++++++------------- po/kn.po | 252 ++++++++++++++++++++++---------------------- po/ko.po | 280 ++++++++++++++++++++++++------------------------- po/ku.po | 146 +++++++++++++------------- po/lt.po | 144 ++++++++++++------------- po/lv.po | 155 ++++++++++++++------------- po/mai.po | 146 +++++++++++++------------- po/mg.po | 146 +++++++++++++------------- po/mk.po | 146 +++++++++++++------------- po/ml.po | 172 +++++++++++++++--------------- po/mn.po | 149 +++++++++++++------------- po/mr.po | 290 +++++++++++++++++++++++++------------------------- po/ms.po | 151 +++++++++++++------------- po/nb.po | 142 ++++++++++++------------- po/nds.po | 146 +++++++++++++------------- po/ne.po | 148 +++++++++++++------------- po/nl.po | 150 +++++++++++++------------- po/nn.po | 140 ++++++++++++------------- po/oc.po | 146 +++++++++++++------------- po/or.po | 264 +++++++++++++++++++++++----------------------- po/pa.po | 284 ++++++++++++++++++++++++------------------------- po/pl.po | 142 ++++++++++++------------- po/ps.po | 146 +++++++++++++------------- po/pt.po | 309 +++++++++++++++++++++++++++--------------------------- po/pt_BR.po | 150 +++++++++++++------------- po/ro.po | 152 +++++++++++++-------------- po/ru.po | 146 +++++++++++++------------- po/rw.po | 150 +++++++++++++------------- po/si.po | 146 +++++++++++++------------- po/sk.po | 142 ++++++++++++------------- po/sl.po | 288 +++++++++++++++++++++++++------------------------- po/sq.po | 146 +++++++++++++------------- po/sr.po | 142 ++++++++++++------------- po/sr@ije.po | 149 +++++++++++++------------- po/sr@latin.po | 142 ++++++++++++------------- po/sv.po | 150 +++++++++++++------------- po/ta.po | 282 ++++++++++++++++++++++++------------------------- po/te.po | 286 +++++++++++++++++++++++++------------------------- po/tg.po | 144 ++++++++++++------------- po/th.po | 281 ++++++++++++++++++++++++------------------------- po/tl.po | 149 +++++++++++++------------- po/tr.po | 288 +++++++++++++++++++++++++------------------------- po/tt.po | 146 +++++++++++++------------- po/ug.po | 270 +++++++++++++++++++++++------------------------ po/uk.po | 146 +++++++++++++------------- po/vi.po | 280 ++++++++++++++++++++++++------------------------- po/wa.po | 149 +++++++++++++------------- po/xh.po | 152 +++++++++++++-------------- po/yi.po | 149 +++++++++++++------------- po/zh_CN.po | 148 +++++++++++++------------- po/zh_HK.po | 152 +++++++++++++-------------- po/zh_TW.po | 152 +++++++++++++-------------- 96 files changed, 8511 insertions(+), 8585 deletions(-) commit 4b94c0831e449374ce769cb4938a28b3dca59a43 Author: Dan Winship Date: Mon May 20 17:54:48 2013 -0300 Use 'dumb quotes' rather than `really dumb quotes' Back in the far-off twentieth century, it was normal on unix workstations for U+0060 GRAVE ACCENT to be drawn as "‛" and for U+0027 APOSTROPHE to be drawn as "’". This led to the convention of using them as poor-man's ‛smart quotes’ in ASCII-only text. However, "'" is now universally drawn as a vertical line, and "`" at a 45-degree angle, making them an `odd couple' when used together. Unfortunately, there are lots of very old strings in glib, and also lots of new strings in which people have kept up the old tradition, perhaps entirely unaware that it used to not look stupid. Fix this by just using 'dumb quotes' everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=700746 gio/gapplicationimpl-dbus.c | 2 +- gio/gdbus-2.0/codegen/codegen.py | 2 +- gio/gdbus-tool.c | 24 ++--- gio/gdbusaddress.c | 60 ++++++------ gio/gdbusauth.c | 82 ++++++++--------- gio/gdbusauthmechanismanon.c | 2 +- gio/gdbusauthmechanismsha1.c | 42 ++++----- gio/gdbusconnection.c | 44 ++++----- gio/gdbusmessage.c | 26 +++--- gio/gdbusmethodinvocation.c | 4 +- gio/gdbusproxy.c | 6 +- gio/gdbusserver.c | 6 +- gio/gicon.c | 6 +- gio/glib-compile-schemas.c | 16 ++-- gio/gsettings.c | 36 ++++---- gio/gsettingsschema.c | 6 +- gio/kqueue/dep-list.c | 6 +- gio/kqueue/kqueue-thread.c | 2 +- gio/tests/gdbus-example-subtree.c | 6 +- gio/tests/gdbus-export.c | 24 ++--- gio/tests/gdbus-non-socket.c | 4 +- gio/tests/gdbus-serialization.c | 32 +++---- gio/tests/gdbus-test-codegen.c | 4 +- gio/tests/gdbus-tests.h | 4 +- glib/gcharset.c | 8 +- glib/gchecksum.c | 2 +- glib/gdate.c | 4 +- glib/gfileutils.c | 4 +- glib/glib-mirroring-tab/gen-mirroring-tab.c | 6 +- glib/gmessages.c | 4 +- glib/gmessages.h | 4 +- glib/gnode.h | 8 +- glib/gscanner.c | 20 ++-- glib/gscanner.h | 4 +- glib/gspawn.c | 8 +- glib/gtester-report | 2 +- glib/gunicode.h | 2 +- glib/gutils.c | 6 +- glib/gutils.h | 4 +- glib/gvariant-parser.c | 14 +-- glib/gvariant.c | 28 +++--- glib/tests/gvariant.c | 40 ++++---- glib/tests/markup-collect.c | 2 +- gmodule/gmodule-beos.c | 2 +- gmodule/gmodule-win32.c | 2 +- gmodule/gmodule.c | 2 +- gmodule/gmodule.h | 8 +- gobject/gboxed.c | 4 +- gobject/genums.c | 2 +- gobject/gobject.c | 50 +++++----- gobject/gobject.h | 2 +- gobject/gparam.c | 10 +- gobject/gsignal.c | 108 +++++++++++----------- gobject/gtype.c | 136 ++++++++++++++-------------- gobject/gvalue.c | 6 +- gobject/gvaluetypes.c | 20 ++-- tests/testgdateparser.c | 8 +- 57 files changed, 488 insertions(+), 488 deletions(-) commit 52f6a7d16250d2b180c83cce8929f3e14972e1a9 Author: Dan Winship Date: Tue May 21 11:21:36 2013 -0300 tests: fix a few recently-broken tests tests/gobject/Makefile.am | 1 + tests/module-test.c | 3 --- tests/run-assert-msg-test.sh | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) commit bb1a5ca9a8488bbbfc06f961e2275c36b354ed3b Author: Colin Walters Date: Tue May 21 09:21:21 2013 -0400 gio/tests: Fix gdbus-connection when run from "make check" gio/tests/Makefile.am | 1 + gio/tests/gdbus-connection.c | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) commit 7ff5c082213c13c893f583f2bce77fa63a146af2 Author: Matthias Clasen Date: Mon May 20 21:05:56 2013 -0400 Convert more tests to installed tests This makes the tests in tests installed, except for the performance tests. tests/Makefile.am | 33 +++++++++++++++++++++++++++++++-- tests/gobject/Makefile.am | 8 +++++--- tests/iochannel-test.c | 12 ++++++++---- tests/module-test.c | 13 ++++++++----- tests/unicode-caseconv.c | 9 ++++++--- tests/unicode-encoding.c | 6 ++++-- 6 files changed, 62 insertions(+), 19 deletions(-) commit 1808888a1f543276f83d65ef41a5cadb5f31c388 Author: Matthias Clasen Date: Mon May 20 21:05:56 2013 -0400 Convert more tests to installed tests tests/gobject/Makefile.am | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit c26e253b1090d529097ccd3c744f865977d3703f Author: Colin Walters Date: Tue May 21 00:12:31 2013 +0100 gio/tests: gsettings is a developer-only test It tries to run glib-compile-schemas and glib-mkenums, which we won't have in the runtime tree. Anyways it's kind of a dumb test since the best test for compilation tools is...compiling things, which we already do frequently. gio/tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f2a9a6142c7187b6dd700728ecfa5ea094ad6096 Author: Colin Walters Date: Tue May 21 00:07:18 2013 +0100 gmessages: Fix up testing commit to handle fatal masquerading This makes glib/tests/testing pass again. glib/gmessages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c12538a9c0693d9204bee0ef43dc505a52c55ba2 Author: Colin Walters Date: Tue May 21 00:02:39 2013 +0100 gio/tests: Disable desktop-app-info test in installed mode for now It wants a writable copy of the applications, and appears to depend on a prior execution of "mimeapps". This will take a bit of work to untangle. gio/tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3d7fcc23c154824a0377ceea07a1d3b18bcd3874 Author: Colin Walters Date: Mon May 20 21:50:28 2013 +0100 gio/tests: Make gdbus-peer work in installed mode There's no /etc/hosts in gnome-ostree... gio/tests/gdbus-peer.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 7ee44da5cf7fc5c7bee18c29287d8f062f045c67 Author: Colin Walters Date: Mon May 20 21:43:52 2013 +0100 gio/tests: Fix gapplication test in installed mode gio/tests/gapplication.c | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) commit 1a398b2e564e4ba8a42ca4865d49233b5b4a0c95 Author: Colin Walters Date: Mon May 20 21:33:00 2013 +0100 gio/tests: Some more fixes for installed tests file passes now, appinfo needs a bit more work, but is getting there. gio/tests/Makefile.am | 23 +++++++++++++++++++---- gio/tests/appinfo.c | 3 ++- gio/tests/file.c | 16 ++++++++++++++-- 3 files changed, 35 insertions(+), 7 deletions(-) commit bdf383dcd6c3adc657c35ef499f4739509da6eb1 Author: Colin Walters Date: Mon May 20 20:15:43 2013 +0100 gio/tests: Deduplicate Makefile.am a bit We can just add all the static test data to EXTRA_DIST. gio/tests/Makefile.am | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 714cbbea52f0d08b6a4a4588329128a5172e8e92 Author: Colin Walters Date: Mon May 20 14:31:48 2013 +0100 gtestutils: Ensure test subprocesses don't dump core Since we expect them to crash, let's not spam the system core dump collection (systemd, abrt). At the moment systemd is not very robust against programs crashing in loops. Instead of aborting, we exit(1). https://bugzilla.gnome.org/show_bug.cgi?id=700714 glib/Makefile.am | 1 + glib/gmessages-private.h | 35 +++++++++++++++++++++++++++++++++++ glib/gmessages.c | 27 ++++++++++++++++++++++++--- glib/gtestutils.c | 18 +++++++++++++++++- 4 files changed, 77 insertions(+), 4 deletions(-) commit 9038e2263827a4323be81a8f199afb87eef07587 Author: Kjartan Maraas Date: Mon May 20 14:51:04 2013 +0200 Updated Norwegian bokmål translation po/nb.po | 292 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 150 insertions(+), 142 deletions(-) commit 142d78214d42905fd9af195265b9bda85f6a36a8 Author: Matthias Clasen Date: Mon May 20 08:46:21 2013 -0400 Convert remaining gio tests to installed gio/tests/Makefile.am | 32 ++++++---- gio/tests/appinfo.c | 104 +++++++++++++++++++++++++------- gio/tests/gdbus-connection-loss.c | 12 +++- gio/tests/gdbus-connection-slow.c | 17 +++++- gio/tests/gdbus-connection.c | 13 +++- gio/tests/gdbus-introspection.c | 12 +++- gio/tests/gdbus-proxy-well-known-name.c | 17 +++++- gio/tests/gdbus-proxy.c | 18 +++++- gio/tests/gdbus-threading.c | 12 +++- 9 files changed, 194 insertions(+), 43 deletions(-) commit 5e1f9173c397a04eca97a11d962fce824a2234a3 Author: Matthias Clasen Date: Mon May 20 06:38:41 2013 -0400 Convert some gio tests to installed tests gio/tests/Makefile.am | 220 +++++++++++++++++++++++-------------- gio/tests/cert-key.pem | 32 ------ gio/tests/cert-list.pem | 52 --------- gio/tests/cert-tests/cert-key.pem | 32 ++++++ gio/tests/cert-tests/cert-list.pem | 52 +++++++++ gio/tests/cert-tests/cert1.pem | 17 +++ gio/tests/cert-tests/cert2.pem | 17 +++ gio/tests/cert-tests/cert3.pem | 17 +++ gio/tests/cert-tests/key-cert.pem | 32 ++++++ gio/tests/cert-tests/key.pem | 15 +++ gio/tests/cert-tests/key8.pem | 16 +++ gio/tests/cert-tests/nothing.pem | 0 gio/tests/cert1.pem | 17 --- gio/tests/cert2.pem | 17 --- gio/tests/cert3.pem | 17 --- gio/tests/contexts.c | 16 ++- gio/tests/g-icon.c | 14 ++- gio/tests/gschema-compile.c | 17 ++- gio/tests/gsettings.c | 49 ++++++--- gio/tests/key-cert.pem | 32 ------ gio/tests/key.pem | 15 --- gio/tests/key8.pem | 16 --- gio/tests/nothing.pem | 0 gio/tests/resources.c | 42 ++++--- gio/tests/tls-certificate.c | 100 ++++++++++++----- 25 files changed, 510 insertions(+), 344 deletions(-) commit f66016261a3db69fd14b8f3821123aad82d651e2 Author: Matthias Clasen Date: Sun May 19 21:49:51 2013 -0400 Make gobject tests installable This makes the gobject tests run as part of the ostree integration tests. gobject/tests/Makefile.am | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 6c3cf6dc18d9fc0a80e732406ac31a71acab09a6 Author: Milo Casagrande Date: Sun May 19 13:30:46 2013 +0200 [l10n] Updated Italian translation. po/it.po | 236 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 120 insertions(+), 116 deletions(-) commit ad7959c5b7d484c7d819a15f61cad46b6fab8cfd Author: Colin Walters Date: Mon May 6 09:47:00 2013 -0400 Add --enable-installed-tests configure option See https://live.gnome.org/GnomeGoals/InstalledTests for more information. The tests now support being run both uninstalled and installed, so 'make check' works for those who want it. For tests which need data files, the way this works is they look in the compiled in value of SRCDIR by default, and the generated tests use "env G_TEST_DATA=" to override that. This patch only converts glib/tests for now; if this patch looks good, I'll do the rest of the tests. https://bugzilla.gnome.org/show_bug.cgi?id=699079 .gitignore | 1 + configure.ac | 7 ++++++- glib/tests/Makefile.am | 49 ++++++++++++++++++++++++++++++++++++++++------- glib/tests/bookmarkfile.c | 11 +++++++++-- glib/tests/keyfile.c | 19 +++++++++++++++--- glib/tests/mappedfile.c | 26 ++++++++++++++++++++----- glib/tests/markup-parse.c | 12 ++++++++++-- glib/tests/protocol.c | 8 ++++++-- 8 files changed, 111 insertions(+), 22 deletions(-) commit 91d7c8de6bfa4290006da992ea0ef604ff24b009 Author: Colin Walters Date: Mon May 6 09:24:25 2013 -0400 glib/tests: Drop unnecessary SRCDIR definitions It's always going to be defined, we don't support compiling these tests "by hand". This is a cleanup commit for the installed tests work. https://bugzilla.gnome.org/show_bug.cgi?id=699079 glib/tests/bookmarkfile.c | 4 ---- glib/tests/keyfile.c | 4 ---- glib/tests/markup-parse.c | 4 ---- glib/tests/spawn-singlethread.c | 5 +---- 4 files changed, 1 insertion(+), 16 deletions(-) commit 225d8fb97d4400a3417c32ee16ba3d1da570a010 Author: Colin Walters Date: Fri May 3 18:36:43 2013 -0400 glib/tests: Use explicit file listings This is a preparatory commit for installed tests work; having things cleanly categorized helps. https://bugzilla.gnome.org/show_bug.cgi?id=699079 glib/tests/Makefile.am | 71 ++++++++++++++++++++++++++++++------- glib/tests/markup-parse.c | 10 +++--- glib/tests/markups/fail-3.expected | 50 ++++++++++++++++++++++++++ glib/tests/markups/fail-36.expected | 4 +++ 4 files changed, 117 insertions(+), 18 deletions(-) commit 6e64bbe8de27ab72aa84dbe90c34f3a01eaadc15 Author: Colin Walters Date: Fri May 3 18:13:51 2013 -0400 glib/tests/mappedfile: Copy test file before writing to it This way we're *always* testing writability rather than only sometimes doing it in the source directory. https://bugzilla.gnome.org/show_bug.cgi?id=699079 glib/tests/mappedfile.c | 53 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 18 deletions(-) commit 23f5d8b238bc104672e0ad967c916ca258acef06 Author: Jorge Pérez Pérez Date: Wed May 15 23:05:10 2013 +0200 Added Aragonese translation po/LINGUAS | 1 + po/an.po | 4472 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 4473 insertions(+) commit c81a9556fffea3578aff3d53b4f1bc61c905c748 Author: Adrian Bunk Date: Tue May 14 01:48:37 2013 +0300 m4macros/glib-gettext.m4: Don't use AC_HEADER_STDC AC_HEADER_STDC is obsolete (pre-C89 headers are no longer an issue), and the resulting STDC_HEADERS define is anyway not used. https://bugzilla.gnome.org/show_bug.cgi?id=700263 m4macros/glib-gettext.m4 | 1 - 1 file changed, 1 deletion(-) commit 216725f0ae31f193c57244df3c4d11dcb46d790b Author: Shankar Prasad Date: Tue May 14 15:26:07 2013 +0530 updated kn translations po/kn.po | 395 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 192 insertions(+), 203 deletions(-) commit e195490a879e6fcdd5b861629fadd6b7e652237b Author: Dan Winship Date: Mon May 13 11:47:12 2013 -0400 tests/slice: use G_GNUC_BEGIN_IGNORE_DEPRECATIONS rather than implementing it by hand glib/tests/slice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eebb3c1c8e09d122f049edb762c9a13199f3b1e9 Author: Dan Winship Date: Mon May 13 11:38:53 2013 -0400 gtestutils: use g_clear_pointer glib/gtestutils.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit e9284ed29731365415992d8c9ed72f10e67cf056 Author: Dan Winship Date: Wed Dec 5 11:28:53 2012 -0500 gtestutils: deprecate g_test_trap_fork() https://bugzilla.gnome.org/show_bug.cgi?id=679683 gio/tests/gdbus-non-socket.c | 2 ++ glib/gtestutils.c | 6 ++++-- glib/gtestutils.h | 3 ++- glib/tests/testing.c | 6 ++++++ 4 files changed, 14 insertions(+), 3 deletions(-) commit e3d1869ee3b6e269b80723173dc4f85c7cc3eaea Author: Dan Winship Date: Sat Nov 24 15:58:36 2012 -0500 tests: port from g_test_trap_subprocess() to g_test_trap_fork() https://bugzilla.gnome.org/show_bug.cgi?id=679683 gio/tests/gdbus-exit-on-close.c | 137 +++++++------ gio/tests/gdbus-non-socket.c | 1 + gio/tests/gdbus-proxy.c | 20 +- gio/tests/gschema-compile.c | 50 +++-- gio/tests/gsettings.c | 422 ++++++++++++++++++++++++++-------------- glib/tests/array-test.c | 27 +-- glib/tests/dataset.c | 22 ++- glib/tests/gvariant.c | 79 +++++--- glib/tests/list.c | 35 ++-- glib/tests/logging.c | 215 +++++++++++--------- glib/tests/mem-overflow.c | 143 +++++++++----- glib/tests/option-context.c | 382 ++++++++++++++++++++---------------- glib/tests/scannerapi.c | 21 +- glib/tests/slice.c | 14 +- glib/tests/test-printf.c | 277 ++++++++++---------------- glib/tests/testing.c | 204 ++++++++++++------- glib/tests/utils.c | 22 ++- gobject/tests/param.c | 54 ++++- tests/Makefile.am | 1 + tests/testglib.c | 50 +++-- 20 files changed, 1263 insertions(+), 913 deletions(-) commit 467f9ea1bc41bdb343644fc0d13760799542cc4e 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 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 960f5500e22d505a5dccbff51ccbc8ab969f0851 Author: Dan Winship Date: Sat Nov 24 15:58:27 2012 -0500 gtestutils: add g_test_trap_subprocess() 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. Also fix the logic of gtestutils's "-p" argument (which is used by the subprocess tests); previously if you had 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 tests. https://bugzilla.gnome.org/show_bug.cgi?id=679683 docs/reference/glib/glib-sections.txt | 4 +- glib/gmessages.c | 2 +- glib/gtestutils.c | 753 +++++++++++++++++++++++----------- glib/gtestutils.h | 16 +- glib/tests/testing.c | 183 +++++++++ 5 files changed, 712 insertions(+), 246 deletions(-) commit 38859e8e2930f12bc5885c1ce9191aa3f73b8110 Author: Dan Winship Date: Wed Dec 19 15:59:55 2012 -0500 g_test_trap_fork: don't blow away the SIGCHLD handler Not sure why it was doing this, but it's not necessary (all of glib's tests pass fine without it), and it breaks tests that try to use g_spawn_sync() or GChildWatchSource after doing a g_test_trap_fork(). https://bugzilla.gnome.org/show_bug.cgi?id=679683 glib/gtestutils.c | 1 - 1 file changed, 1 deletion(-) commit 4c356443b85d8deb97107cfebc8c329446a9d6c9 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 | 1 + glib/tests/spawn-multithreaded.c | 4 ++-- glib/tests/spawn-singlethread.c | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) commit 1d310cf5dbe3ef224f5af505f33cc7263a5801e9 Author: Christian Persch Date: Sun May 12 21:52:54 2013 +0200 app: Document when floating variants are consumed Bug #700203. gio/gaction.c | 2 ++ gio/gsimpleaction.c | 2 ++ 2 files changed, 4 insertions(+) commit b7550999cdee5281cdece52b4ca2d35fa70dd868 Author: ManojKumar Giri Date: Fri May 10 12:08:27 2013 +0530 Updated Odia Translation. po/or.po | 306 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 150 insertions(+), 156 deletions(-) commit 6fe6b0300b382fd000f75edd3ad968d29b276a0d Author: Matthias Clasen Date: Thu May 9 16:02:52 2013 -0400 Clarify GValueArray docs Don't refer to Quicksort in the documentation of g_value_array_sort, but just to qsort(). gobject/gvaluearray.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 8d13a3e4e175697f00d5963542ea2ff0aa37662f Author: Krishnababu Krothapalli Date: Thu May 9 18:03:09 2013 +0530 Updated Telugu Translations po/te.po | 306 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 150 insertions(+), 156 deletions(-) commit c2d6aaa540240c1842b6204cafc8dca404e4ba87 Author: Zeeshan Ali (Khattak) Date: Tue Mar 20 22:40:32 2012 +0200 Fix minor typos in GSocketConnectable example code gio/gsocketconnectable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25fa94eb82a8b55fd9279f5faa67c02c4738b8d8 Author: Sebastian Dröge Date: Mon May 6 16:06:48 2013 +0200 Declare res_init() for builds against Android's Bionic res_init() exists in the C library here and as such is detected by configure, but it is not declared in any header. gio/gresolver.c | 4 ++++ 1 file changed, 4 insertions(+) commit f4a188234105cb363aecaefd31e06e1f976200c0 Author: Dan Winship Date: Sun May 5 16:50:43 2013 -0400 GProxyAddressEnumerator: add default-port property Although none of the in-tree GSocketConnectable types need it, other types (like SoupAddress) may find it useful to be able to pass a URI and a default-port to GProxyAddressEnumerator separately (the same way you can with GNetworkAddress). So add a default-port property. https://bugzilla.gnome.org/show_bug.cgi?id=698877 gio/gproxyaddressenumerator.c | 181 +++++++++++++++++++++++------------------- gio/tests/proxy-test.c | 105 +++++++++++++++++++++--- 2 files changed, 194 insertions(+), 92 deletions(-) commit 6104230bce3607f62d47165dbee5ccbe73953b5a Author: Matthias Clasen Date: Sat May 4 21:10:43 2013 -0400 Document all gtester-report options The --subunit option was missing from the man page. docs/reference/glib/gtester-report.xml | 7 +++++++ 1 file changed, 7 insertions(+) commit 794401c0a2165ec6d9e0e29b61c0a2cdb59acdb2 Author: Matthias Clasen Date: Sat May 4 21:08:18 2013 -0400 Document all glib-mkenums placeholders The @ENUMPREFIX@ placeholder was missing in the man page. docs/reference/gobject/glib-mkenums.xml | 7 +++++++ 1 file changed, 7 insertions(+) commit f10dc91ceedaef63d3a6b0421d4ae0b28f5e1473 Author: Matthias Clasen Date: Sat May 4 21:05:24 2013 -0400 Document all glib-genmarshal options The --stdinc option was missing from the man page. docs/reference/gobject/glib-genmarshal.xml | 8 ++++++++ 1 file changed, 8 insertions(+) commit 8d99b24a03adf1c5b950336c3bd649baeb953a9e Author: Matthias Clasen Date: Sat May 4 21:03:00 2013 -0400 Fix a typo docs/reference/gio/glib-compile-resources.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7b60a469b751b655cbce04fb44b40e42a7d42391 Author: Matthias Clasen Date: Sat May 4 21:01:35 2013 -0400 Document all gdbus-codegen options The --help and --xml-files options were missing from the man page. docs/reference/gio/gdbus-codegen.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 13958ee4292947e0a074ebf4a0e697462ba58e79 Author: Dan Winship Date: Thu May 2 10:14:57 2013 -0400 gbitlock: fix this to not unconditionally use futex emulation Ryan accidentally committed some debugging code a long time ago, causing this file to always use futex emulation even when real futex support was available. I noticed this a while later and pointed it out to him, and assumed he was going to fix it, but I guess he assumed I was going to fix it, and then neither of us did... https://bugzilla.gnome.org/show_bug.cgi?id=699500 glib/gbitlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9d69c274e0e13294bbfd6488c220ab523d3e881a Author: Matthias Clasen Date: Thu May 2 21:00:57 2013 -0400 Silently handle icon being NULL While an emblemed icon without a base icon is not very useful, no need to crash here. This was crashing the object finalization test in gtk. gio/gemblemedicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a360b314aad5dcbc575948a401d22d47a36e4328 Author: Emmanuele Bassi Date: Sun Apr 14 21:04:41 2013 +0100 binding: Add an explicit unbind() Higher order languages with garbage collection can have issues releasing a binding, as they do not control the last reference being dropped on the binding, source, or target instances. https://bugzilla.gnome.org/show_bug.cgi?id=698018 docs/reference/gobject/gobject-sections.txt | 1 + gobject/gbinding.c | 89 +++++++++++++++++++---------- gobject/gbinding.h | 2 + gobject/tests/binding.c | 32 +++++++++++ 4 files changed, 95 insertions(+), 29 deletions(-) commit f61daa6ed275f1794a6552d3343e313d1d243933 Author: Colin Walters Date: Thu May 2 11:39:11 2013 -0400 tests/mappedfile: Also handle ENOMEM The RHEL6.4 kernel gives me that instead of EINVAL. https://bugzilla.gnome.org/show_bug.cgi?id=699485 glib/tests/mappedfile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c0e0c6a4201c879b5d8d7f5314d42f268a317f4c Author: Dan Winship Date: Thu May 2 13:58:25 2013 -0400 gobject: rename an unused parameter to make AIX happy gobject/gobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 769e3edbe0f658ecaf22d7352486aad176095328 Author: Simon McVittie Date: Thu May 2 16:50:01 2013 +0100 GSocks5Proxy: don't crash if parsing negotiation reply fails The GError should be initialized to NULL, otherwise we'll "pile up" errors, then try to free an uninitialized pointer. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=699493 gio/gsocks5proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eda37dbc3f547d785e4e8941abd320d1292e93e7 Author: Rajesh Ranjan Date: Thu May 2 13:45:46 2013 +0530 hindi update po/hi.po | 311 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 153 insertions(+), 158 deletions(-) commit b24f73700d3779187b763178d4e462cdfa3e43c5 Author: Matej Urbančič Date: Wed May 1 20:32:44 2013 +0200 Updated Slovenian translation po/sl.po | 1396 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 702 insertions(+), 694 deletions(-) commit 631cf195c8fa718d78354688de4d88057c7e68ad Author: Matthias Clasen Date: Wed May 1 05:20:02 2013 -0400 Bump version to 2.37.1 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)