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
Steven R. Loomis
af3bcd2a15
feat(core): ldml: padding for vkey and loca 🙀
...
- vkey and loca needed padding before the variable part
- add static asserts to validate this padding
- update sample files (null and tiny)
#7043
2022-08-25 12:54:52 -05:00
Marc Durdin
23d9aad0a0
chore(developer): cleanup
2022-08-25 15:12:00 +10:00
Marc Durdin
4f05e009d3
Merge branch 'revert-7112-revert-7110-feat/developer/ldml-constants-ts-module' into feat/developer/ldml-compiler-kmxplus-builder
2022-08-24 21:40:45 -05:00
Marc Durdin
aed8f0d11a
feat(developer): Write kmxplus section
...
Adds support for writing kmxplus section of a kmx file. Extends KMXFile
to a KMXPlusFile subclass. Adds KMXPlusBuilder which is called from
KMXBuilder if KMXBuilder finds that the file is a KMXPlusFile.
This means that KMXPlusBuilder generates a buffer that could be stored
independently of its parent .kmx file transport, if that is later
considered desirable.
Adds new constants for sizes of various table components, which makes
building the file much simpler.
2022-08-25 12:26:21 +10:00
Marc Durdin
e84bd590b0
chore: Merge branch 'feat/developer/ldml-compiler-kmx-builder' in
2022-08-25 08:42:23 +10:00
Marc Durdin
6aeb20e77c
Revert "Revert "feat(core): turn @keymanapp/ldml-keyboard-constants into a module 🙀 ""
2022-08-24 14:32:22 +10: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
fa28040643
Merge pull request #7100 from keymanapp/fix/core/7098-cxxfun
...
fix(core): ldml: remove 0-length arrays 🙀
2022-08-23 23:20:14 -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
Steven R. Loomis
b08f101f37
fix(core): ldml: goodbye multichar strings 🙀
...
- update builder to print out string as well as hex
- change to symbol name
2022-08-23 16:34:08 -05:00
Marc Durdin
e6ff47f2b3
chore: Merge branch 'master' into feature-ldml
2022-08-24 04:21:21 +10:00
Steven R. Loomis
fd4945c5ee
fix(core): ldml: goodbye multichar strings 🙀
...
- use 32 bit hex constants instead
#7098
2022-08-23 11:27:59 -05:00
Steven R. Loomis
f5db1749b4
style(core): ldml: review comments
...
#5015
- add copyright notices
2022-08-22 17:13:45 -05:00
Steven R. Loomis
747dfe8c0d
feat(core): ldml: header cleanup
2022-08-18 14:33:53 -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
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
Marc Durdin
5635372eb9
Merge pull request #7062 from keymanapp/refactor/core/move-kmx_file.h-to-common
...
chore(core): refactor kmx_file.h to common 🚑
2022-08-15 02:11:19 -05:00
Steven R. Loomis
e8dff5cf4e
feat(core): add event_flags to process_event #7046
...
- use a constant, KM_KBP_EVENT_FLAG_DEFAULT for 0
- update pascal and python
- update linux and windows
2022-08-12 09:58:58 -05:00
Steven R. Loomis
21a783a6ca
feat(core): add event_flags to process_event
...
- uint16_t
- defined km_kbp_event_flags to define the bitfield
- bitfield has value KM_KBP_EVENT_FLAG_TOUCH for touch events
- ignored everywhere, currently
2022-08-11 16:14:57 -05:00
Steven R. Loomis
f9dc68b2e5
docs(core): cleanup in keyboardprocessor.h
...
- fixes to api doc
2022-08-11 16:12:51 -05:00
Marc Durdin
8e36b33f21
chore(common): check for redefinition of defines
2022-08-11 16:29:02 +02:00
Marc Durdin
515bda7692
chore(linux): ensure char16_t and namespace
2022-08-11 16:13:33 +02:00
Marc Durdin
dedb06e7cc
chore(common): refactor shared types into km_types.h
2022-08-11 11:36:09 +02:00
Marc Durdin
bb24d59b5e
chore(core): remove duplicate types
2022-08-11 11:34:59 +02:00
Steven R. Loomis
1f4509f29b
feat(core): constant generator between core and developer
...
- resolved review comments
2022-08-09 14:14:20 -05:00
Steven R. Loomis
d414be8313
feat(core): constant generator between core and developer
...
- change to manual regen of the .h file
2022-08-09 12:12:52 -05:00
Steven R. Loomis
ea4c2c07c2
feat(core): constant generator between core and developer
...
- seems to build every time, but works
2022-08-08 18:11:58 -05:00
Steven R. Loomis
de76cbcc78
feat(core): constant generator between core and developer
...
- update build
- add more constants from binary format
2022-08-08 17:20:10 -05:00
Steven R. Loomis
363b515368
feat(core): constant generator between core and developer
...
- merge tsconfig projects…for now
2022-08-08 16:22:34 -05:00
Steven R. Loomis
e4df274864
feat(core): constant generator between core and developer
...
- one attempt
2022-08-08 15:18:32 -05:00
Steven R. Loomis
09ea9e52a0
feat(core): constant generator between core and developer
2022-08-08 14:49:43 -05:00
Marc Durdin
a58680f89b
chore(common): move common/core/desktop/ to core/
2022-05-18 07:22:10 +10:00