spiegel-keyman/core/src
Eberhard Beilharz b405bf5842
refactor(core): simplify loop for removing text
Instead of using an iterator to loop over the context items, incrementing
a counter on each iteration, and then finally removing the calculated
number of context items from the list, this change loops through the list
and looks at the last context item, removing it if necessary.

Follows: #15596
Test-bot: skip
2026-02-18 17:34:02 +01:00
..
kmx fix(developer): prevent ANSI keyboards crashing debugger 2025-10-24 14:45:17 +02:00
ldml refactor(core): simplify loop for removing text 2026-02-18 17:34:02 +01:00
mock feat(core): implement loading KMX from blob 2024-11-27 15:30:05 +01:00
action.cpp chore(developer): ifdef variables only used in assertions 2024-11-28 10:12:28 +07:00
action.hpp fix(core): make km_core_state_get_actions() idempotent 2024-02-01 11:28:08 +07:00
actions_normalize.cpp fix(core): normalization segment should end on NFC boundary, not NFD 2026-01-28 14:32:25 +11:00
context.hpp feat(core): move more normalization logic into JS 2024-05-24 18:20:30 -05:00
context_helpers.cpp chore(core): km_core_cp -> km_core_cu 2024-05-02 17:39:15 -05:00
core_icu.cpp feat(core): move more normalization logic into JS 2024-05-24 18:20:30 -05:00
core_icu.h refactor(core): devolve regex to js for wasm 2024-06-05 16:53:43 -05:00
debug.hpp refactor(core): split context API from Core primary API 2024-01-17 14:44:25 +11:00
debuglog.cpp fix(core): handle backspace decomposition 2026-01-25 07:24:15 +11:00
debuglog.h fix(core): handle backspace decomposition 2026-01-25 07:24:15 +11:00
jsonpp.cpp chore(core): update core to C++17 fixes 2024-05-13 17:50:20 -05:00
jsonpp.hpp chore(core): update core to C++17 fixes 2024-05-13 17:50:20 -05:00
keyboard.cpp feat(core): implement loading KMX from blob 2024-11-27 15:30:05 +01:00
keyboard.hpp feat(core): implement loading KMX from blob 2024-11-27 15:30:05 +01:00
keyman_core.h chore(core): refactor to move most normalization calls into util_normalize.cpp 2024-05-23 14:47:38 -05:00
km_core_action_api.cpp fix(core): add an assert on code_points_to_delete 2024-03-27 23:25:43 -05:00
km_core_context_api.cpp feat(core): move more normalization logic into JS 2024-05-24 18:20:30 -05:00
km_core_debug_api.cpp refactor(core): split context API from Core primary API 2024-01-17 14:44:25 +11:00
km_core_keyboard_api.cpp chore(core): remove km_core_keyboard_load API 2024-12-04 13:38:07 +07:00
km_core_options_api.cpp chore(core): km_core_cp -> km_core_cu 2024-05-02 17:39:15 -05:00
km_core_processevent_api.cpp fix(core): update core to handle reset context 2024-04-17 10:31:33 -05:00
km_core_state_api.cpp chore(core): move API docs from help.keyman.com 2024-11-07 08:28:33 +07:00
km_core_state_context_set_if_needed.cpp chore(core): refactor to move most normalization calls into util_normalize.cpp 2024-05-23 14:47:38 -05:00
meson.build feat(core): implement loading KMX from blob 2024-11-27 15:30:05 +01:00
option.cpp chore(core): km_core_cp -> km_core_cu 2024-05-02 17:39:15 -05:00
option.hpp refactor(core): split context API from Core primary API 2024-01-17 14:44:25 +11:00
path.hpp refactor(core): split context API from Core primary API 2024-01-17 14:44:25 +11:00
processor.hpp refactor(core): split context API from Core primary API 2024-01-17 14:44:25 +11:00
state.cpp chore: Update core/src/state.cpp 2024-02-07 12:29:45 +11:00
state.hpp fix(core): update core to handle reset context 2024-04-11 23:34:20 -05:00
util_normalize.cpp fix(core): normalization segment should end on NFC boundary, not NFD 2026-01-28 14:32:25 +11:00
util_normalize.hpp fix(core): normalization segment should end on NFC boundary, not NFD 2026-01-28 14:32:25 +11:00
util_normalize_table_generator.cpp chore(core): address review comments 2026-02-01 06:47:49 +11:00
util_regex.cpp feat(core): update util_regex per review comments 2024-06-14 08:55:15 -05:00
util_regex.hpp feat(core): devolve regex to JS 2024-06-07 18:11:20 -05:00
version.rc Update core/src/version.rc 2023-10-20 09:34:16 +02:00
vkey_to_contextreset.cpp Apply suggestions from code review 2024-04-24 08:22:41 -05:00
vkey_to_contextreset.hpp fix(core): update vkey_should_invalidate_context per comment 2024-04-25 08:58:47 -05:00