Commit graph

15315 commits

Author SHA1 Message Date
rc-swag
3c7baee98e
Merge pull request #7107 from keymanapp/fix/windows/cherry-pick/remove-save-context
fix(windows): remove saving and restoring context kbd options 🍒
2022-08-24 21:42:53 +10:00
Eberhard Beilharz
977985e87f
Merge pull request #7114 from keymanapp/chore/cherry-pick/code-owners-tweaks
chore: Change platform advocates per discussion 🍒
2022-08-24 09:57:09 +02:00
Marc Durdin
c73e99e4e1
chore: Change platform advocates per discussion
As discussed, we are changing some of the platform advocates for (a)
geographical, and (b) platform familiarity reasons. This will be
reflected in the automatic assignment of reviewers on PRs.

We are pretty much all affected in this shuffle!

@keymanapp-test-bot skip

(cherry picked from commit 9bff83fa00)
2022-08-24 09:45:31 +02:00
Ross
613f5c72ef fix: remove saving and restoring context kbd options
Remove the saving of context and keyboard options
on the non updateable call to process hook.

The windows Text Input Processor calls twice one call
is not updateable. With the core integeration we run
the processor only once, preserving the actions and
context to be applied on the updatable call.
2022-08-24 10:45:07 +10:00
Marc Durdin
75d86e2e53
Merge pull request #7014 from keymanapp/fix/developer/cherry-pick/keymanweb-readonly-groups-mismatches
fix(developer): compiler emitting garbage for readonly groups 🎾 🍒
2022-08-15 04:41:07 -05:00
Eberhard Beilharz
22d85917fe
Merge pull request #7052 from keymanapp/feat/linux/cherry-pick/6955_Replace-deprecated-distutils
feat(linux): Replace deprecated distutils 🍒
2022-08-09 15:42:11 +02:00
Eberhard Beilharz
1f10f6ed85
feat(linux): Replace deprecated distutils
Fixes #6955.
2022-08-08 16:47:02 +02:00
Eberhard Beilharz
5f344253dc
Merge pull request #7040 from keymanapp/chore/linux/changelog
chore(linux): Update debian changelog
2022-08-08 16:41:44 +02:00
Eberhard Beilharz
cbb9e6537d
chore(linux): Update debian changelog 2022-08-05 17:31:48 +02:00
Keyman Server
5a8b0e0284
Merge pull request #7038 from keymanapp/auto/version-stable-15.0-15.0.269
auto: increment stable-15.0 version to 15.0.269
2022-08-05 04:29:09 +10:00
Keyman Build Agent
c0e9ac2355 auto: increment stable-15.0 version to 15.0.269 2022-08-04 14:28:24 -04:00
Marc Durdin
fefa9de8fb
Merge pull request #7035 from keymanapp/fix/developer/cherry-pick/7032-crash-compiling-ansi-for-web
fix(developer): prevent crash attempting to compile ansi keyboard 🎾 🍒
2022-08-04 12:52:03 -05:00
Marc Durdin
013e7c41ff
Merge pull request #7034 from keymanapp/fix/developer/cherry-pick/7030-stack-overflow-compile-to-web
fix(developer): stack overflow when compiling non-web keyboard 🎾 🍒
2022-08-04 12:51:44 -05:00
Marc Durdin
3ec1adb061 fix(developer): prevent crash attempting to compile ansi keyboard
Fixes #7032.
2022-08-03 17:17:49 -05:00
Marc Durdin
7743f59e55 fix(developer): stack overflow when compiling non-web keyboard
Fixes #7030.

Prevents a stack overflow / loop when the web target is removed from a
keyboard and it has already been tested on web, and the user presses the
Compile button.
2022-08-03 17:15:29 -05:00
Eberhard Beilharz
af227987b7
Merge pull request #7017 from keymanapp/chore/linux/cherry-pick/upload-to-debian
chore(linux): Add script to upload to debian 🍒
2022-08-01 09:43:50 +02:00
Marc Durdin
c417f6a9f9
Merge pull request #7016 from keymanapp/fix/developer/cherry-pick/server-rebuild-model-consistency
fix(developer): rebuilding a model would not refresh it in server 🎾 🍒
2022-08-01 10:22:08 +10:00
Marc Durdin
5f8db0c027
Merge pull request #7004 from keymanapp/fix/developer/cherry-pick/increase-max-file-size-for-server
fix(developer): increase maximum file size for server 🎾 🍒
2022-08-01 10:21:36 +10:00
Eberhard Beilharz
b4d4b58627
chore(linux): Add script to upload to debian
- Create and sign source package
- Upload to mentors.debian.net
- Create (and optionally push) commit with updated changelog file
  based on stable branch
- Create (and optionally push) commit with updated changelog file
  based on master branch

This change also slightly modifies `echo_heading` and outputs a
mark. This will show to the left of the line as well as in the
scroll bar in a terminal in VSCode [[1]] and will help to find the
headings if you have a lot of output in between.

[1]:https://code.visualstudio.com/updates/v1_69#_setmark-sequence-support

(cherry picked from commits ae61410cc9,
2a55ffb024, 9232c20569,
420cc0814d, 9f7b85834a,
and ae0378a57f)
2022-07-29 09:14:40 +02:00
Marc Durdin
3c05317f00 fix(developer): rebuilding a model would not refresh it in server
When rebuilding a model, Keyman Developer would query for the
registered model, but a missing simplifyId call meant that it never
matched the model name (due to `.` vs `_`).
2022-07-29 12:26:29 +10:00
Marc Durdin
930c6a36a5 fix(developer): compiler emitting garbage for readonly groups
Picked up while reviewing code for conversion to C++. The compiler
could, in some circumstances emit garbage code for readonly groups
because we weren't testing all scenarios correctly. In practice, this
would have been rare as readonly groups don't emit characters, but it
should be fixed!
2022-07-29 11:26:36 +10:00
Marc Durdin
96806478b6 fix(developer): increase maximum file size for server 2022-07-28 10:29:45 +10:00
Eberhard Beilharz
6c11391a10
Merge pull request #6995 from keymanapp/chore/linux/changelog
chore(linux): Update debian changelog
2022-07-27 09:06:09 +02:00
Eberhard Beilharz
0f36f9fb8d
chore(linux): Update debian changelog 2022-07-26 15:40:03 +02:00
Keyman Server
7f5783af52
Merge pull request #6994 from keymanapp/auto/version-stable-15.0-15.0.268
auto: increment stable-15.0 version to 15.0.268
2022-07-26 15:20:25 +10:00
Keyman Build Agent
1f1f2d46e0 auto: increment stable-15.0 version to 15.0.268 2022-07-26 01:19:43 -04:00
Marc Durdin
09003b0b1b
Merge pull request #6990 from keymanapp/fix/developer/cherry-pick/improve-error-for-multi-part-key-ids
fix(developer): improve error message for multi-part key ids on <15.0 🎾 🍒
2022-07-26 14:09:53 +10:00
Marc Durdin
1c8a61720d
Merge pull request #6987 from keymanapp/chore/linux/changelog
chore(linux): Update changelog
2022-07-26 13:57:50 +10:00
Marc Durdin
dc5002653c
Merge pull request #6992 from keymanapp/fix/android/cherry-pick/6981-longpress-movement-threshold
fix(android): rework longpress movement trigger 🎁 🍒
2022-07-26 13:54:56 +10:00
Marc Durdin
216d436a9f fix(android): rework longpress movement trigger
Fixes #6981.

Longpress menus were being triggered on any detected movement on keys on
Android. This would cause rapid typing to periodically fail as the user
would make a single-pixel movement while typing, which would then block
subsequent key events.

This issue was introduced in #6637, which resolved a somewhat related
problem with sticky longpress menus.

The fix is in three parts:

1. Remove the touch movement detection which caused the primary problem
2. Address some logic issues around visibility of `subkeysWindow`
3. Introduce a new 'scroll' gesture handler which detects a negative-y
   movement above a 5px threshold, to open the longpress menu.

The 5px threshold is the minimum default used by Keyman Engine for Web.
However, it may not be ideal, and we should consider moving to using the
0.25 x row height value that Keyman Engine for Web uses in a future
update. However, I do not consider this to be a reason to block this
fix, as it would require significant extra engineering.
2022-07-26 12:28:57 +10:00
Marc Durdin
e2a81764d1 fix(developer): improve error message for multi-part key ids on <15.0
Relates to https://community.software.sil.org/t/rule-for-touch-layout-question/6482/6
2022-07-26 06:21:19 +10:00
Eberhard Beilharz
cc8e3bec3d
chore(linux): Remove impish, add kinetic 2022-07-25 12:04:39 +02:00
Eberhard Beilharz
c45dea856d
chore(linux): Update changelog
This change updates the changelog to keep it in sync with Debian
where PR #6966 got applied to the current stable version.
2022-07-25 09:49:29 +02:00
Marc Durdin
3759df1914
Merge pull request #6948 from keymanapp/fix/developer/cherry-pick/6897-timeouts-when-server-shutdown
fix(developer): reduce timeouts if server shut down 🎾 🍒
2022-07-22 16:43:45 +10:00
Marc Durdin
d7c7ad1c8f
Merge pull request #6947 from keymanapp/fix/developer/cherry-pick/crash-on-switching-back-tab
fix(developer): crash when switching back a tab 🎾 🍒
2022-07-22 16:43:28 +10:00
Marc Durdin
b4c4794088
Merge pull request #6946 from keymanapp/fix/developer/cherry-pick/6928-crash-on-exit
fix(developer): crash on exit when checking for updates 🎾 🍒
2022-07-22 16:43:20 +10:00
Marc Durdin
ba86c4c144
Merge pull request #6945 from keymanapp/fix/developer/cherry-pick/kmdecomp-virtual-character-keys
fix(developer): kmdecomp virtual character key output 🎾 🍒
2022-07-22 16:43:14 +10:00
Eberhard Beilharz
784a1c60ca
Merge pull request #6972 from keymanapp/chore/linux/changelog
chore(linux): Update Debian changelog
2022-07-22 06:44:15 +02:00
Eberhard Beilharz
4a8546fd70
Merge pull request #6969 from keymanapp/fix/linux/cherry-pick/6967-permissions
fix(linux): Catch PermissionError exception 🍒
2022-07-22 06:43:58 +02:00
Eberhard Beilharz
ec43b1a10c
Merge pull request #6964 from keymanapp/fix/linux/cherry-pick/6962-uninstall
fix(linux): Fix uninstallation when using fcitx5 🍒
2022-07-20 09:10:52 +02:00
Eberhard Beilharz
1a614ef2cb
Merge pull request #6961 from keymanapp/fix/linux/cherry-pick/6983-postinst
fix(linux): Another attempt at fixing postinst script 🍒
2022-07-20 09:10:30 +02:00
Eberhard Beilharz
08dbd712b2
chore(linux): Update Debian changelog 2022-07-19 11:02:36 +02:00
Eberhard Beilharz
ad2dfea22f
Merge pull request #6966 from keymanapp/fix/linux/cherry-pick/6930-gcc12
fix(common): Fix `delete` 🍒
2022-07-19 08:57:53 +02:00
Eberhard Beilharz
768e77c908
fix(linux): Catch PermissionError exception
If the user doesn't have the permission to create a directory we
now log an error.

Fixes #6967

(cherry picked from commit ee03538a99)
2022-07-18 19:09:56 +02:00
Eberhard Beilharz
33af8014ef
fix(common): Fix delete
GCC 12 will output an error if the wrong `delete` is used.

Fixes #6930

(cherry picked from commit 57c736f17a)
2022-07-18 17:08:29 +02:00
Eberhard Beilharz
9721b56fa0
fix(linux): Fix uninstallation when using fcitx5
Fixes #6962

(cherry picked from commit 28bd7d2055)
2022-07-18 15:24:31 +02:00
Eberhard Beilharz
2d36352a3e
fix(linux): Another attempt at fixing postinst script
When the installation runs from `unattended-upgrade`, `$SUDO_USER`
and `$USER` will probably not be set.

Fixes #6983

(cherry picked from commit d99265b967)
2022-07-18 10:51:43 +02:00
Joshua Horton
c5480d19b3
Merge pull request #6951 from keymanapp/chore/web/cherry/remove-invalid-warning
chore(web): remove invalid warning msg 🍒
2022-07-15 13:09:08 +07:00
Joshua Horton
f2283b79c7
Merge pull request #6949 from keymanapp/fix/web/cherry/block-set-layer-on-desktop
fix(web): context-only rule effects, set(&layer) from physical keystrokes 🖇️ 🍒
2022-07-15 13:07:30 +07:00
Joshua A. Horton
ca1eb70cbd chore(web): remove invalid warning msg 2022-07-15 09:05:18 +07:00