Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor fixes and 64-bit support #1

Merged
7 commits merged into from Aug 25, 2011
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions Info.plist
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
Expand All @@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.6</string>
<string>0.6.1</string>
<key>CFBundleVersion</key>
<string>43</string>
<string>44</string>
<key>NSPrincipalClass</key>
<string>QSCommandLineTool</string>
<key>QSLoadImmediately</key>
Expand Down
3 changes: 2 additions & 1 deletion QSCommandLineTool.h
Expand Up @@ -7,7 +7,8 @@
//

#import <QSCore/QSObject.h>
#import "QSCommandLineTool.h"

#define kToolIsInstalled @"QSCommandLineToolInstalled"

@interface QSCommandLineTool : NSObject{
NSConnection *commandLineConnection;
Expand Down
6 changes: 3 additions & 3 deletions QSCommandLineTool.m
Expand Up @@ -54,8 +54,8 @@ - (BOOL)readSelectionFromPasteboard:(NSPasteboard *)pboard{
}

- (void)handleArguments:(NSArray *)arguments input:(NSData *)input directory:(NSString *)directory{
if (VERBOSE)
NSLog(@"recieved: %@\rArguments:%@\rInput:%@\rPath:%@\r",self,[arguments description],input,directory);
// if (DEBUG)
// NSLog(@"recieved: %@\rArguments:%@\rInput:%@\rPath:%@\r",self,[arguments description],input,directory);


NSString *options=nil;
Expand All @@ -69,7 +69,7 @@ - (void)handleArguments:(NSArray *)arguments input:(NSData *)input directory:(NS
}

if (input){
NSString *string=[[[NSString alloc]initWithData:input encoding:nil]autorelease];
NSString *string=[[[NSString alloc]initWithData:input encoding:NSUTF8StringEncoding] autorelease];
object=[QSObject objectWithString:string];
}else{
int i;
Expand Down