Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

6 changed files with 24 additions and 164 deletions

View File

@ -1,18 +0,0 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/libspelling.git</param>
<param name="revision">0.4.5</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v?(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

3
libspelling-0.2.1.tar.xz Normal file
View File

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

View File

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

View File

@ -1,108 +1,3 @@
-------------------------------------------------------------------
Fri Nov 22 20:11:27 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.4.5:
+ Various robustness fixes for weak ref tracking
+ Various GObject Introspection fixes
+ A new build option to install a static library
(libspelling-1.a)
+ Fix a minor leak of extra_word_chars for a language dictionary
+ Fix ICU success check
+ Updated translations.
-------------------------------------------------------------------
Sat Oct 19 09:17:08 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.4.4:
+ Adds a few dozen translations for menu items.
- Add lang subpackage and macros. Also provide libspelling from the
shared lib, allow install of lang subpackage.
-------------------------------------------------------------------
Wed Oct 16 06:03:32 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.4.3:
+ Fix build to disable assertions in release builds
+ Fix an off-by-one in assertion
+ Add i18n for translations of menu entries
+ Ignore empty strings when building job list
-------------------------------------------------------------------
Fri Oct 4 19:02:50 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.4.2:
+ Limit the number of corrections to 10 in enchant backend to
help with dictionary configurations which produce many results.
+ Hide add/ignore menu items when disabled.
+ Don't show word corrections when spellcheck is disabled.
- Switch to source service for tarball.
-------------------------------------------------------------------
Fri Sep 27 12:57:18 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 0.4.1:
+ Fixes an important issue tracking weak pointers from a
GtkTextBuffer.
+ Fixes an important issue where we could get invalid text iters
from GtkTextBuffer::delete-range() after the deletion occurred
when other signal handlers are in play.
-------------------------------------------------------------------
Tue Sep 10 10:30:12 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.4.0:
+ This is a stable release for GNOME 47.0.
+ Protect the SpellingEngine from systems with misconfigured
dictionaries.
+ Protect the SpellingTextBufferAdapter from NULL language codes.
+ Protect the SpellingJob from uncooperative break chars which
could result in zero length runs.
+ Fix some incorrect licenses.
- Changes from version 0.3.1:
+ Immediately clear tags for invalidated regions without
round-tripping to the checker thread.
+ Bump soname for ABI changes in 0.3
+ Fix licenses to be LGPLv2.1+
+ Add sysprof profiler marks for performance profiling
+ Update example so people know to copy the button-press work to
update the menu immediately.
+ Fix pkg-config fields
+ Fix libspelling usage from subproject
+ Make introspection building optional
+ Documentation improvements
- Pass sysprof=false to meson configure, do not build the profiler
support at this time.
- Add so_ver and api_ver define, and set them to 1-2 and 1
respectivly.
- Add myspell-en_US BuildRequires: Needed for tests.
-------------------------------------------------------------------
Thu Aug 8 19:54:43 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.3.0:
+ This is an unstable release for GNOME 47.beta.
+ The highlight for this release is a new threaded spellchecking
engine. It performs text analysis and dictionary lookups in
bulk off the UI thread. Care is taken to catch collisions in
the face of user editing while spellchecking operations are in
flight.
+ I expect a significant reduction in initial spellchecking time
after opening a document. Opening `gtktextbuffer.c` in Text
Editor was more than 8x faster.
+ Currently, libspelling relies on GTK main until 4.15.5 is
released so do keep this in mind if you are a distributor.
+ Some API has changed, though that is unlikely to affect any
known applications using libspelling.
+ Many new unit tests are part of the testsuite
+ SpellingLanguage was renamed to SpellingDictionary
+ SpellingLanguageInfo was renamed to SpellingLanguage
+ Various helpers were added to SpellingTextBufferAdapter so
that they can update spelling menus. Applications that update
the cursor position on clicks before showing menus may want to
force the menu updating before `menu.popup`.
+ SpellingTextBufferAdapter now uses the new
GtkTextBufferCommitNotify API in GTK 4.15.5 and newer.
-------------------------------------------------------------------
Mon Mar 4 08:46:51 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,4 +0,0 @@
name: libspelling
version: 0.4.5
mtime: 1732305987
commit: ab64511edd5cf53c8a81a51e2883d6f69e585f64

View File

@ -16,16 +16,13 @@
#
%define so_ver 1-2
%define api_ver 1
Name: libspelling
Version: 0.4.5
Version: 0.2.1
Release: 0
Summary: A spellcheck library for GTK 4
License: LGPL-2.1-or-later
URL: https://gitlab.gnome.org/chergert/libspelling
Source: %{name}-%{version}.tar.zst
Source: https://download.gnome.org/sources/libspelling/0.2/%{name}-%{version}.tar.xz
BuildRequires: c_compiler
BuildRequires: meson
@ -34,12 +31,10 @@ BuildRequires: pkgconfig(enchant-2)
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4) >= 4.15.5
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(gtksourceview-5)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(vapigen)
# For tests
BuildRequires: myspell-en_US
%description
A spellcheck library for GTK 4.
@ -47,14 +42,13 @@ This library is heavily based upon GNOME Text Editor and GNOME
Builder's spellcheck implementation. However, it is licensed
LGPL-2.1-or-later
%package -n libspelling%{so_ver}
%package -n libspelling1-1
Summary: Shared libraries for %{name}
Provides: %{name} = %{version}
%description -n libspelling%{so_ver}
%description -n libspelling1-1
Shared libraries for %{name}.
%package -n typelib-1_0-Spelling-%{api_ver}
%package -n typelib-1_0-Spelling-1
Summary: Introspection file for %{name}
%description -n typelib-1_0-Spelling-1
@ -62,52 +56,45 @@ Introspection file for %{name}.
%package devel
Summary: Development files for %{name}
Requires: libspelling%{so_ver} = %{version}
Requires: typelib-1_0-Spelling-%{api_ver} = %{version}
Requires: libspelling1-1 = %{version}
Requires: typelib-1_0-Spelling-1 = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%lang_package
%prep
%autosetup -p1
%build
%meson \
-D sysprof=false \
%{nil}
%meson
%meson_build
%install
%meson_install
%find_lang %{name} %{?no_lang_C}
%check
%meson_test
%ldconfig_scriptlets -n libspelling%{so_ver}
%ldconfig_scriptlets -n libspelling1-1
%files -n libspelling%{so_ver}
%files -n libspelling1-1
%license COPYING
%doc NEWS README.md
%{_libdir}/libspelling-%{api_ver}.so.*
%{_libdir}/libspelling-1.so.1*
%files -n typelib-1_0-Spelling-%{api_ver}
%{_libdir}/girepository-1.0/Spelling-%{api_ver}.typelib
%files -n typelib-1_0-Spelling-1
%{_libdir}/girepository-1.0/Spelling-1.typelib
%files devel
%doc %{_datadir}/doc/libspelling-%{api_ver}/
%{_includedir}/libspelling-%{api_ver}
%{_libdir}/libspelling-%{api_ver}.so
%{_libdir}/pkgconfig/libspelling-%{api_ver}.pc
%{_datadir}/gir-1.0/Spelling-%{api_ver}.gir
%doc %{_datadir}/doc/libspelling-1/
%{_includedir}/libspelling-1
%{_libdir}/libspelling-1.so
%{_libdir}/pkgconfig/libspelling-1.pc
%{_datadir}/gir-1.0/Spelling-1.gir
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/libspelling-%{api_ver}.deps
%{_datadir}/vala/vapi/libspelling-%{api_ver}.vapi
%files lang -f %{name}.lang
%{_datadir}/vala/vapi/libspelling-1.deps
%{_datadir}/vala/vapi/libspelling-1.vapi
%changelog