Commit graph

16385 commits

Author SHA1 Message Date
Marc Durdin
39bca0541a chore(common): update auto labeler configuration 2022-09-19 06:39:41 +10:00
Marc Durdin
e840f04ccf chore(common): make scripts executable and add pre-commit test 2022-09-19 06:39:13 +10:00
Marc Durdin
5a9495c548 chore(developer): fixup tests for kmlmc, kmlmp 2022-09-19 06:37:30 +10:00
Marc Durdin
4e396224d0 chore(developer): fixup external refs to kmc 2022-09-19 06:36:56 +10:00
Marc Durdin
003f23d7b4 feat(developer): fixup and prepare build scripts and docs for kmc 2022-09-19 06:36:06 +10:00
Marc Durdin
2d55546e55 refactor(developer): command-line wrappers for kmc 2022-09-19 06:33:51 +10:00
Marc Durdin
9c623ed872 refactor(developer): split kmlmc into kmc-model, kmc-model-info, kmc-package 2022-09-19 06:30:50 +10:00
Marc Durdin
97f4951f50 refactor(developer): move kmc modules to kmc-keyboard 2022-09-19 06:26:32 +10:00
Marc Durdin
df997a39c0
Merge pull request #7287 from keymanapp/chore/developer/epic-ldml/kmc-improve-validation
chore(developer): improve kmc validation and corresponding tests 🙀
2022-09-19 05:43:50 +10:00
Marc Durdin
d16b110b2d
Merge pull request #7286 from keymanapp/feat/developer/7273-store-metadata-for-kmc--epic-ldml
feat(developer): add kmx metadata to kmxplus compiles 🙀
2022-09-19 05:43:42 +10:00
Steven R. Loomis
71be289c4c
Merge pull request #7274 from keymanapp/fix/core/7220-validate 2022-09-15 21:38:05 -05:00
Marc Durdin
3f818af46b
chore: Update developer/src/kmc/test/fixtures/sections/meta/invalid-version-1.0.xml 2022-09-16 09:25:57 +10:00
Steven R. Loomis
3ceea19218 fix(core): validate kmxplus files 🙀
- split validation out into a separate kmx_file_validator.hpp
- kmx_file.h should remain C-only usable

Fixes: #7220
2022-09-14 16:32:18 -05:00
Marc Durdin
091e2d63ba chore: add feature- branches to labeler 2022-09-14 14:08:16 +10:00
Marc Durdin
abb7190362 chore: upgrade multi-labeler 2022-09-14 13:51:17 +10:00
Marc Durdin
8ec59b8867 chore: improve label match for stable 2022-09-14 13:51:17 +10:00
Marc Durdin
e7bfd273ed chore: improve label match for stable 2022-09-14 13:51:16 +10:00
Marc Durdin
ba88412dfe chore(developer): improve kmc validation and corresponding tests
* Add a bunch of tests for keys
* Add tests for version. (improves meta test coverage to 100%)
* A bit more consistency cleanup also of error message functions.
* Adds a compiler failure (FATAL) if compile fails after validate
  passes.
* Overall test coverage now 93.5% lines. Biggest gap still kmx-builder.
  All compiler units are >90%.
2022-09-14 11:47:14 +10:00
Marc Durdin
a8b49b4a46 chore: improve auto labeling 2022-09-14 10:28:30 +10:00
Marc Durdin
110f6ffbbd feat(developer): add kmx metadata to kmxplus compiles
Fixes #7273.

Adds 4 kmx system stores to allow existing configuration tools to load
and process KMXPlus files without modification:

* `TSS_NAME` (first `<name>`)
* `TSS_COMPILEDVERSION` (only if `options.addCompilerVersion == true`)
* `TSS_KEYBOARDVERSION` (from `<version number>`)
* `TSS_TARGETS` (currently always 'desktop', will later include more
  targets)

In order for `TSS_COMPILEDVERSION` to be handled correctly, needed to
plumb in the new `CompilerOptions` interface. This could be a separate
PR, but the changes are not huge, so opted to append the changes here.

Updates related tests and fixtures. Refactored some of the e2e helpers
into helpers/index.ts for use with the metadata-compiler tests.
2022-09-14 09:26:22 +10:00
Steven R. Loomis
be2307cc25 chore(core): ldml correct for rebase hiccup 🙀 2022-09-13 16:25:13 -05:00
Steven R. Loomis
ea417c9f72 fix(core): VerifyKeyboard() on kmxplus files 🙀
- move VerifyKeyboard into COMP_KEYBOARD::VerifyKeyboard
- change call sites in kmx_file.h

For: #7220
2022-09-12 17:01:45 -05:00
Marc Durdin
c820fbc0e6
Merge pull request #7264 from keymanapp/chore/core/kmx-file-verification-baby-steps
chore(core): verify StartGroup in kmx load 🙀
2022-09-13 07:46:02 +10:00
Marc Durdin
e96b162770
Merge pull request #7262 from keymanapp/chore/core/7247-use-builder-for-build-sh
chore(core): use builder_ for build.sh 🙀
2022-09-13 07:45:43 +10:00
Marc Durdin
3fd9df5277 chore(core): Merge branch 'feature-ldml' into chore/core/7247-use-builder-for-build-sh 2022-09-13 07:25:10 +10:00
Marc Durdin
865a18d0e1 chore(core): kmldmlc to kmc, pre-merge of feature-ldml branch 2022-09-13 07:22:49 +10:00
Marc Durdin
e67b90cd83 chore(linux): missed a cd statement 2022-09-13 07:16:58 +10:00
Marc Durdin
5adac5b683 chore(linux): restore meson configure step for install 2022-09-13 06:37:58 +10:00
Marc Durdin
3e6d9356c3
Merge pull request #7255 from keymanapp/chore/7222-optional-checksum
chore: make checksum optional 🙀
2022-09-13 06:30:04 +10:00
Marc Durdin
1ddf96a539
Merge pull request #7269 from keymanapp/chore/merge-master-into-feature-ldml
chore: merge master into feature-ldml 🙀
2022-09-13 06:29:22 +10:00
Marc Durdin
9be0e6f553 chore(linux): clean core and reconfigure as required 2022-09-13 06:16:07 +10:00
Marc Durdin
6987a170c0 chore(core): fixup paths for linux build 2022-09-12 17:22:21 +10:00
Marc Durdin
74a6c65710
Merge branch 'feature-ldml' into chore/merge-master-into-feature-ldml 2022-09-12 15:24:19 +10:00
Marc Durdin
854ace08fc chore(linux): fix typos 2022-09-12 15:19:43 +10:00
Marc Durdin
59262dc747
Merge pull request #7260 from keymanapp/chore/web/disable-browserstack
chore(web): disable browserstack on non-web-specific builds
2022-09-12 11:34:19 +10:00
Marc Durdin
f8924cfb6b
Merge pull request #7258 from keymanapp/chore/browserstack-no-concurrency-verification
chore:  try disabling concurrency for browserstack tests
2022-09-12 11:21:46 +10:00
Marc Durdin
bd48ba646b
Merge pull request #7219 from keymanapp/fix/developer/7216-suppress-repeated-warnings-unreachable-code
fix(developer): suppress repeated warnings about unreachable code
2022-09-12 11:18:54 +10:00
Marc Durdin
7f4e3b1142
Merge pull request #7190 from keymanapp/fix/developer/7122-compiler-current-line-mismatch
fix(developer): compiler mismatch on currentLine
2022-09-12 11:18:41 +10:00
Marc Durdin
7173715372 chore(linux): core:arch in reconf.sh also 2022-09-12 11:11:29 +10:00
rc-swag
9e9414ef10
Merge pull request #7263 from keymanapp/docs/windows/testhost-debug-workflow-hints
docs(windows): add steps for using testhost debugging
2022-09-12 10:40:54 +10:00
rc-swag
f8a0397fb3
docs(windows): apply review suggestions
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-09-12 10:38:43 +10:00
Marc Durdin
ca098628a2 chore(core): verify StartGroup in kmx load
This is the first baby step in good verification of a .kmx file. A place
to add more tests.

@keymanapp-test-bot skip
2022-09-12 10:31:40 +10:00
Ross
e406018267 docs(windows): add steps for using testhost debugging 2022-09-12 10:20:49 +10:00
Marc Durdin
85dfb95563 chore(linux): add arch param for core build 2022-09-12 10:15:25 +10:00
Marc Durdin
c3dd066291 chore(core): cleanup commands.inc.sh slightly 2022-09-12 10:12:34 +10:00
Marc Durdin
0e5943c266 chore(core): add core/.build-builder as CI signal
The presence of this file tells CI to use the new builder_ style
parameters for build.sh.

Once all branches for 16.0+ are updated to merge the
chore/core/7247-use-builder-for-build-sh branch, then we can remove this
file and the corresponding bash test branches in CI.
2022-09-12 10:06:29 +10:00
Marc Durdin
91d375ac81 chore(core): use builder_ for build.sh
Refactoring of build.sh to use the builder_ functions. The script should
now be a lot cleaner. Usage is available with `core/build.sh --help`

Targets are :x86, :x64, :wasm, :arch (linux/mac).

Supports additional requirements of Linux build (--target-path,
--configure).

By default will attempt to build all available targets.

Actions are: clean, configure, build, test, install, uninstall.

The install and uninstall actions only work for linux and mac targets at
present.
2022-09-12 09:56:32 +10:00
Marc Durdin
31a34f73d7 chore(core): add unit test for zero checksum 2022-09-12 05:46:13 +10:00
Marc Durdin
ef86410562
Merge pull request #7252 from keymanapp/chore/developer/7235-kmc-sort-meta-and-strs
refactor(developer): kmc - encapsulate strs and elem items for sort 🙀
2022-09-11 11:35:27 +10:00
Marc Durdin
3f58f2d2e8
Merge pull request #7250 from keymanapp/chore/developer/7221-use-local-ref-to-json-schema
chore(developer): kmc - use local reference for json schema 🙀
2022-09-11 11:35:19 +10:00