Blame docs/CHANGES2.8

Packit f574b8
=======================================================================
Packit f574b8
---            Release of Lynx v2.8 (March 10, 1998)                ---
Packit f574b8
=======================================================================
Packit f574b8
Packit f574b8
1998-03-10
Packit f574b8
* omit platform-specifics about release (recommended by HN). - TD
Packit f574b8
* drop samples/lynx.cfg since it is redundant (recommended by HN).  - TD
Packit f574b8
* modify makefile.in so that "make install-cfg" does not edit lynx.cfg
Packit f574b8
  to point at local helpfiles, while "make install-help" will now do
Packit f574b8
  that (reported by LP). - TD
Packit f574b8
1998-03-07
Packit f574b8
* move ifdef's for EXP_8BIT_TOUPPER inside UPPER8 function to allow
Packit f574b8
  check for DOS/WINDOWS display charsets. - LP
Packit f574b8
1998-03-06
Packit f574b8
* clarify relationship between the configure script and userdefs.h with
Packit f574b8
  respect to the LYNX_CFG_FILE definition. - TD
Packit f574b8
* newer CF_FIND_LIBRARY autoconf macro, to allow ncurses library in /lib
Packit f574b8
  only, needed for SUSE Linux. - TD
Packit f574b8
* add casts to UPPER8 function's comparison for equality of parameters, and
Packit f574b8
  to TOUPPER macro to guard against sign-extension due to prototype. - AAC
Packit f574b8
* correct spelling of -lcur_colr library in aclocal.m4, change order of
Packit f574b8
  tests to put -lHcurses second on HP-UX (patch by Jonathan Sergent).
Packit f574b8
* restore simple zmodem downloader script, displaced by recent undocumented
Packit f574b8
  change (there are some concerns about security or permissions with the
Packit f574b8
  alternate script).  - DK
Packit f574b8
* DOSPATH localfile patch:  corrected display of file://localhost/c:/,
Packit f574b8
  which was displayed as file://localhost/c%3A/ (tweak LYConvertToUrl() in
Packit f574b8
  LYUtils.c).  Now we may start "lynx c:" or 'go' c:  and not see these
Packit f574b8
  strange letters.  On the other hand, if % and # symbols found in local
Packit f574b8
  path it will be escaped as before (note that #fragment is not supposed here
Packit f574b8
  to be used from command line...) - LP
Packit f574b8
* workaround error in vendor's terminfo description of 'dtterm' by ensuring
Packit f574b8
  we limit color pair-number accordingly. - TD
Packit f574b8
1998-03-04
Packit f574b8
* strip -g compiler option if not otherwise specified, for debugging (note
Packit f574b8
  that autoconf 2.12 does not try to use -O option due to concerns about
Packit f574b8
  compiler optimization). - TD
Packit f574b8
* correct value of $host_os used in CF_CURSES_LIBS for special-case of
Packit f574b8
  HP's -lHcurses (Jonathan Sergent <sergent@ecn.purdue.edu>).
Packit f574b8
* correct def7_uni.tbl for Greek letters, note about UPPER8 assumption
Packit f574b8
  added to chrtrans/README.format. - LP
Packit f574b8
* few comments corrected. - LP
Packit f574b8
1998-02-28
Packit f574b8
* create new PRCS revision (2.8pre) for pre-release testing of Lynx 2.8 -TD
Packit f574b8
* remove RELEASE_STATEMENT, merging it into README as per HN's
Packit f574b8
  recommendation - TD
Packit f574b8
* comments/minor changes to HTDOS.c, HTDOS.h, LYUtils.c - LP
Packit f574b8
* document recent fix for RAW_DOS_KEY_HACK in lynx.cfg - DK
Packit f574b8
* rename CHANGES.new to docs/CHANGES2.8 - TD
Packit f574b8
* undo last minor change to UPPER8 - LP
Packit f574b8
1998-02-27
Packit f574b8
* add RELEASE_STATEMENT file. - TD
Packit f574b8
* modify slang configuration to add fake 'scrollok()' - JED
Packit f574b8
* modify LYmktime() so that 2-digit years must be greater/equal to 70 to be in
Packit f574b8
  1900's (patch by Bela Lubkin).  Also adjust parse_windows_nt_dir_entry() and
Packit f574b8
  parse_cms_dir_entry() as noted by Bela - TD
Packit f574b8
* comment-out entries in cp1252_uni.tbl which correspond to nonprinting
Packit f574b8
  control-characters - LP
Packit f574b8
* add logic in SGML.c to correspond with 2.7.2 logic for codes used by
Packit f574b8
  Microsoft FrontPage. - LP
Packit f574b8
* remove unneeded code for nbsp, ensp, emsp, thinsp and shy from handle_entity()
Packit f574b8
  in SGML.c - LP
Packit f574b8
* ifdef UPPER8 function with EXP_8BIT_TOUPPER,
Packit f574b8
  add configure option --enable-8bit-toupper to allow testing.  - TD
Packit f574b8
* case-insensitive search and 8bit letters:  It was realized that
Packit f574b8
  information about upper/lower mapping got from TOUPPER which depends on
Packit f574b8
  locale in its 8bit and usually fails on non-UNIX systems.  We introduce
Packit f574b8
  UPPER8 and strcasecomp8 to implement 8-bit aware case-independent search
Packit f574b8
  using one simple assumption:  8bit upper/lower case letters have their
Packit f574b8
  "7bit approximation" images in def7_uni.tbl matched case-insensitively
Packit f574b8
  (7bit).  The cost of this assumption is that several differently accented
Packit f574b8
  letters may be interpreted as equal but this is negligible if the search
Packit f574b8
  string is more than one character long.  (LYStrings.c, also HTString.c
Packit f574b8
  and LYMainLoop.c).  - LP, TD
Packit f574b8
* add SunOS 4.x-specific ifdef to quiet redefinition warnings for sys/ioctl.h
Packit f574b8
  vs sys/termios.h - TD
Packit f574b8
* convert usage/options messages into arrays to simplify maintenance. - TD
Packit f574b8
* add "-useragent" command-line option to set "User-Agent" (request by Merlin
Packit f574b8
  Mathesius <merlin_mathesius@swissbank.com>).  - LP
Packit f574b8
* tweak HTML in LYDownload.c, LYPrint.c to restore some double-spacing effects
Packit f574b8
  altered in 'collapsible spaces' change 1998-01-25 (reported by James Elkinton
Packit f574b8
  <zio@blueneptune.com>).  - LP
Packit f574b8
* use strncasecomp/strcasecomp consistently throughout to avoid library
Packit f574b8
  dependency on strncasecmp/strcasecmp. - TD
Packit f574b8
* correct lengths in several strncasecmp calls for command-line options
Packit f574b8
  (though -w is still an abbreviation for -width). - TD
Packit f574b8
* test-build with BSD curses on OS/2 EMX (does not display properly), and
Packit f574b8
  with ncurses -TD
Packit f574b8
* add configure check CF_FUNC_LSTAT -TD
Packit f574b8
* modify CF_CHECK_ERRNO so that configure script on OS/2 EMX finds
Packit f574b8
  sys_errlist[] -TD
Packit f574b8
* reset styles[] and styleSheet list in DefaultStyle.c, HTML.c so that when
Packit f574b8
  a user reloads a page with ^R, we undo changes to those data structures
Packit f574b8
  (reported by Larry Virden). - TD
Packit f574b8
* remove extra copy of HTML.h from Implementation directory. - TD
Packit f574b8
* add CF_GCC_ATTRIBUTES to configure script, to use in flushing out unused
Packit f574b8
  parameter warnings (and later, to support prototypes for logging). - TD
Packit f574b8
* rename 'extra_entities' to 'unicode_entities' (recommended by LP) - TD
Packit f574b8
* add configure option --use-default-colors, to allow background color to use
Packit f574b8
  default value (request by SUNAGAWA Keiki <Keiki_Sunagawa@yokogawa.co.jp>) -TD
Packit f574b8
* change default for --disable-internal-links so it is normally-off - TD
Packit f574b8
1998-02-19
Packit f574b8
* add configure test CF_FIONBIO, some ifdef's (e.g., S_IFLNK) to support
Packit f574b8
  build on OS/2 EMX. - TD
Packit f574b8
* add configure option --disable-extended-dtd, for testing - TD
Packit f574b8
* split-out entities.h from HTMLDTD.c - TD
Packit f574b8
* remove obsolete mapping in "private" e000 area of mnem_suni.tbl,
Packit f574b8
  mnem2_suni.tbl, rfc_suni.tbl - LP
Packit f574b8
* remove unused function HTMLGetLatinOneValue() - LP
Packit f574b8
* remove logic that would attempt lookup of Unicode entities by index into the
Packit f574b8
  unicode_entities.put_entity method (e.g., of HTML_dtd), in HTML.c
Packit f574b8
  (HTML_put_entity) and HTMLGen.c (HTMLGen_put_entity) - LP
Packit f574b8
* tweaks to HTPlain.c, LYCharUtils.c and SGML.c, remove extra checks for
Packit f574b8
  Unicode mdash, ndash, trade, as well as "iso-8859-2", "koi8-r", since they
Packit f574b8
  are done in the chartrans tables - LP
Packit f574b8
* add an alias 'H' for F1 when using RAWDOSKEYHACK (LYStrings.c) - DK
Packit f574b8
* restore -DRAWDOSKEYHACK to src/makefile.dos, reported by DK - TD
Packit f574b8
* correct a typo in CF_CURSES_LIBS configure macro, which caused the configure
Packit f574b8
  script to not add termcap library to the list - TD
Packit f574b8
* correct --disable-internal-links, by adding DONT_TRACK_INTERNAL_LINKS to
Packit f574b8
  config.hin - TD
Packit f574b8
1998-02-13
Packit f574b8
* use size_t in SGML_dtd. - TD
Packit f574b8
* remove extra trademark symbol and quotes from chrtrans/*.tbl, since
Packit f574b8
  they are in the default def7_uni.tbl - LP
Packit f574b8
* New item to lynx.cfg added:  PREPEND_CHARSET_TO_SOURCE (similar to BASE), we
Packit f574b8
  need it to resolve charset for downloaded/printed HTML sources which became
Packit f574b8
  local.  This is really useful because downloaded and printed texts may
Packit f574b8
  happened to have different charsets so assume_local_charset fails.  For
Packit f574b8
  downloaded source meta charset added from HTTP charset header (if and only if
Packit f574b8
  present).  For printed source meta charset added from display_charset (real
Packit f574b8
  charset after chrtrans).  If the original source has its own meta charset
Packit f574b8
  and we add the second on top - Lynx currently use those on top and ignore
Packit f574b8
  others (old) value (that is correct, although non standard like BASE on top).
Packit f574b8
  The compilation default is FALSE (compatibility).  - LP
Packit f574b8
* modify ncurses mouse behavior to match slang (use button 3 rather than
Packit f574b8
  button 2 for "previous document" (reported by Michael Ritzert) - TD
Packit f574b8
* use case-independent comparison for tail-only comparison in override_proxy
Packit f574b8
  (patch by pg@sweng.stortek.com) - TD
Packit f574b8
* remove unneeded definitions of ALT_CHAR_SET, NCURSES_VERSION in
Packit f574b8
  src/makefile.dos - DK
Packit f574b8
* correct syntax for the RAW_DOS_KEY_HACK in lynx.cfg, add a little information
Packit f574b8
  on how to compile this.  Also patched makefile.dos to make compilation of the
Packit f574b8
  raw dos key hack the default when compiling in DOS. - DK
Packit f574b8
* change back to boolean since the logic was unused: UCCanTranslateFromTo(),
Packit f574b8
  UCCanTranslateUniTo(), and UCCanUniTranslateFrom(). - TD
Packit f574b8
* Mods of SGML.c and LYCharUtils.c to improve handling of entities,
Packit f574b8
  obsolete stuff removed (not all yet). - LP
Packit f574b8
* -localhost mode: disable interpreting BASE HREF= if local_host_only
Packit f574b8
  to resolve local html files with BASE (Lynx add base to downloaded
Packit f574b8
  sources and this may affect links if looking them with -localhost).
Packit f574b8
  (tweak in html.c). - LP
Packit f574b8
* Modify HTMLGetEntityUCValue in LYCharSets.c:
Packit f574b8
  we begin to move from old style entities[] to unicode-based. - LP
Packit f574b8
* added a few comments. - LP
Packit f574b8
1998-02-07
Packit f574b8
* Fixed a bug in HTTP.c which could cause trashing of authorization info
Packit f574b8
  for an origin HTTP(s) server if the request is being proxied. - FM
Packit f574b8
* Tweak in HTTP.c so that the reloading variable is not reset until
Packit f574b8
  after any resubmissions due to authorization challenges. - FM
Packit f574b8
* Tweaks of userdefs.h, lynx.cfg, LYMessages_en.h, LYMain.c, LYMainLoop.c,
Packit f574b8
  LYClean.c, LYReadCFG.c, and LYGlobalDefs.h so that the QUIT_DEFAULT_YES
Packit f574b8
  compilation symbol can be overridden in lynx.cfg, in keeping with
Packit f574b8
  the principle that only strict security-related compilation symbols
Packit f574b8
  cannot be overridden at run time. - FM
Packit f574b8
1998-02-05
Packit f574b8
* adjust formatting, comments & some messages in WWW files to simplify
Packit f574b8
  comparison with 2.7.2 version.  (I have preserved some chunks of difference,
Packit f574b8
  ifdef'd NOTUSED_FOTEMODS or NOTDEFINED for ease of comparison -- these may be
Packit f574b8
  removed at a later time, when we are done absorbing changes from 2.7.2) - TD
Packit f574b8
* Update SGML entity to Unicode table in HTMLDTD.c from ftp.unicode.org -
Packit f574b8
  lots of new entities, iso-latin-1 now included there.
Packit f574b8
  See also new files in test/ directory:  sgml.html and unicode.html.
Packit f574b8
  Tweak a few typos in test/*.html according to sgml.html.
Packit f574b8
  Add a few new entries in def7_uni.tbl according to sgml.html - LP
Packit f574b8
* Cleanup iso01-iso09, cp866 tables against ones found at ftp.unicode.org -LP
Packit f574b8
* Strip the fat from LYCharSets.c - unnecessary obsoleted tables removed
Packit f574b8
  and redirected to SevenBitApproximation table (ones which have unicode tables
Packit f574b8
  override it anyway, those for CJK had exactly the same tables as
Packit f574b8
  SevenBit..). - LP
Packit f574b8
* Remove obsolete "Other ISO Latin" charset, which works _exactly_ the same
Packit f574b8
  as "7 bit approximation" (See the note on 06-14-96 where it comes from) -LP
Packit f574b8
* Sort the list of charsets in Options according to 2.7.2 for 1997-10-15,
Packit f574b8
  see the comments in UCinit at the bottom of UCDomap.c - LP
Packit f574b8
* add ifdef to HTFile.c to workaround conflicting S_IFIFO vs S_IFSOCK
Packit f574b8
  (e.g., on Apollo, from a report by Dave Eaton <dwe@arde.com>) - TD
Packit f574b8
* updated INSTALLATION (patch by HN) - TD
Packit f574b8
* modify DOS handling of CTL-C and CTL-BREAK handling for DOS to allow
Packit f574b8
  exiting via SIGINT when pressing CTL-C or CTL-BREAK regardless of the
Packit f574b8
  BREAK setting in DOS.  This leaves the BREAK setting unchanged unless
Packit f574b8
  CTL-C or CTL-BREAK is actually pressed (in which case it leaves BREAK
Packit f574b8
  ON) - DK
Packit f574b8
* add note about Lynx vs frames to User's Guide (from Al Gilman) - TD
Packit f574b8
1998-01-27
Packit f574b8
* correct lynx.man to reference section "1" (one), not "l", since it is
Packit f574b8
  not installed in the latter (reported by Jason Castonguay
Packit f574b8
  <jcast@ntplx.net>) - TD
Packit f574b8
* fix for VMS declarations of mainloop() and from_hex() (reported by FM) - TD
Packit f574b8
* add to include-paths in libmake.com, build.com (reported by FM, citing
Packit f574b8
  Brian Tillman) - TD
Packit f574b8
* revert HTML.c to use LYHandleSELECT() - TD
Packit f574b8
* align cases for function keys in LYStrings.c with 2.7.2 - TD
Packit f574b8
* remove EXP_CHARTRANS ifdef's - TD
Packit f574b8
* remove symbol USE_SIZECHANGEHACK -TD
Packit f574b8
* adjust formatting, comments & some messages in most remaining ./src files to
Packit f574b8
  simplify comparison with 2.7.2 version.  - TD
Packit f574b8
1998-01-25
Packit f574b8
* Changed the utf-8 Display Character Set string to "UNICODE UTF-8"
Packit f574b8
  (i.e., added the hyphen between UTF and 8), and fixed typos in
Packit f574b8
  the comments about iso-8859-5. -LP, FM
Packit f574b8
* Modified HTML.c to add collapsible spaces before and after IMG ALT
Packit f574b8
  strings or pseudo-ALTs whether or not the IMG element is within
Packit f574b8
  Anchor content.  The occasional absence of such spaces due to poor
Packit f574b8
  HTML was problematic for blind users.  Note that markup which uses
Packit f574b8
  an image for a fancy letter with the ASCII letter as an ALT will
Packit f574b8
  have that letter separated from the rest of the word.  Also note
Packit f574b8
  that these spaces will not be collapsed in PRE blocks, but IMG is
Packit f574b8
  invalid in PRE blocks.  The spaces could be omitted when IMG is
Packit f574b8
  used invalidly in PRE blocks, but that would revive the problem
Packit f574b8
  for blind users that they might not be present at all, so it seems
Packit f574b8
  better to suffer extra spaces in such cases. - FM
Packit f574b8
1998-01-24
Packit f574b8
* Tweak in HTAccess.c to reset the title element in anchors on forced
Packit f574b8
  reloads. - FM
Packit f574b8
1998-01-22
Packit f574b8
* Tweaks in HTML.c to prevent collapsing of blank lines within TEXTAREA
Packit f574b8
  default values.  Note that we still strip any leading or trailing
Packit f574b8
  blank lines (reported by Edward S. Marshall <emarshal@xnet.com>). - FM
Packit f574b8
* Tweaks of LYCurses.c, LYMain.c, LYOptions.c, LYReadCFG.c, LYUtils.c
Packit f574b8
  and LYAuto.c to ensure properly setting, with internal buffering, and
Packit f574b8
  avoid memory leaks for the display and homedir values (reported by
Packit f574b8
  pg@sweng.stortek.com). - FM
Packit f574b8
* include userdefs.h in LYCurses.h to address redefinition warnings for
Packit f574b8
  curses-related configuration. - TD
Packit f574b8
* adjust formatting, comments & some messages in recently-modified files to
Packit f574b8
  simplify comparison with 2.7.2 version.  - TD
Packit f574b8
* remove obsolete logic from UCCanTranslateFromTo, (recommended by LP). - TD
Packit f574b8
* make character set names (e.g., cp437, cp850, next) consistent in lynx.cfg,
Packit f574b8
  userdefs.h (reported by LP).  - TD
Packit f574b8
* change configure script to check for termcap library before curses, in case
Packit f574b8
  it is dependent.  - TD
Packit f574b8
* More corrections in the Russian Cyrillic area of def7_uni.tbl. - LP
Packit f574b8
1998-01-17
Packit f574b8
* correct logic for no_color_video by ensuring that if not defined, it
Packit f574b8
  doesn't disable underline with color. - TD
Packit f574b8
* remove NSL_CLONE - didn't build. - TD
Packit f574b8
1998-01-16
Packit f574b8
* eliminate gcc "shadowed variable", "nested declaration", "no previous
Packit f574b8
  prototype" warnings. - TD
Packit f574b8
* add --disable-internal-links configure option. - TD
Packit f574b8
* remove W3C gateway (patch by DK, based on email from Gerald Oskoboiny
Packit f574b8
  <gerald@w3.org>). - TD
Packit f574b8
* documentation updates (patch by JS). - TD
Packit f574b8
* add CONTENT_TYPE to environment of lynxcgi POST documents (reported by
Packit f574b8
  Ty Sarna <tsarna@endicor.com> & FM). - TD
Packit f574b8
* add NSL_CLONE ifdef that enables use of the Linux clone() call instead of
Packit f574b8
  fork() for the gethostbyname() calls in HTTCP.c.  (patch by Ryan Nielsen
Packit f574b8
  <ran@haxor.com>). - TD
Packit f574b8
from the lynx code.  I think the following patch does this.
Packit f574b8
1998-01-15
Packit f574b8
* Tweak of the NSL_FORK code in HTTCP.c to prevent zombie processes from
Packit f574b8
  being created when gethostbyname() is interrupted. - RN
Packit f574b8
* Corrected the Russian Cyrillic area of the def7_uni.tbl Unicode to
Packit f574b8
  7-bit approximations conversion table. - LP
Packit f574b8
* Mods of UCAux.c, LYCharUtils.c, SGML.c and HTPlain.c to use 7-bit
Packit f574b8
  approximations instead of 8th bit stripping when the document charset
Packit f574b8
  is koi8-r and the Display Character Set does not have the corresponding
Packit f574b8
  characters. - FM
Packit f574b8
* Tweaks in HTML.c to ignore a newline character immediately following
Packit f574b8
  a PRE start tag more consistently.  When PRE blocks are used to create
Packit f574b8
  blank lines, you should get only as many as are actually included in
Packit f574b8
  the PRE block, unless you include less than the number specified for
Packit f574b8
  "before" the block to which you return, in which case you'll get the
Packit f574b8
  latter number of blank lines. - FM
Packit f574b8
1998-01-13
Packit f574b8
* Fixed a typo in the HTParse() code of HTParse.c for checking whether
Packit f574b8
  a colon in the host field indeed delimits a port number. - FM
Packit f574b8
* Changed the internal MIME names for all Microsoft Windows codepages
Packit f574b8
  from cp#### to windows-####, since the latter is used more commonly
Packit f574b8
  as the charset value in META elements and/or Content-Type headers,
Packit f574b8
  and most of them have been registered that way with IANA.  Note,
Packit f574b8
  however, that Microsoft uses cp instead of windows- prefixes in the
Packit f574b8
  charset names for the Unicode conversion tables submitted to the
Packit f574b8
  Unicode Consortium.  Also note that we still treat cp, cp-, and ibm
Packit f574b8
  prefixes as synonyms for the windows- prefix. - FM
Packit f574b8
1998-01-06
Packit f574b8
* work around for 'keypad()' function w/o corresponding key defines
Packit f574b8
  (reported by Francisco A. Tomei Torres for NeXTstep 4.0). - TD
Packit f574b8
* quote message in install rule, just in case (from HN). - TD
Packit f574b8
* correct expression to supply default value of .cfg file's pathname
Packit f574b8
  (reported by LE & Ambrose Li <acli@acli.interlog.com>). - TD
Packit f574b8
* correct dependency of .cfg files upon $(libdir) in makefile.in - TD
Packit f574b8
1998-01-04
Packit f574b8
* correct temporary filename for -traversal -crawl (patch by Doug Kaufman). - TD
Packit f574b8
* correct redefinition of SYSTEM_MAIL_FLAGS. (reported by Doug Kaufman). - TD
Packit f574b8
* uncache current document when character set may have changed (patch
Packit f574b8
  by Andrey A. Chernov) - TD
Packit f574b8
* modify Linux setfont code to restore the original font on exit - TD
Packit f574b8
* correct missing backslash (again) in makefile.in
Packit f574b8
  (reported by Mark Mentovai - again) - TD
Packit f574b8
1998-01-02
Packit f574b8
* workaround for sed expression when rerunning configure with config.cache
Packit f574b8
  for slang libraries (reported by Hynek Med). - TD
Packit f574b8
* fix indicated by Laura Eaves (LE) for LYUCFullyTranslateString_1() - TD
Packit f574b8
* modify SPAWNING_MSG for DOSPATH configuration, avoid unnecessary use
Packit f574b8
  of clear-screen in shell (patch by Doug Kaufman). - TD
Packit f574b8
* remove install-help from list for install rule, adding message to
Packit f574b8
  indicate how to install it. - TD
Packit f574b8
* install lynx.lss only if color-style is configured. - TD
Packit f574b8
* correct filemode for DJGPP when processing config-file, patch by
Packit f574b8
  Doug Kaufman). - TD
Packit f574b8
* add LYNX_LSS_FILE to config.hin, reported by Ambrose Li
Packit f574b8
  <acli@acli.interlog.com>. - TD
Packit f574b8
* new copy of INSTALLATION file from HN. - TD
Packit f574b8
* add COPY* to install rule. - TD
Packit f574b8
* simplify includes in UCdomap.c by using include-path in makefiles. - TD
Packit f574b8
* build configure script with patched autoconf to workaround limited
Packit f574b8
  environment space on CLIX 3.1 - TD
Packit f574b8
* rename mnemonic_suni.tbl to mnem2_suni.tbl to accommodate 'make' on
Packit f574b8
  older system with 14-character name-limit. - TD
Packit f574b8
* sorted some lists (e.g., character sets) which were unreadable. - TD
Packit f574b8
* incorporate most of FM's changes from 971124 to 971230 (see below). - TD
Packit f574b8
  (Note:  don't try to use fflush(stdin) -- it's an FAQ -- nonstandard,
Packit f574b8
  dumps core on some platforms).
Packit f574b8
1997-12-30
Packit f574b8
* Added Unicode translation support for "DosBaltRim (cp775)" and
Packit f574b8
  "WinBaltRim (cp1257)". - FM
Packit f574b8
1997-12-29
Packit f574b8
* Fixed bug in the order of re-initializations for the 1997-12-22
Packit f574b8
  get_connection() mods. - FM
Packit f574b8
* Fixed typos in some LYCharUtils.c comment. - FM
Packit f574b8
* Fixed typo in LYrcFile.c comments concerning the NO_FROM_HEADER
Packit f574b8
  symbol. - DK
Packit f574b8
1997-12-24
Packit f574b8
* resolve conflict between autoconf $INSTALL and lynx's INSTALL_PATH
Packit f574b8
  (reported by Scott McGee). - TD
Packit f574b8
* modify CF_CHECK_FUNCDECL to work with non-gcc compilers. - TD
Packit f574b8
* add <stdio.h> to prototype test for getgrgid getgrnam, needed on SVr3. - TD
Packit f574b8
* add install-lss to makefile.in. - TD
Packit f574b8
* modify order of includes in LYKeymap.c so that USE_EXTERNALS is defined
Packit f574b8
  if it comes from userdefs.h (inferred from a report by Larry Virden). - TD
Packit f574b8
* correct spelling of USE_EXTERNALS which prevented --enable-externs from
Packit f574b8
  working. - TD
Packit f574b8
* move assignment to stderr from VMSexit to cleanup function (reported
Packit f574b8
  by Brian Tillman & FM). - TD
Packit f574b8
* modify UCChangeTerminalCodepage() to not use stderr, disentangling it
Packit f574b8
  from stderr/logfile hack. - TD
Packit f574b8
* rename docs/CHANGES2-* files to docs/CHANGES2.* (reported by
Packit f574b8
  Doug Kaufman). - TD
Packit f574b8
* add start_color() call to DOSPATH version of start_curses() to
Packit f574b8
  fix problem reported by Doug Kaufman - TD
Packit f574b8
* correct typo in ColorCode() function (reported by Doug Kaufman) - TD
Packit f574b8
* modify comments in makefile.in (patch by HN) - TD
Packit f574b8
* minor fixes for CF_CHECK_ERRNO, CF_SIZECHANGE, CF_SLANG_CPPFLAGS
Packit f574b8
  macros. - TD
Packit f574b8
* add configure option --enable-nsl-fork to turn on code defined by
Packit f574b8
  NSL_FORK. - TD
Packit f574b8
* add configure option --enable-links to turn on code defined by
Packit f574b8
  UNDERLINE_LINKS. - TD
Packit f574b8
* add configure option --enable-font-switch, to turn on code defined by
Packit f574b8
  EXP_CHARTRANS_AUTOSWITCH. - TD
Packit f574b8
* modify configure CF_CURSES_LIBS test to look also for ncurses,
Packit f574b8
  since some systems do not have a "curses" library (reported by
Packit f574b8
  Michael Ritzert). - TD
Packit f574b8
1997-12-22
Packit f574b8
* Reworked -width=NUMBER command line switch for specifying the screen
Packit f574b8
  width for formatting of dumps (default is 80; forced wraps occur at one
Packit f574b8
  column less than the screen width, i.e., at 79 by default). - FM
Packit f574b8
* Tweak of get_connection() in HTFTP.c to re-initialize the elements of
Packit f574b8
  the connection structure when using a previously allocated connection
Packit f574b8
  object. -DW, FM
Packit f574b8
* Mods of LYexit.c, LYClean.c, LYMain.c and LYMainLoop.c to fflush() all
Packit f574b8
  standard file descriptors in conjunction with all fopen() and fclose()
Packit f574b8
  operations on the TRACE log and redirections of stderr via equality
Packit f574b8
  statements (see 1997-12-16, 1997-12-13 and 1997-07-18 mods). - FM
Packit f574b8
1997-12-18
Packit f574b8
* forgotten last } UN-inserted (John Line) - WB
Packit f574b8
* few commented messages corrected according to RFC2068 (HTTP1.1)
Packit f574b8
  (Leonid Pauzner) - WB
Packit f574b8
1997-12-17
Packit f574b8
* Changed all %i tokens to %d or %ld in functions that always get decimal
Packit f574b8
  values in their arguments. - FM
Packit f574b8
1997-12-17 (all patches by Leonid Pauzner)
Packit f574b8
* open text mode while writing lynx.rc and bookmarks files
Packit f574b8
  LYrcFile.c and LYBookmark.c (forgotten last } inserted). - WB
Packit f574b8
* add a comment about binary mode in LYMain.c and pile them
Packit f574b8
  in one ifdef - WB
Packit f574b8
* few misprinted characters (in comments) corrected in
Packit f574b8
  \chrtrans\cp850_uni.tbl - WB
Packit f574b8
1997-12-16
Packit f574b8
* Further mods in LYClean.c (see 1997-12-13 mods) do block the
Packit f574b8
  *stderr = LYOrigStderr;  statement in cleanup() for VMS with VAXC. - FM
Packit f574b8
* Added an ELGOTO keystroke command, mapped by default to upper case 'E'
Packit f574b8
  (lower case 'e' still invokes the editor for the current document, if
Packit f574b8
  it is a local file), for passing the URL (or ACTION) of the current
Packit f574b8
  link to the line editor for editing as a goto URL.  Works like the
Packit f574b8
  ECGOTO ('G') keystroke command for editing the URL of the current
Packit f574b8
  document as a goto URL, i.e., if the URL is not modified, is set to
Packit f574b8
  a zero-length string, or ^G is entered, the command is cancelled. - FM
Packit f574b8
* Mods of LYMainLoop.c to disallow ECGOTO or ELGOTO commands for File
Packit f574b8
  Management (DIRED_SUPPORT) menu URLs. - FM
Packit f574b8
1997-12-15
Packit f574b8
* Added reporting of the Discard value (YES or NO), in the Cookie Jar Page
Packit f574b8
  (note that until we have code for storing cookies beyond the current
Packit f574b8
  session, Lynx behaves as if Discard were set, whether or not it was set
Packit f574b8
  by the server, but we still report the server's instructions, as we do
Packit f574b8
  for the Maximum Gobble Date). - FM
Packit f574b8
1997-12-14
Packit f574b8
* added a lynx.cfg switch to turn on/off extended dos translations for keys.
Packit f574b8
  -WB
Packit f574b8
* added minor DOS tweaks by Doug Kaufman and myself. - WB
Packit f574b8
* fixed windows binary mode piping. - WB
Packit f574b8
1997-12-13
Packit f574b8
* Tweaks in LYList.c to make the link numbers correspond with those in
Packit f574b8
  the current document when LINKS_AND_FORM_FIELDS_ARE_NUMBERED in on,
Packit f574b8
  and to show the current document's URL in the display. - FM
Packit f574b8
* Mods in HTTP.c to show the body of a 305 return status instead of ever
Packit f574b8
  acting on it.  A number of security/privacy problems with this status
Packit f574b8
  are being discussed in the HTTP-WG, and it's likely to be dropped or
Packit f574b8
  deprecated in the next revision of the HTTP/1.1 specs. - FM
Packit f574b8
* Restored the v2.7.1 HTmmdecode() that's specific for iso-2022-jp in
Packit f574b8
  HTMIME.c.  We still only call it when HTCJK == JAPANESE, and the
Packit f574b8
  generalized version reportedly has problems. - FM
Packit f574b8
* Removed the *stderr = LYOrigStderr; statement from VMSexit() in LYCurses.c
Packit f574b8
  and added it to the if() claused section which closes the TRACE log file,
Packit f574b8
  if opened, in cleanup() of LYClean.c.  This is just a stab in the dark
Packit f574b8
  for dealing with reported problems on exit with VAXC on VAXen.  We may
Packit f574b8
  need to use freopen() for redirecting TRACE messages to a file for VAXC
Packit f574b8
  or VAXen (there's no apparent problem with the current code with DECC
Packit f574b8
  on VMS/AXP). - FM
Packit f574b8
* Added more function key cases to the keypad() mode switch() in LYgetch()
Packit f574b8
  of LYStrings.c.  We don't need them with this code set, but they may as
Packit f574b8
  well be there for completeness. - FM
Packit f574b8
* check for and use ncurses default-color extension, use to make the
Packit f574b8
  color-style configuration usable on xterm with white background. - TD
Packit f574b8
* add cases in LYgetch() for remaining VT220-compatible codes, reported
Packit f574b8
  by Michael Ritzert and FM.  - TD
Packit f574b8
* add configure test to see if slang can be linked without curses or
Packit f574b8
  termcap libraries, request by John Davis. - TD
Packit f574b8
* set umask in mkdirs.sh script to work around users who have set root's
Packit f574b8
  umask to 077. - TD
Packit f574b8
* split up install rule to install-bin, install-cfg, install-man and
Packit f574b8
  install-help. - TD
Packit f574b8
* suppress suffixes in top-level makefile so 'make' won't try to create
Packit f574b8
  a file named "install" from install.sh - TD
Packit f574b8
* make $(CPPFLAGS) inherit consistently from top-level makefile. - TD
Packit f574b8
  (reported by Mark Mentovai)
Packit f574b8
* add configure option --enable-externs, to turn on USE_EXTERNS. - TD
Packit f574b8
* use explicit comparison for enum values, fix compile problem with VAX C
Packit f574b8
  for UCAux functions (reported by Brian Tillman). - TD
Packit f574b8
1997-12-03
Packit f574b8
* Remove CHANGES.configure, since it is redundant. - TD
Packit f574b8
* Make -g3 option check for OSF/1 3.2 consistent with -Olimit check. - TD
Packit f574b8
* Use 'result' rather than 'time' in mktime.c to avoid shadowing. - TD
Packit f574b8
* Use wborder only if configure finds it, not ifdef FANCY_CURSES. - PHDM
Packit f574b8
* List of systems having strerror replaced by configure test. - PHDM
Packit f574b8
* Beautifying of mktime.c (`now' was misleading). - PHDM
Packit f574b8
1997-12-02
Packit f574b8
* Mods in LYCookie.c to prompt whether to accept (or reject) cookies with
Packit f574b8
  an invalid domain value which yields a hostname prefix with a dot (as
Packit f574b8
  specified in section 4.3.2 of the IETF cookie drafts and RFC), rather
Packit f574b8
  than rejecting it silently.  Note that it is rejected in non-interactive
Packit f574b8
  (-dump or -source) mode, because the user can't be prompted. - FM
Packit f574b8
1997-11-27
Packit f574b8
* Added a PREPEND_BASE_TO_SOURCE configuration symbol in lynx.cfg which
Packit f574b8
  can be set FALSE to suppress prepending of a Request URL comment and
Packit f574b8
  BASE element to text/html sources retrieved for 'd'ownloading or passed
Packit f574b8
  to 'p'rint functions.  Note that this prepending is not done for -source
Packit f574b8
  dumps unless the -base switch also was included on the command line, and
Packit f574b8
  the latter switch overrides the setting of the PREPEND_BASE_TO_SOURCE
Packit f574b8
  configuration variable. - FM
Packit f574b8
1997-11-25
Packit f574b8
* Mods in LYMail.c and LYPrint.c to handle to=address(es), cc=address(es),
Packit f574b8
  subject=string, keywords=word_list, and body=message fields in the
Packit f574b8
  ?searchpart of mailto URLs as specified in the 1997-11-16 draft:
Packit f574b8
    ftp://ftp.isi.edu/internet-drafts/draft-hoffman-mailto-url-03.txt
Packit f574b8
  The cc=address(es) values are now handled as a Cc: header, and a self
Packit f574b8
  copy, if confirmed on prompt, is added to the Cc: header.  Note that
Packit f574b8
  the draft now allows mailto:?to=address(es)[&foo=blah] as a format,
Packit f574b8
  i.e., without an address before the ?searchpart.  The Netscape
Packit f574b8
  ?searchpart tack-on broke all pre-existing implementations of mailto,
Packit f574b8
  and this breaks Lynx's support through v2.7.1.  Though it's now
Packit f574b8
  supported in this code set, don't use it.  Complaints and formal
Packit f574b8
  requests to provide this functionality via a new scheme (e.g.,
Packit f574b8
  mail: or smtp:) without breaking existing implementation of mailto:,
Packit f574b8
  including from TimBL (HimSelf :), thus far have fallen on deaf ears.
Packit f574b8
  You can send email to those deaf ears via:
Packit f574b8
  	mailto:masinter@parc.xerox.com%20(Larry%20Masinter)
Packit f574b8
  Don't allow the IETF backward compatibility principle to go down
Packit f574b8
  the drain. - FM
Packit f574b8
* Mods to support use of the PMDF SEND command on VMS in conjunction with
Packit f574b8
  a temporary header file, so that all headers specified in the ?searchpart
Packit f574b8
  of mailto URLs can be included in the mailing, and made that the compilation
Packit f574b8
  default in userdefs.h to go with the default MAIL_ADRS mask for PMDF (If
Packit f574b8
  the "generic" VMS MAIL utility is used, not all of the headers can be
Packit f574b8
  specified on the command line, as it requires).  Look at the code in
Packit f574b8
  LYMail.c and LYPrint.c that is used when isPMDF is TRUE as a model of how
Packit f574b8
  to do this with other header-file-capable VMS mailers (but I don't have
Packit f574b8
  any besides PMDF, and can't do it for you :). - FM
Packit f574b8
* Tweak of the 1997-11-17 URL parsing mods so that relative symbolic
Packit f574b8
  elements immediately preceding a ?searchpart are handled identically
Packit f574b8
  to when a ?searchpart is not present. - FM
Packit f574b8
* Added support for setting both SYSTEM_MAIL and SYSTEM_MAIL_FLAGS in
Packit f574b8
  both userdefs.h and lynx.cfg. - FM
Packit f574b8
1997-11-23
Packit f574b8
* integrate PHDM's patch. - TD
Packit f574b8
* Check for existence of sys/wait.h. - PHDM
Packit f574b8
* Do not include sys/stat.h twice. - PHDM
Packit f574b8
* New autoconf-macros to check if a function is declared after including a
Packit f574b8
  specific set of files. - PHDM
Packit f574b8
* Declare strstr if it is not declared by string.h. - PHDM
Packit f574b8
* Declare getgrgid and getgrnam if not declared by grp.h. - PHDM
Packit f574b8
* Provide strstr and mktime implementations, and use them if needed. - PHDM
Packit f574b8
* Always include sys/types.h in HTUtils.h. - PHDM
Packit f574b8
* define NO_GROUPS if we do not have getgroups. - PHDM
Packit f574b8
* define NEED_REMOVE also if test yields unknown. - PHDM
Packit f574b8
* define mode_t if not done by system include files. - PHDM (phdm@macqel.be)
Packit f574b8
* change CF_UNION_WAIT to use compile+link rather than compile, to ensure
Packit f574b8
  that we pick up the wait-macros rather than an implied function, which
Packit f574b8
  should fix configure problems on NeXT for Francisco A. Tomei Torres
Packit f574b8
  <fatomei2@mail.unm.edu>. - TD
Packit f574b8
* spelling nit from Larry Virden. - TD
Packit f574b8
* add osf3.0 to special case compiler options using -g3 in place of
Packit f574b8
  -O -g, from Harsh Kumar <harsh@krcl.ernet.in>. - TD
Packit f574b8
* remove redundant "-c" option from $(installbin) in makefile.in, reported
Packit f574b8
  by Michael Warner <warner@wsu.edu>, for OSF/1 4.0. - TD
Packit f574b8
* if configure --srcdir is not used, comment-out rmdir's in "make distclean"
Packit f574b8
  rule. - TD
Packit f574b8
* modify recent erase/clear change so that it applies only to FANCY_CURSES,
Packit f574b8
  since BSD curses does not otherwise clear the screen when restoring after
Packit f574b8
  popup. - TD
Packit f574b8
* modify change for boxes so this builds with BSD curses, which has no
Packit f574b8
  wborder() function. - TD
Packit f574b8
* reverse ifdef for NO_SIZECHANGEHACK to USE_SIZECHANGEHACK, which is
Packit f574b8
  normally off, since this code did not work with BSD 4.4 curses, SVr4
Packit f574b8
  curses, or ncurses 4.1 with xterm. (Will make a configure test if anyone
Packit f574b8
  can identify a configuration that works). - TD
Packit f574b8
1997-11-21
Packit f574b8
* Changed LYE_LINKN to LYE_LKCMD (still mapped by default to Ctrl-V; may
Packit f574b8
  need to be entered twice for some systems) for invoking a prompt to
Packit f574b8
  enter any Lynx keystroke command when in form text fields. - FM
Packit f574b8
1997-11-20
Packit f574b8
* Added an LYK_CLEAR_AUTH command, mapped to underscore ('_') by default,
Packit f574b8
  which clears all authorization info for the current session.  This is
Packit f574b8
  recommended for the situation when one leaves one's terminal but doesn't
Packit f574b8
  want to end the browser session, nor want others to be able to retrieve
Packit f574b8
  protected documents with previously entered username and password info.
Packit f574b8
  Note that we don't yet have a way to block access to any protected
Packit f574b8
  documents which are still in cache. - FM
Packit f574b8
1997-11-19
Packit f574b8
* Tweak of HTTP.c to ensure closing of the connection when interrupted
Packit f574b8
  ('z'apped) on the first socket read. - FM
Packit f574b8
1997-11-18
Packit f574b8
* Mods to use the explicit label "Bad HTML:" in trace messages corresponding
Packit f574b8
  to BAD_HTML_USE_TRACE messages. - FM, KW
Packit f574b8
* Tweak of the restored TABLE-in-PRE block handling to deal with the
Packit f574b8
  case when it's encased in a CENTER or DIV with ALIGN="center". - FM
Packit f574b8
* Changed docs/README.defines to refer to INSTALLATION file - HN
Packit f574b8
1997-11-17
Packit f574b8
* Changed the default ASCII BOXVERT and BOXHORI definitions from '*' to
Packit f574b8
  to '|' and '-', and new function LYbox() for non-VMS (n)curses. - FM
Packit f574b8
* Use explicitly specified characters for drawing the corners of popup
Packit f574b8
  boxes with non-VMS (n)curses if we have also specified characters for
Packit f574b8
  vertical and horizontal lines. - KW
Packit f574b8
* Mods in HTTP.c to trim any "LYNXIMGMAP:" leader from Referer header
Packit f574b8
  values and strip the #fragment when making http(s) requests via links
Packit f574b8
  in the pseudo-documents constructed for MAP elements. - FM, KW
Packit f574b8
* Mods of SGML parsing to better handle SELECT blocks with invalid markup,
Packit f574b8
  in effect for both TagSoup and SortaSGML parsing (for the latter just
Packit f574b8
  in case it doesn't already prevent invalid markup from being passed on).
Packit f574b8
  Only OPTION elements are accepted in SELECT blocks.
Packit f574b8
  Otherwise, if the element is a form-related start tag, the
Packit f574b8
  SELECT block is closed and the new form-related element is started.
Packit f574b8
  All other elements are ignored.  A FORM end or start tag ends any open
Packit f574b8
  SELECT block and the current FORM (before starting another FORM if
Packit f574b8
  it is a start tag).  Note that we now support SELECT blocks outside
Packit f574b8
  of FORM blocks, which some providers are using for "informational"
Packit f574b8
  popups, but no Lynx user would do anything that awful, right? - FM
Packit f574b8
* Tweak in LYMainLoop.c to override an LYresubmit_posts flag if we are
Packit f574b8
  reloading a popped document due to a NOT_FOUND or NULLFILE return
Packit f574b8
  value from getfile(). - FM
Packit f574b8
  (But if the document that would be loaded after such a failure has POST
Packit f574b8
  data and is not in memory, still jump to the PREV_DOC code, see enttry
Packit f574b8
  for 1997-11-03. - KW)
Packit f574b8
* Worked in a variant of AJL's suggestion of setting LINES and COLUMNS
Packit f574b8
  artificially high before the initscr() call with Unix curses, then
Packit f574b8
  using a dummy call to size_change() for setting LYlines and LYcols
Packit f574b8
  to the actual screen dimensions, so that increases in the screen size
Packit f574b8
  during the Lynx session, and not just decreases, can be handled.
Packit f574b8
  Note that one still needs to do a RELOAD (^R) overtly to create a
Packit f574b8
  new HText structure based on the current screen size. - FM
Packit f574b8
  (The new code can be disabled by defining NO_SIZECHANGEHACK, in case
Packit f574b8
  some curses version or terminal cannot deal with it. - KW)
Packit f574b8
* Tweaks of the chartrans code. - FM, KW
Packit f574b8
* Change in HTNews.c to ignore very long bogus newsgroup names when listing
Packit f574b8
  available groups. - KW
Packit f574b8
* Tweaks in code for highlighting search text in anchors, to better deal with
Packit f574b8
  terminals in UTF-8 mode. - KW
Packit f574b8
* Mods to ignore anything past a '?' character when simplifying URL paths,
Packit f574b8
  as is now more clearly specified in the Fielding URL draft.  Note that
Packit f574b8
  we still assume a ';' is not in fact a parameter delimiter, or won't
Packit f574b8
  have a value with characters that could be misinterpreted as relative
Packit f574b8
  path specs. - FM
Packit f574b8
* Increased the redirection limit to the original Lynx's value of 10,
Packit f574b8
  because the HTTP/1.1 draft no longer will restrict it to 5, but instead
Packit f574b8
  will leave it to the discretion of the browser (and I like 10, as a
Packit f574b8
  reminder of the "good old days" :). - FM
Packit f574b8
1997-11-15
Packit f574b8
* Mods of parsing in HTML.c to restore support for the TABLE-in-PRE-block
Packit f574b8
  HTML kludge described in http://ppewww.ph.gla.ac.uk/~flavell/tablejob.html,
Packit f574b8
  which stopped working in conjunction with the 1997-05-21 mods (see below)
Packit f574b8
  for treating TABLEs as DIVisions to support ALIGNment attributes in TABLE
Packit f574b8
  markup.  The PRE-in-TABLE-block HTML kludge was not affected by those mods
Packit f574b8
  but works only with the TagSoup parsing mode. - FM, KW
Packit f574b8
1997-11-12
Packit f574b8
* Made handling of the 'x' in hexadecimal character references (&#x;;)
Packit f574b8
  case insensitive, as for the "alphabetic digits" (a-f, A-F). - FM
Packit f574b8
* Added a LINKN command key in the line editor, mapped to Ctrl-V, for
Packit f574b8
  invoking the F_LINK_NUM prompt when in form text fields.  Ctrl-V is
Packit f574b8
  still a dead key under other circumstances in the line editor. - FM
Packit f574b8
* remove options --with-lss-file and --with-cfg-file, since the corresponding
Packit f574b8
  files will always be installed under $(libdir), reported by Henry Eric
Packit f574b8
  Nelson (HN).  - TD
Packit f574b8
* modify configure script and makefile templates to permit builds with the
Packit f574b8
  --srcdir option, noted by Philippe De Muyter. - TD
Packit f574b8
1997-11-08
Packit f574b8
* Added Unicode support for "DosArabic (cp864)", "WinArabic (cp1256)",
Packit f574b8
  "DosGreek (cp737)", "DosGreek2 (cp869)", "WinGreek (cp1253)",
Packit f574b8
  "DosHebrew (cp862)", and "WinHebrew (cp1255)".  Note that we still
Packit f574b8
  have no code for taking DIR attributes, or directionality in general,
Packit f574b8
  into account. - FM
Packit f574b8
* Mods to handle "cp-#" charset names as synonyms for "cp#", and some
Packit f574b8
  cp# names as synonyms for "windows-#". -FM, KW
Packit f574b8
1997-11-07
Packit f574b8
* Change of LY_SLrefresh() in LYCurses.c as suggested by JED - FM
Packit f574b8
* add logic to make install-directories as needed. - TD
Packit f574b8
* remove --disable-char-trans option (ifdef's still remain). - TD
Packit f574b8
* correct type used in first compile-test for union wait. - TD
Packit f574b8
* correct order of deletions in "make distclean" rule. - TD
Packit f574b8
* new versions of macros used to check for ncurses version. - TD
Packit f574b8
* don't suppress -I/usr/local/include when checking -I/usr/local/include/*,
Packit f574b8
  to accommodate older versions of gcc. - TD
Packit f574b8
1997-11-06
Packit f574b8
* Use erase() instead of clear() in some places, to avoid unnecessary full
Packit f574b8
  screen repainting even for UNIX (and similar) curses.  Renamed LY_SLclear
Packit f574b8
  to LY_SLerase, but it is used for erase() and clear() now, so there should
Packit f574b8
  be no change in behavior for slang introduced by this. - KW
Packit f574b8
* Added new format for lines in chartrans .tbl files: U+NNNN "a string" where
Packit f574b8
  the string can have C backslash-escaped characters.  This allows to write
Packit f574b8
  replacement strings with 8-bit characters that won't be garbled when the
Packit f574b8
  .tbl files are transferred in some non-binary way.  Note there is no ':'
Packit f574b8
  between the Unicode value and the beginning quote character. - KW
Packit f574b8
* Changes to HTMLDTD.c (for SortaSGML parsing) and HTML.c (second line of
Packit f574b8
  defense) for dealing with invalid SELECT tags.  Also tolerate SELECT
Packit f574b8
  outside of forms. - KW
Packit f574b8
* Change in HTLocalName for DOSPATH so that it doesn't depend on whether
Packit f574b8
  HTDOS_name returns a pointer to static memory or not. - KW
Packit f574b8
* Started new file docs/README.defines.  Renamed CHANGES to CHANGES2-7,
Packit f574b8
  removed duplicate 2-7-1 entries.  Minor changes to INSTALLATION, other
Packit f574b8
  files.  CHANGES.chartrans is gone. - KW
Packit f574b8
* Tweaked color style stuff again.  Statusline may behave better. - KW
Packit f574b8
* Don't use memmove for HEAD in HTNews.c. - KW
Packit f574b8
* For UNIX, use normal umask permissions, instead of the extra-cautious temp
Packit f574b8
  file permissions, for files saved to disk by the default actions for PRINT
Packit f574b8
  and DOWNLOAD. - KW
Packit f574b8
* Changes (untested) in the code dealing with reading of compressed files in
Packit f574b8
  HTFile.c, in parallel to the code for other systems. - KW
Packit f574b8
* Mods to avoid va_start redefinition warnings when building with slang. - FM
Packit f574b8
1997-11-05
Packit f574b8
* Change in LYForms.c to avoid full screen repaint after popup is retracted
Packit f574b8
  for slang. - KW, FM
Packit f574b8
1997-11-03
Packit f574b8
* Internal links code revised.  Some details follow, but first a summary
Packit f574b8
  of the basic premises.  Links in a document given as href="#fragment" or
Packit f574b8
  href="" (empty, but href attribute is present) mean something different
Packit f574b8
  from href="url#fragment" or href="url" (where url is a non-empty absolute
Packit f574b8
  or relative URL not including a fragment), they are internal links pointing
Packit f574b8
  to an element or a location within the same copy of the document (or to the
Packit f574b8
  document itself, for href="").  In contrast, a URL-Reference with a non-
Packit f574b8
  empty URL refers to a (generally...) external resource.  If the "url"
Packit f574b8
  happens to coincide with (or, if it is relative, resolve to) the URL from
Packit f574b8
  which the current document was retrieved, the current document is a
Packit f574b8
  representation of the resource, but not the same thing.  In most such cases
Packit f574b8
  we can treat href="#fragment" and href="url#fragment" the same way, i.e.
Packit f574b8
  activating such a link is interpreted as a request to reposition within
Packit f574b8
  the current document; we are using the current document as a cache copy
Packit f574b8
  of the resource (like we would other documents in the memory cache).  But
Packit f574b8
  if we have marked our copy as no-cache, it seems more consistent to treat
Packit f574b8
  activation of a href="url#fragment" link as a request for retrieving a
Packit f574b8
  new copy and _then_ locating #fragment in it, as we do for "any-other-url
Packit f574b8
  #fragment" if we have cached a document which represents "any-other-url"
Packit f574b8
  and which is marked no-cache.  Following a href="" link should just result
Packit f574b8
  in repositioning to the start of the document, not in a new retrieval for
Packit f574b8
  no-cache documents.
Packit f574b8
  If the current document is the result of a POST submission, there is in
Packit f574b8
  general no way to refer to its underlying resource with a URL, since there
Packit f574b8
  is no URL notation for "url+post_data".  Internal links can be used within
Packit f574b8
  the context of this document, but there is no way to hyperlink to it or
Packit f574b8
  parts of it from "outside".  A link to a href="url" or href="url#fragment"
Packit f574b8
  target should always imply a GET retrieval, whether it occurs within a
Packit f574b8
  document from a POST submission or not, for consistency.
Packit f574b8
  This understanding also applies to other than  uses of URL-
Packit f574b8
  References in documents, for example the link implied between a USEMAP
Packit f574b8
  attribute and a MAP element; but not to all uses, for example a FORM's
Packit f574b8
  ACTION requires an external resource and not an internal reference, so
Packit f574b8
  ACTION="" is resolved to an absolute URL (using a base URL if one is
Packit f574b8
  given).
Packit f574b8
  The semantics for URL-less URL-References are given in Internet Draft
Packit f574b8
  <http://www.ics.uci.edu/~fielding/url/draft-fielding-url-syntax-09.txt>,
Packit f574b8
  including that "Traversal of such a reference should not result in an
Packit f574b8
  additional retrieval action."  No comparable prescriptions are made for
Packit f574b8
  references which have a URL, in particular it is not stated that they
Packit f574b8
  should be treated as equivalent when the URL coincides with or resolves
Packit f574b8
  to the current document's retrieval URL.
Packit f574b8
  The changes to the Lynx code attempt to implement what is outlined above,
Packit f574b8
  by keeping track of how a link destination was originally specified. href=
Packit f574b8
  "#fragment" and href="" links are still "resolved" into a "url#fragment"
Packit f574b8
  and "url" form, for use internally, and if an explicit NOCACHE action is
Packit f574b8
  requested, and for generating lists of links etc., and in general for use
Packit f574b8
  outside of the context of the current document.
Packit f574b8
  To the best of my knowledge they do not lead to unwanted (or misdirected)
Packit f574b8
  resubmission of POST content without prompting the user for confirmation
Packit f574b8
  (although the prompt texts probably need improvement). - KW
Packit f574b8
* The notion of the context of the "current document" is extended, so that
Packit f574b8
  auxiliary LYNXIMGMAP documents generated by Lynx are within the scope of
Packit f574b8
  the underlying document, i.e., the document containing the MAP and AREA
Packit f574b8
  elements.  Although they are treated as separate documents for display
Packit f574b8
  and internal handling, following links between the underlying document
Packit f574b8
  and its LYNXIMGMAP documents will result in display from cached data
Packit f574b8
  (if available) even for no-cache documents, if a fragment-only (or empty)
Packit f574b8
  URL-Reference was used in the HTML.  This includes the link generated for
Packit f574b8
  pointing from the IMG to the LYNXIMGMAP if the USEMAP attribute value was
Packit f574b8
  was fragment-only; the LYNXIMGMAP is normally regenerated from the list
Packit f574b8
  of MAP and AREA elements kept internally when a link to it is activated.
Packit f574b8
  (Note that a LYNXIMGMAP screen is still not reloaded from external sources
Packit f574b8
  even when RELOAD or NOCACHE keys are used, if data for the MAP is found
Packit f574b8
  in the internal list; but that reloading the underlying document will
Packit f574b8
  refresh the internal lists.) - KW
Packit f574b8
* List Page screens are also in the context of the underlying document, so
Packit f574b8
  that internal links in the underlying document can be listed and activated
Packit f574b8
  from the List Page.  When following an internal link from a List Page, it
Packit f574b8
  is not pushed on the history stack (similar to the History List Page), to
Packit f574b8
  reduce the chance of confusion when walking back through history. - KW
Packit f574b8
* LYNXIMGMAP and List Page auxiliary documents can now be associated with
Packit f574b8
  POST data.  This does not mean that the data is posted to a "LYNXIMGMAP:"
Packit f574b8
  or "file:" URL, which is impossible; but that the underlying document is
Packit f574b8
  associated with the POST data.  This way these aux documents can still
Packit f574b8
  have links regarded as "internal" pointing to the document of which they
Packit f574b8
  are logically a part, keeping track of what POST data are applicable if
Packit f574b8
  several form submissions have occurred.  Normally the underlying document
Packit f574b8
  should be in the document cache when such a link is activated, so that
Packit f574b8
  resubmission of the POST can be overridden.  If it is not found,
Packit f574b8
  resubmission may happen after user confirmation.  Although the POST data
Packit f574b8
  content is not shown on such aux pages, it can be inspected with the INFO
Packit f574b8
  ('=') command.  Note that the association of LYNXIMGMAPs and List Pages
Packit f574b8
  with POST data automatically excludes them from various operations which
Packit f574b8
  may otherwise be possible, such as bookmarking or inclusion in the
Packit f574b8
  'V'isited Links Page.  Note also that such aux pages are treated internally
Packit f574b8
  as different documents from their POST-free counterparts with the same
Packit f574b8
  address, which might be generated for example after typing the address
Packit f574b8
  at a 'g'oto prompt while viewing a different text.  It may be possible to
Packit f574b8
  generate confusing situations, but regenerating the displayed data (by
Packit f574b8
  invoking 'L'IST again, or by following a LYNXIMGMAP: link) will always
Packit f574b8
  show the currently applicable information.
Packit f574b8
  For image maps, the change implements link-following capabilities which
Packit f574b8
  come naturally to graphical UAs, which can handle IMG USEMAP and the
Packit f574b8
  corresponding MAP elements from the same data stream as objects within
Packit f574b8
  the same document instance. - KW
Packit f574b8
* To implement the above, MAP and AREA information from a POST response is
Packit f574b8
  not kept in the global list shared by all other documents, but in a separate
Packit f574b8
  list specific to the underlying (containing) document and the POST data.
Packit f574b8
  The specific lists are managed with the underlying document's anchor
Packit f574b8
  structure so that they can automatically expire after the anchor is removed
Packit f574b8
  from memory and will not stay around and accumulate until session end. - KW
Packit f574b8
* POST data is kept in mainloop when following an internal link, but is now
Packit f574b8
  always dropped for links that were given with a URL.  This removes the
Packit f574b8
  limitation by which a link in a POST response to the URL of the POST
Packit f574b8
  submission script would be inappropriately converted to a resubmission of
Packit f574b8
  the POST data.  (example: search form from 
Packit f574b8
  calendar>) - KW
Packit f574b8
* Changes to the PREV_DOC handling in mainloop.  When encountering documents
Packit f574b8
  that may need to be reloaded while walking back in history, because they
Packit f574b8
  have POST data associated and are not marked "safe" and are either not found
Packit f574b8
  in the memory cache or -resubmit_posts has been set, the user is prompted
Packit f574b8
  for confirmation as before; if the reply is 'n' the document will be skipped
Packit f574b8
  but if the user cancels with ^G the walkback operation is cancelled and the
Packit f574b8
  currently viewed document remains loaded.  Some of the aux documents which
Packit f574b8
  can new be associated with POST data may be automatically skipped if their
Packit f574b8
  document structures are not any more in memory. - KW
Packit f574b8
* When following a link marked internal from a List Page and confirmation is
Packit f574b8
  required, ^G may also have the different effect of cancelling the operation
Packit f574b8
  while responding 'n' may attempt to follow the link as a GET request (i.e.
Packit f574b8
  with POST data dropped). - KW
Packit f574b8
* In some situations, automatic popping from the history stack in mainloop
Packit f574b8
  after getfile fails to load a new document could lead to resubmission of
Packit f574b8
  a previous POST request without prompting.  This is now avoided by jumping
Packit f574b8
  to the code handling PREV_DOC. - KW
Packit f574b8
* Use new LYinternal_flag variable for propagating info to HTAccess, rather
Packit f574b8
  than overloading LYoverride_no_cache. - KW
Packit f574b8
* Tweaks for bad form tag soup with crashes on unclosed SELECT.  Changes in
Packit f574b8
  HTML.c and GridText.c to prevent memory leaks resulting from insanely
Packit f574b8
  placed or unclosed form field tags, hopefully not introducing other
Packit f574b8
  problems... - KW
Packit f574b8
1997-11-02
Packit f574b8
* Changes in HTParse's scan to leave additional '#' characters alone after
Packit f574b8
  the first has been found when scanning (from left) for fragments, and
Packit f574b8
  to apply the "don't treat '#' as start of a fragment for some kinds of
Packit f574b8
  URLs" hack only when the '#' will become part of what has been scanned
Packit f574b8
  as a path.  NNTP articles with more than '#' in the message-id are now
Packit f574b8
  accessible with the "news:" or "nntp:" schemes.  We should actually always
Packit f574b8
  escape when generating URLs and unescape when parsing them instead. - KW
Packit f574b8
* Changed HTUnEscape to leave '%' alone if not followed by two valid hex
Packit f574b8
  digits. - KW
Packit f574b8
* Allow the HEAD key and -head and -mime_header flags for "lynxcgi:" URLs
Packit f574b8
  and for "news:" and "nntp:" URLs that specify a single news article. - KW
Packit f574b8
* Change to writing of POST data in LYCgi.c, to close file descriptor after
Packit f574b8
  done writing and before reading as suggested by mhw@bcs.org.uk (Mark
Packit f574b8
  H. Wilkinson), and to check status from the write() call and retry if
Packit f574b8
  needed.  Note that the code is not appropriate for handling large
Packit f574b8
  amounts of POST data, since it still first does all the writing and
Packit f574b8
  then all the reading. - KW
Packit f574b8
1997-11-01
Packit f574b8
* Added support for presentation of text/plain files in SOURCE ('\') mode,
Packit f574b8
  homologously to text/html files, rather than treating the command as a
Packit f574b8
  synonym for 'd'ownload when viewing a text/plain file.  Note that if the
Packit f574b8
  text/plain file has no long lines, the display of it will not change,
Packit f574b8
  but otherwise, the long lines will not be wrapped in SOURCE mode, and
Packit f574b8
  thus can be 'p'rinted without line wrapping.  One still should use
Packit f574b8
  'd'ownload for a faithful copy of the file, i.e., without charset
Packit f574b8
  conversions and expansions of TABs. - FM
Packit f574b8
1997-10-30
Packit f574b8
* Get numbering of links on List Page right, by faking hidden links for
Packit f574b8
  form fields which get counted but are not selectable. - KW
Packit f574b8
* Allow LYNXHIST: links in List Page since the History Page may get
Packit f574b8
  'L'isted... - KW
Packit f574b8
* Mods of HTML.c parsing to close any open Anchor or emphasis elements
Packit f574b8
  at the starts of TABLE elements, as the Big Two's TABLE handlers appear
Packit f574b8
  to do now. - FM
Packit f574b8
* Tweaks of charset handling via META elements and CHARSET attributes. - FM
Packit f574b8
1997-10-29
Packit f574b8
* Tweak of SortaSGML DTD for insane HTML with FORM start before HEAD. - KW
Packit f574b8
* Prevent memory leaks from HTChunks for option and textarea with very
Packit f574b8
  bad markup, added TRACE and BAD_HTML_USE_TRACE warnings for those. - KW
Packit f574b8
* Don't call tigetnum("ncv") for _WINDOWS - BD
Packit f574b8
* Added Unicode tables for the "DEC Multinational", "Macintosh (8 bit)",
Packit f574b8
  and "NeXT character set" display character sets. - FM
Packit f574b8
1997-10-28
Packit f574b8
* Disable setting of the `reloading' flag in HTLoadDocument which would
Packit f574b8
  generate no-cache headers for request where this is not appropriate. - KW
Packit f574b8
* Memory leak for first OPTION in SELECT removed. - KW
Packit f574b8
* Changed HTDOS_name to not return pointer to static area. - Binh Do
Packit f574b8
  <bdo@mailman.epnet.com>
Packit f574b8
* Changes to INSTALLATION file. - HN
Packit f574b8
* Fix in HTMIME.c to recognize Content-location. - KW
Packit f574b8
1997-10-27
Packit f574b8
* Don't disable FORMs that have INPUTs with TYPE="file" or TYPE="range"
Packit f574b8
  since those fields may be optional and the rest of the FORM may be
Packit f574b8
  valid to submit. - FM
Packit f574b8
* Updated links to www.w3.org in help files. - KW
Packit f574b8
* Some changes for DOS compilation. - DK
Packit f574b8
* Changes to INSTALLATION file. - HN
Packit f574b8
* Tweaks of internal links stuff. - KW
Packit f574b8
* Allow HEAD on URLs starting with LYNXIMGMAP:http by stripping the
Packit f574b8
  prefix. - KW
Packit f574b8
* Reverted LYCheckForCSI() to previous incarnation. - KW
Packit f574b8
1997-10-26
Packit f574b8
* If compiled with -DDONT_TRACK_INTERNAL_LINKS, behavior with respect to
Packit f574b8
  internal links as in FM's code. - KW
Packit f574b8
* Some chartrans tweaks. - KW
Packit f574b8
1997-10-25
Packit f574b8
* Changes to INSTALLATION file. - HN
Packit f574b8
* Make temp file names conform to 8+3 naming convention for DOS, and
Packit f574b8
  give LYNX_TEMP_SPACE priority over TEMP and TMP for DOS. - DK
Packit f574b8
* Create temp file names with '-' char as separator between pid and
Packit f574b8
  sequential number for non-8+3 systems, to prevent (unlikely)
Packit f574b8
  collision. - KW
Packit f574b8
1997-10-24
Packit f574b8
* Change in HTML.c to use the base (rather than current document, if the
Packit f574b8
  base differs) in all cases for form ACTIONs (i.e., if the ACTION is
Packit f574b8
  empty, or has a lone fragment, or an ACTION attribute is not included)
Packit f574b8
  as specified in the -07 to -09 Fielding URL drafts. - FM
Packit f574b8
1997-10-23
Packit f574b8
* Fixed a few typos and glued together a few URLs to make it easier for
Packit f574b8
  folk to cut and paste them, in the new INSTALLATION file. - LV
Packit f574b8
1997-10-22
Packit f574b8
* Many locations of files changed, about_lynx/ directory and references to
Packit f574b8
  aboutfilepath removed, userdefs.h reorganized, changed README, new
Packit f574b8
  INSTALLATION file, doc changes, some doc files removed. - HN
Packit f574b8
  (Removed paragraph in README which doesn't apply yet, some files still
Packit f574b8
  not done - KW)
Packit f574b8
* Patch to WWW/Library/djgpp/makefile - WS
Packit f574b8
* Added entity names from HTML 4.0 draft to extra entities in HTMLDTD.c - KW
Packit f574b8
* Understand lists in ACCEPT-CHARSET attributes.  Added a list of forms
Packit f574b8
  to GridText structure (currently underused). - KW
Packit f574b8
* Don't try to use box drawing chars in UTF-8 display mode. - KW
Packit f574b8
* Changed chartrans mechanism (UCdomap.c, makeuctb.c) so that the "default"
Packit f574b8
  translation table is now used as a fallback for other translation tables.
Packit f574b8
  This also applies to display character sets which do not have a chartrans
Packit f574b8
  table file but are listed in LYCharSets.c.  Changed syntax of table files
Packit f574b8
  (see src/chrtrans/README.format), added a keyword to disable using the
Packit f574b8
  fallback.  Currently def7_uni (corresponding to "7 bit approximations"
Packit f574b8
  and the MIME charset "us-ascii") is used as default table, as before;
Packit f574b8
  but previously the default table didn't have any real meaning.
Packit f574b8
  Conceptually every translation table (unless it disables fallback) is
Packit f574b8
  extended as if it included all the replacements from the default table.
Packit f574b8
  Note that mappings for some characters in the default table file still
Packit f574b8
  differ from the old mappings given in LYCharSets.c, and what is displayed
Packit f574b8
  e.g., for umlaut characters may not be consistent, this still has to be
Packit f574b8
  sorted out.  It may just have become more visible now. - KW
Packit f574b8
* Tweaks to some replacement strings in def7_uni.tbl; contributions of
Packit f574b8
  more useful strings would be welcome... - KW
Packit f574b8
* Removed mappings for invalid chars from some chartrans files, removed
Packit f574b8
  Ethiopic chars from iso01_uni.tbl. - KW
Packit f574b8
* Some other corrections and tweaks for chartrans mechanisms. - KW
Packit f574b8
1997-10-21
Packit f574b8
* Fixed handling of Control-D (delete character under the cursor) in the
Packit f574b8
  line editor when the cursor is at the end of the line instead of on a
Packit f574b8
  character in the string being edited. - FM
Packit f574b8
* revised tests for wait/waitpid/union-wait. - TD
Packit f574b8
* correct/update handling of default prefix in CF_WITH_PATH macro, used for
Packit f574b8
  parsing --with-cfg-file and --with-lss-file options.  - TD
Packit f574b8
* add uninstall target to top-level makefile. - TD
Packit f574b8
* remove redundant install options from $(INSTALL_DATA). - TD
Packit f574b8
* add configure --with-lss-file option - TD
Packit f574b8
* minor cleanup of gcc warnings, ifdefs. - TD
Packit f574b8
1997-10-20
Packit f574b8
* Mods in the CSO/PH gateway to set the anchor's safe flag to TRUE so the
Packit f574b8
  user need not be bothered with confirmation prompts on resubmissions of
Packit f574b8
  the search form. - FM
Packit f574b8
* Tweaked the break point setting code in GridText.c for CJK di-bytes
Packit f574b8
  so that one is set after a recognized "ESC(" ISO 2022 escape sequence
Packit f574b8
  has been found. - FM
Packit f574b8
1997-10-16
Packit f574b8
* Tweaks to recognition of Japanese (better recognize x-euc-*), and to
Packit f574b8
  the mechanism in GridText.c keeping track of which encoding is used for
Packit f574b8
  Japanese.  The state for this is now reset on explicit '\n' and '\r'
Packit f574b8
  received by the HText object in addition to space chars. - KW
Packit f574b8
* Tweaks in HTTP.c to avoid access to uninitialized memory and pacify
Packit f574b8
  paranoid dbx. - KW
Packit f574b8
* Try to more consistently remember the charset in effect for a document
Packit f574b8
  when going to SOURCE view, using new LYUC{Push,Pop}Assumed functions.
Packit f574b8
  Note that this is only in effect immediately when switching to SOURCE
Packit f574b8
  view; any later reloading while within SOURCE view (including those
Packit f574b8
  caused by RELOAD, RAW_TOGGLE and other keys, or by Options Screen changes)
Packit f574b8
  may still revert to the usual assumption about charset, which means a
Packit f574b8
  charset specified in a META tag may be forgotten at that point; this may
Packit f574b8
  be considered a feature... - KW
Packit f574b8
* Refer to TagSoup and SortaSGML parsing (coined by FM), rather than "old"
Packit f574b8
  and "new" DTD. - KW
Packit f574b8
* Made some of the changes concerning and removal and location changes of
Packit f574b8
  files proposed by HN. - KW
Packit f574b8
* Restored LYCheckForCSI example function to its previous form, with a check
Packit f574b8
  added and comments added. - KW
Packit f574b8
1997-10-15
Packit f574b8
* Changed the order of display character set entries for the options menu
Packit f574b8
  popup.  "ISO Latin 1" and its "DosLatin1 (cp850)" and "WinLatin1 (cp1252)"
Packit f574b8
  equivalents come first, then the system-based charsets (note that I
Packit f574b8
  changed "IBM PC character set" to "DosLatinUS (cp437)"), then the CJK
Packit f574b8
  and Vietnamese charsets, then "Other ISO Latin" (probably don't need
Packit f574b8
  that one any more), then the known ISO 8859-# charsets with their
Packit f574b8
  homologs (e.g, Dos and Win Cyrillic and KOI8-R) in groups, then
Packit f574b8
  "UNICODE UTF 8" and the Unicode mnemonic charsets. - FM
Packit f574b8
* Various fixes for color style code, should prevent memory corruption. - KW
Packit f574b8
* Some LYCharUtils.c cleanup. - KW
Packit f574b8
* Added some of the changes from fotemods to SGML.c, especially handling of
Packit f574b8
  ‌ as allowing a line break, and conversion to UNICODE UTF-8. - KW
Packit f574b8
* Mods in code handling mailcap lines, to avoid access to invalid memory. - KW
Packit f574b8
1997-10-12
Packit f574b8
* Added LYLeakSACopy and LYLeakSACat to LYLeaks.c.  Running Lynx compiled
Packit f574b8
  with LY_FIND_LEAKS defined will now give the source locations where
Packit f574b8
  StrAllocCopy and StrAllocCat are used, if those create leaks.  Added
Packit f574b8
  missing include of LYLeaks.h in LYCookie.c. - KW
Packit f574b8
* More heavy tweaks in LYCharUtils.c.  Associated changes in HTChunk.c
Packit f574b8
  (new functions), small change for -raw (in connection with attribute
Packit f574b8
  values) in SGML_character.  LYCharUtils.c is still a work in
Packit f574b8
  progress... - KW
Packit f574b8
* Tweaks to allow some chars as data input (0x97, 0x9b, 0xa0) if the
Packit f574b8
  current display character set seems to have those values as printable
Packit f574b8
  characters (by testing LYlowest_eightbit[]). - KW
Packit f574b8
1997-10-11
Packit f574b8
* Mods in HTFTP.c to recognize NetPresenz server (variation of AppleShare
Packit f574b8
  claiming to be Peter Lewis server?, try current ftp://www.unicode.org/),
Packit f574b8
  and to show server's identification from initial greeting on info
Packit f574b8
  screen for FTP URLs.  Other cosmetic changes in HTFTP.c. - KW
Packit f574b8
* Fixed various memory leaks. - KW
Packit f574b8
* Some more minor cleanup tweaks for color style code. - KW
Packit f574b8
* Avoid unnecessary pauses if TRACE is on and a Trace Log file is in use. - KW
Packit f574b8
1997-10-10
Packit f574b8
* Renamed lynx_help/keystroke_commands/ directory to lynx_help/keystrokes/
Packit f574b8
  for the benefit of DOS, and changed references accordingly. - KW
Packit f574b8
* Changed parsing of command line options for -lss file, it should now
Packit f574b8
  be used and override the default from userdefs.h or environment variables
Packit f574b8
  as advertised. - KW
Packit f574b8
* More tweaks and cleanup in HText_SubmitForm. - KW
Packit f574b8
* Code to recover from memory exhaustion, sometimes.  The requests for
Packit f574b8
  dynamic memory which heuristically most often fail for lack of memory
Packit f574b8
  when rendering large documents are the calloc() calls in split_line.
Packit f574b8
  They are replaced by LY_check_calloc() which has the same calling
Packit f574b8
  conventions as calloc() but additionally checks if "enough" memory is
Packit f574b8
  available for the requested amount plus some margin and tries some
Packit f574b8
  remedial action if this is not the case.  The additional safety margins
Packit f574b8
  are required to make it likely that other allocation requests in other
Packit f574b8
  places of the program won't fail before the next check.  The actions
Packit f574b8
  which may be taken in order to avoid exiting if low memory is detected:
Packit f574b8
  (1) Try to unload cached documents (other than the one currently being
Packit f574b8
  loaded), until we seem to have enough memory.  (2) If that fails (or
Packit f574b8
  there are no other documents cached in memory), try to fake a 'Z' key
Packit f574b8
  interruption; this will have the same effect as if the user had pressed
Packit f574b8
  'Z' so it will only detected if some other part of the program tests
Packit f574b8
  HTCheckForInterrupt() and acts on it.  (3) If this seems not to be
Packit f574b8
  sufficient to stop loading, halt appending of normal text data to the
Packit f574b8
  document structure (A warning *** MEMORY EXHAUSTED *** is appended
Packit f574b8
  instead). - KW
Packit f574b8
* A tweak of color style memory allocation. - KW
Packit f574b8
1997-10-09
Packit f574b8
* Some more tweaks from FM for VMS build - KW
Packit f574b8
* For DJGPP compilation, src/chrtrans/makefile.dos - WS (Bill Schiavo
Packit f574b8
  <Wschiavo@concentric.net>)
Packit f574b8
* Some cleanup in Hext_SubmitForm (needs more). Start using ACCEPT-CHARSET
Packit f574b8
  (doesn't recognize list yet, only recognized if on the INPUT field that
Packit f574b8
  causes submission). - KW
Packit f574b8
* Added two test files for iso-8859-2 charset. - KW
Packit f574b8
* Tweaks in LYMainLoop.c for various keys that page up, to better preserve
Packit f574b8
  keep the current link selected if possible and to correct a glitch with
Packit f574b8
  UP_LINK. - KW
Packit f574b8
* Reorder text/html and text/plain to the beginning of HTPresentations list,
Packit f574b8
  so they will be found more quickly and will appear at the beginning of
Packit f574b8
  Accept request header fields. - KW
Packit f574b8
1997-10-08
Packit f574b8
* add logic to implement mouse button 2 "previous document" for
Packit f574b8
  ncurses configuration. - TD
Packit f574b8
* add dependencies on 'lynx' to top-level 'all' and 'install' rules
Packit f574b8
  in makefile.in - TD
Packit f574b8
* add osf4.0 to special case compiler options using -g3 in place of
Packit f574b8
  -O -g, for Heikki Kantola <hezu@iki.fi>. - TD
Packit f574b8
* correct some of the uninitialized-variable warnings. - TD
Packit f574b8
* Removed the compilation of the old libwww-FM HTAlert.c module for VMS,
Packit f574b8
  as previously removed for Unix. - FM
Packit f574b8
* Added comments and tweaks of build.com, build-slang.com and libmake.com,
Packit f574b8
  (and a complementary tweak of tcp.h) to make more clear how compiler
Packit f574b8
  definitions and compiler and linker options can be added. - FM
Packit f574b8
1997-10-07
Packit f574b8
* Changed PROBLEMS file for ^Z and for "forgetting emphasis of link text"
Packit f574b8
  problem (which shouldn't occur any more). - KW
Packit f574b8
1997-10-05
Packit f574b8
* Changed SGML.c parsing of unrecognized and invalid start tags.  If the
Packit f574b8
  '<' character in HTML is followed by a 7-bit letter character, we now
Packit f574b8
  do tag parsing even if the element name is not recognized, instead of
Packit f574b8
  going to 'S_junk_tag' mode, so that a '>' embedded in an attribute value
Packit f574b8
  (which may also be part of a CJK character's encoding) will not
Packit f574b8
  prematurely end the tag.  (But "soft double-quotes parsing" mode is
Packit f574b8
  recognized.)  Treat a '<' followed by most other 7-bit chars as data,
Packit f574b8
  i.e., recover it and the following char. - KW
Packit f574b8
1997-10-04
Packit f574b8
* Corrected check for empty string at beginning of LYUnEscapeEntities. - KW
Packit f574b8
* Squeezed option for "Assume charset if unknown:" into Options screen.
Packit f574b8
  It is selected with a control char (^A), is only available in Advanced User
Packit f574b8
  mode, and the value is currently not saved into .lynxrc with '>', i.e.
Packit f574b8
  for a persistent change lynx.cfg has to be modified (or use an alias or,
Packit f574b8
  for DOS, a batch file to call lynx with -assume_charset=...).  The
Packit f574b8
  interaction with the Raw M(O)de setting may be confusing (or confused :) ),
Packit f574b8
  and it is possible to set nonsensical values that have no effect. - KW
Packit f574b8
* Changed order and criteria of transformation attempts in HTPlain.c to
Packit f574b8
  be more like SGML.c.  For plain text KOI8-R would use 8-bit stripping
Packit f574b8
  to early.  HTPlain_write still is too different from SGML_character... - KW
Packit f574b8
* Reinstate the slash after special interpretation of /~ at beginning of
Packit f574b8
  file URL path for DOSPATH - DK
Packit f574b8
* Changed SGML_character to not try to convert attribute values to UTF-8
Packit f574b8
  if HTCJK is in effect (arrggh!) - KW
Packit f574b8
* Changed effect of -raw / '@' for CJK display character sets: it now toggles
Packit f574b8
  the effective charset assumption between that specified with ASSUME_CHARSET
Packit f574b8
  or -assume_charset (or iso-8859-1 if none given) and the charset that
Packit f574b8
  corresponds to the selected display character set, as for non-CJK.  An
Packit f574b8
  exception is made if both charsets are CJK charsets, so that the toggle
Packit f574b8
  will still have the function of toggling CJK mode on and off.  Explicitly
Packit f574b8
  specifying a CJK charset as assumed is currently not very useful, since we
Packit f574b8
  cannot translate from that to other character sets. - KW
Packit f574b8
* Oh, by the way: compilation without defining EXP_CHARTRANS won't work any
Packit f574b8
  more.  Regard #ifdef EXP_CHARTRANS as some strange kind of comment for
Packit f574b8
  now, until it goes away. - KW
Packit f574b8
* Write comment at top of .lynxrc file to make clear that it is different
Packit f574b8
  from lynx.cfg, suggested by LV. - KW
Packit f574b8
1997-09-30
Packit f574b8
* Changed order of display character sets on options screen a bit, and
Packit f574b8
  corrected charset listings in lynx.cfg and userdefs.h files - KW
Packit f574b8
* Added comment on lynx.lss in userdefs.h, moved it. - KW
Packit f574b8
1997-09-27
Packit f574b8
* Made TRACE messages which correspond to BAD_HTML_USE_TRACE warnings stand
Packit f574b8
  out more by decorating them with ***** characters, so that users who
Packit f574b8
  follow the BAD_HTML_USE_TRACE advice can more easily find the relevant
Packit f574b8
  messages. - KW
Packit f574b8
* Reworked LYUnEscapeEntities() while loop into a (hopefully) more
Packit f574b8
  understandable and consistent state-based switch, and integrated
Packit f574b8
  LYUnEscapeToLatinOne functionality. - KW
Packit f574b8
* Non-ASCII characters in URLs and similar strings encountered in the HTML.c
Packit f574b8
  processing (previously handled by LYUnEscapeToLatinOne) are now generally
Packit f574b8
  URL-encoded, instead of doing this just for 8-bit characters which are
Packit f574b8
  the result of entity expansion.  There is no clear standard definition what
Packit f574b8
  non-ASCII characters in URLs in HTML attributes (HREF etc.) actually mean,
Packit f574b8
  especially if the transmission character encoding is something else than
Packit f574b8
  iso-8859-1.  Leaving them as the raw byte values as received runs against
Packit f574b8
  the HTML i18n view that the transmission encoding is distinct from the
Packit f574b8
  document character set and has to be (conceptually at least) decoded before
Packit f574b8
  SGML parsing.  It also won't work in general for entities that expand to
Packit f574b8
  to Unicode characters which cannot be expressed at all in the currently
Packit f574b8
  effective (or assumed) charset, and would lead to problems with displaying
Packit f574b8
  URLs on the statusline or representing them in auxiliary screens or bookmark
Packit f574b8
  files.  So now we try to first transform to the document charset "as usual"
Packit f574b8
  (undo the transmission encoding), then translate the Unicode value into a
Packit f574b8
  sequence of (one or more) byte values which are then URL-encoded.  Since
Packit f574b8
  character values > 255 cannot be expressed in a byte, always use UTF-8
Packit f574b8
  for them.  It may not be what the author intended, but should be at least
Packit f574b8
  consistent between internal (fragment) HREFs and NAME (or ID) attributes
Packit f574b8
  in the same document or set of documents.  Since this is dealing with
Packit f574b8
  bytes currently disallowed in URLs, it falls under error recovery.  But
Packit f574b8
  the handling should be roughly in line with current Internet Drafts
Packit f574b8
  (draft-masinter-url-i18n-00.txt, draft-duerst-query-i18n-00.txt,
Packit f574b8
  draft-ietf-ftpext-intl-ftp-02.txt).
Packit f574b8
  For character values < 256 (but > 127) this isn't currently consistently
Packit f574b8
  done, we may still be URL-escaping the byte value without UTF-8 encoding -KW
Packit f574b8
1997-09-25
Packit f574b8
* Integrated the attribute and form field translation stuff from separate
Packit f574b8
  code line.  This is still a rough attempt.  Needs testing and refinement,
Packit f574b8
  for various character set situations, expect glitches and bugs. - KW
Packit f574b8
1997-09-24
Packit f574b8
* Removed the compilations of the old libwww-FM HTInit.c and HTFWriter.c
Packit f574b8
  modules for VMS, as previously removed for Unix. - FM
Packit f574b8
* Added other changes from FM's feedback for VMS. - KW
Packit f574b8
* Fixed a bug in the SGML unescaping of OPTION values. - FM
Packit f574b8
* Fixed a bug in the SGML unescaping of TEXTAREA text. - KW
Packit f574b8
1997-09-23
Packit f574b8
* Fixed file 'E'dit command from dired directory listing, which I had
Packit f574b8
  broken in 2.7.1ac-0.69. - KW
Packit f574b8
* Added -width=NUMBER option to specify line width for non-interactive
Packit f574b8
  formatting (-dump output).  Also used by -preparsed source mode. - KW
Packit f574b8
* Changed suffix mapping mechanism to deal with "real" content-encoding
Packit f574b8
  parameters (gzip, compress) in addition to 7bit, 8bit, and binary.  Added
Packit f574b8
  a new field for brief descriptive text, so that the MIME type doesn't have
Packit f574b8
  to be abused for this purpose, but left most settings in HTInit.c unchanged
Packit f574b8
  for now. - KW
Packit f574b8
* Changes in HTFWriter.c and HTFile.c so that we don't forget the file type
Packit f574b8
  and encoding information we already have for a compressed file when passing
Packit f574b8
  control to HTLoadFile (possibly after uncompression). - KW
Packit f574b8
* Introduced FNAMES_8_3 symbol (for DOS 8+3 file system), and HTML_SUFFIX
Packit f574b8
  which should be defined as ".htm" for DOS and ".html" otherwise.  Various
Packit f574b8
  tweaks to deal with systems with 8+3 restricted filenames, in general and
Packit f574b8
  in connection with uncompression. - KW
Packit f574b8
* Applied diffs from FM for VMS, compared with recent fotemods. - KW
Packit f574b8
1997-09-21
Packit f574b8
* Use 0.01 rather than 0.001 as the q value for inserted iso-8859-1 and
Packit f574b8
  us-ascii charset parameters in Accept-Charset headers. - FM
Packit f574b8
* Added internal buffering of I.value elements in HTML_start_element()
Packit f574b8
  of HTML.c. - FM
Packit f574b8
1997-09-20
Packit f574b8
* Show HTTP header for all 2xx status codes (including 204-206) if requested
Packit f574b8
  with HEAD or -head. - KW
Packit f574b8
1997-09-19
Packit f574b8
* Modified the Unix "strange character" filter in exec_ok() of LYGetFile.c
Packit f574b8
  to allow '+', '&' and '=' characters. - FM
Packit f574b8
* minor ifdef/declaration fixes required to build on IRIX 6.2,
Packit f574b8
  SunOS (K&R) and VAX C. - TD
Packit f574b8
1997-09-18
Packit f574b8
* Try again after interrupted waitpid() in LYLoadCGI(), as in LYExecv() - KW
Packit f574b8
* Tweak in LYKeymap.c to bypass the isalpha() test for non-ASCII values,
Packit f574b8
  including values > 255 mapped to arrow keys, etc., when generating the
Packit f574b8
  'k'eymap display. - KW
Packit f574b8
* Changes to prevent many (but not all) compiler warnings about `const'.
Packit f574b8
  Not that this is different from TD's recent changes.  Also some other minor
Packit f574b8
  tweaks relating to (gcc) compiler warnings. - KW
Packit f574b8
1997-09-17
Packit f574b8
* Mods in GridText.c to use HTEscapeSP() for space-to-plus conversions of
Packit f574b8
  name fields, and not just value fields, in submitted form content.  Note
Packit f574b8
  that some CGI scripts may still be doing plus-to-space restorations only
Packit f574b8
  for value fields, and only hex unescaping for name fields, while others
Packit f574b8
  may not be hex unescaping the name fields, so we may as well follow the
Packit f574b8
  specs fully (and cross our fingers :). - KW, FM
Packit f574b8
* merge symbols 'has_color' and 'lynx_has_color' to simplify ifdef's,
Packit f574b8
  and correct a problem building color-style configuration. - TD
Packit f574b8
* add configure symbol for ifdef'ing presence of waitpid, which
Packit f574b8
  was stopping build on HP-UX. - TD
Packit f574b8
* correct the symbol that is defined by CF_SIZECHANGE test, noted
Packit f574b8
  by failure to build SCO version after making an include for
Packit f574b8
  <sys/ioctl.h> ifdef'd according to configure test. - TD
Packit f574b8
* corrected check for broken (pre-1.9.9g) ncurses versions so that
Packit f574b8
  they can build with color support. - TD
Packit f574b8
* cache state of CF_NETLIBS so that rerunning configure will yield
Packit f574b8
  the same results for network libraries. - TD
Packit f574b8
* Add configure test for HP-UX -lHcurses library. - TD
Packit f574b8
* Minor adjustments to names of configure-script variables, to make
Packit f574b8
  them the same as other programs (e.g., tin-unoff). - TD
Packit f574b8
1997-09-16
Packit f574b8
* Added code to JKT's and KW's mods in LYPrint.c to also handle VMS, i.e.,
Packit f574b8
  set the document's title as a logical on VMS (can be accessed via
Packit f574b8
  f$trnlnm("LYNX_PRINT_TITLE") in scripts). - FM
Packit f574b8
* Smaller cleanups here and there - FM, KW
Packit f574b8
1997-09-15
Packit f574b8
* Recover from bad sequence "<=" in SGML.c by outputting those characters
Packit f574b8
  literally. - KW
Packit f574b8
* Try again after interrupted waitpid() in LYExecv(). - JED
Packit f574b8
* Some tweaks in new DTD, some doc typo corrections. - KW
Packit f574b8
1997-09-13
Packit f574b8
* Changes in LYConvertToURL() for better handling of the case when the
Packit f574b8
  pathname of the current directory (when Lynx is invoked) contains
Packit f574b8
  unusual, URL-reserved characters (especially '#') and we test for
Packit f574b8
  a relative but URL-encoded path. (no change for VMS) - KW
Packit f574b8
1997-09-13
Packit f574b8
* Changes in LYStrings.c to enable keypad() processing for non-NCURSES
Packit f574b8
  if HAVE_KEYPAD is defined. - KW
Packit f574b8
1997-09-12
Packit f574b8
* Correct mismatch/omission of HAVE_TYPE_UNIONWAIT symbol from
Packit f574b8
  change for wait vs waitpid. - TD
Packit f574b8
1997-09-11
Packit f574b8
* Tweaks in HTMLGen.c for display of special characters and line breaking
Packit f574b8
  with -preparsed. - KW
Packit f574b8
* Got rid of use of underlining together with reverse for non-current
Packit f574b8
  links for (n)curses if color is not used. - KW
Packit f574b8
* Small HTMLDTD.c changes for new parsing. - KW
Packit f574b8
* Change in SGML.c to always recognize SOFT HYPHEN when given as &#173. - KW
Packit f574b8
1997-09-10
Packit f574b8
* Modify CF_WITH_PATH to allow substitution of --libdir and other
Packit f574b8
  configure options pathnames, e.g., for --with-cfg-file. - TD
Packit f574b8
* Include lynx_cfg.h in userdefs.h to resolve redefinition reported by
Packit f574b8
  AAC. - TD
Packit f574b8
* Remove Ultrix/sony_news -specific ifdef's for curses headers,
Packit f574b8
  replace with configure-tests. - TD
Packit f574b8
* Remove AIX/NeXT/sony_news -specific ifdef's for wait vs waitpid,
Packit f574b8
  replace with configure-tests. - TD
Packit f574b8
* Add/use CF_HELP_MESSAGE macro to visually break down the very long
Packit f574b8
  help message into sections. - TD
Packit f574b8
* Move the development options to the beginning of the configure script,
Packit f574b8
  to facilitate adjustment of compiler options (especially for Ultrix)
Packit f574b8
  to reduce the number of spurious warnings from miscombining -g/-O
Packit f574b8
  options. - TD
Packit f574b8
* Correct misplaced assignment to cf_cv_ncurses_header in configure.in,
Packit f574b8
  which caused misconfigure against vendor curses, reported by Hynek Med
Packit f574b8
  (Ultrix) and Roger Hill (HP-UX 10.x). - TD
Packit f574b8
1997-09-09
Packit f574b8
* Added arguments to the multinet_htons() and multinet_ntohs() declarations
Packit f574b8
  in tcp.h. - FM
Packit f574b8
* Tweak of the this_MIMEcharset[] and this_LYNXcharset[] checks in
Packit f574b8
  makeuctb.c. - FM
Packit f574b8
* Replaced the index() and bcopy() with strchr() and memcpy() in the
Packit f574b8
  putenv() for NeXT in LYUtils.c. - FM
Packit f574b8
1997-09-08
Packit f574b8
* Added a -preparsed flag, to be used with -source or with SOURCE view.
Packit f574b8
  When invoked with this flag, show HTML text as it is output from the SGML
Packit f574b8
  parsing stage, regenerated via HTMLGen.c functions, rather than the usual
Packit f574b8
  more raw rendering (in SOURCE view) or the original byte stream (as with
Packit f574b8
  the -source flag, possibly with BASE information prepended).  Lynx will
Packit f574b8
  attempt to wrap the text to screen width (or 80 cols for the -source flag),
Packit f574b8
  but will not always succeed.  Unrecognized tags and attributes as well as
Packit f574b8
  comments are dropped, attributes reordered, missing end tags supplied,
Packit f574b8
  abd other changes made, showing how Lynx internally treats the document's
Packit f574b8
  structure.  This is probably most useful for debugging (of either Lynx's
Packit f574b8
  parsing or of HTML documents, although a real validator should be used for
Packit f574b8
  the latter!).  It can also be instructive to switch the DTD parsing mode
Packit f574b8
  (with the ^V key) while viewing preparsed source.
Packit f574b8
  Note that this doesn't work so well now with character translations and
Packit f574b8
  entity expansion don't work well now, showing some of the same problems
Packit f574b8
  which appear for rendered documents and dropping some characters.  Making
Packit f574b8
  those problems of parsing more directly visible was one of the motivations
Packit f574b8
  for this flag.  Also note that META tags which may contain charset info
Packit f574b8
  are never interpreted when using -source (with or without the -preparsed
Packit f574b8
  flag), but when interactively switching to SOURCE view, Lynx MAY remember
Packit f574b8
  that charset info from the previous non-SOURCE full parsing (again this
Packit f574b8
  applies with or without -preparsed); the INFO screen should always show
Packit f574b8
  the assumption currently in effect. - KW
Packit f574b8
* Updated some HTMLGenerator functions to use line wrapping logic found in
Packit f574b8
  newer libwww versions, and further mods in HTMLGen.c. - KW
Packit f574b8
* Tweaks to use of chartrans stages, should now better preserve charset
Packit f574b8
  info from META tags even in compressed HTML files. - KW
Packit f574b8
* Fixed a problem with LYCheckForCSI which could lead to crashes. - KW
Packit f574b8
1997-09-06
Packit f574b8
* Modifications to allow the Lynx lynxcgi feature to process
Packit f574b8
  PATH_INFO in addition to QUERY_STRINGS in URLs.  DOCUMENT_ROOT
Packit f574b8
  may be set by the user in lynx.cfg and is then passed as well.
Packit f574b8
  If DOCUMENT_ROOT is set, then PATH_TRANSLATED is calculated and
Packit f574b8
  passed as well. - JKT (J Kevin Ternes <jkternes@mindspring.com>)
Packit f574b8
* Changes to LYPrint.c to put the variable LYNX_PRINT_TITLE
Packit f574b8
  into the system()'ed environment for use by post-Lynx, pre-lp
Packit f574b8
  formatting scripts.  LYNX_PRINT_TITLE is simply generated by
Packit f574b8
  calling HText_GetTitle(). - JKT
Packit f574b8
* Corrections to JKT's mods (to avoid memory leaks etc.).  Avoid
Packit f574b8
  unnecessary stat() calls.  Other fixes in LYCgi.c.  Make
Packit f574b8
  setting of HTTP_ACCEPT_CHARSET actually work.  Now URL-unescape
Packit f574b8
  the path in lynxcgi URLs before doing anything with it.
Packit f574b8
  Better logic for when to check for restrictions, the previous checking
Packit f574b8
  for !reloading could be easily circumvented.  Also check whether
Packit f574b8
  the full path including a possible PATH_INFO passes the restrictions
Packit f574b8
  test by exec_ok(), to catch "../" segments.  Don't try to handle
Packit f574b8
  a non-executable lynxcgi URL as a file URL if there was a PATH_INFO
Packit f574b8
  part, it gets too confusing.  Strip '#' fragments from the lynxcgi
Packit f574b8
  path, but leave the interpretation of '#' characters after a '?' as
Packit f574b8
  before so that they are still regarded as part of the query or search
Packit f574b8
  string.  If PATHINFO is present, unescaped '#' characters in it will
Packit f574b8
  still be rejected by exec_ok(). - KW
Packit f574b8
* added a bit of text about running ./configure to INSTALLATION
Packit f574b8
  file - David Combs (<dkcombs@netcom.com>), KW
Packit f574b8
* Added a translation table for Vietnamese (VISCII), and associated code
Packit f574b8
  changes.  See the file viscii_uni.tbl. - KW
Packit f574b8
1997-09-05
Packit f574b8
* Mods in LYGetFile.c to retain a fragment on redirection if the redirection
Packit f574b8
  URL does not include a fragment. - FM
Packit f574b8
1997-09-04
Packit f574b8
* Correct ifdef'ing for getbkgd function calls. - TD
Packit f574b8
* Correct ifdef'ing for remaining inline chmod calls. - TD
Packit f574b8
* Consolidate various logic for opening secure files into utility
Packit f574b8
  functions, correcting portability problems as well.  - TD
Packit f574b8
* Add configure option --with-cfg-file to override default location of
Packit f574b8
  Lynx configuration file (requested by Laura Eaves).  - TD
Packit f574b8
* Strip -g option from CFLAGS for the non-debug version of Ultrix
Packit f574b8
  configuration (requested by Hynek Med).  - TD
Packit f574b8
* Add configure test for HP "color" curses (noting that this cannot
Packit f574b8
  possibly comply with XPG4 due to naming conventions, we'll expect
Packit f574b8
  other problems with it). - TD
Packit f574b8
* Add checks to configure test for COLOR_CURSES to work around bug
Packit f574b8
  report for HP-UX.  - TD
Packit f574b8
* Don't cache configure options except where essential (e.g., the
Packit f574b8
  setting of 'screen').  - TD
Packit f574b8
* Change some configure options to disable/enable for consistency.  - TD
Packit f574b8
1997-09-03
Packit f574b8
* Tweaks in HTML_put_string() and LYUnEscapeEntities() to deal with line-
Packit f574b8
  breaks within attributes more consistently, and more independently of
Packit f574b8
  which convention is used (CRLF, CR, or LF). - KW
Packit f574b8
* Tweaks to prevent a few compiler warnings. - KW
Packit f574b8
* Tweaks of the iso06_uni.tbl and iso08_uni.tbl files now compiled in.
Packit f574b8
  Note that a replacement character or string to replace invalid or
Packit f574b8
  unrecognized characters can be defined by mapping the Unicode value
Packit f574b8
  U+FFFD, which is done here (for testing, and because these two charsets
Packit f574b8
  have a lot of undefined code points).  Also some mods in default 7-bit
Packit f574b8
  table for some Hebrew characters and points. - KW
Packit f574b8
1997-09-02
Packit f574b8
* Mods to include "ISO 8859-6 Arabic" and "ISO 8859-8 Hebrew" in the display
Packit f574b8
  character set options (Note, though, that Lynx presently has no code to
Packit f574b8
  deal overtly with non-Latin directionalities.). - DK, FM
Packit f574b8
1997-08-31
Packit f574b8
* Mod of HTMIME.c to ignore any Content-Encoding header with a value of
Packit f574b8
  "identity" (case insensitive).  Shouldn't happen, but better safe than
Packit f574b8
  sorry. - FM
Packit f574b8
1997-08-28
Packit f574b8
* Correct a quoting error in CF_RECHECK_FUNC macro. - TD
Packit f574b8
1997-08-27
Packit f574b8
* Further refine/correct configure macros for finding network and curses
Packit f574b8
  libraries, adding CF_RECHECK_FUNC to simplify CF_NETLIBS. - TD
Packit f574b8
* Rename #define for NCURSESHEADER to HAVE_NCURSES_H, for consistency. - TD
Packit f574b8
* Add-back test for -lm to support slang shared libraries. - TD
Packit f574b8
* Modify test for disentangling ncurses library from mytinfo on FreeBSD
Packit f574b8
  to workaround linker limitation. - AAC
Packit f574b8
1997-08-22
Packit f574b8
* Fixed typo in LYReadCFG.c when checking for a NOVICE mode default. - JN
Packit f574b8
  (Note that this and other lynx.cfg defaults which have 'o'ptions settings
Packit f574b8
  are overridden when the 'o'ptions are saved to the RC file. - FM)
Packit f574b8
1997-08-21
Packit f574b8
* Tweak to LYHistory.c to better remember last position on page. - KW
Packit f574b8
* Eliminated two more MIME types (application/html and text/x-sgml) from
Packit f574b8
  the Accept header generated by default by setting the q-value to 2.0,
Packit f574b8
  since there are more standard alternatives for these names. - KW
Packit f574b8
* Lower maximum length for generated Accept header lines from 1000 to 252,
Packit f574b8
  to accommodate an incompetent Windows HTTP server. - KW
Packit f574b8
* Changed order of some functions in LYCharUtils.c (no other change there
Packit f574b8
  yet). - KW
Packit f574b8
1997-08-20
Packit f574b8
* Modify top-level install rule to depend on 'all'. - TD
Packit f574b8
* Suppress check for ANSI compiler when we are using gcc. - TD
Packit f574b8
* Use -g3 option in place of -O -g for Ultrix compiler --debug configuration
Packit f574b8
  (request by Hynek Med). - TD
Packit f574b8
* Drop "-lm" library from slang configuration, since it does not seem to
Packit f574b8
  be used. - TD
Packit f574b8
* Add configure --includedir and --oldincludedir values to header search
Packit f574b8
  path for ncurses and slang. - TD
Packit f574b8
* Modify configure checks for ncurses and slang libraries to generate
Packit f574b8
  -L options as required, using new macros CF_FIND_LIBRARY and
Packit f574b8
  CF_LIBRARY_PATH. - TD
Packit f574b8
* Add substitution for CPP in src/makefile.in so that .c.i rule works. - TD
Packit f574b8
* Add configure test for lint program. - TD
Packit f574b8
* Add "make depend" target to generated makefiles.  This is intended only
Packit f574b8
  for use in editing/developing, since many of the header dependencies in
Packit f574b8
  chrtrans are generated during the build process and cannot be determined
Packit f574b8
  by makedepend in advance. - TD
Packit f574b8
* Add configure option --with-zlib. - TD
Packit f574b8
1997-08-19
Packit f574b8
* Tweak of highlight() in LYUtils.c to ensure that split link names with a
Packit f574b8
  soft hyphen are handled identically for slang, VMS curses and Unix curses
Packit f574b8
  when such links are made current. - FM
Packit f574b8
1997-08-17
Packit f574b8
* Use 0.01 rather than 0.001 as the q value for the global wildcard in
Packit f574b8
  Accept headers. - FM
Packit f574b8
* Put up correct makefile for dos port (oops) - WB
Packit f574b8
1997-08-16
Packit f574b8
* Mini tweaks for the win-dos ports.  One fix for the pull down boxes
Packit f574b8
  and the rest mostly maintenance. - WB
Packit f574b8
* Fixed a bug in LYNews.c which caused overwriting of the first three
Packit f574b8
  characters in the Subject for a followup. - FM
Packit f574b8
1997-08-15
Packit f574b8
* Hack in highlight() to preserve a '-' character at the end of line
Packit f574b8
  within anchor text, which can result from splitting at the position
Packit f574b8
  of a ­ or <SHY> or SOFT HYPHEN character. - KW
Packit f574b8
* Tweaks in print_wwwfile_to_fd print_crawl_to_fd to output a soft hyphen
Packit f574b8
  character if it is present at the end of a line.  For -dump, a raw
Packit f574b8
  ISO 8859 SOFT HYPHEN character may be written if the Display Character
Packit f574b8
  Set (default from lynx.cfg or saved value in .lynxrc) is an ISO 8859
Packit f574b8
  character set, but this may be overridden with the -raw toggle.
Packit f574b8
  Otherwise represent soft hyphen with '-' as usual. - KW
Packit f574b8
* Modified the news gateway to try XGTITLE for wildcarded lists of
Packit f574b8
  available newsgroups (e.g., news:bionet.* for the bionet hierarchy,
Packit f574b8
  or news:* for all of its served newsgroups).  If that fails, Lynx
Packit f574b8
  retries with the old behavior of using LIST NEWSGROUPS and parsing
Packit f574b8
  the reply itself for the desired groups.  Note that LIST NEWSGROUPS
Packit f574b8
  can take a wildcarded argument for some nntp servers, but not all,
Packit f574b8
  so we don't risk it. - FM
Packit f574b8
* Fixed a bug in HTHandleAuthInfo() of yesterday's HTNews.c which could
Packit f574b8
  yield an infinite while() loop. - FM
Packit f574b8
* Various tweaks in HTNews.c to HTHandleAuthInfo() and elsewhere, to
Packit f574b8
  keep connections open more often in some common cases of non-fatal
Packit f574b8
  errors, and also avoid trying to use the network socket after some
Packit f574b8
  recognized case of closing by the server.  Only based on some testing
Packit f574b8
  with INN's nnrpd, not on any written specs. - KW
Packit f574b8
1997-08-14
Packit f574b8
* Added nntp authorization (AUTHINFO) handling to the news gateway. - FM
Packit f574b8
* Added a "Loading cfg file '%s'." trace message in LYMain.c to indicate
Packit f574b8
  the absolute path of the configuration (lynx.cfg) file which was used
Packit f574b8
  at startup (if Lynx is invoked with the -trace command line switch). - FM
Packit f574b8
* Added code in HTFWriter.c to avoid calling HTLoadFile() on the temporary
Packit f574b8
  file which results from decompression of a temporary file created by
Packit f574b8
  HTCompressed(), if this would just result in making a copy of the file
Packit f574b8
  and then invoking an external viewer.  Instead the viewer command is
Packit f574b8
  now invoked directly from the HTFWriter_free of the HTCompressed()
Packit f574b8
  stream after decompression. - KW
Packit f574b8
* Added code in HTFWriter.c, HTFile.c, and HTFormat.c to support reading
Packit f574b8
  of gzipped local files directly, using functions from the zlib library.
Packit f574b8
  Note that gzipped files from remote servers are still first copied to
Packit f574b8
  a temporary file before lynx can process them further, and an external
Packit f574b8
  GZIP_PATH command is still needed at least for passing such files to an
Packit f574b8
  external viewer, as well as for various DIRED_SUPPORT File menu functions.
Packit f574b8
  To activate this code, the symbol USE_ZLIB has to be defined, it is
Packit f574b8
  currently not set by the auto-config script.  The zlib library may be
Packit f574b8
  already installed on your system (probably called libz.a or libz.so.1
Packit f574b8
  or similar, the required header files are zlib.h and zconf.h), otherwise
Packit f574b8
  it is available through <http://www.cdrom.com/pub/infozip/zlib/>, it
Packit f574b8
  appears to support all platforms for which lynx is available (including
Packit f574b8
  VMS, DOS, MS Win32).  Note that this library would probably also be
Packit f574b8
  needed if in the future support for the HTTP/1.1 "deflate" content-coding
Packit f574b8
  is added. - KW
Packit f574b8
* Don't send MIME types in Accept headers whose q values are outside of the
Packit f574b8
  allowed range 0.0 <= q <= 1.0 - KW
Packit f574b8
* Tweaks in HTInit.c to use the official names for image/png and image/tiff,
Packit f574b8
  but still support the image/x-* forms. - KW
Packit f574b8
1997-08-13
Packit f574b8
* Tweaks of LYConvertToURL() in LYUtils.c and HTParseInet() in HTTCP.c
Packit f574b8
  to deal more coherently with 'z'ap attempts during gethostbyname()
Packit f574b8
  calls. - FM
Packit f574b8
* Tweaks of split_line() and HText_endAppend() in GridText.c to handle
Packit f574b8
  trimming of spaces from the tails of link names more effectively. - FM
Packit f574b8
* Expanded the OL nesting depth and type counters to track up to 12 list
Packit f574b8
  depths before punting to the lowest negative number.  Note that the
Packit f574b8
  indentations still are limited to 6 nested depths, so use the TYPE
Packit f574b8
  attribute to distinguish OLs with deeper nestings. - FM
Packit f574b8
1997-08-12
Packit f574b8
* Mods of LYMainLoop.c to maintain treatment of a local startfile as
Packit f574b8
  text/html source when it does not have a suffix mapped to that MIME
Packit f574b8
  type and the -force_html switch was used. - FM
Packit f574b8
* Added .phtml to the default suffix mappings for text/html. - FM
Packit f574b8
* Mods of LYCurses.c to avoid using /dev/tty arbitrarily for stdin on
Packit f574b8
  Unix when compiling with slang versions greater than 0.99-35, based
Packit f574b8
  on JED's suggestion to lynx-dev. - FM
Packit f574b8
* Tweaks of HTCheckFnameForCompression() in GridText.c to avoid warnings
Packit f574b8
  from some compilers. - FM
Packit f574b8
1997-08-09
Packit f574b8
* Changed the code of 1997-08-06 which modifies suggested filenames for a
Packit f574b8
  'D'ownload to be more cautious: don't remove a '.gz', '.Z' etc. suffix
Packit f574b8
  if there is no header indication that we have a compressed file.  Not
Packit f574b8
  all servers and gateways (including the internal FTP gateway) detect
Packit f574b8
  and label compressed content reliably. - KW
Packit f574b8
1997-08-08
Packit f574b8
* Mods of HTTP.c so that download requests are converted to presentation
Packit f574b8
  requests for interactive users, and traversal requests are converted to
Packit f574b8
  cancels, when servers return non-success statuses with bodies which
Packit f574b8
  should be displayed to interactive users. - FM
Packit f574b8
* Added the "DosCyrillic (cp866)" display character set to the chartrans
Packit f574b8
  support, and tweaked the other Cyrillic charset tables. - AAC, KW
Packit f574b8
* Tweaked MULTI_SUFFIX support in HTFile.c, so that it now somewhat
Packit f574b8
  works.  Dunno whether it's useful for anybody. - KW
Packit f574b8
1997-08-07
Packit f574b8
* Tweaks of yesterdays mods in GridText.c. - FM
Packit f574b8
* Correct storage class of variables in UCMap.h, from -warn-common linker
Packit f574b8
  option. - TD
Packit f574b8
* Refine configure tests for acs_map, ttytype to accommodate broken linker
Packit f574b8
  on FreeBSD 2.1.5 - TD
Packit f574b8
* Modify README.configure to indicate the associated definitions for
Packit f574b8
  each configure option, as suggested by Klaus Weide. - TD
Packit f574b8
* Correct duplicate declaration of Current_Attr, which Linux linker ignores
Packit f574b8
  (reported by Hynek Med). - TD
Packit f574b8
* Add -G7 option to Ultrix compiler options (request by Hynek Med
Packit f574b8
  <xmedh02@lada.vse.cz>). - TD
Packit f574b8
* Add include for <sys/types.h> to utmp configure test (reported by Andrey
Packit f574b8
  A. Chernov). - TD
Packit f574b8
* Add check for FreeBSD library mytinfo (reported by Andrey A. Chernov
Packit f574b8
  <ache@null.net>). - TD
Packit f574b8
* Modify ./makefile.in so that 'all', the default target, will build the
Packit f574b8
  Lynx executable.  The old 'all' target is retained as "make help". - TD
Packit f574b8
* Modify src/makefile.in to allow development compiles within the src
Packit f574b8
  directory. - TD
Packit f574b8
* Mask spaces in the bkgd (background attribute) calls for color curses to
Packit f574b8
  make the color-style code work better with SVr4 curses. - TD
Packit f574b8
* Change workaround for 8-bit acs characters by adding to the initialization
Packit f574b8
  a loop forcing the entries of acs_map[] to 8-bits. - TD
Packit f574b8
* Many minor tweaks for the DJGPP version by DK - WB
Packit f574b8
* A rename of about_lynx_dev.html to lynx_dev.html for 8.3 systems - WB
Packit f574b8
1997-08-06
Packit f574b8
* Modified HTMIME.c and LYCharUtils.c so that setting of suggested filenames
Packit f574b8
  via a filename=value pair in Content-Disposition headers and META elements
Packit f574b8
  is not restricted to the file disposition type. - FM
Packit f574b8
* Mods in GridText.c, LYGetFile.c and HTAnchor.c so that suggested filenames
Packit f574b8
  will have appropriate suffixes when 'd'ownloading, based on whether or not
Packit f574b8
  the file is gzipped or Unix compressed. - FM
Packit f574b8
1997-08-05
Packit f574b8
* Mods of the lead relative symbolic element stripping for http/https
Packit f574b8
  URLs in cases for which they would persist when resolved to an
Packit f574b8
  absolute URL.  The latest URL draft is ambiguous about whether this
Packit f574b8
  should be considered an error, and leaves the handling of it up to the
Packit f574b8
  UA.  So we now get rid of all lead relative symbolic elements from the
Packit f574b8
  resolved http/https URLs, but no others, and still issue a Bad Partial
Packit f574b8
  Reference statusline message. - FM
Packit f574b8
* Tweaks of title handling in LYMainLoop.c and LYShowInfo.c so that the
Packit f574b8
  known title, or link name associated with ACTIVATE-ion, form submission,
Packit f574b8
  or a HEAD request, will be used in the INFO ('=') display. - FM, KW
Packit f574b8
1997-08-04
Packit f574b8
* Fixed header parsing in HTMIME.c so that "Safe:" is recognized. - KW
Packit f574b8
* Changed confirmation prompts for HEAD (']') commands acting on a POST
Packit f574b8
  document, to reflect the fact that the POST request body will not
Packit f574b8
  actually be submitted in a HEAD request. - KW
Packit f574b8
* Reset LYCancelDownload to FALSE at top of getfile(), to prevent delayed
Packit f574b8
  effect which can otherwise occur. - KW
Packit f574b8
* Block URLs with port numbers outside the range of valid numbers in
Packit f574b8
  getfile(). - KW
Packit f574b8
1997-08-03
Packit f574b8
* Changed the NSL_FORK code in HTTCP.c so that the gethostbyname() call
Packit f574b8
  is retried without forking if the child process exits without returning
Packit f574b8
  enough data.  Also added trace output, to show whether something
Packit f574b8
  unusual has happened to the child process. - KW
Packit f574b8
* The IETF has indicated intent to adopt KW's "status 307" proposal for
Packit f574b8
  dealing with the status 302 problems, so HTTP.c and HTAlert.c implement
Packit f574b8
  that now.  The 302 status is "General (temporary) Redirection" which
Packit f574b8
  can be handled as 303 at the UA's discretion, so we do that in all cases,
Packit f574b8
  rather than prompting the user whether to do that when the 302 is for
Packit f574b8
  a POST submission.  The 307 (and 305) for POST submissions invokes a
Packit f574b8
  prompt whether to P)roceed or C)ancel, without the Use G)ET option.
Packit f574b8
  The 301 is treated as permanent, normally, but for POST submissions
Packit f574b8
  still is treated as temporary and invokes a prompt which includes the
Packit f574b8
  Use G)ET option, because scripts written to empirical behavior may
Packit f574b8
  still be expecting that (it's virtually never encountered in redirections
Packit f574b8
  of POSTs, though, because the document containing the form typically
Packit f574b8
  is redirected, so the user only sees the form if a local copy has been
Packit f574b8
  made, and it would be best to C)ancel and get a new local copy of the
Packit f574b8
  document from the correct http/https URL, to serve as a BASE for the
Packit f574b8
  form's ACTION). - FM
Packit f574b8
* Changed the typedef for HTCoord in HTStyle.h from float to int, for
Packit f574b8
  significant speedup of rendering on machines without floating-point
Packit f574b8
  hardware based on DW's, KW's, BL's analyses.  Note that this should
Packit f574b8
  be taken into account when/if external style sheet support is added
Packit f574b8
  for page formatting (e.g., for optimum handling by speech synthesizers
Packit f574b8
  and braille interfaces), beyond the current emphasis on colorizing. - FM
Packit f574b8
1997-08-02
Packit f574b8
* The cookie pre-draft has been adopted as an IETF ID, see
Packit f574b8
  ftp://ds.internic.net/internet-drafts/draft-ietf-http-state-man-mec-03.txt
Packit f574b8
  so the code for combining Set-Cookie and Set-Cookie2 headers has been
Packit f574b8
  eliminated in LYCookie.c (see mods for 1997-07-31). - FM
Packit f574b8
1997-08-01
Packit f574b8
* Fixed typos in LYCookie.c. - FM
Packit f574b8
1997-07-31
Packit f574b8
* Mods of the cookie handling based on the latest pre-draft.  Add a
Packit f574b8
  Cookie2: $Version="1" header in any requests that use historical
Packit f574b8
  cookies in the Cookie: request header, so that modern servers will
Packit f574b8
  use Set-Cookie2 headers with modern cookies in their subsequent
Packit f574b8
  replies.  Limit the scheme for commentURLs to http or https, not
Packit f574b8
  just to network servers (e.g., gopher is now barred too).  Include
Packit f574b8
  a $Port attribute in modern Cookie request headers if it was set
Packit f574b8
  via a server's reply header.  The pre-draft indicates intention
Packit f574b8
  to drop the requirement to combine Set-Cookie2 and Set-Cookie
Packit f574b8
  headers if both types were received.  We're still combining them,
Packit f574b8
  but based on bona fide one-to-one correspondence checks (which were
Packit f574b8
  not specified in the earlier draft), so that's OK, and we'll get
Packit f574b8
  rid of that needless overhead if the current pre-draft holds up
Packit f574b8
  and becomes an official IETF draft. - FM
Packit f574b8
* Added a -nocc command line switch for disabling the Cc: prompt
Packit f574b8
  for self copies of mailings.  Note that this does not disable
Packit f574b8
  any CCs that have been incorporated within a mailto URL or form
Packit f574b8
  ACTION. - FM
Packit f574b8
* Added a NO_FORCED_CORE_DUMP compilation (userdefs.h) and configuration
Packit f574b8
  (lynx.cfg) symbol, normally set FALSE, which if changed to TRUE will
Packit f574b8
  block forced core dumps on Unix via abort() calls on fatal errors or
Packit f574b8
  assert() calls on potentially fatal error checks.  Also added a -core
Packit f574b8
  command line switch for toggling the default. - FM
Packit f574b8
* Updated the documentation and 'h'elp concerning the new symbol and
Packit f574b8
  switches. - FM
Packit f574b8
1997-07-30
Packit f574b8
* Added workaround for curses with broken handling of 8-bit acs characters
Packit f574b8
  (which may be used for drawing of popup boxes) to LYCurses.h.  This fixes
Packit f574b8
  box characters and attributes/colors for solaris curses used with linux
Packit f574b8
  console as terminal.  Currently it is not automatically enabled or
Packit f574b8
  configured, but can be enabled by -DBROKEN_CURSES_8BIT_ACS. - KW
Packit f574b8
* Mod in HTFWriter.c to change the statusline appropriately when an
Packit f574b8
  uncompression has completed. - FM
Packit f574b8
* Fixed code in LYOptions.c for the case when NEVER_ALLOW_REMOTE_EXEC was
Packit f574b8
  not defined and ALLOW_USERS_TO_CHANGE_EXEC_WITHIN_OPTIONS was defined. - KW
Packit f574b8
1997-07-28
Packit f574b8
* Avoid traversing the full list of anchors each time when HText_endAnchor()
Packit f574b8
  is called with a non-zero anchor number, if that number corresponds to
Packit f574b8
  the last anchor added to the HText structure.  It is is the most common case
Packit f574b8
  that HText_endAnchor() refers to the last anchor, and the only case that
Packit f574b8
  could be handled correctly before FM's changes of 1997-05-13.  Avoiding
Packit f574b8
  the loop over the list of anchor can improve loading time significantly,
Packit f574b8
  especially for large files with thousands of anchors. - KW
Packit f574b8
* Add progress display and 'z'appability for loading of local files.
Packit f574b8
  They are activated only after a few hundred k bytes have been read.
Packit f574b8
  Added define for HT_PARTIAL_CONTENT to HTUtils.h, used in above.
Packit f574b8
  (The WWW Library 5.x uses HTTP-ish status codes like this throughout.
Packit f574b8
  I find it much less confusing than -29998 and so on, and there's no
Packit f574b8
  conflict in this case. - KW
Packit f574b8
* Minor LYUtils.c tweaks. - KW
Packit f574b8
1997-07-27
Packit f574b8
* Changed code for checks in LYGetFile.c for URL schemes which should
Packit f574b8
  be rejected when received as redirections, added checks for more
Packit f574b8
  schemes. - FM
Packit f574b8
* Rename top-level Makefile to Makefile.old (it's obsolete) - TD
Packit f574b8
* Reduce top-level targets to one, 'lynx' - TD
Packit f574b8
* Move comments describing DirEd to README.configure from makefile.in,
Packit f574b8
  leaving only the definitions that haven't been integrated yet. - TD
Packit f574b8
* Add configure options to enable/disable DirEd and its associated modes. - TD
Packit f574b8
* Add configure option to enable/disable char-trans support. - TD
Packit f574b8
* Correct sense of autoconf'd symbol for size-change. - TD
Packit f574b8
* Accommodate systems with obsolete ncurses.h in configure tests. - TD
Packit f574b8
1997-07-26
Packit f574b8
* Changed the variable hline in LYUtils.c to hLine, so as not to conflict
Packit f574b8
  with a curses function or macro. - FM
Packit f574b8
* Fixed an esoteric glitch in highlight() of LYUtils.c which could cause
Packit f574b8
  the last character of a current link to receive WHEREIS search target
Packit f574b8
  emphasis if it happened to be the first character of the target (though
Packit f574b8
  perfection is unattainable, we should strive to achieve it :). - FM
Packit f574b8
* Changed the default value for STRIP_DOTDOT_URLS (lynx.cfg) to TRUE. - KW
Packit f574b8
* Made some of the additional checks introduced yesterday in LYMainLoop.c
Packit f574b8
  for invalid links to internal dired URLs more strict, as they probably
Packit f574b8
  were intended. - KW
Packit f574b8
* Added checks for some internal URL types, which should be rejected
Packit f574b8
  if received in a server redirection, to LYGetFile.c.  Maybe more types
Packit f574b8
  should be added to the list. - KW
Packit f574b8
1997-07-25
Packit f574b8
* Map charsets of the form "ibmNNN<...>" to "cpNNN<...>" in UCdomap.c
Packit f574b8
  if not already recognized.  Also recognize "windows-1252". - KW
Packit f574b8
* Compared the handling of 4-way "show color (&)" in the 'o'ptions menu
Packit f574b8
  against FM's implementation, and made some changes (mostly in formatting,
Packit f574b8
  variable and constant names and usage, ordering of statements) to aid
Packit f574b8
  further comparison.  The logic is still messy and needs further cleanup
Packit f574b8
  and simplification, but seems to do what it should.  Note that this
Packit f574b8
  also handles color-curses, in a (hopefully) reasonable way.  Command
Packit f574b8
  line flags -nocolor and (if using slang) -color override a preference
Packit f574b8
  found in the RC file.  See updated "Lynx Users Guide" file and the
Packit f574b8
  comments written to the RC file.
Packit f574b8
  Documentation changes adapted from FM's changes. - KW
Packit f574b8
* Mods of the DIRED_SUPPORT to check the actual URLs of temporary files
Packit f574b8
  rather than just their titles when filtering for spoofing attempts via
Packit f574b8
  external files with internal URLs.  Also recast the PRIVATE my_spawn()
Packit f574b8
  to a PUBLIC LYExecv(), so that it can be used by any module (though
Packit f574b8
  presently it's still used only by LYLocal.c functions). - FM
Packit f574b8
* Tweaks of LYCharUtils.c to handle Set-Cookie HTTP-EQUIVs in META elements
Packit f574b8
  without risking crashes in LYCookie.c or HTParse.c. - FM
Packit f574b8
1997-07-24
Packit f574b8
* Made "show color" option a 4-way choice, if compiled with color support
Packit f574b8
  and if saving of options to a .lynxrc file is allowed. - KW
Packit f574b8
* Made changing file permissions with DIRED_SUPPORT work again; one of
Packit f574b8
  the recently added checks in LYMainLoop.c was too restrictive.
Packit f574b8
  Added protection to permit_location in LYLocal.c, similar to the changes
Packit f574b8
  of 1997-06-24 to LYDownload.c. - KW
Packit f574b8
* Generate CANCELLED message when editing of a string value on the Options
Packit f574b8
  Screen has been cancelled (typically with ^G), instead of an
Packit f574b8
  inappropriate VALUE_ACCEPTED statusline. - KW
Packit f574b8
1997-07-23
Packit f574b8
* Tweaks of the strtok() calls for textarea values in HTML.c, so that they
Packit f574b8
  will never be repeated after NULL has been returned, and thus won't cause
Packit f574b8
  linux-alpha to crash. - FM
Packit f574b8
* Make -nocolor command line flag work if compiled with slang.  Note that
Packit f574b8
  -nocolor is strong, it overrides all other reasons that might otherwise
Packit f574b8
  turn color on. - KW
Packit f574b8
* Tweaks in LYCurses.c to ensure that slang library and Lynx flags for
Packit f574b8
  whether color support is on stay in register. - FM
Packit f574b8
* Change the default in userdefs.h for SHOW_COLOR to FALSE for USE_SLANG.
Packit f574b8
  Because of the different logic used for LYShowColor in the curses code
Packit f574b8
  vs. slang code, setting SHOW_COLOR to TRUE makes it difficult to invoke
Packit f574b8
  a binary compiled with slang so that color is not used on startup
Packit f574b8
  (except by using -nocolor).
Packit f574b8
  Note that reading show_color from .lynxrc is still commented out. - KW
Packit f574b8
* There is now a "trailing comment" handler in LYReadCFG.c.  It treats '#'
Packit f574b8
  as a comment token only if it is somewhere after the last colon for the
Packit f574b8
  lynx.cfg entry and is preceded by a space or tab. - FM
Packit f574b8
* Added TT to the Utterly Tag and Attribute Soup group of HTML elements. - FM
Packit f574b8
  (applies only to "old" DTD in this code set, as usual - KW)
Packit f574b8
1997-07-22
Packit f574b8
* Modify curses popups in LYForms.c and LYOptions.c to use background color
Packit f574b8
  from main window - TD
Packit f574b8
* Ifdef'd out the logic that saves "show color" to .lynxrc, since it is
Packit f574b8
  deemed to be confusing to users - TD
Packit f574b8
* Merged FM's changes to the "show color (&)" toggle to save to .lynxrc,
Packit f574b8
  support slang, update online documentation - TD
Packit f574b8
* Add error message to show actual context in error-checking for color
Packit f574b8
  parsing suggested by Filip M Gieszczykiewicz - TD
Packit f574b8
* Check for/suppress duplicate -lsocket in network library configure - TD
Packit f574b8
* Remove HP-UX snake2/snake3 targets from makefile.in - TD
Packit f574b8
* Add configure script case for 'sequent', drop ptx, ptx2 targets from
Packit f574b8
  makefile.in - TD
Packit f574b8
* Add logic to configure script handling of slang to suppress spurious
Packit f574b8
  -Ipredefined when header location is given in $CFLAGS - TD
Packit f574b8
1997-07-21
Packit f574b8
* Check for lynx_uses_color and LYShowColor in lynx_start_status_color()
Packit f574b8
  and lynx_stop_status_color() of LYCurses.c so that the statusline
Packit f574b8
  will appear reverse (or otherwise highlighted if the terminal doesn't
Packit f574b8
  support reverse), if color support is compiled in but not currently
Packit f574b8
  used. - KW
Packit f574b8
* Added comments on color usage to lynx.cfg. - KW
Packit f574b8
1997-07-20
Packit f574b8
* Added command-line option "-nocolor" to disable color on terminals that
Packit f574b8
  would otherwise support it.  Added options toggle for colors, tested
Packit f574b8
  with ncurses. - TD
Packit f574b8
* Remove option value from configure option "--with-color-styles". - TD
Packit f574b8
* Correct background of popups in LYOptions.c - TD
Packit f574b8
* Add configure check for compiler options to enable prototypes - TD
Packit f574b8
* Remove IRIX "-cckr" compiler flags. - TD
Packit f574b8
* Correct whitespace as per LPS: LYCurses.c, LYOptions.c - TD
Packit f574b8
* Tweaks of LYMainLoop.c in the code controlling how the document is reloaded
Packit f574b8
  due to any changes in the 'o'ption menu which require a new rendering of
Packit f574b8
  the document (but still without forcing a proxy cache refresh when that is
Packit f574b8
  inappropriate; see the 1997-05-26 mods). - FM
Packit f574b8
1997-07-18
Packit f574b8
* Mods in LYexit.c and LYCurses.c to ensure restoration of stderr (if it
Packit f574b8
  was changed for output to the trace log) on all exits. - BL, FM
Packit f574b8
* Include an unsigned char typecast in the HASH_FUNCTION definition for
Packit f574b8
  HTAtom.c - CK
Packit f574b8
* Modified change to is_url() of 1997-07-13 to check for the slash after
Packit f574b8
  stripping any lead space characters. - FM
Packit f574b8
1997-07-16
Packit f574b8
* Added the Windows Cyrillic display character set. - AAC
Packit f574b8
  (Andrey A. Chernov <ache@null.net>)
Packit f574b8
1997-07-15
Packit f574b8
* Added support for a commentURL attribute in cookies.  This attribute is
Packit f574b8
  under discussion in the HTTP-WG and not presently in the draft (see the
Packit f574b8
  1997-07-09 mods for the draft's URL), but would be extremely advantageous
Packit f574b8
  for multi-lingual and non-English-speaking sites because the comment
Packit f574b8
  attribute can have only ASCII characters in its value, whereas a request
Packit f574b8
  for the comment via a URL in turn allows use of charset and language
Packit f574b8
  negotiation for what the server returns.  The value of the commentURL is
Packit f574b8
  resolved and retained only if it's scheme points to a server (i.e., file
Packit f574b8
  and special lynx URLs are rejected), and if it is retained, is included
Packit f574b8
  as a link in the Cookie Jar Page.  If commentURL is not ultimately
Packit f574b8
  included in the revised State Management RFC, sites which wish to use
Packit f574b8
  it could do a User-Agent check for Lynx (and any other browsers which
Packit f574b8
  implement it). - FM
Packit f574b8
* Fixed a typo in HTCompressed() of HTFWriter.c so that the last dot in a
Packit f574b8
  tentative temporary filename is sought via strrchr(), as is done for
Packit f574b8
  HTSaveAndExecute() and HTSaveToFile(). - KW
Packit f574b8
1997-07-14
Packit f574b8
* Yet more tweaks of the cookie support.  We include $PATH and/or $DOMAIN
Packit f574b8
  attribute/value pairs in Cookie request headers only when their values
Packit f574b8
  were set explicitly via a server's Set-Cookie and/or Set-Cookie2 reply
Packit f574b8
  headers (and the cookies are $VERSION="1" or greater). - FM
Packit f574b8
* Added support for IFRAME homologous (but not identical) to that for FRAME.
Packit f574b8
  It is handled as a block with a blank line before and after style, and
Packit f574b8
  with margins and default alignment inherited from the containing block,
Packit f574b8
  division, or span.  The IFRAME rendition always begins with an emphasized
Packit f574b8
  "IFRAME: " label followed by the NAME attribute's value, if present, or
Packit f574b8
  the URL for the SRC attribute, serving as a link for the SRC, followed
Packit f574b8
  on a new line by any rendered IFRAME content. - FM
Packit f574b8
* Added handling of LEGEND elements.  The content is rendered in place,
Packit f574b8
  as for CAPTION elements, since we don't have multiple pass inlining
Packit f574b8
  capabilities.  Hopefully, if the LEGEND is intended to be ALIGN-ed at
Packit f574b8
  the "top" or "bottom" of the associated insert, the author will place
Packit f574b8
  the LEGEND element above or below it, respectively.  Note that LABEL
Packit f574b8
  elements similarly are rendered in place, and will be displayed
Packit f574b8
  interpretably only if the INPUT to which the LABEL's "for" attribute
Packit f574b8
  refers, immediately follows the LABEL element. - FM
Packit f574b8
* Added recognition of BUTTON elements, and handling of them (sorta :)
Packit f574b8
  when they are TYPE="submit" or TYPE="reset" in forms.  The default
Packit f574b8
  "submit" or "reset" string, or the value of a VALUE attribute, if
Packit f574b8
  present, is embedded in parentheses and used for the link, and the
Packit f574b8
  content is simply rendered and displayed in place.  Until we see what
Packit f574b8
  kind of markup the real world puts in such elements, it's too risky
Packit f574b8
  to try to use that rendition as the link.  Also, the W3C's HTML 4.0
Packit f574b8
  draft presently is very fuzzy about whether, and if so, when, an IMG
Packit f574b8
  element in the BUTTON content should be treated as an image map, so
Packit f574b8
  the present code doesn't try to cast any submitted BUTTON name/value
Packit f574b8
  pairs into the format for INPUTs with TYPE="image".  When the BUTTON
Packit f574b8
  is a script control rather than submit or reset button, a "[BUTTON]"
Packit f574b8
  pseudo-ALT is inserted to warn users of its presence, but the form
Packit f574b8
  is not disabled.  The W3C's HTML 4.0 draft makes scripting intrinsic,
Packit f574b8
  with no SGML-based fallbacks if it is not available or is disabled by
Packit f574b8
  security-conscious sites.  Dave Raggett of the W3C replied to criticisms
Packit f574b8
  of this in www-html@w3c.org by saying that he wished it have been
Packit f574b8
  otherwise, but "market forces" prevailed (Sigh...) - FM
Packit f574b8
1997-07-13
Packit f574b8
* Changed is_url() to return immediately if the string to check starts with
Packit f574b8
  a slash character.  This prevents some false positives if the string
Packit f574b8
  contains ':' characters. - KW
Packit f574b8
* Added support for "MACOS AppleShare IP FTP Server" to HTFTP.c.
Packit f574b8
  Only based on and tested with (the current incarnation of)
Packit f574b8
  <ftp://www.unicode.org/>. - KW
Packit f574b8
1997-07-12
Packit f574b8
* Correct some build issues with the merge (ifdefs for the curses modules)
Packit f574b8
  as well as minor fix for makefile distclean rule. - TD
Packit f574b8
* More refinements of the cookie support in relation to recent discussions
Packit f574b8
  in the HTTP-WG, and for more fully effective protection against denial
Packit f574b8
  of service attacks.  If the same attribute appears more than once for
Packit f574b8
  the same cookie, ensure that the first instance will be used.  Limit
Packit f574b8
  the total number of cookies across Set-Cookie and Set-Cookie2 headers
Packit f574b8
  to 50 per server reply, and each cookie to a maximum of 4096 bytes. - FM
Packit f574b8
1997-07-11
Packit f574b8
* Added support for hexadecimal character references (&#x;;) as proposed
Packit f574b8
  in the W3C HTML 4.0 draft. - FM
Packit f574b8
1997-07-10
Packit f574b8
* Synchronized the development code against the fotemods patches up to
Packit f574b8
  1997-07-06 (relevant changes listed below, as usual).  Note that FM
Packit f574b8
  has now included the chartrans code, but has eliminated conditional
Packit f574b8
  compilation of it; however, in this code set setting "-DEXP_CHARTRANS"
Packit f574b8
  at compile time is still necessary (but compilation without it has not
Packit f574b8
  been tested). - KW
Packit f574b8
* Fixed character counting logic in display_line() for lines where
Packit f574b8
  soft hyphens (­ or <SHY> or a soft-hyphen character) are used
Packit f574b8
  for their intended purpose. - KW
Packit f574b8
  NOTE: The W3C HTML 4.0 draft explicitly specifies handling of ­,
Packit f574b8
  ­ (and now also ­) in the manner long implemented by Lynx
Packit f574b8
  (i.e., as a truly soft hyphen), and not in the brain-dead manner
Packit f574b8
  implemented by Netscape and MSIE. - FM
Packit f574b8
* Various tweaks of the cookie support to handle likely (based on past
Packit f574b8
  experience in the real world :) abuses of Set-Cookie and Set-Cookie2
Packit f574b8
  headers from servers.  Most importantly, apply sanity checks to the
Packit f574b8
  values of port attributes so that any unquoted port list will not be
Packit f574b8
  misinterpreted as the start of a new cookie within the port list.
Packit f574b8
  Also added code to fold (CR LF TAB) Cookie request headers if they
Packit f574b8
  contain a long sequence of cookies which would exceed 1024 bytes on
Packit f574b8
  one line, since some servers suffer buffer overruns and crash in such
Packit f574b8
  cases. - FM
Packit f574b8
* Modified HTNews.c to use HTmmdecode() and HTrjis() for the Subject and
Packit f574b8
  Author strings in listings of news articles when using a Japanese display
Packit f574b8
  character set. - HN
Packit f574b8
1997-07-09
Packit f574b8
* Massive updating and revamping of the cookie support in accordance with
Packit f574b8
  http://www.ics.uci.edu/pub/ietf/http/draft-ietf-http-state-man-mec-02.txt
Packit f574b8
  which is scheduled to replace RFC 2109 on July 15, 1997.  Noteworthy
Packit f574b8
  changes are that (1) the blanket port restriction is now lifted, and
Packit f574b8
  sharing of cookies among servers with matching domains but different
Packit f574b8
  ports is blocked only if a port attribute was included in the
Packit f574b8
  Set-Cookie2 header (or Set-Cookie header, though it's not expected
Packit f574b8
  there), with a value which defaults to the request's port, but can
Packit f574b8
  be a comma separated list of ports, and (2) the blanket restriction
Packit f574b8
  on sharing of SSL-encrypted (https) cookies with http servers is
Packit f574b8
  lifted, and normally depends on the Set-Cookie or Set-Cookie2 header
Packit f574b8
  having included a secure attribute.  However, a configuration option
Packit f574b8
  (see lynx.cfg) to FORCE_SSL_COOKIES_SECURE is now available, and the
Packit f574b8
  compilation or configuration default can be toggled via a -force_secure
Packit f574b8
  command line switch. - FM
Packit f574b8
* Make NOCACHE ('x' key) work as expected from history list for internal
Packit f574b8
  links. - KW
Packit f574b8
* Removed bogus checking for a config file in home directory which had
Packit f574b8
  been introduced into the development code. - KW
Packit f574b8
1997-07-08
Packit f574b8
* Synchronized the development code against the fotemods patches up to
Packit f574b8
  1997-06-24 - TD, KW
Packit f574b8
1997-07-06
Packit f574b8
* Implemented popup windows for the 'o'ptions menu, homologous to those
Packit f574b8
  for SELECT blocks in forms.  They are implemented when select_popups
Packit f574b8
  is on, and include WHEREIS search and 123[g,p] features (very useful
Packit f574b8
  for navigating the choice list of 28 display character sets :).  Use
Packit f574b8
  the F_LINK_NUM command ('0') to invoke the prompt for a choice list
Packit f574b8
  number when in NUMBERS_AS_ARROWS mode.  The popups are not invoked for
Packit f574b8
  the simple, binary choice options.  Also modified the options menu so
Packit f574b8
  that the cursor is positioned to the left of choices when show_curser
Packit f574b8
  is on (but it is still positioned initially at the endings of strings
Packit f574b8
  when the line editor is invoked for options that have user-entered
Packit f574b8
  values). - FM
Packit f574b8
1997-07-04 (KaBoom! :)
Packit f574b8
* Mods of HTMIME.c and HTFile.c to ignore Content-Type parameters other
Packit f574b8
  than charset when charset is not present, as we do when it is present
Packit f574b8
  and we know we can handle it. - FM
Packit f574b8
* Fixed bug in LYNews.c which could cause Lynx to crash when posting or
Packit f574b8
  sending followups to news groups and the Organization header was
Packit f574b8
  obtained from the /etc/organization file. - FM
Packit f574b8
* Fixed bug in LYEdit.c which could cause Lynx to crash when an editor
Packit f574b8
  to which a line number is passed as an argument is used and there are
Packit f574b8
  no links on the current page of the document to be edited. - FM
Packit f574b8
* Added information about the new $USER feature to the comments about
Packit f574b8
  TEMP_SPACE in userdefs.h. - FM
Packit f574b8
1997-07-03
Packit f574b8
* Tweaks of change_sug_filename() in LYUtils.c to make protections against
Packit f574b8
  buffer overruns explicit within the function. - FM
Packit f574b8
* Tweaks of the #ifdef'ing in HTTCP.c. - FM
Packit f574b8
1997-07-02
Packit f574b8
* Mods in LYDownload.c and LYPrint.c to treat a suggested output file
Packit f574b8
  entry of "/dev/null" on Unix, and "nl:" or "/nl/" paths on VMS (case
Packit f574b8
  insensitive), as a cancel (^G). - FM
Packit f574b8
* Mods in LYGetFile.c to include URLs with content from a form submission
Packit f574b8
  with method GET in the group for which Referer headers are never sent,
Packit f574b8
  because the content might include private (e.g., password or credit
Packit f574b8
  card) information which should not be visible in Referer logs. - FM
Packit f574b8
* Added -G 7 to the LYFLAGS and MCFLAGS for the ultrix and ultrix-slang
Packit f574b8
  Makefile targets when using the native ultrix compiler. - HM
Packit f574b8
* Added -DNSL_FORK to the LYFLAGS for all of the solaris2 and Linux
Packit f574b8
  targets in Makefile. - FM
Packit f574b8
* The above two changes don't affect the makefile used by auto-config - KW
Packit f574b8
1997-06-30
Packit f574b8
* Removed a redundant declaration in UCdomap.c which was causing some
Packit f574b8
  compilers to balk. - FM
Packit f574b8
* Fixed typos in SGML.c which could cause echoing of numeric character
Packit f574b8
  references for some of the display character sets. - FM
Packit f574b8
1997-06-29
Packit f574b8
* Updated lynx.hlp, lynx.man and the online 'h'elp concerning the chartrans
Packit f574b8
  support. - FM
Packit f574b8
1997-06-26
Packit f574b8
* Tweak of the "tag and attribute soup" parsing mods in HTML.c so that the
Packit f574b8
  PLAIN attribute works for UL blocks again. - FM
Packit f574b8
* More tweaks of LYMainLoop.c to issue informative statusline messages
Packit f574b8
  about attempts to ACTIVATE, DOWNLOAD, or submit URLs or ACTIONs which
Packit f574b8
  are disallowed in the current context and destined to fail, rather than
Packit f574b8
  acting on them and generating actual failures. - FM
Packit f574b8
* Mods of LYmktime() in LYUtils.c to support dd-mm-yyyy format for expires
Packit f574b8
  headers and cookie attributes. - FM
Packit f574b8
* Oops, hadn't included checks for whether there are links on the page
Packit f574b8
  in this morning's LYMainLoop.c mods to ensure appropriate statusline
Packit f574b8
  messages for attempts to bookmark special URLs that can't be bookmarked,
Packit f574b8
  which could yield a crash it there aren't any.  The checks are in there
Packit f574b8
  now. - FM
Packit f574b8
* Added ability to bookmark links from the Lynx List Page, as from the
Packit f574b8
  Visited Links Page, but not for those pages, themselves, since they
Packit f574b8
  are temporary files.  Note that Lynx List Page links will not have
Packit f574b8
  the documents' titles, as do those in the Visited Links Page, unless
Packit f574b8
  you've visited them before invoking the Lynx List Page. - FM
Packit f574b8
* Added explicit protections against buffer overruns in the LYDownload.c
Packit f574b8
  handling of suggested filenames. - FM
Packit f574b8
* Changes in LYCurses.c, GridText.c, HTML.c, and LYUtils.c, and smaller
Packit f574b8
  changes to some other files, to fix problems with RP's style code.
Packit f574b8
  Color leaking should now be at least much reduced, and some possible
Packit f574b8
  crashes avoided. - KW
Packit f574b8
1997-06-24
Packit f574b8
* Mods in LYDownload.c to check whether the File= field in a LYNXDOWNLOAD
Packit f574b8
  URL has the value that was inserted into the URL via the most recent
Packit f574b8
  download options menu.  This prevents spoofing with arbitrary LYNXDOWNLOAD
Packit f574b8
  URLs entered via the 'g'oto or ECGOTO commands, or ACTIVATE-ed in a file
Packit f574b8
  other than the most recent download options menu which was created by
Packit f574b8
  Lynx internally. - FM
Packit f574b8
* Mods in LYMainLoop.c to ignore LYNXCOOKIE, LYNXDIRED, LYNXDOWNLOAD, and
Packit f574b8
  LYNXPRINT URLs if entered via a 'g'oto or ECGOTO command, and to issue
Packit f574b8
  a statusline message explaining that the special URL is not allowed as a
Packit f574b8
  goto.  This is just for informational purposes, and the above anti-spoof
Packit f574b8
  mod is not dependent on it. - FM
Packit f574b8
1997-06-23
Packit f574b8
* remove "Styles" identifier from Lynx version string in userdefs.h
Packit f574b8
  since it causes "patch-o-matic" to choke. - JES
Packit f574b8
1997-06-20
Packit f574b8
* Now that we add or subtract attributes for Unix FANCY_CURSES, as for VMS
Packit f574b8
  curses and slang, the 1997-05-30 mods based on LE's patch for keeping track
Packit f574b8
  of whether links occur in an underlining context, and if so, restoring it
Packit f574b8
  when a current link is made non-current, should be extended to FANCY_CURSES
Packit f574b8
  as well.  So they are extended, now, in highlight() of LYUtils.c. - FM
Packit f574b8
* Added code in LYNewsPost() of LYNews.c for converting any EUC or SJIS to
Packit f574b8
  JIS (ISO-2022-JP) in posts or followups to Usenet news groups if the
Packit f574b8
  display character set is "Japanese (EUC)" or "Japanese (SJIS)".  The mods
Packit f574b8
  need testing by Japanese users, because the TO_JIS() function I added
Packit f574b8
  long ago in SGML.c has not actually been used before. - FM
Packit f574b8
* Modified the hack in LYPrint.c for mailing HTML source so that it never
Packit f574b8
  appends a charset parameter to the "text/html" value of the Content-Type
Packit f574b8
  header if compiled without chartrans enabled. - FM, KW
Packit f574b8
1997-06-18
Packit f574b8
* Added a check for nonsense LINES and COLS values in setup() of LYCurses.c,
Packit f574b8
  homologous to the check in size_change() of LYUtils.c, and set LYlines and
Packit f574b8
  LYcols to the 80x24 default if they're nonsense.  The slang library and
Packit f574b8
  most curses implementations do the equivalent themselves, but we may as
Packit f574b8
  well make sure it's done. - FM
Packit f574b8
* Tweaks of the anti-spoof mods in HTFWriter.c for additional protection
Packit f574b8
  against extra %s entries in viewer command mappings. - FM
Packit f574b8
1997-06-17
Packit f574b8
* Came up with a low overhead way to restore the emphasis for WHEREIS
Packit f574b8
  search targets when links are made current or non-current and the
Packit f574b8
  target string starts before and/or extends past the end of the link
Packit f574b8
  name (hightext or hightext2) string (see 1997-06-14 mods), so the
Packit f574b8
  restoration works in that case as well, now. - FM
Packit f574b8
1997-06-14
Packit f574b8
* Fixed a longstanding bug in highlight() of LYUtils.c which caused seeking
Packit f574b8
  of a column position less than 0 and strange behavior when a link is made
Packit f574b8
  current, if show_cursor is on and the link begins at column 0 (as can
Packit f574b8
  happen in PRE blocks).  We now position the cursor on the first character
Packit f574b8
  of such links, so the current link will remain clear for those with speech
Packit f574b8
  or braille interfaces. - FM
Packit f574b8
* Added functions in LYCurses.c, along the lines of those in the development
Packit f574b8
  code, so that the [w]start_foo() and [w]stop_foo() functions no longer
Packit f574b8
  just replace character attributes for Unix FANCY_CURSES, but now add or
Packit f574b8
  subtract them as for VMS curses and slang. - FM
Packit f574b8
* More mods in GridText.c and LYUtils.c so that the handling of WHEREIS
Packit f574b8
  search target emphasis when links are made current and non-current is the
Packit f574b8
  full equivalent for Unix FANCY_CURSES of that for VMS curses and slang.
Packit f574b8
  Note that the restoration of search target emphasis does not succeed if
Packit f574b8
  the hit started before or extends beyond the link name (hightext or
Packit f574b8
  hightext2 string).  What it would take to succeed in that case as well
Packit f574b8
  doesn't seem worth the overhead, but I'm still thinking about it.  Also
Packit f574b8
  note that we still do not emphasize search target hits, but only do link
Packit f574b8
  or page re-positioning, for Unix curses when only standout() and standin()
Packit f574b8
  are supported.  In that case, standout() is being used for all links,
Packit f574b8
  including the current (with the latter indicated via cursor position by
Packit f574b8
  turning show_cursor on), so we don't want to create a totally confusing
Packit f574b8
  situation by using standout() for search target hits as well.  The code
Packit f574b8
  is still designed to degrade gracefully when the terminal does not have
Packit f574b8
  the capabilities of the curses or slang with which Lynx was built. - FM
Packit f574b8
1997-06-13
Packit f574b8
* Tweak of yesterday's LYGetFile.c mods.  Lost a lynx_edit_mode = FALSE
Packit f574b8
  statement that is still needed when DIRED_SUPPORT is defined. - FM
Packit f574b8
* Mods in LYForms.c so that the cursor is positioned at the left of the
Packit f574b8
  current option in select popup windows when show_cursor is on, as when
Packit f574b8
  the cursor is used to indicate the current link in the main document.
Packit f574b8
  This is important when Lynx is used with a speech or braille interface,
Packit f574b8
  or a terminal which does not respond to the highlighting/color for the
Packit f574b8
  current option.  When show_cursor is off, the cursor is still positioned
Packit f574b8
  to the right of the current option for curses, and is fully "hidden" in
Packit f574b8
  the lower right corner for slang, so that the highlighting or color of
Packit f574b8
  the current option can be used without the distraction of a blinking
Packit f574b8
  cursor in the left-to-right reading field. - FM
Packit f574b8
* Added ability to change the show_cursor setting via the 'o'ptions menu
Packit f574b8
  and to save that as the default in the RC file (otherwise, the default
Packit f574b8
  is still that set in userdefs.h or lynx.cfg).  The -show_cursor command
Packit f574b8
  line switch toggles the default, however obtained, homologously to the
Packit f574b8
  -popup toggle.  Updated the online 'h'elp accordingly (option_help.html
Packit f574b8
  and Lynx_users_guide.html). - FM
Packit f574b8
1997-06-12
Packit f574b8
* Tweaks of the 1997-06-04 mods for restoring emphasis of WHEREIS search
Packit f574b8
  targets in link names when they are changed to the current link or again
Packit f574b8
  made non-current.  When the link is made current, the first and last
Packit f574b8
  characters of the link name never are emphasized, so they'll retain the
Packit f574b8
  attributes/color for the current link, and the user can see (if sighted)
Packit f574b8
  that the link was made current.  With this change, the restoration of
Packit f574b8
  emphasis also is interpretable with Unix FANCY_CURSES, so the block for
Packit f574b8
  that is lifted.  Note that I figured out why the bold+reverse+underline
Packit f574b8
  combination doesn't work for that.  The vanilla and this Lynx code are
Packit f574b8
  not adding or subtracting attributes for their start_foo() and stop_foo()
Packit f574b8
  functions (as is done for slang and VMS curses), but are replacing them,
Packit f574b8
  so you always end up with the last attribute in a series of start_foo()
Packit f574b8
  calls (underlining for the search target emphasis).  I don't know if
Packit f574b8
  ability to sum attributes applies to all Unix curses flavors for which
Packit f574b8
  FANCY_CURSES is defined in the Makefile, so I left the Unix, non-slang
Packit f574b8
  start_foo() and stop_foo() functions the way they are, for now. - FM
Packit f574b8
* Mods in LYGetFile.c so that any '~' in file URLs is handled as when in
Packit f574b8
  startfile, home page, or 'g'oto commands.  Only the first '~' is converted
Packit f574b8
  to Home_Dir(), and only for the first symbolic element in the URL, and if
Packit f574b8
  it is followed by a username, that username is stripped (so that the
Packit f574b8
  "~username" becomes a reference to the home of the account running Lynx,
Packit f574b8
  as if only '~' had been used, and can't be used as a reference for an
Packit f574b8
  arbitrary home).  Note that we don't do this stripping for ftp URLs,
Packit f574b8
  because the ftp server should decide, itself, whether to grant access to
Packit f574b8
  arbitrary homes, based on the username and password that were used to
Packit f574b8
  log in.  Note, also, that if the account running Lynx is allowed access
Packit f574b8
  to the root of the file system for its home, then access to any arbitrary
Packit f574b8
  home in that file system can be gained from there.  Access to the root
Packit f574b8
  never is allowed for file URLs in the for-VMS code, but depends on the
Packit f574b8
  root's protection in the for-Unix code.  Also, any arbitrary path in file
Packit f574b8
  URLs will be attempted if it is specified as an absolute path.  The
Packit f574b8
  stripping of the username from "~username" in most cases on Unix only
Packit f574b8
  protects against probing for homes in other file systems, without the
Packit f574b8
  user knowing the corresponding absolute path. - FM
Packit f574b8
1997-06-11
Packit f574b8
* Mods in HTAABrow.c, HTTP.c and HTAlert.c so that auth_proxy is no
Packit f574b8
  longer a module wide global, and the structures which handle/create
Packit f574b8
  authentication/authorization headers maintain separate setup trees
Packit f574b8
  for proxy authentication/authorization versus for protected limbs of
Packit f574b8
  http/https data trees (realms) on the same server.  This ensures that
Packit f574b8
  each proxy's template, which is the global '*' for all paths (that are
Packit f574b8
  in fact full URLs) in its proxying requests, are kept distinct from
Packit f574b8
  the templates for true paths of the protected limbs on the same saver,
Packit f574b8
  even if the user fails to include that proxy in the no_proxy list, or
Packit f574b8
  the server's WebMaster fails to do the equivalent configuration for
Packit f574b8
  the server, and the realm names overlap.  Also modified the prompt
Packit f574b8
  strings for the username and password to be encrypted for protected
Packit f574b8
  document requests versus for proxy access so that they indicate
Packit f574b8
  explicitly whether the user's entries will be used for one or the
Packit f574b8
  other. - FM
Packit f574b8
* Added a -pauth=id:pw switch for proxy servers, homologous to the
Packit f574b8
  -auth=id:pw switch for protected documents, along the lines of AJL's
Packit f574b8
  patch.  Note that the -pauth value is used only for authorization
Packit f574b8
  headers to the first protected proxy server encountered, and the -auth
Packit f574b8
  value is used only for the authorization headers in document requests
Packit f574b8
  for the first protected limb encountered.  Now that we have an explicit
Packit f574b8
  switch for proxy authentication, it should be used explicitly for that,
Packit f574b8
  instead of still allowing use of the -auth=id:pw switch for either
Packit f574b8
  (IMHO).  Also, there's no serious need to make inclusion of the code
Packit f574b8
  for handling these switches a compilation option, because they are only
Packit f574b8
  available to users with shell access.  Updated the help files concerning
Packit f574b8
  these switches, and included advice to make sure any script files which
Packit f574b8
  use these switches have restricted access. - FM
Packit f574b8
1997-06-09
Packit f574b8
* More refinements of the code in GridText.c, HTML.c and LYCharUtils.c
Packit f574b8
  for handling visible versus hidden links, blank lines, stripping of
Packit f574b8
  the numbered brackets for links, and the interactions of these things
Packit f574b8
  with soft hyphens. - FM
Packit f574b8
1997-06-06
Packit f574b8
* Fixed typos in LYrcFile.c which caused failure to start two comments
Packit f574b8
  on new lines when writing to the RC file. - FM
Packit f574b8
* Fixed a typo in the lead dot pair stripping code in LYLegitimizeHREF()
Packit f574b8
  of LYCharUtils.c. - FM
Packit f574b8
* Tweak of code in GridText.c for handling soft hyphens so that we don't
Packit f574b8
  display a hyphen if it's the first character in the line, or is preceded
Packit f574b8
  by a space, even if it is followed by a newline. - FM
Packit f574b8
* Mods of the hidden link handling and numbered bracket stripping code in
Packit f574b8
  GridText.c so that it succeeds no matter how many blank lines are in
Packit f574b8
  the anchor content. - FM
Packit f574b8
1997-06-04
Packit f574b8
* Mods in LYLegitimizeHREF() of LYCharUtils.c for dealing more effectively
Packit f574b8
  with fragments which have illegal characters, as is becoming common due
Packit f574b8
  to authoring tools such as Microsoft's Frontpage and Netscape's HTML
Packit f574b8
  editor.  The actual URL-reference is still handled so as to yield a
Packit f574b8
  fully legitimate absolute URL, without any unescaped spaces, but the
Packit f574b8
  fragment is checked only for problem characters such as tab or newline,
Packit f574b8
  and otherwise is unmodified.  (Try the vanilla versus modified code with
Packit f574b8
  the http://www.cnib.org/library/ww_flw96.htm atrocity, brought to you
Packit f574b8
  discourtesy of Frontpage. :) - FM
Packit f574b8
* Worked into the fotemods code use of bold+reverse+underline highlighting
Packit f574b8
  of WHEREIS search hits for VMS curses, and slang on both VMS and Unix (with
Packit f574b8
  or without the color mode on), and added code in highlight() of LYUtils.c
Packit f574b8
  for restoring that highlighting when links are made current or non-current
Packit f574b8
  if the string for the hit was contained within the string for the link (won't
Packit f574b8
  be restored if the hit's string starts before or extends past the link's
Packit f574b8
  string).  Couldn't get any of this to work with curses and the solaris2
Packit f574b8
  target, so for Unix curses the hit string still is just underlined and
Packit f574b8
  not restored when links are made current or non-current. - FM
Packit f574b8
* Fixed typo in the 1997-06-01 LYOptions.c mods. - FM
Packit f574b8
1997-06-03
Packit f574b8
* Mods in LYList.c to skip setting up a list block for visible links if
Packit f574b8
  the document has only hidden links, and in HTML.c to include a notice
Packit f574b8
  about this with a suggestion to use the 'l'ist command.  Try it with
Packit f574b8
  the http://www.sony.com/ atrocity. - FM
Packit f574b8
* Tweak in LYMainLoop.c to fix a longstanding bug which would cause the
Packit f574b8
  curdoc.line and curdoc.link numbers to be mishandled, and thus cause
Packit f574b8
  the wrong page and current link to be restored on return to the document
Packit f574b8
  via PREV_DOC or the History Page, if the document was fetched originally
Packit f574b8
  with a fragment and a link on its first page had been activated. - FM
Packit f574b8
* Tweaks in GridText.c so that returns from image map menus to parent
Packit f574b8
  documents are not treated as if a different document is being sought,
Packit f574b8
  and thus any no-cache directives associated with the parent will be
Packit f574b8
  ignored unless another fetch is initiated within the parent or via
Packit f574b8
  another, externally existing document. - FM
Packit f574b8
* Added SEEK_FRAG_MAP_IN_CUR and SEEK_FRAG_AREA_IN_CUR configuration
Packit f574b8
  (lynx.cfg) options for how to resolve USEMAP attribute values in
Packit f574b8
  IMG or OBJECT tags and HREF attribute values in AREA tags when they
Packit f574b8
  consist solely of a fragment (USEMAP="#frag" or HREF="#frag").  The
Packit f574b8
  compilation default is TRUE, i.e., they are resolved with respect
Packit f574b8
  to the current document's URL, even if the base is different, as is
Packit f574b8
  being done for the HREF attribute values of Anchors and LINKs.  The
Packit f574b8
  compilation default seems to be working out, even though most of the
Packit f574b8
  currently deployed browsers still use the base. - FM
Packit f574b8
1997-06-02
Packit f574b8
* Mods in LYMain.c so as not to require that a lone "-" argument for
Packit f574b8
  invoking input of command line arguments from stdin be the only
Packit f574b8
  argument on the actual command line.  That requirement preluded use
Packit f574b8
  of this feature when the command for invoking Lynx was aliased so
Packit f574b8
  as to include arguments, because the lone "-" then could not be the
Packit f574b8
  only argument.  Also tweaked the code so that any stdin-derived
Packit f574b8
  arguments which need to be processed early in main() are so processed.
Packit f574b8
  The vanilla code had severely flawed logic in this respect.  The
Packit f574b8
  security considerations associated with switch handling have gotten
Packit f574b8
  hairy beyond reasonable bounds, but I think I've thought it all through
Packit f574b8
  (we'll see :), and have plugged some holes in the vanilla code for
Packit f574b8
  this feature.  Redirection of stdout and/or stderr to a file now also
Packit f574b8
  works reliably in conjunction with this feature. - FM
Packit f574b8
* Added an explanation in the PROBLEMS file of the bad getsockname() and
Packit f574b8
  getpeername() functions within SOCKETSHR 0.9D which affect the ftp
Packit f574b8
  gateway, and the URLs for Andy Harper's (A.HARPER@kcl.ac.uk) fixes of
Packit f574b8
  the SOCKETSHR 0.9D sources. - FM
Packit f574b8
* Cast LYLocal.c into the Lynx programming style. - FM
Packit f574b8
1997-06-01
Packit f574b8
* Added support for numbered form fields, and options in SELECT popups,
Packit f574b8
  based on LE's patch.  The LINKS_AND_FORM_FIELDS_ARE_NUMBERED keypad
Packit f574b8
  mode can be defined in userdefs.h and via the 'o'ptions menu.  When
Packit f574b8
  in SELECT popups, the F_LINK_NUM ('0') command can be used in any mode
Packit f574b8
  to invoke a "Select option (or page) number:" prompt, which can take
Packit f574b8
  'g' or 'p' suffixes, homologously to the
Packit f574b8
  "Follow link (or goto link or page) number:"
Packit f574b8
  prompt in the main document with popups retracted.  Note that when in
Packit f574b8
  the main document, the F_LINK_NUM command has an implied 'g' suffix
Packit f574b8
  for form links (i.e., will position you on the form link, not, for
Packit f574b8
  example, ACTIVATE a submit button), but *not* in popup windows (i.e.,
Packit f574b8
  without a 'g' suffix, the option corresponding to the number will be
Packit f574b8
  selected, and the popup will be retracted, as if you had pressed
Packit f574b8
  ACTIVATE when positioned on that option).  The 123p feature is quite
Packit f574b8
  useful in popups with a very large number of options, and supplements
Packit f574b8
  the HOME, END and WHEREIS functions for seeking positions in the list
Packit f574b8
  (again, regardless of keypad mode, if F_LINK_NUM is used to invoke
Packit f574b8
  the prompt).  A "page" is defined as the number of lines within the
Packit f574b8
  vertical dimension of the popup box. - FM
Packit f574b8
* Mods in LYEdit.c to seek the current page and line when the editor
Packit f574b8
  is sedt on VMS. - FM
Packit f574b8
* Updated the online 'h'elp concerning the "Follow link (or page) number:"
Packit f574b8
  and "Select option (or page) number:" features (Lynx_users_guide.html,
Packit f574b8
  follow_help.html, keystroke_help.html and other_help.html). - FM
Packit f574b8
* changes to help files to reflect the different prompt string. - KW
Packit f574b8
1997-05-30
Packit f574b8
* Worked in LE's patch for keeping track of whether links occur in an
Packit f574b8
  underlining context, and if so, restore it when slang color is on and
Packit f574b8
  a current link is made non-current, thereby actually dealing with the
Packit f574b8
  longstanding bug discussed in the 1997-05-27 mods (This is just a hobby,
Packit f574b8
  and I always reserve the right to change my mind! :). - FM
Packit f574b8
* Mods of LYForms.c and LYStrings.c to deal with form field values too
Packit f574b8
  long to fit in the line editor's buffer (such as long TEXTAREA values
Packit f574b8
  which have no newlines in them).  As much of the tail as fits in the
Packit f574b8
  buffer is offered for editing, with statusline messages explaining the
Packit f574b8
  situation.  If the tail is modified, it is combined with the unmodified
Packit f574b8
  head when the form field is made non-current.  The result can be edited
Packit f574b8
  further by making the form field current again.  If the form has a
Packit f574b8
  Reset button, it can be used to restore the original value.  The
Packit f574b8
  vanilla code would crash on buffer overflow (Ugh!  A potential
Packit f574b8
  security hole.). - FM
Packit f574b8
1997-05-29
Packit f574b8
* Restored underlining in conjunction with reversing for the current link
Packit f574b8
  with slang when colors are being used, but not otherwise. - FM
Packit f574b8
* The 1997-05-26 mods to bypass screen redraws on retractions of SELECT
Packit f574b8
  popups when the selected OPTION was not changed worked properly only
Packit f574b8
  for VMS curses.  Tweaked the for-slang code so that it now works like
Packit f574b8
  VMS curses (though not as efficiently).  However, with Unix curses,
Packit f574b8
  the delwin() - refresh() sequence does not restore what was there
Packit f574b8
  before the popup was invoked, and none of the tweaks I tried got that
Packit f574b8
  to work, so the poor Unix folks using Unix curses are now stuck again
Packit f574b8
  with screen redraws for every popup retraction.  - FM
Packit f574b8
1997-05-27
Packit f574b8
* Eliminated in the fotemods code underlining in conjunction with reversing
Packit f574b8
  for the current link with slang, to avoid the longstanding bug of
Packit f574b8
  underlining being lost (and distracting color changes occurring) when that
Packit f574b8
  link ceases to be current and it was embedded in an underlined region of
Packit f574b8
  text.  The attributes of the current link can be better handled in the
Packit f574b8
  development code based on configurable style sheets, so there's no
Packit f574b8
  point letting this bug ride, nor trying to deal with it through
Packit f574b8
  temporary internal mods, in the fotemods code set. - FM
Packit f574b8
1997-05-26
Packit f574b8
* Mods of display_title() in GridText.c to eliminate the "format"
Packit f574b8
  mask as in KW's 1997-05-14 development code mods, and to make the
Packit f574b8
  memory management more efficient. - FM
Packit f574b8
* Mods of change_form_link() in LYForms.c to bypass the screen redraw
Packit f574b8
  on retraction of a SELECT popup if the SELECT block is DISABLE-ed
Packit f574b8
  or the selected OPTION was not changed.  Note that the complete
Packit f574b8
  elimination of the screen redraw in the 1997-05-20 development code
Packit f574b8
  mods, i.e., even when the selected OPTION was changed, results in
Packit f574b8
  the change not being made evident to the user in the retracted popup
Packit f574b8
  unless the screen is redrawn fortuitously (e.g., due to subsequent
Packit f574b8
  paging). - FM
Packit f574b8
* Modified the caching-related changes of 1997-05-15 to LYMainLoop.c,
Packit f574b8
  handling automatic reloading after a change of the User-Agent string
Packit f574b8
  like after comparable other option changes.
Packit f574b8
  We force a reload if "preferred document lan(G)uage"
Packit f574b8
  or "preferred document c(H)arset" are changed via the 'o'ptions menu,
Packit f574b8
  and to set the "reloading" flag for forcing a proxy cache refresh if
Packit f574b8
  those or "user (A)gent" are changed and the current document has an
Packit f574b8
  http, https or lynxcgi scheme, but not force a proxy cache refresh if
Packit f574b8
  we're reloading due to an INLINE_TOGGLE, IMAGE_TOGGLE, or RAW_TOGGLE
Packit f574b8
  command. - KW, FM
Packit f574b8
1997-05-25
Packit f574b8
* Mods in LYMain.c to convert $USER if present in the TEMP_SPACE
Packit f574b8
  definition or LYNX_TEMP_SPACE environment variable to the string
Packit f574b8
  returned by getenv("USER"). - FM
Packit f574b8
* Fixed two typos for me->inFONT settings in HTML.c - TD
Packit f574b8
* Added chmod(file, 0600) calls for most files created by Lynx. - FM
Packit f574b8
1997-05-24
Packit f574b8
* integrate patch JED's mods which support mouse for slang as well as add
Packit f574b8
  new functions to encapsulate differences between slang/curses. - TD
Packit f574b8
1997-05-21
Packit f574b8
* Mods in HTML.c and LYCharUtils.c so that TABLE blocks are treated
Packit f574b8
  as divisions in the DIV nest, with a default alignment of HT_LEFT
Packit f574b8
  if the TABLE start tag lacks an ALIGN attribute, and otherwise,
Packit f574b8
  that attribute's value.  Nested TABLEs extend the DIV nest.  This
Packit f574b8
  avoids the problem in the vanilla code of TABLE content inheriting
Packit f574b8
  the alignment of a containing CENTER or DIV which is intended for
Packit f574b8
  alignment of the TABLE as a whole.  Also added support for ALIGN
Packit f574b8
  attributes in TR elements.  If the TR has no ALIGN attribute, it
Packit f574b8
  inherits that of the current division, which should be that of the
Packit f574b8
  current TABLE.  This, of course, still does not yield true TABLEs
Packit f574b8
  for truly tabular content, but makes TABLEs used for formatting
Packit f574b8
  more readable. - FM
Packit f574b8
1997-05-20
Packit f574b8
* correct 2 occurrences of "me->inFONT == TRUE;" in HTML.c - TD
Packit f574b8
* add configure --with-color-style option to merge RP's alpha changes for
Packit f574b8
  color styles (this works only with ncurses, since it does not initialize
Packit f574b8
  the window background, leaving it null, thereby exploiting a bug in
Packit f574b8
  ncurses which sets null backgrounds to a space).  Also some whitespace
Packit f574b8
  (and renamed CS to make this build w/o ncurses) - TD
Packit f574b8
* test-built with ncurses 1.8.7, 1.9.4, 1.9.9e and 4.0, as well as bsd 4.4
Packit f574b8
  curses and slang - TD
Packit f574b8
* Tweak of HTFWriter.c so that it does the anti-spoof tests normally
Packit f574b8
  done by tempname() (see the 1997-05-19 mods) in all cases for which
Packit f574b8
  it changes the temporary file suffix from any of those checked by
Packit f574b8
  tempname() itself.  At this point, every way I've thought of for
Packit f574b8
  trying to spoof Lynx via links for temporary files is blocked, but
Packit f574b8
  people should beat on today's code to see if there's any spoofing
Packit f574b8
  strategy I haven't yet blocked. - FM
Packit f574b8
* Modified the Lynx Trace Log handling so that it doesn't use actual
Packit f574b8
  redirection of stderr via freopen() calls, and restores the original
Packit f574b8
  value of stderr during any escape to shell.  This avoids the problem
Packit f574b8
  on Unix that sh and ksh send their prompt strings to stderr, and that
Packit f574b8
  bash sends both its prompt and command line echo to stderr, so they
Packit f574b8
  end up in the log instead of being visible.  I had tested the initial
Packit f574b8
  design on VMS and with csh on Unix, and thus didn't notice this
Packit f574b8
  foolishness for the other Unix shells.  Anyway, it's OK for all of
Packit f574b8
  them now. - FM
Packit f574b8
* Tweaked SIGTSTP interrupt handler in the USE_SLANG for-unix code, so
Packit f574b8
  that it gets set to SIG_DFL when stop_curses() is called, to prevent
Packit f574b8
  strange interferences experienced when ^Z is used while a helper
Packit f574b8
  process is in the foreground. - KW
Packit f574b8
* Change in LYForms.c to prevent forced screen refresh after selection
Packit f574b8
  from a popup box. - KW
Packit f574b8
1997-05-19
Packit f574b8
* Recognize Linux console F1 key in LYgetch() (applies if "-DNO_KEYPAD"
Packit f574b8
  is in effect, as for all binaries built with slang). - KW
Packit f574b8
* Protect LYgetch() against returning raw values of keypad() symbols
Packit f574b8
  which are invalid when used later as an index into keymap[],
Packit f574b8
  override[], etc. - KW
Packit f574b8
* in the USE_SLANG for-unix start_curses(), honor the no_suspend flag
Packit f574b8
  if set.  This implements -restrictions=suspend handling for slang
Packit f574b8
  (although it was intended for curses implementations which have
Packit f574b8
  problems with ^Z within Lynx; see the PROBLEMS file).
Packit f574b8
  Note that the no_suspend flag cannot be suspected to have
Packit f574b8
  the desired effect if lynx is executed from a shell script, unless
Packit f574b8
  the shell process forked for the script also ignores the SIGTSTP
Packit f574b8
  signal generated (usually) by the ^Z key.  Also if the user is
Packit f574b8
  allowed to execute any helper process (VIEWER, PRINTER, etc.) which
Packit f574b8
  does allow suspending while no_suspend is in effect for the Lynx
Packit f574b8
  parent process (by overriding the SIG_IGN setting done by Lynx or by
Packit f574b8
  other means), then suspending may still be possible, in addition to
Packit f574b8
  strange effects either immediately or when the process or process group
Packit f574b8
  is continued (wrong tty and screen state, zombie processes, total
Packit f574b8
  hang of the session without any way to interrupt - you get the idea...).
Packit f574b8
  Trying to use the suspend restriction in order to prevent users from
Packit f574b8
  getting a shell prompt doesn't make much sense anyway when they are
Packit f574b8
  allowed access to execute commands which may be interrupted or allow
Packit f574b8
  escaping to a shell... - KW
Packit f574b8
* Tweak of HTFile.c so that we no longer lose an LYforce_HTML_mode
Packit f574b8
  directive if the file is gzipped or compressed and the uncompressed
Packit f574b8
  suffix is not mapped to text/html. - FM
Packit f574b8
* Modified tempname() in LYUtils.c so that it checks whether files
Packit f574b8
  with the current PID and target count already exist, and if so,
Packit f574b8
  increments the count until a name for a non-existing file has been
Packit f574b8
  created. - FM
Packit f574b8
1997-05-18
Packit f574b8
* Mods in LYMainLoop.c and LYClean.c so that Control-G is treated as
Packit f574b8
  a synonym for 'n'o in quit confirmation prompts. - FM
Packit f574b8
* Mods in LYPrint.c to strip any gzip or compress suffix from the
Packit f574b8
  suggested filename, on the assumption that we're deal with a text/html
Packit f574b8
  or text/plain file that had a corresponding Content-Encoding and no
Packit f574b8
  Content-Disposition: file; filename=name.suffix  header indicating
Packit f574b8
  the appropriate filename after uncompression.  This assumption does
Packit f574b8
  apply for our current ftp gateway, and for most present-day http
Packit f574b8
  servers.  This mod in turn ensures that text/html files which are
Packit f574b8
  not being printed as source will have their uncompressed suffixes
Packit f574b8
  converted to .txt, indicated that they are rendered. - FM
Packit f574b8
1997-05-17
Packit f574b8
* Fixed long-standing bug in display_page() of GridText.c.  When it
Packit f574b8
  was updating the links structures, it wasn't re-initializing the
Packit f574b8
  form element if the links structure is not for a form field. - FM
Packit f574b8
* Mods in HTML.c to deal more effectively with H# headers used instead
Packit f574b8
  of LH in lists.  We now, in effect, treat them fully as if they were
Packit f574b8
  LH, so that their left indentations are in register with the current
Packit f574b8
  list nesting depth, and we apply better error recovery in cases where
Packit f574b8
  the author is mis-using H# for a FONT change rather than as an actual
Packit f574b8
  header. - FM
Packit f574b8
1997-05-16
Packit f574b8
* Changed the line where a WHEREIS search target should preferably be
Packit f574b8
  displayed to the 4th line (not counting the title line).  This can
Packit f574b8
  be changed by redefining SEARCH_GOAL_LINE in userdefs.h.
Packit f574b8
  SEARCH_GOAL_LINE can also be a simple expression in terms of the
Packit f574b8
  variable display_lines, e.g., `#define SEARCH_GOAL_LINE (display_lines/3)',
Packit f574b8
  this should then automatically adapt to screen size changes (provided the
Packit f574b8
  display system can deal with that...)
Packit f574b8
  Note that this this goal line will normally not be used if the next
Packit f574b8
  target, according to the algorithm Lynx uses, is already on the displayed
Packit f574b8
  screen.  Also, when the displayed page changes to show a search result,
Packit f574b8
  there is no guarantee that it will end up on the line set by
Packit f574b8
  SEARCH_GOAL_LINE.  It should rather be regarded as a maximum.
Packit f574b8
  For example the presence of anchors on the line with the target or on
Packit f574b8
  the preceding lines will change the positioning. - KW
Packit f574b8
* The SEARCH_GOAL_LINE line will also be used for "going to" a link with
Packit f574b8
  'g' suffix at the "Follow link ..." prompt, although the algorithm is
Packit f574b8
  quite different.  As for a search target, this only applies when Lynx
Packit f574b8
  has to position to a different page of the document, and then is only
Packit f574b8
  a maximum. - KW
Packit f574b8
* Enabled the no-cache setting for the pseudo document Lynx creates for
Packit f574b8
  a client-side image map in LYMap.c, for now. - KW
Packit f574b8
* Minor typo fix for the proxy authentication mods. - FM
Packit f574b8
* Tweak of PRE block handling in HTML.c to ensure an implied paragraph
Packit f574b8
  after the block if it is in a list and not followed by an LI. - FM
Packit f574b8
* Tweaks of SGML.c and LYCharUtils.c to allow any non-digit to terminate
Packit f574b8
  a numeric character reference once at least one digit has been found in
Packit f574b8
  the reference. - FM
Packit f574b8
* Change in LYUnEscapeToLatinOne() to use isdigit() instead of isalnum()
Packit f574b8
  for recognizing numeric character references like LYUnEscapeEntities()
Packit f574b8
  does. - KW
Packit f574b8
1997-05-15
Packit f574b8
* Worked in JED's mods for taking a suspend into account during select()
Packit f574b8
  calls. - FM
Packit f574b8
* Mods in LYMainLoop.c to not force a cache refresh on a proxy any more
Packit f574b8
  when INLINE_TOGGLE, IMAGE_TOGGLE, RAW_TOGGLE are used.  On the other
Packit f574b8
  hand, do force a proxy cache refresh after one of the variables relevant
Packit f574b8
  for content negotiation `language' or `pref_charset' has been changed
Packit f574b8
  from the Options screen, if the current document is from a http, https, or
Packit f574b8
  lynxcgi resource. - KW
Packit f574b8
* Set HTTP_ACCEPT_CHARSET environment variable for the child process in
Packit f574b8
  LYCgi.c if pref_charset is not NULL. - KW
Packit f574b8
* (chartrans) Write a META tag with the current display character sets to
Packit f574b8
  the files generated for Bookmarks, List, Info, History, and Visited Links
Packit f574b8
  pages, so title strings contained in those files will (hopefully) not
Packit f574b8
  get erroneously translated again.  Use new function LYaddMETAcharsetToFD()
Packit f574b8
  in LUCharUtils for this purpose. - KW
Packit f574b8
* (chartrans) makeuctb now sets RawUni to UCT_ENC_8BIT if not otherwise set
Packit f574b8
  and if there are char values above 127. - KW
Packit f574b8
* (chartrans) Change in HTuncache_current_document() to prevent caching of
Packit f574b8
  UCStages info which should be discarded.  Still allow caching for this
Packit f574b8
  in the node_anchor for source display, so that a META tag in the parsed
Packit f574b8
  HTML can influence the display after using the SOURCE '\' key. - KW
Packit f574b8
1997-05-14
Packit f574b8
* Don't use title in showlist() if it is empty, to prevent "hidden links"
Packit f574b8
  on the List Page itself caused by documents with <TITLE></TITLE>. - KW
Packit f574b8
* Changed display_title() in GridText.c to not rely on sprintf() to get
Packit f574b8
  the number of blanks right. - KW
Packit f574b8
* (chartrans) Added new lynx.cfg symbols ASSUME_CHARSET,
Packit f574b8
  ASSUME_LOCAL_CHARSET, and ASSUME_UNREC_CHARSET.  They are only
Packit f574b8
  recognized if compiled with -DEXP_CHARTRANS.  They correspond to the
Packit f574b8
  command line options -assume_charset, -assume_local_charset, and
Packit f574b8
  -assume_unrec_charset.
Packit f574b8
  The default for ASSUME_CHARSET is iso-8859-1 (corresponding to display
Packit f574b8
  character set "ISO Latin 1").  If no ASSUME_LOCAL_CHARSET is set,
Packit f574b8
  the explicit or default value for ASSUME_CHARSET will also be used for
Packit f574b8
  local files.  ASSUME_UNREC_CHARSET has no default.  See added text
Packit f574b8
  in lynx.cfg. - KW
Packit f574b8
* (chartrans) Changes in LYCharSets.c to HTMLSetCharacterHandling() and
Packit f574b8
  HTMLSetUseDefaultRawMode() to support (hopefully) more consistent
Packit f574b8
  and user-friendly handling of raw mode and its default.
Packit f574b8
  Note that the following description does not apply if the display
Packit f574b8
  character set is one of the CJK settings.  In that case, -raw and
Packit f574b8
  the corresponding Options setting is used as a CJK toggle as before.
Packit f574b8
  Note that the -raw flag is a toggle.  It changes the "raw mode"
Packit f574b8
  setting from the default.  The current setting of "raw mode" can be
Packit f574b8
  seen on the Options screen, and is also shown in a statusline message
Packit f574b8
  when the RAW_TOGGLE key (normally '@') is used.
Packit f574b8
  The default depends on the display character set (as previously)
Packit f574b8
  but now also on the ASSUME_CHARSET setting (as determined by a setting
Packit f574b8
  in lynx.cfg, possibly overridden by -assume_charset on the command
Packit f574b8
  line, or the default iso-8859-1).  When the display character set
Packit f574b8
  corresponds to the ASSUME_CHARSET, the default for "raw mode" is ON,
Packit f574b8
  otherwise it is OFF.
Packit f574b8
  The effect of "raw mode" on the interpretation of documents which have
Packit f574b8
  no explicit charset label (from HTTP headers, a META tag, or otherwise)
Packit f574b8
  is as follows.  There is an internal "assume charset" which may differ
Packit f574b8
  from the user-specified ASSUME_CHARSET value.  When "raw mode" is set
Packit f574b8
  ON, the internal variable is set to correspond to the display character
Packit f574b8
  set.  When "raw mode" is set OFF, the internal variable changes to
Packit f574b8
  the user-specified ASSUME_CHARSET or, if that also corresponds to the
Packit f574b8
  display character set (so that otherwise there would be no change),
Packit f574b8
  reverts back to the iso-8859-1 Web default.
Packit f574b8
  Raw mode doesn't imply total rawness.  HTML character entities may
Packit f574b8
  be expanded and translated with either setting, 8-bit characters which
Packit f574b8
  are inappropriate for the display character set will not be sent to
Packit f574b8
  the terminal.  For a "more raw" setting, try the "Transparent" pseudo
Packit f574b8
  display character set. - KW
Packit f574b8
1997-05-13
Packit f574b8
* Changed the compilation default in userdefs.h for USE_TRACE_LOG
Packit f574b8
  to FALSE, for now. - KW
Packit f574b8
* Code for "fixing" of relative http and https URLs which start with a
Packit f574b8
  ../ segment from FM added, but it has to be enabled with the new
Packit f574b8
  lynx.cfg symbol STRIP_DOTDOT_URLS (default currently set to FALSE).
Packit f574b8
  See FM's description under 1997-04-23. - KW
Packit f574b8
* Changed the test for dot segment fixing in LYLegitimizeHREF() so
Packit f574b8
  that now (if enabled) it also applies when the http or https base URL
Packit f574b8
  in effect does have a non-empty path but without any slashes in it
Packit f574b8
  (beyond the initial one between host and path).  The test was too narrow
Packit f574b8
  before and did not recognize this case, so that an unmodified URL with
Packit f574b8
  ../ in it would still be sent to the server and without generating a
Packit f574b8
  statusline message. - KW
Packit f574b8
* Tweak of case LYK_REFRESH: in LYMainLoop.c so that the REFRESH command
Packit f574b8
  still invokes an obligatory, complete refresh of the screen for slang
Packit f574b8
  on Unix with the new LY_SLclear() function (see 1997-05-09 mods),
Packit f574b8
  by using scrollok() if USE_SLANG is defined. - FM
Packit f574b8
* Changed the local variable name, lines, in follow_link_number() of
Packit f574b8
  LYGetFile.c to nlines, to deal with the AIX 4.2 bug of treating lines
Packit f574b8
  as a macro.  Also changed the variable name, pages, to npages for
Packit f574b8
  logical complementarity (they both refer to the total number). - FM
Packit f574b8
* Mods in HTML.c, LYCharUtils.c and GridText.c to deal with links for
Packit f574b8
  positioning, specified via NAME or ID attributes, when they are embedded
Packit f574b8
  in Anchors which have an HREF, so that they now don't force premature
Packit f574b8
  closing of those Anchors.  Also tweaked the code for creating links for
Packit f574b8
  the sources of images or other for-GUI embedded objects when clickable
Packit f574b8
  images ('*') is toggled on, so they use those mods as well, when
Packit f574b8
  possible.  Note, however, that the clickable images feature is creating
Packit f574b8
  Anchors with HREFs which aren't actually there, and still can create
Packit f574b8
  technically invalid markup, on occasion, when the non-doctored markup
Packit f574b8
  actually is valid.  The latter mods still need some improvements in the
Packit f574b8
  formatting, but are OK to use for now, and my brain hurts from trying
Packit f574b8
  to think through all the possible markup we might encounter. - FM
Packit f574b8
* Tweaks of the Lynx Trace Log handling to deal with reloads when the
Packit f574b8
  HText structure for the log has been dumped.  Made the first letter
Packit f574b8
  of the filename uppercase (Lynx.trace), complementary to Lynx.leaks.
Packit f574b8
  Eliminated the log from the Visited Links Page so it can't be sought
Packit f574b8
  there as a forward link.  Use the History Page if you want to 'd'ownload
Packit f574b8
  the log, or use the 'p'rint option while viewing the log.  Note that
Packit f574b8
  suffix maps do tail matching, and thus the so-called suffixes need not
Packit f574b8
  begin with a dot.  If you want to use an external viewer for the log,
Packit f574b8
  you can put:
Packit f574b8
  	SUFFIX:Lynx.trace:application/x-LynxTrace
Packit f574b8
  	VIEWER:application/x-LynxTrace:most +s %s
Packit f574b8
  in your lynx.cfg, or their equivalents in your mime.types and mailcap
Packit f574b8
  files. - FM
Packit f574b8
* Tweaks in LYMainLoop.c to set newdoc.title for various special pages
Packit f574b8
  generated by Lynx (History Page, Info Page, etc.) and when following
Packit f574b8
  a link. - FM
Packit f574b8
* Small change to the heuristics for New_DTD in start_element()
Packit f574b8
  in SGML.c (try a bit more to close containing element if it's the
Packit f574b8
  same tag) - KW
Packit f574b8
1997-05-12
Packit f574b8
* Added support for proxy authentication. - AJL, FM
Packit f574b8
* Updated follow_help.html to indicate that 0 is the universal
Packit f574b8
  F_LINK_NUM mapping for invoking the "Follow link (or ...) number:"
Packit f574b8
  prompt. - FM
Packit f574b8
1997-05-11
Packit f574b8
* Tweaks in LYMainLoop.c to ensure that the LYforce_HTML_mode flag is
Packit f574b8
  reset reliably, so it doesn't carry over to requests for text/plain
Packit f574b8
  documents, as it was doing under some circumstances in the vanilla
Packit f574b8
  code, e.g., when a bookmark file was used as the startfile via a
Packit f574b8
  file://localhost/path URL rather than via the -book switch. - FM
Packit f574b8
* Very minor change in Lynx_users_guide.html, added two words - KW
Packit f574b8
1997-05-10
Packit f574b8
* Fixed a typo in statusline() of LYUtils.c.  The check for whether
Packit f574b8
  the string is zero length before bothering to convert CJK multi-bytes
Packit f574b8
  was checking a holding buffer instead of the string. - FM
Packit f574b8
* Fixed a bug in LYHandleMETA() of LYCharUtils.c.  The check for a
Packit f574b8
  URL following the SECONDS value in REFRESH directives was not
Packit f574b8
  taking into account that an EOL might follow the digits for the
Packit f574b8
  SECONDS value. - FM
Packit f574b8
* Changed the behavior of boolean_choice() in LYOptions.c so that the
Packit f574b8
  cursor is positioned immediately at the option display line instead
Packit f574b8
  of staying at the statusline instructions until an initial entry is
Packit f574b8
  made, and modified the statusline instructions accordingly. - LE, FM
Packit f574b8
* Added a check for a NULL pointer in the LYCookie.c code for blocking
Packit f574b8
  sharing of SSL encrypted cookies with http servers, based on a patch
Packit f574b8
  from RT, and added a comment on why code for a block based on the
Packit f574b8
  scheme is there, despite its being redundant with the current blanket
Packit f574b8
  restriction based of the ports. - FM
Packit f574b8
* Mapped 0 to F_LINK_NUM (as suggested by KW), so that 0 invokes the
Packit f574b8
  "Follow link (or goto link or page) number:" prompt under all
Packit f574b8
  circumstances (but with the 0 not treated as the first digit of
Packit f574b8
  the number entry).  That's a better way
Packit f574b8
  to do it, because then the F_LINK_NUM command and explanation always
Packit f574b8
  appears in the "Current Key Map" display, and only the mappings of
Packit f574b8
  numbers to functions drop out when going from NUMBERS_AS_ARROWS to
Packit f574b8
  LINKS_ARE_NUMBERS mode (as they should, 'cuz the numbers no longer
Packit f574b8
  are mapped to functions; though maybe they should stay mapped to
Packit f574b8
  functions now that we have an explicit command key for invoking the
Packit f574b8
  prompt; something to think about...). - FM
Packit f574b8
* Updated the PROBLEMS file to indicate that you should try changing
Packit f574b8
  -lresolve to -lbind if you have upgraded to the bind-8.1 or later
Packit f574b8
  library on a Sun system and keep getting the message "Alert!:  Unable
Packit f574b8
  to connect to remote host". - FM
Packit f574b8
1997-05-09
Packit f574b8
* Typo fix in follow_help.html. - FM
Packit f574b8
* Added an LY_SLclear() function in LYCurses.c as a more efficient
Packit f574b8
  substitute for slang of the curses clear(), based on a patch from
Packit f574b8
  JED. - FM
Packit f574b8
* Added a USE_TRACE_LOG compilation (userdefs.h) symbol and -tlog command
Packit f574b8
  line toggle of the compilation default (normally TRUE), for directing
Packit f574b8
  syserr messages to a lynx.trace file in the user's home directory when
Packit f574b8
  TRACE mode has been turned on (either via the -trace command line switch,
Packit f574b8
  or the TOGGLE_TRACE (Control-T) command.  Also added a TRACE_LOG command
Packit f574b8
  (normally ';') for viewing the "Lynx Trace Log" (lynx.trace) at any time,
Packit f574b8
  if one has been initiated during the current session.  The trace log
Packit f574b8
  feature is disabled automatically in anonymous or validation accounts,
Packit f574b8
  and should not be used in any account which could have different users
Packit f574b8
  simultaneously.  The mods work well to the extent I've exercised them
Packit f574b8
  thus far on VMS and for the solaris2 target, but possibly need more
Packit f574b8
  refinements, depending on the behavior for other Unix flavors of
Packit f574b8
  freopen(), which is used for redirecting stderr to the log.  Updated
Packit f574b8
  lynx.man, lynx.hlp, and the online 'h'elp to describe these new
Packit f574b8
  features. - FM
Packit f574b8
1997-05-08
Packit f574b8
* Made the handling of hidden links dependent on a new command line
Packit f574b8
  option.  With -hiddenlinks=listonly hidden links are only shown on
Packit f574b8
  'l'ist screens and listings generated by -dump or from the 'p'rint
Packit f574b8
  menu, but appear separately at the end of those lists.
Packit f574b8
  With -hiddenlinks=ignore they don't appear even in listings.
Packit f574b8
  With -hiddenlinks=merge hidden links are treated as before,
Packit f574b8
  i.e., they show up as bracketed numbers if LINKS_ARE_NUMBERED is on,
Packit f574b8
  and are numbered together with other links in the sequence of their
Packit f574b8
  occurrence in the document.  The default is -hiddenlinks=listonly.
Packit f574b8
  Changed the new follow_help.html file accordingly.
Packit f574b8
  This may help obviate an apparent need to call something a bug which
Packit f574b8
  others regard as a feature... - KW
Packit f574b8
* Function HText_AreDifferent() updated as in FM's code, but still
Packit f574b8
  unused. - KW
Packit f574b8
1997-05-07
Packit f574b8
* Added another argument in follow_link_number() of LYGetFile.c for
Packit f574b8
  returning the number entered at the "Follow link (or page) number:"
Packit f574b8
  prompt to the mainloop(), and modified the statusline error messages
Packit f574b8
  that may be issued from the mainloop() in conjunction the with 'g' or
Packit f574b8
  'p' suffixes so that they report that number when appropriate. - FM
Packit f574b8
* Changed the prompt to "Follow link (or goto link or page) number:" - KW
Packit f574b8
* Tweaked case HTML_DD: in HTML.c so that it checks whether a wrap
Packit f574b8
  has just occurred naturally before imposing a newline for DD start
Packit f574b8
  tags.  Without that check, seemingly random, extra newlines could
Packit f574b8
  occur in the DL/DT/DD blocks. - FM
Packit f574b8
* Created a follow_help.html for the keystroke_commands subdirectory
Packit f574b8
  of the online 'h'elp, describing the "Follow link (or page) number:"
Packit f574b8
  features, and added links to it in Lynx_users_guide.html and
Packit f574b8
  keystroke_help.html. - FM
Packit f574b8
* Changed the help description according to what is implemented here - KW
Packit f574b8
1997-05-06
Packit f574b8
* Further tweaked KW's mainloop() tweak (see yesterday's entry), so that
Packit f574b8
  newdoc.link is reinitialized properly when we're going to, but not
Packit f574b8
  ACTIVATE-ing, a link in the current page due to a 'g' suffix for a
Packit f574b8
  "Follow link (or page) number:" entry.  Otherwise, if the number with
Packit f574b8
  a 'g' suffix was used to make the last link on the current page the
Packit f574b8
  current link, and then a NEXT_LINK command was used, one could end
Packit f574b8
  up on a link beyond the first one in the next page.  Also added a
Packit f574b8
  statusline message if the 'g' suffix is used with a number which
Packit f574b8
  corresponds to a link that already is current. - FM
Packit f574b8
* Tweaked yesterday's LYList.c mods so that an OL with the CONTINUE
Packit f574b8
  attribute is used when a "Hidden links:" list is appended to a
Packit f574b8
  "Visible links:" list and NUMBERS_AS_ARROWS mode is on.  This allows
Packit f574b8
  you to see the number to enter at "Follow link (or page) number:"
Packit f574b8
  prompts, as when LINKS_ARE_NUMBERED mode is on. - FM
Packit f574b8
* Mods in HTML.c for LI and LH handling so that a pointless wrap will not
Packit f574b8
  occur at the spacer following the bullet in UL blocks or the Arabic
Packit f574b8
  number, Roman numeral, or upper- or lowercase letter in OL blocks if
Packit f574b8
  the subsequent text has no spaces, itself, up to the right margin.
Packit f574b8
  In such cases, that text now stays on the initial LI or LH line, and
Packit f574b8
  wraps at the right margin to the left indentation for a second or
Packit f574b8
  greater line in the LI or LH. - FM
Packit f574b8
* Changes to avoid memory leaks in LYCookie.c - KW
Packit f574b8
* Escape '<' and '>' characters (using the LYEntify functions) in URL
Packit f574b8
  strings written to the temporary files for LIST and INFO screens, to
Packit f574b8
  avoid invalid HTML and corrupted display as a result of URLs which
Packit f574b8
  contain these characters (although they shouldn't) and have not been
Packit f574b8
  escaped earlier. - KW
Packit f574b8
* Changed the label for the currently selected link from "Filename:"
Packit f574b8
  to "URL:", and fixed an alignment glitch for the 9th item on the
Packit f574b8
  History and Visited Links pages. - KW
Packit f574b8
* Changed an "8-bit" occurring in HtInit.c to "8bit", tweaked LYKeymap.c
Packit f574b8
  comments. - KW
Packit f574b8
1997-05-05
Packit f574b8
* Added HText_AddHiddenLink(), HText_HiddenLinkCount(), and
Packit f574b8
  HText_HiddenLinkAt() functions in GridText.c for keeping track of the
Packit f574b8
  addresses (URL, plus fragment if present) for links that were converted
Packit f574b8
  to hidden by HText_endAnchor() due to their having no visible link name,
Packit f574b8
  and modified showlist() and printlist() in LYList.c so that if any hidden
Packit f574b8
  links were create during the rendition, the "References in this document:"
Packit f574b8
  menu for the 'l'ist command or appendix on dumps segregates and clearly
Packit f574b8
  labels the visible versus hidden links. - FM
Packit f574b8
* Plugged a memory leak in LYEntify() of LYCharUtils.c. - FM
Packit f574b8
* Modified experimental DTD info to not close anchors when an invalid
Packit f574b8
  P, H1-H6, or ADDRESS start tag is encountered, and to change error
Packit f574b8
  recovery for P and MAP. - KW
Packit f574b8
* Modified experimental DTD info and HTML.c to not close PRE when
Packit f574b8
  an invalid FORM start tag is encountered, and to use the appropriate
Packit f574b8
  handling for preformatted text if PRE is in effect but is not the top
Packit f574b8
  element on HTML.c's stack.  The HTStyle structure's freeFormat (which
Packit f574b8
  wasn't used anywhere before) is now used as one test whether we are
Packit f574b8
  within preformatted text, also corrected the style setting of freeFormat
Packit f574b8
  for PRE in DefaultStyle.c. - KW
Packit f574b8
* Changed internal gateways (in HTNews.c, HTFile.c, HTWAIS.c, HTWSRC.c)
Packit f574b8
  to end LI, DT, and DD elements if they are not declared SGML_EMPTY,
Packit f574b8
  so that HTML.c's stack won't get overloaded in this case. - KW
Packit f574b8
* Tweaks in mainloop() handling of DO_GOTOLINK_STUFF and DO_GOTOPAGE_STUFF.
Packit f574b8
  Going to a link with the 'g' suffix and then immediately ACTIVATing that
Packit f574b8
  link could previously show the wrong page of the new document, since
Packit f574b8
  newdoc.line was not being reset. - KW
Packit f574b8
1997-05-03
Packit f574b8
* (chartrans) Now always check for LYlowest_eightbit[current_char_set]
Packit f574b8
  near the top of HText_appendCharacter(), to prevent writing C1 control
Packit f574b8
  chars to the terminal if they are not valid as displayable characters
Packit f574b8
  according to the selected "display character set" Option.
Packit f574b8
  All this should be handled earlier in processing, and this check may
Packit f574b8
  disappear again for testing, but somebody asked for it... - KW
Packit f574b8
* (chartrans) Small changes to README files. - KW
Packit f574b8
* In the section of HTUtils.h for non-autoconf builds, don't set
Packit f574b8
  HAVE_KEYPAD or HAVE_TTYTYPE if USE_SLANG is defined. - KW
Packit f574b8
* Modified HText_LinksInLines() to not count hidden form fields. - KW
Packit f574b8
* Added support for setting an anchor's no_cache element based on a
Packit f574b8
  comparison between Expires and Date headers if both were received
Packit f574b8
  and we didn't set it based on a Cache-Control directive.  Also
Packit f574b8
  added equivalent support for a comparison between an Expires value
Packit f574b8
  from a META tag and a Date header.  We still compare Expires header
Packit f574b8
  or META values versus the system time if no Date header was received,
Packit f574b8
  and still do not accept Date values from META tags because they are
Packit f574b8
  unlikely to be reliable. - FM
Packit f574b8
1997-05-02
Packit f574b8
* Fixed a bug in LYAddImageMap() of LYMap.c which could cause multiple
Packit f574b8
  insertions of the same MAP into the LynxMaps structure, and crashes
Packit f574b8
  on some systems due to the consequent multiple FREE()'s at exit. - FM
Packit f574b8
1997-05-01
Packit f574b8
* More mods in HTML.c, LYCharUtils.c and GridText.c for rational handling
Packit f574b8
  of potentially wrapped form fields in PRE blocks.  We now artificially
Packit f574b8
  wrap the line if the form field would start within 6 columns from the
Packit f574b8
  right margin.  This makes sure that editing windows and the highlighted
Packit f574b8
  segments of submit or reset buttons will not ever be ridiculously short,
Packit f574b8
  and is homologous to our use of a collapsible space before input fields
Packit f574b8
  and buttons when not in PRE blocks to promote a wrap there instead of
Packit f574b8
  within the fields or buttons. - FM
Packit f574b8
* Expanded the WHEREIS query support so that it also locates the values
Packit f574b8
  of form fields within the current document and repositions or pages
Packit f574b8
  accordingly, as for normal (Anchor) links and for text strings.  Note
Packit f574b8
  that if the hit was for an OPTION value in a retracted SELECT popup,
Packit f574b8
  you are positioned on the retracted window, and must pop it up and
Packit f574b8
  search again to be positioned on the OPTION value with the hit, unless
Packit f574b8
  it already is the selected OPTION.  The mods are hairy enough without
Packit f574b8
  trying to do the latter automatically, at least for now. - FM
Packit f574b8
1997-04-30
Packit f574b8
* Quote the URL for external command (not for VMS or DOS or Windows)
Packit f574b8
  to avoid dangerous chars and shell spoofing. - KW
Packit f574b8
* Escape characters properly when constructing URLs from filenames
Packit f574b8
  in LYConvertToURL.  If a string given for startfile, home page, or
Packit f574b8
  a goto command which does not already have the form of an absolute
Packit f574b8
  URL starting with an URL scheme and which does not start with '~'
Packit f574b8
  (but may start with '/') specifies an existing file or directory in
Packit f574b8
  valid Unix-like format for the native filesystem, i.e., without using
Packit f574b8
  escaping, it gets URL-escaped, otherwise it is assumed to already
Packit f574b8
  be URL-escaped. - KW
Packit f574b8
1997-04-29
Packit f574b8
* Updated RP Styles 0.2 code, don't allow comma as separator between
Packit f574b8
  fg and bg colors after all, fix the LYNX_VERSION string generation
Packit f574b8
  in userdefs.h to have `-Styles' appended *within* the quoted string. - KW
Packit f574b8
* Added support for a 'p' suffix, like the 'g' suffix for making a link
Packit f574b8
  number the current link rather than ACTIVATE-ing it,
Packit f574b8
  but for displaying the page indicated by the number preceding the
Packit f574b8
  'p' suffix entered at the "follow link (or goto link or page) number:"
Packit f574b8
  prompt.  [...]  If the number
Packit f574b8
  entered at the prompt is '1' or less followed by the 'p' suffix, or only
Packit f574b8
  'p' is entered, you get the same behavior as for the HOME command.  If
Packit f574b8
  the number is equal to or greater than the number of pages, you get the
Packit f574b8
  last page displayed as you would if you had used successive PAGE_DOWN
Packit f574b8
  commands from the HOME position to reach it.  This differs from the END
Packit f574b8
  command, which fills the screen with lines from the end of the document
Packit f574b8
  if you are not already displaying the end of the document.  Note that if
Packit f574b8
  you enter a number without a suffix (to ACTIVATE the link with that number)
Packit f574b8
  or with the 'g' suffix (to make the link with that number the current link)
Packit f574b8
  it must correspond to a valid link number or an error statusline message
Packit f574b8
  will be issued, in contrast to the 'p' suffix for which an out of range
Packit f574b8
  number is treated as a request to display the first or last actual page in
Packit f574b8
  the current document. - FM
Packit f574b8
* Fixed some typos in lynx.man. - LV
Packit f574b8
* More modifications of the anchor counting code for HTGetLinkInfo() in
Packit f574b8
  GridText.c so that it properly skips hidden form fields and anchors
Packit f574b8
  without selectable text. - KW
Packit f574b8
* More modifications in GridText.c and HTML.c so that it deals rationally
Packit f574b8
  with submit or reset button values, and the underscore placeholders for
Packit f574b8
  other form fields, when in versus not in PRE blocks.  The entire submit
Packit f574b8
  or reset button values are now always displayed, whether or not a portion
Packit f574b8
  of it was wrapped, but we still can only highlight the portion before the
Packit f574b8
  wrap to indicate a link for submission of the form or for resetting the
Packit f574b8
  form field values. - FM
Packit f574b8
* Undid some mysterious changes in SIGHUP setting (SIG_IGN vs. SIG_DFL)
Packit f574b8
  which had sneaked in in connection with adding the NOSIGHUP
Packit f574b8
  conditional. - KW
Packit f574b8
* Tweaks to New DTD's extra info for CENTER and H1..H6 - KW
Packit f574b8
* New function HText_AreDifferent() from FM added to GridText.c, but
Packit f574b8
  not used yet. - KW
Packit f574b8
* Tweaks to WB's additions for external command: use strncasecomp, add
Packit f574b8
  LYExtern.o to src/makefile.in, changed test for empty command. - KW
Packit f574b8
* Changed LYKeymap.h and LYKeymap.c so they agree about the symbols
Packit f574b8
  assigned to the new keys (SWITCH_DTD, EXTERN). - KW
Packit f574b8
* correct minor syntax err that caused SCO 3.x to fail make-include
Packit f574b8
  autoconf test.  also, eliminate whitespace before '#' that causes
Packit f574b8
  compile-fail on K&R compilers. - TD
Packit f574b8
1997-04-28
Packit f574b8
* Updated lynx_url_support.html so as to make clear that the offer to
Packit f574b8
  include the currently displayed document with right-angle-bracket
Packit f574b8
  prefixing for mailto, newsreply, and snewsreply URLs is made only if
Packit f574b8
  the user has defined an external editor via the Options Menu, and that
Packit f574b8
  the user is expected to edit this inclusion so that it retains only
Packit f574b8
  those passages relevant to the email or followup message which the
Packit f574b8
  user will add. - FM
Packit f574b8
* Tweak of INPUT handling in HTML.c so that we use nbsp instead of any
Packit f574b8
  spaces when loading a submit or reset button's actual value instead
Packit f574b8
  of a series of underscores into the HText structure, so that we
Packit f574b8
  still promote a wrap, if needed, at the space we ensured would be
Packit f574b8
  present before each INPUT. - FM
Packit f574b8
* Made first_option a structure member rather than a static variable
Packit f574b8
  in HTML.c - KW
Packit f574b8
1997-04-27
Packit f574b8
* Tweak of Control-C and Control-G handling for popup_options() in
Packit f574b8
  LYForms.c.  They were being sought improperly as command keys rather
Packit f574b8
  than as raw keyboard entries.  Note that only Control-G should be
Packit f574b8
  used as "cancel" within popup windows on Unix, because Control-C
Packit f574b8
  is not being trapped to a handler as on VMS. - LE, FM
Packit f574b8
* Tweak of the anchor counting code for HTGetLinkInfo() in GridText.c
Packit f574b8
  so that it takes form fields into account when making a link current
Packit f574b8
  based on a "Follow link number" entry with the 'g' suffix.
Packit f574b8
  Also added comments to that code. - KW
Packit f574b8
1997-04-25
Packit f574b8
* Added information in the "Lynx bookmarks" section of the Users Guide
Packit f574b8
  about appropriate versus unsupported modifications when editing the
Packit f574b8
  bookmark files. - FM
Packit f574b8
* RP Styles 0.2 fixed a bit and brought up to current experimental code
Packit f574b8
  level (no autoconfig or simple-curses, only older version of Wayne's
Packit f574b8
  mods, maybe something else is missing, too).  No documentation, no
Packit f574b8
  detailed checking, no real cleanup.  Makefile slightly adapted,
Packit f574b8
  but still needs changing for new systems - see comments there. - KW
Packit f574b8
1997-04-24
Packit f574b8
* Tweaks for enhanced mouse support in Win32 and hooks for 386 which
Packit f574b8
  doesn't have mouse support yet. - WB
Packit f574b8
* External command added.  See LYExtern.* in src and lynx.cfg.
Packit f574b8
  You need to define USE_EXTERNALS to compile this in. - WB
Packit f574b8
1997-04-23
Packit f574b8
* Modified LYCharUtils.c, HTML.c and LYMessages_en.h so that if a
Packit f574b8
  partial reference (HREF or SRC value) would be resolved to an http
Packit f574b8
  or https URL which has only two dots as the first symbolic element in
Packit f574b8
  the path (e.g., http://host/../foo.html), such that the server would
Packit f574b8
  reject the request, that element is excluded from the resultant URL,
Packit f574b8
  but a statusline message is issued (once per document) about a bad
Packit f574b8
  partial reference, as immediate feedback which might lead to the
Packit f574b8
  document provider correcting the bad partial reference(s).  We still
Packit f574b8
  retain that first symbolic element, in compliance with the IETF RFCs
Packit f574b8
  and IDs for resolving URLs, with other URL schemes (e.g., ftp). - FM
Packit f574b8
* Added a skip_stack int to the HTML.h struct _HTStructured, to use
Packit f574b8
  for flagging that the next call to HTML_start_element or
Packit f574b8
  HTML_end_element is an internal shortcut and should skip pushing
Packit f574b8
  or popping the HTML.c paragraph style stack even for elements
Packit f574b8
  that are not declared SGML_EMPTY.  Added a SET_SKIP_STACK macro
Packit f574b8
  to HTML.c to set the flag, use it. - KW
Packit f574b8
* Changes to HTML.c to better deal with a number of elements which may
Packit f574b8
  or may not have been declared SGML_EMPTY in HTMLDTD.c:
Packit f574b8
  if the last stacked element is HTML_OPTION, treat text as for
Packit f574b8
  HTML_SELECT in HTML_put_character and HTML_put_character and
Packit f574b8
  HTML_put_string.  Added handling code for 

to HTML_end_element
Packit f574b8
  (similar but not identical to that for P in HTML_start_element).
Packit f574b8
  Added check whether a SELECT is still open to FORM handling in
Packit f574b8
  HTML_end_element.  Added check whether a FORM is open to SELECT
Packit f574b8
  handling in HTML_end_element.  Added cases for end tags of
Packit f574b8
  TABLE-related elements (TR, THEAD, TFOOT, TBODY, COLGROUP, TH, TD)
Packit f574b8
  and of DT, DD, LH, LI, FONT, OVERLAY to the switch in
Packit f574b8
  HTML_end_element, currently just break from the switch. - KW
Packit f574b8
* Some tweaks and corrections to the additional element info and
Packit f574b8
  to the content types used with New_DTD, in HTMLDTD.c.  Made
Packit f574b8
  OPTION non-empty. - KW
Packit f574b8
* Now changed the tags_old[] in HTMLDTD.c, which is used with the
Packit f574b8
  switchable "old" SGML parsing, to follow the changes for A, B,
Packit f574b8
  BLINK, CITE, EM, FONT, I, STRONG, and U mentioned in the entry
Packit f574b8
  of 1997-04-15.  These, together with FORM and P, are all declared
Packit f574b8
  as SGML_EMPTY now when the "old" SGML parsing is in effect, but
Packit f574b8
  not with new parsing. - KW
Packit f574b8
* Changes to LYMail.c and LYPrint.c to send Content-Transfer-Encoding
Packit f574b8
  headers and/or a charset parameter when mailing, based on idea from
Packit f574b8
  Hynek Med.  Don't use charset if we only have 7-bit characters
Packit f574b8
  anyway.  If compiled with EXP_CHARTRANS, use MIME name corresponding
Packit f574b8
  to display character set if it looks valid (not "x-"), otherwise
Packit f574b8
  only an explicitly given document charset.  In the chartrans case,
Packit f574b8
  don't send charset parameter for CJK since it may be wrong... - KW
Packit f574b8
* Added TRACE output to UCAuto.c - HM
Packit f574b8
1997-04-22
Packit f574b8
* refined check for slang libraries/headers by checking if $CFLAGS has been
Packit f574b8
  set so that slang.h is in the search path - TD
Packit f574b8
* add check to allow use of broken ncurses 1.9.9e's color - TD
Packit f574b8
* add check for NGROUPS, TRUE, FALSE macro definitions - TD
Packit f574b8
* remove top-level makefile.in targets that can be combined with the generic
Packit f574b8
  target (more work required on the remaining ones) - TD
Packit f574b8
* Plugged memory leak in deleteLinks() of HTAnchor.c. - KW
Packit f574b8
* When dumping or outputting a rendered document via the 'p'rint menu,
Packit f574b8
  Lynx would use the underscore placeholders for submit/image/reset
Packit f574b8
  buttons as for other INPUT fields.  We now load the values of
Packit f574b8
  submit/image/reset buttons instead of placeholders into the HText
Packit f574b8
  structure, so the values will be seen when dumping or outputting
Packit f574b8
  via the 'p'rint menu.  See the comments under case HTML_INPUT: in
Packit f574b8
  HTML.c for the still less than optimal things that happen if a
Packit f574b8
  wrap occurs within the INPUT value or placeholder strings, as might
Packit f574b8
  happen in PRE blocks, or for strings wider than the screen. - LE, FM
Packit f574b8
* SGML_abort() did not free memory used by the SGML.c parser stack.
Packit f574b8
  Now it does, but still doesn't call HTML_end_element() for the
Packit f574b8
  stacked elements (it's an abort after all...) - KW
Packit f574b8
1997-04-21
Packit f574b8
* Tweaks of the 1997-04-11 and 1997-04-09 mods in HText_endAnchor() of
Packit f574b8
  GridText.c so as to take possible wrapping of Anchor content into
Packit f574b8
  account when deciding whether or not to implement the Anchor as an
Packit f574b8
  ACTIVATE-able link. - FM
Packit f574b8
* New SGML.c parser, and new HTMLDTD.c with additional element info.
Packit f574b8
  Extra content information for each tag is now included in the
Packit f574b8
  HTTag structure, and given in an extended tags_new[] table in
Packit f574b8
  HTMLDTD.c.  Modified start_element() and end_element() in SGML.c
Packit f574b8
  to perform some heuristic wind-downs of the parsing stack, based
Packit f574b8
  on the extra element info. - KW
Packit f574b8
* Revert treatment of some tags which were treated as SGML_EMPTY
Packit f574b8
  before to their "natural" content model.  No changes made to
Packit f574b8
  HTML.c to accommodate this change, so results may differ where
Packit f574b8
  HTML.c relies on previous hacks or has now handling code for
Packit f574b8
  end tags of elements which were previously SGML_EMPTY. - KW
Packit f574b8
* Made SGML parsing switchable between old and new HTMLDTD info
Packit f574b8
  and SGML.c code, controlled by a New_DTD global variable and
Packit f574b8
  LYK_SWITCH_DTD toggle key.  Use (temporarily?) ^V for the toggle key.
Packit f574b8
  This is not yet changeable via command line, lynx.cfg, etc., and the
Packit f574b8
  default is New_DTD==YES (so that it gets tested :-) ). - KW
Packit f574b8
* Made some of the error messages before exit in LYMainLoop.c and
Packit f574b8
  LYMain.c go to stderr instead of stdout, but only for UNIX and,
Packit f574b8
  in the case of the LYMainLoop.c messages, only if
Packit f574b8
  dump_output_immediately was in effect. - KW
Packit f574b8
1997-04-20
Packit f574b8
* Tweaks in LYCharUtils.c to bind META CONTENT to a header value only
Packit f574b8
  via an HTTP-EQUIV attribute (i.e., not via a NAME attribute). - FM
Packit f574b8
* Mod in HTAccess.c to ignore the anchor's no_cache element if we're
Packit f574b8
  seeking a position in the currently loaded document. - FM
Packit f574b8
* Commented out the above change in HTAccess.c.  There's a more complete
Packit f574b8
  mechanism for it already in this code... - KW
Packit f574b8
* Fixed a typo in the bookmark file lead text. - DK (Doug Kaufman
Packit f574b8
  <dkaufman@rahul.net>)
Packit f574b8
1997-04-19
Packit f574b8
* Changed the inappropriate StrAllocCat() to StrAllocCopy() for
Packit f574b8
  loading the XLOADIMAGE_COMMAND in LYReadCFG.c. - PC
Packit f574b8
1997-04-18
Packit f574b8
* Based on recent discussions in www-html@w3.org, added HY and SHY
Packit f574b8
  to the DTD (treated as synonyms; one or the other is most likely
Packit f574b8
  to be used in future HTML specs, so for now, we support both), as
Packit f574b8
  markup equivalent to the named entity ­ and numeric character
Packit f574b8
  reference ­ (soft hyphen).  Note that Lynx implements soft
Packit f574b8
  hyphens as specified in IETF RFC 2070 (link "HTML i18n" in the
Packit f574b8
  Users Guide).  Use of a tag instead of entity is preferable for
Packit f574b8
  a soft hyphen because browsers which do not support soft hyphen
Packit f574b8
  will ignore it as an "unknown tag" instead of inappropriately
Packit f574b8
  inserting a hyphen or displaying the raw entity.  Also added WBR,
Packit f574b8
  which is handled like soft hyphen (indicating a permissible wrap
Packit f574b8
  point), but does not insert a hyphen at the wrap. - FM
Packit f574b8
1997-04-17
Packit f574b8
* Mods in HTML.c, HTML.h, and LYMessages_en.h to issue an HTML stack
Packit f574b8
  overrun message only once per document, and as a statusline message
Packit f574b8
  if not in TRACE mode, and to check in HTML_end_element() for
Packit f574b8
  correspondence between the SGML and HTML stacks if an overrun should
Packit f574b8
  occur. - FM
Packit f574b8
* Corrections in HTML.c for the bounds checks associated with DIV and
Packit f574b8
  CENTER nesting levels, and for an HTML stack underrun. - KW
Packit f574b8
* Plugged a memory leak under case HTML_IMG: of HTML_start_element() in
Packit f574b8
  HTML.c, and removed an inappropriate if(){} in HText_endAnchor() of
Packit f574b8
  GridText.c. - FM, KW
Packit f574b8
* Modified the lead text created for bookmark files in LYBookmark.c so
Packit f574b8
  that it indicates that an editor can be used to delete or reorder
Packit f574b8
  the links, but that the format within lines should not be changed,
Packit f574b8
  nor other HTML markup added.  Note that the new lead text will be
Packit f574b8
  used only when new bookmark files are created via the 'a'dd bookmark
Packit f574b8
  link command.  A new bookmark file is not created if the one being
Packit f574b8
  sought already exists, so existing ones will still have the old
Packit f574b8
  lead text. - FM
Packit f574b8
1997-04-16
Packit f574b8
* Extensive changes to try to keep track of whether a document (or
Packit f574b8
  a location within it) was reached by an internal (fragment-only)
Packit f574b8
  URL reference or not.  The basic idea is to be serious about I-D
Packit f574b8
  (currently) draft-fielding-url-syntax-04.txt.
Packit f574b8
  URL references starting with '#' are always to the current
Packit f574b8
  document (from which the reference is made). This leads to a
Packit f574b8
  lot of hackery in HTML.c, LYMainLoop.c, LYHistory.c, etc. etc...
Packit f574b8
  to distinguish a doc that was reached by an "internal" reference
Packit f574b8
  from others.  But it seems necessary to keep track of how the
Packit f574b8
  reference to a fragment was specified, whether with a non-empty
Packit f574b8
  "real" URL (possibly relative) preceding the '#' or without it,
Packit f574b8
  all the way way from the HTML parsing to the mainloop.  Only then
Packit f574b8
  can the mainloop decide to not start a new retrieval for an internal
Packit f574b8
  reference without skipping a new retrieval if a full URL reference
Packit f574b8
  with fragment is made to a location in the same document (which
Packit f574b8
  may be non-cachable or the result of a POST)...
Packit f574b8
  This code prevents unnecessary/inappropriate POST form resubmissions
Packit f574b8
  on following an internal link in a POST response, as they are
Packit f574b8
  present for example in WebTechs validation results. - KW
Packit f574b8
* A "Goto numbered link" feature.  The user interface could be improved...
Packit f574b8
  Start typing the link number, then add 'g' before hitting enter - KW
Packit f574b8
* Some improvements to WHEREIS search.  Will not always position
Packit f574b8
  found string on first line (details depend on whether anchors are
Packit f574b8
  present, usually will position in top third of screen), and avoid
Packit f574b8
  some unnecessary screen updates. - KW
Packit f574b8
1997-04-15
Packit f574b8
* Miscellaneous additional tweaks in HTML.c for more robust error recovery
Packit f574b8
  from bad HTML involving emphasis or style elements (B, BLINK, CITE, EM,
Packit f574b8
  FONT, I, STRONG, and U), or HREF-less NAME-ed Anchors without matching
Packit f574b8
  end tags. - FM
Packit f574b8
* Modified the declarations in HTMLDTD.c and code in SGML.C, HTML.c, and
Packit f574b8
  GridText.c to handle A, B, BLINK, CITE, EM, FONT, I, STRONG, and U
Packit f574b8
  container elements homologously to the modified handling of FORM (see
Packit f574b8
  1997-04-05 mods) so that if they are invalidly interdigitated or have
Packit f574b8
  spurious end tags in the markup, substitutions of the "expected" end
Packit f574b8
  tags by the SGML.c stack-based parser will not be made, and without
Packit f574b8
  messing up the HTML.c stack-based parser.  Appears to work reliably
Packit f574b8
  for all of the elements, and to be reasonably crash safe (hopefully
Packit f574b8
  as safe as the vanilla v2.7.1), but there are no guarantees. - FM
Packit f574b8
* Only *some* (most?) of the changes described in the above two
Packit f574b8
  entries are used, as far as they change HTML.c.  Not yet using the
Packit f574b8
  changes to HTMLDTD.c and SGML.c. - KW
Packit f574b8
* refined logic of SVr4 curses color support to test the no_color_video
Packit f574b8
  attribute - TD
Packit f574b8
* ifdef'd NCURSES_MOUSE_VERSION logic to allow build with ncurses 1.9.4 - TD
Packit f574b8
* ifdef'd wgetbkgd misspelling to allow build with ncurses prior to 1.9.9g - TD
Packit f574b8
* document USE_MOUSE configuration-option - TD
Packit f574b8
* modify configure script and makefile.in templates to make BSDI_Makefile
Packit f574b8
  obsolete - TD
Packit f574b8
* rename config.h to lynx_cfg.h to minimize conflict when configuring against
Packit f574b8
  ncurses or slang in nonstandard locations - TD
Packit f574b8
* new autoconf macro CF_HEADER_PATH is used to make header-search for slang
Packit f574b8
  the same as ncurses - TD
Packit f574b8
* modify CF_CURSES_LIBS, CF_NCURSES_LIBS and CF_SLANG_LIBS to accommodate
Packit f574b8
  predefinition of $LIBS variable - TD
Packit f574b8
* corrected autoconf'd compiler flags for Ultrix - TD
Packit f574b8
* add config.guess & config.sub to allow specialized host-type checks - TD
Packit f574b8
* guard against redefinition of NO_FILIO_H - TD
Packit f574b8
* use new autoconf macro CF_SYSTEM_MAIL_FLAGS -JES
Packit f574b8
1997-04-14
Packit f574b8
* Tweaked LYAddImageMap() in LYMap.c so that it removes all pre-existing
Packit f574b8
  AREA element entries when updating MAP element content, and set the
Packit f574b8
  no_cache anchor element in LYLoadIMGmap() so that the updated MAPs
Packit f574b8
  always will be used when rendering. - FM
Packit f574b8
* Not using the no_cache change from last entry, until further
Packit f574b8
  investigation. - KW
Packit f574b8
* Removed two spurious lines under case LYK_PRINT: in LYMainLoop.c
Packit f574b8
  (from an old cut and paste from case LYK_HISTORY: done too late
Packit f574b8
  at night 8-). - FM
Packit f574b8
1997-04-13
Packit f574b8
* Modified the handling of BASE for resolving HREFs in relation to MAP
Packit f574b8
  and AREA elements, and USEMAPs in IMG and OBJECT elements.  The
Packit f574b8
  formally released code was treating such links equivalently to the
Packit f574b8
  handling of fragments for positioning the display to ID-ed elements
Packit f574b8
  or NAME-ed Anchors, and assuming they're in the same document if the
Packit f574b8
  associated HREF value begins with a '#', rather than resolving versus
Packit f574b8
  the BASE, and was always resolving versus the BASE for MAP ID or NAME
Packit f574b8
  attributes, and for the AREA HREFs in MAP content.  We now always
Packit f574b8
  resolve the MAP ID or NAME attributes versus the current stream's
Packit f574b8
  address (since the MAP must be in it or we wouldn't be handling it)
Packit f574b8
  [...] According to the
Packit f574b8
  original draft and the current HTML 3.2 Proposed Standard,
Packit f574b8
  MAPs need not be in the same document as the IMG or OBJECT elements
Packit f574b8
  which specify links to the MAPs.  Because MAPs are "deferred objects",
Packit f574b8
  they logically should be placed above any IMG or OBJECT elements which
Packit f574b8
  reference them in the same document (as is done for SCRIPTs), but this
Packit f574b8
  isn't stated in the specs, nor always done in practice.  [...]
Packit f574b8
  ([A]uthors who place the MAPs further down in the same document should be
Packit f574b8
  informed about "deferred objects" and encouraged to move them up 8-). - FM
Packit f574b8
* Use logical extension of the rules for HREF references also for
Packit f574b8
  USEMAP references to MAPs: relative URL references are resolved with
Packit f574b8
  respect to a BASE element if one is present in the document where they
Packit f574b8
  occur, unless they are URL references without a URL, i.e., only a
Packit f574b8
  fragment starting with '#'.  In the latter case they are taken as
Packit f574b8
  internal references referring to a MAP in the same document where
Packit f574b8
  the USEMAP occurs, whether the MAP occurs before the USEMAP (as it
Packit f574b8
  should, according to previous entry) or after the USEMAP.
Packit f574b8
  HREF's in AREA elements follow the same rules. - KW
Packit f574b8
* Fixed bug in HTML_free() for the case when LYMapsOnly is set.  We
Packit f574b8
  didn't create an HText structure for the stream (just scanned it for
Packit f574b8
  MAPs and processed them into LYMap.c's LynxMaps structure), nor do
Packit f574b8
  we want to create a blank one (as was being done) since we didn't
Packit f574b8
  render the stream, nor would we have a me->target set.  So we just
Packit f574b8
  free any me elements that might still be allocated (though they
Packit f574b8
  should have been freed already), and return rather than continuing
Packit f574b8
  through the rest of the HTML_free() code. - FM
Packit f574b8
1997-04-11
Packit f574b8
* Fixed bugs in Gridtext.c and HTML.c which could cause mishandling
Packit f574b8
  of anchors in LINKS_ARE_NUMBERS mode if a line wrap occurred in
Packit f574b8
  the numbered bracket or the anchor content following the bracket,
Packit f574b8
  and failures to suppress the numbered bracket if the anchor content
Packit f574b8
  was empty due to ALT="" in an IMG tag, or if Lynx was configured or
Packit f574b8
  toggled to suppress the link for the server-side image map if both
Packit f574b8
  ISMAP and USEMAP attibutes were present in the IMG tag. - FM
Packit f574b8
* Only using the number-removing code under additional conditions:
Packit f574b8
  ISMAPs which appear together with USEMAPs and which are suppressed
Packit f574b8
  with LYNoISMAPifUSEMAP in LINKS_ARE_NUMBERS mode. - KW
Packit f574b8
* Extended the disk_save restriction to the print menu as well as
Packit f574b8
  the download menu, and accordingly updated lynx.hlp, lynx.man, and
Packit f574b8
  Lynx_users_guide.html. - HN, FM
Packit f574b8
1997-04-09
Packit f574b8
* Many changes to further the Win32 and 386 ports.  An emulation of
Packit f574b8
  the HTVMS_ calls was used to try and cover all the DOS'izms.
Packit f574b8
  A specialized ifdef for pdcurses color mapping added.  Some keypad
Packit f574b8
  tweaks.  More generalized process spawning.  .lynxrc is lynx.rc for 386 - WB
Packit f574b8
* Tweak to ensure that a newline isn't inserted by virtue of a
Packit f574b8
  FORM start tag if it's in the first line of a list element and
Packit f574b8
  no text precedes it other than a UL's bullet or OL's number
Packit f574b8
  on that line. -  FM
Packit f574b8
* Added pauses for the "Bad HTML" statusline messages under cases
Packit f574b8
  HTML_HTML and HTML_BODY in HTML_end_element(), and eliminated
Packit f574b8
  their checks for an unclosed FORM because we no longer expect
Packit f574b8
  that to cause a serious problem. - LE, FM
Packit f574b8
* Added a NO_ISMAP_IF_USEMAP configuration symbol and -ismap
Packit f574b8
  command line toggle for suppressing inclusion of a link for the
Packit f574b8
  server-side-image-map if an IMG or OBJECT element has both ISMAP
Packit f574b8
  and USEMAP attributes such that a client-side-image-map link is
Packit f574b8
  created.  Updated lynx.man, lynx.hlp and Lynx_users_guide.html
Packit f574b8
  accordingly. - FM
Packit f574b8
* Fixed a glitch in HText_endAnchor() of Gridtext.c which could
Packit f574b8
  cause dangling Anchors in LINKS_ARE_NUMBERED mode if the Anchor's
Packit f574b8
  content was handled in a manner which caused it to become zero
Packit f574b8
  length. - FM
Packit f574b8
* Moved handling for NEWS_POSTING in LYReadCFG.c to the right place,
Packit f574b8
  so that it can actually have an effect. - LV
Packit f574b8
* Typo fixes for the comment concerning NO_ANONYMOUS_EMAIL in
Packit f574b8
  userdefs.h - HN, FM
Packit f574b8
1997-04-08
Packit f574b8
* New translation table koi8r_uni for KOI8-R charset.  Lynx can now
Packit f574b8
  translate between iso-8859-5 and KOI8-R, at least for the Cyrillic
Packit f574b8
  characters present in both. - KW
Packit f574b8
* New translation table def7_uni with default 7-bit mappings
Packit f574b8
  (replacement representation).  Based on RFC1345 and mnemonic,ds
Packit f574b8
  from ftp://dkuug.dk/i18n/ and previous Lynx replacements
Packit f574b8
  in LYCharSets.c and IPA FAQ convention and stuff for Ethiopic and
Packit f574b8
  KOI8-R.  It maps many of the accented Latin characters present in
Packit f574b8
  Unicode to their unaccented counterparts.  This table is now
Packit f574b8
  used for the "7 bit approximations" display "character set". - KW
Packit f574b8
* Entities for Latin2 characters added to HTMLDTD.c  These also
Packit f574b8
  include many entity names for ASCII characters, and characters
Packit f574b8
  which are in both iso-8859-1 and iso-8859-2. - Hynek Med
Packit f574b8
* Changes to the non-chartrans translation tables in LYCharSets.c
Packit f574b8
  for Đ, Ð, and ð.  Treat Đ more like
Packit f574b8
  an entity for the (Latin-2) Unicode character U+0110, since
Packit f574b8
  that seems to be SGML standard usage. - KW
Packit f574b8
* Added mappings for some "smart quote" characters to several
Packit f574b8
  translation tables. - KW
Packit f574b8
* Make makeuctb slightly more flexible (accept unicode range for
Packit f574b8
  mapping to single code point). - KW
Packit f574b8
1997-04-07
Packit f574b8
* Took out special-case handling in the curses-color code for underlining
Packit f574b8
  when lynx is running under Linux using the linux console with color.
Packit f574b8
  The code was introduced on 1997-03-12 and would ignore "smul" capability
Packit f574b8
  info from terminfo or termcap under those circumstances, always using
Packit f574b8
  bold instead of underline. - KW
Packit f574b8
* Slightly modified the FORM handling patch of 1997-04-05, as follows:
Packit f574b8
  Use a generic test for a non-SGML_EMPTY element for bypassing the
Packit f574b8
  stack pop in HTML_end_element() of HTML.c instead of an explicit
Packit f574b8
  test for HTML_FORM. - KW
Packit f574b8
1997-04-06
Packit f574b8
* Patch for IMG elements which have both ISMAP and USEMAP in effect.
Packit f574b8
  In HTML_start_element() don't generate the "[ISMAP]-" string for
Packit f574b8
  output in this case, unless clickable_images is set TRUE. - KW
Packit f574b8
1997-04-05
Packit f574b8
* Patch for Lynx v2.7.1 to handle invalidly interdigitated container
Packit f574b8
  elements or spurious container end tags without substitutions of
Packit f574b8
  "expected" FORM end tags by the SGML.c stack-based parser, and
Packit f574b8
  without messing up the HTML.c stack-based parser.  Reliably succeeds
Packit f574b8
  in not closing FORMs before all of the FORM elements, including
Packit f574b8
  submit buttons, have been processed.  Should be reasonably crash
Packit f574b8
  safe (hopefully as safe as the vanilla v2.7.1), but there are no
Packit f574b8
  guarantees. - FM
Packit f574b8
1997-04-04
Packit f574b8
============================================================================
Packit f574b8
---  Release of Lynx2-7 + BUGFIXES as Lynx v2.7.1 (April 4, 1997) by FM  ---
Packit f574b8
============================================================================
Packit f574b8
* Note that 2.7.1 was not a release from this code set, but all 2.7 -> 2.7.1
Packit f574b8
  bugfixes and other changes are also included in this code set, in either
Packit f574b8
  identical or equivalent form.  Therefore the entries below this point
Packit f574b8
  comprise the 2.7 -> 2.7.1 changes, and additionally other changes made to
Packit f574b8
  the development code set during that time. - KW
Packit f574b8
1997-04-02
Packit f574b8
* add Andrew Kuchling's patch to support mouse-clicks with ncurses. - TD
Packit f574b8
* refine tests that address porting problems to SCO (detecting struct winsize,
Packit f574b8
  workaround for misdefinition of 'remove') - TD
Packit f574b8
* refine CF_COLOR_CURSES test to avoid ncurses 1.9.9e bugs. - TD
Packit f574b8
* refine CF_PATH_PROG to allow for machines that haven't the given programs,
Packit f574b8
  by using only the program name and added configure option
Packit f574b8
  --disable-full-paths to enforce this behavior. - TD
Packit f574b8
* fixes for some gcc compiler warnings (missing prototypes, unused variables,
Packit f574b8
  uninitialized variables, shadowed variables). - TD
Packit f574b8
* Fixed typos in LYHistory.c, LYMail.c and LYMain.c which caused
Packit f574b8
  failures of flag setting in the distributed code. - TD
Packit f574b8
* correct cast in HTFWriter.c that may break if atoi() is not prototyped. - TD
Packit f574b8
* add top-level makefile target 'maintainer-clean', use this to remove
Packit f574b8
  Lynx.prj - TD
Packit f574b8
1997-03-31
Packit f574b8
* Added a missing check for whether the fragment token is NULL in
Packit f574b8
  LYConvertToURL() of LYUtils.c.  Without the check, the for-Unix code
Packit f574b8
  could crash if a local file spec was entered as a startfile or goto
Packit f574b8
  with escaped characters. - KW
Packit f574b8
* Mod in HTML.c to retain "[INLINE]" as the default ALT string if an
Packit f574b8
  IMG element has an ISMAP attribute but is not in Anchor content such
Packit f574b8
  that it could not in fact function as a server-side image map. - FM
Packit f574b8
1997-03-27
Packit f574b8
* In mainloop(), after the call to HText_pageDisplay() following a change
Packit f574b8
  of the document view, ensure that curdoc.link does not remain set to -1
Packit f574b8
  if there are any links on the screen.  This would otherwise happen if
Packit f574b8
  a document is pushed to the history stack while there are no links, and
Packit f574b8
  later popped (and refreshed) after one or more links have been created.
Packit f574b8
  This change prevents segmentation faults which occurred after creation
Packit f574b8
  of a new file in a previously empty directory via the DIRED menu.  The
Packit f574b8
  access to invalid memory only occurred if the screen showing the empty
Packit f574b8
  directory did not have a parent dir reference link (which is always the
Packit f574b8
  case if NO_PARENT_DIR_REFERENCE was specified at compilation time). - KW
Packit f574b8
* In LYLocal.c, modified the code handling DIRED_MENU to do more careful
Packit f574b8
  checking of the selected file.  In addition to "TAG", "FILE", and "DIR",
Packit f574b8
  DIRED_MENU definitions in lynx.cfg now also recognize LINK as a type.
Packit f574b8
  DIRED_MENU definitions with a type field of "LINK" are only used if the
Packit f574b8
  current selection is a symbolic link ("FILE" and "DIR" definitions are
Packit f574b8
  not used in that case).  The default menu definitions have been updated
Packit f574b8
  to reflect this change, and to avoid the showing of menu items whose
Packit f574b8
  action would always fail - KW
Packit f574b8
* Some cleanup to eliminate compiler warnings, remove some unused
Packit f574b8
  variables - KW
Packit f574b8
* Fixed a typo and added comments for the code in LYMainLoop.c which
Packit f574b8
  decides whether to load the URLs for homepage and/or startfile into
Packit f574b8
  the goto buffer at startup.  The typo in the distributed code caused
Packit f574b8
  the startfile URL always to be added to the goto buffer, even if
Packit f574b8
  it had POST content such that it could be resent inappropriately
Packit f574b8
  as a GET request via the goto buffer. - FM
Packit f574b8
* Added a bsdi-slang target to the Makefile. - Laura Eaves
Packit f574b8
1997-03-26
Packit f574b8
* Changed highlighting of strings found by a WHEREIS ('/') search.
Packit f574b8
  Now uses Christmas tree attribute combination ("all bits are on"),
Packit f574b8
  which with color support translates to COLOR:7. - KW
Packit f574b8
* Modified the HTStream structure and associated code in src/HTFWriter.c
Packit f574b8
  so that we save and use the relevant content of the associated
Packit f574b8
  HTPresentation structure as two HTFormat elements rather than via a
Packit f574b8
  pointer to the HTPresentation structure itself, because the latter
Packit f574b8
  structure might not be valid under some circumstances when
Packit f574b8
  HTFWriter_free() is called.  The distributed code might indirectly
Packit f574b8
  result in segmentation faults during downloading on Linux and some
Packit f574b8
  other flavors of Unix (though they don't occur for most flavors, or
Packit f574b8
  on VMS). - KW
Packit f574b8
1997-03-23
Packit f574b8
* Further reduction of top-level makefile.in by moving definitions out of
Packit f574b8
  WWW/Implementation/*/Makefile, so only one is needed for autoconfigured
Packit f574b8
  build (i.e., WWW/Implementation/unix/Makefile).  This highlights the
Packit f574b8
  remaining differences between the top-level targets - TD
Packit f574b8
* Make configure script generate Unix makefiles in subdirectories, a step
Packit f574b8
  toward being able to run make from any directory, for development - TD
Packit f574b8
* Add autoconf tests for paths of programs, including sendmail vs mmdf - TD
Packit f574b8
* Add configure script options for development (--disable-echo, --enable-debug,
Packit f574b8
  --enable-find-leaks, --enable-warnings) - TD
Packit f574b8
* Allow user to override search path for ncurses header by setting $CFLAGS or
Packit f574b8
  $CPPFLAGS - TD
Packit f574b8
* Correct array limit in LYCurses.c for SVr4 color support - TD
Packit f574b8
* Use addstr rather than printw in popup-forms to address concern about 8-bit
Packit f574b8
  characters - TD
Packit f574b8
1997-03-21
Packit f574b8
* Changes in auto config handling of ncurses header location, function
Packit f574b8
  used for reading terminal input, some other system dependent tweaks
Packit f574b8
  (including SCO broken remove, time.h) - TD
Packit f574b8
* Fix for popup handling with late ncurses versions (uses wprintw
Packit f574b8
  instead of waddstr in LYForms.c) - TD
Packit f574b8
* Mods in LYPrint.c to use ".txt" as the output file extension for
Packit f574b8
  all rendered text/html files regardless of their original extension.
Packit f574b8
  The distributed code was doing this only for ones with an extension
Packit f574b8
  of ".html".  The original extension still is retained if the file
Packit f574b8
  is being output as source. - FM
Packit f574b8
* Added protection against passing a NULL pointer for path_url to
Packit f574b8
  render_item() from dired_options() in LYLocal.c. - GN
Packit f574b8
1997-03-20
Packit f574b8
* Tweaked the protection against URLs directed to port 19 or port 25 so
Packit f574b8
  that it can't be circumvented via lead zeros in the port numbers. - FM
Packit f574b8
* Changed the compilation default so as not to send From MIME headers to
Packit f574b8
  http or https servers.  The default can still be changed via lynx.cfg.
Packit f574b8
  Replaced the -nofrom disabling switch to a -from switch for toggling
Packit f574b8
  the compilation or configuration default.  Sending the From header
Packit f574b8
  has become widely regarded as an invasion of privacy risk, particularly
Packit f574b8
  in conjunction with cookie support. - FM
Packit f574b8
* Corrected a typo in the lynx.cfg comments concerning TRUSTED_LYNXCGI
Packit f574b8
  rules. - KW
Packit f574b8
1997-03-17
Packit f574b8
* Mods of LYNews.c and LYMail.c to prepend a "-- " separator before
Packit f574b8
  appending the LYNX_SIG_FILE signature file to news and email
Packit f574b8
  messages. - FM
Packit f574b8
* Made the installation mode 755 in the top-level Makefile.  The
Packit f574b8
  distributed code used 555, and some install commands were unable
Packit f574b8
  to do the strip. - LV
Packit f574b8
1997-03-14
Packit f574b8
* Corrected typos and expanded the comments concerning lynxcgi symbols
Packit f574b8
  in userdefs.h and lynx.cfg. - FM
Packit f574b8
* Modified SGML.c to handle the numeric character reference ™ as
Packit f574b8
  the named entity ™ also in the non-chartrans case.  The
Packit f574b8
  trademark character (given by ™ or ™) will be shown as
Packit f574b8
  "(TM)" as the ASCII substitution unless the current display character
Packit f574b8
  has a code point for the trademark character or unless overridden by a
Packit f574b8
  chartrans translation table.  The code of 1997-02-25 prevented showing
Packit f574b8
  the trademark sign as "(R)" but did not work in all non-chartrans
Packit f574b8
  cases. - KW
Packit f574b8
* Include time.h via tcp.h for SVR4 systems.  The tcp.h header does include
Packit f574b8
  sys/time.h for Unix systems, but this apparently doesn't get  struct tm
Packit f574b8
  and  extern char * ctime()  declared for SVR4. - FM
Packit f574b8
1997-03-13
Packit f574b8
* Added protection in LYGetFile.c against connections to the port 25
Packit f574b8
  ESMTP service. - FM
Packit f574b8
1997-03-12
Packit f574b8
* (chartrans) Make compilation in src/chrtrans less verbose, no more
Packit f574b8
  generating automatic *.h_old backup copies. - KW
Packit f574b8
* Refinement to the SVr4 (ncurses) color support, allowing it
Packit f574b8
  to more closely model the slang support. - TD
Packit f574b8
1997-03-11
Packit f574b8
* Tweak for command line parsing of files with no URL in LYUtils.c.
Packit f574b8
  Also added ability to pass partial domain names in the DJGPP version. - WB
Packit f574b8
* Added the closing function for Win32 TCP in LYExit.c (did anyone see a
Packit f574b8
  difference?!). - WB
Packit f574b8
* Altered LYCurses.c so that the DJGPP version could spawn other programs
Packit f574b8
  without certain death. - WB
Packit f574b8
* Ignoring the whole ~/lynx.cfg problem (expanding '~') entirely for the
Packit f574b8
  Win32 version for now. - WB
Packit f574b8
* Some other tweaks for Win32 and DJGPP - WB
Packit f574b8
* Added protection in LYGetFile.c against denial of service attacks via
Packit f574b8
  the port 19 CHARGEN service.  The distributed code left Lynx or proxies
Packit f574b8
  vulnerable to such attacks via direct or redirection URLs. - FM
Packit f574b8
1997-03-10
Packit f574b8
* Fixed error in the handling of numeric character references with values
Packit f574b8
  greater than 255 in SGML.c.  The distributed code was breaking after
Packit f574b8
  substitutions instead of falling through to reset the string chunk and
Packit f574b8
  recycle the terminator if not a semi-colon. - FM
Packit f574b8
1997-03-09
Packit f574b8
* Integrated (simple) color, auto-configure patches with 2.7 following
Packit f574b8
  chrtrans patch - TD (T.Dickey), JES (J.Spath)
Packit f574b8
1997-03-08
Packit f574b8
* Fixed error in the switch positioning of checks for XLOADIMAGE_COMMAND
Packit f574b8
  and wais_proxy in LYReadCFG.c.  The distributed code had them reversed
Packit f574b8
  under case 'W' versus case 'X'. - PDS
Packit f574b8
* Expanded the copyright and licensing statements in the -version
Packit f574b8
  output. - FM
Packit f574b8
1997-03-04
Packit f574b8
* Corrected the offset computation in textsearch() of LYSearch.c so that
Packit f574b8
  WHEREIS searches repeated on a page with no links seek the target
Packit f574b8
  starting at the line immediately following the last displayed.  The
Packit f574b8
  distributed code was setting a greater offset. - JES
Packit f574b8
1997-03-02
Packit f574b8
* Don't entify post content for the showinfo display, now that we are
Packit f574b8
  making it an XMP block in that display to handle all of the supported
Packit f574b8
  enctypes. - FM
Packit f574b8
* Patches to fix mail and FTP for Win32 (LYMail.c, HTFile.c). - WB
Packit f574b8
* Makefiles to compile chartrans code for Win32. - WB
Packit f574b8
* (chartrans) Minor cleanups (makeuctb.c, chrtrans/Makefile, HTPlain.c)
Packit f574b8
  to enable successful compilation on Win32. - KW
Packit f574b8
1997-02-28
Packit f574b8
* Changed all references to "image/*" to just "image" in the userdefs.h
Packit f574b8
  and lynx.cfg comments about XLOADIMAGE_COMMAND.  The "/*" within the
Packit f574b8
  userdefs.h comments was generating warnings from some compilers. - FM
Packit f574b8
* Added a snake-slang target to the Makefile, and added -DUNIX to the
Packit f574b8
  LYFLAGS for the snake3 and snake3-slang targets (HP-UX apparently does
Packit f574b8
  not define "unix" itself with the -Ae switch, and thus needs to have
Packit f574b8
  that definition forced via -DUNIX). - HL
Packit f574b8
* Merged with patches and makefiles from Wayne Buttles
Packit f574b8
  (buttles@wsb.champlain.edu) to enable compilation in two new environments:
Packit f574b8
  Win32 (95/NT) with Borland C++ 4.52 compiler, and 386 DOS with DJGPP
Packit f574b8
  compiler.  To add ports for Win32 (95/NT) and 386 DOS computers with a
Packit f574b8
  packet driver, four new defines were created: _WINDOWS (Defined for Win32
Packit f574b8
  specific code - Mostly TCP related), DJGPP (Defined for 386 specific code -
Packit f574b8
  Mostly TCP related), DOSPATH (Defined for any DOS'ish computer), and
Packit f574b8
  NOSIGHUP (Defined for computers not supporting sighup signal calls).
Packit f574b8
  Separate utility programs needed for compiling and running Lynx on those
Packit f574b8
  platforms are available from Wayne at
Packit f574b8
  <http://www.fdisk.com/doslynx/wlynx/>. - WB, KW
Packit f574b8
* Fixed Telnet for Win32 - WB
Packit f574b8
* (chartrans) Small correction in SGML.c (set_chartrans_handling) - KW
Packit f574b8
1997-02-26
Packit f574b8
* Close both descriptors of the pipe() for the NSL_FORK enabled code
Packit f574b8
  in HTTCP.c.  The distributed code was closing only one of them on
Packit f574b8
  completed gethostbyname() calls, and neither on 'z'aps. - FM
Packit f574b8
* Changed the HREF for the "Lynx FAQ" link in the online 'h'elp to
Packit f574b8
  its new URL (http://www.slcc.edu/lynx/faq.html). - FM
Packit f574b8
1997-02-25
Packit f574b8
* More reverse engineering to cope with Netscape's bogus cookie header
Packit f574b8
  parsing.  The parser must not require an '=' between the expires
Packit f574b8
  attribute name and value, because Set-Cookie headers are being
Packit f574b8
  transmitted without it (e.g., by http://law.agps.gov.au).  So Lynx
Packit f574b8
  now treats that as another special case. - FM
Packit f574b8
* Cope with invalid use of expires attributes in Version 1 cookies.
Packit f574b8
  An -06 State Management draft recommends that for "backward
Packit f574b8
  compatibility", and has been severely criticized in the HTTP-WG,
Packit f574b8
  but it would be foolish not to assume Netscape will do that.  See the
Packit f574b8
  expanded comments in LYSetCookie() of LYCookie.c for more information.
Packit f574b8
  Note that "expires" thus cannot be used as a Version 1 cookie name, but
Packit f574b8
  a provider would be foolish to use that, anyway.  Note also that the
Packit f574b8
  possibility of using different header names for Version 1 versus
Packit f574b8
  Version 0 (a.k.a., "Netscape") cookies is being discussed in the
Packit f574b8
  HTTP-WG, which might have been better to do in the first place, but
Packit f574b8
  the -05 draft has been approved as RFC 2109:
Packit f574b8
    http://info.internet.isi.edu/in-notes/rfc/files/rfc2109.txt
Packit f574b8
  so it would be a while before that were done, if ever. - FM
Packit f574b8
* chartrans code for translation of character sets, handling of Unicode,
Packit f574b8
  and i18n updated for Lynx 2.7.  Support for CHARSET attribute on A
Packit f574b8
  tags.  New directory src/chrtrans with table files.  Compilation flags
Packit f574b8
  -DEXP_CHARTRANS, -DEXP_CHARTRANS_AUTOSWITCH (for Linux),
Packit f574b8
  -DSLANG_MBCS_HACK (for raw unicode console).
Packit f574b8
  New command line options when compiled with -DEXP_CHARTRANS, i.e.,
Packit f574b8
  "-assume_charset", "-assume_local_charset", "-assume_unrec_charset".
Packit f574b8
  See README.chartrans and README files in src/chrtrans for more info.
Packit f574b8
  INFO screen shows of effective charset even if not given explicitly.
Packit f574b8
  Translation routines in LYCharUtils.c not chartrans-ified at this point - KW
Packit f574b8
* No showing of ™ or ™ as (R) any more, use (TM) instead. - KW
Packit f574b8
* Prefer HTTP-EQUIV over NAME in META tags. - KW
Packit f574b8
1997-02-22
Packit f574b8
* Fixed a memory management glitch which could cause a crash if the
Packit f574b8
  MIME type of a reply to a FORM submission with METHOD=POST caused a
Packit f574b8
  download offer to be invoked. - FM
Packit f574b8
* Don't simplify ftp URLs by trimming trailing slashes if the URL is
Packit f574b8
  being proxied.  The Netscape proxy server for some unknown reason
Packit f574b8
  can return redirection for ftp URLs with the slash appended, and
Packit f574b8
  trimming it can result in a redirection loop.  Based on a posted
Packit f574b8
  patch from KW. - FM
Packit f574b8
* Fixed two typos in the checks for HTPassHighCtrlRaw in LYExpandString()
Packit f574b8
  of LYCharUtils.c. - KW
Packit f574b8
* Fixed typo in the equality check on line 1553 in HTGopher.c. - FM
Packit f574b8
1997-02-19
Packit f574b8
* Reset the host string after an '@', if present, when trimming default
Packit f574b8
  ":port" fields in the new code aimed at compliance with the Masinter
Packit f574b8
  and Fielding URL drafts, expected to replace RFCs 1738 and 1808.  The
Packit f574b8
  distributed code neglected to do that, and was ending up on a ":password"
Packit f574b8
  field, if present, instead of on the ":port" field, causing the username
Packit f574b8
  to be treated as the host name.  - FM
Packit f574b8
* Expand the default port trimming so as to include all of the registered
Packit f574b8
  URL schemes which support a port field in the v2.7 release. - FM
Packit f574b8
* Correctly uncache the current directory listing when invoking an 'u'pload,
Packit f574b8
  so that it will be updated to include the uploaded file if placed in the
Packit f574b8
  current directory.  The released code attempted to do this in a manner
Packit f574b8
  which prevented a pop, so that the directory listing couldn't be restored
Packit f574b8
  on return from the uploader menu. - FM
Packit f574b8
* Recognize a bookmark file used as the startfile, whether it resides in the
Packit f574b8
  home directory or in a subdirectory off home.  The released code failed if
Packit f574b8
  the file was in home, and not in a subdirectory, unless the -book switch
Packit f574b8
  was used instead of a startfile entry or WWW_HOME variable. - FM