Commit Graph

264 Commits

Author SHA1 Message Date
Ito Hiroyuki
49883bb9cb * register user name and password for proxy authentication.
* remove option -pauth
2010-08-03 10:02:16 +00:00
Ito Hiroyuki
3b56230efa Revert the change of using ATTR_TITLE if ATTR_ALT is empty. 2010-08-02 10:33:35 +00:00
Ito Hiroyuki
966fc976cf * [w3m-dev 04348] Re: "important" bugs from bugs.debian.org
* file.c
  (TEXTAREA_ATTR_COL_MAX, TEXTAREA_ATTR_ROWS_MAX): added.
  (process_textarea): check cur_textarea_size > TEXTAREA_ATTR_COL_MAX and cur_textarea_rows > TEXTAREA_ATTR_ROWS_MAX
2010-07-30 08:57:49 +00:00
Ito Hiroyuki
ee6f535379 * [w3m-dev 04345] Re: "important" bugs from bugs.debian.org
* file.c (HR_ATTR_WIDTH_MAX): added.
* file.c (process_hr): check w > HR_ATTR_WIDTH_MAX
2010-07-30 08:50:39 +00:00
Ito Hiroyuki
69bea0b346 suppress compile warnings. 2010-07-24 04:30:40 +00:00
Ito Hiroyuki
715e1bc175 * [w3m-dev 04321] Re: w3m's bugs from bugs.debian.org
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329862#20
* table.c (feed_table_tag): check displayLinkNumber.
* proto.h: add getLinkNumberStr().
* main.c (do_dump): check displayLinkNumber.
* fm.h: add global variable displayLinkNumber.
* file.c
(getLinkNumberStr): added.
(process_input, process_select, HTMLtagproc1): check displayLinkNumber.
2010-07-19 23:33:59 +00:00
Ito Hiroyuki
cc5f95be50 * [w3m-dev 04321] Re: w3m's bugs from bugs.debian.org
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329863#8
* rc.c: Introduce option pseudo_inlines.
* fm.h: add global variable pseudoInlines.
* file.c (process_img): check q.
2010-07-19 12:53:39 +00:00
Ito Hiroyuki
a19f155b48 * [w3m-dev 04321] Re: w3m's bugs from bugs.debian.org
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185006#22
* main.c
(sig_chld): save exit code to d->err.
(addDownloadList): initialize d->running and d->err.
(DownloadListBuffer): check d->err.
* fm.h
(_DownloadList): add running and err.
* file.c
(save2tmp): check returned value of Strfputs().
(doFileSave): exit code is depend on the returned value of save2tmp().
2010-07-19 11:45:23 +00:00
Ito Hiroyuki
fd8468f7f9 * [w3m-dev 04238] [patch] simple preserve space
* rc.c: Introduce option simple_preserve_space.
* fm.h: add global variable SimplePreserveSpace.
* file.c (HTMLlineproc0): check SimplePreserveSpace.
2010-07-19 09:00:34 +00:00
Ito Hiroyuki
6a2579bb26 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242599#21
* file.c
(is_html_type): added.
(examineFile, loadGeneralFile, _saveBuffer)
(openGeneralPagerBuffer, reloadBuffer): use is_html_type() instead of strcasecmp().
(loadGeneralFile): set f.guess_tupe
* display.c
(displayBuffer): use is_html_type() instead of strcasecmp().
* buffer.c
(reshapeBuffer): use is_html_type() instead of strcasecmp().
* backend.c
(internal_get): use is_html_type() instead of strcasecmp().
2010-07-18 14:10:09 +00:00
Dai Sato
3c7e9b27c1 [w3m-dev 04155] fix for minpw. 2007-05-23 15:06:05 +00:00
Dai Sato
57a08b52db [w3m-dev 04236] expand display_ins_del to select a type of fontify. 2007-05-23 13:07:44 +00:00
Dai Sato
599bb41857 [w3m-dev 03923] avoid extra blanks in pre in table. 2007-05-23 12:26:56 +00:00
Dai Sato
2c5eaafc8e avoid conflicts between input_alt and img_alt, and fix calculation of labeled line numbers when fold_line=1. [w3m-dev 04211] 2007-04-19 12:00:37 +00:00
Fumitoshi UKAI
d26d1ac387 * [SECURITY] fix format string vulnerability
* file.c (inputAnswer) fix format string bug
2006-12-27 02:15:24 +00:00
Dai Sato
ab71462c9f [w3m-dev 04185] display <em> and <i> elements with bold letters. 2006-12-10 11:06:12 +00:00
Dai Sato
d067996dca [w3m-dev 04184] automatic uncompression in downloading 2006-12-10 11:01:24 +00:00
Dai Sato
dd02a73fcf add LiveHTTPHeaders-like option: -reqlog. 2006-12-10 10:49:23 +00:00
Dai Sato
755718c883 avoid decoding when dump_extra option is specified. 2006-06-12 11:51:59 +00:00
Dai Sato
b8f63e0d98 avoid decoding when dump_extra option is specified. 2006-06-10 11:09:06 +00:00
Dai Sato
b91f116976 Show progress status when dump_extra option is specified. [w3m-dev 03992] 2006-06-10 10:01:18 +00:00
Dai Sato
4b0c2cecc3 [w3m-dev-en 01067] decode content-encoding in all situations. 2006-05-29 12:54:26 +00:00
Dai Sato
a60d99eb7b check A tag in HTMLlineproc2body(). 2006-04-08 11:33:16 +00:00
Dai Sato
db790bfd2b Introduce option show_cookie and set it TRUE by default. 2006-04-07 15:48:56 +00:00
Dai Sato
22d66ca585 rewind to 10 Feb 2006. 2006-04-07 13:21:11 +00:00
Dai Sato
bc7f9c9026 apply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006. 2006-04-05 14:18:53 +00:00
Dai Sato
9d56e4804d file.c: replace pclose with fclose in the end of uncompress_stream() by Dai Sato
CVS ----------------------------------------------------------------------
2006-02-09 12:49:52 +00:00
Fumitoshi UKAI
ab1f4c4d96 [w3m-dev 04130] [w3m-dev 04131] [w3m-dev 04132] Multiple challeges in *-Authenticate header
* file.c (skip_auth_token): added
	(extract_auth_val): ',' is end of token
	(extract_auth_param): use skip_auth_token
	(AuthDigestCred): parse qop and calc cnonce correctly
	(findAuthentication): use skip_auth_token
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2005-01-04 15:51:03 +00:00
Fumitoshi UKAI
42508f56c5 [w3m-dev 04117] Re: start attribute and value attribute on ordered lists
* file.c (HTMLtagproc1): allow negative value for start attr
From: Hiroyuki Ito <ZXB01226@nifty.com>
2004-11-04 17:25:44 +00:00
Fumitoshi UKAI
d02cc0c7de [w3m-dev 04064] authentication
closes: Bug#:244029: w3m: HTTP basic authentication annoyance
* fm.h (auth_cookie): deleted
* proto.h (find_auth_cookie): deleted
	(add_auth_cookie): deleted
	(add_auth_user_passwd): added
	(invalidate_auth_user_passwd): added
* etc.c (auth_pass): add bad flag
		delete file
	(dir_under): deleted
	(add_auth_pass_entry): add override flag
		no need to check file
	(find_auth_pass_entry): delete file
		check bad flag
		check uname
	(find_auth_user_passwd): find by pu->user
	(add_auth_user_passwd): added
	(invalidate_auth_user_passwd): added
	(parsePasswd): add no override
		ignore file
	(find_auth): deleted
	(find_auth_cookie): deleted
	(dump_auth_cookie): deleted
	(add_auth_cookie): deleted
* file.c (getAuthCookie): add *uname, *pwd
		rewrite
	(loadGeneralFile): delete ss, add uname, pwd
		use add_auth_user_passwd instead of add_auth_cookie
* url.c (HTTPrequest): don't authorization here
		it should be done in getAuthCookie in loadGeneralFile
		through extra_header
* ftp.c (openFTPStream): add uname
		use find_auth_user_passwd instead of find_auth_cookie
		use add_auth_user_passwd instead of add_auth_cookie
2004-04-16 18:47:18 +00:00
Fumitoshi UKAI
99ef8dfee3 [w3m-dev 04021] Deeply nested table
* file.c (completeHTMLstream): check obuf->table_level
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2003-12-08 16:08:01 +00:00
Fumitoshi UKAI
80fb78c603 [w3m-dev 04009] ./configure --disable-image problem
* file.c (loadHTMLstream): if defined(USE_M17N)
From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
2003-10-22 18:41:11 +00:00
Fumitoshi UKAI
db7698cbd3 OpenLDAP¤ÈActive Directory¤¬µÕ? 2003-10-21 17:12:09 +00:00
Fumitoshi UKAI
caa996c6a1 [w3m-dev 03985] Re: support for 307 Temporary Redirect
* file.c (loadGeneralFile): support 307 Temporary Redirect
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-10-08 14:51:33 +00:00
Fumitoshi UKAI
683e546c2d fix build error --disbable-m17n
* config.h.in: undef USE_M17N, USE_UNICODE
* etc.c (url_unquote_conv): USE_M17N
* file.c (convertLine): USE_M17N
	(loadHTMLStream): fix ifdef USE_IMAGE->USE_M17N
	(loadBuffer): fix USE_M17N
	(getNextPage): fix USE_M17N
* fm.h (USE_M17N): don't define USE_M17N in case LANG == JA
		(this should be done by configure)
	(wc_ces): dummy typedef
	(wc_Str_conv): fix non-m17n macro args
	(wc_Str_conv_strict): ditto
* ftp.c (loadFTPDir): fix undefined USE_M17N
* mimehead.c (decodeWord): ditto
	(decodeMIME): ditto
* news.c (loadNewsgroup): ditto
* proto.h (convertLine): ditto
	(loadGopherDir): ditto
	(loadFTPDir): ditto
	(loadNewsgroup): ditto
	(decodeWord): ditto
	(decodeMIME): ditto
	(url_unquote_conv): ditto
* terms.c (SETCH): ditto
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-10-05 18:52:50 +00:00
Fumitoshi UKAI
eb5aa3e915 add comments 2003-09-26 17:59:51 +00:00
Fumitoshi UKAI
b411c1109d fix indent 2003-09-24 18:48:58 +00:00
Fumitoshi UKAI
604c11affe merge m17n patch
add libwc
2003-09-22 21:02:15 +00:00
Fumitoshi UKAI
9b35e9d994 [w3m-dev 03957] Location: from local-CGI
* file.c (loadGeneralFile): don't parse header for local file
	redirected by Location: from local-CGI
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-08-29 14:49:46 +00:00
Fumitoshi UKAI
3c45cb485a [w3m-dev 03927] deflate
* file.c (compression_decoder): .deflate for application/x-deflate's
			extension
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-07-07 15:39:43 +00:00
Fumitoshi UKAI
568babfea9 [w3m-dev 03901] body with status-code 401
* file.c (loadGeneralFile): show page when 401, 407
From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
2003-05-13 17:38:47 +00:00
Fumitoshi UKAI
a5404c266c [w3m-dev 03882] Re: Bug#189460: w3m: <q> tag is not recognized
* file.c (HTMLtagproc1): add HTML_Q, HTML_N_Q
* html.c (TagMAP): add "q", "/q"
* html.h (HTML_Q): added
	(HTML_N_Q): added
* tagtable.tab: add q, /q
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-04-18 16:47:16 +00:00
Fumitoshi UKAI
6f87e48d61 [w3m-dev 03875] Re: SSL & compressed stream
* file.c (loadGeneralFile): check t_buf != NULL
* url.c (openURL): don't initialize URLFile here
	(init_stream): 0 clear URLFile
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-04-14 03:29:37 +00:00
Fumitoshi UKAI
12723d3c6b [w3m-dev 03873] SSL & compressed stream
* file.c (loadGeneralFile): always update ssl_certificate
* url.c (openURL): initialize URLFile
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-04-13 18:36:50 +00:00
Fumitoshi UKAI
a603190b2e [w3m-dev 03843] cleanup macros
* config.h.dist config.h.in etc.c file.c fm.h ftp.c linein.c
   main.c rc.c:
   delete EMACS_LIKE_LINEEDIT, VI_PREC_NUM, LABEL_TOPLINE,
	NEXTPAGE_TOPLINE, FTPPASS_HOSTNAMEGEN
   use_mark default FALSE
   emacs_like_lineedit default FALSE
   vi_prec_num default FALSE
   add UseHistory, use_history
* NEWS: rc: use_history
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-04-06 16:27:53 +00:00
Fumitoshi UKAI
f8ac673d1b [w3m-dev 03788] UFhalfclose
* file.c (UFhalfclose): closeNews() for SCM_NEWS,NNTP
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-03-02 15:09:24 +00:00
Fumitoshi UKAI
adf53cebd2 [w3m-dev 03735] Re: make error of checkType arg
* etc.c (checkType): delete USE_ANSI_COLOR
* file.c (addnewline): macro for USE_ANSI_COLOR
	(readHeader): rewrite of USE_ANSI_COLOR
	(HTMLlineproc2body): ditto
	(addnewline2): ditto
	(addnewline): ditto
	(loadBuffer): ditto
	(getNextPage): ditto
* proto.h (checkType): macro for USE_ANSI_COLOR
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-06 17:21:42 +00:00
Fumitoshi UKAI
081ef4058c [w3m-dev 03719] Re: Too slow when loading big file with fold_line=1
* file.c (addnewline): check i <l->len
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-30 16:48:40 +00:00
Fumitoshi UKAI
0c0438352c [w3m-dev 03718] Too slow when loading big file with fold_line=1
* etc.c (nextColumn): added
	(calcPosition): use New_N
			rewrite with nextColumn
	(columnLen): added
* file.c (addnewline): rewrite with columnLen
* proto.h (columnLen): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-30 16:39:29 +00:00
Fumitoshi UKAI
7226ac9de4 [w3m-dev 03715] initial currentLine when pager mode.
* file.c (getNextPage): fix cur
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-30 16:31:56 +00:00