From: <haw...@us...> - 2008-10-30 18:20:46
|
Revision: 210 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=210&view=rev Author: hawkmoon Date: 2008-10-30 18:20:38 +0000 (Thu, 30 Oct 2008) Log Message: ----------- Added Automator Actions from Druware. These are no longer going to be commercial. Added Paths: ----------- trunk/Automator/ trunk/Automator/PostgreSQL Dynamic Query Action/ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/InfoPlist.strings trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/icon_query_tool.tiff trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/keyedobjects.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/classes.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/icon_query_tool.tiff trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/info.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/keyedobjects.nib trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.h trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.m trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/default.pbxuser trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action_Prefix.pch trunk/Automator/PostgreSQL Query Action/ trunk/Automator/PostgreSQL Query Action/English.lproj/ trunk/Automator/PostgreSQL Query Action/English.lproj/InfoPlist.strings trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/ trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/classes.nib trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/info.nib trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/keyedobjects.nib trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.xib trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/ trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/classes.nib trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/icon_query_tool.tiff trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/info.nib trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/keyedobjects.nib trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/odbc-tran60.tiff trunk/Automator/PostgreSQL Query Action/Info.plist trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.h trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.m trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/ trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/default.pbxuser trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/project.pbxproj trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action_Prefix.pch trunk/Automator/PostgreSQL Query Action/RegistrationDialog.h trunk/Automator/PostgreSQL Query Action/RegistrationDialog.m trunk/Automator/PostgreSQL Query Action/query-tool.icns Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/InfoPlist.strings =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/InfoPlist.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,25 @@ +{ + IBClasses = ( + { + ACTIONS = {completed = id; run = id; runNext = id; stop = id; }; + CLASS = AMAction; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = AMAppleScriptAction; + LANGUAGE = ObjC; + OUTLETS = {"_script" = NSAppleScript; }; + SUPERCLASS = AMBundleAction; + }, + { + ACTIONS = {onSelectConnection = id; }; + CLASS = AMBundleAction; + LANGUAGE = ObjC; + OUTLETS = {dataSourceList = NSPopUpButton; view = NSView; }; + SUPERCLASS = AMAction; + }, + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/icon_query_tool.tiff =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/icon_query_tool.tiff ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,23 @@ +<?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"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>723 255 356 240 0 0 1920 1178 </string> + <key>IBEditorPositions</key> + <dict> + <key>5</key> + <string>705 647 509 294 0 0 1920 1178 </string> + </dict> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBOldestOS</key> + <integer>4</integer> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> + <key>IBSystem Version</key> + <string>8R4061a</string> +</dict> +</plist> Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/keyedobjects.nib ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/classes.nib =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/classes.nib (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/classes.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,25 @@ +{ + IBClasses = ( + { + ACTIONS = {completed = id; run = id; runNext = id; stop = id; }; + CLASS = AMAction; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = AMAppleScriptAction; + LANGUAGE = ObjC; + OUTLETS = {"_script" = NSAppleScript; }; + SUPERCLASS = AMBundleAction; + }, + { + ACTIONS = {onSelectConnection = id; }; + CLASS = AMBundleAction; + LANGUAGE = ObjC; + OUTLETS = {dataSourceList = NSPopUpButton; view = NSView; }; + SUPERCLASS = AMAction; + }, + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/icon_query_tool.tiff =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/icon_query_tool.tiff ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/info.nib =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/info.nib (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/info.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,23 @@ +<?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"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>723 255 356 240 0 0 1920 1178 </string> + <key>IBEditorPositions</key> + <dict> + <key>5</key> + <string>705 647 509 294 0 0 1920 1178 </string> + </dict> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBOldestOS</key> + <integer>4</integer> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> + <key>IBSystem Version</key> + <string>8R4061a</string> +</dict> +</plist> Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/keyedobjects.nib ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,100 @@ +<?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"> +<plist version="1.0"> +<dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <false/> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>AMApplication</key> + <string>Database</string> + <key>AMCanShowSelectedItemsWhenRun</key> + <true/> + <key>AMCanShowWhenRun</key> + <true/> + <key>AMCategory</key> + <string>Database</string> + <key>AMDefaultParameters</key> + <dict/> + <key>AMDescription</key> + <dict> + <key>AMDAlert</key> + <string></string> + <key>AMDInput</key> + <string></string> + <key>AMDNote</key> + <string></string> + <key>AMDOptions</key> + <string>Provide the User Name, Password and connection information in addition to the query to run. The query will not work without a valid login and password.</string> + <key>AMDRelatedActions</key> + <string></string> + <key>AMDRequires</key> + <string>Requires the PGSQLKit, which should be part of the action pack bundle.</string> + <key>AMDResult</key> + <string>Returns an array of records, if appropriate.</string> + <key>AMDSummary</key> + <string>Executes a query against a PostgreSQL Database, and returns a list of data elements from the database.</string> + </dict> + <key>AMIconName</key> + <string>PGDAAP</string> + <key>AMKeywords</key> + <array/> + <key>AMName</key> + <string>PostgreSQL Dynamic Query Action</string> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>AMRequiredResources</key> + <array/> + <key>AMWarning</key> + <dict> + <key>Action</key> + <string>(* Action name to be suggested to add prior to this action to make the task safer, e.g. com.apple.Automator.CopyFiles, goes here. *)</string> + <key>ApplyButton</key> + <string>(* Button label for user to add proposed Action, e.g. Add. *)</string> + <key>IgnoreButton</key> + <string>(* Button label for user not to add proposed Action, e.g. Don't Add. *)</string> + <key>Level</key> + <integer>0</integer> + <key>Message</key> + <string>(* Warning message presented to user goes here. *)</string> + </dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>${EXECUTABLE_NAME}</string> + <key>CFBundleGetInfoString</key> + <string>PostgreSQL Query Action version 1.0, Copyright (c) 2007, Druware Software Designs.</string> + <key>CFBundleIconFile</key> + <string></string> + <key>CFBundleIdentifier</key> + <string>com.Druware.Automator.PostgreSQL_Dynamic_Query_Action</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>NSPrincipalClass</key> + <string>PostgreSQL_Dynamic_Query_Action</string> +</dict> +</plist> Added: trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.h =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.h (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.h 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,22 @@ +// +// PostgreSQL Dynamic Query Action.h +// PostgreSQL Dynamic Query Action +// +// Created by Andy Satori on 9/25/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import <Cocoa/Cocoa.h> +#import <Automator/AMBundleAction.h> +#import <PGSQLKit/PGSQLKit.h> + + +@interface PostgreSQL_Dynamic_Query_Action : AMBundleAction +{ + IBOutlet NSPopUpButton *dataSourceList; +} + +- (id)runWithInput:(id)input fromAction:(AMAction *)anAction error:(NSDictionary **)errorInfo; +- (IBAction)onSelectConnection:(id)sender; + +@end Added: trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.m =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.m (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.m 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,290 @@ +// +// PostgreSQL Dynamic Query Action.m +// PostgreSQL Dynamic Query Action +// +// Created by Andy Satori on 9/25/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import "PostgreSQL Dynamic Query Action.h" +#import <Security/Security.h> +#import <CoreFoundation/CoreFoundation.h> +#import <stdlib.h> + +@implementation PostgreSQL_Dynamic_Query_Action + +- (id)runWithInput:(id)input fromAction:(AMAction *)anAction error:(NSDictionary **)errorInfo +{ + // Add your code here, returning the data to be passed to the next action. + NSMutableDictionary *dict = [self parameters]; + + NSString *user = [dict valueForKey:@"userName"]; + NSString *password = [dict valueForKey:@"password"]; + + NSString *serverName = [dict valueForKey:@"serverName"]; + NSString *serverPort = [dict valueForKey:@"serverPort"]; + NSString *databaseName = [dict valueForKey:@"databaseName"]; + + NSString *query = [NSString stringWithString:input]; + + PGSQLConnection *connection = [[PGSQLConnection alloc] init]; + + [connection setUserName:user]; + [connection setPassword:password]; + + [connection setServer:serverName]; + [connection setPort:serverPort]; + [connection setDatabaseName:databaseName]; + + if ([connection connect]) + { + PGSQLRecordset *rs = [connection open:query]; + + NSMutableArray *result = [[NSMutableArray alloc] init]; + while (![rs isEOF]) + { + [result addObject:[rs dictionaryFromRecord]]; + [rs moveNext]; + } + [rs close]; + [connection close]; + + return result; + } else { + // setup the error dictionary + } + return nil; + // return input; +} + +- (NSString *)connectionNameForKeychainItem:(SecKeychainItemRef)item +{ + OSStatus status; + SecKeychainAttribute attributes[2]; + SecKeychainAttributeList list; + NSString *result = nil; + + attributes[0].tag = kSecLabelItemAttr; + + list.count = 1; + list.attr = attributes; + + status = SecKeychainItemCopyContent(item, NULL, &list, NULL, NULL); + + if (status == noErr) + { + char buffer[1024]; + SecKeychainAttribute attr; + int i; + + for (i = 0; i < list.count; i++) + { + attr = list.attr[i]; + if (attr.length < 1024) + { + strncpy(buffer, attr.data, attr.length); + buffer[attr.length] = '\0'; + result = [[NSString alloc] initWithFormat:@"%s", buffer]; + } + } + } + + SecKeychainItemFreeContent(&list, NULL); + return result; +} + +- (NSString *)setConnectionDetails:(NSMutableDictionary *)dict forKeychainItem:(SecKeychainItemRef)item +{ + OSStatus status; + SecKeychainAttribute attributes[4]; + SecKeychainAttributeList list; + NSString *where = nil; + char *password; + UInt32 passwordLen; + passwordLen = 1024; + password = malloc(passwordLen); + + attributes[0].tag = kSecServiceItemAttr; + attributes[1].tag = kSecAccountItemAttr; + + list.count = 2; + list.attr = attributes; + + [dict setValue:@"" forKey:@"serverName"]; + [dict setValue:@"" forKey:@"port"]; + [dict setValue:@"" forKey:@"userName"]; + [dict setValue:@"" forKey:@"password"]; + [dict setValue:@"" forKey:@"databaseName"]; + + // alter this to read the password (last two nulls) + status = SecKeychainItemCopyContent(item, NULL, &list, &passwordLen, + (void *)&password); + + if (status == noErr) + { + char buffer[1024]; + SecKeychainAttribute attr; + int i; + + for (i = 0; i < list.count; i++) + { + attr = list.attr[i]; + switch (attr.tag) + { + case kSecServiceItemAttr: + if (attr.length < 1024) + { + strncpy(buffer, attr.data, attr.length); + buffer[attr.length] = '\0'; + where = [[NSString alloc] initWithFormat:@"%s", buffer]; + + // split the where into the location elements + NSRange range1 = [where rangeOfString:@"@"]; + NSRange range2 = [where rangeOfString:@":"]; + NSRange range3 = NSMakeRange( + (range1.location + range1.length), + (range2.location - (range1.location + range1.length))); + + [dict setValue:[where substringWithRange:range3] forKey:@"serverName"]; + [dict setValue:[where substringFromIndex:range2.location + range2.length] forKey:@"serverPort"]; + [dict setValue:[where substringToIndex:range1.location] forKey:@"databaseName"]; + } + break; + case kSecAccountItemAttr: + if (attr.length < 1024) + { + strncpy(buffer, attr.data, attr.length); + buffer[attr.length] = '\0'; + NSString *who = [[NSString alloc] initWithFormat:@"%s", buffer]; + [dict setValue:who forKey:@"userName"]; + } + break; + default: + break; + } + } + + strncpy(buffer, password, passwordLen); + buffer[passwordLen] = '\0'; + // set the password + [dict setValue:[NSString stringWithFormat:@"%s", buffer]forKey:@"password"]; + } + + free(password); + + + return where; +} + +- (id)initWithDefinition:(NSDictionary *)dict fromArchive:(BOOL)archived +{ + self = [super initWithDefinition:dict fromArchive:archived]; + + if (self != nil) + { + + NSColor *unregisteredColor = [NSColor redColor]; + [dict setValue:@"Unregistered" forKey:@"registeredStatus"]; + [dict setValue:unregisteredColor forKey:@"registeredColor"]; + + + NSMutableArray *savedConnections = [[NSMutableArray alloc] init]; + NSMutableDictionary *dict = [[[NSMutableDictionary alloc] init] autorelease]; + [dict setValue:@"--none--" forKey:@"name"]; + [savedConnections addObject:dict]; + + PGSQLConnection *connection = [[PGSQLConnection alloc] init]; + + // populate the list from the keychain + OSStatus status; + SecKeychainSearchRef search; + SecKeychainAttribute attributes[1]; + SecKeychainAttributeList list; + SecKeychainItemRef item; + + attributes[0].tag = kSecCreatorItemAttr; + attributes[0].data = "pgds"; + attributes[0].length = 4; + + list.count = 1; + list.attr = attributes; + + status = SecKeychainSearchCreateFromAttributes(NULL, + kSecGenericPasswordItemClass, + &list, &search); + if (status != noErr) + { + NSLog(@"Error reading the keychain: %d", status); + } + + while (SecKeychainSearchCopyNext(search, &item) == noErr) + { + dict = [[[NSMutableDictionary alloc] init] autorelease]; + [dict setValue:[self connectionNameForKeychainItem:item] forKey:@"name"]; + [savedConnections addObject:dict]; + CFRelease(item); + } + CFRelease(search); + + [[self parameters] setObject:savedConnections forKey:@"savedConnectionList"]; + [connection release]; + connection = nil; + } + + return self; +} + + +- (IBAction)onSelectConnection:(id)sender +{ + NSLog(@"Selection Changed"); + + NSMutableDictionary *dict = [self parameters]; + + if ([dataSourceList indexOfSelectedItem] == 0) + { + [dict setValue:@"" forKey:@"serverName"]; + [dict setValue:@"" forKey:@"serverPort"]; + [dict setValue:@"" forKey:@"userName"]; + [dict setValue:@"" forKey:@"password"]; + [dict setValue:@"" forKey:@"databaseName"]; + return; + } + + NSString *selectedValue = [[dataSourceList selectedItem] title]; + + OSStatus status; + SecKeychainSearchRef search; + SecKeychainAttribute attributes[2]; + SecKeychainAttributeList list; + SecKeychainItemRef item; + + attributes[0].tag = kSecCreatorItemAttr; + attributes[0].data = "pgds"; + attributes[0].length = 4; + + attributes[1].tag = kSecLabelItemAttr; + attributes[1].data = (char *)[selectedValue cString]; + attributes[1].length = [selectedValue length]; + + list.count = 2; + list.attr = attributes; + + status = SecKeychainSearchCreateFromAttributes(NULL, + kSecGenericPasswordItemClass, + &list, &search); + if (status != noErr) + { + NSLog(@"Error reading the keychain: %d", status); + } + + while (SecKeychainSearchCopyNext(search, &item) == noErr) + { + [self setConnectionDetails:dict forKeychainItem:item]; + CFRelease(item); + } + + CFRelease(search); +} + +@end Added: trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/default.pbxuser =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/default.pbxuser (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/default.pbxuser 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,76 @@ +// !$*UTF8*$! +{ + 089C1669FE841209C02AAC07 = { + activeBuildStyle = 014CEA420018CDE011CA2923; + activeExecutable = 658A2E03067AB99300421F51; + activeTarget = 8D5B49AC048680CD000E48DA; + codeSenseManager = 658A2DD0067AB96600421F51; + executables = ( + 658A2E03067AB99300421F51, + ); + sourceControlManager = 658A2DCF067AB96600421F51; + userBuildSettings = { + }; + }; + 658A2DCF067AB96600421F51 = { + fallbackIsa = XCSourceControlManager; + isa = PBXSourceControlManager; + scmConfiguration = { + }; + scmType = ""; + }; + 658A2DD0067AB96600421F51 = { + indexTemplatePath = ""; + isa = PBXCodeSenseManager; + usesDefaults = 1; + wantsCodeCompletion = 1; + wantsCodeCompletionAutoPopup = 0; + wantsCodeCompletionAutoSuggestions = 1; + wantsCodeCompletionCaseSensitivity = 1; + wantsCodeCompletionListAlways = 0; + wantsCodeCompletionOnlyMatchingItems = 1; + wantsCodeCompletionParametersIncluded = 1; + wantsCodeCompletionPlaceholdersInserted = 1; + wantsCodeCompletionTabCompletes = 1; + wantsIndex = 1; + }; + 658A2E03067AB99300421F51 = { + activeArgIndex = 0; + activeArgIndices = ( + YES, + ); + argumentStrings = ( + "-action \"PostgreSQL Dynamic Query Action.action\"", + ); + configStateDict = { + }; + cppStopOnCatchEnabled = 0; + cppStopOnThrowEnabled = 0; + customDataFormattersEnabled = 1; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + dylibVariantSuffix = ""; + enableDebugStr = 1; + environmentEntries = ( + ); + isa = PBXExecutable; + launchableReference = 658A2E04067AB99300421F51; + libgmallocEnabled = 0; + name = Automator; + shlibInfoDictList = ( + ); + sourceDirectories = ( + ); + }; + 658A2E04067AB99300421F51 = { + isa = PBXFileReference; + lastKnownFileType = wrapper.application; + name = Automator.app; + path = /Applications/Automator.app; + refType = 0; + sourceTree = "<absolute>"; + }; + 8D5B49AC048680CD000E48DA = { + activeExec = 0; + }; +} Added: trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,321 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 431AC42F0CA9A806006A2B73 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 431AC42E0CA9A806006A2B73 /* Security.framework */; }; + 431AC4330CA9A837006A2B73 /* PGSQLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 431AC4320CA9A837006A2B73 /* PGSQLKit.framework */; }; + 431AC43C0CA9A9B8006A2B73 /* PGSQLKit.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 431AC4320CA9A837006A2B73 /* PGSQLKit.framework */; }; + 650E79E2067AB5AE00B4A4EC /* Automator.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 650E79E1067AB5AE00B4A4EC /* Automator.framework */; }; + 65181752067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m in Sources */ = {isa = PBXBuildFile; fileRef = 65181750067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m */; }; + 65C50ADF067A987800FE4393 /* main.nib in Resources */ = {isa = PBXBuildFile; fileRef = 65C50ADD067A987800FE4393 /* main.nib */; }; + 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; }; + 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 431AC4350CA9A83F006A2B73 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 431AC43C0CA9A9B8006A2B73 /* PGSQLKit.framework in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 089C1672FE841209C02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; + 089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; + 089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; + 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; + 32DBCF630370AF2F00C91783 /* PostgreSQL Dynamic Query Action_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PostgreSQL Dynamic Query Action_Prefix.pch"; sourceTree = "<group>"; }; + 431AC42E0CA9A806006A2B73 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /System/Library/Frameworks/Security.framework; sourceTree = "<absolute>"; }; + 431AC4320CA9A837006A2B73 /* PGSQLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PGSQLKit.framework; path = /Library/Frameworks/PGSQLKit.framework; sourceTree = "<absolute>"; }; + 650E79E1067AB5AE00B4A4EC /* Automator.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Automator.framework; path = /System/Library/Frameworks/Automator.framework; sourceTree = "<absolute>"; }; + 6518174F067A8D39005BD953 /* PostgreSQL Dynamic Query Action.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PostgreSQL Dynamic Query Action.h"; sourceTree = "<group>"; }; + 65181750067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "PostgreSQL Dynamic Query Action.m"; sourceTree = "<group>"; }; + 65C50ADE067A987800FE4393 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/main.nib; sourceTree = "<group>"; }; + 8D5B49B6048680CD000E48DA /* PostgreSQL Dynamic Query Action.action */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "PostgreSQL Dynamic Query Action.action"; sourceTree = BUILT_PRODUCTS_DIR; }; + 8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D5B49B3048680CD000E48DA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */, + 650E79E2067AB5AE00B4A4EC /* Automator.framework in Frameworks */, + 431AC42F0CA9A806006A2B73 /* Security.framework in Frameworks */, + 431AC4330CA9A837006A2B73 /* PGSQLKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 089C166AFE841209C02AAC07 /* PostgreSQL Dynamic Query Action */ = { + isa = PBXGroup; + children = ( + 08FB77AFFE84173DC02AAC07 /* Classes */, + 32C88E010371C26100C91783 /* Other Sources */, + 089C167CFE841241C02AAC07 /* Resources */, + 089C1671FE841209C02AAC07 /* Frameworks and Libraries */, + 19C28FB8FE9D52D311CA2CBB /* Products */, + ); + name = "PostgreSQL Dynamic Query Action"; + sourceTree = "<group>"; + }; + 089C1671FE841209C02AAC07 /* Frameworks and Libraries */ = { + isa = PBXGroup; + children = ( + 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */, + 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */, + ); + name = "Frameworks and Libraries"; + sourceTree = "<group>"; + }; + 089C167CFE841241C02AAC07 /* Resources */ = { + isa = PBXGroup; + children = ( + 65C50ADD067A987800FE4393 /* main.nib */, + 8D5B49B7048680CD000E48DA /* Info.plist */, + 089C167DFE841241C02AAC07 /* InfoPlist.strings */, + ); + name = Resources; + sourceTree = "<group>"; + }; + 08FB77AFFE84173DC02AAC07 /* Classes */ = { + isa = PBXGroup; + children = ( + 6518174F067A8D39005BD953 /* PostgreSQL Dynamic Query Action.h */, + 65181750067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m */, + ); + name = Classes; + sourceTree = "<group>"; + }; + 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 431AC4320CA9A837006A2B73 /* PGSQLKit.framework */, + 431AC42E0CA9A806006A2B73 /* Security.framework */, + 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */, + 650E79E1067AB5AE00B4A4EC /* Automator.framework */, + ); + name = "Linked Frameworks"; + sourceTree = "<group>"; + }; + 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 089C1672FE841209C02AAC07 /* Foundation.framework */, + 089C167FFE841241C02AAC07 /* AppKit.framework */, + ); + name = "Other Frameworks"; + sourceTree = "<group>"; + }; + 19C28FB8FE9D52D311CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D5B49B6048680CD000E48DA /* PostgreSQL Dynamic Query Action.action */, + ); + name = Products; + sourceTree = "<group>"; + }; + 32C88E010371C26100C91783 /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32DBCF630370AF2F00C91783 /* PostgreSQL Dynamic Query Action_Prefix.pch */, + ); + name = "Other Sources"; + sourceTree = "<group>"; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D5B49AC048680CD000E48DA /* PostgreSQL Dynamic Query Action */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4E59C33F08A97622001206A8 /* Build configuration list for PBXNativeTarget "PostgreSQL Dynamic Query Action" */; + buildPhases = ( + 8D5B49AF048680CD000E48DA /* Resources */, + 8D5B49B1048680CD000E48DA /* Sources */, + 8D5B49B3048680CD000E48DA /* Frameworks */, + 25038767080C6D0B00E1128B /* ShellScript */, + 431AC4350CA9A83F006A2B73 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "PostgreSQL Dynamic Query Action"; + productInstallPath = "$(HOME)/Library/Bundles"; + productName = "PostgreSQL Dynamic Query Action"; + productReference = 8D5B49B6048680CD000E48DA /* PostgreSQL Dynamic Query Action.action */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 089C1669FE841209C02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 4E59C34308A97622001206A8 /* Build configuration list for PBXProject "PostgreSQL Dynamic Query Action" */; + compatibilityVersion = "Xcode 2.4"; + hasScannedForEncodings = 1; + mainGroup = 089C166AFE841209C02AAC07 /* PostgreSQL Dynamic Query Action */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8D5B49AC048680CD000E48DA /* PostgreSQL Dynamic Query Action */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D5B49AF048680CD000E48DA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */, + 65C50ADF067A987800FE4393 /* main.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 25038767080C6D0B00E1128B /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/usr/bin/amlint \"${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}\""; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D5B49B1048680CD000E48DA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 65181752067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 089C167DFE841241C02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C167EFE841241C02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = "<group>"; + }; + 65C50ADD067A987800FE4393 /* main.nib */ = { + isa = PBXVariantGroup; + children = ( + 65C50ADE067A987800FE4393 /* English */, + ); + name = main.nib; + sourceTree = "<group>"; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 4E59C34008A97622001206A8 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PostgreSQL Dynamic Query Action_Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Library/Automator"; + OTHER_OSAFLAGS = "-x -t 0 -c 0"; + PRODUCT_NAME = "PostgreSQL Dynamic Query Action"; + WRAPPER_EXTENSION = action; + ZERO_LINK = YES; + }; + name = Debug; + }; + 4E59C34108A97622001206A8 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PostgreSQL Dynamic Query Action_Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Library/Automator"; + OTHER_OSAFLAGS = "-x -t 0 -c 0"; + PRODUCT_NAME = "PostgreSQL Dynamic Query Action"; + WRAPPER_EXTENSION = action; + }; + name = Release; + }; + 4E59C34408A97622001206A8 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Debug; + }; + 4E59C34508A97622001206A8 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4E59C33F08A97622001206A8 /* Build configuration list for PBXNativeTarget "PostgreSQL Dynamic Query Action" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4E59C34008A97622001206A8 /* Debug */, + 4E59C34108A97622001206A8 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4E59C34308A97622001206A8 /* Build configuration list for PBXProject "PostgreSQL Dynamic Query Action" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4E59C34408A97622001206A8 /* Debug */, + 4E59C34508A97622001206A8 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 089C1669FE841209C02AAC07 /* Project object */; +} Added: trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action_Prefix.pch =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action_Prefix.pch (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action_Prefix.pch 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'PostgreSQL Dynamic Query Action' target in the 'PostgreSQL Dynamic Query Action' project. +// + +#ifdef __OBJC__ + #import <Cocoa/Cocoa.h> +#endif Added: trunk/Automator/PostgreSQL Query Action/English.lproj/InfoPlist.strings =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Query Action/English.lproj/InfoPlist.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/classes.nib =================================================================== --- trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/classes.nib (rev 0) +++ trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/classes.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBClasses</key> + <array> + <dict> + <key>ACTIONS</key> + <dict> + <key>onCancel</key> + <string>id</string> + <key>onNext</key> + <string>id</string> + </dict> + <key>CLASS</key> + <string>RegistrationDialog</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>OUTLETS</key> + <dict> + <key>cancel</key> + <string>NSButton</string> + <key>emailAddress</key> + <string>NSTextField</string> + <key>next</key> + <string>NSButton</string> + <key>ownerName</key> + <string>NSTextField</string> + <key>product</key> + <string>NSTextField</string> + <key>purchaseConfirmationCode</key> + <string>NSTextField</string> + <key>purchaseDate</key> + <string>NSTextField</string> + <key>regPanel</key> + <string>NSWindow</string> + <key>registrationPageView</key> + <string>WebView</string> + <key>serialKey</key> + <string>NSTextView</string> + <key>validatedCode</key> + <string>NSTextField</string> + <key>version</key> + <string>NSTextField</string> + </dict> + <key>SUPERCLASS</key> + <string>NSObject</string> + </dict> + </array> + <key>IBVersion</key> + <string>1</string> +</dict> +</plist> Added: trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/info.nib =================================================================== --- trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/info.nib (rev 0) +++ trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/info.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBFramework Version</key> + <string>629</string> + <key>IBLastKnownRelativeProjectPath</key> + <string>../../PostgreSQL Query Action.xcodeproj</string> + <key>IBOldestOS</key> + <integer>5</integer> + <key>IBOpenObjects</key> + <array/> + <key>IBSystem Version</key> + <string>9B18</string> + <key>targetFramework</key> + <string>IBCocoaFramework</string> +</dict> +</plist> Added: trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/keyedobjects.nib ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.xib =================================================================== --- trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.xib (rev 0) +++ trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.xib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,2025 @@ +<?xml version="1.0" encoding="UTF-8"?> +<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.01"> + <data> + <int key="IBDocument.SystemTarget">1050</int> + <string key="IBDocument.SystemVersion">9A581</string> + <string key="IBDocument.InterfaceBuilderVersion">629</string> + <string key="IBDocument.AppKitVersion">949</string> + <string key="IBDocument.HIToolboxVersion">343.00</string> + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> + <bool key="EncodedWithXMLCoder">YES</bool> + <integer value="2"/> + </object> + <object class="NSArray" key="IBDocument.PluginDependencies"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string id="11537020">com.apple.WebKitIBPlugin</string> + <string id="211859359">com.apple.InterfaceBuilder.CocoaPlugin</string> + </object> + <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSCustomObject" id="1001"> + <string key="NSClassName">RegistrationDialog</string> + </object> + <object class="NSCustomObject" id="1003"> + <string key="NSClassName">FirstResponder</string> + </object> + <object class="NSCustomObject" id="1004"> + <string key="NSClassName">NSApplication</string> + </object> + <object class="NSWindowTemplate" id="1005"> + <int key="NSWindowStyleMask">15</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{196, 97}, {622, 413}}</string> + <int key="NSWTFlags">536870912</int> + <string key="NSWindowTitle">Window</string> + <string key="NSWindowClass" id="546964260">NSWindow</string> + <nil key="NSViewClass"/> + <object class="NSView" key="NSWindowView" id="1006"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSButton" id="872045429"> + <reference key="NSNextResponder" ref="1006"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{416, 12}, {96, 32}}</string> + <reference key="NSSuperview" ref="1006"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="1055781808"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string type="base64-UTF8" key="NSContents">TmV4dCA+Pg</string> + <object class="NSFont" key="NSSupport" id="471830988"> + <string key="NSName" id="722674430">LucidaGrande</string> + <double key="NSSize">1.300000e+01</double> + <int key="NSfFlags">1044</int> + </object> + <reference key="NSControlView" ref="872045429"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">129</int> + <string key="NSAlternateContents" id="937557411"/> + <reference key="NSKeyEquivalent" ref="937557411"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="347131844"> + <reference key="NSNextResponder" ref="1006"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{512, 12}, {96, 32}}</string> + <reference key="NSSuperview" ref="1006"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="599036324"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">Cancel</string> + <reference key="NSSupport" ref="471830988"/> + <reference key="NSControlView" ref="347131844"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">129</int> + <reference key="NSAlternateContents" ref="937557411"/> + <reference key="NSKeyEquivalent" ref="937557411"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTabView" id="831628695"> + <reference key="NSNextResponder" ref="1006"/> + <int key="NSvFlags">12</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSView" id="919037075"> + <reference key="NSNextResponder" ref="831628695"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="792674768"> + <reference key="NSNextResponder" ref="919037075"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{14, 290}, {38, 17}}</string> + <reference key="NSSuperview" ref="919037075"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="305275571"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272630784</int> + <string key="NSContents" id="850517223">Label</string> + <reference key="NSSupport" ref="471830988"/> + <reference key="NSControlView" ref="792674768"/> + <object class="NSColor" key="NSBackgroundColor" id="231559556"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName" id="1010369127">System</string> + <string key="NSColorName">controlColor</string> + <object class="NSColor" key="NSColor" id="33398921"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes> + </object> + </object> + <object class="NSColor" key="NSTextColor" id="630964601"> + <int key="NSColorSpace">6</int> + <reference key="NSCatalogName" ref="1010369127"/> + <string key="NSColorName">controlTextColor</string> + <object class="NSColor" key="NSColor" id="282358649"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MAA</bytes> + </object> + </object> + </object> + </object> + <object class="NSTextField" id="841941629"> + <reference key="NSNextResponder" ref="919037075"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{57, 288}, {240, 22}}</string> + <reference key="NSSuperview" ref="919037075"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="305448489"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">272630784</int> + <reference key="NSContents" ref="937557411"/> + <reference key="NSSupport" ref="471830988"/> + <reference key="NSControlView" ref="841941629"/> + <bool key="NSDrawsBackground">YES</bool> + <object class="NSColor" key="NSBackgroundColor" id="827781145"> + <int key="NSColorSpace">6</int> + <reference key="NSCatalogName" ref="1010369127"/> + <string key="NSColorName">textBackgroundColor</string> + <object class="NSColor" key="NSColor" id="807232683"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MQA</bytes> + </object> + </object> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">6</int> + <reference key="NSCatalogName" ref="1010369127"/> + <string key="NSColorName">textColor</string> + <reference key="NSColor" ref="282358649"/> + </object> + </object> + </object> + <object class="NSTextField" id="396734370"> + <reference key="NSNextResponder" ref="919037075"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{14, 263}, {38, 17}}</string> + <reference key="NSSuperview" ref="919037075"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="653731863"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272630784</int> + <reference key="NSContents" ref="850517223"/> + <reference key="NSSupport" ref="471830988"/> + <reference key="NSControlView" ref="396734370"/> + <reference key="NSBackgroundColor" ref="231559556"/> + <reference key="NSTextColor" ref="630964601"/> + </object> + </object> + <object class="NSScrollView" id="745173933"> + <reference key="NSNextResponder" ref="919037075"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="1053030900"> + <reference key="NSNextResponder" ref="745173933"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextView" id="550859200"> + <reference key="NSNextResponder" ref="1053030900"/> + <int key="NSvFlags">2322</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string id="896061464">Apple HTML pasteboard type</string> + <string>Apple PDF pasteboard type</string> + <string id="778264198">Apple PICT pasteboard type</string> + <string>Apple PNG pasteboard type</string> + <string id="731441325">Apple URL pasteboard type</string> + <string>CorePasteboardFlavorType 0x6D6F6F76</string> + <string>CorePasteboardFlavorType 0x75726C20</string> + <string id="590278409">NSColor pasteboard type</string> + <string id="988985960">NSFilenamesPboardType</string> + <string id="85645767">NSStringPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string id="988610349">NeXT RTFD pasteboard type</string> + <string id="382733965">NeXT Rich Text Format v1.0 pasteboard type</string> + <string id="46405372">NeXT TIFF v4.0 pasteboard type</string> + <string>NeXT font pasteboard type</string> + <string>NeXT ruler pasteboard type</string> + <string id="899111429">WebURLsWithTitlesPboardType</string> + </object> + </object> + <string key="NSFrameSize">{416, 96}</string> + <reference key="NSSuperview" ref="1053030900"/> + <reference key="NSWindow"/> + <object class="NSTextContainer" key="NSTextContainer" id="654640750"> + <object class="NSLayoutManager" key="NSLayoutManager"> + <object class="NSTextStorage" key="NSTextStorage"> + <object class="NSMutableString" key="NSString"> + <characters key="NS.bytes">Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Et harumd und lookum like Greek to me, dereud facilis est er expedit distinct. Nam liber te conscient to factor tum poen legum odioque civiuda</characters> + </object> + <object class="NSMutableArray" key="NSAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSDictionary"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string id="19313166">NSFont</string> + <string id="823970510">NSParagraphStyle</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSFont"> + <reference key="NSName" ref="722674430"/> + <double key="NSSize">1.000000e+01</double> + <int key="NSfFlags">2843</int> + </object> + <object class="NSParagraphStyle"> + <int key="NSAlignment">3</int> + <object class="NSArray" key="NSTabStops"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextTab" id="284743119"> + <double key="NSLocation">0.000000e+00</double> + </object> + <object class="NSTextTab" id="175164886"> + <double key="NSLocation">5.600000e+01</double> + </object> + <object class="NSTextTab" id="1058560956"> + <double key="NSLocation">1.120000e+02</double> + </object> + <object class="NSTextTab" id="167628693"> + <double key="NSLocation">1.680000e+02</double> + </object> + <object class="NSTextTab" id="452501994"> + <double key="NSLocation">2.240000e+02</double> + </object> + <object class="NSTextTab" id="936473673"> + <double key="NSLocation">2.800000e+02</double> + </object> + <object class="NSTextTab" id="296556441"> + <double key="NSLocation">3.360000e+02</double> + </object> + <object class="NSTextTab" id="686859414"> + <double key="NSLocation">3.920000e+02</double> + </object> + <object class="NSTextTab" id="127255504"> + <double key="NSLocation">4.480000e+02</double> + </object> + <object class="NSTextTab" id="194174709"> + <double key="NSLocation">5.040000e+02</double> + </object> + <object class="NSTextTab" id="107524810"> + <double key="NSLocation">5.600000e+02</double> + </object> + <object class="NSTextTab" id="2470231"> + <double key="NSLocation">6.160000e+02</double> + </object> + <object class="NSTextTab" id="266231615"> + <double key="NSLocation">6.720000e+02</double> + </object> + <object class="NSTextTab" id="979569239"> + <double key="NSLocation">7.280000e+02</double> + </object> + <object class="NSTextTab" id="940026642"> + <double key="NSLocation">7.840000e+02</double> + </object> + <object class="NSTextTab" id="738061603"> + <double key="NSLocation">8.400000e+02</d... [truncated message content] |