Commit graph

676 commits

Author SHA1 Message Date
Ross
1d3fc99b28 chore(windows): Merge branch 'master' into chore/windows/5442/remove-legacy-keyman-core 2023-05-17 10:27:56 +10:00
rc-swag
1f37ca6e61
chore(windows): use __FUNCTION__ for comment
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2023-05-17 10:27:12 +10:00
rc-swag
91a3ba8b86
Merge branch 'chore/windows/5442/remove-legacy-keyman-core' into chore/windows/8646/remove-force-keyboard 2023-05-16 13:35:27 +10:00
rc-swag
b8fbcdaefd
Merge pull request #8708 from keymanapp/chore/windows/8681/remove-addins
chore(windows): remove addins ⛏️
2023-05-16 09:53:02 +10:00
rc-swag
f8a351ae4d
Merge pull request #8744 from keymanapp/chore/windows/8677/remove-wm-unichar
chore(windows): remove WM_UNICHAR completely
2023-05-16 09:52:27 +10:00
Ross
0908f91719 chore(windows): restore debug message 2023-05-15 10:25:30 +10:00
Ross
65ef3d0982 chore(windows): remove QueDebugInformation method 2023-05-12 18:21:44 +10:00
Ross
1f3e8f768d chore(windows): remove RefreshPreservedKeys pt2 2023-05-11 14:57:01 +10:00
Ross
2462472b38 chore(windows): address review comments 2023-05-11 14:48:38 +10:00
Ross
9136e57157 chore(windows): remove ForceFileName RefreshPreservedKeys 2023-05-11 14:03:18 +10:00
Ross
7e83079499 chore(windows): remove WM_UNICHAR completley 2023-05-10 22:48:03 +10:00
Ross
c4abc4fadb chore(windows): remove keyman_forcekeyboard 2023-05-10 22:20:57 +10:00
Ross
806a757da2 chore(windows): remove old ld keyboard info 2023-05-08 14:48:53 +10:00
Ross
ae80062815 chore(windows): missed rename IntLoadKeyboardOptionsRegistrytoCore 2023-05-04 15:11:14 +10:00
Ross
708b6bcf68 chore(windows): rename KeyboardOptionCoretoRegistry
LoadKeyboardOptionsREGCore -> LoadKeyboardOptionsRegistrytoCore
SaveKeyboardOptionREGCore -> SaveKeyboardOptionCoretoRegistry
2023-05-04 14:16:09 +10:00
Ross
504e4bd671 chore(windows): rename MapKeyboardCore 2023-05-04 13:08:31 +10:00
Ross
ebac0bb54b chore(windows): remove save/restore keyboard options 2023-05-03 15:19:16 +10:00
Ross
2935084b45 chore(windows): do nothing on WM_UNICHAR 2023-05-03 15:09:45 +10:00
Ross
9aa6ab2ee0 chore(windows): remove addins c-h files 2023-05-03 14:48:03 +10:00
Ross
bc40860b09 chore(windows): remove EthnologueCodeToKeymanID 2023-05-03 14:13:17 +10:00
Ross
3de6d819c0 chore(windows): remove dulicate function definition calldll 2023-04-27 16:15:09 +10:00
Ross
0ee25dc59f chore(windows): Revert "chore(windows): remove addins c-h files"
This reverts commit 5f07f7ad08.
2023-04-27 14:15:06 +10:00
Ross
ec01969adc chore(windows): fix issue number in comments 2023-04-26 23:00:21 +10:00
Ross
5f07f7ad08 chore(windows): remove addins c-h files 2023-04-21 19:02:03 +10:00
Ross
4019a79676 chore(windows): address review comments 2023-04-21 18:43:50 +10:00
Ross
616dcc8420 chore(windows): revert whitespace changes for review 2023-04-20 21:27:59 +10:00
Ross
1b46bc1d01 chore(windows): remove keyboardoptions deadcode 2023-04-20 16:55:54 +10:00
Marc Durdin
39d473fb2d refactor(developer): move comperr.h to kmn_compiler_errors.h
Consolidates the two copies of comperr.h (they were identical) and
moves to a common folder. Updates all references to comperr.h, except
for one github commit ref.
2023-04-20 13:20:29 +07:00
Ross
ec8539543b chore(windows): remove dead code 2023-04-19 14:27:03 +10:00
Ross
8f20507a82 chore(windows): remove legacy core and flag
Removing the legacy code that was replaced by the core.
Also removing the feature flag for core integeration.
2023-04-14 13:59:49 +10:00
Ross
c1c204e0da docs(windows): link to wiki architecture faq page 2023-04-12 11:23:08 +10:00
Marc Durdin
92a3000c8d chore(windows): fix comments in Makefile
Shockingly bad choice for nmake Makefiles to not allow whitespace before
comment # marker.
2023-03-20 07:30:55 +07:00
Marc Durdin
1a3cc078b5 chore(windows): sentry cleanup and signing
Addresses review comments.

Use SENTRY_SDK_VERSION where possible, and codesign sentry components
during build.
2023-03-19 07:35:06 +07:00
Marc Durdin
a127e32068 chore(windows): update sentry-native to 0.6.0
Fixes #8081.
2023-03-17 14:32:34 +07:00
Marc Durdin
20cc47714e chore(core): specify --no-tests in all dependent builds 2023-02-21 12:22:00 +07:00
Steven R. Loomis
ae45295dc6 Merge remote-tracking branch 'upstream/master' into chore/merge-master-a17s5-REDO-epic-ldml 2023-02-03 16:53:35 -06:00
Marc Durdin
ad752f3ef7 feat(windows): add additional registry keys to report
HKCU\Software\Microsoft\CTF
HKCU\Control Panel\International\User Profile
2023-01-31 11:13:27 +07:00
Steven R. Loomis
015e7185a6 chore: merge master into feature-ldml 2023-01-02 13:44:21 -06:00
rc-swag
6669d232a6
fix(windows): extra bracket after removing nested if
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-12-21 16:07:17 +10:00
Ross
2c02d34746 fix(windows): modifer event is always serialized
PR #7449 added modifier event to make ensure modifer events
where sent to the serializer even if the key stroke was determined
the key stroke did not need seralizing. However, a logic error was made
trying to use the exiting 'Flag' however this was not set in the
!UseCachedHotkeyModifierState case. This change adds helper function
to simply check if the key is a modifier key and send it to the
event seralizer in that case. Separating from the other logic which
is more concerned with handling hotkeys.
2022-12-21 14:09:35 +10:00
Steven R. Loomis
bc14f18460 Merge remote-tracking branch 'origin/master' into chore/core/mergemaster4-epic-ldml 2022-12-15 17:55:13 -06:00
Marc Durdin
fb245bfbeb fix(windows): lower case filenames for projects
Fixes #7828.

Moves all projects to lower case filenames so that we don't end up with
filename conflicts in symbol servers.
2022-11-28 19:29:48 +07:00
Marc Durdin
529278c045 fix(windows): lower case filenames for projects
Fixes #7828.

Moves all projects to lower case filenames so that we don't end up with
filename conflicts in symbol servers.
2022-11-28 19:28:14 +07:00
Marc Durdin
0671c5b4ba
Merge pull request #7689 from keymanapp/chore/windows/7687-set-core-platform-explicitly
chore(windows): set platform core env explicitly
2022-11-17 06:18:32 +11:00
Ross
2fcc0feed0 chore(windows): rearrange mock_options_update add commment 2022-11-15 11:03:41 +10:00
Ross
578a9017f4 chore(windows): add unit test for SetupCoreEnvironment 2022-11-14 12:55:13 +10:00
Marc Durdin
c0e640fe73
Merge pull request #7710 from keymanapp/chore/windows/keyman-debug-symbols
chore(windows): include debug info in keyman build
2022-11-14 11:57:26 +11:00
Marc Durdin
1efe89b946
Merge pull request #7707 from keymanapp/chore/windows/report-errors-for-cust-init-better
chore(windows): Add safecall for internal CustomisationStorage API interface
2022-11-14 11:57:19 +11:00
Marc Durdin
2e58174092 chore(windows): include debug info in keyman build
Same as #7600, but for keyman.dpr.
2022-11-14 10:52:20 +11:00
Marc Durdin
ce93901a5f chore(windows): Add safecall for internal CustomisationStorage API interface
This makes it easier to track what is happening for errors where
otherwise we found that exception messages were being cropped; for
example, see KEYMAN-WINDOWS-X.

The error messages were being cropped because the exception handler was
in the exe module, but the exception was being raised in kmcomapi
module. When the exception was handled, the handler tested to see if
the exception object inherited from exemodule.Exception, but it was
inheriting from kmcomapi.Exception instead, and so it did not attempt
to load the message detail.

By adding `safecall` calling convention to `KeymanCustomisation`, we
move responsibility for handling the exception to the
`TKeymanAutoObject.SafeCallException` function, and we get full detail
for the exception.
2022-11-14 09:40:14 +11:00