Re: [vim/vim] test_tabpage: Check in Test_tabpage_with_tab_modifier (#1042)

2016-09-05 Fir de Conversatie h_east
Hi James, 2016-9-6(Tue) 12:11:28 UTC+9 James McCoy: > If the tests are run in a (fake)root environment, > > Test_tabpage_with_tab_modifier fails when run through test_alot.vim. > > This is due to being set by the modeline of the help files, > > and modelines are disabled when running as

Re: Bug: make cannot run testdir/Make_ming.mak using a unix shell under Windows 10

2016-09-05 Fir de Conversatie Ken Takata
Hi mike, 2016/9/5 Mon 23:34:05 UTC+9 Michael Soyka wrote: > Hi Ken, > > On 9/5/2016 12:26 AM, Ken Takata wrote: > > Hi mike, > > > > 2016/9/5 Mon 10:07:00 UTC+9 Michael Soyka wrote: > >> The makefile testdir/Make_ming.mak contains statements of the form: > >> > >> if exist test.ok $(DEL)

Re: test_autocmd.vim missing from Make_all.mak

2016-09-05 Fir de Conversatie Bram Moolenaar
Yegappan Lakshmanan wrote: > Why is the test_autocmd.vim file missing from src/testdir/Make_all.mak? > When I added the test to Make_all.mak, I found the > Test_cursorhold_insert() and Test_three_windows() tests are failing. The test is loaded through testdir/test_alot.vim. Strange that the

Re: Test test_getcwd needs to have noswapfile option set

2016-09-05 Fir de Conversatie Bram Moolenaar
Michael Soyka wrote: > The Vim test "test_getcwd" creates a temporary directory "Xtopdir" that > should be deleted at test conclusion but is not. This directory is not > deleted because the test has created swap files that apparently are open > when the test attempts to cleanup before

Patch 7.4.2334

2016-09-05 Fir de Conversatie Bram Moolenaar
Patch 7.4.2334 Problem:On MS-Windows test_getcwd leaves Xtopdir behind. Solution: Set 'noswapfile'. (Michael Soyka) Files: src/testdir/test_getcwd.in *** ../vim-7.4.2333/src/testdir/test_getcwd.in 2016-06-08 21:48:47.197167861 +0200 --- src/testdir/test_getcwd.in 2016-09-05

Patch 7.4.2333

2016-09-05 Fir de Conversatie Bram Moolenaar
Patch 7.4.2333 Problem:Outdated comments in test. Solution: Cleanup normal mode test. (Christian Brabandt) Files: src/testdir/test_normal.vim *** ../vim-7.4.2332/src/testdir/test_normal.vim 2016-09-04 15:13:36.617508762 +0200 --- src/testdir/test_normal.vim 2016-09-05

Re: small adjustments to test_normal.vim

2016-09-05 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > Hi, > this patch adds some small changes to the test_normal.vim test > > - throw "Skipped" for the skipped part of the test (since that is now > possible since 7.4.2321) > - fixes some small bugs > - removes obsolete comments > > I will probably go through

Re: Patch 7.4.2304

2016-09-05 Fir de Conversatie Bram Moolenaar
Ozaki Kiichi wrote: > Calling timer_stop in timer-callback causes SEGV. > > [repro steps] > > test.vim: > > function! StopTimer1(timer) > let g:timer2 = timer_start(50, 'StopTimer2') > " avoid bothersome maxfuncdepth error > call timer_pause(g:timer1, 1) > sleep 100m > endfunction

Patch 7.4.2332

2016-09-05 Fir de Conversatie Bram Moolenaar
Patch 7.4.2332 Problem:Crash when stop_timer() is called in a callback of a callback. Vim hangs when the timer callback uses too much time. Solution: Set tr_id to -1 when a timer is to be deleted. Don't keep calling callbacks forever. (Ozaki Kiichi) Files:

test_autocmd.vim missing from Make_all.mak

2016-09-05 Fir de Conversatie Yegappan Lakshmanan
Hi all, Why is the test_autocmd.vim file missing from src/testdir/Make_all.mak? When I added the test to Make_all.mak, I found the Test_cursorhold_insert() and Test_three_windows() tests are failing. - Yegappan -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type

[bug] read heap overflow in do_pending_operator()

2016-09-05 Fir de Conversatie Dominique Pellé
Hi Here is one more bug found by afl-fuzz in vim-7.4.2330 an older: $ cat bug.vim new call append(0, [" a", "b"]) norm kVdggViw bw! %d $ valgrind --num-callers=20 vim -u NONE -S bug.vim -c q 2> log $ cat log ==7787== Memcheck, a memory error detector ==7787== Copyright (C) 2002-2015, and GNU

Patch 7.4.2331

2016-09-05 Fir de Conversatie Bram Moolenaar
Patch 7.4.2331 Problem:Using CTRL-X CTRL-V to complete a command line from Insert mode does not work after entering an expression on the command line. Solution: Don't use "ccline" when not actually using a command line. (test by Hirohito Higashi) Files:

Re: callback is not called when job exit immediately.

2016-09-05 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: > behavior is I expected. but tests are failing with my patch. > > From test_channel.vim: > Found errors in Test_out_close_cb(): > function RunTheTest[9]..Test_out_close_cb line 26: Expected 2 but got 0 > Found errors in Test_pipe_to_buffer_name(): > function

Re: [patch] corrections in runtime/doc/version8.txt

2016-09-05 Fir de Conversatie Bram Moolenaar
Marius Gedminas wrote: > On Sat, Sep 03, 2016 at 06:43:06AM +0200, Dominique Pellé wrote: > > diff --git a/runtime/doc/version8.txt b/runtime/doc/version8.txt > > index 61299fb..b7f7b3e 100644 > > --- a/runtime/doc/version8.txt > > +++ b/runtime/doc/version8.txt > > @@ -6364,7 +6364,7 @@ Files:

Re: [patch] corrections in runtime/doc/version8.txt

2016-09-05 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > I also found some typos in the documents. Thanks. -- hundred-and-one symptoms of being an internet addict: 171. You invent another person and chat with yourself in empty chat rooms. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///

Re: callback is not called when job exit immediately.

2016-09-05 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: > On Monday, September 5, 2016 at 11:30:42 AM UTC+9, mattn wrote: > > > Isn't the best solution then to have channel_wait() not return an error? > > > Or is there some way to detect the situation, perhaps by using > > > LastError(). At least it should only affect

Re: [bug?][patch] Vim command completion is not performed, when expression register inserted

2016-09-05 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: > Hi Bram and developers! > > 2016-9-4(Sun) 22:40:41 UTC+9 h_east: > > Hi Bram and developers, > > > > 2016-9-3(Sat) 21:52:42 UTC+9 Bram Moolenaar: > > > Hirohito Higashi wrote: > > > > > > > How to reproduce: > > > > - Prepare the following vim script file. > > > >

Re: callback is not called when job exit immediately.

2016-09-05 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: > > Isn't the best solution then to have channel_wait() not return an error? > > Or is there some way to detect the situation, perhaps by using > > LastError(). At least it should only affect Windows, since on Unix we > > don't want to make this exception. > > I say

Re: [bug?][patch] Vim command completion is not performed, when expression register inserted

2016-09-05 Fir de Conversatie h_east
Hi Bram and developers! 2016-9-4(Sun) 22:40:41 UTC+9 h_east: > Hi Bram and developers, > > 2016-9-3(Sat) 21:52:42 UTC+9 Bram Moolenaar: > > Hirohito Higashi wrote: > > > > > How to reproduce: > > > - Prepare the following vim script file. > > > $ cat sample1.vim > > > function! Sample() > > >

Re: Patch 7.4.2304

2016-09-05 Fir de Conversatie Ozaki Kiichi
[complement] > then vim hangs up and we can't intercept by Ctrl-C. Sorry, 'hang up' is incorrect. Vim accepts key input and redraws screen, but we can't leave from normal mode. > https://gist.github.com/ichizok/d6637a6d368bbf1353a35441c34039a7 This patch changes: * add 'tr_firing' variable to

Re: callback is not called when job exit immediately.

2016-09-05 Fir de Conversatie mattn
On Tuesday, September 6, 2016 at 12:01:35 AM UTC+9, mattn wrote: > Below's change fixes this issue, and not break tests. > > https://gist.github.com/214b61186e2fe091fa65e2b6fbaa8069 > > Thanks. Ah, sorry noisy. Still wrong... -- -- You received this message from the "vim_dev" maillist. Do

Re: callback is not called when job exit immediately.

2016-09-05 Fir de Conversatie mattn
Below's change fixes this issue, and not break tests. https://gist.github.com/214b61186e2fe091fa65e2b6fbaa8069 Thanks. -- -- 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

Re: Bug: make cannot run testdir/Make_ming.mak using a unix shell under Windows 10

2016-09-05 Fir de Conversatie Michael Soyka
Hi Ken, On 9/5/2016 12:26 AM, Ken Takata wrote: Hi mike, 2016/9/5 Mon 10:07:00 UTC+9 Michael Soyka wrote: The makefile testdir/Make_ming.mak contains statements of the form: if exist test.ok $(DEL) test.ok which can only be executed by one of the DOS/Windows command shells such as

Re: [patch] corrections in runtime/doc/version8.txt

2016-09-05 Fir de Conversatie Ken Takata
Hi, I also found some typos in the documents. Regards, Ken Takata -- -- 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 --- You received this message

small adjustments to test_normal.vim

2016-09-05 Fir de Conversatie Christian Brabandt
Hi, this patch adds some small changes to the test_normal.vim test - throw "Skipped" for the skipped part of the test (since that is now possible since 7.4.2321) - fixes some small bugs - removes obsolete comments I will probably go through coverity and add some more tests within the next

Re: [patch] corrections in runtime/doc/version8.txt

2016-09-05 Fir de Conversatie Marius Gedminas
On Sat, Sep 03, 2016 at 06:43:06AM +0200, Dominique Pellé wrote: > diff --git a/runtime/doc/version8.txt b/runtime/doc/version8.txt > index 61299fb..b7f7b3e 100644 > --- a/runtime/doc/version8.txt > +++ b/runtime/doc/version8.txt > @@ -6364,7 +6364,7 @@ Files: src/testdir/Make_dos.mak > >

Re: callback is not called when job exit immediately.

2016-09-05 Fir de Conversatie mattn
behavior is I expected. but tests are failing with my patch. >From test_channel.vim: Found errors in Test_out_close_cb(): function RunTheTest[9]..Test_out_close_cb line 26: Expected 2 but got 0 Found errors in Test_pipe_to_buffer_name(): function