1
0
Fork 0
Commit graph

437 commits

Author SHA1 Message Date
sspanak
797a4e798e more Bulgarian words 2023-07-19 11:58:34 +03:00
sspanak
39f9073d82 removed some nonsense Ukrainian words 2023-07-19 11:58:34 +03:00
sspanak
b289fafffc revert Ukrainian and Russian update 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
c530214aaf Romanian language (#304) 2023-07-14 11:01:22 +03:00
Dimo Karaivanov
80ab777b3e
fixed 0-key and 1-key character validation (#305) 2023-07-13 15:37:31 +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
sspanak
98df955ed3 Greek language 2023-07-03 11:52:08 +03:00
Gabriel
3dfc72598a
Complete Spanish language strings (#294) 2023-07-03 11:49:36 +03:00
Dimo Karaivanov
dca98308e6
Danish language (#293) 2023-06-30 11:50:34 +03:00
sspanak
4edda7c763 added an extra validation rule for Hebrew and removed two invalid Yiddish words 2023-06-27 11:15:20 +03:00
sspanak
6eef23815c removed some nonsense words from German, English, Dutch and Ukrainian 2023-06-27 11:15:20 +03:00
sspanak
5aab088f7c added many new Italian words 2023-06-27 11:15:20 +03:00
sspanak
3872ba1500 added new German words 2023-06-27 11:15:20 +03:00
Dimo Karaivanov
1cd0b15a72 added new Polish words 2023-06-27 11:15:20 +03:00
Dimo Karaivanov
6e8d7ae90f added many new Ukrainian words 2023-06-27 11:15:20 +03:00
Dimo Karaivanov
efb0e4bf87 added many new Russian words 2023-06-27 11:15:20 +03:00
sspanak
6d54ebc651 added new French and Dutch words 2023-06-27 11:15:20 +03:00
sspanak
9d0d94122f .editorconfig rules for YAML 2023-06-27 11:15:20 +03:00
sspanak
eb6c3094dc added validation if words match the language alphabet upon build time 2023-06-27 11:15:20 +03:00
sspanak
e2691110cd aosp2tt9.js script
build.gradle cleanup
2023-06-27 11:15:20 +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
sspanak
d1cf456996 fixed too aggressive minification causing missing languages 2023-06-07 14:32:43 +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
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