Commit graph

16681 commits

Author SHA1 Message Date
Marc Durdin
cbc63c42b2
Merge pull request #7642 from keymanapp/fix/developer/7641-prevent-compile-if-no-project
fix(developer): disable Keyboard|Compile if no project loaded
2022-11-08 14:42:19 +11:00
Marc Durdin
9ddf3ddfc5
Merge pull request #7640 from keymanapp/fix/developer/7639-prevent-exception-in-char-map-on-focus
fix(developer): prevent exception in charmap when unable to focus
2022-11-08 14:41:54 +11:00
Marc Durdin
094050ec90
Merge pull request #7635 from keymanapp/fix/developer/7634-handle-encoding-error
fix(developer): handle EEncodingError loading text file
2022-11-08 14:41:35 +11:00
Marc Durdin
460b933a31
Merge pull request #7633 from keymanapp/chore/developer/tidy-up-hints
chore(developer): tidy up compile hints
2022-11-08 14:41:27 +11:00
Marc Durdin
7755e000a8
Merge pull request #7626 from keymanapp/fix/developer/7625-update-monaco-editor-to-0.15.6
fix(developer): update monaco editor to 0.15.6
2022-11-08 14:40:58 +11:00
Marc Durdin
d41c5c5bdb
Merge pull request #7624 from keymanapp/fix/developer/7622-swap-device-type-stability-in-debugger
fix(developer): set keyman.osk immediately after switching device type
2022-11-08 14:40:15 +11:00
Darcy Wong
0c27935add
Merge pull request #7620 from keymanapp/fix/android/recover-failed-kmp-install
fix(android/engine): Check temporary kmp file is valid
2022-11-08 09:43:00 +07:00
Marc Durdin
7539c41b27 fix(developer): disable Keyboard|Compile if no project loaded
Fixes #7641.

If you close the active project and have the Welcome window visible, it
was possible for the Compile action to still be enabled, even though
there was nothing to compile.
2022-11-07 09:01:37 +11:00
Marc Durdin
b8f5ebd40a fix(developer): prevent exception in charmap when unable to focus
It appears that components within a docking form are unable to be
focused in some, rare contexts. We don't want to crash, and the end
result of not focusing  is not really all that tragic, so let's just
mask the exception.
2022-11-07 08:49:11 +11:00
Marc Durdin
8286e8a85c fix(developer): handle EEncodingError loading text file
Fixes #7634.
2022-11-06 05:43:52 +11:00
Marc Durdin
c3b2df80bf chore(developer): tidy up compile hints 2022-11-06 04:59:50 +11:00
Marc Durdin
9813399d71 fix(developer): update monaco editor to 0.15.6
Updates Monaco editor from 0.14.3 to 0.15.6, incorporating
microsoft/vscode#57617 to fix #7625.

The changes to editor.js are required because `editor.model` was not a
public property and we should have been using `editor.getModel()` all
along.

I have not updated to the latest version of monaco (0.35.1 at time of
writing this), as I wish to minimize the changeset during beta.

While I prefer not to update dependencies in beta, this seems to be a
fairly clean update. Will monitor and can roll back if it leads to
instability.
2022-11-05 06:01:14 +11:00
Marc Durdin
6841a1149f fix(developer): avoid races in init of debugger 2022-11-05 05:27:20 +11:00
Marc Durdin
0c1b1937e3 fix(developer): set keyman.osk immediately after switching device type 2022-11-05 05:26:51 +11:00
Keyman Server
2afde0cc9d
Merge pull request #7623 from keymanapp/auto/version-beta-16.0.98
auto: increment beta version to 16.0.98
2022-11-05 05:25:57 +11:00
Keyman Build Agent
aadf618986 auto: increment beta version to 16.0.98 2022-11-04 14:25:16 -04:00
Shawn Schantz
6b8cbff459
Merge pull request #7610 from keymanapp/fix/mac/transparent-system-icon
fix(mac): replace white background keyman system menu icon with transparent one
2022-11-04 13:06:02 +07:00
Darcy Wong
3460dcf8e4 fix(android/engine): Check temporary kmp file is valid 2022-11-04 11:02:13 +07:00
Marc Durdin
c7a277e29e
Merge pull request #7607 from keymanapp/fix/developer/7605-7606-tweak-captions
fix(developer): tweak captions for consistency
2022-11-04 15:01:40 +11:00
Marc Durdin
7faf08e62f
Merge pull request #7600 from keymanapp/fix/windows/kmshell-debug-lines
fix(windows): include debug info in kmshell build
2022-11-04 15:01:33 +11:00
Darcy Wong
bfc87d0ea1
Merge pull request #7587 from keymanapp/fix/android/get-started-auto-check
fix(android/app): Don't show "Get Started" after setting Keyman as default system keyboard
2022-11-04 06:50:47 +07:00
Keyman Server
2792ca733c
Merge pull request #7614 from keymanapp/auto/version-beta-16.0.97
auto: increment beta version to 16.0.97
2022-11-04 05:04:11 +11:00
Keyman Build Agent
1c2eb87384 auto: increment beta version to 16.0.97 2022-11-03 14:03:28 -04:00
Darcy Wong
ad58fa7f1a
Merge pull request #7611 from keymanapp/fix/android/json-obj-parser
fix(android/engine): Handle parsing empty JSONArray as JSONObject
2022-11-03 11:06:28 +07:00
Darcy Wong
ad3a088bf6
Update android/KMEA/app/src/main/java/com/tavultesoft/kmea/JSONParser.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-03 11:06:01 +07:00
Marc Durdin
6415a2a530
Merge pull request #7608 from keymanapp/feat/web/custom-shift-multitap-layer
feat(web): Custom layer targets for Shift double-tap
2022-11-03 15:05:42 +11:00
Marc Durdin
68ef6ec444
Merge pull request #7604 from keymanapp/fix/devloper/7582-redux
fix(common): always define dry_run variable
2022-11-03 15:05:33 +11:00
Darcy Wong
7c7f5c315a fix(android/engine): Handle parsing empty JSONArray as JSONObject 2022-11-03 09:41:56 +07:00
Darcy Wong
c8259b4d29
Merge pull request #7603 from keymanapp/fix/android/package-activity-cleanup
fix(android/app): Add check if bundle to PackageActivity is null
2022-11-03 08:02:22 +07:00
Marc Durdin
1fdc5a0be4 feat(web): Custom layer targets for Shift double-tap
Applies proposed feature https://community.software.sil.org/t/testing-caps-on-touch/6849/5:

1. A `caps` layer must still exist in the keyboard.
2. If there is at least one multitap subkey defined on the Shift key on
   the active layer, then the `nextlayer` property of the first multitap
   subkey for the Shift key will be used instead of the default `caps`.
3. This does not change the behavior of the Shift key otherwise.

For example, the following defines a valid multitap key on Shift on the
`rightalt` layer to switch to a custom extended `rightalt-shift-caps`
layer.

This does not implement any other multitap functionality. It just allows
the keyboard developer to specify a target layer for a given double-tap.

```
  {
    "id": "K_SHIFT",
    "text": "*Shift*",
    "width": 150,
    "sp": 1,
    "nextlayer": "rightalt-shift",
    "layer": "default",
    "multitap": [
      {
        "text": "",
        "id": "T_new_694",
        "sp": "1",
        "nextlayer": "rightalt-shift-caps"
      }
    ]
  },
```
2022-11-03 10:35:44 +11:00
Marc Durdin
6b9c7de6c0 fix(developer): tweak captions for consistency
Fixes #7605.
Fixes #7606.
2022-11-03 09:04:50 +11:00
Marc Durdin
d9a9c651f9
Merge pull request #7601 from keymanapp/fix/developer/7599-range-error-on-language-switch
fix(developer): handle high-bit-set HKL correctly
2022-11-03 09:02:13 +11:00
Marc Durdin
27275013af
Merge pull request #7594 from keymanapp/fix/developer/6974-gif-splash-image-preview
fix(developer): support gif preview images in Package Editor
2022-11-03 09:02:00 +11:00
Marc Durdin
770781c0c9
Merge pull request #7593 from keymanapp/fix/developer/5238-scrollable-details-and-build-tabs
fix(developer): Make Details and Build tabs scrollable
2022-11-03 08:44:21 +11:00
Marc Durdin
6a49af43a7 fix(common): always define dry_run variable 2022-11-03 06:21:04 +11:00
sgschantz
097af26e96 added transparent keyman system menu icon with high res version 2022-11-02 16:28:24 +07:00
Darcy Wong
48bd0c66ec fix(android/app): Add check if bundle to PackageActivity is null 2022-11-02 15:15:36 +07:00
Marc Durdin
d01fe7551d fix(developer): handle high-bit-set HKL correctly
Fixes #7599.

MSKLC HKLs have high bit set, which means that we need to explicitly
cast from Integer to DWord to avoid range check errors.
2022-11-02 17:12:28 +11:00
Keyman Server
393ce2efcd
Merge pull request #7597 from keymanapp/auto/version-beta-16.0.96
auto: increment beta version to 16.0.96
2022-11-02 15:52:17 +11:00
Marc Durdin
10549fdd78 fix(windows): include debug info in kmshell build
Should allow us to get line numbers for kmshell.exe crash reports
2022-11-02 15:52:10 +11:00
Keyman Build Agent
ed0214c558 auto: increment beta version to 16.0.96 2022-11-02 00:51:33 -04:00
Marc Durdin
69c1be968e
Merge pull request #7595 from keymanapp/fix/developer/7582-publish-keyman-version
fix(developer): publish `@keymanapp/keyman-version` to npm
2022-11-02 14:49:25 +11:00
Marc Durdin
549f627509
Merge pull request #7585 from keymanapp/fix/developer/298-avoid-reformatting-unchanged-system-stores
fix(developer): avoid reformatting unchanged system stores
2022-11-02 14:49:06 +11:00
Marc Durdin
7be90d3ac7
Merge pull request #7584 from keymanapp/fix/developer/2803-basic-project-icon
fix(developer): generate a default icon for basic keyboard projects
2022-11-02 14:35:57 +11:00
Marc Durdin
594d8c9104
Merge pull request #7586 from keymanapp/fix/developer/6363-remove-ancient-samples
fix(developer): remove ancient samples
2022-11-02 13:47:30 +11:00
Marc Durdin
8049399d1f
Merge pull request #7583 from keymanapp/fix/developer/3784-repeated-begin
fix(developer): prevent repeated `begin` statements
2022-11-02 13:47:23 +11:00
Marc Durdin
6ace0e36ef
Merge pull request #7580 from keymanapp/fix/developer/4719-kmlmp-path-awareness
fix(developer): ensure kmlmp handles paths
2022-11-02 13:47:16 +11:00
Marc Durdin
badf5e6d4b
Merge pull request #7531 from keymanapp/fix/developer/7529-enforce-us-layout-for-debugger
fix(developer): Use US base layout for debugger
2022-11-02 13:47:06 +11:00
Marc Durdin
c336a8052c fix(developer): publish @keymanapp/keyman-version to npm
Fixes #7582.

Because of https://github.com/npm/cli/issues/3466, we must publish our
internal dependency @keymanapp/keyman-version. This change adds a common
builder function builder_publish_to_npm in build-utils-ci.inc.sh to help
with that task, which should be adopted by other scripts that need to
publish to npm, in the future.

For now, responsibility for publishing keyman-version is delegated to
kmlmc. In the future, we will move this to a single top-level build
action that publishes all npm modules across the entire repo for the
given version.
2022-11-02 13:33:24 +11:00
Darcy Wong
e6e20b6f44
Apply suggestions from code review
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2022-11-02 08:18:21 +07:00