Commit graph

33096 commits

Author SHA1 Message Date
Marc Durdin
238a8e9185 fix(developer): improve support for inferred key cap text
Fixes #7616.

Fixes a crash when attempting to infer key cap text from key id, and
cleans up the support for inferred key text so that it works correctly
in the designer.

Also adds a safeguard to KMW to stop invalid key ids causing a crash.
2022-11-04 06:18:24 +11: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
Steven R. Loomis
3953cfaa29
Merge pull request #7592 from keymanapp/feat/developer/epic-ldml/7401-validation
feat(developer): improve validation and gap/switch handling  🙀
2022-11-03 10:51:02 -05:00
Steven R. Loomis
8cd7dbb768
Merge pull request #7591 from keymanapp/feat/developer/epic-ldml/improve-errmsg
feat(developer): improve err msg from Ajv 🙀
2022-11-03 10:50:54 -05:00
Steven R. Loomis
1da7cd3973
Merge pull request #7589 from keymanapp/chore/developer/cleanup-epic-ldml
chore(developer): ldml: rename `LKVkeyMaps` and `LKLayerMaps`, remove `LKBackspaces` 🙀
2022-11-03 10:50:38 -05:00
Steven R. Loomis
b86150a5d5
Merge pull request #7588 from keymanapp/chore/core/cleanup-epic-ldml
chore(core): ldml: cleanup   🙀
2022-11-03 10:49:49 -05:00
Joshua A. Horton
5f67c79306 feat(web): start of embedded globe hint 2022-11-03 15:16:56 +07: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
Steven R. Loomis
fc37d629ab
Merge pull request #7568 from keymanapp/feat/core/7532-disp-epic-ldml
feat(core,developer): add basic support for ldml `disp` section 🙀
2022-11-02 17:04:46 -05:00
Steven R. Loomis
2525d79715
Merge pull request #7567 from keymanapp/fix/core/7566-builder-epic-ldml
fix(core): move ldml const builder to es modules 🙀
2022-11-02 17:04:07 -05: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
Steven R. Loomis
77f8f41c21 feat(developer): improve validation and gap/switch 🙀
- keys: error if to, gap, AND switch are missing
- add parts to LKKey
- add err message and test case

#7401
2022-11-02 13:42:15 -05:00
Steven R. Loomis
a212aefeec feat(developer): improve err msg from Ajv 🙀
- make it clearer what the exact issue is by extracting
params from the Ajv error
2022-11-02 13:41:43 -05:00
Steven R. Loomis
14dd4aeba6 chore(developer): ldml: cleanup 🙀
- remove LKBackspace*
- rename some compiler warnings and classes to match current CLDR
( keyMaps is now keys, vkeyMaps is now vkeys, etc.)

#5015
2022-11-02 13:40:25 -05:00
Steven R. Loomis
a00ea0423a chore(core): ldml: cleanup 🙀
- minor cleanup in the .cpp

#5015
2022-11-02 13:39:17 -05:00
Steven R. Loomis
5421b6ec0b Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-02 13:36:24 -05:00
Steven R. Loomis
1c7517c5a8 fix(developer): ldml: yet more review feedback fixes 🙀
🙀 #7532
2022-11-02 13:36:24 -05:00
Steven R. Loomis
002316313d fix(developer): ldml: review feedback fixes 🙀
- update disp to always generate disps=[] and baseCharacter

🙀 #7532
2022-11-02 13:36:24 -05:00
Steven R. Loomis
8a13185f72 fix(developer): ldml: review feedback fixes 🙀
- removing basic.kmx and basic.kvm
- add an only-options display test
- fix indentation
- fix typos

🙀 #7532
2022-11-02 13:36:24 -05:00
Steven R. Loomis
2001153c6f fix(developer): ldml: fix build.sh 🙀
Looks like this was just a typo?
Probably should be run in CI…

For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-02 13:36:24 -05:00
Steven R. Loomis
2a7352115d feat(developer): ldml: Fix basic for disp 🙀
- Whew!

For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-02 13:36:24 -05:00
Steven R. Loomis
fa9575955a fixup! feat(common): ldml: compiler disp 🙀 2022-11-02 13:36:24 -05:00
Steven R. Loomis
b8862f0b26 feat(developer): ldml: Break basic for disp 🙀
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-02 13:36:24 -05:00
Steven R. Loomis
49b46f42ea feat(common): ldml: builder disp 🙀
- with initial core updates

For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-02 13:36:24 -05:00
Steven R. Loomis
d42811b341 feat(common): ldml: compiler disp 🙀
- with tests

For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-02 13:36:24 -05:00
Steven R. Loomis
56b8b11144 feat(common): ldml: KMXPlusData for disp 🙀
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532
2022-11-02 13:36:24 -05:00
Steven R. Loomis
bf45412b72 feat(core): ldml: add constants for disp 🙀
For feat(developer): ldml: include all LDML data in kmx+ 🙀 #7532

depends on #7566
2022-11-02 13:36:24 -05:00
Steven R. Loomis
2d888ecfe2 fix(core): ldml: fix const builder 🙀
- fix tsconfig per review comments
- update builder to compile again
- add some err checking

#7566
2022-11-02 13:33:00 -05:00
Steven R. Loomis
f140093088
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-02 13:09:35 -05:00
Sabine
197bd6cee3 chore(developer): use char16_t in CheckFileNameConsistency 2022-11-02 16:48:11 +07: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