# HG changeset patch # User Bram Moolenaar # Date 1576102504 -3600 # Node ID ef90e5bbb971213f211373c587eebf9ded82f1eb # Parent b56a6c6d1772be1cc922df08acf0a45012c1a10a Minor runtime file updates. Commit: https://github.com/vim/vim/commit/469bdbde1e8ea8110705327ab193acca79296742 Author: Bram Moolenaar Date: Wed Dec 11 23:05:48 2019 +0100 Minor runtime file updates. diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 8.1. Last change: 2019 Sep 16 +*autocmd.txt* For Vim version 8.1. Last change: 2019 Dec 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -387,6 +387,8 @@ BufAdd or BufCreate Just after creating to the buffer list. Also used just after a buffer in the buffer list has been renamed. + Not triggered for the initial buffers created + during startup. The BufCreate event is for historic reasons. NOTE: When this autocommand is executed, the current buffer "%" may be different from the diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt --- a/runtime/doc/pi_netrw.txt +++ b/runtime/doc/pi_netrw.txt @@ -1,4 +1,4 @@ -*pi_netrw.txt* For Vim version 8.1. Last change: 2019 Dec 09 +*pi_netrw.txt* For Vim version 8.1. Last change: 2019 Dec 10 ------------------------------------------------ NETRW REFERENCE MANUAL by Charles E. Campbell @@ -1184,7 +1184,7 @@ One may easily "bookmark" the currently *.netrwbook* Bookmarks are retained in between sessions of vim in a file called .netrwbook as a |List|, which is typically stored in the first directory on the user's -runtimepath'; entries are kept in sorted order. +'runtimepath'; entries are kept in sorted order. If there are marked files and/or directories, mb will add them to the bookmark list. diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1,4 +1,4 @@ -*starting.txt* For Vim version 8.1. Last change: 2019 Jul 30 +*starting.txt* For Vim version 8.1. Last change: 2019 Dec 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -928,7 +928,8 @@ 11. Open all windows displayed yet). When switching screens, it happens now. Redrawing starts. If the "-q" flag was given to Vim, the first error is jumped to. - Buffers for all windows will be loaded. + Buffers for all windows will be loaded, without triggering |BufAdd| + autocommands. 12. Execute startup commands If a "-t" flag was given to Vim, the tag is jumped to. diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 8.1. Last change: 2019 Dec 08 +*todo.txt* For Vim version 8.1. Last change: 2019 Dec 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -120,6 +120,8 @@ E654, E856, E857, E860, E861, E863, E889 Patch to move duplicated code to a function. (Yegappan Lakshmanan, #5330) +Patch to use more FOR_ALL_ macros and use them. (Yegappan Lakshmanan, #5339) + Running test_gui and test_gui_init with Motif sometimes kills the window manager. Problem with Motif? Now test_gui crashes in submenu_change(). Athena is OK. @@ -128,6 +130,9 @@ Motif: Build on Ubuntu can't enter any t Patch to properly break CJK lines: Anton Kochkov, #3875 Flag in 'formatoptions' is not used in the tests. +Patch to add 'vtp' option. (#5344) +Needs better docs. Is there a better name? + undo result wrong: Masato Nishihata, #4798 Undo puts cursor in wrong line after "cG" undo. diff --git a/runtime/doc/version8.txt b/runtime/doc/version8.txt --- a/runtime/doc/version8.txt +++ b/runtime/doc/version8.txt @@ -1,4 +1,4 @@ -*version8.txt* For Vim version 8.1. Last change: 2019 Dec 09 +*version8.txt* For Vim version 8.1. Last change: 2019 Dec 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -41061,6 +41061,82 @@ Problem: MS-Windows: test_iminsert fa Solution: Skip the test when imgetstatus() doesn't work. Files: src/testdir/test_iminsert.vim +Patch 8.1.2411 +Problem: Function argument copied unnecessarily. +Solution: Use the argument directly. +Files: src/ex_docmd.c + +Patch 8.1.2412 +Problem: Crash when evaluating expression with error. (Dhiraj Mishra) +Solution: Check parsing failed. (closes #5329) +Files: src/eval.c, src/testdir/test_lambda.vim + +Patch 8.1.2413 +Problem: Cannot update ex_cmdidxs.h on MS-Windows. +Solution: Add build rules and dependencies. (Ken Takata, closes #5337) +Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms + +Patch 8.1.2414 +Problem: MS-Windows: properties dialog box shows wrong character. +Solution: Explicitly specify encoding. (Ken Takata, closes #5338) +Files: src/vim.rc + +Patch 8.1.2415 +Problem: Popup menu flickers if an info popup is used. (Nick Jensen) +Solution: Set the pum_skip_redraw flag. +Files: src/popupmenu.c + +Patch 8.1.2416 +Problem: Loading menus sets v:errmsg. +Solution: Avoid setting v:errmsg and add a test for that. (Jason Franklin) +Files: runtime/delmenu.vim, runtime/menu.vim, src/testdir/test_menu.vim + +Patch 8.1.2417 +Problem: MinGW/Cygwin build does not clean up all files. +Solution: Delete *.map files. (Michael Soyka) +Files: src/Make_cyg_ming.mak + +Patch 8.1.2418 +Problem: bufnr('$') is wrong after recycling popup buffer. +Solution: Sort the buffer list by buffer number. (closes #5335) +Files: src/buffer.c, src/testdir/test_popupwin.vim + +Patch 8.1.2419 +Problem: With a long file name the hit-enter prompt appears. (J. Lewis + Muir) +Solution: When checking for text to wrap don't do this when outputing a CR. +Files: src/message.c, src/testdir/test_display.vim, + src/testdir/dumps/Test_long_file_name_1.dump + +Patch 8.1.2420 +Problem: Crash when calling popup_close() in win_execute(). +Solution: Disallow popup_close() in popup window. (Yasuhiro Matsumoto, + closes #5345) +Files: src/popupwin.c, src/testdir/test_popupwin.vim + +Patch 8.1.2421 +Problem: Test88 is old style. +Solution: Turn into a new style test. (Yegappan Lakshmanan, closes #5347) +Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, + src/testdir/test88.in, src/testdir/test88.ok, + src/testdir/test_conceal.vim, src/testdir/test_python2.vim + src/testdir/test_python3.vim + +Patch 8.1.2422 +Problem: "make depend" does not work correctly for libvterm. +Solution: Fix build dependencies. And a few minor improvements. +Files: src/Makefile, src/filepath.c, src/insexpand.c, src/main.c + +Patch 8.1.2423 +Problem: MS-Windows properties shows version as "8, 1, 0". +Solution: Use "8.1.0". (Ken Takata, closes #5342) +Files: src/vim.rc + +Patch 8.1.2424 +Problem: MS-Windows: console buffer is resized unnecessarily. +Solution: Only call ResizeConBuf() when the size differs. (Nobuhiro + Takasaki, closes #5343) +Files: src/os_win32.c vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim --- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim +++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim @@ -2,7 +2,7 @@ " " Author: Bram Moolenaar " Copyright: Vim license applies, see ":help license" -" Last Update: 2018 Jun 3 +" Last Change: 2019 Dec 11 " " WORK IN PROGRESS - Only the basics work " Note: On MS-Windows you need a recent version of gdb. The one included with @@ -626,7 +626,7 @@ func s:GotoProgram() call system(printf('powershell -Command "add-type -AssemblyName microsoft.VisualBasic;[Microsoft.VisualBasic.Interaction]::AppActivate(%d);"', s:pid)) endif else - win_gotoid(s:ptywin) + call win_gotoid(s:ptywin) endif endfunc