Commit graph

16074 commits

Author SHA1 Message Date
Marc Durdin
b20bf55fee
Merge pull request #7112 from keymanapp/revert-7110-feat/developer/ldml-constants-ts-module
Revert "feat(core): turn @keymanapp/ldml-keyboard-constants into a module 🙀"
2022-08-23 23:26:57 -05:00
Marc Durdin
8ebae9515e
Revert "feat(core): turn @keymanapp/ldml-keyboard-constants into a module 🙀" 2022-08-24 14:26:44 +10:00
Marc Durdin
040f35e995
Merge pull request #7110 from keymanapp/feat/developer/ldml-constants-ts-module
feat(core): turn @keymanapp/ldml-keyboard-constants into a module 🙀
2022-08-23 23:25:37 -05:00
Marc Durdin
5e296c98af feat(core): turn @keymanapp/ldml-keyboard-constants into a module
Splits the building of keyboardprocessor_ldml.h into a separate
tsconfig.build.json, and designates keyboardprocessor_ldml.ts as a new
Typescript/Node module @keymanapp/ldml-keyboard-constants.

Includes an example usage in the (currently unused) kmx-plus.ts.
2022-08-24 14:10:20 +10:00
Marc Durdin
a3e672e808 feat(developer): LDML compiler kmx-builder
Generates a valid .kmx file (legacy structures only) from an
intermediate in-memory structure. Included for completeness, although it
is anticipated that LDML keyboards will not have any groups, though they
will probably have some metadata stores.
2022-08-24 13:43:09 +10:00
Marc Durdin
ebb3cf5c76 chore(common): fixup support for options which have no variable param 2022-08-24 09:55:52 +10:00
Marc Durdin
d4553f674a chore(developer): rename structures 2022-08-24 09:42:08 +10:00
Marc Durdin
4018e528d9 feat(developer): groundwork - kmx file structures
Defines kmx binary structures and wireframe builder to emit a .kmx file.

Currently the builder will emit a roughly correct header. Next steps are
to build a .kmx file with stores, groups and keys, to match existing KMX
compiler behaviour. Once that is done, will return to generation of
KMXPlus data structures.

Compiler is designed to work independent of file system so it should run
inside browser or node environment. kmldmlc.ts is node-specific, but all
other modules should be multi-platform.
2022-08-24 09:32:30 +10:00
Marc Durdin
9ce6892112
Merge pull request #7101 from keymanapp/feat/developer/ldml-keyboard-ts-structures
feat(developer): LDML keyboard compiler - infrastructure 🙀
2022-08-23 18:29:49 -05:00
Marc Durdin
8cba43f989
chore: Apply suggestions from code review
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2022-08-24 09:29:03 +10:00
Marc Durdin
8c3d07f205
Merge pull request #7104 from keymanapp/chore/merge-master
chore: merge master into feature-ldml
2022-08-23 13:58:51 -05:00
Marc Durdin
e6ff47f2b3 chore: Merge branch 'master' into feature-ldml 2022-08-24 04:21:21 +10:00
Marc Durdin
d4f98c6beb chore(common): remove debug code 2022-08-24 03:54:39 +10:00
Marc Durdin
cc8875dc9e chore(developer): cleanup comments 2022-08-24 03:54:25 +10:00
Marc Durdin
faf244a49b chore(common): tweak variable parameter support 2022-08-24 03:40:57 +10:00
Marc Durdin
c108e5ecd6 feat(developer): add kmldmlc to developer installer 2022-08-24 03:29:45 +10:00
Eberhard Beilharz
096e5dabcf
Merge pull request #7094 from keymanapp/chore/core/python
chore(core): Remove obsolete python keyboardprocessor
2022-08-23 19:17:31 +02:00
Marc Durdin
ab6f91c587 feat(developer): bundling of kmldmlc
Adds basic bundling of kmldmlc to Keyman Developer. Bundling script
built. Yet to come: .wxs integration.
2022-08-23 11:20:54 +10:00
Marc Durdin
1e3c10e69e chore(common): add variable support for --options in builder script 2022-08-23 11:20:44 +10:00
Marc Durdin
1a0b67a242 feat(developer): LDML keyboard compiler - infrastructure 2022-08-23 10:27:34 +10:00
Steven R. Loomis
cefee9f193
Merge pull request #7082 from keymanapp/feat/core/5015-process3
feat(core): augment unit tests for ldml 🙀
2022-08-22 17:15:53 -05:00
Steven R. Loomis
6d717454ea
Merge pull request #7083 from keymanapp/feat/core/5015-process4
feat(core): build out ldml structures / initial scaffolding implementation 🙀
2022-08-22 17:15:33 -05:00
Steven R. Loomis
f5db1749b4 style(core): ldml: review comments
#5015

- add copyright notices
2022-08-22 17:13:45 -05:00
Keyman Server
57b9c6bd4f
Merge pull request #7095 from keymanapp/auto/version-master-16.0.50
auto: increment master version to 16.0.50
2022-08-23 04:02:36 +10:00
Keyman Build Agent
d92ac6e4d1 auto: increment master version to 16.0.50 2022-08-22 14:02:00 -04:00
Eberhard Beilharz
b03e7ca32f
chore(core): Remove obsolete python keyboardprocessor
This seems to be not used anywhere and has diverged from the API.
2022-08-22 17:46:27 +02:00
Marc Durdin
8e160e2d5a
Merge pull request #7087 from keymanapp/dependabot/npm_and_yarn/actions/core-1.9.1
chore(deps): bump @actions/core from 1.8.2 to 1.9.1
2022-08-21 20:52:20 -05:00
rc-swag
73da0d8f08
Merge pull request #7077 from keymanapp/fix/7074/keyboard-options-not-set
fix: remove saving and restoring context kbd options
2022-08-22 11:36:42 +10:00
Steven R. Loomis
a4080d2b7a feat(core): ldml: cleanup of header files
- quell debug messages unless KMXPLUS_DEBUG=1
- don't read the file twice

#5015
2022-08-19 17:42:09 -05:00
dependabot[bot]
ea50559fc1
chore(deps): bump @actions/core from 1.8.2 to 1.9.1
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.8.2 to 1.9.1.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-18 19:58:19 +00:00
Steven R. Loomis
747dfe8c0d feat(core): ldml: header cleanup 2022-08-18 14:33:53 -05:00
Steven R. Loomis
a333eade22 feat(core): ldml: tiny passes tests
- removed null from build, invalid
2022-08-18 14:27:17 -05:00
Steven R. Loomis
70639c585b feat(core): more kmx_plus_dump functions
- also update sample data again
2022-08-17 18:13:17 -05:00
Steven R. Loomis
5926dfe5fe feat(core): more kmx_plus_dump functions
- also update sample data
2022-08-17 17:43:14 -05:00
Steven R. Loomis
590ac8f8f6 feat(core): build out ldml structures
- beginning of str handling
2022-08-17 16:25:41 -05:00
Steven R. Loomis
95b4469ea8 feat(core): build out ldml structures
- checkin spec to repo
- new header: kmx_plus.h with data access structs and functions
- static asserts to validate header sizes
- early validation of data
- internal dump of kmx+ data
2022-08-17 15:53:53 -05:00
Steven R. Loomis
615eec89ca feat(core): augment unit tests for ldml
- add 001_tiny to the build, annotate with expected run
2022-08-17 13:31:09 -05:00
Ross
f2fe3b1693 fix: remove saving and restoring context kbd options
Remove the saving of context and keyboard options
on the non updateable call to process hook.

The windows Text Input Processor calls twice one call
is not updateable. With the core integeration we run
the processor only once, preserving the actions and
context to be applied on the updatable call.
2022-08-17 11:39:16 +10:00
Keyman Server
bc0b7168a8
Merge pull request #7076 from keymanapp/auto/version-master-16.0.49
auto: increment master version to 16.0.49
2022-08-17 04:02:44 +10:00
Keyman Build Agent
3fe24996b3 auto: increment master version to 16.0.49 2022-08-16 14:02:02 -04:00
Steven R. Loomis
3c7279deb8
Merge pull request #7071 from keymanapp/feat/core/5015-process0
feat(core): add sample file, update union #5015 🙀
2022-08-16 11:13:32 -05:00
Steven R. Loomis
5e203f8eb5 Update core/src/kmx/kmx_file.h
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-16 10:24:53 -05:00
Steven R. Loomis
9e44a7f9bc feat(core): Sample LDML data updates, kmx_file #5015
Review comments:
- moved KMXPLUSINFO into separate struct
- created resource/standards-data/ldml-keyboards for CLDR data
- corrected Khmer err
2022-08-16 10:24:53 -05:00
Steven R. Loomis
1ccc43df04 Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-16 10:24:53 -05:00
Steven R. Loomis
189124ba69 feat(core): update COMP_KEYBOARD_EX #5015
- uberstruct
2022-08-16 10:24:53 -05:00
Steven R. Loomis
29d4cc0354 test(core): add sample tiny file
- also snapshot dtd
2022-08-16 10:24:53 -05:00
Steven R. Loomis
ed3e995444
Merge pull request #7066 from keymanapp/feat/core/7046-processflag 2022-08-16 08:10:33 -05:00
Joshua Horton
be77d55430
Merge pull request #7036 from keymanapp/fix/web/ui-module-test-stability
fix(web): button, float init timer cleanup
2022-08-16 09:56:23 +07:00
Joshua Horton
760a20e97f
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-16 08:13:01 +07:00
Steven R. Loomis
b23c1e75f3
Update kmprocess.cpp 2022-08-15 17:51:45 -05:00