77 Commits

Author SHA1 Message Date
nick.kreeger%park.edu
79e3b43659 Fixing bug 392043, nsIMsgSendListener callbacks don't work. This checkin will remove nsMsgDeliveryListener.h/cpp since the class should not be public and is only used by nsMsgSend.
git-svn-id: svn://10.0.0.236/trunk@233049 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 01:24:23 +00:00
scott%scott-macgregor.org
81c9389b9e Bug #379070 --> convert GetMessageServiceFromURI to use nsACString instead of a char *.
Patch by Joerg Bornemann <jobor@gmx.de>
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@229226 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 06:57:10 +00:00
bienvenu%nventure.com
32d8db3f44 string cleanup for msg compose, sr=mscott, not part of firefox a5, 379070
git-svn-id: svn://10.0.0.236/trunk@227377 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-01 18:13:59 +00:00
neil%parkwaycc.co.uk
54323451d3 Bug 377125 nsIMsgQuote::QuoteMessage crashes if its stream listener is not a quoting output stream listener r=bienvenu sr=mscott
git-svn-id: svn://10.0.0.236/trunk@224620 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 09:10:16 +00:00
neil%parkwaycc.co.uk
a0c076651f Converted dubious use of nsCOMPtr on a concrete class to interface, nsRefPtr or static cast and removed some spurious IIDs b=317937 r+sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@185311 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-27 23:57:18 +00:00
bienvenu%nventure.com
31cbdc22ad fix setting of msg disposition (reply/forward) when sending edited draft, 128996, and 204350, handling of message/rfc822 attachments opened in standalone msg window, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@183124 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 14:00:08 +00:00
bienvenu%nventure.com
a8ab636f4a fix 268746, add ability to reply/forward edit message as new for .eml files opened in stand-alone window, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@180392 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 15:21:19 +00:00
cbiesinger%web.de
5de2d0ee90 Bug 226005 replace some users of nsIPref with nsIPrefService/nsIPrefBranch in
mailnews
patch by Mikael Parknert <mikael@parknert.se> r=bienvenu sr=darin


git-svn-id: svn://10.0.0.236/trunk@160180 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 18:04:18 +00:00
cbiesinger%web.de
5999fe7ca6 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@158580 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-29 16:45:07 +00:00
gerv%gerv.net
17661ae2d9 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155034 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 18:33:16 +00:00
alecf%flett.org
1c89787dc0 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


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
sspitzer%netscape.com
5affec7d42 code cleanup, no bug.
git-svn-id: svn://10.0.0.236/trunk@139544 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 00:31:15 +00:00
dbaron%dbaron.org
e071c7ff2a Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136017 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:05:52 +00:00
kaie%netscape.com
29bfe3470c b=161488 Forwarding encrypted mail as attachments should be first deciphered
Patch produced by ducarroz and kaie
r=ducarroz/kaie sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@133686 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:51:54 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
pete.zha%sun.com
842f7704d8 bug 70478:The "quote original message" option is missing when creating a reply or new message
r=ducarroz sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@121057 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 09:36:45 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
ducarroz%netscape.com
134a374d43 Fix for bug 125316. Don't overwite the current url's query part when adding others query. R=cavin, SR=sspitzer
git-svn-id: svn://10.0.0.236/trunk@114526 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:34:47 +00:00
sspitzer%netscape.com
9ee730a434 fix warning, add a comment. piggybacking on our carpool.
r/sr=no one


git-svn-id: svn://10.0.0.236/trunk@108732 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 21:53:57 +00:00
varada%netscape.com
95110e8725 [sspitzer checking in as varada]
fix for smoketest blocker #110478.  reply to local messages fails to quote the message.
calling SetSpec() on a spec with a query string causes problems.  see #110508
but to fix the blocker, I've rewritten the code to use SetQuery(), which is better anyways.

r=ducarroz


git-svn-id: svn://10.0.0.236/trunk@108324 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 20:51:54 +00:00
ducarroz%netscape.com
c7bbc9d9ba Fix for bug 104989: Allow the compose window to be recycled instead of closing it, that will save us precious time next time we need a new compose window. Also include fix for bug 108270: Remove ReleaseMessageServiceFromURI. R=varada, SR=sspitzer
git-svn-id: svn://10.0.0.236/trunk@107207 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 04:42:19 +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
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
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
bryner%netscape.com
4565bd1e93 removing a printf. rs=sfraser.
git-svn-id: svn://10.0.0.236/trunk@103820 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 06:05:38 +00:00
mscott%netscape.com
e8510a4778 Bug #92367--> fix a crash when closing a compose window while we are busy quoting. the fix is to cleanup some ref counting issues
using a combination of nsCOMPtr and nsWeakReferences
r=varada
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@101694 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 05:12:06 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
blakeross%telocity.com
f21f284aef Removing non-compliant text/xul mimetype, replacing with application/vnd.mozilla.xul+xml (28237, patch by gerv@gerv.net). r=blake sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90374 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 16:49:38 +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
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
dougt%netscape.com
9dcfce529d backing my ass out. These changes were meant for my branch, not the trunk. sr-leaf
git-svn-id: svn://10.0.0.236/trunk@85524 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 22:07:38 +00:00
dougt%netscape.com
3f044800d5 updating to new necko interfaces
git-svn-id: svn://10.0.0.236/trunk@85522 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:44:59 +00:00
alecf%netscape.com
6e8ceeb034 fix for #45797 - remove deprecated NS_IMPL_ISUPPORTS from mail
r=sspitzer
sr=mscott
iho=warren


git-svn-id: svn://10.0.0.236/trunk@83329 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:24:41 +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
ducarroz%netscape.com
f034f831c9 Fix for bug 54026: We need to always parse the message to extract the headers during a reply even if the pref auto_quote is turn off. R=rhp, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@80316 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 04:46:18 +00:00
scc%mozilla.org
b8ee668672 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@78981 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:42:24 +00:00
mscott%netscape.com
811b05e4b5 Bug #39736 --> charset over ride has no effect on quoting. Fix is to use the charset
we just passed in.
r=nhotta


git-svn-id: svn://10.0.0.236/trunk@74531 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 07:42:14 +00:00
mscott%netscape.com
312b35db9d quick patch to fix the mac build. Mac doesn't seem to like NS_LITERAL_STRING for a const char * defined using a #define.
git-svn-id: svn://10.0.0.236/trunk@74138 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 00:49:53 +00:00
mscott%netscape.com
c3d34064e6 Bug #44635 --> when replying or forwarding a message, we were passing in a bogus channel when we tried to fetch
the message for quoting purposes. As a result, the content type (which includes the charset information for the message)
was not getting set on the right channel. I changed things so we pass in the real channel and not a bogus one.

r=alecf


git-svn-id: svn://10.0.0.236/trunk@74119 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:54:19 +00:00
scc%netscape.com
4f5712d057 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66917 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 09:29:12 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +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
rhp%netscape.com
0c86e80459 Max message size warning feature and labeling forwarded messages by subject - Bugs: 26519 5647 - r: jefft
git-svn-id: svn://10.0.0.236/trunk@60017 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:15:54 +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
b07c6b9205 reduce dependancies
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@58758 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 08:17:07 +00:00
warren%netscape.com
c7d8a4a439 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 10:01:32 +00:00