1
0
Fork 0
Commit graph

173 commits

Author SHA1 Message Date
sspanak
7fda45de33 fixed Predictive mode sometimes starting up in uppercase unexpectedly 2023-08-02 10:40:44 +03:00
sspanak
6f049f0ec4 no more unnecessary arrow key handling, when there is no hotkey association 2023-08-02 10:40:13 +03:00
Dimo Karaivanov
c6edb5a726
On-screen keyboard improvements (#323)
* holding a number key to type a number in text modes is now possible using the on-screen keyboard

* accented letters are no longer displayed on the on-screen keyboard, just plain A-Z

* the on-screen keyboard is now more compact; 

* improved color scheme and other small visual enhancements
2023-08-01 10:29:03 +03:00
alexknop
d4c6467da3
Calculator apps now work in Passthrough mode (#326)
---------
Co-authored-by: Alex Knop <alexknoptech@protonmail.com>
Co-authored-by: sspanak <doftor.livain@gmail.com>
2023-08-01 10:27:19 +03:00
Dimo Karaivanov
cd60c55fe5
partially revert 8ce404d2b6 to have the correct OK event when when the connected app requests a standard IME action (#325) 2023-08-01 09:55:56 +03:00
Dimo Karaivanov
c0eb1eafbb
fix BACK key navigating back, instead of hiding the UI on touchscreen phones (#327) 2023-08-01 09:47:31 +03:00
Dimo Karaivanov
dd11b26fae
Numeric mode refactoring again (#321)
* proper handling of POUND and STAR, when no hotkey function is assigned to them

  * Mode123 types numbers as text again, instead of using key codes

  * removed the InputMode.onOtherKey() functionality, all "other" stuff will be typed as text from now on

  * slightly optimized TraditionalT9.getComposingText() to return faster when there is no text
2023-07-31 12:25:57 +03:00
Dimo Karaivanov
005683bb7e fixed auto-accepting causig MainView to hide unexpectedly when changing the input mode (#324) 2023-07-28 21:38:15 +03:00
alexknop
49eda37b99
removed the last of the legacy Backspace hack (#318)
---------

Co-authored-by: Alex Knop <alexknoptech@protonmail.com>
Co-authored-by: Dimo Karaivanov <doftor.livain@gmail.com>
2023-07-28 11:40:43 +03:00
alexknop
8ce404d2b6
fixed OK key not sending the correct key event when the connected app passes a standard IME_ACTION through the custom actionId property (#309)
Co-authored-by: Alex Knop <alexknoptech@protonmail.com>
2023-07-26 16:33:39 +03:00
alexknop
b985eb1849
added a workaround to show the MainView on older Android devices < 9 (#310)
---------

Co-authored-by: Alex Knop <alexknoptech@protonmail.com>
Co-authored-by: Dimo Karaivanov <doftor.livain@gmail.com>
2023-07-26 16:16:19 +03:00
alexknop
60da04fa6e
Improved rules for automatic capitalization at the begining of a sentence (#314)
Co-authored-by: Alex Knop <alexknoptech@protonmail.com>
2023-07-26 15:45:39 +03:00
Alex Knop
55350b0278 remove beoff 2023-07-21 16:38:16 +03:00
sspanak
02ffbea3f7 added missing migration steps 2023-07-19 11:58:34 +03:00
sspanak
70df1bee60 swapped the default d-pad up/down and left/right functions 2023-07-14 11:04:52 +03:00
Dimo Karaivanov
0aa934cebd
Bulgarian update (#268)
* fixed Bulgarian layout: moved 'ь' to 8-key 

* added a migration for removing all Bulgarian words, since the digit sequences are no longer compatible with the new layout

* fixed incorrect text case of some words

* removed some nonsense words

* added new Bulgarian words
2023-07-13 14:33:54 +03:00
Dimo Karaivanov
c4a78c1931
Removed SnakeYAML to prevent crashes on older devices (#302) 2023-07-11 17:55:24 +03:00
sspanak
ec8186b137 when adding words text case is now preserved 2023-07-05 15:21:38 +03:00
sspanak
7b42feefe4 removed unnecessary looper.loop() call when displaying async Toasts 2023-07-04 11:18:58 +03:00
sspanak
17e9b779e6 removed the capital letter hack and added a new one, only for the English I, in DictionaryLoader
removed some unused code and fixed a spelling mistake
2023-07-04 11:18:58 +03:00
Dimo Karaivanov
dc0468ffeb
Proper quotation marks in all languages instead of default US ones (#297)
* proper quotation marks in all languages instead of default US ones

* auto-space after French and German quotation marks
2023-07-04 11:12:21 +03:00
Dimo Karaivanov
6756de4466
YAML language definitions (#292) 2023-06-26 15:14:22 +03:00
Dimo Karaivanov
241a4125b0
Easier contraction typing (#289)
* removed isPunctiationPartOfWords hack and created a new contraction input method that allows typing just anything, instead of predefined list coming from the dictionary

* updated the common compound words and contractions in Bulgarian, Dutch, English and French

* removed some non-sense and rarely used English words

* fixed crashing when trying to find words with apostrophes in the database

* fixed a crash when trying to capitalize single character strings

* improved dictionary validation at build time: spaces are now disallowed
2023-06-20 09:29:48 +03:00
sspanak
cf766334d6 the composing/selected text is no longer cleared on startup to avoid unexpected text loss 2023-06-13 09:32:00 +03:00
Dimo Karaivanov
09e5e1b2ca
Arrow keys enhancements (#283)
* added suggestion operation hotkey settings; DPAD arrow keys are now fully configurable

* added on-screen keys for filtering and selecting suggestions

* added missing French translations
2023-06-09 14:29:39 +03:00
Dimo Karaivanov
ea1cc663d4
Hotkey configuration issues (#282)
* the 'show settings' hotkey can now be nulled out

* fixed hotkey status becoming indeterminate and sometimes impossible to change after unsetting all, then resetting all to default

* user manual update
2023-06-08 08:59:28 +03:00
Dimo Karaivanov
2d57b71848
Better support for hardware backspace (#281)
* DEL and CLEAR keys now work out-of-the-box, without extra configuration

* removed the DEL and CLEAR hotkey options
2023-06-07 11:27:36 +03:00
Dimo Karaivanov
c63d054422
Improved db operations and db feedback (#279)
* prevented crashing when database indexes are missing, they are now permanent instead of being created on-the-fly when loading a dictionary

* code style fixes in DictionaryDb.java

* removed some unused code

* counting the dictionaries to be loaded is no longer responsibility of the Load Button, but of the DictionaryLoader

* delete dictionary buttons are now being locked while deleting is in progress; also, a status message is displayed for better UX

* updated translations and documentation
2023-06-07 11:08:00 +03:00
Dimo Karaivanov
f92ad96827
Fix small typing regressions (#280)
* fix Predictive mode sometimes starting in UPPERCASE unexpectedly

* fixed incorrect extra auto-space when the cursor is before or in the middle of a word

* no auto-space when the next composing character is whitespace or a special one

* auto-space is added after an emoji
2023-06-07 11:01:40 +03:00
Dimo Karaivanov
db53e740f4
fixed 123 mode not working on some Kyocera and LG phones... hopefully... (#274) 2023-06-05 16:22:17 +03:00
alexknop
ada5b48b9c
remove logic for numbers, instead using includeDigit (#278)
Co-authored-by: Alex Knop <alexknoptech@protonmail.com>
2023-06-05 16:05:05 +03:00
Dimo Karaivanov
4aa11b9501
automatic text case improvement: lowercase is now enforced, when the cursor is next to or in the middle of a word (#272) 2023-06-05 15:50:08 +03:00
Dimo Karaivanov
de964e8b0f
Auto accept in abc mode (#269)
* added automatic delayed suggestion accept support in ABC mode

* fixed: impossible to type a letter in ABC after coming back from preferences, if the same key was pressed before opening them
2023-06-05 15:45:10 +03:00
sspanak
4405c0e34b added ',' to the 0-key double press shortcut list 2023-06-01 10:52:40 +03:00
Dimo Karaivanov
9b33937220
mEditing is no more (#265)
* removed mEditing and simplified initial mode selection and validation

* fixed the status bar displaying incorrect text when in a limited field

* fixed incorrect auto text case being selected after toggling all modes, then going back to Predictive

* fixed the on-screen keyboard sometimes not updating when the input mode changes
2023-05-31 09:53:34 +03:00
mcfrei
7f6af7d413
fix nullref on exiting dialer by long pressing of Back key on KYF33 (#262)
* fix nullref on exiting com.android.dialer by long pressing of Back key on KYF33

* fix misleading ModeDialer.toString()

* fix textField and inputType are assumed to be defined everywhere

* fix yet another potential case of currentInputConnection = null

---------

Co-authored-by: sspanak <doftor.livain@gmail.com>
2023-05-26 11:18:24 +03:00
rjolina
adeae333b2
Add Polish language (#234)
---------

Co-authored-by: sspanak <doftor.livain@gmail.com>
2023-05-16 11:32:35 +03:00
DarthFlip
89ef3ca8b3
Add Yiddish Language (#247)
---------

Co-authored-by: sspanak <doftor.livain@gmail.com>
2023-05-15 14:53:19 +03:00
Zaky Bilfagih
7213338f2f
Add Indonesian language (#248)
---------

Co-authored-by: sspanak <doftor.livain@gmail.com>
2023-05-15 14:43:29 +03:00
Dimo Karaivanov
008590bdf8
Fixed unusable hotkeys and typing issues in very specific cases (#258)
* fixed '*', '#', "." and "," not working properly in 123 mode

* fixed typing "+" by holding 0-key not working in Dialer fields

* fixed Predictive mode not allowing the same key for typing and as a hotkey, when being pressed and held, respectively.

* removed EDITING_STRICT_NUMERIC, EDITING_DIALER and deprecated mEditing

* added ModeDialer
2023-05-13 08:51:55 +03:00
Dimo Karaivanov
8949c65f4f
Fixed only 8 suggestions appearing, when there are actually more (#257)
* fixed a regession after the optimizations, that caused only 8 exact word matches to appear, when there are more

* code cleanup: replaced Thread classes with lambdas in DictionaryDb
2023-05-11 17:00:47 +03:00
Dimo Karaivanov
c3787138fa
Speed Optimizations (#250)
* emoji micro optimizations

	* Predictive Mode: reduced post-load processing time from 20 ms to <1 ms

	* EmptyDatabaseWarning does not run unnecessary queries, when the time for the next warning has not come yet

	* replaced unnecessary Handler with lambdas in EmptyDatabaseWarning and Add Word dialog

	* slightly simplified the word searching, importing and clearing code

	* word length is now stored in the database, instead of being calculated on-the-fly, while searching

	* created sepearate indexes and queries for 2-letter and longer words; suggestion loading time reduced from 50-60 ms, peaking to: 200 ms, down to: <20 ms with peaks to: 50-60 ms.

	* imporved dictionary loading speed by temporarily disabling the database indexes
2023-05-10 09:50:41 +03:00
Dimo Karaivanov
4d67c02340
(not so) big code cleanup (#243)
* removed some unused resources and code

* removed a nonsense package.json section from .editorconfig

* minimized the usage of mEditing

* removed obsolete toggling of the system candidate view
2023-04-28 09:39:23 +03:00
Dimo Karaivanov
1fa1e7c6e6
Small fixes (#242)
* fixed the main view not showing up in some cases

* fixed crashing when changing the theme

* fixed 1-key not working after using it in 123 mode, then switching to ABC mode

* fixed auto-space not working with the on screen punctuation keys

* fixed on-screen punctuation keys erasing the previously typed, but unaccepted word

* fixed more auto-space issues

* fixed key repeating being reset incorrectly when holding some key

* fixed pressing 1-key accepted even if there are no more emoji, in Predictive Mode
2023-04-28 09:31:50 +03:00
Dimo Karaivanov
b8b05c6d1b Fixed on-screen keys holding
* Backspace works properly

	* holding 0-key now types '+' in 123 mode

	* holding the punctuation keys now allows for typing ',' and '.' in 123 mode
2023-04-21 11:32:36 +03:00
Dimo Karaivanov
6173291a1c added support for Volume Up and Volume Down keys 2023-04-21 11:32:36 +03:00
Dimo Karaivanov
9c362be847 ignored key presses are now properly passed back to Android 2023-04-21 11:32:36 +03:00
sspanak
e5cf2f1fce added numpad separators and imporved the overall readability 2023-04-21 11:32:36 +03:00
sspanak
eb67ab18ea big code cleanup and code style fixes of the entire project 2023-04-21 11:32:36 +03:00
nebkrid
4e5416f6b4 Touchscreen support + small improvements
* Soft-Keyboard numpad

* no more SoftKeyHandler, the main view is in its own package

* settings are no longer passed unnecessarilly here and there

* fixed numeric mode not working in some cases

* simplified suggestion handling

* fixed crashing when changing the phone orientation
2023-04-21 11:32:36 +03:00