OLD | NEW |
1 This is a partial copy of Hunspell 1.1.5, with the following changes: | 1 This is a partial copy of Hunspell 1.2.10 with the following changes: |
2 * '#include "config.h"' removed from src/hunspell/hunspell.hxx | 2 * Remove '#include "config.h"' from src/hunspell/hunspell.hxx |
3 * '#include "config.h"' removed from src/hunspell/license.hunspell | 3 * Remove '#include "config.h"' from src/hunspell/license.hunspell |
4 * Two unreferenced local variables removed from src/hunspell/suggestmgr.cxx | 4 * Change src/hunspell/filemgr.hxx and src/hunspell/filemgr.cxx to use |
5 * src/hunspell/utf_info.cxx moved to src/hunspell/utf_info.hxx, and #include | 5 LineIterator. |
6 reference in src/hunspell/csutil.cxx changed accordingly | 6 * Add ScropedHashEntry, which creates temporary hentry objects, to |
7 * Change the input params of the constructors to receive a FILE* instead of | 7 src/hunspell/suggestmgr.cxx |
8 a file path. This is required to use hunspell in the sandbox. | 8 * Change the input params of the constructors to receive a BDICTReader instead |
9 The patch is in google.patch. | 9 of a file path. |
| 10 The patch is in google.patch. |
10 | 11 |
11 The English dictionary distributed by Firefox has been checked in to the | 12 All dictionaries used by Chromium has been checked in to the |
12 dictionaries directory. It has several additions over the default | 13 'third_party/hunspell_dictionaries' directory. They have several additions over |
13 myspell/hunspell dictionary. | 14 the default myspell/hunspell dictionaries. |
14 | 15 (See 'third_party/hunspell_dictionaries/README.chromium' for their details.) |
15 * Workaround for non-ASCII characters | |
16 | |
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 | |
OLD | NEW |