Commit Graph

1478 Commits

Author SHA1 Message Date
sspitzer%netscape.com
13110c7578 fix build bustage for when SMIME is not defined.
thanks to jag / jrgm / bz for the heads up.
2003-01-22 06:28:01 +00:00
sspitzer%netscape.com
19f17ce0f6 fix for bug #189988
when forwarding plain text emails we'd add a <div> tag around the body of the
email, the one that gets generated for message display.
r=ducarroz
2003-01-22 03:53:50 +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
0879c02260 fix for #23126.
add hidden pref to show Organization header in the message pane.
off by default.
thanks to neil@parkwaycc.co.uk for the patch.
r/sr=sspitzer
2003-01-17 05:58:11 +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
sspitzer%netscape.com
b3efffedaf fix some license-legal foo in nsVCard.cpp, which comes from vcc.c, which originally came
from the IMC.  bug #188221.  rs=bienvenu
2003-01-08 20:46:10 +00:00
ducarroz%netscape.com
1afcc02c0a Bug 59673, Fix compiler warning. Patch submitted by Aleksey Nogin. R=ducarroz, SR=bienvenu 2002-12-19 00:07:51 +00:00
sspitzer%netscape.com
69fe7dd610 don't call PR_ASSERT(), it calls abort. instead, call NS_ASSERTION().
now when you forward signed messages as attachments (in debug builds)
we won't crash, we just assert.  bug #185926 covers the assertion.
r/sr=bienvenu
2002-12-18 03:45:01 +00:00
kaie%netscape.com
3880b9cdab b=182258 Give separate signature validity and sender address mismatch feedback
r=javi sr=bienvenu
2002-12-13 20:47:32 +00:00
shanjian%netscape.com
fb86bcba83 #124941 charset detector does not work with single line attachment in certain situation
We need to call MimeInlineText_open_dam after ibuffer has been all processed.
Because there are 2 return path, we need to call this function each in each
path.
r=ducarroz, sr=sspitzer, a=asa
2002-12-09 20:00:14 +00:00
bienvenu%netscape.com
addd322f01 fix build warnings, patch by Aleksey Nogin, r=ducarroz, sr=bienvenu 59673 2002-12-03 15:31:47 +00:00
ducarroz%netscape.com
57486e9965 Fix for bug 180901. Instead of addressing the message to the sender when no recipient is disclosed, it's send now to an empty group named undisclosed-recipients (this is localizable). Also, this is done only if the pref "mail.compose.add_undisclosed_recipients" is set to true. R=cavin, SR=bienvenu 2002-12-02 23:43:26 +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
bratell%lysator.liu.se
12b87e861c Bug 181545 - removal of some dead code. Fixes a couple of compiler warnings. r=ducarroz, sr=bienvenu 2002-11-26 08:36:22 +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
4b06a70b5f Use calloc() instead of malloc() followed by memset to 0. Bug 124302, patch by
Aaron Lehmann <aaronl@vitelus.com>, r=timeless, sr=bzbarsky
2002-11-20 23:13:09 +00:00
nhotta%netscape.com
1abd663937 Changed SetMailCharacterSet, moved us-ascii check from the callers to the function,
bug 178680, r=ducarroz, sr=bienvenu.
2002-11-20 21:44:31 +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
bratell%lysator.liu.se
f784304b06 Bug 93066 - Don't use FindCharInSet when searching for only one character. r=sspitzer, sr=alecf 2002-11-15 08:16:43 +00:00
nhotta%netscape.com
06122715cc Changed to do UTF-8 conversion right after we get the body,
bug 120728, r=ducarroz, sr=bienvenu.
2002-11-15 00:03:49 +00:00
ducarroz%netscape.com
05bcf307ad Fix for bug 112986. When parsing data for draft/template, if we are processing a flowed plain text line, we need to remove any stuffed space. R=cavin, SR=sspitzer 2002-11-13 00:21:00 +00:00
kaie%netscape.com
a8bbd75ad2 b=161488 Forwarding encrypted mail as attachments should be first deciphered
Patch produced by ducarroz and kaie
r=ducarroz/kaie sr=sspitzer
2002-11-12 19:51:54 +00:00
ducarroz%netscape.com
97c3852a16 Fix for bug 179082. We need to insert a decoder even when we edit an encrypted message. R=kaie, SR=sspitzer 2002-11-12 19:22:37 +00:00
nhotta%netscape.com
093b943e40 Separated the menu charset code from the charset initialization function,
to avoid the mail font code calling the init function and reset the menu charset,
bug 150530, r=ducarroz, sr=bienvenu.
2002-11-12 19:08:23 +00:00
nhotta%netscape.com
80526943ff Changed emitter to use tranlated strings for headers if not quoting,
bug 157979, r=ducarroz, sr=bienvenu.
2002-11-06 21:04:33 +00:00
ducarroz%netscape.com
2ab233039c Fix for bug 162842.
When we parse a message, we emitt the main message headers as well the headers
of embedded messages. We must call nsIMsgMailNewsUrl::SetMimeHeaders only for
the main headers.
R=sspitzer, SR=bienvenu
2002-11-06 02:25:00 +00:00
ducarroz%netscape.com
c64c5cf4a3 Fix for bug 99217. Need to save the identity key when saving a draft/template. Patch submitted by Frank Sch�nheit<frank.schoenheit@gmx.de>. R=ducarroz, SR=bienvenu 2002-11-06 00:21:15 +00:00
ducarroz%netscape.com
a68bfffbfb Fix for bug 174804.
I fix 2 problems:
a) we need to accept to resolve a CID when it's in a link (<A...>) even if the
part cannot be displayed inline

2) related Part that are not linked to the message body should appears as
attachment, the current algorithm wasn't working when multipart/related is
embedded in multipart/alternative.
R=cavin, SR=bienvenu
2002-11-06 00:00:45 +00:00
kaie%netscape.com
68f0cbb93c b=175012 Mozilla don't support multipart/signed mail with md5 micalg parameter
r=ducarroz sr=darin a=asa
2002-10-22 14:48:14 +00:00
kaie%netscape.com
0c89a39940 b=164867 S/Mime messages signed by cert w/o email address should not validate
r=javi/ducarroz sr=mscott
2002-10-18 13:46:49 +00:00
bienvenu%netscape.com
001f805efd fix 173296 mime emitters not registered successfully, r=ducarroz, sr=sspitzer 2002-10-08 19:40:10 +00:00
ducarroz%netscape.com
b58bef7dba Fix for bug 172808 (smoketest blocker). Somehow, I checked in the wrong line when fixing bug 127210. R=cavin, SR=beard 2002-10-07 15:44:54 +00:00
ducarroz%netscape.com
7b7138e9f6 Fix for bug 172210. Add a new mode to generate a clean output for mail filter. This mode get activated when the url contains the option header=filter. R=cavin, SR=sspitzer 2002-10-04 22:40:53 +00:00
ducarroz%netscape.com
6e58b5876f Bug 172210. Ad a new plain text emitter. R=cavin, SR=sspitzer 2002-10-04 22:37:17 +00:00
ducarroz%netscape.com
778e64c2ab Bug 172210. Add a new mime emitter to output plain text headers. R=cavin, SR=sspitzer 2002-10-04 22:35:08 +00:00
ere%atp.fi
2311a0b84b Fix for bug 170058: Body as "Plain Text" has no linebreaks and is displayed in variable font width
r=BenB, sr=bienvenu
2002-10-03 19:41:59 +00:00
sspitzer%netscape.com
9b71127ce1 code cleanup. use contract id instead of cid. 2002-10-02 07:52:55 +00:00
sspitzer%netscape.com
1ec3a2df66 remove bogus comment. 2002-10-02 07:50:21 +00:00
jgmyers%netscape.com
dc7a9f05df use default charset for UNKNOWN-8BIT: bug 71541 r=nhotta sr=blizzard 2002-10-01 22:19:17 +00:00
sspitzer%netscape.com
f60bd335f1 cid to progid cleanup. no bug. 2002-09-27 09:32:06 +00:00
kaie%netscape.com
31db9b541b b=168448 PSM embedding freeze/ step 1/ move stuff & change data types
r=javi sr=alecf
2002-09-17 18:51:22 +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
naving%netscape.com
c38a47ab7a no bug r=ducarroz sr=bienvenu making extractHeaderAddressMailboxes scriptable 2002-08-21 23:25:57 +00:00
ducarroz%netscape.com
e4bf934f3f Fix for bug 162961. Don't set decrypt_p to true if smime is not enable. R=varada, SR=bienvenu 2002-08-19 21:40:23 +00:00
ducarroz%netscape.com
25eff8b46b Fix for bug 138125. Patch submitted by ere@atp.fi (Ere Maijala). Call super class parse_eof fist. Also fix some I18N convertion. R=ducarroz, SR=bienvenu 2002-08-19 18:07:13 +00:00
ducarroz%netscape.com
14da5c905d Fix for bug 162709. We need to check the pointer before we access it. This is a regression caused by my previous checkin for bug 71301. R=cavin, SR=bienvenu 2002-08-14 22:03:05 +00:00
bienvenu%netscape.com
c25e74319b add onEndMsgDownload notification, part of extensibility hooks r=cavin, sr=sspitzer 161226 2002-08-13 01:26:56 +00:00
ducarroz%netscape.com
44d302f213 Fix for bug 71301. Filtering out potential null characters in the stream. R=cavin, SR=bienvenu 2002-08-12 19:19:57 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
ducarroz%netscape.com
ba0e209ea1 FIx for bug 149072. the variable location already contains the value of the content-location header. Therefore it won't make sense to set base_ulr to the same value, that will cause MakeAbsoluteURL to return a null url and therefore make the feature that code was for to failed. R=varada, SR=bienvenu 2002-08-07 23:48:21 +00:00
seawood%netscape.com
d4c317e38c Use the correct library name in the .def file.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #158763 r=cls
2002-08-07 11:55:24 +00:00
ducarroz%netscape.com
155328949b Fix for bug 141730 (second try, with #ifdef this time). When forwarding inline or replying to an encrypted message, we need to decrypt the message body. R=kaie, SR=bienvenu,sspitzer 2002-08-07 06:27:43 +00:00
seawood%netscape.com
301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
caillon%returnzero.com
4e99c77e2a Backing out fix for bug 141730 to fix bustage 2002-08-07 05:20:57 +00:00
ducarroz%netscape.com
0fdbe46b29 Fix for bug 141730. When forwarding inline or replying to an encrypted message, we need to decrypt the message body. R=kaie, SR=bienvenu,sspitzer 2002-08-07 03:35:33 +00:00
kaie%netscape.com
97f44797bc b=148232 Support application/pkcs7-signature mime type on incoming S/Mime messages.
r=ducarroz sr=darin
2002-08-06 13:29:12 +00:00
ducarroz%netscape.com
ff90b93e70 Fix for bug 158334. Fix memory corruption created by using PL_strcat on a buffer not wide enough. R=varada, SR=bienvenu 2002-07-19 20:58:32 +00:00
rods%netscape.com
a210215064 Reapplying original patch from Bug 156307 (which I just backed out)
This patch checks the subject to make sure it isn't null before escaping it
Bug 156650 r=varada sr=bienvenu a=dbaron
2002-07-11 01:00:21 +00:00
rods%netscape.com
7dc7a64cd3 Backing out previous checkin - Fixes regression Bug 156630
Reopening Bug 156307
2002-07-10 23:39:18 +00:00
kaie%netscape.com
9a1fd83a06 b=156546 Fixing Windows bustage 2002-07-10 07:58:20 +00:00
kaie%netscape.com
360356f264 b=156546 Forwarded inline: Incorrect signature/encryption status shown in header area
r=ducarroz sr=alecf
2002-07-10 06:36:06 +00:00
rods%netscape.com
733498dff7 simply creates a "title" tag with the subject in it. This enables the printed
mail msgs to display the subject as the title in the progress dialog and on the
printed page
Bug 156307 r=ducarroz sr=spitzer
2002-07-09 02:19:33 +00:00
ducarroz%netscape.com
3dbf6d047b Fix for bug 152014. Better detection of end of input buffer when we fold one character before the end and the last character is either a space or a tab. R=cavin, SR=bienvenu 2002-07-08 23:39:00 +00:00
ducarroz%netscape.com
d7d41ebeb5 Fix build bustage. 2002-07-05 00:14:32 +00:00
ducarroz%netscape.com
25f190e698 Fix for bug 155671. Pass the originalMsgURI received by message compose service to msgDraft down to mime and back to the compose window. Did some cleanup too which fix some memory leak. R=kaie, SR=bienvenu 2002-07-04 23:28:07 +00:00
timeless%mac.com
d1dc2dc452 Bug 155446 change mime to use NS_ASSERTIONs instead of PR_ASSERTs
R=ducarroz sr=jst
2002-07-04 11:51:54 +00:00
nhotta%netscape.com
15ff3185fa Do not set the default charset to nsIMsgWindow if forward inline or edit as new,
bug 155253, r=ducarroz, sr=bienvenu.
2002-07-03 01:01:55 +00:00
ducarroz%netscape.com
3f4117a1f6 Fix for bug 154734. We need to unsecape the original message uri else IMAP will have trouble to deal with it. R=cavin, SR=bienvenu 2002-06-28 20:12:34 +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
kaie%netscape.com
0eea589942 b=137071 [UE] Replies to or forwarding S/MIME encrypted mail should default to encrypt
Additional required patch, to fix "forward inline".
Patch created by ducarroz.
r=kaie sr=mscott
2002-06-21 14:04:57 +00:00
ducarroz%netscape.com
16d5ab1cdc Fix for bug 146584. We need to convert plain text data to HTML before inserting it into a HTML compose window. R=varada, SR=mscott 2002-06-18 20:34:10 +00:00
ducarroz%netscape.com
58c348747f Fix for bug 151954. Fix bogus PR_Malloc check. Patch submitted by dbradley@netscape.com. R=ducarroz, SR=bienvenu 2002-06-17 21:22:29 +00:00
ducarroz%netscape.com
05af3b9589 Fix for bug 137742. We need to prevent folding long header between the header name and the value. Patch submitted by taka@netscape.com. R=ducarroz, SR=bienvenu 2002-06-12 17:50:44 +00:00
alecf%netscape.com
23cd22be23 backing out, don't know why this built on my machine 2002-06-06 23:25:43 +00:00
alecf%netscape.com
bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
cathleen%netscape.com
64856eb68b clean up last traces of nsCRT::strlen(char* s), bug 124536 r=dp, sr=brendan 2002-06-04 23:05:39 +00:00
nhotta%netscape.com
11c77022cb Changed strcpy to strncpy to protect the buffer,
bug 145370, r=ducarroz, sr=bienvenu.
2002-05-31 19:41:45 +00:00
naving%netscape.com
6e3818f973 146089 r=ducarroz sr=bienvenu fixing a crasher when downloading pop3 mail with malformed "From" address. 2002-05-23 20:21:42 +00:00
ducarroz%netscape.com
5435013cc5 Fix for bug 132163 (patch v3). Fix warnings. R=ducarroz, SR=mscott. Patch provided by ayn2@cornell.edu (Aleksey Nogin) 2002-05-21 21:34:56 +00:00
ducarroz%netscape.com
7c090253d3 Fix for bug 132163 (patch v2). Fix warnings. R=ducarroz, SR=bienvenu. Patch provided by ayn2@cornell.edu (Aleksey Nogin) 2002-05-21 21:12:10 +00:00
ducarroz%netscape.com
6486cc0ffa Fix for bug 131990. We must allow spave for the BCC headers. Also, function generate_encodedwords should not accept a output_carryoverlen <= 0. R=taka, SR=bienvenu 2002-05-21 00:17:43 +00:00
ducarroz%netscape.com
2ddfea8f86 Fix for bug 142672. We should not display an alternative part without a content-type. R=varada, SR=bienvenu 2002-05-17 19:47:50 +00:00
ducarroz%netscape.com
64596972f0 Fix for bug 134277. Better managment (encoding/decoding) of double-quote in addresses. R=taka, SR=bienvenu 2002-05-15 20:17:48 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
naving%netscape.com
2ff40f9b36 bugscape 15399 fix by ducarroz r=cavin sr=mscott. fix Body of Multipart/alternative message with attachment not included when forwarded 2002-05-10 03:46:18 +00:00
naving%netscape.com
066c35c03c 141152 r=ducarroz sr=bienvenu fix the partial msg display code in mime to use escaped uidl and then unescape
this uidl in pop3 code. fixes truncated pop3 msg download problems with uidl having quotes(")
2002-05-03 01:00:21 +00:00
yokoyama%netscape.com
6efda3be84 Bug139842
Populate the unicode string with replacement char in case of decoder failure
Impact only mail/news.
/r=nhotta;sr=bienvenu
2002-04-29 23:21:53 +00:00
nhotta%netscape.com
14bce627cc Changed to use a different util function which does not call the converter repeatedly in a loop
in order to workaround the converter problem (bug 138578),
bug 120728, r=ducarroz, sr=sspitzer.
2002-04-23 02:20:17 +00:00
mscott%netscape.com
36da9ea91d Bug #133580 --> make image/tiff attachments show up as external attachments
instead of acting non-existent in the message.
r=ducarroz
sr=bienvenu
2002-04-23 01:14:47 +00:00
kaie%netscape.com
fb19288806 b=125607 Temporary workaround for better displaying signed S/Mime messages w/ attachments from IMAP servers.
r=ducarroz sr=bienvenu
2002-04-22 23:02:29 +00:00
kaie%netscape.com
7e0bebea5f b=137627 Fix crash seen with some messages.
r=kaie sr=sspitzer
2002-04-22 13:49:53 +00:00
seawood%netscape.com
f1d907679e Remove references to obsolete CHROME_ variables.
Bug #113401 r=bryner
2002-04-19 01:29:29 +00:00
nhotta%netscape.com
58dc36e89d Use ISO-8859-1 as a compose charset if us-ascii, change for edit as new,
bug 136938, r=ducarroz, sr=kin.
2002-04-18 21:43:10 +00:00
mozilla.BenB%bucksch.org
17ce2b7392 108153:
Forgot to remove the debug output, as promised to reviewers.
r=ducarroz,sr=bienvenu
2002-04-17 09:56:25 +00:00
mozilla.BenB%bucksch.org
4369bcc66e Fixing mac build. Forgot to check in the mac build system change :-(.
Also forgot a little debug change.
2002-04-16 20:44:46 +00:00
mozilla.BenB%bucksch.org
a6c809d88a 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

We achieve that by either
- removing offending HTML tags/attributes
- using the plaintext alternative (if existing) or converting HTML to plaintext and back to HTML (if there's only HTML) or
- rendering the HTML source.

r=ducarroz, sr=bienvenu

This is the libmime backend. It adds 2 new libmime classes for the HTML conversion, code to select the right libmime classes and some other helperstuff/tweaks.
2002-04-16 18:41:45 +00:00
mozilla.BenB%bucksch.org
322a9014aa 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

We achieve that by either
- removing offending HTML tags/attributes
- using the plaintext alternative (if existing) or converting HTML to plaintext and back to HTML (if there's only HTML) or
- rendering the HTML source.

r=ducarroz, sr=bienvenu

This is the libmime backend. It adds 2 new libmime classes for the HTML conversion and some other switching code.

Adding new files
2002-04-16 18:36:34 +00:00
kaie%netscape.com
cc964d5bed b=119418 Fix handling of opaque signed S/Mime messages.
Also fixes some other S/Mime issues, as described in the bug.
r=ddrinan/ducarroz/darin sr=alecf
2002-04-12 04:26:40 +00:00
ducarroz%netscape.com
e68462307c Fix for bug 120594. Add null pointer check to avoid crashing. R=varada. SR=bienvenu, A=asa 2002-04-10 21:20:53 +00:00
dmose%netscape.com
49752a8d2d LDAP over SSL (bug 107411). UI changes thanks to srilatha@netscape.com nsLDAPSecurityGlue.cpp: r=mcs@netscape.com; Mac S/MIME build changes: r=javi@netscape.com; Mac Project changes: r=rdayal; all other files: r=bhuvan@netscape.com; entire patch: sr=sspitzer@netscape.com 2002-04-10 04:21:13 +00:00