Commit Graph

222 Commits

Author SHA1 Message Date
Mike FABIAN
5143d2c3d8 Update to 2.24.11
- Really clear the preedit when it is empty, don’t just hide it
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/476)
  Just hiding a non-empty preedit is not enough because of
  IBus.PreeditFocusMode.COMMIT a non-empty preedit is still
  committed on focus out, even when it is hidden.
2024-01-06 01:25:50 +01:00
Mike FABIAN
00d69e8388 Update to 2.24.10
- Update the preedit to empty right after deleting surrounding text when reopening a preedit
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/474)
- Improve do_reset()
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/473)
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/474)
- Fix _record_in_database_and_push_context()
- Avoid updating the preedit to empty or  hiding it if the preedit is already hidden or empty
- Do not pass through a key release event if the corresponding key press event was handled
- Remove two probably redundant calls to get_surrounding_text()
- Hide and clear lookup table and aux in _update_ui_empty_input_try_completion() if no candidates are found
- Make self._ibus_event_sleep_seconds settable via gsettings
- Avoid more duplicate calls of _update_preedit()
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/473)
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/474)
- Fix disappearing first characters or words in the web clients of WhatsApp and Telegram used in Firefox
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/473)
- Update emoji annotations from CLDR
2023-12-29 22:56:54 +01:00
Mike FABIAN
0c67c83596 Update to 2.24.5
- Fix first character disappearing when compose was involved in WhatsApp and Telegram
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/471
- Update emoji annotations from CLDR
2023-12-05 10:08:06 +01:00
Mike FABIAN
78cabcc278 Update to 2.24.4
- Fix typos which prevented autosettings from working when the attempting
  to autoset “avoidforwardkeyevent” or “addspaceoncommit”
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/469)
2023-10-18 17:05:02 +02:00
Mike FABIAN
0f2548c8e4 Update to 2.24.3
- Adapt compose test cases to newest compose table
- Parse compose sequence “<Multi_key> <slash> <slash> : "\\" backslash # REVERSE SOLIDUS”
  correctly (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/467)
- Avoid really *all* use of self.foreward_key_event() if the option self._avoid_forward_key_event is True
- Avoid verbatim bidi formatting characters in the source code
2023-10-17 09:43:28 +02:00
Mike FABIAN
728b03f8de Update to 2.24.2
- improve _return_false() and remove _commit_or_forward_key_event_or_return_false()
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/463)
- Make characters for Biángbiángmiàn easily searchable
- emoji-picker: Update default for current Unicode release 15.1
2023-10-02 10:26:53 +02:00
Mike FABIAN
1f73a587e5 Update to 2.24.1
- Support several backends for playing sounds
  (Resolves: rhbz#2237675 https://bugzilla.redhat.com/show_bug.cgi?id=2237675)
- Update UnicodeData.txt to current Unicode 15.1.0
  and emoji data files to current Unicode 15.1
- Update emoji annotations from CLDR
2023-09-12 11:06:14 +02:00
Mike FABIAN
0c26c86cab Update to 2.24.0
- Implement “commit_and_forward_key” command
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/461)
- m17n-lib interface: transliterate “produced” part and “preedit” separately
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/460)
- Update emoji annotations from CLDR
2023-09-01 15:32:35 +02:00
Mike FABIAN
1f6d54ad5d Update to 2.23.4
- Support msymbol 'S-C-Return' as a commit to preedit key
  (Resolves https://github.com/mike-fabian/ibus-typing-booster/issues/457).
  Needed by hi-itrans.mim, hi-optitransv2.mim, kn-optitransv2.mim,
  mr-gamabhana.mim, sa-itrans.mim, sa-vedic-itrans.mim
- Remove useless m4/{Makefile.am,as-version.m4}
- Update emoji annotations from CLDR
- Update UnicodeData.txt to current Unicode 15.1.0 draft
  (https://www.unicode.org/Public/draft/UCD/ucd/UnicodeData.txt)
- Update emoji data files for current Unicode 15.1 DRAFT
  (https://www.unicode.org/Public/draft/UCD/ucd/emoji/emoji-data.txt
   https://www.unicode.org/Public/draft/UCD/ucd/emoji/emoji-variation-sequences.txt)
2023-08-10 17:22:47 +02:00
Mike FABIAN
be24d1a967 Update to 2.23.3
- Translation update from Weblate (tr 100%)
2023-08-03 10:24:12 +02:00
Mike FABIAN
4fd97258c6 Update to 2.23.2
- Move self._gsettings.connect('changed', self.on_gsettings_value_changed)
  in __init__() *after* defining self._set_get_functions
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/454)
  (Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2171140)
- Translation update from Weblate (ar 100%)
- Update emoji annotations from CLDR
- Add m17n-db-devel to BuildRequires to be able to get the version of m17n-db to avoid skipping some test cases unnecessarily
2023-07-30 13:05:08 +02:00
Mike FABIAN
5220d013e2 Update to 2.23.1
- Translation update from Weblate (pl 100%)
- Adapt some test cases to changes in enchant
2023-07-04 00:05:43 +02:00
Mike FABIAN
1fcdcc7588 Update to 2.23.0
- Translation update from Weblate (de 100%, ka 100%, nl 100%, sv 100%, uk 100%)
- configure.ac: add a warning about not using /usr/local as the prefix
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/444)
- Add an option to convert language specific digits to ASCII
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/445)
- Strip entered autosettings value for boolean values
- Update emoji annotations from CLDR
2023-06-29 14:59:46 +02:00
Mike FABIAN
92ea40edc4 Update to 2.22.5
- Remove `xml:lang="en"` from the screenshots in appdata.xml
  (See: https://github.com/ximion/appstream/issues/494)
- Improve regexp for parsing description out of of .mim files
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/440)
- Setup tool: scale input method icons correctly
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/441)
- Update emoji annotations from CLDR
- Get version information of m17n-db
  (Needed for test cases depending on the version of m17n-db)
- Skip m17n_translit test cases when m17n-db is too old
2023-05-09 11:15:30 +02:00
Mike FABIAN
0d01911496 Update to 2.22.4
- Return empty program_name and window_title in get_active_window_xprop()
  when xprop results are unexpected
  (Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2175009)
- Update emoji annotations from CLDR
- Use appstream-util validate-relax
2023-04-24 14:20:40 +02:00
Mike FABIAN
cbfac2b10f Update to 2.22.3
- Apply workaround for committing multiline strings only for '^gtk3-im:(firefox|thunderbird)', i.e. not on Wayland
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/438)
2023-04-14 17:42:50 +02:00
Mike FABIAN
0801e2e023 Update to 2.22.2
- Translation update from Weblate (ka 100%, sw 99.5%)
2023-04-03 14:02:23 +02:00
Mike FABIAN
a7994eb4f4 Update to 2.22.1
- Translation update from Weblate (sv 100%)
- Fix input of '_' and emoji lookup using '_' for the French BÉPO layout
  and the German neo2 layout
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/432)
2023-02-28 15:34:58 +01:00
Mike FABIAN
759a0f0988 Update to 2.22.0
- Translation update from Weblate (de 100%, ja 37.8%, nl 100%, pl 100%, tr 100%, uk 100%)
- Changing the order of dictionaries and input methods by keybinding
  should not be permanent when autosettings for dictionaries or
  keybindings are applied
- Add a GUI in the setup tool for the autosettings
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/423)
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/328)
- Update emoji annotations from CLDR
2023-02-27 18:50:57 +01:00
Mike FABIAN
881d9f0aee Update to 2.21.4
- Memoize instances of the Dictionary class
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/425)
2023-02-20 20:18:30 +01:00
Mike FABIAN
31eeb2e70a Update to 2.21.3
- Update emoji annotations from CLDR
- Translation update from Weblate (ka 100%)
2023-02-12 17:21:01 +01:00
Mike FABIAN
b27e6671c5 Update to 2.21.2
- Autoselect extremely likely candidates:
  Allow only adding of accents, never removing accents
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/420)
2023-02-12 11:21:23 +01:00
Mike FABIAN
4f727b0a17 Update to 2.21.1
- Small performance tweak in detecting terminals
- Translation update from Weblate (nl 100%, pl 100%, sv 100%, tr 100%)
2023-02-09 16:46:08 +01:00
Mike FABIAN
34dc896bbe Update to 2.21.0
- Add an option to disable Typing Booster in terminals
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/414)
- Update emoji annotations from CLDR
- Add autosettings option (command line only at the moment, useful for
  https://github.com/mike-fabian/ibus-typing-booster/issues/328)
- Translation update from Weblate (de 100%, uk 100%)
2023-02-06 15:40:35 +01:00
Mike FABIAN
09dfbd7470 Update to 2.20.0
- Allow predictions when 0 characters have been typed
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/268)
2023-01-19 16:53:23 +01:00
Mike FABIAN
c3f471d724 Update to 2.19.13
- Catch exception when user database is locked during shutdown
  (Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=215144)
2022-12-30 12:32:23 +01:00
Mike FABIAN
2396b97ec7 Update to 2.19.12
- Try not to fail if the database contains invalid UTF-8 or is otherwise malformed
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/409)
2022-12-29 11:33:22 +01:00
Mike FABIAN
b21402bbce Update to 2.19.10
- Save space when displaying compose completion in horizontal lookup tables
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/407)
2022-11-29 11:18:06 +01:00
Mike FABIAN
69166d06be Update to 2.19.9
- Emoji search: If search strings contain whitespace count as an exact match if
  all words match in any order
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/405)
- emoji-picker: If a search string contains non-whitespace characters, strip whitespace
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/404)
- emoji-picker: Put the first match in a search always into the clipboards automatically
  Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/402)
2022-11-28 21:41:12 +01:00
Mike FABIAN
af26f733b9 Update to 2.19.8
- Do not show automatic emoji predictions when OSK (on-screen-keyboard) is visible
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/398)
- Update emoji annotations from CLDR
- If a commit is triggered by a simple space, commit the space instead of forwarding it
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/397)
2022-11-08 14:12:46 +01:00
Mike FABIAN
224edcf98d Update to 2.19.7
- Avoid inline completion when OSK (on-screen-keyboard) is shown
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/395)
- Do not reset input purpose on focus out
  (See: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5966#note_1576732)
2022-10-24 20:32:05 +02:00
Mike FABIAN
4a1e267040 Update to 2.19.6
- Update emoji annotations from CLDR
- Avoid showing passwords in OSK buttons by disabling typing-booster
  in terminals when the on-screen-keyboard (OSK) is shown
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/393)
  (Requires: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2511)
- Translation update from Weblate (bn 100% complete)
2022-10-15 11:26:44 +02:00
Mike FABIAN
74508698f0 Update to 2.19.2
- Do not commit by index when OSK is visible
  (Resolves: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5865)
- Translation update from Weblate (sw 100% complete)
2022-10-10 08:59:23 +02:00
Mike FABIAN
3451f625f2 Update to 2.19.1
- Update emoji annotations from CLDR
- Make search for input methods which contain uppercase in their names work
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/387)
- Translation update from Weblate (bn 73.8% complete)
2022-10-05 13:38:45 +02:00
Mike FABIAN
815006620e Update to 2.19.0
- Save horizontal space to make the new Georgian translations fit better
  on small screens
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/383)
- Make compose support work for sequences starting with keys other
  than Multi_key and dead keys
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/379)
- Update emoji annotations from CLDR
- Stop using deprecated keyword arguments “flags” and “message_format” when
  creating Gtk.MessageDialog()
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/377)
- Use ['ar-kbd', 'NoIME'] by default for all Arabic locales instead of just ['NoIME']
- Make it possible to set options for m17n input methods in the typing booster setup tool
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/360)
- Translation update from Weblate (ar 100%, bn 67% (new!), de 100%, ka 100% (new!), nl 100%, pl 100%, sv 100%, tr 100%, uk 100%)
2022-09-09 16:31:07 +02:00
Mike FABIAN
3a668bde5d Update to 2.18.10
- Add functions to get and set variables for m17n input methods
- Update emoji annotations from CLDR
- Translation update from Weblate (bn added 42% complete)
- Test cases for bn-national-jatiya.mim
- Add more icons in different sizes to the appdata.xml files
- Stop calling self.set_wmclass('emoji-picker', 'Emoji Picker') (avoid deprecation warning)
2022-09-01 14:05:00 +02:00
Mike FABIAN
678bb0047c Update to 2.18.9
- Make it possible to use custom labels for different dictionary matches
- Distinguish dictionary matches shown by flags in the candidate list if
  some flags are identical
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/358)
- Update emoji annotations from CLDR
2022-08-07 12:35:00 +02:00
Mike FABIAN
105a279743 Update to 2.18.7
- Use the environment variable DICPATH as well when searching for dicitonaries
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/357)
- Translation update from Weblate (sw updated to 100%)
2022-08-03 17:12:18 +02:00
Mike FABIAN
b205e84e63 Update to 2.18.6
- Avoid selection changed events when clearing the shortcut treeview
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/355)
- Correctly remember how often user shortcuts were used
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/353)
- Update emoji data files for current Unicode 15.0 DRAFT
- Update UnicodeData.txt to UnicodeData-15.0.0d6.txt
- Update emoji annotations from CLDR
- Use AT-SPI first to get the active window only on wayland, on X11 use xprop immediately
- Translation update from Weblate (sv updated to 100%)
- do not use appstream-util in the check section of the .spec file,
  appstream-util is unmaintained.
2022-07-30 01:37:10 +02:00
Mike FABIAN
f3f537afca Update to 2.18.4
- Get program name of focused window if do_focus_id doesn’t provide that already
- Show lookup table *always* when display of related emoji or words is requested
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/350)
- Translation update from Weblate (nl updated to 100%)
2022-07-27 13:53:38 +02:00
Mike FABIAN
69f30481bd Update to 2.18.0
- Optionally show flags in the candidate list for dictionary matches
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/343)
- Update emoji annotations from CLDR
- Translation update from Weblate
  (de (100%), es (93.7%), pl (100%), tr (100%), uk (100%))
2022-07-18 23:31:03 +02:00
Mike FABIAN
9bf4ef2074 Update to 2.17.1
- Translation update from Weblate (pt updated to 100%)
2022-07-13 11:23:30 +02:00
Mike FABIAN
6d45b853fe Update to 2.17.0
- Improve “Automatically select the best candidate”
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/285)
- Translation update from Weblate
  (de (100%), pl (100%), pt (30.3%), tr (100%), uk (100%))
2022-07-07 10:12:39 +02:00
Mike FABIAN
8b8c8add8a Update to 2.16.7
- When the lookup table is hidden because of inline completion,
  ignore commands to commit candidates by their index
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/325)
- Add a command 'commit' with configurable key bindings
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/320)
- Translation update from Weblate (sw updated to 100%)
2022-06-27 22:23:39 +02:00
Mike FABIAN
2945e3f947 Update to 2.16.5
- Use new pykakasi API instead of the deprecated v1.2 API.
- Fix typo in LOCALE_DEFAULTS for Korean. The default values
  for Korean were not applied because of this typo.
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/321)
- Improve and simplify setting input methods and dictionaries using new
  helper functions
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/318)
- self._is_candidate_auto_selected should only be true if no manual keys
  to select were pressed
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/319)
- Translation update from Weblate (it updated 93.6% (205 of 219 strings))
2022-06-23 15:35:33 +02:00
Mike FABIAN
7e51bf0118 Update to 2.16.3
- Add search entry for already defined custom shortcuts
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/312)
2022-06-20 11:22:25 +02:00
Mike FABIAN
cafb0a869f Update to 2.16.1
- Avoid using forward_key_event() in Gtk4 immodule automatically by checking for
  IBUS_CAP_SYNC_PROCESS_KEY (new, will start working for ibus >= 1.5.27)
- Udate the “Use inline completion” combobox in the setup tool when the
  gsettings value changes
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/313)
- Require Python >= 3.6 to build
- Add client detection code by Takao Fujiwara (will start working for ibus >= 1.5.27)
- If libvoikko.Voikko('fi') fails when initializing a Finnish dictionary,
  continue without voikko
- Always show standard lookup table for compose completions, never try inline completions
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/307)
- Update configure.ac for latest autoconf 2.71
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/309)
- Update emoji annotations from CLDR (oc.xml is new)
- Translation update from Weblate (fr updated)
2022-06-16 14:04:30 +02:00
Mike FABIAN
71f69467ad Update to 2.16.0
- Make it possible to use inline completion without automatic fallback to a candidate list
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/266)
  Now the inline completion option has 3 values:

  • No
  • Yes, with fallback to popup
  • Yes, without fallback to popup

  When choosing “Yes, with fallback”, the behaviour is as it used to be
  when the old checkbox was on: the completion is shown inline if this
  is possible without changing the already typed string in the preedit,
  if this is not possible, a popup candidate list is automatically shown
  instead as a fallback.

  When choosing “Yes without fallback to popup”, a popup candidate list
  is never shown automatically as a fallback but only when explicitely
  requested by typing the key bound to the command
  “select_next_candidate” (By default this is the Tab key).

  When updating to the new release with this new option, the value of
  the old checkbox gets lost. I.e. no matter whether the user had the
  inline completion option checked or not checked before the update,
  after the update the value for “inline completion” reverts to the
  default “No”. So if one was using “inline completion” before the
  update, one has to switch it on again after the update.

- Fix itb_emoji.find_cldr_annotation_path() (It always found a
  match even when the fallback went through all the way to
  'en', therefore all dictionaries were shown as supporting
  emoji in the setup tool)
- Update emoji annotations from CLDR (oc.xml is new)
- Translation update from Weblate (de (100%), jp (36.9%), nl (100%),
  tr (100%), uk (100%) updated)
2022-06-07 08:01:09 +02:00
Mike FABIAN
8868f7554c Update to 2.15.27
- If an emoji is duplicated as a text candidate, use only the
  emoji candidate and increase its score
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/289)
- Update emoji annotations from CLDR
- Translation update from Weblate (sv updated to 100%, sw updated to 100%)
2022-05-12 13:16:03 +02:00
Mike FABIAN
8ab6c6fe84 Update to 2.15.25
- Translation update from Weblate (de, fa, nl, pl, tr, uk updated)
- Make emoji and unicode symbol trigger key configurable
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/279)
- Do not commit if a key triggering a commit is swallowed by transliteration
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/281)
- Elide extremly long comments in the lookup table
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/280)
2022-03-03 13:59:01 +01:00