Commit Graph

885 Commits

Author SHA1 Message Date
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
alecf%netscape.com
b22a966f53 fix GetUsername to return the right value 1999-08-24 08:12:23 +00:00
alecf%netscape.com
962c56ab3e add a helper routine to get the Username out of the news URI (will eventually go away) 1999-08-24 08:10:59 +00:00
mscott%netscape.com
1a47c7dd01 nsString(eOneByte) --> nsCString nsString(eTwoByte) --> nsString, nsString2 --> nsString changes 1999-08-24 00:52:36 +00:00
mscott%netscape.com
a5f3469989 cleanup some of the interfaces to make the service scriptable 1999-08-24 00:51:56 +00:00
mccabe%netscape.com
a900e17559 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.
1999-08-22 23:52:07 +00:00
mscott%netscape.com
5f44addf6a 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 not require it so people no longer
need to include windows.h whenever you are using a threadsafe interface.

return NS_ERROR_NOT_IMPLEMENTED for some of the channel interface implementations

Use NS_GET_IID.
1999-08-22 22:55:47 +00:00
ramiro%netscape.com
56b62f3790 Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
ramiro%netscape.com
2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
mscott%netscape.com
adf0904760 Bug #11686 --> remove comparisons of an unsigned int to something < 0 because that condition could never happen. 1999-08-20 02:25:59 +00:00
sspitzer%netscape.com
171befab8e the other half of my checkin. 1999-08-19 22:13:56 +00:00
sspitzer%netscape.com
c3b3d2424e clean up the code a bit. 1999-08-19 22:01:57 +00:00
sspitzer%netscape.com
e774df68c5 fix #8515, #11815. I was failing to send QUIT to the nntp server. this would leave all nntp connections open. eventually the nntp server would stop respond to us. (probably a denial-of-service prevention mechanism). the second side effect is the throbber would spin and spin. now, both are fixed. eventually, I'll need to implement a nntp connection pool...but that's not necessary yet. 1999-08-19 07:08:19 +00:00
bienvenu%netscape.com
b0429b043c add RemoveSubFolder for Jefft 1999-08-18 05:35:54 +00:00
ramiro%netscape.com
6eeeaf7730 Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com
ee33c47ded Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com
04349cdd68 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
warren%netscape.com
d944d70a84 Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
sspitzer%netscape.com
0a8bb17086 nsString(eOneByte) -> nsCString work 1999-08-10 22:45:44 +00:00
sspitzer%netscape.com
cac29eecd9 nsString(eOneByte) -> nsCString work. Get the prompts / alert code building again. 1999-08-10 22:45:31 +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
sspitzer%netscape.com
630f570a32 here's an idea: return the error. 1999-08-10 18:06:02 +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
28790a7662 fix #10591. get news posting to work again. 1999-08-10 02:21:25 +00:00
alecf%netscape.com
1fb958f7ba news doesn't need it's own nsNewsURI2Name anymore 1999-08-10 01:01:00 +00:00
alecf%netscape.com
1605deb0ad news doesn't need to link against JS 1999-08-10 00:48:47 +00:00
alecf%netscape.com
586ee5c8c5 news doesn't need its own implementation of GetName 1999-08-10 00:48:09 +00:00
bienvenu%netscape.com
61dc733433 remove nsString2 1999-08-07 16:28:43 +00:00
bienvenu%netscape.com
3653ea8d06 get rid of nsString2 1999-08-07 02:32:02 +00:00
arielb%netscape.com
88fb6f5c7f removing reference to lcaps in makefile.in 1999-08-07 01:46:01 +00:00
bienvenu%netscape.com
bf989a5b90 add explicit includes to prepare for idl cleanup 1999-08-06 17:45:38 +00:00
sspitzer%netscape.com
fdcbe50278 use /tmp instead of /usr/tmp. /tmp should always be there, where /usr/tmp will not be. eventually, this will go away anyways. 1999-08-05 22:43:15 +00:00
mscott%netscape.com
16f3cd4cc3 Changes for:
nsString(eOneByte) --> nsCString
nsString(eTwoByte) nsString
nsString2 --> nsString
1999-08-05 04:28:28 +00:00
sspitzer%netscape.com
de90d57b26 fix warnings. 1999-08-03 20:47:52 +00:00
sspitzer%netscape.com
8035a9d87c turn of my debugging printfs. 1999-07-31 19:07:05 +00:00
briano%netscape.com
0212559fff Added NSPR_LIBS so it the shared lib would build on IRIX. 1999-07-30 23:36:14 +00:00
rpotts%netscape.com
7fa9608d2e Fixed crash when clicking on news: URLs... 1999-07-29 21:35:14 +00:00
mscott%netscape.com
01ab699db6 Landing the MailNews_Necko_BRANCH. These are the changes that will enable mailnews to run with necko. 1999-07-29 00:42:25 +00:00
briano%netscape.com
007ea62765 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
sspitzer%netscape.com
10ddce94f7 fix solaris bustage. 1999-07-26 04:03:24 +00:00
rickg%netscape.com
418cac6b88 replaced call to deprecated nsString API 1999-07-26 01:01:10 +00:00
sspitzer%netscape.com
b7169a4501 fix for #9896. make nsMsgLineBuffer work for buffers that use CR, LF, and CRLF. (before, only CRLF and LF worked.) the mac uses CR, and we'd lose the last line of the newsrc file. 1999-07-24 18:15:19 +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
0e4f0c1ce2 fix assertion on post. remove crufty code. 1999-07-22 21:33:49 +00:00
sspitzer%netscape.com
09daaf1df5 clean up my #defines. wrap another printf with #ifdef DEBUG_NEWS 1999-07-22 05:05:28 +00:00
sspitzer%netscape.com
366eb415fb changes to support News migration from 4.x. Right now, only works on Windows. Mac and UNIX next. 1999-07-21 05:15:44 +00:00
sspitzer%netscape.com
d52fce4474 here's an idea: spell messenger correctly in the PROG IDS. 1999-07-20 04:04:09 +00:00
sspitzer%netscape.com
de6ef74bca get my test app to work with hyatt's xul changes. (window is now a box). remove the do it button. now it works when you hit return. 1999-07-19 20:39:47 +00:00
rickg%netscape.com
23b232d248 switch to faster string search API 1999-07-19 03:29:56 +00:00
jefft%netscape.com
5f5eabc97c more on uber copy service - enable move/copy messages from news to pop3 & imap4, from imap4 to imap4, from imap4 to pop3 1999-07-18 22:33:25 +00:00
ramiro%netscape.com
fda4120340 Step 3 of cleaning up link time toolkit dependencies. Name the timer libs
according to the toolkit they match.  Also set the damn name in one place to
make it easy to change in the future.
1999-07-17 23:52:12 +00:00
bienvenu%netscape.com
7d4724fe66 more work on folder cache 1999-07-17 20:33:15 +00:00
sspitzer%netscape.com
d9e90ad858 more #define clean up 1999-07-17 19:08:20 +00:00
sspitzer%netscape.com
76b5b5310b clean up #defines 1999-07-17 18:32:39 +00:00
sspitzer%netscape.com
4aed0216c8 fix warnings 1999-07-17 18:32:18 +00:00
ramiro%netscape.com
a09ea8b7ca Landing timer move on unix. 1999-07-17 14:22:51 +00:00
sspitzer%netscape.com
c204719c91 add some debugging printfs. cache if the folder is a host or not. no need to parse this every time. 1999-07-16 06:23:24 +00:00
sspitzer%netscape.com
b7e161ce37 code clean up. do a GetNewMessages() in GetMessages() so that when you select a newsgroup 1999-07-16 05:39:07 +00:00
sspitzer%netscape.com
13f816a9f1 fix for #9761. when doing the client-side cancel check, compare against all the identities. 1999-07-15 05:44:34 +00:00
jefft%netscape.com
e265144874 fixed minor variable not initialized problem 1999-07-13 20:15:45 +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
e1dca8ae38 testing the PostMessage interface of nsINntpService. this isn't complete yet. 1999-07-13 18:55:29 +00:00
bienvenu%netscape.com
9c9d4be83b changes for msgdb idl 1999-07-13 18:52:56 +00:00
bienvenu%netscape.com
2b31f9e8da change db open for idl 1999-07-13 18:45:54 +00:00
rhp%netscape.com
e4c1bf272c Compose back end cleanup 1999-07-13 18:38:36 +00:00
putterman%netscape.com
6f9a292bc7 Fix nsCOMPtr problem. 1999-07-07 05:34:21 +00:00
ramiro%netscape.com
5cdb03367b Define the toolkit flags in one place an reuse that. Hopefully this will
put an end to the cut-n-paste insanity.
1999-07-07 04:38:18 +00:00
bienvenu%netscape.com
09a5217674 work around 9306, unable to load more than one message 1999-07-07 04:01:38 +00:00
sspitzer%netscape.com
9f2956a994 more tests. 1999-07-06 23:47:10 +00:00
sspitzer%netscape.com
eaf77983a5 return and error if we are trying to post to ldap:/ or http:/ or something like that. 1999-07-06 23:45:44 +00:00
sspitzer%netscape.com
0920387097 changes to support the news pretty name abbreviation feature.
not turn on yet.
thanks to Oleg Rekutin <rekusha@asan.com> for contributing this code.
1999-07-06 23:06:42 +00:00
sspitzer%netscape.com
52bbd20ff4 resurrect nntpTest. a lot left to be done. check back soon. 1999-07-06 22:59:57 +00:00
dveditz%netscape.com
d3f47f37f5 makefile cleanups 1999-07-02 13:40:18 +00:00
ramiro%netscape.com
f41e67c622 Separate the widget and gfx toolkits into two variables.
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.
1999-07-02 13:06:48 +00:00
dveditz%netscape.com
17864a291d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
warren%netscape.com
bd73f68e8b Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
sspitzer%netscape.com
dc1ba6945d add support for unread set. still working on this. 1999-07-01 06:13:06 +00:00
sspitzer%netscape.com
064702ff8a fix build bustage on Solaris. 1999-07-01 05:38:03 +00:00
ducarroz%netscape.com
9c8e49df80 Replace time_t by PRTime 1999-06-30 21:04:29 +00:00
scc%netscape.com
f79508bc68 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
mcafee%netscape.com
6c052fb7e8 BeOS changes 1999-06-29 09:48:34 +00:00
mcafee%netscape.com
3a5bfcd90d Cleaning up ifdef logic, adding BeOS case. 1999-06-29 09:45:37 +00:00
sspitzer%netscape.com
9595eff3ea export the news-test files on windows 1999-06-29 06:02:20 +00:00
sspitzer%netscape.com
3f70efd7e9 add instructions. make pretty. 1999-06-29 05:15:17 +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
293db05a4d not part of the build yet. 1999-06-29 04:13:43 +00:00
putterman%netscape.com
33fa19e224 Release an nsIRDFResource. 1999-06-29 02:49:55 +00:00
briano%netscape.com
c04acb13c9 Cleanup and fixes for OpenBSD. 1999-06-29 02:30:42 +00:00
bienvenu%netscape.com
77ead97514 make name and pretty name unichar's 1999-06-28 21:56:33 +00:00
sspitzer%netscape.com
3c116923ff rearrange my ifdefs 1999-06-26 20:48:22 +00:00
sspitzer%netscape.com
4dd90a10de fix warnings. use nsCOMPtr 1999-06-26 06:58:25 +00:00
sspitzer%netscape.com
25ab407d2a more work to get respecting the newsrc set working. move the set into the db. this isn't done yet, but it's shaping up. 1999-06-25 22:29:44 +00:00
bienvenu%netscape.com
5374b0377c start working on making nsMsgDatabase scriptable 1999-06-25 19:46:47 +00:00
ramiro%netscape.com
773e34ec7d Changes to turn gfxps into a true component. Thanks to alecf@netscape.com
for providing the base patch.
1999-06-25 09:38:26 +00:00
putterman%netscape.com
8c5fcdb576 Add GetPath to nsIMsgFolder. 1999-06-25 03:56:02 +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
cd240142b2 Constructor for nntp url no longer has any arguments. 1999-06-22 23:52:15 +00:00
mscott%netscape.com
ba751bd54f Add class ID for nntp urls. 1999-06-22 23:52:00 +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
mscott%netscape.com
8a7bb40345 url re-org to use nsMsgMailNewsUrl. this is part of my necko integration work and should also reduce footprint a bit. 1999-06-22 23:51:18 +00:00
mscott%netscape.com
15ef8bd34c QI url to the right type for nsIMsgMailNewsurl methods. 1999-06-22 23:49:24 +00:00
sspitzer%netscape.com
acad356044 more work for respecting the newsrc file. more to come. 1999-06-22 23:42:29 +00:00
mscott%netscape.com
fce7015fb4 Use MSG_LINEBREAK instead of LINEBREAK. 1999-06-22 18:55:32 +00:00
sspitzer%netscape.com
deff73af4a start of work to respect the newsrc files. code cleanup. use nsCOMPtr. 1999-06-22 04:45:15 +00:00
alecf%netscape.com
05fd122471 add userid@ to all mail/news URIs and add parsing code to support this
this change allows servers to be unique by {userid, hostname, type} combination and allows nsIMsgAccountManager::FindServer() to search for servers this way.
1999-06-22 03:03:48 +00:00
sspitzer%netscape.com
f530447d1f rewrite to use nsMsgLineBuffer, nsnull, NSPR types, fix warnings 1999-06-21 21:03:55 +00:00
sspitzer%netscape.com
af503350ec fix my private debugging code. 1999-06-19 21:22:34 +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
500ef17e37 alerts are too broken to use at this point. #7770 and other bugs. argh. 1999-06-15 00:35:43 +00:00
sspitzer%netscape.com
c353199c84 fix my debugging printfs. if we are on a PC, allow the dialogs to show up. 1999-06-14 22:27:34 +00:00
putterman%netscape.com
be6c52c258 Add deleteStorage parameter. 1999-06-14 22:24:52 +00:00
sspitzer%netscape.com
3147cfe7fc clean up the cancel code. clean up the html error message that show up in the
message pane if you are viewing a cancelled message.  move alerts from the
nntp service and into the nntp protocol code.  print out any alerts, since bug #7770 isn't fixed.  check "us" vs. "them" before cancelling if the server
doesn't support the CANCELCHK extension.
1999-06-14 21:30:07 +00:00
bienvenu%netscape.com
33e7b223dc prepare for msgdb idl 1999-06-14 02:20:41 +00:00
sspitzer%netscape.com
21297e7a96 clean up my original hack to display error messages in the message pane.
before I was using a .eml file, and so I need the error message to be an
rfc 822 message for things to work.  Now, the file is a .htm file, so I can
just write normal html to the file, and it will work.

all this will go away when we don't have to use files, and we can write
directly to the stream.
1999-06-13 20:37:56 +00:00
sspitzer%netscape.com
67afa8ceaf initialize previously uninitialized memory 1999-06-13 19:04:19 +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
mscott%netscape.com
4eafde157f Initialize mFilePath to nsnull. I was crashing in the dtor of the url because it was pointing to unitialized memory
whenever I tried to get msgs from a newsgroup on win32.
1999-06-12 01:06:22 +00:00
sspitzer%netscape.com
967045644e fix for #7795. get news posting to work again. 1999-06-11 22:39:17 +00:00
sspitzer%netscape.com
49dfd2fa0b temporary hack to fix #6912. still more work to be done here, obviously. 1999-06-11 05:37:54 +00:00
jefft%netscape.com
5343385862 undo framework 1999-06-10 14:55:36 +00:00
sspitzer%netscape.com
3c0b3f54db fix the crashing when I post news. 1999-06-10 08:08:22 +00:00
waterson%netscape.com
97814c2d09 Fix build bustage: make sure overloaded function uses identical return
type.
1999-06-10 06:40:43 +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
76182cf4b2 work to get this test working again. it's not building right now. 1999-06-10 05:33:55 +00:00
sspitzer%netscape.com
3cb52a37ca the tests are going to break, so I am turning them off. I'll be turning them back on once I figure out what to do. 1999-06-10 05:32:37 +00:00
sspitzer%netscape.com
c2816a8a4a get this to link on IRIX. thanks to Jason Heirtzler <jasonh@engr.sgi.com> for the patch. 1999-06-10 04:32:46 +00:00
mscott%netscape.com
14b921cb3a Use NS_WITH_SERVICE1 which uses the service manager that was passed in to
NSRegisterSelf / NSUnregisterSelf.
1999-06-09 06:40:48 +00:00
sspitzer%netscape.com
a9e539a291 fix windows build breakage. 1999-06-09 06:18:08 +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
e76d622b2f makefile fixes from reg@shale.csir.co.za (Jeremy Lea) 1999-06-08 06:25:56 +00:00
sspitzer%netscape.com
82354feb6e move StringHash to nsMsgUtils.cpp, and use NS_MsgHashIfNecessary() in all
the ns*URI2Path() calls in the ns*Utils.cpp files to hash the file
names if necessary.
also, don't use fprintf().
1999-06-08 05:08:31 +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
6b2c95fb42 Unification of LoadUrl signature to remove some warnings on Linux & Mac. (this is just the first step).
ParseURL returns a nsresult instead of a PRInt32.
1999-06-07 22:31:37 +00:00
mscott%netscape.com
989344b80b remove IGNORE_MANIFEST. 1999-06-07 21:28:20 +00:00
mscott%netscape.com
e564da8cfd remove IGNORE_MANIFEST and remove LCFLAGS since we don't have any. 1999-06-07 21:19:08 +00:00
mscott%netscape.com
c78ee2032c Don't build dll until the install phase, not the lib phase. 1999-06-07 08:22:54 +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
mscott%netscape.com
d2b2e2cc4b Updates to include the fact that Initialialzing the protocol instance no longer requires the
transport object to be created. It does it for you. These changes are related to my
nsMsgProtocol changes.
1999-06-06 18:39:56 +00:00
mscott%netscape.com
35288a8c60 Revamp of news protocol to use my new nsMsgProtocol base class. This caused the signature of
several functions to change.

I also added some code to properly kill the network connection after we have finished
a nntp command.
1999-06-06 18:38:43 +00:00
sspitzer%netscape.com
b89bb52160 use NS_DEFINE_CID instead of NS_DEFINE_IID. 1999-06-06 00:01:02 +00:00
sspitzer%netscape.com
7efd4dbb68 add dialogs and alerts to the cancel article process. 1999-06-05 23:48:50 +00:00
mscott%netscape.com
41e470f8c8 Add nsIMsgMailNewsUrl to the QueryInterface method. 1999-06-05 23:46:08 +00:00
sspitzer%netscape.com
6c0ba6dcf1 initial work to get news CANCEL working 1999-06-05 22:11:38 +00:00
sspitzer%netscape.com
234eb11de9 Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up. 1999-06-04 23:37:16 +00:00
sspitzer%netscape.com
003183591d follow briano's lead and use MOZ_DLL_SUFFIX 1999-06-04 22:30:45 +00:00
mscott%netscape.com
311213ea2a support SaveMessageToDisk (stub right now)
replace nsAutoCString with more efficient nsAutoString
1999-06-04 22:19:59 +00:00
mscott%netscape.com
7925efae6b replace nsAutoCString with more efficient nsAutoString. 1999-06-04 22:18:55 +00:00
alecf%netscape.com
6e65c166dc fix leak 1999-06-04 04:17:26 +00:00
sspitzer%netscape.com
d3638e2a31 libnntp.a should be libnntp_s.a to indicate that is is always going to be a static library. (follow convention) 1999-06-04 03:48:25 +00:00
sspitzer%netscape.com
8b77b24a8f whoops, forgot one. 1999-06-04 03:45:57 +00:00
sspitzer%netscape.com
6794e5f56b rename the windows library to libnntp_s.lib, since it is static as well 1999-06-04 03:37:41 +00:00
sspitzer%netscape.com
c2a0c775ed libnntp.a should be libnntp_s.a to indicate that is is always going to
be a static library.  (follow convention)
1999-06-04 03:27:00 +00:00
mscott%netscape.com
98227d1515 Remove unnecessary LINCS now that all headers are pushed to the same directory. 1999-06-04 02:07:10 +00:00
sspitzer%netscape.com
61a93ed0e3 don't compare nsCOMPtrs with nsnull. 1999-06-03 23:35:58 +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
6f5c26fe2a need this on windows to find rosetta.h 1999-06-03 02:38:53 +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
jdunn%netscape.com
cd6cf60a60 fix compile warning by declaring nsIMsgMessageService public 1999-06-03 00:46:14 +00:00
sspitzer%netscape.com
d17d9fb15a fix build bustage caused by MODULE=news fix 1999-06-02 06:21:21 +00:00
sspitzer%netscape.com
fbcd54feba the MODULE is news, not mailnews. 1999-06-02 03:47:39 +00:00
sspitzer%netscape.com
e050c7ea1a fix build bustage caused by fixing the MODULE name in the makefile.win files 1999-06-02 03:41:56 +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
rickg%netscape.com
2525d04098 replaced nsString2.h references with nsString.h 1999-06-02 01:03:41 +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
alecf%netscape.com
6cb432c642 stop using [] operator on nsISupportsArrays (going away for scriptability) 1999-06-01 23:13:37 +00:00
ducarroz%netscape.com
7f790e91a1 First Checked In. 1999-06-01 23:12:32 +00:00
ramiro%netscape.com
53abf37698 Add cast for picky compiler. 1999-05-31 15:09:31 +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
sspitzer%netscape.com
608ae21942 XPIDL-ify nsINNTPHost and adjust accordingly 1999-05-29 22:45:35 +00:00
sspitzer%netscape.com
fa41e26a94 DEBUG_sspitzer -> DEBUG_NEWS 1999-05-29 21:05:09 +00:00
sspitzer%netscape.com
6eae3b1549 fix const weirdness. clean up code for solaris compiler 1999-05-29 21:03:48 +00:00
sspitzer%netscape.com
a821a0e69a remove the const in preparation for moving to XPIDL 1999-05-29 21:02:30 +00:00
sspitzer%netscape.com
4d94accf80 remove stupid code because it's stupid 1999-05-29 21:01:19 +00:00
sspitzer%netscape.com
99a05c620a XPIDL-ify nsINNTPNewsgroupList, and adjust accordingly.
change DEBUG_sspitzer to DEBUG_NEWS
1999-05-29 21:00:12 +00:00
sspitzer%netscape.com
f4d602925d cvs ignorage for the generate Makefiles 1999-05-28 23:52:47 +00:00
putterman%netscape.com
15c9d1ecfa Part of new mailnews resources hierarchy. 1999-05-28 22:38:07 +00:00
putterman%netscape.com
2a809a9270 Part of new mailnews resources hierarchy. 1999-05-28 20:10:53 +00:00
sspitzer%netscape.com
231bbc5ac9 changes for makeing news scriptable 1999-05-28 19:43:14 +00:00
blizzard%redhat.com
336beea369 remove hard coded toolkit names in tests 1999-05-28 03:42:59 +00:00
mcmullen%netscape.com
7dce873c56 Removed base/baseDebug.shlb 1999-05-28 00:48:24 +00:00
bienvenu%netscape.com
f9b86efab9 fix build bustage 1999-05-27 05:47:52 +00:00
sspitzer%netscape.com
974e81b72e remove unnecessary crap 1999-05-27 02:50:46 +00:00
sspitzer%netscape.com
8805361dde fix UNIX build bustage 1999-05-27 01:52:34 +00:00
sspitzer%netscape.com
0aa6dc4fab don't need to do this. back it out. 1999-05-27 01:41:47 +00:00
sspitzer%netscape.com
83890318b0 fix UNIX build bustage. we will still have runtime bustage, but I'll fix that
next
1999-05-27 01:22:14 +00:00
sspitzer%netscape.com
0cf7fd38b4 fix unix build breakage 1999-05-27 01:06:51 +00:00
sspitzer%netscape.com
68fcb9eef5 fix unix build bustage 1999-05-27 00:24:49 +00:00
mscott%netscape.com
247b29a6b5 Bug #6722 --> replace PR_Open with nsFileSpec/nsFileStream. 1999-05-26 23:01:23 +00:00
sspitzer%netscape.com
dfeb81ab79 turn DEBUG_sspitzer into DEBUG_NEWS.
use PR_sscanf instead of sscanf.
add more debugging printfs
1999-05-26 21:45:19 +00:00
sspitzer%netscape.com
def2edd4b2 fix the news test makefiles so they build on UNIX, now that xpcom2 has
landed.  turn them back on.
1999-05-26 15:45:49 +00:00
alecf%netscape.com
4437b06a39 disable news tests for now because we can't find XP_StringHash2 1999-05-26 08:05:57 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
sspitzer%netscape.com
869a5b9d86 fix for #6908. a=chofmann, r=mscott. fixes the bug on mac and linux where loading news messages would cause the app to spin. 1999-05-24 23:30:04 +00:00
sspitzer%netscape.com
154abf677e fix for #6935. skip newsrc lines that look like this:
3746EF3F.6080309@netscape.com:
3746EF3F.6080309%40netscape.com:

Those aren't legal newsgroup names.  But previous versions of Communicator
dump that into the newsrc file when you load these urls:

news://news.mozilla.org/3746EF3F.6080309@netscape.com
news://news.mozilla.org/3746EF3F.6080309%40netscape.com
1999-05-23 00:44:46 +00:00
sspitzer%netscape.com
ad3f33881c fix for #6889. a=chofmann.
use tempMessage.eml so that reply to news works.
1999-05-22 19:37:13 +00:00
sspitzer%netscape.com
a06220fe39 fix for #6919. heed the "news.max_articles" pref. 1999-05-22 02:11:30 +00:00
sspitzer%netscape.com
559cf545bd fix for #6790. a=chofmann, r=mscott. make news messages show up in the message pane on the Mac 1999-05-21 04:54:04 +00:00
mscott%netscape.com
861fef8b5d Remove nsNewsArticleSet.h for sspitzer. 1999-05-20 03:18:13 +00:00
sspitzer%netscape.com
0edb4f1392 removed files: mozilla/mailnews/news/src/nsNNTPArticleSet.cpp 1999-05-20 02:57:19 +00:00
sspitzer%netscape.com
4a56b0473c remove duplicate implementations of nsNewsSet. rename nsNewsSet to nsMsgKeySet.
heed the news set.  this fixes #6730 and #6244.
1999-05-20 02:54:25 +00:00
mscott%netscape.com
d09f0061ac Updates with msgcoreutil building as a dll. 1999-05-18 23:59:45 +00:00
sspitzer%netscape.com
704c5b3870 changes to get news to work at the same time as imap and pop. the news part of the fix for #6405 1999-05-18 21:46:56 +00:00
sspitzer%netscape.com
188c856751 quick, fix my build bustage before anyone else sees it! 1999-05-18 03:43:24 +00:00
sspitzer%netscape.com
1c66145f79 "fat" is "NewsFAT" on the mac. turn my comment into an annoying printf, so
I'll be bugged to fix it.
1999-05-18 03:35:28 +00:00
sspitzer%netscape.com
af49070b99 changes required to do newsposting. 1999-05-18 00:36:49 +00:00
sspitzer%netscape.com
56736c6f88 more work for message post to nntp server 1999-05-16 04:18:51 +00:00
sspitzer%netscape.com
f20a351bc0 cast to quiet warnings. 1999-05-16 04:17:07 +00:00
sspitzer%netscape.com
e0acfc9428 use nsCOMPtr. quiet warnings. 1999-05-16 04:16:54 +00:00
sspitzer%netscape.com
25b1425861 remove worthless statement 1999-05-16 04:16:34 +00:00
sspitzer%netscape.com
d2e63b3e5d fix SunOS build breakage 1999-05-16 01:48:56 +00:00
sspitzer%netscape.com
876f6919f7 remove the run random news url crap. general cleanup. 1999-05-15 23:23:06 +00:00
sspitzer%netscape.com
a0e9f7058a use nsCOMPtr. more printfs. return on error. general cleanup of this test app. 1999-05-15 22:21:04 +00:00
sspitzer%netscape.com
efabc74635 replace DEBUG with DEBUG_sspitzer.
use nsCOMPtr.
1999-05-15 21:34:22 +00:00
mscott%netscape.com
a2843c2633 implement GetIncomingServerType as part of adding a GetServer method for a folder. 1999-05-15 19:39:58 +00:00
sspitzer%netscape.com
cc4d024fcb use nsAutoCString instead of ToNewCstring. cast to quite compiler. stop shadowing. 1999-05-15 05:45:20 +00:00
sspitzer%netscape.com
8c649fbcfa set the url state when done. 1999-05-15 05:04:58 +00:00
sspitzer%netscape.com
3ce1875b6a use nsCOMPtr. wrap printfs with ifdefs. 1999-05-15 05:04:34 +00:00
sspitzer%netscape.com
977c439cb1 fix my stupid printf 1999-05-15 05:00:52 +00:00
sspitzer%netscape.com
1d46cf3d0c stop my annoying printfs 1999-05-15 01:04:10 +00:00
sspitzer%netscape.com
34bb2ea121 code cleanup 1999-05-15 00:22:23 +00:00
sspitzer%netscape.com
99f8493664 fix a bug in nsMsgDBEnumerator. this means I don't have to use
2 enuermators for my "show me only the last n news message" hack.
1999-05-14 22:25:31 +00:00
sspitzer%netscape.com
b4451c062e changes to show only the last n messages in a news folder.
It follows the mail.news.maxheaderstoshow pref.
1999-05-14 21:02:51 +00:00
sspitzer%netscape.com
ce3b3622a3 fix shadowed variable warning 1999-05-14 00:50:04 +00:00
alecf%netscape.com
993a1496ad remove my stupid debugging statement 1999-05-13 22:48:28 +00:00
warren%netscape.com
87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
sspitzer%netscape.com
6363521303 fix my personal build bustage on the mac. (I #define DEBUG_sspitzer in NGLayoutConfigInclude.h) 1999-05-12 23:59:09 +00:00
sspitzer%netscape.com
f5f8e6a7f6 changes to get news working on Linux: stop shadowing rv, and check in
mscott's protocol fixes
1999-05-12 05:07:10 +00:00
sspitzer%netscape.com
e082f053c3 fix memory leak, and use nsAutoCString so I don't have to do the free or delete 1999-05-11 00:59:04 +00:00
sspitzer%netscape.com
aacb74a83f work to make "Get Messages" work for newsgroups. right now, it is only on a newsgroup
by newsgroup level.  getting new news for a news server won't do anything.
1999-05-11 00:57:58 +00:00
sspitzer%netscape.com
39e9fdb0f1 fix another uninitialized memory read 1999-05-11 00:45:12 +00:00
sspitzer%netscape.com
dba955f52c stop shadowing. fix an uninitialized memory read. 1999-05-11 00:43:32 +00:00
putterman%netscape.com
8942e3da0f Changed DeleteMessage to DeleteMessages 1999-05-10 23:55:41 +00:00
putterman%netscape.com
a9e70b268a Derive from nsMsgDBFolder. 1999-05-10 21:47:59 +00:00
sspitzer%netscape.com
38465278ec remove bogus comment. clean up the test code (a little). 1999-05-10 21:23:21 +00:00
sspitzer%netscape.com
6f649eb4f1 more changes for getting GetNewNews to work 1999-05-10 21:22:17 +00:00
sspitzer%netscape.com
10e9a29f16 add a comment 1999-05-10 21:18:40 +00:00
sspitzer%netscape.com
8d7f016620 in 5.0, we don't have DBVIEWs 1999-05-10 21:18:15 +00:00
sspitzer%netscape.com
4521fe0936 rename GetNewMail to GetNewMessages. Add support for GetNewNews() to the NntpService interface and implementation 1999-05-08 20:26:45 +00:00
sspitzer%netscape.com
82fffcc0c1 *** empty log message *** 1999-05-08 17:25:49 +00:00
sspitzer%netscape.com
f94e488882 changes to get news working. specifically, these changes allow us to parase the xover line and stuff the header info into the right msf file, and then retrieve the right headers later. 1999-05-08 17:25:15 +00:00
ducarroz%netscape.com
492e685f8f Create mPath when needed to avoid empty nsFileSpec on Mac. 1999-05-08 01:22:56 +00:00
putterman%netscape.com
b8c14eaf81 use GetParent(). 1999-05-07 20:22:14 +00:00
sspitzer%netscape.com
a35e024294 move some code over from 4.x to get nntpTest to parse the xover line.
fix my shadowing of the name variable.  (doh!)
1999-05-07 02:28:06 +00:00
putterman%netscape.com
4208175d48 HasMessage implemented. 1999-05-07 00:35:26 +00:00
sspitzer%netscape.com
10872772e1 create the necessary news related directories, if they don't exist 1999-05-07 00:10:55 +00:00
sspitzer%netscape.com
03b5ad5aeb make nntpTest work again. (following mscott's fix for #5991) 1999-05-07 00:10:14 +00:00
hangas%netscape.com
2720443534 sspitzer: port news to the mac. remove silly printfs. put useful printfs behind DEBUG_NOISY_NEWS, so I can turn them all on from a Mac 1999-05-06 03:25:47 +00:00
hangas%netscape.com
795848a5d2 sspitzer: port news to the mac 1999-05-06 03:24:48 +00:00
hangas%netscape.com
95980cc7e0 Updated to build on Mac 1999-05-06 01:53:31 +00:00
sspitzer%netscape.com
b0094e1e0f check for null before querying the interface 1999-05-06 00:19:49 +00:00
sspitzer%netscape.com
5db6657def tests are only for me 1999-05-06 00:19:11 +00:00
sspitzer%netscape.com
df58b1215a warnings be gone! remove silly printfs. make nsMsgNewsFactory take the same
number of parameters as the other mail news factories, for consistency
1999-05-06 00:18:24 +00:00
sspitzer%netscape.com
0fe35d60b4 initial work to move over ParseLine from 4.x world 1999-05-05 05:45:01 +00:00
bienvenu%netscape.com
f8955f43aa fix ref counting problem with mListeners 1999-05-05 04:26:41 +00:00
sspitzer%netscape.com
17d71a8dd3 fix my own build bustage 1999-05-05 03:47:44 +00:00
hangas%netscape.com
e16c073d0e sspitzer: changes to build news on the mac 1999-05-05 03:42:21 +00:00
hangas%netscape.com
c80f6b8daa sspitzer: stop hiding these virtual methods (thanks mac compiler!) 1999-05-05 03:41:12 +00:00
hangas%netscape.com
89621ab0bc back off on the PRTime stuff for now 1999-05-05 03:39:51 +00:00
hyatt%netscape.com
ae4e8ae9ca Switching over to nsIEventQueues. 1999-05-04 23:31:07 +00:00
putterman%netscape.com
d8ce82864a use nsIDBMessage 1999-05-04 22:35:55 +00:00
sspitzer%netscape.com
cbde14fb62 whoops, didn't mean to check this in 1999-05-04 21:53:17 +00:00
sspitzer%netscape.com
4e8f7659df remove warnings. stop using sscanf. stop hardcoding news://news.mozilla.org
as our server uri.
1999-05-04 21:43:28 +00:00
ducarroz%netscape.com
8e3ffd0041 First Checked In. 1999-05-04 20:00:38 +00:00