Skip to content

Commit 15b394b

Browse files
committed
Merge branch 'stable' of git://github.com/pieter/gitx
Conflicts: PBGitCommitView.xib
2 parents dedd02d + 4bc43db commit 15b394b

File tree

25 files changed

+64
-17
lines changed

25 files changed

+64
-17
lines changed

ApplicationController.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#import "PBPrefsWindowController.h"
1717
#import "PBNSURLPathUserDefaultsTransfomer.h"
1818
#import "PBGitDefaults.h"
19+
#import "Sparkle/SUUpdater.h"
1920

2021
@implementation ApplicationController
2122
@synthesize cliProxy;
@@ -63,6 +64,7 @@ - (void)registerServices
6364

6465
- (void)applicationDidFinishLaunching:(NSNotification*)notification
6566
{
67+
[[SUUpdater sharedUpdater] setSendsSystemProfile:YES];
6668
[self registerServices];
6769

6870
// Only try to open a default document if there are no documents open already.

Documentation/ReleaseNotes/v0.7.1.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
v0.7.1
2+
===
3+
4+
This is a maintenance release. The following bugs have been fixed:
5+
6+
* The Tree View now tries to be smart about displaying binaries (Johannes)
7+
* GitX now correctly tries to require git v1.6.0 or higher (Pieter)
8+
* Amending commits if the author name has UTF-8 multi-byte characters now correctly works (Pieter)
9+
* GitX no longer stalls for large periods when refreshing in the commit view (Johannes, Pieter)
10+
* The history view tries to be less crashy when loading commits
11+
12+
In addition, the Sparkle framework has been updated so that future updates will be signed

GitX.xcodeproj/project.pbxproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
F5E92A1B0E88550E00056E75 /* empty_file.png in Resources */ = {isa = PBXBuildFile; fileRef = F5E92A1A0E88550E00056E75 /* empty_file.png */; };
116116
F5E92A230E88569500056E75 /* new_file.png in Resources */ = {isa = PBXBuildFile; fileRef = F5E92A220E88569500056E75 /* new_file.png */; };
117117
F5EF8C8E0E9D4A5D0050906B /* PBWebController.m in Sources */ = {isa = PBXBuildFile; fileRef = F5EF8C8D0E9D4A5D0050906B /* PBWebController.m */; };
118+
F5F7D0651062E7940072C81C /* UpdateKey.pem in Resources */ = {isa = PBXBuildFile; fileRef = F5F7D0641062E7940072C81C /* UpdateKey.pem */; };
118119
F5FC41F40EBCBD4300191D80 /* PBGitXProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = F5FC41F30EBCBD4300191D80 /* PBGitXProtocol.m */; };
119120
F5FC43FE0EBD08EE00191D80 /* PBRefMenuItem.m in Sources */ = {isa = PBXBuildFile; fileRef = F5FC43FD0EBD08EE00191D80 /* PBRefMenuItem.m */; };
120121
F5FE6C030EB13BC900F30D12 /* PBServicesController.m in Sources */ = {isa = PBXBuildFile; fileRef = F5FE6C020EB13BC900F30D12 /* PBServicesController.m */; };
@@ -281,6 +282,7 @@
281282
F5E92A220E88569500056E75 /* new_file.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = new_file.png; path = Images/new_file.png; sourceTree = "<group>"; };
282283
F5EF8C8C0E9D4A5D0050906B /* PBWebController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PBWebController.h; sourceTree = "<group>"; };
283284
F5EF8C8D0E9D4A5D0050906B /* PBWebController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PBWebController.m; sourceTree = "<group>"; };
285+
F5F7D0641062E7940072C81C /* UpdateKey.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = UpdateKey.pem; sourceTree = "<group>"; };
284286
F5FC41F20EBCBD4300191D80 /* PBGitXProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PBGitXProtocol.h; sourceTree = "<group>"; };
285287
F5FC41F30EBCBD4300191D80 /* PBGitXProtocol.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PBGitXProtocol.m; sourceTree = "<group>"; };
286288
F5FC43C30EBD050800191D80 /* PBRefContextDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PBRefContextDelegate.h; sourceTree = "<group>"; };
@@ -406,6 +408,7 @@
406408
29B97317FDCFA39411CA2CEA /* Resources */ = {
407409
isa = PBXGroup;
408410
children = (
411+
F5F7D0641062E7940072C81C /* UpdateKey.pem */,
409412
F50A41130EBB872D00208746 /* Widgets */,
410413
47DBDB920E94F47200671A1E /* Preference Icons */,
411414
D26DC6440E782C9000C777B2 /* gitx.icns */,
@@ -756,6 +759,7 @@
756759
47DBDB6A0E94EF6500671A1E /* Preferences.xib in Resources */,
757760
47DBDBB10E94F6CA00671A1E /* Updates.png in Resources */,
758761
F569AE930F2CBD7C00C2FFA7 /* Credits.html in Resources */,
762+
F5F7D0651062E7940072C81C /* UpdateKey.pem in Resources */,
759763
);
760764
runOnlyForDeploymentPostprocessing = 0;
761765
};
@@ -780,7 +784,7 @@
780784
);
781785
runOnlyForDeploymentPostprocessing = 0;
782786
shellPath = /bin/sh;
783-
shellScript = "export PATH=$PATH:$HOME/bin:$HOME/local/bin:/sw/bin:/opt/local/bin:`\"$TARGET_BUILD_DIR\"/gitx --git-path`\nVERSION=$(cd \"$PROJECT_DIR\";git describe)\nLONG_VERSION=$(echo $VERSION | sed -e \"s/\\-/\\./\" -e \"s/^v//\" -e \"s/-.*//\")\nSHORT_VERSION=$(echo $VERSION | sed -e \"s/\\-.*//\" -e \"s/^v//\")\n\necho -n \"#define LONG_VERSION $LONG_VERSION\n#define GIT_VERSION $VERSION\n#define SHORT_VERSION $SHORT_VERSION\" > \"$PROJECT_TEMP_DIR/revision\"\ntouch Info.plist";
787+
shellScript = "export PATH=$PATH:$HOME/bin:$HOME/local/bin:/sw/bin:/opt/local/bin:`\"$TARGET_BUILD_DIR\"/gitx --git-path`\nVERSION=$(cd \"$PROJECT_DIR\";git describe)\nSHORT_VERSION=$(echo $VERSION | sed -e \"s/\\-.*//\" -e \"s/^v//\")\n\necho -n \"#define GIT_VERSION $VERSION\n#define SHORT_VERSION $SHORT_VERSION\" > \"$PROJECT_TEMP_DIR/revision\"\ntouch Info.plist";
784788
};
785789
F5792DFB0EDB570C001B0C31 /* Compile libgit2 */ = {
786790
isa = PBXShellScriptBuildPhase;

Info.plist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>SUPublicDSAKeyFile</key>
6+
<string>UpdateKey.pem</string>
57
<key>CFBundleDevelopmentRegion</key>
68
<string>English</string>
79
<key>CFBundleName</key>
@@ -49,7 +51,7 @@
4951
<key>CFBundleSignature</key>
5052
<string>????</string>
5153
<key>CFBundleVersion</key>
52-
<string>LONG_VERSION</string>
54+
<string>SHORT_VERSION</string>
5355
<key>CFBundleGitVersion</key>
5456
<string>GIT_VERSION</string>
5557
<key>CFBundleShortVersionString</key>

PBGitCommitView.xib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<string key="IBDocument.HIToolboxVersion">353.00</string>
99
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
1010
<bool key="EncodedWithXMLCoder">YES</bool>
11-
<integer value="207"/>
11+
<integer value="125"/>
1212
<integer value="225"/>
1313
</object>
1414
<object class="NSArray" key="IBDocument.PluginDependencies">
@@ -1237,9 +1237,9 @@
12371237
<reference key="object" ref="750704519"/>
12381238
<object class="NSMutableArray" key="children">
12391239
<bool key="EncodedWithXMLCoder">YES</bool>
1240-
<reference ref="812432808"/>
12411240
<reference ref="221814497"/>
12421241
<reference ref="1073221655"/>
1242+
<reference ref="812432808"/>
12431243
</object>
12441244
<reference key="parent" ref="1002"/>
12451245
</object>

Sparkle.framework/Versions/A/Headers/SUAppcastItem.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@interface SUAppcastItem : NSObject {
1313
NSString *title;
1414
NSDate *date;
15-
NSString *description;
15+
NSString *itemDescription;
1616

1717
NSURL *releaseNotesURL;
1818

@@ -33,7 +33,7 @@
3333
- (NSString *)versionString;
3434
- (NSString *)displayVersionString;
3535
- (NSDate *)date;
36-
- (NSString *)description;
36+
- (NSString *)itemDescription;
3737
- (NSURL *)releaseNotesURL;
3838
- (NSURL *)fileURL;
3939
- (NSString *)DSASignature;

Sparkle.framework/Versions/A/Headers/SUUpdater.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@
3636
- (void)setFeedURL:(NSURL *)feedURL;
3737
- (NSURL *)feedURL;
3838

39+
- (void)setSendsSystemProfile:(BOOL)sendsSystemProfile;
40+
- (BOOL)sendsSystemProfile;
41+
42+
- (void)setAutomaticallyDownloadsUpdates:(BOOL)automaticallyDownloadsUpdates;
43+
- (BOOL)automaticallyDownloadsUpdates;
44+
3945
// This IBAction is meant for a main menu item. Hook up any menu item to this action,
4046
// and Sparkle will check for updates and report back its findings verbosely.
4147
- (IBAction)checkForUpdates:sender;
@@ -45,11 +51,14 @@
4551
// update is found, it will be downloaded and prepped for installation.
4652
- (void)checkForUpdatesInBackground;
4753

54+
// Date of last update check. Returns null if no check has been performed.
55+
- (NSDate*)lastUpdateCheckDate;
56+
4857
// This begins a "probing" check for updates which will not actually offer to update to that version. The delegate methods, though,
4958
// (up to updater:didFindValidUpdate: and updaterDidNotFindUpdate:), are called, so you can use that information in your UI.
5059
- (void)checkForUpdateInformation;
5160

52-
// Call this to appropriately schedule or cancel the update checking timer according to the preferences for time interval and automatic checks.
61+
// Call this to appropriately schedule or cancel the update checking timer according to the preferences for time interval and automatic checks. This call does not change the date of the next check, but only the internal NSTimer.
5362
- (void)resetUpdateCycle;
5463

5564
- (BOOL)updateInProgress;

Sparkle.framework/Versions/A/Resources/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.5 Beta 5</string>
18+
<string>1.5 Beta 6</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>282</string>
22+
<string>313</string>
2323
</dict>
2424
</plist>
Binary file not shown.

Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/info.nib

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)