summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2023-09-11patch 9.0.1896: "below" virtual text doesn't work with 'rightleft'v9.0.1896zeertzjq
Problem: "below" virtual text doesn't work with 'rightleft'. Solution: Use column from right border with 'rightleft'. closes: #13071 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-09-11patch 9.0.1895: Vim9: finding object method/member is inefficientv9.0.1895Ernie Rael
Problem: Vim9: finding method/member is inefficient Solution: Use lookups closes: #13073 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
2023-09-10patch 9.0.1894: CI: trailing whitespace in testsv9.0.1894Christian Brabandt
Problem: CI: trailing white space in tests Solution: clean up the trailing white space Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-10patch 9.0.1893: CI: strptime test fails on BSD14v9.0.1893Christian Brabandt
Problem: CI: strptime test fails on BSD14 Solution: Skip the test Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-10patch 9.0.1892: CI: no FreeBSD 14 supportv9.0.1892Philip H
Problem: CI: no FreeBSD 14 support Solution: Drop support for FreeBSD 12, add FreeBSD 14 closes: #13059 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2023-09-10patch 9.0.1891: No runtime support for Mojov9.0.1891Mahmoud Abduljawad
Problem: No runtime support for Mojo Solution: Add basic filetype and syntax plugins closes: #13062 closes: #13063 Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Doug Kearns <dougkearns@gmail.com> Co-authored-by: Mahmoud Abduljawad <mahmoud@masaar.com>
2023-09-10patch 9.0.1890: Vim9: lookup code for class/object repaeatedv9.0.1890Yegappan Lakshmanan
Problem: Vim9: lookup code for class/object repaeated Solution: Refactor and make use of lookup functions closes: #13067 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-10patch 9.0.1889: Vim9 static tests failv9.0.1889Yegappan Lakshmanan
Problem: Vim9 static tests fail Solution: Fix tests, make CI happy ;) closes: #13064 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-09patch 9.0.1888: Vim9: Problem trying to invoke class methodv9.0.1888Yegappan Lakshmanan
Problem: Vim9: Problem trying to invoke class method Solution: Lookup the class method insider other classes closes: #13055 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-09patch 9.0.1887: Vim9: class members are accessible via objectv9.0.1887Yegappan Lakshmanan
Problem: Vim9: class members are accessible via object Solution: Disable class member variable access using an object Class methods can be accessed only using the class name and cannot be accessed using an object. To be consistent with this, do the same for class member variables also. They can be accessed only using the class name and not using an object. closes: #13057 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-09patch 9.0.1886: Various Typosv9.0.1886Christian Brabandt
Problem: Various Typos Solution: Fix Typos This is a collection of typo related commits. closes: #12753 closes: #13016 Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Viktor Szépe <viktor@szepe.net> Co-authored-by: nuid64 <lvkuzvesov@proton.me> Co-authored-by: Meng Xiangzhuo <aumo@foxmail.com> Co-authored-by: Dominique Pellé <dominique.pelle@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-08patch 9.0.1885: Vim9: no support for abstract methodsv9.0.1885Yegappan Lakshmanan
Problem: Vim9: no support for abstract methods Solution: Add support for defining abstract methods in an abstract class closes: #13044 closes: #13046 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-08patch 9.0.1884: Wrong order of arguments for error messagesv9.0.1884Christ van Willegen
Problem: Wrong order of arguments for error messages Solution: Reverse order or arguments for e_aptypes_is_null_nr_str closes: #13051 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
2023-09-08patch 9.0.1883: Vim9: Calling an interface method using a child object failsv9.0.1883Yegappan Lakshmanan
Problem: Vim9: Calling an interface method using a child object fails Solution: Search methods of parent class When a class implementing an interface is extended by another class and a child class instance is passed to a function that accepts the interface, calling an interface method doesn't work properly. closes: #13053 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-09-06patch 9.0.1882: Trailing white space in testsv9.0.1882Christian Brabandt
Problem: Trailing white space in tests Solution: Delete it This causes test_codestyle to fail, so we need to remove it again. Hopefully that makes the CI green again. Note: I will start using annotated tags from now on. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-06patch 9.0.1881: Test_crash fails on Macv9.0.1881Christian Brabandt
Problem: Test_crash fails on Mac Solution: Skip test on Mac Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-06patch 9.0.1880: Vim9: Need more tests for inheritancev9.0.1880Ernie Rael
Problem: Vim9: Need more tests for inheritance Solution: Add access tests and fixes. `inside_class` fix from yegappan. `object_index_from_itf_index` fix access of member on class extending class implementing interface. Based on tests from Vim9: Class/Object member variable access control #12979 closes: #13032 related: #12979 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
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-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-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-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-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>