Update runtime files
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index d8f2988..07ca1ee 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 8.2. Last change: 2020 Mar 13
+*todo.txt* For Vim version 8.2. Last change: 2020 Mar 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,16 +38,14 @@
*known-bugs*
-------------------- Known bugs and current work -----------------------
-When starting a terminal popup the size defaults to nothing. Should have a
-sensible default, e.g. four lines of 30 chars.
-call popup_create(term_start(&shell, #{hidden: 1}), #{})
+Add second argument to has(), return True when the feature can exist at all.
-Test_terminal_in_popup() still sometimes fails with "All" instead of "Top".
+Patch to fix buffer menu. (Yee Cheng Chin, #5787)
-Patch to fix vimtutor problems on Windows (Wu Yongwei, #5774)
-
-Additional tests for menu. (Yegappan, #5760)
-Introduces menu_info(), check that out.
+Add $TEST_MAY_FAIL, comma separated list of test functions that won't be fatal
+when failed.
+- When matcning in AfterTheTest() then do not add to s:errors but to
+ s:warnings. in testdir/runtest.vim
Vim9 script:
- Add vim9 commands to index, so that vim.vim will get them automatically.
@@ -66,8 +64,8 @@
- Check that import in legacy script works and puts item in s:
- Error in any command in "vim9script" aborts sourcing.
- Find a way to test expressions in legacy and Vim9 script without duplication
+- Fix memory leaks for test_vim9_disassemble, test_vim9_expr, test_vim9_script
- Test each level of expressions properly, with type checking
-- Test the
- Test try/catch and throw better, also nested.
Test return inside try/finally jumps to finally and then returns.
- call autoload function.
@@ -93,10 +91,13 @@
LOADVARARG (varags idx)
Popup windows:
+- With some sequence get get hidden finished terminal buffer. (#5768)
+ Cannot close popup terminal (#5744)
+ Buffer can't be wiped, gets status "aF". (#5764)
+ Is buf->nwindows incorrect?
- popup_clear() and popup_close() should close the terminal popup, and
make the buffer hidden. #5745
- With terminal in popup, allow for popup_hide() to temporarily hide it.?
-- With some sequence get get hidden finished terminal buffer. (#5768)
- Fire some autocommand event after a new popup window was created and
positioned? PopupNew? Could be used to set some options or move it out of
the way. (#5737)
@@ -190,6 +191,10 @@
Patch to fix drawing error with DirectX. (James Grant, #5688)
Causes flicker on resizing.
+Patch to make lambda functions faster (Ken Takata)
+https://github.com/vim/vim/pull/5727
+ LGTM remark: size derived from user input (getenv). Don't see how.
+
Patch to use more FOR_ALL_ macros and use them. (Yegappan Lakshmanan, #5339)
Patch to explain use of "%" in :!. (David Briscoe, #5591)
@@ -252,6 +257,9 @@
Also #4994: window-local options not always restored, related to using :badd.
Also #5326: netrw buffers are not restored.
+When 'backupdir' has a path ending in double slash (meaning: use full path of
+the file) combined with 'patchmode' the file name is wrong. (#5791)
+
Patch to support cindent option to handle pragmas differently.
(Max Rumpf, #5468)
@@ -353,6 +361,8 @@
Patch to support "0o" for octal numbers. (Ken Takata, #5304)
+Patch to enable IXON, avoid that CTRL-S stops terminal output. (#5775)
+
When getting a focus event halfway a mapping this aborts the mapping. E.g.
when "qq" is mapped and after the first "q" the mouse is moved outside of the
gvim window (with focus follows mouse), then the K_FOCUSLOST key is put in the
@@ -637,7 +647,12 @@
Add buffer argument to undotree(). (#4001)
Using uninitialized value in test_gn
-Using uninitialized value in test_crypt.
+Using uninitialized value in test_crypt (can't explain why).
+memory leak in test_cmdline
+==6522== by 0x291AFF: ga_grow (misc2.c:2069)
+==6522== by 0x3D5B4B: win_size_save (window.c:5243)
+==6522== by 0x222922: open_cmdwin (ex_getln.c:4177)
+==6522== by 0x21D472: getcmdline_int (ex_getln.c:1376)
memory leak in test_paste
Memory leak in test_terminal:
==23530== by 0x2640D7: alloc (misc2.c:874)
@@ -649,6 +664,7 @@
==23530== by 0x35C923: term_start (terminal.c:421)
==23530== by 0x2AFF30: mch_call_shell_terminal (os_unix.c:4377)
==23530== by 0x2B16BE: mch_call_shell (os_unix.c:5383)
+Memory leak in test_terminal_fail
TODO: be able to run all parts of test_alot with valgrind separately
Memory leak in test_alot with pyeval() (allocating partial)
Memory leak in test_alot with expand()