Commit graph

33096 commits

Author SHA1 Message Date
Marc Durdin
dbf577bb9a fix(developer): handle encoding errors when loading wordlists
Fixes: #11710
Fixes: KEYMAN-DEVELOPER-1S4
2024-06-06 09:21:40 +07:00
Joshua Horton
886aeccbe9
Merge pull request #11229 from keymanapp/chore/ios/enable-webview-debugging
chore(ios): enable webview debugging
2024-06-06 09:15:11 +07:00
Joshua A. Horton
49acf1ceea chore(android): use cleaner precondition exit pattern (per review) 2024-06-06 09:12:19 +07:00
Marc Durdin
466edc30fc chore: add cherry-pick information in commit messages
Fixes: #11702
2024-06-06 08:56:42 +07:00
Marc Durdin
52093720f4 chore(developer): add extra logging for assertion failure when pressing backspace in debugger
I have not been able to reproduce this problem, so adding some extra
debug logs in an attempt to determine what is causing the assertion
failure.

Relates to: #11706
2024-06-06 08:54:38 +07:00
Joshua A. Horton
66955cd171 chore(web): Merge remote-tracking branch 'origin/feat/web/package-kbd-renderer' into feat/web/package-kbd-renderer 2024-06-06 08:51:45 +07:00
Joshua A. Horton
cce2f9a867 chore(web): Merge branch 'master' into feat/web/package-kbd-renderer 2024-06-06 08:51:08 +07:00
Joshua Horton
ce0dbd800c
Merge pull request #11691 from keymanapp/fix/web/flick-configuration-nans
fix(web): get row-height for flick constraints after performing layout
2024-06-06 08:46:06 +07:00
Joshua A. Horton
9b49554ab1 fix(web): fix osk touch-focus tracking
Fixes: #11704
Also addresses _part_ of KEYMAN-WEB-HY, but not all variants.
2024-06-06 08:37:11 +07:00
Marc Durdin
6fba7c0159 fix(developer): disable example edit controls if no examples in Package Editor
Fixes: #11700
Fixes: KEYMAN-DEVELOPER-1FT
2024-06-06 08:14:12 +07:00
Joshua Horton
e9ccd6fb4b
Merge pull request #11451 from keymanapp/chore/common/retry-npm-ci
chore(common): adds retry mechanism for build script npm ci calls
2024-06-06 08:10:04 +07:00
Marc Durdin
50b28ff3ff fix(developer): treat js files with unrecognized encodings as non-keyboard files
Fixes: KEYMAN-DEVELOPER-201
Fixes: #11687
2024-06-06 06:51:11 +07:00
Steven R. Loomis
55a025c767 refactor(core): devolve regex to js for wasm
- new module, core/src/util_regex.hpp
- no wasm implementationyet

Fixes: #9467
2024-06-05 16:53:43 -05:00
Steven R. Loomis
f156a7264d feat(core): generator in core/src for util_normalize_table.h
- temporary header file generated by wasm during build
- built using icu
- test_unicode verifies the contents and synchronization with running ICU.
- this is used by util_normalize to provide normalization properties under wasm without needing to include ICU.

Fixes: #9467
2024-06-05 15:47:20 -05:00
Keyman Server
dee2328560
Merge pull request #11697 from keymanapp/auto/version-master-18.0.50
auto: increment master version to 18.0.50
2024-06-05 11:07:45 -07:00
Keyman Build Agent
d88b415891 auto: increment master version to 18.0.50 2024-06-05 14:07:12 -04:00
Eberhard Beilharz
0de2b8819a
Merge pull request #11695 from keymanapp/fix/linux/apiverification
fix(linux): remove debug output and re-enable failures
2024-06-05 09:29:28 +02:00
Eberhard Beilharz
c562d889a4
fix(linux): remove debug output and re-enable failures 2024-06-05 09:27:05 +02:00
Eberhard Beilharz
b87cd7192a
Merge pull request #11694 from keymanapp/fix/linux/apiverification
fix(linux): specify path with package name
2024-06-05 09:15:05 +02:00
Eberhard Beilharz
e5945b7835
Merge pull request #11679 from keymanapp/fix/common/11676_ParamValueInOutput
fix(common): correctly display result of multiple option parameters in builder
2024-06-05 09:07:59 +02:00
Eberhard Beilharz
b413b3e0dd
fix(linux): specify path with package name 2024-06-05 08:03:21 +02:00
Joshua A. Horton
c91ffb95cd fix(common): better error-code capture 2024-06-05 13:03:13 +07:00
Joshua Horton
e2e8ed3491
change(common): emit error-code on retry fail
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-06-05 12:46:14 +07:00
Joshua A. Horton
950b2780c3 change(web): converts correction-search to use of async generator 2024-06-05 12:30:19 +07:00
Joshua A. Horton
cb0a60165c change(common): updates esbuild to 0.18.9 2024-06-05 12:09:53 +07:00
Joshua A. Horton
8ee60ff457 change(web): restore optional-member use (unneeded change) 2024-06-05 11:35:00 +07:00
Joshua A. Horton
b79335c772 fix(web): get row-height for flick configuration after performing layout
Fixes #11650
2024-06-05 11:32:10 +07:00
Joshua Horton
b63acb156f
Merge pull request #11685 from keymanapp/fix/web/predictions-after-move
fix(web): revert #11598 to eliminate use of `finalInput` which caused crash after moving caret
2024-06-05 11:30:25 +07:00
Marc Durdin
93ba57dcd8 chore(common): move CLDR import copy into build step for common/web/types
The CLDR imports are copied into the build/ folder, so it makes more
sense for them to be done during the build phase, particularly as it is
a very quick operation. (Before this, removing the build/ folder did not
trigger a build.sh configure, so subsequent tests and usage will fail
with confusing LDML import errors. An alternative solution would have
been to declare the configure output to be one of these files.)
2024-06-05 10:53:44 +07:00
Marc Durdin
9c204ea071 fix(common): import EventEmitter only instead of all events in parser.js
When importing all of events with:

    import * as events from 'events';

tsc for kmc-ldml (but not for common/web/types) would error with:

    ../../../common/web/types/build/src/deps/xml2js/parser.d.ts:17:25 - error TS2306: File '.../node_modules/@types/node/events.d.ts' is not a module.

    17 import * as events from "node/events.js";

I am not clear why. Changing to the following side-stepped this:

    import { EventEmitter } from 'events';
2024-06-05 10:07:37 +07:00
Joshua A. Horton
d6f05323f8 fix(web): fix predictions after moving caret
Fixes: #11684
Fixes: KEYMAN-WEB-KR
Fixes: #11620
Fixes: KEYMAN-WEB-KT
2024-06-05 08:41:27 +07:00
Steven R. Loomis
0665d82d3f
Merge branch 'master' into feat/core/9467-devolve-norm-to-js3-epic-ldml 2024-06-04 16:38:21 -05:00
Keyman Server
c755353d7a
Merge pull request #11682 from keymanapp/auto/version-master-18.0.49
auto: increment master version to 18.0.49
2024-06-04 11:08:07 -07:00
Keyman Build Agent
3f3e5c463a auto: increment master version to 18.0.49 2024-06-04 14:07:28 -04:00
Eberhard Beilharz
d0bf476891
Merge pull request #11681 from keymanapp/fix/linux/apiverification
fix(linux): try a different way
2024-06-04 19:49:59 +02:00
Eberhard Beilharz
9855bb3941
fix(linux): try a different way 2024-06-04 19:48:25 +02:00
Steven R. Loomis
fdb2e95d20 feat(core): build improvements for --update-unicode option
Fixes: #9467
2024-06-04 12:26:00 -05:00
Steven R. Loomis
e9673867fa feat(core): speedup NFD boundary table
- use RLE encoding, thanks @mcdurdin
- much smaller table and faster lookup

Fixes: #9467
2024-06-04 12:23:16 -05:00
Steven R. Loomis
7fbeea85cc Merge remote-tracking branch 'upstream/master' into feat/core/9467-devolve-norm-to-js3-epic-ldml 2024-06-04 11:15:31 -05:00
Steven R. Loomis
53a6638a70 feat(core): generate and use static table in wasm for NFD boundary
- add core/tools build tree with custom targets
- add to core/build.sh to generate nfd_table.h
- test_unicode to validate Unicode version and compare NFD to actual ICU
- currently, linear search of the table.
2024-06-04 11:15:17 -05:00
Eberhard Beilharz
5beee3a91a
Merge pull request #11680 from keymanapp/fix/linux/apiverification
fix(linux): add more debug output
2024-06-04 17:25:01 +02:00
Eberhard Beilharz
7abbaac740
fix(linux): more debug output 2024-06-04 17:21:16 +02:00
Eberhard Beilharz
d52de2d878
docs(linux): Update description of deb-packaging.sh 2024-06-04 16:38:11 +02:00
Eberhard Beilharz
0de84b69c1
fix(common): output correct parameter values
Previously with the right number of parameters that take values and the
right order it could happen that a parameter value got replaced by an
action when the script output the parameters. This change fixes this.

Fixes: #11676
2024-06-04 16:34:03 +02:00
Eberhard Beilharz
4190510c65
fix(common): output actual script name instead of build.sh
Until now we always output `build.sh` as script name even when the
actual script was named differently. This change improves this.
2024-06-04 16:33:57 +02:00
Steven R. Loomis
b7de602ed3
Merge pull request #11572 from keymanapp/test/core/10183-clarify-unicode-test
test(core): clarify output of test_unicode
2024-06-04 08:44:39 -05:00
Nnyny
983aea1ba5 add context/new-model-project-parameters 2024-06-04 14:48:10 +07:00
Joshua Horton
105de3b093 change(ios): move location of method definition 2024-06-04 09:34:42 +07:00
Joshua Horton
a9cd9c9182 chore(ios): remove dead Swift-side keyboard gesture code 2024-06-04 09:34:42 +07:00
Joshua Horton
9895ef0bcc Merge branch 'master' into chore/ios/enable-webview-debugging 2024-06-04 09:33:23 +07:00