From a17b93e77ede94a25195799f8b4b81757892faed Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mar 02 2019 08:50:39 +0000 Subject: Update to 2.6.0 - Update translations from zanata (de updated) - Update emoji annotations from CLDR - When Left or BackSpace trigger a commit, forward Left events only when no candidate was selected (i.e. the preëdit was committed) - If a candidate is shown inline and *manually* selected, show the caret at the end of the candidate - Right, Left, BackSpace, and Delete edit the preëdit only if no candidate is *manually* selected - If an input char is typed while a candidate is *manually* selected, add that input to the candidate - Change option name 'Add a space when committing by label or mouse' in setup tool - Remove option “Use digits as select keys” - Make key bindings to commit or remove candidates via label configurable (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/48) - Multi word suggestions: Commit the current commit phrase and the previous phrase as a single unit as well (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/49) - Fix wrong tooltip for “Automatically select the best candidate” option - Run time consuming tests simultaneously via script (thanks to Marguerite Su ) --- diff --git a/.gitignore b/.gitignore index 6d5ff06..1b01494 100644 --- a/.gitignore +++ b/.gitignore @@ -115,3 +115,4 @@ /ibus-typing-booster-2.5.1.tar.gz /ibus-typing-booster-2.5.2.tar.gz /ibus-typing-booster-2.5.3.tar.gz +/ibus-typing-booster-2.6.0.tar.gz diff --git a/ibus-typing-booster.spec b/ibus-typing-booster.spec index 26fb699..28f2dee 100644 --- a/ibus-typing-booster.spec +++ b/ibus-typing-booster.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-typing-booster -Version: 2.5.3 +Version: 2.6.0 Release: 1%{?dist} Summary: A completion input method License: GPLv3+, ASL 2.0 @@ -108,6 +108,19 @@ make install DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true INSTALL="install -p" pkg %find_lang %{name} +cat << 'EOF' >> engine.sh +#!/bin/sh +# run doctests +pushd engine +for i in hunspell_suggest.py m17n_translit.py itb_emoji.py itb_util.py; do + python3 ${i} -v & +done +popd +wait +echo "engine tests passed"; +EOF +chmod +x engine.sh + %check export LC_ALL=C.UTF-8 appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml @@ -115,13 +128,14 @@ desktop-file-validate \ $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-typing-booster.desktop desktop-file-validate \ $RPM_BUILD_ROOT%{_datadir}/applications/emoji-picker.desktop -pushd engine +time ./engine.sh +#pushd engine # run doctests - python3 hunspell_suggest.py - python3 m17n_translit.py - python3 itb_emoji.py - python3 itb_util.py -popd + #python3 hunspell_suggest.py + #python3 m17n_translit.py + #python3 itb_emoji.py + #python3 itb_util.py +#popd mkdir -p /tmp/glib-2.0/schemas/ cp org.freedesktop.ibus.engine.typing-booster.gschema.xml \ /tmp/glib-2.0/schemas/org.freedesktop.ibus.engine.typing-booster.gschema.xml @@ -180,6 +194,30 @@ make check || cat ./tests/test-suite.log %changelog +* Thu Feb 21 2019 Mike FABIAN - 2.6.0-1 +- Update to 2.6.0 +- Update translations from zanata (de updated) +- Update emoji annotations from CLDR +- When Left or BackSpace trigger a commit, forward Left events only + when no candidate was selected (i.e. the preëdit was committed) +- If a candidate is shown inline and *manually* selected, show the caret + at the end of the candidate +- Right, Left, BackSpace, and Delete edit the preëdit only if no + candidate is *manually* selected +- If an input char is typed while a candidate is *manually* selected, + add that input to the candidate +- Change option name 'Add a space when committing by label or mouse' + in setup tool +- Remove option “Use digits as select keys” +- Make key bindings to commit or remove candidates via label configurable + (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/48) +- Multi word suggestions: Commit the current commit phrase and the + previous phrase as a single unit as well + (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/49) +- Fix wrong tooltip for “Automatically select the best candidate” option +- Run time consuming tests simultaneously via script (thanks to + Marguerite Su ) + * Mon Feb 11 2019 Mike FABIAN - 2.5.3-1 - Update to 2.5.3 - Update translations from zanata (ja, pl updated) diff --git a/sources b/sources index 8a00be5..5886e93 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-typing-booster-2.5.3.tar.gz) = 6d7f033919223522c9b0fcef5af4d8368f126c2da1acbbb0403c0575cdedaddd1de7d5cbcdf15dda63b05a871f35708586628195c3da4cfd86ca12bfde452672 +SHA512 (ibus-typing-booster-2.6.0.tar.gz) = 7e916eaba5d3f14bde383acedd5ce9cd74e72328f25a84936055ee9183b4aeff79d5297fffdd27713491f23a949377cafc39bc52efa0f7d5995672176cb808c8