Kornel Lesiński
0be862708f
Merge tag '1.14.0'
...
* tag '1.14.0':
v1.14.0
Fixed crash on 10.7 - subscript operator not available https://github.com/sparkle-project/Sparkle/issues/776 related
2016-03-11 09:20:21 +00:00
Kornel Lesiński
1c8d54166b
v1.14.0
1.14.0
2016-03-11 09:11:12 +00:00
kleuter
77511c8f19
Fixed crash on 10.7 - subscript operator not available https://github.com/sparkle-project/Sparkle/issues/776 related
2016-03-11 09:07:42 +00:00
Zorg
59bbcfadb0
Initial work on separating the updater & installer
...
The installer (Autoupdate.app) is now responsible for extracting & verifying the update.
It talks to the updater via mach ports. We can't afford to use a XPC service due to
lack of perfoming privileged tasks.
2016-03-10 01:49:59 -05:00
Kornel
d9a3afb869
Merge pull request #778 from kleuter/master
...
Fixed crash on 10.7 - subscript operator not available https://github.com/sparkle-project/Sparkle/issues/776 related
2016-03-09 16:44:12 +00:00
kleuter
34a78d59fc
Fixed crash on 10.7 - subscript operator not available https://github.com/sparkle-project/Sparkle/issues/776 related
2016-03-09 12:07:51 +01:00
Kornel Lesiński
b95008e248
Merge branch '1.14.x'
...
* 1.14.x:
One more attr fix
2016-03-09 00:34:10 +00:00
Kornel Lesiński
317423ae78
One more attr fix
...
#776
2016-03-09 00:33:59 +00:00
Kornel Lesiński
27cb8e66fe
Merge branch '1.14.x'
...
* 1.14.x:
More workarounds for OS X 10.7
2016-03-09 00:10:14 +00:00
Kornel Lesiński
28e8a1fdaf
More workarounds for OS X 10.7
...
#776
2016-03-09 00:09:04 +00:00
Kornel Lesiński
f43c284f14
Merge tag '1.14.0'
...
* tag '1.14.0':
Fix #776
2016-03-08 23:43:46 +00:00
Kornel Lesiński
cd3d7d9f98
Fix #776
2016-03-08 23:24:26 +00:00
Zorg
73a0f10010
I don't see installerForHost:error: used anywhere
...
We can also demote relaunchPath from being an ivar
2016-03-08 00:22:57 -05:00
Zorg
6f30ae2093
Remove passing duplicated host path
2016-03-08 00:16:03 -05:00
Zorg
7ea2d0f9cf
Separating Autoupdate into separate files
2016-03-08 00:00:00 -05:00
Zorg
57f0bc4245
Make download validation function take a SUHost
2016-03-07 23:24:35 -05:00
Zorg
cf3674b2d7
Exit on failure here
2016-03-07 23:15:40 -05:00
Zorg
00368011c8
Add delegate outlets to SUStandardUpdaterController
...
This adds delegate outlets to the updater and to the user driver, so a
developer can hook either of them up. Note we now initialize the updater and
user driver after being awoken from the nib.
We also took this chance to make the delegates to the updater and user driver read only.
This means that the delegates have to be available on initialization, which is good because
changing delegates or setting delegates too late (and missing messages) is bad.
2016-03-06 23:38:17 -05:00
Zorg
1e92d403ec
Improve SUUpdater docs
2016-03-05 17:33:27 -05:00
Zorg
f2b9ae97c2
Merge branch 'master' into ui-separation-and-xpc
2016-03-05 15:06:25 -05:00
Zorg
96f016a790
Add acknowledgement handlers to no update found / errors
...
This way, if the errors are not presented modally, they won't be dismissed
until we tell the updater we are finished acknowledging them
2016-03-05 14:42:17 -05:00
Zorg
337f39e8b9
Just log an error instead of changing update button
...
Because the update installation will be aborted soon anyway..
2016-03-05 13:33:32 -05:00
Zorg
53719cc8b7
Fix termination being delayed when connection is invalidated
2016-03-05 13:12:52 -05:00
Zorg
5dca54d904
Add custom user driver in the test app
2016-03-05 12:59:11 -05:00
Zorg
30cb984341
Split SUStandardUserDriver into re-usable components
2016-03-05 00:17:41 -05:00
Zorg
43942bcbad
Remove UITests-Info.plist being copied to UI Tests bundle
2016-03-04 20:13:02 -05:00
Zorg
ed72d25eaa
Re-sign the altered/new test app
...
For sandbox testing, we really have to use ad-hoc signing.
Which means we have to sign the "new" app after we alter its info.plist file,
so that our code signing verifier doesn't (rightfully) complain
2016-03-04 20:05:33 -05:00
Zorg
db4e8a9946
s/SUUpdaterController/SUStandardUpdaterController.m/
2016-03-04 19:25:25 -05:00
Zorg
0338cd443a
This should not be wrapped in an exception
2016-03-04 19:19:28 -05:00
Zorg
f2e485df87
Add proper remote updater idling support
...
Meaning that we don't send a message or re-establish the XPC connection
immediately when something goes wrong
2016-03-04 19:00:47 -05:00
Zorg
58f4e97f9c
Note about being dispatched on main queue
2016-03-03 22:31:49 -05:00
Zorg
af8e195cd9
Handle app termination better with regards to automatic updates
...
We should terminate even if the update aborts.
We should also terminate even if the connection is invalidated or interrupted, if we've
already been told to quit
2016-03-03 22:28:38 -05:00
Zorg
2e44a5ecc5
Reverting code signing since our verifier doesn't look ad-hoc signatures
2016-03-03 22:12:55 -05:00
Zorg
6c9cbbb389
Set deployment target to 10.8
2016-03-03 20:02:01 -05:00
Zorg
045de30926
Clean up last bit of warnings
2016-03-03 19:59:16 -05:00
Zorg
62fa723564
Use ad-hoc code signing for test app so Xcode won't complain
2016-03-03 19:55:40 -05:00
Zorg
cc5826d2f1
Add SUStandardUserDriverDelegate.h
2016-03-03 19:45:52 -05:00
Zorg
a652ab952e
Add documentation to dismissUpdateInstallation for SUStandardUserDriver
2016-03-03 19:40:25 -05:00
Zorg
ada2688b86
Set up invalidation and interruption XPC handlers
2016-03-03 19:20:01 -05:00
Zorg
f5a9cf14de
s/SUSparkleUserDriver/SUStandardUserDriver/
2016-03-03 18:29:15 -05:00
Zorg
5f572854d2
Improve docs on showing update is found, plus some formatting
2016-03-03 18:08:34 -05:00
Zorg
8a42975dc2
Add test application code for Sparkle over XPC
2016-03-03 03:03:56 -05:00
Zorg
ed00162faa
Fix project header imports
2016-03-02 01:44:03 -05:00
Zorg
65f16e7e8c
Make delegate methods optional
2016-03-02 01:43:51 -05:00
Zorg
1b9d93f739
Add initForBundle: back just so we can raise an exception
2016-03-02 01:22:54 -05:00
Zorg
9ee8a6d314
Wrap initializer with standard if self != nil check
2016-03-02 01:15:10 -05:00
Zorg
b58eeeabb5
Add docs to SUUpdater initializer
2016-03-02 01:13:33 -05:00
Zorg
5eb715f1f3
Added docs to sparkle's user driver
...
Also split SUSparkleUserDriverDelegate into two protocols, since it
just makes sense.
2016-03-02 00:53:28 -05:00
Zorg
4a2c3dd922
Update docs on SUUpdaterController
2016-03-01 23:18:44 -05:00
Zorg
ad26fe9627
Use -[SUSparkleUserDriver updateInProgress] instead
...
If a developer doesn't want to use SUUpdateController, it'll be
clear to them how to implement the menu item validation
2016-03-01 23:15:08 -05:00