Zorg
bdd2b7571b
Mark SPUUpdater with nullability annotations
2016-08-06 20:47:30 -04:00
Zorg
f2713138b9
s/SUUpdater/SPUUpdater/
2016-08-06 20:30:58 -04:00
Zorg
e53539b19e
Don't deprecate +defaultComparator, although discourage it and use alloc/init
2016-08-06 11:18:00 -04:00
Zorg
b676e3761a
Add comments for the delegator property of SPUUpdater
2016-08-06 11:04:19 -04:00
Zorg
a303859f10
Add deprecation notice to interactive package installer
2016-08-06 10:57:53 -04:00
Zorg
bf0aa81546
Add deprecation notice from nib instantiated SUUpdater
2016-08-06 10:54:53 -04:00
Zorg
eae8ccb2e7
Don't think SPUApplicationInfo should be exported
2016-08-06 10:52:29 -04:00
Zorg
fdd6707f5b
Add SU_EXPORT to user driver classes that should be public, I think
2016-08-06 10:49:32 -04:00
Zorg
e3dd0d5ce5
Use class name rather than hardcoding it
2016-08-06 10:44:12 -04:00
Zorg
42a9a34be4
Add logging notice and some more explanation for not supporting -installUpdatesIfAvailable (yet)
2016-08-06 10:28:52 -04:00
Zorg
1663a822c8
Allow but deprecate serving download without DSA signature
...
This allows for a better transitioning period. In the future, this should be removed.
2016-08-06 10:20:36 -04:00
Zorg
6bfdd18d9e
Ignore deprecation warnings in SUUpdater.m
2016-08-05 22:26:38 -04:00
Zorg
b8d51539d7
Make SUUpdater.h a public header in the framework
2016-08-05 22:16:48 -04:00
Zorg
e726dd01e4
Add incomplete -installUpdatesIfAvailable stub for now
2016-08-05 21:59:12 -04:00
Zorg
4ed6d40af8
Update deprecation documentation
2016-08-05 21:49:25 -04:00
Zorg
6e35a1b84d
Add deprecation notice
2016-08-05 21:24:14 -04:00
Zorg
86e026588b
Handle deprecated updater will install on quit callback
...
I may have to reconsider the design of this API in general.
2016-08-05 21:18:08 -04:00
Zorg
ca36d9963e
Remove -updaterIsRequestingQuit: delegate callback and use user driver instead
...
This way we remove delegate responsibility duplication and this should make backwards compatibility easier
2016-08-05 19:39:12 -04:00
Zorg
c9f673cda8
Use SPU prefix in many places
2016-08-05 19:10:21 -04:00
Zorg
f5444228c5
Re-add +defaultComparator on SUStandardVersionComparator
...
Have it be deprecated however. Maybe I can change my mind here later.
2016-08-04 00:15:04 -04:00
Zorg
4f285d2245
Rename SUUpdater -> SPUUpdater & add SUUpdater for backwards compatibility
...
New classes will soon be prefixed with "SPU"
I still need to look into adding a compatibility layer for -updater:willInstallUpdateOnQuit:immediateInstallationInvocation: and possibly deprecating no-DSA instead of outright rejecting it.
2016-08-03 23:30:55 -04:00
Zorg
c811db1e67
Remove Release-HTTP build configuration
2016-08-01 22:17:20 -04:00
Zorg
5dfe4ce71b
Set up ATS exceptions for Test App in release mode
...
Now the test app works properly when building it in release.
2016-08-01 22:02:18 -04:00
Zorg
1a3466ba04
Don't use TestAppHelper or code sign update in release
2016-08-01 22:01:30 -04:00
Zorg
52fd21e119
Reload NSBundle cache on its info plist dictionary
...
We reload the info dictionary before we start off an update driver. This is so that we have the latest up to date information for the bundle.
2016-07-31 20:38:48 -04:00
Zorg
411c0ac8bd
Only pass host bundle identifier to probe methods
2016-07-31 20:32:21 -04:00
Zorg
682a47f4fa
Update INSTALL file
2016-07-30 22:35:59 -04:00
Zorg
b8df5d3023
Merge branch 'master' into ui-separation-and-xpc
2016-07-30 22:18:29 -04:00
Zorg
a7e03c7f9b
Add note about when installer ignores agent/updater invalidation
2016-07-30 20:46:46 -04:00
Zorg
607399f1e6
Comment on why agent is connecting to installer instead of vise versa
2016-07-30 20:41:03 -04:00
Zorg
cc9f4d92af
Update validation documentation
2016-07-30 18:05:57 -04:00
Zorg
5ad5598a19
Make sure update directory != nil during cleanup
2016-07-30 17:49:37 -04:00
Zorg
1ca233eadf
Validate the update before extraction whenever possible
...
If we download a package type installation or a delta update, we should validate the update before trying to unarchive it.
We can't do this with ordinary updates because we handle changing of DSA keys for that particular case.
2016-07-30 17:36:22 -04:00
Zorg
2fc57ce288
Move installation validation to separate class
2016-07-30 16:03:52 -04:00
Zorg
d42ac08bf2
Split connection agent counter into two separate variables
2016-07-30 15:38:09 -04:00
Zorg
97ce687b86
Update installation documentation
2016-07-30 14:20:20 -04:00
Zorg
23e027d02f
Have progress agent terminate after relaunching, not after stopping progress
2016-07-30 14:18:39 -04:00
Zorg
8c564fef1f
Remove +[SUFileManager defaultManager] and use alloc/init
2016-07-30 10:39:17 -04:00
Zorg
069f78579c
Remove commented code
2016-07-30 01:23:03 -04:00
Zorg
ea1b04391f
Improve cache storage handling of files
...
We first create a directory with respect to the app's bundle ID being updated, sparkle's bundle ID, and a directory inside for a specific purpose. Then we remove all old directories inside there, and create a new unique temporary directory.
This is to avoid conflicts with eg: multiple updaters running against each other around the same time, or files for one function interfering with files from another purpose, while still having a way to clean up old files.
2016-07-30 01:00:14 -04:00
Zorg
32584ab228
Make content length RSS attribute optional but highly recommended
2016-07-29 21:17:16 -04:00
Zorg
5852ecf0e7
Improve handling of disallowing update interaction
...
When resuming updates, if interaction is disallowed, we can't continue on with interactive package installation
2016-07-29 20:21:53 -04:00
Zorg
0d0258a87f
Rename un/nonguided package to interactive package, and guided to normal
2016-07-29 00:22:52 -04:00
Zorg
097710e27a
Update sparkle-cli help usage and interactive flag
2016-07-29 00:16:24 -04:00
Zorg
b967c2f13f
Disallow interaction for interactive package installers if updater rejects it
2016-07-29 00:15:55 -04:00
Zorg
322ee026ea
Fix installer tests
2016-07-28 23:28:44 -04:00
Zorg
e2da47b7c7
Improve handling of storing files in cache
...
Create distinct subdirectories in our cache directory so files for different purposes won't conflict.
For the installer, move the download archive to the installer's cache location. If the installer is running as root, this moves it to a place only root can access I believe. This is also to prevent other functionality from touching these files.
2016-07-28 22:54:28 -04:00
Zorg
32bf570b4c
Add some comments to installation process
2016-07-28 20:27:12 -04:00
Zorg
bd352c7db5
Take out lot of unnecessary installation code now
2016-07-27 23:11:59 -04:00
Zorg
626e506cae
Update codesign_xpc script to sign auxiliary executables too
2016-07-27 21:50:25 -04:00