File: README.chromium

package info (click to toggle)
qtwebengine-opensource-src 5.15.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,891,008 kB
  • sloc: cpp: 12,231,790; ansic: 4,139,950; javascript: 590,747; python: 550,957; asm: 507,724; xml: 434,729; java: 166,199; objc: 79,696; perl: 72,973; sh: 70,983; cs: 30,332; makefile: 21,627; yacc: 8,867; tcl: 8,297; php: 5,896; pascal: 4,488; lex: 2,830; lisp: 2,703; sql: 1,810; ruby: 683; awk: 200; sed: 56
file content (40 lines) | stat: -rw-r--r-- 1,829 bytes parent folder | download | duplicates (5)
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
Name: hunspell
URL: http://hunspell.sourceforge.net/
Version: 1.6.0
License: MPL 1.1/GPL 2.0/LGPL 2.1
License File: COPYING.MPL
Security Critical: yes

Description:
This is a partial copy of Hunspell 1.6.0 with the following changes:
* Move README.md onto the README symlink.
* 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:
   $ git clone https://github.com/hunspell/hunspell.git
   $ cd hunspell
   $ git checkout v1.6.0
2) Apply the existing patch:
   $ patch -p0 -i ~/src/third_party/hunspell/google.patch
3) Make your new changes inside the CVS hunspell directory.
4) Generate the updated patch:
   $ git diff > ~/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.)