Commit graph

5430 commits

Author SHA1 Message Date
Steven R. Loomis
f56e4ffa85 feat(common): ldml scancodes 🙀
For: #9403

- unit test the set and row count for codes
- fix errors!
2023-09-22 17:56:35 -05:00
Steven R. Loomis
44f061f293 feat(common): ldml scancodes 🙀
For: #9403

- improve how forms are read in the XML structure
- warnings when custom (non-default-import) scancodes are loaded
- error, as usual, when an unknown form is present
2023-09-22 17:33:20 -05:00
Steven R. Loomis
3a677da0c6 feat(common): ldml scancodes 🙀
For: #9403

- use Symbols to track import status
2023-09-22 16:48:07 -05:00
Steven R. Loomis
6a54ebdd57 feat(developer): ldml scancodes 🙀
For: #9403

- read implied imports for scancodes
2023-09-22 15:20:20 -05:00
Joshua A. Horton
5a607a01ea fix(web): base item for first source matching a gesture-model 2023-09-22 09:42:08 +07:00
Joshua A. Horton
cfd58a0a07 chore(web): TODO cleanup, modipress test prep 2023-09-22 09:05:41 +07:00
Joshua A. Horton
b8e758ba7e chore(web): removes debug console-logging 2023-09-22 09:04:47 +07:00
Joshua A. Horton
0d60e1454c feat(web): test for blocking of new gestures while selecting subkeys 2023-09-22 09:04:47 +07:00
Joshua A. Horton
9e3a3051e3 feat(web): integrates GestureSequence with GestureRecognizer 2023-09-22 09:04:46 +07:00
Joshua A. Horton
5b6932a7f6 chore(web): forgot to fully remove old bit from what was 'optional-chain' 2023-09-22 09:04:28 +07:00
Joshua A. Horton
9638d716a8 feat(web): shortcutted simple-taps now separate gesture sequences 2023-09-22 09:04:28 +07:00
Joshua A. Horton
d3a72da1da feat(web): implements GestureSequence 2023-09-22 09:04:27 +07:00
Joshua A. Horton
0580194147 docs(web): better documentation on gesture-model spec shift 2023-09-22 09:04:27 +07:00
Joshua A. Horton
dcb6aac072 change(web): 'setchange' merged into 'chain' 2023-09-22 09:04:26 +07:00
Joshua A. Horton
8d7989deb4 change(web): optional-chain => replace, chain 2023-09-22 09:04:26 +07:00
Joshua A. Horton
636b9c700c chore(web): minor cleanup 2023-09-22 09:04:25 +07:00
Joshua A. Horton
1f8071b816 fix(web): gesture-model definition spec + gesture-sequence implementation 2023-09-22 09:04:25 +07:00
Joshua A. Horton
8ca37efcae fix(web): gesture-model did not check start-item conditions for first source 2023-09-22 09:02:18 +07:00
Marc Durdin
a1a7b39481 feat(developer): Windows package installer compiler
Replaces kmcomp's package installer build infrastructure. While this is
mostly legacy, package installers are still used in adhoc distribution
scenarios, so we need to continue to support with the new kmc.

The package installer is a Windows self-extracting zip archive. The user
is expected to find setup-redist.exe and keymandesktop.msi themselves,
from the Keyman Developer release files. They are not included with
Keyman Developer, but are available as standalone downloads from
https://downloads.keyman.com/windows/.

`kmc build` has been updated to include two subcommands:
* `kmc build ldml-test-data`
* `kmc build windows-package-installer`

Both of these subcommands are a little long, but the use cases for them
are fairly narrow, so I believe this is okay. `kmc build-test-data` has
been removed, as `kmc build ldml-test-data` replaces it.
2023-09-21 17:35:16 +07:00
Steven R. Loomis
60295cef70 chore(core): ldml update keyboard -> keyboard3 🙀
For: #9604

- DOCTYPE fixes (typos) to make the red squiggles go away
2023-09-20 18:56:29 -05:00
Joshua A. Horton
f23b6e10de chore(web): more reversion of early gestureModel spec shifts 2023-09-20 10:39:27 +07:00
Joshua A. Horton
56a9f0ad94 fix(web): empty arrays are not falsy 2023-09-20 10:37:35 +07:00
Joshua A. Horton
4b2ae47a7a chore(web): revert early gesture-model tweaks 2023-09-20 10:31:38 +07:00
Joshua A. Horton
8b4e291c7b chore(web): minor cleanup 2023-09-20 10:28:34 +07:00
Joshua A. Horton
5212dcaef7 chore(web): minor cleanup + removal of queuedPromisePrioritizer 2023-09-20 10:01:50 +07:00
Joshua A. Horton
4fbe7286d8 fix(web): misc fixes and auto-test fixes 2023-09-20 09:58:29 +07:00
Steven R. Loomis
8be00cb482 chore(resources): code changes for keyboard to keyboard3 🙀 2023-09-18 19:00:32 -05:00
Marc Durdin
7f3d7ce17d chore: fixup targets for build_index 2023-09-16 15:46:37 +07:00
Marc Durdin
f140b5e18d chore: convert keyboards build.sh to builder script 2023-09-16 15:41:07 +07:00
Marc Durdin
454448bc63 chore: use kmc instead of kmcomp to build test keyboards 2023-09-16 15:24:46 +07:00
Marc Durdin
c4a84fc9e9
Merge pull request #9566 from keymanapp/chore/merge-master-into-feature-gestures
chore: merge master into feature-gestures 🐵
2023-09-15 17:06:20 +02:00
Marc Durdin
0cd3bd6dea
Merge pull request #9563 from keymanapp/chore/merge-master-into-package-metadata
chore: merge master into package-metadata 🎺
2023-09-15 17:06:16 +02:00
Marc Durdin
3a2540b077 feat(developer): remove kmcomp
Removes kmcomp.dpr, related source, compilekeymanweb.pas, and related
unit tests.

Cleans up a couple of bits and pieces around kmc in order to help tests
to pass, and updates some tests that had legacy code in them
(particularly missing &TARGETS stores).
2023-09-09 17:47:15 +02:00
Marc Durdin
d2f4e5f2c7 feat(developer): add --log-format to kmc
Adds logFormat of tsv vs formatted for kmc, in order to allow for
"porcelain" style log formatting when we interop with TIKE.
2023-09-01 18:00:13 +04:00
Marc Durdin
6e8cc167a9
Merge pull request #9474 from keymanapp/feat/developer/compile-without-source-keyboard-info
feat(developer): support building .keyboard_info without source version 🎺
2023-09-01 13:05:43 +10:00
Marc Durdin
0913770208
Merge pull request #9471 from keymanapp/chore/developer/keyboard-info-font-examples-cleanup
chore(developer): cleanup keyboard_info schema 🎺
2023-09-01 13:05:36 +10:00
Marc Durdin
722f72b47a
Merge pull request #9470 from keymanapp/feat/developer/package-license
feat(developer): add LicenseFile as property of package 🎺
2023-09-01 13:05:29 +10:00
Marc Durdin
920a435fb6
Merge pull request #9463 from keymanapp/feat/developer/package-keyboard-web-fonts
feat(developer): add web font references to package 🎺
2023-09-01 13:05:22 +10:00
Marc Durdin
a0f7d25ead
Merge pull request #9459 from keymanapp/feat/developer/extra-package-metadata
feat(developer): additional metadata in keyboard packages 🎺
2023-09-01 13:05:12 +10:00
Marc Durdin
ee4108598e
Merge pull request #9452 from keymanapp/feat/developer/keyboard-info-dedup
chore(common): remove deprecated fields from keyboard_info 🎺
2023-09-01 13:05:05 +10:00
Joshua A. Horton
be196744fd feat(web): adds numerous GestureSource unit tests 2023-08-30 10:19:31 +07:00
Joshua A. Horton
3aee911ea7 fix(web): patches up existing unit-tests 2023-08-30 10:18:26 +07:00
Joshua A. Horton
504eb53565 feat(web): adds support for pushed alt-configurations during gesture-source lifetime 2023-08-30 10:14:29 +07:00
Joshua A. Horton
6bf0cebcd6 fix(web): fixes unit tests post-abstraction 2023-08-30 10:14:06 +07:00
Joshua A. Horton
b9e9179863 refactor(web): abstracts the matcher-selector / gestureMatcher interface 2023-08-30 10:11:38 +07:00
Marc Durdin
1531e88f70 feat(developer): eliminate source .model_info and .keyboard_info files
Removes all references to source .keyboard_info and .model_info files in
the kmc compiler and types. Updates the model info compiler to support
building purely from model sources (isRTL, license fields are TODO).
2023-08-29 15:37:31 +10:00
Joshua A. Horton
d488f22fd9 feat(web): browser-KMW support for default subkeys 2023-08-21 10:42:06 +07:00
Steven R. Loomis
b6855e121f feat(core): ldml: support <display id=...> in the 'disp' section 🙀
- "recent" addition to CLDR DTD

Fixes: #8717
2023-08-18 17:02:35 -05:00
Steven R. Loomis
e20123cbf8 fix(common): don't crash on illegal unicodesets 🙀
- UnicodeSetItem was ignoring the error value from sizeUnicodeSet() and calling parseUnicodeSet with an invalid size
- it *is* an error, but should be handled properly.
- an error is already recorded in the callback

The symptom was an internal error where there should have been an error callback.

  2) vars
       should fail to compile: sections/vars/fail-uset-props1.xml:
     Error: Internal Error: uset returned error -1 for [:Adlm:]
      at new UnicodeSetItem
      at VarsCompiler.addUnicodeSet

For: #7377
2023-08-18 17:02:35 -05:00
Steven R. Loomis
0ea1211b72 fix(common): marker test 🙀
- common test lacked update from #9448

#9119
2023-08-17 14:48:50 -05:00