diff --git a/ApplicationController.m b/ApplicationController.m index bd1f1e9..fe3ad7f 100644 --- a/ApplicationController.m +++ b/ApplicationController.m @@ -24,8 +24,8 @@ #endif if(self = [super init]) { - if([[NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/QuickLookUI.framework"] load]) - NSLog(@"Quick Look loaded!"); + if(![[NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/QuickLookUI.framework"] load]) + NSLog(@"Could not load QuickLook"); self.cliProxy = [PBCLIProxy new]; } diff --git a/PBCommitList.m b/PBCommitList.m index 88aa0b9..f189c61 100644 --- a/PBCommitList.m +++ b/PBCommitList.m @@ -14,7 +14,6 @@ @synthesize mouseDownPoint; - (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL) local { - NSLog(@"a"); return NSDragOperationCopy; } diff --git a/PBGitDefaults.m b/PBGitDefaults.m index 61662ca..0bec2f7 100644 --- a/PBGitDefaults.m +++ b/PBGitDefaults.m @@ -19,7 +19,6 @@ [defaultValues setObject:[NSNumber numberWithInt:kDefaultVerticalLineLength] forKey:kCommitMessageViewVerticalLineLength]; [[NSUserDefaults standardUserDefaults] registerDefaults:defaultValues]; - NSLog(@"registered defaults: %@", defaultValues); } + (int) commitMessageViewVerticalLineLength diff --git a/PBGitRevList.m b/PBGitRevList.m index 28ef2c6..757312c 100644 --- a/PBGitRevList.m +++ b/PBGitRevList.m @@ -107,7 +107,6 @@ // If buffer is full, we go for another round if (buffer[BUFFERSIZE - 2] != 0) { - //NSLog(@"Line too long!"); buffer[BUFFERSIZE - 2] = 0; continue; } diff --git a/PBGitTree.m b/PBGitTree.m index 59a2659..722b294 100644 --- a/PBGitTree.m +++ b/PBGitTree.m @@ -103,10 +103,7 @@ if (!localFileName) localFileName = [PBEasyFS tmpDirWithPrefix: path]; - NSLog(@"Exporting children.."); - for (PBGitTree* child in [self children]) { - NSLog(@"Telling %@ to save to %@!", [child fullPath], localFileName); [child saveToFolder: localFileName]; } @@ -142,7 +139,6 @@ return children; NSString* ref = [self refSpec]; - NSLog(@"Starting get for %@", ref); NSFileHandle* handle = [repository handleForArguments:[NSArray arrayWithObjects:@"show", ref, nil]]; [handle readLine]; diff --git a/PBWebController.m b/PBWebController.m index c8a4aab..3ad0176 100644 --- a/PBWebController.m +++ b/PBWebController.m @@ -20,7 +20,6 @@ { NSString *path = [NSString stringWithFormat:@"html/views/%@", startFile]; NSString* file = [[NSBundle mainBundle] pathForResource:@"index" ofType:@"html" inDirectory:path]; - NSLog(@"path: %@, file: %@", path, file); NSURLRequest * request = [NSURLRequest requestWithURL:[NSURL fileURLWithPath:file]]; callbacks = [NSMapTable mapTableWithKeyOptions:(NSPointerFunctionsObjectPointerPersonality|NSPointerFunctionsStrongMemory) valueOptions:(NSPointerFunctionsObjectPointerPersonality|NSPointerFunctionsStrongMemory)]; diff --git a/PBWebHistoryController.m b/PBWebHistoryController.m index aef28f6..03b56c9 100644 --- a/PBWebHistoryController.m +++ b/PBWebHistoryController.m @@ -80,10 +80,7 @@ - (void) removeRef:(RefMenuItem *)sender { - NSLog(@"Removing ref: %@", [sender ref]); - if ([historyController.repository removeRef: [sender ref]]) - NSLog(@"Deletion succesful!"); - else + if (![historyController.repository removeRef: [sender ref]]) NSLog(@"Deletion failed!"); }