Commit graph

24978 commits

Author SHA1 Message Date
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
Marc Durdin
3c9492dd56 chore(developer): verify file types of content files in package
This is a transfer of the functionality in the legacy package compiler;
we could go much further in verifying file types and excluding certain
files, but that's a big design session. For now, just refreshed to
include the set of Keyman for Windows and Keyman Engine for Windows
files which are most likely to be accidentally included.

Adds WARN_RedistFileShouldNotBeInPackage and WARN_DocFileDangerous and
corresponding unit tests and constant declarations.
2023-05-14 09:31:32 +07:00
Keyman Server
0fb6b164ab
Merge pull request #8785 from keymanapp/auto/version-master-17.0.107
auto: increment master version to 17.0.107
2023-05-13 01:03:19 +07:00
Keyman Build Agent
db619deb66 auto: increment master version to 17.0.107 2023-05-12 14:02:41 -04:00
Eberhard Beilharz
83615b9d6c
chore(linux): Fix installation build step on TC
When building on TC we install into a temporary directory. This
broke with the recent introduction of build.sh because that
now calls `make install` whereas previously we explicitly called
`make install-temp` on TC. Instead of adding a `install-temp`
action to `build.sh` we now check in the Makefile if sudo is set.
2023-05-12 17:57:19 +02:00
Steven R. Loomis
d1fb5bc205
Merge pull request #8716 from keymanapp/feat/developer-234-uset-wasm-epic-ldml
feat(developer): uset api from wasm! 🙀
2023-05-12 10:14:35 -05:00
Steven R. Loomis
e795287b93 feat(developer): kmc-kmn: merge conflict updates 🙀
for: #7234
2023-05-12 08:44:50 -05:00
Steven R. Loomis
1937552f39 Merge remote-tracking branch 'upstream/master' into feat/developer-234-uset-wasm-epic-ldml 2023-05-12 08:44:19 -05:00
Steven R. Loomis
02a3b41222
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-05-12 08:37:32 -05:00
Ross
65ef3d0982 chore(windows): remove QueDebugInformation method 2023-05-12 18:21:44 +10:00
Marc Durdin
3b86754314
Merge pull request #8726 from keymanapp/chore/developer/disambiguate-compilers
chore(developer): rename Compiler and related classes
2023-05-12 17:58:14 +10:00
Marc Durdin
8446775dd5 feat(developer): verify at least one language in package
Adds `ERROR_MustHaveAtLeastOneLanguage` and corresponding unit test.
2023-05-12 14:42:07 +07:00
Joshua A. Horton
84cf3fdca5 fix(web): banner state management after predict-mode toggling 2023-05-12 14:25:21 +07:00
Marc Durdin
2528731b58 chore(developer): fixup missing rename 2023-05-12 14:15:24 +07:00
Marc Durdin
187a25240a chore(developer): fixup missing rename 2023-05-12 14:14:32 +07:00
Marc Durdin
27aa806282 chore(developer): Merge branch 'master' into chore/developer/disambiguate-compilers 2023-05-12 14:09:50 +07:00
Marc Durdin
b3436b8aff chore(developer): fix kmc-ldml unit tests 2023-05-12 13:31:56 +07:00
Marc Durdin
e4ad95550e feat(developer): verify bcp47 tags are valid and minimal in kmc-package
Adds checks for bcp47 tag metadata for keyboards and lexical models --
both validity and minimality. Adds `ERROR_LanguageTagIsNotValid` and
`WARN_LanguageTagIsNotMinimal` messages and corresponding unit tests.

This was implemented by extending the existing duplicate id check, so
renamed that function accordingly.
2023-05-12 13:21:13 +07:00
Joshua A. Horton
7b67b2f095 fix(developer): keyman-version package reference 2023-05-12 11:53:34 +07:00