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

2171 Commits

Author SHA1 Message Date
Patrick Goldinger
a84df7d07c
Migrate to using non-transitive R-classes 2023-12-09 04:58:43 +01:00
Patrick Goldinger
74f062cce7
Upgrade to target SDK 34 2023-12-09 04:52:04 +01:00
Patrick Goldinger
a4f6c0326f
Move project version/buildtool meta to gradle.properties 2023-12-09 04:47:19 +01:00
Patrick Goldinger
e66bcc124f
Merge pull request #2338 from florisboard/rework-build-system
Include new NLP submodule build system
2023-12-09 03:32:27 +01:00
Patrick Goldinger
6b00121a43
Include new icu4c build system 2023-12-09 03:18:41 +01:00
Patrick Goldinger
2813c64101
Upgrade Gradle to 8.1.1 and NDK to r26b 2023-12-09 02:58:45 +01:00
Patrick Goldinger
6542d43cf9
Update NLP submodule 2023-12-09 02:12:43 +01:00
klaurence
ac2df6f915
Fix wrong character in Thai number row layout (#2320)
* Update thai.json

* Update thai.json
2023-11-04 18:30:30 +01:00
Patrick Goldinger
fd98df7548
Merge pull request #2213 from 1fexd/feature/material-you-theme-colors
Implement support for Material You color selection in theme editor
2023-11-01 11:10:33 +01:00
Patrick Goldinger
d1415d6cfb
Add discussion links into ROADMAP and CONTRIBUTING 2023-10-22 11:18:03 +02:00
Patrick Goldinger
3045e3e930
Merge pull request #2313 from florisboard/get-proj-back-on-track
Add new ROADMAP, CODE OF CONDUCT and rewrite CONTRIBUTING
2023-10-22 11:12:05 +02:00
Patrick Goldinger
a1b59d6e69
Adjust CONTRIBUTING file 2023-10-21 23:05:35 +02:00
Patrick Goldinger
1a0bccdf72
Add CODE OF CONDUCT
The code of conduct is based on the Contributor Covenant v2.1 standard
and has been llinked in the README
2023-10-21 15:27:04 +02:00
Patrick Goldinger
3529fa8d70
Add initial new ROADMAP 2023-10-21 15:09:52 +02:00
nettnikl
aa00eb6e79
Add Samsung Board inspired layouts for symbols (#2229)
* Add samsung board inspired layout

* Fix inconsistencies

* Rename western_samsung

* Update extension.json
2023-06-02 02:06:53 +02:00
OneSheepy
759a2ac7c7
Add Estonian layout (#2167)
* Added Estonian layout

* changed language code from 'ee' to 'et'

* added '.ee' TLD

---------

Co-authored-by: Kaspar Ormak <kaspar@messenger.ee>
2023-06-01 19:29:05 +02:00
phyrz91
f5e26917c3
Add Polish Fastlane translation (#2231)
Update polish translation

* Create short_description.txt

* Create full_description.txt
2023-06-01 19:23:18 +02:00
samo_lego
0d663bd8a1
Add Slovenian layout (#2233) 2023-06-01 12:30:32 +02:00
Clément Lyonnet
2d9605fbda
Add Tamil layout (#2194)
Related to #261 & #368

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
2023-06-01 12:16:42 +02:00
yanis867
50e2ab4275
Add New Kabyle (Taqbaylit) Popup Mapping (#2163) 2023-06-01 12:08:05 +02:00
Mohammad Sadegh At'hari
0708491056
Remove redundant Kashida key in Persian layout (#2227)
There is a Kashida(code: 1600) key inside
the popup of Dot key(code: 46). The Kashida is
a very low use character in Persian writing, so
removing it from the main layout improves the
layout usability by increasing the width of the
Space-bar.
2023-06-01 11:21:51 +02:00
1fexd
44e8a56610 feat: Refresh Material You colors on change 2023-05-21 20:34:44 +02:00
1fexd
158c83c972 chore: Bum Compose Material3 dependency 2023-05-17 17:53:04 +02:00
1fexd
46cced07c3 chore: Use AndroidVersion 2023-05-17 17:52:01 +02:00
1fexd
6597171011 chore: Update copyright year 2023-05-17 17:51:07 +02:00
1fexd
26ada18301 chore: Display serialized Material You color using serializer 2023-05-17 17:50:35 +02:00
1fexd
93ebbbb3de fix: Serialize Material You Light/Dark as dynamic-light-color/dynamic-dark-color 2023-05-17 17:47:23 +02:00
1fexd
215da1c0ab chore: Add SnyggMaterialYouDarkColorValue 2023-05-10 20:22:45 +02:00
1fexd
b599b807d8 feat: Implement support for Material You color selection in theme editor 2023-05-10 19:59:11 +02:00
Patrick Goldinger
deaf3295fd
Merge pull request #2196 from florisboard/implement-latin-nlp-provider
Implement Latin NLP provider (part 1)
2023-05-07 18:00:54 +02:00
Patrick Goldinger
0abec78aae
Remove hardcoded NDK path from build.gradle.kts (oops) 2023-05-07 15:42:21 +02:00
Patrick Goldinger
63fea7ece4
Upgrade JetPref library to 0.1.0-beta14 2023-05-07 14:45:58 +02:00
Patrick Goldinger
f11b3b837b
Upgrade Kotlin to 1.8.21 / Upgrade and fix other libraries 2023-05-07 03:08:43 +02:00
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