diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2004-04-04 16:47:20 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2004-04-04 16:47:20 +0000 |
commit | 1f3235767ee02c51b50767ffbd63f95c3665933d (patch) | |
tree | 8ae07d7e245b7aab0b3b3baf0f1bdbbb339405b3 | |
parent | Debian Bug#241192 w3m ipv6 FQDN resolution failure (diff) | |
download | w3m-1f3235767ee02c51b50767ffbd63f95c3665933d.tar.gz w3m-1f3235767ee02c51b50767ffbd63f95c3665933d.zip |
[w3m-dev 04049] w3m-cvs-1.914-misc.patch
* Makefile.in (funcname.tab): dont modify when target is unchanged.
(CFLAGS): need $(CPPFLAGS)?
* config.h.in: add HAVE_STDINT_H, HAVE_INTTYPES_H
* configure.in: s/AC_CANONICAL_SYSTEM/AC_CANONICAL_HOST/
don't use AC_CYGWIN
don't use $CYGWIN, use $host_os *cygwin*
AC_DEFINE in AC_CHECK_HEADER (float.h, sys/select.h)
add stdint.h, inttypes.h
* etc.c (find_auth_pass_entry): host is case insensitive
* libwc/wc_types.h: use stdint.h or inttypes.h
* main.c (MAIN); need GC_init()
From: AIDA Shinra <shinra@j10n.org>
-rw-r--r-- | ChangeLog | 17 | ||||
-rw-r--r-- | Makefile.in | 11 | ||||
-rw-r--r-- | TODO | 80 | ||||
-rw-r--r-- | config.h.in | 2 | ||||
-rw-r--r-- | configure.in | 17 | ||||
-rw-r--r-- | etc.c | 4 | ||||
-rw-r--r-- | libwc/wc_types.h | 12 | ||||
-rw-r--r-- | main.c | 3 |
8 files changed, 133 insertions, 13 deletions
@@ -1,3 +1,18 @@ +2004-04-05 AIDA Shinra <shinra@j10n.org> + + * [w3m-dev 04049] w3m-cvs-1.914-misc.patch + * Makefile.in (funcname.tab): dont modify when target is unchanged. + (CFLAGS): need $(CPPFLAGS)? + * config.h.in: add HAVE_STDINT_H, HAVE_INTTYPES_H + * configure.in: s/AC_CANONICAL_SYSTEM/AC_CANONICAL_HOST/ + don't use AC_CYGWIN + don't use $CYGWIN, use $host_os *cygwin* + AC_DEFINE in AC_CHECK_HEADER (float.h, sys/select.h) + add stdint.h, inttypes.h + * etc.c (find_auth_pass_entry): host is case insensitive + * libwc/wc_types.h: use stdint.h or inttypes.h + * main.c (MAIN); need GC_init() + 2004-04-01 Fumitoshi UKAI <ukai@debian.or.jp> Debian Bug#241192 w3m ipv6 FQDN resolution failure @@ -8379,4 +8394,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.916 2004/03/31 16:45:39 ukai Exp $ +$Id: ChangeLog,v 1.917 2004/04/04 16:47:20 ukai Exp $ diff --git a/Makefile.in b/Makefile.in index 2a56345..f9bdcf8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -35,7 +35,7 @@ RC_DIR = @RC_DIR@ ETC_DIR = $(sysconfdir) CONF_DIR = $(sysconfdir)/$(PACKAGE) -CFLAGS = $(OPTS) @CFLAGS@ $(DEFS) +CFLAGS = $(OPTS) @CFLAGS@ $(CPPFLAGS) $(DEFS) WCCFLAGS = @WCCFLAGS@ CPPFLAGS = @CPPFLAGS@ DEFS = @DEFS@ -I. -I$(top_srcdir) -DAUXBIN_DIR=\"$(AUXBIN_DIR)\" \ @@ -145,7 +145,14 @@ funcname.tab: $(DEFUNS) sed -ne '/^DEFUN/{p;n;/^[ ]/p;}' $(DEFUNS)) | $(CPP) - | \ awk '$$1 ~ /^[_A-Za-z]/ { \ for (i=2;i<=NF;i++) { print $$i, $$1} \ - }' > $@ + }' > $@.tmp + @if cmp -s $@.tmp $@; then \ + echo "$@ unchanged"; \ + rm -f $@.tmp; \ + else \ + echo "$@ updated"; \ + mv $@.tmp $@; \ + fi funcname.c: funcname.tab sort funcname.tab | $(AWK) -f $(top_srcdir)/funcname0.awk > $@ @@ -1,5 +1,85 @@ TODO lists +refactoring + backend - ?? + file - ?? + local ? + func ? + indep ? + main + +utilities + Str - string modules + myctype + entity + symbol + hash + textlist + etc - system informations + history + inflate + matrix + regex + +configuration + rc + +UI + display + menu + search + keybind + linein + terms + mouse + +buffer + buffer + +loader - main controller + loader + - connection management + - protocol backends + - media management + - media processing + +URL + url + - protocol backends + +media management + mailcap + mimehead + mimetyps + - media procesings + +media processing + html + parsetag + parsetagx + anchor + form + frame + map + table + tagtable + plain + image + +connection management + conn + ssl? + istream + +protocol backend + http + auth + cookie + ftp + news + ... + + Documentation release notes for w3m-0.4 [w3m-dev 03739] diff --git a/config.h.in b/config.h.in index ce28b48..a9ad24b 100644 --- a/config.h.in +++ b/config.h.in @@ -107,6 +107,8 @@ #undef HAVE_SGTTY_H #undef HAVE_DIRENT_H #undef HAVE_LOCALE_H +#undef HAVE_STDINT_H +#undef HAVE_INTTYPES_H #define SIZEOF_LONG_LONG 8 #if SIZEOF_LONG_LONG > 0 typedef long long clen_t; diff --git a/configure.in b/configure.in index 92dedea..3eb13b4 100644 --- a/configure.in +++ b/configure.in @@ -28,9 +28,8 @@ AC_PROG_RANLIB AC_PATH_PROGS(PERL, perl, /usr/local/bin/perl) AC_PATH_PROGS(NKF, nkf, /usr/local/bin/nkf) AC_PATH_PROGS(MAN, man, /usr/bin/man) -AC_CANONICAL_SYSTEM +AC_CANONICAL_HOST -AC_CYGWIN AC_EXEEXT AC_SUBST(EXEEXT) @@ -110,9 +109,11 @@ AC_CHECK_LIB(z, zError, [AUXBIN_TARGETS="$AUXBIN_TARGETS inflate\$(EXT)"]) AC_DEFINE(AUXBIN_TARGETS, "$AUXBIN_TARGETS") AC_SUBST(USE_BINMODE_STREAM) -if test x$CYGWIN = xyes; then - AC_DEFINE(USE_BINMODE_STREAM) -fi +case "$host_os" in + *cygwin*) + AC_DEFINE(USE_BINMODE_STREAM) + ;; +esac AC_HEADER_DIRENT AC_HEADER_STDC @@ -121,9 +122,11 @@ dnl AC_CHECK_HEADERS(fcntl.h malloc.h sgtty.h strings.h sys/ioctl.h sys/time.h t AC_CHECK_HEADER(termios.h, [AC_DEFINE(HAVE_TERMIOS_H)], [AC_CHECK_HEADER(termio.h, [AC_DEFINE(HAVE_TERMIO_H)], [AC_CHECK_HEADER(sgtty.h, [AC_DEFINE(HAVE_SGTTY_H)])])]) -AC_CHECK_HEADER([float.h]) -AC_CHECK_HEADER([sys/select.h]) +AC_CHECK_HEADER([float.h], [AC_DEFINE(HAVE_FLOAT_H)]) +AC_CHECK_HEADER([sys/select.h], [AC_DEFINE(HAVE_SYS_SELECT_H)]) AC_CHECK_HEADER([locale.h], [AC_DEFINE(HAVE_LOCALE_H)]) +AC_CHECK_HEADER([stdint.h], [AC_DEFINE(HAVE_STDINT_H)]) +AC_CHECK_HEADER([inttypes.h], [AC_DEFINE(HAVE_INTTYPES_H)]) dnl Checks for typedefs, structures, and compiler characteristics. dnl AC_C_CONST @@ -1,4 +1,4 @@ -/* $Id: etc.c,v 1.76 2004/03/31 16:45:39 ukai Exp $ */ +/* $Id: etc.c,v 1.77 2004/04/04 16:47:20 ukai Exp $ */ #include "fm.h" #include <pwd.h> #include "myctype.h" @@ -957,7 +957,7 @@ find_auth_pass_entry(char *host, int port, char *file, char *realm, struct auth_pass *ent; for (ent = passwords; ent != NULL; ent = ent->next) { if (ent->is_proxy == is_proxy - && (!ent->host || !Strcmp_charp(ent->host, host)) + && (!ent->host || !Strcasecmp_charp(ent->host, host)) && (!ent->port || ent->port == port) && (!ent->file || !file || dir_under(ent->file->ptr, file)) && (!ent->realm || !realm || !Strcmp_charp(ent->realm, realm)) diff --git a/libwc/wc_types.h b/libwc/wc_types.h index 981c8d4..845bf2f 100644 --- a/libwc/wc_types.h +++ b/libwc/wc_types.h @@ -3,11 +3,23 @@ #define _WC_TYPES_H #include <Str.h> +#include <config.h> +#if defined(HAVE_STDINT_H) +# include <stdint.h> +#elif defined(HAVE_INTTYPES_H) +# include <inttypes.h> +#endif typedef unsigned char wc_uchar; +#if defined(HAVE_STDINT_H) || defined(HAVE_INTTYPES_H) +typedef uint8_t wc_uint8; +typedef uint16_t wc_uint16; +typedef uint32_t wc_uint32; +#else typedef unsigned char wc_uint8; typedef unsigned short wc_uint16; typedef unsigned long wc_uint32; +#endif typedef wc_uint32 wc_ccs; typedef wc_uint32 wc_ces; @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.241 2004/03/23 16:44:02 ukai Exp $ */ +/* $Id: main.c,v 1.242 2004/04/04 16:47:20 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -383,6 +383,7 @@ main(int argc, char **argv, char **envp) wc_ces CodePage; #endif #endif + GC_init(); setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); |