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
190776ef9c
Update core/tests/unit/ldml/ldml.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-25 13:53:35 -05:00
Steven R. Loomis
a809fc86be
Update core/tests/unit/ldml/ldml.cpp
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-25 13:53:21 -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
Steven R. Loomis
f7aeba5f01
feat(core): ldml: validator for kmxplus 🙀
...
- also update test case, 002_null_invalid is expected to not validate
#7097
2022-08-25 12:54:08 -05:00
Steven R. Loomis
43b3e3243e
fix(core): ldml: emit nothing (no err) on unassigned keys 🙀
...
- also update test case
#7097
2022-08-25 11:22:19 -05:00
Steven R. Loomis
7aac6a1747
chore(core): update 000_null_keyboard to be a proper null keyboard 🙀
...
- rewrite 000_null_keyboard.kmx to be valid, but with no keys
- remove outdated comment in kmx_plus.h
- update kmx_plus.cpp to not reverse the order of section ids (#7098 )
- add a new test option for expected-error
2022-08-24 17:04:55 -05:00
Steven R. Loomis
b180ca844d
fix(core): fixes for kmx_file rearrangement 🙀
...
fix breaks in #7111 and prior
#7098
2022-08-24 13:49:55 -05: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
eb48fb76f9
Update core/src/kmx/kmx_plus.cpp
2022-08-24 14:20:08 +10:00
Steven R. Loomis
16b8d725fd
fix(core): ldml: include path fix 🙀
...
#7098
2022-08-23 19:15:20 -05:00
Steven R. Loomis
f8e0abd810
fix(core): ldml: turn off problematic debug 🙀
...
#7098
2022-08-23 16:37:02 -05: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
a31cbc91bf
fix(core): ldml: remove 0-length arrays 🙀
...
- need a pragma to suppress this on MSVC
#7098
2022-08-23 12:40:28 -05:00
Steven R. Loomis
59fc1521dd
fix(core): ldml: use nullptr and some other cleanups 🙀
...
- per review comments
Fixes : #7098
2022-08-23 12:04:57 -05:00
Steven R. Loomis
da3bd0a619
fix(core): ldml: fix a bad unsigned assert 🙀
...
Fixes : #7098
2022-08-23 11:56:36 -05: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
45cac0da6c
fix(core): ldml: remove 0-length arrays 🙀
...
- use C99 flexible array member instead
#7098
2022-08-23 10:57:36 -05:00
Steven R. Loomis
f5db1749b4
style(core): ldml: review comments
...
#5015
- add copyright notices
2022-08-22 17:13:45 -05: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
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
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
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
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
Marc Durdin
422e7227a6
chore(core): move kmx_file.h to common
2022-08-11 11:34:09 +02:00
Steven R. Loomis
c61f113df3
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-09 14:16:09 -05: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
ba5610b4fa
fixup! feat(core): constant generator between core and developer
2022-08-09 12:27:18 -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