aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * merge ambiguous width patchIto Hiroyuki2010-07-251-2/+2
| | | | * http://www.j10n.org/files/w3m-cvs-1.914-ambwidth.patch
* * [w3m-dev 04321] Re: w3m's bugs from bugs.debian.orgIto Hiroyuki2010-07-191-2/+2
| | | | | | | | | | * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261174#10 * terms.c (graph_ok): check UseGraphicChar is GRAPHIC_CHAR_ALL or not. * symbol.c (get_symbol): check UseGraphicChar. * rc.c (graphic_char_str): added. * main.c (sig_chld): use GRAPHIC_CHAR_ASCII and GRAPHIC_CHAR_ALL. * fm.h (GRAPHIC_CHAR_ASCII, GRAPHIC_CHAR_CHARSET, GRAPHIC_CHAR_ALL): added. * fm.h: UseGraphicChar is initialized as GRAPHIC_CHAR_ASCII.
* fix version check logic for FreeBSDIto Hiroyuki2010-07-181-2/+2
| | | | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493486
* add handling xterm-incompatible terminals without gpm. [w3m-dev 04278]Dai Sato2007-06-071-2/+3
|
* add #ifdef __CYGWIN__. [w3m-dev 04265]Dai Sato2007-05-301-1/+3
|
* [w3m-dev 04155] fix for minpw.Dai Sato2007-05-231-1/+82
|
* rewind to 10 Feb 2006.Dai Sato2006-04-071-120/+1
|
* apply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006.Dai Sato2006-04-051-1/+120
|
* [w3m-dev 04133] mouse_end() should preced reset_tty()?Fumitoshi UKAI2005-01-181-2/+2
| | | | | * terms.c (reset_exit): mouse_end() should precede reset_tty() From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 04092] remove __CYGWIN__ && LANG == JAFumitoshi UKAI2004-07-151-15/+20
| | | | | | * remove condition LANG == JA && __CYGWIN__ * cygwin_mouse_btn_swapped enabled when before 1.5.x From: WATANABE Katsuyuki <knabe@sannet.ne.jp>
* Bug#217509: segfaults if TERM is not setFumitoshi UKAI2003-12-081-8/+12
| | | | | | * terms.c (check_cygwin_console): check TERM==NULL (set_tty): check TERM==NULL From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix build error --disbable-m17nFumitoshi UKAI2003-10-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * config.h.in: undef USE_M17N, USE_UNICODE * etc.c (url_unquote_conv): USE_M17N * file.c (convertLine): USE_M17N (loadHTMLStream): fix ifdef USE_IMAGE->USE_M17N (loadBuffer): fix USE_M17N (getNextPage): fix USE_M17N * fm.h (USE_M17N): don't define USE_M17N in case LANG == JA (this should be done by configure) (wc_ces): dummy typedef (wc_Str_conv): fix non-m17n macro args (wc_Str_conv_strict): ditto * ftp.c (loadFTPDir): fix undefined USE_M17N * mimehead.c (decodeWord): ditto (decodeMIME): ditto * news.c (loadNewsgroup): ditto * proto.h (convertLine): ditto (loadGopherDir): ditto (loadFTPDir): ditto (loadNewsgroup): ditto (decodeWord): ditto (decodeMIME): ditto (url_unquote_conv): ditto * terms.c (SETCH): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* merge m17n patchFumitoshi UKAI2003-09-221-251/+219
| | | | add libwc
* [w3m-dev 03772] Compilation error on Cygwin B20.1Fumitoshi UKAI2003-02-231-4/+7
| | | | | | * terms.c (term_title): use Sprintf() instead of snprintf() * doc-jp/README.cygwin doc/README.cygwin: add note about B20.1 From: patakuti@t3.rim.or.jp
* [w3m-dev 03765] Re: README.cygwinFumitoshi UKAI2003-02-211-2/+2
| | | | | * doc/README.cygwin: translated From: WATANABE Katsuyuki <knabe@sannet.ne.jp>
* [w3m-dev 03758] Re: SVR4 signal behaviorFumitoshi UKAI2003-02-181-13/+13
| | | | | | | | | | | | | | | | | | | | | | | * etc.c (reset_signals): use mySignal() (setup_child): ditto (myExec): ditto (mySignal): added, use sigaction if available * fm.h (TRAP_ON): use mySignal (TRAP_OFF): ditto * istream.c (ISclose): ditto * main.c (sig_chld): ditto (main): ditto (do_dump): ditto (resize_hook): ditto (resize_handler): ditto (srchcore): ditto (readsh): ditto (SigAlarm): ditto * proto.h (mySignal): added * terms.c (error_dump): use mySignal() (set_int): ditto (mouse_init): ditto From: Atsushi YOKOYAMA <yoko-a@cmh.fuchu.toshiba.co.jp>
* fix indentFumitoshi UKAI2003-02-061-2/+2
|
* [w3m-dev 03732] Re: scroll() is slow ?Fumitoshi UKAI2003-02-061-2/+7
| | | | | | | | | | | | | * configure (use_raw_scroll): added (config.h) use_raw_scroll * config.h.dist (USE_RAW_SCROLL): added * display.c (displayBuffer): ifdef USE_RAW_SCROLL * proto.h (scroll): ifdef USE_RAW_SCROLL (rscroll): ditto (need_clrtoeol): if 0 (terms.c): if 0 need_clrtoeol (scroll_raw): ifdef USE_RAW_SCROLL From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03622] Re: Error occured while resetFumitoshi UKAI2003-01-101-14/+12
| | | | | | | | | | * file.c (uncompress_stream): child process initialized * terms.c (close_tty): close unless stdin,out,err (reset_tty): flush_tty, close_tty (write1): flush_tty (refresh): flush_tty (flush_tty): check ttyf From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03582] add config options graphic_char and use_proxyFumitoshi UKAI2002-12-181-2/+2
| | | | | | | | | | | | | | | * 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>
* [w3m-dev 03559] Re: use select instead of signal for loading imagesFumitoshi UKAI2002-12-111-4/+6
| | | | | | | | | | | | | | | | * 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>
* [w3m-dev-en 00841] Re: w3m segfaults if the terminal is not writableFumitoshi UKAI2002-12-041-2/+3
| | | | | * terms.c (reset_tty): don't close stderr From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03450] Re: cygwin console on Win9XFumitoshi UKAI2002-11-191-1/+5
| | | | | | * terms.c (mouse_init): ifdef __CYGWIN__ (mouse_end): ditto From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
* fix indentFumitoshi UKAI2002-11-151-2/+2
|
* [w3m-dev 03434] Re: cygwin console on Win9XFumitoshi UKAI2002-11-151-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* fix indentFumitoshi UKAI2002-11-151-13/+13
|
* [w3m-dev 03433] cygwin console on Win9XFumitoshi UKAI2002-11-151-155/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 03379] setuid w3mimgdisplay and check console ttyFumitoshi UKAI2002-11-061-1/+7
| | | | | | | | | | | | | | | | | | | | | | | * 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 From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03297] TERM=mltermFumitoshi UKAI2002-09-091-1/+2
| | | | | * terms.c (w3m_term_info_list): add mlterm From: Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
* terms.c (set_tty): s/term_info/w3m_term_info/g;Fumitoshi UKAI2002-03-271-17/+17
| | | | | | struct term_info is defined in FreeBSD's sys/consio.h reported by KOIE Hidetaka <hide@koie.org> From: Fumitoshi UKAI <ukai@debian.or.jp>
* terms.c (term_title): use ttyf instead of stderrFumitoshi UKAI2002-03-201-2/+2
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* indent fixFumitoshi UKAI2002-03-151-3/+3
|
* -title supportFumitoshi UKAI2002-03-151-16/+48
| | | | | | | | | | | | | | | | | | | | modified [w3m-dev-en 00710] contrib: unofficial "xterm title" patch, updated for w3m-0.3 by Moritz Barsnick <barsnick@gmx.net> * NEWS: -title * fm.h (displayTitleTerm): added * proto.h (term_title): added * main.c (fusage): add -title (MAIN): add -title (quitfm): term_title("") * display.c (displayBuffer): term_title() * terms.c (title_str): added (TERM_INFO): added (term_info): modified from mouse_term_info (term_info_list): modified from xterm_mouse_term add "screen" (set_tty): check displayTitleTerm (term_title): added From: Fumitoshi UKAI <ukai@debian.or.jp>
* w3m-img merge (w3m-0.2.4+cvs-1.278-img-2.2.patch.gz)Fumitoshi UKAI2002-01-311-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS: w3m-img merge * .cvsignore: add w3mimgdisplay, w3mimgsize * XMakefile: add image.c to SRCS add image.o to OBJS add IMGDISPLAY, IMGSIZE * config.h.dist: USE_IMAGE, IMGSIZE, IMGDISPLAY * configure: add find_imlib ask use_image (config.h) add $imgtarget to EXT_TARGETS $def_use_image IMGSIZE, IMGDISPLAY * fm.h (MAX_IMAGE): added * fm.h (DEFAULT_PIXEL_PER_CHAR): fix for USE_IMAGE * fm.h (DEFAULT_PIXEL_PER_LINE): added * fm.h (B_REDRAW_IMAGE): added * fm.h (IMG_FLAG_SKIP): added * fm.h (IMG_FLAG_AUTO): added * fm.h (IMG_FLAG_START): added * fm.h (IMG_FLAG_STOP): added * fm.h (IMG_FLAG_NEXT): added * fm.h (IMG_FLAG_UNLOADED): added * fm.h (IMG_FLAG_LOADED): added * fm.h (IMG_FLAG_ERROR): added * fm.h (MapArea): added * fm.h (MapList): s/urls/alts/, add area * fm.h (ImageCache): added * fm.h (Image): added * fm.h (Anchor): add image * fm.h (Buffer): add imarklist, image_flag, need_reshape * fm.h (RG_FRAME_SRC): added * fm.h (ALIGN_MIDDLE): added * fm.h (ALIGN_TOP): added * fm.h (ALIGN_BOTTOM): added * fm.h (QuietMessage): added * fm.h (Imgdisplay): added * fm.h (Imgsize): added * fm.h (activeImage): added * fm.h (displayImage): added * fm.h (autoImage): added * fm.h (useExtImageViewer): added * fm.h (image_source): added * fm.h (view_unseenobject): change default if USE_IMAGE * fm.h (set_pixel_per_char): added * fm.h (pixel_per_line): added * fm.h (set_pixel_per_line): added * fm.h (image_scale): added * proto.h (dispI): added * proto.h (stopI): added * proto.h (deleteImage): added * proto.h (getAllImage): added * proto.h (loadImage): added * proto.h (getImage): added * proto.h (getImageSize): added * proto.h (process_img): add width arg * proto.h (loadImageBuffer): added * proto.h (follow_map_menu): add a_img arg * proto.h (getMapXY): added * proto.h (newMapArea): added * proto.h (touch_cursor): added * proto.h (cURLcode): added * proto.h (initImage): added * proto.h (termImage): added * proto.h (addImage): added * proto.h (drawImage): added * proto.h (clearImage): added * anchor.c (addMultirowsImg): added * buffer.c (discardBuffer): deleteImage if USE_IMAGE * buffer.c (reshapeBuffer): buf->need_reshape check * display.c (fmTerm): if activeImage, stop load image * display.c (fmInit): if displayImage, initImage * display.c (image_touch): added * display.c (draw_image_flag): added * display.c (redrawLineImage): added * display.c (displayBuffer): buf->need_reshape = TRUE mode == B_REDRAW_IMAGE image flag checks force redraw image in mode == B_REDRAW_IMAGE displayBuffer if need reshape drawImage * display.c (redrawNLine): redrawLineImage * display.c (redrawLineImage): added * display.c (disp_message_nsec): return immediately if QuietMessage * etc.c (reset_signals): ignore SIGUSR1 * file.c (frame_source): added * file.c (_MoveFile): added * file.c (cur_baseURL): added * file.c (cur_document_code): added * file.c (cur_iseq): added * file.c (loadGeneralFile): fix fmInitialized and prevtrap checks save cur_baseURL image_source load loadImageBuffer for "image/*" frame_source flag fix b->type when proc is loadImageBuffer * file.c (process_img): add width arg parse height and width attr, align fix for inline-image * file.c (process_input): fix for form <input type="image"> * file.c (HTMLtagproc1): pass h_env->limit to process_img() fix <img_alt> for inline-image save cur_baseURL * file.c (HTMLlineproc2body): fix <img_alt> for inline-image * file.c (loadHTMLstream): fix for inline-image fix fmInitialized and prevtrap checks save cur_document_code save image_flag * file.c (loadGopherDir): save cur_document_code fix fmInitialized and prevtrap checks * file.c (loadImageBuffer): added for inline-image * file.c (save2tmp): fix fmInitialized and prevtrap checks * frame.c (frame_download_source): set RG_FRAME_SRC flag image check * funcname.tab (DISPLAY_IMAGE): added * funcname.tab (STOP_IMAGE): added * html.c (ALST_IMG): add align, ismap * html.c (ALST_AREA): add shape, coords * html.c (ALST_IMG_ALT): add width, height, usemap, ismap, hseq, xoffset, yoffset, top_margin, bottom_margin * html.c (AttrMap): add shape, coords, ismap, xoffset, yoffset * html.h (ATTR_SHAPE): added * html.h (ATTR_COORDS): added * html.h (ATTR_ISMAP): added * html.h (ATTR_XOFFSET): added * html.h (ATTR_YOFFSET): added * html.h (ATTR_TOP_MARGIN): added * html.h (ATTR_BOTTOM_MARGIN): added * html.h (SHAPE_UNKNOWN): added * html.h (SHAPE_DEFAULT): added * html.h (SHAPE_RECT): added * html.h (SHAPE_CIRCLE): added * html.h (SHAPE_POLY): added * image.c: added * main.c (fversion): add USE_IMAGE * main.c (fusage): -ppl option * main.c (MAIN): set_pixel_per_char if ppc specified -ppl option loadImage * main.c (pushBuffer): deleteImage * main.c (quitfm): termImage * main.c (selBuf): deleteImage * main.c (followA): fix for inline-image and map area * main.c (query_from_followform): getMapXY() * main.c (setOpt): displayBuffer B_REDRAW_IMAGE * main.c (follow_map): fix calculate x, y * main.c (dispI): added * main.c (stopI): added * map.c: include <math.h> * map.c (inMapArea): added * map.c (follow_map_menu): add a_img arg to handle inline-image * map.c (follow_map_panel): use MapArea * map.c (getMapXY): added * map.c (newMapArea): added * menu.c (smChBuf): deleteImage * parsetagx.c (toAlign): align top, bottom, middle * rc.c (P_SCALE): added * rc.c (CMT_PIXEL_PER_LINE): added * rc.c (CMT_DISP_IMAGE): added * rc.c (CMT_AUTO_IMAGE): added * rc.c (CMT_EXT_IMAGE_VIEWER): added * rc.c (CMT_IMAGE_SCALE): added * rc.c (CMT_IMGDISPLAY): added * rc.c (CMT_IMGSIZE): added * rc.c (show_param): P_PIXELS * rc.c (set_param): P_PIXELS * rc.c (sync_with_option): initImage * rc.c (to_str): P_PIXELS * table.c (feed_table_tag): fix <img> for inline-image * tagtable.tab (image): added * terms.c (wgetch): retry read when EINTR or EAGAIN * terms.c (touch_cursor): added * w3mimgdisplay.c: added * w3mimgsize.c: added * doc/README.func (DISPLAY_IMAGE): added * doc/README.func (STOP_IMAGE): added * doc/README.img: added * doc-jp/README.func (DISPLAY_IMAGE): added * doc-jp/README.func (STOP_IMAGE): added * doc-jp/README.img: added * scripts/w3mhelp.cgi.in: show dispI, stopI * scripts/multipart/multipart.cgi.in: inline image support From: Fumitoshi UKAI <ukai@debian.or.jp>
* [#496613] LASTLINE in terms.cFumitoshi UKAI2001-12-251-5/+5
|
* [w3m-dev 02723] cleanup resizingFumitoshi UKAI2001-12-251-4/+1
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02667]Fumitoshi UKAI2001-12-171-3/+5
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02666] resizing on xterm with gpm supportFumitoshi UKAI2001-12-151-4/+9
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* run make indentFumitoshi UKAI2001-12-141-116/+127
|
* [w3m-dev 02541] mouse support on cygwinFumitoshi UKAI2001-12-121-98/+176
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02646]Fumitoshi UKAI2001-12-091-9/+4
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02605]Fumitoshi UKAI2001-12-021-2/+2
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02593]Fumitoshi UKAI2001-11-301-3/+2
| | | | From: Tsutomu Okada <okada@furuno.co.jp>
* [w3m-dev 02586] code cleanup againFumitoshi UKAI2001-11-291-2/+3
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02584] code cleanup againFumitoshi UKAI2001-11-291-2/+2
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* run make indentFumitoshi UKAI2001-11-241-125/+136
|
* [w3m-dev 02511]Fumitoshi UKAI2001-11-221-1/+2
| | | | From: Tsutomu Okada <okada@furuno.co.jp>
* [w3m-dev 02509]Fumitoshi UKAI2001-11-221-4/+197
| | | | cygwin mouse support
* [w3m-dev 02481] Re: #ifdef cleanupFumitoshi UKAI2001-11-211-41/+38
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02480] new configureFumitoshi UKAI2001-11-211-6/+4
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>