Commit Graph

686 Commits

Author SHA1 Message Date
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
sspitzer%netscape.com
6cfa5d0410 fix build bustage on UNIX 1999-05-04 03:25:25 +00:00
sspitzer%netscape.com
6850393f67 hook up the wiring so that when you click on news message in the threadpane,
right news url is run to load the correct message in the message pane
1999-05-04 03:16:24 +00:00
sspitzer%netscape.com
0efa8e1508 use the NS_WITH_SERVICE macro 1999-05-04 03:04:03 +00:00
sspitzer%netscape.com
3f92f3951e extend the parser test to add two headers to a public newsgroup 1999-05-04 03:03:29 +00:00
sspitzer%netscape.com
0643d21fb2 use NEWS_PORT instead of -1 as the default 1999-05-04 03:03:05 +00:00
sspitzer%netscape.com
77b1c66c7a #define the lengths of the string constants, and use this instead of
PL_strlen()
1999-05-04 03:02:18 +00:00
sspitzer%netscape.com
ee7b31ef8f use #define instead of doing PL_strlen 1999-05-04 02:59:05 +00:00
sspitzer%netscape.com
ae728a9650 make the news factory handle news messages 1999-05-04 02:56:33 +00:00
sspitzer%netscape.com
f161dc9c1b more changes to get nntpTest (and eventually news) working 1999-05-04 02:37:15 +00:00
sspitzer%netscape.com
2f4ed1b383 changes to get nntpTest (and eventually news) working 1999-05-04 02:35:32 +00:00
sspitzer%netscape.com
96a461e7e6 these stub files are history. 1999-05-04 02:27:11 +00:00
sspitzer%netscape.com
2c070ebbe0 removing libnntpTest.
adding functionality to nntpTest
1999-05-04 02:26:10 +00:00
sspitzer%netscape.com
5ad02bb708 there is no libnntpTest.so anymore 1999-05-04 02:25:23 +00:00
sspitzer%netscape.com
36488a0e29 whoops. typo. I suck 1999-05-01 02:57:07 +00:00
sspitzer%netscape.com
46075b752f fix for #5814. get newsParserTest to work on Windows 1999-05-01 02:17:09 +00:00
sspitzer%netscape.com
99f2609790 fix for bug #5814. get newsParserTest to build on Windows 1999-05-01 02:15:54 +00:00
sspitzer%netscape.com
153e26c390 check in for bug #5814. get newsParserTest to build on Windows 1999-05-01 02:13:53 +00:00
sspitzer%netscape.com
b82a0d7263 fix for bug #5668. now multiple news hosts really works. 1999-04-29 04:10:49 +00:00
alecf%netscape.com
18ab667877 instead of getting the first server from the account manager, get the first one named news.mozilla.org (eventually we have to figure out our own hostname from the URI) 1999-04-28 06:13:22 +00:00
bruce%cybersight.com
0eae38cc92 Remove -lnetutil from link lines in unix build. 1999-04-28 05:46:56 +00:00
sspitzer%netscape.com
27156b1495 use PR_smprintf, not sprintf().
for news, we aren't going to have .sdb for directories.
put the summary files in <newsdir>/host-<hostname>
1999-04-28 05:00:02 +00:00
mscott%netscape.com
a313581a3f change the url state when we load a url and when are done with url. Fix a bug in ReadNewsList where: we needed more data from the server and instead of waiting, we returned an error code. 1999-04-27 19:57:30 +00:00
mscott%netscape.com
44b62e4b21 link against nntpTest.lib as it has the stubs for the news event sinks. 1999-04-27 19:56:04 +00:00
mscott%netscape.com
af2cb31b74 Modernize the news test harness --> make it a url listener among other things. 1999-04-27 19:55:10 +00:00
sspitzer%netscape.com
2849be7bf0 more changes 1999-04-27 04:47:03 +00:00
mscott%netscape.com
c8c1a023c3 Use MSG_LINEBREAK instead of LINEBREAK. 1999-04-27 03:06:34 +00:00
sspitzer%netscape.com
30e65e2174 remove a warning. get nntpTest closer to working... 1999-04-27 02:45:15 +00:00
sspitzer%netscape.com
29f85dbedf NS_NewNntpUrl is not used anymore. changes to build nntpTest every time on
windows
1999-04-27 02:31:23 +00:00
sspitzer%netscape.com
24e557b3b8 more changes to get this working... 1999-04-27 02:25:57 +00:00
sspitzer%netscape.com
c86490ede5 more changes to get this beast to build and run on Windows and Linux 1999-04-27 02:21:53 +00:00
sspitzer%netscape.com
e62445398f changes to get the nntpTest building again on Linux 1999-04-27 02:12:55 +00:00
sspitzer%netscape.com
87ddff6be9 changes to get news db messages in the thread page 1999-04-27 00:01:01 +00:00
sspitzer%netscape.com
085c1f0795 changes to get subscribed news groups to show up in the folder pane 1999-04-26 23:03:13 +00:00
sspitzer%netscape.com
e59e513084 put newline at end of file 1999-04-26 22:31:53 +00:00
sspitzer%netscape.com
ebe314420d add newline to end of file 1999-04-26 22:31:42 +00:00
alecf%netscape.com
5f45e727c9 switch to using new GetLocalPath call and nsCOMPtr 1999-04-26 21:38:38 +00:00
alecf%netscape.com
ced86a8569 fix unknown PR_smprintf problem 1999-04-26 21:07:14 +00:00
alecf%netscape.com
5dfd5bc2ec add protocol-specific implementation of GetServerURI() in preparation for new method in nsIMsgIncomingServer interface 1999-04-26 18:37:15 +00:00
sspitzer%netscape.com
4eb437dee6 turn off some of my printfs 1999-04-26 18:04:17 +00:00
putterman%netscape.com
dc96e2a8b9 changed nsIMessage to nsIMsgDBHdr. 1999-04-25 22:34:02 +00:00
mscott%netscape.com
ac404f2776 ProcessXOVER must now take a PRUint32 instead of an int32 1999-04-25 19:54:02 +00:00
mscott%netscape.com
dca18e7d44 ReadNextLine now returns the number of bytes. This simplified our use of the function dramatically.
nsMsgLineStreamBuffer takes a line delimeter of CRLF for nntp.
1999-04-25 19:53:22 +00:00
mscott%netscape.com
3108997b15 status must now be an unsigned int32 for process xover. 1999-04-25 19:52:01 +00:00
putterman%netscape.com
551d56de32 added nsNewsMessage, nsNewsUtils and use nsIMsgDBHdr. 1999-04-24 20:47:04 +00:00
putterman%netscape.com
fd958ea8cd Add ability to create a message. 1999-04-24 20:46:07 +00:00
rickg%netscape.com
f86b7f933d update to sync with nsString2 1999-04-22 06:39:40 +00:00
mscott%netscape.com
b4933a51c8 constructor for nsMsgLineBufferStream takes a new argument specifying if new lines should be allocated for ReadNextLine. 1999-04-22 01:54:32 +00:00
mscott%netscape.com
c95d00affa Replace the old slow ReadLine code to use the new more efficient nsMsgLineBufferStream class. Right now this class creates a new buffer for each line returned so we need to free this buffer. Later on, I'll be looking into removing the allocation of the new line and some of these statements will be made obsolete. 1999-04-21 20:23:47 +00:00
putterman%netscape.com
d8f6a32185 Change to news instead of nntp. 1999-04-21 20:18:35 +00:00
mscott%netscape.com
252d578016 Clean up CreateInstance to condense some code. use progids for registering the nntp service and the nntp version of the message service. 1999-04-21 18:58:29 +00:00
mscott%netscape.com
b1de92aaab add support for nsIMsgMessageService interface. 1999-04-21 18:57:24 +00:00
rickg%netscape.com
8cc2bdda24 sync with new nsString2 API 1999-04-21 04:02:14 +00:00
sspitzer%netscape.com
4be0accd6d build tweakage for the incoming nntp server changes 1999-04-21 02:56:38 +00:00
sspitzer%netscape.com
1c0526c49e work for the incoming nntp server 1999-04-21 02:55:48 +00:00
sspitzer%netscape.com
ebf39ffed3 work for the nntp incoming server 1999-04-21 02:55:25 +00:00
sspitzer%netscape.com
a33249b045 incoming nntp server work 1999-04-21 02:48:30 +00:00
putterman%netscape.com
73d30ed0a8 Fixed Windows build. 1999-04-20 20:03:40 +00:00
sspitzer%netscape.com
e1b67a070b more changes to get news in the folder pane 1999-04-20 19:10:43 +00:00
sspitzer%netscape.com
b4e142b8f1 changes to get news in the folder pane 1999-04-20 19:08:10 +00:00
sspitzer%netscape.com
3d20954e22 add missing NPL comment 1999-04-16 21:46:26 +00:00
rhp%netscape.com
599771aad8 Moving header parser interface 1999-04-16 19:02:22 +00:00
sspitzer%netscape.com
6bbbb2be2c changes for newly generated header 1999-04-15 20:18:02 +00:00
sspitzer%netscape.com
952fb4980a changes for newly generated headers 1999-04-15 20:17:36 +00:00
nhotta%netscape.com
6d3502a293 nsIMsgRFC822Parser and related changes, removed old i18n functions, instead passing charset name. 1999-04-13 19:18:22 +00:00
jdunn%netscape.com
36d4d6257d fix compiler error, need to specify base class access 1999-04-12 21:48:58 +00:00
sspitzer%netscape.com
70e2ff56a6 quiet the UNIX compiler. Thanks to bruce@cybersight.com for this patch. 1999-04-12 21:28:28 +00:00
jdunn%netscape.com
3bfb1ebbb6 fix compiler error (NS_DECL_ISUPPORTS doesn't require a ';' 1999-04-12 20:56:15 +00:00
putterman%netscape.com
5e083ca57b use PL_strfree. 1999-04-12 20:24:47 +00:00
sspitzer%netscape.com
438e2e98d6 need to do a SessionCommit, not a SmallCommit, to get the changes
written out to disk
1999-04-12 20:10:42 +00:00
sspitzer%netscape.com
fd30b8676e do a commit to get the db to write.
someone (nsMsgFolder?) still has an open reference to the db when I quit,
so it doesn't automatically get written out
1999-04-12 19:07:36 +00:00
sspitzer%netscape.com
77920ebdd0 use a more realistic path 1999-04-12 03:57:19 +00:00
sspitzer%netscape.com
40caa83d9c cleaned this code up. (still a work in progress) 1999-04-12 03:41:32 +00:00
braddr%puremagic.com
82c03050ce Changed direct uses of -lz or -lzlib to $(ZLIB_LIBS)
Changed direct use of -lnspr3 and friends to $(NSPR_LIBS)
1999-04-11 23:07:04 +00:00
sspitzer%netscape.com
bc9673671a fix the hardcoded value. don't wory. this is temporary anyways 1999-04-11 00:39:30 +00:00
sspitzer%netscape.com
832d59b91e minor tweak to the still-not-done news parser test 1999-04-10 21:56:55 +00:00
sspitzer%netscape.com
a0fffd7e2e changes to get newsParserTest to work (at least, work better...) 1999-04-10 00:54:19 +00:00
sspitzer%netscape.com
7ab6d8f00e adding these cvsignore files 1999-04-10 00:39:11 +00:00
sspitzer%netscape.com
01e0a1b387 fix the makefile to listen to ENABLE_TESTS 1999-04-10 00:35:08 +00:00
mcafee%netscape.com
32083fdeaf Using XP macro for -lz 1999-04-07 04:19:01 +00:00
sspitzer%netscape.com
7c1d7cde16 build the tests by default 1999-04-06 06:47:47 +00:00
sspitzer%netscape.com
a86bf203b6 fix my build breakage 1999-04-06 04:36:28 +00:00
sspitzer%netscape.com
090b13c235 add the newsParser test 1999-04-06 04:23:42 +00:00
sspitzer%netscape.com
198913d00e add newParserTest to the tests 1999-04-06 04:23:17 +00:00
mscott%netscape.com
b161a286d8 Part of my mailnews reduce disk footprint cleanup effort. No longer need to link with mozjs and xplib. 1999-04-04 22:22:04 +00:00
mscott%netscape.com
d76ff2f5e4 Part of my mailnews reduce disk footprint cleanup effort. No longer need to link with JS and with xplib. 1999-04-04 22:20:57 +00:00
mscott%netscape.com
eaeeb40a65 Part of my mailnews reduce disk footprint cleanup effort. Add definitions that we used to get from allxpstr.h. 1999-04-04 22:20:06 +00:00
mscott%netscape.com
751ea317c7 Part of my mailnews reduce disk footprint cleanup effort. Remove XP_Hash stuff and replace it with PL_Hash. 1999-04-04 22:19:47 +00:00
mscott%netscape.com
ba21952cc5 Part of my mailnews reduce disk footprint cleanup effort. Don't include mkutils.h. Remove extern for out of memory which we used to get from allxpstr. 1999-04-04 22:18:59 +00:00
mscott%netscape.com
b2fc402848 Part of my mailnews reduce disk footprint cleanup effort. Many changes to remove dependencies on xplib. Removed all StrAllocCopy and StrAllocCat calls. Isolated the externs we needed from allxpstr.h, we'll defines those in nntpCore.h for now. 1999-04-04 22:18:14 +00:00
kipp%netscape.com
f5c07b9d5a Work even when --disable-static is configured on 1999-04-03 19:48:02 +00:00
kipp%netscape.com
b1fad92629 Fixed to work on hpux and link properly and other unix's 1999-04-03 19:47:42 +00:00
ducarroz%netscape.com
f5e81d9806 update manifest file, part of mailnews Mac landing 1999-04-01 18:47:53 +00:00
mscott%netscape.com
d0feeb8baf patch from Bruce Mitchener Jr." <bruce@cybersight.com> to change delete to delete []. 1999-03-29 22:15:54 +00:00
mcafee%netscape.com
e7e4ae2cb4 Ignore generated files. 1999-03-27 09:22:27 +00:00
sspitzer%netscape.com
82e235aed3 fix so that libmailnews.so will pick up
FindDescendant__16nsMsgGroupRecordPCc
also known as,
nsMsgGroupRecord::FindDescendant(char const *)
1999-03-26 23:13:13 +00:00
mscott%netscape.com
196b470206 Fix build breakage on windows. For some reason VC6.0 is able to find the include file for nsMsgKey_none. VC5.0 apparently has more problems with it... 1999-03-26 02:05:14 +00:00
mscott%netscape.com
ffdd0c6e55 Don't built nntpTest until it is upgraded to use the new news service. 1999-03-26 01:11:20 +00:00
mscott%netscape.com
a9e60fdad6 Build nsNntpService. 1999-03-26 01:10:16 +00:00
mscott%netscape.com
e2a8aba4fb Export nsINntpService.h 1999-03-26 01:09:32 +00:00