| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
Problem: Cannot use "z=" when 'spell' is off.
Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
Gary Johnson, closes vim/vim#6227)
https://github.com/vim/vim/commit/152e79e94bb935e75b866bd55479648cde11066a
|
| |
|
|
|
|
|
| |
Problem: Tests for spell suggestions are slow.
Solution: Use shorter words. Test with latin1 and utf-8 to cover more code.
(Dominique Pelle, closes vim/vim#5399)
https://github.com/vim/vim/commit/767340574b5a0c697e650b3bbc3a4af10e51cb89
|
| |
|
|
|
|
| |
Problem: Memory access error when "z=" has no suggestions.
Solution: Check for negative index.
https://github.com/vim/vim/commit/569fea2c312126dd5a542c4b1aa51095136a2c0d
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Spell suggestions insufficiently tested.
Solution: Add spell suggestion tests. (Dominique Pelle, closes vim/vim#5398)
https://github.com/vim/vim/commit/e9a8d1f9adaf4599b5a7923f8db8e207ed6e7eca
Requires latest en.utf-8.spl from
https://ftp.nluug.nl/pub/vim/runtime/spell/.
Include the following patch because patch v8.2.0946 was merged:
vim-patch:8.2.0948: spell test fails
Problem: Spell test fails.
Solution: Adjust expected text of the prompt.
https://github.com/vim/vim/commit/d281b7c227bc4c78813fdc297ccee4b2cad7e605
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
vim-patch:8.2.1754: completion with spell checking not tested
Problem: Completion with spell checking not tested.
Solution: Add a test case. (Dominique Pellé, closes vim/vim#7024)
https://github.com/vim/vim/commit/8c7ad3631af570f68b2da2658cf966a9a19cb6c4
Cherry-pick GetMessages() from patch 8.2.0666.
Comment out the code that checks for "Messages maintainer:" line
because Neovim's ":messages" command does not output it
and patches for the "methods" feature (ie. foo->bar) are not ported yet.
https://github.com/neovim/neovim/pull/5160
|
| |
|
|
|
|
|
| |
Problem: Spell checking doesn't work for CamelCased words.
Solution: Add the "camel" value in the new option 'spelloptions'.
(closes vim/vim#1235)
https://github.com/vim/vim/commit/362b44bd4aa87a2aef0f8fd5a28d68dd09a7d909
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Spell highlight is wrong at start of the line.
Solution: Fix setting the "v" variable. (closes vim/vim#5078)
https://github.com/vim/vim/commit/7751d1d1a3d447d0d48f57f34e0da9f7c6ac433d
Skip spell tests in OpenBSD.
Nvim or screen likely crashed.
Revist once issue #12104 is fixed.
Skip the test for the following reasons:
- unknown regression caused by https://github.com/neovim/neovim/issues/12104
- cannot revert failing test from https://github.com/neovim/neovim/commit/ed0d135247790f67ead7f1a8c21a020790e80a74
|
| |
|
|
|
|
| |
Problem: MSVC tests fail.
Solution: Replace backslashes with slashes.
https://github.com/vim/vim/commit/c25e702deec74771e49f6c2df4cda7a1f97d0c1e
|
| |
|
|
|
|
|
| |
Problem: Using hard coded executable path in test.
Solution: Use v:progpath. Use $VIMRUNTIME instead of "runtime". (James
McCoy, closes vim/vim#5025)
https://github.com/vim/vim/commit/1ac41a5c1352306942344777d2ba86dccd84ffad
|
| |
|
|
|
|
| |
Problem: Too strict checking of the 'spellfile' option.
Solution: Allow for a path.
https://github.com/vim/vim/commit/862f1e17eaf2b9c6617dfba31d8487cde462658d
|
| |
|
|
|
|
| |
Problem: May pass weird strings to file name expansion.
Solution: Check for matching characters. Disallow control characters.
https://github.com/vim/vim/commit/8f130eda4747e4a4d68353cdb650f359fd01469b
|
| |
|
|
|
|
| |
Problem: No test for spell affix file with flag on suffix.
Solution: Add a test case.
https://github.com/vim/vim/commit/37ff4cf87069e54f991d86df9beff19bfdd15875
|
| |
|
|
|
|
|
| |
Problem: Spell file flag zero is not recognized.
Solution: Use -1 as an error value, so that zero can be used as a valid flag
number.
https://github.com/vim/vim/commit/3d2a47c7823b934e1a85d773b68758c87c3ddc90
|
| |
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
|
| |
|
|
|
|
| |
Problem: spellbadword() not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3235)
https://github.com/vim/vim/commit/872e451e8c326d5dd3062ef621fcbf0a4c5bef78
|
| |
|
|
|
| |
Problem: Crash when correctly spelled word is very long. (Ben Kraft)
Solution: Check word length before copying. (closes vim/vim#4778)
https://github.com/vim/vim/commit/5bcc5a1ff94bbab1b175e35a72e3df974106b393
|
| |
|
|
| |
nvim supports only `set encoding=utf8`.
|
| |
|
|
|
|
| |
Problem: No test for :spellinfo.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3394)
https://github.com/vim/vim/commit/9049b686121367941bf534c041975938135c7e20
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Problem: Cursor column is not updated after ]s. (Gary Johnson)
Solution: Set the curswant flag.
https://github.com/vim/vim/commit/b73fa629d6d3d705c1f8e8d5f8109fc9abd7bb6f
|
| |
|
|
|
|
|
| |
Problem: No check for spell region being zero. (geeknik)
Solution: Check for zero. (closes vim/vim#2252)
https://github.com/vim/vim/commit/ee03b941241eae1d36bc29b84eec09116cefe7cd
|
| | |
|
| |
|
|
|
|
|
| |
Problem: Spell test leaves files behind.
Solution: Delete the files.
https://github.com/vim/vim/commit/1a0f2005002a9993ba7313d1978fa2043314f8b8
|
| |
|
|
|
|
|
| |
Problem: Spell test is old style.
Solution: Turn the spell test into a new style test (pschuh, closes vim/vim#1778)
https://github.com/vim/vim/commit/d2c061d24c0534f1f1b92f3462ed6ae8fa848a9a
|
| |
|
|
|
|
|
| |
Problem: No test coverage for :spellrepall.
Solution: Add a test. (Dominique Pelle, closes vim/vim#1717)
https://github.com/vim/vim/commit/545cb79da586be3333a0a55616046f94b01f6b1a
|
| |
|
|
|
|
|
| |
Install en.utf-8.spl by default.
- Allows spell-related tests to run.
- Avoids download prompt for spelllang=en users
|
| |
|
|
|
|
|
|
| |
Problem: Illegal memory access with z= command. (Dominique Pelle)
Solution: Avoid case folded text to be longer than the original text. Use
MB_PTR2LEN() instead of MB_BYTE2LEN().
https://github.com/vim/vim/commit/5b276aa80e112ae1993bd43e28f599f257827c54
|
|
|
vim-patch:8.0.0364: ]s does not move cursor with two spell errors in one line
Problem: ]s does not move cursor with two spell errors in one line. (Manuel
Ortega)
Solution: Don't stop search immediately when wrapped, search the line first.
(Ken Takata) Add a test.
https://github.com/vim/vim/commit/d3f78dc9ebd729475a7f24a50a91112e300d5ac9
* disable spell test for now
|