Patch 8.2.1874

2020-10-21 Thread Bram Moolenaar
Patch 8.2.1874 Problem:Can't do something just before leaving Insert mode. Solution: Add the InsertLeavePre autocommand event. (closes #7177) Files: runtime/doc/autocmd.txt, src/edit.c, src/vim.h, src/autocmd.c, src/testdir/test_edit.vim *** ../vim-8.2.1873/runtime/doc/au

Patch 8.2.1875

2020-10-21 Thread Bram Moolenaar
Patch 8.2.1875 Problem:Warning when building GTK gui. Solution: Add missing function parameter. Files: src/gui_gtk_f.c *** ../vim-8.2.1874/src/gui_gtk_f.c 2020-04-12 19:37:13.510297280 +0200 --- src/gui_gtk_f.c 2020-10-21 12:15:23.445883076 +0200 *** *** 51,57 ***

Patch 8.2.1876

2020-10-21 Thread Bram Moolenaar
Patch 8.2.1876 Problem:Vim9: argument types for builtin functions are not checked at compile time. Solution: Add an argument type checking mechanism. Implement type checks for one function. Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,

Patch 8.2.1877

2020-10-21 Thread Bram Moolenaar
Patch 8.2.1877 (after 8.2.1876) Problem:Test for function list fails. Solution: Move "obsolete" comments one line up. Files: src/evalfunc.c *** ../vim-8.2.1876/src/evalfunc.c 2020-10-21 14:24:51.178015688 +0200 --- src/evalfunc.c 2020-10-21 14:48:03.090118446 +0200

Re: Patch 8.2.1875

2020-10-21 Thread Tony Mechelynck
On Wed, Oct 21, 2020 at 12:38 PM Bram Moolenaar wrote: > > > Patch 8.2.1875 > Problem:Warning when building GTK gui. > Solution: Add missing function parameter. > Files: src/gui_gtk_f.c Fatal error in gui_gtk_f.c after applying patches 8.2.1874 to 1876 (not yet 1877): gcc -c -I. -Ipro

Re: Patch 8.2.1875

2020-10-21 Thread Tony Mechelynck
P.S. "make reconfig" does not clear the problem. My GTK3 version is 3.24.20 and my compiler is gcc 7.5.0. On Wed, Oct 21, 2020 at 2:53 PM Tony Mechelynck wrote: > > On Wed, Oct 21, 2020 at 12:38 PM Bram Moolenaar wrote: > > > > > > Patch 8.2.1875 > > Problem:Warning when building GTK gui. >

Re: Patch 8.2.1875

2020-10-21 Thread Bram Moolenaar
Tony wrote: > On Wed, Oct 21, 2020 at 12:38 PM Bram Moolenaar wrote: > > > > > > Patch 8.2.1875 > > Problem:Warning when building GTK gui. > > Solution: Add missing function parameter. > > Files: src/gui_gtk_f.c > > Fatal error in gui_gtk_f.c after applying patches 8.2.1874 to 1876

Patch 8.2.1878

2020-10-21 Thread Bram Moolenaar
Patch 8.2.1878 Problem:GTK: error for redefining function. (Tony Mechelynck) Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to global functions. Files: src/gui_gtk_f.c, src/gui_gtk_f.h, src/gui_gtk.c, src/gui_gtk_x11.c *** ../vim-8.2.1877/src/gui_g

Re: Patch 8.2.1878

2020-10-21 Thread Tony Mechelynck
The problem in gui_gtk_f has now become a warning, but there is a fatal in the link: gui_gtk_f: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/

Patch 8.2.1879

2020-10-21 Thread Bram Moolenaar
Patch 8.2.1879 Problem:Vim9: argument types of insert() not checked when compiling. Solution: Add argument type checks for insert(). Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c, src/testdir/test_vim9_builtin.vim *** ../vim-8.2.1878/src/evalfunc.c

Patch 8.2.1880

2020-10-21 Thread Bram Moolenaar
Patch 8.2.1880 Problem:Vim9: Asan complains about adding zero to NULL. Solution: Check for argument count first. Files: src/vim9compile.c *** ../vim-8.2.1879/src/vim9compile.c 2020-10-21 16:42:18.517821898 +0200 --- src/vim9compile.c 2020-10-21 16:47:57.057129882 +0200 **

Re: Patch 8.2.1878

2020-10-21 Thread Bram Moolenaar
Tony wrote: > The problem in gui_gtk_f has now become a warning, but there is a > fatal in the link: Oh, that G_DEFINE_TYPE() macro is doing some magic, mangling function names. Only with GTK3 though. -- hundred-and-one symptoms of being an internet addict: 97. Your mother tells you to reme

Patch 8.2.1881

2020-10-21 Thread Bram Moolenaar
Patch 8.2.1881 Problem:Cannot build with GTK3. Solution: Adjust form functions. Files: src/gui_gtk_f.c *** ../vim-8.2.1880/src/gui_gtk_f.c 2020-10-21 16:10:16.382485983 +0200 --- src/gui_gtk_f.c 2020-10-21 17:26:49.015080921 +0200 *** *** 48,55 }; ! s

After 8.2.1881 GTK3 Vim builds again

2020-10-21 Thread Tony Mechelynck
After patch 8.2.1881 the problems from 1875 and 1878 are solved AFAICT: Vim with GTK3 builds again. Best regards, Tony. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.or

Re: Patch 8.2.1880

2020-10-21 Thread John Marriott
On 22-Oct-2020 01:50, Bram Moolenaar wrote: Patch 8.2.1880 Problem:Vim9: Asan complains about adding zero to NULL. Solution: Check for argument count first. Files: src/vim9compile.c After this patch mingw64 (gcc 10.2) throws this warning: gcc -c -I. -Iproto -DWIN32 -DWINVER=0x06

Patch 8.2.1882

2020-10-21 Thread Bram Moolenaar
Patch 8.2.1882 Problem:Vim9: v:disallow_let is no longer needed. Solution: Remove v:disallow_let. Files: src/evalvars.c, src/vim.h, src/vim9compile.c *** ../vim-8.2.1881/src/evalvars.c 2020-10-15 20:42:16.414311131 +0200 --- src/evalvars.c 2020-10-21 20:05:49.849848329 +020

Patch 8.2.1883

2020-10-21 Thread Bram Moolenaar
Patch 8.2.1883 Problem:Compiler warnings when using Python. Solution: Adjust PyCFunction to also have the second argument. Use "int" return type for some functions. Insert "(void *)" to get rid of the remaining warnings. Files: src/if_py_both.h, src/if_python.

Re: Patch 8.2.1880

2020-10-21 Thread Bram Moolenaar
John Marriott wrote: > On 22-Oct-2020 01:50, Bram Moolenaar wrote: > > Patch 8.2.1880 > > Problem:Vim9: Asan complains about adding zero to NULL. > > Solution: Check for argument count first. > > Files: src/vim9compile.c > > > > > > > After this patch mingw64 (gcc 10.2) throws this wa