Commit graph

33096 commits

Author SHA1 Message Date
Joshua A. Horton
f7ee474e58 feat(web): editable-div test, split a complex test into smaller, better-focused ones 2023-05-15 14:31:04 +07:00
Joshua A. Horton
f31e2d50ae chore(web): fixes .inputList, adds attachMode: manual, detach tests 2023-05-15 14:31:04 +07:00
Joshua A. Horton
03f2c08888 chore(web): minor test enhancement 2023-05-15 14:31:03 +07:00
Joshua A. Horton
f40d081a1c feat(web): initial stand-alone attachment unit tests 2023-05-15 14:31:02 +07:00
Eberhard Beilharz
879a34a180
feat(linux): Add package for keyman-system-service 2023-05-15 09:13:58 +02:00
Eberhard Beilharz
c2e6fe23bd
feat(linux): Client side 2023-05-15 09:13:58 +02:00
Eberhard Beilharz
603c1d6ea0
feat(linux): Add system service to toggle capslock LED
This implements the server side.
2023-05-15 09:13:58 +02:00
Joshua A. Horton
02a204dc2f fix(web): cherry-picks downline bugfixes 2023-05-15 13:57:38 +07:00
Joshua A. Horton
7c73a44d90 fix(web): pulls bug-fixes from unit-test branch forward 2023-05-15 13:57:38 +07:00
Joshua A. Horton
159a51ba18 chore(web): backports numerous bug fixes from unit-test branch 2023-05-15 13:57:37 +07:00
Joshua A. Horton
7327905b2e change(web): relocates two methods nearer to similar ones 2023-05-15 13:57:37 +07:00
Joshua A. Horton
c5fbfba006 chore(web): a couple of important lines / checks 2023-05-15 13:57:36 +07:00
Joshua A. Horton
fe16d0ce45 chore(web): initial connection of attachment engine to ContextManager 2023-05-15 13:57:35 +07:00
Joshua A. Horton
69673bc291 fix(web): constructor vs install (to facilitate event listener hooks) 2023-05-15 13:57:35 +07:00
Joshua A. Horton
c201b56ae1 refactor(web): attachmentEngine -> pageContextAttachment 2023-05-15 13:57:34 +07:00
Joshua A. Horton
eaff0b491f refactor(web): extracts engine/attachment child project 2023-05-15 13:57:34 +07:00
Joshua A. Horton
251e32aa02 chore(web): removes redundant type detail - TS can infer here 2023-05-15 13:57:33 +07:00
Joshua A. Horton
56efa71fff chore(web): cleans up a timeout func 2023-05-15 13:57:33 +07:00
Joshua A. Horton
ed48e94f2c chore(web): removes now-unused func definition 2023-05-15 13:57:32 +07:00
Joshua A. Horton
83d46a1fd7 chore(web): arrayFromNodeList as dom-util 2023-05-15 13:57:32 +07:00
Joshua A. Horton
0deefc38ff refactor(web): refactors element-attachment code as own module 2023-05-15 13:57:31 +07:00
Joshua Horton
c68ec30a62
Merge pull request #8630 from keymanapp/fix/web/app-browser-osk-hooks
fix(web): app/browser osk hooks, initialization 🧩
2023-05-15 13:55:04 +07:00
Joshua Horton
0831b20950
Merge pull request #8624 from keymanapp/refactor/web/browser-focus-maintenance-states
refactor(web): browser focus-maintenance states 🧩
2023-05-15 13:54:54 +07:00
Joshua Horton
5b32a8702d
Merge pull request #8591 from keymanapp/refactor/web/legacy-web-events
refactor(web): proper modularization, implementation of documented API events 🧩
2023-05-15 13:54:46 +07:00
Joshua Horton
5060b3243a
Merge pull request #8544 from keymanapp/fix/web/webview-android-launch
fix(web): modular app/webview KMW hosted within Android app 🧩
2023-05-15 13:54:36 +07:00
Eberhard Beilharz
e1984973b6
Merge pull request #8784 from keymanapp/chore/linux/install-tc
chore(linux): Fix installation build step on TC
2023-05-15 08:14:55 +02:00
sgschantz
13f0055ac9 comment cleanup 2023-05-15 08:50:36 +07:00
Joshua A. Horton
1308e74833 chore(web): Merge branch 'feature-esmodule-web-engine' into fix/web/webview-android-launch 2023-05-15 08:50:28 +07:00
Joshua Horton
fd76ab3227
Merge pull request #8770 from keymanapp/chore/feature-esmodule-a17s12-end-update
chore(web): merge master into feature-esmodule (end of a17s12)
2023-05-15 08:47:03 +07:00
Ross
0908f91719 chore(windows): restore debug message 2023-05-15 10:25:30 +10:00
Marc Durdin
ac0cd831f8 refactor(developer): CompileKeyboard merge 2023-05-14 17:14:51 +07:00
Marc Durdin
e7a6d3293d refactor(developer): move file write out of WriteCompiledKeyboard
Stage one of the kmcmplib filesystem refactoring, as we move to writing
to buffers and allowing caller to write to disk. Moves responsibility
for writing data out of WriteCompiledKeyboard and into
kmcmp_CompileKeyboardFile. This means that there are now no file writes
in Compiler.cpp, except for the temp UTF16fromUTF8 (which I will also
change to a in-memory buffer "real soon now").

Note that responsibility for writing in kmcmp_CompileKeyboardFile is
very much temporary as we'll move it out of the library altogether in
a subsequent commit.
2023-05-14 16:02:18 +07:00
Marc Durdin
135d6f9c0f
chore(developer): rename misnamed error message 2023-05-14 17:23:21 +10:00
Marc Durdin
7f1c05cba4
chore: rename Error_PackageMustContainAModelOrAKeyboard
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2023-05-14 17:18:59 +10:00
Marc Durdin
9978cb2d50 chore(developer): fix typo 2023-05-14 13:40:11 +07:00
Marc Durdin
6094457f18 chore: package-lock.json again 2023-05-14 12:49:44 +07:00
Marc Durdin
9a4f8de5e2 chore(common): npm install 2023-05-14 12:47:05 +07:00
Marc Durdin
4416957d2e chore(developer): skip c8 test for kmc-kmw for now 2023-05-14 12:46:54 +07:00
Marc Durdin
80e5d650de chore(developer): split CKF_KEYMANWEB for typescript compiler 2023-05-14 12:46:53 +07:00
Marc Durdin
eac6651c03 chore(developer): use older pattern for row id
In order to match existing behaviour with the legacy KeymanWeb compiler,
we should use quoted numbers for row ids. This behaviour can probably be
changed over to the new model in the future, but for now this prevents
unit tests from causing us grief.
2023-05-14 12:46:52 +07:00
Marc Durdin
ea374aaffd chore(developer): rollback temp kmcomp js build stub 2023-05-14 12:46:51 +07:00
Marc Durdin
c4b8f574cf chore(developer): add kmc-kmw to kmc deps 2023-05-14 12:46:22 +07:00
Marc Durdin
d00396467a chore(developer): add kmc-kmw to npm workspace 2023-05-14 12:44:36 +07:00
Marc Durdin
d2581ae4a8 feat(developer): 'working' kmw compiler 2023-05-14 12:43:22 +07:00
Marc Durdin
68f97306df feat: temp commit -- kmw compiler 2023-05-14 12:42:13 +07:00
Marc Durdin
13e8067600 feat: kmc-kmw more conversions 2023-05-14 12:41:20 +07:00
Marc Durdin
f68a4c84fd chore: continue 2023-05-14 12:41:19 +07:00
Marc Durdin
dc05daefde feat: more work on compiler 2023-05-14 12:41:18 +07:00
Marc Durdin
c1439759ca chore: temp step 1 of ts kmw 2023-05-14 12:41:17 +07:00
Marc Durdin
abd174557c chore(developer): verify that package has at least a model or keyboard
Adds `ERROR_PackageMustContainAPackageOrAKeyboard` and corresponding
unit tests. A couple of unit tests tweaked as their fixtures were no
longer valid!
2023-05-14 09:53:36 +07:00