Commit graph

3486 commits

Author SHA1 Message Date
Ross
61c64c373b chore(windows): Merge branch 'master' into feat/windows/imx-support-common-core 2022-01-25 15:41:36 +10:00
Ross
1c3cd0ae1f feat(windows): Bit wise and modifier flags for core process event
The windows engine shift modifier flag needs to only pass
the K_MODIFIERFLAGS so do a bit wise and to clear the other flags
2022-01-25 14:59:19 +10:00
Marc Durdin
06bb464153 feat(windows): testhost project for debugging keyman32
Scratching an itch. It's very painful to debug Keyman Core on Windows.

This helps a little. It allows you to step through the code without
loading keyman32.dll into every process. It's not perfect, because when
actions are sent, they tend to land in the debugger because SendInput
does not care about the active window! However, if you don't care
about that too much (or if you are willing to try a remote debug setup),
then this should really simplify debugging.
2022-01-25 13:07:16 +11:00
Ross
949cb7da40 chore(windows): Merge branch 'master' into feat/windows/6099-emit-keystrokes-from-imx 2022-01-24 16:05:48 +10:00
Marc Durdin
af6f01f25d fix(developer): prevent crash on build dblclicked file
Fixes #6149.
2022-01-24 16:35:49 +11:00
Marc Durdin
633d6d7142 fix(developer): update test suite 2022-01-24 11:07:27 +11:00
Marc Durdin
f1f4d7bd80 fix(developer): compile package fileVersion from keyboard FileVersion
Relates to #5992 (part 1 of 2 - part 2 updates the kmn min version in
the compiler).

Updates package fileVersion property to be minimum keyboard version, to
avoid issues with app crashing if functionality is not supported.

As far as I can tell, only Keyman for Windows currently checks the
package fileVersion.

This could be quite nasty, except that the online keyboard repository
build process also extracts the min Keyman version from the keyboard
.kmx and .js, and records it in the .keyboard_info, preventing older
versions of Keyman from seeing unsupported keyboards in the cloud
repository.

Thus, the only gap is for peer distributed keyboards. So we should fix
this gap but it is less urgent than it might otherwise be.
2022-01-24 10:35:32 +11:00
Marc Durdin
4343834e42 chore(developer): remove mergeref for keymanengine 2022-01-24 08:50:48 +11:00
Marc Durdin
59c64c9ad0 fix(developer): remove keymanengine.msm
As of Keyman Developer 15, we no longer need to install
keymanengine.msm, so it should be able to co-exist with any version of
Keyman for Windows. Remove the .msm to make this so!
2022-01-24 07:32:47 +11:00
Marc Durdin
82a8bd3242 fix(developer): handle Core failure to load
If Core fails to load when starting the debugger, avoid a crash and
report details of the error back to the user.
2022-01-24 07:17:52 +11:00
Marc Durdin
59c1216a85 chore(developer): ensure tests run when building Server 2022-01-24 07:17:01 +11:00
Ross
9dd342eace feat(windows): Turn imx synthesised actions to emti keystroke action 2022-01-21 14:12:00 +10:00
Marc Durdin
9c5b126956 chore(developer): Merge branch 'master' into feat/developer/node-based-debugger-server 2022-01-21 14:45:30 +11:00
Ross
8c8859bcf1 feat(windows): add process_queued_actions 2022-01-20 14:33:00 +10:00
rc-swag
4ca65e4fdb
feat(windows): commit suggestions github
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-01-20 09:43:22 +10:00
Ross
513e2def62 feat(windows): remove debug logging 2022-01-19 14:52:29 +10:00
Ross
1b624c3d56 feat(windows): Address Review comments 2022-01-19 13:47:49 +10:00
Marc Durdin
4dd5904bca fix(developer): refresh web host on compile 2022-01-19 11:00:44 +11:00
rc-swag
87e34147e6
feat(windows): apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-01-18 09:25:03 +10:00
Darcy Wong
24364dc5af
Merge pull request #6048 from keymanapp/chore/common/crowdin-ckl
chore(common): Check in crowdin strings for Kibaku 📜
2022-01-17 10:28:54 +07:00
Marc Durdin
a3d5a4f9be
Merge pull request #5988 from keymanapp/feat/developer/3620-developer-ide-support
feat(developer): support for Caps Lock layer 🕊
2022-01-17 12:13:53 +11:00
Marc Durdin
0c0bb420b5
Merge pull request #5963 from keymanapp/feat/web/3621-newcontext-group
feat(web): Start of Sentence support - part 1 🕊
2022-01-17 12:04:29 +11:00
Darcy Wong
c5178649e6
Merge pull request #6050 from keymanapp/chore/common/crowdin-hia
chore(common): Check in crowdin strings for Waha 📜
2022-01-14 12:48:41 +07:00
Darcy Wong
9eb2916d51
Merge pull request #6049 from keymanapp/chore/common/crowdin-mrt
chore(common): Check in crowdin strings for Marghi 📜
2022-01-13 15:04:34 +07:00
Ross
02b2379a1a feat(windows): tweak comments 2022-01-13 14:07:53 +10:00
Ross
ee87f0a33e feat(windows): remove old comments 2022-01-13 14:00:24 +10:00
Ross
2e0b7691e9 feat(windows): clarity changes to ContextItemToAppContext 2022-01-13 14:00:23 +10:00
Ross
ca8108c642 feat(windows): remove extra logging add comments 2022-01-13 14:00:13 +10:00
Ross
7efb4b1756 feat(windows): add wm_kewm_keymanim_close for core
This commit adds call to the core keyboard processor
on wm_keymanim_close event. To get the latest actions.
It also changes the core to allow QIT BACK even when
the context is empty.
2022-01-13 13:59:43 +10:00
Ross
f1f1d4e9b7 feat(windows): fix compile error 2022-01-13 13:59:40 +10:00
Ross
a72697423a feat(windows): add logging to be removed later 2022-01-13 13:59:39 +10:00
Ross
a078c2e577 feat(windows): add register callback 2022-01-13 13:59:31 +10:00
Ross
f2c52803eb feat(windows): Wip mod kmcontext 2022-01-13 13:56:01 +10:00
Ross
9d320c6bd8 feat(windows): core queue_action_items unit test 2022-01-13 13:55:58 +10:00
Ross
993655d340 feat(windows): Some documentation 2022-01-13 13:55:56 +10:00
Ross
fd71876e26 feat(windows): Update KMSetOutput to use core processor 2022-01-13 13:55:49 +10:00
Ross
cd41989698 feat(windows): First cut queue action api WIP 2022-01-13 13:54:53 +10:00
Ross
1649bbad42 feat(windows): WIP squash 2022-01-13 13:54:31 +10:00
Ross
490e6601bc feat(windows): Initial Commit 2022-01-13 13:54:30 +10:00
Darcy Wong
065fdbc434
Merge pull request #6047 from keymanapp/chore/common/crowdin-kr
chore(common): Check in crowdin strings for Kanuri 📜
2022-01-12 09:42:07 +07:00
rc-swag
d585ca6741
Merge pull request #6080 from keymanapp/feat/windows/6079-set-app-context-truncation
feat(windows): method set context correctly truncates input buffer
2022-01-12 09:01:03 +10:00
rc-swag
4f24d97b85
Merge pull request #6057 from keymanapp/fix/windows/imsample-keyboard
fix(windows): add x64 build fix invalid memory access
2022-01-12 09:00:26 +10:00
Ross
d7bc65ffa9 feat(windows): cast int64 to int 2022-01-06 11:06:46 +10:00
Ross
f53b8072f3 feat(windows): Remove dead code 2022-01-06 08:41:07 +10:00
rc-swag
2712ac73a4
feat(windows): apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-01-06 08:39:05 +10:00
Ross
8540a36ef8 feat(windows): method set context correctly truncates input buffer
AppContext Set now truncates an input buffer correctly
if it is longer in length than the internal storage available for the context,
it uses the same implementation as the common core found in
kmx_context.cpp
2022-01-05 11:24:09 +10:00
Marc Durdin
70becc7ed1
Merge pull request #6065 from keymanapp/chore/windows/nmake-makefile-cleanup
chore(windows): nmake makefile cleanup
2021-12-23 10:03:53 +11:00
Marc Durdin
7b904969cb chore(developer): update icon and fix link 2021-12-23 07:25:07 +11:00
Marc Durdin
bfcdb5ac57 feat(developer): last-use and expire old resources 2021-12-22 14:48:24 +11:00
Marc Durdin
a858c5166c feat(developer): sentry integration into server
This also tidies up the mkver.sh script and adds the
replaceVersionStrings() function to build-utils.sh for use globally.
2021-12-22 11:16:33 +11:00