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
mscott%netscape.com
f6e05b2db2
Build the build directory.
1999-03-26 01:09:02 +00:00
mscott%netscape.com
d083c2a85d
Part of making news a standalone component. Build the "build" directory.
1999-03-26 01:05:20 +00:00
mscott%netscape.com
fa5aa84fe7
Part of making news a stand alone component. nntp url supports the nsIMsgMailNewsUrl interface.
1999-03-26 01:04:12 +00:00
mscott%netscape.com
935f1c1868
Build nsNntpService.
1999-03-26 01:03:27 +00:00
mscott%netscape.com
37eba5d7fa
Spell nsNNTPProtocol.h correctly when including the file. (unix is case sensitive)
1999-03-26 01:02:57 +00:00
mscott%netscape.com
1195e1451a
Part of making news a stand alone dll. remove "C" functions for creating / running news url.
1999-03-26 01:02:12 +00:00
mscott%netscape.com
1321dd9d85
Part of making news a stand alone dll. Updates to nntp url to inherit from nsIMsgMailNewsUrl.Add url listener code as well.
1999-03-26 01:01:15 +00:00
mscott%netscape.com
59d39ffa08
(not part of build yet) implementation of nntp service.
1999-03-25 04:48:45 +00:00
mscott%netscape.com
9dce9fe796
(not part of build yet). New nntp service for processing nntp requests...
1999-03-25 04:48:01 +00:00
mscott%netscape.com
8a37f2363e
Not part of build yet. Register new nsNntpService component.
1999-03-25 04:47:12 +00:00
mscott%netscape.com
bf94820e1b
(not part of build yet) remove NO_DEPEND.
1999-03-25 04:46:26 +00:00
ducarroz%netscape.com
8ecc4e7b22
First Checked In.
1999-03-24 21:49:55 +00:00
mscott%netscape.com
80f8273c56
(not part of build). Initial frame work for making news a dll....
1999-03-24 02:45:58 +00:00
mscott%netscape.com
d9dbd2df40
(not part of the build yet). Initial framework for making news a dll.
1999-03-24 02:31:49 +00:00
mscott%netscape.com
0fb4d01987
We need a CID for this interface.
1999-03-24 02:30:19 +00:00
alecf%netscape.com
f038271222
update to link against appropriate libraries
1999-03-24 01:21:52 +00:00
mscott%netscape.com
13aae6d07b
Link with the msgcoreutil library.
1999-03-22 23:26:21 +00:00
mscott%netscape.com
013eb10560
The wrong pointer was getting passed into the create instance call for the event queue service.
1999-03-22 23:25:45 +00:00
alecf%netscape.com
b9f0cea053
support Unix for temporary file hack for libmime
1999-03-20 00:41:19 +00:00
alecf%netscape.com
a6ed5ca0be
make news a regular shared library to link against
1999-03-20 00:41:02 +00:00
leaf%mozilla.org
4ad9f70d5d
Landing nspr library name change, and plevent function call change.
1999-03-17 21:32:03 +00:00
alecf%netscape.com
c1cdfe0b36
#if 0 out calls to functions we haven't defined yet.
1999-03-13 01:07:11 +00:00
alecf%netscape.com
b55e70fd90
now link libnntp directly into base, so we can do dogfood
1999-03-12 20:05:16 +00:00
alecf%netscape.com
2ac4ad9e81
fix constness casting problem
1999-03-11 02:08:41 +00:00
alecf%netscape.com
7fa6657004
rev these interfaces
1999-03-11 01:33:33 +00:00
alecf%netscape.com
5cc1028a01
eliminate duplicate IID
1999-03-11 01:32:08 +00:00
alecf%netscape.com
0650b034dd
we don't need to link against these libraries any more on unix
1999-03-11 01:30:07 +00:00
alecf%netscape.com
1379cca198
link against our libraries to resolve as many differences as possible
1999-03-11 01:28:48 +00:00
alecf%netscape.com
53338e8a97
rev nsINNTPHost and nsINewsgroupList interfaces
1999-03-11 01:18:04 +00:00
alecf%netscape.com
027a070282
rev the interface, update char* to const char*
1999-03-10 22:32:46 +00:00
alecf%netscape.com
5805c769fa
don't build tests by default
1999-03-10 06:01:40 +00:00
alecf%netscape.com
3352f0978c
don't link against base libmailnews
1999-03-10 06:00:59 +00:00
alecf%netscape.com
23120a594f
remove old call to NS_NewRFC822Parser
1999-03-10 06:00:11 +00:00
alecf%netscape.com
a15117ca9c
use CreateInstance to create a parser rather than linking directly with libmailnews.so
1999-03-10 04:22:52 +00:00
warren%netscape.com
1baf19439b
Removed nsService stuff.
1999-03-09 12:29:08 +00:00
warren%netscape.com
3d21ed5037
nsRepository -> nsIComponentManager changes. nsIMsgDatabase interface. Message enumerators. Misc.
1999-03-09 09:52:30 +00:00
mscott%netscape.com
e32b33f6d7
fix build breakage. file stream updates for mcmullen.
1999-03-06 01:17:55 +00:00
alecf%netscape.com
4cd4aa2a01
rev IDL-generated headers, won't bust on nsIID this time.
1999-03-06 00:05:51 +00:00
alecf%netscape.com
f4568a3e25
only build tests when ENABLE_TESTS (i.e. --enable-tests) is turned on
1999-03-04 01:36:25 +00:00
mscott%netscape.com
2378c3cf18
part of scc's merge: change interface calls to IID() to GetIID().
1999-03-04 00:57:51 +00:00
putterman%netscape.com
5ff2a9715a
Works with RegisterComponent
1999-02-27 07:15:41 +00:00
mscott%netscape.com
d87aaf9b8b
Stop building nntptest until I fix the factory problems and come up with a progID...
1999-02-27 03:48:15 +00:00
mscott%netscape.com
f27d3b917b
Link with nntpTest library.
1999-02-27 00:43:54 +00:00
mscott%netscape.com
697f7718fc
Fix build breakage remove nsIID.h and nsISupportUtils.h from all interfaces until we can figure out where these files come from. I know this is the wrong long term solution so I'm not even changing the idl files.
1999-02-26 03:59:33 +00:00
alecf%netscape.com
9a9aae17fd
rev the XPIDL-generated headers, and update API calls to match
...
includes dropping "const"ness from parameters
some nsString routines were converted back to char* for the time being.
also added nsIMsg.h, it seemed to be missing
Also many fixes to get Unix building again.
1999-02-26 01:56:15 +00:00
warren%netscape.com
59a5c261e9
Reorganization. Changes for collections, enumerations, generic folders, file paths, etc.
1999-02-24 10:39:06 +00:00
bienvenu%netscape.com
ade369d1c2
start getting nntp hooked up to news database
1999-02-19 03:09:39 +00:00
mscott%netscape.com
16a331eb5f
Change default path for writing tempArticle.eml into to c:\temp.
1999-02-18 04:46:54 +00:00
mscott%netscape.com
8874310149
Makefile to build the nntpTest harness
1999-02-18 01:16:12 +00:00
mscott%netscape.com
83b3b059e0
Oops...build the nntp sub directory as well
1999-02-18 01:15:40 +00:00
mscott%netscape.com
18c5656f95
Build the stub code as a library.
1999-02-18 01:14:05 +00:00
mscott%netscape.com
cd3f5f8553
build nntp sub directory...
1999-02-18 00:54:37 +00:00
mscott%netscape.com
3ca3e64f0e
NNTP test harness. This code was moved here from news\tests.
1999-02-18 00:54:06 +00:00
mscott%netscape.com
d469b784b6
Removing from repository. This file now lives in tests\nntp.
1999-02-18 00:53:29 +00:00
mscott%netscape.com
ff51a9a22d
For now, disable the nntp test executable. (I'll look into moving this into a separate makefile...)
...
Build the test stubs as a stand alone library...
1999-02-18 00:29:11 +00:00
mscott%netscape.com
8242c9320e
Don't use ::IID() function for the webshell interface because it doesn't support it....
1999-02-18 00:28:10 +00:00
mscott%netscape.com
5fc73425e2
Move some convience functions into nsNNTPProtocol. LoadUrl now takes a consumer.
1999-02-17 08:19:49 +00:00
mscott%netscape.com
237c42a360
LoadUrl now takes a nsISupports which could be the consumer display stream. Externally declared convience functions for building and runnning a news url (which can be used in our messenger demo). Added code to call webshell->LoadUrl after retrieving a news article and writing it to a temp file. This will cause the url to be displayed in the ui.
1999-02-17 08:18:07 +00:00
mscott%netscape.com
1e721e74de
LoadUrl now takes a nsISupports which could be the consumer display stream. Externally declared convience functions for building and runnning a news url (which can be used in our messenger demo).
1999-02-17 08:17:04 +00:00
alecf%netscape.com
18358985ef
fix for egcs 1.0.x multiple inheritance bug
1999-02-17 05:59:01 +00:00
bienvenu%netscape.com
468c14e0a2
get this to compile for debug me
1999-02-17 00:10:48 +00:00
bienvenu%netscape.com
1d21e06b68
override IID method
1999-02-14 19:16:49 +00:00
warren%netscape.com
e8114e350d
Converted nsIMsg into nsIMessage, unifying with nsMsgHdr. Removed NS_DEFINE_IID macros. Renamed a few types and enums.
1999-02-13 10:39:59 +00:00
putterman%netscape.com
24794afa2c
removing const from functions dealing with Init();
1999-02-12 19:03:08 +00:00
putterman%netscape.com
323b75ec65
removing const from Init();
1999-02-12 19:02:18 +00:00
alecf%netscape.com
189927c7a1
update libraries because RDF now depends on layout (which has a zillion other dependancies)
1999-02-11 07:27:39 +00:00
mscott%netscape.com
3ba1fa6479
use of sockstub protocol to implement a socket connection for a url is now BLIND to the protocol. So let the protocol use its original scheme when building urls. The transport layer will now worry about chaning the scheme to sockstub when appropriate....
1999-02-11 03:10:28 +00:00
mscott%netscape.com
73e6a78269
Remove in-appropriate assertion...the rules have changed...
1999-02-11 03:03:51 +00:00
warren%netscape.com
6025c5369c
Changed uses of MsgErr to nsresult. Moved CR LF macros to base/src/nsCRT.h.
1999-02-09 04:20:46 +00:00
mscott%netscape.com
42bcff3720
Oops...one of my changes got lost...if you are reading in user data, don't write it into m_userData unless the user
...
actually entered a value...if you do write in it, we step on the default value which is alredy in m_userData...
1999-02-09 03:21:34 +00:00
alecf%netscape.com
d5c6aee3a4
Some headers aren't required after all.
...
reorder some of them and change HEADER_TOTAL to HEADER_LAST for consistency.
1999-02-09 02:55:39 +00:00
alecf%netscape.com
d2b793432e
terminate posts with "."
...
move FORCE_PR_LOG above the include for msgCore so that we can log in release builds
remove unnecessary assert
get ready for the next state after we post the message
1999-02-09 02:54:44 +00:00
alecf%netscape.com
f71411b43d
fix up test harness for posting
1999-02-09 02:49:58 +00:00
alecf%netscape.com
f18568846b
first shot at NNTP Newsgroup Post implementation...still have a few kinks to work out
1999-02-08 23:09:26 +00:00
alecf%netscape.com
524107ae90
make this newsheader valid for now
1999-02-08 23:05:05 +00:00
mscott%netscape.com
e94e61a4db
Include msgCore.h as first include file for use as a precompiled header...
1999-02-07 01:11:39 +00:00
alecf%netscape.com
90b9059b8b
minor fixes to make unix keep building
1999-02-06 03:37:12 +00:00
warren%netscape.com
d343f7cbab
More cleanup of XPPtrArray. Factored nsMsgFolder, adding nsMsgLocalMailFolder.
1999-02-06 02:11:54 +00:00
alecf%netscape.com
b26b0af4a1
update test app to use new posting
1999-02-05 07:50:57 +00:00
alecf%netscape.com
20e362a95c
add support for posting messages
...
Not complete - the nsINNTPNewsgroupPost is not completely finished (it doesn't assemble the message)
1999-02-05 07:50:40 +00:00
alecf%netscape.com
44bb50c9f2
finish implementing nsINNTPNewsgroupPost, and fix factory function
1999-02-05 07:49:28 +00:00
warren%netscape.com
45b98e50f0
Ported XPPtrArray (and MSG_FolderArray) to use nsVoidArray and nsISupportsArray.
1999-02-05 07:02:51 +00:00
alecf%netscape.com
953bb13843
first shot implementation of nsNNTPNewsgroupPost
1999-02-05 06:12:44 +00:00
alecf%netscape.com
39a61e0df6
minor warnings cleanup
1999-02-05 05:43:53 +00:00
alecf%netscape.com
da4626cde6
new NewsgroupPost interface
1999-02-05 05:43:21 +00:00
alecf%netscape.com
727bc7e23f
minor warnings fixes
1999-02-05 05:42:27 +00:00
alecf%netscape.com
e2ff32db97
minor warnings fixes
1999-02-05 05:25:55 +00:00
warren%netscape.com
937d09c5f1
Added nsIMsg and nsMsg impl. Changed counts to be unsigned.
1999-02-05 03:08:00 +00:00
mscott%netscape.com
ca38bf39ae
Get rid of m_isSocketOpen variable. Rely on new transport Open method to determine if
...
the transport needs opened. Release some more interfaces when we go away...
1999-02-04 23:52:04 +00:00
mscott%netscape.com
1cf0713ecb
Only replace m_userData in the prompt call if the user entered some legitimate data...otherwise we risk stepping on our default
...
value.
1999-02-04 23:04:07 +00:00
mscott%netscape.com
856fcc5168
Remove dependency on mime.lib because we don't need it just yet...
1999-02-04 21:02:06 +00:00
mscott%netscape.com
4cbdc68c5d
SetupUrl should return a value...this fixes build problem on windows...
1999-02-04 19:44:31 +00:00
alecf%netscape.com
211511b630
more fixes to allow for Message posting (not there yet...)
1999-02-04 04:27:10 +00:00
alecf%netscape.com
098773c2a6
add new accessor for message member
1999-02-04 04:26:29 +00:00
alecf%netscape.com
da74cd1591
minor fixes to prevent dereferencing NULL pointers
1999-02-04 04:26:03 +00:00
mscott%netscape.com
2127ac5c7d
Small stuff..fixed some windows build breakages by returning a value in SetupUrl and PostData...
1999-02-04 02:36:57 +00:00
alecf%netscape.com
1ee9410915
move URL setup to a common function
...
change scanf -> fgets
initial skeleton for posting
1999-02-04 01:11:25 +00:00
mscott%netscape.com
0ab856b299
newsgroup call to GetName is no longer a const method so the nsINNTPNewsgroup passed into the article list can't be const either....
...
performing clean up on the interface and implementation to fix this...
1999-02-03 00:19:55 +00:00
warren%netscape.com
097f98a9ab
Made objs build into objdir.
1999-02-02 05:39:41 +00:00
mscott%netscape.com
bbda218b52
Fix a bug in my ReadLine implementation where I wasn't properly killing off CRLFs before returning the line. Added code which writes article contents to a file as RFC-822. Now we just need a hook into the viewer app to display the file and we can display articles in HTML. Yeah!.
1999-02-02 03:09:50 +00:00
mscott%netscape.com
383db939c2
Cast away constness for newsgroup interface for testing purposes...If we need to do this in the real news host, we'll change the news host interface such that the newsgroup passed in is not const..
1999-02-02 03:05:39 +00:00
mscott%netscape.com
07602b3936
Changed file name.
1999-02-02 02:50:46 +00:00
leaf%mozilla.org
dcbed07465
readding file for mscott
1999-02-02 02:33:32 +00:00
alecf%netscape.com
94e1191641
first attempt at using PL_ProcessEventQueue as the Unix main loop
1999-02-02 00:19:40 +00:00
alecf%netscape.com
a3316468f4
update to reflect new XPIDL generated API
1999-02-02 00:18:11 +00:00
alecf%netscape.com
1fc96b3fcc
fix case error so that we include the right file
1999-02-02 00:16:50 +00:00
alecf%netscape.com
939afa6099
update header files with output from new XPIDL compiler
1999-02-02 00:15:54 +00:00
mscott%netscape.com
6208368dec
Build tests directory as part of the news build....
1999-02-01 22:20:37 +00:00
mscott%netscape.com
25b784262e
Add ReadNewsRC test to nntp test suite...
1999-02-01 22:19:55 +00:00
mscott%netscape.com
b3461532c2
Added some code for supporting readnewsrc stuff...
1999-02-01 22:19:11 +00:00
mscott%netscape.com
fc126d9630
Removing extra printf....
1999-02-01 22:18:52 +00:00
mscott%netscape.com
2785a2ab17
More changes for the test harness to build on Linux....
1999-01-31 08:20:41 +00:00
mscott%netscape.com
a2422cb06c
define fe_configTemp to build on linux...comment out mime calls for now.
1999-01-31 08:18:02 +00:00
mscott%netscape.com
919071402d
Implement init call in order to link...
1999-01-31 08:13:37 +00:00
mscott%netscape.com
0d7427b1f1
Remove reference to static delete operator
1999-01-31 08:10:30 +00:00
mscott%netscape.com
caf4984b6a
Export some header files for the test harness..
1999-01-31 07:29:47 +00:00
mscott%netscape.com
d0576f756d
Build the nntpTest application.
1999-01-31 07:03:13 +00:00
mscott%netscape.com
93f85bccd5
Nntp test harness and associated stub files....
1999-01-31 07:02:24 +00:00
mscott%netscape.com
9f1c544f61
Export nsINntpUrl.h
1999-01-31 07:01:11 +00:00
mscott%netscape.com
8b31186ed8
Build nsINntpUrl.cpp lh
1999-01-31 07:00:14 +00:00
mscott%netscape.com
e849d57e45
Use correct key for implementing Isupports...
1999-01-31 06:53:34 +00:00
mscott%netscape.com
b0d6efb158
Export nsNntpUrl.h
1999-01-31 06:41:41 +00:00
mscott%netscape.com
a2aacd262a
Declare the "factory" generator for newsgoup lists as an extern so I can implement it in my test code...
1999-01-31 06:40:13 +00:00
mscott%netscape.com
c61eb91c33
Extra code that came about from my test code. Cleaned up how we load a URL. When processing the state, if we don't have an input stream and the current state is a "response" state then kick out and pause for read. Also cleared up some #ifdef UNREADY_CODE. Incorporated new code added to nsINntpUrl.
1999-01-31 06:39:23 +00:00
mscott%netscape.com
c4ca5bd594
Implement ISupports for this class...
1999-01-31 06:37:17 +00:00
mscott%netscape.com
0b816d1168
Added some extra debug code and declared the creation method as an extern so I can use it in my debug code...
1999-01-31 06:36:26 +00:00
mscott%netscape.com
872d5ea99e
Temporarily hiding link errors using very large #ifdefs....
1999-01-31 06:35:13 +00:00
mscott%netscape.com
3b9bf5b01d
Creating a news host requires a host and port....
1999-01-31 06:34:01 +00:00
mscott%netscape.com
82e0719f2c
Remove state flag debug information from header file and into nsNNTPProtocol.cpp....
1999-01-31 06:33:25 +00:00
mscott%netscape.com
65f206cdac
Url implementations of nsINntpUrl.h for news...
1999-01-31 06:32:49 +00:00
mscott%netscape.com
611dddc332
Export and build a heck of a lot more stuff...
1999-01-31 06:31:42 +00:00
mscott%netscape.com
7bf69f5644
Removing the delete operator from the interface. The IDL compiler will no longer generate these. So the next time the header files
...
were generated, the calls would have been removed anyway....
1999-01-31 06:30:32 +00:00
mscott%netscape.com
bd90c7dbcc
removing from repository so I can rename it to nsINntpUrl.h.
1999-01-28 21:31:59 +00:00
alecf%netscape.com
22fdf15ccf
implement the full nsISupports interface
1999-01-28 03:20:17 +00:00
alecf%netscape.com
de6c711312
slight change to the way nsINNTPNewsgroupLists are used - NewsgroupLists are contained by folders, so we don't create them.
1999-01-28 01:11:45 +00:00
mscott%netscape.com
64f34fb645
Externally define msg_LineBuffer....
1999-01-27 04:23:11 +00:00
mscott%netscape.com
f405a11f9a
Include rdf to fix build breakage when nsIMsgFolder started inheriting from an RDF interface....
1999-01-27 04:19:26 +00:00
mscott%netscape.com
9e1d7b3368
Use nsMsgFolderFlags.h instead of msgFolderFlags.h...
1999-01-27 04:03:17 +00:00
mscott%netscape.com
0a6810b20c
include rosetta.h in this file.
1999-01-27 03:58:45 +00:00
mscott%netscape.com
fc8f4e1fe7
Export nsINNTPCategoryContainer.h
1999-01-27 03:52:53 +00:00
alecf%netscape.com
8f69509b5c
remove some cruft, fix some indenting
1999-01-27 03:12:49 +00:00
alecf%netscape.com
ca38dfb9ae
add nsNNTPHost to build
1999-01-27 03:12:24 +00:00
alecf%netscape.com
a75da9a89d
slight case change in new interface
1999-01-27 03:12:11 +00:00
mscott%netscape.com
88a5229020
Adding code to parse a news url and to load a news url for the test harness...
1999-01-27 02:58:53 +00:00
alecf%netscape.com
3e75b8c0d2
add declarations for factories
1999-01-26 23:17:39 +00:00
alecf%netscape.com
0c717b4e53
fix build bustage - API change for GetRangeOfArtsToDownload and
...
special case for Windows to use char* instead of const char* for XP_AppCodeName
1999-01-26 21:41:55 +00:00
alecf%netscape.com
1233e34fac
nsNNTPNewsgroupList should be implementing nsINNTPNewsgroupList, not nsINNTPArticleList.
...
Made some API changes and class changes to bring them in sync
1999-01-26 21:32:51 +00:00
alecf%netscape.com
bb07ebe20a
the IDL compiler is smart enough to handle nsINNTPHost now
1999-01-26 21:32:04 +00:00
mscott%netscape.com
cde2bdb7dd
Temporarily add NET_SaCat/Copy to nsNNTPProtocol. Include allxpstr.h as well....
1999-01-26 21:26:48 +00:00
alecf%netscape.com
302889dc70
add delete operator so this will compile
1999-01-26 20:08:34 +00:00
alecf%netscape.com
75745b8e61
add factory and declarations for interface methods
1999-01-26 20:07:48 +00:00
alecf%netscape.com
5ce9355d5a
rename Initialize->Init to match interface, and add factory
1999-01-26 20:04:41 +00:00
alecf%netscape.com
a67de5046e
reflect Is -> Get getter stuff from XPIDL compiler change
1999-01-26 04:30:10 +00:00
alecf%netscape.com
1f6a025b8f
fix an api change
1999-01-26 04:15:20 +00:00
alecf%netscape.com
655cf9bb5f
fix a few more functions to bring this up to match the IDL
1999-01-26 04:14:57 +00:00
alecf%netscape.com
b3015cda16
fix some warnings, etc
1999-01-26 04:14:30 +00:00
alecf%netscape.com
e3c4424e0d
add new function so nsNNTPHost can compile
1999-01-26 04:12:46 +00:00
alecf%netscape.com
9fedff34b0
remove pane-specific AddSubscribedNewsgroup for now, and rename function
1999-01-26 04:12:10 +00:00
alecf%netscape.com
7b41b2c405
do lots of implementation of nsINNTPHost interface so that this class is instantiable.
1999-01-26 02:17:07 +00:00
alecf%netscape.com
152b43be0e
nsNNTPArticleList should be implementing the right interface
...
and implementing nsISupports
1999-01-26 02:15:59 +00:00
alecf%netscape.com
8ed0d481a1
fix return types
1999-01-26 02:14:12 +00:00
alecf%netscape.com
b8d810af3b
nsNNTPHost finally compiles. Adding it to the build system
1999-01-25 23:45:57 +00:00
alecf%netscape.com
eef01e3c92
newsgroups keep track of thier pretty names
...
newsgroups don't keep track of flags (that's a job for nsIMsgFolder)
1999-01-25 23:45:29 +00:00
alecf%netscape.com
1f1be21c36
add dummy nsIMsgFolder so that other things can compile.
...
putterman will check a real interface
1999-01-23 02:48:58 +00:00
alecf%netscape.com
b58d43ee0a
get rid of all references to MSG_FolderInfo (should be nsIMsgFolder)
1999-01-23 02:46:15 +00:00
alecf%netscape.com
ec520b92e1
more updates to make this thing compile!
...
Fix alot of the GetType() and IsCategory() routines to use QueryInterface instead.
1999-01-23 02:45:28 +00:00
alecf%netscape.com
e411e271f7
add new nsINNTPCategoryContainer to be exported
1999-01-23 02:42:26 +00:00
alecf%netscape.com
063a117aec
forgot to check in generated header
1999-01-23 02:42:05 +00:00
alecf%netscape.com
e13bf0724b
update attributes - flag is not an attribute, it's an accessor for many
...
different newsgroup (folder?) flags
1999-01-23 02:41:32 +00:00