|
Karsten Hopp |
8a61f6 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
8a61f6 |
Subject: Patch 7.3.102
|
|
Karsten Hopp |
8a61f6 |
Fcc: outbox
|
|
Karsten Hopp |
8a61f6 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
8a61f6 |
Mime-Version: 1.0
|
|
Karsten Hopp |
8a61f6 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
8a61f6 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
8a61f6 |
------------
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
Patch 7.3.102
|
|
Karsten Hopp |
8a61f6 |
Problem: When using ":make", typing the next command and then getting the
|
|
Karsten Hopp |
8a61f6 |
"reload" prompt the next command is (partly) eaten by the reload
|
|
Karsten Hopp |
8a61f6 |
prompt.
|
|
Karsten Hopp |
8a61f6 |
Solution: Accept ':' as a special character at the reload prompt to accept
|
|
Karsten Hopp |
8a61f6 |
the default choice and execute the command.
|
|
Karsten Hopp |
8a61f6 |
Files: src/eval.c, src/fileio.c, src/gui.c, src/gui_xmdlg.c,
|
|
Karsten Hopp |
8a61f6 |
src/memline.c, src/message.c, src/proto/message.pro,
|
|
Karsten Hopp |
8a61f6 |
src/gui_athena.c, src/gui_gtk.c, src/gui_mac.c, src/gui_motif.c,
|
|
Karsten Hopp |
8a61f6 |
src/gui_photon.c, src/gui_w16.c, src/gui_w32.c, src/os_mswin.c
|
|
Karsten Hopp |
8a61f6 |
src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
|
|
Karsten Hopp |
8a61f6 |
src/proto/gui_mac.pro, src/proto/gui_motif.pro,
|
|
Karsten Hopp |
8a61f6 |
src/proto/gui_photon.pro, src/proto/gui_w16.pro,
|
|
Karsten Hopp |
8a61f6 |
src/proto/gui_w32.pro
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/eval.c 2011-01-04 19:03:22.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
--- src/eval.c 2011-01-16 00:14:21.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 9323,9329 ****
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
if (!error)
|
|
Karsten Hopp |
8a61f6 |
rettv->vval.v_number = do_dialog(type, NULL, message, buttons,
|
|
Karsten Hopp |
8a61f6 |
! def, NULL);
|
|
Karsten Hopp |
8a61f6 |
#endif
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
--- 9323,9329 ----
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
if (!error)
|
|
Karsten Hopp |
8a61f6 |
rettv->vval.v_number = do_dialog(type, NULL, message, buttons,
|
|
Karsten Hopp |
8a61f6 |
! def, NULL, FALSE);
|
|
Karsten Hopp |
8a61f6 |
#endif
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 12744,12750 ****
|
|
Karsten Hopp |
8a61f6 |
IObuff[0] = NUL;
|
|
Karsten Hopp |
8a61f6 |
if (message != NULL && defstr != NULL
|
|
Karsten Hopp |
8a61f6 |
&& do_dialog(VIM_QUESTION, NULL, message,
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&OK\n&Cancel"), 1, IObuff) == 1)
|
|
Karsten Hopp |
8a61f6 |
rettv->vval.v_string = vim_strsave(IObuff);
|
|
Karsten Hopp |
8a61f6 |
else
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
--- 12744,12750 ----
|
|
Karsten Hopp |
8a61f6 |
IObuff[0] = NUL;
|
|
Karsten Hopp |
8a61f6 |
if (message != NULL && defstr != NULL
|
|
Karsten Hopp |
8a61f6 |
&& do_dialog(VIM_QUESTION, NULL, message,
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&OK\n&Cancel"), 1, IObuff, FALSE) == 1)
|
|
Karsten Hopp |
8a61f6 |
rettv->vval.v_string = vim_strsave(IObuff);
|
|
Karsten Hopp |
8a61f6 |
else
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/fileio.c 2010-12-17 18:06:00.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
--- src/fileio.c 2011-01-16 00:14:37.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 7008,7014 ****
|
|
Karsten Hopp |
8a61f6 |
STRCAT(tbuf, mesg2);
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
if (do_dialog(VIM_WARNING, (char_u *)_("Warning"), tbuf,
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&OK\n&Load File"), 1, NULL) == 2)
|
|
Karsten Hopp |
8a61f6 |
reload = TRUE;
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
else
|
|
Karsten Hopp |
8a61f6 |
--- 7008,7014 ----
|
|
Karsten Hopp |
8a61f6 |
STRCAT(tbuf, mesg2);
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
if (do_dialog(VIM_WARNING, (char_u *)_("Warning"), tbuf,
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&OK\n&Load File"), 1, NULL, TRUE) == 2)
|
|
Karsten Hopp |
8a61f6 |
reload = TRUE;
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
else
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/gui.c 2010-10-20 19:17:43.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/gui.c 2011-01-16 00:14:56.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 4903,4909 ****
|
|
Karsten Hopp |
8a61f6 |
if (STRLEN(p) > 2000)
|
|
Karsten Hopp |
8a61f6 |
STRCPY(p + 2000 - 14, "...(truncated)");
|
|
Karsten Hopp |
8a61f6 |
(void)do_dialog(VIM_ERROR, (char_u *)_("Error"),
|
|
Karsten Hopp |
8a61f6 |
! p, (char_u *)_("&Ok"), 1, NULL);
|
|
Karsten Hopp |
8a61f6 |
break;
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
ga_clear(&error_ga);
|
|
Karsten Hopp |
8a61f6 |
--- 4903,4909 ----
|
|
Karsten Hopp |
8a61f6 |
if (STRLEN(p) > 2000)
|
|
Karsten Hopp |
8a61f6 |
STRCPY(p + 2000 - 14, "...(truncated)");
|
|
Karsten Hopp |
8a61f6 |
(void)do_dialog(VIM_ERROR, (char_u *)_("Error"),
|
|
Karsten Hopp |
8a61f6 |
! p, (char_u *)_("&Ok"), 1, NULL, FALSE);
|
|
Karsten Hopp |
8a61f6 |
break;
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
ga_clear(&error_ga);
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/gui_xmdlg.c 2010-08-15 21:57:32.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/gui_xmdlg.c 2011-01-16 00:15:33.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 688,694 ****
|
|
Karsten Hopp |
8a61f6 |
do_dialog(VIM_ERROR,
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("Error"),
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("Invalid font specification"),
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&Dismiss"), 1, NULL);
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
return True;
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
--- 688,694 ----
|
|
Karsten Hopp |
8a61f6 |
do_dialog(VIM_ERROR,
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("Error"),
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("Invalid font specification"),
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&Dismiss"), 1, NULL, FALSE);
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
return True;
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 807,813 ****
|
|
Karsten Hopp |
8a61f6 |
do_dialog(VIM_ERROR,
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("Error"),
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("Invalid font specification"),
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&Dismiss"), 1, NULL);
|
|
Karsten Hopp |
8a61f6 |
XFreeFontNames(name);
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
else
|
|
Karsten Hopp |
8a61f6 |
--- 807,813 ----
|
|
Karsten Hopp |
8a61f6 |
do_dialog(VIM_ERROR,
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("Error"),
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("Invalid font specification"),
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&Dismiss"), 1, NULL, FALSE);
|
|
Karsten Hopp |
8a61f6 |
XFreeFontNames(name);
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
else
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/memline.c 2010-12-17 20:23:56.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
--- src/memline.c 2011-01-16 00:15:47.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 4516,4522 ****
|
|
Karsten Hopp |
8a61f6 |
process_still_running
|
|
Karsten Hopp |
8a61f6 |
? (char_u *)_("&Open Read-Only\n&Edit anyway\n&Recover\n&Quit\n&Abort") :
|
|
Karsten Hopp |
8a61f6 |
# endif
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&Open Read-Only\n&Edit anyway\n&Recover\n&Delete it\n&Quit\n&Abort"), 1, NULL);
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
# if defined(UNIX) || defined(__EMX__) || defined(VMS)
|
|
Karsten Hopp |
8a61f6 |
if (process_still_running && choice >= 4)
|
|
Karsten Hopp |
8a61f6 |
--- 4516,4522 ----
|
|
Karsten Hopp |
8a61f6 |
process_still_running
|
|
Karsten Hopp |
8a61f6 |
? (char_u *)_("&Open Read-Only\n&Edit anyway\n&Recover\n&Quit\n&Abort") :
|
|
Karsten Hopp |
8a61f6 |
# endif
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&Open Read-Only\n&Edit anyway\n&Recover\n&Delete it\n&Quit\n&Abort"), 1, NULL, FALSE);
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
# if defined(UNIX) || defined(__EMX__) || defined(VMS)
|
|
Karsten Hopp |
8a61f6 |
if (process_still_running && choice >= 4)
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/message.c 2011-01-04 19:25:46.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
--- src/message.c 2011-01-17 19:57:30.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 3315,3321 ****
|
|
Karsten Hopp |
8a61f6 |
* different letter.
|
|
Karsten Hopp |
8a61f6 |
*/
|
|
Karsten Hopp |
8a61f6 |
int
|
|
Karsten Hopp |
8a61f6 |
! do_dialog(type, title, message, buttons, dfltbutton, textfield)
|
|
Karsten Hopp |
8a61f6 |
int type UNUSED;
|
|
Karsten Hopp |
8a61f6 |
char_u *title UNUSED;
|
|
Karsten Hopp |
8a61f6 |
char_u *message;
|
|
Karsten Hopp |
8a61f6 |
--- 3315,3321 ----
|
|
Karsten Hopp |
8a61f6 |
* different letter.
|
|
Karsten Hopp |
8a61f6 |
*/
|
|
Karsten Hopp |
8a61f6 |
int
|
|
Karsten Hopp |
8a61f6 |
! do_dialog(type, title, message, buttons, dfltbutton, textfield, ex_cmd)
|
|
Karsten Hopp |
8a61f6 |
int type UNUSED;
|
|
Karsten Hopp |
8a61f6 |
char_u *title UNUSED;
|
|
Karsten Hopp |
8a61f6 |
char_u *message;
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 3323,3328 ****
|
|
Karsten Hopp |
8a61f6 |
--- 3323,3330 ----
|
|
Karsten Hopp |
8a61f6 |
int dfltbutton;
|
|
Karsten Hopp |
8a61f6 |
char_u *textfield UNUSED; /* IObuff for inputdialog(), NULL
|
|
Karsten Hopp |
8a61f6 |
otherwise */
|
|
Karsten Hopp |
8a61f6 |
+ int ex_cmd; /* when TRUE pressing : accepts default and starts
|
|
Karsten Hopp |
8a61f6 |
+ Ex command */
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
int oldState;
|
|
Karsten Hopp |
8a61f6 |
int retval = 0;
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 3341,3347 ****
|
|
Karsten Hopp |
8a61f6 |
if (gui.in_use && vim_strchr(p_go, GO_CONDIALOG) == NULL)
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
c = gui_mch_dialog(type, title, message, buttons, dfltbutton,
|
|
Karsten Hopp |
8a61f6 |
! textfield);
|
|
Karsten Hopp |
8a61f6 |
/* avoid a hit-enter prompt without clearing the cmdline */
|
|
Karsten Hopp |
8a61f6 |
need_wait_return = FALSE;
|
|
Karsten Hopp |
8a61f6 |
emsg_on_display = FALSE;
|
|
Karsten Hopp |
8a61f6 |
--- 3343,3349 ----
|
|
Karsten Hopp |
8a61f6 |
if (gui.in_use && vim_strchr(p_go, GO_CONDIALOG) == NULL)
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
c = gui_mch_dialog(type, title, message, buttons, dfltbutton,
|
|
Karsten Hopp |
8a61f6 |
! textfield, ex_cmd);
|
|
Karsten Hopp |
8a61f6 |
/* avoid a hit-enter prompt without clearing the cmdline */
|
|
Karsten Hopp |
8a61f6 |
need_wait_return = FALSE;
|
|
Karsten Hopp |
8a61f6 |
emsg_on_display = FALSE;
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 3388,3393 ****
|
|
Karsten Hopp |
8a61f6 |
--- 3390,3402 ----
|
|
Karsten Hopp |
8a61f6 |
default: /* Could be a hotkey? */
|
|
Karsten Hopp |
8a61f6 |
if (c < 0) /* special keys are ignored here */
|
|
Karsten Hopp |
8a61f6 |
continue;
|
|
Karsten Hopp |
8a61f6 |
+ if (c == ':' && ex_cmd)
|
|
Karsten Hopp |
8a61f6 |
+ {
|
|
Karsten Hopp |
8a61f6 |
+ retval = dfltbutton;
|
|
Karsten Hopp |
8a61f6 |
+ ins_char_typebuf(':');
|
|
Karsten Hopp |
8a61f6 |
+ break;
|
|
Karsten Hopp |
8a61f6 |
+ }
|
|
Karsten Hopp |
8a61f6 |
+
|
|
Karsten Hopp |
8a61f6 |
/* Make the character lowercase, as chars in "hotkeys" are. */
|
|
Karsten Hopp |
8a61f6 |
c = MB_TOLOWER(c);
|
|
Karsten Hopp |
8a61f6 |
retval = 1;
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 3661,3667 ****
|
|
Karsten Hopp |
8a61f6 |
if (do_dialog(type,
|
|
Karsten Hopp |
8a61f6 |
title == NULL ? (char_u *)_("Question") : title,
|
|
Karsten Hopp |
8a61f6 |
message,
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&Yes\n&No"), dflt, NULL) == 1)
|
|
Karsten Hopp |
8a61f6 |
return VIM_YES;
|
|
Karsten Hopp |
8a61f6 |
return VIM_NO;
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
--- 3670,3676 ----
|
|
Karsten Hopp |
8a61f6 |
if (do_dialog(type,
|
|
Karsten Hopp |
8a61f6 |
title == NULL ? (char_u *)_("Question") : title,
|
|
Karsten Hopp |
8a61f6 |
message,
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&Yes\n&No"), dflt, NULL, FALSE) == 1)
|
|
Karsten Hopp |
8a61f6 |
return VIM_YES;
|
|
Karsten Hopp |
8a61f6 |
return VIM_NO;
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 3676,3682 ****
|
|
Karsten Hopp |
8a61f6 |
switch (do_dialog(type,
|
|
Karsten Hopp |
8a61f6 |
title == NULL ? (char_u *)_("Question") : title,
|
|
Karsten Hopp |
8a61f6 |
message,
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&Yes\n&No\n&Cancel"), dflt, NULL))
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
case 1: return VIM_YES;
|
|
Karsten Hopp |
8a61f6 |
case 2: return VIM_NO;
|
|
Karsten Hopp |
8a61f6 |
--- 3685,3691 ----
|
|
Karsten Hopp |
8a61f6 |
switch (do_dialog(type,
|
|
Karsten Hopp |
8a61f6 |
title == NULL ? (char_u *)_("Question") : title,
|
|
Karsten Hopp |
8a61f6 |
message,
|
|
Karsten Hopp |
8a61f6 |
! (char_u *)_("&Yes\n&No\n&Cancel"), dflt, NULL, FALSE))
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
case 1: return VIM_YES;
|
|
Karsten Hopp |
8a61f6 |
case 2: return VIM_NO;
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 3695,3701 ****
|
|
Karsten Hopp |
8a61f6 |
title == NULL ? (char_u *)"Question" : title,
|
|
Karsten Hopp |
8a61f6 |
message,
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("&Yes\n&No\nSave &All\n&Discard All\n&Cancel"),
|
|
Karsten Hopp |
8a61f6 |
! dflt, NULL))
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
case 1: return VIM_YES;
|
|
Karsten Hopp |
8a61f6 |
case 2: return VIM_NO;
|
|
Karsten Hopp |
8a61f6 |
--- 3704,3710 ----
|
|
Karsten Hopp |
8a61f6 |
title == NULL ? (char_u *)"Question" : title,
|
|
Karsten Hopp |
8a61f6 |
message,
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("&Yes\n&No\nSave &All\n&Discard All\n&Cancel"),
|
|
Karsten Hopp |
8a61f6 |
! dflt, NULL, FALSE))
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
case 1: return VIM_YES;
|
|
Karsten Hopp |
8a61f6 |
case 2: return VIM_NO;
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/proto/message.pro 2010-10-20 21:22:17.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/proto/message.pro 2011-01-16 00:22:36.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 64,70 ****
|
|
Karsten Hopp |
8a61f6 |
int verbose_open __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
void give_warning __ARGS((char_u *message, int hl));
|
|
Karsten Hopp |
8a61f6 |
void msg_advance __ARGS((int col));
|
|
Karsten Hopp |
8a61f6 |
! int do_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield));
|
|
Karsten Hopp |
8a61f6 |
void display_confirm_msg __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
int vim_dialog_yesno __ARGS((int type, char_u *title, char_u *message, int dflt));
|
|
Karsten Hopp |
8a61f6 |
int vim_dialog_yesnocancel __ARGS((int type, char_u *title, char_u *message, int dflt));
|
|
Karsten Hopp |
8a61f6 |
--- 64,70 ----
|
|
Karsten Hopp |
8a61f6 |
int verbose_open __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
void give_warning __ARGS((char_u *message, int hl));
|
|
Karsten Hopp |
8a61f6 |
void msg_advance __ARGS((int col));
|
|
Karsten Hopp |
8a61f6 |
! int do_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd));
|
|
Karsten Hopp |
8a61f6 |
void display_confirm_msg __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
int vim_dialog_yesno __ARGS((int type, char_u *title, char_u *message, int dflt));
|
|
Karsten Hopp |
8a61f6 |
int vim_dialog_yesnocancel __ARGS((int type, char_u *title, char_u *message, int dflt));
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/gui_athena.c 2010-08-15 21:57:25.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/gui_athena.c 2011-01-16 00:18:47.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 2117,2129 ****
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
int
|
|
Karsten Hopp |
8a61f6 |
! gui_mch_dialog(type, title, message, buttons, dfltbutton, textfield)
|
|
Karsten Hopp |
8a61f6 |
int type UNUSED;
|
|
Karsten Hopp |
8a61f6 |
char_u *title;
|
|
Karsten Hopp |
8a61f6 |
char_u *message;
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons;
|
|
Karsten Hopp |
8a61f6 |
int dfltbutton UNUSED;
|
|
Karsten Hopp |
8a61f6 |
char_u *textfield;
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
char_u *buts;
|
|
Karsten Hopp |
8a61f6 |
char_u *p, *next;
|
|
Karsten Hopp |
8a61f6 |
--- 2117,2130 ----
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
int
|
|
Karsten Hopp |
8a61f6 |
! gui_mch_dialog(type, title, message, buttons, dfltbutton, textfield, ex_cmd)
|
|
Karsten Hopp |
8a61f6 |
int type UNUSED;
|
|
Karsten Hopp |
8a61f6 |
char_u *title;
|
|
Karsten Hopp |
8a61f6 |
char_u *message;
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons;
|
|
Karsten Hopp |
8a61f6 |
int dfltbutton UNUSED;
|
|
Karsten Hopp |
8a61f6 |
char_u *textfield;
|
|
Karsten Hopp |
8a61f6 |
+ int ex_cmd UNUSED;
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
char_u *buts;
|
|
Karsten Hopp |
8a61f6 |
char_u *p, *next;
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/gui_gtk.c 2010-12-08 13:11:15.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
--- src/gui_gtk.c 2011-01-16 00:24:44.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 1268,1274 ****
|
|
Karsten Hopp |
8a61f6 |
char_u *message, /* message text */
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons, /* names of buttons */
|
|
Karsten Hopp |
8a61f6 |
int def_but, /* default button */
|
|
Karsten Hopp |
8a61f6 |
! char_u *textfield) /* text for textfield or NULL */
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
GtkWidget *dialog;
|
|
Karsten Hopp |
8a61f6 |
GtkWidget *entry = NULL;
|
|
Karsten Hopp |
8a61f6 |
--- 1268,1275 ----
|
|
Karsten Hopp |
8a61f6 |
char_u *message, /* message text */
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons, /* names of buttons */
|
|
Karsten Hopp |
8a61f6 |
int def_but, /* default button */
|
|
Karsten Hopp |
8a61f6 |
! char_u *textfield, /* text for textfield or NULL */
|
|
Karsten Hopp |
8a61f6 |
! int ex_cmd UNUSED)
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
GtkWidget *dialog;
|
|
Karsten Hopp |
8a61f6 |
GtkWidget *entry = NULL;
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/gui_mac.c 2010-09-21 17:34:26.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/gui_mac.c 2011-01-16 00:19:52.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 5583,5589 ****
|
|
Karsten Hopp |
8a61f6 |
char_u *message,
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons,
|
|
Karsten Hopp |
8a61f6 |
int dfltbutton,
|
|
Karsten Hopp |
8a61f6 |
! char_u *textfield)
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
Handle buttonDITL;
|
|
Karsten Hopp |
8a61f6 |
Handle iconDITL;
|
|
Karsten Hopp |
8a61f6 |
--- 5583,5590 ----
|
|
Karsten Hopp |
8a61f6 |
char_u *message,
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons,
|
|
Karsten Hopp |
8a61f6 |
int dfltbutton,
|
|
Karsten Hopp |
8a61f6 |
! char_u *textfield,
|
|
Karsten Hopp |
8a61f6 |
! int ex_cmd)
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
Handle buttonDITL;
|
|
Karsten Hopp |
8a61f6 |
Handle iconDITL;
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/gui_motif.c 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/gui_motif.c 2011-01-16 00:20:14.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 2549,2561 ****
|
|
Karsten Hopp |
8a61f6 |
#endif
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
int
|
|
Karsten Hopp |
8a61f6 |
! gui_mch_dialog(type, title, message, button_names, dfltbutton, textfield)
|
|
Karsten Hopp |
8a61f6 |
int type UNUSED;
|
|
Karsten Hopp |
8a61f6 |
char_u *title;
|
|
Karsten Hopp |
8a61f6 |
char_u *message;
|
|
Karsten Hopp |
8a61f6 |
char_u *button_names;
|
|
Karsten Hopp |
8a61f6 |
int dfltbutton;
|
|
Karsten Hopp |
8a61f6 |
char_u *textfield; /* buffer of size IOSIZE */
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
char_u *buts;
|
|
Karsten Hopp |
8a61f6 |
char_u *p, *next;
|
|
Karsten Hopp |
8a61f6 |
--- 2549,2562 ----
|
|
Karsten Hopp |
8a61f6 |
#endif
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
int
|
|
Karsten Hopp |
8a61f6 |
! gui_mch_dialog(type, title, message, button_names, dfltbutton, textfield, ex_cmd)
|
|
Karsten Hopp |
8a61f6 |
int type UNUSED;
|
|
Karsten Hopp |
8a61f6 |
char_u *title;
|
|
Karsten Hopp |
8a61f6 |
char_u *message;
|
|
Karsten Hopp |
8a61f6 |
char_u *button_names;
|
|
Karsten Hopp |
8a61f6 |
int dfltbutton;
|
|
Karsten Hopp |
8a61f6 |
char_u *textfield; /* buffer of size IOSIZE */
|
|
Karsten Hopp |
8a61f6 |
+ int ex_cmd UNUSED;
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
char_u *buts;
|
|
Karsten Hopp |
8a61f6 |
char_u *p, *next;
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/gui_photon.c 2010-08-15 21:57:27.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/gui_photon.c 2011-01-16 00:20:28.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 1502,1508 ****
|
|
Karsten Hopp |
8a61f6 |
char_u *message,
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons,
|
|
Karsten Hopp |
8a61f6 |
int default_button,
|
|
Karsten Hopp |
8a61f6 |
! char_u *textfield)
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
char_u *str;
|
|
Karsten Hopp |
8a61f6 |
char_u **button_array;
|
|
Karsten Hopp |
8a61f6 |
--- 1502,1509 ----
|
|
Karsten Hopp |
8a61f6 |
char_u *message,
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons,
|
|
Karsten Hopp |
8a61f6 |
int default_button,
|
|
Karsten Hopp |
8a61f6 |
! char_u *textfield,
|
|
Karsten Hopp |
8a61f6 |
! int ex_cmd)
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
char_u *str;
|
|
Karsten Hopp |
8a61f6 |
char_u **button_array;
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/gui_w16.c 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/gui_w16.c 2011-01-16 00:20:48.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 1098,1104 ****
|
|
Karsten Hopp |
8a61f6 |
char_u *message,
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons,
|
|
Karsten Hopp |
8a61f6 |
int dfltbutton,
|
|
Karsten Hopp |
8a61f6 |
! char_u *textfield)
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
FARPROC dp;
|
|
Karsten Hopp |
8a61f6 |
LPWORD p, pnumitems;
|
|
Karsten Hopp |
8a61f6 |
--- 1098,1105 ----
|
|
Karsten Hopp |
8a61f6 |
char_u *message,
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons,
|
|
Karsten Hopp |
8a61f6 |
int dfltbutton,
|
|
Karsten Hopp |
8a61f6 |
! char_u *textfield,
|
|
Karsten Hopp |
8a61f6 |
! int ex_cmd)
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
FARPROC dp;
|
|
Karsten Hopp |
8a61f6 |
LPWORD p, pnumitems;
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/gui_w32.c 2010-10-27 12:33:12.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/gui_w32.c 2011-01-16 00:21:08.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 3005,3011 ****
|
|
Karsten Hopp |
8a61f6 |
char_u *message,
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons,
|
|
Karsten Hopp |
8a61f6 |
int dfltbutton,
|
|
Karsten Hopp |
8a61f6 |
! char_u *textfield)
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
WORD *p, *pdlgtemplate, *pnumitems;
|
|
Karsten Hopp |
8a61f6 |
DWORD *dwp;
|
|
Karsten Hopp |
8a61f6 |
--- 3005,3012 ----
|
|
Karsten Hopp |
8a61f6 |
char_u *message,
|
|
Karsten Hopp |
8a61f6 |
char_u *buttons,
|
|
Karsten Hopp |
8a61f6 |
int dfltbutton,
|
|
Karsten Hopp |
8a61f6 |
! char_u *textfield,
|
|
Karsten Hopp |
8a61f6 |
! int ex_cmd)
|
|
Karsten Hopp |
8a61f6 |
{
|
|
Karsten Hopp |
8a61f6 |
WORD *p, *pdlgtemplate, *pnumitems;
|
|
Karsten Hopp |
8a61f6 |
DWORD *dwp;
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/os_mswin.c 2010-12-17 20:23:56.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
--- src/os_mswin.c 2011-01-16 00:21:41.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 593,599 ****
|
|
Karsten Hopp |
8a61f6 |
gui.starting ? (char_u *)_("Message") :
|
|
Karsten Hopp |
8a61f6 |
#endif
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("Error"),
|
|
Karsten Hopp |
8a61f6 |
! p, (char_u *)_("&Ok"), 1, NULL);
|
|
Karsten Hopp |
8a61f6 |
break;
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
ga_clear(&error_ga);
|
|
Karsten Hopp |
8a61f6 |
--- 593,599 ----
|
|
Karsten Hopp |
8a61f6 |
gui.starting ? (char_u *)_("Message") :
|
|
Karsten Hopp |
8a61f6 |
#endif
|
|
Karsten Hopp |
8a61f6 |
(char_u *)_("Error"),
|
|
Karsten Hopp |
8a61f6 |
! p, (char_u *)_("&Ok"), 1, NULL, FALSE);
|
|
Karsten Hopp |
8a61f6 |
break;
|
|
Karsten Hopp |
8a61f6 |
}
|
|
Karsten Hopp |
8a61f6 |
ga_clear(&error_ga);
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/proto/gui_athena.pro 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/proto/gui_athena.pro 2011-01-16 00:23:00.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 27,31 ****
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_scrollbar_colors __ARGS((scrollbar_T *sb));
|
|
Karsten Hopp |
8a61f6 |
Window gui_x11_get_wid __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield));
|
|
Karsten Hopp |
8a61f6 |
/* vim: set ft=c : */
|
|
Karsten Hopp |
8a61f6 |
--- 27,31 ----
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_scrollbar_colors __ARGS((scrollbar_T *sb));
|
|
Karsten Hopp |
8a61f6 |
Window gui_x11_get_wid __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd));
|
|
Karsten Hopp |
8a61f6 |
/* vim: set ft=c : */
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/proto/gui_gtk.pro 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/proto/gui_gtk.pro 2011-01-16 00:22:57.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 13,19 ****
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browsedir __ARGS((char_u *title, char_u *initdir));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int def_but, char_u *textfield));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu));
|
|
Karsten Hopp |
8a61f6 |
void gui_make_popup __ARGS((char_u *path_name, int mouse_pos));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_find_dialog __ARGS((exarg_T *eap));
|
|
Karsten Hopp |
8a61f6 |
--- 13,19 ----
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browsedir __ARGS((char_u *title, char_u *initdir));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int def_but, char_u *textfield, int ex_cmd));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu));
|
|
Karsten Hopp |
8a61f6 |
void gui_make_popup __ARGS((char_u *path_name, int mouse_pos));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_find_dialog __ARGS((exarg_T *eap));
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/proto/gui_mac.pro 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/proto/gui_mac.pro 2011-01-16 00:31:46.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 81,87 ****
|
|
Karsten Hopp |
8a61f6 |
int gui_mch_get_mouse_y __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_setmouse __ARGS((int x, int y));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_foreground __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_show_tabline __ARGS((int showit));
|
|
Karsten Hopp |
8a61f6 |
--- 81,87 ----
|
|
Karsten Hopp |
8a61f6 |
int gui_mch_get_mouse_y __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_setmouse __ARGS((int x, int y));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_foreground __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_show_tabline __ARGS((int showit));
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/proto/gui_motif.pro 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/proto/gui_motif.pro 2011-01-16 00:22:58.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 29,35 ****
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_scrollbar_colors __ARGS((scrollbar_T *sb));
|
|
Karsten Hopp |
8a61f6 |
Window gui_x11_get_wid __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *button_names, int dfltbutton, char_u *textfield));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_enable_footer __ARGS((int showit));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_footer __ARGS((char_u *s));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_show_toolbar __ARGS((int showit));
|
|
Karsten Hopp |
8a61f6 |
--- 29,35 ----
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_scrollbar_colors __ARGS((scrollbar_T *sb));
|
|
Karsten Hopp |
8a61f6 |
Window gui_x11_get_wid __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *button_names, int dfltbutton, char_u *textfield, int ex_cmd));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_enable_footer __ARGS((int showit));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_footer __ARGS((char_u *s));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_show_toolbar __ARGS((int showit));
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/proto/gui_photon.pro 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/proto/gui_photon.pro 2011-01-16 00:32:33.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 8,14 ****
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_update __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
int gui_mch_wait_for_chars __ARGS((int wtime));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *default_name, char_u *ext, char_u *initdir, char_u *filter));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int default_button, char_u *textfield));
|
|
Karsten Hopp |
8a61f6 |
int gui_mch_get_winpos __ARGS((int *x, int *y));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_winpos __ARGS((int x, int y));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_shellsize __ARGS((int width, int height, int min_width, int min_height, int base_width, int base_height, int direction));
|
|
Karsten Hopp |
8a61f6 |
--- 8,14 ----
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_update __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
int gui_mch_wait_for_chars __ARGS((int wtime));
|
|
Karsten Hopp |
8a61f6 |
char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *default_name, char_u *ext, char_u *initdir, char_u *filter));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int default_button, char_u *textfield, int ex_cmd));
|
|
Karsten Hopp |
8a61f6 |
int gui_mch_get_winpos __ARGS((int *x, int *y));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_winpos __ARGS((int x, int y));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_shellsize __ARGS((int width, int height, int min_width, int min_height, int base_width, int base_height, int direction));
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/proto/gui_w16.pro 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/proto/gui_w16.pro 2011-01-16 00:34:36.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 74,79 ****
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_add_menu_item __ARGS((vimmenu_T *menu, int idx));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_destroy_menu __ARGS((vimmenu_T *menu));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_foreground __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
/* vim: set ft=c : */
|
|
Karsten Hopp |
8a61f6 |
--- 74,79 ----
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_add_menu_item __ARGS((vimmenu_T *menu, int idx));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_destroy_menu __ARGS((vimmenu_T *menu));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_foreground __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
/* vim: set ft=c : */
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/proto/gui_w32.pro 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
8a61f6 |
--- src/proto/gui_w32.pro 2011-01-16 00:33:12.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 81,87 ****
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_add_menu_item __ARGS((vimmenu_T *menu, int idx));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_destroy_menu __ARGS((vimmenu_T *menu));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_foreground __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_drawsign __ARGS((int row, int col, int typenr));
|
|
Karsten Hopp |
8a61f6 |
void *gui_mch_register_sign __ARGS((char_u *signfile));
|
|
Karsten Hopp |
8a61f6 |
--- 81,87 ----
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_add_menu_item __ARGS((vimmenu_T *menu, int idx));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_destroy_menu __ARGS((vimmenu_T *menu));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey));
|
|
Karsten Hopp |
8a61f6 |
! int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_set_foreground __ARGS((void));
|
|
Karsten Hopp |
8a61f6 |
void gui_mch_drawsign __ARGS((int row, int col, int typenr));
|
|
Karsten Hopp |
8a61f6 |
void *gui_mch_register_sign __ARGS((char_u *signfile));
|
|
Karsten Hopp |
8a61f6 |
*** ../vim-7.3.101/src/version.c 2011-01-17 19:53:20.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
--- src/version.c 2011-01-17 20:05:02.000000000 +0100
|
|
Karsten Hopp |
8a61f6 |
***************
|
|
Karsten Hopp |
8a61f6 |
*** 716,717 ****
|
|
Karsten Hopp |
8a61f6 |
--- 716,719 ----
|
|
Karsten Hopp |
8a61f6 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
8a61f6 |
+ /**/
|
|
Karsten Hopp |
8a61f6 |
+ 102,
|
|
Karsten Hopp |
8a61f6 |
/**/
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
--
|
|
Karsten Hopp |
8a61f6 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
8a61f6 |
110. You actually volunteer to become your employer's webmaster.
|
|
Karsten Hopp |
8a61f6 |
|
|
Karsten Hopp |
8a61f6 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
8a61f6 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
8a61f6 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
8a61f6 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|