[w3m-dev 02991] form support in w3m -halfdump foo.html|w3m -halfload
* fm.h (DUMP_HALFEXTRA): deleted
* proto.h (process_select): return Str
* file.c (process_img): process_form() fix
* file.c (process_input): process_form() fix
* file.c (process_select): return Str
			process_form() fix
* file.c (process_textarea): process_form() fix
* file.c (process_form): support -halfdump
* file.c (HTMLtagproc1): delete case HTML_FORM_INT, HTML_N_FORM_INT
			process_{form,select,textarea}() fix
* file.c (HTMLlineproc2body): support -halfload
		HTML_INTERNAL, HTML_N_INTERNAL,
		HTML_FORM_INT, HTML_FORM_INT,
		HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT,
		HTML_SELECT_INT, HTML_N_SELECT_INT,
		HTML_OPTION_INT, HTML_TITLE_ALT
* file.c (print_internal_information): fix -halfdump
* file.c (loadHTMLstream): no DUMP_HALFEXTRA
* html.h: add HTML_INTERNAL, HTML_N_INTERNAL,
		HTML_SELECT_INT, HTML_N_SELECT_INT,
		HTML_OPTION_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT
* html.c (ALST_TEXTAREA_INT): added
* html.c (ALST_SELECT_INT): added
* html.c: add <internal>, </internal>, <select_int>, </select_int>
	<option_int>, <textarea_int>, </textarea_int>
* main.c (MAIN): delete -halfdump_extra
	dont output <pre> by -halfdump
* table.c (feed_table_tag): process_{form,select}() fix
	add case HTML_INTERNAL, HTML_N_INTERNAL,
	    HTML_SELECT_INT, HTML_N_SELECT_INT,
	    HTML_OPTION_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT,
* tagtable.tab: add internal, /internal, select_int, /select_int
	option_int, textarea_int, /textarea_int
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
			
			
This commit is contained in:
		
							
								
								
									
										3
									
								
								fm.h
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								fm.h
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: fm.h,v 1.49 2002/02/04 15:18:42 ukai Exp $ */
 | 
			
		||||
/* $Id: fm.h,v 1.50 2002/02/05 12:31:27 ukai Exp $ */
 | 
			
		||||
/* 
 | 
			
		||||
 * w3m: WWW wo Miru utility
 | 
			
		||||
 * 
 | 
			
		||||
@@ -774,7 +774,6 @@ extern char *w3m_version;
 | 
			
		||||
#define DUMP_EXTRA    0x08
 | 
			
		||||
#define DUMP_HALFDUMP 0x10
 | 
			
		||||
#define DUMP_FRAME    0x20
 | 
			
		||||
#define DUMP_HALFEXTRA 0x40
 | 
			
		||||
global int w3m_debug;
 | 
			
		||||
global int w3m_dump init(0);
 | 
			
		||||
#define w3m_halfdump (w3m_dump & DUMP_HALFDUMP)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user