summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus
AgeCommit message (Collapse)Author
2013-11-05bus: allow that if the destination pointer in sd_bus_message_read_basic() is ↵Lennart Poettering
NULL we skip over a field
2013-11-05logind: port logind to libsystemd-busLennart Poettering
2013-11-05bus: make it easy to serialize C99 bools and uids/gids/pids via vtable ↵Lennart Poettering
properties
2013-11-05bus: support implicit serialization of strv string arrays within vtablesLennart Poettering
2013-11-05bus: dbus-daemons' access messages are a bit too verboseLennart Poettering
2013-11-02bus: make bus_map_all_properties() call idempotentKay Sievers
2013-11-02bus: use internal helper to read org.freedesktop.DBus.Properties::GetAll ↵Kay Sievers
variables
2013-10-31timedatectl: assorted simplificationsLennart Poettering
2013-10-31machinectl: add new command to spawn a getty inside a containerLennart Poettering
2013-10-30bus-util: avoid infinite loopTom Gundersen
2013-10-30localectl: port to libsystemd-busKay Sievers
2013-10-30run: add support for executing commands remotely via SSH or in a containerLennart Poettering
Also, unify the transport logic a bit, since we reuse the same scheme in many of our client tools.
2013-10-30bus: add API call to create bus connection to the system bus of local containersLennart Poettering
Also, add support for this to machinectl, so that we can enumerate the machines that run inside a container. We must go deeper!
2013-10-30bus: move ssh support into public API of libsystem-busLennart Poettering
2013-10-30machinectl: port to sd-busTom Gundersen
2013-10-30bus: fix buildLennart Poettering
2013-10-30machined: port over to libsystemd-busLennart Poettering
2013-10-30bus: make sure we can match well-known namesLennart Poettering
2013-10-30bus: it is OK to have signals with multiple parametersLennart Poettering
2013-10-30bus: don't fail if GetAll() is used to get properties of the built-in interfacesLennart Poettering
2013-10-30bus: make bus message dump output a bit smallerLennart Poettering
2013-10-30bus: don't include the introspected object in list of subobjectsLennart Poettering
2013-10-29bus: add extra validity checksLennart Poettering
2013-10-29strv: 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-29bus: add new sd_bus_message_verify_type() and sd_bus_message_copy() API callsLennart Poettering
2013-10-25bus: disable debug output in test-bus-kernel-benchmarkKay Sievers
2013-10-22bus: NULL signatures are OK tooLennart Poettering
2013-10-22bus: only if the user tries to read over the end of an array we should ↵Lennart Poettering
handle this as EOF
2013-10-22bus: avoid 'bool' storage when retrieving 'b' from the messageKay 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-21sd-event: EPOLLONESHOT only disables event reporting after an event. The fd ↵David Strauss
is still registered.
2013-10-21bus: allow to specify NULL as an empty string to addKay Sievers
2013-10-18bus: if we hit the end of an array container return 0 as EOF indicator when ↵Lennart Poettering
reading it
2013-10-18bus: automatically flush bus queue when we exit the event loopLennart Poettering
This way, we do not have to call it manually
2013-10-18fsck: port to sd-busTom Gundersen
2013-10-17sd-event: initialize return valueDave Reisner
src/libsystemd-bus/sd-event.c:1597:13: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
2013-10-16bus: fix default exit on idle timeoutLennart Poettering
2013-10-16timedated: use libsystemd-bus instead of libdbus for bus communicationLennart 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-16bus: return 1 on all calls that send messagesLennart 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-16bus: make sure sd_bus_get_timeout() returns a 0 timeout of there are already ↵Lennart Poettering
read but not dispatched messages
2013-10-16bus: fix generate introspection XMLLennart Poettering
2013-10-16event: handle arbitrary signals received during epoll gracefullyLennart Poettering
2013-10-16event: properly disarm timers when we don't need them anymoreLennart Poettering
2013-10-16event: fix sd_event_source_set_io_events()Lennart Poettering
2013-10-14Fix misspellings with codespell toolAnatol Pomozov
2013-10-14bus: properly handle if new objects are installed in the node tree while we ↵Lennart Poettering
are dispatching to one
2013-10-14bus: make sure that we always keep a ref to the bus when we dispatch callbacksLennart Poettering
Otherwise the callback might unref the bus we are processing and destroy the object while we are processing it.
2013-10-14bus: use assert_return() for more API callsLennart Poettering
2013-10-14list: 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-13event: avoid derefencing null pointerZbigniew Jędrzejewski-Szmek
2013-10-13bus: make sure we don't try to malloc 0 bytesZbigniew Jędrzejewski-Szmek