aboutsummaryrefslogtreecommitdiffstats
path: root/main.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-02-03[w3m-dev 02964] Print data of forms when halfdump option is setFumitoshi UKAI1-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>
2002-01-31w3m-img merge (w3m-0.2.4+cvs-1.278-img-2.2.patch.gz)Fumitoshi UKAI1-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>
2002-01-31[w3m-dev 02949] fix for #undef USE_MIGEMOFumitoshi UKAI1-9/+10
* main.c (dispincsrch): need #ifdef USE_MIGEMO From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-31[w3m-dev 02946] toggle migemoFumitoshi UKAI1-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>
2002-01-30[w3m-dev 02933] segmentation fault when w3m -dump https:Fumitoshi UKAI1-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>
2002-01-26[w3m-dev 02914]Fumitoshi UKAI1-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>
2002-01-24[w3m-dev 02902] mouse inactive after ALARM commands.Fumitoshi UKAI1-1/+9
* main.c (SigAlarm): mouse_inactive() and mouse_active() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-24[w3m-dev 02901] Default URL for GOTO*Fumitoshi UKAI1-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"
2002-01-23[w3m-dev 02894] Re: goURLFumitoshi UKAI1-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>
2002-01-22[w3m-dev 02885] Re: goURLFumitoshi UKAI1-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>
2002-01-22[w3m-dev-en 00670] GOTO behavior changeFumitoshi UKAI1-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>
2002-01-21[w3m-dev 02877] some fixes for urimethodmapFumitoshi UKAI1-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>
2002-01-17[w3m-dev 02870] don't kill migemo by SIGINTFumitoshi UKAI1-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>
2002-01-17[w3m-dev 02867] mark URL for external URIsFumitoshi UKAI1-1/+4
* main.c (chkURLBuffer): chkExternalURIBuffer() * proto.h (chkExternalURIBuffer): added * url.c (chkExternalURIBuffer): added From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-16run make indentFumitoshi UKAI1-2/+2
2002-01-16[w3m-dev 02862] SIGPIPE for migemo supportFumitoshi UKAI1-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>
2002-01-16[w3m-dev 02859]Fumitoshi UKAI1-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>
2002-01-16[w3m-dev 02855]Fumitoshi UKAI1-7/+10
* main.c (dispincsrch): for C-s C-s, revert some changes From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-16[w3m-dev 02854] highlight for incremental searchFumitoshi UKAI1-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>
2002-01-15[w3m-dev 02841] migemo patchFumitoshi UKAI1-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>
2002-01-15* main.c (fversion): add "external-uri-loader,w3mmailer"Fumitoshi UKAI1-1/+7
From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-15[w3m-dev 02834] mailto: use external programFumitoshi UKAI1-2/+6
2002-01-10[w3m-dev 02815]Fumitoshi UKAI1-10/+4
From: aito@fw.ipsj.or.jp
2002-01-04[w3m-dev 02779] ';' is valid in URLFumitoshi UKAI1-5/+5
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-27[w3m-dev 02772]Fumitoshi UKAI1-5/+2
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-12-27[w3m-dev 02770] form element outside <form>..</form>Fumitoshi UKAI1-3/+5
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-27[w3m-dev 02760]Fumitoshi UKAI1-3/+5
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-27[w3m-dev 02757]Fumitoshi UKAI1-11/+10
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-26[w3m-dev 02749] cleanup code for editor,mailer,extbrowserFumitoshi UKAI1-94/+25
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-26[w3m-dev 02748] cleanup code for restoring cursor positionFumitoshi UKAI1-72/+61
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-25[#496610] #include <sys/wait.h>Fumitoshi UKAI1-1/+3
2001-12-25[w3m-dev 02726] incremental searchFumitoshi UKAI1-3/+103
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-12-25[w3m-dev 02723] cleanup resizingFumitoshi UKAI1-33/+29
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-25[w3m-dev 02721]Fumitoshi UKAI1-1/+17
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-12-25[w3m-dev 02719]Fumitoshi UKAI1-8/+16
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-12-23[w3m-dev 02702] fix problem with emacs-w3m in [w3m-dev 02699]Fumitoshi UKAI1-9/+3
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-12-23[w3m-dev 02700] search refactoringFumitoshi UKAI1-67/+56
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-12-23[w3m-dev 02699] initialization too lateFumitoshi UKAI1-1/+20
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-12-19[w3m-dev 02655] print version and compile optionsFumitoshi UKAI1-5/+68
Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-19[w3m-dev 02672]Fumitoshi UKAI1-16/+9
From: Tsutomu Okada <okada@furuno.co.jp>
2001-12-17[#493906] missing #ifdef by Kazuhiro NISHIYAMA (znz)Fumitoshi UKAI1-1/+5
2001-12-17[w3m-dev 02669] delete cURLcode()Fumitoshi UKAI1-29/+10
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-14[w3m-dev 02659] rc.c (show_srch_str)Fumitoshi UKAI1-2/+2
From: Rin Okuyama <okuyama@cna.ne.jp>
2001-12-14[w3m-dev 02657]Fumitoshi UKAI1-3/+3
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-10[w3m-dev 02651] search keymap using hashFumitoshi UKAI1-7/+6
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-06[w3m-dev 02622]Fumitoshi UKAI1-9/+5
From: Tsutomu Okada <okada@furuno.co.jp>
2001-12-04[w3m-dev 02615]Fumitoshi UKAI1-3/+3
From: Tsutomu Okada <okada@furuno.co.jp>
2001-12-02[w3m-dev 02605]Fumitoshi UKAI1-5/+5
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-11-30[w3m-dev 02601]Fumitoshi UKAI1-1/+14
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-30[w3m-dev 02599]Fumitoshi UKAI1-5/+3
From: Tsutomu Okada <okada@furuno.co.jp>