Commit Graph

693 Commits

Author SHA1 Message Date
rhp%netscape.com
ecf2962dc9 more error checking for copy service 1999-07-02 23:33:00 +00:00
putterman%netscape.com
f8291f3e00 some nscomptr fixes. 1999-07-02 21:24:31 +00:00
rhp%netscape.com
cd3b22a197 Fix for multiple closes/deletes on a file 1999-07-02 19:45:46 +00:00
bienvenu%netscape.com
34e9e887eb convert to alec's idlized filter stuff 1999-07-02 19:21:49 +00:00
dveditz%netscape.com
0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00
dveditz%netscape.com
d3f47f37f5 makefile cleanups 1999-07-02 13:40:18 +00:00
ramiro%netscape.com
f41e67c622 Separate the widget and gfx toolkits into two variables.
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.
1999-07-02 13:06:48 +00:00
dveditz%netscape.com
17864a291d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
sspitzer%netscape.com
14af3267cb NS_FAILED(rv) is always false, as it isn't set here. checking inputStream
instead.  more need to be done here.  sending mail to jefft
1999-07-02 06:30:57 +00:00
putterman%netscape.com
8ed7447f2f Don't AddRef is *aResult is nsnull. 1999-07-01 22:33:48 +00:00
putterman%netscape.com
19e80e21a0 Pass in correct folder for Copying messages. 1999-07-01 21:55:45 +00:00
jefft%netscape.com
eb031aa5e4 implemented CopyFileMessage() 1999-07-01 21:03:00 +00:00
warren%netscape.com
bd73f68e8b Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
briano%netscape.com
d4b2efa813 Cleanup and fix for OpenBSD. 1999-07-01 18:51:49 +00:00
jefft%netscape.com
f13a35d8e5 added helper InitCopyState() 1999-07-01 18:13:56 +00:00
jefft%netscape.com
a040e9d649 use copy service for move/copy/delete message; enable local undo 1999-07-01 14:49:49 +00:00
ducarroz%netscape.com
9c8e49df80 Replace time_t by PRTime 1999-06-30 21:04:29 +00:00
putterman%netscape.com
b60faf2d75 Append an nsISupports rather than a folder. 1999-06-30 20:05:10 +00:00
bienvenu%netscape.com
2686ba7c71 get rules file from server root directory 1999-06-30 00:25:38 +00:00
scc%netscape.com
f79508bc68 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
mcafee%netscape.com
ed705ebef7 Fixing solaris bustage. 1999-06-29 12:01:29 +00:00
mcafee%netscape.com
8b722793b2 BeOS changes 1999-06-29 09:31:14 +00:00
mcafee%netscape.com
264aa88336 Cleaning up ifdef logic, adding BeOS case. 1999-06-29 09:29:10 +00:00
bienvenu%netscape.com
77ead97514 make name and pretty name unichar's 1999-06-28 21:56:33 +00:00
alecf%netscape.com
f4d5551fe5 oops. check in regenerated headers
(I will add the IDL to the mac build soon)
1999-06-27 06:35:32 +00:00
alecf%netscape.com
d061a4504e fully qualify consts 1999-06-27 05:49:15 +00:00
alecf%netscape.com
667ad3d0e5 XPIDLisze nsIMsgParseMailboxState on windows 1999-06-27 05:17:49 +00:00
alecf%netscape.com
471eb18c9a XPIDLize nsIMsgParseMailMsgState 1999-06-27 05:17:03 +00:00
alecf%netscape.com
d12910cda3 XPIDLize nsIPop3URL.idl and nsIMaliboxUrl.idl 1999-06-27 04:22:12 +00:00
alecf%netscape.com
45cb5af6ae get ready for some XPIDLIZING! 1999-06-27 04:09:41 +00:00
alecf%netscape.com
d6db5f6051 fix shadowed variable 1999-06-27 04:06:28 +00:00
alecf%netscape.com
e340113a85 XPIDLize nsIMailboxUrl and nsIPop3URL 1999-06-27 03:41:59 +00:00
putterman%netscape.com
3c10978bf8 Set Sent, Drafts, and Templates flags. 1999-06-25 21:37:52 +00:00
bienvenu%netscape.com
5374b0377c start working on making nsMsgDatabase scriptable 1999-06-25 19:46:47 +00:00
ramiro%netscape.com
773e34ec7d Changes to turn gfxps into a true component. Thanks to alecf@netscape.com
for providing the base patch.
1999-06-25 09:38:26 +00:00
putterman%netscape.com
8c5fcdb576 Add GetPath to nsIMsgFolder. 1999-06-25 03:56:02 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
alecf%netscape.com
bbfb93c6b8 construct the URI from the server's GetServerURI rather than manually 1999-06-22 23:06:27 +00:00
sspitzer%netscape.com
104f5b3a49 turn a PR_ASSERT() into an NS_ASSERTION() to avoid the abort on UNIX.
see bug #8707
1999-06-22 22:40:41 +00:00
bienvenu%netscape.com
fb53fe3128 fix check for error opening database 1999-06-22 20:29:43 +00:00
bienvenu%netscape.com
d4abc5ead5 fix 8619 malformed message problem 1999-06-22 20:28:28 +00:00
mscott%netscape.com
3ae9fd0cb5 fix Linux warning by removing unused variables. 1999-06-22 04:35:49 +00:00
mscott%netscape.com
fceb8ad883 Use factory method for pop3 url. 1999-06-22 04:32:31 +00:00
mscott%netscape.com
1f74e91cbd Add pop3 url cid. 1999-06-22 04:32:19 +00:00
mscott%netscape.com
345b03ec85 Overhaul of pop3 url to use new nsMsgMailNewsUrl class. This should make necko integration easier and reduce footprint a bit. 1999-06-22 04:31:59 +00:00
mscott%netscape.com
b5a5e490ab Because of my over-haul for mailnews urls, we now need to be more explicit about the url interfac
we are calling the method on (nsIURL, nsIPop3Url, nsIMsgMailNewsUrl, etc).

Overhaul of pop3 service to optimize out some common code.
1999-06-22 04:31:20 +00:00
mscott%netscape.com
3179e7e08e Because of my over-haul for mailnews urls, we now need to be more explicit about the url interfac
we are calling the method on (nsIURL, nsIPop3Url, nsIMsgMailNewsUrl, etc).
1999-06-22 04:30:56 +00:00
mscott%netscape.com
2099f4b9e4 No longer inherit from nsIMsgMailNewsUrl as part of new url re-org. Move class ID out of interface. 1999-06-22 04:30:15 +00:00
alecf%netscape.com
05fd122471 add userid@ to all mail/news URIs and add parsing code to support this
this change allows servers to be unique by {userid, hostname, type} combination and allows nsIMsgAccountManager::FindServer() to search for servers this way.
1999-06-22 03:03:48 +00:00
mscott%netscape.com
8b97630479 constructor for smtp url no longer takes any arguments. 1999-06-22 00:11:11 +00:00
mscott%netscape.com
a784e9bd7e Overhaul of smtp url to use new nsMsgMailNewsUrl class. This should make necko integration easier and reduce footprint a bit. 1999-06-22 00:10:45 +00:00
mscott%netscape.com
b40cf4d579 Overhaul of mailbox url to use new nsMsgMailNewsUrl class.This should make necko integration easier and reduce footprint a bit. 1999-06-22 00:10:23 +00:00
mscott%netscape.com
6835a27780 Because of my over-haul for mailnews urls, we now need to be more explicit about the url interfac
we are calling the method on (nsIURL, nsIMailboxUrl, nsIMsgMailNewsUrl, etc).
1999-06-22 00:09:48 +00:00
putterman%netscape.com
9ae981dede GetFoldersWithFlag now AddRefs its results. 1999-06-21 23:24:29 +00:00
jefft%netscape.com
40244daaae added files: mozilla/mailnews/local/src/nsLocalUndoTxn.cpp 1999-06-21 23:17:11 +00:00
jefft%netscape.com
47a49e41f3 adding new files nsLocalUndoTxn.h nsLocalUndoTxn.cpp 1999-06-21 23:13:59 +00:00
bienvenu%netscape.com
02c833274b more work on local mail filters 1999-06-20 15:39:32 +00:00
bienvenu%netscape.com
d7aae3beca work around gcc bug with MI 1999-06-16 00:25:14 +00:00
bienvenu%netscape.com
ab7c944015 use base class implementation of FindSubFolder 1999-06-15 23:33:32 +00:00
hangas%netscape.com
de45a007a8 Changed nsMailboxGetURI to use nsFileSpec. Fixes Mac. 1999-06-15 23:33:29 +00:00
mscott%netscape.com
af9ddbf0af Mark the url as finished AFTER we are done with the url in the nsMailboxProtocol::OnStopBinding call. We were marking the url as done and then cleaning up our file state (such as closing the temp file). 1999-06-15 03:35:30 +00:00
putterman%netscape.com
0b74afd8db Get summary totals for all folders on startup, not just leaf folders. 1999-06-15 01:25:46 +00:00
putterman%netscape.com
6209458cd1 use nsICopyMsgStreamListener. 1999-06-14 22:44:33 +00:00
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