| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Problem: Reloading a script gives errors for existing functions.
Solution: Allow redefining a function once when reloading a script.
https://github.com/vim/vim/commit/ded5f1bed7ff2d138b3ee0f9610d17290b62692d
|
| |
|
|
|
|
|
|
| |
Problem: Ml_get errors after using append(). (Alex Genco)
Solution: Do not update the cursor twice.
https://github.com/vim/vim/commit/d20070274c47668560e02db184e1f8e456c3c326
fix #10847
|
| |
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Revert "oldtests: win: shellslash for cdpath,tags,:find"
This reverts commit 6245b4873d5e24fade9aadadf32645bfb3ebfc31.
* Revert "oldtests: set shellslash for ":cd" test"
This reverts commit eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a.
* Revert "oldtests: set shellslash in Test_shellescape()"
This reverts commit e428fc4b52d986fec0d544e371b05e8c7e18db93.
* Revert "fixup! vim-patch:8.0.1782: no simple way to label quickfix entries"
This reverts commit ac1fbc28601a05cdca19f868449c86b8dd70328c.
* Revert "test/old: pass Test_statusline on Windows"
This reverts commit 6efa3bff09afb0e54ad71278ac60259bf41be286.
* Revert "oldtests: set shellslash for Test_non_zero_arg"
This reverts commit 42e1e2495cc51f659d505bfec8b72905c19e4094.
* Revert "oldtests: set shellslash in Test_true_false_arg()"
This reverts commit 8bd194f98aaf8d79886b78f4bd29f9525c1459c8.
* Remove unnecessary set shellslash
Since #10679 no longer requires individual set shellslash, it is removed.
Co-Authored-By: erw7 <erw7.github@gmail.com>
|
| |
|
| |
- Test_libcall_libcallnr: pass libc name to dlopen.
|
| |
|
|
|
|
|
|
| |
Problem: Exepath() doesn't work for "bin/cat".
Solution: Check for any path separator. (Daniel Hahler, closes vim/vim#4724,
closes vim/vim#4710)
https://github.com/vim/vim/commit/d08b8c4c04db9433340df38d21f0e26878f28421
Fixes https://github.com/neovim/neovim/issues/10554.
|
| |
|
|
|
|
| |
Problem: Bufadd() reuses existing buffer without a name.
Solution: When the name is empty always create a new buffer.
https://github.com/vim/vim/commit/892ae723ab95e429222e930cf41b32809567e58e
|
| |
|
|
|
|
| |
Problem: There is no way to add or load a buffer without side effects.
Solution: Add the bufadd() and bufload() functions.
https://github.com/vim/vim/commit/15e248e37f3925d430f96e945d52d3dc423cdc83
|
| |
|
|
|
|
|
| |
Problem: Some tests fail on Solaris.
Solution: Skip writefile test. Fix path to libc.so. Improve test for Turkish
case change. (Libor Bukata, Bjorn Linse, closes vim/vim#3403)
https://github.com/vim/vim/commit/f1c118be93184e8e57e3e80b1b3383f464ed649e
|
| |
|
|
|
|
| |
Problem: No tests for libcall() and libcallnr().
Solution: Add tests. (Dominique Pelle, closes vim/vim#2982)
https://github.com/vim/vim/commit/1ceebb4efc455dc6c34e0cd2c2adbd00939f038b
|
| |
|
|
|
|
|
| |
Problem: reg_executing() is reset by calling input().
Solution: Implement a more generic way to save and restore reg_executing.
(Ozaki Kiichi, closes vim/vim#4192)
https://github.com/vim/vim/commit/9a2c091a748b380efafe60583698c9afcaab1e46
|
| |
|
|
|
|
|
| |
Problem: A getchar() call while executing a register resets the
reg_executing() result.
Solution: Save and restore reg_executing. (closes vim/vim#406
https://github.com/vim/vim/commit/f0fab3046c2b5c4115979347464a802853011220
|
| |
|
|
|
|
|
|
|
| |
Problem: Cannot tell whether a register is being used for executing or
recording.
Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi,
closes vim/vim#2745) Rename the global variables for consistency. Store
the register name in reg_executing.
https://github.com/vim/vim/commit/0b6d911e5de1a1c10a23d4c2ee1b0275c474a2dd
|
| | |
|
| |
|
|
|
| |
Problem: MS-Windows: executable() fails on very long filename.
Solution: (Ken Takata, closes vim/vim#4015)
https://github.com/vim/vim/commit/8662189736e6cefb3fe852728adb5341f83973cf
|
| |
|
|
|
|
| |
Problem: Function defined in sandbox not tested.
Solution: Add a text.
https://github.com/vim/vim/commit/d90a144eda047816acffc7a8f297b43a7120710e
|
| |
|
|
| |
Value of "&shell" does not affect "shellescape()".
|
| |
|
|
|
|
|
| |
(#9644)
Problem: Mode() does not indicate using CTRL-O from Insert mode.
Solution: Add "niI", "niR" and "niV" to mode() result. (closes vim/vim#3000)
https://github.com/vim/vim/commit/612cc3888b136e80485132d9f997ed457dbc5501
|
| |
|
|
|
| |
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
|