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.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 | |
OLD | NEW |