Commit graph

24978 commits

Author SHA1 Message Date
Joshua A. Horton
726adf73c5 chore(web): Merge branch 'master' into feat/web/fancy-suggestion-banner 2024-01-15 14:11:11 +07:00
Marc Durdin
6aef3090e0 chore(mac): missing square brackets 2024-01-15 13:39:41 +07:00
Joshua Horton
0cb429d788
Merge pull request #10371 from keymanapp/fix/web/special-text-hints
fix(web): use KMW OSK font for "**" special-text in key hints
2024-01-15 13:30:38 +07:00
Marc Durdin
6999b248bd chore(mac): update one more test 2024-01-15 13:26:43 +07:00
Marc Durdin
84785fdd9a chore(core): wasm linker flags 2024-01-15 13:23:29 +07:00
Marc Durdin
aea95c4f9d chore(mac): use only debug context functions 2024-01-15 13:12:15 +07:00
Marc Durdin
932ad9d1df chore(core): add unit test deps for wasm 2024-01-15 12:50:41 +07:00
Marc Durdin
bd46fb271b feat(core): unit tests need to set both app context and cached context 2024-01-15 12:34:00 +07:00
Marc Durdin
036c32af1f feat(core): normalize input context
First half of #9999.

Adds support for normalization (to NFD) of input app context into the
cached context. The keyboard processor will work with the NFD cached
context.

Adds unit tests for the normalization as part of the LDML keyboard
processor test suite.

TODO:
* Comparing modified cached context to app context to determine the
  transform required to send to the app
* Handling illegal unicode and unpaired surrogates on input context
2024-01-15 11:50:16 +07:00
Marc Durdin
cd69405960 feat(core): add app_context and failing tests
Adds the application context member of state and a corresponding,
failing unit test, which starts the process of verifying the handling
of the application context.
2024-01-15 11:50:15 +07:00
Joshua Horton
0bb5884c89
chore(web): Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-01-15 08:56:08 +07:00
Marc Durdin
a1fbbd1ab5 refactor(mac): remove unused context calls 2024-01-15 08:39:30 +07:00
Marc Durdin
779196e1fd
Merge pull request #10364 from keymanapp/feat/developer/10191-warn-on-gestures-downlevel
feat(developer): warn on gesture support for downlevel
2024-01-15 12:34:37 +11:00
Marc Durdin
91291bd4bc
Merge pull request #10375 from keymanapp/refactor/core/state-context-tests
refactor(core): Move `km_core_state_context_*` tests to separate file
2024-01-15 12:34:12 +11:00
Marc Durdin
7cd7ab3346 refactor(windows): use km_core_state_context_debug
Relates to #10365.
2024-01-15 08:29:27 +07:00
Marc Durdin
307f7da846 refactor(linux): use km_core_state_context_debug
Relates to #10365.
Fixes #10378.
2024-01-15 08:27:01 +07:00
Marc Durdin
1b29ad32f9 chore(linux): update .symbols 2024-01-15 08:26:43 +07:00
Marc Durdin
9868de5abc
Merge branch 'master' into feat/core/10365-context-debug 2024-01-15 12:06:03 +11:00
Marc Durdin
bafe43315c
chore: Update core/src/km_core_state_api.cpp 2024-01-15 12:05:42 +11:00
Marc Durdin
32ee4bc386 fix(core): typedef enum 2024-01-15 08:00:32 +07:00
Marc Durdin
bfb26eaf64 feat(core): adds km_core_state_context_debug
Fixes #10365.

Adds a `km_core_state_context_debug` function that returns a km_core_cp
string containing the current cached or intermediate context. The
function must be used only for debug logging purposes -- the string is
not intended to parsed for other purposes and the format may change in
the future.

This commit adds the function and corresponding unit tests. Subsequent
commits will update existing context debug functions in various engines
to use this API endpoint instead.
2024-01-15 07:19:31 +07:00
Steven R. Loomis
c5d0e0525e feat(developer): 32 bit escapades 🙀
- escaping working, matching not yet

#10319
2024-01-13 12:55:51 -06:00
Steven R. Loomis
04bce67d03 feat(developer): 32 bit escapades 🙀
- match sentinels as \\u…
- support \Uxxxxxxxx for >0xffff
- more escaping stuff

#10319
2024-01-12 23:21:38 -06:00
Keyman Server
c42c28796c
Merge pull request #10376 from keymanapp/auto/version-master-17.0.244
auto: increment master version to 17.0.244
2024-01-13 01:04:06 +07:00
Keyman Build Agent
95f7609e77 auto: increment master version to 17.0.244 2024-01-12 13:03:32 -05:00
Eberhard Beilharz
141b85814e
refactor(core): Move km_core_state_context_* tests to separate file
It was fairly surprising to have the unit tests for
`km_core_state_context_*` methods in `action_api.cpp`, so this change
moves them to a separate file.
2024-01-12 15:34:32 +01:00
Eberhard Beilharz
a546d62f39
docs(linux): Update sample settings
The previous settings are now deprecated, so this change replaces them.
2024-01-12 09:33:57 +01:00
Eberhard Beilharz
67cf76362d
Merge pull request #10354 from keymanapp/refactor/linux/10212_set-context
refactor(linux): Use `km_core_state_context_set_if_needed`
2024-01-12 08:54:21 +01:00
Eberhard Beilharz
4dd12753e7
Merge pull request #10366 from keymanapp/chore/linux/fixgha
chore(linux): fix GHA packaging
2024-01-12 08:53:32 +01:00
Darcy Wong
b3d4fd4d35 fix(android/engine): Disable multi-window 2024-01-12 14:51:30 +07:00
Darcy Wong
c299ed84cc fix(android/engine): Fix OSK rotation
getConfiguration().orientation seems to be deprecated so changing to getRotation() for detecting PORTRAIT vs LANDSCAPE orientation

Reference:
https://developer.android.com/reference/android/view/Display#getRotation()
2024-01-12 14:51:02 +07:00
Shawn Schantz
400efd9df4
Merge pull request #10339 from keymanapp/fix/ios/8168-reposition-menu
fix(ios): use safe area to position Keyman menu correctly
2024-01-12 14:24:55 +07:00
Eberhard Beilharz
16d813dd7a
Merge pull request #10370 from keymanapp/refactor/core/km_core_state_context_clear_1
refactor(core): use `km_core_state_context_clear` where possible
2024-01-12 08:14:08 +01:00
Joshua A. Horton
f91c923640 chore(web): final tweak 2024-01-12 14:01:30 +07:00
Joshua Horton
daba49ec83
Merge pull request #10328 from keymanapp/fix/developer/test-page-model-register
fix(developer): test-page model loading
2024-01-12 14:00:59 +07:00
Joshua A. Horton
b60e2e2884 fix(web): font assignment if special-text 2024-01-12 12:37:21 +07:00
Marc Durdin
9830f9ea24 refactor(core): use km_core_state_context_clear where possible
Relates to #10365.

Use `km_core_state_context_clear()` instead of `km_core_context_clear()`
as part of eliminating use of `km_core_state_context()`.
2024-01-12 12:05:00 +07:00
Joshua A. Horton
46b0411c34 fix(web): special-text in hints 2024-01-12 11:53:55 +07:00
Joshua Horton
bd3d7cd176
Merge pull request #10330 from keymanapp/fix/web/execution-timer-outlier-logic
fix(web): prediction time-limiter issues, performance 📜
2024-01-12 11:32:54 +07:00
Darcy Wong
c220525949
Merge pull request #10368 from keymanapp/chore/common/crowdin-multiple
chore(common): Update crowdin strings for French, German, Spanish (Latin America)
2024-01-12 10:25:50 +07:00
Darcy Wong
0515f5c513 chore(common): Update crowdin for Spanish Latin America 2024-01-12 09:01:38 +07:00
Darcy Wong
f963d77546 chore(common): Update crowdin for German 2024-01-12 08:59:19 +07:00
Darcy Wong
f839220b1a chore(mac): Update crowdin for French 2024-01-12 08:57:32 +07:00
Darcy Wong
0bcb35b3ca chore(android): Update crowdin for French 2024-01-12 08:57:20 +07:00
Steven R. Loomis
c2af3869ea
Merge branch 'master' into feat/core/10319-escaping-you-epic-ldml 2024-01-11 15:40:40 -06:00
Steven R. Loomis
4182ef0e26
Merge pull request #10327 from keymanapp/chore/core/10320-refactor-epic-ldml
chore(core): split out some files 🙀
2024-01-11 15:38:34 -06:00
Steven R. Loomis
d662f67955 feat(developer,common): all unescaping as \uXXXX 🙀
- update unescaping from \u{…} to \uXXXX in regex
- re-unescape in the string analyzr (empty-compiler.ts) so that we catch PUA etc.
- fix some XML files that had bad DTDs
- common; updates to string util api

#10319
2024-01-11 13:07:26 -06:00
Keyman Server
7539c905b0
Merge pull request #10367 from keymanapp/auto/version-master-17.0.243
auto: increment master version to 17.0.243
2024-01-12 01:19:49 +07:00
Keyman Build Agent
15ba59aebd auto: increment master version to 17.0.243 2024-01-11 13:19:12 -05:00
Steven R. Loomis
c49dab2103 feat(core): unscape u 🙀
- update unescaping from \u{…} to \uXXXX

#10319
2024-01-11 11:43:14 -06:00