988 changes: 496 additions & 492 deletions configure

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions configure.in
@@ -1,4 +1,4 @@
dnl $LynxId: configure.in,v 1.312 2019/08/26 20:21:48 tom Exp $
dnl $LynxId: configure.in,v 1.313 2019/08/28 22:59:25 tom Exp $
dnl
dnl Process this file with autoconf to produce a configure script.
dnl
Expand Down Expand Up @@ -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.9.0dev.4)
AC_REVISION(2.9.0dev.5)

# Save the original $CFLAGS so we can distinguish whether the user set those
# in the environment, or whether autoconf added -O and -g options:
Expand Down Expand Up @@ -64,7 +64,7 @@ AC_ARG_PROGRAM
PACKAGE=lynx
dnl ask PRCS to plug-in the project-version for the packages.
# $Format: "VERSION=$ProjectVersion$"$
VERSION=2.9.0dev.4
VERSION=2.9.0dev.5

AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
Expand Down
6 changes: 3 additions & 3 deletions lynx.cfg
@@ -1,13 +1,13 @@
# $LynxId: lynx.cfg,v 1.310 2019/08/26 20:21:48 tom Exp $
# $LynxId: lynx.cfg,v 1.311 2019/08/28 22:59:25 tom Exp $
# lynx.cfg file.
# The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
# or Lynx_Dir:lynx.cfg (VMS)
#
# $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$
#PRCS LYNX_VERSION "2.9.0dev.4"
#PRCS LYNX_VERSION "2.9.0dev.5"
#
# $Format: "#PRCS LYNX_DATE \"$ProjectDate$\""$
#PRCS LYNX_DATE "Mon, 26 Aug 2019 16:21:48 -0400"
#PRCS LYNX_DATE "Wed, 28 Aug 2019 18:59:25 -0400"
#
# Definition pairs (configuration settings) are of the form
# VARIABLE:DEFINITION
Expand Down
4 changes: 2 additions & 2 deletions makefile.in
@@ -1,4 +1,4 @@
# $LynxId: makefile.in,v 1.179 2019/08/26 20:21:48 tom Exp $
# $LynxId: makefile.in,v 1.180 2019/08/28 22:59:25 tom Exp $
##makefile for lynx

SHELL = @CONFIG_SHELL@
Expand Down Expand Up @@ -45,7 +45,7 @@ TAR_UP = $(TAR) @TAR_UP_OPTIONS@ @TAR_PIPE_OPTIONS@
TAR_DOWN = $(TAR) @TAR_DOWN_OPTIONS@ @TAR_PIPE_OPTIONS@

# $Format: "LYNX_VERSION = $ProjectVersion$"$
LYNX_VERSION = 2.9.0dev.4
LYNX_VERSION = 2.9.0dev.5

## This is the version which we are developing (or, upon release, make this
## the same). Use no dots in the name, since it must work on VMS and MS-DOS.
Expand Down
1,271 changes: 651 additions & 620 deletions po/fr.po

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions src/LYIcon.rc
@@ -1,12 +1,12 @@
// $LynxId: LYIcon.rc,v 1.43 2019/08/26 20:21:48 tom Exp $
// $LynxId: LYIcon.rc,v 1.44 2019/08/28 22:59:25 tom Exp $

#include <windows.h>

100 ICON "../samples/lynx.ico"

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,9,0,1004
PRODUCTVERSION 2,9,0,1004
FILEVERSION 2,9,0,1005
PRODUCTVERSION 2,9,0,1005
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_NT_WINDOWS32
Expand All @@ -19,12 +19,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "https://invisible-island.net/lynx"
VALUE "FileDescription", "Lynx - web browser"
VALUE "FileVersion", "2.9.0.1004"
VALUE "FileVersion", "2.9.0.1005"
VALUE "InternalName", "Lynx"
VALUE "LegalCopyright", "�1997-2019 Thomas E. Dickey"
VALUE "OriginalFilename", "lynx.exe"
VALUE "ProductName", "Lynx - web browser"
VALUE "ProductVersion", "2.9.0.1004"
VALUE "ProductVersion", "2.9.0.1005"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 7 additions & 1 deletion src/LYmktime.c
@@ -1,4 +1,4 @@
/* $LynxId: LYmktime.c,v 1.19 2019/01/03 02:07:48 tom Exp $ */
/* $LynxId: LYmktime.c,v 1.20 2019/08/28 22:54:45 tom Exp $ */

#include <LYStrings.h>
#include <LYUtils.h>
Expand Down Expand Up @@ -351,7 +351,13 @@ int main(void)
/* problems with 32-bits */
test_mktime("Fri Jan 01 07:00:00 2038 GMT");
test_mktime("Sun Jul 06 07:00:00 2038 GMT");
test_mktime("Mon, 22-Aug-2039 15:13:56 GMT");
test_mktime("Sat, 28 Aug 2066 18:41:53 -0400");
test_mktime("Fri, 28 Aug 2099 18:41:53 -0400");
test_mktime("Sat, 28 Aug 2100 18:41:53 -0400");
test_mktime("Sun Jul 06 07:00:00 2138 GMT");
test_mktime("Sat, 28 Aug 2150 18:41:53 -0400");
test_mktime("Sat, 28 Aug 2200 18:41:53 -0400");
printf("DONE!\n");
return 0;
}
Expand Down
21 changes: 14 additions & 7 deletions src/parsdate.c
Expand Up @@ -5,7 +5,7 @@
#define YYBYACC 1
#define YYMAJOR 1
#define YYMINOR 9
#define YYPATCH 20180609
#define YYPATCH 20190617

#define YYEMPTY (-1)
#define yyclearin (yychar = YYEMPTY)
Expand All @@ -22,15 +22,15 @@
#include <LYLeaks.h>

/*
* $LynxId: parsdate.c,v 1.27 2018/12/28 01:54:18 tom Exp $
* $LynxId: parsdate.c,v 1.28 2019/08/28 23:01:49 tom Exp $
*
* This module is adapted and extended from tin, to use for LYmktime().
*
* Project : tin - a Usenet reader
* Module : parsedate.y
* Author : S. Bellovin, R. $alz, J. Berets, P. Eggert
* Created : 1990-08-01
* Updated : 2018-12-27 (by Thomas Dickey, for Lynx)
* Updated : 2019-08-28 (by Thomas Dickey, for Lynx)
* Notes : This grammar has 8 shift/reduce conflicts.
*
* Originally written by Steven M. Bellovin <smb@research.att.com>
Expand Down Expand Up @@ -86,7 +86,7 @@ extern int date_parse(void);

/* See the LeapYears table in Convert. */
#define EPOCH 1970
#define END_OF_TIME 2038
#define END_OF_TIME 2200

/* Constants for general time calculations. */
#define DST_OFFSET 1
Expand Down Expand Up @@ -620,11 +620,18 @@ static time_t Convert(time_t Month, time_t Day, time_t Year, time_t Hours,
{
0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
};
/* *INDENT-OFF* */
static const int LeapYears[] =
{
1972, 1976, 1980, 1984, 1988, 1992, 1996,
2000, 2004, 2008, 2012, 2016, 2020, 2024, 2028, 2032, 2036
2000, 2004, 2008, 2012, 2016, 2020, 2024, 2028, 2032, 2036,
2040, 2044, 2048, 2052, 2056, 2060, 2064, 2068, 2072, 2076,
2080, 2084, 2088, 2092, 2096, /***/ 2104, 2108, 2112, 2116,
2120, 2124, 2128, 2132, 2136, 2140, 2144, 2148, 2152, 2156,
2160, 2164, 2168, 2172, 2176, 2180, 2184, 2188, 2192, 2196,
};
/* *INDENT-ON* */

const int *yp;
const int *mp;
int i;
Expand Down Expand Up @@ -1041,7 +1048,7 @@ time_t parsedate(char *p,
* from the error return value. (Alternately could set errno on error.) */
return (Start == BAD_TIME) ? 0 : Start;
}
#line 1045 "y.tab.c"
#line 1052 "y.tab.c"

#if YYDEBUG
#include <stdio.h> /* needed for printf */
Expand Down Expand Up @@ -1526,7 +1533,7 @@ case 35:
yyval.Meridian = yystack.l_mark[0].Meridian;
}
break;
#line 1530 "y.tab.c"
#line 1537 "y.tab.c"
}
yystack.s_mark -= yym;
yystate = *yystack.s_mark;
Expand Down
15 changes: 11 additions & 4 deletions src/parsdate.y
Expand Up @@ -3,15 +3,15 @@
#include <LYLeaks.h>

/*
* $LynxId: parsdate.y,v 1.29 2018/12/28 01:53:17 tom Exp $
* $LynxId: parsdate.y,v 1.30 2019/08/28 23:00:39 tom Exp $
*
* This module is adapted and extended from tin, to use for LYmktime().
*
* Project : tin - a Usenet reader
* Module : parsedate.y
* Author : S. Bellovin, R. $alz, J. Berets, P. Eggert
* Created : 1990-08-01
* Updated : 2018-12-27 (by Thomas Dickey, for Lynx)
* Updated : 2019-08-28 (by Thomas Dickey, for Lynx)
* Notes : This grammar has 8 shift/reduce conflicts.
*
* Originally written by Steven M. Bellovin <smb@research.att.com>
Expand Down Expand Up @@ -67,7 +67,7 @@ extern int date_parse(void);

/* See the LeapYears table in Convert. */
#define EPOCH 1970
#define END_OF_TIME 2038
#define END_OF_TIME 2200

/* Constants for general time calculations. */
#define DST_OFFSET 1
Expand Down Expand Up @@ -560,11 +560,18 @@ static time_t Convert(time_t Month, time_t Day, time_t Year, time_t Hours,
{
0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
};
/* *INDENT-OFF* */
static const int LeapYears[] =
{
1972, 1976, 1980, 1984, 1988, 1992, 1996,
2000, 2004, 2008, 2012, 2016, 2020, 2024, 2028, 2032, 2036
2000, 2004, 2008, 2012, 2016, 2020, 2024, 2028, 2032, 2036,
2040, 2044, 2048, 2052, 2056, 2060, 2064, 2068, 2072, 2076,
2080, 2084, 2088, 2092, 2096, /***/ 2104, 2108, 2112, 2116,
2120, 2124, 2128, 2132, 2136, 2140, 2144, 2148, 2152, 2156,
2160, 2164, 2168, 2172, 2176, 2180, 2184, 2188, 2192, 2196,
};
/* *INDENT-ON* */

const int *yp;
const int *mp;
int i;
Expand Down
6 changes: 3 additions & 3 deletions userdefs.h
@@ -1,5 +1,5 @@
/*
* $LynxId: userdefs.h,v 1.347 2019/08/26 20:21:48 tom Exp $
* $LynxId: userdefs.h,v 1.348 2019/08/28 22:59:25 tom Exp $
*
* Lynx - Hypertext navigation system
*
Expand Down Expand Up @@ -1445,11 +1445,11 @@
* the version definition with the Project Version on checkout. Just
* ignore it. - kw */
/* $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$ */
#define LYNX_VERSION "2.9.0dev.4"
#define LYNX_VERSION "2.9.0dev.5"
#define LYNX_WWW_HOME "https://lynx.invisible-island.net/"
#define LYNX_WWW_DIST "https://lynx.invisible-island.net/current/"
/* $Format: "#define LYNX_DATE \"$ProjectDate$\""$ */
#define LYNX_DATE "Mon, 26 Aug 2019 16:21:48 -0400"
#define LYNX_DATE "Wed, 28 Aug 2019 18:59:25 -0400"
#define LYNX_DATE_OFF 5 /* truncate the automatically-generated date */
#define LYNX_DATE_LEN 11 /* truncate the automatically-generated date */

Expand Down