Joshua A. Horton
2cd8f90a66
chore(web): Merge branch 'feature-gestures' into chore/update-feature-gestures-base
2023-02-20 08:32:47 +07:00
Steven R. Loomis
bccc1e5720
Merge remote-tracking branch 'upstream/master' into chore/merge-master-20230217-epic-ldml
2023-02-17 18:52:33 -06:00
Sabine
244cf2148c
chore(developer): add more CERR_ tests
2023-02-17 09:32:53 +01:00
Joshua A. Horton
913593a652
feat(common/web): keyboard loader declaration bundle start
2023-02-17 14:26:35 +07:00
Joshua A. Horton
c056ab7d24
change(common/web): turns off tests for not-yet-adopted class
2023-02-17 11:23:22 +07:00
Joshua A. Horton
0a91730a12
feat(common/web): 'sandboxed' keyboard loading for DOM
2023-02-17 11:23:22 +07:00
Joshua A. Horton
ee9da1cf58
change(common/web): node + dom loaders as separately bundled modules
2023-02-17 11:23:21 +07:00
Joshua A. Horton
cb91a89736
feat(common/web): basic classes for DOM-based keyboard loading
2023-02-17 11:23:20 +07:00
Joshua A. Horton
8b57e28a34
chore(common/web): more import path fun
2023-02-17 11:23:16 +07:00
Joshua A. Horton
e6fe2b73bf
refactor(common/web): headless keyboard loading + related unit-test patchups
2023-02-17 11:23:01 +07:00
Steven R. Loomis
83adfdd1c6
Update common/web/types/src/kmx/kmx-plus-builder/build-key2.ts
...
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2023-02-16 21:43:45 -06:00
Joshua A. Horton
45d2e4f5e5
fix(common/web): fixes unit tests for prior commit
2023-02-17 08:03:24 +07:00
Steven R. Loomis
8ea87aa828
feat(common): ldml: merge keys into key2 🙀
2023-02-16 12:29:19 -06:00
Joshua A. Horton
58d2c3ba66
chore(common/web): TS import cleanup via subpaths
2023-02-16 16:05:45 +07:00
Joshua A. Horton
8fb5b42818
chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/early-import-path-cleanup
2023-02-16 15:52:25 +07:00
Joshua A. Horton
6af1e4890e
chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/feature-esmodule-update
2023-02-16 15:18:50 +07:00
Joshua A. Horton
889d347c02
chore(common): Merge branch 'master' into chore/common/js-ts-dependency-updates
2023-02-16 13:51:31 +07:00
Steven R. Loomis
dd76a1fc36
feat(developer): add -T option to kmc 🙀
...
- -T converts testdata.xml into testdata.json
#7535
2023-02-15 17:58:52 -06:00
Steven R. Loomis
228cdd6281
feat(common): ldml read keyboard testdata 🙀
...
- full data test
#7535
2023-02-15 17:58:52 -06:00
Steven R. Loomis
c2556acc4a
feat(common): ldml read keyboard testdata 🙀
...
- full data read
#7535
2023-02-15 17:58:52 -06:00
Steven R. Loomis
9a31e866df
feat(common): ldml read keyboard testdata 🙀
...
- early scaffolding
- with some basic tests
#7535
2023-02-15 17:58:52 -06:00
Steven R. Loomis
ac2366f460
feat(core): ldml C++ updates to modifiers 🙀
...
- spec: change caps value to 0x100 #7533
- add a 'mod_all' for validating valid modifier keys, plus tests
- add asserts on C++ side mapping modifiers to keyman constants
- use 'mod_all' to validate modifiers
- further fix modifier -> mod in binary
For: #7985 and related to #7533
2023-02-14 09:23:03 -06:00
Steven R. Loomis
7983fd9609
fix(developer): ldml spec: layr…mod needs to be a bitfield 🙀
...
- layr.layers.layer.mod needs to be a bit field just as keys.key.mod
Related to #7533
2023-02-14 09:23:03 -06:00
Steven R. Loomis
7c02ab85af
feat(core): ldml C++ feature support 🙀
...
- make ldml.cpp print FAILED on failure especially because of https://github.com/microsoft/vscode-cpptools/issues/487
- add vkey validation (#7135 )
- add disp validation
- fix: a latent bug in disp! disp.count was === vkey.count, oops. Fix and test cases.
For: #7985
2023-02-14 09:23:03 -06:00
SabineSIL
98b56947bc
Merge branch 'feature-kmcompx' into refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION
2023-02-14 12:21:13 +01:00
Marc Durdin
3c08d8f6b1
Merge pull request #8197 from keymanapp/chore/common/builder-cleanup-color-test
...
chore(common): automatically apply _builder_check_color
2023-02-11 13:13:30 +11:00
Marc Durdin
d5ca3fb56c
Merge pull request #8179 from keymanapp/fix/developer/8157-bcp47-code-dialog-inconsistencies
...
fix(developer): Select BCP47 Code dialog inconsistencies
2023-02-11 13:13:14 +11:00
Steven R. Loomis
db272e08e7
Merge remote-tracking branch 'upstream/master' into chore/merge-master-20230210-epic-ldml
2023-02-10 11:01:27 -06:00
Joshua A. Horton
a3752dd9ff
chore(common): full-repo ts-node update
2023-02-09 12:39:15 +07:00
Marc Durdin
4598f13ba8
chore(common): automatically apply _builder_check_color
2023-02-09 12:12:18 +07:00
Joshua A. Horton
878e0f0ea2
chore(common): updates typescript to 4.9.5
2023-02-09 08:40:52 +07:00
Marc Durdin
983ae43357
chore(common): add builder_term function
2023-02-08 12:49:54 +07:00
Steven R. Loomis
a8832ea893
Merge pull request #8172 from keymanapp/feat/developer/7965-morehardware-epic-ldml
...
feat(common): ldml different hardware support 🙀
2023-02-07 17:06:35 -06:00
Steven R. Loomis
9d6289d420
Merge pull request #8171 from keymanapp/feat/core/7533-modifier-epic-ldml
...
feat(common): ldml modifier support 🙀
2023-02-07 17:05:55 -06:00
Marc Durdin
c155325d73
fix(developer): Select BCP47 Code dialog inconsistencies
...
Fixes #8157 .
There are some limitations in this dialog as it stands; we will rework
it completely when we revisit BCP 47 tagging.
However, for now, this addresses some strange behaviours around the
Reset button and the displayed output:
* The Reset button will only be enabled if you change the text in the
Language Name field.
* The messaging around a missing language subtag is clearer -- tells
the user that they need to enter something there.
* The Reset button will now never insert default text strings into the
Language Name field.
One example of something that is slightly weird, is if you enter a
two-letter region subtag into the script box, it will show what looks
like a valid tag in the output box (e.g. `en-Au`), but it will be
considered invalid, because that two letter subtag needs to be entered
into the region box.
2023-02-07 12:40:31 +07:00
Steven R. Loomis
75fb36b9e0
Merge pull request #8143 from keymanapp/fix/common/7534-more-import-errs-epic-ldml
...
feat(common): ldml: import error messages from the compiler 🙀
2023-02-06 11:25:20 -06:00
Steven R. Loomis
c4f7f0eb12
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-06 11:24:24 -06:00
Joshua A. Horton
3cbd0632ba
chore(web): cleans up OSK module import paths
2023-02-06 10:09:28 +07:00
Joshua A. Horton
0b642561ac
chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/early-import-path-cleanup
2023-02-06 09:35:56 +07:00
Joshua Horton
e6caff993a
Merge pull request #8100 from keymanapp/feat/web/osk-modularization-testing
...
feat(web): unit tests for the OSK module & spun-off formerly-OSK components 🧩
2023-02-06 09:28:56 +07:00
Joshua A. Horton
25050a5354
chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/early-import-path-cleanup
2023-02-06 09:13:26 +07:00
Joshua A. Horton
e652e4df07
chore(web): addresses PR review concerns
2023-02-06 09:01:30 +07:00
Joshua A. Horton
e1124f726f
fix(common): sourcemap remap rename side-effects
2023-02-06 08:34:27 +07:00
Steven R. Loomis
f74a419bc6
chore: Review comment
2023-02-03 19:03:26 -06:00
Steven R. Loomis
41f77a874c
feat(common): ldml different hardware support 🙀
...
- add HardwareToKeymap in common/web/types
- add a mt-iso keyboard, very close to stock mt.xml
- add machinery for parsing modifier key sequences
- more test machinery
- add assertions against invalid modifier sequences
Fixes : #7965
2023-02-03 19:00:57 -06:00
Steven R. Loomis
af10312f84
feat(common): ldml modifier support 🙀
...
- spec: update spec for layr.mod field
- core/include/ldm: update constants
- bitfield modelled after s_modifier_names[] / LCTRLFLAG etc.
- new test case k_004_tinyshift, also update k_010_mt
- update const builder to ignore all *_map properties
- split utility out to utils, add test
For: #7533
(cherry picked from commit 0346bea488 )
2023-02-03 18:54:22 -06:00
Steven R. Loomis
6f51be0684
feat(common): ldml: unit tests for import error messages from the compiler 🙀
...
- test fixup
For: #7534
2023-02-03 18:54:07 -06:00
Steven R. Loomis
7ffd2b94f5
feat(common): ldml: updates to xml loading 🙀
...
per review comments
- exit-early on import errs
For: #7534
2023-02-03 18:43:06 -06:00
Steven R. Loomis
ac38c277d8
feat(common): ldml: comprehensive import/implied data tests 🙀
...
For: #7534
(cherry picked from commit 2b64006dba )
2023-02-03 18:43:06 -06:00
Steven R. Loomis
5c357fad81
feat(common): ldml: unit tests for import error messages from the compiler 🙀
...
- also, change loadFile in callbacks to return null when file isn't found.
For: #7534
(cherry picked from commit 33274dd2c8 )
2023-02-03 18:39:51 -06:00