Closed Bug 1729682 Opened 3 years ago Closed 3 years ago

Port bug 1728708 changes to Thunderbird: Clean up for lwbrk WordBreaker and its gtest

Categories

(Thunderbird :: Upstream Synchronization, task, P1)

Tracking

(thunderbird_esr91 unaffected, thunderbird93 unaffected)

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

People

(Reporter: mkmelin, Assigned: mkmelin)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1728708 +++

nsBayesianFilter.cpp was using WordBreaker getClass and such which are now private after https://hg.mozilla.org/mozilla-central/rev/3a38d2e56bf8

I don't know what the long term solution should be. This file seems to keep accumulating old junk... To get Thunderbird building again I'll just copy over some stuff...

Ben, there are a few places I just had to leave code un-commented to get it to compile (oddities with namespaces). Please have a look.

Pushed by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/fde0c454a823 Port bug 1728708 changes to Thunderbird: Clean up for lwbrk WordBreaker and its gtest. rs=bustage-fix DONTBUILD

(In reply to Magnus Melin [:mkmelin] from comment #0)

I don't know what the long term solution should be. This file seems to keep accumulating old junk... To get Thunderbird building again I'll just copy over some stuff...

Sorry for breaking thunderbird build. I'm working with other i18n people in gecko to get rid of the old lwbrk breakers, which are outdated and not conforming to Unicode standards. The goal is to provide a set of unified segmenter API (bug 1684927) which is backed by ICU4X's segmenter.

I think that gets it back to how it was. Did I miss anything?

I've written up some breadcrumbs for a spring-cleaning followup: Bug 1729842.

See Also: → 1729842

There was two un-commented cases left after the patch. I'll go ahead and fix those now (the unicode include makes them work)

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/25e83501d689
Restore word breaking for bayesian filter on SE Asian scripts without spaces. r=mkmelin

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

Creator:
Created:
Updated:
Size: