aboutsummaryrefslogtreecommitdiffstats
path: root/main.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [w3m-dev 02964] Print data of forms when halfdump option is setFumitoshi UKAI2002-02-031-1/+3
| | | | | | | | | | | | * backend.c (print_headers): print w3m-current-url and w3m-base-url * backend.c (print_formlist): deleted * backend.c (internal_get): remove "if (buf->formlist) {}" * file.c (print_internal_information): added * file.c (loadHTMLstream): if halfdump, print_internal_information if w3m_backend, print_internal_information * fm.h (DUMP_HALFEXTRA): added * main.c (-halfdump_extra): added From: TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>
* w3m-img merge (w3m-0.2.4+cvs-1.278-img-2.2.patch.gz)Fumitoshi UKAI2002-01-311-15/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [w3m-dev 02949] fix for #undef USE_MIGEMOFumitoshi UKAI2002-01-311-9/+10
| | | | | * main.c (dispincsrch): need #ifdef USE_MIGEMO From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02946] toggle migemoFumitoshi UKAI2002-01-311-3/+18
| | | | | | | | | | | | | | | | | * fm.h (migemo_active): added * proto.h (inputLineHistSearch): add arg `prop' to incrfunc() * linein.c (inputLineHistSearch): ditto * main.c (isrch): ditto * main.c (dispincsrch): ditto C-\ toggle migemo underline when migemo is active * search.c (migemo_active): deleted * search.c (migemo_running): added * search.c (init_migemo): migemo_running * search.c (migemostr): ditto * search.c (forwardSearch): migemo_active > 0 * search.c (backwardSearch): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02933] segmentation fault when w3m -dump https:Fumitoshi UKAI2002-01-301-3/+3
| | | | | | | | | | | * file.c (readHeader): use inputAnswer() * file.c (getAuthCookie): remove term_cbreak() * file.c (checkOverWrite): use inputAnswer() * file.c (inputAnswer): added * istream.c (ssl_get_certificate): use inputAnswer() * main.c (qquitfm): change prompt * proto.h (inputAnswer): added From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02914]Fumitoshi UKAI2002-01-261-12/+21
| | | | | | | | * history.c (copyHist): added * history.h (copyHist): ditto * main.c (goURL0): copyHist(URLHist), push current and anchor URLs default set by DefaultURLString From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02902] mouse inactive after ALARM commands.Fumitoshi UKAI2002-01-241-1/+9
| | | | | * main.c (SigAlarm): mouse_inactive() and mouse_active() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02901] Default URL for GOTO*Fumitoshi UKAI2002-01-241-17/+36
| | | | | | | | | | | | | | | | | * fm.h (DEFAULT_URL_*): added * fm.h (DefaultURLString): added * main.c (cmd_loadURL): add arg "referer" * main.c (goURL0): 2nd arg is "relative" flag check DefaultURLString if relative, then current and referer is set * main.c (ldhelp): cmd_loadURL arg changes * main.c (deletePrevBuf): ditto * main.c (cmd_loadBuffer): ditto * main.c (adBmark): ditto * main.c (follow_map): ditto * rc.c (CMT_DEFAULT_URL): added * rc.c (defaulturls): added * rc.c (params9): add "default_url"
* [w3m-dev 02894] Re: goURLFumitoshi UKAI2002-01-231-16/+15
| | | | | | | | | | | | | | | | | | | | * file.c (HTMLtagproc1): s/goURL/gorURL/ * keybind.c (EscKeymap): M-u = GOTO_RELATIVE * keybind_lynx.c (EscKeymap): ditto * doc/keymap.default: ditto * doc/keymap.lynx: ditto * doc-jp/keymap.default: ditto * doc-jp/keymap.lynx: ditto * main.c (MAIN): add $HTTP_HOME or $WWW_HOME to history * main.c (MAIN): add history even if it is local file or local cgi * main.c (goURL0): change args, def_url -> current * main.c (goURL0): delete ParsedURL *b_url * main.c (goURL0): add Buffer *cur_buf * main.c (goURL0): if current is supplied, use its URL as default * main.c (goURL0): add URL to history if loadURL succeeded * main.c (goURL): change args for goURL0() * main.c (gorURL): ditto From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02885] Re: goURLFumitoshi UKAI2002-01-221-15/+22
| | | | | | | | | | | | * funcname.tab (GOTO_RELATIVE): added * main.c (goURL0): renamed from goURL don't add http:// here, if base URL is NULL, cmd_loadURL() will add http:// when necessary * main.c (goURL): go to URL with current URL * main.c (gorURL): go to relative URL * proto.h (gorURL): added * doc/README.func (GOTO_RELATIVE): added * doc-jp/README.func (GOTO_RELATIVE): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev-en 00670] GOTO behavior changeFumitoshi UKAI2002-01-221-4/+14
| | | | | | | | | * main.c (goURL): default URL is current URL if retry_http specified, and inputed URL is not absolute URL add http:// to top of url * linein.c (InputKeymap): C-w as backword-kill-word From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02877] some fixes for urimethodmapFumitoshi UKAI2002-01-211-2/+4
| | | | | | | | | | | | | | * config.h.dist (RC_DIR): remove tailing / * configure (mailer): if use_w3mmailer = y, don't ask mailer * configure (RC_DIR): remove tailing / * fm.h (Mailer): ifndef USE_W3MMAILER * main.c (MAIN): ifndef USE_W3MMAILER getenv("MAILER") * rc.c ("mailer"): ifndef USE_W3MMAILER * regex.c (newRegex0): \ escape kanji chars * url.c (searchURIMethods): need escape for - * scripts/w3mmail.cgi.in: move $url, $qurl * scripts/w3mmail.cgi.in: url_unquote $to From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02870] don't kill migemo by SIGINTFumitoshi UKAI2002-01-171-1/+4
| | | | | | | | | | | | | | | | * main.c (w3m_exit): init_migemo() to kill migemo * search.c: #include <unistd.h> * search.c (migemo_active): added * search.c (migemo_pid): added * search.c (init_migemo): migemo_active = use_migemo * search.c (init_migemo): kill migemo_pid * search.c (open_migemo): s/pid/migemo_pid/ * search.c (open_migemo): setpgrp() * search.c (open_migemo): s/use_migemo/migemo_active/ * search.c (migemostr): ditto * search.c (forwardSearch): ditto * search.c (backwardSearch): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02867] mark URL for external URIsFumitoshi UKAI2002-01-171-1/+4
| | | | | | | * main.c (chkURLBuffer): chkExternalURIBuffer() * proto.h (chkExternalURIBuffer): added * url.c (chkExternalURIBuffer): added From: Fumitoshi UKAI <ukai@debian.or.jp>
* run make indentFumitoshi UKAI2002-01-161-2/+2
|
* [w3m-dev 02862] SIGPIPE for migemo supportFumitoshi UKAI2002-01-161-1/+20
| | | | | | | | | | * main.c (SigPipe): added * main.c (MAIN): signal(SIGPIPE, ) * search.c: #include <errno.h> * search.c (migemostr): check fflush() error * search.c (migemostr): check result string (empty is err) * search.c (migemostr): if error occured, disable use_migemo From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02859]Fumitoshi UKAI2002-01-161-24/+2
| | | | | | | | | | | | | | | | | * config.h.dist (DEF_MIGEMO_COMMAND): added * configure (DEF_MIGEMO_COMMAND): added * fm.h (migemo_command): initial value is DEF_MIGEMO_COMMAND * main.c (migemostr): remove here, move search.c * main.c (srchcore): dont migemostr() here * proto.h (init_migemo): added * rc.c (sync_with_option): init_migemo() * search.c (init_migemo): added * search.c (open_migemo): added * search.c (migemostr): communicate background migemo * search.c (forwardSearch): if regexCompile for migemostr failed, try original str * search.c (backwardSearch): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02855]Fumitoshi UKAI2002-01-161-7/+10
| | | | | * main.c (dispincsrch): for C-s C-s, revert some changes From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02854] highlight for incremental searchFumitoshi UKAI2002-01-161-27/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * display.c (EFFECT_MARK_START): added * display.c (EFFECT_MARK_END): added * display.c (EFFECT_MARK_START_C): added * display.c (EFFECT_MARK_END_C): added * display.c (EFFECT_MARK_START_M): added * display.c (EFFECT_MARK_END_M): added * display.c: define_effect for MARK_{START,END} * display.c (mark_mode): added * display.c (redrawLine): if mark_mode * display.c (do_effects): do_effect2(PE_MARK, ...) * display.c (do_effects): do_effect1(PE_MARK, ...) * fm.h (P_EFFECT): changed to 0x01ff * fm.h (PE_MARK): moved * fm.h (mark_color): added * linein.c (inputLineHistSearch): incrfunc(int ch, Str str) * main.c (clear_mark): added * main.c (dispincsrch): remove arg `x', `y' * main.c (dispincsrch): move SAVE_BUFPOSITION() * main.c (srch): if (result & SR_FOUND) clear_mark() * main.c (cmd_mark): PE_MARK * main.c (nextMk): s/PM_MARK/PE_MARK/ * main.c (prevMk): s/PM_MARK/PE_MARK/ * proto.h (inputLineHistSearch): change prototype incfunc() * rc.c (CMT_MARK_COLOR): added * rc.c (params2): add "mark_color" * search.c (set_mark): added * search.c (forwardSearch): use set_mark() * search.c (backwardSearch): use set_mark() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02841] migemo patchFumitoshi UKAI2002-01-151-2/+27
| | | | | | | | | | | | | | | * NEWS: migemo support * config.h.dist (USE_MIGEMO): added * configure: add use_migemo * fm.h (use_migemo): added * fm.h (migemo_command: added * main.c (fversion): add "migemo" * main.c (migemostr): added * main.c (srchcore): if use_migemo, use migemostr * rc.c (CMT_USE_MIGEMO): added * rc.c (CMT_MIGEMO_COMMAND): added * rc.c (params3): add use_migemo, migemo_command From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* * main.c (fversion): add "external-uri-loader,w3mmailer"Fumitoshi UKAI2002-01-151-1/+7
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02834] mailto: use external programFumitoshi UKAI2002-01-151-2/+6
|
* [w3m-dev 02815]Fumitoshi UKAI2002-01-101-10/+4
| | | | From: aito@fw.ipsj.or.jp
* [w3m-dev 02779] ';' is valid in URLFumitoshi UKAI2002-01-041-5/+5
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02772]Fumitoshi UKAI2001-12-271-5/+2
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02770] form element outside <form>..</form>Fumitoshi UKAI2001-12-271-3/+5
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02760]Fumitoshi UKAI2001-12-271-3/+5
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02757]Fumitoshi UKAI2001-12-271-11/+10
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02749] cleanup code for editor,mailer,extbrowserFumitoshi UKAI2001-12-261-94/+25
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02748] cleanup code for restoring cursor positionFumitoshi UKAI2001-12-261-72/+61
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [#496610] #include <sys/wait.h>Fumitoshi UKAI2001-12-251-1/+3
|
* [w3m-dev 02726] incremental searchFumitoshi UKAI2001-12-251-3/+103
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02723] cleanup resizingFumitoshi UKAI2001-12-251-33/+29
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02721]Fumitoshi UKAI2001-12-251-1/+17
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02719]Fumitoshi UKAI2001-12-251-8/+16
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02702] fix problem with emacs-w3m in [w3m-dev 02699]Fumitoshi UKAI2001-12-231-9/+3
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02700] search refactoringFumitoshi UKAI2001-12-231-67/+56
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02699] initialization too lateFumitoshi UKAI2001-12-231-1/+20
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02655] print version and compile optionsFumitoshi UKAI2001-12-191-5/+68
| | | | Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02672]Fumitoshi UKAI2001-12-191-16/+9
| | | | From: Tsutomu Okada <okada@furuno.co.jp>
* [#493906] missing #ifdef by Kazuhiro NISHIYAMA (znz)Fumitoshi UKAI2001-12-171-1/+5
|
* [w3m-dev 02669] delete cURLcode()Fumitoshi UKAI2001-12-171-29/+10
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02659] rc.c (show_srch_str)Fumitoshi UKAI2001-12-141-2/+2
| | | | From: Rin Okuyama <okuyama@cna.ne.jp>
* [w3m-dev 02657]Fumitoshi UKAI2001-12-141-3/+3
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02651] search keymap using hashFumitoshi UKAI2001-12-101-7/+6
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02622]Fumitoshi UKAI2001-12-061-9/+5
| | | | From: Tsutomu Okada <okada@furuno.co.jp>
* [w3m-dev 02615]Fumitoshi UKAI2001-12-041-3/+3
| | | | From: Tsutomu Okada <okada@furuno.co.jp>
* [w3m-dev 02605]Fumitoshi UKAI2001-12-021-5/+5
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02601]Fumitoshi UKAI2001-11-301-1/+14
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02599]Fumitoshi UKAI2001-11-301-5/+3
| | | | From: Tsutomu Okada <okada@furuno.co.jp>