Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge beta into master A18S1 #11332

Merged
merged 83 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
c86ab58
chore(core): reinstate context reset test in ldml
srl295 Apr 4, 2024
c91095f
fix(core): core to automatically reset context if a frame key pressed
srl295 Apr 4, 2024
2298f11
Merge branch 'chore/core/11112-lone-surrogate' into fix/core/10955-re…
srl295 Apr 5, 2024
f1b0d8c
fix(core): core to automatically reset context if a frame key pressed
srl295 Apr 5, 2024
628d13d
fix(core): core to automatically reset context if a frame key pressed
srl295 Apr 5, 2024
784a994
fix(core): update ldml test source to handle reset
srl295 Apr 5, 2024
55483e4
fix(core): update ldml test source to handle reset
srl295 Apr 5, 2024
a455c5b
fix(core): update core to handle reset context
srl295 Apr 5, 2024
11b0712
fix(core): update core to handle reset context
srl295 Apr 5, 2024
111a50c
fix(core): dx: denoise test
srl295 Apr 5, 2024
51c93ac
fix(core): update core to handle reset context
srl295 Apr 5, 2024
3da900d
Merge branch 'chore/core/11112-lone-surrogate' into fix/core/10955-re…
srl295 Apr 8, 2024
9ca4e99
fix(core): update core to handle reset context
srl295 Apr 8, 2024
d0ca92a
Merge branch 'beta' into fix/core/10955-reset-on-frame
srl295 Apr 11, 2024
46239c6
Update core/src/state.hpp
srl295 Apr 12, 2024
bd10290
fix(core): update core to handle reset context
srl295 Apr 12, 2024
699d576
Merge branch 'beta' into fix/core/10955-reset-on-frame
srl295 Apr 12, 2024
4f8c9eb
fix(core): update core to handle reset context
srl295 Apr 15, 2024
37530ac
fix(core): update core to handle reset context
srl295 Apr 16, 2024
5c04599
Merge branch 'beta' into fix/core/10955-reset-on-frame
srl295 Apr 16, 2024
4f2ef49
fix(core): update core to handle reset context
srl295 Apr 17, 2024
8d35422
Merge branch 'beta' into fix/core/10955-reset-on-frame
srl295 Apr 17, 2024
89773e1
fix(developer): support export of visual keyboard when Keyman for Win…
mcdurdin Apr 18, 2024
1f38954
chore(developer): fixup osk xml path
mcdurdin Apr 18, 2024
dc965f4
fix(core): ldml backspace processing should delete all markers
srl295 Apr 18, 2024
f77bbb2
fix(core): update state_should_invalidate_context
srl295 Apr 18, 2024
331ff33
Merge branch 'beta' into fix/core/10955-reset-on-frame
srl295 Apr 18, 2024
1f616a8
chore(developer): temporary copy of osk xml when building installer
mcdurdin Apr 18, 2024
57fb66a
chore(developer): ignore missing folder when cleaning
mcdurdin Apr 19, 2024
ad6095a
remove openjdk 8 dependency for ios builds
sgschantz Apr 19, 2024
94c8879
fix(windows): check font count display none found
rc-swag Apr 22, 2024
985d49b
script to call another script without cleaning environment
sgschantz Apr 22, 2024
71377c3
fix(windows): Still need to guard against out of bound index
rc-swag Apr 22, 2024
faa828d
fix(windows): remove space before full stop
rc-swag Apr 23, 2024
534741a
create separate script for setting the version of the bundle
sgschantz Apr 23, 2024
2880661
tagged and untagged versions of set-bundle-versions script
sgschantz Apr 23, 2024
00e850c
add script to update version string in settings
sgschantz Apr 23, 2024
ba8dcad
Apply suggestions from code review
srl295 Apr 24, 2024
f516538
chore(core): outdent test file per review comment
srl295 Apr 24, 2024
6277037
fix(linux): Fix icon for .kmp files
ermshiperete Apr 24, 2024
f40e1ff
change all mac project settings minimum supported version from 10.10 …
sgschantz Apr 25, 2024
888ec56
chore(linux): Prepare for stable release
ermshiperete Apr 25, 2024
cd867ba
fix(core): update vkey_should_invalidate_context per comment
srl295 Apr 25, 2024
fa1fd75
fix(core): ldml fix for multiple marker deletion
srl295 Apr 25, 2024
44f0dea
Merge branch 'fix/core/10955-reset-on-frame' into fix/core/10955-doub…
srl295 Apr 25, 2024
571fbb6
fix(developer): don't include DTD in visual keyboard export
mcdurdin Apr 26, 2024
ebb6631
change macOS target version to 10.13, update versions in markdown fil…
sgschantz Apr 26, 2024
e686dbe
fix(web): longpress shortcut activation should be based on purely-nor…
jahorton Apr 26, 2024
d019707
Merge pull request #11244 from keymanapp/fix/developer/11199-export-o…
mcdurdin Apr 26, 2024
99be7c9
updated version of Sentry to 8.24.0
sgschantz Apr 26, 2024
e883802
chore(mac): increase maximum size of dmg to 30MB
sgschantz Apr 26, 2024
9d649f4
Merge pull request #11301 from keymanapp/chore/linux/pkg
ermshiperete Apr 26, 2024
a5765d0
Merge pull request #11172 from keymanapp/fix/core/10955-reset-on-frame
mcdurdin Apr 26, 2024
93d4e60
Merge pull request #11254 from keymanapp/fix/core/10955-double-marker…
mcdurdin Apr 26, 2024
f71839d
auto: increment beta version to 17.0.316
keyman-server Apr 26, 2024
ceb6bfd
Merge pull request #11311 from keymanapp/auto/version-beta-17.0.316
keyman-server Apr 26, 2024
1a86ed2
chore(ios): force new build
mcdurdin Apr 27, 2024
a59850e
chore(ios): force new build
mcdurdin Apr 28, 2024
8d2a1e8
change(web): longpress up-flick now has two components, requires grea…
jahorton Apr 29, 2024
ec64a98
chore(ios): modify version scripts
sgschantz Apr 29, 2024
f6005f5
Merge pull request #11282 from keymanapp/fix/windows/10933/font-helpe…
rc-swag Apr 29, 2024
fbd4367
chore(ios): create script to upload sentry debug symbol file
sgschantz Apr 30, 2024
8ddd2eb
fix(web): failed gesture-model spinup should not lock the gesture engine
jahorton Apr 30, 2024
3ca6906
fix(web): invalid initial-state aborts further model processing
jahorton Apr 30, 2024
456ab70
fix(web): failed gesture-model spinup should not lock the gesture engine
jahorton Apr 30, 2024
3ff7664
fix(web): invalid initial-state aborts further model processing
jahorton Apr 30, 2024
068437d
fix(web): also prevent path-update crashes from causing issues
jahorton Apr 30, 2024
83c7f45
chore(web): Merge branch 'fix/web/gesture-model-failure-handling' int…
jahorton Apr 30, 2024
725b973
chore(web): removes old doc that has completed its purpose
jahorton Apr 30, 2024
e7b2855
chore(ios): change from set -eu to set -e
sgschantz Apr 30, 2024
3833939
auto: increment beta version to 17.0.317
keyman-server Apr 30, 2024
c8fb2bc
Merge pull request #11326 from keymanapp/auto/version-beta-17.0.317
keyman-server Apr 30, 2024
3763d79
Merge pull request #11322 from keymanapp/chore/web/remove-deprecated-doc
jahorton May 1, 2024
e8c7f52
Merge pull request #11321 from keymanapp/fix/web/gesture-model-failur…
jahorton May 1, 2024
38a0359
Merge pull request #11295 from keymanapp/fix/linux/icon
mcdurdin May 1, 2024
9db13ed
auto: increment beta version to 17.0.318
keyman-server May 1, 2024
58d8d64
Merge pull request #11331 from keymanapp/auto/version-beta-17.0.318
keyman-server May 1, 2024
3abcb35
chore(ios): exit build phase script to experiment
sgschantz May 2, 2024
42e54da
chore(ios): experiment -> change order of build task 'Embed Frameworks'
sgschantz May 2, 2024
f9c699e
chore(ios): allow underscore to avoid unexpected Xcode 15.3 lint error
sgschantz May 2, 2024
5c3b635
Merge pull request #11306 from keymanapp/fix/web/longpress-shortcut-c…
mcdurdin May 2, 2024
f41d1ad
Merge pull request #11302 from keymanapp/chore/ios/10671-xcode-15-build
mcdurdin May 2, 2024
f119682
Merge branch 'master' into chore/a18s1-merge-beta-into-master
mcdurdin May 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,25 @@
* chore(common): move to 18.0 alpha (#10713)
* chore: move to 18.0 alpha

## 17.0.317 beta 2024-05-01

* (#11322)
* (#11321)
Comment on lines +113 to +114
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* (#11322)
* (#11321)
* chore(web): removes old reference-doc from alpha that has completed its purpose (#11322)
* fix(web): gesture-model initial-state, callback failure handling (#11321)

* fix(linux): Fix icon for .kmp files (#11295)

## 17.0.316 beta 2024-04-30

* fix(windows): check font count display none found (#11282)

## 17.0.315 beta 2024-04-26

* fix(web): osk-view hidden by default on construction (#11258)
* fix(android): fixes kbd text zoom to prevent accessibility cross-effects (#11281)
* fix(developer): support export of visual keyboard when Keyman for Windows not installed (#11244)
* chore(linux): Prepare for stable release (#11301)
* fix(core): reset on frame keys (#11172)
* fix(core): ldml backspace processing should delete all markers (#11254)

## 17.0.314 beta 2024-04-25

* fix(android/engine): URIEncode strings passed to Javascript (#11206)
Expand Down
2 changes: 1 addition & 1 deletion VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.0.26
18.0.26
64 changes: 0 additions & 64 deletions common/web/gesture-recognizer/docs/web-reintegration.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,13 @@ export class GestureMatcher<Type, StateToken = any> implements PredecessorMatch<
here, as the decision is made due to a validation check against the initial item.
*/
this.finalize(false, 'cancelled');

/*
* There's no need to process the gesture-model any further... and the
* invalid state may correspond to assumptions in the path-model that
* will be invalidated if we continue.
*/
return;
}
}

Expand Down Expand Up @@ -507,6 +514,7 @@ export class GestureMatcher<Type, StateToken = any> implements PredecessorMatch<
instantly fail and thus cancel.
*/
this.finalize(false, whileInitializing ? 'cancelled' : 'path');
return;
}

// Standard path: trigger either resolution or rejection when the contact model signals either.
Expand All @@ -516,6 +524,13 @@ export class GestureMatcher<Type, StateToken = any> implements PredecessorMatch<
}

update() {
this.pathMatchers.forEach((matcher) => matcher.update());
this.pathMatchers.forEach((matcher) => {
try {
matcher.update();
} catch(err) {
console.error(err);
this.finalize(false, 'cancelled');
}
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,30 @@ export class MatcherSelector<Type, StateToken = any> extends EventEmitter<EventM
}

/**
* In either case, time to spin up gesture models limited to new sources, that don't combine with
* already-active ones. This could be the first stage in a sequence or a followup to a prior stage.
* In either case, time to spin up gesture models limited to new sources,
* that don't combine with already-active ones. This could be the first
* stage in a sequence or a followup to a prior stage.
*/
let newMatchers = gestureModelSet.map((model) => new GestureMatcher(model, unmatchedSource || priorMatcher));
let newMatchers = gestureModelSet.map((model) => {
try {
/*
Spinning up a new gesture model means running code for that model and
path, which are defined outside of the engine. We should not allow
errors from engine-external code to prevent us from continuing with
unaffected models.
It's also important to keep the overall flow going; this code is run
during touch-start spinup. An abrupt stop due to an unhandled error
here can lock up the AsyncDispatchQueue for touch events, locking up
the engine!
*/
return new GestureMatcher(model, unmatchedSource || priorMatcher)
} catch (err) {
console.error(err);
return null;
}
// Filter out any models that failed to 'spin-up' due to exceptions.
}).filter((entry) => !!entry);

// If any newly-activating models are disqualified due to initial conditions, don't add them.
newMatchers = newMatchers.filter((matcher) => !matcher.result || matcher.result.matched !== false);
Expand Down
Loading
Loading