Commit graph

1827 commits

Author SHA1 Message Date
Eberhard Beilharz
3f8d8f5cff
Merge pull request #5564 from keymanapp/chore/core/uninstall
chore(common/core): Add uninstall option to build script
2021-08-09 08:15:20 +02:00
Keyman Build Agent
dfa16719e7 auto: increment master version to 15.0.96 2021-08-06 14:02:51 -04:00
Eberhard Beilharz
3509ddeb7c
chore(common/core): Add uninstall option to build script 2021-08-06 16:53:33 +02:00
Eberhard Beilharz
c9497fd494
feat(common/core): Implement shiftFreesCaps and capsOnOnly 2021-08-06 16:13:58 +02:00
Eberhard Beilharz
f3ea1dafee
fix(common/core): Turn off capslock on key down
This change improves capslock handling with a capsAlwaysOff keyboard.
Previously, the caps lock indicator was turned on while holding down
the Caps Lock key. With this change we turn it off immediately. This
is done by forcing caps lock off even if the state already seems to
match.

Also, for capsAlwaysOff keyboards skip further processing of caps
lock key after we turned capslock off again.
2021-08-06 12:21:20 +02:00
Eberhard Beilharz
dabfea57ab
Merge pull request #5536 from keymanapp/chore/linux/5022-debian
chore(linux): Consolidate Debian source packages 📦
2021-08-06 12:02:54 +02:00
Eberhard Beilharz
3d10e6100f
chore(linux): Remove no longer needed debian directories
The previous commit created a consolidated toplevel `debian`
directory.
2021-08-06 11:25:00 +02:00
Joshua Horton
01217a76ae
Merge pull request #5480 from keymanapp/fix/common/models/keep-diacritic-sensitivity
fix(common/models): keep/suggestion diacritic sensitivity when de-duping
2021-08-06 11:32:48 +07:00
Marc Durdin
d76eca052e fix(common/core/desktop): split smp for context chars
Fixes #5465.
Fixes #5561.

If a non-BMP Unicode char was emitted into the internal context, it was
being truncated to a WORD, which caused data loss for multi-group
keyboards.

Includes an update to a unit test to validate this fix.
2021-08-06 12:28:15 +10:00
Keyman Build Agent
8576826526 auto: increment master version to 15.0.95 2021-08-05 14:02:11 -04:00
Keyman Build Agent
3a028317ea auto: increment master version to 15.0.94 2021-08-04 14:02:03 -04:00
Eberhard Beilharz
c3b27b1c98
Merge pull request #5518 from keymanapp/refactor/core/comment
refactor(common/core): Move comment to where it belongs
2021-08-04 14:20:47 +02:00
Eberhard Beilharz
5cd1d0e432
refactor(common/core): Move comment to where it belongs 2021-08-04 12:25:49 +02:00
Eberhard Beilharz
0a28af6c83
chore(common/core): Allow shell script for kmcomp
This change allows to build the keyboards on Linux if a `kmcomp`
script can be found in PATH. Otherwise we check for and use `wine`
and `kmcomp.exe`.
2021-08-04 12:25:02 +02:00
Keyman Build Agent
9afb2ec8d3 auto: increment master version to 15.0.93 2021-08-03 14:01:08 -04:00
Keyman Build Agent
af664bd388 auto: increment master version to 15.0.92 2021-08-02 14:01:20 -04:00
Keyman Build Agent
ba21895d64 auto: increment master version to 15.0.91 2021-08-01 18:22:11 -04:00
jahorton
85ebed5c04 change(common/models): unit test adjustment for breaking change 2021-07-30 11:51:17 +07:00
Marc Durdin
93d92bb2a7
Merge pull request #5512 from keymanapp/chore/common/core/refactor-backspace-handling
chore(common/core): refactor backspace handling 🐞
2021-07-30 06:00:56 +10:00
Marc Durdin
6c645ff03c chore: fix comment 2021-07-29 16:36:26 +10:00
Marc Durdin
bfdc3afb45 chore(common/core): refactor backspace handling
Moves the responsibility for deletion of markers when the users presses
the backspace key, from `kmx_processor::process_event` to
`KMX_ProcessEvent::ProcessGroup`. This has no effect on usage of Keyman
Core, but:

1. Simplifies the association between context and action further
2. Ensures that `m_actions` and `state->actions` will always be the
   same length, making future refactoring of these simpler
3. Allows us to use the index into the m_actions array for Debug events,
   which simplifies the interleaving of these for the upcoming Debugger.

When the user presses backspace at start of context (where there may be
markers in the cached context, but no characters), the kmx processor
will delete any markers prior to insertion point before requesting that
the consumer emit the backspace virtual key back to the application, to
allow the application to handle backspace at start of text.
2021-07-29 16:15:36 +10:00
Marc Durdin
d2d0b4e53c
Merge pull request #5489 from keymanapp/chore/common/core/5488-delete-markers-reliably
chore(common/core): handle deletion of markers in actions 🐞
2021-07-28 11:09:10 +10:00
Marc Durdin
3b4dfec809 chore(common/core): unit test fixes
Per review comments.
2021-07-28 10:02:39 +10:00
Marc Durdin
060b34a662
Merge pull request #5482 from keymanapp/chore/common/core/debug-additional-tests
chore(common/core): additional debug tests 🐞
2021-07-28 09:53:32 +10:00
Keyman Build Agent
e9a3987b72 auto: increment master version to 15.0.90 2021-07-27 14:02:50 -04:00
Joshua Horton
a6c3e0a5fa
Merge pull request #5456 from keymanapp/fix/web/state-key-management
fix(common/core/web): OSK state-key management
2021-07-27 11:23:56 +07:00
Joshua Horton
fc1251bb0f
Merge pull request #5479 from keymanapp/fix/common/core/web/empty-alternates
fix(common/core/web): error from early fat-finger termination due to OS interruptions
2021-07-27 08:42:23 +07:00
Marc Durdin
60b1cc7545 chore: fixup damaged merge 2021-07-27 08:32:02 +10:00
Marc Durdin
5a94012f01
Merge branch 'chore/common/core/debug-additional-tests' into chore/common/core/5488-delete-markers-reliably 2021-07-27 08:23:24 +10:00
Marc Durdin
1292b407bc
Merge branch 'master' into chore/common/core/debug-additional-tests 2021-07-27 08:17:53 +10:00
Marc Durdin
75ce10510a chore(common/core): address review comments
Also introduce a specific enum for backspace type rather than
inappropriately using the action item type enum.
2021-07-27 07:08:30 +10:00
Marc Durdin
91cde81d35 chore(common/core): extra test for context consistency 2021-07-26 15:29:16 +10:00
Marc Durdin
796a2d4c85 chore(common/core): handle deletion of markers in actions
Fixes #5488.

This updates Keyman Core, corresponding tests, and Keyman Engine for
Linux to support deletion of markers through an action, ensuring that
the action queue does not desynchronize with the context.
2021-07-26 15:23:20 +10:00
Keyman Build Agent
653469891f auto: increment master version to 15.0.89 2021-07-23 14:02:25 -04:00
Eberhard Beilharz
0eca43d4ea
feat(common/core): Implement capsAlwaysOff system store
This change implements the core part in a way that makes the tests
pass. This still needs corresponding changes in the engine.
2021-07-23 10:25:28 +02:00
Eberhard Beilharz
a16b320c17
chore(common/core/desktop): Update readme 2021-07-23 10:16:14 +02:00
Joshua Horton
0f55921c14
Merge pull request #5430 from keymanapp/refactor/web/osk-keyboard-view
refactor(web): osk inner-frame abstraction (help text vs std OSK) 🍕
2021-07-23 12:53:25 +07:00
jahorton
27096c8823 chore(web): addresses PR comments 2021-07-23 10:53:34 +07:00
Marc Durdin
049ffc9080
Merge pull request #5470 from keymanapp/feat/common/core/debug-action-index
feat(common/core): debug action index 🐞
2021-07-23 07:22:29 +10:00
Marc Durdin
a8acee1770
chore: Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2021-07-23 07:18:17 +10:00
Keyman Build Agent
2049089c10 auto: increment master version to 15.0.88 2021-07-22 14:01:23 -04:00
Marc Durdin
507c5a4e78 chore(common/core): additional debug tests
Adds some tests for Keyman Core for debugging, verifying contents of
the action list after every keystroke in the test.

Also refactors some of the test helper files to make it easier to
diagnose failing tests and share helper functions.
2021-07-22 20:05:01 +10:00
Marc Durdin
4560ae4f69 feat(common/core): add action_index to all debug events 2021-07-22 16:33:31 +10:00
Joshua Horton
9d35b26f1b
docs(common/models): applies PR suggestion
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-07-22 10:56:38 +07:00
jahorton
1125b368f8 change(common/core/web): removes conditional replacement of a now always-truthy 2021-07-22 10:39:32 +07:00
jahorton
fd940cb618 change(common/core/web): adjustments per review 2021-07-22 10:36:36 +07:00
jahorton
3fd881d680 fix(common/models): keep/suggestion diacritic sensitivity when de-duping 2021-07-22 09:28:23 +07:00
jahorton
1c8689b404 fix(common/core/web): fixes likely root of problem 2021-07-22 08:22:28 +07:00
jahorton
80732a98d7 chore(web): Merge branch 'master' into refactor/web/osk-keyboard-view 2021-07-22 07:37:36 +07:00
jahorton
73ba8eb359 fix(common/core/web): mnemonic layer tracking with caps 2021-07-21 15:29:26 +07:00