Commit graph

3368 commits

Author SHA1 Message Date
Marc Durdin
f5c055e619 chore(developer): move cassert ref to filesystem.cpp 2023-03-28 13:10:12 +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
Marc Durdin
2a871c8165 chore(developer): publish all required npm modules 2023-03-27 11:36:21 +07:00
Marc Durdin
32cea3eef2 chore(developer): fixup fail to builder_die in commands.inc.sh 2023-03-27 11:10:46 +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
b85087f392 chore(web): Merge branch 'master' into chore/web/update-feature-esmodule-for-configure-fix 2023-03-23 15:15:07 +07:00
Marc Durdin
084c9d68f0 chore(core): use kmc to build .kmn files 2023-03-23 14:03:37 +07:00
Marc Durdin
825a41c315 feat(developer): add kmc-kmn to kmc 2023-03-23 12:12:25 +07:00
Marc Durdin
1e3c675f1c chore(developer): more polish on wasm interfaces 2023-03-23 10:58:09 +07:00
Marc Durdin
7f9addebbb chore(developer): tweak build scripts 2023-03-23 10:14:28 +07:00
Marc Durdin
18b3133c69 feat(developer): wasm integration 2023-03-23 10:14:27 +07:00
Marc Durdin
0deb5ff245 chore(common): define BUILDER_CONFIGURATION env var 2023-03-23 10:14:26 +07:00
Marc Durdin
dd15de40df feat(developer): kmc-kmn tdd framework 2023-03-23 10:14:25 +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
92a3000c8d chore(windows): fix comments in Makefile
Shockingly bad choice for nmake Makefiles to not allow whitespace before
comment # marker.
2023-03-20 07:30:55 +07:00
Marc Durdin
1a3cc078b5 chore(windows): sentry cleanup and signing
Addresses review comments.

Use SENTRY_SDK_VERSION where possible, and codesign sentry components
during build.
2023-03-19 07:35:06 +07:00
Marc Durdin
a127e32068 chore(windows): update sentry-native to 0.6.0
Fixes #8081.
2023-03-17 14:32:34 +07:00
Marc Durdin
5b60c2efab chore(developer): final cleanup 2023-03-17 05:38:03 +07:00
Marc Durdin
2d9106f422 chore(developer): always clone keyboards repo for tests
During the configure phase for kmcmplib, we'll now always make a clone
of the keyboards repo so that we can checkout the specific commit we
want without making a mess of the user's environment. This is a little
slower (about 30 seconds to do a full local clone, a couple of minutes
for a remote clone) but a whole lot safer.

This only needs to be done in the `configure` action.

This also simplifies our scripts because we no longer need to pass any
option into meson for the keyboards repo, as we'll always know it is in
tests/keyboards.
2023-03-17 05:14:51 +07:00
Marc Durdin
9a7ebac071 chore(developer): fixup tests and build process 2023-03-17 04:31:03 +07:00
Marc Durdin
fcdd436484 chore(developer): rebuild fixtures with appropriate version of legacy compiler 2023-03-17 04:27:22 +07:00
Marc Durdin
18e102186e chore(developer): tooling to generate set of fixtures 2023-03-16 12:48:24 +07:00
Marc Durdin
d1c8061b5f chore: Merge branch 'feature-kmcompx' into chore/merge-master-into-kmcompx 2023-03-16 12:29:17 +07:00
Marc Durdin
9db4cf2379 fix(developer): lm compiler handle missing line no in errors
Fixes #8443.

Will cherry-pick to stable-16.0.

The regex for matching error messages has an optional section for
the file/line detail (line 54):

```regex
^(?:(.+) \((\d+)\): )?<snip>
```

The code that parses the results did not account for this being
optional, which would cause a crash if the error message did not include
this information.
2023-03-16 09:38:50 +07:00
Steven R. Loomis
f7e5b114cf
Merge pull request #8412 from keymanapp/chore/resources-7042-cldr-update-202303-epic-ldml 2023-03-14 21:50:17 -05:00
Joshua A. Horton
e4b9aae8aa fix(developer/compilers): locks esbuild target detection for kmc bundling 2023-03-15 09:06:41 +07:00
Steven R. Loomis
0f99a62a4e fix(developer): ldml add KeysCompiler.hardwareLayers() 2023-03-14 18:14:24 -05:00
Steven R. Loomis
275c310e79 fix(developer): ldml update test case per review feedback 2023-03-14 18:09:37 -05:00
Steven R. Loomis
7a3a0c4b2c chore(developer): ldml update compiler for updated spec 🙀
- some support for >1 layers -

Fixes: #8160
more work will be needed for touch layers. but punting that till we get to touch.

#7042
2023-03-14 17:38:30 -05:00
Steven R. Loomis
f92cd36125 chore(developer): ldml update compiler for updated spec 🙀
#7042
2023-03-14 17:38:30 -05:00
Steven R. Loomis
f7a2f075ee chore(core): ldml update tests to match latest ldml 🙀
- move hardware= attribute  into the form= attribute

#7042
2023-03-14 17:38:30 -05:00
Joshua Horton
10518dd62e
Merge pull request #8429 from keymanapp/chore/common/ldml-ts-and-node-updates
chore(common): TS updates to non-sync'd packages, feature-esmodule merge conflict prevention
2023-03-14 12:06:15 +07:00
Joshua A. Horton
f7d082981c chore: Merge branch 'master' into chore/feature-esmodule-master-update 2023-03-14 11:51:57 +07:00
Marc Durdin
534bd2a54b
Merge pull request #8416 from keymanapp/chore/common/build-script-performance
chore(common): build script performance improvements
2023-03-14 15:41:32 +11:00
Joshua A. Horton
f5e64a10a5 chore: Merge branch 'chore/common/ldml-ts-and-node-updates' into chore/feature-esmodule-master-update 2023-03-14 09:23:39 +07:00
Joshua A. Horton
2439ba4e97 fix(developer): updates kmc, web/types module resolution, adds missing type import/exports 2023-03-14 08:41:29 +07:00
Joshua A. Horton
0da7ac24be chore(common): updates TS, sets export map for keyman-version 2023-03-14 08:22:26 +07:00
Ramesh Kunnappully
8647610d16
Update copyright period in License.rtf 2023-03-13 23:52:25 +05:30
Marc Durdin
92ed99c4d6 chore(common): build script performance improvements
Improves build script performance by:
* using built-ins wherever possible (e.g. string splitting)
* eliminating redundant code
* using absolute (to $KEYMAN_ROOT) rather than relative paths to avoid realpath
* removing unnecessary `npm run` calls

BEFORE                         | AFTER
-------------------------------|----------------------
time ./core/build.sh --help    |
real    0m2.116s               | real    0m0.874s
user    0m0.578s               | user    0m0.198s
sys     0m0.984s               | sys     0m0.289s
-------------------------------|----------------------
time ./web/build.sh --help     |
real    0m3.523s               | real    0m0.757s
user    0m1.166s               | user    0m0.320s
sys     0m2.273s               | sys     0m0.455s
-------------------------------|----------------------
time ./web/build.sh -d         |
real    1m34.750s              | real    0m59.974s
user    0m9.721s               | user    0m6.284s
sys     0m19.652s              | sys     0m13.202s

@keymanapp-test-bot skip
2023-03-13 07:18:09 +07:00
Marc Durdin
920f376b64 chore(developer): fix compile errors 2023-03-10 13:23:31 +07:00
Marc Durdin
73a080a949 chore(developer): fix kmcompx compile errors
Some minor errors post-merge.
2023-03-10 13:16:25 +07:00
Marc Durdin
2ad0689090
Merge pull request #8402 from keymanapp/chore/developer/breadth-first-build
chore(developer): kmcmplib breadth-first-build 🚑
2023-03-10 09:24:55 +11:00
Marc Durdin
36c185f5f8
Merge pull request #8398 from keymanapp/chore/core/shared-meson-config
chore(core): shared meson config 🚑
2023-03-10 09:24:45 +11:00
Marc Durdin
aa9065e7df
Merge pull request #8393 from keymanapp/feat/developer/kmcmplib-wasm-support
feat(developer): adds support for compiling kmcmplib to wasm 🚑
2023-03-09 18:43:57 +11:00
Marc Durdin
fed2d18c89
Merge branch 'feature-kmcompx' into chore/developer/kmcmplib-tidy-up-filesystem-access 2023-03-09 18:43:29 +11:00
Marc Durdin
0291399d13
Merge pull request #8388 from keymanapp/fix/developer/8381-kmx-output-consistency
fix(developer): improve .kmx output consistency for cross-platform 🚑
2023-03-09 18:41:44 +11:00
Marc Durdin
583280c636
Merge pull request #8387 from keymanapp/chore/developer/cross-platform-fixups-for-wasm
chore(developer): cross-platform fixups pre-wasm build of kmcmplib 🚑
2023-03-09 18:41:25 +11:00