Commit graph

1707 commits

Author SHA1 Message Date
Joshua A. Horton
435bfec4e5 change(web): app/browser now uses common bundler script 2023-12-15 14:13:44 +07:00
Joshua A. Horton
0b8ee4e6db refactor(web): drops lm-worker primary bundle script 2023-12-15 11:35:56 +07:00
Joshua A. Horton
dccdb6d87a feat(web): creates a Web-bundling cmd script 2023-12-15 11:34:35 +07:00
Joshua A. Horton
17605a405e change(web): lm-worker build dir constants 2023-12-15 11:34:20 +07:00
Joshua A. Horton
7392fdd572 refactor(web): lm-worker polyfiller rework 2023-12-15 11:04:45 +07:00
Joshua A. Horton
9f2816ca99 change(web): lm-worker wrapper script generalization 2023-12-15 09:47:50 +07:00
Joshua A. Horton
0e20cc3552 chore(web): a bit more lm-worker wrapping polish 2023-12-14 15:49:57 +07:00
Joshua A. Horton
2abf2c0142 change(web): lm-worker wrapper generalization prep 2023-12-14 15:46:48 +07:00
Joshua A. Horton
ad56b9ea53 chore(web): centralizes lm-worker build polyfill handling 2023-12-14 15:32:21 +07:00
Joshua A. Horton
0653398ef2 chore(web): mild lm-worker bundling simplification 2023-12-14 15:15:00 +07:00
Joshua A. Horton
154cac8bd5 chore(web): drops unused index.js artifact from lm-worker 2023-12-14 15:14:53 +07:00
Marc Durdin
0ebc5d6aab feat(developer): add -m parameter to control message display
Fixes #10150.

This feature adds a command line parameter to kmc to control the
severity of INFO, HINT and WARN level messages. The severity of any of
these messages can be reduced all the way to INFO, or even disabled, or
increased to ERROR. The compiler and the reporter will honour the new
code and fail builds when failure-level codes are encountered.

Inputs are validated against all the available compiler messages in all
modules. This also provides a good pathway for automated future
documentation generation of compiler messages.

In order to process the input parameters cleanly, have refactored some
of kmc's build command logic.

This commit increases code coverage for kmc to roughly 50%.
2023-12-14 13:17:29 +07:00
Marc Durdin
eb881dc137
Merge pull request #7324 from keymanapp/feature-gestures
epic: new gesture engine 🐵
2023-12-14 15:23:43 +11:00
Joshua A. Horton
8f40936834 chore(web): Merge branch 'feature-gestures' into chore/web/worker-polyfill-cleanup 2023-12-14 08:14:47 +07:00
Steven R. Loomis
6488a42875 chore(linux): docs: fix Node.js install
- update other docs to simply point to NodeSource's instructions

Fixes: chore(linux): script deprecation warning from nodesource #10024
2023-12-13 18:33:51 +00:00
Joshua Horton
c754a22d7f
Merge pull request #10173 from keymanapp/feat/web/path-base-coord-replacement
feat(web): enhanced flick resetting via path base-coord replacement 🐵
2023-12-13 14:09:32 +07:00
Joshua Horton
207324e68a
Merge pull request #10152 from keymanapp/change/web/path-evaluate-signature
change(web): prep for enhanced flick-resets - alters the contact-path evaluation signature 🐵
2023-12-13 14:09:23 +07:00
Joshua Horton
535bfec1b3
Merge pull request #10242 from keymanapp/chore/merge-master-into-feature-gestures
chore: merge master into feature-gestures 🐵
2023-12-13 14:09:05 +07:00
Joshua A. Horton
6887ca3053 chore(web): drops a worker polyfill, makes another conditional 2023-12-13 09:05:38 +07:00
Marc Durdin
4f32875a57 chore(web): cleanup tests 2023-12-13 08:06:37 +07:00
Marc Durdin
e2ce64d9be fix(web): mocha describe does not do async
mocha describe() does not accept an async function. Any async prep
should be done in a before() function, which does support async.

One helpful ref: https://github.com/mochajs/mocha/issues/2975#issuecomment-1004176440
2023-12-13 05:38:51 +07:00
Marc Durdin
60bb1e4d9e chore(developer): Merge branch 'master' into feat/developer/9473-kmc-module-api-consolidation 2023-12-13 05:01:20 +07:00
Joshua Horton
ea0de2775b
Merge pull request #10169 from keymanapp/feat/web/gesture-path-memory-optimization
feat(web): gesture processing - path memory-use optimization 🐵
2023-12-12 07:31:56 +07:00
Marc Durdin
03625c6e98
Merge pull request #10157 from keymanapp/fix/common/10143-kpj-handle-empty-files-element
fix(common): kpj loader needs to handle empty Files element 🦕
2023-12-12 01:12:27 +11:00
Marc Durdin
d99c4cd669 chore(web): update LexicalModelCompiler call 2023-12-11 12:21:20 +07:00
Marc Durdin
52038e22aa chore(developer): remove unintended usage of callbacks.path/callbacks.fs in kmc 2023-12-11 11:43:24 +07:00
Marc Durdin
f9c3be09a6 refactor(developer): move outFile out of CompilerBaseOptions
`outFile` is not a compiler option, and so it should not be a part of
the `CompilerBaseOptions` interface. This formally separates the
command-line options from the compiler options, which eliminates a
number of restrictive structures.
2023-12-11 09:47:23 +07:00
Joshua Horton
0825db270f
chhcore(web): Update gestureDebugPath.ts
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-12-09 09:20:55 +07:00
Joshua Horton
2511e37dcc
Merge pull request #10190 from keymanapp/chore/merge-master-into-feature-gestures
chore: merge master into feature-gestures 🐵
2023-12-08 23:06:08 +07:00
Joshua Horton
cfedbc7410
Merge pull request #10185 from keymanapp/fix/common/models/worker-reset-context
fix(common/models): lm-worker context resets didn't properly manage context cache 🐵
2023-12-08 15:36:35 +07:00
Joshua A. Horton
e55daa6a83 fix(web): fixes within-branch bugs from prior commits 2023-12-08 11:51:43 +07:00
Joshua A. Horton
aebdc6a0d7 feat(web): adds gesture-engine path-segment-start replacement 2023-12-08 11:51:42 +07:00
Joshua A. Horton
b98a7c455e change(web): changes model-path evaluate signature 2023-12-08 11:50:36 +07:00
Joshua A. Horton
a8e732033a fix(web): post-rebase export mixup 2023-12-08 11:49:50 +07:00
Joshua A. Horton
a975bc1347 chore(web): updates test resources, specs 2023-12-08 11:48:55 +07:00
Joshua A. Horton
3e1ac6701c refactor(web): differentiated path/src types - default no longer persists all coords 2023-12-08 11:48:50 +07:00
Joshua A. Horton
00e902566b change(web): gesture processing stats-object based aside from subviews 2023-12-08 11:48:24 +07:00
Marc Durdin
aa458152cf
Merge branch 'feature-gestures' into chore/merge-master-into-feature-gestures 2023-12-08 14:24:38 +11:00
Joshua A. Horton
9470c8a55c chore(web): adds 'private' keyword on a method 2023-12-08 09:18:08 +07:00
Joshua A. Horton
c43a2a4cfe fix(common/models): lm-worker reset context didn't clear context cache 2023-12-08 09:13:48 +07:00
Joshua A. Horton
2f2195e645 fix(common/models): worker reset context did not auto-tag new context 2023-12-08 09:11:33 +07:00
Joshua Horton
a4373f16aa
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-12-08 08:22:31 +07:00
Eberhard Beilharz
289e07572e
Merge pull request #10141 from keymanapp/fix/web/10099_null-property
fix(web): Fix null error with legacy keyboards
2023-12-07 08:13:38 +01:00
Joshua A. Horton
1a1a9712f3 fix(web): heterogenous longpress roaming 2023-12-07 11:17:47 +07:00
Marc Durdin
6bebefda10 feat(developer): move kmc-kmn to KeymanCompiler interface
Part of #9473.

KmnCompiler now implements KeymanCompiler, including the returned
artifacts. Also establishes the common types for the compiler interfaces
and consolidates and renames various API surfaces for kmc-kmn.
2023-12-07 11:05:31 +07:00
Joshua Horton
ef901a53d0
Merge pull request #10014 from keymanapp/fix/web/unwanted-banner-retoggle
fix(web): accidental suggestion-banner retoggle when disabling predictions
2023-12-07 09:52:21 +07:00
Eberhard Beilharz
38c783935e
fix(web): Fix null error with legacy keyboards
This uses a different approach in response to code review.

Fixes #10099.
2023-12-06 16:45:18 +01:00
Marc Durdin
d693bbd457 chore: address review comments 2023-12-06 13:00:04 +07:00
Marc Durdin
a330666515 fix(common): kpj loader needs to handle empty Files element
Fixes #10143.
2023-12-06 12:37:25 +07:00
Eberhard Beilharz
b58dcbcc3d
fix(web): Fix null error with legacy keyboards
Fixes #10099.
2023-12-05 18:11:18 +01:00