Commit graph

11362 commits

Author SHA1 Message Date
Marc Durdin
1fcfefa3cf fix(developer): support for smp names 2021-03-01 16:05:17 +11:00
Marc Durdin
17c94770ef chore(windows): update test project 2021-03-01 10:34:30 +11:00
Marc Durdin
26b1d777f7 fix(developer): Improve stability of named code constants
Fixes #4423.

Using a named character constant with a store name that included
characters outside ascii could cause kmcmpdll to crash with an assertion
failure.

This fix allows store names defined in the .kmn file to use characters
outside ascii.

Note that more work needs to be done on which characters are acceptable
to use, as this is somewhat implementation-specific according to the C++
specification for `iswalpha`.

Added a test case to verify various named code constant examples.

Also removes dead code for `IsCJKUnifiedIdeograph` as this was never
used and somewhat pointless in any case.

NamedCodeConstants.cpp could stand to be rewritten using `std::map` or
equivalent. Current implementation is pretty icky.
2021-03-01 10:25:06 +11:00
Keyman Server
aaaddb597c
Merge pull request #4546 from keymanapp/auto/version-beta-14.0.249
auto: increment beta version to 14.0.249
2021-02-27 05:03:29 +11:00
Keyman Build Agent
eabc2e4f3c auto: increment beta version to 14.0.249 2021-02-26 13:02:44 -05:00
Marc Durdin
d4bf9f910e
Merge pull request #4535 from keymanapp/fix/windows/4445-upgrade-of-14-re-registered-all-tips
fix(windows): prevent re-registration of TIPs on 14.0 upgrade
2021-02-26 19:56:48 +11:00
Marc Durdin
d496d266fa
Merge pull request #4378 from keymanapp/fix/windows/4289-altgr-refresh-on-64-bit
fix(windows): Refresh settings on 64-bit apps
2021-02-26 19:55:28 +11:00
Joshua Horton
d3718cd5d0
Merge pull request #4543 from keymanapp/fix/ios/package-install-ui-glitch
fix(ios): package installer completion requires welcome dismissal
2021-02-26 14:58:51 +07:00
jahorton
a9692c0b24 fix(ios): package installer completion requires welcome dismissal 2021-02-26 14:28:46 +07:00
Joshua Horton
c7cf3d8947
Merge pull request #4427 from keymanapp/feat/common/models/mid-context-suggestions
feat(common/models): mid-context suggestions & reversions, fix(common/models): correction-search SMP issues
2021-02-26 12:11:47 +07:00
jahorton
a232f32ea4 chore: reverts right-delete changes 2021-02-26 10:32:48 +07:00
Marc Durdin
f6734879a8
Merge pull request #4539 from keymanapp/fix/developer/4221-utf8-messages-in-lm-compiler
fix(developer): UTF-8 messages in LM compiler
2021-02-26 14:32:37 +11:00
Marc Durdin
4aced2762c
Merge pull request #4537 from keymanapp/fix/developer/4451-continue-if-sentry-not-available
fix(developer): run even if sentry unavailable
2021-02-26 14:32:31 +11:00
Marc Durdin
d342a91da0
Merge pull request #4536 from keymanapp/fix/windows/4525-handle-caps-lock-event-correctly
fix(windows): Handle Caps Lock event correctly from TIP
2021-02-26 14:32:17 +11:00
Marc Durdin
e2c79b0dfa fix(developer): UTF-8 messages in LM compiler
Fixes #4221.

When the Keyman Developer IDE calls out to the lexical model compiler,
it receives UTF-8 compiler message strings back but they are treated as
Windows-1252 strings. This fixes that.
2021-02-26 13:59:21 +11:00
Marc Durdin
c8e6ddbe7b fix(developer): run even if sentry unavailable
Fixes #4451.

If sentry.dll is missing, we should continue without error reporting,
rather than crashing out.
2021-02-26 11:45:16 +11:00
Marc Durdin
d7e4e18987 fix(windows): Handle Caps Lock event correctly from TIP
Fixes #4525.

This is a regression from #4468, which inadvertently added modifier
checks for `VK_CAPITAL` and `VK_NUMLOCK`, when it should not have done
so, as the flag was then being reset when the key was released rather
than toggled.

`ProcessModifierChange` pretended that it could handle `VK_CAPITAL` and
`VK_NUMLOCK` but it would never have worked, and the other caller (the
GetMessage hook) never passed those key events through, only Shift, Ctrl
and Alt, so that's now what the TIP handler does as well.

This leaves the rest of the fix from #4468 in place as that appears
correct.

I took the opportunity to move a repeated function declaration into
keyman64.h.
2021-02-26 10:54:30 +11:00
Marc Durdin
27529287e2 fix(windows): prevent re-registration of TIPs on 14.0 upgrade
Fixes #4445.

When upgrading from 11.0, 12.0 or 13.0, Keyman needs to re-register the
TIPs so that we use the new registration model for 14.0. However, if we
do this on a 14.0 version install, we end up registering TIPs for every
single suggested language for a keyboard, which is definitely not what
we want.

This fix simply looks to see if we have a 14.0-style installation
already, as evidenced by the presence of a `Transient Language Profiles`
key, and if found, does not continue the 11to13 upgrade process.
2021-02-26 07:42:55 +11:00
Keyman Server
2dedf76df7
Merge pull request #4533 from keymanapp/auto/version-beta-14.0.248
auto: increment beta version to 14.0.248
2021-02-26 05:23:04 +11:00
Keyman Build Agent
66f8ea2c3e auto: increment beta version to 14.0.248 2021-02-25 13:22:15 -05:00
Joshua Horton
4794337d42
Merge pull request #4516 from keymanapp/fix/web/3910-namespaced-css-class
fix(web): removes package namespacing from kbd's CSS class
2021-02-25 15:09:25 +07:00
Joshua Horton
5041d092fe
Merge pull request #4512 from keymanapp/fix/web/4436-documentation-keyboards
fix(web): keyboard documentation patch-up
2021-02-25 15:09:17 +07:00
jahorton
fc2a17890c docs(common/models): adds comments about bug in iOS insertText 2021-02-25 14:43:35 +07:00
jahorton
8516561081 change(common/models): disables right-deletion for now 2021-02-25 14:31:11 +07:00
jahorton
28ed690fe2 chore(common/models): Merge branch 'beta' into feat/common/models/mid-context-suggestions 2021-02-25 09:16:45 +07:00
Keyman Server
5fbcd7b342
Merge pull request #4523 from keymanapp/auto/version-beta-14.0.247
auto: increment beta version to 14.0.247
2021-02-25 06:41:01 +11:00
Keyman Build Agent
dede81e2b8 auto: increment beta version to 14.0.247 2021-02-24 14:40:17 -05:00
Marc Durdin
ace167e759
Merge pull request #4522 from keymanapp/chore/common/allow-forced-version-increment
chore(common): allow forced version increment
2021-02-25 06:34:05 +11:00
Marc Durdin
000867e89b chore(common): allow forced version increment
Allows us to manually run a version increment, for example if there is
a problem with a release build such as running out of space on the
download server.
2021-02-25 06:28:32 +11:00
Keyman Server
4e0c8c5aff
Merge pull request #4521 from keymanapp/auto/version-beta-14.0.246
auto: increment beta version to 14.0.246
2021-02-25 05:02:38 +11:00
Keyman Build Agent
a4e4e24cc1 auto: increment beta version to 14.0.246 2021-02-24 13:01:48 -05:00
Joshua Horton
b56fa20c78
Merge pull request #4514 from keymanapp/fix/web/3954-hidecaret-on-focus-change
fix(web): hides touch-alias caret when keystroke causes focus change
2021-02-24 14:56:26 +07:00
jahorton
6ca508a314 fix(web): removes package namespacing from kbd's CSS class 2021-02-24 14:26:10 +07:00
jahorton
431a9fc85a fix(web): hides touch-alias caret when keystroke causes focus change 2021-02-24 13:20:54 +07:00
jahorton
ec61fa22d2 change(web): reverts incomplete tweak 2021-02-24 12:33:23 +07:00
Joshua Horton
8b8a027a94
Merge pull request #4504 from keymanapp/fix/developer/js/js-weight-shenanigans
fix(developer/compilers): fixes error when "constructor" is in wordlist
2021-02-24 12:20:28 +07:00
jahorton
567df44a1a fix(web): mobile layouts for static keyboards now %-based 2021-02-24 12:10:37 +07:00
Darcy Wong
de5db163df
Merge pull request #4510 from keymanapp/fix/common/help-keyman-exec
fix(common/resources): Set help-keyman.com.sh executable
2021-02-24 11:11:26 +07:00
Joshua Horton
732f87f39a
Merge pull request #4508 from keymanapp/fix/common/core/web/3695-processKeyEvent-returns
fix(common/core/web): core key-processing now always returns RuleBehavior type.
2021-02-24 09:35:48 +07:00
Darcy Wong
cf758452c0 fix(common): Set help-keyman.com.sh executable 2021-02-24 09:35:40 +07:00
jahorton
4618dce6a0 docs(common/core/web): addresses PR review comment 2021-02-24 09:02:26 +07:00
jahorton
f20388d956 fix(common/core/web): core key-processing returns 2021-02-23 11:55:06 +07:00
Keyman Server
6df8693980
Merge pull request #4506 from keymanapp/auto/version-beta-14.0.245
auto: increment beta version to 14.0.245
2021-02-23 05:03:29 +11:00
Keyman Build Agent
ba097f074c auto: increment beta version to 14.0.245 2021-02-22 13:02:42 -05:00
Joshua Horton
795b64e22a
Merge pull request #4492 from keymanapp/chore/ios/4125-sentry-enable-trycatch
chore(ios): web-side sentry enablement try-catch
2021-02-22 16:40:19 +07:00
Joshua Horton
962cf96bbe
Merge pull request #4500 from keymanapp/fix/ios/system-logs
fix(ios): app logging messages were transient, never stored
2021-02-22 16:40:11 +07:00
Joshua Horton
3171b0ef61
Merge pull request #4497 from keymanapp/fix/web/mac-v11-agent-parse
fix(web): macOS 11 agent string parsing
2021-02-22 16:39:45 +07:00
Joshua Horton
0fc0af6b1d
Merge pull request #4502 from keymanapp/fix/common/models/merge-cap-suggestions
fix(common/models): merges identical suggestions after casing
2021-02-22 16:39:26 +07:00
jahorton
7b3a9b3a2b fix(developer): fixes error when "constructor" is in wordlist 2021-02-22 16:24:53 +07:00
jahorton
21d9f49001 fix(common/models): merges identical suggestions after casing 2021-02-22 14:43:58 +07:00