commit 31a72dd719940ca5b97da9eb36ce5467458ed7f5 Author: Matthias Clasen Date: Mon Aug 30 19:29:09 2010 -0400 Update symbol list gio/gio.symbols | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) commit ee2c6f4554661ed449dda0076bc4d7627ed05e80 Author: Branko Kokanović Date: Tue Aug 31 02:33:26 2010 +0200 Updated Serbian translation po/sr.po | 125 ++++++++++++++++++++++++++------------------------------ po/sr@latin.po | 125 ++++++++++++++++++++++++++------------------------------ 2 files changed, 116 insertions(+), 134 deletions(-) commit 1d2229129cd5a6ac09cd94b5f9751a8f32d81e05 Author: Philip Withnall Date: Mon Aug 30 22:13:18 2010 +0100 Update British English translation po/en_GB.po | 35 ++++++++++++++++++----------------- 1 files changed, 18 insertions(+), 17 deletions(-) commit 6f327315dcd617f93a59ba235f48f9125a0ee593 Author: Matthias Clasen Date: Mon Aug 30 16:08:25 2010 -0400 Add one more bug ref NEWS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit f4f45e980ba222f749e533b445d88996ed66ebe0 Author: David Zeuthen Date: Mon Aug 30 13:58:41 2010 -0400 GDBusProxy: remove superfluous -gdbus-proxy-method-name qdata Looks like we're not using this anymore. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 52348e15874869cb02052253847358361f10ec7f Author: David Zeuthen Date: Mon Aug 30 13:45:46 2010 -0400 Bug 628324 – Invalid reads in gdbus-export test Looks like we forgot to ref the returned GVariant in g_dbus_proxy_call_finish(). It's a good question why code using g_dbus_proxy_call() and g_dbus_proxy_call_finish() worked in the first place - probably the answer is that no-one really used these APIs. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 72ea8b1df744ef8a11e67d1b7df121849c0298fb Author: Matthias Clasen Date: Mon Aug 30 13:28:06 2010 -0400 Tweak the wording NEWS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 846b0b34660279871bbafb476adf5b5c597eb08d Author: Ryan Lortie Date: Mon Aug 30 18:58:49 2010 +0200 GAction is now an interface the new class GSimpleAction is the implementation half docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 40 ++- docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gaction.c | 416 +++++------------------------ gio/gaction.h | 69 ++---- gio/gactiongroup.c | 2 +- gio/gio.h | 1 + gio/giotypes.h | 1 + gio/gsimpleaction.c | 498 +++++++++++++++++++++++++++++++++++ gio/gsimpleaction.h | 95 +++++++ gio/tests/actions.c | 83 +++--- 12 files changed, 754 insertions(+), 455 deletions(-) commit 6cd62920bbb8ed42c7381bb56deca820515500f9 Author: Ryan Lortie Date: Mon Aug 30 17:31:06 2010 +0200 GActionGroup is now an interface - make GAction.get_state() return a reference - fix some leaks/warnings in the tests - fix signal propagation in GSimpleActionGroup gio/gaction.c | 9 +++-- gio/gactiongroup.c | 46 +++++++++++++---------- gio/gactiongroup.h | 43 ++++------------------ gio/gsimpleactiongroup.c | 89 +++++++++++++++++---------------------------- gio/gsimpleactiongroup.h | 8 +--- gio/tests/actions.c | 21 +++++++---- 6 files changed, 90 insertions(+), 126 deletions(-) commit 75891001bc5ed5a99c9a9af17407b0a797f79df4 Author: Matthias Clasen Date: Mon Aug 30 13:11:52 2010 -0400 Update NEWS for 2.25.15 NEWS | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) commit 949392585402916d86920c652d182e92ad109a6d Author: Christian Persch Date: Mon Aug 30 16:12:42 2010 +0200 Make g_emblemed_icon_add_emblem() keep the list sorted Fixes bug #628317. gio/gemblemedicon.c | 37 +++++++++++++++++-------------------- 1 files changed, 17 insertions(+), 20 deletions(-) commit 7a6f8bd3c34e5f5e20f6770d54406b7abc5a396d Author: Christian Persch Date: Mon Aug 30 15:53:49 2010 +0200 Don't leak the FD list ==6793== 32 (24 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 780 of 1,423 ==6793== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==6793== by 0x4057094: g_malloc (gmem.c:134) ==6793== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==6793== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==6793== by 0x413D5BB: g_type_create_instance (gtype.c:1867) ==6793== by 0x412372A: g_object_constructor (gobject.c:1482) ==6793== by 0x4122E1D: g_object_newv (gobject.c:1266) ==6793== by 0x4122B93: g_object_new (gobject.c:1178) ==6793== by 0x41DB582: g_unix_fd_list_new_from_array (gunixfdlist.c:191) ==6793== by 0x421BFD6: _g_dbus_worker_do_read_cb (gdbusprivate.c:590) Bug #628329. gio/gdbusprivate.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit fa671dc5e28369c50aaef525c6980803a9946471 Author: Christian Persch Date: Mon Aug 30 10:21:43 2010 -0400 Fix invalid reads Don't use a guint16* when getting a guint property via g_object_get()! Bug #628323. gio/gproxyaddressenumerator.c | 5 ++++- gio/tests/network-address.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit 08924ad1472a17cd6c144ae25a350af0b2d9afe7 Author: Christian Persch Date: Mon Aug 30 10:18:30 2010 -0400 Plug a mem leak in GConverterOutputStream ==8221== 1,047 (672 direct, 375 indirect) bytes in 28 blocks are definitely lost in loss record 589 of 603 ==8221== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==8221== by 0x4057094: g_malloc (gmem.c:134) ==8221== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==8221== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==8221== by 0x403A8A6: g_error_new_literal (gerror.c:117) ==8221== by 0x403AC31: g_set_error_literal (gerror.c:314) ==8221== by 0x80499DC: g_compressor_converter_convert (converter-stream.c:267) ==8221== by 0x417BF67: g_converter_convert (gconverter.c:174) ==8221== by 0x417D7F0: g_converter_output_stream_write (gconverteroutputstream.c:428) ==8221== by 0x41B57DF: g_output_stream_write (goutputstream.c:216) ==8221== by 0x804A367: test_compressor (converter-stream.c:456) Bug #628309. gio/gconverteroutputstream.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 802c25832cb34976308a8a2b356ad3273108761f Author: Christian Persch Date: Mon Aug 30 10:16:31 2010 -0400 Plug a mem leak ==6793== 19 (8 direct, 11 indirect) bytes in 1 blocks are definitely lost in loss record 640 of 1,423 ==6793== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==6793== by 0x4057094: g_malloc (gmem.c:134) ==6793== by 0x40573DB: g_malloc_n (gmem.c:281) ==6793== by 0x4073D1B: g_strsplit (gstrfuncs.c:2436) ==6793== by 0x4224A89: initable_init (gdbusserver.c:1040) ==6793== by 0x41A73F9: g_initable_init (ginitable.c:105) ==6793== by 0x41A759B: g_initable_new_valist (ginitable.c:218) ==6793== by 0x41A743E: g_initable_new (ginitable.c:138) ==6793== by 0x42238F5: g_dbus_server_new_sync (gdbusserver.c:484) Bug #628328. gio/gdbusserver.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 6879256f360ed46c2238b273a239f99d08a62915 Author: Christian Persch Date: Mon Aug 30 10:14:39 2010 -0400 Plug a mem leak ==6793== 16 bytes in 1 blocks are definitely lost in loss record 632 of 1,423 ==6793== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==6793== by 0x4057094: g_malloc (gmem.c:134) ==6793== by 0x417FC29: g_data_input_stream_read_line (gdatainputstream.c:797) ==6793== by 0x41F99C1: _my_g_data_input_stream_read_line (gdbusauth.c:279) ==6793== by 0x41FA728: _g_dbus_auth_run_client (gdbusauth.c:759) Bug #628327. gio/gdbusauth.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit bb221b68df5de89fce4cb70b789df6173d9c2c92 Author: Matthias Clasen Date: Mon Aug 30 10:02:32 2010 -0400 Add an annotation gio/gdbusmessage.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a3cc274fc681f5266b621f730d3d8eef811e41cf Author: Dan Winship Date: Mon Aug 30 09:23:09 2010 -0400 GSocketClient: fix a crash on cancellation some code rearrangement when adding proxy support resulted in trying to use a GSocket that wasn't there. https://bugzilla.gnome.org/show_bug.cgi?id=628296 gio/gsocketclient.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit b8ff287167f668d0c10c2b98c13661042633163e Author: Matthias Clasen Date: Mon Aug 30 08:58:31 2010 -0400 Disable the 'extra data' test for now gio/tests/gdbus-introspection.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit b4a61235da4e604eca92d3f38a391a1e76a63d1c Author: Matthias Clasen Date: Mon Aug 30 08:50:09 2010 -0400 Introspection: make 'direction' default to 'in' for methods gio/gdbusintrospection.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit c3135d1d39cbbbb1947843d3937984887764137e Author: Matthias Clasen Date: Mon Aug 30 08:49:41 2010 -0400 Add some more gdbus introspection tests (currently failing) gio/tests/gdbus-introspection.c | 90 ++++++++++++++++++++++++++++++++++++-- 1 files changed, 85 insertions(+), 5 deletions(-) commit 1ce14a88d6b2ff7007163bef929c88daed0183e5 Author: Branko Kokanović Date: Sun Aug 29 19:07:46 2010 +0200 Updated Serbian translation po/sr.po | 801 +++++++++++++++++++++++++++++++++++++++----------------- po/sr@latin.po | 801 +++++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 1118 insertions(+), 484 deletions(-) commit 0e93b0f5c0dfb0bd3a828c5c8a7295c4085598f5 Author: Yaron Shahrabani Date: Sun Aug 29 15:57:41 2010 +0300 Updated Hebrew translation. po/he.po | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) commit b09a01c6264c08abc2e5eda54fe30d56f06802dd Author: Jorge González Date: Sun Aug 29 11:33:56 2010 +0200 Updated Spanish translation po/es.po | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) commit 2286d1d669ac3bcef1faa709290831df9197ba02 Author: A S Alam Date: Sun Aug 29 09:32:03 2010 +0530 update translation for Punjabi po/pa.po | 360 ++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 291 insertions(+), 69 deletions(-) commit 849dbc12056b72f4284bcb6e4b466ec3fcea13f4 Author: Fran Diéguez Date: Sun Aug 29 04:19:12 2010 +0200 Added Galician help translations po/gl.po | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit 1399913f31b60ffebb84e08d8901e82aab2bb075 Author: Philip Withnall Date: Sat Aug 28 12:18:37 2010 +0100 Change "type-string" to "type string" in translatable strings Helps: bgo#628193 gio/gdbusmessage.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit ea9f5f025188731f4347f5be1248e84dc3710c7b Author: Philip Withnall Date: Sat Aug 28 12:17:45 2010 +0100 Change "lock-file" to "lock file" in translatable strings Helps: bgo#628193 gio/gdbusauthmechanismsha1.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 61e53e0d196d12d7ea612794ce2ff3550927f9d0 Author: Philip Withnall Date: Sat Aug 28 11:54:01 2010 +0100 Update British English translation po/en_GB.po | 2289 ++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 1493 insertions(+), 796 deletions(-) commit 62788fdf66f321edb15671cb895aa9072df38149 Author: Jorge González Date: Sat Aug 28 10:08:04 2010 +0200 Updated Spanish translation po/es.po | 287 +++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 249 insertions(+), 38 deletions(-) commit 5a76228e458ccd9846f7dbe2ad35f9e874a07be4 Author: Yaron Shahrabani Date: Sat Aug 28 10:46:19 2010 +0300 Updated Hebrew translation. po/he.po | 230 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 223 insertions(+), 7 deletions(-) commit e0aa877e64b5d2de27c9d6c00119a33b735f5b58 Author: Fran Diéguez Date: Fri Aug 27 23:15:49 2010 +0200 Update Galician translations po/gl.po | 279 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 248 insertions(+), 31 deletions(-) commit 52a41b81bd6770434a62aa4a4b7bef100e27da44 Author: Claude Paroz Date: Fri Aug 27 20:04:38 2010 +0200 Added missing files in POTFILES.in po/POTFILES.in | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 1e7243ad7b48d833ef6eec8fa305f25487f640b0 Author: David Zeuthen Date: Fri Aug 27 10:50:03 2010 -0400 Bug 628084 – gdbus-peer fails with assertion Make it work on systems where /etc/hosts is bigger than 1024 bytes. https://bugzilla.gnome.org/show_bug.cgi?id=628084 Signed-off-by: David Zeuthen gio/tests/gdbus-peer.c | 67 +++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 60 insertions(+), 7 deletions(-) commit 95107e0ab69fdcc9e7f27832dd492582c4e3fb3e Author: Yaron Shahrabani Date: Fri Aug 27 14:53:57 2010 +0300 Updated Hebrew translation. po/he.po | 72 ++++++++++++++++++++++++++++++------------------------------- 1 files changed, 35 insertions(+), 37 deletions(-) commit db7ddcc19529a101b820347e8cca419fb37f6a02 Author: Jens Georg Date: Wed Aug 25 00:18:23 2010 +0300 Improve parsing of date-only iso8601 strings glib/gtimer.c | 15 +++++++++++++-- tests/testglib.c | 4 ++++ 2 files changed, 17 insertions(+), 2 deletions(-) commit 9a61fb2c640708070a32c18bd06ae94ee71c925f Author: Emmanuele Bassi Date: Thu Aug 26 12:58:19 2010 +0100 datetime: Re-use add_dmy() Avoid code duplication. glib/gdatetime.c | 55 +++++------------------------------------------ glib/tests/gdatetime.c | 5 +++- 2 files changed, 10 insertions(+), 50 deletions(-) commit 3c86a77ae5efa57a6f62c2eeec9c67aa66246496 Author: Tor Lillqvist Date: Thu Aug 26 12:41:46 2010 +0300 Fix Win32 build configure.ac | 1 + glib/gdatetime.c | 2 +- glib/tests/gdatetime.c | 26 +++++++++++++++++++++++--- 3 files changed, 25 insertions(+), 4 deletions(-) commit ca26f9a5029cfd97f92c81f3993628068d60c4a9 Author: Matthias Clasen Date: Thu Aug 26 00:16:30 2010 -0400 Make this thing work glib/gtester-report | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b52cdaf2f01411df86b418f45a7dc04f1499fabe Author: Matthias Clasen Date: Thu Aug 26 00:00:56 2010 -0400 Improve g_file_set_contents docs Mention that the temporary filename is longer than the passed-in filename, so people can avoid passing a name that is already NAME_MAX long. glib/gfileutils.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 925b4231dc7af90fa9ec2c442e640ebe20aedb5c Author: Matthias Clasen Date: Wed Aug 25 22:07:59 2010 -0400 Point out that g_type_init() is required docs/reference/gio/overview.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 1681f7410a90f8408fd9dbd5b7e58a6e38c06fe7 Author: A S Alam Date: Wed Aug 25 22:00:53 2010 +0530 update translation for Punjabi po/pa.po | 658 ++++++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 402 insertions(+), 256 deletions(-) commit 8803182f4a1d0d3aa51407bad633dfa1c3f71890 Author: Matthias Clasen Date: Wed Aug 25 20:04:45 2010 -0400 Guarantee that g_get_tmp_dir () doesn't return an empty string If it does, g_file_open_tmp() would be in trouble. Pointed out by Morten Welinder in bug 627969. glib/gutils.c | 12 ++++++------ glib/tests/utils.c | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 6 deletions(-) commit 8e16bf2fb61bf38c9b634c18d9d7ca48e3623169 Author: Matthias Clasen Date: Wed Aug 25 18:44:59 2010 -0400 NEWS for 2.25.15 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 52 insertions(+), 0 deletions(-) commit 08877ee0dc61b73978d6e7f46216c9405498dbf8 Author: Emmanuele Bassi Date: Wed Aug 25 23:08:18 2010 +0100 datetime: Fix a thinko We need to check if a year is a leap one *after* we increased it with the given value, not before. glib/gdatetime.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 026375b395fcdc2336666546afd2f21e7ee8bc67 Author: Emmanuele Bassi Date: Wed Aug 25 23:00:31 2010 +0100 datetime: Avoid excessive copies in add_full() The current implementation of g_date_time_add_full() creates multiple GDateTime temporary objects and unrefs them immediately; even with the slice allocator this could result in a performance bottleneck, especially if the atomic integer operations fall back to slow paths. We can isolate the components of the add_full() operation and create internal modifiers that operate on an existing GDateTime; this brings down the number of GDateTime copies created from six to one. While at it, the test suite for add_full() should have more checks for roll-over of months and days. Signed-off-by: Emmanuele Bassi glib/gdatetime.c | 133 +++++++++++++++++++++++++++++++++-------------- glib/tests/gdatetime.c | 24 +++++--- 2 files changed, 108 insertions(+), 49 deletions(-) commit 0d0a9bb4485069a56caf139346e6a6aad81c4efd Author: David Zeuthen Date: Wed Aug 25 14:45:28 2010 -0400 GDBusConnection: Document memory management semantics for get_property() Turns out we are leaking non-floating GVariant instances returned by get_property() functions. Also avoid imprecise language such as "newly-allocated GVariant" as this doesn't specify whether the variant can be floating or not. Also see https://bugzilla.gnome.org/show_bug.cgi?id=627974 as it is very related to this change. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 6 +++++- gio/gdbusconnection.h | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) commit d31c1c863a357e94b87529dfdfb6abad3fcef84b Author: Emmanuele Bassi Date: Wed Aug 25 16:24:46 2010 +0100 docs: Fix up GDateTime for the GObject reference docs/reference/gobject/gobject-sections.txt | 1 + gobject/gboxed.h | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) commit 99621efbd559afe9c3833befab90daf6d00fc8a9 Author: Emmanuele Bassi Date: Wed Aug 25 16:23:34 2010 +0100 docs: Reword the datetime short description glib/gdatetime.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 250b1d576b71f2bafd6cf7abbe679dc2a21fbd65 Author: Emmanuele Bassi Date: Wed Aug 25 16:13:24 2010 +0100 docs: Fix the section name for GDateTime docs/reference/glib/glib-sections.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5e65ed4e4458d0a359259298c33b222e16441e5e Author: Emmanuele Bassi Date: Wed Aug 25 12:30:09 2010 +0100 datetime: Fix leap year check Remove a FIXME and an approximation when computing the seconds from the Unix epoch. glib/gdatetime.c | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 deletions(-) commit 2952e908e4a67929a72c5ad9a26db95f1dde2d29 Author: Emmanuele Bassi Date: Wed Aug 25 12:24:54 2010 +0100 datetime: Fix coding style glib/gdatetime.c | 310 ++++++++++++++++++++++++++---------------------------- 1 files changed, 148 insertions(+), 162 deletions(-) commit 0a59ab6e8594f0f2f9203390052364bef9212697 Author: Emmanuele Bassi Date: Wed Aug 25 12:14:04 2010 +0100 datetime: Use %Z for the timezone name We should try and follow strftime(3) for the format control characters as much as possible. glib/gdatetime.c | 4 ++-- glib/tests/gdatetime.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit b4c0b958af875bcba830ee734cd50df30a88236a Author: Emmanuele Bassi Date: Wed Aug 25 12:09:16 2010 +0100 datetime: Fix the format documentation The %x format is for the preferred date, and the %X format is for the preferred time. glib/gdatetime.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 9a39b1d7051bd5a8f725aacf621649619067857b Author: Emmanuele Bassi Date: Wed Aug 25 12:06:47 2010 +0100 datetime: Clean up macros and unused variables The most complex macros should be converted to inlined functions, instead, to guarantee some type safety. glib/gdatetime.c | 147 +++++++++++++++++++++++++++--------------------------- 1 files changed, 73 insertions(+), 74 deletions(-) commit 0f87f09397ef9a796258ec3200e0e987a761e505 Author: Emmanuele Bassi Date: Wed Aug 25 00:27:49 2010 +0100 datetime: Remove the translation marker for a warning message glib/gdatetime.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 96dc06e6e06ec0347ecb4e44b15acf8ce7e31af0 Author: Emmanuele Bassi Date: Tue Aug 24 23:30:30 2010 +0100 docs: Add GDateTime to the GLib API reference docs/reference/glib/glib-docs.sgml | 1 + docs/reference/glib/glib-sections.txt | 62 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 0 deletions(-) commit d62eb80c5489bbd4590c10f218b9eb71393bdfaf Author: Emmanuele Bassi Date: Tue Aug 24 21:37:43 2010 +0100 docs: Mention TZDIR The timezone code in GDateTime honours the TZDIR environment variable, so it should be mentioned in the list of variables GLib checks at runtime. docs/reference/glib/running.sgml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit e35ed21f43f94443e5b137d85120b87542261c5b Author: Thiago Santos Date: Fri May 28 08:19:29 2010 -0300 datetime: Add GDateTime to the GType system As with other GLib data types, use a GBoxed. gobject/gboxed.c | 2 ++ gobject/gboxed.h | 10 +++++++++- gobject/gobject.symbols | 1 + 3 files changed, 12 insertions(+), 1 deletions(-) commit e1f13ee9ed38d4f14bf927b6fa3f28530afc3640 Author: Thiago Santos Date: Fri May 28 08:19:29 2010 -0300 Add GDateTime to GLib GDateTime is an opaque data type containing a date and time representation. It's immutable once created and reference counted. https://bugzilla.gnome.org/show_bug.cgi?id=50076 Based on the code by: Christian Hergert Signed-off-by: Emmanuele Bassi glib/Makefile.am | 16 +- glib/gdatetime.c | 2227 ++++++++++++++++++++++++++++++++++++++++++++++++ glib/gdatetime.h | 190 ++++ glib/glib.h | 1 + glib/glib.symbols | 51 ++ glib/tests/.gitignore | 1 + glib/tests/Makefile.am | 5 +- glib/tests/gdatetime.c | 962 +++++++++++++++++++++ 8 files changed, 3445 insertions(+), 8 deletions(-) commit 3cee971db55da9b3bdd1c05e5be68152cd6fd165 Author: Emmanuele Bassi Date: Tue Aug 24 22:47:02 2010 +0100 Add C_() to glibintl.h glib/glibintl.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 0a9bfa1c7d1d30a926c20cb45f935d05e2d2752a Author: Cody Russell Date: Mon Aug 23 12:34:53 2010 -0500 Add const to _pcre_ucp_othercase() definition in pcre_internal.h glib/pcre/pcre_internal.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5ff83633744db6f07fa990deab20b17c583b40e9 Author: Jorge González Date: Mon Aug 23 17:40:02 2010 +0200 Updated Spanish translation po/es.po | 67 +++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 38 insertions(+), 29 deletions(-) commit 6c24062880b19a239b57435694a9daed1c90edca Author: Tor Lillqvist Date: Mon Aug 23 14:31:20 2010 +0300 Include gproxyaddress.h explicitly gio/gsocketaddress.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 780d6bfa88900fa5a01375467b0cbb686f7b1d1f Author: Matthias Clasen Date: Mon Aug 23 00:37:52 2010 -0400 Improve testutils test coverage glib/tests/testing.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) commit fa6926e5d4ff7fc7efde46222ff70f2a75298ac4 Author: Matthias Clasen Date: Mon Aug 23 00:37:37 2010 -0400 Improve printf test coverage glib/tests/printf.c | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) commit 7d970fadbc4bad8635f2e5e109517bc015e0e14a Author: Matthias Clasen Date: Mon Aug 23 00:37:21 2010 -0400 Improve GDate test coverate glib/tests/date.c | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) commit 8f40c0e45a158440edb7f4e4fcc95471c028a2e3 Author: Matthias Clasen Date: Mon Aug 23 00:36:36 2010 -0400 Improve GDBus introspection test coverage gio/tests/gdbus-introspection.c | 81 +++++++++++++++++++++++++++++++++++++++ gio/tests/gdbus-peer.c | 4 ++ 2 files changed, 85 insertions(+), 0 deletions(-) commit 847e4dfe7d2ff84c23fba332381e5121ab54aa39 Author: David Zeuthen Date: Sun Aug 22 22:56:49 2010 -0400 GDBusMethodInvocation: nuke constructor ... that is, make it private. This makes sense because users are never expected to create such objects themselves - only the GDBus core will need this. Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 - gio/gdbusconnection.c | 18 +++++++++--------- gio/gdbusmethodinvocation.c | 22 +++++++++++----------- gio/gdbusmethodinvocation.h | 9 --------- gio/gdbusprivate.h | 12 ++++++++++++ gio/gio.symbols | 1 - 6 files changed, 32 insertions(+), 31 deletions(-) commit 5668d52babfd40ac502463006f964665f3561008 Author: Fran Diéguez Date: Mon Aug 23 02:24:25 2010 +0200 Updated galician translations po/gl.po | 47 +++++++++++++++++++++++------------------------ 1 files changed, 23 insertions(+), 24 deletions(-) commit ff59b66ebaaf580cb355f187e83ce36b198ee880 Author: Jorge González Date: Sun Aug 22 21:17:53 2010 +0200 Updated Spanish translation po/es.po | 160 ++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 130 insertions(+), 30 deletions(-) commit 3ff9894826215790fdd6c8b53584f94a7172c39f Author: David Zeuthen Date: Thu Aug 5 20:37:27 2010 -0400 Bug 624546 – Modification of GDBusMessage in filter function Allow modifying a GDBusMessage in a filter function and also add tests for this. This breaks API but leaves ABI (almost) intact - at least dconf's GSettings backend (the only big user I know of) will keep working. https://bugzilla.gnome.org/show_bug.cgi?id=624546 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/gdbusconnection.c | 85 +++++++++++++++----- gio/gdbusconnection.h | 18 +++-- gio/gdbusprivate.c | 59 +++++++++++--- gio/gdbusprivate.h | 6 +- gio/gio.symbols | 1 + gio/gioenums.h | 25 ++++++ gio/tests/gdbus-connection.c | 147 ++++++++++++++++++++++++++++++++++- gio/tests/gdbus-peer.c | 4 +- 9 files changed, 298 insertions(+), 48 deletions(-) commit 6d359d60290f5651b868d326e1e9514f68dfaa32 Author: Ask H. Larsen Date: Sun Aug 22 13:17:24 2010 +0200 Updated Danish translation po/da.po | 2102 +++++++++++++++++++++++++++++++++++++++----------------------- 1 files changed, 1310 insertions(+), 792 deletions(-) commit ef16ea4616b6d47b533474dd163ae23add7037bc Author: Matthias Clasen Date: Sat Aug 21 22:22:25 2010 -0400 Add proxy extension point to overview docs The 'Extending GIO' section is supposed to list all extension points, so add the proxy extension point here. docs/reference/gio/overview.xml | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) commit 040bffed38529f18d71713fce994b8ea705dbfb6 Author: Matthias Clasen Date: Sat Aug 21 22:14:28 2010 -0400 Fix build on !unix There was one code block still referring to fd_list outside of the ifdef G_OS_UNIX. Pointed out by Sam Thursfield in bug 627392. gio/gdbusprivate.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 41ce91d0579aa05b89e357c9fd59d9530ad7bf76 Author: Matthias Clasen Date: Sat Aug 21 22:09:32 2010 -0400 Better fix for the build problem Use gnetworkingprivate.h instead, patch by Emilio Pozuelo Monfort, bug 627407. gio/tests/gdbus-peer.c | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) commit 3d01283f6908000e0a989ba22769c869461be398 Author: Matthias Clasen Date: Sat Aug 21 22:06:56 2010 -0400 Make gdbus-peer build on !linux Based on a patch by Koop Mast, bug 627088. gio/tests/gdbus-peer.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 61de05e774829f1687244b014732490005cf4b48 Author: Matthias Clasen Date: Sat Aug 21 21:58:51 2010 -0400 Fix a duplicate word Pointed out in bug 627604. gio/gdbusmessage.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a54e2c4fb302ebbeae3e28c70f2342a57edb7521 Author: Matthias Clasen Date: Sat Aug 21 19:27:11 2010 -0400 Add some more annotations gio/gactiongroup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 892f9b64584b7a05c517f19f8a9a22d8533a6413 Author: Matthias Clasen Date: Sat Aug 21 19:18:40 2010 -0400 Improve test coverage for actions and action groups gio/tests/actions.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 116 insertions(+), 0 deletions(-) commit 33b775308bd97c02ecdd6de4f91a619c8fcdc282 Author: Matthias Clasen Date: Sat Aug 21 19:18:17 2010 -0400 Document behaviour wrt. to floating variants gio/gaction.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 9581b33ca5c2cc56d0e6f1fef5d437f856928494 Author: Matthias Clasen Date: Sat Aug 21 19:11:03 2010 -0400 Document behaviour wrt to floating variants gio/gactiongroup.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit e8ffb1ae83cf63837254ee5979798b2ada18c38a Author: Matthias Clasen Date: Sat Aug 21 16:30:50 2010 -0400 Add some annotations gio/gaction.c | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) commit 5b38bc5ad5181bb4900c1da898b2e4fcdcec1757 Author: Ryan Lortie Date: Sat Aug 21 17:35:32 2010 -0400 Simplify/fix state logic in GAction, test it. gio/gaction.c | 55 ++++++++++++++++++++++++++++++++------------------ gio/tests/actions.c | 35 ++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 20 deletions(-) commit 3c5388d9f41b39c939cb67c5fa28cf38ec832cd0 Author: Matthias Clasen Date: Sat Aug 21 15:40:46 2010 -0400 Add some forgotten symbols docs/reference/gio/gio-sections.txt | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit bff2af486827499c2da507f17e61fc88c96b43ba Author: Matthias Clasen Date: Sat Aug 21 15:40:32 2010 -0400 Ignore some more private headers docs/reference/gio/Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit b876e47e3b623b50dcced6c1c8f6f953c1113753 Author: Matthias Clasen Date: Sat Aug 21 15:34:40 2010 -0400 Fix documentation issues Gtk-doc is unhappy if the parameter names don't match between header and source. gio/gnetworkservice.c | 4 +++- gio/gproxy.c | 18 +++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) commit 4831a102e51825b79d39686983326bcf82490ede Author: Matthias Clasen Date: Sat Aug 21 15:34:18 2010 -0400 Fix GActionGroup docs gio/gactiongroup.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit fceea19be5a7744904f793e38e090b627b8c0ed8 Author: Милош Поповић Date: Sat Aug 21 20:05:14 2010 +0200 Updated Serbian translation po/sr.po | 1756 ++++++++++++++++++++++++++++++++++--------------------- po/sr@latin.po | 1767 +++++++++++++++++++++++++++++++++++--------------------- 2 files changed, 2185 insertions(+), 1338 deletions(-) commit de07279709d35aeb28dfb60ea836cd043eb4cfc2 Author: Chao-Hsiung Liao Date: Sat Aug 21 19:43:37 2010 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 951 +++++++++++++++++++++++++++++++++++++++------------------- po/zh_TW.po | 964 ++++++++++++++++++++++++++++++++++++++++------------------- 2 files changed, 1305 insertions(+), 610 deletions(-) commit 276a9ba385a2cde538c7d5176ea5ee761c21e9ed Author: Yaron Shahrabani Date: Sat Aug 21 02:35:07 2010 +0300 Updated Hebrew translation. po/he.po | 157 ++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 127 insertions(+), 30 deletions(-) commit 8524f0dc0d0c2742a90a3fee6dbb7fe290dfb8dd Author: Fran Diéguez Date: Fri Aug 20 13:23:11 2010 +0200 Updated galician translations po/gl.po | 396 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 254 insertions(+), 142 deletions(-) commit 8f5ec0dad328cbb498fe2f60bd465f0e4c5d4cad Author: Dan Winship Date: Thu Aug 19 18:24:53 2010 -0400 Fix misc compiler warnings in (mostly) test programs gio/gdbusmessage.c | 2 +- gio/gio.symbols | 1 - gio/tests/file.c | 17 +++++++++++++++-- gio/tests/g-icon.c | 2 +- glib/tests/date.c | 2 +- glib/tests/node.c | 2 +- glib/tests/shell.c | 4 ++-- tests/gobject/ifaceproperties.c | 2 +- 8 files changed, 22 insertions(+), 10 deletions(-) commit 22b3f0d4b26d0b729c1850f45670a9050dc10772 Author: Dan Winship Date: Thu Aug 19 17:51:24 2010 -0400 gio.symbols: add missing g_simple_action_group stuff gio/gio.symbols | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit ab778737aa6d145a0d19d0775270959a72716260 Author: Dan Winship Date: Thu Aug 19 17:51:01 2010 -0400 gproxyaddressenumerator.h: add missing G_END_DECLS gio/gproxyaddressenumerator.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit de1598a34d920882991d6b5166bce815ca4aa428 Author: Nicolas Dufresne Date: Thu Aug 19 17:31:42 2010 -0400 gio/proxy: Fixed compilation warnings * Wrong return type (NULL instead of FALSE) * Unused static function declaration gio/gproxy.c | 2 +- gio/gsocks4proxy.c | 2 -- 2 files changed, 1 insertions(+), 3 deletions(-) commit 0958e663175fe51361aa1e6a87a3f3c5de08bebf Author: Nicolas Dufresne Date: Thu Aug 19 16:23:50 2010 -0400 Add support for g_socket_client_add_application_proxy() This allow application to take control over certain proxy protocol handling. When a proxy protocol must be used and is found in the application proxies, GSocketClient will simply TCP connect to the proxy server and return the connection. Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gsocketclient.c | 41 +++++++++++++++++++++++++++++++++- gio/gsocketclient.h | 2 + 4 files changed, 43 insertions(+), 2 deletions(-) commit ced1d0e2e7d164873d8b7e335a00cfac13785760 Author: Nicolas Dufresne Date: Tue May 25 16:02:42 2010 -0400 Implemented SOCKSv4 and SOCKSv4a gio/Makefile.am | 4 + gio/giomodule.c | 4 + gio/gsocks4aproxy.c | 495 +++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gsocks4aproxy.h | 55 ++++++ gio/gsocks4proxy.c | 73 ++++++++ gio/gsocks4proxy.h | 44 +++++ po/POTFILES.in | 1 + 7 files changed, 676 insertions(+), 0 deletions(-) commit e2a90bcb5fc50f099cbf8df01a09697f7e48522d Author: Nicolas Dufresne Date: Fri May 7 16:35:04 2010 -0400 Implemented proxy sample code that connect to proxy gio/tests/proxy.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 83 insertions(+), 0 deletions(-) commit 0ebb79a7488121ae4a18cc84ac92e25ddb2b9544 Author: Nicolas Dufresne Date: Thu Apr 29 18:51:42 2010 -0400 Implemented g_socket_client_connect_to_uri() method Using this rather than g_socket_client_connect() or g_socket_client_connect_to_host() allows #GSocketClient to determine when to use application-specific proxy protocols. Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 3 + gio/gio.symbols | 3 + gio/gsocketclient.c | 122 ++++++++++++++++++++++++++++++++++- gio/gsocketclient.h | 14 ++++ 4 files changed, 141 insertions(+), 1 deletions(-) commit a6c3820f46b9caabc45ab19aaf2669b4cb04c5d5 Author: Nicolas Dufresne Date: Tue Aug 10 16:48:45 2010 -0400 Hooked proxy enumeration into GSocketClient This functionnallity can be disabled using property enable-proxy. It enumerates addresses using GSocketConnectable::proxy_enumerate() instead of enumerate(). When the returned address is of type GProxyAddress (a type based on GInetSocketAddress), it gets the proxy protocol handler using g_proxy_get_default_for_protocol() and call connect() on it. Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gsocketclient.c | 307 +++++++++++++++++++++++++++++++---- gio/gsocketclient.h | 3 + 4 files changed, 282 insertions(+), 32 deletions(-) commit ee3dbf747e48a41c916674f111906f57996fd626 Author: Nicolas Dufresne Date: Thu Jul 22 20:51:23 2010 -0400 Implement GProxyConnection a GIOStream+GTcpConn wrapper This class inherit from GTcpConnection by refing the socket of an existing GTcpConnection and wraps a custom GIOStream into itself. This is to allow implementing proxies that alters data stream, like when using GSSAPI privacy inside SOCKS5. gio/Makefile.am | 2 + gio/gproxyconnection.c | 155 ++++++++++++++++++++++++++++++++++++++++++++++++ gio/gproxyconnection.h | 69 +++++++++++++++++++++ 3 files changed, 226 insertions(+), 0 deletions(-) commit 6fa113660057e0e6592b180d1a2aead617e71dec Author: Nicolas Dufresne Date: Thu Apr 29 15:22:55 2010 -0400 Implemented SOCKSv5 proxy support gio/Makefile.am | 2 + gio/giomodule.c | 2 + gio/gsocks5proxy.c | 1053 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gsocks5proxy.h | 48 +++ po/POTFILES.in | 1 + 5 files changed, 1106 insertions(+), 0 deletions(-) commit c32ef1d85e0b7cca02677bbe50fef2ef79a98002 Author: Dan Winship Date: Fri Jun 25 14:28:02 2010 -0400 GSocket: store the remote_address when connecting This way, if g_socket_connect() is called with a GProxyAddress, g_socket_get_remote_address() will later return that same address. Reviewed-by: Nicolas Dufresne gio/gsocket.c | 51 +++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 43 insertions(+), 8 deletions(-) commit b304a23af73374857e6bb18fc636d83fe9ed58ea Author: Nicolas Dufresne Date: Wed Apr 28 15:39:56 2010 -0400 Extend IO_ERROR enum for Proxy support gio/gioenums.h | 17 ++++++++++++++++- gio/gioerror.c | 18 ++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletions(-) commit 1094c84238e05304e4175990c5e0e018cdf97e28 Author: Nicolas Dufresne Date: Fri May 7 16:32:05 2010 -0400 Implemented proxy sample for all Connectables gio/tests/proxy.c | 309 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 290 insertions(+), 19 deletions(-) commit fc03ecce831cd94639df1a355f5dd8c9b8eebfae Author: Nicolas Dufresne Date: Tue Aug 10 15:45:32 2010 -0400 Implemented proxy_enumerate() for all Connectables This patch implements method proxy_enumerate from GSocketConnectable for all connectables (GNetworkAddress, GNetworkService, GInetSocketAddress and GUnixSocketAddress). Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gnetworkaddress.c | 28 ++- gio/gnetworkservice.c | 441 ++++++++++++++++++++--------------- gio/gnetworkservice.h | 2 + gio/gsocketaddress.c | 42 ++++- 6 files changed, 329 insertions(+), 188 deletions(-) commit f82f484b8ffa18aab10e79baa96bcfa438f8dc5b Author: Nicolas Dufresne Date: Tue Aug 10 16:53:25 2010 -0400 Added proxy_enumerate method to GSocketConnectable Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 3 ++- gio/gnetworkaddress.c | 2 +- gio/gnetworkingprivate.h | 5 +++++ gio/gsocketconnectable.c | 31 +++++++++++++++++++++++++++++++ gio/gsocketconnectable.h | 8 +++++++- 6 files changed, 47 insertions(+), 3 deletions(-) commit 6749ffce594b146ef49c8fe014bfa8b0272b6b9f Author: Nicolas Dufresne Date: Fri May 7 16:27:34 2010 -0400 Added GProxyAddressEnumerator to proxy sample code gio/tests/proxy.c | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 133 insertions(+), 0 deletions(-) commit a7e0e8fc0852255d430daa90e7345db67a2a9594 Author: Nicolas Dufresne Date: Tue Aug 10 15:25:11 2010 -0400 Adding GProxyAddressEnumerator class An implementation of GSocketAddressEnumerator that handles proxy enumeration. This class is mainly usefull for Connectables implementation such as NetworkService, NetworkAddress and SocketAddress to handle proxies. Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 11 + docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 6 + gio/giotypes.h | 1 + gio/gproxyaddressenumerator.c | 728 +++++++++++++++++++++++++++++++++++ gio/gproxyaddressenumerator.h | 73 ++++ 8 files changed, 823 insertions(+), 0 deletions(-) commit d76de5e3591431c03a5812acd7682f2ff68fba69 Author: Nicolas Dufresne Date: Tue Aug 10 15:24:37 2010 -0400 Added GProxy interface for proxy extension point Implement an extension point for proxy protocol implementation. This is mainly useful for socket-based proxy where it is possible to use the proxied socket the same way it would for other stream based socket. Reviewed-by: Dan Winship docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 19 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 11 ++ gio/giomodule.c | 4 + gio/giotypes.h | 1 + gio/gproxy.c | 208 +++++++++++++++++++++++++++++++++++ gio/gproxy.h | 123 +++++++++++++++++++++ 10 files changed, 371 insertions(+), 0 deletions(-) commit 63105d1074ce54fdda9c81bb0353abc9b0a24d62 Author: Nicolas Dufresne Date: Tue Aug 10 15:23:37 2010 -0400 Added method g_network_address_parse_uri() This method allow creating a network address from a URI. If no port is found in the URI, the default_port parameter will be used. Note that new property scheme is there for future TLS implementation. Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gnetworkaddress.c | 296 +++++++++++++++++++++++++++++++++++ gio/gnetworkaddress.h | 4 + 4 files changed, 304 insertions(+), 0 deletions(-) commit 466111c9605ace99389d56ace213621db01e18d9 Author: Nicolas Dufresne Date: Mon Apr 26 17:27:33 2010 -0400 Implement GProxyAddress A GSocketInetAddress representing the proxy server address with additional properties proxy type, destination address and port, username and password. Reviewed-by: Dan Winship docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 23 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 12 ++ gio/giotypes.h | 1 + gio/gproxyaddress.c | 345 +++++++++++++++++++++++++++++++++++ gio/gproxyaddress.h | 76 ++++++++ 9 files changed, 462 insertions(+), 0 deletions(-) commit 6b1d851cc5ba8ce4276f2e3236da7554b763cf0c Author: Nicolas Dufresne Date: Fri May 7 16:23:45 2010 -0400 Implemented proxy sample code Reviewed-by: Dan Winship gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 5 ++ gio/tests/proxy.c | 175 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 181 insertions(+), 0 deletions(-) commit f3debedfd2a3197230ac6f09f56741c3eda61e29 Author: Nicolas Dufresne Date: Fri May 7 15:55:54 2010 -0400 Implemented proxy-resolver extension point This extension point allow extending GLib with library like LibProxy that interprets system proxy settings and finds the appropriate configuration based on the type of connection being made. Reviewed-by: Dan Winship docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 20 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 4 + gio/gdummyproxyresolver.c | 156 ++++++++++++++++++++++ gio/gdummyproxyresolver.h | 54 ++++++++ gio/gio.h | 1 + gio/gio.symbols | 11 ++ gio/giomodule.c | 7 + gio/giotypes.h | 9 ++ gio/gproxyresolver.c | 241 +++++++++++++++++++++++++++++++++++ gio/gproxyresolver.h | 96 ++++++++++++++ 12 files changed, 601 insertions(+), 0 deletions(-) commit f82740f7beeac91398fc152a3efef0918540cd7b Author: Jorge González Date: Thu Aug 19 21:17:09 2010 +0200 Updated Spanish translation po/es.po | 295 +++++++++++++++++++++++++++++++------------------------------ 1 files changed, 150 insertions(+), 145 deletions(-) commit b4b5ca4fd89a469c423df9d917af0c523196aab5 Author: Yaron Shahrabani Date: Thu Aug 19 09:31:02 2010 +0300 Updated Hebrew translation. po/he.po | 285 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 146 insertions(+), 139 deletions(-) commit 7d6a6ca57b5a5dc1ad55a785dfd79fa98d7e4093 Author: David Zeuthen Date: Wed Aug 18 13:07:25 2010 -0400 Bug 627188 – gdbus-non-socket test occasionally fails Fix logical bug in test case to avoid race condition between the client and the server. Signed-off-by: David Zeuthen gio/tests/gdbus-non-socket.c | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) commit 6c340c0b0312fc12f01ba1887e559fd36fcf28cb Author: Matthias Clasen Date: Wed Aug 18 12:07:01 2010 -0400 Make gunixcredentialsmessage.h standalone includable gio/gunixcredentialsmessage.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 81b91a8852c0840d907c8192c67b2e65b29d41c6 Author: Emmanuele Bassi Date: Wed Aug 18 16:54:36 2010 +0100 action: Minor fixes • Argument validation. • Since: annotations. • Remove (allow-none) annotations from return values. • Coding style fixes. gio/gaction.c | 89 +++++++++++++++++++++---------- gio/gactiongroup.c | 154 +++++++++++++++++++++++++++++++++++----------------- 2 files changed, 166 insertions(+), 77 deletions(-) commit 504117e284682bff973ad73646fa67103978d016 Author: Emmanuele Bassi Date: Wed Aug 18 16:54:11 2010 +0100 action-group: Check aginst the correct GType macro G_TYPE_ACTION_GROUP is not a G_TYPE_ACTION. gio/gactiongroup.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 5bb94348f4760352f6ae974002db48cb130343a4 Author: David Zeuthen Date: Wed Aug 18 11:35:25 2010 -0400 GDBusProxy: Call into well-known name if no name owner currently exists This is really what (API) users expect from GDBusProxy - in particular, mclasen and I ran into this problem while debugging a upower issue, see https://bugzilla.redhat.com/show_bug.cgi?id=624125 In a nutshell, the problem is that polkitd crashes while upower holds a PolkitAuthority object (which in turns contains a GDBusProxy for the well-known name org.freedesktop.PolicyKit1). This means that subsequent calls on the PolkitAuthority (which is translated into calls into the GDBusProxy) fails since :g-name-owner is NULL. With this fix, we'll be requesting the bus daemon to launch polkitd since we will start calling into org.freedesktop.PolicyKit1 as soon as we notice that there is no owner for this name. Unfortunately our test suite doesn't cover service activation so there is no way to reliably test this. I will file a bug about this. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 108 ++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 80 insertions(+), 28 deletions(-) commit c2945808acc09562fad0ecd1247fcc3e53eeb913 Author: David Zeuthen Date: Wed Aug 18 10:52:28 2010 -0400 GDBusProxy: Use %, not #, for referencing enum constants in gtk-doc comments Signed-off-by: David Zeuthen gio/gdbusproxy.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit a35efb0939c05d572b3a601fb3de62c599d2cf9c Author: Christian Persch Date: Wed Aug 18 01:02:22 2010 +0200 G_OPTION_FLAG_NO_ARG is only for callback options Bug #627252. glib/tests/option-context.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit 5db9e5ad58040b5ccdba73c59a76522f9c35aa34 Author: Ryan Lortie Date: Wed Aug 18 02:15:09 2010 -0400 add GSimpleActionGroup and a simple test docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 28 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/giotypes.h | 1 + gio/gsimpleactiongroup.c | 401 +++++++++++++++++++++++++++++++++++ gio/gsimpleactiongroup.h | 91 ++++++++ gio/tests/actions.c | 28 +++ 9 files changed, 554 insertions(+), 0 deletions(-) commit 972c563f2328e5d1e176d99dd8abaf490b5db324 Author: Ryan Lortie Date: Wed Aug 18 02:14:37 2010 -0400 add some missed bits in the docs docs/reference/gio/gio-sections.txt | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit e1ded9f900349a64d25f659b0515e61956325557 Author: Ryan Lortie Date: Wed Aug 18 01:56:34 2010 -0400 add gaction.h to gio.h gio/gio.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 8014e9c6e67958103ef490e1bc753e4426751751 Author: Ryan Lortie Date: Wed Aug 18 01:55:48 2010 -0400 add testcase for GAction fix some small bugs it found gio/gaction.c | 9 ++++-- gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 3 ++ gio/tests/actions.c | 81 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+), 3 deletions(-) commit 8475d6d7d05f00e6fd43ffe882b47025330caa6f Author: Ryan Lortie Date: Wed Aug 18 01:45:15 2010 -0400 add GAction base class docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 31 ++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gaction.c | 597 +++++++++++++++++++++++++++++++++++ gio/gaction.h | 120 +++++++ gio/gio.symbols | 17 + gio/giotypes.h | 1 + 8 files changed, 770 insertions(+), 0 deletions(-) commit a3f4ff52ca7e8cea8db6374d55d44729936da243 Author: Ryan Lortie Date: Wed Aug 18 01:07:07 2010 -0400 gio.symbols: Fix missed symbol name tweak gio/gio.symbols | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6e04125e3543fd59a067abefc72011433a7db915 Author: Ryan Lortie Date: Wed Aug 18 00:37:50 2010 -0400 pad the GActionGroup vtable gio/gactiongroup.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 6fe74a4c6ab9895f77e889253ad9a369a0f9d1cc Author: Ryan Lortie Date: Wed Aug 18 00:33:17 2010 -0400 Add gactiongroup.h to gio.h gio/gio.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit e71dbb97326f767881142cb24cf0850ee8c40008 Author: Ryan Lortie Date: Wed Aug 18 00:30:44 2010 -0400 add GActionGroup base class docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 38 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 14 +- gio/gactiongroup.c | 453 +++++++++++++++++++++++++++++++++++ gio/gactiongroup.h | 173 +++++++++++++ gio/gio-marshal.list | 1 + gio/gio.symbols | 20 ++ gio/giotypes.h | 1 + 9 files changed, 699 insertions(+), 3 deletions(-) commit ddad707b85bf2075c0ca37b4a2267c6eac60a358 Author: Dan Winship Date: Tue Aug 17 18:38:34 2010 -0400 update gio/tests/.gitignore gio/tests/.gitignore | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit c56379264dd8714bdf08675927a5e59debaa7fc3 Author: Christian Persch Date: Tue Aug 17 18:38:46 2010 +0200 Plug a mem leak in GDBusWorker Free the read buffer. ==26538== 4,096 bytes in 1 blocks are definitely lost in loss record 781 of 781 ==26538== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==26538== by 0x4005C66: realloc (vg_replace_malloc.c:476) ==26538== by 0x405244D: g_realloc (gmem.c:181) ==26538== by 0x420E066: _g_dbus_worker_do_read_unlocked (gdbusprivate.c:780) ==26538== by 0x420E1D1: _g_dbus_worker_do_read (gdbusprivate.c:812) ==26538== by 0x420F14A: _g_dbus_worker_thread_begin_func (gdbusprivate.c:1318) ==26538== by 0x420D2ED: invoke_caller (gdbusprivate.c:266) ==26538== by 0x404DA7C: g_idle_dispatch (gmain.c:4224) ==26538== by 0x4049FCD: g_main_dispatch (gmain.c:2119) ==26538== by 0x404B2C1: g_main_context_dispatch (gmain.c:2672) ==26538== by 0x404B716: g_main_context_iterate (gmain.c:2750) ==26538== by 0x404BE7F: g_main_loop_run (gmain.c:2958) ==26538== by 0x420D2B5: shared_thread_func (gdbusprivate.c:248) ==26538== by 0x4077958: g_thread_create_proxy (gthread.c:1897) ==26538== by 0x57D918: start_thread (pthread_create.c:301) ==26538== by 0x4C6CBD: clone (clone.S:133) Bug #627187. gio/gdbusprivate.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit a91a4a420e8ba6428e7db13bd9c308256cfbb323 Author: Christian Persch Date: Tue Aug 17 18:29:14 2010 +0200 Plug a mem leak in gdbus-connection test ==26538== 145 (24 direct, 121 indirect) bytes in 1 blocks are definitely lost in loss record 765 of 790 ==26538== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==26538== by 0x405233C: g_malloc (gmem.c:134) ==26538== by 0x406A57E: g_slice_alloc (gslice.c:836) ==26538== by 0x406A60C: g_slice_copy (gslice.c:858) ==26538== by 0x4035C5A: g_error_copy (gerror.c:160) ==26538== by 0x41B6387: g_simple_async_result_set_from_error (gsimpleasyncresult.c:638) ==26538== by 0x41FCDEB: g_dbus_connection_call_done (gdbusconnection.c:4808) ==26538== by 0x41B682E: g_simple_async_result_complete (gsimpleasyncresult.c:762) ==26538== by 0x41B686A: complete_in_idle_cb (gsimpleasyncresult.c:772) ==26538== by 0x404DA7C: g_idle_dispatch (gmain.c:4224) ==26538== by 0x4049FCD: g_main_dispatch (gmain.c:2119) ==26538== by 0x404B2C1: g_main_context_dispatch (gmain.c:2672) ==26538== by 0x404B716: g_main_context_iterate (gmain.c:2750) ==26538== by 0x404BE7F: g_main_loop_run (gmain.c:2958) ==26538== by 0x804B5CC: test_connection_send (gdbus-connection.c:407) ==26538== by 0x4073D04: test_case_run (gtestutils.c:1174) Bug #627187. gio/tests/gdbus-connection.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 75563e81c2b6bab345e08daafd3206cec699f2ea Author: Christian Persch Date: Tue Aug 17 18:20:23 2010 +0200 Plug a mem leak in gdbus-connection test ==25403== 49 (24 direct, 25 indirect) bytes in 1 blocks are definitely lost in loss record 603 of 787 ==25403== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==25403== by 0x405233C: g_malloc (gmem.c:134) ==25403== by 0x406A57E: g_slice_alloc (gslice.c:836) ==25403== by 0x406A5C3: g_slice_alloc0 (gslice.c:848) ==25403== by 0x4035B4E: g_error_new_literal (gerror.c:117) ==25403== by 0x4035ED9: g_set_error_literal (gerror.c:314) ==25403== by 0x41F6434: g_dbus_connection_close_sync (gdbusconnection.c:1284) ==25403== by 0x804A861: test_connection_life_cycle (gdbus-connection.c:158) ==25403== by 0x4073D04: test_case_run (gtestutils.c:1174) ==25403== by 0x4073FC2: g_test_run_suite_internal (gtestutils.c:1223) ==25403== by 0x4074077: g_test_run_suite_internal (gtestutils.c:1233) ==25403== by 0x4074077: g_test_run_suite_internal (gtestutils.c:1233) ==25403== by 0x40741FB: g_test_run_suite (gtestutils.c:1274) ==25403== by 0x40733E5: g_test_run (gtestutils.c:877) ==25403== by 0x804DC92: main (gdbus-connection.c:1024) Bug #627187. gio/tests/gdbus-connection.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit a62a2fd8edc0ca771ca1c1df1889766f3c73b0e4 Author: Christian Persch Date: Tue Aug 17 18:08:07 2010 +0200 Plug a mem leak in the gdbus-connection test Bug #627182. gio/tests/gdbus-connection.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 7191fc3f17d39a3fa27e990a3723403066d34826 Author: Christian Persch Date: Sun Jun 20 14:33:27 2010 +0200 Use g_memory_output_stream_steal_data here ... instead of one extra g_memdup(). Bug #627181. gio/gdbusmessage.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 71e73ffdfbd7a33f4e233cfe1353adf143a2c14c Author: Christian Persch Date: Sat May 24 16:08:28 2008 +0200 Use G_DEFINE_[BOXED|POINTER]_TYPE instead of handwritten code Now that we have convenience macros to implement boxed and pointer types, use them. gio/gdbusintrospection.c | 17 +--- gio/gfileattribute.c | 20 +---- gio/gfileinfo.c | 20 +---- gio/gsrvtarget.c | 17 +--- gobject/gboxed.c | 215 ++++++++-------------------------------------- gobject/gsourceclosure.c | 14 +--- gobject/gvaluetypes.c | 10 +-- 7 files changed, 50 insertions(+), 263 deletions(-) commit dc1999316da0409c5bc15e37a0a568a8309bb5a3 Author: Christian Persch Date: Sat May 24 16:08:04 2008 +0200 Add G_DEFINE_{BOXED,POINTER}_TYPE[_WITH_CODE] Add convenience type definition macros for boxed and pointer types similar to G_DEFINE_TYPE for object types. Bug #449565. docs/reference/gobject/gobject-sections.txt | 4 + gobject/gtype.h | 110 +++++++++++++++++++++++++++ 2 files changed, 114 insertions(+), 0 deletions(-) commit cae86073eaf932b85836e98df8d87c65d90f5842 Author: Christian Persch Date: Thu May 13 19:57:41 2010 +0200 Add GZIP header processing to GZlibCompressor/GZlibDecompressor Add GZlibCompressor:file-info property. If it contains a non-NULL GFileInfo, and the compressor is in GZIP mode, the filename and modification time from the file info are written to the GZIP header in the output data. Add GZlibDeompressor:file-info property. If the decompressor is in GZIP mode, and the GZIP data contains a GZIP header, the filename and modification time are read from it, stored in a GFileInfo, and the file-info property is notified. Bug #617691. docs/reference/gio/gio-sections.txt | 3 + gio/gio.symbols | 3 + gio/gzlibcompressor.c | 117 ++++++++++++++++++++++++++++++- gio/gzlibcompressor.h | 5 ++ gio/gzlibdecompressor.c | 134 ++++++++++++++++++++++++++++++++-- gio/gzlibdecompressor.h | 3 + gio/tests/filter-cat.c | 38 ++++++++++- 7 files changed, 293 insertions(+), 10 deletions(-) commit b196cd74473cbc812359ee3b484a3986604e9aba Author: Christian Persch Date: Sun Jun 20 14:32:52 2010 +0200 Add g_memory_output_stream_steal_data Bug #622184. docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gmemoryoutputstream.c | 29 +++++++++++++++++++++++++++++ gio/gmemoryoutputstream.h | 1 + 4 files changed, 32 insertions(+), 0 deletions(-) commit 322ac7ff68205daf52a2d0bcecc098edd6b413b9 Author: Matthias Clasen Date: Mon Aug 16 16:36:38 2010 -0400 Bump version configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)