-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GPGWatcher can now watch .conf and raise a new notification
- new GPGConfigurationModifiedNotification for gpg.conf and gpg-agent.conf - can now detect file creation; whereas before it could only detect file modification. - GPGOptions observes GPGConfigurationModifiedNotification so that gpg.conf and gpg-agent.conf are re-read - add to keyPathsForValuesAffectingValueForKey for gpgConf and gpgAgentConf dependents - synchronize gpgConf and gpgAgentConf properties. At least one background thread I can think of (GPGServices' new ServiceWorker) accesses GPGOptions - greatly reduce windows where fs events are dropped by GPGWatcher. latency is still 5s; toleranceBefore down to 1s from 10; toleranceAfter down to 1s from 5 - GPGWatcher timerFired: does not need to redundantly check times - new pinentry deps: pinentry-mac falls back to curses when PINENTRY_USER_DATA contains USE_CURSES=1, to support ssh for unit testing: - test GPGConfigurationModifiedNotification - rework GPGWatcher as normally a singleton, but allow another instance - make toleranceBefore/After assignable properties - a non-shared instance of GPGOptions can be properly deallocated, with event observers unregistered
- Loading branch information
1 parent
4bafd93
commit e202bf6
Showing
13 changed files
with
327 additions
and
102 deletions.
There are no files selected for viewing
Submodule GPGTools_Core
updated
from 55eb29 to 64d89b
Submodule pinentry-mac
updated
3 files
+1 −1 | Dependencies/GPGTools_Core | |
+46 −1 | main.m | |
+30 −6 | pinentry-mac.xcodeproj/project.pbxproj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.