1. 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>.
  2. 10 Aug, 2006 3 commits
  3. 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>
  4. 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
  5. 03 Aug, 2006 1 commit
  6. 24 Jul, 2006 1 commit
  7. 21 Jul, 2006 1 commit
  8. 17 Jul, 2006 2 commits
  9. 14 Jul, 2006 1 commit
  10. 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.
  11. 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
  12. 04 Jun, 2006 1 commit
  13. 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
  14. 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.
  15. 17 Mar, 2006 1 commit
  16. 24 Feb, 2006 2 commits
  17. 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.
  18. 16 Feb, 2006 1 commit
  19. 15 Feb, 2006 1 commit
  20. 10 Feb, 2006 1 commit
  21. 22 Jan, 2006 1 commit
  22. 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
  23. 14 Nov, 2005 1 commit
    • David Zeuthen's avatar
      2005-11-14 David Zeuthen <davidz@redhat.com> · 5e948ff7
      David Zeuthen authored
              Patch from Timo Hoenig <thoenig@suse.de>.
              * bus/bus.c: I've recently investigated why the automatic reload
              of configuration files does not work as expected.
              Currently, reloading configuration files does only work when
              running dbus-daemon with --nodaemon.  If we are running as daemon
              we're hitting a dnotify bug once we fork the process.
              We're initializing the dnotify fds before calling fork().  Once
              the child process forked it does still have the fds (and they
              still show up in /proc/`pidof dbus-daemon`/fd/) but we're not
              getting SIGIO as changes are made to the configuration files.
              The attached patch moves the initialization of the dnotify fds to
              process_config_postinit().  This is safe for all current code
              paths and solves the dnotify disfunction.  If we're running
              dbus-daemon as daemon the fds for dnotify are now being
              initialized after fork() for the child process.
              * configure.in: The current configure.in check for dnotify probes
              'x$target_os' for being 'xlinux-gnu'.  I've changed the check to
              match for 'xlinux', too. Additionally I have adapted the configure
              option's style to match with the others.
  24. 20 Oct, 2005 1 commit
  25. 13 Oct, 2005 1 commit
  26. 12 Oct, 2005 1 commit
    • John Palmieri's avatar
      patches from Michael Krivoruchko <misha at sun.com>: · 8d2fe987
      John Palmieri authored
      * dbus/dbus-connection.c (_dbus_connection_queue_received_message_link,
      _dbus_connection_pop_message_link_unlocked): handle the case when path
      is NULL when calling _dbus_verbose
      * configure.in: check for functions getpeerucred and getpeereid
      * dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): provides
      support of auth EXTERNAL on Solaris 10+ (getpeerucred), FreeBSD 4.6+,
      OpenBSD 3.0+ and FreeBSD 5.0+ as well as MacOSX 10.2+ (getpeereid).
      Patch was only tested on Solaris 10 x86 so it might be issues
      with other platforms (i.e. BSDs and MacOSX)
  27. 30 Sep, 2005 2 commits
  28. 23 Sep, 2005 2 commits
  29. 06 Sep, 2005 2 commits
    • John Palmieri's avatar
      - update to next release version · 76faf9aa
      John Palmieri authored
    • John Palmieri's avatar
      * Released 0.50 · bc564a69
      John Palmieri authored
      * 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)