Commit graph

5162 commits

Author SHA1 Message Date
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
Joshua A. Horton
4934f8b615 chore(web): restoration of held-backspace 2023-10-05 09:47:29 +07:00
Joshua A. Horton
8f5e7d2980 fix(web): 'rejectionwithaction' handler filtering, cleanup 2023-10-05 08:54:09 +07:00
Joshua A. Horton
69757852fb fix(web): roaming simple-touch slightly more stable 2023-10-05 08:54:00 +07:00
Steven R. Loomis
e04b41e89e feat(developer): fix vars and markers 🙀
- finish all of the developer LDML-TODOs around markers and variables

For: #9121
For: #9119
2023-10-04 19:21:04 -05:00
Steven R. Loomis
2472a941cf feat(core): match any marker 🙀
- add a regex form that matches any marker

For: #9119
2023-10-04 18:34:20 -05:00
Marc Durdin
693aee5c99
Merge branch 'epic/package-metadata' into chore/merge-master-into-package-metadata 2023-10-04 19:34:16 +11:00
Marc Durdin
f832b9ff3d chore(developer): remove temp non-esm module in kmc-model 2023-10-04 15:25:01 +07:00
Marc Durdin
3e51389e17
Merge branch 'chore/common/9679-keyman-version-esm-only' into chore/common/9262-cleanup-final-non-esm 2023-10-04 19:07:37 +11:00
Marc Durdin
27dfef024d chore(common): restore (unused) test target for keyman-version 2023-10-04 14:41:31 +07:00
Marc Durdin
39699f75d5 chore(common): restore es5 target for keyman-version 2023-10-04 14:24:17 +07:00
Joshua A. Horton
59540799ef feat(web): gesture configuration for layout, gesture key filtering 2023-10-04 13:02:31 +07:00
Marc Durdin
d4e4992714 chore(common): cleanup final Typescript non-ESM metadata
Fixes #9262.
2023-10-04 12:55:51 +07:00
Marc Durdin
90f63b70e9
Merge branch 'chore/common/9677-version-to-esm' into chore/common/9679-keyman-version-esm-only 2023-10-04 16:24:10 +11:00
Marc Durdin
8c28b96c9f chore(common): convert resources/build/version to ES Modules
Fixes #9677.
2023-10-04 12:21:35 +07:00
Marc Durdin
253dea0ba6 chore(common): fixup Commander call 2023-10-04 12:21:10 +07:00
Marc Durdin
f432cab851 chore(common): keyman-version now generates only es module 2023-10-04 12:06:46 +07:00
Marc Durdin
fbd9a4b5e8 chore(common): convert resources/build/version to ES Modules
Fixes #9677.
2023-10-04 11:50:53 +07:00
Marc Durdin
f69f28bbd5 chore(common): convert hextobin to ES Modules
Fixes #9675.
2023-10-04 11:50:28 +07:00