Commit Graph

235 Commits

Author SHA1 Message Date
Mike FABIAN
16210b5afa Update to 2.15.22
- Translation update from Weblate
  (ca, de, es, fr, nl, pl, pt, pt_BR, sv, tr, uk, zh_CN, zh_TW updated)
- Add a “Restore all defaults” button to the setup tool
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/272)
- Allow capital letters and accents in user shortcuts
- Make user shortcuts containing punctuation possible
  Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/271
- Do not record stuff to user database when itb_util.InputHints.PRIVATE is set
- Update emoji annotations from CLDR
2022-02-27 15:40:25 +01:00
Mike FABIAN
e053cc28c1 Update to 2.15.16
- Ignore MOD3_MASK (“Usually” Scroll Lock) when matching key bindings
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/270)
- When a Modifier key release matches a hotkey command, return False not True.
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/269)
- Update emoji annotations from CLDR
- Update UnicodeData.txt UnicodeData-15.0.0d3.txt
2022-01-30 17:08:53 +01:00
Fedora Release Engineering
1e92d45610 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 13:06:09 +00:00
Mike FABIAN
1437532714 Update to 2.15.15
- Translation update from Weblate (fr updated to 100%)
2022-01-17 11:57:53 +01:00
Mike FABIAN
b0d6810a88 Update to 2.15.14
- Update emojione.json file to new version emoji.json
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/262)
- Spellchecking during emoji search only for words with more then 5 letters
- Update emoji annotations from CLDR
- When emoji search via codepoint matches, increase the score of the code point match
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/263)
- Translation update from Weblate (cs updated)
2022-01-03 16:48:48 +01:00
Mike FABIAN
94545da795 Update to 2.15.11
- Use @functools.lru_cache(maxsize=None) decorator for remove_accents()
  (Makes everything 30%-40% faster)
- Add sorting option to tabstatistics
- add enchant2 and enchant2-aspell and aspell-en to BuildRequires:
2021-11-29 21:37:31 +01:00
Mike FABIAN
c44085a4c3 Update to 2.15.7
- Convert user database context to lower case and accents removed
  while reading training data
- Make the context in the database case insensitive and accent insensitive
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/256)
- Test cases for the sqlite database
- Allow cleanup_database() to cleanup an in memory database when doing unit tests
- Allow only lower case user shortcuts
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/255)
- Add function to return number of rows in the database for debugging and testing
- Allow to read training data from file when database is empty,
  allow reading from .gz files
2021-11-23 07:48:03 +01:00
Mike FABIAN
11a3979a73 Update to 2.15.3
- Title case all candidates if input_phrase is in title case
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/253)
2021-11-19 10:16:33 +01:00
Mike FABIAN
b2796b17a0 Update to 2.15.0
- Make matching in the database case insensitive
  (https://github.com/mike-fabian/ibus-typing-booster/issues/251)
- Remove accents for “input_phrase” when learning from a text file
  (https://github.com/mike-fabian/ibus-typing-booster/issues/252)
- Make matching in dictionaries case insensitive
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/251)
- Cleanup user database when Typing Booster starts
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/239)
  Also use the sqlite3 “VACUUM” command to rebuild the database
  file, repacking it into a minimal amount of disk space
- Add tabstatistics.py, command line tool to display some information
  about the database contents
- Use python3-pycountry as a fallback to langtable
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/250)
- Add “Recommends: python3-regex” to use better regexpressions if available
2021-11-16 16:17:51 +01:00
Mike FABIAN
fc57766f54 Update to 2.14.13
- Skip emoji tests which rely on the enchant results if enchants results change
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/244)
- Make it possible to remove unwanted compose sequences by using
  an empty replacement text
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/245)
- The 🏴‍☠️ “pirate flag” needs a U+FE0F after the final character to be fully qualified
- Update data files for Unicode 14.0.0
2021-09-29 18:50:27 +02:00
Mike FABIAN
064d8c80ef Update to 2.14.12
- Add some extra logging for the emoji tests
- Add 'G-_' to 'G- ' as exceptions which must not trigger commits but
  insert into the preedit
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/243)
- Resolves: rhbz#2002199
- Update emoji annotations from CLDR
2021-09-14 10:35:26 +02:00
Mike FABIAN
44e46e9b24 Update to 2.14.9
- Fix “Inconsistency when typing digits in Compose”
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/238)
- Fix “Toggling input mode on/off does not work when a compose sequence is in progress”
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/237)
- Toggling input mode off should not throw away the current input
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/236)
2021-09-02 18:54:53 +02:00
Mike FABIAN
27438f5a9c Update to 2.14.8
- Translation update from Weblate (ca, es, it updated)
- Update emoji annotations from CLDR
- Add IBus.KEY_KP_Decimal and IBus.KEY_period as a normal/keypad equivalence pair
- get_string_from_lookup_table_cursor_pos() should return the string in NFC
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/234)
- If an exception happens when trying to play a sound, catch it.
- Change default input method for pa from “pa-inscript2” to “pa-inscript2-guru”
- Make appearance tab narrower if possible (helps especially for the French translations)
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/230)
- Spellchecking the preëdit should only spellcheck the part of the preedit which is a word
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/229)
2021-08-30 21:49:50 +02:00
Mike FABIAN
fd4c66fa45 Update to 2.14.4
- Translation update from Weblate (de, nl, pl, sv, tr, uk updated to 100%)
- Update emoji annotations from CLDR
- Treat typing space within a preedit similar to typing Return within a preedit
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/223)
- When a key triggers a commit while no candidate is selected, the cursor
  should **always** be corrected leftwards
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/227)
- When committing with Return inside a preedit, database recording and
  pushed context is wrong
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/226)
- Fix a typo which caused “\n” to be committed where “\t” should have been committed.
- Remove spaces in lookup representation of compose completions
- If a keypad key makes compose sequence invalid, try sequence with
  regular keys instead (And the other way round)
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/224)
- Make typing Return or KP_Enter inside a preedit more reliable
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/222)
- Show input method icons in the setup tool if an icon is available
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/213)
- Rename option “Arrow keys can reopen a preedit” to “Enable reopening preedits”
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/212)
2021-08-22 20:34:08 +02:00
Mike FABIAN
11e22af44f Add “ExcludeArch: ppc64 s390x”
Some test cases fail on ppc64 and s390x (because of some bugs on these
platforms I think).  This makes the build fail for no good reason if
it accidentally is build on one of these platforms.

So even though this is a noarch package, tell koji to never build it
on ppc64 and s390x.
2021-08-12 15:28:13 +02:00
Mike FABIAN
05088ef1ca Update to 2.14.0
- Translation update from Weblate (de, nl, pl, sv, tr, uk updated to 100%)
- Update emoji annotations from CLDR
- Improve code to determine the default dictionaries and input methods
  for the current locale
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/209)
- Improve behaviour of key combinations which normally select text when a preëdit is open
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/210)
- Show possible compose completions on request
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/208)
- When setting self._input_mode to False (direct input),
  set self._hide_input to False as well
- Never mix context from surrounding text with remembered context
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/204)
- Rename the option “Use a workaround for a bug in Qt im module” to
  “Avoid using the forward_key_event() function”
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/200)
- Handle End, Home, KP_End, KP_Home also as commit trigger keys.
  For normal preedits *and* for compose preedits.
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/199)
- Improve typing space or Tab when the cursor is not at the end of the preedit
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/198)
- Completly new implementation of reopening the preedit on
  arrow-keys, BackSpace and Delete. Should be much more reliable.
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/196)
- Special handling of Left and BackSpace when a candidate is manually selected
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/178)
2021-08-12 09:46:31 +02:00
Mike FABIAN
8b207af513 Update to 2.13.1
- Translation update from Weblate (de, nl, pl, tr, uk updated to 100%)
- Don’t skip reopening a preëdit when NumLock is on
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/178)
- Make searching for the “Others” input methods possible in the language
  of the current locale
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/190)
- Don’t loop over the missing dictionaries when installing, install all in one go
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/189)
- When adding an input method, searching for localized language names, endonyms,
  and English language names should work
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/188)
- When adding a dictionary, searching for the language endonym should always work
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/187)
2021-08-03 10:13:14 +02:00
Mike FABIAN
1109a71d4d Update to 2.13.0
- Translation update from Weblate (de, tr, uk updated to 100%)
- Use colour for the compose part of preedit
  (Resolves: Use colour for the compose part of preedit)
- When a compose sequence becomes invalid, don’t throw it away
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/180)
- Cancelling a compose sequence should not beep
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/179)
- Don’t spell check the preedit while a compose sequence is in progress
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/181)
2021-07-31 19:24:06 +02:00
Mike FABIAN
4e49a7d10d Update to 2.12.1
- Starting a compose sequence while a candidate is selected should
  append to the selection
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/175)
- Translation update from Weblate (de, nl, pl, tr, uk all updated to 100%)
- Fix typo in translatable message (Thanks to Yuri Chornoivan)
- Add a few more combining chars for dead keys to the list (Thanks to Matthias Clasen)
2021-07-28 17:06:08 +02:00
Mike FABIAN
d169880f79 Update to 2.12.0
- Use the dead keys added recently to ibus as soon as they become available
  by an ibus update
  (see: 3e2609e68c)
- Make Compose preedit less intrusive, show compose key only in
  the middle of the sequence or when it is the only key so far
- Use · U+00B7 MIDDLE DOT instead of ⎄ U+2384 COMPOSITION SYMBOL to display
  Multi_key in pre-edit.
- Add an option to play a sound on error (for example invalid compose sequence)
- Don’t include the system compose files unconditionally if a user compose file exists
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/170)
- Add option to choose whether to start up in direct input mode
  (Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/169)
- Change default input methods for Indian locales to inscript2
2021-07-27 16:39:39 +02:00
Mike FABIAN
60847f137a Fix license tag 2021-07-26 13:09:20 +02:00
Fedora Release Engineering
53133338c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 08:22:14 +00:00
Mike FABIAN
9752d5fb96 Convert CI tests to tmt 2021-06-29 08:18:00 +02:00
Mike FABIAN
d4c49e0821 Require python3-packaging instead of python3-setuptools, BuildRequire glibc-conv-extra only on Fedora >= 35 2021-06-25 12:58:56 +02:00
Mike FABIAN
c7fe36c29c Update to 2.11.5
- Resolves: rhbz#1970626 Ensure enum.Flag's obj._value_ is an integer
  (Thanks to Miro Hrončok!)
- Use version.parse from packaging instead of LooseVersion from distutils.version
  (To fix a deprecation warning, see: https://www.python.org/dev/peps/pep-0632/)
- Update py-compile to the version from automake-1.16
  (To fix DeprecationWarning: the imp module is deprecated in favour of
  importlib and slated for removal in Python 3.12;)
2021-06-22 08:01:28 +02:00
Takao Fujiwara
99aefc691e Delete ibus write-cache in scriptlet
ibus core has used transfiletriggerin since Fedora 35
2021-06-18 21:21:36 +09:00
Mike FABIAN
91ea89b9f5 Update to 2.11.4
- In main.py “import factory” only when the --xml option is not used
  Resolves: rhbz#1711646
- Limit the “capitalize” case mode used in auto-capitalization to the
  first index in a string
  Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/167
2021-04-29 16:34:01 +02:00
Takao Fujiwara
ef40d8efe4 Resolves: #1948197 Change post to posttrans 2021-04-21 12:41:55 +09:00
Mike FABIAN
cb9207a2b9 - Remove post and postun (Related: rhbz#1948197) 2021-04-20 11:41:15 +02:00
Mike FABIAN
3495e08740 Update to 2.11.2
- Improve the handling of typing digits into the preedit
  Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/164
- Make the keybindings treeview also sortable by clicking the column headers
- Make custom shortcut treeview sortable by clicking on the column headers
- Resolves: https://github.com/mike-fabian/ibus-typing-booster/issues/163
- Don’t use surrounding text if InputPurpose.TERMINAL is set
2021-04-06 20:58:27 +02:00
Mike FABIAN
579bc0b777 Update to 2.11.0
- Use sensitivity feature of buttons in the setup tool tab where shortcuts are defined
- Don’t let dialog action area of setup tool expand.
- Improve the setup tool to make it possible to enter multi-line expansions of shortcuts
- Resolves https://github.com/mike-fabian/ibus-typing-booster/issues/158
- Elide extremely long candidates in the lookup table in the middle.
- If a candidate contains newlines, replace the newlines with arrows in the lookup table.
- If a commit string contains new-lines, commit it in several chunks
  and forward Return between the chunks.
- Update emoji annotations from CLDR
- Put the remote icon back in emoji-picker.appdata.xml, it was a
  false positive by appstreamcli
- Translation update from Weblate (pt_PT updated, 100% complete now)
- Skip the inscript2 test cases if these transliterations are not available.
2021-03-11 15:42:58 +01:00
Mike FABIAN
59d3bcf386 - Remove gnome-desktop-testing and ibus-desktop-testing from the requires of the ibus-typing-booster-tests subpackage 2021-02-22 07:12:19 +01:00
Mike FABIAN
0eac733812 Use the voikko build requires only for Fedora. They are only needed to run the voikko test cases during build. 2021-02-19 15:33:52 +01:00
Mike FABIAN
7c0e1d0afd Update to 2.10.5
- Run the voikko tests only for libvoikko version >= 4.3
- Adapt voikko test cases to the newest voikko version
  libvoikko-4.3-3, python3-libvoikko-4.3-3, voikko-fi-2.4-3
- Log a warning when language is “fi” and “import libvoikko” failed
- Return an empty list [] in spellcheck_suggest_voikko() when libvoikko was not imported
- Update emoji annotations from CLDR, switching “no” and “nb”
  See: https://unicode-org.atlassian.net/browse/CLDR-2698
- Remove icon in emoji-picker.appdata.xml (to avoid warnings
  from appstream-util and appstreamcli).
2021-02-18 23:16:47 +01:00
Mike FABIAN
ef1728cbdc Use “BuildRequires: appstream” only on Fedora 2021-02-17 10:19:27 +01:00
Mike FABIAN
09367556ea Update to 2.10.4
- Use “from unittest import mock” instead of just “import mock”.
- Update emoji annotations from CLDR
- Translation update from Weblate for zh_CN (still 100% complete)
2021-02-02 09:52:36 +01:00
Fedora Release Engineering
81c5359280 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 14:10:08 +00:00
Mike FABIAN
23453b3ae4 Update to 2.10.3
- Update emoji annotations from CLDR
- Translation update from Weblate for ja, zh_CN
  (zh_CN is 100% complete now)
2021-01-24 21:06:12 +01:00
Tom Stellard
48234ff25f Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-19 00:41:02 +00:00
Mike FABIAN
74b519a64e Update to 2.10.2
- Add vi-telex to the default input methods for vi_VN locale
- Enable Unicode 13.1 Emoji in emoji-picker by default
- Update emoji data to Unicode 13.1
- Translation update from Weblate for zh_CN
2020-12-18 10:29:19 +01:00
Mike FABIAN
74f2b19fef Update to 2.10.1
- Use IBus.InputHints.{UPPERCASE_CHARS,UPPERCASE_WORDS,LOWERCASE}
- Add utility to manually test input purpose and input
- Improve handling of input purpose and input hints
- Add compatibility enum classes InputPurpose and InputHints
- Add type hints
- Change default for emoji_unicode_min to 0.0
  (fixes emoji omitted from browsing in emoji-picker)
2020-11-11 15:26:40 +01:00
Mike FABIAN
cf01ce8bf5 Update to 2.10.0
- Add option to automatically capitalize after punctuation
- Don't record in user database when stripped_input_phrase or
  stripped_commit_phrase are emty
- When interactively deleting a candidate from the user database,
  remove all case modes
- Add 4 more characters ÞĦŊŦ to get special treatment in remove_accents()
- Translation updates from Weblate for ca, es, fr, it, ja, nl, sv
2020-10-19 10:13:13 +02:00
Mike FABIAN
b8ab2e443f Update to 2.9.9
- Fix typo in variable name in do_reset()
- KP_Delete should be handled the same way as Delete
- Translation update form Weblate for de, he, pl, tr, uk
2020-10-08 12:09:36 +02:00
Mike FABIAN
3b665212c2 Update to 2.9.8
- Prevent also Delete from reopening a preedit when the option
  “Arrow keys can reopen a preedit” is off
- When the input is empty, Escape should be passed through,
  not inserted into the preedit
- Fix itb_util.tokenize(): if the input is only whitespace,
  the return should be an empty list
- Don’t clear context after typing Return, KP_Enter, ISO_Enter
- Improve behaviour of case modes
- Update emoji annotations from CLDR
2020-10-07 11:53:45 +02:00
Mike FABIAN
94431719c5 Update to 2.9.7
- Add commands “next_case_mode” and “previous_case_mode”
  with configurable key bindings
- Better hot key handling for modifier keys like Shift_L, …
- Use labels 1, 2, 3, … for the lookup table instead of 1., 2., 3., …
- Update emoji annotations from CLDR
2020-09-07 18:37:38 +02:00
Mike FABIAN
522200d12d Update to 2.9.6
- Make translations of 'Edit key bindings for command “%s”' work
- Don't hide emoji-picker.desktop from AppStream (by Gunnar Hjalmarsson)
- Translation update from Weblate for pt_BR, sv (100%)
2020-08-27 13:11:18 +02:00
Mike FABIAN
e6145cd0df Update to 2.9.5
- Treat characters 'ÅåÄäÖö' as special when matching in the Swedish dictionary
  (Resolves: http ://github.com/mike-fabian/ibus-typing-booster/issues/126)
- Update emoji annotations from CLDR
- AppStream tweaks by Gunnar Hjalmarsson
- Translation update from Weblate for ca, de, es, sv
2020-08-05 13:08:56 +02:00
Fedora Release Engineering
349170972e - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 01:36:04 +00:00
Tom Stellard
3894d54a33 Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-21 10:13:36 +02:00
Mike FABIAN
9ed9f2b9ba Fix build on rawhide and f31 2020-07-16 09:57:41 +02:00