Closed Bug 334356 Opened 18 years ago Closed 5 years ago

Remove nsIImportMimeEncode

Categories

(MailNews Core :: Import, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 69.0

People

(Reporter: hwaara, Assigned: somubhargava97, Mentored)

References

Details

(Keywords: good-first-bug)

Attachments

(1 file)

nsIImportMimeEncode is currently unused.

See http://lxr.mozilla.org/mozilla/search?string=nsIImportMimeEncode

Is it still useful? If not, we could remove it to save code-size and reduce compile time...
good one, looks like this isn't used, but is getting linked in. The functionality it purports to provide looks like it might be more generally useful (mime encoding attachments, for example), but I doubt any extensions were using it.

I wonder if Outlook import does handle attachments at all - if not, this code might need to be resurrected.
I suggest we comment it out for now in the makefiles, and open a new bug on this issue.
... or remove (for now).  And then whoever takes on the spin-off can just look at this patch for reference.
QA Contact: import
Product: Core → MailNews Core
See Also: → 334354

Hi I would really like to work on this as a start and motivation to contribute more to Thunderbird. Please assign this to me. I will complete and close this ASAP. Thankyou.

Hi Somo, please go ahead! Let me know if you have any questions.

Assignee: nobody → somubhargava97
Mentor: mkmelin+mozilla

So to get started, the code in question you can find using the search from comment 4: https://searchfox.org/comm-central/search?q=nsIImportMimeEncode&path=

Once you've removed the code, and made sure it still compiles, please attach a patch - see https://developer.thunderbird.net/contributing/fixing-a-bug

Comment on attachment 9069336 [details] [diff] [review]
This is the patch which solves this issue. It basically removes the usage of `nsImportMimeEncode` wherever it is used

Review of attachment 9069336 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, thx! r=mkmelin
Attachment #9069336 - Flags: review?(mkmelin+mozilla) → review+
Status: NEW → ASSIGNED
Keywords: checkin-needed
OS: macOS → All
Hardware: PowerPC → All

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/7389c579b868
Remove unused nsIImportMimeEncode.idl and related code. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 69.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: