Commit graph

27982 commits

Author SHA1 Message Date
Joshua Horton
3cf0082a6b
Merge pull request #10343 from keymanapp/change/web/lmworker-async-predict
change(web): prep for better asynchronous prediction handling 🕐
2024-06-13 12:44:50 +07:00
Meng-Heng
9d2d790fa9 docs(developer): context help in new-project section
Fixes: #2131
2024-06-13 12:19:56 +07:00
Marc Durdin
09ee827270 refactor(common): move .keyman-touch-layout reader/writer to @keymanapp/developer-utils
Relates to #9665
2024-06-13 10:24:14 +10:00
Marc Durdin
a1d94dc528 chore(common): reduce threshold for c8 to 70% 2024-06-13 10:23:47 +10:00
Marc Durdin
b0ff102b45
Merge pull request #11735 from keymanapp/fix/developer/11362-verify-email-addresses-in-package
fix(developer): verify email addresses in .kps and .keyboard_info
2024-06-13 10:04:00 +10:00
Marc Durdin
4090a46363
Merge pull request #11720 from keymanapp/fix/developer/11719-handle-missing-osk-when-importing-windows-keyboard
fix(developer): handle missing OSK when importing a Windows keyboard into a touch-only project
2024-06-13 10:01:00 +10:00
Marc Durdin
f6105d87d8 refactor(common): fixup tests for kvks-file 2024-06-13 09:31:52 +10:00
Marc Durdin
cdbcbe723a chore(common): reduce c8 threshold for common-types by 1% after moving kvk-file 2024-06-13 09:00:36 +10:00
Marc Durdin
1c74d9d713 refactor(common): move kvks-file to @keymanapp/developer-utils
Relates to #9665
2024-06-13 08:58:55 +10:00
Marc Durdin
de9ab217e9 refactor(common): move kps-file.ts to @keymanapp/developer-utils
Part of #9665.
2024-06-13 08:57:49 +10:00
Marc Durdin
071fe5ccb5 chore(developer): fixup reference to xml2js 2024-06-13 08:57:27 +10:00
Keyman Server
dc07893b62
Merge pull request #11762 from keymanapp/auto/version-master-18.0.55
auto: increment master version to 18.0.55
2024-06-12 11:03:24 -07:00
Keyman Build Agent
e327af4440 auto: increment master version to 18.0.55 2024-06-12 14:02:48 -04:00
Marc Durdin
185c020bf1 chore(developer): update xml2js reference for kpj-file-reader 2024-06-12 16:43:28 +07:00
Marc Durdin
b2c4979cf4 chore(common): reduce c8 threshold for common-types
As we move some better-tested areas out of common-types, it looks like
our overall coverage goes down.
2024-06-12 16:31:54 +07:00
Marc Durdin
74e2a8ccea refactor(common): move kpj test fixtures and cleanup post-move
Moves the kpj test fixtures into developer-utils, moves from let to
const in code where required by eslint, and reduces the coverage
threshold in order to get tests to pass for developer-utils.
2024-06-12 16:31:53 +07:00
Marc Durdin
9cf09a5140 refactor(common): move kpj-related files into developer-utils
Relates to #9665.
2024-06-12 16:31:52 +07:00
Marc Durdin
4ed88d8fa6 refactor(developer): move developer-utils files into src/ and sub-folder
In preparation for moving source file types into developer-utils, move
the existing developer-utils files into src/ and src/utils subfolders.
2024-06-12 16:31:50 +07:00
Marc Durdin
2dcc8fb948 fix(developer): prevent non-BMP characters in key part of rule
Currently, keys must be a UTF-16 code unit or a virtual key. Non-BMP
characters are unsupported. Technically, there is space available in the
.kmx `COMP_KEY` structure to accommodate UTF-32 codepoints, from
kmx_file.h:

    KMX_WORD_unaligned Key;
    KMX_WORD_unaligned _reserved;

However, the utility of this is almost nil, as it is very unlikely we
will encounter base keyboards (for mnemonic layouts) that generate any
characters outside the BMP, so there is little value in adding support
for this at this time.

The compiler will generate an error if this is encountered.

Fixes: #11643
2024-06-12 16:23:32 +07:00
Meng-Heng
2d6d007f74 docs(developer): context help in package-editor and put the context help in their tabs
Fixes a portion of #2131:
2024-06-12 15:35:17 +07:00
Marc Durdin
074c8f7dac fix(developer): show message if no more platforms to add to touch layout editor
Fixes: #11646
Fixes: KEYMAN-DEVELOPER-1X2
2024-06-12 14:52:38 +07:00
Joshua Horton
ce49f12af9
Merge pull request #10432 from keymanapp/feat/web/package-kbd-renderer
feat(web): add bulk_render variant that loads and renders keyboards from local KMP
2024-06-12 12:56:40 +07:00
Joshua A. Horton
7b4509a467 chore(web): Merge branch 'master' into fix/web/newContext-device 2024-06-12 12:55:25 +07:00
MengHeng
4116f73ecc
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-06-12 11:50:07 +07:00
dependabot[bot]
20ea33ac13
chore(deps-dev): bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 01:06:33 +00:00
Joshua Horton
e08f2d52f5
Merge pull request #11746 from keymanapp/chore/common/remove-ts-node
chore(common): end use of ts-node
2024-06-12 08:05:42 +07:00
Joshua Horton
c4137f03fb
Merge pull request #11745 from keymanapp/fix/common/update-subpackage-ts-entries
fix(common): remove subpackage entries for older TS version
2024-06-12 08:05:33 +07:00
Meng-Heng
be78b58df1 docs(developer): context help in keyboard-editor section
Fixes: #2131
2024-06-11 14:36:19 +07:00
Keyman Server
d4866f2c21
Merge pull request #11751 from keymanapp/auto/version-master-18.0.54
auto: increment master version to 18.0.54
2024-06-10 11:05:53 -07:00
Keyman Build Agent
03e1ff48b4 auto: increment master version to 18.0.54 2024-06-10 14:05:06 -04:00
Dr Mark C. Sinclair
0bf8c6bbd6 chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-2
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-06-10 11:45:08 +01:00
Dr Mark C. Sinclair
c5423201b5 chore(developer): remove unnecessary whitespace 2024-06-10 10:48:53 +01:00
Dr Mark C. Sinclair
92dd72f5fd chore(developer): change includes to use forward slashes (see #11749) 2024-06-10 10:17:02 +01:00
Dr Mark C. Sinclair
13df1cdd33 chore(developer): edits for clarity and visibility, incl add token local variable to GetXStringImpl test 2024-06-10 09:49:50 +01:00
Joshua Horton
03575d3103
Merge pull request #11749 from keymanapp/fix/developer/include-path-slashes
fix(developer): fix kmcmplib unit-test include paths
2024-06-10 15:41:47 +07:00
Joshua A. Horton
2340048a27 fix(developer): run compiled version of dev-server's unit test 2024-06-10 14:39:08 +07:00
Joshua A. Horton
e87395038d chore(common): Merge branch 'fix/common/update-subpackage-ts-entries' into chore/common/remove-ts-node 2024-06-10 14:35:22 +07:00
Joshua A. Horton
813d39b12e chore(common): Merge branch 'fix/developer/include-path-slashes' into fix/common/update-subpackage-ts-entries 2024-06-10 14:34:06 +07:00
Joshua A. Horton
fb67d1ddf5 fix(developer): fix include paths
Backslashes in paths are Windows-only, may have caused recent *nix CI-build failures.
2024-06-10 13:58:17 +07:00
Joshua Horton
b8943eae4a
Merge pull request #11722 from keymanapp/fix/android/split-layout-and-rescale
fix(android): fix keyboard size after rotation and restore via onSizeChanged, after layout
2024-06-10 12:15:21 +07:00
Joshua Horton
3ac7aa4424
Merge pull request #11604 from keymanapp/fix/android/sys-keyboard-orientation
fix(android): check current orientation when redisplaying system keyboard
2024-06-10 12:15:13 +07:00
Joshua A. Horton
b682f896ec change(common): match original version from package-lock 2024-06-10 11:43:23 +07:00
Joshua A. Horton
99ef7a8dec chore(common): restore source-map-support package
It's in use in a number of mocha "register" configs but was only ever installed b/c ts-node had it as a dependency.
2024-06-10 11:40:59 +07:00
Joshua A. Horton
5e707425c1 fix(web): do not specify generic params on instanceof type 2024-06-10 11:35:03 +07:00
Joshua A. Horton
1e757c0821 chore(common): fully removes ts-node
Fixes: #11736
2024-06-10 11:06:13 +07:00
Joshua A. Horton
f2f1c09c84 chore(web): removes ts-node use from gesture-recognizer
Complication: the promise-status library used for testing our promise usage includes a .d.ts file that is not valid with current TS versions.  We now delete theirs and provide our own, fixed version.
2024-06-10 11:04:04 +07:00
Joshua A. Horton
d07fa7e953 chore(common): eliminate ts-node ref from most subpackages 2024-06-10 10:07:58 +07:00
Joshua A. Horton
cb9ac807e0 change(developer): precompile create-override-script-regexp.ts 2024-06-10 09:43:56 +07:00
Joshua A. Horton
e527317d3a fix(common): remove subpackge entries for older TS version 2024-06-10 09:14:03 +07:00
Joshua A. Horton
0cac134d19 fix(web): set new-context rules' device to match that of the active OSK
Fixes: #11740
2024-06-10 08:39:45 +07:00