Eberhard Beilharz
b177df2ceb
Merge pull request #9794 from keymanapp/chore/linux/9733_RenameDefines
...
chore(linux): Rename KBP to CORE 〽️
2023-10-20 12:29:24 +02:00
Steven R. Loomis
85ae8e0d45
Merge branch 'feat/core/9468-normalization-epic-ldml' into feat/core/9468-test-improvement-epic-ldml
2023-10-19 17:14:41 -05:00
Steven R. Loomis
13eed28a36
Merge branch 'feat/core/9468-normalization-epic-ldml' into feat/core/9468-test-improvement-epic-ldml
2023-10-19 14:00:38 -05:00
Marc Durdin
bd0e5b498f
Merge pull request #9800 from keymanapp/chore/update-schemas
...
chore: update kmp.schema.json and docs for kps schema
2023-10-19 21:50:01 +11:00
Eberhard Beilharz
2f073f7778
chore(linux): Rename KMN_CORE to KM_CORE_LIBRARY
2023-10-19 08:51:29 +02:00
Marc Durdin
fae6277b20
chore: update kmp.schema.json and docs for kps schema
2023-10-19 13:09:26 +07:00
Marc Durdin
14ea216b4e
fix(common): don't use URL in common/web/types
...
Fixes #9788 .
2023-10-19 09:22:07 +07:00
Eberhard Beilharz
b5c6f31b05
chore(linux): Rename KBP to CORE
2023-10-18 15:48:21 +02:00
Marc Durdin
5218726583
fix(developer): handle invalid project folders cleanly
...
Fixes #9715 .
2023-10-18 06:10:41 +07:00
Marc Durdin
1db919d581
fix(developer): handle fv_all keyboard project with no .kmn
2023-10-18 05:41:52 +07:00
Steven R. Loomis
c3a74dd448
Merge branch 'feat/core/9468-normalization-epic-ldml' into feat/core/9468-test-improvement-epic-ldml
2023-10-16 17:15:09 -05:00
Steven R. Loomis
d46e08267e
fix(common,developer): ldml test fix 🙀
...
- There are two cases. Added comments to cross-link them.
For: #9468
2023-10-16 10:52:39 -05:00
Steven R. Loomis
f89be2d21b
fix(common): ldml test fix 🙀
...
- the wrong test case was updated previously
For: #9468
2023-10-16 10:24:49 -05:00
Steven R. Loomis
f4501fea81
chore(developer): remove an unused error code 🙀
2023-10-13 17:38:08 -05:00
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
Marc Durdin
e42567906d
chore: update readme for keyboard_info schema
2023-10-12 07:08:20 +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
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
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
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
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
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
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