-- $LynxId: CHANGES,v 1.1159 2024/01/15 21:41:51 tom Exp $ =============================================================================== Changes since Lynx 2.8 release =============================================================================== 2024-01-15 (2.9.0) * change version of OpenSSL used in Windows installers to 3.x and 1.1.1x, for new/old respectively -TD * fixes for UBSAN/ASAN issues with clang on Windows -GV * modify install-doc rule to use relative path for symbolic links -TD * add support for gopher's hURL functionality (patch by Viatrix). * allow ^G interrupt to end read from a stalled connection without exiting Lynx (Debian #1033423) -TD * allow the ^S keymap to be disabled in the configuration file, e.g., KEYMAP:^S:UNMAPPED (report by TG) -TD * repair docs/OS-390.announce and docs/README.jp -TD * make the test-files non-empty, to appease some packaging tools -TD * check for getpwuid(), use in preference to deprecated cuserid() -TD * modify curses initialization to permit ^S built-in keymap to work without needing external stty changes -TD * correct ifdef for LYmsec_delay() (report by Alexander Arkhipov) -TD * add a NUL after "/" in the SGML parser when the next character is ">", to make PRETTYSRC view display correctly (report by "Dima") -TD * trim some obsolete style code for NeXT -TD * improve responsiveness with respect to SIGWINCH (report by Mark Zaharov) -TD * improve check for MAX_URI_SIZE -TD * improve check for UTF-8 character encoding in XML Text Declaration (report by Lennart Jablonka) -TD * fix for decoding utf-8 in CDATA sections (patch by Hiltjo Posthuma) * treat HTTP 308 permanently redirected the same as HTTP 301 permanently moved (Debian #1041686). * formatting fixes for manpage (Debian #1037353). * change defaults in configure script to use compression -TD * modify HTChunkPutb2() to avoid passing a zero-size or null pointer to memcpy() -TD * correct loop in fill_addrinfo() which adds sizes of struct addrinfo's found in getaddrinfo() call; the 2.8.8dev.15 change did not update the pointer to the struct addrinfo's (Redhat #2185402) -TD * modify configure script to reduce implicit-function warnings -TD * add viewport meta-tag to documentation/test files -TD * update config.guess (2023-08-22), config.sub (2023-09-15) * update ro.po from http://translationproject.org/latest/lynx 2023-01-08 (2.9.0dev.12) * add a rewind() call before reading existing bookmark file opened for append with read/write, to ensure that the file-position is at the beginning of the file (report by Klatt Volkmar) -TD * improve compiler-warnings in configure script checks -TD * fix a few ifdef'ing problems (prompted by discussion with Klatt Volkmar) -TD * fix spelling errors found with codespell (report by Jens Schleusener) -TD * update eo.po from http://translationproject.org/latest/lynx 2022-12-28 (2.9.0dev.11) * update ncurses/lynx homepage URLs to deprecate ftp -TD * modify configure script to reduce implicit-function warnings (report by Florian Weimer) -TD * update configure script to work around regression in grep 3.8 -TD * add some consistency-checks to dtd_util to make it easier to use -TD * improve formatting of bookmark file, e.g., to fix warnings by tidy -TD * correct workaround for asan2 report of overlapping strcpy (report by KH) -TD * amend fix for Debian #738121; URL-encoded "?" in HTFile.c corresponds to an actual "?" in a file path (report by TG) -TD * before calling delscreen, delete the private working windows in case delwin invalidates those (Debian #1015756) -TD * add presentation type for xhtml, related state information to better handle things such as ", prevented a match on the -TD * do not free adult_table[] atexit - it should be perfectly empty after free'ing all HText's. (There is an error if it is not empty at exit) -LP * unnamed child anchors (`children_notag' list) now use HText memory pool. Links properly deleted when reparsing the document -LP * Use less memory for documents with many anchors: most anchors are never visited, just stored for the reference. So fill in adult_table[] with HTParentAnchor0 (36 bytes size) instead of full HTParentAnchor (~200 bytes). HTParentAnchor now allocated on demand, nearly 1:1 to HText. [more comments in HTAnchor.h, changes located in HTAnchor.c] -LP * HTParentAnchor0 stores its hash value, to avoid calling HASH_FUNCTION twice on the same anchor (Re: HTAnchor_delete()) -LP * fix a potential out-of-bounds bug in HTBEquivalent() -LP * change strrchr() calls to strchr() in a few src/*.c file when parsing "#fragment" left-to-right -LP * modify HTFWriter_abort() to remove file on error -IZ * added hot.paste style which puts a right-arrow at the UR corner (which is currently unused). Clicking on it initiates a GOTO to the current selection (same as PASTE_URL action). The hot.paste style is disabled unless STYLES and CUT_AND_PASTE are both enabled. Disabled and the user defines hot.paste in the ".lss" file -IZ * modify LYK_PASTE_URL case in LYMainLoop.c to allow pasting URLs of the form
and "" to lynx. This is useful when it is not easy to choose address without the surrounding "<>" or "" -IZ * make a minor memory saving (circa 15%) for table processing, improve yet another case of "ladder" (as in the top of google results), and fixes one case of "wrong indentation" (elements of a table which contained
were made too wide) -IZ * modify Stbl_trimFakeRows() to compensate for 2.8.5dev.15 changes to Stbl_addRowToTable() from 2.8.5dev.15 which caches shrinking cell arrays in a pool. It did not take into account reallocation of the same data, e.g., in Stbl_reserveCellsInRow(). For example: http://camden-sbc.rutgers.edu/FacultyStaff/Directory/default.htm (report by Patrick Ash) -IZ * add FORCE_COOKIE_PROMPT setting to lynx.cfg, allowing for manipulation in the options menu and (if LYNXRC_ENABLE is set) via the .lynxrc file. This lets the user decide whether to ignore prompting for cookies with invalid syntax. If the prompts are ignored, a corresponding message is displayed -TD * add FORCE_SSL_PROMPT setting to lynx.cfg, allowing for manipulation in the options menu and (if LYNXRC_ENABLE is set) via the .lynxrc file. This lets the user decide whether to ignore prompting for questionable aspects of an SSL connection. If the prompts are ignored, a corresponding message is displayed -TD * change select() calls to use the expected 1+descriptor value documented for that function rather than FD_SETSIZE. It is possible that some very old or unique platform would not work, but this is more efficient (discussion on lynx-dev) -TD * modify logic for S_litteral case in SGML_character() to recover from spaces between the '<', '>' and the corresponding end of the tag, e.g., < /style > < /style > match "" (report by TH) -TD * correct a check in HText_trimHightext() for the last line of the display, which left unhighlighted the portion of a multi-line anchor which fell in that place (report by TH) -TD * correct an off-by-one in redraw_lines_of_link() which left the link on the last line on a page highlighted when moving the cursor up (reported by Morten Bo Johansen) -TD 2003-04-27 (2.8.5dev.15) * change definition of docdir1, helpdir1 to avoid using ksh-semantics (see 2.8.5dev.2) -TD * update ja.po, uk.po, zh_TW.po from http://www.iro.umontreal.ca/contrib/po/maint/lynx/ * improve layout of TRSTable.c, reducing "laddering" effect, where cells in different columns do not overlap by lines -IZ * modify SGML_new() to allow display charset-switching when reloading a document -IZ * fix a buffer-size in LYK_PASTE_URL case in LYMainLoop.c -IZ * various improvements to load-time for TRSTable.c -IZ As a test: . This is a simple table with 2 columns, one with bold contents, another with italic one. The total number of rows is 500K. With the patch and an acceptable malloc(), lynx should use the working set of about 110M to show the table. On my system with 128M memory, this leads to only 4M of the process space swapped. * add case LYK_TO_CLIPBOARD to HTCheckForInterrupt (not a good place), to allow COPY command to work during download (copying the location to clipboard). The best thing would be to get the location *after* redirects, but this will require some additional work -IZ * add popen-based support for cut/paste. This is a slightly reworked patch to GNU readline. If RL_PASTE_CMD and RL_CLCOPY_CMD are defined in the environment, lynx will use them as commands to do cut&paste. The simplest such commands could just store/retrieve things from /tmp/.clipboard_user-name; more advanced ones could use X clipboard -IZ * modify yawerty_kb.h to map U+0411 and U+0431 to 'B' and 'W' positions respectively. The map contained U+0412 and U+0432 at those positions, which are duplicated at other positions -IZ * fix HTLoadFinger() which was miscasting const data -TD * update Subir Grewal's Lynx links URL to the newest location http://www.subir.com/lynx.html -TD * add configure option --with-gnutls, to allow lynx to be built with gnutls. Used gnutls 0.8.6 on Redhat 8.0 to login at yahoo (gnutls is not very portable, so this is an experimental option) -TD * modify loop in HTInitProgramPaths() to convert enum ProgramPaths to an integer, to accommodate HPUX 11.22 compiler (report by JES) -TD * amend change in dev.13 to HTParse() to escape spaces, to exclude lynx's internal URL types such as lynxprog (report by P.J.Walsh) -TD * modified ifdef's to enable -connect_timeout option for DJGPP -GV In particular, in LYUtils.c, undef "select" in case Lynx is compiled with curses (and not S-Lang). Watt-32's select_s cannot be used on a stdin handle, so one must undef it and use DJGPP's select(). * modify ifdef in HTCheckForInterrupt() to work with MingW and PDcurses -GV * add version information for the macros in aclocal.m4 (request by Lars Hecking) -TD * modify file-upload to use actual binary-data rather than base64-format -TD * generate unique boundary for multipart data in HText_SubmitForm() -TD * reorganize HText_SubmitForm(), maintaining post data using bstring's -TD * modify HText_SubmitForm() to add field name for the fake coordinate pair when formatting a multipart submit (report by Peter Pilsl ) -TD * change post_data to a bstring; implement functions and macros for manipulating bstring data. This allows post_data to maintain embedded nulls, e.g., for file-upload -TD * fix ifdef's for -TD * fixes for file upload -IZ + modify logic for headers use write them even if MultipartContentType was not set. + change logic for base64 to be used ONLY if \0 was found. If a "strange" char is found, only change "text/plain" to "application/octet-stream". * change a couple of _user_message() calls to HTUserMsg2() calls so their content is saved in the "Messages" buffer -IZ, TD * undo 2002-11-11 SGMLFindTag optimization (problem with color styles, reported by IZ). Optimize the function by storing the previously found tags. Also use my_casecomp() to decrease AS_casecomp() calls by testing the first character manually -LP * optimize HTStyle comparison: just compare numbers from enum. It was previously implemented as a strcmp comparison with a fixed string. Used in a very inner loop, in HTML_put_character() -LP * LYEnsureAbsoluteURL() now absorbs LYFillLocalFileURL() call -LP * optimize LYLegitimizeHREF() -LP * in HTML.c, revise href resolving logic. HTAnchor_findChildAndLink now resolves href with respect to BASE internally; HTParse incorporates LYFillLocalFileURL call (after the parsing, and only when the related string is not empty and parse includes access, host, path and punctuation). This removes all LYFillLocalFileURL and most HTParse calls from HTML.c and makes code more consistent. (Previously, functions were called in a different order for document with/without BASE, which had the side effect in some cases, e.g., href="c:" on a DOS machine was resolved properly with _any_ base, and badly broken without:) -LP * add/use HTParseALL macro to simplify coding -LP * revise "internal links" logic (read KW 1997-11-03 notes, before v2.8). In HTML.c and HTAnchor.c, internal links code affects only parent lookup in the adults table (more correct in case of post data), now a mainline: we omit "#ifndef DONT_TRACK_INTERNAL_LINKS" condition in the two files. In HTML.c, avoid using internal links for unrelated `src=' attributes (BGSOUND_SRC, FRAME_SRC, IFRAME_SRC, OVERLAY_SRC, EMBED_SRC links:) -LP * refine HTAnchor_delete() vs deleteLinks() mutual recursion logic - LP * change ALIGN_SIZE in GridText.c to sizeof(double), which is probably more portable than "8" -LP * modify a syslog() call to guard against possible '%' in its parameter -TD * remove extra quotes from calling HTMake822Word() for form boundary names (addresses bug report for fastmail.fm by P.J.Walsh) -TD 2003-02-04 (2.8.5dev.14) * correct a missing ">" at the beginning of page sent as response to mailto -TD * simplify (clarify) anchor structure: links now moved from HTAnchor to HTChildAnchor (the only place they were used). By this we avoid unneeded casting in calls to HTAnchor_followMainLink, HTAnchor_followTypedLink, deleteLinks. [GridText.c, HTML.c, LYList.c, HTAnchor.c] -LP * as of 1998-11-21 "workaround for multiple anchors in the same (invalid) HTML document with the same NAME and different destinations (HTAnchor.c) - KW", along with skipping HTAnchor_link() call in this case now, we realize that HTChildAnchor may have only a single link. (Previously implemented by mainLink and links list). This simplifies HTAnchor.c -LP * simplify HTChunk.c -LP * optimize LYRemoveNewlines() and LYRemoveBlanks() -LP * check for no common name (CN) in certificate when connecting via SSL, fixes a SIGSEGV with https://web-shokai.tokyo-denwa.net/ (patch by Hataguchi Takeshi) * add uk.po (Ukrainian) from http://www.iro.umontreal.ca/contrib/po/maint/lynx/ * modify HTList_linkObject to avoid an infinite loop in HTList_unlinkObject due to relinking some node several times, corrupting the previous list chain -LP * increase ATEXITSIZE to 50, 40 was not enough -TD * ifdef-out call to Cygwin_Shell() in LYMainLoop.c, which does not work properly for some environments (report by Corinna Vinschen , forwarded by Frederic L W Meunier) -TD * correct a bug in HTAnchor_findChildAndLink() introduced in dev.13 handling USEMAP, e.g., http://www.sendas-delivery.com.br/topo_sendas.asp (reported by Frederic L W Meunier) -LP * minor fixes for K&R compiler on SunOS: prototype of HTDOS_slashes(), definition of LYLeakSequence -TD 2003-01-22 (2.8.5dev.13) * change new memory-allocation in HTString.c and GridText.c to provide pointers to data aligned to the host's pointer-size, to work on Tru64 where this happens to be 8 -TD * resync ".po" files using msgmerge -TD * remove quadratic complexity from insert_blanks_in_line() usage with large tables (Stbl). It occasionally cleans up split_line() a bit. CPU load anomaly reported by BL -LP * ALLOC_IN_POOL, POOL_NEW, POOL_FREE macros now became functions, suggested by BL -LP * define HAVE_ALLOCA for djgpp fixed-configuration -LP * add command-line option (--nested-tables) to help in testing this feature -TD * add command-line option (--find-leaks) to disable the memory leak checking code, allowing one to build an executable which is useful for both normal and leak-checking (request by Frederic L W Meunier) -TD * improve performance of HTParse() for very long strings -LP * fix memory leak in HTFileSaveStream() -LP * further optimization in HTAnchor.c - save 3 mallocs per HTChildAnchor by using new HTList_ functions: HTList_linkObject(), HTList_unlinkObject(), HTList_unlinkLastObject() which utilize external memory, no malloc/free -LP * modify "make install-help" rule to avoid warning message about keystrokes subdirectory (report by Martin Mokrejs) -TD * optimize !HText_TrueLineSize() expressions as HText_TrueEmptyLine() -LP * optimize is_url(), rewriting it as case-statements to avoid unnecessary comparisons, make similar optimization in HTParse() -LP, TD * corrected logic in is_url() where the "://" was not necessarily checked in the proper position - TD * for color-style configuration, add a link to lynx.lss from LYNXCFG: -TD * simplify setup of internal pages with new function InternalPageFP() -TD * modify parsing of refresh-URL to strip single quotes, to handle http://tovar.yandex.ru/ (reported by LP) -TD * investigated conflict between NSL_FORK and _WINDOWS_NSL ifdef's for Cygwin configuration in HTTCP.c; left them as-is since #undef'ing _WINDOWS_NSL in that case causes problems connecting (feedback by Frederic L W Meunier) -TD * corrected an off-by-one error in computing the location of the bottom line for mouse input in PDCurses configuration which made that area ignore mouse clicks. Merged almost-identical cases for mouse-input for NT/Windows95 -TD * ifdef'd out (USE_CURSES_PAIR_0) the ASSUMED_COLORS logic for the PDCurses configuration (reports by DK) -TD * LYSetHiText(), LYAddHiText(), and LYClearHiText() use HText memory pool -TD * add atexit-cleanup for history stack, removed incomplete code for this from cleanup(), since that gave misleading results in leak-checking. Fix a few small leaks as well (reported by LP) -TD * modify cleanup() to leave the trace file open if checking for leaks -TD * add some simple statistics to summary in Lynx.leaks report -TD * add malloc-sequence number to Lynx.leaks report, to help with debugging -TD * fix memory leaks in nested-tables logic, which did not free subtable data if there was an enclosing table (reports by Frederic L W Meunier) -TD * adapted change by LP to allocate HTLine's from memory pool -TD * move fallback definition of MAXHOSTNAMELEN from HTFTP.c to www_tcp.h so it can be used in HTTCP.c (Debian #140682) -TD * improved configure script checks for ncurses -TD * correct description of XLOADIMAGE_COMMAND in lynx.cfg (report by Mats Peterson ) -TD * fix configure script so it does not compute basename of system mailer when none was found. Add check in LYMail.c, LYPrint.c to avoid using system mailer when it is not configured (report by Frederic L W Meunier) -TD * update several po files (da.po, de.po, et.po, hu.po, sv.po, tr.po) from http://www.iro.umontreal.ca/contrib/po/maint/lynx/ * correct logic in recent HTAnchor_findChildAndLink() changes around internal links and fragments; avoid unneeded reallocations by using HTParseAnchor() instead of HTParse() -LP * trim some fat from HTML_start_element(), case HTML_A -LP * add optimized string functions StrAllocCopy_extra() [and paired FREE_extra()] which store string size and never shrink; for heavily reallocated strings in temp objects. Used in SGML.c for value[] fields currently -LP * in HTUtils.h, FREE macro was unsafe if happen before 'else' -LP * modify HTParse() to escape any spaces which remain from LYLegitimizeHREF() or other sources (report by Peter Rasmussen ) -TD 2002-12-18 (2.8.5dev.12) * remove a check in LYMain.c for Cygwin's console, which does not work with screen (report by Frederic L W Meunier) -TD * undo line/pool logic, fixing a memory leak -LP * changes proposed by Bela Lubkin, to optimize ALLOC_IN_POOL macro substitution, pack bitfields in HTStyleChanges to make them more compact on some systems -LP * correct logic of do_check_recall(), broken in dev.9 cleanup of pathname constants with LYIsDosDrive() (report by Frederic L W Meunier) -TD * update makelynx.bat, built with slang configuration -TD * turn on file-upload in makefile.msc -TD 2002-12-01 (2.8.5dev.11) * fix a typo in changelog date -TD * add project version & date to lynx.cfg -TD * document xxx_PATH variables in lynx.cfg -TD 2002-11-11 (2.8.5dev.10) * modify file-upload to provide content-type based on file-suffix. This is needed to validate local html files with current the W3C validation service webpage -TD * modify file-upload to warn but permit the filename or file contents to be missing (report by Clemens Fisher) -TD * workaround for compiler bug in fix_httplike_urls() -BL * change enumShowColor so SHOW_COLOR_NEVER is zero as in 2.8.3, which makes the result from LYChoosePopup() match the enum values. This fixes a bug which would make the slang configuration toggle back to color when accepting an options screen (report by Sean McGuire and Carlton Anderson) -TD * add a null-pointer check in content_is_compressed() -TD * in partial mode, load document with #fragment on the fly. Long awaited fix. LYMainLoop_pageDisplay() now returns BOOL -LP * calculate WWW_SOURCE once, it is now a constant, not a define -LP * use malloc instead of calloc in several places, particularly in HTList operations (each field initialized explicitly) -LP * fix a few typos in samples/mailcap (Carlton Anderson ). * ifdef'd default_fg and default_bg for PDCURSES to be 15, since that agrees with lynx's use of color names, and works around a bug exposed by the ASSUMED_COLORS change from 2.8.5dev.9 (report by DK) -TD * simplify pretty-source code in SGML.c using PUTS(), put_pretty_entity() and put_pretty_number() -TD * refine S_attr test in SGML.c to make pretty-source code handle the case where a blank precedes the '='. The misplaced markers made lynx omit newlines from the pretty-source view (report by LP) -TD * rewrote HTStat() to ensure that it does stat() for files on Windows -TD * HTTCP.c patch to make DJGPP/Watt-32 non-blocking connect in HTDoConnect(). This allows pressing 'z' to abort connections. Removed extra _HTProgress() for INET6; it overwrote previous progress message -GV, DK * in SGML.c, element stack now use a pool of 10 elements to avoid most of malloc/free calls -LP * in HTParse(), use single alloca instead of three malloc/free pairs -LP * in HTParse.c, avoid most strcasecomp calls in scan() - LP * modify GridText.c to store lines, anchors, and forms in the same HText memory pool as styles. This will optimize memory allocation/deallocation by 8Kb units. The down side: lines in TRST mode will be stored twice. Some structs are made a bit more compact -LP * add DJGPP to SINGLE_USER_UNIX special cases -DK * modify configure script to not strip the -g option from $CFLAGS if it was present in the user's environment rather than autoconf adding it (report by DK) -TD * add --with-curses-dir configure script option -TD * in SGMLFindTag, we translate string uppercase in-place and launch case insensitive search, add SGMLFindUprTag() to cover the cases where the string is readonly - LP, TD * DJGPP build restored. MV_PATH was undefined long ago by mistake. Fix recent DJGPP changes in HTTCP.c: move _resolve_hook few lines below, it will not compile otherwise. Remove minor warnings -LP * optimize parsing html with many relative links, href="#fragment" - HTAnchor_findChildAndLink() and HTML_start_element(), case HTML_A: now avoid significant overhead when link == HTInternalLink (e.g., resolving against base, lots of reallocations, parent lookup, etc., all are useless). Two functions affected. [HTAnchor.c, HTML.c]. The code works both with and without DONT_TRACK_INTERNAL_LINKS symbol -LP * optimize parsing of large html files - with thousands of anchors - LP + remove quadratic complexity from split_line() usage [GridText.c]. Because of some work with anchors on the last(=split) line, the anchors list was traversed from the beginning for each output line. Now we store last_anchor_before_split explicitly. [According to gprof, split_line() weight decreased from 33% down to 4%, with the following test file: 13,000 output lines, 3,100 anchors, ~800Kb] + remove quadratic complexity from HTAnchor_findChild() usage [HTAnchor.c]. HTParentAnchor::children list was traversed zillion times, now we split it into a tree (named anchors , fast search required) and a list (just a storage for the rest anchors, no search required). [The same file, gprof shows HTAnchor_findChild() weight decreased from 11% down to 0.1%] + remove quadratic complexity when generating a 'l'ist page, now traverse anchors list only once [LYList.c, GridText.c]. * add a search method to HTBTree implementation - LP * amend check for refresh-URL to avoid adding a link if the retrieved page is compressed, since the link would be added to the compressed file, corrupting it (reported by Michel SUCH and Karl-Heinz Weirich ) -TD * strip parameters from refresh-URL -TD * correct misspelled $LYNX_LOCALEDIR variable in LYMain.c (reported by Michel Such) -TD * change the install procedure for lynx.cfg to attempt to update the file with the user's customizations if any, and to save the old configuration information in a series, e.g., lynx.cfg-1, lynx.cfg-2, etc. -TD * re-fix the problem with config.cache not being removed at the beginning of the configure script - see 2.8.5dev.3 (report by Clemens Fisher) -TD 2002-10-06 (2.8.5dev.9) * improve ETA data shown in experimental read-progress (adapted from Debian #117476) -TD * modify -dump, -source and related options which set dump mode to also set -nopause (report by Benjamin Pflugmann ) -TD * correct indexing in LYStyle.c our_pairs[] array, which did not allow for use of default colors -TD * make ASSUMED_COLORS in lynx.cfg apply to normal curses implementations which do not implement assume_default_colors() (prompted by discussion with Bela Lubkin) -TD * make permanent an ifdef from SH which provides for truncating a too-long title with an ellipsis -HN * gettext'ify a few overlooked strings in LYOptions.c -HN * modify LYGetHostByName() for MSDOS/DJGPP/Watt-32 to enable terminating it by pressing 'z' (patch by Gisle Vanem) * update configure script macros for NLS to gettext 0.10.40 -TD * add PRCS version/date to lynx.cfg -TD * setup ifdef's for Unix-specific permissions checks to exclude single-user systems such as OS/2 EMX, Cygwin and BeOS, which otherwise act like Unix since we can run the configure script on those platforms -TD * re-order some tests in the configure script to allow pdcurses' X11 port to be recognized as supporting color and line-drawing characters -TD * work around a Cygwin bug which causes subprocesses of a full-screen program to dump core (perhaps reported by Frederic L W Meunier, but observed in running lynx in a bash shell spawned from my directory editor) -TD * fix an inequality in HTDirTitles() which made the "Up to" link omitted for the first level of an ftp listing, making it awkward to visit the parent directory if one first visited a subdirectory -TD * change HTURLPath_toFile() to keep local URLs distinct from remote ones, so win32 version will not display misleading drive letter on ftp listings -TD * rewrote Home_Dir(), adding checks for "My Documents" on Windows 2000, and ensuring that the resulting directory actually exists -TD * change ifdef's in LYwaddnstr() to use waddstr() consistently, since wide-character curses implementation treat the string in the given locale anyway, just like the waddnwstr() call -TD * reduce clutter with new macro LYIsDosDrive() -TD * add ifdef's for OS/2 EMX to existing DOSPATH code which checks for drive letter (Michel Such) * modify definitions of IsOurFile() and OpenHiddenFile() to allow trace file to be written when one already exists -TD * use new macros LYSameFilename(), LYSameHostname(), LYIsNullDevice() to hide platform-specific filename comparisons -TD * change sed delimiter in configure script to use '%' consistently, to avoid using '@', which may appear in AFS pathnames (report by Martin Mokrejs) -TD * narrowed accommodation for paths with embedded blanks in LYLegitimizeHREF() to exclude those containing newlines or tabs (report by Leslie Fairall for http://www.realtor.com) -TD * modified VMS build scripts to allow linking with OpenSSL, tested with OpenSSL-0.9.6g using UCX network libraries. It is reported (by ) that one can modify the scripts to also build with Multinet's UCX emulation, but the machine I used for testing has only UCX (comp.os.vms discussion with Christoph Gartmann ) -TD * modify UCSetBoxChars() to assume wide-character curses implementations can draw boxes -TD * reduce the number of strncasecomp() calls with associated constants by making macros for the lynx internal URL types, e.g., isLYNXCGI() -TD * modify logic that handles goto-fragment (e.g., G #foo) to update the URL shown in the info page (Debian #113734) -TD * reduce clutter using new macros findPoundSelector(), restorePoundSelector() and function trimPoundSelector() -TD * reduce clutter using functions for updating the strings in DocInfo, mainly in LYMainLoop.c -TD * renamed 'document' to 'DocInfo' -TD * reduce clutter by using NonNull() macro consistently -TD * define HistInfo struct in terms of document, to make it clearer -TD * add verification of SSL server certificates. It requires a "cert.pem" file or cert files in the "certs" subdirectory in your OpenSSL directory for CA verification. The mod_ssl distribution includes a "ca-bundle.crt" that has a good set of root certifying authority certs and works well for "cert.pem". Adding custom CA root certs can be done by either putting them in the server "cert.pem", or (for a normal user) copying "cert.pem", adding the cert, and setting the SSL_CERT_FILE environment variable before running Lynx (Chris Adams ). * add REPLAYSECS config value to allow slowing command scripts down, for testing -TD * implement a "set" command for command-scripts, allowing the script writer to manipulate the sleep-times for messages (prompted by discussion with Ville Herva) -TD * implement an "exit" command for command-scripts (Ville Herva) * modify logic for -cmd_script to stop reading from the command script when an end-of-file is detected (patch by Ville Herva ). * fill in a few descriptions of restrictions for the help message, as well as showing the on/off state of the "goto_xxx" restrictions -TD * correct inverted logic of restrictions table which made "-restrict=default" provide incorrect values for several items. This was broken in 2.8.4dev.19 (reported by Jeff Long and RobertM ) -TD * add environment variable LYNX_TRACE_FILE which, if given, overrides the compiled-in value of Lynx.trace (or LY-TRACE.LOG). This specifies the name of the trace file relative to the home directory -TD * treat empty string for most environment variables, e.g., those specifying a pathname, as null -TD * add environment variable LYNX_LOCALEDIR to simplify configuration on OS/2 EMX (from discussion with Michel Such) -TD * add alias for charsets "ISO-8859-8-I" and "ISO-8859-8-E" to "iso-8859-8" (Debian #152441, request by Atsuhito Kohda) -TD * modify handling of HTML_SUP to always append '^'. It was checking if the preceding character was a valid hexadecimal code (reported by HN and Steve White ) -TD * correct check for calling endwin() to allow for curses implementations without newterm (report/patch by Brett Lymn). * add koi8-r.html as a test for non-ANSI 8-bit displays -TD * construct "Accept-Encoding" gzip/compress parameters based on whether lynx is built with zlib and/or gzip/compress paths are defined. The latter is assumed on Unix (by the configure script), though non-Unix environments may lack those utilities (report by Roy Langford , analysis by Frederic L W Meunier) -TD * modify mouse support in slang configuration (Eduardo Chappa): + Middle button takes you to the bookmarks file. + Clicking on empty parts of the screen makes the screen scroll. This is not 100% true, here are the caveats related to this: + When you click in the first line of the screen pine goes back one screen, the same happens when you click in the last line (this is normal Lynx behavior, I did nothing in this respect). With this patch, intermediate scrolling is enabled, which means that left clicking in different (empty parts) of the screen may move you half a screen or two lines. The idea is that close to the top you scroll more, close to the center you scroll less and you scroll in the direction up or down according to which half of the screen you click on. + If you click on an empty part of the screen, Lynx changed its behavior from doing nothing to moving the active link to the closest link near the click. This is not disabled by this patch, instead, if a closest link is not found, the screen will scroll, according to the position of the link. * improve check in LYgetEnum() for ambiguous/abbreviated names in the lynx.cfg file, e.g., to match the string "visited_links=first" without confusing it with "visited_links=first_reversed" (report by vortex5 , analysis by TH) -TD * use StrAllocCopy() rather than strdup() in parse_style() (LYStyle.c) to avoid false report from leak-checking (from report by Martin Mokrejs) -TD * share SSL handle between HTTP.c and HTAAUtil.c so that call of HTAA_shouldRetryWithAuth() from HTLoadHTTP() updates the handle used in that function. This makes lynx able to get the user/password prompt for https://enter.nifty.com/iw/ -TH * fix a highlighting problem in view-source mode, which left the final character of the target unhighlighted -TH * modify LYStringToKeycode(), which is used by -cmd_script option to decode characters, to handle hexadecimal codes written with -cmd_log option from dev.8 changes (reported by Gleb V Kotelnitskyy ) -TD * modify ifdef's in LYCurses.h to implement underline-links for slang configuration (report by TH) -TD * modify checks with WEXITSTATUS() and similar "result" macros to ensure that they consistently use corresponding "test" macros such as WIFEXITED() -TD * add a null-pointer check in GridText.c to cover a problem with http://209.1.58.86/store/ (reported by Walter Ian Kaye) -TD * add some more CTRACE's to LYCookie.c to help diagnose LV problem report -TD * updated nl.po (patch by Pieter-Paul Spiertz ) -JES * new (cs.po, hu.po, tr.po) and updated (da.po, et.po, it.po, ru.po, sv.po) po files from http://www.iro.umontreal.ca/contrib/po/maint/lynx/, used msgmerge to align with 2.8.4's lynx.pot and corrected some minor issues highlighted by check_po. Checking for a newer version of check_po (to handle patterns such as "%1$s") found none, but noticed a comment in gettext mailing list stating that msgfmt does checking. Comparing with "msgfmt -c -v", found that it does useful checks, but misses about 1/4 of what check_po finds. Will use both -TD * escape blanks and other non-7bit graphic characters in startfile and similar addresses to guard against interpreting the address as multiple lines during a GET, etc (report by Ulf Harnhammar ) -TD 2002-05-28 (2.8.5dev.8) * updated makelynx.bat (Victor Schneider). * recognize charset value in meta description even if content-type is not given, in LYHandleMETA() -VH * remove ifdef that disabled home/end keys with Cygwin configuration -DK * fix a problem when whereis target string, which includes Japanese and is top of the second line in the link string, is in the current link (patch by Hataguchi Takeshi). * fix a problem with highlighting Japanese string (patch by Hataguchi Takeshi). * modify LYDownload() to ensure that local addresses under DJGPP using the special form of path beginning "/dev/" are passed to external programs without stripping the initial slash from the path. This special form of path will be understood only by other DJGPP programs. Addresses of the form "/dev/x/" are equivalent to the DOS path "x:\". Addresses of the form "/dev/env/VARI" are equivalent to the environment variable "VARI" -DK * modify remove_bookmark_link() to assume that OS/2 EMX does not allow rename of a file overwriting an existing one -IZ * recognize local .php files as HTML files (patch by Karl Eichwalder ). * change LYCurses.c to not redefine gettext(), and use ScreenClear() instead of clrscr() for DJGPP -DK * the DJGPP port of Lynx once used to compile with DJ Delorie's tcp/ip library. It is no longer the case; Watt-32 is required. Changed to assume WATT32 is defined when DJGPP (or __DJGPP__) is defined (patch by Gisle Vanem). * change LYKeycodeToString() to provide a default translation for characters which are not key-symbols, etc., so they may be used in command scripts with the -cmd_script option (reported by Christoph Fabianek) -TD * new po files (ca.po, et.po, it.po, zh_TW.po) and updated de.po from http://www.iro.umontreal.ca/contrib/po/maint/lynx/, used msgmerge to align with 2.8.4's lynx.pot and corrected some minor issues highlighted by check_po script by Stefan Hundhammer -TD * some cleanup/restructuring of HText_SubmitForm(), incomplete - toward implementing correct MIME boundary -TD * revalidate user's guide and related files using W3C validator via file-upload facility -TD * simplify some loops in GridText.c using new function next_anchor() -TD * quote field-names used when submitting form-data as suggested in RFC 2068 (report by Lieven Tomme ) -TD * remove configure-check for mkstemp(), which is redundant given that lynx writes temporary files in a directory which is not readable by other users. On more than one system (e.g., Solaris), mkstemp() is not usable in the manner we attempted, since it does not necessarily choose a distinct name if the previously-chosen filename no longer exists (report/analysis by PG) -TD * correct a typo in configure macro CF_HEADER_PATH which told the script to look for header files in the user's $HOME/lib rather than $HOME/include directory -TD * update config.guess, config.sub -TD * add check for HTTP headers using Netscape extension "Refresh", and if found, add a corresponding refresh-URL at the beginning of the document. Fixes Debian #126723 -TD * strip username from URLs used in an HTTP GET, and warn about this condition. The example given was "http://www.microsoft.com&item%3dq209354@212.254.206.213/1338825GHU_98.asp" the text of which could mislead a user into believe it was an official site (reported by Frederic L W Meunier) -TD * add limit checks in HText_trimHightext() to fix an infinite loop visiting this site (which contains a form with only hidden input fields): 1- http://www.ibazar.com.br/ 2- Click "Cadastro" and accept all cookies 3- Click "[accepte.gif]" (reported by Frederic L W Meunier) -TD 2002-01-06 (2.8.5dev.7) * ifdef'd new directory-sorting code to compile when configure --disable-dired is specified -TD * add (commented-out) definitions for building with OpenSSL in makefile.msc, tested with OpenSSL 0.9.6c and Visual C++ 5.0 -TD * correct call to HTGetLinkInfo() in follow_link_number() from 2.8.5dev.6 changes to fix uninitialized pointer (report by PW) -TD 2002-01-01 (2.8.5dev.6) * add configure options to link with dbmalloc and dmalloc debugging libraries which offer different features than --enable-find-leaks -TD * restructured LYhighlight() and logic related to highlighted text using new functions LYSetHilite(), LYAddHilite(), LYGetHiliteStr() and LYGetHilitePos() to allow more than two lines to be highlighted in links (Debian #114062) -TD * simplified some of LYCookie.c with new functions find_domain_entry(), alloc_attr_value() and parse_attribute() -TD * modify expansion of %s for WIN_EX EXTERN commands so that short names (used when the command begins with an uppercase character) are not quoted, and use backslashes. The normal %s expansion uses forward slashes and may quote the name if it contains a blank -TD * modify local directory sort by type to ignore leading '.' characters when looking for filetype -TD * modify logic of HTDirEntry() to avoid storing a trailing backslash (DOS-style path separator) in the anchor URL for local directory entries (from report by Hataguchi Takeshi) -TD * amend change in 2.8.5dev.2 to HTLoadHTTP() to omit "Accept-Encoding: gzip" ensuring that also -source or -dump option is used. Retesting excite.com shows that it no longer matters, since the page was replaced by a short javascript which is not sent compressed (request by Hataguchi Takeshi) -TD * correct a missing definition for COMPRESS_PROG in the configure script introduced by 2.8.5dev.5 changes (also noted by Stepan Kasal) -TD * several fixes from Stepan Kasal : + remove code in LYCurses.c which checks ttytype variable for "dec-vt" prefix. EWAN, a decent telnet program for M$ Windows, sets $TERM to dec-vt100. This is similar to vt102 but it is not appropriate to use vt100 settings for it. ncurses has in its terminfo database an entry for "dec-vt100|EWAN telnet's terminal" The terminfo file is successfully opened when ncurses is initialised and ttytype is set to the name mentioned above. After stripping "dec-" from it, lynx ends up searching for "/usr/share/terminfo/v/vt100|EWAN telnet's terminal" which cannot cannot be found and lynx crashes. + compress installed html files with the -9 option of gzip. + improved install-help makefile rule * fix some longstanding problems with the DOS port -DK + fix inability to break out of a hung nameserver lookup or hung connection attempt without aborting lynx entirely. Using the WATT-32 signal handler for this seems to work well. Change the default compile option for DJGPP to -DIGNORE_CTRL_C, causing lynx to ignore SIGINT, so CTRL-BREAK is completely disabled. With this patch CTRL-C stops current actions without quitting lynx. To have a way to abort lynx when necessary, bind ALT-X to SIGQUIT. (The unix default of CTRL-\ is not bound to the same scan code on different international keyboards, while ALT-X is familiar to DOS users for existing programs). Because the WATT-32 signal handler was not available to external programs, a patch to WATT-32 is necessary for the new lynx code to work. The patch for WATT-32 is shown in the INSTALLATION documentation. + added some fixes for "/" vs "\" handling in pathnames so that non-DJGPP programs will see standard DOS pathnames when called. The mailer code was ignoring the environment variable SHELL when calling the mailer, leading to a lack of environment space for the mailer to work -DK + add calls to _eth_release() and _eth_init(), which Gisle Vanem says should not be necessary in this part of lynx. But this seems to fix get intermittent hung nameserver lookup sessions after using CTRL-C. * simplified a loop in HTConfirmCookie() and added CTRACE's to demonstrate that this is working properly (addresses Debian #119751) -TD * add some CTRACE's to curses screen initialization and resizing to provide better diagnosis of problem reported by David Balazic on HP-UX 11.00) -PG * modify configure.in and aclocal.m4 to work with autoconf 2.52 patched with ftp://ftp.invisible-island.net/autoconf/autoconf-2.52-20011227.patch.gz (TD). * modify configure macros CF_CURSES_CPPFLAGS and CF_NCURSES_CPPFLAGS to ensure that the (n)curses.h header file is actually found, in case someone tries to build lynx without having installed the development files (based on anonymous posting on comp.os.linux.networking newsgroup) -TD * update config.guess, config.sub from http://subversions.gnu.org/cgi-bin/viewcvs/config/config/ 2001-11-18 (2.8.5dev.5) * modify prompt for file- or directory-name in rename/move operation to provide a default based on the selected file/directory -TD * add -DOK_OVERRIDE to makefile.msc, to allow rename/move of files in the local directory editor -TD * correct delay time for win32's HTAlert, etc., which was in milliseconds rather than seconds -TD * modify check for mbstate_t in CF_WIDEC_CURSES to define HAVE_MBSTATE_T if that type is found, use this ifdef in LYwaddnstr() to make that compile properly on Solaris 2.6 (report by PG) -TD * disable SUPPORT_MULTIBYTE_EDIT ifdef for EBCDIC (i.e., NOT_ASCII) -PG * collect names of lynx.cfg and .lynxrc variables into LYrcFile.h, to simplify checks for matching spelling, e.g., against the values used in LYOptions.c -TD * modify dired support to allow sorting by a variety of things in addition to the existing sort into files versus directories. This is saved in ~/lynxrc as dir_sort_order -TD * if --disable-full-paths is specified, do not use full path for SYSTEM_MAIL (report by IZ) -TD * modify configure script to reduce the number of xxx_PATH definitions compiled into the code if --disable-dired was specified. Change configure script so that dired support for chmod, copy, mkdir, and touch to use built-in functions rather than external programs -TD * modify configure script tests for program pathnames so that if full pathnames are specified and the program is not found, no corresponding xxx_PATH symbol is defined -TD * eliminate duplicate LYGetEnum() in LYrcFile.c, using the variant from LYReadCFG.c which allows abbreviations -TD * change handling of tagsoup option in LYrcFile.c to invoke the corresponding HTSwitchDTD() function, so saved tagsoup initializes properly from ~/.lynxrc (report by Michel Such) -TD * modify some tag-names in LYOptions.c to correspond to the names used in lynx.cfg to make the corresponding names work properly when used in ~/.lynxrc via ENABLE_LYNXRC settings (report by Michel Such) -TD old new ---------------------------- assume_char_set -> assume_charset show_scrollbar -> scrollbar DTD_recovery -> tagsoup show_rate -> show_kb_rate user_agent -> useragent ---------------------------- * correct length passed by LYpaddstr() to LYwaddnstr(), which could be larger than allowed -TD 2001-11-08 (2.8.5dev.4) * if file-upload code is configured, suppress message that indicates it is not implemented, i.e., "[FILE Input] (not implemented)" -TD * modify file-upload submission to send plain text if the file is entirely printable text. Mime encoding is needed if the file contains nulls, etc., but reportedly may confuse some hosts -TD * suppress "charset=" clause on form submission if it is iso-8859-1 -TD * move case for F_FILE_TYPE in HText_SubmitForm() to obtain original behavior of fallthrough for F_SUBMIT_TYPE, F_TEXT_SUBMIT_TYPE, F_IMAGE_SUBMIT_TYPE to translate their character set, etc. (report by KW) -TD * revert 2.8.4dev.21 change to avoid truncating cookie path in LYSetCookie(). The server that wouldn't work with the current lynx behavior is identified as "Oracle_Web_Listener/4.0.8.2.3EnterpriseEdition" -DK * modify LYLegitimizeHREF() change from 2.8.4dev.21 to eliminate newlines from the HREF rather than converting them to spaces. This fixes a problem with www.ebay.com which splits up HREFs with newlines. Changing the newlines to spaces made the HREF no longer match, e.g., when it was built up from a CGI script (report by Morten Bo Johansen) -TD * add two test files for testing UTF-8, based on Markus Kuhn's demos (quickbrown.html and utf-8-demo.html). These work with ncurses 20011103 patch, for wide-characters except for combining characters (more work is needed in ncurses). Tested with XFree86 xterm (patch #163) -TD * modify select_multi_bookmarks() check for interrupt character to limit it to "hard" interrupt characters such as ^G. This fixes a case where "z" would have been treated as an interrupt character in advanced multibookmark mode (reports by Michael Warner, HN, as well as Debian #111463) -TD * modify SUPPORT_MULTIBYTE_EDIT logic in LYUpperCase() and LYLowerCase() to check for a null character following an upper-128 code. This is more likely to occur in EBCDIC, though the multibyte strings should not have a null at this position in any case (report by PG) -TD * for wide-character curses configuration, do not force repainting at the end of display_page() -TD * modify configure test for mkstemp() to check if that function returns distinct values (report by Fr3dY indicates that AmigaOS has a broken version of mkstemp() which always returns the same value) -TD * modify LYwaddstr() to use wide-character curses functions to make UTF-8 output work without relying upon side-effects of narrow-character functions. Note that this relies on the user having set a UTF-8 locale, e.g., en_US.UTF-8 -TD * modify HText_appendCharacter() to not use utfxtra_on_this_line when compiling with WIDEC_CURSES, since the curses library already does this adjustment -TD * correct the following names in LYrcFile.c which were added to allow ENABLE_LYNXRC lines in lynx.cfg to enable them to be saved in ~/.lynxrc old new where-used ------------------------------------- DTD_recovery tagsoup (command-line option and lynx.cfg) show_rate show_kb_rate (lynx.cfg) user_agent useragent (command-line option) ------------------------------------- (report by Michel Such ) -TD * modify LYRefreshEdit() to clear field before repainting (patch by Hataguchi Takeshi) * for CJK configuration, force clearing/repainting in HTUserMsg() (patch by Hataguchi Takeshi) * make HTInfoMsg() sleep condition consistent with other messages by using LYSleepInfo() -TD * reduce clutter with new function utf8_length() -TD * replace !isascii(ch) with new macro is8bits(ch), to reduce clutter, fix some sign-extensions and make it more portable -TD * change some of the "#if" statements to "#ifdef", to work around broken versions (2.96, 3.0.1) of gcc distributed with Mandrake 8.1 (though reportedly this is due to Redhat): the -C option passes through comments as usual, but some comments expand on preprocessor lines, which causes the preprocessor to report an expression error. This prevented "make install-help" from running, though the -C option is not needed for that. However, lacking a working -C option makes the C preprocessor useless for analyzing bugs -TD * modify configure script to accept --with-screen=ncursesw, to build with the wide-character version of ncurses -TD * modify configure script to look for mkdtemp(), to quiet another bogus linker message -TD 2001-10-06 (2.8.5dev.3) * add CF_MKSTEMP configure macro, from vile, to check for a working mkstemp(). This will quiet some bogus warning messages in recent runtime support, but (see 2.8.3) does not affect the security of temporary files in lynx -TD * updated CF_PATH_SYNTAX configure macro, from vile, to handle leading "\\" in a win32 pathname -TD * for configurations that provide scrollbar, add a checkbox to the Options menu to enable or disable it -TD * modify LYGetHostByName() in HTTCP.c to use the threaded _WINDOWS_NSL code for all Cygwin machines. The ability to interrupt nameserver lookup has not worked in Win98 using the Cygwin port, despite defining _WINDOWS_NSL. It looks like the threaded code was only for WinNT. At least under Cygwin, that code also seems to work fine under Win98 -DK * add FIELDS_ARE_NUMBERED as a possible value for DEFAULT_KEYPAD_MODE in lynx.cfg as well as keypad_mode in .lynxrc -TD * add NUMBER_FIELDS_ON_LEFT and NUMBER_LINKS_ON_LEFT to lynx.cfg, use these to control where field- and link-numbering is placed. Caveat: there are some cases where fields that do popup's are truncated, e.g., in the Options menu, when right-alignment is used -TD * support for DJGPP's two forms of file addressing, [a-zA-Z]:[/\\] and /dev/[a-zA-z]/ -DK * add samples/lynxdump script, to illustrate how to use lynx -dump with no link references (prompted by discussion with LV) -TD * add samples/keepviewer script, to illustrate how to retain a temporary file for use in an external viewer -TD * add ifdef's in is_url() to avoid recognizing URLs if they are disabled in the given configuration, i.e., bibp, finger, ftp, gopher, news (report by Frederic L W Meunier) -TD * modify LYrefresh() to take into account whether a popup window exists, so that a search prompt will not overwrite a popup. This bug was introduced by the curses pads (reported by Felicia Neff and Fr3dY ) -TD * add note in keystroke_help.html about CTRL-V as literal-next (lnext) for users who are unfamiliar with stty -TD * add NcFTP-style ftp-URLs which are supported by Netscape and wget (request by Martin Mokrejs) -TD * add traces in LYReadCFG.c and LYrcFile.c to report lines which are not found in the symbol table, to help diagnose when a user adds lynx.cfg information to .lynxrc -TD * define additional -trace-mask option, 8=config -TD * modify LYtouchline() to avoid using wredrawln() for ncurses, since the LYwin variable may be a pad much wider than the screen, which is not handled properly (report by Karl Eichwalder ) -TD * correct beginning of configure script, which was supposed to remove config.cache, but did not, due to a misplaced line when it was added 1998-06-04 (prompted by a report by Fr3dY that the checks for srand/rand did not work) -TD 2001-08-15 (2.8.5dev.2) * several small fixes to HTFile.c to make directory listings work properly on win32, e.g., stat'ing a directory with a trailing slash fails (reported by Hataguchi Takeshi) -TD * adjust definitions in LYCurses.h to get rid of slang-ifdef's for getyx() and wmove() -TD * change order of srandom/random versus srand48/lrand48 -DK * patch to get the DJGPP port to use the configure script -DK It seems to work well in the variations I have tried, including both PDCurses and SLang. revised INSTALLATION for DOS, giving a URL for my DOS patch to openssl. I dropped the reference to goto URL of the form file:///dev/c/path/filename, since this only works in certain parts of lynx (such as lynx.cfg). I'll try to get this working in the future. In fixing makefile.in, I patched the sed script for converting the path to docdir. As far as I can tell, however, from my examination of lynx.cfg, this isn't used for any platform. Does this part of the sed script do anything? Things still needing fixing for DOS: + support for both forms of file addressing, [a-zA-Z]:[/\\] and /dev/[a-zA-z]/. + support for gzipped help files. This works with long file names in a DOS box under Windows, but not in plain DOS, which doesn't allow double extensions. + better handling of local files in root directory. "file:///c:/" takes a long time to work, but "file:///c:/." works fine. I haven't really looked to see why. + no ability to break out of hung nameserver lookups or http requests without closing lynx with SIGINT. This is the biggest complaint I get by email. * modify ifdef for myGetChar() in LYStrings.c to build with PDCurses 2.3 e.g., to use a version which is modified for Japanese input (patch by Hataguchi Takeshi) * review LYSafeGets() calls, stripping newlines from a few places where they were overlooked, and simplifying some places where LYSafeGets() would normally return a buffer ended with a newline (prompted by a report by Brian S Queen for LYTraversal.c) -TD * correct reallocation-size in ProcessMailcapEntry() -TD * modify HTLoadHTTP() to omit "Accept-Encoding: gzip" if command-line "-base" option is given. This makes lynx -base -source excite.com work as expected. Otherwise, excite.com will transmit the document gzip'd, and the ensuing logic in HTSaveToFile() would see the mime-type as gzip rather than text/html, and not prepend the base URL (report by Kai Shih ) -TD * work around defect in move_anchors_in_region() and related logic by changing default for nested-tables to FALSE when Lynx is not configured for color-style. The problem is that when an anchor is shifted right by nested-table logic, if it has a
near the beginning of a table cell and it happens to be split across a line, its size will not be adjusted properly (report by Hataguchi Takeshi) -TD * correct logic used for trimming TEXTAREA introduced in 2.8.4pre.3, which did not trim carriage-return characters if TRIM_INPUT_FIELDS was false. (report by Hataguchi Takeshi) -TD * correct a bug in search logic which happens with pages shorter than the screen, due to improper starting-line value sent to search function. Fixed by adding checks in www_search_backward() and www_search_foreward(), (report by -Frederic L W Meunier) -TD 2001-07-24 (2.8.5dev.1) * modify GetChar() definition for PDCurses to ignore key-modifiers which are passed back from getch() as if they were key codes. Those interfere with shifted commands such as 'Q' -TD * modify parse_style() function to operate on a copy of its parameter, to avoid changing it. Otherwise, when parse_style() is executed as a side effect of start_curses(), its data is modified and not valid on successive calls. This bug existed prior to 2.8.4dev.17 -TD * set return value of edit_current_file() to true if the file is edited. This forces a reload for example if one edits the current html file, and is needed to make PDCurses repaint the screen as well (report by Victor Schneider, bug introduced in 2.8.4dev.21) -TD * add ifdef for wresize() to accommodate FreeBSD 3.x which has resizeterm() but not wresize(). Also, use a 'long' rather than 'attr_t'. These changes are needed to build with the 1.8.6ache patches to ncurses (report by Matt ) -TD 2001-07-17 (2.8.4rel.1) * remove comment in README.ssl directing people to http://www.moxienet.com/lynx/, since that page is moot with 2.8.4 -DK * add an ifdef in CF_CURSES_FUNCS configure macro to avoid confusing ncurses' term.h with other versions -TD * update URL for zlib -Frederic L W Meunier 2001-07-14 (2.8.4pre.5) * document CHARSETS_DIRECTORY and CHARSET_SWITCH_RULES in lynx.cfg -IZ * add a fallback in _Switch_Display_Charset() if no CHARSETS_DIRECTORY was specified -IZ * ensure that config variable names in LYReadCFG.c are in alphabetic order, though only the first character matters (report by IZ) -TD * updated notes on DOS in INSTALLATION -DK * modify ifdef in HTTP.c to build with configure --with-ssl --disable-news (report by Frederic L W Meunier) -TD 2001-07-10 (2.8.4pre.4) * correct red/blue color swapping for PDCurses when built on Unix, which uses X11 -TD * correct order of checks for wrapping in www_search_forward() and www_search_backward(), which would allow an infinite loop if there were no anchors on the current page (report by Frederic L W Meunier) -TD * add a missing chunk to reverted change of SGML_character() -NSH 2001-07-07 (2.8.4pre.3) * review/add descriptions of new command-line options in lynx.man, lynx.hlp and Lynx_users_guide.html -TD * update da.po, ja.po, ru.po, sv.po from http://www.iro.umontreal.ca/contrib/po/maint/lynx/ (report by JES) -TD * add command-line option -curses-pads which can be used to disable the left/right scrolling logic. This is used for testing, e.g., the repaint bug reported below -TD * remove logic in lynx_force_repaint() which reset the window background, since it does not work with the logic used to implement left/right scrolling. Retested older versions of ncurses and did not find a case where this was needed after all (report by IZ) -TD * revert dev.21 change to SGML_character() S_equals case, which has undesirable side effects regarding spacing around '=' (report by ) -TD * define additional -trace-mask option, 1=SGML -TD * add -trim_input_fields command-line option and corresponding TRIM_INPUT_FIELDS to lynx.cfg to suppress trimming of TEXT and TEXTAREA fields in forms. This does not retain trailing blank lines in a TEXTAREA; more work would be needed to do that (reported by VH, most browsers appear to retain trailing blanks) -TD * modify parsing of "" to allow "" comments in SGML_character(). Though the HTML 4.0 spec is fairly clear, other browsers (and some webpages) assume that " and comment -TD * improve logic for nested-tables to handle cases such as www.tin.org -IZ TRST ignores the horizontal alignment *inside* a multi-line cell of a table. This limitation, in conjunction with the nested-tables modifications does not work well when text with a horizontal alignment (e.g.,