Граф коммитов

84 Коммитов

Автор SHA1 Сообщение Дата
jefft%netscape.com 3122359680 fixed bug 27759 -- Empty Trash breaks trash folder display; r=bienvenu,a=phil,chofmann 2000-02-17 06:03:55 +00:00
putterman%netscape.com de272ba0ac Fix for 21469. r=jefft. Deleting a message in a thread now goes to the next message and scrolls
to it so that you don't lose your place in the thread pane.  More work on 26456.  r=alecf.
Some performance improvements for loading folders by speeding up building up a uri.
2000-02-16 00:39:23 +00:00
bienvenu%netscape.com 85ee28a198 more fixes for double byte folder names, including create and rename, r=putterman,jefft 2000-02-08 01:20:00 +00:00
bienvenu%netscape.com ece14626a0 allow creation of folders with double-byte characters r=putterman, 26745 2000-02-07 00:20:37 +00:00
jefft%netscape.com 342229275a fixed bug 26169 -- Sending message appears to fail if the Sent folder not yet parsed; r=scottip 2000-02-03 23:40:09 +00:00
putterman%netscape.com d04174bf7b Fix for 24768. r=alecf. Move view navigation code to C++ to speed up. 2000-01-28 23:25:17 +00:00
jefft%netscape.com 4a3981e690 partial fix for bug 20366 - imap folder rename problem; rename OnCloseFolder to ForceDBClose; r=bienvenu 2000-01-28 15:34:13 +00:00
bienvenu%netscape.com c13a9dce89 add nsIMsgWindow to a bunch of apis so we can stop urls, r=putterman 2000-01-28 01:22:33 +00:00
alecf%netscape.com 007907ad29 start using weak references for the parent folder and the parent server
r=scottip
2000-01-26 22:53:55 +00:00
alecf%netscape.com fbc8c191c7 update the whole Set/Get[Pretty]Name functions to go through the same codepath, and send notifications as necessary 2000-01-26 01:21:24 +00:00
alecf%netscape.com 151c9ac450 make the mail notification systems use nsIAtoms instead of char*s, and add capability to notify on PRUnichar* data that changes
(in preparationfor #19079)
r=scottip
2000-01-14 09:01:39 +00:00
sspitzer%netscape.com 9ca75194ad fix for bug #23457. when we create a new account, set the copies and folders prefs for the associated identity to the right defaults.
added to the nsIMsgProtocolInfo interface defaultCopiesAndFoldersPrefsToServer,
which we use to see for a given server type, do the defaults live on the server
or not (where not would mean "Local Folders").

fix the getFoldersWithFlag method in the nsIMsgFolder interface so it
would be easier to use in JS.

r=alecf
2000-01-11 08:01:37 +00:00
alecf%netscape.com 24f15fcdf7 first pass at fix for #7808, XPIDLizing nsIMsgHdr - for now just make an exact duplicate of the C++ interface, except in XPIDL
r=putterman
2000-01-04 22:41:21 +00:00
alecf%netscape.com fe72f1219a move GetPath/SetPath into a base class, combining all the .sbd directory creators. reduces calls to FindServer() by about 2 calls per folder
r=sspitzer
a=chofmann
1999-12-18 01:09:51 +00:00
bienvenu%netscape.com 537e1f7122 changes for caching imap hierarchy separator, handling no inferiors flag r=jefft,a=chofmann 1999-12-17 03:05:04 +00:00
bienvenu%netscape.com b4e61f2f13 fix msf file names for imap folders with illegal characters, r=mscott 20324 1999-12-07 05:51:53 +00:00
sspitzer%netscape.com 862031a04c remove CanBeRenamed and CanCreateChildren. In most cases, these weren't
implemented or they were just stubs.  I added CanRename and CanCreateSubfolder
(which follow the naming convention, so we'll keep them) without knowing these were there.  I move over the additional logic for special folders (like INBOX, TRASH, etc) in CanBeRenamed to CanRename, and put the logic in one place, in nsMsgFolder::CanRename(), instead of in multiple places.  thanks to alecf for pointing out that CanBeRenamed and CanCreateChildren were already there.
1999-12-04 19:56:06 +00:00
alecf%netscape.com 04fd04b90f lazily parse the URI so that we never loose the server information before the account manager can load the prefs.
helps to fix #20607 for bienvenu
r=sspitzer, design discussed w/sspitzer and putterman
1999-12-04 03:00:22 +00:00
sspitzer%netscape.com 91d20aadc4 fix for #17402, stationary -> stationery.
r=alecf

major fixes for the new folder / rename folder / subscribe dialogs.
we no longer use an html select for the folder picker.
now we use cascading menu popups, like the copy and move menus.
this fixes a lot of bugs, and allows pre-flighting to finally work.

our folder data source has some new properies:
CanFileMessages, CanSubscribe, CanRename, and CanCreateSubfolders
we use these to determine what cascading menu to build, what to disable, etc.

also, nsMessenger::NewFolder() and nsMessenger::RenameFolder() were changes to
take a nsIRDFResource instead of a nsIDOMXULElement.  Before we were
passing through to the back end the selected xul element, now we pass
the resource in.

other cool side effects:
in the copy & move menus, you don't get the choice to file or copy to a server, on folders
in the rename dialog, you can't pick a server, on a folder
in the new folder dialog, you can't pick the imap inbox. (* more needs to be done here.)

bugs fixed: #14773, #14254, #20599, #20646
r=alecf

a couple bullet proofing fixes to prevent some crashes reported on fullcircle
r=bienvenu
1999-12-03 08:10:09 +00:00
putterman%netscape.com e71f346f0f Work on making folder pane look like spec. Fixes 17841. Reviewed by alecf. 1999-11-22 22:08:23 +00:00
jefft%netscape.com ae911c42cc fixed bug 17765 - Rename not implemented for Pop3, bug 19097 -- copying messages cause corrupted messages if the message size is greater than 4 k; r=putterman; added new method AddSubfolder() 1999-11-19 14:35:31 +00:00
putterman%netscape.com 38dfa802ce Work on 12846 for making message threads work. Reviewed by bienvenu. 1999-11-11 00:23:29 +00:00
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