Commit graph

482 commits

Author SHA1 Message Date
sgschantz
ada74039e0 consuming actions struct from core 2023-11-03 08:43:37 +07:00
sgschantz
79dc266064 increase disk image template size by 2MB 2023-10-30 15:11:22 +07:00
sgschantz
aace9fc9df proper unicode conversion when getting context stringthat containing SMP text; also other clean up in response to review comments 2023-10-30 12:29:51 +07:00
sgschantz
184f56c7aa use core context instead of locally managed context 2023-10-26 15:38:19 +07:00
sgschantz
18b0860316 change settings for core library name change and restore readPeristedOptions function name overwritten in merge 2023-10-26 09:59:17 +07:00
Shawn Schantz
b908c30b2c
Merge branch 'feature-macos-core' into feature/core/add-core-wrapper 2023-10-26 08:41:09 +07:00
sgschantz
707bed0ac3 fix unit test access to CoreAction 2023-10-23 13:09:43 +07:00
sgschantz
722ac1fd04 fix failed unit test, remove obsolete library references 2023-10-23 12:54:50 +07:00
Shawn Schantz
5d41ecf6c2
use zero-based loop when removing all keyboards from Input Menu
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-10-19 15:22:17 +07:00
sgschantz
6871e74d3a changed keyboards menu to dynamically update in Keyman section of the Input Menu and eliminated Keyboards submenu 2023-10-19 14:55:57 +07:00
sgschantz
cbe9ef7741 added logging to learn about menu execution 2023-10-17 09:11:21 +07:00
sgschantz
615c9c23d2 limit most log statements to debug mode 2023-10-16 15:26:13 +07:00
sgschantz
a28a7ac775 rename coreWrapper 2023-10-05 09:14:15 +07:00
Shawn Schantz
301ebc25c6
Merge branch 'feature-macos-core' into feature/core/add-core-wrapper 2023-10-05 08:01:50 +07:00
sgschantz
08c1ac9fc1 rename from compatibility to compliance 2023-10-04 17:57:22 +07:00
sgschantz
cd037c0b8d eliminate some unneeded properties 2023-10-04 11:14:17 +07:00
sgschantz
af25f2b466 auto detect non-compliant apps 2023-10-03 17:15:25 +07:00
sgschantz
caf7ba2e06 increase size of dmg template by 2MB for added core libraries 2023-09-29 09:02:34 +07:00
Shawn Schantz
73ba665eb5
Merge branch 'feature-macos-core' into feature/core/add-core-wrapper 2023-09-26 13:34:30 +07:00
sgschantz
682d99c2cb context simplification, legacy app determination integrated into TextCompatibilityCheck 2023-09-26 10:48:43 +07:00
Darcy Wong
427459ce29 chore(common): Add crowdin strings for Mon 2023-09-12 13:05:44 +07:00
sgschantz
df3c34a711 add back EventTap function to support left and right modifier keys, do not set NoCaps flag in calls to Core when Caps Lock is off 2023-08-24 14:06:49 +07:00
Darcy Wong
9f651d00e6 chore(common): Update crowdin strings for French 2023-08-24 08:31:56 +07:00
sgschantz
f57b934257 use helper method for string to unichar string 2023-08-16 15:53:42 +07:00
sgschantz
2cb7458829 successfully loading setting options in core -- not behaving predictably until null terminator added 2023-08-15 14:57:30 +07:00
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