Re: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead

2021-09-13 Fir de Conversatie Christian Brabandt
On Mo, 13 Sep 2021, Maxim Kim wrote: > On debian 11 I have started getting this warnings: > > /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is > deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] >73 | GTimeVal last_popdown; > | ^~~~ > > > No

warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead

2021-09-13 Fir de Conversatie Maxim Kim
On debian 11 I have started getting this warnings: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~ Not sure if it is important and/or should be fixed. My buil

Patch 8.2.3437

2021-09-13 Fir de Conversatie Bram Moolenaar
Patch 8.2.3437 Problem:Compiler warnings for 32/64 bit usage. Solution: Add type casts. (Mike Williams, closes #8870) Files: src/screen.c, src/xdiff/xemit.c, src/xdiff/xutils.c *** ../vim-8.2.3436/src/screen.c2021-09-11 12:15:02.875927707 +0200 --- src/screen.c2021-09

Patch 8.2.3436

2021-09-13 Fir de Conversatie Bram Moolenaar
Patch 8.2.3436 Problem:Check for optional bool type has confusing return type. Solution: Explicitly return OK. Files: src/typval.c *** ../vim-8.2.3435/src/typval.c2021-08-15 13:49:38.126905573 +0200 --- src/typval.c2021-09-13 21:35:33.021155844 +0200 *** *

Patch 8.2.3435

2021-09-13 Fir de Conversatie Bram Moolenaar
Patch 8.2.3435 Problem:Vim9: dict is not passed to dict function. Solution: Keep the dict used until a function call. Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim, src/testdir/test_vim9_disassemble.vim *** ../vim-8.2.

Re: Proper way to find when a function appeared in vim

2021-09-13 Fir de Conversatie Yegappan Lakshmanan
Hi, On Mon, Sep 13, 2021 at 8:15 AM Maxim Kim wrote: > > It was the first thing I did. Unfortunately it knows nothing about > `setcharpos`, `setcursorcharpos`, `charcol` etc. > > понедельник, 13 сентября 2021 г. в 18:10:21 UTC+3, yegapp...@gmail.com: >> >> Hi, >> >> On Sun, Sep 12, 2021 at 5:39

Re: Proper way to find when a function appeared in vim

2021-09-13 Fir de Conversatie Christian Brabandt
On So, 12 Sep 2021, Maxim Kim wrote: > I want to set minimal vim version for a plugin depending of func existence. > > Is there a "simple" way to find out when `strchars(` was added to vim (there > are more to check, this is an example)? > > For now I am searching github for the patches/PRs w

Re: Proper way to find when a function appeared in vim

2021-09-13 Fir de Conversatie Maxim Kim
It was the first thing I did. Unfortunately it knows nothing about `setcharpos`, `setcursorcharpos`, `charcol` etc. понедельник, 13 сентября 2021 г. в 18:10:21 UTC+3, yegapp...@gmail.com: > Hi, > > On Sun, Sep 12, 2021 at 5:39 AM Maxim Kim wrote: > > > > I want to set minimal vim version for a

Re: Proper way to find when a function appeared in vim

2021-09-13 Fir de Conversatie Yegappan Lakshmanan
Hi, On Sun, Sep 12, 2021 at 5:39 AM Maxim Kim wrote: > > I want to set minimal vim version for a plugin depending of func existence. > > Is there a "simple" way to find out when `strchars(` was added to vim (there > are more to check, this is an example)? > > For now I am searching github for th

Re: Strange cut-n-paste bug?

2021-09-13 Fir de Conversatie Christian Brabandt
On Sa, 11 Sep 2021, $Bill wrote: > Using the 19 lines of text below (numbered sequentially in 1st 2 cols) as a > test case - please save to unix file fmt file on Windows 10 file system to > reproduce my problem. > > My editor is gvim on Windows 10 64-bit: > VIM - Vi IMproved 8.2 (2019 Dec