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

1599 Коммитов

Автор SHA1 Сообщение Дата
seawood%netscape.com f5c6d0cbd2 Removing extra ^Ms
Fixing irix bustage
2003-04-23 08:25:11 +00:00
mstoltz%netscape.com 82daa06f05 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 8b5be13a9d Bug #179533 --> add the option to make a static build of mailnews which is disabled by default.
r/sr=sspiter
2003-04-20 20:56:21 +00:00
scott%scott-macgregor.org 7bf4126720 Part of Bug #179533 --> need to move mail CID files from the build directory to the src directory.
This will make aggregating mail dlls easier.
r/sr=sspitzer
2003-04-19 05:29:35 +00:00
seawood%netscape.com f7bf89f618 Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
sspitzer%netscape.com 611eb8a38c 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 985e9ef0d6 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 d093a1f848 fix bustage from previous checkin 2003-04-04 14:19:28 +00:00
kaie%netscape.com 5157ee46bc 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 4957953e70 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 8c50d0242a 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 697618b07d 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 b6584a77fb 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 ecf24a2b78 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 2c56e0638e 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 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

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

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

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

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

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

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

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
kaie%netscape.com 5f3ad686d7 b=194636 Forwarding binary message produces invalid message
r=ducarroz sr=sspitzer
2003-03-06 14:19:41 +00:00
ere%atp.fi 0658c7676a 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 5bac97e2e0 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 fc428993dd 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 ce841c0e75 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 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
nhotta%netscape.com 69a973b2a6 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 50180a8c0c 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 f10e725275 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 437f13b03e 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 f940144626 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 2cd4e5db3f 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 b95312c405 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 0604302118 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 cc4806c39b 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 4d465d4679 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 460a4578e2 fixes pending mac bustage 2002-03-20 23:55:16 +00:00
darin%netscape.com 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
ducarroz%netscape.com cd488b8463 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 281c86ec58 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 6dc708c085 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 e897fb906e 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 adf7063e7f 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 087ddb6e3c 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 f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
ducarroz%netscape.com 665d1181b6 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 4f1ba54695 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 4a5da35b5c 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 1bca41b949 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 b08cd95732 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 2166a71a1b 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 610133f2d2 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 5bc52035c9 OK, lets try this, then.
Build bustage fix.
2002-02-19 10:24:09 +00:00
bbaetz%student.usyd.edu.au 4f85aaa3fa 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 3f9b432d36 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 ab48b42be3 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 e46c7f3115 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 59892aa65e 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 b2dfefd94b 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 18d402c794 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 e03414fa6b 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 0f2019cb5c 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 8ac1a03abd 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 0c3f8b9a6b 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 0d871a1552 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 a5ec167c47 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 e893cdcf0c 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 740d95a0a9 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 0adc8d97d3 Bug #108965 --> remove xul emitter from the build
r=ducarroz
sr=sspitzer
2002-01-31 21:02:16 +00:00
nhotta%netscape.com aede9db791 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 c1922fe916 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 d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
ducarroz%netscape.com f44803c50d 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 486c0d47f9 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 8b9e13afc4 Bug #108965 --> remove xul emitter from the build
r=ducarroz
sr=sspitzer
2002-01-25 23:20:21 +00:00
mscott%netscape.com 8c9ffc4606 Bug #108965 --> remove xul emitter from the build
r=ducarroz
sr=sspitzer
2002-01-25 05:18:17 +00:00
nhotta%netscape.com 61f5c1597f 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 a37be1e44f 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 41be656db8 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 2bc0f341a6 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 87002d36a7 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 5a1b42ffbb 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 92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
nhotta%netscape.com 0ee20025a9 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 11c636a95c 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 ef7d3419f0 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 7ec2d2dca4 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 56b2ab19fb 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 b2518d6ecc 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 f0d95f87cd 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 19ae5c8bdf 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 40ba182d49 117858, 117859 r=ducarroz sr=bienvenu. fix leaking char* on reading messages 2002-01-04 00:17:48 +00:00
timeless%mac.com 61a97fd94a 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 d08d4d3f97 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 080b43381d 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 0834cad6c6 *** empty log message *** 2001-12-21 22:44:06 +00:00
ducarroz%netscape.com 0ab5c711a9 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 4fbd144e22 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 ff15d4353f 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 849d297364 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 45bfbf0658 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 9a954644ec 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 073a7c9d91 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 a30cfc467c Fixing OS/2 bustage from string changes. 2001-12-17 21:49:19 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00