aboutsummaryrefslogtreecommitdiffstats
path: root/file.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Debian Bug#157098: wrong file presentation on large filesFumitoshi UKAI2002-08-201-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | from "Eduard Bloch" <blade@debian.org> * configure (clen_t): added (HAVE_STRTOLL): added (HAVE_STRTOQ): added (HAVE_ATOLL): added (HAVE_ATOQ): added * config.h.dist: ditto * file.c (current_content_length): s/int/clen_t/ (loadGeneralFile): s/atoi/strtoclen/ (convert_size): s/int/clen_t/ (convert_size2): s/int/clen_t/ (showProgress): s/int/clen_t/ (loadHTMLstream): s/int/clen_t/ linelen, trbyte (loadBuffer): ditto (getNextPage): s/int/clen_t/ linelen (save2tmp): s/int/clen_t/ linelen, trbye (_MoveFile): s/int/clen_t/ linelen, trbye * fm.h (_Buffer): s/int/clen_t/ linelen, trbye * ftp.c (size_int2str): s/long/clen_t/ (ex_ftpdir_name_size_date): s/long/clen_t/ * indep.c (strtoclen): added * indep.h (strtoclen): added * proto.h (showProgress): s/int/clen_t/ From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03276] compile error on EWS4800Fumitoshi UKAI2002-07-191-2/+2
| | | | | | * file.c (extract_auth_val): fix warnings * w3mimg/w3mimg.c: include <stdlib.h> From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
* [w3m-dev 03233] "obuf->flag |= RB_IGNORE_P" after <body> tagFumitoshi UKAI2002-06-241-2/+1
| | | | | * file.c (HTMLtagproc1): no need RB_IGNORE_P after <body> tag From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev-en 00752] Re: tab completion weirdness in w3m 0.3Fumitoshi UKAI2002-06-091-5/+9
| | | | | * file.c (doFileCopy): same fix as [w3m-dev-en 00751] From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 03191] typo in file.c:extract_auth_val()?Fumitoshi UKAI2002-05-141-2/+2
| | | | | * file.c (extract_auth_val): s/177/0177/ From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 03176] no Content-Type in http response headerFumitoshi UKAI2002-04-171-1/+3
| | | | | * file.c (loadGeneralFile): guess content-type from filename From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 03167] xface2xbm -> xface2xpm (current imlib can't handle XBM)Fumitoshi UKAI2002-04-091-9/+11
| | | | | | | | | | | * configure: s/XFACE2XBM/XFACE2XPM/ * config.h.dist: ditto * file.c (xface2xpm): renamed from xface2xbm modified for xpm (readHeader): s/xface2xbm/xface2xpm/ * scripts/Makefile (LIB_TARGETS): s/xface2xbm/xface2xpm/ * scripts/xface2xpm.in: added From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03135] commit of [w3m-dev 03006] is incomplete.Fumitoshi UKAI2002-03-191-3/+6
| | | | | | | * file.c (HTMLlineproc2body): check form_int fid attr update forms[] fix buf->formlist From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* indent fixFumitoshi UKAI2002-03-151-6/+8
|
* [w3m-dev 03132] Re: Reload imageFumitoshi UKAI2002-03-151-4/+7
| | | | | | | | | | | * file.c (loadGeneralFile): b->type = "text/html" * file.c (loadImageBuffer): comment out getImageSize() image_flag = IMG_FLAG_AUTO * file.c (openGeneralPagerBuffer): buf->type = "text/html" * frame.c (resetFrameElement): if (buf->mailcap_source) ... * frame.c (frame_download_source): if (buf->mailcap_source) ... * main.c (vwSrc): #ifdef USE_IMAGE From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03129] Re: X-FaceFumitoshi UKAI2002-03-141-4/+20
| | | | | | | | | | | | | | | | * configure (use_xface): ask * fm.h (_Buffer): add header_source * buffer.c (reshapeBuffer): fix reshape when reading stdin with image fix disappearing header when reading stdin * file.c (xface2xbm): check file existence * file.c (readHeader): save to tmp file X-Face when activeImage & displayImage * main.c (dispI): comment out checking content type * main.c (stopI): ditto * scripts/xface2xbm.in: update compface URL read from file $XF write to file $XBM From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03127] X-FaceFumitoshi UKAI2002-03-131-1/+42
| | | | | | | | | | | | * NEWS: X-Face support * configure (use_xface): added * config.h.dist (USE_XFACE): added (XFACE2XBM): added * file.c (xface2xbm): added (readHeader): X-Face: handling * scripts/Makefile (LIB_TARGETS): add xface2xbm * scripts/xface2xbm.in: added From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03125] w3m -m < imageFumitoshi UKAI2002-03-131-1/+10
| | | | | * file.c (openGeneralPagerBuffer): use internal viewer for -m option From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03116] Re: aligned block in <td align="center">Fumitoshi UKAI2002-03-121-1/+4
| | | | | | | | | * file.c (flushline): align if align="align" * fm.h (RB_LEFT): change value (RB_ALIGN): include RB_LEFT (RB_INTABLE): added * table.c (do_refill): obuf.flag |= RB_INTABLE From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03110] Re: gopher brokenFumitoshi UKAI2002-03-111-1/+3
| | | | | * file.c (loadGeneralFile): #ifdef USE_GOPHER From: WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp>
* [w3m-dev 03106] Re: displayBufferFumitoshi UKAI2002-03-101-1/+2
| | | | | | * display.c (displayBuffer): revert previous changes * file.c (process_img): remove space in src attribute From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03095] Re: gopher brokenFumitoshi UKAI2002-03-081-4/+5
| | | | | | (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) * file.c (loadGopherDir): html_quote(url_quote_conv()) From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03092] Reload imageFumitoshi UKAI2002-03-081-1/+2
| | | | | * file.c (loadImageBuffer): cache->index = 0 From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03093] Re: gopher brokenFumitoshi UKAI2002-03-081-37/+38
| | | | | | | | (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) * file.c (loadGopherDir): fix ->ptr q should be url_quote() * url.c (openURL): url_unquote() for gopher selector From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03090] Re: gopher brokenFumitoshi UKAI2002-03-081-51/+60
| | | | | | | (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) * file.c (loadGeneralFile): if loadGopherDir, type is real_type * file.c (loadGopherDir): rewrite to use loadHTMLstream() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03088] gopher brokenFumitoshi UKAI2002-03-081-2/+3
| | | | | | | (Re: Bug#137287: w3m: segfault on gopher://xxxx.xxx URI) * file.c (form_max): initial value should be -1 * file.c (loadGopherDir): </A> From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03084] A temporary file remains when pipe + 'v'Fumitoshi UKAI2002-03-051-12/+5
| | | | | | | | | * proto.h (saveBufferDelNum): deleted * file.c (saveBufferDelNum): deleted * file.c (saveBuffer): saveBufferDelNum() renamed * main.c (vwSrc): tmpfname() recorded as fileToDelete use saveBuffer() instead of saveBufferDelNum() From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03073] frame + imageFumitoshi UKAI2002-02-281-2/+6
| | | | | | * file.c (loadGeneralFile): w3m_dump & ~DUMP_FRAME * file.c (loadImageBuffer): comment out if (frame_source) From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03072] Proxy-Authorization (Re: Re: https through proxy)Fumitoshi UKAI2002-02-281-6/+2
| | | | | | | | | | | | | | * file.c (loadGeneralFile) delete Proxy-Authorization set here * fm.h (HR_FLAG_PROXY): added * main.c (MAIN): need "Basic " for proxy_auth_cookie * url.c (HTTPrequest): add seen_proxy_auth if proxy and no Proxy-Authorization: header seen and has proxy_auth_cookie, use it * url.c (openURL): hr->flag |= HR_FLAG_PROXY * file.c (loadGeneralFile) comment indent fix * html.c (TagMAP): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03067] Re: https through proxyFumitoshi UKAI2002-02-261-2/+2
| | | | | * file.c (loadGeneralFile): comment out ssl_get_certificate here From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03057] Re: Bug#134350: w3m: Forgets (http auth) login information ↵Fumitoshi UKAI2002-02-191-11/+29
| | | | | | | | | | | | | | | | | | | | | | | upon reload (or almost anything else) * etc.c (find_auth): add `file' check file as well * etc.c (find_auth_cookie): add `file' * etc.c (add_auth_cookie): add `file' * file.c (AuthBasicCred): add "Basic " * file.c (AuthDigestCred): add "Digest " * file.c (getAuthCookie): if h_auth == NULL, get recorded cookie * file.c (get_auth_cookie): get recorded cookie * file.c (loadGeneralFile): don't clear add_auth_cookie_flag by redirection add_auth_cookie if authorization is required and passed * fm.h (auth_cookie): add file * ftp.c (openFTP): follow change auth_cookie * proto.h (get_auth_cookie): added * proto.h (find_auth_cookie): add `file' * proto.h (add_auth_cookie): add `file' * url.c (openURL): get_auth_cookie From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03011] segmentation fault on <input> tag without <form>Fumitoshi UKAI2002-02-081-2/+4
| | | | | * file.c (process_input): tmp initialization fix From: Tsutomu Okada <okada@furuno.co.jp>
* [w3m-dev 03006] fix form order in tableFumitoshi UKAI2002-02-071-13/+25
| | | | | | | | | | | * file.c (process_form): static fix form index order method should be quoted * file.c (process_form): added * file.c (HTMLlineproc2body): add form_id * html.c (ALST_FORM_INT): added * html.c (form_int): update From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02999] don't ask accept bad cert when background downloadingFumitoshi UKAI2002-02-061-1/+5
| | | | | | * file.c (getAuthCookie): if QuietMessage, return NULL * file.c (inputAnswer): if QuietMessage, input "n" From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02991] form support in w3m -halfdump foo.html|w3m -halfloadFumitoshi UKAI2002-02-051-37/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fm.h (DUMP_HALFEXTRA): deleted * proto.h (process_select): return Str * file.c (process_img): process_form() fix * file.c (process_input): process_form() fix * file.c (process_select): return Str process_form() fix * file.c (process_textarea): process_form() fix * file.c (process_form): support -halfdump * file.c (HTMLtagproc1): delete case HTML_FORM_INT, HTML_N_FORM_INT process_{form,select,textarea}() fix * file.c (HTMLlineproc2body): support -halfload HTML_INTERNAL, HTML_N_INTERNAL, HTML_FORM_INT, HTML_FORM_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT, HTML_SELECT_INT, HTML_N_SELECT_INT, HTML_OPTION_INT, HTML_TITLE_ALT * file.c (print_internal_information): fix -halfdump * file.c (loadHTMLstream): no DUMP_HALFEXTRA * html.h: add HTML_INTERNAL, HTML_N_INTERNAL, HTML_SELECT_INT, HTML_N_SELECT_INT, HTML_OPTION_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT * html.c (ALST_TEXTAREA_INT): added * html.c (ALST_SELECT_INT): added * html.c: add <internal>, </internal>, <select_int>, </select_int> <option_int>, <textarea_int>, </textarea_int> * main.c (MAIN): delete -halfdump_extra dont output <pre> by -halfdump * table.c (feed_table_tag): process_{form,select}() fix add case HTML_INTERNAL, HTML_N_INTERNAL, HTML_SELECT_INT, HTML_N_SELECT_INT, HTML_OPTION_INT, HTML_TEXTAREA_INT, HTML_N_TEXTAREA_INT, * tagtable.tab: add internal, /internal, select_int, /select_int option_int, textarea_int, /textarea_int From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02990]Fumitoshi UKAI2002-02-051-9/+9
| | | | | | * file.c (doFileCopy): use Strfgets() instead of fgets() * file.c (doFileSave): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02989]Fumitoshi UKAI2002-02-051-4/+2
| | | | | * file.c (inputAnswer): use Strfgets() instead of fgets() From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02984] inline image improvements and cleanupsFumitoshi UKAI2002-02-041-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * config.h.dist (HAVE_SYMLINK) added * config.h.dist (HAVE_LSTAT): added * configure: symlink() check * configure: lstat() check * fm.h (maxLoadImage): added * form.c (form_write_from_file): s/HAVE_READLINK/HAVE_LSTAT/ * image.c: include <sys/stat.h> * image.c (MAX_LOAD_IMAGE): default 8 * image.c (max_load_image): deleted * image.c (n_load_image): added * image.c (showImageProgress): added * image.c (loadImage): check load image count s/HAVE_READLINK/HAVE_LSTAT/ (HAVE_SYMLINK) showImageProgress * local.c: include <sys/stat.h> s/HAVE_READLINK/HAVE_LSTAT/ * rc.c (CMT_MAX_LOAD_IMAGE): added * rc.c (max_load_image): added * doc/README.img: update [w3m-dev 02986] * file.c (print_internal_information): Don't print boundaries. Use henv->f instead of stdout. From: TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>
* [w3m-dev 02984] inline image improvements and cleanupsFumitoshi UKAI2002-02-041-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | * config.h.dist (HAVE_SYMLINK) added * config.h.dist (HAVE_LSTAT): added * configure: symlink() check * configure: lstat() check * fm.h (maxLoadImage): added * form.c (form_write_from_file): s/HAVE_READLINK/HAVE_LSTAT/ * image.c: include <sys/stat.h> * image.c (MAX_LOAD_IMAGE): default 8 * image.c (max_load_image): deleted * image.c (n_load_image): added * image.c (showImageProgress): added * image.c (loadImage): check load image count s/HAVE_READLINK/HAVE_LSTAT/ (HAVE_SYMLINK) showImageProgress * local.c: include <sys/stat.h> s/HAVE_READLINK/HAVE_LSTAT/ * rc.c (CMT_MAX_LOAD_IMAGE): added * rc.c (max_load_image): added * doc/README.img: update * doc-jp/README.img: update * file.c (process_img): pre_int fix From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02985] inputAnswer() and no "ssl_forbid_method"Fumitoshi UKAI2002-02-041-3/+3
| | | | | | | * file.c (inputAnswer): buf size is 80 * url.c (openSSLHandle): if old_ssl_forbid_method == ssl_forbid_method ssl path is not modified From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02979] code_to_str not found ifndef JP_CHARSETFumitoshi UKAI2002-02-031-1/+3
| | | | | * file.c (print_internal_information): ifdef JP_CHARSET From: Kazuhiko <kazuhiko@archi.kyoto-u.ac.jp>
* [w3m-dev 02964] Print data of forms when halfdump option is setFumitoshi UKAI2002-02-031-3/+68
| | | | | | | | | | | | * 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-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>