1
0
Fork 0
Commit graph

299 commits

Author SHA1 Message Date
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
sspanak
6ba25d695d upgrade Gradle 8.0.1 -> 8.0.2 2023-05-31 09:47:44 +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
Dimo Karaivanov
b3fde40aa2 upgrade gradle 7.4.2 -> 8.0.1 (#259)
* upgraded gradle 7.4.2 -> 8.0.1

* updated github workflow

* removed RenderScript

* excluded 'kotlin-stdlib-jdk8' to prevent 'duplicate class' errors

* updated memory limits
2023-05-17 11:48:01 +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
sspanak
cf5682d808 added donation information 2023-04-25 18:12:43 +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
Dimo Karaivanov
7f6cd6110d renamed the Soft Keys to Func Keys 2023-03-31 10:42:54 +03:00
sspanak
9cdf82f522 easier access to the setup screen 2023-03-31 10:06:33 +03:00
sspanak
eba1e128b4 pressing OK, Change Language/Mode keys now triggers Main View show up, if it is hidden 2023-03-30 11:19:12 +03:00
Dimo Karaivanov
baca3c1d8f
Status bar (#230)
* input mode is now displayed in a StatusBar

* status icons are no more >:)

* updated docs

* removed the EDITING_NOSHOW mode, because it became obsolete and it was preventing the StatusBar from appearing in some ABC-only fields
2023-03-30 11:11:59 +03:00
sspanak
37abc2bbc4 fixed a potential crash when trying to highlight invalid words 2023-03-28 10:28:11 +03:00
sspanak
d32bc12098 updated RoomDB 2.5.0 -> 2.5.1 2023-03-28 10:28:11 +03:00
Dimo Karaivanov
c6c8cd5058 fixed incorrect force showing of the main view on start up, causing loss of control in Telegram, Waze and possibly other apps 2023-03-28 10:23:45 +03:00
sspanak
2df5932896 Improved OK handling
* OK key now attempts to send DPAD_CENTER or ENTER (if needed), in attempt to make it work consistently accross all devices

  * OK is no longer ignored in numeric mode
2023-03-27 12:44:30 +03:00
Dimo Karaivanov
d6884ef894 fixed dialer field detection 2023-03-22 13:11:51 +02:00
Dimo Karaivanov
3f3b733490
Swedish language (#223)
---------

Co-authored-by: KaniJonas <127991222+KaniJonas@users.noreply.github.com>
2023-03-21 13:43:22 +02:00
Flávio Zavan
62f2a39b58
Add Finnish language (#220) 2023-03-20 15:40:18 +02:00
Dimo Karaivanov
80facb4930
Add soft key support (#217)
* Update strings.xml (#215)

* Update Hotkeys.java

---------

Co-authored-by: DarthFlip <125198280+DarthFlip@users.noreply.github.com>
2023-03-20 11:46:11 +02:00
Dimo Karaivanov
787ba1c1ef
Initial setup screen (#212)
* enabled the launcher icon

* added an initial setup screen, for when TT9 is disabled

* documentation update
2023-03-17 10:37:02 +02:00
sspanak
eee786ce56 gradle upgrade 7.4.1 -> 7.4.2 2023-03-14 11:44:48 +02:00
Dimo Karaivanov
a41dd9edd5
Punctuation Improvements (#211)
improved auto space adjustment around '-' and '/'

improved auto space adjustment when the next character is a punctuation mark

code cleanup: moved auto text case code, auto space code and suggestion loading code to their own classes
2023-03-13 15:33:54 +02:00
sspanak
ca15ff230b added support for languages with one text case 2023-03-13 10:41:11 +02:00
sspanak
e82ae8eaed added right-to-left UI support
* added right-to-left support in the Settings and the Add Word dialog

* standartized the Add Word dialog layout
2023-03-13 10:41:11 +02:00
Ashi Vered
c6bb88fbb8 add hebrew 2023-03-13 10:41:11 +02:00
Dimo Karaivanov
cd03dec9ff
Brazilian Portuguese (#203)
* added Brazilian Portuguese

* more dictionary processing scripts
2023-03-13 10:21:36 +02:00
Dimo Karaivanov
f146eaeae2
Norwegian (#191)
* Added Norwegian Bokmål

Co-authored-by: Joddsus <arne.karstensen@gmail.com>
2023-03-10 09:05:33 +02:00
Dimo Karaivanov
b2dfa456b0 added support for Clear key 2023-03-10 09:03:47 +02:00
Dimo Karaivanov
6f349d66aa
Automatic language IDs (#196)
* Language IDs are now automatically generated. No more manual housekeeping.

* The database words are properly migrated to avoid dictionary re-import, because of the new IDs

* No unnecessary notifications when 'change language' key is pressed, but there is only one language

* Database code cleanup
	
	* Moved the database exceptions and room classes to separate packages

	* Migrations done the right way

* Updated the contribution guide
2023-02-28 16:20:18 +02:00
Dimo Karaivanov
935ca590c9
Improved dictionary validation (#195)
* more dictionary validations during build time (empty line and punctuation presence)

* slightly improved dictionary loading speed

* removed a blank line from Ukrainian
2023-02-27 21:26:10 +02:00
Dimo Karaivanov
9b0a3c64ef
OK sends messages (#194)
* OK now performs the default application action correctly, when an action is allowed (e.g. send a message, go to a URL or the next form field)

* updated manual
2023-02-27 16:35:11 +02:00
Dimo Karaivanov
c523f0f0f1 fixed automatic capitalization not working at the beginning of the field, when there is already some text in it 2023-02-23 14:40:18 +02:00
Dimo Karaivanov
3c9d01a347 automatic full logging in debug mode 2023-02-23 14:40:18 +02:00
Dimo Karaivanov
1178357b4a Settings Reorganization
All categories are now on separate screens

Added a 'Clear Unselected' dictionary option

The 'auto space' setting is now on by default

Reorganized the emoji and added 4 new ones
2023-02-23 14:40:18 +02:00
sspanak
d7ead4ba06 upgraded Gradle 7.3.1 -> 7.4.1 2023-02-23 09:44:42 +02:00
Dimo Karaivanov
5b4c7c101e fixed stem filter activation/deactivation problems that caused disappearing words 2023-02-16 08:52:45 +02:00