Commit graph

470 commits

Author SHA1 Message Date
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
Keyman Build Agent
0785214a50 auto: increment beta version to 14.0.268 2021-03-22 14:01:42 -04:00
Keyman Build Agent
ef240c112a auto: increment beta version to 14.0.267 2021-03-19 14:02:50 -04:00
Eberhard Beilharz
6bae47cd3c
Merge pull request #4721 from keymanapp/fix/linux/4678
fix(linux): Fix switching to keyboard in middle of line (#4678)
2021-03-19 08:59:58 +01:00
Joshua Horton
cfa49ad549
Merge pull request #4713 from keymanapp/fix/common/core/web/banner-activation
fix(common/core/web): predictive banner activation logic
2021-03-19 11:00:44 +07:00
Keyman Build Agent
b8629503b2 auto: increment beta version to 14.0.266 2021-03-18 14:02:34 -04:00
Eberhard Beilharz
044e53198a
fix(linux): Fix switching to keyboard in middle of line (#4678)
Don't re-set context if it changed because the cursor location was
wrong. When the user switches to the EuroLatin keyboard in the
middle of the line, we're getting a wrong cursor location. This will
be fixed with the next keypress, but it leads to the context string
suddenly having more characters added to the front. If we re-set the
context because it's different now we will loose the information we
previously added to the context.

We now compare the end of the string. If the new context string ends
with the old context string we assume that the cursor position got
updated and don't re-set the context.

This fixes #4678.
2021-03-18 17:29:21 +01:00
Joshua Horton
2623052a3b
Merge pull request #4703 from keymanapp/fix/common/core/web/unique-key-ids
fix(common/core/web): disambiguation of keys sharing same base key ID
2021-03-18 12:50:36 +07:00
jahorton
fe90f3bb35 fix(common/core/web): prediction banner display's reliance on mayPredict 2021-03-18 08:24:08 +07:00
jahorton
355f1b4d82 fix(ios): invalidateContext no longer predicts when prediction deactivated 2021-03-18 08:08:20 +07:00
Keyman Build Agent
9fa930c8f1 auto: increment beta version to 14.0.265 2021-03-17 14:02:12 -04:00
jahorton
59f313ece4 docs(common/core/web): doc-comment examples 2021-03-17 12:06:35 +07:00
jahorton
eb311bdda5 chore(common/core/web): adjustments from PR feedback 2021-03-17 12:02:51 +07:00
jahorton
7c53c9740e refactor(common/core/web): creates 3 key id types for disambiguation 2021-03-17 10:26:09 +07:00
Keyman Build Agent
aaf43aba66 auto: increment beta version to 14.0.264 2021-03-16 14:02:58 -04:00
Keyman Build Agent
5d9cfa16a2 auto: increment beta version to 14.0.263 2021-03-15 20:16:57 -04:00
Keyman Build Agent
5119db1d28 auto: increment beta version to 14.0.262 2021-03-15 14:27:41 -04:00
Keyman Build Agent
71cd0b7578 auto: increment beta version to 14.0.261 2021-03-15 14:04:05 -04:00
Keyman Build Agent
3269fa17bc auto: increment beta version to 14.0.260 2021-03-12 13:02:20 -05:00
Keyman Build Agent
66a5043690 auto: increment beta version to 14.0.259 2021-03-11 05:01:44 -05:00
Keyman Build Agent
7321dd8570 auto: increment beta version to 14.0.258 2021-03-10 05:58:10 -05:00
Darcy Wong
71287d93d6
Merge pull request #4640 from keymanapp/fix/common/core/web/keyboard-check-kdu
fix(common/core/web): Add keyboard check for scriptObject
2021-03-10 16:26:36 +07:00
Keyman Build Agent
6dba7e048b auto: increment beta version to 14.0.257 2021-03-10 03:36:09 -05:00
Darcy Wong
41626650f5 fix(common/core/web): Add keyboard check for scriptObject 2021-03-10 14:56:29 +07:00
Keyman Build Agent
ec65b1e9b9 auto: increment beta version to 14.0.256 2021-03-09 09:25:01 -05:00
Keyman Build Agent
a833579785 auto: increment beta version to 14.0.255 2021-03-09 03:21:45 -05:00
Eberhard Beilharz
e371fcb8b8
chore(linux): Verify signed source packages 2021-03-08 19:29:27 +01:00
Eberhard Beilharz
3a78ef4be1
chore(linux): Fix some lintian warnings for Debian package 2021-03-08 17:38:28 +01:00
Keyman Build Agent
56af93f82f auto: increment beta version to 14.0.254 2021-03-05 13:02:56 -05:00