Commit Graph

  • 55690853a7 OK, so aux executables don't work in frameworks. Who knew? :) David Smith 2008-05-14 00:11:28 -07:00
  • 3852809c7b Initial work on copying the relauncher to NSTemporaryDirectory() David Smith 2008-05-14 00:00:14 -07:00
  • 25d1c54766 Merging in David Smith's spotlightfixes branch, which fixes #2 of bug #228484: "Force Spotlight to index the new app (for people who use it as a launcher) by running mdimport with NSTask." Andy Matuschak 2008-05-13 23:40:21 -07:00
  • 072a73b375 Run mdimport on bundles after installing them David Smith 2008-05-13 23:31:58 -07:00
  • 8dfd93e1c3 Made the error displayed on download failure human-friendly. Andy Matuschak 2008-05-13 22:29:56 -07:00
  • 49f717c1b1 Fixes #230173 by removing partially downloaded files on download error. Sparkle no longer leaks the NSURLDownload if the download fails. Andy Matuschak 2008-05-13 22:25:56 -07:00
  • 7c709cb9fe Fixing #228470; SUUnarchiver now makes its delegate calls on the main thread instead of unsafely performing them on the alternate thread. Andy Matuschak 2008-05-13 18:01:22 -07:00
  • ff5001fe41 Changed calls to longValue to calls to doubleValue; using the former is potentially a problem when something's saved as an NSString when we expect an NSNumber. This'll handle both cases. Andy Matuschak 2008-05-13 15:41:25 -07:00
  • a39f0cfd00 Oops! Removed all the localized .nibs I just deleted from the Xcode project so that Sparkle will actually, you know, compile. Also added Test Application/main.m back in; it somehow didn't make the transition. Andy Matuschak 2008-05-11 17:47:06 -07:00
  • 62946680b4 Sparkle now migrates SUCheckAtStartup preferences from pre-startup-refactoring. Thanks to Jonas Witt for the patch. Andy Matuschak 2008-05-09 10:26:22 -07:00
  • 95ec8936e9 Added string files for current translations of nibs and removed all nibs for non-English localizations so that Sparkle doesn't freak out and crash on them. Andy Matuschak 2008-05-08 23:53:22 -07:00
  • 1264a6b3a7 Sparkle now finds the newest update in an appcast for which the host meets the minimum system requirements. This fixes bug 228485. Thanks to Stuart Morgan for the patch. Andy Matuschak 2008-05-08 23:44:48 -07:00
  • 80721a028d Initial conversion from SVN Andy Matuschak 2008-05-08 18:18:39 -07:00
  • 1e0496af72 Now SUUpdater removes itself as an observer of an update driver before it releases it. andym 2008-05-08 16:41:22 +00:00
  • ea6661c4da Added 2008 iMac to the model translation list. andym 2008-05-08 07:23:12 +00:00
  • bc3be9a1f2 Touched practically every line of code in a super-monster-awesome refactoring. Please read: - Broke out SUUpdater functionality into update drivers. There's a basic one from which everything else inherits, then a user-initiated one, an automatic one, and a scheduled one. It's super-clean-and-shiny. - Destroyed the abomination that was SUStatusChecker. In its place is SUProbingUpdateDriver, which is like 10 lines long. - Made automatic installation less stupid. It used to install, THEN offer to relaunch. That's dumb, beacuse if the user says no, the app is running from the trash. Now it offers to install and relaunch or to install on quit. - Renamed like every method and symbol. I hope you didn't branch anything. - Reorganized the project hierarchy to be much clearer and easier to navigate. - Reworked the error system to no use NSError instead of exceptions; extra technical information is now logged to the console so that we can find problems. - A bunch of other small bugfixes in things I noticed along the way but no longer remember. - Probably a ton of other stuff. Read over the code and see what I've done. Then PLEASE test this with your app internally and let me know how it goes. This revision is hereby NOT YET DECLARED SAFE FOR PUBLIC RELEASE. But because I'm still using SVN, this is how things have to be. andym 2008-05-08 07:12:41 +00:00
  • 0e997002d1 Added fetching of CFBundleName as a fallback for CFBundleDisplayName in -[NSBundle(SUAdditions) name]. Fixed an uninitialized variable. Fixed autorelease pool errors during installation thread. Fixed error including SUInstaller.h from host app. Patch courtesy Ben Kazez. andym 2008-04-29 05:10:20 +00:00
  • 6147f96af1 Because we use CF calls to update user defaults for the sake of bundles, our synchronize calls don't cause NSUserDefaultsControllers to update. I can't totally fix this for non-app bundles, since there's no way I know of to get an NSUserDefaults object for their defaults, but this patch will fix things for apps. Thanks to boredzo for reporting the bug. Fixes #185. andym 2008-04-22 02:37:15 +00:00
  • 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. andym 2008-04-17 02:26:50 +00:00
  • 05bbafcc01 Doh added missing unit test info.plist. Sorry, guys. andym 2008-04-17 00:30:54 +00:00
  • db443909ed Finally added unit tests. For now, covering only version comparison. Actually found and fixed a bug that made 1.0b1 < 1.0a1 Feel free to add more tests. andym 2008-04-16 13:34:45 +00:00
  • 49e3d819bf Major refactoring, yay. Moved out installation phase to separate classes, separating packages and flat-file installs. Made the DMG cleanup less horrifying. All-around prettification. This may or may not break the world; please let me know. andym 2008-04-15 15:22:18 +00:00
  • 0e3ad17435 Removed an extraneous build phase that was necessary for relaunch.app and which may have been causing problems for people. andym 2008-04-08 02:18:12 +00:00
  • b010f1aaf0 Removed extraneous source file I forgot about. Fixed a stupid error in the last build which prevented Sparkle from actually, you know, working. Also, revision 144 is a patch courtesy Cedric Luthi; many thanks to him for a great contribution. andym 2008-04-04 16:00:50 +00:00
  • b5d0501bea Fixed an issue that would prevent people running FileVault from using Sparkle due to the disk image checking. Made the relaunch tool a tool instead of an app. This cleaned up a lot of code and made things less error-prone. Fixed a bug that sometimes prevented the relaunch tool itself from quitting on Leopard. andym 2008-04-04 15:44:52 +00:00
  • 6699dd9727 Ahh, the dangers of forgetting to svn add. Finished up the patch for quarantine. andym 2008-04-01 06:46:49 +00:00
  • 85472b6434 Fixing #151, courtesy Mark Mentovai. This adds support for apps that quarantine their files. andym 2008-03-31 09:09:05 +00:00
  • 4496344bcf Removed the on-disk-image check for 10.3.9, since it was causing crashes. andym 2008-03-31 05:30:02 +00:00
  • 35fa5ca34a Made the update permission prompt localizable and fixed a bug with the description method on 10.3.9. andym 2008-03-28 08:01:08 +00:00
  • e14005c955 Added MacBook and MacBook Pro from Feb. 2008. Thanks, Tom Harrington. andym 2008-03-28 06:15:25 +00:00
  • 1b48241cb0 Converted Sparkle's build configuration system to using inherited xcconfigs; added a default .pbxuser file. Thanks to Sean McBride for his excellent work on this. andym 2008-03-28 06:12:00 +00:00
  • 5e0b59e025 Updated Swedish localizations courtesy Markus Amalthea Magnuson. andym 2008-03-08 02:30:51 +00:00
  • da1e70dac5 Removed extraneous KVC will/didChangeValueForKey calls. Thanks, Christiaan Hofman, for pointing out that I am dumb. andym 2008-03-08 02:27:38 +00:00
  • fe98a431c6 Fixed #6: status button now sizes to the localization. Thanks to Christiaan Hofman. andym 2008-03-07 17:31:39 +00:00
  • ed85eae96a Made SUUpdatePermissionPrompt.h a public header. andym 2008-03-06 13:06:07 +00:00
  • 905306c096 Expanded the download progress text field. Added a step to preprocess feed URLs to remove quotes so that pre-processed plist files can have the URL defined in code. Patch courtesy Philippe Casgrain. andym 2008-03-06 13:02:44 +00:00
  • 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. andym 2008-03-05 14:07:43 +00:00
  • fcf471d08f runModal like the old alert from Changeset 127. [NSApp runModalForWindow:] calls [window center], so we can remove it. catlan 2008-03-01 09:22:39 +00:00
  • 07462e570b move SUUpdatePermissionPrompt.nib out of en.lproj to work on non english systems catlan 2008-03-01 06:06:00 +00:00
  • 75c61d0b2d set position of window to center catlan 2008-03-01 06:03:42 +00:00
  • 210526a796 Added in the model translation list for human-readable Mac model names. andym 2008-02-15 04:31:15 +00:00
  • 8c3960fc5f Finished integrating SparklePlus profiling! Just set SUEnableSystemProfiling to YES in your info.plist. The Test App has this on by default so you all can see. andym 2008-02-15 04:17:26 +00:00
  • 6fd1422eea Actually added the appropriate files this time. andym 2008-02-14 15:15:24 +00:00
  • 1462087cc6 Added SUWindowController to reduce duplication of running-in-bundle special-case code. andym 2008-02-14 15:12:09 +00:00
  • 9eb1cb4693 Sparkle now supports garbage collection? I think? That was too easy... andym 2008-02-14 02:46:32 +00:00
  • 12219e9956 ADded NSFileManager+Aliases.h to the list of public headers. andym 2008-02-07 13:46:17 +00:00
  • d1a153cecd Fixed some memory leaks, thanks to Sean McBride. andym 2008-02-05 05:29:37 +00:00
  • 87919ec734 Fixed the installation code to *really* not go through aliases; it didn't really work before. andym 2008-02-05 05:25:22 +00:00
  • 2ec35aebdf Finished cleaning up singleton stuff in SUUpdater.m andym 2008-02-05 03:43:00 +00:00
  • 5bf76dd7a3 Oops! Committed the last patch with broken code; this code works. andym 2008-02-05 03:32:17 +00:00
  • 5b76530d3a Made a number of fixes to potentially dangerous singleton behavior as suggested by Christiaan Hofman. andym 2008-02-05 03:11:01 +00:00
  • 904f68e3e3 Added beginnings of permission prompt. andym 2008-01-26 14:57:33 +00:00
  • a5f55fa04b Set default font family for the release notes web view to the system font. andym 2008-01-25 16:40:18 +00:00
  • 3875c8a70d Fixed a resizing bug in the Turkish localization; thanks to Fred from Fennel Software for pointing that out. andym 2008-01-25 16:34:52 +00:00
  • 645a96e13a Made a good deal more progress integrating the profile checking features. It should actually work now. Interface for asking the user if they will allow the profile to be sent is forthcoming. I also added some debug options to the test app's window; these may come in handy. andym 2008-01-24 16:29:34 +00:00
  • fcb19ed194 Fixed a couple tiny typos. andym 2008-01-24 06:40:34 +00:00
  • 631443f81a Updated project version numbers to 1.5 Cleaned up a couple things. andym 2008-01-23 07:10:40 +00:00
  • 2e806f0e2b Update to Swedish localization courtesy Markus Amalthea Magnuson. andym 2008-01-23 03:21:14 +00:00
  • bbb73c3ffd Another change to support [109]. andym 2008-01-19 06:14:31 +00:00
  • b6097b27e8 Changed CFBundleShortVersionString behavior: Sparkle no longer uses Apple's about box style of displaying ShortVersionString (CFBundleVersion) when the latter is available; it seems to me that most of the point of using a CFBundleShortVersionString is to hide the CFBundleVersion from the user. If you hate this, let me know. andym 2008-01-19 05:39:54 +00:00
  • 66bbbedc30 Restored 10.3.9 compatibility to the system version method. andym 2008-01-17 08:37:40 +00:00
  • 3250e3f979 Restored PPC64 support; thanks, Nick Zitzmann. andym 2008-01-17 05:23:32 +00:00
  • 0c8e0b961c Update to the Spanish localization courtesy Javier Hernanz Zajara. andym 2008-01-15 05:29:53 +00:00
  • a7148d97ff Numerous minor changes courtesy Sean McBride. Mostly clarifications. andym 2008-01-14 15:49:13 +00:00
  • 2049194376 Fixed SUStatusChecker to use the new SUUpdater interface. andym 2008-01-10 01:16:34 +00:00
  • fd255bdb58 Removed old, extraneous SUUpdater+DSA.m andym 2007-12-30 14:58:47 +00:00
  • 57af81b3dc Fixed SUStatusChecker--it was broken because I had made SUUpdater a true singleton, so subclasses couldn't even get allocated properly. andym 2007-12-30 14:51:17 +00:00
  • e90c558717 Fixed some warnings related to the Gestalt call. Made the em-dash in the update alert dialog the kosher way. andym 2007-12-30 12:45:12 +00:00
  • 2f357f03fe Set the role of all headers to public. andym 2007-12-30 05:50:00 +00:00
  • 87f28934fe Fixed warnings for missing newlines at the end of the file. Replaced use of SystemVersion.plist with Gestalt() andym 2007-12-30 05:48:11 +00:00
  • 8664db0192 Restored ppc64 support for the test app and relaunch in addition to just the framework. andym 2007-12-28 07:52:25 +00:00
  • c7b616ce1d Fixed the icon-fetching method for configurations in which CFBundleIconFile has the icns extension in the value. andym 2007-12-25 01:47:26 +00:00
  • 5aa1e18bc5 Improved headers from Charles D. H. Williams. andym 2007-12-25 01:45:38 +00:00
  • c3b27a8afd Changed parentheses in the update alert to an em-dash to cope with the new parenthetical version style. andym 2007-12-24 15:18:03 +00:00
  • 2c712bf082 What the heck? Apparently the allowsAutomaticUpdates method for update alerts hasn't been working properly for a while. Fixes #120. andym 2007-12-24 14:17:53 +00:00
  • def287d7dc Fixed up headers to make things easier for those who compile Sparkle in situ -- thanks for the help, Charles D. H. Williams. andym 2007-12-24 07:13:44 +00:00
  • 0fab5fd793 Uncommitting that early change to the update alert; it's not done yet. andym 2007-12-24 06:39:17 +00:00
  • bed9e983de Initial merge of SparklePlus. Fixes to compiling for release. Fixes to rescheduling the updater after the initial launch. andym 2007-12-24 06:14:17 +00:00
  • 86f8091eb4 Fixed the floating-ness of the update alert. andym 2007-12-22 15:36:07 +00:00
  • 11b9492ee9 Fixed a stupid issue with automatic update checking on startup and abstracted the system version call. andym 2007-12-22 15:35:35 +00:00
  • e8fdfcf7e8 Fixed a bug wherein relaunch wouldn't work correctly if the version to which Sparkle was updating didn't have relaunch inside it. andym 2007-12-22 14:14:10 +00:00
  • 9e763340b4 Refactored a bunch of the automatically updating stuff and the install method. It's still like a hundred lines, though. Hm. andym 2007-12-22 14:03:12 +00:00
  • 8c627e8172 No more support for MD5. Use DSA, people. andym 2007-12-22 13:35:45 +00:00
  • c1df7e0d4a Removed NSApplication+AppCopies. I'm not sure what it was there for in the first place. (part two) andym 2007-12-22 13:34:16 +00:00
  • 0bb1fa778e Removed NSApplication+AppCopies. I'm not sure what it was there for in the first place. andym 2007-12-22 13:34:07 +00:00
  • bbedfa1d6a Reorganized SUUpdater.m; it's in better order now. andym 2007-12-22 13:33:14 +00:00
  • dc147ec5f0 Continued incremental refactoring; things seem to still be holding together. andym 2007-12-22 12:48:15 +00:00
  • 6a7c8b34dd Substantial changes made to how Sparkle works on startup now. SUCheckAtStartup is dead, as are checks on startup. Now Sparkle asks if it can check for updates automatically and does so according to the scheduled check interval, which defaults to a day. Additionally -- THIS IS IMPORTANT -- Sparkle won't prompt the user on the first launch. It waits until the second to improve the first-use experience. andym 2007-12-22 12:24:59 +00:00
  • 63011aaefd Beware of falling bricks! Huge refactoring commit #1: cleansing Sparkle of the plague that was SUUtilities. andym 2007-12-22 06:21:48 +00:00
  • 535416a7ba Updated the Catalan localization, courtesy Albert Samaniego. andym 2007-12-20 02:02:44 +00:00
  • 482be20c1f Fixed up localization stuff for new strings and restored compatibility with the make localizable-strings task. andym 2007-12-19 14:30:58 +00:00
  • daaccd1182 Restored compatibility for 10.3; thanks Charles Williams. andym 2007-12-19 14:30:21 +00:00
  • e119ad98cc Sparkle now checks if the host app is running from a disk image and won't update if it is. This is definitely a long time coming. andym 2007-12-13 15:39:52 +00:00
  • acdc8eaff5 Making Sparkle 64-bit compatible, thanks to Nick Zitzmann andym 2007-12-13 11:10:58 +00:00
  • ebea00a7f8 Fixed Sparkle user agent string for Sparkle 1.5. andym 2007-12-13 09:27:59 +00:00
  • d5495b5c9c Fixing #30: making version comparison smarter about determining what characters are digits. andym 2007-12-05 09:27:15 +00:00
  • c2f173eca1 Fixing #75: memory leaks when Sparkle can't connect to the internet. andym 2007-12-04 07:14:58 +00:00
  • fe44611e2b Fixing #37 by making even apps with scheduled checks check the first time they launch. andym 2007-12-04 06:36:48 +00:00
  • 8fbfa3a46f Added support for entities in enclosure paths. Thanks to Stuart Morgan. andym 2007-12-04 05:37:59 +00:00
  • 9d342f117c Removed commented out trash from the last commit to make the installAndRestart code clearer. Where is my amend-record, SVN? andym 2007-12-04 03:21:40 +00:00