mscott%netscape.com
c18b57dcf1
Many many changes. (1) get rid of hard coded mailbox folder paths and rely on the the mail root folder preference being set. (2) when displaying a message, open the db, extract the array of msgKeys and ask the user which message they want to display. This number is based on the number of items in the msgKey array. Then use the user provided number as an offset into the msg key array to extract the correct message key to use. This provides us with a lot more testing flexibility instead of forcing the test to know the message key of each message he/she wanted to display. (3) remove call to NS_NewMsgParser and go through the repository instead....
1999-03-08 01:04:53 +00:00
mscott%netscape.com
ce2cade7b8
Remove NS_NewMsgParser. You should be going through the repository to create an instance of mailbox parser. I've already updated the nsLocalMsgFactory to be able to create instances of this object.
1999-03-08 01:00:52 +00:00
mscott%netscape.com
f91c73b94c
include xplib.h....
1999-03-08 00:01:04 +00:00
mscott%netscape.com
c18c2188f3
Add mailbox parser to list of components the local msg factory can create.
1999-03-08 00:00:44 +00:00
mscott%netscape.com
65f13deb8e
Assign a CID to the mailbox parser so we can create it through the local msg factory...
1999-03-07 23:53:14 +00:00
mscott%netscape.com
4588e008aa
Install DLL in components directory as part of dp's changes...
1999-03-07 21:54:46 +00:00
mcmullen%netscape.com
b29466b581
Adapt to the removed offset parameter in streams.
1999-03-06 01:03:12 +00:00
tague%netscape.com
32fceb4454
Fixed tree bustage
1999-03-06 00:58:50 +00:00
mscott%netscape.com
8c6329a13e
Don't link with rdf_utils. That is already linked into msglocal.lib.
1999-03-06 00:53:32 +00:00
mscott%netscape.com
3e33c081af
Remove extraneous functions....update to use ::RegisterComponent.
1999-03-06 00:53:11 +00:00
mcmullen%netscape.com
0c6079daf5
Trying to fix the use of streams (the offset parameter has gone).
1999-03-06 00:44:40 +00:00
mscott%netscape.com
fceeda0527
woops....fix typo....
1999-03-06 00:39:46 +00:00
mscott%netscape.com
a5637b5551
Add test code for displaying a mailbox message from a berkley mail folder.
1999-03-06 00:31:59 +00:00
mscott%netscape.com
5d81320989
LoadUrl now takes a display consumer. Add functionality for reading & displaying a mailbox message.
...
Right now we write the message to a temp file and then run a file url on the temp file to display the message.
So mkfile handles the rfc-822 to html conversion for us...
1999-03-06 00:31:06 +00:00
mscott%netscape.com
1ef44a196c
interface change, display message now takes a message id and a message key.
1999-03-06 00:30:10 +00:00
mscott%netscape.com
e2a681d7a6
Implemented a DisplayMessage service which takes a msg id, msg key a display consumer and possibly a url listener. It builds a mailbox url and runs it. Also, nsMailboxProtocol::LoadUrl now takes the consumer as an argument..
1999-03-06 00:29:50 +00:00
mscott%netscape.com
17ae9dfd45
many changes to how we parse a url. Added ability to extract message ID and message key from the search part.
...
When generating the url_struct for netlib, if we are a display mailbox url, then set the byte range based on message key and message size.
1999-03-06 00:29:10 +00:00
mscott%netscape.com
02fe502d6d
accessors for fetching a message key for the current url and a setter for setting the message size.
1999-03-06 00:28:23 +00:00
mscott%netscape.com
44c4e408c7
display message takes a message key and a messageID.
1999-03-06 00:27:58 +00:00
bienvenu%netscape.com
ca1ea32c3c
load mail root path from prefs.js
1999-03-05 21:17:59 +00:00
bienvenu%netscape.com
adaa177ffb
add rdf to the stupid mailbox parsing test app
1999-03-05 03:25:51 +00:00
putterman%netscape.com
10d5f82297
Need to register the datasource.
1999-03-04 05:24:12 +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
mscott%netscape.com
8fd5c2d239
Changes to make the mailbox test driver a url listener on the currently loaded url. This allowed me to use the test driver for mailbox urls as a test for url listeners...
1999-03-03 01:18:18 +00:00
mscott%netscape.com
d3da05c755
Update urlListener stuff.
1999-03-03 01:16:42 +00:00
mscott%netscape.com
0fd9236d8c
pass in urlListener as argument to parsing a mailbox.
1999-03-03 01:15:40 +00:00
mscott%netscape.com
f81fb8eafa
Add url listener manager support to mailbox urls.
1999-03-03 01:14:45 +00:00
mscott%netscape.com
f236b51fd2
When parsing a mailbox, allow the caller to pass in a url listener on the action....
1999-03-03 01:13:34 +00:00
mscott%netscape.com
c4ce8fa4f6
Build mailbox test.
1999-03-02 23:56:27 +00:00
putterman%netscape.com
20f8c5174f
Add ".msf" to the list of files types we should ignore when building folders.
1999-03-02 18:32:39 +00:00
putterman%netscape.com
95d1d8c1b2
Added ability to GetMessages from prepopulated database.
1999-03-02 17:17:53 +00:00
bienvenu%netscape.com
af016000d9
use registerComponent instead of registerfactory to fix build bustage
1999-02-28 22:03:19 +00:00
bienvenu%netscape.com
6680a42541
set recipients and cc list as an array of addresses
1999-02-28 22:02:20 +00:00
putterman%netscape.com
315c9e8482
Start writing GetMessages and make folder pane work again.
1999-02-27 07:16:58 +00:00
alecf%netscape.com
b9bd603ea9
fix unix bustage - can't construct objects and pass them as & parameters at the same time
1999-02-26 18:25:57 +00:00
warren%netscape.com
f8b67aa56a
Making it build with new RDF registration mechanism.
1999-02-26 12:24:22 +00:00
bienvenu%netscape.com
f4a2d1d5a8
add new hdrs to db and turn on notification by default
1999-02-26 06:01:26 +00:00
mscott%netscape.com
bf4616c95a
nsFileSpec updates...
1999-02-26 04:06:37 +00:00
mscott%netscape.com
17c3b871c9
Add parsing code if the id is part of the urlspec. Use mailbox action enum.
1999-02-26 04:04:33 +00:00
mscott%netscape.com
514f4fdbb3
Fix build breakage. Convert char * to a nsstring before passing it to createNode
1999-02-26 04:03:44 +00:00
mscott%netscape.com
8dd1e0a3d2
Add enum for mailbox url action type.
1999-02-26 04:00:21 +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
bienvenu%netscape.com
d2e486af10
fix default mailbox path- needs leading /
1999-02-25 04:03:32 +00:00
putterman%netscape.com
b4abbd79bb
changed to use msgdb.lib
1999-02-25 02:58:35 +00:00
putterman%netscape.com
e44f24962d
made folder lists work and added db for message counts.
1999-02-25 02:58:04 +00:00
putterman%netscape.com
a395bc3b64
Fixed clobber
1999-02-25 02:57:30 +00:00
putterman%netscape.com
6c05a2f1ee
added clobber
1999-02-25 02:57:13 +00:00
mscott%netscape.com
f8def9a66c
First checked in.
1999-02-25 02:41:37 +00:00
bienvenu%netscape.com
124fe70732
add call to DoneParsingFolder so we'll commit database
1999-02-25 02:00:48 +00:00
mscott%netscape.com
2e6576f210
Build nsMailboxService.
1999-02-25 01:12:03 +00:00
mscott%netscape.com
d3e44cdc45
header file for mailbox service implementation.
1999-02-25 01:10:27 +00:00
mscott%netscape.com
e334fb9163
Export nsIMailboxService.h
1999-02-25 01:08:30 +00:00
mscott%netscape.com
ca1ed09794
Remove dependencies on local.lib. Use the mailbox service for building and running mailbox urls. This allows to just use the dll form of msglocal.
1999-02-25 01:05:36 +00:00
mscott%netscape.com
fe5145d74f
Creating a protocol instance shouldn't require a transport. We should create it ourselves. When running a url, mark it as being processed.
1999-02-25 01:03:45 +00:00
mscott%netscape.com
10e2be4572
Build nsMailboxService
1999-02-25 01:02:27 +00:00
mscott%netscape.com
0b80d9ad58
Implement new nsIMsgMailNewsUrl methods...
1999-02-25 01:02:00 +00:00
mscott%netscape.com
f2390beb9b
Add msgCore.h at top for pre-compiled headers. Added ability for factory to create mailbox urls and mailbox service.
1999-02-24 22:11:10 +00:00
mscott%netscape.com
398bb12407
Remove duplicate include of xpcom32.lib.
1999-02-24 22:10:11 +00:00
mscott%netscape.com
56e3af4f61
Add class ID so our local factory can create instances of it. Use the new nsIMsgMailNewsUrl interface instead of inheriting directly from nsIURL.
1999-02-24 22:09:24 +00:00
mscott%netscape.com
aba56886e8
Export nsIMailboxService.h
1999-02-24 22:08:12 +00:00
mscott%netscape.com
9e67609ca4
Service for running mailbox commands. This separates the application from building and running the urls...
1999-02-24 22:07:47 +00:00
bienvenu%netscape.com
bb6a3fcb2c
remove use of XP_ASSERT
1999-02-24 16:34:39 +00:00
warren%netscape.com
747c99adae
Removed dead GetRoot code.
1999-02-24 10:54:03 +00:00
warren%netscape.com
59a5c261e9
Reorganization. Changes for collections, enumerations, generic folders, file paths, etc.
1999-02-24 10:39:06 +00:00
putterman%netscape.com
cf2ea9d0cd
These got moved to the build directory.
1999-02-23 07:13:38 +00:00
putterman%netscape.com
21da364d0b
Create the dll in the build directory, not here.
1999-02-23 07:09:34 +00:00
putterman%netscape.com
05fe972b0c
Added build directory.
1999-02-23 07:08:56 +00:00
putterman%netscape.com
2217c282ff
Added nsLocalMailFolder to local directory.
1999-02-23 05:23:06 +00:00
bienvenu%netscape.com
44ec436d3f
fix name of exe for clobber target
1999-02-23 03:38:32 +00:00
bienvenu%netscape.com
a56b694916
add new hdr to db to commit it
1999-02-23 03:37:21 +00:00
putterman%netscape.com
a06a0b8ea4
Added factory to local directory.
1999-02-23 01:32:45 +00:00
putterman%netscape.com
fadb204bb3
Make local its own dll.
1999-02-23 00:48:09 +00:00
putterman%netscape.com
042cb6b414
Take tests directory out of the build until we fix exporting issues.
1999-02-23 00:31:16 +00:00
bienvenu%netscape.com
0700c188cf
use nsNativeFileSpec to construct pop state.dat file name
1999-02-22 23:28:41 +00:00
putterman%netscape.com
a506001478
added NET_SACopy.
1999-02-22 23:03:53 +00:00
bienvenu%netscape.com
3c18fa50c2
link with the dll rdf to get rid of linker warnings
1999-02-19 01:42:25 +00:00
bienvenu%netscape.com
3dc6bc209c
test PrePopulate method
1999-02-17 23:19:31 +00:00
bienvenu%netscape.com
9a5769752d
dumpt in-memory toy db after reparsing folder
1999-02-17 22:38:57 +00:00
warren%netscape.com
49fe0fe239
Added some RDF accessors for messages.
1999-02-17 06:15:13 +00:00
alecf%netscape.com
f85cb4a25e
ignore generated files
1999-02-17 06:01:24 +00:00
alecf%netscape.com
f15f92b708
add test directories back to build
1999-02-17 05:59:14 +00:00
alecf%netscape.com
18358985ef
fix for egcs 1.0.x multiple inheritance bug
1999-02-17 05:59:01 +00:00
warren%netscape.com
e69b078636
Scott Putterman's changes to make the folder pane work.
1999-02-17 05:32:08 +00:00
bienvenu%netscape.com
b768f8a7ff
call base class line handler to get parsing to work
1999-02-17 00:36:07 +00:00
bienvenu%netscape.com
bdab3045e5
make pop3 protocol use mailbox parse and line buffer
1999-02-17 00:09:22 +00:00
alecf%netscape.com
34230cc33e
remove pop3/mailbox tests from unix build until unix makefiles are written
1999-02-16 18:12:52 +00:00
bienvenu%netscape.com
b453dd105d
change default mailbox path
1999-02-15 03:05:20 +00:00
bienvenu%netscape.com
a6d9443a3e
we need rdfbase now
1999-02-14 22:34:47 +00:00
bienvenu%netscape.com
eeddd09934
get rid of duplicate m_mailDB in derived class
1999-02-14 22:34:00 +00:00
bienvenu%netscape.com
cf5f976a91
override IID method
1999-02-14 19:31:54 +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
35ec1b6bbb
Fixes some bugs including one that made folders show up twice.
1999-02-13 02:45:22 +00:00
bienvenu%netscape.com
e1c97cc07f
remove stubs, add db lib
1999-02-13 01:17:26 +00:00
bienvenu%netscape.com
00d22449a2
add call to tell parser stream to start binding
1999-02-13 01:16:15 +00:00
bienvenu%netscape.com
f18050cb00
change name of mailbox parser, hook up mail db
1999-02-13 01:14:33 +00:00
bienvenu%netscape.com
303af6e7e1
add nsParseMailbox
1999-02-13 01:13:24 +00:00
mscott%netscape.com
ecbbe8bddf
Add method for retrieving an nsFilePath for the mailbox.
1999-02-12 22:40:47 +00:00
mscott%netscape.com
7e5b9e83cb
Add accessor for retrieving an nsFilePath for the mailbox.
1999-02-12 22:38:58 +00:00
mscott%netscape.com
3902b6b61f
Build the tests directory...
1999-02-12 05:34:29 +00:00
mscott%netscape.com
426a6caef8
Build mailbox protocol and mailbox url classes...
1999-02-12 05:27:36 +00:00
mscott%netscape.com
7ff6ba09de
Export nsIMailboxUrl.h
1999-02-12 05:27:04 +00:00
mscott%netscape.com
a607490ded
makefile for building mailbox test stuff
1999-02-12 05:26:42 +00:00
mscott%netscape.com
81bbd0c065
Build mailbox test directory
1999-02-12 05:26:21 +00:00
mscott%netscape.com
2e1447e0a6
Added some comments about how this test app works...
1999-02-12 05:07:59 +00:00
mscott%netscape.com
9e934a74be
Build the mailboxTest harness....
1999-02-12 04:49:04 +00:00
mscott%netscape.com
75d34aec3d
Test harness for mailbox urls.
1999-02-12 04:48:46 +00:00
mscott%netscape.com
c7a0009f0f
A stub implementation of the mailbox parser used to test parsing mail folder mailbox urls...
1999-02-12 04:48:31 +00:00
mscott%netscape.com
dfad8c6c25
Build new mailbox protocol stuff...
1999-02-12 04:47:33 +00:00
mscott%netscape.com
a73271b892
First check in of the mailbox protocol module.
1999-02-12 04:46:51 +00:00
mscott%netscape.com
84ad13250c
Implementation of nsIMailboxUrl interface
1999-02-12 04:46:24 +00:00
mscott%netscape.com
f2a5f958d9
Export nsIMailboxurl.h
1999-02-12 04:44:13 +00:00
mscott%netscape.com
d8fdf9cd13
Interface for mailbox urls...
1999-02-12 04:43:46 +00:00
bienvenu%netscape.com
f77b185a7c
test mailbox parser code
1999-02-12 02:00:08 +00:00
bienvenu%netscape.com
da092e57c1
get test mailbox parser linking
1999-02-12 01:59:16 +00:00
bienvenu%netscape.com
8ea0c2fbfb
get local folder stuff to linking point
1999-02-11 18:06:08 +00:00
bienvenu%netscape.com
915a3b55a5
start getting mailbox parsing going
1999-02-11 07:10:24 +00:00
alecf%netscape.com
f4723f74c2
ignore Makefile
1999-02-11 06:51:42 +00:00
mscott%netscape.com
f521ec53c1
Replaces old Makefile.in. We now want to build pop3 directory...
1999-02-11 03:57:53 +00:00
mscott%netscape.com
ae1c1ea360
Adding to build new directory...
1999-02-11 03:56:36 +00:00
mscott%netscape.com
ec2903802b
moved into new subdirectory....
1999-02-11 03:33:04 +00:00
mscott%netscape.com
3d632c09ce
Build pop3 subdirectory...
1999-02-11 03:32:20 +00:00
mscott%netscape.com
c9884d5495
This has been moved into a tests/pop3 subdirectory...
1999-02-11 03:31:14 +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
aee2e0ccbe
Remove assertion that is no longer valid...
1999-02-11 03:07:24 +00:00
mscott%netscape.com
2e2f40723a
Fix build breakage....for some reason it suddennly started having problems with LINEBREAK. I added a defintion here...although
...
it is also defined in nsMsgLinebuffer.cpp....seems like we want to find a generic place for this.
1999-02-10 01:16:37 +00:00
mscott%netscape.com
871f319817
Include "msgCore.h" at the top of the source file to utilize pre-compiled headers...
1999-02-07 01:19:48 +00:00
alecf%netscape.com
28fb61bbde
update to new NSPR types & utility routines
1999-02-06 02:55:39 +00:00
warren%netscape.com
e27952d474
How did this ever compile?
1999-02-06 02:15:47 +00:00
warren%netscape.com
d343f7cbab
More cleanup of XPPtrArray. Factored nsMsgFolder, adding nsMsgLocalMailFolder.
1999-02-06 02:11:54 +00:00
mscott%netscape.com
8575f082e8
fixed build problem; m_fileCounter undefined
1999-02-06 02:04:41 +00:00
jefft%netscape.com
c5b65110ec
fixed linux build problem
1999-02-06 01:33:37 +00:00
putterman%netscape.com
8e5691f73c
Makes Folder Data Source work with new nsIMsgFolder.
1999-02-06 00:37:40 +00:00
putterman%netscape.com
0de0426a38
Makes Folder Data Source work with new nsIMsgFolder.
1999-02-06 00:30:44 +00:00
alecf%netscape.com
bdfea7fab3
fix unix mail/news Makefiles to actually build correctly
1999-02-05 20:15:54 +00:00
mscott%netscape.com
a7be33d09d
change You have got mail! ==> Ya'll got mail!
1999-02-05 18:53:33 +00:00
jefft%netscape.com
66380fe0ab
check valid return pointer from strtok()
1999-02-05 16:27:26 +00:00
alecf%netscape.com
6a70fc538f
add newlines at the end of these files
...
(to play nice with some compilers)
1999-02-05 08:04:27 +00:00
jefft%netscape.com
4c6ef89364
minor clean up
1999-02-05 07:34:45 +00:00
jefft%netscape.com
1087e858bb
comment out NS_ASSERTION in SetHostPort(); this is a temporary fix
1999-02-05 07:21:06 +00:00
jefft%netscape.com
64bbd25201
fixed infinit loop problem if popstate.dat does not exist
1999-02-05 07:11:30 +00:00
mscott%netscape.com
2829373a91
Ref count the event sink after we create it....
1999-02-05 02:57:19 +00:00
mscott%netscape.com
4383b79a07
Initialize pop3 sink's ref count value...
1999-02-05 02:56:40 +00:00
jefft%netscape.com
861de1ef16
calling nsITransport->Open() instead of nsITransport->LoadURL()
1999-02-05 01:36:24 +00:00
jefft%netscape.com
ae2d2a2032
initial coding
1999-02-04 22:42:01 +00:00
jefft%netscape.com
fcaee0bb7d
Initial coding
1999-02-04 22:41:24 +00:00
jefft%netscape.com
4a8d56ac0a
added Pop3 protocol implementation
1999-02-04 22:29:33 +00:00
jefft%netscape.com
0e426c6cfa
added nsIPop3Sink.h & nsIPop3URL.h
1999-02-04 22:25:04 +00:00
jefft%netscape.com
ba506573ec
added tests directory
1999-02-04 22:12:53 +00:00
putterman%netscape.com
3565c966a9
Added changes to use new RDF resource and nsIMsgMailFolder.
1999-02-04 17:57:06 +00:00
alecf%netscape.com
7ae7a62b54
don't check in Makefile
1999-02-02 00:13:17 +00:00
putterman%netscape.com
1a7f4e9cc4
Adding folder data source to tree.
1999-01-28 01:18:36 +00:00
putterman%netscape.com
5232fb4a81
Adding folder datasource to the build.
1999-01-28 01:16:36 +00:00
putterman%netscape.com
0b8ec29a77
Adding to the build
1999-01-28 01:14:54 +00:00