Commit graph

13172 commits

Author SHA1 Message Date
Eberhard Beilharz
b51d0e0b00
fix(linux): Address code review comments 2021-08-19 12:15:42 +02:00
Eberhard Beilharz
f0c3280517
fix(linux): Fix lost context after pressing K_SHIFT
This fixes typing `n>` with sil_ipa keyboard which no longer output
the expected `ŋ` because pressing the shift key reset the context.

For modifier key presses we now exit `KMX_ProcessEvent::ProcessEvent`
early.

This change also removes a redundant line from engine.c. Clearing
the context happens in `reset_context()` again if necessary.

Fixes #5591.
2021-08-18 19:26:45 +02:00
Darcy Wong
2937c0c5b6
Merge pull request #5572 from keymanapp/chore/android/run-configurations
chore(android): Remove runConfigurations.xml files
2021-08-18 07:57:19 +07:00
Marc Durdin
6845dee3b9
Merge pull request #5586 from keymanapp/fix/windows/5574-restore-hint-window
fix(windows): handle restoring modal dialogs consistently
2021-08-18 07:06:43 +10:00
Eberhard Beilharz
163874b81d
Merge pull request #5585 from keymanapp/fix/linux/5584-badimage
fix(linux): Handle corrupt icon file
2021-08-17 11:43:58 +02:00
Eberhard Beilharz
ce132dbc8a
Merge pull request #5583 from keymanapp/fix/linux/5575-badzipfile
fix(linux): Check for valid kmp file
2021-08-17 11:42:43 +02:00
Joshua Horton
2bed4d9105
Merge pull request #5587 from keymanapp/fix/android/build-fail-from-duped-line
fix(android): removes duplicated line
2021-08-17 14:31:17 +07:00
jahorton
603fc8bbd5 fix(android): removes duplicated line 2021-08-17 13:52:51 +07:00
Joshua Horton
ed135f7861
Merge pull request #5521 from keymanapp/fix/android/5252-keyboard-black-bar
fix(android): keyboard's black bar bug
2021-08-17 08:43:34 +07:00
Joshua Horton
c35c003762
Merge pull request #5462 from keymanapp/refactor/web/vkbd-layout-key-calc-merger
refactor(web): overhaul of OSK key layout calcs + styling, merges desktop & touch logic 📐
2021-08-17 08:36:15 +07:00
Joshua Horton
b5789d2b6a
Merge pull request #5459 from keymanapp/refactor/web/vkbd-layout-calcs
refactor(web): reworks VisualKeyboard layout spec design 📐
2021-08-17 08:36:02 +07:00
Joshua Horton
4ccf48b678
Merge pull request #5451 from keymanapp/refactor/web/vkbd-layout-encapsulation
refactor(web): OSK layout hierarchy encapsulation 📐
2021-08-17 08:35:49 +07:00
Joshua Horton
30296fe113
Merge pull request #5557 from keymanapp/feat/ios/simulator-build-artifact
feat(ios): adds option for Simulator-compatible testing artifact
2021-08-17 08:26:15 +07:00
Marc Durdin
d90f382499 fix(windows): handle restoring modal dialogs consistently
Fixes #5574.

When a user presses Win+M, Win+D, or clicks the desktop button on the
taskbar, all windows get minimized, even those that do not have the
WS_MINIMIZE flag. Delphi modal dialog forms are not expecting this, and
do not restore correctly later.

This scenario arises only when a form is created with a `nil` owner and
then `form.ShowModal` is called.

The fix was already implemented on Splash and HTML forms, but
differently; I have chosen to use the implementation from the Splash
form as it is simpler and seems to work correctly.
2021-08-17 06:31:31 +10:00
Eberhard Beilharz
c8049a0cd2
fix(linux): Handle corrupt icon file
Fixes #5584.
2021-08-16 15:55:36 +02:00
Eberhard Beilharz
a98300f769
fix(linux): Fix failing tests 2021-08-16 11:56:05 +02:00
Eberhard Beilharz
58742b1a46
fix(linux): Check for valid zip file in km-package-install as well 2021-08-16 11:03:23 +02:00
Eberhard Beilharz
d48b5194e1
fix(linux): Check for valid kmp file
Before trying to install we now check if it's a valid zip file.
This fixes #5575.
2021-08-16 10:58:50 +02:00
Marc Durdin
4eac85907f
Merge pull request #5582 from keymanapp/feat/web/test-artifacts
feat(web): setup build artifacts for manual tests
2021-08-16 13:27:22 +10:00
Marc Durdin
0bf9089227 feat(web): setup build environment for manual tests
This is work arising from the spacebarText postmortem. The only changes
in this commit at present are in the readme, just to give us a pull
request to play with.
2021-08-16 10:33:16 +10:00
Darcy Wong
973a2d3f86 chore(android): Remove runConfigurations.xml files 2021-08-09 17:17:26 +07:00
Eberhard Beilharz
3f8d8f5cff
Merge pull request #5564 from keymanapp/chore/core/uninstall
chore(common/core): Add uninstall option to build script
2021-08-09 08:15:20 +02:00
Eberhard Beilharz
5e6de93e42
Merge pull request #5565 from keymanapp/docs/linux/ibus
docs(linux): Fix readme for ibus-keyman
2021-08-09 08:14:40 +02:00
Joshua Horton
0997dc34a8
chore(ios): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-08-09 08:22:57 +07:00
Keyman Server
05a15673a9
Merge pull request #5566 from keymanapp/auto/version-master-15.0.96
auto: increment master version to 15.0.96
2021-08-07 04:03:31 +10:00
Keyman Build Agent
dfa16719e7 auto: increment master version to 15.0.96 2021-08-06 14:02:51 -04:00
Eberhard Beilharz
7d15f74181
Merge pull request #5497 from keymanapp/chore/core/issue-5052
chore(common/core): Linux side of caps-lock stores 🚧
2021-08-06 16:58:18 +02:00
Eberhard Beilharz
3f9c1a380a
docs(linux): Fix readme for ibus-keyman
Turns out setting `KEYMAN_PROC_CFLAGS` isn't sufficient to use header
files from source repo.
2021-08-06 16:55:02 +02:00
Eberhard Beilharz
3509ddeb7c
chore(common/core): Add uninstall option to build script 2021-08-06 16:53:33 +02:00
Eberhard Beilharz
c9497fd494
feat(common/core): Implement shiftFreesCaps and capsOnOnly 2021-08-06 16:13:58 +02:00
Eberhard Beilharz
f3ea1dafee
fix(common/core): Turn off capslock on key down
This change improves capslock handling with a capsAlwaysOff keyboard.
Previously, the caps lock indicator was turned on while holding down
the Caps Lock key. With this change we turn it off immediately. This
is done by forcing caps lock off even if the state already seems to
match.

Also, for capsAlwaysOff keyboards skip further processing of caps
lock key after we turned capslock off again.
2021-08-06 12:21:20 +02:00
Eberhard Beilharz
cfeb9e820e
chore(linux): Implement Linux side of caps-lock action processing 2021-08-06 12:20:23 +02:00
Eberhard Beilharz
dabfea57ab
Merge pull request #5536 from keymanapp/chore/linux/5022-debian
chore(linux): Consolidate Debian source packages 📦
2021-08-06 12:02:54 +02:00
Eberhard Beilharz
43c920fec3
chore(linux): fix ibus-keyman test 2021-08-06 11:25:01 +02:00
Eberhard Beilharz
46e6d20f35
refactor(linux): Move KMFL to linux/legacy 2021-08-06 11:25:01 +02:00
Eberhard Beilharz
34b0932173
chore(linux): Depend on keyman-engine
This change adds a virtual package `keyman-engine` which ibus-keyman
provides. keyman-config can then depend on this virtual package.
This allows to use fcitx instead of ibus if the fcitx-keyman package
provides that virtual package as well.
2021-08-06 11:25:00 +02:00
Eberhard Beilharz
3d10e6100f
chore(linux): Remove no longer needed debian directories
The previous commit created a consolidated toplevel `debian`
directory.
2021-08-06 11:25:00 +02:00
Eberhard Beilharz
79f92a150c
chore(linux): Consolidate Debian source packages
This change consolidates the Debian packages into a single source
package, with the exception of the legacy KMFL packages.

Fixes #5022.
2021-08-06 11:25:00 +02:00
Darcy Wong
2353e9a24c
Merge pull request #5555 from keymanapp/fix/web/empty-display-name
fix(web): Blank spacebar text when displayName is empty string
2021-08-06 13:07:42 +07:00
Joshua Horton
01217a76ae
Merge pull request #5480 from keymanapp/fix/common/models/keep-diacritic-sensitivity
fix(common/models): keep/suggestion diacritic sensitivity when de-duping
2021-08-06 11:32:48 +07:00
Marc Durdin
93cc5d45f2
Merge pull request #5513 from keymanapp/feat/developer/5013-keyman-core-debugger-part-1
feat(developer): debugger uses Keyman Core 🐞
2021-08-06 13:43:22 +10:00
Marc Durdin
51baeebbb4
Merge pull request #5562 from keymanapp/fix/core/5561-split-smp-for-context-action
fix(common/core/desktop): split smp for context chars
2021-08-06 13:43:05 +10:00
jahorton
ec68bb12c7 fix(ios): .app is folder; artifact as .zip of .app 2021-08-06 10:30:57 +07:00
Darcy Wong
21059f8dfa
Merge pull request #5541 from keymanapp/fix/android/back-destroy-progress-dialog
fix(android/app): Fix cleanup when progress dialog cancelled
2021-08-06 10:28:06 +07:00
Darcy Wong
bf736d519d chore(android/app): Revert Toast notification 2021-08-06 10:27:08 +07:00
Marc Durdin
3faa32b9cd chore(developer): address review comments 2021-08-06 12:49:21 +10:00
Darcy Wong
ebb04697e4
Merge pull request #5520 from keymanapp/feat/android/prompt-webview-update
feat(android): Add API for checking Chrome version
2021-08-06 09:37:10 +07:00
jahorton
89d5a0bd9e fix(ios): sim artifact uses .app, not .ipa 2021-08-06 09:28:25 +07:00
Marc Durdin
d76eca052e fix(common/core/desktop): split smp for context chars
Fixes #5465.
Fixes #5561.

If a non-BMP Unicode char was emitted into the internal context, it was
being truncated to a WORD, which caused data loss for multi-group
keyboards.

Includes an update to a unit test to validate this fix.
2021-08-06 12:28:15 +10:00
jahorton
67f29d2a61 docs(ios): tweaks build-script help for new flag 2021-08-06 08:16:58 +07:00