Commit graph

2860 commits

Author SHA1 Message Date
Eberhard Beilharz
28652af8ab
fix(android): suppress error for fallback keyboard
We use SIL EuroLatin as fallback keyboard. If that is not installed,
previously we output an error which showed up as a toast for the user.
This change now outputs a warning instead of the error for the default
keyboard.

Also changed the KeyboardHarness test app to set a different keyoard as
default.
2026-07-01 12:27:38 +02:00
Eberhard Beilharz
0aa41c1028
fix(android): fix typo 2026-07-01 11:52:02 +02:00
Eberhard Beilharz
a146345eae
fix(android): fix problem with fonts
The default fonts (DejaVueSans.ttf and keymanweb-osk.ttf) are located in
the root directory, not the package directory. This fixes the
KeyboardHarness test app.

Also some improvements with variable and function names to better match
what they do.
2026-07-01 11:33:01 +02:00
Eberhard Beilharz
b490d20098
fix(android): add missing dependency for KeyboardHarness app
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-30 12:56:50 +02:00
Eberhard Beilharz
c606733a56
fix(android): add missing dependency for FirstVoices and Samples
Fixes: FV-ANDROID-20E
Build-bot: release:android
2026-06-30 12:17:13 +02:00
Eberhard Beilharz
71b0586c66
fix(android): fix failing test on Windows
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
On Windows the tests failed because the AppData directory doesn't yet
exist under an allowed app internal storage path. This change creates
the directory first when running tests.
2026-06-29 18:25:26 +02:00
Eberhard Beilharz
bec75197b1
fix(android): add tests for WebViewUtils.buildAssertUrl
Also fix `assertEquals` in that test file - the parameter ordering is
`expected, actual` but we had it the other way round which gives a
confusing message if the test fails.
2026-06-29 17:56:06 +02:00
Eberhard Beilharz
0847fb6ca2
chore(android): address code review comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-06-29 16:57:33 +02:00
Eberhard Beilharz
64abd5b690
fix(android): fix loading of keyboards on Android
This change moves to using `WebViewAssetLoader` for loading files from
the device instead of using file:// URLs. This fixes the blank keyboard
problem reported in #16096 for Android.

Also make `KMKeyboard.getKeyboardRoot()` private, and rename public
`Keyboard.getKeyboardPath()` to private `Keyboard.getKeyboardUrl()`.

Part-of: #16096
2026-06-26 20:01:30 +02:00
Marc Durdin
6a98a39b8a
Merge branch 'master' into chore/web-core-preflight 2026-05-27 22:37:12 +10:00
Darcy Wong
d66ecec73d fix(android): Address review comments
* Move Espanol back
* Capitalize Svwnska (Swedish)
2026-04-22 13:53:00 +07:00
Darcy Wong
ded6e1c6f3 fix(android): Reorder display language list 2026-04-22 10:42:37 +07:00
Marc Durdin
70c54b0b40 chore: Merge branch 'epic/web-core' into auto/A19S24-merge-master-into-web-core
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-03-16 04:49:38 +01:00
Darcy Wong
13ba5c8f8e chore(android): Remove unused status vars 2026-03-09 08:20:17 +07:00
Darcy Wong
1db954a7fa chore(android): Cleanup unused extracted text 2026-03-04 14:09:57 +07:00
Marc Durdin
ed63b70bb4
Merge branch 'epic/web-core' into auto/A19S22-merge-master-into-web-core 2026-02-13 11:08:05 +07:00
Darcy Wong
57cf8fd7fa chore(android): Remove unused var 2026-02-03 13:07:16 +07:00
Darcy Wong
72913ca402 chore(android): Cleanup logging statement 2026-02-02 09:34:17 +07:00
Darcy Wong
4654dfad9c refactor(android): Regenerate keyboard search URL when resuming 2026-02-02 09:32:21 +07:00
Darcy Wong
70b140ed35
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-02-02 09:13:44 +07:00
Keyman Server
e77d46f873
Merge branch 'epic/web-core' into auto/A19S21-merge-master-into-web-core 2026-01-31 06:31:15 +01:00
Darcy Wong
bea9de2b33 fix(android): Cleanup to address review comments 2026-01-30 08:48:19 +07:00
Darcy Wong
03e69d03af chore(android): Merge remote-tracking branch 'origin/master' into feat/android/lang
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2026-01-30 07:10:58 +07:00
Darcy Wong
356ef54c86 chore(common): Update Crowdin strings for de 2026-01-29 16:38:12 +07:00
Darcy Wong
866c856b94 feat(android): Use current display language for keyboard search 2026-01-29 09:09:41 +07:00
Marc Durdin
f6b8bfb463
Merge branch 'epic/web-core' into auto/A19S20-merge-master-into-web-core 2026-01-16 08:40:12 +01:00
Darcy Wong
665e82a104 chore(common): Update Crowdin strings for Italian 2026-01-13 09:37:15 +07:00
Darcy Wong
9f86141803 chore(android): Update crowdin strings 2026-01-08 11:37:26 +07:00
Eberhard Beilharz
5b38557227
refactor(web): remove defaults in keyboard-storage
- Also renamed `prefixed` and `withoutPrefix` functions to use the name
  that was aliased on most cases: `toPrefixedKeyboardId` and
  `toUnprefixedKeyboardId`.
- Renamed `ModelManager` class to `ModelCache` which was the name used
  everywhere except in comments.

Part-of: #15292
Test-bot: skip
2025-12-19 18:43:02 +01:00
Darcy Wong
3bdb0694c3 chore(android): Download PT again 2025-12-19 06:19:59 +07:00
Darcy Wong
cbca7630e1 chore(common): Update crowdin strings for PT 2025-12-18 16:13:25 +07:00
Matthew Lee
2f9a321a24 Compressing 2 text boxes into one to save vertical space in the dialog. 2025-12-08 14:34:32 -05:00
Matthew Lee
929bd05459 back to rounding 2025-12-08 09:23:24 -05:00
Matthew Lee
f553ed8755 Ceiling and floor to make percentages change immediately. 2025-12-08 09:19:41 -05:00
Matthew Lee
c64b466667 Merge remote-tracking branch 'MattGyverLee/feat/grabbable-bar-and-feedback' into feat/grabbable-bar-and-feedback 2025-12-08 09:02:06 -05:00
Matthew Lee
781da520be context for calculateKeyboardHeightFromTouch 2025-12-08 08:57:14 -05:00
Matthew Lee
796bcf9a2b
Update android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/AdjustKeyboardHeightActivity.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-12-08 08:35:42 -05:00
Matthew Lee
dcd6ac019b
Update android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/AdjustKeyboardHeightActivity.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-12-08 08:34:58 -05:00
Matthew Lee
b72de3107a
Apply suggestion from @mcdurdin
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-12-08 08:33:31 -05:00
Marc Durdin
00e88d37a4 chore: Merge remote-tracking branch 'origin/epic/web-core' into auto/A19S17-merge-master-into-web-core 2025-12-05 08:07:35 +01:00
Matthew Lee
8c4382bc73 Cutting spaghetti 2025-12-03 22:45:47 -05:00
Matthew Lee
a8e311fc8b simplifying string work 2025-12-03 22:21:15 -05:00
Matthew Lee
99d7dfa217 Cleanup 2025-12-03 21:55:35 -05:00
Matthew Lee
38319f1229 Resolving comments 2025-12-03 21:01:48 -05:00
Matthew Lee
37acf0e377 Reverting functions to the Activity. 2025-12-03 20:42:48 -05:00
Matthew Lee
811a94e30b Compressing 2 text boxes into one. 2025-12-02 16:33:06 -05:00
Matthew Lee
d955404307 Final Cleanup 2025-12-02 16:16:48 -05:00
Matthew Lee
6445a6bcb5 Adding grabbable bar and feedback 2025-12-01 15:47:18 -05:00
Marc Durdin
307f600f43
Merge pull request #13663 from MattGyverLee/feat/android/keyboard-min-max
fix(android): address keyboard height vs touch height race after keyboard height preference change (also min max heights + docs)
2025-12-01 14:22:25 +01:00
Darcy Wong
c909c020f9
Merge pull request #15247 from keymanapp/docs/android/broadcast-font-name
docs(android): Document Keyman API for keyboard font change
2025-12-01 15:43:28 +07:00