Commit graph

4544 commits

Author SHA1 Message Date
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
Sabine
92c5c01e95 chore(developer): move tests (for ErrorMessages) to common/test/keyboards 2022-09-16 20:22:51 +02:00
Sabine
e5bdeebc28 chore(developer): added tests for kmcompx 2022-09-16 17:47:53 +02: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
Sabine
a667b36f11 chore(developer): removed unused datatype typedefs 2022-09-14 18:43:12 +02: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
Sabine
136b5b4148 chore(developer): removed several Windows-specific functions 2022-09-13 18:09:49 +02: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
Joshua A. Horton
5bad267e11 refactor(common/models): default wordbreaker state tracking 2022-09-12 15:14:26 +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
fbb3375ed9 fix(developer): show more useful error if out of space during Setup
Fixes #7261.
2022-09-12 12:02:09 +10:00
Marc Durdin
2aeb5435e8 chore(web): disable browserstack for LM Layer tests 2022-09-11 08:12:51 +10:00
Marc Durdin
1724778e77 chore: try disabling concurrency for browserstack tests
We're still getting sporadic test failures with BrowserStack. So per one
discussion online, attempting to run without concurrency to see if it
improves stability.

I note that the video from tests where we "fail to capture" shows a
browser with an error: "Safari Can't Connect to the Server" "Safari
can't open the page "localhost:9879/?id=75185158" because Safari can't
connect to the server "localhost".

1971215883
2022-09-10 06:23:26 +10: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
89ccc393ab chore: make checksum optional
Fixes #7222.
2022-09-09 17:23:07 +10:00
Marc Durdin
94d69f5a59
Merge pull request #7233 from keymanapp/chore/7227-disable-keyman-staging-references
chore: use keyman.com instead of keyman-staging.com
2022-09-09 08:02:58 +10: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
Sabine
a3c2956f47 chore(developer): tiedied up code 2022-09-08 15:20:28 +02:00
Joshua A. Horton
9b29339594 fix(common/models): blocks full-text corrections 2022-09-08 13:13:58 +07:00
Marc Durdin
f836574cbc chore: use keyman.com instead of keyman-staging.com
Fixes #7227.

We want to use keyman.com for now even for alpha builds, as
keyman-staging.com is going to be used for transition to Docker-based
hosting, and it will be problematic to try and share that process with
alpha builds.
2022-09-08 14:32:39 +10: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