Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-30 | machinectl: port to sd-bus | Tom Gundersen | |
2013-10-30 | bus: fix build | Lennart Poettering | |
2013-10-30 | machined: port over to libsystemd-bus | Lennart Poettering | |
2013-10-30 | bus: make sure we can match well-known names | Lennart Poettering | |
2013-10-30 | bus: it is OK to have signals with multiple parameters | Lennart Poettering | |
2013-10-30 | bus: don't fail if GetAll() is used to get properties of the built-in interfaces | Lennart Poettering | |
2013-10-30 | bus: make bus message dump output a bit smaller | Lennart Poettering | |
2013-10-30 | bus: don't include the introspected object in list of subobjects | Lennart Poettering | |
2013-10-29 | bus: add extra validity checks | Lennart Poettering | |
2013-10-29 | strv: introduce new strv_from_stdarg_alloca() macro to generate a string ↵ | Lennart Poettering | |
array from stdarg function parameters This allows us to turn lists of strings passed in easily into string arrays without having to allocate memory. | |||
2013-10-29 | bus: add new sd_bus_message_verify_type() and sd_bus_message_copy() API calls | Lennart Poettering | |
2013-10-25 | bus: disable debug output in test-bus-kernel-benchmark | Kay Sievers | |
2013-10-22 | bus: NULL signatures are OK too | Lennart Poettering | |
2013-10-22 | bus: only if the user tries to read over the end of an array we should ↵ | Lennart Poettering | |
handle this as EOF | |||
2013-10-22 | bus: avoid 'bool' storage when retrieving 'b' from the message | Kay Sievers | |
Just use an unsigned int as a bool type to avoid issues in the public message reading API; sizeof(bool) == 1, but the code copies 4 bytes at the pointers destination. | |||
2013-10-21 | sd-event: EPOLLONESHOT only disables event reporting after an event. The fd ↵ | David Strauss | |
is still registered. | |||
2013-10-21 | bus: allow to specify NULL as an empty string to add | Kay Sievers | |
2013-10-18 | bus: if we hit the end of an array container return 0 as EOF indicator when ↵ | Lennart Poettering | |
reading it | |||
2013-10-18 | bus: automatically flush bus queue when we exit the event loop | Lennart Poettering | |
This way, we do not have to call it manually | |||
2013-10-18 | fsck: port to sd-bus | Tom Gundersen | |
2013-10-17 | sd-event: initialize return value | Dave Reisner | |
src/libsystemd-bus/sd-event.c:1597:13: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] | |||
2013-10-16 | bus: fix default exit on idle timeout | Lennart Poettering | |
2013-10-16 | timedated: use libsystemd-bus instead of libdbus for bus communication | Lennart Poettering | |
Among other things this also adds a few things necessary for the change: - Considerably more powerful error returning APIs in libsystemd-bus - Adapter for connecting an sd_bus to an sd_event - As I reworked the PolicyKit logic to the new library I also made it asynchronous, so that PolicyKit requests of one user cannot block out another user anymore. - We always use the macro names for common bus error. That way it is harder to mistype them since the compiler will notice | |||
2013-10-16 | bus: return 1 on all calls that send messages | Lennart Poettering | |
This way they are nicer to use from method dispatch callbacks as last call, since method dispatch callbacks expect > 0 return if the message got handled. | |||
2013-10-16 | bus: make sure sd_bus_get_timeout() returns a 0 timeout of there are already ↵ | Lennart Poettering | |
read but not dispatched messages | |||
2013-10-16 | bus: fix generate introspection XML | Lennart Poettering | |
2013-10-16 | event: handle arbitrary signals received during epoll gracefully | Lennart Poettering | |
2013-10-16 | event: properly disarm timers when we don't need them anymore | Lennart Poettering | |
2013-10-16 | event: fix sd_event_source_set_io_events() | Lennart Poettering | |
2013-10-14 | Fix misspellings with codespell tool | Anatol Pomozov | |
2013-10-14 | bus: properly handle if new objects are installed in the node tree while we ↵ | Lennart Poettering | |
are dispatching to one | |||
2013-10-14 | bus: make sure that we always keep a ref to the bus when we dispatch callbacks | Lennart Poettering | |
Otherwise the callback might unref the bus we are processing and destroy the object while we are processing it. | |||
2013-10-14 | bus: use assert_return() for more API calls | Lennart Poettering | |
2013-10-14 | list: make our list macros a bit easier to use by not requring type spec on ↵ | Lennart Poettering | |
each invocation We can determine the list entry type via the typeof() gcc construct, and so we should to make the macros much shorter to use. | |||
2013-10-13 | event: avoid derefencing null pointer | Zbigniew Jędrzejewski-Szmek | |
2013-10-13 | bus: make sure we don't try to malloc 0 bytes | Zbigniew Jędrzejewski-Szmek | |
2013-10-13 | Fix write-only use of a few variables | Zbigniew Jędrzejewski-Szmek | |
Since the invention of read-only memory, write-only memory has been considered deprecated. Where appropriate, either make use of the value, or avoid writing it, to make it clear that it is not used. | |||
2013-10-13 | bus: fix access to unitialized variable in error path | Zbigniew Jędrzejewski-Szmek | |
src/machine/machined-dbus.c:237:13: warning: Branch condition evaluates to a garbage value if (m) ^ | |||
2013-10-13 | Never call qsort on potentially NULL arrays | Zbigniew Jędrzejewski-Szmek | |
This extends 62678ded 'efi: never call qsort on potentially NULL arrays' to all other places where qsort is used and it is not obvious that the count is non-zero. | |||
2013-10-11 | bus: properly implement logic for generating ↵ | Lennart Poettering | |
InterfacesAdded/InterfacesRemoved signals of ObjectManager | |||
2013-10-11 | bus: in GetManagedObjects() only return each object once. | Lennart Poettering | |
2013-10-11 | bus: unify code to find parents of an object path with | Lennart Poettering | |
2013-10-11 | bus: properly generate GetAll reply | Lennart Poettering | |
2013-10-11 | bus: add sd_bus_message_append_strv() to easily add a NULL terminated string ↵ | Lennart Poettering | |
array to a message | |||
2013-10-11 | bus: make sure introspection can be generated correctly with NULL method ↵ | Lennart Poettering | |
signatures | |||
2013-10-11 | bus: beef up parameter checking in vtable handling | Lennart Poettering | |
2013-10-11 | bus: beef up parameter checking of convenience calls | Lennart Poettering | |
2013-10-11 | bus: don't rely on gccisms/c11 in public header files. | Lennart Poettering | |
One day sd-bus.h should become a public header file. We generally try to be conservative in language features we use in public headers (much unlike in private code), hence don't make use of anonymous unions in structs for the vtable definitions. | |||
2013-10-11 | bus: split up overly long sd-bus.c into three files | Lennart Poettering | |
2013-10-11 | bus: if a a Set() vtable callback of a writable is left NULL, try to do the ↵ | Lennart Poettering | |
right thing automatically |