From 2cfe0f29df92ff5ecb1eb70499ac320194f2769bad55e65564a2a9de59f159f8 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 7 Feb 2019 19:50:05 +0000 Subject: [PATCH] Accepting request 672541 from home:coolo:branches:editors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to version 8.1.0887, fixes the following problems * Undo with text properties not tested. * setline() and setbufline() do not clear text properties. * Text properties are not adjusted for :substitute. * If a buffer was deleted a channel can't write to it. * Channel test fails sometimes. * When using text props may free memory that is not allocated. * Internal error when using :popup. * When test_edit fails 'insertmode' may not be reset and the next test may get stuck. (James McCoy) * ":sign place" requires the buffer argument. * Clearing the window is used too often, causing the command line to be cleared when opening a tab. (Miroslav Koškár) * Compiler warning for uninitialized variable. (Tony Mechelynck) * Using "gt" sometimes does not redraw a tab. (Jason Franklin) * Sign message not translated and inconsistent spacing. * ":sign place" only uses the current buffer. * Compiler warnings with 64-bit compiler. * Building with Ruby 2.6 gives compiler warnings. * :colorscheme isn't tested enough * Tabline is not always redrawn when something that is used in 'tabline' changes. * Text property columns are not adjusted for changed indent. * Third argument for redrawWinline() is always FALSE. * Windows are updated for every added/deleted sign. * When using timers may wait for job exit quite long. * Test files still use function!. * MS-Windows build instructions are a bit outdated. * Images for NSIS take up too much space. * Unessesary #if lines in GTK code. * Superfluous call to redraw_win_later(). * Get warning message when 'completefunc' returns nothing. * There is no function for the ":sign jump" command. OBS-URL: https://build.opensuse.org/request/show/672541 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=534 --- disable-unreliable-tests.patch | 84 ++++++++------- vim-7.4-filetype_apparmor.patch | 10 +- vim-8.1.0297-dump3.patch | 8 +- vim-8.1.0687.tar.gz | 3 - vim-8.1.0877.tar.gz | 3 + vim.changes | 174 ++++++++++++++++++++++++++++++++ vim.spec | 2 +- 7 files changed, 228 insertions(+), 56 deletions(-) delete mode 100644 vim-8.1.0687.tar.gz create mode 100644 vim-8.1.0877.tar.gz diff --git a/disable-unreliable-tests.patch b/disable-unreliable-tests.patch index 49c6c38..04b2462 100644 --- a/disable-unreliable-tests.patch +++ b/disable-unreliable-tests.patch @@ -1,8 +1,8 @@ -Index: vim-8.1.0685/src/testdir/test_alot.vim +Index: vim-8.1.0877/src/testdir/test_alot.vim =================================================================== ---- vim-8.1.0685.orig/src/testdir/test_alot.vim -+++ vim-8.1.0685/src/testdir/test_alot.vim -@@ -36,14 +36,12 @@ source test_join.vim +--- vim-8.1.0877.orig/src/testdir/test_alot.vim ++++ vim-8.1.0877/src/testdir/test_alot.vim +@@ -37,14 +37,12 @@ source test_join.vim source test_jumps.vim source test_lambda.vim source test_lispwords.vim @@ -17,7 +17,7 @@ Index: vim-8.1.0685/src/testdir/test_alot.vim source test_put.vim source test_recover.vim source test_reltime.vim -@@ -60,7 +58,6 @@ source test_tabpage.vim +@@ -61,7 +59,6 @@ source test_tabpage.vim source test_tagcase.vim source test_tagjump.vim source test_taglist.vim @@ -25,17 +25,44 @@ Index: vim-8.1.0685/src/testdir/test_alot.vim source test_true_false.vim source test_unlet.vim source test_virtualedit.vim -Index: vim-8.1.0685/src/testdir/Makefile +Index: vim-8.1.0877/src/testdir/Make_all.mak =================================================================== ---- vim-8.1.0685.orig/src/testdir/Makefile -+++ vim-8.1.0685/src/testdir/Makefile -@@ -1,4 +1,4 @@ --# -+#o - # Makefile to run all tests for Vim - # +--- vim-8.1.0877.orig/src/testdir/Make_all.mak ++++ vim-8.1.0877/src/testdir/Make_all.mak +@@ -190,7 +190,6 @@ NEW_TESTS = \ + test_netbeans \ + test_normal \ + test_number \ +- test_options \ + test_packadd \ + test_partial \ + test_paste \ +@@ -394,11 +393,8 @@ NEW_TESTS_RES = \ + test_tab.res \ + test_tcl.res \ + test_termencoding.res \ +- test_terminal.res \ +- test_terminal_fail.res \ + test_textformat.res \ + test_textobjects.res \ +- test_textprop.res \ + test_undo.res \ + test_user_func.res \ + test_usercommands.res \ +Index: vim-8.1.0877/src/testdir/Makefile +=================================================================== +--- vim-8.1.0877.orig/src/testdir/Makefile ++++ vim-8.1.0877/src/testdir/Makefile +@@ -36,8 +36,6 @@ SCRIPTS = $(SCRIPTS_ALL) \ + # Explicit dependencies. + test49.out: test49.vim -@@ -149,8 +149,5 @@ test_gui_init.res: test_gui_init.vim +-test_options.res test_alot.res: opt_test.vim +- + SCRIPTS_BENCH = bench_re_freeze.out + + .SUFFIXES: .in .out .res .vim +@@ -166,8 +164,5 @@ test_gui_init.res: test_gui_init.vim $(RUN_VIMTEST) -u gui_preinit.vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $< @rm vimcmd @@ -44,32 +71,3 @@ Index: vim-8.1.0685/src/testdir/Makefile - test_xxd.res: XXD=$(XXDPROG); export XXD; $(RUN_VIMTEST) $(NO_INITS) -S runtest.vim test_xxd.vim -Index: vim-8.1.0685/src/testdir/Make_all.mak -=================================================================== ---- vim-8.1.0685.orig/src/testdir/Make_all.mak -+++ vim-8.1.0685/src/testdir/Make_all.mak -@@ -140,7 +140,6 @@ NEW_TESTS = test_arabic.res \ - test_netbeans.res \ - test_normal.res \ - test_number.res \ -- test_options.res \ - test_packadd.res \ - test_paste.res \ - test_perl.res \ -@@ -173,11 +172,8 @@ NEW_TESTS = test_arabic.res \ - test_system.res \ - test_tab.res \ - test_tcl.res \ -- test_terminal.res \ -- test_terminal_fail.res \ - test_textformat.res \ - test_textobjects.res \ -- test_textprop.res \ - test_undo.res \ - test_user_func.res \ - test_usercommands.res \ -@@ -200,4 +196,3 @@ NEW_TESTS = test_arabic.res \ - # Explicit dependencies. - test49.out: test49.vim - --test_options.res test_alot.res: opt_test.vim diff --git a/vim-7.4-filetype_apparmor.patch b/vim-7.4-filetype_apparmor.patch index d36e148..bf663d7 100644 --- a/vim-7.4-filetype_apparmor.patch +++ b/vim-7.4-filetype_apparmor.patch @@ -1,10 +1,10 @@ -Index: vim-8.1.0178/runtime/filetype.vim +Index: vim-8.1.0877/runtime/filetype.vim =================================================================== ---- vim-8.1.0178.orig/runtime/filetype.vim -+++ vim-8.1.0178/runtime/filetype.vim -@@ -98,6 +98,10 @@ au BufNewFile,BufRead proftpd.conf* cal - " Apache config file +--- vim-8.1.0877.orig/runtime/filetype.vim ++++ vim-8.1.0877/runtime/filetype.vim +@@ -99,6 +99,10 @@ au BufNewFile,BufRead proftpd.conf* cal au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache + au BufNewFile,BufRead */etc/apache2/sites-*/*.com setf apache +" AppArmor +au BufNewFile,BufRead */etc/apparmor.d/* setf apparmor diff --git a/vim-8.1.0297-dump3.patch b/vim-8.1.0297-dump3.patch index 7f0d4f6..105729f 100644 --- a/vim-8.1.0297-dump3.patch +++ b/vim-8.1.0297-dump3.patch @@ -1,8 +1,8 @@ -Index: vim-8.1.0401/src/testdir/test_search.vim +Index: vim-8.1.0877/src/testdir/test_search.vim =================================================================== ---- vim-8.1.0401.orig/src/testdir/test_search.vim -+++ vim-8.1.0401/src/testdir/test_search.vim -@@ -908,7 +908,7 @@ func Test_incsearch_substitute_dump() +--- vim-8.1.0877.orig/src/testdir/test_search.vim ++++ vim-8.1.0877/src/testdir/test_search.vim +@@ -922,7 +922,7 @@ func Test_incsearch_substitute_dump() " Deleting last slash should remove the match. call term_sendkeys(buf, "\") diff --git a/vim-8.1.0687.tar.gz b/vim-8.1.0687.tar.gz deleted file mode 100644 index 77f4399..0000000 --- a/vim-8.1.0687.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:05e94e4e8131ff978a527d60abef0671b7934b1ba4ac54287c6897c02bf27d18 -size 14070311 diff --git a/vim-8.1.0877.tar.gz b/vim-8.1.0877.tar.gz new file mode 100644 index 0000000..7da52a9 --- /dev/null +++ b/vim-8.1.0877.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e578934722916080aaaf5c05bba62534cd26165bad34d740cca922f8e36eff6b +size 14067657 diff --git a/vim.changes b/vim.changes index 6c79672..87ab14f 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,177 @@ +------------------------------------------------------------------- +Thu Feb 7 12:47:37 UTC 2019 - Stephan Kulow + +- Update to version 8.1.0887, fixes the following problems + * Undo with text properties not tested. + * setline() and setbufline() do not clear text properties. + * Text properties are not adjusted for :substitute. + * If a buffer was deleted a channel can't write to it. + * Channel test fails sometimes. + * When using text props may free memory that is not allocated. + * Internal error when using :popup. + * When test_edit fails 'insertmode' may not be reset and the next test may get stuck. (James McCoy) + * ":sign place" requires the buffer argument. + * Clearing the window is used too often, causing the command line to be cleared when opening a tab. (Miroslav Koškár) + * Compiler warning for uninitialized variable. (Tony Mechelynck) + * Using "gt" sometimes does not redraw a tab. (Jason Franklin) + * Sign message not translated and inconsistent spacing. + * ":sign place" only uses the current buffer. + * Compiler warnings with 64-bit compiler. + * Building with Ruby 2.6 gives compiler warnings. + * :colorscheme isn't tested enough + * Tabline is not always redrawn when something that is used in 'tabline' changes. + * Text property columns are not adjusted for changed indent. + * Third argument for redrawWinline() is always FALSE. + * Windows are updated for every added/deleted sign. + * When using timers may wait for job exit quite long. + * Test files still use function!. + * MS-Windows build instructions are a bit outdated. + * Images for NSIS take up too much space. + * Unessesary #if lines in GTK code. + * Superfluous call to redraw_win_later(). + * Get warning message when 'completefunc' returns nothing. + * There is no function for the ":sign jump" command. + * A couple compiler warnings. + * Too many #ifdefs. + * Cannot easily change the current quickfx list index. + * Conceal mode is not sufficiently tested. + * Cannot build without the virtualedit feature. + * Cannot run specific test when in src/testdir the same was as in the src directory. + * Build for MinGW fails. + * Conceal mode is not completely tested. + * Redrawing specifically for conceal feature. + * Compiler warning for sprintf() argument. + * Cannot avoid breaking after a single space. + * There is a SourcePre autocommand event but not a SourcePost. + * Compiler warning for get_buf_arg() unused. + * JS encoding does not handle negative infinity. + * Cannot build without the eval feature. + * Too many #ifdefs for the multi-byte feature. + * The hlsearch state is not stored in a session file. + * Cannot handle binary data. + * Code for Blob not sufficiently tested. + * Compiler warning for uninitialized variable. + * Using freed memory, for loop over blob leaks memory. + * Text objects in not sufficiently tested. + * Tcl test fails. + * Viminfo with Blob is not tested. + * Not all Blob operations are tested. + * Giving error messages is not flexible. + * Compiler warnings for signed/unsigned strings. + * Compiler warnings for signed/unsigned string. + * Highlighting not updated with conceal and 'cursorline'. + * map() with a bad expression doesn't give an error. (Ingo Karkat) + * Using sprintf() instead of semsg(). + * Error message contains garbage. (Dominique Pelle) + * When the last sign is deleted the signcolumn may not be removed even though 'signcolumn' is "auto". + * Some regexp errors are not tested. + * One more compiler warning for signed/unsigned string. + * printf format not checked for semsg(). + * Preferred column is lost when setting 'cursorcolumn'. + * Error message for get() on a Blob with invalid index. + * copy() does not make a copy of a Blob. + * Not enough documentation for Blobs. + * Font number is always one instead of the actual. + * Showing two characters for tab is limited. + * No proper test for using 'termencoding'. + * Default value for brief_wait is wrong. + * Compiler warning. + * Nobody is using the Sun Workshop support. + * List of distributed files is outdated. + * String format of a Blob can't be parsed back. + * Various problems when using Vim on VMS. + * When deleting lines at the bottom signs are misplaced. + * Updating completions may cause the popup menu to flicker. + * :stop is covered in two tests. + * Inconsistent use of ELAPSED_FUNC. + * Some shell filetype patterns end in a star. + * The sign_define_by_name() function is too long. + * Not all crypt code is tested. + * VMS build is missing the blob file. + * Matching too many files as zsh. (Danek Duvall) + * Travis does not build a version without GUI on Linux. + * Win32: using pipes for channel does not work well. + * Terminal test fails on MS-Windows. + * Argument for message functions is inconsistent. + * Terminal test fails on Mac. + * Build error when using if_xcmdsrv.c. + * Win32: cursor blinks when Vim is not active. + * Compiler warning for signed/unsigned. + * Messy indent in if statement. + * Depending on the configuration some functions are unused. + * ml_get error when updating the status line and a terminal had its scrollback cleared. + * Compiler warning for unused function. (Tony Mechelynck) + * Cannot build with tiny features. + * Sourcing a session sets v:errmsg. + * Code for creating tabpages in session is too complex. + * A few compiler warnings on VMS. + * Popup menu is displayed on top of the cmdline window if it is opened from Insert completion. (Bjorn Linse) + * Incorrect error messages for functions that now take a Blob argument. + * White space before " -Ntabmove" causes problems. + * Cannot build without popup menu. + * MS-Windows 7: problem with named pipe on channel. + * Error E898 is used twice. + * Changing a blob while iterating over it works strangely. + * Calling deleted function; test doesn't work on Mac. + * May use a lot of memory when a function creates a cyclic reference. + * MinGW: no hint that tests fail because of small terminal. + * Negative index doesn't work for Blob. + * Session file has problem with single quote in file name. + * Crash when setting v:errmsg to empty list. (Jaon Franklin) + * Too many #ifdefs. + * Session test fails on MS-Windows. + * MS-Windows: build error with GUI. + * Unicode 16 feature is not useful and cannot be detected. + * FileChangedShell not sufficiently tested. + * :mksession cannot handle a very long 'runtimepath'. + * Dialog for file changed outside of Vim not tested. + * Test for 'runtimepath' in session fails on MS-Windows. + * ":=" command is not tested. + * MS-Windows: cannot send large data with ch_sendraw(). + * A failed assert with a long string is hard to read. + * Test for sending large data over channel sometimes fails. + * Xxd "usage" output and other arguments not tested. + * Peeking and flushing output slows down execution. + * Not sufficient testing of xxd. + * SunOS/Solaris has a problem with ttys. + * Code for autocommands is mixed with file I/O code. + * Too many #ifdefs. + * Missing dependency in Makefile. + * Still using FEAT_VIRTUALEDIT. + * When 'hidden' is set session creates extra buffers. + * Test leaves directory behind on MS-Windows. + * Xxd test fails if man page has dos fileformat. + * confirm() is not tested. + * Memory leak when jumps output is filtered. + * GUI may wait too long before dealing with messages. Returning + early may cause a mapping to time out. + * GUI build fails on MS-Windows. + * User completion test can fail on MS-Windows. + * Timer interrupting cursorhold and mapping not tested. + * Compiler warning for type conversion. + * When using VTP wrong colors after a color scheme change. + * getchar(0) never returns a character in the terminal. + * Travis config to get Lua on MacOS is too complicated. + * getchar_zero test fails on MS-Windows. + * Memory leak when running "make test_cd". + * When timer fails test will hang forever. + * Having job_status() free the job causes problems. + * Not easy to recognize the system Vim runs on. + * May use terminal after it was cleaned up. + * Cannot build with Ruby 1.8. (Tom G. Christensen) + * Cursorline highlight is not always updated. + * Test for 'backupskip' is not correct. + * feedkeys() with "L" does not work properly. + * findfile() and finddir() are not properly tested. + * Options test fails on Mac. + * xxd does not work with more than 32 bit addresses. + * Cannot build xxd with MSVC 10. + * When scrolling a window other than the current one the cursorline + highlighting is no +* refresh patches: + - disable-unreliable-tests.patch + - vim-7.4-filetype_apparmor.patch + ------------------------------------------------------------------- Thu Jan 3 21:26:40 UTC 2019 - Ondřej Súkup diff --git a/vim.spec b/vim.spec index 398347b..66df0b0 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 8.1 -%define patchlevel 0687 +%define patchlevel 0877 %define patchlevel_compact %{patchlevel} %define VIM_SUBDIR vim81 %define site_runtimepath %{_datadir}/vim/site