commit 4ac7f8f08433c37cf0a69cdea601514a0c06c1b6 Author: Benjamin Otte Date: Fri Aug 6 23:15:28 2010 +0200 notifyqueue: Dedup pspecs when adding The previous code dedup'd when thawing and threw nasty warnings your way if you notified too often. This can now easily be avoided. Performance should be roughly identical, as both are O(n²). gobject/gobjectnotifyqueue.c | 23 +++++++---------------- 1 files changed, 7 insertions(+), 16 deletions(-) commit e88eb048659be2e09081a27ddaef0e261667b6b8 Author: Ryan Lortie Date: Fri Aug 6 16:48:03 2010 -0400 Prepare to release glib 2.25.13 NEWS | 67 +++++++++++++++++++++++++++++ docs/reference/glib/tmpl/glib-unused.sgml | 40 ----------------- docs/reference/glib/tmpl/messages.sgml | 27 +++++++++--- docs/reference/glib/tmpl/version.sgml | 41 +++++++++++++++++ 4 files changed, 129 insertions(+), 46 deletions(-) commit 80046f36e0ed2fe3d12c3128145033043f46734d Author: Ryan Lortie Date: Fri Aug 6 16:42:36 2010 -0400 gitignore update glib/tests/.gitignore | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit d96b7c5c8aacc2b8516c03a2801db731d4171570 Author: Ryan Lortie Date: Fri Aug 6 15:28:58 2010 -0400 gtester: Run tests only once on 'make check' The gtester makefile runs 'make test' on 'make check' and also recurses on 'make test'. automake recurses on 'make check'. This means that every level of recursive make that we go through results in the tests running twice as many times. If you type 'make check' at the toplevel, for example, tests in gio/tests/ run 4 times. Fix that by introducing a 'test-nonrecursive' target and using that one from 'make check'. 'make test', 'make test-report', etc. are still recursive. Makefile.decl | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) commit b91f9274d9de1e9f0a1b407913ab893cfe1d5b25 Author: Ryan Lortie Date: Fri Aug 6 13:12:20 2010 -0400 Fix volumemonitor test case Don't blindly g_object_unref() that which may be NULL. gio/tests/volumemonitor.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) commit 889a7f81dd808d35a17baa53a87255ef588d27da Author: Ryan Lortie Date: Fri Aug 6 13:11:38 2010 -0400 gio.symbols: add g_dbus_message_[gs]et_byte_order gio/gio.symbols | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 5e044a943c96967841c3c341ac5975c36064d640 Author: Ryan Lortie Date: Fri Aug 6 13:11:20 2010 -0400 typo fix: Dist the data for the test cases change 'dist_hook:' to 'dist-hook:' glib/tests/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b3b7ea8e227035ae27d6ac62595478d27b8152e8 Author: Ryan Lortie Date: Fri Aug 6 13:09:26 2010 -0400 Replace -I with $(glib_INCLUDES) and friends Stop using ad hoc -I in all of our Makefile.am. Use the new variables instead. docs/reference/gio/Makefile.am | 10 +--------- docs/reference/gobject/Makefile.am | 5 +---- gio/Makefile.am | 6 +----- gio/fam/Makefile.am | 5 +---- gio/fen/Makefile.am | 6 +----- gio/inotify/Makefile.am | 6 +----- gio/libasyncns/Makefile.am | 2 +- gio/tests/Makefile.am | 7 +------ gio/win32/Makefile.am | 6 +----- glib/Makefile.am | 2 +- glib/gnulib/Makefile.am | 3 +-- glib/libcharset/Makefile.am | 2 +- glib/pcre/Makefile.am | 5 +---- glib/tests/Makefile.am | 4 +--- glib/update-pcre/Makefile.am-1 | 4 +--- gmodule/Makefile.am | 5 +---- gobject/Makefile.am | 5 +---- gobject/tests/Makefile.am | 2 +- gthread/Makefile.am | 5 +---- gthread/tests/Makefile.am | 2 +- tests/Makefile.am | 5 +---- tests/gobject/Makefile.am | 5 +---- tests/refcount/Makefile.am | 5 +---- 23 files changed, 23 insertions(+), 84 deletions(-) commit 8ad9d9dbe35973951faaf595b1fe847b6b180159 Author: Ryan Lortie Date: Fri Aug 6 13:07:31 2010 -0400 configure.ac: define glib_INCLUDES and friends These macros should be used instead of -I for things in the tree that depend on various bits of glib. also gobject_INCLUDES, gthread_INCLUDES, gmodule_INCLUDES, gio_INCLUDES configure.ac | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) commit ba0208b3a8076f8c3c545ba5716347ad446525f7 Author: Ryan Lortie Date: Fri Aug 6 13:05:18 2010 -0400 Clean up improper #includes We have a lot of broken #including going on around the tree. This has gone unnoticed due to our sloppy use of -I. gio/fam/fam-helper.c | 2 +- gio/fam/fam-module.c | 2 +- gio/fam/gfamdirectorymonitor.c | 2 +- gio/fam/gfamdirectorymonitor.h | 4 ++-- gio/fam/gfamfilemonitor.c | 2 +- gio/fam/gfamfilemonitor.h | 4 ++-- gio/fen/fen-helper.c | 2 +- gio/fen/fen-node.c | 2 +- gio/fen/gfendirectorymonitor.c | 2 +- gio/fen/gfendirectorymonitor.h | 4 ++-- gio/inotify/ginotifydirectorymonitor.c | 2 +- gio/inotify/ginotifydirectorymonitor.h | 4 ++-- gio/tests/application.c | 2 +- gio/tests/gschema-compile.c | 2 +- gio/tests/testapp.c | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) commit 78f7f14b34b4c04742fc848eec536ffdb8c8ab01 Author: Ryan Lortie Date: Fri Aug 6 10:53:07 2010 -0400 Don't dist 'glibconfig.h' This is causing very serious problems when doing out-of-tree builds from tarballs on architectures that are different from the architecture that the tarball was created on. This commit breaks the build in those cases, but I'll fix that in the next commits. https://bugzilla.gnome.org/show_bug.cgi?id=626107 glib/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 25c6bdc22add2f306c24e5200de2899f39f86c48 Author: Ryan Lortie Date: Fri Aug 6 10:29:32 2010 -0400 error test case: don't double-free the source g_propagate_prefixed_error() frees the source already, don't g_error_free() it. glib/tests/error.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit a1b015f7b70b3851d5a6e45fd4114c7723b4f1ea Author: Hannes Müller Date: Thu Aug 5 23:11:03 2010 +0200 avoid warning in gutils.h when using gcc with -Wconversion https://bugzilla.gnome.org/show_bug.cgi?id=619026 glib/gutils.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 970d0634e9ade050158bdb529a6f8a7deb8fb319 Author: Fran Diéguez Date: Thu Aug 5 15:36:39 2010 +0200 Updated Galician translations po/gl.po | 234 +++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 149 insertions(+), 85 deletions(-) commit c789f72f9dfb6dcb86c536dfa6f65e5a7e5c72f4 Author: Claude Paroz Date: Thu Aug 5 15:17:40 2010 +0200 Updated French translation Contributed by Gérard Baylard and Claude Paroz po/fr.po | 2016 +++++++++++++++++++++++++++++++++++++------------------------- 1 files changed, 1220 insertions(+), 796 deletions(-) commit 9f6faaffb6491a8de5508b7678ab48fee4f59efa Author: paul Date: Thu Aug 5 09:08:34 2010 -0400 Add $(top_builddir)/glib to includes This is required to find glibconfig.h during srcdir != builddir builds gio/Makefile.am | 1 + gio/tests/Makefile.am | 1 + glib/gnulib/Makefile.am | 3 ++- glib/tests/Makefile.am | 1 + gmodule/Makefile.am | 1 + gobject/Makefile.am | 1 + gobject/tests/Makefile.am | 2 +- gthread/Makefile.am | 1 + tests/Makefile.am | 1 + tests/gobject/Makefile.am | 1 + tests/refcount/Makefile.am | 1 + 11 files changed, 12 insertions(+), 2 deletions(-) commit 38c3f9964c2c0b7243cf5033ffc1d197c292b337 Author: Jorge González Date: Thu Aug 5 12:11:05 2010 +0200 Updated Spanish translation po/es.po | 238 ++++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 156 insertions(+), 82 deletions(-) commit abe820e0d935f41744292146c71ccc4cf479751e Author: Philip Withnall Date: Mon Aug 2 14:14:11 2010 +0100 Expand documentation about error quark naming Closes: bgo#625827 docs/reference/glib/tmpl/error_reporting.sgml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 008615f9999641158a89e3e6163b1580cac53dd0 Author: Matthias Clasen Date: Thu Aug 5 02:23:42 2010 -0400 Test an option handling corner-case glib/tests/option-context.c | 59 ++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 58 insertions(+), 1 deletions(-) commit e2657d8dce32e10869ec2b18edc7dbf489dd2941 Author: Matthias Clasen Date: Thu Aug 5 02:01:58 2010 -0400 Add a not about arguments beginning with dashes glib/goption.c | 28 +++++++++++++++------------- 1 files changed, 15 insertions(+), 13 deletions(-) commit e4994cb0a10c35f373b17ef970e2f8e4034d387c Author: Yaron Shahrabani Date: Thu Aug 5 09:14:40 2010 +0300 Updated Hebrew translation. po/he.po | 205 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 133 insertions(+), 72 deletions(-) commit 84d3aa652f4e5853d5612bd4b189c2146168f038 Author: Matthias Clasen Date: Thu Aug 5 01:53:15 2010 -0400 Beautify configure output Checking for cpp before using it avoids somewhat ugly nested output. Pointed out in bug 593544. configure.ac | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 530f67384ea656ef9a5d8c05df5c35a9bf2a5ec0 Author: Matthias Clasen Date: Thu Aug 5 01:45:26 2010 -0400 Modernize pkg-config check As pointed out in bug 599590, our hand-rolled check fails to find cross-complication variants of pkg-config like i686-pc-mingw32-pkg-config. configure.ac | 14 +------------- 1 files changed, 1 insertions(+), 13 deletions(-) commit 3e8a9c7b52211ad1991711e02d682dc6e03439c6 Author: Matthias Clasen Date: Thu Aug 5 01:39:02 2010 -0400 Add missing files Reported in bug 624739 po/POTFILES.in | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit d52e1c33f71a28908dac3658a8d5394e333324fc Author: David Zeuthen Date: Wed Aug 4 16:59:26 2010 -0400 GDBus: Add `return' debug option This prints all GDBusMethodInvocation API usage and is normally used with the `incoming' option. Example: # G_DBUS_DEBUG=incoming,return ./polkitd --replace Entering main event loop Connected to the system bus Registering null backend at priority -10 [...] Acquired the name org.freedesktop.PolicyKit1 [...] ======================================================================== GDBus-debug:Incoming: <<<< METHOD INVOCATION org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent() on object /org/freedesktop/PolicyKit1/Authority invoked by name :1.26 serial 299 ======================================================================== GDBus-debug:Return: >>>> METHOD ERROR org.freedesktop.PolicyKit1.Error.Failed message `Cannot determine session the caller is in' in response to org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent() on object /org/freedesktop/PolicyKit1/Authority to name :1.26 reply-serial 299 [...] ======================================================================== GDBus-debug:Incoming: <<<< METHOD INVOCATION org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent() on object /org/freedesktop/PolicyKit1/Authority invoked by name :1.2402 serial 25 ======================================================================== GDBus-debug:Return: >>>> METHOD RETURN in response to org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent() on object /org/freedesktop/PolicyKit1/Authority to name :1.2402 reply-serial 25 Signed-off-by: David Zeuthen docs/reference/gio/overview.xml | 10 ++++++++-- gio/gdbusconnection.c | 6 ++++-- gio/gdbusmethodinvocation.c | 37 +++++++++++++++++++++++++++++++++++++ gio/gdbusprivate.c | 13 +++++++++++-- gio/gdbusprivate.h | 1 + 5 files changed, 61 insertions(+), 6 deletions(-) commit 89a1b571adde644664093dd4763fb9aa077dfafc Author: David Zeuthen Date: Wed Aug 4 14:38:51 2010 -0400 GDBusMessage: Validate header fields when serializing/deserializing The D-Bus spec mentions exactly what header fields are required for various message types. Add tests for this as well. Also disallow empty interfaces for signals since the D-Bus spec says this is Verboten already. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 5 - gio/gdbusmessage.c | 119 ++++++++++++++++++++++++++++-- gio/tests/gdbus-serialization.c | 155 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 268 insertions(+), 11 deletions(-) commit 6f070be65bb4bb665cb8a4c1f48cac59c1f4fba3 Author: David Zeuthen Date: Wed Aug 4 13:32:19 2010 -0400 GDBusMessage: Add a way to get/set byte order of a message Also use this in the test cases to check that serialization to and from both big and little endian works. Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 3 + gio/gdbusmessage.c | 85 +++++++++++++++++---- gio/gdbusmessage.h | 4 + gio/gio.symbols | 1 + gio/gioenums.h | 15 ++++ gio/tests/gdbus-serialization.c | 139 +++++++++++++++++++++-------------- 6 files changed, 175 insertions(+), 72 deletions(-) commit 6e723e8b3e5f138f8e0b4fe45c5872a92510d5d3 Author: David Zeuthen Date: Wed Aug 4 12:24:22 2010 -0400 GDBusMessage: Assert various things when serializing to a blob We use g_assert() instead of setting the GError because it is a programming error if the GVariant contains invalid data - see commit 5e6f762d61db1a5c64bd1d33e5ba112755106581 for where the last hole in GVariant was closed. So if we can trust GVariant to only contain valid data (ignoring the case where unsafe API such as g_variant_new_from_data() is used), why g_assert() at all with costly g_utf8_validate() checks? Because a) it is relatively inexpensive; and b) it helps find bugs such as the one fixed in commit 5e6f762d61db1a5c64bd1d33e5ba112755106581. If performance is a concern we can play games like introducing environment variables or other machinery to avoid such "costly" checks. I doubt it will ever be an issue. Also replace two "Hmm" TODO item with a static assert - the code that serializes a gdouble into the D-Bus wire format by treating it as a guint64 is indeed correct - endianess needs to be taken into account (see the D-Bus reference implementation for similar code). But we want to make sure that we're indeed using an architecture/compiler where a gdouble takes up 8 bytes - hence the assertion. Signed-off-by: David Zeuthen gio/gdbusmessage.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) commit 5bd34a820eb79f0765e312215e0a3e0a339ace78 Author: David Zeuthen Date: Wed Aug 4 11:26:48 2010 -0400 GDBusMessage: Validate UTF-8 strings when serializing from blob Signed-off-by: David Zeuthen gio/gdbusmessage.c | 24 +++++++++- gio/tests/gdbus-serialization.c | 88 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+), 3 deletions(-) commit e62bc8e8f66c096829b282a53a769fbb55ab6b4d Author: Dan Winship Date: Wed Aug 4 07:36:04 2010 -0400 remove a junk line gio/tests/.gitignore | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 27bc1d60ebcbd1b6e887fde138840a9ddda7fc3b Author: Kjartan Maraas Date: Wed Aug 4 13:23:02 2010 +0200 Updated Norwegian bokmål translation po/nb.po | 554 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 376 insertions(+), 178 deletions(-) commit 4bc9654c63feee596de5aa214d7cbd8fc293cd9d Author: Emmanuele Bassi Date: Wed Aug 4 00:57:52 2010 +0100 binding: Add a default marshaller for the closure API The g_object_bind_property_with_closures() function should set a marshaller if the two GClosures don't have one already. This simplifies the caller code and avoids duplication. We need to add a new marshaller to the gmarshal.list matching the signature of the GBindingTransformFunc function. gobject/gbinding.c | 7 +++++++ gobject/gclosure.c | 15 +++++++++++++++ gobject/gmarshal.list | 1 + gobject/gobject.symbols | 1 + gobject/tests/binding.c | 39 --------------------------------------- 5 files changed, 24 insertions(+), 39 deletions(-) commit f5cd8ddeaac7e6df484629b7ae54a86ffa155a05 Author: David Zeuthen Date: Tue Aug 3 15:36:16 2010 -0400 GDBusConnection: Debug messages when receiving signals and method invocations Spell out "RECEIVED SIGNAL" instead of "SIGNAL" to emphasize this is about receiving a signal, not emitting one (which is "SIGNAL EMISSION"). Also make the "arrows" point in the "right" direction ("<<<<" vs ">>>>") - like this: ======================================================================== GDBus-debug:Signal: <<<< RECEIVED SIGNAL org.freedesktop.DBus.NameOwnerChanged on object /org/freedesktop/DBus sent by name org.freedesktop.DBus and ======================================================================== GDBus-debug:Incoming: <<<< METHOD INVOCATION org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on object /org/freedesktop/PolicyKit1/Authority invoked by name :1.2176 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 69341e2ba9a864ed2848527570988afc3e1c9df4 Author: David Zeuthen Date: Tue Aug 3 14:32:29 2010 -0400 glib-compile-schemas: Pass a C string, not a GString wrapper Commit 5e6f762d61db1a5c64bd1d33e5ba112755106581 (introducing UTF-8 validity checks for GVariant instances containing strsings) actually uncovered a bug in glib-compile-schemas - a GString was passed when a C string was expected. Signed-off-by: David Zeuthen gio/gschema-compile.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5e6f762d61db1a5c64bd1d33e5ba112755106581 Author: David Zeuthen Date: Tue Aug 3 13:33:03 2010 -0400 GVariant: validate that passed string is UTF-8 As discussed with Ryan on IRC. This check is crucial because it guarantees that g_variant_get_string() will _always_ return valid UTF-8. Except in cases where the programmer used unsafe API such as g_variant_new_from_data() and setting @trusted to TRUE. In fact, this check revealed a flaw in my polkit gdbus port (lt-polkitd:11632): GLib-CRITICAL **: g_variant_new_string: assertion `g_utf8_validate (string, len, NULL)' failed and with this I could easily find the problem by using gdb(1) and G_DBUS=fatal-warnings. Without this check we'd pass the non-UTF8 string all the way to the message bus and the bus would then disconnect us. So instead I was seeing g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting. and then SIGTERM as raised by g_dbus_connection_real_closed() and my polkitd process would exit. This behavior is much harder to debug than failing early (as this patch implements). Signed-off-by: David Zeuthen glib/gvariant.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 86d947f01fba4b79aa9f0bdcea9d510f5411ea4b Author: David Zeuthen Date: Tue Aug 3 12:47:07 2010 -0400 Fix gdbus-exit-on-close test case Forgot to update the test case after last commit. Signed-off-by: David Zeuthen gio/tests/gdbus-exit-on-close.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6a492a45191335ac97f54785db543f21dfce379c Author: David Zeuthen Date: Tue Aug 3 12:24:48 2010 -0400 GDBus: If exiting b/c remote peer disconnected and error is set, print it This should make things easier to debug: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit 3940cc9a11fde063bb9f83cc362e575e5f378609 Author: David Zeuthen Date: Tue Aug 3 11:14:21 2010 -0400 GDBusProxy: Don't leak a GSimpleAsyncResult when doing async calls Signed-off-by: David Zeuthen gio/gdbusproxy.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit b2715bbc5eaa1454df879964f58e36dbed65dc77 Author: Matthias Clasen Date: Tue Aug 3 10:41:21 2010 -0400 Fix a possible deadlock the FdSource was calling g_cancellable_disconnect while holding the main context lock, which is bad news if the ::cancelled handler is trying to get that lock to wake up the mainloop... Bug 586432 gio/gasynchelper.c | 8 ++++++-- gio/tests/unix-streams.c | 22 +--------------------- 2 files changed, 7 insertions(+), 23 deletions(-) commit 5179d92e9ce8f5b88db73613ef0485c82656801e Author: Matthias Clasen Date: Sun Aug 1 02:36:27 2010 -0400 fix the completion test tests/completion-test.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 21d98dbc4b57783bc98f612ca459562bcd25bd5b Author: Matthias Clasen Date: Sun Aug 1 02:11:15 2010 -0400 improve completion test coverage tests/completion-test.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit 9b96e31968383619ff0a76212c5200022d62b23c Author: Matthias Clasen Date: Sun Aug 1 02:07:50 2010 -0400 Don't assert too much glib/gbookmarkfile.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit e4b5104003e9281e5737a9611517c4878522df5c Author: Matthias Clasen Date: Sun Aug 1 02:07:21 2010 -0400 Move bookmarkfile tests to the test framework glib/tests/Makefile.am | 7 + glib/tests/bookmarkfile.c | 298 ++++++++++++++++++++++++++++++++++++ glib/tests/bookmarks/fail-02.xbel | 2 + glib/tests/bookmarks/fail-03.xbel | 18 +++ glib/tests/bookmarks/fail-04.xbel | 21 +++ glib/tests/bookmarks/fail-05.xbel | 21 +++ glib/tests/bookmarks/fail-06.xbel | 19 +++ glib/tests/bookmarks/fail-07.xbel | 21 +++ glib/tests/bookmarks/fail-08.xbel | 18 +++ glib/tests/bookmarks/fail-09.xbel | 20 +++ glib/tests/bookmarks/fail-10.xbel | 21 +++ glib/tests/bookmarks/fail-11.xbel | 22 +++ glib/tests/bookmarks/fail-12.xbel | 22 +++ glib/tests/bookmarks/fail-13.xbel | 22 +++ glib/tests/bookmarks/fail-14.xbel | 24 +++ glib/tests/bookmarks/fail-15.xbel | 23 +++ glib/tests/bookmarks/fail-16.xbel | 24 +++ glib/tests/bookmarks/fail-17.xbel | 22 +++ glib/tests/bookmarks/valid-01.xbel | 21 +++ glib/tests/bookmarks/valid-02.xbel | 15 ++ glib/tests/bookmarks/valid-03.xbel | 21 +++ tests/Makefile.am | 8 +- tests/bookmarkfile-test.c | 188 ----------------------- tests/bookmarks/fail-02.xbel | 2 - tests/bookmarks/fail-03.xbel | 18 --- tests/bookmarks/fail-04.xbel | 21 --- tests/bookmarks/fail-05.xbel | 21 --- tests/bookmarks/fail-06.xbel | 19 --- tests/bookmarks/fail-07.xbel | 21 --- tests/bookmarks/fail-08.xbel | 18 --- tests/bookmarks/fail-09.xbel | 20 --- tests/bookmarks/fail-10.xbel | 21 --- tests/bookmarks/fail-11.xbel | 22 --- tests/bookmarks/fail-12.xbel | 22 --- tests/bookmarks/fail-13.xbel | 22 --- tests/bookmarks/fail-14.xbel | 24 --- tests/bookmarks/fail-15.xbel | 23 --- tests/bookmarks/fail-16.xbel | 24 --- tests/bookmarks/fail-17.xbel | 22 --- tests/bookmarks/valid-01.xbel | 21 --- tests/bookmarks/valid-02.xbel | 15 -- tests/bookmarks/valid-03.xbel | 21 --- tests/run-bookmark-test.sh | 34 ---- 43 files changed, 684 insertions(+), 605 deletions(-) commit b3de028a43873913106c31fa2c4b6e31d14b9fc1 Author: Emmanuele Bassi Date: Tue Aug 3 14:21:02 2010 +0100 Update the Git ignore files gio/tests/.gitignore | 2 ++ glib/tests/.gitignore | 8 ++++++++ m4macros/.gitignore | 5 +++++ 3 files changed, 15 insertions(+), 0 deletions(-) commit f8ec75620d5e7c2d139cc523729a1223875f1fa0 Author: Mark Wielaard Date: Mon Aug 2 23:28:50 2010 +0200 Don't add (extra) DESTDIR to tapsetdir for tapset_DATA. https://bugzilla.gnome.org/show_bug.cgi?id=625876 glib/Makefile.am | 2 +- gobject/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 5e1c4b18a806cd8a0f259b314f64f3d99e824773 Author: Emmanuele Bassi Date: Tue Aug 3 10:34:59 2010 +0100 docs: Clarify user_data behavior for bind_property_full() gobject/gbinding.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 90f7f171e621c296526b3978a75433c30c088b46 Author: Emmanuele Bassi Date: Tue Aug 3 10:29:50 2010 +0100 binding: Add G_BINDING_INVERT_BOOLEAN Since GSettings got the same functionality and flag in commit ca3b7b75b GBinding should also have the ability to automatically invert a boolean value without requiring a custom transformation function. gobject/gbinding.c | 61 +++++++++++++++++++++++++++++++++++++++++++- gobject/gbinding.h | 18 +++++++++---- gobject/tests/binding.c | 64 +++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 130 insertions(+), 13 deletions(-) commit 3be3ad61d142ca5bbd5659809af749ea5bf441ac Author: Emmanuele Bassi Date: Tue Jul 13 06:03:03 2010 +0100 binding: Add a closure-based variant of bind_property_full() Since using the function pointer version muddles the memory management requirements of language bindings, we should implement a GClosure-based variant on top of g_object_bind_property_full(). https://bugzilla.gnome.org/show_bug.cgi?id=622278 docs/reference/gobject/gobject-sections.txt | 1 + gobject/gbinding.c | 183 +++++++++++++++++++++++++-- gobject/gbinding.h | 35 +++-- gobject/gobject.symbols | 1 + gobject/tests/binding.c | 76 +++++++++++- 5 files changed, 271 insertions(+), 25 deletions(-) commit ca3b7b75bff00ea05c967eea06e2c3397da17e41 Author: Ryan Lortie Date: Tue Aug 3 02:08:03 2010 -0400 GSettings: add G_SETTINGS_BIND_INVERT_BOOLEAN flag When binding a boolean setting to a boolean property, invert the values. This avoids the requirement for writing a pair of mapping functions for this extremely common case. Add a test. https://bugzilla.gnome.org/show_bug.cgi?id=625833 gio/gsettings.c | 71 +++++++++++++++++++++++++++++++++--- gio/gsettings.h | 6 +++- gio/tests/gsettings.c | 21 ++++++++++- gio/tests/org.gtk.test.gschema.xml | 3 ++ 4 files changed, 93 insertions(+), 8 deletions(-) commit dd2bbc95330355d5ff044dc76649e41ee5063894 Author: Fridrich Štrba Date: Mon Aug 2 10:16:29 2010 +0200 On windows, export also symbols defined in gio/gwin32appinfo.c gio/gio.symbols | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) commit 9c399b10b8da98e87d12c1fbd8f8e6a44256f68b Author: Fran Diéguez Date: Sun Aug 1 23:18:31 2010 +0200 Updated Galician translations po/gl.po | 259 ++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 212 insertions(+), 47 deletions(-) commit 892012b951a5222a3e47afc18179b064420ff98b Author: Carlos Garcia Campos Date: Sun Aug 1 12:56:06 2010 +0200 GDBusConnection: fix message flags in g_dbus_connection_call_sync() GDBusCallFlags were used instead of GDBusSendMessageFlags for g_dbus_connection_send_message_with_reply_sync(). Fixes bug #625753. gio/gdbusconnection.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e7c7e46cf20cbca1684cecd1ba45e5555797844e Author: Stef Walter Date: Sun Aug 1 07:14:43 2010 +0200 Add comment to g_date_set_time_val about local timezone. Local time zone is used in conversion during g_date_set_time_val(). We now mention this in the documentation. Fixes bug #625500 glib/gdate.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit d01a4374901af59a9b80fed1372a1366c9c9705d Author: Milan Crha Date: Sat Jul 31 23:51:45 2010 -0400 Silence valgrind Initialize all fields of struct msghdr. Bug 625472. gio/gsocket.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit b6c42d05c07479c49f5dd36ad74caae518568381 Author: Jorge González Date: Sat Jul 31 15:11:48 2010 +0200 Updated Spanish translation po/es.po | 206 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 182 insertions(+), 24 deletions(-) commit 7e33c4977c1772a741d9beb1f5ceca2009a0cea5 Author: Yaron Shahrabani Date: Sat Jul 31 10:05:05 2010 +0300 Updated Hebrew translation. po/he.po | 253 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 213 insertions(+), 40 deletions(-) commit 917456973643cfe303017f1bb3266d41bba7cfd2 Author: Matthias Clasen Date: Sat Jul 31 02:40:16 2010 -0400 Also use trylock in the bitlock tests gthread/tests/1bit-mutex.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit ce7463a87b8f039490be075ba0505fa2986509b6 Author: Matthias Clasen Date: Sat Jul 31 02:39:53 2010 -0400 improve scanner api test coverage glib/tests/scannerapi.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 6d41af0f724fad717b2cba4dc0001cd53564a9eb Author: Matthias Clasen Date: Sat Jul 31 02:15:03 2010 -0400 Improve tree test coverage glib/tests/tree.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 42 insertions(+), 0 deletions(-) commit a94657782680312592f860d5d867a446b8beda85 Author: Matthias Clasen Date: Sat Jul 31 02:14:51 2010 -0400 Improve keyfile test coverage glib/tests/keyfile.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) commit ef4690c6c96824a2099a5feca11a1785329ec5ca Author: Matthias Clasen Date: Sat Jul 31 02:14:28 2010 -0400 Test some GError functionality explicitly glib/tests/Makefile.am | 3 ++ glib/tests/error.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 0 deletions(-) commit a4d0038c288587bd2d8b50a7b5b442e6ba0f59a7 Author: Matthias Clasen Date: Sat Jul 31 02:14:01 2010 -0400 Add a test for g_variant_builder_add_parsed glib/tests/gvariant.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 3c0f77a499f01f42c70313568870681f00e4cc82 Author: Matthias Clasen Date: Sat Jul 31 02:07:38 2010 -0400 Fix a typo glib/gvariant-parser.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 12e47411c3ad3d04619036a1001801382ea9e9da Author: Matthias Clasen Date: Sat Jul 31 00:56:11 2010 -0400 Improve string test coverage glib/tests/string.c | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 deletions(-) commit dd25bdeff14ebad9c0ffc5231032ede0c761c47e Author: Matthias Clasen Date: Sat Jul 31 00:55:57 2010 -0400 Improve byte array test coverage glib/tests/array-test.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 8246bf4bdebb1a12e40111b483e7d6a474ec6b58 Author: Matthias Clasen Date: Sat Jul 31 00:13:02 2010 -0400 Improve gdbus test coverage gio/tests/gdbus-connection.c | 61 ++++++++++++++++++++-- gio/tests/gdbus-proxy.c | 118 ++++++++++++++++++++++++++++++++++++++++- 2 files changed, 171 insertions(+), 8 deletions(-) commit 116b945c944a8dcfeb21e9b9ea7781a492a81101 Author: Matthias Clasen Date: Fri Jul 30 23:44:30 2010 -0400 Fix a typo Its credentials, not crendentials gio/gdbusconnection.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit eb3e926b09538f22ac115ce0f18ac7530dc2dc87 Author: Matthias Clasen Date: Fri Jul 30 16:44:25 2010 -0400 Fix an off-by-one error gio/gapplication.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5033be80d15cfb6c0a89f4ab0bc5e76cc2cd0a71 Author: Matthias Clasen Date: Fri Jul 30 16:21:49 2010 -0400 Add a test for g_dbus_proxy_get_cached_property_names gio/tests/gdbus-proxy.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 65 insertions(+), 0 deletions(-) commit 5f89498f071a100d3e159dd0d967477047249d73 Author: Matthias Clasen Date: Fri Jul 30 15:36:15 2010 -0400 improve printf tests coverage glib/tests/printf.c | 241 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 227 insertions(+), 14 deletions(-) commit 9100828185316503e2da366a8e0de8e361944301 Author: Matthias Clasen Date: Fri Jul 30 15:35:47 2010 -0400 Improve option context test coverage glib/tests/option-context.c | 65 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 65 insertions(+), 0 deletions(-) commit 027905c27aca3cdedca59a3d084e9a9279e03b19 Author: Matthias Clasen Date: Thu Jul 29 23:08:07 2010 -0400 Improve array test coverage glib/tests/array-test.c | 461 ++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 455 insertions(+), 6 deletions(-) commit 03be0d7237c7f250e01b785af4e4e4e8724a3e8f Author: Matthias Clasen Date: Thu Jul 29 20:52:31 2010 -0400 Move markup parse tests to the test framework glib/tests/Makefile.am | 20 ++- glib/tests/markup-parse.c | 290 ++++++++++++++++++++++++++++++++++ glib/tests/markups/fail-1.expected | 1 + glib/tests/markups/fail-10.expected | 4 + glib/tests/markups/fail-10.gmarkup | 2 + glib/tests/markups/fail-11.expected | 7 + glib/tests/markups/fail-11.gmarkup | 4 + glib/tests/markups/fail-12.expected | 1 + glib/tests/markups/fail-12.gmarkup | 1 + glib/tests/markups/fail-13.expected | 1 + glib/tests/markups/fail-13.gmarkup | 1 + glib/tests/markups/fail-14.expected | 4 + glib/tests/markups/fail-14.gmarkup | 2 + glib/tests/markups/fail-15.expected | 8 + glib/tests/markups/fail-15.gmarkup | 3 + glib/tests/markups/fail-16.expected | 2 + glib/tests/markups/fail-16.gmarkup | 1 + glib/tests/markups/fail-17.expected | 1 + glib/tests/markups/fail-17.gmarkup | 1 + glib/tests/markups/fail-18.expected | 1 + glib/tests/markups/fail-18.gmarkup | 1 + glib/tests/markups/fail-19.expected | 1 + glib/tests/markups/fail-19.gmarkup | 1 + glib/tests/markups/fail-2.expected | 1 + glib/tests/markups/fail-2.gmarkup | 1 + glib/tests/markups/fail-20.expected | 1 + glib/tests/markups/fail-20.gmarkup | 1 + glib/tests/markups/fail-21.expected | 1 + glib/tests/markups/fail-21.gmarkup | 1 + glib/tests/markups/fail-22.expected | 2 + glib/tests/markups/fail-22.gmarkup | 1 + glib/tests/markups/fail-23.expected | 4 + glib/tests/markups/fail-23.gmarkup | 2 + glib/tests/markups/fail-24.expected | 1 + glib/tests/markups/fail-24.gmarkup | 1 + glib/tests/markups/fail-25.expected | 1 + glib/tests/markups/fail-25.gmarkup | 1 + glib/tests/markups/fail-26.expected | 2 + glib/tests/markups/fail-26.gmarkup | 1 + glib/tests/markups/fail-27.expected | 2 + glib/tests/markups/fail-27.gmarkup | 1 + glib/tests/markups/fail-28.expected | 2 + glib/tests/markups/fail-28.gmarkup | 1 + glib/tests/markups/fail-29.expected | 2 + glib/tests/markups/fail-29.gmarkup | 1 + glib/tests/markups/fail-3.gmarkup | 49 ++++++ glib/tests/markups/fail-30.expected | 2 + glib/tests/markups/fail-30.gmarkup | 1 + glib/tests/markups/fail-31.expected | 2 + glib/tests/markups/fail-31.gmarkup | 1 + glib/tests/markups/fail-32.expected | 2 + glib/tests/markups/fail-32.gmarkup | 1 + glib/tests/markups/fail-33.expected | 2 + glib/tests/markups/fail-33.gmarkup | 1 + glib/tests/markups/fail-34.expected | 2 + glib/tests/markups/fail-34.gmarkup | 1 + glib/tests/markups/fail-35.expected | 2 + glib/tests/markups/fail-35.gmarkup | 1 + glib/tests/markups/fail-36.gmarkup | 1 + glib/tests/markups/fail-37.expected | 1 + glib/tests/markups/fail-37.gmarkup | 1 + glib/tests/markups/fail-38.expected | 3 + glib/tests/markups/fail-38.gmarkup | 1 + glib/tests/markups/fail-39.expected | 3 + glib/tests/markups/fail-39.gmarkup | 1 + glib/tests/markups/fail-4.expected | 1 + glib/tests/markups/fail-4.gmarkup | 1 + glib/tests/markups/fail-40.expected | 2 + glib/tests/markups/fail-40.gmarkup | 1 + glib/tests/markups/fail-5.expected | 1 + glib/tests/markups/fail-5.gmarkup | 2 + glib/tests/markups/fail-6.expected | 1 + glib/tests/markups/fail-6.gmarkup | 2 + glib/tests/markups/fail-7.expected | 1 + glib/tests/markups/fail-7.gmarkup | 2 + glib/tests/markups/fail-8.expected | 3 + glib/tests/markups/fail-8.gmarkup | 2 + glib/tests/markups/fail-9.expected | 1 + glib/tests/markups/fail-9.gmarkup | 2 + glib/tests/markups/valid-1.expected | 37 +++++ glib/tests/markups/valid-1.gmarkup | 9 + glib/tests/markups/valid-10.expected | 6 + glib/tests/markups/valid-10.gmarkup | 6 + glib/tests/markups/valid-11.expected | 3 + glib/tests/markups/valid-11.gmarkup | 2 + glib/tests/markups/valid-2.expected | 51 ++++++ glib/tests/markups/valid-2.gmarkup | 49 ++++++ glib/tests/markups/valid-3.expected | 61 +++++++ glib/tests/markups/valid-3.gmarkup | 10 ++ glib/tests/markups/valid-4.expected | 29 ++++ glib/tests/markups/valid-4.gmarkup | 8 + glib/tests/markups/valid-5.expected | 4 + glib/tests/markups/valid-5.gmarkup | 2 + glib/tests/markups/valid-6.expected | 6 + glib/tests/markups/valid-6.gmarkup | 4 + glib/tests/markups/valid-7.expected | 4 + glib/tests/markups/valid-7.gmarkup | 2 + glib/tests/markups/valid-8.expected | 5 + glib/tests/markups/valid-8.gmarkup | 1 + glib/tests/markups/valid-9.expected | 3 + glib/tests/markups/valid-9.gmarkup | 2 + tests/Makefile.am | 8 +- tests/markup-test.c | 214 ------------------------- tests/markups/expected-1 | 37 ----- tests/markups/expected-10 | 6 - tests/markups/expected-11 | 3 - tests/markups/expected-2 | 51 ------ tests/markups/expected-3 | 61 ------- tests/markups/expected-4 | 29 ---- tests/markups/expected-5 | 4 - tests/markups/expected-6 | 6 - tests/markups/expected-7 | 4 - tests/markups/expected-8 | 5 - tests/markups/expected-9 | 3 - tests/markups/fail-10.gmarkup | 2 - tests/markups/fail-11.gmarkup | 4 - tests/markups/fail-12.gmarkup | 1 - tests/markups/fail-13.gmarkup | 1 - tests/markups/fail-14.gmarkup | 2 - tests/markups/fail-15.gmarkup | 3 - tests/markups/fail-16.gmarkup | 1 - tests/markups/fail-17.gmarkup | 1 - tests/markups/fail-18.gmarkup | 1 - tests/markups/fail-19.gmarkup | 1 - tests/markups/fail-2.gmarkup | 1 - tests/markups/fail-20.gmarkup | 1 - tests/markups/fail-21.gmarkup | 1 - tests/markups/fail-22.gmarkup | 1 - tests/markups/fail-23.gmarkup | 2 - tests/markups/fail-24.gmarkup | 1 - tests/markups/fail-25.gmarkup | 1 - tests/markups/fail-26.gmarkup | 1 - tests/markups/fail-27.gmarkup | 1 - tests/markups/fail-28.gmarkup | 1 - tests/markups/fail-29.gmarkup | 1 - tests/markups/fail-3.gmarkup | 49 ------ tests/markups/fail-30.gmarkup | 1 - tests/markups/fail-31.gmarkup | 1 - tests/markups/fail-32.gmarkup | 1 - tests/markups/fail-33.gmarkup | 1 - tests/markups/fail-34.gmarkup | 1 - tests/markups/fail-35.gmarkup | 1 - tests/markups/fail-36.gmarkup | 1 - tests/markups/fail-37.gmarkup | 1 - tests/markups/fail-38.gmarkup | 1 - tests/markups/fail-39.gmarkup | 1 - tests/markups/fail-4.gmarkup | 1 - tests/markups/fail-40.gmarkup | 1 - tests/markups/fail-5.gmarkup | 2 - tests/markups/fail-6.gmarkup | 2 - tests/markups/fail-7.gmarkup | 2 - tests/markups/fail-8.gmarkup | 2 - tests/markups/fail-9.gmarkup | 2 - tests/markups/valid-1.gmarkup | 9 - tests/markups/valid-10.gmarkup | 6 - tests/markups/valid-11.gmarkup | 2 - tests/markups/valid-2.gmarkup | 49 ------ tests/markups/valid-3.gmarkup | 10 -- tests/markups/valid-4.gmarkup | 8 - tests/markups/valid-5.gmarkup | 2 - tests/markups/valid-6.gmarkup | 4 - tests/markups/valid-7.gmarkup | 2 - tests/markups/valid-8.gmarkup | 1 - tests/markups/valid-9.gmarkup | 2 - tests/run-markup-tests.sh | 41 ----- 165 files changed, 789 insertions(+), 671 deletions(-) commit aa196c60df8bbe6f8e998780579b12863098107f Author: Matthias Clasen Date: Thu Jul 29 02:20:43 2010 -0400 Improve coverage of buffered output stream tests gio/tests/buffered-output-stream.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit ffa938fc652543c70c8bada3f65f1626e127731b Author: Matthias Clasen Date: Thu Jul 29 02:20:29 2010 -0400 Improve coverage of credentials tests gio/tests/gdbus-peer.c | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) commit 670528c187b0ae59a8fca1b6921722461992a9fb Author: Matthias Clasen Date: Thu Jul 29 02:20:15 2010 -0400 Improve coverage of converter stream tests gio/tests/converter-stream.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 9794a648a9af25a9d409ce6aef97ac95f94c5cfb Author: Matthias Clasen Date: Thu Jul 29 02:19:46 2010 -0400 Improve coverage of memory stream tests gio/tests/memory-input-stream.c | 63 ++++++++++++++++++++++++++++++++++++++ gio/tests/memory-output-stream.c | 29 +++++++++++++++++- 2 files changed, 91 insertions(+), 1 deletions(-) commit 620582e59c9caf355c12b072258ea74ad1aadc1e Author: Matthias Clasen Date: Thu Jul 29 02:19:27 2010 -0400 Remove redundant include gio/tests/unix-streams.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 17d4898d75fc41038a1d13740bfe1279ca902235 Author: Matthias Clasen Date: Thu Jul 29 02:19:01 2010 -0400 Improve coverage of icon tests gio/tests/g-icon.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 7710c50fb22d44bc8554ad811418141490e09f78 Author: Matthias Clasen Date: Thu Jul 29 02:18:45 2010 -0400 Improve coverage of application tests gio/tests/application.c | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) commit 758c3216cddf35721b3c1fc244f93f6169d9a84b Author: Matthias Clasen Date: Thu Jul 29 00:54:23 2010 -0400 Improve coverage of stream tests gio/tests/buffered-input-stream.c | 2 ++ gio/tests/converter-stream.c | 4 ++++ gio/tests/data-input-stream.c | 31 +++++++++++++++++++++++++++++++ gio/tests/data-output-stream.c | 32 ++++++++++++++++++++++++++++---- 4 files changed, 65 insertions(+), 4 deletions(-) commit c6b050716717529a4b31f4eb2bae3fef06277bb3 Author: Matthias Clasen Date: Thu Jul 29 00:53:30 2010 -0400 Reenable unix-streams test gio/tests/Makefile.am | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 04c7abba11abb54fe8f43b027ed42ed4ff46aa82 Author: Matthias Clasen Date: Thu Jul 29 00:52:34 2010 -0400 Work around deadlock in unix-streams test gio/tests/unix-streams.c | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-) commit b463b2ea25d214c9ba3fc2c5a77b3d321eb842d1 Author: Matthias Clasen Date: Wed Jul 28 16:59:11 2010 -0400 Add tests about file associations gio/tests/appinfo.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 62 insertions(+), 0 deletions(-) commit 60932b2f3deeb612a7e6c097973f2fb17f557202 Author: Matthias Clasen Date: Wed Jul 28 16:05:19 2010 -0400 Improve regex test coverage glib/tests/regex.c | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 106 insertions(+), 0 deletions(-) commit 154880b2ad9064ac78c8e1d55a2ae96bf48d159a Author: Matthias Clasen Date: Tue Jul 27 18:21:15 2010 -0400 Remove duplicate utf8 strreverse test Also add some tests for find next/prev char. glib/tests/utf8-misc.c | 18 ++++++++++++++++++ glib/tests/utf8-pointer.c | 41 ++++++++++++++++++++++++++++++++--------- 2 files changed, 50 insertions(+), 9 deletions(-) commit 0e48b7ea7c436dde8e1e3d432a4c0dd6da7055fa Author: Matthias Clasen Date: Tue Jul 27 16:52:36 2010 -0400 Improve strfuncs test coverage a bit glib/tests/strfuncs.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit c617e94cf111b435cc2765b9ffcb219fec7b4016 Author: Matthias Clasen Date: Tue Jul 27 16:25:13 2010 -0400 Improve option context test coverage a bit glib/tests/option-context.c | 116 +++++++++++++++++++++++++++--------------- 1 files changed, 74 insertions(+), 42 deletions(-) commit c4dd9fa41b9ec8387e765d9463e181d0be33c5ae Author: Matthias Clasen Date: Tue Jul 27 16:24:56 2010 -0400 Move markup collect tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/markup-collect.c | 113 +++++++++++++++---------------------------- 2 files changed, 43 insertions(+), 73 deletions(-) commit 13ac9f94fdc1fcbf2be15e65af57c362a1c71f5d Author: Matthias Clasen Date: Tue Jul 27 16:24:08 2010 -0400 Add some more GFile tests gio/tests/file.c | 38 ++++++++ glib/tests/markup-collect.c | 221 +++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 1 - tests/markup-collect.c | 221 ------------------------------------------- 4 files changed, 259 insertions(+), 222 deletions(-) commit 8263d691cb0cf5d2c80d1c949a3c693d333510c0 Author: Matthias Clasen Date: Tue Jul 27 14:01:48 2010 -0400 Improve compressor test coverage a bit gio/tests/converter-stream.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit b77a19f238e34cd2ba7ecf204beacc7252477605 Author: Matthias Clasen Date: Tue Jul 27 01:00:55 2010 -0400 Test g_settings_list_schemas gio/tests/gsettings.c | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) commit b4ed2af52fbe195aab3771066dac71172f8716ed Author: Matthias Clasen Date: Tue Jul 27 00:17:20 2010 -0400 Improve GNode test coverage a bit glib/tests/node.c | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 117 insertions(+), 0 deletions(-) commit 568eeeafe1636bba440dc18cd34c4fce551ddd15 Author: Matthias Clasen Date: Mon Jul 26 23:24:31 2010 -0400 Add some logging tests glib/tests/Makefile.am | 3 + glib/tests/logging.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 150 insertions(+), 0 deletions(-) commit 2b113e4a9ad375691d72347d31999fd5654f5361 Author: Matthias Clasen Date: Mon Jul 26 23:06:33 2010 -0400 Silence log handler tests glib/tests/testing.c | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-) commit b91cde61408bfe58c849b44ca3100ba4c5f8a3fc Author: Matthias Clasen Date: Mon Jul 26 22:13:25 2010 -0400 Improve tree test coverage glib/tests/tree.c | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) commit c972d4df64299b335012b7af2b902589d191f8e0 Author: Matthias Clasen Date: Mon Jul 26 22:12:59 2010 -0400 Move markup escape tests to test framework glib/tests/Makefile.am | 4 + glib/tests/markup-escape.c | 159 ++++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 3 - tests/markup-escape-test.c | 132 ------------------------------------ 4 files changed, 163 insertions(+), 135 deletions(-) commit a804e22ed047514d7f267a8e991eca82bc5eaf57 Author: Matthias Clasen Date: Mon Jul 26 21:19:04 2010 -0400 More pattern tests glib/tests/pattern.c | 400 +++++++++++++++++++++----------------------------- 1 files changed, 168 insertions(+), 232 deletions(-) commit d3f00313617c3e646d5a236f1f06a84a07279c2a Author: Matthias Clasen Date: Mon Jul 26 21:18:22 2010 -0400 Add tests for g_utf8_strreverse glib/tests/utf8-misc.c | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) commit caa9453b72ca3a7b7bafb8cafac84934f7036682 Author: Matthias Clasen Date: Mon Jul 26 21:17:56 2010 -0400 Fix a warning gio/tests/network-address.c | 3 ++- glib/pcre/Makefile.am | 5 ----- glib/pcre/pcre_internal.h | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) commit d0750c9d6e2b0479a47f93c545607ac43da0b1dd Author: Matthias Clasen Date: Mon Jul 26 21:16:03 2010 -0400 Don't leak in converter test gio/tests/converter-stream.c | 4 + glib/tests/Makefile.am | 2 + glib/tests/pattern.c | 308 ++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 2 - tests/patterntest.c | 308 ------------------------------------------ 5 files changed, 314 insertions(+), 310 deletions(-) commit 63bdeb0dab81a4aed4a2e215cae4669de7f583c3 Author: Matthias Clasen Date: Mon Jul 26 20:22:33 2010 -0400 Fix an icon test gio/tests/g-icon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a8f83ea8340459e22a2f2d18f4aa410ccf1cde34 Author: Matthias Clasen Date: Mon Jul 26 19:07:16 2010 -0400 Add tests for GNetworkAddress gio/tests/Makefile.am | 8 ++-- gio/tests/network-address.c | 91 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+), 4 deletions(-) commit e103b93694be98b5b7bfcfbb22ef0be014079f1a Author: Matthias Clasen Date: Mon Jul 26 18:40:17 2010 -0400 Drop an unneeded if gio/gnetworkaddress.c | 3 +- gio/tests/g-icon.c | 112 ++++++++++++++++++++++++++++++++++++++++++++- gio/tests/icons.c | 122 ------------------------------------------------- 3 files changed, 112 insertions(+), 125 deletions(-) commit 9d93dc5554b7b7da4a724d6b9d464cb8be1e0475 Author: Matthias Clasen Date: Mon Jul 26 18:15:24 2010 -0400 Remove some unused pcre code glib/pcre/pcre_info.c | 93 ---------------------------- glib/pcre/pcre_maketables.c | 143 ------------------------------------------- glib/pcre/pcre_refcount.c | 82 ------------------------ glib/pcre/pcre_valid_utf8.c | 14 ---- glib/pcre/pcre_version.c | 90 --------------------------- 5 files changed, 0 insertions(+), 422 deletions(-) commit 9fc3c980ccbaa6772f9b97b60c786546b67ae8b4 Author: Matthias Clasen Date: Mon Jul 26 17:59:18 2010 -0400 Add some volume monitor tests Although not much of this is easily testable. gio/tests/Makefile.am | 4 + gio/tests/volumemonitor.c | 178 +++++++++++++++++++++++++++ glib/tests/Makefile.am | 3 + glib/tests/shell.c | 229 ++++++++++++++++++++++++++++++++++ tests/Makefile.am | 2 - tests/shell-test.c | 297 --------------------------------------------- 6 files changed, 414 insertions(+), 299 deletions(-) commit e5a72ae3c415ae6e8437a0714f48311b534684c9 Author: Matthias Clasen Date: Sun Jul 25 19:12:51 2010 -0400 Move queue tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/queue.c | 1043 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 2 - tests/queue-test.c | 962 -------------------------------------------- 4 files changed, 1046 insertions(+), 964 deletions(-) commit dbf230991bab03e64b5bc1a2bb5ab618de2f9212 Author: David Zeuthen Date: Fri Jul 30 16:33:29 2010 -0400 Bug 625628 – GDBusProxy: wrong property name sorting https://bugzilla.gnome.org/show_bug.cgi?id=625628 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit aefc6df6bbf318c01eff32e631cc796aabcbf31f Author: David Zeuthen Date: Fri Jul 30 16:30:34 2010 -0400 Fix gschema-compile test This was broken by commit 1b5b87bfa0f5435dd6e973a4e36076db083dc5c7 Signed-off-by: David Zeuthen gio/tests/gschema-compile.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d2d97a214d1d9e96f09955212e669c3c9447ff73 Author: David Zeuthen Date: Fri Jul 30 16:01:03 2010 -0400 Bug 625584 – Crashes application on unref with signal subscription Don't do too much work in the finalizer - in particular, there's no need to send RemoveMatch() messages to the bus daemon since we're going to sever the connection and the bus will garbage collect anyway. In this case it crashed the process. Also add a test case that checks that the appropriate GDestroyNotify callbacks are called when unreffing a connection with either 1) exported objects; 2) signal subscriptions or 3) filter functions .. yes, ideally apps would unregister such callbacks before giving up their ref but that's not how things work :-) Signed-off-by: David Zeuthen gio/gdbusconnection.c | 19 ++++-- gio/tests/gdbus-connection.c | 132 ++++++++++++++++++++++++++++++++++++++--- 2 files changed, 134 insertions(+), 17 deletions(-) commit 1b5b87bfa0f5435dd6e973a4e36076db083dc5c7 Author: Ryan Lortie Date: Fri Jul 30 21:10:53 2010 +0200 GSettings: Mark some strings for cat translation *miaou* gio/gschema-compile.c | 105 ++++++++++++++++++++++++------------------------- 1 files changed, 52 insertions(+), 53 deletions(-) commit 14f17c13889215adbc9c56e4ea4f46662fa68ee5 Author: David Zeuthen Date: Fri Jul 30 11:40:00 2010 -0400 GDBusConnection: Fix up debug output when completing calls Signed-off-by: David Zeuthen gio/gdbusconnection.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 173977a7015c45e5dc3c43534cd3deb81159ad1f Author: David Zeuthen Date: Fri Jul 30 11:26:43 2010 -0400 GCredentials: use effective uid/gid Otherwise e.g. setuid root processes can't connect to the system bus. This was discovered when porting PolicyKit's pkexec(1) command to a PolicyKit library using GDBus. Signed-off-by: David Zeuthen docs/reference/glib/tmpl/glib-unused.sgml | 40 ++++++++++++++++++++++++++++ docs/reference/glib/tmpl/messages.sgml | 27 ++++--------------- docs/reference/glib/tmpl/version.sgml | 41 ----------------------------- gio/gcredentials.c | 4 +- 4 files changed, 48 insertions(+), 64 deletions(-) commit f9845bcbece022e9ec55c18b0a855b718155a1d1 Author: Ryan Lortie Date: Thu Jul 29 22:04:43 2010 +0200 *bump* configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)