1
0
Fork 0
Commit graph

47 commits

Author SHA1 Message Date
Dimo Karaivanov
44ecb8999e
Build scripts cleanup and dictionary loading optimization
* moved the source languages out of assets/ into their own directory (#356)
  
  * split build.gradle into several smaller files

  * improved word frequency validation during build time

  * slightly optimized dictionary loading speed using pre-calculated file size

  * fixed a potential crash when loading invalid assets

  * fixed dictionary loading progress starting at 100% then jumping to 0% when manually loading two dictionaries one after another

  * documentation update
2023-08-21 15:29:30 +03:00
sspanak
c692126b1a upgraded: androidx.room 2.5.1 -> 2.5.2; androidx.preference 1.2.0 -> 1.2.1 2023-08-04 10:19:57 +03:00
Dimo Karaivanov
80ab777b3e
fixed 0-key and 1-key character validation (#305) 2023-07-13 15:37:31 +03:00
Dimo Karaivanov
c4a78c1931
Removed SnakeYAML to prevent crashes on older devices (#302) 2023-07-11 17:55:24 +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
sspanak
4edda7c763 added an extra validation rule for Hebrew and removed two invalid Yiddish words 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
d1cf456996 fixed too aggressive minification causing missing languages 2023-06-07 14:32:43 +03:00
sspanak
6ba25d695d upgrade Gradle 8.0.1 -> 8.0.2 2023-05-31 09:47:44 +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
sspanak
d32bc12098 updated RoomDB 2.5.0 -> 2.5.1 2023-03-28 10:28:11 +03:00
sspanak
eee786ce56 gradle upgrade 7.4.1 -> 7.4.2 2023-03-14 11:44:48 +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
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
9e46213454
Full CI validation (#183)
* validateDictionaries gradle task now makes use of caching for much faster builds

* lowered the severity of missing translations linting rule 

* fixed some more errors in the translations

* added linting task to the GitHub CI validation workflow

* enabled GitHub CI validation on push to master
2023-02-13 11:17:16 +02:00
Dimo Karaivanov
a419a6c4cb
GitHub actions (#167)
* added a github workflow for closing stale issues

* added github PR validation workflows

* fixed the dictionary validator missing digits in words

* fixed the build failing completely when there no git tags

* updated androidx.room 2.4.3 -> 2.5.0
2023-01-31 17:58:40 +02:00
Dimo Karaivanov
2510aba58a
Csv dictionary support (#145)
* the dictionary loader now supports word frequencies

* word frequency validation upon building

* added default word frequencies to all dictionaries

* updated documentation
2023-01-26 11:47:34 +02:00
sspanak
759317dce1 Language improvements
* fixed some English words always appearing in small letters, when some should be capitalized (I, Friday, December, etc...)"

* fixed Bulgarian words that should have been capitalized, but were not

* fixed mixed case suggestions priority not updating

* optimized dictionary loading (it's more than 2x faster now)

* fixed the last words of dictionaries not being loaded
2022-12-25 15:28:43 +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
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
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
acc9d1c8c4 update gradle to 7.3.1 2022-11-08 10:37:14 +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
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
e5b937b995 fixed the user version being incorrectly incremented more than it should 2022-08-15 10:00:35 +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
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
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
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
00665c7913 Fixed building with keystore/keypass prompts 2015-08-08 03:48:54 +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
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
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
e08e27c903 I hope final build script fix 2014-02-17 19:58:20 +11:00
Clam
a3e2a74249 Update build scripts and add Play Store filter 2014-02-17 19:47:22 +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
f480eb492c Added Gradle build files, changed dict filenames 2013-11-23 17:49:24 +11:00