of a nsFilePath. this means nsINNTPNewsgroupPost is fully scriptable.
it also allowed me to clean up a lot of code.
most of these changes are results of this change.
add notifyOn, maxArticles, and markOldRead attributes to nsINntpIncomingServer
these correspond to "news.max_articles","news.mark_old_read", and "news.notify.o
n" prefs in 4.x. (in 5.0, they are on a per server basis now.)
rewrite nsNNTPProtocol.cpp to use these attributes, instead of the old 4.x globa
l prefs.
fix warnings.
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].
This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.
As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout. As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
currently, you can only post to the server specified by the
"network.hosts.nntp_server" pref. by default, the value of this pref "news".
more work needs to be done to complete this.
fix for #6655