Index: README.chromium |
diff --git a/README.chromium b/README.chromium |
index 00ad8d5811eaad5020f3b39cc36a1dfe2656420d..0d01f1373e1e6650b2efe0269000a45352cea194 100644 |
--- a/README.chromium |
+++ b/README.chromium |
@@ -5,10 +5,6 @@ License: MPL 1.1/GPL 2.0/LGPL 2.1 |
License File: COPYING |
Security Critical: yes |
-Checkout command: |
-cvs -z3 -d:pserver:anonymous@hunspell.cvs.sourceforge.net:/cvsroot/hunspell co \ |
- -D "23 Mar 2012" -P hunspell |
- |
Description: |
This is a partial copy of Hunspell 1.3.2 with the following changes: |
* Remove '#include "config.h"' from src/hunspell/hunspell.hxx |
@@ -23,8 +19,21 @@ This is a partial copy of Hunspell 1.3.2 with the following changes: |
The patch is in google.patch. |
* Add a pointer to the bdict_reader into the "SuggestMgr" so that it can use the |
replacement table from the bdict file for the secondary suggestion mechanism. |
-* Reduce maximum word length to spellcheck from 99 to 98 characters to avoid |
- a crash in SuggestMgr::forgotchar_utf() in Windows. |
+* Avoid crash in SuggestMgr::forgotchar_utf() and SuggestMgr::forgotchar() on |
+ Windows by using a one-character larger buffer. |
+ |
+Chromium-specific changes are in google.patch. To update the patch, follow these |
+steps: |
+1) Checkout hunspell: |
+ $ cvs -z3 \ |
+ -d:pserver:anonymous@hunspell.cvs.sourceforge.net:/cvsroot/hunspell \ |
+ co -D "23 Mar 2012" -P hunspell |
+2) Apply the existing patch: |
+ $ cd hunspell |
+ $ patch -p0 -i ~/src/third_party/hunspell/google.patch |
+3) Make your new changes. |
+4) Generate the updated patch: |
+ $ cvs diff -u > ~/src/third_party/hunspell/google.patch |
All dictionaries used by Chromium has been checked in to the |
'third_party/hunspell_dictionaries' directory. They have several additions over |