Commit graph

1043 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
Shawn Schantz
7f0f935720
Merge pull request #8125 from keymanapp/fix/ios/install-kmp-with-duplicate-language
fix(ios): allow duplicate languages in kmp file
2023-02-22 13:11:44 +07:00
Darcy Wong
965cadc982 chore: Merge branch 'beta' into chore/beta-a17s5-1 2023-02-01 08:49:28 +07:00
Marc Durdin
cdc661f2d6
Merge branch 'beta' into cherrypick/common/crowdin-cs 2023-01-31 18:02:32 +11:00
Marc Durdin
31fbeec217
Merge branch 'beta' into chore/common/crowdin-sv 2023-01-31 17:59:52 +11:00
Marc Durdin
7fd0c8a39e
Merge branch 'beta' into chore/common/crowdin-uk 2023-01-31 17:56:39 +11:00
sgschantz
7769ce3538 allow mutliple languages in kmp file and warn if none found 2023-01-31 09:59:51 +07:00
Darcy Wong
1a4512d0eb chore(common): Add crowdin strings for Czech
chore(common): Add crowdin strings for Czech
2023-01-26 07:31:47 +07:00
Darcy Wong
dec8751f93
Merge branch 'master' into cherrypick/kannada-shawn 2023-01-25 21:57:07 +07:00
Darcy Wong
f2cf341a68
Merge branch 'beta' into chore/common/crowdin-sv 2023-01-25 21:27:09 +07:00
Darcy Wong
46305470fb
Merge pull request #8070 from keymanapp/chore/crowdin-cs
chore(common): Add crowdin strings for Czech
2023-01-25 21:24:43 +07:00
Darcy Wong
dbe3d17b8a
Merge branch 'beta' into chore/common/crowdin-uk 2023-01-25 21:24:01 +07:00
Darcy Wong
1074af1023
Merge branch 'beta' into chore/common/crowdin-ru 2023-01-25 21:19:46 +07:00
Marc Durdin
4131aa84c5
Merge pull request #8063 from keymanapp/chore/more-version-tags
chore(common): revise tag variable name to VERSION_GIT_TAG
2023-01-25 22:43:01 +11:00
Darcy Wong
dce46c95ab chore(common): Check in crowdin for Ukrainian 2023-01-24 10:26:15 +07:00
Darcy Wong
0a626a9cb5 chore(common): Check in crowdin for Russian 2023-01-24 10:13:13 +07:00
Darcy Wong
2c02150054 chore(common): Add crowdin for Swedish 2023-01-24 09:33:42 +07:00
Darcy Wong
f07e0af5aa chore(common): Add crowdin strings for Czech 2023-01-24 08:41:22 +07:00
Darcy Wong
435aa655a7 chore(common): Add Crowdin strings for Kannada 2023-01-24 07:19:11 +07:00
Marc Durdin
067028cec2 chore: revise tag variable name to VERSION_GIT_TAG
Introduce new $VERSION_GIT_TAG environment variable, and update all
references to release@version in all projects to use the new variable.
2023-01-21 17:02:50 +07:00
Marc Durdin
8fd220b668 fix(ios): use mobile mode for keyboard download pages
Fixes #7915.

On iPadOS 16, it seems that WKWebView defaults to lying about its user
agent to servers. We can switch this behaviour by using .mobile for the
preferredContentMode.

We should also update the website to work around this, so that users
always get the right downloads for their device, but the website
currently uses server-side determination of user agent for this
particular aspect of the keyboard search, so that's a much more
significant refactor, to make it client-side, with greater risk and much
more testing required.
2023-01-19 19:37:19 +11:00
Marc Durdin
34ece2182d fix(common): update sentry release identifiers to support semver
Fixes #7895.

This should mean that Sentry reports start to track semantic versions. I
have reviewed each project and I _think_ I've captured all the locations
where we need to construct release identifiers. Note that one of them
was fixed from a plain version number.

Docs on release format: https://docs.sentry.io/platforms/node/guides/serverless-cloud/configuration/releases/#bind-the-version
2023-01-17 17:04:24 +07:00
Darcy Wong
3dbd78a0ef chore(common): Add Crowdin strings for Kannada 2023-01-03 11:10:57 +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
Darcy Wong
081c23c798 chore(common): Add crowdin strings for Dutch 2022-10-20 09:42:56 +07:00
Marc Durdin
f836574cbc chore: use keyman.com instead of keyman-staging.com
Fixes #7227.

We want to use keyman.com for now even for alpha builds, as
keyman-staging.com is going to be used for transition to Docker-based
hosting, and it will be problematic to try and share that process with
alpha builds.
2022-09-08 14:32:39 +10:00
Joshua Horton
58496402bb
Merge pull request #6838 from keymanapp/chore/ios/app-browser-wkwebview-conversion
chore(ios): updates core internals for the in-app browser
2022-07-14 15:29:25 +07:00
Marc Durdin
13a038da70 fix(ios): ignore CFBundleShortVersionString
Use KeymanVersionWithTag from .plist instead of
CFBundleShortVersionString when checking version information, because
XCode can rewrite bundle version of frameworks. Details: #6932.
2022-07-13 06:26:59 +10:00
jahorton
33b79656ae change(ios): browser - direct font injection 2022-07-07 15:34:17 +07:00
jahorton
6280164691 change(ios): slightly defers initial keyboard display 2022-05-27 10:03:37 +07:00
Shawn Schantz
030f31d48c
Merge pull request #6552 from keymanapp/fix/ios/6547-rotation-memory-leak
fix(ios): stops leaking memory on system keyboard rotation
2022-05-23 09:11:23 +07:00
Darcy Wong
7c3de5bbc3 chore(common): Merge remote-tracking branch 'origin/beta' into chore/common/crowdin-pl 2022-05-11 14:28:50 +07:00
Darcy Wong
7773cdfe22 chore(common): Add crowdin strings for Polish 2022-05-09 12:41:36 +07:00
Darcy Wong
384f8befcb chore(common): Add crowdin strings for Italian 2022-05-09 11:04:12 +07:00
sgschantz
3aa6cc4af9 call removeScriptMessageHandler to allow userContentController to be deallocated 2022-04-21 16:15:17 +07:00
Darcy Wong
229c314ac5 chore(common): Use pt-PT for iOS and macOS strings 2022-04-08 14:11:56 +07:00
Darcy Wong
3fae9cf1c4 chore(common): Remove pt files 2022-04-08 13:51:58 +07:00
Darcy Wong
f0e41833c4 chore(common): Add Crowdin strings for Portuguese 2022-04-08 11:36:18 +07:00
Keyman Server
b5eccfcf29 fix(ios): use CFBundleShortVersionString for version 2022-04-07 16:59:25 +10:00
Marc Durdin
65076284f8
Update ios/engine/KMEI/KeymanEngine/Classes/KeymanPackage.swift 2022-04-07 09:17:18 +10:00
sgschantz
e8c260babb package install fails with alert if Keyman version in use is lower than the minimum specified in the package 2022-04-05 11:31:00 +07:00
Shawn Schantz
a67d082553
Merge pull request #6197 from keymanapp/feat/oem/fv/ios/dictionary-support
feat(oem/fv/ios): Dictionary Support
2022-03-29 08:02:07 +07:00
sgschantz
f83f8f8a34 lexical model install fix 2022-03-25 13:34:00 +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
sgschantz
a3202e0ff9 handle delete with null context before 2022-03-14 13:00:44 +07:00
sgschantz
c944b55883 support for lexical model settings, fixes switch control update issues, moves keyboard list refresh to viewDidAppear 2022-03-09 13:24:19 +07:00
Marc Durdin
967fe24a1e fix(ios): selection should be utf-16 not scalar 2022-02-25 16:53:59 +11:00
Marc Durdin
2bfe63db2f fix(ios): properly handle selection
Relates to #5853

This deals with deleting the selection with the new interface for
KeymanWeb. It also ensures that the selection is always correctly sent
to KeymanWeb.
2022-02-23 19:46:56 +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