Commit graph

85 commits

Author SHA1 Message Date
Eberhard Beilharz
5b38557227
refactor(web): remove defaults in keyboard-storage
- Also renamed `prefixed` and `withoutPrefix` functions to use the name
  that was aliased on most cases: `toPrefixedKeyboardId` and
  `toUnprefixedKeyboardId`.
- Renamed `ModelManager` class to `ModelCache` which was the name used
  everywhere except in comments.

Part-of: #15292
Test-bot: skip
2025-12-19 18:43:02 +01:00
Joshua Horton
bfb97ca0c6 maint(web): upgrade Sentry to 8.55.0
Fixes: KEYMAN-WEB-RX
(It was produced artificially after this PR's changes to validate them.)

Cross-reference with https://github.com/getsentry/sentry-javascript/blob/master/docs/migration/v7-to-v8.md in regard to minimum supported versions.

@keymanapp-test-bot skip
2025-05-22 14:02:16 +07:00
Joshua Horton
439980a02c change(ios): re-order host page script load so Sentry can report script load failures
This change is designed to help further investigate #13312.
2025-02-24 13:12:17 +07:00
Shawn Schantz
558a57f72f
Merge pull request #13077 from keymanapp/chore/mac/12696-xcode-16-upgrade
chore(mac, ios): build and run with xcode 16
2025-02-05 13:14:15 +07:00
Joshua Horton
5b4df8e47d change(ios): set host-app bundle identifier in embedded Web debug-report 2025-01-31 14:42:15 +07:00
sgschantz
fb1d86874e chore(mac): builds and runs locally with xcode 16 2025-01-30 12:21:15 +07:00
Joshua A. Horton
f20f4ab0c2 chore(web): Revert "fix(ios): ios-host adjustments"
This reverts commit 829d40f5f3.
2024-07-25 12:04:42 +07:00
Joshua A. Horton
829d40f5f3 fix(ios): ios-host adjustments 2024-04-09 08:15:40 +07:00
Joshua Horton
1319832c23
Merge pull request #10929 from keymanapp/fix/ios/bad-initial-layout
fix(ios): bad initial in-app layout, delayed banner, deprecated banner toggle
2024-03-28 13:36:08 +07:00
Joshua Horton
3240ee72c0 fix(ios): hard context resets 2024-03-12 23:37:45 +07:00
jahorton
a8a49d8865 chore(ios): integrates showBanner within init-followup 2024-03-06 08:36:18 +07:00
jahorton
a4cdc9203c fix(ios): delayed banner 2024-03-05 09:35:51 +07:00
jahorton
9ab01d272b chore(ios): polish for new ios-host func per review 2024-02-19 08:57:46 +07:00
jahorton
9bc01bee5f fix(ios): multitaps following a context-window slide 2024-02-15 13:54:16 +07:00
jahorton
33ffad05ee fix(ios): banner image management 2024-01-09 13:46:03 +07:00
Joshua Horton
6f38fde42b
Merge pull request #10074 from keymanapp/chore/merge-master-into-feature-gestures
chore: merge master into feature-gestures 🐵
2023-11-24 11:36:56 +07:00
Joshua A. Horton
680c031927 change(ios): ios too 2023-11-14 11:46:15 +07:00
Joshua A. Horton
109920e235 refactor(web): drops banner options paradigm in favor of simple "inactiveBanner" prop 2023-11-13 13:31:57 +07:00
Joshua A. Horton
ab7bf0445d fix(ios): verifyLoaded() 2023-04-18 10:34:58 +07:00
Joshua A. Horton
7b7fa52a95 chore(web): renames app/webview output, preserves name within embedding apps 2023-04-12 09:00:17 +07:00
jahorton
9d149a9b70 fix(ios): banner images, keyboard swapping 2023-04-11 10:41:59 +07:00
jahorton
6c1fe29562 fix(ios): fixes errors preventing keyboard load 2023-04-11 10:18:10 +07:00
Joshua A. Horton
9002f1c25f chore(web): some adjustments per PR review 2023-04-10 10:51:57 +07:00
Joshua A. Horton
d5ec58c52a fix(web): lots of little connection points for actual in-app use; gets Android app functional 2023-03-29 15:31:55 +07:00
Joshua A. Horton
48610a3b43 fix(common/web): modularizes SentryManager, re-enables it 2023-03-29 09:54:24 +07:00
Joshua A. Horton
9f082c7d4c feat(web): functional app/webview in android debug-host (minus SentryManager) 2023-03-29 08:28:44 +07:00
Joshua A. Horton
c75a4b94a3 fix(web): handling of the spacebar-text setting 2023-03-28 09:13:12 +07:00
Joshua A. Horton
a31e23fc9b change(web): banner height control 2023-03-28 09:13:11 +07:00
Joshua A. Horton
9e1db916a4 chore(web): drops webview textarea element, should fix most webview api 2023-03-28 08:28:06 +07:00
Joshua A. Horton
e7dedfc8ee change(web): embedded-OSK configuration, linkages 2023-02-28 08:42:09 +07:00
Joshua A. Horton
d987444683 change(web): OSK modularization, prep for standalone mode, refactors to achieve both 2023-01-20 15:16:05 +07:00
Marc Durdin
89f734c70a chore(ios): support iOS 13+ for iPad detection 2022-10-31 16:11:17 +11:00
Marc Durdin
71af6160db fix(ios): iPad was not recognised as tablet device
Fixes #7517.

Cleans up the setDeviceType code which was attempting to set the device
type far too late in the init sequence, and moves responsibility for
detection from kmwembedded.ts to ios-host.ts, as this device test is
iOS-specific.
2022-10-28 13:02:19 +11:00
Marc Durdin
88c7363ab7 fix(ios): only override console object in ios-host if debug enabled 2022-07-05 13:14:39 +10:00
jahorton
9dd69f4ee5 fix(ios): forces host page to use full allotted area 2022-05-18 09:48:33 +07:00
Keyman Server
a9e0575e1f fix(ios): reset context when osk is resized 2022-03-25 14:21:43 +11:00
Keyman Server
71a2b19aee fix(ios): call keyman.resetContext, not keyman.core.resetContext
The iOS code was making a direct call to `keyman.core.resetContext()`
rather than to `keyman.resetContext()`. This meant that the
`OutputTarget` was not set and the `newContext` event would never be
called (as well as triggering a background warning in the language
processor "OutputTarget missing during an invalidateContext call").

Refactored to include a wrapper for `resetContext()` in ios-host.js, as
I think it's better to proxy all calls to KMW consistently through the
host javascript.

(There are a couple of other direct calls which could be cleaned up;
search for "evaluateJavaScript" to find all calls; I think we could
consider build a wrapper for all these calls?)
2022-03-23 09:07:36 +11:00
Marc Durdin
e89eb608e7 fix(ios): reset context on empty context 2022-03-22 12:29:35 +11:00
Keyman Server
9f2246a336 fix(ios): avoid refocus of internal edit
The refocus of internal edit (setActiveElement) after every keystroke
was causing a `newcontext` event to be triggered. We should never need
to do this, but have chosen to move it within the resetContext pattern,
to minimize the changes.
2022-03-18 11:44:29 +11:00
Marc Durdin
5c687559fe chore(ios): separate ios-host.js
This is part of the fix chain for #5853. Split ios-host.js out from
keyboard.html in order to make it easier to debug and mock. No changes
to the content of the sscript, just moving it here.
2022-02-23 15:48:47 +11:00
jahorton
20ea99b665 fix(ios): keyboard swapping 2021-07-21 16:25:50 +07:00
Marc Durdin
073ca98e2e feat(ios): add spacebar text controls
Relates to #949.

Mirror of #5349 (Android), for iOS.

* Adds setSpacebarText() API to Keyman Engine for iOS
* Adds displayName API to Keyman Engine for iOS
* Adds Preference for spacebar text to Keyman Engine for iOS
* Sets default spacebar text to keyboard name for FirstVoices Keyboards
2021-06-25 11:44:09 +10:00
jahorton
4f25f90470 feat(ios): build script option: -download-resources 2021-03-12 09:30:00 +07:00
jahorton
fcc1eae8a5 fix(common): context reset on embedded caret shift 2020-12-04 10:22:10 +07:00
jahorton
349d45c573 fix(android/engine): related Android changes 2020-12-04 08:42:52 +07:00
jahorton
6d111783e3 fix(common/core/web): predictive context reset 2020-12-03 15:48:18 +07:00
jahorton
7cd16a7a52 fix(ios/engine): verifies a KMW load, resetting keyboard page on verification failure 2020-12-02 11:56:42 +07:00
jahorton
53d252408a fix(ios): adds null guard to refreshLayouts call 2020-11-23 14:27:58 +07:00
jahorton
54482e8f1f fix(web/engine): fixes OSK rotation 2020-11-20 10:35:20 +07:00
jahorton
6b33e0a7df fix(ios/engine): fixes keyboard swapping 2020-06-19 10:39:54 +07:00