| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
|
| |
|
|
|
|
|
|
|
| |
Problem: Lisp word only recognized when a space follows.
Solution: Also match a word at the end of a line. Rename the test. Use a
compiled function to avoid backslashes.
https://github.com/vim/vim/commit/d26c5805bcbd630dab0478c2d22503a6e32a83c1
Keep the old Test_lisp_indent().
|
| |
|
|
|
|
|
|
|
| |
Problem: Buffer menu does not handle special buffers properly.
Solution: Keep a dictionary with buffer names to reliably keep track of
entries.
Also trigger BufFilePre and BufFilePost for command-line and
terminal buffers when the name changes.
https://github.com/vim/vim/commit/5e94a29ebbde10dd973d58f1adba9a2fc83877d1
|
| |
|
|
|
|
| |
Problem: Test file has wrong name.
Solution: Rename the file. Various small fixes. (closes vim/vim#10674)
https://github.com/vim/vim/commit/bb404f5ad5ec909318bc24e5b82e4ed7b87ba8f4
|
| |
|
|
|
|
|
|
| |
Problem: ">" marker sometimes not displayed in the jumplist.
Solution: If the buffer no longer exists show "-invalid-". (Christian
Brabandt, closes vim/vim#10131, closes vim/vim#10100)
https://github.com/vim/vim/commit/a0f659c76e22108880f857b8961422afc5ed8f5d
Add a modeline to test_jumplist.vim
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Copy four files from Vim v8.2.1432.
Try to match Vim's test_alot.vim.
This marks Vim patch 8.2.0164 as ported:
vim-patch:8.2.0164: test_alot takes too long
Problem: Test_alot takes too long.
Solution: Run several tests individually.
https://github.com/vim/vim/commit/842931cd7af37ea95e826b7a93a5d5587d18c9bb
|
| | |
|
| |
|
|
|
| |
This is a much better solution than #16942 as it doesn't require copying
every new change from test_filetype.vim into filetype_spec.lua (which is
much more maintainable).
|
| |
|
|
|
|
| |
Problem: 'cursorline' always highlights the whole line.
Solution: Add 'cursorlineopt' to specify what is highlighted.
(closes vim/vim#4693)
https://github.com/vim/vim/commit/410e98a70bc00ea4bed51e55a8fe20e56a72c087
|
| |
|
|
|
|
|
|
|
| |
Problem: Command line editing not sufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#5374)
https://github.com/vim/vim/commit/59cb041d0a56d8555857da7e063ec61504ee1fa7
Ported to commit test_ex_mode.vim for later patches.
Test fails because feedkeys() filters out modifier keys on output.
|
| |
|
|
|
|
|
|
| |
Problem: No test for Ex shift commands.
Solution: Add a test. (Dominique Pelle, closes vim/vim#4801)
https://github.com/vim/vim/commit/d5e3cc11d391f3aa80bf66f91001f11a3a145b43
Comment out some tests because of Neovim inccomand.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: rename() is not propertly tested.
Solution: Add tests. (Dominique Pelle, closes vim/vim#4061)
https://github.com/vim/vim/commit/ef8c956172aa967f67c524cb9609a4d390d74b82
Skip Test_rename_fails() because 'blob' feature is not ported yet.
N/A patches for version.c:
vim-patch:8.2.2678: test for 'autoshelldir' does not reset the option
Problem: Test for 'autoshelldir' does not reset the option.
Solution: Reset the option after testing.
https://github.com/vim/vim/commit/82820d9bf14ba5374c24fff2ed6e577a67c6ddf2
vim-patch:8.2.2683: build failure without the +eval feature
Problem: Build failure without the +eval feature.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/b91d3f857fb6aadbbc01f80f775967bb40d361de
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Build failure with tiny features.
Solution: Add #ifdef. Run recover test separately.
https://github.com/vim/vim/commit/23b32a8d6bd9ec83c0c6632b7a8bfa544ac0a2f1
N/A patches for version.c:
vim-patch:8.2.1048: build failure without the eval feature
Problem: Build failure without the eval feature.
Solution: Add dummy typedef.
https://github.com/vim/vim/commit/9d40c63c7dc8c3eb3886c58dcd334bc7f37eceba
vim-patch:8.2.1828: build failure without the +eval feature
Problem: Build failure without the +eval feature.
Solution: Add dummys for ex_block and ex_endblock.
https://github.com/vim/vim/commit/1b1e9df78b9ff98cc5ccff359bead37ce5c54d6b
vim-patch:8.2.2293: build failure with Motif
Problem: Build failure with Motif. (Tony Mechelynck)
Solution: Use empty_option instead of empty_options.
https://github.com/vim/vim/commit/bb0956fc65ebe8df1da823f9c4d6a0013d9ba5c1
vim-patch:8.2.2410: build failure without the +profiling feature
Problem: Build failure without the +profiling feature.
Solution: Add dummy argument to macro.
https://github.com/vim/vim/commit/ff0e57fe77b1a87a034191c629730b081f6fb7ad
vim-patch:8.2.2514: Vim9: build error in tiny version
Problem: Vim9: build error in tiny version.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/2379f87eb48a4ee6a1d0fc7df964e12a3efe4fd5
|
| |
|
|
|
|
|
|
|
| |
Problem: %a item in 'statusline' not tested.
Solution: Add a test. (Dominique Pellé, closes vim/vim#6318)
https://github.com/vim/vim/commit/4014e2ceb03b8aeb947a0c671a099b677c8f2d5d
Do not run test_statusline.vim in test_alot.vim
because test_statusline.vim runs separately in Vim since patch v8.2.0164.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: There are two test files for :let.
Solution: Merge the two files.
https://github.com/vim/vim/commit/fcf8a8743bdecc0ba28037b79b7cb2962de70b1d
N/A patches for version.c:
vim-patch:8.2.0617: new error check triggers in Swedish menu
Problem: New error check triggers in Swedish menu.
Solution: Insert backslash. (Mats Tegner, closes vim/vim#5966)
https://github.com/vim/vim/commit/d2662ad2de40e68999198150024531c91fece16c
vim-patch:8.2.0620: error in menu translations
Problem: Error in menu translations.
Solution: Insert a backslash before a space.
https://github.com/vim/vim/commit/0d6fe631f75effbfca92a4f61bbc2fab7385af09
vim-patch:8.2.0628: error in menu translations
Problem: Error in menu translations.
Solution: Insert a backslash before a space in one more file. (Shun Bai,
Emir Sari)
https://github.com/vim/vim/commit/e71ebb46a252cd1cdfb075e6014c2b13c580bf3f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: using :version twice leaks memory
Solution: Only initialize variables once. (Dominique Pelle, closes vim/vim#5917)
https://github.com/vim/vim/commit/278e83863b2c7329f6712b8809e4aa5e6a50e13f
Cherry-pick test_alot.vim change from patch v8.2.0164
so that test_expr.vim and test_version.vim do not conflict.
Cherry-pick modeline from patch v8.2.1432.
N/A patches for version.c:
vim-patch:8.1.0103: long version string cannot be translated
Problem: Long version string cannot be translated.
Solution: Build the string in init_longVersion().
https://github.com/vim/vim/commit/35fb6fbf727c72eb5987a1556bbba26dca14cc48
vim-patch:8.1.0975: using STRNCPY() wrongly. Warning for uninitialized variable
Problem: Using STRNCPY() wrongly. Warning for uninitialized variable.
Solution: Use mch_memmove(). Initialize variable. (Yasuhiro Matsumoto,
closes vim/vim#3979)
https://github.com/vim/vim/commit/c666388367282c3c7d1d7af24883cfa0d40b046e
vim-patch:8.1.1403: cannot build without the timer feature
Problem: Cannot build without the timer feature.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/35d5af6c0b618aef9ca87b05b2e184934e47d916
vim-patch:8.1.1569: cannot build with signs but without diff feature
Problem: Cannot build with signs but without diff feature.
Solution: Move #ifdef. (Tom Ryder)
https://github.com/vim/vim/commit/bf8c3adef21c24a9bf2c1a93042a096ea8d8b2e1
vim-patch:8.1.1856: popup preview test fails sometimes
Problem: popup preview test fails sometimes. (Christian Brabandt)
Solution: Clear the command line.
https://github.com/vim/vim/commit/78d629a38548115a68298081d39d6d90708af561
vim-patch:8.1.1983: compiler nags for uninitialized variable and unused function
Problem: Compiler nags for uninitialized variable and unused function.
Solution: Add unnecessary initialization. Move function inside #ifdef.
https://github.com/vim/vim/commit/ea781459b9617aa47335061fcc78403495260315
vim-patch:8.1.2014: terminal altscreen test fails sometimes
Problem: Terminal altscreen test fails sometimes.
Solution: Use WaitFor().
https://github.com/vim/vim/commit/b9c79cf5cc876ba4d46d938ad4a15800dbe45e64
vim-patch:8.1.2365: missing tests for recent popupwin changes
Problem: Missing tests for recent popupwin changes.
Solution: Add test cases.
https://github.com/vim/vim/commit/20ebbeac461ffc2a5e5dbfbb0ba380b8854615bd
vim-patch:8.1.2406: leaking memory in test_paste and test_registers
Problem: Leaking memory in test_paste and test_registers.
Solution: Free the old title. Don't copy expr_line.
https://github.com/vim/vim/commit/6b649ac4fd0cbf88c5a05d82ad151d0ce980916a
vim-patch:8.2.0616: build error when disabling the diff feature
Problem: Build error when disabling the diff feature.
Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
https://github.com/vim/vim/commit/e770598f31ad88fc98e40ead4b228ebc04afaa5d
vim-patch:8.2.1020: popupwin test fails in the GUI
Problem: Popupwin test fails in the GUI.
Solution: Send GUI byte sequence for <C-S-a>.
https://github.com/vim/vim/commit/b326edf5b30813b2ccdee3ac07ee6495ca5187ff
vim-patch:8.2.1036: popupwin test fails sometimes
Problem: Popupwin test fails sometimes.
Solution: Use WaitForAssert() instead of a sleep.
https://github.com/vim/vim/commit/373c65104e0991724cb57910dfb3e5c276e2d7e7
vim-patch:8.2.1038: popupwin test fails
Problem: Popupwin test fails.
Solution: Fix WaitForAssert() argument.
https://github.com/vim/vim/commit/b2b218d89b3a6f450e65afd5e59ac234a5fa1eb7
vim-patch:8.2.1743: cannot build without the eval feature
Problem: Cannot build without the eval feature.
Solution: Move shorten_dir outside of #ifdef.
https://github.com/vim/vim/commit/273af497cac345897cf6369baa87a070876a5815
vim-patch:8.2.1843: Netbeans: with huge buffer number memory allocation may fail
Problem: Netbeans: with huge buffer number memory allocation may fail.
Solution: Check for size overflow.
https://github.com/vim/vim/commit/b9616af23f31fc18721a92643c21f42b69854efe
|
| |
|
|
|
|
|
| |
Problem: Using a full path is supported for 'directory' but not for
'backupdir'. (Mikolaj Machowski)
Solution: Support 'backupdir' as well. (Christian Brabandt, closes vim/vim#179)
https://github.com/vim/vim/commit/b782ba475a3f8f2b0be99dda164ba4545347f60f
|
| |\
| |
| | |
vim-patch:8.1.{1099,1228,1962} add 'tagfunc'
|
| | |
| |
| |
| |
| |
| | |
Problem: Not possible to process tags with a function.
Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes vim/vim#4010)
https://github.com/vim/vim/commit/45e18cbdc40afd8144d20dcc07ad2d981636f4c9
|
| |/
|
|
|
|
| |
Problem: Mapping test fails.
Solution: Run the test separately.
https://github.com/vim/vim/commit/4bd88d568a81d37df69dc3cf8cdd8d9dbb4011b7
|
| |
|
|
|
|
|
| |
Problem: Cannot get the script line number when executing a function.
Solution: Store the line number besides the script ID. (Ozaki Kiichi,
closes vim/vim#3362) Also display the line number with ":verbose set".
https://github.com/vim/vim/commit/f29c1c6aa3f365c025890fab5fb9efbe88eb1761
|
| | |
|
| |
|
|
|
|
| |
Problem: Invalid memory access with invalid modeline.
Solution: Pass pointer limit. Add a test. (closes vim/vim#3241)
https://github.com/vim/vim/commit/9cf4b5005f12ce1d6692266140bdda05d0312d79
|
| |
|
|
|
| |
Problem: ":=" command is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3859)
https://github.com/vim/vim/commit/99531a7604ce89ba82f41cdb519669abb61f3df0
|
| |
|
|
|
|
| |
Problem: No test for :wnext, :wNext and :wprevious.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3963)
https://github.com/vim/vim/commit/e93e5a504f481bd0dad9c504d5fcf0e5f0dfc6e6
|
| |
|
|
|
| |
Problem: :move command marks buffer modified when nothing changed.
Solution: Do not set 'modified'. Add a test. (Jason Franklin)
https://github.com/vim/vim/commit/ddd1f9183bed00d096f29c503721ac559174a29f
|
| |
|
|
|
| |
Problem: The :suspend command is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3472)
https://github.com/vim/vim/commit/3b30168f04b8a2a2f1bbaa2f90be546550463146
|
| |
|
|
|
| |
Problem: :behave command is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3429)
https://github.com/vim/vim/commit/da1f71d75f0bf5d5ef876a09aa08fb19f6f24b3b
|
| |
|
|
|
|
|
| |
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes vim/vim#2230)
https://github.com/vim/vim/commit/53f0c962394dc6bc66d5b0762af9434e672d1b25
|
| |
|
|
|
|
| |
Problem: The :compiler command is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#2930)
https://github.com/vim/vim/commit/10561fe0a37efd611ccb1517b37de12d2e37af0f
|
| |
|
|
|
|
| |
Problem: Crash with cd command with very long argument.
Solution: Check for running out of space. (Dominique Pellé, closes vim/vim#1576)
https://github.com/vim/vim/commit/15618fa643867cf0d9c31f327022a22dff78a0cf
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Problem: Still old style tests.
Solution: Convert two tests to new style. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/bb3e6416f157f68799ccb6070fa2f91df6780e79
|
| |/
|
|
|
|
|
| |
Problem: MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a
:global command.
Solution: When setting the clipboard was postponed, do not clear the
register.
https://github.com/vim/vim/commit/3fcfa35f82b9d1ef5e95051b3a45578e10c14ec3
|
| |
|
|
|
|
| |
Problem: Illegal memory access with :z and large count.
Solution: Check for number overflow, using long instead of int. (Dominique
Pelle, closes vim/vim#1612)
https://github.com/vim/vim/commit/fa0ad0bb0b4255e64ebcf9269d60a942e0ae7ff9
|
| |
|
|
|
|
|
| |
Problem: ":set scroll&" often gives an error.
Solution: Don't use a fixed default value, use half the window height. Add a
test. (Ozaki Kiichi, closes vim/vim#2104)
https://github.com/vim/vim/commit/af2d20c6285c1d2973e3d9b5e8f727e3ed180493
|
| |
|
|
|
|
|
|
|
| |
Note: code change was covered by c2a18216114bae75b6d6a2c7f1a68db04578abce
Problem: When a multi-byte character ends in a zero byte, putting blockwise
text puts it before the character instead of after it.
Solution: Use int instead of char for the character under the cursor.
(Luchr, closes vim/vim#1403) Add a test.
https://github.com/vim/vim/commit/c81299684b2b9045e56525d3da3f45e8440fbf0d
|
| |
|
|
|
|
|
| |
Problem: Checksum tests are not actually run.
Solution: Add the tests to the list. (Dominique Pelle, closes vim/vim#1819)
https://github.com/vim/vim/commit/710b4a16465fb38492801a0dccf2293397aadc6a
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Needed for later Vim patches.
Stub test_alot_latin.vim to avoid merge-conflict noise.
vim-patch:7.4.1700
vim-patch:7.4.1734
vim-patch:7.4.1740
vim-patch:7.4.2086
vim-patch:7.4.2223
vim-patch:8.0.0250
|
| |
|
|
|
|
|
| |
Problem: Tests switch the bell off twice.
Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
https://github.com/vim/vim/commit/67418d97b457d2e27fe342472d3c9fd342ffc47f
|
| |
|
|
|
|
|
|
|
| |
Problem: The conf filetype detection is done before ftdetect scripts from
packages that are added later.
Solution: Add the FALLBACK argument to :setfiletype. (closes vim/vim#1679,
closes vim/vim#1693)
https://github.com/vim/vim/commit/3e54569b17683318e0cb6693ab0024c2ad1e3e8f
|
| |
|
|
|
|
|
|
| |
Problem: Invalid memory access in :recover command.
Solution: Avoid access before directory name. (Dominique Pelle,
closes vim/vim#1488)
https://github.com/vim/vim/commit/c525e3a1c20f6b5d9809c8b84f80090a8e416c92
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
vim-patch:8.0.0358: invalid memory access in C-indent code
Problem: Invalid memory access in C-indent code.
Solution: Don't go over end of empty line. (Dominique Pelle, closes vim/vim#1492)
https://github.com/vim/vim/commit/60629d642541a089c322e65963c0a77e5f77eb79
vim-patch:8.0.0359: 'number' and 'relativenumber' are not properly tested
Problem: 'number' and 'relativenumber' are not properly tested.
Solution: Add tests, change old style to new style tests. (Ozaki Kiichi,
closes vim/vim#1447)
https://github.com/vim/vim/commit/dc9a081712ec8c140e6d4909e9f6b03a629d32d3
|
| |
|
|
|
|
|
| |
Problem: Quite a few beeps when running tests.
Solution: Set 'belloff' for these tests. (Christian Brabandt)
https://github.com/vim/vim/commit/c3c766ea8c35f5b2bd45fb3d74d0ae46b2d8c24f
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Problem: No tests for ":set completion" and various errors of the :set
command.
Solution: Add more :set tests. (Dominique Pelle, closes vim/vim#1440)
https://github.com/vim/vim/commit/698f8b207bbfefa1cbbd7361caf5412cb3416534
---
Also move test_options from test_alot to Makefile. (That's done upstream
in Vim patch 8.0.0430.)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vim-patch:8.0.0334
vim-patch:8.0.0335
vim-patch:8.0.0343
vim-patch:8.0.0345
Problem: Can't access b:changedtick from a dict reference.
Solution: Make changedtick a member of the b: dict. (inspired by neovim
vim/vim#6112)
https://github.com/vim/vim/commit/79518e2ace5fce7b9c49060e462a6e935dba0a84
vim-patch:8.0.0343: b:changedtick can be unlocked
Problem: b:changedtick can be unlocked, even though it has no effect.
(Nikolai Pavlov)
Solution: Add a check and error E940. (closes #1496)
vim-patch:8.0.0345: islocked('d.changedtick') does not work
Problem: islocked('d.changedtick') does not work.
Solution: Make it work.
vim-patch:8.0.0335: functions test fails
Problem: Functions test fails.
Solution: Use the right buffer number.
https://github.com/vim/vim/commit/507647da3151f7ffccac1b217936240daa79849c
|
| |
|
|
|
|
|
| |
Problem: No test for "ga" and :ascii.
Solution: Add a test. (Dominique Pelle, closes vim/vim#1429)
https://github.com/vim/vim/commit/21d7c9b601f3048e1293ecd6c09b8325a15503cd
|
| |
|
|
|
|
|
|
|
|
| |
closes #6726
Problem: Crash with virtualedit and joining lines.
(Joshua T Corbin, Neovim #6726)
Solution: When using a mark check that coladd is valid.
https://github.com/vim/vim/commit/9aa156912867c05e0a6480925afe11c590378f09
|
| |
|
|
|
|
| |
Problem: After ":bwipeout" 'fileformat' is not set to the right default.
Solution: Get the default from 'fileformats'. (Mike Williams)
https://github.com/vim/vim/commit/e8ef3a093453b73594e15462d4de50b011c8ba66
|
| |
|
|
|
|
|
|
| |
Problem: str2nr() and str2float() do not always work with negative values.
Solution: Be more flexible about handling signs. (LemonBoy, closes vim/vim#1332)
Add more tests.
https://github.com/vim/vim/commit/08243d26d22ad44a857d02c90071578577b8a55d
|