Commit Graph

630 Commits

Author SHA1 Message Date
putterman%netscape.com
0517f9b823 Move messages to trash on delete. 1999-06-14 22:24:35 +00:00
mscott%netscape.com
bd8c64b8a2 Fix copy messages which I broke when I cleaned up some of this code. *oops* 1999-06-14 04:30:31 +00:00
bienvenu%netscape.com
33e7b223dc prepare for msgdb idl 1999-06-14 02:20:41 +00:00
bienvenu%netscape.com
1b40be544f move comment nearer code it refers to 1999-06-12 02:04:08 +00:00
mscott%netscape.com
f8b2b1a3d2 Fix free memory write by freeing string after we call atol on it. 1999-06-12 00:27:09 +00:00
putterman%netscape.com
38e8644d22 Add a new parameter for CheckNewMail 1999-06-11 22:14:35 +00:00
putterman%netscape.com
27e0b043bf More work on Biff. Use standard BiffTypes enum. 1999-06-11 22:14:08 +00:00
putterman%netscape.com
0069a57917 Add methods for Biff. 1999-06-11 22:13:18 +00:00
bienvenu%netscape.com
aa6f741aaa restructure filter code to start on imap filters 1999-06-11 07:07:04 +00:00
mscott%netscape.com
32cbc72383 When displaying a message (writing it to a file), we should skip the first line of the message which is part of the
dummy envelope for the message. We don't want to include this line.
1999-06-11 02:44:06 +00:00
mscott%netscape.com
98d43a8dcf Finish save messsage to disk work --> reworked mailbox protocol to use an nsIFileSpec for the temp message
we write in order to display messages. Also added code to set the temp file to be the save message to disk
file if that was the type of url we are running.
1999-06-10 22:08:32 +00:00
mscott%netscape.com
33735da7ab Be sure to set byte range for mailbox urls where the action is save file to disk. 1999-06-10 22:06:19 +00:00
jefft%netscape.com
5343385862 undo framework 1999-06-10 14:55:36 +00:00
mscott%netscape.com
7834f208ee fix memory leak 1999-06-10 03:06:28 +00:00
alecf%netscape.com
3944e0db2c fix some leaks 1999-06-10 02:17:33 +00:00
mscott%netscape.com
72b8b8cd31 Quiet a noisy printf. 1999-06-10 00:40:53 +00:00
mscott%netscape.com
8f4e01df15 clean up work for pop3 protocol --> remove useage of the 8K output buffer which got ported over from the 4.x days. I use nsAutoString isntead (most of the data we write into the buffer is very small...it's protocol cmd data). This should help improve the memory footprint for pop.
Mad command_response, password and username all nsStrings instead of char *s.
1999-06-10 00:40:28 +00:00
mscott%netscape.com
a651c2085e MLK fixes. Free the line returned by calling ReadNextLine until I have time to come back and make ReadNextLine
not allocate a new buffer for the returned line.
1999-06-09 21:44:01 +00:00
mscott%netscape.com
0f5ff884ae Code clean up --> added methods for building and running a mailbox url. This simplified a lot of the command methods like display message, copy message, etc.
save msg to disk work went in as well.
1999-06-09 21:05:53 +00:00
mscott%netscape.com
1083a22682 save msg to disk work. --> added getter/setting for msg nsIFileSpec 1999-06-09 21:05:10 +00:00
mscott%netscape.com
40951d8183 Add save msg to file action to mailbox actions. Add getter/setter for nsIFileSpec used to store the message when 1999-06-09 21:03:36 +00:00
Jerry.Kirk%Nexwarecorp.com
fdbb5d319d - Bug 7794 Move $(TK_LIBS) further down in the library list. 1999-06-09 19:48:58 +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
alecf%netscape.com
2f34d8b24b don't export these files on unix 1999-06-09 00:23:37 +00:00
alecf%netscape.com
4e5a184994 these files are now generated 1999-06-09 00:23:01 +00:00
alecf%netscape.com
467c8245bd start doing XPIDL on windows in local 1999-06-09 00:20:38 +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
mscott%netscape.com
5eab92356f random changes to a non building test file =).
Bug #5633 --> more NS_WITH_SERVICE changes....I missed 2 spots last time.
1999-06-08 03:13:10 +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
ff06a93a06 Unification of LoadUrl signature to remove some warnings on Linux & Mac. LoadUrl signature takes a display consumer 1999-06-08 00:01:27 +00:00
mscott%netscape.com
989344b80b remove IGNORE_MANIFEST. 1999-06-07 21:28:20 +00:00
mscott%netscape.com
7076a0c3d5 remove IGNORE_MANIFEST and remove LCFLAGS since we don't have any. 1999-06-07 21:11:16 +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
c364d8954a Load has become LoadUrl on the pop3 protocol class. 1999-06-05 22:52:15 +00:00
mscott%netscape.com
3704aba1d0 Major revamping of the pop protocol. Themain changes were to use my new nsMsgProtocol base class for most of the core netlib interaction. 1999-06-05 22:51:46 +00:00
mscott%netscape.com
250468eea3 Add nsIMsgMailNewsUrl to the QI method. 1999-06-05 22:30:48 +00:00
mscott%netscape.com
bae17d6ab2 Fix unix warning by removing unused variable. 1999-06-05 20:41:10 +00:00
mscott%netscape.com
3569277683 LoadURL is now LoadUrl on the mailbox protocol as part of the nsMsgProtocol changes. 1999-06-05 20:37:42 +00:00
mscott%netscape.com
0f44bac4bd Major revamping of the mailbox protocol. The main changes were to use my new nsMsgProtocol base class for most of the core netlib interaction. 1999-06-05 20:36:58 +00:00
mscott%netscape.com
03e4921265 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-05 00:15:12 +00:00
mscott%netscape.com
340dbf65f1 Include nsIFileSpec.h 1999-06-04 22:44:11 +00:00
mscott%netscape.com
636c568618 support SaveMessageToDisk (stub right now)
replace nsAutoCString with more efficient nsAutoString
1999-06-04 22:42:31 +00:00
mscott%netscape.com
693efe6500 replace nsAutoCString with more efficient nsAutoString 1999-06-04 22:41:56 +00:00
sspitzer%netscape.com
50b315979f even though it doesn't build right now, follow briano's lead and use
MOZ_DLL_SUFFIX
1999-06-04 22:31:32 +00:00
sspitzer%netscape.com
003183591d follow briano's lead and use MOZ_DLL_SUFFIX 1999-06-04 22:30:45 +00:00
sspitzer%netscape.com
8bd98decde follow briano's lead and use MOZ_DLL_SUFFIX.
also make some changes to get this building again.  It's still not complete,
but its closer.
1999-06-04 22:28:10 +00:00
mscott%netscape.com
562c5e4e2b Export nsLocalMailFolder.h 1999-06-03 23:31:58 +00:00
mscott%netscape.com
932a7ae28c Remove unnecessary LINCS now that all headers are pushed to the same directory. 1999-06-03 23:31:57 +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
ducarroz%netscape.com
7f790e91a1 First Checked In. 1999-06-01 23:12:32 +00:00
bienvenu%netscape.com
70e5efbc4e get local mail filters working 1999-05-29 17:09:39 +00:00
mcafee%netscape.com
143ed22419 Fix implicit declaration warning for atoi(). Thansk to Brian Ryner bryner@uiuc.edu for this fix. 1999-05-29 08:56:53 +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
blizzard%redhat.com
336beea369 remove hard coded toolkit names in tests 1999-05-28 03:42:59 +00:00
bienvenu%netscape.com
aebb6c1bba fix ref counting problem on isupports filter stuff 1999-05-28 02:15:31 +00:00
alecf%netscape.com
ff3c5ccf00 GetCharPref() is going away for nsIPref scriptability - use CopyCharPref instead 1999-05-28 00:56:53 +00:00
mcmullen%netscape.com
7dce873c56 Removed base/baseDebug.shlb 1999-05-28 00:48:24 +00:00
bienvenu%netscape.com
14e6523f6e fix build bustage in filter code 1999-05-28 00:38:24 +00:00
mscott%netscape.com
12ff1a5901 Register component for nsIMgParseMailMsgState. 1999-05-27 22:11:18 +00:00
mscott%netscape.com
325bd2325a use nsIMgParseMailMsgState. This generalizes the message parser behind an interface so other components can use it without linking against local. 1999-05-27 22:10:10 +00:00
mscott%netscape.com
80ead13837 Export nsIMsgParseMailMsgState.h 1999-05-27 22:09:15 +00:00
mscott%netscape.com
9268a4f944 Add claas id for nsIMgParseMailMsgState 1999-05-27 22:06:40 +00:00
mscott%netscape.com
fceb885555 export nsIMsgParseMailMsgState.h 1999-05-27 21:39:28 +00:00
mscott%netscape.com
15c7df08bd Not part of build yet. An interface that will sit on top of the message mail statee parser so other components can use it. 1999-05-27 20:53:19 +00:00
bienvenu%netscape.com
dc67f8381f fix build bustage 1999-05-27 06:08:15 +00:00
bienvenu%netscape.com
f9b86efab9 fix build bustage 1999-05-27 05:47:52 +00:00
alecf%netscape.com
8b3e631493 API change - Get/SetUserName -> Get/SetUsername 1999-05-27 05:47:28 +00:00
alecf%netscape.com
d8a5753963 finish IDL-ifying these interfaces
Also stop caching the local mail directory in the pop3 sink and instead ask for it on demand from the nsIMsgIncomingServer
1999-05-27 04:56:53 +00:00
alecf%netscape.com
2a593d8922 remove unnecessary windows-specific code 1999-05-27 04:55:40 +00:00
alecf%netscape.com
ce96050bba fix these asserts so that we know which variable is bad 1999-05-27 04:55:10 +00:00
alecf%netscape.com
26053eb932 IDL-ify these interfaces
move CIDs into nsMsgLocalCID
1999-05-27 04:53:32 +00:00
alecf%netscape.com
fc328a2d9b IDL-ify this interface
had to make nsFileSpec non-const for now
1999-05-27 04:51:20 +00:00
alecf%netscape.com
b8694b9485 include the CID file because CIDs are going away from interfaces 1999-05-27 04:47:13 +00:00
sspitzer%netscape.com
f9d6b9de1a fix build bustage on UNIX 1999-05-27 03:31:25 +00:00
sspitzer%netscape.com
ff7836c07d fix UNIX build bustage 1999-05-27 03:30:33 +00:00
mcafee%netscape.com
79ceccc4d4 Some code wasn't ifdef'd for DOING_FILTERS properly. a=bienvenu 1999-05-27 01:07:24 +00:00
bienvenu%netscape.com
729931951f changes for mail filters, including setting root folder for server 1999-05-26 23:56:21 +00:00
putterman%netscape.com
9f92f3e16c More work on DeleteFolders. 1999-05-26 23:47:01 +00:00
mscott%netscape.com
40a2a52e97 Bug 6722 --> replace PR_Open with nsFileSpec/nsFileStream. 1999-05-26 22:59:26 +00:00
alecf%netscape.com
ee4de749d8 fix bustage by adding gfx/img/mozutil 1999-05-26 08:07:54 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
putterman%netscape.com
e9073f8c33 Fix for 6975. Make sure there's a valid database before accessing it. Reviewed by
mscott. Approved by chofmann.
1999-05-24 22:02:50 +00:00
bienvenu%netscape.com
cbef1620ae more work on filter actions 1999-05-19 01:56:32 +00:00
alecf%netscape.com
55de2eb7ed fix for #5792 - remove leading '/' that occurs on unix 1999-05-19 00:36:58 +00:00
alecf%netscape.com
f1b3e3d7d5 fix newline at end of file 1999-05-19 00:36:13 +00:00
alecf%netscape.com
8c752b1ad3 remove unused variable 1999-05-19 00:30:13 +00:00
mscott%netscape.com
d09f0061ac Updates with msgcoreutil building as a dll. 1999-05-18 23:59:45 +00:00
mscott%netscape.com
3f980cc4d3 clean up makefile, remove unnecessary define. 1999-05-18 23:59:16 +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
alecf%netscape.com
fc38632422 fix some warnings, get rid of variable named index() and cache value of GetSize() 1999-05-18 02:22:56 +00:00
bienvenu%netscape.com
8ae1dd1ae2 remove debugging statements, unused defines 1999-05-17 23:35:45 +00:00
bienvenu%netscape.com
84997f013a move GetChildNamed implementation from local subclass 1999-05-17 22:50:04 +00:00
bienvenu%netscape.com
28f7bb8612 start work on msg filters, ifdeff'ed out 1999-05-17 02:06:29 +00:00
putterman%netscape.com
ccd1ec9340 Implemented GetHostName. 1999-05-16 22:47:27 +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
mscott%netscape.com
bda36d538f code cleanup --> use nsAutoCString instead of .newCString. 1999-05-15 19:37:27 +00:00
putterman%netscape.com
c654ed830b call MarkRead instead of OrFlags. 1999-05-14 00:46:07 +00:00
mscott%netscape.com
f3b78551cf Fix memory leak by removing unused QI to an object. this caused us to leak pop3 urls when getting new mail. 1999-05-14 00:40:11 +00:00
alecf%netscape.com
d5a67a4a1e nsCOMPtr audit and remove my stupid debugging comment 1999-05-14 00:21:52 +00:00
bienvenu%netscape.com
0e0bb8ff20 remove db listener in base class 1999-05-13 23:19:35 +00:00
mscott%netscape.com
54709e5fbf fix shadowed variables 1999-05-13 21:58:53 +00:00
warren%netscape.com
87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
bienvenu%netscape.com
07668e51a0 remove self as listener when going away 1999-05-13 02:35:24 +00:00
mscott%netscape.com
6ce4f6cf2c Whenever we display a message, be sure to mark it as read in the db. Use url method to get msghdr for a message instead of doing it ourselves. 1999-05-12 22:53:05 +00:00
mscott%netscape.com
cd6394f10d add accessor to get msg db hdr for a mailbox url. 1999-05-12 22:51:26 +00:00
mscott%netscape.com
2885be624e part of mailnews audit --> use nsCOMPtr. Use NS_SUCCEEDED test instead of comparing directly against NS_OK. fix mem leak on msghdr & mismatched memory free. 1999-05-11 23:47:13 +00:00
putterman%netscape.com
a0839afb8e Fix mismatch memory free. 1999-05-11 22:28:34 +00:00
ducarroz%netscape.com
672fe09e01 Don't create anymore a nsFileSpec from a unix path 1999-05-11 00:38:08 +00:00
putterman%netscape.com
8942e3da0f Changed DeleteMessage to DeleteMessages 1999-05-10 23:55:41 +00:00
ducarroz%netscape.com
e356dfb580 Fix bug #6175 due to nsFileSpec behavior changed on Mac 1999-05-10 22:23:28 +00:00
ducarroz%netscape.com
3a2cca9097 fix bug #6175 due to new behavior of nsFileSpec on Mac 1999-05-10 22:02:39 +00:00
putterman%netscape.com
a9e70b268a Derive from nsMsgDBFolder. 1999-05-10 21:47:59 +00:00
bienvenu%netscape.com
8a4994d751 fix priority enum names 1999-05-10 21:08:18 +00:00
sspitzer%netscape.com
657ce27306 kIsRead is now MSG_FLAG_READ 1999-05-08 17:23:30 +00:00
putterman%netscape.com
c2c6859279 use SetParent() 1999-05-07 20:22:01 +00:00
putterman%netscape.com
d2cc181656 HasMessage and GetNewMessages implemented. 1999-05-07 00:34:50 +00:00
alecf%netscape.com
dbadca0a8d remove call to GetRootFolderPath 1999-05-07 00:27:24 +00:00
mscott%netscape.com
e572b0bf3f part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-07 00:11:43 +00:00
mscott%netscape.com
aa471eab0e part of mailnews audit --> use nsCOMPtr. 1999-05-07 00:06:23 +00:00
mscott%netscape.com
d6083ce608 Calling close on a nsIMsgDatabase no longer releases a ref count so we can now use nsCOMPtr on it. 1999-05-07 00:03:12 +00:00
dp%netscape.com
b5707f7a96 Converting stray UnregisterFactory calls to UnregisterComponent 1999-05-06 01:37:04 +00:00
mscott%netscape.com
5f301a0025 Bug 5991 --> Fix crash in pop3Test caused by the event queue carpool yesterday. We need to make sure the event queue is registered. 1999-05-06 01:35:40 +00:00
sspitzer%netscape.com
67c44b2b57 warnings be gone! 1999-05-06 00:17:15 +00:00
alecf%netscape.com
3e743b0a8b remove some stupid debugging printfs 1999-05-05 02:35:53 +00:00
ducarroz%netscape.com
dfb1117ca7 First Checked In. 1999-05-05 00:04:48 +00:00
mscott%netscape.com
a74fc4e741 Changes for QA smoketest. Be noisy for release builds when getting new mail --> print out results of BIFF and report when get new mail is completed. 1999-05-05 00:02:23 +00:00
hyatt%netscape.com
ae4e8ae9ca Switching over to nsIEventQueues. 1999-05-04 23:31:07 +00:00
mscott%netscape.com
215c6a5834 part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:51:14 +00:00
mscott%netscape.com
1b4e862aa7 part of mailnews audit --> Conversion to NS_WITH_SERVICE 1999-05-04 22:48:37 +00:00
mscott%netscape.com
91448507d2 part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:43:09 +00:00
putterman%netscape.com
2b215866ac use nsCOMPtr and nsIDBMessage. 1999-05-04 22:35:41 +00:00
mscott%netscape.com
1ae5e91207 part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:21:48 +00:00
alecf%netscape.com
bec9130110 second attempt at a fix for #5792 - this time take into account platforms which cannot use "/" as a directory seperator 1999-05-04 05:03:04 +00:00
alecf%netscape.com
9b9373e4b5 fix for #5792 - pass the URI, not the local file path to nsBuildLocalMessageURI, and add a helper function to do a hacky conversion from the local file path to the URI
a=chofmann
1999-05-03 23:52:12 +00:00
ducarroz%netscape.com
1617a3f8e2 fix for #5855, A=chofmann. delay Creation of mPath to avoid avoid to create a nsFileSpec without knowing the path. Propagate error returned by nsGetMailboxRoot() in nsLocalURI2Path(). 1999-05-03 21:40:44 +00:00
sspitzer%netscape.com
b18c4a7c00 fix for bug #5804. get pop3Test to build on Linux. 1999-05-01 02:12:10 +00:00
alecf%netscape.com
93cade1202 oops, forgot this extra fix for #5681 to take .sbd files into account 1999-04-30 22:12:56 +00:00
alecf%netscape.com
5716f0d507 fix for #5609 - don't add trailing "/" to base server URI
r=scottip a=chofmann (as with the last checkin as well)
1999-04-30 19:59:11 +00:00
alecf%netscape.com
7ed0c1c399 fix for #5609: check for trailing / in URIs when extracting the name
fix for #5681: fix URI->file path converter to take into account subdirectories along the way
1999-04-30 19:58:19 +00:00
sspitzer%netscape.com
b82a0d7263 fix for bug #5668. now multiple news hosts really works. 1999-04-29 04:10:49 +00:00
jefft%netscape.com
cdc904218d fixed bug 5662 - imap failed to discover folders and downloading mail messages; fixed memory leaks when building message URI; r=mscott, a=chofmann 1999-04-29 00:13:55 +00:00
mscott%netscape.com
1e25c4063c nsLocalUri2Path fix. If the folder part of the uri is "" don't try to append it to the local path as that adds an unwanted '\' on windows. 1999-04-28 06:58:59 +00:00
alecf%netscape.com
1b40c12b63 fix string casting problem with varargs parameters 1999-04-28 06:26:41 +00:00
alecf%netscape.com
fec2cc609e remove stupid debugging statements 1999-04-28 06:22:26 +00:00
mscott%netscape.com
a23d526f99 Fix windows build problem. you can't delete a const char * without casting i.. I changed the codeto use a nsAutoCString. 1999-04-28 06:21:58 +00:00
alecf%netscape.com
626b99354b fix newline at end of file problem 1999-04-28 06:12:26 +00:00