Heap buffer overflow with insert mode completion test

2020-05-03 Fir de Conversatie Yegappan Lakshmanan
Hi, I have crated a PR (#6041) to add new tests for insert mode completion. This is currently failing in the Travis/CI ASAN build because of a heap buffer overflow with the following test: func Test() func! CompleteFunc(findstart, base) if a:findstart == 1 return col('.') - 1 endi

Patch 8.2.0694

2020-05-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0694 Problem:Haiku: channel and terminal do not work. Solution: Close files when the job has finished. (Ozaki Kiichi, closes #6039) Files: src/channel.c, src/getchar.c, src/gui_haiku.cc, src/misc1.c *** ../vim-8.2.0693/src/channel.c 2020-05-03 17:03:26.193

Patch 8.2.0693

2020-05-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0693 Problem:Closure using argument not tested. Solution: Add a test, make it work. Files: src/vim9compile.c, src/testdir/test_vim9_func.vim *** ../vim-8.2.0692/src/vim9compile.c 2020-05-03 15:47:29.989697193 +0200 --- src/vim9compile.c 2020-05-03 22:24:09.820259941 +02

Re: Patch 8.2.0684

2020-05-03 Fir de Conversatie M Kelly
Hi, No prob, just wanted to lyk. Thank you always for your work and to all in the vim community -m -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php ---

Patch 8.2.0692

2020-05-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0692 Problem:Startup test fails on MS-Windows. Solution: Allow for any path. Files: src/testdir/test_startup.vim *** ../vim-8.2.0691/src/testdir/test_startup.vim2020-05-03 17:55:28.532227291 +0200 --- src/testdir/test_startup.vim2020-05-03 18:19:18.40224485

Patch 8.2.0691

2020-05-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0691 Problem:Startup test fails. Solution: Adjust expected output from -V2 argument. Files: src/testdir/test_startup.vim *** ../vim-8.2.0690/src/testdir/test_startup.vim2020-04-08 21:50:18.876619651 +0200 --- src/testdir/test_startup.vim2020-05-03 17:49:49.

Patch 8.2.0690

2020-05-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0690 Problem:Line number of option set by modeline is wrong. Solution: Do not double the line number. (Ozaki Kiichi, closes #6035) Files: src/option.c, src/testdir/test_modeline.vim *** ../vim-8.2.0689/src/option.c2020-05-01 14:26:17.132949262 +0200 --- src/option.c

Patch 8.2.0689

2020-05-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0689 Problem:When using getaddrinfo() the error message is unclear. Solution: Use gai_strerror() to get the message. (Ozaki Kiichi, closes #6034) Files: src/channel.c *** ../vim-8.2.0688/src/channel.c 2020-04-18 18:24:13.110776118 +0200 --- src/channel.c

Patch 8.2.0688

2020-05-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0688 Problem:Output clobbered if setting 'verbose' to see shell commands. Solution: Only output "Searching for" when 'verbose' is 11 or higher. Files: src/scriptfile.c, runtime/doc/options.txt *** ../vim-8.2.0687/src/scriptfile.c2020-04-27 22:47:45.186176148 +0200 --- s

Patch 8.2.0687

2020-05-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0687 Problem:Some tests do not work on FreeBSD. Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi, closes #6036) Files: src/testdir/test_quickfix.vim, src/testdir/test_terminal.vim *** ../vim-8.2.0686/src/testdir/test_quickfix.vim 2020

Patch 8.2.0686

2020-05-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0686 Problem:Formatoptions not sufficiently tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031) Files: src/testdir/test_normal.vim, src/testdir/test_textformat.vim *** ../vim-8.2.0685/src/testdir/test_normal.vim 2020-04-28 20:29:04.237851565 +0200 -

Patch 8.2.0685

2020-05-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0685 (after 8.2.0684) Problem:Build failure. Solution: Include missing changes. Files: src/vim9compile.c *** ../vim-8.2.0684/src/vim9compile.c 2020-05-02 23:12:54.722410350 +0200 --- src/vim9compile.c 2020-05-03 15:15:09.572779336 +0200 *** *** 3905,3910 ***

Re: Patch 8.2.0684

2020-05-03 Fir de Conversatie Bram Moolenaar
> Latest gives a compile error - > > vim9compile.c: In function ‘delete_def_function_contents’: > vim9compile.c:6637:14: error: ‘dfunc_T’ {aka ‘struct dfunc_S’} has no > member named ‘df_funcstack’ > 6637 | if (dfunc->df_funcstack != NULL) > > In on Linux 18.04 + hwe gcc 9.3 > I'll start

Re: Patch 8.2.0684

2020-05-03 Fir de Conversatie M Kelly
Hi, Latest gives a compile error - vim9compile.c: In function ‘delete_def_function_contents’: vim9compile.c:6637:14: error: ‘dfunc_T’ {aka ‘struct dfunc_S’} has no member named ‘df_funcstack’ 6637 | if (dfunc->df_funcstack != NULL) In on Linux 18.04 + hwe gcc 9.3 I'll start digging. thx,

Patch 8.2.0684

2020-05-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0684 Problem:Vim9: memory leak when using lambda. Solution: Move the funccal context to the partial. Free the function when exiting. Files: src/vim9.h, src/structs.h, src/vim9execute.c, src/userfunc.c, src/eval.c, src/testdir/test_vim9_func.vim *** .