| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* frame.c (createFrameFile): html_quote()
From: 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
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [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>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
|
|
|
| |
* doc/README.mouse: added
* doc-jp/README.mouse_menu: deleted
* doc-jp/README.mouse: added
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
| |
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
| |
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
| |
* 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
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
|
| |
* file.c (doExternal): UFclose(&uf);
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
|
|
|
| |
(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
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
|
|
| |
* etc.c (myExec): added
(mySystem): rewrite to use myExec()
* file.c (doExternal): run background if BackgroundExtViewer
* proto.h (myExec): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
| |
* doc-jp/README.mouse_menu: ditto
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
|
|
|
| |
* main.c (delBuffer): static
(fusage): -N
(main): add open_new_tab for -N
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
| |
* doc-jp/README.mouse_menu: added
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
| |
* terms.c (mouse_init): ifdef __CYGWIN__
(mouse_end): ditto
From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
|
|
|
|
| |
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
|
| |
* doc-jp/README.func (DOWNLOAD_LIST): added
* doc/README.func (DOWNLOAD_LIST): added
* scripts/w3mhelp.cgi.in (Miscellany): add ldDL
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
|
|
| |
* url.c (KeyAbort): SIGNAL_RETURN
* .cvsginore: delete w3mimgsize
* scripts/.cvsignore: delete xface2xbm
* scripts/xface2xbm.in: deleted
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
| |
* main.c (download_action): buffer management deleted
(ldDL): buffer management moved here
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
| |
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
|
|
|
|
|
| |
* 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
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
| |
* main.c (main): display download list
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
| |
* display.c (redrawNLine): check 1st line
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
| |
* form.c (preFormUpdateBuffer): ifdef MENU_SELECT
From: Fumitoshi UKAI <ukai@debian.or.jp>
|
|
|
|
|
|
|
| |
* file.c (_doFileCopy): use conv_from_system()
(doFileSave): conv_from_system()
* main.c (DownloadListBuffer): conv_from_system()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
| |
* table.c (check_table_height): check MAXROWCELL
* table.h (MAXROWCELL): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
| |
* fm.h (MAX_IMAGE_SIZE): changed to 2048
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* display.c (displayBuffer): s/buf->LINES/LASTLINES/ in cygwin
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
* main.c (SigAlarm): remove display_message_nsec()
(setAlarm): show sec
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
|
|
|
|
| |
From: Fumitoshi UKAI <ukai@debian.or.jp>
|