Nedko Arnaudov
e0ec247159
split vclient functionality
...
vgraph manipulation is going to be able to do more than split
2011-06-01 03:04:18 +03:00
Nedko Arnaudov
5bb20eda52
daemon: improve escaping functions
2010-12-02 03:04:14 +02:00
Nedko Arnaudov
e8f9b6b02e
ladishd: Deassociate pids of disappearing clients. Fix for #119
2010-11-30 00:13:11 +02:00
Nedko Arnaudov
fb15df6218
ladishd: recent list for studios
2010-11-18 00:48:32 +02:00
Nedko Arnaudov
ef3a3891db
move catdup to common/
2010-09-19 17:15:11 +03:00
Nedko Arnaudov
979f2190d0
move dirhelpers to common/
2010-09-19 17:04:14 +03:00
Nedko Arnaudov
a9a55b0ddc
daemon: refuse to create room with duplicate name. Fix for #106
2010-09-19 03:06:31 +03:00
Nedko Arnaudov
7217c4f3d3
daemon: proper notification on automatic studio creation. Fix for #88
2010-09-18 23:25:20 +03:00
Nedko Arnaudov
70f2357308
daemon: emit app remove signals before emiting studio disappeared signal
2010-09-01 02:05:48 +03:00
Nedko Arnaudov
ac1de1cc6a
daemon: handle rename of apps that have non-unique names
2010-08-30 00:40:17 +03:00
Nedko Arnaudov
76a8b6161b
daemon: handle apps with same name in different vgraphs
2010-08-30 00:05:57 +03:00
Nedko Arnaudov
853dbca460
Fix typos in room dbus method descriptions
2010-08-22 21:22:09 +03:00
Nedko Arnaudov
1d908a66d6
daemon: saveable projects
2010-08-06 05:00:04 +03:00
Nedko Arnaudov
0017f19ffa
SaveProject method of the dbus room object.
2010-08-05 15:47:08 +03:00
Nedko Arnaudov
9a1015f50f
daemon: register studio on dbus before rooms
2010-07-21 06:55:03 +03:00
Nedko Arnaudov
00cc1087dc
daemon: load studios with rooms
2010-07-21 05:53:48 +03:00
Nedko Arnaudov
5bb96d51e7
damon: Proper room lifecycle
...
* Room creation/destruction is now separeted from starting/stopping
(creating/destroying jmcore links)
* Rooms can now be created and destryed when studio is stopped
* Rooms are started/stopped when studio is started/stopped
Apart from better interraction of studio start/stop and room
lifecycles, it is now possible to implement load of studio with rooms
because during studio load rooms have to be created in stopped state
and eventually started only at later stage, during studio start.
2010-07-20 01:31:37 +03:00
Nedko Arnaudov
d4f26eea8a
daemon: save studio rooms, if any
2010-06-10 03:15:52 +03:00
Nedko Arnaudov
366ac2a22b
daemon: refuse to save studios with rooms
...
They are not loadable currently
2010-05-31 00:48:33 +03:00
Nedko Arnaudov
8925772da6
daemon: ladish_studio_get_jack_graph()
...
For use instead of ladish_studio_get_virtualizer()
because the later will return NULL when JACK server is stopped
2010-05-16 11:17: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
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
cb85e85b03
daemon: make create/delete room commands async ones
2010-05-09 12:54:45 +03:00
Nedko Arnaudov
0bb72a1f9d
daemon: document studio methods as sync/async
2010-05-09 11:43:31 +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
8948f99d7c
daemon: refuse to delete room if it has active apps. Fix for #85
2010-04-26 03:47:10 +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
245897bc6d
daemon: jmcore support in virtualizer
2010-04-11 22:24:41 +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
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
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
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
f823b0b19f
Fix autounload of automatic studios. Fixes #80
2010-04-04 01:39:13 +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
81c3e70f33
daemon: on studio stop, stop room apps as well
2010-04-03 19:33:25 +03:00
Nedko Arnaudov
963d4ff0ec
daemon: properly bury dead of room child app processes
2010-04-03 16:51:02 +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
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
Nedko Arnaudov
50eb4581ce
daemon: implement room removal
2010-03-13 20:56:55 +02:00
Nedko Arnaudov
1f11f0968e
Fix studio room signal parameters; Add RoomChanged signal
2010-03-07 13:46:45 +02:00
Nedko Arnaudov
a459a2a19c
Use opath as primary identification of rooms in studio rooms list
2010-03-06 17:18:48 +02:00