1
0
Fork 0
Commit graph

106 commits

Author SHA1 Message Date
Dimo Karaivanov
6fed5b69d6 the initial text case is now obtained from the input field 2022-12-09 11:09:02 +02:00
Dimo Karaivanov
283bf7de6b no more unnecessary throtling of the hardware backspace key 2022-12-09 11:07:55 +02:00
sspanak
ff1c832a5a Building aborts after 50 dictionary validation errors, otherwise it keeps going forever 2022-12-09 10:54:30 +02:00
Dimo Karaivanov
70a6fb49ea Enabled APK optimizations for smaller size and faster performance 2022-12-09 10:54:30 +02:00
Dimo Karaivanov
b6fff70334 Android SDK and libraries upgraded to latest version (SDK 30 -> 33) 2022-12-09 10:54:30 +02:00
Dimo Karaivanov
b637a0b9d6 Zero Improvements
* 0-key now types special/math characters. All characters normally avaialable on a computer keyboard are available now

	* Predictive Mode: Added many new emoji

	* updated user manual

	* Fixed the new line being invisible in the suggestions list

	* Predictive Mode: punctuation list on 1-key has no priorities and remains static all the time

	* Added 'automatic space' setting

	* Added 'auto capitalization' setting

	* Added missing translations

	* Unsupported emoji are no longer displayed

	* Code cleanup and speed optimizations

	* Fixed incorrect suggestion filter values, that would cause broken emoji
2022-12-09 10:54:30 +02:00
Dimo Karaivanov
6a2e1806d1 removed the git hash from 'versionName' and also made the git version tag stricter, not to fail with random tags 2022-12-01 17:01:38 +02:00
sspanak
bd73918f6a New Settings Screen more bugfixes
* proper error messages are displayed when dictionary loading fails or is cancelled

* debounced the clicking on ItemClickable to avoid weird side effects, caused by faulty devices, sending multiple click events

* a couple of French translations on the Settings screen

* fixed Settings screen blinking in some cases

* fixed default hotkey value cannot be 'no key'

* fixed SuggestionsView having the incorrect theme forced at startup
2022-12-01 17:01:38 +02:00
sspanak
a6fa129984 New settings screen stabilization
* Fixed crashes, caused by using the incorrect Android Context

* Default keys are properly set the very first time Settings screen is opened

* Dictionary loading status is now displayed on the Settings screen

* Dictionary loading time is now displayed after operation is completed
2022-12-01 17:01:38 +02:00
sspanak
b550d5d5dd New Settings screen
* Settings screen is now based on the Android SharedPreferences

* Added function key configuration on the Settings screen

* Added a setting for toggling the on-screen buttons

* Added a dark/light theme setting

* Improved translations

* Fixed a problem with launching the Settings screen directly from the Android settings

* Fixed ignoring keys not actually ignoring them properly
2022-12-01 17:01:38 +02:00
Poussinou
4e59d3393c Update README.md 2022-11-30 11:23:33 +02:00
Dimo Karaivanov
cfb9e18a76 version name generator now counts only the 'v' tags and also takes into account beta versions 2022-11-29 16:56:59 +02:00
sspanak
5797e1bf4d code style fixes in build.gradle 2022-11-11 20:02:10 +02:00
sspanak
d37b7139c6 fixed a crash when trying to add a word, but the input connection is already closed 2022-11-11 16:26:46 +02:00
Dimo Karaivanov
103bb93214 * dictionary loading errors are now displayed in the progress notification
* proper icons for dictionary loading status

* a toast message appears when dictionary loads successfully or when it fails
2022-11-10 12:39:49 +02:00
Dimo Karaivanov
2b25eae760 Random bugs
* ABC Mode: fixed candidate letter disappearing, when changing the text case, after the same number key has been pressed twice or more

* Predictive Mode: fixed words not being automatically capitalized if text is entered and deleted repeatedly

* fixed the on-screen keys having incorrect height
2022-11-08 14:56:22 +02:00
Dimo Karaivanov
1e88f81e77 selecting a word stem filter now also highlights the stem in the current word, to make it clear it is on 2022-11-08 14:52:59 +02:00
sspanak
acc9d1c8c4 update gradle to 7.3.1 2022-11-08 10:37:14 +02:00
Dimo Karaivanov
b0c7f6b67f dictionary loading progress is now displayed as a notification 2022-11-07 13:31:30 +02:00
Dimo Karaivanov
0126e3db64 * Candidates list no longer covers the application in use
* Changed the candidates list styles to match the application look and feel
2022-11-07 13:12:01 +02:00
Dimo Karaivanov
528ebb123b fixed incorrect settings reset on startup 2022-11-04 10:17:08 +02:00
Dimo Karaivanov
f152232bbe
Suggestion improvements (#93)
* Predictive mode: when automatic text case is selected, capitalized dictionary words are displayed correctly (Dutch and German)

* Predictive mode: when generated and dictionary suggestions are displayed together, the dictionary suggestions come first

* Removed a nonsense Bulgarian word

* Added "it's" and "let's" to English

* InputMode now takes care of the text case
2022-11-02 09:58:33 +02:00
Dimo Karaivanov
10099f1c37
New dictionary loader (#89)
* new, simpler (and hopefully, more efficient) dictionary loader

* no more dict.properties

* dictionaries are now validated during the build process

* TraditionalT9Settings code cleanup and code style improvements

* removed English, French, Italian, Russian repeating words

* removed invalid and repeating German words
2022-10-27 14:31:57 +03:00
Dimo Karaivanov
0ac7ec1790
More Predictive mode improvements (#82)
* Predictive mode now allows typing new/unknown words entirely, instead of allowing only existing word variations

* suggestions can now be filtered using the DPAD Right key
2022-10-24 13:40:08 +03:00
Dimo Karaivanov
8b67929a07
Dictionaries update (#80)
* added missing words to the Bulgarian dictionary

* English dictionary update

* removed repeating words from the Italian and Bulgarian dictionaries

* fixed incorrectly broken words and removed repeating ones from the Ukrainian dictionary

* Russian dictionary update

* documentation update

* made it possible to type words with apostrophes (Dutch, English and Ukrainian)
2022-10-24 13:32:31 +03:00
Tom
6c19edc8a3
Allow predictive mode in URLs and e-mail addresses (#88) 2022-10-21 11:06:52 +03:00
Tom
8534a7022a
Add Dutch language (#84)
* Add Dutch language
2022-10-20 11:28:09 +03:00
Dimo Karaivanov
acb48b7999
* fixed not updating the priority of uppercase words (#76)
* OK button now always accepts the entire current suggestion (as it should)

* LEFT button accepts the current word as-is

* in Predictive mode, when there are no more dictionary matches after the last key pressed, suggest all words ending with the letters for that key, instead of only the first one

* OK button now performs the default action when supported by the application (e.g. submit a message, go to a web page, etc...)

* smarter automatic text case selection in Predictive mode

* suggestion stem filter in Predictive mode

* all emoji are graphical

* updated the docs
2022-10-17 08:50:46 +03:00
Dimo Karaivanov
575293edb9
* each input mode is now in a separate file (#75)
* fixed mode 123 being incorrectly forced after typing in a numeric field, then going to a text field

* simplified context usage everywhere

* added some missing translations

* moved the Soft Key view to the SoftKey class to avoid memory leaks and to simplify the code a bit
2022-10-14 18:00:45 +03:00
Dimo Karaivanov
8d85215444
Restore Add word (#73)
* adding words to the dictionary is possible again

* removed some unused code

* updated Readme files

* special key handlers now validate the input mode themselves

* improved language validation and error handling here and there
2022-10-11 10:53:03 +03:00
Dimo Karaivanov
78b6681812
Total engine refactoring (#44)
* totally refactored the Languages, the Database and the IME module. New and more clear folder/package structure

* CharMap and LangHelper are no more

* removed many unused icons, translations and other resources

* deleted the old keymap samples

* Update user-manual.md

* Preferences are stored in Preferences, not in the database.

* removed some unclear and unused settings from the Preferences screen and the code.

* fixed issues with displaying the UI

* removed all non-English words and words with foreign spelling from the English dictionary

* 0 now works as it should in all modes.

* a more clear newline character in suggestions view

* last used input mode is now preserved and restored the next time

* removed the smiley and symbol dialogs

* capsMode -> textCase

* language names are no longer translated

* updated build instructions

* better use of threads for DB operations

* current text candidate is as long as the sequence, to make it more intuitive

* single characters are added to the end of the suggestion, when there are no more in the database

* Added ѝ to Bulgarian character map

* disabled adding words in a user-friendly manner

* when adding a new word is not possible, a toast message appears, for better user experience

* an error is logged when there are duplicate language IDs

* settings -> settings_legacy

* custom Logger class for easier debugging and no logcat flood in the Release version

* removed unnecessary single letters and invalid words from the dictionaries

* more translations cleanup; also corrected some weird translations

* upgraded gradle
2022-10-03 15:28:24 +03:00
sspanak
af172b79c9 added privacy policy to the user manual 2022-08-26 16:55:02 +03:00
sspanak
e5b937b995 fixed the user version being incorrectly incremented more than it should 2022-08-15 10:00:35 +03:00
sspanak
941fb3e754 fix unsupported requestShowSelf() usage on old Android versions 2022-08-14 17:49:33 +03:00
Dimo Karaivanov
c19c29912b
More code cleanup (#37)
* fixed the UI not appearing when a text field is re-focused

* cleaned up TraditionalT9.onStartInput() (removed the dependence on the deprecated KeyboardView.OnKeyboardActionListener)
2022-08-06 09:31:10 +03:00
Dimo Karaivanov
5d3894e403
Settings in SharedPreferences (#36)
* moved all settings from SQLite to SharedPreferences. The database now contains only dictionaries.

* removed key remapping, dictionary backup and nuke functions along with a bunch of unused code and translations
2022-08-05 14:18:53 +03:00
sspanak
8a025297c3 added missing main license and fixed several broken/missing documentation links 2022-07-31 08:35:23 +03:00
Dimo Karaivanov
b5e44e2a51
Initial code cleanup (#34)
* slightly optimized candidate scrolling animation

* added missing Russian translations

* the soft keys fit properly on the screen

* central soft key is now always 'OK', because users do not care about the exact functions it performs in the code

* removed 'mode notify'; it wasn't working on Android 11 anyway

* removed 'space on 0' option; 0 is always 'space' now

* disallowed global key remapping and removed the app setting
2022-07-30 12:11:22 +03:00
Dimo Karaivanov
24ec816681
New logo and updated documentation (#33)
* new logo

* updated license and readme files

* renamed the Java package name again
2022-07-23 15:13:18 +03:00
Dimo Karaivanov
004b06d694
"Back" can now delete text / Nokia style :) (#32)
* Back key deletes text in non-empty text fields

* fixed ignoring of TYPE_CLASS_PHONE input fields

* initial user manual
2022-07-16 17:19:10 +03:00
Dimo Karaivanov
a250d66bbd building improvements: new versioning system and app ID (#30)
* new versioning system based on git

* changed the application ID in compliance with the F-Droid inclusion policy

* updated documentation
2022-07-16 12:15:21 +03:00
sspanak
f4c93bf22b updated all language icons to use the same font and style and also be readable on higher DPI screens 2022-07-11 08:56:48 +03:00
Dimo Karaivanov
4cef087207 Bulgarian language
* don't add Ukrainian chars to Russian language database
* use a common punctuation map instead of repeating it for all languages
* added bulgarian language

Co-authored-by: akasaka <akasaka@somewhereinthe.box>
2022-07-11 08:56:48 +03:00
sspanak
336b569faa New beginning (#1)
* removed signing config when building a release
* slightly reorganized project structure
* .editorconfig
* updated README
2022-07-11 08:56:30 +03:00
Dimo Karaivanov
0a81e6845f
Make it buildable in 2022 (#41)
* Bump up to android-28, gradle 7.2

* updated gradle 2.2.1 -> 7.3.3

* readjusted API Level versions to support Mocor5 devices (hopefully)

* no longer using the deprecated notification.setLatestEventInfo()

* updated permissions list for compatibility with Android 9+

Co-authored-by: Ratmir Karabut <rkarabut@gmail.com>
2022-06-14 10:39:56 +10:00
Akasaka Ryuunosuke
a352deca43
Fix #29 (wrong route taken in handler when keymap is off) (#30)
* (nitpicking) Add "space on 0" proper description

* Fix https://github.com/Clam-/TraditionalT9/issues/29

Co-authored-by: akasaka <akasaka@somewhereinthe.box>
2021-02-22 21:33:23 +11:00
Clam-
6e9cc238e7
Merge pull request #19 from iaros/Clam+ukrainian
Add support for Ukrainian layout and edit French layout
2018-01-22 14:09:54 +11:00
iaros
b618d2522f
Update strings.xml
Corrected typo
2018-01-18 11:54:20 +01:00
iaros
135ed33a14 Merge pull request #3 from iaros/patch-1
Merge fixes from patch branch
2017-04-08 01:18:23 +03:00
iaros
60204283d6 Some credits for Ukrainian wordlist 2017-04-03 00:05:31 +03:00