From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: DBus binding & direct connections (p2p)? Date: Mon, 31 Jul 2017 16:29:00 +0200 Message-ID: <87fudche8j.fsf@detlef> References: <87zibq5bii.fsf@petton.fr> <871sp16mjw.fsf@detlef> <87shhhhso6.fsf@petton.fr> <87wp6s6hyd.fsf@detlef> <87pockj2u7.fsf@petton.fr> <87mv7oj2ie.fsf@petton.fr> <87o9s46c44.fsf@detlef> <87k22siyz3.fsf@petton.fr> <87fudg6bjp.fsf@detlef> <87h8xwiyhz.fsf@petton.fr> <87bmo46aw3.fsf@detlef> <877eypkmxm.fsf@petton.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501511366 14089 195.159.176.226 (31 Jul 2017 14:29:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 31 Jul 2017 14:29:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Emacs Devel To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 31 16:29:20 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcBh3-00036G-Vj for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2017 16:29:14 +0200 Original-Received: from localhost ([::1]:59876 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcBh9-0006P2-K1 for ged-emacs-devel@m.gmane.org; Mon, 31 Jul 2017 10:29:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcBh3-0006Ow-Hv for emacs-devel@gnu.org; Mon, 31 Jul 2017 10:29:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcBgz-0002fG-K9 for emacs-devel@gnu.org; Mon, 31 Jul 2017 10:29:13 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:61671) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcBgz-0002ch-B7 for emacs-devel@gnu.org; Mon, 31 Jul 2017 10:29:09 -0400 Original-Received: from detlef.gmx.de ([79.140.123.156]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lcjgd-1e0l3q2i07-00k7O0; Mon, 31 Jul 2017 16:29:01 +0200 In-Reply-To: <877eypkmxm.fsf@petton.fr> (Nicolas Petton's message of "Mon, 31 Jul 2017 10:52:53 +0200") X-Provags-ID: V03:K0:fFvojbUaBgWYVJ0jLUpdlbeDZDzHScnclx0EzIDprQtkcCcHtx0 vohaxBqo/GkeXZ4WNC7A0Zblio3n5cLs7yGD3AmcZGLUs9tx+pUuc0+wxv0peJw0UiwLZcc iU+N6uMbBL7DoxQIFEtQXecqtl6iJu4oln/zZekftm9ES5yXFtZ40h3Trs5jlcpAEgOnhN0 kLhIBo+m0OREKICObjGvw== X-UI-Out-Filterresults: notjunk:1;V01:K0:QKJq3GTeqRg=:Us93CE281qmYI4cvM90q7e CxAT/H88wu53FPQ4Rh9csFDdu8+trrx0EGX/3PJYbg45ybpzGF/i8NlAoIV/s54ZpwtGyML3U 9bRm2DwIwd+nLHSUfPgw9irOtTjhAyB/RNFjG2FLrOw4RIBjoql3bxns30fn7auwRXfeuWaYZ ad0Jp7m1QZkqyDSaCBjVyFRb/28ETW+WgUnFhd8ec7PQXcWfofPn5R25DL9QAIgPomaj8OpcJ JeJ/0pl/jyBSRxIPF6kSUkAMyhZnpDrFCC/GflW3J9o4s4kNPRPsCwbVa/VOgqSxjmshEkUkn kZA46dlGItWQzxJoX877obEL1IeCNvPknWosZeCxfrDuSgwNntnENlMRpHs8rJc0EC9WBoks1 Fel/AyXIXGb6a/xIq6AWMmZac2776LIyfhFCcbfEOV1qkQ2qtXdUCznSzXhnd59PCNxWvaHYy MTG5UGTZ3+5Jt9y6c/tFOp0UwqOczhKfdWq+xXbtajNxVfV2H00dLUreUW02lVF+IKTlf9bY6 IdkfjfTFwhwWkMAyi475tKji/ZRlns5IMfOk7GLnHOxeL90XUmflrXaZJp8F9LRxj/vVjB9j3 s8pZ7O8HFIdWZGt+heAF8MSfCdDrbriWu4gNPl5oyWM/l9pwkc63S2y0G9zHLn9DFXt1Oexp/ WhurY1ztOQjoA2A6jpQvyeEntiDNHgT1yLJP8yGxIYlXiHFalRdJZPsdN3EnCFTr2QTE8/K4M bxg81178TI1gCGTl0Ast26PZ+u3tivAqLvyjSvsUGpxWGaI0scfmX01ExuQhOqqOhYep57DN X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217181 Archived-At: Nicolas Petton writes: > Michael Albinus writes: > >>> Yes, I'll give it a shot. I'll start by looking at the existing usages >>> in C of direct DBus communications. >> >> Could you send me a pointer? > > Sure. One thing I'm interested in is connecting Indium with > WebKitGTK+. The remote inspector server starts a p2p dbus connection, > and the client connects to it, see: > > https://trac.webkit.org/browser/webkit/trunk/Source/WebKit/UIProcess/glib/RemoteInspectorClient.cpp#L160 Well, this is g_dbus_connection_new_for_address, see . The gio implementation of D-Bus offers functions, which are not available in libdbus-1.so, the reference implementation we use in Emacs. > Cheers, > Nico Best regards, Michael.