diff --git a/vim-7.3-help_tags.patch b/vim-7.3-help_tags.patch index a81c02b..51f8668 100644 --- a/vim-7.3-help_tags.patch +++ b/vim-7.3-help_tags.patch @@ -1,12 +1,12 @@ -Index: vim-8.1.1467/runtime/doc/Makefile +Index: vim-8.1.2383/runtime/doc/Makefile =================================================================== ---- vim-8.1.1467.orig/runtime/doc/Makefile -+++ vim-8.1.1467/runtime/doc/Makefile -@@ -321,6 +321,7 @@ all: tags vim.man evim.man vimdiff.man v +--- vim-8.1.2383.orig/runtime/doc/Makefile ++++ vim-8.1.2383/runtime/doc/Makefile +@@ -321,6 +321,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 ++ export VIMRUNTIME=../; \ # compiled and installed. Supports multiple languages. vimtags: $(DOCS) -+ export VIMRUNTIME=../; \ - $(VIMEXE) -u NONE -esX -c "helptags ++t ." -c quit - - # Use "doctags" to generate the tags file. Only works for English! + @if command -v $(VIMEXE); then \ diff --git a/vim-7.3-name_vimrc.patch b/vim-7.3-name_vimrc.patch index d751f94..3a05ea4 100644 --- a/vim-7.3-name_vimrc.patch +++ b/vim-7.3-name_vimrc.patch @@ -1,20 +1,18 @@ -Index: vim-8.1.1467/src/feature.h +Index: vim-8.1.2383/src/feature.h =================================================================== ---- vim-8.1.1467.orig/src/feature.h -+++ vim-8.1.1467/src/feature.h -@@ -875,12 +875,13 @@ +--- vim-8.1.2383.orig/src/feature.h ++++ vim-8.1.2383/src/feature.h +@@ -815,11 +815,12 @@ * SYS_VIMRC_FILE Name of the system-wide .vimrc file. */ - /* #define SYS_VIMRC_FILE "/etc/vimrc" */ + // #define SYS_VIMRC_FILE "/etc/vimrc" - -+#define SYS_VIMRC_FILE "/etc/vimrc" ++#define SYS_VIMRC_FILE "/etc/vimrc" /* * SYS_GVIMRC_FILE Name of the system-wide .gvimrc file. */ - /* #define SYS_GVIMRC_FILE "/etc/gvimrc" */ -- -+#define SYS_GVIMRC_FILE "/etc/gvimrc" -+ + // #define SYS_GVIMRC_FILE "/etc/gvimrc" ++#define SYS_GVIMRC_FILE "/etc/gvimrc" + /* * DFLT_HELPFILE Name of the help file. - */ diff --git a/vim-8.1.0297-dump3.patch b/vim-8.1.0297-dump3.patch index 04a41dd..4c3af01 100644 --- a/vim-8.1.0297-dump3.patch +++ b/vim-8.1.0297-dump3.patch @@ -1,8 +1,8 @@ -Index: vim-8.1.1005/src/testdir/test_search.vim +Index: vim-8.1.2383/src/testdir/test_search.vim =================================================================== ---- vim-8.1.1005.orig/src/testdir/test_search.vim -+++ vim-8.1.1005/src/testdir/test_search.vim -@@ -922,7 +922,7 @@ func Test_incsearch_substitute_dump() +--- vim-8.1.2383.orig/src/testdir/test_search.vim ++++ vim-8.1.2383/src/testdir/test_search.vim +@@ -929,7 +929,7 @@ func Test_incsearch_substitute_dump() " Deleting last slash should remove the match. call term_sendkeys(buf, "\") @@ -11,7 +11,7 @@ Index: vim-8.1.1005/src/testdir/test_search.vim call term_sendkeys(buf, "\") " Reverse range is accepted -@@ -973,7 +973,7 @@ func Test_incsearch_substitute_dump() +@@ -980,7 +980,7 @@ func Test_incsearch_substitute_dump() call term_sendkeys(buf, ":%s/.") call VerifyScreenDump(buf, 'Test_incsearch_substitute_11', {}) call term_sendkeys(buf, "\") @@ -19,4 +19,4 @@ Index: vim-8.1.1005/src/testdir/test_search.vim + "call VerifyScreenDump(buf, 'Test_incsearch_substitute_12', {}) call term_sendkeys(buf, "\") call VerifyScreenDump(buf, 'Test_incsearch_substitute_13', {}) - + call term_sendkeys(buf, ":%bwipe!\") diff --git a/vim-8.1.2233.tar.gz b/vim-8.1.2233.tar.gz deleted file mode 100644 index 6ac6221..0000000 --- a/vim-8.1.2233.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d27da89a918418f423d0651d21e61fcda8b1fa18cdcb80baced2ad7468b5a836 -size 14583709 diff --git a/vim-8.1.2383.tar.gz b/vim-8.1.2383.tar.gz new file mode 100644 index 0000000..1cd19c4 --- /dev/null +++ b/vim-8.1.2383.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdee9aba9be93bf906a4c05ff82d85fce3dae21f2a00eb1d8875d2a3f91a89e9 +size 14653929 diff --git a/vim.changes b/vim.changes index 31375ad..b39a516 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,141 @@ +------------------------------------------------------------------- +Tue Dec 3 14:38:54 UTC 2019 - Ondřej Súkup + +- Updated to version 8.1.2383, fixes the following problems + + refreshed patches: vim-7.3-help_tags.patch + vim-7.3-name_vimrc.patch + vim-8.1.0297-dump3.patch + * Cannot get the Vim command line arguments. + * get_short_pathname() fails depending on encoding. + * "C" with 'virtualedit' set does not include multi-byte char. + * Ml_get error if pattern matches beyond last line. + * Mode() result after usign "r" depends on whether CURSOR_SHAPE is + defined. (Christian Brabandt) + * Error in docs tags goes unnoticed. + * Popup window width changes when scrolling. + * Match highlight does not combine with 'wincolor'. + * Creating docs tags uses user preferences. (Tony Mechelynck) + * 'wrapscan' is not used for "gn". + * Third character of 'listchars' tab shows in wrong place when 'breakindent' + is set. + * Some tests are still in old style. + * "make vimtags" does not work in runtime/doc. + * CTRL-W dot does not work in a terminal when modifyOtherKeys is enabled. + * "make vimtags" does not print any message. + * CTRL-U and CTRL-D don't work in popup window. + * ":term command" may not work without a shell. + * Compiler warning for int size. + * Using "which" to check for an executable is not reliable. + * May get hit-enter prompt after entering a number. (Malcolm Rowe) + * Running tests may leave XfakeHOME behind. + * With modifyOtherKeys set 'noesckeys' doesn't work. (James McCoy) + * Unpack assignment in function not recognized. + * 'noesckeys' test fails in GUI. + * There are two test files for :let. + * When popup with "botleft" does not fit it flips incorrectly. + * Position unknown for a mouse click in a popup window. + * Compiler warning for uninitialized variable. (Tony Mechelynck) + * Spell file flag zero is not recognized. + * Tags file with very long line stops using binary search. + * "gf" is not tested in Visual mode. + * Build error if FEAT_TAG_BINS is not defined. (John Marriott) + * Test may hang at more prompt. + * Wrong default when "pos" is changed with popup_atcursor(). + * Newlines in 'balloonexpr' result only work in the GUI. + * Using "seesion" looks like a mistake. + * Terminal window is not updated when info popup changes. + * Using "cd" with "exe" may fail. + * Computation of highlight attributes is too complicated. + * Crash when passing partial to substitute(). + * 'showbreak' cannot be set for one window. + * Crash when passing many arguments through a partial. (Andy Massimino) + * Missed on use of p_sbr. + * Compiler warning for unused variable. (Tony Mechelynck) + * Padding in structures wastes memory. + * Using border highlight in popup window leaks memory. + * Using EndOfBuffer highlight in popup does not look good. + * Not using all space when popup with "topleft" flips to above. + * After :diffsplit closing the window does not disable diff. + * Autocommand test fails. + * Memory leak when executing command in a terminal. + * v:mouse_winid not set on click in popup window. + * Join adds trailing space when second line is empty. (Brennan Vincent) + * Cursor position wrong when characters are concealed and asearch causes + a scroll. + * If buffer of popup is in another window cursorline sign shows. + * Text properties are not combined with syntax by default. + * The ex_vimgrep() function is too long. + * Missing part of 8.1.2296. + * ConPTY in MS-Windows 1909 is still wrong. + * Redraw breaks going through list of popup windows. + * :lockmarks does not work for '[ and ']. + * Cursor in wrong position after horizontal scroll. + * Cannot get the mouse position when getting a mouse click. + * No warning for wrong entry in translations. + * Double and triple clicks are not tested. + * Positioning popup doesn't work for buffer-local textprop. + * Deleting text before zero-width textprop removes it. + * Compiler warning for argument type. + * No proper test for directory changes in quickfix. + * Warning for missing function prototype. + * "line:" field in tags file not used. + * Debugging where a delay comes from is not easy. + * vi' sometimes does not select anything. + * Not always using the right window when jumping to an error. + * FORTIFY_SOURCE can also be present in CPPFLAGS. + * No test for spell affix file with flag on suffix. + * Compiler warning for int size. + * Insufficient test coverage for quickfix. + * Cannot select all text with the mouse. (John Marriott) + * Quickfix test fails in very big terminal. + * Width of scrollbar in popup menu not taken into account. + * Crash when using balloon with empty line. + * Cannot parse a date/time string. + * Cannot build with Hangul input. + * A few hangul input pieces remain. + * Mouse multiple click test is a bit flaky. + * vi' does not always work when 'selection' is exclusive. + * The option.c file is still very big. + * Missing file in refactoring. + * With modifyOtherKeys CTRL-^ doesn't work. + * Possible NULL pointer dereference in popup_locate(). (Coverity) + * Error message for function arguments may use NULL pointer. (Coverity) + * When an expr mapping moves the cursor it is not restored. + * Double-click time sometimes miscomputed. + * Using Visual mark sith :s gives E20 if not set. + * Insufficient testing for quickfix. + * Quickfix test fails under valgrind and asan. + * Not so easy to interrupt a script programatically. + * Random number generator in Vim script is slow. + * Using time() for srand() is not very random. + * .cjs files are not recognized as Javascript. + * CTRL-R CTRL-R doesn't work with modifyOtherKeys. + * :const cannot be followed by "| endif". + * :lockvar and :unlockvar cannot be followed by "| endif". + * Other text for CTRL-V in Insert mode with modifyOtherKeys. + * 'wincolor' not used for > for not fitting double width char. Also: + popup drawn on right half of double width character looks wrong. + * rand() does not use the best algorithm. + * No test with wrong argument for rand(). + * Cannot build without FEAT_FLOAT. (John Marriott) + * Quickfix test coverage can still be improved. + * Cannot place signs in a popup window. (Maxim Kim) + * ml_get error when accessing Visual area in 'statusline'. + * Missing tests for recent popupwin changes. + * Using old C style comments. + * Registers are not sufficiently tested. + * Using old C style comments. + * Cannot build with quickfix and without text properties. + * Build problems on VMS. + * FEAT_TEXT_PROP is a confusing name. + * Cannot build with +popupwin but without +quickfix. (John Marriott) + * Unused parts of libvterm are included. + * No suffucient testing for registers. + * Preprocessor indents are incorrect. + * GUI: when losing focus a pending operator is executed. + * Using old C style comments. + * Not all register related code is covered by tests. + ------------------------------------------------------------------- Tue Oct 29 12:32:18 UTC 2019 - Ondřej Súkup diff --git a/vim.spec b/vim.spec index 3d311a1..c7c6b44 100644 --- a/vim.spec +++ b/vim.spec @@ -1,7 +1,7 @@ # # spec file for package vim # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ %define pkg_version 8.1 -%define patchlevel 2233 +%define patchlevel 2383 %define patchlevel_compact %{patchlevel} %define VIM_SUBDIR vim81 %define site_runtimepath %{_datadir}/vim/site