[PATCH 0/3][RFC v2] gdbus: Preliminary kdbus-support patches




Changes since v1:
=================

 - caught up all the latest kdbus changes (547501fbe005),

 - drop support for our old modified dbus-daemon - now all
   org.freedesktop.DBus methods (RequestName, ListNames, ...)
   are handled directly in glib code, so to proper work
   gdbus needs only kdbus module,

 - rebased on top of glib's master branch (38720494452)

 Still missing pieces:
 ~~~~~~~~~~~~~~~~~~~~~

 - AddMatch and RemoveMatch are not implemented yet (work in
   progress),

 - support for memfd and fds,

 - switch to major protocol version 2 - it's necessary to
   preserve compatibility with libsystemd-bus,

 - fix g_dbus_connection_close_sync() - patch is ready but
   it still needs tests,

 - and some minor fix (mem leaks,...)


 v1 / original announcement:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~

   https://mail.gnome.org/archives/gtk-devel-list/2013-November/msg00062.html



Short description:
==================

Code was written so as to introduce only minimal changes
to current gdbus code and leave the existing functionality
and API without any changes for end-users and applications.
All basic functionality works (sending/receiving messages,
name registration, print names list, etc - at this moment
everything which don't need AddMatch method).

At this moment project is more than 85% complete.
We will be happy to hear any and all of your comments.

Thanks!
Lukasz Skalski
l skalski partner samsung com


Lukasz Skalski (3):
  Import kdbus.h
  Add preliminary implementation of kdbus support
  Integrate kdbus into GDBus core

 configure.ac           |   11 +
 gio/Makefile.am        |    4 +
 gio/gdbusaddress.c     |   80 +-
 gio/gdbusconnection.c  |   16 +-
 gio/gdbusprivate.c     |  227 +++++-
 gio/gdbusprivate.h     |    8 +-
 gio/gioenums.h         |   70 ++
 gio/giotypes.h         |   33 +
 gio/gkdbus.c           | 2026 ++++++++++++++++++++++++++++++++++++++++++++++++
 gio/gkdbus.h           |  114 +++
 gio/gkdbusconnection.c |  216 ++++++
 gio/gkdbusconnection.h |   91 +++
 gio/kdbus.h            |  824 ++++++++++++++++++++
 13 files changed, 3688 insertions(+), 32 deletions(-)
 create mode 100644 gio/gkdbus.c
 create mode 100644 gio/gkdbus.h
 create mode 100644 gio/gkdbusconnection.c
 create mode 100644 gio/gkdbusconnection.h
 create mode 100644 gio/kdbus.h

-- 
1.8.3.2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]