Dominique Leuenberger 2021-02-04 19:21:35 +00:00 committed by Git OBS Bridge
commit 34a3aedf22
23 changed files with 185 additions and 86 deletions

View File

@ -1,8 +1,8 @@
Index: vim-8.2.1551/src/testdir/Make_all.mak
Index: vim-8.2.2411/src/testdir/Make_all.mak
===================================================================
--- vim-8.2.1551.orig/src/testdir/Make_all.mak
+++ vim-8.2.1551/src/testdir/Make_all.mak
@@ -57,7 +57,6 @@ NEW_TESTS = \
--- vim-8.2.2411.orig/src/testdir/Make_all.mak
+++ vim-8.2.2411/src/testdir/Make_all.mak
@@ -63,7 +63,6 @@ NEW_TESTS = \
test_autoload \
test_backspace_opt \
test_backup \
@ -10,7 +10,7 @@ Index: vim-8.2.1551/src/testdir/Make_all.mak
test_balloon_gui \
test_behave \
test_blob \
@@ -196,7 +195,6 @@ NEW_TESTS = \
@@ -203,7 +202,6 @@ NEW_TESTS = \
test_netbeans \
test_normal \
test_number \
@ -18,7 +18,7 @@ Index: vim-8.2.1551/src/testdir/Make_all.mak
test_packadd \
test_partial \
test_paste \
@@ -314,7 +312,6 @@ NEW_TESTS_RES = \
@@ -322,7 +320,6 @@ NEW_TESTS_RES = \
test_autocmd.res \
test_autoload.res \
test_backspace_opt.res \
@ -26,10 +26,10 @@ Index: vim-8.2.1551/src/testdir/Make_all.mak
test_balloon_gui.res \
test_blob.res \
test_blockedit.res \
Index: vim-8.2.1551/src/testdir/Makefile
Index: vim-8.2.2411/src/testdir/Makefile
===================================================================
--- vim-8.2.1551.orig/src/testdir/Makefile
+++ vim-8.2.1551/src/testdir/Makefile
--- vim-8.2.2411.orig/src/testdir/Makefile
+++ vim-8.2.2411/src/testdir/Makefile
@@ -26,9 +26,6 @@ default: nongui
# This defines SCRIPTS_TINY_OUT, NEW_TESTS and NEW_TESTS_RES.
include Make_all.mak

View File

@ -1,7 +1,8 @@
diff -ru b/src/globals.h a/src/globals.h
--- b/src/globals.h 2020-05-05 23:32:58.000000000 +0200
+++ a/src/globals.h 2020-05-06 09:40:51.607410538 +0200
@@ -1264,7 +1264,7 @@
Index: vim-8.2.2411/src/globals.h
===================================================================
--- vim-8.2.2411.orig/src/globals.h
+++ vim-8.2.2411/src/globals.h
@@ -1315,7 +1315,7 @@ extern char *Version;
#if defined(HAVE_DATE_TIME) && defined(VMS) && defined(VAXC)
extern char longVersion[];
#else

View File

@ -1,7 +1,7 @@
Index: vim-8.2.1840/runtime/filetype.vim
Index: vim-8.2.2411/runtime/filetype.vim
===================================================================
--- vim-8.2.1840.orig/runtime/filetype.vim
+++ vim-8.2.1840/runtime/filetype.vim
--- vim-8.2.2411.orig/runtime/filetype.vim
+++ vim-8.2.2411/runtime/filetype.vim
@@ -320,6 +320,9 @@ au BufNewFile,BufRead *.css setf css
" Century Term Command Scripts (*.cmd too)
au BufNewFile,BufRead *.con setf cterm
@ -12,10 +12,10 @@ Index: vim-8.2.1840/runtime/filetype.vim
" Changelog
au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch,*/debian/changelog
\ setf debchangelog
Index: vim-8.2.1840/runtime/syntax/changes.vim
Index: vim-8.2.2411/runtime/syntax/changes.vim
===================================================================
--- /dev/null
+++ vim-8.2.1840/runtime/syntax/changes.vim
+++ vim-8.2.2411/runtime/syntax/changes.vim
@@ -0,0 +1,41 @@
+" Vim syntax file
+" Filename: changes.vim

View File

@ -1,8 +1,8 @@
Index: vim-8.2.0348/runtime/filetype.vim
Index: vim-8.2.2411/runtime/filetype.vim
===================================================================
--- vim-8.2.0348.orig/runtime/filetype.vim
+++ vim-8.2.0348/runtime/filetype.vim
@@ -2232,3 +2232,7 @@ endfunc
--- vim-8.2.2411.orig/runtime/filetype.vim
+++ vim-8.2.2411/runtime/filetype.vim
@@ -2312,3 +2312,7 @@ endfunc
" Restore 'cpoptions'
let &cpo = s:cpo_save
unlet s:cpo_save
@ -10,10 +10,10 @@ Index: vim-8.2.0348/runtime/filetype.vim
+" FreeMarker templates
+au BufNewFile,BufRead *.ftl setf ftl
+
Index: vim-8.2.0348/runtime/syntax/ftl.vim
Index: vim-8.2.2411/runtime/syntax/ftl.vim
===================================================================
--- /dev/null
+++ vim-8.2.0348/runtime/syntax/ftl.vim
+++ vim-8.2.2411/runtime/syntax/ftl.vim
@@ -0,0 +1,36 @@
+" Vim syntax file
+" Language: FreeMarker Template Language (FTL)

View File

@ -1,9 +1,9 @@
Index: vim-8.2.0348/runtime/filetype.vim
Index: vim-8.2.2411/runtime/filetype.vim
===================================================================
--- vim-8.2.0348.orig/runtime/filetype.vim
+++ vim-8.2.0348/runtime/filetype.vim
@@ -1581,7 +1581,7 @@ au BufNewFile,BufRead *.hog,snort.conf,v
au BufNewFile,BufRead *.rules call dist#ft#FTRules()
--- vim-8.2.2411.orig/runtime/filetype.vim
+++ vim-8.2.2411/runtime/filetype.vim
@@ -1639,7 +1639,7 @@ au BufNewFile,BufRead *.rules call dis
au BufNewFile,BufRead *.rq,*.sparql setf sparql
" Spec (Linux RPM)
-au BufNewFile,BufRead *.spec setf spec
@ -11,10 +11,10 @@ Index: vim-8.2.0348/runtime/filetype.vim
" Speedup (AspenTech plant simulator)
au BufNewFile,BufRead *.speedup,*.spdata,*.spd setf spup
Index: vim-8.2.0348/runtime/syntax/spec.vim
Index: vim-8.2.2411/runtime/syntax/spec.vim
===================================================================
--- vim-8.2.0348.orig/runtime/syntax/spec.vim
+++ vim-8.2.0348/runtime/syntax/spec.vim
--- vim-8.2.2411.orig/runtime/syntax/spec.vim
+++ vim-8.2.2411/runtime/syntax/spec.vim
@@ -102,7 +102,7 @@ syn case ignore
"%% PreAmble Section %%
"Copyright and Serial were deprecated by License and Epoch

View File

@ -1,7 +1,7 @@
Index: vim-8.2.0348/runtime/gvimrc_example.vim
Index: vim-8.2.2411/runtime/gvimrc_example.vim
===================================================================
--- vim-8.2.0348.orig/runtime/gvimrc_example.vim
+++ vim-8.2.0348/runtime/gvimrc_example.vim
--- vim-8.2.2411.orig/runtime/gvimrc_example.vim
+++ vim-8.2.2411/runtime/gvimrc_example.vim
@@ -15,9 +15,6 @@
" Make external commands work through a pipe instead of a pseudo-tty
"set noguipty

View File

@ -1,8 +1,8 @@
Index: vim-8.2.0348/runtime/doc/Makefile
Index: vim-8.2.2411/runtime/doc/Makefile
===================================================================
--- vim-8.2.0348.orig/runtime/doc/Makefile
+++ vim-8.2.0348/runtime/doc/Makefile
@@ -325,6 +325,7 @@ CONVERTED = \
--- vim-8.2.2411.orig/runtime/doc/Makefile
+++ vim-8.2.2411/runtime/doc/Makefile
@@ -331,6 +331,7 @@ CONVERTED = \
all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED)
# Use Vim to generate the tags file. Can only be used when Vim has been

View File

@ -1,7 +1,7 @@
Index: vim-8.2.0348/src/vimtutor
Index: vim-8.2.2411/src/vimtutor
===================================================================
--- vim-8.2.0348.orig/src/vimtutor
+++ vim-8.2.0348/src/vimtutor
--- vim-8.2.2411.orig/src/vimtutor
+++ vim-8.2.2411/src/vimtutor
@@ -24,8 +24,7 @@ xx=$1
export xx

View File

@ -1,8 +1,8 @@
Index: vim-8.2.0348/src/feature.h
Index: vim-8.2.2411/src/feature.h
===================================================================
--- vim-8.2.0348.orig/src/feature.h
+++ vim-8.2.0348/src/feature.h
@@ -822,11 +822,12 @@
--- vim-8.2.2411.orig/src/feature.h
+++ vim-8.2.2411/src/feature.h
@@ -813,11 +813,12 @@
* SYS_VIMRC_FILE Name of the system-wide .vimrc file.
*/
// #define SYS_VIMRC_FILE "/etc/vimrc"

View File

@ -1,7 +1,7 @@
Index: vim-8.2.1775/runtime/syntax/sh.vim
Index: vim-8.2.2411/runtime/syntax/sh.vim
===================================================================
--- vim-8.2.1775.orig/runtime/syntax/sh.vim
+++ vim-8.2.1775/runtime/syntax/sh.vim
--- vim-8.2.2411.orig/runtime/syntax/sh.vim
+++ vim-8.2.2411/runtime/syntax/sh.vim
@@ -74,6 +74,13 @@ if exists("b:is_dash")
let b:is_posix= 1
endif

View File

@ -1,7 +1,7 @@
Index: vim-8.2.0348/runtime/tools/mve.awk
Index: vim-8.2.2411/runtime/tools/mve.awk
===================================================================
--- vim-8.2.0348.orig/runtime/tools/mve.awk
+++ vim-8.2.0348/runtime/tools/mve.awk
--- vim-8.2.2411.orig/runtime/tools/mve.awk
+++ vim-8.2.2411/runtime/tools/mve.awk
@@ -1,4 +1,4 @@
-#!/usr/bin/nawk -f
+#!/usr/bin/awk -f

View File

@ -1,7 +1,7 @@
Index: vim-8.2.0348/src/po/Make_all.mak
Index: vim-8.2.2411/src/po/Make_all.mak
===================================================================
--- vim-8.2.0348.orig/src/po/Make_all.mak
+++ vim-8.2.0348/src/po/Make_all.mak
--- vim-8.2.2411.orig/src/po/Make_all.mak
+++ vim-8.2.2411/src/po/Make_all.mak
@@ -24,7 +24,6 @@ LANGUAGES = \
lv \
nb \

View File

@ -1,8 +1,8 @@
Index: vim-8.2.0348/runtime/filetype.vim
Index: vim-8.2.2411/runtime/filetype.vim
===================================================================
--- vim-8.2.0348.orig/runtime/filetype.vim
+++ vim-8.2.0348/runtime/filetype.vim
@@ -101,6 +101,10 @@ au BufNewFile,BufRead *.ino,*.pde setf
--- vim-8.2.2411.orig/runtime/filetype.vim
+++ vim-8.2.2411/runtime/filetype.vim
@@ -104,6 +104,10 @@ au BufNewFile,BufRead *.ino,*.pde setf
au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache
au BufNewFile,BufRead */etc/apache2/sites-*/*.com setf apache

View File

@ -1,7 +1,7 @@
Index: vim-8.2.0348/runtime/filetype.vim
Index: vim-8.2.2411/runtime/filetype.vim
===================================================================
--- vim-8.2.0348.orig/runtime/filetype.vim
+++ vim-8.2.0348/runtime/filetype.vim
--- vim-8.2.2411.orig/runtime/filetype.vim
+++ vim-8.2.2411/runtime/filetype.vim
@@ -17,7 +17,7 @@ augroup filetypedetect
" Ignored extensions

View File

@ -1,7 +1,7 @@
Index: vim-8.2.1389/runtime/syntax/fstab.vim
Index: vim-8.2.2411/runtime/syntax/fstab.vim
===================================================================
--- vim-8.2.1389.orig/runtime/syntax/fstab.vim
+++ vim-8.2.1389/runtime/syntax/fstab.vim
--- vim-8.2.2411.orig/runtime/syntax/fstab.vim
+++ vim-8.2.2411/runtime/syntax/fstab.vim
@@ -35,7 +35,7 @@ syn match fsOperator /[,=:#]/
" Device
syn cluster fsDeviceCluster contains=fsOperator,fsDeviceKeyword,fsDeviceError

View File

@ -1,8 +1,8 @@
Index: vim-8.2.0348/src/testdir/test_options.vim
Index: vim-8.2.2411/src/testdir/test_options.vim
===================================================================
--- vim-8.2.0348.orig/src/testdir/test_options.vim
+++ vim-8.2.0348/src/testdir/test_options.vim
@@ -369,7 +369,7 @@ func Test_set_ttytype()
--- vim-8.2.2411.orig/src/testdir/test_options.vim
+++ vim-8.2.2411/src/testdir/test_options.vim
@@ -496,7 +496,7 @@ func Test_set_ttytype()
" check for failure of finding the entry and for missing 'cm' entry.
try
set ttytype=xxx

View File

@ -1,7 +1,7 @@
Index: vim-8.2.1840/runtime/defaults.vim
Index: vim-8.2.2411/runtime/defaults.vim
===================================================================
--- vim-8.2.1840.orig/runtime/defaults.vim
+++ vim-8.2.1840/runtime/defaults.vim
--- vim-8.2.2411.orig/runtime/defaults.vim
+++ vim-8.2.2411/runtime/defaults.vim
@@ -77,13 +77,15 @@ inoremap <C-U> <C-G>u<C-U>
" can position the cursor, Visually select and scroll with the mouse.
" Only xterm can grab the mouse events when using the shift key, for other

View File

@ -1,8 +1,8 @@
Index: vim-8.2.0348/src/testdir/test_search.vim
Index: vim-8.2.2411/src/testdir/test_search.vim
===================================================================
--- vim-8.2.0348.orig/src/testdir/test_search.vim
+++ vim-8.2.0348/src/testdir/test_search.vim
@@ -1012,7 +1012,7 @@ func Test_incsearch_substitute_dump()
--- vim-8.2.2411.orig/src/testdir/test_search.vim
+++ vim-8.2.2411/src/testdir/test_search.vim
@@ -1016,7 +1016,7 @@ func Test_incsearch_substitute_dump()
" Deleting last slash should remove the match.
call term_sendkeys(buf, "\<BS>")
@ -11,7 +11,7 @@ Index: vim-8.2.0348/src/testdir/test_search.vim
call term_sendkeys(buf, "\<Esc>")
" Reverse range is accepted
@@ -1063,7 +1063,7 @@ func Test_incsearch_substitute_dump()
@@ -1067,7 +1067,7 @@ func Test_incsearch_substitute_dump()
call term_sendkeys(buf, ":%s/.")
call VerifyScreenDump(buf, 'Test_incsearch_substitute_11', {})
call term_sendkeys(buf, "\<BS>")

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:927e5883d793d97e4005727c5fee9d118e9c1f3130f72224a48c18fc3e25b7bf
size 15390227

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

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

View File

@ -1,3 +1,102 @@
-------------------------------------------------------------------
Mon Jan 26 11:30:34 UTC 2021 - Dimitis Karakasilis <DKarakasilis@suse.com>
Updated to version 8.2.2411, fixes the following problems
* Debugging code included.
* Some test files may not be deleted.
* Not all ways Vim can be started are tested.
* Vim9: crash when using :trow in a not executed block.
* Vim9: wrong error when modifying dict declared with :final.
* Vim9: missing :endif not reported when using :windo.
* Vim9: warning for uninitialized variable. (Tony Mechelynck)
* Pascal-like filetypes not always detected.
* Vim9: "silent return" does not restore command modifiers.
* Vim9: it is not possible to extend a dictionary with different item types.
* Configure test for GTK only says "no". (Harm te Hennepe)
* Vim9: no error if using job_info() result wrongly.
* Cannot get the type of a value as a string.
* win_execute() unexpectedly returns number zero when failing.
* Expression command line completion shows variables but not functions after
"g:". (Gary Johnson)
* "char" functions return the wront column in Insert mode when the cursor
is beyond the end of the line.
* Vim9: return type of readfile() is any.
* Using inclusive index for slice is not always desired.
* No focus events in a terminal.
* Codecov reports every little coverage drop.
* Build failure without GUI.
* No check for modified files after focus gained. (Mathias Stearn)
* Vim9: cannot handle line break after parenthesis at line end.
* Using "void" for no reason.
* Vim9: error message for "throw" in function that was called with "silent!".
* If the focus lost/gained escape sequence is received twice it is not
ignored. (Christ van Willigen)
* Spartql files are not detected.
* Crash with a weird combination of autocommands.
* Stray test failure on Appveyor.
* Vim9: ":put =expr" does not handle a list properly.
* Vim9: crash when parsing function return type fails.
* Wrong #ifdef for use_xterm_like_mouse().
* Strange test failure with MS-Windows.
* Test leaves file behind.
* Vim9: no highlight for "s///gc" when using 'opfunc'.
* Vim9: check of builtin function argument type is incomplete.
* Vim9: line break in lambda accesses freed memory.
* Vim9: no check for map() changing item type at script level.
* When using ":sleep" the cursor is always displayed.
* Test failures on some less often used systems.
* Insufficient tests for setting options.
* Vim9: functions return true/false but can't be used as bool.
* Vim9: command fails in catch block.
* Vim9: crash when using types in :for with unpack.
* Confusing error message for wrong :let command.
* Vim9: list assignment only accepts a number index.
* Accessing uninitialized memory in test_undo.
* Test for RGB color skipped in the terminal.
* Vim9: crash when dividing by zero in compiled code using constants.
* Vim9: crash when using a range after another expression.
* Vim9: no error message for dividing by zero.
* Finding spell suggestions twice if 'spellsuggest' contains number.
* Vim9: occasional crash when using try/catch and a timer.
* Vim9: divide by zero does not abort expression execution.
* Build failure.
* Focus escape sequences are not named in ":set termcap" output.
* Turtle filetype not recognized.
* "gj" and "gk" do not work correctly when inside a fold.
* Vim9: crash when using ":silent! put".
* Runtime type check does not mention argument index.
* No easy way to get the maximum or mininum number value.
* Test failure on a few systems.
* Vim9: using positive offset is unexpected.
* Memory leak when creating a global function with closure.
* Fennel filetype not recognized.
* Vim9: error message when script line starts with "[{".
* Vim9: min() and max() return type is "any".
* Vim9: error for wrong type may report wrong line number.
* Vim9: no white space allowed before "->".
* Vim9: "%%" not seen as alternate file name for commands with a buffer
name argument.
* Method test fails.
* Fold test fails in wide terminal.
* Vim9: compiled functions are not profiled.
* Build fails without +profiling feature.
* Some filetypes not detected.
* Vim9: profiling if/elseif/endif not correct.
* Vim9: profiling try/catch not correct.
* Vim9: no need to allow white space before "(" for :def.
* Vim9: profiled :def function leaks memory.
* Old jumplist code is never used.
* MinGW: "--preprocessor" flag no longer supported.
* Vim9: profiling only works for one function.
* Build failure without the +profiling feature.
* Profile test fails on MS-Windows.
-------------------------------------------------------------------
Fri Jan 15 13:18:59 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
- remove forcing /usr/bin/vi -> vim symlink. Previous line linked to
/etc/alternatives already.
-------------------------------------------------------------------
Mon Jan 11 16:17:34 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -17,7 +17,7 @@
%define pkg_version 8.2
%define patchlevel 2327
%define patchlevel 2411
%define patchlevel_compact %{patchlevel}
%define VIM_SUBDIR vim82
%define site_runtimepath %{_datadir}/vim/site
@ -316,7 +316,6 @@ mkdir %{buildroot}/bin
ln -s -f %{_bindir}/vim %{buildroot}/bin/vi
ln -s -f %{_bindir}/vim %{buildroot}/bin/vim
%endif
ln -s -f vim %{buildroot}%{_bindir}/vi
ln -s -f vim %{buildroot}%{_bindir}/edit
%if !0%{?usrmerged}
ln -s -f %{_bindir}/vim %{buildroot}/bin/ex

View File

@ -1,8 +1,8 @@
Index: vim-8.2.0348/src/configure.ac
Index: vim-8.2.2411/src/configure.ac
===================================================================
--- vim-8.2.0348.orig/src/configure.ac
+++ vim-8.2.0348/src/configure.ac
@@ -1267,7 +1267,7 @@ eof
--- vim-8.2.2411.orig/src/configure.ac
+++ vim-8.2.2411/src/configure.ac
@@ -1289,7 +1289,7 @@ eof
vi_cv_path_python_plibs="-F${python_PYTHONFRAMEWORKPREFIX} -framework Python"
fi
else