Commit Graph

146 Commits

Author SHA1 Message Date
jefft%netscape.com
7eb66b31d4 fixed bug 28445 - [PDT+] Error displayed after selecting the renamed subfolders; bug 20366 - Unsuccessful IMAP folder rename makes folder disappear; r=bienvenu,a=phil
git-svn-id: svn://10.0.0.236/trunk@61821 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 01:16:55 +00:00
putterman%netscape.com
cde007ea1e a=phil. Fixes for 29184 and 29104 (r=alecf and bienvenu) Can now access and copy to a local
subfolder.  Fix for 7844 (r=nhotta and bienvenu) Can now view Japanese local folders.


git-svn-id: svn://10.0.0.236/trunk@61745 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 20:46:39 +00:00
bienvenu%netscape.com
e8d192867e fix unix build warning from last checkin - unused var
git-svn-id: svn://10.0.0.236/trunk@61509 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 20:59:59 +00:00
bienvenu%netscape.com
47517fad2b remove use of strtok to fix latin1 char handling, r=alecf, a=phil 24692
git-svn-id: svn://10.0.0.236/trunk@61504 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 20:49:09 +00:00
jefft%netscape.com
bd7f40d706 fixed bug 27759 -- Empty Trash breaks trash folder display; r=bienvenu,a=phil,chofmann
git-svn-id: svn://10.0.0.236/trunk@61185 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 06:03:55 +00:00
putterman%netscape.com
5370786bac 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.


git-svn-id: svn://10.0.0.236/trunk@60978 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 00:39:23 +00:00
bienvenu%netscape.com
ba4ec60225 more fixes for double byte folder names, including create and rename, r=putterman,jefft
git-svn-id: svn://10.0.0.236/trunk@60020 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:20:00 +00:00
bienvenu%netscape.com
8603161356 allow creation of folders with double-byte characters r=putterman, 26745
git-svn-id: svn://10.0.0.236/trunk@59965 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 00:20:37 +00:00
pp%ludusdesign.com
56f8ec1f57 Converting ::GetIID() to NS_GET_IID(). Bug #20232, r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59926 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 03:18:27 +00:00
jefft%netscape.com
4f48ea3b19 fixed bug 26169 -- Sending message appears to fail if the Sent folder not yet parsed; r=scottip
git-svn-id: svn://10.0.0.236/trunk@59680 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 23:40:09 +00:00
valeski%netscape.com
867f16ef2b URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes
git-svn-id: svn://10.0.0.236/trunk@59615 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 03:44:22 +00:00
putterman%netscape.com
48473eb78d Fix for 24768. r=alecf. Move view navigation code to C++ to speed up.
git-svn-id: svn://10.0.0.236/trunk@59104 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:25:17 +00:00
jefft%netscape.com
5feb9632db partial fix for bug 20366 - imap folder rename problem; rename OnCloseFolder to ForceDBClose; r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@59074 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:34:13 +00:00
bienvenu%netscape.com
8cd65220ed add nsIMsgWindow to a bunch of apis so we can stop urls, r=putterman
git-svn-id: svn://10.0.0.236/trunk@58988 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:22:33 +00:00
alecf%netscape.com
f5ead0f4c3 start using weak references for the parent folder and the parent server
r=scottip


git-svn-id: svn://10.0.0.236/trunk@58833 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:53:55 +00:00
alecf%netscape.com
86216a4525 update the whole Set/Get[Pretty]Name functions to go through the same codepath, and send notifications as necessary
git-svn-id: svn://10.0.0.236/trunk@58684 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:21:24 +00:00
alecf%netscape.com
47eaea8981 back out my changes
git-svn-id: svn://10.0.0.236/trunk@57848 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 22:51:53 +00:00
alecf%netscape.com
8c8ac60962 fix usages of GetPreHost so that mail folders can appear
a=granrose


git-svn-id: svn://10.0.0.236/trunk@57837 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 20:19:17 +00:00
alecf%netscape.com
6a4dac3b40 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


git-svn-id: svn://10.0.0.236/trunk@57809 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:01:39 +00:00
sspitzer%netscape.com
e5c7ee1fbf 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


git-svn-id: svn://10.0.0.236/trunk@57378 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 08:01:37 +00:00
alecf%netscape.com
10b399a462 more incredibly minor mailsession dependancy cleanup (no reviewer)
git-svn-id: svn://10.0.0.236/trunk@57162 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 03:38:45 +00:00
alecf%netscape.com
3f58a0bfb2 some nsString->nsAutoString cleanup
git-svn-id: svn://10.0.0.236/trunk@56799 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 02:55:17 +00:00
sspitzer%netscape.com
443dd60841 fix bugs #23021and #23044 by using NS_MsgHashIfNecessary(). r=alecf
git-svn-id: svn://10.0.0.236/trunk@56760 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 22:25:28 +00:00
alecf%netscape.com
e2352b8abc fix infinite loop with certain japanese folder names (dont' use continue in a while loop if you're not actually changing state!)
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@56756 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 22:14:25 +00:00
sspitzer%netscape.com
28110d2fbc fix for #22109. r=putterman, a=sdagley
the problem was we were appending "/<newsgroup>" to the path to the server
by using AppendRelativeUnixPath.  this leaf us with <path>//<newsgroup
and not <path>/newsgroup.


git-svn-id: svn://10.0.0.236/trunk@56300 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 21:59:15 +00:00
sspitzer%netscape.com
f0c33d138d initialize some uninitialized variables
git-svn-id: svn://10.0.0.236/trunk@56262 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 01:18:47 +00:00
alecf%netscape.com
6c17e623e4 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


git-svn-id: svn://10.0.0.236/trunk@56165 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 01:09:51 +00:00
bienvenu%netscape.com
6435fe240d changes for caching imap hierarchy separator, handling no inferiors flag r=jefft,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56130 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 03:05:04 +00:00
bienvenu%netscape.com
2589b7864d fix msf file names for imap folders with illegal characters, r=mscott 20324
git-svn-id: svn://10.0.0.236/trunk@55535 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 05:51:53 +00:00
sspitzer%netscape.com
14a73bf9f8 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.


git-svn-id: svn://10.0.0.236/trunk@55306 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 19:56:06 +00:00
alecf%netscape.com
c39011af4c 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


git-svn-id: svn://10.0.0.236/trunk@55268 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 03:00:22 +00:00
sspitzer%netscape.com
20ef5057f7 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


git-svn-id: svn://10.0.0.236/trunk@55172 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 08:10:09 +00:00
putterman%netscape.com
962c93df68 Work on making folder pane look like spec. Fixes 17841. Reviewed by alecf.
git-svn-id: svn://10.0.0.236/trunk@54179 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 22:08:23 +00:00
jefft%netscape.com
d54f209fd6 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()
git-svn-id: svn://10.0.0.236/trunk@53992 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 14:35:31 +00:00
bienvenu%netscape.com
6f45f8a08a only send change notification for pending filtered messages if the count changed - performance tweak
git-svn-id: svn://10.0.0.236/trunk@53805 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 02:36:22 +00:00
putterman%netscape.com
3ce86bbc71 Fix for 17712. Reviewed by bienvenu and alecf. Mailnews shuts down accounts, biff,
and folders properly as an xpcom shutdown observer.


git-svn-id: svn://10.0.0.236/trunk@53475 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 20:36:22 +00:00
putterman%netscape.com
3eee221ecf Work on 12846 for making message threads work. Reviewed by bienvenu.
git-svn-id: svn://10.0.0.236/trunk@53122 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 00:23:29 +00:00
sspitzer%netscape.com
a0d9a56a3c check in patch from cls@seawood.org
add comment.


git-svn-id: svn://10.0.0.236/trunk@53110 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:53:40 +00:00
bienvenu%netscape.com
fcfedf2d17 move folder cache to account mgr, per alecf, fix pending counts r=jefft
git-svn-id: svn://10.0.0.236/trunk@53051 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 00:41:52 +00:00
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