diff options
Diffstat (limited to 'runtime/doc/version8.txt')
-rw-r--r-- | runtime/doc/version8.txt | 6382 |
1 files changed, 6378 insertions, 4 deletions
diff --git a/runtime/doc/version8.txt b/runtime/doc/version8.txt index c330555115..33f943e52a 100644 --- a/runtime/doc/version8.txt +++ b/runtime/doc/version8.txt @@ -1,4 +1,4 @@ -*version8.txt* For Vim version 8.1. Last change: 2019 May 26 +*version8.txt* For Vim version 8.1. Last change: 2019 Nov 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -31,6 +31,11 @@ Changed |changed-8.1| Added |added-8.1| Patches |patches-8.1| +VERSION 8.2 |version-8.2| +Changed |changed-8.2| +Added |added-8.2| +Patches |patches-8.2| + See |vi_diff.txt| for an overview of differences between Vi and Vim 8.0. See |version4.txt|, |version5.txt|, |version6.txt| and |version7.txt| for @@ -25795,11 +25800,178 @@ Solution: Move the todo items to the help file. Files: src/terminal.c +============================================================================== +VERSION 8.2 *version-8.2* *version8.2* *vim-8.2* + +VERSION 8.2 IS NOT RELEASED YET! THIS SECTION WILL CHANGE. + +This section is about improvements made between version 8.1 and 8.2. + +This release has hundreds of bug fixes, there are a few new features and there +are many minor improvements. + + +Popup windows *new-popup-window* +------------- + +Popup windows can be used to display text on top of other windows. This can +be for a simple message such as "Build finished successfully", showing a +function prototype while editing a function call, a flexible popup menu and +many other purposes. + +Popup windows are very flexibley: they can be positioned relative to text, an +absolute position or just in the middle of the screen. The size can be fixed +or adjust to the text. A "zindex" value specifies what popup window goes on +top of others. + + +Text properties *new-text-properties* +--------------- + +Highlighting of text was done previously with syntax rules or matches. Text +properties give a plugin author more flexibility what to highlight. This can +be used with an external asynchronous parser to do syntax highlighting. Or +just to highlight text in a popup window. + +The listener functions have been added so exchange text changes with a server +to dynamically update highligting, mark errors and the like. + + +Vim script improvements *new-vimscript-8.2* +----------------------- + +Functions can now be called in a chain, using "->". E.g.: > + mylist->filter(filterexpr)->map(mapexpr)->sort()->join() +The new `:eval` command can be used when there is no result. + +The `:scriptversion` command was added to allow for changes that are not +backwards compatible. E.g. to only use ".." for string concatenation. + +`:const` was added to allow for declaring a variable that cannot change. > + const TIMER_DELAY = 400 + +The |Blob| type was added. This makes it easy to deal with binary data. + +A Dictionary can be defined with #{} where the keys are used literally. This +avoids having to use quotes. E.g.: > + let options = #{width: 30, height: 24} + + +Changed *changed-8.2* +------- + +The xdiff library was included to avoid the need for an external diff program +and to make updating diffs much faster. + + +Added *added-8.2* +----- + +Added functions: + All the popup_ functions. + All the prop_ functions. + All the sign_ functions. + All the sound_ functions. + + |appendbufline()| + |balloon_gettext()| + |bufadd()| + |bufload()| + |ch_readblob()| + |chdir()| + |debugbreak()| + |deletebufline()| + |environ()| + |expandcmd()| + |getenv()| + |getimstatus()| + |getmousepos()| + |gettagstack()| + |interrupt()| + |isinf()| + |list2str()| + |listener_add()| + |listener_flush()| + |listener_remove()| + |prompt_setcallback()| + |prompt_setinterrupt()| + |prompt_setprompt()| + |pum_getpos()| + |rand()| + |readdir()| + |reg_executing()| + |reg_recording()| + |rubyeval()| + |screenchars()| + |screenpos()| + |screenstring()| + |setenv()| + |settagstack()| + |srand()| + |state()| + |str2list()| + |strptime()| + |swapinfo()| + |swapname()| + |term_setapi()| + |test_getvalue()| + |test_null_blob()| + |test_refcount()| + |test_scrollbar()| + |test_setmouse()| + |win_execute()| + |win_splitmove()| + |winlayout()| + +Added autocommands: + |CompleteChanged| + |DiffUpdated| + |SafeState| + |SafeStateAgain| + |SourcePost| + |TerminalWinOpen| + +Added commands: + `:cabove` + `:cafter` + `:cbefore` + `:cbelow` + `:const` + `:eval` + `:labove` + `:lbefore` + `:lbelow` + `:lafter` + `:redrawtabline` + `:scriptversion` + `:spellrare` + `:tcd` + `:tchdir` + `:tlmenu` + `:tlnoremenu` + `:tlunmenu` + `:wsverb` + `:xrestore` + +Added options: + 'completepopup' + 'completeslash' + 'cursorlineopt' + 'modelineexpr' + 'previewpopup' + 'scrollfocus' + 'tagfunc' + 'termwintype' + 'varsofttabstop' + 'vartabstop' + 'wincolor' + + Patches *patches-8.2* ------- -These patches were applied after the 8.1 release and will eventually lead up -to the 8.2 release. +These patches were applied after the 8.1 release and are included in the 8.2 +release. Patch 8.1.0001 Problem: The netrw plugin does not work. @@ -29391,7 +29563,7 @@ Problem: Iterating through window frames is repeated. Solution: Define FOR_ALL_FRAMES. (Yegappan Lakshmanan) Files: src/ex_docmd.c, src/globals.h, src/screen.c, src/window.c -Patch 8.1.0624 (after 8.2.0620) +Patch 8.1.0624 (after 8.1.0620) Problem: Overruling CONF_ARGS from the environment still does not work. (Tony Mechelynck) Solution: Add back CONF_ARGS next to the new numbered ones. @@ -34320,5 +34492,6207 @@ Solution: Use the pointer in tabpage_T. Files: src/popupwin.c, src/globals.h, src/eval.c, src/screen.c, src/window.c +Patch 8.1.1401 +Problem: Misspelled mkspellmem as makespellmem. +Solution: Drop duplicate help entry, fix test. (Naruhiko Nishino, Ken + Takata, closes #4437) +Files: runtime/doc/options.txt, src/testdir/test_modeline.vim + +Patch 8.1.1402 +Problem: "timer" option of popup windows not supported. +Solution: Implement the "timer" option. (Yasuhiro Matsumoto, closes #4439) +Files: src/structs.h, src/testdir/test_popupwin.vim, src/popupwin.c, + src/window.c, runtime/doc/popup.txt + +Patch 8.1.1403 +Problem: Cannot build without the timer feature. +Solution: Add #ifdef. +Files: src/structs.h, src/window.c, src/popupwin.c, + src/testdir/test_popupwin.vim + +Patch 8.1.1404 +Problem: Cannot change the patch level when building with NSIS. +Solution: Use $PATCHLEVEL if defined. (Christian Brabandt) +Files: nsis/gvim.nsi + +Patch 8.1.1405 +Problem: "highlight" option of popup windows not supported. +Solution: Implement the "highlight" option. +Files: src/option.c, src/proto/option.pro, src/diff.c src/popupwin.c, + runtime/doc/popup.txt, src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_01.dump, + src/testdir/dumps/Test_popupwin_03.dump + +Patch 8.1.1406 +Problem: popup_hide() and popup_show() not implemented yet. +Solution: Implement the functions. +Files: src/popupwin.c, src/proto/popupwin.pro, src/evalfunc.c, + src/structs.h, runtime/doc/popup.txt, src/screen.c, src/vim.h, + src/testdir/test_popupwin.vim + +Patch 8.1.1407 +Problem: Popup_create() does not support text properties. +Solution: Support the third form of the text argument. +Files: src/textprop.c, src/proto/textprop.pro, src/popupwin.c, + src/testdir/test_popupwin.vim, src/screen.c, + src/testdir/dumps/Test_popupwin_02.dump, + src/testdir/dumps/Test_popupwin_03.dump, + src/testdir/dumps/Test_popupwin_04.dump, + runtime/doc/popup.txt + +Patch 8.1.1408 +Problem: PFL_HIDDEN conflicts with system header file. +Solution: Rename to POPF_HIDDEN. +Files: src/popupwin.c, src/screen.c, src/vim.h + +Patch 8.1.1409 +Problem: Coverity warns for using uninitialized memory. +Solution: Add a condition to clearing the growarray. +Files: src/json.c + +Patch 8.1.1410 +Problem: Popup_move() is not implemented yet. +Solution: Implement it. (Yasuhiro Matsumoto, closes #4441) Improve the + positioning and resizing. +Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, + src/screen.c, src/structs.h, src/proto/popupwin.pro, + src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_05.dump + +Patch 8.1.1411 +Problem: Coverity warns for divide by zero. +Solution: Make sure width is larger than zero. +Files: src/charset.c + +Patch 8.1.1412 +Problem: Test 30 is old style. +Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #4440) +Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, + src/testdir/test30.in, src/testdir/test30.ok, + src/testdir/test_fileformat.vim + +Patch 8.1.1413 +Problem: Error when the drive of the swap file was disconnected. +Solution: Try closing and re-opening the swap file. (partly by Joe Orost, + closes #4378) +Files: src/memfile.c, src/structs.h, src/testdir/test_startup.vim + +Patch 8.1.1414 +Problem: Alloc() returning "char_u *" causes a lot of type casts. +Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to + check the simple allocations. +Files: src/autocmd.c, src/blob.c, src/blowfish.c, src/buffer.c, + src/change.c, src/channel.c, src/crypt.c, src/crypt_zip.c, + src/dict.c, src/diff.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c, + src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, + src/fileio.c, src/findfile.c, src/getchar.c, src/gui_gtk.c, + src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c, + src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/hardcopy.c, + src/hashtab.c, src/if_cscope.c, src/if_mzsch.c, src/if_perlsfio.c, + src/if_py_both.h, src/if_python3.c, src/if_xcmdsrv.c, + src/insexpand.c, src/list.c, src/mark.c, src/mbyte.c, + src/memfile.c, src/memfile_test.c, src/memline.c, src/message.c, + src/misc2.c, src/netbeans.c, src/normal.c, src/ops.c, + src/option.c, src/os_amiga.c, src/os_mac_conv.c, src/os_mswin.c, + src/os_unix.c, src/os_vms.c, src/os_win32.c, src/popupmnu.c, + src/proto/misc2.pro, src/quickfix.c, src/regexp.c, + src/regexp_nfa.c, src/screen.c, src/search.c, src/sign.c, + src/spell.c, src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, + src/terminal.c, src/textprop.c, src/ui.c, src/undo.c, + src/userfunc.c, src/version.c, src/winclip.c, src/window.c, + src/vim.h, src/testdir/test_cscope.vim + +Patch 8.1.1415 (after 8.1.1414) +Problem: Build error in MS-Windows GUI. +Solution: Fix the LALLOC_MULT() argument. +Files: src/gui_w32.c + +Patch 8.1.1416 +Problem: Popup_getposition() not implemented yet. +Solution: Implement it. (Yasuhiro Matsumoto, closes #4449) +Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, + src/proto/popupwin.pro, src/testdir/test_popupwin.vim + +Patch 8.1.1417 +Problem: MS-Windows: resolve() does not resolve all components of the path. + (David Briscoe) +Solution: Do not bail out for a reparse point. (Yasuhiro Matsumoto, + closes #4211, closes #4447) +Files: src/os_mswin.c, src/testdir/test_functions.vim + +Patch 8.1.1418 +Problem: Win_execute() is not implemented yet. +Solution: Implement it. +Files: src/evalfunc.c, src/popupwin.c, src/testdir/test_execute_func.vim, + runtime/doc/popup.txt, runtime/doc/eval.txt + +Patch 8.1.1419 +Problem: Listener callbacks may be called recursively. +Solution: Set "updating_screen" while listener callbacks are invoked. +Files: src/change.c, src/screen.c, src/proto/screen.pro, src/ui.c + +Patch 8.1.1420 +Problem: Popup window size only uses first line length. +Solution: Use the longest line. (Ben Jackson, closes #4451) Also deal with + wrapping lines. +Files: src/popupwin.c, src/testdir/test_popupwin.vim + +Patch 8.1.1421 +Problem: Drawing "~" line in popup window. +Solution: Just draw text in the last line of the popup window. +Files: src/screen.c, src/structs.h, src/popupwin.c, + src/proto/popupwin.pro, src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_05.dump, + src/testdir/dumps/Test_popupwin_06.dump + +Patch 8.1.1422 +Problem: Popup_getoptions() not implemented yet. +Solution: Implement it. (closes #4452) +Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, + src/proto/popupwin.pro, src/testdir/test_popupwin.vim + +Patch 8.1.1423 +Problem: Popup windows use options from current window and buffer. +Solution: Clear all local options when creating a popup window. +Files: src/popupwin.c, src/option.c, src/proto/option.pro, + src/testdir/test_popupwin.vim + +Patch 8.1.1424 +Problem: Crash when popup menu is deleted while waiting for char. +Solution: Bail out when pum_array was cleared. +Files: src/popupmnu.c + +Patch 8.1.1425 +Problem: Win_execute() does not set window pointers properly. +Solution: Use switch_win_noblock(). Also execute autocommands in a popup + window. +Files: src/window.c, src/proto/window.pro, src/evalfunc.c, src/autocmd.c + +Patch 8.1.1426 +Problem: No test for syntax highlight in popup window. +Solution: Add a screenshot test. Update associated documentation. Avoid + 'buftype' being reset by setbufvar(). +Files: runtime/doc/eval.txt, src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_10.dump, + src/testdir/dumps/Test_popupwin_11.dump + +Patch 8.1.1427 (after 8.1.1426) +Problem: Popup window screenshot test fails. +Solution: Add missing change to popup window code. +Files: src/popupwin.c + +Patch 8.1.1428 +Problem: Popup_atcursor() not implemented yet. +Solution: Implement it. (Yasuhiro Matsumoto, closes #4456) +Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, + src/proto/popupwin.pro, src/testdir/test_popupwin.vim + +Patch 8.1.1429 +Problem: "pos" option of popup window not supported yet. +Solution: Implement the option. Rename popup_getposition() to + popup_getpos(). +Files: src/structs.h, src/popupwin.c, src/proto/popupwin.pro, + runtime/doc/popup.txt + +Patch 8.1.1430 +Problem: Popup window option "wrap" not supported. +Solution: Implement it. +Files: src/popupwin.c, src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_wrap.dump, + src/testdir/dumps/Test_popupwin_nowrap.dump + +Patch 8.1.1431 +Problem: Popup window listed as "Scratch". +Solution: List them as "Popup". +Files: src/buffer.c, src/popupwin.c, src/testdir/test_popupwin.vim, + runtime/doc/popup.txt, runtime/doc/windows.txt + +Patch 8.1.1432 (after 8.1.1429) +Problem: Can't build with eval feature. +Solution: Add missing rename. +Files: src/evalfunc.c + +Patch 8.1.1433 +Problem: Win_execute() may leave popup window focused, eventually leading + to a crash. (Bjorn Linse) +Solution: When previous window was closed, go to the first window. +Files: src/window.c, src/testdir/test_popupwin.vim + +Patch 8.1.1434 +Problem: Test 3 is old style. +Solution: Turn into a new style test. (Yegappan Lakshmanan, closes #4460) +Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, + src/testdir/test3.in, src/testdir/test3.ok, + src/testdir/test_cindent.vim + +Patch 8.1.1435 +Problem: Memory usage test is a bit too flaky. +Solution: Adjust the tolerances a bit. (Christian Brabandt) +Files: src/testdir/test_memory_usage.vim + +Patch 8.1.1436 +Problem: Writefile test fails when run under /tmp. +Solution: Adjust 'backupskip. (Kenta Sato, closes #4462) +Files: src/testdir/test_writefile.vim + +Patch 8.1.1437 +Problem: Code to handle callbacks is duplicated. +Solution: Add callback_T and functions to deal with it. +Files: src/structs.h, src/evalfunc.c, src/proto/evalfunc.pro, + src/change.c, src/channel.c, src/proto/channel.pro, src/buffer.c, + src/userfunc.c, src/proto/userfunc.pro, src/eval.c, + src/ex_cmds2.c, src/popupwin.c + +Patch 8.1.1438 +Problem: Some commands cause trouble in a popup window. +Solution: Add NOT_IN_POPUP_WINDOW. +Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro, + src/ex_docmd.c, src/ex_cmds2.c, src/window.c, + src/testdir/test_popupwin.vim + +Patch 8.1.1439 +Problem: Json_encode() is very slow for large results. +Solution: In the growarray use a growth of at least 50%. (Ken Takata, + closes #4461) +Files: src/misc2.c + +Patch 8.1.1440 +Problem: Win_execute() test fails. +Solution: Adjust the expected error number. Move to popup test. +Files: src/testdir/test_execute_func.vim, src/testdir/test_popupwin.vim + +Patch 8.1.1441 +Problem: Popup window filter not yet implemented. +Solution: Implement the popup filter. +Files: src/structs.h, runtime/doc/popup.txt, src/popupwin.c, + src/proto/popupwin.pro, src/window.c, src/getchar.c, src/screen.c, + src/misc2.c, src/proto/misc2.pro, src/vim.h, + src/testdir/test_popupwin.vim + +Patch 8.1.1442 +Problem: Popup windows not considered when the Vim window is resized. + (Ben Jackson) +Solution: Reallocate the w_lines structure. (closes #4467) +Files: src/screen.c + +Patch 8.1.1443 +Problem: Popup window padding and border not implemented yet. +Solution: Implement padding and border. Add core position and size to + popup_getpos(). +Files: src/structs.h, src/popupwin.c, src/screen.c, + src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_20.dump, runtime/doc/popup.txt + +Patch 8.1.1444 +Problem: Not using double line characters for popup border. +Solution: Use double line characters if using utf-8. +Files: src/screen.c, src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_21.dump + +Patch 8.1.1445 +Problem: Popup window border highlight not implemented yet. +Solution: Implement the "borderhighlight" option. +Files: src/structs.h, src/popupwin.c, src/window.c, src/screen.c, + src/testdir/test_popupwin.vim, runtime/doc/popup.txt, + src/testdir/dumps/Test_popupwin_22.dump + +Patch 8.1.1446 +Problem: Popup window callback not implemented yet. +Solution: Implement the callback. +Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h, + src/evalfunc.c, src/window.c, src/testdir/test_popupwin.vim + +Patch 8.1.1447 +Problem: Not allowed to create an empty popup. +Solution: Remove restriction that there is some text. (closes #4470) +Files: src/popupwin.c, src/testdir/test_popupwin.vim + +Patch 8.1.1448 +Problem: Statusline is sometimes drawn on top of popup. +Solution: Redraw popups after the statusline. (Naruhiko Nishino, + closes #4468) +Files: src/screen.c, src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_behind.dump + +Patch 8.1.1449 +Problem: Popup text truncated at end of screen. +Solution: Move popup left if needed. Add the "fixed" property to disable + that. (Ben Jackson , closes #4466) +Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h, + src/testdir/test_popupwin.vim + +Patch 8.1.1450 +Problem: Popup window positioning wrong when using padding or borders. +Solution: Fix computing the position. +Files: src/popupwin.c, src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_corners.dump + +Patch 8.1.1451 +Problem: CTRL-L does not clear screen with a popup window. +Solution: Do not change the type to NOT_VALID. Redraw all windows. + (closes #4471) +Files: src/screen.c + +Patch 8.1.1452 +Problem: Line and col property of popup windows not properly checked. +Solution: Check for "+" or "-" sign. +Files: src/popupwin.c, src/dict.c, src/proto/dict.pro, + src/window.c, src/testdir/test_popupwin.vim + +Patch 8.1.1453 +Problem: Popup window "moved" property not implemented yet. +Solution: Implement it. +Files: src/main.c, src/edit.c, src/gui.c, src/globals.h, src/structs.h, + src/screen.c, src/popupwin.c, src/proto/popupwin.pro, + src/testdir/test_popupwin.vim, runtime/doc/popup.txt + +Patch 8.1.1454 +Problem: Build failure without the conceal feature. +Solution: Remove #ifdef. +Files: src/autocmd.c + +Patch 8.1.1455 +Problem: Popup_atcursor() not completely implemented. +Solution: Add the default for the "moved" property. +Files: src/popupwin.c, src/normal.c, src/vim.h, + src/testdir/test_popupwin.vim + +Patch 8.1.1456 +Problem: WinBar not redrawn after scrolling one line. +Solution: Exclude the winbar height when deciding what to redraw. + (closes #4473) +Files: src/screen.c, src/testdir/test_winbar.vim + +Patch 8.1.1457 +Problem: Cannot reuse a buffer when loading a screen dump. +Solution: Add the "bufnr" option. +Files: runtime/doc/eval.txt, src/structs.h, src/channel.c, + src/terminal.c, src/testdir/test_terminal.vim + +Patch 8.1.1458 +Problem: Crash when using gtags. (issue #4102) +Solution: Check for negative row or col in screen_puts_len(). (Christian + Brabandt) +Files: src/screen.c + +Patch 8.1.1459 +Problem: Popup window border looks bad when 'ambiwidth' is "double". + (Yasuhiro Matsumoto) +Solution: Only use line drawing characters when 'ambiwidth' is "single". + (Ken Takata, closes #4477) +Files: src/screen.c + +Patch 8.1.1460 +Problem: Popup window border characters may be wrong. +Solution: Reset the border characters for each popup. Correct use of + 'ambiwidth'. +Files: src/screen.c + +Patch 8.1.1461 +Problem: Tests do not run or are not reliable on some systems. +Solution: Use "findstr" instead of "grep" on MS-Windows. Clear + PROMPT_COMMAND in the terminal test. Delete temp file. Wait for + output after executing a debug command. (Yegappan Lakshmanan, + closes #4479) +Files: src/testdir/test_debugger.vim, src/testdir/test_environ.vim, + src/testdir/test_filetype.vim, src/testdir/test_source.vim, + src/testdir/test_terminal.vim + +Patch 8.1.1462 +Problem: MS-Windows: using special character requires quoting. +Solution: Add quotes. (Ken Takata) +Files: src/testdir/test_environ.vim + +Patch 8.1.1463 +Problem: Gcc warns for uninitialized variable. +Solution: Put usage inside "if". (Ken Takata) +Files: src/textprop.c + +Patch 8.1.1464 +Problem: Only 4-digit rgb termresponse is recognized. +Solution: Also recognize 2-digit rgb response. (closes #4486) +Files: src/term.c, src/test_termcodes.vim + +Patch 8.1.1465 +Problem: Allocating wrong amount of memory. (Yegappan Lakshmanan) +Solution: Use sizeof() for right type of struct. +Files: src/memfile_test.c + +Patch 8.1.1466 +Problem: Not updating priority on existing sign. +Solution: Set the sign priority. Add a test. (Yegappan Lakshmanan) +Files: src/sign.c, src/testdir/test_signs.vim, runtime/doc/eval.txt, + runtime/doc/sign.txt + +Patch 8.1.1467 (after 8.1.1465) +Problem: Cscope test fails. +Solution: Update expected text. +Files: src/testdir/test_cscope.vim + +Patch 8.1.1468 +Problem: The generated desktop files may be invalid. +Solution: Check validity with desktop-file-validate. (Christian Brabandt, + Will Thompson, closes #4480) +Files: src/po/Makefile + +Patch 8.1.1469 +Problem: No test for checking the cursor style response. +Solution: Add a simple test. Also include the missing part of 8.1.1464. +Files: src/term.c, src/testdir/test_termcodes.vim + +Patch 8.1.1470 +Problem: New Unicode character U32FF missing from double-width table. +Solution: Add the character. +Files: src/mbyte.c + +Patch 8.1.1471 +Problem: 'background' not correctly set for 2-digit rgb termresponse. +Solution: Adjust what digit to use. (closes #4495) +Files: src/term.c, src/testdir/test_termcodes.vim + +Patch 8.1.1472 +Problem: Add_termcap_entry() is not tested. +Solution: Add a simple test. +Files: src/testdir/test_termcodes.vim + +Patch 8.1.1473 +Problem: New resolve() implementation causes problem for plugins. +Solution: Only resolve a resparse point after checking it is needed. (Ken + Takata, closes #4492) +Files: src/os_mswin.c, src/testdir/test_functions.vim + +Patch 8.1.1474 +Problem: 'ttybuiltin' is not tested. +Solution: At least test that it doesn't break things. +Files: src/testdir/test_termcodes.vim + +Patch 8.1.1475 +Problem: Search string not displayed when 'rightleft' is set. +Solution: Clear the right part of the old text. (closes #4488, closes #4489) +Files: src/search.c, src/testdir/test_search.vim + +Patch 8.1.1476 +Problem: No statistics displayed after running tests. +Solution: Summarize the test results. (Christian Brabandt, closes #4391) + Also make it possible to report a skipped file. +Files: src/Makefile, src/testdir/Makefile, src/testdir/summarize.vim, + src/testdir/runtest.vim, src/testdir/test_arabic.vim, + src/testdir/test_autochdir.vim, src/testdir/test_balloon.vim + +Patch 8.1.1477 +Problem: Test summary fails in the tiny version. +Solution: set 'nocompatible'. +Files: Filelist, src/testdir/summarize.vim + +Patch 8.1.1478 +Problem: Still an error when running tests with the tiny version. +Solution: Do not try reading test.log +Files: src/testdir/Makefile, src/testdir/summarize.vim + +Patch 8.1.1479 +Problem: Change included for debugging only. +Solution: Restore the REDIR_TEST_TO_NULL line. +Files: src/testdir/Makefile + +Patch 8.1.1480 +Problem: Desktop file check doesn't run on CI. +Solution: Install the desktip-file-utils packages. (Christian Brabandt, + closes #4498) +Files: .travis.yml + +Patch 8.1.1481 +Problem: Length for two-digit rgb termresponse is off by one. +Solution: Adjust the length. (closes #4494) +Files: src/term.c + +Patch 8.1.1482 +Problem: No test for wincol() depending on the 'number' option. +Solution: Add a couple of tests. (Christian Brabandt, closes #4500) +Files: src/testdir/test_gui.vim + +Patch 8.1.1483 +Problem: Skipped tests are not properly listed. +Solution: Throw a "Skipped" exception instead of using ":finish" or ":return". +Files: src/testdir/test_breakindent.vim, src/testdir/test_cdo.vim, + src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, + src/testdir/test_balloon.vim, src/testdir/test_conceal.vim, + src/testdir/test_debugger.vim, src/testdir/test_diffmode.vim, + src/testdir/test_fold.vim, src/testdir/test_highlight.vim, + src/testdir/test_popup.vim, src/testdir/test_popupwin.vim, + src/testdir/test_search.vim, src/testdir/test_startup.vim, + src/testdir/test_startup_utf8.vim, src/testdir/test_syntax.vim, + src/testdir/test_tabpage.vim, src/testdir/test_termencoding.vim, + src/testdir/test_terminal.vim, src/testdir/test_textprop.vim, + src/testdir/test_timers.vim + +Patch 8.1.1484 +Problem: Some tests are slow. +Solution: Add timing to the test messages. Fix double free when quitting in + VimLeavePre autocmd. +Files: src/testdir/runtest.vim, src/eval.c + +Patch 8.1.1485 +Problem: Double free when garbage_collect() is used in autocommand. +Solution: Have garbage collection also set the copyID in funccal_stack. +Files: src/eval.c, src/userfunc.c + +Patch 8.1.1486 +Problem: A listener change is merged even when it adds a line. (Paul Jolly) +Solution: Do not merge a change that adds or removes a line. (closes #4490) +Files: src/change.c, src/testdir/test_listener.vim + +Patch 8.1.1487 +Problem: Older msgfmt cannot generate proper .desktop file. +Solution: Add a configure check to not use this msgfmt version. (Ken Takata) +Files: src/configure.ac, src/auto/configure + +Patch 8.1.1488 +Problem: Summary of tests has incorrect failed count. +Solution: Add to the failed count instead of setting it. (Christian Brabandt) +Files: src/testdir/summarize.vim + +Patch 8.1.1489 +Problem: Sign order wrong when priority was changed. +Solution: Reorder signs when priority is changed. (Yegappan Lakshmanan, + closes #4502) +Files: src/quickfix.c, src/sign.c, src/testdir/test_signs.vim + +Patch 8.1.1490 +Problem: When a single test fails the exit code is not set. (Daniel Hahler) +Solution: Add an exit command. (closes #4506) +Files: src/testdir/Makefile + +Patch 8.1.1491 +Problem: When skipping over code after an exception was thrown expression + evaluation is aborted after a function call. (Ingo Karkat) +Solution: Do not fail if not executing the expression. (closes #4507) +Files: src/eval.c, src/testdir/test_eval_stuff.vim + +Patch 8.1.1492 +Problem: MS-Windows: when "!" is in 'guioptions' ":!start" fails. +Solution: Do not use a terminal window when the shell command begins with + "!start". (Yasuhiro Matsumoto, closes #4504) +Files: src/misc2.c, src/os_win32.c + +Patch 8.1.1493 +Problem: Redrawing with popups is slow and causes flicker. +Solution: Avoid clearing and redrawing using a zindex mask. +Files: src/globals.h, src/screen.c, src/proto/screen.pro, src/popupwin.c, + src/popupmnu.c + +Patch 8.1.1494 (after 8.1.1493) +Problem: Build failure. +Solution: Add missing changes. +Files: src/structs.h + +Patch 8.1.1495 (after 8.1.1494) +Problem: Memory access error. +Solution: Use the correct size for clearing the popup mask. +Files: src/screen.c + +Patch 8.1.1496 +Problem: Popup window height is not recomputed. +Solution: Recompute the height when needed. +Files: src/popupwin.c, src/testdir/dumps/Test_popupwin_06.dump + +Patch 8.1.1497 +Problem: Accessing memory beyond allocated space. +Solution: Check column before accessing popup mask. +Files: src/screen.c + +Patch 8.1.1498 +Problem: ":write" increments b:changedtick even though nothing changed. + (Daniel Hahler) +Solution: Only increment b:changedtick if the modified flag is reset. +Files: src/change.c, src/proto/change.pro, runtime/doc/eval.txt, + src/buffer.c, src/ex_cmds2.c, src/fileio.c, src/memline.c, + src/undo.c + +Patch 8.1.1499 +Problem: Ruler not updated after popup window was removed. +Solution: use popup_mask in screen_puts(). +Files: src/screen.c, src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_07.dump, + src/testdir/dumps/Test_popupwin_08.dump + +Patch 8.1.1500 +Problem: Wrong shell command when building with VIMDLL and "!" in + 'guioptions'. +Solution: Add check for GUI in use. (Ken Takata) +Files: src/misc2.c + +Patch 8.1.1501 +Problem: New behavior of b:changedtick not tested. +Solution: Add a few test cases. (Daniel Hahler) +Files: src/testdir/test_changedtick.vim + +Patch 8.1.1502 +Problem: Cannot play any sound. +Solution: Use libcanberra if available. Add sound functions. +Files: src/configure.ac, src/auto/configure, src/config.h.in, + src/Makefile, src/sound.c, src/proto/sound.pro, src/proto.h, + src/evalfunc.c, src/feature.h, runtime/doc/eval.txt, Filelist, + src/version.c, src/testdir/test_sound.vim, src/testdir/silent.wav, + src/testdir/Make_all.mak, .travis.yml + +Patch 8.1.1503 +Problem: Sound test fails on Travis. +Solution: Set AUDIODEV to "null". +Files: .travis.yml + +Patch 8.1.1504 +Problem: Sound test still fails on Travis. +Solution: Add more lines to the install section. +Files: .travis.yml + +Patch 8.1.1505 +Problem: Running "make clean" twice gives errors. +Solution: Add "-f" to "rm". (closes #4516) +Files: src/testdir/Makefile + +Patch 8.1.1506 +Problem: Syntax error in Travis config. +Solution: Set AUDIODEV in another section. +Files: .travis.yml + +Patch 8.1.1507 +Problem: Sound test still fails on Travis. +Solution: Try another dummy sound approach. +Files: .travis.yml + +Patch 8.1.1508 +Problem: Sound keeps failing on Travis. +Solution: Throw a skipped exception in the test. +Files: src/testdir/test_sound.vim + +Patch 8.1.1509 +Problem: Cmdline_row can become negative, causing a crash. +Solution: Make sure cmdline_row does not become negagive. (closes #4102) +Files: src/misc1.c + +Patch 8.1.1510 +Problem: A plugin cannot easily expand a command like done internally. +Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes #4514) +Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, + src/testdir/test_expand.vim + +Patch 8.1.1511 +Problem: Matches in a popup window are not displayed properly. +Solution: Do display matches in a popup window. (closes #4517) +Files: src/screen.c, src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_matches.dump + +Patch 8.1.1512 +Problem: ch_evalexpr() hangs when used recursively. (Paul Jolly) +Solution: Change ch_block_id from a single number to a list of IDs to wait + on. +Files: src/channel.c, src/structs.h + +Patch 8.1.1513 +Problem: All popup functionality is in functions, except :popupclear. +Solution: Add popup_clear() for consistency. Also rename sound_stopall() to + sound_clear(). +Files: src/ex_cmds.h, src/ex_cmdidxs.h, src/evalfunc.c, src/popupwin.c, + src/proto/popupwin.pro, src/sound.c, src/proto/sound.pro, + src/testdir/test_popupwin.vim src/testdir/test_sound.vim, + runtime/doc/eval.txt runtime/doc/popup.txt + +Patch 8.1.1514 (after 8.1.1492) +Problem: MS-Windows: wrong shell command with ! in 'guioptions'. +Solution: Do not check for ! in 'guioptions' when applying 'shellxquote'. + (Yasuhiro Matsumoto, closes #4519) +Files: src/misc2.c + +Patch 8.1.1515 +Problem: Memory leak reported for sound when build with EXITFREE. +Solution: Free sound stuff when exiting. +Files: src/misc2.c + +Patch 8.1.1516 +Problem: Time reported for a test measured wrong. +Solution: Move the computation to the end of RunTheTest(). (Ozaki Kiichi, + closes #4520) +Files: src/testdir/runtest.vim + +Patch 8.1.1517 +Problem: When a popup changes all windows are redrawn. +Solution: Only update the lines that were affected. Add a file for + profiling popup windows efficiency. +Files: src/screen.c, src/proto/screen.pro, src/ui.c, src/popupwin.c, + src/globals.h, src/testdir/popupbounce.vim, Filelist + +Patch 8.1.1518 +Problem: Crash when setting 'columns' while a popup is visible. +Solution: Recompute all positions when clearing the screen. (closes #4467) +Files: src/screen.c, src/testdir/test_popupwin.vim, + src/testdir/dumps/Test_popupwin_04a.dump + +Patch 8.1.1519 +Problem: 'backupskip' may contain duplicates. +Solution: Add the P_NODUP flag. (Tom Ryder) +Files: src/option.c, src/testdir/test_options.vim + +Patch 8.1.1520 +Problem: Popup windows are ignored when dealing with mouse position +Solution: Find the mouse position inside a popup window. Allow for modeless + selection. +Files: src/ui.c, src/proto/ui.pro, src/popupwin.c, + src/proto/popupwin.pro, src/screen.c, src/beval.c, src/edit.c, + src/evalfunc.c, src/gui.c, src/normal.c, src/structs.h + +Patch 8.1.1521 +Problem: When a popup window is closed the buffer remains. +Solution: Wipe out the buffer. +Files: src/window.c, src/testdir/test_popupwin.vim + +Patch 8.1.1522 +Problem: Popup_notification() not implemented yet. +Solution: Implement it. +Files: src/popupwin.c, src/proto/popupwin.pro, src/evalfunc.c, + src/structs.h, src/testdir/test_popupwin.vim, + runtime/doc/popup.txt + src/testdir/dumps/Test_popupwin_notify_01.dump, + src/testdir/dumps/Test_popupwin_notify_02.dump + +Patch 8.1.1523 +Problem: Cannot show range of buffer lines in popup window. +Solution: Add the "firstline" property. (closes #4523) +Files: src/popupwin.c, src/structs.h, runtime/doc/popup.txt, + src/testdir/test_popupwin.vim, + testdir/dumps/Test_popupwin_firstline.dump + +Patch 8.1.1524 +Problem: Tests are silently skipped. +Solution: Throw an exception for skipped tests in more places. +Files: src/testdir/test_assert.vim, src/testdir/test_paste.vim, + src/testdir/shared.vim, src/testdir/test_crypt.vim, + src/testdir/test_cscope.vim, src/testdir/test_digraph.vim, + src/testdir/test_float_func.vim, src/testdir/test_gui.vim, + src/testdir/test_gui_init.vim, src/testdir/test_history.vim, + src/testdir/test_langmap.vim, src/testdir/test_listlbr.vim, + src/testdir/test_listlbr_utf8.vim, src/testdir/test_lua.vim, + src/testdir/test_makeencoding.vim, + src/testdir/test_matchadd_conceal.vim, + src/testdir/test_matchadd_conceal_utf8.vim, + |