From 9d72986d1e150d00ac6eef94c022e1216148ec1c Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 24 Feb 2017 19:46:01 +0100 Subject: [PATCH 1/2] removing vim-8.0-gtk-render.patch --- vim-8.0-gtk3-render.patch | 31 ------------------------------- vim.spec | 1 + 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 vim-8.0-gtk3-render.patch diff --git a/vim-8.0-gtk3-render.patch b/vim-8.0-gtk3-render.patch deleted file mode 100644 index b2fc2376..00000000 --- a/vim-8.0-gtk3-render.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -up vim80/src/gui_gtk_x11.c.gtk3-render vim80/src/gui_gtk_x11.c ---- vim80/src/gui_gtk_x11.c.gtk3-render 2017-02-22 10:38:37.935193240 +0100 -+++ vim80/src/gui_gtk_x11.c 2017-02-22 10:53:22.847435530 +0100 -@@ -688,8 +688,13 @@ draw_event(GtkWidget *widget UNUSED, - { - const cairo_rectangle_t rect = list->rectangles[i]; - -- gui_mch_clear_block(Y_2_ROW(rect.y), 1, -- Y_2_ROW(rect.y + rect.height - 1), Columns); -+ gui_mch_clear_block(Y_2_ROW((int)rect.y), 0, -+ Y_2_ROW((int)(rect.y + rect.height)) - 1, Columns - 1); -+ } -+ -+ for (i = 0; i < list->num_rectangles; i++) -+ { -+ const cairo_rectangle_t rect = list->rectangles[i]; - - if (blink_mode) - gui_gtk3_redraw(rect.x, rect.y, rect.width, rect.height); -@@ -6723,6 +6728,11 @@ gui_mch_clear_block(int row1, int col1, - color.pixel = gui.back_pixel; - #endif - -+ col1 = check_col(col1); -+ col2 = check_col(col2); -+ row1 = check_row(row1); -+ row2 = check_row(row2); -+ - #if GTK_CHECK_VERSION(3,0,0) - { - /* Add one pixel to the far right column in case a double-stroked diff --git a/vim.spec b/vim.spec index b74bce81..05685bb4 100644 --- a/vim.spec +++ b/vim.spec @@ -765,6 +765,7 @@ rm -rf %{buildroot} %changelog * Fri Feb 24 2017 Karsten Hopp 8.0.363-1 - patchlevel 363 +- removing vim-8.0-gtk-render.patch * Wed Feb 22 2017 Karsten Hopp 8.0.347-1 - patchlevel 347 From 320d90cbbd2ceeabc596a782ed6727273301c688 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Mon, 27 Feb 2017 14:44:17 +0100 Subject: [PATCH 2/2] - patchlevel 381 --- .gitignore | 1 + README.patches | 174 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 +- vim.spec | 5 +- 4 files changed, 180 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 56606b18..82587123 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ /vim-8.0-344.tar.bz2 /vim-8.0-347.tar.bz2 /vim-8.0-363.tar.bz2 +/vim-8.0-381.tar.bz2 diff --git a/README.patches b/README.patches index 4881acf6..ece03d02 100644 --- a/README.patches +++ b/README.patches @@ -1,3 +1,177 @@ +commit aeb661e1f4a491286ef7af8c3105aff1f3b16f1c +Author: Bram Moolenaar +Date: Sun Feb 26 19:59:59 2017 +0100 + + patch 8.0.0381: diff mode is not sufficiently tested + + Problem: Diff mode is not sufficiently tested. + Solution: Add more diff mode tests. (Dominique Pelle, closes #1515) + +commit 38632faf635f6434441827e136bceb5a930c59ad +Author: Bram Moolenaar +Date: Sun Feb 26 19:40:59 2017 +0100 + + patch 8.0.0380: with 'linebreak' double wide char wraps badly + + Problem: With 'linebreak' set and 'breakat' includes ">" a double-wide + character results in "<<" displayed. + Solution: Check for the character not to be replaced. (Ozaki Kiichi, + closes #1456) + +commit 74a47162a07fddb532f4bead212f6c80ef474ae7 +Author: Bram Moolenaar +Date: Sun Feb 26 19:09:05 2017 +0100 + + patch 8.0.0379: CTRL-Z and mouse click use CTRL-O unnecessary + + Problem: CTRL-Z and mouse click use CTRL-O unnecessary. + Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453) + +commit 0c8485f0e4931463c0f7986e1ea84a7d79f10c75 +Author: Bram Moolenaar +Date: Sun Feb 26 18:17:10 2017 +0100 + + patch 8.0.0378: possible overflow when reading corrupted undo file + + Problem: Another possible overflow when reading corrupted undo file. + Solution: Check if allocated size is not too big. (King) + +commit 3eb1637b1bba19519885dd6d377bd5596e91d22c +Author: Bram Moolenaar +Date: Sun Feb 26 18:11:36 2017 +0100 + + patch 8.0.0377: possible overflow when reading corrupted undo file + + Problem: Possible overflow when reading corrupted undo file. + Solution: Check if allocated size is not too big. (King) + +commit 6d3c8586fc81b022e9f06c611b9926108fb878c7 +Author: Bram Moolenaar +Date: Sun Feb 26 15:27:23 2017 +0100 + + patch 8.0.0376: size computations in spell file reading are off + + Problem: Size computations in spell file reading are not exactly right. + Solution: Make "len" a "long" and check with LONG_MAX. + +commit 5074a0e0333eaa6a9f697eb765124ca0e244c89b +Author: Bram Moolenaar +Date: Sun Feb 26 15:08:21 2017 +0100 + + patch 8.0.0375: the "+ register is not tested + + Problem: The "+ register is not tested. + Solution: Add a test using another Vim instance to change the "+ register. + (Kazuki Kuriyama) + +commit ba748c8a847561c043a63827bcb1d98bdebe16e6 +Author: Bram Moolenaar +Date: Sun Feb 26 14:00:07 2017 +0100 + + patch 8.0.0374: invalid memory access when using :sc in Ex mode + + Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle) + Solution: Avoid the column being negative. Also fix a hang in Ex mode. + +commit 376407674ff10b60e7c6090906be50982763f0f3 +Author: Bram Moolenaar +Date: Sat Feb 25 22:37:15 2017 +0100 + + patch 8.0.0373: build fails without +folding + + Problem: Build fails without +folding. + Solution: Move misplaced #ifdef. + +commit a713ff819d134dc34e507c05273c935bfc17e795 +Author: Bram Moolenaar +Date: Sat Feb 25 22:18:43 2017 +0100 + + patch 8.0.0372: more options are not always defined + + Problem: More options are not always defined. + Solution: Consistently define all possible options. + +commit 14c2e18b63faaa4056d987fd501a68480cb40c5c +Author: Bram Moolenaar +Date: Sat Feb 25 21:39:17 2017 +0100 + + patch 8.0.0371: leaking memory when setting v:completed_item + + Problem: Leaking memory when setting v:completed_item. + Solution: Or the flags instead of setting them. + +commit a12e40351d1357687e8b5dc3122fffef705bdc08 +Author: Bram Moolenaar +Date: Sat Feb 25 21:37:57 2017 +0100 + + patch 8.0.0370: invalid memory access when setting wildchar empty + + Problem: Invalid memory access when setting wildchar empty. + Solution: Avoid going over the end of the option value. (Dominique Pelle, + closes #1509) Make option test check all number options with + empty value. + +commit c43a8b8de0676caf8a460b6af1310d7aba8221bb +Author: Bram Moolenaar +Date: Sat Feb 25 21:12:29 2017 +0100 + + patch 8.0.0369: a few options are not defined, depending on features + + Problem: 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. + Solution: Make the options defined but not supported. Don't test if + setting unsupported options fails. + +commit 2f5463df014a406a2b780068e341ef30a99c9b98 +Author: Bram Moolenaar +Date: Sat Feb 25 20:40:46 2017 +0100 + + patch 8.0.0368: not all options are tested with a range of values + + Problem: Not all options are tested with a range of values. + Solution: Generate a test script from the source code. + +commit f7506cade470efd122fa8fb61dd4e5ad21d1e246 +Author: Bram Moolenaar +Date: Sat Feb 25 16:01:49 2017 +0100 + + patch 8.0.0367: types in include files may be inconsistent + + Problem: If configure defines _LARGE_FILES some include files are included + before it is defined. + Solution: Include vim.h first. (Sam Thursfield, closes #1508) + +commit 92769c3928bb8a3faa43c533c07ef8476af32ade +Author: Bram Moolenaar +Date: Sat Feb 25 15:41:37 2017 +0100 + + patch 8.0.0366: build fails with tiny features + + Problem: Build fails with tiny features. + Solution: Add #ifdef. + +commit 95c526e1f6d76acafee4b21f5701d6d6ac8c4b5f +Author: Bram Moolenaar +Date: Sat Feb 25 14:59:34 2017 +0100 + + patch 8.0.0365: might free a dict item that wasn't allocated + + Problem: Might free a dict item that wasn't allocated. + Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for + b:changedtick. + +commit d3f78dc9ebd729475a7f24a50a91112e300d5ac9 +Author: Bram Moolenaar +Date: Sat Feb 25 14:21:10 2017 +0100 + + patch 8.0.0364: ]s does not move cursor with two spell errors in one line + + Problem: ]s does not move cursor with two spell errors in one line. (Manuel + Ortega) + Solution: Don't stop search immediately when wrapped, search the line first. + (Ken Takata) Add a test. + commit 3834e3d039777e0144914a86289870bee147c0a2 Author: Bram Moolenaar Date: Thu Feb 23 20:20:53 2017 +0100 diff --git a/sources b/sources index 4bd4da3e..6cd2a17a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vim-8.0-363.tar.bz2) = 4f102287119aa1f891389d0f20a5d4f489ef879893312d06e9b1552ad15a717d953688450d7ae8562e46012a8a269407d889b803ed6833a235c669e4a4268bcb +SHA512 (vim-8.0-381.tar.bz2) = 0fb2142b613e27447dda4977711a74c9d9838eba0ddeae1e04c51adb660b869a6630840358c67d67640cafd2f2b89c107cdc6185b0d2d54145acf61391791dd4 diff --git a/vim.spec b/vim.spec index 05685bb4..a38cc366 100644 --- a/vim.spec +++ b/vim.spec @@ -1,4 +1,4 @@ -%define patchlevel 363 +%define patchlevel 381 %if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1} %define WITH_SELINUX 1 %endif @@ -763,6 +763,9 @@ rm -rf %{buildroot} %{_datadir}/icons/locolor/*/apps/* %changelog +* Mon Feb 27 2017 Karsten Hopp 8.0.381-1 +- patchlevel 381 + * Fri Feb 24 2017 Karsten Hopp 8.0.363-1 - patchlevel 363 - removing vim-8.0-gtk-render.patch