Commit Graph
53 Commits
Author SHA1 Message Date
Andy Matuschak a7ba6a7421 Merge pull request #210 from kainjow/master
Disable row selection in system profile table
2012-11-15 23:06:33 -08:00
Ryan Maxwell f7daf04204 Update remaining english straight single ' quotes to curly ’ quotes 2012-11-10 20:10:46 +13:00
Ryan Maxwell 2350c59cc8 Update strings files to standardize ellipsis character (…) instead of three dots (…)
Also change don't to curly quote don’t in dialog.
2012-11-10 19:46:44 +13:00
Kevin Wojniak e657bcf03a Disable row selection in the system profile table by implementing the table delegate and turning off "Avoid Empty Selection", "Preserve Selection" and "Select Inserted Objects" on the array controller in the nib. 2012-09-05 10:16:33 -07:00
Andy Matuschak a4082a0e54 Redesigned password prompt UI 2012-06-26 18:44:55 -07:00
Rudy Richter 4ba453f337 support for encrypted disk images 2012-05-22 10:59:20 -04:00
Andy Matuschak acb8f5f076 Fixed layout of localization XIBs 2011-05-09 21:07:51 -07:00
Uli Kusterer 9937e5a17b Merge andymatuschak/Sparkle. 2011-05-02 15:52:15 +02:00
Uli Kusterer 990dee6a8d Newest Elgato localizations. 2011-05-02 12:25:37 +02:00
Andy Matuschak 096d43a7a6 Updated Slovak localization; thanks to Rudolf Gavlas 2011-03-01 18:55:58 -08:00
Uli Kusterer 2460f2fcf7 SUUpdateAlert.nib: Made sure all installButton outlets are hooked up. Converted from NIB to XIB. 2010-02-21 18:25:01 +01:00
Uli Kusterer 29035199f3 That checkbox was way too narrow. 2010-02-21 15:12:29 +01:00
Uli Kusterer e4eccce811 Updated localizations. 2009-12-08 00:17:50 +01:00
Uli Kusterer 2ad144c739 Partial Elgato string merges. 2009-12-04 09:13:25 +01:00
Uli Kusterer 43a0a7db4f Merge of changes from SVN repository:
- Changed NTSynchronousTask to also give the status return value and direct stderror output to the outputData.
- Changed includes so this builds as part of an app, too, not just as a framework
- Made sure SUAppcast's dealloc releases some leaked ivars.
- Added infoURL, extracted from link, that can point to a "more Info" page for download-less URLs
- Added support for version attribute on item so we can support update notifications that don't include an enclosure (e.g. paid upgrades, or upgrades that would require a system update)
- Added/improved a few description methods to ease debugging.
- Added SULog so one can ask for a special log with additional information when there are update issues.
- Added mayUpdateAndRestart for apps that absolutely, positively can't restart right now (e.g. cuz they're burning a CD and would produce a coaster).
- Added updaterWillRelaunchApplication delegate method, analogous to the notification. Useful to have app delegate quit helper apps during installation.
- Made SUBasicUpdateDriver's abortUpdate implicitly retain/autorelease the update driver, because the notification center otherwise releases it and it goes away, causing crashes in superclass's abortUpdate.
- Merge of SUKeepDownloadOnFailedInstallKey and SUFixedHTMLDisplaySizeKey.
- Avoid a few warnings about missing prototypes
- Be paranoid, hdiutil can verify the download again, so let it. Better for internal apps where we turn off DSA checks, too.
- SUHost has an -installationPath now, independent from the bundlePath, so one can normalize the app name from "MyApp 1.1b4" back to "MyApp" Users assume the file name contains the correct version number when there is one in it. Saves support a few round-trips each time.
- Be better at threading: Try calling non-thread-safe methods on main thread only, and don't assume delegates know when they need to be thread-safe, call them on main thread where possible.
- Added a method to put the old copy of the app in the trash. 1.5git changed in this spot, so I didn't actually merge the code that uses it back in yet.
- Fix version comparison so it doesn't get confused by bracketed build numbers in version strings
- Make sure cancel button is disabled during extraction, otherwise user would crash.
- Don't put auto-update window at floating window level. It's huge and can't be switched to background! If you're an NSBGOnly where you need that, turn it on only in that case, but don't generally do such nonsense.
- Hide release notes view if there aren't any.
- Test whether we are on dial-up before checking for updates in background. It's not nice to cause (possibly expensive) dial-up periodically.
- Temporarily comment out DSA complaints for easier testing.
- Don't store (possibly already invalidated) one-shot NSTimers in an ivar. It's bad style. Retain it instead.
- Decompress some monster expressions with nested method calls in ternary operators and nested in method calls again.
- Don't use implicit "id" for params or return types.
- finish_installation now puts up a progress window, so user knows update is still not finished.
- Use ThreadSafePreferences (included dummy version that uses regular prefs for projects that don't use ThreadSafePreferences).

- Todo later: Change finish_installation to be prettier.
2009-12-04 08:40:46 +01:00
Andy Matuschak 6a3df43017 Fixed Bug #428216: "Update alert does not use a proper emdash" 2009-09-20 00:05:23 -04:00
Andy Matuschak 9025bef687 Fixed moving to trash on Tiger. 2009-08-27 22:04:51 -07:00
Andy Matuschak 34586bca5a Finishing fixing #279454 (up to date -> up-to-date) 2009-01-08 10:49:41 -08:00
Andy Matuschak a7818f0f64 Fixing Bug #279454: "Spelling error in update framework"
"up to date" -> "up-to-date"
2009-01-05 23:06:20 -08:00
Stuart Morgan 29bd46d68d Don't use unicode in NSString literals 2008-09-04 07:57:17 -07:00
Andy Matuschak 8a240f7c46 Fixes 258708
Returning the update alert's web view's default text size to 11. I swear I've done this like twice already!
2008-08-17 11:24:36 -07:00
Andy Matuschak 4da902b46c Fixes 251968
Sparkle now requires custom feed parameters to include a "displayKey" and "displayVersion" key. These will be displayed to the user in the initial permission dialog so that he knows what he's getting.
2008-08-10 23:49:30 -07:00
Andy Matuschak 3146ffb8e1 Fixes 248929, 244738
Removed NSWorkspace+RBAdditions: we're now checking if the volume is read-only instead of specifically whether it's a disk image.

This also means the warning string changed. Sorry, localizers!
2008-07-16 22:15:29 -07:00
Andy Matuschak f4c6738793 Added a comment to strings appearing in the status window noting that since the status window nib is unlocalized, localizers should be careful not to make their strings too long.
Changed a French status string to fit in the status window.
2008-07-09 19:47:58 -07:00
Andy Matuschak 44a547341d Now reporting 64-bit capability of the host system.
Showing GHz to the user instead of MHz for the clock speed reading.
2008-07-05 11:46:06 -07:00
Andy Matuschak 4ffb7ea64a Added a new string to localize for the case of an unreported download size. 2008-06-30 20:48:14 -07:00
Andy Matuschak f425746f41 Put the default font sizes in the release notes WebView back to their 1.1 values (11/13 for standard/fixed fonts). 2008-06-23 22:52:33 -07:00
Andy Matuschak ad2c82a73c Gave the SUUpdateAlert a non-zero minimum size. 2008-06-23 22:51:01 -07:00
Andy Matuschak 792bad502d Updated the strings file for the unicode ellipses. 2008-06-20 23:29:05 -07:00
Andy Matuschak 0150b3be46 Removed a double-space in the permission prompt NIB. 2008-06-01 16:51:18 -07:00
Andy Matuschak 47f42e3810 Changed kB to KB, as it should be. Jonas, I thought you got this! 2008-06-01 16:49:08 -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 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. 2008-06-01 10:41:38 -07:00
Andy Matuschak 0f744dd417 Updated en.lproj/Sparkle.strings to have all the new strings in Sparkle 1.5b1. 2008-06-01 10:07:52 -07:00
Jonas Witt 487c8a389d updated the '%@ of %@' string in all localizations
added kB/MB in german (trivial)
added kB in russian
2008-05-18 14:28:28 +02:00
Jonas Witt ce94db5e4e made byte units localizable, updated english strings file 2008-05-18 14:18:49 +02:00
Andy Matuschak 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. 2008-05-08 23:53:22 -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 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 35fa5ca34a Made the update permission prompt localizable and fixed a bug with the description method on 10.3.9. 2008-03-28 08:01:08 +00:00
catlan 07462e570b move SUUpdatePermissionPrompt.nib out of en.lproj to work on non english systems 2008-03-01 06:06:00 +00:00
andym 210526a796 Added in the model translation list for human-readable Mac model names. 2008-02-15 04:31:15 +00:00
andym 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. 2008-02-15 04:17:26 +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 904f68e3e3 Added beginnings of permission prompt. 2008-01-26 14:57:33 +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 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 0fab5fd793 Uncommitting that early change to the update alert; it's not done yet. 2007-12-24 06:39:17 +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 86f8091eb4 Fixed the floating-ness of the update alert. 2007-12-22 15:36:07 +00:00