Commit graph

1513 commits

Author SHA1 Message Date
Keyman Build Agent
56af93f82f auto: increment beta version to 14.0.254 2021-03-05 13:02:56 -05:00
Marc Durdin
fe2c1cd187 fix(windows): incxstr could run over buffer with malformed data
Fixes #4591.

I fixed incxstr in 4 places:

1. Common/Core: kmx_xstring.cpp
2. Engine: xstring.cpp
3. Test project importkeyboard importkeyboard.cpp
4. Test project m-to-p m-to-p.cpp

I updated mcompile to remove its own copy of incxstr (identical to that
in xstring.cpp) to reduce WETness but opted not to do so for the test
apps, which are pretty much throwaway anyway.

I note that there is more work we could do here; we need to check every
character as we increment so we don't miss a `U+0000` end of string with
malformed data. But I would like to tackle that as a separate job at
some point in the future after Core integration.
2021-03-05 12:50:29 +11:00
Keyman Build Agent
e39ee5294c auto: increment beta version to 14.0.253 2021-03-04 13:02:44 -05:00
Joshua Horton
7e82ba629e
Merge pull request #4587 from keymanapp/fix/common/models/post-bksp-suggestions
fix(common/models): fixes application of suggestions immediately after a backspace
2021-03-04 15:57:08 +07:00
Joshua Horton
7748abde9d
Merge pull request #4572 from keymanapp/fix/web/3950-underlying-key-display
fix(web): fixes lack of respect for underlying-key display settings
2021-03-04 13:23:22 +07:00
jahorton
2e55dced98 feat(common/models): adds some suggestion unit tests 2021-03-04 13:19:24 +07:00
jahorton
978eea2204 change(common/models): a bit of tidy-up 2021-03-04 12:44:08 +07:00
jahorton
35ee5828da fix(common/models): fixes incorrect deleteLeft prop for post-bksp suggestions 2021-03-04 12:36:39 +07:00
jahorton
bd8f7a1c04 change(common/core/web): default mobile layouts follow KDU (desktop) setting 2021-03-04 10:39:24 +07:00
Keyman Build Agent
08257cf633 auto: increment beta version to 14.0.252 2021-03-03 13:02:52 -05:00
Eberhard Beilharz
a5d0e7cdae
Merge pull request #4569 from keymanapp/feat/linux/issue-4542
chore(common/core/desktop): write debug output to console
2021-03-03 14:54:59 +01:00
jahorton
399c7fb6b4 fix(web): fixes lack of respect for underlying-key display settings 2021-03-03 08:55:37 +07:00
Eberhard Beilharz
958fb3ac1f
docs(common): More readme improvements 2021-03-02 19:16:19 +01:00
Keyman Build Agent
2f5c001c61 auto: increment beta version to 14.0.251 2021-03-02 13:01:09 -05:00
Eberhard Beilharz
268a42cba4
chore(common): Fix Windows build 2021-03-02 17:37:31 +01:00
Eberhard Beilharz
2421af506e
chore(common): write debug output to console
We have a `g_debug_ToConsole` variable. However, so far this was
always set to true and output to `syslog`. This change modifies
the default to `false`, and in that case logs to `syslog`. If
`g_debug_ToConsole` is true we no output to the console.

When running the KMX unit tests we set `g_debug_ToConsole` to true.
2021-03-02 16:55:22 +01:00
Eberhard Beilharz
2593c7873f
docs(common): Add readme for unit tests 2021-03-02 16:55:22 +01:00
Eberhard Beilharz
64f9f9297a
chore(linux): Improve readme
Also ignore some more generated files.
2021-03-02 16:55:22 +01:00
Keyman Build Agent
3a2e4741bb auto: increment beta version to 14.0.250 2021-03-01 13:01:24 -05:00
Joshua Horton
d2278c6494
Merge pull request #4540 from keymanapp/fix/web/1125-ff-keymaps-with-mnemonics
fix(web): mnemonic keystrokes w FF keymapping
2021-03-01 08:17:01 +07:00
Keyman Build Agent
eabc2e4f3c auto: increment beta version to 14.0.249 2021-02-26 13:02:44 -05:00
Joshua Horton
c7cf3d8947
Merge pull request #4427 from keymanapp/feat/common/models/mid-context-suggestions
feat(common/models): mid-context suggestions & reversions, fix(common/models): correction-search SMP issues
2021-02-26 12:11:47 +07:00
jahorton
58a214831b docs(web): enhances comments re: keymapping 2021-02-26 12:06:39 +07:00
jahorton
a232f32ea4 chore: reverts right-delete changes 2021-02-26 10:32:48 +07:00
jahorton
86341505eb fix(web): mnemonic keystrokes w FF keymapping. Fixes #1125 2021-02-26 09:58:27 +07:00
Keyman Build Agent
66f8ea2c3e auto: increment beta version to 14.0.248 2021-02-25 13:22:15 -05:00
jahorton
8516561081 change(common/models): disables right-deletion for now 2021-02-25 14:31:11 +07:00
jahorton
28ed690fe2 chore(common/models): Merge branch 'beta' into feat/common/models/mid-context-suggestions 2021-02-25 09:16:45 +07:00
Keyman Build Agent
dede81e2b8 auto: increment beta version to 14.0.247 2021-02-24 14:40:17 -05:00
Keyman Build Agent
a4e4e24cc1 auto: increment beta version to 14.0.246 2021-02-24 13:01:48 -05:00
jahorton
4618dce6a0 docs(common/core/web): addresses PR review comment 2021-02-24 09:02:26 +07:00
jahorton
f20388d956 fix(common/core/web): core key-processing returns 2021-02-23 11:55:06 +07:00
Keyman Build Agent
ba097f074c auto: increment beta version to 14.0.245 2021-02-22 13:02:42 -05:00
jahorton
21d9f49001 fix(common/models): merges identical suggestions after casing 2021-02-22 14:43:58 +07:00
Keyman Build Agent
ddd5f6d6d1 auto: increment beta version to 14.0.244 2021-02-12 13:03:18 -05:00
Keyman Build Agent
6d0de89c3a auto: increment beta version to 14.0.243 2021-02-11 13:02:12 -05:00
jahorton
8b32069ebe chore(common/models): Merge branch 'beta' into feat/common/models/mid-context-suggestions 2021-02-11 15:51:39 +07:00
jahorton
9d5db8a345 change(common/core/web): includes review suggestion 2021-02-11 13:20:42 +07:00
jahorton
dabd425003 fix(common/core/web): mock construction with caret at index 0 2021-02-11 12:58:27 +07:00
Keyman Build Agent
5c3a78e1a9 auto: increment beta version to 14.0.242 2021-02-10 13:01:25 -05:00
jahorton
785b9500c1 fix(common/models): correction-search smp issues 2021-02-10 10:52:32 +07:00
Keyman Build Agent
fc3e8b6bb2 auto: increment beta version to 14.0.241 2021-02-09 13:01:03 -05:00
Joshua Horton
21a021f892
Merge pull request #4411 from keymanapp/fix/common/models/context-reset-predictions
fix(common/models): predictions after context reset / caret shift
2021-02-09 15:46:27 +07:00
jahorton
8334e49076 chore(common/models): Merge branch 'fix/common/models/context-reset-predictions' into feat/common/models/mid-context-suggestions 2021-02-09 14:41:28 +07:00
jahorton
a8b5203997 fix(common/models): fixes context tracking with SMP chars 2021-02-09 14:32:53 +07:00
jahorton
f0f1ae351e docs(common/models): removes defunct comment-doc 2021-02-09 09:22:09 +07:00
jahorton
ee6b11aca6 fix(common/models): missed a spot 2021-02-09 08:22:09 +07:00
jahorton
ae634a93a9 chore(common/models): Merge remote-tracking branch 'origin/fix/common/models/context-reset-predictions' 2021-02-09 08:21:11 +07:00
jahorton
c449d0318f fix(common/models): logic check - deleteRight may be undefined 2021-02-09 08:20:09 +07:00
Joshua Horton
8dcc4a713b
change(common/models): PR suggestion
Adds `primaryInput.deleteRight == 0` to logic check for empty transforms.

Co-authored-by: Marc Durdin <marc@durdin.net>
2021-02-09 08:18:37 +07:00