Commit graph

27982 commits

Author SHA1 Message Date
Joshua A. Horton
db764158d1 change(web): simpler globe-hint position styling 2022-11-10 10:43:42 +07:00
Marc Durdin
d4cbd14fc7
Merge pull request #7672 from keymanapp/dependabot/npm_and_yarn/socket.io-parser-4.0.5
chore(deps): bump socket.io-parser from 4.0.4 to 4.0.5
2022-11-10 14:42:28 +11:00
dependabot[bot]
fdf8f6b476
chore(deps): bump socket.io-parser from 4.0.4 to 4.0.5
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.0.4...4.0.5)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 03:24:49 +00:00
Darcy Wong
b53f19dc58 fix(android/app): Append tier to app name 2022-11-10 10:22:17 +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
Ross
40c9a2aed1 fix(windows): add ASilent check for ShowMessage 2022-11-10 10:20:07 +10:00
rc-swag
d9e63c34f7
fix(windows): remove white space changes 2022-11-10 09:06:38 +10:00
Ross
ba7523f61f fix(windows): check kbd file is availabe to admin user 2022-11-10 07:57:27 +10: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
Keyman Server
522ee50f32
Merge pull request #7665 from keymanapp/auto/version-master-17.0.4
auto: increment master version to 17.0.4
2022-11-10 05:02:40 +11:00
Keyman Build Agent
1eaa83a929 auto: increment master version to 17.0.4 2022-11-09 13:02:00 -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
Marc Durdin
7dc3bc16fe
Merge pull request #7661 from keymanapp/fix/windows/cef-shutdown
fix(windows): Cleanup CEF more correctly in shutdown
2022-11-09 17:14:30 +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
Marc Durdin
9a76e7a727 fix(windows): Cleanup CEF more correctly in shutdown
Hopefully fixes KEYMAN-WINDOWS-1MR, and probably many related crash
reports. Will monitor on alpha before porting to stable/beta.

This changes the form destruction sequence to make sure that it
doesn't close the form until CEF has been shutdown correctly.
2022-11-09 16:35:27 +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
Darcy Wong
9baa77c015 fix(web): Add polyfill for Array.findIndex 2022-11-08 14:39:15 +07:00
Ross
ebff42e657 fix(windows): Merge branch 'fix/windows/ezip-file 2022-11-08 16:20:09 +10:00
Ross
329c3d340d fix(windows): add isValid check to package file 2022-11-08 16:15:34 +10:00
Marc Durdin
5eb006864b fix(developer): kmlmc has runtime dependency on keyman-version 2022-11-08 16:53:10 +11:00
Marc Durdin
d21827ca8f
Merge pull request #7648 from keymanapp/fix/web/7647-handle-undefined-keyid
fix(web): Handle undefined keyId in multi-tap
2022-11-08 16:46:33 +11:00
Marc Durdin
42a9f2ca72 fix(core): emit keystroke was writing to wrong queue
Fixes #7649.

emit_keystroke code path in kmx processor was writing directly to the
core queue instead of to the internal kmx processor queue. This caused
it to be out-of-order in the actions sent to the engine/debugger.

Engines didn't really care but it broke the debugger, for example if
only a deadkey was in the buffer and backspace was pressed, Developer
would assert as it would get unexpected context for the deletions.
2022-11-08 16:31:30 +11:00
Marc Durdin
08ef07750d fix(web): Handle undefined keyId in multi-tap
Fixes #7647.
2022-11-08 14:44:54 +11:00
Marc Durdin
cbc63c42b2
Merge pull request #7642 from keymanapp/fix/developer/7641-prevent-compile-if-no-project
fix(developer): disable Keyboard|Compile if no project loaded
2022-11-08 14:42:19 +11:00