Commit graph

33096 commits

Author SHA1 Message Date
Marc Durdin
ab80e3c292 fix(developer): LexicalModelCompiler now takes a callbacks constructor parameter 2023-07-19 15:14:08 +07:00
Joshua A. Horton
d31118c63d fix(web): allows registering precached keyboards 2023-07-19 14:21:59 +07:00
Marc Durdin
e731e1acb5 fix(developer): don't add .keyboard_info twice
Fixes #9302.
2023-07-19 14:13:41 +07:00
Marc Durdin
fd8e17e05c fix(developer): respect checkFilenameConventions in kmc
Fixes #9300.
2023-07-19 13:56:21 +07:00
Marc Durdin
79a31b1914 fix(developer): clean up warning KM02093
Fixes #9299.
2023-07-19 12:57:57 +07:00
Marc Durdin
bf1fa7ef71 fix(developer): use relative paths for KM05009
Fixes #9298. Previous commit partially fixed this as well.

Throws in: warning colour changed to orange to differentiate from line
number colour.
2023-07-19 12:56:49 +07:00
Marc Durdin
db2f708bf8 fix(developer): consistently show filename for messages in kmc
Fixes #9297.
2023-07-19 12:56:11 +07:00
Marc Durdin
0ec7ae8ccf fix(developer): reduce KM0208A to info severity
Fixes #9296.

208A in kmcmplib is the awkwardly-named CWARN_Info. We now have an
'info' severity in kmc, so this tidies that up (we can keep the same
flag in kmcmplib for now).
2023-07-19 12:54:20 +07:00
Joshua A. Horton
230ede74f7 fix(web): cherrypicked code generic mismatch 2023-07-19 12:04:30 +07:00
Steven R. Loomis
a70bf69082
Merge pull request #9292 from keymanapp/spec/core-7375-maps-epic-ldml 2023-07-18 23:30:03 -05:00
Joshua A. Horton
3bf13f610b feat(web): adds 'allowsInitialState' prop to ContactModel 2023-07-19 10:25:58 +07:00
Joshua A. Horton
10df059728 chore(web): Merge branch 'feat/web/gesture-path-matching' into chore/web/gesture-unit-test-touchup 2023-07-19 10:23:58 +07:00
Joshua A. Horton
d0d19b8f56 change(web): lower-level model/matcher result spec shift 2023-07-19 10:22:42 +07:00
Joshua A. Horton
8119a9baea chore(web): Merge branch 'feat/web/gesture-path-matching' into chore/web/gesture-unit-test-touchup 2023-07-19 09:39:01 +07:00
Joshua A. Horton
689a9ebf9a chore(web): Merge branch 'chore/web/ci-gesture-testing' into feat/web/gesture-path-matching 2023-07-19 09:28:32 +07:00
Joshua A. Horton
201985d673 chore(web): also pulls up the timeoutPromise unit-test fix 2023-07-19 08:30:11 +07:00
Joshua A. Horton
30c23760ae chore(web): connects gesture-recognizer tests for Web CI testing 2023-07-19 08:19:52 +07:00
Ross
7560927dca fix(windows): open pdf in an external browser
When opening a local pdf with the CEF module it causes prompt to
install an extension. This change opens the local pdf in a
browser in the same way the external pdf and webpages
are loaded.
2023-07-19 10:51:50 +10:00
Steven R. Loomis
bc378dcac6 feat(core): move transform processing to u32 🙀
- merge code paths…

#7375
2023-07-18 19:16:23 -05:00
Steven R. Loomis
1436d30990 spec(core): minor fix to tran spec 🙀
- mapFrom / mapTo are actually strings
2023-07-18 18:40:36 -05:00
Eberhard Beilharz
35ee5b7549
docs(linux): Update man page for ibus-engine-keyman
Change the man page to reflect the actual options.
2023-07-18 20:29:01 +02:00
Eberhard Beilharz
bc4b1fd19f
chore(linux): Remove do-nothing option --verbose
`ibus-engine-keyman` accepted a `--verbose` and `-v` command line
option which didn't do anything. Instead this change adds a comment
explaining how to get more verbose output.
2023-07-18 20:21:26 +02:00
Sabine
52c115b847 feat(linux): mcompile SetKeyboardToPositional opened/included 2023-07-18 19:15:46 +02:00
Sabine
c429941d03 feat(linux): mcompile open DoConvert in mcompile which starts DoConvertPart1 and DoConvertPart2 2023-07-18 18:35:19 +02:00
Sabine
f4ed97fc8c feat(linux): mcompile mcompile starts keymap 2023-07-18 17:55:03 +02:00
Sabine
dd2322abff feat(linux): mcompile add wcouts 2023-07-18 12:06:06 +02:00
Sabine
b254f9b4eb feat(linux): mcompile mcompile.cpp starts keymap 2023-07-18 12:02:21 +02:00
Sabine
88e3f16b2c feat(linux): mcompile meson add files 2023-07-18 11:58:29 +02:00
Marc Durdin
11b68542f2 refactor(developer): remove node deps from kmc-model
Fixes #9288.

Tweaks a couple of unit tests to ensure callbacks are available, and
stops masking exceptions in one test with `doesNotThrow`... if it's
gonna throw then the test is gonna go bang anyway.
2023-07-18 14:38:47 +07:00
Marc Durdin
e2dc338ef1 refactor(developer): remove node dependencies from kmc-model-info
Fixes #9286.

Refactors the use of path and fs into the standard kmc callbacks pattern
and adds `callbacks.fileSize()`, which is needed for populating the
metadata file.

Turns on eslint test for node dependencies for kmc-model-info.
2023-07-18 14:02:04 +07:00
Marc Durdin
b6ba229790 chore(developer): ensure schemas are built 2023-07-18 13:43:25 +07:00
Marc Durdin
1c2704cd68
Merge branch 'feat/developer/add-model-info-keyboard-info-to-kmc-build-activities' into chore/developer/9272-work-around-experimental-json-modules 2023-07-18 16:07:29 +10:00
Marc Durdin
90434b0bb4
Merge branch 'feat/developer/kmc-model-info-tests' into feat/developer/add-model-info-keyboard-info-to-kmc-build-activities 2023-07-18 16:07:19 +10:00
Marc Durdin
bd3c663f21 chore(developer): work around line endings for fixture 2023-07-18 13:06:39 +07:00
Marc Durdin
88e216d017 chore(developer): work around experimental JSON modules in node
Fixes #9272.

Credit to @srl295.
2023-07-18 12:51:15 +07:00
Marc Durdin
908f5c2470 chore(developer): account for .keyboard_info in .kpj test 2023-07-18 12:34:42 +07:00
Marc Durdin
0e65d7703c feat(developer): add model_info and keyboard_info build activities to kmc
Adds ability to build .model_info and .keyboard_info files to kmc. Note
that .keyboard_info building is currently a stub as the .keyboard_info
compiler has not yet been translated to TypeScript, which will come in a
subsequent PR.

Note that .model_info and .keyboard_info builds depend on the project
loader, as they reference both keyboard and package source files when
constructing the metadata files.

Also:
* Fixed a deep reference to KeymanDeveloperProjectFile.
* Split the project loader into a utility unit.
* Marked the .kpj fileType field as deprecated, as it is easily
  extrapolated from the filename, with the aim to remove it entirely
  from version 2.0 projects.

@keymanapp-test-bot skip
2023-07-18 12:14:46 +07:00
Marc Durdin
0e5204b2fc feat(developer): unit tests for kmc-model-info
Establishes a baseline unit test for kmc-model-info, in preparation for
integration into kmc build.
2023-07-18 11:51:46 +07:00
Joshua A. Horton
321c88578f chore(web): Merge branch 'feat/web/gesture-path-matching' into chore/web/gesture-unit-test-touchup 2023-07-18 09:51:30 +07:00
Joshua A. Horton
0c7340129a fix(web): unit-test workaround for node setTimeout 1ms-early bug 2023-07-18 09:48:21 +07:00
Keyman Server
c170dd12b3
Merge pull request #9278 from keymanapp/auto/version-master-17.0.143
auto: increment master version to 17.0.143
2023-07-18 01:02:46 +07:00
Keyman Build Agent
5f6eff322c auto: increment master version to 17.0.143 2023-07-17 14:02:03 -04:00
Eberhard Beilharz
ff77b51ce6
docs(linux): Update documentation
- fix docker packaging command
- add option to run only unit tests to `tasks.json`
2023-07-17 18:40:30 +02:00
Sabine
4b653d30b3 feat(linux): mcompile KMX_saveKeyboard, KMX_WriteCompiledKeyboard 2023-07-17 13:48:19 +02:00
Sabine
99f6f7d695 feat(linux): mcompile edit Readme.h 2023-07-17 13:19:18 +02:00
Marc Durdin
60b804256f
Merge pull request #9276 from keymanapp/fix/developer/9274-warning-suppression-per-file
fix(developer): warning suppression should be per file in kmc 🗜
2023-07-17 15:49:56 +10:00
Marc Durdin
85c740a940
Merge pull request #9273 from keymanapp/feat/developer/9162-file-lists-in-kmc
feat(developer): support file lists in kmc
2023-07-17 15:49:47 +10:00
Marc Durdin
3a82951846
Merge pull request #9271 from keymanapp/chore/developer/cleanup-kmc-build
chore(developer): remove old copy_schema call kmc build.sh
2023-07-17 15:49:37 +10:00
Marc Durdin
5c1ded3550
chore: Update developer/src/kmc/src/commands/build.ts 2023-07-17 15:49:26 +10:00
Joshua A. Horton
938c3e21ba chore(web): Merge branch 'feat/web/gesture-path-matching' into chore/web/gesture-unit-test-touchup 2023-07-17 12:27:49 +07:00