SHA256
1
0
forked from pool/vim

Accepting request 913480 from editors

- Updated to version 8.2.3360, fixes the following problems
  * Vim9: cannot ignore quotes in number at the command line.
  * Coverity action on github does not work.
  * Some local functions are not static.
  * Some code is not tested.
  * Vim9: checking type of dict does not check member type.
  * Help tag for exists_compiled() is wrong. (Maxim Kim)
  * Vim9: Cannot use :silent with :endwhile.
  * Digraph test fails when LC_ALL is set to "C".
  * Vim9: no error passing an empty list of the wrong type.
  * No check for sysconf() failing.
  * Coverity error for not checking return value.
  * v_lock not set when getting value of environment variable.
  * Coverity reports using uninitialized field.
  * Coverity warns for using value without boundary check.
  * Vim9: cannot assign to range in list.
  * Vim9: not enough tests run with Vim9.
  * Vim9: not enough tests run with Vim9.
  * Vim9: not enough tests run with Vim9.
  * Behavior of negative index in list change changed. (Naruhiko Nishino)
  * Completing "call g:" returns entries with just "g:". (Naohiro Ono)
  * Vim9: no type check when assigning a list range. (Naohiro Ono)
  * Vim9: cannot lock a member in a local dict.
  * Accessing uninitialized pointer.
  * Vim9: function call aborted despite try/catch. (Naohiro Ono)
  * Test for :let errors fails.
  * Vim9: autoload test fails.
  * Vimscript test fails.
  * Some code not covered by tests.
  * Vim9: no error for using "." for concatenation after ":vim9cmd". (Naohiro

OBS-URL: https://build.opensuse.org/request/show/913480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim?expand=0&rev=290
This commit is contained in:
Dominique Leuenberger 2021-08-25 18:56:00 +00:00 committed by Git OBS Bridge
commit ac97b3bec1
5 changed files with 71 additions and 16 deletions

View File

@ -1,8 +1,8 @@
Index: vim-8.2.3204/src/testdir/Make_all.mak
Index: vim-8.2.3318/src/testdir/Make_all.mak
===================================================================
--- vim-8.2.3204.orig/src/testdir/Make_all.mak
+++ vim-8.2.3204/src/testdir/Make_all.mak
@@ -30,21 +30,17 @@ SCRIPTS_TINY_OUT = \
--- vim-8.2.3318.orig/src/testdir/Make_all.mak
+++ vim-8.2.3318/src/testdir/Make_all.mak
@@ -30,23 +30,17 @@ SCRIPTS_TINY_OUT = \
# Tests for Vim9 script.
TEST_VIM9 = \
@ -12,7 +12,7 @@ Index: vim-8.2.3204/src/testdir/Make_all.mak
test_vim9_disassemble \
- test_vim9_expr \
test_vim9_fails \
test_vim9_func \
- test_vim9_func \
test_vim9_script
TEST_VIM9_RES = \
@ -22,9 +22,11 @@ Index: vim-8.2.3204/src/testdir/Make_all.mak
test_vim9_disassemble.res \
- test_vim9_expr.res \
test_vim9_fails.res \
test_vim9_func.res \
- test_vim9_func.res \
test_vim9_script.res
@@ -221,7 +217,6 @@ NEW_TESTS = \
# Benchmark scripts.
@@ -222,7 +216,6 @@ NEW_TESTS = \
test_quickfix \
test_quotestar \
test_random \
@ -32,7 +34,7 @@ Index: vim-8.2.3204/src/testdir/Make_all.mak
test_regex_char_classes \
test_regexp_latin \
test_regexp_utf8 \
@@ -457,7 +452,6 @@ NEW_TESTS_RES = \
@@ -459,7 +452,6 @@ NEW_TESTS_RES = \
test_quickfix.res \
test_quotestar.res \
test_random.res \

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:869ade2abd2003b04bd9752b91e61e525ff23d7e0429f606aa5a2e484aab81ab
size 15675514

3
vim-8.2.3360.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71403b55b216d90dbd401f958d0f0cfc1ba4b2bc88ec606816d5f3168b11f20b
size 15699720

View File

@ -1,3 +1,56 @@
-------------------------------------------------------------------
Fri Aug 20 08:55:25 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
- Updated to version 8.2.3360, fixes the following problems
* Vim9: cannot ignore quotes in number at the command line.
* Coverity action on github does not work.
* Some local functions are not static.
* Some code is not tested.
* Vim9: checking type of dict does not check member type.
* Help tag for exists_compiled() is wrong. (Maxim Kim)
* Vim9: Cannot use :silent with :endwhile.
* Digraph test fails when LC_ALL is set to "C".
* Vim9: no error passing an empty list of the wrong type.
* No check for sysconf() failing.
* Coverity error for not checking return value.
* v_lock not set when getting value of environment variable.
* Coverity reports using uninitialized field.
* Coverity warns for using value without boundary check.
* Vim9: cannot assign to range in list.
* Vim9: not enough tests run with Vim9.
* Vim9: not enough tests run with Vim9.
* Vim9: not enough tests run with Vim9.
* Behavior of negative index in list change changed. (Naruhiko Nishino)
* Completing "call g:" returns entries with just "g:". (Naohiro Ono)
* Vim9: no type check when assigning a list range. (Naohiro Ono)
* Vim9: cannot lock a member in a local dict.
* Accessing uninitialized pointer.
* Vim9: function call aborted despite try/catch. (Naohiro Ono)
* Test for :let errors fails.
* Vim9: autoload test fails.
* Vimscript test fails.
* Some code not covered by tests.
* Vim9: no error for using "." for concatenation after ":vim9cmd". (Naohiro
Ono)
* Check for legacy script is incomplete. (Naohiro Ono)
* line2byte() returns wrong value after adding textprop. (Yuto Kimura)
* Eval test for scriptversion fails.
* Vim9: using a function by name may delete it. (Naohiro Ono)
* Vim9: error for nested :enddef has wrong line number.
* Vim9: type of argument for negate not checked at compile time.
* Build failure with +byte_offset but without +textprop. (John Marriott)
* Adding many text properties requires a lot of function calls.
* Crash when 'virtualedit' is set and window is narrow.
* Structurizr files are not recognized.
* Vim9: error for type when variable is not set.
* User function completion fails with dict function.
-------------------------------------------------------------------
Wed Aug 18 12:43:01 UTC 2021 - Andreas Schwab <schwab@suse.de>
- Disable unreliable tests also on riscv64
- disable-unreliable-tests-arch.patch: also disable test_vim9_func
-------------------------------------------------------------------
Wed Aug 11 09:03:06 UTC 2021 - Christian Boltz <suse-beta@cboltz.de>

View File

@ -17,7 +17,7 @@
%define pkg_version 8.2
%define patchlevel 3318
%define patchlevel 3360
%define patchlevel_compact %{patchlevel}
%define VIM_SUBDIR vim82
%define site_runtimepath %{_datadir}/vim/site
@ -92,7 +92,7 @@ BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(xt)
Requires: vim-data-common = %{version}-%{release}
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
Recommends: vim-data = %{version}-%{release}
Conflicts: vim-base < 8.2
Provides: vi
@ -141,7 +141,7 @@ Group: Productivity/Text/Editors
Requires: gvim_client
Requires: vim-data = %{version}-%{release}
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
Conflicts: gvim < 8.2
Provides: gvim-base = %{version}-%{release}
Provides: gvim-enhanced = %{version}-%{release}
@ -161,7 +161,7 @@ want less features, you might want to install vim instead.
Summary: Vim with reduced features
Group: Productivity/Text/Editors
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
Provides: vi
Provides: vim_client
Requires: vim-data-common = %{version}-%{release}
@ -189,7 +189,7 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
%patch22 -p1
%patch23 -p1
%patch24 -p1
%ifarch s390x %{arm} aarch64
%ifarch s390x %{arm} aarch64 riscv64
%patch25 -p1
%endif
%patch100 -p1