Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-14 | update TODO | Lennart Poettering | |
2013-10-13 | manager: connect to private bus even if $DBUS_SESSION_BUS_ADDRESS is not set | Mantas Mikulėnas | |
Because that's exactly the kind of situation where the private bus is necessary. | |||
2013-10-14 | rfkill: add new rfkill tool to save/restore rfkill state across reboots | Lennart Poettering | |
This works analogous to the existing backlight and random seed services | |||
2013-10-14 | backlight: always prefer "firmware"/"platform" backlights over "raw" ↵ | Lennart Poettering | |
backlights if we have both for the same device | |||
2013-10-13 | man: add more markup to udevadm(8) | Zbigniew Jędrzejewski-Szmek | |
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 | Introduce udev object cleanup functions | Zbigniew Jędrzejewski-Szmek | |
2013-10-13 | gitignore: ignore clang --analyze output | Zbigniew Jędrzejewski-Szmek | |
2013-10-13 | Make sure that we don't dereference NULL | Zbigniew Jędrzejewski-Szmek | |
The code was actually safe, because b should never be null, because if rvalue is empty, a different branch is taken. But we *do* check for NULL in the loop above, so it's better to also check here for symmetry. | |||
2013-10-13 | udev: use initialization instead of zeroing in one place | 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 | Introduce _cleanup_fdset_free_ | Zbigniew Jędrzejewski-Szmek | |
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 | drop-ins: check return value | Zbigniew Jędrzejewski-Szmek | |
If the function failed, nothing serious would happen because unlink would probably return EFAULT, but this would obscure the real error and is a bit sloppy. | |||
2013-10-13 | journald: use greedy_realloc in one place | Zbigniew Jędrzejewski-Szmek | |
2013-10-13 | dbus-common: avoid leak in error path | Zbigniew Jędrzejewski-Szmek | |
src/shared/dbus-common.c:968:33: warning: Potential leak of memory pointed to by 'l' return -EINVAL; ^~~~~~ | |||
2013-10-13 | Modernization | Zbigniew Jędrzejewski-Szmek | |
Fixes minor leak in error path in device.c. | |||
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-13 | unicode: treat cute symbol block as fullwidth | Zbigniew Jędrzejewski-Szmek | |
UNICODE standards only talk about fullwidth characters for East Asian scripts. But it seems that all those symbols are fullwidth too. | |||
2013-10-13 | test: test for ellipsize | Shawn Landden | |
2013-10-13 | util, utf8: make ellipsize take multi-byte characters into account | Shawn Landden | |
rename old versions to ascii_* Do not take into account zerowidth characters, but do consider double-wide characters. Import needed utf8 helper code from glib. v3: rebase ontop of utf8 restructuring work [zj: tweak the algorithm a bit, move new code to separate file] | |||
2013-10-13 | udevadm.xml: document --resolve-names option for test | Dave Reisner | |
And remove documentation of the --subsystem flag which doesn't actually exist. | |||
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 | Add support for saving/restoring keyboard backlights | Bastien Nocera | |
Piggy-backing on the display backlight code, this saves and restores keyboard backlights on supported devices. The detection code matches that of UPower: http://cgit.freedesktop.org/upower/tree/src/up-kbd-backlight.c#n173 https://bugs.freedesktop.org/show_bug.cgi?id=70367 [tomegun: also work for devices named "{smc,samsung,asus}::kbd_backlight"] | |||
2013-10-11 | udev: usb_id - remove obsoleted bInterfaceSubClass == 5 match | Kay Sievers | |
bInterfaceSubClass == 5 is not a "floppy"; just identify the obsolete QIC-157 interface as "generic". | |||
2013-10-11 | smack: minimize ifdef use, and move all labeling to smack-util.c | Kay Sievers | |
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: decorate API calls with gcc attributes where appropriate | 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-11 | macro: add new assert_return() macro for early parameter checking in functions | Lennart Poettering | |
For the library functions we expose we currently repeatedly use checks like the following: if (!value_is_ok(parameter1)) return -EINVAL; if (!value_is_ok(parameter2)) return -EINVAL; And so on. Let's turn this into a macro: assert_return(value_is_ok(parameter1), -EINVAL); assert_return(value_is_ok(paramater2), -EINVAL); This makes our code a bit shorter and simpler, and also allows us to add a _unlikely_() around the check. | |||
2013-10-10 | event: refuse operation if the caller tries to reuse an event loop after a ↵ | Lennart Poettering | |
fork() |