Commit graph

5430 commits

Author SHA1 Message Date
Steven R. Loomis
6a62d01481 chore(core): dx: ldml test subselection 🙀
- add a filter option to run just one subtest
- support backspace event, revamp test JSON format

For: #9468
2023-10-13 16:45:56 -05:00
Joshua A. Horton
e0c6c0e168 chore(web): Merge branch 'feature-gestures' into chore/merge-master-into-feature-gestures 2023-10-12 10:31:56 +07:00
Joshua A. Horton
e199cd05fd docs(web): cleans up an errant doc-comment 2023-10-12 09:00:40 +07:00
Joshua A. Horton
f1d4b72da7 chore(web): drops redundant line 2023-10-12 08:46:35 +07:00
Joshua A. Horton
23ac3cc673 chore(common): Merge branch 'feature-gestures' into chore/merge-master-into-feature-gestures 2023-10-12 08:14:30 +07:00
Marc Durdin
e42567906d chore: update readme for keyboard_info schema 2023-10-12 07:08:20 +07:00
Joshua A. Horton
c791c9f0fe chore(web): Merge branch 'fix/web/integration-test-fixes' into feat/web/longpress-restoration 2023-10-11 15:25:27 +07:00
Joshua A. Horton
5b98544778 chore(web): Merge branch 'feat/web/key-specific-gesture-integration' into fix/web/integration-test-fixes 2023-10-11 15:21:05 +07:00
Joshua A. Horton
155855c16e chore(web): Merge branch 'feat/web/base-recognizer-integration' into feat/web/key-specific-gesture-integration 2023-10-11 15:20:01 +07:00
Joshua A. Horton
8479ebd1c4 chore(web): Merge branch 'fix/web/recognizer-polish-and-source-uniqueness' into refactor/web/common-layout-typing 2023-10-11 14:10:33 +07:00
Joshua A. Horton
8da1f8fd1e chore(web): Merge branch 'chore/web/feature-gestures-update-a17s23-mid' into fix/web/recognizer-polish-and-source-uniqueness 2023-10-11 13:05:20 +07:00
Joshua A. Horton
81ca825133 fix(web): bad return type on method caught by tsconfig update 2023-10-11 12:16:25 +07:00
Marc Durdin
f61e65ceb9
Merge pull request #9736 from keymanapp/chore/merge-master-into-package-metadata
chore: merge master into package-metadata
2023-10-11 11:28:07 +11:00
Joshua A. Horton
d6072f6959 chore(web): Merge branch 'master' into chore/web/feature-gestures-update-a17s23-mid 2023-10-10 08:25:46 +07:00
Marc Durdin
78061924f1
Merge pull request #9724 from keymanapp/chore/core/9722-rename-km_kbp_-to_km_core_
chore: rename km_kbp_ to km_core_
2023-10-10 11:57:20 +11:00
Marc Durdin
db76e2541d chore: rename KM_KBP_ to KM_CORE_ 2023-10-09 14:53:22 +07:00
Marc Durdin
ba5f18defd chore: rename km_kbp_ to km_core_ 2023-10-09 14:53:13 +07:00
Joshua A. Horton
683d943922 fix(web): reverts old prototype for leak cleanup (post-rebase to 'proper' version) 2023-10-09 12:12:55 +07:00
Joshua A. Horton
df8a14f87c feat(web): restores subkey-selection, extends accepted path range 2023-10-09 12:12:54 +07:00
Marc Durdin
6b4497b516
Merge pull request #9695 from keymanapp/fix/windows/9692-re-enable-signature-check
fix(windows): re-enable signature check 🔥
2023-10-09 16:09:54 +11:00
Joshua A. Horton
3874a52cba fix(web): tracked source cleanup / robustness interactions 2023-10-09 11:07:08 +07:00
Joshua A. Horton
28f1d2589d fix(web): integrated test fixes, sync -> async for test sequences 2023-10-09 10:08:12 +07:00
Marc Durdin
f76efc38cc chore(common): stop using xml2js.processors.firstCharLowerCase
Fixes #9713.
2023-10-09 05:43:29 +07:00
Marc Durdin
cc5b8da69b refactor(developer): .keyboard_info examples should use keys as a string
Fixes #9708.

Matches the kmp.json format of keys string in the .keyboard_info schema
and compiler, in order to reduce the number of formats we are working
with. This same format may be used elsewhere in Keyman schemas in the
future for sets of keys, for example, I hope we can use it in regression
tests.
2023-10-08 19:01:14 +07:00
Marc Durdin
400444933c feat(developer): introduce WelcomeFile property to packages
Fixes #9478.

This adds a property WelcomeFile to .kps and kmp.json, which allows us
to move away from the hardcoded welcome.htm filename in the future, and
makes transform from Markdown (#9477) a simpler operation, and just
generally starts the cleanup of the messiness of hard-coded filenames.

The package compiler will fallback to injecting welcome.htm into this
property if (a) welcome.htm is present, and (b) the property does not
already have a value. This doesn't buy us much because we still need to
support welcome.htm for existing legacy packages, but does mean that
our .kmp package metadata will be more consistent for packages compiled
with 17.0+ compilers.
2023-10-08 07:22:57 +07:00
Steven R. Loomis
505a45e933
Merge branch 'master' into feat/core/9121-more-vars-epic-ldml 2023-10-07 11:36:07 -05:00
Steven R. Loomis
12bb554b5a feat(developer): fix vars and markers 🙀
- Figured it out. Problem was a custom Array constructor.
- also updated ElementString class, which would have the same issue.

For: #9121
For: #9119
2023-10-07 09:11:27 -05:00
Steven R. Loomis
450e29cf2a feat(developer): fix vars and markers 🙀
- odd, but seems to work this way

For: #9121
For: #9119
2023-10-07 08:48:18 -05:00
Marc Durdin
00484a0e0f chore: fixup js imports for schema validators 2023-10-07 06:46:10 +07:00
Steven R. Loomis
f3fd5aa879
Merge pull request #9687 from keymanapp/feat/core/9119-more-markers-epic-ldml 2023-10-06 18:27:30 -05:00
Steven R. Loomis
b7c7a1c7b3 feat(developer): fix vars and markers 🙀
- workaround for debugger/test issue

For: #9121
For: #9119
2023-10-06 18:11:37 -05:00
Marc Durdin
982fdd0318 fix(developer): skip resource check for node addons 2023-10-07 05:49:25 +07:00
Steven R. Loomis
25c20ee812 feat(common): fix marker parsing 🙀
- cleaned up regex

For: #9119
2023-10-06 11:58:59 -05:00
Joshua A. Horton
7d740a8504 fix(web): selector map cleanup on sequence termination 2023-10-06 13:50:31 +07:00
Joshua A. Horton
2d6a74bc04 fix(web): unit test breakers, osk input emulation (partial) 2023-10-06 13:02:30 +07:00
Marc Durdin
bcb2233cfd chore: ignore types for imported schemas for now 2023-10-06 12:56:35 +07:00
Marc Durdin
6c944cff65 chore: Merge branch 'epic/package-metadata' into chore/merge-master-into-package-metadata 2023-10-06 11:52:13 +07:00
Joshua A. Horton
7c81fc6bac fix(web): null-guard for a new property 2023-10-06 11:41:11 +07:00
Marc Durdin
a1d7095c58
Merge pull request #9681 from keymanapp/chore/common/9262-cleanup-final-non-esm
chore(common): cleanup final Typescript non-ESM metadata
2023-10-06 13:37:54 +11:00
Marc Durdin
8661daacdb
Merge pull request #9680 from keymanapp/chore/common/9679-keyman-version-esm-only
chore(common): keyman-version now generates only es module
2023-10-06 13:37:43 +11:00
Marc Durdin
aa80554a45
Merge pull request #9678 from keymanapp/chore/common/9677-version-to-esm
chore(common): convert resources/build/version to ES Modules
2023-10-06 13:37:34 +11:00
Marc Durdin
42c869ac54
Merge pull request #9676 from keymanapp/chore/common/9675-hextobin-to-esm
chore(common): convert hextobin to ES Modules
2023-10-06 13:37:25 +11:00
Marc Durdin
eeb755f76a fix(windows): re-enable signature check
Fixes #9692.

Signature checking was skipped because we missed a ".virtual" to force
nmake to build the test and test_i3633 targets. This opened up a small
cascade of related formatting issues on Makefiles, and the fact that the
test_i3633 (has there ever been a more poorly named project?) Makefile
did not even work.

Refactored significantly, added same tests to Developer Makefile, and
also now verifying the .msi and installer executable.

We can improve this further but I'd like to get this in to avoid further
critical issues with code signing given the current broken signing
configuration.
2023-10-06 09:14:35 +07:00
Marc Durdin
b8b0e561e8
chore: Add comment to common/web/types/src/schema-validators.ts 2023-10-06 12:29:02 +11:00
Marc Durdin
68740f2aa2
Merge branch 'epic/package-metadata' into feat/common/9640-precompile-schemas 2023-10-06 12:27:31 +11:00
Steven R. Loomis
4c0cab2796 feat(common,developer): DRY out strings 🙀
- refactor string preprocessing pipeline into an options bag
2023-10-05 17:40:30 -05:00
Marc Durdin
7e7c81e7ee chore(common): reduce strictness on ts for sentry-manager 2023-10-05 15:48:53 +07:00
Marc Durdin
3f21f65c43 chore(common): fixup sourcemap-path-remapper build settings 2023-10-05 14:46:14 +07:00
Marc Durdin
225877f57a feat(common): precompile json schemas to improve performance
Fixes #9640.

This ended up being somewhat more fragile than originally anticipated.
For the `ajv` cli call to get the right versions, we needed to install
ajv as a dev dependency in the top-level package.json as well as at the
common/web/types level.

Ajv does not do all that well with ESM yet, either, so we use esbuild to
transform the compiled validators before building in typescript.
2023-10-05 13:56:53 +07:00
Joshua A. Horton
ac24035229 chore(web): re-establishes base-keyboard out-of-bounds roaming 2023-10-05 10:27:57 +07:00