File: README.chromium

package info (click to toggle)
qtwebengine-opensource-src 5.7.1%2Bdfsg-6.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,028,096 kB
  • ctags: 1,436,736
  • sloc: cpp: 5,960,176; ansic: 3,477,727; asm: 395,492; python: 320,633; sh: 96,504; perl: 69,449; xml: 42,977; makefile: 28,408; objc: 9,962; yacc: 9,847; tcl: 5,430; lex: 2,259; ruby: 1,053; lisp: 522; awk: 497; pascal: 310; cs: 249; sed: 53
file content (42 lines) | stat: -rw-r--r-- 1,968 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Name: hunspell
URL: http://hunspell.sourceforge.net/
Version: 1.3.2
License: MPL 1.1/GPL 2.0/LGPL 2.1
License File: COPYING
Security Critical: yes

Description:
This is a partial copy of Hunspell 1.3.2 with the following changes:
* Remove '#include "config.h"' from src/hunspell/hunspell.hxx
* Remove '#include "config.h"' from src/hunspell/license.hunspell
* Change src/hunspell/filemgr.hxx and src/hunspell/filemgr.cxx to use
  LineIterator.
* Add ScopedHashEntry, which creates temporary hentry objects, to
  src/hunspell/suggestmgr.cxx
* Change the input params of the constructors to receive a BDICTReader instead
  of a file path.
* Merge http://hunspell.cvs.sourceforge.net/viewvc/hunspell/hunspell/src/hunspell/affixmgr.cxx?r1=1.40&r2=1.41
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.
* Avoid crash in SuggestMgr::forgotchar_utf() and SuggestMgr::forgotchar() on
  Windows by using a one-character larger buffer.
* calloc buffers in SuggestMgr::lcs to avoid reads from uninintialized buffers.

Chromium-specific changes are in google.patch. To update the patch, follow these
steps, or simply run update_google_patch.sh from the commandline.
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 inside the CVS hunspell directory.
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
the default myspell/hunspell dictionaries.
(See 'third_party/hunspell_dictionaries/README.chromium' for their details.)