184 Commits

Author SHA1 Message Date
sspitzer%netscape.com
edad898b5c fix for #10872. remember last selected message feature (4xp)
plus some code cleanup.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@135258 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 19:57:27 +00:00
caillon%returnzero.com
790c7e866a 182982 - Mailnews utility library needs to use nsIPrefBranch, nsIPrefService, et alia
r=timeless/nhotta sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@135074 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:52:28 +00:00
bienvenu%netscape.com
d2a9218479 179162 chain junk mail classification requests by using new msg service streamMessage method r=dmose, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@134681 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 13:06:46 +00:00
bienvenu%netscape.com
0d7ff2e1a5 add msg window to spam classification calls for feedback, r=dmose, sr=sspitzer, 179162
git-svn-id: svn://10.0.0.236/trunk@134490 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 21:41:44 +00:00
bzbarsky%mit.edu
6151b6c308 Clean up some mailnews array usage, fix some leaks. Bug 175540, r=dmose,
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@134241 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 03:49:11 +00:00
dmose%netscape.com
0d6c826fa2 Turn on basic junk-mail detection functionality in mail. Parts (such as moving to other folders) are still disabled as there is work to do there yet. Bug 169638; r=bienvenu; sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@133313 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 20:37:55 +00:00
naving%netscape.com
684c365224 117835 r=cavin sr=bienvenu fixing invalid folder name containing japanese characters when you restart after creating new local folders. Also cleaning up local folders code that deals with checking for duplicate
folder names, renaming/deleting local folders


git-svn-id: svn://10.0.0.236/trunk@133057 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 01:30:31 +00:00
bienvenu%netscape.com
02a7640a70 add folder size to folder pane, r=cavin, sr=sspitzer, 173825
git-svn-id: svn://10.0.0.236/trunk@133040 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 00:13:19 +00:00
bienvenu%netscape.com
d5251dcf0e fix whitelisting in junk mail plugin r=dmose, sr=sspitzer, a=asa, not seen by users 169557
git-svn-id: svn://10.0.0.236/trunk@132667 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 00:42:10 +00:00
dmose%netscape.com
0b4803ce0e Ongoing spam-filtering work for the front end (not yet exposed to the user in default builds). Cleans up unnecessary and partially working UI items; fixes gcc warnings; fixes 3/5 state plugin by adding junkscoreorigin property; moves some plugin interaction from mailCommand.js to nsMsgDBView.cpp. r=sspitzer@netscape.com, sr=bienvenu@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@132454 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 07:03:04 +00:00
naving%netscape.com
306ff6a643 172707 r=cavin sr=bienvenu a=asa fixing busy cursor problem when selecting
dest folder on copying msgs and fixing a crash if the dest folder has
invalid summary file.


git-svn-id: svn://10.0.0.236/trunk@132191 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 23:03:42 +00:00
bienvenu%netscape.com
1e0b0daa94 don't score new msgs that have already been scored, part of support for imap and pop3 spam filters, not turned on yet r/sr=sspitzer 169557
git-svn-id: svn://10.0.0.236/trunk@131557 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 03:26:58 +00:00
bienvenu%netscape.com
b802c8b579 support for imap and pop3 spam filters, not turned on yet r/sr=sspitzer 169557
git-svn-id: svn://10.0.0.236/trunk@131524 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:21:27 +00:00
naving%netscape.com
b7ae8a304e 170555 r=mscott sr=bienvenu Adding ability to purge junk folder automatically at interval of 1 day. Also
added code to specialize/unspecialize junk folder when the user changes junk folder from UI


git-svn-id: svn://10.0.0.236/trunk@131189 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 22:32:15 +00:00
sspitzer%netscape.com
c3eff06a60 code cleanup. use contract ids instead of static cids. remove some usused static cids.
git-svn-id: svn://10.0.0.236/trunk@129670 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 00:46:09 +00:00
naving%netscape.com
f826eca573 123402 r=timeless sr=bienvenu fixing PRTime abuse in auto-compact code.
git-svn-id: svn://10.0.0.236/trunk@126799 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 21:26:04 +00:00
bienvenu%netscape.com
2b0f4dfc3c fix for crash when venkman pokes us with a stick, r=me, sr=sspitzer, timeless found crash 142858
git-svn-id: svn://10.0.0.236/trunk@121084 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:50:16 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
naving%netscape.com
e5a1847e93 139876 r=bienvenu sr=mscott Add two methods to nsIMsgFolder to transfer db init info when we are getting rid
of old db and creating a new db for the same folder
135275 r=bienvenu sr=mscott Added a boolean dbBatching param to EnableNotification that will tell us when
to do db batching. This param help us to not open unused stream to local dest folder in mailDatabase code, hence we can rid of #ifdef MAC.


git-svn-id: svn://10.0.0.236/trunk@120329 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:24:22 +00:00
naving%netscape.com
907f271f54 136784 r=bienvenu sr=mscott. Make compact local folders work for out-of-date summary files
and skip the folder if we are in middle of building msf file(parsing kicked off by selecting folder).


git-svn-id: svn://10.0.0.236/trunk@119013 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:05:07 +00:00
cavin%netscape.com
f8a07fd8f1 Fix for 134274. Reset incoming server pointer in nsMsgFolder::Shutdown() and invoking it from nsMsgDBFolder::Shutdown(). r=ducarroz, sr=bienvenu, a=asa.
git-svn-id: svn://10.0.0.236/trunk@118308 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 23:58:22 +00:00
seawood%netscape.com
bfd788cd4d Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski


git-svn-id: svn://10.0.0.236/trunk@117612 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:02:39 +00:00
darin%netscape.com
ac7b15ca02 fixes bug 116365 (second attempt) "[RFE] Cache partial documents; automatically
issue byte range requests" r=gagan sr=mscott,rpotts,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@117526 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:33:19 +00:00
darin%netscape.com
67cf8f6205 backing out changes (for bug 116365) to fix btek page-loader crash.
git-svn-id: svn://10.0.0.236/trunk@117473 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 08:47:10 +00:00
darin%netscape.com
9df715a8b7 fixes bug 116365 "[RFE] Cache partial documents; automatically issue byte
range requests" r=gagan sr=mscott,rpotts,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@117469 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:54:07 +00:00
bienvenu%netscape.com
2770f54467 fix problems with notifications of msgs added and deleted failing, e.g., folder with new msgs not getting bolded r=varada sr=sspitzer a=asa 132118
git-svn-id: svn://10.0.0.236/trunk@117057 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 14:42:11 +00:00
naving%netscape.com
ae90796cb3 57440 r=bienvenu sr=sspitzer a=asa Make the default mail folders localizable.
git-svn-id: svn://10.0.0.236/trunk@115792 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 03:25:31 +00:00
naving%netscape.com
b289c7bddf 112927 sr=bienvenu. Made it so that we alert the user in case we cannot
parse rules.dat, upon getting filterList


git-svn-id: svn://10.0.0.236/trunk@113368 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 22:08:48 +00:00
bienvenu%netscape.com
40100fbd87 whitespace cleanup
git-svn-id: svn://10.0.0.236/trunk@113245 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 22:53:05 +00:00
bienvenu%netscape.com
6b874e2dba fix crash downloading multiple newsgroups for offline use simultaneously 115237 r/sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@110596 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 00:28:10 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
bienvenu%netscape.com
eb79e9f044 make manyHeadersToDownload an attribute instead of a method, r/sr =sspitzer, cleanup as part of work for 112761
git-svn-id: svn://10.0.0.236/trunk@110055 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 00:58:34 +00:00
bienvenu%netscape.com
fd266d4985 reduce biff notifications, move biff to server level r=naving, sr=sspitzer 113366
git-svn-id: svn://10.0.0.236/trunk@109628 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 15:34:00 +00:00
bienvenu%netscape.com
045f03e0f1 cache char set in folder info r=naving, sr=sspitzer 102806 and also show folder contents before folder finishes loading
git-svn-id: svn://10.0.0.236/trunk@108729 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 21:52:06 +00:00
bienvenu%netscape.com
c08d46ed5f fixing #ifdef debug me code, no bug or reviewer
git-svn-id: svn://10.0.0.236/trunk@108703 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 15:42:56 +00:00
timeless%mac.com
7b921259da Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
darin%netscape.com
424a7bd5f9 patch for bug 107789 "deprecate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@108026 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 06:45:27 +00:00
blizzard%redhat.com
9b6794d44c back out darin's fix for bug #107789 since it caused blocker #108637.
git-svn-id: svn://10.0.0.236/trunk@107466 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 16:32:52 +00:00
darin%netscape.com
902546fa1d fixes bug 107789 "depracate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@107421 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 02:50:42 +00:00
sspitzer%netscape.com
ac0c89244d fix for perf bug #103010. don't persist the "open" state of news servers.
(revert to 4.x behaviour).  persisting the open state of news servers
causes us to update the unread count on news servers if they are "open"
on startup, slowing us down.  r=ssu,varada sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@106726 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:57:12 +00:00
jaggernaut%netscape.com
e4b4c0231a Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106534 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 09:27:57 +00:00
bienvenu%netscape.com
b2755185b6 fix losing read state of news messages r=naving, sr=sspitzer 103824
git-svn-id: svn://10.0.0.236/trunk@105049 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:25:07 +00:00
bienvenu%netscape.com
3d52bb98a3 part of fix for 95685 reduce bloat by closing db if a folder is unselected, r=naving (who did part of this patch), sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104781 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 01:05:58 +00:00
jaggernaut%netscape.com
bf7774eb72 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot.
git-svn-id: svn://10.0.0.236/trunk@104764 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:58:39 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
naving%netscape.com
6b588d4aba 93968 100037 r=bienvenu sr=sspitzer. Ask for confirmation dialog for folders that have an
associated filter and warn user if folder is renamed/deleted/moved. Also fixed
some of D&D folder problems and cleaned up the stringBundle code in base/util.


git-svn-id: svn://10.0.0.236/trunk@103917 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 02:47:03 +00:00
bienvenu%netscape.com
2217a54fa7 fix 98689 mark all read local folder leaves db invalid r=naving, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@103506 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:21:13 +00:00
bienvenu%netscape.com
3d50835873 cosmetic, whitespace changes only
git-svn-id: svn://10.0.0.236/trunk@102848 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 23:19:36 +00:00
naving%netscape.com
39abfc8109 Just crashed here. Make sure filterList is not null. no bug
git-svn-id: svn://10.0.0.236/trunk@102746 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 05:37:48 +00:00