Commit graph

718 commits

Author SHA1 Message Date
Marc Durdin
b4f08b3604 chore: fix parameters 2020-11-24 08:10:50 +11:00
Marc Durdin
f692af2545 chore: fix test 2020-11-24 08:08:33 +11:00
Marc Durdin
258fed6511 fix: wrong variable type 2020-11-24 08:04:30 +11:00
Marc Durdin
e41df6f838 fix(mac): re-sign files post plist update
Cleans up a bunch of bits and pieces around the build process and makes
sure that files are re-signed after we update the Info.plist file.
2020-11-24 08:02:16 +11:00
Marc Durdin
960a04d450
Merge pull request #3880 from keymanapp/docs/mac-readme-refresh
Update README.md
2020-11-24 06:39:37 +11:00
Marc Durdin
fe7709b8e0
Update README.md 2020-11-23 18:56:09 +11:00
Marc Durdin
e1627260f3 chore(mac): use new keyboard install page
Fixes #3898.

This reworks the keyboard download window to use the new keyboard
install page and url pattern. Some refactoring of the downloadKeyboard
method was required to handle the new download patterns.
2020-11-20 13:39:12 +11:00
Marc Durdin
c2401514cb fix(mac): support page and copyright
Fixes #3849.

* Uses keyman-staging.com when on alpha or beta
* Updates copyright year at build time
* Fixes link to help documentation (/mac, not /macosx)
2020-11-20 05:55:53 +11:00
Marc Durdin
590f7782cc chore: fix command order 2020-11-19 10:32:07 +11:00
Marc Durdin
da8dbc59fb fix(mac): codesign resilience
This PR tries to make codesign more resilient to failure, by retrying
a build step that falls over with code 65. This code is not limited to
codesign but most frequently happens with it.

A more complete answer would be to do the codesigning step in build.sh
instead of in the project, which would give us more control of the
outcome, and maybe simplify the build process somewhat, but I will
leave that for now, because it is usually better to leave that to XCode.
2020-11-19 10:24:36 +11:00
Marc Durdin
66601f5f91 fix(mac): add icon for Keyman.app
Fixes #2717.
2020-11-19 10:08:35 +11:00
Marc Durdin
be8738e9b4 chore(mac): rewrite plists after build
Instead of updating the source plist files with version information,
do this on the built artifacts so that the source files do not get
continually clobbered.
2020-11-19 09:38:32 +11:00
Marc Durdin
c8070718d9 chore: fixup plists 2020-11-19 09:07:54 +11:00
Marc Durdin
d98f042e4b chore: fix podfile for tests 2020-11-19 08:51:33 +11:00
Marc Durdin
c20cd9e20f chore: add library to tests 2020-11-19 06:03:19 +11:00
Marc Durdin
ea86ce0fbe chore: typo 2020-11-18 20:18:43 +11:00
Marc Durdin
bede3948d2 feat(mac): Sentry support
I wasn't going to do this, but realised that crash reporting was going
to be a problem on mac because it still used crashlytics/fabric. Turned
out to be a good exercise to get me back into macOS world, and fairly
straightforward to get right (helps that the other platforms broke the
ice for me).
2020-11-18 17:13:20 +11:00
Marc Durdin
105ae22a63
Update README.md 2020-11-18 11:35:30 +11:00
Marc Durdin
8db88d72ee
Update README.md 2020-11-18 10:59:19 +11:00
Marc Durdin
cda1978567
Update README.md 2020-11-18 10:14:28 +11:00
jahorton
7e10c56354 docs(common): requested comment tweaks 2020-11-17 09:57:31 +07:00
jahorton
ad6489d9d3 chore(common): adds requested comments re: tentative META flag 2020-11-17 09:42:28 +07:00
Marc Durdin
066e9aa8a8 fix(mac): altool second call report ci errors 2020-06-22 11:32:15 +10:00
Marc Durdin
7c46e02907 fix(mac/resources): altool is failing but we lose the log in CI 2020-06-22 08:30:52 +10:00
Marc Durdin
15231a0bac fix(mac): invalid build script params removed
I accidentally pulled old parameters into mac/build.sh for the
make-km-dmg.sh script when merging from beta. The script no longer
requires `-version`. This fixes that.
2020-02-17 14:58:45 +11:00
Marc Durdin
255e4f4b7a chore: Merge branch 'master' into chore/beta-to-master-p9s2-1 2020-02-17 10:11:15 +11:00
Marc Durdin
4bd777a210
Update .gitignore 2020-02-14 13:27:41 +11:00
Marc Durdin
06063199c0 fix(mac): attempt multiple times to detach dmg in build 2020-02-14 11:50:35 +11:00
Marc Durdin
4281b72b26 chore(mac): Merge branch 'beta' into fix/mac/install-fails-with-quarantine 2020-02-14 11:26:43 +11:00
Marc Durdin
ad99c6c687 fix(mac): build installer from source
The installer did not work on downlevel versions
of macOS as the compile in Script Editor produced
a 10.15-compatible version. Now we build the app
directly from source with osacompile and bundle
that instead.
2020-02-14 10:05:24 +11:00
Marc Durdin
9f9ca35e09
Update history.md 2020-02-14 08:33:33 +11:00
Marc Durdin
348f39d4a2 fix(mac): support older macos in installer 2020-02-14 08:29:54 +11:00
Marc Durdin
4899ae5841 refactor(mac): initial steps of input pathway
The handleEvent function has somewhat convoluted logic around emitting
the final transform to the client application. This starts to refactor
that code to move all client interaction to a single point at the end
of the event sequence.

Next phase will be to update delete and insert events to turn them into
a single action where possible.
2020-02-12 19:56:53 +11:00
Marc Durdin
6902f7bf1c
Merge branch 'master' into chore/beta-alpha-p9s1 2020-02-07 16:25:39 +11:00
Marc Durdin
8784e142c3 chore(mac): address review comments 2020-02-07 16:14:10 +11:00
Marc Durdin
ed9f216dfd chore(mac): history 2020-02-05 19:54:03 +11:00
Marc Durdin
f856785742 fix(mac): Modifier keys were resetting cached context
Fixes #2375.

For applications that do not provide context to Keyman, Keyman was losing
the context buffer whenever a modifier key was pressed or released. This
change modifies the cache reset to occur only when the Command modifier is
pressed.
2020-02-05 19:32:03 +11:00
Marc Durdin
9a637a6230 fix(mac): Additional tidy up of dmg 2020-02-05 18:23:10 +11:00
Marc Durdin
9a1f0b65a5 fix(mac): tweak installer wording 2020-02-05 16:33:46 +11:00
Marc Durdin
d6dbe602c2 fix(mac): dmg background and script tweaks 2020-02-05 16:31:27 +11:00
Marc Durdin
e7ae5bdf08 feat(mac): tweaks to dmg and script 2020-02-05 16:12:52 +11:00
Marc Durdin
b207185356 fix(mac): remove version param 2020-01-30 06:14:55 +11:00
Marc Durdin
7f9bf19a91 chore(mac): fix version references in dmg build 2020-01-29 12:50:51 +11:00
Marc Durdin
855a80258b chore(ios): use new version infrastructure 2020-01-29 11:53:50 +11:00
Marc Durdin
ccfef64c99 chore(mac): use new version infrastructure 2020-01-29 11:15:36 +11:00
Marc Durdin
f8ea457325 feat(mac): install script
First steps towards a clean install script
for Keyman for Mac. Some steps still out-
of-order for now, particularly opening
System Preferences to allow Keyman before
Keyman has run for first time.
2020-01-29 10:12:26 +11:00
Marc Durdin
d5fe536eef chore: start history/version infrastructure 2020-01-29 08:54:32 +11:00
Marc Durdin
3087b09e97 chore: version numbers in history 2020-01-28 15:16:26 +11:00
Marc Durdin
b7f9a83c63 chore: version numbers 2020-01-28 14:30:04 +11:00
Marc Durdin
071dd868f2 fix(mac): remove execute perm on symlinks 2020-01-27 08:41:37 +11:00