Patch 7.4.2098

2016-07-23 Fir de Conversatie Bram Moolenaar
Patch 7.4.2098 Problem:Text object tests are old style. Solution: Turn them into new style tests. (James McCoy, closes #941) Files: src/testdir/Make_all.mak, src/testdir/test_textobjects.in, src/testdir/test_textobjects.ok, src/testdir/test_textobjects.vim, src/M

Re: test popupmenu question

2016-07-23 Fir de Conversatie Christian Brabandt
Hi Bram! On Sa, 23 Jul 2016, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > Bram, > > I am writing a test for the popupmenu and the different keys, that can > > be used there (:h popupmenu-keys) > > Thanks, that is useful. > > > And I have some questions. > > 1) > > > > , > >

Patch 7.4.2097

2016-07-23 Fir de Conversatie Bram Moolenaar
Patch 7.4.2097 Problem:Warning from 64 bit compiler. Solution: use size_t instead of int. (Mike Williams) Files: src/message.c *** ../vim-7.4.2096/src/message.c 2016-07-20 00:10:44.484250033 +0200 --- src/message.c 2016-07-23 17:24:35.816025642 +0200 *** *** 23

Re: test popupmenu question

2016-07-23 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > Bram, > I am writing a test for the popupmenu and the different keys, that can > be used there (:h popupmenu-keys) Thanks, that is useful. > And I have some questions. > 1) > > , > | In the first state these keys have a special meaning: > | and CTRL-H Delete

Patch 7.4.20

2016-07-23 Fir de Conversatie Bram Moolenaar
Patch 7.4.2096 Problem:Lambda functions show up with completion. Solution: Don't show lambda functions. (Ken Takata) Files: src/userfunc.c, src/testdir/test_cmdline.vim *** ../vim-7.4.2095/src/userfunc.c 2016-07-22 21:49:36.670031501 +0200 --- src/userfunc.c 2016-07-23 15:37

Re: [patch] Do not show lambda functions in command line completion

2016-07-23 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > Command line completion shows lambda functions: > > :let F = {-> 0} > :echo > > This results in "echo 1(", but this is useless. > Attached patch fixes the problem. Thanks. I'll add a test. -- Proofread carefully to see if you any words out. /// Bram Moolenaar -- b

Patch 7.4.2095

2016-07-23 Fir de Conversatie Bram Moolenaar
Patch 7.4.2095 Problem:Man test fails when run with the GUI. Solution: Adjust for different behavior of GUI. Add assert_inrange(). Files: src/eval.c, src/evalfunc.c, src/proto/eval.pro, src/testdir/test_assert.vim, src/testdir/test_man.vim, runtime/doc/eval.txt

Patch 7.4.2094

2016-07-23 Fir de Conversatie Bram Moolenaar
Patch 7.4.2094 Problem:The color allocation in X11 is overly complicated. Solution: Remove find_closest_color(), XAllocColor() already does this. (Kazunobu Kuriyama) Files: src/gui_x11.c *** ../vim-7.4.2093/src/gui_x11.c 2016-07-07 16:42:57.318788362 +0200 --- src/gu

Re: Patch 7.4.2039

2016-07-23 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2016/7/16 Sat 0:09:43 UTC+9 Bram Moolenaar wrote: > > Patch 7.4.2039 > > Problem:The Netbeans integration is not tested. > > Solution: Add a first Netbeans test. > > Files: src/testdir/test_netbeans.vim, src/testdir/test_netbeans.py, > > src/testdir/Make_all

Patch 7.4.2093

2016-07-23 Fir de Conversatie Bram Moolenaar
Patch 7.4.2093 Problem:Netbeans test fails once in a while. Leaving log file behind. Solution: Add it to the list of flaky tests. Disable logfile. Files: src/testdir/runtest.vim, src/testdir/test_channel.vim *** ../vim-7.4.2092/src/testdir/runtest.vim 2016-07-21 20:33:28.8312623

Re: Patch 7.4.2089

2016-07-23 Fir de Conversatie Bram Moolenaar
Kazunobu Kuriyama wrote: > > > It looks that the Athena and Motif part, which corresponds to > > > x11_color_name_decoding.patch, is missing from this patch, while the part > > > corresponding to gtk_color_name_decoding.patch is included. > > > > > > But I believe that's due to your wise judgemen

Re: function() get invalid funcref.

2016-07-23 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2014/8/7 Thu 14:22:32 UTC+9 mattn wrote: > > Hi list. > > > > > > let s:f = function('type') > > let s:fref = function('s:f') > > " => 1_f > > echo call(s:fref, ['x']) > > " => E117: Unknown function: 1_f > > --

Re: Patch 7.4.2089

2016-07-23 Fir de Conversatie Kazunobu Kuriyama
2016-07-23 4:22 GMT+09:00 Dominique Pellé : > Kazunobu Kuriyama wrote: > > > Oops, that's my fault (^_^;) > > > > The compiler warning and the linker error are caused by the function > > pango_attr_foreground_alpha_new(), which was newly added to Pango last > > autumn (1.38, 2015-10-12). > > > >

Re: Patch 7.4.2089

2016-07-23 Fir de Conversatie Kazunobu Kuriyama
2016-07-23 6:03 GMT+09:00 Bram Moolenaar : > > Kazunobu Kuriyama wrote: > > > 2016-07-22 5:10 GMT+09:00 Bram Moolenaar : > > > > > > > > Patch 7.4.2089 > > > Problem:Color handling of X11 GUIs is too complicated. > > > Solution: Simplify the code. Use RGBA where appropriate. (Kazunobu > > >

test popupmenu question

2016-07-23 Fir de Conversatie Christian Brabandt
Bram, I am writing a test for the popupmenu and the different keys, that can be used there (:h popupmenu-keys) And I have some questions. 1) , | In the first state these keys have a special meaning: | and CTRL-H Delete one character, find the matches for the word before | t