Sean McBride
dab8a36a13
renamed all methods that start with underscore, since that's reserved by Apple. Similiar for global variable that started with double underscore
2009-12-31 23:38:25 -05:00
Sean McBride
152e6f9572
SUHost's technique for getting a generic bundle icon did not work, fixed
2009-12-30 00:34:19 -05:00
Sean McBride
f8fbf370bc
enabled GCC_WARN_UNDECLARED_SELECTOR warning now that all such warnings are fixed
2009-12-30 00:06:27 -05:00
Sean McBride
61291c77d7
Merge branch 'master' of git://github.com/andymatuschak/Sparkle
2009-12-30 00:00:20 -05:00
Sean McBride
b90df8b254
fixed warning by moving private methods higher in the source file
2009-12-29 23:58:27 -05:00
Sean McBride
4dbc0dd47f
removed define that was moved to pch
2009-12-29 23:56:28 -05:00
Sean McBride
9d3db1b103
fixed warning
2009-12-29 23:56:08 -05:00
Sean McBride
b8c8b9e605
conditionally define NSAppKitVersionNumber constants in pch, properly conditionalise Obj-C code
2009-12-29 23:55:31 -05:00
Sean McBride
d7260665d6
fixed warning by moving private methods higher in the source file
2009-12-29 23:50:31 -05:00
Andy Matuschak
b96c95066c
Update driver now correctly marks itself as "finished" before terminating.
...
This is important for apps which checked this value during an app delegate's applicationShouldTerminate:.
Thanks to Nick Zitzmann for the patch.
2009-12-27 22:49:04 -06: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
Andy Matuschak
fd20e0725b
Added two stupid spaces.
2009-12-21 15:02:36 -06:00
Andy Matuschak
6c8f094bbe
Merge commit 'seanm/master'
2009-12-20 18:20:37 -06: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
Andy Matuschak
40dee9958b
Added Portuguese translation courtesy Sérgio Miranda. Thanks!
2009-12-14 22:35:56 -06: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