Re: Vim 25 birthday presentation

2016-12-14 Fir de Conversatie Manuel Ortega
On Wed, Dec 14, 2016 at 2:39 PM, Bram Moolenaar wrote: > > Hello Vim users! > > On November 2nd I did a presentation about Vim at Google Zurich. > This is exactly 25 years since the first public version of Vim was > built. > Dear Bram, Since the audio is bad, would you mind

Re: Accessing a NULL pointer in ex_cmds.c

2016-12-14 Fir de Conversatie Yegappan Lakshmanan
Hi, On Tue, Dec 13, 2016 at 2:08 PM, Bram Moolenaar wrote: > > Yegappan wrote: > >> Running Vim with the clang undefined behavior sanitizer (UBSan) finds >> an access using a NULL pointer in ex_cmds.c. The attached patch fixes >> this issue. > > Thanks! Would it be possible

Re: Command line completion support for cexpr commands

2016-12-14 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > The cexpr/cgetexpr/caddexpr commands take an expression as > an argument. The attached patch adds command line completion > support for these commands. Thanks! -- hundred-and-one symptoms of being an internet addict: 118. You are on a first-name basis with your ISP's staff.

Patch 8.0.0134

2016-12-14 Fir de Conversatie Bram Moolenaar
Patch 8.0.0134 Problem:Null pointer access reported by UBsan. Solution: Check curwin->w_buffer is not NULL. (Yegappan Lakshmanan) Files: src/ex_cmds.c *** ../vim-8.0.0133/src/ex_cmds.c 2016-11-10 18:16:30.077477227 +0100 --- src/ex_cmds.c 2016-12-14 21:40:47.757907072

Vim 25 birthday presentation

2016-12-14 Fir de Conversatie Bram Moolenaar
Hello Vim users! On November 2nd I did a presentation about Vim at Google Zurich. This is exactly 25 years since the first public version of Vim was built. The presentation gives an overview of Vim history and highlights the important choices that were made. With background information on my

Fwd: Re: [patch] broken link pi_logipat.txt in runtime/doc/help.txt

2016-12-14 Fir de Conversatie Charles Campbell
Forwarded Message From: 12 2016 <> X-Mozilla-Status: 0001 X-Mozilla-Status2: 0080 X-Mozilla-Keys: Subject:Re: [patch] broken link pi_logipat.txt in runtime/doc/help.txt To: vim_dev@googlegroups.com References:

Re: Errors found by clang UBSan

2016-12-14 Fir de Conversatie Mike Williams
On 14/12/2016 11:16, Mike Williams wrote: On 14/12/2016 08:44, Dominique Pellé wrote: Yegappan Lakshmanan wrote: eval.c:4432:10: runtime error: negation of -9223372036854775808 cannot be represented in type 'varnumber_T' (aka 'long long'); cast to an unsigned type to negate this value to

Re: Errors found by clang UBSan

2016-12-14 Fir de Conversatie Yegappan Lakshmanan
Hi, On Wed, Dec 14, 2016 at 12:44 AM, Dominique Pellé wrote: > Yegappan Lakshmanan wrote: > >> Hi all, >> >> When running the Vim tests with UBSan, the following errors are >> reported: >> >> channel.c:713:5: runtime error: load of misaligned address >> 0x60b069ca

Re: Errors found by clang UBSan

2016-12-14 Fir de Conversatie Mike Williams
On 14/12/2016 08:44, Dominique Pellé wrote: Yegappan Lakshmanan wrote: eval.c:4432:10: runtime error: negation of -9223372036854775808 cannot be represented in type 'varnumber_T' (aka 'long long'); cast to an unsigned type to negate this value to itself I see it too. It's coming from this

Re: [vim/vim] Broken syntax in tex when defining custom math column type (#984)

2016-12-14 Fir de Conversatie 'Anselm Haak' via vim_dev
I just had the same problem as Bart Baker. When adding tabularx, the given example produces the error (and can be compiled): ### Minimal working example ```tex \documentclass{scrartcl} \usepackage{tabularx} \begin{document} \newcolumntype{L}{>{$}c<{$}} This text is highlighted as if it was

Re: Errors found by clang UBSan

2016-12-14 Fir de Conversatie Dominique Pellé
Yegappan Lakshmanan wrote: > Hi all, > > When running the Vim tests with UBSan, the following errors are > reported: > > channel.c:713:5: runtime error: load of misaligned address > 0x60b069ca for type 'char *', which requires 8 byte alignment > 0x60b069ca: note: pointer points here Line