aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | | | api: clarify difference between win_hide and win_closeCorey Williamson2021-03-10
| | | | | |
| * | | | | api: add vim.api.nvim_win_hideCorey Williamson2021-03-09
| | | | | |
* | | | | | test/old: skip Test_strptime() on WindowsJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | POSIX strptime does not exist in Windows. There is a C++ workaround but I don't know how to use it. Julia ported BSD's "strptime()" but I can't compile the file or embed the relevant code into src/nvim/os/time.c I cannot use "#ifdef" in eval.lua because of function hashing. "#ifdef" is required to point "strptime()" to NULL such that "CheckFunction strptime" fails.
* | | | | | vim-patch:8.2.0949: strptime() does not use DSTJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Strptime() does not use DST. Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes vim/vim#6230) https://github.com/vim/vim/commit/ea1233fccf4f52f2b4eaab3788a087878d1336fc
* | | | | | vim-patch:8.1.2398: strptime() test fails on Japanese MacJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: strptime() test fails on Japanese Mac. Solution: Use %T instead of %X. https://github.com/vim/vim/commit/9a838fe543b69582b0773f7c38a57f16fb32d765
* | | | | | vim-patch:8.1.2326: cannot parse a date/time stringJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot parse a date/time string. Solution: Add strptime(). (Stephen Wall, closes #) https://github.com/vim/vim/commit/10455d43fef041309ce0613fa792c635dd71e3a8 N/A patches for version.c: vim-patch:8.1.2344: Cygwin: warning for using strptime() Problem: Cygwin: warning for using strptime(). Solution: Move defining _XOPEN_SOURCE and __USE_XOPEN to vim.h. (Ken Takata, closes vim/vim#5265) Use 700 for _XOPEN_SOURCE for mkdtemp(). https://github.com/vim/vim/commit/6a228c6463935a73c8f21142cb7368545cfee317
* | | | | | vim-patch:8.2.1666: the initial value of 'backupskip' can have duplicate itemsJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The initial value of 'backupskip' can have duplicate items. Solution: Remove duplicates, like when it is set later. (Tom Ryder, closes vim/vim#6940) https://github.com/vim/vim/commit/b00ef0508b22905379953a164bdb4300015d3705
* | | | | | vim-patch:8.2.2662: there is no way to avoid some escape sequencesJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: There is no way to avoid some escape sequences. Solution: Suppress escape sequences when the --not-a-term argument is used. (Gary Johnson) https://github.com/vim/vim/commit/7007e31bde75b6360a1b54c7572e4f855458f37d "Test_not_a_term" passes because Neovim does not support "--not-a-term" flag.
* | | | | | test/old: run some tests from test_listlbr.vimJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | These tests pass without 'set encoding=latin1'.
* | | | | | test/old: test_eval_func was removedJan Edmund Lazo2021-03-27
| | | | | |
* | | | | | test/old: do not special-case test_autochdirJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use "CheckFunction" for standard error message for missing "test_autochdir()". Sync test_autochdir.vim to the latest Vim commit because porting Vim patches for this file modify other files and are too tedious to port.
* | | | | | test/old: use CheckFunction, enable more testsJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some skipped tests have custom error messages. Use ":CheckFunction" command for standard error message on missing function.
* | | | | | vim-patch:8.2.2045: highlighting a character too much with incsearchJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Highlighting a character too much with incsearch. Solution: Check "search_match_endcol". (Christian Brabandt, closes vim/vim#7360) https://github.com/vim/vim/commit/448465e6872905967c97a56cd45307530795653c
* | | | | | vim-patch:8.2.2659: eval test fails because for loop on string worksJan Edmund Lazo2021-03-26
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | Problem: Eval test fails because for loop on string works. Solution: Check looping over function reference fails. https://github.com/vim/vim/commit/c61cb8bfe1ec2cc50e6edd195cae2a3cd93d6590
* | | | | Merge pull request #14210 from bfredl/bordaa2Björn Linse2021-03-25
|\ \ \ \ \ | | | | | | | | | | | | floats: handle interaction with popupmenu and border correctly
| * | | | | floats: handle interaction with popupmenu and border correctlyBjörn Linse2021-03-25
| | | | | |
* | | | | | vim-patch:8.2.0402: setting local instead of global flagJan Edmund Lazo2021-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Setting local instead of global flag. Solution: Prepend "g:" to "test_is_flaky". https://github.com/vim/vim/commit/30d53e2c11e670845830bdfc29bf8c1615df61a8
* | | | | | vim-patch:8.2.0400: not all tests using a terminal are in the list of flaky ↵Jan Edmund Lazo2021-03-23
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests Problem: Not all tests using a terminal are in the list of flaky tests. Solution: Introduce the test_is_flaky flag. https://github.com/vim/vim/commit/3cdcb090a664e182078f7cc0ca3e4e5a94bbb784 Cherry-pick g:test_is_flaky from patch v8.2.0557. Ensure that test_is_flaky variable is set from the global scope.. N/A patches for version.c: vim-patch:8.2.2647: terminal test sometimes hangs Problem: Terminal test sometimes hangs. Solution: Wait for the shell to display a prompt. https://github.com/vim/vim/commit/f4a2ed071447ad4984fad55b9d1671b55140ae1c vim-patch:8.2.2648: terminal resize test sometimes hangs Problem: Terminal resize test sometimes hangs. Solution: Wait for the shell to display a prompt and other output. https://github.com/vim/vim/commit/c54f347d63bcca97ead673d01ac6b59914bb04e5 fixup! vim-patch:8.2.0400: not all tests using a terminal are in the list of flaky tests
* | | | | Merge pull request #14191 from chentau/extmark_blockpasteBjörn Linse2021-03-24
|\ \ \ \ \ | | | | | | | | | | | | Extmarks: send correct buffer events on blockwise paste for nonuniform lines
| * | | | | Extmarks: correct buffer events on blockwise pastechentau2021-03-23
| | | | | |
* | | | | | Merge pull request #14194 from bfredl/provide_virtBjörn Linse2021-03-23
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | memory error with ephemeral virt_text
| * | | | | decorations: memory error with ephemeral virt_textBjörn Linse2021-03-23
| | | | | |
* | | | | | Merge pull request #14190 from teto/fix-cursorlinenrMatthieu Coudron2021-03-23
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix CursorLineNr with diff
| * | | | | | fix: stop using CursorLineNr in front of fillersMatthieu Coudron2021-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | filling lines in diff mode.
* | | | | | | Merge pull request #14193 from bfredl/msginitBjörn Linse2021-03-23
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | screen: setup scrolling main screen when starting with display-=msgsep
| * | | | | | screen: setup scrolling main screen when starting with display-=msgsepBjörn Linse2021-03-23
| | |/ / / / | |/| | | |
* / | | | | Correctly splice extmarks on tab with noexpandtab setchentau2021-03-22
|/ / / / /
* | | | | Merge pull request #14178 from andymass/vim-8.2.0088Jan Edmund Lazo2021-03-22
|\ \ \ \ \ | |/ / / / |/| | | | [RFC] vim-patch 8.2.0088: insufficient tests for tags...
| * | | | Fix neovim tag bugs uncovered by vim-8.2.0088,Andy K. Massimino2021-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but not related to the patch. Specifically: - settagstack()'s e_listreq is in the wrong place - in :ltag, vim_strncpy -> xstrlcpy length parameter is different xstrlcpy's length includes the null terminator (so add one) - in :ltag, STRNCAT -> xstrlcat takes dest size, not number to copy use snprintf instead
| * | | | vim-patch:8.2.0088: insufficient tests for tags; bug in using extra tag fieldAndy K. Massimino2021-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Insufficient tests for tags; bug in using extra tag field when using an ex command to position the cursor. Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes vim/vim#5439) https://github.com/vim/vim/commit/830c1afc9d2cd5819a05c71d4e0b1f748a8c0519
* | | | | floats: add borders (MS-DOS MODE)Björn Linse2021-03-22
| | | | |
* | | | | wheel: move non-window code out of window.cBjörn Linse2021-03-22
| | | | |
* | | | | w_grid_alloc: baseline implBjörn Linse2021-03-22
| | | | |
* | | | | vim-patch:8.2.2634: 'tagfunc' does not indicate using a patternJan Edmund Lazo2021-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'tagfunc' does not indicate using a pattern. Solution: Add the "r" flag. (Andy Massimino, closes vim/vim#7982) https://github.com/vim/vim/commit/f90c855c71863296859780f7b4e0386e96f1c465
* | | | | vim-patch:8.2.2631: commands from winrestcmd() do not always work properlyJan Edmund Lazo2021-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Commands from winrestcmd() do not always work properly. (Leonid V. Fedorenchik) Solution: Repeat the size commands twice. (closes vim/vim#7988) https://github.com/vim/vim/commit/a0c8aea479ca055ce43ba2984a9933f6c48e6161
* | | | | vim-patch:8.2.2625: rss files not recognizedJan Edmund Lazo2021-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Rss files not recognized. Solution: Recognize .rss as XML. (Kivin Locke, closes vim/vim#7987) https://github.com/vim/vim/commit/af125866db46405fdaf99ac4e43b630d196a4aa4
* | | | | vim-patch:8.2.2624: atom files not recognizedJan Edmund Lazo2021-03-20
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Atom files not recognized. Solution: Recognize .atom as XML. (Kivin Locke, closes vim/vim#7986) https://github.com/vim/vim/commit/74b99f6ab6e0265ebee4ed496845f28e0904318d N/A patches for version.c: vim-patch:8.2.2622: GTK: error when starting up and -geometry is given Problem: GTK: error when starting up and -geometry is given. (Dominique Pellé) Solution: Use another function to get the monitor if the window has not been created yet. (closes vim/vim#7978) https://github.com/vim/vim/commit/a555e6fcb6ec97b5ab30b20a340b228f4d820f14 vim-patch:8.2.2626: GTK3: error when starting up and -geometry is given Problem: GTK3: error when starting up and -geometry is given. (Dominique Pellé) Solution: Use another function to get the monitor if the window has not been created yet. (closes vim/vim#7978) https://github.com/vim/vim/commit/240014321b0aa5d6eb00a70865fa9935fd888d60
* | | | Merge pull request #14060 from andymass/vim-8.2.1703Jan Edmund Lazo2021-03-20
|\ \ \ \ | | | | | | | | | | [RFC] vim-patch:8.2.{1693,1703,1705}
| * | | | vim-patch:8.2.1705: "verbose hi Name" reports incorrect info after ":hi clear"Andy K. Massimino2021-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "verbose hi Name" reports incorrect info after ":hi clear". Solution: Store the script context. (Antony Scriven, closes vim/vim#6975) https://github.com/vim/vim/commit/e8df0104985af58ee501a6fbac8ac9f886e84e5a Also adds src/nvim/testdir/script_util.vim which originates from patch 8.2.1366 (https://github.com/vim/vim/commit/a6296200bd5191bab7efcdcc16c9e79eb498e8e0) because some tests in test_highlight.vim use it for testing :verbose. Should merge this and older related patches later. Also, fix collateral damage to test_options.vim test_options tests for file name completion in the test directory, but since we've added a new file, the test output is now different. This test is slightly different from upstream anyway, so for now we just add the file name. This may change when more upstream patches are added which alter this test.
| * | | | vim-patch:8.2.1703: ":highlight clear" does not restore default linkAndy K. Massimino2021-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ":highlight clear" does not restore default link. Solution: Remember the default link and restore it. (Antony Scriven, closes vim/vim#6970, closes vim/vim#4405) https://github.com/vim/vim/commit/213da551dec465e193619684b260bf9d5a8d6afc
| * | | | vim-patch:8.2.1693: "hi def" does not work for cleared highlightAndy K. Massimino2021-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "hi def" does not work for cleared highlight. Solution: Check the "sg_cleared" flag. (Maxim Kim, closes vim/vim#6956, closes vim/vim#4405) https://github.com/vim/vim/commit/05eb5b9cae123b138bbd23cc77e50657ece6b4ad
* | | | | vim-patch:8.2.0422: crash when passing popup window to win_splitmove()Andy K. Massimino2021-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when passing popup window to win_splitmove(). (john Devin) Solution: Disallow moving a popup window. (closes vim/vim#5816) https://github.com/vim/vim/commit/0f1563ffee4397f5b379517c41b7c9a977fd2e22 Add translated test for 8.2.0422 (popup->floating)
* | | | | vim-patch:8.2.0093: win_splitmove() can make Vim hangAndy K. Massimino2021-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: win_splitmove() can make Vim hang. Solution: Check windows exists in the current tab page. (closes vim/vim#5444) https://github.com/vim/vim/commit/7b94e77132eabdf0e43abca57e2ffeb961545174
* | | | | vim-patch:8.1.2020: it is not easy to change the window layoutAndy K. Massimino2021-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not easy to change the window layout. Solution: Add win_splitmove(). (Andy Massimino, closes vim/vim#4561) https://github.com/vim/vim/commit/d20dcb3d011da6111153109f6e46fbd5c7fe9fb6
* | | | | vim-patch:8.2.2611: conditions for startup tests are not exactly rightJan Edmund Lazo2021-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Conditions for startup tests are not exactly right. Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi, closes vim/vim#7976) https://github.com/vim/vim/commit/f8c52e8d08de3fdf48db877d7d53d2d68c6ceb7b
* | | | | vim-patch:8.2.2609: test disabled on MS-Windows even though it should workJan Edmund Lazo2021-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test disabled on MS-Windows even though it should work. Solution: Restore the condition for skipping the test. (Ken Takata, closes vim/vim#7970) https://github.com/vim/vim/commit/321481299757cdd43baeed33f4c5ba543fdfc7f7
* | | | | Merge pull request #14145 from teto/remove-tshighlighterMatthieu Coudron2021-03-16
|\ \ \ \ \ | | | | | | | | | | | | chore: remove deprecated lua module tshighlighter
| * | | | | chore(ts): show grammar that triggers the errorMatthieu Coudron2021-03-16
| | |_|_|/ | |/| | | | | | | | | | | | | to help debugging
* | | | | api: destabilize nvim_set_hl_nsBjörn Linse2021-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | The sematics and signature of this API is going to change, but we don't wanna delay 0.5 for it. Mark API as unstable for now.
* | | | | vim-patch:8.2.2604: GUI-specific command line arguments not testedJan Edmund Lazo2021-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: GUI-specific command line arguments not tested. Solution: Add tests for several arguments. (Dominique Pellé, closes vim/vim#7962) https://github.com/vim/vim/commit/240309c9bfa8a0d2f154712f8e0dd33589f181d3