Nedko Arnaudov
04086f1fef
doxygenize app_supervisor.h
2010-05-08 17:54:24 +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
43deb74a41
daemon: disable log dump
2010-05-04 22:24:27 +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
c2c96d1fa4
daemon: Fix invalid memory access
...
This fixes negative pid reports on 32bit systems
2010-04-24 16:56:20 +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
2923a9772d
daemon: fix wrong goto that was causing warning
...
../daemon/virtualizer.c:437: error: 'is_a2j' may be used uninitialized in this function
2010-04-11 22:43:32 +03:00
Nedko Arnaudov
245897bc6d
daemon: jmcore support in virtualizer
2010-04-11 22:24:41 +03:00
Nedko Arnaudov
e0756fe0ee
daemon: jmcore proxy initialization and improved error handling in main()
2010-04-11 17:18:48 +03:00
Nedko Arnaudov
31f6cb939b
daemon: room-studio port creation through jmcore
...
virtualizer does not know about jmcore yet
2010-04-11 16:45:30 +03:00
Nedko Arnaudov
d4fa4a2412
daemon: remove misuse of the room_count
...
it is used to ensure that room dbus object path is unique
decrementing it when room is removed does not make sense
because removing non-last room will create duplicate
object path string
2010-04-11 16:37:18 +03:00
Nedko Arnaudov
c7379123eb
remove extra line
2010-04-05 17:17:23 +03:00
Nedko Arnaudov
49812cd219
daemon: when deleting room, search its studio graph client by uuid rather than by name
2010-04-05 05:24:21 +03:00
Nedko Arnaudov
ef08b85792
daemon: on jack crash, properly cleanup non virtual graph objects
...
* room graphs need cleanup as well
* graphs should not be cleared because clearing is not suitable for restart jack
functionality that is planned
2010-04-05 05:03:41 +03:00
Nedko Arnaudov
c90661388f
daemon: on studio stop, hide only non-virtual graph objects
...
Representation of rooms in studio graph must not be hidden on server stop
2010-04-05 04:35:08 +03:00
Nedko Arnaudov
c78c4c6483
daemon: register virtualizer graph connection handlers for rooms
2010-04-05 04:18:24 +03:00
Nedko Arnaudov
58db7cba75
daemon: handle room app renames
2010-04-04 22:05:25 +03:00
Nedko Arnaudov
e498a65b6f
daemon: fix use of uninitialized vars
2010-04-04 21:51:47 +03:00
Nedko Arnaudov
9f3f884c4d
daemon: improve log messages and add TODO comments
2010-04-04 21:30:25 +03:00
Nedko Arnaudov
de772730a5
daemon: fix port lifecycle problem that was causing crash
...
There are three types of ports depeneding on references to them:
* ports that are referenced from jack and studio graphs
* ports that are referenced from jack and room graphs
* studio-room link ports that are referenced from studio and room graphs
The old approach was to destroy ports when removing references from jack graph.
Studio-room link ports were destroyed when removing the room.
However this caused double free when removing app ports that appear in jack and
room graphs.
The introduced implementation uses reference counting of graph references to ports.
Temporary references (like the one returned by port constructor and graph_get_port())
are not tracked.
2010-04-04 21:08:20 +03:00
Nedko Arnaudov
d161a68191
daemon: make the room app ports appear in the room graph instead of studio graph
2010-04-04 04:03:40 +03:00
Nedko Arnaudov
f823b0b19f
Fix autounload of automatic studios. Fixes #80
2010-04-04 01:39:13 +03:00
Nedko Arnaudov
06fa6965b4
daemon: fit app search by pid that got broken in 454346ce65
2010-04-04 00:35:40 +03:00
Nedko Arnaudov
22aa3feb67
daemon: Fix comment
2010-04-04 00:31:40 +03:00
Nedko Arnaudov
e2c0400548
daemon: add commented logs
2010-04-04 00:31:14 +03:00
Nedko Arnaudov
3e5b69c481
daemon: iterate studio graphs instead of app supervisors
...
The callback has both app supervisor and graph parameters.
The graph parameter is needed so virtualizer can know where to add clients/ports
2010-04-03 22:25:28 +03:00
Nedko Arnaudov
496f8712e2
fix typo in comment
2010-04-03 22:07:55 +03:00
Nedko Arnaudov
454346ce65
daemon: search client pids in room supervisors too
2010-04-03 20:33:20 +03:00
Nedko Arnaudov
81c3e70f33
daemon: on studio stop, stop room apps as well
2010-04-03 19:33:25 +03:00
Nedko Arnaudov
91d5fceade
daemon: studio.h include is not common include at all
2010-04-03 19:12:05 +03:00
Nedko Arnaudov
963d4ff0ec
daemon: properly bury dead of room child app processes
2010-04-03 16:51:02 +03:00
Nedko Arnaudov
bbb8d20a1e
app supervisor for rooms
2010-04-03 12:16:20 +03:00
Nedko Arnaudov
1c674dd664
daemon: fix&improve error handling in ladish_room_create()
2010-04-03 11:41:26 +03:00
Nedko Arnaudov
29282299ad
daemon: Fix direction of room link ports in studio graph
2010-04-03 00:47:05 +03:00
Nedko Arnaudov
7c81ae351d
daemon: studio graph clients for rooms
2010-03-31 01:50:01 +03:00
Nedko Arnaudov
e082320f58
daemon: Allow call to ladish_graph_iterate_nodes() with limited set of callbacks
2010-03-31 01:48:13 +03:00
Nedko Arnaudov
ad8eaa3323
daemon: remove unused members from client and port structs
2010-03-30 23:10:23 +03:00
Nedko Arnaudov
e22b7a2d69
daemon: remove useless client properties
2010-03-24 02:02:45 +02:00
Nedko Arnaudov
13bc814f0b
daemon: fill the Basic room template with ports and copy them when creating studio rooms
2010-03-24 01:11:53 +02:00
Nedko Arnaudov
1d6d8c4791
daemon: fix room template identifiers
2010-03-23 01:11:02 +02:00
Nedko Arnaudov
30a6aa77d4
fix names of some studio room and room template methods
2010-03-21 23:18:04 +02:00
Nedko Arnaudov
96967baa78
Remove studio rooms on studio unload
2010-03-21 16:48:04 +02:00