Commit Graph

27 Commits

Author SHA1 Message Date
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
a8dbfcd251 fix indent 2003-07-26 17:17:28 +00:00
Fumitoshi UKAI
c913794f0c [w3m-dev 03945] Re: application/xhtml+xml support
* Makefile.in (ETC_DIR): added
	(CONF_DIR): added
	(DEFS): add CONF_DIR
	(MAKE_ARGS): add CONF_DIR
* config.h.in (SYS_MAILCAP): use CONF_DIR
	(SYS_URIMETHODMAP): use CONF_DIR
* func.c (sys_current_keymap_file): added
	(interpret_keymap): added
	(initKeymap): use interpret_keymap
	(interpret_mouse_action): added
	(initMouseAction): use interpret_mouse_action
* indep.c (w3m_conf_dir): added
* indep.h (w3m_conf_dir): added
* menu.c (interpret_menu): added
	(initMenu): use interpret_menu
* proto.h (confFile): added
* rc.c (init_rc): read config file by interpret_rc
	(confFile): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-07-26 17:16:24 +00:00
Fumitoshi UKAI
284d762709 [w3m-dev 03525] Re: sync option
* func.c (initKeymap): delete check force, keymap_initialized
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-04 17:15:35 +00:00
Fumitoshi UKAI
f8e094d717 [w3m-dev 03521] sync option
* display.c (redrawNLine): calcTabPos()
* func.c (initKeymap): return if keymap_initialized
* main.c (calcTabPos): no more static
	(main): move sync_with_option, initCookie, setLocalCookie
		move backend
		move initKeymap, initMouseAction, initMenu
		remove calcTabPos
		add displayBuffer
	(numTab): static
	(deleteTab): delete calcTabPos
	(moveTab): delete calcTabPos
* proto.h (calcTabPos): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-04 16:45:40 +00:00
Fumitoshi UKAI
3c84aef6f7 fix indent 2002-12-03 16:09:41 +00:00
Fumitoshi UKAI
3546830a99 [w3m-dev 03516] Re: 2 stroke keybinding
* func.c (keymap_initialized): initialized to FALSE
	(setKeymap): push KeyData
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-03 16:07:37 +00:00
Fumitoshi UKAI
2d31da386c [w3m-dev 03515] 2 stroke keybinding
* func.c (setKeymap): add map
			K_MULTI support
	(getKey2): added
	(getKey): rewrite to use getKey2()
* func.h (K_MULTI): added
	(MULTI_KEY): added
* funcname.tab (MULTIMAP): added
* main.c (escKeyProc): added
	(escmap): rewrite to use escKeyProc()
	(escbmap): rewrite to use escKeyProc()
	(escdmap): rewrite to use escKeyProc()
	(multimap): added
* proto.h (multimap): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-03 16:01:14 +00:00
Fumitoshi UKAI
5cd04efde1 * func.c (initMouseAction): remove unsed variables: x, width, map
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-25 17:03:45 +00:00
Fumitoshi UKAI
769c92bf7e fix indent 2002-11-25 16:59:07 +00:00
Fumitoshi UKAI
0ab7c1236a [w3m-dev 03478] mouse action configuration
* display.c (displayBuffer): mouse_menu -> mouse_action.menu_str
			mouse_action.lastline_str
		(redrawNLine): mouse_menu -> mouse_action.menu_str
* fm.h (MouseMenuMap): deleted
	(MouseActionMap): added
	(MouseAction): added
	(mouse_action): added
* func.c (default_mouse_action): added
	(setMouseAction0): added
	(setMouseAction1): added
	(setMouseAction2): added
	(initMouseMenu): deleted
	(initMouseAction): added
* funcname.tab (CLOSE_TAB_MOUSE): added
	(MENU_MOUSE): added
	(MOVE_MOUSE): added
	(TAB_MOUSE): added
* main.c (main): initMouseMenu() -> initMouseAction()
		mouse_menu -> mouse_action
	(posTab): mouse_menu -> mouse_action
		check y > LastTab->y
	(mouse_menu_action): deleted
	(do_mouse_action): added
	(process_mouse): mouse_menu -> mouse_action
		do_mouse_action()
	(movMs): added
	(menuMs): added
	(tabMs): added
	(closeTMs): added
	(reinit): initMouseMenu() -> initMouseAction()
		resource: MOUSE_MENU -> MOUSE
	(calcTabPos): mouse_menu -> mouse_action
* menu.c (mainMn): mouse_menu -> mouse_action
	(selMn): mouse_menu -> mouse_action
	(tabMn): mouse_menu -> mouse_action
	(initMenu): add SelectTag to w3mMenuList
* proto.h (movMs): added
	(menuMs): added
	(tabMs): added
	(closeTMs): added
	(initMouseMenu): deleted
	(initMouseAction): added
* rc.c (sync_with_option): initMouseMenu() -> initMouseAction()
* doc/README.func (CLOSE_TAB_MOUSE): added
	(MENU_MOUSE): added
	(MOVE_MOUSE): added
	(TAB_MOUSE): added
* doc-jp/README.func (CLOSE_TAB_MOUSE): added
	(MENU_MOUSE): added
	(MOVE_MOUSE): added
	(TAB_MOUSE): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-25 16:57:16 +00:00
Fumitoshi UKAI
e3c33e02e6 fix indent 2002-11-22 15:57:29 +00:00
Fumitoshi UKAI
82901953d3 [w3m-dev 03458] Re: mouse menu
* display.c (displayBuffer): nTab2 -> nTab, mouse_menu
* fm.h (nTab2): deleted
	(MouseMenuMap): added
	(MouseMenu): added
	(LIMIT_MOUSE_MENU): added
* func.c (initMouseMenu): delete mouse_menu_map initialization
		conv_from_system
		mouse_menu->width
* main.c (main): mouse_menu->in_action = FALSE
	(posTab): check mouse_menu
	(mouse_menu_action): add y arg
		mouse_menu_width check
	(process_mouse): nTab2 -> nTab, mouse_menu
	(nTabLine): deleted
	(calcTabPos): check mouse_menu
* menu.c (mainMn): x, y
	(selMn): mouse_menu check
	(tabMn): mosue_menu check
* proto.h (nTabLine): deleted
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-22 15:43:13 +00:00
Fumitoshi UKAI
3a2149151d fix indent 2002-11-21 16:32:29 +00:00
Fumitoshi UKAI
1248fa2911 [w3m-dev 03455] mouse menu
* configure (config.h): MOUSE_FILE
* display.c (displayBuffer): nTab -> nTab2, N_TAB -> nTabLine()
	(redrawNLine): nTab -> nTab2, N_TAB -> nTabLine()
			mouse_menu support
* fm.h (nTab2): added
	(N_TAB): deleted
	(NO_TABBUFFER): added
	(struct _MouseMenu): added
	(mouse_menu_map): added
	(mouse_menu): added
* func.c (initMouseMenu): added
* main.c (main): initMouseMenu()
	(posTab): mouse_menu support
	(mouse_menu_action): added
	(process_mouse): mouse_menu support
	(reinit): initMouseMenu()
	(nTabLine): added
	(moveTab): check NO_TABBUFFER
* proto.h (nTabLine): added
	(initMouseMenu): added
* rc.c (sync_with_option): initMouseMenu()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-21 16:31:35 +00:00
Fumitoshi UKAI
fc4b6e4a93 [w3m-dev 03200] Re: New configuration option `keymap_file'' and new command `DEFINE_KEY''
* fm.h: add <sts/stat.h>, unistd.h>
* fm.h (keymap_file): added
* func.c (keymap_initialized): added
	(current_keymap_file): added
	(setKeymap): added
	(initKeymap): rewrite to use setKeymap()
* funcname.tab (DEFINE_KEY): added
* main.c (MAIN): initKeymap(TRUE)
	(defKey): added
* proto.h (defKey): added
	(setKeymap): added
	(initKeymap): add force param
* rc.c (CMT_KEYMAP_FILE): added
	(params3): add keymap_file
	(sync_with_option): add initKeymap(FALSE)
* doc/README.func (DEFINE_KEY): added
* doc-jp/README.func: (DEFINE_KEY): added
* scripts/w3mhelp.cgi.in: add defKey
* NEWS:
	func: DEFINE_KEY
	rc: keymap_file
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-06-01 16:50:16 +00:00
Fumitoshi UKAI
7d9c4711a4 indent fix 2002-03-22 15:05:18 +00:00
Fumitoshi UKAI
f475e89f9f [w3m-dev 03136] Add COMMAND to execute multiple commands
* fm.h (CurrentMenuData): deleted
	(CurrentCmdData): added
* func.c (getKey): check next char of ^
	(getWord): get word until ';'
	(getQWord): rewrite using Str
* funcname.tab (COMMAND): added
* main.c (MAIN): delete CurrentMenuData
		initialize CurrentCmdData
	(searchKeyData): use CurrentCmdData
	(execCmd): added
	(SigAlarm): delete CurrentMenuData, use CurrentCmdData
* menu.c (action_menu): delete CurrentMenuData, use CurrentCmdData
* proto.h (execCmd): added
* doc/README.func (ALARM): capitalize
		(COMMAND): added
* doc-jp/README.func (COMMAND): added
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-03-19 16:06:52 +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
8024528a09 [w3m-dev 02611] a improvement of find_cookie()
From: Tsutomu Okada <okada@furuno.co.jp>
2001-12-03 18:29:37 +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
975c8f9d43 run make indent 2001-11-24 02:01:26 +00:00
Fumitoshi UKAI
8ca5c59be7 add rcsids 2001-11-20 17:49:23 +00:00
Akinori Ito
6c63633545 Updates from 0.2.1 into 0.2.1-inu-1.5 2001-11-09 04:59:17 +00:00
Akinori Ito
68a07bf03b Initial revision 2001-11-08 05:14:08 +00:00