Commit graph

3302 commits

Author SHA1 Message Date
Ross
3b3ea6e75b feat(windows): clean up formating 2021-08-17 17:16:56 +10:00
Ross
4bf4106a37 chore(windows): Merge branch 'master' into feat/windows/keyman-core-integration-2 2021-08-17 16:23:38 +10:00
Ross
0f4e3d1768 feat(windows): core saving context null pointer check 2021-08-17 14:10:44 +10:00
Marc Durdin
d90f382499 fix(windows): handle restoring modal dialogs consistently
Fixes #5574.

When a user presses Win+M, Win+D, or clicks the desktop button on the
taskbar, all windows get minimized, even those that do not have the
WS_MINIMIZE flag. Delphi modal dialog forms are not expecting this, and
do not restore correctly later.

This scenario arises only when a form is created with a `nil` owner and
then `form.ShowModal` is called.

The fix was already implemented on Splash and HTML forms, but
differently; I have chosen to use the implementation from the Splash
form as it is simpler and seems to work correctly.
2021-08-17 06:31:31 +10:00
Ross
ae9ba52ab9 fix(windows): meson build for static lib 2021-08-10 17:43:55 +10:00
Marc Durdin
93cc5d45f2
Merge pull request #5513 from keymanapp/feat/developer/5013-keyman-core-debugger-part-1
feat(developer): debugger uses Keyman Core 🐞
2021-08-06 13:43:22 +10:00
Marc Durdin
3faa32b9cd chore(developer): address review comments 2021-08-06 12:49:21 +10:00
Marc Durdin
25f5315970
Merge pull request #5556 from keymanapp/fix/windows/tsysinfo-format-grid
fix(windows): tsysinfo format grid correctly
2021-08-06 07:52:07 +10:00
SabineSIL
b99e98e123
fix(Windows) bug 4833
keyboard installation prompt wordwrap
2021-08-05 21:03:10 +02:00
Marc Durdin
f223fe7780 fix(windows): Welcome should always show in front
Fixes #4549.

The Package Welcome dialog would not always show in front because its
owner could be `nil` in some circumstances.
2021-08-05 17:10:34 +10:00
Marc Durdin
1570d914ca chore(windows): rewrite LoadParamsFromFile 2021-08-05 16:46:09 +10:00
Marc Durdin
ab263a743f chore(windows): sentrytool param file support
The maximum command line length in Windows is 2047 characters. In Delphi
it appears to be 1024 characters. In debugging, I hit that 1024
character limit which was pretty annoying.

So this patch allows us to use an `@file` parameter to put command line
parameters into a text file and read from that instead. It's probably a
little hacked together and could be turned into a class that we could
usefully reuse in all our other command line apps.

I looked around for a generic Delphi solution but did not find an
existing one that was any good.

Low priority, not required for beta, but putting it up because I've done
the work already.
2021-08-05 16:24:30 +10:00
Marc Durdin
39dbd09245 fix(windows): tsysinfo format grid correctly
Minor fix to make the module list format correctly with
chromium browser instead of mshtml, plus a tweak to build
copy xsl files as well to bin
2021-08-05 16:20:20 +10:00
Darcy Wong
4fc408fa90
Merge pull request #5486 from keymanapp/chore/crowdin-update-az
chore(ios,windows): Update crowdin strings for Azerbaijani
2021-08-05 07:51:55 +07:00
Marc Durdin
dbf47eeee3 chore(developer): fix debugkeyboard reference 2021-08-04 13:47:28 +10:00
Marc Durdin
142d0807a3 refactor(developer): move FDeadkeys back into frmDebug 2021-08-04 13:09:32 +10:00
Marc Durdin
4ed4aeebf6 refactor(developer): keyman core library path 2021-08-04 12:46:07 +10:00
Ross
a901f349b0 feat(windows): fix vs project settings 2021-08-04 10:32:05 +10:00
Marc Durdin
63f8137005 refactor(developer): rename and move debugging.pas
Removes a lot of unused functions and one unit. Cleanup for debugging.
2021-08-04 09:44:56 +10:00
Ross
c0826e9930 feat(windows): use static library for keyboard core 2021-08-04 09:36:42 +10:00
Marc Durdin
90c8252370 refactor(developer): visual keyboard import
Refactors visual keyboard import from kmx to use Keyman Core, and at the
same time removes any UI interactions or direct Windows dependencies
from the process.
2021-08-04 07:44:18 +10:00
Marc Durdin
c5eb0a4d3f feat(developer): refactoring debugging code 2021-08-03 17:06:31 +10:00
Marc Durdin
bdea4279f1 refactor(developer): debugger/core integration 2021-08-03 06:22:34 +10:00
Ross
40b96f2a82 feat(windows): update kmprocess_event call with new arg 2021-08-02 15:07:22 +10:00
Ross
22a0fd53a0 feat(windows): add km process actions to win engine 2021-08-02 13:23:55 +10:00
Ross
09611b600d feat(windows): address review comments 2021-08-02 13:23:48 +10:00
Ross
5f4902cde9 feat(windows): revert whitespace changes 2021-08-02 13:18:32 +10:00
Ross
7d5187ae64 feat(windows): add correct memory free calls for core 2021-08-02 13:17:22 +10:00
Ross
7a9ee207a8 feat(windows): update project include paths for core 2021-08-02 13:13:03 +10:00
Ross
99b4bc73b8 feat(windows): appcontext to core kb_kmn_context 2021-08-02 13:13:02 +10:00
Ross
fb2a246f53 feat(windows): update update windows engine action que from core processor 2021-08-02 13:13:00 +10:00
Ross
01d10ce3bf feat(windows): loadKeyboardOptionsREGCore using the core api 2021-08-02 13:12:54 +10:00
Ross
f0f1e966a2 feat(windows): update project include files 2021-08-02 13:12:16 +10:00
Ross
ee43514149 refactor(windows): annotate code 2021-08-02 13:10:53 +10:00
Ross Cruickshank
5d2df77e7d feat(windows): work in progress 2021-08-02 13:09:39 +10:00
Ross Cruickshank
ece7addfed feat(windows): mark out changes with 5011 feature TODOs 2021-08-02 13:02:26 +10:00
Ross Cruickshank
18a72a1dd5 feat(windows): initial skeleton for integeration 2021-08-02 13:02:04 +10:00
Marc Durdin
ed73d5667b chore: add variable docs 2021-07-30 15:27:12 +10:00
Marc Durdin
5f2caba964 fix(developer): compiler use and match behavior for Web should be same as Core
Fixes #5440.

Currently, the behavior of `use()` and `match` for KeymanWeb compiled
keyboards is not identical to the Windows (or Core) behavior. The
example keyboard in #5440 generates 'foo' instead of 'abc' on web.

This fixes that by ensuring that `match` is not called when `use()` is
found in a group rule match.
2021-07-30 14:46:13 +10:00
rc-swag
1a91dce1f3
Merge pull request #5522 from keymanapp/chore/windows/refactor-keyman64-header
chore(windows): split keyman64 header to keymanengine
2021-07-30 09:55:35 +10:00
Ross
cb7d8dce1c chore(windows): fix comment indent keymanengine_h 2021-07-30 09:14:40 +10:00
Ross
905538414f chore(windows): split keyman64 header to keymanengine 2021-07-29 21:06:07 +10:00
Marc Durdin
9eab6f2814 chore(windows): fixup cef interfaces for CEF 90 2021-07-29 16:39:53 +10:00
Marc Durdin
ec9df7e238 feat(developer): debugger uses Keyman Core
Start of the refactor of the debugger to use Keyman Core. Basic events
work but there is a lot to tidy up yet.
2021-07-29 16:29:28 +10:00
Darcy Wong
8b54317b50 chore(windows): Update Azerbaijani language string 2021-07-29 10:35:44 +07:00
Marc Durdin
5d32a61a63 chore(windows): patches for Delphi 10.4
Updates Keyman for Windows and Keyman Developer sources so that they
build under Delphi 10.4. No validation has been performed to ensure that
there are no other issues. The intent here is to get a baseline build
working.

Note also IMSample.vcxproj which has its WinSDK version updated for
VS2019.
2021-07-27 16:57:40 +10:00
Darcy Wong
2949173391 chore(windows): Add another round of Azerbaijani updates 2021-07-26 10:09:31 +07:00
Darcy Wong
c906423392 chore(windows): Update crowdin strings for Azerbaijani 2021-07-24 06:24:18 +07:00
Marc Durdin
2f9d29905e
Merge pull request #5449 from keymanapp/chore/developer/fixup-devtime-paths
chore(developer): fixup devtime paths
2021-07-19 09:16:52 +10:00
Marc Durdin
4985212027 chore(developer): fixup paths for unit tests 2021-07-09 06:17:03 +10:00