commit 8df3281e536557cfd6b4056a9c95102d57596179
Author: Colin Walters
Date: Wed Mar 24 20:17:54 2010 -0400
[configure] Release 0.86
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 551d86f7fe0e7f2304f57baa7a406c935182b06a
Author: Dan Williams
Date: Wed Mar 24 14:40:09 2010 -0700
core: performance optimization for object info lookup
dbus/dbus-gobject.c | 31 ++++++++++++++++++-------------
1 files changed, 18 insertions(+), 13 deletions(-)
commit ed73cb2f32c411a3306c6dfe2ae541aea249f200
Author: Dan Williams
Date: Wed Mar 24 12:20:13 2010 -0700
core: allow duplicate property names on GInterfaces
Allows dbus-glib clients to handle objects that implement
more than one interface with the properties of the same name.
Normally this would not be allowed since with GObject all
properties are in the same namespace. This patch allows
the interface to register "shadow" properties on a per-interface
basis which redirect the lookup of the property name.
dbus/dbus-glib.h | 4 +
dbus/dbus-gobject.c | 160 ++++++++++++++++++++++++++---
test/interfaces/Makefile.am | 24 ++++-
test/interfaces/test-client.c | 186
+++++++++++++++++++++++++++++++++
test/interfaces/test-dup-prop-a.xml | 6 +
test/interfaces/test-dup-prop-b.xml | 6 +
test/interfaces/test-dup-prop.c | 192
+++++++++++++++++++++++++++++++++++
test/interfaces/test-dup-prop.h | 60 +++++++++++
test/interfaces/test-server.c | 8 ++
9 files changed, 627 insertions(+), 19 deletions(-)
commit c1bbf6fb1b7c6e2a743c8a7353cddea52d42fa2d
Author: Colin Walters
Date: Thu Mar 18 21:39:24 2010 -0400
[dbus-gobject.c] Trivial compiler warning fixes
dbus/dbus-gobject.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
commit b52c16b495632bd945328ca858533d5660106bdf
Author: Colin Walters
Date: Thu Mar 18 21:37:38 2010 -0400
Remove dbus-glib-undeclared.txt from git; it's a generated file
0 files changed, 0 insertions(+), 0 deletions(-)
commit 7b029451dac1fdd14da4e558cc995fb7f5263d04
Author: Colin Walters
Date: Thu Mar 18 21:37:05 2010 -0400
[configure.ac] Use AM_SILENT_RULES if available
configure.ac | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit db026859406ce768d71d4ccf850e8be56b52998c
Author: Will Thompson
Date: Tue Mar 9 17:18:10 2010 +0000
Free errors returned by method implementations
https://bugs.freedesktop.org/show_bug.cgi?id=26981
dbus/dbus-gobject.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 3902ac5a13a7510b8411b1147d0cce5711cf4168
Author: Sven Herzberg
Date: Mon Mar 8 16:50:28 2010 +0100
turn the gtk-doc documentation into buildable shape
* dbus/dbus-gobject.c: the < and > symbols broke the sgml generation
in
gtk-doc
dbus/dbus-gobject.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 3d69cfeab177e79b4ecfe1b4284a5bd840fd11e7
Author: Colin Walters
Date: Thu Apr 2 14:01:05 2009 +0100
Fix hyphenated error codes correctly
The error code names generated my glib-mkenums separate the words by
hyphens which are invalid D-BUS error names. This patch converts them
back to wincaps, but we can't uppercase the first letter.
Based on an original patch from Neil Roberts
dbus/dbus-gobject.c | 21 ++++++++++++++++++---
test/core/my-object.c | 13 +++++++++++++
test/core/my-object.h | 4 +++-
test/core/test-dbus-glib.c | 7 +++++++
test/core/test-service-glib.xml | 3 +++
5 files changed, 44 insertions(+), 4 deletions(-)
commit 4538adc1fe903d1ce71ca24590df9bdac7c4a50e
Author: Colin Walters
Date: Tue Mar 2 12:12:18 2010 -0500
Revert "Squash underscores and dashes in errors when converting to
DBus errors"
This reverts commit 9637ed9f0c66982a06048b18ccf983881643e456.
This incorrectly uppercased the first character in error names:
https://bugzilla.redhat.com/show_bug.cgi?id=569631
dbus/dbus-gobject.c | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
commit 2d85761286e96df3490426af1e20e7b553448092
Author: Colin Walters
Date: Tue Mar 2 13:52:36 2010 -0500
Remove dbus-glib-undocumented.txt from git
It's autogenerated by gtk-doc, so shouldn't be in git.
doc/reference/dbus-glib-undocumented.txt | 60
------------------------------
1 files changed, 0 insertions(+), 60 deletions(-)
commit 9637ed9f0c66982a06048b18ccf983881643e456
Author: Colin Walters
Date: Mon Feb 1 10:09:53 2010 -0500
Squash underscores and dashes in errors when converting to DBus errors
We were just taking the enumeration nick and appending to the DBus
error name, but since these can contain '-' we need to squash.
dbus/dbus-gobject.c | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
commit d039ca66f85955788e2d58294c249579bed9cc03
Author: Colin Walters
Date: Wed Jan 27 13:56:48 2010 -0500
Release 0.84
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit f1c3f7bf585d6010c84491372b0a6f0ae3b1432a
Author: Colin Walters
Date: Wed Jan 27 13:01:29 2010 -0500
Add GMainContext to dbus_g_bus_get_private, add a test case
To even sort of work with threads right now, a common workaround
is to open a private connection. This patch more explicitly
supports creating a private connection, associating it with
the GMainContext which will be used for a thread.
Also, add a (very simple) test case which just uses a private
connection for the default main context.
dbus/dbus-glib.h | 1 +
dbus/dbus-gmain.c | 4 +++-
test/core/test-dbus-glib.c | 21 +++++++++++++++++++++
3 files changed, 25 insertions(+), 1 deletions(-)
commit 87c645ed17d6fef350e8c26e322ecde566a27d42
Author: Colin Walters
Date: Wed Jan 27 13:06:34 2010 -0500
Fix compilation of dbus-gvalue.c
commit c4a5653e0402f876a1824c33a19e69991ee46a27 was missing a "break;"
dbus/dbus-gvalue.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit e6cd65545ee5cd2eeb5ccc21d5bfe8e8ac286d95
Author: Colin Walters
Date: Wed Jan 27 11:40:07 2010 -0500
Add note about non-maintenance of NEWS
NEWS | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
commit c4a5653e0402f876a1824c33a19e69991ee46a27
Author: Andres Salomon
Date: Wed Aug 19 08:57:21 2009 -0400
dbus-gvalue: set an error when demarshal_basic doesn't recognize type
By passing dbus_g_proxy_call an incorrect signature, we can cause
the function to fail but not provide any error message (if
G_DISABLE_ASSERT is defined). As smvc pointed out, this can also
become a runtime error when a telepathy CM changes signature, but
the client hasn't been updated. As such, g_assert isn't an
appropriate
action. See http://bugs.debian.org/541632 for more information.
This patch causes it to set an error when demarshalling a type
that it's
not expecting. Instead of a NULL error, one instead
sees something like the following when the method returns a path
object but the client expected a string:
"modem Create() failed: Expected type gchararray, got type code 'o'"
Signed-off-by: Andres Salomon
dbus/dbus-gvalue.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
commit b976413f896f2d5a0be9449fc77a716f2e67cc96
Author: Jiřà Klimeš
Date: Wed Jan 27 10:36:57 2010 -0500
Fix bad NAME in dbus-binding-tool man page
doc/dbus-binding-tool.1 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 34636b12c62523b9db789b0fbeb3a86782debf10
Author: Colin Walters
Date: Fri Jan 15 12:23:30 2010 -0500
Import dbus-bus-introspect.xml upstream
Rather than having consumers pass an externally-generated XML file,
just include one here. In practice our target audience is OS
builders,
who if they have the capability to update dbus, also have the
capability
to update dbus-glib.
Makefile.am | 1 +
configure.ac | 12 -------
dbus-bus-introspect.xml | 77
+++++++++++++++++++++++++++++++++++++++++++++++
tools/Makefile.am | 15 ++-------
4 files changed, 81 insertions(+), 24 deletions(-)
commit 9cefa4bae8d20beddf695380af00945790da0206
Merge: 5e5a1c1 15f4533
Author: Simon McVittie
Date: Wed Nov 25 14:55:32 2009 +0000
Merge remote branch 'upstream/master'
commit 15f4533742ad6aeab85ebb723ac8fca99c00e939
Author: Will Thompson
Date: Mon Nov 16 13:32:40 2009 +0000
Don't leak DBusGMethodInvocation for no-reply calls
https://bugs.freedesktop.org/show_bug.cgi?id=25119
dbus/dbus-gobject.c | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
commit 5e5a1c1930173dac0e331c2cb78a164c3565b0eb
Merge: 2a4396b 90e2199
Author: Simon McVittie
Date: Tue Sep 29 14:22:07 2009 +0100
Merge remote branch 'wjt/duplicate-registrations'
Signed-off-by: Simon McVittie
commit 2a4396b523912c3bf4d2a1ef6d6fa930c0871c67
Merge: 980b468 e2007cf
Author: Simon McVittie
Date: Tue Sep 29 14:07:11 2009 +0100
Merge branch '20936-fsf-address'
Reviewed-by: Colin Walters
commit 980b46870aa0e44a04ad1191d7af1d0601577501
Author: Stian Skjelstad
Date: Fri Sep 18 14:01:00 2009 -0400
Bug 19623 - Add dbus_g_bus_get_private
Useful for cases where you have to get a private connection, among
them to work around threading issues.
Signed-off-by: Colin Walters
dbus/dbus-glib.h | 3 +++
dbus/dbus-gmain.c | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+), 0 deletions(-)
commit 90e2199ac99f5b8ab0cd5f45dcb398ecf9af03d9
Author: Will Thompson
Date: Sat Sep 12 11:58:22 2009 +0100
Copy object registration list when unregistering.
Since the list of registrations on the object is modified when
each path
is removed, iterating it directly is wrong: after the first pass
of the
loop, 'iter' would point to a link which has been freed.
dbus/dbus-gobject.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
commit 39e2642e41b2293de7556fa15c57872f78ffcdc8
Author: Will Thompson
Date: Sat Sep 12 11:28:25 2009 +0100
Only re-set registration list if it's non-empty
dbus/dbus-gobject.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit 0263b72669de710e0adda419a520ae9f123a1be9
Author: Colin Walters
Date: Wed Aug 19 13:27:53 2009 -0400
Support duplicate object registrations
Before commit e869fda4, we semi-supported registering the
same object multiple times. We'd accept messages for both paths,
however when signals were emitted, they'd both use the first object
path.
That commit simply disallowed multiple registrations, which broke
backwards compatibility with some projects like PolicyKit which
had the same object registered with different paths.
With this commit, explicitly allow and support multiple registrations.
The primary change is that signals are now emitted once for each
registration path of an object, using the correct path.
dbus/dbus-gobject.c | 159
++++++++++++++++++++++++++++-------------
test/core/test-dbus-glib.c | 41 +++++++++++
test/core/test-service-glib.c | 4 +
3 files changed, 154 insertions(+), 50 deletions(-)
commit c993494ad463ffe55b8603e58aa5ecb6dd731144
Author: Colin Walters
Date: Thu Jul 16 14:09:18 2009 -0400
Release 0.82
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 65e03ccf0f2417a83fd187035b80d680e376fd32
Author: Colin Walters
Date: Thu Jul 16 13:51:57 2009 -0400
Test for git-log in Makefile.am should just be for git now
The combined tools are no longer in $PATH for modern git.
Makefile.am | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit f5edb761202d3aff8f8bd0bc68dd57d3d32d2bd1
Author: Alban Crequy
Date: Thu Jul 16 13:39:08 2009 -0400
Bug 18294 - Be defensive about a possibly NULL property string
As far as I can tell we should always be writing one, but it doesn't
hurt to guard against NULL here.
Signed-off-by: Colin Walters
dbus/dbus-gobject.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 2508e687e7d7792a656c7af0aad1be851faa33bb
Author: Brian Cameron
Date: Thu Jul 16 13:15:38 2009 -0400
Bug 20343 - Add a man page for dbus-binding-tool
Signed-off-by: Colin Walters
doc/Makefile.am | 6 +-
doc/dbus-binding-tool.1 | 294
+++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 299 insertions(+), 1 deletions(-)
commit 29513843b22dbd2aba1d3ba2930bb38e2c6631e5
Author: Marc-André Lureau
Date: Sat May 9 18:13:49 2009 +0300
build: fix undefined macro: AM_PROG_LIBTOOL with recent libtool
Without this patch, I get:
configure.ac:206: warning: macro `AM_PROG_LIBTOOL' not found
in library
configure.ac:213: error: possibly undefined macro: AM_PROG_LIBTOOL
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
autoreconf2.50: /usr/bin/autoconf failed with exit status: 1
(I am using libltdl-dev 2.2.6a-4 from Debian)
Makefile.am | 1 +
autogen.sh | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
commit d66337bdf9fc8f5372d84b05ae68c818bb9c881b
Author: Luis Menina
Date: Thu Jul 16 10:55:39 2009 -0400
Bugg 22244 - Only include , not individual headers
Signed-off-by: Colin Walters
dbus/dbus-glib-tool.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 67c289a60a4ac2ee9660f38a7168a238c1b3cffb
Author: Colin Walters
Date: Wed Jul 15 15:33:31 2009 -0400
Clean up some compilation warnings
dbus/dbus-gloader-expat.c | 6 +++---
dbus/dbus-gobject.c | 4 ++--
test/core/test-dbus-glib.c | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
commit 5eea6af0d24780109dbbc15b8bfa4078df3a80a2
Author: Colin Walters
Date: Wed Jul 15 15:28:06 2009 -0400
Add missing prototype for dbus_g_connection_unregister_g_object
The function was introduced in commit b4911558384de and intended
to be public, make it so.
dbus/dbus-glib.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit de68d2b2fc3012ae733212a704aa29a748f22f80
Author: Brian Tarricone
Date: Wed Jul 15 15:03:36 2009 -0400
Bug 21753 - Correctly initialize GValues in dbus-binding-tool
generated code
GValues should have their type set to 0.
Signed-off-by: Colin Walters
dbus/dbus-binding-tool-glib.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
commit af07e13e6afe09456588ddba4b72cba215bc7c93
Author: Jason Leach
Date: Wed Jul 1 15:41:04 2009 -0400
Bug 21362 - Remove use of deprecated symbols
The _set*_take_ownership are replaced by _take, and
use g_main_loop_run.
dbus/dbus-binding-tool-glib.c | 6 +++---
dbus/dbus-gvalue-utils.c | 14 +++++++-------
dbus/dbus-gvalue.c | 16 ++++++++--------
m4/gtk-doc.m4 | 2 +-
test/core/test-dbus-glib.c | 2 +-
test/core/test-thread-client.c | 2 +-
test/core/test-thread-server.c | 2 +-
7 files changed, 22 insertions(+), 22 deletions(-)
commit e2007cfc5822f057b975660bd369fee56a7f2eb6
Author: Simon McVittie
Date: Tue Jun 9 16:22:46 2009 +0100
fd.o #20936: Fix another couple of instances of the old FSF address
`git grep 'Temple Place'` now returns nothing.
dbus/dbus-bash-completion-helper.c | 2 +-
dbus/dbus-gtool-test.h | 2 +-
dbus/dbus-gtype-specialized-priv.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
commit cbe5250e553112221e1230301767ad1052790b0a
Author: Tobias Mueller
Date: Wed Apr 15 21:37:05 2009 +0100
fd.o #20936: Update FSF address
The glib bindings contain an outdated address of the FSF:
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
The new address is:
http://www.fsf.org/about/contact.html writes:
> Free Software Foundation
> 51 Franklin Street, Fifth Floor
> Boston, MA 02110-1301
> USA
Signed-off-by: Simon McVittie
COPYING | 4 ++--
dbus/dbus-binding-tool-glib.c | 2 +-
dbus/dbus-binding-tool-glib.h | 2 +-
dbus/dbus-gidl.c | 2 +-
dbus/dbus-gidl.h | 2 +-
dbus/dbus-glib-lowlevel.h | 2 +-
dbus/dbus-glib-tool.c | 2 +-
dbus/dbus-glib-tool.h | 2 +-
dbus/dbus-glib.c | 2 +-
dbus/dbus-glib.h | 2 +-
dbus/dbus-gloader-expat.c | 2 +-
dbus/dbus-gmain.c | 2 +-
dbus/dbus-gobject.c | 2 +-
dbus/dbus-gobject.h | 2 +-
dbus/dbus-gparser.c | 2 +-
dbus/dbus-gparser.h | 2 +-
dbus/dbus-gproxy.c | 2 +-
dbus/dbus-gsignature.c | 2 +-
dbus/dbus-gtest-main.c | 2 +-
dbus/dbus-gtest.c | 2 +-
dbus/dbus-gtest.h | 2 +-
dbus/dbus-gthread.c | 2 +-
dbus/dbus-gtype-specialized.c | 2 +-
dbus/dbus-gtype-specialized.h | 2 +-
dbus/dbus-gutils.c | 2 +-
dbus/dbus-gutils.h | 2 +-
dbus/dbus-gvalue-utils.c | 2 +-
dbus/dbus-gvalue-utils.h | 2 +-
dbus/dbus-gvalue.c | 2 +-
test/core/test-profile.c | 2 +-
test/decode-gcov.c | 2 +-
31 files changed, 32 insertions(+), 32 deletions(-)
commit b615918eef9723c00f03d30903181d9989dfd261
Merge: cb8a113 f550c49
Author: Simon McVittie
Date: Tue Jun 9 16:15:49 2009 +0100
Merge branch '13908-autoinit'
Signed-off-by: Simon McVittie
Reviewed-by: Colin Walters
Bug: http://bugs.freedesktop.org/show_bug.cgi?id=13908
commit f550c492a10922795099166db34d8ccf5dbe63a7
Author: Simon McVittie
Date: Thu May 28 18:21:27 2009 +0100
fd.o #13908: silently initialize specialized types whenever required
Colin Walters asks: "Is there a reason not to just do the
initialization
at the time someone calls one of the public API entry points that
depends
on it?". This turns out to be non-trivial because those public
API entry
points are themselves used inside the initialization.
dbus/Makefile.am | 1 +
dbus/dbus-gtype-specialized-priv.h | 48 +++++++++++++++++++++++++++
dbus/dbus-gtype-specialized.c | 64
++++++++++++++++++++++++++----------
dbus/dbus-gvalue-utils.c | 11 +++---
4 files changed, 101 insertions(+), 23 deletions(-)
commit cb8a113be8808fe2c88d3e7851e79115235f9e8c
Merge: 0d64d31 725e98f
Author: Simon McVittie
Date: Thu May 28 18:04:20 2009 +0100
Merge branch '20716-with-dbus-binding-tool'
Signed-off-by: Simon McVittie
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=20716
Reviewed-by: Colin Walters
commit 0d64d318397da26f224abd2d7ef1f27d14a544fa
Merge: 48abffb b93c2a1
Author: Simon McVittie
Date: Thu May 28 18:02:44 2009 +0100
Merge branch '5688-survive-disconnection'
This is unsuitable for cherry-picking by distros, since it adds API.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=21219
Reviewed-by: Colin Walters
commit 48abffba4cd81c182901dd7c80987251ba05348e
Merge: 9a0c188 e869fda
Author: Simon McVittie
Date: Thu May 28 18:01:54 2009 +0100
Merge part of branch '5688-survive-disconnection'
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=5688
Reviewed-by: Colin Walters
commit 9a0c188e2662809950738e92b963e5602dfbd8eb
Merge: 03de444 98087a3
Author: Simon McVittie
Date: Thu May 7 15:33:15 2009 +0100
Merge branch '16776-make-dbus-errors-throwable'
Reviewed-by: Colin Walters
commit 03de44461132ed610c3d52133d4b4760f20e4cb2
Merge: b6b3787 f363811
Author: Simon McVittie
Date: Mon Apr 27 10:47:58 2009 +0100
Merge branch '20884-proxy-manager-replace-name-owner'
Reviewed-by: Colin Walters
commit b6b37871960ee06d9cc589e031ec3d5d6a4a6b92
Merge: e11c0ac d275c2e
Author: Simon McVittie
Date: Thu Apr 16 19:25:02 2009 +0100
Merge branch '20886-configure-cleanup'
Reviewed by Colin Walters, fd.o #20886.
commit e11c0aced3b00733766207f15876fb300d63d442
Author: Colin Walters
Date: Wed Feb 25 11:27:57 2009 -0500
Bug 19927 - Use const for GError * param we're not modifying
This makes it clearer we're not taking ownership of the error, and
interoperates more nicely with functions which provide const GError *.
dbus/dbus-glib.h | 2 +-
dbus/dbus-gobject.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit a809ea3016a0eae166df13c757f3e917dea0c0f9
Author: Vincent Untz
Date: Thu Apr 16 12:35:42 2009 -0400
Bug 20879 - Use --skip-source argument for glib-genmarshal
This avoids adding debug information for the temporary file.
Signed-off-by: Colin Walters
dbus/dbus-binding-tool-glib.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit b93c2a19f468930c6badf054f79597d99d86e76c
Author: Simon McVittie
Date: Thu Apr 16 12:59:10 2009 +0100
fd.o #21219: regression test
test/core/Makefile.am | 22 ++++++++++++++-
test/core/run-test.sh | 1 +
test/core/unregister.c | 71
++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 93 insertions(+), 1 deletions(-)
commit e869fda44331e6f590f974ad779115a22f5af22e
Author: Simon McVittie
Date: Thu Apr 16 12:57:43 2009 +0100
dbus-gobject: save the ObjectRegistration on each object, not just
the path
dbus/dbus-gobject.c | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
commit b4911558384de9919a231c29d75d9560f81fad0a
Author: Simon McVittie
Date: Thu Apr 16 12:58:32 2009 +0100
fd.o #21219: implement unregistration of objects
dbus/dbus-gobject.c | 25 ++++++++++++++++++++++++-
doc/reference/dbus-glib-sections.txt | 1 +
2 files changed, 25 insertions(+), 1 deletions(-)
commit e42535c3c0dace3ede96c50f5a9b3cc315c80190
Author: Simon McVittie
Date: Thu Apr 16 12:11:15 2009 +0100
fd.o #5688: Add a regression test
Also assert that dbus_g_connection_lookup_g_object works (my previous
attempt to fix #5688 broke this).
test/core/5688.c | 81
+++++++++++++++++++++++++++++++++++++++++++++++++
test/core/Makefile.am | 13 +++++++-
test/core/run-test.sh | 1 +
3 files changed, 94 insertions(+), 1 deletions(-)
commit 6de1441865da2816c6bcd8cae842be93a8a96304
Author: Simon McVittie
Date: Thu Apr 16 12:06:26 2009 +0100
fd.o #5688: don't assert when exported object is destroyed *after*
D-Bus connection closes
My solution was to introduce an ObjectRegistration struct which
encapsulates the D-Bus <-> GObject glue.
Also, warn and keep the first object path if the library user
registers
an object at two object paths (previously, this would fail silently,
use
the second object path, and leak memory).
dbus/dbus-gobject.c | 111
++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 88 insertions(+), 23 deletions(-)
commit 725e98ffa810d04baf38e5d5d3f62091334b0888
Author: Peter Korsgaard
Date: Wed Apr 15 21:29:09 2009 +0100
add --with-dbus-binding-tool option to use an external
dbus-binding-tool
Cross compilation fix. dbus-binding-tool needs to run on the host, but
gets
compiled for the target. Add an option to use an external program
(host version) instead, similar to the --with-introspect-xml option.
Signed-off-by: Peter Korsgaard
Signed-off-by: Robert Schwebel
configure.ac | 5 +++++
dbus/examples/Makefile.am | 4 ++--
dbus/examples/statemachine/Makefile.am | 4 ++--
test/core/Makefile.am | 6 +++---
test/interfaces/Makefile.am | 12 ++++++------
tools/Makefile.am | 2 +-
6 files changed, 19 insertions(+), 14 deletions(-)
commit a0124a5ecc829b73e2293cd7b23bf0cf0eb0a87c
Author: Simon McVittie
Date: Thu Mar 26 18:06:53 2009 +0000
dbus_g_type_specialized_init: make some effort at being thread-safe
dbus-glib isn't really thread-safe and needs a systematic audit,
but let's
at least be preemptively thread-safe in new code.
Signed-off-by: Simon McVittie
dbus/dbus-gtype-specialized.c | 21 +++++++++++++++------
1 files changed, 15 insertions(+), 6 deletions(-)
commit f36381131b6f410333a9a823a4fc131ac799394f
Author: Simon McVittie
Date: Thu Mar 26 18:00:16 2009 +0000
fd.o#20884: dbus_g_proxy_manager_replace_name_owner: don't leave
freed memory in the hash table if the name was the owner's first
Here's a situation where this code would fail:
* an owner :1.42 owns a name com.Example and a name org.Example
* the owner_names hash table contains { :1.42 => c }, where
c is a GSList link with data = "com.Example", next = o and
o is a GSList link with data = "org.Example", next = NULL
* the name owner for com.Example changes so :1.42 no longer owns the
name
* initially, names == c
* g_slist_delete_link unlinks and frees c, and sets names = o
* but c is still in the hash table, so next time we look in the hash
table, we crash
The fix is to replace c with o in the owner_names hash table.
dbus/dbus-gproxy.c | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
commit d275c2e646f67a3929d9290c6bdb270d6346b83c
Author: Simon McVittie
Date: Fri Nov 28 17:14:47 2008 +0000
Remove all sorts of libdbus cruft from configure.ac
configure.ac | 102
------------------------------------------------------
test/Makefile.am | 1 -
2 files changed, 0 insertions(+), 103 deletions(-)
commit 6791d09f72a63dcb72d57a187210bc133f463fcf
Author: Simon McVittie
Date: Fri Nov 28 17:07:06 2008 +0000
Don't check for atomic integer ops
GLib has perfectly good ones, and `git grep ATOMIC` confirms that
we no
longer use the result of the check
configure.ac | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
commit 6de33eb0a3e53d92e47a717849f144a0a313e923
Author: Simon McVittie
Date: Fri Nov 28 17:06:29 2008 +0000
Don't check whether va_copy works
`git grep DBUS_VA_COPY` confirms that we no longer care
configure.ac | 75
----------------------------------------------------------
1 files changed, 0 insertions(+), 75 deletions(-)
commit 7bf91463598fc1e6ad44096f33aa4b61bf58443f
Author: Simon McVittie
Date: Fri Nov 28 17:04:09 2008 +0000
configure.ac: Don't check endianness
`git grep ENDIAN` confirms that we no longer need it.
configure.ac | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
commit dc93d2a6eaf75bd783d16d90f62d8abefd4e26a4
Author: Simon McVittie
Date: Fri Nov 28 17:01:32 2008 +0000
Don't define DBUS_API_SUBJECT_TO_CHANGE
It isn't, and we need libdbus >= 1.1 in any case
configure.ac | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
commit 094f45d0097679e8d458431231bcb3c999568d60
Author: Simon McVittie
Date: Fri Nov 28 17:00:06 2008 +0000
configure.ac: don't check the sizes of integers
This is presumably a relic of libdbus.
configure.ac | 105
----------------------------------------------------------
1 files changed, 0 insertions(+), 105 deletions(-)
commit d30b06afd0a8bb6dddeefd7ac4d978799df03a52
Author: Simon McVittie
Date: Fri Nov 28 16:58:37 2008 +0000
Remove CXX cruft from configure.ac
There is no C++ in this package, so why are we checking for a C++
compiler?
configure.ac | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
commit 98087a3d62523b621a1bd2359661ffe24553c34e
Author: Simon McVittie
Date: Fri Nov 28 17:22:59 2008 +0000
Bug #16776: add a regression test
test/core/my-object.c | 11 +++++++++++
test/core/my-object.h | 1 +
test/core/test-dbus-glib.c | 13 +++++++++++++
test/core/test-service-glib.xml | 3 +++
4 files changed, 28 insertions(+), 0 deletions(-)
commit 20c474b8b8b356836e50af0e9bf3b32584d83ac4
Author: Simon McVittie
Date: Fri Nov 28 16:23:43 2008 +0000
Bug 16776: teach dbus_g_method_return_error about DBUS_GERROR
Code called by dbus_g_method_return_error assumes that errors in the
domain DBUS_GERROR always have the code DBUS_GERROR_REMOTE_EXCEPTION.
This is clearly not true, and it would be nice to be able to raise the
"well-known" D-Bus errors from library user code.
dbus/dbus-gobject.c | 69
++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 66 insertions(+), 3 deletions(-)
commit e18f5dd13c562333bc580f3b5bdf3ecd8d7555ce
Author: Mikkel Kamstrup Erlandsen
Date: Fri Nov 28 15:58:43 2008 +0000
Bug 13908: make dbus_g_type_specialized_init() safe for library
users to call
dbus/dbus-gtype-specialized.c | 6 ++++++
dbus/dbus-gvalue.c | 1 -
2 files changed, 6 insertions(+), 1 deletions(-)
commit bc474819fa638a0daf3c89e6d041949b73e9228e
Author: Sjoerd Simons
Date: Tue Mar 17 11:21:56 2009 +0000
Use g_strdup instead of strdup in dbus_g_method_get_sender
dbus/dbus-gobject.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
commit dfef72c61c050e7f57e1d2eb601701e0a27827cc
Author: Colin Walters
Date: Thu Feb 5 11:17:15 2009 -0500
Bug 14183 - Listen to NameOwnerChanged using arg0 matching
This is more efficient - we avoid waking up every dbus-glib using
process
when a process joins or leaves the bus.
dbus/dbus-gproxy.c | 57
++++++++++++++++++++++++++-------------------------
1 files changed, 29 insertions(+), 28 deletions(-)
commit 42b17678dec6d0100bcbc433441f6a75df747e5c
Author: Colin Walters
Date: Thu Feb 5 10:59:15 2009 -0500
Use -fno-strict-aliasing by default
We're unlikely to be strict-aliasing safe anytime soon. This change
corresponds with http://bugs.freedesktop.org/show_bug.cgi?id=10599
configure.ac | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit 56b9773dc5dd589638e22f48ec4222ae491c2bc1
Author: Frederic Crozat
Date: Tue Feb 3 14:00:50 2009 +0100
Fix format-security warning
dbus/dbus-gobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 300b4fd822b8f57802ca35f4c867464b881632e3
Author: Colin Walters
Date: Mon Feb 2 19:40:51 2009 -0500
Bump configure for unstable cycle
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 49cad2ca523de6a85f12d22ade23046c548ea601
Author: Colin Walters
Date: Mon Feb 2 19:40:29 2009 -0500
Release 0.80
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit b161082148a51f2a2d8a4ee85f5736791dedc276
Author: Colin Walters
Date: Mon Feb 2 15:07:51 2009 -0500
Bug 19065 - handle nested nodes in dbus-binding-tool
Patch modified from one provided by Stian Skelstad .
Split the generate_glue function explicitly into a toplevel
function and
one for processing recursive nodes.
dbus/dbus-binding-tool-glib.c | 108
++++++++++++++++++++++-----------------
m4/gtk-doc.m4 | 2 +-
test/Makefile.am | 5 ++
test/core/Makefile.am | 6 +-
test/data/nested-introspect.xml | 10 ++++
test/test-compile-nested.sh | 5 ++
6 files changed, 85 insertions(+), 51 deletions(-)
commit 64ec55f59a9ebe699e240c2a3b4d82e85f2db4a0
Author: Doug Goldstein
Date: Fri Jan 30 17:38:19 2009 -0500
Bug 19325 - parallel build fix
Signed-off-by: Colin Walters
dbus/Makefile.am | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit 299460549e92665e5ea09d459d3985fc85d8d73c
Author: Colin Walters
Date: Fri Jan 30 16:03:11 2009 -0500
Bug 19259: Always use /etc/bash_completion.d
This looks like what bash upstream has standardized on.
dbus/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 78eb504bd9954918c363f357d0ab71ca85e3fc23
Author: Colin Walters
Date: Tue Jan 27 18:59:01 2009 -0500
Bug 19647: Move test-types inside run-test to avoid dep on existing
session bus
All tests that use DBUS_BUS_SESSION should be in run-test.sh to
avoid introducing
a dependency on an existing session bus.
test/core/Makefile.am | 2 +-
test/core/run-test.sh | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
commit 3d25c1640d59e9770c33fafb1a12766feb6494e8
Merge: d92a441 8868486
Author: Colin Walters
Date: Tue Jan 27 18:43:50 2009 -0500
Merge branch 'master' of
ssh://walters@git.freedesktop.org/git/dbus/dbus-glib
commit d92a44109e3fdc766e34b53f7ec5329e98e13909
Author: Colin Walters
Date: Tue Jan 27 17:00:37 2009 -0500
Bug 19441: Don't send replies for messages explicitly not requesting
one
In sending a reply when a message has the dbus_message_set_no_reply
flag set, we can cause spurious denials logged on the system bus,
aside
from being inefficient.
dbus/dbus-gobject.c | 67
+++++++++++++++++++++++++++++++++++---------------
1 files changed, 47 insertions(+), 20 deletions(-)
commit 88684866d06df99f89b30a07e4809369b4cb0453
Author: Colin Walters
Date: Fri Dec 19 11:18:26 2008 -0500
Add new files missed from last commit
test/core/my-object-subclass.c | 115
++++++++++++++++++++++++++++++
test/core/my-object-subclass.h | 33 +++++++++
test/core/test-service-glib-subclass.xml | 8 ++
3 files changed, 156 insertions(+), 0 deletions(-)
commit d55ffa5bbccd027caf7f2e7376b555e397a7ac3c
Author: Dan Williams
Date: Thu Dec 18 13:09:33 2008 -0500
Bug 19145: test cases for GetAll
Add test cases for GetAll.
Signed-off-by: Colin Walters
test/core/Makefile.am | 11 ++-
test/core/test-dbus-glib.c | 187
+++++++++++++++++++++++++++++++++++++++
test/core/test-service-glib.c | 7 ++
test/core/test-service-glib.xml | 2 +
4 files changed, 205 insertions(+), 2 deletions(-)
commit 94d68f00d9d244de3b1d66d3cf78bb5171552311
Author: Tambet Ingo
Date: Thu Dec 18 12:09:43 2008 +0200
Use the provided interface for org.freedesktop.DBus.Properties.GetAll
call.
dbus/dbus-gobject.c | 82
++++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 68 insertions(+), 14 deletions(-)
commit 1b150c32aa574b421161b63bb01eeeb5ad23bf3a
Author: Frederic Crozat
Date: Fri Dec 5 11:16:46 2008 -0500
Fix linking order so -Wl,--as-needed works
Signed-off-by: Colin Walters
dbus/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit f4a6c4755d7a82bb7ec0a8bf472bfe091c310ef0
Author: Colin Walters
Date: Thu Dec 4 16:12:18 2008 -0500
Do NEWS for 0.78
Should have been in earlier commit, oops.
NEWS | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
commit 3a713710a34d75d174eb632a6444e87dbf3923f4
Author: Colin Walters
Date: Thu Dec 4 16:02:12 2008 -0500
Bump configure for unstable cycle
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit beaff4e7c8e6ef601a00c03a4bed533becd273be
Author: Colin Walters
Date: Thu Dec 4 15:58:30 2008 -0500
Release 0.78.
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit d77506652b555b147e79889d6163208535e1cd74
Author: Colin Walters
Date: Thu Dec 4 15:58:12 2008 -0500
Clean bash completion file
dbus/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 6ba71576f4417bab46ca666fa44dda52dee95e88
Author: David Zeuthen
Date: Thu Jul 31 12:28:07 2008 -0400
add bash completion for dbus-send(1)
For now, it's in dbus-glib since dbus doesn't have an introspection
XML parser (yet).
Signed-off-by: Colin Walters
configure.ac | 13 +
dbus/Makefile.am | 17 ++-
dbus/dbus-bash-completion-helper.c | 513
++++++++++++++++++++++++++++++++++++
dbus/dbus-bash-completion.sh.in | 21 ++
4 files changed, 563 insertions(+), 1 deletions(-)
commit 48738e529dc7a0f27d185f2e79174b0e369fd0af
Author: Tomas Pelka
Date: Thu Dec 4 15:46:31 2008 -0500
Bug 18497 - Correct type in test case
Changing to INT32 matches the sending side.
Signed-off-by: Colin Walters
test/core/test-thread-server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit aebec4bd82c023502600786793ba0ce0c7323fbe
Author: Colin Walters
Date: Thu Dec 4 15:42:08 2008 -0500
Bug 18698 - Use AC_SEARCH_LIBS to avoid unneeded dep on nsl
Also changed the socket search to be the same way.
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit f10ee141185f9501c852acaf557b100abafc60fb
Author: Nick Welch
Date: Thu Dec 4 15:28:45 2008 -0500
Typo fix in docs
Signed-off-by: Colin Walters
dbus/dbus-gobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit c0bba240c4beb6ecfd71aefa184011e8adc27f5f
Author: Robert McQueen
Date: Tue Sep 23 23:42:02 2008 +0300
Bug #17329: allow hash tables to contain complex types
Previously, dbus-glib has provided destroy functions for the keys and
values when constructing hash tables, so that any hash tables it
constructed could be entirely freed (along with their contents) by
destroying/unreffing. Unfortunately this meant that any "complex"
types,
where you need to know the GType in order to free them, were not
allowed
in hash tables. In real terms, this was anything which dbus-glib
marshalled to a GPtrArray, so any array of arrays, variants,
structures,
object paths, or other boxed types were not allowed as hash values.
This patch allows a broader range of types to be used as the values in
hash tables, including those where no simple free function is
available.
Instead of relying on the key/value destroy functions, the new
hash_free
function uses g_hash_table_foreach_steal to remove the keys and values
pairwise and free them when the type is known.
Unfortunately, it's part of the API assumptions that hash tables which
were produced through the current API had valid free functions, and
particularly that if the hash table was reffed by the application,
that
the keys/values would persist beyond when dbus-glib had unreffed
it, and
be freed when the hash table was later destroyed. So it's not
sufficient
to use only this new freeing method on all hash tables from now on
- we
have to behave in the old way for all of the previously allowable
types
(including any hash tables which contain any hash tables which were
freeable in the old way).
However, as these new hash tables contain values which will not
be freed
if you manipulate the hash table directly (removing or replacing keys,
or destroying or unreffing it directly), and g_boxed_free should
be used
instead, a false free function is provided to print a critical warning
for the developer in the case that memory would be leaked.
dbus/dbus-gvalue-utils.c | 151
+++++++++++++++++++++++++++++++++++++--
test/core/test-dbus-glib.c | 37 ++++++----
test/core/test-service-glib.xml | 4 +-
3 files changed, 168 insertions(+), 24 deletions(-)
commit 143b09b42d73451dcc3b835f76f8d43da786342a
Author: Robert McQueen
Date: Mon Sep 22 21:40:48 2008 +0100
Bug #17798: add support for 'o', 'g' and 'as' in dictionaries
This teaches the parameterised hash table about how to hash,
compare and
free object paths and signatures, allowing them to be used as
hash keys
and values, and also how to free strvs, so they can be used as values.
Adds some simple test methods which echo a{gas} and a{oas}
dictionaries
back immediately and compare the results.
dbus/dbus-gvalue-utils.c | 29 ++++++++++++
test/core/my-object.c | 16 +++++++
test/core/my-object.h | 4 ++
test/core/test-dbus-glib.c | 96
+++++++++++++++++++++++++++++++++++++++
test/core/test-service-glib.xml | 12 +++++
5 files changed, 157 insertions(+), 0 deletions(-)
commit e4c917189dc9478c261c94703b311e1579292f22
Author: Robert McQueen
Date: Sun Sep 14 21:16:10 2008 +0100
Bug #17797: add support for 'g' type, as a boxed char *
Adds DBUS_G_TYPE_SIGNATURE, which is a boxed type just like
DBUS_G_TYPE_OBJECT_PATH.
dbus/dbus-binding-tool-glib.c | 4 ++
dbus/dbus-glib.h | 3 +
dbus/dbus-gmain.c | 5 ++-
dbus/dbus-gsignature.c | 2 +
dbus/dbus-gvalue.c | 82
++++++++++++++++++++++++++++++++++++++-
test/core/my-object.c | 7 +++
test/core/my-object.h | 1 +
test/core/test-dbus-glib.c | 19 +++++++++
test/core/test-service-glib.xml | 5 ++
9 files changed, 126 insertions(+), 2 deletions(-)
commit f89b8de02f21891f430a2e370c391238b575403a
Author: Robert McQueen
Date: Tue Sep 23 23:45:14 2008 +0300
Bug #17795: depend on Glib 2.10 for hash unref consistency
Commit a8bf32 (for bug #11396) introduced a compile-time version check
for Glib 2.10 which changed whether hash_simple_free called
g_hash_table_unref or g_hash_table_destroy. This is at best useless
for
people who actually wanted to rely on _unref being used instead of
_destroy, because dbus-glib can legitimately be built against older
versions of Glib than that in use by the application itself, and at
worst harmful as applications relying on the _unref semantics
would have
their assumptions violated on platforms where this was the case. Given
in /most/ cases now, Glib 2.10 is readily available, and we were
in this
kinda vague state where people could've used _unref and gotten
away with
it, I'm going to say thats what our ABI is now, and stick to
it. People
can depend on the next version of dbus-glib if they rely on _unref.
configure.ac | 2 +-
dbus/dbus-gvalue-utils.c | 4 ----
2 files changed, 1 insertions(+), 5 deletions(-)
commit 24b94fb83c0d22cf2803af692dd8ccbc485d890c
Author: Robert McQueen
Date: Mon Sep 22 21:25:03 2008 +0100
Bug #17794: make run-test.sh fail when die is called
Missing die() function meant this wasn't returning non-zero even when
tests were failing. Oops.
test/core/run-test.sh | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
commit 3ca014ea6b55cd843f1c80b04a4e0ec41af6210e
Author: Colin Walters
Date: Mon Nov 17 18:30:32 2008 -0500
Bug 18573 - Fix race when service appears and disappears quickly
We can't assert that a for_name_owner proxy is associated when
we disassociate; if a service appears and disappears quickly, we
won't be associated yet. So remove the assertion.
Correspondingly we need to cancel any inflight GetNameOwner call
when disassociating proxies to avoid leaking.
dbus/dbus-gproxy.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
commit 0a883a523f8d133f71271276b755162c56480021
Author: Philip Van Hoof
Date: Thu Sep 18 18:22:59 2008 -0400
Bug 17614: Use g_slice for allocating temporary async call data
Using g_slice is going to be faster.
Signed-off-by: Colin Walters
dbus/dbus-binding-tool-glib.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
commit 4c7e60e3ff4148a181a496f85b491e8cb39d7e46
Author: Colin Walters
Date: Fri Jun 20 14:08:47 2008 -0400
Bug 10373: Use of deprecated API (was used incorrectly)
* dbus/dbus-gvalue.c: The use of dbus_message_iter_get_array_len
here is incorrect; we don't want to allocate a number of pointers
based on the length of the strings. Instead, we now use the
regular
GArray type which handles reallocating as size increases
appropriately.
dbus/dbus-gvalue.c | 25 +++++++++++--------------
1 files changed, 11 insertions(+), 14 deletions(-)
commit 2514b84b3644223653018cd75d0d6e1459a7ab70
Author: Colin Walters
Date: Thu Jun 19 12:47:16 2008 -0400
Bug 16419: stack overflow demarshaling recursive variants
* dbus/dbus-gvalue.h: Add a recursion_depth member.
* dbus/dbus-gvalue.c: Keep track of recursion depth in
_dbus_gvalue_demarshal, cut it off at a default
(right now 32).
* dbus/dbus-gobject.c: Initialize recursion depth.
* dbus/dbus-gproxy.c: Ditto.
* test/core/test-variant-recursion.c: Test the
variant recursion case, make sure the remote site
will throw an error.
* test/core/Makefile.am: Add test-variant-recursion.
dbus/dbus-gobject.c | 2 +
dbus/dbus-gproxy.c | 2 +
dbus/dbus-gvalue.c | 21 ++++++++-
dbus/dbus-gvalue.h | 1 +
test/core/Makefile.am | 6 ++-
test/core/run-test.sh | 1 +
test/core/test-variant-recursion.c | 89
++++++++++++++++++++++++++++++++++++
7 files changed, 119 insertions(+), 3 deletions(-)
commit d1b80d803a0268bd4b3dd5b9a9522230461f2947
Author: Dan Williams
Date: Thu Jun 5 17:57:53 2008 -0400
Bug 16114 [patch] wincaps-to-uscore property names for GetAll()
* dbus/dbus-gobject.c: We need to uscore property names
so that we actually find the right properties.
dbus/dbus-gobject.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
commit 8054025ae498cc586676fd0ed6573828dd0de4a0
Author: Colin Walters
Date: Thu Jun 5 16:05:39 2008 -0400
One final large HACKING update
HACKING | 32 +++++++++++++++++++++++++++++---
1 files changed, 29 insertions(+), 3 deletions(-)
commit d80bc7686a0e5cc7d45d940e8404ac4c8742b8f5
Author: Colin Walters
Date: Thu Jun 5 15:40:35 2008 -0400
Pacify gtk-doc by adding new files
* doc/reference/dbus-glib-undeclared.txt:
* doc/reference/dbus-glib.types: New files
without which gtk-doc complains.
0 files changed, 0 insertions(+), 0 deletions(-)
commit d91cf40b83f7900899fe89cc83a75c82cd4bf833
Author: Colin Walters
Date: Thu Jun 5 15:37:16 2008 -0400
Another HACKING tweak
HACKING | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
commit e4b73986d1b2d6f9badda4656e57023b2c921ff7
Author: Colin Walters
Date: Thu Jun 5 15:37:02 2008 -0400
Bump for development
configure.ac | 2 +-
doc/reference/dbus-glib-undocumented.txt | 20 +++-----------------
2 files changed, 4 insertions(+), 18 deletions(-)
commit 96f144d25c7f3d573684bd50f87d912990f3c589
Author: Colin Walters
Date: Thu Jun 5 15:09:02 2008 -0400
Release 0.76
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 1517f7f395527519402f8b37988de9d4ea24dbc5
Author: Colin Walters
Date: Thu Jun 5 15:08:40 2008 -0400
Document release process
HACKING | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
commit e0dcd92e33e566f9852df94036e74f48af795ea3
Author: Colin Walters
Date: Thu Jun 5 14:55:15 2008 -0400
Update HACKING
HACKING | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
commit 4f776e9db9f299dab96a12a00a6279b6977f6c32
Author: Colin Walters
Date: Thu Jun 5 14:48:18 2008 -0400
Update gtk-doc
doc/reference/dbus-glib-undocumented.txt | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
commit fa46dc8d35de877b8bdcb53f9508252249138bd6
Author: Colin Walters
Date: Thu Jun 5 14:40:09 2008 -0400
Update NEWS
NEWS | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
commit acd44d2ae3069667dbbb8b9c9c8b9c2afcad96d9
Author: Christian Persch
Date: Tue Jun 3 18:01:54 2008 -0400
Bug 16217: generated bindings don't build with
-DG_DISABLE_SINGLE_INCLUDES
* dbus/dbus-binding-tool-glib.c: Only include glib.h
because
individual includes are disallowed.
Signed-off-by: Colin Walters
dbus/dbus-binding-tool-glib.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
commit 1744bf88024756d17f867ab9b86aca25e2b77e64
Author: Colin Walters
Date: Wed May 28 14:11:01 2008 -0400
Remove GConnection tests that assert, since we abort on those
test/core/test-types.c | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
commit a94e11973467e1b2cc43ba1e77b7413655b1dff7
Author: Colin Walters
Date: Wed May 28 00:25:57 2008 -0400
Bug 11671: Don't use well known name in /tmp
This as a side effect fixes the test suite on Solaris.
test/core/peer-client.c | 13 ++++++++++++-
test/core/peer-server.c | 26 ++++++++++++++------------
test/core/run-peer-test.sh | 9 +++------
3 files changed, 29 insertions(+), 19 deletions(-)
commit dceee795d0cdc5889701064ac38d3c64451b02ec
Author: Colin Walters
Date: Tue May 27 23:19:52 2008 -0400
From OpenSUSE: Add return statement in case assertions not enabled
dbus/dbus-gvalue-utils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 681f3ae573b2e00dad5c1193a044a994fc50cf38
Author: Colin Walters
Date: Tue May 27 23:08:59 2008 -0400
Bug 13060: Remove NameOwnerChange matches on unref (Kimmo
Hämäläinen)
dbus/dbus-gproxy.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
commit eef148bdc0f602b0fba09a851c1ca6b55b8bb71c
Author: Colin Walters
Date: Tue May 27 23:01:39 2008 -0400
Bug 15733: Cosmetic fix for removing redundant declarations
dbus/dbus-gtype-specialized.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
commit d043342c41535e610268b9bb2a45143bad0b597d
Author: Colin Walters
Date: Tue May 27 22:56:00 2008 -0400
Bug 12505: Avoid receiving duplicate NameOwnerChanged (Dan Williams)
dbus/dbus-gproxy.c | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
commit 43db9baa4cd0921d2ee830185ab46b4646b4e73b
Author: Colin Walters
Date: Tue May 27 16:49:26 2008 -0400
Bug 10834: Fix error handling path for dbus_g_proxy_end_call_internal
This patch was based initial work by Peter Kjellerstedt.
This patch made obvious the need to correctly handle type
mismatches in demarshal_basic, similarly to what the other
demarshalers are doing.
Also add some tests for error handling.
dbus/dbus-gproxy.c | 25 ++++++++++++++++++++-----
dbus/dbus-gvalue.c | 28 ++++++++++++++++++++++++++++
test/core/test-dbus-glib.c | 29 +++++++++++++++++++++++++++++
3 files changed, 77 insertions(+), 5 deletions(-)
commit dc3bfd517a3bd0e28f4fc2d030ac38bdc848eb86
Author: Colin Walters
Date: Tue May 27 16:36:58 2008 -0400
Fix some test suite memory leaks
test/core/test-dbus-glib.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 167ea555cf3a763d148a69d0af9453b83d70d107
Author: Julien Danjou
Date: Thu Apr 24 14:03:42 2008 +0200
Fix typo in --help print strings
Signed-off-by: Julien Danjou
Signed-off-by: Colin Walters
dbus/dbus-glib-tool.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit c057283a86230904552d5c51623bbce5ab0c9770
Author: Colin Walters
Date: Tue May 27 15:15:35 2008 -0400
Bug 10244: Fix error handling case in parser (William Jon McCann)
We need to return FALSE when handling an error.
dbus/dbus-gparser.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
commit 361dc90eaa269325ddc5dae0003ca11e1d7b811e
Author: Colin Walters
Date: Tue May 27 14:57:20 2008 -0400
Bug 9867: Respect ACLOCAL_FLAGS (Kalle Vahlman)
autogen.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit a8bf32ab8b0e30e0c74e07c58e9bc79a448683b2
Author: Colin Walters
Date: Tue May 27 14:31:58 2008 -0400
Bug 11396: Use g_hash_table_unref if available (Marco Barisione)
This lets users ref hashes with g_hash_table_ref.
dbus/dbus-gvalue-utils.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit ad35bf13f93d18b0b0e8f930ff79af9dcc1c8508
Author: Colin Walters
Date: Tue May 27 14:18:49 2008 -0400
Bug 12675: Handle disconnected connections in calls (Kimmo
Hämäläinen)
dbus/dbus-gproxy.c | 22 +++++++++++++++++++---
1 files changed, 19 insertions(+), 3 deletions(-)
commit f110cd3aa0532ab6cdfb1ee9a19f839700fe32e6
Author: Colin Walters
Date: Tue May 27 13:57:40 2008 -0400
Bug 12857: Balance va_start/va_end in error case (Kimmo Hämäläinen)
dbus/dbus-gparser.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
commit d20c90aab3b0eca8715deaa59877f35a7d4e345e
Author: Colin Walters
Date: Tue May 27 13:54:11 2008 -0400
Bug 12849: Fix use after free (Kimmo Hämäläinen)
dbus/dbus-gvalue.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit fde77bff42fac9ed95869a69acff4f9daab23e04
Author: Colin Walters
Date: Tue May 27 13:35:20 2008 -0400
Bug 16079: Return an error on unknown property
https://bugs.freedesktop.org/show_bug.cgi?id=16079
Previously we just asserted, not very useful.
dbus/dbus-gobject.c | 6 ++++
test/core/test-dbus-glib.c | 62
+++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 67 insertions(+), 1 deletions(-)
commit b26f1887f6907d4c9a1dac013649f28950c6b2d3
Author: Colin Walters
Date: Tue May 27 13:34:55 2008 -0400
Support for monitoring conversation during tests
test/core/run-test.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit b783ce802db01a5370ce70514755e1885f6e6eb1
Author: Colin Walters
Date: Tue May 27 12:39:44 2008 -0400
Also make CRITICAL messages fatal in tests.
test/core/test-dbus-glib.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 8fe656de630e851bc512bbd7e7a6c18c53aecb61
Author: Simon McVittie
Date: Mon Apr 14 12:56:43 2008 +0100
Freeze error ABI at the ABI used in Fedora 8 and Ubuntu gutsy.
This avoids getting a different ABI depending on the version of
libdbus
we're compiled against. fd.o #15430, Debian #476080.
dbus/dbus-glib.h | 34 ++++++++++++++++-
dbus/dbus-gobject.c | 72
++++++++++++++++++++++++++++++++++-
dbus/make-dbus-glib-error-enum.sh | 25 +------------
dbus/make-dbus-glib-error-switch.sh | 29 +-------------
4 files changed, 106 insertions(+), 54 deletions(-)
commit 7fccdc8386d97d8c7e963800b1fbedd47f72b66b
Author: Colin Walters
Date: Mon Mar 31 11:23:29 2008 -0400
Add some docs to dbus_set_g_error.
dbus/dbus-gobject.c | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
commit 34042c4cf2fcf18e101d07e495f9fa5dda99aa58
Merge: df7c2b7 bd53ac9
Author: David Zeuthen
Date: Mon Mar 17 13:11:45 2008 -0400
Merge branch 'master' of
ssh://david@git.freedesktop.org/git/dbus/dbus-glib
commit df7c2b783ed92f33a1bedcba12a9c30fc34ba8d5
Author: David Zeuthen
Date: Mon Mar 17 13:10:47 2008 -0400
add some design advice to dbus_g_proxy_set_default_timeout()
... as requested on the mailing list.
dbus/dbus-gproxy.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
commit bd53ac9f7ef9a6c2c9d1d12af382b1a8a10e9dba
Author: Rob Taylor
Date: Mon Mar 17 15:10:43 2008 +0100
allow namespaced extentions to introspection XML
This allows us to stick namespaced documentation stuff into the
introspection
XML and have dbus-glib not puke on it.
Patch credit goes to Colin Walters.
dbus/dbus-glib-tool.c | 2 +-
dbus/dbus-gparser.c | 40 +++++++++++++++++++++++++++++-----------
2 files changed, 30 insertions(+), 12 deletions(-)
commit cb732d38f78dfb7c1ef73179e798fa4f42fd962e
Author: Rob Taylor
Date: Mon Mar 17 14:26:50 2008 +0100
bump version and dbus dependancy
Bumps version to 0.75. Bumps dbus dependany to 1.1.
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 09b0fc5818812d0167243bae9fd52cdaf67f0af0
Author: David Zeuthen
Date: Sat Mar 15 16:51:48 2008 -0400
Export the recently added GetAll() method on org.fd.DBus.Properties
Because round-trip city is a bad place.
dbus/dbus-gobject.c | 220
+++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 177 insertions(+), 43 deletions(-)
commit bf0c9b3d6adc95863d5b5a4ce6ca994fd7fdc137
Author: David Zeuthen
Date: Sat Mar 15 15:32:56 2008 -0400
Add new function to specify the default timeout for a proxy
Without a function like this the generated client glue code is
unusable for D-Bus methods that take a long time to complete (such as
disk operations like mkfs and partitioning).
Also add some missing _with_timeout functions on DBusGProxy to the gtk
docs.
dbus/dbus-glib.h | 3 ++
dbus/dbus-gproxy.c | 35
++++++++++++++++++++++++++++-
doc/reference/dbus-glib-sections.txt | 3 ++
doc/reference/dbus-glib-undocumented.txt | 15 +++++++++---
4 files changed, 50 insertions(+), 6 deletions(-)
commit 1fa4129f67208e24f6ae5f9ab38a3ee26c521f87
Author: David Zeuthen
Date: Sat Mar 15 15:21:06 2008 -0400
Bump version to 0.75
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 1124256e1a87291101a6c287c1248c2f7276b993
Author: Ross Burton
Date: Wed Feb 27 14:27:49 2008 +0000
Fix incorrect assign in test suite
We were assigning a DBusConnection* to a DBusGConnection*, which
is bad.
test/core/test-types.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit eea8f7247e1cbeb8c00fe316a37520b98acd55dc
Author: Ross Burton
Date: Wed Feb 27 14:22:16 2008 +0000
Use dbus_watch_get_unix_fd not dbus_watch_get_fd
The latter is deprecated, so don't use it.
dbus/dbus-gmain.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2cf62d7ff7d3a7bc450d0b60bb81a8365ffd310b
Author: Ross Burton
Date: Wed Feb 27 14:19:48 2008 +0000
Fix pending call cancelling in proxy dispose
The dispose treated the hash values as DBusGProxyCall objects,
but they are
DBusPendingCall (thanks Dafyd Harries).
dbus/dbus-gproxy.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
commit 8e024ae2252e6e948c28203f07aa416df3dac0b8
Author: Ross Burton
Date: Wed Feb 27 14:02:36 2008 +0000
Unref the connection and message on dbus_g_return_error
dbus/dbus-gobject.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 98423ae4e6b85741ce15f097652620886a49c375
Author: Ross Burton
Date: Tue Nov 13 17:56:37 2007 +0000
Allow daemondir to be configured (#10668)
The daemon can be at any location, and may not be on the path.
Fetch the path
from the pkg-config file and use it if it is set.
Thanks to Brian Cameron for this patch.
configure.ac | 9 +++++++++
tools/Makefile.am | 2 +-
2 files changed, 10 insertions(+), 1 deletions(-)
commit 33b7a7f05372baaaf95d0e1c2c3b758321e4b0c5
Author: Ross Burton
Date: Tue Sep 11 10:52:07 2007 +0100
Update ignores
Add the new tests and *~ to the ignore list.
.gitignore | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
commit 4b2cf9d75f6c315071adc925ec56e3bac3423730
Author: Ross Burton
Date: Tue Sep 11 10:49:49 2007 +0100
Fix bashism
"function" is a bashism, so don't use it.
tools/run-with-tmp-session-bus.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 3f6e2c0c76d3643a1823b5ea7c8f5486a6b448de
Author: Ross Burton
Date: Tue Sep 11 10:37:47 2007 +0100
Fix broken introspection XML
When writing XML for properties a duplicate closing tag was
written. (#8607,
thanks William Jon McCann).
dbus/dbus-gobject.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
commit c08a7f910c4c746ba790375be2d0f0682471cf06
Author: Ross Burton
Date: Tue Sep 11 10:34:07 2007 +0100
Fix build with non-gcc compilers
AIX's compiler and some non-c99 compilers are braindead, massage
the code to
work with them (#11675, thanks Peter O'Gorman).
dbus/dbus-gtype-specialized.c | 4 +++-
dbus/examples/statemachine/statemachine.c | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
commit b2bcb0f3fdf8eaec9257f48dd0a0e2ca03220775
Author: Ross Burton
Date: Tue Sep 11 10:17:12 2007 +0100
Fix bashisms
The test suite used /bin/bash for no good reason, remove all bashisms.
(#11672,
thanks Peter O'Gorman).
test/core/run-peer-test.sh | 4 ++--
test/core/run-test.sh | 18 +++++++++---------
test/interfaces/run-test.sh | 14 +++++++-------
tools/run-with-tmp-session-bus.sh | 9 +++++----
4 files changed, 23 insertions(+), 22 deletions(-)
commit 377831cc8496bf2b3f96e96a44ff4dfc1a6c690e
Author: Ross Burton
Date: Tue Sep 11 10:11:12 2007 +0100
Fix build with Glib 2.6
configure.ac checks for glib 2.6, but the test suite used
g_intern_static_string
which was added in 2.10. This removes the use of that function
because it isn't
required (#11674, thanks Peter O'Gorman).
test/interfaces/test-interfaces.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 2929a9d676b9961abff6c6acb1b67431f7d62ab1
Author: Rob Taylor
Date: Wed Jun 27 11:49:02 2007 +0100
Update version in configure.ac
Update version to 0.74 in configure.ac
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit de33a575aa58867642bcfd8bb8cb2efc631d9f1d
Author: Rob Taylor
Date: Wed Jun 27 11:39:08 2007 +0100
Update NEWS
Update NEWS from git history.
NEWS | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
commit a732cbc211b562660c5a17c898ad032fb8c041fd
Author: Ross Burton
Date: Wed Jun 27 11:05:03 2007 +0100
Sleep after starting the peer server, before starting the peer client.
This fixes random failures due to the race.
test/core/run-peer-test.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 4335b1204a483ffa5c5a72d58b585f77827d852d
Author: Ross Burton
Date: Wed Jun 27 10:58:03 2007 +0100
Update NEWS for pending release.
NEWS | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
commit 0d77d83b7afd5837d4427b7cdc5940f54625b65c
Author: Rob Taylor
Date: Fri Jun 22 17:15:34 2007 +0100
make test/core/run-peer-test.sh executable
0 files changed, 0 insertions(+), 0 deletions(-)
commit 0ba73bf7cf1a2770b7aac8d57e61e755aca45b4d
Author: Ross Burton
Date: Fri Jun 22 15:46:37 2007 +0100
Add missing include.
test/core/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit bf647c411b42064fe48877c30803cbe10d751204
Author: Ross Burton
Date: Fri Jun 22 15:45:57 2007 +0100
Install the type info before creating signals
This fixes the type system warnings from peer-server, because the
types where
used (when creating signals) before they were created. Installing
type info
initialises the types.
test/core/my-object.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit a3a6efda1117633cc8a5525811f6a3ba41f2d31b
Author: Ross Burton
Date: Fri Jun 22 15:28:48 2007 +0100
Init threading first to stop a warning from new GLib.
test/core/peer-client.c | 2 +-
test/core/peer-server.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 36ed523539074a84cd990a8513b5d02a6223c44c
Author: Ross Burton
Date: Fri Jun 22 15:27:18 2007 +0100
Make test script executable
0 files changed, 0 insertions(+), 0 deletions(-)
commit 514fd82183c214e3afd4cca630a20ff24b62e482
Author: Ross Burton
Date: Fri Jun 22 15:25:14 2007 +0100
Remove unused variable.
test/core/run-peer-test.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit d428aa4edf426f662e89f2b08a377b0dd481f3ac
Author: Ross Burton
Date: Fri Jun 22 15:15:37 2007 +0100
Remove the XML documentation support in configure
It isn't used and is legacy from when this was part of dbus itself.
configure.ac | 34 +---------------------------------
1 files changed, 1 insertions(+), 33 deletions(-)
commit 1f385f6b10799cdd0bf57d69d5212ac16ac17266
Author: Ross Burton
Date: Fri Jun 22 15:02:24 2007 +0100
Fix typo in _dbus_gvalue_signals_error (#10837)
It was using g_value_get_boxed() when looking at a object-holding
value. Thanks
to Peter Kjellerstedt for noticing this.
dbus/dbus-gvalue-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 68f03928aaac849dd12e38c01e448b569f578976
Author: Ross Burton
Date: Fri Jun 22 14:41:36 2007 +0100
Update GLib requirement (#10889).
INSTALL | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 58cacc6872e1b8cf365ac056775498b9dede71b4
Author: Rob Taylor
Date: Mon Apr 16 08:23:17 2007 -0700
Document dbus-gtype-specialized
Documents all the functions in dbus-gtype-specialized.c and adds an
overview of the functionality.
dbus/dbus-gtype-specialized.c | 312
+++++++++++++++++++++++++++---
dbus/dbus-gtype-specialized.h | 14 +-
doc/reference/dbus-glib-sections.txt | 2 +-
doc/reference/dbus-glib-undocumented.txt | 38 +---
4 files changed, 304 insertions(+), 62 deletions(-)
commit 26d8584c04c05be29ae35acc3a2e8f573cc79206
Author: Ross Burton
Date: Fri Mar 30 18:12:11 2007 +0100
Add simple test suite for peer objects.
Add a simple test suite for peer proxies. This involved refactoring
the
MyObject class into its own file so that it can be used by multiple
tools. Also
added is a test suite for dbus_connection_get_g_connection.
test/core/Makefile.am | 26 +-
test/core/my-object.c | 737 ++++++++++++++++++++++++++++++++++++
test/core/my-object.h | 104 +++++
test/core/peer-client.c | 127 +++++++
test/core/peer-server.c | 55 +++
test/core/run-peer-test.sh | 9 +
test/core/test-service-glib.c | 832
+----------------------------------------
test/core/test-types.c | 74 ++++
8 files changed, 1129 insertions(+), 835 deletions(-)
commit af91f5e0e2b5a20adf124707356b12da0c2f1e00
Author: Ross Burton
Date: Fri Mar 30 18:05:40 2007 +0100
Support peer-to-peer proxies.
Previously DBus-GLib didn't support peer proxies despite having API
for them.
This patch stops dbus-glib from crashing when you use a peer signal
(#10233).
dbus/dbus-gproxy.c | 35 ++++++++++++++++++-----------------
1 files changed, 18 insertions(+), 17 deletions(-)
commit 25f056826336d4385b5488706f0f1ecc0843bf2f
Author: Ross Burton
Date: Fri Mar 30 17:54:58 2007 +0100
Add dbus_connection_get_g_connection.
Add dbus_connection_get_g_connection, which is useful when you have a
DBusConnection which was originally a DBusGConnection, and want
it back
again.
dbus/dbus-glib-lowlevel.h | 1 +
dbus/dbus-glib.c | 24 ++++++++++++++++++++++++
dbus/dbus-gmain.c | 12 ++++++------
3 files changed, 31 insertions(+), 6 deletions(-)
commit 0c46ca1a20eb8ba676ea2f1e829d039d5e3c383d
Author: Ross Burton
Date: Thu Mar 22 15:04:14 2007 +0000
Stop compiler warnings (#10374).
dbus/dbus-gthread.c | 1 +
test/interfaces/test-server.c | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
commit 72e9f061668a28cbbeae2400290e1993c5d60d3c
Author: Ross Burton
Date: Wed Mar 28 16:32:00 2007 +0100
Fix error handling
dbus/dbus-gproxy.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
commit 9ca04c94ed6ddc2ff7459ce2031740704ec67ff2
Author: Ross Burton
Date: Thu Mar 22 15:38:03 2007 +0000
Handle dbus errors which are not name has no owner
dbus/dbus-gproxy.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 85b269cc7ca221ee4fe0235154e783b3640ee62d
Author: Ross Burton
Date: Thu Mar 22 15:05:02 2007 +0000
Update abstract socket test from dbus
The abstract socket test doesn't cross compile at all, updating the
test from
the original copy in DBus.
configure.ac | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
commit a64b26cdde04e624b2bb42ccadd3fc252bf05667
Author: Ross Burton
Date: Thu Mar 22 15:10:47 2007 +0000
Rename the error quark.
The error quark was copied from GLib, renaming it to be unique.
dbus/dbus-glib.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 5ca3418e8e00f62e3e60578e3951b51cd158f8dc
Author: Rob Taylor
Date: Thu Mar 29 12:44:01 2007 +0100
Update AUTHORS
Correct spelling of S.Nallammai, add Ross Burton, who's been missing
here for quite some time.
AUTHORS | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 7fbd3a1c49614e71a9ff2b3d6e43bf380527301b
Author: Rob Taylor
Date: Thu Mar 29 12:32:46 2007 +0100
Update AUTHORS
I had failed to update AUTHORS in the last couple of releases,
this commit makesit current.
AUTHORS | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
commit f78b90659f32474b7ca56925ddebd88af7f06c86
Author: Rob Taylor
Date: Thu Mar 29 12:20:30 2007 +0100
Update .gitignore
Ignore autoconf errors, autom4te.cache, some new generated files.
.gitignore | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
commit 138e4ce76ae53b86488e12c43db511a838be4fc9
Author: Rob Taylor
Date: Tue Feb 13 14:16:22 2007 +0000
Do libtool versioning.
As we're going to start behaving like a proper library, update
libtool versionsing appropriately for our added api.
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit d19c5c0eac749704af70edffaa1fa0ac70eb9373
Author: Rob Taylor
Date: Tue Feb 13 13:58:38 2007 +0000
Update NEWS
Releasing today..
NEWS | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit e368483363fc920cf2978180f3a9fe6687465807
Author: Rob Taylor
Date: Mon Feb 12 04:23:42 2007 +0000
Update NEWS
Update NEWS, adding fix for bug #9769.
NEWS | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit 814b029d9291199bc9fdd2998c429ee15f243a93
Author: Rob Taylor
Date: Mon Feb 12 04:21:50 2007 +0000
Add pkg-config support for uninstalled use.
Adds dbus-glib-1-uninstalled.pc for use in build environments where
dbus-glib is used as an uninstalled build dependancy. Fix due to
Damien Carbery .
Fixes bug #9769.
configure.ac | 1 +
dbus-glib-1-uninstalled.pc.in | 12 ++++++++++++
2 files changed, 13 insertions(+), 0 deletions(-)
commit 6bcb544eb6bc164e367a0e849b6c41274809401e
Author: Rob Taylor
Date: Fri Feb 9 02:49:57 2007 +0000
Update version in configure.ac
Updates version 0.73 in configure.ac
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit dba710006cb0b25454989f41babc53c12d3fc901
Author: Rob Taylor
Date: Fri Feb 9 02:46:57 2007 +0000
Update NEWS ready for 0.73 release
Updates NEWS with all the changes for 0.73
NEWS | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
commit 133bc8003657169f622d4340360a0e5b15a455de
Author: Rob Taylor
Date: Fri Feb 9 02:21:20 2007 +0000
Allow passing of NULL to strv out arguments.
A nicety for the user, allows passing NULL to strv out arguments as
shorthand for an empty array.
Patch due to Luiz Augusto von Dentz
Fixes bug #8795.
dbus/dbus-gvalue.c | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
commit 5f70d7b59445b634f94469a8c12cf31f8f81fdae
Author: Rob Taylor
Date: Fri Feb 9 02:13:40 2007 +0000
Make uscore_to_wincaps return NULL when passed NULL.
A null pointer dereference occured when uscore_to_wincaps was passed
NULL, which could happen in some cases.
Fixes bug #8318.
dbus/dbus-gobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 678f8e5fdaf5c587547a96b173a5532f14337988
Author: Rob Taylor
Date: Fri Feb 9 02:08:57 2007 +0000
Only respond to NameOwnerChanged if its one of our names.
This fixes a crash due to code in
dbus_g_proxy_manager_replace_name_owner that was dereferencing a
null pointer when the process received a nameownerchanged for an
object not registered with dbus-glib.
Patch by Kimmo Hämäläinen .
Fixes bug #8235.
dbus/dbus-gproxy.c | 29 +++++++++++++++++++----------
1 files changed, 19 insertions(+), 10 deletions(-)
commit 1ce4d3e7324d92d797b7e41e869b1d0ff51f129a
Author: Rob Taylor
Date: Fri Feb 9 01:51:55 2007 +0000
Fix dbus-binding-tool to generate headers usable from C++
Adds a cast that isn't needed in C, but is needed in C++
Thanks to Christian Persch , though his patch had
a typo :)
Fixes bug #6358.
dbus/dbus-binding-tool-glib.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 6d61bad839512dedb62318fd82e2c0b20906d62f
Author: Rob Taylor
Date: Fri Feb 9 01:26:48 2007 +0000
Only require --prefix for server side binding generation
In dbus-binding-tool, only require --prefix for server side
binding generation, as client-side defaults to the useful
org_foo_bar_baz. Also fixes up the help string.
Closes bug #4185
dbus/dbus-glib-tool.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit cb866d68e733e48bd6a6cea21fa4b5ca648d861e
Author: Rob Taylor
Date: Fri Feb 9 00:04:13 2007 +0000
Clarify documentation for dbus_g_method_get_sender.
Adds a note that the caller is responsible for freeing the returned
value.
dbus/dbus-gobject.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit 22bd9971b4ac95f926b577e416f54ec57bb16d2d
Author: Rob Taylor
Date: Thu Feb 8 23:54:33 2007 +0000
Add new API for specifying the timeout in DBusGProxy calls.
This applies the patch from S. Nalliami
to provide new glib API's to allow the user to specify the timeout
parameter for the method calls.
Currently, in the dbus-glib APIs,the timeout value for synchronous
and asynchronous method calls is hard coded as -1(ie.25seconds)
which inhibits the user from specifying shorter or longer timeout
values.The new APIs take the timeout value as an argument and
processes the method calls.
Fixes bug #9832.
dbus/dbus-glib.h | 16 +++++++
dbus/dbus-gproxy.c | 121
++++++++++++++++++++++++++++++++++++++++++++++++----
2 files changed, 128 insertions(+), 9 deletions(-)
commit b226873fdc2e7b98740afb93a7bae675952a29f0
Author: Rob Taylor
Date: Thu Feb 8 23:17:40 2007 +0000
Dont check for libxml2 when expat not found.
There isn't a version of dbus-gloader that works with libxml2, so
this changes configure.ac to not check for libxml2, and error out
if expat isn't found.
configure.ac | 43 ++++---------------------------------------
1 files changed, 4 insertions(+), 39 deletions(-)
commit c51ff16bc93b4741061c362de638ab5e8cace000
Author: Rob Taylor
Date: Thu Feb 8 15:06:08 2007 +0000
Add configure flags --with-introspect-xml
Adds the configure flags --with-introspect-xml, which allows dbus-glib
to be built with pre-generated bus daemons introspection xml (such as
can be gained with dbus-daemon --introspect). This allows dbus-glib to
be built without a running dbus-daemon, useful for embedded systems.
configure.ac | 15 +++++++++++++++
tools/Makefile.am | 5 +++++
2 files changed, 20 insertions(+), 0 deletions(-)
commit c5c0bed2166767162f599958270e92122da3ff2a
Author: Rob Taylor
Date: Thu Feb 8 15:00:17 2007 +0000
update doc/reference/dbus-glib-undocumented.txt
dbus_g_thread_init is now documented.
doc/reference/dbus-glib-undocumented.txt | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
commit c807d408924e9a9bcc7b2eb67b411c25888090ee
Author: Rob Taylor
Date: Mon Jan 8 08:41:11 2007 +0000
Use dbus_threads_init_default() rather than using own threading
primitives.
Modifies dbus_g_threads_init() to just call
dbus_threads_init_default(), which with current dbus gives us full
thread primitives with recursive locking.
Fixes #9259.
dbus/dbus-gthread.c | 143
+++------------------------------------------------
1 files changed, 7 insertions(+), 136 deletions(-)
commit 9bb928331e2ad602728320598698de90c9a246d6
Author: Rob Taylor
Date: Mon Jan 8 08:39:22 2007 +0000
Reduce dependancy to dbus version 0.93, error out if correct version
not found.
In configure.ac, add code to error out if correct version of dbus-1
not found. Also use correct dependancy of 0.93, as this is when the
--introspect flag was introduced to dbus-daemon. Pacth due to Luiz
Augusto von Dentz .
Fixes #8793.
configure.ac | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
commit 79d115030d45fefd96d5ffc7853f80fc454c13b1
Author: Rob Taylor
Date: Sun Jan 7 13:34:26 2007 +0000
Allow dbus and dbus-glib to live in different prefixes
Adds Cflags: -I${includedir}/dbus-1.0 to dbus-glib-1.pc.in.
Fixes #9384.
dbus-glib-1.pc.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 6de547af3bd7d2c8b77464435c45d22bba702cc7
Author: Rob Taylor
Date: Thu Oct 26 10:22:26 2006 +0100
Correct spellings in NEWS
NEWS | 37 +++++++++++++++++++++++--------------
1 files changed, 23 insertions(+), 14 deletions(-)
commit 83f8ed0935c37b3b5668d1a512370a51f73ccc27
Author: Rob Taylor
Date: Wed Oct 25 22:14:02 2006 +0100
Update NEWS for release.
NEWS | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
commit c449668fd2b8b92fde03a83ba76a0eb8bb2a9326
Author: Rob Taylor
Date: Wed Oct 25 21:12:03 2006 +0100
only use -Wfloat-equal if compiler supports it
Closes #7658. Thanks to Jens Granseuer for the patch.
configure.ac | 31 +++++++++++++++++++++++++++----
1 files changed, 27 insertions(+), 4 deletions(-)
commit 505e48a851e38664c45e482b8f75ebbfd27fe278
Author: Rob Taylor
Date: Wed Oct 25 21:00:18 2006 +0100
return NULL from g_return_val_if_fail in dbus_g_proxy_begin_call
Closes #4159.
dbus/dbus-gproxy.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 62acdb49360dfbf994ef38c8e97d9190d30149f3
Author: Rob Taylor
Date: Wed Oct 25 20:26:04 2006 +0100
Add dbus-gidl.h to IGNORE_HFILES for doxygen docs
doc/reference/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 0d9889a99241aebc863237faf8126663c97ae059
Author: Rob Taylor
Date: Wed Oct 25 20:17:55 2006 +0100
Update tools/Makefile.am for new dbus-binding-tool behaviour
tools/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 0aa2db3f6f18bff7d5c62a00f052ca89e21b269f
Author: Rob Taylor
Date: Wed Oct 25 20:03:31 2006 +0100
Remove bashism in make-dbus-glib-error-enum.sh
Closes #6700.
dbus/make-dbus-glib-error-enum.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 74bcfcfbc242325ca470d483817ae37fa8d41f25
Author: Rob Taylor
Date: Wed Oct 25 19:37:12 2006 +0100
Fix introspection when object has exported properties.
dbus-gobject:write_interface was completely broken
Fix thanks to mccann@jhu.edu.
Closes #8607.
dbus/dbus-gobject.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
commit 3647d0df5780967dd505d3c046ab37ada70529bf
Author: Rob Taylor
Date: Wed Oct 25 19:14:50 2006 +0100
Require --prefix in dbus-binding-tool
Closes #4185.
dbus/dbus-glib-tool.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
commit 054c6476495a6f85ae708ed81b9053bf666897b7
Author: Rob Taylor
Date: Wed Oct 25 18:34:49 2006 +0100
Dont shadow index.
Rename useage of index to index_. Thanks stdlib...
Closes #8353.
dbus/dbus-gtype-specialized.c | 12 ++++++------
dbus/dbus-gvalue.c | 14 +++++++-------
2 files changed, 13 insertions(+), 13 deletions(-)
commit d3a494dced8e3f2de111f23ae3fbab6e32f4051a
Author: Rob Taylor
Date: Wed Oct 25 18:27:20 2006 +0100
Fix small leak when marshal_table is destroyed
Closes #6870 with patch from Richard Hult
dbus/dbus-gobject.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
commit 9bfec032a72e7af5945336fecbb9b6e0b6f2de9e
Author: Rob Taylor
Date: Wed Oct 25 18:24:53 2006 +0100
Fixes crash if disposing one DBusGProxy causes another for the
same service
to be unrefed in a destoyed callback.
dbus/dbus-gproxy.c | 14 ++++++++-
test/core/test-dbus-glib.c | 67
++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 78 insertions(+), 3 deletions(-)
commit 53bf71bd852810a271d13a73ba445622616c711c
Author: Rob Taylor
Date: Wed Oct 25 16:41:38 2006 +0100
Bump version to 0.72
and use modern AC_INIT, AM_INIT_AUTOMAKE
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 28a54df202f089a3e00930e36a787c175501be41
Author: Rob Taylor
Date: Wed Oct 25 14:36:25 2006 +0100
Clean generated run-with-tmp-session-bus.conf on make clean
test/core/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit bcf15d72892582c28755563ca63182c198ef8f64
Author: Rob Taylor
Date: Wed Oct 25 14:35:25 2006 +0100
Actually run unit tests and checks when doing make distcheck
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7c21166ef7ce9b370448a39c6c6744813933abee
Author: Rob Taylor
Date: Wed Oct 25 14:33:53 2006 +0100
Use TEST_CORE_SERVICE_BINARY path for core test service file
.../data/valid-service-files/debug-glib.service.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit d6980d9d59edcf14cc1ab5af3945bd740a3f2495
Author: Rob Taylor
Date: Wed Oct 25 14:32:14 2006 +0100
Use dbus-daemon --introspect to generate DBus service introspect xml
tools/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 505f5486f055558934718672f1328b52fab6cd6e
Author: Rob Taylor
Date: Wed Oct 25 14:30:23 2006 +0100
Actually make interfaces tests work
Working interfaces/Makefile.am
Make service file for interfaces test service
Fix up configure.ac appropriately.
Sanitise service/object namespace for interfaces tests
Remove accidentally added test/interfaces/.Makefile.am.sw
configure.ac | 6 ++-
test/interfaces/Makefile.am | 81
++++++++++++++++--------------------
test/interfaces/run-test.sh | 23 +----------
test/interfaces/test-client.c | 22 +++++-----
test/interfaces/test-goodbye.xml | 4 +-
test/interfaces/test-hello.xml | 4 +-
test/interfaces/test-interfaces.c | 4 +-
test/interfaces/test-objects.c | 8 ++--
test/interfaces/test-server.c | 8 ++--
test/interfaces/test-song.xml | 4 +-
10 files changed, 69 insertions(+), 95 deletions(-)
commit 4a479fe9516b141d94e57489f7e624ea6b94cb94
Author: Rob Taylor