Commit Graph

755 Commits

Author SHA1 Message Date
Fumitoshi UKAI
3888822eef [w3m-dev 03583] w3mman
* scripts/w3mman/README: W3MMAN_W3M, W3MMAN_MAN
* scripts/w3mman/w3mman.1.in: add ENVIRONMENT
* scripts/w3mman/w3mman.in: $ENV{'W3MMAN_W3M'}, $ENV{'W3MMAN_MAN'}
* scripts/w3mman/w3mman2html.cgi.in: $ENV{'W3MMAN_MAN'}
				hyphenation
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-18 16:48:02 +00:00
Fumitoshi UKAI
8696cb81db [w3m-dev 03582] add config options graphic_char and use_proxy
* NEWS: rc: graphic_char, use_proxy
* fm.h (Do_no_use_proxy): macro using use_proxy
	(use_proxy): added
	(no_graphic_char): deleted
	(UseGraphicChar): added
* main.c (main): UseGraphicChar, use_proxy
* rc.c (CMT_GRAPHIC_CHAR): added
	(CMT_USE_PROXY): added
	(params1): graphic_char
	(params4): use_proxy
* terms.c (graph_ok): UseGraphicChar
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-18 16:42:30 +00:00
Fumitoshi UKAI
68d625fdab [w3m-dev 03581] MARK_URL, MARK_WORD
* main.c (chkWORD): accept ()[]{}&|;*?$ as anchor
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-18 16:38:49 +00:00
Fumitoshi UKAI
800ff446b0 [w3m-dev 03580] Re: clean up displayBuffer()
* main.c (main): force redraw
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-18 16:34:38 +00:00
Fumitoshi UKAI
22fc4c640a [w3m-dev 03579] Re: clean up displayBuffer()
* display.c (displayBuffer): re calcTabPos() when force or image redraw
* main.c (_mark): force redraw
	(reinit): redraw image
* search.c (backwardSearch): found_last
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-18 16:33:19 +00:00
Fumitoshi UKAI
4922417449 * main.c (DefaultAlarm): fix initialize value
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-12-18 16:25:47 +00:00
Fumitoshi UKAI
becb6e454a fix indent 2002-12-18 16:25:11 +00:00
Fumitoshi UKAI
6189d68a78 [w3m-dev 03578] meta refresh
* file.c (getMetaRefreshParam): do nothing if refresh_interval < 0
	(HTMLtagproc1): rewrite refresh
	(HTMLlineproc2body): add HTML_META
* fm.h (BP_RELOAD): deleted
	(Buffer): add event
	(AL_IMPLICIT_DONE): deleted
	(AL_ONCE): deleted
	(AL_RESTORE): deleted
	(AlarmEvent): added
* main.c (AlarmEvent): deleted
	(PrevAlarm): deleted
	(DefaultAlarm): added
	(CurrentAlarm): point to DefaultAlarm
	(main): CurrentKeyData, CurrentCmdData
		handle Currentbuf->event
	(SigAlarm): CurrentAlarm is pointer
	(copyAlarmEvent): deleted
	(setAlarm): setAlarmEvent pass &DefaultAlarm
	(setAlarmEvent): arg event
	(ldDL): no BP_RELOAD
* proto.h (setAlarmEvent): arg event
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-18 16:20:49 +00:00
Fumitoshi UKAI
4e52a4adb4 [w3m-dev 03577] incorrect table width
* table.c (dv2sv): fix move direction
	(set_integered_width): ditto
	(check_table_height): ditto
	(feed_table_tag): ditto
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-17 16:17:28 +00:00
Fumitoshi UKAI
aec3cd7cc6 [w3m-dev 03576] Re: news support
* anchor.c (_put_anchor_news): convert to document code and quote
	(_put_anchor_all): convert to document code
* main.c (chkNMIDBuffer): change url_like_pat
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-16 15:41:03 +00:00
Fumitoshi UKAI
c5f41178f1 * NEWS: rc: preserve_timestamp
From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-12-15 12:37:33 +00:00
Fumitoshi UKAI
c795d4380f [w3m-dev 03574] Re: preserve timestamp
* ftp.c (getFtpModtime): don't call localtime,gettime in same expr
From: Takahashi Youichirou <nikuq@hk.airnet.ne.jp>
2002-12-15 12:12:47 +00:00
Fumitoshi UKAI
b5420dc7c5 [w3m-dev 03573] Re: Bug#172851: w3m: In form, takes hostname as baseref for relative URI action
* url.c (parseURL): if empty is URL, base URL is used
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-12-14 16:09:51 +00:00
Fumitoshi UKAI
9081b77f56 [w3m-dev 03571] base=0 -> 10 in toNumber()
* parsetagx.c (toNumber): strtol base=10
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-14 15:37:56 +00:00
Fumitoshi UKAI
74940c5a0d [w3m-dev 03570] meta tag in frame
* frame.c (createFrameFile): fix meta equiv parse in frame
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-14 15:28:37 +00:00
Fumitoshi UKAI
021ce52a52 fix indent 2002-12-14 15:26:44 +00:00
Fumitoshi UKAI
4a9e9df295 [w3m-dev 03569] Re: preserve timestamp
* file.c (loadGeneralFile): PresetveTimestamp
	(_doFileCopy): is_pipe, PreserveTimestamp
	(doFileSave): PreserveTImestamp
* fm.h (PreserveTimestamp): added
* rc.c (CMT_PRESERVE_TIMESTAMP): added
	(params3): add preserve_timestamp
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-14 15:24:03 +00:00
Fumitoshi UKAI
26a8e37fdc [w3m-dev 03568] Re: preserve timestamp
* etc.c (USE_COOKIE): moved
* file.c (utime.h): include
	(setModtime): added
	(loadGeneralFile): set f.modtime
	(_doFileCopy): setModtime()
	(doFileSave): setModtime()
* ftp.c (getFtpModtime): added
	(openFTP): pass URLFile, set modtime
* html.h (URLFile): add modtime
* proto.h (openFTP): arg URLFile *uf
	(mymktime): always
* url.c (init_stream): initialize modtime
	(openFTPStream): pass URLFile
	(openURL): openFTPStream
From: Takahashi Youichirou <nikuq@hk.airnet.ne.jp>
2002-12-14 15:18:37 +00:00
Fumitoshi UKAI
9963ad03d3 [w3m-dev 03567] default keybinding
* doc-jp/keymap.default (C-q,C-t,(,),+,-,D,L,T,m,r,{,|,},
			M-c,M-k,M-l,M-m,M-o,M-t): assign
* doc/keymap.default: ditto
* keybind.c: ditto
* doc-jp/keymap.lynx (C-q,C-t,C-u,(,),,,.,;,D,L,T,W,[,],
			m,r,w,{,|,},M-<,M->,M-W,M-c,M-g,
			M-k,M-l,M-m,M-n,M-o,M-p,M-t,M-w): assign
* doc/keymap.lynx: ditto
* keybind_lynx.c: ditto
* doc-jp/menu.default (Main): Select,SelectTab,TAB_LINK
* doc/menu.default: ditto
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-13 03:02:03 +00:00
Fumitoshi UKAI
9df094b123 [w3m-dev 03566] configure prefix
* configure: add X prefix for expr args
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-13 02:27:23 +00:00
Fumitoshi UKAI
e0ae7b688b [w3m-dev 03564] clean up displayBuffer()
* display.c (delayed_msg): static
	(drawAnchorCursor): static
	(redrawBuffer): define
	(redrawNLine): static
	(redrawLine): static
	(redrawLineRegion): static
	(do_effects): static
	(do_color): static
	(make_lastline_link): added
	(make_lastline_message): added
	(displayBuffer): rewrite with make_lastline_message()
	(drawAnchorCursor0): added
	(drawAnchorCursor): added
* main.c (main): remove onA()
	(keyPressEventProc): remove onA()
	(disp_srchresult): static
		disp_message TRUE
	(isrch): remove onA()
	(srch): displayBuffer
		remove onA()
	(srch_nxtprv): remove onA()
	(pipeBuf): disp_message TRUE
	(pipesh): disp_message TRUE
	(readsh): disp_message TRUE
	(_mark): dispBuffer
	(_followForm): break, always dispBuffer
	(drawAnchorCursor0): deleted
	(drawAnchorCursor): deleted
	(onA): deleted
	(anchorMn): delete onA()
	(svBuf): displayBuffer B_NORMAL
	(reload): disp_err_message TRUE
		displayBuffer
	(rFrame): displayBuffer
	(invoke_browser): displayBuffer
	(extbrz): disp_err_message TRUE
	(process_mouse): onA -> displayBuffer
	(movMs): delete onA()
	(menuMs): onA -> displayBuffer
	(closeTMs): disp_message TRUE
	(wrapToggle): disp_message TRUE
	(execdict): disp_message TRUE
	(SigAlarm): displayBuffer, delete onA
	(reinit): displayBuffer
* map.c (getCurrentMapLabel): deleted
	(retrieveCurrentMapArea): added
* proto.h (redrawBuffer): deleted
	(redrawNLine): deleted
	(redrawLine): deleted
	(redrawLineRegion): deleted
	(do_effects): deleted
	(do_color): deleted
	(message_list): deleted
	(getCurrentMapLabel): deleted
	(retrieveCurrentMapArea): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-13 02:19:01 +00:00
Fumitoshi UKAI
0b9f61c039 [w3m-dev 03563] Directory Traversal Vulnerabilities in FTP Clients
* file.c (guess_save_name): pass guess_filename
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-13 00:09:50 +00:00
Fumitoshi UKAI
e9fa33af3b [w3m-dev 03562] #undef BUFINFO
* config.h.dist (BUFINFO): undef
* configure (use_bufinfo): n
* main.c (saveBufferInfo): ifdef USE_BUFINFO
* proto.h (reloadBuffer): if 0
	(saveBufferInfo): ifdef USE_BUFINFO
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-12 23:55:30 +00:00
Fumitoshi UKAI
fb86e0b3ca update TODO 2002-12-12 23:41:21 +00:00
Fumitoshi UKAI
2d65b2eee2 fix indent 2002-12-11 15:08:47 +00:00
Fumitoshi UKAI
69d9bff231 [w3m-dev 03559] Re: use select instead of signal for loading images
* fm.h (Buffer): add image_loaded
* image.c (W3M_SIGIMG): deleted
	(image_lock): deleted
	(need_load_image): deleted
	(load_image_handler): deleted
	(load_image_next): deleted
	(getAllImage): check image_loaded
	(loadImage): delete image_lock
		delete IMG_FLAG_NEXT
* main.c (main): check image_loaded
* proto.h (sleep_till_anykey): return int
* terms.c (sleep_till_anykey): return int
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-11 15:07:53 +00:00
Fumitoshi UKAI
96c21a2169 [w3m-dev 03558] long title is displayed over tab region
* display.c (redrawNLine): check l < 0
			use addnstr
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-11 15:03:06 +00:00
Fumitoshi UKAI
d6c90ea50f [w3m-dev 03554] Re: Undo/Redo
* doc/README.func (REDO): added
		(UNDO): added
* doc-jp/README.func (REDO): added
		(UNDO): added
* scripts/w3mhelp.cgi.in: (Page/Cursor motion): add undoPos, redoPos
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-11 02:57:30 +00:00
Fumitoshi UKAI
05b0496842 NEWS: func: REDO, UNDO
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-12-10 15:53:55 +00:00
Fumitoshi UKAI
7d71261e92 fix indent 2002-12-10 15:53:03 +00:00
Fumitoshi UKAI
4eb0a6fe3d [w3m-dev 03553] Undo/Redo
* fm.h (Buffer): add undo
	(BufferPos): added
* funcname.tab (REDO): added
		(UNDO): added
* main.c (save_buffer_position): added
	(main): save_buffer_position
	(resetPos): added
	(undoPos): added
	(redoPos): added
* proto.h (undoPos): added
	(redoPos): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-10 15:51:14 +00:00
Fumitoshi UKAI
529b4cb63d [w3m-dev 03552] Re: link list
* menu.c (accesskey_menu): check hseq
	(list_menu): check hseq
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-10 15:41:31 +00:00
Fumitoshi UKAI
df0a52887b fix indent 2002-12-10 15:36:10 +00:00
Fumitoshi UKAI
b422f71d84 [w3m-dev 03551] Re: External URI loader
* file.c (loadGeneralFile): fix SCM_UNKNONWN
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-10 15:36:10 +00:00
Fumitoshi UKAI
a509f3133b NEWS: func: LIST, LIST_MENU, MOVE_LIST_MENU 2002-12-10 15:36:10 +00:00
Fumitoshi UKAI
945ebeab6f [w3m-dev 03549] link list
* anchor.c (addMultirowsImg): add a->slave
	(getAnchorText): arg AnchorList *al
	(link_list_panel): added
* funcname.tab (LIST): added
	(LIST_MENU): added
	(MOVE_LIST_MENU): added
* main.c (anchorMn): added
	(accessKey): use anchorMn()
	(listMn): added
	(movlistMn): added
	(linkLst): added
* map.c (searchMapList): not static
* menu.c (accesskey_menu): pass AnchorList to getAnchorText()
	(lmKeys): added
	(lmKeys2): added
	(nlmKeys): added
	(nlmKeys2): added
	(lmGoto): added
	(lmSelect): added
	(list_menu): added
* proto.h (linkLst): added
	(listMn): added
	(movlistMn): added
	(list_menu): added
	(searchMapList): added
	(getAnchorText): arg AnchorList *al
	(link_list_panel): added
* doc/README.func (LIST): added
	(LIST_MENU): added
	(MOVE_LIST_MENU): added
* doc-jp/README.func (LINK_MENU): fix message
	(LIST): added
	(LIST_MENU): added
	(MOVE_LIST_MENU): added
* scripts/w3mhelp.cgi.in (Page/Cursor motion): add movlistMn
	(Hyperlink operation): add linkLst linkMn
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-09 15:51:08 +00:00
Fumitoshi UKAI
4c89fd63aa [w3m-dev 03548] close anchor before <img align=...>
* file.c (process_img): use div_int
	(process_hr): use div_int
	(process_idattr): don't close_anchor
	(CLOSE_A): added
	(HTMLtagproc1): </p> close anchor
	  <dl>,<ul>,<ol>,<blockquote>,<li>,<dt>,<dd> close anchor
	  <noframes> close anchor
	  <pre> close anchor
	  <center> close anchor
	  <div> close anchor
	  add DIV_INT
	  <form> close anchor
* html.c (TagMAP): add div_int
* html.h (HTML_DIV_INT): added
	(HTML_N_DIV_INT): added
* tagtable.tab (div_int): added
		(/div_int): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-09 15:40:34 +00:00
Fumitoshi UKAI
d2c8b1d1fc [w3m-dev 03544] Can't display "1&2" in table
* file.c (HTMLlineproc0): continue -> R_ST_NORMAL
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-09 15:33:33 +00:00
Fumitoshi UKAI
6a24638eee * file.c (loadGeneralFile): missing `{', fix indent for SCM_UNKNOWN
* main.c (set_buffer_environ): unused variables `prev_col'
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-12-09 15:32:16 +00:00
Fumitoshi UKAI
946089ac81 [w3m-dev 03543] External URI loader (Debian closes: Bug#169962)
* file.c (loadGeneralFile): rewrite SCM_UNKNOWN
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-09 15:27:43 +00:00
Fumitoshi UKAI
f9657e4719 [w3m-dev 03542] news support
* file.c (loadGeneralFile): NNTP as well as NEWS
* indep.c (url_unquote_char): check % hex hex
	(url_unquote): unquote except \0, \n, \r
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-09 15:24:00 +00:00
Fumitoshi UKAI
21b44ca99e [w3m-dev 03541] Re: W3M_LINE_NO / W3M_CURRENT_COLUMN
* main.c (goLine): check searchKeyData()
	(set_buffer_environ): W3M_CURRENT_*
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-09 15:21:12 +00:00
Fumitoshi UKAI
52a09ad262 fix indent 2002-12-08 14:23:44 +00:00
Fumitoshi UKAI
1d7704dc60 [w3m-dev 03536] <del>, <s>
* file.c (HTMLtagproc1): <s>..</s> is [S:...:S]
	(HTMLtagproc0): <del> will delete <table>
* fm.h (RB_S): added
* html.c (TagMAP): <s>,</s>
		move <internal>, </internal>
* html.h (HTML_S): added
	(HTML_N_S): added
	(HTML_INTERNAL): renumed
	(HTML_N_INTERNAL): ditto
	(MAX_HTMLTAG): add 2
* rc.c (CMT_DISP_INS_DEL): update
* table.c (feed_table_tag): add HTML_S, HTML_N_S
* table.h (TBLM_S): added
	(TBLM_ANCHOR): renum
* tagtable.tab: (strike, s): HTML_S
	(/strike, /s): HTML_N_S
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-06 16:49:18 +00:00
Fumitoshi UKAI
71fde51a9d [w3m-dev 03535] close anchor, quote <
* file.c (HTMLtagproc1): close_anchor
* frame.c (createFrameFile): quote <
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-06 16:37:42 +00:00
Fumitoshi UKAI
b49619c69c [w3m-dev 03534] cleanup file.c
* file.c (HTMLlineproc2body): cleanup
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-06 16:33:22 +00:00
Fumitoshi UKAI
b5825d1498 * version.c.in: w3m/0.3.2.2+cvs
* NEWS: 0.3.2.2
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-12-06 03:40:45 +00:00
Fumitoshi UKAI
5b608d8f0f [w3m-dev 03530] save history
* history.c (saveHistory): save tmpfile and rename
From: Takahashi Youichirou <nikuq@hk.airnet.ne.jp>
2002-12-05 16:34:33 +00:00
Fumitoshi UKAI
3ac3ce1893 fix indent 2002-12-05 16:33:06 +00:00
Fumitoshi UKAI
4defa86728 NEWS: func: ACCESSKEY, LINK_MENU
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-12-05 16:32:45 +00:00