Closed Bug 216075 Opened 22 years ago Closed 17 years ago

Remove unused uuencode code from mailnews compose

Categories

(MailNews Core :: Composition, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.1a2

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

Attachments

(2 files, 1 obsolete file)

We still have backend code for doing uuencode - I think it crashes if we ever execute it, but I don't think there's a way to get to it either through the ui or a hidden pref, so we should just rip it out. We should leave in the code to do uudecode, however.
Product: MailNews → Core
Attached patch get rid of uuencode code (obsolete) — Splinter Review
this code hasn't been used for a long time. The one potential issue is editing drafts that had uuencoded attachments, but I think that's OK.
Attachment #330335 - Flags: superreview?(neil)
Attachment #330335 - Flags: review?(bugzilla)
Attachment #330335 - Flags: review?(bugzilla) → review+
Comment on attachment 330335 [details] [diff] [review] get rid of uuencode code >- else if (!PL_strcasecmp(newAttachment->encoding, ENCODING_UUENCODE) || >- !PL_strcasecmp(newAttachment->encoding, ENCODING_UUENCODE2) || >- !PL_strcasecmp(newAttachment->encoding, ENCODING_UUENCODE3) || >- !PL_strcasecmp(newAttachment->encoding, ENCODING_UUENCODE4)) >- fn = &MimeUUDecoderInit; What's the reasoning behind this change?
the thinking was that we don't care about drafts with uuencoded parts, since we haven't created uuencoded parts for many years, but I suppose a user could take a message generated by an other client that does have uuencoded parts, and put it in their draft folder, and then try to edit it - I'll make sure we build if I take out that change...
Attachment #330335 - Attachment is obsolete: true
Attachment #330998 - Flags: superreview?(neil)
Attachment #330998 - Flags: review+
Attachment #330335 - Flags: superreview?(neil)
Comment on attachment 330998 [details] [diff] [review] remove the uudecode code from mimedrft Was the omission of nsMsgComposeSecure.cpp an oversight?
I forgot to include that directory in the diff - I changed it locally. I'll add that patch now...
Attached patch smime changesSplinter Review
Attachment #331012 - Flags: superreview?(neil)
Attachment #331012 - Flags: review?(neil)
Comment on attachment 330998 [details] [diff] [review] remove the uudecode code from mimedrft You could have just said "yes" then I could have said "sr=me with the smime changes from the first patch" ;-)
Attachment #330998 - Flags: superreview?(neil) → superreview+
Attachment #331012 - Flags: superreview?(neil)
Attachment #331012 - Flags: superreview+
Attachment #331012 - Flags: review?(neil)
Attachment #331012 - Flags: review+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Core → MailNews Core
OS: Windows 2000 → All
QA Contact: esther → composition
Hardware: PC → All
Target Milestone: --- → mozilla1.9.1a2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: