Re: Patch 7.4.704

2016-03-28 Fir de Conversatie Dominique Pellé
Bram Moolenaar wrote: > Patch 7.4.704 > Problem:Searching for a character matches an illegal byte and causes > invalid memory access. (Dominique Pelle) > Solution: Do not match an invalid byte when search for a character in a > string. Fix equivalence classes using n

Compile Error for Z/OS in regexp_nfa.c

2016-03-28 Fir de Conversatie Owen Leibman
Porting the current source code (latest stable version vim-7.4.tar.bz2 from vim.org download page) to z/OS, I encountered the following problem: ERROR CCN3052 ./regexp_nfa.c:745 Duplicate case label for value 193. Labels must be unique. There were many other messages for similar errors. The c

Re: [vim] inconsistent parenthesis matching (#711)

2016-03-28 Fir de Conversatie h_east
Hi Rodolfo, 2016-3-28(Mon) 23:27:15 UTC+9 Rodolfo Borges: > Neovim is installed matchit.vim by default. > > > > Haven't noticed that. I don't use neovim yet, in fact I just installed to > check this bug. > > > Thanks for explaining, I wasn't aware of extra plugins by default in neovim. > >

Re: [win32][patch] Updated large file patches

2016-03-28 Fir de Conversatie Ken Takata
Hi Bram, 2016/3/29 Tue 3:11:03 UTC+9 Bram Moolenaar wrote: > Ken Takata wrote: > > > 2016/2/1 Mon 22:34:43 UTC+9 Ken Takata wrote: > > > I think that all the style changes have completed. > > > Here are the updated large file patches for 7.4.1229. > > > > I have updated the large file patches fo

Re: [PATCH] Incorrect cursor position on a long wrapped-line

2016-03-28 Fir de Conversatie Ozaki Kiichi
Would you bear this issue in mind? ;-( -- -- 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 because you are subscribed to the G

Re: [patch] fixed harmless compilation warning in if_mzsch.c

2016-03-28 Fir de Conversatie Dominique Pellé
Bram Moolenaar wrote: > Dominique wrote: > >> Compiling vim-7.4.1671 with mzscheme, I see >> 2 harmless compilation warnings: >> >> In file included from if_mzsch.c:812:0: >> mzscheme_base.c: In function ‘declare_modules’: >> mzscheme_base.c:4:41: warning: unused parameter ‘env’ [-Wunused-paramete

Patch 7.4.1683

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1683 Problem:Generated .bat files do not support --nofork. Solution: Add check for --nofork. Also add "setlocal". (Kevin Cantú, closes #659) Files: src/dosinst.c *** ../vim-7.4.1682/src/dosinst.c 2013-11-21 18:13:26.0 +0100 --- src/dosinst.c

Patch 7.4.1682

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1682 Problem:Coverity: no check for NULL. Solution: Add check for invalid argument to assert_match(). Files: src/eval.c *** ../vim-7.4.1681/src/eval.c 2016-03-28 22:44:46.846956799 +0200 --- src/eval.c 2016-03-28 22:46:41.413791863 +0200 *** *** 9580,9586

Patch 7.4.1681

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1681 Problem:Coverity warns for fixed size buffer length (false positive). Solution: Add a check for the name length. Files: src/eval.c *** ../vim-7.4.1680/src/eval.c 2016-03-28 22:30:46.795497938 +0200 --- src/eval.c 2016-03-28 22:41:41.512841267 +0200 *** ***

Patch 7.4.1680

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1680 Problem:Coverity warns for not checking name length (false positive). Solution: Only copy the characters we know are there. Files: src/channel.c *** ../vim-7.4.1679/src/channel.c 2016-03-28 19:16:15.661846574 +0200 --- src/channel.c 2016-03-28 22:33:50.74562

Patch 7.4.1679

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1679 Problem:Coverity: copying value of v_lock without initializing it. Solution: Init v_lock in rettv_list_alloc() and rettv_dict_alloc(). Files: src/eval.c *** ../vim-7.4.1678/src/eval.c 2016-03-28 19:27:09.951194772 +0200 --- src/eval.c 2016-03-28 22:25:28.590732917 +02

Re: [patch] fixed harmless compilation warning in if_mzsch.c

2016-03-28 Fir de Conversatie Bram Moolenaar
Dominique wrote: > Compiling vim-7.4.1671 with mzscheme, I see > 2 harmless compilation warnings: > > In file included from if_mzsch.c:812:0: > mzscheme_base.c: In function ‘declare_modules’: > mzscheme_base.c:4:41: warning: unused parameter ‘env’ [-Wunused-parameter] > static void declare_modu

Patch 7.4.1678

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1678 Problem:Warning for unused argument. Solution: Add UNUSED. (Dominique Pelle) Files: src/if_mzsch.c *** ../vim-7.4.1677/src/if_mzsch.c 2016-03-19 22:11:47.424674965 +0100 --- src/if_mzsch.c 2016-03-28 22:10:32.399844114 +0200 *** *** 1073,1079

Patch 7.4.1677

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1677 Problem:A reference to the removed file_select plugin remains. Solution: Remove it. Files: runtime/macros/README.txt *** ../vim-7.4.1676/runtime/macros/README.txt 2016-03-28 21:26:30.438708916 +0200 --- runtime/macros/README.txt 2016-03-28 22:03:04.304404742 +0200

Patch 7.4.1676

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1676 Problem:The shellmenu plugin has to be copied or sourced to be used. Solution: Turn it into a package. Files: runtime/macros/shellmenu.vim, runtime/macros/README.txt, runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim, Filelist *** ../vim-7.4.1675/runtime/

Patch 7.4.1675

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1675 Problem:The swapmous plugin has to be copied or sourced to be used. Solution: Turn it into the swapmouse package. Files: runtime/macros/swapmous.vim, runtime/macros/README.txt, runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim, Filelist *** ../vim-7.4.167

Patch 7.4.1674

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1674 Problem:The editexisting plugin has to be copied or sourced to be used. Solution: Turn it into a package. Files: runtime/macros/editexisting.vim, runtime/macros/README.txt, runtime/pack/dist/opt/editexisting/plugin/editexisting.vim, Filelist ***

Re: [patch] fixed harmless compilation warning in if_mzsch.c

2016-03-28 Fir de Conversatie Dominique Pellé
Dominique Pellé wrote: > Attached patch fixes the second warning. > The first warning is in a generated file, so we need to fix it. I meant: The first warning is in a generated file, so we *don't* need to fix it. Dominique -- -- You received this message from the "vim_dev" maillist. Do not to

Patch 7.4.1673

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1673 Problem:The justify plugin has to be copied or sourced to be used. Solution: Turn it into a package. Files: runtime/macros/justify.vim, runtime/macros/README.txt, runtime/pack/dist/opt/justify/plugin/justify.vim, Filelist *** ../vim-7.4.1672/runtime/macros/j

[patch] fixed harmless compilation warning in if_mzsch.c

2016-03-28 Fir de Conversatie Dominique Pellé
Hi Compiling vim-7.4.1671 with mzscheme, I see 2 harmless compilation warnings: In file included from if_mzsch.c:812:0: mzscheme_base.c: In function ‘declare_modules’: mzscheme_base.c:4:41: warning: unused parameter ‘env’ [-Wunused-parameter] static void declare_modules(Scheme_Env *env) {

Patch 7.4.1672

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1672 Problem:The Dvorak support is a bit difficult to install. Solution: Turn it into an optional package. Files: runtime/macros/dvorak, runtime/macros/README.txt, runtime/pack/dist/opt/dvorak/plugin/dvorak.vim, runtime/pack/dist/opt/dvorak/dvorak/enabl

Re: [win32][patch] Updated large file patches

2016-03-28 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2016/2/1 Mon 22:34:43 UTC+9 Ken Takata wrote: > > I think that all the style changes have completed. > > Here are the updated large file patches for 7.4.1229. > > I have updated the large file patches for 7.4.1665. > Please check the attached five patches. > > Bram, I'm afra

Patch 7.4.1671

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1671 Problem:When help exists in multiple languages, adding @ab while "ab" is the default help language is unnecessary. Solution: Leave out "@ab" when not needed. (Ken Takata) Files: src/ex_getln.c *** ../vim-7.4.1670/src/ex_getln.c 2016-03-22 20:31:10.12253

Re: Patch 7.4.1669

2016-03-28 Fir de Conversatie Bram Moolenaar
I wrote: > Patch 7.4.1669 > Problem:When writing buffer lines to a pipe Vim may block. > Solution: Avoid blocking, write more lines later. > Files: src/channel.c, src/misc2.c, src/os_unix.c, src/structs.h, > src/vim.h, src/proto/channel.pro, src/testdir/test_channel.vim [.

Re: strange behavior of :help xxx@

2016-03-28 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2016/2/18 Thu 18:47:08 UTC+9 mattn wrote: > > Hi. > > > > try typing in command line. when having two or more help file languages, > > completion behave strange. > > > > (1) complete with all languages > > > > :help expr-stri > > > > candidates > > * expr-string@en > > *

Re: [patch] Updated num64 patch (was: type of number/float in vim script)

2016-03-28 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2016/2/24 Wed 22:10:33 UTC+9 Ken Takata wrote: > > I have updated the num64 patch. I have merged the three patches into one > > again. > > This includes the fix of the g problem: > > https://groups.google.com/d/msg/vim_dev/8epHlRuIAHc/j5I9x9eHEQAJ > > I have updated the num6

Patch 7.4.1670

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1670 Problem:Completion doesn't work well for a variable containing "#". Solution: Recognize the "#". (Watiko) Files: src/eval.c *** ../vim-7.4.1669/src/eval.c 2016-03-27 15:13:06.958231628 +0200 --- src/eval.c 2016-03-28 19:22:14.538197720 +0200 *** *** 3399,3

Re: [patch] Fix cmdline completion for function/variable contains '#'

2016-03-28 Fir de Conversatie Bram Moolenaar
Watiko wrote: > Vim does not handle autoload fanction/variable completion well. > (BTW, I don't know "autoload variable" is correct name for it.) > > Example: > > vim -Nu NONE > :let ab#c#var = 1 > :echo ab#c#var > > ('_' is the cursor potision) type then we gets ab#ab#c but expects ab#c. >

Patch 7.4.1669

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1669 Problem:When writing buffer lines to a pipe Vim may block. Solution: Avoid blocking, write more lines later. Files: src/channel.c, src/misc2.c, src/os_unix.c, src/structs.h, src/vim.h, src/proto/channel.pro, src/testdir/test_channel.vim *** ../vim-7.4.1668/s

Re: [patch] Fix cmdline completion for function/variable contains '#'

2016-03-28 Fir de Conversatie watiko
>vim -Nu NONE >:let ab#c#var = 1 >:echo ab#c#var > >('_' is the cursor potision) type then we gets ab#ab#c but expects ab#c. Sorry for missing '_' and inconsistent information. vim -Nu NONE :let ab#c#var = 1 :echo ab#c#var_ ('_' is the cursor potision) type then we gets ab#ab#c#var but expects

[patch] Fix cmdline completion for function/variable contains '#'

2016-03-28 Fir de Conversatie watiko
Hi Vim does not handle autoload fanction/variable completion well. (BTW, I don't know "autoload variable" is correct name for it.) Example: vim -Nu NONE :let ab#c#var = 1 :echo ab#c#var ('_' is the cursor potision) type then we gets ab#ab#c but expects ab#c. Here is a patch: diff --git a/src

[patch] Updated num64 patch (was: type of number/float in vim script)

2016-03-28 Fir de Conversatie Ken Takata
Hi, 2016/2/24 Wed 22:10:33 UTC+9 Ken Takata wrote: > I have updated the num64 patch. I have merged the three patches into one > again. > This includes the fix of the g problem: > https://groups.google.com/d/msg/vim_dev/8epHlRuIAHc/j5I9x9eHEQAJ I have updated the num64 patch for 7.4.1665. Please

Re: [win32][patch] Updated large file patches

2016-03-28 Fir de Conversatie Ken Takata
Hi, 2016/2/1 Mon 22:34:43 UTC+9 Ken Takata wrote: > I think that all the style changes have completed. > Here are the updated large file patches for 7.4.1229. I have updated the large file patches for 7.4.1665. Please check the attached five patches. Bram, I'm afraid that you are mistaking some

Re: strange behavior of :help xxx@

2016-03-28 Fir de Conversatie Ken Takata
Hi, 2016/2/18 Thu 18:47:08 UTC+9 mattn wrote: > Hi. > > try typing in command line. when having two or more help file languages, > completion behave strange. > > (1) complete with all languages > > :help expr-stri > > candidates > * expr-string@en > * expr-string@ja > > (2) complete with all

Patch 7.4.1668

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1668 Problem:channel_get_all() does multiple allocations. Solution: Compute the size and allocate once. Files: src/channel.c *** ../vim-7.4.1667/src/channel.c 2016-03-28 14:20:37.420765382 +0200 --- src/channel.c 2016-03-28 14:39:20.321263569 +0200 **

Patch 7.4.1667

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1667 Problem:Win32: waiting on a pipe with fixed sleep time. Solution: Start with a short delay and increase it when looping. Files: src/channel.c *** ../vim-7.4.1666/src/channel.c 2016-03-28 14:11:36.854303544 +0200 --- src/channel.c 2016-03-28 14:18:55.83780569

Patch 7.4.1666

2016-03-28 Fir de Conversatie Bram Moolenaar
Patch 7.4.1666 Problem:When reading JSON from a channel all readahead is used. Solution: Use the fill function to reduce overhead. Files: src/channel.c, src/json.c, src/structs.h *** ../vim-7.4.1665/src/channel.c 2016-03-27 19:13:29.618002618 +0200 --- src/channel.c 2016-0