Commit graph

33096 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
49263c3e21 chore(developer): Merge branch 'master' into test/developer/keyboard-info-compiler-unit-tests-3 2024-05-07 09:40:53 +01:00
Joshua A. Horton
dd87a65f49 chore(web): adds test-runner esbuild plugin package 2024-05-07 14:50:53 +07:00
Joshua A. Horton
48db58c82e chore(web): adds '@web/test-runner' and related packages 2024-05-07 14:42:39 +07:00
Joshua A. Horton
01d0019d86 chore(web): removes package.json references to old @npm/types versions 2024-05-07 14:38:41 +07:00
Joshua A. Horton
ec35fbb061 chore(web): @types/node update - version should match node version
Also updates @types/chai, given that chai was updated.  No ^5.x yet, though.
2024-05-07 14:38:40 +07:00
Joshua A. Horton
3989298e69 fix(web): fixes Web's Karma test:integrated suite (last one) 2024-05-07 14:35:12 +07:00
Joshua A. Horton
ffba4a6f14 fix(web): regression-test test-builder adjustment 2024-05-07 14:35:12 +07:00
Joshua A. Horton
c7445984d3 fix(web): dom (single-browser) Karma test adjustments 2024-05-07 14:35:11 +07:00
Joshua A. Horton
2bc2f77f11 fix(web): kbd-proc Karma test fix 2024-05-07 14:35:10 +07:00
Joshua A. Horton
7a66eb29b4 fix(web): gesture-recognizer Karma tests 2024-05-07 14:35:10 +07:00
Joshua A. Horton
812de690d8 chore(web): fixes pred-text karma config
The upgrade to chai means that karma's 'framework' feature is no longer compatible, meaning a _little_ extra legwork is required to use it for karma browser tests.  It's just a little bit, though.

Will need to replicate this for the other packages that use karma to test, as the pattern kinda proliferated.
2024-05-07 14:35:09 +07:00
Joshua A. Horton
398b9e0ae2 chore(common): drops package-specific 'chai', '@types/chai' versions
chore(web): missed leaving these out of the rebase
2024-05-07 14:35:09 +07:00
Joshua A. Horton
5574b9418f chore(web): chai dependency updates
Updates 'chai' assertion library to latest; old version used CommonJS imports
2024-05-07 14:35:08 +07:00
Eberhard Beilharz
d53c4645ea
Merge pull request #11377 from keymanapp/chore/core/wasmbuild
chore(web): Improve dependencies
2024-05-07 08:10:07 +02:00
Marc Durdin
613b0a4a54
Merge pull request #11366 from keymanapp/fix/developer/11361-lastSelLength-undefined
fix(developer): define `lastSelLength` variable
2024-05-07 10:58:23 +07:00
Marc Durdin
a1668d43d1
Merge pull request #11365 from keymanapp/fix/web/11364-className-svg
fix(web): support SVG elements when checking className
2024-05-07 10:58:14 +07:00
Joshua A. Horton
4fe71921a1 fix(web): fixes illegal KMW event state - can't focus a null element 2024-05-07 09:11:51 +07:00
Darcy Wong
ae700d8e2d fix(android/engine): Skip updating selection range if invalid 2024-05-07 08:13:35 +07:00
Marc Durdin
da1933006b
Merge pull request #11367 from keymanapp/fix/android/mid-update-context-reset
fix(android): prevents mid-keystroke desynchronization when deleting selected text
2024-05-07 07:33:35 +07:00
Sabine
c206128c8b feat(mac): start dk fill All_Vector with dk 2024-05-06 21:08:42 +02:00
Sabine
b0e338c4cb feat(mac): start dk 2024-05-06 20:43:41 +02:00
Keyman Server
dfc3f63475
Merge pull request #11381 from keymanapp/auto/version-master-18.0.30
auto: increment master version to 18.0.30
2024-05-06 11:06:10 -07:00
Keyman Build Agent
d1420744b4 auto: increment master version to 18.0.30 2024-05-06 14:05:21 -04:00
Eberhard Beilharz
6f7acf8ace
chore(common): Add minimum-versions.inc.sh
This file contains the minimal required versions as discussed for
Keyman 18.

Implements #11371.
2024-05-06 17:19:19 +02:00
Dr Mark C. Sinclair
fa8d3a4a65 chore(developer): change IsValidKeyboardVersion to use more specific expects 2024-05-06 16:14:45 +01:00
Dr Mark C. Sinclair
421ce40f3c chore(developer): add IsValidKeyBoardVersion test 2024-05-06 16:03:06 +01:00
Steven R. Loomis
fbd1c0c841 chore(core): km_core_cp -> km_core_cu
- fix comment
- fix API version

Fixes: #11033

Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-05-06 09:54:07 -05:00
Eberhard Beilharz
1b066de292
chore(web): Improve dependencies 2024-05-06 16:41:06 +02:00
Dr Mark C. Sinclair
7dc33d1f7a chore(developer): Merge branch 'master' into test/developer/keyboard-info-compiler-unit-tests-3 2024-05-06 11:16:00 +01:00
Eberhard Beilharz
40aa8b8646
Merge pull request #11356 from keymanapp/chore/linux/fixtest
chore(linux): Fix typo
2024-05-06 11:34:35 +02:00
Eberhard Beilharz
acfc6866bb
Merge pull request #11355 from keymanapp/chore/web/test-sh
chore(web): Improve web/test.sh script
2024-05-06 11:34:17 +02:00
Marc Durdin
8474372baa fix(developer): define lastSelLength variable
Fixes #11361.
2024-05-06 10:25:04 +07:00
Joshua A. Horton
389a700db9 fix(android): prevents mid-keystroke desynchronization when deleting selected text 2024-05-06 10:24:39 +07:00
Marc Durdin
7a0ab01469 fix(web): support SVG elements when checking className
Fixes #11364.

Instead of using `className` which may be of type `SVGAnimatedString` if
the element is an SVG element, use `getAttribute('class')`. As that
function can return `null` if the class attribute is not defined, use
optional chaining to avoid a new error...

Uses the same pattern in hardwareEventKeyboard.ts, although I suspect
the problem may never arise there.

I audited the uses of className in our KeymanWeb source and found only
these three instances which may be problematic. I have not searched
elsewhere.
2024-05-06 10:05:39 +07:00
Keyman Server
0a28678c53
Merge pull request #11359 from keymanapp/auto/version-beta-17.0.320
auto: increment beta version to 17.0.320
2024-05-04 11:06:24 -07:00
Keyman Server
d8cfb652eb
Merge pull request #11358 from keymanapp/auto/version-master-18.0.29
auto: increment master version to 18.0.29
2024-05-04 11:06:10 -07:00
Keyman Build Agent
b1a0da6f68 auto: increment beta version to 17.0.320 2024-05-04 14:05:46 -04:00
Keyman Build Agent
752fe13345 auto: increment master version to 18.0.29 2024-05-04 14:05:18 -04:00
Marc Durdin
c997965d21
Merge pull request #11329 from keymanapp/chore/common/11324-this-script-path
chore(common): maintenance on build scripts - cd
2024-05-04 09:15:58 +10:00
Marc Durdin
8ba3ed7e92
Merge pull request #11354 from keymanapp/fix/developer/11353-kps-handle-missing-description-element-in-file
fix(developer): handle missing Description element for File element in package compiler
2024-05-04 09:14:45 +10:00
Marc Durdin
f0695bf1b2
Merge pull request #11352 from keymanapp/fix/developer/11351-kps-handle-missing-name-element-in-file
fix(developer): handle missing Name element for File element in package compiler
2024-05-04 09:14:35 +10:00
Marc Durdin
28144af052
Merge pull request #11345 from keymanapp/fix/android/inverted-sel-range
fix(android): inverting a selection range would crash Keyman
2024-05-04 09:14:16 +10:00
Steven R. Loomis
a9979a44eb
Merge branch 'master' into chore/core/11033-points-not-units 2024-05-03 14:32:38 -05:00
Keyman Server
acb23e869d
Merge pull request #11357 from keymanapp/auto/version-master-18.0.28
auto: increment master version to 18.0.28
2024-05-03 11:06:02 -07:00
Keyman Build Agent
65936cb4d7 auto: increment master version to 18.0.28 2024-05-03 14:05:20 -04:00
Eberhard Beilharz
7478db8b57
chore(linux): Fix typo
This suddenly started failing. I guess there was a deprecated
`assertEquals` in older Python libraries, but with the latest version in
Ubuntu 24.04 Noble this disappeared. Anyway, with this change we use
the same assert method as in the other test files.
2024-05-03 17:39:14 +02:00
Sabine
6ae7927abf feat(mac): Arrays for mapping VK<->SC 2024-05-03 16:23:57 +02:00
Eberhard Beilharz
0967915175
chore(web): Improve web/test.sh script
- previously there was an extra `--browsers` flag - `$BROWSERS` already
  contains the flag.
- previously we specified `$KARMA_FLAGS` twice if we set
  `$KARMA_EXT_FLAGS`
- some cleanup
2024-05-03 10:38:45 +02:00
Marc Durdin
4fc94a9e70 fix(developer): handle missing Description element for File element in package compiler
Fixes #11353.
2024-05-03 14:31:10 +07:00
Eberhard Beilharz
404a71412b
Merge pull request #11336 from keymanapp/fix/common/color
fix(common): Fix colorization of help output of builder script
2024-05-03 09:27:38 +02:00