Commit graph

33096 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
5603ca46fd feat(developer): add tests for unreachable code
This adds 4 tests for unreachable code and 1 future test. It also fixes
test.bat so that it exits with an error if the tests fail, and ensures
that tests are run by fixing the parent Makefile.
2022-03-30 09:15:07 +11:00
Marc Durdin
4a619b051d fix(developer): set kmcomp debug build to correct folder 2022-03-30 09:12:27 +11:00
Marc Durdin
0cadb83383 fix(web): track load error detail
This is a follow-up for #6331. We still did not have enough detail to
be able to trace the root cause of the load errors. This adds a little
more diagnostics.
2022-03-30 06:44:03 +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
b50ad35d72 feat(developer): hint on unreachable code
Fixes #355.
Fixes #1710.

This is structured as a feature so it is tested as such, but was part of
the set of fixes scheduled for 15.0 beta. Any rule in a group that
Keyman Developer assesses as 'unreachable' will receive a hint message.

The current rule match is fairly simplistic -- it only does an exact
comparison -- so duplication which is indirect, through `any(store)`
references in the context would still result in unreachable rules that
are not picked up.
2022-03-29 12:49:34 +11:00
Marc Durdin
2a96518e3a
Merge pull request #6434 from keymanapp/chore/web/remove-unused-selectLayer-parameter
chore(web): remove unused `selectLayer` parameter
2022-03-29 12:36:25 +11:00
Marc Durdin
c55e13774e
Merge pull request #6433 from keymanapp/fix/common/6258-wordbreakers-package.json-main
fix(common): wordbreakers package.json main field
2022-03-29 12:36:18 +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
Keyman Server
2f2397ad53
Merge pull request #6439 from keymanapp/auto/version-beta-15.0.225
auto: increment beta version to 15.0.225
2022-03-29 12:32:31 +11:00
Keyman Build Agent
4e1f0432cd auto: increment beta version to 15.0.225 2022-03-28 21:31:48 -04:00
Shawn Schantz
a67d082553
Merge pull request #6197 from keymanapp/feat/oem/fv/ios/dictionary-support
feat(oem/fv/ios): Dictionary Support
2022-03-29 08:02:07 +07:00
Darcy Wong
cabbeabd09
Merge pull request #6438 from keymanapp/fix/android/clear-cache-after-kmp
fix(android/engine): Clear WebView cache on package install
2022-03-29 06:09:11 +07:00
Darcy Wong
fcc75ec00e fix(android/engine): Clear WebView cache on package install 2022-03-28 13:44:30 +07:00
sgschantz
b3c61c54c8 remove debug error alert 2022-03-28 12:36:04 +07: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
8fec84813f chore(web): remove unused selectLayer parameter 2022-03-28 09:13:36 +11:00
Marc Durdin
77db07f268 fix(common): wordbreakers package.json main field
Fixes #6258.

@keymanapp-test-bot skip
2022-03-28 09:12:20 +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
Keyman Server
83c8b87f42
Merge pull request #6431 from keymanapp/auto/version-beta-15.0.224
auto: increment beta version to 15.0.224
2022-03-28 05:44:48 +11:00
Keyman Build Agent
a3d2e8a1a8 auto: increment beta version to 15.0.224 2022-03-27 14:44:10 -04:00
Marc Durdin
295f25144d
Merge pull request #6383 from keymanapp/fix/web/5929-ios-popup-positioning-and-style
fix(web): ios popup positioning and style
2022-03-28 04:46:00 +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
Marc Durdin
79a55e1f97
Merge pull request #6421 from keymanapp/fix/mac/cherry-pick/4877-invalid-keyboard
fix(mac): invalid keyboard breaks configuration 🍒
2022-03-28 04:43:38 +11:00
Keyman Server
28f9709608
Merge pull request #6429 from keymanapp/auto/version-beta-15.0.223
auto: increment beta version to 15.0.223
2022-03-26 05:02:58 +11:00
Keyman Build Agent
7b2cc72245 auto: increment beta version to 15.0.223 2022-03-25 14:02:20 -04:00
sgschantz
fed555655e added toolbar with activity spinner during dictionary download 2022-03-25 16:10:55 +07:00
sgschantz
f83f8f8a34 lexical model install fix 2022-03-25 13:34:00 +07:00
Keyman Server
a9e0575e1f fix(ios): reset context when osk is resized 2022-03-25 14:21:43 +11:00
Darcy Wong
30b67646f4
Merge pull request #6399 from keymanapp/chore/common/crowdin-ha-2
chore(common): Update Hausa strings
2022-03-25 08:19:52 +07:00
rc-swag
ac8b7c2798
Merge pull request #6425 from keymanapp/fix/windows/6422/hotkeys-alt-broken
fix(windows): put correct HK_ALT flag for modifier
2022-03-25 09:29:58 +10:00
Ross
f8402a35e0 fix(windows): Fix scope of variables in case statement 2022-03-25 08:50:09 +10:00
Marc Durdin
b3ddf633df fix(web): adjust calc for callout height 2022-03-25 09:10:29 +11:00
Keyman Server
3812e6f009
Merge pull request #6426 from keymanapp/auto/version-beta-15.0.222
auto: increment beta version to 15.0.222
2022-03-25 05:02:49 +11:00
Keyman Build Agent
3aa0819c5b auto: increment beta version to 15.0.222 2022-03-24 14:02:12 -04:00
rc-swag
2c40f13db0
fix(windows): add brackets to string return
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-03-24 20:19:17 +10: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
Keyman Server
ebeb007f4c fix(mac): add strings 2022-03-24 11:02:30 +11:00
Keyman Server
3a6dc00666 fix(mac): invalid keyboard breaks configuration
Fixes #4877.

If a keyboard is invalid for any reason (missing, wrong version),
then it would not appear in Configuration, which would break the
row indexing, causing crashes.

Cherry-picked from stable-14.0 branch.
2022-03-24 10:57:12 +11:00
Marc Durdin
385aea1e72
Merge pull request #6418 from keymanapp/fix/common/6391-report-more-detail-in-increment
fix(common): report more log detail in increment-version
2022-03-24 09:52:42 +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
3eceea8735 fix(common): report more log detail in increment-version
Relates to #6391.

Adds some logging so we may be able to find out why we are getting
strange results for some PRs.
2022-03-24 08:52:10 +11:00
Marc Durdin
3858a4c9e5 fix(web): further iOS adjustments 2022-03-24 07:35:28 +11:00
Keyman Server
04e1909117
Merge pull request #6417 from keymanapp/auto/version-beta-15.0.221
auto: increment beta version to 15.0.221
2022-03-24 05:10:29 +11:00
Keyman Build Agent
12a7e13c5f auto: increment beta version to 15.0.221 2022-03-23 14:07:31 -04:00
Darcy Wong
b89a590427
Merge pull request #6138 from keymanapp/fix/android/subkey-move
fix(android/engine): Display longpress keys during a Move gesture
2022-03-23 13:07:26 +07:00
Darcy Wong
19f1d4f5a7 chore(android): Merge remote-tracking branch 'origin/beta' into fix/android/subkey-move 2022-03-23 13:05:25 +07: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