Commit graph

33096 commits

Author SHA1 Message Date
Joshua A. Horton
39009c77f6 feat(web): second-long 'hold' segment tests 2022-09-01 13:36:52 +07:00
Joshua A. Horton
6787e5ca2c feat(web): trackedPath event object testing 2022-09-01 13:36:51 +07:00
Joshua A. Horton
4603b5dad5 feat(web): segment promise checks 2022-09-01 13:36:50 +07:00
Joshua A. Horton
3073b48171 feat(web): tracked path tests, event ordering 2022-09-01 13:36:49 +07:00
Joshua A. Horton
c5bd43cdcf feat(web): first gesture-recognizer headless test 2022-09-01 13:36:48 +07:00
Joshua A. Horton
9f6478c370 change(web): centralized handling of split-point maintenance, more checks for pre-commit 2022-09-01 13:36:11 +07:00
Marc Durdin
14094c8979 feat(developer): add kmlmc and kmldmlc to make test
Also removes `-test` from normal `make build` for kmlmc, moving that
responsibility to `make test` (but uses `-tdd` to avoid rebuild).
2022-09-01 15:28:41 +10:00
Marc Durdin
2b57396f96
Merge pull request #7177 from keymanapp/feat/developer/kmldmlc-loca-minimize-plus-error-cleanup
feat(developer): loca minimization + cleanup kmldmlc error list 🙀
2022-08-31 23:53:25 -05:00
Marc Durdin
8d00d78cef
Merge pull request #7175 from keymanapp/feat/developer/kmldmlc-loca-tests
feat(developer): add loca tests 🙀
2022-08-31 23:53:15 -05:00
Steven R. Loomis
b330a62d43
Merge pull request #7179 from keymanapp/feat/core/7136-splitvalidate
chore(core): split out validators 🙀
2022-08-31 21:46:54 -05:00
Joshua A. Horton
7b2da89e8d fix(web): segment.angle spec, move-based segment recognition 2022-09-01 08:49:13 +07:00
Marc Durdin
3a4bbf9d0d
Merge pull request #7154 from keymanapp/feat/developer/kmldmlc-meta-tests-and-cleanup
feat(developer): add unit tests for meta compiler 🙀
2022-08-31 19:05:45 -05:00
Marc Durdin
08870288bd
Merge branch 'feature-ldml' into feat/developer/kmldmlc-meta-tests-and-cleanup 2022-08-31 19:05:34 -05:00
Steven R. Loomis
f3f498e923 fix(core): fix validators 🙀
- copy over asserts from 'old' code

#7136
2022-08-31 17:37:55 -05:00
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