Commit Graph

1962 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
bienvenu%netscape.com
26962d2124 more fixes for corruption of offline imap stores after compact, 166617, r/sr=sspitzer 2003-07-03 14:42:08 +00:00
bienvenu%netscape.com
6f90413097 fix 210800 problem parsing imap headers/messages with mal-formatted line terminators (CRCRLF) on windows r/sr=sspitzer 2003-07-02 21:03:30 +00:00
bienvenu%netscape.com
cb0214f949 part of work to prevent corruption of offline imap stores when compacting offline stores, and miscellaneous cleanup 166617 r/sr=sspitzer 2003-06-30 23:51:50 +00:00
bienvenu%netscape.com
1573b494ea fix problem selecting imap messages after imap uid validity rolls, r/sr=sspitzer 145638 2003-06-28 00:40:08 +00:00
bienvenu%netscape.com
a1b1e71fd8 remove debugging code accidentally checked in with last checkin 2003-06-25 14:49:28 +00:00
bienvenu%netscape.com
475384bd2d logout of connections that get a syntax error, because we don't re-use them correctly, r/sr=sspitzer, 205789 - the most common cause of this is spam messages with embedded nulls 2003-06-25 14:42:03 +00:00
jst%netscape.com
abefba9053 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com 2003-06-24 21:43:01 +00:00
caillon%returnzero.com
4cc64cee34 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
bzbarsky%mit.edu
1192bcea2e Attempt to fix windows bustage. 2003-06-18 04:17:23 +00:00
bzbarsky%mit.edu
5c03b78c3e Constify some constants in mailnews/imap. Bug 200389, patch by ataylor@its.to
(Andrew Taylor), r=sspitzer, sr=alecf
2003-06-18 02:40:32 +00:00
bienvenu%netscape.com
d4c29471d3 first part of 209545, get rid of unused imap proxy event, r/sr=sspitzer 2003-06-16 14:37:43 +00:00
bienvenu%netscape.com
9cec2db205 part of work for 145638, use uid validity in mem cache key so if uid validity rolls, we won't use the old cache entry, this checkin makes it so we can get the uid validity, the remaining work is to use it in the cache key r/sr=sspitzer 2003-06-16 03:27:47 +00:00
bienvenu%netscape.com
040f0dd599 fix handling case where imap server drops the connection by using nsITransport::isAlive, r=ere@atp.fi, sr=sspitzer 200181, 195106 2003-06-15 19:42:51 +00:00
alecf%flett.org
13e8097b51 fix what is almost certainly a typo - ACstring->ACString (no harm done, just causing an xpidl warning at build time) 2003-06-11 18:28:23 +00:00
alecf%flett.org
2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
bienvenu%netscape.com
15aa0cabb7 fix problem with imap mail dbs getting cleared when doing subscribe on cyrus servers, r/sr=sspitzer 208660 2003-06-11 14:47:44 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com
b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
bienvenu%netscape.com
88d247b651 fix for 208815 crash stopping downloading of imap message, r/sr=sspitzer 2003-06-10 18:51:12 +00:00
bienvenu%netscape.com
b6211f49cc fix handling of acl for setting seen flag in read-only folders, r/sr=sspitzer 206791 2003-06-06 23:39:20 +00:00
bienvenu%netscape.com
6ab4191aaf fix problems with imap subscribe ui and cyrus servers, r/sr=sspitzer, 202622 2003-06-05 03:36:27 +00:00
bienvenu%netscape.com
611a344c54 make imap pay attention to secure auth pref to fix problem logging onto misconfigured imap servers that claim to support auth-md5, but don't 2003-06-03 17:01:40 +00:00
bienvenu%netscape.com
d60ad56ec3 fix multiple connections to inbox when using account central to read new imap msgs, r/sr=sspitzer 207635 2003-06-01 22:04:30 +00:00
bienvenu%netscape.com
8f4bb24684 fix build error in #ifdef debug code 2003-05-28 14:32:00 +00:00
bienvenu%netscape.com
df3d5c81fc attempt to fix race condition in multiple connection protection code 146558 r/sr=sspitzer 2003-05-28 14:27:05 +00:00
bienvenu%netscape.com
d7eb3427b4 fix move/copying multiple messages into imap folder from another account to not update the dest folder for every message copied into it, if open in another window, 207292 r/sr=sspitzer 2003-05-27 23:52:18 +00:00
dwitte%stanford.edu
270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
bienvenu%netscape.com
1e64877b6c fix problem migrating/downloading mail that has been downloaded by Mail.app and marked as non junk, r=sfraser, sr/a=sspitzer 192596 2003-05-22 20:50:40 +00:00
cavin%netscape.com
72f75498c9 Fix for 205729. Added 'aMsgWindow' input parameter to PerformBiff() which is set to null for regular biff (ie, check mail for every xx minutes) and is set to a valid window for check mail at startup. r=sspitzer, sr=bienvenu, a=sspitzer. 2003-05-19 23:59:06 +00:00
scott%scott-macgregor.org
eb5faba111 Part of Bug #179533 --> remove obsolete CID file (has no effect on the current build) since this file has
been moved to ..\src.
2003-05-18 19:25:59 +00:00
sspitzer%netscape.com
fdd4cc0957 fix for bug #194273
move to junk folder (or delete) when the user manually marks as junk.
this was one of the top usability items we found, during UE studies
r/sr=bienvenu, a=sspitzer
2003-05-14 20:38:40 +00:00
bienvenu%netscape.com
6acd0b59e3 fix for losing junk flags after selecting folder, r/sr/a=sspitzer 191042 2003-05-14 13:38:29 +00:00
sspitzer%netscape.com
62a758724a fix for bug #195234
mail status line reports: "Transferring data" with the wrong hostname.
affects pop, imap, and nntp.  (not smtp)
thanks to ch.ey@gmx.net for the initial patch.
r/sr=bienvenu, a=sspitzer
2003-05-14 05:28:25 +00:00
bienvenu%netscape.com
335c0ffd8d fix crash in imap code when socket transport is closed, r/sr/a=sspitzer 205420 2003-05-14 01:44:05 +00:00
bienvenu%netscape.com
73c50bbb76 fix for problem failing to delete imap messages when user has a server that supports acl and changes his username, r/sr/a=sspitzer 63550 2003-05-14 00:52:16 +00:00
bienvenu%netscape.com
2d4d28d52d better fix for 204874 problems with custom proprietary envelope command with imap sent folder, r/sr/a=sspitzer 2003-05-10 14:48:24 +00:00
cavin%netscape.com
c4ff4b91e8 Fix for 190354. Create CanRenameDeleteJunkMail() to determine if a given junk folder uri is being used or not. Reset OnlineFolder flag for a folder that has been renamed. sr=bienvenu, r/sr/a=sspitzer. 2003-05-08 22:50:48 +00:00
cavin%netscape.com
9a096f5390 Fix for 200199. Create HandleMDNResponse() to handle all return receipt (MDN) requests in mailWindowOverlay.js. Remove all MDN generation code in cpp files. r=bienvenu, sr/a=sspitzer. 2003-05-08 22:37:41 +00:00
bienvenu%netscape.com
14f1bc05e6 fix problem updating imap folder that has local messages appended to it, r/sr/a=sspitzer 195826 (and 204678 along the way) 2003-05-08 22:23:49 +00:00
bienvenu%netscape.com
c75a0173b6 fix problem with sent folder and custom envelope command, r/sr=sspitzer, a=sspitzer, 204874 2003-05-08 14:15:43 +00:00
sspitzer%netscape.com
0e038caab6 fix for bug #189490.
remember the current mail view, across sessions.
(we already remember it when switching folders).
r/sr=bienvenu a=sspitzer
2003-05-08 14:05:57 +00:00
darin%netscape.com
ddcc1e9593 fixes bug 204673 "throbber icon keeps spinning after viewing previously read mail" r=mscott sr=sspitzer a=sspitzer,asa 2003-05-07 21:22:24 +00:00
darin%netscape.com
3c6e0afaa8 fixes bug 197079 "Status bar doesn't display 'Stopped' when stop button is clicked" r=dougt sr=jag a=asa 2003-05-02 06:31:55 +00:00
sspitzer%netscape.com
20e3c000e1 fix for bug #161999
for local trash folder, empty trash doesn't always update unread / total msg counts.
r/sr=bienvenu, a=sspitzer
2003-05-02 02:30:09 +00:00
sspitzer%netscape.com
5b30518caa remove bogus comment. 2003-05-02 02:11:53 +00:00
bienvenu%netscape.com
d6fe2358de fix endless quota alerts, r/sr=sspitzer, a=sspitzer 204120 2003-05-01 22:35:51 +00:00
cavin%netscape.com
a58b5ef4fa Fix for 202355. Turn on apple single/double code for MacOSX. r=ccarlen, sr=sfraser. 2003-04-25 21:18:10 +00:00
sspitzer%netscape.com
5599c46767 fix for security bug #199088
r/sr=bienvenu
2003-04-23 05:21:18 +00:00
scott%scott-macgregor.org
8b5be13a9d Bug #179533 --> add the option to make a static build of mailnews which is disabled by default.
r/sr=sspiter
2003-04-20 20:56:21 +00:00
scott%scott-macgregor.org
7bf4126720 Part of Bug #179533 --> need to move mail CID files from the build directory to the src directory.
This will make aggregating mail dlls easier.
r/sr=sspitzer
2003-04-19 05:29:35 +00:00
cavin%netscape.com
93ff5785bf Fix for 202356. Only issue getquotaroot cmd for aol inbox folder. r/sr=bienvenu. 2003-04-17 20:11:44 +00:00
bienvenu%netscape.com
dd3d986e3c one more fix for 41594, cram-md5 support, handle case where digest has embedded nulls, r/sr=sspitzer 2003-04-13 18:46:10 +00:00
bienvenu%netscape.com
79552ec278 little cleanup of cram-md5 code for imap, fix umr and replace PR_FREEIF with PR_Free r/sr=sspitzer 41594 2003-04-10 18:18:14 +00:00
bienvenu%netscape.com
103e4f3705 try to fix imap cram md5 r/sr=sspitzer, hardcode digestLength to 16 per cram md5 rfc bug 41594 2003-04-07 03:19:12 +00:00
bienvenu%netscape.com
d11405d58c extend cram md5 digest result len buffer to 17 bytes r/sr=sspitzer 41594 2003-04-06 21:31:23 +00:00
bienvenu%netscape.com
ffa1b3be72 fix for 41594 add cram md5 to imap r/sr=sspitzer 2003-04-05 21:40:14 +00:00
mscott%netscape.com
0e31f957a8 Porting a minotaur fix back into mozilla mail.
Bug #200696 --> Status text improvements. Load Document... is now "Load Message..."
Don't use "Done' as the default status text for mail. It doesn't make sense.

r/sr=sspitzer
2003-04-05 04:10:02 +00:00
dmose%mozilla.org
c35bd98cd5 Add basic UI for displaying IMAP quota information (bug 178758). Thanks to Lorenzo Colliti <lorenzo@collitti.com> for the patch. r=bienvenu@netscape.com, neil@parkwaycc.co.uk; sr=dmose@mozilla.org 2003-04-02 04:18:57 +00:00
cavin%netscape.com
d14560aa7f Fix for 168097. Need to fetch MIME headers for message/rfc822 body part if it is enclosed in the msg body (most likely as a body part of a multipart/mixed msg). r=ducarroz, sr=sspitzer. 2003-03-18 22:46:14 +00:00
sspitzer%netscape.com
a12aa97d06 code cleanup, no bug. 2003-03-16 00:31:15 +00:00
sspitzer%netscape.com
39faff3252 fix for bug #191042.
clear the custom flags for the message
otherwise the old custom flags will stay around
thanks to ere@atp.fi (Ere Maijala) for the fix.
r/sr=sspitzer
2003-03-15 22:15:55 +00:00
dougt%netscape.com
0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
sspitzer%netscape.com
7b22dc8cf3 fix the junk mail purge code. when this code was original written, it was modeled
after the biff code, using the purge interval as the timer.  (yikes, a 14 day timer!)

now, we fire a timer at a fixed interval, and see if a purge is necessary, and use
the purge interval to decide what messages to delete.

add code to verify that we are only trying to delete messages marked as junk.

we do this because the junk folder might be trash, or there might be non-junk in it
that hasn't been moved, and we don't want to delete that.

r/sr=bienvenu
2003-03-04 00:28:40 +00:00
cavin%netscape.com
e406e0f4cf Fix for 138054. When appending msg to a folder set the msg with "MDNSent" flag if we support the flag. r/sr=sspitzer. 2003-02-27 23:43:01 +00:00
neil%parkwaycc.co.uk
303232c110 Bug 194764 "File Here" shows up for IMAP servers r/sr=sspitzer 2003-02-26 13:06:22 +00:00
cbiesinger%web.de
9405eda256 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
sspitzer%netscape.com
b3cf92a384 fix for bug #160586.
IMAP folder moved to ~/<folder> instead of ~/mail/<folder> when moving from sub-folder
r/sr=henry.jia,sspitzer
thanks to philip.zhao@sun.com for the patch.
2003-02-23 15:58:35 +00:00
sspitzer%netscape.com
5ac91abaef bullet proofing for crasher bug #194335.
some additional code clean up (found while reviewing bug #190106.
r/sr=bienvenu
2003-02-23 01:51:37 +00:00
darin%netscape.com
01533c82cd fixes bug 190106 "IMAP connections hanging" r/sr=sspitzer,bienvenu a=asa 2003-02-21 09:48:41 +00:00
sspitzer%netscape.com
6351eb56de fix for 1.3 blocker bug #179856
crash when you undo a move (or copy).

this regression was caused by two checkins (#59694 and #166411)

the fix is to move the code that sets the src and dest keys on the
undo transaction back to where it was and to bullet proof
the undo transaction code so that if we don't have any src keys.

r=cavin, sr=bienvenu, a=asa
2003-02-21 01:20:44 +00:00
sspitzer%netscape.com
1d1b1171be fix for bug #188051. IMAP mark as read sends DeleteOrMoveMsgCompleted event.
thanks to bienvenu for the fix.  r/sr=sspitzer, asa.
2003-02-11 07:49:39 +00:00
henry.jia%sun.com
2a809d07c1 Bug 148043: namespace prefs keep growing when checking for mail in multiple folders is on due to cached connections
r=bienvenu, sr=Henry, a=asa
2003-02-11 04:07:22 +00:00
darin%netscape.com
0017e6b9e3 fixes bug 192272 "Mozilla crashed on Quit after attempting access to SSL
IMAP account during DNS hang [@ nsInputStreamPump::EnsureWaiting]"
r=sspitzer sr=bienvenu a=asa
2003-02-08 00:52:54 +00:00
sspitzer%netscape.com
4726452fb9 supplimental fix for bug #180857
make spam-status more strongly bound to the message on IMAP.
we weren't subtracting the flags correctly.

thanks to bienvenu for the fix.  r/sr=sspitzer, a=asa
2003-01-28 05:17:28 +00:00
bienvenu%netscape.com
87aa6e6fe0 store junk mail classification on imap servers that support user keywords, r/sr=sspitzer 180857 2003-01-21 18:00:00 +00:00
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
sspitzer%netscape.com
6ed8423441 turn assertion into warning, so I don't go insane. 2003-01-17 23:40:37 +00:00
antonio.xu%sun.com
1ebf393d33 fix for bug #185959 Many function(For exam. Reply, Forward) works and leads to crash before user login r=Henry sr=binevenu 2003-01-12 08:47:34 +00:00
sspitzer%netscape.com
65a5fcf61b fix for bug #181397 (automatically create the junk folder)
fix for bug #181394 (enable the "Move to Folder" UI in junk controls)
r/sr=bienvenu
2003-01-11 23:09:34 +00:00
sspitzer%netscape.com
02d7bbb433 code cleanup. remove static cid. 2003-01-10 04:51:47 +00:00
sspitzer%netscape.com
db4255e05a code cleanup. 2003-01-10 04:51:00 +00:00
sspitzer%netscape.com
b81b299567 code cleanup. remove the static CID. 2003-01-10 04:50:17 +00:00
sspitzer%netscape.com
a006c74fa9 adding a contract id for the imap service, so I can clean up some code 2003-01-10 03:46:23 +00:00
dbaron%dbaron.org
acdd4e46c0 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:05:52 +00:00
bienvenu%netscape.com
dbb7679474 fix problem deleting multiple imap messages (and with check for new mail on multiple folders), cleanup unused methods r/sr=sspitzer 182808 2002-12-21 16:43:23 +00:00
bienvenu%netscape.com
ad78333a43 fix crash in nsImapMailFolder::NormalEndMsgWriteStream when reading 0 byte message r/sr=sspitzer 185666 2002-12-17 15:52:01 +00:00
bienvenu%netscape.com
8b0c97fb35 make newly discovered imap folders be collapsed by default, fix 147528 r/sr=sspitzer 2002-12-16 02:08:53 +00:00
ere%atp.fi
43f494f1cb Bug 165090 - spurious "Server has disconnected" messages
r/sr=bienvenu
2002-12-15 19:36:19 +00:00
sspitzer%netscape.com
38832437ca no brainer code cleanup. not part of any bug. rs=bienvenu 2002-12-13 03:43:30 +00:00
bienvenu%netscape.com
2aa2f6fa6e fix potential memory trounce when syncing for offline on some imap servers, r=ducarroz, sr=sspitzer 181372 2002-12-10 23:43:09 +00:00
bienvenu%netscape.com
596d8eaa46 attempt to fix stalling of imap urls due to race condition in url chaining, r=ducarroz, sr=sspitzer, a=asa 182808 2002-12-09 20:03:43 +00:00
ere%atp.fi
d79dcf466c Fix for bug 182678: IMAP flags are lost if Mozilla crashes or connection is lost.
r=bienvenu, sr=sspitzer, a=asa
2002-12-04 21:17:02 +00:00
darin%netscape.com
a736085beb fixes bug 56629 "Proxy: Client->Proxy connection errors should show proxy,
not target hostname" r=bbaetz, sr=rpotts
2002-12-04 04:18:08 +00:00
caillon%returnzero.com
2b0254ddd4 Bug 182953: Clean up IMAP prefs usage to use nsIPrefBranch and friends
r=timeless sr=bienvenu
2002-12-04 02:09:11 +00:00
bienvenu%netscape.com
d5b0d8b9f7 fix build warnings, patch by Aleksey Nogin, r=ducarroz, sr=bienvenu 59673 2002-12-03 15:23:42 +00:00
bienvenu%netscape.com
c57fdd9994 179162 chain junk mail classification requests by using new msg service streamMessage method r=dmose, sr=sspitzer 2002-12-03 13:06:46 +00:00
bzbarsky%mit.edu
6e7ea01e65 Fix Irix bustage. Stray CR chars are bad. 2002-12-03 06:13:38 +00:00
bienvenu%netscape.com
be196d26b8 make sure we have a db in SyncFlags, bullet proofing for crash going offline r/sr=sspitzer 181372 2002-12-03 03:42:36 +00:00
bienvenu%netscape.com
60a0aff107 fix losing delete changes on server that says there are no permanent flags, r/sr=sspitzer 182641 2002-12-03 03:38:10 +00:00
kaie%netscape.com
c6b0b2497e b=180806 IMAP backend should avoid unnecessary logout
r=bienvenu sr=sspitzer
2002-11-28 18:36:36 +00:00
bienvenu%netscape.com
42ca5f2672 fix problem with folder permissions and imap acl r/sr=sspitzer 170597 2002-11-28 03:32:17 +00:00
sspitzer%netscape.com
1d230ad935 fix for bug #180477. fix crasher and other problems with toggling junk
state from the advanced search dialog.  and some code cleanup.
r/sr=bienvenu
2002-11-27 23:36:38 +00:00
ere%atp.fi
184532a39b Bug 24064: Need ability to specify Trash folder
r=Henry.Jia
sr=bienvenu
2002-11-27 12:20:37 +00:00
henry.jia%sun.com
729b7067ca Bug 161085: get rid of m_onlineBaseFolderExists, it's not used
r=antonio.xu@sun.com, sr=bienvenu@netscape.com
2002-11-27 04:02:00 +00:00
dmose%netscape.com
baf766e1ad Fix mailnews gcc warnings (bug 179775); thanks to Pratik <psolanki@netscape.net> for the patch. r=dmose, sr=bienvenu 2002-11-27 02:52:37 +00:00
bienvenu%netscape.com
859a783300 add msg window to spam classification calls for feedback, r=dmose, sr=sspitzer, 179162 2002-11-26 21:41:44 +00:00
bienvenu%netscape.com
3dc79dbde4 fix topcrash in imap GetShowAttachmentsInline, r=ducarroz, sr=sspitzer 181858 2002-11-26 00:45:07 +00:00
bienvenu%netscape.com
d64f033f85 fix problem with IMail imap server flag changes not persisting also fixed whitespace and replace PR_FREEIF with PR_Free r=cavin, sr=sspitzer 180001 2002-11-24 17:11:43 +00:00
leaf%mozilla.org
9cdf072c7d TRUE -> PR_TRUE, build bustage fix 2002-11-22 16:46:32 +00:00
ducarroz%netscape.com
47d6072128 Fix for bug 55657. Implement possibility to disable display attachment inline. R=cavin, SR=bienvenu 2002-11-22 15:47:04 +00:00
bzbarsky%mit.edu
840850565e Clean up some mailnews array usage, fix some leaks. Bug 175540, r=dmose,
sr=alecf
2002-11-21 03:49:11 +00:00
bienvenu%netscape.com
c0e378dcc6 stop playing back operations in a folder when playback fails (e.g., we're not connected to the server), r=cavin, sr=sspitzer 145048 2002-11-18 15:17:34 +00:00
timeless%mozdev.org
384066e98e Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
sspitzer%netscape.com
b5dd4e4a94 code cleanup.
don't do AppendInt(x, 10); as 10 is the default.
just do AppendInt(x);
rs=bienvenu.
2002-11-15 03:29:22 +00:00
nhotta%netscape.com
2520f79e24 Removing unnecessary CreateUtf7ConvertedString,
bug 180166, r=naving, sr=bienvenu.
2002-11-14 23:33:02 +00:00
bienvenu%netscape.com
57ca9ca2fb remove unneeded call to CreateUtf7ConvertedString when refreshing folder acl r=nhotta, sr=sspitzer 180158 2002-11-14 22:01:58 +00:00
bienvenu%netscape.com
0f49f4a5ec fix copying multiple imap messages on servers with non-canonical hierarchy delimiter (e.g., cyrus servers), also whitespace cleanup, r=cavin, sr=sspitzer 2002-11-12 01:00:17 +00:00
dmose%netscape.com
d31ebf1c6a 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 2002-11-07 20:37:55 +00:00
sspitzer%netscape.com
2c5a191033 implement news filters. bug #17483.
implement an ID column in the thread pane, but commented out.
Mail.app has it, but we haven't decided to include it yet or not.
but it is useful for debugging.

code cleanup.

r/sr=bienvenu
2002-11-06 05:59:19 +00:00
bzbarsky%mit.edu
e5fafcae33 Use the right contractid for the pref service. Bug 178062, r=brendan,
sr=alecf
2002-11-06 03:14:47 +00:00
naving%netscape.com
66fb9ebcb3 174441 r=cavin sr=bienvenu Implementing multiple filter actions, so you can do things like move the message
and label as "to-do" etc..
168553 r=cavin sr=bienvenu Forking rules.dat so that we can handle new filter types. msgFilterRules.dat is
where your filters are going to be persisted. Also added support to handle future filters by not parsing
them, will prevent us from forking in future.
2002-11-06 02:13:37 +00:00
naving%netscape.com
06116cb469 176380 r=cavin sr=bienvenu set the sent and trash folder flags on aol folders if redirector="aol" 2002-11-06 00:47:46 +00:00
bienvenu%netscape.com
7d1a44fbfb add folder size to folder pane, r=cavin, sr=sspitzer, 173825 fix imap use of mem cache not to mark entries valid until finished loading, r=cavin, sr=sspitzer 114965 2002-11-06 00:18:25 +00:00
bienvenu%netscape.com
b685adfd58 fix handling of spam plugin imap msg fetch requests so they'll go into memory cache correctly, r=dmose, sr=sspitzer, a=asa not visible to user 169557 2002-10-29 21:03:07 +00:00
dmose%netscape.com
7fbbf99073 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 2002-10-24 07:03:04 +00:00
sspitzer%netscape.com
8ef569b776 don't set the "junkscore" string attribute directly, since it won't notify the view
that the key has changed.  bug #169638.  instead, go through the db.  r/sr=bienvenu, a=asa
2002-10-10 00:07:04 +00:00
sspitzer%netscape.com
52b427ec48 more changes, not visible to the end user yet, for spam UI. bug #169638.
implement junk logging. r/sr=bienvenu
2002-10-09 07:34:02 +00:00
bienvenu%netscape.com
9438cd084d support for imap and pop3 spam filters, not turned on yet r/sr=sspitzer 169557 2002-10-09 01:21:27 +00:00
sspitzer%netscape.com
24d3bea489 fix more build bustage. 2002-10-08 05:26:03 +00:00
bienvenu%netscape.com
001c8496e0 work for imap spam filters, ifdeffed off for now r/sr=sspitzer 169557 2002-10-08 04:19:11 +00:00
bienvenu%netscape.com
9481fa3284 add imap msg fetch peek url, part of spam filter work r/sr=sspitzer 169557 2002-10-08 03:52:41 +00:00
sspitzer%netscape.com
995ff937e9 code cleanup. use contract id instead of cid. remove unused cid 2002-10-02 07:52:09 +00:00
bienvenu%netscape.com
0fd4bbe14f add ability to pass results of commands back to front end code so the fe can handle errors, bug 20071 r=cavin, sr=sspitzer 2002-10-01 18:45:08 +00:00
bienvenu%netscape.com
5e9a664981 fix bug 20071, add ability to pass results of custom commands back to front end code so the fe can handle errors, r=cavin, sr=sspitzer 2002-09-30 23:23:16 +00:00
sspitzer%netscape.com
d1d6c0ffbf more work for #169638. junk settings UI. we are going to all for junk mail controls
when reading news.  instead of using canGetMessages (poorly named, really means, "do I have an inbox on this account type?") I've added canGetIncomingMessages, which means ("do messages come in for this account type?")  true for all but none type (think local folders).
r/sr=bienvenu
2002-09-26 23:03:22 +00:00
rpotts%netscape.com
dc675a9675 bug #169583 (r=jst, sr=darin) URILoader should allow nsIContentHandler::DoContent() to fail... 2002-09-24 19:53:43 +00:00
henry.jia%sun.com
eac9409ebf Patch for bug 133717: Possibly missing a break before falling through into the default case
Patch by leon.zhang@sun.com
r=henry, sr=bienvenu
2002-09-20 02:40:42 +00:00
sspitzer%netscape.com
3e564330d2 fix for #169227. for certain redirector types, don't show hostname in the password prompt.
r/sr=bienvenu.  UI changes approved by jglick.
2002-09-17 19:25:31 +00:00
sspitzer%netscape.com
1b1eef476f code cleanup. use contract ids instead of static cids. remove some usused static cids. 2002-09-16 00:46:09 +00:00
ere%atp.fi
42bccbaa31 Bug 168697, Need to request In-Reply-To header from imap server
r/sr=bienvenu
2002-09-14 18:41:15 +00:00
sspitzer%netscape.com
71a01c28f3 fix for bug #168521. too much disk IO when logging filters.
fix for bug #168536.  assertions on shutting down due to filter changes.
r/sr=bienvenu
2002-09-13 21:58:45 +00:00
bienvenu%netscape.com
b52d22612b work for filter after the fact, r=naving, sr=sspitzer 11033 2002-09-13 00:58:06 +00:00
naving%netscape.com
31c2746d11 166675 r=cavin sr=bienvenu Do not call canGetFileMessage on bogus folder
72322 r=cavin sr=bienvenu Make imap deletes (move to trash) not fail if user hits delete, delete... quickly.
2002-09-12 06:22:55 +00:00
sspitzer%netscape.com
35dcce26de fix for #161002. implement filter logging. add some UI for applying
filters after the fact.  code cleanup.
r=mscott, sr=bienvenu
2002-09-11 05:03:36 +00:00
naving%netscape.com
e4a0d79697 167560 r=cavin sr=bienvenu make remaining cases of copyMessages go through copy service 2002-09-11 01:54:13 +00:00
naving%netscape.com
c3ecae8a0a 167579 r=cavin sr=bienvenu making copyservice handle requests better and deal with failure cases gracefully 2002-09-11 01:50:21 +00:00
naving%netscape.com
b8ed276cdc 167560 r=cavin sr=bienvenu a=asa fixing a regression in imap offline copy filing code. 2002-09-10 18:19:07 +00:00
bienvenu%netscape.com
48262b8fc9 fix offline recording and playback of imap offline operations, r=naving (and part of fix by navin), r=sspitzer, a=asa 167382 2002-09-09 19:20:29 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
sspitzer%netscape.com
70f20ae10a fix for bug #166899. auto detect and set redirector type to based on hostname
r=cavin, sr=bienvenu, a=asa
2002-09-06 03:45:00 +00:00
bienvenu%netscape.com
1c61d571cb fix bad imap msg hdrs when downloading attachments, r=cavin, sr=sspitzer, a=asa 162342 2002-09-05 22:08:50 +00:00
bienvenu%netscape.com
97ac4945f7 fix crash getting new mail when rules.dat has incorrect host name, r=naving, sr=sspitzer 149059 2002-09-03 23:27:56 +00:00
bienvenu%netscape.com
deb3facfeb potential fix for crash in nsImapProtocol::HandleMessageDownloadline r/sr=sspitzer 166196 2002-09-03 21:50:36 +00:00
bienvenu%netscape.com
0a30b8b2a5 fix 19420, make sure we override cached redirector type if it changes r/sr=sspitzer 2002-08-31 16:01:33 +00:00
bienvenu%netscape.com
2034afd0ef fix build warning, r/sr=sspitzer, no bug 2002-08-30 16:11:45 +00:00
bienvenu%netscape.com
1a9c161c73 fix problems parsing certain imap headers with new hdr downloading code, r/sr=sspitzer, 19552 2002-08-29 23:51:43 +00:00
henry.jia%sun.com
e66273228b fix bug 147995: Difficulty finding trash folder when using an IMAP server directory
Patch By Henry.Jia@sun.com
r=naving, sr=bienvenu
2002-08-28 06:29:15 +00:00
bienvenu%netscape.com
43c56c09a8 fix 164404, 100% cpu use when waiting for imap server response r=mscott, sr=sspitzer 2002-08-26 22:57:11 +00:00
naving%netscape.com
99efaa5cdd no bug r/sr=bienvenu removing some lines not needed 2002-08-23 21:02:36 +00:00
bienvenu%netscape.com
545df5bede fix msg size for newly downloaded imap headers r/sr=sspitzer, 164281 2002-08-23 18:30:08 +00:00
bienvenu%netscape.com
f6584ea326 fix regression in imap undo so that it downloads undeleted header immediately r/sr =sspitzer 164144 2002-08-23 14:07:04 +00:00
bienvenu%netscape.com
a2e24f9cee fix mem leak introduced by blocker fix, a=loan 2002-08-22 17:02:21 +00:00
bienvenu%netscape.com
623f33a451 attempted fix for smoketest blocker in imap header downloading 164047 - backout part of change for imap hdr downloading, so that we go through the line termination adjustment code we used to 2002-08-22 16:45:17 +00:00
bienvenu%netscape.com
1c99e784c8 reduce number of xpcom proxy calls during imap hdr download, r=mscott, sr=sspitzer, 162929 2002-08-21 22:55:27 +00:00
sspitzer%netscape.com
b71a45ebfc adding new .idl file to the mac build for bienvenu. 2002-08-21 22:37:48 +00:00
bienvenu%netscape.com
bb7400c7bc new interfaces to reduce number of xpcom proxy calls during imap hdr download, not part of build yet, r=mscott, sr=sspitzer, 162929 2002-08-21 21:13:58 +00:00
naving%netscape.com
8b68cb407a 66955 r=cavin sr=bienvenu. Implementing drag and drop messages from advanced search results to 3 pane.
Hooking up fcc, search results and drag and drop copies to copyService so that we can handle multiple sources/requests.
89285 r=cavin sr=bienvenu fixing copy to Sent folder failed sometimes by queuing copy requests
2002-08-16 22:22:55 +00:00
sspitzer%netscape.com
1bc2a418eb fix for #162577. problem with "retain all IMAP mail I've read", "retain all mail I've sent" code if we point to a non-ASCII folder. r/sr=bienvenu 2002-08-13 23:25:39 +00:00
mkaply%us.ibm.com
b48817e12b OS/2 bustage - needs to be in header too 2002-08-13 14:54:48 +00:00
seawood%netscape.com
2ff1427ec5 Properly declare FreeCustomFlags as a callback function.
Fixing OS/2 tinderbox bustage.
2002-08-13 14:25:41 +00:00
bienvenu%netscape.com
7153369101 fix case of include statement to fix build bustage 2002-08-13 02:02:02 +00:00
bienvenu%netscape.com
0634920f1b add extensibility hooks for running custom imap commands, custom keywords etc, r=cavin, sr=sspitzer 161226 2002-08-13 01:41:33 +00:00
cbiesinger%web.de
5aa71c0a69 bug 48436 r=caillon sr=blake Change "Document: Done" to "Done" 2002-08-11 18:04:50 +00:00
bienvenu%netscape.com
5b3771e6c1 fix for regression with cyrus imap servers introduced by 27002, modified version of patch proposed by henry jia r=me,sr=sspitzer 2002-08-10 18:15:09 +00:00
bienvenu%netscape.com
0c076ef58a restore undo of move from local to imap for uidplus servers by backing out part of previous fix, 162008 r/sr=sspitzer 2002-08-10 17:33:50 +00:00
bienvenu%netscape.com
a3d081ccb0 fix save as in news while offline by using common save as listener r=navin, sr=sspitzer 159988 2002-08-10 17:13:44 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
bienvenu%netscape.com
d9c1984bcf fix 129603 r=bhuvan, sr=sspitzer, ability to hide or grey out features not support by certain servers 2002-08-07 23:52:17 +00:00
bienvenu%netscape.com
480d37ca06 fix mAcceptLanguage busteage in imap code so we'll send correct language to server, 16941, fix slowness appending msg to sent folder on non-uidplus imap servers 129495 r=naving, sr=sspitzer 2002-08-07 14:25:33 +00:00
henry.jia%sun.com
eed9ab0bdd 3rd patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2002-08-06 05:37:58 +00:00
naving%netscape.com
75dbab6dd3 42090 most of the work for this patch done by joshua.xia@sun.com r=naving sr=bienvenu a=asa Make cancel in
filterListDialog not remember changes.
2002-07-26 19:27:30 +00:00
henry.jia%sun.com
21d39b52f2 First patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=blizzard, sr=alecf, a=asa(for trunk)
2002-07-23 02:27:19 +00:00
bienvenu%netscape.com
0b5bcbc0e3 fix crash selecting bogus line in thread pane for imap folder, r=cavin, sr=sspitzer 157503 2002-07-18 14:45:08 +00:00
henry.jia%sun.com
9815372f48 Fix bug 27002:
Cyrus IMAP: Send and Save as Draft/Template problems on Cyrus

Patch description:
Add personal namespace support for specific folders' uri. This patch can also solve the blocker bug 90494 which is related the same problems of Courier IMAP server.

patch by Henry.Jia@sun.com
r=cavin@netscape.com, sr=bienvenu@netscape.com, a=chofmann@netscape.com
2002-07-18 05:41:42 +00:00
naving%netscape.com
9d3c3a0708 157809 r=cavin sr=bienvenu a=scc fixing can't delete imap folders when using "mark as deleted" delete model 2002-07-18 01:18:14 +00:00
bryner%netscape.com
90a2f7dfb7 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2002-07-08 07:56:50 +00:00
bienvenu%netscape.com
64793914d1 fix offline move of imap message when delete model is delete immdediately r=naving, sr=sspitzer 154938 2002-07-01 21:17:26 +00:00
mkaply%us.ibm.com
0ad8f00c05 #62322
r=naving, sr=bienvenu
Hookup preference for displaying confirmation on deleting folders
2002-06-27 22:07:10 +00:00
naving%netscape.com
f77e24acb6 154000 r=cavin sr=bienvenu fixing imap drag and drop of folders using non-ascii names. 2002-06-27 21:15:56 +00:00
dbaron%fas.harvard.edu
6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
naving%netscape.com
ed58d286b6 154000 r=cavin sr=bienvenu fixing can't move non-ascii imap subfolders and one assertion in AddSubfolderWithPath
on doing such a move.
2002-06-26 00:39:50 +00:00
mscott%netscape.com
5facc456d0 Bug #153500 --> fix a regression caused by Bug #146559. Don't set the performing biff flag to true
when the user hits get new mail. It causes windows biff notifications to come up when the user initiated
the fetch which is annoying.

r=ere@atp.fi
sr=bienvenu
2002-06-24 21:44:58 +00:00
timeless%mac.com
0d38e39a83 Bug 95295 If imap server is named "imap" you can't emtpy your trash.
patch by jk@tools.de r=morten@nilsen.com sr=bienvenu
2002-06-24 04:31:41 +00:00
cavin%netscape.com
5bf760ca9e Fix for 153465. In nsImapService::DeleteFolder(), if it's an aol server then use the new 'deletefolder' url to remove all msgs and the folder itself. r=naving, sr=bienvenu. 2002-06-21 21:55:10 +00:00
naving%netscape.com
6a7a471d29 151056 r=cavin sr=bienvenu making mdn work for large imap messages. The fix is to ignore read(\seen) flag changes
on nsImapMsgFetch.
2002-06-21 00:25:42 +00:00
seawood%netscape.com
3af6f52067 Removing the extraneous dos newline that's killing the irix build. 2002-06-20 12:50:21 +00:00
henry.jia%sun.com
fe652851e6 Bug 105385 Cyrus IMAP: Server directory has / appended always
Patch description: Make this function more flexible and support other imap servers such as Cyrus and Courier besides UW server
r=bienvenu
sr=mscott
2002-06-20 06:11:50 +00:00
ducarroz%netscape.com
2672f3f8eb Fix for bug 145291. We must generate the headers of all the children of an multipart/appledouble attachment when doing parts-on-demand in order to have all the needed information to generate the attachment entry in the UI. R=cavin, SR=bienvenu 2002-06-17 21:07:55 +00:00
naving%netscape.com
beaafb6638 bugscape 15244 r=cavin sr=bienvenu Make webmail folder "Draft" show Recipient instead of Sender 2002-06-17 20:49:44 +00:00