Commit graph

105 commits

Author SHA1 Message Date
Joshua A. Horton
78562a0bd9 chore(web): cleanup per PR reviews 2023-04-20 10:30:49 +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
787b32ba34
Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
Joshua A. Horton
e5241956d2 change(web): changes per PR review suggestions, puts ModelSpec in own source file 2023-03-27 13:18:53 +07:00
Joshua A. Horton
6682886566 chore(web): Merge branch 'change/web/webview-context-manager' into change/web/language-resource-module 2023-03-27 12:19:46 +07:00
Joshua A. Horton
2a6733600f chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/webview-context-manager 2023-03-27 12:15:25 +07:00
Joshua Horton
e8d05db4d3
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-27 11:56:02 +07:00
Joshua A. Horton
de5354b843 change(web): modularizes ModelManager 2023-03-20 09:25:06 +07:00
Joshua A. Horton
8a13a4e64d change(web): webview context configuration + connections 2023-03-17 14:10:05 +07:00
Joshua A. Horton
7be31d0372 refactor(common/web): PredictionContext reuse on context change, postApplication cleanup 2023-03-17 14:09:48 +07:00
Joshua A. Horton
b34cdb9c84 chore(web): Merge branch 'change/web/osk-and-key-event-integration' into change/web/keyboard-requisition 2023-03-14 13:11:34 +07:00
Joshua A. Horton
f7d082981c chore: Merge branch 'master' into chore/feature-esmodule-master-update 2023-03-14 11:51:57 +07:00
Joshua A. Horton
d0d7b38ad7 chore(web): input-processor patchup, kmc-model as builder dep 2023-03-14 09:39:50 +07:00
Joshua A. Horton
f5e64a10a5 chore: Merge branch 'chore/common/ldml-ts-and-node-updates' into chore/feature-esmodule-master-update 2023-03-14 09:23:39 +07:00
Marc Durdin
92ed99c4d6 chore(common): build script performance improvements
Improves build script performance by:
* using built-ins wherever possible (e.g. string splitting)
* eliminating redundant code
* using absolute (to $KEYMAN_ROOT) rather than relative paths to avoid realpath
* removing unnecessary `npm run` calls

BEFORE                         | AFTER
-------------------------------|----------------------
time ./core/build.sh --help    |
real    0m2.116s               | real    0m0.874s
user    0m0.578s               | user    0m0.198s
sys     0m0.984s               | sys     0m0.289s
-------------------------------|----------------------
time ./web/build.sh --help     |
real    0m3.523s               | real    0m0.757s
user    0m1.166s               | user    0m0.320s
sys     0m2.273s               | sys     0m0.455s
-------------------------------|----------------------
time ./web/build.sh -d         |
real    1m34.750s              | real    0m59.974s
user    0m9.721s               | user    0m6.284s
sys     0m19.652s              | sys     0m13.202s

@keymanapp-test-bot skip
2023-03-13 07:18:09 +07:00
Joshua A. Horton
595411beb3 change(common/web): activeKeyboard vs loadedKeyboard 2023-03-04 09:49:54 +07:00
Marc Durdin
9eb472579c chore: Merge branch 'feature-ldml' into chore/merge-master-to-feature-ldml-A17S7-2 2023-02-23 08:05:31 +07:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Steven R. Loomis
bccc1e5720 Merge remote-tracking branch 'upstream/master' into chore/merge-master-20230217-epic-ldml 2023-02-17 18:52:33 -06:00
Joshua A. Horton
913593a652 feat(common/web): keyboard loader declaration bundle start 2023-02-17 14:26:35 +07:00
Joshua A. Horton
ee9da1cf58 change(common/web): node + dom loaders as separately bundled modules 2023-02-17 11:23:21 +07:00
Joshua A. Horton
e6fe2b73bf refactor(common/web): headless keyboard loading + related unit-test patchups 2023-02-17 11:23:01 +07:00
Joshua A. Horton
45d2e4f5e5 fix(common/web): fixes unit tests for prior commit 2023-02-17 08:03:24 +07:00
Joshua A. Horton
58d2c3ba66 chore(common/web): TS import cleanup via subpaths 2023-02-16 16:05:45 +07:00
Joshua A. Horton
8fb5b42818 chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/early-import-path-cleanup 2023-02-16 15:52:25 +07:00
Joshua A. Horton
6af1e4890e chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/feature-esmodule-update 2023-02-16 15:18:50 +07:00
Joshua A. Horton
889d347c02 chore(common): Merge branch 'master' into chore/common/js-ts-dependency-updates 2023-02-16 13:51:31 +07:00
Steven R. Loomis
db272e08e7 Merge remote-tracking branch 'upstream/master' into chore/merge-master-20230210-epic-ldml 2023-02-10 11:01:27 -06:00
Joshua A. Horton
a3752dd9ff chore(common): full-repo ts-node update 2023-02-09 12:39:15 +07:00
Marc Durdin
4598f13ba8 chore(common): automatically apply _builder_check_color 2023-02-09 12:12:18 +07:00
Joshua A. Horton
878e0f0ea2 chore(common): updates typescript to 4.9.5 2023-02-09 08:40:52 +07:00
Marc Durdin
983ae43357 chore(common): add builder_term function 2023-02-08 12:49:54 +07:00
Joshua A. Horton
3cbd0632ba chore(web): cleans up OSK module import paths 2023-02-06 10:09:28 +07:00
Joshua A. Horton
0b642561ac chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/early-import-path-cleanup 2023-02-06 09:35:56 +07:00
Joshua Horton
e6caff993a
Merge pull request #8100 from keymanapp/feat/web/osk-modularization-testing
feat(web): unit tests for the OSK module & spun-off formerly-OSK components 🧩
2023-02-06 09:28:56 +07:00
Joshua A. Horton
e652e4df07 chore(web): addresses PR review concerns 2023-02-06 09:01:30 +07:00
Steven R. Loomis
ae45295dc6 Merge remote-tracking branch 'upstream/master' into chore/merge-master-a17s5-REDO-epic-ldml 2023-02-03 16:53:35 -06:00
Joshua A. Horton
8f37539dfa chore(common/web): input-processor import path cleanup 2023-02-03 15:58:12 +07:00
Joshua A. Horton
0348ec47f2 chore(web): Merge branch 'change/web/element-wrapper-modularization' into change/web/osk-modularization 2023-02-03 08:49:02 +07:00
Joshua A. Horton
0588610f7a change(common/web): better declaration emit 2023-02-02 15:47:42 +07:00
Joshua A. Horton
9e3de80989 feat(common/web): unit tests for spun-off PredictionContext class: banner state management 2023-01-26 12:48:48 +07:00
Joshua A. Horton
ffb614f52c chore(web): post-refactor fixes to keyboard-processor, input-processor unit tests 2023-01-25 09:14:23 +07:00
Joshua A. Horton
d987444683 change(web): OSK modularization, prep for standalone mode, refactors to achieve both 2023-01-20 15:16:05 +07:00
Joshua A. Horton
0e979a8fdf change(web): input-processor modularization - first pass 2023-01-20 14:50:56 +07:00
Joshua A. Horton
e48db510e1 change(common/web): different namespace-like export attempt 2023-01-20 13:20:17 +07:00
Steven R. Loomis
bc14f18460 Merge remote-tracking branch 'origin/master' into chore/core/mergemaster4-epic-ldml 2022-12-15 17:55:13 -06:00
Joshua A. Horton
52e005a5ca chore(web): Merge branch 'master' into chore/web/top-level-build-script-rework 2022-11-22 12:20:18 +07:00
Marc Durdin
7255f1c7f7 fix(web): avoid reset for touch system keyboard
When using the touch 'system' keyboard, the modifier keys are reset by
the kbdMismatch logic introduced in #7543. This is evident in the web
debugger of Keyman Developer, where the system keyboard is easily
accessible.

This maintains the fix from #7543, but removes the `resetContext()`
side-effect.
2022-11-07 06:43:39 +11:00
Joshua A. Horton
c3e3fb04d5 fix(web): ensures keyboard does not change underneath OSK keystroke 2022-10-26 09:45:26 +07:00