130 Commits

Author SHA1 Message Date
naving%netscape.com
ff090527c4 17204. r=bienvenu sr=sspitzer; Add the automatically compact feature when the wasted
space exceeds the purge_threshold for offline and local folders. This also includes a
patch by bienvenu to make CompactOfflineStores work.


git-svn-id: svn://10.0.0.236/trunk@98909 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-09 22:15:30 +00:00
racham%netscape.com
7af1f4cd9e Fixing bugscape bug 6830. This fix allows ISPs to control user actions on their servers. Attributes to determine whether user can file messages on a given server and whether folder creation is allowed have been added. ISPs can set this value in rdf file. r,sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@98260 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 07:04:38 +00:00
scc%mozilla.org
90f810b66a bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
sspitzer%netscape.com
2580528971 fix for bug #79239.
hide or alter offline related UI for servers and folders that don't support
offline.

r=racham, sr=mscott, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@97280 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-16 07:20:15 +00:00
suresh%netscape.com
64872351e2 68879. r=racham, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@94844 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 02:37:25 +00:00
naving%netscape.com
4e38c2967f 78240, 78934 r=suresh sr=bienvenu; Added a boolean allowUndo to decide when to do Undo; Also
made Undo/redo work for dnd.


git-svn-id: svn://10.0.0.236/trunk@93997 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 23:29:50 +00:00
dianesun%netscape.com
d97ed4fb8f Feature Dev for IMAP Offline UI bugs: 66914:Select Folders Dialog; 66917: Account Manager Panel; 71125:File Menu; 71126:Offline/Online Icon; 71127:Preference Panel; 71316:Online/Offline button broke Nav menu's/links. R:bhuvan, SR:sspitzer
git-svn-id: svn://10.0.0.236/trunk@93867 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 00:47:53 +00:00
bienvenu%netscape.com
3f10d4e777 add progress and status msg to folder compaction r=naving, sr=sspitzer 34073
git-svn-id: svn://10.0.0.236/trunk@90679 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:14:18 +00:00
gayatrib%netscape.com
9c0a34ecc8 Implementing deleting/filing messages on single and multiple folders in search. Fixed regression introduced after merging performance branch that search does not display number of search hits. r=bhuvan,bienvenu. sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@90338 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 09:08:26 +00:00
mscott%netscape.com
7dc24bf70f Land the Mailnews Performance Branch.
Includes front end re-write to use the outliner widget for the thread pane.

Improvements in scrolling, folder loading, message display, replyto time, sorting, selecting, deleting, the list goes
on and on.

enjoy =).


git-svn-id: svn://10.0.0.236/trunk@89742 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 01:59:34 +00:00
naving%netscape.com
8d57b923a3 64751, 64753. sr =sspitzer, bienvenu. Adding Compact Folders feature to file_menu and Compact This Folder when
you right click on a folder. thanks to sspitzer and bienvenu for good review. Thanks to
david for providing nsMsgFolder::ListDescendents function and all the help.


git-svn-id: svn://10.0.0.236/trunk@87168 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 02:05:41 +00:00
sspitzer%netscape.com
ad8b9590f1 sr=mscott. minor performance fix, use NS_LITERAL_STRING() instead of
AssignWithConversion().  just sitting in my tree, k-i-s-s-i-n-g.


git-svn-id: svn://10.0.0.236/trunk@86493 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:14:13 +00:00
naving%netscape.com
683df5eaa9 25589. r=timeless, sr=bienvenu, sspitzer. Adding feature drag and drop of folder.
Thanks to sspitzer and david for good review.


git-svn-id: svn://10.0.0.236/trunk@86107 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 20:21:52 +00:00
sspitzer%netscape.com
aba5de7be2 make the message view persist on a per folder basis. (#63853)
make it so you can view "threads with unread".  (#52927)
threaded and unread are no longer mutually exclusive.

later, I'll add "unread threaded" which is no the
same thing as "thread with unread".

fix the nsMsgMessageDataSource() to ask the view, thread or msg database for existance of messages, instead of getting an enumerator for all messages, and seeing if it is non empty.  more performance work on the way.

move enums from MailNewsTypes.h to MailNewsTypes2.idl, so that I can use the same ones from JS and C++.

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84321 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:12:36 +00:00
naving%netscape.com
445b26e976 43411 sr=bienvenu. Implementing expunge inbox on exit for imap servers. Changing Compact()'s
definition


git-svn-id: svn://10.0.0.236/trunk@83774 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-17 01:17:37 +00:00
bienvenu%netscape.com
c020d0064c more work on offline message storage and retrieval, r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@83418 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:15:16 +00:00
naving%netscape.com
3a3e06e351 59063 59064, r=sspitzer, sr=bienvenu. Passing the right arguments because of change
in definitions


git-svn-id: svn://10.0.0.236/trunk@83006 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:12:57 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
putterman%netscape.com
cf3bbb471f More work on 46888. Checking in for naving. Make sure delete doesn't prevent messages from being displayed later on. r=scottip,a=alecf.
git-svn-id: svn://10.0.0.236/trunk@79812 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:10:21 +00:00
scc%mozilla.org
57de1f9b7a if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78979 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:22:27 +00:00
alecf%netscape.com
e385002b0a big-ass leak fix - stop leaking mail datasources by clearing ourselves out when the last
RDF observer goes away, and re-initializing if new RDF observers arrive on the scene.
r=putterman
fixes #45176, among other leaks


git-svn-id: svn://10.0.0.236/trunk@75828 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:32:55 +00:00
alecf%netscape.com
562414f7a2 fix for 44633, 44634, and more threadpane performance work - use NS_LITERAL_STRING
where appropriate, avoid excess conversion of integer resources, etc.
r=putterman,mscott


git-svn-id: svn://10.0.0.236/trunk@75342 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:38:52 +00:00
bienvenu%netscape.com
bb8ef57200 fix mark thread read, r=putterman 45087
git-svn-id: svn://10.0.0.236/trunk@74820 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:06:05 +00:00
warren%netscape.com
68783ed706 Added nsIRDFDataSource::HasArcIn/HasArcOut. Changed nsXULTemplateBuilder.cpp to use it (ifdef'd for now). Speed up folder loading by about 24%. r=waterson,alecf
git-svn-id: svn://10.0.0.236/trunk@74441 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 03:58:25 +00:00
gayatrib%netscape.com
658f7a601e Biff Feature bug 36011 review=scottip
git-svn-id: svn://10.0.0.236/trunk@73020 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 03:19:17 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
putterman%netscape.com
4e0a35c885 Work on 14106, View unread messages.
git-svn-id: svn://10.0.0.236/trunk@70142 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:56:37 +00:00
jefft%netscape.com
585086c59c fixed bug 16244, 35704 - empty trash on exit for Pop3 and Imap
git-svn-id: svn://10.0.0.236/trunk@69803 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:55:22 +00:00
alecf%netscape.com
a7111f80fa API cleanup: replace OnFolderLoaded/OnDeleteOrMoveMessageCompleted with OnItemEvent using atoms
git-svn-id: svn://10.0.0.236/trunk@69678 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 20:35:46 +00:00
alecf%netscape.com
e012532b1d fix extra warning
git-svn-id: svn://10.0.0.236/trunk@67310 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 22:18:38 +00:00
mjudge%netscape.com
3cd9a051da making string conversions explicit. scc
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
scc%netscape.com
6bee853362 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66884 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:23:43 +00:00
waterson%netscape.com
2e4423d60c Replace raw use of nsArrayEnumerator with NS_NewArrayEnumerator(). r=sspitzer, alecf
git-svn-id: svn://10.0.0.236/trunk@66540 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 09:15:23 +00:00
sspitzer%netscape.com
f311981876 fix a comment.
git-svn-id: svn://10.0.0.236/trunk@65670 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:55:49 +00:00
alecf%netscape.com
49e10d72c2 - add generic interface to access mail filter lists in both servers and folders. in the base class, folders just forward to their root server.
- expose event notifications through nsIFolder so that non-folders can trigger notifications on individual folders
- add generic OnItemEvent to nsIFolderListener, and implement in base classes


git-svn-id: svn://10.0.0.236/trunk@64326 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 04:58:05 +00:00
putterman%netscape.com
4a3535ba8c fix for 16349 - shift delete works. Also more work on multiple windows by removing GetTemporaryMsgWindow.
various reviewers = mscott, hangas, rhp, and jefft.


git-svn-id: svn://10.0.0.236/trunk@64081 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:58:20 +00:00
jefft%netscape.com
b2cc1c94a9 fixed bug 10834 - Pop3 delete folders move to trash; r=putterman
git-svn-id: svn://10.0.0.236/trunk@64039 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:58:32 +00:00
jefft%netscape.com
718a90de2d fix bug 27396 - shouldn't display error message when selecting uw folder-only mailbox, 28301 - failed to store/read folder flags from folderInfo, 28916 - need to handle /NoSelect folder as 4.x does; r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@62930 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 13:37:54 +00:00
putterman%netscape.com
9210b4a8e0 r=bienvenu. Fix for 16966. Can now mark a thread read.
git-svn-id: svn://10.0.0.236/trunk@62877 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:34:42 +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
alecf%netscape.com
6356cb1b52 move from nsAutoCString to nsCAutoString r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@59867 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 06:11:46 +00:00
sspitzer%netscape.com
0791ae3744 if the news server or imap server is "secure", show the secure icon
in the folder pane.  the work is done in the data source, so eventually
I'll have to change other xul (like the folder picker and the messenger menus)
to show the right icons, too.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@59038 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 08:01:27 +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
6f6c44ac22 oops! almost didn't initialize this variable
(thanks bienvenu!)


git-svn-id: svn://10.0.0.236/trunk@58686 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:28:05 +00:00
alecf%netscape.com
a7c97e15b2 update account manager and folder datasources to reflect account changes to the tree, including account creation/destruction, as well as the name of the account
r=putterman


git-svn-id: svn://10.0.0.236/trunk@58683 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:20:24 +00:00