Commit Graph

62 Commits

Author SHA1 Message Date
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
bienvenu%netscape.com
e29f314bcf fix build warnings, r=putterman, add cancel method to protocol r=mscott 1999-11-03 03:16:26 +00:00
bienvenu%netscape.com
10e0f64b8b add support for pending counts for imap folders r=mscott 1999-11-01 01:06:29 +00:00
bienvenu%netscape.com
075caf0152 changes to use nsIMsgWindow r=putterman 1999-10-29 04:39:06 +00:00
alecf%netscape.com
07e6ba4f2e more cleanup work - now retrieve the server at URI creation time, so that GetServer() is really fast, and just forward calls to GetUsername and GetPassword() to the server. r=sspitzer 1999-10-28 20:19:57 +00:00
alecf%netscape.com
4bd03fe287 start to consolidate URL and URI parsing into the base classes: remove a whole bunch of protocol-specific code in favor of generalization
basically, more fixes for #14437
r=scottip
1999-10-22 01:02:08 +00:00
alecf%netscape.com
a33565470d clean up nsIMsgFolder API in preparation for fixing a number of bugs, most importantly #14437
r=scottip
1999-10-20 21:58:21 +00:00
sspitzer%netscape.com
af4500add9 fix warnings. following alecf's recommendations, remove the FindServerUsingURI() method from the nsIMsgAccountManager, remove CreateFolderInDatasource() from nsIMsgFolder, change several methods in nsMsgCopy to return nsresult, and have nsIMsgFolder ** as an outparam, use GetResource() instead of CreateFolderInDatasource(). use NS_SUCCEEDED() instead of comparing against NS_OK directly. 1999-10-18 20:42:06 +00:00
sspitzer%netscape.com
8227e7bda9 fix for bug #14591, r=mscott.
handle the case where we migrate from 4.x and our sent folder is on the imap server.
but, since we haven't logged into the imap server yet, our folders are undiscovered.

other related fixes:
1) make it so on failure to fcc, save to draft, save to template, send later the message shows up.
2) clean up the error message strings
3) fix how we determine if an URI points to a local folder. (all we need to do is look at the scheme and see if it is "mailbox:"
4) remove a stale comment.
1999-10-13 04:12:06 +00:00
mccabe%netscape.com
4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
putterman%netscape.com
a3e720e049 more performance work for loading folders without .msf files or that have to have
headers downloaded.
1999-09-17 23:12:44 +00:00
beard%netscape.com
ab95fb6cf4 Added QueryElementAt() which combines GetElementAt() and QueryInterface(). Rationale: combining operations saves a call to AddRef/Release, since it's done by QI. Approved by dp. 1999-09-16 21:29:22 +00:00
putterman%netscape.com
2ad6180b7c Add NotifyFolderLoaded. 1999-09-16 21:07:56 +00:00
bienvenu%netscape.com
3456144dd5 break out UpdateFolder method from GetMessages 1999-09-14 04:02:34 +00:00
bienvenu%netscape.com
0907f107dc add folder loaded notification and hack around dynamic folder loading slowness method 1999-09-13 21:36:02 +00:00
alecf%netscape.com
8c203fba2a switch to nsCRT routines and PR_TRUE/PR_FALSE to reduce include dependancy 1999-09-08 03:08:27 +00:00
bienvenu%netscape.com
922a55a1b7 replace nsIEnumerator with nsISimpleEnumerator 1999-08-26 04:41:07 +00:00
putterman%netscape.com
58d47cf74a work on MarkFlagged. 1999-08-24 21:47:22 +00:00
alecf%netscape.com
cce4d3df48 remove the "depth" attribute now that we have isServer 1999-08-21 01:03:00 +00:00
alecf%netscape.com
0bdba7f2fc add new isServer attribute 1999-08-20 22:41:38 +00:00
jefft%netscape.com
1f687f996d added base folder EmptyTrash() method 1999-08-06 18:24:39 +00:00
jefft%netscape.com
1f85f838f6 implement message folder base Compact() method 1999-08-06 13:40:08 +00:00
bienvenu%netscape.com
f272fe28f5 add MatchName method 1999-07-27 05:15:44 +00:00
putterman%netscape.com
f2fb5c6448 Added MarkMessagesRead, MarkAllMessagesRead, GetChildWithURI 1999-07-23 04:33:20 +00:00
sspitzer%netscape.com
88b715c820 fix the leak of nsMsgFolder. the ownership model is server owns the folder. we had a cycle. thanks to putterman for finding the problem and implementing the fix. 1999-07-20 03:55:23 +00:00
bienvenu%netscape.com
7d4724fe66 more work on folder cache 1999-07-17 20:33:15 +00:00
jefft%netscape.com
621bc564e2 more on copy service - add nsIMsgCopyServiceListener 1999-07-13 20:07:32 +00:00
bienvenu%netscape.com
77ead97514 make name and pretty name unichar's 1999-06-28 21:56:33 +00:00
jefft%netscape.com
a38214030d stub implement CopyMessages() & CopyFileMessage() methods 1999-06-26 18:22:55 +00:00
putterman%netscape.com
8c5fcdb576 Add GetPath to nsIMsgFolder. 1999-06-25 03:56:02 +00:00
sspitzer%netscape.com
deff73af4a start of work to respect the newsrc files. code cleanup. use nsCOMPtr. 1999-06-22 04:45: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
jefft%netscape.com
da1c3fd40b added readonly attribute nsIMsgDatabase msgDatabase for undo work 1999-06-21 22:56:18 +00:00
putterman%netscape.com
7f68ca1c73 Added GetRootFolder. 1999-06-14 22:22:51 +00:00
putterman%netscape.com
c2289c8757 More work on Biff. 1999-06-11 22:10:42 +00:00
jefft%netscape.com
5343385862 undo framework 1999-06-10 14:55:36 +00:00
putterman%netscape.com
8dc4664732 Added Charset functions. 1999-06-03 22:56:14 +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
368b7fb42c Add NS_MSG_BASE to class declaration to help make base\util build as a dll on win32. 1999-05-18 23:55:39 +00:00
sspitzer%netscape.com
64ef10ab25 rename variable to prevent shadowing 1999-05-16 04:13:52 +00:00
mscott%netscape.com
cab48caf44 add getsserver and GetIncomingServerType. This allows us to get the incoming server associated with a folder. 1999-05-15 21:03:02 +00:00
putterman%netscape.com
5a9c995039 Handle flag changes. 1999-05-14 00:45:25 +00:00
warren%netscape.com
87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
alecf%netscape.com
de47383344 Count() is no longer const 1999-05-12 03:24:36 +00:00
putterman%netscape.com
8942e3da0f Changed DeleteMessage to DeleteMessages 1999-05-10 23:55:41 +00:00
putterman%netscape.com
baf9ba08bc Separate db related folder code into separate class. 1999-05-10 21:47:07 +00:00
putterman%netscape.com
ac37b51b3b Write folder parent functions. 1999-05-07 20:21:47 +00:00
putterman%netscape.com
31e9a1f08a GetNewMessages and HasMessage are implemented. 1999-05-07 00:33:06 +00:00
alecf%netscape.com
dc496e39a3 fix some unused variables, fix the signed/unsigned issue with total and total unread messages, and fix some variable shadowing 1999-05-05 02:42:12 +00:00