Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2013-10-11 | bus: automatically do a NOP reply when a NULL callback is specified for a ↵ | Lennart Poettering | |
method in a vtable Also, allow specifiying NULL as signature in vtables equivalent to "" for empty parameter lists. | |||
2013-10-11 | bus: when NULL is specified as property callback, automatically handle ↵ | Lennart Poettering | |
serialization on Get() | |||
2013-10-11 | bus: make PropertiesChanged emission work | Lennart Poettering | |
2013-10-11 | bus: allow specifying NULL as type string when we want to construct messages ↵ | Lennart Poettering | |
with no payload | |||
2013-10-11 | bus: make GetManagedObjects() work | Lennart Poettering | |
2013-10-11 | event: add apis to query the timestamp of the event currently processed | Lennart Poettering | |
2013-10-11 | event: move all library calls over to new assert_return() macro | Lennart Poettering | |
2013-10-11 | event: add sd_event_source_get_child_pid() call to query the PID of a child ↵ | Lennart Poettering | |
event source | |||
2013-10-11 | event: rename the "mute" field of event sources to "enabled" | Lennart Poettering | |
In addition, the states "UNMUTED" and "MUTED" become "ON" and "OFF". This has the benefit that a possible value of this field is not identical to its name, thus minimizing confusion. | |||
2013-10-11 | event: implement quit handlers | Lennart Poettering | |
Quit handlers are executed when an event loop is terminated via sd_event_request_quit(). They are in a way atexit() handlers that are executed in a well-defined environment, time and thread: from the event loop thread when the event loop finishes. | |||
2013-10-10 | event: refuse operation if the caller tries to reuse an event loop after a ↵ | Lennart Poettering | |
fork() | |||
2013-10-10 | event: add timer accuracy/coalescing logic | Lennart Poettering | |
In order to improve energy consumption we should minimize our wake-ups when handling timers. Hence, for each timer take an accuracy value and schedule the actual wake-up time somewhere between the specified time and the specified timer plus the accuracy. The specified time of timer event sources hence becomes the time the handler is called the *earliest*, and the specified time plus the accuracy the time by which it is called the *latest*, leaving the library the freedom to schedule the wake-up somewhere inbetween. If the accuracy is specified as 0 the default of 250ms will be used. When scheduling timeouts we will now try to elapse them at the same point within each second, across the entire system. We do this by using a fixed perturbation value keyed off the boot id. If this point within a second is not in the acceptable range, we try again with a fixed time within each 250ms time step. If that doesn't work either, we wake up at the last possible time. | |||
2013-10-10 | bus: fix duplicate comparisons | Tero Roponen | |
Testing for y > x is the same as testing for x < y. | |||
2013-10-10 | bus: add minimal event loop API | Lennart Poettering | |
So far we tried to use epoll directly wherever we needed an event loop. However, that has various shortcomings, such as the inability to handle larger amounts of timers (since each timerfd costs one fd, which is a very limited resource, usually bounded to 1024), and inability to do priorisation between multiple queued events. Let's add a minimal event loop API around epoll that is suitable for implementation of our own daemons and maybe one day can become public API for those who desire it. This loop is part of libsystemd-bus, but may be used independently of it. | |||
2013-10-09 | bus: fix missing initialization | Lennart Poettering | |
2013-10-09 | bus: fix GetAll() userdata passing | Lennart Poettering | |
2013-10-09 | bus: don't require that if a child object node exists its parent node must too | Lennart Poettering | |
2013-10-09 | bus: fix synthetic error messages | Lennart Poettering | |
2013-10-09 | libsystemd-bus: add lightweight object vtable implementation for exposing ↵ | Lennart Poettering | |
objects on the bus This adds a lightweight scheme how to define interfaces in static fixed arrays which then can be easily registered on a bus connection. This makes it much easier to write bus services. This automatically handles implementation of the Properties, ObjectManager, and Introspection bus interfaces. | |||
2013-10-02 | dbus: fix return value of dispatch_rqueue() | Lennart Poettering | |
2013-10-02 | bus: fix potentially uninitialized memory access | Lennart Poettering | |
2013-08-22 | remove hasprefix(), use startswith() | Shawn Landden | |
2013-07-22 | bus: update for kdbus changes | Kay Sievers | |
2013-06-20 | Add hasprefix macro to check prefixes of fixed length | Zbigniew Jędrzejewski-Szmek | |
2013-06-05 | libsystemd-bus/bus-kernel.h: set MEMFD_MIN_SIZE to 128k | Harald Hoyer | |