Commit graph

156 commits

Author SHA1 Message Date
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
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
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
Joshua A. Horton
94544277fc chore(common): minor cleanup in keyman-version, provides test case 2022-09-20 09:27:29 +07:00
Joshua A. Horton
2bea392baa feat(common): builder_-managed failure-trap 2022-09-20 09:23:38 +07:00
Joshua A. Horton
256b21f691 feat(common): builder current-action tracking 2022-09-20 09:08:02 +07:00
Joshua A. Horton
29e24493bc fix(common): color option needed for builder_describe 2022-09-20 08:52:12 +07:00
Joshua A. Horton
4399548df0 feat(common): DESCRIBE_TERM_START, _END 2022-09-20 08:30:33 +07:00
Joshua A. Horton
18c5fae23b chore(common/web): simple tweaks for PR review 2022-09-20 08:21:22 +07:00
Joshua A. Horton
ac5c7d71c3 fix(common/web): shell script chmod +x 2022-09-19 14:24:43 +07:00
Joshua A. Horton
d5f11f4555 chore(web): Merge branch 'master' into refactor/web/low-level-build-scripts 2022-09-19 14:22:51 +07:00
Marc Durdin
5da24ff279
Merge pull request #7307 from keymanapp/dependabot/npm_and_yarn/nanoid-and-mocha--removed
chore(deps): bump nanoid and mocha
2022-09-19 15:34:19 +10:00
Joshua A. Horton
24092511bb refactor(web): reworks low-level module build scripts 2022-09-19 12:04:14 +07:00
Joshua A. Horton
744354e2a1 fix(common/models): fixes reference dropped by git merge 2022-09-19 08:52:50 +07:00
Joshua Horton
43bdab1999
Merge pull request #7242 from keymanapp/change/web/fat-finger-weighting
change(web): better fat-finger key weighting ✏️
2022-09-19 08:23:06 +07:00
Joshua Horton
2caa22ee2a
Merge pull request #7241 from keymanapp/fix/common/models/no-whole-replacements
fix(common/models): blocks full-text "corrections" ✏️
2022-09-19 08:22:46 +07:00
Marc Durdin
4e396224d0 chore(developer): fixup external refs to kmc 2022-09-19 06:36:56 +10:00
Marc Durdin
003f23d7b4 feat(developer): fixup and prepare build scripts and docs for kmc 2022-09-19 06:36:06 +10:00
dependabot[bot]
93ec6106e1
chore(deps): bump nanoid and mocha
Bumps [nanoid](https://github.com/ai/nanoid) and [mocha](https://github.com/mochajs/mocha). These dependencies needed to be updated together.

Removes `nanoid`

Updates `mocha` from 8.4.0 to 10.0.0
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v10.0.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
- dependency-name: mocha
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 21:06:23 +00:00
Joshua Horton
4f4ddb6107
Merge pull request #7290 from keymanapp/fix/common/models/timer-maxtime
fix(common/models): max prediction wait check
2022-09-15 08:23:45 +07:00
Joshua A. Horton
917fce0750 chore(common/models): final requested tweak 2022-09-15 08:23:08 +07:00
Joshua Horton
a390c2fb2f
chore(common/models): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-09-14 13:32:14 +07:00
Joshua A. Horton
6fbe089244 change(web): tweaks max wait time threshold to mitigate lag 2022-09-14 10:13:29 +07:00
Joshua A. Horton
0845210f20 fix(common/models): max prediction wait check 2022-09-14 09:57:29 +07:00
Joshua A. Horton
2f044c45b1 chore(web): Merge branch 'master' into fix/web/non-whitespace-wordbreaks 2022-09-12 15:07:56 +07:00
Joshua A. Horton
665b149b09 fix(common/models): needed export for unit tests 2022-09-12 15:04:17 +07:00
Joshua A. Horton
415201bf15 fix(common/models): isWhitespace, adds related unit tests 2022-09-12 15:03:48 +07:00
Marc Durdin
74a6c65710
Merge branch 'feature-ldml' into chore/merge-master-into-feature-ldml 2022-09-12 15:24:19 +10:00
Joshua A. Horton
5cd48a5784 fix(web): new key prop needs enumerable 2022-09-12 11:05:27 +07:00
Joshua A. Horton
d91132bc0f fix(web): filters more non-output keys from fat-finger distrib 2022-09-12 10:39:41 +07:00
Joshua A. Horton
b8dd9baf5b chore(web): minor cleanup 2022-09-12 10:38:55 +07:00
Joshua A. Horton
c05df0e323 fix(web): fixes final-key-of-row dist mapping, drops arbitrary prob adjustment for best key 2022-09-12 10:38:55 +07:00
Joshua A. Horton
6e000d1074 change(web): better touch-distrib weighting 2022-09-12 10:38:54 +07:00
Joshua A. Horton
6632d597d5 feat(common/models): adds unit test, minor branch polish 2022-09-12 10:25:24 +07:00
Joshua A. Horton
445c76e31c chore(common/models): Merge branch 'master' into fix/common/models/no-whole-replacements 2022-09-12 09:17:58 +07:00
Marc Durdin
13a3df32d7
Merge pull request #7037 from keymanapp/fix/web/pred-text-stability
fix(web): enhanced timer for prediction algorithm
2022-09-10 05:45:03 +10:00
Joshua A. Horton
666b639404 fix(common/models): adds 'soft bound' for reasonable 100% fat-finger corrections 2022-09-09 15:35:12 +07:00
Marc Durdin
279960ff40
Merge pull request #7246 from keymanapp/chore/merge-master-into-feature-ldml
chore: merge master into feature-ldml 🙀
2022-09-09 07:56:57 +10:00
Joshua A. Horton
9b29339594 fix(common/models): blocks full-text corrections 2022-09-08 13:13:58 +07:00
Joshua A. Horton
6c50de9e9a change(web): conciser version of last commit 2022-09-08 10:56:32 +07:00
Joshua A. Horton
75e0b27bf3 change(web): pushWhitespaceToTail tweak 2022-09-08 10:54:01 +07:00
Joshua A. Horton
52cb9aa19d change(common/models): drops .isNew, replaces with tokenized context contrast logic 2022-09-08 10:48:12 +07:00
Joshua A. Horton
fb0cc5086c fix(common/models): backspacing shouldn't make 'new' tokens 2022-09-07 14:57:53 +07:00
Joshua A. Horton
9be8839685 fix(common/models): undefined != 0 2022-09-06 10:47:51 +07:00
Joshua A. Horton
a09cc5d822 fix(common/models): models/templates unit tests 2022-09-06 09:48:52 +07:00