summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.059
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.3.059
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.3.059')
-rw-r--r--source/ap/vim/patches/7.3.059116
1 files changed, 116 insertions, 0 deletions
diff --git a/source/ap/vim/patches/7.3.059 b/source/ap/vim/patches/7.3.059
new file mode 100644
index 000000000..6e99f876a
--- /dev/null
+++ b/source/ap/vim/patches/7.3.059
@@ -0,0 +1,116 @@
+To: vim_dev@googlegroups.com
+Subject: Patch 7.3.059
+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.059
+Problem: Netbeans: Problem with recursively handling messages for Athena
+ and Motif.
+Solution: Call netbeans_parse_messages() in the main loop, like it's done
+ for GTK. (Xavier de Gaye)
+Files: src/gui_x11.c, src/netbeans.c
+
+
+*** ../vim-7.3.058/src/gui_x11.c 2010-08-15 21:57:25.000000000 +0200
+--- src/gui_x11.c 2010-11-16 14:53:18.000000000 +0100
+***************
+*** 2895,2900 ****
+--- 2895,2905 ----
+ focus = gui.in_focus;
+ }
+
++ #if defined(FEAT_NETBEANS_INTG)
++ /* Process any queued netbeans messages. */
++ netbeans_parse_messages();
++ #endif
++
+ /*
+ * Don't use gui_mch_update() because then we will spin-lock until a
+ * char arrives, instead we use XtAppProcessEvent() to hang until an
+*** ../vim-7.3.058/src/netbeans.c 2010-09-30 21:03:13.000000000 +0200
+--- src/netbeans.c 2010-11-16 14:52:55.000000000 +0100
+***************
+*** 726,734 ****
+ static char_u *buf = NULL;
+ int len = 0;
+ int readlen = 0;
+- #if defined(NB_HAS_GUI) && !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_W32)
+- static int level = 0;
+- #endif
+ #ifdef HAVE_SELECT
+ struct timeval tval;
+ fd_set rfds;
+--- 726,731 ----
+***************
+*** 744,756 ****
+ return;
+ }
+
+- #if defined(NB_HAS_GUI) && !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_W32)
+- /* recursion guard; this will be called from the X event loop at unknown
+- * moments */
+- if (NB_HAS_GUI)
+- ++level;
+- #endif
+-
+ /* Allocate a buffer to read into. */
+ if (buf == NULL)
+ {
+--- 741,746 ----
+***************
+*** 803,823 ****
+ return; /* don't try to parse it */
+ }
+
+! #if defined(NB_HAS_GUI) && !defined(FEAT_GUI_W32)
+! /* Let the main loop handle messages. */
+! if (NB_HAS_GUI)
+! {
+! # ifdef FEAT_GUI_GTK
+! if (gtk_main_level() > 0)
+! gtk_main_quit();
+! # else
+! /* Parse the messages now, but avoid recursion. */
+! if (level == 1)
+! netbeans_parse_messages();
+!
+! --level;
+! # endif
+! }
+ #endif
+ }
+
+--- 793,801 ----
+ return; /* don't try to parse it */
+ }
+
+! #if defined(NB_HAS_GUI) && defined(FEAT_GUI_GTK)
+! if (NB_HAS_GUI && gtk_main_level() > 0)
+! gtk_main_quit();
+ #endif
+ }
+
+*** ../vim-7.3.058/src/version.c 2010-11-16 14:46:14.000000000 +0100
+--- src/version.c 2010-11-16 14:50:57.000000000 +0100
+***************
+*** 716,717 ****
+--- 716,719 ----
+ { /* Add new patch number below this line */
++ /**/
++ 59,
+ /**/
+
+
+--
+ARTHUR: If you do not open these doors, we will take this castle by force ...
+ [A bucket of slops land on ARTHUR. He tries to retain his dignity.]
+ "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
+/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\ an exciting new programming language -- http://www.Zimbu.org ///
+ \\\ help me help AIDS victims -- http://ICCF-Holland.org ///