Commit graph

5162 commits

Author SHA1 Message Date
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
Joshua A. Horton
3aed0bf395 feat(common/models): also, unit tests 2022-09-08 10:48:23 +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
3f36a07abb change(common/models): tweak to flag-emoji test for clarity 2022-09-08 09:11:26 +07:00
Sabine
b9ba055e31 chore(developer): tidied up code 2022-09-07 18:39:34 +02: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
91448c344f feat(web): more default-breaker unit tests 2022-09-06 14:52:16 +07:00
Joshua A. Horton
9be8839685 fix(common/models): undefined != 0 2022-09-06 10:47:51 +07:00
Joshua A. Horton
413e88daa2 chore(web): where'd that extra indentation come from? 2022-09-06 10:10:33 +07:00
Joshua A. Horton
a09cc5d822 fix(common/models): models/templates unit tests 2022-09-06 09:48:52 +07:00
Joshua A. Horton
9634c76353 chore(common/models): suggested tweak from review 2022-09-06 08:57:56 +07:00
Joshua A. Horton
a6e65333c5 fix(common/models): wordbreaker test require paths 2022-09-06 08:54:56 +07:00
Joshua A. Horton
26c5150977 fix(web): context-tracker newFlag management for new contexts 2022-09-05 14:02:55 +07:00
Joshua A. Horton
b47596a803 fix(common/models): context token .isNew maintenance 2022-09-05 12:35:11 +07:00
Joshua A. Horton
57ce30e068 fix(web): post-suggestion-apply error 2022-09-05 12:17:17 +07:00
Joshua A. Horton
d33a9f05bf docs(web): fixes missed doc update 2022-09-05 11:41:42 +07:00
Joshua A. Horton
0a237f800f chore(web): test name tweak 2022-09-05 11:31:57 +07:00
Joshua A. Horton
b0184ec98b fix(web): adds unit test targeting issue, handler for edge case 2022-09-05 11:30:50 +07:00
Joshua A. Horton
be562b3022 fix(web): missed method references 2022-09-05 10:37:50 +07:00
Joshua A. Horton
ad8c30c6c0 fix(web): pred-text context tracking when wordbreak not caused by whitespace 2022-09-05 10:26:31 +07:00
Marc Durdin
ab999ea0ba chore(common): cleanup basic.txt a bit more
Also uses `index()` to get count of strings automatically.

Reformat basic.txt to make it more readable as it will get less
'basic' over time!
2022-09-03 06:36:41 +10:00
Marc Durdin
738401cdb5 feat(common): hextobin index command
Adds an `index` command as suggested by #7186.

> Future enhancement suggestion: include ... index() for block indices
> within these repeated blocks. Would be very useful for string tables
> in the example ref.
2022-09-03 06:28:22 +10:00
Joshua A. Horton
6f887f6974 feat(web): a few more segment-construction tests 2022-09-02 14:54:25 +07:00
Joshua A. Horton
2a3c36e0a9 feat(web): segment constructor unit tests 2022-09-02 14:23:58 +07:00
Marc Durdin
702db90a71 feat(core): add version field to meta
Also adds semver package for validating the version field.
2022-09-02 14:13:10 +10:00
Marc Durdin
d141274aed chore(core): update hextobin files with new format 2022-09-02 14:06:26 +10:00
Joshua A. Horton
0a65e36f19 change(web): test suite naming 2022-09-02 10:37:51 +07:00
Joshua A. Horton
3ce59b23e6 feat(web): path-stats unit tests 2022-09-02 09:25:09 +07:00
Marc Durdin
17371c3801 feat(common): add size and offset calculators to hextobin
This makes it easier to write a binary file which contains offsets and
size values. Using this for unit tests for the LDML keyboard compiler.

Example kmldmlc basic.txt is updated and included.

Future enhancement suggestion: include count() for repeated blocks and
index() for block indices within these repeated blocks. Would be very
useful for string tables in the example ref.
2022-09-02 11:37:59 +10:00
Joshua A. Horton
4549f46769 feat(web): enhances a couple of recording-based seg tests 2022-09-02 08:18:07 +07:00
Joshua A. Horton
7dcc8e4509 feat(web): trackedPath-integration recording-based test 2022-09-01 15:28:52 +07:00
Joshua A. Horton
5c93f516f0 feat(web): more recording-based seg tests 2022-09-01 15:19:22 +07:00
Joshua A. Horton
038f57cefd fix(web): missed nit from prior commit 2022-09-01 14:47:17 +07:00