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 The patch is in google.patch. |
10 | 10 |
11 The English dictionary distributed by Firefox has been checked in to the | 11 The English dictionary distributed by Firefox has been checked in to the |
12 dictionaries directory. It has several additions over the default | 12 dictionaries directory. It has several additions over the default |
13 myspell/hunspell dictionary. | 13 myspell/hunspell dictionary. |
14 | 14 |
15 * Workaround for non-ASCII characters | 15 * Workaround for non-ASCII characters |
16 | 16 |
17 Visual Studio on Japanese Windows assumes the source files to be | 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 | 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 | 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: | 20 CJK Windows as well. Here is the workaround for this problem: |
21 | 21 |
22 Convert 8-bit bytes to hexadecimal escaped forms by | 22 Convert 8-bit bytes to hexadecimal escaped forms by |
23 | 23 |
24 % perl -i -De 's/([\x80-\xff])/sprintf("\\x%02x", $1)/ge' src/*.cxx | 24 % perl -i -De 's/([\x80-\xff])/sprintf("\\x%02x", $1)/ge' src/*.cxx |
25 | 25 |
26 | 26 |
27 Note that Hunspell upstream is going to fix this problem. We'll no | 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. | 28 longer need the workaround if the problem is fixed in the upstream. |
29 | 29 |
OLD | NEW |