Commit Graph
18 Commits
Author SHA1 Message Date
Andy Matuschak f815eec2c0 Fixes 243884
Made Sparkle.h no longer a massive multi-headed abomination: now only SUAppcastItem, SUAppcast and SUUpdater (and SUVersionComparisonProtocol because it's part of the delegate protocol) are public.

COMPATIBILITY ISSUE:
This means there's no longer a public SUProbingUpdateDriver or a checkForUpdatesWithDriver: method. Now use checkForUpdateInformation. I may change that API before release, though. I'm thinking it might be better to give the delegate the opportunity to reject a potential update instead: then you'd just call checkForUpdatesInBackground and override that delegate method to always return NO. We'll see.
2008-07-23 23:40:01 -07:00
Andy Matuschak c42e3a3f47 Fixed 251010
Fixes from Matt Stevens:
"For background applications (menu bar, completely UI-less, etc) there are a couple of issues with Sparkle notifications:

- When prompts such as the initial prompt to enable update checking are displayed they can be hidden behind other windows since the background app is not in focus. This can cause problems, as these prompts run modally and can stop the application from functioning without the user knowing why.

- If the update notification window is displayed and the user clicks away to another application, the window disappears and there is no way to get it back since there is no other UI to cause the app to activate. In this case the update should probably operate as a standard window since it is effectively operating as the application's UI."
2008-07-22 22:36:09 -07:00
Andy Matuschak 98832c4914 Beginnings of insane SUHost-based refactoring to get rid of NSBundle+Sparkle. More super-unstable refactorings to come... 2008-07-15 23:26:06 -07:00
Andy Matuschak 64755d3c63 Changed the SUUpdateAlert description text to use better notation for its em-dash so that localizations can not have an em-dash if they want. 2008-06-01 10:48:07 -07:00
Andy Matuschak a418c8093f Fixed a bug where the update alert would report the internal version number of the update instead of the human-readable one (CFBundleShortVersionString, when available). Thanks for pointing that out, Daniel! 2008-05-30 14:14:29 -07:00
andym 0b5a6b2321 Moved some update alert things into bindings for code simpliciation.
Removed the frame saving feature from the update alert, as it was causing bugs and didn't seem particularly useful.
Fixes #164; thanks to Adam Radestock for his help.
2008-04-17 02:26:50 +00:00
andym ef89e4208d Fixed a potential buffer overrun, made sure to assign to self in -init methods, and made some types more specific; patch courtesy Sean McBride. 2008-03-05 14:07:43 +00:00
andym 1462087cc6 Added SUWindowController to reduce duplication of running-in-bundle special-case code. 2008-02-14 15:12:09 +00:00
andym a5f55fa04b Set default font family for the release notes web view to the system font. 2008-01-25 16:40:18 +00:00
andym a7148d97ff Numerous minor changes courtesy Sean McBride. Mostly clarifications. 2008-01-14 15:49:13 +00:00
andym e90c558717 Fixed some warnings related to the Gestalt call.
Made the em-dash in the update alert dialog the kosher way.
2007-12-30 12:45:12 +00:00
andym 5aa1e18bc5 Improved headers from Charles D. H. Williams. 2007-12-25 01:45:38 +00:00
andym c3b27a8afd Changed parentheses in the update alert to an em-dash to cope with the new parenthetical version style. 2007-12-24 15:18:03 +00:00
andym 2c712bf082 What the heck? Apparently the allowsAutomaticUpdates method for update alerts hasn't been working properly for a while. Fixes #120. 2007-12-24 14:17:53 +00:00
andym def287d7dc Fixed up headers to make things easier for those who compile Sparkle in situ -- thanks for the help, Charles D. H. Williams. 2007-12-24 07:13:44 +00:00
andym 63011aaefd Beware of falling bricks! Huge refactoring commit #1: cleansing Sparkle of the plague that was SUUtilities. 2007-12-22 06:21:48 +00:00
catlan 5e053395f8 #76 Support for Plug-ins 2007-11-09 04:44:32 +00:00
andym 9fa3da535a Holy restructuring, batman! Watch out for falling folders. 2007-07-10 04:55:25 +00:00