summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-09-06patch 9.0.1879: Vim9: incorrect duplicate class member detectionv9.0.1879Yegappan Lakshmanan
Problem: Vim9: incorrect duplicate class member detection Solution: Incorrect duplicate class member detection when variable names have the same prefix. Not able to access class member variables using an object. Fix coding style issues closes: #13042 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-06patch 9.0.1878: tests running sh have problemsv9.0.1878Philip H
Problem: tests running sh have problems Solution: Check that dash is installed closes: #13040 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Philip H <47042125+pheiduck@users.noreply.github.com> Co-authored-by: Christian Brabandt <cb@256bit.org>
2023-09-06patch 9.0.1877: missing test for patch 9.0.1873v9.0.1877Christian Brabandt
Problem: missing test for patch 9.0.1873 Solution: add a test trying to exchange windows Add a test, making sure that switching windows is not allowed when textlock is active, e.g. when running `:s/<pat>/\=func()/` Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-05runtime(ftplugin): allow to exec if curdir is in PATHAnton Sharonov
In case the current directory is present as valid $PATH entry, it is OK to call the program from it, even if vim curdir is in that same directory. (Without that patch, for instance, you will not be able to open .zip files while your current directory is /bin) closes: #13027 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-05Filelist: Add missing directory `crash` (#13036)zdohnal
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-05patch 9.0.1876: Vim9: parsing commands with newlines wrongv9.0.1876Christian Brabandt
Problem: Vim9: parsing commands with newlines wrong Solution: Accept a '\n' for parsing lists and command arguments closes: #13015 closes: #13020 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-05patch 9.0.1875: Vim9: improve test for disassemble + staticv9.0.1875Yegappan Lakshmanan
Problem: Vim9: improve test for disassemble + static Solution: Add a Vim9 script disassemble test for an interface with static members closes: #13037 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-05patch 9.0.1874: CI may fail in test_recover_empty_swapv9.0.1874Christian Brabandt
Problem: CI may fail in test_recover_empty_swap Solution: Set directory option Fix failing Test_recover_empty_swap test :recover by default not only looks in the current directory, but also in ~/tmp for files to recover. If it finds some files to recover, it will interactively prompt for a file to recover. However, prompting doesn't work when running the test suite (and even if it would, there is no one that can answer the prompt). So it doesn't really make sense during testing, to inspect different directories for swap files and prompt and wait (which will lead to a timeout and therefore a failing test). So set the 'directory' option temporarily to the current directory only and reset it back once the test finishes. closes: #13038 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-05patch 9.0.1873: [security] heap-buffer-overflow in vim_regsub_bothv9.0.1873Christian Brabandt
Problem: heap-buffer-overflow in vim_regsub_both Solution: Disallow exchanging windows when textlock is active Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-05patch 9.0.1872: CI: test_crash() fails on CIv9.0.1872Christian Brabandt
Problem: CI: test_crash() fails on CI Solution: Skip test on BSD Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-05patch 9.0.1871: Github CI does not run i386 jobv9.0.1871James McCoy
Problem: Github CI does not run i386 job Solution: Add a i386 architecture Add CI testing for i386 message_test recently failed on i386, which exposed a gap in the CI testing. Convert the shadowdir job to one that runs on i386 so we get 32-bit test coverage. Since the GHA runners are x86_64, we can enable the i386 architecture in dpkg and install i386 packages for the i386 CI jobs. However, this can't currently be done with features=huge since that would require installing python3-dev:i386, which breaks the CI environment. closes: #12975 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: James McCoy <jamessan@jamessan.com>
2023-09-05patch 9.0.1870: Vim9: disassamble does not show staticv9.0.1870Ernie Rael
Problem: Vim9: disassamble does not show static Solution: Show static flag Fix disassemble for instructions with optional static: ISN_GET_OBJ_MEMBER and ISN_GET_ITF_MEMBER closes: #13030 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
2023-09-05runtime(menu): Fix "Open &Tab..." CJK translations to have shortcut key (#13031)Yee Cheng Chin
Previous PR (#12993) fixed localization files to point to "Open &Tab..." but they didn't add the shortcut key to the translated names. This adds the shortcut keys to the CJK translations in the form of "(&T)". Note that this doesn't add the shortcut to latin script languages like Czech. These types of translated names tend to also localize the shortcut keys for them to make sense to the user and it's up to each translator to decide how to do so. CJK translations tend to just take the English key directly since it doesn't make sense to have a localized shortcut key in general. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-05patch 9.0.1869: Coverity warns about unitialized varv9.0.1869Ernie Rael
Problem: Coverity warns about unitialized var Solution: initialize it closes: #13029 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
2023-09-04patch 9.0.1868: test_crash still fails for circle civ9.0.1868Christian Brabandt
Problem: test_crash still fails for circle ci Solution: give even more time to complete Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-04runtime(sr): Update Serbian messages translationIvan Pešić
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-04patch 9.0.1867: Vim9: access to interface statics possiblev9.0.1867Ernie Rael
Problem: Vim9: access to interface statics possible Solution: Prevent direct access to interface statics closes: #13007 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
2023-09-04patch 9.0.1866: undo is synced after character findv9.0.1866zeertzjq
Problem: Undo is synced after character find. Solution: Set no_u_sync when calling gotchars_nop(). closes: #13022 closes: #13024 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-09-04runtime(php): Update the php indent script to the 1.75 (from 1.70) (#13025)John Wellesz
Changes: 1.75: - Fix 2072/PHP-Indenting-for-VIm#87: The indent optimization was causing wrong indentation of lines preceded by a line ending with '}' when preceded by non white characters. - Fix long standing non-reported regex escaping issue in cleaning end of line comments function. This should help fixing some other unreported issues when parts of codes are commented out at ends of lines... 1.74: - Fix 2072/PHP-Indenting-for-VIm#86: Add support for `match` expression. 1.73: - Fix 2072/PHP-Indenting-for-VIm#77 where multi line strings and true/false keywords at beginning of a line would cause indentation failures. 1.72: - Fix vim/vim#5722 where it was reported that the option PHP_BracesAtCodeLevel had not been working for the last 6 years. 1.71: - Fix 2072/PHP-Indenting-for-VIm#75 where the indent script would hang on some multi-line quoted strings. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-04runtime: Fix problem of checking wrong cwd for ruby ftplugin (#13026)Anton Sharonov (ant0sha)
Co-authored-by: Anton Sharonov <anton.sharonov@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-04patch 9.0.1865: Vim9: garbage collection may cause crashv9.0.1865Yegappan Lakshmanan
Problem: Vim9: garbage collection may cause crash Solution: validate that class members typeval is not null closes: #13028 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-04patch 9.0.1864: still crash with bt_quickfix1_pocv9.0.1864Christian Brabandt
Problem: crash with bt_quickfix1_poc when cleaning up and EXITFREE is defined Solution: Test if buffer is valid in a window, else close window directly, don't try to access buffer properties While at it, increase the crash timeout slightly, so that CI has a chance to finish processing the test_crash() test. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-04translation(it): revert permission changes for xxd manpagesChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-04patch 9.0.1863: wrong format specifiers in e_aptypes_is_null_str_nrv9.0.1863zeertzjq
Problem: wrong format specifiers in e_aptypes_is_null_str_nr Solution: Fix the wrong format specifier closes: #13020 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-09-04patch 9.0.1862: Vim9 Garbage Collection issuesv9.0.1862Yegappan Lakshmanan
Problem: Vim9 Garbage Collection issues Solution: Class members are garbage collected early leading to use-after-free problems. Handle the garbage collection of classes properly. closes: #13019 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-04patch 9.0.1861: xxd: issue when -R is specified several timesv9.0.1861K.Takata
Problem: xxd: issue when -R is specified several times Solution: Fix command line parsing See: https://github.com/vim/vim/pull/12986#issuecomment-1704375892 closes: #13021 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: K.Takata <kentkt@csc.jp> Co-authored-by: Aapo Rantalainen <aapo.rantalainen@gmail.com>
2023-09-04patch 9.0.1860: CI: test_crash1() is flakyv9.0.1860Christian Brabandt
Problem: CI: test_crash1() is flaky Solution: Wait a bit longer Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-03patch 9.0.1859: heap-use-after-free in bt_normal()v9.0.1859Christian Brabandt
Problem: heap-use-after-free in bt_normal() Solution: check that buffer is still valid Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-03patch 9.0.1858: [security] heap use after free in ins_compl_get_exp()v9.0.1858Christian Brabandt
Problem: heap use after free in ins_compl_get_exp() Solution: validate buffer before accessing it Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-03patch 9.0.1857: [security] heap-use-after-free in is_qf_win()v9.0.1857Christian Brabandt
Problem: heap-use-after-free in is_qf_win() Solution: Check buffer is valid before accessing it Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-03patch 9.0.1856: issues with formatting positional argumentsv9.0.1856Christ van Willegen
Problem: issues with formatting positional arguments Solution: fix them, add tests and documentation closes: #12140 closes: #12985 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christ van Willegen <cvwillegen@gmail.com> Tentatively fix message_test. Check NULL ptr.
2023-09-03patch 9.0.1855: mode() doesn't indicate command line for terminalv9.0.1855h-east
Problem: mode() doesn't indicate command line for terminal Solution: make it return 'ct' for command-line from Terminal mode closes: #6265 closes: #13017 closes: #13018 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: h-east <h.east.727@gmail.com>
2023-09-03patch 9.0.1854: test_crash1() fails on CIv9.0.1854Christian Brabandt
Problem: test_crash1() fails on CI Solution: don't run Screendump test, verify that it doesn't crash by running it through a shell command line, testing the exit value and concatenating success cmd using '&&' Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02patch 9.0.1853: CI error on different signedness in regexp.cv9.0.1853Christian Brabandt
Problem: CI error on different signedness in regexp.c (after patch 9.0.1848) Solution: Cast strlen() call to int Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02patch 9.0.1852: i_CTRL-O does not reset Select Modev9.0.1852pierreganty
Problem: i_CTRL-O does not reset Select Mode Solution: Reset select mode on CTRL-O in insert mode closes: #13001 closes: #12115 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christian Brabandt <cb@256bit.org>
2023-09-02patch 9.0.1851: breakindent missing by virt textv9.0.1851zeertzjq
Problem: Virtual text at a column causes 'breakindent' and 'showbreak' to be missing (after patch 9.0.1124). Solution: Add check for "tp_col" in another place where TP_FLAG_WRAP is checked. closes: #12769 closes: #13008 closes: #13010 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-09-02patch 9.0.1850: Vim9: wrong line number where options setv9.0.1850LemonBoy
Problem: Vim9: wrong line number where options set Solution: Set source line number earlier closes: #13006 closes: #13013 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: LemonBoy <thatlemon@gmail.com>
2023-09-02patch 9.0.1849: CI error on different signedness in ex_cmds.cv9.0.1849Christian Brabandt
Problem: CI error on different signedness Solution: cast unsigned to int Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02patch 9.0.1848: [security] buffer-overflow in vim_regsub_both()v9.0.1848Christian Brabandt
Problem: buffer-overflow in vim_regsub_both() Solution: Check remaining space Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02patch 9.0.1847: [security] potential oob write in do_addsub()v9.0.1847Christian Brabandt
Problem: potential oob write in do_addsub() Solution: don't overflow buf2, check size in for loop() Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02patch 9.0.1846: [security] crash in fullcommandv9.0.1846Christian Brabandt
Problem: crash in fullcommand Solution: Check for typeval correctly Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02patch 9.0.1845: xxd: Test_xxd_color start failingv9.0.1845Christian Brabandt
Problem: xxd: Test_xxd_color start failing Solution: Revert changes to dump file Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02patch 9.0.1844: doc helptags may not be up to datev9.0.1844Yee Cheng Chin
Problem: doc helptags may not be up to date Solution: Add CI jobs to verify helptags are updated Also, re-generate the tags file with updated list so it will pass CI. closes: #13012 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02patch 9.0.1843: xxd color test flakyv9.0.1843Christian Brabandt
Problem: xxd color test flaky Solution: Filter unneeded lines Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02translation(it): updated Italian xxd manpageAntonio Giovanni Colombo
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02patch 9.0.1842: Need more accurate profilingv9.0.1842Ernie Rael
Problem: Need more accurate profiling Solution: Improve profiling results closes: #12192 Reduce overhead of checking if a function should be profiled, by caching results of checking (which are done with regexp). Cache uf_hash for uf_name in ufunc_T. Cache cleared when regexps are changed. Break at first match for has_profiling lookup. Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
2023-09-02patch 9.0.1841: style: trailing whitespace in ex_cmds.cv9.0.1841Christian Brabandt
Problem: style: trailing whitespace in ex_cmds.c Solution: remove it Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02translation(en_GB): Update UK English translation (#13011)Mike Williams
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-02patch 9.0.1840: [security] use-after-free in do_ecmdv9.0.1840Christian Brabandt
Problem: use-after-free in do_ecmd Solution: Verify oldwin pointer after reset_VIsual() Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-01runtime(zserio): add zserio syntax (#13005)Dominique Pellé
Signed-off-by: Christian Brabandt <cb@256bit.org>