Commit graph

26441 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
8dde071b89 chore(developer): moved CompMsg.cpp refactor to fix #11738 2024-06-07 11:46:49 +01:00
Dr Mark C. Sinclair
1dc6ebf2cb chore(developer): add GetXStringImpl_type5 (eleven cases) 2024-06-06 16:03:27 +01:00
Dr Mark C. Sinclair
a920a2eae0 chore(developer): add baseloyout valid case to GetXStringImpl_type4 test 2024-06-06 11:52:27 +01:00
Dr Mark C. Sinclair
d0b1e3097a chore(developer): fix for failing wasm build, plus bug in type=4 case 2024-06-03 16:26:03 +01:00
Dr Mark C. Sinclair
ba4cb94bd5 chore(developer): correct comments in GetXStringImpl_type4 test 2024-06-03 15:26:28 +01:00
Dr Mark C. Sinclair
49d279ee21 chore(developer): add two additional cases to GetXStringImpl_type4 test 2024-06-03 15:17:55 +01:00
Dr Mark C. Sinclair
6ddcbb74ee chore(developer): add initial GetXStringImpl_type4 test (four cases) 2024-06-03 14:55:02 +01:00
Dr Mark C. Sinclair
f11c66967d chore(developer): add three additional cases to GetXStringImpl_type3 test 2024-06-03 14:21:46 +01:00
Dr Mark C. Sinclair
4dc34574fe chore(developer): add initial GetXStringImpl_type3 test (three cases) 2024-06-03 11:57:58 +01:00
Dr Mark C. Sinclair
f8cda0ae28 chore(developer): correct TODO comment in type 1 & 2 GetXStringImpl tests 2024-06-03 11:38:43 +01:00
Dr Mark C. Sinclair
c0e298d2bd chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests
# 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-03 11:09:30 +01: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