Commit graph

27982 commits

Author SHA1 Message Date
Steven R. Loomis
3684cc43d0 fix(core): fix validators 🙀
yes, a kmxplus file does not start with a 'sect' !

#7136
2022-08-31 17:37:55 -05:00
Steven R. Loomis
90be01385b chore(core): split out validators 🙀
#7136
2022-08-31 17:37:55 -05:00
Marc Durdin
36b7dcc46a
Merge pull request #7174 from keymanapp/chore/merge-master-into-feature-ldml
chore: merge master into feature-ldml 🙀
2022-08-31 17:04:25 -05:00
Ross
5c50519824 feat(windows): WIP all css js mods 2022-08-31 22:30:15 +10:00
Joshua A. Horton
559a909ea8 fix(web): pending subsegment tracking when not splitting 2022-08-31 14:35:36 +07:00
Darcy Wong
ece4856253 chore(android/engine): Remove Toast when resources up to date 2022-08-31 14:26:54 +07:00
Marc Durdin
7d38e26b09
chore: Apply suggestions from code review 2022-08-31 14:46:27 +10:00
Darcy Wong
ede572a464 chore(android): Reduce Toast notification noise 2022-08-31 11:30:16 +07:00
Marc Durdin
1c0f68bb75 feat(developer): loca minimization + cleanup kmldmlc error list
Yeah two for the price of one:

- minimize locales at compile time
- cleans up the list of errors to make it easier to maintain and use
2022-08-31 14:30:03 +10:00
Joshua A. Horton
6d2598fbc5 fix(web): cherrypicks from unit test dev followup 2022-08-31 10:35:14 +07:00
Marc Durdin
eca37e8aa2
Merge branch 'feature-ldml' into feat/developer/kmldmlc-meta-tests-and-cleanup 2022-08-30 22:29:30 -05:00
Darcy Wong
9198ffbff0
Update android/KMEA/app/src/main/java/com/tavultesoft/kmea/KMKeyboard.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-31 07:39:11 +07:00
Marc Durdin
17c221f4ce chore: remove comment 2022-08-31 10:21:03 +10:00
Marc Durdin
b58bb36d80 feat(developer): add loca tests
Note: bumps target to es2020 for better Intl.* support. Verified as
supported by Node 16+ and modern browsers.

Adds support for multiple locales and basic canonicalization. Does not
support normalization of locales.
2022-08-31 10:18:57 +10:00
Marc Durdin
5d44d2ecc7 chore(developer): Merge branch 'chore/merge-master-into-feature-ldml' into feat/developer/kmldmlc-meta-tests-and-cleanup 2022-08-31 10:10:03 +10:00
Marc Durdin
696ae9964d
Merge pull request #7153 from keymanapp/refactor/developer/kmldmlc-pure-functional-section-compilers
refactor(developer): each section compiler is a pure function 🙀
2022-08-30 19:04:05 -05:00
Steven R. Loomis
0e29be0c80
Merge pull request #7159 from keymanapp/feat/core/7136-debug
feat(core): set -DDEBUG for debug 🙀
2022-08-30 13:20:27 -05:00
Keyman Server
90b7e38c81
Merge pull request #7160 from keymanapp/auto/version-master-16.0.55
auto: increment master version to 16.0.55
2022-08-31 04:03:16 +10:00
Keyman Build Agent
957c2b04c3 auto: increment master version to 16.0.55 2022-08-30 14:02:40 -04:00
Steven R. Loomis
bef0013bf8 feat(core): set -DDEBUG for debug 🙀
- set -DDEBUG for 'debug' meson builds
- default KXPLUS_DEBUG  to 1 for -DDEBUG

#7136
2022-08-30 11:49:22 -05:00
Joshua A. Horton
66acdb2267 fix(web): forgot to publish remnant on close 2022-08-30 15:27:29 +07:00
Joshua A. Horton
9c96bbad75 fix(web): side effects of unsegmentable simple, quick taps 2022-08-30 14:58:04 +07:00
Darcy Wong
d7430c3efc fix(android/engine): Cleanup list of subkeys when dismissing window 2022-08-30 14:27:07 +07:00
Joshua A. Horton
96093462ae chore(web): general cleanup, documentation 2022-08-30 12:15:02 +07:00
Joshua A. Horton
7059bf8043 fix(web): removes segmentation dev-logging, adds related docs 2022-08-30 11:00:38 +07:00
Marc Durdin
8fc7921ed4 chore(developer): cleanup todo comments 2022-08-30 13:57:16 +10:00
Marc Durdin
995d731ccb feat(developer): add unit tests for meta compiler
First, a little bit of refactoring to make it cleaner to do unit test
for each section.

Then add some global error values.

Throw in a helper function or two.

Dust off the edges of the CompilerCallbacks object.

Duct tape together validation of the normalization attribute.

And ... eventually we get a nice clean-like unit test for the meta
compiler, with three pretty little fixtures and as-neat-as-you-like-it
assertions.
2022-08-30 13:52:36 +10:00
Joshua A. Horton
a9ee91e705 docs(web): for segments, error msg tweaks 2022-08-30 10:45:41 +07:00
Joshua A. Horton
f6a21d23c5 change(web): compatibility analyzer -> own file 2022-08-30 10:09:45 +07:00
Joshua A. Horton
187453a086 feat(web): start, end 'Segments' 2022-08-30 09:12:31 +07:00
Marc Durdin
d27f288c13
Merge pull request #7149 from keymanapp/chore/wasm-on-linux
chore(core): emcc off path for linux
2022-08-29 20:53:15 -05:00
Marc Durdin
920352b360
Merge pull request #7151 from keymanapp/refactor/developer/kmldmlc-compiler-separate-files-for-sections
refactor(developer): separate files for kmldmlc sections 🙀
2022-08-29 20:53:01 -05:00
Marc Durdin
91283464ca
Merge pull request #7150 from keymanapp/chore/merge-master-feature-ldml
chore: merge master into feature-ldml 🙀
2022-08-29 20:52:44 -05:00
Marc Durdin
db11553c9a refactor(developer): each section compiler is a pure function
Well, almost. There are still callback side-effects for messages. These
may in future be returned as an array as well, eliminating the need for
a message callback.

But restructures each section compiler so that it is self-contained and
responsible only for writing its own section. Also tightens up the types
for the sections constants.

Last, but not least, moves responsibility for writing the output .kmx
out of compiler.ts and into its callers -- removing one dependency from
the compiler. Reading input files still needs to be done in the
compiler, as there may be multiple input files with `<import>` that we
cannot know about until we start parsing xml.
2022-08-30 11:13:11 +10:00
Eberhard Beilharz
aa55fc2571
Merge pull request #7147 from keymanapp/fix/linux/jenkins.sh
fix(linux): Allow downgrades for installing build deps
2022-08-30 00:26:17 +02:00
Steven R. Loomis
9c79a3a109
Merge pull request #7152 from keymanapp/fix/core/5015-fixtiny
fix(core): ldml: fix validator 🙀
2022-08-29 17:26:10 -05:00
Eberhard Beilharz
54a314df0e
Merge pull request #7145 from keymanapp/chore/linux/cherry-pick/changelog
chore(linux): Update debian changelog 🍒
2022-08-30 00:23:23 +02:00
Steven R. Loomis
f03abf2ea5
Update core/src/ldml/ldml_processor.cpp
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-29 17:23:17 -05:00
Steven R. Loomis
46d7c96823 fix(core): ldml: fix validator 🙀
- allow keys section to exactly fit in data size, as in #7140
2022-08-29 17:16:45 -05:00
Steven R. Loomis
8c65dea9b3
Merge pull request #7132 from keymanapp/feat/core/5015-fileread
feat(core): ldml: improve file reading/validation 🙀
2022-08-29 16:45:56 -05:00
Steven R. Loomis
c03ab40d5d feat(core): ldml: update spec per code review
#7043
2022-08-29 16:41:39 -05:00
Steven R. Loomis
1c7188f9fd
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-29 16:41:12 -05:00
Marc Durdin
c0147dc6ea refactor(developer): separate files for kmldmlc sections
@keymanapp-test-bot skip
2022-08-30 07:16:53 +10:00
Marc Durdin
655c872dc8 chore: Merge branch 'master' into chore/merge-master-feature-ldml 2022-08-30 06:31:04 +10:00
Marc Durdin
9edabec297 chore(core): emcc off path for linux 2022-08-30 06:20:48 +10:00
Marc Durdin
8dc68edc6c
Merge pull request #7140 from keymanapp/feat/developer/unit-tests-for-kmldmlc
feat(developer): unit test framework for kmldmlc 🙀
2022-08-29 15:16:41 -05:00
Marc Durdin
6625969a60
Merge pull request #7137 from keymanapp/feat/core/hextobin
feat(core): hextobin tool 🙀
2022-08-29 15:16:11 -05:00
Marc Durdin
c85b1da333
Merge pull request #7129 from keymanapp/feat/core/use-ldml-keyboard-compiler-for-tests
feat(core): use kmldmlc to build test keyboards 🙀
2022-08-29 15:15:55 -05:00
Marc Durdin
5da8d2b920
Merge pull request #7138 from keymanapp/chore/labels
chore: update core/ label
2022-08-29 14:49:14 -05:00
Marc Durdin
5dc5b9325c
Merge pull request #7000 from keymanapp/chore/developer/keymanweb-compiler-remove-unused-dependencies
chore(developer): remove unused dependencies from KeymanWeb compiler 🛩
2022-08-29 14:48:46 -05:00