Zorg
f00978c87b
Move -dismissUpdateInstallation call into basic update driver
2016-02-21 16:57:54 -05:00
Zorg
0e97f0b4b6
Handle app termination in the user driver
...
If an automatic update needs to be applied at termination,
the app delegate will need to hold responsibility of delaying
termination until Sparkle is ready to relaunch
2016-02-21 13:24:54 -05:00
Zorg
5a60ddaf8c
activeUpdateAlert needs to be a strong reference
2016-02-21 00:48:49 -05:00
Zorg
c3824b4c20
Making dismissUpdateInstallation independent of installation type
...
Also clean up warnings/temporary comments
2016-02-21 00:26:51 -05:00
Zorg
6b5a3547e7
Cleaning up SUUserUpdateDriver protocol
2016-02-20 23:52:24 -05:00
Zorg
1ebb150a1b
Null out applicationWillTerminate block reference
2016-02-20 21:44:30 -05:00
Zorg
80bdd318ba
Condense manual vs automatic update alert code
2016-02-20 21:36:16 -05:00
Zorg
1fad56c4c3
Add user driver methods for automatic updating
...
Note that the protocol API for the user updater driver can still be improved.
applicationWillTerminate: is done from the user driver because that's the only way that will
function across different processes.
2016-02-20 19:39:48 -05:00
Zorg
835f4ac5b5
Forgot to remove -openInfoURLForAppcastItem: from previous commit
2016-02-19 21:07:48 -05:00
Zorg
e6ac015dde
Remove opening info URL from being an update alert choice
...
This option is really "do something in user driver & remind me later"
2016-02-19 21:00:54 -05:00
Zorg
6acbf0010a
Merge branch 'master' into ui-separation
2016-02-19 19:56:43 -05:00
Zorg
0bb5de196a
Remove initializer taking SUHost from SUUserUpdaterDriver
2016-02-19 17:27:44 -05:00
Kornel
0171ab2d84
Merge pull request #761 from zorgiepoo/automatic-update-termination
...
Fix Installation process being initiated twice
2016-02-19 14:52:25 +00:00
Zorg
c3ffd7f739
Don't register for termination notifications more than once. Fixes #757
...
These notifications are already added by -unarchiverDidFinish: which is
always invoked before -showUpdateAlert
2016-02-19 09:38:42 -05:00
Kornel
91e929cbf9
Merge pull request #760 from sparkle-project/appcastparse
...
Fixed appcast parsing issue
1.14.0rc3
2016-02-19 08:53:13 +00:00
Kornel Lesiński
9671f7f52d
Fixed duplicated appcast item properties
...
Corrected scope of per-node objects
2016-02-18 19:29:05 +01:00
Kornel Lesiński
2668d18266
Appcast test
2016-02-18 19:28:58 +01:00
Kornel Lesiński
a4bdbb7ab3
Merge commit 'a11b1209a97bafd713189f9b0fa14584ba6e100a' into 1.14.x
...
* commit 'a11b1209a97bafd713189f9b0fa14584ba6e100a':
Unit test for appcast parsing
v1.13.1
2016-02-18 19:28:41 +01:00
Kornel Lesiński
a11b1209a9
Unit test for appcast parsing
2016-02-18 13:50:05 +01:00
Zorg
625f229a65
Don't terminate the app if we're already terminating
2016-02-18 00:40:14 -05:00
Kornel
0d52e27968
Merge pull request #755 from zorgiepoo/disable-javascript
...
Disable javascript
2016-02-18 00:04:44 +01:00
Zorg
4eb2e9af00
Disable Java in the web view too
...
Plug-ins have already been disabled but I'm not sure if that encompasses Java or not.
May as well be explicit in either case and disable it.
2016-02-16 23:21:28 -05:00
Zorg
b64cee8055
Disable javascript by default and make it opt-in
...
To opt-in to enabling Javascript, set SUEnableJavaScript to true in the app's info.plist
2016-02-16 23:21:08 -05:00
Kornel Lesiński
3163b6a729
1.14.0rc2
1.14.0rc2
2016-02-15 21:01:25 +01:00
Kornel
7b61cdd8f8
Merge pull request #744 from sparkle-project/logs
...
Refactored error handling in appcast parsing
2016-02-15 10:58:15 +01:00
Zorg
48e0febf1a
Add NSSecureCoding to SUUpdatePermissionPromptResult
2016-02-15 00:18:01 -05:00
Zorg
480feff34f
Update postponing code is not as bad as I thought
2016-02-15 00:08:07 -05:00
Zorg
1cfbffa74c
Making Sparkle more XPC friendly
...
We support NSSecureCoding for SUAppcastItem and SUHost
Callbacks from XPC <-> Host app now async to main GCD queue.
This is needed for everything to be thread safe.
Todo: NSDate parsing sucks and is temporarily disabled.
In particular, we're using deprecated methods to read the dates,
which don't support NSSecureCoding. The other problem is that the dates are
really useless technically and we shouldn't sort by them.
2016-02-15 00:00:01 -05:00
Zorg
a9f1e2d919
Add SUSparkleUserUpdaterDriver.h to Sparkle.h
2016-02-14 21:16:48 -05:00
Zorg
46a2485d9c
Created custom user update driver protocol
...
Everything related to the protocol is intended for showing & dismissing progress,
as well as making UI actions such as canceling, installing, confirming update permissions
2016-02-14 20:57:32 -05:00
Zorg
7ca99547b9
Add note about default icon assumption potentially being off
2016-02-14 13:18:32 -05:00
Zorg
96fb18e0df
Launch AutoUpdate via NSWorkspace instead of NSTask
...
This will allow the app to run normally without being terminated because
a XPC service was terminated
2016-02-14 09:47:16 -05:00
Zorg
2ef497afcd
Added delegate methods to all UI bits
...
This is still incomplete and not perfect yet.
In particular, these delegate methods ought to perhaps be grouped in a separate class.
The UI code that is currently done should be treated the same manner as a custom UI
Relaunching Sparkle should give customization over showing the UI of the autoupdater app
2016-02-13 23:09:01 -05:00
Kornel Lesiński
b29bbdd14b
Refactored error handling in appcast parsing
2016-02-12 11:52:53 +01:00
Zorg
0a29626615
Initial work on UI separation
...
Separated just the permission prompt so far
2016-02-11 23:45:36 -05:00
Kornel
5b79151690
Merge pull request #741 from ferben/master
...
Czech localizations update
2016-02-12 00:04:18 +01:00
Frantisek Erben
c315a66151
Czech localizations update
2016-02-10 22:57:54 +01:00
Kornel
b1d7c3ade9
Merge pull request #737 from zorgiepoo/uitests
...
UI Tests for Test Application
2016-02-08 15:43:37 +00:00
Zorg
682de21978
Test if the updated app is the frontmost one
2016-02-06 21:00:45 -05:00
Zorg
b5b1e3d51d
Add UITests scheme so UI tests can run from xcodebuild
2016-02-06 20:12:39 -05:00
Zorg
efd94e2de0
Add UI Tests for the Test Application
...
This tests the test application checking for updates, downloading & installing, and relaunching
2016-02-06 11:32:18 -05:00
Kornel
b3dbb5db1f
Merge pull request #728 from sparkle-project/logs
...
Logs
2016-02-05 00:30:24 +00:00
Kornel
b795f56842
Merge pull request #724 from xhacker/fix-zh-hans
...
Update zh_Hans localization
2016-02-05 00:29:50 +00:00
Kornel Lesiński
c0bda0c372
Changelog
1.14.0rc1
2016-02-05 00:12:14 +00:00
Kornel Lesiński
2a693e62bf
v1.13.1
1.13.1
2016-02-04 23:57:25 +00:00
Kornel Lesiński
eb3d962526
Merge branch '1.11.x' into 1.13.0
...
* 1.11.x:
Prevent inclusion of local files via file:// XML entities
Disable redirects to non-HTTP URLs in release notes webview
2016-02-04 23:56:40 +00:00
Kornel Lesiński
f90700e830
Version bump
2016-02-04 23:52:55 +00:00
Kornel
2b7f61f2a2
Merge pull request #733 from FlixelPhotos/master
...
Remove test resource from the FW target
2016-02-03 14:20:09 +00:00
Karl Moskowski
ffa449742d
Remove test resource from the FW target
...
Fixes #732 .
2016-02-03 08:35:57 -05:00
Kornel Lesiński
b40a4eefde
Log detailed XML parsing error
2016-02-01 10:57:18 +00:00