Commit Graph

472 Commits

Author SHA1 Message Date
Nedko Arnaudov 997630bfb7 use strings for app levels
With jack-session on the manege, strict L0-L3 classification
does not reflect the actual situation. LASH and jack-session
are still L2 though.
2011-07-28 15:15:47 +03:00
Nedko Arnaudov 78f07f7ad1 remove empty client functionality 2011-06-07 04:11:59 +03:00
Nedko Arnaudov 60aaa492db Make alsapid work when libasound is loaded with dlopen(). Fix for #180
when alsapid is preloaded libasound is not loaded yet
for some unknown reason, late call to dlvsym() fails as well,
at least for mididings (python loads _mididings.so that
implicitly loads libasound.so)

this changeset implements the late symbol lookup,
because it makes the code smaller

the actual fix is to LD_PRELOAD libasound.so as well
2011-06-03 00:44:00 +03:00
Nedko Arnaudov f33b58ac85 new vclient and move port functionality 2011-06-01 06:12:54 +03:00
Nedko Arnaudov beef6e7d44 join vclients functionality 2011-06-01 05:37:02 +03:00
Nedko Arnaudov 0bb1d523d7 vclient rename 2011-06-01 04:48:53 +03:00
Nedko Arnaudov 19d7d762f8 Add ClientRenamed and PortRenamed signals to D-Bus introspection data 2011-06-01 04:25:31 +03:00
Nedko Arnaudov 60280f1b89 vport rename 2011-06-01 04:18:16 +03:00
Nedko Arnaudov e0ec247159 split vclient functionality
vgraph manipulation is going to be able to do more than split
2011-06-01 03:04:18 +03:00
Nedko Arnaudov 90b5b6d881 ladishd: fix use of uninitialized memory (app_guid again)
For app-less clients, app_uuid is not initialized
2011-06-01 00:14:52 +03:00
Nedko Arnaudov 0ba807b478 ladishd: don't override existing LD_PRELOAD
valgrind for example uses LD_PRELOAD as well.
2011-05-20 01:02:37 +03:00
Nedko Arnaudov 03d8d0c52e ladishd: fix the previous commit
The previous commit accidentally removed a log dump call.
2011-05-19 23:17:46 +03:00
Nedko Arnaudov 62a15d55e2 ladishd: fix use of uninitialized memory
For app-less clients, app_uuid is not initialized
2011-05-16 06:57:01 +03:00
Nedko Arnaudov facd3090fd ladishd: fix log line 2011-05-16 06:54:22 +03:00
Nedko Arnaudov 7f512b33fc ladishd: fix use of uninitialized memory
sizeof(bool) != sizeof(dbus_bool_t)
on x86, 1 != 4
2011-05-16 06:52:13 +03:00
Nedko Arnaudov deab81c2ef ladishd: Fix use of uninitialized memory
room template objects don't use project related members
2011-05-16 05:56:01 +03:00
Nedko Arnaudov 18c88a94c3 Fix memory leak in recent_studio_callback() 2011-05-16 05:48:53 +03:00
Nedko Arnaudov f0e233055b Fix use of uninitalized member
The use of uninitalized member was caused by the recent revert.

The ladish_room::object_path member is not actually used only for room
template objects.
2011-05-16 03:42:34 +03:00
Nedko Arnaudov dc11cfe515 daemon: move ladish_room::graph member to the common section
It is used for room template objects as well
2011-05-16 03:40:35 +03:00
Nedko Arnaudov 64923f3a86 Revert "Fixed uninitialized vars in rooms created from templates"
This reverts commit 9bf795905f.

ladish_room_create_interal() is suposed to allocate the struct and
initialize the name and uuid members. The template member is supposed to
be initialized by the caller functions, either ladish_room_create() or
ladish_room_create_template(). The siblings member is initialized
later, when the room is actually added to the appropriate list.

The graph member is used by both room templates and room objects. This
will be fixed in the following commit.

All other ladish_room members are not valid for room template objects.
2011-05-16 03:35:00 +03:00
Nedko Arnaudov 1612b562af fix a memory leak after strdup() failure 2011-05-16 01:40:57 +03:00
Nedko Arnaudov b9f820573e coding style fix 2011-05-16 01:35:52 +03:00
Dan A. Muresan 449b309cb6 Fixed a memory leak (room.object_path) 2011-05-14 16:24:52 +03:00
Dan A. Muresan 9bf795905f Fixed uninitialized vars in rooms created from templates 2011-05-14 16:24:46 +03:00
Dan A. Muresan 0b568aeb99 Fixed a memory leak (ladish_recent_store.items [i]) 2011-05-14 15:40:10 +03:00
Nedko Arnaudov 5c1bde8066 Fix build on less common architectures.
Fixes FTBFS on alpha,armel,ia64,kfreebsd-*,powerpc,sh4.
Origin: Ubuntu, https://launchpad.net/bugs/647091
Bug-Ubuntu: https://launchpad.net/bugs/647091
Bug-Debian: http://bugs.debian.org/620315

Submitted by Alessio Treglia <alessio@debian.org> as
http://git.debian.org/?p=pkg-multimedia/ladish.git;a=blob;f=debian/patches/0001-disable_stacktrace.patch;h=33b6b1b50760f
2011-04-22 04:14:51 +03:00
Nedko Arnaudov 91b87783d7 ladishd: workaround for bug in jack2/jackdbus
http://trac.jackaudio.org/ticket/209
2011-01-02 05:04:29 +02:00
Nedko Arnaudov 891805634d ladishd: better handling for L1 apps with a2j ports. Fix for #62 2011-01-02 04:27:21 +02:00
Nedko Arnaudov d65ebbbf5b daemon: fix typo in doxygen documentation 2010-12-31 19:55:13 +02:00
Nedko Arnaudov d39a94fe33 ladishd: fix hidden connection save. Fix for #151
Instead of checking whether connection ports ares link or system ones,
now they are being checked for being hidden.
2010-12-30 05:14:10 +02:00
Nedko Arnaudov f1d0a2e20b ladishd: when saving xml, don't write the URI_A2J_PORT dict keys
URI_A2J_PORT is set on jack port appear
2010-12-30 02:17:48 +02:00
Nedko Arnaudov 6cb1de6104 when appless ports are reused for appful puposes, set the app uuid. Fixes #160 2010-12-30 01:55:20 +02:00
Nedko Arnaudov 9575aefbb4 URI_CANVAS_A2J renamed to URI_A2J_PORT 2010-12-29 23:43:16 +02:00
Nedko Arnaudov b49d1ef23d ladishd: set a port property that indicating whether the port is a2j one. Partial fix for #154 2010-12-29 23:21:52 +02:00
Nedko Arnaudov 9d0be997ac ladishd: fix for #152 2010-12-28 14:01:56 +02:00
Nedko Arnaudov fb7138915e ladishd: dump params of loaded apps after xml load 2010-12-28 06:57:32 +02:00
Nedko Arnaudov 64a29c2304 ladishd: write vclient app_uuid when saving 2010-12-28 06:51:18 +02:00
Nedko Arnaudov 5288134676 ladishd: save&restore app associations of vclients. Fix for #149 2010-12-28 04:33:44 +02:00
Nedko Arnaudov 918cecca74 ladishd: improve log on save and on graph dump 2010-12-28 04:33:44 +02:00
Nedko Arnaudov da4a6eb2a1 ladishd: save hidden porst of stopped apps. 2010-12-27 15:34:35 +02:00
Nedko Arnaudov 4f7b78388f ladish_control: vgraph connection management. #125 2010-12-27 06:16:10 +02:00
Nedko Arnaudov 53dc55330d ladishd: fix unload of not loaded (just created) projects. Fix for #148 2010-12-27 03:19:10 +02:00
Nedko Arnaudov 9868de418b ladishd: don't save hidden ports of runnings apps 2010-12-27 01:37:14 +02:00
Nedko Arnaudov 25a55f5f3f ladishd: fix jack graph filtering on save 2010-12-27 01:19:19 +02:00
Nedko Arnaudov 1d029ffd76 Move graph iteration filtering to callbacks 2010-12-26 21:21:36 +02:00
Nedko Arnaudov 1f6822c5e9 ladishd: remove skip_hidden parameter of ladish_graph_copy()
ATM ladish_graph_copy() is always copied without skipping hidden elements.
skip_hidden mechanism must be replaced with filtering in callbacks,
because it is tricky and because app filtering does not belong to
generic graph object.
2010-12-26 21:09:42 +02:00
Nedko Arnaudov 846ef1a252 ladishd: dump vgraph of ports 2010-12-26 21:09:42 +02:00
Nedko Arnaudov 6b966841dd ladishd: when saving, properly skip hidden connections just like ports. Fix for #143
this is improvement of 93fe0427c1
2010-12-26 21:09:09 +02:00
Nedko Arnaudov 072bae001a ladishd: make vgraph filtering in interlink_client() actually work 2010-12-25 18:17:19 +02:00
Nedko Arnaudov 6a58ad88a4 ladishd: when interlinking on load, ignore clients of other vgraphs. Fix for #137 2010-12-25 04:36:00 +02:00