Commit graph

718 commits

Author SHA1 Message Date
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
Shawn Schantz
5564880b93
Merge pull request #8262 from keymanapp/chore/merge-master-to-feature-macos-core-A17S6
chore(mac): merge master to feature-macos-core for A17S6 🍕
2023-02-22 13:12:23 +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
e645b8665f chore: Merge branch 'feature-ldml' into chore/A17S7-master-to-feature-ldml
* core/build.sh -- accept feature-ldml changes (remove call to get_builder_OS)
* developer/src/kmlmc/build.sh -- delete file
*	linux/debian/rules -- accept master changes, fixup call to core/build.sh
*	linux/ibus-keyman/tests/Makefile.am -- accept master changes, fixup call to core/build.sh
*	linux/scripts/build.sh -- accept master changes, fixup call to core/build.sh
*	linux/scripts/reconf.sh -- accept master changes
2023-02-22 08:00:08 +07:00
Marc Durdin
a004978863 chore: use builder_heading, remove echo_heading 2023-02-20 09:17:51 +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
Shawn Schantz
ca582a407e
Merge pull request #8167 from keymanapp/chore/merge-master-to-feature-macos-core-A17S5
chore(mac): merge master to feature-macos-core for A17S5 🍕
2023-02-06 15:30:30 +07:00
Steven R. Loomis
ae45295dc6 Merge remote-tracking branch 'upstream/master' into chore/merge-master-a17s5-REDO-epic-ldml 2023-02-03 16:53:35 -06:00
Shawn Schantz
3e390d83d1
Merge pull request #8101 from keymanapp/chore/merge-master-to-feature-macos-core-A17S4
chore(mac): merge master to feature-macos-core 🍕
2023-02-01 15:03:34 +07:00