Commit graph

5430 commits

Author SHA1 Message Date
Joshua A. Horton
f5504904cc change(web): changes headless subkey-select model, drops now-invalid unit test 2023-11-21 10:56:11 +07:00
Joshua A. Horton
2a21f9a447 fix(web): app/webview multitap context-reset synchronization 2023-11-20 15:24:59 +07:00
Joshua A. Horton
df77d5768f fix(web): sustain mode behavior when nested model has own sustain mode 2023-11-20 12:49:42 +07:00
Joshua A. Horton
762139ba49 fix(web): multitap not cancelling with alt press if involves modipress 2023-11-20 09:49:21 +07:00
Steven R. Loomis
c42615420d feat(developer): err/hint on illegal/pua 🙀
- also found that kmc's validate() should have been async but wasn't, a little bit of churn because of this
- unassigned not implemented yet, but tests in place for it.
- change SectionCompiler.postValidate to only be called during the validate() run of compilation. This way messages will only show once.

For: #9446
2023-11-17 22:41:58 +00:00
Steven R. Loomis
3a417ade79 feat(common): PUA and illegal unicode analysis 🙀
For: #9446
2023-11-17 20:37:33 +00:00
Steven R. Loomis
b6ca0e9ab8 fix(common): kmx struct alignment 🙀
- add gcc / clang and msvc alignment options

For: #9138
2023-11-16 14:37:00 -06:00
Steven R. Loomis
dc5ac44369 fix(common): kmx struct alignment 🙀
- move KMX struct alignment to km_types.h

For: #9138
2023-11-16 14:37:00 -06:00
Marc Durdin
55c0c6fd08 fix(developer): projects 2.0 internal path enumeration
Restricts enumeration of files for the project to the project folder and
the SourcePath folder. This prevents problems where a project may be in
a folder with many subfolders which would take a long time to enumerate,
and avoids confusion where there are source-type files in other folders.

At the same time, sorts out forward slash vs backslash in paths. While
forward slash works in many scenarios, there are several filename
manipulation functions, such as ExpandFileName, which would build valid
but non-optimal paths when forward slashes were encountered, which
cascaded into files appearing to be different and presentation issues.
2023-11-16 11:47:35 +07:00
Joshua A. Horton
48fc311207 feat(web): implements basic gesture-definition validator 2023-11-16 10:14:40 +07:00
Joshua A. Horton
f03c898cb5 docs(web): adds and updates gesture-recognizer doc-comments 2023-11-16 10:04:07 +07:00
Joshua A. Horton
cff93bec74 fix(web): accidental suggestion-banner retoggle when turning predictions off 2023-11-16 08:20:38 +07:00
Darcy Wong
284ec099ee
Merge pull request #9993 from keymanapp/chore/common/keymanweb-osk-ttf
chore(web,developer): Move keymanweb-osk.ttf to common/resources
2023-11-15 19:10:27 +07:00
Steven R. Loomis
6a305cada4
Merge pull request #10005 from keymanapp/fix/common/10004-truthful-test-epic-ldml
fix(common): dx: don't call exit(0) on failure  🙀
2023-11-15 00:37:14 -06:00
Joshua A. Horton
22c09d7b42 chore(web): Merge branch 'feature-gestures' into change/web/locked-flicks 2023-11-15 12:47:57 +07:00
Marc Durdin
a355721e1b
Merge pull request #9996 from keymanapp/chore/developer/9948-handle-project-version-cleanly-in-kmc
chore(developer): handle project version checks cleanly in kmc 🦕
2023-11-15 13:48:44 +11:00
Marc Durdin
b8dcc1b43d
Merge branch 'master' into feat/developer/9948-load-xml-ldml-files 2023-11-15 13:46:52 +11:00
Marc Durdin
a937f3c7de
Merge pull request #9949 from keymanapp/feat/developer/tike-2.0-projects
feat(developer): Support v2.0 projects in TIKE 🦕
2023-11-15 13:46:07 +11:00
Steven R. Loomis
2913ba45a8 fix(common): dx: don't call exit(0) on failure 🙀
- always use std::exit(EXIT_FAILURE) if there is an error.
- use --print-errorlogs with meson to show errors to the log

Fixes: #10004
2023-11-14 07:16:32 -06:00
Joshua Horton
eefea0d972
Merge pull request #9943 from keymanapp/fix/web/gestures-old-android-compat
fix(web): restores compat with older Android devices 🐵
2023-11-14 15:26:23 +07:00
Joshua A. Horton
78dfec6a73 feat(web): better locked-flick resetting behaviors 2023-11-14 14:02:23 +07:00
Joshua A. Horton
3e3929de16 chore(web): Merge branch 'feat/web/flick-implementation' into feat/web/gesture-preview-host 2023-11-14 09:50:15 +07:00
Marc Durdin
65b7b20dc8 chore(developer): handle project version checks cleanly in kmc
Relates to #9948.

While the schema validation does check the version already, it gives a
fairly obtuse message, and we can do better.

Found a secondary issue with a iterator type guard needed in
kpj-file-reader when preparing unit test, which was probably masked in
other tests by not verifying all messages generated, so updated all
infrastructure message tests to verify the full set of messages
generated.
2023-11-14 06:24:28 +07:00
Joshua A. Horton
f47fd0d217 fix(web): resetting locked flicks during a modipress (without cancelling) 2023-11-13 15:49:39 +07:00
Joshua A. Horton
1dc94fcc3b fix(web): modipress-flick robustness; properly updates layer for completion-triggering source 2023-11-13 15:49:38 +07:00
Joshua A. Horton
fabf5a4db1 feat(web): delayed modipress completion with nested flicks 2023-11-13 15:49:38 +07:00
Joshua A. Horton
a2135315d9 feat(web): delayed modipress completion with nested subkeys 2023-11-13 15:49:37 +07:00
Darcy Wong
6ff0cd202d chore(common): Move keymanweb-osk.ttf to common/ 2023-11-13 15:44:46 +07:00
Joshua A. Horton
f477c1071b feat(web): better locked-flick resetting behaviors 2023-11-13 11:05:40 +07:00
Joshua A. Horton
cc9de9d5dd chore(web): Merge branch 'feature-gestures' into feat/web/modipress 2023-11-13 11:03:09 +07:00
Joshua Horton
6d68df314c
Merge pull request #9740 from keymanapp/feat/web/generalized-multitap
feat(web): generalized multitap 🐵
2023-11-13 11:02:07 +07:00
Joshua A. Horton
cca9918672 fix(web): fixes gesture-engine unit test affected by changes 2023-11-13 08:42:34 +07:00
Marc Durdin
33da132eab
Merge branch 'feature-gestures' into chore/merge-master-into-feature-gestures 2023-11-13 09:44:55 +11:00
Joshua A. Horton
46d1801860 feat(web): flicks auto-finish upon new tap 2023-11-08 12:32:05 +07:00
Eberhard Beilharz
46cdd07e22
fix(linux): Fix baseline tests
Change the test to use characters in the context that don't appear in
the keyboard.
2023-11-08 12:13:56 +07:00
Joshua A. Horton
a1974dcbde fix(web): flick sustain through incoming simple-taps 2023-11-08 09:15:25 +07:00
Marc Durdin
1d3cb5eb4b chore(common): ldmlKeyboard3.dtd 2023-11-08 05:48:24 +07:00
Joshua A. Horton
51958ae204 fix(web): whoops, broke modipress 2023-11-07 16:15:55 +07:00
Joshua A. Horton
e73af2f449 feat(web): flick gesture-model headless unit-testing 2023-11-07 11:05:20 +07:00
Joshua A. Horton
c9ec3e2df4 fix(web): removes debugging console statement 2023-11-07 11:04:21 +07:00
Eberhard Beilharz
fde460ecea chore(core): Recompile keyboard with kmcomp 2023-11-07 05:02:30 +01:00
Joshua A. Horton
e0a68045d1 feat(web): headless flick-path unit tests 2023-11-07 10:40:54 +07:00
Joshua A. Horton
d316e19313 feat(web): path eval access to prior stage path-stats 2023-11-07 10:07:29 +07:00
Joshua A. Horton
3ea4a60196 docs(web): doc of min Chrome version for keepNames 2023-11-07 09:18:40 +07:00
Joshua A. Horton
f5cfd27dca chore(web): Merge branch 'feat/web/gesture-preview-host' into fix/web/gestures-old-android-compat 2023-11-07 09:02:24 +07:00
Eberhard Beilharz
eb64ca4d01
chore(core): Fix test keyboard 2023-11-07 08:29:45 +07:00
Marc Durdin
4c5a91081f feat(developer): Support v2.0 projects in TIKE
Relates to #9948. Starts basic support for v2.0 projects.

For all operating modes:

- Remove blank projects / untitled projects mode
- Add Open Project Folder buttons and links
- Remove Project Save As
- Render uses in-memory XML
- Upgrade to v2.0 project file (along with checks)

For v2.0 projects:

- Remove 'Add File to Project'
- Populate Files to list all files in folder (note: consider efficiency
  here as currently files are parsed for subfile data)
- Version 2.0 project options and defaults
2023-11-07 05:18:25 +07:00
Eberhard Beilharz
09843634bb
chore(web): Address code review comments 2023-11-06 17:28:25 +07:00
Eberhard Beilharz
4851c547a9
chore(core): Enhance core test 2023-11-06 15:57:07 +07:00
Eberhard Beilharz
abe6cee202
chore(web): Additional tests for backspace
Addresses code review comments.
2023-11-06 15:51:29 +07:00