Marc Durdin
895ce930a0
Merge pull request #6993 from keymanapp/chore/core/rename-json-source
...
chore(core): rename json.hpp to jsonpp.hpp 🛩
2022-08-29 14:48:32 -05:00
Keyman Server
5878cc0554
Merge pull request #7148 from keymanapp/auto/version-master-16.0.54
...
auto: increment master version to 16.0.54
2022-08-30 04:02:41 +10:00
Keyman Build Agent
f2b672cf90
auto: increment master version to 16.0.54
2022-08-29 14:01:55 -04:00
Steven R. Loomis
a6bd34b61d
Merge pull request #7133 from keymanapp/feat/linux/7102-dockerfile
...
feat(linux): Dockerfile for linux builder
2022-08-29 12:21:36 -05:00
Eberhard Beilharz
fc3c991293
fix(linux): Allow downgrades for installing build deps
...
When install the keyman-build-deps_*.deb file it can happen that
we end up with a lower version number than what we previously
built. This change allows downgrades so that the build dependencies
can be installed.
2022-08-29 19:06:33 +02:00
Eberhard Beilharz
72b9fa3d21
chore(linux): Update debian changelog
...
(cherry picked from commit f2b1277166 )
2022-08-29 15:14:33 +02:00
Joshua A. Horton
5c549d294c
chore(web): extra to-do notes
2022-08-29 14:52:26 +07:00
Joshua A. Horton
4bbd5e6aac
feat(web): better Segment serialization
2022-08-29 14:49:18 +07:00
Marc Durdin
a72146e42d
feat(developer): unit test framework for kmldmlc
2022-08-29 17:21:05 +10:00
Marc Durdin
07e4f20259
chore(common): chmod +x again
2022-08-29 15:49:23 +10:00
Marc Durdin
66af0d3793
chore(common): cleanup package-lock.json
2022-08-29 15:16:55 +10:00
Marc Durdin
670229937a
chore: move hextobin to common
2022-08-29 15:07:43 +10:00
Joshua A. Horton
e21a27aeff
feat(web): basic publishing of segments to path
2022-08-29 10:59:08 +07:00
Joshua A. Horton
e2dbb1e0b3
feat(web): segment recognition, resolution
2022-08-29 10:25:37 +07:00
Marc Durdin
18b6dee963
chore: update core/ label
2022-08-29 09:59:07 +10:00
Marc Durdin
10b875da57
chore(core): chmod build.sh
2022-08-29 07:47:49 +10:00
Marc Durdin
3d08348256
feat(core): hextobin tool
...
The hextobin tool is used to help us construct invalid .kmx files
without having to either hack these into the compiler, or write them
with a hex editor. It feels a little bit of overkill, but this makes it
easy to (a) work with our intended file structures, and (b) review any
changes to these invalid keyboard tests.
Note: I did do a cursory search for a hex2bin or hextobin that we could
easily use but did not find a good simple cross-platform tool that we
could consume (`xxd -r` would work but AFAICT constrains our format to a
dump which is much harder to work with and read -- I wanted to be able
to annotate with file structures.)
For an example, see ik_000_null_invalid.txt.
This means that building the invalid keyboards for tests requires node,
but that should be fine given we need node to build the valid keyboards
anyway.
I've put hextobin under core/tools but it could just as well live under
common/tools in the future, if we find it useful for other project unit
tests.
2022-08-29 06:21:16 +10:00
Marc Durdin
b31a8755c0
Merge pull request #7127 from keymanapp/feat/developer/ldml-compiler-xml-loader-and-compiler
...
feat(developer): LDML keyboard XML Loader and Compiler 🙀
2022-08-27 14:59:55 -05:00
Marc Durdin
85034291d0
Merge pull request #7120 from keymanapp/feat/developer/ldml-compiler-kmxplus-builder
...
feat(developer): Write kmxplus section 🙀
2022-08-27 14:59:44 -05:00
Marc Durdin
9945055c00
chore(core): move and re-enable invalid ldml keyboard tests
2022-08-28 05:10:21 +10:00
Sabine
1ec6f8a6d1
chore(developer): excluded some tests from kmcompxtest (use get_test_source_exclude_some_kmn.bat now)
2022-08-27 11:26:26 +02:00
Marc Durdin
0057b7d95c
chore(core): emcc off path for linux
2022-08-27 14:53:06 +10:00
Marc Durdin
0de4b9eb18
chore(common): add dev dependency for @types/node
2022-08-27 13:22:11 +10:00
Marc Durdin
496ea0641a
chore: add comment for BUILDER_SECT
...
Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2022-08-27 09:03:29 +10:00
Marc Durdin
bc02ba984a
chore(core): skip ldml keyboard tests if node not available
2022-08-27 08:47:34 +10:00
Steven R. Loomis
4816e590cf
feat(linux): Dockerfile for linux builder
...
- add Dockerfile in linux/Dockerfile, referencing linux/debian/control
- add docs in docs/build/linux-ubuntu.md
Fixes : #7102
2022-08-26 17:08:56 -05:00
Steven R. Loomis
791d253528
feat(core): ldml: improve reading 🙀
...
- read keys into a std::map instead of on the fly
- remove retention of entire kmx file
- remove some functions from kmx_plus.h
#5015
2022-08-26 16:47:20 -05:00
Steven R. Loomis
3de77cda92
feat(core): ldml: improve reading 🙀
...
- read keys into a std::map instead of on the fly
- no longer retain copy of entire KMX file in read
2022-08-26 16:43:27 -05:00
Steven R. Loomis
892492a634
feat(core): ldml: improve validation 🙀
...
- clearer asserts
- validate length of data
#5015
2022-08-26 15:45:48 -05:00
Marc Durdin
44d7d5ca88
chore(core): always build deps
2022-08-27 06:23:33 +10:00
Steven R. Loomis
aeeae1c4f4
feat(core): ldml: improve read side 🙀
...
- don't reparse structs each time
- move validation into constructor
2022-08-26 13:15:05 -05:00
Keyman Server
4ef75556d4
Merge pull request #7131 from keymanapp/auto/version-master-16.0.53
...
auto: increment master version to 16.0.53
2022-08-27 04:02:16 +10:00
Keyman Build Agent
e304f054db
auto: increment master version to 16.0.53
2022-08-26 14:01:39 -04:00
Eberhard Beilharz
9a35b301cb
Merge pull request #7123 from keymanapp/fix/linux/backspace
...
fix(linux): Remove wrong `ok_for_single_backspace` method
2022-08-26 15:45:16 +02:00
Marc Durdin
3ff5c4c46e
chore(core): fix typo
2022-08-26 15:58:25 +10:00
Marc Durdin
a3b1a96960
chore(core): disable failing tests for now
2022-08-26 15:48:19 +10:00
Marc Durdin
4820f99503
chore(core): also build keyman-version as a prereq
2022-08-26 15:41:44 +10:00
Marc Durdin
b50d03b7d6
chore(developer): chmod build.sh
2022-08-26 15:26:36 +10:00
Marc Durdin
daf6a7970e
feat(core): use kmldmlc to build test keyboards
...
Removes .kmx from repo and builds them from the source .xml files using
kmldmlc (building that if necessary also with a poor fella's dependency
check for now), and generally a lot of cleanup of the meson.build files
for the ldml tests.
Moves keyboards to a subfolder of the ldml unit test folder to keep them
neat and tidy and avoid embedding huge files into ldml.js for test of
WASM.
Note: 000_null_keyboard and 002_null_invalid do build successfully, but
the core ldml keyboardprocessor currently fails on them, because they
are missing keys and vkey sections.
2022-08-26 15:12:38 +10:00
Darcy Wong
dad52102d1
Merge pull request #7119 from keymanapp/fix/android/landscape-max-height
...
fix(android/engine): Lower the max height for landscape orientation
2022-08-26 08:24:09 +07:00
Marc Durdin
dc172cb981
chore(developer): robustness in ldml keyboard compiler
2022-08-26 09:06:12 +10:00
Marc Durdin
3c120ebae7
feat(developer): LDML keyboard XML Loader and Compiler
...
Implements basic LDML keyboard xml loader and compiler.
2022-08-26 08:51:15 +10:00
Marc Durdin
3865870114
chore(developer): add padding to loca and vkey
2022-08-26 05:23:11 +10:00
Marc Durdin
9756c28102
chore(developer): Merge branch 'feature-ldml' into feat/developer/ldml-compiler-kmxplus-builder
2022-08-26 05:17:05 +10:00
Marc Durdin
144025e29f
Merge pull request #7113 from keymanapp/revert-7112-revert-7110-feat/developer/ldml-constants-ts-module
...
feat(core): turn @keymanapp/ldml-keyboard-constants into a module 🙀
2022-08-25 14:13:41 -05:00
Marc Durdin
f49fd013a9
Merge pull request #7109 from keymanapp/feat/developer/ldml-compiler-kmx-builder
...
feat(developer): LDML compiler kmx-builder 🙀
2022-08-25 14:12:56 -05:00
Marc Durdin
85daf7d795
Merge pull request #7106 from keymanapp/feat/developer/ldml-compiler-kmx-structures
...
feat(developer): groundwork - kmx file structures 🙀
2022-08-25 14:12:46 -05:00
Steven R. Loomis
4c5f60ae22
Merge pull request #7125 from keymanapp/feat/core/7043-repadding
2022-08-25 13:54:59 -05:00
Steven R. Loomis
f7f909f904
Merge pull request #7124 from keymanapp/fix/core/7097-validate
2022-08-25 13:53:51 -05:00
Steven R. Loomis
190776ef9c
Update core/tests/unit/ldml/ldml.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-25 13:53:35 -05:00