platform/upstream/dbus.git
18 years agothe recursive locks todo item was a little misleading
Havoc Pennington [Tue, 6 Jun 2006 20:28:57 +0000 (20:28 +0000)]
the recursive locks todo item was a little misleading

18 years ago2005-05-06 Robert McQueen <robot101@debian.org>
Robert McQueen [Tue, 6 Jun 2006 19:45:39 +0000 (19:45 +0000)]
2005-05-06  Robert McQueen  <robot101@debian.org>

* glib/dbus-gvalue-utils.c: Remove duplicated code by having all of
  the iterators use gvalue_take_ptrarray_value (the GValues themselves
  are discarded without unsetting, so it makes no difference whether
  we take or set_static). Remove cases for G_TYPE_POINTER because
  there really is nothing useful we can do with them in our
  specialised types - we *need* boxed copy/free functions at the very
  least.

18 years ago * qt/dbus: Add directory. I had forgotten to add this
Thiago Macieira [Mon, 5 Jun 2006 18:13:07 +0000 (18:13 +0000)]
* qt/dbus: Add directory. I had forgotten to add this
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.

18 years ago * dbus/Makefile.am:
Thiago Macieira [Sun, 4 Jun 2006 16:02:16 +0000 (16:02 +0000)]
* dbus/Makefile.am:
* dbus/qdbus.h: Remove unnecessary file. This is mirrored into
        qt/dbus/qdbus.h now.

18 years ago * configure.in: Make --disable-qt actually do
Thiago Macieira [Sun, 4 Jun 2006 15:53:44 +0000 (15:53 +0000)]
* configure.in: Make --disable-qt actually do
          something. Patch inspired by Zack Rusin.

18 years ago * qt/: Update to Subversion r548032.
Thiago Macieira [Sun, 4 Jun 2006 15:52:05 +0000 (15:52 +0000)]
* qt/: Update to Subversion r548032.
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.

18 years ago * dbus/dbus-sysdeps.c: Make tcp socket connection error somewhat more
Sjoerd Simons [Tue, 30 May 2006 15:34:10 +0000 (15:34 +0000)]
  * dbus/dbus-sysdeps.c: Make tcp socket connection error somewhat more
  clear:
  "Failed to connect to socket <host>:<port> <error>" instead of
  "Failed to connect to socket <host>: <error>:<port>"

  * dbus/dbus-transport-unix.c: Fix crash when no host option is given
  for a tcp transport.

18 years ago * qt/*: Update the QtDBus bindings up to revision 546310 in
Thiago Macieira [Mon, 29 May 2006 18:17:09 +0000 (18:17 +0000)]
    * qt/*: Update the QtDBus bindings up to revision 546310 in
        Subversion.
        This adds the dbuscpp2xml tool, that parses a C++ header and
        outputs a D-BUS Introspection XML.

18 years ago2006-05-21 Havoc Pennington <hp@redhat.com>
Havoc Pennington [Sun, 21 May 2006 05:33:52 +0000 (05:33 +0000)]
2006-05-21  Havoc Pennington  <hp@redhat.com>

* glib/dbus-gproxy.c: Put in a pile of assertions that the proxy name
is not NULL when it shouldn't be. Also a couple of possible fixes
for #4637 though I don't understand why the bug happens, to be
honest... also the object constructor has an assert name != NULL
and the name is only currently NULL for peer-to-peer proxies that
I don't think anyone uses? So it should be asserting.
Anyway, for now at least see if we get an earlier assertion failure.

* glib/dbus-gvalue-utils.c: Put in a couple of assertions for
apparently broken code to be sure the tests fail and someone
will fix them...

18 years ago * qt/qdbusmarshall.cpp: Fix a problem of demarshalling lists
Thiago Macieira [Sun, 7 May 2006 09:36:19 +0000 (09:36 +0000)]
    * qt/qdbusmarshall.cpp: Fix a problem of demarshalling lists
        and arrays when they had a single element: has_next returns
        false, even before you read the element. So, instead, check
        the array length.

18 years agoSame changelog as before: fix debug-mode compilation
Thiago Macieira [Sat, 6 May 2006 10:46:38 +0000 (10:46 +0000)]
Same changelog as before: fix debug-mode compilation

18 years ago * qt/qdbusmessage.cpp:
Thiago Macieira [Sat, 6 May 2006 10:37:59 +0000 (10:37 +0000)]
* qt/qdbusmessage.cpp:
* qt/qdbustypehelper_p.h:
* qt/qdbusintegrator.cpp: gcc 3.4 doesn't like Q_FOREACH when
the list is a const-reference

18 years ago* Adding old doc patch that never got applied
John (J5) Palmieri [Wed, 3 May 2006 22:56:35 +0000 (22:56 +0000)]
* Adding old doc patch that never got applied

* dbus/bus.c (dbus_bus_add_match): Add documentation

* doc/dbus-specification.xml: Add documentation for the match rules
  and the AddMatch and RemoveMatch methods

18 years ago * qt/dbusidl2cpp.cpp: There's no callAsync. Use the correct
Thiago Macieira [Tue, 2 May 2006 14:00:27 +0000 (14:00 +0000)]
* qt/dbusidl2cpp.cpp: There's no callAsync. Use the correct
        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)

18 years agoOops, forgot part of the patch. Same ChangeLog entry.
Thiago Macieira [Sun, 30 Apr 2006 11:07:01 +0000 (11:07 +0000)]
Oops, forgot part of the patch. Same ChangeLog entry.

18 years ago * Makefile.am:
Thiago Macieira [Sun, 30 Apr 2006 10:47:47 +0000 (10:47 +0000)]
    * Makefile.am:
        * configure.in:
        * dbus-qt4-1.pc.in: Add a pkg-config file for libdbus-qt4-1.
Thanks to Brad Hards for providing the patch

18 years ago * qt/dbusidl2cpp.cpp: There's no callAsync. Use the correct
Thiago Macieira [Sat, 29 Apr 2006 17:22:47 +0000 (17:22 +0000)]
    * qt/dbusidl2cpp.cpp: There's no callAsync. Use the correct
        call. (r535506)

18 years ago * qt/examples/dbus.cpp: Enhance error messages and use
Thiago Macieira [Sat, 29 Apr 2006 12:49:21 +0000 (12:49 +0000)]
    * qt/examples/dbus.cpp: Enhance error messages and use
        QDBusInterfacePtr.

18 years ago * qt/qdbusinterface.h: Rename QDBusRef to QDBusInterfacePtr
Thiago Macieira [Sat, 29 Apr 2006 12:44:31 +0000 (12:44 +0000)]
    * qt/qdbusinterface.h: Rename QDBusRef to QDBusInterfacePtr
        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)

18 years ago * qt/qdbusintegrator.cpp: Fix assertion failure spotted by
Thiago Macieira [Sat, 29 Apr 2006 10:07:42 +0000 (10:07 +0000)]
    * qt/qdbusintegrator.cpp: Fix assertion failure spotted by
        Brad Hards.

18 years ago2005-04-28 Robert McQueen <robot101@debian.org>
Robert McQueen [Fri, 28 Apr 2006 21:11:28 +0000 (21:11 +0000)]
2005-04-28  Robert McQueen  <robot101@debian.org>

* 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.

18 years ago2005-04-28 Robert McQueen <robot101@debian.org>
Robert McQueen [Fri, 28 Apr 2006 21:02:16 +0000 (21:02 +0000)]
2005-04-28  Robert McQueen  <robot101@debian.org>

* glib/dbus-gvalue-utils.c: Patch from Jakub Stachowski to fix leaking
of memory from within pointer arrays and lists. Fixes bug #6300.

18 years ago2005-04-28 Robert McQueen <robot101@debian.org>
Robert McQueen [Fri, 28 Apr 2006 20:36:56 +0000 (20:36 +0000)]
2005-04-28  Robert McQueen  <robot101@debian.org>

* glib/dbus-gvalue.c: Patch from Jakub Stachowski to fix a leak in
generating struct signatures. Fixes bug #6083.

18 years ago2005-04-28 Robert McQueen <robot101@debian.org>
Robert McQueen [Fri, 28 Apr 2006 20:09:17 +0000 (20:09 +0000)]
2005-04-28  Robert McQueen  <robot101@debian.org>

* qt/Makefile.am: Tweak CLEANFILES from qdbusconnection.moc
to qdbusconnection_p.moc.

18 years ago2006-04-24 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Mon, 24 Apr 2006 15:28:42 +0000 (15:28 +0000)]
2006-04-24 John (J5) Palmieri <johnp@redhat.com>

* README, INSTALL: Doc fixes
Patch from Brad Hards <bradh at frogmouth.net>

18 years ago * qt/examples/dbus.cpp: Use the new merged-interface mode for
Thiago Macieira [Sun, 23 Apr 2006 19:06:55 +0000 (19:06 +0000)]
* qt/examples/dbus.cpp: Use the new merged-interface mode for
the dynamic meta object. No need to guess which interface to
call.

18 years ago * qt/qdbusconnection_p.h:
Thiago Macieira [Sun, 23 Apr 2006 19:04:53 +0000 (19:04 +0000)]
* qt/qdbusconnection_p.h:
* 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.

18 years ago * dbus/dbus-connection.c: Interfaces are optional in method
Thiago Macieira [Sun, 23 Apr 2006 18:54:47 +0000 (18:54 +0000)]
* dbus/dbus-connection.c: Interfaces are optional in method
        calls, so don't give up if the interface parameter is NULL.
Patch reviewed by Havoc Pennington.

18 years ago * qt/qdbusreply.h: Add default constructor and operator=
Thiago Macieira [Sun, 23 Apr 2006 15:17:28 +0000 (15:17 +0000)]
* qt/qdbusreply.h: Add default constructor and operator=
          (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)

18 years ago2006-04-19 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Wed, 19 Apr 2006 19:08:23 +0000 (19:08 +0000)]
2006-04-19  John (J5) Palmieri  <johnp@redhat.com>

* dbus/dbus-connection.c: Fix asserts
Patch from Tim Moloney <t.moloney at verizon.net>

18 years ago2006-04-19 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Wed, 19 Apr 2006 16:02:24 +0000 (16:02 +0000)]
2006-04-19  John (J5) Palmieri  <johnp@redhat.com>

* mono/Connection.cs, mono/Message.cs: Check Target type
Patch from Aaron Bockover (abockover at novell.com)

18 years ago * INSTALL: fine-tune the requirements for the Qt4 binding.
Thiago Macieira [Mon, 17 Apr 2006 19:31:49 +0000 (19:31 +0000)]
* INSTALL: fine-tune the requirements for the Qt4 binding.

18 years agoAdded support for printing of all remaining data types. Fixed logic for indentation...
Daniel P. Berrange [Sun, 16 Apr 2006 18:14:51 +0000 (18:14 +0000)]
Added support for printing of all remaining data types. Fixed logic for indentation of compound data types.

18 years agoFill out content for INSTALL file with useful info on building DBus & generic Auto...
Daniel P. Berrange [Sun, 16 Apr 2006 17:53:45 +0000 (17:53 +0000)]
Fill out content for INSTALL file with useful info on building DBus & generic Auto* instructions

18 years ago * qt/qdbusintegrator.cpp: Work around g++ 3.3 bug.
Thiago Macieira [Thu, 13 Apr 2006 17:36:03 +0000 (17:36 +0000)]
    * qt/qdbusintegrator.cpp: Work around g++ 3.3 bug.
          Patch by Stefan Eilers. (r529537)

18 years ago * qt/qdbusinternalfilters.cpp: Don't show the parent's
Thiago Macieira [Thu, 13 Apr 2006 17:34:18 +0000 (17:34 +0000)]
    * qt/qdbusinternalfilters.cpp: Don't show the parent's
          contents (r528208)

18 years ago * qt/Makefile.am: fix the dependency for
Thiago Macieira [Mon, 10 Apr 2006 15:38:58 +0000 (15:38 +0000)]
    * qt/Makefile.am: fix the dependency for
          qdbusconnection_p.moc. It's included in qdbusintegrator.cpp,
          not in qdbusconnection.cpp.
          Thanks to Jakub Stachowski <stachowski@hypair.net> for
          spotting this.

18 years ago * qt/examples/listnames.cpp:
Thiago Macieira [Mon, 10 Apr 2006 10:56:50 +0000 (10:56 +0000)]
* qt/examples/listnames.cpp:
* qt/examples/Makefile.am: Three ways to list the names on the
  bus.

18 years ago * test/qt/tst_hal.cpp: Remove the waiting, since it's not
Thiago Macieira [Mon, 10 Apr 2006 10:51:56 +0000 (10:51 +0000)]
* test/qt/tst_hal.cpp: Remove the waiting, since it's not
          needed anymore. Requires Qt 4.1.3 to work properly. (r528148)

18 years ago Merge from Subversion:
Thiago Macieira [Mon, 10 Apr 2006 10:49:36 +0000 (10:49 +0000)]
Merge from Subversion:
* 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)

18 years ago * configure.in qt/Makefile.am: add qt/examples
Thiago Macieira [Tue, 28 Mar 2006 19:16:35 +0000 (19:16 +0000)]
* configure.in qt/Makefile.am: add qt/examples
* 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.

18 years ago * configure.in: Detect QtGui (necessary for one of the
Thiago Macieira [Tue, 28 Mar 2006 19:14:56 +0000 (19:14 +0000)]
* configure.in: Detect QtGui (necessary for one of the
          example programs). Note: this increases the minimum required
          version of Qt to 4.1.3.

18 years ago * test/qt/*: Sync with KDE Subversion revision 523647.
Thiago Macieira [Tue, 28 Mar 2006 18:58:58 +0000 (18:58 +0000)]
* test/qt/*: Sync with KDE Subversion revision 523647.
        Update the testcases to the new API. Remove testcases for
        classes that are no longer public or have been removed.

18 years ago * qt/*:
Thiago Macieira [Tue, 28 Mar 2006 18:56:08 +0000 (18:56 +0000)]
* qt/*:
* 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.

18 years agoPatch from Milosz Derezynski <internalerror at gmail.com>
John (J5) Palmieri [Fri, 17 Mar 2006 03:20:14 +0000 (03:20 +0000)]
Patch from Milosz Derezynski <internalerror at gmail.com>

* configure.in:
  Output the service directory in the configure summary

* dbus-1.pc.in:
  Add session_bus_services_dir

18 years ago2006-03-10 Ross Burton <ross@openedhand.com>
Ross Burton [Fri, 10 Mar 2006 17:29:48 +0000 (17:29 +0000)]
2006-03-10  Ross Burton  <ross@openedhand.com>

        * tools/dbus-print-message.c:
        Add support for object paths and signatures.

18 years ago * bus/bus.c: (bus_context_reload_config): Flush the user database cache on
Sjoerd Simons [Mon, 6 Mar 2006 19:06:45 +0000 (19:06 +0000)]
  * bus/bus.c: (bus_context_reload_config): Flush the user database cache on
   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.

18 years ago2006-03-06 Thiago Macieira <thiago.macieira@trolltech.com>
Thiago Macieira [Mon, 6 Mar 2006 15:27:56 +0000 (15:27 +0000)]
2006-03-06  Thiago Macieira  <thiago.macieira@trolltech.com>

* 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.

18 years ago2006-03-06 Thiago Macieira <thiago.macieira@trolltech.com>
Thiago Macieira [Mon, 6 Mar 2006 14:30:52 +0000 (14:30 +0000)]
2006-03-06  Thiago Macieira  <thiago.macieira@trolltech.com>

* test/qt/*: Update the self-tests.

18 years ago2006-03-06 Thiago Macieira <thiago.macieira@trolltech.com>
Thiago Macieira [Mon, 6 Mar 2006 14:29:39 +0000 (14:29 +0000)]
2006-03-06  Thiago Macieira  <thiago.macieira@trolltech.com>

* 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.

18 years ago2006-03-06 Thiago Macieira <thiago.macieira@trolltech.com>
Thiago Macieira [Mon, 6 Mar 2006 14:28:20 +0000 (14:28 +0000)]
2006-03-06  Thiago Macieira  <thiago.macieira@trolltech.com>

* qt/Doxyfile: Adding a Doxyfile for the Qt4 bindings
        dir. This is C++, so we can't use the DBus ones.

18 years ago2006-03-02 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Thu, 2 Mar 2006 23:28:18 +0000 (23:28 +0000)]
2006-03-02  John (J5) Palmieri  <johnp@redhat.com>

        * python/dbus_bindings.pyx: Remove refrence to sys/cdefs.h
(Patch from Artem Kachitchkine <Artem.Kachitchkin at Sun.COM>)

18 years ago2006-03-02 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Thu, 2 Mar 2006 22:24:28 +0000 (22:24 +0000)]
2006-03-02  John (J5) Palmieri  <johnp@redhat.com>

* 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.

18 years ago2006-02-28 Thiago Macieira <thiago.macieira@trolltech.com>
Thiago Macieira [Tue, 28 Feb 2006 14:19:55 +0000 (14:19 +0000)]
2006-02-28  Thiago Macieira <thiago.macieira@trolltech.com>

* 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.

18 years ago2006-02-26 Havoc Pennington <hp@redhat.com>
Havoc Pennington [Sun, 26 Feb 2006 08:11:03 +0000 (08:11 +0000)]
2006-02-26  Havoc Pennington  <hp@redhat.com>

* 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

18 years ago2006-02-25 Havoc Pennington <hp@redhat.com>
Havoc Pennington [Sun, 26 Feb 2006 01:06:33 +0000 (01:06 +0000)]
2006-02-25  Havoc Pennington  <hp@redhat.com>

* glib/dbus-glib-tool.c (usage): fix up the usage message, someone
should make this thing use the new glib options parser

18 years ago2006-02-25 Thiago Macieira <thiago.macieira@trolltech.com>
Thiago Macieira [Sat, 25 Feb 2006 19:54:56 +0000 (19:54 +0000)]
2006-02-25  Thiago Macieira <thiago.macieira@trolltech.com>

       * qt/Makefile.am: Patch by Sjoerd Simons. Fix the path to the
        .lo files taking moc sources.

18 years ago2006-02-25 Havoc Pennington <hp@redhat.com>
Havoc Pennington [Sat, 25 Feb 2006 18:34:12 +0000 (18:34 +0000)]
2006-02-25  Havoc Pennington  <hp@redhat.com>

* dbus/dbus.h, dbus/Makefile.am: add dbus-signature.h to dbus.h
and install it as a public header

18 years ago- Bump release
John (J5) Palmieri [Fri, 24 Feb 2006 18:20:45 +0000 (18:20 +0000)]
- Bump release

18 years ago2006-02-24 John (J5) Palmieri <johnp@redhat.com> dbus-0.61
John (J5) Palmieri [Fri, 24 Feb 2006 18:18:41 +0000 (18:18 +0000)]
2006-02-24  John (J5) Palmieri  <johnp@redhat.com>

* Released 0.61

2006-02-24  John (J5) Palmieri  <johnp@redhat.com>

* proxies.py: Fix the callchain

18 years ago2006-02-24 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Fri, 24 Feb 2006 16:13:08 +0000 (16:13 +0000)]
2006-02-24  John (J5) Palmieri <johnp@redhat.com>

* 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

18 years agoEmacs is too smart for its own good. Revert its automatic changes.
Thiago Macieira [Mon, 20 Feb 2006 13:30:42 +0000 (13:30 +0000)]
Emacs is too smart for its own good. Revert its automatic changes.

18 years ago2006-02-20 Thiago Macieira <thiago.macieira@trolltech.com>
Thiago Macieira [Mon, 20 Feb 2006 13:23:11 +0000 (13:23 +0000)]
2006-02-20  Thiago Macieira <thiago.macieira@trolltech.com>

* 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.

18 years ago2006-02-16 Robert McQueen <robot101@debian.org>
Robert McQueen [Fri, 17 Feb 2006 00:04:38 +0000 (00:04 +0000)]
2006-02-16  Robert McQueen  <robot101@debian.org>

* 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.

18 years ago2006-02-16 Robert McQueen <robot101@debian.org>
Robert McQueen [Thu, 16 Feb 2006 01:13:04 +0000 (01:13 +0000)]
2006-02-16  Robert McQueen  <robot101@debian.org>

* 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.

18 years ago2006-02-16 Robert McQueen <robot101@debian.org>
Robert McQueen [Thu, 16 Feb 2006 00:43:41 +0000 (00:43 +0000)]
2006-02-16  Robert McQueen  <robot101@debian.org>

* 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.

18 years ago2006-02-16 Robert McQueen <robot101@debian.org>
Robert McQueen [Wed, 15 Feb 2006 23:45:50 +0000 (23:45 +0000)]
2006-02-16  Robert McQueen  <robot101@debian.org>

* 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.

18 years ago* remove line from ChangeLog which was an artifact of an update conflict
John (J5) Palmieri [Wed, 15 Feb 2006 21:44:11 +0000 (21:44 +0000)]
* remove line from ChangeLog which was an artifact of an update conflict

18 years ago2006-02-15 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Wed, 15 Feb 2006 21:42:54 +0000 (21:42 +0000)]
2006-02-15  John (J5) Palmieri  <johnp@redhat.com>

* dbus/dbus-glib.h:
* glib/dbus-gmain.h:
(dbus_g_connection_open): new method for openning
a connection to an arbitrary address in the glib bindings

* ChangeLog: checkin last entry which doesn't seem to be commited

18 years agoAdd new tests and update the existing one.
Thiago Macieira [Wed, 15 Feb 2006 17:06:41 +0000 (17:06 +0000)]
Add new tests and update the existing one.

18 years agoadd dispatch recursion item to TODO
Havoc Pennington [Wed, 15 Feb 2006 16:38:11 +0000 (16:38 +0000)]
add dispatch recursion item to TODO

18 years agoMerge the changes to the bindings from the KDE Subversion server.
Thiago Macieira [Wed, 15 Feb 2006 16:25:12 +0000 (16:25 +0000)]
Merge the changes to the bindings from the KDE Subversion server.

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.

18 years agoUnclutter and upgrade the test to Qt 4.1. We now link to QtXml too.
Thiago Macieira [Wed, 15 Feb 2006 16:21:59 +0000 (16:21 +0000)]
Unclutter and upgrade the test to Qt 4.1. We now link to QtXml too.

18 years ago2006-02-13 Robert McQueen <robot101@debian.org>
Robert McQueen [Mon, 13 Feb 2006 22:30:11 +0000 (22:30 +0000)]
2006-02-13  Robert McQueen  <robot101@debian.org>

* glib/dbus-binding-tool-glib.c, glib/dbus-gmain.c,
glib/dbus-gsignature.c, glib/dbus-gtype-specialized.c,
glib/dbus-gtype-specialized.h, glib/dbus-gvalue-utils.c,
glib/dbus-gvalue-utils.h, glib/dbus-gvalue.c:
Patch from Rob Taylor <rob.taylor@collabora.co.uk> to add a big
missing piece of the glib bindings jigsaw puzzle. This modifies
the existing specialised types to have N type parameters (rather
than the current 1 or 2 for arrays and dictionaries respectively).
You can then use this to get a glib type to represent any arbitrary
D-Bus struct type using dbus_g_type_get_struct. The only
implementation of these types is with GValueArrays as before,
but it's now possible to store these in arrays, emit them in
signals, etc.

18 years ago2006-02-13 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Mon, 13 Feb 2006 21:01:32 +0000 (21:01 +0000)]
2006-02-13  John (J5) Palmieri  <johnp@redhat.com>

* tools/dbus-launch.c: Fixed sh syntax output

18 years ago2006-02-10 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Fri, 10 Feb 2006 22:36:57 +0000 (22:36 +0000)]
2006-02-10  John (J5) Palmieri  <johnp@redhat.com>

* dbus/dbus-signature.c (dbus_signature_iter_recurse): Correctly
deal with nested arrays (Bug #5823) Patch by Thiago Macieira
<thiago.macieira at trolltech.com>

18 years ago2006-02-10 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Fri, 10 Feb 2006 21:47:10 +0000 (21:47 +0000)]
2006-02-10  John (J5) Palmieri  <johnp@redhat.com>

* mono/doc/Makefile.am: Fix parallel make problem with mono-doc
(Bug #4213) Patch from Doug Goldstein <cardoe at gentoo.org>

18 years ago2006-02-10 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Fri, 10 Feb 2006 21:44:15 +0000 (21:44 +0000)]
2006-02-10  John (J5) Palmieri  <johnp@redhat.com>

* bus/connection.c (bus_connections_expect_reply): Make
pending reply limit not common to all connections (Bug #5416)
Patch from Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>

18 years ago2006-02-10 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Fri, 10 Feb 2006 21:28:52 +0000 (21:28 +0000)]
2006-02-10  John (J5) Palmieri  <johnp@redhat.com>

* tools/dbus-launch.c: Fixed csh syntax output (Bug #5720)

18 years ago2006-02-10 John (J5) Palmieri <johnp@redhat.com>
John (J5) Palmieri [Fri, 10 Feb 2006 20:57:10 +0000 (20:57 +0000)]
2006-02-10  John (J5) Palmieri  <johnp@redhat.com>

* gcj/Makefile.am: point to correct jar command (Bug #4529)
patch from Doug Goldstein <cardoe at gentoo.org>

18 years ago2006-02-09 Joe Shaw <joeshaw@novell.com
Joe Shaw [Thu, 9 Feb 2006 19:57:42 +0000 (19:57 +0000)]
2006-02-09  Joe Shaw  <joeshaw@novell.com

* mono/Arguments.cs: Fix a magic number in the mono bindings
that doesn't work on 64 bit arches.  Patch from Peter Johanson.

18 years ago2006-01-27 Robert McQueen <robot101@debian.org>
Robert McQueen [Fri, 27 Jan 2006 16:40:54 +0000 (16:40 +0000)]
2006-01-27  Robert McQueen  <robot101@debian.org>

* glib/dbus-binding-tool-glib.[ch]: Patch based on Ricardo Kekki's
patch to use an annotation org.freedesktop.DBus.GLib.ClientCSymbol
when generating the client-side methods, instead of overloading
CSymbol which broke everything horribly. My apologies.

18 years ago2006-01-27 Robert McQueen <robot101@debian.org>
Robert McQueen [Fri, 27 Jan 2006 15:40:36 +0000 (15:40 +0000)]
2006-01-27  Robert McQueen  <robot101@debian.org>

* glib/dbus-gtype-specialized.[ch], glib/dbus-gvalue-utils.c: Patch
by me and Rob Taylor to add a simple_free function to D-Bus map
and collection types, which allows those types which can be freed
with a GDestroyNotify (such as GHashTables and GArrays, but not
GPtrArrays) to be stored as the values in hashtables.

* test/glib/test-dbus-glib.c, test/glib/test-service-glib.{c,xml}:
Patch by Rob Taylor to add nested dicts to the glib tests to check
the above code works, and appears not to leak when called repeatedly.

18 years ago2006-01-27 Robert McQueen <robot101@debian.org>
Robert McQueen [Fri, 27 Jan 2006 15:15:16 +0000 (15:15 +0000)]
2006-01-27  Robert McQueen  <robot101@debian.org>

* glib/dbus-gvalue.c (demarshal_valuearray): Patch from Rob Taylor
to free a D-Bus allocated string with dbus_free () instead of
g_free ().

18 years ago2006-01-27 Iain Holmes <iain@openedhand.com>
Robert McQueen [Fri, 27 Jan 2006 15:06:55 +0000 (15:06 +0000)]
2006-01-27  Iain Holmes  <iain@openedhand.com>

* glib/dbus-gproxy.c (dbus_g_proxy_dispose): Protect the dispose
method from being called multiple times.

18 years agocompile on 64-bit systems
Harald Fernengel [Sun, 22 Jan 2006 19:45:14 +0000 (19:45 +0000)]
compile on 64-bit systems

18 years agoconvert to QTestLib 4.1
Harald Fernengel [Sun, 22 Jan 2006 19:42:18 +0000 (19:42 +0000)]
convert to QTestLib 4.1

18 years agoallow linking to debug Qt libraries, use QTestLib >= 4.1
Harald Fernengel [Sun, 22 Jan 2006 19:42:00 +0000 (19:42 +0000)]
allow linking to debug Qt libraries, use QTestLib >= 4.1

18 years ago2006-01-19 Robert McQueen <robot101@debian.org>
Robert McQueen [Thu, 19 Jan 2006 02:54:07 +0000 (02:54 +0000)]
2006-01-19  Robert McQueen  <robot101@debian.org>

* glib/dbus-binding-tool-glib.c: Patch from Rob Taylor
<rob.taylor@collabora.co.uk> to add support for generating bindings
to arrays that are represented as GPtrArrays rather than GArrays (ie
size-variable things, such as strings, objects, structs, etc).

18 years ago2006-01-05 Robert McQueen <robot101@debian.org>
Robert McQueen [Thu, 5 Jan 2006 20:22:06 +0000 (20:22 +0000)]
2006-01-05  Robert McQueen  <robot101@debian.org>

* dbus/dbus-glib.h, glib/dbus-gproxy.c: Patch from Ricardo Kekki
<ricardo.kekki@movial.fi> to make it possible to inherit from
DBusGProxy, by splitting the DBusGProxy struct into a public part and
a private part, and moving the setting of the DBusGProxyManager into a
connection property, allowing proper GObject construction.

18 years ago2006-01-05 Robert McQueen <robot101@debian.org>
Robert McQueen [Thu, 5 Jan 2006 20:03:38 +0000 (20:03 +0000)]
2006-01-05  Robert McQueen  <robot101@debian.org>

* glib/dbus-binding-tool-glib.c: Patch from Ricardo Kekki
<ricardo.kekki@movial.fi> to make dbus-binding-tool heed C symbol name
annotations when generating glib client bindings.

18 years ago* dbus/dbus-shared.h: Call it shared constants instead of shared macros
John (J5) Palmieri [Mon, 19 Dec 2005 23:58:22 +0000 (23:58 +0000)]
* dbus/dbus-shared.h: Call it shared constants instead of shared macros

* dbus/dbus-protocol.h: add DOxygen markup to quiet warnings

18 years ago- Add doxygen markup to quite warnings
John (J5) Palmieri [Mon, 19 Dec 2005 23:45:13 +0000 (23:45 +0000)]
- Add doxygen markup to quite warnings

18 years ago* dbus/dbus-macros.h: correct DOxygen end of section (s/}@/@})
John (J5) Palmieri [Mon, 19 Dec 2005 22:06:24 +0000 (22:06 +0000)]
* dbus/dbus-macros.h: correct DOxygen end of section (s/}@/@})

18 years agoAdd documentation on glib client bindings and annotations
Ross Burton [Mon, 19 Dec 2005 18:11:05 +0000 (18:11 +0000)]
Add documentation on glib client bindings and annotations

18 years ago * dbus/bus.c (dbus_bus_release_name): Add documentation
John (J5) Palmieri [Mon, 19 Dec 2005 15:11:51 +0000 (15:11 +0000)]
 * dbus/bus.c (dbus_bus_release_name): Add documentation

18 years ago2005-12-06 Robert McQueen <robot101@debian.org>
Robert McQueen [Tue, 6 Dec 2005 12:38:07 +0000 (12:38 +0000)]
2005-12-06  Robert McQueen  <robot101@debian.org>

* python/service.py: s/sucessful/successful/ so we're allocating to
and reading from the same variable. Oops.

18 years agofix file list in update-dbus-docs.sh
Havoc Pennington [Thu, 1 Dec 2005 05:42:03 +0000 (05:42 +0000)]
fix file list in update-dbus-docs.sh

18 years ago* test/qt/Makefile.am: build from srcdir dbus-0.60
John (J5) Palmieri [Thu, 1 Dec 2005 00:07:20 +0000 (00:07 +0000)]
* test/qt/Makefile.am: build from srcdir

* 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

18 years ago* dbus/dbus-list.c (_dbus_list_insert_after_link, _dbus_list_insert_after):
John (J5) Palmieri [Wed, 30 Nov 2005 21:23:12 +0000 (21:23 +0000)]
* dbus/dbus-list.c (_dbus_list_insert_after_link, _dbus_list_insert_after):
  remove #ifdef DBUS_BUILD_TESTS since we use these methods in production code