pkgsrc/www/lynx/PLIST

126 lines
4.9 KiB
Text
Raw Normal View History

Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
@comment $NetBSD: PLIST,v 1.10 2007/03/10 09:14:09 wiz Exp $
bin/lynx
1998-11-05 03:29:18 +01:00
man/man1/lynx.1
Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
share/examples/lynx/lynx.cfg
share/examples/lynx/lynx.lss
share/locale/ca/LC_MESSAGES/lynx.mo
share/locale/cs/LC_MESSAGES/lynx.mo
share/locale/da/LC_MESSAGES/lynx.mo
share/locale/de/LC_MESSAGES/lynx.mo
share/locale/et/LC_MESSAGES/lynx.mo
share/locale/fr/LC_MESSAGES/lynx.mo
share/locale/hu/LC_MESSAGES/lynx.mo
share/locale/it/LC_MESSAGES/lynx.mo
share/locale/ja/LC_MESSAGES/lynx.mo
share/locale/nl/LC_MESSAGES/lynx.mo
share/locale/pt_BR/LC_MESSAGES/lynx.mo
share/locale/ru/LC_MESSAGES/lynx.mo
Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
share/locale/rw/LC_MESSAGES/lynx.mo
share/locale/sl/LC_MESSAGES/lynx.mo
share/locale/sv/LC_MESSAGES/lynx.mo
share/locale/tr/LC_MESSAGES/lynx.mo
share/locale/uk/LC_MESSAGES/lynx.mo
Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
share/locale/vi/LC_MESSAGES/lynx.mo
share/locale/zh_CN/LC_MESSAGES/lynx.mo
share/locale/zh_TW/LC_MESSAGES/lynx.mo
share/lynx/lynx_doc/CHANGES
share/lynx/lynx_doc/COPYHEADER
Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
share/lynx/lynx_doc/COPYHEADER.asc
share/lynx/lynx_doc/COPYING
Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
share/lynx/lynx_doc/COPYING.asc
share/lynx/lynx_doc/PROBLEMS
share/lynx/lynx_doc/README
share/lynx/lynx_doc/docs/CHANGES2.3.gz
share/lynx/lynx_doc/docs/CHANGES2.4.gz
share/lynx/lynx_doc/docs/CHANGES2.5.gz
share/lynx/lynx_doc/docs/CHANGES2.6.gz
share/lynx/lynx_doc/docs/CHANGES2.7.gz
share/lynx/lynx_doc/docs/CHANGES2.8.gz
share/lynx/lynx_doc/docs/CRAWL.announce.gz
share/lynx/lynx_doc/docs/FM.announce.gz
share/lynx/lynx_doc/docs/IBMPC-charsets.announce.gz
share/lynx/lynx_doc/docs/OS-390.announce.gz
share/lynx/lynx_doc/docs/README.TRST
share/lynx/lynx_doc/docs/README.chartrans
share/lynx/lynx_doc/docs/README.defines
share/lynx/lynx_doc/docs/README.jp
Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
share/lynx/lynx_doc/docs/README.metrics
share/lynx/lynx_doc/docs/README.rootcerts
share/lynx/lynx_doc/docs/README.ssl
share/lynx/lynx_doc/docs/README.sslcerts
share/lynx/lynx_doc/docs/SOCKETSHR.announce.gz
share/lynx/lynx_doc/docs/TCPWARE.announce.gz
share/lynx/lynx_doc/docs/VMSWAIS.announce.gz
share/lynx/lynx_doc/docs/djgpp.key
share/lynx/lynx_doc/docs/pdcurses.key
share/lynx/lynx_doc/docs/slang.key
share/lynx/lynx_doc/docs/win-386.announce.gz
share/lynx/lynx_doc/samples/blue-background.lss
Update lynx to 2.8.4rel1, known to pkgsrc as 2.8.4.1. What follows is an abridged change log back to 2.8.4dev19 (lynx-current, which see). Only entries deemed likely to be visible to the user are reproduced here. Code clean-ups, reverted interim changes, and changes that would not affect NetBSD hosts were ommitted. Please see the CHANGES file in the archive or on the web for a complete list. Also, by popular demand, make native curses the default (ncurses and libslang are still build-time options). The color scheme for native curses under a NetBSD 1.5.* xterm is nearly the same as the libslang version. 2001-07-10 (2.8.4pre.4) * 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() 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 JS) -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 * 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 "<script>...</script>" to allow "<!-- ... -->" comments in SGML_character(). Though the HTML 4.0 spec is fairly clear, other browsers (and some webpages) assume that "</" does not have to be escaped when it appears in a script which is commented to avoid confusion with older browsers. This change doesn't ensure that the comment is at the beginning of a line, since that's awkward to do with SGML_character(), and also leaves the script in a comment which works for lynx since lynx does not interpret it anyway -TD * modify parse_attributes() in LYStyle.c to allow video attributes such as bold and reverse to be combined with colors, used this to debug problem with <script> 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., <ul>) is put in a table cell. This patch introduces a *limited* logic to take this info into account. It should work OK as far as the last non-empty line of the cell is ended by a "line-end" command, not by a </td> (this is often the case with contents using horizontal formatting). * updated URLs for ncurses (report by DK) -TD * updated samples/bright-blue.lss -IZ * update/extend lists in lynx_help_main.html -Frederic L W Meunier * add note about lynx.cfg mouse and color configuration to user's guide -PW * document -cmd_log and -cmd_script options in user's guide (Michael Warner). 2001-06-02 (2.8.4dev.21) * regenerated lynx.pot and resync'd the .po files against it with msgmerge, formatted to 132 columns to minimize line-breaks, for ease of comparison -TD * change lynx.cfg entry for COLOR #6 to brightred/black, which is what Slackware uses, to make links more visible -TD * add checks for potential buffer overflow in increment_tagged_htline() -TD * consolidate scattered calls to editor with function edit_temporary_file(), which fixes terminal modes when editing TEXTAREA -TD * modify LYisNonAlnumKeyname(), etc., using new functions LYindex2MBM() and LBMBM2index() so that it should work with EBCDIC, as well as similar case of translation in LYBookmarks.c which assume that there are no gaps in the coding for the alphabet -TD * workaround in lynx_nl2crlf() for ncurses, which did not refrain from using cursor-down if it was set to a newline when nonl() was specified -TD * replace permissions[] array in LYLocal.c because cygwin (mis)implements the S_xxx values as a function -TD * add ENABLE_LYNXRC setting to lynx.cfg, which allows one to modify the list of values which are visible on the O'ptions form which can be saved to the .lynxrc file -TD * check the width of entries displayed by LYOptions.c non-forms boolean_choice(), to pad shorter ones with spaces -TD * change type of LYMultiBookmarks to integer, combine with LYMBMAdvanced, to use enumMultiBookmarks to set it, making its configuration more easily table-driven -TD * make the style of menu border/bg/entry/number/active-entry and scroll indicator settable -IZ The names in lynx.lss are menu.frame menu.bg menu.n menu.entry menu.active menu.sb * modify cookie path prefix-comparison to ignore a trailing slash, e.g., /group/sftvnews/ versus /group/sftvnews (workaround for LV visiting http://groups.yahoo.com/group/sftvnews) -TD * cookie path= should be a prefix of the request-URI path, so do not truncate request-URI path in LYSetCookie() [we got mistaken "invalid cookie path=..." prompt in some cases previously] -LP * parameterized the logic around URL_edit_history to add MAIL_edit_history, used to store addresses for Printing Options, mail file to user (request by LV) -TD * check, fix minor problems with some .po files based on check_po script (mentioned on mutt-dev mailing list by Bjorn Jacke <bjacke@suse.de>) -TD * check width in LYpaddstr(), truncate the string if needed. This fixes a case where items in very wide popup menus would wrap, e.g., the EXTERN_LINK menu -TD * combine checks for useragent into one function LYCheckUserAgent() -TD * add runtime toggle for EXP_NESTED_TABLES, bind this to "~" (see www.tin.org for comparison) -TD * regenerate ja.po from lynx-2.8.3rel1.ja.po using gettext 0.10.37 and libiconv 1.6.1 (updated by Masayuki Hatta <mhatta@po.airs.net>) * changed -DNCURSES in DOS makefile to -DPDCURSES -TD * improve definition of CTRACE, making it an expression again as it was before dev.20 -PG * move logic for cookie_domain_flag_set() out of LYReadCFG.c into LYCookie.c rewriting it to make it table-driven, where it is now shared with LYrcFile.c -TD * rewrote LYrcFile.c, making it table-driven as is LYReadCFG.c -TD * reviewed/corrected several pointer-mismatches in PARSE_xxx() macro usage -TD * corrected return-types of several functions in LYLocal.c, which were given as BOOLEAN though they return a signed integer -TD * add DIRED support to makefile.bcb -TD * filter the list of mime types sent in "Accept:" header for GET, to eliminate repeated or shadowed types, using new function HTFilterPresentations() (addresses Debian bug report #41594) -TD * fix several typos in Lynx help-files -LV * enable scroll indicators on the menus - shown if there is a part of menu before/after the visible area -IZ * modify the context-sensitive mouse-menu, making it easier to to configure by reorganizing the tables used to generate the popup menu -IZ * correct a couple of places in form_getstr() when keys were "generated" instead of actions, which broke mouse-navigation in input fields -IZ * fix return value of Stbl_finishTABLE(), retesting curpos whose value may have been altered, e.g,. in split_line(), causing a cell to overflow to the right of the visible area (even if line wrap is requested) -IZ * change the logic of -display-charset: before it was sometimes descriptive (here is the charset, behave as if it was used for display), sometimes prescriptive (make the display to use charset if you can). Now it is only descriptive. One is forced to use the 'O'ptions to manually load a different font -IZ * move $(DEFS) and $(CHARSET_DEFS) into $(CPP_OPTS) in src/makefile.in -TD * renamed -blink_is_boldbg command-line option to -blink, corrected ifdef's -TD * implement -blink_is_boldbg option for OS/2 EMX and ncurses, then integrated some ifdef's to merge with equivalent slang code -IZ * rewrote hardcoded if/then/else chains in handle_LYK_SHIFT_LEFT() handle_LYK_SHIFT_RIGHT() to repeat_to_delta() function -TD * implement a key-accelerator for shift-left/right commands, i.e., repeating the shift command increases the amount by which the screen is shifted -IZ * modify ifdef in handle_LYK_LINEWRAP_TOGGLE() to use popup menus for each configuration rather than limit it only to mouse-supported ones such as ncurses or PDCurses -TD * changes to left/right scrolling to limit its effect to tables (IZ): + rename LYlineWrap variable (used to denote the column at which content is wrapped) to LYwideLines (used to denote the opposite sense: true if wrapping is disabled). + add global variable LYtableCols to control the column-limit for tables. The two variables LYLineWrap and LYtableCols have the same effect as did altering LYlineWrap and LYcols, but are limited to table layout. + modify handle_LYK_LINEWRAP_TOGGLE(), use a popup menu to set LYwideLines and LYtableCols. The latter is set to a positive integer, in units of 1/12 of the physical screen width. + modify GridText.c, replacing LYcols with new macros DISPLAY_COLS and WRAP_COLS. + keep scrollbar on the right margin of the screen when the contents are shifted left or right. * modify makefile.bcb, add (tested) commented-out lines for building with color-styles -TD * modify makefile.msc and makefile.bcb, add (tested) commented-out lines for building with winsock2 -TD * add a configure check for napms(), use this if available to support subsecond delay times for INFOSECS, MESSAGESECS, ALERTSECS -TD * rewrote www_user_search() to support both forward and backward search. Bound backward-search to 'N' -TD * split-out anchor_has_target() and link_has_target() to separate the search 2001-04-01 (2.8.4dev.20) * rename KEYMAP 'EXTERN' to 'EXTERN_LINK', adding 'EXTERN_PAGE'. Existing keymaps should work since 'EXTERN_LINK' matches first. EXTERN_PAGE runs the external command on the current page. Map comma (,) to EXTERN_PAGE -TD * modify LYExtern.c to recognize if more than one EXTERN command has been defined in lynx.cfg for a given name, and allow the user to select one command from a popup menu -TD * split-out code that opens lynx.cfg and lynx.lss as LYOpenCFG() function, making that check if the given pathname is absolute. If not, it attempts to look in the same directory as the parent file (when processing includes), or the directory of the default config file -TD * replace some explicit "r", "w", and "a+" fopen modes with TXT_R, TXT_W and TXT_A, add/use corresponding BIN_R, BIN_W, BIN_A definitions. Correction to OpenHiddenFile(), which would have appended text to a binary file -TD * combined lynx_html_item_type and lynx_printer_item_type structs as lynx_list_item_type to simplify LYReadCFG.c and incidentally fixing a bug in add_printer_to_list by merging it with add_item_to_list -TD * implement a simple workaround for staircased messages from running xli as an external viewer, with lynx_nl2crlf() function -TD * add bright-blue.lss sample (from IZ) -TD * modify makefile.in's to use symbol _O for object suffix to allow simple override for OS/2 EMX -Zomf compiler option (request by IZ) -TD * add HAVE_LYHELP_H definition in config.hin and use that in LYGlobalDefs.h to workaround misuse of HAVE_CONFIG_H in makelynx.bat -TD * work-around in LYrefresh() when curses pads are used, for special case where cursor is not set properly when prompting with long subject line for mailto URL -TD * eliminate some pointer mismatch compiler warnings in LYEditInsert() for EXP_KEYBOARD_LAYOUT configuration -TD * improve handling of tables with respect to bad HTML. Also took an opportunity to macroize a couple of places which missed in unobfuscation-of-faking <td></td> (this faking happens when line break happens in a non-first column of a table) -IZ For example: <TR> <TD> <FORM ACTION="FrameWork.class" METHOD="post"> y </TD> <TD> <DIV> x </DIV></FORM> </TD> </TR> Note FORM which spans cells. -trace'ing it gives very unintuitive results: it skips </TD> inside FORM, but not <TD>. Then it supplied </TD> when the FORM ends. * repair treatment of colspans in TRST, making it work again in one of the special cases it worked before. Another bug was in interaction of justification and tables -IZ * marked more TRACEs in TRST as "BUG"s -IZ * TRST would sometimes produce non-intuitive results if <td> follows </tr>. Add error recovery for this case -IZ * corrections for nested-table configuration -IZ + make trailing <BR> in table cells "behave well" again (the following cell would not be horizontally offset). + fix highlighting of multiline links inside tables, and a "80M tracelog" bug (due to a misprint update of the enclosing table was performed once-per-row instead of once-per-table). Extra updates would not hurt, but led to slowdowns and quadratic-size logs. + fix a special case with table-in-table for partial-display * resizing a window on a console may lead to a switch of the character-cell size. The "downloaded font" loaded during an auto-switch of display-charset may be no longer valid. In this case, force a re-download of the suitable font for the current charcell size -IZ * add reverse-video style for forwbackw.arrow to lynx.lss -TD * while an error in .lynx-keymaps is fatal, but a more or less equivalent error in the KEYMAP section of lynx.cfg is benign. Make them both benign -IZ * change remaining uses of lookup_keymap(LYK_xxx) to LAC_TO_LKC0(LYK_xxx) -TD * modify set_clicked_link() to return lynx keycodes rather than character values -IZ * remove line_for_char() function since it is used for HTLine.start computations -TD * several changes to GridText.c -IZ + '#' (shown at the UL corner when there is a toolbar) is shown even at the beginning-of-the document. + with mouse enabled, the first 6 chars in the UL corner were "always" sensitive to Click-1, behaving as PREV_DOC (usually on Left). This patch changes this logic (for color-style): If '#' is shown there, clicking on it behaves as pressing #; Clicking on the next 6 chars behaves as PREV_DOC/NEXT_DOC (3+3); + if you define a style for forwbackw.arrow, then suitable arrows are shown in these 3+3 positions; in fact they are shown only if it makes sense to do PREV_DOC/NEXT_DOC, providing additional feedback. + remove the first empty line shown on any HTML document. + correct an off-by-one error in the removal-of-zero-length-markup logic. Due to this bug, zero-length markup was never removed, which led to accumulation of style change entries, eventually to a buffer overflow. At this moment lynx color-style engine would give up, resulting in incomprehensible ocean of colors on the display. To demonstrate, make a select entry with more than 46 entries. [My auto-display-charset logic added 2 new encodings to the table of Lynx, bringing the number to 46 on the 'o'ption form. ;-] + fixes a bug with incorrectly calculated width of a numeric tag [12] as far as 12 is 10 or more (still fixes Debian #68542). + remove unused members from HTLine struct. + make variables underline_on and bold_on private. + rewrote insert_blanks_in_line(), splitting out move_anchors_in_region(). + make split_line() easier to maintain by adding variables to represent common subexpressions, e.g., s_post, s_pre. + use set_style_by_embedded_chars() in split_line() to simplify/improve test for whether lynx should add a bold/underline control. + recode to eliminate HTLine.start + recode to eliminate HTLine.chars + several changes to split_line(), using pointers to HTChangeStyle structs rather than array indices. * adjust some ifdef's to make configure --disable-trace compile -TD * correct allocation size in mailcap_substitute(), which did not count the trailing null -TD * add configure --enable-vertrace option, to put __FILE__ and __LINE__ into trace log -PG * improve description of USE_MOUSE in lynx.cfg -PW * eliminate a few references to USE_HASH and LINKEDSTYLES in documentation -TD * fix a comparison in HTChunkPutUtf8Char() to work with EBCDIC -PG * fix a typo in LYCharUtils.c CTRACE macro, amend tracing to avoid suppressing a related user message -PG
2001-12-21 04:55:50 +01:00
share/lynx/lynx_doc/samples/bright-blue.lss
share/lynx/lynx_doc/samples/cernrules.txt
share/lynx/lynx_doc/samples/installdirs.html
share/lynx/lynx_doc/samples/jumpsUnix.html
share/lynx/lynx_doc/samples/jumpsVMS.html
share/lynx/lynx_doc/samples/keepviewer
share/lynx/lynx_doc/samples/lynx-keymaps
share/lynx/lynx_doc/samples/lynx.com
share/lynx/lynx_doc/samples/lynx.lss
share/lynx/lynx_doc/samples/lynxdump
share/lynx/lynx_doc/samples/mailcap
Update lynx to 2.8.4rel1, known to pkgsrc as 2.8.4.1. What follows is an abridged change log back to 2.8.4dev19 (lynx-current, which see). Only entries deemed likely to be visible to the user are reproduced here. Code clean-ups, reverted interim changes, and changes that would not affect NetBSD hosts were ommitted. Please see the CHANGES file in the archive or on the web for a complete list. Also, by popular demand, make native curses the default (ncurses and libslang are still build-time options). The color scheme for native curses under a NetBSD 1.5.* xterm is nearly the same as the libslang version. 2001-07-10 (2.8.4pre.4) * 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() 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 JS) -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 * 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 "<script>...</script>" to allow "<!-- ... -->" comments in SGML_character(). Though the HTML 4.0 spec is fairly clear, other browsers (and some webpages) assume that "</" does not have to be escaped when it appears in a script which is commented to avoid confusion with older browsers. This change doesn't ensure that the comment is at the beginning of a line, since that's awkward to do with SGML_character(), and also leaves the script in a comment which works for lynx since lynx does not interpret it anyway -TD * modify parse_attributes() in LYStyle.c to allow video attributes such as bold and reverse to be combined with colors, used this to debug problem with <script> 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., <ul>) is put in a table cell. This patch introduces a *limited* logic to take this info into account. It should work OK as far as the last non-empty line of the cell is ended by a "line-end" command, not by a </td> (this is often the case with contents using horizontal formatting). * updated URLs for ncurses (report by DK) -TD * updated samples/bright-blue.lss -IZ * update/extend lists in lynx_help_main.html -Frederic L W Meunier * add note about lynx.cfg mouse and color configuration to user's guide -PW * document -cmd_log and -cmd_script options in user's guide (Michael Warner). 2001-06-02 (2.8.4dev.21) * regenerated lynx.pot and resync'd the .po files against it with msgmerge, formatted to 132 columns to minimize line-breaks, for ease of comparison -TD * change lynx.cfg entry for COLOR #6 to brightred/black, which is what Slackware uses, to make links more visible -TD * add checks for potential buffer overflow in increment_tagged_htline() -TD * consolidate scattered calls to editor with function edit_temporary_file(), which fixes terminal modes when editing TEXTAREA -TD * modify LYisNonAlnumKeyname(), etc., using new functions LYindex2MBM() and LBMBM2index() so that it should work with EBCDIC, as well as similar case of translation in LYBookmarks.c which assume that there are no gaps in the coding for the alphabet -TD * workaround in lynx_nl2crlf() for ncurses, which did not refrain from using cursor-down if it was set to a newline when nonl() was specified -TD * replace permissions[] array in LYLocal.c because cygwin (mis)implements the S_xxx values as a function -TD * add ENABLE_LYNXRC setting to lynx.cfg, which allows one to modify the list of values which are visible on the O'ptions form which can be saved to the .lynxrc file -TD * check the width of entries displayed by LYOptions.c non-forms boolean_choice(), to pad shorter ones with spaces -TD * change type of LYMultiBookmarks to integer, combine with LYMBMAdvanced, to use enumMultiBookmarks to set it, making its configuration more easily table-driven -TD * make the style of menu border/bg/entry/number/active-entry and scroll indicator settable -IZ The names in lynx.lss are menu.frame menu.bg menu.n menu.entry menu.active menu.sb * modify cookie path prefix-comparison to ignore a trailing slash, e.g., /group/sftvnews/ versus /group/sftvnews (workaround for LV visiting http://groups.yahoo.com/group/sftvnews) -TD * cookie path= should be a prefix of the request-URI path, so do not truncate request-URI path in LYSetCookie() [we got mistaken "invalid cookie path=..." prompt in some cases previously] -LP * parameterized the logic around URL_edit_history to add MAIL_edit_history, used to store addresses for Printing Options, mail file to user (request by LV) -TD * check, fix minor problems with some .po files based on check_po script (mentioned on mutt-dev mailing list by Bjorn Jacke <bjacke@suse.de>) -TD * check width in LYpaddstr(), truncate the string if needed. This fixes a case where items in very wide popup menus would wrap, e.g., the EXTERN_LINK menu -TD * combine checks for useragent into one function LYCheckUserAgent() -TD * add runtime toggle for EXP_NESTED_TABLES, bind this to "~" (see www.tin.org for comparison) -TD * regenerate ja.po from lynx-2.8.3rel1.ja.po using gettext 0.10.37 and libiconv 1.6.1 (updated by Masayuki Hatta <mhatta@po.airs.net>) * changed -DNCURSES in DOS makefile to -DPDCURSES -TD * improve definition of CTRACE, making it an expression again as it was before dev.20 -PG * move logic for cookie_domain_flag_set() out of LYReadCFG.c into LYCookie.c rewriting it to make it table-driven, where it is now shared with LYrcFile.c -TD * rewrote LYrcFile.c, making it table-driven as is LYReadCFG.c -TD * reviewed/corrected several pointer-mismatches in PARSE_xxx() macro usage -TD * corrected return-types of several functions in LYLocal.c, which were given as BOOLEAN though they return a signed integer -TD * add DIRED support to makefile.bcb -TD * filter the list of mime types sent in "Accept:" header for GET, to eliminate repeated or shadowed types, using new function HTFilterPresentations() (addresses Debian bug report #41594) -TD * fix several typos in Lynx help-files -LV * enable scroll indicators on the menus - shown if there is a part of menu before/after the visible area -IZ * modify the context-sensitive mouse-menu, making it easier to to configure by reorganizing the tables used to generate the popup menu -IZ * correct a couple of places in form_getstr() when keys were "generated" instead of actions, which broke mouse-navigation in input fields -IZ * fix return value of Stbl_finishTABLE(), retesting curpos whose value may have been altered, e.g,. in split_line(), causing a cell to overflow to the right of the visible area (even if line wrap is requested) -IZ * change the logic of -display-charset: before it was sometimes descriptive (here is the charset, behave as if it was used for display), sometimes prescriptive (make the display to use charset if you can). Now it is only descriptive. One is forced to use the 'O'ptions to manually load a different font -IZ * move $(DEFS) and $(CHARSET_DEFS) into $(CPP_OPTS) in src/makefile.in -TD * renamed -blink_is_boldbg command-line option to -blink, corrected ifdef's -TD * implement -blink_is_boldbg option for OS/2 EMX and ncurses, then integrated some ifdef's to merge with equivalent slang code -IZ * rewrote hardcoded if/then/else chains in handle_LYK_SHIFT_LEFT() handle_LYK_SHIFT_RIGHT() to repeat_to_delta() function -TD * implement a key-accelerator for shift-left/right commands, i.e., repeating the shift command increases the amount by which the screen is shifted -IZ * modify ifdef in handle_LYK_LINEWRAP_TOGGLE() to use popup menus for each configuration rather than limit it only to mouse-supported ones such as ncurses or PDCurses -TD * changes to left/right scrolling to limit its effect to tables (IZ): + rename LYlineWrap variable (used to denote the column at which content is wrapped) to LYwideLines (used to denote the opposite sense: true if wrapping is disabled). + add global variable LYtableCols to control the column-limit for tables. The two variables LYLineWrap and LYtableCols have the same effect as did altering LYlineWrap and LYcols, but are limited to table layout. + modify handle_LYK_LINEWRAP_TOGGLE(), use a popup menu to set LYwideLines and LYtableCols. The latter is set to a positive integer, in units of 1/12 of the physical screen width. + modify GridText.c, replacing LYcols with new macros DISPLAY_COLS and WRAP_COLS. + keep scrollbar on the right margin of the screen when the contents are shifted left or right. * modify makefile.bcb, add (tested) commented-out lines for building with color-styles -TD * modify makefile.msc and makefile.bcb, add (tested) commented-out lines for building with winsock2 -TD * add a configure check for napms(), use this if available to support subsecond delay times for INFOSECS, MESSAGESECS, ALERTSECS -TD * rewrote www_user_search() to support both forward and backward search. Bound backward-search to 'N' -TD * split-out anchor_has_target() and link_has_target() to separate the search 2001-04-01 (2.8.4dev.20) * rename KEYMAP 'EXTERN' to 'EXTERN_LINK', adding 'EXTERN_PAGE'. Existing keymaps should work since 'EXTERN_LINK' matches first. EXTERN_PAGE runs the external command on the current page. Map comma (,) to EXTERN_PAGE -TD * modify LYExtern.c to recognize if more than one EXTERN command has been defined in lynx.cfg for a given name, and allow the user to select one command from a popup menu -TD * split-out code that opens lynx.cfg and lynx.lss as LYOpenCFG() function, making that check if the given pathname is absolute. If not, it attempts to look in the same directory as the parent file (when processing includes), or the directory of the default config file -TD * replace some explicit "r", "w", and "a+" fopen modes with TXT_R, TXT_W and TXT_A, add/use corresponding BIN_R, BIN_W, BIN_A definitions. Correction to OpenHiddenFile(), which would have appended text to a binary file -TD * combined lynx_html_item_type and lynx_printer_item_type structs as lynx_list_item_type to simplify LYReadCFG.c and incidentally fixing a bug in add_printer_to_list by merging it with add_item_to_list -TD * implement a simple workaround for staircased messages from running xli as an external viewer, with lynx_nl2crlf() function -TD * add bright-blue.lss sample (from IZ) -TD * modify makefile.in's to use symbol _O for object suffix to allow simple override for OS/2 EMX -Zomf compiler option (request by IZ) -TD * add HAVE_LYHELP_H definition in config.hin and use that in LYGlobalDefs.h to workaround misuse of HAVE_CONFIG_H in makelynx.bat -TD * work-around in LYrefresh() when curses pads are used, for special case where cursor is not set properly when prompting with long subject line for mailto URL -TD * eliminate some pointer mismatch compiler warnings in LYEditInsert() for EXP_KEYBOARD_LAYOUT configuration -TD * improve handling of tables with respect to bad HTML. Also took an opportunity to macroize a couple of places which missed in unobfuscation-of-faking <td></td> (this faking happens when line break happens in a non-first column of a table) -IZ For example: <TR> <TD> <FORM ACTION="FrameWork.class" METHOD="post"> y </TD> <TD> <DIV> x </DIV></FORM> </TD> </TR> Note FORM which spans cells. -trace'ing it gives very unintuitive results: it skips </TD> inside FORM, but not <TD>. Then it supplied </TD> when the FORM ends. * repair treatment of colspans in TRST, making it work again in one of the special cases it worked before. Another bug was in interaction of justification and tables -IZ * marked more TRACEs in TRST as "BUG"s -IZ * TRST would sometimes produce non-intuitive results if <td> follows </tr>. Add error recovery for this case -IZ * corrections for nested-table configuration -IZ + make trailing <BR> in table cells "behave well" again (the following cell would not be horizontally offset). + fix highlighting of multiline links inside tables, and a "80M tracelog" bug (due to a misprint update of the enclosing table was performed once-per-row instead of once-per-table). Extra updates would not hurt, but led to slowdowns and quadratic-size logs. + fix a special case with table-in-table for partial-display * resizing a window on a console may lead to a switch of the character-cell size. The "downloaded font" loaded during an auto-switch of display-charset may be no longer valid. In this case, force a re-download of the suitable font for the current charcell size -IZ * add reverse-video style for forwbackw.arrow to lynx.lss -TD * while an error in .lynx-keymaps is fatal, but a more or less equivalent error in the KEYMAP section of lynx.cfg is benign. Make them both benign -IZ * change remaining uses of lookup_keymap(LYK_xxx) to LAC_TO_LKC0(LYK_xxx) -TD * modify set_clicked_link() to return lynx keycodes rather than character values -IZ * remove line_for_char() function since it is used for HTLine.start computations -TD * several changes to GridText.c -IZ + '#' (shown at the UL corner when there is a toolbar) is shown even at the beginning-of-the document. + with mouse enabled, the first 6 chars in the UL corner were "always" sensitive to Click-1, behaving as PREV_DOC (usually on Left). This patch changes this logic (for color-style): If '#' is shown there, clicking on it behaves as pressing #; Clicking on the next 6 chars behaves as PREV_DOC/NEXT_DOC (3+3); + if you define a style for forwbackw.arrow, then suitable arrows are shown in these 3+3 positions; in fact they are shown only if it makes sense to do PREV_DOC/NEXT_DOC, providing additional feedback. + remove the first empty line shown on any HTML document. + correct an off-by-one error in the removal-of-zero-length-markup logic. Due to this bug, zero-length markup was never removed, which led to accumulation of style change entries, eventually to a buffer overflow. At this moment lynx color-style engine would give up, resulting in incomprehensible ocean of colors on the display. To demonstrate, make a select entry with more than 46 entries. [My auto-display-charset logic added 2 new encodings to the table of Lynx, bringing the number to 46 on the 'o'ption form. ;-] + fixes a bug with incorrectly calculated width of a numeric tag [12] as far as 12 is 10 or more (still fixes Debian #68542). + remove unused members from HTLine struct. + make variables underline_on and bold_on private. + rewrote insert_blanks_in_line(), splitting out move_anchors_in_region(). + make split_line() easier to maintain by adding variables to represent common subexpressions, e.g., s_post, s_pre. + use set_style_by_embedded_chars() in split_line() to simplify/improve test for whether lynx should add a bold/underline control. + recode to eliminate HTLine.start + recode to eliminate HTLine.chars + several changes to split_line(), using pointers to HTChangeStyle structs rather than array indices. * adjust some ifdef's to make configure --disable-trace compile -TD * correct allocation size in mailcap_substitute(), which did not count the trailing null -TD * add configure --enable-vertrace option, to put __FILE__ and __LINE__ into trace log -PG * improve description of USE_MOUSE in lynx.cfg -PW * eliminate a few references to USE_HASH and LINKEDSTYLES in documentation -TD * fix a comparison in HTChunkPutUtf8Char() to work with EBCDIC -PG * fix a typo in LYCharUtils.c CTRACE macro, amend tracing to avoid suppressing a related user message -PG
2001-12-21 04:55:50 +01:00
share/lynx/lynx_doc/samples/mailto-form.pl
share/lynx/lynx_doc/samples/mild-colors.lss
share/lynx/lynx_doc/samples/mime.types
Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
share/lynx/lynx_doc/samples/oldlynx
share/lynx/lynx_doc/test/ALT88592.html
share/lynx/lynx_doc/test/ISO_LATIN1_test.html
share/lynx/lynx_doc/test/README.txt
share/lynx/lynx_doc/test/TestComment.html
share/lynx/lynx_doc/test/c1.html
Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
share/lynx/lynx_doc/test/iso-8859-1.html
share/lynx/lynx_doc/test/iso-8859-2.html
share/lynx/lynx_doc/test/koi8-r.html
share/lynx/lynx_doc/test/quickbrown.html
share/lynx/lynx_doc/test/raw8bit.html
share/lynx/lynx_doc/test/sgml.html
share/lynx/lynx_doc/test/spaces.html
Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
share/lynx/lynx_doc/test/special_urls.html
share/lynx/lynx_doc/test/tabtest.html
Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
share/lynx/lynx_doc/test/tags.html
share/lynx/lynx_doc/test/test-styles.html
share/lynx/lynx_doc/test/unicode.html
share/lynx/lynx_doc/test/utf-8-demo.html
share/lynx/lynx_help/COPYHEADER
share/lynx/lynx_help/COPYING
share/lynx/lynx_help/Lynx_users_guide.html.gz
share/lynx/lynx_help/about_lynx.html.gz
share/lynx/lynx_help/keystrokes/alt_edit_help.html.gz
share/lynx/lynx_help/keystrokes/bashlike_edit_help.html.gz
share/lynx/lynx_help/keystrokes/bookmark_help.html.gz
share/lynx/lynx_help/keystrokes/cookie_help.html.gz
share/lynx/lynx_help/keystrokes/dired_help.html.gz
share/lynx/lynx_help/keystrokes/edit_help.html.gz
share/lynx/lynx_help/keystrokes/environments.html.gz
share/lynx/lynx_help/keystrokes/follow_help.html.gz
share/lynx/lynx_help/keystrokes/gopher_types_help.html.gz
share/lynx/lynx_help/keystrokes/history_help.html.gz
share/lynx/lynx_help/keystrokes/keystroke_help.html.gz
share/lynx/lynx_help/keystrokes/movement_help.html.gz
share/lynx/lynx_help/keystrokes/option_help.html.gz
share/lynx/lynx_help/keystrokes/other_help.html.gz
share/lynx/lynx_help/keystrokes/print_help.html.gz
share/lynx/lynx_help/keystrokes/scrolling_help.html.gz
share/lynx/lynx_help/keystrokes/test_display.html.gz
share/lynx/lynx_help/keystrokes/visited_help.html.gz
share/lynx/lynx_help/keystrokes/xterm_help.html.gz
share/lynx/lynx_help/lynx-dev.html.gz
share/lynx/lynx_help/lynx_help_main.html.gz
share/lynx/lynx_help/lynx_url_support.html.gz
@dirrm share/lynx/lynx_help/keystrokes
@dirrm share/lynx/lynx_help
@dirrm share/lynx/lynx_doc/test
@dirrm share/lynx/lynx_doc/samples
@dirrm share/lynx/lynx_doc/docs
@dirrm share/lynx/lynx_doc
@dirrm share/lynx
Update to 2.8.6: New features (some are compile-time options): * INFO and Options pages are laid out properly for multibyte locales, accounting for character widths. * change configure option default for --enable-justify-elts to true. Change default for JUSTIFY to "false". * add PREFERRED_ENCODING to lynx.cfg, along with an options-menu selection for this, to set "Accept-Encoding:" string * add PREFERRED_MEDIA_TYPES to lynx.cfg, corresponding to the option for HTFilterPresentations(). A minimal set of media types is used by default, though the old behavior can be selected * add -nonumbers option, which modifies the output of -dump to suppress the link-numbering * add -listonly option, which modifies the output of -dump to show only the list of links * add -syslog-urls option and lynx.cfg settings (SYSLOG_TEXT, SYSLOG_REQUESTED_URLS) to allow syslog'ing of URLs to be optional. This cannot be set from the options menu * the -version option shows the version of ncurses, curses, etc., from runtime data when available. * add -notitle option to suppress title line and following blank line to maximize screen use for small displays * add -nomargins option to suppress left/right margins to maximize screen use for small displays * add NO_MARGINS and NO_TITLE to lynx.cfg * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output * add configure --enable-largefile / --disable-largefile options. * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses Other enhancements: * improve SSL support: * updated README.sslcerts * update CF_GNUTLS macro to look for -lgnutls-openssl as well as the older -lgnutls-extra library * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards * suppress OpenSSL URL from version message if it happens to be built using GNU TLS (or other libraries which happen to define symbols to pretend they are OpenSSL). * improve HTML interpretation: * fix function, which was checking for the absence only of some nonstandard encodings (8bit, 7bit, binary) rather than for the presence of the encodings as specified in RFC 2068 (gzip, compress, etc). This makes lynx able to view a site which puts the charset as the Content-Type * add "deflate" to the encoding types which lynx implements. This consists of several parts * adapted logic from w3m's inflate.c to construct an internal "deflate" decompressor. Tested this with http://carsten.codimi.de/gzip.yaws/ * add "deflate" to the options menu. * modify logic that builds "Accept-Encoding" value to omit encodings which have no external decompressor associated. The effect of this change is to allow lynx to behave as it did before adding the (possibly incomplete) "inflate" support. * add INFLATE_PATH to lynx.cfg, to optionally specify an external program which can be used to decompress deflated files. For testing, a shell script using w3m's utility, e.g., /usr/lib/w3m/inflate, sufficed. NOTE: As currently implemented, lynx requires the external decompression programs to be specified even if it can decompress using library calls. * use ".zz" for suffix of downloaded (but not inflated) deflated files, mapped to application/deflate and application/x-deflate. * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags * correct parsing of embedded URLs which have parameters but no path, e.g., base http://wj55.org/Minutes.php and embedded ?date_meeting=2004-08-31 * add presentation type for application/xml and text/xml mime types as per http://www.w3.org/TR/xhtml-media-types/ http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801 which states that they may be used, though application/xhtml+xml is the preferred media type * add presentation type for application/xhtml+xml mime type as per RFC 3236 * add presentation for text/css, to allow browsing ".css" files * force a newline in HTML_end_element() after a </pre>, which causes lines containing only whitespace before the </pre> to display a new line, rather than putting that whitespace before text that follows the </pre> * following a link consisting of a "#" fragment will move the cursor to the link containing the target rather than simply ensuring that it is visible * improvements to character sets and display: * new message files for localization: rw.po, vi.po * updated message files for localization: cs.po, da.po, de.po, et.po, fr.po, hu.po, nl.po, pt_BR.po, sv.po, tr.po * use puts() rather than printf() in some messages to avoid chance of "%" in the translation * modify HTConfirmCookie() to ensure the translator's note is copied into the lynx.pot file, by adding a gettext("Y/N/A/V") call after the comment * improve layout of options-menu and info-page for multibyte character sets by computing the extent of the labels. This works only for wide-character curses. * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region * improve checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work * improve recovery when a charset is found that cannot be translated. Before this change, the charset was not stripped from the format string, e.g., text/html; charset=big5 and since there would be no match for the format, lynx would offer to simply download the page (if interactive), or refuse to format (for dumps). Although the content of the page is unusable, the user can still navigate the page using the links which may be there * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw * improve def7_uni.tbl substitutions for the symbols beginning at U+2600 * add experimental option --enable-japanese-utf8 for using libiconv for Japanese and UTF-8 * improvements to color-style: * change configure script --enable-color-style so it is enabled by default * add COLOR_STYLE setting to lynx.cfg * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. * improve interaction with user: * highlight the target and pause for 20 milliseconds when selecting a link with the mouse * modify behavior when user attempts to toggle a radiobutton off, to make the message that one radio button must be selected only in novice mode * modify column limits, allowing text to be written to the last column on the screen. This allows users to view text which is formatted for 80 columns without the last character of each line wrapping to the next line * prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line * modify HTSaveAndExecute() to check first for result from HTFileSuffix() before choosing between BIN_SUFFIX and HTML_SUFFIX. This allows the PDF viewer on OS X to get the proper suffix (.pdf) rather than .bin * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() * modify suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes * modify INFO-page to list the rendered size in bytes if the Content-Length is not available * print the contents of image maps, if any, at the end of a dump * command-line options that toggle or set a boolean now accept "true" and "false" strings. * improve interaction with other programs: * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX * improve cookie support: * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses * make the maximum number of cookies configurable in lynx.cfg, added MAX_COOKIES_DOMAIN, MAX_COOKIES_GLOBAL and MAX_COOKIES_BUFFER * improvements to debug/traces: * use symbol USE_VERTRACE in HTUtils.h to allow makefiles that do not use the configure script to turn on the equivalent --enable vertrace feature * improvements to scripting/logging: * make "lynx -version" work in the absence of ".cfg" or ".lss" files * modify print_wwwfile_to_fd() and print_crawl_to_fd() to ensure that no trailing blanks are written in a -dump, etc. * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check * modify initialization so that cat options.txt | lynx - will allow interactive use * other improvements: * modify logic for -dump so it can dump all pages listed on the command line * lynx accepts multiple URLs on the command line; all are added to G)oto history. Documented this in manpage * add (ifdef'd with EXP_HTTP_HEADERS) code to display the full text of the HTTP headers in the INFO page. * modify treatment of symbolic links for ftp-URLs to show the link target, as with the local directory editor * correct sort-order of local directory listing, using the target of a symbolic link to determine whether it is grouped with files or directories * modified mailcap command and testcommand substitutions to provide for running the testcommand's after program initialization * read user's ".newsauth" file for news-server authentication information * escape "From " when it appears in a page which is mailed, to avoid confusing mail clients * add "Anonymous FTP Password" to Options menu, to allow user to override use of personal email address as the anonymous ftp password New/improved sample files: * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl * add test/special_urls.html * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature New ports: * none (it seems to run everywhere, but there are a few possibilities) Improvements to existing ports: * UNIX: * improve configure script macro CF_XOPEN_SOURCE, ensuring that _POSIX_C_SOURCE is defined with a value. * revise configure script check whether _POSIX_C_SOURCE should be defined, taking into account the _POSIX_SOURCE definition * Linux: * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font * update Linux console font support to use console-tools package. The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two * modify configure script to check for Intel compiler 8.0 (and 9.0). * some others [stripped] Improvements for maintainability and testing: * remove macros such as ARGS1, NOPARM which supported K&R compilers * make ANSI C required, drop support for K&R C. * add scripts/indent.sh, use this to reindent C source files * add tags rules to makefile.in's * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS * modify configure script and makefiles to allow cross-compiling * add --with-system-type option to configure script to simplify testing the case-statements involving $host_os * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files * filter out obsolete URLs from the customizations saved during install of lynx.cfg * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts * update test/iso8859-1.html (minor fixes) from http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright As well as security-related changes: * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg * reduce TRST_MAXROWSPAN and TRST_MAXCOLSPAN to 200, which is more plausible than 10000 by 1000. * limit TEXTAREA columns to the screen width, and rows to 3 times the screen height. And finally: * A lot of bug fixes * A lot of documentation changes. * A lot of dead code removed
2007-03-10 10:14:09 +01:00
@dirrm share/examples/lynx