| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Problem: Abbreviation doesn't work after backspacing newline. (Hkonrk)
Solution: Set the insert start column. (closes vim/vim#1609)
https://github.com/vim/vim/commit/878c263a489b7e211eda31fa13a3d5ad9e120554
|
|
|
|
|
| |
Solution: Completion for user command argument not tested.
Problem: Add a test.
https://github.com/vim/vim/commit/a33ddbbd04ca9b81cba6114708f42b8e26293b99
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Problem: dv} deletes part of a multi-byte character. (Urtica Dioica)
Solution: Include the whole character.
https://github.com/vim/vim/commit/bf3d58073f7b34b2d65d1d08a728d1164e03cceb
|
| |
| |
| |
| |
| |
| | |
Problem: Using uninitialized memory when 'isfname' is empty.
Solution: Don't call getpwnam() without an argument. (Dominique Pelle,
closes vim/vim#1464)
https://github.com/vim/vim/commit/187a4f28140f10ff833862be7e3ef823d317e1c7
|
|/
|
|
|
| |
Problem: No test for mapping timing out.
Solution: Add a test.
https://github.com/vim/vim/commit/b7637c44c26b057d1f3721d932bbab06d9f74393
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: When calling setpos() with a buffer argument it often is ignored.
(Matthew Malcomson)
Solution: Make the buffer argument work for all marks local to a buffer.
(neovim vim/vim#5713) Add more tests.
https://github.com/vim/vim/commit/f13e00b2cf381e13fd327b5387a5bd6f004ac2a3
|
|/
|
|
|
|
|
|
| |
Problem: May get ml_get error when :pydo deletes lines or switches to
another buffer. (Nikolai Pavlov, issue vim/vim#1421)
Solution: Check the buffer and line every time.
https://github.com/vim/vim/commit/a58883b4ea0bbb813fd4dd7eb49dd6f03e3e5387
(We only include the tests, the Vim code changes are N/A for Nvim.)
|
|
|
|
|
|
| |
Problem: 'colorcolumn' has a higher priority than 'hlsearch', it should be
the other way around. (Nazri Ramliy)
Solution: Change the priorities. (LemonBoy, closes vim/vim#1794)
https://github.com/vim/vim/commit/774e5a9673260b1b8b88463669213a96637f72e8
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Problem: The message "Invalid range" is used for multiple errors.
Solution: Add two more specific error messages. (Itchyny, Ken Hamada)
https://github.com/vim/vim/commit/966e58e413ffa88af8d748e697aa2999571fcd7b
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Line in test commented out.
Solution: Uncomment the lines for character classes that were failing before
8.0.0519. (Dominique Pelle, closes vim/vim#1599)
https://github.com/vim/vim/commit/13489b9c41922b9ecb16fa47564ec76641515c08
|
|/
|
|
|
|
|
|
|
|
| |
Problem: 'smartindent' is used even when 'indentexpr' is set.
Solution: Ignore 'smartindent' when 'indentexpr' is set. (Hirohito Higashi)
https://github.com/vim/vim/commit/69a76feda9e9d308be6b5fc2185286a061dfecd6
---
This also fixes "delfunction!" which was not merged fully in a185ab70fd2eb8d55 (vim-patch:8.0.0655)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vim-patch:8.0.0399: crash when using balloon_show() when not supported
Problem: Crash when using balloon_show() when not supported. (Hirohito
Higashi)
Solution: Check for balloonEval not to be NULL. (Ken Takata)
https://github.com/vim/vim/commit/caf6434ac937cf26050276d7b474be2d2d6a06b3
vim-patch:8.0.0401: test fails with missing balloon feature
Problem: Test fails with missing balloon feature.
Solution: Add check for balloon feature.
https://github.com/vim/vim/commit/a0107bdf8762d81cb49909ef02ffff9954092fb6
vim-patch:8.0.0414: balloon eval is not tested
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| | |
nvim always defines default highlight groups so hlexists() returns 1.
This happens even with `-u NONE --cmd`.
|
| |
| |
| |
| | |
nvim does not support v:none for json_encode() and json_decode().
|
| |
| |
| |
| |
| |
| | |
Problem: No test for strpart().
Solution: Add a test. (Dominique Pelle, closes vim/vim#2347)
https://github.com/vim/vim/commit/c7d16dce2f180c8ebfc8105ad090b0ea2deedcdc
|
| |
| |
| |
| |
| |
| | |
Problem: Some functions are not tested.
Solution: Add more tests for functions. (Dominique Pelle, closes vim/vim#1541)
https://github.com/vim/vim/commit/41042f3cfdb91f946e553456278a995e61dd8578
|
| |
| |
| |
| |
| |
| | |
Problem: Not enough test coverage for eval functions.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#1420)
https://github.com/vim/vim/commit/24c2e48ef8b8b9053fa18039e6f6118337f908f8
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
Problem: Not enough test coverage for syntax commands.
Solution: Add a few more tests. (Dominique Pelle, closes vim/vim#1624)
https://github.com/vim/vim/commit/ea588154d00aec288e48b344b2685e46bea99cd6
|
| | |
|
|/
|
|
|
|
| |
Problem: The :ownsyntax command is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#1622)
https://github.com/vim/vim/commit/f8ec998613d8037e345f4e7e08460dfc15c528a9
|
|
|
|
|
|
|
|
|
| |
Problem: Character classes are not well tested. They can differ between
platforms.
Solution: Add tests. In the documentation make clear which classes depend
on what library function. Only use :cntrl: and :graph: for ASCII.
(Kazunobu Kuriyama, Dominique Pelle, closes vim/vim#1560)
Update the documentation.
https://github.com/vim/vim/commit/0c078fc7db2902d4ccba04506db082ddbef45a8c
|
|
|
|
|
|
| |
Problem: A large count on a normal command causes trouble. (Dominique
Pelle)
Solution: Make "opcount" long.
https://github.com/vim/vim/commit/b1e04fca3704e272a30afbe062498819eaacd4f9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Menuage for skipping client-server tests is unclear.
Solution: Be more specific about what's missing (Hirohito Higashi, Kazunobu
Kuriyama)
https://github.com/vim/vim/commit/a683ec44c34f0717dcc6a0c03493ba39b879ac38
|
| |
| |
| |
| |
| |
| | |
Problem: Client-server tests fail when $DISPLAY is not set.
Solution: Check for E240 before running the test.
https://github.com/vim/vim/commit/a2845b8f5a3058c8c89699771ffd4d69513b097d
|
|/
|
|
|
|
| |
Problem: ml_get errors in silent Ex mode. (Dominique Pelle)
Solution: Clear valid flags when setting the cursor. Set the topline when
not in full screen mode.
https://github.com/vim/vim/commit/d5d37537d1fa46fd468bd378af2006dd09840f38
|
|
|
|
|
| |
Problem: Insufficient testing for folding.
Solution: Add a couple more fold tests. (Dominique Pelle, closes vim/vim#1579)
https://github.com/vim/vim/commit/518c9b133baed4b1a555d7be0ece1b48bb234b1d
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Problem: Quotestar test is still a bit flaky.
Solution: Add a slower check for v:version.
https://github.com/vim/vim/commit/4889ad7c6cd46368f553cc1140ca17508e8beaaa
|
| |
| |
| |
| |
| |
| |
| | |
Problem: The quotestar test uses a timer instead of a timeout, thus it
cannot be rerun like a flaky test.
Solution: Remove the timer and add a timeout. (Kazunobu Kuriyama)
https://github.com/vim/vim/commit/f5610da7a8a5908e747d1ae39dbed1408bbd2644
|
| |
| |
| |
| |
| |
| | |
Problem: The quotestar test fails when a required feature is missing.
Solution: Prepend "Skipped" to the thrown exception.
https://github.com/vim/vim/commit/bfd830d3e2dbd1e9b14c65625f18773074e6ac67
|
|/
|
|
|
|
| |
Problem: Clipboard and "* register is not tested.
Solution: Add a test for Mac and X11. (Kazunobu Kuriyama)
https://github.com/vim/vim/commit/7dd4850698e37c3ed4a3c3b23f4cdbf1ae6542f8
|
|
|
|
|
|
|
| |
Problem: Setting ttytype to xxx does not always fail as expected. (Marvin
Schmidt)
Solution: Catch both possible errors. (closes vim/vim#1601)
https://github.com/vim/vim/commit/f803a7697808f63949ea26fc256d4c9a8647089e
|
|
|
|
|
|
|
| |
Problem: Double free when compiled with EXITFREE and setting 'ttytype'.
Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle,
closes vim/vim#1461)
https://github.com/vim/vim/commit/673911457d6745b6b779eb769c2f41965592d12c
|
|
|
|
|
|
|
|
| |
Problem: Assign test fails in the GUI.
Solution: Skip the test for setting t_k1.
https://github.com/vim/vim/commit/1fb0d49803b4f57025ed6a43b1f5b9eb91524645
vim-patch:8.0.0354
|
|
|
|
|
| |
No idea why this was added, it isn't in the Vim patch. The Vim (oldtest)
test-runner doesn't work with `Test_` functions marked as `abort`.
|
|\ |
|
| |\ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: No autocmd triggered in Insert mode with visible popup menu.
Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt,
closes vim/vim#2372, closes vim/vim#1691)
Fix that the TextChanged autocommands are not always triggered
when sourcing a script.
https://github.com/vim/vim/commit/5a093437199001a0d60d8e18e2b9539b99a7757c
|
|/
|
|
|
|
| |
Problem: Arabic support is not fully tested.
Solution: Add more tests for the untested functions. Comment out
unreachable code.
vim/vim@3ff2f09
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After this change we never release blocks from memory (in practice it
never happened because the memory limits are never reached). Let the OS
take care of that.
---
On today's systems the 'maxmem' and 'maxmemtot' values are huge (4+ GB)
so the limits are never reached in practice, but Vim wastes a lot of
time checking if the limit was reached.
If the limit is reached Vim starts saving pieces of the swap file that were in
memory to the disk. Said in a different way: Vim implements its own
memory-paging mechanism. This is unnecessary and inefficient since the
operating system already has virtual memory and will swap to the disk if
programs start using too much memory.
This change does...
1. Reduce the number of config options and need for documentation.
2. Make the code more efficient as we don't have to keep track of memory
usage nor check if the memory limits were reached to start swapping
to disk every time we need memory for buffers.
3. Simplify the code. Once memfile.c is simple enough it could be
replaced by actual operating system memory mapping (mmap,
MemoryViewOfFile...). This change does not prevent Vim to recover
changes from swap files since the swapping code is never triggered
with the huge limits set by default.
|
| |
| |
| |
| |
| | |
Vim doesn't test it on Windows.
See https://github.com/vim/vim/blob/master/src/testdir/Make_all.mak
|
| |
| |
| |
| |
| |
| |
| | |
Any user can create a directory on root.
Creating a directory on root allows any user to write files within that directory.
Test_recover_root_dir() passes when run locally as a regular user (not admin).
|