Commit Graph

205 Commits

Author SHA1 Message Date
Troy Dawson
6bcea51b7c Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:36:14 -07:00
Mike FABIAN
55a63c9669 Resolves: RHEL-36633 Do not require gnome-session, gnome-shell, gnome-shell-extension-no-overview for the CI test
The current CI test does not need these at all, they were only
required for the old test which used ibus-desktop-testing-runner and
Xvfb, gnome-shell-extension-no-overview seems unavailable on c10s and
that makes the CI test fail for no reason.
2024-07-09 17:51:33 +02:00
Mike FABIAN
9cfde9d772 Update to 1.17.6
Yet another fix to make it possible again to use keys with Unicode keysyms in keybindings and make it work with all known versions of ibus

Resolves: https://github.com/kaio/ibus-table/issues/85
See also: https://github.com/mike-fabian/ibus-typing-booster/issues/497

This makes the code work both with older ibus (<= 1.5.29) which does

>>> IBus.keyval_name(0x0100263a)
'U+263A'
>>>

and newer ibus (>= 1.5.31 or 1.5.30 with some patches) which does:

>>> IBus.keyval_name(0x0100263a)
'0x100263a'
>>>

So this should work with all currently known versions of ibus.
2024-07-02 13:47:14 +00:00
Troy Dawson
8ddca0f939 Bump release for June 2024 mass rebuild 2024-06-24 08:51:00 -07:00
Mike FABIAN
e8e13cb593 Resolves: RHEL-36633 Remove dependency on Xvfb from CI tests and Update to 1.17.5
- Drop Python2 support (using pyupgrade --py3-plus *.py)
- Make it possible to use keys with Unicode keysyms in keybindings (requires ibus &gt; 1.5.30)
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/497, same problem for ibus-table)
- Use `frames_per_buffer=chunk_size` option in `self._paudio.open()`
  (Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2238746#c3)
- Translation update from Weblate (cs 36.6%, ja 45.3%, zh_CN 92.0%)
- Convert to rpm-autospec
2024-06-19 20:01:43 +02:00
Pooja Yadav
0ce7a48932 adding gating.yaml configuration 2024-04-26 12:51:50 +05:30
Fedora Release Engineering
90043488c3 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 22:29:36 +00:00
Fedora Release Engineering
d9d0800e50 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-20 22:52:11 +00:00
Mike FABIAN
41760b9991 Update to 1.17.4
- Fix compose support for ibus >= 1.5.28
  (Resolves: https://github.com/mike-fabian/ibus-table/issues/145)
- Translation update from Weblate (New language, Russian, (ru) 80%)
- Use “<developer><name>…</name></developer>” in ibus-table.appdata.xml instead of “<developer_name>…</developer_name>”
  Because </developer_name> is deprecated and it makes the build fail on Fedora rawhide.
2023-11-10 17:07:07 +01:00
Mike FABIAN
4808380dd5 Update to 1.17.3
- Support several backends for playing sounds
  Resolves: rhbz#2237674 https://bugzilla.redhat.com/show_bug.cgi?id=2237674
- Update Unihan_Variants.txt and regenerate engine/chinese_variants.py to Unicode Version 15.1.0
2023-09-14 11:05:36 +02:00
Mike FABIAN
71e9b53d69 Update to 1.17.2
- Translation update from Weblate (de 100%, tr 100%)
2023-08-21 12:23:00 +02:00
Fedora Release Engineering
9d85bb04e5 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 07:10:29 +00:00
Mike FABIAN
c20027118b Update to 1.17.1
- Fix mypy warnings
- Return empty program_name and window_title in get_active_window_xprop()
  when xprop results are unexpected (Resolves: rhbz#2215466)
- Translation update from Weblate (si 10.0%)
2023-07-10 11:50:35 +02:00
Mike FABIAN
d2a87f510c - Update to 1.17.0
- New option commit_invalid_mode: Choose what happens when a
  character not in valid input characters is typed
  (Resolves: github-mike-fabian-issue#133)
- Translation update from Weblate (de 100%, uk 100%)
2023-04-07 15:08:54 +02:00
Fedora Release Engineering
91120bc462 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 12:55:53 +00:00
Mike FABIAN
a5877c9f2b Migrate license tag to SPDX 2022-11-25 23:26:14 +01:00
Mike FABIAN
795ec5be7a Update to 1.16.14
- Fix a problem in C/POSIX and invalid locales:
  Use lower() on LC_MESSAGES only if it is a string and not None
  Resolves: https://github.com/mike-fabian/ibus-table/issues/130
  Resolves: rhbz#2131410 https://bugzilla.redhat.com/show_bug.cgi?id=2131410
2022-11-10 15:07:17 +01:00
Mike FABIAN
de98c73654 Update to 1.16.13
- Get program name of focused window also when ibus cannot get it
- Use focus id if available (it is available for ibus >= 1.5.27)
- Use IBus.PreeditFocusMode.COMMIT and make sure the input is
  cleared and the UI updated when the focus changes
  (Resolves: https://github.com/mike-fabian/ibus-table/issues/129)
- Do not reset input purpose on focus out
  (See: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5966#note_1576732)
- Do not commit by index when OSK is visible
  (Resolves: https://github.com/mike-fabian/ibus-table/issues/128)
2022-11-01 21:53:42 +01:00
Mike FABIAN
53b063945e Update to 1.16.12
- Stop using locale.getdefaultlocale() because it is deprecated in Python
  3.11 and will be removed in Python 3.13
  Resolves: https://github.com/mike-fabian/ibus-table/issues/120
- Add 128x128, 256x256, and svg (remote) icons to ibus-table.appdata.xml
2022-09-05 19:57:47 +02:00
Mike FABIAN
337e89b26b Update to 1.16.11
- Remove hashbang from chinese_variants.py and tabcreatedb.py
  (Resolves: https://github.com/mike-fabian/ibus-table/issues/118)
2022-08-06 14:14:05 +02:00
Mike FABIAN
c8898fa44f Update to 1.16.10 2022-08-02 20:13:07 +02:00
Fedora Release Engineering
02f877f996 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 14:26:02 +00:00
Mike FABIAN
8183a54608 Update to 1.16.9
- Require Python >= 3.6 to build
- Use a less exact type hint to make building tables from
  sources work with Python 3.6 as well
- Update home page URLs (code.google.com is not used anymore)
2022-06-13 19:31:03 +02:00
Mike FABIAN
27e3fe979e Update to 1.16.8
- Update Unihan_Variants.txt from “2021-12-01 Unicode 15.0.0
  draft” to “2022-04-26 Unicode 15.0.0 draft” and regenerate
  chinese_variants.py. All our fixes to Unihan_Variants.txt
  are included upstream.
- Update translations from Weblate (fa, fr updated)
2022-04-28 11:31:56 +02:00
Mike FABIAN
02a8725f73 Update to 1.16.7
- Ignore MOD3_MASK (Scroll Lock) when matching key bindings
  (Resolves: https://github.com/mike-fabian/ibus-table/issues/102)
- When a Modifier key release matches a hotkey command, return False not True.
  (Resolves: https://github.com/mike-fabian/ibus-table/issues/98)
  (Resolves: rhbz#2038973 https://bugzilla.redhat.com/show_bug.cgi?id=2038973)
2022-01-28 13:01:22 +01:00
Mike FABIAN
4a7c92943e Update to 1.16.4
- Fix more errors in Unihan_Variants.txt by checking against
  a Traditional Chinese dictionary
  (Resolves: https://github.com/mike-fabian/ibus-table/issues/100)
- Fix some errors in Unihan_Variants.txt
- Update translations from Weblate (es updated to 100%)
2022-01-24 22:42:29 +01:00
Mike FABIAN
b362b86f69 Update to 1.16.3
- Fix a few errors in Unihan_Variants.txt
  (Resolves: https://github.com/mike-fabian/ibus-table/issues/96)
- 栗 U+6817 is used in Traditional Chinese as well.
  (Resolves: https://github.com/mike-fabian/ibus-table/issues/95)
- Update Unihan_Variants.txt from “2021-08-06 Unicode 14.0.0
  final” to “2021-12-01 Unicode 1 5.0.0 draft” and regenerate
  engine/chinese_variants.py
2022-01-24 22:42:11 +01:00
Fedora Release Engineering
eb4704f2e4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 13:05:04 +00:00
Mike FABIAN
d9c244796d Update to 1.16.0
- Make true the default for “rememberinputmode”
- Save “inputmode” to gsettings
  and add a “rememberinputmode” gsettings. This makes it
  possible to change the current input mode from the command
  line. And with “rememberinputmode” one can choose whether
  the last used input mode should be remembered and be used
  again when a new session starts or whether a new session
  should always start in table mode.
  (Resolves: https://github.com/mike-fabian/ibus-table/issues/85)
- Skip cangjie5 and erbi-qs test cases if the tables are too old
- Replace deprecated module “optparse” with “argparse”
2022-01-18 15:08:19 +01:00
Mike FABIAN
caa59dfd3c Update to 1.15.0
- Fix problems with goucima for erbi-qs table
  (Resolves: https://github.com/kaio/ibus-table/issues/77)
- Update Unihan_Variants.txt to “2021-08-06 Unicode 14.0.0 final”
  and regenerate engine/chinese_variants.py
- Fix typo in translatable message, by Rafael Fontenelle
  (https://github.com/mike-fabian/ibus-table/pull/82)
2022-01-11 10:12:11 +01:00
Mike FABIAN
caba761a83 Update to 1.14.1
- If an exception happens when trying to play a sound, catch it.
  I have no idea how to reproduce that bug. But catching the
  exception should fix it, it should make ibus-table continue
  working normally if any such serious problem with playing
  sounds occurs. Without sound of course but it should not
  stop working.
  (Resolves: rhbz#1995955 https://bugzilla.redhat.com/show_bug.cgi?id=1995955)
- When changing the error sound file with the setup tool, play
  it. To make the user hear immediately what kind of sound
  was selected.
- Update translations from Weblate
- Remove colons after “Auto select:”, “Auto wildcard:”, and “Use dark theme:”
  (Resolves: https://github.com/mike-fabian/ibus-table/issues/70#issuecomment-884664898)
2021-08-25 12:48:29 +02:00
Fedora Release Engineering
c12e3b8a57 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 08:21:11 +00:00
Mike FABIAN
3c4e85d923 Update to 1.14.0
- Add option to set dynamic adjust at runtime
- Resolves: https://github.com/mike-fabian/ibus-table/issues/70
- Also add a button to forget all the data learned by typing and selecting candidates.
- Add options to play sound file on error
- Resolves: https://github.com/kaio/ibus-table/issues/75
- Use checkbuttons instead of [Yes/No] comboboxes
- Hide options which make no sense for certain tables instead of just graying them out
- Add “Recommends: python3-simpleaudio” (Without that the new sound option is ignored)
2021-07-21 14:48:50 +02:00
Mike FABIAN
74c43b607c Remove python3-mock requirement form main.fmf (CI tests) 2021-06-30 16:45:54 +02:00
Mike FABIAN
cf6e767321 Convert CI tests to tmt 2021-06-29 19:50:55 +02:00
Mike FABIAN
481afec238 Fix build 2021-06-29 19:50:55 +02:00
Takao Fujiwara
e02194d443 Delete ibus write-cache in scriptlet
ibus core now uses transfiletriggerin
2021-06-18 18:01:03 +09:00
Mike FABIAN
2713f7f9d6 Update to 1.13.3
- Fix a few more bugs in Unihan_Variants.txt, the characters
  着枱云裡復采吓尸揾 are used both in simplified and traditional
  Chinese (some of them in traditional Chinese in Hong Kong only).
  (Resolves: https://github.com/ibus/ibus/issues/2323)
2021-06-09 17:53:40 +02:00
Mike FABIAN
c17ce83564 Update to 1.13.2
- Fix bug in Unihan_Variants.txt, 只 U+53EA is both simplified
  and traditional Chinese
  (Resolves: https://github.com/kaio/ibus-table/issues/74)
- Update Chinese variant detection by Unihan_Variants.txt to
  the version “2021-05-18 Unicode 14.0.0” (draft version of Unicode 14)
- Update translations from Weblate (updates for es (100%), pt_BR (100%))
2021-06-08 15:19:55 +02:00
Mike FABIAN
18070c83ff Update outdated link to upstream tarball 2021-06-08 15:19:48 +02:00
Mike FABIAN
0a42ea43fc Update to 1.13.1
- Fix reading the source file for the suggestions phrase.txt.bz2
- Update translations from Weblate (updates for ca, fr)
2021-05-16 21:46:56 +02:00
Timm Bäder
34ce198f63 Use make macros
Instead of the plain %__make, use %make_build and %make_install
2021-05-14 12:16:42 +02:00
Mike FABIAN
5e884906b6 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)
2021-05-06 16:25:11 +02:00
Mike FABIAN
ec259d1ff2 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%)
2021-05-03 09:24:55 +02:00
Mike FABIAN
93c274e3ff - Resolves: rhbz#1948197 Change post to posttrans 2021-04-21 07:46:55 +02:00
Mike FABIAN
dc900797b7 - Remove post and postun (Related: rhbz#1948197) 2021-04-20 11:56:50 +02:00
Mike FABIAN
3ffbe2d7b7 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)
2021-03-05 18:17:07 +01:00
Mike FABIAN
19dab3bce8 Use “BuildRequires: appstream” only on Fedora 2021-02-17 10:16:55 +01:00
Mike FABIAN
d27070e9c0 - Remove i3 from BuildRequires 2021-02-16 07:28:11 +01:00
Mike FABIAN
849db7c1a6 Use standard library mock 2021-02-02 11:49:48 +01:00