1. 16 Sep, 2006 5 commits
    • 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
    • Havoc Pennington's avatar
      voc Pennington <hp@redhat.com> · 8027efc9
      Havoc Pennington authored
      	* dbus/dbus-server.c (dbus_server_listen): change how this works
      	to be able to delegate to a set of handlers that can succeed,
      	fail, or choose not to handle. Allows us to have
      	* dbus/dbus-server-socket.c (_dbus_server_new_for_tcp_socket):
      	factor out the tcp socket stuff to be used on windows, leaving
      	unix domain socket only in dbus-socket-unix.c
      	* dbus/dbus-transport-socket.c
      	(_dbus_transport_new_for_tcp_socket): factor out the tcp socket
      	stuff to be used on windows, leaving unix domain socket only
      	in dbus-transport-unix.c
      	* dbus/dbus-connection.c (dbus_connection_get_unix_user): insert
      	temporary hack to be sure this fails on windows
      	(dbus_connection_get_unix_process_id): ditto
    • Havoc Pennington's avatar
      add forgotten dbus-sydeps-unix.h · a0a12210
      Havoc Pennington authored
    • Havoc Pennington's avatar
      2006-09-16 Havoc Pennington <hp@redhat.com> · d0971c53
      Havoc Pennington authored
      	* dbus/dbus-sysdeps-unix.c (_dbus_open_tcp_socket)
      	(_dbus_open_unix_socket, _dbus_open_socket): change API for
      	_dbus_open_socket so the domain/type/protocol from system headers
      	are not required. This is kind of pointless though unless we move
      	part of _dbus_connect_tcp_socket into sysdeps.c instead of
      	sysdeps-unix.c, which would mean adding a wrapper around
      	Also, add DBusError to the socket-opening functions so they
      	don't require use of errno.
    • Havoc Pennington's avatar
      2006-09-16 Havoc Pennington <hp@redhat.com> · 08079a5b
      Havoc Pennington authored
      	* dbus/dbus-sysdeps-unix.h: small change to Peter's patch to make
      	dbus-sysdeps-unix-util.c build, add unix-specific sysdeps header.
      	* dbus/dbus-sysdeps.h, dbus-sysdeps-unix.c: patch from Peter
      	Kümmel bug #8249 to make the sysdeps.h read/write/open/close
      	functions specifically for sockets only, and move generic
      	read/write/open/close into unix-specific code.
  2. 14 Sep, 2006 8 commits
  3. 13 Sep, 2006 2 commits
  4. 11 Sep, 2006 4 commits
  5. 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
  6. 08 Sep, 2006 2 commits
  7. 07 Sep, 2006 3 commits
  8. 06 Sep, 2006 4 commits
    • John Palmieri's avatar
      * doc/TODO: · 1eae1844
      John Palmieri authored
      - Remove pending call locking todo item
      - dbus_connection_open now holds hard ref.  Remove todo item
      - do proper locking on _dbus_bus_check_connection_and_unref
        and handle DBUS_BUS_STARTER. Remove todo item
      - Warn on closing of a shared connection.  Remove todo item
      * bus/bus.c, bus/connection.c, bus/dispatch.c, dbus/dbus-bus.c,
        dbus/dbus-connection.c: Use the dbus_connection_close_internal
        so we don't get the warning when closing shared connections
      * test/test-service.c, test/test-shell-service.c: Applications
        don't close shared connections themselves so we unref instead of
      * test/test-utils.c (test_connection_shutdown): Close the connection
      * dbus/dbus-bus.c (_dbus_bus_check_connection_and_unref): Changed to
        _dbus_bus_check_connection_and_unref_unlocked since we only call this
        method on a locked connection.
        Make sure we call _dbus_connection_unref_unlocked instead of
        dbus_connection_unref also.
        Handle DBUS_BUS_STARTER correctly
      * dbus/dbus-connection.c (connection_record_shared_unlocked):
        Mark as shared and hard ref the connection
        (connection_forget_shared_unlocked): Remove the hard ref from the
        (_dbus_connection_close_internal_and_unlock):  New internal function
        which takes a locked connection and unlocks it after closing it
        (_dbus_connection_close_internal): New internal function which acts
        like the origonal dbus_connection_close method by grabbing a connection
        lock and calling _dbus_connection_close_internal_and_unlock
        (dbus_connection_close): Public close method, warns when the app
        trys to close a shared connection
    • John Palmieri's avatar
      * bus/driver.c: · 61316dd8
      John Palmieri authored
        (bus_driver_generate_introspect_string): New method for populating
        a DBusString with the introspect data
        (bus_driver_handle_introspect): Move introspect generation code to
      * bus/main.c:
        (introspect): New function which prints out the intropect data and
        (main): Add a --introspect switch
    • John Palmieri's avatar
      * doc/TODO: Removed dtd publishing item. · e4f3d0ca
      John Palmieri authored
        It seems the dtd has already been added at
    • John Palmieri's avatar
      * doc/TODO, various source files: Audited todo's and FIXME's and · 88f69757
      John Palmieri authored
        prepended the ones we should be looking at with 1.0.  Those
        prepended with 1.0? need clerification or might not be needed
        for 1.0
  9. 05 Sep, 2006 3 commits
  10. 01 Sep, 2006 1 commit
  11. 30 Aug, 2006 2 commits
    • Havoc Pennington's avatar
      2006-08-29 Havoc Pennington <hp@redhat.com> · afc2a6e5
      Havoc Pennington authored
      	* test/test-service.c (path_message_func): fix lack of return value
      	* dbus/dbus-sysdeps.c (_dbus_printf_string_upper_bound): fix
      	formatting, remove #ifdef, and fix docs. #ifdef doesn't make
      	any more sense than on anything else in this file.
      	(_dbus_get_tmpdir): add const to return value, and keep the
      	results of the various getenv around in a static variable.
    • Havoc Pennington's avatar
      2006-08-29 Havoc Pennington <hp@redhat.com> · 338c96b4
      Havoc Pennington authored
      	* dbus/dbus-sysdeps-util.c, dbus/dbus-sysdeps-util-unix.c: change
      	from Ralf Habacker to move UNIX-specific sysdeps into a separate file.
  12. 25 Aug, 2006 5 commits