commit 503b0744744517ecf1c29eaa83e8e69537ae3547 Author: Matthias Clasen Date: Mon Aug 16 15:44:40 2010 -0400 Fix a typo NEWS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e21e44fc2e96d86c9cdeb6b904b29fed70acec18 Author: David Zeuthen Date: Mon Aug 16 15:42:23 2010 -0400 Add NEWS item for bug 627071 Signed-off-by: David Zeuthen NEWS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit b8e7ef6e90512999be0340a6ef3f20e1783647c4 Author: David Zeuthen Date: Mon Aug 16 15:37:01 2010 -0400 Bug 627071 – g_output_stream_write() clarification This patch guarantees that g_output_stream_write() can never fail with G_IO_ERROR_WOULD_BLOCK. Without such a guarantee, we would need some kind of GIOPollable interface or some way to get an event when the stream is writable again. Which is mostly useless considering that this method is asynchronous anyway. Note: this patch just codifies existing behavior - GUnixOutputStream, GSocketOutputStream and other implementations already work this way. See also bug 626748 comment 5 for how the GDBus code relies on this guarantee. https://bugzilla.gnome.org/show_bug.cgi?id=627071 Signed-off-by: David Zeuthen gio/goutputstream.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 285170637de0df2011b9b667cab5c68640832580 Author: Matthias Clasen Date: Mon Aug 16 15:32:13 2010 -0400 More NEWS NEWS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 789c0cc877a41a65417b0ee1d6eed5803c48c238 Author: Matthias Clasen Date: Mon Aug 16 15:28:36 2010 -0400 Fix a doc format issue glib/gregex.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d848a5eade18ba4567899601d5e34e381a636817 Author: Matthias Clasen Date: Mon Aug 16 15:16:16 2010 -0400 Update NEWS for 2.25.14 NEWS | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit 8a3a4596e2e3a718d77bf214c6e2d16c21856da2 Author: David Zeuthen Date: Mon Aug 16 13:43:35 2010 -0400 Bug 626748 – Use async methods for writing and handle EAGAIN If sending a lot of data and/or the other peer is not reading it, then socket buffers can overflow. This is communicated from the kernel by returning EAGAIN. In GIO, it is modelled by g_output_stream_write() and g_socket_send_message() returning G_IO_ERROR_WOULD_BLOCK. It is also problematic that that we're using synchronous IO in the shared GDBus IO thread. It means that one GDBusConnection can lock up others. It turns out that by porting from g_output_stream_write() to g_output_stream_write_async() we fix the EAGAIN issue. For GSocket, we still need to handle things manually (by creating a GSource) as g_socket_send_message() is used. We check the new behavior in Michael's producer/consumer test case (at /gdbus/overflow in gdbus-peer.c) added in the last commit. Also add a test case that sends and receives a 20 MiB message. Also add a new `transport' G_DBUS_DEBUG option so it is easy to inspect partial writes: $ G_DBUS_DEBUG=transport ./gdbus-connection -p /gdbus/connection/large_message [...] ======================================================================== GDBus-debug:Transport: >>>> WROTE 128000 bytes of message with serial 4 and size 20971669 from offset 0 on a GSocketOutputStream ======================================================================== GDBus-debug:Transport: >>>> WROTE 128000 bytes of message with serial 4 and size 20971669 from offset 128000 on a GSocketOutputStream ======================================================================== GDBus-debug:Transport: >>>> WROTE 128000 bytes of message with serial 4 and size 20971669 from offset 256000 on a GSocketOutputStream [...] ======================================================================== GDBus-debug:Transport: >>>> WROTE 43669 bytes of message with serial 4 and size 20971669 from offset 20928000 on a GSocketOutputStream [...] ======================================================================== GDBus-debug:Transport: <<<< READ 16 bytes of message with serial 3 and size 20971620 to offset 0 from a GSocketInputStream ======================================================================== GDBus-debug:Transport: <<<< READ 15984 bytes of message with serial 3 and size 20971620 to offset 16 from a GSocketInputStream ======================================================================== GDBus-debug:Transport: <<<< READ 16000 bytes of message with serial 3 and size 20971620 to offset 16000 from a GSocketInputStream [...] ======================================================================== GDBus-debug:Transport: <<<< READ 144000 bytes of message with serial 3 and size 20971620 to offset 20720000 from a GSocketInputStream ======================================================================== GDBus-debug:Transport: <<<< READ 107620 bytes of message with serial 3 and size 20971620 to offset 20864000 from a GSocketInputStream OK https://bugzilla.gnome.org/show_bug.cgi?id=626748 Signed-off-by: David Zeuthen docs/reference/gio/overview.xml | 4 + gio/gdbusprivate.c | 589 ++++++++++++++++++++++++++++++--------- gio/gdbusprivate.h | 1 + gio/tests/gdbus-connection.c | 80 ++++++ gio/tests/gdbus-peer.c | 76 ++++-- 5 files changed, 596 insertions(+), 154 deletions(-) commit a6264a3a19c29fc7c4fe0719a8c2ff1554924b12 Author: David Zeuthen Date: Mon Aug 16 12:30:25 2010 -0400 GSocket: Properly initialize msg.msg_control This patch fixes this problem Syscall param socketcall.sendmsg(msg.msg_control) points to uninitialised byte(s) at 0x3D5B00EA60: __sendmsg_nocancel (syscall-template.S:82) by 0x53F9790: g_socket_send_message (gsocket.c:2918) by 0x540FDD0: g_unix_connection_send_credentials (gunixconnection.c:351) by 0x542B93F: _g_dbus_auth_run_client (gdbusauth.c:618) by 0x5438001: initable_init (gdbusconnection.c:2191) by 0x53E09CC: g_initable_init (ginitable.c:105) by 0x543F6E9: g_bus_get_sync (gdbusconnection.c:6091) by 0x402C7E: test_connection_life_cycle (gdbus-connection.c:126) by 0x4C7CABB: test_case_run (gtestutils.c:1174) by 0x4C7CD84: g_test_run_suite_internal (gtestutils.c:1223) by 0x4C7CE49: g_test_run_suite_internal (gtestutils.c:1233) by 0x4C7CE49: g_test_run_suite_internal (gtestutils.c:1233) Address 0x7fefff9fc is on thread 1's stack Signed-off-by: David Zeuthen gio/gsocket.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 4bc4590c7bb5d8e7c248347e4b702ab8b506d937 Author: Matthias Clasen Date: Mon Aug 16 10:21:38 2010 -0400 Declare stream base classes as abstract gio/gfilterinputstream.c | 2 +- gio/gfilteroutputstream.c | 2 +- gio/ginputstream.c | 2 +- gio/giostream.c | 2 +- gio/goutputstream.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit 547311bfd8661e25e588e1f434f15c5f2f32c3a7 Author: Dan Winship Date: Thu Jun 24 13:09:14 2010 -0400 Always do async vs sync correctly in GSocketConnection streams Previously if a GSocketConnection had a blocking GSocket, it would sometimes block during asynchonous I/O, and if it had a non-blocking socket, it would sometimes return G_IO_ERROR_WOULD_BLOCK from synchronous I/O. This fixes the connection to not depend on the socket state. https://bugzilla.gnome.org/show_bug.cgi?id=616458 docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gsocket.c | 70 +++++++++++++++++++++++++++++++++-- gio/gsocket.h | 13 ++++++ gio/gsocketinputstream.c | 16 ++++--- gio/gsocketoutputstream.c | 16 ++++--- 6 files changed, 101 insertions(+), 18 deletions(-) commit 17fea2f749a407a15a82977b3488530cd5305266 Author: Dan Winship Date: Sun Aug 15 07:57:37 2010 -0400 Belatedly add g_socket_client_get/set_timeout to docs and symbols docs/reference/gio/gio-sections.txt | 2 ++ gio/gio.symbols | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) commit b76b24f1b3f82c2400cce8948b44ae32aa0e23ee Author: Dan Winship Date: Sat Aug 14 16:15:39 2010 -0400 GSocketClient: plug two leaks g_socket_client_connect_async() was always leaking its GCancellable, and would also leak any GSocket that eventually failed to connect after returning G_IO_ERROR_PENDING. gio/gsocketclient.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 16bafb479995e69417b86b5b26682ec7c2ceb5a0 Author: Dan Winship Date: Sat Aug 14 15:04:24 2010 -0400 GSocketClient: add a timeout property GSocket has a timeout flag now, but when using GSocketClient there was no way to set the timeout until after connecting (or failing). Fix that by adding a timeout property to GSocketClient. gio/gsocketclient.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++- gio/gsocketclient.h | 3 ++ gio/tests/send-data.c | 5 +++ 3 files changed, 76 insertions(+), 1 deletions(-) commit 28a4fff7ec63000238c7e20ff965238027922c47 Author: Will Thompson Date: Fri Aug 13 23:34:44 2010 -0400 Add examples for GAsyncInitiable and GSimpleAsyncResult Bug 602417 gio/gasyncinitable.c | 94 +++++++++++++++++++++++++++++++++++++++++ gio/gsimpleasyncresult.c | 104 +++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 197 insertions(+), 1 deletions(-) commit 7a32e34f7c46a4e1e2fe6f35490b1f8469ed08b7 Author: Will Thompson Date: Fri Aug 13 23:20:06 2010 -0400 Document that _complete() et al. ref the GSimpleAsyncResult gio/gsimpleasyncresult.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit ec31612ea00e2babd5d6b02d65966164594a03f8 Author: Will Thompson Date: Fri Aug 13 23:15:27 2010 -0400 _simple_async_result_is_valid: allow tag to be NULL Because g_simple_async_report_[g]error_in_idle() don't take a source tag parameter, code that uses them can't currently use g_simple_async_result_is_valid() (at least, not for the error case). Bug 602417 gio/gsimpleasyncresult.c | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) commit c29d800d84d446d3762329815824a8be269c969b Author: Simon McVittie Date: Fri Aug 13 22:42:24 2010 -0400 GVariant: be more explicit about adopting and returning floating refs Bug: https://bugzilla.gnome.org/show_bug.cgi?id=622770 docs/reference/glib/gvariant-varargs.xml | 4 ++- glib/gvariant.c | 53 +++++++++++++++++++----------- 2 files changed, 37 insertions(+), 20 deletions(-) commit e02571e93bb4c1986ec1190fb6c7d02eba0c746a Author: Matthias Clasen Date: Fri Aug 13 21:22:45 2010 -0400 Add bug references to some tests gio/tests/async-close-output-stream.c | 8 ++++++++ gio/tests/converter-stream.c | 4 ++++ glib/tests/mem-overflow.c | 29 +++++++++++++++++++++++++++++ gobject/tests/binding.c | 4 ++++ 4 files changed, 45 insertions(+), 0 deletions(-) commit ea8a963936655ee3c13c5552cce96c309f8a384f Author: Matthias Clasen Date: Fri Aug 13 21:21:43 2010 -0400 Document vendor override files Features without documentation, tsk tsk. docs/reference/gio/glib-compile-schemas.xml | 6 +++ gio/gsettings.c | 48 +++++++++++++++++++-------- 2 files changed, 40 insertions(+), 14 deletions(-) commit 63d19f065690b77059c335c0378a93f1a18b09c9 Author: Matthias Clasen Date: Fri Aug 13 21:05:05 2010 -0400 Fix doc format errors glib/gconvert.c | 4 ++-- glib/gregex.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4160c5c74a06404037462dde572ec49663d685ea Author: Matthias Clasen Date: Fri Aug 13 19:40:48 2010 -0400 Add tests for async file replace and load gio/tests/file.c | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 143 insertions(+), 8 deletions(-) commit c003468296642dccdca230e5fbec22ceab0a9959 Author: Matthias Clasen Date: Fri Aug 13 17:22:28 2010 -0400 Correct a comment gio/inotify/inotify-kernel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 93bd5298c7f78fd7cb12734b6f3df5aa93f2c82b Author: Matthias Clasen Date: Fri Aug 13 17:21:22 2010 -0400 Add an async file create/write/read/delete test gio/tests/file.c | 163 +++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 144 insertions(+), 19 deletions(-) commit 7ed4762190afca85424903a0977300585169b510 Author: Matthias Clasen Date: Fri Aug 13 17:19:01 2010 -0400 Fix a typo, and some doc reformatting gio/ginputstream.c | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) commit effdb785fd941daf5fdec7df434242de25e5127e Author: Matthias Clasen Date: Fri Aug 13 16:04:04 2010 -0400 Add some long descriptions for filter streams gio/gfilterinputstream.c | 4 ++++ gio/gfilteroutputstream.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletions(-) commit 13e55b84ebb1aa148260a7d21da6a592d1e1dadb Author: Matthias Clasen Date: Fri Aug 13 15:15:21 2010 -0400 Run volumemonitor test with local vfs This is an attempt to stop the test from hanging on some build bots in build.gnome.org. gio/tests/volumemonitor.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit d344ff9d67a7e723a1c2163e7d9254dd6ef049d2 Author: David Zeuthen Date: Fri Aug 13 13:58:27 2010 -0400 Bug 626841 – Add test-case for non-socket GIOStream Also fix a couple of bugs so it actually works. https://bugzilla.gnome.org/show_bug.cgi?id=626841 Signed-off-by: David Zeuthen gio/gdbusprivate.c | 146 +++++++++--------- gio/tests/Makefile.am | 6 +- gio/tests/gdbus-non-socket.c | 346 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 427 insertions(+), 71 deletions(-) commit 9be94e88999b5f10347b5c1b8542b88a35d3f93a Author: Michael Meeks Date: Fri Aug 13 17:56:19 2010 +0100 Add test for EAGAIN overflow in gdbusconnection based on David's test. gio/tests/gdbus-peer.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 109 insertions(+), 1 deletions(-) commit 5d9d3f03182d732ad732370dffc7d268c9d65e9d Author: Matthias Clasen Date: Fri Aug 13 12:04:21 2010 -0400 Add some async file tests gio/tests/file.c | 237 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 237 insertions(+), 0 deletions(-) commit ee38c03582df8b757c2fe64b3b5a6be9b6083135 Author: Matthias Clasen Date: Fri Aug 13 00:47:02 2010 -0400 Collect NEWS for 2.25.14 NEWS | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) commit ef4b0afc0b3217ce65e12c0606855af52659490b Author: Matthias Clasen Date: Fri Aug 13 00:30:58 2010 -0400 Bump version configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 106bde0a8fa34a72f66f037b0428a3105cb953bc Author: Havoc Pennington Date: Thu Aug 12 23:57:26 2010 -0400 GAsyncQueue: use g_queue_init() not g_queue_new() By using g_queue_init() instead of g_queue_new(), we can avoid a separate memory allocation. Bug 626704 glib/gasyncqueue.c | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) commit f424aa9581ff4fedb9205f360112b6b17518edeb Author: Daniel Nylander Date: Thu Aug 12 13:19:50 2010 +0200 Updated Swedish translation po/sv.po | 2135 ++++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 1226 insertions(+), 909 deletions(-) commit 398f9841eddc10e0e6b1ccee4823e2ea3650bd9a Author: Tor Lillqvist Date: Tue Aug 10 16:01:39 2010 +0300 Fix gio/win32 build after -I flag changes gio/win32/gwin32directorymonitor.c | 1 - gio/win32/gwin32directorymonitor.h | 4 ++-- gio/win32/gwinhttpfile.c | 8 ++++---- gio/win32/gwinhttpfileinputstream.c | 4 ++-- gio/win32/gwinhttpfileoutputstream.c | 4 ++-- gio/win32/gwinhttpvfs.c | 6 +++--- gio/win32/gwinhttpvfs.h | 3 +-- 7 files changed, 14 insertions(+), 16 deletions(-) commit 304c0c4746fb8df993a3e6429414d6cf1ba287b8 Author: Aron Xu Date: Mon Aug 9 14:26:38 2010 +0800 Update Simplified Chinese translation. po/zh_CN.po | 594 ++++++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 405 insertions(+), 189 deletions(-) commit 43c0aa9ebe16cf17009678732decc9e852701f15 Author: Matthias Clasen Date: Sun Aug 8 23:53:52 2010 -0400 Replace the explicit list of character categories by a reference to the GUnicodeType docs. docs/reference/glib/regex-syntax.sgml | 124 +-------------------------------- 1 files changed, 3 insertions(+), 121 deletions(-) commit 4e42893369c8b8092de7feedb447ca538f8dccf2 Author: Matthias Clasen Date: Sun Aug 8 23:43:29 2010 -0400 Refer to GUnicodeScript docs instead of listing scripts explicitly docs/reference/glib/regex-syntax.sgml | 80 ++++---------------------------- 1 files changed, 10 insertions(+), 70 deletions(-) commit 733d209b14f1b88288e08241a64ef77284108505 Author: Matthias Clasen Date: Sun Aug 8 23:21:54 2010 -0400 Move GRegex docs inline docs/reference/glib/tmpl/gregex.sgml | 290 ++++++++++------------------------ glib/gregex.c | 60 +++++++ glib/gregex.h | 225 ++++++++++++++++++++++++++ 3 files changed, 365 insertions(+), 210 deletions(-) commit c3e5b3cca883546a40a5d7aa219c74cb6574bcd6 Author: Matthias Clasen Date: Sun Aug 8 22:19:10 2010 -0400 Whitespace cleanup glib/gregex.c | 1067 ++++++++++++++++++++++++++++----------------------------- 1 files changed, 533 insertions(+), 534 deletions(-) commit de3c6efa222389ef253fbe1b7b868b95a37aedb1 Author: Matthias Clasen Date: Sun Aug 8 22:15:16 2010 -0400 Remove two redundant comments glib/garray.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit b5bda64a730876205ce5aae069f11161d6b94cc4 Author: Matthias Clasen Date: Sun Aug 8 22:14:56 2010 -0400 Fix up a doc typo glib/gbase64.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit f5a58639759af5333990a24ef6c8275c8f5afcde Author: Matthias Clasen Date: Sun Aug 8 22:12:40 2010 -0400 Minor cleanup The definition is now present in pcre.h glib/gregex.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) commit def0dc01f74e9b8b0904c6b8866835f9efb640a8 Author: Matthias Clasen Date: Sun Aug 8 22:11:38 2010 -0400 Move GConvert docs inline docs/reference/glib/tmpl/conversions.sgml | 174 ++--------------------------- glib/gconvert.c | 121 ++++++++++++++++++++ glib/gconvert.h | 28 +++++- 3 files changed, 157 insertions(+), 166 deletions(-) commit f837e15972d7cd93ac8bddbaeed60289c7263c1a Author: A S Alam Date: Tue Aug 10 06:24:02 2010 +0530 update translation for master po/pa.po | 1808 ++++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 1048 insertions(+), 760 deletions(-) commit f9a4b4ecc7a0f838897797dc5b478520c9f05168 Author: Matthias Clasen Date: Sun Aug 8 21:29:26 2010 -0400 Add introspection annotations in gregex.c Also, make the new getters follow the style of other GRegex getters, and take a const GRegex *. glib/gregex.c | 192 +++++++++++++++++++++++++++++---------------------------- glib/gregex.h | 4 +- 2 files changed, 100 insertions(+), 96 deletions(-) commit 14e0ad7c5379e14f31a0e54bc2bf73f3c2d07d0d Author: Matthias Clasen Date: Sun Aug 8 20:49:59 2010 -0400 Don't compile some unused functions in gio/xdgmime/ gio/xdgmime/xdgmime.c | 22 +++++++++++++++++++++- gio/xdgmime/xdgmime.h | 14 ++++++++++++-- gio/xdgmime/xdgmimealias.c | 4 +++- gio/xdgmime/xdgmimealias.h | 3 ++- gio/xdgmime/xdgmimecache.c | 8 +++++++- gio/xdgmime/xdgmimecache.h | 6 ++++++ gio/xdgmime/xdgmimeglob.c | 7 +++++++ gio/xdgmime/xdgmimeglob.h | 2 ++ gio/xdgmime/xdgmimeicon.c | 2 ++ gio/xdgmime/xdgmimeicon.h | 2 ++ gio/xdgmime/xdgmimeparent.c | 2 ++ gio/xdgmime/xdgmimeparent.h | 2 ++ glib/pcre/pcre_compile.c | 4 +++- glib/pcre/pcre_get.c | 2 +- glib/pcre/pcre_ucp_searchfuncs.c | 4 +++- 15 files changed, 75 insertions(+), 9 deletions(-) commit 7acdaf6f1db90c17985b81033050e1814723d6ae Author: Matthias Clasen Date: Sun Aug 8 18:35:12 2010 -0400 Don't compile an unused function glib/pcre/pcre_compile.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 3fd1fc4f9a8511587637efc9b0942e4919fab031 Author: Matthias Clasen Date: Sun Aug 8 18:34:59 2010 -0400 Trivial typo fix glib/gregex.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c9916d64b1cf996a4cdb9f8887972038b492426d Author: Matthias Clasen Date: Sun Aug 8 18:34:38 2010 -0400 Improve regex test coverage glib/tests/regex.c | 559 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 558 insertions(+), 1 deletions(-) commit 584787f580cf6e36c020b7d7ee0a01baea8896aa Author: Matthias Clasen Date: Sun Aug 8 11:32:50 2010 -0400 Improve the async result test coverage gio/tests/simple-async-result.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 7c129c901121b2ca8374d64c716828101ce79cb9 Author: Matthias Clasen Date: Sun Aug 8 11:31:53 2010 -0400 Improve dbus address test coverage gio/tests/gdbus-addresses.c | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) commit ae8b375f0ffe4c26c366728a33b04167d3f1fd1b Author: Fran Diéguez Date: Mon Aug 9 01:11:59 2010 +0200 Updated galician translations po/gl.po | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) commit bbd1d2a72429929d15c0764853addcf3a6a8bead Author: Matthias Clasen Date: Sun Aug 8 01:09:18 2010 -0400 Improve regex test coverage glib/tests/regex.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) commit 6ada7532b5e8d3c613e26144afbf4c38367afd90 Author: Matthias Clasen Date: Sun Aug 8 01:08:34 2010 -0400 Drop some unused code Some functions in pcre_get.c are not used. glib/pcre/pcre_get.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 8804d6a98ffabc83bea2a35d4aaf26617fa062f0 Author: Matthias Clasen Date: Sun Aug 8 01:07:53 2010 -0400 Simplify gcov generation lcov seems to handle .libs just fine on its own. Makefile.decl | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit 01cae84e47ff749e475d7931106c8b00829021e5 Author: Ryan Lortie Date: Sat Aug 7 19:58:12 2010 -0400 Bug 578295 - gtester has a race condition Deal with the race in GMainLoop by installing a do-nothing timeout. glib/gtester.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit 51ad83f7119bcf43d5e9b6b89fd3f33bd9ab1e3d Author: Matthias Clasen Date: Sat Aug 7 18:56:12 2010 -0400 Make g_dbus_error_unregister_error work gio/gdbuserror.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 8e236f7ec1e0f620a516255a6b8ed7ae169bc87e Author: Matthias Clasen Date: Sat Aug 7 18:55:21 2010 -0400 Add some more test about gdbus_error apis gio/tests/gdbus-error.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 71 insertions(+), 0 deletions(-) commit 7de6658f74a43065fa9a27db6cb4d26b6a946a32 Author: Matthias Clasen Date: Sat Aug 7 17:08:54 2010 -0400 Make g_simple_async_result_is_valid work without source The problem was pointed out by Xavier Claessens in bug 626208. gio/gsimpleasyncresult.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 402ad1958ccdb4586da9614ec4276396fd4c0faf Author: Matthias Clasen Date: Sat Aug 7 16:27:38 2010 -0400 Make the closure variants of name owning and watching actually work The GClosure API is a bit funky (and badly documented), and requires you to set a marshaller on the closure, and the marshaller has an implicit 'this' argument, and the caller is reponsible for unsetting the values after invoking the closure. I've added some calls of the _with_closures variants to the gdbus-names test now. gio/gdbusnameowning.c | 92 ++++++++++++++++++++++++++-------------------- gio/gdbusnamewatching.c | 76 ++++++++++++++++++++------------------- gio/gio-marshal.list | 2 + gio/tests/gdbus-names.c | 57 ++++++++++++++++++----------- 4 files changed, 128 insertions(+), 99 deletions(-) commit c15d20e53a9fdccd4fbe17c6a51c57e6b34410fd Author: Kjartan Maraas Date: Sat Aug 7 18:43:01 2010 +0200 Updated Norwegian bokmål translation po/nb.po | 179 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 115 insertions(+), 64 deletions(-)