Commit graph

4544 commits

Author SHA1 Message Date
Joshua A. Horton
57101b24a6 fix(web): missed a nodejs timeout edge case 2023-07-24 11:32:57 +07:00
Marc Durdin
1bfd9e64ae refactor(developer): move keyman-targets.ts to common/web/types
Also adds unit test. Prep for use in kmc-keyboard-info.
2023-07-24 08:59:04 +07:00
Joshua A. Horton
41bad286a3 chore(web): Merge branch 'master' into chore/web/merge-feature-gestures-master-a17s17-end 2023-07-21 14:30:54 +07:00
Marc Durdin
1810434b34 chore: Merge branch 'feature-kmc-kmw' into chore/merge-master-into-kmc-kmw-a17s17 2023-07-21 10:09:33 +07:00
Marc Durdin
f89507aedf
Merge pull request #9303 from keymanapp/fix/developer/9302-double-add-of-keyboard_info
fix(developer): don't add .keyboard_info twice 🗜
2023-07-21 12:39:27 +10:00
Marc Durdin
7c1d2e04e2
Merge pull request #9301 from keymanapp/fix/developer/9296-9297-9298-9299-9300-compiler-warning-tweaks
fix(developer): kmc warnings tidyup 🗜
2023-07-21 12:39:20 +10:00
Joshua A. Horton
6b5b847b02 fix(web): syncs timestamps of active contact points, paths 2023-07-19 15:26:13 +07:00
Marc Durdin
1034d6944c
Merge pull request #9287 from keymanapp/refactor/developer/9286-remove-node-deps-from-kmc-model-info
refactor(developer): remove node dependencies from kmc-model-info 🗜
2023-07-19 18:25:18 +10:00
Marc Durdin
23b9f7bf93
Merge pull request #9283 from keymanapp/chore/developer/9272-work-around-experimental-json-modules
chore(developer): work around experimental JSON modules in node 🗜
2023-07-19 18:25:08 +10:00
Marc Durdin
2a1bbad5f8
chore: Update common/web/types/src/util/compiler-interfaces.ts
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2023-07-19 18:23:42 +10:00
Joshua Horton
042f33ecc9
Merge pull request #9275 from keymanapp/chore/web/gesture-unit-test-touchup
chore(web): gesture-engine unit test touchup 🐵
2023-07-19 15:23:39 +07:00
Joshua Horton
bae0e940ff
Merge pull request #9267 from keymanapp/feat/web/gesture-path-matching
feat(web): gesture model touch-contact-path evaluation 🐵
2023-07-19 15:23:32 +07:00
Joshua Horton
cc1eae24a9
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-07-19 15:23:22 +07:00
Joshua Horton
1cf0110849
chore(web): Apply suggestions from code review 2023-07-19 15:23:06 +07:00
Marc Durdin
f639d1e6d2
Update common/web/types/src/util/file-types.ts
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2023-07-19 18:22:15 +10:00
Marc Durdin
45dc9761d2
chore: Update common/web/types/build.sh 2023-07-19 18:16:59 +10:00
Marc Durdin
794bf8a3be chore(developer): use kmc messages for kmc-model-info
Fixes #9305.
2023-07-19 15:15:54 +07:00
Marc Durdin
6d291f6f10
Merge branch 'fix/developer/9296-9297-9298-9299-9300-compiler-warning-tweaks' into fix/developer/9302-double-add-of-keyboard_info 2023-07-19 18:14:59 +10:00
Marc Durdin
ab80e3c292 fix(developer): LexicalModelCompiler now takes a callbacks constructor parameter 2023-07-19 15:14:08 +07:00
Marc Durdin
e731e1acb5 fix(developer): don't add .keyboard_info twice
Fixes #9302.
2023-07-19 14:13:41 +07:00
Marc Durdin
fd8e17e05c fix(developer): respect checkFilenameConventions in kmc
Fixes #9300.
2023-07-19 13:56:21 +07:00
Joshua A. Horton
230ede74f7 fix(web): cherrypicked code generic mismatch 2023-07-19 12:04:30 +07:00
Joshua A. Horton
3bf13f610b feat(web): adds 'allowsInitialState' prop to ContactModel 2023-07-19 10:25:58 +07:00
Joshua A. Horton
10df059728 chore(web): Merge branch 'feat/web/gesture-path-matching' into chore/web/gesture-unit-test-touchup 2023-07-19 10:23:58 +07:00
Joshua A. Horton
d0d19b8f56 change(web): lower-level model/matcher result spec shift 2023-07-19 10:22:42 +07:00
Joshua A. Horton
8119a9baea chore(web): Merge branch 'feat/web/gesture-path-matching' into chore/web/gesture-unit-test-touchup 2023-07-19 09:39:01 +07:00
Joshua A. Horton
689a9ebf9a chore(web): Merge branch 'chore/web/ci-gesture-testing' into feat/web/gesture-path-matching 2023-07-19 09:28:32 +07:00
Joshua A. Horton
201985d673 chore(web): also pulls up the timeoutPromise unit-test fix 2023-07-19 08:30:11 +07:00
Joshua A. Horton
30c23760ae chore(web): connects gesture-recognizer tests for Web CI testing 2023-07-19 08:19:52 +07:00
Ross
7560927dca fix(windows): open pdf in an external browser
When opening a local pdf with the CEF module it causes prompt to
install an extension. This change opens the local pdf in a
browser in the same way the external pdf and webpages
are loaded.
2023-07-19 10:51:50 +10:00
Marc Durdin
e2dc338ef1 refactor(developer): remove node dependencies from kmc-model-info
Fixes #9286.

Refactors the use of path and fs into the standard kmc callbacks pattern
and adds `callbacks.fileSize()`, which is needed for populating the
metadata file.

Turns on eslint test for node dependencies for kmc-model-info.
2023-07-18 14:02:04 +07:00
Marc Durdin
b6ba229790 chore(developer): ensure schemas are built 2023-07-18 13:43:25 +07:00
Marc Durdin
88e216d017 chore(developer): work around experimental JSON modules in node
Fixes #9272.

Credit to @srl295.
2023-07-18 12:51:15 +07:00
Marc Durdin
908f5c2470 chore(developer): account for .keyboard_info in .kpj test 2023-07-18 12:34:42 +07:00
Marc Durdin
0e65d7703c feat(developer): add model_info and keyboard_info build activities to kmc
Adds ability to build .model_info and .keyboard_info files to kmc. Note
that .keyboard_info building is currently a stub as the .keyboard_info
compiler has not yet been translated to TypeScript, which will come in a
subsequent PR.

Note that .model_info and .keyboard_info builds depend on the project
loader, as they reference both keyboard and package source files when
constructing the metadata files.

Also:
* Fixed a deep reference to KeymanDeveloperProjectFile.
* Split the project loader into a utility unit.
* Marked the .kpj fileType field as deprecated, as it is easily
  extrapolated from the filename, with the aim to remove it entirely
  from version 2.0 projects.

@keymanapp-test-bot skip
2023-07-18 12:14:46 +07:00
Joshua A. Horton
321c88578f chore(web): Merge branch 'feat/web/gesture-path-matching' into chore/web/gesture-unit-test-touchup 2023-07-18 09:51:30 +07:00
Joshua A. Horton
0c7340129a fix(web): unit-test workaround for node setTimeout 1ms-early bug 2023-07-18 09:48:21 +07:00
Joshua A. Horton
938c3e21ba chore(web): Merge branch 'feat/web/gesture-path-matching' into chore/web/gesture-unit-test-touchup 2023-07-17 12:27:49 +07:00
Joshua A. Horton
b9c746b522 chore(web): changes in response to code review 2023-07-17 12:26:07 +07:00
Joshua A. Horton
330a4df740 fix(web): referenced path / file-extension for ci_config_adapter 2023-07-17 12:07:22 +07:00
Marc Durdin
7f0460172e
Merge pull request #9074 from keymanapp/chore/windows/disable-compression-for-wix-light-debug-builds
chore(windows): disable wix compression for debug builds
2023-07-17 15:01:09 +10:00
Joshua A. Horton
cd340a35da feat(web): adds stats-renormalization unit test 2023-07-17 10:42:36 +07:00
Joshua A. Horton
aa2c282dc3 chore(web): properly names GesturePath test suite; adds canary serialization tests 2023-07-17 10:42:09 +07:00
Joshua A. Horton
b69cf1d6ca change(web): TouchpathTurtle sample-emit, handling of 'item' tracking 2023-07-17 10:40:11 +07:00
Steven R. Loomis
3268be0c34 chore(common): add BUILDER_U32CHAR 🙀
- fix some other minor nits and documentation todos (no semantics)
- BUILDER_KEYS accidentally repeated 'ident' and 'size' from the parent interface

Fixes #9079
2023-07-14 12:42:35 -05:00
Steven R. Loomis
2e80d984c8 Merge remote-tracking branch 'upstream/master' into chore/common-9079-builder-str-ref-epic-ldml 2023-07-14 12:17:33 -05:00
Joshua A. Horton
dbf9ff22a0 chore(web): flick test placeholders 2023-07-14 12:42:45 +07:00
Marc Durdin
6eba701694 chore(windows): GO_FAST for 7z calls on debug builds 2023-07-14 11:53:17 +07:00
Joshua A. Horton
4d6320df2a feat(web): modipress path-model unit tests 2023-07-14 11:02:05 +07:00
Joshua A. Horton
46ef414d31 feat(web): unit tests - for simple tap paths; also adds extra longpress test detail 2023-07-14 10:44:25 +07:00