summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * qt/examples/dbus.cpp: Enhance error messages and useThiago Macieira2006-04-292-22/+46
| | | | QDBusInterfacePtr.
* * qt/qdbusinterface.h: Rename QDBusRef to QDBusInterfacePtrThiago Macieira2006-04-2911-28/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and disable the copy operators. (r533772, r534746) * qt/qdbuserror.h: Remove the automatic cast to bool. (r533929) * qt/qdbusabstractinterface.cpp: * qt/qdbusabstractinterface.h: Change the default call mode to not use the event loop. Add convenience call() methods that take a CallMode parameter. (r534042) * qt/qdbusconnection.h: Change the default call mode to not use the event loop. (r534042) * qt/qdbusinterface.cpp: * qt/qdbusinterface.h: Add a method to tell us if the interface is valid (since we don't return a null pointer anymore) (r534099) * qt/qdbusinterface_p.h: Don't crash if metaObject is 0 (r534101) * qt/qdbusinternalfilters.cpp: Decouple the introspection function in two so taht we get the chance to introspect without having a QDBusMessage (r534102) * qt/qdbusbus.h: * qt/qdbusconnection.cpp: * qt/qdbusconnection_p.h: * qt/qdbusintegrator.cpp: Keep a list of our own names to avoid a round-trip to the server when attempting to introspect one of our own objects. Also make sure the filter functions match the empty interface as well. (r534108) Don't keep the connection names. Instead, trust the unique connection name (r534111) Remove event loop usage (r534112)
* * qt/qdbusintegrator.cpp: Fix assertion failure spotted byThiago Macieira2006-04-292-2/+7
| | | | Brad Hards.
* 2005-04-28 Robert McQueen <robot101@debian.org>Robert McQueen2006-04-282-7/+28
| | | | | | * glib/dbus-gproxy.c: Fix properties so that they can be given in any order, making it easier for people who inherit from this object.
* 2005-04-28 Robert McQueen <robot101@debian.org>Robert McQueen2006-04-282-6/+61
| | | | | * glib/dbus-gvalue-utils.c: Patch from Jakub Stachowski to fix leaking of memory from within pointer arrays and lists. Fixes bug #6300.
* 2005-04-28 Robert McQueen <robot101@debian.org>Robert McQueen2006-04-282-3/+11
| | | | | * glib/dbus-gvalue.c: Patch from Jakub Stachowski to fix a leak in generating struct signatures. Fixes bug #6083.
* 2005-04-28 Robert McQueen <robot101@debian.org>Robert McQueen2006-04-282-2/+7
| | | | | * qt/Makefile.am: Tweak CLEANFILES from qdbusconnection.moc to qdbusconnection_p.moc.
* 2006-04-24 John (J5) Palmieri <johnp@redhat.com>John (J5) Palmieri2006-04-243-13/+42
| | | | | * README, INSTALL: Doc fixes Patch from Brad Hards <bradh at frogmouth.net>
* * qt/examples/dbus.cpp: Use the new merged-interface mode forThiago Macieira2006-04-232-37/+14
| | | | | the dynamic meta object. No need to guess which interface to call.
* * qt/qdbusconnection_p.h:Thiago Macieira2006-04-239-29/+97
| | | | | | | | | | | | | | * qt/qdbusmetaobject.cpp: * qt/qdbusmetaobject_p.h: * qt/qdbusintegrator.cpp: Use the new merged-interface mode for the dynamic meta object. No need to guess which interface to call. * qt/qdbusabstractinterface_p.h: * qt/qdbusconnection.cpp: * qt/qdbusintegrator.cpp: * qt/qdbusinterface.cpp: * qt/qdbusinterface.h: Make findInterface always return a non-null pointer. Add a QDBusRef that looks and behaves like DCOPRef.
* * dbus/dbus-connection.c: Interfaces are optional in methodThiago Macieira2006-04-232-3/+8
| | | | | calls, so don't give up if the interface parameter is NULL. Patch reviewed by Havoc Pennington.
* * qt/qdbusreply.h: Add default constructor and operator=Thiago Macieira2006-04-235-7/+62
| | | | | | | | | (r532625) * qt/qdbustypehelper_p.h: Use a clean namespace: no foreach() in public headers (r532952) * qt/qdbusabstractinterface.cpp: * qt/qdbusabstractinterface_p.h: Add the AutoDetect mode and make it the default (r532951)
* 2006-04-19 John (J5) Palmieri <johnp@redhat.com>John (J5) Palmieri2006-04-192-2/+9
| | | | | * dbus/dbus-connection.c: Fix asserts Patch from Tim Moloney <t.moloney at verizon.net>
* 2006-04-19 John (J5) Palmieri <johnp@redhat.com>John (J5) Palmieri2006-04-193-2/+7
| | | | | * mono/Connection.cs, mono/Message.cs: Check Target type Patch from Aaron Bockover (abockover at novell.com)
* * INSTALL: fine-tune the requirements for the Qt4 binding.Thiago Macieira2006-04-172-2/+11
|
* Added support for printing of all remaining data types. Fixed logic for ↵Daniel P. Berrange2006-04-162-56/+140
| | | | indentation of compound data types.
* Fill out content for INSTALL file with useful info on building DBus & ↵Daniel P. Berrange2006-04-162-0/+288
| | | | generic Auto* instructions
* * qt/qdbusintegrator.cpp: Work around g++ 3.3 bug.Thiago Macieira2006-04-132-4/+9
| | | | Patch by Stefan Eilers. (r529537)
* * qt/qdbusinternalfilters.cpp: Don't show the parent'sThiago Macieira2006-04-132-1/+6
| | | | contents (r528208)
* * qt/Makefile.am: fix the dependency forThiago Macieira2006-04-102-2/+10
| | | | | | | qdbusconnection_p.moc. It's included in qdbusintegrator.cpp, not in qdbusconnection.cpp. Thanks to Jakub Stachowski <stachowski@hypair.net> for spotting this.
* * qt/examples/listnames.cpp:Thiago Macieira2006-04-103-1/+68
| | | | | * qt/examples/Makefile.am: Three ways to list the names on the bus.
* * test/qt/tst_hal.cpp: Remove the waiting, since it's notThiago Macieira2006-04-102-3/+8
| | | | needed anymore. Requires Qt 4.1.3 to work properly. (r528148)
* Merge from Subversion:Thiago Macieira2006-04-105-9/+38
| | | | | | | | | | | | | | * qt/qt-dbus.qdocconf: Update Trolltech's webpage link to something that exists (r526315) * qt/qdbusinternalfilters.cpp: Correctly detect non-scriptable slots/signals (r526316) * qt/qdbusinternalfilters.cpp: Fix the setProperty call and also return an unknown-method error if the parameters don't match for org.freedesktop.DBus.Properties. (r526842) * qt/examples/dbus.cpp: Allow passing of QVariants (r526843) * qt/qdbusintegrator.cpp: Restore the proper order of delivery: don't make method returns be delivered on priority (r528150)
* * configure.in qt/Makefile.am: add qt/examplesThiago Macieira2006-03-2822-0/+1468
| | | | | | | | | | | | | | | | * qt/examples: Add QtDBus example programs: - hello: Hello, World - ping: Simple method-calling program - pong: Simple object-exporting program (not using adaptors) - complexping: Interactive method-calling program (also gets and sets properties). - complexpong: Sample program exporting methods, signals and properties, using adaptors. - dbus: Simple implementation of a generic method-calling program, similar to 'dbus-send', but with semantics similar to 'dcop'. - chat: Simplistic chat program, implemented using signals and the system bus. Looks like IRC.
* * configure.in: Detect QtGui (necessary for one of theThiago Macieira2006-03-282-3/+31
| | | | | example programs). Note: this increases the minimum required version of Qt to 4.1.3.
* * test/qt/*: Sync with KDE Subversion revision 523647.Thiago Macieira2006-03-2811-1483/+843
| | | | | Update the testcases to the new API. Remove testcases for classes that are no longer public or have been removed.
* * qt/*:Thiago Macieira2006-03-2843-3629/+4044
| | | | | | | | | | * dbus/qdbus.h: Sync with KDE Subversion revision 523647. Hopefully, this will be the last of the source-incompatible changes. Documentation has been improved; support for QList<basic-types> has been added; QDBusObject is gone; QDBus(Abstract)Interface is now a QObject with auto-generated meta-object; QDBusIntrospection is marked private, since QMetaObject can be used now; lots of bugfixes.
* Patch from Milosz Derezynski <internalerror at gmail.com>John (J5) Palmieri2006-03-173-0/+12
| | | | | | | | * configure.in: Output the service directory in the configure summary * dbus-1.pc.in: Add session_bus_services_dir
* 2006-03-10 Ross Burton <ross@openedhand.com>Ross Burton2006-03-102-3/+26
| | | | | * tools/dbus-print-message.c: Add support for object paths and signatures.
* * bus/bus.c: (bus_context_reload_config): Flush the user database cache onSjoerd Simons2006-03-067-3/+49
| | | | | | | | | | | config reload. * bus/dbus-daemon.1.in: Also note that SIGHUP flushes the user/group information caches * dbus/dbus-hash.c: (_dbus_hash_table_remove_all): * dbus/dbus-hash.h: Add function to remove all entries from a hash table * dbus/dbus-userdb.c: (_dbus_user_database_flush): * dbus/dbus-userdb.h: Add function to flush all user/group information caches.
* 2006-03-06 Thiago Macieira <thiago.macieira@trolltech.com>Thiago Macieira2006-03-063-0/+893
| | | | | | | | * qt/dbusidl2cpp.cpp: * qt/Makefile.am: add the dbusidl2cpp tool, the replacement for dcopidl2cpp, found in the KDE installations (or the more modern kalyptus): generate Qt4 C++ code for the input XML introspection. Currently no IDL parsing.
* 2006-03-06 Thiago Macieira <thiago.macieira@trolltech.com>Thiago Macieira2006-03-0612-241/+1298
| | | | * test/qt/*: Update the self-tests.
* 2006-03-06 Thiago Macieira <thiago.macieira@trolltech.com>Thiago Macieira2006-03-0634-925/+3605
| | | | | | | * qt/*: * dbus/qdbus.h: Sync with KDE Subversion revision 516237. This represents the first feature-complete version of the Qt4 bindings since I took ove maintainership.
* 2006-03-06 Thiago Macieira <thiago.macieira@trolltech.com>Thiago Macieira2006-03-062-0/+1266
| | | | | * qt/Doxyfile: Adding a Doxyfile for the Qt4 bindings dir. This is C++, so we can't use the DBus ones.
* 2006-03-02 John (J5) Palmieri <johnp@redhat.com>John (J5) Palmieri2006-03-022-3/+5
| | | | | * python/dbus_bindings.pyx: Remove refrence to sys/cdefs.h (Patch from Artem Kachitchkine <Artem.Kachitchkin at Sun.COM>)
* 2006-03-02 John (J5) Palmieri <johnp@redhat.com>John (J5) Palmieri2006-03-025-22/+186
| | | | | | | | | | | | | | | * dbus/dbus-connection.c: (_dbus_connection_block_pending_call): Check to see if our data has already been read off the connection by another blocking pending call before we block in poll. (check_for_reply_and_update_dispatch_unlocked): Code taken from _dbus_connection_block_pending_call - checks for an already read reply and updates the dispatch if there is one. * test/name-test/test-pending-call-dispatch.c: New test for making sure we don't get stuck polling a dbus connection which has no data on the socket when blocking out of order on two or more pending calls.
* 2006-02-28 Thiago Macieira <thiago.macieira@trolltech.com>Thiago Macieira2006-02-282-34/+39
| | | | | | * qt/Makefile.am: Patch by Sjoerd Simons. More .moc issues: make/automake don't detect that we're talking about the same .lo file if I specify the full path to the source files.
* 2006-02-26 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-02-263-7/+23
| | | | | | | | * bus/dbus-daemon.1.in: improve the language in a couple spots I noticed * dbus/dbus-bus.c (internal_bus_get): in the error message if the session bus variable is unset, suggest "man dbus-launch" and "man dbus-daemon" to figure out how to fix the problem
* 2006-02-25 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-02-262-1/+6
| | | | | * glib/dbus-glib-tool.c (usage): fix up the usage message, someone should make this thing use the new glib options parser
* 2006-02-25 Thiago Macieira <thiago.macieira@trolltech.com>Thiago Macieira2006-02-252-3/+8
| | | | | * qt/Makefile.am: Patch by Sjoerd Simons. Fix the path to the .lo files taking moc sources.
* 2006-02-25 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-02-254-2/+8
| | | | | * dbus/dbus.h, dbus/Makefile.am: add dbus-signature.h to dbus.h and install it as a public header
* - Bump releaseJohn (J5) Palmieri2006-02-241-1/+1
|
* 2006-02-24 John (J5) Palmieri <johnp@redhat.com>dbus-0.61John (J5) Palmieri2006-02-244-52/+76
| | | | | | | | * Released 0.61 2006-02-24 John (J5) Palmieri <johnp@redhat.com> * proxies.py: Fix the callchain
* 2006-02-24 John (J5) Palmieri <johnp@redhat.com>John (J5) Palmieri2006-02-244-12/+23
| | | | | | | | | | | * patch from Sjoerd Simons <sjoerd at debian.org>: * dbus/dbus-sysdeps-util.c (_dbus_group_info_free): Moved to dbus/dbus-sysdeps.c * dbus/dbus-userdb.c (_dbus_group_info_free_allocated): Don't call _dbus_group_info_free_allocated which causes infinite loop, correctly call _dbus_group_info_free
* Emacs is too smart for its own good. Revert its automatic changes.Thiago Macieira2006-02-201-5/+5
|
* 2006-02-20 Thiago Macieira <thiago.macieira@trolltech.com>Thiago Macieira2006-02-208-66/+79
| | | | | | | | | | | | | | | | | * qt/qdbusinterface_p.h: * qt/qdbusinterface.cpp: Use the standard org.freedesktop.DBus.Method.NoReply annotation for the "async" calls instead of creating one for us. * qt/qdbusconnection_p.h: * qt/qdbusintegrator.cpp: Remove debugging code. * qt/qdbusintegrator.cpp: * qt/qdbusmessage.cpp: * qt/qdbusmessage_p.h: * qt/qdbusmessage.h: Change the behaviour of automatic reply-sending: now a reply is always sent, unless the caller didn't request one or if the user slot has already sent one.
* 2006-02-16 Robert McQueen <robot101@debian.org>Robert McQueen2006-02-173-7/+28
| | | | | | | | | * configure.in: Patch from Debian packages by Sjoerd Simons <sjoerd@debian.org> to add --with-qt-moc and --with-qt3-moc arguments so it's possible to build both bindings in the same tree. * qt/Makefile.am: Fix truncated value so that make dist works.
* 2006-02-16 Robert McQueen <robot101@debian.org>Robert McQueen2006-02-163-38/+46
| | | | | | | * acinclude.m4, configure.in: Patch from Brad Hards <bradh@frogmouth.net> to avoid warnings from autoconf 1.9 by improving quoting, re-ordering a few checks, and a few other aesthetic tidy-ups.
* 2006-02-16 Robert McQueen <robot101@debian.org>Robert McQueen2006-02-165-5/+46
| | | | | | | | | | | | | | | | | | | | | | | * dbus/dbus-message.c (dbus_message_iter_get_fixed_array): Patch from Rob Taylor <rob.taylor@collabora.co.uk> to correct a bogus assertion that the next element to read from the iter is fixed in size. This is not the case when you are at the end of the iter, because the next element type is INVALID. * dbus/dbus-string.c (_dbus_string_init_const_len): Correct a a bogus assert which means that you may not initialise a 0-length string unless you provide a non-NULL pointer. This prevented you from marshalling messages containing zero-length arrays in some cases. * glib/dbus-gvalue.c (demarshal_collection_array): Another patch from Rob to correct bogus asserts when trying to demarshal an array and get_fixed_array got you 0 elements. Append nothing to the GArray in this case. * test/glib/test-dbus-glib.c: Add a test case for round-tripping an empty array via the glib bindings. Without all of the above patches, this new test fails.
* 2006-02-16 Robert McQueen <robot101@debian.org>Robert McQueen2006-02-155-11/+42
| | | | | | | | | | | | | | * glib/dbus-gmain.c: Make the previous commit compile. * python/_dbus.py, python/matchrules.py: Patch from Ole Andre Ravnaas <ole.andre.ravnaas@collabora.co.uk> to allow you to specify sender_keyword="foo", path_keyword="bar" when adding a signal listener, so that you can bind to signals generically but still do something useful in your callback. * python/dbus_bindings.pyx: Demarshal the byte type as unsigned chars so that they're not cast to chars and made negative. Thanks to Jakub Stachowski for reporting this and testing the fix.