Commit Graph

877 Commits

Author SHA1 Message Date
mscott%netscape.com
bced03e577 Call close on the mail database instead of release.... 1999-03-08 20:09:42 +00:00
mscott%netscape.com
3df38a1d80 When setting the byte range based on the message size subtract one byte (this gives it the proper byte range in the file...). 1999-03-08 19:53:10 +00:00
bienvenu%netscape.com
80fe750b61 fix db cache lookup bug 1999-03-08 19:50:24 +00:00
mscott%netscape.com
427bd2b535 Add ability to display a message given just a message number. We take this number (which is not a key or ID) and get the array of message keys from the db. We then extract the key corresponding to the number passed in. This interface function is used primarily to make debuggin easier where we don't have a message key or message ID lying around... 1999-03-08 02:12:50 +00:00
bienvenu%netscape.com
dc82e1a0ef make sure db name is strdupped before caching 1999-03-08 02:11:39 +00:00
mscott%netscape.com
73a6b0852b requires js for the prefs stuff. Link with rdf_utils.lib instead of rdf.lib. 1999-03-08 01:05:21 +00:00
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
fe5f0a6135 Change onClick to onclick to enable menu item commands. 1999-03-07 21:58:36 +00:00
mscott%netscape.com
460b4b651e Change rdf:id to id. (Although the thread pane doesn't seem to be working for me as of sunday's current tip....) 1999-03-07 21:58:15 +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
bienvenu%netscape.com
6544d49584 hook up a little more to mdb, add some error checking 1999-03-07 05:39:35 +00:00
bienvenu%netscape.com
eed53fffcc add ClearErrors stub 1999-03-07 05:38:54 +00:00
bienvenu%netscape.com
32d2a7b59a check for error creating msghdr in test prepulate method 1999-03-07 05:34:01 +00:00
cls%seawood.org
a88c4f62d6 Build db subdir before build so that libmailnewsmsgdb is available for libmailnews' final link. 1999-03-07 04:36:09 +00:00
mscott%netscape.com
e70e8fa175 fix build breakage when the base file i/o stream changed. 1999-03-06 01:37:00 +00:00
alecf%netscape.com
1aa8651e7a fix up autoregistration messenger bootstrap code 1999-03-06 01:29:31 +00:00
alecf%netscape.com
3e54d94ef0 fix newline at end of file problem 1999-03-06 01:24:36 +00:00
alecf%netscape.com
af6a61870f rev the idl-generated headers 1999-03-06 01:24:00 +00:00
alecf%netscape.com
a5fd680512 update interface to prepare to move nsMsgGroupRecord to be behind an interface 1999-03-06 01:23:07 +00:00
mscott%netscape.com
4f3ae36beb Fix build breakage for mcmullen using the file stream changes. 1999-03-06 01:21:41 +00:00
mscott%netscape.com
e32b33f6d7 fix build breakage. file stream updates for mcmullen. 1999-03-06 01:17:55 +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
chuang%netscape.com
6e617524fb Java script functions for shared command between mail and browser, like Communicator and Help menu 1999-03-06 00:43:10 +00:00
chuang%netscape.com
3f885e457f Java script functions for mailnews commands 1999-03-06 00:41:56 +00:00
chuang%netscape.com
a0b02d4e43 Java script functions for UI widgets 1999-03-06 00:41:21 +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
mscott%netscape.com
81351b60ce Leverage name spaces and remove rdf:id leaving just 'id'. This was causing the folder pane to come up blank.... 1999-03-06 00:07:27 +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
4b6fb55298 add mozilla/compose/build/Makefile 1999-03-06 00:04:33 +00:00
mscott%netscape.com
b2357b0bb0 Definition for LINEBREAK moved up into msgCore.h 1999-03-05 23:41:27 +00:00
mscott%netscape.com
32eded80a4 Add platform specific defintions for LINEBREAK (these came from nsMsgLineBuffer) 1999-03-05 23:40:53 +00:00
cyeh%netscape.com
b27fdb082f fix pdb file generation so that the go into $(OBJDIR) and also
have more useful names other than "none.pdb". some cleanup remains.
1999-03-05 23:24:48 +00:00
alecf%netscape.com
36c409e0fd removed lower-case version 1999-03-05 22:24:49 +00:00
rhp%netscape.com
3b004d1419 New files for XP-COM stream converter interface 1999-03-05 22:18:42 +00:00
bienvenu%netscape.com
ca1ea32c3c load mail root path from prefs.js 1999-03-05 21:17:59 +00:00