Commit Graph

3304 Commits

Author SHA1 Message Date
Nedko Arnaudov ebce813997 Fix unused-parameter warnings in plain C code 2012-12-02 23:50:05 +02:00
Nedko Arnaudov abf820278b extra compiler warnings 2012-12-02 21:39:51 +02:00
Nedko Arnaudov 73acf78b8d Improve logging
* Take advantage of gcc printf format checks
 * Move code dependent on log level to log.c
   This is a basis for runtime logging tweaks.
 * Remove the now useless LADISH_DEBUG defines
2012-12-02 20:24:22 +02:00
Nedko Arnaudov 9bbfff1608 Fix log calls
* Remove useless ifdefs for LADISH_DEBUG
 * Fix formatting errors
2012-12-02 20:24:22 +02:00
Nedko Arnaudov ce46d97bd5 Comment out useless code in flowcanvas and make the clang static analyzer happy 2012-11-19 09:06:04 +02:00
Nedko Arnaudov a45b9576f0 Fix memory leak when separator is added to dynmenu; check for allocation failure otherwise 2012-11-19 08:28:06 +02:00
Nedko Arnaudov 304a3d16ae Fix memory leak in strdup() failure handling code path 2012-11-19 08:06:45 +02:00
Nedko Arnaudov 15f637b92b Improve handling of failure to get studio name 2012-11-19 07:52:54 +02:00
Nedko Arnaudov f0d11f411f Fix error checks in graph_client module 2012-11-19 07:42:23 +02:00
Nedko Arnaudov 702b287d35 Fix memory leak when a2j mapping fails
alsa_client_name and alsa_client_port are set but is_a2j is set to false
2012-11-19 06:54:49 +02:00
Nedko Arnaudov 84a338dfd2 Don't set garbge pid to ports (either new or existing ones) 2012-11-19 06:42:13 +02:00
Nedko Arnaudov e99af5f8be Fix undefined return value in case of error 2012-11-19 06:42:04 +02:00
Nedko Arnaudov 871dace9c5 Improve assert and fix clang static analyzer report 2012-11-19 06:00:43 +02:00
Nedko Arnaudov 0660f36589 Fix use of uninitialized memory in chdir() failure handling code path 2012-11-19 05:49:33 +02:00
Nedko Arnaudov ad6dbf1392 Fix memory leak on procfs read() failure 2012-11-19 05:32:21 +02:00
Nedko Arnaudov 64be659748 Remove useless assignment pointed by clang static analizer 2012-11-19 05:19:42 +02:00
Nedko Arnaudov 61c34054e1 Fix error handling 2012-11-19 05:18:05 +02:00
Nedko Arnaudov 136d9d1d45 fix use of uninitialized memory in malloc failure handling code path 2012-11-19 04:47:07 +02:00
Nedko Arnaudov a42ac047af Fix use of unintialized memory
old_project_xxx members are used in ladish_room_save_complete()
2012-11-19 04:06:51 +02:00
Nedko Arnaudov 676db75cb1 add assert
This disables report from the clang static analizer
2012-11-19 03:50:19 +02:00
Nedko Arnaudov 6b3524b6a6 fix potential access of NULL pointer
It could happen if delimiter is NULL. Currently the
only use is with non-NULL delimiter.
2012-11-17 15:36:00 +02:00
Nedko Arnaudov c2fc519d5c fix double free in malloc failure handling code path 2012-11-17 14:48:48 +02:00
falkTX 88aaa609e2 preload libasound.so.2 instead of libasound.so
Under some systems libasound.so is not available by default (reserved to devel packages), which will trigger some LD_PRELOAD warnings.
Bristol fails to start because of this, as it's not expecting such output when first requesting jack sample-rate and buffer-size.
Adding .2 to the library name ensures that the alsa library is always present on non-devel systems, and fixes the Bristol issue.
2012-11-11 22:59:32 +00:00
Nedko Arnaudov 2c3c3f0290 Don't notify user about unexpectedly stopped apps that returned 0 exit code. Fixes #197
The exit code detection for apps ran in terminal is not working,
at least with xterm. xterm doesnt seem to be able to return exit
code of its child process.
2012-10-09 02:32:42 +03:00
Nedko Arnaudov a2a17cd392 add includes for getrlimit 2012-10-07 14:06:59 +03:00
Nedko Arnaudov ce273d9e58 Fix logging from child processes
After fork the log file descriptor is closed
2012-09-08 04:14:47 +03:00
Nedko Arnaudov 9742a120cd Catch last words before children death 2012-09-08 04:13:30 +03:00
Nedko Arnaudov 49eca113c8 remove set but not used variable
Fixes warning with newer gcc versions
2012-05-16 21:17:59 +03:00
Nedko Arnaudov 67cc9c9e05 embed flowcanvas-0.7.1 2012-04-07 23:47:03 +03:00
Nedko Arnaudov 7f05684806 Development cycle for version 2 2012-03-05 04:12:00 +02:00
Alessio Treglia 835756ac02 Fix small misspellings. 2012-01-13 21:04:36 +01:00
Alessio Treglia 17c1068c47 Add a script to generate an unpacked instance of the waf all-in-one blob.
Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654469
2012-01-09 18:50:33 +01:00
Nedko Arnaudov e4f04599ab update jack2 submodule to 1.9.8 ladi branch 2011-12-19 18:05:10 +02:00
Nedko Arnaudov d497e80d6b disable lash apps in studios
they dont work properly on studio renames
because app uuids are not regenerated
2011-12-19 01:33:53 +02:00
Nedko Arnaudov 11122ed666 Update NEWS for version 1 2011-12-19 00:54:16 +02:00
Nedko Arnaudov 4a2c6cc69b Update NEWS for preview 3 2011-12-19 00:48:34 +02:00
Nedko Arnaudov ac5a278f10 version 1 2011-12-19 00:36:27 +02:00
Nedko Arnaudov e85a6e96fe setting for jack conf tool 2011-12-19 00:16:51 +02:00
Nedko Arnaudov d66d57ae8a liblash: disable debug messages 2011-12-18 23:34:17 +02:00
Nedko Arnaudov cd3684d1ad cdbus: macros for defining interfaces with default handler 2011-11-09 02:59:26 +02:00
Nedko Arnaudov a0738fe6e7 dbus/ -> cdbus/ 2011-11-09 02:45:13 +02:00
Nedko Arnaudov 4202100444 cdbus: prefix macros with CDBUS_ 2011-11-09 02:38:22 +02:00
Nedko Arnaudov 9202dae129 cdbus: remove lash traces
* rename cdbus header include guards to use CDBUS_ instead of LASH_DBUS_
 * remove dbus/error.h and dbus/error.c

error.h contained lash/ladish specific error strings and
lash_dbus_error() prototype. lash_dbus_error() is renamed to
cdbus_error() and its implementation is moved to dbus/method.c. The
D-Bus error strings that have DBUS_ERROR_XXX matches are removed and
their uses are switched to the libdbus variants. The ladish specific
error strings are moved to dbus_constants.h
2011-11-06 00:10:10 +02:00
Nedko Arnaudov 640ca88481 Implement JS delay workaround. #187
yoshimi-0.060.10 jack session implementation is broken. Save complete
reply is sent from the jack session callback but the actual save is
made asynchronously, in the main thread, on next main loop iteration.

This changeset implements workaround for app bugs like this.
User is able to set JS delay in seconds. Default is zero.
2011-10-23 03:54:04 +03:00
Nedko Arnaudov 02dfa258f2 save gtkbuilder file with the blessed glade3 tool
Custom version of the glade tool was used, 3_6_7-3-gc556475
2011-10-23 03:06:07 +03:00
Nedko Arnaudov 60efb8728f failed boost headers check should not stop configure anymore 2011-10-15 20:28:07 +03:00
Nedko Arnaudov 17e12e1e84 remove unused variable
gcc 4.6 was reporting warning:
../daemon/room_save.c:372:8: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
2011-10-15 20:00:46 +03:00
Maxim Kachur a3b38602bb update translations, new string
* make "Disconnect All" string translatable for port context menu
 (canvas)
2011-10-13 01:13:21 +04:00
Maxim Kachur 0083b1aaa9 fix for wrong rename port dialog title 2011-10-13 01:03:41 +04:00
Maxim Kachur fcc1119eaa update russian translation 2011-10-13 01:00:32 +04:00