Commit Graph

917 Commits

Author SHA1 Message Date
Fumitoshi UKAI
dc59ad1784 [w3m-dev 03753] Fixed multipart.cgi
* scripts/multipart/multipart.cgi.in: remove w3m-control
		use input hidden
		add form_encode
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-18 15:26:38 +00:00
Fumitoshi UKAI
9c7639a170 cvs version 2003-02-18 15:23:40 +00:00
Fumitoshi UKAI
f794112cea [w3m-dev 03749] README.cygwin
* doc-jp/README.cygwin: added
* doc/README: updated
From: WATANABE Katsuyuki <knabe@sannet.ne.jp>
2003-02-17 16:02:04 +00:00
Fumitoshi UKAI
e26ff46014 update TODO 2003-02-17 15:58:00 +00:00
Fumitoshi UKAI
73b3adcf93 0.4 release candidate 2
* version.c.in: update
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-02-16 15:42:06 +00:00
Fumitoshi UKAI
300184d5a9 [w3m-dev 03742] Re: Bug##180814: w3m: Missing w3mimgdisplay message at startup
* image.c (getCharSize): stderr redirect to omit /bin/sh error message
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-02-13 12:54:36 +00:00
Fumitoshi UKAI
9b2a928c4e XMakefile (install-core): fix for broken non-POSIX /bin/sh
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-02-12 17:22:33 +00:00
Fumitoshi UKAI
2be24c5f24 clean fixed 2003-02-11 15:28:59 +00:00
Fumitoshi UKAI
d70c1646bd release note for w3m 0.4 2003-02-11 10:38:13 +00:00
Fumitoshi UKAI
47aa181c2f fix indent 2003-02-11 10:36:17 +00:00
Fumitoshi UKAI
5b35739e5f [w3m-dev-en 00868] fix mark_all_pages
* anchor.c (reAnchorAny): next_line process for MarkAllPages
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-11 10:35:48 +00:00
Fumitoshi UKAI
cda3bae4ab [w3m-dev-en 00867] Re: w3m 0.4 release candidate 1
* XMakefile (install-core): test AUXBIN_TARGETS
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-11 10:33:04 +00:00
Fumitoshi UKAI
d198d0ec1f version.c.in: cvs version 2003-02-11 10:31:37 +00:00
Fumitoshi UKAI
18974f212e 0.4 release candidate 1
* version.c.in: update
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-02-10 18:03:08 +00:00
Fumitoshi UKAI
d779a33d23 [w3m-dev 03737] local-CGI POST
* local.c (localcgi_post): use tmp file
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-08 18:23:52 +00:00
Fumitoshi UKAI
c71b4fd2e8 [w3m-dev 03736] dirlist sort
* scripts/dirlist.cgi.in (right_dir): use cmp for filename comparison
From: Hiroyuki Ito <hito@crl.go.jp>
2003-02-07 15:06:15 +00:00
Fumitoshi UKAI
6c6278af7f fix indent 2003-02-06 17:23:18 +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
1724907ef8 [w3m-dev 03733] Re: display decoded URL
* display.c (make_lastline_link): buf->document_code
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-06 17:16:53 +00:00
Fumitoshi UKAI
fbc26e9c4b [w3m-dev 03732] Re: scroll() is slow ?
* configure (use_raw_scroll): added
	(config.h) use_raw_scroll
* config.h.dist (USE_RAW_SCROLL): added
* display.c (displayBuffer): ifdef USE_RAW_SCROLL
* proto.h (scroll): ifdef USE_RAW_SCROLL
	(rscroll): ditto
	(need_clrtoeol): if 0
	(terms.c): if 0 need_clrtoeol
	(scroll_raw): ifdef USE_RAW_SCROLL
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-06 17:15:04 +00:00
Fumitoshi UKAI
254eeb195f fix typo 2003-02-05 16:48:09 +00:00
Fumitoshi UKAI
d98e4a517c NEWS: rc: decode_url
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2003-02-05 16:45:57 +00:00
Fumitoshi UKAI
8f4d3b66f1 fix indent 2003-02-05 16:45:07 +00:00
Fumitoshi UKAI
e312638d0c [w3m-dev 03730] display decoded URL
* anchor.c (link_list_panel): support DecodeURL
* display.c (make_lastline_link): support DecodeURL
* etc.c (url_unquote_conv): added
* fm.h (DecodeURL): added
* history.c (historyBuffer): support DecodeURL
* indep.c (QUOTE_MAP): added
	(HTML_QUOTE_MAP): added
	(html_quote_char): deleted
	(url_quote): use is_url_quote
	(file_quote): use is_file_quote
	(is_url_safe): deleted
	(Str_form_quote): use is_url_unsafe
	(Str_url_unquote): add safe args
	(is_shell_safe): delete
	(shell_quote): use is_shell_unsafe
* indep.h (QUOTE_MAP): added
	(HTML_QUOTE_MAP): added
	(HTML_QUOTE_MASK): added
	(SHELL_UNSAFE_MASK): added
	(URL_QUOTE_MASK): added
	(FILE_QUOTE_MASK): added
	(URL_UNSAFE_MASK): added
	(GET_QUOTE_TYPE): added
	(is_html_quote): added
	(is_shell_unsafe): added
	(is_url_quote): added
	(is_file_quote): added
	(is_url_unsafe): added
	(html_quote_char): added
	(html_quote_char): deleted
	(Str_url_unquote): added safe
	(form_unquote): Str_url_unquote changes
* linein.c (_prev): support DecodeURL
	(_next): ditto
* main.c (goURL0): support DecodeURL
	(_peekURL): ditto
	(curURL): ditto
* map.c (follow_map_panel): support DecodeURL
	(append_map_info): ditto
	(append_link_info): ditto
	(append_frame_info): ditto
	(page_info_panel): ditto
* menu.c (initSelectMenu): delete SCM_LOCAL_CGI
		support DecodeURL
	(initSelTabMenu): delete SCM_LOCAL_CGI
		support DecodeURL
	(link_menu): support DecodeURL
* parsetagx.c (parse_tag): is_html_quote
* proto.h (url_unquote_conv): added
* rc.c (CMT_DECODE_URL): added
	(params1): add decode_url
* url.c (openURL): Str_url_unquote non safe
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-05 16:43:56 +00:00
Fumitoshi UKAI
4f8c42c5db [w3m-dev 03729] buf fix of reAnchorNewsheader()
* anchor.c (reAnchorAny): check l->bpos
	 (reAnchorNewsheader): check l->bpos
				strlen(*q)
				lineBuf[l->size]
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-05 16:23:27 +00:00
Fumitoshi UKAI
84fefac4a4 [w3m-dev 03728] IPv6 hostname
* url.c (parseURL): rewrite IPv6 address parser
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-05 16:18:23 +00:00
Fumitoshi UKAI
c25c21e5c1 update TODO 2003-02-05 16:17:10 +00:00
Fumitoshi UKAI
c4e2c3280f update TODO 2003-02-03 15:50:21 +00:00
Fumitoshi UKAI
3263518a49 [w3m-dev 03724] Re: view source, edit source
* buffer.c (reshapeBuffer): initialize buf->width first
* display.c (displayBuffer): no need to check buf>sourcefile
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-02-03 15:49:13 +00:00
Fumitoshi UKAI
585d713d9d fix indent 2003-01-31 16:26:41 +00:00
Fumitoshi UKAI
92fc697f22 [w3m-dev 03721] PATH_INFO support of local CGI
* local.c (CGIFN_DROOT): deleted
	(CGIFN_LIBDIR): added
	(CGIFN_MODE): deleted
	(CGIFN_CONTAIN_SLASH): deleted
	(check_local_cgi): rewrite
	(cgi_filename): rewrite
	(localcgi_post): support PATH_INFO
* url.c (openURL): rewrite
* Bonus/smb.cgi: use PATH_INFO
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-31 16:25:02 +00:00
Fumitoshi UKAI
1ecacc5ad1 [w3m-dev 03720] mark remains
* main.c (srchcore): PREC_NUM
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-31 16:14:22 +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
2517af675a [w3m-dev 03717] print newline before exec shell command.
* main.c (execsh): print newline
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-30 16:35:34 +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
Fumitoshi UKAI
79af75d00c [w3m-dev 03714] -cols 1 -dump -o fold_line=1
* file.c (addnewline): check i == 0, i == l->len
* fm.h (_INIT_BUFFER_WIDTH): added
	(INIT_BUFFER_WIDTH): use _INIT_BUFFER_WIDTH
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-30 16:29:11 +00:00
Fumitoshi UKAI
992994203c [w3m-dev 03713] search with "$"
* search.c (forwardSearch): check l->next && l->next->bpos
	(backwardSearch): check l->size, l->next && l->next->bpos
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-30 16:26:15 +00:00
Fumitoshi UKAI
7b292142c2 fix indent 2003-01-30 16:21:59 +00:00
Fumitoshi UKAI
041c4b06e4 [w3m-dev 03712] buf fix of LINE_INFO
* main.c (curlno): rewrite
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-30 16:18:29 +00:00
Fumitoshi UKAI
931a54afec [w3m-dev 03709] Re: view source, edit source
* display.c (displayBuffer): INIT_BUFFER_WIDTH
* file.c (_saveBuffer): added
	(saveBuffer): use _saveBuffer
	(saveBufferBody): added
* main.c (vmSrc): saveBufferBody
* proto.h (saveBufferBody): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-29 17:38:12 +00:00
Fumitoshi UKAI
901902c777 [w3m-dev-en 00852] Re: Enhancement: content type detection of files
* url.c (DefaultGuess): remove upppercases
	(guessContentTypeFromTable): rewrite, strcasecmp
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-29 17:33:28 +00:00
Fumitoshi UKAI
51a4f5771e wait_st is not used 2003-01-29 17:31:22 +00:00
Fumitoshi UKAI
c3281c3658 fix indent 2003-01-29 17:26:51 +00:00
Fumitoshi UKAI
b0a661730f [w3m-dev 03708] Re: Don't stop loading image when moving to next page.
* config.h.dist (lstat): define ifndef HAVE_LSTAT
* configure (config.h) ditto
* display.c (fmTerm): new loadImage
	(save_current_buf): only ifdef USE_BUFINFO
	(displayBuffer): new loadImage
* etc.c (setup_child): TrapSignal
* file.c (loadGeneralFile): TRAP_OFF, TRAP_ON
	(loadHTMLstream): ditto
	(loadGopherDir): ditto
	(loadBuffer): ditto
	(loadImageBuffer): ditto
	(getNextPage): ditto
	(save2tmp): ditto
* fm.h (TrapSignal): added
	(TRAP_ON): added
	(TRAP_OFF): added
* form.c (HAVE_LSTAT): deleted
* frame.c (createFrameFile): TRAP_OFF, TRAP_ON
* image.c (image_buffer): added
	(deleteImage): new loadImage
	(getAllImage): initialize image_buffer
	(loadImage): rewrite
* main.c (main): new loadImage
	(checkDownloadList): remove ifdef HAVE_LSTAT
* news.c (loadNwesgroup): TRAP_ON, TRAP_OFF
* proto.h (loadImage): add buf arg
* url.c (openSocket): TRAP_ON, TRAP_OFF
	(check_no_proxy): TRAP_ON, TRAP_OFF
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-29 17:10:17 +00:00
Fumitoshi UKAI
6a009d9482 [w3m-dev 03707] Don't stop loading image when moving to next page.
* display.c (save_current_buf): required when defined USE_IMAGE
	(displayBuffer): stop only buffer changed
* image.c (loadImage): IMG_FLAG_START load from maxLoadImage
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-28 16:45:15 +00:00
Fumitoshi UKAI
e442c118b8 fix indent 2003-01-28 16:42:02 +00:00
Fumitoshi UKAI
58259b5c34 [w3m-dev 03706] X-Image-URL: support, bug fix of reshapeBuffer()
* buffer.c (reshapeBuffer): rewrite
* file.c (readHeader): rewrite
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-28 16:40:58 +00:00
Fumitoshi UKAI
b701883b27 [w3m-dev 03705] goodict.cgi (was: Re: google.cgi (was: Re: keymap key SEARCH string))
* Bonus/goodict.cgi: added
From: NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>
2003-01-28 16:36:49 +00:00
Fumitoshi UKAI
99bb92c0f5 [w3m-dev 03700] Re: google.cgi (was: Re: keymap key SEARCH string)
* main.c (goURL0): check relative or *url == '#'
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-28 16:34:24 +00:00