Commit Graph

707 Commits

Author SHA1 Message Date
sspitzer%netscape.com
f8190be120 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.


git-svn-id: svn://10.0.0.236/trunk@47657 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:29:30 +00:00
nhotta%netscape.com
f2361bde9d Bug 8865, hooked up entity converter.
git-svn-id: svn://10.0.0.236/trunk@47619 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 19:32:32 +00:00
jefft%netscape.com
785ff12695 fixed bug 13574 -- use stream converter instead of temp file for reply quoting
git-svn-id: svn://10.0.0.236/trunk@47498 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 02:13:04 +00:00
briano%netscape.com
2f7e18a827 General cleanup.
git-svn-id: svn://10.0.0.236/trunk@47430 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:05:06 +00:00
alecf%netscape.com
c19dc56a1b build smtp server on windows
git-svn-id: svn://10.0.0.236/trunk@47310 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 08:22:50 +00:00
alecf%netscape.com
4fac3f2f94 fix solaris bustage
git-svn-id: svn://10.0.0.236/trunk@47309 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 08:19:54 +00:00
alecf%netscape.com
185dbfd60d oops, forgot constructor/destructor
git-svn-id: svn://10.0.0.236/trunk@47308 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 08:16:21 +00:00
alecf%netscape.com
a12a31ef78 ok, finally write this thing out to prefs
git-svn-id: svn://10.0.0.236/trunk@47305 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 07:58:04 +00:00
alecf%netscape.com
224d59394a unify server creation like the account manager
git-svn-id: svn://10.0.0.236/trunk@47304 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 07:15:21 +00:00
alecf%netscape.com
8da5943000 support add/removal of SMTP servers
git-svn-id: svn://10.0.0.236/trunk@47302 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 07:03:47 +00:00
alecf%netscape.com
8e1f15a95d add new nsSmtpServer/etc to the build
git-svn-id: svn://10.0.0.236/trunk@47277 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 04:22:09 +00:00
bienvenu%netscape.com
910b8a999f break out UpdateFolder method from GetMessages
git-svn-id: svn://10.0.0.236/trunk@47272 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 04:02:34 +00:00
jefft%netscape.com
690f592641 fixed bug 13674 -- reply quotes wrong message for news and imap messages
git-svn-id: svn://10.0.0.236/trunk@47155 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 20:26:04 +00:00
cls%seawood.org
fc5617f6c4 Fix my bustage using -D_BSD_SOURCE
git-svn-id: svn://10.0.0.236/trunk@47067 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 17:15:57 +00:00
nhotta%netscape.com
45ff595b2f Bug #10940, when converting from unicode skip unencodable char instead of abort conversion.
git-svn-id: svn://10.0.0.236/trunk@46929 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 03:45:07 +00:00
jefft%netscape.com
fe23170210 fixed bug 12459 -- cannot use delete for error recovery instead should use AddRef() and Release()
git-svn-id: svn://10.0.0.236/trunk@46916 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 01:44:16 +00:00
ducarroz%netscape.com
ae058878c9 Add a way to extract headers during parsing of a message and give them back to the caller
git-svn-id: svn://10.0.0.236/trunk@46812 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 18:57:03 +00:00
warren%netscape.com
de60d2685c 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.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
alecf%netscape.com
a1e1dbb0d9 whoops, pass newstr to strtok, not serverList (no wonder it wasn't loading anything)
git-svn-id: svn://10.0.0.236/trunk@46315 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 05:50:17 +00:00
alecf%netscape.com
63311f223e add code for loading SMTP servers from the prefs
git-svn-id: svn://10.0.0.236/trunk@46311 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 05:41:58 +00:00
alecf%netscape.com
acf0d5dba9 fix some warnings and comments
git-svn-id: svn://10.0.0.236/trunk@46289 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:44:11 +00:00
bruce%cybersight.com
658e6af7cb Use nsCRT::free() on result of nsEscape().
git-svn-id: svn://10.0.0.236/trunk@46015 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 17:32:36 +00:00
ducarroz%netscape.com
947ace5c9f Put "<name> wrote:" at the beginning of a reply instance of "--- Original Message ---". Last part of bug 12080
git-svn-id: svn://10.0.0.236/trunk@45936 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:13:36 +00:00
mscott%netscape.com
d0090e1425 fix up class id stuff, use nsIstreamConverter instead of nsIstreamConverter2
git-svn-id: svn://10.0.0.236/trunk@45926 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:08:44 +00:00
cata%netscape.com
de75aa4934 Method name change.
git-svn-id: svn://10.0.0.236/trunk@45718 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 20:01:26 +00:00
cata%netscape.com
82b73ce0cc Fixing build warnings. Step 2: switch to use new method from the interface.
git-svn-id: svn://10.0.0.236/trunk@45546 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 22:50:50 +00:00
sfraser%netscape.com
b27319d639 include stdio.h using system paths.
git-svn-id: svn://10.0.0.236/trunk@45520 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:28:07 +00:00
mscott%netscape.com
bbf10d80ef There were a couple methods in here which were trying to figure out a temp directory to use for things. Use
nsSpecialDirectory::OS_TemporaryDirectory instead.


git-svn-id: svn://10.0.0.236/trunk@45427 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:09:48 +00:00
mscott%netscape.com
beb13b9a38 Bug #8076/9836 --> use specialDirectory::OS_TemporaryDirectory to determine the directory to write tempMessage.eml out to.
git-svn-id: svn://10.0.0.236/trunk@45426 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:09:07 +00:00
alecf%netscape.com
31b2fa51a9 remove some warnings for rhp
git-svn-id: svn://10.0.0.236/trunk@45392 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:00:06 +00:00
ducarroz%netscape.com
587426cdad Send full name of sender, fix bug 10500
git-svn-id: svn://10.0.0.236/trunk@45374 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:50:07 +00:00
alecf%netscape.com
fd519c8d23 more exorcism of abort()
git-svn-id: svn://10.0.0.236/trunk@45311 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 06:36:23 +00:00
alecf%netscape.com
48c230a041 fix unused variable
git-svn-id: svn://10.0.0.236/trunk@45309 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 06:29:53 +00:00
alecf%netscape.com
dae90f169c do not EVER abort(). this is rediculous.
git-svn-id: svn://10.0.0.236/trunk@45308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 06:23:12 +00:00
alecf%netscape.com
498afdede6 fix leak of e-mail address
git-svn-id: svn://10.0.0.236/trunk@45307 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 06:17:02 +00:00
alecf%netscape.com
6b694b97be fix leak
git-svn-id: svn://10.0.0.236/trunk@45306 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 06:16:21 +00:00
ducarroz%netscape.com
7cea9a6fae Fix VC5 bustage
git-svn-id: svn://10.0.0.236/trunk@44937 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 22:32:19 +00:00
ducarroz%netscape.com
6f06546c0d Add way to quote a message without headers, just quote the body.
git-svn-id: svn://10.0.0.236/trunk@44901 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:18:57 +00:00
mscott%netscape.com
cf229dea14 Bug #7811 --> nsISmtpService is now expressed in idl and several of the interfaces changed.
git-svn-id: svn://10.0.0.236/trunk@44892 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:12:46 +00:00
rpotts%netscape.com
c1eed107d9 M9 BRANCH landing...
git-svn-id: svn://10.0.0.236/trunk@44701 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 22:45:55 +00:00
bienvenu%netscape.com
f3d8c61a0f replace nsIEnumerator with nsISimpleEnumerator
git-svn-id: svn://10.0.0.236/trunk@44641 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 04:41:07 +00:00
sfraser%netscape.com
2c0ea5d602 Remove an errant semicolon
git-svn-id: svn://10.0.0.236/trunk@44522 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:28:39 +00:00
brendan%mozilla.org
d87f3f7b04 Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).


git-svn-id: svn://10.0.0.236/trunk@44456 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 05:26:25 +00:00
mscott%netscape.com
bb83fe7445 Bug #7811 --> turn nsISmtpUrl.h into a fully scriptable IDL file. This involved changing several apis in the interface.
git-svn-id: svn://10.0.0.236/trunk@44378 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 22:15:52 +00:00
akkana%netscape.com
131d318ad4 Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.


git-svn-id: svn://10.0.0.236/trunk@44308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:30:19 +00:00
alecf%netscape.com
08c4cb2a02 fix solaris bustage
git-svn-id: svn://10.0.0.236/trunk@44226 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 03:06:07 +00:00
alecf%netscape.com
0a1b65a323 fix a minor leak and convert nsIMsgIncomingServer to a nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@44178 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 00:31:33 +00:00
mccabe%netscape.com
afea99f4a0 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.


git-svn-id: svn://10.0.0.236/trunk@44096 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 23:52:07 +00:00
mscott%netscape.com
65a57de1f9 Remove unnecessary windows.h include which was used to get InterlockedIncrement for threadsafe interfaces. I fixed the
implementation of threadsafe addref and release for windows to notrequire it so people no longer need to include windows.h whenever
you are using a threadsafe interface.


git-svn-id: svn://10.0.0.236/trunk@44094 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 23:03:27 +00:00
mccabe%netscape.com
0ee0c94bc4 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.


git-svn-id: svn://10.0.0.236/trunk@44059 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 13:26:18 +00:00