Commit graph

1632 commits

Author SHA1 Message Date
Marc Durdin
ab1514eb93
Merge pull request #8576 from keymanapp/fix/developer/8574-dry-run-var
fix(developer): add DRY_RUN variable to build.sh
2023-04-11 13:11:55 +10:00
Marc Durdin
135060edfc fix(developer): add DRY_RUN variable to build.sh
Fixes #8574.

Also ensures that kmc is published after its dependencies.
2023-04-11 09:59:11 +07:00
Marc Durdin
e31ad60d3c chore(developer): Further AddWarning and SetError cleanup
* Splits compiler interface functions that return bool into
  CompilerInterfaces.cpp, and moves `SetError` define to that unit so
  it can't be used accidentally elsewhere
* Audit of `AddWarning` calls and only those that are used in bool
  functions now `return FALSE` (with new `AddWarningBool`) whereas all
  others `return CERR_Break`
2023-04-10 16:04:46 +07:00
Marc Durdin
5e761f56eb chore(developer): add basic unit test for kmcmplib apis 2023-04-10 15:24:03 +07:00
Marc Durdin
732c0e4786 chore(developer): -d flag should not be overridden in build.sh 2023-04-10 15:23:43 +07:00
Marc Durdin
59b981880f chore(developer): cleanup SetError and return types for public apis in kmcmplib 2023-04-10 15:23:17 +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
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
Marc Durdin
1a5592d43f
Merge pull request #8531 from keymanapp/chore/developer/8530-move-filesystem-h-cassert
chore(developer): move cassert ref to filesystem.cpp
2023-03-29 14:47:41 +11:00
Marc Durdin
ef61cc3815
Merge pull request #8529 from keymanapp/refactor/common/shared-kmx-tests
refactor(common): move core baseline tests into common
2023-03-29 14:47:33 +11:00
Marc Durdin
c8347b3c1e
Merge pull request #8523 from keymanapp/chore/developer/publish-all-required-npm-modules
chore(developer): publish all required npm modules
2023-03-29 14:47:23 +11:00
Marc Durdin
82a8ef0f63
Merge pull request #8503 from keymanapp/feat/core/use-kmc-for-kmx-builds
feat(core): use kmc to build kmx tests
2023-03-29 14:47:14 +11:00
Marc Durdin
0f5589f37f chore: fix typo 2023-03-28 13:38:43 +07:00
Marc Durdin
f31cc92848 chore: address review comments 2023-03-28 13:17:56 +07:00
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