Commit Graph

58 Commits

Author SHA1 Message Date
Fumitoshi UKAI
6ab7851b79 [w3m-dev 02968] fix problem with Netscape-Enterprise WWW-authenticate
* file.c (findAuthentication): token is case insensitive
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-02-01 05:01:47 +00:00
Fumitoshi UKAI
3251324351 [w3m-dev 02961] halfdump image is not consistent
* file.c (flushline): check f
* file.c (do_blankline): fix blanklink conditions
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-31 18:40:14 +00:00
Fumitoshi UKAI
4c7c352e47 gcc -Wall -Werror safe
* anchor.c (addMultirowsImg): unused variable: fi
* display.c (redrawLineImage): unused variable: ncol
* file.c (process_img): uninitialized variables: r2, ni, w0, i0, ismap
		unused variable: url, ext
* file.c (loadHTMLstream): need volatile image_flag
* image.c (image_index): int
* image.c (getCharSize): need prototype
* image.c (getImage): uninitialized variable: key
		return NULL
* map.c (follow_map_menu): used only USE_IMAGE: px, py, map
* map.c (newMapArea): used only USE_IMAGE: p, i, max
* proto.h (addMultirowsImg): added
* w3mimgdisplay.c (main): format string fix
* w3mimgdisplay.c (DrawImage): need (Pixmap) cast

* inflate.c: indent
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-31 18:28:24 +00:00
Fumitoshi UKAI
9efbc08856 w3m-img merge (w3m-0.2.4+cvs-1.278-img-2.2.patch.gz)
* NEWS: w3m-img merge
* .cvsignore: add w3mimgdisplay, w3mimgsize
* XMakefile: add image.c to SRCS
	     add image.o to OBJS
             add IMGDISPLAY, IMGSIZE
* config.h.dist: USE_IMAGE, IMGSIZE, IMGDISPLAY
* configure: add find_imlib
		ask use_image
	(config.h) add $imgtarget to EXT_TARGETS
		   $def_use_image
		   IMGSIZE, IMGDISPLAY
* fm.h (MAX_IMAGE): added
* fm.h (DEFAULT_PIXEL_PER_CHAR): fix for USE_IMAGE
* fm.h (DEFAULT_PIXEL_PER_LINE): added
* fm.h (B_REDRAW_IMAGE): added
* fm.h (IMG_FLAG_SKIP): added
* fm.h (IMG_FLAG_AUTO): added
* fm.h (IMG_FLAG_START): added
* fm.h (IMG_FLAG_STOP): added
* fm.h (IMG_FLAG_NEXT): added
* fm.h (IMG_FLAG_UNLOADED): added
* fm.h (IMG_FLAG_LOADED): added
* fm.h (IMG_FLAG_ERROR): added
* fm.h (MapArea): added
* fm.h (MapList): s/urls/alts/, add area
* fm.h (ImageCache): added
* fm.h (Image): added
* fm.h (Anchor): add image
* fm.h (Buffer): add imarklist, image_flag, need_reshape
* fm.h (RG_FRAME_SRC): added
* fm.h (ALIGN_MIDDLE): added
* fm.h (ALIGN_TOP): added
* fm.h (ALIGN_BOTTOM): added
* fm.h (QuietMessage): added
* fm.h (Imgdisplay): added
* fm.h (Imgsize): added
* fm.h (activeImage): added
* fm.h (displayImage): added
* fm.h (autoImage): added
* fm.h (useExtImageViewer): added
* fm.h (image_source): added
* fm.h (view_unseenobject): change default if USE_IMAGE
* fm.h (set_pixel_per_char): added
* fm.h (pixel_per_line): added
* fm.h (set_pixel_per_line): added
* fm.h (image_scale): added
* proto.h (dispI): added
* proto.h (stopI): added
* proto.h (deleteImage): added
* proto.h (getAllImage): added
* proto.h (loadImage): added
* proto.h (getImage): added
* proto.h (getImageSize): added
* proto.h (process_img): add width arg
* proto.h (loadImageBuffer): added
* proto.h (follow_map_menu): add a_img arg
* proto.h (getMapXY): added
* proto.h (newMapArea): added
* proto.h (touch_cursor): added
* proto.h (cURLcode): added
* proto.h (initImage): added
* proto.h (termImage): added
* proto.h (addImage): added
* proto.h (drawImage): added
* proto.h (clearImage): added
* anchor.c (addMultirowsImg): added
* buffer.c (discardBuffer): deleteImage if USE_IMAGE
* buffer.c (reshapeBuffer): buf->need_reshape check
* display.c (fmTerm): if activeImage, stop load image
* display.c (fmInit): if displayImage, initImage
* display.c (image_touch): added
* display.c (draw_image_flag): added
* display.c (redrawLineImage): added
* display.c (displayBuffer): buf->need_reshape = TRUE
			mode == B_REDRAW_IMAGE
			image flag checks
			force redraw image in mode == B_REDRAW_IMAGE
			displayBuffer if need reshape
			drawImage
* display.c (redrawNLine): redrawLineImage
* display.c (redrawLineImage): added
* display.c (disp_message_nsec): return immediately if QuietMessage
* etc.c (reset_signals): ignore SIGUSR1
* file.c (frame_source): added
* file.c (_MoveFile): added
* file.c (cur_baseURL): added
* file.c (cur_document_code): added
* file.c (cur_iseq): added
* file.c (loadGeneralFile): fix fmInitialized and prevtrap checks
			save cur_baseURL
			image_source load
			loadImageBuffer for "image/*"
			frame_source flag
			fix b->type when proc is loadImageBuffer
* file.c (process_img): add width arg
		parse height and width attr, align
		fix for inline-image
* file.c (process_input): fix for form <input type="image">
* file.c (HTMLtagproc1): pass h_env->limit to process_img()
		fix <img_alt> for inline-image
		save cur_baseURL
* file.c (HTMLlineproc2body): fix <img_alt> for inline-image
* file.c (loadHTMLstream): fix for inline-image
		fix fmInitialized and prevtrap checks
		save cur_document_code
		save image_flag
* file.c (loadGopherDir): save cur_document_code
		fix fmInitialized and prevtrap checks
* file.c (loadImageBuffer): added for inline-image
* file.c (save2tmp): fix fmInitialized and prevtrap checks
* frame.c (frame_download_source): set RG_FRAME_SRC flag
		image check
* funcname.tab (DISPLAY_IMAGE): added
* funcname.tab (STOP_IMAGE): added
* html.c (ALST_IMG): add align, ismap
* html.c (ALST_AREA): add shape, coords
* html.c (ALST_IMG_ALT): add width, height, usemap, ismap, hseq,
			xoffset, yoffset, top_margin, bottom_margin
* html.c (AttrMap): add shape, coords, ismap, xoffset, yoffset
* html.h (ATTR_SHAPE): added
* html.h (ATTR_COORDS): added
* html.h (ATTR_ISMAP): added
* html.h (ATTR_XOFFSET): added
* html.h (ATTR_YOFFSET): added
* html.h (ATTR_TOP_MARGIN): added
* html.h (ATTR_BOTTOM_MARGIN): added
* html.h (SHAPE_UNKNOWN): added
* html.h (SHAPE_DEFAULT): added
* html.h (SHAPE_RECT): added
* html.h (SHAPE_CIRCLE): added
* html.h (SHAPE_POLY): added
* image.c: added
* main.c (fversion): add USE_IMAGE
* main.c (fusage): -ppl option
* main.c (MAIN): set_pixel_per_char if ppc specified
		-ppl option
		loadImage
* main.c (pushBuffer): deleteImage
* main.c (quitfm): termImage
* main.c (selBuf): deleteImage
* main.c (followA): fix for inline-image and map area
* main.c (query_from_followform): getMapXY()
* main.c (setOpt): displayBuffer B_REDRAW_IMAGE
* main.c (follow_map): fix calculate x, y
* main.c (dispI): added
* main.c (stopI): added
* map.c: include <math.h>
* map.c (inMapArea): added
* map.c (follow_map_menu): add a_img arg to handle inline-image
* map.c (follow_map_panel): use MapArea
* map.c (getMapXY): added
* map.c (newMapArea): added
* menu.c (smChBuf): deleteImage
* parsetagx.c (toAlign): align top, bottom, middle
* rc.c (P_SCALE): added
* rc.c (CMT_PIXEL_PER_LINE): added
* rc.c (CMT_DISP_IMAGE): added
* rc.c (CMT_AUTO_IMAGE): added
* rc.c (CMT_EXT_IMAGE_VIEWER): added
* rc.c (CMT_IMAGE_SCALE): added
* rc.c (CMT_IMGDISPLAY): added
* rc.c (CMT_IMGSIZE): added
* rc.c (show_param): P_PIXELS
* rc.c (set_param): P_PIXELS
* rc.c (sync_with_option): initImage
* rc.c (to_str): P_PIXELS
* table.c (feed_table_tag): fix <img> for inline-image
* tagtable.tab (image): added
* terms.c (wgetch): retry read when EINTR or EAGAIN
* terms.c (touch_cursor): added
* w3mimgdisplay.c: added
* w3mimgsize.c: added
* doc/README.func (DISPLAY_IMAGE): added
* doc/README.func (STOP_IMAGE): added
* doc/README.img: added
* doc-jp/README.func (DISPLAY_IMAGE): added
* doc-jp/README.func (STOP_IMAGE): added
* doc-jp/README.img: added
* scripts/w3mhelp.cgi.in: show dispI, stopI
* scripts/multipart/multipart.cgi.in: inline image support
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-31 17:54:47 +00:00
Fumitoshi UKAI
1b020138f9 [w3m-dev 02955] compression_decoders error message
* file.c (uncompress_stream): redirect stderr
* inflate.c (main): print error message
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-31 09:43:14 +00:00
Fumitoshi UKAI
e074983ced [w3m-dev 02942] Digest qop=auth support
* file.c (http_auth): add request to cred() arg
* file.c (AuthBasicCred): ditto
* file.c (AuthDigestCred): ditto
* file.c (AuthDigestCred): support algorithm=MD5, MD5-sess
			qop=auth, auth-int
* file.c (qstr_unquote): return NULL if input is NULL
* file.c (none_auth_param): added
* file.c (findAuthentication): skip weak or unknown auth
* file.c (getAuthCookie): add request to arg
* file.c (loadGeneralFile): add request to getAuthCookie()
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-30 17:48:49 +00:00
Fumitoshi UKAI
f1f8be0b98 [w3m-dev 02934] add auth cookie with unquoted realm
* file.c (loadGeneralFile): need unquote realm
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-30 15:16:52 +00:00
Fumitoshi UKAI
05af6d32e6 [w3m-dev 02933] segmentation fault when w3m -dump https:
* file.c (readHeader): use inputAnswer()
* file.c (getAuthCookie): remove term_cbreak()
* file.c (checkOverWrite): use inputAnswer()
* file.c (inputAnswer): added
* istream.c (ssl_get_certificate): use inputAnswer()
* main.c (qquitfm): change prompt
* proto.h (inputAnswer): added
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-30 15:08:48 +00:00
Fumitoshi UKAI
787eac219e [w3m-dev 02929] Re: fixed w3mmail.cgi
* file.c (openPagerBuffer): use content_charset as document_code
* file.c (getNextPage): code is document_code or DocumentCode
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-30 04:25:02 +00:00
Fumitoshi UKAI
d1ede3ab4f [w3m-dev 02928] RFC2617: HTTP Digest authentication
* NEWS: RFC2617: HTTP Digest authentication
* config.h.dist (USE_DIGEST_AUTH): added
* configure (use_digest_auth): added, enabled when openssl found
				(because it used openssl/md5.h)
* file.c (auth_param): added
* file.c (http_auth): added
* file.c (extract_auth_val): added
* file.c (qstr_unquote): added
* file.c (extract_auth_param): added
* file.c (get_auth_param): added
* file.c (AuthBasicCred): added
* file.c (digest_hex): added
* file.c (AuthDigestCred): added
* file.c (basic_auth_param): added
* file.c (digest_auth_param): added
* file.c (www_auth): added
* file.c (findAuthentication): added
* file.c (getAuthCookie): rewrite, use http_auth
* file.c (loadGeneralFile): HRequest hr
* file.c (loadGeneralFile): use findAuthentication, new getAuthCookie
* proto.h (HTTPrequestMethod): added
* proto.h (HTTPrequestURI): added
* proto.h (openURL): add `hr' arg
* url.c (HTTPrequestMethod): added
* url.c (HTTPrequestURI): added
* url.c (HTTPrequest): use HTTPrequestMethod and HTTPrequestURI
* url.c (openURL): add `hr' arg
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-29 19:08:49 +00:00
Fumitoshi UKAI
6fa58fcd80 [w3m-dev 02927] mailto: POST method with w3mmail.cgi
* file.c (loadGeneralFile): pass request even if SCM_UNKNOWN
			(for external URI loader)
* scripts/w3mmail.cgi.in: support POST method
From: SASAKI Takeshi <sasaki@ct.sakura.ne.jp>
2002-01-29 17:16:35 +00:00
Fumitoshi UKAI
fbb3e57fab [w3m-dev 02901] ACCEPT_BAD_COOKIE_*
* file.c (readHeader): accept_bad_cookie is one of ACCEPT_BAD_COOKIE_*
* fm.h (PERHAPS): deleted
* fm.h (ACCEPT_BAD_COOKIE_*): added
* rc.c (n_s): added
* rc.c (N_S): added
* rc.c (badcookiestr): use N_S(ACCEPT_BAD_COOKIE_*)
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-24 16:59:16 +00:00
Fumitoshi UKAI
316998e06a [w3m-dev 02894] Re: goURL
* file.c (HTMLtagproc1): s/goURL/gorURL/
* keybind.c (EscKeymap): M-u = GOTO_RELATIVE
* keybind_lynx.c (EscKeymap): ditto
* doc/keymap.default: ditto
* doc/keymap.lynx: ditto
* doc-jp/keymap.default: ditto
* doc-jp/keymap.lynx: ditto
* main.c (MAIN): add $HTTP_HOME or $WWW_HOME to history
* main.c (MAIN): add history even if it is local file or local cgi
* main.c (goURL0): change args, def_url -> current
* main.c (goURL0): delete ParsedURL *b_url
* main.c (goURL0): add Buffer *cur_buf
* main.c (goURL0): if current is supplied, use its URL as default
* main.c (goURL0): add URL to history if loadURL succeeded
* main.c (goURL): change args for goURL0()
* main.c (gorURL): ditto
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-23 17:19:47 +00:00
Fumitoshi UKAI
aae61245cf [w3m-dev 02879] reset signals
* etc.c (reset_signals): added
* etc.c (mySystem): use reset_signals()
* file.c (uncompress_stream): use reset_signals()
* proto.h (reset_signals): added
* search.c (init_migemo): kill by SIGKILL
* search.c (open_migemo): use reset_signals()
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-21 17:57:27 +00:00
Fumitoshi UKAI
522460b2e2 file.c (loadGeneralFile): return NULL, not NO_BUFFER 2002-01-15 03:45:02 +00:00
Fumitoshi UKAI
a5ab3f27e0 [w3m-dev 02832] external URI loader support
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-14 15:59:17 +00:00
Fumitoshi UKAI
9de0a515bc [w3m-dev 02829]
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-12 13:33:47 +00:00
Fumitoshi UKAI
b65130c7f2 run make indent 2002-01-11 20:11:48 +00:00
Fumitoshi UKAI
b9cf2cda0d [w3m-dev 02822] Print FTP directory list for -dump_extra option
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-11 20:05:58 +00:00
Fumitoshi UKAI
0fb25226f1 [w3m-dev 02770] form element outside <form>..</form>
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-27 18:01:52 +00:00
Fumitoshi UKAI
d515bf1cfd [w3m-dev 02769] <form>..</form> as block element
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-27 17:56:02 +00:00
Fumitoshi UKAI
119ef254bc [w3m-dev 02765] backend
From: Hironori Sakamoto <h-saka@lsi.nec.co.jp>
2001-12-27 17:50:56 +00:00
Fumitoshi UKAI
c492b31f97 [w3m-dev 02761]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-27 17:45:25 +00:00
Fumitoshi UKAI
48d11533b4 [w3m-dev 02760]
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-27 17:43:22 +00:00
Fumitoshi UKAI
90150252ad [w3m-dev 02732] fix Debian Bug#126381 - Passwords entered for HTTPS are used for HTTP
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-25 18:14:59 +00:00
Fumitoshi UKAI
501827a104 [#496610] #include <sys/wait.h> 2001-12-25 16:49:42 +00:00
Fumitoshi UKAI
14f4297a04 [w3m-dev 02651] search keymap using hash
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-10 17:02:43 +00:00
Fumitoshi UKAI
0b03496f19 [w3m-dev 02650]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-10 16:29:37 +00:00
Fumitoshi UKAI
f416044936 [w3m-dev 02646]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-09 13:59:04 +00:00
Fumitoshi UKAI
d7637adfc0 [w3m-dev 02635]
Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-06 22:25:30 +00:00
Fumitoshi UKAI
114bf456ec run make indent 2001-12-06 16:36:54 +00:00
Fumitoshi UKAI
b7690e82bc [w3m-dev 02622]
From: Tsutomu Okada <okada@furuno.co.jp>
2001-12-06 15:31:58 +00:00
Fumitoshi UKAI
ae3b8a0b9b [w3m-dev 02619]
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-05 17:29:26 +00:00
Fumitoshi UKAI
ba4557fc9d [w3m-dev 02605]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-02 16:26:08 +00:00
Fumitoshi UKAI
1ba1e3f91d [w3m-dev 02604]
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-12-02 14:27:11 +00:00
Fumitoshi UKAI
d7b46cd16f [w3m-dev 02596]
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-11-30 10:30:07 +00:00
Fumitoshi UKAI
c3f1c190a2 [w3m-dev 02595]
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2001-11-30 10:27:32 +00:00
Fumitoshi UKAI
ddafc8479a run make indent 2001-11-30 10:00:06 +00:00
Fumitoshi UKAI
c5cd840adb [w3m-dev 02592] Accept: and AcceptEncoding:
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-30 09:54:22 +00:00
Fumitoshi UKAI
03c75fd026 [w3m-dev 02587]
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-29 10:48:12 +00:00
Fumitoshi UKAI
e0f9c00f5e [w3m-dev 02586] code cleanup again
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-29 10:22:58 +00:00
Fumitoshi UKAI
c33cdfcd56 [w3m-dev 02584] code cleanup again
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-29 09:34:14 +00:00
Fumitoshi UKAI
0369c273f2 [w3m-dev 02578]
From: Fumitoshi UKAI <ukai@debian.or.jp>
<input type="image">
2001-11-27 18:23:33 +00:00
Fumitoshi UKAI
16a03de654 [w3m-dev 02547] "message/*" as a kind of text type
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-11-25 17:41:57 +00:00
Fumitoshi UKAI
975c8f9d43 run make indent 2001-11-24 02:01:26 +00:00
Fumitoshi UKAI
aa74d02025 [w3m-dev 02530] segfault for bad cookie from local
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-23 22:41:42 +00:00
Fumitoshi UKAI
67012ecb75 add label_topline 2001-11-23 21:22:02 +00:00
Fumitoshi UKAI
ea92fdcecb [w3m-dev 02481] Re: #ifdef cleanup
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-21 19:24:35 +00:00
Fumitoshi UKAI
91c91cb5cd [w3m-dev 02479] #ifdef cleanups
make -> $(MAKE)
2001-11-21 16:29:46 +00:00
Fumitoshi UKAI
8ba4eebc4a [w3m-dev 02454] line number
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-11-20 16:46:32 +00:00