Commit graph

15 commits

Author SHA1 Message Date
rc-swag
4522e087a3 fix(core): fix indenting in state_api_tests 2026-08-11 20:41:15 +10:00
rc-swag
5be5eb4689 fix(core): unit test action_que insert terminated
Adds the KM_CORE_IT_END terminator to action_clone test
before calling km_core_state_queue_action_items

Fixes:#16341
2026-08-11 16:06:28 +10:00
rc-swag
eb19c28ab9 fix(windows): comments and formating 2026-07-23 22:16:17 +10:00
rc-swag
a07fff8be3 fix(windows): change option_stack to deque
when vectors are resized the memory is realocated so all the option
pointers become invalid. Using a deque avoids this it has all the same
methods so it is straight replacement.

fixes: #15961
2026-07-23 21:52:32 +10:00
rc-swag
5946dce596
Merge branch 'master' into fix/windows/clone-state-actions-deep-copy
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-19 14:27:55 +10:00
rc-swag
3b6e0a8da1 fix(windows): add comment to capture issue in test code
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-05-18 21:18:25 +10:00
rc-swag
49e222c273 fix(windows): actions list copy constructor
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-18 21:07:30 +10:00
rc-swag
29b12ba42e fix(core): fix memory leak in state_api test
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-05-18 14:10:22 +10:00
rc-swag
c0a29a32f7 fix(core): remove white space and comments
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-14 16:28:59 +10:00
rc-swag
3c0e7a72c1 fix(core): update unit tests 2026-05-14 15:58:12 +10:00
rc-swag
33cddff16e fix(windows): deep copy for state object
This commit update the state object to have a deep copy for the
action_struct member. The tests have been modified but have
a few issues however this branch is out of date with the refacted
master branch for unit tests. This commit gets the main change in
a future commit will update the tests.
2026-05-12 18:03:46 +10:00
Marc Durdin
9a01ac166d chore(core): Merge branch 'master' into fix/core/12619-disable-assertions-vcwin-release-build 2024-12-01 16:17:21 +07:00
Marc Durdin
e640caaa9c chore(core): Merge branch 'master' into fix/core/12619-disable-assertions-vcwin-release-build 2024-11-28 09:53:45 +07:00
Eberhard Beilharz
3dc3f040de
feat(core): implement loading KMX from blob
- split keyboard loading into loading KMX file into blob and then
  loading the keyboard processor from the blob.
- deprecate `km_core_keyboard_load`
- move file access next to deprecated method. This is now the only place
  that loads a file in Core; unit tests have some more places that
  load files.
- introduce GTest and add unit tests for loading from blob

Cherry-picked from `epic/web-core` branch.

Cherry-Pick-Commit: 1deaa323ad
Cherry-Pick-Commit: 59019cc8b7
Cherry-Pick-Commit: bc46458368
Cherry-Pick-Commit: d06aa29956
Cherry-Pick-Commit: 1c88166f6e
Cherry-Pick-Commit: 069cd21ecd
Cherry-Pick-Commit: 052ae2ec35
Cherry-Pick-Commit: 11a2a3ba3a

Part-of: #11293
Part-of: #8093
2024-11-27 15:30:05 +01:00
Eberhard Beilharz
718881a027
chore(core): rename test files
This change rename the test files for Core according to the discussion
at the Keyman conference in November 2024.
2024-11-26 17:47:11 +01:00
Renamed from core/tests/unit/kmnkbd/state_api.cpp (Browse further)