Commit graph

4628 commits

Author SHA1 Message Date
Joshua A. Horton
d3b149455c feat(web): PR test resources 2022-04-11 13:29:51 -05:00
Keyman Build Agent
114f58ee7f auto: increment beta version to 15.0.233 2022-04-11 14:02:20 -04:00
Marc Durdin
2340eb14a9
Merge pull request #6512 from keymanapp/feat/web/prediction-casing-follows-layer-redux
feat(web): prediction casing follows current layer redux
2022-04-11 06:09:03 +10:00
Keyman Build Agent
cdb4680698 auto: increment beta version to 15.0.232 2022-04-09 14:02:21 -04:00
Keyman Build Agent
01c089cf35 auto: increment beta version to 15.0.231 2022-04-08 14:02:37 -04:00
Marc Durdin
49eb062c65 feat(web): prediction casing follows current layer
Fixes #6455.

This involved adding an extra hint to the data passed into the lexical
model layer, being the CasingForm that the current layer wants to use.

Given there are several entry points to the lexical model layer, this
meant a few places where we needed to check the current layer.

I refactored the very long function `InputProcessor.processKeyEvent` to
extract out the `buildAlternates` function. There should be no
functional changes to the `buildAlternates` code. But it makes
`processKeyEvent` significantly easier to read.
2022-04-08 16:14:01 +10:00
Marc Durdin
e616900cad
Revert "feat(web): prediction casing follows current layer" 2022-04-08 14:50:32 +10:00
Keyman Build Agent
ef9a9459d2 auto: increment beta version to 15.0.230 2022-04-07 14:02:52 -04:00
Keyman Build Agent
a3984eab70 auto: increment master version to 16.0.8 2022-04-07 03:22:54 -04:00
Marc Durdin
0ad1d496d3 fix(android): key tip sticky with multitap
Fixes #6489.

The issue arose in multitap scenarios, where the tip display state
became desynchronised with the actual display state as maintained in
the Android code.

The fix I applied was to reduce some of the state checks into the js
wrapper android-host.js. This is not ideal. The state machine for key
tip display is scattered across four functions in three files:

* visualKeyboard.ts: VisualKeyboard.highlightKey
* visualKeyboard.ts: VisualKeyboard.showKeyTip
* embedded/keytip.ts: KeyTip.show
* android-host.js: oskShowKeyPreview / oskClearKeyPreview

I have moved the actual re-creation check for the tip to the lowest
level functions -- those in android-host.js. But a more detailed look at
the state machine and a refactoring would certainly be worthwhile.
2022-04-07 15:27:41 +10:00
Marc Durdin
4f32efb5a4 chore: Merge branch 'master' into chore/beta-to-master-B15S7 2022-04-07 11:21:54 +10:00
Keyman Build Agent
588d0e8506 auto: increment master version to 16.0.7 2022-04-05 14:03:14 -04:00
Keyman Build Agent
54884ec2ad auto: increment beta version to 15.0.229 2022-04-05 14:02:12 -04:00
Marc Durdin
7df1ab1930
Merge pull request #6459 from keymanapp/feat/web/prediction-casing-follows-layer
feat(web): prediction casing follows current layer
2022-04-05 06:45:42 +10:00
Marc Durdin
4671789cc4
Merge pull request #6471 from keymanapp/dependabot/npm_and_yarn/web/testing/regression-tests/minimist-1.2.6
chore(deps-dev): bump minimist from 1.2.5 to 1.2.6 in /web/testing/regression-tests
2022-04-05 06:44:02 +10:00
Marc Durdin
435d361361
Merge pull request #6470 from keymanapp/dependabot/npm_and_yarn/web/testing/regression-tests/ansi-regex-3.0.1
chore(deps): bump ansi-regex from 3.0.0 to 3.0.1 in /web/testing/regression-tests
2022-04-05 06:43:40 +10:00
Keyman Build Agent
ab5ab6938a auto: increment master version to 16.0.6 2022-04-04 14:05:42 -04:00
Keyman Build Agent
6e8a458c3b auto: increment beta version to 15.0.228 2022-04-04 14:03:57 -04:00
dependabot[bot]
81da2ab240
chore(deps-dev): bump minimist in /web/testing/regression-tests
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 09:31:17 +00:00
dependabot[bot]
819931e803
chore(deps): bump ansi-regex in /web/testing/regression-tests
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 09:31:08 +00:00
Marc Durdin
757e2f5365 chore: Merge branch 'master' into chore/beta-to-master-B15S6 2022-04-04 12:39:16 +10:00
Marc Durdin
29d32bc0e6 chore: Merge branch 'master' into chore/beta-to-master-B15S6 2022-04-04 12:37:15 +10:00
Keyman Build Agent
852754ea40 auto: increment beta version to 15.0.227 2022-04-01 14:02:08 -04:00
Marc Durdin
b7ce99480f feat(web): prediction casing follows current layer
Fixes #6455.

This involved adding an extra hint to the data passed into the lexical
model layer, being the CasingForm that the current layer wants to use.

Given there are several entry points to the lexical model layer, this
meant a few places where we needed to check the current layer.

I refactored the very long function `InputProcessor.processKeyEvent` to
extract out the `buildAlternates` function. There should be no
functional changes to the `buildAlternates` code. But it makes
`processKeyEvent` significantly easier to read.
2022-04-01 16:20:50 +11:00
Keyman Build Agent
439d00d87b auto: increment beta version to 15.0.226 2022-03-31 22:57:58 -04:00
Marc Durdin
a192803021 chore(web): address review comment 2022-03-30 16:39:49 +11:00
Marc Durdin
0cadb83383 fix(web): track load error detail
This is a follow-up for #6331. We still did not have enough detail to
be able to trace the root cause of the load errors. This adds a little
more diagnostics.
2022-03-30 06:44:03 +11:00
Marc Durdin
c0248bec1b
Merge pull request #6432 from keymanapp/fix/web/shifted-key-cap
fix(web): *Shifted* showed unshifted key cap
2022-03-29 12:36:12 +11:00
Keyman Build Agent
4e1f0432cd auto: increment beta version to 15.0.225 2022-03-28 21:31:48 -04:00
Marc Durdin
46807d7af2 fix(web): *Shifted* showed unshifted key cap
While this was done in code as a global override, probably following
Apple stylistic changes, it is better to leave this to the keyboard
developer to decide on.
2022-03-28 09:02:22 +11:00
Keyman Build Agent
a3d2e8a1a8 auto: increment beta version to 15.0.224 2022-03-27 14:44:10 -04:00
Marc Durdin
295f25144d
Merge pull request #6383 from keymanapp/fix/web/5929-ios-popup-positioning-and-style
fix(web): ios popup positioning and style
2022-03-28 04:46:00 +11:00
Keyman Build Agent
7b2cc72245 auto: increment beta version to 15.0.223 2022-03-25 14:02:20 -04:00
Marc Durdin
b3ddf633df fix(web): adjust calc for callout height 2022-03-25 09:10:29 +11:00
Keyman Build Agent
3aa0819c5b auto: increment beta version to 15.0.222 2022-03-24 14:02:12 -04:00
Marc Durdin
3858a4c9e5 fix(web): further iOS adjustments 2022-03-24 07:35:28 +11:00
Keyman Build Agent
12a7e13c5f auto: increment beta version to 15.0.221 2022-03-23 14:07:31 -04:00
Darcy Wong
19f1d4f5a7 chore(android): Merge remote-tracking branch 'origin/beta' into fix/android/subkey-move 2022-03-23 13:05:25 +07:00
Marc Durdin
5c388d1d7e
Merge pull request #6366 from keymanapp/feat/web/6364-new-layer-old-layer-replaces-layerchanged
feat(web): `&newLayer` and `&oldLayer`
2022-03-23 16:53:34 +11:00
Marc Durdin
336ab51010
Merge pull request #6406 from keymanapp/fix/web/5942-touch-alias-element-position
fix(web): adjust touch alias element positioning
2022-03-23 11:27:35 +11:00
Marc Durdin
adf3fe28c9 fix(web): tweak iOS key preview and longpress dimensions
Adjusts the dimensions to use pixel boundaries to prevent antialiasing
for some of the key preview and longpress popups, and adjusts horizontal
positioning of key preview to center more precisely, for iOS.
2022-03-23 08:23:29 +11:00
Keyman Build Agent
c2462f7c4c auto: increment beta version to 15.0.220 2022-03-22 14:02:35 -04:00
Keyman Build Agent
fa8179f5eb auto: increment master version to 16.0.5 2022-03-22 14:01:45 -04:00
Marc Durdin
409da3ecae
Merge pull request #6407 from keymanapp/fix/ios/kill-background-wait-font-timer
fix(ios): remove busy 100ms waitForFonts timer on iOS
2022-03-22 19:11:01 +11:00
Marc Durdin
558a742a45 fix(web): adjust callout height 2022-03-22 10:02:36 +11:00
Marc Durdin
6b1ae79c11 fix(ios): remove busy 100ms waitForFonts timer on iOS
Observed while debugging another issue on iOS. The
VisualKeyboard.waitForFonts function sets up a busy timer to wait for
font loading. This functionality is not even needed on the iOS app,
because it's really only used for the touch alias elements.

However, it was being called, potentially multiple times, leading to the
timer never being removed. On Android, the timer was correctly removed.

This aligns the iOS code path with the Android code path.
2022-03-22 09:21:17 +11:00
Marc Durdin
88ffb8bbd2 fix(web): adjust touch alias element positioning
Fixes #5942.

The touch alias element position was not consistent across all browsers,
leading to misalignment in some situations. Identified missing CSS to
make the positioning consistent, as far as I can tell, which led to the
additional benefit of reducing the per-browser special cases.
2022-03-22 08:38:12 +11:00
Keyman Build Agent
b3c8372cb9 auto: increment beta version to 15.0.219 2022-03-21 14:01:46 -04:00
Marc Durdin
9568ef641e chore: merge master into beta-to-alpha-B15S4 2022-03-21 15:33:40 +11:00
Keyman Build Agent
f13c07acbf auto: increment beta version to 15.0.218 2022-03-19 14:02:39 -04:00