Commit graph

19621 commits

Author SHA1 Message Date
Marc Durdin
7615febe28
Merge pull request #8635 from keymanapp/chore/developer/only-run-keyboards-repo-tests-on-full-test
chore(developer): only run keyboards-repo tests for a full-test
2023-04-21 13:35:46 +10:00
Marc Durdin
469bee3f58
Merge pull request #8634 from keymanapp/fix/developer/kmc-package-path-ref
fix(developer): kmc-package path reference
2023-04-21 13:35:39 +10:00
Keyman Server
30f1ca6274
Merge pull request #8640 from keymanapp/auto/version-master-17.0.92
auto: increment master version to 17.0.92
2023-04-21 01:03:50 +07:00
Keyman Build Agent
abecbb1083 auto: increment master version to 17.0.92 2023-04-20 14:03:15 -04:00
Marc Durdin
d9713a2e32 chore(developer): only run keyboards-repo tests for a full-test
If kmcmplib build includes the --full-test flag, then configure and run
tests that include pulling in the keyboards repo; otherwise skip all of
that.

This will require CI changes to run full tests, relating to #8361.
2023-04-20 12:59:00 +07:00
Marc Durdin
0e8861d407 fix(developer): kmc-package path reference 2023-04-20 12:05:26 +07:00
Darcy Wong
89b9b0c637
Merge pull request #8611 from keymanapp/fix/android/undo-suggestion
fix(android/engine): Fix resetContext calls when selection changes
2023-04-20 11:40:29 +07:00
Joshua Horton
4588fbcb68
Merge pull request #8629 from keymanapp/fix/common/web/pred-text-test-dependency
chore(web): sets kmc-model as dependency of input-processor test action
2023-04-20 11:24:25 +07:00
Marc Durdin
cc187ce858
Merge pull request #8628 from keymanapp/feat/developer/8150-non-binary-kvk-file-warning
feat(developer): warn if .kps file includes a non-binary .kvk file
2023-04-20 13:46:11 +10:00
Marc Durdin
c129dfe9a2
Merge pull request #8627 from keymanapp/feat/developer/8150-kmc-package-messages
feat(developer): add CompilerMessages support to kmc-package
2023-04-20 13:45:18 +10:00
Marc Durdin
954b1bc399
Merge pull request #8626 from keymanapp/refactor/developer/shared-test-helpers
refactor(developer): move shared test helpers into common
2023-04-20 13:45:10 +10:00
Marc Durdin
7d14ab4870
Merge pull request #8625 from keymanapp/feat/developer/kmc-kmn-use-new-message-infrastructure
feat(developer): use new message infrastructure in kmc-kmn
2023-04-20 13:45:01 +10:00
Marc Durdin
11058c4843
Merge pull request #8623 from keymanapp/feat/developer/kmc-warning-options
feat(developer): add warning options to kmc
2023-04-20 13:44:52 +10:00
Marc Durdin
cdc3775be9
Merge pull request #8622 from keymanapp/refactor/developer/build-activities-under-build
refactor(developer): move build activities
2023-04-20 13:44:44 +10:00
Marc Durdin
49c561c495
Merge pull request #8618 from keymanapp/fix/developer/8602-double-extension-on-model-build
fix(developer): kmc no longer emits double file extension for models
2023-04-20 13:44:37 +10:00
Marc Durdin
3cd8c5274e
Merge pull request #8617 from keymanapp/fix/developer/8615-kmc-fails-on-warnings
fix(developer): kmc-kmn would abort build on warnings
2023-04-20 13:44:29 +10:00
Marc Durdin
0ce42db399 chore: address review comments 2023-04-20 10:42:42 +07:00
Joshua A. Horton
78562a0bd9 chore(web): cleanup per PR reviews 2023-04-20 10:30:49 +07:00
Darcy Wong
6147fb6400 chore(android/engine): Also update ShouldIgnoreTextChange 2023-04-20 08:42:43 +07:00
Keyman Server
6281987453
Merge pull request #8633 from keymanapp/auto/version-master-17.0.91
auto: increment master version to 17.0.91
2023-04-20 01:02:34 +07:00
Keyman Build Agent
1f470e63bf auto: increment master version to 17.0.91 2023-04-19 14:01:55 -04:00
Marc Durdin
527ae24137
Merge pull request #8606 from keymanapp/fix/developer/8595-package-editor-lm-rtl
fix(developer): package editor no longer loses RTL flag for LMs
2023-04-19 19:52:31 +10:00
Marc Durdin
2f7407b4b8 feat(developer): warn if .kps file includes a non-binary .kvk file
Relates to #8150.

Legacy .kmp compiler would transform xml-format .kvk files into a binary
.kvk file; now we want that to remain the responsibility of the keyboard
compiler, so we'll warn the few users who are still doing this.
2023-04-19 15:32:29 +07:00
Marc Durdin
e89568c2d3 fix(developer): KmpCompiler call in kmlmp, kmlmi 2023-04-19 15:31:28 +07:00
Joshua A. Horton
60a7373046 fix(web): forgot to adjust calling script to changes 2023-04-19 15:19:52 +07:00
Joshua A. Horton
66da792319 chore(web): sets kmc-model as dependency of input-processor test action 2023-04-19 14:26:44 +07:00
Marc Durdin
88601f2409 feat(developer): add file-existence check to kmc-package 2023-04-19 12:44:52 +07:00
Marc Durdin
7644979dee chore(developer): unit test for absolute path warning 2023-04-19 12:17:29 +07:00
Marc Durdin
161fb924b9 feat(developer): add CompilerMessages support to kmc-package
Adds basic infrastructure for CompilerMessages events. Additional warnings,
errors, and hints to come.
2023-04-19 11:57:02 +07:00
Marc Durdin
5e1fbfa0b7 refactor(developer): move shared test helpers into common
Sadly, a lot of plumbing required to share code. But it should work now;
these test helpers are used only in dev so should not require
publication.
2023-04-19 11:43:27 +07:00
Marc Durdin
57bc98c096 chore(developer): ignore interface-only files for c8 2023-04-19 11:42:49 +07:00
Marc Durdin
1d496b7f6c chore(developer): ignore lexical-model.ts interface-only file for c8 2023-04-19 11:32:42 +07:00
Darcy Wong
f956d718a6
Merge pull request #8612 from keymanapp/chore/android/cleanup-old-sdk
chore(android/engine): Cleanup old SDK calls
2023-04-19 10:21:58 +07:00
Marc Durdin
c3b06ace63 chore(developer): add c8 exclusions to remaining modules 2023-04-19 10:18:18 +07:00
Marc Durdin
66542f6323 feat(developer): use new message infrastructure in kmc-kmn
Moves to using the `reportMessage` callback for reporting all errors in
kmc-kmn.

This required some patching to common/web/types in order to get the new
constants in place and add support for line numbers to `CompilerEvent`,
so at the same time I refactored `compilerErrorSeverityName` into the
module.

After the refactor, coverage tests were failing because they included
the test/ folder, so cleaned that up at the same time.
2023-04-19 10:13:14 +07:00
Darcy Wong
75d447cecc fix(android/engine): Revert change to KMTextView 2023-04-19 09:07:01 +07:00
Marc Durdin
2c8dadb327 feat(developer): add warning options to kmc
Adds --compiler-warnings-as-errors and --no-warn-deprecated-code options
to kmc command line and interfaces.

Note that most compilers do not yet honour these options, only kmc-kmn.

Both of these should be handled in error filtering and reporting rather
than at the compiler level, so management of these may be factored out
of kmcmplib and into kmc later (although this goal may be blocked by
kmcmpdll's need to also use them).
2023-04-19 05:35:39 +07:00
Marc Durdin
2f7fbd9068 refactor(developer): Add BuildTestDataOptions interface 2023-04-19 05:22:48 +07:00
Marc Durdin
bfdd4a5fd9 refactor(developer): move build activities
Moves build activities under commands/build/, and build-test-data
action under commands/buildTestData. Clarifies which activites are
used where.
2023-04-19 05:18:34 +07:00
Marc Durdin
e926580c12 fix(developer): kmc no longer emits double file extension for models
Fixes #8602.
2023-04-18 13:40:37 +07:00
Marc Durdin
5f88bbf50c fix(developer): kmc-kmn would abort build on warnings
Fixes #8615.

The msgproc was never being located as we were missing the UTF8ToString
wrapper for the context.

This also ensures error message codes are emitted in hexadecimal, and
that the return value from the msgproc callback is 1, meaning 'continue
build'.
2023-04-18 13:04:59 +07:00
Darcy Wong
22402a34cd chore(android/engine): Cleanup old SDK calls 2023-04-18 11:23:15 +07:00
Keyman Server
cb3688d209
Merge pull request #8610 from keymanapp/auto/version-master-17.0.90
auto: increment master version to 17.0.90
2023-04-18 10:58:49 +07:00
Keyman Build Agent
9f1ab44a03 auto: increment master version to 17.0.90 2023-04-17 23:58:10 -04:00
Darcy Wong
d85451555a fix(android/engine): Fix resetContext calls when selection changes 2023-04-18 10:25:33 +07:00
Marc Durdin
a802791917
Merge pull request #8605 from keymanapp/fix/developer/8603-missing-deps
fix(developer): add missing dependencies
2023-04-18 13:10:43 +10:00
Joshua Horton
05759dc95f
Merge pull request #8546 from laineyhm/ios-settings-help-page
docs(ios): Add help page for Settings
2023-04-18 08:11:40 +07:00
Marc Durdin
b58ac8fe4a fix(developer): package editor no longer loses RTL flag for LMs
Fixes #8595.
2023-04-18 05:40:50 +07:00
Marc Durdin
3eb29c3427 fix(developer): add missing dependencies 2023-04-18 05:30:12 +07:00
Marc Durdin
13b20c245e
Merge pull request #8597 from keymanapp/chore/developer/tweak-exension-list-kmc
chore(developer): tweak build of extension list in kmc
2023-04-18 07:38:00 +10:00