Commit graph

53 commits

Author SHA1 Message Date
Shawn Schantz
fdcb0bca15 feat(mac): update comment 2026-07-27 19:24:45 -04:00
Shawn Schantz
724136e480 feat(mac): remove duplicated InstallationState property
InstallationState is now only stored in
InstallationCheck -- InstallationContainer must
access it from there
2026-07-27 19:04:00 -04:00
Shawn Schantz
5b0b88ac58 feat(mac): create new installation state for all state changes 2026-07-27 17:07:29 -04:00
Shawn Schantz
172d5774f1 feat(mac): removed obsolete TODO comments
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-07-27 12:49:15 -04:00
Shawn Schantz
c9ef73c47d feat(mac): create new InstallationState whenever task is completed
this ensures that the changes to this published
property will result in a SwiftUI notification

also made a couple changes in response to devin.ai
code review
2026-07-27 12:41:10 -04:00
Shawn Schantz
9ac60992a6 feat(mac): added confirmRestart state
this is checked on init to complete an installation
also added flag for tracking whether the complete
message has been displayed to the user
2026-07-27 09:44:43 -04:00
Shawn Schantz
4219ebefa9 feat(mac): added confirm access step
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-07-25 05:57:09 -04:00
Shawn Schantz
e99c9175eb feat(mac): stop attempting to read version of non-existent input method
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-07-24 14:46:29 -04:00
Shawn Schantz
6f76e08503 feat(mac): add hasTasks flag to InstallationPhase
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
also fixed bug where InstallState not initialzied
when installation evaluation is not happening
2026-07-24 12:35:03 -04:00
Shawn Schantz
d4f36f4865 feat(mac): pre-install evaluation of install state
creates custom list of installation state in case
some of the installation was done previously
checks whether repairs are needed for completed
installations
fixes bug to kill keyman for CheckAccess call
2026-07-24 10:14:02 -04:00
Shawn Schantz
7c75e1a70c feat(mac): pre-check install state before creating task list
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
for new installations, check if the input method is
enabled and whether it has Accessibility permission
before adding those items to the task list as they
may be in place from a previous installation
2026-07-22 22:08:55 -04:00
Shawn Schantz
5089ce42db feat(mac): define InstallationPhase enum for UI
provides a simple way for UI to determine what to
present to the user
also generates events, but these could be generated
before the UI has a chance to listen for them
2026-07-20 18:04:38 -04:00
Shawn Schantz
7cbb5851d7 feat(mac): update input method after keyboard config change
Sendsend a distributed notification from the config app
whenever a change to the enabled keyboards occurs.
In response, the input method loads the list of
enabled keyboards and updates the Keyman menu.
2026-07-16 12:38:33 -04:00
Shawn Schantz
adcfd433f0 feat(mac): published installed packages as two separate arrays
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
each array is sorted, one for multiple-keyboard
packages and one for single-keyboard packages
2026-07-14 18:42:34 -04:00
Shawn Schantz
b1d73b4427 feat(mac): added several fields to package, including QR Code 2026-07-13 18:47:40 -04:00
Shawn Schantz
44bd0178b4 feat(mac): minor updates to address review comments
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-07-08 16:01:46 -04:00
Shawn Schantz
80130d261d feat(mac): changes in response to ai review
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-07-04 16:23:12 -04:00
Shawn Schantz
826d9c9e9b feat(mac): resolve merge mishap 2026-07-04 15:23:41 -04:00
Shawn Schantz
95443603be
Merge branch 'epic/mac-config' into feat/mac/install-keyboard
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-07-04 12:40:15 -04:00
Shawn Schantz
5cb255a7b6 feat(mac): on install, write package to temp folder in group container
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
download .kmp and unzip in temp folder
then decide whether to replace existing package
2026-07-02 22:29:02 -04:00
Shawn Schantz
c0b9a2f236 feat(mac): update for review comments 2026-06-27 16:44:23 -04:00
Shawn Schantz
aa49726d58 feat(mac): updated enabledKeyboard array after package installation
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
the state in the userdefaults must be kept in sync
at all time because it is used by the input method
2026-06-26 18:04:29 -04:00
Shawn Schantz
6af1dcd05b feat(mac): added install keyboard functionality with webview 2026-06-25 17:39:58 -04:00
Shawn Schantz
ac888301ba feat(mac): set InstallationCheck to MainActor
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-18 15:59:11 -04:00
Shawn Schantz
6719565c2f feat(mac): create separate notification for repairNeeded
response to the AccessCheck message comes to the
InstallationCheck object, but the InstallationContainer
should only know about the higher level event:
whether the installation needs repair
2026-06-18 15:32:42 -04:00
Shawn Schantz
469c23aaf0 feat(mac): check Accessibility permission before attempt to repair
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
when creating the InstallationCheck, first ask
for the Accessibility permission from the input
method, and once the response is returned via
DistributedNotificiationCenter message, then do
the rest of the validation
2026-06-18 10:56:50 -04:00
Shawn Schantz
7762baf0af feat(mac): removed 'All right reserved.' from copyright
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
added booleans to indicate input method exists and
matches the current version

made installationState optional
made accessibilityPermissionGranted optional
added comments
2026-06-16 10:55:02 -04:00
Shawn Schantz
51bc5cc0a6 feat(mac): write keyman version to config app info.plist
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-12 17:31:53 -04:00
Shawn Schantz
ddb4c02fef feat(mac): remove year from copyright string
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
remove obsolete CFBundleGetInfoString from info.plist
change copyright displayed in info dialog to SIL Global
2026-06-12 15:13:19 -04:00
Shawn Schantz
aaec0ad6ee feat(mac): read Keyman Configuration version 2026-06-12 11:34:55 -04:00
Shawn Schantz
de4c736cfe feat(mac): input method now receives correct version number
handle situation where input method has been moved
or renamed before doing a version number check
2026-06-11 17:10:20 -04:00
Shawn Schantz
ccd5f18fc6 feat(mac): add async notification of Accessibility check
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-06-09 19:18:59 -04:00
Shawn Schantz
ddabddd720 feat(mac): repair installation support
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
created installation task list instead of incrementing state
2026-06-05 18:12:50 -04:00
Shawn Schantz
7c07775d67 Merge branch 'feat/mac/new-app' into feat/mac/detect-install 2026-05-29 16:43:25 -04:00
Shawn Schantz
b77b255ac6 feat(mac): throw error for missing kmx file
add TODO comments and change their format
2026-05-29 11:44:49 -04:00
Shawn Schantz
2eeb15ef63 feat(mac): changes for review feedback 2026-05-22 17:18:19 -04:00
Shawn Schantz
77dafb3d75 feat(mac): add the steps needed to complete installation 2026-05-20 21:14:53 -04:00
Shawn Schantz
73ac6d5972 feat(mac): updates for devin.ai review and added tests
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-05-07 08:13:29 -04:00
Shawn Schantz
db00bf8bf4 feat(mac): additional unit tests and comments
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-05 15:22:33 -04:00
Shawn Schantz
a7bcceff47 feat(mac): add protocols, stubs and unit tests
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
added suite for Settings Container and stubs to
test it without accessing disk or user defaults
2026-05-04 11:38:56 -04:00
Shawn Schantz
af09f89bc9 feat(mac): add functions from removing keyboard
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
also added comments for Settings
renamed activeKeyboards to enabledKeyboards via
settings migration for Keyman 19
2026-04-27 15:47:16 -04:00
Shawn Schantz
dd0f2043bf feat(mac): complete settings migration and delete old settings
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
also eliminate duplicate state saved in config app
generate the list of active keyboards on the fly
when it needs to be written to UserDefaults
2026-04-24 15:58:33 -04:00
Shawn Schantz
364ccc2d52 feat(mac): migrate keyman packages individually to group containers
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
also rename Keyman-Keyboards directory to
Keyman-Packages
2026-04-17 14:13:23 -04:00
Shawn Schantz
bb816a1335 feat(mac): display packages and keyboard list view
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
added buttons for removal of packages
and toggle for disabling of keyboard
not remotely final but mostly for ensuring that
we can bind to the data model and respond to updates
2026-04-02 14:01:11 -04:00
Shawn Schantz
45ac789c95 feat(mac): change name and add icon for config app
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-03-27 17:18:00 -04:00
Shawn Schantz
b8a93e521b feat(mac): progress toward installer creation
input method installer created but still need to add
Keyman Configuration app to the installer and notarize it
2026-03-19 14:43:08 -04:00
Shawn Schantz
f4def1cafc feat(mac): add provisioning profiles for distribution 2026-03-10 19:21:52 -04:00
Shawn Schantz
832940c129 feat(mac): use iOS-style app group for shared container
works correctly for local debug build, but needs to
be tested with distribution profile with release build
2026-03-10 16:37:19 -04:00
Shawn Schantz
1cd95c587d feat(mac): remove macOS-style group id 2026-03-09 16:16:19 -04:00
Shawn Schantz
72e35c2c9e feat(mac): create data directories if they don't exist 2026-03-05 13:16:38 -05:00