Re: Patch 7.2.294

2009-11-17 Fir de Conversatie James Vega
On Tue, Nov 17, 2009 at 11:24:46AM -0400, Ajit Thakkar wrote: > On Tue, Nov 17, 2009 at 7:09 AM, Bram Moolenaar wrote: > > Patch 7.2.294 > > compilation error on windows > > fileio.c: In function 'vim_settempdir': > fileio.c:7012: error: 'vim_tempdir' undeclared (first use in this function) Att

Re: vim errorformat requires updating for gcc 4.5 unreleased

2009-11-17 Fir de Conversatie Chris
Hi, the patch does not work. Some problems: - The error contains a comma at the end (\\,) or a colon : This can be done by adding %*[\\,:] - I don't know if it is necessary to use the "from" lines. I tried a few things in errorformats, but I could not get the desired effect. I don't know

Re: [patch] Persistent undo

2009-11-17 Fir de Conversatie Mun
Hi Andy, Christian, Thanks for your reply. Please see my comments below. On Tue, Nov 17, 2009 at 12:48 PM PST, Andy Wokula wrote: ... Text Deleted ... AW> > Another possibility would be for 'undofile' to be a string variable with AW> > possible choices being something like "read, write, both

Re: [patch] fixed memory leak in hlsearch

2009-11-17 Fir de Conversatie Bram Moolenaar
Dominique Pelle wrote: > >> I can reproduce a memory leak with Vim-7.2.293 (and older). > >> > >> Steps to reproduce: > >> > >> 1/ Create the following minimalistic script: > >> > >> Â $ cat leak.vim > >> > >> Â function Foo() > >> Â Â redraw! > >> Â Â return '' > >> Â endfunction > >> >

Re: [patch] Persistent undo

2009-11-17 Fir de Conversatie Christian Brabandt
Hi Mun! On Di, 17 Nov 2009, Mun wrote: > I have been using the Persistent Undo patch for several months now and I > have a general comment regarding it's usability. Jordan and I had a > private conversation about this a while back, and he requested I post > something to the list so as to provid

Re: [patch] Persistent undo

2009-11-17 Fir de Conversatie Andy Wokula
Mun schrieb: > Hi all, > > I have been using the Persistent Undo patch for several months now and I > have a general comment regarding it's usability. Jordan and I had a > private conversation about this a while back, and he requested I post > something to the list so as to provide a broader audi

Re: [patch] fixed memory leak in hlsearch

2009-11-17 Fir de Conversatie Dominique Pellé
Bram Moolenaar wrote: > Dominique Pelle wrote: > >> I can reproduce a memory leak with Vim-7.2.293 (and older). >> >> Steps to reproduce: >> >> 1/ Create the following minimalistic script: >> >>   $ cat leak.vim >> >>   function Foo() >>     redraw! >>     return '' >>   endfunction >> >>   set h

Re: [patch] Persistent undo

2009-11-17 Fir de Conversatie Mun
Hi all, I have been using the Persistent Undo patch for several months now and I have a general comment regarding it's usability. Jordan and I had a private conversation about this a while back, and he requested I post something to the list so as to provide a broader audience for feedback. Note

RE: Patch 7.2.286 fails on Windows

2009-11-17 Fir de Conversatie Steve Hall
From: James Vega, Tue, November 17, 2009 10:29 am > On Tue, Nov 17, 2009 at 10:06 AM, Steve Hall wrote: > > > > Hmm... but I see this if I patch only up to 7.2.286, and not if I > > patch only up to 7.2.285. Not sure how 7.2.294 is involved. > > Not sure, but somehow you've got 7.2.294 pulled in

Patch 7.2.302 (extra)

2009-11-17 Fir de Conversatie Bram Moolenaar
Patch 7.2.302 (extra part of 7.2.301) Problem:Formatting wrong with small 'tw' value. Solution: Add build rules for tests. Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, src/testdir/Make_vms.mms

Patch 7.2.301

2009-11-17 Fir de Conversatie Bram Moolenaar
NOTE: some mail and patch programs may have a problem with the non-ASCII characters in this patch. You can fetch the patch from ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.301 and/or fetch the updated files from CVS. http://www.vim.org/cvs.php Patch 7.2.301 Problem:Formatting is wrong when

Patch 7.2.300

2009-11-17 Fir de Conversatie Bram Moolenaar
Patch 7.2.300 Problem:Vim doesn't close file descriptors when forking and executing another command, e.g., ":shell". Solution: Use FD_CLOEXEC when available. (James Vega) Files: src/auto/configure, src/config.h.in, src/configure.in, src/ex_cmdds2.c, src/fileio.c

Re: Patch 7.2.286 fails on Windows

2009-11-17 Fir de Conversatie James Vega
On Tue, Nov 17, 2009 at 10:06 AM, Steve Hall wrote: > > From: James Vega, Tue, November 17, 2009 9:55 am >> On Tue, Nov 17, 2009 at 9:27 AM, Steve Hall wrote: >> > fileio.c: In function `vim_settempdir': >> > fileio.c:7012: error: `vim_tempdir' undeclared (first use in this >> > function) >> > fi

Re: Patch 7.2.294

2009-11-17 Fir de Conversatie Ajit Thakkar
On Tue, Nov 17, 2009 at 7:09 AM, Bram Moolenaar wrote: > Patch 7.2.294 compilation error on windows fileio.c: In function 'vim_settempdir': fileio.c:7012: error: 'vim_tempdir' undeclared (first use in this function) --~--~-~--~~~---~--~~ You received this messag

Patch 7.2.299

2009-11-17 Fir de Conversatie Bram Moolenaar
Patch 7.2.299 Problem:Crash when comment middle is longer than start. Solution: Fix size computation. (Lech Lorens) Files: src/misc1.c *** ../vim-7.2.298/src/misc1.c 2009-11-11 17:30:05.0 +0100 --- src/misc1.c 2009-11-17 15:59:28.0 +0100 *** *** 1121,1127

RE: Patch 7.2.286 fails on Windows

2009-11-17 Fir de Conversatie Steve Hall
From: James Vega, Tue, November 17, 2009 9:55 am > On Tue, Nov 17, 2009 at 9:27 AM, Steve Hall wrote: > > fileio.c: In function `vim_settempdir': > > fileio.c:7012: error: `vim_tempdir' undeclared (first use in this > > function) > > fileio.c:7012: error: (Each undeclared identifier is reported on

Re: Patch 7.2.286 fails on Windows

2009-11-17 Fir de Conversatie James Vega
On Tue, Nov 17, 2009 at 9:27 AM, Steve Hall wrote: >  fileio.c: In function `vim_settempdir': >  fileio.c:7012: error: `vim_tempdir' undeclared (first use in this > function) >  fileio.c:7012: error: (Each undeclared identifier is reported only > once >  fileio.c:7012: error: for each function it

Patch 7.2.286 fails on Windows

2009-11-17 Fir de Conversatie Steve Hall
Patch 7.2.286 is failing for me on Windows, I get "Hunk #1 succeeded at 688 (offset 5 lines)" and then the build fails at: gcc -c -O3 -fomit-frame-pointer -freg-struct-return -fno-strength-reduce -DWIN32 -DHAVE_PATHDEF -DFEAT_HUGE -DWINVER=0x0 400 -D_WIN32_WINNT=0x0400 -DFEAT_PERL -DDYNAMI

Patch 7.2.297

2009-11-17 Fir de Conversatie Bram Moolenaar
Patch 7.2.297 Problem:Reading freed memory when writing ":reg" output to a register. (Dominique Pelle) Solution: Skip the register being written to. Files: src/ops.c *** ../vim-7.2.296/src/ops.c2009-11-11 17:22:30.0 +0100 --- src/ops.c 2009-11-11 19:30:47.00

Re: vim errorformat requires updating for gcc 4.5 unreleased

2009-11-17 Fir de Conversatie Bram Moolenaar
Chris Indy wrote: > Here are some lines I added to my errorformat to ignore: > In file included from... with and without column. > > %-GIn\ file\ included\ from\ %f:%l:%c\\, > %-GIn\ file\ included\ from\ %f:%l\\, > %-Gfrom\ %f:%l\\, > %-Gfrom\ %f:%l:%c\\, Please check if this patch works. I

Patch 7.2.296

2009-11-17 Fir de Conversatie Bram Moolenaar
Patch 7.2.296 Problem:Help message about startuptime is wrong. (Dominique Pelle) Solution: Remove the equal sign. Files: src/main.c *** ../vim-7.2.295/src/main.c 2009-11-11 14:21:48.0 +0100 --- src/main.c 2009-11-11 22:51:04.0 +0100 *** *** 3151,3157 **

Re: Vim crashes with vimgrep

2009-11-17 Fir de Conversatie Bram Moolenaar
Yukihiro Nakadaira wrote: > Vim crashes with this script. > > :autocmd BufRead * let w:foo = 'bar' > :vimgrep baz * > > Backtrace is > > (gdb) bt > #0 0x00c1b422 in __kernel_vsyscall () > #1 0x00adb4d1 in *__GI_raise (sig=6) at > ../nptl/sysdeps/unix/sysv/linux/raise.c:64 > #2 0x00ade

Patch 7.2.295

2009-11-17 Fir de Conversatie Bram Moolenaar
Patch 7.2.295 Problem:When using map() on a List the index is not known. Solution: Set v:key to the index. (Hari Krishna Dara) Files: runtime/doc/eval.txt, src/eval.c *** ../vim-7.2.294/runtime/doc/eval.txt 2009-11-11 14:21:48.0 +0100 --- runtime/doc/eval.txt2009-11-

Re: [patch] GtkFileChooser and gvim's odd use of gtk_main()

2009-11-17 Fir de Conversatie Bram Moolenaar
Tim Starling wrote: > James Vega wrote: > > I've given it a shot and it's working well for me. One thing I did > > notice is that the files Vim edits aren't added to Gtk's recently used > > list. Based on the patch, this doesn't look like it's a regression in > > behavior from the last time Vi

Patch 7.2.294

2009-11-17 Fir de Conversatie Bram Moolenaar
Patch 7.2.294 Problem:When using TEMPDIRS dir name could get too long. Solution: Overwrite tail instead of appending each time. Use mkdtemp() when available. (James Vega) Files: src/auto/configure, src/config.h.in, src/configure.in, src/fileio.c *** ../vim-7.2.293/src/au

Re: [patch] GtkFileChooser and gvim's odd use of gtk_main()

2009-11-17 Fir de Conversatie Tim Starling
James Vega wrote: > I've given it a shot and it's working well for me. One thing I did > notice is that the files Vim edits aren't added to Gtk's recently used > list. Based on the patch, this doesn't look like it's a regression in > behavior from the last time Vim was using GtkFileChooser. > > I