257 Commits

Author SHA1 Message Date
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
alecf%netscape.com
b5de07e079 fix for blocker #17882
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52723 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 19:47:17 +00:00
alecf%netscape.com
e92bd577aa fix for #17214 - consolidate all username and hostname handling so that escaping/unescaping happens logically
git-svn-id: svn://10.0.0.236/trunk@52694 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:16:59 +00:00
bienvenu%netscape.com
5b5b7371ea fix build warnings, r=putterman, add cancel method to protocol r=mscott
git-svn-id: svn://10.0.0.236/trunk@52658 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 03:16:26 +00:00
bienvenu%netscape.com
b3ee9d6099 add support for pending counts for imap folders r=mscott
git-svn-id: svn://10.0.0.236/trunk@52369 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 01:06:29 +00:00
putterman%netscape.com
9c5e4137a1 Fix for 17556. Reviewed by alecf. Newsgroups show abbreviated name in folder pane.
git-svn-id: svn://10.0.0.236/trunk@52249 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 20:46:15 +00:00
bienvenu%netscape.com
9187011a29 changes to use nsIMsgWindow r=putterman
git-svn-id: svn://10.0.0.236/trunk@52190 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 04:39:06 +00:00
alecf%netscape.com
2e274875d3 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
git-svn-id: svn://10.0.0.236/trunk@52097 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 20:19:57 +00:00
alecf%netscape.com
6b7dfaa5e0 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


git-svn-id: svn://10.0.0.236/trunk@51471 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 01:02:08 +00:00
alecf%netscape.com
8d5865d224 clean up nsIMsgFolder API in preparation for fixing a number of bugs, most importantly #14437
r=scottip


git-svn-id: svn://10.0.0.236/trunk@51302 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 21:58:21 +00:00
sspitzer%netscape.com
80c75c7ae1 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.
git-svn-id: svn://10.0.0.236/trunk@51019 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 20:42:06 +00:00
sspitzer%netscape.com
e3f84eb9e4 add more comments about what's left to do, and why this is a little scary.
git-svn-id: svn://10.0.0.236/trunk@50565 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:33:26 +00:00
sspitzer%netscape.com
cb1644bdd6 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.


git-svn-id: svn://10.0.0.236/trunk@50551 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:12:06 +00:00
putterman%netscape.com
d468916c06 Remove ctor/dtor counter macros I added before it was determined we shouldn't
use them for xpcom classes.


git-svn-id: svn://10.0.0.236/trunk@50331 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 22:52:49 +00:00
putterman%netscape.com
12980882c5 Added constructor/destructor counting macros for various mailnews
classes.  reviewed by bienvenu.  no bug.


git-svn-id: svn://10.0.0.236/trunk@50005 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 20:32:25 +00:00
mccabe%netscape.com
69a8cf7c7b 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.


git-svn-id: svn://10.0.0.236/trunk@48284 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 23:46:35 +00:00
putterman%netscape.com
8f317b6531 more performance work for loading folders without .msf files or that have to have
headers downloaded.


git-svn-id: svn://10.0.0.236/trunk@48047 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:12:44 +00:00
putterman%netscape.com
8186e12634 Add NotifyFolderLoaded.
git-svn-id: svn://10.0.0.236/trunk@47833 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 21:07:56 +00:00
bienvenu%netscape.com
910b8a999f break out UpdateFolder method from GetMessages
git-svn-id: svn://10.0.0.236/trunk@47272 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 04:02:34 +00:00
bienvenu%netscape.com
f7ce4a362d add folder loaded notification and hack around dynamic folder loading slowness method
git-svn-id: svn://10.0.0.236/trunk@47173 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 21:36:02 +00:00
bienvenu%netscape.com
42dc83546b return error from writing out folder cache if any, add code to turn off rdf notifications
git-svn-id: svn://10.0.0.236/trunk@47076 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 21:36:51 +00:00
alecf%netscape.com
4aa767d9b0 switch to nsCRT routines and PR_TRUE/PR_FALSE to reduce include dependancy
git-svn-id: svn://10.0.0.236/trunk@46281 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 03:08:27 +00:00
tonyr%fbdesigns.com
013d0e1e29 Added NS_ADDREF to child returned from GetChildNamed
git-svn-id: svn://10.0.0.236/trunk@45733 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 21:23:26 +00:00
bienvenu%netscape.com
f3d8c61a0f replace nsIEnumerator with nsISimpleEnumerator
git-svn-id: svn://10.0.0.236/trunk@44641 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 04:41:07 +00:00
putterman%netscape.com
1a770d51fb work on MarkFlagged.
git-svn-id: svn://10.0.0.236/trunk@44351 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:47:22 +00:00
alecf%netscape.com
e44877c7c6 remove the "depth" attribute now that we have isServer
git-svn-id: svn://10.0.0.236/trunk@43933 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 01:03:00 +00:00
putterman%netscape.com
8dfbc8b006 Use nsISupports.
git-svn-id: svn://10.0.0.236/trunk@43873 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:47:55 +00:00
alecf%netscape.com
ebc9d39804 add new isServer attribute
git-svn-id: svn://10.0.0.236/trunk@43849 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 22:41:38 +00:00
alecf%netscape.com
cdf5a4417a clean up folder and server naming:
- prettyName is now a unicode string and lives in nsIFolder
- servers now have the automatic pretty name of "userid on servername" and can be overridden
- name consolidation is complete


git-svn-id: svn://10.0.0.236/trunk@42922 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 04:39:22 +00:00
alecf%netscape.com
64f96fb0e6 fix naming of folder by caching in mName
git-svn-id: svn://10.0.0.236/trunk@42860 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 00:03:46 +00:00
bienvenu%netscape.com
34728dd0c2 get rid of nsString2, more hooking up of status
git-svn-id: svn://10.0.0.236/trunk@42619 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 02:30:11 +00:00
jefft%netscape.com
4a3e4f7a52 added base folder EmptyTrash() method
git-svn-id: svn://10.0.0.236/trunk@42484 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 18:24:39 +00:00
jefft%netscape.com
b4517d227d implement message folder base Compact() method
git-svn-id: svn://10.0.0.236/trunk@42444 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 13:40:08 +00:00
mscott%netscape.com
5af5a87dcd Changes for:
nsString(eOneByte) --> nsCString
nsString(eTwoByte) nsString
nsString2 --> nsString


git-svn-id: svn://10.0.0.236/trunk@42263 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 04:28:28 +00:00
bienvenu%netscape.com
c17def88fd fix notification of filter folders
git-svn-id: svn://10.0.0.236/trunk@41845 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 21:33:00 +00:00
waterson%netscape.com
4f08b1f496 Fix recounting bug.
git-svn-id: svn://10.0.0.236/trunk@41301 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 18:18:52 +00:00
bienvenu%netscape.com
7f7758fb30 add MatchName method
git-svn-id: svn://10.0.0.236/trunk@41248 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 05:15:44 +00:00
putterman%netscape.com
ba41c1fd02 Added MarkMessagesRead, MarkAllMessagesRead, GetChildWithURI
git-svn-id: svn://10.0.0.236/trunk@40805 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 04:33:20 +00:00
sspitzer%netscape.com
b5f6e6f4ee 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.
git-svn-id: svn://10.0.0.236/trunk@40219 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:55:23 +00:00
bienvenu%netscape.com
af6cbfea6d more work on folder cache
git-svn-id: svn://10.0.0.236/trunk@39902 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 20:33:15 +00:00
jefft%netscape.com
d021d91637 more on copy service - add nsIMsgCopyServiceListener
git-svn-id: svn://10.0.0.236/trunk@39168 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 20:07:32 +00:00
sspitzer%netscape.com
40cc08ce81 return the right error value
git-svn-id: svn://10.0.0.236/trunk@38425 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 22:41:19 +00:00
bienvenu%netscape.com
9de76cae39 fix horrible cast in find folders with flag
git-svn-id: svn://10.0.0.236/trunk@38288 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 21:25:49 +00:00
putterman%netscape.com
4b1cc84b65 Some nscomptr fixes.
git-svn-id: svn://10.0.0.236/trunk@38152 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 21:23:35 +00:00
putterman%netscape.com
2c5afbbd59 Use nsCOMTypeInfo
git-svn-id: svn://10.0.0.236/trunk@37592 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 00:16:39 +00:00
bienvenu%netscape.com
f4d2c6ce79 make name and pretty name unichar's
git-svn-id: svn://10.0.0.236/trunk@37244 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 21:56:33 +00:00
jefft%netscape.com
5e316491eb stub implement CopyMessages() & CopyFileMessage() methods
git-svn-id: svn://10.0.0.236/trunk@37036 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 18:22:55 +00:00
putterman%netscape.com
ce236f5af5 Add GetPath to nsIMsgFolder.
git-svn-id: svn://10.0.0.236/trunk@36831 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 03:56:02 +00:00
alecf%netscape.com
daad347732 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.


git-svn-id: svn://10.0.0.236/trunk@36203 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 03:03:48 +00:00
putterman%netscape.com
338fbaa52e GetFoldersWithFlag now AddRefs its results.
git-svn-id: svn://10.0.0.236/trunk@36150 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 23:24:29 +00:00