| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
close #9113
ref #9040
|
| |\
| |
| | |
[RFC] vim-patch:8.0.0685
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: When making backups is disabled and conversion with iconv fails
the written file is truncated. (Luo Chen)
Solution: First try converting the file and write the file only when it did
not fail. (partly by Christian Brabandt)
https://github.com/vim/vim/commit/e6bf655bc4de1b7f4586e1f5c2fc4978141c3aa3
|
| |/
|
|
|
|
|
| |
Problem: There is no easy way to get the global directory, esp. if some
windows have a local directory.
Solution: Make getcwd(-1) return the global directory. (Andy Massimino,
closes vim/vim#2606)
https://github.com/vim/vim/commit/5459129af2a832a027a1e7ca2d6177c26647d64f
|
| |
|
|
|
|
| |
Problem: One character cmdline abbreviation not triggered after '<,'>.
Solution: Skip over the special range. (Christian Brabandt, closes vim/vim#2320)
https://github.com/vim/vim/commit/5e3423d192bfa502c6704f731fa2ec6821f9a2f0
|
| |
|
|
|
|
|
| |
Problem: MS-Windows: Filter command with pipe character fails. (Johannes
Riecken)
Solution: Find the pipe character outside of quotes. (Yasuhiro Matsumoto,
closes vim/vim#1743, closes vim/vim#3523)
https://github.com/vim/vim/commit/0664089eccec1083dd04ef2255856fb34ce62f15
|
| |
|
|
|
|
| |
Problem: Error in return not caught by try/catch.
Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes vim/vim#2483)
https://github.com/vim/vim/commit/fabaf753e26df5a89a854673d14c15a1fa6b321a
|
| |
|
|
|
|
| |
Problem: Deleting in a block selection causes problems.
Solution: Check the length of the line before adding bd.textcol and
bd.textlen. (Christian Brabandt, closes vim/vim#2825)
https://github.com/vim/vim/commit/35e802e713382d7e76232ad344af7dcd577e43de
|
| |
|
|
|
|
| |
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: Function to set terminal name is too long.
Solution: Refactor the function. Fix typo in test.
https://github.com/vim/vim/commit/69e056915c4145b7b64c60963797692a5b293561
|
| |
|
|
|
| |
Problem: remove() with a range not sufficiently tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3497)
https://github.com/vim/vim/commit/2bfddfc508bcc8dcee108f098eb75844a228fa44
|
| |
|
|
|
|
| |
Problem: No completion for :unlet $VAR.
Solution: Add completion. (Jason Franklin)
https://github.com/vim/vim/commit/19834010889fc5bfa0f88b3ba83133dae6c0a35d
|
| |
|
|
|
|
|
| |
Problem: Cannot use :unlet for an environment variable.
Solution: Make it work. Use unsetenv() if available.
(Yasuhiro Matsumoto, closes vim/vim#2855)
https://github.com/vim/vim/commit/137374fd6538cf9dee0cb22907728d8fdecb5832
|
| |
|
|
|
| |
Problem: Sort doesn't report deleted lines.
Solution: Call msgmore(). (Christian Brabandt, closes vim/vim#3454)
https://github.com/vim/vim/commit/b0e982bf05feb27eddb5f809b052c1137f4d4add
|
| |
|
|
|
|
| |
Problem: Buffer 'modified' set even when :sort has no changes.
Solution: Only set 'modified' when lines are moved. (Jason Franklin)
https://github.com/vim/vim/commit/dc9e955fb07f410d5d3e981ce18d895dd2847c85
|
| |
|
|
|
| |
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: No test for :lcd with 'shellslash'.
Solution: Add a test. (Daniel Hahler, closes vim/vim#3475)
https://github.com/vim/vim/commit/c75878c923034b883090aef3f08f565513d98f4d
Related NA patch:
vim-patch:8.1.0343
|
| |
|
|
|
| |
Problem: printf() does not work with only one argument. (Daniel Hahler)
Solution: Allow using just the format. (Ken Takata, closes vim/vim#2687)
https://github.com/vim/vim/commit/c71807db9c1821baf86796cd76952df36ff1a29a
|
| |
|
|
|
| |
Problem: :behave command is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3429)
https://github.com/vim/vim/commit/da1f71d75f0bf5d5ef876a09aa08fb19f6f24b3b
|
| |
|
|
|
|
|
|
| |
Problem: Invalid memory access when setting wildchar empty.
Solution: Avoid going over the end of the option value. (Dominique Pelle,
closes vim/vim#1509) Make option test check all number options with
empty value.
https://github.com/vim/vim/commit/a12e40351d1357687e8b5dc3122fffef705bdc08
|
| |
|
|
|
|
| |
Problem: Not all options are tested with a range of values.
Solution: Generate a test script from the source code.
https://github.com/vim/vim/commit/2f5463df014a406a2b780068e341ef30a99c9b98
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Problem: File info message not always suppressed with 'F' in 'shortmess'.
(Asheq Imran)
Solution: Save and restore msg_silent. (Christian Brabandt, closes vim/vim#3221)
https://github.com/vim/vim/commit/2f0f871159b2cba862fcd41edab65b17da75c422
ref #8840
ref #9027
|
| |
|
|
|
| |
Problem: No test for synIDtrans().
Solution: Add a test. (Dominique Pelle, closes vim/vim#1796)
https://github.com/vim/vim/commit/0b2eef24bcbe2c85c90bbde914a1782cbedc5c72
|
| |
|
|
|
|
|
| |
Problem: Test doesn't search for a sentence. Still fails when searching for
start of sentence. (Dominique Pelle)
Solution: Add paren. Check for MAXCOL in dec().
https://github.com/vim/vim/commit/1bd999f982e783219a06e6c8f219df1d53ac7e77
|
| |
|
|
|
|
| |
Problem: Crash when searching for a sentence.
Solution: Return NUL when getting character at MAXCOL. (closes vim/vim#2468)
https://github.com/vim/vim/commit/8ada6aa9298b4764d9ca0024dd21b17e815595ce
|
| | |
|
| |
|
|
|
|
| |
Problem: CTRL-A does not work with an empty line. (Alex)
Solution: Decrement the end only once. (Hirohito Higashi, closes vim/vim#2387)
https://github.com/vim/vim/commit/5fe6bdf858a7f2f288d599ffb5efb3c08449c817
|
| |
|
|
|
|
| |
Problem: Marks test fails in very wide window. (Vladimir Lomov)
Solution: Extend the text to match 'columns'. (closes vim/vim#3180, closes vim/vim#3181)
https://github.com/vim/vim/commit/bde14d8e24f6b8ca409290733dbf11cb6fee5751
|
| |
|
|
|
|
|
| |
Problem: Output of :marks is too short with multi-byte chars. (Tony
Mechelynck)
Solution: Get more bytes from the text line.
https://github.com/vim/vim/commit/9d5185bf9dfaef59e47c573a60044a21d5e29c0c
|
| |
|
|
|
|
| |
Problem: The :marks command is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#2197)
https://github.com/vim/vim/commit/9b69f22e66d51d764e9ade87ae8a57ac13ab7348
|
| |
|
|
|
| |
Problem: When E734 is given option is still set.
Solution: Assign NULL to "s". (Christian Brabandt)
https://github.com/vim/vim/commit/2a6a6c3014e728cd01c750b0f60484d4eaf22a8c
|
| | |
|
| |
|
|
|
|
| |
Problem: Expanding ## fails to escape backtick.
Solution: Escape a backtick in a file name. (closes vim/vim#3257)
https://github.com/vim/vim/commit/2c8c681bfcd5138a0ec8ce018216dc2dc69a11a0
|
| |
|
|
|
|
|
| |
Problem: Cursor not restored with ":edit #".
Solution: Don't assume autocommands moved the cursor when it was moved to
the first non-blank.
https://github.com/vim/vim/commit/adb8fbec4f4059d214fe6acf2485ffd35e803450
|
| |
|
|
|
| |
Problem: 'indentkeys' does not work properly. (Gary Johnson)
Solution: Get the cursor line again. (Christian Brabandt, closes vim/vim#2151)
https://github.com/vim/vim/commit/1b38344e00af65df12946fffda7f3201621c35ef
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Autoload script sources itself when defining function.
Solution: Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro
Matsumoto, closes vim/vim#2423)
https://github.com/vim/vim/commit/3388d334572f9d65a603d09d75e363805d96c5d9
|
| | |
| |
| |
| |
| |
| | |
Problem: Cannot call a dict function in autoloaded dict.
Solution: Call get_lval() passing the read-only flag.
https://github.com/vim/vim/commit/6e65d594aa33be11f6074f26e9ff81b52504c62b
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: After paging up and down fold line is wrong.
Solution: Correct the computation of w_topline and w_botline. (Hirohito
Higashi)
https://github.com/vim/vim/commit/907dad72ef9d29422352fb74ba156e7085a3fc71
|
| | |
| |
| |
| |
| |
| |
| | |
(#8976)
Problem: maparg() and mapcheck() confuse empty and non-existing.
Solution: Return <Nop> for an existing non-empty mapping. (closes vim/vim#2940)
https://github.com/vim/vim/commit/f88a5bc10232cc3fac92dba4e8455f4c14311f8e
|
| |/
|
|
|
|
|
| |
Problem: File names in quickfix window are not always shortened.
Solution: Shorten the file name when opening the quickfix window. (Yegappan
Lakshmanan, closes vim/vim#2851, closes vim/vim#2846)
https://github.com/vim/vim/commit/a796d46f29e3cc235cc981696d7ee80faccb5000
|
| |\ |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Largefile test fails on CI, glob test on MS-Windows.
Solution: Remove largefile test from list of all tests. Don't run
Test_glob() on non-unix systems. More cleanup. (Yegappan
Lakshmanan, closes vim/vim#2354)
https://github.com/vim/vim/commit/6e77df2d8555ade4470e566011603ae40f1f0f3a
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Some tests are old style.
Solution: Change a few tests from old style to new style. (pschuh,
closes vim/vim#1813)
https://github.com/vim/vim/commit/292eff0c5aacb8531d65509679b6c29eae8dc22a
|
| | |
| |
| |
| |
| | |
Problem: Crash when using foldtextresult() recursively.
Solution: Avoid recursive calls. (Yasuhiro Matsumoto, closes vim/vim#2098)
https://github.com/vim/vim/commit/495b7dd213e096361e6f15e7aed313c1d63d9d3e
|