Re: [vim/vim] Feature Request: mode() returns Insert sub-mode (#1397)

2017-01-22 Fir de Conversatie h_east
Hi Yegappan, 2017-1-23(Mon) 2:40:48 UTC+9 yega...@gmail.com: > Hi, > > On Fri, Jan 20, 2017 at 12:35 PM, Zhen-Huan (Kenny) Hu > wrote: > > diff --git a/src/evalfunc.c b/src/evalfunc.c > > index 4b6bfaa..1f3164f 100644 > > --- a/src/evalfunc.c > > +++ b/src/evalfunc.c

[patch] missing quote in output of :options command

2017-01-22 Fir de Conversatie Dominique Pellé
Hi Attached is a nitpicky patch to fix a missing quote in output of the :options command. Regards Dominique -- -- 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

Patch 8.0.0222

2017-01-22 Fir de Conversatie Bram Moolenaar
Patch 8.0.0222 Problem:When a multi-byte character ends in a zero byte, putting blockwise text puts it before the character instead of after it. Solution: Use int instead of char for the character under the cursor. (Luchr, closes #1403) Add a test. Files:

Patch 8.0.0221

2017-01-22 Fir de Conversatie Bram Moolenaar
Patch 8.0.0221 Problem:Checking if PROTO is defined inside a function has no effect. Solution: Remove the check for PROTO. (Hirohito Higashi) Files: src/misc1.c *** ../vim-8.0.0220/src/misc1.c 2017-01-21 22:49:56.142666237 +0100 --- src/misc1.c 2017-01-22 19:28:56.659188907 +0100

Re: Patch 8.0.0211

2017-01-22 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: > 2017-1-22(Sun) 6:50:40 UTC+9 Bram Moolenaar: > > Patch 8.0.0211 (after 8.0.0210) > > Problem:Build fails if the multi-byte feature is disabled. > > Solution: Change #ifdef around ins_char_bytes. > > Files: src/misc1.c [...] > I think `defined(PROTO)` is

Patch 8.0.0220

2017-01-22 Fir de Conversatie Bram Moolenaar
Patch 8.0.0220 Problem:Completion for :match does not show "none" and other missing highlight names. Solution: Skip over cleared entries before checking the index to be at the end. Files: src/syntax.c, src/testdir/test_cmdline.vim ***

Re: [vim/vim] Feature Request: mode() returns Insert sub-mode (#1397)

2017-01-22 Fir de Conversatie Yegappan Lakshmanan
Hi Hirohito, On Fri, Jan 20, 2017 at 4:23 PM, h_east wrote: > Hi Yegappan, > > 2017-1-21(Sat) 4:20:02 UTC+9 yega...@gmail.com: >> Hi Hirohito, >> >> On Fri, Jan 20, 2017 at 7:44 AM, h_east wrote: >> > Hi Bram, Yegappan, Zhen and Vim developers, >> >

Re: [vim/vim] Feature Request: mode() returns Insert sub-mode (#1397)

2017-01-22 Fir de Conversatie Yegappan Lakshmanan
Hi, On Fri, Jan 20, 2017 at 12:35 PM, Zhen-Huan (Kenny) Hu wrote: > diff --git a/src/evalfunc.c b/src/evalfunc.c > index 4b6bfaa..1f3164f 100644 > --- a/src/evalfunc.c > +++ b/src/evalfunc.c > @@ -7765,10 +7765,16 @@ f_mode(typval_T *argvars, typval_T *rettv) > } >

Patch 8.0.0219

2017-01-22 Fir de Conversatie Bram Moolenaar
Patch 8.0.0219 Problem:Ubsan reports errors for integer overflow. Solution: Define macros for minimum and maximum values. Select an expression based on the value. (Mike Williams) Files: src/charset.c, src/eval.c, src/evalfunc.c, src/structs.h,

Re: pythonx patch - :pyx command

2017-01-22 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2016/9/19 Mon 23:57:20 UTC+9 Kazunobu Kuriyama wrote: > > > 2016-09-19 23:21 GMT+09:00 Ken Takata : > > > > > > Hi, > > > > > > 2013/6/1 Sat 3:49:45 UTC+9 Bram Moolenaar wrote: > > > > Marc Weber wrote: > > > > > > > > > There are two important problems

Patch 8.0.0218

2017-01-22 Fir de Conversatie Bram Moolenaar
Patch 8.0.0218 Problem:No command line completion for :cexpr, :cgetexpr, :caddexpr, etc. Solution: Make completion work. (Yegappan Lakshmanan) Add a test. Files: src/ex_docmd.c, src/testdir/test_cmdline.vim *** ../vim-8.0.0217/src/ex_docmd.c 2017-01-13 21:59:59.323172116 +0100

Patch 8.0.0217

2017-01-22 Fir de Conversatie Bram Moolenaar
Patch 8.0.0217 (after 8.0.0215) Problem:Build fails without the cscope feature. Solution: Add #ifdef. Files: src/tag.c *** ../vim-8.0.0216/src/tag.c 2017-01-22 15:39:57.170763849 +0100 --- src/tag.c 2017-01-22 16:13:02.762181077 +0100 *** *** 1754,1760

Patch 8.0.0216

2017-01-22 Fir de Conversatie Bram Moolenaar
Patch 8.0.0216 Problem:When decoding JSON with a JS style object the JSON test may use a NULL pointer. (Coverity) Solution: Check for a NULL pointer. Files: src/json.c, src/json_test.c *** ../vim-8.0.0215/src/json.c 2017-01-14 14:36:03.225775105 +0100 --- src/json.c

Re: Patch 8.0.0211

2017-01-22 Fir de Conversatie h_east
Hi Bram, 2017-1-22(Sun) 6:50:40 UTC+9 Bram Moolenaar: > Patch 8.0.0211 (after 8.0.0210) > Problem:Build fails if the multi-byte feature is disabled. > Solution: Change #ifdef around ins_char_bytes. > Files: src/misc1.c > > > *** ../vim-8.0.0210/src/misc1.c 2017-01-12

Patch 8.0.0215

2017-01-22 Fir de Conversatie Bram Moolenaar
Patch 8.0.0215 Problem:When a Cscope line contains CTRL-L a NULL pointer may be used. (Coverity) Solution: Don't check for an emacs tag in a cscope line. Files: src/tag.c *** ../vim-8.0.0214/src/tag.c 2017-01-16 20:53:31.154599637 +0100 --- src/tag.c 2017-01-22

Patch 8.0.0214

2017-01-22 Fir de Conversatie Bram Moolenaar
Patch 8.0.0214 Problem:Leaking memory when syntax cluster id is unknown. (Coverity) Solution: Free the memory. Files: src/syntax.c *** ../vim-8.0.0213/src/syntax.c2017-01-17 19:48:48.132511120 +0100 --- src/syntax.c2017-01-22 15:24:16.324723771 +0100 ***

Patch 8.0.0213

2017-01-22 Fir de Conversatie Bram Moolenaar
Patch 8.0.0213 Problem:The Netbeans "specialKeys" command does not check if the argument fits in the buffer. (Coverity) Solution: Add a length check. Files: src/netbeans.c *** ../vim-8.0.0212/src/netbeans.c 2016-09-25 21:44:59.441600148 +0200 --- src/netbeans.c

Patch 8.0.0212

2017-01-22 Fir de Conversatie Bram Moolenaar
Patch 8.0.0212 Problem:The buffer used to store a key name theoreticaly could be too small. (Coverity) Solution: Count all possible modifier characters. Add a check for the length just in case. Files: src/keymap.h, src/misc2.c *** ../vim-8.0.0211/src/keymap.h

Re: Patch 8.0.0210

2017-01-22 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2017/1/22 Sun 4:04:43 UTC+9 Bram Moolenaar wrote: > > Patch 8.0.0210 > > Problem:Vim does not support bracketed paste, as implemented by xterm > > and > > other terminals. > > Solution: Add t_BE, t_BD, t_PS and t_PE. > > Files: src/term.c, src/term.h,

Re: Patch 8.0.0210

2017-01-22 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Sa, 21 Jan 2017, Bram Moolenaar wrote: > > This changes the way text is pasted in an xterm, when not handled by Vim > > (when 'mouse' is empty or using the shift key). Please watch out for > > any problems. It's hard to make it work in every situation. If you >