| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
Problem: ml_get error when calling a function with a range.
Solution: Don't position the cursor after the last line.
https://github.com/vim/vim/commit/9e353b5265bd7fa103caf4e5a9b3c99f344f548e
|
| |
|
|
|
|
| |
Problem: Test_executable fails when there is a dog in the system.
Solution: Rename the dog. (Hirohito Higashi)
https://github.com/vim/vim/commit/a05a0d325c7615439f4a42f00682b2ebad43c8d9
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Windows has "Read and execute" permission via ACL
but nvim and libuv do not support ACL.
Windows does not support the executable bit in chmod-style permissions
but it is safe to assume that if the file exists and is readable,
then it is most likely executable.
This means that win.ini and shell32.dll are "executable"
because they exist, are readable, and are in PATH.
PATHEXT does not affect the executable permission of a file;
it exists to run files on the shell while omitting the file extension.
Assume that PATHEXT is intended for cmd.exe only
because powershell can execute powershell files (ie. *.ps1)
without changing PATHEXT or related cmd.exe environment variable.
In the future, nvim should check the outputs of 'assoc' and 'ftype',
cmd.exe internal commands, or check the registry.
Powershell can be used for ACL if C++/C# API is too difficult to use.
|
| |
|
|
|
|
| |
Problem: MS-Windows: executable() is not reliable.
Solution: Use $PATHEXT properly. (Yasuhiro Matsumoto, closes vim/vim#3412)
https://github.com/vim/vim/commit/8295666dc2c65e42135b91d5c61e2a140d002333
|
| |
|
|
|
|
| |
Problem: resolve() was not tested with a symlink cycle.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3513)
https://github.com/vim/vim/commit/261099070940fb64d4633a766ae3510fffe4171d
|
| |
|
|
|
|
| |
Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'.
Solution: Fix off-by-one error. (Shane Harper, closes vim/vim#3351)
https://github.com/vim/vim/commit/c26f7c60532a37a2bf0a5e69aa81081b440dfc38
|
| |
|
|
|
|
| |
Problem: Trimming white space is not that easy.
Solution: Add the trim() function. (Bukn, closes vim/vim#1280)
https://github.com/vim/vim/commit/295ac5ab5e840af6051bed5ec9d9acc3c73445de
|
| |
|
|
|
|
| |
Problem: No test for pathshorten().
Solution: Add a test. (Dominique Pelle, closes vim/vim#3295)
https://github.com/vim/vim/commit/bfde0b482d25db43e9fc5a35c771b859b1eb8828
|
| |
|
|
|
|
| |
Problem: inputlist() is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3240)
https://github.com/vim/vim/commit/947b39e761b8a95cc1bd37ad0c2c30552238809a
|
| |
|
|
|
|
| |
Problem: No test for strwidth().
Solution: Add a test. (Dominique Pelle, closes vim/vim#2931)
https://github.com/vim/vim/commit/42ab17b8e32352210c4e273a4a4161a287d2c159
|
| |
|
|
|
|
| |
Problem: Accessing invalid memory with overlong byte sequence.
Solution: Check for NUL character. (test by Dominique Pelle, closes vim/vim#2485)
https://github.com/vim/vim/commit/e6640ad44e2186bd3642b972115496d347cd1fdd
|
| |
|
|
|
|
| |
Problem: Hang when using count() with an empty string.
Solution: Return zero for an empty string. (Dominique Pelle, closes vim/vim#2465)
https://github.com/vim/vim/commit/338e47fdfdf0d918dae50a5cbf0cf4f7be45b4f0
|
| |
|
|
|
|
| |
Problem: match() and matchend() are not tested.
Solution: Add tests. (Ozaki Kiichi, closes vim/vim#2088)
https://github.com/vim/vim/commit/1190cf68e27a123cf9f6fb57897782a3b9f7b810
|
| |
|
|
|
|
|
| |
Problem: The script to check translations fails if there is more than one
NL in one line.
Solution: Count the number of NL characters. Make count() accept a string.
https://github.com/vim/vim/commit/9966b21a57277986217aa28237d6c247ebd060d7
|
| |
|
|
|
|
|
| |
Problem: Saving the redo buffer only works one time, resulting in the "."
command not working well for a function call inside another
function call. (Ingo Karkat)
Solution: Save the redo buffer at every user function call. (closes vim/vim#1619)
https://github.com/vim/vim/commit/d4863aa99e0527e9505c79cbeafc68a6832200bf
|
| |
|
|
|
|
| |
Problem: The mode test may hang in Test_mode(). (Michael Soyka)
Solution: Set 'complete' to only search the current buffer (as suggested by
Michael)
https://github.com/vim/vim/commit/ffea8c99d9658b0b51a848a6f674851851e78fa7
|
| |
|
|
|
|
|
| |
Problem: shellescape() always escapes a newline, which does not work with
some shells. (Harm te Hennepe)
Solution: Only escape a newline when the "special" argument is non-zero.
(Christian Brabandt, closes vim/vim#1590)
https://github.com/vim/vim/commit/206155280def51160a9d81d983aed639015ffb44
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: mode() not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/e971df39a5aac5d9b7e8033247dc18b12daa0eb8
|
| |
|
|
|
|
|
|
|
| |
Problem: The return value of mode() does not indicate that completion is
active in Replace and Insert mode. (Zhen-Huan (Kenny) Hu)
Solution: Add "c" or "x" for two kinds of completion. (Yegappan Lakshmanan,
closes vim/vim#1397) Test some more modes.
https://github.com/vim/vim/commit/e90858d0229444b3cd16b1cd3a8d61a24c435705
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: When making a character lower case with tolower() changes the byte
cound, it is not made lower case.
Solution: Add strlow_save(). (Dominique Pelle, closes vim/vim#1406)
https://github.com/vim/vim/commit/cc5b22b3bfdc0e9e835cf7871166badda31447bd
Join almost identical strup_save and strlow_save functions to one
Function.
|
|
|
Problem: The setbufvar() function may mess up the window layout. (Kay Z.)
Solution: Do not check the window to be valid if it is NULL.
https://github.com/vim/vim/commit/2c90d51123fba44a90e09aa4a4f2b7d972dadb94
|