Commit Graph

3275 Commits

Author SHA1 Message Date
falkTX fbe3409dab Fix pylash includes 2010-12-14 04:28:12 +00:00
falkTX 05129a54a6 Add Portguese lines to desktop file
Agora também disponível em português!
2010-12-14 04:21:28 +00:00
Alexandre Prokoudine 5dd853997b Added Russian lines to gladish.desktop 2010-12-10 07:15:40 +02:00
Nedko Arnaudov dd6c013574 gui: implement project properties dialog (description and notes). Fix for #90 2010-12-07 05:31:28 +02:00
Nedko Arnaudov cf12c2e3e0 daemon: fix wrong return value when setting project description or notes 2010-12-07 05:29:20 +02:00
Nedko Arnaudov 75e08bc107 wscript: fix and improve dist target (waf 1.6) 2010-12-03 02:38:10 +02:00
Nedko Arnaudov 68049ee6cb ladishd: don't create two vclients with same name
If the app first creates alsa (a2j) port, the created vclient is
not intrelinked because there is no jack client to interlink.
When the first jack port appears, because the jack client has
no interlinked client, a new vclient with same name was created.

This changeset implements a search by app uuid before new vclient
is created.
2010-12-02 05:40:28 +02:00
Nedko Arnaudov ff8348650a Move the dbus call default timeout define out of the interface header
The default timeout is a property of the implementation, not the interface
2010-12-02 05:22:05 +02:00
Nedko Arnaudov b8852eaf9f Wait longer for JACK server to start. Workaround for #121 2010-12-02 03:55:39 +02:00
Nedko Arnaudov 7a6f30474b Allow non-default timeout when using dbus_call() 2010-12-02 03:54:24 +02:00
Nedko Arnaudov 0a6d73002b daemon: escape client and port names. Fixes #120 2010-12-02 03:06:00 +02:00
Nedko Arnaudov 5bb20eda52 daemon: improve escaping functions 2010-12-02 03:04:14 +02:00
Nedko Arnaudov 8ac048d601 ladishd: don't crash when room link port is not found
User can attempt to load a project into room with fewer ports than the
room where project was saved. This was causing ASSERT:

Wed Dec  1 04:36:45 2010: ERROR: callback_elstart: Cannot find room link port.
Wed Dec  1 04:36:45 2010: ERROR: callback_elend: ASSERT(context_ptr->port != NULL) failed. function callback_elend in ../daemon/room_load.c: 652

This changeset fixes the ASSERT by failing the project load.
2010-12-01 04:42:17 +02:00
Nedko Arnaudov 0cfdeec2e7 alsapid: hide the init function. Fixes #122
hexter.so has an init function with same name as the one in alsapid.so
so the hexter one was not being called and the descriptor pointer
that is returned was NULL
2010-12-01 02:56:00 +02:00
Nedko Arnaudov e8f9b6b02e ladishd: Deassociate pids of disappearing clients. Fix for #119 2010-11-30 00:13:11 +02:00
Nikita Zlobin a5d878cdc4 gladish: Move help text from code to separate text file 2010-11-28 15:31:20 +05:00
Nikita Zlobin 9e0b654848 Make file reading function common 2010-11-28 15:26:36 +05:00
Nedko Arnaudov 416c65254b ladishd: use app name for a2j ports
This fixes handling of apps that use random alsa client names.
jack-rack for example, by default, uses PID as part of its
alsa client name.

This breaks backward compatibility.
2010-11-22 15:25:59 +02:00
Nedko Arnaudov 4248abe1d7 ladishd: fix use of uninitialized var in ladish_app_supervisor_set_project_name() 2010-11-18 05:10:18 +02:00
Nedko Arnaudov dba04d196e ladishd: save/load project description and notes 2010-11-18 05:07:34 +02:00
Nedko Arnaudov 18e317ff4b ladishd: expose project description and notes over D-Bus 2010-11-18 04:34:47 +02:00
Nedko Arnaudov 86ec7c7fbd ladishd: fix memory leak on room destroy 2010-11-18 03:57:31 +02:00
Nedko Arnaudov 99b1ab0da4 ladishd: set env vars for use in commandlines 2010-11-18 02:59:06 +02:00
Nedko Arnaudov c7d0a6a479 ladishd: the reset of the previous commit 2010-11-18 02:26:56 +02:00
Nedko Arnaudov d027731b18 ladishd: start terminal apps through shell
This will allow expansion of env vars used in commandline to happen
when apps are started in terminal. It already happens when apps are
started without terminal.

This breaks the default title, at least for xterm. For it, it is now
set explicitly.

Starting through shell is not used when there is no '$' in the
commandline. This should minimize the title problems when xterm is not
used.
2010-11-18 02:25:20 +02:00
Nedko Arnaudov a88ec8d69f ladishd: project_name -> vgraph_name (in loader module) 2010-11-18 01:48:36 +02:00
Nedko Arnaudov fb15df6218 ladishd: recent list for studios 2010-11-18 00:48:32 +02:00
Nedko Arnaudov 46528c8874 ladishd: dont log error when the recent store does not exist 2010-11-18 00:48:27 +02:00
Nikita Zlobin 6c4e75c400 proxy: Fix memory leak 2010-11-15 06:05:12 +05:00
Nedko Arnaudov 577194b9e5 gladish: display sha1 and build date in the about box 2010-11-14 23:09:40 +02:00
Nedko Arnaudov f44f92d4f3 wscript: more waf-1.6 related improvements 2010-11-14 21:20:14 +02:00
Nedko Arnaudov ffc3be463e wscript: adjust some stuff that is deprecated in waf-1.6 2010-11-14 19:56:25 +02:00
Nedko Arnaudov 726f4cb642 untabify the wscript 2010-11-14 19:31:50 +02:00
Nedko Arnaudov f76f48f436 waf: fix the include path workaround 2010-11-14 19:27:56 +02:00
Nedko Arnaudov f9142569d9 waf: switch to 1.6.1 2010-11-14 19:20:29 +02:00
Nedko Arnaudov 391cc007cd ladishd: Fix include path
it works with waf-1.5.x for unknown reasons. it does not work
with waf-1.6.1
2010-11-14 16:20:16 +02:00
Nedko Arnaudov d9183f0417 ladishd: fix load of project dict 2010-11-14 16:06:51 +02:00
Nedko Arnaudov 1524a3b43f ladishd: Fix some logs (studio->room) 2010-11-14 16:05:17 +02:00
Nedko Arnaudov 9180fa9047 ladishd: clear project even if room project state is 'unloaded'. Fix for #117
This is a workaround (that was implemented before too). The proper way of handling this is to
create 'unnamed project' when a connection or app is added to the room.
2010-11-14 13:08:25 +02:00
Nedko Arnaudov 36370e2942 ladishd: initialize the vclient_name var even when a2j mapping fails 2010-11-14 00:53:53 +02:00
Nedko Arnaudov 3d40386a14 ladishd: on project load, restore connections between room ports. Fix for #117 2010-11-13 18:32:35 +02:00
Nedko Arnaudov 4b9da6ffae ladishd: do a better cleanup on project unload and on load failure. Partial fix for #117
The project state now is can now have more than one state. The project
unload sequence now first removes all connections, then stopps all
apps, and as last step - clears the graph. When project load fails,
ladish_room_unload_project() is not called anymore, because unloading
of room even without apps is now a multistep process. Instead, a new
function, ladish_room_clear_project(), is introduced. It is called
when project load fails and as last step in project unload.
2010-11-13 18:13:10 +02:00
Nedko Arnaudov a99c3e6408 ladishd: remove unneeded asignment
unescape() receives length that includes the terminating nul char
2010-11-13 15:49:38 +02:00
Nedko Arnaudov 0ff72305db ladishd: nul-terminate strings escaped through escape_simple() 2010-11-13 15:00:08 +02:00
Nedko Arnaudov 3752081d1d ladishd: escape project name when composing project dir from it 2010-11-13 14:46:33 +02:00
Nedko Arnaudov 04b2b17e96 ladishd: project name unescaping 2010-11-13 14:02:20 +02:00
Nedko Arnaudov c0240447c1 ladishd: project name escaping 2010-11-12 07:34:31 +02:00
Nedko Arnaudov 5b8fe165d3 ladishd: max_escaped_length() 2010-11-12 07:15:57 +02:00
Nedko Arnaudov a608c373e6 ladishd: properly handle a2j ports for apps with same names
For real jack ports it works because different apps have different jack client.
For a2j ports, it did not work because the jack client is same and the
a2j_fake_jack_port_name is same too, because the instead of alsa client name,
the app name is used now
2010-11-08 02:39:53 +02:00
Nedko Arnaudov ee830a52ee ladishd: actually remove app ports, simply logging does not make it happen 2010-11-08 02:17:39 +02:00