SHA256
1
0
forked from pool/nuspell

Accepting request 850930 from M17N

- Update to version 4.1.0.
  * Added: Add new API for finding dictionaries on the file-system. 
    It is a set of free functions located in the file finder.hxx.
  * Fixed: Improve searching for dictionaries on the file-system.
    Fix finding them on
    Fedora.
  * Deprecated: Deprecate the old API for finding dictionaries, 
    i.e. the class Finder in the file finder.hxx.
- Updates since 3.1.2.
  * Fix handling CRLF line endings in .dic. Fixes #89.
  * Fix CMake scripts for unusual install prefixes.
  * Improve hash-table insertion, avoid temporaries. This improves
    loading times.
  * Switch man-page generator from Ronn to Pandoc. This changes the
    dependencies for building. See the README.
  * Fix lifetime issue (segmentation fault) in ngram-based 
    suggestions.
  * 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.
  * Fix overwriting of PDB files when compiling with Visual Studio.
    This prevented debugging nuspell.dll.
  * 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. 
  * 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. 
  * 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.

OBS-URL: https://build.opensuse.org/request/show/850930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nuspell?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-11-29 11:19:07 +00:00 committed by Git OBS Bridge
commit 85289a8b44
4 changed files with 50 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f59f8a27e97047f30659182f244daca8e05e052710c0ea5d845c2cb00f6c6eca
size 379029

3
nuspell-4.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fff5723ee2edfb8131b5da71dd1a69e34c40db2eef54b2658f3da7efe7d91c91
size 380814

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Thu Nov 26 08:42:53 UTC 2020 - andy great <andythe_great@pm.me>
- Update to version 4.1.0.
* Added: Add new API for finding dictionaries on the file-system.
It is a set of free functions located in the file finder.hxx.
* Fixed: Improve searching for dictionaries on the file-system.
Fix finding them on
Fedora.
* Deprecated: Deprecate the old API for finding dictionaries,
i.e. the class Finder in the file finder.hxx.
- Updates since 3.1.2.
* Fix handling CRLF line endings in .dic. Fixes #89.
* Fix CMake scripts for unusual install prefixes.
* Improve hash-table insertion, avoid temporaries. This improves
loading times.
* Switch man-page generator from Ronn to Pandoc. This changes the
dependencies for building. See the README.
* Fix lifetime issue (segmentation fault) in ngram-based
suggestions.
* 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.
* Fix overwriting of PDB files when compiling with Visual Studio.
This prevented debugging nuspell.dll.
* 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.
* 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.
* 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.
-------------------------------------------------------------------
Sat Jul 11 17:52:37 UTC 2020 - andy great <andythe_great@pm.me>

View File

@ -16,10 +16,10 @@
#
%define sonum 3
%define sonum 4
%define libname libnuspell
Name: nuspell
Version: 3.1.2
Version: 4.1.0
Release: 0
Summary: A spell checker library and command-line tool
License: LGPL-3.0-or-later
@ -103,16 +103,14 @@ popd
%files -n %{name}
%{_bindir}/nuspell
%{_mandir}/man1/nuspell.1%{?ext_man}
%files -n %{libname}%{sonum}
%doc README.md CHANGELOG.md AUTHORS
%license COPYING.LESSER COPYING
%{_libdir}/%{libname}.so.%{sonum}.1.2
%{_libdir}/%{libname}.so.%{sonum}.1.0
%exclude %{_datadir}/doc/nuspell/README.md
%files devel
%{_includedir}/%{name}
%{_libdir}/%{libname}.so
%{_libdir}/%{libname}.so.%{sonum}