Commit graph

3486 commits

Author SHA1 Message Date
rc-swag
50f8c7bf3f fix(windows): address review comments imsample kbd
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-03-08 13:53:30 +10:00
Ross
ed54dbead3 fix(windows): null pointer checks 2022-03-08 13:53:29 +10:00
Marc Durdin
9b46242d32
Merge pull request #6324 from keymanapp/fix/developer/prevent-execution-point-breaking-editor-location
fix(developer): prevent execution point breaking editor location ✂
2022-03-07 08:13:34 +11:00
Marc Durdin
3e48acddb3 chore(developer): Keyman Developer Server terminology
Fixes #6326.

Tweaks wording and layout of screens relating to Keyman Developer Server
for consistency.
2022-03-03 10:21:54 +11:00
Marc Durdin
602fafb96b fix(developer): project should not steal focus on load 2022-03-03 06:51:56 +11:00
Marc Durdin
fc889efadc fix(developer): prevent execution point breaking editor location 2022-03-03 06:49:52 +11:00
Marc Durdin
861e02002b
Merge pull request #6315 from keymanapp/feat/developer/3174-word-count-commas
feat(developer): support commas in frequency in wordlists ✂
2022-03-02 13:19:20 +11:00
Marc Durdin
1de021793f
Merge pull request #6311 from keymanapp/fix/developer/6029-font-for-package-model-editors
fix(developer): font for Package and Model Editors ✂
2022-03-02 12:48:54 +11:00
Marc Durdin
0876f728a8
Merge pull request #6314 from keymanapp/fix/developer/845-3224-tab-visibility-in-developer
fix(developer): Improve active tab visibility ✂
2022-03-02 12:34:52 +11:00
Marc Durdin
42abbd5ce3
Merge pull request #6295 from keymanapp/fix/developer/6077-handle-paste-change-event-touch-layout-editor
fix(developer): handle paste event in touch layout editor
2022-03-02 12:33:30 +11:00
Marc Durdin
a821f65e47
Merge pull request #6313 from keymanapp/chore/developer/4168-remove-package-for-distribution-button
chore(developer): remove Package for Distribution action ✂
2022-03-02 11:39:46 +11:00
Marc Durdin
6f1468195b
Merge pull request #6312 from keymanapp/feat/developer/5415-kmcomp-h-help
feat(developer): kmcomp -h and -help ✂
2022-03-02 11:32:31 +11:00
Marc Durdin
1609a4de92
Merge pull request #6309 from keymanapp/fix/developer/6144-code-to-id
fix(developer): rename Code to ID in Touch Layout Editor ✂
2022-03-02 11:25:27 +11:00
Marc Durdin
e2bd4cdca4
Merge pull request #6304 from keymanapp/fix/developer/6303-move-ngrok
fix(developer): move ngrok to Server/bin/
2022-03-02 09:00:19 +11:00
Marc Durdin
0cae56d465 feat(developer): support commas in frequency in wordlists
Fixes #3174.

Google Sheets can export TSV files with formatted numbers, including
having commas as thousands separators. Let's ignore those commas.
2022-03-02 08:40:40 +11:00
Marc Durdin
e078440c18 fix(developer): Improve active tab visibility
Fixes #845.
Fixes #3224.

Makes the active tab more visible both in the horizontal file tabs, and
in the vertical activity tabs by changing the background colour to
Keyman Light Blue (css: `#79C3DA`).
2022-03-02 08:36:16 +11:00
Marc Durdin
ec5084c5e3 chore(developer): remove Package for Distribution action
Fixes #4168.

This button no longer makes sense when we have template projects, as it
encourages keyboard developers to create multiple packages. The template
project should already have a package.

It is also not hard to create a package if you don't already have one;
this does not reduce the complexity significantly, apart from the mini
feature of adding both the .js and the .kmx in a single step (the .kvk
is added also by virtue of the .kmx being added, but that is done in
any case if you manually add a .kmx to a package).
2022-03-02 08:31:02 +11:00
Marc Durdin
0f453d7e96 feat(developer): kmcomp -h and -help
Fixes #5415.

This adds `-h` and `-help` command line parameters to kmcomp. As kmcomp
uses only single-hyphen parameters currently, I opted not to support the
common `--help`, just for consistency.
2022-03-02 08:26:34 +11:00
Marc Durdin
160859c2ed fix(developer): font for Package and Model Editors
Fixes #6029.

Allows the user to specify the character and/or code font (where
applicable) for the Package and Model Editors.
2022-03-02 08:18:03 +11:00
Marc Durdin
16592da996 fix(developer): rename Code to ID in Touch Layout Editor 2022-03-02 06:34:57 +11:00
Marc Durdin
482b6122a1 fix(developer): move ngrok to Server/bin/
Fixes #6303.

Moves ngrok.exe to %appdata%/Keyman/Keyman Developer/Server/bin/
2022-02-28 20:48:36 +11:00
Ross
bf44bc8ff6 chore(windows): Remove core icon from system tray 2022-02-28 16:38:18 +10:00
Marc Durdin
94af38675f fix(developer): use oninput instead of onpaste
oninput covers more cases than onpaste and keyup, and doesn't
lead to marking fields dirty when e.g. Shift is pressed.
2022-02-28 10:51:10 +11:00
Marc Durdin
978b0ab9a1 fix(developer): handle paste event in touch layout editor
Fixes #6077.

Refactor all the text field event handlers to have consistent structure
for edits, pastes and keyboard events. This fixes Ctrl+V paste as well
as tidying up the relevant code.
2022-02-28 10:16:50 +11:00
Steven R. Loomis
3658efa5f1 chore(common): remove rust (for now!) 🦀
Fixes #6290
2022-02-24 17:34:23 -06:00
rc-swag
9eadbd6425
Merge pull request #6211 from keymanapp/fix/core/6204/capslock-key-state-ignored
fix(common/core/desktop): Add num and scroll lock mask to VKeyToChar
2022-02-24 17:46:57 +10:00
Darcy Wong
3237a4c6ae chore(common): Update French strings 2022-02-18 10:06:33 +07:00
Marc Durdin
ee14b17b12
Merge pull request #6145 from keymanapp/fix/developer/5992-package-fileversion-from-keyboard-fileversion
fix(developer): compile package fileVersion from keyboard FileVersion
2022-02-13 10:48:25 +11:00
Marc Durdin
eb21375553
Merge pull request #6230 from keymanapp/fix/developer/support-km_kbp_it_capslock
fix(developer): support KM_KBP_IT_CAPSLOCK
2022-02-12 23:18:24 +11:00
Marc Durdin
5f81a5625f
Merge pull request #6225 from keymanapp/fix/windows/cherry-pick/6221-system-profile-wow64-patch
fix(windows): create Keyman/Diag folder in redirected profile 🍒
2022-02-12 23:17:43 +11:00
Ross
08d676c3f0 fix: add caps to process event bit mask 2022-02-11 17:13:16 +10:00
Ross
d5e228d6cc fix(windows): update comment remove casts 2022-02-10 11:48:06 +10:00
Marc Durdin
74295681e6 fix(developer): support KM_KBP_IT_CAPSLOCK
Keyman Developer Debugger would crash due to receiving an unknown action
type. This turned out to be the new KM_KBP_IT_CAPSLOCK.

Crash report: https://sentry.io/share/issue/50c09af4a0ab424784d9d2189b492bd5/
2022-02-10 10:44:50 +11:00
Marc Durdin
a71e2f8a4a chore(windows): add comment 2022-02-09 15:03:41 +11:00
Marc Durdin
60390ed08b fix(windows): create Keyman/Diag folder in redirected profile
Fixes #6221.

If Keyman is being installed under the SYSTEM profile, e.g. when using
tools such as SCCM or Intune, then the installer runs with a redirected
folder for %LocalAppData%, under C:\Windows\SysWow64\config, but is
given the name C:\Windows\System32\config\....

Keyman Setup then creates %LocalAppData%\Keyman\Diag, which it thinks is
in C:\Windows\System32\config\... But in reality it is in SysWow64\...
Keyman Setup passes a file under this folder to Windows Installer,
running as 64 bit, which immediately falls over because the path does
not exist to it, in the real System32\config folder.

This patch disables redirection temporarily just to create the folder
under both 32 and 64 bit versions of the profile. It has no effect on
normal user accounts (apart from verifying that the folder is present
twice rather than once).
2022-02-09 15:03:38 +11:00
Ross
09d572b8fd fix(windows): remove extra blank line 2022-02-08 14:48:41 +10:00
Ross
c3a30d184c fix(windows): add flag to track core process event
For the TSF applications in most cases there is no test parse
with updatable=false. In these cases we need to call the
core process event function and process the actions in the
one call. A bool flag has been added to track if the core process
event has been called for the current keystroke
2022-02-08 12:19:28 +10:00
Marc Durdin
389f89d233
Merge branch 'master' into fix/developer/remove-engine-msm 2022-01-31 06:43:02 +11:00
Marc Durdin
cfe778e940 fix(developer): uninstall actions would never run
The uninstall actions never ran because the working directory given was
invalid. Also fixed: the success/failure message is presented by the
caller rather than down in the depths of the call.
2022-01-31 06:40:49 +11:00
Marc Durdin
b428a8ab97 chore(developer): Merge branch 'master' into feat/developer/node-based-debugger-server 2022-01-28 16:07:19 +11:00
Marc Durdin
64fbded896 chore: address review comments 2022-01-28 15:48:10 +11:00
Marc Durdin
180fa94141
Merge pull request #6164 from keymanapp/chore/windows/testhost-readme
chore(windows): testhost readme
2022-01-27 11:00:34 +11:00
rc-swag
229ba429c2
Merge pull request #5936 from keymanapp/feat/windows/imx-support-common-core
feat(windows): Keyman Core Integration - Support for IMX DLLs 🥑
2022-01-27 09:38:33 +10:00
Marc Durdin
a1c6ee1fe8 chore(developer): fix issues in package versioning
The package version should always be 7.0 for keyboard versions up to and
including 14.0, because Keyman for Window 14 and earlier only accepted
packages with version number 7.0.

Also, we never stream MinKeymanVersion for each keyboard because that
should be calculated at compile time to ensure that we get correct
version which may otherwise be out of date.
2022-01-27 08:58:26 +11:00
Marc Durdin
a8a0c9e1dc fix(developer): remove kmcomapi references 2022-01-27 08:16:57 +11:00
Marc Durdin
e79b6eb8be chore(windows): testhost readme 2022-01-27 08:01:22 +11:00
Marc Durdin
7a7a33216e
Merge pull request #6141 from keymanapp/fix/developer/handle-core-failure-to-load
fix(developer): handle Core failure to load
2022-01-27 06:40:59 +11:00
Ross
78b8ffcdc2 chore(windows): Merge branch 'master' into feat/windows/imx-support-common-core 2022-01-25 16:02:43 +10:00
Marc Durdin
dad601f523
Merge pull request #6151 from keymanapp/fix/developer/6149/prevent-crash-on-dblclicked-file-build
fix(developer): prevent crash on build dblclicked file
2022-01-25 17:02:34 +11:00
Marc Durdin
57b3bd70d1 feat(windows): handle key output in testhost
In order to avoid the test host interfering too badly with the debugger,
we will bypass SendInput and instead post all input to the local edit
window. This can result in out-of-sequence input for rapid typing, but
for a test host this is not important -- it's better that the input
doesn't end up in the debugger window due to focus changes!
2022-01-25 16:50:36 +11:00