Re: [systemd-devel] sd-bus: Enabling free-standing, bus-independent plain messages

2019-06-17 Thread Lennart Poettering
On Do, 23.05.19 11:56, Stanislav Angelovič (angelovi...@gmail.com) wrote: > Hi Lennart, > > Sorry for a bit late reply, I've been quite busy recently. > > > So we could readd the ability to create a bus message with a NULL bus, > > but I am a bit concerned that people then always pass NULL which

Re: [systemd-devel] sd-bus: Enabling free-standing, bus-independent plain messages

2019-05-23 Thread Stanislav Angelovič
Hi Lennart, Sorry for a bit late reply, I've been quite busy recently. > So we could readd the ability to create a bus message with a NULL bus, > but I am a bit concerned that people then always pass NULL which might > ultimately result in constant remarshalling if the message is > eventually

Re: [systemd-devel] sd-bus: Enabling free-standing, bus-independent plain messages

2019-05-13 Thread Simon McVittie
On Mon, 13 May 2019 at 10:38:38 +0200, Lennart Poettering wrote: > On So, 12.05.19 13:06, Stanislav Angelovič (angelovi...@gmail.com) wrote: > > Quick question: Would it be possible to extend sd-bus to also allow > > creating messages without requiring a bus? > > This used to be available but we

Re: [systemd-devel] sd-bus: Enabling free-standing, bus-independent plain messages

2019-05-13 Thread Lennart Poettering
On So, 12.05.19 13:06, Stanislav Angelovič (angelovi...@gmail.com) wrote: > Hi (Lennart :) > > Quick question: Would it be possible to extend sd-bus to also allow > creating messages without requiring a bus? This used to be available but we dropped it, since the serialization depends on the bus

[systemd-devel] sd-bus: Enabling free-standing, bus-independent plain messages

2019-05-12 Thread Stanislav Angelovič
Hi (Lennart :) Quick question: Would it be possible to extend sd-bus to also allow creating messages without requiring a bus? Let me explain: Currently, if we want to create any message in sd-bus, we need a valid bus pointer. That might make perfect sense for messages that come from or will