Commit graph

5430 commits

Author SHA1 Message Date
Joshua A. Horton
fec1bbc008 fix(web): legacy BK array typing - uses array of strings, not a singlestring 2024-05-29 10:10:50 +07:00
Joshua A. Horton
3e8cd1b73e refactor(web): keyboard-layout preprocessing property transplantation 2024-05-29 09:30:31 +07:00
Joshua A. Horton
50a194aa71 change(web): suggested 'utf-8' change from code review 2024-05-29 09:24:38 +07:00
Joshua A. Horton
3d82272989 chore(web): previously-missed spot in gesture-recognizer 2024-05-29 09:24:37 +07:00
Joshua A. Horton
41a090cce9 chore(web): converts JS unit test to TS 2024-05-29 09:24:17 +07:00
Joshua A. Horton
084916a893 chore(web): removes gesture-recognizer unit-test unused locals 2024-05-29 09:24:16 +07:00
Joshua A. Horton
826204cdc1 chore(web): cleans up unused locals outside of web/ 2024-05-29 09:24:16 +07:00
Joshua A. Horton
fff9e23ecd chore(web): Merge branch 'chore/web/fix-implicit-this' into fix/web/worker-prediction-match-token 2024-05-29 09:12:15 +07:00
Joshua A. Horton
b85286ba03 fix(web): post-rebase build error 2024-05-29 09:11:31 +07:00
Joshua A. Horton
5a8f231ef9 fix(web): use intended source for prediction-to-context matching 2024-05-29 08:56:38 +07:00
Joshua A. Horton
bdbf94bd47 chore(web): replaces a couple of 'var's 2024-05-29 08:42:39 +07:00
Eberhard Beilharz
8dc30c9d28
fix(web): Don't apply suggestion unless fully configured
We can't really apply a suggestion unless we have the configuration object
(that provides the context).

Fixes: #11593
Fixes: KEYMAN-WEB-FX
2024-05-28 20:55:35 +02:00
Marc Durdin
1826c13f35 fix(developer): make top row of Character Map 1 pixel to avoid DIV/0 in gestures
An apparent issue in the Grid control in Delphi is that if the top row
is zero pixels high (hiding it), a pan gesture on touchscreen causes an
EDivByZero. This patch works around the issue by making the top row 1
pixel high.

Fixes: #11589
Fixes: KEYMAN-DEVELOPER-1C3
Fixes: KEYMAN-WINDOWS-43C
2024-05-28 14:25:48 +07:00
Joshua A. Horton
2503dfa3a8 fix(web): headless recorder unhandled paths, invalid test-sequence reference 2024-05-28 09:40:50 +07:00
Joshua A. Horton
903d214b43 fix(web): null guard missing debug info when reporting to Sentry
Fixes #11548.
2024-05-28 08:20:35 +07:00
Joshua A. Horton
2c79db4cb5 chore(web): Merge branch 'master' into chore/web/update-typescript 2024-05-27 09:20:01 +07:00
Marc Durdin
78f4cbf8d5 chore: Merge branch 'epic/windows-updates' into chore/merge-master-into-windows-updates
Note: deleted TODO.md, had only one minor update
2024-05-25 05:53:48 +07:00
Marc Durdin
1e66b6ed0e
Merge pull request #11421 from keymanapp/chore/developer/11317-build.sh
chore(developer): build.sh for developer
2024-05-23 14:22:54 +07:00
Joshua Horton
5640cfa5c1
Merge pull request #11454 from keymanapp/chore/web/gesture-test-migration
chore(web): conversion of Web gesture-engine browser-tests for @web/test-runner use 🏃
2024-05-22 21:55:40 +07:00
Joshua Horton
0cd83b20b8
Merge pull request #11453 from keymanapp/chore/web/kbd-proc-test-migration
chore(web): conversion of Web keyboard-loading browser-tests for @web/test-runner use 🏃
2024-05-22 21:55:22 +07:00
Joshua Horton
b036a863ea
Merge pull request #11452 from keymanapp/chore/web/lm-layer-test-migration
chore(web): conversion of lm-layer browser-tests for @web/test-runner use 🏃
2024-05-22 21:54:55 +07:00
Joshua Horton
92b22b1fd0
Merge pull request #11404 from keymanapp/chore/web/lm-worker-test-migration
chore(web): conversion of lm-worker browser-test for @web/test-runner use 🏃
2024-05-22 21:51:12 +07:00
Joshua Horton
c3f57d595c
Merge pull request #11403 from keymanapp/feat/web/custom-wtr-reporting
feat(web): custom infrastructure for @web/test-runner use 🏃
2024-05-22 21:51:02 +07:00
Marc Durdin
9465c3e0b4 refactor(common): move enabled declaration into test_color.cpp
Moves variable declaration for `bool enabled` from .h to .cpp and fixes
up builds. Fixes `#include` in ldml_test_source.cpp which was inside a
namespace.

Fixes: #10426
2024-05-20 15:42:41 +07:00
Marc Durdin
8b2070c339 chore(developer): minor cleanup on scripts
Additional shared script resources for Developer and Windows,
refactor of a code signing function, refactor of clean step in build.sh.
2024-05-20 06:35:11 +07:00
Marc Durdin
8b6d6b0618 chore(developer): cleanup on build scripts
A round of cleanup and consistency for Developer build scripts.
2024-05-20 06:35:05 +07:00
Marc Durdin
b399637799 chore(common): adjust dependency order 2024-05-20 06:35:00 +07:00
Marc Durdin
c1366763eb chore(common): add dependency 2024-05-20 06:34:59 +07:00
Marc Durdin
ee0fc0ce14 chore(developer): cleanup npm publish
Use a new flag `--npm-publish` in conjunction with `publish` action,
so that the default will always be to `npm pack` if the new flag is not
specified. This flag is also guarded in the actual npm publish code to
ensure that it can only run in the appropriate CI alpha/beta/stable
environment, and not in local or test.

This then also removes the separate `pack` action.

Also removes legacy boilerplate from a number of build scripts.
2024-05-20 06:34:57 +07:00
Marc Durdin
fa57d5c674 chore(developer): final work on build.sh for developer
Now builds from a clean repo:

  developer/src/build.sh configure build test publish

* Splits kmbrowserhost into kmdbrowserhost for Developer; this means
  that Developer Browser Host now inherits the Developer settings rather
  than the Keyman for Windows settings, and simplifies distribution and
  management. The only difference between the two is in the startup code
  so this seems like a good split.

* Cleanup of various build scripts and dependencies.
2024-05-20 06:34:53 +07:00
Marc Durdin
c8a1c6aa39 chore(developer): use builder.inc.sh instead of build-utils.sh in build scripts
also, remove old Makefiles
2024-05-20 06:34:46 +07:00
Marc Durdin
2499ebf4bb chore(developer): move windows common Makefiles to build scripts
Relates to #11317.
2024-05-20 06:34:38 +07:00
Joshua A. Horton
74d63167f1 fix(web): fixes kbd-help documentation for help.keyman.com 2024-05-17 13:05:29 +07:00
Joshua A. Horton
d70463a3ae chore(web): cleans up one tsconfig setting 2024-05-15 16:00:36 +07:00
Joshua A. Horton
78d9544c26 fix(web): Web's sentry-manager tsconfig.json did not properly inherit from main configs 2024-05-15 16:00:35 +07:00
Joshua A. Horton
01fa0675ef chore(web): centralizes on a single @types/node, as it caused a TS typing conflict 2024-05-15 16:00:35 +07:00
Joshua A. Horton
70d06d7cd1 chore(web): updates all KMW-related projects to TS 5.4.5 2024-05-15 16:00:34 +07:00
Joshua A. Horton
fdc4e7dc33 fix(web): configure should prep playwright 2024-05-15 15:55:45 +07:00
Joshua A. Horton
1d8de02c2f fix(web): configure should include playwright setup 2024-05-15 15:54:25 +07:00
Joshua A. Horton
07084b07ef fix(web): configure needs to setup playwright 2024-05-15 15:53:28 +07:00
Joshua A. Horton
f70a171195 chore(web): gesture wtr config cleanup, explicit mobile device targets 2024-05-15 15:01:09 +07:00
Joshua A. Horton
5d77b2acd5 chore(web): gesture-recognizer stability check update 2024-05-15 14:48:53 +07:00
Joshua A. Horton
dbf155cf63 chore(web): gesture-recognizer test browser test conversion to TS 2024-05-15 14:48:53 +07:00
Joshua A. Horton
9d1257e02b chore(web): gesture-recognizer testing - local vs ci 2024-05-15 14:48:52 +07:00
Joshua A. Horton
6f49e31bc0 chore(web): gesture-recognizer dom test conversion 2024-05-15 14:48:51 +07:00
Joshua A. Horton
efd84942da chore(web): kbd-proc wtr config simplification 2024-05-15 14:47:13 +07:00
Joshua A. Horton
c8949c77e7 chore(web): kbd-proc browser test now TS 2024-05-15 14:44:04 +07:00
Joshua A. Horton
730b64c5da chore(web): guess who forgot to wrap the launchers for the stability checks 2024-05-15 14:41:35 +07:00
Joshua A. Horton
d0a6a88dec chore(web): adds reporting details for CI-failing test section 2024-05-15 14:41:35 +07:00
Joshua A. Horton
6f20cb2992 chore(web): kbd-processor testing - local vs ci 2024-05-15 14:41:34 +07:00