README.chromium 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Name: hunspell
  2. URL: http://hunspell.sourceforge.net/
  3. Version: 1.6.0
  4. CPEPrefix: cpe:/a:hunspell_project:hunspell:1.6.0
  5. License: MPL 1.1/GPL 2.0/LGPL 2.1
  6. License File: COPYING.MPL
  7. Security Critical: yes
  8. Description:
  9. This is a partial copy of Hunspell 1.6.0 with the following changes:
  10. * Move README.md onto the README symlink.
  11. * Change src/hunspell/filemgr.hxx and src/hunspell/filemgr.cxx to use
  12. LineIterator.
  13. * Add ScopedHashEntry, which creates temporary hentry objects, to
  14. src/hunspell/suggestmgr.cxx
  15. * Change the input params of the constructors to receive a BDICTReader instead
  16. of a file path.
  17. * Merge http://hunspell.cvs.sourceforge.net/viewvc/hunspell/hunspell/src/hunspell/affixmgr.cxx?r1=1.40&r2=1.41
  18. The patch is in google.patch.
  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.
  21. * Avoid crash in SuggestMgr::forgotchar_utf() and SuggestMgr::forgotchar() on
  22. Windows by using a one-character larger buffer.
  23. * calloc buffers in SuggestMgr::lcs to avoid reads from uninintialized buffers.
  24. * Fix string OOB write in reverse_condition in src/hunspell/affixmgr.cxx
  25. Upstream issue: https://github.com/hunspell/hunspell/issues/714
  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.
  28. 1) Checkout hunspell:
  29. $ git clone https://github.com/hunspell/hunspell.git
  30. $ cd hunspell
  31. $ git checkout v1.6.0
  32. 2) Apply the existing patch:
  33. $ patch -p0 -i ~/src/third_party/hunspell/google.patch
  34. 3) Make your new changes inside the CVS hunspell directory.
  35. 4) Generate the updated patch:
  36. $ git diff > ~/src/third_party/hunspell/google.patch
  37. All dictionaries used by Chromium has been checked in to the
  38. 'third_party/hunspell_dictionaries' directory. They have several additions over
  39. the default myspell/hunspell dictionaries.
  40. (See 'third_party/hunspell_dictionaries/README.chromium' for their details.)