Commit graph

4544 commits

Author SHA1 Message Date
rc-swag
1cb288144c chore(core): Merge branch 'master' into fix/core/clear-core-context-invalidate 2023-12-19 09:13:43 +10:00
Joshua A. Horton
23d6dda22c feat(web): es6 artifact for app/webview - required extra changes to do well 2023-12-18 15:41:16 +07:00
Joshua A. Horton
1513582fb5 fix(web): es5 lm-worker bundling 2023-12-18 15:30:28 +07:00
Joshua A. Horton
b95051bd95 fix(web): transplanted layout methods must be @Enumerable for ES6 bundling 2023-12-18 15:24:11 +07:00
Joshua A. Horton
ba3dbbea14 feat(web): lm-worker now produces ES5 + ES6 targets 2023-12-18 10:56:13 +07:00
Joshua A. Horton
927aaf614b feat(web): build:app/browser now produces ES5 + ES6 targets 2023-12-18 10:44:54 +07:00
Joshua A. Horton
05162e7aac chore(web): keepNames for ES6 2023-12-18 10:32:37 +07:00
Joshua A. Horton
a293afcf2b chore(web): better bundle-config definition 2023-12-18 10:32:36 +07:00
Joshua A. Horton
99481d64ed feat(web): lm-worker es6-bundling 2023-12-18 10:32:36 +07:00
Joshua A. Horton
f6e77a3736 feat(web): alternate artifact - es6-bundled Web
Does not affect the worker.

Bundling is in a temp-script and not properly connected to our actual build infrastructure.
2023-12-18 10:32:35 +07:00
Joshua A. Horton
3230612d9a change(web): final KMW-bundler script cleanup 2023-12-18 10:23:28 +07:00
Joshua A. Horton
b34a020990 change(web): keyboard-processor bundler script use 2023-12-18 10:13:31 +07:00
Joshua A. Horton
df2436b5c4 change(web): converts most of lower-level Web module scripts 2023-12-18 10:08:07 +07:00
Joshua A. Horton
d0edbf03fe fix(web): __assign treeshaking 2023-12-18 10:08:07 +07:00
Joshua A. Horton
b5d97070e5 change(web): converts Web's engine/ targets 2023-12-18 10:08:00 +07:00
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
rc-swag
2f737981f7 fix(core): add expected_context to keyboard unit tests
The unit tests needed to be updated to handle the cases
where the context is invalidated by a keystroke. However, they
still need to be able to verify the final string the application
should recieve. To do this a expected context token has been added
to the unit test format.
2023-12-15 11:20:08 +10:00
Steven R. Loomis
10275e699d fix(common): hextobin should return an error status 2023-12-14 15:49:01 -06: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
rc-swag
8e20fcf6b2 fix(core): missed checking in baseline.kpj 2023-12-14 14:20:05 +10:00
rc-swag
437f938368 fix(core): fix baseline test cases k_000 and k_0008
Test k_000___null_keyboard has been updated as the [RALT K_B] should
cause the context to be reset.

Test k_008___vkey_input__ctrl_alt_2_ has been updated as the [LCTRL LALT
K_B] does not match a keyboard rule the context is deemed invalid and should be
reset.

It could be a consideration to modify the text_store object to better
reflect the state of a applications context however this would mean
we would need two expected results one for the application and one
for the context
2023-12-14 12:25:32 +10: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
67b1b65337 chore(developer): Merge branch 'master' into feat/developer/9473-kmc-module-api-consolidation 2023-12-13 08:07:09 +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
69a11c9ceb chore(developer): Merge branch 'master' into feat/developer/10161-developer-settings-in-rc 2023-12-13 05:05:53 +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
Marc Durdin
1f06224c6e
Merge pull request #10151 from keymanapp/fix/developer/10144-10145-10146-10148
fix(developer): various project fixes 🦕
2023-12-13 08:45:30 +11:00
rc-swag
4a511bde1e fix(core): clear core context on invalidate cache 2023-12-12 23:49:04 +10: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
59cb7b25d3 chore(developer): Merge branch 'master' into feat/developer/10161-developer-settings-in-rc 2023-12-11 21:13:33 +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
3d5506ef3e chore(windows): move reportExceptions check in exception handler to caller 2023-12-11 20:44:53 +07:00
Marc Durdin
01fe68a66d feat(developer): Move options to ~/.keymandeveloper/options.json
Fixes #10161.

Includes transition of existing options from registry to options.json,
and once options.json exists, will always read from that and ignore
registry. Was able to eliminate some of the legacy datatype usage for
several options. Reader/writer includes naive file lock retry to avoid
contention, which I am hopeful will be sufficient for our needs, given
the low chance of contention.
2023-12-11 15:31:21 +07:00