Commit Graph

  • a68727119e Made SUUpdater's delegate an IBOutlet. Andy Matuschak 2008-06-25 21:18:02 -0700
  • 70e09246ee merged with trunk & updated german localization Dominik 2008-06-24 20:10:04 +0200
  • f425746f41 Put the default font sizes in the release notes WebView back to their 1.1 values (11/13 for standard/fixed fonts). Andy Matuschak 2008-06-23 22:52:33 -0700
  • ad2c82a73c Gave the SUUpdateAlert a non-zero minimum size. Andy Matuschak 2008-06-23 22:51:01 -0700
  • d4291d60d4 Fixes 239512 Andy Matuschak 2008-06-23 22:48:57 -0700
  • cd4addbcd7 Fixes 239512 Andy Matuschak 2008-06-23 22:36:52 -0700
  • 764bed3212 Okay, *really* fixing the bug this time. Thanks for watching my back, Scott. Andy Matuschak 2008-06-23 22:03:09 -0700
  • 3daa88daa4 --fixes lp:242525 --fixes lp:242561 --fixes lp:242564 Andy Matuschak 2008-06-23 21:45:37 -0700
  • eac4134968 Replaced UTF8String with fileSystemRepresentation and [NSString initWithUTF8String] with [NSFileManager stringWithFileSystemRepresentation:length:] as appropriate. Andy Matuschak 2008-06-20 23:29:35 -0700
  • 792bad502d Updated the strings file for the unicode ellipses. Andy Matuschak 2008-06-20 23:29:05 -0700
  • 1092c7dba7 Replaced "..." with "\u2026". Unfortunately, this means I had to change the strings file. Andy Matuschak 2008-06-20 22:35:26 -0700
  • 6295c36561 Added the (important) sharedUpdater method to SUUpdater.h. Oops! Andy Matuschak 2008-06-20 22:31:52 -0700
  • a5dcf946ee Fixed all setters to eliminate the possibility of accidentally releasing the value to be set in the case that [foo setValue:a] is called when [foo value] == a. Andy Matuschak 2008-06-20 22:31:07 -0700
  • aba39e3429 Now using [[NSWorkspace sharedWorkspace] openFile:] instead of [[NSWorkspace sharedWorkspace] launchApplication:]. This will help with things like preference panes, which will now appropriately relaunch system preferences. Andy Matuschak 2008-06-20 22:08:14 -0700
  • c2c3a6853c Corrected an incorrect log string--the one which occurs when the old app can't be trashed. Andy Matuschak 2008-06-20 22:06:00 -0700
  • 074646e830 Removed dead commented-out code. Andy Matuschak 2008-06-20 22:05:06 -0700
  • 7664995dfc Fixes #241762 Andy Matuschak 2008-06-20 22:00:50 -0700
  • af245f3e89 Fixes 236636: Andy Matuschak 2008-06-19 23:02:12 -0700
  • 6da2774f61 Removed a warning, refactored the piped unarchiver code a little more. Andy Matuschak 2008-06-19 22:58:53 -0700
  • 441a5382b9 Oops! Fixed a warning that caused Sparkle not to compile. Made the unarchiver no longer an IV. Andy Matuschak 2008-06-19 22:58:40 -0700
  • 4b74af2de9 Fixes 240385 Andy Matuschak 2008-06-19 22:16:19 -0700
  • 6f85473bc1 Fixes 239512 Andy Matuschak 2008-06-18 23:14:49 -0700
  • b7898f5ce7 Added an updated French localization, courtesy Yann Ricquebourg. Thanks, Yann! Andy Matuschak 2008-06-18 23:07:02 -0700
  • fcf4da886e Fixes 240792, 240793 Andy Matuschak 2008-06-18 23:01:03 -0700
  • 47b5d5f231 Fixes 241100 Andy Matuschak 2008-06-18 22:56:50 -0700
  • 93ea93dd38 Fixes 236695 Andy Matuschak 2008-06-18 22:53:16 -0700
  • 7576ba7e38 Added NSURLConnection delegate method to handle redirects correctly under Tiger Brian Webster 2008-06-17 17:48:33 -0400
  • 1bd6c13593 Modified objectForKey: so it falls back to NSUserDefaults if CFPreferencesCopyAppValue() doesn't return a value This catches values that are registered using registerDefaults: on Tiger, which CFPreferencesCopyAppValue() doesn't do Brian Webster 2008-06-17 17:36:30 -0400
  • 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. Andy Matuschak 2008-06-16 22:03:09 -0700
  • 4a26774818 Fixes 240274 Andy Matuschak 2008-06-15 22:23:31 -0700
  • 269a648d24 Fixes a compile warning; using NSUInteger in place of unsigned. Andy Matuschak 2008-06-15 17:53:51 -0700
  • c2745f5944 Fixes #236948: Sparkle no longer fails to close the "checking for updates" progress window when an appcast fails to load. Andy Matuschak 2008-06-15 17:52:42 -0700
  • fbcdba4f01 Fixes several warnings Stuart Morgan 2008-06-07 10:53:00 -0700
  • 4e8e3b9774 Let there be nibs Daniel Bergman 2008-06-06 02:13:57 +0200
  • 32129634ee Initial import, no nibs Daniel Bergman 2008-06-06 02:02:54 +0200
  • 17a5bf2b96 Agh, changed the GC settings again. I had made the release configuration before use the gc and the gc configuration use the normal configuration. This should be right. Andy Matuschak 2008-06-02 14:30:21 -0700
  • 61d53375e5 Added some version comparison tests for things like 1.0b9 -> 1.0b10 and double-digit nonsense. Things still pass. Andy Matuschak 2008-06-02 10:45:52 -0700
  • 6a551229b9 Fixes bug 236694 Andy Matuschak 2008-06-01 22:54:58 -0700
  • c59c4e50ca Made the dual-mode build configuration actually use the .xcconfig which will build it with GC support. Doh! Andy Matuschak 2008-06-01 17:17:16 -0700
  • d855e637cf Merged in the Dutch localization, courtesy Maarten Van Coile. Andy Matuschak 2008-06-01 16:52:47 -0700
  • 0150b3be46 Removed a double-space in the permission prompt NIB. Andy Matuschak 2008-06-01 16:51:18 -0700
  • 47f42e3810 Changed kB to KB, as it should be. Jonas, I thought you got this! Andy Matuschak 2008-06-01 16:49:08 -0700
  • 156ce34cdc Forgot to add the non-existing nib files Maarten Van Coile 2008-06-02 01:00:29 +0200
  • d822487889 Added Dutch translation Maarten Van Coile 2008-06-02 00:45:30 +0200
  • 046a2d1493 Doh! Fixed a dumb double-release that would cause crashes in non-GC apps when the user cancels an update's download. That's kind of a big mistake. Sorry about that guys. Andy Matuschak 2008-06-01 11:26:03 -0700
  • 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. Andy Matuschak 2008-06-01 10:48:07 -0700
  • 1552d4eb8b Changed the disk image failure string to "%1$@ can't be updated when it's running from a disk image. Move %1$@ to your Applications folder, relaunch it from there, and try again." to make it more clear. Andy Matuschak 2008-06-01 10:41:38 -0700
  • 0f744dd417 Updated en.lproj/Sparkle.strings to have all the new strings in Sparkle 1.5b1. Andy Matuschak 2008-06-01 10:07:52 -0700
  • 2dfa8e0982 In an attempt to improve 10.3 support, I've added a new build configuration: Release (GC-support; 10.5-only). Compile with this if your app uses garbage collection. The normal Release configuration will compile 10.3-compatible-y with no GC support. sparkle-1.5b1 Andy Matuschak 2008-05-31 22:53:56 -0700
  • 1cab1cb203 Fixes bug 228455 Andy Matuschak 2008-05-31 00:22:46 -0700
  • 5c32832eed Fixes bug 228446 Andy Matuschak 2008-05-31 00:13:38 -0700
  • ebb1f01735 Removed the checkInterval IV and factored out its assignment to a checkInterval method in SUUpdater. Now when future updates are scheduled after an initial one exits, they'll use the current interval. Andy Matuschak 2008-05-30 22:38:33 -0700
  • 57b5a17a0a Fixed some formatting stuff. Andy Matuschak 2008-05-30 22:31:47 -0700
  • 49cfd57682 Fixed a confounding bug that somehow slipped in: when an update check was aborted, I was calling -automaticallyUpdates to determine whether I should reschedule another update check. Andy Matuschak 2008-05-30 22:27:00 -0700
  • 43ee59357d Fixes bug 236235. Andy Matuschak 2008-05-30 22:15:24 -0700
  • 8b3d15b306 Moved the check for whether the host is running from a disk image to SUBasicUpdateDriver so that all drivers could take advantage of this check. Andy Matuschak 2008-05-30 21:51:34 -0700
  • 21b4aeeb3b Fixes bug 228454. Andy Matuschak 2008-05-30 21:46:08 -0700
  • 6f3d124868 Fixing bug 228469: Now if the developer sets a value for SUEnableAutomaticChecks in Info.plist, we assume that's a good default value to take, and we don't ask the user what he wants to do on startup. If he doesn't specify any preference of his own, we take the Info.plist value to be the canonical one. Andy Matuschak 2008-05-30 21:34:23 -0700
  • de7db2d716 Sparkle now works correctly with LSUIElements: it focuses them before displaying the update alert. This fixes bug 228471. Andy Matuschak 2008-05-30 21:23:56 -0700
  • fcaf871636 Oops, fixing a problem with revision 133, which added fancy version labeling scripts. Now we add /usr/local/bin to the path as well. We still don't fail gracefully if we can't find bzr because I can't figure out how to do that. Hm... Andy Matuschak 2008-05-30 21:09:12 -0700
  • a66d40e035 Changed from CFPreferencesCopyValue to CFPreferencesCopyAppValue (the recommended function) so that Sparkle can now get global preferences. This fixes bug #228457. Andy Matuschak 2008-05-30 19:43:36 -0700
  • 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! Andy Matuschak 2008-05-30 14:14:29 -0700
  • b07190a7f6 Adding automagic bzr version numbering (ooh so shiny!) Andy Matuschak 2008-05-29 23:26:32 -0700
  • 2f953611db Closing two units-related bugs: 231767 and 231598. Units now display in appropriate magnitudes (mb, kb, etc) and also in correct caps. Andy Matuschak 2008-05-22 22:59:06 -0700
  • 487c8a389d updated the '%@ of %@' string in all localizations added kB/MB in german (trivial) added kB in russian Jonas Witt 2008-05-18 14:28:28 +0200
  • ce94db5e4e made byte units localizable, updated english strings file Jonas Witt 2008-05-18 14:18:49 +0200
  • a0ee0f3f5b added formatted file size output Jonas Witt 2008-05-18 13:07:42 +0200
  • 6d8f5be18c Merging in David Smith's branch to fix bug #230123. We now copy the relaunch tool out of the host before installing the update; that way, we can use the old version's tool. This insures us against future changes in the relaunch method. Andy Matuschak 2008-05-15 10:58:49 -0700
  • 93de812aeb At Andy's suggestion, don't bother with overly paranoid fallback behavior. If we can't copy to NSTemporaryDirectory(), something is very very wrong and we should bail. This greatly simplifies some things and lets me clean up the copy of relaunch once it's done. :) David Smith 2008-05-15 00:49:54 -0700
  • f1198d8167 Actually works now, but leaves one leftover copy of relaunch in NSTemporaryDirectory() David Smith 2008-05-14 22:48:19 -0700
  • c722b09ba6 Merge in trunk David Smith 2008-05-14 21:42:38 -0700
  • e208b1ac42 Fixes bug #230451: all the new headers are now public in the Sparkle target. Sorry about that! Andy Matuschak 2008-05-14 14:38:14 -0700
  • d06b2f5dad Fixes bug #228449: now the appcast doesn't run the RSS feed fetching in another thread; it just uses NSURLConnection's asynchronous capabilities (which don't leak memory like the synchronous methods) and some delegate methods. Andy Matuschak 2008-05-14 14:33:00 -0700
  • ce43721233 Fixing bug #230347: "If automatic checks is off, check for updates is triggered and then remind me later is checked, the dialog keeps coming back" Thanks, Scott Gruby! Andy Matuschak 2008-05-14 09:56:53 -0700
  • 55690853a7 OK, so aux executables don't work in frameworks. Who knew? :) David Smith 2008-05-14 00:11:28 -0700
  • 3852809c7b Initial work on copying the relauncher to NSTemporaryDirectory() David Smith 2008-05-14 00:00:14 -0700
  • 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 -0700
  • 072a73b375 Run mdimport on bundles after installing them David Smith 2008-05-13 23:31:58 -0700
  • 8dfd93e1c3 Made the error displayed on download failure human-friendly. Andy Matuschak 2008-05-13 22:29:56 -0700
  • 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 -0700
  • 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 -0700
  • 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 -0700
  • 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 -0700
  • 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 -0700
  • 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 -0700
  • 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 -0700
  • 80721a028d Initial conversion from SVN Andy Matuschak 2008-05-08 18:18:39 -0700
  • 1e0496af72 Now SUUpdater removes itself as an observer of an update driver before it releases it. andym 2008-05-08 16:41:22 +0000
  • ea6661c4da Added 2008 iMac to the model translation list. andym 2008-05-08 07:23:12 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 05bbafcc01 Doh added missing unit test info.plist. Sorry, guys. andym 2008-04-17 00:30:54 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 6699dd9727 Ahh, the dangers of forgetting to svn add. Finished up the patch for quarantine. andym 2008-04-01 06:46:49 +0000