Граф коммитов

1475 Коммитов

Автор SHA1 Сообщение Дата
darin%netscape.com 8f284ed984 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 7727bc2fb6 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 99f34f283f 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 e0803cb789 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 5e8694c127 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 d87bae98db 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 6fc801b267 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 9ab1981fda #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 eb21039375 fix build warnings, patch by Aleksey Nogin, r=ducarroz, sr=bienvenu 59673 2002-12-03 15:31:47 +00:00
ducarroz%netscape.com 08c8901b2f 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 dbd67c504c 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 a24a86edb2 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 3ee0115c7f 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 e43c4fe666 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 2b730f9963 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 7875f468ed 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 7b73ea06ff 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 fe2b660273 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 3aa03af8ad 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 87809ea71d 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 990aac4a49 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 05a5fa5e87 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 94647b1391 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 75523505b3 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 b0cb683717 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 7f656aedc8 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 07e7395168 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 3b2c0b58ad 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 7b36293ea0 fix 173296 mime emitters not registered successfully, r=ducarroz, sr=sspitzer 2002-10-08 19:40:10 +00:00
ducarroz%netscape.com 1e0d87ea15 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 4ab7dedada 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 ba7e108456 Bug 172210. Ad a new plain text emitter. R=cavin, SR=sspitzer 2002-10-04 22:37:17 +00:00
ducarroz%netscape.com 9671cbb128 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 50ddde1e1f 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 2eda747835 code cleanup. use contract id instead of cid. 2002-10-02 07:52:55 +00:00
sspitzer%netscape.com 4b33b7b3b8 remove bogus comment. 2002-10-02 07:50:21 +00:00
jgmyers%netscape.com 30b847cc04 use default charset for UNKNOWN-8BIT: bug 71541 r=nhotta sr=blizzard 2002-10-01 22:19:17 +00:00
sspitzer%netscape.com 6dc889c017 cid to progid cleanup. no bug. 2002-09-27 09:32:06 +00:00
kaie%netscape.com 20ada98927 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 c5e8f896cd 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 e636d0b761 no bug r=ducarroz sr=bienvenu making extractHeaderAddressMailboxes scriptable 2002-08-21 23:25:57 +00:00
ducarroz%netscape.com 837afdab85 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 422033d325 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 9069418c32 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 372092c2be add onEndMsgDownload notification, part of extensibility hooks r=cavin, sr=sspitzer 161226 2002-08-13 01:26:56 +00:00
ducarroz%netscape.com b6396da943 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 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
ducarroz%netscape.com 5f87502038 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 e9dc67e95f 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 3a0ccd6c57 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 fdafe18afe 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 72ea8f1b37 Backing out fix for bug 141730 to fix bustage 2002-08-07 05:20:57 +00:00
ducarroz%netscape.com 4cb894bf11 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 ae793a7bc5 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 a5308866c4 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 9a92a01489 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 378055bf65 Backing out previous checkin - Fixes regression Bug 156630
Reopening Bug 156307
2002-07-10 23:39:18 +00:00
kaie%netscape.com 477675531a b=156546 Fixing Windows bustage 2002-07-10 07:58:20 +00:00
kaie%netscape.com e05c37d4dc 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 62158e0c50 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 7ba1cbecf3 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 0dd3bcc804 Fix build bustage. 2002-07-05 00:14:32 +00:00
ducarroz%netscape.com 60482b0530 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 80d2d4707c 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 294825a695 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 3deefb823d 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 2bf216c9e2 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 fa668dcd99 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 711b8ec900 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 146ec1a73e 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 b610a47201 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 643f776630 backing out, don't know why this built on my machine 2002-06-06 23:25:43 +00:00
alecf%netscape.com f0263ddf07 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 12e47be3cf 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 0f577ea944 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 21cc8feeed 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 f795c16dc9 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 b129d20ebd 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 172bf91073 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 f65b26b60a 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 c3f7df06bd 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 e96df2ad1b 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 6f841cdd0d 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 9c0f7353f6 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 fed7fb0ae6 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 0cf514d8d3 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 5be64fe656 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 658962867b 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 9b36774102 b=137627 Fix crash seen with some messages.
r=kaie sr=sspitzer
2002-04-22 13:49:53 +00:00
seawood%netscape.com b9e3c4eaaf Remove references to obsolete CHROME_ variables.
Bug #113401 r=bryner
2002-04-19 01:29:29 +00:00
nhotta%netscape.com b85c2ddb66 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 1f4d034214 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 1488e087c4 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 8f033a8d2f 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 9bcd5918e8 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 be88a33114 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 787a859bd8 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 b343883d4f 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
nhotta%netscape.com f20f47ec0b Use the correct attribute for transliteration. 'transliterate' is an attribute of nsIEntityConverter,
need to use 'attr_EntityAfterCharsetConv', 'attr_EntityNone' skips transliteration at all,
bug 135538, r=ducarroz, sr=sspitzer, a=asa, adt.
2002-04-06 00:19:39 +00:00
ducarroz%netscape.com 89167a201e Fix for bug 109249. Don't automatically load related parts we cannot display inline by linking them to the message body. Instead, show them as attachment. Up to the user to decide to open them. R=cavin, SR=mscott, A=asa 2002-04-02 15:31:26 +00:00