Commit graph

24978 commits

Author SHA1 Message Date
Joshua A. Horton
9503209a2c chore(web): shifts to new build-header style 2023-02-28 08:36:41 +07:00
Joshua A. Horton
d25b1ae846 change(web): modularizes extension of DefaultOutput rules 2023-02-28 08:36:40 +07:00
Joshua A. Horton
337835b4b3 docs(web): a bit on the divergent ContextManager types 2023-02-28 08:36:40 +07:00
Joshua A. Horton
9c673c0d3d chore(web): app/browser cleanup, docs 2023-02-28 08:36:39 +07:00
Joshua A. Horton
5e2aa647b8 docs(web): doc-comment cleanup for handled events 2023-02-28 08:36:39 +07:00
Joshua A. Horton
21eaed3d91 change(web): start of divergent app-target modularization 2023-02-28 08:36:17 +07:00
Joshua A. Horton
576542edfd docs(web): more readme.md doc bits re folder distinctions 2023-02-28 08:34:51 +07:00
Joshua A. Horton
f66252c626 chore(web): also moves app/embed, app/web 2023-02-28 08:34:51 +07:00
Joshua A. Horton
7c9c5a6d3f change(web): minor progress across multiple files, some legacy events 2023-02-28 08:34:50 +07:00
Joshua A. Horton
a21abce33e chore(web): removes namespaced version of the converted variable-store serializer class 2023-02-28 08:34:49 +07:00
Joshua A. Horton
37cc0cca07 fix(web): import pathing 2023-02-28 08:34:48 +07:00
Joshua A. Horton
358e0f67c0 change(web): converts var-store cookie serializer 2023-02-28 08:34:48 +07:00
Joshua A. Horton
a9759ab194 change(web): some top-level keyboard loading control flow, handling 2023-02-28 08:34:47 +07:00
Joshua A. Horton
986e43940f change(web): some top-level module connectivity 2023-02-28 08:34:46 +07:00
Joshua A. Horton
820e948a1d docs(web): minor analysis comment 2023-02-28 08:34:45 +07:00
Joshua A. Horton
367d66e33b change(web): starts on modularized ContextManager base class, top-level module design 2023-02-28 08:34:45 +07:00
Darcy Wong
9c7f9124a8 fix(android): KMPro output 2023-02-28 07:43:48 +07:00
Darcy Wong
5e54767164 chore(android): Merge branch 'master' into refactor/android/builder-script 2023-02-28 07:33:18 +07:00
Darcy Wong
1e243e8c6f refactor(android): Update top level script 2023-02-28 07:33:10 +07:00
Marc Durdin
8189e89d50
Merge pull request #8327 from keymanapp/chore/common/builder-v
chore(common): fix child build error handling
2023-02-28 10:44:30 +11:00
Marc Durdin
5fa307d291 chore(linux): fixup merge for test kmx path 2023-02-28 06:43:21 +07:00
Marc Durdin
7cbdb9da75 chore(linux): fixup merge for test kmx path 2023-02-28 06:40:49 +07:00
Marc Durdin
b96e863885 chore: Merge branch 'feature-ldml' into chore/merge-master-into-feature-ldml-A17S7 2023-02-28 05:49:05 +07:00
Steven R. Loomis
712063d752
Merge pull request #8316 from keymanapp/fix/developer-8069/todo-epic-ldml
fix(developer): ldml TODO-LDML cleanup 🙀
2023-02-27 13:16:57 -06:00
Eberhard Beilharz
67bd5fb399
fix(linux): Fix ibus-keyman/build.sh
Paths that describe outputs are supposed to be relative to root,
not absolute. Also, it turns out we don't use the `--output`
parameter, so this change removes it.
2023-02-27 18:42:38 +01:00
Eberhard Beilharz
ea4ec8437e
chore(linux): Add debug output 2023-02-27 17:46:27 +01:00
Eberhard Beilharz
0ca494b267
chore(linux): Create release for source package
This sets the distribution to "unstable" instead of the default
UNRELEASED which dput doesn't look to upload.
2023-02-27 17:42:09 +01:00
Eberhard Beilharz
99fd8b8f3d
chore(linux): Add trust for gpg key 2023-02-27 17:11:22 +01:00
Marc Durdin
6846a6bb70 feat(developer): add -use-legacy-compiler flag to kmcomp 2023-02-27 16:00:02 +07:00
Marc Durdin
0b7b22999e
Merge pull request #8326 from keymanapp/feat/developer/2761-kmc-build-project-2.0
feat(developer): Add support for building a folder to kmc 🙀
2023-02-27 19:56:42 +11:00
Marc Durdin
05d5c6f1f6
Merge pull request #8320 from keymanapp/feat/developer/5283-kmc-kpj-support
feat(developer): kmc .kpj support 🙀
2023-02-27 19:56:33 +11:00
Marc Durdin
6c87b49996
Merge pull request #8317 from keymanapp/feat/common/5283-kpj-schema-and-reader
feat(common): add .kpj typescript reader and schema 🙀
2023-02-27 19:56:24 +11:00
Marc Durdin
89f26e1f9b
Merge pull request #8311 from keymanapp/feat/developer/5283-kmc-model-ts-support
feat(developer): kmc compile .model.ts file 🙀
2023-02-27 19:56:13 +11:00
Marc Durdin
d541c3b990
Merge pull request #8310 from keymanapp/feat/developer/5283-kmc-kps-support
feat(developer): kmc compile .kps files 🙀
2023-02-27 19:56:04 +11:00
Marc Durdin
a9b707d4f1
Merge pull request #8302 from keymanapp/feat/developer/5283-kmc-kmn-wrapper
feat(developer): support build of .kmn from kmc 🙀
2023-02-27 19:55:56 +11:00
Marc Durdin
8ef9be3c10
Merge pull request #8300 from keymanapp/feat/developer/5283-kmc-command-line-refactor
feat(developer): kmc build command 🙀
2023-02-27 19:55:48 +11:00
Marc Durdin
e6ea381aba chore(common): fix child build error handling
Fixes #8322.

This issue was arising due to subshells masking the exit code.

set -e is not really to be trusted.
2023-02-27 15:09:42 +07:00
Darcy Wong
337abea2f3 fix(android/samples): Config parameter 2023-02-27 14:53:20 +07:00
Marc Durdin
04189d2e3d chore(common): avoid -v for testing arrays in builder 2023-02-27 14:05:11 +07:00
Marc Durdin
8f02108579
Update developer/src/kmc/src/commands/buildTestData.ts
Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2023-02-27 17:53:25 +11:00
Marc Durdin
be4f036a3c feat(developer): Add support for building a folder to kmc
Relates to #2761.

kmc now supports passing in a folder and building all Keyman source
files found in the folder, even if a .kpj is not present in the folder.

If a .kpj file exists, `KeymanDeveloperProject/Options/Version` will be
checked to determine behaviour. If this field is missing or "1.0", then
the classical behaviour persists.

If the Version field is "2.0", the `Files` key is ignored, and .kmn,
.xml, .model.ts, and .kps files under `sourcePath` are enumerated and
added to the in-memory project for build.

If a .kpj is not present in the folder, a virtual project is constructed
in memory with the following defaults:

* `version`: `2.0`
* `buildPath`: `$PROJECTPATH/build`
* `sourcePath`: `$PROJECTPATH/source`
* `compilerWarningsAsErrors`: `false`
* `warnDeprecatedCode`: `true`
* `checkFilenameConventions`: `true`

It is still considered an error to include both a keyboard and a model
in the same file, but a version 2.0 project will not include the field
determining its type in `Options/ProjectType`; this will instead be
checked during build.

The call to `kmc` can reference a folder or a .kpj file. The .kpj file
must have the same basename as the folder name (e.g.
`khmer_angkor/khmer_angkor.kpj`).

WARNING: this does not add support for 2.0 projects to Keyman Developer;
it is likely that opening a version 2.0 project in Developer will
currently corrupt it.

WARNING: it is not anticipated that kmcomp.exe will be updated to
support version 2.0 projects -- rather kmcomp.exe will be removed before
release of v17, and replaced with kmc.
2023-02-27 13:11:22 +07:00
Darcy Wong
576e1b1bfe refactor(oem/fv/android): Upgrade Gradle for final apk name 2023-02-27 11:46:27 +07:00
Darcy Wong
d2030767c7 refactor(android/app): Update Gradle for final apk name 2023-02-27 11:46:05 +07:00
Darcy Wong
90b1bc82f2 fix(android): Include config in path to keyman-engine.aar 2023-02-27 11:42:24 +07:00
Darcy Wong
29a3f2f6c5 fix(android/engine): Output keyman-engine.aar 2023-02-27 09:41:11 +07:00
Joshua Horton
93da017e0a
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-27 09:14:34 +07:00
Joshua A. Horton
fa0a77f67e chore(web): drops a couple of build-script vars 2023-02-27 09:11:13 +07:00
Darcy Wong
548fadded2 chore(android): Merge remote-tracking branch 'origin/master' into refactor/android/builder-script 2023-02-27 08:55:17 +07:00
Joshua Horton
97c1688328
change(web): applies new include style to new child scripts
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-27 08:50:59 +07:00
Joshua A. Horton
21bf13c682 chore(web): implements some suggestions per review 2023-02-27 08:49:47 +07:00