📄 changes
字号:
* modify ifdef's to use mkdtemp() if it is available (prompted by MirBSD
patch) -TD
* several fixes from Thorsten Glaser (MirBSD):
+ workaround for invoking shell scripts when executable permissions are
discarded as a result from using CVS.
+ adjust buffer-size used in a readlink() call in case the result is too
long to include trailing null.
+ change default ftp mode to passive.
+ if ftp connection fails, automatically retry, switching between passive
and active modes. Do this retry switching only when connecting to a
different host. A new variable ftp_local_passive distinguishes this
from the user preference in ftp_passive.
+ improved certificate handling (case-insensitive domain-comparison, strip
port-numbers from comparison).
+ fix a few typos & compiler-warnings.
* add PT154 charset support. See
http://www.iana.org/assignments/charset-reg/PTCP154 for more information.
(patch by Timur Birsh <birsh@mail.kz>)
* integrate some improvements for configure script in CF_BUNDLED_INTL and
CF_OUR_MESSAGES from tin and dialog -TD
* remove #undef for UTF8 from UCMap.h, rename UTF8 variable, modify configure
check for slang to test-compile with with the Debian slang-utf8 package -TD
* modify configure script to not use "head -1", which does not work for some
platforms when POSIXLY_CORRECT (sic) is set -TD
* fix configure script check for term.h, which may be <ncursesw/term.h> -TD
* modify an ifdef in HTCheckForInterrupt() to allow compile with DJGPP -GV
* add docs/README.sslcerts (Stef Caunter <cauntes@mail.mohawkc.on.ca>).
* modify LYLocalFileToURL() to allow for CurrentDir() returning a value that
does not begin with a slash, e.g., with DJGPP which returns a drive-letter
first -DK
* amend change in dev.15 to HTParse() to escape spaces, to exclude non-URL
strings such as absolute filenames (report by Patrick Ash) -TD
* modify LYParseTagParam() (added in dev.13) to not stop on ';' (fixes a bug
reported by LV which broke complicated refresh-URL containing "&") -TD
* change default start page to lynx.isc.org, since lynx.browser.org is not
maintained -TD
* modify HTML_start_element() to work with a case where there is an HREF
attribute without a value, fixes bug introduced after dev.9, e.g., for
X-URL: http://bankr.tsr.ru/tv-6.shtml
(also reported by Frederic L W Meunier for http://www.jacotei.com.br/) -LP
* correct construction of link to temporary filename in download options, did
not port to DOS-pathnames (report by LP) -TD
2003-06-01 (2.8.5dev.16)
* add zh_CN.po from
http://www.iro.umontreal.ca/contrib/po/maint/lynx/
* updated obsolete link for nntp in users's guide -TD
* add F_FILE_TYPE to F_TEXTLIKE() macro, and use it consistently in a few more
places, making editing in filename fields consistent with other text input
fields -TD
* add LYAdjHiTextPos() to modify the behavior of color-style code, so leading
blanks are not highlighted (reported by Frederic L W Meunier) -TD
* modify CacheThru_new() to accept "https:" URLs for source-caching (report
by Chuck Martin) -TD
* adapt some of the SH_EX ifdef'd features:
+ add -delay option, to make progress messages slow, along with corresponding
code for lynx.cfg -TD
+ show build date/time for systems that do not use a configure script.
+ use LYK_CHG_CENTER keycode bound to ^Q to control whether table cells are
centered. The command-line -center option also controls this behavior.
* add BIN_SUFFIX, TEXT_SUFFIX to userdefs.h -TD
* modify BeginInternalPage(), adding a doctype to generated internal pages
to allow validating them -TD
* modify HTFWriter.c to use binary suffix for any file with an application
presentation type, to better distinguish it from text and html. Use text
suffix for any "text/" file other than "text/html". These changes cover the
most common cases needed to make a link to view the temporary file useful in
the download page -TD
* modify LYdownload_options(), adding a link to view the temporary file if the
downloaded file is text or html -TD
* modify LYwouldPush(), omitting the download page from list of user-interface
pages which should not be pushed onto the history stack when visiting another
page, such as info or help. Otherwise the downloaded file is discarded
(report by BL) -TD
* simplify set_vi_keys() and related functions using table-driven
set_any_keys() and reset_any_keys() -TD
* HTAnchor_findAddress now returns HTParentAnchor, avoid casting -LP
* change select timeout in HTCheckForInterrupt() to zero, allowing immediate
return rather than waiting (DJGPP otherwise blocks for 50msec). For Unix
platforms, the DontCheck() function limits the amount of polling which
otherwise would be too much CPU usage -LP
* modify configure check for gcc -Winline warning to work around defect in
gcc 3.3 -TD
* fix bug introduced recently in forms-submitting for TEXTAREA; the "%0d%0a"
was put after each line rather than before, making the first and second lines
joined (report by LV) -TD
* reset the leading/trailing space counts in error-recovery logic added in
2.8.5dev.15 for S_litteral case in SGML_character(). Otherwise a mismatch,
e.g., due to a stray "<" or ">" in <script>...</script>, prevented a match
on the </script> -TD
* do not free adult_table[] atexit - it should be perfectly empty after
free'ing all HText's. (There is an error if it is not empty at exit) -LP
* unnamed child anchors (`children_notag' list) now use HText memory pool.
Links properly deleted when reparsing the document -LP
* Use less memory for documents with many anchors: most anchors are never
visited, just stored for the reference. So fill in adult_table[] with
HTParentAnchor0 (36 bytes size) instead of full HTParentAnchor (~200 bytes).
HTParentAnchor now allocated on demand, nearly 1:1 to HText. [more comments
in HTAnchor.h, changes located in HTAnchor.c] -LP
* HTParentAnchor0 stores its hash value, to avoid calling HASH_FUNCTION twice
on the same anchor (Re: HTAnchor_delete()) -LP
* fix a potential out-of-bounds bug in HTBEquivalent() -LP
* change strrchr() calls to strchr() in a few src/*.c file when parsing
"#fragment" left-to-right -LP
* modify HTFWriter_abort() to remove file on error -IZ
* added hot.paste style which puts a right-arrow at the UR corner (which is
currently unused). Clicking on it initiates a GOTO to the current selection
(same as PASTE_URL action). The hot.paste style is disabled unless STYLES
and CUT_AND_PASTE are both enabled. Disabled and the user defines hot.paste
in the ".lss" file -IZ
* modify LYK_PASTE_URL case in LYMainLoop.c to allow pasting URLs of the form
<address> and "<URL:address>" to lynx. This is useful when it is not easy to
choose address without the surrounding "<>" or "<URL:>" -IZ
* make a minor memory saving (circa 15%) for table processing, improve yet
another case of "ladder" (as in the top of google results), and fixes one
case of "wrong indentation" (elements of a table which contained <center>
were made too wide) -IZ
* modify Stbl_trimFakeRows() to compensate for 2.8.5dev.15 changes to
Stbl_addRowToTable() from 2.8.5dev.15 which caches shrinking cell arrays in a
pool. It did not take into account reallocation of the same data, e.g., in
Stbl_reserveCellsInRow(). For example:
http://camden-sbc.rutgers.edu/FacultyStaff/Directory/default.htm
(report by Patrick Ash) -IZ
* add FORCE_COOKIE_PROMPT setting to lynx.cfg, allowing for manipulation in the
options menu and (if LYNXRC_ENABLE is set) via the .lynxrc file. This lets
the user decide whether to ignore prompting for cookies with invalid syntax.
If the prompts are ignored, a corresponding message is displayed -TD
* add FORCE_SSL_PROMPT setting to lynx.cfg, allowing for manipulation in the
options menu and (if LYNXRC_ENABLE is set) via the .lynxrc file. This lets
the user decide whether to ignore prompting for questionable aspects of
an SSL connection. If the prompts are ignored, a corresponding message is
displayed -TD
* change select() calls to use the expected 1+descriptor value documented for
that function rather than FD_SETSIZE. It is possible that some very old
or unique platform would not work, but this is more efficient (discussion on
lynx-dev) -TD
* modify logic for S_litteral case in SGML_character() to recover from spaces
between the '<', '>' and the corresponding end of the tag, e.g.,
<style >
< style >
< style >
match "<style>", and
</style >
< /style >
< /style >
match "</style>" (report by TH) -TD
* correct a check in HText_trimHightext() for the last line of the display,
which left unhighlighted the portion of a multi-line anchor which fell in
that place (report by TH) -TD
* correct an off-by-one in redraw_lines_of_link() which left the link on the
last line on a page highlighted when moving the cursor up (reported by Morten
Bo Johansen) -TD
2003-04-27 (2.8.5dev.15)
* change definition of docdir1, helpdir1 to avoid using ksh-semantics (see
2.8.5dev.2) -TD
* update ja.po, uk.po, zh_TW.po from
http://www.iro.umontreal.ca/contrib/po/maint/lynx/
* improve layout of TRSTable.c, reducing "laddering" effect, where cells in
different columns do not overlap by lines -IZ
* modify SGML_new() to allow display charset-switching when reloading a
document -IZ
* fix a buffer-size in LYK_PASTE_URL case in LYMainLoop.c -IZ
* various improvements to load-time for TRSTable.c -IZ
As a test:
<URL:ilyaz.org/software/tmp/table_2col_bold_it_500000.html.gz>.
This is a simple table with 2 columns, one with bold contents, another with
italic one. The total number of rows is 500K. With the patch and an
acceptable malloc(), lynx should use the working set of about 110M to show
the table. On my system with 128M memory, this leads to only 4M of the
process space swapped.
* add case LYK_TO_CLIPBOARD to HTCheckForInterrupt (not a good place), to allow
COPY command to work during download (copying the location to clipboard).
The best thing would be to get the location *after* redirects, but this will
require some additional work -IZ
* add popen-based support for cut/paste. This is a slightly reworked patch to
GNU readline. If RL_PASTE_CMD and RL_CLCOPY_CMD are defined in the
environment, lynx will use them as commands to do cut&paste. The simplest
such commands could just store/retrieve things from
/tmp/.clipboard_user-name; more advanced ones could use X clipboard -IZ
* modify yawerty_kb.h to map U+0411 and U+0431 to 'B' and 'W' positions
respectively. The map contained U+0412 and U+0432 at those positions,
which are duplicated at other positons -IZ
* fix HTLoadFinger() which was miscasting const data -TD
* update Subir Grewal's Lynx links URL to the newest location
http://www.subir.com/lynx.html -TD
* add configure option --with-gnutls, to allow lynx to be built with gnutls.
Used gnutls 0.8.6 on Redhat 8.0 to login at yahoo (gnutls is not very
portable, so this is an experimental option) -TD
* modify loop in HTInitProgramPaths() to convert enum ProgramPaths to an
integer, to accommodate HPUX 11.22 compiler (report by JS) -TD
* amend change in dev.13 to HTParse() to escape spaces, to exclude lynx's
internal URL types such as lynxprog (report by P.J.Walsh) -TD
* modified ifdef's to enable -connect_timeout option for DJGPP -GV
In particular, in LYUtils.c, undef "select" in case Lynx is compiled with
curses (and not S-Lang). Watt-32's select_s cannot be used on a
stdin handle, so one must undef it and use DJGPP's select().
* modify ifdef in HTCheckForInterrupt() to work with MingW and PDcurses -GV
* add version information for the macros in aclocal.m4 (request by Lars
Hecking) -TD
* modify file-upload to use actual binary-data rather than base64-format -TD
* generate unique boundary for multipart data in HText_SubmitForm() -TD
* reorganize HText_SubmitForm(), maintaining post data using bstring's -TD
* modify HText_SubmitForm() to add field name for the fake coordinate pair
when formatting a multipart submit (report by Peter Pilsl
<pilsl_@goldfisch.at>) -TD
* change post_data to a bstring; implement functions and macros for
manipulating bstring data. This allows post_data to maintain embedded nulls,
e.g., for file-upload -TD
* fix ifdef's for <ncursesw/term.h> -TD
* fixes for file upload -IZ
+ modify logic for headers use write them even if MultipartContentType was
not set.
+ change logic for base64 to be used ONLY if \0 was found.
If a "strange" char is found, only change "text/plain" to
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -