Commit graph

3885 commits

Author SHA1 Message Date
rc-swag
25e5aff4cc feat(windows): update etl2log and Readme 2025-11-26 22:05:13 +10:00
rc-swag
9e7fe64f67
feat(windows): apply review suggestions
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-11-26 21:38:35 +10:00
rc-swag
4c4b0be456 feat(windows): audit _WIN64 macro 2025-11-25 16:01:52 +10:00
rc-swag
c4b6d06e43 feat(windows): combine start host 64 process functions
also removed sentry references. Fixed the manifest
references.
2025-11-25 12:42:15 +10:00
rc-swag
bc927bc4c3 feat(windows): fix version rc files to display correct
fix the version.rc files to display the correct description
and file name for keymanhp.*.exe fix version rc files to display correct
Also fix up the Keymanengine arm64 version names.
2025-11-24 13:54:02 +10:00
rc-swag
33cdb0f54c feat(windows): fix manifest for each host 2025-11-24 13:52:51 +10:00
rc-swag
0375dea3d6 feat(windows): remove custom built sentry.arm64.dll 2025-11-24 13:46:17 +10:00
rc-swag
ad34a44c9f chore(windows): Merge branch 'epic/win-arm' into feat/windows/11905/keymanx64-keymanarm64 2025-11-21 18:36:13 +10:00
Keyman Server
248d4205f0
Merge branch 'epic/win-arm' into auto/A19S16-merge-master-into-win-arm 2025-11-20 11:09:43 +01:00
rc-swag
6e5fb1cefe feat(windows): copy sentry arm build to bin folder 2025-11-20 11:28:05 +10:00
rc-swag
59c8ff6d75 feat(windows): remove shared data arm64 test
the arm64 shared data test will only be possible on arm64
machine which is capable of running the x64 applications
2025-11-19 16:05:57 +10:00
rc-swag
c059627aa5 feat(windows): link keymanarm64.dll correctly 2025-11-19 14:07:21 +10:00
Marc Durdin
bf4d707662 change(windows): use circular buffer for logging
Test-bot: skip
2025-11-14 05:23:32 +01:00
Marc Durdin
edca16f508 change(windows): include map2pdb generation for relevant Delphi projects
Adds a call to map2pdb for Delphi projects, if map2pdb is an executable
on the path. This way, we get .pdb files we can use for debugging and
for performance profiling. This also replaces tds2dbg.

If map2dbg is available, then the build and install actions will copy
the PDB to be alongside the corresponding executable, making most debug
actions relatively seamless for finding symbols.

Also fixes up setup.exe in Windows and Developer to extend setup.exe to
a 512-byte boundary after map2pdb patches the PE.

Relates-to: #14787
Build-bot: skip release:developer,windows
Test-bot: skip
2025-11-13 14:48:18 +01:00
Marc Durdin
54642dc86d fix(windows): disable OutputDebugString from DllMain
Following investigation, it seems that OutputDebugString can trigger a
loader lock as it throws an exception which can be handled by a global
exception handler, which may try and load/unload DLLs or perform other
unsafe tasks (e.g. StackWalk). The safest solution is to remove the
debug string logging altogether from code paths that run from DllMain.

It would be nice to further simplify DllMain but that would be a
significant amount of additional work.
2025-11-13 14:47:39 +01:00
rc-swag
1cf430bb98 chore(windows): Merge branch 'epic/win-arm' into feat/windows/11905/keymanx64-keymanarm64 2025-11-10 11:29:40 +10:00
Marc Durdin
bf7748a7d0 chore: Merge branch 'epic/win-arm' into auto/A19S15-merge-master-into-win-arm 2025-11-07 14:21:04 +01:00
Darcy Wong
f908546969
Merge pull request #15034 from keymanapp/chore/common/platform-rules
chore(common): Consolidate platformtest.js keyboard to `/common/test/keyboards/` 🚛
2025-11-06 13:24:14 +07:00
rc-swag
80d789c706 feat(windows): update keymanhp to v2022 and engine.sln 2025-11-03 12:53:12 +10:00
rc-swag
d2b9c7d1fe chore(windows): Merge branch 'epic/win-arm' into feat/windows/11905/keymanx64-keymanarm64 2025-11-03 09:59:10 +10:00
Marc Durdin
6ed0d6b280 chore(windows): upgrade VC++ projects to v143 (VS2022)
Test-bot: skip
Build-bot: skip release:developer,windows
2025-10-31 13:28:25 +01:00
Marc Durdin
9e1fe8e6de chore(windows): upgrade VC++ projects to v143 (VS2022)
Test-bot: skip
Build-bot: skip release:developer,windows
2025-10-30 16:31:45 +01:00
rc-swag
ccad218351 chore(windows): Merge branch 'epic/win-arm' into feat/windows/11905/keymanx64-keymanarm64
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2025-10-28 16:51:53 +10:00
rc-swag
d52b48cbbb feat(windows): handle arm64 complier environment
Update the build.bat to handle configuring the build
environment with vsdevcmd correctly for arm64 2019 doesn't
work very well so have to have pretty weird if statement.
also checked in some missed updates to function name change
2025-10-28 16:40:42 +10:00
Darcy Wong
5bf5a5941f chore(common): Move platformtest to common/test/keyboards 2025-10-28 07:18:49 +07:00
Marc Durdin
ba411774f6 maint(resources): move NPM package publishing to GitHub Actions
Due to recent changes in NPM package publishing security requirements,
we have to move from TeamCity build to a GitHub Action to publish our
NPM packages, so we can take advantage of trusted publishing. This
change also consolidates and centralizes the npm publishing into
resources/build/ci/npm-publish.sh, which removes a lot of boilerplate
from each of the build.sh scripts, and ensures consistency.

Packages will be `npm pack`ed on PR and test builds, and published in
release builds.

Ref: https://docs.npmjs.com/trusted-publishers
Ref: https://github.blog/changelog/2025-09-29-strengthening-npm-security-important-changes-to-authentication-and-token-management/
Fixes: #14963
Test-bot: skip
Build-bot: release:developer
2025-10-27 16:31:55 +01:00
Keyman Server
664b4b2082
Merge branch 'epic/win-arm' into chore/A19S14-merge-master-into-win-arm 2025-10-24 11:14:58 +02:00
Darcy Wong
5f021e3884 chore(windows): Beautify platformtest.js 2025-10-24 14:10:57 +07:00
Darcy Wong
b1fe097a82 chore(windows): Update platformtest keyboard 2025-10-24 10:24:11 +07:00
rc-swag
472c8e2027 feat(windows): add keymanarm64.def update gitignore 2025-10-22 22:20:48 +10:00
rc-swag
9a7cb42fc7 feat(windows): add keymanarm64.def 2025-10-20 16:03:39 +10:00
rc-swag
6cc66379e1 chore(windows): Merge branch 'epic/win-arm' into feat/windows/11905/keymanx64-keymanarm64 2025-10-17 14:08:16 +10:00
rc-swag
9e23f5770a
Merge branch 'epic/win-arm' into feat/windows/11905/keymanx64-keymanarm64 2025-10-15 11:40:49 +10:00
rc-swag
570c6f3a9f
Merge branch 'epic/win-arm' into refactor/windows/refactor-keymanx64 2025-10-15 11:03:31 +10:00
rc-swag
ecec5e49f4 refactor(windows): address review comments 2025-10-15 10:58:42 +10:00
rc-swag
1340c4f9e5 feat(windows): add arm64 to wxs and core build
Add cross-arm64 and cross-x64 build
Add the arm64 binaries to the wxs installers with guids
update build.sh files
2025-10-14 16:00:40 +10:00
Marc Durdin
96e7ed56b5
Merge pull request #14909 from keymanapp/fix/windows/14890-ctrl-ralt-on-osk
fix(windows): osk: handle simulated left Control event when AltGr pressed
2025-10-13 10:39:42 +02:00
Marc Durdin
03cd865c09
Apply suggestions from code review
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2025-10-13 10:37:35 +02:00
Keyman Server
a85dbfab36
Merge branch 'epic/win-arm' into chore/A19S13-merge-master-into-win-arm 2025-10-10 05:05:44 +02:00
Darcy Wong
c38f488986 chore(common): Update crowdin strings for Vietnamese 2025-10-09 11:40:18 +07:00
Marc Durdin
c99e0c01c4 chore(windows): address warnings 2025-10-08 15:08:04 +02:00
Marc Durdin
cb6063a954 chore(windows): add test app for investigating low level keyboard events
Relates-to: #14890
2025-10-08 14:59:48 +02:00
Marc Durdin
50ffbb2722 fix(windows): osk: handle simulated left Control event when AltGr pressed
When a European layout is active, and the user presses AltGr, Windows
generates a simulated VK_LCONTROL event alongside the VK_RMENU event.
This was causing the OSK to show LCtrl as depressed alongside RAlt, so
the OSK would show the wrong modifier layer, which was unhelpful and
confusing to the end user.

It is possible to detect the simulated VK_LCONTROL in the WH_KEYBOARD_LL
hook, because the scan code generated is 0x21D, instead of 0x1D.
Warning: this is not a documented value. (But, this 0x21D scan code is
not passed to the WM_KEYDOWN event!) Therefore, we use Keyman's existing
kmnLowLevelKeyboardProc to pass modifier key events on to the visual
keyboard.

This patch handles only this specific scenario, by watching for that
specific scan code in the new handler in the UfrmOSKOnScreenKeyboard
module, together with some minor refactoring so that it fits neatly.

A future improvement would be to have all modifier key processing go
through this new handler, and eliminate the timer-based polling of the
keyboard. However, there is some additional risk around missing events,
leading to 'stuck modifiers'.

Fixes: #14890
Build-bot: skip release:windows
2025-10-08 14:32:40 +02:00
rc-swag
d769ef31b5
Merge pull request #14683 from keymanapp/fix/windows/14577/clean-cache-idle-state
fix(windows): remove cached files in idle state
2025-10-03 09:19:56 +10:00
rc-swag
f73e16cfce feat(windows): update binary names and kmtip
Update the binary arm names to match the spec.
Also updated kmtip project to build arm64 dll
2025-10-02 16:45:36 +10:00
rc-swag
5ac167977b Merge branch 'epic/win-arm' into feat/windows/11905/keymanx64-keymanarm64 2025-10-01 14:11:23 +10:00
rc-swag
32e95fa444 refactor(windows): rename keymanx64 proj keymanhp
Fixes:#11905
2025-10-01 11:44:08 +10:00
rc-swag
d8dda66eaf refactor(windows): rename keymanx64 proj keymanhp
Fixes:#11905
2025-09-30 15:33:16 +10:00
rc-swag
ae441f16b5 feat(windows): add sentry.arm64.dll and lib 2025-09-30 13:12:34 +10:00
Keyman Server
e69eb3f44b
Merge branch 'epic/win-arm' into chore/A19S12-merge-master-into-win-arm 2025-09-27 06:39:36 +02:00