ladish/daemon
Nedko Arnaudov 698bf81a3b daemon: better handling for non-direct childs. Fixes #62
If the first JACK client that appears has pid different from the one
of the child process, send SIGUSR1 on L1 save to this first
grandchild.

This changeset fixes the "run L1 app in terminal" issue and the
similar issue with dash (the default shell on Debian and Ubuntu, that
for simple commandlines does fork() and exec() instead of just exec(),
like bash does. This changeset also fixes the situation with complex
commandlines that result in only one JACK client.

The complex commandlines that result in multiple processes creating
JACK clients are handled by sending the SIGUSR1 to the first process
that creates JACK client. In future this could be improved by sending
SIGUSR1 to all of them but it is probably better to avoid such
situations by creating one app per JACK-creating process.
2010-10-24 03:03:25 +03:00
..
app_supervisor.c daemon: better handling for non-direct childs. Fixes #62 2010-10-24 03:03:25 +03:00
app_supervisor.h daemon: better handling for non-direct childs. Fixes #62 2010-10-24 03:03:25 +03:00
appdb.c move catdup to common/ 2010-09-19 17:15:11 +03:00
appdb.h unify source copyright headers in ladishd 2009-07-29 21:08:27 +03:00
client.c daemon: handle apps with same name in different vgraphs 2010-08-30 00:05:57 +03:00
client.h daemon: handle apps with same name in different vgraphs 2010-08-30 00:05:57 +03:00
cmd.h ladishd settings 2010-09-26 20:08:36 +03:00
cmd_change_app_state.c daemon: handle apps with same name in different vgraphs 2010-08-30 00:05:57 +03:00
cmd_create_room.c daemon: refuse to create room with duplicate name. Fix for #106 2010-09-19 03:06:31 +03:00
cmd_delete_room.c damon: Proper room lifecycle 2010-07-20 01:31:37 +03:00
cmd_exit.c ladishd: stop and unload studio on deamon deactivation 2009-11-25 15:44:53 +02:00
cmd_load_project.c daemon: implementation of project load 2010-08-08 23:51:31 +03:00
cmd_load_studio.c Fix path of ladish log file that is announced when error occures 2010-10-19 23:48:21 +03:00
cmd_new_app.c daemon: handle apps with same name in different vgraphs 2010-08-30 00:05:57 +03:00
cmd_new_studio.c daemon: coherent naming of studio related functions 2010-05-05 00:35:10 +03:00
cmd_remove_app.c daemon: handle apps with same name in different vgraphs 2010-08-30 00:05:57 +03:00
cmd_rename_studio.c daemon: coherent naming of studio related functions 2010-05-05 00:35:10 +03:00
cmd_save_project.c SaveProject method of the dbus room object. 2010-08-05 15:47:08 +03:00
cmd_save_studio.c Fix path of ladish log file that is announced when error occures 2010-10-19 23:48:21 +03:00
cmd_start_studio.c damon: Proper room lifecycle 2010-07-20 01:31:37 +03:00
cmd_stop_studio.c damon: Proper room lifecycle 2010-07-20 01:31:37 +03:00
cmd_unload_project.c daemon: implementation of project load 2010-08-08 23:51:31 +03:00
cmd_unload_studio.c daemon: register studio on dbus before rooms 2010-07-21 06:55:03 +03:00
common.h Fix path of ladish log file that is announced when error occures 2010-10-19 23:48:21 +03:00
conf.h gladish dialog for ladishd settings 2010-09-28 00:18:44 +03:00
control.c gladish dialog for ladishd settings 2010-09-28 00:18:44 +03:00
control.h Emit signal when command queue execution is halted because of error 2010-07-28 17:58:49 +03:00
cqueue.c Emit signal when command queue execution is halted because of error 2010-07-28 17:58:49 +03:00
dbus.service.in Install D-Bus service file 2009-07-13 02:18:06 +03:00
dict.c Save clients, ports and dicts 2009-09-21 00:17:41 +03:00
dict.h Save clients, ports and dicts 2009-09-21 00:17:41 +03:00
escape.c daemon: escape app strings (name, command) whens storing them in xml. Closes #27 2009-12-12 17:14:04 +02:00
escape.h Move escape helpers to separate file 2009-09-12 11:11:52 +03:00
graph.c Fix for bug, where boxes for applications, started by ladish, doesn't present in graph(cherry picked from commit 3da9457b70158ccff58f2f20c8d4565546a6f8c3) 2010-10-02 10:40:32 +03:00
graph.h on project load adjust canvas positions of capture/playback clients 2010-08-30 04:52:35 +03:00
graph_dict.c daemon: Don't display error when graph dict has no value for the requested key 2010-05-29 13:12:19 +03:00
graph_dict.h graph dict dbus interface and persist canvas positions of modules 2009-09-07 20:53:56 +03:00
load.c daemon: fix removal of app that was loaded in stopped state 2010-09-06 15:16:40 +03:00
load.h ladishd: return project name in recent project list 2010-10-09 17:37:57 +03:00
loader.c gladish dialog for ladishd settings 2010-09-28 00:18:44 +03:00
loader.h daemon: on studio stop, wait apps to finish before stopping jack server. Fix for #24 2009-12-12 01:41:20 +02:00
log.c move catdup to common/ 2010-09-19 17:15:11 +03:00
main.c ladishd: Basic recent projects functionality 2010-10-09 16:53:03 +03:00
port.c daemon: jmcore support in virtualizer 2010-04-11 22:24:41 +03:00
port.h daemon: jmcore support in virtualizer 2010-04-11 22:24:41 +03:00
procfs.c ladishd: fix memory corruption bug and some bugs in procfs_get_process_file() 2010-09-21 23:53:23 +03:00
procfs.h daemon: find app name when client appears 2009-12-11 00:11:03 +02:00
proctitle.c common/debug.h -> log.h 2009-09-20 18:02:10 +03:00
proctitle.h unify source copyright headers in ladishd 2009-07-29 21:08:27 +03:00
recent_projects.c ladishd: return project name in recent project list 2010-10-09 17:37:57 +03:00
recent_projects.h ladishd: Basic recent projects functionality 2010-10-09 16:53:03 +03:00
recent_store.c ladishd: Basic recent projects functionality 2010-10-09 16:53:03 +03:00
recent_store.h ladishd: Basic recent projects functionality 2010-10-09 16:53:03 +03:00
room.c ladishd: Basic recent projects functionality 2010-10-09 16:53:03 +03:00
room.h ladishd: return project name in recent project list 2010-10-09 17:37:57 +03:00
room_internal.h Display project name string as part of the room view title 2010-09-04 03:19:58 +03:00
room_load.c Fix path of ladish log file that is announced when error occures 2010-10-19 23:48:21 +03:00
room_save.c move catdup to common/ 2010-09-19 17:15:11 +03:00
save.c ladishd: Basic recent projects functionality 2010-10-09 16:53:03 +03:00
save.h daemon: implementation of project load 2010-08-08 23:51:31 +03:00
sigsegv.c rename log macros 2009-09-20 18:23:42 +03:00
sigsegv.h unify source copyright headers in ladishd 2009-07-29 21:08:27 +03:00
studio.c move catdup to common/ 2010-09-19 17:15:11 +03:00
studio.h daemon: refuse to create room with duplicate name. Fix for #106 2010-09-19 03:06:31 +03:00
studio_internal.h daemon: register studio on dbus before rooms 2010-07-21 06:55:03 +03:00
studio_jack_conf.c daemon: coherent naming of studio related functions 2010-05-05 00:35:10 +03:00
virtualizer.c daemon: better handling for non-direct childs. Fixes #62 2010-10-24 03:03:25 +03:00
virtualizer.h daemon: save connections of stopped apps. #100 2010-08-30 04:14:25 +03:00