📄 changes
字号:
"application/octet-stream".
* change a couple of _user_message() calls to HTUserMsg2() calls so their
content is saved in the "Messages" buffer -IZ, TD
* undo 2002-11-11 SGMLFindTag optimization (problem with color styles,
reported by IZ). Optimize the function by storing the previously found tags.
Also use my_casecomp() to decrease AS_casecomp() calls by testing the
first character manually -LP
* optimize HTStyle comparison: just compare numbers from enum.
It was previously implemented as a strcmp comparison with a fixed string.
Used in a very inner loop, in HTML_put_character() -LP
* LYEnsureAbsoluteURL() now absorbs LYFillLocalFileURL() call -LP
* optimize LYLegitimizeHREF() -LP
* in HTML.c, revise href resolving logic. HTAnchor_findChildAndLink now
resolves href with respect to BASE internally; HTParse incorporates
LYFillLocalFileURL call (after the parsing, and only when the related string
is not empty and parse includes access, host, path and punctuation). This
removes all LYFillLocalFileURL and most HTParse calls from HTML.c and makes
code more consistent. (Previously, functions were called in a different order
for document with/without BASE, which had the side effect in some cases,
e.g., href="c:" on a DOS machine was resolved properly with _any_ base, and
badly broken without:) -LP
* add/use HTParseALL macro to simplify coding -LP
* revise "internal links" logic (read KW 1997-11-03 notes, before v2.8).
In HTML.c and HTAnchor.c, internal links code affects only parent lookup
in the adults table (more correct in case of post data), now a mainline:
we omit "#ifndef DONT_TRACK_INTERNAL_LINKS" condition in the two files.
In HTML.c, avoid using internal links for unrelated `src=' attributes
(BGSOUND_SRC, FRAME_SRC, IFRAME_SRC, OVERLAY_SRC, EMBED_SRC links:) -LP
* refine HTAnchor_delete() vs deleteLinks() mutual recursion logic - LP
* change ALIGN_SIZE in GridText.c to sizeof(double), which is probably more
portable than "8" -LP
* modify a syslog() call to guard against possible '%' in its parameter -TD
* remove extra quotes from calling HTMake822Word() for form boundary names
(addresses bug report for fastmail.fm by P.J.Walsh) -TD
2003-02-04 (2.8.5dev.14)
* correct a missing ">" at the beginning of page sent as response to mailto -TD
* simplify (clarify) anchor structure: links now moved from HTAnchor to
HTChildAnchor (the only place they were used). By this we avoid unneeded
casting in calls to HTAnchor_followMainLink, HTAnchor_followTypedLink,
deleteLinks. [GridText.c, HTML.c, LYList.c, HTAnchor.c] -LP
* as of 1998-11-21 "workaround for multiple anchors in the same (invalid) HTML
document with the same NAME and different destinations (HTAnchor.c) - KW",
along with skipping HTAnchor_link() call in this case now, we realize that
HTChildAnchor may have only a single link. (Previously implemented by
mainLink and links list). This simplifies HTAnchor.c -LP
* simplify HTChunk.c -LP
* optimize LYRemoveNewlines() and LYRemoveBlanks() -LP
* check for no common name (CN) in certificate when connecting via SSL, fixes
a SIGSEGV with
https://web-shokai.tokyo-denwa.net/
(patch by patakuti@t3.rim.or.jp)
* add uk.po (Ukranian) from
http://www.iro.umontreal.ca/contrib/po/maint/lynx/
* modify HTList_linkObject to avoid an infinite loop in HTList_unlinkObject due
to relinking some node several times, corrupting the previous list chain -LP
* increase ATEXITSIZE to 50, 40 was not enough -TD
* ifdef-out call to Cygwin_Shell() in LYMainLoop.c, which does not work
properly for some environments (report by Corinna Vinschen
<vinschen@redhat.com>, forwarded by Frederic L W Meunier) -TD
* correct a bug in HTAnchor_findChildAndLink() introduced in dev.13 handling
USEMAP, e.g.,
http://www.sendas-delivery.com.br/topo_sendas.asp
(reported by Frederic L W Meunier) -LP
* minor fixes for K&R compiler on SunOS: prototype of HTDOS_slashes(),
definition of LYLeakSequence -TD
2003-01-22 (2.8.5dev.13)
* change new memory-allocation in HTString.c and GridText.c to provide pointers
to data aligned to the host's pointer-size, to work on Tru64 where this
happens to be 8 -TD
* resync ".po" files using msgmerge -TD
* remove quadratic complexity from insert_blanks_in_line() usage with large
tables (Stbl). It occasionally cleans up split_line() a bit. CPU load
anomaly reported by BL -LP
* ALLOC_IN_POOL, POOL_NEW, POOL_FREE macros now became functions, suggested by
BL -LP
* define HAVE_ALLOCA for djgpp fixed-configuration -LP
* add command-line option (--nested-tables) to help in testing this feature -TD
* add command-line option (--find-leaks) to disable the memory leak checking
code, allowing one to build an executable which is useful for both normal
and leak-checking (request by Frederic L W Meunier) -TD
* improve performance of HTParse() for very long strings -LP
* fix memory leak in HTFileSaveStream() -LP
* further optimization in HTAnchor.c - save 3 mallocs per HTChildAnchor by
using new HTList_ functions: HTList_linkObject(), HTList_unlinkObject(),
HTList_unlinkLastObject() which utilize external memory, no malloc/free -LP
* modify "make install-help" rule to avoid warning message about keystrokes
subdirectory (report by Martin Mokrejs) -TD
* optimize !HText_TrueLineSize() expressions as HText_TrueEmptyLine() -LP
* optimize is_url(), rewriting it as case-statements to avoid unnecesary
comparisons, make similar optimization in HTParse() -LP, TD
* corrected logic in is_url() where the "://" was not necessarily checked in
the proper position - TD
* for color-style configuration, add a link to lynx.lss from LYNXCFG: -TD
* simplify setup of internal pages with new function InternalPageFP() -TD
* modify parsing of refresh-URL to strip single quotes, to handle
http://tovar.yandex.ru/
(reported by LP) -TD
* investigated conflict between NSL_FORK and _WINDOWS_NSL ifdef's for Cygwin
configuration in HTTCP.c; left them as-is since #undef'ing _WINDOWS_NSL in
that case causes problems connecting (feedback by Frederic L W Meunier) -TD
* corrected an off-by-one error in computing the location of the bottom line
for mouse input in PDCurses configuration which made that area ignore mouse
clicks. Merged almost-identical cases for mouse-input for NT/Windows95 -TD
* ifdef'd out (USE_CURSES_PAIR_0) the ASSUMED_COLORS logic for the PDCurses
configuration (reports by DK) -TD
* LYSetHiText(), LYAddHiText(), and LYClearHiText() use HText memory pool -TD
* add atexit-cleanup for history stack, removed incomplete code for this from
cleanup(), since that gave misleading results in leak-checking. Fix a few
small leaks as well (reported by LP) -TD
* modify cleanup() to leave the trace file open if checking for leaks -TD
* add some simple statistics to summary in Lynx.leaks report -TD
* add malloc-sequence number to Lynx.leaks report, to help with debugging -TD
* fix memory leaks in nested-tables logic, which did not free subtable data
if there was an enclosing table (reports by Frederic L W Meunier) -TD
* adapted change by LP to allocate HTLine's from memory pool -TD
* move fallback definition of MAXHOSTNAMELEN from HTFTP.c to www_tcp.h so it
can be used in HTTCP.c (Debian #140682).
* improved configure script checks for ncurses -TD
* correct description of XLOADIMAGE_COMMAND in lynx.cfg (report by Mats
Peterson <mats@alicja.dyns.cx>) -TD
* fix configure script so it does not compute basename of system mailer when
none was found. Add check in LYMail.c, LYPrint.c to avoid using system
mailer when it is not configured (report by Frederic L W Meunier) -TD
* update several po files (da.po, de.po, et.po, hu.po, sv.po, tr.po) from
http://www.iro.umontreal.ca/contrib/po/maint/lynx/
* correct logic in recent HTAnchor_findChildAndLink() changes around internal
links and fragments; avoid unneeded reallocations by using HTParseAnchor()
instead of HTParse() -LP
* trim some fat from HTML_start_element(), case HTML_A -LP
* add optimized string functions StrAllocCopy_extra() [and paired FREE_extra()]
which store string size and never shrink; for heavily reallocated strings in
temp objects. Used in SGML.c for value[] fields currently -LP
* in HTUtils.h, FREE macro was unsafe if happen before 'else' -LP
* modify HTParse() to escape any spaces which remain from LYLegitimizeHREF() or
other sources (report by Peter Rasmussen <plr@udgaard.com>) -TD
2002-12-18 (2.8.5dev.12)
* remove a check in LYMain.c for Cygwin's console, which does not work with
screen (report by Frederic L W Meunier) -TD
* undo line/pool logic, fixing a memory leak -LP
* changes proposed by Bela Lubkin, to optimize ALLOC_IN_POOL macro
substitution, pack bitfields in HTStyleChanges to make them more compact on
some systems -LP
* correct logic of do_check_recall(), broken in dev.9 cleanup of pathname
constants with LYIsDosDrive() (report by Frederic L W Meunier) -TD
* update makelynx.bat, built with slang configuration -TD
* turn on file-upload in makefile.msc -TD
2002-12-01 (2.8.5dev.11)
* fix a typo in changelog date -TD
* add project version & date to lynx.cfg -TD
* document xxx_PATH variables in lynx.cfg -TD
2002-11-11 (2.8.5dev.10)
* modify file-upload to provide content-type based on file-suffix. This is
needed to validate local html files with current the W3C validation service
webpage -TD
* modify file-upload to warn but permit the filename or file contents to be
missing (report by Clemens Fisher) -TD
* workaround for compiler bug in fix_httplike_urls() -BL
* change enumShowColor so SHOW_COLOR_NEVER is zero as in 2.8.3, which makes the
result from LYChoosePopup() match the enum values. This fixes a bug which
would make the slang configuration toggle back to color when accepting an
options screen (report by Sean McGuire <smcguire@soc.lib.md.us> and Carlton
Anderson) -TD
* add a null-pointer check in content_is_compressed() -TD
* in partial mode, load document with #fragment on the fly. Long awaited fix.
LYMainLoop_pageDisplay() now returns BOOL -LP
* calculate WWW_SOURCE once, it is now a constant, not a define -LP
* use malloc instead of calloc in several places, particularly in HTList
operations (each field initialized explicitely) -LP
* fix a few typos in samples/mailcap (Carlton Anderson
<canderson1776@yahoo.com>).
* ifdef'd default_fg and default_bg for PDCURSES to be 15, since that agrees
with lynx's use of color names, and works around a bug exposed by the
ASSUMED_COLORS change from 2.8.5dev.9 (report by DK) -TD
* simplify pretty-source code in SGML.c using PUTS(), put_pretty_entity() and
put_pretty_number() -TD
* refine S_attr test in SGML.c to make pretty-source code handle the case where
a blank precedes the '='. The misplaced markers made lynx omit newlines from
the pretty-source view (report by LP) -TD
* rewrote HTStat() to ensure that it does stat() for files on Windows -TD
* HTTCP.c patch to make DJGPP/Watt-32 non-blocking connect in HTDoConnect().
This allows pressing 'z' to abort connections. Removed extra _HTProgress()
for INET6; it overwrote previous progress message -GV, DK
* in SGML.c, element stack now use a pool of 10 elements to avoid most of
malloc/free calls -LP
* in HTParse(), use single alloca instead of three malloc/free pairs -LP
* in HTParse.c, avoid most strcasecomp calls in scan() - LP
* modify GridText.c to store lines, anchors, and forms in the same HText memory
pool as styles. This will optimize memory allocation/deallocation by 8Kb
units. The down side: lines in TRST mode will be stored twice. Some
structs are made a bit more compact -LP
* add DJGPP to SINGLE_USER_UNIX special cases -DK
* modify configure script to not strip the -g option from $CFLAGS if it was
present in the user's environment rather than autoconf adding it (report by
DK) -TD
* add --with-curses-dir configure script option -TD
* in SGMLFindTag, we translate string uppercase in-place and launch case
insensitive search, add SGMLFindUprTag() to cover the cases where the string
is readonly - LP, TD
* DJGPP build restored. MV_PATH was undefined long ago by mistake. Fix recent
DJGPP changes in HTTCP.c: move _resolve_hook few lines below, it will not
compile otherwise. Remove minor warnings -LP
* optimize parsing html with many relative links, href="#fragment" -
HTAnchor_findChildAndLink() and HTML_start_element(), case HTML_A: now avoid
significant overhead when link == HTInternalLink (e.g., resolving against
base, lots of reallocations, parent lookup, etc., all are useless). Two
functions affected. [HTAnchor.c, HTML.c]. The code works both with and
without DONT_TRACK_INTERNAL_LINKS symbol -LP
* optimize parsing of large html files - with thousands of anchors - LP
+ remove quadratic complexity from split_line() usage [GridText.c].
Because of some work with anchors on the last(=split) line,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -