Commit graph

4544 commits

Author SHA1 Message Date
Joshua A. Horton
6d1a0b15ae fix(web): reverts prop name update 2023-05-25 09:10:02 +07:00
Joshua A. Horton
bc51f813e2 fix(common/models): predictive-text sourcemap fix 2023-05-24 15:47:23 +07:00
Marc Durdin
d1d6dc5d99 refactor(developer): compiler interface part 1 for wasm
This starts the refactor of the .kmn compiler interfaces for WASM,
moving more file writes into typescript and out of the compiler. Adds a
cleaner binding and structures for passing compile metadata back to
typescript for additional build steps (e.g. kvk, js builds).

Will rebase the Typescript-based KMW compiler onto this so it can start
to benefit from the refactoring.

* Fixes a minor issue with loading a .kvks file with an empty flags set.
* Adds a writeFileSync method to the compiler callback interfaces.
* Adds an e2e compiler test to verify that .kmx and .kvk are both
  correctly compiled.
2023-05-23 15:26:28 +07:00
Joshua A. Horton
2d6f80f2c9 chore(web): resolves domOverrides.ts 2023-05-23 13:12:02 +07:00
Joshua A. Horton
6ffd4a4c89 chore(web): Merge branch 'feature-esmodule-web-engine' into refactor/web/alerts-and-waits 2023-05-23 11:55:30 +07:00
Joshua A. Horton
2fe0d3c33a chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/hardware-event-keyboard 2023-05-23 11:50:54 +07:00
Marc Durdin
e4cfc8843c chore: Merge branch 'master' into feat/typescript-keymanweb-compiler 2023-05-23 09:51:06 +07:00
Joshua A. Horton
ca894d0991 chore(web): Merge branch 'master' into chore/web/merge-master-esmodule-a17s13-mid 2023-05-22 13:49:45 +07:00
Joshua A. Horton
48c8fa3324 fix(web): sticky desktop-OSK CAPS 2023-05-22 11:32:51 +07:00
Joshua A. Horton
a5a4a4018f fix(web): content-editable issues re: CKEditor 2023-05-22 11:32:48 +07:00
Steven R. Loomis
518fcd8fc2 feat(developer): tran: compiler path complete 🙀
- still doesn't actually precompile vars or regex

For: #7377
2023-05-19 19:09:44 -05:00
Steven R. Loomis
3165eae0ea feat(developer): tran: verify steps 🙀
- also add function compilerEventFormat() to format an event or array of events

For: #7377
2023-05-19 13:23:05 -05:00
Joshua A. Horton
5547944991 fix(web): missed a needed .js -> .cjs 2023-05-18 08:24:20 +07:00
Steven R. Loomis
4a53bd18de feat(developer): tran: group steps 🙀
For: #7377
2023-05-17 17:29:16 -05:00
Joshua A. Horton
2e3bf2f552 fix(web): restores other test suites, aside from KMW UI modules 2023-05-17 11:46:11 +07:00
Ross
1d3fc99b28 chore(windows): Merge branch 'master' into chore/windows/5442/remove-legacy-keyman-core 2023-05-17 10:27:56 +10:00
Steven R. Loomis
d1b55ddee6 Merge remote-tracking branch 'upstream/master' into feat/developer-7377-transform-format-epic-ldml3 2023-05-16 18:10:49 -05:00
Joshua A. Horton
1999c6cc12 chore(web): reimplements keyboard-related alerts and waits 2023-05-16 10:45:03 +07:00
Joshua A. Horton
096bbeedf7 chore(web): sorts out hardware key-event construction 2023-05-16 10:43:53 +07:00
Joshua A. Horton
1308e74833 chore(web): Merge branch 'feature-esmodule-web-engine' into fix/web/webview-android-launch 2023-05-15 08:50:28 +07:00
Marc Durdin
d2581ae4a8 feat(developer): 'working' kmw compiler 2023-05-14 12:43:22 +07:00
Marc Durdin
68f97306df feat: temp commit -- kmw compiler 2023-05-14 12:42:13 +07:00
Marc Durdin
dc05daefde feat: more work on compiler 2023-05-14 12:41:18 +07:00
Marc Durdin
c1439759ca chore: temp step 1 of ts kmw 2023-05-14 12:41:17 +07:00
Steven R. Loomis
1937552f39 Merge remote-tracking branch 'upstream/master' into feat/developer-234-uset-wasm-epic-ldml 2023-05-12 08:44:19 -05:00
Joshua A. Horton
84cf3fdca5 fix(web): banner state management after predict-mode toggling 2023-05-12 14:25:21 +07:00
Joshua A. Horton
d9425bb1ff chore: Merge branch 'master' into feature-esmodule-as17s12-end-update 2023-05-12 11:53:12 +07:00
Marc Durdin
7982bd955c
Merge pull request #8729 from keymanapp/chore/developer/move-package-formats-to-common-types
chore(developer): move package formats to common/web/types
2023-05-12 12:25:19 +10:00
Steven R. Loomis
e37e4d0cd3 feat(developer): vars: binary builder 🙀
- no, not basic.txt yet…

For: #7377
2023-05-11 19:54:45 -05:00
Steven R. Loomis
cc09973874 feat(developer): vars: set validation 🙀
For: #7377
2023-05-11 18:47:48 -05:00
Steven R. Loomis
c06726ce0d feat(developer): vars: uset validation 🙀
For: #7377
2023-05-11 13:05:39 -05:00
Steven R. Loomis
7855cdc494 feat(common): add async init() to compiler sections 🙀
- lots of ripples through test and client code code
- passes all but basic.xml (some tests stubbed out still, though)
- update vars test

For: #7377
2023-05-11 10:42:20 -05:00
Steven R. Loomis
c4fe843655 feat(common,developer): remove ordr and finl, add vars 🙀
- vars tests, doesn't pass yet
- tran tests and compilers stubbed out for now

For: #7377
2023-05-11 10:41:37 -05:00
Steven R. Loomis
53d4f22d13 feat(common): initial work on ldml variables 🙀
For: #7377
2023-05-11 10:41:37 -05:00
Steven R. Loomis
6317583528 feat(developer): kmc-kmn: wasm and error message updates 🙀
developer:
- update wasm machinery in kmc-kmn to be more self contained
- improve exception situation in wasm functions

common:
- compilerErrorFormatCode() for formatting the raw code such as for tests
- compilerExceptionToString() for formatting exceptions in messages

for: #7234
2023-05-11 10:37:46 -05:00
Marc Durdin
53ccdbe241 chore(developer): move package formats to common/web/types
Package file interfaces were stored in developer/kmc-package but belong
better now in common/web/types.
2023-05-09 15:48:50 +07:00
Marc Durdin
4838ba1ffe chore: rename kmc-keyboard to kmc-ldml
Part of #8719.
2023-05-09 14:08:45 +07:00
Marc Durdin
78083c4c9a feat(developer): kmc analyze osk-char-use
Relates to keymanapp/keyboards#2172.

Adds an analysis module to kmc which initially analyses one or more
.kvks or .keyman-touch-layout files, extracting the de-duped and sorted
set of key cap strings from those files and printing them, in text,
markdown, or json format.
2023-05-09 10:06:41 +07:00
Eberhard Beilharz
b84915f745
Merge pull request #8510 from keymanapp/fix/linux/tests
fix(linux): Fix linux tests
2023-05-08 11:14:36 +02:00
Eberhard Beilharz
a7630a0265
fix(linux): Fix linux tests 2023-05-05 10:55:45 +02:00
Marc Durdin
292886479f
Merge pull request #8698 from keymanapp/chore/common/8693-set-eu-all-build-scripts
chore(common): `set -eu` in build-utils.sh
2023-05-05 13:18:52 +10:00
Marc Durdin
5eb6c68400 feat(developer): 'working' kmw compiler 2023-05-05 09:25:05 +07:00
Marc Durdin
3a0d8799e9 feat: temp commit -- kmw compiler 2023-05-05 09:25:04 +07:00
Marc Durdin
bb97953cd7 feat: more work on compiler 2023-05-05 09:25:01 +07:00
Marc Durdin
baa80b93c9 chore: temp step 1 of ts kmw 2023-05-05 09:25:00 +07:00
Marc Durdin
4a2062ecfb
fix(common): predictive-text unit_tests further builder_term fixes 2023-05-02 21:35:42 +10:00
Joshua A. Horton
b39011be73 chore(web): Merge branch 'feature-esmodule-web-engine' into fix/web/webview-android-launch 2023-05-02 16:03:40 +07:00
Joshua A. Horton
e42fa70aa8 chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/update-feature-esmodule-a17s12-start 2023-05-02 12:59:35 +07:00
Joshua A. Horton
4a2beb9a38 fix(web): model display-state issues 2023-05-02 12:53:36 +07:00
Marc Durdin
57cf6e07db chore(common): fix typo in build script 2023-05-02 12:41:38 +07:00