Compare commits

..

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

4 changed files with 28 additions and 272 deletions

View File

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

View File

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

View File

@ -1,267 +1,3 @@
-------------------------------------------------------------------
Thu Feb 06 19:38:09 UTC 2025 - maiku.fabian@gmail.com
- Update to 2.27.23
- Key combinations like A-C-l should also commit and pass the key to the
application (unless they have a transliteration)
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/622)
- Support m17n input methods which produce multiple candidates
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/523)
- Enable vi-tcvn, vi-telex, vi-viqr, vi-vni, zh-pinyin-vi, zh-pinyin
as restricted tb engines
-------------------------------------------------------------------
Mon Feb 03 14:51:51 UTC 2025 - maiku.fabian@gmail.com
- Update to 2.27.16
- Improve status info in auxiliary text for compose completions and related candidates:
When compose completions or related candidates are shown,
use different auxiliary text to make it more obvious
that a “special” lookup table is shown.
- Make compose completions work when the option
“☑️ Enable suggestions by key (Default is the Tab key)” is used
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/619)
- Speedup for itb_pango: Create a Gtk.label and Pango.Layout only once
and reuse it, Seems to make get_fonts_used_for_text() about 33% faster.
-------------------------------------------------------------------
Wed Jan 29 11:40:46 UTC 2025 - maiku.fabian@gmail.com
- Update to 2.27.15
- Workaround for reopening preedits in WhatsApp at the beginning of a line
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/617)
- Update UnicodeData.txt, Blocks.txt, DerivedAge.txt to the Unicode 17.0.0 draft as of 2025-01-28
-------------------------------------------------------------------
Fri Jan 24 14:25:47 UTC 2025 - maiku.fabian@gmail.com
- Update to 2.27.13
- If an early commit is possible in a restriced engine,
use `return False` if self._prefer_commit is False,
only a single key is in the input and that key was not transliterated
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/616)
- Improve committing strings with multiple lines
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/615)
-------------------------------------------------------------------
Mon Jan 20 16:48:14 UTC 2025 - maiku.fabian@gmail.com
- Update to 2.27.10
- Generate translations into metainfo.xml files with autotools
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/597)
- Generate translations into desktop files
(Related: https://github.com/mike-fabian/ibus-typing-booster/pull/604)
- Make desktop files translatable
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/pull/604)
- Translation update from Weblate
(cz 100%, ja 99.6%, ka 100%, pl 100%, sv 100%, tr 100%, uk 100%)
-------------------------------------------------------------------
Sat Jan 18 18:21:56 UTC 2025 - maiku.fabian@gmail.com
- Update to 2.27.9
- Avoid producing duplicates in itb_util.expand_languages()
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/600)
- Rename typing-booster.appdata.xml and emoji-picker.appdata.xml files
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/598)
- Make emoji picker appdata file translatable
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/pull/596)
- Translation update from Weblate (cz 100%)
-------------------------------------------------------------------
Tue Jan 14 20:32:40 UTC 2025 - maiku.fabian@gmail.com
- Update to 2.27.8
- Make code to support multiple m17n candidates better readable using a NamedTuple
(Related: https://github.com/mike-fabian/ibus-typing-booster/issues/523)
- Translation update from Weblate (it 100%, pt 94.4%)
-------------------------------------------------------------------
Wed Jan 08 19:29:14 UTC 2025 - maiku.fabian@gmail.com
- Update to 2.27.7
- Fix typo in setup tool in the function called when changing an existing autosetting
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/591
-------------------------------------------------------------------
Wed Jan 08 15:32:44 UTC 2025 - maiku.fabian@gmail.com
- Update to 2.27.6
- “return False” in “emoji_font_fallback_needed()” if “get_fonts_used_for_text()” returns and empty result
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/589)
- Add a gsettings option “prefercommit”
(Related: https://github.com/mike-fabian/ibus-typing-booster/issues/580)
- Some preparation for future support of m17n input methods offering multiple candidates
(Related: https://github.com/mike-fabian/ibus-typing-booster/issues/523)
- Use XML-tag “layout_option” for “lv3:ralt_switch”
- Use higher ranks for the “tb” engines than for the respective “m17n” engines
- Translation update from Weblate (sv 100%)
-------------------------------------------------------------------
Fri Jan 03 11:28:37 UTC 2025 - maiku.fabian@gmail.com
- Update to 2.27.4
- Use XML-tag “layout_option” for “lv3:ralt_switch”
- Use higher ranks for the “tb” engines than for the respective “m17n” engines
-------------------------------------------------------------------
Wed Jan 01 18:24:06 UTC 2025 - maiku.fabian@gmail.com
- Update to 2.27.3
- Shorten the longname of engines mimicking ibus-m17n by appending only “(tb)” instead of “(Typing Booster)”
- Add option to force the use of an IBus keymap
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/581)
- Use forward_key_event() in _return_false() only when fixing up wrong key codes
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/582)
- Prefer `return False` over `forward_key_event()` if the client is SDL2_Appliaction
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/580)
- Translation update from Weblate (de 100%, fr 100%, jp 99.6%, ka 100%, pl 100%, tr 100%, uk 100%)
-------------------------------------------------------------------
Wed Dec 25 11:36:59 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.27.2
- Translation update from Weblate (it 99.5%)
-------------------------------------------------------------------
Fri Dec 20 23:50:35 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.27.1
- Use (almost) the same symbols in the panel as ibus-m17n for the engines emulating ibus-m17n
- Set layout to “default[lv3:ralt_switch]” for the same m17n engines where ibus-m17n sets this
- Add rank to xml output: use the same values as ibus-m17n
-------------------------------------------------------------------
Thu Dec 19 12:23:17 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.27.0
- Commit early like ibus-m17n does if the engine is restricted to emulate ibus-m17n
- Hide “emoji prediction mode” and “off the record mode” property menus by default
for the restricted engines emulating ibus-m17n
- Offer additional engines which do simple ibus-m17n emulation by default
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/570)
- Fix crash when changing the sound file with the setup tool
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/569)
- Update emoji annotations from CLDR
- Translation update from Weblate (de 100%, es 83.9%, fr 100%, ja 99.5%, ka 100%, kab 75.9%, nl 95.1%, pt 89.1%, pt_BR 81.5%, sv 100%, tr 100%, uk 100%)
-------------------------------------------------------------------
Mon Dec 02 15:42:37 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.26.12
- Support autosettings for values of type uint32, int64, uint64, and double
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/566)
- Improve emoji_font_fallback_needed(): **always** ignore variation selectors
when checking whether fallback is needed
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/565)
- Translation update from Weblate (he 88.7%)
-------------------------------------------------------------------
Fri Nov 15 08:51:37 UTC 2024 - maiku.fabian@gmail.com
- Drop dbus-1-x11 BuildRequires: the test suite requires
/usr/bin/dbus-launch, which comes in as part of dbus-1-devel
already (via dbus-1, non-x11 flavor).
(By Dominique Leuenberger <dimstar@opensuse.org>)
- Setting XDG_DATA_DIRS in the test suite is apparently not needed
at all anymore
- Remove some old comments from the spec file.
-------------------------------------------------------------------
Sat Nov 09 10:58:48 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.26.11
- Improve detection of Wayland session
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/561)
- Support non-ASCII input for m17n-db input methods
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/537)
- Improve “class KeyEvent”: Prepend 'S-' to msymbol
when Shift is pressed and is is a space or not printable
- Show also the languages supported by a font in emoji-picker
(only when -d or --debug is used)
- Fix build on Tumbleweed, in the check section of the spec file
use `export XDG_DATA_DIRS=/tmp:%{_datadir}` instead of just
`export XDG_DATA_DIRS=/tmp`, otherwise enchant2 fails.
- Stop using xvfb-run for make check
-------------------------------------------------------------------
Mon Nov 04 08:52:14 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.26.8
- Get more information about the Pango rendering support for an emoji
and use fallback in emoji-picker only when necessary
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/508)
- Also make it possible to show font file names, font versions,
and emoji related OpenType tables of the fonts used
(shown only in debug mode, i.e. when "emoji-picker --debug" is used,
when not in debug mode show only the font family name)
- In do_reset() skip clearing input only when the surrounding
text **up to the cursor** ends with the current preedit
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/529)
- Translation update from Weblate (kab 75.9%)
-------------------------------------------------------------------
Mon Oct 28 20:40:39 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.26.6
- Simplify itb_pango.py: dont use ctypes, use `from gi.repository import Pango` instead
- Get more information about the Pango rendering support for an emoji and use fallback
in emoji-picker only when necessary
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/508)
- Also make it possible to show font file names, font versions,
and emoji related OpenType tables of the fonts used
(shown only in debug mode, i.e. when "emoji-picker --debug"
is used, when not in debug mode show only the font family name)
- In do_reset() skip clearing input only when the surrounding text
**up to the cursor** ends with the current preedit
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/529)
- Translation update from Weblate (kab 75.9%)
-------------------------------------------------------------------
Wed Oct 23 10:50:48 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.26.0
- Introduce a delay time before candidates are updated and displayed
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/530)
- emoji-picker: Show Emoji properties, Unicode category, and Unicode block always,
not only when --debug is used. As they are now shown always, make their labels translatable.
- Translation update from Weblate (de 100%, fr 100%, ja 99.5%, ka 100%, sv 100%, tr 100%, uk 100%)
-------------------------------------------------------------------
Sat Oct 19 16:35:26 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.25.19
- Translation update from Weblate (el 5.3%, kab 34.8%, sv 100%)
-------------------------------------------------------------------
Wed Oct 09 18:12:28 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.25.18
- Make sure all emoji, even those which are sequences,
get a Unicode version and not only an Emoji version
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/542)
- Translation update from Weblate (ka 100%, pl 99.5%, tr 100%)
-------------------------------------------------------------------
Tue Oct 08 15:46:43 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.25.17
- Get correct Unicode version from DerivedAge.txt and also
display both Unicode version and Emoji version in emoji-picker
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/538)
- Translation update from Weblate (de 100%, fr 100%, ja 100%)
-------------------------------------------------------------------
Wed Sep 11 23:55:35 UTC 2024 - maiku.fabian@gmail.com
- Update to 2.25.16
- When committing, normalize to NFC **and** recompose the composition exclusions
(Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/531)
- Update the emoji data files to the to version from the final Unicode 16.0.0 release 2024-09-10
- Update UnicodeData.txt to the Unicode 16.0.0 release 2024-09-10
- Update emoji annotations from CLDR
- Translation update from Weblate (New: el 4.9%)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 25 23:10:15 UTC 2024 - maiku.fabian@gmail.com Sun Aug 25 23:10:15 UTC 2024 - maiku.fabian@gmail.com

View File

@ -17,7 +17,7 @@
Name: ibus-typing-booster Name: ibus-typing-booster
Version: 2.27.23 Version: 2.25.15
Release: 0 Release: 0
Summary: An input completion utility Summary: An input completion utility
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -27,6 +27,7 @@ Source0: https://github.com/mike-fabian/ibus-typing-booster/releases/down
Source1: https://releases.pagure.org/inscript2/inscript2-20210820.tar.gz Source1: https://releases.pagure.org/inscript2/inscript2-20210820.tar.gz
BuildRequires: AppStream BuildRequires: AppStream
BuildRequires: appstream-glib BuildRequires: appstream-glib
BuildRequires: dbus-1-x11
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: glib2 BuildRequires: glib2
@ -46,6 +47,7 @@ BuildRequires: python3-pyenchant
# To avoid requiring Python >= 3.8 # To avoid requiring Python >= 3.8
BuildRequires: python3-typing_extensions BuildRequires: python3-typing_extensions
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: xvfb-run
Requires: dbus-1-python3 Requires: dbus-1-python3
# Workaround bug with python3-enchant: https://bugzilla.opensuse.org/show_bug.cgi?id=1141993 # Workaround bug with python3-enchant: https://bugzilla.opensuse.org/show_bug.cgi?id=1141993
Requires: enchant-1-backend Requires: enchant-1-backend
@ -128,7 +130,7 @@ cp -p inscript2/icons/* %{buildroot}%{_datadir}/m17n/icons
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8
export M17NDIR=%{buildroot}%{_datadir}/m17n/ export M17NDIR=%{buildroot}%{_datadir}/m17n/
%if 0%{?suse_version} > 1520 %if 0%{?suse_version} > 1520
#AS_VALIDATE_NONET=1 appstreamcli validate --pedantic --no-net %{buildroot}/%{_datadir}/metainfo/*.metainfo.xml #AS_VALIDATE_NONET=1 appstreamcli validate --pedantic --no-net %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
%endif %endif
desktop-file-validate \ desktop-file-validate \
%{buildroot}%{_datadir}/applications/ibus-setup-typing-booster.desktop %{buildroot}%{_datadir}/applications/ibus-setup-typing-booster.desktop
@ -151,7 +153,7 @@ mkdir -p /tmp/glib-2.0/schemas/
cp org.freedesktop.ibus.engine.typing-booster.gschema.xml \ cp org.freedesktop.ibus.engine.typing-booster.gschema.xml \
/tmp/glib-2.0/schemas/org.freedesktop.ibus.engine.typing-booster.gschema.xml /tmp/glib-2.0/schemas/org.freedesktop.ibus.engine.typing-booster.gschema.xml
glib-compile-schemas /tmp/glib-2.0/schemas #&>/dev/null || : glib-compile-schemas /tmp/glib-2.0/schemas #&>/dev/null || :
export XDG_DATA_DIRS=/tmp
eval $(dbus-launch --sh-syntax) eval $(dbus-launch --sh-syntax)
dconf dump / dconf dump /
dconf write /org/freedesktop/ibus/engine/typing-booster/offtherecord false dconf write /org/freedesktop/ibus/engine/typing-booster/offtherecord false
@ -170,8 +172,26 @@ 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/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 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 / dconf dump /
# 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
make check && rc=0 || rc=1 xvfb-run --server-args="-screen 0 1024x768x16" make check && rc=0 || rc=1
cat tests/*.log cat tests/*.log
if [ $rc != 0 ] ; then if [ $rc != 0 ] ; then
exit $rc exit $rc
@ -191,7 +211,7 @@ fi
%{_bindir}/emoji-picker %{_bindir}/emoji-picker
%{_datadir}/%{name} %{_datadir}/%{name}
%dir %{_datadir}/metainfo %dir %{_datadir}/metainfo
%{_datadir}/metainfo/*.metainfo.xml %{_datadir}/metainfo/*.appdata.xml
%{_datadir}/ibus/component/typing-booster.xml %{_datadir}/ibus/component/typing-booster.xml
%{_datadir}/icons/hicolor/16x16/apps/ibus-typing-booster.png %{_datadir}/icons/hicolor/16x16/apps/ibus-typing-booster.png
%{_datadir}/icons/hicolor/22x22/apps/ibus-typing-booster.png %{_datadir}/icons/hicolor/22x22/apps/ibus-typing-booster.png