Commit graph

3302 commits

Author SHA1 Message Date
Marc Durdin
68a792c0b5 fix(developer): structure sizes for kmcomp x64
I am not sure how this was ever working. This just adds the specific
structure sizes for x64 and verifies that the Delphi sizes are the
same as the reported sizes from C++.

Minor tweak to printf format args for kcframe to assist in this, sorting
a compiler warning.
2022-03-22 13:38:32 +11:00
Marc Durdin
0764305211 fix(developer): detect changes in dropdowns in builder
Fixes #6386.

The touch layout editor would not reliably detect changes if using the
mouse to select an item in a dropdown 'autocomplete'.
2022-03-21 17:06:38 +11:00
Ross
79fa9f8a86 fix(windows): create header for keyman guids 2022-03-21 14:58:43 +10:00
Ross
dbc950741a fix(windows): change variable name add comments 2022-03-18 14:41:26 +10:00
Marc Durdin
a3d9a9e4c1 chore(windows): move crash metadata to extra
Fixes #6396.
2022-03-18 11:33:41 +11:00
Ross
6d248d4e55 chore(windows): Merge branch 'beta' into fix/windows/5996/no-keystrokes-emoji-input 2022-03-18 09:13:15 +10:00
Ross
d58a8c97d8 fix(windows): add threat check 2022-03-18 08:25:45 +10:00
Ross
be333860f0 fix(windows): framework for switching of pipeline
We want to be able to switch of the seralized pipeline if a keyman
keyboard is not active. To do this we need to store this information
in a way the seralized thread can get the information.
2022-03-17 13:02:50 +10:00
Marc Durdin
7a5d1b964f chore(web): Merge branch 'beta' into feat/web/6364-new-layer-old-layer-replaces-layerchanged 2022-03-17 04:55:25 +11:00
Marc Durdin
2e9e90dd77 chore: license date 2022-03-15 13:59:27 +11:00
Marc Durdin
81ec8b86e2
Merge pull request #6347 from keymanapp/fix/developer/warn-on-ncaps-consistency
fix(developer): warn on ncaps usage inconsistency
2022-03-15 10:02:35 +11:00
Marc Durdin
b23df3fbc8 feat(web): &newLayer and &oldLayer
Fixes #6364.

Removes `&layerChanged` and adds `&newLayer` and `&oldLayer` system
stores with the additional nuances around values as described in #6364.
2022-03-13 08:29:15 +11:00
rc-swag
514e585f88
Merge pull request #6187 from keymanapp/fix/windows/imsample-null-pointer-checks
fix(windows): add null pointer checks imsample keyboard
2022-03-10 19:15:38 +10:00
Marc Durdin
62b7d67d1e fix(developer): warn on ncaps usage inconsistency
If a developer has two rules where one includes CAPS and the other
does not include NCAPS, the CAPS rule may not be correctly matched. This
change warns them when this is the case.
2022-03-09 14:13:29 +11:00
Marc Durdin
785c45eb40
Merge pull request #6325 from keymanapp/fix/developer/project-should-not-steal-focus-on-load
fix(developer): project should not steal focus on load ✂
2022-03-08 20:29:51 +11:00
Ross
2dfdecaf44 fix(windows): create registry keys for IM window
This commit adds a function that sets the IM window registry keys
needed for the IMSample keyboard.

It also adds a null pointer check on the lpActiveKeyboard in the imx
callback module.
2022-03-08 18:09:13 +10:00
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