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

665 Коммитов

Автор SHA1 Сообщение Дата
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
bienvenu%netscape.com cbb6e71f55 pass folder in as listener to getnewnews 1999-09-15 05:40:39 +00:00
bienvenu%netscape.com 6ed63b2dd7 do folder loaded notification for news 1999-09-15 04:04:44 +00:00
ramiro%netscape.com e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
jefft%netscape.com a46c88cc36 fixed bug 13574 -- use stream converter instead of temp file for reply quoting 1999-09-15 02:13:04 +00:00
briano%netscape.com b849f37e00 General cleanup. 1999-09-15 00:10:25 +00:00
sspitzer%netscape.com 829bf9dd2f adding a string to match the addition state. we need this, or we crash when DEBUG_NEWS is set. 1999-09-14 21:24:44 +00:00
sspitzer%netscape.com 6e6ad7cc7c mail.root.nntp wasn't getting set when I called SetDefaultLocalPath() on a nntp incoming server because QueryInterface for nsNttpService was not fixed to support nsIMsgProtocolInfo. use the cool macro and the problem goes away. woo-hoo! 1999-09-14 09:34:23 +00:00
sspitzer%netscape.com 5ed079462d my mistake, news is correct in this case. this case. 1999-09-14 09:14:22 +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
sspitzer%netscape.com f7e2446777 the type is nntp, not news. this was preventing me from setting mail.root.nntp 1999-09-14 08:57:34 +00:00
sspitzer%netscape.com 532077a63a when you get the default local path, and it wasn't set, and you make one up, you need to set it so the pref will get set. 1999-09-14 08:32:58 +00:00
bienvenu%netscape.com 3456144dd5 break out UpdateFolder method from GetMessages 1999-09-14 04:02:34 +00:00
sspitzer%netscape.com b6a9d0a97f make the defaultLocalPath attribute of the nsIMsgProtocolInfo interface NOT read only. when we do pref migration, I have to call the setter (which will set the pref for me) 1999-09-14 03:16:02 +00:00
alecf%netscape.com 6932d80141 register news protocol info 1999-09-14 00:34:02 +00:00
alecf%netscape.com f9e4ffdaf0 implement nsIMsgProtocolInfo in news 1999-09-13 23:53:33 +00:00
cls%seawood.org a87b20551f Fix my bustage using -D_BSD_SOURCE 1999-09-12 17:15:57 +00:00
bruce%cybersight.com 3d6a5579ca Add newline to end of file to fix HPUX bustage. 1999-09-12 16:34:14 +00:00
mscott%netscape.com 50e5ac4e1b Bug #10933 displaying a message no longer involves spooling to a temp file! *yeah*
unfify copy and display code.
add save mesage to disk support.
1999-09-12 05:12:30 +00:00
mscott%netscape.com d49399016b displaying a message no longer involves spooling to a temp file! *yeah*
Run display article urls through the webshell.
unify copy and display article code.
1999-09-12 05:11:45 +00:00
mscott%netscape.com 3a0b703487 news url action work. Also added save message to disk implementation. 1999-09-12 05:11:16 +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
warren%netscape.com 40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +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
arielb%rice.edu 061c211972 spamming mailnews/news with NS_DECL_NSIFOO's, voucher mccabe 1999-09-09 07:44:24 +00:00
sspitzer%netscape.com e249df99ca bulletproofing fixes for #12712, crash when your directory pref for a news server points a non-existant directory. the second half of this fix is to make sure it always exists. that fix is coming soon. 1999-09-09 04:37:11 +00:00
alecf%netscape.com 22703b41c3 change nsIMsgIncomingServer->SetLocalPath/GetLocalPath to be an nsIFileSpec instead of a string 1999-09-09 04:11:38 +00:00
colin%theblakes.com 956aa62e1d Add -lrdfutil_s to EXTRA_DSO_LDOPTS 1999-09-08 18:57:45 +00:00
alecf%netscape.com 20ea43da36 switch to using PR_FALSE/PR_TRUE and some nsCRT string routines 1999-09-08 03:55:56 +00:00
mscott%netscape.com 3161ca1600 rename Cancel() to DoCancel so we don't over-write method from base class (which we will be doing
when the protocol inherits from nsIChannel).
1999-09-02 21:06:18 +00:00
briano%netscape.com 5469ae0334 Fix for objdir builds. 1999-09-02 02:44:15 +00:00
mscott%netscape.com 3110bc82ef Bug #8076/9836 --> use specialDirectory::OS_TemporaryDirectory to determine the directory to write tempMessage.eml out to. 1999-09-01 04:09:07 +00:00
ramiro%netscape.com 18b5e04d18 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
sspitzer%netscape.com 29a4df5a10 code clean up. fix bug #8362, pop up server error message as alerts. since #7770 is fixed, remove the ifdefs. 1999-08-30 22:31:45 +00:00
putterman%netscape.com 82d604a5a0 msgbaseutil.dll isn't 8.3 so change to msgbsutl.dll 1999-08-30 22:17:13 +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 4cbf66f6c3 turn off my debugging noise 1999-08-28 17:26:13 +00:00
sspitzer%netscape.com 804a7e88a4 fix for #12595, #12596, #12570, and #10672. migrate some more 4.x prefs, and fix some crashers, and clear 4.x prefs after migrating. 1999-08-27 06:16:14 +00:00
rpotts%netscape.com 0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
bienvenu%netscape.com 922a55a1b7 replace nsIEnumerator with nsISimpleEnumerator 1999-08-26 04:41:07 +00:00
sspitzer%netscape.com f9f7f6c363 fix for #12464. initialize memory. fixes news on mac and windows. 1999-08-25 19:03:26 +00:00
ramiro%netscape.com 7ee0e69965 Cleanup zlib cruft. 1999-08-25 14:39:53 +00:00
ramiro%netscape.com 5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +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 767d06c436 fix logic and add a cast to fix #12435 1999-08-25 06:07:44 +00:00
brendan%mozilla.org defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +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
ramiro%netscape.com ec21b9ecbc Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00