OLD | NEW |
1 Name: hunspell | 1 Name: hunspell |
2 URL: http://hunspell.sourceforge.net/ | 2 URL: http://hunspell.sourceforge.net/ |
3 Version: 1.5.4 | 3 Version: 1.6.0 |
4 License: MPL 1.1/GPL 2.0/LGPL 2.1 | 4 License: MPL 1.1/GPL 2.0/LGPL 2.1 |
5 License File: COPYING | 5 License File: COPYING.MPL |
6 Security Critical: yes | 6 Security Critical: yes |
7 | 7 |
8 Description: | 8 Description: |
9 This is a partial copy of Hunspell 1.5.4 with the following changes: | 9 This is a partial copy of Hunspell 1.6.0 with the following changes: |
10 * Remove '#include "config.h"' from src/hunspell/hunspell.hxx | 10 * Move README.md onto the README symlink. |
11 * Change src/hunspell/filemgr.hxx and src/hunspell/filemgr.cxx to use | 11 * Change src/hunspell/filemgr.hxx and src/hunspell/filemgr.cxx to use |
12 LineIterator. | 12 LineIterator. |
13 * Add ScopedHashEntry, which creates temporary hentry objects, to | 13 * Add ScopedHashEntry, which creates temporary hentry objects, to |
14 src/hunspell/suggestmgr.cxx | 14 src/hunspell/suggestmgr.cxx |
15 * Change the input params of the constructors to receive a BDICTReader instead | 15 * Change the input params of the constructors to receive a BDICTReader instead |
16 of a file path. | 16 of a file path. |
17 * Merge http://hunspell.cvs.sourceforge.net/viewvc/hunspell/hunspell/src/hunspel
l/affixmgr.cxx?r1=1.40&r2=1.41 | 17 * Merge http://hunspell.cvs.sourceforge.net/viewvc/hunspell/hunspell/src/hunspel
l/affixmgr.cxx?r1=1.40&r2=1.41 |
18 The patch is in google.patch. | 18 The patch is in google.patch. |
19 * Add a pointer to the bdict_reader into the "SuggestMgr" so that it can use the | 19 * Add a pointer to the bdict_reader into the "SuggestMgr" so that it can use the |
20 replacement table from the bdict file for the secondary suggestion mechanism. | 20 replacement table from the bdict file for the secondary suggestion mechanism. |
21 * Avoid crash in SuggestMgr::forgotchar_utf() and SuggestMgr::forgotchar() on | 21 * Avoid crash in SuggestMgr::forgotchar_utf() and SuggestMgr::forgotchar() on |
22 Windows by using a one-character larger buffer. | 22 Windows by using a one-character larger buffer. |
23 * calloc buffers in SuggestMgr::lcs to avoid reads from uninintialized buffers. | 23 * calloc buffers in SuggestMgr::lcs to avoid reads from uninintialized buffers. |
24 | 24 |
25 Chromium-specific changes are in google.patch. To update the patch, follow these | 25 Chromium-specific changes are in google.patch. To update the patch, follow these |
26 steps, or simply run update_google_patch.sh from the commandline. | 26 steps, or simply run update_google_patch.sh from the commandline. |
27 1) Checkout hunspell: | 27 1) Checkout hunspell: |
28 $ git clone https://github.com/hunspell/hunspell.git | 28 $ git clone https://github.com/hunspell/hunspell.git |
29 $ cd hunspell | 29 $ cd hunspell |
30 $ git checkout v1.5.4 | 30 $ git checkout v1.6.0 |
31 2) Apply the existing patch: | 31 2) Apply the existing patch: |
32 $ patch -p0 -i ~/src/third_party/hunspell/google.patch | 32 $ patch -p0 -i ~/src/third_party/hunspell/google.patch |
33 3) Make your new changes inside the CVS hunspell directory. | 33 3) Make your new changes inside the CVS hunspell directory. |
34 4) Generate the updated patch: | 34 4) Generate the updated patch: |
35 $ git diff > ~/src/third_party/hunspell/google.patch | 35 $ git diff > ~/src/third_party/hunspell/google.patch |
36 | 36 |
37 All dictionaries used by Chromium has been checked in to the | 37 All dictionaries used by Chromium has been checked in to the |
38 'third_party/hunspell_dictionaries' directory. They have several additions over | 38 'third_party/hunspell_dictionaries' directory. They have several additions over |
39 the default myspell/hunspell dictionaries. | 39 the default myspell/hunspell dictionaries. |
40 (See 'third_party/hunspell_dictionaries/README.chromium' for their details.) | 40 (See 'third_party/hunspell_dictionaries/README.chromium' for their details.) |
OLD | NEW |