From 16067bf2d07c953f2dbcd9705f761e095322a41f Mon Sep 17 00:00:00 2001 From: nia Date: Wed, 14 Nov 2018 16:09:03 +0000 Subject: [PATCH] www/lynx: Update to lynx-2.8.9.1 Changes: 2018-07-08 (2.8.9rel.1) * documentation/metrics updates -TD 2018-06-10 (2.8.9pre.1) * fix an inconsistency in message for "-listonly" option (Debian #805753) -TD 2018-05-17 (2.8.9dev.19) * update test-packages to use current ncurses test-packages -TD * improve portability for sockaddr structures used in HTTP and FTP, for IPv6 and SOCKS configurations -TD * fix several minor warnings reported by Coverity -TD * build-fix overlooked in 2.8.9dev.3 when INACTIVE_INPUT_STYLE_VH is defined, for problem introduced by 2.8.8dev.17 code-cleanup -GV * trim unnecessary intllib symbols from src/chrtrans/makefile.in -TD * when cross-compiling, trim LDFLAGS from makefile rule linking makeuctb, because it is a build tool, which should generally use BUILD_LDFLAGS (patch by Thomas Petazzoni) 2018-05-06 (2.8.9dev.18) * ignore content-encoding in HTContentToCompressType() if the content-type is known, to improve the suggested filename (report by Russell Bell) -TD * add support for using client certificate with OpenSSL configuration (patch by Elliot Thomas). * fix a few more memory leaks -TD * put Lynx.leaks file in home directory like Lynx.trace (report by GV) -TD * fix a memory leak in HTFTP.c -GV * modify HTDoConnect(), adding a check for keyboard interrupt with 'z' in the select-loop -TD * modify legacy feature from Lynx 2.7.2 which checks the hostname of a URI to guess whether to use HTTP, FTP, etc., depending upon the prefix of the URIs hostname. This is now an optional feature, GUESS_SCHEME, which defaults to FALSE (Debian #893907) -TD 2018-03-21 (2.8.9dev.17) * modify samples/oldlynx.bat to check if Lynx recognizes the -lss option -TD * modify samples/*lynx.bat to check for environment variables that Lynx would test for temp-directory, and only if those are absent will the scripts attempt to create a temp-directory -TD * modify samples/*lynx.bat to set PATH for executing utility programs -TD * remove unused critSec_DNS -TD * use EnterCriticalSection in ws_netread rather than InitializeCriticalSection since critSec_READ was initialized in LYMain.c (report by GV) -TD * use freeaddrinfo() in one case where free() was used (report by GV) -TD * implement "+" item type for gopher protocol (report by James Tomasino) -TD * add checks in options-menu in case no color-styles have been defined -TD * add Visual Studio project files for 2010, 2012 -TD * improve checks for strings which should not be empty -TD * check for empty personal-mail-address (report by TG) -TD * modify samples/lynx-demo.cfg to use SOURCE_CACHE:memory -TD * modify samples/*lynx.bat to use existing TEMP-directory if possible -TD * modify windows installer to select directory containing SSL DLLs and copy them into lynx's application directory -TD * add oldlynx.bat sample script to windows installer -TD * use default lynx.lss color scheme with samples/lynx.bat -TD * modify windows installers to use static libraries for pdcurses and slang, because the dll for the latter is much larger than the rest of lynx. Even with this change, lynx.exe is 50% larger when using slang than with pdcurses -TD * rename test-package for ".rpm" to "lynx-dev" for consistency with ".deb" -TD * improve samples/lynx.bat by using location of script rather than current directory -loto1992@inbox.ru ("Smuggler") * permanently enable MISC_EXP feature -TD * remove several obsolete ifdefs: DGUX, DGUX_OLD, HP_TERMINAL, REVERSE_CLEAR_SCREEN_PROBLEM, SHORTENED_RBIND, SLANG_MBCS_HACK, SNAKE -TD * improve logic in HTCopy used to limit reads based on content-length to take into account server headers which extend past the first block read (report/test-case by Dick Wesseling) -TD * permanently enable EXP_HTTP_HEADERS feature -TD * modify color-style hashing to check for collisions (reported by TG, Russell Bell) -TD * add PREFERRED_CONTENT_TYPE defaulting to text/plain and options-menu to replace an assumption in HTMIMEConvert that everything is text/html. Since most servers provide a valid Content-Type for HTML, and are more likely to omit it for files lacking a known suffix, defaulting to text/plain is a better choice -TD * remove dead-code for OMIT_SCN_KEEPING -TD * remove dead/unreachable pretty-source code in HTML.c, noticed because it complicates hashing -TD * improve hashing for anchors and styles by using a more suitable hash-table size -TD * add a note in lynx.cfg telling how to remove a default key-mapping -TD * modify "=" command to make it possible to disable margins for the URL string, by first disabling wrapping using "|" -TD * several fixes for Windows version -TH + fix an abnormal terminate when pressing 'd'(download) on no action button. + work around incompatibility in move() between POSIX and Windows. ref: https://www.securecoding.cert.org/confluence/display/c/FIO10-C.+Take+care+when+using+the+rename%28%29+function + fix limit-check for SJIS which prevented showing a show long title in the title bar on Windows environment. + fix problem with PDCurses when wrapping lines. ref: lynx-dev discussions "Subject: Wrapping line behavior" + fix resizing terminal problem with Windows + PDCurses. This problem occurs only with some combinations of source and destination screen size. For example: 80x25 -> 90x20 + including some code clean up * improve consistency in help-files discussing line-edit keymaps (prompted by Debian #888391) -TD * additional fixes to work with LibreSSL on OpenBSD 6.2 -TD * build-fixes for OpenSSL 1.1.0 versus 1.0.0 (patch by Quentin Minster). * modify configure script to make a quirk of NetBSD's make-program less noticeable -TD * modify configure script to work around pkgsrc's misconfiguration of shared libraries -TD * modify po/makefile.inn to ensure the temporary files have distinct names to avoid problem with "make -j8" (Debian #890811) -TD * update makefile/batch-scripts to allow building with newer Visual Studio versions, e.g., 2010, 2012, so that a 64-bit executable can be built -TD * repair link in lynx_help_main.html to HTML 3.2 documentation (Savannah #47803) -TD * update eo.po, fr.po from http://translationproject.org/latest/lynx * improved several configure macros: CF_BUILD_CC, CF_CC_ENV_FLAGS, CF_CURSES_FUNCS, CF_CURSES_LIBS, CF_NCURSES_CONFIG -D * updated ftp-site url -TD * update config.guess (2018-01-26), config.sub (2018-01-15) 2017-07-10 (2.8.9dev.16) * modify configure script to warn if NLS cannot be configured, and disable the feature rather than leaving it partly configured and failing during the build -TD * modify configure script to allow pre-set $MSGFMT and $XGETTEXT variables to to used to build the NLS configuration using system's native NLS support -TD * convert po/zh_TW.po to UTF-8 to work with Solaris10, which lacks big5 -TD * build-fix for OSX Panther, which has PRId64 but not SCNd64 (patch by Martijn Dekker). * modify po-makefile to use msgmerge to align with lynx.pot, and also use sed to update some obsolete homepage URLs in translations -TD * add a note in the comments for INCLUDE in lynx.cfg regarding the default directory searches LYOpenCFG(), added in 2.8.4dev.20 (Debian #818047) -TD * add a check to ensure that HTML_put_string() will not append a chunk onto itself (report by Ned Williamson) -TD * update da.po, et.po, tr.po from http://translationproject.org/latest/lynx 2017-07-04 (2.8.9dev.15) * add note in lynx.cfg about default values (Debian #408448) -TD * amended Backes' change to the COLLAPSE_BR_TAGS feature for compatibility -TD + use ENABLE_LYNXRC to determine whether it is written to the .lynxrc file. + add command-line option, etc., for controlling whether blank lines are trimmed, e.g., trailing lines as well as the special case for collapsing br-tags. Leading blank lines at the top of the document are untouched. + modify limit for trimmed lines to retain as little as 1 line; previously the trimming would go no smaller than 2 lines. * add command-line option and options-menu item for COLLAPSE_BR_TAGS (patch by Peter Backes). * fix strict gcc7 warnings on OSX, aside from those due to incorrect system headers -TD * adjust definition of alloca() in HTUtils.h to quiet bogus compiler warning with NetBSD 7 -TD * add configure check for preprocessor -C option, overlooked in c99 -TD * correct logic in HTCopy() when re-reading a page (Debian #863008) -TD * fix lintian warnings in ".deb" test-package -TD * build-fix for PGI compilers, e.g., symbol conflicts -TD * update eo.po from http://translationproject.org/latest/lynx 2017-05-10 (2.8.9dev.14) * amend fix for Debian #841155, adding check for complete multibyte strings to decide when the cell-limit has been met (Debian #862148) -TD * minor improvements to configure script to reduce warnings in config.log -TD * update config.sub (2017-04-02) * compiler-warning fixes for c99 on OSX -TD 2017-04-29 (2.8.9dev.13) * amend fix for Debian #841155, adding check for special case where the expected number of cells is zero (report by Larry Hynes) -TD 2017-04-28 (2.8.9dev.12) * correct logic in cell2char(), which gave up too early in determining the number of cells needed for a multibyte string in the editable text-fields (Debian #841155) -TD * improve manual page discussion of environment variables, prompted by comments in Debian #791452, which overlooked the fact that details of proxy behavior are found in the user guide -TD * cleanup some of the user's guide formatting, e.g., for quote-characters -TD * consistently use "_" in command-line options table and manual page, to work with program logic that treats "-" as "_", but not the reverse (report by Larry Hynes) -TD * improved several configure macros: CF_ADD_CFLAGS, CF_CC_ENV_FLAGS, CF_GNU_SOURCE, CF_LARGEFILE, CF_MATH_LIB, CF_PROG_LINT, CF_SRAND, CF_XOPEN_SOURCE -TD * modify Windows makefile to allow SSL_LIBS and SSL_DEFS to be overridden, reflecting naming-incompatibility in recent OpenSSL development -TD * modify ncurses-specific code to allow its TERMINAL struct to be opaque -TD * refine special case of server Content-Type from 2.8.7dev.11 changes to decompress files offered for download when the server has gzip'd them (report by TH) -TD * amend comparision from 2.8.8dev.10 changes to handle slang specially (report/testcase by TH) -TD * minor cleanup of UCDomap.c -TD * build-fix for color-style with leak-checking -TD * amend merge/fixes from http://en.sourceforge.jp/project/lynx-win32-pata as well as problem introduced by 2.8.8dev.6 cleanup -TH * update ca.po, from http://translationproject.org/latest/lynx * tidy whitespace in lynx.cfg (report by David Niklas) -TD * fix two more typos in the list of ENABLE_LYNXRC in lynx.cfg -TD * remove a repeated item for SEND_USERAGENT from lynx.cfg (Larry Hynes) * accept userinfo in a URL, subject to override by -auth option or -pauth options. According to RFC-3986, this is deprecated, but testing shows other clients support it -TD * fix several minor warnings reported by Coverity -TD * remove redundant asserts which follow a check that leads to outofmem(), added in 2.8.8dev.4 to appease clang 2.6, since clang 3.x understands no-return function declarations -TD * when converting host+params to idna, temporarily separate the params to avoid a warning from idna_to_ascii_8z() -TD * improve warning messages from 2.8.9dev.11 fixes when stripping user/password, dropping an unnecessary message and fixing a case where all-punctuation user name was not logged (report by Axel Beckert) -TD * update config.guess (2017-03-05), config.sub (2017-02-07) 2016-11-15 (2.8.9dev.11) * amend fix for stripping user/password to ensure that the stripped value is used when connecting to the host (prompted by discussion of CVE-2016-9179 at https://lists.debian.org/debian-lts/2016/11/threads.html#00072) -TD 2016-11-08 (2.8.9dev.10) * improved fix for OpenSSL 1.1 (Taketo Kabe). * improve warning message when stripping user/password from URL; report on http://seclists.org/oss-sec/2016/q4/322 treated as a Lynx parsing error the punctuation such as "?" which is permitted by RFC-1738 in a user or password field. RFC-3986 subsequently modified this. The improved message points out the possible confusion by users when these fields contain punctuation -TD * build-fix for OpenSSL 1.1 (Kamil Dudka) * begin work to parse gopher extension "link to URL" -TD * remove an obsolete comment in the manual page about -dump versus -force_html (report by Peter Schmitt) -TD * modify samples/oldlynx to provide an empty ".lss" file as a better default than providing an empty "-lss" option -TD * amend change made in 2.8.8dev.17 to permit multiple COLOR_STYLE items to restore the ability to cancel the color-style by providing an explicitly empty configuration item (in lynx.cfg, -lss or $LYNX_LSS). In lynx.cfg, it is possible to follow the empty COLOR_STYLE with other data, but the -lss option overrides everything, and if that is not found, $LYNX_LSS overrides lynx.cfg -TD * correct ifdef so that if the "news" parsing is disabled at compile time, HTTP.c interprets https:// links correctly when a https_proxy is set up (patch by Al Walker). * add a limit-check in case colspan is given as zero for non-nested-table case (report by Sami Liedes) -TD * update nl.po, sl.po from http://translationproject.org/latest/lynx 2016-04-26 (2.8.9dev.9) * add workaround for servers such as https://www.xing.com which fail to close the connection when they finish sending compressed data. This relies on the content-length (report by Klaus-Peter Wegge) -TD * restore fix to filter out left-to-right marks which was broken in refactoring in 2.8.9dev.2, and also filter out right-to-left marks (Debian #808949) -TD * fix build for current gnutls configuration which dropped the gnutls_protocol_set_priority function (reported by Axel Beckert, Andreas Metzler) -TD * modify CF_LD_RPATH_OPT configure macro, changing FreeBSD case to use -Wl,-rpath rather than -rpath option. According to FreeBSD #178732, either works since FreeBSD 4.x; however scons does not accept anything except the -Wl,-rpath form -TD * add null-pointer checks for ssl_ctx in HTTP.c in case of error from calls on SSL_CTX_new (report by Yuan Jochen Kang) -TD * update config.guess (2016-01-01), config.sub (2016-01-01) * update da.po, fi.po, tr.po from http://translationproject.org/latest/lynx 2015-12-18 (2.8.9dev.8) * fix regression in SSL support (report by Axel Beckert) -TD * update et.po, fr.po, vi.po, zh_CN.po from http://translationproject.org/latest/lynx 2015-12-18 (2.8.9dev.7) * make the HTTP version configurable, defaulting to "1.0" (HTTP/1.0) as HTTP_PROTOCOL, and make it changeable in the options menu -TD * switch HTTP version to 1.1, adding an explicit "close" to work around the pitfall of persistent connections. This is to work around a selective reading of RFC 2068 by duckduckgo.com - see http://lists.nongnu.org/archive/html/lynx-dev/2015-12/index.html -Axel Beckert * fix a potential null dereference in tidy_tls.c reported by Coverity -TD * extend advanced mode by showing field names in forms in the status line (suggested by TG) -TD * fix some typos found by lintian -Axel Beckert * correct buffer size in pretty_html() function of LYKeymap.c -TG * add support for some HTML5 elements -Kihara Hideto Using this change, you can jump to
. (The addition in src{0,1}_HTMLDTD.txt is copied from DIV.)
,
,
,