Commit graph

5430 commits

Author SHA1 Message Date
Joshua A. Horton
7ddadbe145 chore(web): padpc, widthpc cleanup 2022-10-20 08:47:59 +07:00
Sabine
abac2c680f chore(developer): edit + add CERR_tests 2022-10-19 18:46:04 +02:00
Joshua A. Horton
527aaa6618 feat(web): keyboard layout now allows numeric width, pad, sp 2022-10-19 10:27:38 +07:00
Steven R. Loomis
8ffba3f5d4 fix(developer): fixes for flicks, imports, specials 🙀
With this change, fr-t-k0-azerty.xml and mt.xml can load without any
ERROR 300007: The source file has an invalid structure errors.

Other errs show up, but it is progress.

Fixes #7411
2022-10-18 12:53:56 -05:00
Steven R. Loomis
56dcbc9a88 fix(developer): support updated CLDR structure 🙀
- backspace is now a transform type. Keep the same test.
2022-10-18 12:53:06 -05:00
Steven R. Loomis
85da473a85 chore(developer): update DTD location 🙀
- dtd is in a subdirectory to match CLDR layout
2022-10-18 12:52:27 -05:00
Steven R. Loomis
66a5cdb1f9 chore(developer): ldml: update tools and data for keyboard-preview 🙀
- update tooling in common and kmc
- update spec
- update test files
2022-10-18 11:32:41 -05:00
Joshua A. Horton
d692166e7d chore(web): fixes nested dependency/configures 2022-10-18 13:14:29 +07:00
Steven R. Loomis
85ed41e16c
Merge pull request #7410 from keymanapp/fix/developer/7404-elem0-epic-ldml 2022-10-17 08:53:23 -05:00
Steven R. Loomis
7e5c9ec675 fix(developer): offset of 0th elem str must be 0000 🙀
- update test fixture
- update kmx_plus.cpp to require this

Fix: 7404
2022-10-14 15:00:49 -05:00
Marc Durdin
cbb15b2cb9 chore(core): tweak scripts 2022-10-14 16:32:57 +11:00
Marc Durdin
2cf6bf3f60 chore(common): update build.sh dependencies for epic-ldml 2022-10-14 10:45:00 +11:00
Marc Durdin
986544c778 feat(common): builder script dependency and legacy script report
Adds /resources/build/builder-report.sh, internal maintenance script for
tracking build dependency tree and remaining legacy build.sh scripts.

@keymanapp-test-bot skip
2022-10-14 07:54:00 +11:00
Sabine
b6a68c9f69 Merge branch 'refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION' of https://github.com/keymanapp/keyman into refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION
# Conflicts:
#	common/test/keyboards/invalid/source/CERR_1234_sil_yoruba8_WrongCopyrightChar_and_WrongErrNrInName.kmn
#	common/test/keyboards/invalid/source/CERR_40133_balochi_phonetic_WrongErrNrInName.kmn
#	common/test/keyboards/invalid/source/sil_yoruba8_WrongCopyrightChar_AndMissingErNrInName.kmn
#	common/test/keyboards/invalid/source/xCERR_4034_balochi_phonetic_WrongNamingConvention.kmn
chore(developer): solve conflicts
2022-10-13 18:05:28 +02:00
Sabine
f74e69682d chore(developer): add some more keyboardtests 2022-10-13 17:13:43 +02:00
Marc Durdin
ce888d42e7 chore(common): fixup broken kmlmc script dependency
Rewrite of remaining new build.sh scripts will come in a subsequent PR.

@keymanapp-test-bot skip
2022-10-13 15:44:18 +11:00
Joshua A. Horton
54651d0163 feat(web): test script can trigger module build 2022-10-13 10:09:47 +07:00
Joshua A. Horton
2adf94f1c3 chore(web): builder script updates 2022-10-13 10:06:28 +07:00
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