ladish-1.2
Changes since 1.1:
* Apply downstream patches from FreeBSD
* meson: Fix project license field (MIT->GPL-2.0-only)
* meson: Fix version.h when building from tarball
* meson: disable siginfo build
* meson: Fix after README->README.adoc rename in 1.1
Having these variables set enables apps to discrimination
against ladish, by error or otherwise. In particular
neither LADISH L0 nor L1 imply that user should face mayhem
of standard file menu items for either new, open, save
and/or saveas being disabled.
siginfo is now disabled by default so building on new CPU
architectures does not require adjusting of siginfo.c anymore.
When needed, --siginfo can be used as option to ./waf configure
to enable the functionality
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
../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
../daemon/sigsegv.c: В функции ‘signal_segv’:
../daemon/sigsegv.c:114:9: ошибка: формат ‘%02d’ предполагает тип ‘int’, но аргумент 6 имеет тип ‘size_t’
* 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
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.
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.
* 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
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.