1. 19 Mar, 2010 1 commit
  2. 14 Jul, 2009 1 commit
  3. 10 Jul, 2009 1 commit
  4. 20 May, 2009 2 commits
    • Lennart Poettering's avatar
      unix-fd: add logic to count unix fds the same way as allocated memory · bfad3242
      Lennart Poettering authored
      This make all counters count both bytes of memory and unix fds.
    • 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.
  5. 14 Jul, 2007 1 commit
  6. 30 Jan, 2005 1 commit
    • Havoc Pennington's avatar
      2005-01-30 Havoc Pennington <hp@redhat.com> · 98ad8a8e
      Havoc Pennington authored
      	* glib/dbus-gobject.c (introspect_properties): fix the XML
      	* dbus/dbus-message.c (dbus_message_unref): add an in_cache flag
      	which effectively detects the use of freed messages
      	* glib/dbus-gobject.c (handle_introspect): modify and return the
      	reply message instead of the incoming message
      	* dbus/dbus-object-tree.c (handle_default_introspect_unlocked):
      	gee, maybe it should SEND THE XML instead of just making a string
      	and freeing it again ;-)
      	* tools/dbus-print-message.c (print_message): improve printing of
      	* configure.in: add debug-glib.service to the output
  7. 23 Jan, 2005 1 commit
  8. 17 Jan, 2005 1 commit
    • 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