Commit Graph

568 Commits

Author SHA1 Message Date
Fumitoshi UKAI
738e4a6e31 * [w3m-dev-en 00780] "Carlo E. Prelz" <fluido@fluido.as>
always print on screen the relative position
* display.c (displayBuffer): relative position
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-25 19:59:48 +00:00
Fumitoshi UKAI
40dc65a768 * 0.3.2 release candidate 1
* version.c.in: update
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-25 16:11:20 +00:00
Fumitoshi UKAI
dcbe200883 [w3m-dev-en 00777] patch to fix w3m-0.3.1 word break problem
* file.c (is_period_char):
	0x203A - SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
	(is_beginning_char):
	0x2018 - LEFT SINGLE QUOTATION MARK
	0x2039 - SINGLE LEFT-POINTING ANGLE QUOTATION MARK
	(is_word_char): add several chars ifndef JP_CHARSET
		add ':' and '*'
From: Gary Johnson <garyjohn@spk.agilent.com>
2002-10-25 16:00:52 +00:00
Fumitoshi UKAI
71a6f8baae [w3m-dev 03342]
* doc/README.img: updated
* doc-jp/README.img: updated
From: Hiroyuki Ito <hito@crl.go.jp>
2002-10-16 18:13:42 +00:00
Fumitoshi UKAI
eca32d1b71 [w3m-dev 03341] white space is needed to close an empty-element tag
* parsetagx.c (parse_tag): extract tagname until '/'
From: Daiki Ueno <ueno@unixuser.org>
2002-10-16 18:11:15 +00:00
Fumitoshi UKAI
e6e9b7ae2e [w3m-dev 03339] Re: Debian Bug#164098 w3m: <sup> is not properly supported
* file.c (HTMLtagproc1): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB
* html.c (TagMAP): sup, /sup, sub, /sub
* html.c (HTML_SUP): added
	(HTML_N_SUP): added
	(HTML_SUB): added
	(HTML_N_SUB): added
* table.c (feed_table_tag): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB
* tagtable.tab (sup): added
	(/sup): added
	(sub): added
	(/sub): added
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-10 16:59:32 +00:00
Fumitoshi UKAI
b107236efc [w3m-dev 03337] delete unused functions in fb.c etc. (Re: canna patch)
* w3mimg/fb/license.txt: removed, follow w3m license
2002-10-10 16:32:06 +00:00
Fumitoshi UKAI
936f9c669b * [w3m-dev 03337] delete unused functions in fb.c etc. (Re: canna patch)
* w3mimg/fb/fb.c (fb_image_rotate): delete
	(fb_frame_rotate): delete
	(fb_pset): delete
	(fb_get_color): delete
	(fb_clear): delete
	(fb_cmap_disp): delete
	(fb_fscrn_disp): delete
	(fb_vscrn_disp): delete
* w3mimg/fb/fb.h (fb_image_rotate): delete
	(fb_frame_rotate): delete
	(fb_pset): delete
	(fb_get_color): delete
	(fb_clear): delete
	(fb_cmap_disp): delete
	(fb_fscrn_disp): delete
	(fb_vscrn_disp): delete
* w3mimg/fb/fb_img.c (fb_image_draw_simple): delete
* w3mimg/fb/fb_img.h (fb_image_draw_simple): delete
From: Hiroyuki Ito <hito@crl.go.jp>
2002-10-10 16:15:55 +00:00
Fumitoshi UKAI
3721324a4a [w3m-dev 03336] proxy check for https authorization:
* url.c (HTTPrequest): check CONNECT request for ssl
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-10-08 15:28:37 +00:00
Fumitoshi UKAI
f21a195381 * [w3m-dev 03333] x11 image animation
* w3mimg/x11/x11_w3mimg.c (struct x11_image): added
	(x11_img_new): added
	(resize_image): added
	(x11_load_image): rewrite GdkPixbuf
	(x11_show_image): rewrite GdkPixbuf
	(x11_free_image): rewrite GdkPixbuf
From: Hiroyuki Ito <hito@crl.go.jp>
2002-10-05 16:43:10 +00:00
Fumitoshi UKAI
8fa8286f12 [w3m-dev 03332] Re: hang up when seeing web page that contains xbm file
* w3mimg/x11/x11_w3mimg.c (x11_load_image): transparent support
From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
2002-10-01 15:34:20 +00:00
Fumitoshi UKAI
46d4935b0b [w3m-dev 03331] Re: hang up when seeing web page that contains xbm file
* configure: check gdk-pixbuf-config existence
From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
2002-10-01 15:29:05 +00:00
Fumitoshi UKAI
fa68f163df [w3m-dev 03330] Re: hang up when seeing web page that contains xbm file
* w3mimg/x11/x11_w3mimg.c (x11_load_image): scaling
From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
2002-09-30 17:44:30 +00:00
Fumitoshi UKAI
6b3f98f6c7 [w3m-dev 03327] gdk-pixbuf support for w3m-img/x11
* configure (use_w3mimg_x11) Imlib1 or GdkPixbuf
	check gdkpixbuf
* w3mimg/x11/x11_w3mimg.c (USE_GDKPIXBUF): added
	(x11_init): USE_GDKPIXBUF
	(x11_load_image): USE_GDKPIXBUF
	(x11_get_image_size): USE_GDKPIXBUF
From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
2002-09-29 15:29:12 +00:00
Fumitoshi UKAI
47137f061b [w3m-dev 03325] Re: hang up when seeing web page that contains xbm file
* w3mimgdisplay.c (main): alreays return response
		even if size is unknown
From: qhwt@myrealbox.com
2002-09-29 15:14:32 +00:00
Fumitoshi UKAI
b8d6560938 [w3m-dev 03323] EDITOR
* main.c (MAIN): use not_null()
From: Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp>
2002-09-28 16:32:48 +00:00
Fumitoshi UKAI
d4214f39a6 Re: [w3m-dev 03320] Re: Passwords
* etc.c (dir_under): same path is ok
* file.c (loadGeneralFile): if missing, return NULL
	ssl cert already checked
* html.h (URLFILE): add ssl_certificate
* istream.c (ssl_get_certificate): change args
* istream.h (ssl_get_certificate): ditto
* url.c (openSSLHandle): add p_cert
	ssl certificate check here
	(HTTPrequest): auth_cookie fix
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-09-28 16:30:07 +00:00
Fumitoshi UKAI
f456ed308c [w3m-dev 03321] Bug#162104: file descriptors 1 and 2 are closed rather than reopened to /dev/null
* etc.c (mySystem): fd 0,1,2 redirect /dev/null, close all other fds
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-09-24 17:35:52 +00:00
Fumitoshi UKAI
29e57b1c5c [w3m-dev 03319] mailto
* main.c (followA): mailto
* main.c (cmd_loadURL): mailto
* url.c (_parsedURL2Str): mailto: query
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-09-24 17:06:04 +00:00
Fumitoshi UKAI
f5c8b4df75 [w3m-dev 03318] Re: Passwords
* etc.c (struct auth_path): added
	(passwords): added
	(dir_under): added
	(add_auth_pass_entry): added
	(find_auth_pass_entry): added
	(find_auth_user_passwd): added
	(loadPasswd): added
	(find_auth): dir_under()
	(add_auth_cookie): check file
* file.c (find_auth_user_passwd): removed
	(getAuthCookie): use delText()
			check proxy
	(get_auth_cookie): removed
	(loadGeneralFile): auth_pu
* proto.h (schemeToProxy): added
	(get_auth_cookie): removed
	(loadPasswd): added
	(find_auth_user_passwd): added
* rc.c (sync_with_option): loadPasswd()
* textlist.c (delValue): added
* textlist.h (delValue): added
	(delText): added
* url.c (HTTPrequest): seen_www_auth
	(schemeToProxy): added
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-09-24 16:35:02 +00:00
Fumitoshi UKAI
87442b63f4 [w3m-dev 03311] Re: Passwords
* configure (config.h): default PASSWD_FILE
* fm.h (passwd_file): default PASSWD_FILE
From: Yuuichi Teranishi <teranisi@gohome.org>
2002-09-11 15:08:49 +00:00
Fumitoshi UKAI
4176436cc4 [w3m-dev 03311] Re: Passwords
* configure (config.h): default PASSWD_FILE
* fm.h (passwd_file): default PASSWD_FILE
From: Yuuichi Teranishi <teranisi@gohome.org>
2002-09-11 14:54:33 +00:00
Fumitoshi UKAI
7e0c193eab if wrong password, dont read passwd_file 2002-09-10 18:21:36 +00:00
Fumitoshi UKAI
6d8e1b5194 fclose 2002-09-10 18:11:30 +00:00
Fumitoshi UKAI
3421febe80 [w3m-dev 03307] add password_file support
* file.c (find_auth_user_passwd): added
* fm.h (passwd_file): added
* rc.c (CMT_PASSWDFILE): added
	(passwdfile): added
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-09-10 17:27:39 +00:00
Fumitoshi UKAI
0e63c0c10c [w3m-dev 03300] framebuffer: 8bit color support
* w3mimg/fb/fb.c: support FB_VISUAL_PSEUDOCOLOR 256 colors
From: Hiroyuki Ito <hito@crl.go.jp>
2002-09-09 14:03:44 +00:00
Fumitoshi UKAI
0317882329 fix indent 2002-09-09 13:59:09 +00:00
Fumitoshi UKAI
a9a1915238 [w3m-dev 03299] remove file before copying (install-sh)
* install-sh: remove file before copying
From: Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
2002-09-09 13:51:46 +00:00
Fumitoshi UKAI
c168a455ab [w3m-dev 03298] [ -f instead of [ -e (configure)
* configure: use test -f instead of test -e
From: Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
2002-09-09 13:50:44 +00:00
Fumitoshi UKAI
22f81482ba [w3m-dev 03297] TERM=mlterm
* terms.c (w3m_term_info_list): add mlterm
From: Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
2002-09-09 13:49:17 +00:00
Fumitoshi UKAI
0c827f49fa [w3m-dev 03296] fix configure (strtoq)
* configure (strtoq): fix missing semicolon
From: Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
2002-09-09 13:48:11 +00:00
Fumitoshi UKAI
5a774f822f fix indent 2002-09-05 15:49:50 +00:00
Fumitoshi UKAI
970ac43a93 [w3m-dev 03292] Re: load file at cursor
* anchor.c (reAnchorPos): added
	(reAnchorWord): added
	(reAnchorAny): rewrite to use reAnchorPos()
* funcname.tab (MARK_WORD): added
* keybind.c (;) MARK_WORD
* main.c (getCurWord): added
	(chkWORD): added
	(is_wordchar): added
	(getCurWord): added
	(GetWord): rewrite to use getCurWord()
* proto.h (chkWORD): added
	(reAnchorWord): added
* doc/README.func: add MARK_WORD
* doc/keymap.default: add MARK_WORD
* doc-jp/README.func: add MARK_WORD
* doc-jp/keymap.default: add MARK_WORD
* NEWS: add MARK_WORD
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-09-05 15:43:21 +00:00
Fumitoshi UKAI
4b97252257 * [w3m-dev 03291] parsetagx.c:toNumber()
* parsetagx.c (toNumber): don't parse non-number value as 0,
                            just ignore
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-08-27 16:39:40 +00:00
Fumitoshi UKAI
8d9955198a [w3m-dev 03290] Re: Forward: Bug#157098: wrong file presentation on large files
* indep.c (strtoclen): need defined()
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-08-27 16:35:15 +00:00
Fumitoshi UKAI
ae6c767c94 run indent 2002-08-27 16:25:54 +00:00
Fumitoshi UKAI
d404404dda Debian Bug#157098: wrong file presentation on large files
from "Eduard Bloch" <blade@debian.org>
* configure (clen_t): added
		(HAVE_STRTOLL): added
		(HAVE_STRTOQ): added
		(HAVE_ATOLL): added
		(HAVE_ATOQ): added
* config.h.dist: ditto
* file.c (current_content_length): s/int/clen_t/
	(loadGeneralFile): s/atoi/strtoclen/
	(convert_size): s/int/clen_t/
	(convert_size2): s/int/clen_t/
	(showProgress): s/int/clen_t/
	(loadHTMLstream): s/int/clen_t/ linelen, trbyte
	(loadBuffer): ditto
	(getNextPage): s/int/clen_t/ linelen
	(save2tmp): s/int/clen_t/ linelen, trbye
	(_MoveFile): s/int/clen_t/ linelen, trbye
* fm.h (_Buffer): s/int/clen_t/ linelen, trbye
* ftp.c (size_int2str): s/long/clen_t/
	(ex_ftpdir_name_size_date): s/long/clen_t/
* indep.c (strtoclen): added
* indep.h (strtoclen): added
* proto.h (showProgress): s/int/clen_t/
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-08-20 17:49:38 +00:00
Fumitoshi UKAI
2c36d5fe0d Debian Bug#154766: w3m-img: support DirectColor framebuffer visuals?
from Colin Watson <cjwatson@debian.org>
* w3mimg/fb/fb.c (fb_open): accept FB_VISUAL_DIRECTCOLOR
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-07-30 16:03:00 +00:00
Fumitoshi UKAI
3e1846025a [w3m-dev 03282] Re: w3m-img for framebuffer update
* w3mimg/fb/fb.c (fb_image_new): ignore no image
				calloc multiple images
		(fb_image_fill): added
		(fb_image_draw): width, height fix
		(fb_image_rotate): fix typo
		(fb_image_copy): added
		(fb_frame_new): added
		(fb_freme_free): added
		(fb_frame_rotate): added
* w3mimg/fb/fb.h (FB_IMAGE): add num, id, delay
		(fb_frame_new): added
		(fb_frame_free): added
		(fb_frame_rotate): added
* w3mimg/fb/fb_gdkpixbuf.c (get_image_size): animation support
		(fb_image_load): animation support
		(draw): add bg, x, y, w, h args
* w3mimg/fb/fb_img.h (fb_image_load): return FB_IMAGE**
* w3mimg/fb/fb_imlib2.c (fb_image_load): return FB_IMAGE**
* w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): animation support
From: Hiroyuki Ito <hito@crl.go.jp>
2002-07-29 15:25:37 +00:00
Fumitoshi UKAI
f855d5410e [w3m-dev 03280] w3m-img without w3mimgsize
* fm.h (Imagesize): deleted
* image.c (getImageSize): rewrite to use w3mimgdisplay
	instead of w3mimgsize
* rc.c (params1): remove imgsize, merged to imgdisplay
From: Hiroyuki Ito <hito@crl.go.jp>
2002-07-22 16:27:30 +00:00
Fumitoshi UKAI
9f103b13bb [w3m-dev 03279] w3m-img for framebuffer update
http://homepage3.nifty.com/slokar/fb/w3mfb.patch.gz
* w3mimg/fb/readme.txt: update
* w3mimg/fb/fb.c: update
* w3mimg/fb/fb.h: update
* w3mimg/fb/fb_gdkpixbuf.c: update
* w3mimg/fb/fb_img.c: update
* w3mimg/fb/fb_img.h: update
* w3mimg/fb/fb_imlib2.c: update
* w3mimg/fb/fb_w3mimg.c: update
* w3mimg/fb/fb_gdkpixbuf.h: deleted
* w3mimg/fb/fb_imlib2.h: deleted
* w3mimg/w3mimg.h (w3mimg_op): add get_image_size()
* w3mimg/x11/x11_w3mimg.c: update
* w3mimgdisplay.c (main): use get_image_size()
* w3mimgsize.c (main): use get_image_size()
From: Hiroyuki Ito <hito@crl.go.jp>
2002-07-22 16:17:32 +00:00
Fumitoshi UKAI
b58f88a1e8 [w3m-dev 03278] Compile error on mipsel linux (glibc-2.0.6) 2002-07-19 15:28:34 +00:00
Fumitoshi UKAI
0ce297cb36 w3m-img already merged 2002-07-19 14:35:36 +00:00
Fumitoshi UKAI
a5f51f7501 [w3m-dev 03277] compile error on Solaris7
* w3mimg/w3mimg.c: include <stdio.h> for NULL
From: Hideyuki SHIRAI <shirai@rdmg.mgcs.mei.co.jp>
2002-07-19 03:25:56 +00:00
Fumitoshi UKAI
8432622858 [w3m-dev 03276] compile error on EWS4800
* file.c (extract_auth_val): fix warnings
* w3mimg/w3mimg.c: include <stdlib.h>
From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
2002-07-19 03:24:28 +00:00
Fumitoshi UKAI
2bd2c7d4ee indent 2002-07-18 15:10:52 +00:00
Fumitoshi UKAI
a8a4a7881d ignore config.h 2002-07-18 15:02:21 +00:00
Fumitoshi UKAI
be795a72eb rcsid comment 2002-07-18 14:59:02 +00:00
Fumitoshi UKAI
897ac09f34 fix indent again 2002-07-18 14:36:48 +00:00
Fumitoshi UKAI
9bde391fe3 run indent for w3mimg/ 2002-07-18 14:31:20 +00:00