nuspell: update to 4.0.0.

- Fix lifetime issue (segmentation fault) in ngram-based suggestions. Fixes #84.
- Fix internal usage of `std::codecvt` in edge case in function `to_wide()` and
  `to_narrow()`
- Fix not propagating recursion depth in spell_break(), which caused hangup.
  Fixes #85.
- Fix overwriting of PDB files when compiling with Visual Studio. This prevented
  debugging nuspell.dll. Fixes #86.
- Fix output of CLI tool to be more compatible to ispell and hunspell.

- Boost is no longer a dependency of the library at all. It is still a
  dependency of the CLI tool. Closes #79. Fixes #71.
- Use `std::string_view` in the public API instead of `const std::string&`. Also
  use it internally at various places.
- Build as shared library by default. Building as static is still possible via
  the CMake's variable `BUILD_SHARED_LIBS`.
- The public API is annotated with dll-export/visibility attributes, and also
  some private functions are annotated needed for testing. This reduces the file
  size. Closes #65.
- Use Unicode text segmentation by default in the CLI tool. Simple segmentation
  on white-space is still available via CLI option.

- Delete deprecated functions in the class Finder.
- Drop under-designed and undocumented feature in the CLI tool about personal
  dictionaries.
This commit is contained in:
Thomas Klausner 2020-10-31 20:44:57 +01:00
parent eab4898e4b
commit 6ce55ebea9
4 changed files with 7 additions and 7 deletions

1
TODO
View File

@ -92,7 +92,6 @@ Suggested package updates
o mythtv-0.28.0
o nautilus-open-terminal-0.19
o neovim-0.4.0
o nuspell-4.0.0
o ogmrip-1.0.0
o omega-1.2.10
o openblas-0.3.9

View File

@ -1,6 +1,6 @@
# $NetBSD$
DISTNAME= nuspell-3.1.2
DISTNAME= nuspell-4.0.0
CATEGORIES= textproc wip
MASTER_SITES= ${MASTER_SITE_GITHUB:=nuspell/}
GITHUB_TAG= v${PKGVERSION_NOREV}

View File

@ -3,13 +3,14 @@ bin/nuspell
include/nuspell/aff_data.hxx
include/nuspell/dictionary.hxx
include/nuspell/finder.hxx
include/nuspell/nuspell_export.h
include/nuspell/structures.hxx
lib/cmake/nuspell/NuspellConfig.cmake
lib/cmake/nuspell/NuspellConfigVersion.cmake
lib/cmake/nuspell/NuspellTargets-release.cmake
lib/cmake/nuspell/NuspellTargets.cmake
lib/libnuspell.${RUBY_DLEXT}
lib/libnuspell.so.3
lib/libnuspell.so.4
lib/libnuspell.so.${PKGVERSION}
lib/pkgconfig/nuspell.pc
man/man1/nuspell.1

View File

@ -1,6 +1,6 @@
$NetBSD$
SHA1 (nuspell-3.1.2.tar.gz) = b6ff194a0a501ff3f6d964c39cb4d084c58b1bea
RMD160 (nuspell-3.1.2.tar.gz) = b0bf7d83ee00cb01c61c9064bf6e7419c6252a11
SHA512 (nuspell-3.1.2.tar.gz) = ed5206cb9ffa7e4ec6843988a75627d4ae7d5170444b6e7bd3496c1bf61c25412c4e68864800f2ad238d014b4e50d25282f367de2900f8a230f3ecc9ae5772be
Size (nuspell-3.1.2.tar.gz) = 379029 bytes
SHA1 (nuspell-4.0.0.tar.gz) = 9af0bf72188113bebb7c3025ff1f1f63bc29e0d2
RMD160 (nuspell-4.0.0.tar.gz) = c62244513a6dfeeb50693b6e115c831ef11276e4
SHA512 (nuspell-4.0.0.tar.gz) = 2b08e30c4ac91a243c74f21eaf4a8d55d8b1c834e0f293fea76a9f02660f2ee89fe4d4071b1b9ed97b8c1db80b0645c71f8746738d97fc3ae779a65dc1583d3b
Size (nuspell-4.0.0.tar.gz) = 379136 bytes