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

1608 Коммитов

Автор SHA1 Сообщение Дата
dougt%meer.net 05339dd922 Add a scriptable hash function API. basically what this does is moves the hashing function out of the nsISignatureVerifier.idl and creates a new interface nsICryptoHash which is scriptable. Because of this change, we needed to fix up all of the call sites. r=darin, sr=dveditz, a=shaver 2005-06-01 16:06:53 +00:00
bienvenu%nventure.com af5f0c205b fix 285474 display sender header if it's different than from header, sr=mscott, a=chofmann 2005-05-02 19:30:59 +00:00
shaver%mozilla.org 83484cf867 Bug 290247: add simple, scriptable interface for MIME-part conversion
and display. Components can now implement nsISimpleMimeConverter to
produce HTML for their chosen content type. Also removed some
vestigial references to text/calendar processing. r=bienvenu,
a=dveditz for the trunk.
2005-04-15 18:12:08 +00:00
shaver%mozilla.org 6e25bfe019 Bug 290247: add simple, scriptable interface for MIME-part conversion and
display.  Components can now implement nsISimpleMimeConverter to
            produce HTML for their chosen content type.  Also removed some
            vestigial references to text/calendar processing. r=bienvenu,
            a=dveditz for the trunk.
2005-04-15 17:52:51 +00:00
bsmedberg%covad.net 68fcd67e0a Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-05 13:09:19 +00:00
bienvenu%nventure.com ed7af28d0d fix 288702 saving as template shouldn't change message-id, and should replace existing template, if any 2005-04-02 00:49:27 +00:00
bienvenu%nventure.com 9a789457dc fix 286446 write mime part boundaries correctly when stripping mime attachments, sr=mscott, also clean up some tabs 2005-04-01 02:17:04 +00:00
timeless%mozdev.org cadb4826c9 Bug 278503 Remove file nsMimeAddress.cpp
patch by mikael@parknert.se r=ducarroz sr=bienvenu
2005-03-25 07:28:18 +00:00
timeless%mozdev.org 4dbe08b7d7 Bug 278503 Remove file nsMimeAddress.cpp
patch by mikael@parknert.se r=ducarroz sr=bienvenu
2005-03-25 07:26:06 +00:00
scott%scott-macgregor.org c139093c5f Bug #282278 --> Don't spell check message headers when forwarding as inline
r=glazman
sr=bienvenu
2005-03-15 21:04:21 +00:00
bienvenu%nventure.com 2f8dd32d44 fix line endings when delete/detach of imap attachments on mac/linux with cyrus server, sr=mscott 2005-03-08 00:54:39 +00:00
bienvenu%nventure.com 49ce560766 fix 284523 off by one error constructing mime part when deleting mime attachment, sr=mscott 2005-03-03 03:59:08 +00:00
bienvenu%nventure.com eb0d7b1270 fix 2920 support for deleting and detaching attachments, sr=mscott 2005-03-02 15:25:16 +00:00
bienvenu%nventure.com 87e60105a8 fix 204339 support mail follow-up-to header, patch by daniel faber, r=bienvenu, sr=henry jia 2005-02-28 17:10:58 +00:00
timeless%mozdev.org cf650d0646 Bug 282038 OOM check is missing [@nsMimeHtmlDisplayEmitter::EndHeader]
patch by mozilla3q04@dewildt.de r=bienvenu sr=bienvenu
2005-02-20 08:01:14 +00:00
scott%scott-macgregor.org 3613b75b68 Bug #282174 --> Podcasting support for Thunderbird
Add a custom mime part header that specifies a URL for the attachment. This mime header is used by Thunderbird's RSS reader
and eventually by the code to handle storing attachments separately from the message.

Removes an obsolete attachment attribute called notDownloaded and replaces it with isExternalAttachment.

sr=bienvenu

a=sspitzer
2005-02-15 00:31:07 +00:00
bienvenu%nventure.com 9733147b70 back end work for stripping mime attachments from messages, sr=mscott 2920 2005-02-09 01:40:24 +00:00
bryner%brianryner.com 1733c3ad7c Additional REQUIRES cleanup for mailnews, mac, and suite directories (bug 73353). r+sr=dbaron. 2005-02-04 21:10:45 +00:00
cbiesinger%web.de 2f5fddc25c 278596 don't release pointers when they are still needed
patch by Mikael Parknert <mikael@parknert.se> r=neil sr=bienvenu
2005-01-19 19:40:57 +00:00
db48x%yahoo.com 57c9a2c3da bug 226005: MailNews should use the newer nsIPrefService APIs instead of nsIPref
patch by Mikael Parknert <mikael@parknert.se>, r=niel, sr=darin
2005-01-15 10:32:27 +00:00
bryner%brianryner.com 6c4ea68040 Change cache interfaces to use ACString for the key. Bug 277627, r+sr=darin. 2005-01-13 03:25:28 +00:00
gerv%gerv.net b92568bebe Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
timeless%mozdev.org af9ed89591 Bug 223943 expand "mailnews.headers.showUserAgent" to include x-newsreader
patch by colin.ogilvie@gmail.com r=neil sr=bienvenu
2004-11-23 09:41:48 +00:00
darin%meer.net f94aa8151e fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg 2004-11-07 23:59:35 +00:00
darin%meer.net 96c79cea45 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
timeless%mozdev.org 28ad333c95 Bug 256631 TB07x crash exiting Thunderbird [@ nsMimeHtmlDisplayEmitter::GenerateDateString ]
r=bienvenu sr=neil
2004-10-31 23:17:19 +00:00
jshin%mailaps.org 99e228cc96 bug 264071 (2nd check-in) : M18a4/TB08 cannot handle mail folders with non-Latin1 (non-ASCII) characters (r=mscott, sr=bienvenu) 2004-10-31 17:45:06 +00:00
bienvenu%nventure.com 88c264df1c replace PR_ASSERT with NS_ASSERTION so debug builds don't abort, no bug 2004-10-26 15:32:59 +00:00
peterv%propagandism.org 4d359db0ee Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2004-09-16 13:16:28 +00:00
cbiesinger%web.de f5a667857a Bug 254952 make MIMEService/MIMEInfo-users make use of UTF-8 extensions
r=bzbarsky sr=darin
2004-09-01 17:46:23 +00:00
jshin%mailaps.org 8863630660 bug 253936: got rid of spurrious assertions (r=dmose, sr=neil) 2004-08-19 10:37:54 +00:00
scott%scott-macgregor.org 2e1033934c Bug #253807 --> mime encode the feed subject using the character set encoding of the RSS document for Thunderbird.
This means moving nsIMimeConverter into a scriptable interface so we can access it from JS for Thunderbird.
2004-08-04 04:48:44 +00:00
timeless%mozdev.org 20d5b0540a Bug 90161 URL recognition at the end of line in QP (quoted-printable) misses last character
patch by anlan@ida.liu.se r=ducarroz sr=bienvenu
2004-07-28 05:54:11 +00:00
gerv%gerv.net 50415faa3b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 18:48:35 +00:00
neil%parkwaycc.co.uk 8bec0d032c Bug 250291 Missing headers on inline forwarded HTML message r=mscott sr=bienvenu a=sspitzer 2004-07-12 23:26:39 +00:00
scott%scott-macgregor.org 0a26508b67 Bug #244325 --> Fix the case mismatch idl warning
Patch by Stephen Walker
2004-07-08 04:01:58 +00:00
scott%scott-macgregor.org 61a175da0b Bug #249650 --> Add support for a website header to the message header pane for
the Thunderbird RSS reader.
2004-07-04 06:09:37 +00:00
scott%scott-macgregor.org 764b6162b9 Bug #216133 --> port thunderbird changes for the new content policy manager from the branch to the trunk. 2004-07-01 02:43:02 +00:00
cbiesinger%web.de accb367c14 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin
2004-06-29 16:45:07 +00:00
scott%scott-macgregor.org d135597d46 Bug #244325 --> broadcast a notification to the UI when a message is finished being rendered.
sr=bienvenu
2004-06-29 07:08:18 +00:00
roc+%cs.cmu.edu 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bienvenu%nventure.com 2101afa403 fix for 185184, patch by hyc@symas.com, r=bienvenu, sr=mscott add option to only download pop3 headers initially, and download body on demand 2004-06-10 15:58:10 +00:00
scott%scott-macgregor.org 9f81cf5243 Bug #244722 --> Message truncated in headers stops mail from automatically moving all junk messages
Patch by Lorenzo Colitti

sr=mscott
2004-06-02 17:22:48 +00:00
jshin%mailaps.org d2ebb2791d bug 236941 (patch by Jean-Marc Desperrier) : UTF-8 converter loses full lines of text if there's any invalid character (r=jshin, sr=bienvenu) 2004-06-01 17:26:27 +00:00
scott%scott-macgregor.org 67287efaa5 Back out the fix for Bug #244722 since it introduced a crash. 2004-06-01 17:24:05 +00:00
bienvenu%nventure.com 012185855c clean up stream converter code, 243888, patch by brofield@jellycan.com, r=ducarroz, sr=bienvenu 2004-06-01 17:22:01 +00:00
scott%scott-macgregor.org 645de36853 Bug #244722 --> Certain mal-formed mime messages that were marked as junk aren't getting
moved to the junk mail folder.

patch by Lorenzo Colitti.
sr=mscott
2004-05-31 06:58:43 +00:00
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