vim/vim-7.3-filetype_spec.patch

36 lines
4.0 KiB
Diff
Raw Normal View History

- Updated to version 8.1.1467, fixes the following problems * Test 29 is old style. * Cannot flush change listeners without also redrawing. The line numbers in the list of changes may become invalid. * Text properties don't always move after changes. * When buffer is hidden "F" in 'shortmess' is not used. * Listener callback is called after inserting text. * Some eval functionality is not covered by tests. * Get empty text prop when splitting line just after text prop. * Hang when concealing the '>' shown for a wide char that doesn't fit in the last cell. * Installer needs to product name et al. * Attributes from 'cursorline' overwrite textprop. * Text properties are lost when joining lines. * Using freed memory when joining line with text property. * Text properties not adjusted for Visual block mode delete. * Coverity complains about possibly using a NULL pointer and copying a string into a fixed size buffer. * Stuck in sandbox with ":s/../\=Function/gn". * Error for Python exception does not show useful info. * Fractional scroll position not restored after closing window. * Running tests may cause the window to move. * If writing runs into a conversion error the backup file is deleted. * "W" for wrapping not shown when more than 99 matches. * Text property wrong after :substitute. * Undofile() reports wrong name. (Francisco Giordano) * Undo test fails on Mac. * Getting a list of text lines is clumsy. * Obvious mistakes are accepted as valid expressions. * Some text in heredoc assignment ends the text. (Ozaki Kiichi) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=553
2019-06-05 14:48:26 +02:00
Index: vim-8.1.1467/runtime/filetype.vim
- Use mercurial tags instead of applying patches one by one. This reduces unexpected failures. - Updated to revision 417, fixes the following problems * Can't build with Perl on Fedora 20. * Fold does not open after search when there is a CmdwinLeave autocommand. * "foo bar" sorts before "foo" with sort(). (John Little) * Cannot define a command only when it's used. * Cannot build. Warning for shadowed variable. (John Little) * Problem with breakindent/showbreak and tabs. * After splitting a window and setting 'breakindent' the default minimum with is not respected. * Screen updating is slow when using matches. * Inserting text for Visual block mode, with cursor movement, repeats the wrong text. (Aleksandar Ivanov) * Visual block insert breaks a multi-byte character. * Compiler warning for unused argument and unused variable. * Character after "fb" command not mapped if it might be a composing character. * Test 63 fails when run with GUI-only Vim. * Popup menu flickers too much. * When 'equalalways' is set a split may report "no room" even though there is plenty of room. * Title of quickfist list is not kept for setqflist(list, 'r'). * Accessing freed memory after using setqflist(list, 'r'). (Lcd) * Loading python may cause Vim to exit. * Get u_undo error when backspacing in Insert mode deletes more than one line break. (Ayberk Ozgur) * Mapping characters may not work after typing Esc in Insert mode. * Bad interaction between preview window and omnifunc. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=224
2014-08-25 13:50:01 +02:00
===================================================================
- Updated to version 8.1.1467, fixes the following problems * Test 29 is old style. * Cannot flush change listeners without also redrawing. The line numbers in the list of changes may become invalid. * Text properties don't always move after changes. * When buffer is hidden "F" in 'shortmess' is not used. * Listener callback is called after inserting text. * Some eval functionality is not covered by tests. * Get empty text prop when splitting line just after text prop. * Hang when concealing the '>' shown for a wide char that doesn't fit in the last cell. * Installer needs to product name et al. * Attributes from 'cursorline' overwrite textprop. * Text properties are lost when joining lines. * Using freed memory when joining line with text property. * Text properties not adjusted for Visual block mode delete. * Coverity complains about possibly using a NULL pointer and copying a string into a fixed size buffer. * Stuck in sandbox with ":s/../\=Function/gn". * Error for Python exception does not show useful info. * Fractional scroll position not restored after closing window. * Running tests may cause the window to move. * If writing runs into a conversion error the backup file is deleted. * "W" for wrapping not shown when more than 99 matches. * Text property wrong after :substitute. * Undofile() reports wrong name. (Francisco Giordano) * Undo test fails on Mac. * Getting a list of text lines is clumsy. * Obvious mistakes are accepted as valid expressions. * Some text in heredoc assignment ends the text. (Ozaki Kiichi) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=553
2019-06-05 14:48:26 +02:00
--- vim-8.1.1467.orig/runtime/filetype.vim
+++ vim-8.1.1467/runtime/filetype.vim
@@ -1563,7 +1563,7 @@ au BufNewFile,BufRead *.hog,snort.conf,v
au BufNewFile,BufRead *.rules call dist#ft#FTRules()
" Spec (Linux RPM)
-au BufNewFile,BufRead *.spec setf spec
+au BufNewFile,BufRead *.spec,*.spec.in setf spec
" Speedup (AspenTech plant simulator)
au BufNewFile,BufRead *.speedup,*.spdata,*.spd setf spup
- Updated to version 8.1.1467, fixes the following problems * Test 29 is old style. * Cannot flush change listeners without also redrawing. The line numbers in the list of changes may become invalid. * Text properties don't always move after changes. * When buffer is hidden "F" in 'shortmess' is not used. * Listener callback is called after inserting text. * Some eval functionality is not covered by tests. * Get empty text prop when splitting line just after text prop. * Hang when concealing the '>' shown for a wide char that doesn't fit in the last cell. * Installer needs to product name et al. * Attributes from 'cursorline' overwrite textprop. * Text properties are lost when joining lines. * Using freed memory when joining line with text property. * Text properties not adjusted for Visual block mode delete. * Coverity complains about possibly using a NULL pointer and copying a string into a fixed size buffer. * Stuck in sandbox with ":s/../\=Function/gn". * Error for Python exception does not show useful info. * Fractional scroll position not restored after closing window. * Running tests may cause the window to move. * If writing runs into a conversion error the backup file is deleted. * "W" for wrapping not shown when more than 99 matches. * Text property wrong after :substitute. * Undofile() reports wrong name. (Francisco Giordano) * Undo test fails on Mac. * Getting a list of text lines is clumsy. * Obvious mistakes are accepted as valid expressions. * Some text in heredoc assignment ends the text. (Ozaki Kiichi) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=553
2019-06-05 14:48:26 +02:00
Index: vim-8.1.1467/runtime/syntax/spec.vim
- Use mercurial tags instead of applying patches one by one. This reduces unexpected failures. - Updated to revision 417, fixes the following problems * Can't build with Perl on Fedora 20. * Fold does not open after search when there is a CmdwinLeave autocommand. * "foo bar" sorts before "foo" with sort(). (John Little) * Cannot define a command only when it's used. * Cannot build. Warning for shadowed variable. (John Little) * Problem with breakindent/showbreak and tabs. * After splitting a window and setting 'breakindent' the default minimum with is not respected. * Screen updating is slow when using matches. * Inserting text for Visual block mode, with cursor movement, repeats the wrong text. (Aleksandar Ivanov) * Visual block insert breaks a multi-byte character. * Compiler warning for unused argument and unused variable. * Character after "fb" command not mapped if it might be a composing character. * Test 63 fails when run with GUI-only Vim. * Popup menu flickers too much. * When 'equalalways' is set a split may report "no room" even though there is plenty of room. * Title of quickfist list is not kept for setqflist(list, 'r'). * Accessing freed memory after using setqflist(list, 'r'). (Lcd) * Loading python may cause Vim to exit. * Get u_undo error when backspacing in Insert mode deletes more than one line break. (Ayberk Ozgur) * Mapping characters may not work after typing Esc in Insert mode. * Bad interaction between preview window and omnifunc. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=224
2014-08-25 13:50:01 +02:00
===================================================================
- Updated to version 8.1.1467, fixes the following problems * Test 29 is old style. * Cannot flush change listeners without also redrawing. The line numbers in the list of changes may become invalid. * Text properties don't always move after changes. * When buffer is hidden "F" in 'shortmess' is not used. * Listener callback is called after inserting text. * Some eval functionality is not covered by tests. * Get empty text prop when splitting line just after text prop. * Hang when concealing the '>' shown for a wide char that doesn't fit in the last cell. * Installer needs to product name et al. * Attributes from 'cursorline' overwrite textprop. * Text properties are lost when joining lines. * Using freed memory when joining line with text property. * Text properties not adjusted for Visual block mode delete. * Coverity complains about possibly using a NULL pointer and copying a string into a fixed size buffer. * Stuck in sandbox with ":s/../\=Function/gn". * Error for Python exception does not show useful info. * Fractional scroll position not restored after closing window. * Running tests may cause the window to move. * If writing runs into a conversion error the backup file is deleted. * "W" for wrapping not shown when more than 99 matches. * Text property wrong after :substitute. * Undofile() reports wrong name. (Francisco Giordano) * Undo test fails on Mac. * Getting a list of text lines is clumsy. * Obvious mistakes are accepted as valid expressions. * Some text in heredoc assignment ends the text. (Ozaki Kiichi) OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=553
2019-06-05 14:48:26 +02:00
--- vim-8.1.1467.orig/runtime/syntax/spec.vim
+++ vim-8.1.1467/runtime/syntax/spec.vim
@@ -102,7 +102,7 @@ syn case ignore
"%% PreAmble Section %%
"Copyright and Serial were deprecated by License and Epoch
syn region specPreAmbleDeprecated oneline matchgroup=specError start='^\(Copyright\|Serial\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
- Updated to revision 1938, fixes the following problems * Updating marks in a quickfix list is very slow when the list is long. * When waiting for a character is interrupted by receiving channel data and the first character of a mapping was typed, the mapping times out. * When receiving channel data 'updatetime' is not respected. * Wrong computation of remaining wait time in RealWaitForChar() * When umask is set to 0177 Vim can't create temp files. * GUI: When channel data is received the cursor blinking is interrupted. * Channel reading very long lines is slow. * balloon eval only gets the window number, not the ID. * Cannot easily get the window ID for a buffer. * Cannot get the window ID for a mouse click. * Cannot use a window ID where a window number is expected. * Invoking mark_adjust() when adding a new line below the last line is pointless. * Various typos, long lines and style mistakes. * User commands don't support modifiers. * GTK 3: cursor blinking doesn't work well. * Using CTRL-] in the help on "{address}." doesn't work. * Win32: the "Disabled" menu items would appear enabled. * No test for collapsing buffers for a channel. Some text is lost. * When writing viminfo merging current history with history in viminfo may drop recent history entries. * Some compilers can't handle a double semicolon. * Collapsing channel buffers and searching for NL does not work properly. * Warnings from 64 bit compiler. * Netbeans uses uninitialzed pointer and freed memory. * Doubled semicolons. * Tests using external command to delete directory. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=372
2016-06-15 13:31:13 +02:00
-syn region specPreAmble oneline matchgroup=specCommand start='^\(Prereq\|Summary\|Name\|Version\|Packager\|Requires\|Recommends\|Suggests\|Supplements\|Enhances\|Icon\|URL\|Source\d*\|Patch\d*\|Prefix\|Packager\|Group\|License\|Release\|BuildRoot\|Distribution\|Vendor\|Provides\|ExclusiveArch\|ExcludeArch\|ExclusiveOS\|Obsoletes\|BuildArch\|BuildArchitectures\|BuildRequires\|BuildConflicts\|BuildPreReq\|Conflicts\|AutoRequires\|AutoReq\|AutoReqProv\|AutoProv\|Epoch\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
+syn region specPreAmble oneline matchgroup=specCommand start='^\(Prereq\|Summary\|Name\|Version\|Packager\|Requires\|Recommends\|Suggests\|Supplements\|Enhances\|Icon\|URL\|Source\d*\|Patch\d*\|Prefix\|Packager\|Group\|License\|Release\|BuildRoot\|Distribution\|Vendor\|Provides\|ExclusiveArch\|ExcludeArch\|ExclusiveOS\|Obsoletes\|BuildArch\|BuildArchitectures\|BuildRequires\|BuildConflicts\|BuildPreReq\|Conflicts\|AutoRequires\|AutoReq\|AutoReqProv\|AutoProv\|Epoch\|Recommends\|Suggests\|Freshens\|EssentialFor\|Supplements\|Enhances\)' end='$' contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier
"%% Description Section %%
syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1 contains=specDescriptionOpts,specEmail,specURL,specNumber,specMacroIdentifier,specComment
@@ -111,7 +111,7 @@ syn region specDescriptionArea matchgrou
syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e-1 contains=specPackageOpts,specPreAmble,specComment
"%% Scripts Section %%
- Updated to revision 1938, fixes the following problems * Updating marks in a quickfix list is very slow when the list is long. * When waiting for a character is interrupted by receiving channel data and the first character of a mapping was typed, the mapping times out. * When receiving channel data 'updatetime' is not respected. * Wrong computation of remaining wait time in RealWaitForChar() * When umask is set to 0177 Vim can't create temp files. * GUI: When channel data is received the cursor blinking is interrupted. * Channel reading very long lines is slow. * balloon eval only gets the window number, not the ID. * Cannot easily get the window ID for a buffer. * Cannot get the window ID for a mouse click. * Cannot use a window ID where a window number is expected. * Invoking mark_adjust() when adding a new line below the last line is pointless. * Various typos, long lines and style mistakes. * User commands don't support modifiers. * GTK 3: cursor blinking doesn't work well. * Using CTRL-] in the help on "{address}." doesn't work. * Win32: the "Disabled" menu items would appear enabled. * No test for collapsing buffers for a channel. Some text is lost. * When writing viminfo merging current history with history in viminfo may drop recent history entries. * Some compilers can't handle a double semicolon. * Collapsing channel buffers and searching for NL does not work properly. * Warnings from 64 bit compiler. * Netbeans uses uninitialzed pointer and freed memory. * Doubled semicolons. * Tests using external command to delete directory. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=372
2016-06-15 13:31:13 +02:00
-syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|autosetup\|autopatch\|find_lang\|make_build\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
+syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|check\|install\|clean\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|autosetup\|autopatch\|find_lang\|make_build\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
"%% Changelog Section %%
syn region specChangelogArea matchgroup=specSection start='^%changelog' end='^%'me=e-1 contains=specEmail,specURL,specWeekday,specMonth,specNumber,specComment,specLicense