Commit Graph

568 Commits

Author SHA1 Message Date
Fumitoshi UKAI
88bd152f50 update TODO 2002-11-06 15:13:54 +00:00
Fumitoshi UKAI
b94f22ff24 [w3m-dev 03385] install-sh typo
* install-sh: s/'/"/
From: Katsumi@yamaoka.cc
2002-11-06 15:09:16 +00:00
Fumitoshi UKAI
9dfa6e334a [w3m-dev 03383] Select the nearest map area as default.
* fm.h (MapArea): add center_x, center_y
* map.c (nearestMapArea): added
	(follow_map_menu): initial by nearestMapArea()
	(newMapArea): set center_x, center_y
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-06 15:07:40 +00:00
Fumitoshi UKAI
278ef389e1 fix indent 2002-11-06 15:05:34 +00:00
Fumitoshi UKAI
bcb1de20e2 [w3m-dev 03382] Interrupt in no_proxy_check()
* url.c (check_no_proxy): SIGINT trap by KeyAbort
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-06 15:03:25 +00:00
Fumitoshi UKAI
fcf7c4af06 [w3m-dev 03380] fix configure
* configure: s/INSTALL_W3MIMGDISPLAY/install_w3mimgdisplay/
		already define
* config.h.dist (INSTALL_W3MIMGDISPLAY): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-06 14:58:02 +00:00
Fumitoshi UKAI
3d14e2fe4e w3mimgdisplay setuid done 2002-11-06 05:13:05 +00:00
Fumitoshi UKAI
eee9736e27 [w3m-dev 03379] setuid w3mimgdisplay and check console tty
* XMakefile: w3mimgdisplay install by INSTALL_W3MIMGDISPLAY
* configure: ask setuid w3mimgdisplay
	(w3mimgdisplay_setuid): added
	(INSTALL_W3MIMGDISPLAY): added
* etc.c (mySystem): close until FOPEN_MAX
* image.c (openImgdisplay): setenv W3M_TTY
		stderr to /dev/null
		close until FOPEN_MAX
* install-sh: -o, -g for owner, group
* proto.h (ttyname_tty): added
* search.c (open_migemo): stderr to /dev/null
		close until FOPEN_MAX
* terms.c (ttyname_tty): added
* w3mimgdisplay.c: include <sys/types.h>, <unistd.h>
		W3MIMGDISPLAY_SETUID
		stderr to /dev/null
* w3mimg/w3mimg.c: include <sys/types.h>, <unistd.h>
		W3MIMGDISPLAY_SETUID
* w3mimg/fb/fb_w3mimg.c (check_tty_console): added
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-06 03:50:48 +00:00
Fumitoshi UKAI
91b3b8a09b [w3m-dev 03377] sync_with_option
* etc.c (loadPassword): reset passwords
* form.c (loadPreForm): reset PreForm
* main.c (option_assigned): deleted
	(parse_proxy): deleted
	(MAIN): move initCookie(), setLocalCookie()
		  after sync_with_option()
		delete parseURL for *_proxy
		s/WrapSearch/WrapDefault/
		move initKeymap(), initMenu() after setupscreen()
		sync_with_option() after init_rc()
* rc.c (pre_form_file): move in params9 (network settting)
	(sync_with_option): initKeymap(), initMenu() is done
			if fmInitialized
	(init_rc): delete sync_with_option()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-06 03:26:56 +00:00
Fumitoshi UKAI
8503b2be4e [w3m-dev 03375] NULL check of CurrentTab
* display.c (disp_message_nsec): check CurrentTab
* file.c (doExternal): check CurrentTab
* image.c (loadImage): check CurrentTab
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-06 03:19:30 +00:00
Fumitoshi UKAI
2a4e1af29c add TODO 2002-11-05 17:55:57 +00:00
Fumitoshi UKAI
bedc31f559 [w3m-dev 03374] disable_secret_security_check
* etc.c (openSecurityFile): disable_secret_security_check
* fm.h (disable_secret_security_check): added
* rc.c (CMT_DISABLE_SECRET_SECURITY_CHECK): added
	(disable_secret_security_check): added
* NEWS: rc: disable_secret_security_check
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-05 17:54:38 +00:00
Fumitoshi UKAI
eff86e2c6b * NEWS: update
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-05 17:35:09 +00:00
Fumitoshi UKAI
b3c1ec5baf * rc.c (CMT_PRE_FORM_FILE): added
(pre_form_file): added
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-05 17:34:29 +00:00
Fumitoshi UKAI
867dd58f4b * doc-jp/README.tab: added [w3m-dev 03372]
* doc/README.tab: brief translation
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-05 17:24:47 +00:00
Fumitoshi UKAI
d93f1df6c4 fix indent 2002-11-05 17:12:02 +00:00
Fumitoshi UKAI
a772c51a16 [w3m-dev 03372] tab browser
* display.c (displayBuffer): add ny
			rootY offset by tab
			tab line
	(cursorDown): offset rootY
	(arrangeCursor): offset rootY
* etc.c (columnSkip): offset rootY
	(lineSkip): offset rootY
	(currentLineSkip): offset rootY
* file.c (HTMLlineproc2body): ATTR_TARGET
* fm.h (MapArea): add target
	(Buffer): add rootY
	(TabBuffer): added
	(Currentbuf): comment out
	(Firstbuf): comment out
	(CurrentTab): added
	(FirstTab): added
	(LastTab): added
	(open_tab_blank): added
	(close_tab_back): added
	(nTab): added
	(TabCols): added
	(N_TAB): added
	(Currentbuf): CurrentTab->currentBuffer
	(Firstbuf): CurrentTab->firstBuffer
* funcname.tab (CLOSE_TAB): added
	(NEW_TAB): added
	(NEXT_TAB): added
	(PREV_TAB): added
	(TAB_GOTO): added
	(TAB_GOTO_RELATIVE): added
	(TAB_LEFT): added
	(TAB_LINK): added
	(TAB_MENU): added
	(TAB_RIGHT): added
* html.c (ALST_AREA): add ATTR_TARGET
* image.c (showImageProgress): offset rootY
* main.c (_newT): added
	(followTab): added
	(moveTab): added
	(check_target): added
	(MAIN): init tab related values
		buf => tab
	(nscroll): offset rootY
	(pgFore): offset rootY
	(pgBack): offset rootY
	(ctrCsrV): offset rootY
	(_movD): offset rootY
	(_movU): offset rootY
	(_goLine): offset rootY
	(_mark): offset rootY
	(followA): check target
	(_followForm): offset rootY
	(drawAnchorCursor0): offset rootY
	(drawAnchorCursor): offset rootY
	(backBf): check close_tab_back
	(follow_map): rewrite for tab, check target
	(posTab): added
	(process_mouse): tab operation
			offset rootY
	(deleteFiles): for all buffers in all tabs
	(newTab): added
	(newT): added
	(numTab): added
	(deleteTab): added
	(closeT): added
	(nextT): added
	(prevT): added
	(followTab): added
	(tabA): added
	(tabURL0): added
	(tabURL): added
	(tabrURL): added
	(moveTab): added
	(tabR): added
	(tabL): added
* map.c (follow_map_menu): return MapArea
	(newMapArea): add target args
* menu.c (SelTabMenu): added
	(SelTabV): added
	(initSelTabMenu): added
	(smChTab): added
	(smDelTab): added
	(MainMenuItem): add Select Tab
				on New Tab
	(popupMenu): add initSelTabMenu()
			offset rootY
	(mainMn): offset rootY
	(selMn): offset rootY
	(initSelectMenu): offset rootY
	(tabMn): added
* proto.h (newT): added
	(closeT): added
	(nextT): added
	(prevT): added
	(tabA): added
	(tabURL): added
	(tabrURL): added
	(tabR): added
	(tabL): added
	(newTab): added
	(deleteTab): added
	(follow_map_menu): return MapArea
	(newMapArea): add target arg
	(tabMn): added
* rc.c (CMT_OPEN_TAB_BLANK): added
	(CMT_CLOSE_TAB_BACK): added
	(open_tab_blank): added
	(close_tab_back): added
* doc/README.func (CLOSE_TAB): added
	(NEW_TAB): added
	(NEXT_TAB): added
	(PREV_TAB): added
	(TAB_GOTO): added
	(TAB_GOTO_RELATIVE): added
	(TAB_LEFT): added
	(TAB_LINK): added
	(TAB_MENU): added
	(TAB_RIGHT): added
* doc-jp/README.func: ditto doc/README.func
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-05 17:10:04 +00:00
Fumitoshi UKAI
98d6d29e7b fix indent 2002-11-05 16:43:09 +00:00
Fumitoshi UKAI
8f470bfe83 * doc-jp/README.pre_form: added [w3m-dev 03373]
* doc/README.pre_form: brief translation
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-05 16:37:36 +00:00
Fumitoshi UKAI
f23dd7b4a3 * etc.c (PASS_IS_READABLE_MSG): deleted
(FILE_IS_READABLE_MSG): added
	(openPasswdFile): deleted
	(openSecretFile): delete error_msg arg
	(loadPasswd): use openSecretFile()
* form.c (next_token): delete unused static decl
	(FILE_IS_READABLE_MSG): deleted
	(loadPreForm): no need pass error_msg
* proto.h (openSecretFile): delete error_msg arg
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-05 16:03:12 +00:00
Fumitoshi UKAI
825018b1ba [w3m-dev 03373] setting form on loading
* config.h.dist (PRE_FORM_FILE): added
* configure (PRE_FORM_FILE): added
* etc.c (openPasswdFile): define by openSecretFile()
	(openSecretFile): renamed, not static
* file.c (loadGeneralFile): preFOrmUpdateBuffer()
* fm.h (Buffer): add submit
	(pre_form_file): added
* form.c (struct pre_form_item): added
	(struct pre_form): added
	(next_token): added
	(PreForm): added
	(add_pre_form): added
	(add_pre_form_item): added
	(loadPreForm): added
	(preFormUpdateBuffer): added
* frame.c (renderFrame): add preFormUpdateBuffer()
* main.c (MAIN): buf->submit check
* proto.h (preFormUpdateBuffer): added
	(openSecretFile): added
	(loadPreForm): added
* rc.c (sync_with_option): add loadPreForm()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-05 15:56:11 +00:00
Fumitoshi UKAI
28636c30f5 [w3m-dev 03371] segmentation fault by large complex table.
* table.c (bsearch_2short): indexarry char to short
	(bsearch_double): ditto
	(dv2sv): ditto
	(table_rule_width): ditto
	(set_integrated_width): ditto
	(check_table_height): ditto
	(feed_table_tag): ditto
* table.h (struct table_cell): index, eindex char to short
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-05 15:45:52 +00:00
Fumitoshi UKAI
786208e0fa version.c.in: cvs version 2002-11-05 13:25:59 +00:00
Fumitoshi UKAI
e0f3f150ee scripts/w3mhelp.cgi.in: add chkWORD 2002-11-05 13:25:31 +00:00
Fumitoshi UKAI
4838e19800 scripts/w3mhelp.cgi.in: add chkWORD 2002-11-04 17:38:21 +00:00
Fumitoshi UKAI
77e738d0c0 w3m 0.3.2 2002-11-04 17:14:18 +00:00
Fumitoshi UKAI
0bb13ab6c5 [w3m-dev-en 00827] Re: w3m-cvs segfaults on news://<mid> URLs
* url.c (openURL): check pu->file for news:
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-04 08:47:37 +00:00
Fumitoshi UKAI
7fc90cee15 add comments for news: URL 2002-11-02 18:12:06 +00:00
Fumitoshi UKAI
de29f0f7a6 fix typo 2002-10-31 09:37:39 +00:00
Fumitoshi UKAI
dce9a74733 fix compilation warnings
* w3mimgdisplay.c: add #include <string.h> for strlen, strcmp
* w3mimg/fb/fb.c: add #include <string.h> for memset
* w3mimg/fb/fb_w3mimg.c: add #include <string.h> for memset
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-31 09:36:21 +00:00
Fumitoshi UKAI
de28810cfe cvs current 2002-10-31 09:33:57 +00:00
Fumitoshi UKAI
af7ca08811 0.3.2 release candidate 4 2002-10-30 17:26:53 +00:00
Fumitoshi UKAI
c5a144b682 [w3m-dev 03365] ~/.netrc support
* etc.c (add_auth_pass_entry): add netrc arg
		add new entry to tail
	(find_auth_pass_entry): ent->host == NULL is "default"
	(loadPasswd): rewrite with next_token, parsePasswd,
			openPasswdFile
			load ~/.netrc
	(next_token): added
	(parsePasswd): added
	(openPasswdFile): added
* ftp.c (openFTP): use find_auth_user_passwd
* NEWS: ~/.netrc
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-30 17:21:35 +00:00
Fumitoshi UKAI
d915ea74a5 fix indent 2002-10-30 17:03:27 +00:00
Fumitoshi UKAI
f585f05db2 [w3m-dev 03363] refresh download
* file.c (HTMLtagproc1): alarm is implicit once
* fm.h (AL_IMPLICIT_ONCE): added
* main.c (searchKeyData): reset CurrentKeyData, CurrentCmdData
	(SigAlarm): CurrentCmdData is saved to data
		message displayed on AL_EXPLICIT
		clear alarm when AL_IMPLICIT_ONCE
	(setAlarmEvent): AL_IMPLICIT_ONCE
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-10-30 15:46:27 +00:00
Fumitoshi UKAI
10dc85c25d [w3m-dev 03362] Re: support for http://user:pass@www.url.com
* etc.c (loadPasswd): accept host, passwd
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-10-30 15:41:51 +00:00
Fumitoshi UKAI
46e147cf1f [w3m-dev 03359] support for http://user:pass@www.url.com
* etc.c (find_auth_user_passwd): use ParsedURL for args
	use user and passwd if these are defined in ParsedURL
* file.c (getAuthCookie): change find_auth_user_passwd()
* proto.h (find_auth_user_passwd): change prototype
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-30 15:39:41 +00:00
Fumitoshi UKAI
a5c8badd28 [w3m-dev 03357] tab in <pre> in <ul>,<ol>,...
* file.c (HTMLlineproc2): check indent for tabstop
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-10-30 03:58:59 +00:00
Fumitoshi UKAI
64cc95c100 cvs version 2002-10-30 03:58:46 +00:00
Fumitoshi UKAI
a7d27ad0ef [w3m-dev 03354] display current line number
* display.c (displayBuffer): %3d -> %d
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-10-29 16:19:41 +00:00
Dai Sato
a1e2263a81 Add some platforms. 2002-10-29 14:28:30 +00:00
Fumitoshi UKAI
fe829be173 0.3.2 release candidate 3 2002-10-28 17:12:34 +00:00
Fumitoshi UKAI
e52ed1d5a5 [w3m-dev 03352] w3mimgsize is not necessary.
* XMakefile (IMGSIZE): removed
* config.h.dist (IMGSIZE): removed
* configure (imgtarget): remove IMGSIZE
	(config.h): remove IMGSIZE
* rc.c (CMT_IMGSIZE): removed
* doc/README.img: remove imgsize
* w3mimgsize.c: removed
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-10-28 17:09:15 +00:00
Fumitoshi UKAI
1cf8872ba1 [w3m-dev 03351] w3m core dump
* table.c (feed_table_tag): fix rendering problem (maybe security hole?)
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-10-28 04:53:07 +00:00
Fumitoshi UKAI
89b7d50a23 [w3m-dev-en 00796]
* configure: expand here. ($var in Makefile is $v + ar)
* XMakefile: clean w3mimg/**/*.o
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-27 17:16:36 +00:00
Fumitoshi UKAI
f725f869d8 [w3m-dev-en 00795]
* configure: IMLIB_CONFIG, IMLIB2_CONFIG, GDKPIXBUF_CONFIG
* rc.c (CMT_DISP_IMAGE): need if not defined USE_IMAGE
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-27 16:59:32 +00:00
Fumitoshi UKAI
1cdc3b1147 0.3.2 release candidate 2
* version.c.in: update
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-27 14:47:35 +00:00
Fumitoshi UKAI
d36f947bfe [w3m-dev-en 00788]
* fm.h (displayImage): FALSE ifndef USE_IMAGE
* rc.c (displayImage): display_image even if USE_IMAGE undefined
	(sync_with_options): display_image is forced to be FALSE
			ifndef USE_IMAGE
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-26 11:19:47 +00:00
Fumitoshi UKAI
9726b596a7 [w3m-dev-en 00783] hsaka@mth.biglobe.ne.jp (Hironori SAKAMOTO)
add display_lineinfo option
* display.c (displayBuffer): check displayLineInfo
* fm.h (displayLineInfo): added
* rc.c (CMT_DISPLINEINFO): added
	(display_lineinfo): added
* NEWS (rc: display_lineinfo): add
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-26 08:10:43 +00:00
Fumitoshi UKAI
99f619ecf1 * [w3m-dev-en 00781] "Clemens Fischer" <ino-waiting@gmx.net>
zope doesn't recognize implied *LWS in accept-language
* rc.c (sync_with_option): remove optional LWS
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-25 20:02:30 +00:00