From 808b82dd71f3b2e5578d799a24ce6c6d0dca6e83bb8974ea143b35c2db1b78ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 22 Sep 2016 08:35:26 +0000 Subject: [PATCH 1/4] OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=386 --- fix_test_popup.patch | 28 ++++++++++++++++++++++++++++ vim.changes | 4 ++-- vim.spec | 2 ++ 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 fix_test_popup.patch diff --git a/fix_test_popup.patch b/fix_test_popup.patch new file mode 100644 index 0000000..c78cf2a --- /dev/null +++ b/fix_test_popup.patch @@ -0,0 +1,28 @@ +diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim +index 6e07393..eae8bc3 100644 +--- a/src/testdir/test_popup.vim ++++ b/src/testdir/test_popup.vim +@@ -17,16 +17,18 @@ func! ListMonths() + endfunc + + func! Test_popup_complete2() +- " Insert match immediately, if there is only one match +- " Should select a character from the line below +- " TODO: test disabled because the code change has been reverted. +- throw "Skipped: Bug with and popupmenu not fixed yet" ++ " 'the popup menu is not visible' is not equivalent to 'the completion mode ++ " is not active'. ++ " After the type , Vim still stay in the first state of the completion ++ " mode. It is not related to the visible of popup. ++ " So that, the first behavior is `complete_CTRL-E`, and the second and ++ " more is `i_CTRL_E` + new + inoremap =ListMonths() + call append(1, ["December2015"]) + :1 + call feedkeys("aD\\\\\\\", 'tx') +- call assert_equal(["December2015", "", "December2015"], getline(1,3)) ++ call assert_equal(["Dece", "", "December2015"], getline(1,3)) + %d + bw! + endfu diff --git a/vim.changes b/vim.changes index 05f3c20..de678bf 100644 --- a/vim.changes +++ b/vim.changes @@ -16,7 +16,7 @@ Mon Sep 12 14:41:09 UTC 2016 - idonmez@suse.com Mon Sep 12 13:09:03 UTC 2016 - idonmez@suse.com - Update to version 8.0 - * Crash on exit when EXITFREE is defined. (Dominique Pelle) + * Crash on exit when EXITFREE is defined. (Dominique Pelle) * Valgrind reports using uninitialzed memory. (Dominique Pelle) * Test 86 and 87 fail with some version of Python. * Netbeans test fails when run from unpacked MS-Windows sources. @@ -26,7 +26,7 @@ Mon Sep 12 13:09:03 UTC 2016 - idonmez@suse.com with the new regexp engine. (Harm te Hennepe) * Regexp fails to match when using "\>\)\?". (Ramel) * Reading past end of line when using previous substitute pattern. - (Dominique Pelle) + (Dominique Pelle) * Attempt to read history entry while not initialized. * Compiler warnings with Solaris Studio when using GTK3. * Memory leak in timer_start(). diff --git a/vim.spec b/vim.spec index 590931e..251f367 100644 --- a/vim.spec +++ b/vim.spec @@ -92,6 +92,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 +Patch23: fix_test_popup.patch Patch100: vim73-no-static-libpython.patch %description @@ -166,6 +167,7 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim %patch18 -p1 %patch21 -p1 %patch22 -p1 +%patch23 -p1 %patch100 -p1 cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} . From bf3574f63aabd19ffe191c82d025d0a9025f960ceefe68e4a84311d1323349fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 22 Sep 2016 08:41:51 +0000 Subject: [PATCH 2/4] OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=387 --- fix_test_popup.patch | 28 ---------------------------- vim.spec | 2 -- 2 files changed, 30 deletions(-) delete mode 100644 fix_test_popup.patch diff --git a/fix_test_popup.patch b/fix_test_popup.patch deleted file mode 100644 index c78cf2a..0000000 --- a/fix_test_popup.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim -index 6e07393..eae8bc3 100644 ---- a/src/testdir/test_popup.vim -+++ b/src/testdir/test_popup.vim -@@ -17,16 +17,18 @@ func! ListMonths() - endfunc - - func! Test_popup_complete2() -- " Insert match immediately, if there is only one match -- " Should select a character from the line below -- " TODO: test disabled because the code change has been reverted. -- throw "Skipped: Bug with and popupmenu not fixed yet" -+ " 'the popup menu is not visible' is not equivalent to 'the completion mode -+ " is not active'. -+ " After the type , Vim still stay in the first state of the completion -+ " mode. It is not related to the visible of popup. -+ " So that, the first behavior is `complete_CTRL-E`, and the second and -+ " more is `i_CTRL_E` - new - inoremap =ListMonths() - call append(1, ["December2015"]) - :1 - call feedkeys("aD\\\\\\\", 'tx') -- call assert_equal(["December2015", "", "December2015"], getline(1,3)) -+ call assert_equal(["Dece", "", "December2015"], getline(1,3)) - %d - bw! - endfu diff --git a/vim.spec b/vim.spec index 251f367..590931e 100644 --- a/vim.spec +++ b/vim.spec @@ -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: fix_test_popup.patch Patch100: vim73-no-static-libpython.patch %description @@ -167,7 +166,6 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim %patch18 -p1 %patch21 -p1 %patch22 -p1 -%patch23 -p1 %patch100 -p1 cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} . From 85c21dff3c5003fcd465c886e7e05ad8f07550d2640ce11632a9cf1eaec6b1d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 14 Oct 2016 07:37:05 +0000 Subject: [PATCH 3/4] - Updated to revision 32, fixes the following problems * getwinvar() returns wrong Value of boolean and number options, especially non big endian systems. (James McCoy) * A string argument for function() that is not a function name results in an error message with NULL. (Christian Brabandt) * Netbeans test fails with Python 3. (Jonathonf) * ":lb" is interpreted as ":lbottom" while the documentation says it means ":lbuffer". * Vim 7.4 is still mentioned in a few places. * Popup complete test is disabled. * Unnecessary workaround for AppVeyor. * Crash when editing file that starts with crypt yeader. (igor2x) * On OSX Test_pipe_through_sort_all() sometimes fails. * Typos in comments. * Missing comma in list. * Crypt tests are old style. * Can't tell which part of a channel has "buffered" status. * Build fails. * Cannot get the number of the current quickfix or location list. * When using ":sleep" channel input is not handled. * Test_command_count is old style. * The regexp engines are not reentrant. * In the GUI when redrawing the cursor it may be on the second half of a double byte character. * If a channel in NL mode is missing the NL at the end the remaining characters are dropped. * "gd" and "gD" may find a match in a comment or string. * When the netbeans channel closes, "DETACH" is put in the output part. (Ozaki Kiichi) * Inconsistent use of spaces vs tabs in gd test. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=388 --- v8.0.0003.tar.gz | 3 --- v8.0.0032.tar.gz | 3 +++ vim.changes | 42 ++++++++++++++++++++++++++++++++++++++++++ vim.spec | 4 ++-- 4 files changed, 47 insertions(+), 5 deletions(-) delete mode 100644 v8.0.0003.tar.gz create mode 100644 v8.0.0032.tar.gz diff --git a/v8.0.0003.tar.gz b/v8.0.0003.tar.gz deleted file mode 100644 index bd6ae05..0000000 --- a/v8.0.0003.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:725d8bfafe9a415c36de2230644ddcff56f83b73d3ad236727ccff793b4b5b5c -size 12909094 diff --git a/v8.0.0032.tar.gz b/v8.0.0032.tar.gz new file mode 100644 index 0000000..c3a4e41 --- /dev/null +++ b/v8.0.0032.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:586c7b5bb26d4c35eb8def54a793174457a6b04dba1c868a98630404947b27da +size 12922365 diff --git a/vim.changes b/vim.changes index de678bf..3a70fb5 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Fri Oct 14 07:26:14 UTC 2016 - idonmez@suse.com + +- Updated to revision 32, fixes the following problems + * getwinvar() returns wrong Value of boolean and number options, especially + non big endian systems. (James McCoy) + * A string argument for function() that is not a function name results in + an error message with NULL. (Christian Brabandt) + * Netbeans test fails with Python 3. (Jonathonf) + * ":lb" is interpreted as ":lbottom" while the documentation says it means + ":lbuffer". + * Vim 7.4 is still mentioned in a few places. + * Popup complete test is disabled. + * Unnecessary workaround for AppVeyor. + * Crash when editing file that starts with crypt yeader. (igor2x) + * On OSX Test_pipe_through_sort_all() sometimes fails. + * Typos in comments. + * Missing comma in list. + * Crypt tests are old style. + * Can't tell which part of a channel has "buffered" status. + * Build fails. + * Cannot get the number of the current quickfix or location list. + * When using ":sleep" channel input is not handled. + * Test_command_count is old style. + * The regexp engines are not reentrant. + * In the GUI when redrawing the cursor it may be on the second half of a + double byte character. + * If a channel in NL mode is missing the NL at the end the remaining + characters are dropped. + * "gd" and "gD" may find a match in a comment or string. + * When the netbeans channel closes, "DETACH" is put in the output + part. (Ozaki Kiichi) + * Inconsistent use of spaces vs tabs in gd test. + * Error format with %W, %C and %Z does not work. (Gerd Wachsmuth) + * A channel is closed when reading on stderr or stdout fails, but there + may still be something to read on another part. + * Superfluous semicolons. + * Code for MS-Windows is complicated because of the exceptions for old + systems. + * Mouse mode is not automatically detected for tmux. + * After ":bwipeout" 'fileformat' is not set to the right default. + ------------------------------------------------------------------- Mon Sep 12 17:57:14 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 590931e..97ba05c 100644 --- a/vim.spec +++ b/vim.spec @@ -17,8 +17,8 @@ %define pkg_version 8.0 -%define patchlevel 0003 -%define patchlevel_compact 3 +%define patchlevel 0032 +%define patchlevel_compact 32 %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} From 7b7509694677b7ffbc0268bfb97d82953edbf75432bae28380eec8468e6380e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 19 Oct 2016 08:06:01 +0000 Subject: [PATCH 4/4] - Updated to revision 45, fixes the following problems * Cannot use overlapping positions with matchaddpos(). * No completion for ":messages". * Order of matches for 'omnifunc' is messed up. (Danny Su) * Detecting that a job has finished may take a while. * Get E924 when switching tabs. * OPEN_CHR_FILES not defined for FreeBSD using Debian userland files. * When Vim 8 reads an old viminfo and exits, the next time marks are not read from viminfo. (Ned Batchelder) * Whole line highlighting with matchaddpos() does not work. * When using Insert mode completion but not actually inserting anything an undo item is still created. (Tommy Allen) * When using Insert mode completion with 'completeopt' containing "noinsert" change is not saved for undo. (Tommy Allen) * When using Insert mode completion with 'completeopt' containing "noinsert" with CTRL-N the change is not saved for undo. (Tommy Allen) * In diff mode the cursor may end up below the last line, resulting in an ml_get error. * Calling job_stop() right after job_start() does not work. OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=389 --- v8.0.0032.tar.gz | 3 --- v8.0.0045.tar.gz | 3 +++ vim.changes | 23 +++++++++++++++++++++++ vim.spec | 4 ++-- 4 files changed, 28 insertions(+), 5 deletions(-) delete mode 100644 v8.0.0032.tar.gz create mode 100644 v8.0.0045.tar.gz diff --git a/v8.0.0032.tar.gz b/v8.0.0032.tar.gz deleted file mode 100644 index c3a4e41..0000000 --- a/v8.0.0032.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:586c7b5bb26d4c35eb8def54a793174457a6b04dba1c868a98630404947b27da -size 12922365 diff --git a/v8.0.0045.tar.gz b/v8.0.0045.tar.gz new file mode 100644 index 0000000..d06e6cb --- /dev/null +++ b/v8.0.0045.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31cf8e56f1af025ba7ad597c89bcd9d9c1d5bf1c5414c11792a7f7f5fdb1787e +size 12922965 diff --git a/vim.changes b/vim.changes index 3a70fb5..e7e4d11 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed Oct 19 07:49:14 UTC 2016 - idonmez@suse.com + +- Updated to revision 45, fixes the following problems + * Cannot use overlapping positions with matchaddpos(). + * No completion for ":messages". + * Order of matches for 'omnifunc' is messed up. (Danny Su) + * Detecting that a job has finished may take a while. + * Get E924 when switching tabs. + * OPEN_CHR_FILES not defined for FreeBSD using Debian userland files. + * When Vim 8 reads an old viminfo and exits, the next time marks are not + read from viminfo. (Ned Batchelder) + * Whole line highlighting with matchaddpos() does not work. + * When using Insert mode completion but not actually inserting anything + an undo item is still created. (Tommy Allen) + * When using Insert mode completion with 'completeopt' containing "noinsert" + change is not saved for undo. (Tommy Allen) + * When using Insert mode completion with 'completeopt' containing "noinsert" + with CTRL-N the change is not saved for undo. (Tommy Allen) + * In diff mode the cursor may end up below the last line, resulting in an + ml_get error. + * Calling job_stop() right after job_start() does not work. + ------------------------------------------------------------------- Fri Oct 14 07:26:14 UTC 2016 - idonmez@suse.com diff --git a/vim.spec b/vim.spec index 97ba05c..c688faa 100644 --- a/vim.spec +++ b/vim.spec @@ -17,8 +17,8 @@ %define pkg_version 8.0 -%define patchlevel 0032 -%define patchlevel_compact 32 +%define patchlevel 0045 +%define patchlevel_compact 45 %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}