Keyman Build Agent
1c5f2dcc96
auto: increment master version to 18.0.115
2024-09-17 14:03:04 -04:00
Shawn Schantz
492baead2c
Merge pull request #12355 from keymanapp/change/mac/12342-remove-always-show-osk
...
change(mac): remove 'Always show OSK' option
2024-09-17 08:50:18 +07:00
Marc Durdin
201f48a1f0
Merge pull request #12404 from keymanapp/fix/developer/12403-validate-string-use-before-definition
...
fix(developer): check vars string usage before definition
2024-09-17 00:40:24 +02:00
Marc Durdin
6b83589987
Merge pull request #12402 from keymanapp/fix/developer/12395-rewrite-ldml-visual-keyboard-compiler
...
fix(developer): rewrite ldml visual keyboard compiler
2024-09-17 00:40:15 +02:00
Keyman Server
c9b5088f3c
Merge pull request #12428 from keymanapp/auto/version-master-18.0.114
...
auto: increment master version to 18.0.114
2024-09-16 11:02:57 -07:00
Keyman Build Agent
2b364510d9
auto: increment master version to 18.0.114
2024-09-16 14:02:18 -04:00
Dr Mark C. Sinclair
31e213f980
Merge pull request #11990 from keymanapp/test/developer/kmcmplib-compiler-unit-tests-3
...
test(developer): kmcmplib compiler unit tests 3
2024-09-16 16:36:21 +01:00
Dr Mark C. Sinclair
ff504ad0f7
chore(developer): corrected issue references that mistakenly referenced old issue tracking system
2024-09-16 09:43:59 +01:00
Dr Mark C. Sinclair
b50a16b2c3
chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-3
2024-09-16 09:35:40 +01:00
Dr Mark C. Sinclair
5497e9c9e8
Update developer/src/kmcmplib/tests/gtest-compiler-test.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-09-16 09:33:45 +01:00
Dr Mark C. Sinclair
d91ca9b669
Update developer/src/kmcmplib/tests/gtest-compiler-test.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-09-16 09:33:27 +01:00
Dr Mark C. Sinclair
ae62390ffa
Update developer/src/kmcmplib/tests/gtest-compiler-test.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-09-16 09:32:57 +01:00
Marc Durdin
f4321b38d7
fix(developer): LDML compiler, add TSS_VISUALKEYBOARD store when compiling visual keyboard
...
Fixes : #12395
2024-09-16 14:00:39 +07:00
sgschantz
24830f4bc6
change(mac): improved comments and increased delay to 0.25
2024-09-16 10:55:21 +07:00
Keyman Server
b79277b41a
Merge pull request #12422 from keymanapp/auto/version-master-18.0.113
...
auto: increment master version to 18.0.113
2024-09-14 11:03:05 -07:00
Keyman Build Agent
ce1898a709
auto: increment master version to 18.0.113
2024-09-14 14:02:25 -04:00
Marc Durdin
bf25a6ee56
Merge pull request #12396 from keymanapp/dependabot/npm_and_yarn/express-4.20.0
...
chore(deps): bump express from 4.19.2 to 4.20.0
2024-09-14 03:39:35 +02:00
Keyman Server
947a5fdb07
Merge pull request #12419 from keymanapp/auto/version-master-18.0.112
...
auto: increment master version to 18.0.112
2024-09-13 11:03:31 -07:00
Keyman Build Agent
f84cb89bd3
auto: increment master version to 18.0.112
2024-09-13 14:02:52 -04:00
sgschantz
4ec6144c64
change(mac): added delays before inputmethod state transition
2024-09-13 14:53:16 +07:00
sgschantz
d664797359
change(mac): attempt to fix sequoia failure to deactivate
2024-09-13 13:53:08 +07:00
Darcy Wong
86feb8c157
Merge pull request #12410 from keymanapp/fix/android/cleanup-longpress-api
...
fix(android): Add gating to setLongpressDelay()
2024-09-13 10:01:57 +07:00
Darcy Wong
eaec494bc5
fix(android): Add gating to setLongpressDelay()
2024-09-13 08:30:54 +07:00
Marc Durdin
bcd8f1cc43
Merge pull request #12350 from keymanapp/fix/common/12305-kmx=plus-spec-offsets
...
fix(common): correct offsets in KMX+ spec
2024-09-13 03:17:38 +02:00
Darcy Wong
52bfdaf4e0
Merge pull request #12408 from keymanapp/chore/crowdin/it
...
chore(common): Update crowdin strings for Italian
2024-09-13 07:46:57 +07:00
Keyman Server
6f78e37005
Merge pull request #12409 from keymanapp/auto/version-master-18.0.111
...
auto: increment master version to 18.0.111
2024-09-12 11:04:13 -07:00
Keyman Build Agent
83bea3658d
auto: increment master version to 18.0.111
2024-09-12 14:03:33 -04:00
Shawn Schantz
a50a089f63
Merge branch 'master' into change/mac/12342-remove-always-show-osk
2024-09-12 20:21:44 +07:00
Shawn Schantz
a99ca4f120
change(mac): overhauled logic for determining input method state
...
uses Carbon APIs to determine current input source
This, combined with text input client is used to determine
whether Keyman is truly active or not.
Removed all code executing on delays and immediately
checks state and shows/hides OSK and
enables/disables eventTap.
2024-09-12 19:57:10 +07:00
Dr Mark C. Sinclair
f0be2acdec
chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-3
2024-09-12 10:45:49 +01:00
Dr Mark C. Sinclair
3304594741
Merge pull request #12328 from keymanapp/fix/developer/11833-index-requires-comma-between-parameters-in-kmcmplib-compiler
...
fix(developer): index() requires comma between parameters in kmcmplib compiler
2024-09-12 10:22:42 +01:00
Darcy Wong
84dbc1042c
chore(common): Update crowdin strings for Italian
2024-09-12 15:56:22 +07:00
Dr Mark C. Sinclair
2a477c6d47
chore(developer): Merge branch 'master' into fix/developer/11833-index-requires-comma-between-parameters-in-kmcmplib-compiler
2024-09-12 09:18:03 +01:00
Eberhard Beilharz
fc32f02dc9
Merge pull request #12400 from keymanapp/chore/web/testexplorer
...
chore(web): allow to run unit tests in vscode test explorer
2024-09-12 14:07:55 +07:00
Eberhard Beilharz
44ba53af14
Merge pull request #12399 from keymanapp/refactor/web/12388_device-detect
...
refactor(web): merge `device-detect` with `web/src/engine/main` 🏗️
2024-09-12 13:50:48 +07:00
Eberhard Beilharz
757a5e8de9
Merge pull request #12397 from keymanapp/refactor/web/12387_sentry
...
refactor(web): move sentry-manager → `web/src/engine/sentry-manager` 🏗️
2024-09-12 13:50:26 +07:00
Eberhard Beilharz
9e15a38b02
Merge pull request #12390 from keymanapp/refactor/web/12386_eslint
...
refactor(web): move `common/web/eslint` → `common/tools/eslint` 🏗️
2024-09-12 13:49:58 +07:00
Eberhard Beilharz
66d815efc7
Merge pull request #12389 from keymanapp/refactor/web/12385_es-bundling
...
refactor(web): move `common/web/es-bundling` → `web/src/tools/es-bundling` 🏗️
2024-09-12 13:49:37 +07:00
Darcy Wong
6b0d8ddec1
Merge pull request #12393 from keymanapp/chore/common/unicode-16
...
chore(common): Update to Unicode 16.0
2024-09-12 11:25:07 +07:00
Marc Durdin
b7810bdd2e
fix(developer): check vars string usage before definition
...
Validation of vars was not properly checking for forward references to
string variables. This, coupled with a null vs undefined bug in
subsequent use, meant that forward reference variables were ending up
with a literal string value of 'undefined'.
This also fixes the test for visual-keyboard-compiler, where the fixture
was actually buggy and was the trigger for investigating this problem.
Fixes : #12403
Relates-to: #12395
2024-09-12 09:18:06 +07:00
Marc Durdin
e4017a8c28
fix(developer): rewrite ldml visual keyboard compiler
...
The visual keyboard compiler was never finished in 17.0. This rewrites
it to:
1. Use the kmxplus data rather than reading from xml directly
2. Fill in `visualkeyboard.header.kbdname`
3. Support modifiers
4. Handle encoded characters like `\u{1234}`
5. Handle string variables like `${one}`*
Additional unit tests have been added to verify the behavior of the
visual keyboard compiler in more detail.
TODO-LDML: string variables appear to have a secondary bug -- they seem
to be returning the string 'undefined'. I have disabled the related
tests and will examine this separately, and enable those tests once
fixed.
TODO-LDML: we should probably add a compiler warning + unit test for
`<layers formId="us"><layer id="base">`, because this pattern does not
make sense: when using non-touch forms, the `<layer>` element should use
`modifiers` attribute, and correspondingly, `modifiers` attribute should
_not_ be used when `formId` is `touch`.
Other fixes:
1. The LDML XML reader was relying on its input being a Node.js `Buffer`
even though it was declared `Uint8Array`, as it implicitly used
`Buffer.toString()` to do text conversion. (`Buffer` subclasses from
`Uint8Array`). This breaks when using `Uint8Array` directly and means
we had an implicit dependency on Node.js. See also #12331 .
2. XML errors were not captured in the LDML XML reader. See also #12331 .
3. The unused and unfinished touch-layout-compiler.ts and
keymanweb-compiler.ts have been removed along with corresponding unit
tests and fixtures. These are replaced by Core implementations; see
#12291 .
Fixes : #12395
2024-09-12 06:06:00 +07:00
Keyman Server
031f682a62
Merge pull request #12401 from keymanapp/auto/version-master-18.0.110
...
auto: increment master version to 18.0.110
2024-09-11 11:04:10 -07:00
Keyman Build Agent
870f205990
auto: increment master version to 18.0.110
2024-09-11 14:03:29 -04:00
Eberhard Beilharz
95f36acb68
chore(web): allow to run unit tests in vscode test explorer
...
#11746 removed the `ts-node` dependency. Unfortunately that broke running
TypeScript test files with Mocha in VSCode Test Explorer because it no
longer knows what to do with .ts files. This change adds the more modern
`tsx` package as developer dependency, which allows to use Test Explorer
again.
See https://stackoverflow.com/a/77609121 .
2024-09-11 19:28:33 +02:00
Eberhard Beilharz
04c9817d26
chore(web): remove unused file
...
All subprojects that used `common/web/tsconfig.kmw-main-base.json`
got moved so that this file is no longer used by anyone.
2024-09-11 16:49:16 +02:00
Eberhard Beilharz
f52a1209c8
refactor(web): merge device-detect with web/src/engine/main
...
This change moves `web/src/engine/device-detect/` →
`web/src/engine/main/` and renames the `Device` class to `DeviceDetector`.
Fixes : #12388
2024-09-11 16:48:15 +02:00
Darcy Wong
e62d05cff7
fix(core): Disable test_unicode check for ICU version
2024-09-11 20:56:50 +07:00
Eberhard Beilharz
b20d7f1eb4
refactor(web): move sentry-manager → web/src/engine/sentry-manager
...
Move `common/web/sentry-manager` to `web/src/engine/sentry-manager`.
Fixes : #12387
2024-09-11 15:15:01 +02:00
Eberhard Beilharz
47d63bc573
Merge branch 'refactor/web/12385_es-bundling' into refactor/web/12386_eslint
2024-09-11 14:46:47 +02:00
Eberhard Beilharz
367b029979
Merge pull request #12384 from keymanapp/refactor/web/12025_web-utils
...
refactor(web): move `common/web/utils` to `web/src/engine/common/web-utils/` 🏗️
2024-09-11 17:28:38 +07:00