aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-26 07:09:09 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-26 07:09:09 +0000
commitccb89b45335feaf9f803f3ba9cda468604416c39 (patch)
tree83d4db1397ed18e5cbfab738be4c906ce1f9df03
parentbranch version (diff)
downloadw3m-ccb89b45335feaf9f803f3ba9cda468604416c39.tar.gz
w3m-ccb89b45335feaf9f803f3ba9cda468604416c39.zip
w3m 0.3.2 branch: backport from trunk
* [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>
Diffstat (limited to '')
-rw-r--r--ChangeLog1046
-rw-r--r--table.c10
-rw-r--r--table.h4
3 files changed, 6 insertions, 1054 deletions
diff --git a/ChangeLog b/ChangeLog
index 8631747..a87a05d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,1044 +1,6 @@
2002-11-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
- * [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
-
-2002-11-26 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * NEWS: func: CLOSE_TAB_MOUSE, MENU_MOUSE, MOVE_MOUSE, TAB_MOUSE
-
-2002-11-26 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * doc/README.mouse_menu: deleted
- * doc/README.mouse: added
- * doc-jp/README.mouse_menu: deleted
- * doc-jp/README.mouse: added
-
-2002-11-26 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * map.c (follow_map_menu): MapArea *a is used ifdef MENU_MAP
- * func.c (initMouseAction): remove unsed variables: x, width, map
-
-2002-11-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-26 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03476] Re: Bug#170506: w3m: Unable to use mozilla bugzilla
- * file.c (HTMLtagproc1): initialize ignore_tag in table_mode
- (HTMLtagproc0): check table_level
- * table.c (feed_table_tag): set mode->ignore_tag
- * table.h (struct table_mode): add ignore_tag
-
-2002-11-25 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * [w3m-dev 03471] Re: SETPGRP()
- * configure: SETPGRP() always defined
- * proto.h (close_all_fds): added
- (myExec): #ifdef HAVE_SETPGRP
- * etc.c (close_all_fds): added
- (myExec): #ifdef HAVE_SETPGRP
- (mySystem): #ifndef -> #ifdef
- * file.c (_doFileCopy): delete #ifdef HAVE_SETPGRP
- (doFileSave): ditto
- * image.c (openImgdisplay): delete #ifdef HAVE_SETPGRP
- use close_all_fds()
- * search.c (open_migemo): ditto
-
-2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03466] Re: background download when external viewer
- * file.c (doExternal): UFclose(&uf);
-
-2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03464] Re: case insensitive regexp search
- (rewrite [w3m-dev 03462] by Hiroyuki Ito <hito@crl.go.jp>)
- * regex.c (matchWhich): add int
- (newRegex0): igncase
- (regmatch1): matchWhich with re->mode & RE_IGNCASE
- (matchWhich): add igncase
-
-2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03459] background download when external viewer
- * etc.c (myExec): added
- (mySystem): rewrite to use myExec()
- * file.c (doExternal): run background if BackgroundExtViewer
- * proto.h (myExec): added
-
-2002-11-23 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * doc/README.mouse_menu: delete column 10 limit
- * doc-jp/README.mouse_menu: ditto
-
-2002-11-23 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-22 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * NEWS: options: -N
-
-2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03457] open URL of command line on each new tabs
- * main.c (delBuffer): static
- (fusage): -N
- (main): add open_new_tab for -N
-
-2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03456] tiling of tab
- * display.c (displayBuffer): use LastTab->y
- (redrawNLine): fix column calculation
- * fm.h (TabBuffer): add x1, x2, y
- * main.c (calcTabPos): added
- (main): calcTabPos()
- (mouse_scroll_line): rewrite
- (process_mouse): use LastTab->y
- (_newT): calcTabPos()
- (calcTabPos): added
- (deleteTab): calcTabPos()
- (moveTab): calcTabPos()
-
-2002-11-22 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * doc/README.mouse_menu: added
- * doc-jp/README.mouse_menu: added
-
-2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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()
-
-2002-11-22 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * NEWS: func: NEXT, PREV
-
-2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03454] next / previous buffer
- * funcname.tab (NEXT): added
- (PREV): added
- * main.c (nextBf): added
- (prevBf): added
- * proto.h (nextBf): added
- (prevBf): added
- * doc/README.func (NEXT): added
- (PREV): added
- * doc-jp/README.func (NEXT): added
- (PREV): added
- * scripts/w3mhelp.cgi.in (Buffer operation): nextBf prevBf
-
-2002-11-20 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * NEWS: rc: image_map_list
-
-2002-11-20 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03452] image map
- * display.c (displayBuffer): use getCurrentMapLabel()
- * fm.h (MapArea): delete ifdef MENU_MAP
- (image_map_list): added
- * main.c (followA): don't call retrieveCurrentImg() ifdef USE_IMAGE
- use retrieveCurrentMap() ifndef USE_IMAGE
- (_followForm): indent
- (drawAnchorCursor0): add AnchorList
- (drawAnchorCuror): pass AnchorList to drawAnchorCursor0
- (follow_map): follow_map_panel
- * map.c (searchMapList): added
- (nearestMapArea): n, min default value to -1
- (searchMapArea): added
- (getCurrentMapLabel): added
- (getMapXY): moved
- (retrieveCurrentMap): added
- (follow_map_menu): parsed_tagarg -> name
- rewrite to search map list/area
- (follow_map_panel): parsed_tagarg -> name
- rewrite to search map list/area
- (newMapArea): delete ifdef MENU_MAP
- (append_map_info): added
- (page_info_panel): append_map_info
- * proto.h (follow_map_menu): parsed_tagarg -> name
- (follow_map_panel): parsed_tagarg -> name
- (getCurrentMapLabel): added
- (retrieveCurrentMap): added
- * rc.c (CMT_IMAGE_MAP_LIST): added
- (image_map_list): added
-
-2002-11-20 Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
-
- * [w3m-dev 03450] Re: cygwin console on Win9X
- * terms.c (mouse_init): ifdef __CYGWIN__
- (mouse_end): ditto
-
-2002-11-19 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * ftp.c (ftp_fclose): void return
-
-2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03444] download from ftp.
- * file.c (FTPhalfclose: static
- (loadGeneralFile): UFclose
- FTPhalfclose for SCM_FTP
- UFclose before signal back
- (loadImageBuffer): UFclose before signal back
- (openGeneralPagerBuffer): UFclose
- * ftp.c (ftp_fclose): added
- (Ftpfclose): dont read response(), but ftp_fclose()
- (FtpBye): ftp_fclose()
-
-2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03449] Add DOWNLOAD_LIST to doc*/README.func and scripts/w3mhelp.cgi.in
- * doc-jp/README.func (DOWNLOAD_LIST): added
- * doc/README.func (DOWNLOAD_LIST): added
- * scripts/w3mhelp.cgi.in (Miscellany): add ldDL
-
-2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03448] Some fixes
- * url.c (KeyAbort): SIGNAL_RETURN
- * .cvsginore: delete w3mimgsize
- * scripts/.cvsignore: delete xface2xbm
- * scripts/xface2xbm.in: deleted
-
-2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03447] Re: Open download list panel on new tab
- * main.c (download_action): buffer management deleted
- (ldDL): buffer management moved here
-
-2002-11-19 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * NEWS: rc: open_tab_dl_list
-
-2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03446] Open download list panel on new tab
- * fm.h (open_tab_dl_list): added
- * main.c (download_action): buffer delete when download done
- (ldDL): open buf in new tab if open_tab_dl_list
- * rc.c (CMT_OPEN_TAB_DL_LIST): added
- (open_tab_dl_list): added
-
-2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03445] download list for "w3m foo.tar.gz"
- * main.c (main): display download list
-
-2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03443] Can't display "echo only_one_line | w3m"
- * display.c (redrawNLine): check 1st line
-
-2002-11-16 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * [w3m-dev 03442] Re: setting form on loading
- * form.c (preFormUpdateBuffer): ifdef MENU_SELECT
-
-2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03441] charset of save file
- * file.c (_doFileCopy): use conv_from_system()
- (doFileSave): conv_from_system()
- * main.c (DownloadListBuffer): conv_from_system()
-
-2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03440] Re: restore alarm event
- * fm.h (BP_RELOAD): added
- (DOWNLOAD_LIST_TITLE): added
- * main.c (main): if BP_RELOAD, do reload
- (reload): if buffer is DOWNLOAD_LIST, ldDL()
- (DownloadListBuffer): rewrite with DOWNLOAD_LIST_TITLE
- (download_action): delete "update"
- don't delete prev buffer
- (ldDL): rewrite to do reload
-
-2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03439] restore alarm event
- * fm.h (AL_RESTORE): added
- * main.c (alarm_sec): deleted
- (alarm_status): deleted
- (alarm_buffer): deleted
- (alarm_event): deleted
- (AlarmEvent): added
- (CurrentAlarm): added
- (PrevAlarm): added
- (main): rewrite with CurrentAlarm
- (SigAlarm): rewrite with CurrentAlarm
- (copyAlarmEvent): added
- (setAlarm): if AL_RESTORE, copy back from PrevAlarm
- rewrite with CurrentAlarm
-
-2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03438] Re: segmentation fault by large complex table.
- * table.c (check_table_height): check MAXROWCELL
- * table.h (MAXROWCELL): added
-
-2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03437] Re: Check image size
- * fm.h (MAX_IMAGE_SIZE): changed to 2048
-
-2002-11-16 Hiroyuki Ito <hito@crl.go.jp>
-
- * [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
-
-2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-16 WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp>
-
- * [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
-
-2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03432] Re: tab browser
- * display.c (displayBuffer): s/buf->LINES/LASTLINES/ in cygwin
-
-2002-11-16 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * NEWS: func: DOWNLOAD_LIST
-
-2002-11-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03430] disable display of alarm command
- * main.c (SigAlarm): remove display_message_nsec()
- (setAlarm): show sec
-
-2002-11-15 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * NEWS: env,rc: https_proxy
-
-2002-11-15 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03425] charset of title
- * display.c (displayBuffer): buffername converted to system coding
- for term title
-
-2002-11-14 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03424] Content length
- * file.c (loadGeneralFile): current_content_length before do_download
- (save2tmp): current_content_length move before return
-
-2002-11-12 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * [w3m-dev 03422] Re: setting form on loading
- * form.c (loadPreForm): initialize name
- check textarea, name for /textarea
-
-2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03418] Re: tab browser
- * display.c (redrawNLine): s/clrtoeol/clrtoeolx/
- move rootY
-
-2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03417] install_w3mimgdisplay
- * configure: define install_w3mimgdisplay
- after use_w3mimg_fb determined
-
-2002-11-12 Akira TAGOH <at@gclab.org>
-
- * [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
-
-2002-11-12 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * doc/w3m.1: update
- * doc-jp/w3m.1: update
- * NEWS: update: -show-option
-
-2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03414] Re: show parameter
- * main.c (fusage): add -show-option
- (MAIN): check -show-option
-
-2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-12 Yuji Abe <cbo46560@pop12.odn.ne.jp>
-
- * [w3m-dev 03411] do AUXBIN_TARGETS
- * scripts/Makefile (all): add AUXBIN_TARGETS
- (clean): add AUXBIN_TARGETS
-
-2002-11-12 AIDA Shinra <aida-s@jcom.home.ne.jp>
-
- * [w3m-dev 03408] edit From in w3mail.cgi
- * scripts/w3mmail.cgi.in: edit from as well
-
-2002-11-12 AIDA Shinra <aida-s@jcom.home.ne.jp>
-
- * [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
- * NEWS: updated
-
-2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03405] Re: tab browser
- * main.c (moveTab): B_FORCE_REDRAW
-
-2002-11-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-10 NOMIYA Masaru <nomiya@ttmy.ne.jp>
-
- * [w3m-dev 03399]
- * XMakefile: ;; -> ;
-
-2002-11-10 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * [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/)
-
-2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03396] Re: meta refresh problem
- * main.c (MAIN): AL_IMPLICIT -> alarm_status
- (SigAlarm): AL_IMPLICIT -> alarm_status
-
-2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03391] use editor when input at last line
- * linein.c (_editor): added
-
-2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03390] some fixes related with form
- * form.c (input_textarea): goto input_end
- unlink(tmpf);
- * main.c (_followForm): s/TEXT/Password/
-
-2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-09 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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()
-
-2002-11-07 Katsumi@yamaoka.cc
-
- * [w3m-dev 03385] install-sh typo
- * install-sh: s/'/"/
-
-2002-11-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03382] Interrupt in no_proxy_check()
- * url.c (check_no_proxy): SIGINT trap by KeyAbort
-
-2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03380] fix configure
- * configure: s/INSTALL_W3MIMGDISPLAY/install_w3mimgdisplay/
- already define
- * config.h.dist (INSTALL_W3MIMGDISPLAY): added
-
-2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * [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
-
-2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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()
-
-2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [w3m-dev 03375] NULL check of CurrentTab
- * display.c (disp_message_nsec): check CurrentTab
- * file.c (doExternal): check CurrentTab
- * image.c (loadImage): check CurrentTab
-
-2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * [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
-
-2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * NEWS: update
-
-2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * rc.c (CMT_PRE_FORM_FILE): added
- (pre_form_file): added
-
-2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * doc-jp/README.tab: added [w3m-dev 03372]
- * doc/README.tab: brief translation
-
-2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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
-
-2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * doc-jp/README.pre_form: added [w3m-dev 03373]
- * doc/README.pre_form: brief translation
-
-2002-11-06 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * 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
-
-2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
- * [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()
-
-2002-11-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-
+ * w3m 0.3.2 branch: backport from trunk
* [w3m-dev 03371] segmentation fault by large complex table.
* table.c (bsearch_2short): indexarry char to short
(bsearch_double): ditto
@@ -1057,10 +19,6 @@
* doc-jp/README: ditto
* NEWS: update
-2002-11-05 Fumitoshi UKAI <ukai@debian.or.jp>
-
- * scripts/w3mhelp.cgi.in: add chkWORD
-
2002-11-04 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev-en 00827] Re: w3m-cvs segfaults on news://<mid> URLs
@@ -5156,4 +4114,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.558 2002/11/26 03:42:28 ukai Exp $
+$Id: ChangeLog,v 1.467.4.1 2002/11/26 07:09:09 ukai Exp $
diff --git a/table.c b/table.c
index afcf6a2..6949b3b 100644
--- a/table.c
+++ b/table.c
@@ -1,4 +1,4 @@
-/* $Id: table.c,v 1.31 2002/11/25 16:39:53 ukai Exp $ */
+/* $Id: table.c,v 1.27.4.1 2002/11/26 07:09:09 ukai Exp $ */
/*
* HTML table
*/
@@ -1518,8 +1518,6 @@ check_table_height(struct table *t)
if (cell.row[idx] == j && cell.rowspan[idx] == rowspan)
c = idx;
}
- if (c >= MAXROWCELL)
- continue;
if (c >= cell.size) {
if (cell.size == 0) {
cell.size = max(MAXCELL, c + 1);
@@ -1544,7 +1542,7 @@ check_table_height(struct table *t)
cell.rowspan[cell.maxcell] = rowspan;
cell.height[cell.maxcell] = 0;
if (cell.maxcell > k) {
- int ii;
+ int ii;
for (ii = k; ii < cell.maxcell; ii++)
cell.indexarray[ii + 1] = cell.indexarray[ii];
}
@@ -2661,7 +2659,7 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
cell->minimum_width[cell->maxcell] = 0;
cell->fixed_width[cell->maxcell] = 0;
if (cell->maxcell > k) {
- int ii;
+ int ii;
for (ii = k; ii < cell->maxcell; ii++)
cell->index[ii + 1] = cell->index[ii];
}
@@ -2969,11 +2967,9 @@ feed_table_tag(struct table *tbl, char *line, struct table_mode *mode,
break;
case HTML_SCRIPT:
mode->pre_mode |= TBLM_SCRIPT;
- mode->ignore_tag = Strnew_charp("</script>");
break;
case HTML_STYLE:
mode->pre_mode |= TBLM_STYLE;
- mode->ignore_tag = Strnew_charp("</style>");
break;
case HTML_N_A:
table_close_anchor0(tbl, mode);
diff --git a/table.h b/table.h
index dc5e8ca..989969e 100644
--- a/table.h
+++ b/table.h
@@ -1,4 +1,4 @@
-/* $Id: table.h,v 1.8 2002/11/25 16:39:53 ukai Exp $ */
+/* $Id: table.h,v 1.5.6.1 2002/11/26 07:09:09 ukai Exp $ */
#if (defined(MESCHACH) && !defined(MATRIX))
#define MATRIX
#endif /* (defined(MESCHACH) && !defined(MATRIX)) */
@@ -34,7 +34,6 @@ typedef unsigned short table_attr;
#define TBL_IN_COL 4
#define MAXCELL 20
-#define MAXROWCELL 1000
struct table_cell {
short col[MAXCELL];
short colspan[MAXCELL];
@@ -139,7 +138,6 @@ struct table_mode {
short nobr_offset;
char nobr_level;
short anchor_offset;
- Str ignore_tag;
};
/* Local Variables: */