Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ApplicationController.m
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ - (void) dropService: (NSPasteboard*) aPasteBoard
else
{
*anError = @"Unknown data type in pasteboard.";
NSLog(@"Service invoked with no valid pasteboard data.", 0);
NSLog(@"Service invoked with no valid pasteboard data.");
}
}

Expand All @@ -141,7 +141,7 @@ - (void)handleURIEvent:(NSAppleEventDescriptor *)event
{
NSString *urlStr = [[event paramDescriptorForKeyword:keyDirectObject]
stringValue];
NSMutableArray *urls = [[NSMutableArray alloc] init];
NSMutableArray *urls = [[[NSMutableArray alloc] init] autorelease];
[urls addObject: urlStr];
[self runScriptWithArguments: urls];
}
Expand Down
25 changes: 14 additions & 11 deletions DropScript.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 42;
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -173,9 +173,16 @@
/* Begin PBXProject section */
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0420;
};
buildConfigurationList = 05FC290B115FE35700A9079C /* Build configuration list for PBXProject "DropScript" */;
compatibilityVersion = "Xcode 2.4";
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
en,
);
mainGroup = 29B97314FDCFA39411CA2CEA /* DropScript */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -252,24 +259,23 @@
05FC2905115FE35600A9079C /* Development */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
MACOSX_DEPLOYMENT_TARGET = 10.4;
SDKROOT = macosx;
};
name = Development;
};
05FC2906115FE35600A9079C /* Deployment */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
MACOSX_DEPLOYMENT_TARGET = 10.4;
SDKROOT = macosx;
};
name = Deployment;
};
05FC2907115FE35600A9079C /* Default */ = {
isa = XCBuildConfiguration;
buildSettings = {
MACOSX_DEPLOYMENT_TARGET = 10.4;
};
name = Default;
};
Expand All @@ -279,13 +285,11 @@
COPY_PHASE_STRIP = NO;
DEBUGGING_SYMBOLS = YES;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Applications/DropScript;
MACOSX_DEPLOYMENT_TARGET = 10.1;
PRODUCT_NAME = DropScript;
UNSTRIPPED_PRODUCT = YES;
WARNING_CFLAGS = "-Wall";
Expand All @@ -303,7 +307,6 @@
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Applications;
MACOSX_DEPLOYMENT_TARGET = 10.1;
PRODUCT_NAME = DropScript;
WARNING_CFLAGS = "-Wall";
WRAPPER_EXTENSION = app;
Expand Down