Fumitoshi UKAI
d02a0802cd
[w3m-dev 03529] Support of title, accesskey of anchor
...
* anchor.c (putAnchor): arg title, key
initialize slave
(registerHref): arg title, key
(registerName): title = NULL, key = '\0'
(registerForm): title = NULL, key = '\0'
(_put_anchor_news): title = NULL, key = '\0'
(_put_anchor_all): title = NULL, key = '\0'
(addMultirowsImg): register title, accesskey
(addMultirowsForm): title = NULL, key = '\0'
(getAnchorText): added
* display.c (displayBuffer): show title if any
* file.c (set_breakpoint): use bcopy
(back_to_breakpoint): use bcopy
(flushline): s/anchor/anchor.url/
s/anchor_hseq/anchor.hseq/
s/anchor_target/anchor.target/
add anchor.*
(close_effect0): s/anchor/anchor.url/
s/anchor_hseq/anchor.hseq/
(close_anchor): use bzero
(process_img): ATTR_TITLE,
(HTMLtagproc1): s/anchor/anchor.url/
target, referer, title, accesskey, hseq
(HTMLlineproc2body): ATTR_TITLE, ATTR_ACCESSKEY
(init_henv): use bzero
* fm.h (Anchor): add title, accesskey, slave
(Breakpoint): use Anchor
(struct readbuffer): use Anchor
* funcname.tab (ACCESSKEY): added
(LINK_MENU): added
* html.c (ALST_A): add ATTR_TITLE, ATTR_ACCESSKEY
(ALST_IMG): add ATTR_TITLE
(ALST_IMG_ALT): add ATTR_TITLE
(AttrMAP): add accesskey, renum
* html.h (ATTR_ACCESSKEY): added
(ATTR_*): renum 50->60
* main.c (linkMn): added
(accessKey): added
* menu.c (LinkMenu): deleted
(LinkV): deleted
(initLinkMenu): deleted
(lmGoURL): deleted
(popupMenu): delete initLinkMenu()
(initMenu): delete Link
(link_menu): added
(accesskey_menu): added
* proto.h (linkMn): added
(link_menu): added
(accessKey): added
(accesskey_menu): added
(putAnchor): arg title, key
(registerHref): arg title, key
(registerImg): arg title
(getAnchorText): added
* doc/README.func (ACCESSKEY): added
(LINK_MENU): added
* doc-jp/README.func (ACCESSKEY): added
(LINK_MENU): added
* scripts/w3mhelp.cgi.in (Hyperlink operation): add linkMn accessKey
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-05 16:29:02 +00:00
Fumitoshi UKAI
dd4e9f38d1
[w3m-dev 03528] area without alt
...
* map.c (getCurrentMapLabel): when a->alt is empty
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-05 16:08:34 +00:00
Fumitoshi UKAI
543b6cffef
[w3m-dev 03527] fix frame.c
...
* frame.c (createFrameFile): move need_reconstruct
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-05 16:04:00 +00:00
Fumitoshi UKAI
2fddcbd7ff
[w3m-dev 03526] Re: fix doc*/README.func, w3mhelp.cgi.in
...
* scripts/w3mhelp.cgi.in: (load_keymap):
always upcase ESC,SPC,TAB,DEL,UP,DOWN,RIGHT,LEFT
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-05 16:01:57 +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
9a38ed27e4
[w3m-dev 03524] fix doc*/README.func, w3mhelp.cgi.in
...
* doc/README.func (REINIT): added
* doc-jp/README.func (REINIT): added
* scripts/w3mhelp.cgi.in (Page/Cursor motion):
add moveR1 movL1 movD1 movU1 ldown1 lup1
(File/Stream operation): add pipeBuf
(Miscellany): add dispVer execCmd reinit
(load_keymap): rewrite
(norm_key): rewrite
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-04 17:08:26 +00:00
Fumitoshi UKAI
33c9fa4685
NEWS: rc: display_ins_del
...
From: Fumitoshi UKAI <ukai@debian.or.jp >
2002-12-04 17:02:34 +00:00
Fumitoshi UKAI
650e90ad75
[w3m-dev 03523] Re: del/ins
...
* file.c (HTMLtagproc1): check displayInsDel, RB_DEL
* fm.h (RB_DEL): added
(displayInsDel): added
* rc.c (CMT_DISP_INS_DEL): added
(display_ins_del): added
* table.c (feed_table_tag): check displayInsDel, TBLM_DEL
* table.h (TBLM_DEL): added
(TBLM_ANCHOR): renum
(struct table_mode): unsigned int pre_mode
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-04 17:00:44 +00:00
Fumitoshi UKAI
b061871474
[w3m-dev 03522] newline around <pre>..</pre>
...
* file.c (HTMLtagproc1): break before <pre>/after </pre> if necessary
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-04 16:55:04 +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
fcc7d09085
[w3m-dev-en 00841] Re: w3m segfaults if the terminal is not writable
...
* terms.c (reset_tty): don't close stderr
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-04 16:38:53 +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
c800b1d0fd
NEWS: 2 stroke keybinding
...
func: MULTIMAP
From: Fumitoshi UKAI <ukai@debian.or.jp >
2002-12-03 16:03:46 +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
e1d37e57bc
[w3m-dev 03514] Effect of tab title
...
* display.c (redrawNLine): rewrite, do without clrtoeolx()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-03 15:52:37 +00:00
Fumitoshi UKAI
b79390caab
[w3m-dev 03512] Re: HTML parser
...
* table.c (feed_table_tag): HTML_N_SELECT, HTML_N_CAPTION
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-03 15:49:52 +00:00
Fumitoshi UKAI
ae7c469215
[w3m-dev 03510] waiting time when cookie was rejected.
...
* file.c (readHeader): display cookie warnings for only 1 sec
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-03 15:47:38 +00:00
Fumitoshi UKAI
a2ab9a44f5
fix indent
2002-12-03 15:45:31 +00:00
Fumitoshi UKAI
569d535b29
[w3m-dev 03509] HTML parser
...
* file.c (close_textarea): delete
(HTMLtagproc1): rewrite
delete HTML_EOL
move HTML_LISTING, HTML_N_LISTING
add HTML_PRE_PLAIN, HTML_N_PRE_PLAIN
add HTML_PLAINTEXT
end_tag
(HTMLlineproc0): s/str/line/
rewrite
(completeHTMLstream): </textarea> if necessary
* fm.h (struct readbuffer): delete ignore_tag
add end_tag
(RB_XMPMODE): deleted
(RB_LSTMODE): deleted
(RB_SCRIPT): added
(RB_STYLE): added
(RB_*): renumber
(R_ST_EOL): added
(R_ST_*): renumber
(ST_IS_TAG): check R_ST_EOL
* form.c (form_fputs_decode): remove <eol> handling
* frame.c (newFrame): remove_space()
(CASE_TABLE_TAG): added
(createFrameFile): rewrite
* html.c (TagMAP): delete eol
add pre_plain, /pre_plain
* html.h (HTML_EOL): deleted
(HTML_PRE_PLAIN): added
(HTML_N_PRE_PLAIN): added
* table.c (visible_length): rewrite
(visible_length_plain): added
(maximum_visible_length_plain): added
(do_refill): R_ST_EOL
(table_close_select): end_tag
(table_close_textarea): end_tag
(TAG_ACTION_PLAIN): added
(feed_table_tag): rewrite
(feed_table): rewrite
* table.h (TBLM_*) reassign
(struct table_mode): delete ignore_tag
add end_tag
* tagtable.tab (eol): deleted
(pre_plain): added
(/pre_plain): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-03 15:35:09 +00:00
Fumitoshi UKAI
49098b36fe
update
2002-12-03 15:15:45 +00:00
Fumitoshi UKAI
ec9153f471
[w3m-dev 03505] Re: coredump when ssl error
...
* file.c (loadGeneralFile): term_raw(), SIGINT before retry
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-03 15:00:52 +00:00
Fumitoshi UKAI
82ef7c22a1
fix indent
2002-12-02 17:55:46 +00:00
Fumitoshi UKAI
f2770707c1
[w3m-dev 03504] coredump when ssl error
...
* file.c (loadGeneralFile): term_raw, SIGINT
From: AIDA Shinra <aida-s@jcom.home.ne.jp >
2002-12-02 17:48:56 +00:00
Fumitoshi UKAI
f4d7e60586
remove ununsed variables
...
* file.c (addLink): unused variable `t'
* menu.c (lmGoURL): unused variable `pu'
From: Fumitoshi UKAI <ukai@debian.or.jp >
2002-12-02 17:38:55 +00:00
Fumitoshi UKAI
eb44b171c3
[w3m-dev 03501] link tag support
...
* buffer.c (reshapeBuffer): initialize formlist, linklist,
maplist, hmarklist, imarklist
* file.c (addLink): added
(HTMLlineproc2body): add HTML_LINK
(loadHTMLstream): use HTMLlineproc0 not in R_ST_NORMAL
(reloadBuffer): initialize linklist, maplist,
hmarklist, imarklist
* fm.h (LINK_TYPE_NONE): added
(LINK_TYPE_REL): added
(LINK_TYPE_REV): added
(LinkList): added
(Buffer): add linklist
* html.c (ALST_LINK): added
(TagMAP): add link
(AtrMAP): add rel, rev, title
* html.h (HTML_LINK): added
(ATTR_REL): added
(ATTR_REV): added
(ATTR_TITLE): added
* map.c (append_map_info): anchor
(append_link_info): added
(page_info_panel): append_link_info
* menu.c (LinkMenu): added
(linkV): added
(initLinkMenu): added
(lmGoURL): added
(popupMenu): initLinkMenu()
(initMenu): w3mMenuList new 4
add "Link"
* tagtable.tab (link): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-02 17:27:34 +00:00
Fumitoshi UKAI
d6219ea37a
[w3m-dev 03498] Re: parse <!-- ... --> in <script>
...
* file.c (HTMLlineproc0): tag in textarea
* frame.c (createFrameFile): fix comment processing in frame
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-28 16:00:33 +00:00
Fumitoshi UKAI
9307310738
[w3m-dev 03497] incorrect image size
...
* image.c (getImageSize): invoke w3mimgdiplay -size instead of "5;..."
* w3mimgdisplay.c (defined_size): added
(main): if defined_size get_image_size()
(GetOption): -size
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-27 16:46:30 +00:00
Fumitoshi UKAI
f2ed984ae1
fix indent
2002-11-27 16:40:19 +00:00
Fumitoshi UKAI
7b5f6ea99c
[w3m-dev 03496] parse <!-- ... --> in <script>
...
* etc.c (read_token): check <pre>
* file.c (HTMLlineproc0): remove comment processing
check pre mode
comment processing move
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-27 16:39:13 +00:00
Fumitoshi UKAI
09c3eb83b9
[w3m-dev 03495] local CGI can't work
...
* local.c: #include "hash.h"
(set_environ): env string put in hash
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-27 16:35:18 +00:00
Fumitoshi UKAI
3335de859a
[w3m-dev 03494] Number of line is few when pager mode.
...
* display.c (redrawLine): buf->rootY
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-27 16:32:51 +00:00
Fumitoshi UKAI
b38deabe1b
fix indent
2002-11-27 16:29:14 +00:00
Fumitoshi UKAI
25a17ab5ca
[w3m-dev 03493] scroll menu
...
* menu.c (mLineU): added
(mLineD): added
(MenuKeymap): C-r, C-s, J, K
(mouse_scroll_line): added
(process_mMouse): drag
BTN4, BTN5
* doc-jp/README.menu: update
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-27 16:28:36 +00:00
Fumitoshi UKAI
161a0e19c5
version.c.in: "w3m/0.3.2.1+cvs
2002-11-27 03:01:25 +00:00
Fumitoshi UKAI
49f02daae5
[w3m-dev 03491] Re: case insensitive regexp search
...
* regex.c (matchWhich): tolower
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-26 18:51:15 +00:00
Fumitoshi UKAI
77e0acc0d3
use local_cookie for support local-cgi commands
...
* file.c (loadGeneralFile): pass Local_cookie to DirBufferCommand
* fm.h (Local_cookie): Str
* local.c (setLocalCookie): Str, set_environ()
(set_cgi_environ): remove LOCAL_COOKIE
* main.c (ldhelp): pass Local_cookie
(adBmark): ditto
* rc.c (optionpanel_src1): cookie
(load_option_panel): pass Local_cookie
* w3mbookmark.c (main): check Local_cookie
* w3mhelperpanel (main): ditto
* scripts/dirlist.cgi.in: ditto
* scripts/w3mhelp.cgi.in: ditto
* scripts/multipart/multipart.cgi.in: ditto
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-26 18:03:18 +00:00
Fumitoshi UKAI
0449e072cc
fix indent
2002-11-26 17:12:25 +00:00
Fumitoshi UKAI
cbda71d2a8
q already html_quote()ed
...
fix indent
2002-11-26 17:12:15 +00:00
Fumitoshi UKAI
d876f85fb9
frame.c (createFrameFile): html_quote()
...
From: Fumitoshi UKAI <ukai@debian.or.jp >
2002-11-26 17:08:00 +00:00
Fumitoshi UKAI
1333e26be1
[w3m-dev 03488] meta refresh in frame
...
* file.c (getMetaRefreshParam): added
(HTMLtagproc1): use getMetaRefreshParam()
* frame.c (createFrameFile): check meta refresh
* proto.h (getMetaRefreshProgram): added
From: Hiroyuki Ito <hito@crl.go.jp >
2002-11-26 17:05:22 +00:00
Fumitoshi UKAI
10daaf6c94
w3m 0.3.2.1 security fix
...
* frame.c (createFrameFile): html_quote()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-26 16:58:48 +00:00
Fumitoshi UKAI
7f473aa262
[w3m-dev 03486] fix of displayLineInfo
...
* display.c (displayBuffer): don't divide by 0
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-26 16:57:39 +00:00
Fumitoshi UKAI
b1d4f79b9d
w3m 0.3.2.1 released
2002-11-26 16:56:41 +00:00
Fumitoshi UKAI
5ca2ac597b
[w3m-dev 03485] fix mouse menu position
...
* main.c (do_mouse_action): use anchor_map is no active_map
check top left corner
(FRAME_WIDTH): added
(menuMs): adjust cursorX using FRAME_WIDTH
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-26 03:42:28 +00:00
Fumitoshi UKAI
5ea0255a68
* NEWS: func: CLOSE_TAB_MOUSE, MENU_MOUSE, MOVE_MOUSE, TAB_MOUSE
...
From: Fumitoshi UKAI <ukai@debian.or.jp >
2002-11-26 02:21:14 +00:00
Fumitoshi UKAI
351581e4df
* doc/README.mouse_menu: deleted
...
* doc/README.mouse: added
* doc-jp/README.mouse_menu: deleted
* doc-jp/README.mouse: added
From: Fumitoshi UKAI <ukai@debian.or.jp >
2002-11-25 17:23:42 +00:00
Fumitoshi UKAI
7caf810e20
* map.c (follow_map_menu): MapArea *a is used ifdef MENU_MAP
...
From: Fumitoshi UKAI <ukai@debian.or.jp >
2002-11-25 17:10:48 +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