Commit Graph

2955 Commits

Author SHA1 Message Date
Nedko Arnaudov 574962bfb0 wscript: fix pre 2.6 python support 2010-05-16 11:15:09 +03:00
Nedko Arnaudov 18ba50dafb daemon: on app stop, wait its client to disappear 2010-05-13 03:18:23 +03:00
Nedko Arnaudov 76aba4487b daemon: Interlink clients when loading studio from disk 2010-05-13 03:14:43 +03:00
Nedko Arnaudov 3dd990a749 daemon: dump graph client interlinks 2010-05-13 02:36:44 +03:00
Nedko Arnaudov 525be9f5a8 daemon: fix incorrect identifiers
In past 'change app state' command was called 'start app'.
This changeset updates identifiers to match the new purpose
2010-05-12 04:55:40 +03:00
Nedko Arnaudov 046563f840 daemon: Partial fix for #86
Don't use jack ids for associating client in jack graph with client in vgraph
because jack ids can change (apps can create clients in random order).
jack ids are not valid after jack server stop

This changeset switches to interlinking the two client by each one storing uuid of the other.
2010-05-12 04:25:39 +03:00
Nedko Arnaudov fbc0057fb3 waf: gtags command 2010-05-12 00:39:10 +03:00
Nedko Arnaudov 49cd073a43 waf: etags command 2010-05-11 23:20:12 +03:00
Nedko Arnaudov b44260b955 daemon: fix access of just freed memory 2010-05-10 22:35:53 +03:00
Nedko Arnaudov 3126bbdb5d daemon: when destroying room, remove its hidden app ports. Fixes #87
If ports stay hidden in JACK graph and they get reused, no vgraph will exist
2010-05-10 22:33:40 +03:00
Nedko Arnaudov 9a42d3d998 daemon: remove room client connections in studio graph. Fix #89
When room client in studio graph is being destroyed of room being destroyed,
connections for this client need to be destroyed as well.
2010-05-10 20:40:53 +03:00
Nedko Arnaudov e78efac7e6 daemon: hide non-public functions used for graph object implementation 2010-05-10 20:24:21 +03:00
Nedko Arnaudov 9638c3fb0e fix compilation warning 2010-05-10 19:51:20 +03:00
Nedko Arnaudov 23d42ae884 update jack2 to include the fix for spurious signals 2010-05-10 03:24:56 +03:00
Nedko Arnaudov 4428a164c2 daemon: ignore duplicate jack-stopped signal
this is actually a bug in jackdbus because it should not emit
the "stopped" signal when the server stop is attempted and
server is already stopped.

The previous commit cd98f23804 is related
Both this and previous commit are related to ticket #82
2010-05-10 03:06:58 +03:00
Nedko Arnaudov eec435a79d daemon: ignore duplicate jack-started signal
this is actually a bug in jackdbus because it should not emit
the "started" signal when the server start is attempted and
server is already started
2010-05-10 01:43:25 +03:00
Nedko Arnaudov cd98f23804 daemon: remove connections instead of hidding them if graph is not persisted
This is needed to properly cleanup room graph during room destruction.
ladish_graph_is_empty() returns false if there are hidden connections.
Also it makes no sense to have hidden connections for removed ports
2010-05-09 16:13:52 +03:00
Nedko Arnaudov d8135a5117 daemon: wait room cleanup before destroying it. Fix for #81 and #83 2010-05-09 16:00:28 +03:00
Nedko Arnaudov b82728b36a daemon: properly count number of owned jack clients
jmcore clients are not counted on appear so they should not be counted on disappear too
2010-05-09 15:48:27 +03:00
Nedko Arnaudov cb85e85b03 daemon: make create/delete room commands async ones 2010-05-09 12:54:45 +03:00
Nedko Arnaudov dd086a0b72 daemon: fix use of NULL pointers in logs 2010-05-09 12:10:19 +03:00
Nedko Arnaudov 15d08a2e92 minor fix in documentation 2010-05-09 12:01:21 +03:00
Nedko Arnaudov 0bb72a1f9d daemon: document studio methods as sync/async 2010-05-09 11:43:31 +03:00
Nedko Arnaudov fb8d49d1ea minor doxygen fixes 2010-05-08 22:34:08 +03:00
Nedko Arnaudov c830748430 daemon: make stop and kill app commands async ones 2010-05-08 22:20:08 +03:00
Nedko Arnaudov d2782283a7 daemon: cmd_start_app -> cmd_change_app_state 2010-05-08 21:28:56 +03:00
Nedko Arnaudov df1c44647b daemon: maintain app state enum 2010-05-08 20:40:52 +03:00
Nedko Arnaudov e8e64de150 daemon: document app supervisor methods as sync/async 2010-05-08 19:32:51 +03:00
Nedko Arnaudov e913955b1d daemon: ladish_app_supervisor_check_app_name()
ladish_app_supervisor_find_app_by_name() was not really useful because name can change.
Apps should be searched by their unqiue dbus id instead.
2010-05-08 18:02:39 +03:00
Nedko Arnaudov 04086f1fef doxygenize app_supervisor.h 2010-05-08 17:54:24 +03:00
Nedko Arnaudov 5642b747e5 configure option to enable doxygen docs generation 2010-05-08 16:09:40 +03:00
Nedko Arnaudov 16a9e2d1dc daemon: add some documentation for app supervisor interface 2010-05-08 15:30:59 +03:00
Nedko Arnaudov e5151a68b2 daemon: remove dead code 2010-05-05 01:24:47 +03:00
Nedko Arnaudov cb11dd8edf daemon: detect unexpected app termination and notify user 2010-05-05 01:23:20 +03:00
Nedko Arnaudov bb7a63e216 daemon: handle start_app requests asynchronously 2010-05-05 01:09:42 +03:00
Nedko Arnaudov 7c10be38cf daemon: coherent naming of studio related functions 2010-05-05 00:35:10 +03:00
Nedko Arnaudov 16ca901d9a daemon: new_app command
This introduces no new functionality but changes the way new apps are started.
Previously new app request were not queued, they were synchronous.
Now they are queued and asynchronous.
2010-05-04 23:48:23 +03:00
Nedko Arnaudov ac74633473 daemon: expose some studio internals
* studio_is_started() is now public
 * ladish_studio_get_cmd_queue() returns the queue
2010-05-04 23:29:38 +03:00
Nedko Arnaudov 5a8019f031 fix ASSERT to evaluate the expression only once 2010-05-04 23:20:31 +03:00
Nedko Arnaudov 43deb74a41 daemon: disable log dump 2010-05-04 22:24:27 +03:00
Nedko Arnaudov 4a0e2cbef7 art: web logo 2010-04-27 10:52:12 +03:00
Nedko Arnaudov 8948f99d7c daemon: refuse to delete room if it has active apps. Fix for #85 2010-04-26 03:47:10 +03:00
Nedko Arnaudov f94badb5fb gui: remove room views when ladishd crash is detected. Fix for #84 2010-04-25 01:50:32 +03:00
Nedko Arnaudov b4e5f52776 gui: fix is_room_view() to properly detect raw jack view 2010-04-25 01:48:40 +03:00
Nedko Arnaudov c2c96d1fa4 daemon: Fix invalid memory access
This fixes negative pid reports on 32bit systems
2010-04-24 16:56:20 +03:00
Nedko Arnaudov 954c10fd93 update the jack2 submodule to include the no-self-connect fix 2010-04-24 16:10:52 +03:00
Nedko Arnaudov 4e2a9fd381 When jack server start fails, notify the user and give some hints 2010-04-18 02:13:02 +03:00
Nedko Arnaudov 5eb4a8eca1 daemon: improved handling of save attempt on stopped studio (notify) 2010-04-18 01:53:52 +03:00
Nedko Arnaudov 94093265e2 daemon: initial implementation of user notification 2010-04-18 01:49:36 +03:00
Nedko Arnaudov 677deabc40 update the laditools submodule 2010-04-17 15:35:49 +03:00