[Webnews] New bug fixes & speed improvements

Brian R. Gaeke brg@sartre.dgate.org
Tue, 20 Nov 2001 02:53:02 -0800


Hello to the WebNews list,

I have checked in some bug fixes to, and improvements over, the WebNews
1.2.1 release.  You can download them using anonymous cvs; for the
procedure for this please see
	http://sartre.dgate.org/webnews/cvs.shtml
or you may download a patch (24 KBytes) from
	http://sartre.dgate.org/webnews/patch-1-2-2-beta.txt

If anyone is interested in checking them out, please let me know how
well the new version works for you.

The NEWS file's entries are appended. This version will be released
as 1.2.2 if nothing goes horribly wrong.

-Brian

------------------------------------------------------------------------------

Make browser rendering of UI elements slightly cleaner, by hardcoding
the WIDTH and HEIGHT attributes of IMG tags. The ideal solution would
be to use a Perl png library to read the widths and heights from the
files on disk.

Fixed a perl -w warning.

Probably fixed bug involving race conditions between different WebNews
processes which want to modify the same .newsrc or the active file
at the same time. As a result, WebNews is only guaranteed to work if Perl's
"flock" is available.

Speed improvements:
	Only open newsrc when it is needed; only save it when it is modified.
	Only open connection to the news server when it is needed.
	Only load the active file when changing subscriptions.

Fixed some little bugs involving the interaction between the posting form,
its Submit button, and the Return to Article button.

Add support for skipping the loading-in of the newsrc, the starting-up of
the NNTP connection, and the loading-in of the active file, in many cases.

WebNews now makes sure to send the "MODE READER" command for news servers
that require it.

Correct plurals in article counts in the group index: If there is only
one article, it now says "1 article", not "1 articles."