aboutsummaryrefslogtreecommitdiffstats
path: root/file.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [w3m-dev 02968] fix problem with Netscape-Enterprise WWW-authenticateFumitoshi UKAI2002-02-011-2/+2
| | | | | * file.c (findAuthentication): token is case insensitive From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02961] halfdump image is not consistentFumitoshi UKAI2002-01-311-7/+6
| | | | | | * file.c (flushline): check f * file.c (do_blankline): fix blanklink conditions From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* gcc -Wall -Werror safeFumitoshi UKAI2002-01-311-5/+5
| | | | | | | | | | | | | | | | | | | | * anchor.c (addMultirowsImg): unused variable: fi * display.c (redrawLineImage): unused variable: ncol * file.c (process_img): uninitialized variables: r2, ni, w0, i0, ismap unused variable: url, ext * file.c (loadHTMLstream): need volatile image_flag * image.c (image_index): int * image.c (getCharSize): need prototype * image.c (getImage): uninitialized variable: key return NULL * map.c (follow_map_menu): used only USE_IMAGE: px, py, map * map.c (newMapArea): used only USE_IMAGE: p, i, max * proto.h (addMultirowsImg): added * w3mimgdisplay.c (main): format string fix * w3mimgdisplay.c (DrawImage): need (Pixmap) cast * inflate.c: indent 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-118/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 02955] compression_decoders error messageFumitoshi UKAI2002-01-311-1/+2
| | | | | | * file.c (uncompress_stream): redirect stderr * inflate.c (main): print error message From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02942] Digest qop=auth supportFumitoshi UKAI2002-01-301-33/+139
| | | | | | | | | | | | | | * file.c (http_auth): add request to cred() arg * file.c (AuthBasicCred): ditto * file.c (AuthDigestCred): ditto * file.c (AuthDigestCred): support algorithm=MD5, MD5-sess qop=auth, auth-int * file.c (qstr_unquote): return NULL if input is NULL * file.c (none_auth_param): added * file.c (findAuthentication): skip weak or unknown auth * file.c (getAuthCookie): add request to arg * file.c (loadGeneralFile): add request to getAuthCookie() From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02934] add auth cookie with unquoted realmFumitoshi UKAI2002-01-301-2/+2
| | | | | * file.c (loadGeneralFile): need unquote realm From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02933] segmentation fault when w3m -dump https:Fumitoshi UKAI2002-01-301-21/+30
| | | | | | | | | | | * 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 02929] Re: fixed w3mmail.cgiFumitoshi UKAI2002-01-301-3/+7
| | | | | | * file.c (openPagerBuffer): use content_charset as document_code * file.c (getNextPage): code is document_code or DocumentCode From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02928] RFC2617: HTTP Digest authenticationFumitoshi UKAI2002-01-291-39/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS: RFC2617: HTTP Digest authentication * config.h.dist (USE_DIGEST_AUTH): added * configure (use_digest_auth): added, enabled when openssl found (because it used openssl/md5.h) * file.c (auth_param): added * file.c (http_auth): added * file.c (extract_auth_val): added * file.c (qstr_unquote): added * file.c (extract_auth_param): added * file.c (get_auth_param): added * file.c (AuthBasicCred): added * file.c (digest_hex): added * file.c (AuthDigestCred): added * file.c (basic_auth_param): added * file.c (digest_auth_param): added * file.c (www_auth): added * file.c (findAuthentication): added * file.c (getAuthCookie): rewrite, use http_auth * file.c (loadGeneralFile): HRequest hr * file.c (loadGeneralFile): use findAuthentication, new getAuthCookie * proto.h (HTTPrequestMethod): added * proto.h (HTTPrequestURI): added * proto.h (openURL): add `hr' arg * url.c (HTTPrequestMethod): added * url.c (HTTPrequestURI): added * url.c (HTTPrequest): use HTTPrequestMethod and HTTPrequestURI * url.c (openURL): add `hr' arg From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02927] mailto: POST method with w3mmail.cgiFumitoshi UKAI2002-01-291-2/+2
| | | | | | | * file.c (loadGeneralFile): pass request even if SCM_UNKNOWN (for external URI loader) * scripts/w3mmail.cgi.in: support POST method From: SASAKI Takeshi <sasaki@ct.sakura.ne.jp>
* [w3m-dev 02901] ACCEPT_BAD_COOKIE_*Fumitoshi UKAI2002-01-241-3/+4
| | | | | | | | | | * file.c (readHeader): accept_bad_cookie is one of ACCEPT_BAD_COOKIE_* * fm.h (PERHAPS): deleted * fm.h (ACCEPT_BAD_COOKIE_*): added * rc.c (n_s): added * rc.c (N_S): added * rc.c (badcookiestr): use N_S(ACCEPT_BAD_COOKIE_*) From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02894] Re: goURLFumitoshi UKAI2002-01-231-3/+3
| | | | | | | | | | | | | | | | | | | | * 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 02879] reset signalsFumitoshi UKAI2002-01-211-2/+2
| | | | | | | | | | * etc.c (reset_signals): added * etc.c (mySystem): use reset_signals() * file.c (uncompress_stream): use reset_signals() * proto.h (reset_signals): added * search.c (init_migemo): kill by SIGKILL * search.c (open_migemo): use reset_signals() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* file.c (loadGeneralFile): return NULL, not NO_BUFFERFumitoshi UKAI2002-01-151-9/+9
|
* [w3m-dev 02832] external URI loader supportFumitoshi UKAI2002-01-141-2/+15
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02829]Fumitoshi UKAI2002-01-121-10/+14
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* run make indentFumitoshi UKAI2002-01-111-22/+22
|
* [w3m-dev 02822] Print FTP directory list for -dump_extra optionFumitoshi UKAI2002-01-111-4/+16
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02770] form element outside <form>..</form>Fumitoshi UKAI2001-12-271-1/+16
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02769] <form>..</form> as block elementFumitoshi UKAI2001-12-271-1/+7
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02765] backendFumitoshi UKAI2001-12-271-11/+6
| | | | From: Hironori Sakamoto <h-saka@lsi.nec.co.jp>
* [w3m-dev 02761]Fumitoshi UKAI2001-12-271-3/+1
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02760]Fumitoshi UKAI2001-12-271-1/+3
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02732] fix Debian Bug#126381 - Passwords entered for HTTPS are used ↵Fumitoshi UKAI2001-12-251-3/+3
| | | | | | for HTTP From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [#496610] #include <sys/wait.h>Fumitoshi UKAI2001-12-251-1/+3
|
* [w3m-dev 02651] search keymap using hashFumitoshi UKAI2001-12-101-3/+2
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02650]Fumitoshi UKAI2001-12-101-2/+2
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02646]Fumitoshi UKAI2001-12-091-7/+8
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02635]Fumitoshi UKAI2001-12-061-2/+2
| | | | Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* run make indentFumitoshi UKAI2001-12-061-3/+3
|
* [w3m-dev 02622]Fumitoshi UKAI2001-12-061-4/+18
| | | | From: Tsutomu Okada <okada@furuno.co.jp>
* [w3m-dev 02619]Fumitoshi UKAI2001-12-051-1/+3
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02605]Fumitoshi UKAI2001-12-021-2/+2
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02604]Fumitoshi UKAI2001-12-021-2/+2
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02596]Fumitoshi UKAI2001-11-301-4/+3
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02595]Fumitoshi UKAI2001-11-301-19/+23
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* run make indentFumitoshi UKAI2001-11-301-13/+14
|
* [w3m-dev 02592] Accept: and AcceptEncoding:Fumitoshi UKAI2001-11-301-64/+120
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02587]Fumitoshi UKAI2001-11-291-2/+2
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02586] code cleanup againFumitoshi UKAI2001-11-291-10/+11
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02584] code cleanup againFumitoshi UKAI2001-11-291-55/+56
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02578]Fumitoshi UKAI2001-11-271-15/+27
| | | | | From: Fumitoshi UKAI <ukai@debian.or.jp> <input type="image">
* [w3m-dev 02547] "message/*" as a kind of text typeFumitoshi UKAI2001-11-251-2/+3
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* run make indentFumitoshi UKAI2001-11-241-499/+545
|
* [w3m-dev 02530] segfault for bad cookie from localFumitoshi UKAI2001-11-231-2/+3
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* add label_toplineFumitoshi UKAI2001-11-231-8/+10
|
* [w3m-dev 02481] Re: #ifdef cleanupFumitoshi UKAI2001-11-211-15/+15
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02479] #ifdef cleanupsFumitoshi UKAI2001-11-211-5/+1
| | | | make -> $(MAKE)
* [w3m-dev 02454] line numberFumitoshi UKAI2001-11-201-24/+1
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>