Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
sspitzer%netscape.com 95a49fdeeb make the postMessageFile in the nsINNTPNewsgroupPost be a nsIFileSpec, instead
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.
1999-09-15 21:29:30 +00:00
mscott%netscape.com ec94f2c459 Remove run news url method which shouldn't be exposed in the service. 1999-09-12 05:10:49 +00:00
mscott%netscape.com 7737e5fef5 cleanup some of the interfaces to make the service scriptable 1999-08-24 00:51:56 +00:00
mccabe%netscape.com d6e7410f31 Changes to the xpidl compiler -
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.
1999-08-10 12:18:01 +00:00
sspitzer%netscape.com b0755b09a8 changes to get more sophisticated newsgroup addressing to work. thanks to rhp for the backend work. also checking in some xul / js to test this. 1999-06-29 05:04:17 +00:00
warren%netscape.com 23864df5e3 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
sspitzer%netscape.com 8292b9a734 clean up the interfaces I'll need to remove the message from the db after
the user hits cancel.  add newlines to ends of files.  remove old bogus code.
1999-06-16 07:00:47 +00:00
sspitzer%netscape.com 3530a2095f changes to get news cancel working. more to be done, but the basics of
news cancel works for now.
1999-06-13 17:14:05 +00:00
sspitzer%netscape.com 9f14911272 initial work to make posting to any news host.
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
1999-06-12 18:10:58 +00:00
sspitzer%netscape.com d5d2171a10 nsINNTPProtocol.h is going away, since it is not being used.
the only thing that uses nsNNTPProtocol is nsNntpService.
remove it from the news factory.

changes to get mark message read on display working.
1999-06-10 05:39:09 +00:00
sspitzer%netscape.com f0e5193813 initial work to get news CANCEL working 1999-06-05 22:11:38 +00:00
sspitzer%netscape.com 8c8dc292af XPIDL-ify nsINntpService 1999-05-30 00:13:05 +00:00