Commit Graph

3434 Commits

Author SHA1 Message Date
Nedko Arnaudov f15b80e639 Upgrade waf to 2.0.22 , enable waf boost tool
./waf-light --tools=compat1.5,boost
2021-02-14 21:03:38 +02:00
Simon Lees 11ab9f5e6b Apply patch from openSUSE for python3 compatibility
https://build.opensuse.org/package/view_file/openSUSE:Factory/ladish/ladish-python3.patch?expand=1&rev=38daa94b75ee746e0fcf3541d25f4841
2021-02-14 20:07:38 +02:00
Nedko Arnaudov 297d1df722 Revert "Attempt to fix wscript for waf-2.0.20"
This reverts commit 55ed1b5e6f.

ladish-python3.patch from openSUSE is to be applied
2021-02-14 20:05:24 +02:00
Nedko Arnaudov e715e1449a Merge commit '27e38d3f' into waf-upgrade
This one is currently used by openSUSE
and ladish-python3.patch is about to be applied
2021-02-14 20:03:25 +02:00
Max Audron a594323102 add gladish to meson build 2021-02-14 14:25:57 +01:00
Max Audron 3c0c2f62d9 add optional compile of pylash and liblash to meson 2021-02-14 14:25:16 +01:00
Max Audron 1e69f48936 add meson build files
build common, cdbus, alsapid, and proxies as static libraries.
daemon aka ladishd links to them at build time.
2021-02-14 14:22:47 +01:00
Nedko Arnaudov 9d7e38b3b0 gladish: Fix load project dialog
Before this fix, the dialog was not allowing directory browsing.

In previous versions of GTK, the dialog used to work.
Why it stopped working is not known.
2021-02-09 07:04:39 +02:00
Nedko Arnaudov 27e38d3f4b Fix -Werror=restrict
While one could be safe to assume that first input is read,
then symlink target is copied to user-mode, it causes compiler
warning.

So, don't reuse the symlink filename buffer for storing symlink
target.

../daemon/procfs.c:155:28: error: passing argument 2 to restrict-qualified parameter aliases with argument 1 [-Werror=restrict]
  155 |   ret = readlink(g_buffer, g_buffer, sizeof(g_buffer));
      |                  ~~~~~~~~  ^~~~~~~~

sys-libs/glibc-2.30-r8 (armv7a, but ISA probably does not matter)
gcc (Gentoo 9.3.0 p2) 9.3.0
2020-05-07 23:38:18 +03:00
Nedko Arnaudov 16e6233620 Fix implicit fallthrough warning with gcc 9.3.0
../daemon/escape.c: In function ‘escape’:
../daemon/escape.c:49:10: error: this statement may fall through [-Werror=implicit-fallthrough=]
   49 |       if ((flags & LADISH_ESCAPE_FLAG_OTHER) == 0)
      |          ^
../daemon/escape.c:53:5: note: here
   53 |     case '<':               /* invalid attribute value char (XML spec) */
      |     ^~~~

gcc (Gentoo 9.3.0 p2) 9.3.0
2020-05-07 23:32:36 +03:00
Nedko Arnaudov 55ed1b5e6f Attempt to fix wscript for waf-2.0.20 2020-04-22 20:01:15 +03:00
Nedko Arnaudov 7345625738 upgrade waf to version 2.0.20. not working yet 2020-04-22 20:01:06 +03:00
Nedko Arnaudov c76a72c6e4 ladish_control: py3 compatibility 2020-04-22 19:55:14 +03:00
Markus Kitsinger (SwooshyCueb) e84e9bbbd7 Fix GetAllPorts D-Bus method declaration 2016-07-28 11:32:50 -05:00
Nedko Arnaudov 5fe205f2dc gladish: don't crash when unable connect to dbus 2014-09-11 18:37:54 +03:00
Nedko Arnaudov eaf678ec8f Minor formatting fix in coding_style.txt 2013-07-21 01:06:37 +03:00
Nedko Arnaudov 96491b7e57 Merge pull request #2 from mekanix/master
Add --libdir option
2013-02-22 02:54:26 -08:00
Goran Mekić 8e38b76f1d Add --libdir option. 2013-02-21 14:57:53 +01:00
Nedko Arnaudov fcb16ae71e minor coding style fix 2013-02-10 16:26:21 +02:00
Nedko Arnaudov 74fbf510b9 Fix doxygen warnings 2013-02-10 16:21:40 +02:00
Nedko Arnaudov 41c7c2d825 Incorporate siginfo-1 2013-01-13 02:05:15 +02:00
Nedko Arnaudov 01298d0915 Install lash include files into dedicated dir
This matches the lash-0.5.4 and lash-0.6.0~rc2 behaviour
2013-01-13 00:15:32 +02:00
Nedko Arnaudov e8f6f15762 gladish: quit on ctrl-q 2012-12-31 17:49:11 +02:00
Nedko Arnaudov f44ef3ff31 Update INSTALL 2012-12-29 15:48:02 +02:00
Nedko Arnaudov 62230f606b Fix warning (try again) 2012-12-22 22:03:57 +02:00
Nedko Arnaudov d562213ddd (Hopeuflly) fix comilation warning/error
../daemon/sigsegv.c: В функции ‘signal_segv’:
../daemon/sigsegv.c:114:9: ошибка: формат ‘%02d’ предполагает тип ‘int’, но аргумент 6 имеет тип ‘size_t’
2012-12-22 21:53:38 +02:00
Nedko Arnaudov 441128e025 Fix unresolved external liblash
The bug was recently introduced by commit 73acf78b8d
2012-12-22 10:56:54 +02:00
Nedko Arnaudov 0120d3162b Fix room creation that got broken two commits ago
ebce813997 broke it.
2012-12-03 00:28:03 +02:00
Nedko Arnaudov e5efbfc472 Add missing header text 2012-12-02 23:52:43 +02:00
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