aboutsummaryrefslogtreecommitdiffstats
path: root/file.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-10-25* [w3m-dev-en 00780] "Carlo E. Prelz" <fluido@fluido.as>Fumitoshi UKAI1-37/+37
always print on screen the relative position * display.c (displayBuffer): relative position From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-10-25[w3m-dev-en 00777] patch to fix w3m-0.3.1 word break problemFumitoshi UKAI1-1/+56
* file.c (is_period_char): 0x203A - SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (is_beginning_char): 0x2018 - LEFT SINGLE QUOTATION MARK 0x2039 - SINGLE LEFT-POINTING ANGLE QUOTATION MARK (is_word_char): add several chars ifndef JP_CHARSET add ':' and '*' From: Gary Johnson <garyjohn@spk.agilent.com>
2002-10-10 [w3m-dev 03339] Re: Debian Bug#164098 w3m: <sup> is not properly supportedFumitoshi UKAI1-1/+12
* file.c (HTMLtagproc1): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB * html.c (TagMAP): sup, /sup, sub, /sub * html.c (HTML_SUP): added (HTML_N_SUP): added (HTML_SUB): added (HTML_N_SUB): added * table.c (feed_table_tag): HTML_SUP, HTML_N_SUP, HTML_SUB, HTML_N_SUB * tagtable.tab (sup): added (/sup): added (sub): added (/sub): added From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-09-28Re: [w3m-dev 03320] Re: PasswordsFumitoshi UKAI1-8/+8
* etc.c (dir_under): same path is ok * file.c (loadGeneralFile): if missing, return NULL ssl cert already checked * html.h (URLFILE): add ssl_certificate * istream.c (ssl_get_certificate): change args * istream.h (ssl_get_certificate): ditto * url.c (openSSLHandle): add p_cert ssl certificate check here (HTTPrequest): auth_cookie fix From: AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-09-24[w3m-dev 03318] Re: PasswordsFumitoshi UKAI1-116/+19
* etc.c (struct auth_path): added (passwords): added (dir_under): added (add_auth_pass_entry): added (find_auth_pass_entry): added (find_auth_user_passwd): added (loadPasswd): added (find_auth): dir_under() (add_auth_cookie): check file * file.c (find_auth_user_passwd): removed (getAuthCookie): use delText() check proxy (get_auth_cookie): removed (loadGeneralFile): auth_pu * proto.h (schemeToProxy): added (get_auth_cookie): removed (loadPasswd): added (find_auth_user_passwd): added * rc.c (sync_with_option): loadPasswd() * textlist.c (delValue): added * textlist.h (delValue): added (delText): added * url.c (HTTPrequest): seen_www_auth (schemeToProxy): added From: AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-09-11[w3m-dev 03311] Re: PasswordsFumitoshi UKAI1-1/+3
* configure (config.h): default PASSWD_FILE * fm.h (passwd_file): default PASSWD_FILE From: Yuuichi Teranishi <teranisi@gohome.org>
2002-09-10if wrong password, dont read passwd_fileFumitoshi UKAI1-2/+3
2002-09-10fcloseFumitoshi UKAI1-2/+3
2002-09-10[w3m-dev 03307] add password_file supportFumitoshi UKAI1-41/+132
* file.c (find_auth_user_passwd): added * fm.h (passwd_file): added * rc.c (CMT_PASSWDFILE): added (passwdfile): added From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-08-27run indentFumitoshi UKAI1-2/+2
2002-08-20Debian Bug#157098: wrong file presentation on large filesFumitoshi UKAI1-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>
2002-07-19[w3m-dev 03276] compile error on EWS4800Fumitoshi UKAI1-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>
2002-06-24[w3m-dev 03233] "obuf->flag |= RB_IGNORE_P" after <body> tagFumitoshi UKAI1-2/+1
* file.c (HTMLtagproc1): no need RB_IGNORE_P after <body> tag From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-06-09[w3m-dev-en 00752] Re: tab completion weirdness in w3m 0.3Fumitoshi UKAI1-5/+9
* file.c (doFileCopy): same fix as [w3m-dev-en 00751] From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-05-14[w3m-dev 03191] typo in file.c:extract_auth_val()?Fumitoshi UKAI1-2/+2
* file.c (extract_auth_val): s/177/0177/ From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-04-17[w3m-dev 03176] no Content-Type in http response headerFumitoshi UKAI1-1/+3
* file.c (loadGeneralFile): guess content-type from filename From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-04-09[w3m-dev 03167] xface2xbm -> xface2xpm (current imlib can't handle XBM)Fumitoshi UKAI1-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>
2002-03-19[w3m-dev 03135] commit of [w3m-dev 03006] is incomplete.Fumitoshi UKAI1-3/+6
* file.c (HTMLlineproc2body): check form_int fid attr update forms[] fix buf->formlist From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-03-15indent fixFumitoshi UKAI1-6/+8
2002-03-15[w3m-dev 03132] Re: Reload imageFumitoshi UKAI1-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>
2002-03-14[w3m-dev 03129] Re: X-FaceFumitoshi UKAI1-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>
2002-03-13[w3m-dev 03127] X-FaceFumitoshi UKAI1-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>
2002-03-13[w3m-dev 03125] w3m -m < imageFumitoshi UKAI1-1/+10
* file.c (openGeneralPagerBuffer): use internal viewer for -m option From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-03-12[w3m-dev 03116] Re: aligned block in <td align="center">Fumitoshi UKAI1-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>
2002-03-11[w3m-dev 03110] Re: gopher brokenFumitoshi UKAI1-1/+3
* file.c (loadGeneralFile): #ifdef USE_GOPHER From: WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp>
2002-03-10[w3m-dev 03106] Re: displayBufferFumitoshi UKAI1-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>
2002-03-08[w3m-dev 03095] Re: gopher brokenFumitoshi UKAI1-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>
2002-03-08[w3m-dev 03092] Reload imageFumitoshi UKAI1-1/+2
* file.c (loadImageBuffer): cache->index = 0 From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-03-08[w3m-dev 03093] Re: gopher brokenFumitoshi UKAI1-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>
2002-03-08[w3m-dev 03090] Re: gopher brokenFumitoshi UKAI1-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>
2002-03-08[w3m-dev 03088] gopher brokenFumitoshi UKAI1-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>
2002-03-05[w3m-dev 03084] A temporary file remains when pipe + 'v'Fumitoshi UKAI1-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>
2002-02-28[w3m-dev 03073] frame + imageFumitoshi UKAI1-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>
2002-02-28[w3m-dev 03072] Proxy-Authorization (Re: Re: https through proxy)Fumitoshi UKAI1-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>
2002-02-26[w3m-dev 03067] Re: https through proxyFumitoshi UKAI1-2/+2
* file.c (loadGeneralFile): comment out ssl_get_certificate here From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-02-19[w3m-dev 03057] Re: Bug#134350: w3m: Forgets (http auth) login information ↵Fumitoshi UKAI1-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>
2002-02-08[w3m-dev 03011] segmentation fault on <input> tag without <form>Fumitoshi UKAI1-2/+4
* file.c (process_input): tmp initialization fix From: Tsutomu Okada <okada@furuno.co.jp>
2002-02-07[w3m-dev 03006] fix form order in tableFumitoshi UKAI1-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>
2002-02-06[w3m-dev 02999] don't ask accept bad cert when background downloadingFumitoshi UKAI1-1/+5
* file.c (getAuthCookie): if QuietMessage, return NULL * file.c (inputAnswer): if QuietMessage, input "n" From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-02-05[w3m-dev 02991] form support in w3m -halfdump foo.html|w3m -halfloadFumitoshi UKAI1-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>
2002-02-05[w3m-dev 02990]Fumitoshi UKAI1-9/+9
* file.c (doFileCopy): use Strfgets() instead of fgets() * file.c (doFileSave): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-02-05[w3m-dev 02989]Fumitoshi UKAI1-4/+2
* file.c (inputAnswer): use Strfgets() instead of fgets() From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-02-04[w3m-dev 02984] inline image improvements and cleanupsFumitoshi UKAI1-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>
2002-02-04[w3m-dev 02984] inline image improvements and cleanupsFumitoshi UKAI1-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>
2002-02-04[w3m-dev 02985] inputAnswer() and no "ssl_forbid_method"Fumitoshi UKAI1-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>
2002-02-03[w3m-dev 02979] code_to_str not found ifndef JP_CHARSETFumitoshi UKAI1-1/+3
* file.c (print_internal_information): ifdef JP_CHARSET From: Kazuhiko <kazuhiko@archi.kyoto-u.ac.jp>
2002-02-03[w3m-dev 02964] Print data of forms when halfdump option is setFumitoshi UKAI1-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>
2002-02-01[w3m-dev 02968] fix problem with Netscape-Enterprise WWW-authenticateFumitoshi UKAI1-2/+2
* file.c (findAuthentication): token is case insensitive From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-01-31[w3m-dev 02961] halfdump image is not consistentFumitoshi UKAI1-7/+6
* file.c (flushline): check f * file.c (do_blankline): fix blanklink conditions From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2002-01-31gcc -Wall -Werror safeFumitoshi UKAI1-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>