Commit graph

29914 commits

Author SHA1 Message Date
Keyman Build Agent
911c8f082e auto: increment beta version to 18.0.226 2025-04-01 14:03:18 -04:00
Eberhard Beilharz
9147bdb689
Merge pull request #13624 from keymanapp/refactor/linux/warning
refactor(linux): remove warning if no custom keyboards exist

If the dconf setting for custom keyboards doesn't exist, i.e. we never saved custom keyboards before, the previous code resulted in a warning showing up: `(ibus-engine-keyman:4276): GLib-CRITICAL **: 14:31:16.030: g_hash_table_lookup: assertion 'hash_table != NULL' failed`.

This PR adds a null check before trying to access the custom keyboards hash table and thus removes the warning.
2025-04-01 12:52:59 +02:00
Joshua Horton
0e055b2e67
Merge pull request #13549 from keymanapp/fix/ios/remove-missing-keyboards
fix(ios): uninstalls keyboards upon failure to load
2025-04-01 14:56:17 +07:00
Joshua Horton
bb51b8e288
Merge pull request #13548 from keymanapp/change/ios/atomic-copy-overwrite
change(ios): prevent file erasure during copyWithOverwrite error state
2025-04-01 14:56:09 +07:00
Joshua Horton
002b7fc03b docs(ios): tweaks code comment for clarity 2025-04-01 12:53:07 +07:00
Darcy Wong
14d4b62f2d
Merge pull request #13594 from keymanapp/chore/crowdin/it
chore(mac,windows): Update Crowdin strings for Italian
2025-04-01 10:05:41 +07:00
Marc Durdin
6755de11b0
Merge pull request #13622 from keymanapp/fix/developer/13610-handle-und-in-keyboard-info
fix(developer): add special handling for 'und' in kmc-keyboard-info
2025-04-01 08:51:09 +07:00
Joshua Horton
4f5b51e921
Merge pull request #13621 from keymanapp/fix/web/remove-extra-last-row-offset
fix(web): remove extra px offset from last OSK row
2025-04-01 08:39:35 +07:00
Keyman Server
227fcfafda
Merge pull request #13627 from keymanapp/auto/version-beta-18.0.225
auto: increment beta version to 18.0.225
2025-03-31 11:03:18 -07:00
Keyman Build Agent
5676c77a34 auto: increment beta version to 18.0.225 2025-03-31 14:02:34 -04:00
Eberhard Beilharz
4a9a3dc55f
refactor(linux): remove a warning
The previous code resulted in warnings showing up:
`(ibus-engine-keyman:4276): GLib-CRITICAL **: 14:31:16.030: g_hash_table_lookup: assertion 'hash_table != NULL' failed`.
This should work around the warning.
2025-03-31 16:33:31 +02:00
Marc Durdin
9c1c417457 fix(developer): add special handling for 'und' in kmc-keyboard-info
This is a workaround for missing 'und' language tag.

`(new Intl.Locale('und')).language` returns `undefined` in V8, as of 31
March 2025. This means we cannot rely on `Intl.Locale` to parse the
bcp47 string for us. The implemented workaround is to replace `und` with
a known-good language subtag, and then swap it back out in later
processing.

Also adds unit test and new warning messages for invalid language tags
that were exposed during testing of this.

Fixes: #13610
2025-03-31 12:30:05 +07:00
Joshua Horton
eae55e4fa1 fix(web): remove extra px offset from last OSK row
Fixes: #13620

Turns out there was actually a final-row pixel offset being applied for the OSK.  I _believe_ this was something originally done for touch-oriented OSKs that ended up applied to all during 17.0's OSK refactoring efforts.

kmwosk.css does define layer-group padding above and below (1 px each) for touch keyboards already.  Furthermore, things look fine when removing this extra 1px offset on the bottom from the last row.  I think we're fine to just drop this minor offset and move on for now.
2025-03-31 10:41:50 +07:00
rc-swag
9c34662401
Merge pull request #13585 from keymanapp/fix/windows/13440/right-modifier-key-option-reload
fix(windows): reload right modifier key option
2025-03-31 11:18:08 +10:00
Keyman Server
1868a713a1
Merge pull request #13607 from keymanapp/auto/version-beta-18.0.224
auto: increment beta version to 18.0.224
2025-03-29 11:03:03 -07:00
Keyman Build Agent
f7b1a7c3d4 auto: increment beta version to 18.0.224 2025-03-29 14:02:24 -04:00
Marc Durdin
9d7b953ed9
Merge pull request #13602 from keymanapp/chore/improve-invalid-version-message
chore(developer): improve kmc-ldml 'invalid version' message
2025-03-29 05:33:49 +07:00
Marc Durdin
de5a02f8ce chore(developer): rewrap detail on semver LDML message 2025-03-29 04:14:38 +07:00
Keyman Server
e97eaa57dc
Merge pull request #13604 from keymanapp/auto/version-beta-18.0.223
auto: increment beta version to 18.0.223
2025-03-28 11:02:48 -07:00
Keyman Build Agent
b78fb7699a auto: increment beta version to 18.0.223 2025-03-28 14:02:12 -04:00
Marc Durdin
dbfe03aa8e chore(developer): improve kmc-ldml 'invalid version' message
Suggested by @Nnyny. Give more detail on the semantic version format for
keyboard version, as well as details on the limitations to semver
imposed by the Keyman toolchain.
2025-03-28 15:01:11 +07:00
Darcy Wong
4067c98f11 chore(windows): Update crowdin strings for Italian 2025-03-28 09:00:39 +07:00
Darcy Wong
ca4034d953 chore(mac): Update crowdin strings for Italian 2025-03-28 09:00:31 +07:00
Darcy Wong
5f0f4b4f5b
Merge pull request #13546 from keymanapp/fix/android/banner-after-unlock
fix(android): Handle banner overrides independently when device is locked and unlocked
2025-03-28 08:20:31 +07:00
rc-swag
b2463be19a fix(windows): review comments 2025-03-28 10:36:46 +10:00
Keyman Server
909f80cb04
Merge pull request #13591 from keymanapp/auto/version-beta-18.0.222
auto: increment beta version to 18.0.222
2025-03-27 11:03:42 -07:00
Keyman Build Agent
ad4f030604 auto: increment beta version to 18.0.222 2025-03-27 14:03:07 -04:00
Eberhard Beilharz
3caa1b03ff
Merge pull request #13372: fix(linux): improve key mapping to allow Core to reset context
This change tries to map all keys to corresponding Core VKeys so that Core sees them and can reset the context if necessary. Previously we had 0 for most of the keys, which meant that we didn't send them to Core but instead returned right away. While this doesn't directly fix the failing tests described in #12968, it fixes the original tests in #11172.

Also adds a baseline test for resetting the context.

Closes: #12968
2025-03-27 18:01:37 +01:00
Eberhard Beilharz
46f594dc71
Merge pull request #13558: fix(linux): improve emitting keystrokes
For some reason when using a LDML keyboard we ended up emitting a keystroke even though Core returned FALSE for emitting_keystroke. I wasn't able to track down where this happened, but this change seems like an easy way to fix it.

This showed up when debugging why the changes in #13372 didn't work for non-compliant apps.
2025-03-27 16:05:06 +01:00
Eberhard Beilharz
1f8f979f61
Update core/include/keyman/keyman_core_api_vkeys.h
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-27 15:39:00 +01:00
Shawn Schantz
2114b9a7cb
Merge pull request #13501 from keymanapp/docs/mac/10706-update-screenshots
docs(mac): update help documentation due to changes in Settings in macOS 13.0 Ventura
2025-03-27 18:05:08 +07:00
Marc Durdin
448aae4c43
Merge pull request #13577 from keymanapp/chore/common/13468-language-subtag-registry-2025-03-10
chore(common): update language-subtag-registry to 2025-03-10 release
2025-03-27 16:54:58 +07:00
rc-swag
79b15dfeb4 fix(windows): move thread check guard
Removed the redundant thread check guard on load modifer. Added guard
to reading the option. Also fixed some formating. and made the load
modifier private.
2025-03-27 16:05:28 +10:00
Darcy Wong
fee91b379d chore(android): Remove debug statements 2025-03-27 11:04:30 +07:00
rc-swag
e3f2e85945 fix(windows): reload right modifier key option
Fixes: #13440

This refactors the cached of the right modifier key used in hotkeys
option. In the lowlevelhook you couldn't reset the cached value.
It is now part of the hotkeys class which is more logical encapsulation
the logic assocaited with the hotkeys.
2025-03-27 13:30:05 +10:00
rc-swag
4276aa83eb
Merge pull request #13565 from keymanapp/fix/windows/combine-install-pop-up-frms
fix(windows): combine install and install pop ups
2025-03-27 09:47:50 +10:00
rc-swag
228fcd193e
Merge pull request #13555 from keymanapp/fix/windows/13489/update-tab-improvements
fix(windows): configuration update tab text changes
2025-03-27 09:19:52 +10:00
rc-swag
365495b1d5 fix(windows): font charset to default charset 2025-03-27 09:18:29 +10:00
Eberhard Beilharz
3e3a0dbce1
refactor(linux): mark undocumented keycodes as internal
Several keys that are defined in `winuser.h` were added after Keyman
defined its vkeys and so are not documented in the Keyman docs. This
change adds underscores before and after to mark them as being internal.
It's still useful to have them in the source code because it makes the
mapping between Linux keys and Keyman vkeys easier.

Addresses code review comment.
2025-03-26 16:49:31 +01:00
Marc Durdin
27e7d043b2 chore: cleanup publish-minimum-versions.sh 2025-03-26 10:14:35 +07:00
Marc Durdin
f38d7a32c0 chore(common): publish minimum version update 2025-03-26 10:12:04 +07:00
Marc Durdin
d4713dbae3 chore(common): test minimum-versions is up to date
Rewrite of publish-minimum-versions.sh to add some baseline tests for
up-to-date status of minimum-versions.md, and adds first test against
source data, where we have it, with language-subtag-registry.
2025-03-26 10:07:22 +07:00
rc-swag
6e7971ddff chore(windows): Merge branch 'fix/windows/combine-install-pop-up-frms' into fix/windows/13489/update-tab-improvements 2025-03-26 10:11:43 +10:00
rc-swag
b97c4f1623 fix(windows): fix handling of more than 3 updates
The scroll bar was also not working correctly for display content.
Different options where explored but the best was to make the outer
update content block a "display: block" instead of using flex.
2025-03-25 17:09:03 +10:00
Marc Durdin
7caaeb268f chore(common): update language-subtag-registry to 2025-03-10 release
Fixes: #13468
2025-03-25 13:54:33 +07:00
rc-swag
eb134999b2 fix(windows): move lbl remove full stop
Moved the label yet again. Also remove a full stop after the
question mark for a string.
2025-03-25 10:14:30 +10:00
Keyman Server
14fad57675
Merge pull request #13575 from keymanapp/auto/version-beta-18.0.221
auto: increment beta version to 18.0.221
2025-03-24 11:03:14 -07:00
Keyman Build Agent
f86f2a45ae auto: increment beta version to 18.0.221 2025-03-24 14:02:35 -04:00
rc-swag
5bf17c1fc9 fix(windows): update S_Update_Restart_Req
This was updated in first PR before combining just bringing
the change over.
2025-03-24 17:21:09 +10:00
Marc Durdin
2dc3708e63
Merge pull request #13562 from keymanapp/chore/developer/command-to-statement
chore(developer): use 'statement' instead of 'command' for messages about kmn statements
2025-03-24 14:09:52 +07:00