Commit 246b3701 authored by Elimar Riesebieter's avatar Elimar Riesebieter 👍

New upstream version 2.9.0dev.1

parent d58966d4
-- $LynxId: AUTHORS,v 1.8 2018/07/08 16:20:14 tom Exp $
-- $LynxId: AUTHORS,v 1.10 2019/01/10 22:36:37 tom Exp $
-- vile:txtmode
Most of the people who have contributed more than one patch to Lynx (as well as
a few who have only one) are noted in the changelogs by their initials (to keep
......@@ -29,6 +29,7 @@ JES James E Spath
JKT J Kevin Ternes
JN John Nowlin
KED Kim DeVaughn
KH Kihara Hideto
KW Klaus Weide
LE Laura Eaves
LP Leonid Pauzner
......@@ -41,6 +42,7 @@ PG Paul Gilmartin
PHDM Philippe De Muyter
PW Philip Webb
RN Ryan Nielsen
RP Robert J Partington
RS Rado Smiljanic
SC Stefan Caunter
SH Hiroyuki Senshu
......
-- $LynxId: CHANGES,v 1.990 2018/07/08 16:51:50 tom Exp $
-- $LynxId: CHANGES,v 1.1010 2019/01/27 16:23:02 tom Exp $
===============================================================================
Changes since Lynx 2.8 release
===============================================================================
2019-01-27 (2.9.0dev.1)
* add/adapt changes from Keith Bowes' github:
* updated eo.po
* modify GridText to make page/line percentages translatable
+ modify HTInit.c to make it possible to view the source of XHTML documents
+ modify def7_uni.tbl adding ch, gh, hh, jh, sh to replace some single-chars
* implement features of RFC 6265 (prompted by discussion on mailing list) -TD
* recognize but ignore "HttpOnly" attribute
* add COOKIE_VERSION to lynx.cfg, which can be used to specify older cookie
RFC; provide special cases for RFCs 2109, 2965 and 6265.
* add selection for cookie version in options menu.
* add dummy "check" rule to makefile.in to help with testing Arch package -TD
* modify tidy_tls.c to work with TLS 1.3 when built with gnutls 3.6.5 or later
(patch by Andreas Metzler).
* add to experimental Japanese UTF-8 feature -KH
+ fix JIS X 0201 Katakana conversion from Shift_JIS/EUC-JP to UTF-8.
http://www1.interq.or.jp/~deton/lynx-sjisjisx0201/
+ add conversion from Japanese ISO-2022-JP html to UTF-8 display_charset.
http://www1.interq.or.jp/~deton/lynx-jis2utf8/
* add configure option for experimental feature "--enable-wcwidth-support" -TD
* use/adapt wcwidth from xterm -TD
* add support for displaying double-cell characters -KH
Screen capture:
http://www1.interq.or.jp/~deton/lynx-wcwidth/
Known issues:
* Highlight is incorrect on selecting wrapped long wide-char link text.
* Whereis highlight position is incorrect after wide-char text.
* Does not support treating double-width for East Asian Ambiguous Width
characters (e.g., xterm -cjk_width).
TODO:
* Use mk_wcwidth_cjk() in http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
* Add cjk_width option to lynx
* modify generated HTML when processing -source option for a Gopher menu to
convert literal "<", "&", and ">" to HTML named entities (report/testcase by
Zachary Lee Andrews) -TD
* build-fix when persistent cookies are disabled (report by Juan Manuel
Guerrero) -TD
* memory-leak and dead-code fixes from static analysis (patch by Kamil Dudka).
* restore whitespace in info-page omitted in 2.8.9dev.17, useful for screen
readers (report by Dan Dunfee) -Chuck Martin
* improve error-checks in parsdate.y (prompted by patch by TH) -TD
* compiler-warning fixes for gcc8 and VS2015 -TD
* fix overlooked "2.8.9" in README -Larry Hynes
2018-07-08 (2.8.9rel.1)
* documentation/metrics updates -TD
......@@ -287,7 +331,7 @@ Changes since Lynx 2.8 release
(suggested by TG) -TD
* fix some typos found by lintian -Axel Beckert
* correct buffer size in pretty_html() function of LYKeymap.c -TG
* add support for some HTML5 elements -Kihara Hideto
* add support for some HTML5 elements -KH
Using this change, you can jump to <section id="speakers">.
(The addition in src{0,1}_HTMLDTD.txt is copied from DIV.)
<section>, <article>, <main>, <aside>, <header>, <footer>, <nav>, <figure>
......@@ -736,7 +780,7 @@ Changes since Lynx 2.8 release
TG) -TD
2012-02-19 (2.8.8dev.11)
* correct help-message for -html5_charset option -Kihara Hideto
* correct help-message for -html5_charset option -KH
* correct a typo in strtol change from dev.10 which caused hexadecimal numeric
entities to be misrendered -TG
* update eo.po, et.po and tr.po from
......@@ -801,7 +845,7 @@ Changes since Lynx 2.8 release
improperly terminated (report by Aki Helin) -TD
* work around glibc bug in sscanf in SGML_character() using strtol() (report by
Aki Helin) -TD
* add check for charset attribute on meta element -Kihara Hideto
* add check for charset attribute on meta element -KH
* eliminate ON/OFF macros, using TRUE/FALSE both to work around breakage from
zlib 1.2.5.1 changes as well as because they were unnecessary (GenToo
#383113) -Nikos Chantziaras, TD
......
Copyright 1997-2017,2018 Thomas E. Dickey
Copyright 1997-2018,2019 Thomas E. Dickey
This copyright notice must be included in all copies or substantial
portions of Lynx. It outlines rights and restrictions for Lynx which
......@@ -80,5 +80,5 @@ For reference, below is the original copyright notice for Lynx (2.4.2).
*/
------------------------------------------------------------------------------
-- vile:txtmode fc=72 noti
-- $LynxId: COPYHEADER,v 1.16 2018/02/05 09:42:07 tom Exp $
-- $LynxId: COPYHEADER,v 1.17 2019/01/02 10:06:01 tom Exp $
------------------------------------------------------------------------------
......@@ -2,7 +2,7 @@
Version: GnuPG v1
Comment: See https://invisible-island.net/public/public.html for info
iEYEABECAAYFAlp4J18ACgkQcCNT4PfkjtvLTACeMmWq6KzjZxeWP5rL0EDieIEb
Dn8AoIHmUu7LlWd2mhSbAOYUWrWuH7O2
=mfiS
iEYEABECAAYFAlwsjRkACgkQcCNT4PfkjttfhQCeKVx7ZjU0IEaSglhWe6FRXlFq
2hoAoLSXZhRXIPQrNqr9tl/KK+Dml6tc
=F6GB
-----END PGP SIGNATURE-----
......@@ -540,6 +540,9 @@ II. Compile instructions -- UNIX
--enable-wais
Use this option to turn on configure check for freeWAIS library.
--enable-wcwidth-support (define EXP_WCWIDTH_SUPPORT)
use experimental wcwidth/UTF-8 logic.
--enable-widec
Use this option to allow the configure script to look for wide-curses
features. If you do not specify the option, the configure script
......@@ -1484,4 +1487,4 @@ VIII. Acknowledgment
-- 1999/04/24 - H. Nelson <lynx-admin@irm.nara.kindai.ac.jp>
-- vile:txtmode
-- $LynxId: INSTALLATION,v 1.130 2018/07/08 15:22:44 tom Exp $
-- $LynxId: INSTALLATION,v 1.131 2018/12/28 21:40:38 tom Exp $
lynx-dev (2.8.9rel.1) unstable; urgency=low
lynx-dev (2.9.0dev.1) unstable; urgency=low
* maintenance updates
-- Thomas E. Dickey <dickey@invisible-island.net> Sun, 08 Jul 2018 06:46:06 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Tue, 25 Dec 2018 16:27:01 -0500
lynx-dev (2.8.8dev.16) unstable; urgency=high
......
......@@ -4,7 +4,7 @@ Current maintainer: Thomas Dickey <dickey@invisible-island.net>
-------------------------------------------------------------------------------
Copyright 1997-2017,2018 Thomas E. Dickey
Copyright 1997-2018,2019 Thomas E. Dickey
Copyright (C) 1995 University of Kansas.
Most of the content of the lynx release (and corresponding copyright) is
......@@ -26,7 +26,7 @@ or to the maintainer (Thomas E. Dickey):
Files: aclocal.m4
License: other-BSD
Copyright: 1997-2017,2018 by Thomas E. Dickey
Copyright: 1997-2018,2019 by Thomas E. Dickey
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
......@@ -80,7 +80,7 @@ License: other-BSD
shared with many OS's install programs.
Files: debian/*
Copyright: 2010-2017,2018 Thomas E. Dickey
Copyright: 2010-2018,2019 Thomas E. Dickey
License: other-BSD
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
......
; $LynxId: lynx.iss,v 1.29 2018/03/21 14:56:20 tom Exp $
; $LynxId: lynx.iss,v 1.32 2019/01/27 22:56:58 tom Exp $
; vile:ts=4 sw=4 notabinsert fk=8bit
;
; This is the BASE script for different flavors of the installer for Lynx.
......@@ -19,11 +19,15 @@
#define MyAppExeName "lynx.exe"
#endif
#if Ver < 0x5060100
#define MySendTo '{sendto}\' + myAppName + '.lnk'
#else
#define MySendTo '{usersendto}\' + myAppName + '.lnk'
#endif
#define MyQuickLaunch '{userappdata}\Microsoft\Internet Explorer\Quick Launch\' + myAppName + '.lnk'
#ifndef SourceExeName
#define SourceExeName "lynx.exe"
#define SourceExeName "lynx-default.exe"
#endif
#ifndef NoScreenDll
......@@ -90,7 +94,7 @@ AppName={#MyAppName}
#emit 'VersionInfoVersion=' + LYNX_TARGET1
AppVerName={#MyAppVerName}
AppPublisher={#MyAppPublisher}
AppCopyright= 1997-2017,2018, Thomas E. Dickey
AppCopyright= 1997-2018,2019, Thomas E. Dickey
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
......@@ -510,7 +514,12 @@ begin
// new-ssl matches "libssl-x-x-z", s/libssl/libcrypto/
SslFilename := 'libcrypto' + Copy(SslFilename, 7, Length(SslFilename));
CopyFromTo( SslDirectory, TargetDir, SslFilename );
CopyFromTo( SslDirectory, TargetDir, 'msvcr120.dll' );
// older releases of OpenSSL bundled the Visual Studio runtime
SslFilename := SslDirectory + '\' + 'msvcr120.dll';
if FileExists(SslFilename) then
begin
CopyFromTo( SslDirectory, TargetDir, 'msvcr120.dll' );
end
end
else
begin
......
; $LynxId: lynx.nsi,v 1.44 2018/07/08 15:22:44 tom Exp $
; $LynxId: lynx.nsi,v 1.46 2019/01/02 10:07:25 tom Exp $
; Script originally generated with the Venis Install Wizard, but customized.
; The Inno Setup script is preferred; but this can be built via cross-compiling.
......@@ -7,10 +7,10 @@
!define EXENAME "lynx.exe"
!define VERSION_EPOCH "2"
!define VERSION_MAJOR "8"
!define VERSION_MINOR "9"
!define VERSION_LEVEL "01"
!define VERSION_PATCH "rel.1"
!define VERSION_MAJOR "9"
!define VERSION_MINOR "0"
!define VERSION_LEVEL "1001"
!define VERSION_PATCH "dev.1"
!define SUBKEY "Lynx"
......@@ -28,7 +28,7 @@ SetCompressor /SOLID lzma
VIAddVersionKey ProductName "${SUBKEY}"
VIAddVersionKey CompanyName "https://invisible-island.net/lynx"
VIAddVersionKey LegalCopyright " 1997-2017,2018, Thomas E. Dickey"
VIAddVersionKey LegalCopyright " 1997-2018,2019, Thomas E. Dickey"
VIAddVersionKey FileDescription "Lynx Installer (MinGW)"
VIAddVersionKey FileVersion "${VERSION}"
VIAddVersionKey ProductVersion "${VERSION}"
......
# $LynxId: lynx.spec,v 1.52 2018/07/08 10:46:06 tom Exp $
# $LynxId: lynx.spec,v 1.53 2018/12/25 21:27:01 tom Exp $
Summary: A text-based Web browser
Name: lynx-dev
Version: 2.8.9
Release: rel.1
Version: 2.9.0
Release: dev.1
License: GPLv2
Group: Applications/Internet
Source: lynx%{version}%{release}.tgz
......
; version used for Inno Setup files.
; $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$
#define LYNX_VERSION "2.8.9rel.1"
#define LYNX_VERSION "2.9.0dev.1"
; most-recent full release and target
#define LYNX_RELEASE "2.8.9"
#define LYNX_TARGETS "2.8.9"
#define LYNX_RELEASE "2.9.0"
#define LYNX_TARGETS "2.9.0"
#define MyAppProg "Lynx"
#define MyAppName "Lynx - web browser"
......
Lynx README file
Lynx Version 2.8.8 is the latest release (February 2014).
Lynx Version 2.8.9 is the latest release (July 2018).
See the CHANGES file for a complete record of all changes and bug fixes.
New releases are announced on the lynx-dev mailing list (see below).
......@@ -150,5 +150,5 @@ LYNX-DEV MAILING LIST
------------------------------------------------------------------------------
-- vile:txtmode fc=72 noti
-- $LynxId: README,v 1.34 2018/07/08 15:22:44 tom Exp $
-- $LynxId: README,v 1.35 2018/07/09 20:00:20 tom Exp $
------------------------------------------------------------------------------
/*
* $LynxId: HTFTP.c,v 1.137 2018/05/16 19:36:44 tom Exp $
* $LynxId: HTFTP.c,v 1.140 2018/12/27 10:24:31 tom Exp $
*
* File Transfer Protocol (FTP) Client
* for a WorldWideWeb browser
......@@ -233,11 +233,11 @@ static PortNumber port_number = FIRST_TCP_PORT;
#endif /* POLL_PORTS */
static BOOL have_socket = FALSE; /* true if master_socket is valid */
static unsigned master_socket; /* Listening socket = invalid */
static LYNX_FD master_socket; /* Listening socket = invalid */
static char port_command[255]; /* Command for setting the port */
static fd_set open_sockets; /* Mask of active channels */
static unsigned num_sockets; /* Number of sockets to scan */
static LYNX_FD num_sockets; /* Number of sockets to scan */
static PortNumber passive_port; /* Port server specified for data */
#define NEXT_CHAR HTGetCharacter() /* Use function in HTFormat.c */
......@@ -1113,7 +1113,7 @@ static void set_master_socket(int value)
{
have_socket = (BOOLEAN) (value >= 0);
if (have_socket)
master_socket = (unsigned) value;
master_socket = (LYNX_FD) value;
}
/* Close Master (listening) socket
......@@ -1129,7 +1129,7 @@ static int close_master_socket(void)
FD_CLR(master_socket, &open_sockets);
status = NETCLOSE((int) master_socket);
CTRACE((tfp, "HTFTP: Closed master socket %u\n", master_socket));
CTRACE((tfp, "HTFTP: Closed master socket %u\n", (unsigned) master_socket));
reset_master_socket();
......@@ -1422,7 +1422,7 @@ static void set_years_and_date(void)
}
}
i++;
sprintf(date, "9999%02d%.2s", i, day);
sprintf(date, "9999%02d%.2s", i % 100, day);
TheDate = atoi(date);
LYStrNCpy(ThisYear, printable + 20, 4);
sprintf(LastYear, "%d", (atoi(ThisYear) - 1) % 10000);
......@@ -2586,7 +2586,7 @@ static void formatDate(char target[16], EntryInfo *entry)
}
}
i++;
sprintf(month, "%02d", i);
sprintf(month, "%02d", i % 100);
strcat(target, month);
StrNCat(target, &entry->date[4], 2);
if (target[6] == ' ' || target[6] == HT_NON_BREAK_SPACE) {
......
/*
* $LynxId: HTFormat.c,v 1.90 2018/05/11 22:18:24 tom Exp $
* $LynxId: HTFormat.c,v 1.91 2019/01/02 23:25:10 tom Exp $
*
* Manage different file formats HTFormat.c
* =============================
......@@ -347,7 +347,9 @@ static int half_match(char *trial_type, char *target)
*/
static BOOL failsMailcap(HTPresentation *pres, HTParentAnchor *anchor)
{
if (pres->testcommand != 0) {
if (pres->testcommand != NULL &&
anchor != NULL &&
anchor->content_type_params != NULL) {
if (LYTestMailcapCommand(pres->testcommand,
anchor->content_type_params) != 0)
return TRUE;
......
/*
* $LynxId: HTGopher.c,v 1.68 2018/05/15 21:58:15 tom Exp $
* $LynxId: HTGopher.c,v 1.71 2018/12/28 16:58:59 tom Exp $
*
* GOPHER ACCESS HTGopher.c
* =============
......@@ -28,6 +28,7 @@
#include <HTParse.h>
#include <HTTCP.h>
#include <HTFinger.h>
#include <LYGlobalDefs.h>
/*
* Implements.
......@@ -262,9 +263,33 @@ static void parse_menu(const char *arg GCC_UNUSED,
}
if ((char) ich != LF) {
*p = (char) ich; /* Put character in line */
if (p < &line[BIG - 1])
p++;
const char *ss = NULL;
/*
* Help the -source output to look like the HTML equivalent of the
* Gopher menu.
*/
if (dump_output_immediately
&& HTOutputFormat == HTAtom_for("www/dump")) {
if (ich == '<') {
ss = "&lt;";
} else if (ich == '>') {
ss = "&gt;";
} else if (ich == '&') {
ss = "&amp;";
}
}
if (ss != NULL) {
if ((p + 5) < &line[BIG - 1]) {
while (*ss != '\0') {
*p++ = *ss++;
}
}
} else {
*p = (char) ich; /* Put character in line */
if (p < &line[BIG - 1])
p++;
}
} else {
*p++ = '\0'; /* Terminate line */
......@@ -1172,7 +1197,7 @@ static int generate_cso_form(char *host,
if (ctx.seek) {
/*
* Command wants us to skip (forward) to indicated token.
* Command wants us to skip (forward) to indicated token.
* Start at current position.
*/
size_t slen = strlen(ctx.seek);
......@@ -1651,6 +1676,7 @@ static int HTLoadCSO(const char *arg,
(*Target->isa->put_block) (Target, buf, (int) strlen(buf));
(*Target->isa->_free) (Target);
free_CSOfields();
BStrFree(command);
return HT_LOADED;
}
/*
......
/*
* $LynxId: HTString.c,v 1.74 2018/02/15 01:54:27 tom Exp $
* $LynxId: HTString.c,v 1.75 2018/12/27 10:28:12 tom Exp $
*
* Case-independent string comparison HTString.c
*
......@@ -897,7 +897,7 @@ PUBLIC_IF_FIND_LEAKS char *StrAllocVsprintf(char **pstr,
#ifdef HTSprintf /* if hidden by LYLeaks stuff */
#undef HTSprintf
#endif
char *HTSprintf(char **pstr, const char *fmt,...)
char *HTSprintf(char **pstr, const char *fmt, ...)
{
char *result = 0;
size_t inuse = 0;
......@@ -924,7 +924,7 @@ char *HTSprintf(char **pstr, const char *fmt,...)
#ifdef HTSprintf0 /* if hidden by LYLeaks stuff */
#undef HTSprintf0
#endif
char *HTSprintf0(char **pstr, const char *fmt,...)
char *HTSprintf0(char **pstr, const char *fmt, ...)
{
char *result = 0;
va_list ap;
......@@ -1330,7 +1330,7 @@ void HTSABFree(bstring **ptr)
* Use this function to perform formatted sprintf's onto the end of a bstring.
* The bstring may contain embedded nulls; the formatted portions must not.
*/
bstring *HTBprintf(bstring **pstr, const char *fmt,...)
bstring *HTBprintf(bstring **pstr, const char *fmt, ...)
{
bstring *result = 0;
char *temp = 0;
......
/*
* $LynxId: HTString.h,v 1.39 2018/05/11 22:36:34 tom Exp $
* $LynxId: HTString.h,v 1.40 2018/12/27 10:27:01 tom Exp $
* String handling for libwww
* STRINGS
*
......@@ -90,8 +90,8 @@ extern "C" {
extern char *HTNextTok(char **pstr,
const char *delims, const char *bracks, char *found);
extern char *HTSprintf(char **pstr, const char *fmt,...) GCC_PRINTFLIKE(2,3);
extern char *HTSprintf0(char **pstr, const char *fmt,...) GCC_PRINTFLIKE(2,3);
extern char *HTSprintf(char **pstr, const char *fmt, ...) GCC_PRINTFLIKE(2,3);
extern char *HTSprintf0(char **pstr, const char *fmt, ...) GCC_PRINTFLIKE(2,3);
#if defined(LY_FIND_LEAKS) /* private otherwise */
extern char *StrAllocVsprintf(char **pstr,
......@@ -156,7 +156,7 @@ extern "C" {
#define BStrCat0(d,s) HTSABCat0( &(d), s)
#define BStrFree(d) HTSABFree( &(d))
extern bstring *HTBprintf(bstring **pstr, const char *fmt,...) GCC_PRINTFLIKE(2,3);
extern bstring *HTBprintf(bstring **pstr, const char *fmt, ...) GCC_PRINTFLIKE(2,3);
extern void trace_bstring(bstring *data);
extern void trace_bstring2(const char *text, int size);
......
/*
* $LynxId: HTTCP.c,v 1.149 2018/05/16 19:48:49 tom Exp $
* $LynxId: HTTCP.c,v 1.151 2018/12/26 13:16:59 tom Exp $
*
* Generic Communication Code HTTCP.c
* ==========================
......@@ -1288,7 +1288,7 @@ BOOLEAN LYCheckHostByName(char *host)
* field is left unchanged in *soc_in.
*/
#ifndef INET6
static int HTParseInet(SockA * soc_in, const char *str)
static int HTParseInet(SockA *soc_in, const char *str)
{
static const char *this_func = "HTParseInet";
......@@ -2015,7 +2015,7 @@ int HTDoConnect(const char *url,
}
set_timeout(&select_timeout);
FD_ZERO(&writefds);
FD_SET((unsigned) *s, &writefds);
FD_SET((LYNX_FD) *s, &writefds);
#ifdef SOCKS
if (socks_flag)
ret = Rselect(*s + 1, NULL,
......@@ -2292,7 +2292,7 @@ int HTDoRead(int fildes,
do {
set_timeout(&select_timeout);
FD_ZERO(&readfds);
FD_SET((unsigned) fildes, &readfds);
FD_SET((LYNX_FD) fildes, &readfds);
#ifdef SOCKS
if (socks_flag)
ret = Rselect(fildes + 1,
......
/*
* $LynxId: HTTP.c,v 1.175 2018/05/04 20:07:43 Elliot.Thomas Exp $
* $LynxId: HTTP.c,v 1.177 2019/01/25 01:37:35 tom Exp $
*
* HyperText Tranfer Protocol - Client implementation HTTP.c
* ==========================
......@@ -334,7 +334,7 @@ void HTSSLInitPRNG(void)
lynx_srand((unsigned) seed);
while (RAND_status() == 0) {
/* Repeatedly seed the PRNG using the system's random number generator until it has been seeded with enough data */
l = lynx_rand();
l = (long) lynx_rand();
RAND_seed((unsigned char *) &l, (int) sizeof(long));
}
/* Write a rand_file */
......@@ -1637,7 +1637,7 @@ static int HTLoadHTTP(const char *arg,
* If we do have a cookie set, add it to the request buffer. - FM
*/
if (cookie != NULL) {
if (*cookie != '$') {
if (*cookie != '$' && USE_RFC_2965) {
/*
* It's a historical cookie, so signal to the server that
* we support modern cookies. - FM
......
/*
* $LynxId: HTVMS_WaisUI.c,v 1.19 2013/05/03 20:51:49 tom Exp $
* $LynxId: HTVMS_WaisUI.c,v 1.20 2018/12/27 10:28:12 tom Exp $
* HTVMS_WAISUI.c
*
* Adaptation for Lynx by F.Macrides (macrides@sci.wfeb.edu)
......@@ -1484,7 +1484,7 @@ long anyToLong(any *a)
#define bitsPerByte 8
bit_map *makeBitMap(unsigned long numBits,...)
bit_map *makeBitMap(unsigned long numBits, ...)
/* construct and return a bitmap with numBits elements */
{
va_list ap;
......@@ -2127,7 +2127,7 @@ static void exitAction(long error GCC_UNUSED)
#define PANIC_HEADER "Fatal Error: "
void panic(char *format,...)
void panic(char *format, ...)
{
va_list ap; /* the variable arguments */
......
......@@ -22,7 +22,7 @@ extern "C" {
*
*----------------------------------------------------------------------*/
void panic(char *format,...);
void panic(char *format, ...);
/*----------------------------------------------------------------------*/
......@@ -310,7 +310,7 @@ extern "C" {
char *writeString(char *s, data_tag tag, char *buffer, long *len);
char *readString(char **s, char *buffer);
bit_map *makeBitMap(unsigned long numBits,...);
bit_map *makeBitMap(unsigned long numBits, ...);
void freeBitMap(bit_map *bm);
boolean bitAtPos(unsigned long pos, bit_map *bm);
......
/*
* $LynxId: LYLeaks.h,v 1.17 2018/03/30 00:35:10 tom Exp $
* $LynxId: LYLeaks.h,v 1.18 2018/12/27 10:27:01 tom Exp $
*/
#ifndef __LYLEAKS_H
/*
......@@ -296,7 +296,7 @@ extern "C" {
* Trick to get tracking of var arg functions without relying on var arg
* preprocessor macros:
*/
typedef char *HTSprintflike(char **, const char *,...);
typedef char *HTSprintflike(char **, const char *, ...);
extern HTSprintflike *Get_htsprintf_fn(const char *cp_File,
const short ssi_Line);
extern HTSprintflike *Get_htsprintf0_fn(const char *cp_File,
......
This diff is collapsed.
/*
* $LynxId: dtd_util.c,v 1.78 2015/12/13 23:22:17 tom Exp $
* $LynxId: dtd_util.c,v 1.79 2018/12/27 10:28:12 tom Exp $
*
* Given a SGML_dtd structure, write a corresponding flat file, or "C" source.
* Given the flat-file, write the "C" source.
......@@ -177,9 +177,9 @@ static SGMLContent s2SGMLContent(const char *value)
return result;
}
static void PrintF(FILE *, int, const char *,...) GCC_PRINTFLIKE(3, 4);
static void PrintF(FILE *, int, const char *, ...) GCC_PRINTFLIKE(3, 4);
static void PrintF(FILE *output, int width, const char *fmt,...)
static void PrintF(FILE *output, int width, const char *fmt, ...)
{
char buffer[BUFSIZ];
va_list ap;
......
/* System dependencies in the W3 library
* $LynxId: www_tcp.h,v 1.59 2018/05/16 20:31:43 tom Exp $
* $LynxId: www_tcp.h,v 1.61 2018/12/26 12:30:14 tom Exp $
*
SYSTEM DEPENDENCIES
......@@ -313,7 +313,14 @@ extern int ws_netread(int fd, char *buf, int len);
#define INCLUDES_DONE
#define TCP_INCLUDES_DONE
#endif /* WINDOWS */
#define LYNX_FD SOCKET /* WINSOCK uses an unsigned value for FD_SET, etc */
#else
#define LYNX_FD int /* POSIX says FD_SET descriptor is int */
#endif /* WINDOWS */
/*
......@@ -343,7 +350,7 @@ VAX/VMS
#ifdef UCX
#undef IOCTL
#define IOCTL(s,cmd,arg) HTioctl(s,cmd,arg)
#endif /* UCX */
#endif /* UCX */
#ifdef WIN_TCP
#undef SOCKET_READ
......@@ -355,7 +362,7 @@ VAX/VMS
#undef IOCTL
#define IOCTL(a,b,c) -1 /* disables ioctl function */
#define NO_IOCTL /* flag to check if ioctl is disabled */
#endif /* WIN_TCP */
#endif /* WIN_TCP */
#ifdef CMU_TCP
#undef SOCKET_READ
......@@ -366,7 +373,7 @@ VAX/VMS
#define NETREAD(s,b,l) (cmu_get_sdc((s)) != 0 ? HTDoRead((s),(b),(l)) : read((s),(b),(l)))
#define NETWRITE(s,b,l) (cmu_get_sdc((s)) != 0 ? cmu_write((s),(b),(l)) : write((s),(b),(l)))
#define NETCLOSE(s) (cmu_get_sdc((s)) != 0 ? cmu_close((s)) : close((s)))
#endif /* CMU_TCP */
#endif /* CMU_TCP */
#ifdef MULTINET
#undef NETCLOSE
......
/*
* $LynxId: config.hin,v 1.141 2018/03/11 22:30:30 tom Exp $
* $LynxId: config.hin,v 1.145 2018/12/28 22:30:57 tom Exp $
* vile:cmode
*
* The configure script translates "config.hin" into "lynx_cfg.h"
......@@ -44,6 +44,7 @@
#undef EXP_JAPANESEUTF8_SUPPORT /* CF_ARG_ENABLE(japanese-utf8) */
#undef EXP_KEYBOARD_LAYOUT /* CF_ARG_ENABLE(kbd-layout) */
#undef EXP_NESTED_TABLES /* CF_ARG_ENABLE(nested-tables) */
#undef EXP_WCWIDTH_SUPPORT /* CF_ARG_ENABLE(wcwidth-support) */
#undef FANCY_CURSES /* CF_FANCY_CURSES */
#undef GCC_NORETURN /* CF_GCC_ATTRIBUTES */
#undef GCC_PRINTF /* CF_GCC_ATTRIBUTES */
......@@ -105,6 +106,7 @@
#undef HAVE_MBSTATE_T /* CF_WIDEC_CURSES */
#undef HAVE_MKDTEMP
#undef HAVE_MKTEMP
#undef HAVE_MKTIME /* AC_REPLACE_FUNCS(mktime) */
#undef HAVE_MMAP /* AM_GNU_GETTEXT */
#undef HAVE_MUNMAP /* AM_GNU_GETTEXT */
#undef HAVE_NAPMS
......@@ -175,12 +177,13 @@
#undef HAVE_WAITPID
#undef HAVE_WATTR_GET
#undef HAVE_WBORDER
#undef HAVE_WCHAR_H
#undef HAVE_WCWIDTH /* AC_REPLACE_FUNCS(wcwidth) */
#undef HAVE_WINDOWS_H /* CF_NETLIBS */
#undef HAVE_WINSOCK2_H /* CF_NETLIBS */
#undef HAVE_WINSOCK_H /* CF_NETLIBS */
#undef HAVE_WREDRAWLN
#undef HAVE_WRESIZE
#undef TRACK_INTERNAL_LINKS /* CF_ARG_DISABLE(internal-links) */
#undef HAVE_XCURSES /* CF_PDCURSES_X11 */
#undef HAVE_ZERROR
#undef HAVE__NC_FREEALL /* ncurses debugging extension */
......@@ -233,6 +236,7 @@
#undef SIZEOF_INT /* AC_CHECK_SIZEOF(int) */
#undef SIZEOF_LONG /* AC_CHECK_SIZEOF(long) */
#undef SIZEOF_OFF_T /* AC_CHECK_SIZEOF(off_t) */
#undef SIZEOF_SIZE_T /* AC_CHECK_SIZEOF(size_t) */
#undef SIZEOF_TIME_T /* AC_CHECK_SIZEOF(time_t) */
#undef SLsmg_Color_Type /* CF_SLANG_UNIX_DEFS */
#undef SLtt_Char_Type /* CF_SLANG_UNIX_DEFS */
......@@ -252,6 +256,7 @@
#undef TIME_WITH_SYS_TIME /* AC_HEADER_TIME */
#undef TN3270_PATH /* CF_PATH_PROG(tn3270) */
#undef TOUCH_PATH /* CF_PATH_PROG(touch) */
#undef TRACK_INTERNAL_LINKS /* CF_ARG_DISABLE(internal-links) */
#undef ULTRIX /* config.sub */
#undef UNCOMPRESS_PATH /* CF_PATH_PROG(gunzip) */
#undef UNDERLINE_LINKS /* CF_ARG_ENABLE(underlines) */
......
This diff is collapsed.
dnl $LynxId: configure.in,v 1.302 2018/07/08 15:22:44 tom Exp $
dnl $LynxId: configure.in,v 1.307 2018/12/28 22:29:13 tom Exp $
dnl
dnl Process this file with autoconf to produce a configure script.
dnl
......@@ -29,7 +29,7 @@ dnl ---------------------------------------------------------------------------
dnl
dnl ask PRCS to plug-in the project-version for the configure-script.
dnl $Format: "AC_REVISION($ProjectVersion$)"$
AC_REVISION(2.8.9rel.1)
AC_REVISION(2.9.0dev.1)