Commit graph

1079 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
a8a0c9e1dc fix(developer): remove kmcomapi references 2022-01-27 08:16:57 +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
Marc Durdin
af6f01f25d fix(developer): prevent crash on build dblclicked file
Fixes #6149.
2022-01-24 16:35:49 +11:00
Marc Durdin
f1f4d7bd80 fix(developer): compile package fileVersion from keyboard FileVersion
Relates to #5992 (part 1 of 2 - part 2 updates the kmn min version in
the compiler).

Updates package fileVersion property to be minimum keyboard version, to
avoid issues with app crashing if functionality is not supported.

As far as I can tell, only Keyman for Windows currently checks the
package fileVersion.

This could be quite nasty, except that the online keyboard repository
build process also extracts the min Keyman version from the keyboard
.kmx and .js, and records it in the .keyboard_info, preventing older
versions of Keyman from seeing unsupported keyboards in the cloud
repository.

Thus, the only gap is for peer distributed keyboards. So we should fix
this gap but it is less urgent than it might otherwise be.
2022-01-24 10:35:32 +11:00
Marc Durdin
4343834e42 chore(developer): remove mergeref for keymanengine 2022-01-24 08:50:48 +11:00
Marc Durdin
59c64c9ad0 fix(developer): remove keymanengine.msm
As of Keyman Developer 15, we no longer need to install
keymanengine.msm, so it should be able to co-exist with any version of
Keyman for Windows. Remove the .msm to make this so!
2022-01-24 07:32:47 +11:00
Marc Durdin
82a8bd3242 fix(developer): handle Core failure to load
If Core fails to load when starting the debugger, avoid a crash and
report details of the error back to the user.
2022-01-24 07:17:52 +11:00
Marc Durdin
59c1216a85 chore(developer): ensure tests run when building Server 2022-01-24 07:17:01 +11:00
Marc Durdin
9c5b126956 chore(developer): Merge branch 'master' into feat/developer/node-based-debugger-server 2022-01-21 14:45:30 +11:00
Marc Durdin
4dd5904bca fix(developer): refresh web host on compile 2022-01-19 11:00:44 +11:00
Marc Durdin
a3d5a4f9be
Merge pull request #5988 from keymanapp/feat/developer/3620-developer-ide-support
feat(developer): support for Caps Lock layer 🕊
2022-01-17 12:13:53 +11:00
Marc Durdin
0c0bb420b5
Merge pull request #5963 from keymanapp/feat/web/3621-newcontext-group
feat(web): Start of Sentence support - part 1 🕊
2022-01-17 12:04:29 +11:00
rc-swag
4f24d97b85
Merge pull request #6057 from keymanapp/fix/windows/imsample-keyboard
fix(windows): add x64 build fix invalid memory access
2022-01-12 09:00:26 +10:00
Marc Durdin
7b904969cb chore(developer): update icon and fix link 2021-12-23 07:25:07 +11:00
Marc Durdin
bfcdb5ac57 feat(developer): last-use and expire old resources 2021-12-22 14:48:24 +11:00
Marc Durdin
64b4a25cc5 chore(developer): rename WebHost to Server 2021-12-22 09:15:53 +11:00
Marc Durdin
cfbcc36e27 chore: more cleanup and polish 2021-12-22 08:39:15 +11:00
Marc Durdin
2a38c69faa chore(developer): minor web server refactors and cleanup 2021-12-22 07:01:57 +11:00