How to use afl-fuzz to find bugs in Vim

2016-01-11 Fir de Conversatie Dominique Pellé
By popular demand, here is a tutorial describing how to fuzz Vim with afl-fuzz (American Fuzzy Lop) on Linux. For details about afl-fuzz, make sure you read: http://lcamtuf.coredump.cx/afl/ http://lcamtuf.coredump.cx/afl/README.txt I also recommend reading this fascinating blog entry:

Re: [patch] visual / is refactored to support vcol.

2016-01-11 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: [...] > > I have included it now. Unfortunately there was a merge conflict with > > patch 7.4.1085. I solved that. Then it turns out that the marks are > > set differently. Patch 7.4.1085 sets then before the first changed > > number and at the end of the last

Re: REGRESSION: Ctrl-A (and presumably Ctrl-X) forgotten in various repeats

2016-01-11 Fir de Conversatie h_east
Hi Tony and All, 2016-1-12(Tue) 15:13:12 UTC+9 h_east: > Hi Tony, > > 2016-1-12(Tue) 12:53:15 UTC+9 Tony Mechelynck: > > On Tue, Jan 12, 2016 at 4:19 AM, Gary Johnson wrote: > > > On 2016-01-11, KF Leong wrote: > > >> On Tuesday, 12 January 2016 11:00:17 UTC+8, Tony

Re: A nice mapping for the Kings' Day (or Old-Style Christmas, or whatever)

2016-01-11 Fir de Conversatie Erik Falor
On Mon, Jan 11, 2016 at 06:32:59PM -0800, 'Suresh Govindachar' via vim_dev wrote: > I checked gvim/vim on Windows and Ubuntu (14.x), and while both had > 'nocompatible' and ':map', neither has ':smile'. In fact, I have been > unable to find (via vim's help and via googling) what in the world

Re: A nice mapping for the Kings' Day (or Old-Style Christmas, or whatever)

2016-01-11 Fir de Conversatie Olaf Dabrunz
On 11-Jan-16, 'Suresh Govindachar' via vim_dev wrote: > On 1/7/2016 2:06 PM, Tony Mechelynck wrote: > > This assumes 'nocompatible' > > > > if exists(':map') == 2 && exists(':smile') == 2 > >nnoremap :intexe "smi" > > endif > > > > Have fun! > > ... > > I checked gvim/vim on Windows and

Re: [vim] Vim directory browsing is leaving swap files (#552)

2016-01-11 Fir de Conversatie Marius Gedminas
On Mon, Jan 11, 2016 at 03:31:17PM -0500, Charles E Campbell wrote: > Dino Morelli wrote: > > On Monday, January 11, 2016 at 1:29:48 PM UTC-5, Christian Brabandt wrote: > >> Closed #552. > >> > > Can you tell me if this is an existing issue already reported? Or if it's > > not an issue at all but

Re: REGRESSION: Ctrl-A (and presumably Ctrl-X) forgotten in various repeats

2016-01-11 Fir de Conversatie KF Leong
On Tuesday, 12 January 2016 11:00:17 UTC+8, Tony Mechelynck wrote: > I have the following problem in gvim (Huge) 7.4.1087. My previous > build was 7.4.1074 and IIRC it did not have this problem. Between them > I notice several patches affecting Ctrl-A and Ctrl-X in Visual mode, > or in RTL mode,

REGRESSION: Ctrl-A (and presumably Ctrl-X) forgotten in various repeats

2016-01-11 Fir de Conversatie Tony Mechelynck
I have the following problem in gvim (Huge) 7.4.1087. My previous build was 7.4.1074 and IIRC it did not have this problem. Between them I notice several patches affecting Ctrl-A and Ctrl-X in Visual mode, or in RTL mode, or with '[ and '] marks, none of which seem to apply to my usecase. I am

Re: REGRESSION: Ctrl-A (and presumably Ctrl-X) forgotten in various repeats

2016-01-11 Fir de Conversatie Gary Johnson
On 2016-01-11, KF Leong wrote: > On Tuesday, 12 January 2016 11:00:17 UTC+8, Tony Mechelynck wrote: > > I have the following problem in gvim (Huge) 7.4.1087. My previous > > build was 7.4.1074 and IIRC it did not have this problem. Between them > > I notice several patches affecting Ctrl-A and

Re: REGRESSION: Ctrl-A (and presumably Ctrl-X) forgotten in various repeats

2016-01-11 Fir de Conversatie Gary Johnson
On 2016-01-11, h_east wrote: > Hi Tony and All, > > 2016-1-12(Tue) 15:13:12 UTC+9 h_east: > > Hi Tony, > > > > 2016-1-12(Tue) 12:53:15 UTC+9 Tony Mechelynck: > > > On Tue, Jan 12, 2016 at 4:19 AM, Gary Johnson wrote: > > > > On 2016-01-11, KF Leong wrote: > > > >> On Tuesday, 12 January 2016

Re: A nice mapping for the Kings' Day (or Old-Style Christmas, or whatever)

2016-01-11 Fir de Conversatie 'Suresh Govindachar' via vim_dev
On 1/7/2016 2:06 PM, Tony Mechelynck wrote: This assumes 'nocompatible' if exists(':map') == 2 && exists(':smile') == 2 nnoremap :intexe "smi" endif Have fun! > ... I checked gvim/vim on Windows and Ubuntu (14.x), and while both had 'nocompatible' and ':map', neither has ':smile'.

Re: -Wmaybe-uninitialized in both Huge and Tiny after applying patches 7.4.1074 to 7.4.1087

2016-01-11 Fir de Conversatie Tony Mechelynck
On Mon, Jan 11, 2016 at 6:01 AM, h_east wrote: > Hi Tony, > > 2016-1-11(Mon) 11:43:51 UTC+9 Tony Mechelynck: >> Here is what appears in the Tiny build (the Huge build has the same >> warning with a much longer gcc command-line): >> >> gcc -c -I. -Iproto -DHAVE_CONFIG_H

Re: REGRESSION: Ctrl-A (and presumably Ctrl-X) forgotten in various repeats

2016-01-11 Fir de Conversatie h_east
Hi Tony, 2016-1-12(Tue) 12:53:15 UTC+9 Tony Mechelynck: > On Tue, Jan 12, 2016 at 4:19 AM, Gary Johnson wrote: > > On 2016-01-11, KF Leong wrote: > >> On Tuesday, 12 January 2016 11:00:17 UTC+8, Tony Mechelynck wrote: > >> > I have the following problem in gvim (Huge)

Re: A nice mapping for the Kings' Day (or Old-Style Christmas, or whatever)

2016-01-11 Fir de Conversatie Gary Johnson
On 2016-01-11, 'Suresh Govindachar' via vim_dev wrote: > On 1/7/2016 2:06 PM, Tony Mechelynck wrote: > >This assumes 'nocompatible' > > > >if exists(':map') == 2 && exists(':smile') == 2 > > nnoremap :intexe "smi" > >endif > > > >Have fun! > > ... > > I checked gvim/vim on Windows and

Re: REGRESSION: Ctrl-A (and presumably Ctrl-X) forgotten in various repeats

2016-01-11 Fir de Conversatie Tony Mechelynck
On Tue, Jan 12, 2016 at 4:19 AM, Gary Johnson wrote: > On 2016-01-11, KF Leong wrote: >> On Tuesday, 12 January 2016 11:00:17 UTC+8, Tony Mechelynck wrote: >> > I have the following problem in gvim (Huge) 7.4.1087. My previous >> > build was 7.4.1074 and IIRC it did not have

Re: [vim] Vim directory browsing is leaving swap files (#552)

2016-01-11 Fir de Conversatie Charles E Campbell
Dino Morelli wrote: > On Monday, January 11, 2016 at 1:29:48 PM UTC-5, Christian Brabandt wrote: >> Closed #552. >> > Can you tell me if this is an existing issue already reported? Or if it's not > an issue at all but something that can be changed with config? There are no > details for why this

Re: if_mzscheme does not work.

2016-01-11 Fir de Conversatie Yukihiro Nakadaira
On Mon, Jan 11, 2016 at 8:52 PM, Christian Brabandt wrote: > Hi Yukihiro! > > On So, 10 Jan 2016, Yukihiro Nakadaira wrote: > > > On Sun, Jan 10, 2016 at 3:31 AM, Sergey Khorev > wrote: > > > > Yukihiro-san, > > > > I gave up on catching up

Re: if_mzscheme does not work.

2016-01-11 Fir de Conversatie Christian Brabandt
Hi Yukihiro! On Mo, 11 Jan 2016, Yukihiro Nakadaira wrote: > On Mon, Jan 11, 2016 at 8:52 PM, Christian Brabandt > wrote: > > Hi Yukihiro! > > On So, 10 Jan 2016, Yukihiro Nakadaira wrote: > > > On Sun, Jan 10, 2016 at 3:31 AM, Sergey Khorev

Re: if_mzscheme does not work.

2016-01-11 Fir de Conversatie Christian Brabandt
Hi Yukihiro! Thanks. I missed that patch. After applying, it worked as expected. Thanks! Best, Christian On Mo, 11 Jan 2016, Yukihiro Nakadaira wrote: > On Mon, Jan 11, 2016 at 9:37 PM, Christian Brabandt > wrote: > > Hi Yukihiro! > > On Mo, 11 Jan 2016,

Re: if_mzscheme does not work.

2016-01-11 Fir de Conversatie Christian Brabandt
Hi Yukihiro! On So, 10 Jan 2016, Yukihiro Nakadaira wrote: > On Sun, Jan 10, 2016 at 3:31 AM, Sergey Khorev > wrote: > > Yukihiro-san, > > I gave up on catching up Racket updates in if_mzscheme so the interface > has > been broken for some time now. Your

Re: GVimExt 64bit builds with VS2015

2016-01-11 Fir de Conversatie Mike Williams
On 10/01/2016 16:17, Yukihiro Nakadaira wrote: With "VS2015 X64 X86 Cross Tool" and "VS2015 X86 X64 Cross Tool", I got many errors for compiling GvimExt. And it was fixed by your patch. Generated binary seems correct (I just checked dll header with "dumpbin /headers gvimext.dll"). Thank you

Re: if_mzscheme does not work.

2016-01-11 Fir de Conversatie Yukihiro Nakadaira
On Mon, Jan 11, 2016 at 9:37 PM, Christian Brabandt wrote: > Hi Yukihiro! > > On Mo, 11 Jan 2016, Yukihiro Nakadaira wrote: > > > On Mon, Jan 11, 2016 at 8:52 PM, Christian Brabandt > wrote: > > > > Hi Yukihiro! > > > > On So, 10 Jan 2016,

Re: [vim] Vim directory browsing is leaving swap files (#552)

2016-01-11 Fir de Conversatie Charles E Campbell
Dino Morelli wrote: > > This behavior was observed with version 74994 but not in 74778 > > Steps to reproduce: > > In a terminal window > > |$ mkdir -p vimswap/foo/bar $ touch vimswap/foo/bar/file1 $ touch > vimswap/foo/bar/file2 $ cd vimswap | > > In a different terminal window > > |$ cd vimswap

Re: [vim] Vim directory browsing is leaving swap files (#552)

2016-01-11 Fir de Conversatie Dino Morelli
On Monday, January 11, 2016 at 1:29:48 PM UTC-5, Christian Brabandt wrote: > Closed #552. > Can you tell me if this is an existing issue already reported? Or if it's not an issue at all but something that can be changed with config? There are no details for why this has been closed. As it

[patch] fix gn bug

2016-01-11 Fir de Conversatie Christian Brabandt
Bram, this patch fixes the gn bug reported by John Becket in https://groups.google.com/d/msg/vim_dev/UHFPleYDxWA/4dcOL1OkBgAJ Additionally, since I was already at the gn behaviour, I converted the old-style test to a newstyle test. Fix should be ready to be included for Vim 7.5 Thanks for

[patch] fix possible bug in searchpair

2016-01-11 Fir de Conversatie Christian Brabandt
Bram, this patch fies an issue reported by David Fishburn about a misbehaving searchpairpos(). I traced it back to syntax.c and I think what happens is, that Vim gets confused about the current syntax stack. I added a newstyle test, that lets the problem reproduce, given the plugin from David.