1. 19 Mar, 2010 1 commit
  2. 14 Jul, 2009 3 commits
  3. 10 Jul, 2009 1 commit
  4. 09 Jul, 2009 2 commits
  5. 20 May, 2009 1 commit
    • Lennart Poettering's avatar
      unix-fd: add message encoding/decoding for unix fds · a0cc21f8
      Lennart Poettering authored
      When appending unix fds to the message a new entry in the fd array will
      be allocated and the index to it will be written to the message payload.
      When parsing unix fds from the message the index will be read from the
      payload and then looked up in the fd array.
      When we read fds we put them in a queue first. Since each message knows
      how many fds are attached to it we will then pop enough fds from this
      queue each time we decode a message from the stream.
      This should make sending and receiving more portable since we don't make
      any strong requirements on the exact semantics of the SCM_RIGHTS
      implementation: as long as fds are recieved in order, none or lost and
      the arrive at the same time as at least one byte from the actual message
      dat we should be able to handle them correctly.
  6. 06 May, 2009 1 commit
  7. 21 Apr, 2009 1 commit
  8. 11 Oct, 2007 1 commit
  9. 14 Jul, 2007 1 commit
  10. 06 Apr, 2007 1 commit
  11. 06 Sep, 2006 1 commit
  12. 09 Apr, 2005 1 commit
    • Havoc Pennington's avatar
      2005-04-09 Havoc Pennington <hp@redhat.com> · 8475b3a8
      Havoc Pennington authored
      	* dbus/dbus-message-util.c (_dbus_message_test): fix signedness warning
      	* glib/dbus-glib-tool.c (main): fix warning
      	* glib/dbus-binding-tool-glib.c (generate_glue): fix warning
      	* dbus/dbus-connection.c (dbus_connection_read_write_dispatch):
      	add a new function that can be used in simple applications that
      	don't have a main loop and are willing to block
  13. 10 Feb, 2005 1 commit
  14. 06 Feb, 2005 1 commit
    • Havoc Pennington's avatar
      2005-02-05 Havoc Pennington <hp@redhat.com> · 8f04e1e0
      Havoc Pennington authored
      	* dbus/dbus-message-factory.c (generate_special): more test cases,
      	increasing coverage
      	* dbus/dbus-marshal-validate.c (validate_body_helper): return the
      	reason why a signature was invalid
      	* dbus/dbus-marshal-header.c (load_and_validate_field): fix to
      	skip the length of the string before we look at it in validation
      	* dbus/dbus-string-util.c (_dbus_string_test): add tests for
      	* dbus/dbus-message.c (_dbus_message_loader_new): default
      	max_message_length to DBUS_MAXIMUM_MESSAGE_LENGTH
  15. 28 Jan, 2005 1 commit
    • Havoc Pennington's avatar
      2005-01-27 Havoc Pennington <hp@redhat.com> · 3ed9db54
      Havoc Pennington authored
      	* dbus/dbus-arch-deps.h.in: add 16/32-bit types
      	* configure.in: find the right type for 16 and 32 bit ints as well
      	as 64
      	* dbus/dbus-protocol.h (DBUS_TYPE_INT16, DBUS_TYPE_UINT16): add
      	the 16-bit types so people don't have to stuff them in 32-bit or
      	byte arrays.
  16. 24 Jan, 2005 1 commit
  17. 23 Jan, 2005 2 commits
  18. 17 Jan, 2005 2 commits
    • Havoc Pennington's avatar
      2005-01-17 Havoc Pennington <hp@redhat.com> · 62e46533
      Havoc Pennington authored
      	* 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.
    • Havoc Pennington's avatar
      2005-01-16 Havoc Pennington <hp@redhat.com> · 7bf62e31
      Havoc Pennington authored
              This is about it on what can be disabled/deleted from libdbus
      	easily, back below 150K anyhow. Deeper cuts are more work than
      	just turning the code off as I've done here.
      	* dbus/dbus-marshal-basic.c (_dbus_pack_int32): we don't need the
      	signed int convenience funcs
      	* dbus/dbus-internals.c (_dbus_verbose_real): omit when not in
      	verbose mode
      	* dbus/dbus-string-util.c, dbus/dbus-string.c: more breaking
      	things out of libdbus
      	* dbus/dbus-sysdeps.c, dbus/dbus-sysdeps-util.c: same
      	* dbus/dbus-hash.c: purge the TWO_STRINGS crap (well, make it
      	tests-enabled-only, though it should probably be deleted)
      	* dbus/dbus-message-util.c: same stuff
      	* dbus/dbus-auth-util.c: same stuff