Commit Graph
13 Commits
Author SHA1 Message Date
Andy Matuschak 9e4b74ff24 Merged in fixes to some Tiger warnings. 2008-06-30 20:13:43 -07:00
Andy Matuschak d4291d60d4 Fixes 239512
NSAutoreleasePool is now drained instead of released.
2008-06-23 22:48:57 -07:00
Andy Matuschak eac4134968 Replaced UTF8String with fileSystemRepresentation and [NSString initWithUTF8String] with [NSFileManager stringWithFileSystemRepresentation:length:] as appropriate. 2008-06-20 23:29:35 -07:00
Andy Matuschak 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. 2008-06-20 22:08:14 -07:00
Andy Matuschak 4b74af2de9 Fixes 240385
The relaunch tool sadly now polls for the host app being closed, rather than registering for notifications. But there was some race condition which had problems with the latter.
2008-06-19 22:16:19 -07:00
Stuart Morgan fbcdba4f01 Fixes several warnings 2008-06-07 10:53:00 -07:00
David Smith 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. :) 2008-05-15 00:49:54 -07: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 87f28934fe Fixed warnings for missing newlines at the end of the file.
Replaced use of SystemVersion.plist with Gestalt()
2007-12-30 05:48:11 +00:00
andym 5aa1e18bc5 Improved headers from Charles D. H. Williams. 2007-12-25 01:45:38 +00:00
andym 690f04e356 Fixed the relaunch tool to have Leoaprd compatibility (thanks, Cedric Luthi) 2007-11-14 11:08:41 +00:00
catlan 254cf85f26 add [NSApplication sharedApplication] to be sure relaucher stay alive and check if pid exists 2007-11-11 04:38:42 +00:00
andym b2eab97d73 Made the relaunching process much snazzier, courtesy of Cedric Luthi. Now we use a separate program to kill the host app and to watch for when it is actually closed to launch its successor. Please let me know if you have any problems with this.K 2007-10-25 14:27:55 +00:00