[w3m-dev 03373] setting form on loading
* config.h.dist (PRE_FORM_FILE): added * configure (PRE_FORM_FILE): added * etc.c (openPasswdFile): define by openSecretFile() (openSecretFile): renamed, not static * file.c (loadGeneralFile): preFOrmUpdateBuffer() * fm.h (Buffer): add submit (pre_form_file): added * form.c (struct pre_form_item): added (struct pre_form): added (next_token): added (PreForm): added (add_pre_form): added (add_pre_form_item): added (loadPreForm): added (preFormUpdateBuffer): added * frame.c (renderFrame): add preFormUpdateBuffer() * main.c (MAIN): buf->submit check * proto.h (preFormUpdateBuffer): added (openSecretFile): added (loadPreForm): added * rc.c (sync_with_option): add loadPreForm() From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
4
fm.h
4
fm.h
@@ -1,4 +1,4 @@
|
||||
/* $Id: fm.h,v 1.67 2002/10/30 15:46:29 ukai Exp $ */
|
||||
/* $Id: fm.h,v 1.68 2002/11/05 15:56:13 ukai Exp $ */
|
||||
/*
|
||||
* w3m: WWW wo Miru utility
|
||||
*
|
||||
@@ -438,6 +438,7 @@ typedef struct _Buffer {
|
||||
#endif
|
||||
char image_flag;
|
||||
char need_reshape;
|
||||
Anchor *submit;
|
||||
} Buffer;
|
||||
|
||||
|
||||
@@ -842,6 +843,7 @@ global char *ExtBrowser2 init(NULL);
|
||||
global char *ExtBrowser3 init(NULL);
|
||||
global int BackgroundExtViewer init(TRUE);
|
||||
global char *passwd_file init(PASSWD_FILE);
|
||||
global char *pre_form_file init(PRE_FORM_FILE);
|
||||
global char *ftppasswd init(NULL);
|
||||
#ifdef FTPPASS_HOSTNAMEGEN
|
||||
global int ftppass_hostnamegen init(TRUE);
|
||||
|
||||
Reference in New Issue
Block a user