summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.2.099
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2011-04-25 13:37:00 +0000
committer Eric Hameleers <alien@slackware.com>2018-05-31 22:45:18 +0200
commit75a4a592e5ccda30715f93563d741b83e0dcf39e (patch)
tree502f745607e77a2c4386ad38d818ddcafe81489c /source/ap/vim/patches/7.2.099
parentb76270bf9e6dd375e495fec92140a79a79415d27 (diff)
downloadcurrent-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.gz
current-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.xz
Slackware 13.37slackware-13.37
Mon Apr 25 13:37:00 UTC 2011 Slackware 13.37 x86_64 stable is released! Thanks to everyone who pitched in on this release: the Slackware team, the folks producing upstream code, and linuxquestions.org for providing a great forum for collaboration and testing. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. As always, thanks to the Slackware community for testing, suggestions, and feedback. :-) Have fun!
Diffstat (limited to 'source/ap/vim/patches/7.2.099')
-rw-r--r--source/ap/vim/patches/7.2.099127
1 files changed, 0 insertions, 127 deletions
diff --git a/source/ap/vim/patches/7.2.099 b/source/ap/vim/patches/7.2.099
deleted file mode 100644
index 6f5dae5d5..000000000
--- a/source/ap/vim/patches/7.2.099
+++ /dev/null
@@ -1,127 +0,0 @@
-To: vim-dev@vim.org
-Subject: Patch 7.2.099
-Fcc: outbox
-From: Bram Moolenaar <Bram@moolenaar.net>
-Mime-Version: 1.0
-Content-Type: text/plain; charset=ISO-8859-1
-Content-Transfer-Encoding: 8bit
-------------
-
-Patch 7.2.099
-Problem: Changing GUI options causes an unnecessary redraw when the GUI
- isn't active.
-Solution: Avoid the redraw. (Lech Lorens)
-Files: src/option.c
-
-
-*** ../vim-7.2.098/src/option.c Wed Dec 24 12:53:33 2008
---- src/option.c Wed Feb 4 16:59:56 2009
-***************
-*** 5407,5412 ****
---- 5407,5416 ----
- int did_chartab = FALSE;
- char_u **gvarp;
- long_u free_oldval = (options[opt_idx].flags & P_ALLOCED);
-+ #ifdef FEAT_GUI
-+ /* set when changing an option that only requires a redraw in the GUI */
-+ int redraw_gui_only = FALSE;
-+ #endif
-
- /* Get the global option to compare with, otherwise we would have to check
- * two values for all local options. */
-***************
-*** 6055,6060 ****
---- 6059,6065 ----
- errmsg = (char_u *)N_("E596: Invalid font(s)");
- }
- }
-+ redraw_gui_only = TRUE;
- }
- # ifdef FEAT_XFONTSET
- else if (varp == &p_guifontset)
-***************
-*** 6063,6068 ****
---- 6068,6074 ----
- errmsg = (char_u *)N_("E597: can't select fontset");
- else if (gui.in_use && gui_init_font(p_guifontset, TRUE) != OK)
- errmsg = (char_u *)N_("E598: Invalid fontset");
-+ redraw_gui_only = TRUE;
- }
- # endif
- # ifdef FEAT_MBYTE
-***************
-*** 6072,6077 ****
---- 6078,6084 ----
- errmsg = (char_u *)N_("E533: can't select wide font");
- else if (gui_get_wide_font() == FAIL)
- errmsg = (char_u *)N_("E534: Invalid wide font");
-+ redraw_gui_only = TRUE;
- }
- # endif
- #endif
-***************
-*** 6133,6145 ****
---- 6140,6163 ----
- #ifdef FEAT_GUI
- /* 'guioptions' */
- else if (varp == &p_go)
-+ {
- gui_init_which_components(oldval);
-+ redraw_gui_only = TRUE;
-+ }
- #endif
-
- #if defined(FEAT_GUI_TABLINE)
- /* 'guitablabel' */
- else if (varp == &p_gtl)
-+ {
- redraw_tabline = TRUE;
-+ redraw_gui_only = TRUE;
-+ }
-+ /* 'guitabtooltip' */
-+ else if (varp == &p_gtt)
-+ {
-+ redraw_gui_only = TRUE;
-+ }
- #endif
-
- #if defined(FEAT_MOUSE_TTY) && (defined(UNIX) || defined(VMS))
-***************
-*** 6717,6723 ****
-
- if (curwin->w_curswant != MAXCOL)
- curwin->w_set_curswant = TRUE; /* in case 'showbreak' changed */
-! check_redraw(options[opt_idx].flags);
-
- return errmsg;
- }
---- 6735,6745 ----
-
- if (curwin->w_curswant != MAXCOL)
- curwin->w_set_curswant = TRUE; /* in case 'showbreak' changed */
-! #ifdef FEAT_GUI
-! /* check redraw when it's not a GUI option or the GUI is active. */
-! if (!redraw_gui_only || gui.in_use)
-! #endif
-! check_redraw(options[opt_idx].flags);
-
- return errmsg;
- }
-*** ../vim-7.2.098/src/version.c Wed Feb 4 16:25:53 2009
---- src/version.c Wed Feb 4 17:24:11 2009
-***************
-*** 678,679 ****
---- 678,681 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 99,
- /**/
-
---
-I started out with nothing, and I still have most of it.
- -- Michael Davis -- "Tonight Show"
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ download, build and distribute -- http://www.A-A-P.org ///
- \\\ help me help AIDS victims -- http://ICCF-Holland.org ///