- Updated to revision 092, fixes the following problems

* Reading past end of the 'stl' string.
  * byteidx() does not work for composing characters.
  * set_last_cursor() may encounter w_buffer being NULL.  (Matt Mkaniaris)
  * Declaration has wrong return type for PyObject_SetAttrString().
  * Crash when using invalid key in Python dictionary.
  * When replacing a character in Visual block mode, entering a CR does not cause a repeated line break.
  * When recording, the character typed at the hit-enter prompt is recorded twice. (Urtica Dioica)
  * After inserting comment leader, CTRL-\ CTRL-O does move the cursor. (Wiktor Ruben)
  * Cannot right shift lines starting with #.
  * Passing limits around too often.
  * Crash when using Insert mode completion.
  * Setting undolevels for one buffer changes undo in another.
  * When undo'ing all changes and creating a new change the undo structure is incorrect. (Christian Brabandt)
  * Locally setting 'undolevels' is not tested.
  * "cgn" does not wrap around the end of the file. (Dimitrov Dimitrov)
  * A script cannot detect whether 'hlsearch' highlighting is actually displayed.
  * Missing documentation for v:hlsearch.
  * Wrong logic when ANALYZE is "yes".
  * Using "gf" in a changed buffer suggests adding "!", which is not possible. (Tim Chase)
  * It's hard to avoid adding a used pattern to the search history.
  * Python: interrupt not being properly discarded. (Yggdroot Chen)
  * When inserting text in Visual block mode and moving the cursor the wrong text gets repeated in other lines.
  * Skipping over an expression when not evaluating it does not work properly for dict members.
  * When spell checking is enabled Asian characters are always marked as error.
  * When editing a file in a directory mounted through sshfs Vim doesn't set the security context on a renamed file.

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=173
This commit is contained in:
Ismail Dönmez 2013-11-14 09:34:41 +00:00 committed by Git OBS Bridge
parent 23f214a156
commit 25cece8c4e
4 changed files with 34 additions and 31 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8a7895bf355905462d630ebf1cf636b2f82b203ea3e7654e6d7e4f6414bf0ed
size 38878
oid sha256:639be2951084c463c4cc2de2b15c94c756f22643f8942c85c9bf59df83ca6c3c
size 84559

View File

@ -1,26 +0,0 @@
Index: vim74/src/if_python.c
===================================================================
--- vim74.orig/src/if_python.c
+++ vim74/src/if_python.c
@@ -359,7 +359,7 @@ static int(*dll_PyRun_SimpleString)(char
static PyObject *(*dll_PyRun_String)(char *, int, PyObject *, PyObject *);
static PyObject* (*dll_PyObject_GetAttrString)(PyObject *, const char *);
static int (*dll_PyObject_HasAttrString)(PyObject *, const char *);
-static PyObject* (*dll_PyObject_SetAttrString)(PyObject *, const char *, PyObject *);
+static int (*dll_PyObject_SetAttrString)(PyObject *, const char *, PyObject *);
static PyObject* (*dll_PyObject_CallFunctionObjArgs)(PyObject *, ...);
static PyObject* (*dll_PyObject_CallFunction)(PyObject *, char *, ...);
static PyObject* (*dll_PyObject_Call)(PyObject *, PyObject *, PyObject *);
Index: vim74/src/if_python3.c
===================================================================
--- vim74.orig/src/if_python3.c
+++ vim74/src/if_python3.c
@@ -302,7 +302,7 @@ static int (*py3_PyRun_SimpleString)(cha
static PyObject* (*py3_PyRun_String)(char *, int, PyObject *, PyObject *);
static PyObject* (*py3_PyObject_GetAttrString)(PyObject *, const char *);
static int (*py3_PyObject_HasAttrString)(PyObject *, const char *);
-static PyObject* (*py3_PyObject_SetAttrString)(PyObject *, const char *, PyObject *);
+static int (*py3_PyObject_SetAttrString)(PyObject *, const char *, PyObject *);
static PyObject* (*py3_PyObject_CallFunctionObjArgs)(PyObject *, ...);
static PyObject* (*py3__PyObject_CallFunction_SizeT)(PyObject *, char *, ...);
static PyObject* (*py3_PyObject_Call)(PyObject *, PyObject *, PyObject *);

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Nov 14 09:27:18 UTC 2013 - idonmez@suse.com
- Updated to revision 092, fixes the following problems
* Reading past end of the 'stl' string.
* byteidx() does not work for composing characters.
* set_last_cursor() may encounter w_buffer being NULL. (Matt Mkaniaris)
* Declaration has wrong return type for PyObject_SetAttrString().
* Crash when using invalid key in Python dictionary.
* When replacing a character in Visual block mode, entering a CR does not cause a repeated line break.
* When recording, the character typed at the hit-enter prompt is recorded twice. (Urtica Dioica)
* After inserting comment leader, CTRL-\ CTRL-O does move the cursor. (Wiktor Ruben)
* Cannot right shift lines starting with #.
* Passing limits around too often.
* Crash when using Insert mode completion.
* Setting undolevels for one buffer changes undo in another.
* When undo'ing all changes and creating a new change the undo structure is incorrect. (Christian Brabandt)
* Locally setting 'undolevels' is not tested.
* "cgn" does not wrap around the end of the file. (Dimitrov Dimitrov)
* A script cannot detect whether 'hlsearch' highlighting is actually displayed.
* Missing documentation for v:hlsearch.
* Wrong logic when ANALYZE is "yes".
* Using "gf" in a changed buffer suggests adding "!", which is not possible. (Tim Chase)
* It's hard to avoid adding a used pattern to the search history.
* Python: interrupt not being properly discarded. (Yggdroot Chen)
* When inserting text in Visual block mode and moving the cursor the wrong text gets repeated in other lines.
* Skipping over an expression when not evaluating it does not work properly for dict members.
* When spell checking is enabled Asian characters are always marked as error.
* When editing a file in a directory mounted through sshfs Vim doesn't set the security context on a renamed file.
- Drop vim-7.4-python-decl.patch, patch upstream now.
-------------------------------------------------------------------
Mon Oct 28 10:12:29 UTC 2013 - schwab@suse.de

View File

@ -17,7 +17,7 @@
%define pkg_version 7.4
%define official_ptchlvl 052
%define official_ptchlvl 092
%define VIM_SUBDIR vim74
%define site_runtimepath /usr/share/vim/site
%define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?_smp_mflags}
@ -102,7 +102,6 @@ Patch18: %{name}-7.3-filetype_spec.patch
Patch19: %{name}-7.3-diff_check.patch
Patch21: %{name}-7.3-filetype_changes.patch
Patch22: %{name}-7.4-filetype_mine.patch
Patch23: %{name}-7.4-python-decl.patch
Patch100: vim-7.1.314-CVE-2009-0316-debian.patch
Patch101: vim73-no-static-libpython.patch
%{perl_requires}
@ -191,7 +190,6 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
%patch19 -p1
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch100 -p1
%patch101
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .