Commit graph

33096 commits

Author SHA1 Message Date
Eberhard Beilharz
d615659d5e
chore(linux): Address code review comments 2023-06-01 19:14:17 +02:00
Eberhard Beilharz
980b857b1e
Merge pull request #7989 from keymanapp/feat/linux/StackSidebar
feat(linux): Implement Options page and option to disable Sentry error reporting
2023-06-01 18:48:56 +02:00
Marc Durdin
7301281247 chore(developer): loadFile callback error check and optimization
Fixes #8885.

Adds some optimization and error checking to the loadFile callback in
kmc-kmn. Also handles case of zero-byte bitmap file so we won't crash on
it.
2023-06-01 15:31:31 +07:00
Marc Durdin
c3458d040c refactor(developer): move filename consistency check to kmc
kmcmplib no longer has any filesystem access, so it cannot verify if a
referenced filename in a source file has the same case as the actual
filename on disk (a risk when moving projects between platforms). So
I opted to move this to the `loadFile` callback in kmc, which is the
only place where filesystem is actually accessed, and added
corresponding unit test.

Small additional fixes here:

1. Move from `Buffer` to `Uint8Array` in all kmc-* modules, so that we
   remove that barrier to running on web.
2. Use `callbacks.loadFile` instead of `callbacks.fs.readFileSync`, so
   that we can be sure to run the filename consistency check.
3. Fixed kps parser silently swallowing xml errors on load.
4. Added silent mode to NodeCompilerCallbacks so we could cleanly test
   the new filename consistency hint.
5. Noted a location where we still have NodeJS deps in kmc-ldml.
2023-06-01 15:11:38 +07:00
Joshua A. Horton
75058eb623 chore(web): updates per PR review 2023-06-01 15:04:49 +07:00
Joshua A. Horton
c95ba9d94d fix(common/models): missing lm-worker dependencies 2023-06-01 14:53:50 +07:00
Marc Durdin
d59d544406
Merge pull request #8894 from keymanapp/fix/common/npm-pack-publish-with-node-18
fix(common): tweak pack/publish support for npm 9.5.1 and node 18.16.0
2023-06-01 16:17:23 +10:00
Joshua A. Horton
47f47a05c9 fix(developer): forgot a path component 2023-06-01 12:18:15 +07:00
Joshua A. Horton
0d814c65aa chore(developer): attempt #1 to fix dev build, KMW integration 2023-06-01 11:36:29 +07:00
Joshua A. Horton
4658fa0f86 feat(web): keyman.views anchorpoint for OSK classes 2023-06-01 11:35:06 +07:00
sgschantz
c40d24a727 fixed linker settings for unit tests 2023-06-01 10:33:06 +07:00
Joshua A. Horton
c5f527c204 chore(web): cleans up temp time-profiling code for the lm-worker 2023-06-01 08:54:47 +07:00
Joshua A. Horton
645ddcf8ff change(web): enables invisible identifier minification 2023-06-01 08:48:59 +07:00
Joshua A. Horton
5e668e1567 change(web): worker-embedding via JSON.stringify 2023-06-01 08:48:04 +07:00
sgschantz
7d7fc2e7bc fix or disable failing unit tests 2023-06-01 08:34:31 +07:00
Marc Durdin
c5bd761190 chore(ios): replace fv cert 2023-06-01 07:07:00 +07:00
Marc Durdin
c3ecae4e98 refactor(developer): rearrange kmcmplib interface source
Fixes #8889.

No code changes, just moves WASM interfaces into
CompilerInterfacesWasm.cpp, and CompileKeyboardHandle is renamed to
CompileKeyboardBuffer and moved into its own source file.
2023-06-01 05:29:19 +07:00
Marc Durdin
717b1eea98
chore: Apply code review suggestion
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2023-06-01 08:04:34 +10:00
Marc Durdin
9d351f4798 chore(developer): verify kvks files and report errors
Fixes #8886.

.kvks compiler now returns helpful errors for xml parse failures and
schema validation errors, and for invalid virtual key codes. Introduces
extra infrastructure for reporting and unit testing messages to kmc-kmn.

This also fixes unhandled xml load exceptions and simplifies the error
reporting coming out of the kvks loader, on the basis that only one type
of error was being reported anyway.
2023-06-01 05:02:26 +07:00
Marc Durdin
e2930fa080 chore(developer): fix npm pack for kmc-ldml 2023-06-01 05:02:25 +07:00
Marc Durdin
6f4f20acb8 chore(developer): Add TODO issue numbers to PR 2023-06-01 05:02:24 +07:00
Marc Durdin
47c8a95fb0 refactor(developer): complete fs move out of kmcmplib
* Moves filesystem access out of kmcmplib into kmc-kmn
* Adds filesystem access callback to kmcmplib unit tests
* Cleans up callback interface through wasm
* Adds unit tests for various file load scenarios
* Removes nodefs dependency from kmcmplib wasm build, and removes
  corresponding path mappings which were previously required for wasm
  builds; note that these are still present for the unit tests for
  kmcmplib.
2023-06-01 05:02:23 +07:00
Marc Durdin
980b893644 refactor(developer): move fs for kmn load to caller 2023-06-01 05:02:22 +07:00
Marc Durdin
378465e2c6
Merge pull request #8882 from keymanapp/refactor/developer/kmcmplib-no-fs
refactor(developer): complete fs move out of kmcmplib
2023-06-01 08:00:31 +10:00
Keyman Server
34869cc163
Merge pull request #8898 from keymanapp/auto/version-master-17.0.115
auto: increment master version to 17.0.115
2023-06-01 01:03:34 +07:00
Keyman Build Agent
bbdcb1d5df auto: increment master version to 17.0.115 2023-05-31 14:02:54 -04:00
Sabine
58962db9ef feature(Linux): mcompile mor TODOs in Readme.md 2023-05-31 17:59:08 +02:00
Sabine
da4e716383 feature(Linux): mcompile ToDo added; remove old file 2023-05-31 17:43:10 +02:00
Eberhard Beilharz
fa66b42410
feat(linux): Add column for installation location
Closes #8631.
2023-05-31 17:40:35 +02:00
Sabine
8a2f053d4d feature(Linux): mcompile write some functions to get map and test 2023-05-31 17:30:25 +02:00
Sabine
802617b50a feature(Linux): mcompile change readme 2023-05-31 15:19:08 +02:00
Marc Durdin
4b0f4e9c51
chore: Update resources/build/build-utils-ci.inc.sh 2023-05-31 19:12:20 +10:00
Marc Durdin
bb675730a2 fix(common): tweak pack/publish support for npm 9.5.1 and node 18.16.0
The npm version command started failing when we updated to node 18.16.0,
and it looks like it is related to the version numbers. This makes the
pack file mangling idempotent and applies it to all package.json files
in the repository.
2023-05-31 15:59:56 +07:00
Joshua A. Horton
fa1d7f723c docs(web): better comments in lm-worker build-bundler 2023-05-31 15:54:12 +07:00
Joshua A. Horton
5e93bb0189 feat(web): writes profile logs to file, outputs within new /web/build/profiling folder 2023-05-31 15:51:50 +07:00
Sabine
2a2455c78e feature(Linux): mcompile use US basic instead of US intl 2023-05-31 10:28:40 +02:00
Joshua A. Horton
c7be7a1bcb feat(common/models): profile for lm-worker pre-polyfill 2023-05-31 15:27:43 +07:00
Joshua A. Horton
d706c5c46a feat(web): adds filesize profiling to CI build logs 2023-05-31 15:27:43 +07:00
Joshua A. Horton
1fb8190726 fix(web): restores bulk_rendering tool 2023-05-31 15:24:12 +07:00
Sabine
441ab38903 feature(Linux): mcompile changes in keymap -> read/write 2023-05-31 10:14:17 +02:00
Joshua Horton
9fe489d5d1
Merge pull request #8837 from keymanapp/change/web/sample-page-rework
change(web): rework of KMW sample pages; offers differing site-layout examples 🧩
2023-05-31 13:52:48 +07:00
Joshua Horton
d04a1b4f03
Merge pull request #8873 from keymanapp/chore/web/build-output-refinement
chore(web): refines KMW build output organization 🧩
2023-05-31 13:52:39 +07:00
Joshua Horton
76a05a2dab
Merge pull request #8830 from keymanapp/chore/web/build-config-cleanup
fix(web): build config cleanup, Safari & mobile-device bugfixes (thanks to CI checks) 🧩
2023-05-31 13:52:32 +07:00
Eberhard Beilharz
f711eaea8c
Merge pull request #8864 from keymanapp/chore/linux/8712_build.sh
chore(linux): Move build steps to build.sh
2023-05-31 08:16:34 +02:00
Marc Durdin
8edd656edb
Merge pull request #8874 from keymanapp/chore/developer/move-kb-repo-fixtures
chore(developer): move keyboard repo fixtures
2023-05-31 13:28:42 +10:00
Marc Durdin
92278250d5
Merge pull request #8870 from keymanapp/chore/developer/refactor-kmcmplib-interfaces
chore(developer): refactor kmcmplib interfaces
2023-05-31 13:28:30 +10:00
Marc Durdin
8b89ddca5a
Merge pull request #8857 from keymanapp/chore/developer/replace-cwrap-with-bind
chore(developer): replace cwrap wasm bindings
2023-05-31 13:28:21 +10:00
Marc Durdin
7ccd8bed4f chore(developer): fix npm pack for kmc-ldml 2023-05-31 10:24:32 +07:00
Joshua A. Horton
edfa31e7c8 fix(web): stops creation of empty subdir 2023-05-31 10:09:28 +07:00
Joshua Horton
1325135149
Merge pull request #8867 from keymanapp/feature-gestures-update-a17s14-start
chore(web): update feature-gestures branch to latest master (A17S14 start) 🐵
2023-05-31 10:00:14 +07:00