Skip to content

Commit fd4f80d

Browse files
committed
Cleanup; remove old stuff; fix build; etc.
1 parent cb8e9af commit fd4f80d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+89
-5039
lines changed

.DS_Store

6 KB
Binary file not shown.

ApplicationController.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@
99
#import <Cocoa/Cocoa.h>
1010
#import "PBGitRepository.h"
1111

12-
@class PBCloneRepositoryPanel;
13-
1412
@interface ApplicationController : NSObject
1513
{
1614
IBOutlet NSWindow *window;
1715
IBOutlet id firstResponder;
1816
NSPersistentStoreCoordinator *persistentStoreCoordinator;
1917
NSManagedObjectModel *managedObjectModel;
2018
NSManagedObjectContext *managedObjectContext;
21-
22-
PBCloneRepositoryPanel *cloneRepositoryPanel;
2319
}
2420

2521
- (NSPersistentStoreCoordinator *)persistentStoreCoordinator;
@@ -35,5 +31,4 @@
3531
- (IBAction)showHelp:(id)sender;
3632
- (IBAction)reportAProblem:(id)sender;
3733

38-
- (IBAction)showCloneRepository:(id)sender;
3934
@end

ApplicationController.m

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#import "PBPrefsWindowController.h"
1616
#import "PBNSURLPathUserDefaultsTransfomer.h"
1717
#import "PBGitDefaults.h"
18-
#import "PBCloneRepositoryPanel.h"
1918

2019
@implementation ApplicationController
2120

@@ -126,14 +125,6 @@ - (IBAction)showAboutPanel:(id)sender
126125
[NSApp orderFrontStandardAboutPanelWithOptions:dict];
127126
}
128127

129-
- (IBAction) showCloneRepository:(id)sender
130-
{
131-
if (!cloneRepositoryPanel)
132-
cloneRepositoryPanel = [PBCloneRepositoryPanel panel];
133-
134-
[cloneRepositoryPanel showWindow:self];
135-
}
136-
137128
- (IBAction)installCliTool:(id)sender;
138129
{
139130
BOOL success = NO;
@@ -228,7 +219,7 @@ - (NSPersistentStoreCoordinator *) persistentStoreCoordinator {
228219
fileManager = [NSFileManager defaultManager];
229220
applicationSupportFolder = [self applicationSupportFolder];
230221
if ( ![fileManager fileExistsAtPath:applicationSupportFolder isDirectory:NULL] ) {
231-
[fileManager createDirectoryAtPath:applicationSupportFolder attributes:nil];
222+
[fileManager createDirectoryAtPath:applicationSupportFolder withIntermediateDirectories:YES attributes:nil error:nil];
232223
}
233224

234225
url = [NSURL fileURLWithPath: [applicationSupportFolder stringByAppendingPathComponent: @"GitTest.xml"]];

CWQuickLook.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
// the private QL API
1010
+ (id)_previewPanel;
1111
+ (BOOL)isSharedPreviewPanelLoaded;
12-
- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(unsigned int)fp28 defer:(BOOL)fp32;
12+
//- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(unsigned int)fp28 defer:(BOOL)fp32;
1313
- (id)initWithCoder:(id)fp8;
1414
- (void)dealloc;
1515
- (BOOL)isOpaque;
1616
- (BOOL)canBecomeKeyWindow;
1717
- (BOOL)canBecomeMainWindow;
1818
- (BOOL)shouldIgnorePanelFrameChanges;
1919
- (BOOL)isOpen;
20-
- (void)setFrame:(struct _NSRect)fp8 display:(BOOL)fp24 animate:(BOOL)fp28;
21-
- (id)_subEffectsForWindow:(id)fp8 itemFrame:(struct _NSRect)fp12 transitionWindow:(id *)fp28;
22-
- (id)_scaleEffectForItemFrame:(struct _NSRect)fp8 transitionWindow:(id *)fp24;
20+
//- (void)setFrame:(struct _NSRect)fp8 display:(BOOL)fp24 animate:(BOOL)fp28;
21+
//- (id)_subEffectsForWindow:(id)fp8 itemFrame:(struct _NSRect)fp12 transitionWindow:(id *)fp28;
22+
//- (id)_scaleEffectForItemFrame:(struct _NSRect)fp8 transitionWindow:(id *)fp24;
2323
- (void)_invertCurrentEffect;
2424
- (struct _NSRect)_currentItemFrame;
2525
- (void)setAutosizesAndCenters:(BOOL)fp8;

DBPrefsWindowController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#import <Cocoa/Cocoa.h>
4343

4444

45-
@interface DBPrefsWindowController : NSWindowController {
45+
@interface DBPrefsWindowController : NSWindowController <NSAnimationDelegate, NSToolbarDelegate> {
4646
NSMutableArray *toolbarIdentifiers;
4747
NSMutableDictionary *toolbarViews;
4848
NSMutableDictionary *toolbarItems;

0 commit comments

Comments
 (0)