Commit graph

24978 commits

Author SHA1 Message Date
Steven R. Loomis
1fe6f497f7 feat(developer): VARification steps 🙀
For: #7377
2023-05-27 22:08:16 -05:00
Steven R. Loomis
ca602385b3 feat(developer): vars: hooray for more errors 🙀
For: #7377
2023-05-27 17:01:10 -05:00
Keyman Server
733363a69d
Merge pull request #8865 from keymanapp/auto/version-master-17.0.114
auto: increment master version to 17.0.114
2023-05-27 01:02:54 +07:00
Keyman Build Agent
0b5e47cd93 auto: increment master version to 17.0.114 2023-05-26 14:02:19 -04:00
Marc Durdin
62b41d385c
Merge pull request #8856 from keymanapp/chore/developer/remove-seterror
chore(developer): remove SetError macro
2023-05-26 18:43:33 +10:00
Marc Durdin
18c4ac5bb2
Merge pull request #8850 from keymanapp/refactor/developer/wasm-compiler-interface
refactor(developer): compiler interface part 1 for wasm
2023-05-26 18:43:24 +10:00
Eberhard Beilharz
aa93e97e39
Merge pull request #8859 from keymanapp/fix/android/build.sh
fix(android): Fix typo in build-utils.sh
2023-05-26 10:20:06 +02:00
Eberhard Beilharz
31d0ac5765
Merge pull request #8860 from keymanapp/docs/android/doc
docs(android): Update documentation for building Android on Linux
2023-05-26 10:19:35 +02:00
Eberhard Beilharz
654034791f
Update android/README.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-05-26 10:19:20 +02:00
Joshua A. Horton
60a4a88af3 fix(web): input-processor unit test - param missing 2023-05-26 15:19:19 +07:00
Keyman Server
a413f389f8
Merge pull request #8862 from keymanapp/auto/version-master-17.0.113
auto: increment master version to 17.0.113
2023-05-26 01:02:32 +07:00
Keyman Build Agent
4f9f4fa146 auto: increment master version to 17.0.113 2023-05-25 14:01:53 -04:00
Eberhard Beilharz
b80fdf88ca
docs(android): Fix documentation for building Android on Linux 2023-05-25 12:45:22 +02:00
Eberhard Beilharz
c61535d56a
fix(android): Fix build-utils.sh 2023-05-25 12:44:03 +02:00
Joshua Horton
011c0eacfa
Merge pull request #8820 from keymanapp/fix/web/attached-control-fonts
fix(web): font management for attached controls 🧩
2023-05-25 15:17:26 +07:00
Joshua Horton
dcd2eab087
Merge pull request #8818 from keymanapp/feat/web/browser-context-unit-testing
feat(web): browser-focus unit testing 🧩
2023-05-25 15:17:19 +07:00
Joshua Horton
3655b9c3dc
Merge pull request #8816 from keymanapp/fix/web/app-browser-compilation
fix(web): first-draft, usable build for module-based app/browser 🧩
2023-05-25 15:17:11 +07:00
Joshua Horton
0e05a51481
Merge pull request #8854 from keymanapp/fix/common/models/pred-text-srcmaps
fix(common/models): predictive-text sourcemapping linkage
2023-05-25 15:17:03 +07:00
Marc Durdin
a92917f947 chore(developer): replace cwrap wasm bindings
This moves the remainder of the WASM interfaces in kmcmplib to using
emscripten bind. It is a little bit of a step backwards at present for
parseUnicodeSet, because I've changed the output buffer type to an int
for the purposes of simplifying the binding just now. But that can be
improved later, and at least we are consistent with the binding methods.

Next step is to move the filesystem access out of kmcmplib.
2023-05-25 12:54:27 +07:00
Marc Durdin
d0083e984d
Merge pull request #8796 from keymanapp/refactor/developer/kmcmplib-fs-agnostic
refactor(developer): move file write out of WriteCompiledKeyboard and CompileKeyboard merge
2023-05-25 14:06:51 +10:00
Joshua A. Horton
8dd323495e chore(web): pulls forward reconnection to test.sh 2023-05-25 10:31:02 +07:00
Joshua A. Horton
6e54067483 chore(web): Merge branch 'fix/web/attached-control-fonts' into fix/web/dom-keyevent-recorder 2023-05-25 10:29:05 +07:00
Joshua A. Horton
7af9ff0354 chore(web): Merge branch 'feat/web/browser-context-unit-testing' into fix/web/attached-control-fonts 2023-05-25 10:22:48 +07:00
Joshua A. Horton
3705d847c1 chore(web): addresses PR review concerns 2023-05-25 10:18:51 +07:00
Joshua A. Horton
372b912c91 change(web): run tests before throwing 'incomplete' build error 2023-05-25 10:01:34 +07:00
Joshua A. Horton
e39e0c2d33 chore(web): Merge branch 'fix/web/app-browser-compilation' into feat/web/browser-context-unit-testing 2023-05-25 09:53:09 +07:00
Joshua A. Horton
bd74e66aa0 chore(web): applies review suggestions 2023-05-25 09:48:05 +07:00
Joshua A. Horton
cb8f380efd fix(web): drops file accidentally pulled too far forward 2023-05-25 09:36:22 +07:00
Joshua A. Horton
6d1a0b15ae fix(web): reverts prop name update 2023-05-25 09:10:02 +07:00
Marc Durdin
50186e986e chore(developer): remove SetError macro
The `SetError` macro emitted `return FALSE;` which was confusing for
reviewing code flow. Replaced with explicit `AddCompileMessage()` and
`return FALSE;`.
2023-05-25 09:03:22 +07:00
Marc Durdin
ef101d746c chore(developer): address review comments 2023-05-25 08:24:09 +07:00
Joshua A. Horton
bc51f813e2 fix(common/models): predictive-text sourcemap fix 2023-05-24 15:47:23 +07:00
Keyman Server
d604e49844
Merge pull request #8852 from keymanapp/auto/version-master-17.0.112
auto: increment master version to 17.0.112
2023-05-24 14:50:07 +07:00
Keyman Build Agent
bc91a96ea7 auto: increment master version to 17.0.112 2023-05-24 03:49:31 -04:00
Eberhard Beilharz
e41f4c9140
Merge pull request #8849 from keymanapp/chore/linux/gha
chore(linux): Add missing dependency to GHA
2023-05-24 09:08:56 +02:00
Marc Durdin
cdf5f7a7c4 chore(developer): consolidate 'extra' field for FILE_KEYBOARD
FILE_KEYBOARD is a structure used in multiple libraries and languages.
It is passed around between kmcmplib, kmcmpdll, and kmcomp, with three
separate definitions (kmcmplib/compfile.h, kmcmpdll/compfile.h, and
kmcomp/compile.pas). These duplicate definitions must be maintained for
now because of type issues between the legacy kmcmpdll and kmcmplib,
which means that the definitions must be kept in sync.

Because FILE_KEYBOARD_EXTRA has a C++ class in it, it will be
initialized in CompileKeyboardHandle rather than in the caller, so
FILE_KEYBOARD.extra is now a pointer rather than a struct.

When original kmcomp and kmcmpdll are eventually removed, these
duplications will disappear and some of the memory management and
lifecycle will become easier to manage.
2023-05-24 12:14:41 +07:00
Eberhard Beilharz
a7c3c54b2b
Merge pull request #8509 from keymanapp/feat/linux/4273-wayland-systemd
feat(linux): Add dbus system service
2023-05-23 16:26:31 +02:00
Eberhard Beilharz
1823e1febb
feat(linux): Address code review comments 2023-05-23 11:48:58 +02:00
Joshua A. Horton
2135ffd197 chore(web): removes 'not yet complete' build warning 2023-05-23 15:37:02 +07:00
sgschantz
144f4e0b4f added KMActionOperation to batch text inserts and deletes; improved context updates 2023-05-23 15:34:05 +07:00
Eberhard Beilharz
29a35f1b31
chore(linux): Add missing dependency to GHA
Since we reference `sourcepackage` in the upload-to-llso step it
should be listed in the `needs` list.
2023-05-23 10:27:40 +02: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
aa96359f05 chore(web): Merge branch 'feature-esmodule-web-engine' into fix/web/app-browser-compilation 2023-05-23 14:27:59 +07:00
Joshua Horton
0c5351a2fd
Merge pull request #8813 from keymanapp/refactor/web/alerts-and-waits
refactor(web): util.alert() & util.wait() modularization 🧩
2023-05-23 14:26:06 +07:00
Joshua A. Horton
c15d091427 chore: base-repo tsconfig cleanup attempt 2023-05-23 13:21:18 +07:00
Joshua A. Horton
cc5f8d7172 chore(web): removes engine/namespaced-main 2023-05-23 13:17:55 +07:00
Joshua A. Horton
2d6f80f2c9 chore(web): resolves domOverrides.ts 2023-05-23 13:12:02 +07:00
Joshua A. Horton
d436639ae4 chore(web): decommisions domManager.ts, kmwkeyboards.ts 2023-05-23 13:11:52 +07:00
Joshua A. Horton
e54b63aa6e fix(web): deferred add kbd by lang, restoration of prev-session kbd 2023-05-23 13:00:00 +07:00
Joshua A. Horton
3822b57aa2 fix(web): setActiveOnRegister option use 2023-05-23 12:59:06 +07:00