Commit graph

13 commits

Author SHA1 Message Date
Marc Durdin
787b32ba34
Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
Joshua A. Horton
da6ac54784 change(web): app/webview model-registration api connection 2023-03-20 09:49:25 +07: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
jahorton
6280164691 change(ios): slightly defers initial keyboard display 2022-05-27 10:03:37 +07:00
sgschantz
3aa6cc4af9 call removeScriptMessageHandler to allow userContentController to be deallocated 2022-04-21 16:15:17 +07: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
jahorton
1c71fb7d5c refactor(ios): SpacebarText enum simplification 2021-06-28 12:25:38 +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
4b0fe06196 change(ios): setText now uses JSON serialization 2021-06-21 16:04:54 +07:00
jahorton
4449646312 chore(ios): Merge branch 'master' into feat/ios/resource-file-check 2021-05-28 13:07:58 +07:00
jahorton
5326927bed chore(ios): Merge branch 'master' into change/ios/workspace-reorg 2021-05-28 11:25:37 +07:00
jahorton
d98af34e71 chore(ios): Merge branch 'master' into change/ios/workspace-reorg 2021-05-28 07:19:14 +07:00
jahorton
582d587ad5 chore(ios): pass 4 - keyboard-related reorg, some dead code removal 2021-05-27 12:17:11 +07:00
Renamed from ios/engine/KMEI/KeymanEngine/Classes/KeymanWebViewController.swift (Browse further)