Commit graph

214 commits

Author SHA1 Message Date
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
c964b735e5 fix(web): engine init for loader, harness, and requisitioner 2023-03-10 14:28:37 +07:00
Joshua A. Horton
f3b09bb9cc feat(web): keyboard loading from cache stubs 2023-03-10 13:46:18 +07:00
Joshua A. Horton
5cd3dee125 chore(web): addendum to prior commit 2023-03-04 09:52:37 +07:00
Joshua A. Horton
629b985ccd change(web): keyboard requisitioner - addKeyboardArray, addLanguageKeyboards 2023-03-01 14:47:08 +07:00
Joshua A. Horton
a9aa3441ff change(web): a little cleanup 2023-02-28 08:42:10 +07:00
Joshua A. Horton
e7dedfc8ee change(web): embedded-OSK configuration, linkages 2023-02-28 08:42:09 +07:00
Joshua A. Horton
b4358f4880 change(web): prep for debug vs release top-level bundling 2023-02-28 08:42:08 +07:00
Joshua A. Horton
39a807eeb1 change(web): engine key event forwarding, osk path config 2023-02-28 08:42:08 +07:00
Joshua A. Horton
d25b1ae846 change(web): modularizes extension of DefaultOutput rules 2023-02-28 08:36:40 +07:00
Joshua A. Horton
9c673c0d3d chore(web): app/browser cleanup, docs 2023-02-28 08:36:39 +07:00
Joshua A. Horton
5e2aa647b8 docs(web): doc-comment cleanup for handled events 2023-02-28 08:36:39 +07:00
Joshua A. Horton
21eaed3d91 change(web): start of divergent app-target modularization 2023-02-28 08:36:17 +07:00
Joshua A. Horton
576542edfd docs(web): more readme.md doc bits re folder distinctions 2023-02-28 08:34:51 +07:00
Joshua A. Horton
7c9c5a6d3f change(web): minor progress across multiple files, some legacy events 2023-02-28 08:34:50 +07:00
Joshua A. Horton
a21abce33e chore(web): removes namespaced version of the converted variable-store serializer class 2023-02-28 08:34:49 +07:00
Joshua A. Horton
37cc0cca07 fix(web): import pathing 2023-02-28 08:34:48 +07:00
Joshua A. Horton
358e0f67c0 change(web): converts var-store cookie serializer 2023-02-28 08:34:48 +07:00
Joshua A. Horton
a9759ab194 change(web): some top-level keyboard loading control flow, handling 2023-02-28 08:34:47 +07:00
Joshua A. Horton
986e43940f change(web): some top-level module connectivity 2023-02-28 08:34:46 +07:00
Joshua A. Horton
820e948a1d docs(web): minor analysis comment 2023-02-28 08:34:45 +07:00
Joshua A. Horton
367d66e33b change(web): starts on modularized ContextManager base class, top-level module design 2023-02-28 08:34:45 +07:00
Joshua Horton
97c1688328
change(web): applies new include style to new child scripts
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-27 08:50:59 +07:00
Joshua A. Horton
456a2902ae fix(web): engine/osk does not depend on engine/device-detect 2023-02-24 08:49:58 +07:00
Joshua Horton
884efc700b
Merge pull request #8280 from keymanapp/refactor/web/cookie-serialization
refactor(web): cookie serialization + deserialization 🧩
2023-02-24 08:15:45 +07:00
Joshua Horton
2fcd801119
Merge pull request #8271 from keymanapp/chore/web/namespaced-main
chore(web): renames folder for namespaced Web code 🧩
2023-02-24 08:15:38 +07:00
Joshua Horton
ba328a7cb1
Merge pull request #8270 from keymanapp/refactor/web/common-configuration
refactor(web): common config for both types of Keyman Engine for Web 🧩
2023-02-24 08:15:32 +07:00
Joshua A. Horton
2233358f95 chore(web): tweak per review 2023-02-23 10:09:30 +07:00
Joshua A. Horton
ad2e58a9cd fix(web): builder_describe_outputs paths 2023-02-23 08:42:29 +07:00
Joshua A. Horton
1dd403856e fix(web): OSK module currently depends on input-processor b/c of pred-text 2023-02-23 08:14:18 +07:00
Joshua A. Horton
ca1d85f9e5 chore(web): cleanup per PR review 2023-02-22 15:39:58 +07:00
Joshua A. Horton
b62f220d68 chore(web): renames common compile method .sh, defines child test actions for headless stuff 2023-02-22 14:46:04 +07:00
Joshua A. Horton
9692ab9db2 chore(web): minor cleanup 2023-02-22 12:28:11 +07:00
Joshua A. Horton
2135420a0a change(web): reworks Web build to #8198 - builds with parent-child pattern 2023-02-22 12:05:23 +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
Joshua A. Horton
a8bd8a1712 chore(web): removes converted code from kmwutils.ts 2023-02-21 14:25:13 +07:00
Joshua A. Horton
e53e938d15 chore(web): cleanup 2023-02-21 14:16:11 +07:00
Joshua A. Horton
85966e128b change(web): osk cookie now leverages numeric typing, defaults 2023-02-21 14:16:11 +07:00
Joshua A. Horton
a36c0f11ca refactor(web): OSK cookie now uses new cookie serializer 2023-02-21 14:16:10 +07:00
Joshua A. Horton
832e2413c9 refactor(web): cookie serialization class, type enforcement 2023-02-21 14:16:10 +07:00
Joshua A. Horton
63b2e1185d chore(web): Merge branch 'refactor/web/common-configuration' into chore/web/namespaced-main 2023-02-21 14:15:46 +07:00
Joshua A. Horton
5f1099b862 chore(web): cleans up config submodule import, export pathing 2023-02-21 14:14:56 +07:00
Joshua A. Horton
7998029d0e chore(web): Merge branch 'change/web/keyboard-cache-fetch-modularization' into refactor/web/common-configuration 2023-02-21 14:02:22 +07:00
Joshua A. Horton
1081fb6052 chore(web): cleaner import pathing 2023-02-21 14:00:35 +07:00
Joshua A. Horton
23fa0c9e12 chore(web): moves remaining non-module engine/main to engine/namespaced-main 2023-02-20 14:02:16 +07:00
Joshua A. Horton
281ffe2d8d chore(web): fixes a describe_outputs 2023-02-20 13:46:05 +07:00
Joshua A. Horton
09c598ca8f refactor(web): extracts common config settings, creates corresponding esmodule 2023-02-20 13:43:22 +07:00
Joshua A. Horton
4a9be7a516 chore(web): forgetKeyboard() 2023-02-20 12:54:59 +07:00
Joshua A. Horton
bf569c9ca1 feat(web): stub/kbd cache unit tests, filtering of pre-fetched stubs 2023-02-20 12:54:58 +07:00