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
Nedko Arnaudov
2fd730ea55
daemon: expose new studio room objects on D-Bus
2010-03-06 17:03:14 +02:00
Nedko Arnaudov
847536504b
Basic control of studio rooms
2010-03-01 02:12:12 +02:00
Nedko Arnaudov
dd24a9cc65
Fix studio enumeration on unusual filesystems. Closes #70
...
Btrfs, ext2, etx3, and ext4 support d_type. JFS does not.
2010-02-02 21:51:02 +02:00
Nedko Arnaudov
15350decd4
studio "save as". Fixes #13
2009-12-27 00:41:46 +02:00
Nedko Arnaudov
093af66573
rename graph clients when app is renamed
...
this fixes autoconnection too because hidden clients are searched by name
2009-12-26 22:46:20 +02:00
Nedko Arnaudov
cd80903ecf
Don't emit crashed signal when creating automatic studios
2009-12-17 07:40:52 +02:00
Nedko Arnaudov
1e9d406f23
notify user when JACK crashes or stops unexpectedly
2009-12-17 06:34:45 +02:00
Nedko Arnaudov
cb5a2ef522
daemon: handle jack server crashes and unexpected stops
2009-12-13 19:35:50 +02:00
Nedko Arnaudov
78f5665ac5
helpers for handling dbus signals
2009-12-13 17:48:29 +02:00
Nedko Arnaudov
5324f63eff
daemon: handle malloc() failure
2009-12-12 17:12:03 +02:00
Nedko Arnaudov
672c5e52d8
don't allow saving of non-started studio
...
hidden clients, ports and connections are not saved
so only app list will be saved.
2009-12-07 23:35:37 +02:00
Nedko Arnaudov
2f190e929f
daemon: new studio method: IsStarted()
2009-12-06 01:51:25 +02:00
Nedko Arnaudov
0b6ad2626f
ladishd: app list serialization; autolaunch on load
2009-12-05 00:42:40 +02:00
Nedko Arnaudov
6b7103ead6
ladishd: maintain list of currently running apps
2009-11-30 23:45:14 +02:00
Nedko Arnaudov
8acc3ee6d2
ladishd: rework loader interface
2009-11-30 16:39:59 +02:00
Nedko Arnaudov
e46ea7b77b
ladishd: basic app supervisor
2009-11-30 01:22:58 +02:00
Nedko Arnaudov
8e6f044d74
ladishd: jack_dispatcher -> virtualizer
2009-11-28 17:23:23 +02:00
Nedko Arnaudov
90e81444ee
ladishd: stop and unload studio on deamon deactivation
2009-11-25 15:44:53 +02:00
Nedko Arnaudov
5d0c8c714b
ladishd: fix studio save
2009-11-25 15:15:40 +02:00
Nedko Arnaudov
4d061b7a39
execute commands in queue
2009-11-25 03:52:00 +02:00
Nedko Arnaudov
5cb41d1b36
switch from event queue to environment state; run the studio cqueue
2009-11-24 03:10:57 +02:00
Nedko Arnaudov
c9567a3cb0
fix warning
...
'backup_filename_ptr' may be used uninitialized in this function
gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4
CFLAGS=-O2 -pipe
2009-11-20 01:39:37 +02:00
Nedko Arnaudov
1b1d5bbfa9
command queue; not really used yet
2009-10-19 01:16:59 +03:00
Nedko Arnaudov
6dcf0d6eb7
daemon: on stop, hide clients and ports instead of removing them
...
If they are removed all info associated with them is lost, including pending connections
and dictionaries
2009-10-08 23:45:03 +03:00
Nedko Arnaudov
540d2eb721
Make assert print error message to log
2009-09-20 18:48:42 +03:00