vim/vim-8.0.1568-defaults.patch

28 lines
804 B
Diff
Raw Permalink Normal View History

Accepting request 867401 from home:DKarakasilis:branches:editors 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. OBS-URL: https://build.opensuse.org/request/show/867401 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=646
2021-01-28 13:22:22 +01:00
Index: vim-8.2.2411/runtime/defaults.vim
===================================================================
Accepting request 867401 from home:DKarakasilis:branches:editors 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. OBS-URL: https://build.opensuse.org/request/show/867401 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=646
2021-01-28 13:22:22 +01:00
--- vim-8.2.2411.orig/runtime/defaults.vim
+++ vim-8.2.2411/runtime/defaults.vim
- Updated to version 8.1.2233, fixes the following problems - dropped python38-config.patch (upstream merged) - refreshed disable-unreliable-tests.patch and vim-8.0.1568-defaults.patch * No test for right click extending Visual area. * Crash when running out of memory very early. * No test for 'ttymouse' set from xterm version response. * State test is a bit flaky. * Combining text property and syntax highlight is wrong. (Nick Jensen) * Quickfix window height wrong when there is a tabline. (Daniel Hahler) * In a terminal window 'cursorlineopt' does not work properly. * First character after Tab is not highlighted. * Libvterm source files missing from distribution. * Terminal attributes missing in Terminal-normal mode. * Some mappings are listed twice. * Cannot build with +syntax but without +terminal. * Mapping test fails. * Popup resize test is flaky. (Christian Brabandt) * Cannot build with +spell but without +syntax. * Stuck when using "j" in a popupwin with popup_filter_menu if a line wraps. * Rubyeval() not tested as a method. * Mapping test fails on MS-Windows. * Heredoc assignment not skipped in if block. * Terminal flags are never reset. * Cannot build without the +termresponse feature. * Mouse support not always available. * Spell highlight is wrong at start of the line. * Searchit() has too many arguments. * Screen not recognized as supporting "sgr" mouse codes. * Meson files are not recognized. * Syntax attributes not combined with Visual highlighting. (Arseny Nasokin) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=573
2019-10-29 13:35:13 +01:00
@@ -77,13 +77,15 @@ inoremap <C-U> <C-G>u<C-U>
" can position the cursor, Visually select and scroll with the mouse.
- Updated to version 8.1.2233, fixes the following problems - dropped python38-config.patch (upstream merged) - refreshed disable-unreliable-tests.patch and vim-8.0.1568-defaults.patch * No test for right click extending Visual area. * Crash when running out of memory very early. * No test for 'ttymouse' set from xterm version response. * State test is a bit flaky. * Combining text property and syntax highlight is wrong. (Nick Jensen) * Quickfix window height wrong when there is a tabline. (Daniel Hahler) * In a terminal window 'cursorlineopt' does not work properly. * First character after Tab is not highlighted. * Libvterm source files missing from distribution. * Terminal attributes missing in Terminal-normal mode. * Some mappings are listed twice. * Cannot build with +syntax but without +terminal. * Mapping test fails. * Popup resize test is flaky. (Christian Brabandt) * Cannot build with +spell but without +syntax. * Stuck when using "j" in a popupwin with popup_filter_menu if a line wraps. * Rubyeval() not tested as a method. * Mapping test fails on MS-Windows. * Heredoc assignment not skipped in if block. * Terminal flags are never reset. * Cannot build without the +termresponse feature. * Mouse support not always available. * Spell highlight is wrong at start of the line. * Searchit() has too many arguments. * Screen not recognized as supporting "sgr" mouse codes. * Meson files are not recognized. * Syntax attributes not combined with Visual highlighting. (Arseny Nasokin) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=573
2019-10-29 13:35:13 +01:00
" Only xterm can grab the mouse events when using the shift key, for other
" terminals use ":", select text and press Esc.
-if has('mouse')
- Updated to version 8.1.2233, fixes the following problems - dropped python38-config.patch (upstream merged) - refreshed disable-unreliable-tests.patch and vim-8.0.1568-defaults.patch * No test for right click extending Visual area. * Crash when running out of memory very early. * No test for 'ttymouse' set from xterm version response. * State test is a bit flaky. * Combining text property and syntax highlight is wrong. (Nick Jensen) * Quickfix window height wrong when there is a tabline. (Daniel Hahler) * In a terminal window 'cursorlineopt' does not work properly. * First character after Tab is not highlighted. * Libvterm source files missing from distribution. * Terminal attributes missing in Terminal-normal mode. * Some mappings are listed twice. * Cannot build with +syntax but without +terminal. * Mapping test fails. * Popup resize test is flaky. (Christian Brabandt) * Cannot build with +spell but without +syntax. * Stuck when using "j" in a popupwin with popup_filter_menu if a line wraps. * Rubyeval() not tested as a method. * Mapping test fails on MS-Windows. * Heredoc assignment not skipped in if block. * Terminal flags are never reset. * Cannot build without the +termresponse feature. * Mouse support not always available. * Spell highlight is wrong at start of the line. * Searchit() has too many arguments. * Screen not recognized as supporting "sgr" mouse codes. * Meson files are not recognized. * Syntax attributes not combined with Visual highlighting. (Arseny Nasokin) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=573
2019-10-29 13:35:13 +01:00
- if &term =~ 'xterm'
- set mouse=a
- else
- set mouse=nvi
- endif
-endif
- Updated to version 8.1.2233, fixes the following problems - dropped python38-config.patch (upstream merged) - refreshed disable-unreliable-tests.patch and vim-8.0.1568-defaults.patch * No test for right click extending Visual area. * Crash when running out of memory very early. * No test for 'ttymouse' set from xterm version response. * State test is a bit flaky. * Combining text property and syntax highlight is wrong. (Nick Jensen) * Quickfix window height wrong when there is a tabline. (Daniel Hahler) * In a terminal window 'cursorlineopt' does not work properly. * First character after Tab is not highlighted. * Libvterm source files missing from distribution. * Terminal attributes missing in Terminal-normal mode. * Some mappings are listed twice. * Cannot build with +syntax but without +terminal. * Mapping test fails. * Popup resize test is flaky. (Christian Brabandt) * Cannot build with +spell but without +syntax. * Stuck when using "j" in a popupwin with popup_filter_menu if a line wraps. * Rubyeval() not tested as a method. * Mapping test fails on MS-Windows. * Heredoc assignment not skipped in if block. * Terminal flags are never reset. * Cannot build without the +termresponse feature. * Mouse support not always available. * Spell highlight is wrong at start of the line. * Searchit() has too many arguments. * Screen not recognized as supporting "sgr" mouse codes. * Meson files are not recognized. * Syntax attributes not combined with Visual highlighting. (Arseny Nasokin) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=573
2019-10-29 13:35:13 +01:00
+" disabled in (open)SUSE to make copy&pase work as most people
+" except it boo#1079185
+"if has('mouse')
- Updated to version 8.1.2233, fixes the following problems - dropped python38-config.patch (upstream merged) - refreshed disable-unreliable-tests.patch and vim-8.0.1568-defaults.patch * No test for right click extending Visual area. * Crash when running out of memory very early. * No test for 'ttymouse' set from xterm version response. * State test is a bit flaky. * Combining text property and syntax highlight is wrong. (Nick Jensen) * Quickfix window height wrong when there is a tabline. (Daniel Hahler) * In a terminal window 'cursorlineopt' does not work properly. * First character after Tab is not highlighted. * Libvterm source files missing from distribution. * Terminal attributes missing in Terminal-normal mode. * Some mappings are listed twice. * Cannot build with +syntax but without +terminal. * Mapping test fails. * Popup resize test is flaky. (Christian Brabandt) * Cannot build with +spell but without +syntax. * Stuck when using "j" in a popupwin with popup_filter_menu if a line wraps. * Rubyeval() not tested as a method. * Mapping test fails on MS-Windows. * Heredoc assignment not skipped in if block. * Terminal flags are never reset. * Cannot build without the +termresponse feature. * Mouse support not always available. * Spell highlight is wrong at start of the line. * Searchit() has too many arguments. * Screen not recognized as supporting "sgr" mouse codes. * Meson files are not recognized. * Syntax attributes not combined with Visual highlighting. (Arseny Nasokin) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=573
2019-10-29 13:35:13 +01:00
+" if &term =~ 'xterm'
+" set mouse=a
+" else
+" set mouse=nvi
+" endif
+"endif
- Updated to version 8.2.1840, fixes the following problems - refreshed vim-7.3-filetype_changes.patch and vim-8.0.1568-defaults.patch * Filetype.vim may be loaded twice. * Vim9: some assignment tests in the wrong file. * Vim9: returning from a partial call clears outer context, causing a crash. * Some debian changelog files are not recognized. * Statusline not updated when splitting windows. * Writing to prompt buffer interferes with insert mode. * Vim9: cannot pass boolean to mapset(). * Try-catch test fails. * commits are not scanned for security problems * Compiler warning for strcp() out of bounds. (Christian Brabandt) * Various Normal mode commands not fully tested. * Crash with 'incsearch' and very long line. * Vim9: still allows :let for declarations. * Vim9: crash with invalid list constant. (Dhiraj Mishra) * Vim9: debugger test fails. * Configure does not recognize Racket 6.1+. * Not consistently giving the "is a directory" warning. * No falsy Coalescing operator. * Vim9: operators && and || have a confusing result. * Vim9: invalid memory access with weird function name. (Dhiraj Mishra) * Vim9: some parts of the code not tested. * Vim9: trinary operator condition is too permissive. * Some Normal mode commands not fully tested. * Vim9: memory leak if "if" condition is invalid. * Undo file not found when using ":args" or ":next". * Vim9: crash with unterminated dict. (Dhiraj Mishra) * A few failures are not tested. * resolve('/') returns an empty string. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=628
2020-10-13 08:23:09 +02:00
" Only do this part when Vim was compiled with the +eval feature.
if 1