Commit Graph
19 Commits
Author SHA1 Message Date
Andy Matuschak c2c3a6853c Corrected an incorrect log string--the one which occurs when the old app can't be trashed. 2008-06-20 22:06:00 -07:00
Andy Matuschak 06bda29f7a Sparkle no longer fails the update if it can't trash the old version of the app. This at least lets Sparkle work on Snow Leopard, though it leaves the old version around. 2008-06-16 22:03:09 -07:00
andym 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.
2008-05-08 07:12:41 +00:00
andym 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.
2008-04-15 15:22:18 +00:00
andym 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.
2008-04-04 16:00:50 +00:00
andym 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.
2008-04-04 15:44:52 +00:00
andym 85472b6434 Fixing #151, courtesy Mark Mentovai. This adds support for apps that quarantine their files. 2008-03-31 09:09:05 +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 2e806f0e2b Update to Swedish localization courtesy Markus Amalthea Magnuson. 2008-01-23 03:21:14 +00:00
andym a7148d97ff Numerous minor changes courtesy Sean McBride. Mostly clarifications. 2008-01-14 15:49:13 +00:00
andym 5aa1e18bc5 Improved headers from Charles D. H. Williams. 2007-12-25 01:45:38 +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 bed9e983de Initial merge of SparklePlus.
Fixes to compiling for release.
Fixes to rescheduling the updater after the initial launch.
2007-12-24 06:14:17 +00:00
andym 9e763340b4 Refactored a bunch of the automatically updating stuff and the install method. It's still like a hundred lines, though. Hm. 2007-12-22 14:03:12 +00:00
andym acdc8eaff5 Making Sparkle 64-bit compatible, thanks to Nick Zitzmann 2007-12-13 11:10:58 +00:00
catlan c684b37188 add <sys/wait.h> which is needed when build against MacOSX10.3.9.sdk 2007-12-03 00:43:28 +00:00
andym 5d44acb0ac Finally got DMGs working properly on 10.5 through a somewhat less brittle method - ie, no more internetenable. Thanks to Steve Gehrman from CocoaTech.
Also fixed a bug with the host app extension method, the recursive find-the-app-in-the-archive method, and made the extension comparison case insensitive for extraction purposes.
2007-12-02 16:16:11 +00:00
andym f814653c06 Restored Panther compatibility, courtesy Stuart Morgan. 2007-11-11 03:52:46 +00:00
andym 9fa3da535a Holy restructuring, batman! Watch out for falling folders. 2007-07-10 04:55:25 +00:00