Dai Sato
50c06d19a9
fix type, add GC_INIT().
2007-05-31 01:19:50 +00:00
Dai Sato
3c7e9b27c1
[w3m-dev 04155] fix for minpw.
2007-05-23 15:06:05 +00:00
Dai Sato
22d66ca585
rewind to 10 Feb 2006.
2006-04-07 13:21:11 +00:00
Dai Sato
bc7f9c9026
apply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006.
2006-04-05 14:18:53 +00:00
Fumitoshi UKAI
d02cc0c7de
[w3m-dev 04064] authentication
...
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
2004-04-16 18:47:18 +00:00
Fumitoshi UKAI
4028a343d5
[w3m-dev 04010] support for deprecated __ss_family
...
* acinclude.m4 (AC_W3M_IPv6): check __ss_family
* config.h.in: add HAVE_OLD_SS_FAMILY
* ftp.c (ftp_pasv): ifdef HAVE_OLD_SS_FAMILY
From: ABE Yuji <cbo46560@pop12.odn.ne.jp >
2003-10-22 18:44:30 +00:00
Fumitoshi UKAI
683e546c2d
fix build error --disbable-m17n
...
* 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 >
2003-10-05 18:52:50 +00:00
Fumitoshi UKAI
604c11affe
merge m17n patch
...
add libwc
2003-09-22 21:02:15 +00:00
Fumitoshi UKAI
5d0bedb68b
[w3m-dev 03849] fix no INET6
...
* ftp.c: no need ifdef INET6
From: ABE Yuji <cbo46560@pop12.odn.ne.jp >
2003-04-07 15:26:10 +00:00
Fumitoshi UKAI
a603190b2e
[w3m-dev 03843] cleanup macros
...
* 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 >
2003-04-06 16:27:53 +00:00
Fumitoshi UKAI
2766b37ab6
fix indent
2003-03-06 14:26:14 +00:00
Fumitoshi UKAI
78bb2cb342
[w3m-dev 03784] ftp directory support
...
* ftp.c (AbortLoading): added
(KeyAbort): added
(openFTPStream): remove '~' in realpathname?
(loadFTPDir): remove '~' in realpathname?
keyabort
new ex_ftpdir_name_size_date()
add symlink information to flist
(XD_CTOD): deleted
(EX_COUNT_DIGIT): added
(ex_ftpdir_name_size_date): add **link
accept device file
loose date check for localized server
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-02-26 17:37:58 +00:00
Fumitoshi UKAI
4336b447de
[w3m-dev 03761] eliminate compiler warnings
...
* ftp.c (ftp_login): Str tmp
* table.c (feed_table_tag): p is used ifdef ID_EXT
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-02-20 15:39:18 +00:00
Fumitoshi UKAI
0aeedf43a0
* file.c (loadGopherDir): convertLine RAW_MODE
...
* ftp.c (loadFTPDir): ditto
* fix indent
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-15 16:24:25 +00:00
Fumitoshi UKAI
9e49e56287
[w3m-dev 03641] Re: cleanup (don't close connection of news server)
...
* ftp.c (ftp_command): fix fwrite arg
* news.c (news_command): fix fwrite arg
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-15 16:14:40 +00:00
Fumitoshi UKAI
dfd33cccd5
[w3m-dev 03640] Re: cleanup (don't close connection of news server)
...
* anchor.c (_put_ahchor_news): always conv_str
(_put_anchor_all): always conv_str
* etc.c (close_all_fds): deleted
(close_all_fds_except): added, except fd=f is left open
* file.c (guess_filename): added
(UFhalfclose): added
(convertLine): cleanup_line if not raw mode
check uf
(readHeader): always convertLine
(loadGeneralFile): rewrite
(loadGopherDir): return Str, args change to ParsedURL and code
rewrite
(saveBuffer): always conv_str
(_doFileCopy): close_all_fds
(doFileSave): close_all_fds_except
(uncompress_stream): dup, close_all_fds_except
* form.c (form_fputs_decode): always conv_str
(input_textarea): convertLine
* frame.c (createFrameFile): convertLine
* ftp.c (loadFTPDir): arg code
rewrite
(readFTPDir): convertLine
* html.h (UFfileno): added
* image.c (loadImage): close_all_fds
* indep.h (RAW_MODE): added
* local.c (loadLocalDir): return Str
(dirBuffer): rewrite
(localcgi_popen_r): close_all_fds
* main.c (main): check SCM_LOCAL
print err_msg
* news.c (news_command): args cmd and arg
(news_quit): news_command
(openNewsStream): news_command
(readNewsgroup): deleted
(loadNewsgroup): added
(closeNews): added
* proto.h (loadGopherDir): update
(conv_str): define for no JP_CHARSET
(readFTPDir): deleted
(loadFTPDir): added
(readNewsgroup): deleted
(loadNewsgroup): added
(dirBuffer): deleted
(loadLocalDir): added
(close_all_fds): defined by close_all_fds_except
(close_all_fds_except): added
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-15 16:11:43 +00:00
Fumitoshi UKAI
24fbb90b3d
* ftp.c (ftp_pasv): ftp_command response
...
(readFTPDir): masked declaration of realpathname
From: Fumitoshi UKAI <ukai@debian.or.jp >
2003-01-11 16:00:55 +00:00
Fumitoshi UKAI
567bdbc0cb
fix indent
2003-01-11 15:55:10 +00:00
Fumitoshi UKAI
03fa645498
[w3m-dev 03633] Re: cleanup (don't close connection of news server)
...
* file.c (FTPhalfclose): deleted
(loadGeneralFile): closeFTP when doFileSave is done
(_doFileCopy): return int
(doFileMove): return int
(doFileSave): return int
* ftp.c: rewrite
* main.c (w3m_exit): disconnectFTP
* proto.h (_doFileCopy): return int
(doFileMove): return int
(doFileSave): return int
(openFTP): deleted
(openFTPStream): return InputStream
(closeFTP): no arg
(Ftpfclose): disconnectFTP
* url.c (openFTPstream): deleted
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2003-01-11 15:54:08 +00:00
Fumitoshi UKAI
4ca69fff36
[w3m-dev 03595] tolower, toupper
...
* Str.c (Strlower): TOLOWER
(Strupper): TOUPPER
* backend.c: delete ctype.h
* etc.c (gethtmlcmd): TOLOWER
* file.c (readHeader): TOLOWER
(checkOverWrite): TOLOWER
(guess_charset): TOLOWER
* ftp.c: delete ctype.h
* indep.c (strcasecmp): TOLOWER
(strncasecmp): TOLOWER
(strcasematch): TOLOWER
* istream.c: include myctype.h
(ssl_get_certificate): TOLOWER
* mailcap.c (mailcapMatch): TOLOWER
* main.c (_quitfm): TOLOWER
* menu.c (accesskey_menu): TOLOWER
* mimehead.c: include myctype.h
(decodeWord): TOUPPER
* mktable.c: delete ctype.h, include myctype.h
(main): IS_SPACE
* myctype.h: delete ctype.h
(TOLOWER): added
(TOUPPER): added
* parsetagx.c (parse_tag): TOLOWER
* rc.c (str_to_bool): TOLOWER
(str_to_color): TOLOWER
* regex.c: delete ctype.h, include myctype.h
(TOLOWER): added
(TOUPPER): added
(regmatch1): TOLOWER
(matchWhich): TOLOWER, TOUPPER
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-24 17:20:45 +00:00
Fumitoshi UKAI
76d0b32d30
[w3m-dev 03588] include time.h in ftp.c
...
* ftp.c: include <time.h>
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp >
2002-12-19 15:29:05 +00:00
Fumitoshi UKAI
c795d4380f
[w3m-dev 03574] Re: preserve timestamp
...
* ftp.c (getFtpModtime): don't call localtime,gettime in same expr
From: Takahashi Youichirou <nikuq@hk.airnet.ne.jp >
2002-12-15 12:12:47 +00:00
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