0
0
mirror of https://github.com/florisboard/florisboard.git synced 2024-09-20 03:52:18 +02:00
Commit Graph

2038 Commits

Author SHA1 Message Date
Patrick Goldinger
6c879c46dc
Upgrade target API level to 33 2023-05-06 20:00:08 +02:00
Patrick Goldinger
407a477c6a
Update android.yml workflow 2023-05-06 19:09:26 +02:00
Patrick Goldinger
27af366234
Update nlp submodule ref 2023-05-06 19:06:17 +02:00
Patrick Goldinger
b76a25d649
Remove hardcoded ninja path from build.gradle.kts 2023-05-01 18:46:46 +02:00
Patrick Goldinger
8a2189c763
Update GitHub FlorisBoard CI workflow for new build config 2023-05-01 18:34:20 +02:00
Patrick Goldinger
c158eabedc
Update nlp submodule reference to match new state with Android NDK support 2023-05-01 18:11:33 +02:00
Patrick Goldinger
ff97c6120a
Adjust build system and FlorisApplication to load new ICU data properly 2023-05-01 16:44:08 +02:00
Patrick Goldinger
1314d0da93
Update build configuration for NLP subproject 2023-05-01 13:22:23 +02:00
Patrick Goldinger
1d9a5fb552
Upgrade Android NDK to r25c 2023-04-23 23:56:47 +02:00
Patrick Goldinger
4ef8e7be88
Move nlp submodule into cpp source set 2023-04-22 19:43:25 +02:00
Patrick Goldinger
a74e1fa489
Upgrade Gradle to 8.0 and AGP to 8.0.0 2023-04-22 14:32:22 +02:00
Patrick Goldinger
b9f9437fa7
Add nlp submodule 2023-04-22 14:09:37 +02:00
Patrick Goldinger
36200eba32
Remove icu4c submodule directory 2023-04-21 19:53:23 +02:00
Patrick Goldinger
d8af1a76e7
Remove submodule icu4c 2023-04-21 19:51:51 +02:00
BHydden
a47a6065df
Update README.md (#2195)
Add a note on the main page explaining the current situation, as suggested in the main matrix channel

https://matrix.to/#/!LcLoPwndyZCssfevip:matrix.org/$miH4mas6b-JTKqjM2zyodK_AdLZLwAs0YfHZvakPNLA?via=matrix.org&via=tchncs.de&via=envs.net
2023-04-19 00:13:39 +02:00
moonbeamcelery
f6e58f7534
Fixes to Chinese shape-based layout: mixed language support (#2093)
* Bug fix: expected content cannot match

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Reset suggestions when switching subtypes

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Draft: record last candidate or gesture commit position to help determine composing range

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Let the NlpProvider handle last candidate or gesture commit position when determining composing range.

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* draft: allow Enter to commit raw text for CJK

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Add full-width comma to CJK symbols

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Add minimal support for physical keyboard handling (space, enter)

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Force suggestion on for HanShapeBased to avoid user confusion

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Delete pushes lastCommitPosition back instead of resetting to -1

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* fix: delete flogDebug without import

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* fix: allow composing range to change based on subtype switch

* fix: bug where HanShapeBased force suggestion on not reflected in displayed candidates

* fix: for speed, stub out getListOfWords and getFrequencyForWord

* Polish LANGUAGEPACK.md. Add warning about phonetic input. Add translations.

* Move Chinese language pack README to another file

---------

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>
2023-02-24 13:18:44 +01:00
Waelwindows
a5dab5fb5a
Add Chinese Shape Based Layouts (#2054)
* feat(ime/nlp): Add `HanShapeBasedLanguageProvider`

* feat: Manually set default NLP to be HanShapeBased

* feat: Temporarily disable adding spaces

This commit should give insight into how the keyboard adds spaces, this
should then be refined into not adding a space after commiting a CJK
text suggestion

* fix(ime/nlp): Remove empty str suggest in HanShape

* feat(ime/nlp): Handle locale variants in HanShape

this should facilitate multiple layouts in the zh locale

* fix(ime/nlp): Handle query params in HanShape

This also helps performance as the DBC doesn't have to compile the query
for every string the user writes

* Space behavior QoL updates for Han shape-based layout (#1)

* Separate space behavior for zh* and latin, and allow space when there is no suggestion.

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Add checking if locale is CJK

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* refactor: Change predicate to a getter & rename

* chore: Remove TODO `supportsAutoSpace` message

* fix: Fix spaces after sugg. in non-space subtypes

* fix: Fix auto space predicate in `PhantomSpace`

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>
Co-authored-by: waelwindows <waelwindows9922@gmail.com>

* Draft: editor screen exposes nlpProviders and shape-based Chinese input methods as variants

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Fix defaults for zhengma preset

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Add word tables for added input methods

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Fix: bug in zhengma preset

* Draft: support composing with special characters by delegating nlpProvider to decide composing range.

* Catch SQLite errors such as layout (locale variant) not found (e.g. using HanShapeBased with JIS)

* fixup: remove TODO

* fix: partly addresses 2101, allow searching for locale in English for phones lacking system locale IME

* Adds support for importing "language packs" (sqlite3 db for HanShapeBased for now)

* Changes language pack to zip files. Adds a basic language pack class for storing metadata of IMEs.

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Implement language pack as a type of Flex extension, and draft its import and view UI

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* fix: input method name translation

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Trim down to zhengma, quickclassic, and cangjie for the barebones Chinese shape-based pack. Polish extension user documentation.

* Fix hack to allow multiple language pack extensions to co-exist.

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>

* Replace quickclassic with boshiamy

* Fix href in LANGUAGEPACKS.md

* build(nix): Clean up nix flake

* refactor: Encapsulate lanaguage pack query in HSB

* feat(ime/nlp): Implement `getListOfWords` in HSB

* feat(ime/nlp): Implement `getFrequencyForWord`

* chore: Normalize weights for freq in `han.sqlite3`

* chore(ime/nlp): Add some logging for HSB

* Update app/src/main/assets/ime/keyboard/org.florisboard.localization/extension.json

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>

Signed-off-by: moonbeamcelery <moonbeamcelery@proton.me>
Co-authored-by: moonbeamcelery <114041522+moonbeamcelery@users.noreply.github.com>
Co-authored-by: moonbeamcelery <moonbeamcelery@proton.me>
Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
2023-01-15 17:22:10 +01:00
Softastur
9776ac1812
Add support for Asturian layout (#2138) 2023-01-04 01:31:08 +01:00
Md Rasel Hossain
099e5678f7
Add Bengali keyboard layout (#2077)
* Bengali keyboard layout

* Fix some popup keys - Bengali layout
2022-12-24 11:34:48 +01:00
Patrick Goldinger
3235472e0f
Merge pull request #2108 from tsiflimagas/ci_deps
Update workflows dependencies
2022-11-08 00:58:30 +01:00
Kostas Giapis
19b934cb6c Update workflows dependencies 2022-11-06 00:39:24 +02:00
Patrick Goldinger
4b2211b5c0
Change default language display names from native to system 2022-09-15 23:58:54 +02:00
Iago
88bd544c90
Add spanish fastlane metadata (#2037)
* Add spanish fastlane metadata

* Copy es-ES metadata to androidbeta

* Remove icon

* Remove outdated changelog

* Remove outdated changelog (from beta)
2022-09-06 14:15:58 +02:00
Patrick Goldinger
31a01c8d39
Release v0.4.0-alpha04 2022-09-01 20:35:07 +02:00
florisboard-bot
d29859c6b3 Update translations from Crowdin 2022-09-01 20:30:52 +02:00
Patrick Goldinger
4c800f37f0
Comment out "auto0" placeholder logic as it is annoying (#1976) 2022-08-31 20:23:20 +02:00
Patrick Goldinger
470d302ed2
Merge pull request #2030 from florisboard/smartbar-rework-hotfixes
Smartbar rework hotfixes
2022-08-31 20:16:10 +02:00
Patrick Goldinger
ae2a1db1ef
Change extended actions toggle so it closes actions overflow (#2035) 2022-08-30 18:06:24 +02:00
Patrick Goldinger
94b62b7224
Fix bottom sheet host UI causing issues in landscape input UI (#1760) 2022-08-30 17:20:55 +02:00
Patrick Goldinger
8fe84b999a
Implement sticky action is overflow button if set to none (#2033) 2022-08-30 01:45:14 +02:00
Patrick Goldinger
da5b316acd
Rework KeyboardState and its observing logic (#2025) 2022-08-30 00:58:07 +02:00
Patrick Goldinger
eb5fdbb08c
Fix clipboard suggestions showing when they shouldn't (#2029) 2022-08-29 20:02:57 +02:00
Patrick Goldinger
ad73e3894c
Fix moving all Smartbar actions to hidden causing crash (#2026) 2022-08-29 14:27:41 +02:00
Patrick Goldinger
26650d2a00
Release v0.4.0-alpha03 2022-08-28 21:52:32 +02:00
florisboard-bot
4395eac500 Update translations from Crowdin 2022-08-28 21:34:01 +02:00
Patrick Goldinger
90e60a5e03
Fix KeyboardManager observer causing crash (#2020) 2022-08-28 15:49:50 +02:00
Patrick Goldinger
e647e0d248
Fix quick actions menu for RTL languages 2022-08-27 21:09:44 +02:00
Patrick Goldinger
31c046720a
Fix Smartbar source string still using old label 2022-08-26 21:07:34 +02:00
Patrick Goldinger
03b70b43a6
Update privacy policy link to new location
See https://github.com/florisboard/florisboard/discussions/2021
2022-08-25 22:39:57 +02:00
Patrick Goldinger
de2b3b9433
Merge pull request #2012 from florisboard/smartbar-actions-rework
Smartbar Quick Action Rework + directly related keyboard logic changes + incognito mode
2022-08-23 23:40:57 +02:00
Patrick Goldinger
a51f671c3c
Clean up changes and fix theme element translations 2022-08-23 22:30:12 +02:00
Patrick Goldinger
314cdf79bf
Fix numeric and telpad layouts row height being miscalculated 2022-08-23 21:48:40 +02:00
Patrick Goldinger
d7137b41fe
Adapt all default themes to new Smartbar rules 2022-08-23 16:44:44 +02:00
Patrick Goldinger
acad9f66a6
Fix actions editor screen not clearing flag sometimes 2022-08-23 16:15:59 +02:00
Patrick Goldinger
8d0565854c
Fix NLP manager bindings not setting private session flag 2022-08-23 16:08:26 +02:00
Patrick Goldinger
6932fecbbd
Improve actions overflow theme and style capabilities 2022-08-23 15:32:51 +02:00
Patrick Goldinger
3e6ed3d7b0
Fix state bug with drag marker in customize action order screen 2022-08-23 14:44:47 +02:00
Patrick Goldinger
85e76892b7
Fix quick actions overflow crashing in landscape mode (#2020) 2022-08-23 14:24:14 +02:00
Patrick Goldinger
65cbc4bea3
Implement Smartbar action order customization screen (#1612) 2022-08-23 14:08:24 +02:00
Patrick Goldinger
79d177144a
Add autocorrect toggle placeholder message 2022-08-22 12:56:24 +02:00