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

139 Коммитов

Автор SHA1 Сообщение Дата
sspitzer%netscape.com 8baa5349c4 add support for the the markOldRead, notifySize, notifyOn attributes of nsINntpIncomingServer. make sure we migrate these prefs, too. 1999-09-16 07:01:17 +00:00
sspitzer%netscape.com 8ee260f294 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
briano%netscape.com b849f37e00 General cleanup. 1999-09-15 00:10:25 +00:00
sspitzer%netscape.com 80d5ac54f4 nsIMsgIncomingServer needs a SetDefaultLocalPath(). we use this when migrating prefs.
add the newsrcRootPath attribute to the nsINntpIncomingServer interface.
implement Set/GetNewsrcRootPath(), similar to how Set/GetDefaultLocalPath() are implemented.

rewrite nsMsgAccountManager to use
Set/GetDefaultLocalPath() and Set/GetNewsrcRootPath()

rename some methods in nsMsgAccountManager for correctness.
1999-09-14 09:03:40 +00:00
mscott%netscape.com ed77e4f208 Remove run news url method which shouldn't be exposed in the service. 1999-09-12 05:10:49 +00:00
mscott%netscape.com 0596f3245a Add notion of news actions to the url. 1999-09-12 05:10:08 +00:00
sspitzer%netscape.com 8457354b34 do some clean up in preperation of migrating the fcc prefs. (for bug #10583)
change the newsrcFilePath attribute to be a nsIFileSpec, instead of a string.(bug #13306)
add code to do hashing of hostname. [not turned on yet].  (for bug #13480)
remove the obsolete GetRootFolderPath() code from the incoming servers.
1999-09-09 21:17:32 +00:00
sspitzer%netscape.com 7f50fd738b initial pass at hooking up news to the progress bar and status area. more to be done here. 1999-08-28 17:29:15 +00:00
sspitzer%netscape.com 71d5f558d2 revert by build breakage checkin. brendan fixed the xpidl compiler. I hadn't
picked up the changes yet.  interCaps in IDL and JS, and InterCaps in C++.
1999-08-25 07:17:21 +00:00
sspitzer%netscape.com e8ccfec4d8 more fixage for build spankage. thank you sir, may I have another? 1999-08-25 06:35:01 +00:00
sspitzer%netscape.com 3932f95759 changes to get a news server to work with a userName. fixes bug #12407. 1999-08-24 22:39:40 +00:00
mscott%netscape.com a5f3469989 cleanup some of the interfaces to make the service scriptable 1999-08-24 00:51:56 +00:00
mscott%netscape.com 8fc13baa57 Add SetUserName support which is going to be needed in order to figure out the server for a url. 1999-08-10 18:12:37 +00:00
mccabe%netscape.com 2a403483de 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 4dfdb3d910 remove these header files. all idl files for news, now! 1999-07-24 01:36:44 +00:00
sspitzer%netscape.com 34d5e2e364 turn on the new idl files for the mac now. 1999-07-24 01:36:36 +00:00
sspitzer%netscape.com 7cd4f9ea86 turn on new idl files for windows 1999-07-23 08:33:10 +00:00
sspitzer%netscape.com 199fafc79f turn on the new news idl files for unix. I'll do windows and mac tomorrow. 1999-07-23 07:32:48 +00:00
sspitzer%netscape.com 7087d52b52 removing const-ness, in prep for turning on new idl files. 1999-07-23 07:32:20 +00:00
sspitzer%netscape.com 89a5320023 not part of build, yet. one step closer to IDLifying all of news. 1999-07-23 06:26:09 +00:00
sspitzer%netscape.com 170e0af68d adding this idl file. not part of the build yet. 1999-07-23 06:00:50 +00:00
sspitzer%netscape.com 1402dd8bed changes to automatically migrate 4.x mail prefs to 5.0 prefs. news doesn't migrate gracefully yet. also, changes to newsrc.file pref and the directory path differently for news. 1999-07-13 19:23:40 +00:00
sspitzer%netscape.com 3575210d93 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
sspitzer%netscape.com b53dbdd38a rework back end. remove crusty old embarassing hacks. still more to be done. 1999-06-24 20:24:35 +00:00
warren%netscape.com 1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
mscott%netscape.com 63de37c808 Remove classid from the interface. We no longer inherit from nsIMsgMailNewsUrl. 1999-06-22 23:51:42 +00:00
sspitzer%netscape.com b2f9c1f9e2 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 88a1812700 change to get the message ID and the message number to show up in the message pane
when the user displays a message that has been cancelled.
1999-06-15 05:55:36 +00:00
sspitzer%netscape.com 197b332044 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 80afae942f 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 149919afe7 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 f9f89bb4b1 more fix for SunOS and other UNIX platform build bustage.
I don't need to include the .idl file since I'm not deriving from it.
but as I side effect, I need to add the include to the other .h file.
1999-06-09 05:42:57 +00:00
sspitzer%netscape.com e2c451ba68 fix for build bustage on SunOS and other unix platforms..(but curiously, not
windows, mac, or linux.)

since we aren't deriving from these interfaces, I only need to declare
them as interfaces.  I don't have to include the idl files.
1999-06-09 05:22:30 +00:00
alecf%netscape.com 0f24751438 remove unnecessary files, and fixup includes to avoid use of %{C++ 1999-06-09 00:34:51 +00:00
sspitzer%netscape.com 614b25751b giant cleanup of UNIX mail / news Makefiles. properly use MODULE, and
name things so that Windows and UNIX match.  (a big checkin for Windows
will follow shortly.)
1999-06-08 02:17:24 +00:00
mscott%netscape.com 0a46d541ec Unification of LoadUrl signature to remove some warnings on Linux & Mac. (this is just the first step). 1999-06-07 22:32:10 +00:00
mscott%netscape.com 266ed15e24 Part of makefile clean up for windows. Changes include removing old cruft, giving each
component it's own module name (this helps clear up problems with the xp connect type lib
name for each component), making sure libs built in src directories have _s suffix as
they are static libraries and unifying component names with "msg" prefixes.
Also removed extraneous CPP_SRCS info.
1999-06-07 06:52:45 +00:00
sspitzer%netscape.com 6c0ba6dcf1 initial work to get news CANCEL working 1999-06-05 22:11:38 +00:00
sspitzer%netscape.com 05fc051f66 either it is an XPIDL source or we EXPORT it. not both. thanks for warren
for finding this.
1999-06-03 22:30:19 +00:00
sspitzer%netscape.com 8469add17a checked in header file is now the same as the generated makefile 1999-06-03 22:06:57 +00:00
warren%netscape.com cbbfa208f8 IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). 1999-06-03 21:50:47 +00:00
sspitzer%netscape.com af122ea829 more changes for moving creation of objects to the component manager and the news factory. a few nsCOMPtr changes. stop checking nsCOMPtrs against nsnull 1999-06-03 18:09:54 +00:00
sspitzer%netscape.com 7762d667fd fix bustage on mac.
mac exposed the circular include problem I was having.  (windows and linux
did not.)

also, remove self include nsINNTPNewsgroupList.idl
1999-06-03 03:16:36 +00:00
sspitzer%netscape.com 1032cde167 a whole bunch of changes.
No more NS_New* for the news objects.  Now you must go through the component
manager and use the news factory.

fixes all over to deal with this.

Fix the MODULE.  It should be news, not mailnews or nntp.

more scriptability (XPIDL) changes for news.
1999-06-03 02:24:08 +00:00
sspitzer%netscape.com 59bba0f887 not part of the build, yet. 1999-06-03 02:07:40 +00:00
sspitzer%netscape.com fbcd54feba the MODULE is news, not mailnews. 1999-06-02 03:47:39 +00:00
sspitzer%netscape.com cddd9eeb5f fix for #7420. this is the news module, not the mailnews module (which is corresponds to base). cut and paste error 1999-06-02 02:06:36 +00:00
ducarroz%netscape.com 7161234e94 Don't export header files that are generated by the XPIDL compiler. Part of mailnews Mac XPIDL landing. 1999-06-02 00:07:21 +00:00
sspitzer%netscape.com 7b5fb13be3 XPIDL-ify nsINntpService 1999-05-30 00:13:05 +00:00
sspitzer%netscape.com c47d6cb6d3 XPIDL-ify nsINntpService. use "scriptable" instead of "object" in the news idl files 1999-05-30 00:12:41 +00:00