2 URL: http://hunspell.sourceforge.net/
4 License: MPL 1.1/GPL 2.0/LGPL 2.1
9 This is a partial copy of Hunspell 1.3.2 with the following changes:
10 * Remove '#include "config.h"' from src/hunspell/hunspell.hxx
11 * Remove '#include "config.h"' from src/hunspell/license.hunspell
12 * Change src/hunspell/filemgr.hxx and src/hunspell/filemgr.cxx to use
14 * Add ScopedHashEntry, which creates temporary hentry objects, to
15 src/hunspell/suggestmgr.cxx
16 * Change the input params of the constructors to receive a BDICTReader instead
18 * Merge http://hunspell.cvs.sourceforge.net/viewvc/hunspell/hunspell/src/hunspell/affixmgr.cxx?r1=1.40&r2=1.41
19 The patch is in google.patch.
20 * Add a pointer to the bdict_reader into the "SuggestMgr" so that it can use the
21 replacement table from the bdict file for the secondary suggestion mechanism.
22 * Avoid crash in SuggestMgr::forgotchar_utf() and SuggestMgr::forgotchar() on
23 Windows by using a one-character larger buffer.
24 * calloc buffers in SuggestMgr::lcs to avoid reads from uninintialized buffers.
26 Chromium-specific changes are in google.patch. To update the patch, follow these
27 steps, or simply run update_google_patch.sh from the commandline.
30 -d:pserver:anonymous@hunspell.cvs.sourceforge.net:/cvsroot/hunspell \
31 co -D "23 Mar 2012" -P hunspell
32 2) Apply the existing patch:
34 $ patch -p0 -i ~/src/third_party/hunspell/google.patch
35 3) Make your new changes inside the CVS hunspell directory.
36 4) Generate the updated patch:
37 $ cvs diff -u > ~/src/third_party/hunspell/google.patch
39 All dictionaries used by Chromium has been checked in to the
40 'third_party/hunspell_dictionaries' directory. They have several additions over
41 the default myspell/hunspell dictionaries.
42 (See 'third_party/hunspell_dictionaries/README.chromium' for their details.)