Zorg
ed89783a0e
Merge branch '2.x' into user-driver-relaunch
2021-04-13 00:05:39 -07:00
Mayur Pawashe
cb17e08b92
Merge pull request #1823 from sparkle-project/entitlements
...
Entitlement scripts/configuration updates
2021-04-12 19:20:46 -07:00
Zorg
2d9bf07b18
Add new user driver methods to cancel update checks / downloads
...
Remove SPUUserDriverCoreComponent dependency from sparkle-cli and the Test App too, which really wasn't helping at all.
2021-04-11 23:15:02 -07:00
Zorg
e7bc17b192
Use $(PRODUCT_BUNDLE_IDENTIFIER) for defaults exception for test app
2021-04-11 20:19:33 -07:00
Zorg
07e96961bf
Sign altered app in release too for the test app
2021-04-11 20:04:53 -07:00
Zorg
372d711d20
Remove ATS allow-exception scripts for debug / test app
2021-04-11 19:43:12 -07:00
Zorg
5408ab10c1
Remove lesser used XPC Services for Test App
...
Testing WebKit2 is more important than testing sandboxed downloader service.
More people should be adding entitlements to their app for connection services, so we will do that in the test app too.
2021-04-11 19:28:46 -07:00
Zorg
e909c0d988
Show alert that non-relaunched application was installed
...
This only applies when the updater outlives the application it is updating and the application is not relaunched (i.e, an external/remote updater).
2021-04-11 14:01:03 -07:00
Zorg
579e7bd98b
Add Persian localizations
2021-03-06 23:56:24 -08:00
Zorg
c5def52133
Update user driver methods for passing error to updates not found
2021-02-06 23:31:29 -08:00
Kornel
e880f34f7c
Merge branch '2.x' into cancheckforupdates
2021-01-19 11:41:12 +00:00
Zorg
6308b262a0
Preserve showCanCheckForUpdates: method on user driver
2021-01-17 17:17:49 -08:00
Zorg
2066cd7232
Migrate canCheckForUpdates property from user driver -> updater
2021-01-17 17:01:48 -08:00
Zorg
fc18529767
Add test link in test app
...
https://github.com/sparkle-project/Sparkle/commit/1b209e6726a4244e131a2ab0d3c1d0098c619794
2021-01-16 20:35:27 -08:00
Zorg
7951b81b69
Eliminate assumption that user driver calls are invoked in any thread
...
This reduces friction in creating a SPUUserDriver. This assumption that the calls could be made from any thread is a relic of the past of separating the user driver into a different process from the updater/scheduler, which is no longer sane or supported.
This should speed up things very slightly too.
2020-12-31 11:00:59 -08:00
Zorg
3038218ea7
Enable base internationalization
...
Fix issues with Test Application.
2020-12-28 14:48:59 -08:00
Gwynne Raskind
a95f1592cd
Fix several dozen warnings. Fix several things to actually respect the 10.9 minimum of the beta.
2020-07-25 02:19:50 -05:00
Jordan Rose
19ef31b681
Use EdDSA keys in test app (like 9c4729ed on 1.x)
2020-06-10 12:14:30 +01:00
Philippe Casgrain
a10a99ce1a
Fixed build issue
...
Added missing semi-colon that prevented a `make release` build.
2020-02-20 22:59:44 -05:00
Bryan Jones
e5e4c6c2e1
Remove most production-reachable instances of abort().
2020-02-05 23:25:07 -08:00
Tony Arnold
3569b46d35
Fix localization region deprecation warnings
2019-05-20 11:22:39 +01:00
Kent Sutherland
d574574345
Explicitly specify types to silence "Messaging unqualified id" warning that's new in Xcode 10.
...
Removed __has_feature(objc_generics) check and use generisc to help silence the warnings.
2018-06-14 21:22:38 +02:00
Zorg
dca2114934
Add user driver method to show informational only updates
...
This will increase the chance of a user driver implementing being able to show informational only updates. Also it's better to use a new method rather than re-use another existing one inappropriately.
2017-01-02 18:00:17 -05:00
Zorg
27a24a5413
Make sure downloader progress doesn't exceed expected max progress
2016-12-29 11:46:17 -05:00
Zorg
e3f68b70bf
Prefer using HTTP expected content length over appcast item length
...
Also use (u)int64_t instead of NS(U)Integer
2016-12-29 11:11:05 -05:00
Zorg
e3a467b126
Rename update permission prompt & nib to use SU prefix
2016-12-27 10:06:41 -05:00
Zorg
553168ba51
Merge branch 'master' into ui-separation-and-xpc
2016-12-23 14:44:32 -05:00
Kornel Lesiński
c77895066a
Appropriate deployment target for test app xib
2016-12-23 17:01:16 +01:00
Zorg
98b3a9828a
Use localhost instead of 0.0.0.0. Latter doesn't work when offline.
2016-12-22 12:17:45 -05:00
Zorg
2d4568671c
Remove unused 'Invalidate Connection' menu item in Test App
2016-09-16 23:16:32 -04:00
Zorg
cc38a3d7a6
Pass user initiated flag when update is found to the user driver
...
This is better than the hack in the previous commit. Also, a user driver may very well want to act differently in showing UI if the user initiated the update check.
2016-08-29 00:31:29 -04:00
Zorg
eb810c7d8f
Implement menu item validation in Test Applications window controller
2016-08-26 23:03:08 -04:00
Zorg
6f337aa6f3
Remove outdated comment about command key being held down in test app
2016-08-26 22:32:49 -04:00
Zorg
46a75cde97
Terminate application in the progress agent instead of user driver
...
This allows us to remove SPUUserDriverUIComponent and remove a bunch of logic in the user driver regarding termination. The user drivers generally don't need to know about the application bundle anymore, and strictly now only show UI events.
This has another advantage of the agent being able to quit multiple instances of an application even if the application to update is sandboxed.
We enforce the logic that an application can only be relaunched if it was running initially.
2016-08-25 23:46:42 -04:00
Zorg
a6a2da7a69
Add silent termination method to user driver
...
This is triggered if the update is automatically downloaded and the installer is started in the background, and the updater's delegate decides to handle silent installation and installs the update invoking its immediate installation block. In this scenario, this fixes an issue where the application may not be terminated silently.
2016-08-16 18:59:13 -04:00
Zorg
4bbce0a25f
Re-add temporary read-write exception for use defaults
...
Switching between a sandboxed and non-sandboxed app with regards to user defaults has some bugs with saving user defaults.
Confirmed by an Apple engineer.
2016-08-15 01:36:48 -04:00
Zorg
55e906ba3e
Show or dismiss installation progress after sending termination request
...
Whether we show or dismiss progress depends on whether the current application (from the user driver) is being terminated or not.
2016-08-14 14:32:44 -04:00
Zorg
bbfcd564d2
Detect if shift key is held down ASAP when launching test app
2016-08-14 13:44:10 -04:00
Zorg
57325c7507
Add update permission request and response classes
...
We now pass these to and from the user driver.
2016-08-14 12:51:37 -04:00
Zorg
af7952b773
Hold down shift instead of command to use popup titlebar user driver
2016-08-13 14:33:09 -04:00
Zorg
29d790c63c
Pass application bundle into SPUUpdater instead of relying on delegate method
2016-08-13 12:57:26 -04:00
Zorg
5114cd9d83
Distinguish between application and host bundle in user drivers
2016-08-13 11:21:15 -04:00
Zorg
d8ce7cb48b
Add external releasenote support to popup titlebar user driver
2016-08-13 10:23:54 -04:00
Zorg
6dddbcc353
Add acknowledgement handler to installation did finish
2016-08-13 09:50:19 -04:00
Zorg
f65f4beda8
Fix download progress for popup title user driver
2016-08-13 09:30:40 -04:00
Zorg
3c2875602e
Add SPUUserDriverUIComponent and don't export SPUApplicationInfo
2016-08-13 09:19:48 -04:00
Zorg
92b94343f4
Remove delegate property from SPUStandardUserDriverProtocol
...
Also remove delegate from user driver core component and popup titlebar user driver.
2016-08-13 09:00:51 -04:00
Zorg
b58773cb5e
Allow popup titlebar user driver to update other bundles
2016-08-13 08:49:47 -04:00
Zorg
6fb7b4a18b
Use popup title user driver when holding down command at launch
2016-08-13 08:39:55 -04:00
Zorg
878c30d17c
More SU -> SPU renaming for status completion results
2016-08-12 20:45:24 -04:00