aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* vim-patch:8.1.0504: when CTRL-C is mapped it triggers InsertLeave (#9192)Jan Edmund Lazo2018-11-03
| | | | | Problem: When CTRL-C is mapped it triggers InsertLeave. Solution: Make CTRL-C behave the same way when typed or used in a mapping. https://github.com/vim/vim/commit/4dbc2627641a6b950c30c31cbf7b7e6c36da1927
* vim-patch:8.0.1766: expanding abbreviation doesn't workJan Edmund Lazo2018-11-01
| | | | | | | Problem: Expanding abbreviation doesn't work. (Tooth Pik) Solution: Return OK instead of FALSE and FAIL instead of TRUE. (Christian Brabandt) https://github.com/vim/vim/commit/c3c3e698966fac86dee94799b70947defb85440d
* test/old: Test_BufReadCmdHelp: generate helptagsJustin M. Keyes2018-11-01
| | | | | | | | | Generate helptags before :help. This only failed in the TSAN build because other builds run the Lua tests first, which generate the helptags. closes #8824
* test/old: force "-i viminfo" in $RUN_VIMTEST #9175 (#9175)Justin M. Keyes2018-10-31
| | | | | | | | | | | Before this change, some tests fail if the user has a local shada/viminfo in the default $HOME location. For example: TEST_FILE=test_marks.res make oldtest Ostensibly this change should not be necessary, because of this statement in runtest.vim: set viminfo+=nviminfo
* test/old: test_startup: fix "-u NONE" argJustin M. Keyes2018-10-30
| | | | | Lack of whitespace caused a file named "NONE-u" to be created (because GetVimCommand() returns a command ending with "-i NONE").
* vim-patch:8.0.1553: find digraph to insert a character #8190lokesh11972018-10-30
| | | | | | | | Problem: Cannot see what digraph is used to insert a character. Solution: Show the digraph with the "ga" command. (Christian Brabandt) https://github.com/vim/vim/commit/5f73ef8d20070cd45c9aea4dc33c2e0657f5515c close #8190
* vim-patch:8.1.0498: /etc/gitconfig not recognized at a gitconfig fileJan Edmund Lazo2018-10-27
| | | | | | Problem: /etc/gitconfig not recognized at a gitconfig file. Solution: Add pattern to filetype detection. (closes vim/vim#3568) https://github.com/vim/vim/commit/d474686a09ef3f7529e65abe00cf8cd2ea8a95eb
* vim-patch:8.1.0484: some file types are not recognizedJan Edmund Lazo2018-10-27
| | | | | | Problem: Some file types are not recognized. Solution: Update the file type detection. https://github.com/vim/vim/commit/38654503b04dd5ff4813f81892d9f62db1ff01b9
* vim-patch:8.0.1465: python2 and python3 detection not testedJan Edmund Lazo2018-10-27
| | | | | | | Problem: Python2 and python3 detection not tested. (Matej Cepl) Solution: Add test for detecting python2 and python3. Also detect a script using "js" as javascript. https://github.com/vim/vim/commit/4bc0bed53695ac67db8d601f2a15e48e7a196688
* vim-patch:8.0.1458: filetype detection test does not check all scriptsJan Edmund Lazo2018-10-27
| | | | | | Problem: Filetype detection test does not check all scripts. Solution: Add most scripts to the test https://github.com/vim/vim/commit/ddb349369d107c14fad9c38baf2f0e2b8514fbf0
* vim-patch:8.0.1438: filetype detection test not updated for changeJan Edmund Lazo2018-10-27
| | | | | | Problem: Filetype detection test not updated for change. Solution: Update the test. https://github.com/vim/vim/commit/0479e910c423d71e2b96bc721feffad5808e767a
* Merge #9086 'vim-patch:8.1.0448'Justin M. Keyes2018-10-18
|\
| * test/old: stub CanRunVimInTerminal()Justin M. Keyes2018-10-16
| |
| * vim-patch:8.1.0448: cursorline not removed when using 'cursorbind'Justin M. Keyes2018-10-16
| | | | | | | | | | | | Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes) Solution: Store the last cursor line per window. (closes vim/vim#3488) https://github.com/vim/vim/commit/4a5abbd6138240d109278fe1f0b45489d22f712d
* | Merge #9124 'vim-patch:8.0.1672'Justin M. Keyes2018-10-17
|\ \
| * | vim-patch:8.0.1672: error during completion causes command to be cancelledJan Edmund Lazo2018-10-13
| | | | | | | | | | | | | | | | | | Problem: Error during completion causes command to be cancelled. Solution: Reset did_emsg before waiting for another character. (Tom M.) https://github.com/vim/vim/commit/72532d354e699f1cceec34c0b08e1de4d3ea9641
* | | vim-patch:8.0.1067: try/catch in timer does not prevent it from being stoppedJan Edmund Lazo2018-10-16
| | | | | | | | | | | | | | | | | | | | | Problem: Using try/catch in timer does not prevent it from being stopped. Solution: Reset the exception context and use did_emsg instead of called_emsg. https://github.com/vim/vim/commit/e723c42836d971180d1bf9f98916966c5543fff1
* | | vim-patch:8.0.0670: can't use input() in a timer callbackJan Edmund Lazo2018-10-15
| |/ |/| | | | | | | | | | | Problem: Can't use input() in a timer callback. (Cosmin Popescu) Solution: Reset vgetc_busy and set timer_busy. (Ozaki Kiichi, closes vim/vim#1790, closes vim/vim#1129) https://github.com/vim/vim/commit/1e8e14552e0cc8881411eb8fbe39a654dae42554
* | vim-patch:8.1.0476: memory leaks in test_escaped_glob (#9127)Jan Edmund Lazo2018-10-14
|/ | | | | Problem: Memory leaks in test_escaped_glob. Solution: Avoid failure when running the shell, use the sandbox. https://github.com/vim/vim/commit/a2aad028305c306ecf33e0fd720fe1ed98596371
* test: adjust timer testsJustin M. Keyes2018-10-13
| | | | | Timer tests are less reliable on Travis CI macOS 10.12 (most egregious). Also somewhat on 10.13.
* signs: Add "numhl" argument #9113Reto Schnyder2018-10-13
| | | | | close #9113 ref #9040
* Merge pull request #8968 from ckelsel/vim-8.0.0685James McCoy2018-10-12
|\ | | | | [RFC] vim-patch:8.0.0685
| * vim-patch:8.0.0685: when conversion fails written file may be truncatedckelsel2018-10-12
| | | | | | | | | | | | | | | | 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
* | vim-patch:8.0.1489: there is no easy way to get the global directory (#9109)Jan Edmund Lazo2018-10-12
|/ | | | | | | 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
* vim-patch:8.0.1837: one character cmdline abbreviation not triggered after '<,'>Jan Edmund Lazo2018-10-10
| | | | | | 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
* vim-patch:8.1.0468: MS-Windows: filter command with pipe character fails (#9101)Jan Edmund Lazo2018-10-10
| | | | | | | 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
* vim-patch:8.0.1423: error in return not caught by try/catchJan Edmund Lazo2018-10-09
| | | | | | 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
* vim-patch:8.0.1779: deleting in a block selection causes problems (#9099)Jan Edmund Lazo2018-10-09
| | | | | | 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
* vim-patch:8.1.0459: Test_executable fails when there is a dog in the systemJan Edmund Lazo2018-10-08
| | | | | | 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
* oldtests: win: fix executable() assertionsJan Edmund Lazo2018-10-08
| | | | | | | | | | | | | | | | | | | | 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.
* vim-patch:8.1.0453: MS-Windows: executable() is not reliableJan Edmund Lazo2018-10-07
| | | | | | Problem: MS-Windows: executable() is not reliable. Solution: Use $PATHEXT properly. (Yasuhiro Matsumoto, closes vim/vim#3412) https://github.com/vim/vim/commit/8295666dc2c65e42135b91d5c61e2a140d002333
* vim-patch:8.1.0454: resolve() was not tested with a symlink cycleJan Edmund Lazo2018-10-06
| | | | | | 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
* vim-patch:8.0.1807: function to set terminal name is too longJan Edmund Lazo2018-10-06
| | | | | | Problem: Function to set terminal name is too long. Solution: Refactor the function. Fix typo in test. https://github.com/vim/vim/commit/69e056915c4145b7b64c60963797692a5b293561
* vim-patch:8.1.0440: remove() with a range not sufficiently tested (#9076)Jan Edmund Lazo2018-10-04
| | | | | 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
* vim-patch:8.1.0047: no completion for :unlet $VARJan Edmund Lazo2018-10-02
| | | | | | Problem: No completion for :unlet $VAR. Solution: Add completion. (Jason Franklin) https://github.com/vim/vim/commit/19834010889fc5bfa0f88b3ba83133dae6c0a35d
* vim-patch:8.0.1832: cannot use :unlet for an environment variableJan Edmund Lazo2018-10-02
| | | | | | | 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
* vim-patch:8.1.0416: sort doesn't report deleted lines (#9062)Jan Edmund Lazo2018-09-28
| | | | | Problem: Sort doesn't report deleted lines. Solution: Call msgmore(). (Christian Brabandt, closes vim/vim#3454) https://github.com/vim/vim/commit/b0e982bf05feb27eddb5f809b052c1137f4d4add
* vim-patch:8.1.0120: buffer 'modified' set even when :sort has no changesJan Edmund Lazo2018-09-26
| | | | | | 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
* vim-patch:8.1.0428: the :suspend command is not tested (#9043)Jan Edmund Lazo2018-09-24
| | | | | Problem: The :suspend command is not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#3472) https://github.com/vim/vim/commit/3b30168f04b8a2a2f1bbaa2f90be546550463146
* vim-patch:8.1.0429: no test for :lcd with 'shellslash' (#9041)Daniel Hahler2018-09-23
| | | | | | | | 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
* vim-patch:8.0.1557: printf() does not work with only one argument (#9038)Daniel Hahler2018-09-23
| | | | | 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
* vim-patch:8.1.0389: :behave command is not tested (#9030)Jan Edmund Lazo2018-09-23
| | | | | Problem: :behave command is not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#3429) https://github.com/vim/vim/commit/da1f71d75f0bf5d5ef876a09aa08fb19f6f24b3b
* vim-patch:8.0.0370: invalid memory access when setting wildchar emptyJan Edmund Lazo2018-09-23
| | | | | | | | 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
* vim-patch:8.0.0368: not all options are tested with a range of valuesJan Edmund Lazo2018-09-22
| | | | | | 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
* test/old: test_options: Accommodate Nvim defaultJustin M. Keyes2018-09-21
|
* vim-patch:8.1.0310: file info msg with 'F' in 'shortmess'Justin M. Keyes2018-09-21
| | | | | | | | | | 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
* vim-patch:8.0.0682: no test for synIDtrans() (#8966)KunMing Xie2018-09-21
| | | | | Problem: No test for synIDtrans(). Solution: Add a test. (Dominique Pelle, closes vim/vim#1796) https://github.com/vim/vim/commit/0b2eef24bcbe2c85c90bbde914a1782cbedc5c72
* vim-patch:8.0.1417: test doesn't search for a sentenceJan Edmund Lazo2018-09-16
| | | | | | | 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
* vim-patch:8.0.1416: crash when searching for a sentenceJan Edmund Lazo2018-09-16
| | | | | | 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
* oldtests: set nrformats to Vim defaultJan Edmund Lazo2018-09-16
|