Fumitoshi UKAI
13a8362c3b
[w3m-dev 03437] Re: Check image size
...
* fm.h (MAX_IMAGE_SIZE): changed to 2048
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-15 15:58:27 +00:00
Fumitoshi UKAI
875c34f259
fix indent
2002-11-15 15:57:16 +00:00
Fumitoshi UKAI
6a9b87edf9
[w3m-dev 03436] Check image size
...
* file.c (process_img): check w > MAX_IMAGE_SIZE
(HTMLlineproc2body): check w,h > MAX_IMAGE_SIZE
* fm.h (MAX_IMAGE_SIZE): added
* image.c (getImageSize): check w,h,width,height > MAX_IMAGE_SIZE
From: Hiroyuki Ito <hito@crl.go.jp >
2002-11-15 15:56:36 +00:00
Fumitoshi UKAI
073f8a9105
[w3m-dev 03435] save image with SAVE
...
* buffer.c (discardBuffer): check image
* file.c (loadImageBuffer): add st
IMG_FLAG_DONE_REMOVE
s/sourcefile/mailcap_source/
* fm.h (IMG_FLAG_DONT_REMOVE): added
* image.c (drawImage): & IMG_FLAG_LOADED
(deleteImage): & IMG_FLAG_DONT_REMOVE
(showImageProgress): & IMG_FLAG_LOADED
(getImage): & IMG_FLAG_LOADED
(getImageSize): & IMG_FLAG_LOADED
* main.c (vmSrc): delete ifdef USE_IMAGE
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-15 15:51:23 +00:00
Fumitoshi UKAI
3e4b06de9c
fix indent
2002-11-15 15:45:18 +00:00
Fumitoshi UKAI
b0e7bb8bc6
[w3m-dev 03434] Re: cygwin console on Win9X
...
* terms.c (cygwin_mouse_btn_swapped): ifdef USE_MOUSE
(lastConMouse): deleted
(check_win9x): static
(read_win32_console): static
(GetConsoleHwnd): static
(cygwin_version): ifdef USE_MOUSE, static
(check_cygwin_console): static
(NEED_XTERM_ON): added
(NEED_XTERM_OFF): added
(NEED_CYGWIN_ON): added
(NEED_CYGWIN_OFF): added
(XTERM_TITLE): static char[]
(SCREEN_TITLE): static char[]
(CYGWIN_TITLE): static char[]
(term_title): check title_str
* terms.h (LASTLINE): added
(is_xterm): deleted
(enable_win9x_console_input): extern
(disable_win9x_console_input): extern
(NEED_XTERM_ON): deleted
(NEED_XTERM_OFF): deleted
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-15 15:44:36 +00:00
Fumitoshi UKAI
aa1cdab76b
fix indent
2002-11-15 15:37:33 +00:00
Fumitoshi UKAI
7eb27d5b8b
[w3m-dev 03433] cygwin console on Win9X
...
* configure (config.h): SUPPORT_WIN9X_CONSOLE_MBCS
* linein.c (inputLineHistSearch): enable_win9x_console_input()
disable_win9x_console_input()
* main.c (mouse): cygin_mouse_btn_swapped
* terms.c (is_xterm): static
(isLocalConsole): added
(cygwin_mouse_btn_swapped): added
(check_win32_console): deleted
(check_win9x): added
(init_win32_console_handle): check ttyslot()
(enable_win9x_console_input): added
(disable_win9x_console_input): added
(read_win32_console_input): delete ifdef MOUSE
(cmp_tv): deleted
(subtract_tv): deleted
(GetConsoleHwnd): added
(cygwin_version): added
(select_or_poll_win32_console): deleted
(check_cygwin_console): added
(select_win32_console): deleted
(set_tty): check_cygin_console()
(term_title): SetConsoleTitle()
(CYGWIN_ON): added
(CYGIN_OFF): added
(mouse_init): NEED_CYGWIN_ON
(mouse_end): NEED_CYGWIN_OFF
* terms.h (cygwin_mouse_btn_swapped): added
(enable_win9x_console_input): added
(disable_win9x_console_input): added
(NEED_CYGWIN_ON): added
(NEED_CYGWIN_OFF): added
From: WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp >
2002-11-15 15:36:48 +00:00
Fumitoshi UKAI
8b70770b0d
[w3m-dev 03432] Re: tab browser
...
* display.c (displayBuffer): s/buf->LINES/LASTLINES/ in cygwin
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-15 15:23:45 +00:00
Fumitoshi UKAI
e37d03123c
NEWS: func: DOWNLOAD_LIST
2002-11-15 15:21:55 +00:00
Fumitoshi UKAI
719d13ef10
fix indent
2002-11-15 15:21:07 +00:00
Fumitoshi UKAI
62fc785e24
[w3m-dev 03431] save file by background process
...
* file.c (loadGeneralFile): use _doFileCopy()
(_doFileCopy): renamed from doFileCopy()
lock
fork & save
(doFileSave): lock
fork & save
* fm.h (DownloadList): added
(FirstDL): added
(LastDL): added
* form.c (struct internal_action): add download
* funcname.tab (DOWNLOAD_LIST): added
* html.h (URLFile): add url
* main.c (dump_extra): add add_download_list
(main): add_download_list, ldDL()
(_quitfm): added
(quitfm): rewrite with _quitfm()
(qquitfm): ditto
(w3m_exit): stopDownload()
(addDownloadList): added
(checkDownloadList): added
(convert_size3): added
(DownloadListBuffer): added
(download_action): added
(stopDownload): added
(ldDL): added
* proto.h (ldDL): added
(convert_size): added
(convert_size2): added
(doFileCopy): deleted
(_doFileCopy): added
(addDownloadList): added
(stopDownload): added
(checkDownloadList): added
(download_action): added
* url.c (openURL): save url in uf
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-15 15:19:43 +00:00
Fumitoshi UKAI
ccd60ac7b7
[w3m-dev 03430] disable display of alarm command
...
* main.c (SigAlarm): remove display_message_nsec()
(setAlarm): show sec
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-14 17:01:25 +00:00
Fumitoshi UKAI
2d7016bfb0
NEWS: env,rc: https_proxy
...
From: Fumitoshi UKAI <ukai@debian.or.jp >
2002-11-14 16:58:28 +00:00
Fumitoshi UKAI
41139c1337
[w3m-dev 03429] https proxy
...
* fm.h (HTTPS_proxy): added
(HTTPS_proxy_parsed): added
* main.c (main): check https_proxy
* rc.c (CMT_HTTPS_PROXY): added
(https_proxy): added
(parse_proxy): HTTPS_proxy
* url.c (openURL): for HTTPS, use HTTPS_proxy
(schemeToProxy): HTTPS_proxy_parsed
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-14 16:56:22 +00:00
Fumitoshi UKAI
5dee213f2e
[w3m-dev 03428] install manual as w3m.exe.1 on Cygwin
...
* XMakefile (MAN1_TARGET): added
(HELP_TARGET): added
(install): use MAN1_TARGET, HELP_TARGET
(uninstall): use MAN1_TARGET, uninstall HELP_TARGET
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-13 15:53:44 +00:00
Fumitoshi UKAI
57d097cd93
[w3m-dev 03427] Re: Select the nearest map area as default.
...
* map.c (newMapArea): accept sign chars
if points is not enough, return as SHAPE_UNKNOWN
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-13 15:51:39 +00:00
Fumitoshi UKAI
a632426d3c
[w3m-dev 03425] charset of title
...
* display.c (displayBuffer): buffername converted to system coding
for term title
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-13 15:49:00 +00:00
Fumitoshi UKAI
f15e6e885c
[w3m-dev 03424] Content length
...
* file.c (loadGeneralFile): current_content_length before do_download
(save2tmp): current_content_length move before return
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-13 15:47:12 +00:00
Fumitoshi UKAI
3a0ae78f81
[w3m-dev 03422] Re: setting form on loading
...
* form.c (loadPreForm): initialize name
check textarea, name for /textarea
From: Fumitoshi UKAI <ukai@debian.or.jp >
2002-11-12 13:06:14 +00:00
Fumitoshi UKAI
9517adaad9
[w3m-dev 03418] Re: tab browser
...
* display.c (redrawNLine): s/clrtoeol/clrtoeolx/
move rootY
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-12 12:46:53 +00:00
Fumitoshi UKAI
b1b21ada7a
[w3m-dev 03417] install_w3mimgdisplay
...
* configure: define install_w3mimgdisplay
after use_w3mimg_fb determined
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-12 12:44:49 +00:00
Fumitoshi UKAI
54fd2d7e83
fix indent
2002-11-12 12:42:50 +00:00
Fumitoshi UKAI
467a5e015b
[w3m-dev 03415] fix a build issue for 64bit arch
...
* gcmain.c: deleted
* main.c: no need gcmain.c
s/MAIN/main/
* mktable.c: ditto
* w3mbookmark.c: ditto
* w3mhelperpanel.c: ditto
From: Akira TAGOH <at@gclab.org >
2002-11-12 12:41:57 +00:00
Fumitoshi UKAI
00df4c68e6
* doc/w3m.1: update
...
* doc-jp/w3m.1: update
* NEWS: update: -show-option
From: Fumitoshi UKAI <ukai@debian.or.jp >
2002-11-12 12:36:30 +00:00
Fumitoshi UKAI
714821b9d1
[w3m-dev 03414] Re: show parameter
...
* main.c (fusage): add -show-option
(MAIN): check -show-option
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-12 12:24:44 +00:00
Fumitoshi UKAI
2d785076fc
[w3m-dev 03413] Re: setting form on loading
...
* form.c (loadPreForm): add textarea
(preFormUpdateBuffer): submit if value is matched as well
case FORM_TEXTAREA
case FORM_SELECT ifdef MENU_SELECT
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-12 12:22:59 +00:00
Fumitoshi UKAI
2741efbe2c
[w3m-dev 03411] do AUXBIN_TARGETS
...
* scripts/Makefile (all): add AUXBIN_TARGETS
(clean): add AUXBIN_TARGETS
From: Yuji Abe <cbo46560@pop12.odn.ne.jp >
2002-11-12 12:18:29 +00:00
Fumitoshi UKAI
7e6c94ea23
[w3m-dev 03408] edit From in w3mail.cgi
...
* scripts/w3mmail.cgi.in: edit from as well
From: AIDA Shinra <aida-s@jcom.home.ne.jp >
2002-11-11 15:50:28 +00:00
Fumitoshi UKAI
d4b7c51b76
[w3m-dev 03408] fix Bug#87472: MOUSE_SCROLL_LINE should be a run-time option
...
* fm.h (relative_wheel_scroll): added
(fixed_wheel_scroll_count): added
(relative_wheel_scroll_ratio): added
* main.c (mouse_scroll_line): added
(process_mouse): s/MOUSE_SCROLL_LINE/mouse_scroll_line()/
* menu.c (MOUSE_SCROLL_LINE): deleted
* terms.h (MOUSE_SCROLL_LINE): deleted
* rc.c (CMT_RELATIVE_WHEEL_SCROLL): added
(CMT_RELATIVE_WHEEL_SCROLL_RATIO): added
(CMT_FIXED_WHEEL_SCROLL_COUNT): added
(wheelmode): added
(params3): add relative_wheel_scroll,
relative_wheel_scroll_ratio,
fixed_wheel_scroll_count
From: AIDA Shinra <aida-s@jcom.home.ne.jp >
2002-11-11 15:33:28 +00:00
Fumitoshi UKAI
ca91822bb6
[w3m-dev 03407] char GlobalKeymap -> unsigned char GlobalKeymap
...
* fm.h (GlobalKeymap): char->unsigned char
(EscKeymap): ditto
(EscBKeymap): ditto
(EscDKeymap): ditto
(PcKeymap): ditto
* keybind.c: ditto
* keybind_lynx.c: ditto
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-11 15:22:37 +00:00
Fumitoshi UKAI
8f129fd737
[w3m-dev 03406]
...
* scripts/Makefile: add AUXBIN_DIR
update LIB_DIR, HELP_DIR
xface2xpm installed in AUXBIN_DIR
* scripts/multipart/Makefile: update LIB_DIR
* scripts/w3mman/Makefile: update LIB_DIR
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-11 15:19:49 +00:00
Fumitoshi UKAI
df6ec62bf2
[w3m-dev 03405] Re: tab browser
...
* main.c (moveTab): B_FORCE_REDRAW
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-11 15:16:37 +00:00
Fumitoshi UKAI
45480db6f7
close Bug#96349
2002-11-11 15:14:54 +00:00
Fumitoshi UKAI
b9be47c6d5
[w3m-dev 03401] w3mhelp.cgi
...
* proto.h (tabMn): nulcmd ifndef USE_MENU
* scripts/w3mhelp-funcdesc.en.pl.in: add LINEEDIT:EDITOR
* scripts/w3mhelp-funcdesc.ja.pl.in: add LINEEDIT:EDITOR
Tab operation
* scripts/w3mhelp-funcname.pl.in: add LINEEDIT:EDITOR C-o
* scripts/w3mhelp.cgi.in: add tabA in Hyperlink operation
add tabURL, tabrURL in File/Stream operation
add Tab operation
add lineedit_editor in Line edit mode
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-10 11:59:15 +00:00
Fumitoshi UKAI
3198a2ba23
[w3m-dev 03399]
...
* XMakefile: ;; -> ;
From: NOMIYA Masaru <nomiya@ttmy.ne.jp >
2002-11-10 11:42:12 +00:00
Fumitoshi UKAI
d7ed8ae7d7
[w3m-dev 03398] auxbindir
...
* XMakefile: EXT_TARGETS -> LIB_TARGETS, AUXBIN_TARGETS
* config.h.dist: add AUXBIN_DIR
LIB_DIR is cgi-bin
* configure: add -auxbindir
add AUXBIN_DIR
LIB_DIR is cgi-bin
EXT_TARGETS -> LIB_TARGETS, AUXBIN_TARGETS
* file.c (compression_decoder): libfile_p -> auxbin_p
(check_command): libfile_p -> auxbin_p
use w3m_auxbin_dir() instead of w3m_lib_dir()
(acceptableEncoding): libfile_p -> auxbin_p
(xface2xpm): use auxbinFile() instead of libFile()
(uncompress_stream): libfile_p -> auxbin_p
use auxbinFile() instead of libFile()
* image.c (getCharSize): use w3m_auxbin_dir() instead of w3m_lib_dir()
(openImgdisplay): use w3m_auxbin_dir() instead of w3m_lib_dir()
* indep.c (w3m_auxbin_dir): added
* indep.h (w3m_auxbin_dir): added
* proto.h (auxbinFile): added
* rc.c (auxbinFile): added
(libFile): #if 0, no longer used
(helpFile): used only #ifndef USE_HELP_CGI
* NEWS: separate auxbindir and libdir (local-CGI, file:///$LIB/)
From: Fumitoshi UKAI <ukai@debian.or.jp >
2002-11-09 21:55:24 +00:00
Fumitoshi UKAI
f5c7af1d39
[w3m-dev 03396] Re: meta refresh problem
...
* main.c (MAIN): AL_IMPLICIT -> alarm_status
(SigAlarm): AL_IMPLICIT -> alarm_status
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-08 17:32:50 +00:00
Fumitoshi UKAI
fe0784be6f
fix indent
2002-11-08 16:11:49 +00:00
Fumitoshi UKAI
88a72cc0e5
[w3m-dev 03391] use editor when input at last line
...
* linein.c (_editor): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-08 16:09:58 +00:00
Fumitoshi UKAI
e3eca6c348
update TODO
2002-11-08 16:08:06 +00:00
Fumitoshi UKAI
ca5ffe8720
[w3m-dev 03390] some fixes related with form
...
* form.c (input_textarea): goto input_end
unlink(tmpf);
* main.c (_followForm): s/TEXT/Password/
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-08 16:07:03 +00:00
Fumitoshi UKAI
46a41a06e8
update TODO
2002-11-08 16:06:51 +00:00
Fumitoshi UKAI
7748f7d2c3
[w3m-dev 03388] meta refresh problem
...
* fm.h (AL_IMPLICIT_DONE): 3->4
(AL_ONCE): 8
(AL_IMPLICIT_ONCE): (AL_IMPLICIT|AL_ONCE)
* main.c (MAIN): & AL_IMPLICIT, & AL_IMPLICIT_DONE
(SigAlarm): & AL_IMPLICIT, & AL_IMPLICIT_DONE, & AL_ONCE
(setAlaramEvent): & AL_IMPLICIT
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-08 16:01:18 +00:00
Fumitoshi UKAI
885e5cad27
[w3m-dev 03387] Re: tab browser
...
* buffer.c (newBuffer): buf->LINES initialize
(gotoLine): use buf->LINES
(gotoRealLine): use buf->LINES
* display.c (displayBuffer): check by buf->LINES
(redrawNLine): buf->LINES
(redrawLine): buf->LINES
(redrawLineImage): no need buf->rootY
(cursorDown): buf->LINES
(arrangeCursor): buf->LINES
* etc.c (columnSkip): buf->LINES
(lineSkip): buf->LINES
(currentLineSkip): buf->LINES
* fm.h (Buffer): add LINES
* main.c (nscroll): Currentbuf->LINES
(pgFore): Currentbuf->LINES
(pgBack): Currentbuf->LINES
(ctrCsrV): Currentbuf->LINES
(movD): Currentbuf->LINES
(movU): Currentbuf->LINES
(_goLine): Currentbuf->LINES
(drawAnchorCursor): Currentbuf->LINES
(setOpt): B_REDRAW_IMAGE
(newT): B_REDRAW_IMAGE
(closeT): B_REDRAW_IMAGE
(nextT): B_REDRAW_IMAGE
(prevT): B_REDRAW_IMAGE
(moveTab): B_NORMAL
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-08 15:54:46 +00:00
Fumitoshi UKAI
9f17edac44
[w3m-dev 03386] Re: Interrupt in no_proxy_check()
...
* file.c (getAuthCookie): term_cbreak()
(loadGeneralFile): term_cbreak()
term_raw()
preFormUpdateBuffer() before term_raw()
(loadHTMLstream): term_raw()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-11-08 15:46:05 +00:00
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