Commit graph

543 commits

Author SHA1 Message Date
Sabine
c19d0bea5b feat(mac): mcompile opened all non-deadkey-functions
feat(mac): mcompile tidy up
2024-05-02 12:39:03 +02:00
Sabine
7d42f66a68 feat(mac): open all functions that are easy to open
feat(mac): open more functions

feat(mac): open DoConvert-InitializeUCHR

feat(mac): open write_US_ToVector

feat(mac): (temporarily) add mac_ to function names to be able to distinguish between linux-functions and mac functions if needed

feat(mac): finished mac_createOneVectorFromBothKeyboards()

feat(mac): started DoConvert

feat(mac): mcompile tidy up
2024-05-02 12:39:03 +02:00
Sabine
11e7ddee78 feat(mac): open run() 2024-05-02 12:39:03 +02:00
Sabine
0c7e55e7fe Revert "feat(mac): some edits"
This reverts commit d32e3521ba4f93f4e0862e41f1c612b6a7154953.

# Conflicts:
#	mac/mcompile/keymap.cpp
#	mac/mcompile/keymap.h
#	mac/mcompile/mcompile.cpp
#	mac/mcompile/mcompile.h
2024-05-02 12:39:03 +02:00
SabinePlay
aae9289966 feat(mac): enable some functions/makros 2024-05-02 12:39:03 +02:00
SabinePlay
be0c9b441e feat(mac): remove files 2024-05-02 12:39:03 +02:00
SabinePlay
b1caaa68ae feat(mac): test rm 2024-05-02 12:39:03 +02:00
SabinePlay
d6583f60d8 feat(mac): #ifndefs out to be used 2024-05-02 12:39:03 +02:00
SabinePlay
b2072483bc feat(mac): new get_keyval_From_Keycode()
feat(mac): include km_types and u16

feat(mac): include filesystem and some kmx

feat(mac): include old functions in keymap

feat(mac): include kmx_file, mc_kmxfile

feat(mac): include deadkey, filesystem, km_types, import_rules,mc_kmxfile

feat(mac): include functions in mcompile.cpp/h

feat(mac): #includes out to be used
2024-05-02 12:38:46 +02:00
SabinePlay
d0e1467613 feat(mac): some edits 2024-05-02 11:18:42 +02:00
SabinePlay
3ccaee0af9 feat(mac): mcompile setup minimal VSCode project 2024-04-18 11:12:57 +02: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
Darcy Wong
f98b342fee chore(common): Update whatsnew for 16.0 2022-11-22 10:30:44 +07:00
Shawn Schantz
365d934ec9
Merge pull request #7762 from keymanapp/fix/ios/7476-right-alt
fix(mac): Enable right-alt/option key mapping
2022-11-22 08:51:57 +07:00
Shawn Schantz
ed78cfd339
Update mac/Keyman4MacIM/Keyman4MacIM/Privacy/PrivacyConsent.m
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-22 08:49:57 +07:00
Darcy Wong
cd27527646
Merge branch 'beta' into chore/common/crowdin-update-zhcn 2022-11-18 16:47:28 +07:00
sgschantz
6611e5f393 call completion handler when accessibility is already enabled 2022-11-18 08:32:23 +07:00
sgschantz
39a9456ec7 added ff-ng localization to mac project 2022-11-15 10:09:00 +07:00
sgschantz
59f875fcd7 added zh-cn localization to mac project 2022-11-15 09:06:04 +07:00
Darcy Wong
7ca7cb8d70 chore(common): Update crowin strings for Fulfulde 2022-11-14 10:27:30 +07:00
Darcy Wong
391eb402f3 chore(common): Update crowdin strings for Simplified Chinese 2022-11-14 09:56:52 +07:00
Marc Durdin
250fa86634 chore: Merge branch 'master' into chore/beta-to-master-b16s1 2022-11-11 16:12:46 +11:00
sgschantz
097af26e96 added transparent keyman system menu icon with high res version 2022-11-02 16:28:24 +07:00
Marc Durdin
fc6b496834 chore: update help version and whatsnew 2022-11-01 08:15:57 +11:00
Darcy Wong
d04893b638
Merge pull request #7558 from keymanapp/chore/help-16-0
chore(common): Update help references from 15.0 to 16.0
2022-10-28 07:32:04 +07:00
Darcy Wong
df0153f8f9
Merge pull request #7498 from keymanapp/chore/common/crowdin-nl
chore(common): Add crowdin strings for Dutch
2022-10-27 20:25:33 +07:00
Darcy Wong
5cf0ae6d64 chore(common): Update help references from 15.0 to 16.0 2022-10-27 13:05:38 +07:00
Darcy Wong
5b59cca37b chore(mac): Add privacy-alert-text string 2022-10-25 13:57:25 +07:00
Darcy Wong
1bc6e6a06f chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
Darcy Wong
8b781cdcff chore(common): Update crowdin strings for Amharic 2022-10-25 09:39:56 +07:00
sgschantz
0a9b3ebb61 add dutch(nl) localization to mac and ios project files 2022-10-24 09:34:10 +07:00
Darcy Wong
081c23c798 chore(common): Add crowdin strings for Dutch 2022-10-20 09:42:56 +07:00
sgschantz
0d644b48af modified security alert prompt 2022-10-17 10:58:59 +07:00
sgschantz
5e3d6ce650 jump to System Preferences after displaying privacy alert to user 2022-10-14 16:13:57 +07:00
sgschantz
23ac555e95 changed property and arg names for consistency, more comment cleanup 2022-10-03 09:35:32 +07:00
sgschantz
64ba679252 comment cleanup 2022-09-30 23:36:16 +07:00
sgschantz
fdeeada6bf delete icon for alert and use AppIcon 2022-09-30 17:34:10 +07:00
sgschantz
ae3b9c82bc improved comments and updated alert string 2022-09-25 17:21:45 +07:00
sgschantz
c6a6e32e11 add mechanism to check for required permissions and prompt the user before the system does 2022-09-25 16:18:07 +07:00
Marc Durdin
f836574cbc chore: use keyman.com instead of keyman-staging.com
Fixes #7227.

We want to use keyman.com for now even for alpha builds, as
keyman-staging.com is going to be used for transition to Docker-based
hosting, and it will be problematic to try and share that process with
alpha builds.
2022-09-08 14:32:39 +10:00
Marc Durdin
158e815ec5 chore(common): fix path for mac setup build 2022-07-31 08:12:23 +10:00
Marc Durdin
26881d603a chore(mac): update setup/build to include build-utils.sh
shellHelperFunctions.sh currently needs build-utils.sh sourced first in
order to parse. As we are planning to merge these two scripts, I am okay
with this for now. But we need to make sure that prerequisite is met for
now.

I ran the following command to find scripts that referenced
shellHelperFunctions.sh but not build-utils.sh:

  grep -L build-utils.sh $(grep -lR shellHelperFunctions --include='*.sh' .)

The following files were found:

  ./mac/bashHelperFunctions.sh
  ./mac/setup/build.sh
  ./resources/build/history/history-utils.sh

* bashHelperFunctions.sh has only a comment reference, so it's okay.
* mac/setup/build.sh I have reworked to include build-utils.sh.
* history-utils.sh is used only by ios/tools/prepRelease.sh, and that
  script already includes build-utils.sh.
2022-07-30 13:59:31 +10:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
Marc Durdin
0730098236 chore(ios): update ios/macos build scripts to log scripts
Adds run-xcodebuild function to wrap xcodebuild calls to keep logging
and error handling consistent. Currently used only by the iOS build; the
macOS build has a corresponding execBuildCommand function which does
pretty much the same thing (changing that would belong in a separate PR
I think and low priority.)
2022-06-24 11:37:46 +10:00
sgschantz
bf95a246a5 added Spanish es-419 localization to Mac project 2022-05-24 14:40:13 +07:00