1
0
Fork 0
Commit graph

49 commits

Author SHA1 Message Date
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
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
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
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
iaros
9c82ef97dc Fixed t9 lookup for Ukrainian 2017-04-02 13:14:47 +03:00
iaros
7e8ffd88b0 Unicode header removed 2017-03-31 02:34:28 +03:00
iaros
4e815621a3 And final fixing of broken layout 2017-03-31 02:18:47 +03:00
iaros
60db3f76db More fixing broken layouts 2017-03-31 02:12:47 +03:00
iaros
569188068e More repair formatting + fix broken layouts 2017-03-31 02:01:56 +03:00
iaros
1b2c0c8d8d Repair formatting 2017-03-31 01:26:50 +03:00
iaros
cd56dd182f Ukrainian/French layout
Add basic support for Ukrainian layout;
Add missing chars to French layout; 
Remove unused chars in French layout; 
Rearrange French layout.
2017-03-28 06:08:21 +03:00
Clam
e08c4a4fde Fixed #11 and #5, changed remapping feature
* Added "Space on Zero" option to address #5
* Implemented quick and simple fix for #11
* Expanded remapping feature. Can remap just IME keys or OSwide.
2016-03-19 23:15:53 +11:00
Clam
1b15cd0928 Added initial Italian support + more:
* Added "word at cursor" search when adding new word.
* Attempted crashfix for weird suggestion building crash
2016-01-13 16:09:28 +11:00
Clam
81d3bd65bb Fix crash on view create 2016-01-04 00:41:56 +11:00
Clam
f486fbbde5 Fix crash when trying to scroll (no) suggestions 2016-01-01 12:25:27 +11:00
Clam
d3b10a47bf Hopefully fix bug and fixed UI mishap:
* This hopefully fixes #7 somewhat properly.
* Also fixed weird settings UI when moved from Preferences
2015-12-31 15:41:44 +11:00
Clam
84d8ead7ad Gradle fixes, alphabet mode fixes, french fixes:
* Added more French resources
* Fixed up gradle script
* Added temp fix for alphabet mode
2015-12-14 17:35:00 +11:00
Clam
9458c58b2e Added French icons. Fixed bugs in settings nuke. 2015-09-11 19:50:48 +10:00
Clam
0ec529a6d3 Added French support and many other changes:
* Updated gradle
* Gradle build script changed to prompt for password in UI
* Initial French support NOTE: Missing UI resources.
* IntelliJ IDEA: Optimize Imports
* Fixed dictionary loading UI oddity when loading multiple dicts
2015-08-08 02:37:34 +10:00
Clam
e7466a292f Add support for customizing STAR (*) and POUND (#) keys also:
* Updated gradle
* Changed t9 autoselect delay
* Allow comments with # in keymap file
2014-12-08 17:33:25 +11:00
Clam
738fc6db36 Added initial key override support. Use at own risk. 2014-11-04 22:40:09 +11:00
Clam
161e27d8af Fixed bugs, finished settings:
* Checkbox wasn't complete, completed it.
* Fixed DB crash on update due to bad ordering of update stmts
* Fixed crash on boot due to saving lang status
2014-11-04 14:16:56 +11:00
Clam
b40db96182 Phew. Changed settings backend. Used more ENUM, fixed some bugs.
* Settings now use the database instead of SharedPreferences (which are
  bad)
  * Changed many constants to now be ENUMs.
  * Changed some character mappings which were too big.
  * Added limit to number of results returned to stop crash.
  * Changed Lang id so can do binary operations on it
  * Removed some old code
2014-11-03 22:46:02 +11:00
Clam
079de4c475 Added initial German support. Updated gradle things, fixed bugs:
* Made the Gradle script act a bit better in regards to calcing dict sizes
* Fixed some error messages
* Hopefully fixed crash on no dict load
* Fixed issue where some characters and cases weren't added to db
2014-10-21 01:17:02 +11:00
Clam
fedd835ba5 Add IME default action on long press hash.
* also removed some debug messages
2014-03-30 20:38:12 +11:00
Clam
2e16566185 Fix filter list bug 2014-03-30 20:12:46 +11:00
Clam
faf704bc67 Added mode change notifications 2014-03-30 16:34:51 +11:00
Clam
9150bf62d7 Fixed some bugs, and added some things:
* Updated gradle
* Composed text now changes on selection change
* Added content description for smileys and trimmed smiley list
* Added localization for symbol/smiley dialog
2014-03-29 23:41:32 +11:00
Clam
2ba6003ea9 Attempted more UI fixing.
(This does not work though and will need to be rolled back to e08e27c903.)
2014-03-14 08:12:03 +11:00
Clam
cbb7561506 Cleaned up some code, attempted fix for UI staying
* Also changed manifest to filter non hardware keyboard devices.
2014-03-01 23:57:05 +11:00
Clam
65da823bd8 Fix a little slowness and update build scripts 2014-02-17 19:05:58 +11:00
Clam
b0d403257b Big changes: Multilingual, dbupdating, bugfixes:
* Multilingual backend support with initial Russian language support
* Updater service to update the database in the background, and overhauled
backend access
* Fixed long pressing numbers in Lang mode would not input digit
* Fixed Add Word not behaving as you would expect
* Some other minor fixes
2014-02-17 00:03:14 +11:00
Clam
e226f45c26 Fixed some bugs and cleaned up codes
* Fixed crash on backspacing from symbol (1 key)
* Hopefully fixed weird crash trying to dismiss view
* Fixed long press not working for SoftKeys
2013-07-27 18:52:20 +10:00
Clam
1f9a97929e Initial commit 2013-07-02 15:35:21 +10:00