Commit Graph

17 Commits

Author SHA1 Message Date
Fumitoshi UKAI
021ce52a52 fix indent 2002-12-14 15:26:44 +00:00
Fumitoshi UKAI
26a8e37fdc [w3m-dev 03568] Re: preserve timestamp
* etc.c (USE_COOKIE): moved
* file.c (utime.h): include
	(setModtime): added
	(loadGeneralFile): set f.modtime
	(_doFileCopy): setModtime()
	(doFileSave): setModtime()
* ftp.c (getFtpModtime): added
	(openFTP): pass URLFile, set modtime
* html.h (URLFile): add modtime
* proto.h (openFTP): arg URLFile *uf
	(mymktime): always
* url.c (init_stream): initialize modtime
	(openFTPStream): pass URLFile
	(openURL): openFTPStream
From: Takahashi Youichirou <nikuq@hk.airnet.ne.jp>
2002-12-14 15:18:37 +00:00
Fumitoshi UKAI
a70ace1fec ftp.c (ftp_fclose): void return
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-18 18:26:13 +00:00
Fumitoshi UKAI
4f37c0a28c [w3m-dev 03444] download from ftp.
* file.c (FTPhalfclose: static
	(loadGeneralFile): UFclose
			FTPhalfclose for SCM_FTP
			UFclose before signal back
	(loadImageBuffer): UFclose before signal back
	(openGeneralPagerBuffer): UFclose
* ftp.c (ftp_fclose): added
	(Ftpfclose): dont read response(), but ftp_fclose()
	(FtpBye): ftp_fclose()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-11-18 18:10:35 +00:00
Fumitoshi UKAI
c5a144b682 [w3m-dev 03365] ~/.netrc support
* etc.c (add_auth_pass_entry): add netrc arg
		add new entry to tail
	(find_auth_pass_entry): ent->host == NULL is "default"
	(loadPasswd): rewrite with next_token, parsePasswd,
			openPasswdFile
			load ~/.netrc
	(next_token): added
	(parsePasswd): added
	(openPasswdFile): added
* ftp.c (openFTP): use find_auth_user_passwd
* NEWS: ~/.netrc
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-10-30 17:21:35 +00:00
Fumitoshi UKAI
d404404dda Debian Bug#157098: wrong file presentation on large files
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-08-20 17:49:38 +00:00
Fumitoshi UKAI
afbe346d3c [w3m-dev 03057] Re: Bug#134350: w3m: Forgets (http auth) login information 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-19 15:50:17 +00:00
Fumitoshi UKAI
b9cf2cda0d [w3m-dev 02822] Print FTP directory list for -dump_extra option
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-01-11 20:05:58 +00:00
Fumitoshi UKAI
90150252ad [w3m-dev 02732] fix Debian Bug#126381 - Passwords entered for HTTPS are used for HTTP
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-25 18:14:59 +00:00
Fumitoshi UKAI
e0f9c00f5e [w3m-dev 02586] code cleanup again
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-29 10:22:58 +00:00
Fumitoshi UKAI
c33cdfcd56 [w3m-dev 02584] code cleanup again
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-29 09:34:14 +00:00
Fumitoshi UKAI
975c8f9d43 run make indent 2001-11-24 02:01:26 +00:00
Fumitoshi UKAI
03f128ea0d add ftppass_hostnamegen 2001-11-23 20:23:41 +00:00
Fumitoshi UKAI
8ca5c59be7 add rcsids 2001-11-20 17:49:23 +00:00
Fumitoshi UKAI
6efb142eea remove gcc warnings 2001-11-20 04:11:16 +00:00
Akinori Ito
6c63633545 Updates from 0.2.1 into 0.2.1-inu-1.5 2001-11-09 04:59:17 +00:00
Akinori Ito
68a07bf03b Initial revision 2001-11-08 05:14:08 +00:00