Zorg
85914936d7
Add infinite recursion note for -feedURL
2016-08-12 23:06:10 -04:00
Zorg
d0d39bc623
For installUpdatesIfAvailable stub, do background update check instead of initiated
2016-08-12 23:04:40 -04:00
Zorg
f18d410c6a
Add SPUUpdaterDelegate and deprecate SUUpdaterDelegate
2016-08-12 23:02:23 -04:00
Zorg
878c30d17c
More SU -> SPU renaming for status completion results
2016-08-12 20:45:24 -04:00
Zorg
f5afdc1cd8
Group download data, text encoding name, and MIME type into one class
2016-08-12 20:26:56 -04:00
Zorg
bce9c083c1
Remove temporary read-write user preference exception for test app
...
Note cfprefsd processes may have to be killed or computer may have to be rebooted for user defaults to be read again for the test application.
2016-08-12 19:43:51 -04:00
Zorg
93c23e938f
TestAppHelper doesn't do much, so doesn't need RunLoopType as NSRunLoop
2016-08-12 19:03:19 -04:00
Zorg
a523621b71
Remove support for remotely using user driver from updater
...
Although it is interesting to separate the user driver and update scheduler in different processes, this has yet to prove useful. Further, this management should not exist in the user driver protocol since the protocol would be doing double duty. If this separation is useful in the future, it should be separated into another driver altogether. Note that it is also hard to write correct code that separates the user driver and updater. Removing this code should greatly reduce maintenance costs.
2016-08-12 18:48:54 -04:00
Zorg
86668d852b
Remove LSBackgroundOnly from Progress Agent app
...
LSUIElement should only be used if the app can show UI
2016-08-12 16:58:50 -04:00
Zorg
62bbf73ab4
Remove "SUUpdater" reference
2016-08-12 16:52:38 -04:00
Zorg
1a0e169e7f
Improve displaying release notes in sparkle-cli (safer & less code)
2016-08-11 20:58:53 -04:00
Zorg
a51edf3dad
Remove adopted protocol from protocols used for XPC
...
This is because XPC decoders on older systems may not traverse adopted protocols
2016-08-11 20:58:19 -04:00
Zorg
f7d1cab4a0
Make sure we have a valid IANA charset name
2016-08-10 22:44:34 -04:00
Zorg
65d78d5129
Pass text encoding and MIME type to user driver for release notes
...
This fixes issues where the user driver may not be displaying release notes properly because it doesn't know what kind of data was downloaded (eg: html vs plain text).
2016-08-10 22:11:19 -04:00
Zorg
085724322f
Use id type for updater
2016-08-10 21:44:12 -04:00
Zorg
69db74bc36
Resolve symlinks when finding a matching running application path
...
This fixes issues where Sparkle may think an application has already terminated when placed in a directory that has symlinks (such as /tmp/)
2016-08-10 20:29:10 -04:00
Zorg
11cbecbeaa
Test changing ownership/group to determine if authorization is needed
...
This will work correctly in scenarios where the app to update is in a temporary location for instance.
2016-08-10 20:05:20 -04:00
Kornel
5f2ebb8edf
Merge pull request #862 from moubry/master
...
Remove <link> from SampleAppCast.xml
2016-08-10 23:37:09 +01:00
Zorg
31d6d40112
s/SUStandardUpdaterController/SPUStandardUpdaterController/
2016-08-10 18:22:41 -04:00
Zorg
ba93d9056e
Make configuration and valid feed URL checks safer
...
Instead of potential abort()'ing, we abort the update driver with a supplied error.
2016-08-10 18:16:01 -04:00
Sean Moubry
ac4ef7d9a0
Remove <link> from SampleAppCast.xml
...
Sparkle doesn’t use the channel’s link element. This resolves issue:
https://github.com/sparkle-project/Sparkle/issues/861 .
2016-08-10 17:11:48 -05:00
Zorg
9dca6fd27b
Specifying invalid DSA key in the info.plist is now a config error
2016-08-09 23:35:27 -04:00
Kornel
cc7c0ae052
Merge pull request #858 from catnapgames/patch-1
...
Make sign_update work when Bash is not the default
2016-08-09 16:34:51 +01:00
Tomas Andrle
b8dc5b3f3d
Make sign_update work when Bash is not the default
...
This script fails when Bash is not the default shell. This fixes it and allows the script to run on a default Ubuntu system, for example.
2016-08-09 14:52:26 +02:00
Zorg
2b65860293
Fix nullability warning
2016-08-06 21:01:15 -04:00
Zorg
766dd50aeb
More SU -> SPU prefix changing
2016-08-06 21:00:14 -04:00
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