|
Karsten Hopp |
b9b52a |
To: vim-dev@vim.org
|
|
Karsten Hopp |
b9b52a |
Subject: Patch 7.3.019
|
|
Karsten Hopp |
b9b52a |
Fcc: outbox
|
|
Karsten Hopp |
b9b52a |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
b9b52a |
Mime-Version: 1.0
|
|
Karsten Hopp |
b9b52a |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
b9b52a |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
b9b52a |
------------
|
|
Karsten Hopp |
b9b52a |
|
|
Karsten Hopp |
b9b52a |
Patch 7.3.019
|
|
Karsten Hopp |
b9b52a |
Problem: ":nbstart" can fail silently.
|
|
Karsten Hopp |
b9b52a |
Solution: Give an error when netbeans is not supported by the GUI. (Xavier
|
|
Karsten Hopp |
b9b52a |
de Gaye)
|
|
Karsten Hopp |
b9b52a |
Files: src/netbeans.c
|
|
Karsten Hopp |
b9b52a |
|
|
Karsten Hopp |
b9b52a |
|
|
Karsten Hopp |
b9b52a |
*** ../vim-7.3.018/src/netbeans.c 2010-09-29 17:26:57.000000000 +0200
|
|
Karsten Hopp |
b9b52a |
--- src/netbeans.c 2010-09-29 17:35:37.000000000 +0200
|
|
Karsten Hopp |
b9b52a |
***************
|
|
Karsten Hopp |
b9b52a |
*** 2773,2778 ****
|
|
Karsten Hopp |
b9b52a |
--- 2773,2788 ----
|
|
Karsten Hopp |
b9b52a |
ex_nbstart(eap)
|
|
Karsten Hopp |
b9b52a |
exarg_T *eap;
|
|
Karsten Hopp |
b9b52a |
{
|
|
Karsten Hopp |
b9b52a |
+ #ifdef FEAT_GUI
|
|
Karsten Hopp |
b9b52a |
+ # if !defined(FEAT_GUI_X11) && !defined(FEAT_GUI_GTK) \
|
|
Karsten Hopp |
b9b52a |
+ && !defined(FEAT_GUI_W32)
|
|
Karsten Hopp |
b9b52a |
+ if (gui.in_use)
|
|
Karsten Hopp |
b9b52a |
+ {
|
|
Karsten Hopp |
b9b52a |
+ EMSG(_("E838: netbeans is not supported with this GUI"));
|
|
Karsten Hopp |
b9b52a |
+ return;
|
|
Karsten Hopp |
b9b52a |
+ }
|
|
Karsten Hopp |
b9b52a |
+ # endif
|
|
Karsten Hopp |
b9b52a |
+ #endif
|
|
Karsten Hopp |
b9b52a |
netbeans_open((char *)eap->arg, FALSE);
|
|
Karsten Hopp |
b9b52a |
}
|
|
Karsten Hopp |
b9b52a |
|
|
Karsten Hopp |
b9b52a |
*** ../vim-7.3.018/src/version.c 2010-09-29 18:42:25.000000000 +0200
|
|
Karsten Hopp |
b9b52a |
--- src/version.c 2010-09-30 21:02:03.000000000 +0200
|
|
Karsten Hopp |
b9b52a |
***************
|
|
Karsten Hopp |
b9b52a |
*** 716,717 ****
|
|
Karsten Hopp |
b9b52a |
--- 716,719 ----
|
|
Karsten Hopp |
b9b52a |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
b9b52a |
+ /**/
|
|
Karsten Hopp |
b9b52a |
+ 19,
|
|
Karsten Hopp |
b9b52a |
/**/
|
|
Karsten Hopp |
b9b52a |
|
|
Karsten Hopp |
b9b52a |
--
|
|
Karsten Hopp |
b9b52a |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
b9b52a |
233. You start dreaming about web pages...in html.
|
|
Karsten Hopp |
b9b52a |
|
|
Karsten Hopp |
b9b52a |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
b9b52a |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
b9b52a |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
b9b52a |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|