Debian Patches

Status for neovim/0.11.4-4

Patch Description Author Forwarded Bugs Origin Last update
0001-Skip-flaky-tests-in-test_stat.vim.patch Skip flaky tests in test_stat.vim
Test_checktime and Test_autoread_file_deleted are particularly flaky on s390x, so skip them to avoid the noise.
James McCoy <jamessan@debian.org> not-needed 2025-03-10
0002-fix-tests-ignore-vector-math-types.patch fix(tests): ignore vector math types
As noted in #34908, the arm unittests fail due to unrecognized types:

ERROR test/unit/testutil.lua @ 802: Expressions parser works with &opt
test/unit/testutil.lua:774: test/unit/testutil.lua:758: (string) '
test/unit/testutil.lua:288: declaration specifier expected near '__SVFloat32_t''
exit code: 256

After testing on Debian's arm64 porterbox, the unittests cleanly pass
when ignoring various types defined in
/usr/include/aarch64-linux-gnu/bits/math-vector.h

(cherry picked from commit e702f97518cd18fa57c50ee62fdc63ad887f006d)
James McCoy <jamessan@jamessan.com> no 2025-09-06
0003-fix-vim.json-fix-truncation-of-decoded-numbers-outsi.patch fix(vim.json): fix truncation of decoded numbers outside lua_Integer's range #35702

PR #34876 expanded the total range of values that cjson considers
valid. However, it didn't address the bigger problem of storing a
`long long` value in a `lua_Integer` (which is typically a typedef for
`ptrdiff_t`).

On 32-bit platforms, this ends up storing an 8-byte number into a 4-byte
variable, truncating the value.

Store the converted value in a temporary `long long` variable so we can
detect the scenario and decode into a `lua_Number`.

(cherry picked from commit da650de277b0ce3e3901e847c489ef0e2b419d13)
James McCoy <jamessan@jamessan.com> no 2025-09-10
0004-test-swapfile_preserve_recover_spec-fix-flaky-test-3.patch test(swapfile_preserve_recover_spec): fix flaky test (#35782)
Invoke nvim_get_mode() to ensure that pending input is processed.

(cherry picked from commit 1bafba31f6a6d8cd367e1388e22013f3f7d0331e)
(cherry picked from commit 777551c599aeee49c4936034163be5ae3048e5ae)
zeertzjq <zeertzjq@outlook.com> no 2025-09-16

All known versions for source package 'neovim'

Links