Commit Graph

29 Commits

Author SHA1 Message Date
Fumitoshi UKAI
c09389519e [w3m-dev 03647] expandName() and expandPath()
* etc.c (openSecretFile): use expandPath
	(expandName): rewrite
	(file_to_url): use expandPath
* file.c (_doFileCopy): use expandPath
	(doFileSave): use expandPath
* indep.c (expandPath): rewrite
* linein.c (inputLineHistSearch): use expandPath
	(next_dcompl): use expandPath
	(doComplete): use expandPath
* local.c (set_cgi_environ): rewrite
* mailcap.c (loadMailcap): use expandPath
* main.c (svBuf): use expandPath
	(addDownloadList): use expandPath
* rc.c (init_rc): use expandPath
	(rcFile): rewrite
	(auxbinFile): use expandPath
	(libFile): use expandPath
	(etcFile): use expandPath
	(helpFile): use expandPath
* url.c (loadMimeTypes): use expandPath
	(loadURIMethods): use expandPath
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-17 17:05:57 +00:00
Fumitoshi UKAI
e78b061cfd [w3m-dev 03616] Re: data: URL scheme
* file.c (loadGeneralFile): check SCM_DATA
	(loadImageBuffer): newBuffer()
* html.h (SCM_DATA): added
* indep.c (url_unquote): deleted
	(Str_url_unquote): renamed from Str_form_unquote
			+ is decoded is_form only
* indep.h (url_unquote): deleted
	(Str_url_unquote): added
	(Str_form_unquote): define by Str_url_unquote
* main.c (followA): file_unquote
	(cmd_loadURL): file_unquote
* url.c (DefaultPort): add for data:
	(schemetable): add "data"
	(DefaultFile): SCM_FTPDIR
	(parseURL): scheme copied from current
	(parseURL2): SCM_DATA
		check SCM_FTP, SCM_FTPDIR
	(_parsedURL2Str): add data in scheme_str
		handle SCM_DATA
		SCM_FTPDIR
	(openURL): file_unquote
		handle SCM_DATA
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-08 17:24:11 +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
f9657e4719 [w3m-dev 03542] news support
* file.c (loadGeneralFile): NNTP as well as NEWS
* indep.c (url_unquote_char): check % hex hex
	(url_unquote): unquote except \0, \n, \r
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-09 15:24:00 +00:00
Fumitoshi UKAI
d7ed8ae7d7 [w3m-dev 03398] auxbindir
* XMakefile: EXT_TARGETS -> LIB_TARGETS, AUXBIN_TARGETS
* config.h.dist: add AUXBIN_DIR
		LIB_DIR is cgi-bin
* configure: add -auxbindir
		add AUXBIN_DIR
		LIB_DIR is cgi-bin
		EXT_TARGETS -> LIB_TARGETS, AUXBIN_TARGETS
* file.c (compression_decoder): libfile_p -> auxbin_p
	(check_command): libfile_p -> auxbin_p
			use w3m_auxbin_dir() instead of w3m_lib_dir()
	(acceptableEncoding): libfile_p -> auxbin_p
	(xface2xpm): use auxbinFile() instead of libFile()
	(uncompress_stream): libfile_p -> auxbin_p
			use auxbinFile() instead of libFile()
* image.c (getCharSize): use w3m_auxbin_dir() instead of w3m_lib_dir()
	(openImgdisplay): use w3m_auxbin_dir() instead of w3m_lib_dir()
* indep.c (w3m_auxbin_dir): added
* indep.h (w3m_auxbin_dir): added
* proto.h (auxbinFile): added
* rc.c (auxbinFile): added
	(libFile): #if 0, no longer used
	(helpFile): used only #ifndef USE_HELP_CGI
* NEWS: separate auxbindir and libdir (local-CGI, file:///$LIB/)
From: Fumitoshi UKAI  <ukai@debian.or.jp>
2002-11-09 21:55:24 +00:00
Fumitoshi UKAI
8d9955198a [w3m-dev 03290] Re: Forward: Bug#157098: wrong file presentation on large files
* indep.c (strtoclen): need defined()
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-08-27 16:35:15 +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
259d1f18be [w3m-dev 03207] strchr(), strcasecmp(), and strncasecmp()
* etc.c (strchr): removed
	(strcasecmp): removed
	(strncasecmp): removed
* indep.c (strchr): moved, cast
	(strcasecmp): moved, fix the case that s1 = ""
	(strncasecmp): moved, fix the case that s1 is shorter than s2
* indep.h (strchr): added
	(strcasecmp): added
	(strncasecmp): added
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-06-07 15:46:44 +00:00
Fumitoshi UKAI
e8865ad8a0 [w3m-dev 02735]
From: "OMAE, jun" <jun-o@dai.meta.ne.jp>
2001-12-26 17:57:57 +00:00
Fumitoshi UKAI
e125b1fb10 [w3m-dev 02725] bcopy, bzero
From: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2001-12-25 16:19:28 +00:00
Fumitoshi UKAI
6ab6376f31 [w3m-dev 02725] bcopy, bzero
From: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2001-12-25 16:11:07 +00:00
Fumitoshi UKAI
68d47de87a [w3m-dev 02656]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-14 17:10:54 +00:00
Fumitoshi UKAI
14f4297a04 [w3m-dev 02651] search keymap using hash
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-10 17:02:43 +00:00
Fumitoshi UKAI
53901c289a [w3m-dev 02648] rewrite strCmp() with strcmp()
Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-10 15:27:58 +00:00
Fumitoshi UKAI
aa0b3fe4d1 [w3m-dev 02441] A patch against functions *_(un)?quote()
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-10 15:23:08 +00:00
Fumitoshi UKAI
ba4557fc9d [w3m-dev 02605]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-02 16:26:08 +00:00
Fumitoshi UKAI
600a6bbd4b [w3m-dev 02574] sysconfdir
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-27 18:29:24 +00:00
Fumitoshi UKAI
c99c729780 [w3m-dev 02571]
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-27 16:55:46 +00:00
Fumitoshi UKAI
86cc59ae41 [w3m-dev 02556]
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-26 09:04:01 +00:00
Fumitoshi UKAI
b136c763a1 [w3m-dev 02555]
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-26 09:01:08 +00:00
Fumitoshi UKAI
975c8f9d43 run make indent 2001-11-24 02:01:26 +00:00
Fumitoshi UKAI
6f0999cbc2 [w3m-dev 02503]
From: aito@fw.ipsj.or.jp
closes: Debian Bug#120540
2001-11-22 14:15:19 +00:00
Fumitoshi UKAI
4493ae705f [w3m-dev 02497]
From: WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp>
2001-11-22 13:30:02 +00:00
Fumitoshi UKAI
91c91cb5cd [w3m-dev 02479] #ifdef cleanups
make -> $(MAKE)
2001-11-21 16:29:46 +00:00
Fumitoshi UKAI
6efb142eea remove gcc warnings 2001-11-20 04:11:16 +00:00
Fumitoshi UKAI
3a391ef6c2 follow autoconf conventions, #include cleanups 2001-11-16 22:02:00 +00:00
Akinori Ito
85da7ee692 Update to w3m-0.2.1-inu-1.6. 2001-11-15 00:32:13 +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