aboutsummaryrefslogtreecommitdiffstats
path: root/file.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* suppress compile warnings.Ito Hiroyuki2010-07-241-4/+5
|
* * [w3m-dev 04321] Re: w3m's bugs from bugs.debian.orgIto Hiroyuki2010-07-191-3/+20
| | | | | | | | | | | * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329862#20 * table.c (feed_table_tag): check displayLinkNumber. * proto.h: add getLinkNumberStr(). * main.c (do_dump): check displayLinkNumber. * fm.h: add global variable displayLinkNumber. * file.c (getLinkNumberStr): added. (process_input, process_select, HTMLtagproc1): check displayLinkNumber.
* * [w3m-dev 04321] Re: w3m's bugs from bugs.debian.orgIto Hiroyuki2010-07-191-1/+8
| | | | | | | * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329863#8 * rc.c: Introduce option pseudo_inlines. * fm.h: add global variable pseudoInlines. * file.c (process_img): check q.
* * [w3m-dev 04321] Re: w3m's bugs from bugs.debian.orgIto Hiroyuki2010-07-191-3/+13
| | | | | | | | | | | | | * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185006#22 * main.c (sig_chld): save exit code to d->err. (addDownloadList): initialize d->running and d->err. (DownloadListBuffer): check d->err. * fm.h (_DownloadList): add running and err. * file.c (save2tmp): check returned value of Strfputs(). (doFileSave): exit code is depend on the returned value of save2tmp().
* * [w3m-dev 04238] [patch] simple preserve spaceIto Hiroyuki2010-07-191-2/+2
| | | | | | * rc.c: Introduce option simple_preserve_space. * fm.h: add global variable SimplePreserveSpace. * file.c (HTMLlineproc0): check SimplePreserveSpace.
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242599#21Ito Hiroyuki2010-07-181-8/+20
| | | | | | | | | | | | | | * file.c (is_html_type): added. (examineFile, loadGeneralFile, _saveBuffer) (openGeneralPagerBuffer, reloadBuffer): use is_html_type() instead of strcasecmp(). (loadGeneralFile): set f.guess_tupe * display.c (displayBuffer): use is_html_type() instead of strcasecmp(). * buffer.c (reshapeBuffer): use is_html_type() instead of strcasecmp(). * backend.c (internal_get): use is_html_type() instead of strcasecmp().
* [w3m-dev 04155] fix for minpw.Dai Sato2007-05-231-1/+15
|
* [w3m-dev 04236] expand display_ins_del to select a type of fontify.Dai Sato2007-05-231-28/+181
|
* [w3m-dev 03923] avoid extra blanks in pre in table.Dai Sato2007-05-231-1/+2
|
* avoid conflicts between input_alt and img_alt, and fix calculation of ↵Dai Sato2007-04-191-5/+7
| | | | labeled line numbers when fold_line=1. [w3m-dev 04211]
* * [SECURITY] fix format string vulnerabilityFumitoshi UKAI2006-12-271-2/+2
| | | | * file.c (inputAnswer) fix format string bug
* [w3m-dev 04185] display <em> and <i> elements with bold letters.Dai Sato2006-12-101-16/+65
|
* [w3m-dev 04184] automatic uncompression in downloadingDai Sato2006-12-101-4/+5
|
* add LiveHTTPHeaders-like option: -reqlog.Dai Sato2006-12-101-5/+3
|
* avoid decoding when dump_extra option is specified.Dai Sato2006-06-121-1/+3
|
* avoid decoding when dump_extra option is specified.Dai Sato2006-06-101-2/+2
|
* Show progress status when dump_extra option is specified. [w3m-dev 03992]Dai Sato2006-06-101-1/+3
|
* [w3m-dev-en 01067] decode content-encoding in all situations.Dai Sato2006-05-291-2/+17
|
* check A tag in HTMLlineproc2body().Dai Sato2006-04-081-2/+17
|
* Introduce option show_cookie and set it TRUE by default.Dai Sato2006-04-071-7/+11
|
* rewind to 10 Feb 2006.Dai Sato2006-04-071-42/+9
|
* apply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006.Dai Sato2006-04-051-9/+42
|
* file.c: replace pclose with fclose in the end of uncompress_stream() by Dai SatoDai Sato2006-02-091-2/+2
| | | | CVS ----------------------------------------------------------------------
* [w3m-dev 04130] [w3m-dev 04131] [w3m-dev 04132] Multiple challeges in ↵Fumitoshi UKAI2005-01-041-58/+192
| | | | | | | | | | | *-Authenticate header * file.c (skip_auth_token): added (extract_auth_val): ',' is end of token (extract_auth_param): use skip_auth_token (AuthDigestCred): parse qop and calc cnonce correctly (findAuthentication): use skip_auth_token From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 04117] Re: start attribute and value attribute on ordered listsFumitoshi UKAI2004-11-041-3/+5
| | | | | * file.c (HTMLtagproc1): allow negative value for start attr From: Hiroyuki Ito <ZXB01226@nifty.com>
* [w3m-dev 04064] authenticationFumitoshi UKAI2004-04-161-71/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes: Bug#:244029: w3m: HTTP basic authentication annoyance * fm.h (auth_cookie): deleted * proto.h (find_auth_cookie): deleted (add_auth_cookie): deleted (add_auth_user_passwd): added (invalidate_auth_user_passwd): added * etc.c (auth_pass): add bad flag delete file (dir_under): deleted (add_auth_pass_entry): add override flag no need to check file (find_auth_pass_entry): delete file check bad flag check uname (find_auth_user_passwd): find by pu->user (add_auth_user_passwd): added (invalidate_auth_user_passwd): added (parsePasswd): add no override ignore file (find_auth): deleted (find_auth_cookie): deleted (dump_auth_cookie): deleted (add_auth_cookie): deleted * file.c (getAuthCookie): add *uname, *pwd rewrite (loadGeneralFile): delete ss, add uname, pwd use add_auth_user_passwd instead of add_auth_cookie * url.c (HTTPrequest): don't authorization here it should be done in getAuthCookie in loadGeneralFile through extra_header * ftp.c (openFTPStream): add uname use find_auth_user_passwd instead of find_auth_cookie use add_auth_user_passwd instead of add_auth_cookie
* [w3m-dev 04021] Deeply nested tableFumitoshi UKAI2003-12-081-1/+4
| | | | | * file.c (completeHTMLstream): check obuf->table_level From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 04009] ./configure --disable-image problemFumitoshi UKAI2003-10-221-2/+2
| | | | | * file.c (loadHTMLstream): if defined(USE_M17N) From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
* OpenLDAP¤ÈActive Directory¤¬µÕ?Fumitoshi UKAI2003-10-211-4/+2
|
* [w3m-dev 03985] Re: support for 307 Temporary RedirectFumitoshi UKAI2003-10-081-2/+7
| | | | | * file.c (loadGeneralFile): support 307 Temporary Redirect From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix build error --disbable-m17nFumitoshi UKAI2003-10-051-14/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | * config.h.in: undef USE_M17N, USE_UNICODE * etc.c (url_unquote_conv): USE_M17N * file.c (convertLine): USE_M17N (loadHTMLStream): fix ifdef USE_IMAGE->USE_M17N (loadBuffer): fix USE_M17N (getNextPage): fix USE_M17N * fm.h (USE_M17N): don't define USE_M17N in case LANG == JA (this should be done by configure) (wc_ces): dummy typedef (wc_Str_conv): fix non-m17n macro args (wc_Str_conv_strict): ditto * ftp.c (loadFTPDir): fix undefined USE_M17N * mimehead.c (decodeWord): ditto (decodeMIME): ditto * news.c (loadNewsgroup): ditto * proto.h (convertLine): ditto (loadGopherDir): ditto (loadFTPDir): ditto (loadNewsgroup): ditto (decodeWord): ditto (decodeMIME): ditto (url_unquote_conv): ditto * terms.c (SETCH): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
* add commentsFumitoshi UKAI2003-09-261-1/+33
|
* fix indentFumitoshi UKAI2003-09-241-119/+119
|
* merge m17n patchFumitoshi UKAI2003-09-221-523/+562
| | | | add libwc
* [w3m-dev 03957] Location: from local-CGIFumitoshi UKAI2003-08-291-2/+2
| | | | | | * file.c (loadGeneralFile): don't parse header for local file redirected by Location: from local-CGI From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03927] deflateFumitoshi UKAI2003-07-071-2/+2
| | | | | | * file.c (compression_decoder): .deflate for application/x-deflate's extension From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03901] body with status-code 401Fumitoshi UKAI2003-05-131-5/+3
| | | | | * file.c (loadGeneralFile): show page when 401, 407 From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
* [w3m-dev 03882] Re: Bug#189460: w3m: <q> tag is not recognizedFumitoshi UKAI2003-04-181-1/+7
| | | | | | | | | * file.c (HTMLtagproc1): add HTML_Q, HTML_N_Q * html.c (TagMAP): add "q", "/q" * html.h (HTML_Q): added (HTML_N_Q): added * tagtable.tab: add q, /q From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03875] Re: SSL & compressed streamFumitoshi UKAI2003-04-141-2/+3
| | | | | | | * file.c (loadGeneralFile): check t_buf != NULL * url.c (openURL): don't initialize URLFile here (init_stream): 0 clear URLFile From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03873] SSL & compressed streamFumitoshi UKAI2003-04-131-3/+2
| | | | | | * file.c (loadGeneralFile): always update ssl_certificate * url.c (openURL): initialize URLFile From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03843] cleanup macrosFumitoshi UKAI2003-04-061-3/+1
| | | | | | | | | | | | | * config.h.dist config.h.in etc.c file.c fm.h ftp.c linein.c main.c rc.c: delete EMACS_LIKE_LINEEDIT, VI_PREC_NUM, LABEL_TOPLINE, NEXTPAGE_TOPLINE, FTPPASS_HOSTNAMEGEN use_mark default FALSE emacs_like_lineedit default FALSE vi_prec_num default FALSE add UseHistory, use_history * NEWS: rc: use_history From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03788] UFhalfcloseFumitoshi UKAI2003-03-021-2/+2
| | | | | * file.c (UFhalfclose): closeNews() for SCM_NEWS,NNTP From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03735] Re: make error of checkType argFumitoshi UKAI2003-02-061-62/+23
| | | | | | | | | | | | | * etc.c (checkType): delete USE_ANSI_COLOR * file.c (addnewline): macro for USE_ANSI_COLOR (readHeader): rewrite of USE_ANSI_COLOR (HTMLlineproc2body): ditto (addnewline2): ditto (addnewline): ditto (loadBuffer): ditto (getNextPage): ditto * proto.h (checkType): macro for USE_ANSI_COLOR From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03719] Re: Too slow when loading big file with fold_line=1Fumitoshi UKAI2003-01-301-2/+2
| | | | | * file.c (addnewline): check i <l->len From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03718] Too slow when loading big file with fold_line=1Fumitoshi UKAI2003-01-301-18/+4
| | | | | | | | | | * etc.c (nextColumn): added (calcPosition): use New_N rewrite with nextColumn (columnLen): added * file.c (addnewline): rewrite with columnLen * proto.h (columnLen): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03715] initial currentLine when pager mode.Fumitoshi UKAI2003-01-301-2/+2
| | | | | * file.c (getNextPage): fix cur From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03714] -cols 1 -dump -o fold_line=1Fumitoshi UKAI2003-01-301-1/+10
| | | | | | | * file.c (addnewline): check i == 0, i == l->len * fm.h (_INIT_BUFFER_WIDTH): added (INIT_BUFFER_WIDTH): use _INIT_BUFFER_WIDTH From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03709] Re: view source, edit sourceFumitoshi UKAI2003-01-291-4/+19
| | | | | | | | | | * display.c (displayBuffer): INIT_BUFFER_WIDTH * file.c (_saveBuffer): added (saveBuffer): use _saveBuffer (saveBufferBody): added * main.c (vmSrc): saveBufferBody * proto.h (saveBufferBody): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2003-01-291-4/+4
|
* [w3m-dev 03708] Re: Don't stop loading image when moving to next page.Fumitoshi UKAI2003-01-291-98/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.h.dist (lstat): define ifndef HAVE_LSTAT * configure (config.h) ditto * display.c (fmTerm): new loadImage (save_current_buf): only ifdef USE_BUFINFO (displayBuffer): new loadImage * etc.c (setup_child): TrapSignal * file.c (loadGeneralFile): TRAP_OFF, TRAP_ON (loadHTMLstream): ditto (loadGopherDir): ditto (loadBuffer): ditto (loadImageBuffer): ditto (getNextPage): ditto (save2tmp): ditto * fm.h (TrapSignal): added (TRAP_ON): added (TRAP_OFF): added * form.c (HAVE_LSTAT): deleted * frame.c (createFrameFile): TRAP_OFF, TRAP_ON * image.c (image_buffer): added (deleteImage): new loadImage (getAllImage): initialize image_buffer (loadImage): rewrite * main.c (main): new loadImage (checkDownloadList): remove ifdef HAVE_LSTAT * news.c (loadNwesgroup): TRAP_ON, TRAP_OFF * proto.h (loadImage): add buf arg * url.c (openSocket): TRAP_ON, TRAP_OFF (check_no_proxy): TRAP_ON, TRAP_OFF From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>