aboutsummaryrefslogtreecommitdiffstats
path: root/file.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* [w3m-dev 03706] X-Image-URL: support, bug fix of reshapeBuffer()Fumitoshi UKAI2003-01-281-17/+27
| | | | | | * buffer.c (reshapeBuffer): rewrite * file.c (readHeader): rewrite From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2003-01-241-2/+2
|
* [w3m-dev 03684] Re: fold patchFumitoshi UKAI2003-01-241-8/+11
| | | | | | | * file.c (PSIZE): added (HTMLlineproc2body): outc,outp is created by NewAtom_N use PSIZE From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* file.c (getNextPage): no need volatile for codeFumitoshi UKAI2003-01-241-2/+2
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix indentFumitoshi UKAI2003-01-241-3/+3
|
* [w3m-dev 03683] interrupt in getNextPage()Fumitoshi UKAI2003-01-241-8/+20
| | | | | * file.c (getNextPage): trap SIGINT From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2003-01-231-7/+7
|
* [w3m-dev 03667] fold patchFumitoshi UKAI2003-01-231-112/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * anchor.c (reAnchorPos): rewrite (reAnchorWord): delete reseq_anchor() (reAnchorAny): use l->size delete reseq_anchor() * backend.c (internal_get): pass TRUE to saveBuffer * buffer.c (newBuffer): delete n->linelen (reshapeBuffer): rewrite * display.c (displayBuffer): FoldLine (redrawLine): l->bpos (cursorUp0): added (cursorUp): rewrite (cursorDown0): added (cursowDown): rewrite (cursorRight): check l->next l->bwidth (cursorLeft): l->prev && l->bpos l->bwidth (arrangeCursor): buf->currentLine->bwidth buf->cursorX * etc.c (checkType): **oporp rewrite (calcPosition): realColumn allocated by New_reuse * file.c (addnewline): add nlines arg (propBuffer): deleted (colorBuffer): deleted (readHeader): propBuffer FOLD_BUFFER_WIDTH (HTMLlineproc2body): rewrite (addnewline2): added (addnewline): rewrite (loadBuffer): propBuffer, colorBuffer (saveBuffer): cont arg (getNextPage): rewrite * fm.h (LINELEN): 256 (FNLEN): deleted (Line): add size, bpos, bwidth (Buffer): delete linelen (INIT_BUFFER_WIDTH): check showLineNum (FOLD_BUFFER_WIDTH): added (FoldLine): added * funcname.tab (RESHAPE): added * main.c (do_dump): pass FALSE to saveBuffer (nscroll): rewrite (clear_mark): l->size (shiftvisualpos): rewrite (pipeBuf): pass TRUE to saveBuffer (linebeg): check line->prev && line->bpos (linend): check line->next, line->next->bpos (editScr): pass TRUE to saveBuffer (svBuf): pass TRUE to saveBuffer (vmSrc): pass TRUE to saveBuffer (reshape): added (curlno): rewrite * mimehead.c (LINELEN): deleted * proto.h (reshape): added (saveBuffer): add cont arg (cursorUp0): added (cursorDown0): added (checkType): change type oprop, ocolor, delete check_color, len * rc.c (CMT_FOLD_LINE): added (params1): add fold_line (sync_with_option): check PagerMax * search.c (set_mark): l->size (forwardSearch): rewrite (backwardSearch): rewrite * doc/README.func (RESHAPE): added * doc-jp/README.func (RESHAPE): added * scripts/w3mhelp.cgi.in (Buffer operation): add reshape From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03680] showProgress() on fast systemFumitoshi UKAI2003-01-231-8/+10
| | | | | * file.c (showProgress): check line len, time From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03679] Re: cleanup for pipeFumitoshi UKAI2003-01-231-10/+16
| | | | | | * etc.c (open_pipe_rw): check stdin, stdout * file.c (uncompress_stream): rewrite From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03677] view source, edit sourceFumitoshi UKAI2003-01-221-8/+1
| | | | | | | | | | * buffer.c (discardBuffer): unlink header source * file.c (loadFile): delete skip header * fm.h (BP_SOURCE): deleted (SkipHeader): deleted * main (editBf): cleanup (vmSrc): cleanup From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* fix indentFumitoshi UKAI2003-01-221-2/+2
|
* [w3m-dev 03676] cleanup for pipeFumitoshi UKAI2003-01-221-66/+42
| | | | | | | | | | | | | | * etc.c (open_pipe_rw): added * file.c (uncompress_stream): rewrite using open_pipe_rw * image.c (openImgdisplay): rewrite using open_pipe_rw * local.c (localcgi_popen_rw): deleted (localcgi_post): rewrite using open_pipe_rw * proto.h (open_pipe_rw): added * search.c (migemor): initialized to NULL (migemow): initialized to NULL (migemo_pid): initialized to 0 (open_migemo): rewrite using open_pipe_rw From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>