Commit graph

902 commits

Author SHA1 Message Date
Steven R. Loomis
c191fc7cc7 feat(core): ldml: updates to C7043.1 spec 🙀
merge layr into lyrs
2022-10-28 18:28:18 -05:00
Steven R. Loomis
87dc1f79bb feat(core): ldml: updates to C7043.1 spec 🙀
- add layers, rows, display
- draft status
2022-10-28 18:28:18 -05:00
Steven R. Loomis
8bfa0bbfcd fix(core): ldml: fix const builder 🙀
- fix config
- Add .js to the import statement
(not a great fix)

Fixes #7566
2022-10-28 18:25:56 -05:00
Marc Durdin
7ef6f288c4
Merge pull request #7520 from keymanapp/fix/core/7487-remove-visibility-attribute-from-callback-type
fix(core): remove `KMN_API` from callback spec
2022-10-28 11:55:54 +11:00
Marc Durdin
9c2edbcbc0 fix(core): remove KMN_API from callback spec
Fixes #7487.

`KMN_API` defines only import/export/static modifiers for functions, so
it makes no sense to apply it to a typedef. (Previously, I thought it
also included a calling convention, but it doesn't.)
2022-10-25 11:59:37 +11:00
Marc Durdin
920d22795c chore(core): additional cleanup 2022-10-21 15:33:09 +11:00
Marc Durdin
ae68f059b8 chore(core): move DebugLog into parent folder
Fixes #7447.
2022-10-21 15:26:41 +11:00
Eberhard Beilharz
e04acb8295
fix(core): Add missing include files
Recently some include files got added to `common/include` which are
referenced by `core/include/keyman`. This change adds the necessary
code to install them in the same directory as the other include files.

Fixes #7490.
2022-10-20 17:06:35 +02:00
Steven R. Loomis
85da473a85 chore(developer): update DTD location 🙀
- dtd is in a subdirectory to match CLDR layout
2022-10-18 12:52:27 -05:00
Steven R. Loomis
66a5cdb1f9 chore(developer): ldml: update tools and data for keyboard-preview 🙀
- update tooling in common and kmc
- update spec
- update test files
2022-10-18 11:32:41 -05:00
Steven R. Loomis
85ed41e16c
Merge pull request #7410 from keymanapp/fix/developer/7404-elem0-epic-ldml 2022-10-17 08:53:23 -05:00
Marc Durdin
4505497dd2
Merge pull request #7456 from keymanapp/chore/common/epic-ldml/update-build-script-deps
chore(common): update build.sh dependencies for epic-ldml 🙀
2022-10-17 04:51:02 +11:00
Steven R. Loomis
7e5c9ec675 fix(developer): offset of 0th elem str must be 0000 🙀
- update test fixture
- update kmx_plus.cpp to require this

Fix: 7404
2022-10-14 15:00:49 -05:00
Marc Durdin
cbb15b2cb9 chore(core): tweak scripts 2022-10-14 16:32:57 +11:00
Steven R. Loomis
9cb5a03a0d
Merge pull request #7454 from keymanapp/fix/core/7418-utf32-suggestions
fix(core): xstring/utf32 review feedback
2022-10-14 00:00:45 -05:00
Marc Durdin
2cf6bf3f60 chore(common): update build.sh dependencies for epic-ldml 2022-10-14 10:45:00 +11:00
Steven R. Loomis
67cac5f147
Merge pull request #7436 from keymanapp/chore/core/refactor-vkeys-epic-ldml
chore(core): ldml: split out vkey processing 🙀
2022-10-13 17:13:07 -05:00
Steven R. Loomis
fc554c4901 fix(core): xstring/utf32 review feedback
For: #7418

Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2022-10-13 17:05:39 -05:00
Steven R. Loomis
45bc101e77 fix(core): ldml: update per review comments 🙀
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-10-13 16:34:36 -05:00
Steven R. Loomis
ab0f2c1b24 feat(core): ldml: basic transforms, utf32 fixes 🙀
for #7234
2022-10-12 19:31:05 -05:00
Steven R. Loomis
8127ec60d2 chore(core): ldml: transforms: documentation 🙀
- update per review comments

for #7234
2022-10-12 19:29:38 -05:00
Steven R. Loomis
5a6389deb8 feat(core): ldml: basic transforms, again 🙀
- new test file for transforms
- new class, ldml_transforms

for #7234
2022-10-12 19:29:37 -05:00
Steven R. Loomis
8a6b4a7fd4 feat(core): ldml: Use new UTF-16 to UTF-32 function 🙀
- also a test case with a 🙀 key on the tiny keyboard

For #7418
2022-10-12 19:26:42 -05:00
Steven R. Loomis
20032d02b7 feat(core): kmx_xstring: New UTF-16 to UTF-32 function 🙀
- plus test

For #7418
2022-10-12 19:23:58 -05:00
Steven R. Loomis
5970a46f87 fix(core): ldml: ldml_vkeys: fix for namespace 🙀
for #7234
2022-10-12 17:30:49 -05:00
Steven R. Loomis
e64177e17f chore(core): ldml: ldml_vkeys: per review comments 🙀
- update parameter names for consistency

for #7234
2022-10-12 17:27:25 -05:00
Steven R. Loomis
eba0d12123 chore(core): refactor ldml_processor 🙀
- split out vkeys

for #7234
2022-10-12 17:21:32 -05:00
Steven R. Loomis
8a3c8af7a1 fix(core): ldml: fix incorrect use of Debug_UnicodeString 🙀
- update API docs for Debug_UnicodeString

for #7234
2022-10-12 17:01:46 -05:00
Steven R. Loomis
a63ca4377f fix(core): improve check and output 2022-10-12 15:57:12 -05:00
Steven R. Loomis
30a100aa8a fix(core): ldml: cleanup per review comments 🙀
- update DebugLog macro to use scoped functions

for #7234
2022-10-12 15:21:13 -05:00
Steven R. Loomis
ced4ed9099 fix(core): ldml: use DebugLog for debug 🙀
for #7234
2022-10-12 15:05:03 -05:00
Steven R. Loomis
35799e2306 feat(core): kmx_plus: add accessors for elem 🙀
- other refactor and cleanup in kmx_plus

for #7234
2022-10-11 15:43:44 -05:00
Marc Durdin
0502d6ccbd
Merge pull request #7342 from keymanapp/chore/epic-ldml/merge-master-to-feature-ldml
chore: merge master into feature-ldml 🙀
2022-09-24 10:12:00 +10:00
Steven R. Loomis
de3225a4f5 Merge remote-tracking branch 'origin/feature-ldml' into chore/core/7276-checksums-epic-ldml 2022-09-22 17:13:27 -05:00
Marc Durdin
cae408edc5 chore: merge feature-ldml into branch 2022-09-21 14:56:45 +10:00
Marc Durdin
3828eddf4f fix(core): add hyphen to d parameter
I could add a trap for this to build-utils.sh but that's more work for
little benefit for an internal tool.
2022-09-21 05:46:21 +10:00
Marc Durdin
7e9f9ce86f
Merge pull request #7311 from keymanapp/chore/core/epic-ldml/fixup-kmc-outfile-param-in-tests
chore(core): `kmc --outFile` to `kmc --out-file` (and `--` rider) 🙀
2022-09-20 15:03:37 +10:00
Marc Durdin
47850b2a42 chore: ninja install fix 2022-09-20 13:41:49 +10:00
Marc Durdin
736db7179c feat(common): support -- for build scripts
Allows use of `./build.sh configure -- --param-one=foo ...`.

Updates Core build to support `--` (including build.bat wrapper for
Windows builds). Fixes Linux debian rules to pass additional
parameters in with this format again, and adds `:arch` to only build
current architecture, not wasm as well...

Note that when using `--` you should typically avoid multiple actions in
a single command, as each action may interpret the additional parameters
differently!
2022-09-20 09:51:31 +10:00
Marc Durdin
9af8e1f9c2 chore(core): ldml-keyboard-constants module type to esm 2022-09-20 08:01:22 +10:00
Marc Durdin
19f7e5353b chore(core): changes ldml tsconfig to es2020 🙀
Also splits the root tsconfig.json into tsconfig.cjs.json and
tsconfig.esm.json. These are not typically used at present but in theory
you could do a `tsc -b <tsconfig.x.json>` and build all modules. In
practice, we still have some prebuild steps that make that a bit of a
pain.
2022-09-20 06:49:56 +10:00
Marc Durdin
d38d82e020 chore(core): kmc --outFile to --out-file 2022-09-19 09:12:38 +10:00
Marc Durdin
003f23d7b4 feat(developer): fixup and prepare build scripts and docs for kmc 2022-09-19 06:36:06 +10:00
Steven R. Loomis
d56f6557fb chore(core): deprecate checksum in 16.0 🙀
- do not generate unless version<16.0
- never check checksum

Fixes: #7220
2022-09-16 14:24:01 -05:00
Steven R. Loomis
efd4c83490 chore(core): ignore checksum in 16.0 🙀
- mark as deprecated

Fixes: #7220
2022-09-16 14:24:01 -05:00
Steven R. Loomis
3ceea19218 fix(core): validate kmxplus files 🙀
- split validation out into a separate kmx_file_validator.hpp
- kmx_file.h should remain C-only usable

Fixes: #7220
2022-09-14 16:32:18 -05:00
Steven R. Loomis
be2307cc25 chore(core): ldml correct for rebase hiccup 🙀 2022-09-13 16:25:13 -05:00
Steven R. Loomis
ea417c9f72 fix(core): VerifyKeyboard() on kmxplus files 🙀
- move VerifyKeyboard into COMP_KEYBOARD::VerifyKeyboard
- change call sites in kmx_file.h

For: #7220
2022-09-12 17:01:45 -05:00
Marc Durdin
c820fbc0e6
Merge pull request #7264 from keymanapp/chore/core/kmx-file-verification-baby-steps
chore(core): verify StartGroup in kmx load 🙀
2022-09-13 07:46:02 +10:00
Marc Durdin
3fd9df5277 chore(core): Merge branch 'feature-ldml' into chore/core/7247-use-builder-for-build-sh 2022-09-13 07:25:10 +10:00