Nedko Arnaudov
f802bd0402
daemon: Router templates
2010-09-05 03:06:15 +03:00
Nedko Arnaudov
86b174b97a
daemon: disable the empty template for now
...
it is useless until there is a functionality to add new room ports
2010-09-05 03:05:36 +03:00
Nedko Arnaudov
ef9e54e3fd
daemon: implement deduction of project dir from project name and vice versa
2010-09-05 01:31:22 +03:00
Nedko Arnaudov
c5acbafc8f
daemon: fix unload of empty projects
2010-09-05 01:27:18 +03:00
Nedko Arnaudov
b812ccca67
Display project name string as part of the room view title
2010-09-04 03:19:58 +03:00
Nedko Arnaudov
7a5ba755e9
Add app list version number to the AppStateChanged signal and check it
2010-09-03 01:49:11 +03:00
Nedko Arnaudov
5374af8866
daemon: update app list version when adding and removing apps
...
gladish now takes it into account and skipped the changes because the version
was not incremented
2010-09-02 21:56:10 +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
1336d624e5
daemon: fix bug in log dump that caused all ports to be marked as "room link" ports
2010-09-01 01:21:34 +03:00
Nedko Arnaudov
b251c7afed
When saving project, create project directory if it doesn't exist
2010-08-31 04:00:48 +03:00
Nedko Arnaudov
8f20db7de0
on project load adjust canvas positions of capture/playback clients
2010-08-30 04:52:35 +03:00
Nedko Arnaudov
fc0a6b14be
daemon: move reusable signal emit code for graph objects to dedicated functions
2010-08-30 04:51:31 +03:00
Nedko Arnaudov
e06f5b73dd
daemon: save connections of stopped apps. #100
2010-08-30 04:14:25 +03:00
Nedko Arnaudov
dd822c7476
daemon: fix load of studios with more than one room
...
The room link ports were searched by uuid gloablly.
When two rooms had same ports uuid, always the first one was found.
Then when setting the graph override uuid for port, the port
override uuid of the second room was set over the port of the first
room. Thus the first room port was getting wrong override uuid and the
second room port override uuid was never set.
The solution implemented is to search for the port within the already
found room client. Then set the override uuid for the found port.
Room client in the studio graph has uuid of the room and is created
when room is loaded. This ensures that later when room-link ports are
added, the port of the right room client will be found. Then the
override uuid will be set to the proper port.
2010-08-30 02:10:26 +03:00
Nedko Arnaudov
252fe2042c
daemon: easier enable of find port by uuid debug logs
2010-08-30 01:58:02 +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
bbfd70e66d
daemon: fix parameter names in function prototypes
2010-08-30 00:08:43 +03:00
Nedko Arnaudov
76a8b6161b
daemon: handle apps with same name in different vgraphs
2010-08-30 00:05:57 +03:00
Nedko Arnaudov
1f4af5f439
daemon: better log messages when write() fails
2010-08-30 00:04:21 +03:00
Nedko Arnaudov
09cb302c01
daemon: fix save of studios with rooms
2010-08-29 23:38:46 +03:00
Nedko Arnaudov
6a2a94b996
daemon: notify user on studio save failure
2010-08-29 23:38:04 +03:00
Nedko Arnaudov
2d39e5eab0
daemon: notify user on studio xml parse failure
2010-08-29 23:00:14 +03:00
Nedko Arnaudov
ae212a37f2
reopen log file when it is deleted or replaced
2010-08-28 04:35:57 +03:00
Nedko Arnaudov
c62d7760b3
Fill the save project as dialog with current project properties
2010-08-23 00:17:57 +03:00
Nedko Arnaudov
1a954de817
daemon: save internal state of L1 apps when project is saved
2010-08-22 23:36:03 +03:00
Nedko Arnaudov
853dbca460
Fix typos in room dbus method descriptions
2010-08-22 21:22:09 +03:00
Nedko Arnaudov
b396329c5d
daemon: implementation of project load
2010-08-08 23:51:31 +03:00
Nedko Arnaudov
1d908a66d6
daemon: saveable projects
2010-08-06 05:00:04 +03:00
Nedko Arnaudov
17603f246d
daemon: make some save functionality reusable
...
* Helper functions in daemon/save.c will be used in project save functionality as well
* Graph iteration callbacks now receive the handle of the graph being iterated
* Indention is now more flexible because now it is not string but an integer
2010-08-06 03:19:23 +03:00
Nedko Arnaudov
60fec2bffa
daemon: send notification on studio load failure
2010-08-06 02:14:55 +03:00
Nedko Arnaudov
0017f19ffa
SaveProject method of the dbus room object.
2010-08-05 15:47:08 +03:00
Nedko Arnaudov
28f54ff578
Emit signal when command queue execution is halted because of error
...
This allows a client that waits for studio load/start to stop the wait.
Using a timeout is still good idea because of potential bugs in ladishd.
2010-07-28 17:58:49 +03:00
Nedko Arnaudov
399aaeaaf1
daemon: Fix for #97
...
Try to supply alternative fake strings if mapping fails
2010-07-23 03:59:12 +03:00
Nedko Arnaudov
9a1015f50f
daemon: register studio on dbus before rooms
2010-07-21 06:55:03 +03:00
Nedko Arnaudov
6842854e8c
daemon: fix room lifecycle that got slightly broken in previous commit
2010-07-21 06:22:50 +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
a08831a0ca
daemon: early check level validity when new app is being added
2010-06-13 21:34:28 +03:00
Nedko Arnaudov
d4f26eea8a
daemon: save studio rooms, if any
2010-06-10 03:15:52 +03:00
Nedko Arnaudov
535a28b56b
daemon: smarter parsing of studio xml files
...
* Attribute order is no longer fixed.
* Unknown attributes should not cause parse failure anymore.
2010-06-08 01:25:20 +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
c291a60da6
daemon: When saving studio, don't save non-studio jack clients
2010-05-31 00:47:10 +03:00
Nedko Arnaudov
229c4f2c0d
daemon: more fixes for #94
...
* properly handle removal of apps with portless JACK clients
* properly handle removal of a2j
2010-05-29 23:13:30 +03:00
Nedko Arnaudov
892c22d7ea
Properly handle stop of apps with jack clients without ports. Fix for #94
2010-05-29 15:36:53 +03:00
Nedko Arnaudov
de47286bbd
daemon: Don't display error when graph dict has no value for the requested key
...
This error is annoying because currently it is logged twice for each new app (x and y keys).
2010-05-29 13:12:19 +03:00
Nedko Arnaudov
d5c7bf6a6c
Don't send SIGUSR1 to not started L1 apps. Fix for #96
...
* ensure that kill() is called only from one place and that pid is valid
* cleanup and extend app_supervisor functions related to sending signals
2010-05-27 02:10:30 +03:00
Nedko Arnaudov
46bcf78914
daemon: fix removing of apps without jack client
...
see previous commit as well
2010-05-26 00:53:36 +03:00
Nedko Arnaudov
45fc0336c2
daemon: Properly handle apps without JACK clients
...
Fixes #94
2010-05-26 00:34:20 +03:00
Nedko Arnaudov
2b6505d009
daemon: change the default permissions of studios from 0700 to 0666
2010-05-19 01:43:13 +03:00
Nedko Arnaudov
e82916b5d9
daemon: queued remove app command
...
On app removal, wait app to stop and delete graph objects related to it.
Fixes #86
2010-05-16 11:22:13 +03:00