Re: [patch] Build error occurred with --with-features=small --enable-gui=gnome2 on Fedora

2017-01-08 Fir de Conversatie h_east
Hi Kazunobu, 2017-1-9(Mon) 15:53:36 UTC+9 Kazunobu Kuriyama: > 2017-01-09 12:27 GMT+09:00 h_east : > > > Hi Bram and list, > > > > A build error has occurred with the following configure on Fedora 23. > > > > $ make distclean > > $ ./configure --with-features=small

Re: [patch] Build error occurred with --with-features=small --enable-gui=gnome2 on Fedora

2017-01-08 Fir de Conversatie Kazunobu Kuriyama
2017-01-09 12:27 GMT+09:00 h_east : > Hi Bram and list, > > A build error has occurred with the following configure on Fedora 23. > > $ make distclean > $ ./configure --with-features=small --enable-gui=gnome2 > --enable-fail-if-missing > $ make > > In file included from

[patch] Build error occurred with --with-features=small --enable-gui=gnome2 on Fedora

2017-01-08 Fir de Conversatie h_east
Hi Bram and list, A build error has occurred with the following configure on Fedora 23. $ make distclean $ ./configure --with-features=small --enable-gui=gnome2 --enable-fail-if-missing $ make In file included from gui_gtk.c:34:0: /usr/include/libintl.h:61:14: error: expected identifier or '('

Re: Patch 8.0.0159

2017-01-08 Fir de Conversatie h_east
Hi Bram and list, 2017-1-9(Mon) 4:00:38 UTC+9 Bram Moolenaar: > Patch 8.0.0159 > Summary:crash on startup when updating tabline > Problem:Using a NULL pointer when using feedkeys() to trigger drawing a > tabline. > Solution: Skip drawing a tabline if TabPageIdxs is NULL.

Patch 8.0.0160

2017-01-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0160 Problem:EMSG() is sometimes used for internal errors. Solution: Change them to IEMSG(). (Dominique Pelle) And a few more. Files: src/regexp_nfa.c, src/channel.c, src/eval.c *** ../vim-8.0.0159/src/regexp_nfa.c2016-10-02 16:51:32.744592886 +0200 ---

Patch 8.0.0159

2017-01-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0159 Summary:crash on startup when updating tabline Problem:Using a NULL pointer when using feedkeys() to trigger drawing a tabline. Solution: Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle) Also fix recursing into getcmdline() from the

Re: Patch 8.0.0156

2017-01-08 Fir de Conversatie Bram Moolenaar
Dominique wrote: > Bram Moolenaar wrote: > > > Patch 8.0.0156 > > Problem:Several float functions are not covered by tests. > > Solution: Add float tests. (Dominique Pelle) > > Files: src/Makefile, src/testdir/test_alot.vim, > >

Re: Patch 8.0.0151

2017-01-08 Fir de Conversatie Bram Moolenaar
Yegappan Lakshmanan wrote: > On Sun, Jan 8, 2017 at 9:12 AM, Bram Moolenaar wrote: > > > > Yegappan wrote: > > > >> On Sun, Jan 8, 2017 at 4:26 AM, Bram Moolenaar wrote: > >> > > >> > Patch 8.0.0151 > >> > Problem:To pass buffer content to system()

Patch 8.0.0158

2017-01-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0158 (after 8.0.0156) Problem:On MS-Windows some float functions return a different value when passed unusual values. strtod() doesn't work for "inf" and "nan". Solution: Accept both results. Fix str2float() for MS-Windows. Also reorder assert function

Re: Patch 8.0.0156

2017-01-08 Fir de Conversatie Dominique Pellé
Bram Moolenaar wrote: > Patch 8.0.0156 > Problem:Several float functions are not covered by tests. > Solution: Add float tests. (Dominique Pelle) > Files: src/Makefile, src/testdir/test_alot.vim, > src/testdir/test_float_func.vim I just see that

Patch 8.0.0157

2017-01-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0157 Summary:no completion for :syntax spell and :syntax sync Problem:No command line completion for ":syntax spell" and ":syntax sync". Solution: Implement the completion. (Dominique Pelle) Files: src/syntax.c, src/testdir/test_syntax.vim ***

Re: Patch 8.0.0151

2017-01-08 Fir de Conversatie Yegappan Lakshmanan
Hi Bram, On Sun, Jan 8, 2017 at 9:12 AM, Bram Moolenaar wrote: > > Yegappan wrote: > >> On Sun, Jan 8, 2017 at 4:26 AM, Bram Moolenaar wrote: >> > >> > Patch 8.0.0151 >> > Problem:To pass buffer content to system() and systemlist() one has to >> >

Re: [patch] fix crash in draw_tabline() in screen.c

2017-01-08 Fir de Conversatie Bram Moolenaar
Dominique wrote: > The following command crashes with vim-8.0.154 and older: > > $ vim -e -s -u NONE -c tabnew -c 'call feedkeys("q:", "x!")' > > Crash happens at eval.c:10365 which dereferences a NULL > pointer since TabPageIdxs is NULL: > > 10363 /* Init TabPageIdxs[] to zero: Clicking

Re: Patch 8.0.0151

2017-01-08 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > On Sun, Jan 8, 2017 at 4:26 AM, Bram Moolenaar wrote: > > > > Patch 8.0.0151 > > Problem:To pass buffer content to system() and systemlist() one has to > > first create a string or list. > > Solution: Allow passing a buffer number.

[patch] fix crash in draw_tabline() in screen.c

2017-01-08 Fir de Conversatie Dominique Pellé
Hi The following command crashes with vim-8.0.154 and older: $ vim -e -s -u NONE -c tabnew -c 'call feedkeys("q:", "x!")' Crash happens at eval.c:10365 which dereferences a NULL pointer since TabPageIdxs is NULL: 10363 /* Init TabPageIdxs[] to zero: Clicking outside of tabs has no effect.

Patch 8.0.0156

2017-01-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0156 Problem:Several float functions are not covered by tests. Solution: Add float tests. (Dominique Pelle) Files: src/Makefile, src/testdir/test_alot.vim, src/testdir/test_float_func.vim *** ../vim-8.0.0155/src/Makefile2017-01-08 13:25:47.626339783

Re: Patch 8.0.0151

2017-01-08 Fir de Conversatie Yegappan Lakshmanan
Hi, On Sun, Jan 8, 2017 at 4:26 AM, Bram Moolenaar wrote: > > Patch 8.0.0151 > Problem:To pass buffer content to system() and systemlist() one has to > first create a string or list. > Solution: Allow passing a buffer number. (LemonBoy, closes #1240) >

Patch 8.0.0155

2017-01-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0155 Problem:When sorting zero elements a NULL pointer is passed to qsort(), which ubsan warns for. Solution: Don't call qsort() if there are no elements. (Dominique Pelle) Files: src/syntax.c *** ../vim-8.0.0154/src/syntax.c2017-01-02 21:37:38.033792277

Colorscheme as a buffer property

2017-01-08 Fir de Conversatie justrajdeep
Hi Developers, Can colorscheme be made a buffer property? Use case: We could have headers in different colorscheme and source code in different one. Instant visual clue of the filetypes. Thanks Rajdeep -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your

Re: Nested substitute() calls break highlights in Vim script

2017-01-08 Fir de Conversatie Bram Moolenaar
Ryuichi Hayashida wrote: > I found that syntax highlight in Vim script is broken in some situation. > When nested substitute() calls are in code, first one is highlighted as > vimFuncName and second one is highlighted as vimSubst. > > How to reproduce this is saving below code as blah.vim and

Re: [vim/vim] What's the minimum version of GCC required to build the latest Vim? Are there any patches to allow one to build it with even older versions of GCC? (#1363)

2017-01-08 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-01-08 16:50 GMT+03:00 Brenton Horne : > Hi, > > I maintain Vim packages in my Open Build Service home project, for example > here are the packaging files I use to build it for CentOS/Fedora/Scientific > Linux

Nested substitute() calls break highlights in Vim script

2017-01-08 Fir de Conversatie Ryuichi Hayashida
Hi Bram and all, I found that syntax highlight in Vim script is broken in some situation. When nested substitute() calls are in code, first one is highlighted as vimFuncName and second one is highlighted as vimSubst. How to reproduce this is saving below code as blah.vim and open it in vim with

Patch 8.0.0154

2017-01-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0154 (after 8.0.0151) Summary:system() test fails on OS/X Problem:system() test fails on OS/X. Solution: Deal with leading spaces. Files: src/testdir/test_system.vim *** ../vim-8.0.0153/src/testdir/test_system.vim 2017-01-08 13:55:03.701304016 +0100 ---

Patch 8.0.0153

2017-01-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0153 (after 8.0.0151) Problem:system() test fails on MS-Windows. Solution: Deal when extra space and CR. Files: src/testdir/test_system.vim *** ../vim-8.0.0152/src/testdir/test_system.vim 2017-01-08 13:25:47.626339783 +0100 --- src/testdir/test_system.vim 2017-01-08

Patch 8.0.0152

2017-01-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0152 Problem:Running the channel test creates channellog. Solution: Delete the debug line. Files: src/testdir/test_channel.vim *** ../vim-8.0.0151/src/testdir/test_channel.vim2016-12-03 14:29:01.636589998 +0100 --- src/testdir/test_channel.vim2017-01-08

Patch 8.0.0151

2017-01-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0151 Problem:To pass buffer content to system() and systemlist() one has to first create a string or list. Solution: Allow passing a buffer number. (LemonBoy, closes #1240) Files: runtime/doc/eval.txt, src/Makefile, src/evalfunc.c,