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
This commit is contained in:
Mike FABIAN 2019-10-01 17:11:12 +02:00
parent af0c986cea
commit 4d19b59761
5 changed files with 31 additions and 7 deletions

1
.gitignore vendored
View File

@ -122,3 +122,4 @@
/ibus-typing-booster-2.6.4.tar.gz
/ibus-typing-booster-2.6.5.tar.gz
/ibus-typing-booster-2.6.6.tar.gz
/ibus-typing-booster-2.6.7.tar.gz

View File

@ -3,7 +3,7 @@
%global _python_bytecompile_extra 1
Name: ibus-typing-booster
Version: 2.6.6
Version: 2.6.7
Release: 1%{?dist}
Summary: A completion input method
License: GPLv3+, ASL 2.0
@ -63,6 +63,7 @@ BuildRequires: gtk3
BuildRequires: dconf
BuildRequires: dbus-x11
BuildRequires: ibus
BuildRequires: xorg-x11-server-Xvfb
BuildArch: noarch
%description
@ -160,8 +161,13 @@ 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 /
export DISPLAY=:1
Xvfb $DISPLAY -screen 0 1024x768x16 &
ibus-daemon -drx
make check || cat ./tests/test-suite.log
make -C tests run_tests
pushd tests
./run_tests
popd
%post
[ -x %{_bindir}/ibus ] && \
@ -195,6 +201,19 @@ make check || cat ./tests/test-suite.log
%changelog
* 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

View File

@ -1 +1 @@
SHA512 (ibus-typing-booster-2.6.6.tar.gz) = 0575edc8855a02936bbca9f7f0aef757d6aa77a4a36377f404f6f0ff4136295adc97234fc2c5721d39f85bc80abc71897f63bf4e0795b078f477d28cf99df21f
SHA512 (ibus-typing-booster-2.6.7.tar.gz) = 680e44f50dabf90f5511b899ba39cb3d5609bd280e6d653736a1833e244f76a6d3de4bcc604051cc7024f2a48b239a71f79ea3db4ec77e991c6b1bd8e77bac25

View File

@ -9,7 +9,11 @@ check_return_value () {
}
cd $1
export DISPLAY=:1
Xvfb $DISPLAY -screen 0 1024x768x16 &
./configure --prefix=/usr
check_return_value $?
make check && rc=0 || rc=1; cat tests/test-suite.log
make check && rc=0 || rc=1; cat tests/run_tests.log; cat tests/test-suite.log
exit $rc

View File

@ -46,9 +46,9 @@
- doctests-itb_util.py:
dir: ./
run: bash ./run_python_doctests.sh itb_util.py
# - doctests-itb_emoji.py:
# dir: ./
# run: bash ./run_python_doctests.sh itb_emoji.py
- doctests-itb_emoji.py:
dir: ./
run: bash ./run_python_doctests.sh itb_emoji.py
- emoji-picker:
dir: ./
run: bash ./emoji_picker_tests.sh