Simon Peeters
a3e648ccbb
bus: fix match_parse for unquoted matches
2014-02-16 11:24:15 -05:00
Simon Peeters
9f137db070
build-sys: fix for "recipe for target 'dbus1-generator-install-hook' failed"
2014-02-14 01:52:40 +01:00
Simon Peeters
e3e45d4f82
strv: multiple cleanups
...
- turn strv_merge into strv_extend_strv.
appending strv b to the end of strv a instead of creating a new strv
- strv_append: remove in favor of strv_extend and strv_push.
- strv_remove: write slightly more elegant
- strv_remove_prefix: remove unused function
- strv_overlap: use strv_contains
- strv_printf: STRV_FOREACH handles NULL correctly
2014-01-05 09:16:15 -05:00
Simon Peeters
bf85c24daa
shared: util.c: unify split and split_quoted
2014-01-05 09:16:15 -05:00
Simon Peeters
b4696bce07
util.c: use read_one_line_file where possible
2014-01-05 00:59:13 -05:00
Simon Peeters
b68fa010f7
shared: procfs_file_alloca: handle pid==0
...
when pid is set to 0 use /proc/self
2014-01-05 00:59:13 -05:00
Simon Peeters
f8f14b3654
loginctl: convert to sd-bus
...
NOTE: the show-* subcommands do not print some properties:
this are those with types like (so), a(so), (uo),...
we need to fix this, but I'm not sure how
2013-11-07 21:01:48 +01:00
Simon Peeters
27e72d6b22
bus: make bus_print_all_properties work for non machinectl cases
...
add a destination parameter and skip properties we can't read
2013-11-07 14:18:35 +01:00
Simon Peeters
b028f3e410
hostnamectl: port to sd-bus
...
Kay:
- rebase to new transport logic
- replaced iteration macro with property map
2013-11-02 02:15:54 +01:00
Simon Peeters
449101fce2
Move bus_error to dbus-common and remove bus_error_message_or_strerror
...
bus_error and bus_error_message_or_strerror dit almost exactly the same,
so use only one of them and place it in dbus-common.
2013-04-18 02:54:58 +02:00
Simon Peeters
1700761b06
Move systemctl dot to systemd-analyze dot
2013-02-13 14:47:05 -08:00
Simon Peeters
2265fbf7e5
systemd-analyze: rewrite in C.
...
Written by Peeters Simon <peeters.simon@gmail.com >.
Makefile stuff and cleaned up a bit by Auke Kok <auke-jan.h.kok@intel.com >.
Some code inspired by Marc-Antoine Perennou <Marc-Antoine@Perennou.com >.
2013-02-13 14:46:50 -08:00
Simon Peeters
c516c8d17f
systemctl: fix issue with systemctl daemon-reexec
2012-08-10 18:08:22 +02:00
Simon Peeters
b9c26b4134
logind: use bus_method_call_with_reply() where posible
2012-08-08 17:20:04 +02:00
Simon Peeters
436dddeda6
update-utmp: use bus_method_call_with_reply() where posible
2012-08-08 17:19:30 +02:00
Simon Peeters
2a3613b121
loginctl: use bus_method_call_with_reply() where posible
2012-08-08 14:38:05 +02:00
Simon Peeters
c67de56f50
move bus_method_call_with_reply() to dbus-common
2012-08-08 02:04:40 +02:00
Simon Peeters
f22f08cd5f
systemctl: use bus_method_call_with_reply() where posible
...
use the method introduced by the previous commit
2012-08-08 01:32:30 +02:00
Simon Peeters
f3de59c592
systemctl: add bus_method_call_with_reply
...
this method combines the folowing dbus calls and there error handling:
dbus_message_new_method_call()
dbus_message_append_args()
dbus_connection_send_with_reply_and_block()
2012-08-08 01:29:55 +02:00
Simon Peeters
f9a3b83bf4
build-sys: do not link systemctl against journal-internal and id128-internal
...
systemctl does not need the internal journal and id128 libraries to
function, so don't link against them.
2012-08-03 18:20:09 +02:00
Peeters Simon
b5dd874dda
build-sys: use correct cpp
...
this solves issues where $(CPP) has differend include paths than 'cpp'
2012-07-26 16:04:52 +02:00