Commit graph

582 commits

Author SHA1 Message Date
Darcy Wong
1aecb95eff chore(common): Update crowdin strings for Simplified Chinese 2023-04-24 09:42:31 +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
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
Darcy Wong
3ef331a87e refactor(common): Update to build_help_html params 2023-03-10 12:49:37 +07:00
Darcy Wong
6c2126431f refactor(common): Make build-help into helper functions 2023-03-08 11:42:13 +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
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
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
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
Darcy Wong
dce46c95ab chore(common): Check in crowdin for Ukrainian 2023-01-24 10:26:15 +07:00
Darcy Wong
0a626a9cb5 chore(common): Check in crowdin for Russian 2023-01-24 10:13:13 +07:00
Darcy Wong
2c02150054 chore(common): Add crowdin for Swedish 2023-01-24 09:33:42 +07:00
Darcy Wong
f07e0af5aa chore(common): Add crowdin strings for Czech 2023-01-24 08:41:22 +07:00
Darcy Wong
435aa655a7 chore(common): Add Crowdin strings for Kannada 2023-01-24 07:19:11 +07:00
Marc Durdin
b1dff6a7ce chore(mac): add missing versionGitTag field 2023-01-23 14:04:46 +07:00
Marc Durdin
067028cec2 chore: revise tag variable name to VERSION_GIT_TAG
Introduce new $VERSION_GIT_TAG environment variable, and update all
references to release@version in all projects to use the new variable.
2023-01-21 17:02:50 +07:00
Marc Durdin
34ece2182d fix(common): update sentry release identifiers to support semver
Fixes #7895.

This should mean that Sentry reports start to track semantic versions. I
have reviewed each project and I _think_ I've captured all the locations
where we need to construct release identifiers. Note that one of them
was fixed from a plain version number.

Docs on release format: https://docs.sentry.io/platforms/node/guides/serverless-cloud/configuration/releases/#bind-the-version
2023-01-17 17:04:24 +07:00
Darcy Wong
3dbd78a0ef chore(common): Add Crowdin strings for Kannada 2023-01-03 11:10:57 +07:00
Steven R. Loomis
bc14f18460 Merge remote-tracking branch 'origin/master' into chore/core/mergemaster4-epic-ldml 2022-12-15 17:55:13 -06:00
Marc Durdin
25abcbc10a
Merge branch 'master' into chore/beta-to-master 2022-12-09 20:47:31 +11:00
Marc Durdin
83e2ebac2d
Merge pull request #7795 from keymanapp/fix/mac/7632-caps-inconsistent-with-core
fix(mac): Caps processing was not consistent with core
2022-11-28 18:43:30 +11:00
Darcy Wong
fded9721e2 chore(common): Merge branch 'beta' into chore/common/beta-b16s2 2022-11-25 07:58:23 +07:00
Darcy Wong
2001f98d86
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-23 07:39:24 +07:00
Marc Durdin
a45145ae3d fix(mac): Caps processing was not consistent with core
Fixes #7632.

If Caps Lock was on, rules that did not specify Caps Lock state were
not matched, for example:

```
+ [K_SLASH] > 'foo'
```

The truth table for matches is:

Event    |    Rule     | Result
---------|-------------|-----------
NCAPS    |    0        | match
NCAPS    |    CAPS     | no match
NCAPS    |    NCAPS    | match
CAPS     |    0        | match
CAPS     |    CAPS     | match
CAPS     |    NCAPS    | no match

(Internally, Keyman for Mac currently maps 0 to NCAPS on the event for
simplicity.)

The fix is to ignore the Event Caps Lock state if the rule specifies
neither `CAPS` nor `NCAPS`. If the rule specifies either of these
state masks, then the Caps component of the state mask must match.
2022-11-23 09:25:11 +11:00
Darcy Wong
c584f0cb45 chore(common): Add notes about bugfixes 2022-11-22 10:50:21 +07:00