Commit graph

26398 commits

Author SHA1 Message Date
Eberhard Beilharz
7c2adf60c2
fix(linux): don't escape wildcard for package filename 2024-06-03 14:56:44 +02:00
Eberhard Beilharz
eaeb3c2093
Merge pull request #11664 from keymanapp/fix/linux/apiverification
fix(linux): include api version as part of package filename
2024-06-03 13:15:47 +02:00
Eberhard Beilharz
310ded91bd
fix(linux): include api version as part of package filename
The package name contains the API version. This change allows for that.
2024-06-03 13:09:50 +02:00
Eberhard Beilharz
74c2b4c287
fix(linux): remove debug code 2024-06-03 13:08:12 +02:00
Eberhard Beilharz
e58c7e0432
Merge pull request #11662 from keymanapp/fix/linux/apiverification
fix(linux): restore of artifacts still needs to be in same job
2024-06-03 12:17:36 +02:00
Eberhard Beilharz
e947dbc519
fix(linux): restore of artifacts still needs to be in same job
This change reverts #11659 and moves setting the environment and
restoring the artifacts in the same job as the actual API verification.
It keeps checking out the git files to a separate directory.
2024-06-03 12:07:16 +02:00
Eberhard Beilharz
eca8b73543
Merge pull request #11661 from keymanapp/fix/linux/apiverification
fix(linux): paths in `uses:` can't use variables
2024-06-03 11:47:15 +02:00
Eberhard Beilharz
adf2c9b82f
fix(linux): paths in uses: can't use variables 2024-06-03 11:16:36 +02:00
Eberhard Beilharz
d1b8812180
Merge pull request #11659 from keymanapp/fix/linux/apiverification
fix(linux): move environment to separate job and checkout to separate subdirectory
2024-06-03 11:11:41 +02:00
Eberhard Beilharz
a858f63c8e
fix(linux): move environment to separate job and checkout to separate dir
In #11571 we tried to fix the failing API verification by moving
setting up the environment and restoring artifacts to the same job
as the api verification itself. However, this doesn't help and the
`artifacts` subdirectory still vanishes, caused by
https://github.com/actions/checkout/issues/1201.

This change reverts the change introduced in #11571 and changes the
git checkout to end in a separate subdirectory.

Reverts: #11571
2024-06-03 11:10:46 +02:00
Joshua Horton
690f665747
Merge pull request #11653 from keymanapp/fix/android/polyfill-es6-domrect
fix(android): include DOMRect polyfill for older ES6-supporting devices
2024-06-03 15:18:06 +07:00
Joshua Horton
c3277c5fdf
Merge pull request #11464 from keymanapp/chore/web/final-config-flag-fixes
chore(web): finalize web/ project parity with base-repo TS config settings (aside from JS version target) 🔩
2024-06-03 15:16:35 +07:00
Joshua Horton
c858824d81
Merge pull request #11463 from keymanapp/chore/web/strict-func-types
chore(web): enforce strict function types in web/ 🔩
2024-06-03 15:16:19 +07:00
Joshua Horton
f5e65f0539
Merge pull request #11462 from keymanapp/chore/web/remove-no-implicit-any
chore(web): correct cases of implicit-any in web/ 🔩
2024-06-03 15:16:10 +07:00
Joshua Horton
604d2fcb11
Merge pull request #11424 from keymanapp/chore/web/partial-config-cleanup
chore(web): clean up remaining low-level Web .tsconfig settings 🔩
2024-06-03 15:16:00 +07:00
Eberhard Beilharz
47e8d3db57
Merge pull request #11594 from keymanapp/fix/web/11593_undefinedConfig
fix(web): Don't apply suggestion unless fully configured
2024-06-03 09:01:22 +02:00
Joshua A. Horton
eb40a0f6ee chore(web): Merge remote-tracking branch 'origin/chore/web/remove-no-implicit-any' into chore/web/remove-no-implicit-any 2024-06-03 11:58:06 +07:00
Joshua A. Horton
d2987ac26f chore(web): Merge branch 'chore/web/partial-config-cleanup' into chore/web/remove-no-implicit-any 2024-06-03 11:57:33 +07:00
Joshua A. Horton
826168f02a fix(android): include DOMRect polyfill for older ES6-supporting devices
Fixes: #11653
Fixes: KEYMAN-WEB-JD
2024-06-03 11:51:08 +07:00
Joshua A. Horton
46e4518749 chore(web): Merge branch 'master' into chore/web/partial-config-cleanup 2024-06-03 10:57:51 +07:00
Joshua Horton
b304069425
Merge pull request #11603 from keymanapp/fix/web/kbd-proc-strictness-bugs
fix(web): fix keyboard-processing bugs uncovered by stricter TS settings 🔩
2024-06-03 10:55:10 +07:00
Joshua Horton
b6207dca45
Merge pull request #11601 from keymanapp/refactor/web/typed-property-transplantation
refactor(web): refactor keyboard-layout preprocessing property transplantation 🔩
2024-06-03 10:55:02 +07:00
Joshua A. Horton
3d77cf2fef docs(web): on KLS format and its arrays of 65 entries 2024-06-03 08:38:12 +07:00
Darcy Wong
a024274a62
Merge pull request #11649 from keymanapp/docs/history-17-0-326
chore: Update history from 17.0.326
2024-06-02 19:01:41 -05:00
Marc Durdin
b22bf72a91
Merge pull request #11575 from keymanapp/fix/developer/11573-save-selection-when-loading-state
fix(developer): save touch layout editor selection when loading state
2024-06-03 05:42:14 +07:00
Darcy Wong
992042e095 chore: update history from 17.0.326 2024-06-02 07:15:32 -05:00
Keyman Server
50a4ff9899
Merge pull request #11644 from keymanapp/auto/version-master-18.0.47
auto: increment master version to 18.0.47
2024-06-01 11:06:35 -07:00
Keyman Build Agent
5ca9d0c8e5 auto: increment master version to 18.0.47 2024-06-01 14:06:03 -04:00
Eberhard Beilharz
751da5541e
Merge pull request #11639 from keymanapp/fix/linux/apiverification
chore(linux): More debugging of API verification
2024-06-01 02:13:19 +02:00
Keyman Server
5643965423
Merge pull request #11642 from keymanapp/auto/version-master-18.0.46
auto: increment master version to 18.0.46
2024-05-31 16:25:48 -07:00
Keyman Build Agent
4728c5035f auto: increment master version to 18.0.46 2024-05-31 19:25:12 -04:00
Marc Durdin
26f68d0a35
Merge pull request #11635 from keymanapp/chore/developer/11632-increase-timeout-for-compiler-test
chore(developer): increase timeout for kmc-ldml compiler test
2024-06-01 06:19:44 +07:00
Marc Durdin
9e4b5b7b6f
Merge pull request #11633 from keymanapp/fix/developer/11625-support-windows-and-unicode-font-names
fix(developer): support Windows and Unicode names in .ttf
2024-06-01 06:19:36 +07:00
Marc Durdin
aeac822e51
Merge pull request #11631 from keymanapp/fix/developer/11630-bundle-ttfmeta-dependency-internally
fix(developer): bundle ttfmeta library internally with kmc-keyboard-info
2024-06-01 06:19:26 +07:00
Eberhard Beilharz
1ec7604f61
chore(linux): More debugging of API verification 2024-05-31 21:15:56 +02:00
Eberhard Beilharz
9cac9772dc
Update common/web/input-processor/src/text/prediction/languageProcessor.ts
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2024-05-31 10:57:04 +02:00
Marc Durdin
e622c1ba1b
Merge pull request #11629 from Nnyny/context/debug
chore(developer): add context/debug
2024-05-31 15:50:35 +07:00
Marc Durdin
75d39069ec chore(developer): increase timeout for kmc-ldml compiler test
Fixes: #11632
2024-05-31 15:44:40 +07:00
Joshua A. Horton
40733e4bec chore(web): fix web package.json's typescript entry
It should've been fixed previously, but maybe I messed things up with this while rebasing?
2024-05-31 15:25:48 +07:00
Marc Durdin
f9fa1a685e fix(developer): support Windows and Unicode names in .ttf
The ttfmeta library is extremely rudimentary. It does next to no error
checking, and supports only a small part of the TTF spec. It did not
support NAME platforms 0 or 3 (the most common platform, Windows), and
these are encoded in UTF-16BE. This patch adds support for those
platforms and throws if an unsupported platform/encoding is encountered.

Now, the ttfmeta library is unsupported and gone (#11630). It is based
on another library, ttfinfo, last updated 11 years ago. This is not
great. But the other Node libraries that I located introduce further
dependencies or complex builds (e.g. WASM) and that's not great either,
for a function used only in one place in our build environment.

https://learn.microsoft.com/en-us/typography/opentype/spec/name

The test-font-family.ts runs a basic test against Lateef font, and has
a skipped test that can be run (with minor edits) against all fonts in
the keyboard repository. I have done this to verify that there are no
fonts that return errors, but have disabled this test for deployment for
now.

Fixes: #11625
2024-05-31 15:24:47 +07:00
Joshua Horton
2b33d6c0a5
docs(web): tweaks comment regarding a @ts-ignore
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-31 15:14:33 +07:00
Marc Durdin
76bd22b120 fix(developer): bundle ttfmeta library internally with kmc-keyboard-info
Remove ttfmeta from package.json, and copy only the relevant files into
ttfmeta/ under kmc-keyboard-info. This is a stopgap measure as we will
probably attempt to identify an alternate library in the future.

See also #11625 which is the driver for making this change now.

Fixes: #11630
2024-05-31 14:54:09 +07:00
Nnyny
2d9ffcc288 add context/debug 2024-05-31 14:27:15 +07:00
Joshua A. Horton
5abd621ddc change(web): isKeyNotCorrected -> isFrameKey 2024-05-31 13:58:31 +07:00
Marc Durdin
4e29a97c9e
Merge pull request #11585 from keymanapp/change/common/git-commit-hooks
change(common): add extra commit message hints
2024-05-31 13:07:55 +07:00
Marc Durdin
4cc6c3699f
Merge pull request #11611 from keymanapp/chore/windows/support-port-in-httpuploader
chore(windows): support port in THTTPUploader
2024-05-31 13:07:46 +07:00
Marc Durdin
39509cc918
Merge pull request #11608 from keymanapp/chore/increase-fixture-build-test-timeout
chore: increase kmc-kmn build test timeout
2024-05-31 13:07:38 +07:00
Marc Durdin
ab1e916086
Merge pull request #11590 from keymanapp/fix/developer/11589-single-pixel-top-row-for-touch-on-character-map
fix(developer): make top row of Character Map 1 pixel to avoid DIV/0 in gestures
2024-05-31 13:07:21 +07:00
Marc Durdin
db5e8929ed
Merge pull request #11582 from keymanapp/fix/developer/11581-flicks-for-default-key-hints
fix(developer): correct the inference of default hint from flicks
2024-05-31 13:07:07 +07:00
Marc Durdin
f7b3e70895
Merge pull request #11577 from keymanapp/fix/developer/11574-fixup-flick-multitap-in-layer-props
fix(developer): use correct variable when fixing up flick and multitap in Layer Properties dialog
2024-05-31 13:06:55 +07:00