aboutsummaryrefslogtreecommitdiffstats
path: root/indep.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [w3m-dev 04063] about MakefileFumitoshi UKAI2004-04-091-2/+3
| | | | | | | | | | | | * Makefile.in (DEFS): use CGIBIN_DIR instead of LIB_DIR (MAKE_ARGS): ditto (distclean): rm -f * config.h.dist: use CGIBIN_DIR instead of LIB_DIR * indep.c (w3m_lib_dir): ditto * scripts/Makefile.in: ditto * scripts/multipart/Makefile.in: ditto * w3mimg/Makefile.in (clearn): remove w3mimg.a From: SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
* [w3m-dev 03945] Re: application/xhtml+xml supportFumitoshi UKAI2003-07-261-1/+7
| | | | | | | | | | | | | | | | | | | | | | * Makefile.in (ETC_DIR): added (CONF_DIR): added (DEFS): add CONF_DIR (MAKE_ARGS): add CONF_DIR * config.h.in (SYS_MAILCAP): use CONF_DIR (SYS_URIMETHODMAP): use CONF_DIR * func.c (sys_current_keymap_file): added (interpret_keymap): added (initKeymap): use interpret_keymap (interpret_mouse_action): added (initMouseAction): use interpret_mouse_action * indep.c (w3m_conf_dir): added * indep.h (w3m_conf_dir): added * menu.c (interpret_menu): added (initMenu): use interpret_menu * proto.h (confFile): added * rc.c (init_rc): read config file by interpret_rc (confFile): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03856] <gc.h>Fumitoshi UKAI2003-04-071-2/+2
| | | | | | * backend.c entity.c fm.h hash.c indep.c indep.h matrix.c textlist.c: s/"gc.h"/<gc.h>/ From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix indentFumitoshi UKAI2003-02-051-15/+15
|
* [w3m-dev 03730] display decoded URLFumitoshi UKAI2003-02-051-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>
* fix indentFumitoshi UKAI2003-01-171-5/+5
|
* [w3m-dev 03647] expandName() and expandPath()Fumitoshi UKAI2003-01-171-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>
* [w3m-dev 03616] Re: data: URL schemeFumitoshi UKAI2003-01-081-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>
* [w3m-dev 03595] tolower, toupperFumitoshi UKAI2002-12-241-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>
* [w3m-dev 03542] news supportFumitoshi UKAI2002-12-091-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>
* [w3m-dev 03398] auxbindirFumitoshi UKAI2002-11-091-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>
* [w3m-dev 03290] Re: Forward: Bug#157098: wrong file presentation on large filesFumitoshi UKAI2002-08-271-4/+4
| | | | | * indep.c (strtoclen): need defined() From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* Debian Bug#157098: wrong file presentation on large filesFumitoshi UKAI2002-08-201-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>
* [w3m-dev 03207] strchr(), strcasecmp(), and strncasecmp()Fumitoshi UKAI2002-06-071-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>
* [w3m-dev 02735]Fumitoshi UKAI2001-12-261-4/+5
| | | | From: "OMAE, jun" <jun-o@dai.meta.ne.jp>
* [w3m-dev 02725] bcopy, bzeroFumitoshi UKAI2001-12-251-2/+2
| | | | From: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* [w3m-dev 02725] bcopy, bzeroFumitoshi UKAI2001-12-251-1/+27
| | | | From: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* [w3m-dev 02656]Fumitoshi UKAI2001-12-141-9/+5
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02651] search keymap using hashFumitoshi UKAI2001-12-101-2/+2
| | | | From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02648] rewrite strCmp() with strcmp()Fumitoshi UKAI2001-12-101-9/+2
| | | | Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02441] A patch against functions *_(un)?quote()Fumitoshi UKAI2001-12-101-28/+11
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02605]Fumitoshi UKAI2001-12-021-3/+3
| | | | From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02574] sysconfdirFumitoshi UKAI2001-11-271-1/+7
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02571]Fumitoshi UKAI2001-11-271-1/+5
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02556]Fumitoshi UKAI2001-11-261-1/+3
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02555]Fumitoshi UKAI2001-11-261-3/+7
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* run make indentFumitoshi UKAI2001-11-241-49/+49
|
* [w3m-dev 02503]Fumitoshi UKAI2001-11-221-1/+18
| | | | | From: aito@fw.ipsj.or.jp closes: Debian Bug#120540
* [w3m-dev 02497]Fumitoshi UKAI2001-11-221-8/+1
| | | | From: WATANABE Katsuyuki <katsuyuki_1.watanabe@toppan.co.jp>
* [w3m-dev 02479] #ifdef cleanupsFumitoshi UKAI2001-11-211-1/+23
| | | | make -> $(MAKE)
* remove gcc warningsFumitoshi UKAI2001-11-201-2/+2
|
* follow autoconf conventions, #include cleanupsFumitoshi UKAI2001-11-161-10/+7
|
* Update to w3m-0.2.1-inu-1.6.Akinori Ito2001-11-151-5/+5
|
* Updates from 0.2.1 into 0.2.1-inu-1.5release-0-2-1-inu-1-5Akinori Ito2001-11-091-460/+391
|
* Initial revisionAkinori Ito2001-11-081-0/+736