aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * vim-patch:8.0.1769: refactor save/restore of viewstate #11701Jan Edmund Lazo2020-01-11
| | | | | | | | | | Problem: Repeated saving and restoring viewstate for 'incsearch'. Solution: Use a structure. https://github.com/vim/vim/commit/9b25af36204c0511eab08d621688f0f2008fc68e
| * tabpage: disallow go-to-previous in cmdline-win #11692butwerenotthereyet2020-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | After cbc8d72fde4b19176028490934ff7a447afe523c when editing the command in the command editing window (q:, q/, q?) it was possible to switch to the previous tab. Doing so put Nvim in a bad state. Moreover, switching tabs via the other available mechanisms (gt, gT, <C-W>gt, <C-W>gT) is not possible when in the command editing window. Here, the behavior is prevented. It is no longer possible to switch to the previous tab when editing the command in the command editing window. The solution is to share code between gt, gT, and g<Tab>. Specifically, goto_tabpage_lastused now calls through goto_tabpage rather than directly calling goto_tabpage_tp. Doing so works well because all the validation enjoyed by gt and gT is present in goto_tabpage.
| * Merge #11691 from janlazo/vim-8.2.0099Justin M. Keyes2020-01-08
| |\
| | * Remove (void) hacks, Mark unused attrsJan Edmund Lazo2020-01-08
| | |
| | * vim-patch:8.2.0099: use of NULL pointer when out of memoryJan Edmund Lazo2020-01-07
| | | | | | | | | | | | | | | | | | Problem: Use of NULL pointer when out of memory. Solution: Check for NULL pointer. (Dominique Pelle, closes vim/vim#5449) https://github.com/vim/vim/commit/8b7aa2f9b238df916c161cdacda032c25d72a0ae
| * | API: nvim_get_hl_by_id: omit hl instead of returning -1 #11685kevinhwang912020-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When Normal highlight group defines ctermfg/bg, but other highlight group lacks ctermfg/bg, nvim_get_hl_by_id(hl_id, v:false) returns -1 for the missing ctermfg/bg instead of just omitting it. Solution: checking for -1 in hlattrs2dict() fix #11680
| * | version.c: update [ci skip] #11636Marvim the Paranoid Android2020-01-07
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0902: cannot specify directory or environment for a job vim-patch:8.0.1127: Test_peek_and_get_char fails on 32 bit system vim-patch:8.1.0661: clipboard regexp might be used recursively vim-patch:8.1.0834: GUI may wait too long before dealing with messages vim-patch:8.2.0040: timers test is still flaky on Travis for Mac vim-patch:8.2.0053: windowsversion() does not always return the right value vim-patch:8.2.0055: cannot use ":gui" in vimrc with VIMDLL enabled vim-patch:8.2.0057: cannot build with small features vim-patch:8.2.0059: compiler warnings for unused variables in small build vim-patch:8.2.0060: message test only runs with one encoding vim-patch:8.2.0065: Amiga and alikes: autoopen only used on Amiga OS4 vim-patch:8.2.0080: globals using INIT4() are not in the tags file vim-patch:8.2.0081: MS-Windows also need the change to support INIT4() vim-patch:8.2.0086: build error for small version vim-patch:8.2.0094: MS-Windows: cannot build with Strawberry Perl 5.30 vim-patch:8.2.0100: macros for Ruby are too complicated
| * ui_grid_resize: fix resize logic for floating window #11655Ville Hakulinen2020-01-06
| |
| * vim-patch:8.1.1309: test for Normal highlight fails on MS-Windows GUIJan Edmund Lazo2020-01-06
| | | | | | | | | | | | Problem: Test for Normal highlight fails on MS-Windows GUI. Solution: Skip the test for MS-Windows GUI. https://github.com/vim/vim/commit/6b528fa062a5ac6bb5d8bd3abc26f32c65691d00
| * vim-patch:8.1.1308: the Normal highlight is not defined when compiled with GUIJan Edmund Lazo2020-01-06
| | | | | | | | | | | | Problem: The Normal highlight is not defined when compiled with GUI. Solution: Always define Normal. (Christian Brabandt, closes vim/vim#4072) https://github.com/vim/vim/commit/f90b6e03a983b62b66564fc449e32724d6456769
| * vim-patch:8.1.1579: dict and list could be GC'ed while displaying errorJan Edmund Lazo2020-01-05
| | | | | | | | | | | | | | | | | | Problem: Dict and list could be GC'ed while displaying error in a timer. (Yasuhiro Matsumoto) Solution: Block garbage collection when executing a timer. Add test_garbagecollect_soon(). Add "no_wait_return" to test_override(). (closes vim/vim#4571) https://github.com/vim/vim/commit/adc6714aac20f5462a0ecec50ab4806b2f3ab0db
| * vim-patch:8.1.0851: feedkeys() with "L" does not work properlyJan Edmund Lazo2020-01-05
| | | | | | | | | | | | | | Problem: feedkeys() with "L" does not work properly. Solution: Do not set typebuf_was_filled when using "L". (Ozaki Kiichi, closes vim/vim#3885) https://github.com/vim/vim/commit/8d4ce56a19ed14d13332f94ad592fff2d9a715d5
| * vim-patch:8.0.1786: no test for 'termwinkey'Jan Edmund Lazo2020-01-05
| | | | | | | | | | | | | | Problem: No test for 'termwinkey'. Solution: Add a test. Make feedkeys() handle terminal_loop() returning before characters are consumed. https://github.com/vim/vim/commit/b2ac14c0b5e23f8ab97c5c784bcd83e13ba8ded3
| * vim-patch:8.1.0844: when timer fails test will hang foreverJan Edmund Lazo2020-01-03
| | | | | | | | | | | | Problem: When timer fails test will hang forever. Solution: Use reltime() to limit waiting time. (Ozaki Kiichi, closes vim/vim#3878) https://github.com/vim/vim/commit/50948e4ac24314d5a70404bbc592ffc28755ad9f
| * vim-patch:8.1.0842: getchar_zero test fails on MS-WindowsJan Edmund Lazo2020-01-03
| | | | | | | | | | | | Problem: getchar_zero test fails on MS-Windows. Solution: Disable the test for now. https://github.com/vim/vim/commit/cb908a813cebf7fb4608ff43fc3d258cf2768809
| * vim-patch:8.1.0840: getchar(0) never returns a character in the terminalJan Edmund Lazo2020-01-03
| | | | | | | | | | | | Problem: getchar(0) never returns a character in the terminal. Solution: Call wait_func() at least once. https://github.com/vim/vim/commit/12dfc9eef14fe74c46145aa9e6cba9666f1bcd40
| * vim-patch:8.0.1817: a timer may change v:count unexpectedlyJan Edmund Lazo2020-01-03
| | | | | | | | | | | | | | Problem: A timer may change v:count unexpectedly. Solution: Save and restore v:count and similar variables when a timer callback is invoked. (closes vim/vim#2897) https://github.com/vim/vim/commit/b0f42ba60d9e6d101d103421ba0c351811615c15
| * Merge #11648 from butwerenotthereyet/vim-8.1.0972Justin M. Keyes2020-01-03
| |\
| | * vim-patch:8.1.0974: cannot switch from terminal window to previous tabpageWe're Yet2020-01-03
| | | | | | | | | | | | | | | | | | Problem: Cannot switch from terminal window to previous tabpage. Solution: Make CTRL-W gT move to previous tabpage. https://github.com/vim/vim/commit/882d02eeb571a13a502fe82a04c9eaffa630c294
| | * vim-patch:8.1.0972: cannot switch from terminal window to next tabpageWe're Yet2020-01-03
| | | | | | | | | | | | | | | | | | Problem: Cannot switch from terminal window to next tabpage. Solution: Make CTRL-W gt move to next tabpage. https://github.com/vim/vim/commit/72e83c1ae535e2ebc35b114d34d0a811eb62b068
| * | vim-patch:8.2.0079: test still fails on MS-Windows #11663Jan Edmund Lazo2020-01-03
| | | | | | | | | | | | | | | Problem: Python 3 unicode test still fails on MS-Windows. Solution: Do not set 'encoding' to "euc-tw" on MS-Windows. https://github.com/vim/vim/commit/7fc4785ea19306b7e94beb61f226cf40c32b1aba
| * | option: restore termencoding (readonly) #11662Jan Edmund Lazo2020-01-02
| |/ | | | | | | 'termencoding' option was removed in abaabd1d03fd723630f6addeadee9928faa4cdde but some plugins check its value.
| * tabpage: track last-used tabpage #11626butwerenotthereyet2020-01-02
| | | | | | | | | | | | | | | | | | In a multi-window scenario, it is possible to return focus to the last accessed window via n_CTRL-W_p. However, in the case of a multi-tab scenario, there was previously no way to return focus to the last accessed *tab*. Here, that ability is added via n_g<tab>. Additionally, the index of the previous tab is exposed via tabpagenr('#'), mirroring the existing functionality of winnr('#').
| * API: fix crash on copy_object(kObjectTypeWindow) #11651Ghjuvan Lacambre2020-01-02
| | | | | | Closes #11646
| * Merge pull request #11470 from bfredl/emptytableBjörn Linse2020-01-01
| |\ | | | | | | metatable for empty dict value
| | * lua: metatable for empty dict valueBjörn Linse2020-01-01
| | |
| * | vim-patch:8.2.0076: Python 3 unicode test fails on MS-WindowsJan Edmund Lazo2020-01-01
| | | | | | | | | | | | | | | | | | Problem: Python 3 unicode test fails on MS-Windows. Solution: Do not set 'encoding' to "debug" on MS-Windows. https://github.com/vim/vim/commit/955f4e6f36ea009b90803d12a62108c94f446778
| * | vim-patch:8.2.0075: Python 3 unicode test still sometimes failsJan Edmund Lazo2020-01-01
| | | | | | | | | | | | | | | | | | Problem: Python 3 unicode test still sometimes fails. Solution: Skip the test when 'termencoding' is not empty. https://github.com/vim/vim/commit/2466aea508f22d44099d54ed6d15c0a1d90f8d6e
| * | vim-patch:8.2.0074: Python 3 unicode test someitmes failsJan Edmund Lazo2020-01-01
| | | | | | | | | | | | | | | | | | Problem: Python 3 unicode test someitmes fails. Solution: Make 'termencoding' empty. Correct number of error message. https://github.com/vim/vim/commit/4b7cdca23035eacf6cd0e30b90546cf32f7efe9e
| * | vim-patch:8.2.0070: crash when using Python 3 with "debug" encodingJan Edmund Lazo2020-01-01
| |/ | | | | | | | | | | Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pelle) Solution: Use "euc-jp" whenever enc_dbcs is set. https://github.com/vim/vim/commit/d518f952f0812778758b25139308bcf45df6988c
| * Merge #11604 "LSP: shrink API, improve docs"Justin M. Keyes2020-01-01
| |\
| | * doc [ci skip]Justin M. Keyes2019-12-31
| | |
| * | Merge #11645 from janlazo/vim-8.1.1346Justin M. Keyes2020-01-01
| |\ \ | | | | | | | | vim-patch:8.1.1346,8.2.0068
| | * | vim-patch:8.2.0068: crash when using Python 3 with "utf32" encodingJan Edmund Lazo2019-12-31
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pelle) Solution: Use "utf-8" whenever enc_utf8 is set. (closes vim/vim#5423) https://github.com/vim/vim/commit/556684ff71e044a642879d759373a7ebc5047fad
| | * | vim-patch:8.1.1346: error for Python exception does not show useful infoJan Edmund Lazo2019-12-31
| | |/ | | | | | | | | | | | | | | | | | | Problem: Error for Python exception does not show useful info. Solution: Show the last line instead of the first one. (Ben Jackson, closes vim/vim#4381) https://github.com/vim/vim/commit/7f3a28490abb7c495239fc438825e3d1aaafa76d
| * / PVS/V618: fix emsgf format specifier #11643Husain Alshehhi2020-01-01
| |/
| * vim-patch:8.2.0063: wrong size argument to vim_snprintf()Jan Edmund Lazo2019-12-30
| | | | | | | | | | | | Problem: Wrong size argument to vim_snprintf(). (Dominique Pelle) Solution: Reduce the size by the length. (related to vim/vim#5410) https://github.com/vim/vim/commit/08b28b7ad52d5ee3cb5fa5982b647e325a410484
| * vim-patch:8.1.1741: cleared/added match highlighting not updated in other windowJan Edmund Lazo2019-12-30
| | | | | | | | | | | | | | Problem: Cleared/added match highlighting not updated in other window. (Andi Massimino) Solution: Mark the right window for refresh. https://github.com/vim/vim/commit/4ef18dcc2e3a6a9aea2dc90bbdb742c3c9231394
| * vim-patch:8.1.1739: deleted match highlighting not updated in other windowJan Edmund Lazo2019-12-30
| | | | | | | | | | | | | | Problem: Deleted match highlighting not updated in other window. Solution: Mark the window for refresh. (closes vim/vim#4720) Also fix that ambi-width check clears with wrong attributes. https://github.com/vim/vim/commit/06029a857a3d4d90b3162090506c1e00dc84c60b
| * gen_vimdoc.py: fix deprecated checkJustin M. Keyes2019-12-30
| |
| * Merge #11632 from janlazo/vim-8.1.2087Justin M. Keyes2019-12-30
| |\ | | | | | | vim-patch:8.1.2087,8.2.0058
| | * vim-patch:8.2.0058: running tests changes ~/.viminfoJan Edmund Lazo2019-12-29
| | | | | | | | | | | | | | | | | | Problem: Running tests changes ~/.viminfo. Solution: Make 'viminfo' empty when summarizing tests results. (closes vim/vim#5414) https://github.com/vim/vim/commit/eb698d0b3295675f184ad4b62034e064cded4ade
| | * vim-patch:8.1.2087: cannot easily select one test function to executeJan Edmund Lazo2019-12-29
| | | | | | | | | | | | | | | | | | | | | Problem: Cannot easily select one test function to execute. Solution: Support the $TEST_FILTER environment variable. (Ozaki Kiichi, closes vim/vim#2695) https://github.com/vim/vim/commit/a7f6c3cf071bb6267e0bd2eb3d27ca240381ba87
| * | vim-patch:8.0.1356: using simalt in a GUIEnter autocommand inserts charactersJan Edmund Lazo2019-12-30
| | | | | | | | | | | | | | | | | | | | | Problem: Using simalt in a GUIEnter autocommand inserts strange characters. (Chih-Long Chang) Solution: Ignore K_NOP in Insert mode. (closes vim/vim#2379) https://github.com/vim/vim/commit/c5aa55db7e5bc791f99fb15b0f4be0d5dd166f62
| * | vim-patch:8.1.2377: GUI: when losing focus a pending operator is executedJan Edmund Lazo2019-12-30
| | | | | | | | | | | | | | | | | | Problem: GUI: when losing focus a pending operator is executed. Solution: Do not execute an operator when getting K_IGNORE. (closes vim/vim#5300) https://github.com/vim/vim/commit/fa5612c7d836eb789e0f8ff4b10461b8640a14b2
| * | vim-patch:8.1.1300: in a terminal 'ballooneval' does not work right awayJan Edmund Lazo2019-12-30
| | | | | | | | | | | | | | | | | | | | | Problem: In a terminal 'ballooneval' does not work right away. Solution: Flush output after drawing the balloon. Add the <Ignore> key code. Add a test. https://github.com/vim/vim/commit/2f10658b06bbdd8f25c4ff152266c808234cee0a
| * | vim-patch:8.0.1540: popup menu positioning fails with longer stringJan Edmund Lazo2019-12-29
| | | | | | | | | | | | | | | | | | | | | Problem: Popup menu positioning fails with longer string. Solution: Only align with right side of window when width is less than 'pumwidth' (closes vim/vim#2661) https://github.com/vim/vim/commit/2b10bcbfc1c025bf7e6358326ee70105e7d30e96
| * | screen: fix pvs/v1048Jan Edmund Lazo2019-12-29
| | |
| * | vim-patch:8.1.0554: popup menu overlaps with preview windowJan Edmund Lazo2019-12-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Popup menu overlaps with preview window. Solution: Adjust the height computation. (Hirohito Higashi, closes vim/vim#3414) https://github.com/vim/vim/commit/614ab8aa00346724bfc27980d25985d482269b75 Cherry-picked "row -> pum_win_row" rename changes from patch 8.1.0062.
| * | vim-patch:8.0.1538: popupmenu is too far left when completion is longJan Edmund Lazo2019-12-29
| | | | | | | | | | | | | | | | | | Problem: Popupmenu is too far left when completion is long. (Linwei) Solution: Adjust column computations. (Hirohito Higashi, closes vim/vim#2661) https://github.com/vim/vim/commit/bb008dd3239c5fe3ac04501e38e4c950fa9426c8