Uli Kusterer
29035199f3
That checkbox was way too narrow.
2010-02-21 15:12:29 +01:00
Uli Kusterer
b4210d8f61
Use symbolic constants, that's what they're for ;-)
2010-02-21 14:06:49 +01:00
Uli Kusterer
3d352c6fcd
Merge branch 'master' of github.com:uliwitness/Sparkle
2009-12-23 11:50:05 +01:00
Uli Kusterer
874572f7bb
More strings changes from Elgato.
2009-12-23 11:47:24 +01:00
Uli Kusterer
8f0d7d0805
Strings changes from Elgato.
2009-12-23 11:47:07 +01:00
Uli Kusterer
65f8d2629a
Actually use the build configurations.
2009-12-23 11:44:51 +01:00
Uli Kusterer
c0ca2249a5
Revert Patrick's version number change.
...
- It made bracketed build numbers look like components of the version, which gave wrong results
- Added a test for one such broken build-numbered version number
TODO: Tests currently fail for Patrick's version numbers. Will have to write a smarter parser, or split this into two version comparator classes.
2009-12-23 11:43:58 +01:00
Uli Kusterer
efe903bc73
More detailed error handling and logging.
...
- Take failure of stat into account
- Use correct format for printing uids
- SULog actual failure points.
- Cope with nonexistent destinations
2009-12-23 11:41:31 +01:00
Uli Kusterer
50b76d59f7
Add missing include.
2009-12-15 16:51:01 +01:00
Uli Kusterer
4f76b42bb5
If we install under a normalized name, make sure we take owner/group from the target directory, not from a nonexistent destination application we haven't installed yet.
2009-12-15 16:50:43 +01:00
Uli Kusterer
d593ab38ad
Fix configuration for finish_installation.app target:
...
Otherwise it won't build correctly on 10.4 and gives us "unsupported required load command" errors instead of starting up.
2009-12-15 16:49:35 +01:00
Uli Kusterer
a17f974357
Merge branch 'master' of github.com:uliwitness/Sparkle
2009-12-15 16:31:19 +01:00
Uli Kusterer
575bdda768
Make sure that, even on 10.4, we delete our temp folder. Also, we no longer use the stop-gap measure of trashing the temp folder, we really delete it after successful installation.
2009-12-14 22:36:34 +01:00
Uli Kusterer
9b116929ad
Slightly more user-suitable error message.
2009-12-14 22:34:49 +01:00
Uli Kusterer
2e8fa61a5a
More more correct way of creating an NSString from a C-string path.
2009-12-14 22:34:25 +01:00
Uli Kusterer
cd93eb9098
Method for removing a file with optional authorization.
2009-12-14 22:33:00 +01:00
Uli Kusterer
4c765d86ee
More correct way of turning a C-string path into an NSString.
2009-12-14 22:32:32 +01:00
Uli Kusterer
fa8aaced55
Make sure we also delete the temp dir when the user clicks "cancel" during the download.
2009-12-14 22:30:56 +01:00
Uli Kusterer
1b02ab5f7f
Make sure we delete the temp directory.
2009-12-14 22:28:47 +01:00
Uli Kusterer
0e609cc528
Make sure we delete the temp directory.
2009-12-14 22:28:14 +01:00
Uli Kusterer
5ec4c74b0b
Fix typo in LONG_INSTALLATION_TIME constant.
2009-12-14 22:24:48 +01:00
Uli Kusterer
4d7006950a
Make sure mdimport is run synchronously, not asynchronously.
2009-12-14 22:22:23 +01:00
Uli Kusterer
e49a69895a
Fix authorized file moving code:
...
- We now correctly handle the case where the containing directory doesn't allow us adding files without authorization (e.g. /Applications).
- We do the quarantine release *before* the copy.
2009-12-14 22:21:27 +01:00
Uli Kusterer
27f2b9c219
Move 10.4 SDK setting into xcconfig file.
2009-12-14 22:18:15 +01:00
Patrick Stein
db820fbb0f
updated the installer program to show an icon when the installation takes more than 1.2 seconds,
...
long installations have a program in the Dock
short installations just look like the program is restarting
some variable renaming to no longer have camelCasePath for char *
2009-12-12 13:52:42 +01:00
Patrick Stein
ad4e9c74e0
changed back 10.4 settings cause it broke the updater on 10.4
2009-12-11 19:44:22 +01:00
Uli Kusterer
4797446f7c
Be paranoid and wait for the mdimport to finish before we launch the app. Might make spurious "no executable" errors a bit less likely.
2009-12-11 15:17:59 +01:00
Uli Kusterer
0ffcde4fbb
Make sure we delete the temporary folder when the user cancels the download. Also make sure we delete it on 10.4, which seems to have a bug in removeFileAtPath: that won't delete nested empty folders. As a quick fix, I just trash the folder in that case. We already put the old version in the trash anyway, and this saves me from having to write, test and debug a recursive removal function.
2009-12-11 15:13:30 +01:00
Patrick Stein
f555e1143f
Merge remote branch 'uliwitness/master'
2009-12-11 14:54:32 +01:00
Uli Kusterer
bc3fd4542b
Remove 10.4 SDK setting. Causes more problems than it helps.
2009-12-11 14:46:30 +01:00
Patrick Stein
d3fac14586
Merge remote branch 'uliwitness/master'
2009-12-11 13:31:39 +01:00
Patrick Stein
d0425a140a
Updating an application now longer shows the installation application n the Dock (LSUIElement) , Removed TransformProcessType call as it will force the installer application to show in the Dock.
2009-12-11 13:28:10 +01:00
Uli Kusterer
64ec0c317e
Tests for version numbers with build numbers.
2009-12-11 13:10:29 +01:00
Patrick Stein
5f694f82af
Intermediate Update directory name contains the version number of the downloaded version
2009-12-11 12:53:52 +01:00
Uli Kusterer
590122f25a
Merge remote branch 'andymatuschak/master'
2009-12-11 12:51:33 +01:00
Patrick Stein
9b670b9ea7
removed cmdline installation tool and copied installation app to Sparkle framework.
2009-12-11 12:24:41 +01:00
Patrick Stein
65e836cba1
fixed Version Comparision , added more testcases
2009-12-11 12:12:23 +01:00
Patrick Stein
c634f61f2a
commented unused boxView code.
2009-12-11 11:56:18 +01:00
Patrick Stein
776e78c459
added Prefix header to finish_installation_tool
...
added SystemConfiguration.framework to Sparkle
added SUWindowController.m to finish_installation_tool
added SUStatusController.m to finish_installation_tool
now compiles Sparkle. Now going to fix the testbuild
2009-12-11 11:51:15 +01:00
Andy Matuschak
a03235851c
Removing GNU-style ?: operators. Thanks for the report, Uli.
2009-12-10 15:52:47 -08:00
Uli Kusterer
d2f843f92c
Danish localization updates.
2009-12-08 19:09:11 +01:00
Uli Kusterer
e9c69673ad
Set floating window level on the update alert again, but only for bg-only apps. Don't want to annoy users by having an always-visible panel.
2009-12-08 19:03:20 +01:00
Uli Kusterer
a453afa29a
Delegate can now control how version numbers are formatted/displayed to the user, so we can e.g. exclude build numbers or whatever makes sense for a particular application.
2009-12-08 19:02:10 +01:00
Uli Kusterer
cee669c276
Shutting up warnings due to missing includes and fix indentation on one line.
2009-12-08 18:58:59 +01:00
Uli Kusterer
2e0c1b0086
One more SULog() replacing an NSLog().
2009-12-08 00:44:01 +01:00
Uli Kusterer
7686c86792
Adjust the width of the status window so all localizations fit.
2009-12-08 00:43:08 +01:00
Uli Kusterer
2e0f0211d1
We now really put the old app in the trash (and any file we have to move out of the way to install a new app when we reset an edited name), even on non-admin user accounts. +++ TODO: Work around double authorization.
2009-12-08 00:37:39 +01:00
Uli Kusterer
4f8d745305
Changed a few NSLogs() to SULogs().
2009-12-08 00:36:07 +01:00
Uli Kusterer
9788c6849e
We should now correctly replace renamed apps, trashing the custom-named one, installing a new one with a default name, and also moving out of the way any existing copy with the default name.
2009-12-08 00:29:55 +01:00
Uli Kusterer
48dfbac37a
Don't insist on having a file to replace. When we normalize the name, we may not have one.
2009-12-08 00:20:29 +01:00