1. 16 Sep, 2006 1 commit
    • Havoc Pennington's avatar
      2006-09-16 Havoc Pennington <hp@redhat.com> · e001455a
      Havoc Pennington authored
              Attempt auditing public API to remove all cases where a Unix
      	function returns weird emulated goo to Windows. This probably
      	breaks the bus daemon on Windows, to fix it again we may
      	need to stop processing unix-specific config options on Windows,
      	and may need to add Windows-specific public API or config options.
      	* configure.in (LT_CURRENT, LT_AGE): increment current and age,
      	to reflect added interfaces; should not break soname.
      	* dbus/dbus-transport.c (_dbus_transport_get_is_authenticated): do
      	not invoke unix user function on Windows. Kind of a hacky fix, but
      	we don't want a "unix uid" leaking out on Windows.
      	* dbus/dbus-connection.c (dbus_connection_get_socket): add new API
      	to get the socket fd on Windows or UNIX
      	(dbus_connection_get_unix_fd): make this always fail on Windows
  2. 14 Sep, 2006 1 commit
  3. 13 Sep, 2006 1 commit
  4. 10 Sep, 2006 1 commit
    • Havoc Pennington's avatar
      2006-09-10 Havoc Pennington <hp@redhat.com> · 8e659dac
      Havoc Pennington authored
             patch mostly by Peter Kümmel, bug #8211
      	* dbus/dbus-sysdeps-unix.c: new file, which splits out
      	unix-specific stuff in dbus-sysdeps.c
      	* dbus/dbus-sysdeps.c: don't include any UNIX-only headers,
      	and move unix-specific stuff to dbus-sysdeps-unix.c
      	* configure.in: check HAVE_ERRNO_H
  5. 05 Sep, 2006 2 commits
  6. 25 Aug, 2006 3 commits
  7. 18 Aug, 2006 1 commit
  8. 17 Aug, 2006 1 commit
    • John Palmieri's avatar
      * configure.in: use instead of · da5ff2dc
      John Palmieri authored
              to determine where to store the pid since the init scripts manipulate
              the pid file (patch from Marcelo Ricardo Leitner
              <marcelo dot leitner at terra dot com dot br>.
  9. 10 Aug, 2006 3 commits
  10. 08 Aug, 2006 3 commits
    • John Palmieri's avatar
      * dbus/dbus-sysdeps.h: · d3874114
      John Palmieri authored
      * dbus/dbus-sysdeps.c:
      * dbus/dbus-string.c:
        s/_dbus_printf_length/_dbus_printf_string_upper_bound to comform with
        GLib's function which does the same thing
      * configure.in:
      * bus/Makefile.am:
      * bus/dir-watch-default.c:
      * bus/dir-watch-dnotify.c:
      * bus/dir-watch-kqueue.c:
        Add kqueue directory watching for freebsd and split the directory
        watching code into seperate files per method/arch
        (patches from Timothy Redaelli <drizzt at gufi dotorg>)
    • John Palmieri's avatar
      * configure.in: · aaa432b0
      John Palmieri authored
      * tools/Makefile.am:
      * tools/dbus-launch.c:
      * bus/Makefile.am:
        allow --with-dbus-daemondir switch to be used to make the
        daemon install to a seperate bindir like /usr/libexec
        (patch from Brian Cameron <brian dot cameron at sun dot com)
    • John Palmieri's avatar
      * confifure.in: add a GCC flag check for -Wdeclaration-after-statement · 2c8baa07
      John Palmieri authored
        so we still compile on older gcc (patch from Frederic Peters
        <fpeters at 0d dot be>
  11. 04 Aug, 2006 1 commit
    • John Palmieri's avatar
      * configure.in: add -Wdeclaration-after-statement · 222bd07e
      John Palmieri authored
      * dbus/dbus-connection.c: change all the pending call stuff to
        reflect the fact that pending call operations use the connection
      * dbus/dbus-pending-call.c: add locking here
      * dbus/dbus-errors.c (struct DBusRealError): don't make the name
        field const consistent with how message field is done
  12. 03 Aug, 2006 1 commit
  13. 24 Jul, 2006 1 commit
  14. 21 Jul, 2006 1 commit
  15. 17 Jul, 2006 2 commits
  16. 14 Jul, 2006 1 commit
  17. 09 Jun, 2006 1 commit
    • Thiago Macieira's avatar
      Patch from Timo Hoenig <thoenig@suse.de>. · a0ccd8a2
      Thiago Macieira authored
              * 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
              * 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.
  18. 07 Jun, 2006 1 commit
    • John Palmieri's avatar
      * configure.in: · 3ac2e482
      John Palmieri authored
      * dbus/dbus-userdb-util.c:
      Add Solaris console owner patch from Artem Kachitchkine
  19. 04 Jun, 2006 1 commit
  20. 30 Apr, 2006 1 commit
    • Thiago Macieira's avatar
      * Makefile.am: · ddb47648
      Thiago Macieira authored
              * configure.in:
              * dbus-qt4-1.pc.in: Add a pkg-config file for libdbus-qt4-1.
      	Thanks to Brad Hards for providing the patch
  21. 28 Mar, 2006 2 commits
    • Thiago Macieira's avatar
      * configure.in qt/Makefile.am: add qt/examples · 68b0f523
      Thiago Macieira authored
      	* 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.
    • Thiago Macieira's avatar
      * configure.in: Detect QtGui (necessary for one of the · 26106e12
      Thiago Macieira authored
                example programs). Note: this increases the minimum required
                version of Qt to 4.1.3.
  22. 17 Mar, 2006 1 commit
  23. 24 Feb, 2006 2 commits
  24. 17 Feb, 2006 1 commit
    • Robert McQueen's avatar
      2006-02-16 Robert McQueen <robot101@debian.org> · 4dedbb49
      Robert McQueen authored
      	* 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.
  25. 16 Feb, 2006 1 commit
  26. 15 Feb, 2006 1 commit
  27. 10 Feb, 2006 1 commit
  28. 22 Jan, 2006 1 commit
  29. 22 Nov, 2005 2 commits
    • John Palmieri's avatar
      * configure.in: · caecde62
      John Palmieri authored
      - Change version to 0.60 for impending release
      - upped the sonames because of ABI and API breakage
    • John Palmieri's avatar
      * configure.in: Add test/name-test/Makefile to the generated · 1a163e76
      John Palmieri authored
      	Makefile list
      	* dbus/dbus-shared.h (#define DBUS_NAME_FLAG_ALLOW_REPLACEMENT):
      	New flag which replaces DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT
      	(#define DBUS_NAME_FLAG_DO_NOT_QUEUE): New flag for specifying
      	not to queue an ower if it can't be the primary owner
      	* bus/bus.h: Add new internal BusOwner struct
      	* bus/driver.c (bus_driver_handle_hello): Send flags (0 for default)
      	to bus_registry_ensure and don't set the prohibit_replacement flag
      	since they are now set per BusOwner and not per name.
      	(bus_driver_handle_list_queued_owners): bus method (ListQueuedOwners)
      	that returns the list of connections in a name's connection queue
      	* bus/services.c (struct BusService): remove prohibit_replacement field
      	(struct BusOwner): new struct for keeping track of queued connections
      	and their associated flags for the queue
      	(struct BusRegistry): add a BusOwner memory pool
      	(bus_registry_new): initialize the BusOwner memory pool
      	(bus_registry_unref): free the BusOwner memory pool
      	(_bus_service_find_owner_link): new internal method for
      	searching the queue for a specific connection
      	(bus_owner_set_flags): new method for adding setting the flags on a
      	bus owner
      	(bus_owner_new): new method that creates a BusOwner object from the
      	pool and sets its flags
      	(bus_owner_ref, bus_owner_unref): ref counting for BusOwner objects
      	(bus_registry_ensure): Add the flags parameter
      	(bus_registry_acquire_service): Switch from using raw connections to
      	using the BusOwner struct
      	Add new state machine for dealing with the new set of flags
      	(bus_registry_set_service_context_table, struct OwnershipCancelData,
      	cancel_ownership, free_ownership_cancel_data,
      	add_cancel_ownership_to_transaction, struct OwnershipRestoreData,
      	restore_ownership, free_ownership_restore_data,
      	add_restore_ownership_to_transaction): Switch to using BusOwner
      	instead of raw connections
      	(bus_service_add_owner): Add flags parameter
      	Switch to using BusOwner instead of raw connections
      	Add state machine for dealing with the new set of flags
      	(bus_service_swap_owner): Swaps the first and second owners in the
      	queue.  Used to make sure proper signals are sent when a service looses
      	or gains primary ownership.  We never insert an owner at the top of the
      	queue.  Instead we insert it in the second position and then swap.
      	(bus_service_remove_owner): Remove the owner from the queue sending
      	out the NameLost and NameOwnerChanged signals if the we were the
      	primary owner
      	(bus_service_get_primary_owners_connection): New method that extracts
      	the connection from the primary owner
      	(bus_service_get_primary_owner): Returns the BusOwner instead of the
      	(bus_service_get_allow_replacement): Changed from the old
      	bus_service_get_prohibit_replacement method.  Checks the flags of the
      	primary owner and returns if it can be replaced or not
      	(bus_service_set_prohibit_replacement): removed
      	(bus_service_has_owner): returns TRUE if and owner with
      	the specified connection exists in the queue
      	* dbus/dbus-bus.c (dbus_bus_connection_get_unique_name): New helper
      	method that only compiles if tests are enabled.  Allows us to get the
      	unique name of a connection so we can check it against the queue when
      	doing regression tests
      	* bus/activation.c (bus_activation_send_pending_auto_activate),
      	bus/dispatch.c (bus_dispatch),
      	bus/driver.c (bus_driver_handle_get_service_owner,
      	bus/signals.c (connection_is_primary_owner):
      	use bus_service_get_primary_owners_connection instead of
      	* dbus/dbus-sysdeps.c (_dbus_connect_unix_socket,
      	_dbus_listen_unix_socket): Calculate the length of the socket
      	path and use that instead of using a fixed length which was
      	causing socket names to contain many trailing Nul bytes.
      	* dbus/dbus-glib-lowlevel.h, glib/dbus-gobject.c
      	(dbus_g_method_get_sender): New method for extracting the sender
      	from a DBusGMethodInvocation
      	(dbus_g_method_return_get_reply): changed name to
      	(dbus_g_method_return_send_reply): changed name to
      	dbus_g_method_send reply
      	* doc/dbus-specification.xml: New docs that describe how the new
      	queueing system works and talks about the changes to the how
      	we specify socket names
      	* glib/examples/example-service.c,
      	Changed the RequestName flags to the new system
      	* test/name-test/ (test-names.c, run-test.sh, Makefile.am): New
      	regression test suite for testing various states of the new
      	queueing system