Commit Graph

  • b2145b6838 Killed NSURL+Parameters and moved the relevant code into SUUpdater. Andy Matuschak 2008-06-30 21:21:48 -07:00
  • 74337fb65a Fixed 243883: Removed the last @try/@catch from my code. Thanks to Christiaan Hofman for the patch. Andy Matuschak 2008-06-30 20:55:29 -07:00
  • 4ffb7ea64a Added a new string to localize for the case of an unreported download size. Andy Matuschak 2008-06-30 20:48:14 -07:00
  • 3d7e8c6c95 Fixes 244214 Andy Matuschak 2008-06-30 20:45:54 -07:00
  • 50de4d78e5 Corrected a stupid commit of a test string. Andy Matuschak 2008-06-30 20:44:58 -07:00
  • 9e4b74ff24 Merged in fixes to some Tiger warnings. sparkle-1.5b2 Andy Matuschak 2008-06-30 20:13:43 -07:00
  • 14358a8c37 updated german localization Dominik 2008-06-30 08:33:35 +02:00
  • 9afa5febc2 merged with trunk Dominik 2008-06-30 08:23:22 +02:00
  • 68c2e6a055 Let Xcode know about the new localizations we've got for 1.5b2 and removed a bunch of crufty old localizations from the project. Andy Matuschak 2008-06-29 21:39:24 -07:00
  • e57ec53978 Little configuration change so Sparkle will build for the actual native architecture when compiling in debug. Andy Matuschak 2008-06-28 23:14:47 -07:00
  • d52c34c433 Sparkle will no longer build for ppc64 by default. You should still be able to target that architecture if you like, though. Andy Matuschak 2008-06-28 23:14:07 -07:00
  • a33225411a Updated localizations to convert ... into the unicode ellipsis; changed all kB to KB. Andy Matuschak 2008-06-28 23:05:24 -07:00
  • 07875309ba Bumped user agent string version number to 1.5b2. Andy Matuschak 2008-06-28 23:04:30 -07:00
  • 7d8ada58e9 Improved delegate names and made SUProbingUpdateDriver use SUUpdater's delegate methods instead of dumbly having its own. Andy Matuschak 2008-06-28 22:28:14 -07:00
  • d77ca73f51 You're not allowed to resize the test app's debug window. Come on. Andy Matuschak 2008-06-28 22:12:52 -07:00
  • 1c7fb5922c Killed one of the two remaining @try/@catch blocks in my code. I'll get the other for b3. Andy Matuschak 2008-06-28 22:10:52 -07:00
  • 1345017c7e Added prefixes to category names which didn't have them in order to avoid workspace collisions. Andy Matuschak 2008-06-28 21:29:45 -07:00
  • a55f11d2ad Fixed 236240 Andy Matuschak 2008-06-28 21:24:06 -07:00
  • 41aeded009 Fixes 236577 Andy Matuschak 2008-06-28 18:47:17 -07:00
  • 1d92b825ee Made the test app bind cmd+U to check for updates. Andy Matuschak 2008-06-28 18:30:19 -07:00
  • c51abb4318 Fixing 241181 Andy Matuschak 2008-06-28 18:22:05 -07:00
  • 756b32f258 Slightly refactored SUUserInitiatedUpdateDriver. Andy Matuschak 2008-06-28 17:01:52 -07:00
  • a9662f5bb4 Fixes 243367 Andy Matuschak 2008-06-28 16:33:54 -07:00
  • 3b86dc72c7 Fixes 239512 (for real this time, I hope). Sorry about that! Andy Matuschak 2008-06-27 23:19:37 -07:00
  • 46f9b4a049 Fixes 242566 Andy Matuschak 2008-06-25 22:39:17 -07:00
  • 959ef54b7e Added a Spanish localization courtesy Ernesto Gomez Cereijo. Thanks! Andy Matuschak 2008-06-25 22:19:20 -07:00
  • a68727119e Made SUUpdater's delegate an IBOutlet. Andy Matuschak 2008-06-25 21:18:02 -07:00
  • 70e09246ee merged with trunk & updated german localization Dominik 2008-06-24 20:10:04 +02:00
  • 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 -07:00
  • ad2c82a73c Gave the SUUpdateAlert a non-zero minimum size. Andy Matuschak 2008-06-23 22:51:01 -07:00
  • d4291d60d4 Fixes 239512 Andy Matuschak 2008-06-23 22:48:57 -07:00
  • cd4addbcd7 Fixes 239512 Andy Matuschak 2008-06-23 22:36:52 -07:00
  • 764bed3212 Okay, *really* fixing the bug this time. Thanks for watching my back, Scott. Andy Matuschak 2008-06-23 22:03:09 -07:00
  • 3daa88daa4 --fixes lp:242525 --fixes lp:242561 --fixes lp:242564 Andy Matuschak 2008-06-23 21:45:37 -07:00
  • eac4134968 Replaced UTF8String with fileSystemRepresentation and [NSString initWithUTF8String] with [NSFileManager stringWithFileSystemRepresentation:length:] as appropriate. Andy Matuschak 2008-06-20 23:29:35 -07:00
  • 792bad502d Updated the strings file for the unicode ellipses. Andy Matuschak 2008-06-20 23:29:05 -07:00
  • 1092c7dba7 Replaced "..." with "\u2026". Unfortunately, this means I had to change the strings file. Andy Matuschak 2008-06-20 22:35:26 -07:00
  • 6295c36561 Added the (important) sharedUpdater method to SUUpdater.h. Oops! Andy Matuschak 2008-06-20 22:31:52 -07:00
  • 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 -07:00
  • 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 -07:00
  • 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 -07:00
  • 074646e830 Removed dead commented-out code. Andy Matuschak 2008-06-20 22:05:06 -07:00
  • 7664995dfc Fixes #241762 Andy Matuschak 2008-06-20 22:00:50 -07:00
  • af245f3e89 Fixes 236636: Andy Matuschak 2008-06-19 23:02:12 -07:00
  • 6da2774f61 Removed a warning, refactored the piped unarchiver code a little more. Andy Matuschak 2008-06-19 22:58:53 -07:00
  • 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 -07:00
  • 4b74af2de9 Fixes 240385 Andy Matuschak 2008-06-19 22:16:19 -07:00
  • 6f85473bc1 Fixes 239512 Andy Matuschak 2008-06-18 23:14:49 -07:00
  • b7898f5ce7 Added an updated French localization, courtesy Yann Ricquebourg. Thanks, Yann! Andy Matuschak 2008-06-18 23:07:02 -07:00
  • fcf4da886e Fixes 240792, 240793 Andy Matuschak 2008-06-18 23:01:03 -07:00
  • 47b5d5f231 Fixes 241100 Andy Matuschak 2008-06-18 22:56:50 -07:00
  • 93ea93dd38 Fixes 236695 Andy Matuschak 2008-06-18 22:53:16 -07:00
  • 7576ba7e38 Added NSURLConnection delegate method to handle redirects correctly under Tiger Brian Webster 2008-06-17 17:48:33 -04:00
  • 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 -04:00
  • 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 -07:00
  • 4a26774818 Fixes 240274 Andy Matuschak 2008-06-15 22:23:31 -07:00
  • 269a648d24 Fixes a compile warning; using NSUInteger in place of unsigned. Andy Matuschak 2008-06-15 17:53:51 -07:00
  • 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 -07:00
  • fbcdba4f01 Fixes several warnings Stuart Morgan 2008-06-07 10:53:00 -07:00
  • 4e8e3b9774 Let there be nibs Daniel Bergman 2008-06-06 02:13:57 +02:00
  • 32129634ee Initial import, no nibs Daniel Bergman 2008-06-06 02:02:54 +02:00
  • 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 -07:00
  • 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 -07:00
  • 6a551229b9 Fixes bug 236694 Andy Matuschak 2008-06-01 22:54:58 -07:00
  • 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 -07:00
  • d855e637cf Merged in the Dutch localization, courtesy Maarten Van Coile. Andy Matuschak 2008-06-01 16:52:47 -07:00
  • 0150b3be46 Removed a double-space in the permission prompt NIB. Andy Matuschak 2008-06-01 16:51:18 -07:00
  • 47f42e3810 Changed kB to KB, as it should be. Jonas, I thought you got this! Andy Matuschak 2008-06-01 16:49:08 -07:00
  • 156ce34cdc Forgot to add the non-existing nib files Maarten Van Coile 2008-06-02 01:00:29 +02:00
  • d822487889 Added Dutch translation Maarten Van Coile 2008-06-02 00:45:30 +02:00
  • 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 -07:00
  • 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 -07:00
  • 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 -07:00
  • 0f744dd417 Updated en.lproj/Sparkle.strings to have all the new strings in Sparkle 1.5b1. Andy Matuschak 2008-06-01 10:07:52 -07:00
  • 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 -07:00
  • 1cab1cb203 Fixes bug 228455 Andy Matuschak 2008-05-31 00:22:46 -07:00
  • 5c32832eed Fixes bug 228446 Andy Matuschak 2008-05-31 00:13:38 -07:00
  • 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 -07:00
  • 57b5a17a0a Fixed some formatting stuff. Andy Matuschak 2008-05-30 22:31:47 -07:00
  • 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 -07:00
  • 43ee59357d Fixes bug 236235. Andy Matuschak 2008-05-30 22:15:24 -07:00
  • 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 -07:00
  • 21b4aeeb3b Fixes bug 228454. Andy Matuschak 2008-05-30 21:46:08 -07:00
  • 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 -07:00
  • 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 -07:00
  • 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 -07:00
  • 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 -07:00
  • 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 -07:00
  • b07190a7f6 Adding automagic bzr version numbering (ooh so shiny!) Andy Matuschak 2008-05-29 23:26:32 -07:00
  • 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 -07:00
  • 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 +02:00
  • ce94db5e4e made byte units localizable, updated english strings file Jonas Witt 2008-05-18 14:18:49 +02:00
  • a0ee0f3f5b added formatted file size output Jonas Witt 2008-05-18 13:07:42 +02:00
  • 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 -07:00
  • 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 -07:00
  • f1198d8167 Actually works now, but leaves one leftover copy of relaunch in NSTemporaryDirectory() David Smith 2008-05-14 22:48:19 -07:00
  • c722b09ba6 Merge in trunk David Smith 2008-05-14 21:42:38 -07:00
  • 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 -07:00
  • 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 -07:00
  • 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 -07:00