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

140 Коммитов

Автор SHA1 Сообщение Дата
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
sspitzer%netscape.com 8ece75d962 better fix for #17597, r=mscott, a=chofmann.
instead of setting the action for the url, check if we have a channel listener.
this is a cleaner fix, and now the quoting back end doesn't need to know about
the nntp url.
1999-11-04 20:02:31 +00:00
sspitzer%netscape.com 661b08c9a6 fix for #17597. reply to a news article doesn't quote the body.
the problem was when we ran the nntp url to get the message we weren't
calling OnDataAvailabe() on the channel listener.  the reason is the channel
listener only got poked when ActionDisplayArticle was set as the action on
the nntp url.  but this wouldn't be the case when we got run from the Quoting backend.  I added a new action, and made sure to set it when running the url from the quoting back end, and then made sure the nntp backend did the right thing.

r=alecf, a=chofmann
1999-11-04 04:31:09 +00:00
sspitzer%netscape.com 603729cee3 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 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
briano%netscape.com 914bb2496e General cleanup. 1999-09-15 00:10:25 +00:00
sspitzer%netscape.com 25eef535da 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 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 5ab4168219 Add notion of news actions to the url. 1999-09-12 05:10:08 +00:00
sspitzer%netscape.com a46fde7e27 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 cc1e5a3129 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 bcf97a7ed1 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 0ac596d64f more fixage for build spankage. thank you sir, may I have another? 1999-08-25 06:35:01 +00:00
sspitzer%netscape.com 9958b443a4 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 7737e5fef5 cleanup some of the interfaces to make the service scriptable 1999-08-24 00:51:56 +00:00
mscott%netscape.com b236661949 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 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 b7a253cd7b remove these header files. all idl files for news, now! 1999-07-24 01:36:44 +00:00
sspitzer%netscape.com 5a6eb790af turn on the new idl files for the mac now. 1999-07-24 01:36:36 +00:00
sspitzer%netscape.com 612bd6cedd turn on new idl files for windows 1999-07-23 08:33:10 +00:00
sspitzer%netscape.com ebb4407005 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 fd962769fb removing const-ness, in prep for turning on new idl files. 1999-07-23 07:32:20 +00:00
sspitzer%netscape.com cb3365f4df not part of build, yet. one step closer to IDLifying all of news. 1999-07-23 06:26:09 +00:00
sspitzer%netscape.com 86ea591e5c adding this idl file. not part of the build yet. 1999-07-23 06:00:50 +00:00
sspitzer%netscape.com d035a95e75 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 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
sspitzer%netscape.com 94aeeb6a42 rework back end. remove crusty old embarassing hacks. still more to be done. 1999-06-24 20:24:35 +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
mscott%netscape.com 2856db3df6 Remove classid from the interface. We no longer inherit from nsIMsgMailNewsUrl. 1999-06-22 23:51:42 +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 e14bd52b50 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 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 dada2bda7f 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 ae0826e548 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 77f0e5e0ac remove unnecessary files, and fixup includes to avoid use of %{C++ 1999-06-09 00:34:51 +00:00
sspitzer%netscape.com 6e2a3cc01a 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 8fe6c72078 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 3d0e344c29 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 f0e5193813 initial work to get news CANCEL working 1999-06-05 22:11:38 +00:00
sspitzer%netscape.com 697ea1685a 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 7af9dfbca4 checked in header file is now the same as the generated makefile 1999-06-03 22:06:57 +00:00
warren%netscape.com 447b069ddb IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). 1999-06-03 21:50:47 +00:00
sspitzer%netscape.com 4be3dd872f 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 c17ef8f873 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 19881b992e 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 94b90dc0da not part of the build, yet. 1999-06-03 02:07:40 +00:00
sspitzer%netscape.com 0a5fa1c4a4 the MODULE is news, not mailnews. 1999-06-02 03:47:39 +00:00
sspitzer%netscape.com 4a952900e3 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