[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>
This commit is contained in:
@@ -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>
|
2004-04-01 Fumitoshi UKAI <ukai@debian.or.jp>
|
||||||
|
|
||||||
Debian Bug#241192 w3m ipv6 FQDN resolution failure
|
Debian Bug#241192 w3m ipv6 FQDN resolution failure
|
||||||
@@ -8379,4 +8394,4 @@ a * [w3m-dev 03276] compile error on EWS4800
|
|||||||
* release-0-2-1
|
* release-0-2-1
|
||||||
* import w3m-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 $
|
||||||
|
|||||||
+9
-2
@@ -35,7 +35,7 @@ RC_DIR = @RC_DIR@
|
|||||||
ETC_DIR = $(sysconfdir)
|
ETC_DIR = $(sysconfdir)
|
||||||
CONF_DIR = $(sysconfdir)/$(PACKAGE)
|
CONF_DIR = $(sysconfdir)/$(PACKAGE)
|
||||||
|
|
||||||
CFLAGS = $(OPTS) @CFLAGS@ $(DEFS)
|
CFLAGS = $(OPTS) @CFLAGS@ $(CPPFLAGS) $(DEFS)
|
||||||
WCCFLAGS = @WCCFLAGS@
|
WCCFLAGS = @WCCFLAGS@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
DEFS = @DEFS@ -I. -I$(top_srcdir) -DAUXBIN_DIR=\"$(AUXBIN_DIR)\" \
|
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) - | \
|
sed -ne '/^DEFUN/{p;n;/^[ ]/p;}' $(DEFUNS)) | $(CPP) - | \
|
||||||
awk '$$1 ~ /^[_A-Za-z]/ { \
|
awk '$$1 ~ /^[_A-Za-z]/ { \
|
||||||
for (i=2;i<=NF;i++) { print $$i, $$1} \
|
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
|
funcname.c: funcname.tab
|
||||||
sort funcname.tab | $(AWK) -f $(top_srcdir)/funcname0.awk > $@
|
sort funcname.tab | $(AWK) -f $(top_srcdir)/funcname0.awk > $@
|
||||||
|
|||||||
@@ -1,5 +1,85 @@
|
|||||||
TODO lists
|
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
|
Documentation
|
||||||
release notes for w3m-0.4
|
release notes for w3m-0.4
|
||||||
[w3m-dev 03739]
|
[w3m-dev 03739]
|
||||||
|
|||||||
@@ -107,6 +107,8 @@
|
|||||||
#undef HAVE_SGTTY_H
|
#undef HAVE_SGTTY_H
|
||||||
#undef HAVE_DIRENT_H
|
#undef HAVE_DIRENT_H
|
||||||
#undef HAVE_LOCALE_H
|
#undef HAVE_LOCALE_H
|
||||||
|
#undef HAVE_STDINT_H
|
||||||
|
#undef HAVE_INTTYPES_H
|
||||||
#define SIZEOF_LONG_LONG 8
|
#define SIZEOF_LONG_LONG 8
|
||||||
#if SIZEOF_LONG_LONG > 0
|
#if SIZEOF_LONG_LONG > 0
|
||||||
typedef long long clen_t;
|
typedef long long clen_t;
|
||||||
|
|||||||
+9
-6
@@ -28,9 +28,8 @@ AC_PROG_RANLIB
|
|||||||
AC_PATH_PROGS(PERL, perl, /usr/local/bin/perl)
|
AC_PATH_PROGS(PERL, perl, /usr/local/bin/perl)
|
||||||
AC_PATH_PROGS(NKF, nkf, /usr/local/bin/nkf)
|
AC_PATH_PROGS(NKF, nkf, /usr/local/bin/nkf)
|
||||||
AC_PATH_PROGS(MAN, man, /usr/bin/man)
|
AC_PATH_PROGS(MAN, man, /usr/bin/man)
|
||||||
AC_CANONICAL_SYSTEM
|
AC_CANONICAL_HOST
|
||||||
|
|
||||||
AC_CYGWIN
|
|
||||||
AC_EXEEXT
|
AC_EXEEXT
|
||||||
AC_SUBST(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_DEFINE(AUXBIN_TARGETS, "$AUXBIN_TARGETS")
|
||||||
|
|
||||||
AC_SUBST(USE_BINMODE_STREAM)
|
AC_SUBST(USE_BINMODE_STREAM)
|
||||||
if test x$CYGWIN = xyes; then
|
case "$host_os" in
|
||||||
|
*cygwin*)
|
||||||
AC_DEFINE(USE_BINMODE_STREAM)
|
AC_DEFINE(USE_BINMODE_STREAM)
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
AC_HEADER_DIRENT
|
AC_HEADER_DIRENT
|
||||||
AC_HEADER_STDC
|
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(termios.h, [AC_DEFINE(HAVE_TERMIOS_H)],
|
||||||
[AC_CHECK_HEADER(termio.h, [AC_DEFINE(HAVE_TERMIO_H)],
|
[AC_CHECK_HEADER(termio.h, [AC_DEFINE(HAVE_TERMIO_H)],
|
||||||
[AC_CHECK_HEADER(sgtty.h, [AC_DEFINE(HAVE_SGTTY_H)])])])
|
[AC_CHECK_HEADER(sgtty.h, [AC_DEFINE(HAVE_SGTTY_H)])])])
|
||||||
AC_CHECK_HEADER([float.h])
|
AC_CHECK_HEADER([float.h], [AC_DEFINE(HAVE_FLOAT_H)])
|
||||||
AC_CHECK_HEADER([sys/select.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([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 Checks for typedefs, structures, and compiler characteristics.
|
||||||
dnl AC_C_CONST
|
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 "fm.h"
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include "myctype.h"
|
#include "myctype.h"
|
||||||
@@ -957,7 +957,7 @@ find_auth_pass_entry(char *host, int port, char *file, char *realm,
|
|||||||
struct auth_pass *ent;
|
struct auth_pass *ent;
|
||||||
for (ent = passwords; ent != NULL; ent = ent->next) {
|
for (ent = passwords; ent != NULL; ent = ent->next) {
|
||||||
if (ent->is_proxy == is_proxy
|
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->port || ent->port == port)
|
||||||
&& (!ent->file || !file || dir_under(ent->file->ptr, file))
|
&& (!ent->file || !file || dir_under(ent->file->ptr, file))
|
||||||
&& (!ent->realm || !realm || !Strcmp_charp(ent->realm, realm))
|
&& (!ent->realm || !realm || !Strcmp_charp(ent->realm, realm))
|
||||||
|
|||||||
@@ -3,11 +3,23 @@
|
|||||||
#define _WC_TYPES_H
|
#define _WC_TYPES_H
|
||||||
|
|
||||||
#include <Str.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;
|
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 char wc_uint8;
|
||||||
typedef unsigned short wc_uint16;
|
typedef unsigned short wc_uint16;
|
||||||
typedef unsigned long wc_uint32;
|
typedef unsigned long wc_uint32;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef wc_uint32 wc_ccs;
|
typedef wc_uint32 wc_ccs;
|
||||||
typedef wc_uint32 wc_ces;
|
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
|
#define MAINPROGRAM
|
||||||
#include "fm.h"
|
#include "fm.h"
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
@@ -383,6 +383,7 @@ main(int argc, char **argv, char **envp)
|
|||||||
wc_ces CodePage;
|
wc_ces CodePage;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
GC_init();
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
bindtextdomain(PACKAGE, LOCALEDIR);
|
bindtextdomain(PACKAGE, LOCALEDIR);
|
||||||
textdomain(PACKAGE);
|
textdomain(PACKAGE);
|
||||||
|
|||||||
Reference in New Issue
Block a user