Commit graph

5162 commits

Author SHA1 Message Date
Joshua A. Horton
f601df54f8 chore(web): Merge branch 'master' into feature-gestures 2022-10-13 09:50:23 +07:00
Marc Durdin
0945b92732 chore: Merge branch 'master' into chore/merge-master-into-feature-ldml 2022-10-13 13:38:31 +11:00
Marc Durdin
318058478b
Merge branch 'master' into chore/common/builder-tweaks 2022-10-13 13:30:13 +11:00
Marc Durdin
57f305666e
Update build.sh 2022-10-13 12:02:07 +11:00
Marc Durdin
d89c63aaf3
Update common/predictive-text/build.sh
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2022-10-13 06:04:14 +11:00
Sabine
156facaa5d chore(developer): add some more keyboardtests 2022-10-12 17:22:38 +02:00
Marc Durdin
b7000f5b7f chore(common): builder_start_action wildcard support 2022-10-12 13:28:37 +11:00
Marc Durdin
30121d9793 chore(common): remove space for builder_..._action param 2022-10-12 13:28:37 +11:00
Marc Durdin
1cecb87f7f feat(common): builder dependency support 2022-10-12 12:50:26 +11:00
Joshua A. Horton
b982afc5a9 chore(web): fixed typo in failing unit test 2022-10-11 08:30:12 +07:00
Joshua A. Horton
85b2c93c01 chore(web): builder script updates, karma version update match 2022-10-11 08:20:23 +07:00
Joshua A. Horton
5780da2cbf chore(web): Merge branch 'master' into chore/web/feature-gestures-merge-master 2022-10-11 08:11:44 +07:00
Joshua Horton
32b8263468
Merge pull request #7157 from keymanapp/feat/web/segmentation-headless-tests
feat(web): headless segmentation unit tests 🐵
2022-10-11 08:10:17 +07:00
Joshua Horton
0387c09b2d
Merge pull request #7142 from keymanapp/feat/web/segment-synthesis
feat(web): touchpath segment objects 🐵
2022-10-11 08:10:10 +07:00
Marc Durdin
b4641efe69 feat(developer): generate .js from ldml .xml
Compiles a LDML keyboard .xml down to a KeymanWeb .js file. Currently
only supports some metadata.

Next step is to generate touch layout data, then to embed the binary kmx
data.
2022-10-10 10:08:37 +11:00
Marc Durdin
73586bada7 chore(common): fixup test comment 2022-10-10 07:38:16 +11:00
Marc Durdin
07dde4df3e chore(common): fix typos, add tests, simplify writer options 2022-10-10 07:36:14 +11:00
Marc Durdin
da72845da3 feat(common): add keyman-touch-layout format and readers/writers for typescript 2022-10-10 07:23:38 +11:00
Sabine
2738052264 chore(developer): check for '_' after Errornumber in Filename 2022-10-06 16:38:49 +02:00
Joshua A. Horton
e347aeabfe chore(common/models): minor tweaks per review 2022-10-05 09:04:23 +07:00
Sabine
d06cf43a73 chore(developer): delete files of keyboards/kmcompx_tests 2022-10-04 14:13:59 +02:00
Sabine
fa9a66b3ec chore(developer): change mostly whitespace changes 2022-10-04 14:08:59 +02:00
Joshua A. Horton
d97b1eba3c fix(common/models): pred-text build.sh ignored --ci option 2022-10-04 09:20:42 +07:00
Joshua A. Horton
750a266796 chore(common/models): adds 'flag' file for CI use 2022-10-04 08:51:01 +07:00
Joshua A. Horton
d9a4d49fcf feat(common/models): pred-text library unit tests now emit CI-friendly reports 2022-10-04 08:48:56 +07:00
Sabine
4141b90c33 chore(developer): move CERR-tests into test/keyboards/invalid 2022-10-03 15:50:58 +02:00
Joshua A. Horton
9f952cd6eb chore(web): retools input-processor build, test scripts 2022-10-03 15:03:13 +07:00
Joshua A. Horton
4176605c37 chore(common/models): script doc tweak 2022-10-03 14:04:48 +07:00
Joshua A. Horton
dd9d773720 chore(common/models): lmlayer build.sh now builder-based 2022-10-03 12:45:23 +07:00
Joshua A. Horton
a2c9e7e514 chore(common/models): lmlayer tests now builder-based 2022-10-03 10:59:00 +07:00
Marc Durdin
78f4660557 feat(common): kvks writer for TypeScript
Also splits attributes from sub-elements in kvks-file in order to make
round-trip writing more pleasant.

Adds new round-trip test for kvks writer.

Removes incorrect property keybitmap, adds missing property layout.
2022-09-29 12:32:12 +10:00
Marc Durdin
26e32a0124 refactor(developer): split file type management into package
Splits file format reading, writing, and in-memory structures of .kmx,
.kvk, .kvks, .xml (ldml keyboard) into separate common module. Lots of
little fixups, sorry...

This will make it much easier for us to reuse these readers and writers
in future code.
2022-09-27 12:33:10 +10:00
Joshua Horton
fc7dfb9879
Merge pull request #7346 from keymanapp/chore/web/update-toolchain
chore(web): update Node dev-dependencies
2022-09-27 08:53:42 +07:00
Marc Durdin
50db7a2c9b feat(developer): add schemas for .kvk and .kvks
Also minor tweaks around reading .xml files.
2022-09-26 20:05:52 +10:00
Marc Durdin
0502d6ccbd
Merge pull request #7342 from keymanapp/chore/epic-ldml/merge-master-to-feature-ldml
chore: merge master into feature-ldml 🙀
2022-09-24 10:12:00 +10:00
Steven R. Loomis
de3225a4f5 Merge remote-tracking branch 'origin/feature-ldml' into chore/core/7276-checksums-epic-ldml 2022-09-22 17:13:27 -05:00
Joshua A. Horton
12c1de791e change(common/models): better handling of prior commit 2022-09-22 09:46:18 +07:00
Joshua A. Horton
5b2ba7aa70 chore(common/models): fixes script warning for unstarted action 2022-09-22 09:40:51 +07:00
Joshua A. Horton
fc105b1dab chore(web): updates karma dev-dependency 2022-09-22 09:13:20 +07:00
Joshua A. Horton
cf1088027b fix(common/web): mocks did not update deadkey positions on context manipulation 2022-09-22 08:57:45 +07:00
Marc Durdin
6f949ad63f chore(developer): fixup dependency type changes
* xml2js, `emptyTag` property: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/59259
* semver `parse` `includePrerelease` property: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61586#discussion_r939877412
* commander use needed to be declared for hextobin
2022-09-22 11:46:44 +10:00
Steven R. Loomis
93a9509302 chore(core): delete crc32.cpp and crc32.pas from some places 2022-09-21 18:13:19 -05:00
Marc Durdin
cae408edc5 chore: merge feature-ldml into branch 2022-09-21 14:56:45 +10:00
Marc Durdin
51b1808c9a chore: typo in lm-worker build 2022-09-21 10:32:33 +10:00
Marc Durdin
a3129adedc refactor(common): rename builder_has_action and document
* `builder_has_action` renamed to `builder_start_action`
* `builder_report` renamed to `builder_finish_action`
* `builder_has_action` created to be a silent test for the action
* Added reasonably comprehensive documentation.
2022-09-21 10:21:35 +10:00
Joshua A. Horton
21b376594e chore(web): Merge branch 'feature-gestures' into feat/web/touchpath-segmentation 2022-09-20 14:25:01 +07:00
Joshua A. Horton
12ac0df573 chore(common): low-hanging requested changes 2022-09-20 12:07:14 +07:00
Joshua A. Horton
ccf2919bb4 feat(web): report-scoping no longer option; is perma-on 2022-09-20 10:56:01 +07:00
Marc Durdin
55f302d929
Merge pull request #7322 from keymanapp/chore/merge-master-to-feature-ldml
chore: merge master into feature-ldml 🙀
2022-09-20 13:42:40 +10:00
Joshua A. Horton
2f639ecc9c feat(common): builder report scoping option 2022-09-20 10:10:51 +07:00