- Updated to revision 831

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=127
This commit is contained in:
Ismail Dönmez 2013-02-22 11:50:58 +00:00 committed by Git OBS Bridge
parent 9d01ac775c
commit 171448066c
4 changed files with 56 additions and 22 deletions

View File

@ -1,7 +1,6 @@
diff -p -up ./src/if_python.c.tv ./src/if_python.c
--- ./src/if_python.c.tv 2009-02-25 09:58:07.000000000 +0100
+++ ./src/if_python.c 2009-02-25 09:58:11.000000000 +0100
@@ -394,6 +394,7 @@ static PyInt RangeEnd;
--- ./src/if_python.c 2013-02-21 15:31:24.901839791 +0100
+++ ./src/if_python.c 2013-02-21 15:36:32.938839246 +0100
@@ -631,6 +631,7 @@
static void PythonIO_Flush(void);
static int PythonIO_Init(void);
static int PythonMod_Init(void);
@ -9,19 +8,19 @@ diff -p -up ./src/if_python.c.tv ./src/if_python.c
/* Utility functions for the vim/python interface
* ----------------------------------------------
@@ -537,6 +538,11 @@ Python_Init(void)
@@ -766,6 +767,11 @@
* the current directory in sys.path. */
PyRun_SimpleString("import sys; sys.path = filter(lambda x: x != '/must>not&exist', sys.path)");
+ /* Remove empty elements from sys.path since that causes the PWD to be
+ * used for imports, possibly masking system libraries and/or running
+ * arbitrary code. */
+ Python_FixPath();
+ /* Remove empty elements from sys.path since that causes the PWD to be
+ * used for imports, possibly masking system libraries and/or running
+ * arbitrary code. */
+ Python_FixPath();
+
/* the first python thread is vim's, release the lock */
Python_SaveThread();
@@ -2390,6 +2396,28 @@ PythonMod_Init(void)
/* lock is created and acquired in PyEval_InitThreads() and thread
* state is created in Py_Initialize()
* there _PyGILState_NoteThreadState() also sets gilcounter to 1
@@ -1598,6 +1604,28 @@
return 0;
}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1fc9d5eb0eb64091200ea254b7dd22ab848f1b7d3d839668697f8cb31569fc62
size 849630
oid sha256:3dd3f33ac7ffeba8f555932a1c3fed133a9dc6fc6b35b1f1430e292d85f28ff7
size 894404

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Thu Feb 21 14:29:08 UTC 2013 - idonmez@suse.com
- Updated to revision 831, fixes the following problems
* Python threads don't run in the background (issue 103).
* "\k" in regexp does not work in other window.
* After reloading a buffer the modelines are not processed.
* MzScheme interface doesn't work propely.
* ":substitute" works differently without confirmation.
* New interactive :substutite behavior is not tested.
* Tiny build fails. (Tony Mechelynck)
* MzScheme does not build with tiny features.
* Compiler warning for size_t to int conversion. (Skeept)
* MzScheme: circular list does not work correctly.
* The color column is not correct when entering a buffer.
* The " mark is not adjusted when inserting lines. (Roland Eggner)
* ":window set nu?" displays the cursor line. (Nazri Ramliy)
* Compiler warning for tiny build. (Tony Mechelynck)
* Python threads still do not work properly.
* The dosinst.c program has a buffer overflow. (Thomas Gwae)
* 'relativenumber is reset unexpectedly.
* Useless termresponse parsing for SGR mouse.
* When 'indentexpr' moves the cursor "curswant" not restored.
* Can't compute a hash.
* Test 89 fails with tiny and small features.
* Compiling without +eval and with Python isn't working.
* Crash when accessing freed buffer.
* Can redefine builtin functions. (ZyX)
* With Python errors are not always clear.
* List of features in :version output is hard to read.
* Python tests fail.
* Mappings are not aware of wildmenu mode.
* Clumsy to handle the situation that a variable does not exist.
- Refresh vim-7.1.314-CVE-2009-0316-debian.patch
-------------------------------------------------------------------
Tue Feb 12 21:51:53 UTC 2013 - mkoegler@auto.tuwien.ac.at
@ -1368,12 +1403,12 @@ Wed Jul 16 10:34:00 CEST 2003 - fehr@suse.de
Tue Jun 24 17:39:00 CEST 2003 - mmj@suse.de
- Update to 6.2 including:
· Support for GTK2
· Support for editing Arabic text
· ":try" command and exception handling
· Support for the neXtaw GUI toolkit
· Cscope support for Win32
· Support for PostScript printing in various 8-bit encodings
· Support for GTK2
· Support for editing Arabic text
· ":try" command and exception handling
· Support for the neXtaw GUI toolkit
· Cscope support for Win32
· Support for PostScript printing in various 8-bit encodings
- Add non-Win32 patches from 1 - 14
-------------------------------------------------------------------

View File

@ -17,7 +17,7 @@
%define pkg_version 7.3
%define official_ptchlvl 785
%define official_ptchlvl 831
%define VIM_SUBDIR vim73
%define site_runtimepath /usr/share/vim/site