Commit graph

998 commits

Author SHA1 Message Date
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
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
Darcy Wong
24364dc5af
Merge pull request #6048 from keymanapp/chore/common/crowdin-ckl
chore(common): Check in crowdin strings for Kibaku 📜
2022-01-17 10:28:54 +07:00
Darcy Wong
c5178649e6
Merge pull request #6050 from keymanapp/chore/common/crowdin-hia
chore(common): Check in crowdin strings for Waha 📜
2022-01-14 12:48:41 +07:00
Darcy Wong
9eb2916d51
Merge pull request #6049 from keymanapp/chore/common/crowdin-mrt
chore(common): Check in crowdin strings for Marghi 📜
2022-01-13 15:04:34 +07:00
Darcy Wong
c5238f026e chore(common): Check in crowdin strings for Waha 2021-12-15 15:57:26 +07:00
Darcy Wong
c98ce761b2 chore(common): Check in crowdin strings for Marghi
This checks in the crowdin strings for the locale `mrt` for Marghi.
Does not include macOS.

TODO: Check on adding mrt locale in XCode
2021-12-15 12:48:09 +07:00
Darcy Wong
06835125e6 chore(common): Check in crowdin strings for Kibaku
This checks in the crowdin strings for the locale `kr` for Kanuri.
Does not include macOS.

TODO: Check on adding ckl locale in XCode
2021-12-15 10:42:18 +07:00
Darcy Wong
57d8929eca chore(common): Check in crowdin strings for Kanuri
This checks in the crowdin strings for the locale `kr` for Kanuri.
Does not include macOS.

TODO: Check on adding kr-NG locale in XCode
2021-12-15 09:57:54 +07:00
Darcy Wong
c98ac9880c
Merge pull request #5841 from keymanapp/chore/common/crowdin-ff-ng
chore(common): Check in crowdin strings for Fulfulde Nigeria
2021-11-17 09:24:35 +07:00
Darcy Wong
31b4fee7d0
Merge pull request #5857 from keymanapp/common/crowdin-mfi
chore(common): Check in crowdin strings for Mandara (Wandala)
2021-11-16 09:24:07 +07:00
Darcy Wong
a44b300adb Merge remote-tracking branch 'origin/master' into chore/common/crowdin-ff-ng 2021-11-15 09:15:43 +07:00
Darcy Wong
a0228c6c30 chore(common): Check in crowdin strings for Mandara (Wandala) 2021-10-26 15:18:51 +07:00
Darcy Wong
dddfc8c64c chore(common): Check in crowdin strings for Fulfulde Nigeria
These use the locale `ff-NG` in contrast to the existing Pulaar-Fulfulde locale `ff-ZA`.
2021-10-20 11:18:22 +07:00
Darcy Wong
d54ba65eb4 chore(common): Check in crowdin strings for Bura-Pabir 2021-10-19 16:14:03 +07:00
Darcy Wong
c5005728da Merge remote-tracking branch 'origin/master' into chore/common/crowdin-ha 2021-10-16 16:03:29 +07:00
Marc Durdin
3219b44624 chore: sentry.io dsn 2021-10-04 15:01:36 +11:00
Darcy Wong
ef1be0cecb chore(common): Check in crowdin strings for Hausa 2021-09-29 10:47:56 +07:00
Darcy Wong
d089b962af chore(common): Check in crowdin strings for Shuwa Latin 2021-09-21 14:42:58 +07:00
Darcy Wong
dd15e68a0e
Merge pull request #5681 from keymanapp/chore/common/crowdin-zh
chore(common): Check in crowdin strings for Simplified Chinese
2021-09-21 07:14:42 +07:00
Joshua Horton
a034691ecc
Merge pull request #5698 from keymanapp/fix/ios/block-desktop-only-install
fix(ios): prevents installation of packages without JS
2021-09-17 12:43:56 +07:00
jahorton
7b57e962f9 fix(ios): prevents installation of packages without JS 2021-09-15 13:13:40 +07:00
jahorton
63ce4829a7 fix(ios): release-version tagging for errors from sys keyboard 2021-09-15 12:09:45 +07:00
Darcy Wong
42197c896b chore(common): Check in crowdin strings for simplified Chinese 2021-09-13 12:16:58 +07:00
jahorton
c023acfb0b fix(ios): also, the language-specific settings 2021-08-04 12:22:30 +07:00
jahorton
2e1b18b42f fix(ios): iOS 14 only - stuck settings toggles 2021-08-04 12:13:55 +07:00
jahorton
32e917b868 fix(ios/engine): recursive init reqts are bad 2021-07-23 09:42:25 +07:00
jahorton
a1fcaadd85 fix(ios/engine): engine migration must precede installs 2021-07-23 09:02:34 +07:00
jahorton
1c71fb7d5c refactor(ios): SpacebarText enum simplification 2021-06-28 12:25:38 +07:00
Marc Durdin
81a2285972 chore: remove commented code 2021-06-25 11:49:59 +10: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
Darcy Wong
5552ee4aad chore(common): Check in crowdin strings for Spanish (Latin America) 2021-06-11 07:33:56 +07:00
jahorton
4449646312 chore(ios): Merge branch 'master' into feat/ios/resource-file-check 2021-05-28 13:07:58 +07:00
jahorton
d1e673f38a fix(ios): error log msg typo 2021-05-28 11:30:26 +07:00
jahorton
5326927bed chore(ios): Merge branch 'master' into change/ios/workspace-reorg 2021-05-28 11:25:37 +07:00
jahorton
fb69e6b4be chore(ios): removes dev artifact (empty //) 2021-05-28 11:00:06 +07:00
jahorton
af839a51ea fix(ios): proper file-existence checking, default kbd loading 2021-05-28 10:47:49 +07:00
jahorton
b48cc63e8e change(ios): kbd resets to default on initial loading error, loading errors 2021-05-28 10:19:24 +07:00
jahorton
90203e4570 feat(ios): resource file validation before use 2021-05-28 08:45:01 +07:00
jahorton
1d7dc54cee fix(ios): forgot to actually log breadcrumb messages 2021-05-28 08:44:31 +07:00
jahorton
d98af34e71 chore(ios): Merge branch 'master' into change/ios/workspace-reorg 2021-05-28 07:19:14 +07:00
jahorton
fcdb04ec14 chore(ios): Merge branch 'master' into chore/ios/handled-error-logging 2021-05-28 07:17:15 +07:00
Joshua Horton
58cd1b1b9f
Merge pull request #5168 from keymanapp/change/ios/min-of-ios-12
change(ios): minimum iOS version -> 12.1
2021-05-28 06:36:58 +07:00
Joshua Horton
126d5762ea
Merge pull request #5120 from keymanapp/chore/ios/update-sentry-dep
chore(ios): dependencies - update sentry-cocoa to 6.2.1
2021-05-28 06:36:45 +07:00
jahorton
c04ef72f5b change(ios): drops conditional iOS <= 11 checks 2021-05-27 14:13:27 +07:00
jahorton
7157e667ee change(ios): consolidation of obsoletions 2021-05-27 13:10:17 +07:00