From 7f2f41c1b4e04b1665650db87e1297d61a17bec95b55169996a8e8658d78fd3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 9 Feb 2016 12:42:54 +0000 Subject: [PATCH 01/12] - Updated to revision 1294, fixes the following problems * copy() and deepcopy() fail with special variables. * Encoding {'key':} to JSON doesn't give an error. * assert_false(v:false) reports an error. * When jsonencode() fails it still returns something. * jsonencode() is not producing strict JSON. * Crash when evaluating the pattern of ":catch" causes an error. * The job feature isn't available on MS-Windows. * ch_open() with a timeout doesn't work correctly. * ch_sendexpr() does not use JS encoding. - Temporarily disable vim-7.3-diff_check.patch OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=308 --- v7.4.1194.tar.gz | 3 --- v7.4.1294.tar.gz | 3 +++ vim.changes | 15 +++++++++++++++ vim.spec | 6 +++--- 4 files changed, 21 insertions(+), 6 deletions(-) delete mode 100644 v7.4.1194.tar.gz create mode 100644 v7.4.1294.tar.gz diff --git a/v7.4.1194.tar.gz b/v7.4.1194.tar.gz deleted file mode 100644 index fe7a4fc..0000000 --- a/v7.4.1194.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1e903b22d3a6154d26a9991d9d1196a41be86c500369c9fe5a2dd80800e60916 -size 12595792 diff --git a/v7.4.1294.tar.gz b/v7.4.1294.tar.gz new file mode 100644 index 0000000..e468020 --- /dev/null +++ b/v7.4.1294.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16e3ee61bb1899d1c84f19f4b5cc084798e3af6a67a936404cc06a69f432e096 +size 12595306 diff --git a/vim.changes b/vim.changes index ed2b0a0..1552cc0 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Feb 8 13:22:33 UTC 2016 - idonmez@suse.com + +- Updated to revision 1294, fixes the following problems + * copy() and deepcopy() fail with special variables. + * Encoding {'key':} to JSON doesn't give an error. + * assert_false(v:false) reports an error. + * When jsonencode() fails it still returns something. + * jsonencode() is not producing strict JSON. + * Crash when evaluating the pattern of ":catch" causes an error. + * The job feature isn't available on MS-Windows. + * ch_open() with a timeout doesn't work correctly. + * ch_sendexpr() does not use JS encoding. +- Temporarily disable vim-7.3-diff_check.patch + ------------------------------------------------------------------- Fri Jan 29 08:45:41 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 3eda87f..b0c4034 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1194 +%define patchlevel 1294 %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} @@ -88,7 +88,7 @@ Patch10: %{name}-7.3-name_vimrc.patch Patch11: %{name}-7.3-mktemp_tutor.patch Patch15: %{name}-7.4-filetype_apparmor.patch Patch18: %{name}-7.3-filetype_spec.patch -Patch19: %{name}-7.3-diff_check.patch +#Patch19: %{name}-7.3-diff_check.patch Patch21: %{name}-7.3-filetype_changes.patch Patch22: %{name}-7.4-filetype_mine.patch Patch100: vim-7.1.314-CVE-2009-0316-debian.patch @@ -164,7 +164,7 @@ want less features, you might want to install vim instead. cp %{SOURCE23} runtime/syntax/apparmor.vim %patch15 -p1 %patch18 -p1 -%patch19 -p1 +#%patch19 -p1 %patch21 -p1 %patch22 -p1 %patch100 -p1 From 2c6170b24e4127035e4b1158ec7f53e7da62bd04bce160c5658ccb529ddd10e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 16 Feb 2016 10:03:07 +0000 Subject: [PATCH 02/12] - Updated to revision 1328, fixes the following problems * Cursor changes column with up motion when the matchparen plugin saves and restores the cursor position. (Martin Kunev) * "\%1l^#.*" does not match on a line starting with "#". * Channel with pipes doesn't work in GUI. * Crash when unletting the variable that holds the channel in a callback function. * Can't compile with +job but without +channel. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=309 --- v7.4.1294.tar.gz | 3 --- v7.4.1328.tar.gz | 3 +++ vim.changes | 12 ++++++++++++ vim.spec | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) delete mode 100644 v7.4.1294.tar.gz create mode 100644 v7.4.1328.tar.gz diff --git a/v7.4.1294.tar.gz b/v7.4.1294.tar.gz deleted file mode 100644 index e468020..0000000 --- a/v7.4.1294.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16e3ee61bb1899d1c84f19f4b5cc084798e3af6a67a936404cc06a69f432e096 -size 12595306 diff --git a/v7.4.1328.tar.gz b/v7.4.1328.tar.gz new file mode 100644 index 0000000..ce8fbfe --- /dev/null +++ b/v7.4.1328.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db381046209abc955659d48f66d17a2544b18f971388d20ea5904c73481fc350 +size 12608875 diff --git a/vim.changes b/vim.changes index 1552cc0..5b6a315 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Feb 16 09:57:19 UTC 2016 - idonmez@suse.com + +- Updated to revision 1328, fixes the following problems + * Cursor changes column with up motion when the matchparen + plugin saves and restores the cursor position. (Martin Kunev) + * "\%1l^#.*" does not match on a line starting with "#". + * Channel with pipes doesn't work in GUI. + * Crash when unletting the variable that holds the channel + in a callback function. + * Can't compile with +job but without +channel. + ------------------------------------------------------------------- Mon Feb 8 13:22:33 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index b0c4034..e654f78 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1294 +%define patchlevel 1328 %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} From f3ec0c0e1d91af93ea85f39a0dbad748698472e105aa9fd39b5af71837b6246d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 18 Feb 2016 11:13:27 +0000 Subject: [PATCH 03/12] - OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=310 --- v7.4.1328.tar.gz | 3 --- v7.4.1345.tar.gz | 3 +++ vim.changes | 11 +++++++++++ vim.spec | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) delete mode 100644 v7.4.1328.tar.gz create mode 100644 v7.4.1345.tar.gz diff --git a/v7.4.1328.tar.gz b/v7.4.1328.tar.gz deleted file mode 100644 index ce8fbfe..0000000 --- a/v7.4.1328.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:db381046209abc955659d48f66d17a2544b18f971388d20ea5904c73481fc350 -size 12608875 diff --git a/v7.4.1345.tar.gz b/v7.4.1345.tar.gz new file mode 100644 index 0000000..31c63f4 --- /dev/null +++ b/v7.4.1345.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dec89e020270c5cd6c862462a04e1f87730bcf3b869e415c3394886bae1c7fe9 +size 12609438 diff --git a/vim.changes b/vim.changes index 5b6a315..449d3ef 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Feb 18 11:12:03 UTC 2016 - idonmez@suse.com + +- Updated to revision 1345, fixes the following problems + * Crash when using channel that failed to open. + * Crash when closing the channel in a callback. + * Channel test fails on non-darwin builds. + * Channel NL mode is not supported yet. + * It's difficult to add more arguments to ch_sendraw() and ch_sendexpr(). + * Can't compile with +job but without +channel. + ------------------------------------------------------------------- Tue Feb 16 09:57:19 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index e654f78..5f65080 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1328 +%define patchlevel 1345 %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} From 54a2adcb32a013573dbf919abd0902f0431c678506a73b708d8951ea74c9f33d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 19 Feb 2016 08:41:52 +0000 Subject: [PATCH 04/12] - Updated to revision 1353, fixes the following problems * Compiler warnings in build with -O2. * When there is any error Vim will use a non-zero exit code. * When the test server fails to start Vim hangs. * When the port isn't opened yet when ch_open() is called it may fail instead of waiting for the specified time. * The test script lists all functions before executing them. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=311 --- v7.4.1345.tar.gz | 3 --- v7.4.1353.tar.gz | 3 +++ vim.changes | 11 +++++++++++ vim.spec | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) delete mode 100644 v7.4.1345.tar.gz create mode 100644 v7.4.1353.tar.gz diff --git a/v7.4.1345.tar.gz b/v7.4.1345.tar.gz deleted file mode 100644 index 31c63f4..0000000 --- a/v7.4.1345.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dec89e020270c5cd6c862462a04e1f87730bcf3b869e415c3394886bae1c7fe9 -size 12609438 diff --git a/v7.4.1353.tar.gz b/v7.4.1353.tar.gz new file mode 100644 index 0000000..f6c2ad8 --- /dev/null +++ b/v7.4.1353.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d48b4fc0c2f576a22dbd2f1e7662cf424a7aeec3425f8263770059419f4a56a +size 12610341 diff --git a/vim.changes b/vim.changes index 449d3ef..d063ff8 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Feb 19 08:32:41 UTC 2016 - idonmez@suse.com + +- Updated to revision 1353, fixes the following problems + * Compiler warnings in build with -O2. + * When there is any error Vim will use a non-zero exit code. + * When the test server fails to start Vim hangs. + * When the port isn't opened yet when ch_open() is called it may + fail instead of waiting for the specified time. + * The test script lists all functions before executing them. + ------------------------------------------------------------------- Thu Feb 18 11:12:03 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 5f65080..19601ab 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1345 +%define patchlevel 1353 %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} From 030d150c11604c103cdf529adfdab3779fbadf08c4aec9adfbda8606f205ae00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 19 Feb 2016 08:55:59 +0000 Subject: [PATCH 05/12] - OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=312 --- vim-7.3-diff_check.patch | 93 ---------------------------------------- vim.changes | 2 +- vim.spec | 2 - 3 files changed, 1 insertion(+), 96 deletions(-) delete mode 100644 vim-7.3-diff_check.patch diff --git a/vim-7.3-diff_check.patch b/vim-7.3-diff_check.patch deleted file mode 100644 index 667ab2e..0000000 --- a/vim-7.3-diff_check.patch +++ /dev/null @@ -1,93 +0,0 @@ -Index: vim-7.4.843/src/diff.c -=================================================================== ---- vim-7.4.843.orig/src/diff.c -+++ vim-7.4.843/src/diff.c -@@ -42,7 +42,7 @@ static void diff_check_unchanged __ARGS( - static int diff_check_sanity __ARGS((tabpage_T *tp, diff_T *dp)); - static void diff_redraw __ARGS((int dofold)); - static int diff_write __ARGS((buf_T *buf, char_u *fname)); --static void diff_file __ARGS((char_u *tmp_orig, char_u *tmp_new, char_u *tmp_diff)); -+static int diff_file __ARGS((char_u *tmp_orig, char_u *tmp_new, char_u *tmp_diff)); - static int diff_equal_entry __ARGS((diff_T *dp, int idx1, int idx2)); - static int diff_cmp __ARGS((char_u *s1, char_u *s2)); - #ifdef FEAT_FOLDING -@@ -667,6 +667,7 @@ ex_diffupdate(eap) - char_u *tmp_diff; - FILE *fd; - int ok; -+ int retval = 0; - int io_error = FALSE; - - /* Delete all diffblocks. */ -@@ -719,7 +720,7 @@ ex_diffupdate(eap) - if (fwrite("line2\n", (size_t)6, (size_t)1, fd) != 1) - io_error = TRUE; - fclose(fd); -- diff_file(tmp_orig, tmp_new, tmp_diff); -+ retval = diff_file(tmp_orig, tmp_new, tmp_diff); - fd = mch_fopen((char *)tmp_diff, "r"); - if (fd == NULL) - io_error = TRUE; -@@ -765,6 +766,12 @@ ex_diffupdate(eap) - } - #endif - -+ /* diff returned an error */ -+ if (retval == 2) { -+ ok = FALSE; -+ break; -+ } -+ - /* If we checked if "-a" works already, break here. */ - if (diff_a_works != MAYBE) - break; -@@ -808,10 +815,13 @@ ex_diffupdate(eap) - continue; /* skip buffer that isn't loaded */ - if (diff_write(buf, tmp_new) == FAIL) - continue; -- diff_file(tmp_orig, tmp_new, tmp_diff); -- -- /* Read the diff output and add each entry to the diff list. */ -- diff_read(idx_orig, idx_new, tmp_diff); -+ retval = diff_file(tmp_orig, tmp_new, tmp_diff); -+ if(retval == 2) -+ EMSG(_("E97: Cannot create diffs")); -+ else { -+ /* Read the diff output and add each entry to the diff list. */ -+ diff_read(idx_orig, idx_new, tmp_diff); -+ } - mch_remove(tmp_diff); - mch_remove(tmp_new); - } -@@ -831,13 +841,14 @@ theend: - /* - * Make a diff between files "tmp_orig" and "tmp_new", results in "tmp_diff". - */ -- static void -+ static int - diff_file(tmp_orig, tmp_new, tmp_diff) - char_u *tmp_orig; - char_u *tmp_new; - char_u *tmp_diff; - { - char_u *cmd; -+ int retval=0; - size_t len; - - #ifdef FEAT_EVAL -@@ -873,13 +884,14 @@ diff_file(tmp_orig, tmp_new, tmp_diff) - #ifdef FEAT_AUTOCMD - block_autocmds(); /* Avoid ShellCmdPost stuff */ - #endif -- (void)call_shell(cmd, SHELL_FILTER|SHELL_SILENT|SHELL_DOOUT); -+ retval = call_shell(cmd, SHELL_FILTER|SHELL_SILENT|SHELL_DOOUT); - #ifdef FEAT_AUTOCMD - unblock_autocmds(); - #endif - vim_free(cmd); - } - } -+ return retval; - } - - /* diff --git a/vim.changes b/vim.changes index d063ff8..0958eae 100644 --- a/vim.changes +++ b/vim.changes @@ -45,7 +45,7 @@ Mon Feb 8 13:22:33 UTC 2016 - idonmez@suse.com * The job feature isn't available on MS-Windows. * ch_open() with a timeout doesn't work correctly. * ch_sendexpr() does not use JS encoding. -- Temporarily disable vim-7.3-diff_check.patch +- Remove vim-7.3-diff_check.patch ------------------------------------------------------------------- Fri Jan 29 08:45:41 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 19601ab..196cdfb 100644 --- a/vim.spec +++ b/vim.spec @@ -88,7 +88,6 @@ Patch10: %{name}-7.3-name_vimrc.patch Patch11: %{name}-7.3-mktemp_tutor.patch Patch15: %{name}-7.4-filetype_apparmor.patch 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 Patch100: vim-7.1.314-CVE-2009-0316-debian.patch @@ -164,7 +163,6 @@ want less features, you might want to install vim instead. cp %{SOURCE23} runtime/syntax/apparmor.vim %patch15 -p1 %patch18 -p1 -#%patch19 -p1 %patch21 -p1 %patch22 -p1 %patch100 -p1 From 8099e65826e090916def8a58634268620a8d51b4aefeb6601bbece320748ec3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 22 Feb 2016 09:58:43 +0000 Subject: [PATCH 06/12] - OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=313 --- v7.4.1353.tar.gz | 3 --- v7.4.1385.tar.gz | 3 +++ vim.changes | 18 ++++++++++++++++++ vim.spec | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) delete mode 100644 v7.4.1353.tar.gz create mode 100644 v7.4.1385.tar.gz diff --git a/v7.4.1353.tar.gz b/v7.4.1353.tar.gz deleted file mode 100644 index f6c2ad8..0000000 --- a/v7.4.1353.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d48b4fc0c2f576a22dbd2f1e7662cf424a7aeec3425f8263770059419f4a56a -size 12610341 diff --git a/v7.4.1385.tar.gz b/v7.4.1385.tar.gz new file mode 100644 index 0000000..09f313d --- /dev/null +++ b/v7.4.1385.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:507314716d07477911c2c27b357a39166a82fe7fb5e1346f06cdcb90500311f4 +size 12599902 diff --git a/vim.changes b/vim.changes index 0958eae..9626ce7 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Mon Feb 22 09:53:40 UTC 2016 - idonmez@suse.com + +- Updated to revision 1385, fixes the following problems + * Job and channel options parsing is scattered. + * Channel test ch_sendexpr() times out. + * Can't remove a callback with ch_setoptions(). + * Channels don't have a queue for stderr. + * X11 GUI callbacks don't specify the part of the channel. + * Channel read implementation is incomplete. + * Calling a Vim function over a channel requires turning the + arguments into a string. + * ch_setoptions() cannot set all options. + * Can't change job settings after it started. + * The job exit callback is not implemented. + * Can't get the job of a channel. + * It is not easy to use a set of plugins and their dependencies. + ------------------------------------------------------------------- Fri Feb 19 08:32:41 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 196cdfb..4da6e0c 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1353 +%define patchlevel 1385 %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} From 0bcdcbe57b1841628b0b1a99a0e6f00ab5406d3cbad7ceb1ee33c79da9256ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 22 Feb 2016 13:18:20 +0000 Subject: [PATCH 07/12] - Drop vim-7.1.314-CVE-2009-0316-debian.patch, Python 2.7 has the appropriate fix. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=314 --- vim-7.1.314-CVE-2009-0316-debian.patch | 53 -------------------------- vim.changes | 6 +++ vim.spec | 4 +- 3 files changed, 7 insertions(+), 56 deletions(-) delete mode 100644 vim-7.1.314-CVE-2009-0316-debian.patch diff --git a/vim-7.1.314-CVE-2009-0316-debian.patch b/vim-7.1.314-CVE-2009-0316-debian.patch deleted file mode 100644 index 793566e..0000000 --- a/vim-7.1.314-CVE-2009-0316-debian.patch +++ /dev/null @@ -1,53 +0,0 @@ -Index: vim74/src/if_python.c -=================================================================== ---- vim74.orig/src/if_python.c -+++ vim74/src/if_python.c -@@ -806,6 +806,7 @@ py_memsave(void *p, size_t len) - */ - - static int PythonMod_Init(void); -+static void Python_FixPath(void); - - - /****************************************************** -@@ -933,6 +934,11 @@ Python_Init(void) - * 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(); -+ - /* lock is created and acquired in PyEval_InitThreads() and thread - * state is created in Py_Initialize() - * there _PyGILState_NoteThreadState() also sets gilcounter to 1 -@@ -1417,6 +1423,28 @@ PythonMod_Init(void) - return 0; - } - -+ static void -+Python_FixPath(void) -+{ -+ PyObject *sys = PyImport_ImportModule("sys"); -+ PyObject *sysdict = PyModule_GetDict(sys); -+ PyObject *path = PyDict_GetItemString(sysdict, "path"); -+ PyObject *newpath = PyList_New(0); -+ if (newpath != NULL) { -+ Py_INCREF(newpath); -+ PyInt n = PyList_Size(path); -+ PyInt i; -+ for (i = 0; i < n; i++) { -+ PyObject *item = PyList_GetItem(path, i); -+ if (strlen(PyString_AsString(item)) != 0) { -+ PyList_Append(newpath, PyList_GetItem(path, i)); -+ } -+ } -+ PyDict_SetItemString(sysdict, "path", newpath); -+ Py_DECREF(newpath); -+ } -+} -+ - /************************************************************************* - * 4. Utility functions for handling the interface between Vim and Python. - */ diff --git a/vim.changes b/vim.changes index 9626ce7..afbed8c 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 22 13:17:45 UTC 2016 - idonmez@suse.com + +- Drop vim-7.1.314-CVE-2009-0316-debian.patch, Python 2.7 has + the appropriate fix. + ------------------------------------------------------------------- Mon Feb 22 09:53:40 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 4da6e0c..7693608 100644 --- a/vim.spec +++ b/vim.spec @@ -90,8 +90,7 @@ 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 -Patch100: vim-7.1.314-CVE-2009-0316-debian.patch -Patch101: vim73-no-static-libpython.patch +Patch100: vim73-no-static-libpython.patch %description Vim (Vi IMproved) is an almost compatible version of the UNIX editor @@ -166,7 +165,6 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim %patch21 -p1 %patch22 -p1 %patch100 -p1 -%patch101 -p1 cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} . %build From 2a18ba572f334f62337abd53bcfa0c554596ea58dd238e366386f2ff56addfea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 23 Feb 2016 08:30:20 +0000 Subject: [PATCH 08/12] - OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=315 --- v7.4.1385.tar.gz | 3 --- v7.4.1397.tar.gz | 3 +++ vim.changes | 9 +++++++++ vim.spec | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 v7.4.1385.tar.gz create mode 100644 v7.4.1397.tar.gz diff --git a/v7.4.1385.tar.gz b/v7.4.1385.tar.gz deleted file mode 100644 index 09f313d..0000000 --- a/v7.4.1385.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:507314716d07477911c2c27b357a39166a82fe7fb5e1346f06cdcb90500311f4 -size 12599902 diff --git a/v7.4.1397.tar.gz b/v7.4.1397.tar.gz new file mode 100644 index 0000000..f564fc1 --- /dev/null +++ b/v7.4.1397.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b7042b445c9d7b8eb73b430cc8e66585439b795e8142208f147630b5d3c1743 +size 12600542 diff --git a/vim.changes b/vim.changes index afbed8c..52bd8eb 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Feb 23 08:25:46 UTC 2016 - idonmez@suse.com + +- Updated to revision 1397, fixes the following problems + * When the Job exit callback is invoked, the job may be freed too + soon. + * Starting a job hangs in the GUI. + * Can't sort inside a sort function. + ------------------------------------------------------------------- Mon Feb 22 13:17:45 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 7693608..8c417d3 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1385 +%define patchlevel 1397 %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} From 7389e26595880c4cc4ea234533bf7a9b1e24a7dde7855819d908b479732c15c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 24 Feb 2016 09:11:31 +0000 Subject: [PATCH 09/12] - OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=316 --- v7.4.1397.tar.gz | 3 --- v7.4.1410.tar.gz | 3 +++ vim.changes | 13 +++++++++++++ vim.spec | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) delete mode 100644 v7.4.1397.tar.gz create mode 100644 v7.4.1410.tar.gz diff --git a/v7.4.1397.tar.gz b/v7.4.1397.tar.gz deleted file mode 100644 index f564fc1..0000000 --- a/v7.4.1397.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b7042b445c9d7b8eb73b430cc8e66585439b795e8142208f147630b5d3c1743 -size 12600542 diff --git a/v7.4.1410.tar.gz b/v7.4.1410.tar.gz new file mode 100644 index 0000000..4ff76d2 --- /dev/null +++ b/v7.4.1410.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94a921e2ba83456165506fd2d4f7fc2a3ace7635d33b40fcbb57090a72c347af +size 12586420 diff --git a/vim.changes b/vim.changes index 52bd8eb..403e915 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Feb 24 09:06:22 UTC 2016 - idonmez@suse.com + +- Updated to revision 1410, fixes the following problems + * The close-cb option is not implemented yet. + * Perl eval doesn't work properly on 64-bit big-endian machine. + * Having 'autochdir' set during startup and using diff mode doesn't work. + * GTK 3 is not supported. + * Completion menu flickers. + * Leaking memory in cs_print_tags_priv(). + * json_encode() does not handle NaN and inf properly. + * Leaking memory in cscope interface. + ------------------------------------------------------------------- Tue Feb 23 08:25:46 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 8c417d3..380c78a 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1397 +%define patchlevel 1410 %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} From 87f1939bc6d916f3ce484be40d05884272d446a22e913732aa106243a38b7766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 24 Feb 2016 09:46:37 +0000 Subject: [PATCH 10/12] - OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=317 --- vim.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/vim.spec b/vim.spec index 380c78a..9fdbca0 100644 --- a/vim.spec +++ b/vim.spec @@ -468,6 +468,7 @@ make test %files -n gvim %defattr(-,root,root,-) +%doc runtime/doc/gui_x11.txt %ghost %config(missingok) %{_sysconfdir}/gvimrc %{_bindir}/egview %{_bindir}/egvim From dd3d44bcbafd9a17ea33c38488ab23f25be353b4f4a8c25b7998aea520bbf959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 24 Feb 2016 19:56:17 +0000 Subject: [PATCH 11/12] - Disable sniff support, its unmaintained. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=318 --- vim.changes | 5 +++++ vim.spec | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/vim.changes b/vim.changes index 403e915..8344c3f 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 24 19:56:00 UTC 2016 - idonmez@suse.com + +- Disable sniff support, its unmaintained. + ------------------------------------------------------------------- Wed Feb 24 09:06:22 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 9fdbca0..f3de136 100644 --- a/vim.spec +++ b/vim.spec @@ -177,7 +177,6 @@ export COMMON_OPTIONS="\ --with-view-name=view \ --enable-cscope \ --enable-multibyte \ - --enable-sniff \ --with-features=huge \ --with-compiledby='http://www.opensuse.org/' \ %if 0%{?suse_version} > 1210 From e9c32e6337776611ba08247bd74690d6e8d713937100123e28aa4fd8f4b241c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 26 Feb 2016 08:22:38 +0000 Subject: [PATCH 12/12] - Updated to revision 1421, fixes the following problems * When calling ch_close() the close callback is invoked, even though the docs say it isn't. * Using "u_char" intead of "char_u", which doesn't work everywhere. * Tests slowed down because of the "not a terminal" warning. * May free a channel when a callback may need to be invoked. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=319 --- v7.4.1410.tar.gz | 3 --- v7.4.1421.tar.gz | 3 +++ vim.changes | 10 ++++++++++ vim.spec | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 v7.4.1410.tar.gz create mode 100644 v7.4.1421.tar.gz diff --git a/v7.4.1410.tar.gz b/v7.4.1410.tar.gz deleted file mode 100644 index 4ff76d2..0000000 --- a/v7.4.1410.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94a921e2ba83456165506fd2d4f7fc2a3ace7635d33b40fcbb57090a72c347af -size 12586420 diff --git a/v7.4.1421.tar.gz b/v7.4.1421.tar.gz new file mode 100644 index 0000000..9e464c0 --- /dev/null +++ b/v7.4.1421.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04bcbf0f31cdcfff20f8e267d616626cf96eb53058df2ba438949c97b4041221 +size 12588556 diff --git a/vim.changes b/vim.changes index 8344c3f..e8e3f9d 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Feb 26 08:21:14 UTC 2016 - idonmez@suse.com + +- Updated to revision 1421, fixes the following problems + * When calling ch_close() the close callback is invoked, + even though the docs say it isn't. + * Using "u_char" intead of "char_u", which doesn't work everywhere. + * Tests slowed down because of the "not a terminal" warning. + * May free a channel when a callback may need to be invoked. + ------------------------------------------------------------------- Wed Feb 24 19:56:00 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index f3de136..2cbd253 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 7.4 -%define patchlevel 1410 +%define patchlevel 1421 %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}