Commit graph

5430 commits

Author SHA1 Message Date
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
Joshua A. Horton
77137aecc3 feat(web): instant path-fulfillment unit-tests 2023-07-14 10:36:14 +07:00
Joshua A. Horton
3b0e19b505 feat(web): unit tests - longpress path modeling 2023-07-14 10:36:14 +07:00
Joshua A. Horton
3894ed0947 feat(web): base implementation of gesture single-contact-point matching 2023-07-14 10:36:13 +07:00
Marc Durdin
a9cae27e78
chore: apply review suggestion, delete comment
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2023-07-13 17:02:41 +10:00
Marc Durdin
2e7162d5a9 chore(windows): remove hardcoded compression level in wxs files 2023-07-13 12:12:02 +07:00
Marc Durdin
759d23f7e0 chore(windows): detect teamcity CI for uncompressed msi 2023-07-13 11:18:14 +07:00
Joshua A. Horton
e4cef64fdc docs(web): extra documentation b/c nomenclature shift 2023-07-13 10:37:11 +07:00
Joshua A. Horton
811648edb6 change(web): TrackedInput -> ComplexGestureSource 2023-07-13 10:29:35 +07:00
Joshua A. Horton
872a7db02e change(web): TrackedPoint -> SimpleGestureSource 2023-07-13 10:27:22 +07:00
Joshua A. Horton
fe62217414 change(web): TrackedPath -> GesturePath 2023-07-13 10:12:29 +07:00
Marc Durdin
4af61a89bd chore(windows): turn msi compression off for test builds 2023-07-13 09:48:06 +07:00
Joshua A. Horton
e8482f61b3 fix(web): bug in suggested-change typing 2023-07-13 09:25:19 +07:00
Steven R. Loomis
f3bfef0cc3 fix(common): set variables need to serialize elementstring 🙀
- populate the 'elem' field of set variables
- this will be needed for mapFrom/mapTo

For: #7375
2023-07-12 16:44:50 -05:00
Marc Durdin
4a329f9552 chore(developer): move touch layout schema load into import 2023-07-12 15:55:44 +07:00