Commit graph

33096 commits

Author SHA1 Message Date
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
159fa83582 fix(web): proper handling of OSK key events 2023-04-19 15:05:21 +07:00
Joshua A. Horton
fac650062f fix(web): reconnects many OSK hooks, initialization for app/browser 2023-04-19 15:05:20 +07:00
Joshua A. Horton
d5f518205f chore(web): Merge branch 'refactor/web/legacy-web-events' into refactor/web/browser-focus-maintenance-states 2023-04-19 15:05:04 +07:00
Joshua A. Horton
c5af5ce51a chore(web): Merge branch 'fix/web/webview-android-launch' into refactor/web/legacy-web-events 2023-04-19 14:57:53 +07:00
Joshua A. Horton
367d787ba4 fix(web): forgot an important return value 2023-04-19 14:52:53 +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
Joshua A. Horton
1f3887a8b0 fix(web): more chirality bootstrapping-keyboard fixes 2023-04-19 12:32:15 +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
Ross
ec8539543b chore(windows): remove dead code 2023-04-19 14:27:03 +10:00
Joshua A. Horton
4e75235643 fix(android): updates KeyboardHarness chirality kbd 2023-04-19 10:58:28 +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
Joshua A. Horton
3ed754653f refactor(web): setActivatingUI() => setMaintainingFocus() 2023-04-19 09:27:13 +07:00
Joshua A. Horton
2c78106ca4 chore(web): a little cleanup 2023-04-19 09:24:36 +07:00
Joshua A. Horton
bb5e80d1ca refactor(web): isActivating => maintainingFocus, justActivated => restoringFocus 2023-04-19 09:15:09 +07:00
Darcy Wong
75d447cecc fix(android/engine): Revert change to KMTextView 2023-04-19 09:07:01 +07:00
Joshua A. Horton
17e010fd39 docs(web): adds link to API docs 2023-04-19 09:01:27 +07:00
Joshua A. Horton
588841593c refactor(web): spins FocusAssistant off from UIManager as module 2023-04-19 08:56:15 +07:00
Joshua A. Horton
2733b8c46e chore(web): mild cleanup before next stuff 2023-04-19 08:07:03 +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
Joshua A. Horton
8bfa63bc77 fix(web): dependency chaining re: engine/events 2023-04-18 12:26:02 +07:00
Joshua A. Horton
2754ce1e9f change(web): better documentation for addListenerAttachmentExtension 2023-04-18 12:07:18 +07:00
Joshua A. Horton
fc669ab0c3 docs(web): minor docs tweak re missing KMW events 2023-04-18 12:07:17 +07:00
Joshua A. Horton
f384e7a244 fix(android): re-enables chiral-keyboard signalling 2023-04-18 12:07:17 +07:00
Joshua A. Horton
5dea0ee89f change(web): OSK to provide documented API events, not base keyman object 2023-04-18 12:07:17 +07:00
Joshua A. Horton
33aeec7b2b feat(web): EmitterListenerSpy - event-gen for listener registration 2023-04-18 12:07:16 +07:00
Joshua A. Horton
f433b57075 change(web): legacy events as child project engine/events 2023-04-18 12:07:16 +07:00
Joshua A. Horton
5f333d56ce fix(web): keyman.addEventListener, keyman.removeEventListener 2023-04-18 12:07:15 +07:00
Joshua A. Horton
b3d5fa30eb refactor(web): modularizes legacy-style KMW events 2023-04-18 12:07:15 +07:00
Joshua A. Horton
08d3c1b442 chore(web): prep for extraction of legacy event implementation 2023-04-18 12:07:14 +07:00