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

1599 Коммитов

Автор SHA1 Сообщение Дата
cavin%netscape.com 827070cae3 Fix for 202355. Turn on apple single/double code for MacOSX. r=ccarlen, sr=sfraser. 2003-04-25 21:18:10 +00:00
seawood%netscape.com ccf6f72738 Removing extra ^Ms
Fixing irix bustage
2003-04-23 08:25:11 +00:00
mstoltz%netscape.com c898064e14 Bug 201547 - allocate larger buffer to make room for expansion of & characters. patch by zen-parse@gmx.net, r=mstoltz, sr=heikki. 2003-04-23 00:25:47 +00:00
scott%scott-macgregor.org b6381bec7d 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 1724aedfdc 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
seawood%netscape.com 8893b1e6fd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
sspitzer%netscape.com 7dcfa8d2e6 fix for bug #143565.
"Opening a rfc/822 attachment displays the atttachment as raw text instead of opening in the stand alone message window."
thanks to antonio.xu@sun.com and ducarroz for the fix.

r=neil, parts r=kaie, sr=sspitzer

also include's kaie's related fix for bug #195378.
"Crypto status must be shown correctly when viewing attached messages in a new window"
r/sr=sspitzer
2003-04-13 19:45:11 +00:00
sspitzer%netscape.com 6e017314e4 fix for bug #119964. implement yEnc decoding.
note, we have no plans to support yEnc encoding.
thanks to ducarroz for the patch.  r/sr=sspitzer
2003-04-10 02:19:35 +00:00
kaie%netscape.com a0743b900d fix bustage from previous checkin 2003-04-04 14:19:28 +00:00
kaie%netscape.com 7f319292df b=50823 S/Mime: Support certificates with multiple listed email addresses
r=javi sr=alecf
2003-04-04 12:57:51 +00:00
seawood%netscape.com 92be0f5be9 Obsoleting xp_str.h:
* Move XP_IS_ macros into nsCRT.h & rename them to NS_IS_
* Make local XP_IS_ macros use the nsCRT ones
* Remove NOT_NULL defines
Bug #199920 r=alecf sr=bryner
2003-04-01 19:38:12 +00:00
alecf%netscape.com 925955c81d landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
timeless%mozdev.org 965ba28bb1 Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
alecf%netscape.com 16af458ceb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com c4ea07bc53 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
bzbarsky%mit.edu 1bfea66b89 Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
dougt%netscape.com be629223b6 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
kaie%netscape.com f0159ea203 b=194636 Forwarding binary message produces invalid message
r=ducarroz sr=sspitzer
2003-03-06 14:19:41 +00:00
ere%atp.fi 7f22515440 Bug 193929: HTML sanitizer ("simple html") should allow attached images
r=ducarroz, sr=jst
2003-02-26 13:47:36 +00:00
kaie%netscape.com f4e22d2dce b=191505 crash in mime_get_main_object when forwarding as attachment
r=ducarroz sr=sspitzer a=asa
2003-02-21 23:17:16 +00:00
antonio.xu%sun.com a443b88a55 fix for bug 188344 - forward a email as a attchment will be failed to display correctly
r=ducarroz, sr=bienvenu, a=asa
2003-01-26 06:00:13 +00:00
sspitzer%netscape.com 6a50c3d87d supplimental fix for #189988,
the "don't slap a <div> around the body when forwarding plain text emails" bug.
fix suggested by ducarroz.
r=kaie, sr=sspitzer, a=blizzard
2003-01-24 05:17:42 +00:00
sspitzer%netscape.com 84490d1fac 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 910f03e30c 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 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
mkaply%us.ibm.com 5989760787 OS/2 bustage - implementation is const, so it must be const in the IDL/header 2002-03-29 16:47:04 +00:00
sspitzer%netscape.com 5f9f54b81c landing changes for MDN Return Receipts feature, bug #16241
feature contributed by our friend jt95070@netscape.net (Jeff Tsai)
r=sspitzer,sr=bienvenu,a=asa.  Parts not written by jefft, r=jefft,sr=bienvenu.
2002-03-28 21:34:42 +00:00
seawood%netscape.com f9479b8517 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
2002-03-27 06:02:39 +00:00
kaie%netscape.com 91e9529dc3 b=129100 Finalize S/Mime UI implementation
r=ducarroz/javi
sr=mscott
a=asa
2002-03-27 02:29:34 +00:00
dbaron%fas.harvard.edu 2a4007a526 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:03:32 +00:00
cbiesinger%web.de 09f543c624 bug 104906 r=pavlov sr=tor a=asa
imgRequest::SniffMimeType and nsUnknownDecoder::SniffForImageMimeType should be one function
2002-03-23 13:21:33 +00:00
ducarroz%netscape.com da1b46c363 Fix for bug 124045. Don't try to print a null string. Patch submitted by Henry.Jia@sun.com. R=ducarroz, SR=sspitzer, A=scc 2002-03-23 01:16:14 +00:00
bienvenu%netscape.com 04fd00e5d9 fix context menu and saving of inline attachments r=ducarroz, sr=sspitzer a=scc 129852 2002-03-22 03:57:07 +00:00
darin%netscape.com 668d5ad27f fixes pending mac bustage 2002-03-20 23:55:16 +00:00
darin%netscape.com 819ce1f98f b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
ducarroz%netscape.com 8916286577 Remaining fix for bug 83263. Don't stop parsing alternative parts at the first invalid one, instead continue until the last one. R=varada, SR=mscott, A=asa 2002-03-19 22:06:36 +00:00
darin%netscape.com cfe07b944b b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
cbiesinger%web.de f5f91b6147 partially fixes bug 41333, Adding a new image type is way too complicated
r=pavlov sr=tor a=asa
2002-03-08 18:58:57 +00:00
jgmyers%netscape.com 26b7ef4c98 Don't detect HZ as UTF-8: bug 119079 r=nhotta sr=mscott a=asa 2002-03-07 21:25:13 +00:00
ducarroz%netscape.com 1d38a88690 Fix for bug 129131. Fix regression caused by my previous checkin and add a null pointer check to avoid future crash. R=varada, SR=bienvenu, A=dbaron 2002-03-07 03:01:21 +00:00
ducarroz%netscape.com a169dee89b Fix for bug 83263. When checking if we can display an alternative part, we need to do a strict class search. R=varada, SR=bienvenu, A=asa 2002-03-06 22:38:42 +00:00
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
ducarroz%netscape.com 42b21a5866 Fix for bug 128887. Need to allocate an extra spot in the attachment list for the inline message itself. R=varada, SR=sspitzer, A=asa 2002-03-05 01:23:31 +00:00
ducarroz%netscape.com c91ccc6683 Fix for bug 127877. Fully rewrite the function that build the attachment list. R=varada, SR=bienvenu, A=asa 2002-02-28 22:39:34 +00:00
cathleen%netscape.com 6c4220cfcb eliminate nsCRT::strlen for char* strings (final part), bug 124536 r=dp sr=brendan a=roc+moz 2002-02-28 04:11:37 +00:00
taka%netscape.com e58d69c8eb Re-write RFC-2047 encoder. bug 73403 12699 37088 98675 102610 104447 119079, r=nhotta, sr=mscott 2002-02-20 07:18:11 +00:00
ducarroz%netscape.com b63174f32b Fix for bug 93439. Better algorithm to extract attachment of embedded messages. Also use subject of the message as attachment name if needed. R=varada, SR=bienvenu 2002-02-20 03:45:45 +00:00
ducarroz%netscape.com df0ebd2458 Fix for bug 112625. When decomposing a message into files, we need to parse children of a multipart/alternative part. R=cavin, SR=mscott 2002-02-20 03:39:55 +00:00
ducarroz%netscape.com bd15b7f88d Temporary back up my fix for bug 112625 to verify is not the cause of the MLK reported in bug 12364 2002-02-19 22:47:31 +00:00
bbaetz%student.usyd.edu.au f3870f3694 OK, lets try this, then.
Build bustage fix.
2002-02-19 10:24:09 +00:00
bbaetz%student.usyd.edu.au f296cb5ce2 Fix for mac bustage (side effect of bug 102980). This should hopefully fix
it - I don't have a mac.
rs=shaver
2002-02-19 09:20:45 +00:00
cathleen%netscape.com 2902b8c66e eliminate nsCRT::strlen for char* strings (part 3), bug 124536 r=dp sr=brendan 2002-02-19 08:42:48 +00:00
ducarroz%netscape.com 8183e540fc Fix for bug 112625. When decomosing a message to file, we need to parse children of a multipart/alternative part. R=cavin, SR=mscott 2002-02-19 05:32:06 +00:00
kaie%netscape.com 990aabd2ee b=115010 Implement "Message Security Info" when reading S/Mime messages.
(includes b=115209 Only care for outermost signing/encryption level)
r=javi/ducarroz sr=mscott
2002-02-18 15:36:30 +00:00
dbaron%fas.harvard.edu d376f6e5e2 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
ducarroz%netscape.com 71bbfebd7b Fix for bug 125620. In case of an appledouble related part, we need to generate an url which point to the data part child. R=varada, SR=bienvenu 2002-02-16 04:30:29 +00:00
nhotta%netscape.com 316bf2e5fc In addition to the last change, include the comments of the second super-reviewer,
contributed by jshin@pantheon.yale.edu,
bug 102623, r=ducarroz, nhotta, sr=bienvenu,sr=sspitzer.
2002-02-15 01:13:05 +00:00
nhotta%netscape.com f1cc858fb8 Changed to use lang instead of font-family for message display,
contributed by jshin@pantheon.yale.edu,
bug 102623, r=ducarroz, nhotta, sr=bienvenu.
2002-02-15 00:46:08 +00:00
sspitzer%netscape.com c0afee1f75 fix for #86980. when printing, we always print ASCII header names,
instead of the localized versions.  r/sr=bienvenu
2002-02-14 08:52:31 +00:00
nhotta%netscape.com 103a482c76 Changed to use default charset for forward inline, if there no charset specified,
contibuted by adu@sparc.spb.su, bug 66098, r=nhotta, sr=bienvenu.
2002-02-12 23:20:58 +00:00
nhotta%netscape.com 3be524e17d Changed to use a default charset for non forward case if we cannot find a charset in the header or the override is set.
Also removed unnecessary conversion to UTF-8,
bug 117956, r=ducarroz, sr=bienvenu.
2002-02-12 22:18:56 +00:00
ccarlen%netscape.com 9285546c83 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser 2002-02-12 15:41:41 +00:00
cathleen%netscape.com 31f584b51c eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan 2002-02-08 01:11:33 +00:00
ducarroz%netscape.com d38dec7a40 Fix for bug 122815 (part 2). We don't need to manggle the file name of the temp file, just use the default one. R=cavin, SR=bienvenu 2002-02-08 01:07:20 +00:00
cathleen%netscape.com bf3e08eb5f eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
mscott%netscape.com e9b0f8d254 Bug #108965 --> remove xul emitter from the build
r=ducarroz
sr=sspitzer
2002-01-31 21:02:16 +00:00
nhotta%netscape.com 7d28ae8296 MIME encoder change, fixed a problem of treating separater characters (and some clean up),
contributed by adu@sparc.spb.su, bug 92355, r=nhotta, sr=sspitzer.
2002-01-30 21:26:39 +00:00
nhotta%netscape.com b1c247f5a4 Fixed charset conversion problem for headers for SaveAs (and some clean up),
contributed by adu@sparc.spb.su, bug 74424, r=nhotta, sr=sspitzer.
2002-01-30 21:26:17 +00:00
sfraser%netscape.com d285f8f560 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
ducarroz%netscape.com 13b82bc7cb Part of fix for bug 108965. Remove xul emitter from the Mac build. R=mscott, SR=sspitzer 2002-01-26 03:43:15 +00:00
cathleen%netscape.com 2431b85ca9 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
mscott%netscape.com 4ede9265de Bug #108965 --> remove xul emitter from the build
r=ducarroz
sr=sspitzer
2002-01-25 23:20:21 +00:00
mscott%netscape.com 351c84d839 Bug #108965 --> remove xul emitter from the build
r=ducarroz
sr=sspitzer
2002-01-25 05:18:17 +00:00
nhotta%netscape.com c08b6dd146 Fixed the problem of the default chaset was overwritten even when the message has no chaset,
this fixes the reply quoting problem of no MIME messages,
bug 118740, r=ducarroz, sr=sspitzer.
2002-01-24 21:07:33 +00:00
mscott%netscape.com 02df8cc322 Bug #115772 --> remove borders and shading to the headers
because this is messing up printing of messages.
r=ssu
sr=sspitzer
2002-01-24 03:04:06 +00:00
mscott%netscape.com 0c3d21ef66 Bug #117962--> add a null ptr check on aURI and fall out if we don't
have one to avoid a crash.
r/sr=sspitzer
2002-01-24 03:01:01 +00:00
ducarroz%netscape.com 78bf43fb0e Fix for bug 71090. Patch provided by Denis Antrushin <adu@sparc.spb.su>
Skip over invalid empty encoded-words. R=ducarroz, SR=mscott
2002-01-24 01:22:44 +00:00
kaie%netscape.com fba86ece7a b=115010 Mail/News UI must provide detail info on signature/encryption status
r=javi sr=mscott
2002-01-16 04:29:26 +00:00
bzbarsky%mit.edu 1c61776f7a Bug 90633. Use the URL extension for the temp file we pass to helpers
if it matches the extension list in the mime info.  r=law, sr=mscott.
2002-01-16 04:28:06 +00:00
cathleen%netscape.com c2d19ad82a converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
nhotta%netscape.com 199e586e51 Added wstring version of MakeFullAddress to nsIMsgHeaderParser,
changed non wstring functions to noscript because they need UTF-8 string and are not scriptable,
bug 118010, r=ducarroz, sr=sspitzer.
2002-01-11 23:52:15 +00:00
sspitzer%netscape.com 6bfe47b49e fix for #118876. fix xml error when printing addressbook cards with < & or >.
use the txt to html converter to turn those into entities.
r=bienvenu,sr=mscott
2002-01-11 00:07:45 +00:00
bienvenu%netscape.com a1d3e67573 make mimemoz cache images in mem cache instead of dropping them on the floor, fixes case where imap message gets fetch multiple times, r=sspitze, sr=mscott 93208 2002-01-10 23:18:41 +00:00
nhotta%netscape.com f74dad9ef0 Changed mime_convert_charset to initialized the result value, bug 115387, r=ducarroz, sr=sspitzer. 2002-01-10 01:37:40 +00:00
nhotta%netscape.com e921515084 Change the conversion function to return a length to eliminate unnecessary strlen by the caller,
bug 116134, r=ducarroz, sr=sspitzer.
2002-01-10 00:42:59 +00:00
ducarroz%netscape.com fba27f11fd Fix for bug 105825. If the main body of a message is not plain text or html, we must load it as an attachment. Also fix some memory leak. R=cavin, SR=sspitzer 2002-01-09 23:52:58 +00:00
racham%netscape.com 2cefb87efa Fixing bug 112737. Making sure the From field of the compose of window reflects the selected account rather than a default account in cases of forward inline, draft/template, edit message. Identity object is released at appropriate time. r=ducarroz, sr=bienvenu 2002-01-08 01:28:18 +00:00
ducarroz%netscape.com 711088468e fix for bug 93481. Do not remove the whole line that contains the META tag but rather remove just the charset portion of it. Also, the new code avoid duplicating the line which could be hudge in some case. R=cavin, SR=mscott 2002-01-04 00:49:44 +00:00
naving%netscape.com 390ab2830a 117858, 117859 r=ducarroz sr=bienvenu. fix leaking char* on reading messages 2002-01-04 00:17:48 +00:00
timeless%mac.com 711739d601 Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
sspitzer%netscape.com 404e12e054 landing the AB_OUTLINER_BRANCH.
fix for #73868, and numerous other bugs.
switch the addressbook over to use outliner,
a bunch of addressbook UI fixes and code cleanup.

r=dmose,racham,others and sr=bienvenu
2001-12-22 02:06:31 +00:00
ducarroz%netscape.com b8f5e13d6d FIx for bug 112343. Use nsXPIDLCString to avoid memory leak. R=cavin, SR=sspitzer 2001-12-21 22:46:11 +00:00
ducarroz%netscape.com 98bdd4b2ae *** empty log message *** 2001-12-21 22:44:06 +00:00
ducarroz%netscape.com 2241203e67 FIx for bug 116044, Cannot call SetMimeOutputType() before calling Init(). R=cavin, SR=sspitzer 2001-12-21 22:42:10 +00:00
ducarroz%netscape.com 7f74798f40 Fix for bug 109238. Need to initialize mimeOutputType before calling SetMimeHeadersListener. R=varada, SR=bienvenu 2001-12-19 14:20:05 +00:00
nhotta%netscape.com 80b43cbfb5 Removed MIME_ConvertCharset and related code for performance improvement, bug 115387, r=ducarroz, sr=sspitzer. 2001-12-19 00:18:46 +00:00
dougt%netscape.com 9a75bc4b8e nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
seawood%netscape.com 874c54280c Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
mkaply%us.ibm.com 5869930b0b Fixing linker bustage - we have a new linker, but I haven't got in on the TB yet 2001-12-17 22:40:27 +00:00
tor%cs.brown.edu 1d663a47da Bug 66976 - turn on libpr0n MNG decoder. r=pavlov, sr=brendan.
Mac build patch by conrad, r=pinkerton, sr=sfraser
2001-12-17 22:07:03 +00:00
seawood%netscape.com c3ed3c2310 Fixing OS/2 bustage from string changes. 2001-12-17 21:49:19 +00:00