- Updated to revision 425, fixes the following problems
* Packadd test does not clean up symlink. * Packadd test uses wrong directory name. * The E11 error message in the command line window is not translated. * The "zero count" error doesn't have a number. (Hirohito Higashi) * Xfontset and guifontwide are not tested. * Illegal memory access after "vapo". (Dominique Pelle) * Restoring help snapshot accesses freed memory. (Dominique Pelle) * GUI test fails on some systems. * Illegal memory access when 'complete' ends in a backslash. * Can't access b:changedtick from a dict reference. * Functions test fails. * Flags of :substitute not sufficiently tested. * Invalid memory access in :recover command. * :recover test fails on MS-Windows. * Illegal memory access with vi' * Not checking return valud of dict_add(). (Coverity) * When using complete() and typing a character undo is saved after the character was inserted. (Shougo) * Double free when compiled with EXITFREE and setting 'ttytype'. * b:changedtick can be unlocked, even though it has no effect. * Unlet command leaks memory. (Nikolai Pavlov) * islocked('d.changedtick') does not work. * Vim relies on limits.h to be included indirectly, but on Solaris 9 it may not be. (Ben Fritz) * When using CTRL-X CTRL-U inside a comment, the use of the comment leader may not work. (Klement) * When building with a shadow directory on macOS lacks the +clipboard feature. * Redrawing errors with GTK 3. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=421
This commit is contained in:
parent
9cc9815cd8
commit
5fde9a46e1
@ -1,38 +0,0 @@
|
||||
commit 70c8d2d8c412ad5639db8a018c7385fd99d0373f
|
||||
Author: Anatol Pomozov <anatol.pomozov@gmail.com>
|
||||
Date: Sat Jan 7 09:26:22 2017 -0800
|
||||
|
||||
Fix error messages for Python 3.6
|
||||
|
||||
https://github.com/vim/vim/issues/1359
|
||||
https://bugs.archlinux.org/task/52401
|
||||
https://bbs.archlinux.org/viewtopic.php?id=221579
|
||||
|
||||
diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok
|
||||
index d90ef8625..b51788bde 100644
|
||||
--- a/src/testdir/test87.ok
|
||||
+++ b/src/testdir/test87.ok
|
||||
@@ -658,10 +658,10 @@ assert sys.stderr.closed()==False:NOT FAILED
|
||||
assert sys.stdout.errors=="strict":NOT FAILED
|
||||
assert sys.stderr.errors=="strict":NOT FAILED
|
||||
assert sys.stdout.encoding==sys.stderr.encoding:NOT FAILED
|
||||
-sys.stdout.write(None):(<class 'TypeError'>, TypeError("Can't convert 'NoneType' object to str implicitly",))
|
||||
+sys.stdout.write(None):(<class 'TypeError'>, TypeError('argument must be str, bytes or bytearray, not None',))
|
||||
>> OutputWriteLines
|
||||
sys.stdout.writelines(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",))
|
||||
-sys.stdout.writelines([1]):(<class 'TypeError'>, TypeError("Can't convert 'int' object to str implicitly",))
|
||||
+sys.stdout.writelines([1]):(<class 'TypeError'>, TypeError('argument must be str, bytes or bytearray, not int',))
|
||||
>>> Testing *Iter* using sys.stdout.writelines(%s)
|
||||
sys.stdout.writelines(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError('iter',))
|
||||
sys.stdout.writelines(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError('next',))
|
||||
@@ -700,8 +700,8 @@ vim.foreach_rtp(NoArgsCall()):(<class 'TypeError'>, TypeError('__call__() takes
|
||||
vim.foreach_rtp(FailingCall()):(<class 'NotImplementedError'>, NotImplementedError('call',))
|
||||
vim.foreach_rtp(int, 2):(<class 'TypeError'>, TypeError('foreach_rtp() takes exactly one argument (2 given)',))
|
||||
> import
|
||||
-import xxx_no_such_module_xxx:(<class 'ImportError'>, ImportError('No module named xxx_no_such_module_xxx',))
|
||||
-import failing_import:(<class 'ImportError'>, ImportError('No module named failing_import',))
|
||||
+import xxx_no_such_module_xxx:(<class 'ModuleNotFoundError'>, ModuleNotFoundError("No module named 'xxx_no_such_module_xxx'",))
|
||||
+import failing_import:(<class 'ModuleNotFoundError'>, ModuleNotFoundError("No module named 'failing_import'",))
|
||||
import failing:(<class 'NotImplementedError'>, NotImplementedError())
|
||||
> Options
|
||||
>> OptionsItem
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ae00e1d1acb3e84f5f88b7df2a494199f168af28db0aa896bc8d9dbc2cc1d1cd
|
||||
size 12985045
|
3
vim-8.0.0425.tar.gz
Normal file
3
vim-8.0.0425.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:226ec0b35d1e787d237d535f1f55319a8b9b8882bc423e181b514c192be2f461
|
||||
size 13011260
|
126
vim.changes
126
vim.changes
@ -1,3 +1,129 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 6 08:40:25 UTC 2017 - idonmez@suse.com
|
||||
|
||||
- Updated to revision 425, fixes the following problems
|
||||
* Packadd test does not clean up symlink.
|
||||
* Packadd test uses wrong directory name.
|
||||
* The E11 error message in the command line window is not translated.
|
||||
* The "zero count" error doesn't have a number. (Hirohito Higashi)
|
||||
* Xfontset and guifontwide are not tested.
|
||||
* Illegal memory access after "vapo". (Dominique Pelle)
|
||||
* Restoring help snapshot accesses freed memory. (Dominique Pelle)
|
||||
* GUI test fails on some systems.
|
||||
* Illegal memory access when 'complete' ends in a backslash.
|
||||
* Can't access b:changedtick from a dict reference.
|
||||
* Functions test fails.
|
||||
* Flags of :substitute not sufficiently tested.
|
||||
* Invalid memory access in :recover command.
|
||||
* :recover test fails on MS-Windows.
|
||||
* Illegal memory access with vi'
|
||||
* Not checking return valud of dict_add(). (Coverity)
|
||||
* When using complete() and typing a character undo is saved after the
|
||||
character was inserted. (Shougo)
|
||||
* Double free when compiled with EXITFREE and setting 'ttytype'.
|
||||
* b:changedtick can be unlocked, even though it has no effect.
|
||||
* Unlet command leaks memory. (Nikolai Pavlov)
|
||||
* islocked('d.changedtick') does not work.
|
||||
* Vim relies on limits.h to be included indirectly, but on Solaris 9 it
|
||||
may not be. (Ben Fritz)
|
||||
* When using CTRL-X CTRL-U inside a comment, the use of the comment leader
|
||||
may not work. (Klement)
|
||||
* When building with a shadow directory on macOS lacks the +clipboard
|
||||
feature.
|
||||
* Redrawing errors with GTK 3.
|
||||
* Not enough test coverage for Perl.
|
||||
* No test for concatenating an empty string that results from out of
|
||||
bounds indexing.
|
||||
* The condition for when a typval needs to be cleared is too complicated.
|
||||
* If [RO] in the status line is translated to a longer string, it is
|
||||
trunctted to 4 bytes.
|
||||
* Test to check that setting termcap key fails sometimes.
|
||||
* Using uninitialized memory when 'isfname' is empty.
|
||||
* Leaking memory when setting 'ttytype'.
|
||||
* Crash when setting 'guicursor' to weird value.
|
||||
* Invalid memory access in C-indent code.
|
||||
* 'number' and 'relativenumber' are not properly tested.
|
||||
* Sometimes VimL is used, which is confusing.
|
||||
* GUI initialisation is not sufficiently tested.
|
||||
* Tests fail on MS-Windows.
|
||||
* Travis is too slow to keep up with patches.
|
||||
* ]s does not move cursor with two spell errors in one line.
|
||||
* Might free a dict item that wasn't allocated.
|
||||
* Build fails with tiny features.
|
||||
* If configure defines _LARGE_FILES some include files are included before
|
||||
it is defined.
|
||||
* Not all options are tested with a range of values.
|
||||
* The 'balloondelay', 'ballooneval' and 'balloonexpr' options are not defined
|
||||
without the +balloon_eval feature. Testing that an option value
|
||||
fails does not work for unsupported options.
|
||||
* Invalid memory access when setting wildchar empty.
|
||||
* Leaking memory when setting v:completed_item.
|
||||
* More options are not always defined.
|
||||
* Build fails without +folding.
|
||||
* Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
|
||||
* The "+ register is not tested.
|
||||
* Size computations in spell file reading are not exactly right.
|
||||
* Possible overflow when reading corrupted undo file.
|
||||
CVE-2017-6349 bsc#1027057
|
||||
* Another possible overflow when reading corrupted undo file.
|
||||
CVE-2017-6350 bsc#1027053
|
||||
* CTRL-Z and mouse click use CTRL-O unnecessary.
|
||||
* With 'linebreak' set and 'breakat' includes ">" a double-wide character
|
||||
results in "<<" displayed.
|
||||
* Diff mode is not sufficiently tested.
|
||||
* Warning in tiny build for unused variable. (Tony Mechelynck)
|
||||
* Misplaced #ifdef. (Christ van Willigen)
|
||||
* Timer test failed for no apparent reason.
|
||||
* No tests for arabic.
|
||||
* Tiny build has a problem with generating the options test.
|
||||
* compiler warnings
|
||||
* filtering lines through "cat", without changing the line count, changes
|
||||
manual folds.
|
||||
* Test for arabic does not check what is displayed.
|
||||
* When the window scrolls horizontally when the popup menu is displayed
|
||||
part of it may not be cleared. (Neovim issue #6184)
|
||||
* Arabic support is verbose and not well tested.
|
||||
* GUI test fails with Athena and Motif.
|
||||
* When the same tag appears more than once, the order is
|
||||
unpredictable. (Charles Campbell)
|
||||
* Tabs are not aligned when scrolling horizontally and a Tab doesn't
|
||||
fit. (Axel Bender)
|
||||
* Testing the + register fails with Motif.
|
||||
* 'balloonexpr' only works synchronously.
|
||||
* Cannot build with the viminfo feature but without the eval feature.
|
||||
* Illegal memory access with "t".
|
||||
* Crash when using balloon_show() when not supported. (Hirohito Higashi)
|
||||
* Some tests have a one second delay.
|
||||
* Test fails with missing balloon feature.
|
||||
* :map completion does not have <special>. (Dominique Pelle)
|
||||
* GUI tests may fail.
|
||||
* Not enough testing for quickfix.
|
||||
* v:progpath may become invalid after ":cd".
|
||||
* The arabic shaping code is verbose.
|
||||
* Filtering folds with marker method not tested.
|
||||
* Updating folds does not work properly when inserting a file and a few
|
||||
other situations.
|
||||
* set_progpath is defined but not always used
|
||||
* Newer gettext/iconv library has extra dll file.
|
||||
* We can't change the case in menu entries, it breaks translations.
|
||||
* Menu test fails on MS-Windows.
|
||||
* Menu test fails on MS-Windows using gvim.
|
||||
* Balloon eval is not tested.
|
||||
* Balloon test fails on MS-Windows.
|
||||
* Setting v:progpath is not quite right.
|
||||
* Test for the clipboard fails sometimes.
|
||||
* ASAN logs are disabled and don't cause a failure.
|
||||
* Test for v:progpath fails on MS-Windows.
|
||||
* When running :make the output may be in the system encoding, different
|
||||
from 'encoding'.
|
||||
* Diff mode is displayed wrong when adding a line at the end of a buffer.
|
||||
* Python test fails with Python 3.6.
|
||||
* The effect of adding "#" to 'cinoptions' is not always removed.
|
||||
* Compiler warnings on MS-Windows. (Ajit Thakkar)
|
||||
* Build errors when building without folding.
|
||||
|
||||
- Drop test87-python36.patch, fixed upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 16 14:00:34 UTC 2017 - idonmez@suse.com
|
||||
|
||||
|
8
vim.spec
8
vim.spec
@ -17,8 +17,8 @@
|
||||
|
||||
|
||||
%define pkg_version 8.0
|
||||
%define patchlevel 0324
|
||||
%define patchlevel_compact 324
|
||||
%define patchlevel 0425
|
||||
%define patchlevel_compact 425
|
||||
%define VIM_SUBDIR vim80
|
||||
%define site_runtimepath /usr/share/vim/site
|
||||
%define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?_smp_mflags}
|
||||
@ -92,7 +92,6 @@ Patch15: %{name}-7.4-filetype_apparmor.patch
|
||||
Patch18: %{name}-7.3-filetype_spec.patch
|
||||
Patch21: %{name}-7.3-filetype_changes.patch
|
||||
Patch22: %{name}-7.4-filetype_mine.patch
|
||||
Patch23: test87-python36.patch
|
||||
Patch100: vim73-no-static-libpython.patch
|
||||
|
||||
%description
|
||||
@ -162,9 +161,6 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
|
||||
%patch18 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%if 0%{?python3_version_nodots} >= 36
|
||||
%patch23 -p1
|
||||
%endif
|
||||
%patch100 -p1
|
||||
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user