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
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
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
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
Marc Durdin
93a1fc88b9
chore(developer): remove crc generation from kmc-keyboard
2022-09-19 15:30:38 +10:00
Joshua A. Horton
24092511bb
refactor(web): reworks low-level module build scripts
2022-09-19 12:04:14 +07:00
Marc Durdin
a4ca7968b9
chore(common): make scripts executable and add pre-commit test
2022-09-19 13:59:09 +10:00
Joshua A. Horton
744354e2a1
fix(common/models): fixes reference dropped by git merge
2022-09-19 08:52:50 +07:00
Joshua Horton
d0d3ebb9e0
Merge pull request #7279 from keymanapp/feat/common/models/wordbreaker-extension
...
feat(common/models): wordbreaker customization
2022-09-19 08:32:20 +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
e840f04ccf
chore(common): make scripts executable and add pre-commit test
2022-09-19 06:39:13 +10: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
Steven R. Loomis
d56f6557fb
chore(core): deprecate checksum in 16.0 🙀
...
- do not generate unless version<16.0
- never check checksum
Fixes : #7220
2022-09-16 14:24:01 -05:00
Steven R. Loomis
efd4c83490
chore(core): ignore checksum in 16.0 🙀
...
- mark as deprecated
Fixes : #7220
2022-09-16 14:24:01 -05:00
Joshua A. Horton
26fb6da3ab
feat(common/models): adds tokenization tests for wordbreaks near the caret
2022-09-15 13:23:21 +07: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 Horton
ec5366239e
Merge pull request #7205 from keymanapp/fix/web/non-whitespace-wordbreaks
...
fix(common/models): fixes quote-adjacent pred-text suggestions
2022-09-15 08:23:36 +07:00
Joshua A. Horton
917fce0750
chore(common/models): final requested tweak
2022-09-15 08:23:08 +07:00
Steven R. Loomis
3ceea19218
fix(core): validate kmxplus files 🙀
...
- split validation out into a separate kmx_file_validator.hpp
- kmx_file.h should remain C-only usable
Fixes : #7220
2022-09-14 16:32:18 -05: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
94face23d0
chore(common/models): minor cleanup
2022-09-13 11:06:54 +07:00
Joshua A. Horton
261e252026
docs(common/models): adds minor doc re 'sot', 'eot'
2022-09-13 10:38:34 +07:00
Joshua A. Horton
8e076fe3fd
feat(common/models): actual wordbreaker customization
2022-09-13 10:18:24 +07:00
Steven R. Loomis
ea417c9f72
fix(core): VerifyKeyboard() on kmxplus files 🙀
...
- move VerifyKeyboard into COMP_KEYBOARD::VerifyKeyboard
- change call sites in kmx_file.h
For: #7220
2022-09-12 17:01:45 -05:00
Marc Durdin
3e6d9356c3
Merge pull request #7255 from keymanapp/chore/7222-optional-checksum
...
chore: make checksum optional 🙀
2022-09-13 06:30:04 +10:00
Joshua A. Horton
51caf533a8
feat(common/models): interface for custom breaker rules
2022-09-12 15:14:28 +07:00
Joshua A. Horton
991a5bc271
feat(common/models): wordbreaker context .match method
2022-09-12 15:14:27 +07:00