Commit graph

16744 commits

Author SHA1 Message Date
Keyman Build Agent
33005b80d8 auto: increment beta version to 16.0.102 2022-11-11 13:03:02 -05:00
Eberhard Beilharz
b3a20f16eb
Merge pull request #7683 from keymanapp/chore/linux/standards
chore(linux): Update Debian standards version
2022-11-11 08:25:56 +01:00
Eberhard Beilharz
f7f2a00f66
Merge pull request #7682 from keymanapp/chore/linux/cherry-pick/beta/changelog
chore(linux): Update debian changelog 🍒
2022-11-11 08:25:44 +01:00
Eberhard Beilharz
0a95247fb3
Merge pull request #7678 from keymanapp/fix/linux/7547_keyboard-icon
fix(linux): Fix keyboard icon in system tray
2022-11-11 08:24:55 +01:00
Darcy Wong
1647165e42
Merge pull request #7668 from keymanapp/fix/android/pm-name-not-found
fix(android/engine): Use IME package name if query permission denied
2022-11-11 06:52:45 +07:00
Marc Durdin
c18f1a7e63
Merge pull request #7631 from keymanapp/fix/developer/7628-utf8-urls
fix(developer): URL parameters should be UTF-8
2022-11-11 08:03:00 +11:00
Marc Durdin
52c9fde57a
Merge pull request #7667 from keymanapp/fix/windows/base-layout-support-in-core
fix(windows): base layout support in Keyman Core
2022-11-11 06:37:39 +11:00
Marc Durdin
96a18883e8
Merge pull request #7677 from keymanapp/fix/windows/startup-and-shutdown-robustness
fix(windows): Improve shutdown robustness
2022-11-11 06:37:30 +11:00
Keyman Server
7141226a01
Merge pull request #7685 from keymanapp/auto/version-beta-16.0.101
auto: increment beta version to 16.0.101
2022-11-11 05:03:18 +11:00
Keyman Build Agent
1825b41031 auto: increment beta version to 16.0.101 2022-11-10 13:02:34 -05:00
Eberhard Beilharz
26516e65d8
chore(linux): Update Debian standards version
This removes a warning on the Debian package page
(https://tracker.debian.org/pkg/keyman).
2022-11-10 18:08:23 +01:00
Eberhard Beilharz
33e59ed40e
chore(linux): Update debian changelog
(cherry picked from commit acdb16fd7e)
2022-11-10 17:42:46 +01:00
Darcy Wong
a864e51c05
Merge pull request #7662 from keymanapp/fix/web/index-of-kmw-disabled
fix(web): Add additional checks on className.indexOf
2022-11-10 15:44:16 +07:00
Darcy Wong
aa2efd9fb2
Merge pull request #7676 from keymanapp/chore/android/less-toast-on-stable
chore(android/engine): Don't show Toast errors on stable tier
2022-11-10 15:33:25 +07:00
Eberhard Beilharz
053ee52281
fix(linux): Fix keyboard icon in system tray
Show the keyboard specific icon in the system tray on Wasta instead
of the generic keyman one.

Fixes #7547.
2022-11-10 09:11:44 +01:00
Eberhard Beilharz
a780cc47f5
Merge pull request #7492 from keymanapp/chore/linux/cherry-pick/changelog
chore(linux): Update debian changelog 🍒
2022-11-10 09:03:40 +01:00
Marc Durdin
4738b6a514 fix(windows): Improve shutdown robustness
Relates to KEYMAN-WINDOWS-B.

While this doesn't address the root cause of the exception, it should
prevent this unhandled exception, and adds breadcrumbs to help us see
which code path might be triggering the issue.
2022-11-10 16:10:49 +11:00
Marc Durdin
31513d657e fix(developer): handle utf-8 paths safely 2022-11-10 15:26:27 +11:00
Darcy Wong
85877d213a chore(android/engine): Don't show Toast errors on stable tier 2022-11-10 10:49:14 +07:00
Darcy Wong
33243e3239 chore(android/engine): Apply review comments 2022-11-10 10:20:02 +07:00
Darcy Wong
b2db618ade
Merge pull request #7669 from keymanapp/chore/history-and-versioning
chore: Update history-and-versioning to match history
2022-11-10 10:03:53 +07:00
Darcy Wong
a396b095e0 chore: Update history-and-versioning to match history 2022-11-10 08:26:59 +07:00
Darcy Wong
b7fd1109f3 fix(android/engine): Use IME package name if query permission denied 2022-11-10 07:37:30 +07:00
Darcy Wong
336b06b1a7
Merge pull request #7660 from keymanapp/chore/linux/whatsnew
chore(linux): Update whatsnew
2022-11-10 07:35:51 +07:00
Darcy Wong
77d43c08aa
Update linux/help/about/whatsnew.md
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2022-11-10 07:35:42 +07:00
Marc Durdin
b087d22928 fix(windows): base layout support in Keyman Core
While Keyman Core already supported the base layout flags, they were not
being passed in from Keyman Engine for Windows. This meant that any
rules that used `baselayout` would fail, such as in sil_ipa with AltGr+0
for }

0bf72bed74/release/sil/sil_ipa/source/sil_ipa.kmn (L348-L350)

This patch adds support for the following properties:

* KM_KBP_KMX_ENV_BASELAYOUT: the legacy base layout name, e.g. kbdus.dll
* KM_KBP_KMX_ENV_BASELAYOUTALT: the BCP 47 base layout name, e.g. en-US
* KM_KBP_KMX_ENV_SIMULATEALTGR: whether the user has selected to emulate
  AltGr with Ctrl+Alt, for example on laptops without a right alt key.
* KM_KBP_KMX_ENV_BASELAYOUTGIVESCTRLRALTFORRALT: whether the system base
  layout in use generates Ctrl+RAlt when RAlt is pressed, which can be
  true for many European system layouts. This is necessary when
  associating the keyboard with a European language because the base
  keyboard becomes the language's default keyboard, rather than kbdus.
2022-11-10 11:26:44 +11:00
Keyman Server
b77060ef60
Merge pull request #7666 from keymanapp/auto/version-beta-16.0.100
auto: increment beta version to 16.0.100
2022-11-10 05:03:56 +11:00
Keyman Build Agent
442c028694 auto: increment beta version to 16.0.100 2022-11-09 13:03:09 -05:00
Eberhard Beilharz
38557ccb89
chore(linux): Update debian changelog
(cherry picked from commit 3b3d4e9e7e)
2022-11-09 18:32:49 +01:00
Marc Durdin
3dbd11939f
Merge pull request #7650 from keymanapp/fix/core/7649-emit-keystroke-writing-action-to-wrong-queue
fix(core): emit keystroke was writing to wrong queue
2022-11-09 20:24:26 +11:00
Marc Durdin
c6d272d537
Merge pull request #7644 from keymanapp/fix/core/7643-save-opt-writing-action-to-wrong-queue
fix(core): `save()` should be on internal kmx action queue
2022-11-09 20:22:17 +11:00
Darcy Wong
a82df0e0ea fix(web): Add additional checks on className.indexOf 2022-11-09 12:48:56 +07:00
Marc Durdin
d1ab61eac1
Merge pull request #7659 from keymanapp/fix/developer/7658-handle-unpaired-surrogate-in-token-command
fix(developer): handle unpaired surrogate
2022-11-09 16:46:21 +11:00
Marc Durdin
8725deb0d6
Merge pull request #7657 from keymanapp/fix/developer/7656-handle-missing-engine-in-crash-handler
fix(developer): handle crash reports without Keyman Engine installed
2022-11-09 16:46:13 +11:00
Marc Durdin
6ebba9deb1
Merge pull request #7655 from keymanapp/fix/developer/4757-6928-handle-shutdown-on-update-better
fix(developer): handle shutdown cleanup more cleanly
2022-11-09 16:46:04 +11:00
Marc Durdin
8003bf60bd
Merge pull request #7654 from keymanapp/fix/developer/6928-state-change-for-touch-layout
fix(developer): handle edge cases for app sources
2022-11-09 16:45:57 +11:00
Darcy Wong
8b93717206 chore(linux): tweak line about reordering 2022-11-09 09:13:54 +07:00
Darcy Wong
37248899f6 chore(linux): Update whatsnew 2022-11-09 08:55:34 +07:00
Darcy Wong
7fe850c603
Merge pull request #7652 from keymanapp/fix/web/polyfill-find-index
fix(web): Add polyfill for Array.findIndex()
2022-11-09 07:18:36 +07:00
Darcy Wong
7d265b5f42
Merge pull request #7646 from keymanapp/fix/web/polyfill-includes
fix(web): Add polyfill for Array.includes()
2022-11-09 07:18:19 +07:00
Marc Durdin
5d41e7a36e fix(developer): handle unpaired surrogate
Fixes #7658.

When manipulating text that contains an unpaired surrogate, the text
editor could throw an exception trying to encode the text to send
through to the token command. This simply masks that error.
2022-11-09 09:43:55 +11:00
Marc Durdin
ec1af3de97 fix(developer): handle crash reports without Keyman Engine installed
Fixes #7656.

If Keyman Developer is installed, but not Keyman for Windows, then
tsysinfo.exe is not present. If a crash occurs, this causes a secondary
crash when trying to display the error handler dialog. In this
situation, we now just show a dialog box with a short message rather
than the more friendly dialog available via tsysinfo.exe.

We could consider adding tsysinfo.exe into Keyman Developer for a future
release.
2022-11-09 08:46:30 +11:00
Marc Durdin
03ae8582db fix(developer): handle shutdown cleanup more cleanly
Fixes #4757.
Fixes #6928.

Three separate ways shutdown is more robust:

1. Destroy main form before web server -- this ensures that all main
   form routines have deregistered app sources from web server.
2. In some situations, `FormClose` can be skipped by shutdown routines,
   for example, if you call `Application.Terminate`. This change ensures
   that we get a second chance to cleanup in the form destructor with
   `DoCloseCleanup`.
3. In the Online Update Check, instead of `Application.Terminate`, we
   now use `Application.MainForm.Close`, which is much more polite, as
   it ensures that changed files are saved, etc, and does proper
   cleanup. This particular change may make the other two somewhat
   irrelevant but they are still sensible as they will cover us for
   other potential form destruction sequences.
2022-11-09 08:18:41 +11:00
Marc Durdin
d2fe2a61f9 fix(developer): patch from previous commit 2022-11-09 07:36:28 +11:00
Marc Durdin
b76eb41a06 fix(developer): handle edge cases for app sources
Relates to #6928 and KEYMAN-DEVELOPER-74.

Fixes one more potential pathway for assertions being raised, and adds
some extra debugging in case there are additional pathways we are not
capturing.
2022-11-09 07:32:05 +11:00
Keyman Server
a4912d4f00
Merge pull request #7653 from keymanapp/auto/version-beta-16.0.99
auto: increment beta version to 16.0.99
2022-11-09 05:30:09 +11:00
Keyman Build Agent
a1e82900bb auto: increment beta version to 16.0.99 2022-11-08 13:29:23 -05:00
Marc Durdin
d7fbdfc59a
Merge pull request #7617 from keymanapp/fix/developer/7616-inferred-key-text-stability
fix(developer): improve support for inferred key cap text
2022-11-09 05:14:44 +11:00
Marc Durdin
3113d613e0
Merge pull request #7638 from keymanapp/fix/web/7636-system-keyboard-modifier-keys
fix(web): avoid reset for touch system keyboard
2022-11-09 05:10:59 +11:00
Marc Durdin
42cc91b58f
Merge pull request #7651 from keymanapp/fix/developer/kmlmc-has-runtime-dep-on-keyman-version
fix(developer): kmlmc has runtime dependency on keyman-version
2022-11-09 04:55:13 +11:00