Commit Graph

40 Commits

Author SHA1 Message Date
Nedko Arnaudov ebce813997 Fix unused-parameter warnings in plain C code 2012-12-02 23:50:05 +02:00
Nedko Arnaudov cd3684d1ad cdbus: macros for defining interfaces with default handler 2011-11-09 02:59:26 +02:00
Nedko Arnaudov 4202100444 cdbus: prefix macros with CDBUS_ 2011-11-09 02:38:22 +02:00
Nedko Arnaudov 9202dae129 cdbus: remove lash traces
* rename cdbus header include guards to use CDBUS_ instead of LASH_DBUS_
 * remove dbus/error.h and dbus/error.c

error.h contained lash/ladish specific error strings and
lash_dbus_error() prototype. lash_dbus_error() is renamed to
cdbus_error() and its implementation is moved to dbus/method.c. The
D-Bus error strings that have DBUS_ERROR_XXX matches are removed and
their uses are switched to the libdbus variants. The ladish specific
error strings are moved to dbus_constants.h
2011-11-06 00:10:10 +02:00
Nedko Arnaudov 6aa44e9ab9 dbus_ -> cdbus_ renames 2011-09-10 03:35:48 +03:00
Nedko Arnaudov 53845918fe prefix cdbus global vars with unique prefix 2011-07-31 20:04:01 +03:00
Nedko Arnaudov 6c3ef670b6 gladish dialog for ladishd settings 2010-09-28 00:18:44 +03:00
Nedko Arnaudov 4a91f81d4c ladishd settings
* whether to autostart studio on load
 * whether to use notification daemon
 * shell to use
 * terminal to use
2010-09-26 20:08:36 +03:00
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 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 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 7c10be38cf daemon: coherent naming of studio related functions 2010-05-05 00:35:10 +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 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 91d5fceade daemon: studio.h include is not common include at all 2010-04-03 19:12:05 +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 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 e897f8a983 use different uuid for the new "empty" room template 2010-03-01 00:56:02 +02:00
Nedko Arnaudov dae8634a68 new room template: "empty" 2010-03-01 00:52:14 +02:00
Nedko Arnaudov b6fe91e830 basic room object creation and enum of rooms 2010-01-27 18:24:47 +02:00
Nedko Arnaudov c460646179 basic room management D-Bus interface 2010-01-10 18:26:34 +02:00
Nedko Arnaudov bf9b9272cb properly handle ladishd crashes 2009-12-17 07:41:57 +02:00
Nedko Arnaudov 90e81444ee ladishd: stop and unload studio on deamon deactivation 2009-11-25 15:44:53 +02:00
Nedko Arnaudov 4d061b7a39 execute commands in queue 2009-11-25 03:52:00 +02:00
Nedko Arnaudov 5f832c8668 rename log macros 2009-09-20 18:23:42 +03:00
Nedko Arnaudov 9290a15648 rewrite the helper for emiting signals 2009-09-05 19:12:53 +03:00
Nedko Arnaudov 68d4ac0eca Remove dbus/types.h
Handles must be defined as type
2009-09-05 18:18:07 +03:00
Nedko Arnaudov f55a45416e New studio command. Closes #7 2009-08-30 16:13:38 +03:00
Nedko Arnaudov 354012f707 Delete studio command. Closes #6 2009-08-30 14:36:27 +03:00
Nedko Arnaudov 64f3eeb654 Cleanup current studio before loading new one 2009-08-24 03:33:47 +03:00
Nedko Arnaudov 186b8ac84e GetStudioList implemented 2009-08-24 01:58:14 +03:00
Nedko Arnaudov a193d965b4 Move jack handling into studio object; fix race
Studio is a singleton and jack server start/stop races are avoided by using a queue
2009-08-23 01:21:23 +03:00
Nedko Arnaudov f64e4d4455 Move dbus constants to separate header 2009-08-22 03:07:19 +03:00
Nedko Arnaudov a3a1caa0fd rename daemon/dbus_iface_control to daemon/control 2009-08-20 22:06:58 +03:00