Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-20 | api: in constructor function calls, always put the returned object pointer ↵ | Lennart Poettering | |
first (or second) Previously the returned object of constructor functions where sometimes returned as last, sometimes as first and sometimes as second parameter. Let's clean this up a bit. Here are the new rules: 1. The object the new object is derived from is put first, if there is any 2. The object we are creating will be returned in the next arguments 3. This is followed by any additional arguments Rationale: For functions that operate on an object we always put that object first. Constructors should probably not be too different in this regard. Also, if the additional parameters might want to use varargs which suggests to put them last. Note that this new scheme only applies to constructor functions, not to all other functions. We do give a lot of freedom for those. Note that this commit only changes the order of the new functions we added, for old ones we accept the wrong order and leave it like that. | |||
2014-02-20 | sd-bus: the bus returned should be the first arg | Jason A. Donenfeld | |
This matches the API of previous headers, such as sd-journal.h. | |||
2014-02-19 | bus: fix unreffing logic | Lennart Poettering | |
2014-02-19 | make gcc shut up | Lennart Poettering | |
If -flto is used then gcc will generate a lot more warnings than before, among them a number of use-without-initialization warnings. Most of them without are false positives, but let's make them go away, because it doesn't really matter. | |||
2014-02-19 | busctl: add --no-legend and use in bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-18 | util: generalize code that checks whether PIDs are alive or unwaited for | Lennart Poettering | |
2014-02-17 | doc: update punctuation | Jan Engelhardt | |
Resolve spotted issues related to missing or extraneous commas, dashes. | |||
2014-02-16 | bus: fix match_parse for unquoted matches | Simon Peeters | |
2014-02-05 | bus: properly unset default bus pointer when destroying last reference | Lennart Poettering | |
2014-02-03 | bus: when closing the bus don't end up in a recursive destruction deadlock | Lennart Poettering | |
2014-02-01 | bus: update kdbus.h (ABI break) | Kay Sievers | |
2014-01-31 | use memzero(foo, length); for all memset(foo, 0, length); calls | Greg KH | |
In trying to track down a stupid linker bug, I noticed a bunch of memset() calls that should be using memzero() to make it more "obvious" that the options are correct (i.e. 0 is not the length, but the data to set). So fix up all current calls to memset(foo, 0, length) to memzero(foo, length). | |||
2014-01-28 | bus: update kdbus.h (ABI break) | Kay Sievers | |
2014-01-28 | bus: update bloom filter description a bit | Lennart Poettering | |
2014-01-28 | bus: rework bloom filter logic to operate with variable bloom filter | Lennart Poettering | |
sizes and numbers of hash functions In order to make the bloom filter logic more future proof communicate bloom filter parameters from the original bus creator to the clients, and allow them to be variable within certain ranges. | |||
2014-01-27 | bus: add API calls for connecting to starter bus | Lennart Poettering | |
Add new calls sd_bus_open() and sd_bus_default() for connecting to the starter bus a service was invoked for, or -- if the process is not a bus-activated service -- the appropriate bus for the scope the process has been started in. | |||
2014-01-27 | bus: when we cannot bus activate a service because we go down, drop one | Lennart Poettering | |
message from the queue | |||
2014-01-24 | bus: bump memfd vs. copy limit to 512k to reflect recent benchmarks | Kay Sievers | |
2014-01-24 | bus: update kdbus.h (ABI break) | Kay Sievers | |
2014-01-24 | bus: update kdbus.h (ABI break) | Kay Sievers | |
2014-01-22 | bus: change API to expose "inverted" no_reply and no_auto_start message ↵ | Lennart Poettering | |
flags non-inverted | |||
2014-01-22 | bus: add sd_bus_process_priority() to support prioq mode of kdbus | Lennart Poettering | |
2014-01-22 | bus: expose priority field of messages, in preparation for prioq support | Lennart Poettering | |
2014-01-22 | busctl: include connection name in busctl output | Lennart Poettering | |
2014-01-22 | bus: unescape connection name when reading it from credentials | Lennart Poettering | |
2014-01-22 | bus: pass timestamp info only to caller if he asked for it | Lennart Poettering | |
2014-01-22 | bus: include connection name in credentials structure | Lennart Poettering | |
2014-01-22 | bus: when allocating a memfd for usage in a bus connection, name the memfd ↵ | Lennart Poettering | |
after the bus connection | |||
2014-01-22 | bus: add support for attaching name to bus connections for debugging purposes | Lennart Poettering | |
2014-01-22 | bus: extend memfd api so that we can label memfds for debugging purposes | Lennart Poettering | |
2014-01-22 | bus: rename sd_bus_get_realtime_timestamp() to sd_bus_get_realtime_usec() | Lennart Poettering | |
This brings the calls into similar style as the respective functions in libsystemd-journal, and also is a bi shorter and more descriptive since it clarifies the time unit used. | |||
2014-01-22 | bus: simplify naming of feature negotation calls | Lennart Poettering | |
Two verbs in a function name suck, so let's simplify this a bit. | |||
2014-01-22 | bus: add API for querying the kdbus message sequence number | Lennart Poettering | |
2014-01-21 | bus: implement synchronous message calls via kernel ioctl | Lennart Poettering | |
2014-01-21 | libsystemd: split up into subdirs | Tom Gundersen | |
We still only produce on .so, but let's keep the sources separate to make things a bit less messy. |