Patch 8.2.2195

2020-12-22 Fir de Conversatie Bram Moolenaar
Patch 8.2.2195 Problem:Failing tests for :const. Solution: Add missing check for ASSIGN_FINAL. Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_func.vim *** ../vim-8.2.2194/src/eval.c 2020-12-22 12:20:04.541293877 +0100 --- src/eval.c 2020-12-22 21:36:14.466740488 +0100 ***

Patch 8.2.2194

2020-12-22 Fir de Conversatie Bram Moolenaar
Patch 8.2.2194 Problem:Vim9: cannot use :const or :final at the script level. Solution: Support using :const and :final. (closes #7526) Files: src/vim.h, src/evalvars.c, src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim *** ../vim-8.2.2193/src/vim.h 2020-

Patch 8.2.2193

2020-12-22 Fir de Conversatie Bram Moolenaar
Patch 8.2.2193 Problem:Vim9: can change constant in :def function. Solution: Check if a variable is locked. (issue #7526) Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9execute.c, src/testdir/test_vim9_func.vim *** ../vim-8.2.2192/src/evalvars.c 2020-12-19 22

Patch 8.2.2192

2020-12-22 Fir de Conversatie Bram Moolenaar
Patch 8.2.2192 Problem:Codecov on github actions fails. Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529) Files: Filelist, .github/workflows/ci.yml *** ../vim-8.2.2191/Filelist2020-10-11 14:22:18.763382728 +0200 --- Filelist2020-12-22 19:03:24.462571841 +0100 *

Patch 8.2.2191

2020-12-22 Fir de Conversatie Bram Moolenaar
Patch 8.2.2191 Problem:Vim9: using wrong name with lambda in nested function. Solution: Copy the lambda name earlier. (closes #7525) Files: src/vim9compile.c, src/testdir/test_vim9_func.vim *** ../vim-8.2.2190/src/vim9compile.c 2020-12-22 18:33:23.395493734 +0100 --- src/vim9compil

Patch 8.2.2190

2020-12-22 Fir de Conversatie Bram Moolenaar
Patch 8.2.2190 Problem:Vim9: crash when compiled with EXITFREE. Solution: Check that df_ufunc is not NULL. Files: src/vim9compile.c, src/testdir/test_vim9_func.vim *** ../vim-8.2.2189/src/vim9compile.c 2020-12-22 17:35:50.043978116 +0100 --- src/vim9compile.c 2020-12-22 18:31:13.

Re: [vim/vim] Segmentation fault - crashed. (#7471)

2020-12-22 Fir de Conversatie Bram Moolenaar
> ```valgrind > ==51885== Memcheck, a memory error detector > ==51885== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. > ==51885== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info > ==51885== Command: ./vim > ==51885== > ==51885== Invalid read of size 4 > ==518

Patch 8.2.2189

2020-12-22 Fir de Conversatie Bram Moolenaar
Patch 8.2.2189 Problem:Cannot repeat a command that uses the small delete register. Solution: Store the register name instead of the contents. (Christian Brabandt, closes #7527) Files: src/ops.c, src/register.c, src/testdir/test_registers.vim *** ../vim-8.2.2188/src/ops.c

Patch 8.2.2188

2020-12-22 Fir de Conversatie Bram Moolenaar
Patch 8.2.2188 Problem:Vim9: crash when calling global function from :def function. Solution: Set the outer context. Define the partial for the context on the original function. Use a refcount to keep track of which ufunc is using a dfunc. (closes #7525) Files:

Re: Test failures in the vim-appimage

2020-12-22 Fir de Conversatie Christian Brabandt
On Di, 22 Dez 2020, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > I just noticed, that the vim-appimage release fails since march with > > those error messages in the test: > > > > Excerpt from the logfile: https://api.travis-ci.org/v3/job/750898814/log.txt > > > > Failures: >

Re: Test failures in the vim-appimage

2020-12-22 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > I just noticed, that the vim-appimage release fails since march with > those error messages in the test: > > Excerpt from the logfile: https://api.travis-ci.org/v3/job/750898814/log.txt > > Failures: > From test_options.vim: > Found errors in Test_backupsk

Patch 8.2.2187

2020-12-22 Fir de Conversatie Bram Moolenaar
Patch 8.2.2187 Problem:Python 3 test fails sometimes. (Christian Brabandt) Solution: Accept two SystemError messages. Files: src/testdir/test_python3.vim *** ../vim-8.2.2186/src/testdir/test_python3.vim2020-12-21 16:02:58.486392542 +0100 --- src/testdir/test_python3.vim

Patch 8.2.2186

2020-12-22 Fir de Conversatie Bram Moolenaar
Patch 8.2.2186 Problem:Vim9: error when using 'opfunc'. Solution: Do not expect a return value from 'opfunc'. (closes #7510) Files: src/eval.c, src/proto/eval.pro, src/ops.c, src/testdir/test_vim9_func.vim *** ../vim-8.2.2185/src/eval.c 2020-12-19 22:10:09.857835454 +010

Test failures in the vim-appimage

2020-12-22 Fir de Conversatie Christian Brabandt
Hi, I just noticed, that the vim-appimage release fails since march with those error messages in the test: Excerpt from the logfile: https://api.travis-ci.org/v3/job/750898814/log.txt Failures: From test_options.vim: Found errors in Test_backupskip(): Caught exception in Test_backup

Patch 8.2.2185

2020-12-22 Fir de Conversatie Bram Moolenaar
Patch 8.2.2185 Problem:BufUnload is not triggered for the quickfix dummy buffer. Solution: Do trigger BufUnload. (Pontus Leitzler,closes #7518, closes #7517) Fix white space around "=". Files: src/quickfix.c, src/testdir/test_autocmd.vim *** ../vim-8.2.2184/src/quickfix.c

Re: [vim/vim] Impossible to pass non-UTF-8 strings from vim to Python 3 (#1053)

2020-12-22 Fir de Conversatie puremo...@gmail.com
Bit off the wall, but perhaps we should provide a py3 api something like `vim.eval_bytes()` returning a `bytes` instance rather than trying to decode the evaluated bytes into a (unicode) `str` object. In the general case a vim string variable can contain any bytes (except NUL?); to read that in