Patch 8.0.1366

35 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 3, 2017, 12:20:55 PM12/3/17
to vim...@googlegroups.com

Patch 8.0.1366
Problem: Balloon shows when cursor is in WinBar.
Solution: Don't show the balloon when row is negative.
Files: src/beval.c


*** ../vim-8.0.1365/src/beval.c 2017-11-19 19:56:21.613895033 +0100
--- src/beval.c 2017-12-03 18:15:26.840585706 +0100
***************
*** 50,56 ****
}
#endif
wp = mouse_find_win(&row, &col);
! if (wp != NULL && row < wp->w_height && col < wp->w_width)
{
/* Found a window and the cursor is in the text. Now find the line
* number. */
--- 50,56 ----
}
#endif
wp = mouse_find_win(&row, &col);
! if (wp != NULL && row >= 0 && row < wp->w_height && col < wp->w_width)
{
/* Found a window and the cursor is in the text. Now find the line
* number. */
*** ../vim-8.0.1365/src/version.c 2017-12-02 16:38:07.690850293 +0100
--- src/version.c 2017-12-03 18:17:05.876304446 +0100
***************
*** 773,774 ****
--- 773,776 ----
{ /* Add new patch number below this line */
+ /**/
+ 1366,
/**/

--
Proof techniques #2: Proof by Oddity.
SAMPLE: To prove that horses have an infinite number of legs.
(1) Horses have an even number of legs.
(2) They have two legs in back and fore legs in front.
(3) This makes a total of six legs, which certainly is an odd number of
legs for a horse.
(4) But the only number that is both odd and even is infinity.
(5) Therefore, horses must have an infinite number of legs.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Mats Bertil Tegner

unread,
Dec 3, 2017, 1:20:01 PM12/3/17
to vim_dev
Den söndag 3 december 2017 kl. 18:20:55 UTC+1 skrev Bram Moolenaar:
> Patch 8.0.1366
> Problem: Balloon shows when cursor is in WinBar.
> Solution: Don't show the balloon when row is negative.
> Files: src/beval.c

I can't find 8.0.1366 on GitHub. https://github.com/vim/vim/archive/v8.0.1367.tar.gz is the latest.

Version information still shows:
:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec 3 2017 19:11:53)
Included patches: 1-1366
Compiled by <mats.bert...@gmail.com>
Huge version without GUI. Features included (+) or not (-):
+acl +comments +file_in_path +linebreak +mouse_urxvt +quickfix +terminal +windows
+arabic +conceal +find_in_path +lispindent +mouse_xterm +reltime +terminfo +writebackup
+autocmd +cryptv +float +listcmds +multi_byte +rightleft +termresponse -X11
-autoservername +cscope +folding +localmap +multi_lang +ruby +textobjects -xfontset
-balloon_eval +cursorbind -footer -lua -mzscheme +scrollbind +timers -xim
+balloon_eval_term +cursorshape +fork() +menu +netbeans_intg +signs +title -xpm
-browse +dialog_con +gettext +mksession +num64 +smartindent -toolbar -xsmp
++builtin_terms +diff -hangul_input +modify_fname +packages +startuptime +user_commands -xterm_clipboard
+byte_offset +digraphs +iconv +mouse +path_extra +statusline +vertsplit -xterm_save
+channel -dnd +insert_expand -mouseshape +perl -sun_workshop +virtualedit
+cindent -ebcdic +job +mouse_dec +persistent_undo +syntax +visual
-clientserver +emacs_tags +jumplist +mouse_gpm +postscript +tag_binary +visualextra
-clipboard +eval +keymap -mouse_jsbterm +printer +tag_old_static +viminfo
+cmdline_compl +ex_extra +lambda +mouse_netterm +profile -tag_any_white +vreplace
+cmdline_hist +extra_search +langmap +mouse_sgr +python -tcl +wildignore
+cmdline_info +farsi +libcall -mouse_sysmouse -python3 +termguicolors +wildmenu
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib64/perl5/CORE -L/usr/local/lib -Wl,--as-needed -o vim -lm
-ltinfo -lelf -lnsl -lacl -lattr -lgpm -ldl -Wl,-E -Wl,-rpath,/usr/lib64/perl5/CORE -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -l
perl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-rpath,/usr
/lib64 -L/usr/lib64 -lruby -lpthread -lgmp -ldl -lcrypt -lm
Press ENTER or type command to continue

Typo in the filename on GitHub?

Tony Mechelynck

unread,
Dec 3, 2017, 1:35:31 PM12/3/17
to vim_dev
On Sun, Dec 3, 2017 at 7:20 PM, Mats Bertil Tegner
<mats.bert...@gmail.com> wrote:
> I can't find 8.0.1366 on GitHub. https://github.com/vim/vim/archive/v8.0.1367.tar.gz is the latest.
>
> Version information still shows:
> :version
> VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec 3 2017 19:11:53)
> Included patches: 1-1366
[...]
> Typo in the filename on GitHub?

I think so. The latest patch on Mercurial was named "8.0.1367" in the
tag and the commit message, but it added "1366" in the list of
included patches in src/version.c

Best regards,
Tony.
Reply all
Reply to author
Forward
0 new messages