Commit graph

5162 commits

Author SHA1 Message Date
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
Joshua A. Horton
f1f09918e0 chore(web): Merge branch 'feat/web/flick-implementation' into feat/web/gesture-preview-host 2023-11-06 15:45:57 +07:00
Joshua A. Horton
eb74bb9c61 chore(web): taggedContext null guard in lm-worker 2023-11-06 15:35:54 +07:00
Joshua A. Horton
d227550172 fix(web): path with undefined return value in matcherSelector 2023-11-06 15:22:33 +07:00
Joshua A. Horton
52897769e4 fix(web): fixes #9561 - disables esbuild's keepNames setting 2023-11-06 15:13:08 +07:00
Eberhard Beilharz
a43fad4678
fix(web): Don't clear deadkeys after backspace
Fixes #8568.
2023-11-06 13:29:33 +07:00
Eberhard Beilharz
2e71ec9e70
chore(web): Add failing test for deadkey bug
Also adds a similar testcase to the baseline keyboard tests.
2023-11-06 13:28:49 +07:00
Joshua A. Horton
8d6610abf4 fix(web): lm-worker null guard 2023-11-06 13:20:37 +07:00
Eberhard Beilharz
84dd0c6b95
chore(web): Improve debug output of nodeProctor 2023-11-06 12:20:57 +07:00
Eberhard Beilharz
fa0b3e839e
refactor(core): Remove obsolete comments
Since things are working in both cases it seems that the problem got
fixed and the comments are obsolete.
2023-11-06 12:20:56 +07:00
Marc Durdin
2f42dd41f0
Merge pull request #9937 from keymanapp/chore/common/npm-prepublish-remove
chore(common): remove prepublish step from package.json
2023-11-06 14:57:43 +11:00
Joshua Horton
a01a48fe7c
Merge pull request #9855 from keymanapp/change/common/models/pred-text-context-tracking
change(common/models): context tracking within the lm-worker 🐵
2023-11-06 08:27:54 +07:00
Joshua Horton
a559004ee0
Merge pull request #9836 from keymanapp/refactor/web/transcription-cache
refactor(web): transcription cache needed for multitaps, no longer prediction-only 🐵
2023-11-06 08:27:35 +07:00
Joshua Horton
1bfe774ef1
Merge pull request #9829 from keymanapp/feat/web/custom-key-hints
feat(web): configurable key-cap hints 🐵
2023-11-06 08:27:28 +07:00
Marc Durdin
c5c5b35415 chore(common): remove prepublish step from package.json
Given we've just run a build, this (a) seems unnecessary, and (b) seems
to go wrong in some circumstances anyway, e.g.
https://build.palaso.org/buildConfiguration/Keyman_Developer_Release/421326?buildTab=log&focusLine=19936&linesState=18839&logView=flowAware:

```
07:01:29   > @keymanapp/kmc@17.0.205-alpha prepublishOnly
07:01:29   > npm run build
07:01:29
07:01:31
07:01:31   > @keymanapp/kmc@17.0.205-alpha build
07:01:31   > tsc -b
07:01:31
07:01:35   ../../../common/web/types/build/src/kmx/kmx.d.ts(1,1): error TS1036: Statements are not allowed in ambient contexts.
07:01:35   ../../../common/web/types/build/src/kmx/kmx.d.ts(1,2): error TS1345: An expression of type 'void' cannot be tested for truthiness.
...
```
2023-11-04 07:34:18 +07:00
Joshua A. Horton
5580ebb713 fix(web): restores compat with older Android devices 2023-11-03 14:02:43 +07:00
Marc Durdin
3336539ec5 chore(developer): remove obsolete 'Allow Multiple Instances' and 'Use Legacy Compiler' options
Fixes #9925.

Allow Multiple Instances is now always true.
Use Legacy Compiler did nothing (there is no legacy compiler!).
2023-11-03 13:24:05 +07:00
Joshua A. Horton
01c85b7781 chore(web): Merge branch 'feat/web/flick-implementation' into feat/web/gesture-preview-host 2023-11-03 09:40:29 +07:00
Joshua A. Horton
2189f1ebd3 chore(web): Merge branch 'feat/web/generalized-multitap' into feat/web/modipress 2023-11-03 09:39:44 +07:00