aboutsummaryrefslogtreecommitdiffstats
path: root/indep.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-08entities: support ' entityKyle J. McKay1-3/+3
The XHTML standard encompasses the XML standard. From the beginning, the XML standard [1] has always included required support for five character entities: 1. the ampersand (&) as &amp; 2. the left angle bracket (<) as &lt; 3. the right angle bracket (>) as &gt; 4. the double-quote character (") as &quot; 5. the apostrophe or single-quote character (') as &apos; See section "2.4 Character Data and Markup" of the XML standard [1] for further details. Add support for the character single-quote character entity (&apos;) in order to fully support XHTML pages. [1]: https://www.w3.org/TR/REC-xml/ Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
2013-10-14Workaround of GC crash on Cygwin64AIDA Shinra1-0/+105
Patch from <http://www.j10n.org/files/w3m-cvs-1.1055-win64gc.patch>, [w3m-dev:04469] on 2013-10-14.
2013-04-08Support the siteconf featureTatsuya Kinoshita1-0/+14
Patch to support the siteconf feature, from [w3m-dev 04463] on 2012-06-27, provided by AIDA Shinra.
2011-05-04Adding upstream version 0.5.2upstream/0.5.2Tatsuya Kinoshita1-3/+7
2011-05-04Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita1-0/+750
2007-05-23[w3m-dev 04155] fix for minpw.Dai Sato1-3/+7
2006-04-07rewind to 10 Feb 2006.Dai Sato1-7/+3
2006-04-05apply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006.Dai Sato1-3/+7
2004-04-09[w3m-dev 04063] about MakefileFumitoshi UKAI1-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>
2003-07-26[w3m-dev 03945] Re: application/xhtml+xml supportFumitoshi UKAI1-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>
2003-04-07[w3m-dev 03856] <gc.h>Fumitoshi UKAI1-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>
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