Commit graph

1597 commits

Author SHA1 Message Date
Joshua Horton
7f12d5a7ab
Merge pull request #5491 from keymanapp/fix/common/core/web/cherry/empty-alternates
fix(common/core/web): error from early fat-finger termination due to OS interruptions 🍒
2021-07-28 17:06:21 +07:00
jahorton
abc96ad91f docs(common/models): restores non-cherried comment 2021-07-27 08:40:47 +07:00
jahorton
e8c3786e42 change(common/core/web): removes conditional replacement of a now always-truthy 2021-07-27 08:36:33 +07:00
jahorton
bc05dc4c10 change(common/core/web): adjustments per review 2021-07-27 08:36:30 +07:00
jahorton
2cb64baf42 fix(common/core/web): fixes likely root of problem 2021-07-27 08:36:29 +07:00
jahorton
d4620dc221 fix(common/models): adds worker null guard for predict 2021-07-27 08:36:27 +07:00
jahorton
d6f0e15545 fix(common/core/web): adds empty-array check for alternates 2021-07-27 08:36:25 +07:00
Keyman Build Agent
be927149c9 auto: increment stable-14.0 version to 14.0.280 2021-07-21 16:12:07 -04:00
Keyman Build Agent
b2b417d2d0 auto: increment stable-14.0 version to 14.0.279 2021-07-20 02:20:36 -04:00
jahorton
5fad8322f9 change(common/core/web): fat-finger-performance unit-test threshold 2021-07-02 09:46:08 +07:00
Keyman Build Agent
0fa34284c7 auto: increment stable-14.0 version to 14.0.278 2021-06-29 01:21:50 -04:00
jahorton
b69c4fce1e change(web): removes unused param from 14.0 version of method in test 2021-06-24 11:58:17 +07:00
jahorton
add5c74192 fix(common/core/web): adds 14.0 req'd parameter 2021-06-24 11:57:10 +07:00
jahorton
dc12f406c7 change(common/core/web): tweaks from PR comments 2021-06-24 11:18:31 +07:00
jahorton
efabad5edf change(common/core/web): reorganizes new tests within suite 2021-06-24 11:18:30 +07:00
jahorton
3326e7529c feat(common/core/web): fat-finger performance unit tests 2021-06-24 11:18:27 +07:00
jahorton
13e4293fbf change(common/core/web): use of shorter arrow func from comment 2021-06-24 11:18:25 +07:00
jahorton
e57ba467fe change(common/core/web): thresholding Date.now() -> performance.now() 2021-06-24 11:18:22 +07:00
jahorton
6257f5884b feat(common/core/web): alternate generation uses windowed context, not full 2021-06-24 11:18:19 +07:00
jahorton
c755a2b586 feat(common/core/web): adds basic time + prob thresholding for modeled fat-fingers 2021-06-24 11:18:16 +07:00
jahorton
e419963c38 feat(common/core/web): Mock-cloning optimization 2021-06-24 11:18:13 +07:00
Gunnar Hjalmarsson
5a58794f8f
chore(linux): Build also on riscv64 to facilitate migration on Ubuntu 2021-06-21 11:36:48 +02:00
Eberhard Beilharz
f91b52d3ea
chore(linux): Update changelogs to match Debian
The changelogs should match what got uploaded (and accepted) to
Debian so that the changelog reflects the upload history to Debian.
2021-06-17 15:10:59 +02:00
Joshua Horton
648e336be7
Merge pull request #5286 from keymanapp/fix/common/models/cherry/correction-search-nfd-keying
fix(common/models): predictive-text engine use of NFD input 🍒
2021-06-15 09:05:23 +07:00
jahorton
5ff9fc1726 docs(common/models): adds comment 2021-06-15 07:37:06 +07:00
jahorton
a207b274e5 fix(common/models): correction search use of edge keying with NFD 2021-06-15 07:37:05 +07:00
Keyman Build Agent
5b02e1a8d0 auto: increment stable-14.0 version to 14.0.277 2021-06-11 00:47:50 -04:00
jahorton
cdae04dd2b fix(common/core/web): buildTransformFrom now binary-searches prefix split 2021-06-10 09:10:35 +07:00
jahorton
62710e9db6 feat(common/core/web): adds extra test with much larger text 2021-06-10 09:10:33 +07:00
jahorton
8e9ca33216 feat(common/core/web): adds extra Transcription tests 2021-06-10 09:10:32 +07:00
Keyman Build Agent
3c23149702 auto: increment stable-14.0 version to 14.0.276 2021-06-03 21:59:09 -04:00
Marc Durdin
537fc594c3
fix(windows): cleanup edge cases in k32_load
Matches work completed in #5169 for Keyman Core, kmx_file.cpp.

While this code will hopefully disappear in 15.0, it's good to make sure
we aren't diverging beforehand.

Also tidies up a couple of other cases in `CopyKeyboard` in Keyman Core.

(cherry picked from commit c9897bb38f)
2021-05-31 15:00:27 +02:00
Eberhard Beilharz
38a747570b
fix(common/core/desktop): Fix failing tests on armhf
This change fixes the FixupKeyboard method. In the .kmx files on
disk array pointers for an empty array point to the end of the file
(one byte after the end of the data structure). When we expand the
pointers in FixupKeyboard this leads to `cgp->dpKeyArray` to point to an
unallocated memory location - this shouldn't matter since we don't
try to read or write at this location if the Key array is empty,
but armhf still seems to raise a SIGBUS, probably because we cast
the value to a `LPKEY`. This change sets `cgp->dpKeyArray` to `NULL`
if we have an empty key array, similar to what's done for the strings.

Closes #5072.

(cherry picked from commit 68706c9451)
2021-05-31 15:00:17 +02:00
Eberhard Beilharz
2c08e484a2
refactor(common/core/desktop): Use StringOffset in FixupKeyboard
(cherry picked from commit 7c78fb0adb)
2021-05-31 15:00:10 +02:00
Eberhard Beilharz
afc9cb07cd
fix(linux): Exclude s390x from package builds
s390x is big-endian which we currently don't support (#5111).

Only build on architectures supported by Debian. This excludes the
following little-endian architectures:
alpha arm ia64 riscv64 sh4 x32 arm64ilp32 mipsn32el
and the following big-endian ones:
avr32 hppa m68k mips mips64 mipsn32 powerpc ppc64 s390 sparc sparc64

See https://wiki.debian.org/SupportedArchitectures
and https://wiki.debian.org/ArchitectureSpecificsMemo

(cherry picked from commit 9c2d30948c)
2021-05-31 15:00:02 +02:00
Eberhard Beilharz
8d3a7665f8
Merge pull request #5110 from keymanapp/fix/core/cherry/issue-5100
fix(common/core/desktop): Don't segfault on invalid .kmx file 🍒
2021-05-19 16:48:33 +02:00
Eberhard Beilharz
d517d9e91f
fix(common/core/desktop): Don't segfault on invalid .kmx file
(Fixes #5100)

(cherry picked from commit d91d27befa)
2021-05-19 09:02:41 +02:00
Eberhard Beilharz
d06be6a07f
fix(common/core/desktop): Fix warnings when compiling for armhf
Compiling on armhf outputs two warnings:
- NULL used in arithmetic [-Wpointer-arith] (line 289 and 290)
- unused parameter ‘dwFileSize’ [-Wunused-parameter] (line 264)

(related to #5072)

(cherry picked from commit 99e9a7cf61)
2021-05-19 08:59:48 +02:00
Eberhard Beilharz
d2532fa335
chore(linux): Update changelogs 2021-05-11 18:38:19 +02:00
Keyman Build Agent
de2edf2b41 auto: increment stable-14.0 version to 14.0.275 2021-05-10 21:59:37 -04:00
Keyman Build Agent
1ee5107d70 auto: increment stable-14.0 version to 14.0.274 2021-04-26 06:47:18 -04:00
Keyman Build Agent
f4ecf888d7 auto: increment stable-14.0 version to 14.0.273 2021-04-22 17:26:15 -04:00
Joshua Horton
607f44d385
Merge pull request #4958 from keymanapp/fix/web/cherry/embedded-smp-after-kbd-swap
fix(web, ios): better SMP, emoji handling with frequent keyboard swaps 🍒
2021-04-22 13:27:35 +07:00
jahorton
8709f442e2 change(web): SMP enablement always on in embedded mode 2021-04-22 11:54:15 +07:00
jahorton
7a90ced6cf fix(web): fixes subkey lookup for fat-finger processing 2021-04-22 11:40:40 +07:00
Keyman Build Agent
f2870bb2ca auto: increment stable-14.0 version to 14.0.272 2021-03-31 22:08:20 -04:00
Keyman Build Agent
2e849a6da8 auto: increment stable-14.0 version to 14.0.271 2021-03-23 05:28:21 -04:00
Keyman Build Agent
037519e03a auto: increment stable-14.0 version to 14.0.270 2021-03-23 05:14:08 -04:00
Keyman Build Agent
71035207e2 auto: increment beta version to 14.0.269 2021-03-23 01:30:22 -04:00
Joshua Horton
e0e8c5b5b6
Merge pull request #4754 from keymanapp/fix/common/models/advanced-corrections
fix(common/models): prediction threshold when count is low, unintentional aliasing
2021-03-23 11:43:44 +07:00