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
14ea216b4e
fix(common): don't use URL in common/web/types
...
Fixes #9788 .
2023-10-19 09:22:07 +07: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
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
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
f76efc38cc
chore(common): stop using xml2js.processors.firstCharLowerCase
...
Fixes #9713 .
2023-10-09 05:43:29 +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
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
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
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
d4e4992714
chore(common): cleanup final Typescript non-ESM metadata
...
Fixes #9262 .
2023-10-04 12:55:51 +07:00
Marc Durdin
e0c2778199
Merge pull request #9644 from keymanapp/chore/merge-master-into-package-metadata
...
chore: merge master into package-metadata 🎺
2023-10-04 03:43:45 +02:00
Marc Durdin
99663ce9f0
Merge pull request #9621 from keymanapp/chore/developer/9620-validate-keyboard_info-and-fix-keys
...
chore(developer): validate emitted .keyboard_info and fix keys 🎺
2023-10-04 03:42:22 +02:00
Steven R. Loomis
01c171ce82
Merge pull request #9615 from keymanapp/feat/developer/9403-scancodes-epic-ldml
...
feat(developer): ldml scan codes support 🙀
2023-10-03 08:55:19 -05:00
Marc Durdin
f864f57d8b
Merge pull request #9607 from keymanapp/feat/developer/kmc-package-windows-installer
...
feat(developer): Windows package installer compiler 🎺
2023-10-03 15:35:43 +02:00
Steven R. Loomis
2b2661bb1b
feat(developer): scancode and forms 🙀
...
- fixes to the special case test
Fixes : #9403
2023-10-02 18:00:48 -05:00
Steven R. Loomis
8200f84418
feat(developer): scancode and forms 🙀
...
- fix casing of k_oC1
- allow vkey 226 to be doubly defined
- drop LdmlVkeyNames table and test, not needed anymore (was for vkey #7135 )
Fixes : #9403
2023-10-02 12:30:36 -05:00
Steven R. Loomis
1b8516652b
Actualizar virtual-key-constants.ts
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-10-02 09:23:48 -05:00
Marc Durdin
7adc9b5d95
feat(developer): support store(&version) '17.0'
...
Fixes #9541 .
Also adds version 16.0 support to the kmcmplib compiler constants, and
unit tests for both versions. Does not add any support for automatic
version feature detection, because that forces an inverted dependency on
the touch layout compilation phase (done in kmc-kmw), which would be a
significant refactor. This may be something we need to support in the
future.
2023-10-02 15:30:07 +07:00
Steven R. Loomis
17eba2d237
feat(developer): scancode and forms 🙀
...
- spec: 'hardware' is no longer an enum but a str.
Ripple effects here.
- custom scancodes and layouts are, interestingly, supported. But it's a warning.
- tests for bad scancodes.
Fixes : #9403
2023-09-30 22:06:39 -05:00
Steven R. Loomis
ffe00c06b5
feat(common): scancode - move vkey map generation into KeysCompiler 🙀
...
- also fix visual keyboard compiler to use same code
For: #9403
2023-09-30 18:54:37 -05:00
Steven R. Loomis
4b9d7cbe7e
feat(common): scancode - confirming that the calculated scancodes are the same 🙀
...
For: #9403
2023-09-30 17:22:50 -05:00
Steven R. Loomis
b9f9d9ce50
feat(common): scancode - generate scancode.ts 🙀
...
- interim step
- also re-add statically
For: #9403
2023-09-30 17:09:06 -05:00
Marc Durdin
d99388fc68
Merge branch 'epic/package-metadata' into chore/merge-master-into-package-metadata
2023-09-29 09:31:53 +02:00
Steven R. Loomis
968da50a5c
feat(developer): ldml dynamic scancodes 🙀
...
- emit scancodes.json
for: feat(developer): ldml scancodes 🙀 #9403
2023-09-28 17:43:06 -05:00
Steven R. Loomis
6e2d858792
feat(developer): ldml dynamic scancodes 🙀
...
- at least make sure we're using a consistent (if wrong) vkey for each scancode?
for: feat(developer): ldml scancodes 🙀 #9403
2023-09-28 17:16:27 -05:00
Steven R. Loomis
518cc36314
feat(common): scancode - skip test to validate prior changes 🙀
...
- working on a dynamic approach, skipping this test for now
For: #9403
2023-09-28 13:41:19 -05:00
Steven R. Loomis
5fa99f5314
fix(common): update keyman for removal of vkeys 🙀
...
dropped in upstream CLDR-17093
- missed changes
See #7135
2023-09-28 13:32:02 -05:00
Steven R. Loomis
bdef1c48d3
fix(common): update keyman for removal of vkeys 🙀
...
dropped in upstream CLDR-17093
See #7135
2023-09-28 13:03:44 -05:00
Marc Durdin
84d77ff306
Merge pull request #9537 from keymanapp/feat/developer/add-logFormat-to-kmc
...
feat(developer): add --log-format to kmc 🎺
2023-09-28 10:54:19 +02:00
Marc Durdin
65d95d39fc
Merge pull request #9535 from keymanapp/feat/developer/eliminate-source-info-files
...
feat(developer): eliminate source .model_info and .keyboard_info files 🎺
2023-09-28 10:54:08 +02:00