Commit graph

5138 commits

Author SHA1 Message Date
Marc Durdin
0d9688451d
Merge branch 'master' into feat/developer/kmc-generate 2024-10-11 03:26:54 +02:00
Eberhard Beilharz
4f3a68494c
refactor(web): address code review comments 2024-10-10 09:09:17 +02:00
Eberhard Beilharz
9885a477ec
refactor(web): address code review comments 2024-10-09 20:37:51 +02:00
Eberhard Beilharz
3b9c6ef2e4
refactor(web): move KeyboardObject type to common/web/types
Fixes: #11612
2024-10-08 18:53:14 +02:00
Eberhard Beilharz
3056128c14
chore(common): create flag file without node
Addresses code review comments.
2024-09-30 14:51:24 +02:00
Eberhard Beilharz
d552b44a9d
chore(common): use node to touch file
The previous attempt failed when building on Windows. Using node should
work everywhere.
2024-09-27 22:32:33 +02:00
Eberhard Beilharz
968c9716f9
chore(common): improve configuration detection for hextobin
This improves #12440. The previous change was a bit fragile if we updated
commander versions. This change now implements a better solution that
doesn't rely on dependencies and their locations for detecting if we need
to run the `configure` action for hextobin.
2024-09-27 16:29:28 +02:00
Marc Durdin
10e4bba100
Merge branch 'master' into feat/developer/kmc-generate 2024-09-26 18:55:20 +02:00
Eberhard Beilharz
664f7abbe7
Merge pull request #12440 from keymanapp/fix/common/dependency
fix(common): add proper configure output for hextobin
2024-09-19 13:53:05 +07:00
Eberhard Beilharz
17912a5429
fix(common): add proper configure output for hextobin
This change fixes a dependency problem when building Core. Previously
this failed on a clean source tree because hextobin was missing
dependencies but didn't run its `configure` action if the top-level
`node_modules` folder did already exist.
2024-09-17 11:52:52 +02:00
Marc Durdin
201f48a1f0
Merge pull request #12404 from keymanapp/fix/developer/12403-validate-string-use-before-definition
fix(developer): check vars string usage before definition
2024-09-17 00:40:24 +02:00
Dr Mark C. Sinclair
2a477c6d47 chore(developer): Merge branch 'master' into fix/developer/11833-index-requires-comma-between-parameters-in-kmcmplib-compiler 2024-09-12 09:18:03 +01:00
Marc Durdin
8424cb9349
Merge branch 'master' into feat/developer/kmc-generate 2024-09-12 08:18:37 +02:00
Marc Durdin
b7810bdd2e fix(developer): check vars string usage before definition
Validation of vars was not properly checking for forward references to
string variables. This, coupled with a null vs undefined bug in
subsequent use, meant that forward reference variables were ending up
with a literal string value of 'undefined'.

This also fixes the test for visual-keyboard-compiler, where the fixture
was actually buggy and was the trigger for investigating this problem.

Fixes: #12403
Relates-to: #12395
2024-09-12 09:18:06 +07:00
Eberhard Beilharz
04c9817d26
chore(web): remove unused file
All subprojects that used `common/web/tsconfig.kmw-main-base.json`
got moved so that this file is no longer used by anyone.
2024-09-11 16:49:16 +02:00
Eberhard Beilharz
b20d7f1eb4
refactor(web): move sentry-manager → web/src/engine/sentry-manager
Move `common/web/sentry-manager` to `web/src/engine/sentry-manager`.

Fixes: #12387
2024-09-11 15:15:01 +02:00
Eberhard Beilharz
47d63bc573
Merge branch 'refactor/web/12385_es-bundling' into refactor/web/12386_eslint 2024-09-11 14:46:47 +02:00
Eberhard Beilharz
d4a049f614
refactor(web): move to web/src/tools/es-bundling
Addresses code review comments.
2024-09-11 09:44:58 +02:00
Eberhard Beilharz
1fe6a0370f
refactor(web): move common/web/eslintcommon/tools/eslint
Fixes: #12386
2024-09-10 19:16:52 +02:00
Eberhard Beilharz
6553bd6233
refactor(web): move common/web/es-bundlingcommon/tools/es-bundling
Fixes: #12385
2024-09-10 18:57:42 +02:00
Eberhard Beilharz
a6d2d02e61
refactor(web): move common/web/utils to web/src/engine/common/web-utils/
Fixes:#12025
2024-09-10 18:12:46 +02:00
Eberhard Beilharz
a9b9c4d016
refactor(web): move common/models to web/src/engine/predictive-text
Fixes: #12133
2024-09-10 17:45:22 +02:00
Eberhard Beilharz
91bbc250a8
refactor(web): move model/templates to web/src/engine/predictive/text
Part-of: #12133
2024-09-10 17:10:12 +02:00
Dr Mark C. Sinclair
74d334afd1 fix(developer): changes to better align the code in u16ltrim and u16rtrim 2024-09-10 11:13:42 +01:00
Dr Mark C. Sinclair
cfdd131129 fix(developer): remove now unnecessary cast in u16trim 2024-09-10 11:06:35 +01:00
Dr Mark C. Sinclair
ea545dc05a fix(developer): shorten u16ltrim code, and add additional asserts to check pointer returned 2024-09-10 10:58:24 +01:00
Dr Mark C. Sinclair
510e5aabd5 fix(developer): modify u16ltrim to copy non-trimmed characters to beginning of string 2024-09-10 10:56:53 +01:00
Eberhard Beilharz
4efe95a4b5
refactor(web): additional exports
Missed a few exports in the last commit.
2024-09-10 10:10:17 +02:00
Eberhard Beilharz
593510a204
refactor(web): explicitly list exports of lexical model types
Addresses code review comments.
2024-09-10 09:38:35 +02:00
Marc Durdin
4a2e6fd0a5 test(developer): add unit test for generate module 2024-09-10 10:54:22 +07:00
Eberhard Beilharz
c3e587193e
refactor(web): move model/types to web/types
Part-of: #12133
2024-09-09 19:59:01 +02:00
Dr Mark C. Sinclair
6062c747f1 Merge branch 'master' into fix/developer/11833-index-requires-comma-between-parameters-in-kmcmplib-compiler 2024-09-09 09:53:26 +01:00
rc-swag
e41a8cbbb6
Merge pull request #12259 from keymanapp/feat/windows/11471/right-modifier-hk
feat(windows): add right modifier included in hotkey optional functionality
2024-09-06 13:40:14 +10:00
Dr Mark C. Sinclair
52f0897693 fix(developer): add doc comment to u16trim 2024-09-05 14:32:16 +01:00
Dr Mark C. Sinclair
b902c43ff2 fix(developer): add doc comment to u16rtrim 2024-09-05 14:32:05 +01:00
Dr Mark C. Sinclair
aa6db34ae2 fix(developer): add doc comment to u16ltrim 2024-09-05 14:31:56 +01:00
Dr Mark C. Sinclair
86fcf2e37d Merge branch 'master' into fix/developer/11833-index-requires-comma-between-parameters-in-kmcmplib-compiler 2024-09-03 10:41:57 +01:00
rc-swag
10c343fc43 feat(windows): change verb use to allow for clarity 2024-09-02 13:31:21 +10:00
rc-swag
f0827b4d1e
Merge pull request #12252 from keymanapp/feat/windows/11471/remove-old-flags-modifier
feat(windows): Remove hotkey related feature flags
2024-09-02 12:59:12 +10:00
rc-swag
d70ad35691 chore(windows): Merge branch 'feat/windows/11471/remove-old-flags-modifier' into feat/windows/11471/right-modifier-hk 2024-09-02 11:46:00 +10:00
rc-swag
20a9ecdb78 feat(windows): address review comments 2024-09-02 11:33:55 +10:00
Dr Mark C. Sinclair
b2768dda52 fix(developer): add include for wctype.h in km_u16.cpp to try and address linux build failure 2024-08-29 19:11:56 +01:00
Dr Mark C. Sinclair
03293bcede fix(developer): add u16rtrim test 2024-08-29 18:18:27 +01:00
Dr Mark C. Sinclair
11a9338671 fix(developer): add test for u16ltrim 2024-08-29 16:40:41 +01:00
Dr Mark C. Sinclair
f4115a30dc fix(developer): add u16ltrim(), u16rtrim() and u16trim() to km_u16.cpp and km_u16.h 2024-08-29 15:46:41 +01:00
Eberhard Beilharz
dc265debd8
docs(web): more adjustments based on review comments 2024-08-29 15:00:10 +07:00
Eberhard Beilharz
9fa3eb098a
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-08-29 14:54:35 +07:00
Eberhard Beilharz
1020977530
docs(web): add documentation comments for touch layout interfaces 2024-08-29 13:21:08 +07:00
Eberhard Beilharz
39f0d5b057
Merge pull request #12194 from keymanapp/refactor/web/12151_gestures
refactor(web): move `gesture-recognizer` → `gesture-processor` 🏗️
2024-08-29 09:16:42 +07:00
Joshua A. Horton
8c4c485578 fix(web): fixes wordbreaker test import path 2024-08-27 14:03:22 +07:00