Commit graph

407 commits

Author SHA1 Message Date
sgschantz
4010c79bf9 handle PersistOption action; persisting but not loading at startup yet 2023-08-10 11:30:12 +07:00
sgschantz
0b8e3f62b4 remove key processing code from engine and move virtual key map to CoreHelper 2023-08-02 16:01:19 +07:00
Shawn Schantz
a863bf1670
Merge branch 'feature-macos-core' into feature/core/add-core-wrapper 2023-07-31 14:22:17 +07:00
sgschantz
37a4ad44d2 specify mac cp for -R 2023-07-27 11:54:59 +07:00
sgschantz
b2dce47b3f update context with core when invalidated 2023-07-06 13:57:37 -04:00
Darcy Wong
048497fea9 chore(common): Update crowdin strings for Kibaku 2023-07-06 09:20:13 -05:00
sgschantz
bda03f4282 remove event and client from ActionHandler 2023-06-22 21:15:00 -04:00
sgschantz
0048dc1ab9 remove tests that fail to build 2023-06-21 17:21:14 -04:00
sgschantz
c45fbb8e48 NSNotFound is valid selection result for compatibility check 2023-06-21 16:57:48 -04:00
jahorton
6fd241cd1d chore(mac): updates mac platform with 'es' l10n 2023-06-20 13:40:28 +07:00
Darcy Wong
cf1a1bb4ab chore(common): Update crowdin strings for Spanish - Latin America 2023-06-19 12:35:45 -05:00
Darcy Wong
ff10aaea34 chore(common): Add crowdin strings for Spanish (es) 2023-06-19 11:42:26 -05:00
sgschantz
c40d24a727 fixed linker settings for unit tests 2023-06-01 10:33:06 +07:00
sgschantz
81d6109783 fixed failing unit tests; added out of range checks on text replacement during insertText 2023-05-30 15:34:28 +07:00
sgschantz
16c6faf9c3 slight refactor of TextCompatibilityCheck and applying of operations to client 2023-05-30 10:49:37 +07:00
sgschantz
d306830b02 add TextCompatibilityCheck class and generate events for backspace and inserting queued text 2023-05-29 12:21:39 +07:00
sgschantz
144f4e0b4f added KMActionOperation to batch text inserts and deletes; improved context updates 2023-05-23 15:34:05 +07:00
sgschantz
ce0dc60a18 added KMContext, cleaned up some header comments 2023-05-16 15:22:29 +07:00
Darcy Wong
3ea8cc26f6 chore(common): Update crowdin strings for Amharic 2023-05-11 10:10:13 +07:00
sgschantz
1566e06bea broke out CoreActionHandler, new path through InputMethod for Keyman Core action processing 2023-05-05 12:52:18 +07:00
Darcy Wong
1aecb95eff chore(common): Update crowdin strings for Simplified Chinese 2023-04-24 09:42:31 +07:00
sgschantz
10bf9af6df fix isClientAppLegacy which was always returning true and add unit tests for it 2023-04-11 09:05:52 +07:00
Marc Durdin
6c5b27365a chore(mac): use mac cp for -R ops
Because we don't know if mac BSD cp or GNU cp will be first on the path,
where there is ambiguity (e.g. with -R flag), we will use the macOS cp
command in /bin to ensure that we have consistent results. The
alternative would be to fixup each instance of the cp parameters so that
they work consistently with either cp command, but given these scripts
can run only on macOS, that seems unnecessary.

This replaces the earlier change in 97c6331b5.
2023-04-09 07:05:44 +07:00
Marc Durdin
97c6331b5f fix(mac): fix corrupt installer
Fixes #8533 after build agent maintenance put GNU coreutils cp on path
ahead of macOS /bin/cp. This subtly changed the behaviour of the `-R`
flag such that it copied the folder into a subfolder rather than copying
the contents of the folder into the destination folder:

Original layout:

```
Install Keyman.app/Contents/MacOS/
  applet
  textinputsource
  Keyman.app/
```

Corrupted layout:

```
Install Keyman.app/Install Keyman.app/Contents/MacOS/
  applet
  textinputsource
  Keyman.app/
```

Query: should we be rolling back the path changes so that /bin is first
on the path? I am concerned about other subtle changes in behaviour in
the macOS and iOS builds. Otherwise it feels like we may need to audit
the scripts in /mac, /ios (and possibly /common, /core, /web,
/resources) for potential changes.

Annoyed that it took me so long. Also annoying that macOS fails so
subtly when a parent folder has the .app extension in its name.
2023-04-07 06:45:34 +07:00
sgschantz
29bd741386 added action array optimizer unit tests 2023-03-27 14:33:07 +07:00
Marc Durdin
6e611adc65 chore(mac): update stat path 2023-03-24 15:43:07 +07:00
Darcy Wong
17a04a7f9a feat(mac): Add Kibaku strings 2023-03-16 11:25:55 +07:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Marc Durdin
4d53a277f3 chore: use builder_die, remove fail 2023-02-20 09:15:38 +07:00
Marc Durdin
318b4d4478 chore: use builder_warn, remove warn 2023-02-20 08:56:31 +07:00
Darcy Wong
2d97a5e405 chore(common): Update Fula strings 2023-02-17 08:52:21 +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
Marc Durdin
526aead54f
Merge pull request #8072 from keymanapp/chore/common/crowdin-ru
chore(common): Check in crowdin for Russian
2023-01-31 17:54:21 +11:00
Darcy Wong
78955edf20 chore(common): Update crowdin strings for Shuwa (Latin) 2023-01-26 09:34:43 +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
sgschantz
7a140cdaf4 updated mac project settings to include Russian localization 2023-01-25 11:21:37 +07:00
sgschantz
d9d5a7cc02 updated mac project settings to include Ukranian localization 2023-01-25 10:10:53 +07:00
sgschantz
90ec0f0b1f updated mac project settings to include Swedish localization 2023-01-25 09:40:00 +07:00
sgschantz
d2f2f0b981 updated mac project settings to include Czech localization 2023-01-24 22:05:50 +07:00
sgschantz
f3901ae48d updated mac project settings to include Kannada localization 2023-01-24 14:27:26 +07:00
sgschantz
1eca78f43a updated mac project settings to include Kannada localization 2023-01-24 13:32:36 +07:00