Dennis Suratna
09889d01b1
[BUG-864] Call abort update after updater cannot find valid update
2016-08-15 14:36:41 -07:00
Zorg
4bbce0a25f
Re-add temporary read-write exception for use defaults
...
Switching between a sandboxed and non-sandboxed app with regards to user defaults has some bugs with saving user defaults.
Confirmed by an Apple engineer.
2016-08-15 01:36:48 -04:00
Zorg
5a743ac366
Clarify documentation for applicationBundle in SPUStandardUserDriver
2016-08-15 00:33:29 -04:00
Zorg
1282e42031
Defend against possible symbolic link attack
2016-08-14 23:07:44 -04:00
Zorg
423d288290
Add some defense and comment about relaunching the new app
2016-08-14 21:48:16 -04:00
Zorg
9e183b4e85
Add comment why relaunch path is passed again
2016-08-14 21:17:34 -04:00
Zorg
3132d19afc
Add note about no-DSA deprecation
2016-08-14 20:14:34 -04:00
Zorg
2cc3b4c349
Add security note for JoinExistingSession XPC service key
2016-08-14 19:04:21 -04:00
Zorg
e6c529e0ee
Update README and add documentation, screenshots to reflect this fork.
2016-08-14 18:22:45 -04:00
Zorg
010f642922
Add AppKit prevention guard
2016-08-14 18:14:48 -04:00
Zorg
55e906ba3e
Show or dismiss installation progress after sending termination request
...
Whether we show or dismiss progress depends on whether the current application (from the user driver) is being terminated or not.
2016-08-14 14:32:44 -04:00
Zorg
bbfcd564d2
Detect if shift key is held down ASAP when launching test app
2016-08-14 13:44:10 -04:00
Zorg
57325c7507
Add update permission request and response classes
...
We now pass these to and from the user driver.
2016-08-14 12:51:37 -04:00
Zorg
3f7c3933e7
Fix order of delegation events by dispatching async to main queue
...
This synchronizes more with the user driver handling events.
2016-08-14 00:55:17 -04:00
Zorg
e972e9072c
Remove unnecessary import
2016-08-13 23:20:16 -04:00
Zorg
6321329282
Comment why NSWorkspace launchApplicationAtURL: method isn't used
2016-08-13 21:50:45 -04:00
Zorg
73f49ce573
Remove userDriver and delegate properties from SPUUpdater
...
Until I find a good reason to have them there, they should not be publicly available.
I actually found a couple bugs from code that was accidently referencing them.
2016-08-13 21:32:31 -04:00
Zorg
32d9fd6526
Add flag for custom feed URL to sparkle-cli
...
This may be useful if user defaults can't be relied on for the feed URL.
For example, if an app is sandboxed, its user defaults may differ from the defaults sparkle-cli looks up.
2016-08-13 20:55:11 -04:00
Zorg
4ec5652a0d
Add callbacks for scheduled updates occurring after a delay and being idled
...
I think I used to have this when the remote XPC callbacks were in the user driver and I removed them at some point.
These callbacks are now part of the SPUUpdaterDelegate and the logic is simpler now than before.
The command line utility makes use of these callbacks.
2016-08-13 20:35:14 -04:00
Zorg
eb319ee1b7
Add documentation for prescheduled update actions
2016-08-13 19:37:20 -04:00
Zorg
e21d4f1d32
Add sparkle-cli to release build configuration
2016-08-13 19:36:51 -04:00
Zorg
d7ddfd2c6b
Update installation documentation regarding permission for changing owner/group
2016-08-13 18:24:15 -04:00
Zorg
b5ace2d037
Save the NSDate into user defaults for first launch instead of the interval
...
This is more consistent with how the last update check logic works.
I changed the value of SUTimeIntervalAtFirstLaunchKey for backwards compatibility purposes.
2016-08-13 18:03:16 -04:00
Zorg
3d7f48e03d
Merge branch 'master' into ui-separation-and-xpc
2016-08-13 16:56:55 -04:00
Zorg
e1397a7098
Copy localizations to installer progress app
...
Maybe one day only the localizations that are needed can be copied
2016-08-13 16:45:08 -04:00
Zorg
ad10096156
Quit all running instances of an application
2016-08-13 15:02:24 -04:00
Zorg
af7952b773
Hold down shift instead of command to use popup titlebar user driver
2016-08-13 14:33:09 -04:00
Zorg
d9946273a7
Clarify when applicationBundle != hostBundle
2016-08-13 13:08:39 -04:00
Zorg
29d790c63c
Pass application bundle into SPUUpdater instead of relying on delegate method
2016-08-13 12:57:26 -04:00
Zorg
26107994f4
Fix typo
2016-08-13 12:14:23 -04:00
Zorg
f83d749a39
Not necessarily true, also there's external updaters to worry about
2016-08-13 12:13:27 -04:00
Zorg
ad14421b24
Pass relaunch path to standard user driver from SUUpdater
2016-08-13 11:55:50 -04:00
Zorg
5114cd9d83
Distinguish between application and host bundle in user drivers
2016-08-13 11:21:15 -04:00
Zorg
cdc329d2c3
Remove SPUUselessUserDriver and just pass nil
2016-08-13 10:57:00 -04:00
Zorg
8eb61afe53
Use SPUUserDriverUIComponent for command line user driver
2016-08-13 10:49:45 -04:00
Zorg
b8ccc5d079
Fix compiler error
2016-08-13 10:35:38 -04:00
Zorg
fa2e857b4e
Add more AppKit prevention guards
2016-08-13 10:35:01 -04:00
Zorg
d8ce7cb48b
Add external releasenote support to popup titlebar user driver
2016-08-13 10:23:54 -04:00
Zorg
6dddbcc353
Add acknowledgement handler to installation did finish
2016-08-13 09:50:19 -04:00
Zorg
f65f4beda8
Fix download progress for popup title user driver
2016-08-13 09:30:40 -04:00
Zorg
3c2875602e
Add SPUUserDriverUIComponent and don't export SPUApplicationInfo
2016-08-13 09:19:48 -04:00
Zorg
1a94956f71
Rename userDriver to standardUserDriver for its delegate callbacks
2016-08-13 09:08:32 -04:00
Zorg
92b94343f4
Remove delegate property from SPUStandardUserDriverProtocol
...
Also remove delegate from user driver core component and popup titlebar user driver.
2016-08-13 09:00:51 -04:00
Zorg
b58773cb5e
Allow popup titlebar user driver to update other bundles
2016-08-13 08:49:47 -04:00
Zorg
6fb7b4a18b
Use popup title user driver when holding down command at launch
2016-08-13 08:39:55 -04:00
Zorg
f514861871
Add clarification why SPUStandardUserDriverProtocol doesn't adopt SUUserDriver
2016-08-13 01:37:37 -04:00
Zorg
73c659a2fe
Update SPUStandardUpdaterController docs
2016-08-13 01:28:00 -04:00
Zorg
a0bc1b19c8
Update some old "SUStandardUserDriver" references
2016-08-13 01:22:34 -04:00
Zorg
8e5554880d
Move SUUpdaterDelegate.h to Deprecated group
2016-08-12 23:21:45 -04:00
Zorg
d1c2faf7e5
Fixing some old SUUpdater references
2016-08-12 23:18:53 -04:00