summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.3.010
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2011-04-25 13:37:00 +0000
committerEric Hameleers <alien@slackware.com>2018-05-31 22:45:18 +0200
commit75a4a592e5ccda30715f93563d741b83e0dcf39e (patch)
tree502f745607e77a2c4386ad38d818ddcafe81489c /source/ap/vim/patches/7.3.010
parentb76270bf9e6dd375e495fec92140a79a79415d27 (diff)
downloadcurrent-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.gz
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.3.010')
-rw-r--r--source/ap/vim/patches/7.3.010167
1 files changed, 167 insertions, 0 deletions
diff --git a/source/ap/vim/patches/7.3.010 b/source/ap/vim/patches/7.3.010
new file mode 100644
index 00000000..be0167ae
--- /dev/null
+++ b/source/ap/vim/patches/7.3.010
@@ -0,0 +1,167 @@
+To: vim-dev@vim.org
+Subject: Patch 7.3.010
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.010
+Problem: Mac GUI: Missing break statements.
+Solution: Add the break statements. (Dominique Pelle)
+Files: src/gui_mac.c
+
+
+*** ../vim-7.3.009/src/gui_mac.c 2010-08-15 21:57:28.000000000 +0200
+--- src/gui_mac.c 2010-09-21 17:33:13.000000000 +0200
+***************
+*** 1480,1486 ****
+ *
+ * Returns the index inside the menu wher
+ */
+! short /* Shoulde we return MenuItemIndex? */
+ gui_mac_get_menu_item_index(vimmenu_T *pMenu)
+ {
+ short index;
+--- 1480,1486 ----
+ *
+ * Returns the index inside the menu wher
+ */
+! short /* Should we return MenuItemIndex? */
+ gui_mac_get_menu_item_index(vimmenu_T *pMenu)
+ {
+ short index;
+***************
+*** 1823,1829 ****
+ p.h += gui.scrollbar_width;
+ if (gui.which_scrollbars[SBAR_RIGHT])
+ p.h += gui.scrollbar_width;
+! /* ideal height is as heigh as we can get */
+ p.v = 15 * 1024;
+
+ thePart = IsWindowInStandardState(whichWindow, &p, &r)
+--- 1823,1829 ----
+ p.h += gui.scrollbar_width;
+ if (gui.which_scrollbars[SBAR_RIGHT])
+ p.h += gui.scrollbar_width;
+! /* ideal height is as high as we can get */
+ p.v = 15 * 1024;
+
+ thePart = IsWindowInStandardState(whichWindow, &p, &r)
+***************
+*** 4481,4487 ****
+ * event arrives. No need to check for input_buf_full because we are
+ * returning as soon as it contains a single char.
+ */
+! /* TODO: reduce wtime accordinly??? */
+ if (wtime > -1)
+ sleeppyTick = 60 * wtime / 1000;
+ else
+--- 4481,4487 ----
+ * event arrives. No need to check for input_buf_full because we are
+ * returning as soon as it contains a single char.
+ */
+! /* TODO: reduce wtime accordingly??? */
+ if (wtime > -1)
+ sleeppyTick = 60 * wtime / 1000;
+ else
+***************
+*** 5723,5735 ****
+ iconDITL = GetResource('DITL', 131);
+ switch (type)
+ {
+! case VIM_GENERIC: useIcon = kNoteIcon;
+! case VIM_ERROR: useIcon = kStopIcon;
+! case VIM_WARNING: useIcon = kCautionIcon;
+! case VIM_INFO: useIcon = kNoteIcon;
+! case VIM_QUESTION: useIcon = kNoteIcon;
+! default: useIcon = kStopIcon;
+! };
+ AppendDITL(theDialog, iconDITL, overlayDITL);
+ ReleaseResource(iconDITL);
+ GetDialogItem(theDialog, iconItm.idx, &itemType, &itemHandle, &box);
+--- 5723,5735 ----
+ iconDITL = GetResource('DITL', 131);
+ switch (type)
+ {
+! case VIM_GENERIC:
+! case VIM_INFO:
+! case VIM_QUESTION: useIcon = kNoteIcon; break;
+! case VIM_WARNING: useIcon = kCautionIcon; break;
+! case VIM_ERROR: useIcon = kStopIcon; break;
+! default: useIcon = kStopIcon;
+! }
+ AppendDITL(theDialog, iconDITL, overlayDITL);
+ ReleaseResource(iconDITL);
+ GetDialogItem(theDialog, iconItm.idx, &itemType, &itemHandle, &box);
+***************
+*** 5892,5898 ****
+
+ return itemHit;
+ /*
+! * Usefull thing which could be used
+ * SetDialogTimeout(): Auto click a button after timeout
+ * SetDialogTracksCursor() : Get the I-beam cursor over input box
+ * MoveDialogItem(): Probably better than SetDialogItem
+--- 5892,5898 ----
+
+ return itemHit;
+ /*
+! * Useful thing which could be used
+ * SetDialogTimeout(): Auto click a button after timeout
+ * SetDialogTracksCursor() : Get the I-beam cursor over input box
+ * MoveDialogItem(): Probably better than SetDialogItem
+***************
+*** 6100,6106 ****
+ #endif
+
+ /*
+! * Transfered from os_mac.c for MacOS X using os_unix.c prep work
+ */
+
+ int
+--- 6100,6106 ----
+ #endif
+
+ /*
+! * Transferred from os_mac.c for MacOS X using os_unix.c prep work
+ */
+
+ int
+***************
+*** 6543,6549 ****
+ static ControlRef dataBrowser = NULL;
+
+ // when the tabline is hidden, vim doesn't call update_tabline(). When
+! // the tabline is shown again, show_tabline() is called before upate_tabline(),
+ // and because of this, the tab labels and vims internal tabs are out of sync
+ // for a very short time. to prevent inconsistent state, we store the labels
+ // of the tabs, not pointers to the tabs (which are invalid for a short time).
+--- 6543,6549 ----
+ static ControlRef dataBrowser = NULL;
+
+ // when the tabline is hidden, vim doesn't call update_tabline(). When
+! // the tabline is shown again, show_tabline() is called before update_tabline(),
+ // and because of this, the tab labels and vims internal tabs are out of sync
+ // for a very short time. to prevent inconsistent state, we store the labels
+ // of the tabs, not pointers to the tabs (which are invalid for a short time).
+*** ../vim-7.3.009/src/version.c 2010-09-21 17:29:19.000000000 +0200
+--- src/version.c 2010-09-21 17:33:22.000000000 +0200
+***************
+*** 716,717 ****
+--- 716,719 ----
+ { /* Add new patch number below this line */
++ /**/
++ 10,
+ /**/
+
+--
+hundred-and-one symptoms of being an internet addict:
+182. You may not know what is happening in the world, but you know
+ every bit of net-gossip there is.
+
+ /// 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 ///