Commit 4c865adb authored by Axel Beckert's avatar Axel Beckert

Imported Upstream version 2.8.7pre2

parent 6169371e
-- $LynxId: CHANGES,v 1.381 2009/03/17 22:46:38 tom Exp $
-- $LynxId: CHANGES,v 1.395 2009/04/26 15:48:40 tom Exp $
===============================================================================
Changes since Lynx 2.8 release
===============================================================================
2009-04-26 (2.8.7pre.2)
* update it.po from
http://translationproject.org/latest/lynx/
* update lynx user's guide section on Options Menu -TD
* modify prompt in LYLoadCGI() from 2.8.6dev.15 to always prompt user (from
FEDORA-2008-9597), and modify compiled-in configuration default for
consistency with other lynx.cfg settings to require that lynx.cfg be set to
permit use of lynxcgi scripts -TD
* correct parsing of "--" command-line parameter (Redhat #311031)
* check for malformed select before adding last-option (Redhat #152146)
* change default for --enable-ascii-ctypes to true -TD
* modify Lynx's DTD information to allow it to display form-related tags that
are inline, even without being in a form as indicated in
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
for %inline.forms and %misc.inline (Debian #398986) -TD
* finish dtd_util, making it able to load and save data from a flat file that
can be edited -TD
* correct length of padding with underscores in LYhighlight, which used the
wrong variable based on glyph count rather than cells (Debian #519199) -TD
* fix a few cases where PUTC's intended for pretty-src would display in the
HTML view (Debian #521489) -TD
* fix some mismatched BOOL vs BOOLEAN from compiler warnings due to dev.13
change to LYStructs.h -TD
* add TNS SNI support for the OpenSSL configuration -Phil Pennock
* add docs/README.cookies and docs/README.options -Stefan Caunter
* update docs/README.sslcerts -Stefan Caunter
* add NO_PAUSE setting to lynx.cfg, .lynxrc and Options menu (request by
Stefan Caunter) -TD
2009-03-17 (2.8.7pre.1)
2009-03-17 (2.8.7dev.14)
* modify command-passing for Win32/DOS to use double-quotes -TD
......
; version used for Inno Setup files.
; $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$
#define LYNX_VERSION "2.8.7pre.1"
#define LYNX_VERSION "2.8.7pre.2"
#define MyAppName "Lynx"
#define MyAppPublisher "Thomas E Dickey"
......
/*
* $LynxId: HTAnchor.c,v 1.62 2009/01/01 16:56:15 tom Exp $
* $LynxId: HTAnchor.c,v 1.63 2009/04/08 19:55:12 tom Exp $
*
* Hypertext "Anchor" Object HTAnchor.c
* ==========================
......@@ -164,7 +164,7 @@ static BOOL HTSEquivalent(const char *s,
}
return (HT_EQUIV(*s, *t));
} else {
return (s == t); /* Two NULLs are equivalent, aren't they ? */
return (BOOL) (s == t); /* Two NULLs are equivalent, aren't they ? */
}
}
......@@ -191,7 +191,7 @@ static BOOL HTBEquivalent(const bstring *s,
}
return (YES);
} else {
return (s == t); /* Two NULLs are equivalent, aren't they ? */
return (BOOL) (s == t); /* Two NULLs are equivalent, aren't they ? */
}
}
......@@ -428,8 +428,11 @@ static HTParentAnchor0 *HTAnchor_findAddress_in_adult_table(const DocAddress *ne
HTList *adults;
HTList *grownups;
HTParentAnchor0 *foundAnchor;
BOOL need_extra_info = (newdoc->post_data || newdoc->post_content_type ||
newdoc->bookmark || newdoc->isHEAD || newdoc->safe);
BOOL need_extra_info = (BOOL) (newdoc->post_data ||
newdoc->post_content_type ||
newdoc->bookmark ||
newdoc->isHEAD ||
newdoc->safe);
/*
* We need not free adult_table[] atexit - it should be perfectly empty
......@@ -898,7 +901,9 @@ void HTAnchor_setPrompt(HTParentAnchor *me,
BOOL HTAnchor_isIndex(HTParentAnchor *me)
{
return (me ? me->isIndex : NO);
return (me
? (BOOL) me->isIndex
: NO);
}
/* Whether Anchor has been designated as an ISMAP link
......@@ -906,7 +911,9 @@ BOOL HTAnchor_isIndex(HTParentAnchor *me)
*/
BOOL HTAnchor_isISMAPScript(HTAnchor * me)
{
return ((me && me->parent->info) ? me->parent->info->isISMAPScript : NO);
return ((me && me->parent->info)
? (BOOL) me->parent->info->isISMAPScript
: NO);
}
#if defined(USE_COLOR_STYLE)
......
/*
* $LynxId: HTFile.c,v 1.119 2009/02/01 21:17:39 tom Exp $
* $LynxId: HTFile.c,v 1.120 2009/04/08 19:44:19 tom Exp $
*
* File Access HTFile.c
* ===========
......@@ -2459,16 +2459,16 @@ static int decompressAndParse(HTParentAnchor *anchor,
switch (internal_decompress) {
#ifdef USE_ZLIB
case cftDeflate:
failed_decompress = (zzfp == NULL);
failed_decompress = (BOOLEAN) (zzfp == NULL);
break;
case cftCompress:
case cftGzip:
failed_decompress = (gzfp == NULL);
failed_decompress = (BOOLEAN) (gzfp == NULL);
break;
#endif
#ifdef USE_BZLIB
case cftBzip2:
failed_decompress = (bzfp == NULL);
failed_decompress = (BOOLEAN) (bzfp == NULL);
break;
#endif
default:
......@@ -2591,7 +2591,7 @@ int HTLoadFile(const char *addr,
if (ftp_passive == ftp_local_passive) {
if ((status >= 400) || (status < 0)) {
ftp_local_passive = !ftp_passive;
ftp_local_passive = (BOOLEAN) !ftp_passive;
status = HTFTPLoad(addr, anchor, format_out, sink);
}
}
......
/*
* $LynxId: HTFormat.c,v 1.66 2008/12/26 18:08:32 tom Exp $
* $LynxId: HTFormat.c,v 1.67 2009/04/08 20:08:01 tom Exp $
*
* Manage different file formats HTFormat.c
* =============================
......@@ -861,9 +861,9 @@ int HTCopy(HTParentAnchor *anchor,
* put up by the HTTP module or elsewhere can linger in the statusline
* for a while. - kw
*/
suppress_readprogress = (anchor && anchor->content_type &&
!strcmp(anchor->content_type,
"message/x-http-redirection"));
suppress_readprogress = (BOOL) (anchor && anchor->content_type &&
!strcmp(anchor->content_type,
"message/x-http-redirection"));
#ifdef NOT_ASCII
{
char *p;
......
/*
* $LynxId: HTMIME.c,v 1.69 2009/01/02 23:04:02 tom Exp $
* $LynxId: HTMIME.c,v 1.70 2009/04/08 19:55:32 tom Exp $
*
* MIME Message Parse HTMIME.c
* ==================
......@@ -193,7 +193,7 @@ void HTMIME_TrimDoubleQuotes(char *value)
static BOOL content_is_compressed(HTStream *me)
{
char *encoding = me->anchor->content_encoding;
BOOL result = (HTEncodingToCompressType(encoding) != cftNone);
BOOL result = (BOOL) (HTEncodingToCompressType(encoding) != cftNone);
CTRACE((tfp, "content is%s compressed\n", result ? "" : " NOT"));
return result;
......
/*
* $LynxId: HTTP.c,v 1.106 2009/03/10 15:31:22 tom Exp $
* $LynxId: HTTP.c,v 1.107 2009/04/07 22:45:42 tom Exp $
*
* HyperText Tranfer Protocol - Client implementation HTTP.c
* ==========================
......@@ -59,7 +59,7 @@ struct _HTStream {
HTStreamClass *isa;
};
BOOL reloading = FALSE; /* Reloading => send no-cache pragma to proxy */
BOOLEAN reloading = FALSE; /* Reloading => send no-cache pragma to proxy */
char *redirecting_url = NULL; /* Location: value. */
BOOL permanent_redirection = FALSE; /* Got 301 status? */
BOOL redirect_post_content = FALSE; /* Don't convert to GET? */
......@@ -661,10 +661,18 @@ static int HTLoadHTTP(const char *arg,
if (did_connect || !strncmp(url, "https", 5)) {
SSL_handle = handle = HTGetSSLHandle();
SSL_set_fd(handle, s);
/* get host we're connecting to */
ssl_host = HTParse(url, "", PARSE_HOST);
ssl_host = StripIpv6Brackets(ssl_host);
#if SSLEAY_VERSION_NUMBER >= 0x0900
#ifndef USE_NSS_COMPAT_INCL
if (!try_tls)
if (!try_tls) {
handle->options |= SSL_OP_NO_TLSv1;
#if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
} else {
SSL_set_tlsext_host_name(handle, ssl_host);
#endif
}
#endif
#endif /* SSLEAY_VERSION_NUMBER >= 0x0900 */
HTSSLInitPRNG();
......@@ -777,9 +785,6 @@ static int HTLoadHTTP(const char *arg,
/* initialise status information */
status_sslcertcheck = 0; /* 0 = no CN found in DN */
ssl_dn_start = ssl_dn;
/* get host we're connecting to */
ssl_host = HTParse(url, "", PARSE_HOST);
ssl_host = StripIpv6Brackets(ssl_host);
/* validate all CNs found in DN */
CTRACE((tfp, "Validating CNs in '%s'\n", ssl_dn_start));
......
/* /Net/dxcern/userd/timbl/hypertext/WWW/Library/Implementation/HTTP.html
HYPERTEXT TRANFER PROTOCOL
/*
* $LynxId: HTTP.h,v 1.10 2009/04/07 22:44:50 tom Exp $
*
* /Net/dxcern/userd/timbl/hypertext/WWW/Library/Implementation/HTTP.html
* HYPERTEXT TRANFER PROTOCOL
*/
#ifndef HTTP_H
#define HTTP_H
......@@ -24,7 +26,7 @@ extern "C" {
#define URL_MAIL_METHOD 3
extern int ws_read_per_sec;
extern BOOL reloading;
extern BOOLEAN reloading;
extern char *redirecting_url;
extern BOOL permanent_redirection;
extern BOOL redirect_post_content;
......
/*
* $LynxId: SGML.c,v 1.122 2009/03/10 21:16:57 tom Exp $
* $LynxId: SGML.c,v 1.127 2009/04/16 00:21:21 tom Exp $
*
* General SGML Parser code SGML.c
* ========================
......@@ -84,6 +84,12 @@ static void fake_put_character(void *p GCC_UNUSED,
#define PUTUTF8(code) (UCPutUtf8_charstring((HTStream *)context->target, \
(putc_func_t*)(context->actions->put_character), code))
#ifdef USE_PRETTYSRC
#define PRETTYSRC_PUTC(c) if (psrc_view) PUTC(c)
#else
#define PRETTYSRC_PUTC(c) /* nothing */
#endif
/*the following macros are used for pretty source view. */
#define IS_C(attr) (attr.type == HTMLA_CLASS)
......@@ -335,7 +341,7 @@ static void HTMLSRC_apply_markup(HTStream *context,
}
}
#define PSRCSTART(x) HTMLSRC_apply_markup(context,HTL_##x,START)
#define PSRCSTART(x) HTMLSRC_apply_markup(context,HTL_##x,START)
#define PSRCSTOP(x) HTMLSRC_apply_markup(context,HTL_##x,STOP)
#define attr_is_href context->cur_attr_is_href
......@@ -968,18 +974,21 @@ static void handle_sgmlatt(HTStream *context)
static BOOL element_valid_within(HTTag * new_tag, HTTag * stacked_tag, BOOL direct)
{
BOOL result = YES;
TagClass usecontains, usecontained;
if (!stacked_tag || !new_tag)
return YES;
usecontains = (direct ? stacked_tag->contains : stacked_tag->icontains);
usecontained = (direct ? new_tag->contained : new_tag->icontained);
if (new_tag == stacked_tag)
return (BOOL) ((Tgc_same & usecontains) &&
(Tgc_same & usecontained));
else
return (BOOL) ((new_tag->tagclass & usecontains) &&
(stacked_tag->tagclass & usecontained));
if (stacked_tag && new_tag) {
usecontains = (direct ? stacked_tag->contains : stacked_tag->icontains);
usecontained = (direct ? new_tag->contained : new_tag->icontained);
if (new_tag == stacked_tag) {
result = (BOOL) ((Tgc_same & usecontains) &&
(Tgc_same & usecontained));
} else {
result = (BOOL) ((new_tag->tagclass & usecontains) &&
(stacked_tag->tagclass & usecontained));
}
}
return result;
}
typedef enum {
......@@ -990,15 +999,22 @@ typedef enum {
static canclose_t can_close(HTTag * new_tag, HTTag * stacked_tag)
{
if (!stacked_tag)
return close_NO;
if (stacked_tag->flags & Tgf_endO)
return close_valid;
else if (new_tag == stacked_tag)
return ((Tgc_same & new_tag->canclose) ? close_error : close_NO);
else
return ((stacked_tag->tagclass & new_tag->canclose) ?
close_error : close_NO);
canclose_t result;
if (!stacked_tag) {
result = close_NO;
} else if (stacked_tag->flags & Tgf_endO) {
result = close_valid;
} else if (new_tag == stacked_tag) {
result = ((Tgc_same & new_tag->canclose)
? close_error
: close_NO);
} else {
result = ((stacked_tag->tagclass & new_tag->canclose)
? close_error
: close_NO);
}
return result;
}
static void do_close_stacked(HTStream *context)
......@@ -1020,8 +1036,10 @@ static void do_close_stacked(HTStream *context)
&context->include);
context->element_stack = stacked->next;
pool_free(stacked);
context->no_lynx_specialcodes = context->element_stack ?
(context->element_stack->tag->flags & Tgf_nolyspcl) : NO;
context->no_lynx_specialcodes =
(BOOL) (context->element_stack
? (context->element_stack->tag->flags & Tgf_nolyspcl)
: NO);
}
static int is_on_stack(HTStream *context, HTTag * old_tag)
......@@ -1161,8 +1179,10 @@ static void end_element(HTStream *context, HTTag * old_tag)
context->element_stack = N->next; /* Remove from stack */
pool_free(N);
}
context->no_lynx_specialcodes = context->element_stack ?
(context->element_stack->tag->flags & Tgf_nolyspcl) : NO;
context->no_lynx_specialcodes =
(BOOL) (context->element_stack
? (context->element_stack->tag->flags & Tgf_nolyspcl)
: NO);
#ifdef WIND_DOWN_STACK
if (old_tag == t)
return; /* Correct sequence */
......@@ -1196,7 +1216,8 @@ static void start_element(HTStream *context)
(canclose_check == close_valid ||
(canclose_check == close_error &&
new_tag == context->element_stack->tag)) &&
!(valid = element_valid_within(new_tag, context->element_stack->tag,
!(valid = element_valid_within(new_tag,
context->element_stack->tag,
direct_container))) {
canclose_check = can_close(new_tag, context->element_stack->tag);
if (canclose_check != close_NO) {
......@@ -1219,7 +1240,8 @@ static void start_element(HTStream *context)
}
if (context->element_stack && !valid &&
(context->element_stack->tag->flags & Tgf_strict) &&
!(valid = element_valid_within(new_tag, context->element_stack->tag,
!(valid = element_valid_within(new_tag,
context->element_stack->tag,
direct_container))) {
CTRACE((tfp, "SGML: Still open %s \t<- ***ignoring start <%s>\n",
context->element_stack->tag->name,
......@@ -1339,7 +1361,7 @@ static void start_element(HTStream *context)
N->next = context->element_stack;
N->tag = new_tag;
context->element_stack = N;
context->no_lynx_specialcodes = (new_tag->flags & Tgf_nolyspcl);
context->no_lynx_specialcodes = (BOOLEAN) (new_tag->flags & Tgf_nolyspcl);
} else if (e == HTML_META) {
/*
......@@ -3629,11 +3651,12 @@ static void SGML_character(HTStream *context, char c_in)
PUTS(string->data);
if (c == '=' || WHITE(c))
PUTC(c);
if (c == '=' || c == '>' || WHITE(c)) {
if (context->current_attribute_number == INVALID)
if (c == '=' || c == '>') {
if (context->current_attribute_number == INVALID) {
PSRCSTOP(badattr);
else
} else {
PSRCSTOP(attrib);
}
}
if (c == '>') {
PSRCSTART(abracket);
......@@ -3653,7 +3676,7 @@ static void SGML_character(HTStream *context, char c_in)
case S_attr_gap: /* Expecting attribute or '=' or '>' */
if (WHITE(c)) {
PUTC(c);
PRETTYSRC_PUTC(c);
break; /* Gap after attribute */
}
if (c == '>') { /* End of tag */
......@@ -3693,7 +3716,7 @@ static void SGML_character(HTStream *context, char c_in)
case S_equals: /* After attr = */
if (WHITE(c)) {
PUTC(c);
PRETTYSRC_PUTC(c);
break; /* Before attribute value */
}
if (c == '>') { /* End of tag */
......
/*
* $LynxId: SGML.h,v 1.41 2009/01/01 23:05:07 tom Exp $
* $LynxId: SGML.h,v 1.43 2009/04/16 00:50:16 tom Exp $
* SGML parse and stream definition for libwww
* SGML AND STRUCTURED STREAMS
*
......@@ -100,6 +100,13 @@ extern "C" {
/* special relations */
#define Tgc_same 0x80000
/*
* Groups for contains-data.
*/
#define Tgc_INLINElike (Tgc_Alike | Tgc_APPLETlike | Tgc_BRlike | Tgc_EMlike | Tgc_FONTlike | Tgc_SELECTlike)
#define Tgc_LISTlike (Tgc_LIlike | Tgc_ULlike)
#define Tgc_BLOCKlike (Tgc_DIVlike | Tgc_LISTlike)
/* Some more properties of tags (or rather, elements) and rules how
to deal with them. - kw */
typedef int TagFlags;
......
This diff is collapsed.
/* $LynxId: hdr_HTMLDTD.h,v 1.19 2008/09/20 14:25:27 tom Exp $ */
/* $LynxId: hdr_HTMLDTD.h,v 1.20 2009/04/12 01:15:23 tom Exp $ */
#ifndef hdr_HTMLDTD_H
#define hdr_HTMLDTD_H 1
......@@ -343,15 +343,6 @@ extern "C" {
#define HTML_COL_WIDTH 12
#define HTML_COL_ATTRIBUTES 13
#define HTML_CREDIT_CLASS 0
#define HTML_CREDIT_CLEAR 1
#define HTML_CREDIT_DIR 2
#define HTML_CREDIT_ID 3
#define HTML_CREDIT_LANG 4
#define HTML_CREDIT_STYLE 5
#define HTML_CREDIT_TITLE 6
#define HTML_CREDIT_ATTRIBUTES 7
#define HTML_DEL_CITE 0
#define HTML_DEL_CLASS 1
#define HTML_DEL_DATETIME 2
......@@ -405,15 +396,6 @@ extern "C" {
#define HTML_EMBED_WIDTH 20
#define HTML_EMBED_ATTRIBUTES 21
#define HTML_FIELDSET_CLASS 0
#define HTML_FIELDSET_CLEAR 1
#define HTML_FIELDSET_DIR 2
#define HTML_FIELDSET_ID 3
#define HTML_FIELDSET_LANG 4
#define HTML_FIELDSET_STYLE 5
#define HTML_FIELDSET_TITLE 6
#define HTML_FIELDSET_ATTRIBUTES 7
#define HTML_FIG_ALIGN 0
#define HTML_FIG_BORDER 1
#define HTML_FIG_CLASS 2
......@@ -433,15 +415,6 @@ extern "C" {
#define HTML_FIG_WIDTH 16
#define HTML_FIG_ATTRIBUTES 17
#define HTML_FN_CLASS 0
#define HTML_FN_CLEAR 1
#define HTML_FN_DIR 2
#define HTML_FN_ID 3
#define HTML_FN_LANG 4
#define HTML_FN_STYLE 5
#define HTML_FN_TITLE 6
#define HTML_FN_ATTRIBUTES 7
#define HTML_FONT_CLASS 0
#define HTML_FONT_CLEAR 1
#define HTML_FONT_COLOR 2
......@@ -645,17 +618,6 @@ extern "C" {
#define HTML_LABEL_TITLE 10
#define HTML_LABEL_ATTRIBUTES 11
#define HTML_LEGEND_ACCESSKEY 0
#define HTML_LEGEND_ALIGN 1
#define HTML_LEGEND_CLASS 2
#define HTML_LEGEND_CLEAR 3
#define HTML_LEGEND_DIR 4
#define HTML_LEGEND_ID 5
#define HTML_LEGEND_LANG 6
#define HTML_LEGEND_STYLE 7
#define HTML_LEGEND_TITLE 8
#define HTML_LEGEND_ATTRIBUTES 9
#define HTML_LI_CLASS 0
#define HTML_LI_CLEAR 1
#define HTML_LI_DINGBAT 2
......
# $LynxId: makefile.in,v 1.20 2009/01/02 00:52:08 tom Exp $
# $LynxId: makefile.in,v 1.25 2009/04/15 23:24:33 tom Exp $
# Make WWW under unix for a.n.other unix system (bsd)
# Use this as a template
......@@ -323,13 +323,50 @@ $(LOB)/dtd_util$o : $(CMN)dtd_util.c $(CMN)HTUtils.h
DTD_UTIL = $(LOB)/dtd_util$o $(LOB)/HTMLDTD$o
sources: dtd_util$x
sources: dtd_util$x src0_HTMLDTD.txt src1_HTMLDTD.txt
-rm -f *_HTMLDTD.h
./dtd_util$x -s -c -o src0_HTMLDTD.h
./dtd_util$x -t -c -o src1_HTMLDTD.h
./dtd_util$x -s -h -o hdr_HTMLDTD.h
./dtd_util$x -l src0_HTMLDTD.txt -s -c -o src0_HTMLDTD.h
./dtd_util$x -l src1_HTMLDTD.txt -t -c -o src1_HTMLDTD.h
./dtd_util$x -l src0_HTMLDTD.txt -s -h -o hdr_HTMLDTD.h
dtd_util$x: $(DTD_UTIL)
$(CC) $(CC_OPTS) $(LDFLAGS) -o $@ $(DTD_UTIL) $(LIBS)
check: dtd_util$x
@echo "** comparing builtin src0_HTMLDTD.txt"
./dtd_util$x >HTMLDTD.log
-diff -u src0_HTMLDTD.txt HTMLDTD.log
@echo "** comparing reloaded src0_HTMLDTD.txt"
./dtd_util$x -l src0_HTMLDTD.txt >HTMLDTD.log
-diff -u src0_HTMLDTD.txt HTMLDTD.log
@echo "** comparing header generated from builtin"
./dtd_util$x -s -h -o HTMLDTD.log
-diff -u hdr_HTMLDTD.h HTMLDTD.log
./dtd_util$x -t -h -o HTMLDTD.log
-diff -u hdr_HTMLDTD.h HTMLDTD.log
@echo "** comparing header generated by load"
./dtd_util$x -s -h -o HTMLDTD.log -l src0_HTMLDTD.txt
-diff -u hdr_HTMLDTD.h HTMLDTD.log
./dtd_util$x -t -h -o HTMLDTD.log -l src1_HTMLDTD.txt
-diff -u hdr_HTMLDTD.h HTMLDTD.log
@echo "** comparing strict source generated from builtin"
./dtd_util$x -s -c -o HTMLDTD.log
-diff -u src0_HTMLDTD.h HTMLDTD.log
@echo "** comparing strict source generated by load"
./dtd_util$x -s -c -o HTMLDTD.log -l src0_HTMLDTD.txt
-diff -u src0_HTMLDTD.h HTMLDTD.log
@echo "** comparing tagsoup source generated from builtin"
./dtd_util$x -t -c -o HTMLDTD.log
-diff -u src1_HTMLDTD.h HTMLDTD.log
@echo "** comparing tagsoup source generated by load"
./dtd_util$x -t -c -o HTMLDTD.log -l src1_HTMLDTD.txt
-diff -u src1_HTMLDTD.h HTMLDTD.log
# DO NOT DELETE THIS LINE -- make depend depends on it.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#! /bin/sh
# From configure.in 2.8.7dev.13.
# From configure.in 2.8.7pre.1.
# Guess values for system-dependent variables and create Makefiles.
# Generated by Autoconf 2.52.20081225.
#
......@@ -1239,7 +1239,7 @@ fi;
PACKAGE=lynx
# $Format: "VERSION=$ProjectVersion$"$
VERSION=2.8.7pre.1
VERSION=2.8.7pre.2
echo "$as_me:1244: checking for DESTDIR" >&5
echo $ECHO_N "checking for DESTDIR... $ECHO_C" >&6
......@@ -3926,7 +3926,7 @@ linux*)
TRY_CFLAGS="$TRY_CFLAGS -DLINUX"
;;
mingw*)
# put these directlyin CPPFLAGS since they will not work in lynx_cfg.h
# put these directly in CPPFLAGS since they will not work in lynx_cfg.h
cf_fix_cppflags=no
cf_new_cflags=
......@@ -26808,11 +26808,11 @@ if test "${enable_ascii_ctypes+set}" = set; then
if test "$enableval" != "no" ; then
use_ascii_ctypes=$enableval
else
use_ascii_ctypes=no
use_ascii_ctypes=yes
fi
else
enableval=no
use_ascii_ctypes=no
use_ascii_ctypes=yes
fi;
echo "$as_me:26818: result: $use_ascii_ctypes" >&5
......
dnl $LynxId: configure.in,v 1.189 2009/03/10 00:23:50 tom Exp $
dnl $LynxId: configure.in,v 1.191 2009/04/12 12:45:06 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.7pre.1)
AC_REVISION(2.8.7pre.2)
# Save the original $CFLAGS so we can distinguish whether the user set those
# in the environment, or whether autoconf added -O and -g options:
......@@ -62,7 +62,7 @@ AC_ARG_WITH(system-type,
PACKAGE=lynx
dnl ask PRCS to plug-in the project-version for the packages.
# $Format: "VERSION=$ProjectVersion$"$
VERSION=2.8.7pre.1
VERSION=2.8.7pre.2
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
......@@ -869,7 +869,7 @@ AC_MSG_CHECKING(if experimental ascii case-conversion should be used)
CF_ARG_ENABLE(ascii-ctypes,
[ --enable-ascii-ctypes use experimental ascii case-conversion],
[use_ascii_ctypes=$enableval],
[use_ascii_ctypes=no])
[use_ascii_ctypes=yes])
AC_MSG_RESULT($use_ascii_ctypes)
test $use_ascii_ctypes != no && AC_DEFINE(EXP_ASCII_CTYPES)
......
README.cookies
Cookie handling when using the lynx browser:
General Usage on a unix system:
Cookie handling may be set so that you read them in on session start up from a
saved file, and to restore all cookies to that file on session close.
Warning and Disclaimer:
The lynx browser provides great opportunity to examine and make decisions about
cookies by default, but some users just want the speed benefits of the lynx
browser without the prompting for a decision to accept or reject the cookie.
Should you think that this is your situation, please read this:
There are a number of privacy issues with accepting all cookies blindly, not
the least of which is that you are storing evidence of your browsing activity
into a regular disk file.
You have been warned. There are many resources available that will provide you
with more information about making informed choices about this subject.
With that in mind, here is how to accept all cookies transparently and rapidly:
The following .lynxrc or lynx.cfg settings provide the user with the ability
to by default accept all cookies transparently.
SET_COOKIES:TRUE
ACCEPT_ALL_COOKIES:TRUE
PERSISTENT_COOKIES:TRUE
COOKIE_FILE:/path/to/directory/.lynx_cookies
COOKIE_SAVE_FILE:/path/to/directory/.lynx_cookies
COOKIE_LOOSE_INVALID_DOMAINS:sports.espn.go.com,espn.go.com,.go.com,
FORCE_SSL_COOKIES_SECURE:FALSE
You must have a "cookie save file" that you own and for which you have
read/write permission; cookies are flushed out to that disk location when you
exit lynx, and are read in for use at the start of a lynx session from there.
Cookies do not persist unless this happens.
If you wish to see for yourself that this actually happens, please use the
-trace command line option and then read the resulting file "Lynx.trace".
It will show the cookies being read in at the start of a session, and being
written out at the conclusion of a session.
FORCE_SSL_COOKIES_SECURE is for ebay and the like, or they won't remember you;
(their login is secure but everything else isn't, like a lot of big sites).
If lynx attempts to transmit the ebay cookie securely, it's not taken.
This doesn't affect cookie acceptance but it's a functionality issue for users.
The COOKIE_LOOSE_INVALID_DOMAINS is for botched cookies from sites you read a
lot. This causes a great deal of prompting and if you are a frequent site user
you may want to convenience yourself with a set of loose invalid domains.
Stef Caunter
http://caunter.ca/contact.html
http://caunter.ca/README.cookies
README.options
Using the lynx browser [O]ptions configuration tool.
General Usage on a unix system:
Press "O" at any time in your lynx session to access this utility page.
This is one of several custom "system" URLs that cause lynx to self-configure.
Please note:
Ensure and confirm that your [O]ptions session is flushed to disk, by selecting:
Save options to disk: [_] before selecting "Accept Changes".
This freshens your .lynxrc file, which is your default "personal" configuration
for the lynx browser. Otherwise you will only affect settings for your
individual session; they aren't remembered next time you use lynx, (since you
actually did not tell lynx to remember them).
This disk write to .lynxrc is not default behaviour for [O]ptions
configurations. The lynx browser tends to tread lightly at first. Note that
you must first have permission on your system to create, write to and read
from a .lynxrc file in your home directory.
Using some of the menu items: