Commit graph

712 commits

Author SHA1 Message Date
Marc Durdin
3d5506ef3e chore(windows): move reportExceptions check in exception handler to caller 2023-12-11 20:44:53 +07:00
Marc Durdin
3a91c7d197 chore(developer): move IDEOptions key responsibility into KeymanDeveloperOptions
First part of addressing #10161 is to refactor the existing usage of the
registry values into the common KeymanDeveloperOptions unit. This was
mostly straightforward except for the changes to KeymanSentryClient,
which happens to be the most important part of this particular fix.
2023-12-11 13:48:43 +07:00
rc-swag
21c012208b
Merge pull request #10176 from keymanapp/fix/windows/keyman64-dll-debug-build
fix(windows): debug includes libcmtd vs libcmt.dll
2023-12-08 09:40:48 +10:00
rc-swag
42a089a84d fix(windows): debug includes libcmtd vs libcmt.dll 2023-12-07 15:20:05 +10:00
rc-swag
63e4371513 chore(windows): fix argument passed into to km_core_state_context_set_if_needed 2023-11-30 12:51:52 +10:00
rc-swag
23da871f18 chore(windows): remove res from PR change resetcontext 2023-11-24 07:52:16 +10:00
rc-swag
08b3764496
chore(windows): review comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-11-24 07:48:23 +10:00
rc-swag
2dbad870ca chore(windows): add comments ReadContext 2023-11-23 22:01:26 +10:00
rc-swag
4480a05412 chore(windows): removed cached context windows engine
Removed the cached context from the windows engine
2023-11-23 16:58:41 +10:00
Marc Durdin
5224affd38 chore(windows): remove unused globals relating to old keyboard debugging
Fixes #10056.

Removes:
* Globals::miniContext
* Globals::miniContextIfLen
* Globals::indexStack
* Globals::msgbuf
* GLOBAL_ContextStackSize
* GLOBAL_MsgStackSize
* GLOBAL_MaxKeyboards
* INI struct (and commented-out usage of this)
2023-11-23 11:30:57 +10:00
Marc Durdin
df2b258c89 chore(windows): remove legacy LoadKeyboard
Fixes #10053.

Removes `LoadKeyboard` and related functions used only by it.
2023-11-23 11:22:32 +10:00
Marc Durdin
ee1f972b13 chore(windows): remove wm_keymandebug messages and functions
Fixes #10050.

Removes the following unused identifiers:
* ::wm_kmdebug
* ::wm_keymandebug
* AppInt::DebugControlled()
* AITIP::WM_KEYMANDEBUG_CANDEBUG
* AITIP::WM_KEYMANDEBUG_GETUNICODESTATUS
* AITIP::WM_KEYMANDEBUG_GETCONTEXT
* AITIP::WM_KEYMANDEBUG_ACTION
* AITIP::WM_KEYMANDEBUG_RULEMATCH
* AITIP::DebugControlled()
* AITIP::IsDebugControlWindow()
* AITIP::GetDebugControlWindow()
* AITIP::Debug_FillContextBuffer()
* AIDEBUGINFO struct
* ::FillStoreOffsets()
* AIDEBUGKEYINFO struct

Removes overloads which are now no-ops:
* AITIP::HandleWindow()
* AITIP::IsWindowHandled()
* AITIP::QueueAction()
2023-11-23 10:49:58 +10:00
Marc Durdin
82177013e9 chore(core): Merge branch 'master' into feat/core/9720-actions-apis 2023-10-24 20:55:10 +07:00
Marc Durdin
0aa86501c6 chore(core): fix types and compile errors
Fixes #9832. Addresses a couple of other cross-platform compile issues.
2023-10-24 09:25:08 +07:00
Eberhard Beilharz
52bb859817
chore(linux): Rename (lib)kmnkbp to (lib)keymancore 2023-10-19 10:35:09 +02:00
Eberhard Beilharz
2f073f7778
chore(linux): Rename KMN_CORE to KM_CORE_LIBRARY 2023-10-19 08:51:29 +02:00
Eberhard Beilharz
b5c6f31b05
chore(linux): Rename KBP to CORE 2023-10-18 15:48:21 +02:00
Eberhard Beilharz
965b8e5ecc
chore(linux): Rename kbp_state_get_intermediate_context to km_core_...
A previous rename missed this.
2023-10-16 19:39:18 +02:00
Marc Durdin
db76e2541d chore: rename KM_KBP_ to KM_CORE_ 2023-10-09 14:53:22 +07:00
Marc Durdin
ba5f18defd chore: rename km_kbp_ to km_core_ 2023-10-09 14:53:13 +07:00
Marc Durdin
906a0a2ed7 chore: fix typo 2023-10-09 14:41:01 +07:00
Marc Durdin
4ef18f5e29 chore(core): rename keyboardprocessor.h to keyman_core_api.h
Fixes #9721.

Also tweaks some documentation references to keyboardprocessor, but does
not touch those relating to debian/control.
2023-10-09 14:21:01 +07:00
Steven R. Loomis
7f05335fc3 chore(window): fix windows build for ICU 🙀
- for regex (and eventually normalization)

#9121
2023-08-15 15:11:38 -05:00
rc-swag
7e8e7be86f
Merge pull request #9353 from keymanapp/feat/windows/5822/notify-core-on-kbd-activation
feat(windows): Use Keyboard Activated event API call to turn off caps lock (if required) 🚏
2023-08-09 14:12:00 +10:00
rc-swag
3bcd919922
feat(windows): review suggestions
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-08-07 12:08:09 +10:00
Ross
792899c124 feat(windows): add ProcessActionsExternalEvent 2023-08-03 12:12:57 +10:00
Ross
9076bd1783 feat(windows): WIP add external event kmx_processor 2023-07-25 11:11:39 +10:00
Marc Durdin
d914b6918d chore: Merge branch 'feature-kmc-kmw' into chore/merge-master-into-feature-kmc-kmw-a17s16-start 2023-06-26 14:33:20 +07:00
Steven R. Loomis
f8233bb2a7 chore(windows): update coment on CopyKeyboard 🙀
- CopyFile not CopyFileW
- clarify CopyFIle third argument, that we want overwrite semantics

#9064
2023-06-23 10:30:39 -05:00
Marc Durdin
d6721f68ba chore: Merge branch 'feature-kmc-kmw' into chore/merge-master-into-feature-kmc-kmw 2023-06-23 15:44:06 +07:00
Steven R. Loomis
da244a9323 fix(windows): Don't break KMXPlus on install
mcompile:
- copy keyboards if KMXPlus is detected
- give an error if -u is used on a KMXPlus file
2023-06-22 16:04:34 -05:00
rc-swag
c8cc8a1fef
Merge pull request #9063 from keymanapp/docs/windows/update-testhosts-readme
docs(windows): add more steps for clarity
2023-06-22 11:37:23 +10:00
Steven R. Loomis
28befb82ad
Update windows/src/engine/testhost/testhost.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-06-21 19:19:17 -05:00
Ross
f955dd3533 docs(windows): add more steps for clarity 2023-06-22 10:09:51 +10:00
Steven R. Loomis
149f06f2f4 fix(windows): testhost improve error message
if dwError is 0, don't try to format it
avoid "Error starting Keyman: The operation completed successfully.  [0]"
2023-06-21 09:51:28 -05:00
Marc Durdin
3f507f974a chore(developer): remove font style/color from kvk
While .kvk includes a font color field, it is essentially unused. There
was also some sort of support provided for font style in the KeymanWeb
keyboard compiler, but this was never streamed into .kvk or .kvks files,
so was always a no-op.

Thus, this PR removes any semblance of support for font style and color
from the .kvk and .kvks readers and writers. When we write the font
color field which is present in .kvk, we always use the default
TColor.clWindowText which is what the legacy Delphi-based writer would
always have written.

Also sorted out the default font size and name in the .kvk transform
from .kvks, and in so doing cleaned up the basic.kvk and basic.js in
LDML keyboard compiler to match what we are doing in the .kmn compiler.
2023-06-21 10:53:45 +07:00
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