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

1634 Коммитов

Автор SHA1 Сообщение Дата
jshin%mailaps.org 9ab1afb535 bug 228543 : international domain names in URLs are not recognized in email body (r=mscott, sr=bienvenu). In addition, 'const' is added to 'char *' in the function definition of some functions in libmime. 2004-01-04 07:57:16 +00:00
scott%scott-macgregor.org 30d7a8ae65 for now, force text/calendar parts to show up inline 2003-12-25 01:54:29 +00:00
scott%scott-macgregor.org c3d68dad2a get the text/calendar cthandler building again
(based on the vcard cthandler makefile)

NOT PART OF THE BUILD
2003-12-25 01:54:00 +00:00
jshin%mailaps.org a3596ed940 bug 227547 : convert Mac OS X file names in NFD (decomposed Unicode) to NFC (composed filename) before sending out to the world. mailnews part (r=bienvenu, sr=mscott) 2003-12-22 06:26:06 +00:00
bienvenu%nventure.com 27efaf7528 strip off v-card when editing message as new, r/sr=mscott 228689 2003-12-19 16:28:22 +00:00
cbiesinger%web.de 86a6cb09ce bug 223990. Should have a getPrimaryExtensionForType function
r=bzbarsky sr=darin
also changes nsIMIMEService functions to start with a lowercase letter (only affects JS Callers)
2003-11-13 23:00:55 +00:00
neil%parkwaycc.co.uk 27d9b80c10 Bug 140532 Attached messages display incorrect headers r=ducarroz sr=bienvenu 2003-10-30 16:37:21 +00:00
bienvenu%nventure.com 1c75b5a1e9 make content type comparisons case-insensitive, fixes crash when message/rfc822 is upper case, r/sr=mscott 223920 2003-10-30 04:08:23 +00:00
scott%scott-macgregor.org 2ee1e6c44a adding vCard support
bug #14373:  Need UI in account manager to add/edit vCard

also landing the fix for bug #206793:
Images do not appear in mail compose window when
"Do not load remote images..." pref is set to true

r/sr=sspitzer
2003-10-05 20:07:22 +00:00
bsmedberg%covad.net 0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
bienvenu%nventure.com 132903576c whitespace code cleanup, no bug, r/sr=me 2003-09-11 03:07:49 +00:00
bryner%brianryner.com 5cd0bcdb7a Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:56:05 +00:00
scott%scott-macgregor.org c26ce97cd5 Bug #216753 --> Message compose should not automatically convert HTML attributes to CSS styles.
Fix this by setting a flag in editor to not use CSS styles for the background image.

Then back out my fixes in mailnews to work around the inline style editor was giving us. 

With this change, mail compose now handles background images again and they are preserved when you save as draft 
or save as template.

r=neil
sr=bienvenu

a=glazman for the editor change

a=asa for 1.5 final
2003-09-05 17:49:36 +00:00
scott%scott-macgregor.org 9c42595438 supplimental fix for bug #102846.
Replace "Cellular" with "Mobile"

r/sr/a=sspitzer
2003-09-01 10:14:03 +00:00
jshin%mailaps.org 80622a4ba0 bug 213035 : replace NS_ConvertUTF8toUCS2 with IsUTF8 for UTF8-ness checking (r=bienvenu, sr=bz, a1.5=asa) 2003-08-26 08:25:11 +00:00
scott%scott-macgregor.org 59b960258e Bug #134492 --> when printing a msg with attachments, also print a list of the attachments.
Thanks to Kevin Teuscher for helping to drive this patch.
r=mscott
sr=bienvenu/brendan
a=asa
2003-08-26 06:05:47 +00:00
scott%scott-macgregor.org f8701a0b9f Make mail news handle inline background url styles which is how editor now sets background urls instead of using the obsolete background attribute on the body:
Bug #116867 --> convert background images from file urls to inline cid urls and attach the image as an inline part.This allows thunderbird and mozilla mail to support background images again.

Bug #170504 --> Compose from template/draft containing "Inline Styles" and a background image loses the background image drops the
inline style.

r=bienvenu
sr=sspitzer
a=sspitzer
2003-08-18 05:14:41 +00:00
cls%seawood.org 1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
scott%scott-macgregor.org 0f7db2dcee Bug #214336 --> fix a thunderbird crash in libmime. Add a null ptr check on the pref's service.
Thanks to Calum Mackay for the fix.

r/sr=mscott
2003-07-29 22:38:51 +00:00
cbiesinger%web.de bb37693039 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension
2003-07-25 16:48:00 +00:00
scott%scott-macgregor.org d1c1d95ec2 Bug #65472 --> Port a thunderbird change back to mozilla mail. If the user has turned on the pref for showing the user-agent string,
show x-mailer if there is no user-agent. We currently show it under the same user-agent box we currently use in the UI.

r/sr=bienvenu
2003-07-21 05:00:09 +00:00
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com 817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
scott%scott-macgregor.org a04ea40a5a Thunderbird only change. Does not effect trunk builds.
When rendering a mail message, check to see if the message has been marked as junk.
If it has, sanitize the HTML, stripping it of any images, remote connection requests, tables, js, cookies, etc.
2003-07-02 03:24:58 +00:00
neil%parkwaycc.co.uk 81ad90a4c4 Bug 118899 Option to display original date in message headers p=ch.ey@gmx.net r=me sr=dmose 2003-06-23 11:50:26 +00:00
kaie%netscape.com e2d898f42b b=209995 Incorrect S/Mime status shown in UI
r/sr=sspitzer
2003-06-20 01:12:15 +00:00
neil%parkwaycc.co.uk 6741a52ed1 Bug 209661 remove unnecessary NS_LITERAL_CSTRING( with ).get() r=jag sr=alecf 2003-06-18 14:31:45 +00:00
jshin%mailaps.org eb93104d96 bug 167265 : add to necko Content-Disposition header handling per RFC 2231 (with
fallbacks to RFC 2047 and raw 8bit chars in |aOriginCharset| ) necessary for
i18nized filename support (when downloading files via http) :
r=cbiesinger, sr=alecf
2003-06-12 21:57:49 +00:00
alecf%flett.org 2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
seawood%netscape.com 917db2876a Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:36:47 +00:00
seawood%netscape.com bde9a95afd Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:29:40 +00:00
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
scott%scott-macgregor.org eb5faba111 Part of Bug #179533 --> remove obsolete CID file (has no effect on the current build) since this file has
been moved to ..\src.
2003-05-18 19:25:59 +00:00
cavin%netscape.com a58b5ef4fa 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 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