Closed Bug 1901705 Opened 1 year ago Closed 10 months ago

Dead code removal

Categories

(Thunderbird :: General, task)

Tracking

(thunderbird128 wontfix)

RESOLVED FIXED
129 Branch
Tracking Status
thunderbird128 --- wontfix

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

(Keywords: leave-open)

Attachments

(21 files, 2 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

Closing the old bug 1851535 and starting a new bug for post-128 work.

Code coverage data has revealed some chunks of dead code. Unsurprising given how much we've rebuilt in the past few years. I'll use this bug to remove the dead code as I find it. This will probably be an ongoing effort for a number of months.

Attachment #9406576 - Attachment is obsolete: true

I can't find when this file was last used. It was before v60.

Target Milestone: --- → 129 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/920e10d56434
Remove actionsshared.js. r=mkmelin

Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/2a452706b67f Remove migrations that have shipped in at least three ESRs. r=aleca
Regressions: 1908054

This file doesn't do anything, it's not included in the parent directory's moz.build.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/e4275ad7e918
Remove mailnews/db/moz.build. r=aleca

Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/0d8216d3998d Remove obsolete pref extensions.overlayloader.loglevel. r=john.bieling

This was last used in an old account order migration we no longer have.

This hasn't been used since POP3 was rewritten.

This hasn't been used since the compose service was rewritten.

This hasn't been used since bug 1719121 rewrote From-line handling.

Pushed by arschmitz@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/21231fe7efd9
Remove dead MSGApopMD5. r=BenC
https://hg.mozilla.org/comm-central/rev/bfaea9984222
Remove dead NS_GetUnicharPreferenceWithDefault. r=BenC
https://hg.mozilla.org/comm-central/rev/c531d2dadcb2
Remove dead MsgGetLocalFileFromURI. r=BenC
https://hg.mozilla.org/comm-central/rev/ff3335f1be70
Remove dead MsgAdvanceToNextLine. r=BenC

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/479a305a3157
Remove dead nsMsgAccountManager::GetSortOrder. r=aleca

Pushed by john@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/db50925a5ffd
Remove dead functions in nsMsgKeySet. r=mkmelin

Apparently this has been decaying for more than 16 years ...

Attachment #9436370 - Attachment is obsolete: true

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/a9b4203d91cc
Remove obsolete test_addon_prefs test. r=mkmelin

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/5eabeb5b729f
Remove nsIMsgIncomingServer.sortOrder. r=aleca

Looks like this was an attempt to replace add/removeIncomingServerListener that never got off the ground. It's not used and has no tests.

Pushed by vineet@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/87367c5e1fec
Remove add/removeRootFolderListener. r=leftmostcat

The corresponding member variables are no longer updated anyway.

Pushed by toby@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/3c2a3104de3b
Remove dead code in nsMsgDBView. r=leftmostcat

Pushed by rob@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ed766c1c40c3
Remove code for currently displayed message from nsMsgDBView. r=mkmelin

Thunderbird has had no user-facing stuff for phonetic names since we rebuilt the address book.
These remaining bits and pieces are just added complexity we don't need.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/3dc633b46f30
Remove map-list.js. r=mkmelin
https://hg.mozilla.org/comm-central/rev/6ced7b8d84ed
Remove generateChatName from nsIAbCard. r=mkmelin
https://hg.mozilla.org/comm-central/rev/05b6a543de15
Remove last remnants of phonetic name support. r=mkmelin

This isn't actually connected to anything. Windows Live Mail is well past EOL and while the last
version is compatible with Windows 10 it's been replaced by the Mail app there. We no longer
support Windows 7 or 8.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/41c6c0c40e13
Remove Windows Live Mail importer. r=aleca

See Also: → 539526
See Also: → 1398843

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/aa5f9b4c6175
Remove most of nsIMsgDBViewCommandUpdater and selection summarisation. r=mkmelin

This pref used to do something. But that was a long time ago. Last seen in ESR 91.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/837c0f928fc8
Remove remnants of pref purple.logging.log_system. r=mkmelin

Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/527bd88deee9 Remove redundant prefs in test manifests. rs=me

Closing this now that ESR 140 has branched.

Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
See Also: → 1970022
Regressions: 1979002
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: