From 244eb56d7f214ebc477f564dc6ff959d9e09f61d3eed6361c538e907fa5454ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 23 Jul 2021 15:46:55 +0000 Subject: [PATCH] =?UTF-8?q?-=20Updated=20to=20version=208.2.3204,=20fixes?= =?UTF-8?q?=20the=20following=20problems=20-=20enable=20test=5Frecover=20-?= =?UTF-8?q?=20disable-unreliable-tests.patch=20=20=20*=20Xxd=20always=20re?= =?UTF-8?q?ports=20an=20old=20version=20string.=20(=C3=85smund=20Ervik)=20?= =?UTF-8?q?=20=20*=20Vim9:=20using=20try=20in=20catch=20block=20causes=20a?= =?UTF-8?q?=20hang.=20=20=20*=20Vim9:=20an=20error=20in=20a=20catch=20bloc?= =?UTF-8?q?k=20is=20not=20reported.=20=20=20*=20Vim9:=20profile=20test=20f?= =?UTF-8?q?ails.=20=20=20*=20Powershell=20core=20not=20supported=20by=20de?= =?UTF-8?q?fault.=20=20=20*=20Recover=20test=20fails=20on=2032bit=20system?= =?UTF-8?q?s.=20(Ond=C5=99ej=20S=C3=BAkup)=20=20=20*=20Cannot=20catch=20er?= =?UTF-8?q?rors=20in=20a=20channel=20command.=20=20=20*=20A=20channel=20co?= =?UTF-8?q?mmand=20"echoerr"=20does=20not=20show=20anything.=20=20=20*=20C?= =?UTF-8?q?rash=20when=20passing=20null=20string=20to=20charclass().=20=20?= =?UTF-8?q?=20*=20Vim9:=20builtin=20function=20argument=20types=20are=20no?= =?UTF-8?q?t=20checked=20at=20compile=20time.=20=20=20*=20JSONC=20files=20?= =?UTF-8?q?are=20not=20recognized.=20=20=20*=20Vim9:=20breakpoint=20on=20"?= =?UTF-8?q?for"=20does=20not=20work.=20=20=20*=20Gemtext=20files=20are=20n?= =?UTF-8?q?ot=20recognized.=20=20=20*=20With=20'virtualedit'=20set=20to=20?= =?UTF-8?q?"block"=20Visual=20highlight=20is=20wrong=20after=20using=20=20?= =?UTF-8?q?=20"$".=20=20(Marco=20Trosi)=20=20=20*=20Garbage=20collection?= =?UTF-8?q?=20has=20useless=20code.=20=20=20*=20With=20concealing=20enable?= =?UTF-8?q?d=20and=20indirectly=20closing=20a=20fold=20the=20cursor=20may?= =?UTF-8?q?=20be=20=20=20somewhere=20in=20a=20folded=20line.=20=20=20*=20V?= =?UTF-8?q?im9:=20default=20argument=20expression=20cannot=20use=20previou?= =?UTF-8?q?s=20argument=20=20=20*=20Vim9:=20builtin=20function=20test=20fa?= =?UTF-8?q?ils=20without=20the=20+channel=20feature.=20=20=20*=20tablabel?= =?UTF-8?q?=5Ftooltip=20test=20fails=20with=20Athena.=20(Dominique=20Pell?= =?UTF-8?q?=C3=A9)=20=20=20*=20Test=5Fpopup=5Fatcursor=5Fpos()=20fails=20w?= =?UTF-8?q?ithout=20the=20conceal=20feature.=20=20=20*=20With=20'virtualed?= =?UTF-8?q?it'=20set=20to=20"block"=20block=20selection=20is=20wrong=20aft?= =?UTF-8?q?er=20using=20=20=20"$".=20=20(Marco=20Trosi)=20=20=20*=20Temp?= =?UTF-8?q?=20files=20remain=20after=20running=20tests.=20=20=20*=20Crash?= =?UTF-8?q?=20when=20using=20"quit"=20at=20recovery=20prompt=20and=20autoc?= =?UTF-8?q?ommands=20are=20triggered.=20=20=20*=20Popup=20window=20test=20?= =?UTF-8?q?is=20flaky=20on=20MS-Windows=20with=20GUI.=20=20=20*=20Vim9:=20?= =?UTF-8?q?missing=20catch/finally=20not=20reported=20at=20script=20level.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=670 --- disable-unreliable-tests.patch | 16 ---- vim-8.2.3075.tar.gz | 3 - vim-8.2.3204.tar.gz | 3 + vim.changes | 147 +++++++++++++++++++++++++++++++++ vim.spec | 2 +- 5 files changed, 151 insertions(+), 20 deletions(-) delete mode 100644 vim-8.2.3075.tar.gz create mode 100644 vim-8.2.3204.tar.gz diff --git a/disable-unreliable-tests.patch b/disable-unreliable-tests.patch index a4bcf85..c7f5d76 100644 --- a/disable-unreliable-tests.patch +++ b/disable-unreliable-tests.patch @@ -18,14 +18,6 @@ Index: vim-8.2.3075/src/testdir/Make_all.mak test_packadd \ test_partial \ test_paste \ -@@ -223,7 +221,6 @@ NEW_TESTS = \ - test_quickfix \ - test_quotestar \ - test_random \ -- test_recover \ - test_regex_char_classes \ - test_regexp_latin \ - test_regexp_utf8 \ @@ -323,7 +320,6 @@ NEW_TESTS_RES = \ test_autocmd.res \ test_autoload.res \ @@ -34,14 +26,6 @@ Index: vim-8.2.3075/src/testdir/Make_all.mak test_balloon_gui.res \ test_blob.res \ test_blockedit.res \ -@@ -460,7 +456,6 @@ NEW_TESTS_RES = \ - test_quickfix.res \ - test_quotestar.res \ - test_random.res \ -- test_recover.res \ - test_regex_char_classes.res \ - test_registers.res \ - test_rename.res \ Index: vim-8.2.3075/src/testdir/Makefile =================================================================== --- vim-8.2.3075.orig/src/testdir/Makefile diff --git a/vim-8.2.3075.tar.gz b/vim-8.2.3075.tar.gz deleted file mode 100644 index ccbe5ca..0000000 --- a/vim-8.2.3075.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:500d52af2cacfd39d403547c68677d99f2c7cfb3e18d99bc374d7a89d5d5d6b2 -size 15605722 diff --git a/vim-8.2.3204.tar.gz b/vim-8.2.3204.tar.gz new file mode 100644 index 0000000..153e229 --- /dev/null +++ b/vim-8.2.3204.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c41381e7492485ef6cee202e3d6148f147e19e969f6f1ad78f8da379b55cff9a +size 15648080 diff --git a/vim.changes b/vim.changes index 28c3ee0..4eb9e0d 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,150 @@ +------------------------------------------------------------------- +Fri Jul 23 15:44:04 UTC 2021 - Ondřej Súkup + +- Updated to version 8.2.3204, fixes the following problems +- enable test_recover - disable-unreliable-tests.patch + * Xxd always reports an old version string. (Åsmund Ervik) + * Vim9: using try in catch block causes a hang. + * Vim9: an error in a catch block is not reported. + * Vim9: profile test fails. + * Powershell core not supported by default. + * Recover test fails on 32bit systems. (Ondřej Súkup) + * Cannot catch errors in a channel command. + * A channel command "echoerr" does not show anything. + * Crash when passing null string to charclass(). + * Vim9: builtin function argument types are not checked at compile time. + * JSONC files are not recognized. + * Vim9: breakpoint on "for" does not work. + * Gemtext files are not recognized. + * With 'virtualedit' set to "block" Visual highlight is wrong after using + "$". (Marco Trosi) + * Garbage collection has useless code. + * With concealing enabled and indirectly closing a fold the cursor may be + somewhere in a folded line. + * Vim9: default argument expression cannot use previous argument + * Vim9: builtin function test fails without the +channel feature. + * tablabel_tooltip test fails with Athena. (Dominique Pellé) + * Test_popup_atcursor_pos() fails without the conceal feature. + * With 'virtualedit' set to "block" block selection is wrong after using + "$". (Marco Trosi) + * Temp files remain after running tests. + * Crash when using "quit" at recovery prompt and autocommands are triggered. + * Popup window test is flaky on MS-Windows with GUI. + * Vim9: missing catch/finally not reported at script level. + * Vim9: no error when using type with unknown number of arguments. + * Missing function prototype for vim_round(). + * Test for crash fix does not fail without the fix. + * Swap test may fail on some systems when jobs take longer to exit. + * Vim9: unspecified function type causes type error. + * Vim9: type of partial is wrong when it has arguments. + * Vim9: confusing line number reported for error. + * Vim9: error for arguments while type didn't specify arguments. + * Test for remote_foreground() fails. (Elimar Riesebieter) + * Check for $DISPLAY never fails. + * A pattern that matches the cursor position is bit complicated. + * Vim9: confusing error with extra whitespace before colon. + * With concealing enabled and indirectly closing a fold the cursor may be + somewhere in a folded line when it is not on the first line of + the fold. + * No error when for loop variable shadows script variable. + * Amiga-like systems: build error using stat(). + * Coverity complains about free_wininfo() use. + * Vim9: crash when debugging a function with line continuation. + * Vim9: type not properly checked in for loop. + * Vim9: "any" type not handled correctly in for loop. + * Compiler warning for unused argument. + * Crypt with sodium test fails on MS-Windows. + * 'listchars' "exceeds" character appears in foldcolumn. Window separator + is missing. (Leonid V. Fedorenchik) + * With 'nowrap' cursor position is unexected in narrow window. (Leonid V. + Fedorenchik) + * Vim9: confusing error when using white space after option, before one of + "!&<". + * Vim9: no error for white space between option and "=9". + * Variables are set but not used. + * Vim9: for loop error reports wrong line number. + * Vim9: no error when adding number to list of string. + * Vim9: uninitialzed list does not get type checked. + * Vim9: imported uninitialized list does not get type checked. + * Vim9: import test fails. + * Compiler warns for size_t to colnr_T conversion. (Randall W. Morris) + * Vim9: memory leak when add() fails. + * Crash when using typename() on a function reference. (Naohiro Ono) + * Vim9: builtin function arguments not checked at compile time. + * No test for E187 and "No swap file". + * Vim9: no error when a line only has a variable name. + * Debugger test fails. + * Functions for string manipulation are spread out. + * No error when using :complete for :command without -nargs. + * Vim9: type check for has_key() argument is too strict. + * Vim9: A lambda may be compiled with the wrong context if it is called + from a profiled function. + * Vim9: no error when using an invalid value for a line number. + * Vim9: profile test fails without profile feature. + * Vim9: line number wrong for :execute argument. + * Vim9: profiling does not work with a nested function. + * Vim9: function arg type check does not handle base offset. + * Some plugins have a problem with the error check for using :command with + -complete but without -nargs. + * Vim9: argument types are not checked at compile time. + * Vim9: profiling fails if nested function is also profiled. + * Vim9: accessing "s:" results in an error. + * URLs with a dash in the scheme are not recognized. + * Vim9: some type checks for builtin functions fail. + * Some option related code not covered by tests. + * Vim9: term_getansicolors() test fails without +termguicolors. + * Crypt test may fail on MS-Windows. + * Strange error message when using islocked() with a number. (Yegappan + Lakshmanan) + * Cursor displayed in wrong position after deleting line. + * 'breakindent' does not work well for bulleted and numbered lists. + * Vim9: no error when reltime() has invalid arguments. + * Vim9: argument types are not checked at compile time. + * Location list window may open a wrong file. + * Vim9: in a || expression the error line number may be wrong. + * Vim9: nested autoload call error overruled by "Unknown error". + * Get E12 in a job callback when searching for tags. (Andy Stewart) + * Vim9: type error for constant of type any. + * Vim9: cannot handle nested inline function. + * Illegal memory access in test. + * Another illegal memory access in test. + * MzScheme test fails. (Christian Brabandt) + * Vim9: argument types are not checked at compile time. + * Vim9: "legacy undo" finds "undo" variable. + * Vim9: using illegal pointer with inline function inside a lambda. + * Vim9: no type error for comparing number with string. + * Vim9: can not use "for _ in expr" at script level. + * Vim9: the file name of an :import cannot be an expression. + * Vim9: cannot assign to an imported variable at script level. + * Vim9: memory leak when concatenating to an imported string. + * Vim9: builtin function test fails without channel feature. + * Vim9: crash when using removing items from a constant list. (Yegappan + Lakshmanan) + * Duplicate error numbers. + * Cannot add a digraph with a leading space. It is not easy to list + existing digraphs. + * Vim9: start of inline function found in comment line. + * Vim9: not all failures for import tested + * Vim9: popup timer callback is not compiled. + * Vim9: argument types are not checked at compile time. + * Vim9: error when using "try|". + * Error messages are spread out. + * Vim9: not enough code is tested. + * Build failure with small version (Tony Mechelynck). + * screenpos() is wrong when the last line is partially visible and 'display' + is "lastline". + * Vim9: argument types are not checked at compile time. + * Vim9: unclear error when passing too many arguments to lambda. + * Vim9: bool expression with numbers only fails at runtime. + * Error messages are spread out. + * Cannot use 'formatlistpat' for breakindent. + * Vim9: execution speed can be improved. + * Vim9: hard to guess where a type error is given. + * Crash in test. + * Vim9: tests are only executed for legacy script. + * Vim9: compiled string expression causes type error. (Yegappan Lakshmanan) + * Display garbled when 'cursorline' is set and lines wrap. (Gabriel Dupras) + ------------------------------------------------------------------- Wed Jun 30 09:15:27 UTC 2021 - Ondřej Súkup diff --git a/vim.spec b/vim.spec index c93b3a4..70d9aa6 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 8.2 -%define patchlevel 3075 +%define patchlevel 3204 %define patchlevel_compact %{patchlevel} %define VIM_SUBDIR vim82 %define site_runtimepath %{_datadir}/vim/site