Commit graph

24978 commits

Author SHA1 Message Date
Eberhard Beilharz
e5c4b6f077
Merge pull request #10232 from keymanapp/refactor/web/tests
chore(web): Better match directory structure for headless engine tests
2023-12-15 08:12:49 +01: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
rc-swag
aef718c56b fix(core): update linux test load_source call 2023-12-15 14:05:37 +10: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
fd5cf041ff feat(developer): update to basic.txt for key-not-found 🙀
- add the new gap key
- start adding the additional vkeys

For #9451
2023-12-14 19:06:49 -06:00
Steven R. Loomis
10275e699d fix(common): hextobin should return an error status 2023-12-14 15:49:01 -06:00
Steven R. Loomis
767d216936
Merge branch 'master' into feat/developer/9451-key-not-found-epic-ldml 2023-12-14 15:18:06 -06:00
Keyman Server
afcf7b5dc8
Merge pull request #10262 from keymanapp/auto/version-master-17.0.231
auto: increment master version to 17.0.231
2023-12-15 01:06:46 +07:00
Keyman Build Agent
8a4625fcbd auto: increment master version to 17.0.231 2023-12-14 13:06:10 -05:00
Eberhard Beilharz
f3d244844c
chore(web): Address code review comments 2023-12-14 18:52:35 +01:00
Eberhard Beilharz
0cb002c0cc
chore(web): Merge branch 'fix/web/8848_Inputs' into chore/web/attachmentTests 2023-12-14 18:52:24 +01:00
Eberhard Beilharz
f7443c3b67
refactor(web): Move supported input types into separate method 2023-12-14 18:51:04 +01:00
Eberhard Beilharz
3172313510
chore(web): Merge branch 'master' into refactor/web/tests 2023-12-14 18:44:50 +01:00
Eberhard Beilharz
d2d46c020e
Merge pull request #10231 from keymanapp/chore/web/deadcode
chore(web): Remove dead code
2023-12-14 18:39:02 +01:00
Eberhard Beilharz
bcdf6268a8
chore(web): Merge branch 'master' into chore/web/deadcode
# Conflicts:
#	web/test.sh
2023-12-14 16:04:22 +01:00
Darcy Wong
ac9319f3b3
Merge pull request #10260 from keymanapp/chore/history-16.0.144
chore(common): Add entries from 16.0.144 HISTORY.md
2023-12-14 15:57:26 +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
Darcy Wong
4d30b6f36b chore(common): Add entries from 16.0.144 HISTORY.md 2023-12-14 14:41:17 +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
Shawn Schantz
55f69ae734
Merge pull request #10066 from keymanapp/chore/mac/use-core-actions-struct
chore(mac): use core actions struct
2023-12-14 11:58:34 +07:00
Shawn Schantz
4b5495e41b
Update mac/Keyman4MacIM/Keyman4MacIM/KeySender.m
add guard clause

Co-authored-by: Marc Durdin <marc@durdin.net>
2023-12-14 11:57:13 +07:00
Marc Durdin
4df5132932
Merge pull request #10243 from keymanapp/fix/mac/codesign-robustness
fix(mac): improve code signing robustness
2023-12-14 15:51:40 +11:00
Joshua A. Horton
d26dabb555 chore(web): Merge branch 'master' into feat/web/fancy-suggestion-banner-megamerge 2023-12-14 11:31:34 +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
Joshua Horton
31a73e0f59
Merge pull request #10238 from keymanapp/fix/web/webview-test-host
fix(web): fixes android-webview emulation Web test page
2023-12-14 10:16:29 +07:00
Joshua Horton
d493fddcb5
Merge pull request #10253 from keymanapp/fix/web/null-to-null-event-unit-test
fix(web): unit test for null-null keyboard switch event from #10245
2023-12-14 10:14:27 +07:00
Marc Durdin
bfc35e9272 feat(developer): common Messages exports from kmc modules
Relates to #10150. Makes the various Messages classes in kmc modules
accessible to other modules. Some file renames involved to reduce
confusion.

No functional changes.

Fixes kmc-analyze metadata.

See #10254 for a related future fix.
2023-12-14 09:40:18 +07: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
b881049583 fix(web): fixes unit test needing update from #10245 2023-12-14 08:27:19 +07: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
Joshua Horton
c93e640a34
Merge pull request #10245 from keymanapp/fix/web/null-get-keyboard
fix(web): fixes null-stub keyboard lookups, related 'keyboardchange' event niche case
2023-12-14 08:10:53 +07:00
Steven R. Loomis
5fd1f98f7f feat(developer): fix import 🙀
For #9451
2023-12-13 18:28:55 -06:00
Steven R. Loomis
9a77b5d9a7
Merge pull request #10251 from keymanapp/chore/linux/10024-nodejs-and-docker
chore(linux): docker: fix Node.js install, make customizable
2023-12-13 17:24:51 -06:00
Steven R. Loomis
2c852e7530 chore(linux): docker: make emscripten version customizable
Fixes: chore(linux): script deprecation warning from nodesource #10024
2023-12-13 23:23:55 +00:00
Steven R. Loomis
a7fca66daa
Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2023-12-13 17:16:19 -06:00
Steven R. Loomis
56aac458b0
Merge pull request #10252 from keymanapp/fix/core/10249-unbreak-linux-epic-ldml
fix(core): ldml: fix bad usage of unique_ptr 🙀
2023-12-13 14:54:02 -06:00
Steven R. Loomis
74985f4576 fix(core): ldml: fix bad usage of unique_ptr 🙀
- needed to declare the pointer properly

Fixes: bug(core): Build failures in LDML code on newer Ubuntu versions #10249
2023-12-13 13:06:27 -06:00
Steven R. Loomis
9e5091acd0 chore(linux): docs: add note about Dev Containers
- add note about how to use these docker images as Dev Containers
2023-12-13 18:54:58 +00: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
Steven R. Loomis
bf08c73f22 chore(linux): docker: fix Node.js install, make customizable
- fix the Node.js install script deprecation
- also make items configurable such as Ubuntu version and Node version

Fixes: chore(linux): script deprecation warning from nodesource #10024
2023-12-13 18:26:01 +00:00
Eberhard Beilharz
c9fac1b944
chore(web): Add unit tests for pageContextAttachment 2023-12-13 19:04:59 +01:00