Zorg
2a3e88bf96
Test the dateString field
2016-02-19 11:45:54 -05:00
Zorg
004ac3f9ae
Test the best chosen appcast item
2016-02-19 11:26:35 -05:00
Zorg
8a04cc726f
Appcast items are no longer sorted; reflect that in unit tests
2016-02-19 10:19:00 -05:00
Zorg
9f2604b888
Merge branch 'master' into best-update-by-version
2016-02-19 10:17:27 -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
674b2238b8
Make Sparkle look for the highest compatible version
...
Sparkle's past behavior was sorting appcast items by published dates and
picking the first compatible item. However, it makes more sense to pick
the compatible item with the highest version (see issue #31 ).
The NSDate instance creation & sorting has also been removed from the code.
The methods we were using to parse the string into a NSDate have been deprecated,
and are strongly discouraged. Namely, all methods taking an arbitrary/natural string
have been nuked signaling they were probably a really bad idea. Furthermore, the
date code we had created a NSCalendarDate which has been long deprecated.
So we just don't handle date parsing. Even if there is a proper format for the pubDate,
It is an extra burden on the developer to insert a conforming date.
And we shouldn't want to rely on a potentially error-prone input field.
2016-02-17 00:04:07 -05: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
Kornel Lesiński
4e60a61036
Notify when URLs are blocked
2016-02-01 10:57:18 +00:00
Kornel Lesiński
b3835717ab
Version bump
2016-01-31 12:14:52 +00:00
Kornel Lesiński
e05b397a00
Version bump
1.13.1-mistagged
2016-01-31 12:13:55 +00:00
LIU Dongyuan / 柳东原
7c48061b85
Update zh_Hans localization
2016-01-29 16:20:10 -08:00
Kornel
03ca628eef
Merge pull request #723 from xhacker/testapp-l10n
...
Make test app available in all languages, fix #695
2016-01-30 00:06:20 +00:00
LIU Dongyuan / 柳东原
7aad8d3586
Make test app available in all languages, fix #695
2016-01-29 15:54:54 -08:00
Jake Petroules
1e89891577
Merge pull request #721 from xhacker/patch-2
...
Update Sparkle.podspec
2016-01-29 13:19:55 -08:00