- Dec 20, 2024
-
-
Andreas Henriksson authored
Avoid test failures on powerpc systems (where keycode 0 exists, unlike everywhere else). The expected output the test is comparing against does not expect keycode 0, so we simply filter it out.
-
Andreas Henriksson authored
Update to upstream version '2.7.1' with Debian dir e55386587bba6e7f2e925acb9c0688d6818c4446
- Dec 16, 2024
-
-
Alexey Gladkov authored
setfont: + Fixed regression in argument parsing. Allow arguments and options to be mixed. dumpkeys: + Fixed dumpkeys on pc and non-pc architectures. The value of keycode 0 has a special meaning, but on some architectures (like powerpc) keyboards may generate keycode zero. Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
The value of keycode 0 has a special meaning, but on some architectures (like powerpc) keyboards may generate keycode zero. In other cases, kernel places K_ALLOCATED there. Since it depends on the architecture you need to revert the test added earlier. Unfortunately the opposite is also true. On some architectures (where it is possible to specify keycode 0) tests will fail. It's lucky there aren't many architectures like this. Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/vt/keyboard.c#n1968 Fixes: bdf5742c ("libkeymap: dump action codes for keycode 0") Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
- Dec 15, 2024
-
-
Alexey Gladkov authored
The new algorithm has regression and the command is no longer valid: setfont my-fancy-font.psf.gz -C /dev/tty1 Fixes: aed486b7 ("setfont: Rewrite arguments parser") Link: https://github.com/legionus/kbd/issues/122 Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
- Dec 09, 2024
-
-
Alexey Gladkov authored
libkeymap: * Add API to get/set keymap keywords. * Export functions to convert the value to kernel code. * Fix double kbdfile open. * Dump action codes for keycode 0. libkfont: * Fix buffer allocation for doubled font. * Check console mode. keymaps: * Add hcesar layout, for portuguese speaking countries. * Update Colemak-DH keymaps with upstream changes. * sv-latin1.map: make Ctrl+AltGr+9 act as Ctrl+]. fonts: * Remove non-free Agafari fonts. build-sys: * Use autoconf 2.72. * Do not substitute variables from configure. * Makefiles cleanup. * Fix build warning. other: * Add configure option to control keymaps compression. * Update man pages. * Remove deprecated startup scripts. * Remove outdated docs. * Update translations (from translationproject.org) Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
- Nov 20, 2024
-
-
Alexey Gladkov authored
The compile_commands.json is needed to run the language server. Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
- Nov 18, 2024
-
-
Andreas Henriksson authored
-
Andreas Henriksson authored
-
Andreas Henriksson authored
This reverts commit d35357a4. Now part of new upstream release.
-
Andreas Henriksson authored
-
Andreas Henriksson authored
Update to upstream version '2.7~rc1' with Debian dir a9f4a1ee5903c32bffd4e9f741f1111e2055bc35
-
Andreas Henriksson authored
-
Andreas Henriksson authored
-
Andreas Henriksson authored
We want -rc versions to sort lower than final release, so mangle the version number for -rc releases to use ~rc. While at it also update filenamemangle to use @ placeholders according to https://wiki.debian.org/debian/watch examples.
- Oct 29, 2024
-
-
Alexey Gladkov authored
Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
- Oct 28, 2024
-
-
Alexey Gladkov authored
libkeymap: * Add API to get/set keymap keywords. * Export functions to convert the value to kernel code. * Fix double kbdfile open. * Dump action codes for keycode 0. libkfont: * Fix buffer allocation for doubled font. * Check console mode. keymaps: * Add hcesar layout, for portuguese speaking countries. * Update Colemak-DH keymaps with upstream changes. * sv-latin1.map: make Ctrl+AltGr+9 act as Ctrl+]. fonts: * Remove non-free Agafari fonts. build-sys: * Use autoconf 2.72. * Do not substitute variables from configure. * Makefiles cleanup. * Fix build warning. other: * Add configure option to control keymaps compression. * Update man pages. * Remove deprecated startup scripts. * Remove outdated docs. Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
- Oct 25, 2024
-
-
Alexey Gladkov authored
The man-pages of the utilities do not contain supported options. We need to add new options and document the missing ones in the man-page. Also added the AUTHORS section to man-pages. Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
- Oct 24, 2024
-
-
Alexey Gladkov authored
Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
If options are used, the arguments are parsed incorrectly. optind must be taken into account when parsing arguments. Fixes: a963bbab ("Add long options, help messages") Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
Many utilities have options and arguments, but no help message. Adding help message and standard options makes the utilities more user friendly. Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
- Oct 23, 2024
-
-
Alexey Gladkov authored
Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
- Oct 18, 2024
-
-
Alexey Gladkov authored
Such a standard is used for linux kernel compilation. Since kbd follows the linux kernel interfaces we can use the same standard for compiler. Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
The use of its progname is justified by klibc support. Support for klibc has been removed for a very long time. We support and test only glibc and musl which have support of program_invocation_short_name. Since vlock already uses _GNU_SOURCE, it seems reasonable to stop using its progname and use program_invocation_short_name everywhere. Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
glibc and musl have different signatures for the strerror_r function if _GNU_SOURCE is used: glibc: char *strerror_r(int, char *, size_t) musl: int strerror_r(int, char *, size_t) To avoid conflicts, we should use our own wrapper as suggested by the musl developers. Link: https://inbox.vuxu.org/musl/20220412141324.5d344e74@spidey.rellim.com/T/ Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
libcommon contains common functions that are used by utilities. Libraries should not use these functions. All libraries need is nls. Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
- Oct 15, 2024
-
-
Alexey Gladkov authored
Public headers distributed across directories cause several problems: 1. It is very easy to get confused and use an internal header in an external utility (relative to the library). 2. Different library headers are forced to duplicate attribute definitions and other common things. As a solution, all headers can be moved to a separate subdirectory and shared headers can be used from that subdirectory. Top level headers will remain for backward compatibility and will point to the headers in the subdirectory. Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
- Oct 11, 2024
-
-
Alexey Gladkov authored
Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
Compiler attributes appear in different compilers at different times and require more sophisticated checking than we have now. Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-
Alexey Gladkov authored
A refactor of public headers. This allows to optimize the search paths of headers. It also made it possible to find utilities that use internal headers. Signed-off-by:
Alexey Gladkov <legion@kernel.org>
-