Commit Graph

2807 Commits

Author SHA1 Message Date
Nedko Arnaudov 94093265e2 daemon: initial implementation of user notification 2010-04-18 01:49:36 +03:00
Nedko Arnaudov 677deabc40 update the laditools submodule 2010-04-17 15:35:49 +03:00
Nedko Arnaudov 2923a9772d daemon: fix wrong goto that was causing warning
../daemon/virtualizer.c:437: error: 'is_a2j' may be used uninitialized in this function
2010-04-11 22:43:32 +03:00
Nedko Arnaudov 245897bc6d daemon: jmcore support in virtualizer 2010-04-11 22:24:41 +03:00
Nedko Arnaudov 3d65b3d0fd daemon: fix crash on exit 2010-04-11 18:55:55 +03:00
Nedko Arnaudov e0756fe0ee daemon: jmcore proxy initialization and improved error handling in main() 2010-04-11 17:18:48 +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 baaf78dfcf remove useless handle definition; a2j is a singleton 2010-04-11 15:20:27 +03:00
Nedko Arnaudov 919e01fd8b jmcore: one JACK client per pair
This reduces latency because JACK client is run only once per cycle
2010-04-11 13:36:26 +03:00
Nedko Arnaudov da63d80b84 jmcore - JACK multicore (snake) 2010-04-11 12:25:30 +03:00
Nedko Arnaudov 8d73642124 fix comment 2010-04-11 08:28:26 +03:00
Nedko Arnaudov 1cdf1ba568 doc: improve virtualizer diagram 2010-04-07 18:10:06 +03:00
Nedko Arnaudov 9296277db0 basic component diagram for virtualizer 2010-04-07 16:47:40 +03:00
Nedko Arnaudov b27e246c20 doc: Save the diagrams document with latest gaphor
gaphas is 0.6.0-16-g466b5a6 (0.6.1 pre)
gaphor is 0.15.0 (043a481c4c9ac1c21d4794725627d82808805810)
2010-04-07 16:14:35 +03:00
Nedko Arnaudov fa659ece3a doc: fix the diagrams document to load with latest gaphor/gaphas
http://gaphor.lighthouseapp.com/projects/39230/tickets/45-cannot-load-gaphor-file-cant-set-orthogonal-line-with-less-than-3-handles
2010-04-07 16:10:26 +03:00
Nedko Arnaudov d5ab22f490 coding style document 2010-04-05 17:17:47 +03:00
Nedko Arnaudov c7379123eb remove extra line 2010-04-05 17:17:23 +03:00
Nedko Arnaudov 31900ca551 gui: workaround gtk bug that causes progress bar redraw to be skipped sometimes 2010-04-05 15:15:32 +03:00
Nedko Arnaudov edf72d3972 gui: menu item for controling raw jack graph display 2010-04-05 14:06: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 180a4d4307 gui: when app is selected in the world tree, activate its view 2010-04-05 05:14:17 +03:00
Nedko Arnaudov 32323f40e4 gui: set initial focus of create room dialog 2010-04-05 05:09:20 +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 c90661388f daemon: on studio stop, hide only non-virtual graph objects
Representation of rooms in studio graph must not be hidden on server stop
2010-04-05 04:35:08 +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 e498a65b6f daemon: fix use of uninitialized vars 2010-04-04 21:51:47 +03:00
Nedko Arnaudov 9f6946c97f remove the obsolete "safety" memory functions
Juuso favours them but I favour explicit handling of memory allocation checks
that cause current function to fail
2010-04-04 21:45:53 +03:00
Nedko Arnaudov 9d4d8c6ea0 dbus: remove obsolete kludge 2010-04-04 21:33:17 +03:00
Nedko Arnaudov 9f3f884c4d daemon: improve log messages and add TODO comments 2010-04-04 21:30: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 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