Compare commits

...

No commits in common. "c8" and "c9-beta" have entirely different histories.
c8 ... c9-beta

6 changed files with 643 additions and 214 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/ibus-typing-booster-2.1.0.tar.gz
SOURCES/ibus-typing-booster-2.11.0.tar.gz

View File

@ -0,0 +1 @@
01ad4d2488285aa3cba80c34f47d872f994f9a37 SOURCES/ibus-typing-booster-2.11.0.tar.gz

View File

@ -1,50 +0,0 @@
From 956b0cf51f7d3803bb605695c4ccc6fea77524a8 Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
Date: Thu, 27 Feb 2020 15:50:37 +0100
Subject: [PATCH] =?UTF-8?q?Prevent=20also=20BackSpace=20from=20reopening?=
=?UTF-8?q?=20a=20preedit=20when=20the=20option=20=E2=80=9CArrow=20keys=20?=
=?UTF-8?q?can=20reopen=20a=20preedit=E2=80=9D=20is=20off?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Reopening the preedit is so terribly buggy, especially under Gnome Wayland
but also in many other applications.
Often surrounding text is reported as supported by the application but
ibus-typing-booster then gets completely wrong results when querying
the surrounding text. Without properly working surrounding text,
reopening a preedit cannot work correctly either.
Until now this option switched reopening the preedit on and off only for the arrow keys.
So even when this was switched off for the arrow keys, it was still causing problems
when using backspace in case of broken support for surrounding text.
Now reopening preedits is disabled completely when this option is off, which is
better in most cases as surrounding text is so terribly broken.
One can still turn it on, it might be helpful in some cases where
surrounding text works reasonably well (e.g. in gedit when using Xorg
and not Wayland). But in most cases it is unfortunately better to
switch this off.
---
engine/hunspell_table.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/engine/hunspell_table.py b/engine/hunspell_table.py
index 9214254..e3b61cf 100644
--- a/engine/hunspell_table.py
+++ b/engine/hunspell_table.py
@@ -2396,7 +2396,8 @@ class TypingBoosterEngine(IBus.Engine):
return self._return_false(key.val, key.code, key.state)
if (not self._arrow_keys_reopen_preedit
and key.val in (IBus.KEY_Left, IBus.KEY_KP_Left,
- IBus.KEY_Right, IBus.KEY_KP_Right)):
+ IBus.KEY_Right, IBus.KEY_KP_Right,
+ IBus.KEY_BackSpace)):
# using arrows key to reopen the preëdit is disabled
return self._return_false(key.val, key.code, key.state)
if (key.shift
--
2.29.2

View File

@ -1,48 +0,0 @@
diff -ru ibus-typing-booster-2.1.0.orig/engine/itb_util.py ibus-typing-booster-2.1.0/engine/itb_util.py
--- ibus-typing-booster-2.1.0.orig/engine/itb_util.py 2018-07-24 08:43:58.000000000 +0200
+++ ibus-typing-booster-2.1.0/engine/itb_util.py 2023-10-09 18:24:53.617131025 +0200
@@ -1757,6 +1757,9 @@
TR9> and its matching PDI or, if it has no matching PDI, the end of the
TR9> paragraph
+ U+2069 POP DIRECTIONAL ISOLATE
+ U+2068 FIRST STRONG ISOLATE
+
Examples:
>>> is_right_to_left('Hallo!')
@@ -1765,16 +1768,16 @@
>>> is_right_to_left('﷼')
True
- >>> is_right_to_left('⁨﷼⁩')
+ >>> is_right_to_left('\u2068﷼\u2069')
False
- >>> is_right_to_left('⁨﷼⁩﷼')
+ >>> is_right_to_left('\u2068﷼\u2069﷼')
True
- >>> is_right_to_left('a﷼')
+ >>> is_right_to_left('a\u2068﷼\u2069﷼')
False
- >>> is_right_to_left('a﷼')
+ >>> is_right_to_left('\u2068a\u2069\u2068﷼\u2069﷼')
True
'''
skip = False
@@ -1806,10 +1809,10 @@
Examples:
>>> bidi_embed('a')
- 'a'
+ '\u202Aa\u202C'
>>> bidi_embed('﷼')
- '‫﷼‬'
+ '\u202B﷼\u202C'
'''
if is_right_to_left(text):
return chr(0x202B) + text + chr(0x202C) # RLE + text + PDF
ibus-typing-booster-2.1.0/engine のみに存在: itb_util.py.orig

View File

@ -1,54 +0,0 @@
diff -ru ibus-typing-booster-2.1.0.orig/tests/run_tests.in ibus-typing-booster-2.1.0/tests/run_tests.in
--- ibus-typing-booster-2.1.0.orig/tests/run_tests.in 2018-06-05 11:32:44.000000000 +0200
+++ ibus-typing-booster-2.1.0/tests/run_tests.in 2020-06-09 17:52:21.789989905 +0200
@@ -21,6 +21,21 @@
import sys
import unittest
+# pip3 install tap.py --user
+IMPORT_TAP_SUCCESSFUL = False
+try:
+ from tap import TAPTestRunner
+ IMPORT_TAP_SUCCESSFUL = True
+except (ImportError,):
+ pass
+
+if 'IBUS_TYPING_BOOSTER_LOCATION' in os.environ:
+ location_path = os.environ['IBUS_TYPING_BOOSTER_LOCATION']
+ if location_path != None and location_path != '':
+ engine_path = os.path.join(location_path, 'engine')
+ sys.path.append(engine_path)
+sys.path.append('/usr/share/ibus-typing-booster/engine')
+
from gi import require_version
require_version('IBus', '1.0')
from gi.repository import IBus
@@ -182,10 +197,25 @@
sys.modules["gi.repository.IBus"].PropList = MockPropList
# -- Load and run our unit tests ---------------------------------------------
-os.environ['IBUS_TYPING_BOOSTER_DEBUG_LEVEL'] = '255'
+pattern = 'test*.py'
+start_dir = os.path.dirname(__file__)
+if len(sys.argv) > 1:
+ pattern = sys.argv[-1]
+ dir = os.path.dirname(pattern)
+ pattern = os.path.basename(pattern)
+ if dir != '.':
+ start_dir = os.path.join(start_dir, dir)
loader = unittest.TestLoader()
-suite = loader.discover(".")
-runner = unittest.TextTestRunner(stream = sys.stderr, verbosity = 255)
+suite = loader.discover(start_dir=start_dir, pattern=pattern)
+
+if IMPORT_TAP_SUCCESSFUL:
+ runner = TAPTestRunner(stream=sys.stderr, verbosity=255)
+ runner.set_outdir('.')
+ runner.set_format('Hi: {method_name} - {short_description}')
+ runner.set_combined(True)
+else:
+ runner = unittest.TextTestRunner(stream=sys.stderr, verbosity=255)
+
result = runner.run(suite)
if result.failures or result.errors:

View File

@ -1,18 +1,15 @@
Name: ibus-typing-booster
Version: 2.1.0
Release: 7%{?dist}
Version: 2.11.0
Release: 5%{?dist}
Summary: A completion input method
License: GPLv3+
Group: System Environment/Libraries
License: GPLv3+ and ASL 2.0
URL: https://mike-fabian.github.io/ibus-typing-booster/
Source0: https://github.com/mike-fabian/ibus-typing-booster/releases/download/%{version}/ibus-typing-booster-%{version}.tar.gz
Patch0: gating.patch
Patch1: Prevent-also-BackSpace-from-reopening-a-preedit-when.patch
Patch2: avoid-verbatim-bidi-formatting-characters-in-the-source.patch
Requires: ibus >= 1.5.3
Requires: m17n-lib
%{?__python3:Requires: %{__python3}}
Requires: python3-dbus
Requires: python3-distro
Requires: python3-enchant
Requires: python3-pyxdg
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
@ -22,6 +19,10 @@ Recommends: google-noto-emoji-fonts
%endif
Recommends: google-noto-emoji-color-fonts
Recommends: gdouros-symbola-fonts
# For better description of the dictionaries in the setup tool
# makes it possible to search for full language and territory names
# and not just locale codes:
Recommends: langtable
%endif
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
# Save some space in the binary rpm by requiring the Fedora
@ -30,6 +31,7 @@ Requires: cldr-emoji-annotation
Requires: unicode-ucd
%endif
BuildRequires: ibus-devel
BuildRequires: gcc
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
BuildRequires: python3-devel
BuildRequires: python3-pyxdg
@ -40,6 +42,13 @@ BuildRequires: python34-devel
BuildRequires: m17n-lib
BuildRequires: m17n-db-extras
BuildRequires: python3-enchant
%if 0%{?fedora} && 0%{?fedora} >= 34
BuildRequires: python3-libvoikko
BuildRequires: voikko-fi
%endif
%if 0%{?fedora}
BuildRequires: appstream
%endif
BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils
BuildRequires: python3-gobject
@ -56,6 +65,17 @@ BuildRequires: gtk3
BuildRequires: dconf
BuildRequires: dbus-x11
BuildRequires: ibus
BuildRequires: xorg-x11-server-Xvfb
BuildRequires: glibc-langpack-en
BuildRequires: glibc-langpack-cs
BuildRequires: glibc-langpack-km
BuildRequires: glibc-langpack-pt
BuildRequires: glibc-langpack-am
BuildRequires: glibc-langpack-de
BuildRequires: glibc-langpack-ar
BuildRequires: make
# A window manger is needed for the GUI test
# BuildRequires: i3
BuildArch: noarch
%description
@ -80,18 +100,18 @@ Unicode symbols.
%prep
%setup -q
%patch -P 0 -p1 -b .gating
%patch -P 1 -p1 -b .backspace
%patch -P 2 -p1 -b .avoid-bidi-formatting-characters-in-source
%build
export PYTHON=%{__python3}
%configure --disable-static --disable-additional
make %{?_smp_mflags}
%configure --disable-static --disable-additional --enable-installed-tests
%make_build
%install
export PYTHON=%{__python3}
make install DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true INSTALL="install -p" pkgconfigdir=%{_datadir}/pkgconfig
%make_install NO_INDEX=true pkgconfigdir=%{_datadir}/pkgconfig
%py_byte_compile %{python3} /usr/share/ibus-typing-booster/engine
%py_byte_compile %{python3} /usr/share/ibus-typing-booster/setup
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
# These files are in the required package “cldr-emoji-annotation”
rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/annotations/*.xml
@ -110,22 +130,13 @@ make install DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true INSTALL="install -p" pkg
gzip -n --force --best $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/annotationsDerived/*.xml
%endif
mkdir -p $RPM_BUILD_ROOT/%{_libexecdir}/installed-tests/%{name}
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/installed-tests/%{name}
make -C tests run_tests
cp tests/run_tests $RPM_BUILD_ROOT/%{_libexecdir}/installed-tests/%{name}
cp tests/test_itb.py $RPM_BUILD_ROOT/%{_libexecdir}/installed-tests/%{name}
cat <<EOF > $RPM_BUILD_ROOT/%{_datadir}/installed-tests/%{name}/test_itb.test
[Test]
Type=session
Exec=/usr/libexec/installed-tests/ibus-typing-booster/run_tests test_itb.py
Output=TAP
EOF
%find_lang %{name}
%check
export LC_ALL=en_US.UTF-8
export LC_ALL=C.UTF-8
%if 0%{?fedora}
#appstreamcli validate --pedantic --no-net %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
%endif
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
desktop-file-validate \
$RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-typing-booster.desktop
@ -133,10 +144,10 @@ desktop-file-validate \
$RPM_BUILD_ROOT%{_datadir}/applications/emoji-picker.desktop
pushd engine
# run doctests
%{__python3} hunspell_suggest.py
%{__python3} m17n_translit.py
%{__python3} itb_emoji.py
%{__python3} itb_util.py
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 \
@ -149,7 +160,7 @@ dconf write /org/freedesktop/ibus/engine/typing-booster/offtherecord false
dconf write /org/freedesktop/ibus/engine/typing-booster/usedigitsasselectkeys true
dconf write /org/freedesktop/ibus/engine/typing-booster/addspaceoncommit true
dconf write /org/freedesktop/ibus/engine/typing-booster/tabenable false
dconf write /org/freedesktop/ibus/engine/typing-booster/inputmethod "'NoIme'"
dconf write /org/freedesktop/ibus/engine/typing-booster/inputmethod "'NoIME'"
dconf write /org/freedesktop/ibus/engine/typing-booster/rememberlastusedpreeditime true
dconf write /org/freedesktop/ibus/engine/typing-booster/mincharcomplete 1
dconf write /org/freedesktop/ibus/engine/typing-booster/dictionary "'en_US'"
@ -158,20 +169,38 @@ dconf write /org/freedesktop/ibus/engine/typing-booster/autocommitcharacters "''
dconf write /org/freedesktop/ibus/engine/typing-booster/pagesize 6
dconf write /org/freedesktop/ibus/engine/typing-booster/shownumberofcandidates true
dconf write /org/freedesktop/ibus/engine/typing-booster/showstatusinfoinaux true
dconf write /org/freedesktop/ibus/engine/typing-booster/inlinecompletion false
dconf write /org/freedesktop/ibus/engine/typing-booster/keybindings "{'next_input_method': <['Control+Down', 'Control+KP_Down']>, 'previous_input_method': <['Control+Up', 'Control+KP_Up']>, 'lookup_related': <['Mod5+F12']>, 'enable_lookup': <['Tab', 'ISO_Left_Tab', 'KP_Divide']>, 'select_next_candidate': <['Tab', 'ISO_Left_Tab', 'Down', 'KP_Down']>, 'lookup_table_page_down': <['Page_Down', 'KP_Page_Down', 'KP_Next']>, 'toggle_emoji_prediction': <['Mod5+F6']>, 'lookup_table_page_up': <['Page_Up', 'KP_Page_Up', 'KP_Prior']>, 'toggle_off_the_record': <['Mod5+F9']>, 'cancel': <['Escape']>, 'setup': <['Mod5+F10']>, 'select_previous_candidate': <['Shift+Tab', 'Shift+ISO_Left_Tab', 'Up', 'KP_Up']>}"
dconf dump /
ibus-daemon -drx
make check || cat ./tests/test-suite.log
export DISPLAY=:1
Xvfb $DISPLAY -screen 0 1024x768x16 &
# A window manager and and ibus-daemon are needed to run the GUI
# test tests/test_gtk.py, for example i3 can be used.
#
# To debug what is going on if there is a problem with the GUI test
# add BuildRequires: x11vnc and start a vnc server:
#
# x11vnc -display $DISPLAY -unixsock /tmp/mysock -bg -nopw -listen localhost -xkb
#
# Then one can view what is going on outside of the chroot with vncviewer:
#
# vncviewer /var/lib/mock/fedora-32-x86_64/root/tmp/mysock
#
# The GUI test will be skipped if XDG_SESSION_TYPE is not x11 or wayland.
#
#ibus-daemon -drx
#touch /tmp/i3config
#i3 -c /tmp/i3config &
#export XDG_SESSION_TYPE=x11
%post
[ -x %{_bindir}/ibus ] && \
%{_bindir}/ibus write-cache --system &>/dev/null || :
%postun
[ -x %{_bindir}/ibus ] && \
%{_bindir}/ibus write-cache --system &>/dev/null || :
make check && rc=0 || rc=1
cat tests/*.log
if [ $rc != 0 ] ; then
exit $rc
fi
%files -f %{name}.lang
%doc AUTHORS COPYING README
%doc AUTHORS COPYING README README.html README.md
%{_datadir}/%{name}
%{_datadir}/metainfo/typing-booster.appdata.xml
%{_datadir}/ibus/component/typing-booster.xml
@ -196,36 +225,576 @@ make check || cat ./tests/test-suite.log
%files -n emoji-picker
%{_bindir}/emoji-picker
%{_datadir}/metainfo/emoji-picker.appdata.xml
%{_datadir}/applications/emoji-picker.desktop
%changelog
* Mon Oct 09 2023 Mike FABIAN <mfabian@redhat.com> - 2.1.0-7
- Avoid verbatim bidi formatting characters in source comments
to make rpminspect complain less.
- Resolves: RHEL-2237
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.11.0-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Sep 19 2023 Lumír Balhar <lbalhar@redhat.com> - 2.1.0-6
- Fix requirements of Python 3
- Resolves: RHEL-2237
* Tue Jul 27 2021 Mike FABIAN <mfabian@redhat.com> - 2.11.0-4
- Related: rhbz#1974636 Fix license tag
* Thu Feb 04 2021 Mike FABIAN <mfabian@redhat.com> - 2.1.0-5
- Prevent also BackSpace from reopening a preedit when the
option “Arrow keys can reopen a preedit” is off
- Resolves: rhbz#1925030
* Wed Jun 30 2021 Mike FABIAN <mfabian@redhat.com> - 2.11.0-3
- Resolves: rhbz#1974636 Delete ibus write-cache in scriptlet
- Improve CI tests and add gating.yaml
* Tue Jun 09 2020 Mike FABIAN <mfabian@redhat.com> - 2.1.0-4
- Add gating tests
- Resolves: rhbz#1682164
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.11.0-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Oct 09 2018 Mike FABIAN <mfabian@redhat.com> - 2.1.0-3
- Make “make check“ test cases work again when building the rpm
(To avoid that rpmdiff in the errata tool reports a problem)
- Related: rhbz#1619153
* Thu Mar 11 2021 Mike FABIAN <mfabian@redhat.com> - 2.11.0-1
- Update to 2.11.0
- Use sensitivity feature of buttons in the setup tool tab where shortcuts are defined
- Dont let dialog action area of setup tool expand.
- Improve the setup tool to make it possible to enter multi-line expansions of shortcuts
- Resolves https://github.com/mike-fabian/ibus-typing-booster/issues/158
- Elide extremely long candidates in the lookup table in the middle.
- If a candidate contains newlines, replace the newlines with arrows in the lookup table.
- If a commit string contains new-lines, commit it in several chunks
and forward Return between the chunks.
- Update emoji annotations from CLDR
- Put the remote icon back in emoji-picker.appdata.xml, it was a
false positive by appstreamcli
- Translation update from Weblate (pt_PT updated, 100% complete now)
- Skip the inscript2 test cases if these transliterations are not available.
* Thu Sep 20 2018 Tomas Orsava <torsava@redhat.com> - 2.1.0-2
* Mon Feb 22 2021 Mike FABIAN <mfabian@redhat.com> - 2.10.5-3
- Remove gnome-desktop-testing and ibus-desktop-testing from the requires
of the ibus-typing-booster-tests subpackage
* Fri Feb 19 2021 Mike FABIAN <mfabian@redhat.com> - 2.10.5-2
- Use the voikko build requires only for Fedora. They are only
needed to run the voikko test cases during build.
* Wed Feb 17 2021 Mike FABIAN <mfabian@redhat.com> - 2.10.5-1
- Update to 2.10.5
- Run the voikko tests only for libvoikko version >= 4.3
- Adapt voikko test cases to the newest voikko version
libvoikko-4.3-3, python3-libvoikko-4.3-3, voikko-fi-2.4-3
- Log a warning when language is “fi” and “import libvoikko” failed
- Return an empty list [] in spellcheck_suggest_voikko() when libvoikko was not imported
- Update emoji annotations from CLDR, switching “no” and “nb”
See: https://unicode-org.atlassian.net/browse/CLDR-2698
- Remove icon in emoji-picker.appdata.xml (to avoid warnings
from appstream-util and appstreamcli).
* Wed Feb 17 2021 Mike FABIAN <mfabian@redhat.com> - 2.10.4-2
- Use “BuildRequires: appstream” only on Fedora
* Tue Feb 02 2021 Mike FABIAN <mfabian@redhat.com> - 2.10.4-1
- Update to 2.10.4
- Use “from unittest import mock” instead of just “import mock”.
- Update emoji annotations from CLDR
- Translation update from Weblate for zh_CN (still 100% complete)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Jan 24 2021 Mike FABIAN <mfabian@redhat.com> - 2.10.3-1
- Update to 2.10.3
- Update emoji annotations from CLDR
- Translation update from Weblate for ja, zh_CN
(zh_CN is 100% complete now)
* Thu Dec 17 2020 Mike FABIAN <mfabian@redhat.com> - 2.10.2-1
- Update to 2.10.2
- Add vi-telex to the default input methods for vi_VN locale
- Enable Unicode 13.1 Emoji in emoji-picker by default
- Update emoji data to Unicode 13.1
- Translation update from Weblate for zh_CN
* Tue Nov 10 2020 Mike FABIAN <mfabian@redhat.com> - 2.10.1-1
- Update to 2.10.1
- Use IBus.InputHints.{UPPERCASE_CHARS,UPPERCASE_WORDS,LOWERCASE}
- Add utility to manually test input purpose and input
- Improve handling of input purpose and input hints
- Add compatibility enum classes InputPurpose and InputHints
- Add type hints
- Change default for emoji_unicode_min to 0.0
(fixes emoji omitted from browsing in emoji-picker)
* Mon Oct 19 2020 Mike FABIAN <mfabian@redhat.com> - 2.10.0-1
- Update to 2.10.0
- Add option to automatically capitalize after punctuation
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/96)
- Don't record in user database when stripped_input_phrase or
stripped_commit_phrase are emty
- When interactively deleting a candidate from the user database,
remove all case modes
- Add 4 more characters ÞĦŊŦ to get special treatment in remove_accents()
- Translation updates from Weblate for ca, es, fr, it, ja, nl, sv
* Thu Oct 08 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.9-1
- Update to 2.9.9
- Fix typo in variable name in do_reset()
- KP_Delete should be handled the same way as Delete
- Translation update form Weblate for de, he, pl, tr, uk
* Tue Oct 06 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.8-1
- Update to 2.9.8
- Prevent also Delete from reopening a preedit when the option
“Arrow keys can reopen a preedit” is off
- When the input is empty, Escape should be passed through,
not inserted into the preedit
- Fix itb_util.tokenize(): if the input is only whitespace,
the return should be an empty list
- Dont clear context after typing Return, KP_Enter, ISO_Enter
- Improve behaviour of case modes
- Update emoji annotations from CLDR
* Mon Sep 07 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.7-1
- Update to 2.9.7
- Add commands “next_case_mode” and “previous_case_mode”
with configurable key bindings
- Better hot key handling for modifier keys like Shift_L,
- Use labels 1, 2, 3, for the lookup table instead of 1., 2., 3.,
- Update emoji annotations from CLDR
* Thu Aug 27 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.6-1
- Update to 2.9.6
- Make translations of 'Edit key bindings for command “%s”' work
- Don't hide emoji-picker.desktop from AppStream (by Gunnar Hjalmarsson)
- Translation update from Weblate for pt_BR, sv (100%)
* Wed Aug 05 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.5-1
- Update to 2.9.5
- Treat characters 'ÅåÄäÖö' as special when matching in the Swedish dictionary
(Resolves: http ://github.com/mike-fabian/ibus-typing-booster/issues/126)
- Update emoji annotations from CLDR
- AppStream tweaks by Gunnar Hjalmarsson
- Translation update from Weblate for ca, de, es, sv
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 16 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.4-2
- Fix build on rawhide and f31
* Tue Jul 14 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.4-1
- Update to 2.9.4
- Add emoji-picker.appdata.xml
- Fix warnings and errors in typing-booster.appdata.xml
- Update emoji annotations from CLDR
- Support %%S expansion in include statements in compose files
- Translation update from Weblate for fr, he, hu, zh_CN
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.9.3-2
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Mon Jun 22 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.3-1
- Update to 2.9.3
- Translation updates from Weblate for he
- Fix wrong indentation of push_context() in _commit_string()
* Mon Jun 08 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.2-1
- Update to 2.9.2
- Translation updates from Weblate for es
- Ignore invalid compose sequences when reading compose files
- Update emoji annotations from CLDR
* Thu Jun 04 2020 Miro Hrončok <mhroncok@redhat.com> - 2.9.1-2
- Don't explicitly require python(abi) >= 3.3
* Wed May 27 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.1-1
- Update to 2.9.1
- Translation updates form Weblate for fr, nl, zh_TW
- Make keyboard shortcuts like Control+a work on non-ASCII keyboard layouts
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/107)
- Fix broken adding of key bindings
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/109)
* Wed May 20 2020 Mike FABIAN <mfabian@redhat.com> - 2.9.0-1
- Translation updates from Weblate for de, ja, pl, tr, uk, zh_CN
- Update ibus-typing-booster.pot (Some new translatable strings, tooltips for 2 new buttons)
- Improve matching of keybindings, consider IBus.ModifierType.MODIFIER_MASK
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/94)
- Show the list of dictionaries in the setup tool only if it is more than just ['None']
- If a real dictionary is added in the setup tool, remove dummy dictionary 'None'.
- Add black flag for the special dummy dictionary 'None'
- Add doctests to check that the special dictionary 'None' is handled correctly
- When the list of imes or dictionaries is emptied by the user, set it to 'NoIME' or 'None'
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/98)
- Add "Set to default" buttons for the list of input methods and dictionaries
- Remove the special candidate which is shown when a dictionary is missing
* Fri May 15 2020 Mike FABIAN <mfabian@redhat.com> - 2.8.3-2
- Do not run the Gtk GUI test from the spec file.
* Sun May 03 2020 Mike FABIAN <mfabian@redhat.com> - 2.8.3-1
- Update to 2.8.3
- Save default dictionaries and input methods when making the lists
empty in the setup tool
- Fix reading “include” instructions in Compose files and observe XCOMPOSEFILE
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/93)
- Fix right-to-left detection for LC_MESSAGES=C
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/97)
- GUI tests added thanks to Takao Fujiwara
- Update UnicodeData.txt to Unicode 13.0.0
- Translation updates for it, hu, tr, pt_BR
* Tue Mar 31 2020 Mike FABIAN <mfabian@redhat.com> - 2.8.2-1
- Update to 2.8.2
- Translation updates from Weblate for ar, tr
- Update emoji annotations from CLDR
* Thu Feb 27 2020 Mike FABIAN <mfabian@redhat.com> - 2.8.1-1
- Update to 2.8.1
- Prevent also BackSpace from reopening a preedit when the option
“Arrow keys can reopen a preedit” is off
- Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/87
- Resolves: rhbz#1637647
- Translation updates from Weblate for es, tr, he
- Update emoji annotations from CLDR
* Tue Feb 04 2020 Mike FABIAN <mfabian@redhat.com> - 2.8.0-1
- Update to 2.8.0
- Translation updates from Weblate for ca, de, es, fr, nl, pl, uk
- Update emoji annotations from CLDR
- Update emoji data to Unicode 13.0 final
- New option to choose whether spellchecking is done on the preedit
and which colour to use
- Spellcheck typed string in preedit and colour it if it is likely to be misspelled
- More test cases for spellchecking and spellchecking suggestions
- Restructure code for spellchecking and spellchecking suggestions
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jan 24 2020 Mike FABIAN <mfabian@redhat.com> - 2.7.7-1
- Update to 2.7.7
- Translation updates from Weblate for es, de, pl, he, fr, uk, tr, nl
- Generate README.html and README from README.md
- A thorough upgrade to README.md
Resolves: https://github.com/mike-fabian/ibus-typing-booster/pull/74
- Set button label of google application credentials button correctly
Resolves: rhbz#1793460
- Make si-wijesekera the default input method for si_LK.UTF-8 locale
- Add another test case for libvoikko spellchecking together with
en_GB spellchecking
* Sun Jan 05 2020 Mike FABIAN <mfabian@redhat.com> - 2.7.6-1
- Update to 2.7.6
- Use included fi_FI.dic for Finnish word suggestions
- Add Finnish ispell dictionary fi_FI.dic
- Minor translation updates from Weblate for pl, tr, zh_CN
* Wed Dec 18 2019 Mike FABIAN <mfabian@redhat.com> - 2.7.5-1
- Update to 2.7.5
- Add libvoikko support for Finnish
- Add support for (almost) arbitrary dead key sequences
(suggested by Marko Myllynen)
* Sat Dec 14 2019 Mike FABIAN <mfabian@redhat.com> - 2.7.4-1
- Update to 2.7.4
- Updated Portuguese (Brazil) translations from Weblate (100.0% translated)
- Updated Turkish translations from Weblate (100.0% translated)
- Remove weird spelling “preëdit” from messageid
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/62)
- Update emoji annotations from CLDR
* Mon Nov 25 2019 Mike FABIAN <mfabian@redhat.com> - 2.7.3-1
- Update to 2.7.3
- Correct release dates of Unicode 12.0.0 and 12.1.0 in emoji_picker.py
- Add workaround if key codes cannot be found for key values
(workaround for big endian platforms)
- Fix race condition in itb_util.xdg_save_data_path()
Resolves: rhbz#1770072
Resolves: rhbz#1713963
Resolves: rhbz#1764520
Resolves: rhbz#1768016
- Another fix for right-to-left languages: fix wrong order of globe emoji
- Small fix in parsing emoji-test.txt which slightly changes the emoji sorting order
- Adapt parsing of the emoji data files to the changes in Unicode 13.0
- Fix emoji test cases for new emoji data files for Unicode 13.0
- Update emoji data to current Unicode 13.0 draft
- Add fa, it, tr to LINGUAS
- Updated Odia translations from Weblate (53.4% translated)
- Updated Czech translations from Weblate (100.0% translated)
- Updated Catalan translations from Weblate (17.1% translated)
- Added Turkish translations from Weblate (100.0% translated)
- Added Italian translations from Weblate (5.2% translated)
- Portuguese (Portugal) translations moved from pt_PT to pt (23.8% translated)
- Update French translations from Weblate (100.0% translated)
- Added Persian translations from Weblate (0% translated)
* Wed Nov 06 2019 Mike FABIAN <mfabian@redhat.com> - 2.7.2-1
- Update to 2.7.2
- Fix display for right-to-left languages in the dictionaries and
input methods tab in the setup tool
- Added Swahili translations from Weblate (30.1% translated)
- Added Traditional Chinese translations from Weblate (0.5% translated)
- Added Portuguese (Portugal) translations from Weblate (23.8% translated)
- Update Hebrew translations from Weblate (100% translated)
- Update Arabic translations from Weblate (100% translated)
- Update Odia translations from Weblate (44.0% translated)
- Update Spanisch translations from Weblate (93.3% translated)
* Thu Oct 31 2019 Mike FABIAN <mfabian@redhat.com> - 2.7.1-1
- Update to 2.7.1
- Update Chinese (Simplified) translations from Weblate (13.5% translated)
- Update Spanish translations from Weblate (92.2% translated)
- Update Catalan translations from Weblate (12.4% translated)
- Add Hebrew translation from Weblate (67.4% translated)
- Add Arabic translation from Weblate (28.0% translated)
- Update Ukrainian translations from Weblate (100.0% translated)
- Update German translations from Weblate (100.0% translated)
- Update Japanese translations from Weblate (35.2% translated)
- Update French translations from Weblate (93.8% translated)
- Add Hungarian translation from Weblate (58.0% translated)
- Add Odia translations from Weblate (2.6% translated)
- Improve compose file parsing to get results containing \" correct
- More test cases for compose sequences
- Change README.md to refer to Weblate for translations instead of Zanata
- Fix display of code points in emoji-picker when running in or_IN.UTF-8 locale
* Fri Oct 18 2019 Mike FABIAN <mfabian@redhat.com> - 2.7.0-1
- Update to 2.7.0
- Add support for compose sequences
Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/47
Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/36
- Test cases for compose support
- When using doctest: log to stderr and set logging level to DEBUG
- Properly close file handles when loading hunspell dictionaries
* Fri Oct 11 2019 Mike FABIAN <mfabian@redhat.com> - 2.6.8-1
- Update to 2.6.8
- Quote the tables for the key and mouse bindings in the README.md as code
- Do not hardcode the list of useful m17n input methods
- Use LOGGER.exeption() in exception handlers
- Use python logging module with log file rotation instead of writing to stdout/stderr
- Fix set_preedit_underline() with parameter update_gsettings=True
* Tue Oct 01 2019 Mike FABIAN <mfabian@redhat.com> - 2.6.7-1
- Update to 2.6.7
- If the first candidate is exactly the same as the typed string
prefer longer candidates (Extends inline completions automatically)
- Move README to README.md and use some markdown to make it look better on github
- When showing similar emoji in the lookup table, show the list of keywords
which matched only when debugging is on
- Update emoji annotations from CLDR
- More unittests, restructure test files, move some doctests to unittests
- Add a utility class KeyvalsToKeycodes to find ibus key codes
instead of hardcoding them
- Add ceb to CLDR_ANNOTATION_FILES
* Wed Sep 11 2019 Mike FABIAN <mfabian@redhat.com> - 2.6.6-1
- When checking whether to show inline completion, normalize the first candidate as well
- Two more test cases in hunspell_suggest.py
- Make it work correctly with newer French hunspell dictionaries
- Skip some unittests when dictionaries or python modules needed are not installed
- Update emoji annotations from CLDR
- Add more test cases to m17n_translit_test.py for si-sayura.mim
* Wed Aug 28 2019 Mike FABIAN <mfabian@redhat.com> - 2.6.5-1
- Added Dutch translation (Thanks to Heimen Stoffels)
- Add si-sayura to the list of M17N input methods
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Jul 17 2019 Mike FABIAN <mfabian@redhat.com> - 2.6.4-1
- Update to 2.6.4
- Update translations from zanata (cs updated, now 100% complete)
- Do not crash if initializing enchant or pyhunspell fails,
continue without spellchecking (Currently, on openSUSE Tumbleweed,
python3-pyenchant seems broken)
- Try to install myspell-xx_YY packages instead of hunspell-xx package on SUSE
- Fix loading of cldr annotations when the .xml files are zipped
- Add JoyPixels to good_emoji_fonts list
* Wed Jun 19 2019 Mike FABIAN <mfabian@redhat.com> - 2.6.3-1
- Update to 2.6.3
- Performance improvement of around 30% in EmojiMatcher._match()
- Tiny performance improvement in itb_emoji.py _set_seq1()
* Wed Jun 05 2019 Mike FABIAN <mfabian@redhat.com> - 2.6.2-1
- Update to 2.6.2
- Emoji ZWJSequence “people holding hands” is 12.0, not 10.0
- Update emoji annotations from CLDR
- icons: Regenerate with proper transparency (Thanks to FeRD (Frank Dana))
- Remove enable-background from icon SVG (Thanks to FeRD (Frank Dana))
- Update UnicodeData.txt to current Unicode 12.1.0
* Mon Mar 04 2019 Mike FABIAN <mfabian@redhat.com> - 2.6.1-1
- Update to 2.6.1
- Support emoji presentation and text presentation in emoji-picker
- Improve itb_emoji.py to also support text presentation of emoji
- Update emoji annotations from CLDR
* Thu Feb 21 2019 Mike FABIAN <mfabian@redhat.com> - 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 <i@marguerite.su>)
* Mon Feb 11 2019 Mike FABIAN <mfabian@redhat.com> - 2.5.3-1
- Update to 2.5.3
- Update translations from zanata (ja, pl updated)
- Update emoji annotations from CLDR
- Use “NoIME” instead of “NoIme” as the internal name of the dummy input method
- Remove “Recommends: python3-pyaudio” (Resolves: rhbz#1672562)
- Add gcc to BuildRequires
* Wed Feb 06 2019 Mike FABIAN <mfabian@redhat.com> - 2.5.2-1
- Update to 2.5.2
- Fix test case for selecting non existing candidates for Fedora rawhide
- Update UnicodeData.txt to current Unicode 12.0 draft
- Update emoji data to Unicode 12.0 final for 2019
- Update emoji annotations from CLDR
- Initialize self.dictionary_sub_properties_prop_list = [] in self._init_properties()
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/46)
- Fix test case for case mode change
- Improve filter for dictionary selection if langtable available
- Add BuildRequires: gcc
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Jan 29 2019 Mike FABIAN <mfabian@redhat.com> - 2.5.1-1
- Update to 2.5.1
- Update translations from zanata (de, ja, fr, pl updated)
- Show also dictionary when “Show status in auxiliary text” is on
- Set notebook in setup tool to scrollable
- Make filter for dictionary selection work for language descriptions if langtable available
- Show names of languages and territories in setup tool if langtable is available
- Add missing flag for csb_PL
- Add option to automatically select the best candidate
- Pressing Shift should not immediately change the case mode of the candidates
* Wed Jan 16 2019 Mike FABIAN <mfabian@redhat.com> - 2.5.0-1
- Update to 2.5.0
- Update translations from zanata (de, ja, uk updated)
- Add a property menu for the highest priority dictonary
- Add a missing _update_preedit()
- When lookup is enabled by tab but the lookup table is empty,
the first cancel should clear the input
- Reset self.is_lookup_table_enabled_by_tab and
self.is_lookup_table_enabled_by_min_char_complete when input is cleared
- Get suggestions from hunspell dictionaries only for input
which does not contain spaces
- Dont reinitialize the dictionaries if only the order of the dictionaries has changed
- Add key bindings to change the priority of dictionaries
- Speech recognition input using Google speech-to-text
- Change the default input methods for as_IN, kn_IN, and ta_IN
- Make ur-phonetic the default input method for ur_IN and add en_GB dictionary to default
- Update emoji annotations from CLDR
- Add Recommends: python3-pyaudio (For voice recognition)
* Sun Dec 30 2018 Mike FABIAN <mfabian@redhat.com> - 2.4.1-1
- Update to 2.4.1
- Update translations from zanata (pl updated)
- Add direct input mode
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/25)
- Fix start of setup tool when libexedir is not /usr/libexec/
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/42)
* Wed Dec 19 2018 Mike FABIAN <mfabian@redhat.com> - 2.4.0-1
- Update to 2.4.0
- Update translations from zanata (de, es, fr, ja, pl, uk updated)
- Add new command 'toggle_hide_input' to hide the preëdit, lookup table, and auxiliary text
- Add an option to use preedit style only if lookup is enabled
- Add an option to choose the style of underlining the preedit
- Dont try to record the first candidate when there is none
after an automatic commit on focus out or reset
(Resolves: rhbz#1659128)
- Add an option in the setup tool to set the debug level
- Move appearance related options to the new “Appearance” tab
- Add settings for colour and other appearance stuff
- Move “Dictionaries and input methods” Tab in the setup tool to the first position
- Update the shortcut hints in the tooltips when keybindings change
- Only show the label in the panel menus for emoji-mode and off-the-record-mode
- Dont show the shortcut hints in the menu labels, takes too much space there.
- Update README because of the recent change to make keybindings configurable.
* Thu Dec 13 2018 Mike FABIAN <mfabian@redhat.com> - 2.3.3-1
- Update to 2.3.3
- Toggle candidates between 'title', 'upper', and 'lower' case
when Shift is typed.
- Improve Spanish translation (Thanks to Ismael Venegas Castelló)
* Tue Dec 11 2018 Mike FABIAN <mfabian@redhat.com> - 2.3.2-1
- Update to 2.3.2
- Key bindings should match independent of whether
Num Lock or Caps Lock are on or off.
* Sat Dec 08 2018 Mike FABIAN <mfabian@redhat.com> - 2.3.1-1
- Update to 2.3.1
- Update translations from zanata (cs, de, es, fr, ja, pl, pt_BR, uk, zh_CN updated)
- Avoid some PyGTKDeprecationWarnings
- Dont show Unicode 12.0 draft emoji by default in emoji-picker
- Update emoji data to Unicode 12.0 draft
- Update emoji annotations from CLDR
* Wed Dec 05 2018 Mike FABIAN <mfabian@redhat.com> - 2.3.0-1
- Update to 2.3.0
- Update translations from zanata (de, ja, uk updated)
- Commit the current preëdit when the focus changes
- When preëdit empty or lookup table not enabled by key: clear the lookup table
- Make key bindings configurable
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/15)
- Correct tooltips for the “up” and “down” buttons for
input methods dictionaries
* Wed Nov 28 2018 Mike FABIAN <mfabian@redhat.com> - 2.2.1-1
- Update to 2.2.1
- Update translations from zanata (pl, uk updated)
* Wed Nov 21 2018 Mike FABIAN <mfabian@redhat.com> - 2.2.0-1
- Update translations from zanata (de updated)
- Save some screen space in the setup tool
- Add inline completion feature
- Tab should force a lookup when the minimum number of characters is not yet reached
* Wed Nov 07 2018 Mike FABIAN <mfabian@redhat.com> - 2.1.3-2
- Use C.UTF-8 instead of en_US.UTF-8 when running the test cases.
(Because of https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot)
- Add desktop-file-utils, python3-gobject, python3-gobject-base, gtk3,
dconf, dbus-x11, ibus to BuildRequires.
* Mon Sep 24 2018 Mike FABIAN <mfabian@redhat.com> - 2.1.3-1
- Require the Python interpreter directly instead of using the package name
- Related: rhbz#1619153
- Update translations from zanata (uk updated)
* Mon Sep 24 2018 Mike FABIAN <mfabian@redhat.com> - 2.1.2-1
- Update to 2.1.2
- Update translations from zanata (de, pl updated)
- Add typing-booster.its and typing-booster.loc to avoid making the
release descriptions and developer name in typing-booster.appdata.xml
translatable.
- Remove code to check whether another instance of the setup tool is running.
- Add new option to avoid adding a space when committing by label or mouse
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/39)
- Update emoji annotations from CLDR
- Do not try to commit if index is >= the current number of candidates
(Resolves: rhbz#1630349)
- Add test case for https://bugzilla.redhat.com/show_bug.cgi?id=1630349
* Tue Sep 04 2018 Mike FABIAN <mfabian@redhat.com> - 2.1.1-1
- Update translations from zanata (es updated, 100% complete now)
* Thu Aug 23 2018 Mike FABIAN <mfabian@redhat.com> - 2.1.0-2
- Make “make check“ test cases work again when building the rpm
* Tue Jul 24 2018 Mike FABIAN <mfabian@redhat.com> - 2.1.0-1
- Update to 2.1.0
@ -236,9 +805,17 @@ make check || cat ./tests/test-suite.log
and recreate ones favourite settings).
- Read emoji data files always in UTF-8
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.2-2
- Rebuilt for Python 3.7
* Wed Jun 27 2018 Mike FABIAN <mfabian@redhat.com> - 2.0.2-1
- Update to 2.0.2
- Better Tab handling, use Tab to switch to the next candidate, not to commit
* Thu Jun 21 2018 Mike FABIAN <mfabian@redhat.com> - 2.0.1-1
- Update to 2.0.1
- Update translations from zanata (ja updated)
- Update emoji annotations from CLDR
@ -250,6 +827,9 @@ make check || cat ./tests/test-suite.log
- Show in the setup tool in the input listbox whether minput_open_im() succeeded.
- Use the rocket icon emoji_u1f680.svg from the “Noto Color Emoji” font
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-2
- Rebuilt for Python 3.7
* Mon May 28 2018 Mike FABIAN <mfabian@redhat.com> - 2.0.0-1
- Update to 2.0.0
- Update translations because of the merge of the engines (de, pl, uk updated)