Marc Durdin
8251ec861a
chore: cleanup additional --debug references
2023-03-08 05:46:32 +07:00
Marc Durdin
00017350d3
chore(common): clean up --debug usage in build scripts
...
Fixes #8373 .
Note that the core functionality requested in #8373 is already in place;
this commit just does some cleanup to make this easier to maintain in
the future:
* Uses `builder_is_debug_build` function to test for debug build
(instead of `builder_has_option --debug`, which would also work but
using the other function avoids typo issues with the option name).
* Renames `$_builder_debug` to `$_builder_debug_internal` to reduce
naming confusion
* Documents `$builder_debug`, `builder_is_debug_build`, and clarifies
usage of `--debug` option.
* Logs command line for dep builds (we could hide this in the future,
but it certainly doesn't hurt for now!)
2023-03-08 05:40:40 +07:00
Eberhard Beilharz
0c2c4f4206
Merge pull request #8375 from keymanapp/chore/core/linuxstatic
...
chore(core): Create both dynamic and static libs on Linux
2023-03-07 13:21:11 +01:00
Steven R. Loomis
dacd5a3d70
Merge remote-tracking branch 'upstream/feature-ldml' into chore/merge-feature-ldml-20230306-epic-ldml
2023-03-06 20:46:49 -06:00
Eberhard Beilharz
03bb0c5fcc
chore(core): Create both dynamic and static libs on Linux
2023-03-06 16:51:19 +01:00
Steven R. Loomis
812fd1713a
spec(core): ldml tests for either shift/ctrl/alt 🙀
...
- lookup needs to handle either/neither/both cases for alt and ctrl
- and a bug in the test runner: would 'pass' if failed on exactly line 256 (0x100 & 0xFF == 0)
#7533
2023-03-02 17:13:47 -06:00
Marc Durdin
48b7d1156f
chore(core): don't build both static and dynamic libraries for Linux
2023-03-02 14:25:17 +07:00
Marc Durdin
3c175bfc63
feat(core): run tests for current arch
2023-03-01 13:41:23 +07:00
Marc Durdin
e85bbaa069
feat(core): build both archs for mac
2023-03-01 13:02:48 +07:00
Marc Durdin
78f18c38ee
feat(core): mac fat library -- testing
2023-03-01 11:00:15 +07:00
Steven R. Loomis
f7b2530f33
spec(core): ldml update spec for either shift/ctrl/alt 🙀
...
- match Keyman constanats
#7533
2023-02-25 08:20:12 -06:00
Steven R. Loomis
77a76a2f54
fix(developer): ldml TODO-LDML cleanup 🙀
...
- add check for missing flicks
- remove a tray #include
chore(common): ldml TODO-LDML cleanup 🙀 #8069
2023-02-24 18:55:28 -06:00
Marc Durdin
91c6cb9f49
chore(developer): use --out-file for build-test-data
2023-02-24 13:54:29 +07:00
Marc Durdin
a30fdffd95
feat(developer): kmc build command
2023-02-24 13:54:27 +07:00
Marc Durdin
ee2851d2a4
chore(core): extract objects rather than link lib to fix wasm build
2023-02-24 05:57:46 +07:00
Marc Durdin
caeccfb64f
chore(core): include patH
2023-02-24 05:17:16 +07:00
Marc Durdin
69fde22303
chore(core): make kmx_test_source available as a library
...
Linux builds require kmx_test_source.cpp in order to run tests. So make
this available even when other tests are disabled.
2023-02-23 15:50:58 +07:00
Marc Durdin
c34a76b234
Merge pull request #8287 from keymanapp/chore/vsvarsall-to-vsdevcmd
...
chore: move from vcvarsall.bat to vsdevcmd.bat
2023-02-23 13:28:11 +11:00
Marc Durdin
38603e8421
Merge pull request #8279 from keymanapp/chore/core/cleanup-meson-build
...
chore(core): cleanup meson build
2023-02-23 13:28:02 +11:00
Marc Durdin
a2ceb98948
chore: rewrite extra standard build script prolog
2023-02-23 08:09:41 +07:00
Marc Durdin
9eb472579c
chore: Merge branch 'feature-ldml' into chore/merge-master-to-feature-ldml-A17S7-2
2023-02-23 08:05:31 +07:00
Marc Durdin
b968bcfdfd
Merge branch 'feature-ldml' into chore/core/cleanup-meson-build
2023-02-23 08:49:56 +11:00
Marc Durdin
def625525f
Merge pull request #8286 from keymanapp/chore/A17S7-master-to-feature-ldml
...
chore: merge master into feature-ldml A17S7 🙀
2023-02-23 08:47:27 +11:00
Marc Durdin
ce864ea923
chore: update standard script prolog to use builtin instead of dirname
2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907
chore: remove greadlink from standard script prolog
2023-02-22 10:43:06 +07:00
Marc Durdin
6427fd685b
chore: move from vcvarsall.bat to vsdevcmd.bat
2023-02-22 09:43:17 +07:00
Marc Durdin
84d1446cb7
chore(core): update os_id to BUILDER_OS
2023-02-22 09:08:15 +07:00
Marc Durdin
f6c64f02c0
chore(core): rename fail, echo_heading in commands.inc.sh
2023-02-22 08:04:23 +07:00
Marc Durdin
e645b8665f
chore: Merge branch 'feature-ldml' into chore/A17S7-master-to-feature-ldml
...
* core/build.sh -- accept feature-ldml changes (remove call to get_builder_OS)
* developer/src/kmlmc/build.sh -- delete file
* linux/debian/rules -- accept master changes, fixup call to core/build.sh
* linux/ibus-keyman/tests/Makefile.am -- accept master changes, fixup call to core/build.sh
* linux/scripts/build.sh -- accept master changes, fixup call to core/build.sh
* linux/scripts/reconf.sh -- accept master changes
2023-02-22 08:00:08 +07:00
Marc Durdin
332ad45176
chore(core): remove quotes to batch file param
2023-02-22 05:26:11 +07:00
Marc Durdin
3463163697
chore(core): remove undeclared variable
2023-02-22 05:08:47 +07:00
Marc Durdin
21af2c1234
chore(core): restore bat wrapper for vc++ build
2023-02-21 21:49:19 +07:00
Marc Durdin
29ddeeb67b
chore(core): remove cl from path before build, build static lib
2023-02-21 13:11:31 +07:00
Marc Durdin
d74b08f37c
chore(core): handle meson version 0.53.2
2023-02-21 12:41:44 +07:00
Marc Durdin
19101c6a2a
chore(core): cleanup meson build
...
This updates our meson min version on Windows to 1.0, which means that
we can avoid having Visual Studio on the path, as meson can find it
anyway. With this change, we can eliminate the batch-wrapper for the
build, significantly improving build performance and simplifying the
scripts.
This also adds a change to disable tests for dependency builds of core,
along with the `--no-tests` command line option for doing builds without
tests.
Minor cleanup includes eliminating various warnings from meson.build
files, and standardizing WASM cross-platform build options for Windows.
2023-02-21 12:12:28 +07:00
Steven R. Loomis
e1e5eea469
feat(core): ldml rename key2 to keys 🙀
...
- So in summary, since before #7532 basically keys was restructured, and the old 'keys' was moved into 'keys.kmap'.
#8069
2023-02-20 17:40:34 -06:00
Steven R. Loomis
018d109560
Merge pull request #8222 from keymanapp/feat/core/7535-process-test-data-epic-ldml
...
feat(core): ldml: implement xml test cases 🙀
2023-02-20 16:35:03 -06:00
Eberhard Beilharz
33ed91e970
chore(linux): Merge branch 'master' into chore/linux/5981_addBuild.sh
2023-02-20 09:54:05 +01:00
Marc Durdin
a004978863
chore: use builder_heading, remove echo_heading
2023-02-20 09:17:51 +07:00
Marc Durdin
4d53a277f3
chore: use builder_die, remove fail
2023-02-20 09:15:38 +07:00
Marc Durdin
8f5997a3e6
chore: rename os_id to BUILDER_OS
2023-02-20 08:44:03 +07:00
Steven R. Loomis
d46f2c3f9b
Update core/tests/unit/ldml/ldml_test_source.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-18 09:35:17 -06:00
Steven R. Loomis
ce0a488fe0
Update core/tests/unit/ldml/ldml_test_source.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-18 09:35:11 -06:00
Steven R. Loomis
fceebaed76
Update core/tests/unit/ldml/ldml.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-18 09:34:53 -06:00
Steven R. Loomis
dd9be17228
Update core/include/ldml/keyboardprocessor_ldml.ts
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-18 09:32:58 -06:00
Steven R. Loomis
4433d85a82
feat(core): ldml json test executor 🙀
...
- add a somewhat-modified fr azerty as a test case
- fr azerty tests pass, with some TODOs
#7535
2023-02-16 13:59:44 -06:00
Steven R. Loomis
4689c04533
feat(core): ldml json test executor 🙀
...
- can now use the new key2.kmap table to lookup keys. Basic test passes
#7535
2023-02-16 13:04:33 -06:00
Steven R. Loomis
47b222e8a8
feat(core): ldml json test executor 🙀
...
- intermediate, does not process context or actions yet
- embedded (non-json) tests pass
- utf-8 parsing
- bring in kmx+ into ldml_test_source for parsing, but key2 is not ready eyt
- temporary scaffolding mapping key ids to vkeys
- build fixes
- getting closer.
2023-02-16 12:33:32 -06:00
Steven R. Loomis
c40c19db3f
feat(core): refactor ldml test 🙀
...
- rearrange classes so we can get to dynamic subtests
2023-02-16 12:32:57 -06:00
Steven R. Loomis
8ea87aa828
feat(common): ldml: merge keys into key2 🙀
2023-02-16 12:29:19 -06:00