summaryrefslogtreecommitdiffstats
path: root/qt
Commit message (Collapse)AuthorAgeFilesLines
* * qt/src/qdbusintegrator.cpp: Fix bug in parsing async methodsThiago Macieira2006-06-123-3/+4
| | | | | | | that took a QDBusMessage parameter. * qt/src/qdbusbus.h: Add a default flag for RequestName. * qt/tools/dbus.cpp: Don't use automatic call because we might be calling an async method: request a reply.
* No changelog: fix distcheck.Thiago Macieira2006-06-111-1/+1
|
* * qt/tools/dbuscpp2xml.cpp: Compile on Windows.Thiago Macieira2006-06-117-48/+77
| | | | | | | | | | | | | | * qt/tools/dbusidl2cpp.cpp: Add missing newline. * qt/examples/Makefile.am: * qt/examples/chat.h: Use UI-generated files with the ui_*.h form. * qt/src/qdbusmarshall.cpp: Allow sending of QString() and QByteArray() (nulls) over the bus. * qt/src/qdbusabstractinterface.cpp: Use the correct variable, the one that has the signature suffix stripped. * qt/src/qdbusreply.h: Make some methods const.
* Patch from Timo Hoenig <thoenig@suse.de>.Thiago Macieira2006-06-093-1/+26
| | | | | | | | | | * qt/dbus/Makefile.am: New file. Fix "make dist", add all headers required during build to EXTRA_DIST. * qt/src/Makefile.am: Fix "make dist", add 'qdbus.h' to EXTRA_DIST. * qt/Makefile.am: Fix "make dist", add 'dbus' to DIST_SUBDIRS. * configure.in: Fix "make dist", take care that the Makefile for qt/dbus is being generated.
* * qt/Makfile.am:Thiago Macieira2006-06-072-2/+2
| | | | | * qt/src/Makefile.am: Fix the EXTRA_DIST after the reorganisation. Thanks to Timo Hoenig for pointing this out.
* * qt/dbus: Add directory. I had forgotten to add thisThiago Macieira2006-06-0549-285/+464
| | | | | | | | | | | | | | | | | | | | | | | | | | yesterday after the move... * qt/examples/Makefile.am: * qt/examples/dbus.cpp: Moved to qt/tools/dbus.cpp. * qt/tools/Makefile.am: * qt/tools/dbus.cpp: Moved from qt/examples/dbus.cpp. Added feature to get and set properties. Added validation of service, object path and interface names. * qt/tools/dbusidl2cpp.cpp: Two new features: 1) Allow specifying both the header and the source file names, by separating them with a colon. 2) Don't write an interface output if the -p switch wasn't given, but the -a was. * qt/src/*: Fix usage of Iterators and ConstIterators. Fix shadowing of variables by other variables (-Wshadow). Fix keyword-cleanliness in headers. Fix ASCII-cast (QLatin1String, QLatin1Char). Fix validation of member names. Add extra checking of introspection data during XML parsing. Various bug fixes.
* * qt/: Update to Subversion r548032.Thiago Macieira2006-06-0453-122/+66937
| | | | | | | | | | This includes a big reorganisation of the files inside the subdir. We really need a version control system that supports moving of files. I'm not bothering with history anyways anymore, since the bindings will be moved out to git. The history should be restored from Subversion when that happens.
* * qt/*: Update the QtDBus bindings up to revision 546310 inThiago Macieira2006-05-2916-428/+961
| | | | | | Subversion. This adds the dbuscpp2xml tool, that parses a C++ header and outputs a D-BUS Introspection XML.
* * qt/qdbusmarshall.cpp: Fix a problem of demarshalling listsThiago Macieira2006-05-071-6/+4
| | | | | | and arrays when they had a single element: has_next returns false, even before you read the element. So, instead, check the array length.
* Same changelog as before: fix debug-mode compilationThiago Macieira2006-05-061-3/+5
|
* * qt/qdbusmessage.cpp:Thiago Macieira2006-05-063-4/+4
| | | | | | * qt/qdbustypehelper_p.h: * qt/qdbusintegrator.cpp: gcc 3.4 doesn't like Q_FOREACH when the list is a const-reference
* * qt/dbusidl2cpp.cpp: There's no callAsync. Use the correctThiago Macieira2006-05-027-121/+199
| | | | | | | | | | | | | | | | | | | call (r535506) * qt/dbusidl2cpp.cpp: * qt/qdbusabstractadaptor.cpp: * qt/qdbusabstractadaptor.h: Make QDBusAdaptorConnector be a sibling of the QDBusAbstractAdaptor objects instead of the parent. (r535848) * qt/dbusidl2cpp.cpp: * qt/qdbusabstractinterface.cpp: * qt/qdbusabstractinterface.h: * qt/qdbusabstractinterface_p.h: * qt/qdbusinterface.cpp: Make properties in interfaces actually work. The code that was generated would not compile, due to moc calls to functions that did not exist. They now shall. (r536571)
* * qt/dbusidl2cpp.cpp: There's no callAsync. Use the correctThiago Macieira2006-04-291-2/+2
| | | | call. (r535506)
* * qt/examples/dbus.cpp: Enhance error messages and useThiago Macieira2006-04-291-22/+41
| | | | QDBusInterfacePtr.
* * qt/qdbusinterface.h: Rename QDBusRef to QDBusInterfacePtrThiago Macieira2006-04-2910-28/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-291-2/+2
| | | | Brad Hards.
* 2005-04-28 Robert McQueen <robot101@debian.org>Robert McQueen2006-04-281-1/+1
| | | | | * qt/Makefile.am: Tweak CLEANFILES from qdbusconnection.moc to qdbusconnection_p.moc.
* * qt/examples/dbus.cpp: Use the new merged-interface mode forThiago Macieira2006-04-231-37/+8
| | | | | the dynamic meta object. No need to guess which interface to call.
* * qt/qdbusconnection_p.h:Thiago Macieira2006-04-238-29/+82
| | | | | | | | | | | | | | * 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.
* * qt/qdbusreply.h: Add default constructor and operator=Thiago Macieira2006-04-234-7/+52
| | | | | | | | | (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)
* * qt/qdbusintegrator.cpp: Work around g++ 3.3 bug.Thiago Macieira2006-04-131-2/+2
| | | | Patch by Stefan Eilers. (r529537)
* * qt/qdbusinternalfilters.cpp: Don't show the parent'sThiago Macieira2006-04-131-1/+1
| | | | contents (r528208)
* * qt/Makefile.am: fix the dependency forThiago Macieira2006-04-101-2/+1
| | | | | | | 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-102-1/+63
| | | | | * qt/examples/Makefile.am: Three ways to list the names on the bus.
* Merge from Subversion:Thiago Macieira2006-04-104-9/+23
| | | | | | | | | | | | | | * 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-2820-0/+1450
| | | | | | | | | | | | | | | | * 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.
* * qt/*:Thiago Macieira2006-03-2841-3622/+4028
| | | | | | | | | | * 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.
* 2006-03-06 Thiago Macieira <thiago.macieira@trolltech.com>Thiago Macieira2006-03-062-0/+885
| | | | | | | | * 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-0632-923/+3584
| | | | | | | * 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-061-0/+1261
| | | | | * qt/Doxyfile: Adding a Doxyfile for the Qt4 bindings dir. This is C++, so we can't use the DBus ones.
* 2006-02-28 Thiago Macieira <thiago.macieira@trolltech.com>Thiago Macieira2006-02-281-34/+33
| | | | | | * 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-25 Thiago Macieira <thiago.macieira@trolltech.com>Thiago Macieira2006-02-251-3/+3
| | | | | * qt/Makefile.am: Patch by Sjoerd Simons. Fix the path to the .lo files taking moc sources.
* 2006-02-20 Thiago Macieira <thiago.macieira@trolltech.com>Thiago Macieira2006-02-207-61/+57
| | | | | | | | | | | | | | | | | * 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-171-1/+1
| | | | | | | | | * 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.
* Merge the changes to the bindings from the KDE Subversion server.Thiago Macieira2006-02-1536-463/+5741
| | | | | | | | | | This is a major change: library is source- and binary-incompatible to what it used to be. All testcases are green, functionality is preserved. It is not feature-complete. Development will continue in the branch in the Subversion server for a while.
* compile on 64-bit systemsHarald Fernengel2006-01-221-2/+2
|
* * test/qt/Makefile.am: build from srcdirdbus-0.60John (J5) Palmieri2005-12-012-4/+5
| | | | | | | | | | * qt/qtconnection.cpp (requestName): Changed PROHIBIT_REPLACE to ALLOW_REPLACE Note - this code is wrong and needs to be fixed by the Qt binding developers. The flags should be treated as bitfields and not enums. * qt/qtconnection.h: Change ProhibitReplace to AllowReplace * dbus/dbus-list.c (link_after): remove #ifdef DBUS_BUILD_TESTS
* bring Qt3 library back. Some apps that are not in the KDE trunk are using it.Harald Fernengel2005-09-301-4/+4
|
* adding an autotest and "dbus-ify" the build process and include schemeHarald Fernengel2005-09-2310-80/+11
|
* whoops...Harald Fernengel2005-09-231-0/+5
|
* With the permission of the original authors, removing the non-working and ↵Harald Fernengel2005-09-2326-1662/+2162
| | | | hopelessly unmaintained old Qt D-BUS bindings and adding the ones from KDE's SVN.
* * Released 0.50dbus-0.50John (J5) Palmieri2005-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Patch from Steve Grubb: - bus/activation.c (bus_activation_service_reload_test): clean up some indentation - dbus/dbus-keyring.c (_dbus_keyring_reload): fix conditional - dbus/dbus-message-factory.c (generate_special): fix a couple of buffer overflows in the test suite. This is non critical because it can not be exploited and this code is only run when doing a make check. * Patch from Yaakov Selkowitz: Build fixes for Cygwin - configure.in: Don't check and link against kdecore, only qt headers - dbus/Makefile.am: Add -no-undefined to libdbus_1_la_LDFLAGS - gcj/org/freedesktop/dbus/Makefile.am: add libdbus_gcj_1_la_LDFLAGS = -no-undefined - glib/Makefile.am: Add -no-undefined to libdbus_glib_1_la_LDFLAGS and $(DBUS_GLIB_LIBS) to dbus_binding_tool_LDADD - qt/Makefile.am: Add -no-undefined to libdbus_qt_1_la_LDFLAGS - tools/Makefile.am: Add platform extentions to binaries (i.e. .exe on windows) * configure.in: - Make it so if no suitable version of python is found we only disable building python instead of exiting the configure script - Require version 2.4 of glib for glib bindings - Up version to 0.50 * python/__init__.py: Sync version with libdbus to (0,50,0)
* * NEWS: Update for 0.31dbus-0.31.0John (J5) Palmieri2005-03-071-6/+16
| | | | | | | | | | | * configure.in: Release 0.31 add LT_CURRENT, LT_REVISION, LT_AGE for easy soname bumping * qt/Makefile.am: fixed build * dbus/Makefile.am: soname bump for libdbus * glib/Makefile.am: soname bump for libdbus-glib
* 2005-01-17 Havoc Pennington <hp@redhat.com>Havoc Pennington2005-01-171-2/+2
| | | | | | | | * dbus/dbus-types.h: hardcode dbus_bool_t to 32 bits * Throughout: modify DBUS_TYPE_BOOLEAN to be a 32-bit type instead of an 8-bit type. Now dbus_bool_t is the type to use whenever you are marshaling/unmarshaling a boolean.
* 2005-01-16 Havoc Pennington <hp@redhat.com>Havoc Pennington2005-01-161-1/+1
| | | | | | | | | | | | | | | | | * Add and fix docs according to Doxygen warnings throughout source. * dbus/dbus-marshal-recursive.c (_dbus_type_reader_array_is_empty): change this to just call array_reader_get_array_len() and make it static * dbus/dbus-message.c (dbus_message_iter_get_element_type): rename from get_array_type (dbus_message_iter_init_append): rename from append_iter_init * dbus/dbus-marshal-recursive.c (_dbus_type_reader_get_element_type): rename from _dbus_type_reader_get_array_type
* 2005-01-15 Havoc Pennington <hp@redhat.com>Havoc Pennington2005-01-151-21/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Land the new message args API and type system. This patch is huge, but the public API change is not really large. The set of D-BUS types has changed somewhat, and the arg "getters" are more geared toward language bindings; they don't make a copy, etc. There are also some known issues. See these emails for details on this huge patch: http://lists.freedesktop.org/archives/dbus/2004-December/001836.html http://lists.freedesktop.org/archives/dbus/2005-January/001922.html * dbus/dbus-marshal-*: all the new stuff * dbus/dbus-message.c: basically rewritten * dbus/dbus-memory.c (check_guards): with "guards" enabled, init freed blocks to be all non-nul bytes so using freed memory is less likely to work right * dbus/dbus-internals.c (_dbus_test_oom_handling): add DBUS_FAIL_MALLOC=N environment variable, so you can do DBUS_FAIL_MALLOC=0 to skip the out-of-memory checking, or DBUS_FAIL_MALLOC=10 to make it really, really, really slow and thorough. * qt/message.cpp: port to the new message args API (operator<<): use str.utf8() rather than str.unicode() (pretty sure this is right from the Qt docs?) * glib/dbus-gvalue.c: port to the new message args API * bus/dispatch.c, bus/driver.c: port to the new message args API * dbus/dbus-string.c (_dbus_string_init_const_len): initialize the "locked" flag to TRUE and align_offset to 0; I guess we never looked at these anyhow, but seems cleaner. * dbus/dbus-string.h (_DBUS_STRING_ALLOCATION_PADDING): move allocation padding macro to this header; use it to implement (_DBUS_STRING_STATIC): ability to declare a static string. * dbus/dbus-message.c (_dbus_message_has_type_interface_member): change to return TRUE if the interface is not set. * dbus/dbus-string.[hc]: move the D-BUS specific validation stuff to dbus-marshal-validate.[hc] * dbus/dbus-marshal-basic.c (_dbus_type_to_string): move here from dbus-internals.c * dbus/Makefile.am: cut over from dbus-marshal.[hc] to dbus-marshal-*.[hc] * dbus/dbus-object-tree.c (_dbus_decompose_path): move this function here from dbus-marshal.c
* 2004-10-29 Colin Walters <walters@redhat.com>Colin Walters2004-10-291-0/+1
| | | | * bus/.cvsignore, qt/.cvsignore: Update.
* patch by Jérôme Lodewyck <lodewyck@clipper.ens.fr> to enable integrationHarald Fernengel2004-09-043-2/+15
| | | | of an existing connection into the Qt main loop
* 2004-08-09 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-08-105-5/+5
| | | | | * COPYING: switch to Academic Free License version 2.1 instead of 2.0, to resolve complaints about patent termination clause.
* 2004-07-06 Colin Walters <walters@redhat.com>Colin Walters2004-07-061-0/+2
| | | | | | | * doc/Makefile.am, qt/Makefile.am: mono/doc/Makefile.am: Allow 'make dist' without doc building of various sorts or QT support enabled.