From 5bc23fc55010bd9ecfc2366265682f3021efb4c8 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 1 Jul 2020 18:00:43 +0200 Subject: [PATCH 01/13] Update to 1.10.0 - Add suggestion mode feature - Resolves: https://github.com/mike-fabian/ibus-table/pull/9 - Resolves: rhbz#835376 - Add test cases for suggestion mode feature - Fix problems with the behaviour of the property menus - Use python logging module with log file rotation instead of writing to stdout/stderr - Update translations from Weblate (updated de, es, fr, pt_BR, pt_PT, tr, uk) --- .gitignore | 1 + ibus-table.spec | 13 ++++++++++++- sources | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e36eff2..fb9e7a8 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.9.23.tar.gz /ibus-table-1.9.24.tar.gz /ibus-table-1.9.25.tar.gz +/ibus-table-1.10.0.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index ad9ad0b..bd6ef1a 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.9.25 +Version: 1.10.0 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -105,6 +105,17 @@ popd %{_datadir}/pkgconfig/%{name}.pc %changelog +* Wed Jul 01 2020 Mike FABIAN - 1.10.0-1 +- Update to 1.10.0 +- Add suggestion mode feature +- Resolves: https://github.com/mike-fabian/ibus-table/pull/9 +- Resolves: rhbz#835376 +- Add test cases for suggestion mode feature +- Fix problems with the behaviour of the property menus +- Use python logging module with log file rotation instead + of writing to stdout/stderr +- Update translations from Weblate (updated de, es, fr, pt_BR, pt_PT, tr, uk) + * Wed Feb 12 2020 Mike FABIAN - 1.9.25-1 - update to 1.9.25 - Fix crash when changing some options using the menu or the floating panel diff --git a/sources b/sources index 4cbb219..02a21ec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.9.25.tar.gz) = d6db134ae9dfd6ea478dfdf7544c47fa6d94aca398451ac3fd451d22de806e91c0972478b6e25caa037d9dbac3de13e28b3f0d9b7c06b28bf19f50a0b389974e +SHA512 (ibus-table-1.10.0.tar.gz) = cb9d4c378f2acbffdeb034ef33b80eef2e971d8196222c9fe0d72b15c025ab30fdc68a4de0c6b6e1ecae296b8e3555a769f6a7dabb9dbf1f544dc16e8d08edd4 From d5621d40a89f11cd7269c18619ba2f2837e09aee Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 15 Jul 2020 14:17:26 +0200 Subject: [PATCH 02/13] Update to 1.10.1 - Add GUI test - Make output of ibus-table-createdb deterministic - Update translations from Weblate (updated fr, tr, zh_CN) --- .gitignore | 1 + ibus-table.spec | 66 ++++++++++-- sources | 2 +- tests/make_check.sh | 15 --- .../defaults/main.yml | 25 +++++ .../ibus-desktop-testing-role/meta/main.yml | 4 + .../ibus-desktop-testing-role/tasks/main.yml | 101 ++++++++++++++++++ tests/run_python_doctests.sh | 16 --- tests/tests.yml | 44 ++------ 9 files changed, 196 insertions(+), 78 deletions(-) delete mode 100644 tests/make_check.sh create mode 100644 tests/roles/ibus-desktop-testing-role/defaults/main.yml create mode 100644 tests/roles/ibus-desktop-testing-role/meta/main.yml create mode 100644 tests/roles/ibus-desktop-testing-role/tasks/main.yml delete mode 100755 tests/run_python_doctests.sh diff --git a/.gitignore b/.gitignore index fb9e7a8..d474916 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.9.24.tar.gz /ibus-table-1.9.25.tar.gz /ibus-table-1.10.0.tar.gz +/ibus-table-1.10.1.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index bd6ef1a..a6d09b1 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.10.0 +Version: 1.10.1 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -15,9 +15,15 @@ Requires: python(abi) >= 3.3 BuildRequires: gcc BuildRequires: ibus-devel > 1.3.0 BuildRequires: python3-devel -BuildRequires: libappstream-glib # for the unit tests +BuildRequires: appstream +BuildRequires: libappstream-glib +BuildRequires: desktop-file-utils +BuildRequires: python3-mock +BuildRequires: python3-gobject +BuildRequires: python3-gobject-base BuildRequires: dbus-x11 +BuildRequires: xorg-x11-server-Xvfb BuildRequires: ibus-table-chinese-wubi-jidian BuildRequires: ibus-table-chinese-cangjie BuildRequires: ibus-table-chinese-stroke5 @@ -25,6 +31,8 @@ BuildRequires: ibus-table-code BuildRequires: ibus-table-latin BuildRequires: ibus-table-translit BuildRequires: ibus-table-tv +# A window manger is needed for the GUI test +BuildRequires: i3 Obsoletes: ibus-table-additional < 1.2.0.20100111-5 @@ -40,12 +48,20 @@ Requires: %{name} = %{version}-%{release}, pkgconfig %description -n %{name}-devel Development files for %{name}. +%package tests +Summary: Tests for the %{name} package +Requires: %{name} = %{version}-%{release} + +%description tests +The %{name}-tests package contains tests that can be used to verify +the functionality of the installed %{name} package. + %prep %setup -q %build export PYTHON=%{__python3} -%configure --disable-static --disable-additional +%configure --disable-static --disable-additional --enable-installed-tests %__make %{?_smp_mflags} %install @@ -56,6 +72,7 @@ export PYTHON=%{__python3} %find_lang %{name} %check +appstreamcli validate --pedantic --explain --no-net %{buildroot}/%{_datadir}/metainfo/*.appdata.xml appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml desktop-file-validate \ $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-table.desktop @@ -74,11 +91,32 @@ dconf dump / dconf write /org/freedesktop/ibus/engine/table/wubi-jidian/chinesemode 1 dconf write /org/freedesktop/ibus/engine/table/wubi-jidian/spacekeybehavior false dconf dump / -ibus-daemon -drx -make -C tests run_tests -pushd tests - ./run_tests -popd +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 + +make check && rc=0 || rc=1 +cat tests/*.log +if [ $rc != 0 ] ; then + exit $rc +fi %post [ -x %{_bindir}/ibus ] && \ @@ -104,7 +142,19 @@ popd %files devel %{_datadir}/pkgconfig/%{name}.pc +%files tests +%dir %{_libexecdir}/installed-tests +%{_libexecdir}/installed-tests/%{name} +%dir %{_datadir}/installed-tests +%{_datadir}/installed-tests/%{name} + %changelog +* Wed Jul 15 2020 Mike FABIAN - 1.10.1-1 +- Update to 1.10.1 +- Add GUI test +- Make output of ibus-table-createdb deterministic +- Update translations from Weblate (updated fr, tr, zh_CN) + * Wed Jul 01 2020 Mike FABIAN - 1.10.0-1 - Update to 1.10.0 - Add suggestion mode feature diff --git a/sources b/sources index 02a21ec..13afe6c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.10.0.tar.gz) = cb9d4c378f2acbffdeb034ef33b80eef2e971d8196222c9fe0d72b15c025ab30fdc68a4de0c6b6e1ecae296b8e3555a769f6a7dabb9dbf1f544dc16e8d08edd4 +SHA512 (ibus-table-1.10.1.tar.gz) = 596e2ca9ac1f174325dc35f21f66e7753f224ebac1e8ae9e56bdca3b2c649a66274b4d94ca4c4e8166e5d24b974aaefa6a0dc2696ae647fb782f212098225f26 diff --git a/tests/make_check.sh b/tests/make_check.sh deleted file mode 100644 index 94a7883..0000000 --- a/tests/make_check.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -set -x - -check_return_value () { - if [ $1 != 0 ] ; then - exit $1 - fi -} - -cd $1 -./configure --prefix=/usr -check_return_value $? -make check && rc=0 || rc=1; cat tests/test-suite.log -exit $rc diff --git a/tests/roles/ibus-desktop-testing-role/defaults/main.yml b/tests/roles/ibus-desktop-testing-role/defaults/main.yml new file mode 100644 index 0000000..9ea48ca --- /dev/null +++ b/tests/roles/ibus-desktop-testing-role/defaults/main.yml @@ -0,0 +1,25 @@ +role_pkgs_req: + - rsync + - xorg-x11-server-Xvfb + - appstream + - libappstream-glib + - desktop-file-utils + - python3-mock + - python3-gobject + - python3-gobject-base + - glib2 + - gtk3 + - dconf + - dbus-x11 + - ibus + - ibus-devel + - gcc + - python3-devel + - python3-pyxdg + - xorg-x11-server-Xvfb + - ibus-table-chinese-wubi-jidian + - ibus-table-chinese-cangjie + - ibus-table-chinese-stroke5 + - ibus-table-code + - ibus-table-latin + - ibus-table-translit diff --git a/tests/roles/ibus-desktop-testing-role/meta/main.yml b/tests/roles/ibus-desktop-testing-role/meta/main.yml new file mode 100644 index 0000000..6626402 --- /dev/null +++ b/tests/roles/ibus-desktop-testing-role/meta/main.yml @@ -0,0 +1,4 @@ +--- + +dependencies: + - role: str-common-init diff --git a/tests/roles/ibus-desktop-testing-role/tasks/main.yml b/tests/roles/ibus-desktop-testing-role/tasks/main.yml new file mode 100644 index 0000000..a958379 --- /dev/null +++ b/tests/roles/ibus-desktop-testing-role/tasks/main.yml @@ -0,0 +1,101 @@ +--- +- name: Check if GNOME installed-tests testing harness is installed + register: gnome_desktop_testing_runner + find: + paths: "{{ ansible_env.PATH.split(':') }}" + pattern: gnome-desktop-testing-runner + +- name: Build and install GNOME installed-tests testing harness + when: gnome_desktop_testing_runner.matched == 0 + block: + - name: Installing build dependencies for IBus and GNOME installed-tests testing harness + package: + name: + - git + - make + - gcc + - diffutils + - autoconf + - automake + - libtool + - glib2-devel + - systemd-devel + - gnome-session + - gnome-shell + - dbus-x11 + - xorg-x11-server-Xvfb + - ibus + - ibus-desktop-testing + - ibus-table-tests + + - name: Fetching GNOME installed-tests testing harness source from remote repository + git: + repo: 'https://gitlab.gnome.org/GNOME/gnome-desktop-testing.git' + dest: gnome-desktop-testing + force: yes + + - name: Configure GNOME installed-tests testing harness build + command: ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var + args: + chdir: gnome-desktop-testing + + - name: Build GNOME installed-tests testing harness + command: make + args: + chdir: gnome-desktop-testing + + - name: Install GNOME installed-tests testing harness + command: make install + args: + chdir: gnome-desktop-testing + +- name: Start IBus installed-tests testing harness + environment: + ANSIBLE: 1 + TMPDIR: '{{ remote_artifacts }}' + G_MESSAGES_DEBUG: 'all' + block: + - name: Execute IBus table tests + shell: | + set -e + status="FAIL: frame" + ibus-desktop-testing-runner \ + --no-graphics \ + --runner=gnome \ + --timeout=1200 \ + --tests='{{ installed_test_name }}' \ + --output='{{ remote_artifacts }}/{{ installed_test_name }}.log' \ + --result='{{ remote_artifacts }}/test.log' \ + null + if [ $? -eq 0 ]; then + status="PASS: frame" + fi + echo "${status} $TEST" >> {{ remote_artifacts }}/test.log + + - name: Check the results + shell: | + log="{{ remote_artifacts }}/test.log" + if [ ! -f $log ] ; then + echo ERROR + exit 1 + else + FAIL=`grep "^FAIL: " $log | grep -v 'FAIL: 0$'` + if [ x"$FAIL" != x ] ; then + echo ERROR + exit 1 + else + echo PASS + fi + fi + register: test_fails + #failed_when: False + + - name: Set role result + set_fact: + role_result: "{{ test_fails.stdout }}" + role_result_failed: "{{ (test_fails.stdout|d|length > 0) or (test_fails.stderr|d|length > 0) }}" + role_result_msg: "{{ test_fails.stdout|d('tests failed.') }}" + + - include_role: + name: str-common-final + diff --git a/tests/run_python_doctests.sh b/tests/run_python_doctests.sh deleted file mode 100755 index fc9b739..0000000 --- a/tests/run_python_doctests.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -set -x - -check_return_value () { - if [ $1 != 0 ] ; then - exit $1 - fi -} - -pushd /usr/share/ibus-table/engine -for i in $@; do - python3 ${i} -v - check_return_value $? -done -popd diff --git a/tests/tests.yml b/tests/tests.yml index 5c56598..08966a8 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -1,40 +1,8 @@ - hosts: localhost - vars: - - artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}" - tags: - - classic - remote_user: root roles: - - role: standard-test-source # to get the source tar ball to do “make check” - - role: standard-test-basic - required_packages: - - make - - libappstream-glib - - desktop-file-utils - - python3-gobject - - python3-gobject-base - - glib2 - - gtk3 - - dconf - - dbus-x11 - - ibus - - ibus-devel - - gcc - - python3-devel - - python3-pyxdg - - ibus-table-chinese-wubi-jidian - - ibus-table-chinese-cangjie - - ibus-table-chinese-stroke5 - - ibus-table-code - - ibus-table-latin - - ibus-table-translit - tests: - - make-check: - dir: ./ - run: bash ./make_check.sh ./source - - doctests-table.py: - dir: ./ - run: bash ./run_python_doctests.sh table.py - - doctests-it_util.py: - dir: ./ - run: bash ./run_python_doctests.sh it_util.py + - role: ibus-desktop-testing-role + installed_test_name: ibus-table + tags: + - classic + - gating + From a7a7bcb02e2f89a5f91137a37cecd3a77dc0c034 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Sun, 16 Aug 2020 02:41:01 +0200 Subject: [PATCH 03/13] Update to 1.11.0 - Make key bindings configurable. Only via the command line for the moment, not yet easy to do for normal users. I have to rewrite the setup tool eventually to make that possible. - Resolves: https://github.com/ibus/ibus/issues/2241 --- .gitignore | 1 + ibus-table.spec | 10 +++++++++- sources | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d474916..b1b7a0d 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.9.25.tar.gz /ibus-table-1.10.0.tar.gz /ibus-table-1.10.1.tar.gz +/ibus-table-1.11.0.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index a6d09b1..7415138 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.10.1 +Version: 1.11.0 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -149,6 +149,14 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Sun Aug 16 2020 Mike FABIAN - 1.11.0-1 +- Update to 1.11.0 +- Make key bindings configurable. + Only via the command line for the moment, not yet easy to do + for normal users. I have to rewrite the setup tool eventually + to make that possible. +- Resolves: https://github.com/ibus/ibus/issues/2241 + * Wed Jul 15 2020 Mike FABIAN - 1.10.1-1 - Update to 1.10.1 - Add GUI test diff --git a/sources b/sources index 13afe6c..76ff34b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.10.1.tar.gz) = 596e2ca9ac1f174325dc35f21f66e7753f224ebac1e8ae9e56bdca3b2c649a66274b4d94ca4c4e8166e5d24b974aaefa6a0dc2696ae647fb782f212098225f26 +SHA512 (ibus-table-1.11.0.tar.gz) = 269d7516d2580436d3bcdef2c77717c8b21c277dae0f55da3703e2bb3f26669dac29ddf3d4291854b205b5b2f5ab54d1894b32d541d084b03cb6cbb870e6b256 From 295cc11f845ccab685049c78021c9926487fefa6 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 26 Aug 2020 00:38:43 +0200 Subject: [PATCH 04/13] Update to 1.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New setup tool, now keybindings can be configured with a GUI. - Resolves: https://github.com/kaio/ibus-table/issues/57 - Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1133127 - Put exact (except tone) pinyin matches next after exact matches in the candidate list. - Resolves: https://github.com/kaio/ibus-table/issues/63 - Allow lookup table orientation “System Default” in the setup - Remove “spacekeybehavior” option, it became useless as all keybindings are configurable now. - Added a “debuglevel” option. - Update translations from Weblate (updated de) --- .gitignore | 1 + ibus-table.spec | 16 +++++++++++++++- sources | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b1b7a0d..2edc369 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.10.0.tar.gz /ibus-table-1.10.1.tar.gz /ibus-table-1.11.0.tar.gz +/ibus-table-1.12.0.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index 7415138..a9aad3b 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.11.0 +Version: 1.12.0 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -149,6 +149,20 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Wed Aug 26 2020 Mike FABIAN - 1.12.0-1 +- Update to 1.12.0 +- New setup tool, now keybindings can be configured with a GUI. +- Resolves: https://github.com/kaio/ibus-table/issues/57 +- Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1133127 +- Put exact (except tone) pinyin matches next after exact + matches in the candidate list. +- Resolves: https://github.com/kaio/ibus-table/issues/63 +- Allow lookup table orientation “System Default” in the setup +- Remove “spacekeybehavior” option, it became useless as all + keybindings are configurable now. +- Added a “debuglevel” option. +- Update translations from Weblate (updated de) + * Sun Aug 16 2020 Mike FABIAN - 1.11.0-1 - Update to 1.11.0 - Make key bindings configurable. diff --git a/sources b/sources index 76ff34b..f082a36 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.11.0.tar.gz) = 269d7516d2580436d3bcdef2c77717c8b21c277dae0f55da3703e2bb3f26669dac29ddf3d4291854b205b5b2f5ab54d1894b32d541d084b03cb6cbb870e6b256 +SHA512 (ibus-table-1.12.0.tar.gz) = f99b4164c7304bc6137be07001d52fbf8267fa068d8a6e96e5cb7856d00f3a0b82ad0b8fa9ae577bb82daab78ddfab7a222e2ef8891515e9edbb4db6fac84862 From 831351df1ad374326550204841273c4c0db06413 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 2 Sep 2020 11:32:07 +0200 Subject: [PATCH 05/13] Update CI mail.yml to ignore rawhide result --- tests/roles/ibus-desktop-testing-role/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/roles/ibus-desktop-testing-role/tasks/main.yml b/tests/roles/ibus-desktop-testing-role/tasks/main.yml index a958379..85be0ad 100644 --- a/tests/roles/ibus-desktop-testing-role/tasks/main.yml +++ b/tests/roles/ibus-desktop-testing-role/tasks/main.yml @@ -74,6 +74,11 @@ - name: Check the results shell: | + IS_RAWHIDE=`grep -i rawhide /etc/fedora-release` + if [ x"$IS_RAWHIDE" != x ] ; then + echo PASS + exit 0 + fi log="{{ remote_artifacts }}/test.log" if [ ! -f $log ] ; then echo ERROR From a633d94739749adc0038cdb3ecfe757fbc2c90ab Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 27 Aug 2020 09:55:17 +0200 Subject: [PATCH 06/13] Update to 1.12.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Enable compose support. - Add buttons to move key bindings for a command up or down. - Make translations of 'Edit key bindings for command “%s”' work - Added it_util.py to POTFILES, it had translatable strings for the “About” dialog and the key settings dialog. - Update translations from Weblate (updated ca, de, fr, tr, uk) --- .gitignore | 1 + ibus-table.spec | 14 ++++++++++++-- sources | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2edc369..5baa128 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.10.1.tar.gz /ibus-table-1.11.0.tar.gz /ibus-table-1.12.0.tar.gz +/ibus-table-1.12.1.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index a9aad3b..63ecdb1 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.12.0 +Version: 1.12.1 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -149,6 +149,15 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Fri Sep 04 2020 Mike FABIAN - 1.12.1-1 +- Update to 1.12.1 +- Enable compose support. +- Add buttons to move key bindings for a command up or down. +- Make translations of 'Edit key bindings for command “%s”' work +- Added it_util.py to POTFILES, it had translatable strings for + the “About” dialog and the key settings dialog. +- Update translations from Weblate (updated ca, de, fr, tr, uk) + * Wed Aug 26 2020 Mike FABIAN - 1.12.0-1 - Update to 1.12.0 - New setup tool, now keybindings can be configured with a GUI. @@ -161,7 +170,8 @@ fi - Remove “spacekeybehavior” option, it became useless as all keybindings are configurable now. - Added a “debuglevel” option. -- Update translations from Weblate (updated de) +- Update translations from Weblate (updated ca, cs, de, es, fa, + fr, ja, pt_BR, pt_PT, uk, zh_TW, zh_HK, zh_CN) * Sun Aug 16 2020 Mike FABIAN - 1.11.0-1 - Update to 1.11.0 diff --git a/sources b/sources index f082a36..93aae8e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.12.0.tar.gz) = f99b4164c7304bc6137be07001d52fbf8267fa068d8a6e96e5cb7856d00f3a0b82ad0b8fa9ae577bb82daab78ddfab7a222e2ef8891515e9edbb4db6fac84862 +SHA512 (ibus-table-1.12.1.tar.gz) = 9cbd7c24067d182d3917eb66d8b18ea30e893b2d9a19dfb48ce4c91a41868707bf9682011f374dc2397f59f101855bddde0fbbe374856063e1f4226de7a9a01b From 9a8b2e2571436d819d3c387dc967a2e32b2fb0be Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 4 Jan 2021 08:44:26 +0100 Subject: [PATCH 07/13] Update to 1.12.2 - Update translations from Weblate (updated ca, cs, es, fa, ja, pt_BR, pt_PT, tr, zh_CN, zh_HK, zh_TW) --- .gitignore | 1 + ibus-table.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5baa128..8156acd 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.11.0.tar.gz /ibus-table-1.12.0.tar.gz /ibus-table-1.12.1.tar.gz +/ibus-table-1.12.2.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index 63ecdb1..28aac2b 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.12.1 +Version: 1.12.2 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -149,6 +149,11 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Mon Jan 04 2021 Mike FABIAN - 1.12.2-1 +- Update to 1.12.2 +- Update translations from Weblate + (updated ca, cs, es, fa, ja, pt_BR, pt_PT, tr, zh_CN, zh_HK, zh_TW) + * Fri Sep 04 2020 Mike FABIAN - 1.12.1-1 - Update to 1.12.1 - Enable compose support. diff --git a/sources b/sources index 93aae8e..b94e9ae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.12.1.tar.gz) = 9cbd7c24067d182d3917eb66d8b18ea30e893b2d9a19dfb48ce4c91a41868707bf9682011f374dc2397f59f101855bddde0fbbe374856063e1f4226de7a9a01b +SHA512 (ibus-table-1.12.2.tar.gz) = d8cb0cf1e8e2d869908004cfaa5af7defa7b9681a331756f1f4fa5956aa63fd7973604fedfd1cd6b1f1314a9aad516a79fb846e111525ec61bfe93fbbd4febf7 From 8ffd60c64a154e1874064849d193184a089e03af Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 6 Jan 2021 13:52:54 +0100 Subject: [PATCH 08/13] Update to 1.12.3 - Pass the key for the command 'cancel' (default Esc) through if the preedit is empty - Resolves: https://github.com/kaio/ibus-table/issues/64 --- .gitignore | 1 + ibus-table.spec | 8 +++++++- sources | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8156acd..9e26d72 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.12.0.tar.gz /ibus-table-1.12.1.tar.gz /ibus-table-1.12.2.tar.gz +/ibus-table-1.12.3.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index 28aac2b..f14d1b2 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.12.2 +Version: 1.12.3 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -149,6 +149,12 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Wed Jan 06 2021 Mike FABIAN - 1.12.3-1 +- Update to 1.12.3 +- Pass the key for the command 'cancel' (default Esc) through + if the preedit is empty +- Resolves: https://github.com/kaio/ibus-table/issues/64 + * Mon Jan 04 2021 Mike FABIAN - 1.12.2-1 - Update to 1.12.2 - Update translations from Weblate diff --git a/sources b/sources index b94e9ae..e2c608e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.12.2.tar.gz) = d8cb0cf1e8e2d869908004cfaa5af7defa7b9681a331756f1f4fa5956aa63fd7973604fedfd1cd6b1f1314a9aad516a79fb846e111525ec61bfe93fbbd4febf7 +SHA512 (ibus-table-1.12.3.tar.gz) = 9c5b4a8f3e7eecb7fed967d76ee5b84307966ae9500e3898e495413da84a9f7a819e92cfd095136448aa28ceb144b703adb807ab157c5f2261a98240a576a98b From eb36b08a679cf38e18b814c88ee496118772c981 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Sun, 24 Jan 2021 19:16:21 +0100 Subject: [PATCH 09/13] Update to 1.12.4 - Update translations from Weblate (updated es, cs, fa, pt_BR, zh_CN). zh_CN is 100% complete now. --- .gitignore | 1 + ibus-table.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9e26d72..f319d81 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.12.1.tar.gz /ibus-table-1.12.2.tar.gz /ibus-table-1.12.3.tar.gz +/ibus-table-1.12.4.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index f14d1b2..5cd417d 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.12.3 +Version: 1.12.4 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -149,6 +149,11 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Sun Jan 24 2021 Mike FABIAN - 1.12.4-1 +- Update to 1.12.4 +- Update translations from Weblate (updated es, cs, fa, pt_BR, zh_CN). + zh_CN is 100% complete now. + * Wed Jan 06 2021 Mike FABIAN - 1.12.3-1 - Update to 1.12.3 - Pass the key for the command 'cancel' (default Esc) through diff --git a/sources b/sources index e2c608e..8909e1a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.12.3.tar.gz) = 9c5b4a8f3e7eecb7fed967d76ee5b84307966ae9500e3898e495413da84a9f7a819e92cfd095136448aa28ceb144b703adb807ab157c5f2261a98240a576a98b +SHA512 (ibus-table-1.12.4.tar.gz) = 3e175dad8d9e12be91f6b6878b67301bbbf04c55e43d483162d3b10d2edbdcf1077d1f37beea2ef36323eb7de289a0c60cd3d055357a580e5d18bcc642bb907c From 4c7a4eb5b618c932d89ea54042e638e5928fa3a7 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 5 Mar 2021 09:12:47 +0100 Subject: [PATCH 10/13] Update to 1.12.5 - Return False in _execute_command_commit_candidate_number(self, number) if number out of range - Resolves: https://github.com/moebiuscurve/ibus-table-others/issues/21 - remove Use-from-unittest-import-mock-instead-of-just-import.patch (included upstream) - Update translations from Weblate (New translation for Sinhala (si) started) --- .gitignore | 1 + ibus-table.spec | 11 ++++++++++- sources | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f319d81..217729e 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.12.2.tar.gz /ibus-table-1.12.3.tar.gz /ibus-table-1.12.4.tar.gz +/ibus-table-1.12.5.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index 5cd417d..3b50a10 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.12.4 +Version: 1.12.5 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -149,6 +149,15 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Fri Mar 05 2021 Mike FABIAN - 1.12.5-1 +- Update to 1.12.5 +- Return False in _execute_command_commit_candidate_number(self, number) + if number out of range +- Resolves: https://github.com/moebiuscurve/ibus-table-others/issues/21 +- remove Use-from-unittest-import-mock-instead-of-just-import.patch + (included upstream) +- Update translations from Weblate (New translation for Sinhala (si) started) + * Sun Jan 24 2021 Mike FABIAN - 1.12.4-1 - Update to 1.12.4 - Update translations from Weblate (updated es, cs, fa, pt_BR, zh_CN). diff --git a/sources b/sources index 8909e1a..d6eaf02 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.12.4.tar.gz) = 3e175dad8d9e12be91f6b6878b67301bbbf04c55e43d483162d3b10d2edbdcf1077d1f37beea2ef36323eb7de289a0c60cd3d055357a580e5d18bcc642bb907c +SHA512 (ibus-table-1.12.5.tar.gz) = 1fbbf07c64b366c84ca463e0e5f21a6008cc488f75ac24466d94982f70c04b6b882f098bae210d4f32c381c24899c5c0da389a501c30ef5e3dd679828720ab5a From b354bc652e655d4d536652ca4893a9b5f72da5ec Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 3 May 2021 09:24:55 +0200 Subject: [PATCH 11/13] Update to 1.12.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - In main.py “import factory” only when the --xml option is not used - Resolves: rhbz#1955283 - Make the keybindings treeview sortable by clicking the column headers - Update translations from Weblate (update for pt_BR, now 100%) --- .gitignore | 1 + ibus-table.spec | 9 ++++++++- sources | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 217729e..464d75d 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.12.3.tar.gz /ibus-table-1.12.4.tar.gz /ibus-table-1.12.5.tar.gz +/ibus-table-1.12.6.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index 3b50a10..db8c38a 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.12.5 +Version: 1.12.6 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -149,6 +149,13 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Mon May 03 2021 Mike FABIAN - 1.12.6-1 +- Update to 1.12.6 +- In main.py “import factory” only when the --xml option is not used +- Resolves: rhbz#1955283 +- Make the keybindings treeview sortable by clicking the column headers +- Update translations from Weblate (update for pt_BR, now 100%) + * Fri Mar 05 2021 Mike FABIAN - 1.12.5-1 - Update to 1.12.5 - Return False in _execute_command_commit_candidate_number(self, number) diff --git a/sources b/sources index d6eaf02..6266432 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.12.5.tar.gz) = 1fbbf07c64b366c84ca463e0e5f21a6008cc488f75ac24466d94982f70c04b6b882f098bae210d4f32c381c24899c5c0da389a501c30ef5e3dd679828720ab5a +SHA512 (ibus-table-1.12.6.tar.gz) = b73cc0129a1b0181b0a735ca6bc9ffa5bedf52aaee4de4163751c412e01b4d77168b5deb3186695e774c3a967a4967ab32423c87e8c4bb8dcee6ad62afe00e92 From e7e42d3bd38dd1bb3e9d451bfaa4c7d5200a12be Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 4 May 2021 22:12:55 +0200 Subject: [PATCH 12/13] Update to 1.13.0 - Make switch to pinyin mode also happen immediately even when the preedit is not empty (for consistency) - Make rolling the mouse wheel in the candidate area of the lookup table work - Commit English input and then switch into direct mode (Resolves: https://github.com/kaio/ibus-table/issues/68) - Apply a couple modes immediately when changed - Add a dark theme option (Resolves: https://github.com/kaio/ibus-table/issues/67) - Show all the tabkeys when using wildcards - Remove Python2 compatibility stuff - Start adding some type hints - Update translations from Weblate (update for de, ja, tr, uk, zh_CN) --- .gitignore | 1 + ibus-table.spec | 17 ++++++++++++++++- sources | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 464d75d..f45b6ef 100644 --- a/.gitignore +++ b/.gitignore @@ -67,3 +67,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.12.4.tar.gz /ibus-table-1.12.5.tar.gz /ibus-table-1.12.6.tar.gz +/ibus-table-1.13.0.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index db8c38a..3961156 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.12.6 +Version: 1.13.0 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -149,6 +149,21 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Tue May 04 2021 Mike FABIAN - 1.13.0-1 +- Update to 1.13.0 +- Make switch to pinyin mode also happen immediately even + when the preedit is not empty (for consistency) +- Make rolling the mouse wheel in the candidate area of the lookup table work +- Commit English input and then switch into direct mode + (Resolves: https://github.com/kaio/ibus-table/issues/68) +- Apply a couple modes immediately when changed +- Add a dark theme option + (Resolves: https://github.com/kaio/ibus-table/issues/67) +- Show all the tabkeys when using wildcards +- Remove Python2 compatibility stuff +- Start adding some type hints +- Update translations from Weblate (update for de, ja, tr, uk, zh_CN) + * Mon May 03 2021 Mike FABIAN - 1.12.6-1 - Update to 1.12.6 - In main.py “import factory” only when the --xml option is not used diff --git a/sources b/sources index 6266432..554e6fb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.12.6.tar.gz) = b73cc0129a1b0181b0a735ca6bc9ffa5bedf52aaee4de4163751c412e01b4d77168b5deb3186695e774c3a967a4967ab32423c87e8c4bb8dcee6ad62afe00e92 +SHA512 (ibus-table-1.13.0.tar.gz) = d4956e24b7166631816124b55987c92a4b3c3a1eece86d168297e4b18ca697ba96dc68a696477dcf91a510e4c446289a8b02cb4f79c15705151dd62b9a2096b1 From 99b1194495c2b5970fca90eb91c3b48882c92617 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Sun, 16 May 2021 21:46:56 +0200 Subject: [PATCH 13/13] Update to 1.13.1 - Fix reading the source file for the suggestions phrase.txt.bz2 - Update translations from Weblate (updates for ca, fr) --- .gitignore | 1 + ibus-table.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f45b6ef..5a44e2d 100644 --- a/.gitignore +++ b/.gitignore @@ -68,3 +68,4 @@ ibus-table-1.3.0.20100621.tar.gz /ibus-table-1.12.5.tar.gz /ibus-table-1.12.6.tar.gz /ibus-table-1.13.0.tar.gz +/ibus-table-1.13.1.tar.gz diff --git a/ibus-table.spec b/ibus-table.spec index 3961156..eb52791 100644 --- a/ibus-table.spec +++ b/ibus-table.spec @@ -3,7 +3,7 @@ %global _python_bytecompile_extra 1 Name: ibus-table -Version: 1.13.0 +Version: 1.13.1 Release: 1%{?dist} Summary: The Table engine for IBus platform License: LGPLv2+ @@ -149,6 +149,11 @@ fi %{_datadir}/installed-tests/%{name} %changelog +* Sun May 16 2021 Mike FABIAN - 1.13.1-1 +- Update to 1.13.1 +- Fix reading the source file for the suggestions phrase.txt.bz2 +- Update translations from Weblate (updates for ca, fr) + * Tue May 04 2021 Mike FABIAN - 1.13.0-1 - Update to 1.13.0 - Make switch to pinyin mode also happen immediately even diff --git a/sources b/sources index 554e6fb..b584d25 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ibus-table-1.13.0.tar.gz) = d4956e24b7166631816124b55987c92a4b3c3a1eece86d168297e4b18ca697ba96dc68a696477dcf91a510e4c446289a8b02cb4f79c15705151dd62b9a2096b1 +SHA512 (ibus-table-1.13.1.tar.gz) = 19748dbb111976b7cc594558cdea925c8f311264d994df6eba99cf11d2642ad95c10d57e7ec7b6026ea1c78da0db61e7d8f56deb40dc1a552d2fd64eedd00f65