Commit graph

27 commits

Author SHA1 Message Date
Steven R. Loomis
f5db1749b4 style(core): ldml: review comments
#5015

- add copyright notices
2022-08-22 17:13:45 -05: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
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
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
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
ba5610b4fa fixup! feat(core): constant generator between core and developer 2022-08-09 12:27:18 -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
Marc Durdin
c2b89554e3 chore: address review comments 2022-08-08 11:48:51 -05:00
Marc Durdin
6f61b1d8da chore(common): rename KF_KMXPLUS flag 2022-08-07 08:03:49 -05:00
Marc Durdin
e753ca298f chore(core): add wireframe COMP_KEYBOARD_EX 2022-08-07 08:03:29 -05:00
Marc Durdin
5cb6664a46 chore(core): tag unused parameters 2022-08-07 08:03:09 -05:00
Marc Durdin
3ea7ad7248 chore(core): cleanup ldml file sniff 2022-08-07 08:03:04 -05:00
Marc Durdin
7ff9e79e01 feat(core): ldml unit tests and stub actions
* Enables identification of KMXPlus files in processor factory
* Adds a stub action to generate an 'a' output character
* Adds a passing null_keyboard unit test for a hypothetical ldml
  keyboard
2022-08-07 08:02:50 -05:00
Marc Durdin
0ce519a906 feat(common): LDML keyboard_processor infrastructure
Establishes baseline class and headers, and stub for loading LDML
keyboards embedded in kmxplus files.
2022-08-07 08:02:42 -05:00
Marc Durdin
1c9c652e8d chore(common): add KF_KMXPLUS dwFlag value
Part of #7045.

Indicates that the .kmx file has additional header structure immediately
following the COMP_KEYBOARD header. Used by KMXPlus file format for
supporting LDML keyboards. Requires VERSION_160 or higher in keyboard
file.
2022-08-07 08:01:08 -05:00
Marc Durdin
339744c7a1 chore(core): add VERSION_160 to kmx_file.h 2022-08-07 08:00:21 -05:00
Marc Durdin
f762776d5c chore(core): get wasm core building again
Updates search for emscripten if not on path, and fixes up unit test
infrastructure for wasm builds for new tests.
2022-08-01 14:15:52 +10:00
Eberhard Beilharz
57c736f17a
fix(common): Fix delete
GCC 12 will output an error if the wrong `delete` is used.

Fixes #6930
2022-07-18 15:38:33 +02:00
Marc Durdin
d5aa61fdc0 chore(common): Merge branch 'chore/web/keyman-version-for-developer' into chore/common/move-common-core-desktop-to-core 2022-05-30 09:38:27 +10:00
Marc Durdin
a58680f89b chore(common): move common/core/desktop/ to core/ 2022-05-18 07:22:10 +10:00