aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* vim-patch:8.1.0327: the "g CTRL-G" command isn't tested much (#8914)Jan Edmund Lazo2018-08-26
| | | | | Problem: The "g CTRL-G" command isn't tested much. Solution: Add more tests. (Dominique Pelle, closes vim/vim#3369) https://github.com/vim/vim/commit/0529583ff144e2cb8fb57fe61a86997310bd7727
* src/nvim/testdir/Makefile: define NEW_TESTS automatically (#8909)Daniel Hahler2018-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids having to maintain this manually. Tried to bring this upstream to Vim, but it does not work with non-GNU make apparently in an easy way (https://github.com/vim/vim/pull/3376). For Neovim GNU make can be used for this apparently. diff (generated via): $(shell printf '%s\n' $(NEW_TESTS) > 1) $(shell printf '%s\n' $(NEW_TESTS2) > 2) $(error $(shell echo $(NEW_TESTS) | wc -c) $(shell echo $(NEW_TESTS2) | wc -c)) Changes: - Removed, already included in test_alot: - test_changedtick.res - test_filter_map.res - test_findfile.res - test_ga.res - test_lambda.res - test_put.res - test_recover.res - test_tabpage.res - Added (apparently forgotten to be added to NEW_TESTS): - test_breakindent.res: added in 49b671f8f - test_display.res: added in a0c7e35ee - test_help.res, added in 41bffeacf - test_lispwords.res, added in 54b9510e0 - test_textformat.res, added in ef39f854d
* Merge #8894 from janlazo/editorconfig-makefileJustin M. Keyes2018-08-24
|\
| * oldtests: reindent Makefile to 8-width tabJan Edmund Lazo2018-08-23
| |
* | vim-patch:8.1.0083: "is" and "as" have trouble with quoted punctuationJan Edmund Lazo2018-08-23
|/ | | | | | Problem: "is" and "as" have trouble with quoted punctuation. Solution: Check for punctuation before a quote. (Jason Franklin) https://github.com/vim/vim/commit/8516071124dbb7ad7caa43cc98ae3c57ae093c9e
* vim-patch:8.0.1682: auto indenting breaks inserting a block (#8892)Jan Edmund Lazo2018-08-23
| | | | | | Problem: Auto indenting breaks inserting a block. Solution: Do not check for cursor movement if indent was changed. (Christian Brabandt, closes vim/vim#2778) https://github.com/vim/vim/commit/8c87a2b1fec85e4aac33f71586ac1514536fc66b
* Merge pull request #8887 from janlazo/vim-8.0.1242James McCoy2018-08-23
|\ | | | | [RDY] vim-patch:8.0.1242
| * vim-patch:8.0.1242: function argument with only dash is seen as number zeroJan Edmund Lazo2018-08-22
| | | | | | | | | | | | | | Problem: Function argument with only dash is seen as number zero. (Wang Shidong) Solution: See a dash as a string. (Christian Brabandt) https://github.com/vim/vim/commit/ffd99f729bd806e09d9355ede9c17780b61057bf
* | vim-patch:8.0.1041: bogus characters when indenting during visual-block appendJan Edmund Lazo2018-08-23
| | | | | | | | | | | | | | Problem: Bogus characters appear when indenting kicks in while doing a visual-block append. Solution: Recompute when indenting is done. (Christian Brabandt) https://github.com/vim/vim/commit/e2e69e48134cbfdedea7802810932f8592705024
* | vim-patch:8.0.0999: indenting raw C++ strings is wrongJan Edmund Lazo2018-08-23
| | | | | | | | | | | | Problem: Indenting raw C++ strings is wrong. Solution: Add special handling of raw strings. (Christian Brabandt) https://github.com/vim/vim/commit/dde81312b031211752d1fcb8539d79f90f324a2e
* | vim-patch:8.0.1151: "vim -c startinsert!" doesn't append (#8886)Jan Edmund Lazo2018-08-22
|/ | | | | Problem: "vim -c startinsert!" doesn't append. Solution: Correct line number on startup. (Christian Brabandt, closes vim/vim#2117) https://github.com/vim/vim/commit/09ca932f8e7d63a83b39baa7c03d4c6145e3baab
* Merge #8880 from janlazo/vim-8.0.1331Justin M. Keyes2018-08-22
|\
| * vim-patch:8.0.1790: 'winfixwidth' is not always respected by :closeJan Edmund Lazo2018-08-21
| | | | | | | | | | | | | | Problem: 'winfixwidth' is not always respected by :close. Solution: Prefer a frame without 'winfixwidth' or 'winfixheight'. (Jason Franklin) https://github.com/vim/vim/commit/c136af29c0b1939076fbae7d36afd90dce740315
| * vim-patch:8.0.1426: "gf" and <cfile> don't accept ? and & in URLJan Edmund Lazo2018-08-21
| | | | | | | | | | | | Problem: "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok) Solution: Check for a URL and allow for extra characters. (closes vim/vim#2493) https://github.com/vim/vim/commit/9e3dfc650190e96739abc004eb9948afa68136b4
* | vim-patch:8.1.0303: line2byte() is wrong for last line with 'noeol'Jan Edmund Lazo2018-08-21
|/ | | | | | 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
* Merge #8877 from janlazo/vim-8.0.1441Justin M. Keyes2018-08-21
|\
| * vim-patch:8.0.1441: using ":undo 0" leaves undo in wrong stateJan Edmund Lazo2018-08-20
| | | | | | | | | | | | | | Problem: Using ":undo 0" leaves undo in wrong state. Solution: Instead of searching for state 1 and go above, just use the start. (Ozaki Kiichi, closes vim/vim#2595) https://github.com/vim/vim/commit/ce46d934af35d0f774be7f996001db03cf0b894a
* | vim-patch:8.1.0110: file name not displayed with ":file" (#8878)Justin M. Keyes2018-08-21
| | | | | | | | | | | | | | | | | | Problem: File name not displayed with ":file" when 'F' is in 'shortmess'. Solution: Always display the file name when there is no argument (Christian Brabandt, closes vim/vim#3070) https://github.com/vim/vim/commit/fc0896093c3b3e753859a5f929921933e7a2e6cd closes #8817 closes #8873
* | Merge #8861 from janlazo/vim-8.0.1364Justin M. Keyes2018-08-21
|\ \ | |/ |/|
| * vim-patch:8.0.1509: test for failing drag-n-drop command no longer failsJan Edmund Lazo2018-08-16
| | | | | | | | | | | | Problem: Test for failing drag-n-drop command no longer fails. Solution: Check for the "dnd" feature. https://github.com/vim/vim/commit/294959528e02403cd7ef6541208835f0c621c63b
| * vim-patch:8.0.1508: the :drop command is not always availableJan Edmund Lazo2018-08-16
| | | | | | | | | | | | Problem: The :drop command is not always available. Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes vim/vim#2639) https://github.com/vim/vim/commit/5a656864a0610547da28e0c8c1649ecd1d782948
| * vim-patch:8.1.0186: test for getwininfo() fails in GUIJan Edmund Lazo2018-08-15
| | | | | | | | | | | | Problem: Test for getwininfo() fails in GUI. Solution: Account for missing tabline. https://github.com/vim/vim/commit/44a693a1bdfe987edb649677c94c214f94b2aada
| * vim-patch:8.1.0184: not easy to figure out the window layoutJan Edmund Lazo2018-08-15
| | | | | | | | | | | | Problem: Not easy to figure out the window layout. Solution: Add "wincol" and "winrow" to what getwininfo() returns. https://github.com/vim/vim/commit/b6959a8e06cef6d2126b030b2f8acd49457a3582
| * vim-patch:8.0.1364: there is no easy way to get the window positionJan Edmund Lazo2018-08-15
| | | | | | | | | | | | Problem: There is no easy way to get the window position. Solution: Add win_screenpos(). https://github.com/vim/vim/commit/22044dc31788d9f1c2da7725269884d9923b4795
* | Merge #8866 from janlazo/vim-8.0.0878Justin M. Keyes2018-08-20
|\ \
| * | vim-patch:8.0.1418: no test for expanding backticksJan Edmund Lazo2018-08-18
| | | | | | | | | | | | | | | | | | Problem: No test for expanding backticks. Solution: Add a test. (Dominique Pelle, closes vim/vim#2479) https://github.com/vim/vim/commit/ae6f8651251013bafef9de1aed09069deaae8122
| * | vim-patch:8.0.1090: cannot get the text under the cursor like v:beval_textJan Edmund Lazo2018-08-17
| | | | | | | | | | | | | | | | | | Problem: cannot get the text under the cursor like v:beval_text Solution: Add <cexpr>. https://github.com/vim/vim/commit/65f084749b260746d7f186af4f080298be2df55b
| * | vim-patch:8.0.1787: cannot insert the whole cursor lineJan Edmund Lazo2018-08-16
| | | | | | | | | | | | | | | | | | Problem: Cannot insert the whole cursor line. Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes vim/vim#2857) https://github.com/vim/vim/commit/e2c8d8392684a940cc5608acc73ff47486bd7b92
| * | vim-patch:8.1.0101: no test for getcmdwintype()Jan Edmund Lazo2018-08-16
| | | | | | | | | | | | | | | | | | Problem: No test for getcmdwintype(). Solution: Add a test. (Dominique Pelle, closes vim/vim#3068) https://github.com/vim/vim/commit/81612b7a7dc50a6c0da9f42fa48f1f576a4ad616
| * | vim-patch:8.0.1816: no test for setcmdpos()Jan Edmund Lazo2018-08-16
| | | | | | | | | | | | | | | | | | Problem: No test for setcmdpos(). Solution: Add a test. (Dominique Pelle, closes vim/vim#2901) https://github.com/vim/vim/commit/ff3be4fe1e2e723de48b826cb992c798e296c41e
| * | vim-patch:8.0.1649: no completion for argument list commandsJan Edmund Lazo2018-08-16
| | | | | | | | | | | | | | | | | | Problem: No completion for argument list commands. Solution: Add arglist completion. (Yegappan Lakshmanan, closes vim/vim#2706) https://github.com/vim/vim/commit/cd43effecab02c6c28b1c4a3a14f91b8c3f26c0d
| * | vim-patch:8.0.1231: expanding file name drops dashJan Edmund Lazo2018-08-16
| | | | | | | | | | | | | | | | | | Problem: Expanding file name drops dash. (stucki) Solution: Use the right position. (Christian Brabandt, closes vim/vim#2184) https://github.com/vim/vim/commit/c312b8b87a589ed8452dbf0f555f05ff86d04692
| * | vim-patch:8.0.0878: no completion for :mapclearJan Edmund Lazo2018-08-16
| |/ | | | | | | | | | | Problem: No completion for :mapclear. Solution: Add completion (Nobuhiro Takasaki et al. closes vim/vim#1943) https://github.com/vim/vim/commit/cae92dc3d5bdd4009910671328cd01394bfbe2cf
* | vim-patch:8.1.0290: "cit" on an empty HTML tag changes the whole tagJan Edmund Lazo2018-08-20
| | | | | | | | | | | | | | Problem: "cit" on an empty HTML tag changes the whole tag. Solution: Only adjust the area in Visual mode. (Andy Massimino, closes vim/vim#3332) https://github.com/vim/vim/commit/b476cb7d8d1a8c02409f110dea8b166aa9334e18
* | vim-patch:8.0.1486: accessing invalid memory with "it"Jan Edmund Lazo2018-08-20
| | | | | | | | | | | | | | Problem: Accessing invalid memory with "it". (Dominique Pelle) Solution: Avoid going over the end of the line. (Christian Brabandt, closes vim/vim#2532) https://github.com/vim/vim/commit/82846a00ac0c135946c93c48c1657018a5c96b11
* | vim-patch:8.1.0018: using "gn" may select wrong text when wrappingJan Edmund Lazo2018-08-19
| | | | | | | | | | | | Problem: Using "gn" may select wrong text when wrapping. Solution: Avoid wrapping when searching forward. (Christian Brabandt) https://github.com/vim/vim/commit/bdb657924d73c98b0ab28411749571e893b699a9
* | vim-patch:8.0.1148: gN doesn't work on last match with 'wrapscan' offJan Edmund Lazo2018-08-19
| | | | | | | | | | | | Problem: "gN" doesn't work on last match with 'wrapscan' off. (fcpg) Solution: Adjust for searching backward. (Christian Brabandt) https://github.com/vim/vim/commit/22ab547dc281092d6a9d397db712a11733c38e97
* | vim-patch:8.0.0762: ml_get error with :psearch in buffer without a nameJan Edmund Lazo2018-08-18
|/ | | | | | | | Problem: ml_get error with :psearch in buffer without a name. (Dominique Pelle) Solution: Use the buffer number instead of the file name. Check the cursor position. https://github.com/vim/vim/commit/c31f9ae4f1976544522313b182957793063ee02c
* Merge #8852 from janlazo/vim-8.1.0161Justin M. Keyes2018-08-15
|\
| * oldtests: win: a directory is not executableJan Edmund Lazo2018-08-13
| | | | | | | | Tests in 'test/functional/core/job_spec.lua' depend on this behavior.
| * vim-patch:8.1.0262: not enough testing for getftype()Jan Edmund Lazo2018-08-13
| | | | | | | | | | | | Problem: Not enough testing for getftype(). Solution: Add a test. (Dominique Pelle, closes vim/vim#3300) https://github.com/vim/vim/commit/1598f9937a18c056d7b713dc254325c8f8456c8f
| * vim-patch:8.0.1630: trimming white space is not that easyJan Edmund Lazo2018-08-13
| | | | | | | | | | | | 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
| * vim-patch:8.1.0161: buffer not updated with 'autoread' set if file was deletedJan Edmund Lazo2018-08-13
| | | | | | | | | | | | | | | | | | Problem: Buffer not updated with 'autoread' set if file was deleted. (Michael Naumann) Solution: Don't set the timestamp to zero. (closes vim/vim#3165) https://github.com/vim/vim/commit/386bc82a3f82f70bad75aaad74dba57a176b5840 Sleep 2 seconds for autoread (https://github.com/neovim/neovim/pull/7592).
* | vim-patch:8.0.1633: a TextChanged autocmd triggers when it is definedJan Edmund Lazo2018-08-15
| | | | | | | | | | | | | | | | Problem: A TextChanged autocmd triggers when it is defined after creating a buffer. Solution: Set b_last_changedtick when opening a buffer. (Hirohito Highlight, closes vim/vim#2742) https://github.com/vim/vim/commit/8c64a36e40b8746404f7151abe6849393396af10
* | vim-patch:8.0.1413: accessing freed memory in :cbufferJan Edmund Lazo2018-08-15
| | | | | | | | | | | | Problem: Accessing freed memory in :cbuffer. Solution: Get quickfix list after executing autocmds. (closes vim/vim#2470) https://github.com/vim/vim/commit/aaf6e43b7a99cedb89d73ba749a46f7a0f16bbb6
* | oldtests: finish port of 8.0.1224Jan Edmund Lazo2018-08-15
| |
* | vim-patch:8.0.1409: buffer overflow in :tags commandJan Edmund Lazo2018-08-15
| | | | | | | | | | | | | | Problem: Buffer overflow in :tags command. Solution: Use vim_snprintf(). (Dominique Pelle, closes vim/vim#2471, closes vim/vim#2475) Add a test. https://github.com/vim/vim/commit/132f75255ecea17ff621f71236568c5d8d8e0163
* | vim-patch:8.0.1488: emacs tags no longer workJan Edmund Lazo2018-08-15
| | | | | | | | | | | | Problem: Emacs tags no longer work. (zdohnal) Solution: Do not skip over end of line. https://github.com/vim/vim/commit/0d2073773218736e368786f0db7024bd9b9e7912
* | vim-patch:8.0.1218: writing to freed memory in autocmdJan Edmund Lazo2018-08-15
| | | | | | | | | | | | Problem: Writing to freed memory in autocmd. Solution: Make a copy of the tag line. (Dominique Pelle, closes vim/vim#2245) https://github.com/vim/vim/commit/8d84ff1a3c8cfe59399d3f675ec080066582fdb6
* | vim-patch:8.0.1209: still too many old style testsJan Edmund Lazo2018-08-15
| | | | | | | | | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2230) https://github.com/vim/vim/commit/53f0c962394dc6bc66d5b0762af9434e672d1b25