Commit Graph

227 Commits

Author SHA1 Message Date
Nedko Arnaudov 128ad4d5d0 gui: split gui/main.c into smaller parts
The refactoring is based on Nikita Zlobin suggestions
2010-09-07 01:02:12 +03:00
Nedko Arnaudov 3beb3cc01d waf: option for creating distribution tarballs without git submodules 2010-09-06 16:12:50 +03:00
Nedko Arnaudov 2008ba8f7d waf: do not distribute GNU global tag files 2010-09-06 16:12:23 +03:00
Nedko Arnaudov b78b580ef6 waf: dist tarball will not include .gitmodules anymore 2010-09-06 15:58:07 +03:00
Nedko Arnaudov 598ea85ee4 wscript: version is 0.3-rc now 2010-09-06 15:42:51 +03:00
Nedko Arnaudov 1bbcec46a9 waf: require flowcanvas-0.6.4
It has fix for #63 and fix for a bug that was workarounded in past but the workaround
was reverted in the previous commit
2010-09-03 01:09:47 +03:00
Nedko Arnaudov c00c30ca2d waf: Disable opimizations in debug mode
The -Wuninitilized vs optimizations situation is problematic.
-Wuninitialized needs optimizations to work properly
but then binaries are hard to debug because stack gets optimized.

The implemented solution is not to build debuggable executables
by default, even for non-release source trees. If debug mode is
force enabled at configure stage, then optimizations are force
disabled. This way use of uninitialized data will be catched
early during development and when debugging is needed, the debug
mode will have to be force enabled.
2010-08-31 03:05:35 +03:00
Nedko Arnaudov 997208c0df gui: basic save/unload/load project functionality 2010-08-22 06:49:44 +03:00
falkTX afa485ee18 Install desktop and icon files 2010-08-20 15:15:24 +01: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 0017f19ffa SaveProject method of the dbus room object. 2010-08-05 15:47:08 +03:00
Nedko Arnaudov 55406c08a7 Install compatibility files required for building against liblash 2010-06-19 22:31:14 +03:00
Nedko Arnaudov 0a3ee8cd54 wscript: when needed, force gcc optimizations in order to enable -Wuninitialized 2010-06-05 15:32:37 +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
Nedko Arnaudov 574962bfb0 wscript: fix pre 2.6 python support 2010-05-16 11:15:09 +03:00
Nedko Arnaudov fbc0057fb3 waf: gtags command 2010-05-12 00:39:10 +03:00
Nedko Arnaudov 49cd073a43 waf: etags command 2010-05-11 23:20:12 +03:00
Nedko Arnaudov cb85e85b03 daemon: make create/delete room commands async ones 2010-05-09 12:54:45 +03:00
Nedko Arnaudov d2782283a7 daemon: cmd_start_app -> cmd_change_app_state 2010-05-08 21:28:56 +03:00
Nedko Arnaudov 5642b747e5 configure option to enable doxygen docs generation 2010-05-08 16:09:40 +03:00
Nedko Arnaudov bb7a63e216 daemon: handle start_app requests asynchronously 2010-05-05 01:09:42 +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 94093265e2 daemon: initial implementation of user notification 2010-04-18 01:49:36 +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 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 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 856d9f5f89 gui: move menu related code to separate file 2010-03-21 18:08:42 +02:00
Nedko Arnaudov ec1300100c create room dialog 2010-03-21 16:33:39 +02:00
Nedko Arnaudov fc21df8068 daemon: better implementation of server stop timeout workaround
* current time check is more precise
 * waits during command executions are suboptimal because they block the main loop
2010-03-06 02:17:51 +02:00
Nedko Arnaudov 44cdd3164c Use custom status icons (and more of them). Fixes #65 2010-02-21 20:11:30 +02:00
Nedko Arnaudov 5fc59ea3ed fix wscript after switch to GtkBuilder 2010-02-07 22:59:21 +02:00
Nedko Arnaudov fbc1bb5aa1 gladish: switch from libglade to GtkBuilder
GTK 2.16 is required now.
Warnings during conversion:
[main_win:main_vbox:menubar:view_menu_item:view_menu:menu_item_view_arrange] Property 'Tooltip' of object class 'Widget' is only supported in libglade format
[main_win:main_vbox:toolbar:toolitem28:alignment2:hbox4:buffer_size_combo] Property 'Tooltip' of object class 'Widget' is only supported in libglade format
[main_win:main_vbox:toolbar:toolitem28:alignment2:hbox4:buffer_size_combo] Property 'Items' of object class 'Combo Box' is only supported in libglade format
[main_win:main_vbox:toolbar:clear_load_button] Property 'Tooltip' of object class 'Widget' is only supported in libglade format
[main_win:main_vbox:toolbar:toolitem30:alignment3:xrun_progress_bar] Property 'Tooltip' of object class 'Widget' is only supported in libglade format
2010-02-07 19:37:23 +02:00
Nedko Arnaudov 0a60fa61a6 daemon: initial room object implementation 2010-01-10 17:44:14 +02:00
Nedko Arnaudov 1094b5e509 Start ladish-0.3 2009-12-29 09:18:48 +02:00
Nedko Arnaudov 4b4d6c974f Release ladish-0.2 2009-12-29 09:11:00 +02:00
Nedko Arnaudov eff9454c8b gui: improve the about dialog. Fixes #11 2009-12-27 15:16:24 +02:00
Nedko Arnaudov a1f4684a34 require flowcanvas-0.6.0
0.6.0 is the first official release that works
2009-12-21 23:34:44 +02:00
Nedko Arnaudov 8ba8c8412b gui: remove unused and duplicate dbus helper code 2009-12-13 18:19:29 +02:00
Nedko Arnaudov b5565fd398 move proxy implementations to new /proxies directory 2009-12-13 18:10:57 +02:00
Nedko Arnaudov dd46f403a9 waf: fix debuggable builds; disable werror for release builds (fixes #15) 2009-12-10 22:44:42 +02:00
Nedko Arnaudov bb7338fae0 daemon: a2j virtualization 2009-12-07 00:56:48 +02:00
Nedko Arnaudov ad421b846a gui: refactor a2j_proxy 2009-12-06 23:35:01 +02:00
Nedko Arnaudov 67a1dd5013 gui: dialog for starting programs now starts them through ladishd 2009-12-03 01:49:08 +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 4d061b7a39 execute commands in queue 2009-11-25 03:52:00 +02:00
Nedko Arnaudov bda0255efb fix ticket 14, waf configure now fails if expat is not found 2009-11-24 00:49:02 +02:00
Nedko Arnaudov 2f97ac2bab fix text of a waf-configure warning
copying wscript stuff from jack2 is good idea but being bling is not
2009-11-24 00:33:50 +02:00
Nedko Arnaudov 1b1d5bbfa9 command queue; not really used yet 2009-10-19 01:16:59 +03:00
Nedko Arnaudov 969873de35 Make backtrace function lookup to work for functions in the executable itself 2009-09-20 18:56:44 +03:00
Nedko Arnaudov 5f832c8668 rename log macros 2009-09-20 18:23:42 +03:00
Nedko Arnaudov a7cddc8ae5 Move chunks of studio object implementation to separate files 2009-09-12 14:50:35 +03:00
Nedko Arnaudov 3e2759323c Move escape helpers to separate file 2009-09-12 11:11:52 +03:00
Nedko Arnaudov ff607c1e8e merge graph_dict_proxy into graph_proxy 2009-09-12 09:44:52 +03:00
Nedko Arnaudov 7a8931a94a graph dict dbus interface and persist canvas positions of modules 2009-09-07 20:53:56 +03:00
Nedko Arnaudov 03629cd633 dict implementation 2009-09-07 01:05:36 +03:00
Nedko Arnaudov a964d9c768 basic ports 2009-09-06 20:31:42 +03:00
Nedko Arnaudov 813c97bed1 graph_iface -> graph 2009-09-06 15:30:29 +03:00
Nedko Arnaudov d7473e1fca Basic jack dispatcher 2009-09-06 01:15:25 +03:00
Nedko Arnaudov 3fb3fcc75e Virtual clients in studio graph 2009-09-06 00:13:05 +03:00
Nedko Arnaudov c677ed1f7c Remove tabs in wscript 2009-09-05 19:23:40 +03:00
Nedko Arnaudov 867f06a597 Hide dbus_object_path internals behind the interface 2009-09-05 17:27:56 +03:00
Nedko Arnaudov 322dca7c1c cleanup dbus helpers 2009-09-04 02:27:05 +03:00
Nedko Arnaudov 11383c89d3 Eradicate the compat liblash implementation 2009-09-04 02:21:48 +03:00
Nedko Arnaudov 4c114d563a patchbay -> graph_iface 2009-09-03 06:10:52 +03:00
Nedko Arnaudov e40bb25e13 daemon: jack graph proxy object 2009-09-03 05:45:39 +03:00
Nedko Arnaudov dbac3eddf8 Bump version to 0.2 2009-09-01 22:52:24 +03:00
Nedko Arnaudov 8c06cbb5ff Improve configure checks. Closes #10
* Actually use the result of boost headers check
 * Enable boost tool options
 * If required libraries are not installed, don't build
   gladish but still build the non-gui parts.
2009-09-01 22:47:12 +03:00
Nedko Arnaudov 0d1ac13dd3 make git_ver work with tarball 2009-09-01 03:18:37 +03:00
Nedko Arnaudov 8b9c18ed99 Adjust configure checks and link dependencies 2009-09-01 02:21:20 +03:00
Nedko Arnaudov c6ef31888c Make liblash build optional and disabled by default
Installing it is bad, because it is not working yet and because
early previews will require users to uninstall LASH for no reason.
2009-09-01 00:41:31 +03:00
Nedko Arnaudov c9287c690c liblash: fix unresolved external 2009-09-01 00:28:38 +03:00
Nedko Arnaudov 6e5f677942 gladish: Confirm studio delete dialog 2009-08-30 15:35:32 +03:00
Nedko Arnaudov 99da9acaf2 Install ladish_control 2009-08-29 12:39:34 +03:00
Nedko Arnaudov be4d6f2fdb Restore JACK parameters during studio load. Closes #2 2009-08-27 23:17:23 +03:00
Nedko Arnaudov 37f579f03c Change current version to match the next milestone 2009-08-24 05:33:58 +03:00
Nedko Arnaudov 2fe467e0bf compose path of and eventually create base dir (~/.ladish/) 2009-08-24 00:02:45 +03:00
Nedko Arnaudov 8f3a80574f Move ensure_dir_exist() to separate files
It is needed for more than composing log file path.
Studio, room, project xml file paths need it too.
2009-08-23 23:41:12 +03:00
Nedko Arnaudov d402383782 Use base name (instead of "lash") for log file path 2009-08-23 23:28:05 +03:00
Nedko Arnaudov 21965995d9 hook studio save to gui; improve studio interface; studio proxy 2009-08-23 11:09:15 +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 005e011f7d Move catdup() from daemon/ to top dir, it is needed for gladish too 2009-08-22 16:55:55 +03:00
Nedko Arnaudov 74133da587 move view object to separate files 2009-08-22 14:11:38 +03:00
Nedko Arnaudov 5172f7ffe9 project list -> world tree 2009-08-22 03:46:20 +03:00
Nedko Arnaudov b0a9409cbf patchbay interface 2009-08-20 23:50:24 +03:00
Nedko Arnaudov a3a1caa0fd rename daemon/dbus_iface_control to daemon/control 2009-08-20 22:06:58 +03:00
Nedko Arnaudov 6d927edeb6 basic control_proxy object 2009-08-20 00:51:27 +03:00
Nedko Arnaudov b71fc82c9c Remove dead code 2009-08-19 23:18:36 +03:00
Nedko Arnaudov d894588b95 Compile main() with plain C compiler 2009-08-17 05:32:21 +03:00
Nedko Arnaudov 3fc93d970c Rewrite currently active functionality in plan C 2009-08-17 05:30:31 +03:00
Nedko Arnaudov ede74992d2 Merge two parts of the application global code before splitting it properly 2009-08-17 04:08:32 +03:00
Nedko Arnaudov 541839485f Disable compilation of currently unused code 2009-08-17 03:58:37 +03:00
Nedko Arnaudov 1c5c9f28e2 move /gui/graph to /graph_proxy; [re]move duplicate code from jack_proxy 2009-08-11 15:31:33 +03:00
Nedko Arnaudov 46f27770ec remove gui/jack_proxy module 2009-08-11 14:38:05 +03:00
Nedko Arnaudov 5defb7982b Move daemon jack_proxy code to top dir
Step toward removal of code duplication between daemon and gui
2009-08-11 11:50:22 +03:00
Nedko Arnaudov 36f9173e13 Canvas refactoring
* disable state manager and patchage canvas compilation
 * disable jack_proxy patchbay interaction with Patchage class
 * remove unused transport methods form jack_proxy
 * build with debug symbols
 * use canvas widget through the new code path
2009-08-11 10:13:00 +03:00
Nedko Arnaudov aea1b7bd19 graph object implementation 2009-08-10 02:18:55 +03:00
Nedko Arnaudov c8aab7103d Build plain C files with C complier, no C++ compiler 2009-08-10 00:54:21 +03:00
Nedko Arnaudov 6ef5e2397e canvas.c -> canvas.cpp
Implementation must be in C++ because it needs to interact with libflowcanvas
2009-08-10 00:50:54 +03:00
Nedko Arnaudov d9ac0f36cd new dbus helper function: dbus_call_simple() 2009-08-09 22:19:32 +03:00
Nedko Arnaudov d1ec91c6d8 Bring catdup() original behaviour back 2009-08-05 21:40:55 +03:00
Nedko Arnaudov ce04e93235 Skeleton for the flowcanvas plain C wrapper 2009-07-29 22:00:37 +03:00
Nedko Arnaudov 9fd5b6cb7b Switch the url used in dbus paths to ladish.org 2009-07-28 00:44:15 +03:00
Nedko Arnaudov 3f71b1bc2d When JACK server is started, create studio object and store JACK conf as part of it 2009-07-26 23:26:29 +03:00
Nedko Arnaudov 0f9047c699 remove configure check for libxml and check for expat instead 2009-07-26 17:02:36 +03:00
Nedko Arnaudov 8ccd4445de sigsegv requires libdl 2009-07-26 17:02:00 +03:00
Nedko Arnaudov 86ee1ed3da Move unused code to legacy subdir 2009-07-26 16:57:44 +03:00
Nedko Arnaudov c04de01546 skeleton for jack monitor and control code 2009-07-23 00:36:32 +03:00
Nedko Arnaudov 2ee313b403 jack_proxy skeleton 2009-07-23 00:23:18 +03:00
Nedko Arnaudov 4cf6b9dd63 compile striped down dbus control interface 2009-07-21 00:12:07 +03:00
Nedko Arnaudov ba111e16a3 strip & cleanup ladishd
* code for the service lifecycle object moved to main.c - remove polution by fake OO concept
 * removed types.h - typedefs for public structs are evil. typedefs for handles must be per header
 * compile with -Wall and -Werror flags. Warnings are here to help.
 * define _GNU_SOURCE globally, in config.h. This is propoerty of the whole daemon codebase.
 * common.h is header to collect stuff that is needed almost everywhere in the ladishd
 * cleanup loader module.
2009-07-20 23:49:57 +03:00
Nedko Arnaudov 4827a5e414 Install glade file 2009-07-20 04:53:21 +03:00
Nedko Arnaudov e05140226f Fix glade loading 2009-07-20 04:50:15 +03:00
Nedko Arnaudov 7ae75d02aa Build gladish 2009-07-20 03:29:45 +03:00
Nedko Arnaudov f03cc60ad2 Use define for dbus name/path 2009-07-13 02:34:32 +03:00
Nedko Arnaudov 87bea07447 Install D-Bus service file 2009-07-13 02:18:06 +03:00
Nedko Arnaudov 983c28234b Small fixes for compat liblash
* library versioning is required by liblash apps
 * liblash needs to be compiled with DEBUG_OUTPUT_TERMINAL
   because it needs to use printf() and not lash_log()
2009-07-13 01:55:41 +03:00
Nedko Arnaudov 5d7f71d453 Fix defines and git version fetch 2009-07-13 01:44:43 +03:00
Nedko Arnaudov 1e63ba92bb Remove autohell traces 2009-07-13 01:08:55 +03:00
Nedko Arnaudov 416f43a612 waf buildable compat liblash 2009-07-12 23:56:05 +03:00
Nedko Arnaudov d364193985 waf buildable daemon 2009-07-12 22:56:19 +03:00
Nedko Arnaudov d1d3807512 add waf configure checks and summary print 2009-07-12 17:33:52 +03:00
Nedko Arnaudov 5a5b69e233 Basic wscript 2009-07-12 15:11:14 +03:00