Commit graph

5162 commits

Author SHA1 Message Date
Joshua A. Horton
66da792319 chore(web): sets kmc-model as dependency of input-processor test action 2023-04-19 14:26:44 +07:00
Marc Durdin
66542f6323 feat(developer): use new message infrastructure in kmc-kmn
Moves to using the `reportMessage` callback for reporting all errors in
kmc-kmn.

This required some patching to common/web/types in order to get the new
constants in place and add support for line numbers to `CompilerEvent`,
so at the same time I refactored `compilerErrorSeverityName` into the
module.

After the refactor, coverage tests were failing because they included
the test/ folder, so cleaned that up at the same time.
2023-04-19 10:13:14 +07:00
Joshua A. Horton
7efcda73d7 fix(web): defines --ci for lm-worker test use 2023-04-18 10:41:52 +07:00
Joshua A. Horton
ab7c4b5e9e fix(common/models): build script fix for models/templates ci test 2023-04-18 08:26:19 +07:00
Marc Durdin
b58ac8fe4a fix(developer): package editor no longer loses RTL flag for LMs
Fixes #8595.
2023-04-18 05:40:50 +07:00
Joshua A. Horton
f37f2c868c fix(common/models): messed up an elif's syntax 2023-04-17 13:38:58 +07:00
Joshua A. Horton
30da35c5a2 fix(common): CI test-build issues for lm-layer config, other configs 2023-04-17 12:24:37 +07:00
Joshua A. Horton
89dd8d13ae fix(web): android API 21 compat issues 2023-04-17 10:25:56 +07:00
Joshua Horton
77b3b8aecd
Merge pull request #8521 from keymanapp/change/web/set-active-keyboard
change(web): modularization, refinement of setActiveKeyboard 🧩
2023-04-13 13:51:07 +07:00
Joshua A. Horton
cb73fdb05e chore(web): Merge branch 'change/web/set-active-keyboard' into fix/web/webview-android-launch 2023-04-13 13:31:07 +07:00
Joshua A. Horton
ea1be84871 chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/set-active-keyboard 2023-04-13 13:29:20 +07:00
Marc Durdin
501cf03dc2 chore(common): update description for 'build.sh pack' 2023-04-12 14:18:31 +07:00
Marc Durdin
3265a714f2 chore(common): add missing deps and files for npm publish
The build/ folder for most packages was missing due to being listed in
.gitignore.

Also, @keymanapp/ldml-keyboard-constants package was not being published
despite being a dependency of @keymanapp/kmc-keyboard.

Instead of relying on npm's use of .gitignore / .npmignore (which has
seriously wonky behaviours), we list the files that should be included
in package.json.

NPM Wonky behaviours: it seems that .npmignore causes .gitignore in the
same folder to be ignored. But, higher level .gitignore files still
affect the files included in the package, which makes
specification-by-exclusion painful (negating exclusions, etc). We do not
recommend use of .npmignore anywhere for this reason.
2023-04-12 14:05:05 +07:00
Marc Durdin
10a59f789d fix(common): support npm pack and consolidate npm publishing
Fixes #8586.

All npm publish actions in the repository are now run as part of the
Developer release build, hosted at present by kmc, until we setup a
higher-level build script to do it.

Adds a 'pack' action which mirrors 'publish' for all npm packages.

Removes unnecessary dev dependencies of models-templates and
models-wordbreakers from kmc-model.

Web Release build CI step has been updated to check for presence of
.build-builder.
2023-04-12 11:55:31 +07:00
Joshua A. Horton
7eef5699b9 chore(web): Merge branch 'master' into chore/web/master-to-esmodule-merge-a17s10 2023-04-12 09:56:48 +07:00
Joshua A. Horton
6a65421813 refactor(web): reworks keyboard-load error reporting with a clearer pattern 2023-04-12 09:46:28 +07:00
Joshua A. Horton
7b7fa52a95 chore(web): renames app/webview output, preserves name within embedding apps 2023-04-12 09:00:17 +07:00
Marc Durdin
035c447a31 chore(core): move test_assert.h and test_color.h to common 2023-04-10 15:21:45 +07:00
Joshua A. Horton
549a3d183a chore(web): missed committing one change 2023-04-10 10:54:08 +07:00
Marc Durdin
c5d79a9fb4
Merge pull request #7330 from keymanapp/feature-kmcompx
epic: kmcompx - kmcmpdll cross-platform compiler 🚑
2023-04-10 07:34:04 +10:00
Joshua A. Horton
b4fee54336 chore(web): Merge branch 'change/web/set-active-keyboard' into fix/web/webview-android-launch 2023-04-07 09:57:10 +07:00
Joshua A. Horton
3c185b3182 chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/set-active-keyboard 2023-04-07 09:54:37 +07:00
Joshua A. Horton
7f4debdfbf chore(web): restores feature-esmodule-web-engine to prior state
Revert "Merge pull request #8553 from keymanapp/revert-8549-chore/master-to-esmodule-merge-a17s9"

This reverts commit 518750f94e, reversing
changes made to 6df63eddc5.
2023-03-31 12:53:00 +07:00
Marc Durdin
787b32ba34
Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
Joshua Horton
6df63eddc5
Merge pull request #8549 from keymanapp/chore/master-to-esmodule-merge-a17s9 2023-03-31 08:51:27 +07:00
Joshua A. Horton
371f967768 fix(common/web): lm-worker --debug build fix 2023-03-30 19:03:30 +07:00
Joshua A. Horton
d5ec58c52a fix(web): lots of little connection points for actual in-app use; gets Android app functional 2023-03-29 15:31:55 +07:00
Joshua A. Horton
48610a3b43 fix(common/web): modularizes SentryManager, re-enables it 2023-03-29 09:54:24 +07:00
Joshua A. Horton
3f4fd65d07 fix(web): android debug-host page linkage 2023-03-28 14:36:58 +07:00
Joshua A. Horton
173d491d62 feat(web): initial app/webview build product 2023-03-28 12:33:04 +07:00
Joshua A. Horton
c75a4b94a3 fix(web): handling of the spacebar-text setting 2023-03-28 09:13:12 +07:00
Marc Durdin
3468a36100 chore(common): add baseline.kpj
This makes it possible to run the common/test/keyboards build.sh and
makes all the baseline keyboards available as a build artifact (but
currently only in .kmx, not .kmp; this may come as a future update.)
2023-03-28 06:50:00 +07:00
Marc Durdin
c18ef54029 refactor(common): move core baseline tests into common
Decided to use the name `baseline` for this set of tests. They can be
used by any project in the repo now. Tests will be treated as shared,
and not modified (except in the case of a buggy test).

* Moves .kmn files, add `&NAME` line (don't use meson templating for
  these files)
* Generates reference .kmx files using kmcomp for use as a baseline with
  kmcmplib (kmc) tests, and for linux tests
* Updates references in core, kmcmplib, and linux builds
* Renames all the .kmn / .kmx to use a standardized, clean name format
  (this was needed for building packages in the core tests)
2023-03-28 05:20:45 +07:00
Joshua A. Horton
e5241956d2 change(web): changes per PR review suggestions, puts ModelSpec in own source file 2023-03-27 13:18:53 +07:00
Joshua A. Horton
6682886566 chore(web): Merge branch 'change/web/webview-context-manager' into change/web/language-resource-module 2023-03-27 12:19:46 +07:00
Joshua A. Horton
2a6733600f chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/webview-context-manager 2023-03-27 12:15:25 +07:00
Joshua Horton
a14d4a4028
Merge pull request #8463 from keymanapp/refactor/common/web/prediction-context
refactor(common/web): context-swapping for PredictionContext 🧩
2023-03-27 11:56:29 +07:00
Joshua Horton
e8d05db4d3
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-27 11:56:02 +07:00
Joshua Horton
bd2bf9af24
Merge pull request #8462 from keymanapp/feat/common/web/mock-selections
feat(common/web): mocks may now model selected text 🧩
2023-03-27 11:55:03 +07:00
Marc Durdin
2a871c8165 chore(developer): publish all required npm modules 2023-03-27 11:36:21 +07:00
Steven R. Loomis
93ca0473e5 fix(developer): ldml add ABNT2 🙀
- compiles, at least

For: #8161
2023-03-24 12:49:00 -05:00
Steven R. Loomis
a474d8cbc6 fix(developer): ldml add JIS 🙀
- compiles, at least

For: #8161
2023-03-24 12:13:36 -05:00
Marc Durdin
f3f8514445 chore(developer): fix typos 2023-03-24 15:06:12 +07:00
Marc Durdin
978b93aa64 refactor(common): move keymanversion_build.in to /common/include 2023-03-24 14:42:12 +07:00
Joshua A. Horton
20567d494b chore(web/engine): Merge branch 'chore/web/update-feature-esmodule-for-configure-fix' into change/web/engine-configuration 2023-03-23 15:19:16 +07:00
Joshua A. Horton
b85087f392 chore(web): Merge branch 'master' into chore/web/update-feature-esmodule-for-configure-fix 2023-03-23 15:15:07 +07:00
Joshua A. Horton
acca3f0dbe change(web): keyboard activation as part of ContextManager, related odds and ends 2023-03-23 14:57:47 +07:00
Marc Durdin
062b947363 chore: Merge branch 'feature-kmcompx' into chore/merge-master-into-feature-kmcompx-a17s9 2023-03-23 10:08:59 +07:00
Marc Durdin
610b9b2257
Merge pull request #8464 from keymanapp/chore/windows/update-sentry-native-to-0.6.0
chore(windows): update sentry-native to 0.6.0
2023-03-22 12:09:28 +11:00
Marc Durdin
48bc338f26 chore: Merge branch 'feature-kmcompx' into chore/kmcompx-master-merge-a17s9 2023-03-21 13:51:25 +07:00