Commit Graph

2826 Commits

Author SHA1 Message Date
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 68cfe6eef4 gui: toogle app running state on double click in the world tree. Fix for #58 2010-04-03 23:58:52 +03:00
Nedko Arnaudov bd38960e01 gui: reorder actions in apps context menu. Fix for #69 2010-04-03 23:36:58 +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 866d24baaf gui: display run menu item of view in world tree only if app supervisor is available 2010-04-03 12:15:35 +03:00
Nedko Arnaudov 1c674dd664 daemon: fix&improve error handling in ladish_room_create() 2010-04-03 11:41:26 +03:00
Nedko Arnaudov d4bc1d7072 gui: double-click in room template list is treated as default action 2010-04-03 04:42:46 +03:00
Nedko Arnaudov 65d70978d2 gui: add ellipsis for create room main menu item
ellipsis suggests that there will be a dialog before the action
2010-04-03 04:37:53 +03:00
Nedko Arnaudov 6f1ed0408b gui: context menu for view items in the world tree 2010-04-03 04:35:27 +03:00
Nedko Arnaudov 550d1ed8e1 gui: fix use of uninitialized widget vars 2010-04-03 04:22:29 +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 9098a5a5f3 update laditools submodule to latest git 2010-03-27 14:41:43 +02: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 83b6150422 gui: change room related shortcuts 2010-03-21 19:28:55 +02:00
Nedko Arnaudov 6eda583e2e gui: delete room implemented 2010-03-21 18:58:47 +02:00
Nedko Arnaudov 3ee262014b gui: fix get_current_canvas() prototype. 2010-03-21 18:53:58 +02:00
Nedko Arnaudov 856d9f5f89 gui: move menu related code to separate file 2010-03-21 18:08:42 +02:00
Nedko Arnaudov 2663de5261 fix typo 2010-03-21 17:18:46 +02:00
Nedko Arnaudov 96967baa78 Remove studio rooms on studio unload 2010-03-21 16:48:04 +02:00
Nedko Arnaudov 09ae831171 irrelevant gtkbuilder xml reordering made by glade 3.6.7 2010-03-21 16:34:49 +02:00
Nedko Arnaudov ec1300100c create room dialog 2010-03-21 16:33:39 +02:00
Nedko Arnaudov 37f2f972ce gui: specify align for some dialog boxes
it was defaulting to same
2010-03-14 15:28:03 +02:00
Nedko Arnaudov 064609f0bc gui: move create room menu item to room menu 2010-03-14 15:17:12 +02:00
Nedko Arnaudov 5ec5ca3cc0 gui: Specify vbox orientation in the gladish gtkbuilder xml
This helps glade to render vboxes in proper way
2010-03-14 14:54:53 +02:00
Nedko Arnaudov 66503b08c1 use recognizable gtkbuilder identifiers for menu item images 2010-03-14 14:09:01 +02:00
Nedko Arnaudov e74f5abccb gui: add/remove room graph views on room appear/disappear 2010-03-13 20:58:33 +02:00
Nedko Arnaudov 50eb4581ce daemon: implement room removal 2010-03-13 20:56:55 +02:00
Nedko Arnaudov 4193da48b6 display the warning status image when there are xruns 2010-03-12 00:19:31 +02:00
Nedko Arnaudov 023639805f New icons by Nadia; Fixes #78 2010-03-11 23:51:13 +02:00
Nedko Arnaudov 3abed82be7 Add callbacks for room studio signals to studio proxy 2010-03-07 13:49:39 +02:00
Nedko Arnaudov 1f11f0968e Fix studio room signal parameters; Add RoomChanged signal 2010-03-07 13:46:45 +02:00
Nedko Arnaudov e154c89ce3 Improve the helper for retrieving dbus dict entries 2010-03-07 13:45:10 +02:00
Nedko Arnaudov 47dbbb940a sane helper for sending signals with complex parameters
* expose dbus_signal_send()
 * dbus_signal_emit() is lame for complex parameters because path, interface and name function parameters are unused
2010-03-07 13:42:44 +02:00