aboutsummaryrefslogtreecommitdiffstats
path: root/indep.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-02-05fix indentFumitoshi UKAI1-15/+15
2003-02-05[w3m-dev 03730] display decoded URLFumitoshi UKAI1-55/+46
* anchor.c (link_list_panel): support DecodeURL * display.c (make_lastline_link): support DecodeURL * etc.c (url_unquote_conv): added * fm.h (DecodeURL): added * history.c (historyBuffer): support DecodeURL * indep.c (QUOTE_MAP): added (HTML_QUOTE_MAP): added (html_quote_char): deleted (url_quote): use is_url_quote (file_quote): use is_file_quote (is_url_safe): deleted (Str_form_quote): use is_url_unsafe (Str_url_unquote): add safe args (is_shell_safe): delete (shell_quote): use is_shell_unsafe * indep.h (QUOTE_MAP): added (HTML_QUOTE_MAP): added (HTML_QUOTE_MASK): added (SHELL_UNSAFE_MASK): added (URL_QUOTE_MASK): added (FILE_QUOTE_MASK): added (URL_UNSAFE_MASK): added (GET_QUOTE_TYPE): added (is_html_quote): added (is_shell_unsafe): added (is_url_quote): added (is_file_quote): added (is_url_unsafe): added (html_quote_char): added (html_quote_char): deleted (Str_url_unquote): added safe (form_unquote): Str_url_unquote changes * linein.c (_prev): support DecodeURL (_next): ditto * main.c (goURL0): support DecodeURL (_peekURL): ditto (curURL): ditto * map.c (follow_map_panel): support DecodeURL (append_map_info): ditto (append_link_info): ditto (append_frame_info): ditto (page_info_panel): ditto * menu.c (initSelectMenu): delete SCM_LOCAL_CGI support DecodeURL (initSelTabMenu): delete SCM_LOCAL_CGI support DecodeURL (link_menu): support DecodeURL * parsetagx.c (parse_tag): is_html_quote * proto.h (url_unquote_conv): added * rc.c (CMT_DECODE_URL): added (params1): add decode_url * url.c (openURL): Str_url_unquote non safe From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-01-17fix indentFumitoshi UKAI1-5/+5
2003-01-17[w3m-dev 03647] expandName() and expandPath()Fumitoshi UKAI1-15/+20
* 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-08[w3m-dev 03616] Re: data: URL schemeFumitoshi UKAI1-31/+4
* 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>
2002-12-24[w3m-dev 03595] tolower, toupperFumitoshi UKAI1-6/+6
* 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-09[w3m-dev 03542] news supportFumitoshi UKAI1-7/+4
* 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-11-09[w3m-dev 03398] auxbindirFumitoshi UKAI1-1/+7
* 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-08-27[w3m-dev 03290] Re: Forward: Bug#157098: wrong file presentation on large filesFumitoshi UKAI1-4/+4
* indep.c (strtoclen): need defined() From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2002-08-20Debian Bug#157098: wrong file presentation on large filesFumitoshi UKAI1-1/+17
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-06-07[w3m-dev 03207] strchr(), strcasecmp(), and strncasecmp()Fumitoshi UKAI1-1/+45
* 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>
2001-12-26[w3m-dev 02735]Fumitoshi UKAI1-4/+5
From: "OMAE, jun" <jun-o@dai.meta.ne.jp>
2001-12-25[w3m-dev 02725] bcopy, bzeroFumitoshi UKAI1-2/+2
From: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2001-12-25[w3m-dev 02725] bcopy, bzeroFumitoshi UKAI1-1/+27
From: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2001-12-14[w3m-dev 02656]Fumitoshi UKAI1-9/+5
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-10[w3m-dev 02651] search keymap using hashFumitoshi UKAI1-2/+2
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-10[w3m-dev 02648] rewrite strCmp() with strcmp()Fumitoshi UKAI1-9/+2
Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
2001-12-10[w3m-dev 02441] A patch against functions *_(un)?quote()Fumitoshi UKAI1-28/+11
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-12-02[w3m-dev 02605]Fumitoshi UKAI1-3/+3
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
2001-11-27[w3m-dev 02574] sysconfdirFumitoshi UKAI1-1/+7
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-27[w3m-dev 02571]Fumitoshi UKAI1-1/+5
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-26[w3m-dev 02556]Fumitoshi UKAI1-1/+3
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-26[w3m-dev 02555]Fumitoshi UKAI1-3/+7
From: Fumitoshi UKAI <ukai@debian.or.jp>
2001-11-24run make indentFumitoshi UKAI1-49/+49
2001-11-22[w3m-dev 02503]Fumitoshi UKAI1-1/+18
From: aito@fw.ipsj.or.jp closes: Debian Bug#120540
2001-11-22[w3m-dev 02497]Fumitoshi UKAI1-8/+1
From: WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp>
2001-11-21[w3m-dev 02479] #ifdef cleanupsFumitoshi UKAI1-1/+23
make -> $(MAKE)
2001-11-20remove gcc warningsFumitoshi UKAI1-2/+2
2001-11-16follow autoconf conventions, #include cleanupsFumitoshi UKAI1-10/+7
2001-11-15Update to w3m-0.2.1-inu-1.6.Akinori Ito1-5/+5
2001-11-09Updates from 0.2.1 into 0.2.1-inu-1.5release-0-2-1-inu-1-5Akinori Ito1-460/+391