Closed Bug 1724178 Opened 3 years ago Closed 3 years ago

remove the cpp LDAP implementation

Categories

(MailNews Core :: LDAP Integration, task)

Tracking

(thunderbird_esr91 wontfix, thunderbird93 wontfix)

RESOLVED FIXED
94 Branch
Tracking Status
thunderbird_esr91 --- wontfix
thunderbird93 --- wontfix

People

(Reporter: mkmelin, Assigned: rnons)

References

Details

(Keywords: leave-open)

Attachments

(2 files)

Bug 1696625 is fixed, and 91 has branched. We can soon remove the old c++ implementation. We may want to hold on a slight bit yet, to allow easier performance comparisons if needed. OTOH, those can be tried on the branch as well...

  • Remove LDAPModuleLoader.jsm and mailnews.ldap.jsmodule
  • Unregister C++ LDAP xpcoms
Status: NEW → ASSIGNED
Blocks: 1729862

Hooray, deleting large amounts of ancient code!

There's a lot more code left than I was expecting. Which makes me wonder:

  • Do we actually make requests to ldap:// URLs or are they just conceptual? I can't think of anywhere that would make a request to one.
  • Does anybody use nsLDAPSyncQuery? I vaguely recall some people use our LDAP code for other things and maybe that's why it's #ifdefed, but I've no idea what those other things are or if it involves nsLDAPSyncQuery. Can't think why it would. Do you know, @mkmelin? Can we just destroy these bits?
  • Can we get rid of the c-sdk directory, the README and TODO files and ldap-sdk.mozbuild?

Oh, now I see bug 1729862!

No longer blocks: 1729862
Depends on: 1729862
Target Milestone: --- → 94 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/230fd2220139
Make LDAPDirectory.jsm the only implementation of nsIAbLDAPDirectory. r=darktrojan
https://hg.mozilla.org/comm-central/rev/5bbf561a5577
Remove unused ldap xpcoms implemented in C++. r=darktrojan

Are we done here?

Flags: needinfo?(remotenonsense)

I think one goal of this bug is to remove libldap, but it's blocked by bug 1729862. Of course we can close this one and do it in 1729862, which do you prefer.

Flags: needinfo?(remotenonsense)

Let's close this one. If we do remove the rest it'll be because we did bug 1729862, so it might as well happen there. Also it prevents a big gap between patches with the same bug number.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: