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

1561 Коммитов

Автор SHA1 Сообщение Дата
scott%scott-macgregor.org b29ceeea24 Bug #242988 --> land thunderbird specific rendering for vCards inline with the message. The changes to mimevcrd
should effect thunderbird only.
2004-05-24 00:10:25 +00:00
roc+%cs.cmu.edu b8ecbc84da Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
scott%scott-macgregor.org fc58b0ee86 Bug #193891 --> Wrong message text: "Maximum Message Size set in Preferences". Should refer to account settings.
Patch by Tim Meader
sr=mscott
2004-05-20 04:50:31 +00:00
ere%atp.fi 7dc261e806 Fix for bug 243854: MIME hang while sanitizing a message
r/sr=bienvenu
2004-05-19 06:04:36 +00:00
timeless%mozdev.org 45ef4611cb Bug 225245 image shown as attachment instead of inline if the cid uses single quotes
R=ducarroz sr=bienvenu
2004-05-18 08:18:55 +00:00
timeless%mozdev.org 492cc6b6ad Bug 243199 Messages with =00 truncated
r=bienvenu sr=bienvenu
2004-05-14 08:14:44 +00:00
bienvenu%nventure.com 4e09867677 further fix for 191460, r=bzbarsky, sr=mscott, don't do forced reverse lookups on file extensions even if we have content type 2004-05-13 19:40:30 +00:00
scott%scott-macgregor.org 48d3656663 Bug #230093, Bug #181534, Bug #237095 --> Port thunderbird junk mail improvements to the trunk.
Replace the core bayesian junk mail algorithm with a chi-squared probability distribution
modeled after spam bayes and Gary Robinson's work.

Change the model for how we count tokens across messages.

Token counts get out of alignment when re-training against already classified messages.

Revamp the junk mail tokenizer. Make it a hdr sink listener and add custom tokens for attachment
information. Ignore tokens larger than 13 characters. Tokenize purely off of white space.
Ignore tokens less than 3 bytes in length. There is still a lot more work to be done to the tokenizer.


Many thanks to Miguel Varga for working out the initial core algorithm improvement and to all
of the folks at spam bayes and of course Gary Robinson for helping to make this happen.
2004-05-12 18:16:32 +00:00
scott%scott-macgregor.org 7ceecf17b7 Bug #242065 --> "My Name" from account is ignored when email contains "special chars", full name extracted from email address
Patch by ch.ey@gmx.net

sr=mscott
2004-05-07 18:13:40 +00:00
peterv%propagandism.org bb736be6c9 Correct comments (mozilla/htmlparser -> mozilla/parser/htmlparser). 2004-05-05 14:08:34 +00:00
bzbarsky%mit.edu c878d2ca0f Remove goto's from mimecms.cpp. Bug 200659, patch by David G King
<d_king@xtra.co.nz>, r=kaie, sr=mscott
2004-05-05 00:55:40 +00:00
gerv%gerv.net 6635d16530 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 13:54:27 +00:00
gerv%gerv.net 482dc5fcad Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 18:33:16 +00:00
bienvenu%nventure.com e28d220d2f fix memory leak introduced by recent mailnews string use modernization, r=jshin, sr=mscott 240670 2004-04-16 15:38:02 +00:00
cbiesinger%web.de d4e1da55f3 Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
jshin%mailaps.org fdf2ad9bff bug 229032 : modernize String usages in mailnews (r=neil, sr=mscott) 2004-04-13 04:07:07 +00:00
darin%meer.net a3645b33e5 fixes bug 239405 "strchr, strrchr, etc. implicit const_cast can cause problems for shared string buffers" r=bienvenu sr=dbaron a=chofmann 2004-04-03 17:16:17 +00:00
mozilla%ducarroz.org 7f35ff3ad5 Fix for bug 231474. Correctly detect sup part to prevent attachments mixup. R=sspitzer, SR=bienvenu, A=chofmann 2004-03-11 17:00:06 +00:00
neil%parkwaycc.co.uk 3eda2aa471 Bug 234867 Change extractHeaderAddressMailboxes out param to a return value to make it easier to use from js r/sr=bienvenu 2004-03-08 00:29:30 +00:00
darin%meer.net 1d2d419885 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
darin%meer.net 8bc9bba9d5 landing patch for bug 234864 "string branch landing resulted in large spike in heap allocations (brad:A metric)" r+sr=dbaron
this patch also introduces nsTFixedString and removes CBufDescriptor.
2004-02-20 01:53:23 +00:00
scott%scott-macgregor.org 825f4449a9 Bug #229879, 208196 --> Thunderbird/Mozilla does not properly display attachments sent from a mac when they are
encoded via apple/double.

Always look for the file name from the data fork then the resource fork.

sr=bienvenu
2004-02-06 20:48:56 +00:00
cbiesinger%web.de 98271f5d6c removing unused include 2004-02-06 00:12:38 +00:00
scott%scott-macgregor.org 7436c6277c Bug #230577 --> mail address autocompletion chooses three addresses from address book entries of a certain form.
Remove the header parser's code that breaks names based on spaces so it won't break:

Scott, John Smith, Peter

r=neil, sr=bienvenu
2004-02-05 21:30:54 +00:00
bienvenu%nventure.com 6e7ed79f52 fix 228597 news article article always gets sent to the first account's server when sharing identities between accounts, patch by ch.ey@gmx.net, r=me, sr=mscott 2004-02-05 21:15:10 +00:00
bsmedberg%covad.net 1f4ab81acd Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net f0bfff2628 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
bienvenu%nventure.com 693f9301e7 replace nsIPref with nsIPrefBranch in mailnews, patch by arne.anka@stupido.com, r=me, sr=mscott 2004-01-04 21:47:17 +00:00
jshin%mailaps.org 5fc8dc77fe 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 60a2e4a4a5 for now, force text/calendar parts to show up inline 2003-12-25 01:54:29 +00:00
scott%scott-macgregor.org f6d7699856 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 3de8d6c975 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 9cdd0e445a strip off v-card when editing message as new, r/sr=mscott 228689 2003-12-19 16:28:22 +00:00
cbiesinger%web.de 26c72f348f 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 8bcc66cd62 Bug 140532 Attached messages display incorrect headers r=ducarroz sr=bienvenu 2003-10-30 16:37:21 +00:00
bienvenu%nventure.com 00322764b5 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 31876f92fc 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 3c7f6e517d Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
bienvenu%nventure.com 45c92d6846 whitespace code cleanup, no bug, r/sr=me 2003-09-11 03:07:49 +00:00
bryner%brianryner.com 0675c941bf 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 01ad844c3b 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 2554e3bb5c supplimental fix for bug #102846.
Replace "Cellular" with "Mobile"

r/sr/a=sspitzer
2003-09-01 10:14:03 +00:00
jshin%mailaps.org 7883fbb90c 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 b8bc2906cb 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 9b50f787e0 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 c08e99a287 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 7f24000e47 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 faf8419fc6 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 cbdbc13d8b 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 f008bc2bad 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 bf82a649b9 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 20004e3489 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
scott%scott-macgregor.org 872045de6b 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 cce23256c7 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 ad4b7cb78e b=209995 Incorrect S/Mime status shown in UI
r/sr=sspitzer
2003-06-20 01:12:15 +00:00
neil%parkwaycc.co.uk 4e44c2364d Bug 209661 remove unnecessary NS_LITERAL_CSTRING( with ).get() r=jag sr=alecf 2003-06-18 14:31:45 +00:00
jshin%mailaps.org ecc35790fe 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 ccf01a2786 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 a931d6f5a6 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 c80471302d 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 6934dc37a9 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 93b3a91d4c 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 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