New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 28 users
Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Feature

Blocking:
issue 28287



Sign in to add a comment
Add system spellchecker support for Linux
Reported by jhaygoo...@gmail.com, Oct 10 2009 Back to list
The major current Linux distributions (Ubuntu[1], Fedora[2], openSUSE[3]) 
all have the concept of a "system" spellchecker, via hunspell and normally 
implemented by using the enchant library

I attached a patch which adds support for enchant (though it could use some 
minor reworking)

(1) It adds enchant to the linux buildsystem and depends on it from browser 
when OS == Linux
(2) It adds a TearDown() method to SpellCheckerPlatform and calls it from 
~SpellChecker. Mac and Windows have it stubbed out
(3) It implements spellchecker_linux.cc in terms of enchant
(4) it disables -fno-exceptions since enchant++.h requires exceptions to be 
enabled -- an alternative is to include a modified copy of the c++ 
interface in chromium and disable use of exceptions there (its just a 
wrapper around the C enchant.h anyway)

References:
[1] https://wiki.ubuntu.com/ConsolidateSpellingLibs
[2] http://fedoraproject.org/wiki/Releases/FeatureDictionary
[3] https://features.opensuse.org/305688 (among other fate requests)
 
enchant.patch
0 bytes Download
Comment 1 by est...@chromium.org, Oct 12 2009
Comment 2 by evan@chromium.org, Oct 12 2009
Labels: -Area-Misc -Type-Bug Area-BrowserUI Type-Feature Pri-3 Mstone-4
Status: Available
Thanks for the patch!  It looks like it failed to upload.

We should do this, especially if we have a patch for it.  I think we should just use 
the C interface to enchant since we want -fno-exceptions.
I'll reupload tonight when I get home.. including a port to the C interface of enchant.
Comment 4 by jon@chromium.org, Oct 13 2009
Labels: -mstone-4 mstone-5
Moving this out of mstone-4 and into mstone-5 after talking to the Linux 
team.
Comment 5 by evan@chromium.org, Oct 22 2009
Ping.  Retry on the failed upload of the patch?
Comment 7 by oritm@chromium.org, Dec 18 2009
Labels: -Area-BrowserUI Area-UI-Features
Area-UI-Features label replaces Area-BrowserUI label

Labels: -Area-UI-Features Area-Feature
Comment 9 by evan@chromium.org, Jan 9 2010
Still no patch...
Labels: -Area-Feature Area-UI
Comment 11 by evan@chromium.org, Apr 6 2010
Labels: -mstone-5 Mstone-X HelpWanted
Comment 13 by evan@chromium.org, Jan 26 2011
Labels: -HelpWanted
We're trying to deprecate HelpWanted, so I'm bulk-removing it from some bugs.
Comment 14 by evan@chromium.org, Jul 20 2011
Labels: -Mstone-X
https://bugzilla.mozilla.org/show_bug.cgi?id=422399 is the equivalent Mozilla bug.

When I looked into this before, we had made a significant modification to hunspell to reduce memory consumption that upstream wasn't interested in.
Comment 15 by evan@chromium.org, Jun 11 2012
Blocking: -28287 chromium:28287
Cc: -evan@chromium.org
(Un-ccing myself from bugs.)
Comment 16 by evan@chromium.org, Jun 11 2012
(Un-ccing myself from bugs.)
Blocking: chromium:28287
Project Member Comment 18 by bugdroid1@chromium.org, Mar 10 2013
Blocking: -chromium:28287
Labels: -Area-UI Cr-UI
Project Member Comment 19 by sheriffbot@chromium.org, Jun 28 2016
Labels: Hotlist-Recharge-Cold
Status: Untriaged
This issue has been available for more than 365 days, and should be re-evaluated. Hotlist-Recharge-Cold label is added for tracking. Please re-triage this issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Sign in to add a comment