Commit graph

2608 commits

Author SHA1 Message Date
Marc Durdin
825083e601 fix(developer): Add Wordlist button now copies into source folder
Fixes #2185.

If a wordlist file is not in the same folder as the .model.ts file,
Keyman Developer will now ask the user if they want it copied into the
folder.

Also minor fix: if the user deletes a row in a wordlist, it marks the
file as modified.

Also very minor: the initial folder for the Add Wordlist dialog is now
the same as the .model.ts file.
2022-03-30 10:04:55 +11:00
Marc Durdin
7ff1ab8419
Merge pull request #6435 from keymanapp/feat/developer/4854-character-map-builder-integration
feat(developer): improve Touch Layout Editor and Character Map integration
2022-03-30 05:22:17 +11:00
Marc Durdin
175efea0b4 feat(developer): cleanup of unicode support 2022-03-29 14:55:21 +11:00
Marc Durdin
c0248bec1b
Merge pull request #6432 from keymanapp/fix/web/shifted-key-cap
fix(web): *Shifted* showed unshifted key cap
2022-03-29 12:36:12 +11:00
Marc Durdin
33fda3e59f feat(developer): improve Touch Layout Editor and Character Map integration
Fixes #4854.

Adds some intelligence to the drag + drop integration with the Touch
Layout Editor, so that we always drop a character onto a key cap, we
always drop a code onto a ID field, and can drop both character + code
together (if the key id is T_new_..., or holding Ctrl key).

Hovering over any key for 0.25 sec while dragging will select that key.
You can then continue dragging down to the subkey array and drop onto
any of those keys. Note that you do not need to hover for 0.25 sec
before you drop onto a key -- the drop operation will select the key
under the cursor when dropping.

Double-clicking will update the selected key or subkey; Ctrl will do
both the key cap and the ID.
2022-03-28 11:47:55 +11:00
Marc Durdin
46807d7af2 fix(web): *Shifted* showed unshifted key cap
While this was done in code as a global override, probably following
Apple stylistic changes, it is better to leave this to the keyboard
developer to decide on.
2022-03-28 09:02:22 +11:00
Marc Durdin
b87197a3f6
Merge pull request #6424 from keymanapp/fix/windows/6098-ui-language-scroll
fix(windows): make long menus scroll in Configuration
2022-03-28 04:44:19 +11:00
Ross
31138ecdbc fix(windows): put correct HK_ALT flag for modifier 2022-03-24 16:20:12 +10:00
Marc Durdin
bfc973ec4e fix(windows): make long menus scroll in Configuration
Fixes #6098.

If the list of languages is too long to fit, the menu now dynamically
adds a scroll bar.

As a bonus:
* The language names are sorted (non-Latin scripts at bottom for now)
* `nmake install` works again (in kmshell, presence of `install` folder
  was confusing it)
2022-03-24 15:17:57 +11:00
Marc Durdin
d714ccc2d1
Merge pull request #6408 from keymanapp/fix/developer/kmcomp-x64-struct-sizes
fix(developer): structure sizes for kmcomp x64
2022-03-24 09:45:22 +11:00
Marc Durdin
5c388d1d7e
Merge pull request #6366 from keymanapp/feat/web/6364-new-layer-old-layer-replaces-layerchanged
feat(web): `&newLayer` and `&oldLayer`
2022-03-23 16:53:34 +11:00
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
Marc Durdin
a3d9a9e4c1 chore(windows): move crash metadata to extra
Fixes #6396.
2022-03-18 11:33:41 +11: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