Commit graph

1079 commits

Author SHA1 Message Date
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
Marc Durdin
64e2eeb263
chore(mac): Update requirements.md 2023-06-30 12:20:44 +10:00
Marc Durdin
c9e3adb27c chore: Merge branch 'feature-macos-core' into chore/merge-master-into-feature-macos-core 2023-06-23 15:45:38 +07: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
Marc Durdin
37a8f1316e chore(mac): refactor notarization into sourced script 2023-06-19 07:32:14 +07:00
Marc Durdin
3e6b91b861 chore(mac): replace altool with notarytool in setup build 2023-06-19 07:23:21 +07:00
Marc Durdin
38845da761 chore(mac): notarytool json result parse 2023-06-14 09:04:24 +07:00
Marc Durdin
78c28945fb chore(mac): notarytool json output 2023-06-14 06:54:36 +07:00
Marc Durdin
fc96f013aa chore(mac): move from altool to notarytool 2023-06-14 06:27:16 +07:00
sgschantz
c40d24a727 fixed linker settings for unit tests 2023-06-01 10:33:06 +07:00
sgschantz
7d7fc2e7bc fix or disable failing unit tests 2023-06-01 08:34:31 +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
Shawn Schantz
6ce963495e
Merge pull request #8797 from keymanapp/chore/merge-master-to-feature-macos-core-A17S12
chore(mac): merge master to feature macos core A17S12 🍕
2023-05-29 14:42:05 +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
sgschantz
13f0055ac9 comment cleanup 2023-05-15 08:50:36 +07:00
Darcy Wong
3ea8cc26f6 chore(common): Update crowdin strings for Amharic 2023-05-11 10:10:13 +07:00
Marc Durdin
d36854e0fa fix(mac): CONFIG not CONFIGURATION in build path
Fixes an error in mac/build.sh, arising from work in #8698. Kinda proves
that the `-u` flag was worth setting globally!
2023-05-09 10:39:31 +07:00
sgschantz
1566e06bea broke out CoreActionHandler, new path through InputMethod for Keyman Core action processing 2023-05-05 12:52:18 +07:00
Marc Durdin
127b0e0c43 chore(mac): fix missing build vars 2023-05-02 13:49:24 +07:00
Marc Durdin
2934a15dd7 chore(mac): fixup missing parameter test 2023-05-02 12:30:29 +07:00
Marc Durdin
a1e1f905cc chore(mac): remove unused variable in build.sh 2023-04-28 14:23:21 +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
2e28e93bb5 override init to funnel everything to designated initializer for CoreAction 2023-03-27 16:26:32 +07:00
sgschantz
6be8169945 set designated initializer for CoreAction class 2023-03-27 15:55:47 +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
Shawn Schantz
c62a39996f
Merge pull request #8457 from keymanapp/chore/merge-master-to-feature-macos-core-A17S8
chore(mac): merge master to feature-macos-core for A17S8 🍕
2023-03-21 20:44:03 +07:00
sgschantz
7a0eb338c4 added helper and wrapper unit tests 2023-03-21 08:41:41 +07:00
sgschantz
37441c753a specify ctrl and alt only if not right or left ctrl or alt 2023-03-17 09:11:45 +07:00
sgschantz
4316a3ceea modifier conversion support for left and right alt and ctrl keys 2023-03-16 14:25:33 +07:00
Darcy Wong
17a04a7f9a feat(mac): Add Kibaku strings 2023-03-16 11:25:55 +07:00
sgschantz
0251923ec8 set context in core at init time 2023-03-14 14:03:25 +07:00
sgschantz
bc3c8cdc6b optimize array of actions returned by core to conform to expected actions list 2023-03-14 12:03:54 +07:00
Darcy Wong
3ef331a87e refactor(common): Update to build_help_html params 2023-03-10 12:49:37 +07:00
sgschantz
eba89e54cd preliminary integration of keyman core with keyman engine for mac 2023-03-09 14:07:44 +07:00
Darcy Wong
6c2126431f refactor(common): Make build-help into helper functions 2023-03-08 11:42:13 +07:00
Shawn Schantz
15faa62b06
Merge pull request #8364 from keymanapp/chore/merge-master-to-feature-macos-core-A17S7
chore(mac): merge master to feature-macos-core for A17S7 🍕
2023-03-07 09:23:05 +07:00
Marc Durdin
9eb472579c chore: Merge branch 'feature-ldml' into chore/merge-master-to-feature-ldml-A17S7-2 2023-02-23 08:05:31 +07:00