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
Eberhard Beilharz
93eabd96ab
refactor(web): use substring instead of slice
...
This addresses code review comments which recommended to use `substring`
as this makes it more consistent with the rest of our code base.
2024-06-03 12:20:02 +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
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
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
Marc Durdin
e6d59fc173
chore: move xml2js into the repo to eliminate npm git dependency
...
Small rewrites to the xml2js code as ES6 modules. Based on
https://github.com/keymanapp/dependency-node-xml2js
Fixes : #8616
2024-06-03 16:07:29 +07:00
Nnyny
423aa7ab94
add context/wordlist-editor
2024-06-03 15:36:07 +07:00
Joshua A. Horton
e5f2fbd10e
chore(web): Merge branch 'master' into change/web/lmworker-async-predict
2024-06-03 15:20:39 +07: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
Marc Durdin
b874de25e8
chore: replace git dep on restructure with 3.0.1 in npm
...
3.0.1 includes our fix. However, 3.0.2 does not yet appear to have been
published, which has a patch for our fix?
Fixes : #8616
2024-06-03 14:58:39 +07:00
Nnyny
8608a26701
add context/character-map
2024-06-03 14:40:57 +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
Steven R. Loomis
31dedb7ca3
test(core): comments in get_block_unicode_ver()
2024-05-31 16:14:05 -05:00
Eberhard Beilharz
1ec7604f61
chore(linux): More debugging of API verification
2024-05-31 21:15:56 +02:00
Eberhard Beilharz
3ee8359f8f
refactor(web): Replace deprecated substr with slice
...
Also add a comment to `SourcemappedWorker` explaining the difference
to `DefaultWorker`.
2024-05-31 11:27:55 +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
Joshua Horton
66bdc29f6e
fix(common): revert accidental test-code inclusion
2024-05-31 15:08:36 +07:00
Joshua Horton
b6a06c6626
change(common): simplifies retry command-execution syntax
2024-05-31 15:01:33 +07:00