Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Side by Side Diff: chrome/third_party/hunspell/README.chromium

Issue 155841: Update Hunspell to the latest stable version to use the latest dictionary for... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/spellchecker.cc ('k') | chrome/third_party/hunspell/google.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This is a partial copy of Hunspell 1.1.5, with the following changes: 1 This is a partial copy of Hunspell 1.1.5, with the following changes:
2 * '#include "config.h"' removed from src/hunspell/hunspell.hxx 2 * '#include "config.h"' removed from src/hunspell/hunspell.hxx
3 * '#include "config.h"' removed from src/hunspell/license.hunspell 3 * '#include "config.h"' removed from src/hunspell/license.hunspell
4 * Two unreferenced local variables removed from src/hunspell/suggestmgr.cxx 4 * Two unreferenced local variables removed from src/hunspell/suggestmgr.cxx
5 * src/hunspell/utf_info.cxx moved to src/hunspell/utf_info.hxx, and #include 5 * src/hunspell/utf_info.cxx moved to src/hunspell/utf_info.hxx, and #include
6 reference in src/hunspell/csutil.cxx changed accordingly 6 reference in src/hunspell/csutil.cxx changed accordingly
7 * Change the input params of the constructors to receive a FILE* instead of 7 * Change the input params of the constructors to receive a FILE* instead of
8 a file path. This is required to use hunspell in the sandbox. 8 a file path. This is required to use hunspell in the sandbox.
9 The patch is in google.patch. 9 * Remove all HUNSPELL_WARNING parameters since we are not using HashMgr
10 anymore, just show the msg not the line number.
11 * Remove the key variable from Hunspell, HashMgr and AffixMgr since Bdict
12 is being used instead.
10 13
11 The English dictionary distributed by Firefox has been checked in to the 14 The English dictionary distributed by Firefox has been checked in to the
12 dictionaries directory. It has several additions over the default 15 dictionaries directory. It has several additions over the default
13 myspell/hunspell dictionary. 16 myspell/hunspell dictionary.
14 17
15 * Workaround for non-ASCII characters
16 18
17 Visual Studio on Japanese Windows assumes the source files to be
18 encoded in Shift_JIS. The compiler is unhappy with non-ASCII letters
19 in the source files of Hunspell. The same problem happens with other
20 CJK Windows as well. Here is the workaround for this problem:
21
22 Convert 8-bit bytes to hexadecimal escaped forms by
23
24 % perl -i -De 's/([\x80-\xff])/sprintf("\\x%02x", $1)/ge' src/*.cxx
25
26
27 Note that Hunspell upstream is going to fix this problem. We'll no
28 longer need the workaround if the problem is fixed in the upstream.
29
OLDNEW
« no previous file with comments | « chrome/browser/spellchecker.cc ('k') | chrome/third_party/hunspell/google.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698