You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(7) |
Jul
(5) |
Aug
(24) |
Sep
(21) |
Oct
(2) |
Nov
|
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
(5) |
Mar
(6) |
Apr
(8) |
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(23) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
(7) |
Oct
(8) |
Nov
(8) |
Dec
(1) |
2009 |
Jan
(5) |
Feb
(6) |
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
|
2010 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
(1) |
Oct
(6) |
Nov
(2) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(16) |
Oct
(1) |
Nov
|
Dec
|
2012 |
Jan
(9) |
Feb
(6) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(3) |
Oct
(2) |
Nov
(3) |
Dec
|
From: <haw...@us...> - 2008-05-06 15:33:13
|
Revision: 194 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=194&view=rev Author: hawkmoon Date: 2008-05-06 08:25:04 -0700 (Tue, 06 May 2008) Log Message: ----------- Added Patch from D. Hoerl. Updated Copyright Modified Paths: -------------- trunk/PGSQLKit/English.lproj/InfoPlist.strings trunk/PGSQLKit/PGSQLConnection.m Modified: trunk/PGSQLKit/English.lproj/InfoPlist.strings =================================================================== (Binary files differ) Modified: trunk/PGSQLKit/PGSQLConnection.m =================================================================== --- trunk/PGSQLKit/PGSQLConnection.m 2008-04-11 18:27:28 UTC (rev 193) +++ trunk/PGSQLKit/PGSQLConnection.m 2008-05-06 15:25:04 UTC (rev 194) @@ -89,6 +89,7 @@ [krbsrvName release]; [connectionString release]; [errorDescription release]; + [commandStatus release]; [sqlLog release]; [super dealloc]; @@ -141,12 +142,15 @@ if (PQstatus(pgconn) == CONNECTION_BAD) { + errorDescription = [NSString stringWithFormat:@"%s", PQerrorMessage(pgconn)]; + [errorDescription retain]; + NSLog(@"Connection to database '%@' failed.", dbName); - NSLog(@"\t%s", PQerrorMessage(pgconn)); - errorDescription = [NSString stringWithFormat:@"%s", PQerrorMessage(pgconn)]; - [self appendSQLLog:[NSMutableString stringWithFormat:@"Connection to database %@ Failed.\n", dbName]]; - [self appendSQLLog:[NSMutableString stringWithFormat:@"Connection string: %@\n\n", connectionString]]; - + NSLog(@"\t%@", errorDescription); + [self appendSQLLog:[NSMutableString stringWithFormat:@"Connection to database %@ Failed.\n", dbName]]; // why NSMutableString ?? + [self appendSQLLog:[NSMutableString stringWithFormat:@"Connection string: %@\n\n", connectionString]]; // why NSMutableString ?? + // append error too?? + PQfinish(pgconn); pgconn = nil; isConnected = NO; @@ -204,6 +208,7 @@ NSNumber *recordCount = [[NSNumber alloc] initWithInt:[self execCommand:sql]]; [info setValue:recordCount forKey:@"RecordCount"]; [info setValue:[self lastError] forKey:@"Error"]; + [info setValue:[self lastCmdStatus] forKey:@"Status"]; [[NSNotificationCenter defaultCenter] postNotificationName:PGSQLCommandDidCompleteNotification object:nil @@ -215,22 +220,41 @@ { PGresult* res; + if(errorDescription) { + [errorDescription release]; + errorDescription = nil; + } + if(commandStatus) { + [commandStatus release]; + commandStatus = nil; + } if (pgconn == nil) { errorDescription = [NSString stringWithString:@"Object is not Connected."]; - return nil; + [errorDescription retain]; + return NO; } res = PQexec(pgconn, [sql cString]); + if (res == nil) + { + errorDescription = [NSString stringWithString:@"ERROR: No response (PGRES_FATAL_ERROR)"]; + [errorDescription retain]; + return NO; + } if (PQresultStatus(res) != PGRES_COMMAND_OK) { - errorDescription = [NSString stringWithString:@"Command failed."]; + errorDescription = [NSString stringWithFormat:@"%s", PQerrorMessage(pgconn)]; + [errorDescription retain]; + PQclear(res); return NO; } if (strlen(PQcmdStatus(res))) { - [self appendSQLLog:[NSString stringWithFormat:@"%s\n", PQcmdStatus(res)]]; + commandStatus = [NSString stringWithFormat:@"%s", PQcmdStatus(res)]; + [commandStatus retain]; + [self appendSQLLog:[NSString stringWithFormat:@"%@\n", commandStatus]]; } // results = [[[NSString alloc] initWithCString:PQcmdTuples(res)] autorelease]; @@ -343,7 +367,8 @@ default: { errorDescription = [NSString stringWithFormat:@"PostgreSQL Error: %s", PQresultErrorMessage(res)]; - [self appendSQLLog:[NSString stringWithFormat:@"PostgreSQL Error: %s\n", PQresultErrorMessage(res)]]; + [errorDescription retain]; + [self appendSQLLog:[NSString stringWithFormat:@"%@\n", errorDescription]]; PQclear(res); return nil; } @@ -488,6 +513,9 @@ - (NSString *)lastError { return errorDescription; } +-(NSString *)lastCmdStatus { + return commandStatus; +} - (NSMutableString *)sqlLog { return sqlLog; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2008-04-11 18:27:24
|
Revision: 193 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=193&view=rev Author: hawkmoon Date: 2008-04-11 11:27:28 -0700 (Fri, 11 Apr 2008) Log Message: ----------- Updated to PGSQLKit for 8.3.2 Release. Modified Paths: -------------- trunk/CreateDatabase/.DS_Store trunk/CreateDatabase/English.lproj/InfoPlist.strings trunk/CreateDatabase/Info.plist trunk/CreateDatabase/PGNewDBUI.h trunk/CreateDatabase/PGNewDBUI.m Modified: trunk/CreateDatabase/.DS_Store =================================================================== --- trunk/CreateDatabase/.DS_Store 2008-04-11 17:33:59 UTC (rev 192) +++ trunk/CreateDatabase/.DS_Store 2008-04-11 18:27:28 UTC (rev 193) @@ -1 +1 @@ - |
From: <haw...@us...> - 2008-04-11 17:34:10
|
Revision: 192 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=192&view=rev Author: hawkmoon Date: 2008-04-11 10:33:59 -0700 (Fri, 11 Apr 2008) Log Message: ----------- 8.3.1 Commit Modified Paths: -------------- trunk/PGSQLKit/PGSQLConnection.m trunk/PGSQLKit/PGSQLField.m trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj trunk/PGSQLKit/PGSQLRecordset.m Modified: trunk/PGSQLKit/PGSQLConnection.m =================================================================== --- trunk/PGSQLKit/PGSQLConnection.m 2007-10-18 15:31:50 UTC (rev 191) +++ trunk/PGSQLKit/PGSQLConnection.m 2008-04-11 17:33:59 UTC (rev 192) @@ -284,9 +284,6 @@ [self appendSQLLog: [NSString stringWithFormat:@"%@\n", [sql stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]]]; } - - - gettimeofday(&start, 0); res = PQexec(pgconn, [sql cString]); if (logInfo) Modified: trunk/PGSQLKit/PGSQLField.m =================================================================== --- trunk/PGSQLKit/PGSQLField.m 2007-10-18 15:31:50 UTC (rev 191) +++ trunk/PGSQLKit/PGSQLField.m 2008-04-11 17:33:59 UTC (rev 192) @@ -123,6 +123,7 @@ if (data != nil) { return ([data bytes] == 't'); } + return NO; } Modified: trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj =================================================================== --- trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj 2007-10-18 15:31:50 UTC (rev 191) +++ trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj 2008-04-11 17:33:59 UTC (rev 192) @@ -219,6 +219,7 @@ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "PGSQLKit" */; + compatibilityVersion = "Xcode 2.4"; hasScannedForEncodings = 1; mainGroup = 0867D691FE84028FC02AAC07 /* PGSQLKit */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; Modified: trunk/PGSQLKit/PGSQLRecordset.m =================================================================== --- trunk/PGSQLKit/PGSQLRecordset.m 2007-10-18 15:31:50 UTC (rev 191) +++ trunk/PGSQLKit/PGSQLRecordset.m 2008-04-11 17:33:59 UTC (rev 192) @@ -82,7 +82,7 @@ } currentRowIndex++; - if (currentRowIndex > rowCount) { + if (currentRowIndex >= rowCount) { isEOF = true; currentRecord = nil; return nil; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2007-10-18 15:31:51
|
Revision: 191 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=191&view=rev Author: hawkmoon Date: 2007-10-18 08:31:50 -0700 (Thu, 18 Oct 2007) Log Message: ----------- Initial Commit of the PGSQLKit Framework Added Paths: ----------- trunk/PGSQLKit/ trunk/PGSQLKit/English.lproj/ trunk/PGSQLKit/English.lproj/InfoPlist.strings trunk/PGSQLKit/English.lproj/PGSQL Login.nib/ trunk/PGSQLKit/English.lproj/PGSQL Login.nib/classes.nib trunk/PGSQLKit/English.lproj/PGSQL Login.nib/icon_query_tool.tiff trunk/PGSQLKit/English.lproj/PGSQL Login.nib/info.nib trunk/PGSQLKit/English.lproj/PGSQL Login.nib/keyedobjects.nib trunk/PGSQLKit/Info.plist trunk/PGSQLKit/PGSQLColumn.h trunk/PGSQLKit/PGSQLColumn.m trunk/PGSQLKit/PGSQLConnection.h trunk/PGSQLKit/PGSQLConnection.m trunk/PGSQLKit/PGSQLField.h trunk/PGSQLKit/PGSQLField.m trunk/PGSQLKit/PGSQLKit.h trunk/PGSQLKit/PGSQLKit.xcodeproj/ trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj trunk/PGSQLKit/PGSQLKit_Prefix.pch trunk/PGSQLKit/PGSQLLogin.h trunk/PGSQLKit/PGSQLLogin.m trunk/PGSQLKit/PGSQLRecord.h trunk/PGSQLKit/PGSQLRecord.m trunk/PGSQLKit/PGSQLRecordset.h trunk/PGSQLKit/PGSQLRecordset.m Added: trunk/PGSQLKit/English.lproj/InfoPlist.strings =================================================================== (Binary files differ) Property changes on: trunk/PGSQLKit/English.lproj/InfoPlist.strings ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/PGSQLKit/English.lproj/PGSQL Login.nib/classes.nib =================================================================== --- trunk/PGSQLKit/English.lproj/PGSQL Login.nib/classes.nib (rev 0) +++ trunk/PGSQLKit/English.lproj/PGSQL Login.nib/classes.nib 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,25 @@ +{ + IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + {CLASS = NSObject; LANGUAGE = ObjC; }, + { + ACTIONS = {onCancel = id; onConnectionDetails = id; onHelp = id; onLogin = id; }; + CLASS = PGSQLLogin; + LANGUAGE = ObjC; + OUTLETS = { + detailsView = NSView; + displayConnectionDetails = NSButton; + loginPanel = NSWindow; + loginPassword = NSSecureTextField; + loginUserName = NSTextField; + rememberConnection = NSButton; + savedConnections = NSComboBox; + serverDatabase = NSTextField; + serverName = NSTextField; + serverPort = NSTextField; + }; + SUPERCLASS = NSObject; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/PGSQLKit/English.lproj/PGSQL Login.nib/icon_query_tool.tiff =================================================================== (Binary files differ) Property changes on: trunk/PGSQLKit/English.lproj/PGSQL Login.nib/icon_query_tool.tiff ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/PGSQLKit/English.lproj/PGSQL Login.nib/info.nib =================================================================== --- trunk/PGSQLKit/English.lproj/PGSQL Login.nib/info.nib (rev 0) +++ trunk/PGSQLKit/English.lproj/PGSQL Login.nib/info.nib 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,16 @@ +<?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>31 507 473 512 0 0 1680 1028 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> + <key>IBSystem Version</key> + <string>8R2218</string> +</dict> +</plist> Added: trunk/PGSQLKit/English.lproj/PGSQL Login.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/PGSQLKit/English.lproj/PGSQL Login.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/PGSQLKit/Info.plist =================================================================== --- trunk/PGSQLKit/Info.plist (rev 0) +++ trunk/PGSQLKit/Info.plist 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,26 @@ +<?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>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>${EXECUTABLE_NAME}</string> + <key>CFBundleIconFile</key> + <string></string> + <key>CFBundleIdentifier</key> + <string>com.druwaresoftwaredesigns.pgsqlkit</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundlePackageType</key> + <string>FMWK</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>NSPrincipalClass</key> + <string></string> +</dict> +</plist> Added: trunk/PGSQLKit/PGSQLColumn.h =================================================================== --- trunk/PGSQLKit/PGSQLColumn.h (rev 0) +++ trunk/PGSQLKit/PGSQLColumn.h 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,27 @@ +// +// PGSQLColumn.h +// PGSQLKit +// +// Created by Andy Satori on 6/7/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import <Cocoa/Cocoa.h> + +@interface PGSQLColumn : NSObject { + NSString *name; + int index; + int type; + int size; + int offset; +} + +-(id)initWithResult:(void *)result atIndex:(int)columnIndex; + +-(NSString *)name; +-(int)index; +-(int)type; +-(int)size; +-(int)offset; + +@end Added: trunk/PGSQLKit/PGSQLColumn.m =================================================================== --- trunk/PGSQLKit/PGSQLColumn.m (rev 0) +++ trunk/PGSQLKit/PGSQLColumn.m 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,52 @@ +// +// PGSQLColumn.m +// PGSQLKit +// +// Created by Andy Satori on 6/7/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import "PGSQLColumn.h" +#include "libpq-fe.h" + +@implementation PGSQLColumn + +-(id)initWithResult:(void *)result atIndex:(int)columnIndex +{ + [super init]; + + index = columnIndex; + name = [[[[NSString alloc] initWithCString:PQfname(result, columnIndex)] retain] autorelease]; + type = PQftype(result, columnIndex); + size = PQfsize(result, columnIndex); + offset = PQfmod(result, columnIndex); + + return self; +} + +- (NSString *)name { + return [[name retain] autorelease]; +} + +-(int)index +{ + return index; +} + +-(int)type; +{ + return type; +} + +-(int)size +{ + return size; +} + +-(int)offset +{ + return offset; +} + +@end + Added: trunk/PGSQLKit/PGSQLConnection.h =================================================================== --- trunk/PGSQLKit/PGSQLConnection.h (rev 0) +++ trunk/PGSQLKit/PGSQLConnection.h 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,81 @@ +// +// PGSQLConnection.h +// PGSQLKit +// +// Created by Andy Satori on 5/8/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import <Cocoa/Cocoa.h> +#import "PGSQLRecordset.h" + +@interface PGSQLConnection : NSObject { + BOOL isConnected; + + NSString *connectionString; + + NSString *errorDescription; + NSMutableString *sqlLog; + + /* platform specific definitions */ + + BOOL logInfo; + BOOL logSQL; + + void *pgconn; + + NSString *host; + NSString *port; + NSString *options; + NSString *tty; // ignored now + NSString *dbName; + NSString *userName; + NSString *password; + NSString *sslMode; // allow, prefer, require + NSString *service; // service name + NSString *krbsrvName; +} + ++(id)defaultConnection; + +-(BOOL)close; +-(BOOL)connect; +-(void)connectAsync; +-(BOOL)execCommand:(NSString *)sql; +-(void)execCommandAsync:(NSString *)sql; +-(PGSQLRecordset *)open:(NSString *)sql; +-(void)openAsync:(NSString *)sql; +-(NSMutableString *)makeConnectionString; + +-(BOOL)isConnected; + +-(NSString *)connectionString; +-(void)setConnectionString:(NSString *)value; + +-(NSString *)userName; +-(void)setUserName:(NSString *)value; + +-(NSString *)password; +-(void)setPassword:(NSString *)value; + +-(NSString *)server; +-(void)setServer:(NSString *)value; + +-(NSString *)port; +-(void)setPort:(NSString *)value; + +-(NSString *)databaseName; +-(void)setDatabaseName:(NSString *)value; + +-(NSString *)lastError; + +-(NSMutableString *)sqlLog; +-(void)appendSQLLog:(NSString *)value; + + +FOUNDATION_EXPORT NSString * const PGSQLConnectionDidCompleteNotification; +FOUNDATION_EXPORT NSString * const PGSQLCommandDidCompleteNotification; + +@end + +static PGSQLConnection *globalConnection; Added: trunk/PGSQLKit/PGSQLConnection.m =================================================================== --- trunk/PGSQLKit/PGSQLConnection.m (rev 0) +++ trunk/PGSQLKit/PGSQLConnection.m 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,510 @@ +// +// PGSQLConnection.m +// PGSQLKit +// +// Created by Andy Satori on 5/8/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import "PGSQLConnection.h" +#include "libpq-fe.h" +#import <sys/time.h> +#import <Security/Security.h> +#import <CoreFoundation/CoreFoundation.h> +#import <stdlib.h> + +// When a pqlib notice is raised this function gets called +void +handle_pq_notice(void *arg, const char *message) +{ + PGSQLConnection *theConn = (PGSQLConnection *) arg; + //NSLog(@"%s", message); + [theConn appendSQLLog:[NSString stringWithFormat: @"%s\n", message]]; +} + +@implementation PGSQLConnection + +NSString *const PGSQLConnectionDidCompleteNotification = @"PGSQLConnectionDidCompleteNotification"; +NSString *const PGSQLCommandDidCompleteNotification = @"PGSQLCommandDidCompleteNotification"; + +#pragma mark Class Methods + ++(id)defaultConnection +{ + if (globalConnection == nil) + { + return nil; + } + + return globalConnection; +} + +#pragma mark Instance Methods + +-(id)init +{ + self = [super init]; + + if (self != nil) { + isConnected = NO; + errorDescription = nil; + sqlLog = [[NSMutableString alloc] init]; + + pgconn = nil; + host = [[NSString alloc] initWithString:@"localhost"]; + port = [[NSString alloc] initWithString:@"5432"]; + options = nil; + tty = nil; + dbName = [[NSString alloc] initWithString:@"template1"]; + userName = nil; + password = nil; + sslMode = nil; + service = nil; + krbsrvName = nil; + connectionString = nil; + + if (globalConnection == nil) + { + [self retain]; + globalConnection = self; + } + } + + return self; +} + +-(void)dealloc +{ + [self close]; + + [host release]; + [port release]; + [options release]; + [tty release]; + [dbName release]; + [userName release]; + [password release]; + [sslMode release]; + [service release]; + [krbsrvName release]; + [connectionString release]; + [errorDescription release]; + [sqlLog release]; + + [super dealloc]; +} + + +- (void)connectAsync +{ + // perform the connection on a thread + [NSThread detachNewThreadSelector:@selector(performConnectThread) toTarget:self withObject:nil]; +} + +- (void)performConnectThread +{ + // allocate the thread, begin the connection and send the notification when done. + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + + NSMutableDictionary *info = [[NSMutableDictionary alloc] init]; + + if ([self connect]) + { + [info setValue:nil forKey:@"Error"]; + } else { + [info setValue:[self lastError] forKey:@"Error"]; + } + + [[NSNotificationCenter defaultCenter] postNotificationName:PGSQLConnectionDidCompleteNotification + object:nil + userInfo:info]; + [pool release]; +} + + +- (BOOL)connect { + + // replace with postgres connect code + [self close]; + + if (connectionString == nil) + { + connectionString = [self makeConnectionString]; + [connectionString retain]; + } + NSAssert( (connectionString != nil), @"Attempted to connect to PostgreSQL with empty connectionString."); + pgconn = (PGconn *)PQconnectdb([connectionString cString]); + if (PQoptions(pgconn)) + { + NSLog(@"Options: %s", PQoptions(pgconn)); + } + + if (PQstatus(pgconn) == CONNECTION_BAD) + { + NSLog(@"Connection to database '%@' failed.", dbName); + NSLog(@"\t%s", PQerrorMessage(pgconn)); + errorDescription = [NSString stringWithFormat:@"%s", PQerrorMessage(pgconn)]; + [self appendSQLLog:[NSMutableString stringWithFormat:@"Connection to database %@ Failed.\n", dbName]]; + [self appendSQLLog:[NSMutableString stringWithFormat:@"Connection string: %@\n\n", connectionString]]; + + PQfinish(pgconn); + pgconn = nil; + isConnected = NO; + return NO; + } + + // TODO if good connection should we remove password from memory + // or should it be encrypted? + + // TODO password should be asked for in dialog used and then erased? + + if (errorDescription) + { + [errorDescription release]; + errorDescription = nil; + } + // set up notification + PQsetNoticeProcessor(pgconn, handle_pq_notice, self); + + if (sqlLog != nil) { + [sqlLog release]; + } + sqlLog = [[NSMutableString alloc] init]; + [self appendSQLLog:[NSMutableString stringWithFormat:@"Connected to database %@ on %@.\n", dbName, [[NSCalendarDate calendarDate] description]]]; + isConnected = YES; + return YES; +} + +- (BOOL)close +{ + if (pgconn == nil) { return NO; } + if (isConnected == NO) { return NO; } + + [self appendSQLLog:[NSMutableString stringWithString:@"Disconnected from database.\n"]]; + PQfinish(pgconn); + pgconn = nil; + isConnected = NO; + return YES; +} + +- (void)execCommandAsync:(NSString *)sql +{ + // perform the connection on a thread + [NSThread detachNewThreadSelector:@selector(performExecCommand:) toTarget:self withObject:sql]; +} + +- (void)performExecCommand:(id)sqlCommand +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + + NSString *sql = (NSString *)sqlCommand; + + NSMutableDictionary *info = [[NSMutableDictionary alloc] init]; + + NSNumber *recordCount = [[NSNumber alloc] initWithInt:[self execCommand:sql]]; + [info setValue:recordCount forKey:@"RecordCount"]; + [info setValue:[self lastError] forKey:@"Error"]; + + [[NSNotificationCenter defaultCenter] postNotificationName:PGSQLCommandDidCompleteNotification + object:nil + userInfo:info]; + [pool release]; +} + +- (BOOL)execCommand:(NSString *)sql +{ + PGresult* res; + + if (pgconn == nil) + { + errorDescription = [NSString stringWithString:@"Object is not Connected."]; + return nil; + } + + res = PQexec(pgconn, [sql cString]); + if (PQresultStatus(res) != PGRES_COMMAND_OK) + { + errorDescription = [NSString stringWithString:@"Command failed."]; + PQclear(res); + return NO; + } + if (strlen(PQcmdStatus(res))) + { + [self appendSQLLog:[NSString stringWithFormat:@"%s\n", PQcmdStatus(res)]]; + } +// results = [[[NSString alloc] initWithCString:PQcmdTuples(res)] autorelease]; + + PQclear(res); + return YES; +} + +- (void)openAsync:(NSString *)sql +{ + // perform the connection on a thread + [NSThread detachNewThreadSelector:@selector(performOpen:) toTarget:self withObject:sql]; +} + +- (void)performOpen:(id)sqlCommand +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + + NSString *sql = (NSString *)sqlCommand; + + NSMutableDictionary *info = [[NSMutableDictionary alloc] init]; + + PGSQLRecordset *rs = [self open:sql]; + [info setValue:rs forKey:@"Recordset"]; + [info setValue:[self lastError] forKey:@"Error"]; + + [[NSNotificationCenter defaultCenter] postNotificationName:PGSQLCommandDidCompleteNotification + object:nil + userInfo:info]; + [pool release]; +} + +- (PGSQLRecordset *)open:(NSString *)sql +{ + struct timeval start, finished; + double elapsed_time; + long seconds, usecs; + PGresult* res; + + [errorDescription release]; + errorDescription = nil; + + if (pgconn == nil) + { + errorDescription = @"Object is not Connected."; + [self appendSQLLog:@"Object is not Connected.\n"]; + return nil; + } + + if (logSQL) + { + [self appendSQLLog: [NSString stringWithFormat:@"%@\n", [sql stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]]]; + } + + + + + gettimeofday(&start, 0); + res = PQexec(pgconn, [sql cString]); + if (logInfo) + { + gettimeofday(&finished, 0); + seconds = finished.tv_sec - start.tv_sec; + usecs = finished.tv_usec - start.tv_usec; + if (usecs < 0) + { + seconds--; + usecs = usecs + 1000000; + } + elapsed_time = (double) seconds *1000.0 + (double) usecs *0.001; + [self appendSQLLog: [NSString stringWithFormat: @"Completed in %d milliseconds.\n", (long) elapsed_time]]; + } + switch (PQresultStatus(res)) + { + case PGRES_TUPLES_OK: + { + // build the recordset + PGSQLRecordset *rs = [[[PGSQLRecordset alloc] initWithResult:res] autorelease]; + + if (logInfo) + { + long nRecords = PQntuples(res); + [self appendSQLLog:[NSString stringWithFormat: @"%d rows affected.\n\n", nRecords]]; + } + + return rs; + break; + } + + case PGRES_COMMAND_OK: + { + if (logInfo) + { + [self appendSQLLog:@"Query ran successfully.\n"]; + } + PQclear(res); + return nil; + break; + } + + case PGRES_EMPTY_QUERY: + { + [self appendSQLLog:@"Postgres reported Empty Query\n"]; + PQclear(res); + return nil; + break; + } + + case PGRES_COPY_OUT: + case PGRES_COPY_IN: + case PGRES_BAD_RESPONSE: + case PGRES_NONFATAL_ERROR: + case PGRES_FATAL_ERROR: + default: + { + errorDescription = [NSString stringWithFormat:@"PostgreSQL Error: %s", PQresultErrorMessage(res)]; + [self appendSQLLog:[NSString stringWithFormat:@"PostgreSQL Error: %s\n", PQresultErrorMessage(res)]]; + PQclear(res); + return nil; + } + } +} + +-(NSMutableString *)makeConnectionString +{ + NSMutableString *connStr = [[[NSMutableString alloc] init] autorelease]; + + if (connectionString) + { + [connStr appendString:connectionString]; + return connStr; + } + if (host) + { + [connStr appendFormat:@" host='%@' ", host]; + } + if (port) + { + [connStr appendFormat:@" port='%@' ", port]; + } + if (options) + { + [connStr appendFormat:@" options='%@' ", options]; + } + if (dbName) + { + [connStr appendFormat:@" dbname='%@' ", dbName]; + } + if (userName) + { + [connStr appendFormat:@" user='%@' ", userName]; + } + if (password) + { + [connStr appendFormat:@" password='%@' ", password]; + } + if (sslMode) + { + [connStr appendFormat:@" sslmode='%@' ", sslMode]; + } + if (service) + { + [connStr appendFormat:@" service='%@' ", service]; + } + if (krbsrvName) + { + [connStr appendFormat:@" krbsrvname='%@' ", krbsrvName]; + } + return connStr; +} + + + +#pragma mark Dictionary Tools + +- (BOOL)insertIntoTable:(NSString *)table fromDictionary:(NSDictionary *)dict +{ + return NO; +} + +- (BOOL)updateTable:(NSString *)table fromDictionary:(NSDictionary *)dict +{ + return NO; +} + +#pragma mark Property Accessors + +- (BOOL)isConnected { + return isConnected; +} + +- (NSString *)connectionString { + return [[connectionString retain] autorelease]; +} + +- (void)setConnectionString:(NSString *)value { + if (connectionString != value) { + [connectionString release]; + connectionString = [value copy]; + } +} + +- (NSString *)userName { + return [[userName retain] autorelease]; +} + +- (void)setUserName:(NSString *)value { + if (userName != value) { + [userName release]; + userName = [value copy]; + } +} + +- (NSString *)password { + return [[password retain] autorelease]; +} + +- (void)setPassword:(NSString *)value { + if (password != value) { + [password release]; + password = [value copy]; + } +} + +- (NSString *)server { + return [[host retain] autorelease]; +} + +- (void)setServer:(NSString *)value { + if (host != value) { + [host release]; + host = [value copy]; + } +} + +-(NSString *)port { + return [[port retain] autorelease]; +} + +-(void)setPort:(NSString *)value { + if (port != value) { + [port release]; + port = [value copy]; + } +} + +-(NSString *)databaseName { + return [[dbName retain] autorelease]; +} + +-(void)setDatabaseName:(NSString *)value { + if (dbName != value) { + [dbName release]; + dbName = [value copy]; + } +} + + +- (NSString *)lastError { + return errorDescription; +} + +- (NSMutableString *)sqlLog { + return sqlLog; +} + +- (void)appendSQLLog:(NSString *)value { + if (sqlLog == nil) + { + sqlLog = [[NSMutableString alloc] initWithString:value]; + } + else + { + [sqlLog appendString:value]; + } +} + +@end Added: trunk/PGSQLKit/PGSQLField.h =================================================================== --- trunk/PGSQLKit/PGSQLField.h (rev 0) +++ trunk/PGSQLKit/PGSQLField.h 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,30 @@ +// +// PGSQLField.h +// PGSQLKit +// +// Created by Andy Satori on 6/7/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import <Cocoa/Cocoa.h> +#import "PGSQLColumn.h" + + +@interface PGSQLField : NSObject { + NSData *data; + + PGSQLColumn *column; +} + +-(id)initWithResult:(void *)result forColumn:(PGSQLColumn *)forColumn + atRow:(int)atRow; +-(NSString *)asString; +-(NSNumber *)asNumber; +-(long)asLong; +-(NSDate *)asDate; +-(NSData *)asData; +-(BOOL)asBoolean; + +-(BOOL)isNull; + +@end Added: trunk/PGSQLKit/PGSQLField.m =================================================================== --- trunk/PGSQLKit/PGSQLField.m (rev 0) +++ trunk/PGSQLKit/PGSQLField.m 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,134 @@ +// +// PGSQLField.m +// PGSQLKit +// +// Created by Andy Satori on 6/7/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import "PGSQLField.h" +#include "libpq-fe.h" + +@implementation PGSQLField + +-(id)initWithResult:(void *)result forColumn:(PGSQLColumn *)forColumn + atRow:(int)atRow +{ + [super init]; + + data = nil; + + if (PQgetisnull(result, atRow, [column index]) == 1) { + return self; + } + + int iLen; + char *szBuf; + + column = forColumn; + iLen = PQgetlength(result, atRow, [column index]) + 1; + + // this may have to be adjust if the column type is not 0 (eg, it's binary) + szBuf = PQgetvalue(result, atRow, [column index]); + data = nil; + if (iLen > 0) { + data = [[NSData alloc] initWithBytes:szBuf length:iLen]; + } + + return self; +} + +-(NSString *)asString +{ + if (data != nil) { + if ([data length] <= 0) + { + return nil; + } + return [[NSString alloc] initWithBytes:[data bytes] length:[data length] encoding:NSMacOSRomanStringEncoding]; + } + return @""; +} + + +-(NSNumber *)asNumber +{ + if (data != nil) { + if ([data length] <= 0) + { + return nil; + } + + NSNumber *value = [[NSNumber alloc] initWithFloat: + [[[NSString alloc] initWithBytes:[data bytes] length:[data length] encoding:NSMacOSRomanStringEncoding] floatValue]]; + return value; + } + return nil; +} + +-(long)asLong +{ + if (data != nil) { + if ([data length] <= 0) + { + return nil; + } + + NSString *value = [[NSString alloc] initWithBytes:[data bytes] length:[data length] encoding:NSMacOSRomanStringEncoding]; + + return (long)[[NSNumber numberWithFloat:[value floatValue]] longValue]; + } + return 0; +} + +-(NSDate *)asDate +{ + if (data != nil) { + if ([data length] <= 0) + { + return nil; + } + + NSString *value = [NSString stringWithCString:(char *)[data bytes] + encoding:NSMacOSRomanStringEncoding]; + if ([value rangeOfString:@"."].location != NSNotFound) + { + value = [NSString stringWithFormat:@"%@ +0000", [value substringToIndex:[value rangeOfString:@"."].location]]; + } else { + + value = [NSString stringWithFormat:@"%@ +0000", value]; + } + NSDate *newDate = [[NSDate alloc] initWithString:value]; + + return newDate; + } + return nil; +} + +-(NSData *)asData +{ + if (data != nil) { + if ([data length] <= 0) + { + return nil; + } + + return [[[[NSData alloc] initWithData:data] autorelease] retain]; + } + return nil; +} + +-(BOOL)asBoolean +{ + if (data != nil) { + return ([data bytes] == 't'); + } +} + + +-(BOOL)isNull +{ + return (data == nil); +} + +@end; Added: trunk/PGSQLKit/PGSQLKit.h =================================================================== --- trunk/PGSQLKit/PGSQLKit.h (rev 0) +++ trunk/PGSQLKit/PGSQLKit.h 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,15 @@ +/* + * PGSQLKit.h + * PGSQLKit + * + * Created by Andy Satori on 5/2/07. + * Copyright 2007 Druware Software Designs. All rights reserved. + * + */ + +#import "PGSQLLogin.h" +#import "PGSQLConnection.h" + + + + Added: trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj =================================================================== --- trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj (rev 0) +++ trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,397 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 4313978C0C31BAF600E596BA /* PGSQLColumn.h in Headers */ = {isa = PBXBuildFile; fileRef = 439F7B670C1894AA001CA5A4 /* PGSQLColumn.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4313978D0C31BAF600E596BA /* PGSQLColumn.m in Sources */ = {isa = PBXBuildFile; fileRef = 439F7B680C1894AA001CA5A4 /* PGSQLColumn.m */; }; + 431397B60C31BC1000E596BA /* PGSQLField.m in Sources */ = {isa = PBXBuildFile; fileRef = 439F7B600C18947C001CA5A4 /* PGSQLField.m */; }; + 431397B70C31BC1000E596BA /* PGSQLField.h in Headers */ = {isa = PBXBuildFile; fileRef = 439F7B5F0C18947C001CA5A4 /* PGSQLField.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4324B38A0BF36227001F6E5E /* PGSQLKit.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* PGSQLKit.framework */; }; + 432A8C110C47074F00CA8F33 /* PGSQLKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 439656720BE8C779003EDC3D /* PGSQLKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 43318B370BF1227A008C2560 /* PGSQL Login.nib in Resources */ = {isa = PBXBuildFile; fileRef = 43318B350BF1227A008C2560 /* PGSQL Login.nib */; }; + 4349A2B20C31D47100DACE65 /* PGSQLRecord.h in Headers */ = {isa = PBXBuildFile; fileRef = 439F7B630C189495001CA5A4 /* PGSQLRecord.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4349A2B30C31D47100DACE65 /* PGSQLRecord.m in Sources */ = {isa = PBXBuildFile; fileRef = 439F7B640C189495001CA5A4 /* PGSQLRecord.m */; }; + 4349A2BB0C31D57700DACE65 /* PGSQLRecordset.h in Headers */ = {isa = PBXBuildFile; fileRef = 4325688D0C0D122F007E8DE8 /* PGSQLRecordset.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4349A2BC0C31D57800DACE65 /* PGSQLRecordset.m in Sources */ = {isa = PBXBuildFile; fileRef = 4325688E0C0D122F007E8DE8 /* PGSQLRecordset.m */; }; + 4349A2C90C31DD5700DACE65 /* PGSQLConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = 43318B520BF16497008C2560 /* PGSQLConnection.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4349A2CA0C31DD5800DACE65 /* PGSQLConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 43318B530BF16497008C2560 /* PGSQLConnection.m */; }; + 4349A2E60C31EAA700DACE65 /* PGSQLLogin.h in Headers */ = {isa = PBXBuildFile; fileRef = 43CBC57C0BF11AC300A5E5AF /* PGSQLLogin.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4349A2E70C31EAA800DACE65 /* PGSQLLogin.m in Sources */ = {isa = PBXBuildFile; fileRef = 43CBC57D0BF11AC300A5E5AF /* PGSQLLogin.m */; }; + 439774040C7D29140009F0B4 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 439774030C7D29140009F0B4 /* Security.framework */; }; + 8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C1666FE841158C02AAC07 /* InfoPlist.strings */; }; + 8DC2EF570486A6940098B216 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 4324B36A0BF36104001F6E5E /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /Library/Frameworks; + dstSubfolderSpec = 0; + files = ( + 4324B38A0BF36227001F6E5E /* PGSQLKit.framework in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; + 0867D6A5FE840307C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; + 089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; + 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; + 32DBCF5E0370ADEE00C91783 /* PGSQLKit_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGSQLKit_Prefix.pch; sourceTree = "<group>"; }; + 4325688D0C0D122F007E8DE8 /* PGSQLRecordset.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGSQLRecordset.h; sourceTree = "<group>"; }; + 4325688E0C0D122F007E8DE8 /* PGSQLRecordset.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PGSQLRecordset.m; sourceTree = "<group>"; }; + 43318B360BF1227A008C2560 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = "English.lproj/PGSQL Login.nib"; sourceTree = "<group>"; }; + 43318B520BF16497008C2560 /* PGSQLConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGSQLConnection.h; sourceTree = "<group>"; }; + 43318B530BF16497008C2560 /* PGSQLConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PGSQLConnection.m; sourceTree = "<group>"; }; + 439656720BE8C779003EDC3D /* PGSQLKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGSQLKit.h; sourceTree = "<group>"; }; + 439774030C7D29140009F0B4 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Security.framework; sourceTree = "<absolute>"; }; + 439F7B5F0C18947C001CA5A4 /* PGSQLField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGSQLField.h; sourceTree = "<group>"; }; + 439F7B600C18947C001CA5A4 /* PGSQLField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PGSQLField.m; sourceTree = "<group>"; }; + 439F7B630C189495001CA5A4 /* PGSQLRecord.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGSQLRecord.h; sourceTree = "<group>"; }; + 439F7B640C189495001CA5A4 /* PGSQLRecord.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PGSQLRecord.m; sourceTree = "<group>"; }; + 439F7B670C1894AA001CA5A4 /* PGSQLColumn.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGSQLColumn.h; sourceTree = "<group>"; }; + 439F7B680C1894AA001CA5A4 /* PGSQLColumn.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PGSQLColumn.m; sourceTree = "<group>"; }; + 43CBC57C0BF11AC300A5E5AF /* PGSQLLogin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGSQLLogin.h; sourceTree = "<group>"; }; + 43CBC57D0BF11AC300A5E5AF /* PGSQLLogin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PGSQLLogin.m; sourceTree = "<group>"; }; + 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; }; + 8DC2EF5B0486A6940098B216 /* PGSQLKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PGSQLKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D2F7E79907B2D74100F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8DC2EF560486A6940098B216 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8DC2EF570486A6940098B216 /* Cocoa.framework in Frameworks */, + 439774040C7D29140009F0B4 /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 034768DFFF38A50411DB9C8B /* Products */ = { + isa = PBXGroup; + children = ( + 8DC2EF5B0486A6940098B216 /* PGSQLKit.framework */, + ); + name = Products; + sourceTree = "<group>"; + }; + 0867D691FE84028FC02AAC07 /* PGSQLKit */ = { + isa = PBXGroup; + children = ( + 08FB77AEFE84172EC02AAC07 /* Classes */, + 32C88DFF0371C24200C91783 /* Other Sources */, + 089C1665FE841158C02AAC07 /* Resources */, + 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */, + 034768DFFF38A50411DB9C8B /* Products */, + ); + name = PGSQLKit; + sourceTree = "<group>"; + }; + 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */ = { + isa = PBXGroup; + children = ( + 1058C7B0FEA5585E11CA2CBB /* Linked Frameworks */, + 1058C7B2FEA5585E11CA2CBB /* Other Frameworks */, + ); + name = "External Frameworks and Libraries"; + sourceTree = "<group>"; + }; + 089C1665FE841158C02AAC07 /* Resources */ = { + isa = PBXGroup; + children = ( + 43318B350BF1227A008C2560 /* PGSQL Login.nib */, + 8DC2EF5A0486A6940098B216 /* Info.plist */, + 089C1666FE841158C02AAC07 /* InfoPlist.strings */, + ); + name = Resources; + sourceTree = "<group>"; + }; + 08FB77AEFE84172EC02AAC07 /* Classes */ = { + isa = PBXGroup; + children = ( + 439F7B670C1894AA001CA5A4 /* PGSQLColumn.h */, + 439F7B680C1894AA001CA5A4 /* PGSQLColumn.m */, + 439F7B5F0C18947C001CA5A4 /* PGSQLField.h */, + 439F7B600C18947C001CA5A4 /* PGSQLField.m */, + 439F7B630C189495001CA5A4 /* PGSQLRecord.h */, + 439F7B640C189495001CA5A4 /* PGSQLRecord.m */, + 4325688D0C0D122F007E8DE8 /* PGSQLRecordset.h */, + 4325688E0C0D122F007E8DE8 /* PGSQLRecordset.m */, + 43318B520BF16497008C2560 /* PGSQLConnection.h */, + 43318B530BF16497008C2560 /* PGSQLConnection.m */, + 43CBC57C0BF11AC300A5E5AF /* PGSQLLogin.h */, + 43CBC57D0BF11AC300A5E5AF /* PGSQLLogin.m */, + 43AEC8BD0C306B38009B1479 /* Incomplete */, + ); + name = Classes; + sourceTree = "<group>"; + }; + 1058C7B0FEA5585E11CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 439774030C7D29140009F0B4 /* Security.framework */, + 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */, + ); + name = "Linked Frameworks"; + sourceTree = "<group>"; + }; + 1058C7B2FEA5585E11CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 0867D6A5FE840307C02AAC07 /* AppKit.framework */, + D2F7E79907B2D74100F64583 /* CoreData.framework */, + 0867D69BFE84028FC02AAC07 /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = "<group>"; + }; + 32C88DFF0371C24200C91783 /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32DBCF5E0370ADEE00C91783 /* PGSQLKit_Prefix.pch */, + ); + name = "Other Sources"; + sourceTree = "<group>"; + }; + 43AEC8BD0C306B38009B1479 /* Incomplete */ = { + isa = PBXGroup; + children = ( + 439656720BE8C779003EDC3D /* PGSQLKit.h */, + ); + name = Incomplete; + sourceTree = "<group>"; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 8DC2EF500486A6940098B216 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4313978C0C31BAF600E596BA /* PGSQLColumn.h in Headers */, + 431397B70C31BC1000E596BA /* PGSQLField.h in Headers */, + 4349A2B20C31D47100DACE65 /* PGSQLRecord.h in Headers */, + 4349A2BB0C31D57700DACE65 /* PGSQLRecordset.h in Headers */, + 4349A2C90C31DD5700DACE65 /* PGSQLConnection.h in Headers */, + 4349A2E60C31EAA700DACE65 /* PGSQLLogin.h in Headers */, + 432A8C110C47074F00CA8F33 /* PGSQLKit.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 8DC2EF4F0486A6940098B216 /* PGSQLKit */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "PGSQLKit" */; + buildPhases = ( + 8DC2EF500486A6940098B216 /* Headers */, + 8DC2EF520486A6940098B216 /* Resources */, + 8DC2EF540486A6940098B216 /* Sources */, + 8DC2EF560486A6940098B216 /* Frameworks */, + 4324B36A0BF36104001F6E5E /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PGSQLKit; + productInstallPath = "$(HOME)/Library/Frameworks"; + productName = PGSQLKit; + productReference = 8DC2EF5B0486A6940098B216 /* PGSQLKit.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 0867D690FE84028FC02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "PGSQLKit" */; + hasScannedForEncodings = 1; + mainGroup = 0867D691FE84028FC02AAC07 /* PGSQLKit */; + productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8DC2EF4F0486A6940098B216 /* PGSQLKit */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8DC2EF520486A6940098B216 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8DC2EF530486A6940098B216 /* InfoPlist.strings in Resources */, + 43318B370BF1227A008C2560 /* PGSQL Login.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8DC2EF540486A6940098B216 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4313978D0C31BAF600E596BA /* PGSQLColumn.m in Sources */, + 431397B60C31BC1000E596BA /* PGSQLField.m in Sources */, + 4349A2B30C31D47100DACE65 /* PGSQLRecord.m in Sources */, + 4349A2BC0C31D57800DACE65 /* PGSQLRecordset.m in Sources */, + 4349A2CA0C31DD5800DACE65 /* PGSQLConnection.m in Sources */, + 4349A2E70C31EAA800DACE65 /* PGSQLLogin.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 089C1666FE841158C02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C1667FE841158C02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = "<group>"; + }; + 43318B350BF1227A008C2560 /* PGSQL Login.nib */ = { + isa = PBXVariantGroup; + children = ( + 43318B360BF1227A008C2560 /* English */, + ); + name = "PGSQL Login.nib"; + sourceTree = "<group>"; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 1DEB91AE08733DA50010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + COPY_PHASE_STRIP = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(FRAMEWORK_SEARCH_PATHS_QUOTED_1)", + ); + FRAMEWORK_SEARCH_PATHS_QUOTED_1 = "\"$(SYSTEM_DEVELOPER_DIR)/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks\""; + FRAMEWORK_VERSION = A; + 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 = PGSQLKit_Prefix.pch; + HEADER_SEARCH_PATHS = /opt/local/include; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Library/Frameworks"; + LIBRARY_SEARCH_PATHS = /opt/local/lib; + OTHER_LDFLAGS = ( + "-lssl", + "-lkrb5", + "-lcrypto", + "-lpq", + ); + PRODUCT_NAME = PGSQLKit; + WRAPPER_EXTENSION = framework; + ZERO_LINK = YES; + }; + name = Debug; + }; + 1DEB91AF08733DA50010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(FRAMEWORK_SEARCH_PATHS_QUOTED_1)", + ); + FRAMEWORK_SEARCH_PATHS_QUOTED_1 = "\"$(SYSTEM_DEVELOPER_DIR)/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks\""; + FRAMEWORK_VERSION = A; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = PGSQLKit_Prefix.pch; + HEADER_SEARCH_PATHS = /opt/local/include; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "@loader_path/../Frameworks"; + LIBRARY_SEARCH_PATHS = /opt/local/lib; + OTHER_LDFLAGS = ( + "-lssl", + "-lkrb5", + "-lcrypto", + "-lpq", + ); + PRODUCT_NAME = PGSQLKit; + WRAPPER_EXTENSION = framework; + }; + name = Release; + }; + 1DEB91B208733DA50010E9CD /* 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; + }; + 1DEB91B308733DA50010E9CD /* 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 */ + 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "PGSQLKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB91AE08733DA50010E9CD /* Debug */, + 1DEB91AF08733DA50010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "PGSQLKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB91B208733DA50010E9CD /* Debug */, + 1DEB91B308733DA50010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 0867D690FE84028FC02AAC07 /* Project object */; +} Added: trunk/PGSQLKit/PGSQLKit_Prefix.pch =================================================================== --- trunk/PGSQLKit/PGSQLKit_Prefix.pch (rev 0) +++ trunk/PGSQLKit/PGSQLKit_Prefix.pch 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'PGSQLKit' target in the 'PGSQLKit' project. +// + +#ifdef __OBJC__ + #import <Cocoa/Cocoa.h> +#endif Added: trunk/PGSQLKit/PGSQLLogin.h =================================================================== --- trunk/PGSQLKit/PGSQLLogin.h (rev 0) +++ trunk/PGSQLKit/PGSQLLogin.h 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,64 @@ +// +// PGSQLLogin.h +// PGSQLKit +// +// Created by Andy Satori on 5/8/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import <Cocoa/Cocoa.h> +#import "PGSQLConnection.h" + +@interface PGSQLLogin : NSObject { + IBOutlet NSWindow *loginPanel; + IBOutlet NSComboBox *savedConnections; + IBOutlet NSTextField *loginUserName; + IBOutlet NSSecureTextField *loginPassword; + IBOutlet NSTextField *serverName; + IBOutlet NSTextField *serverPort; + IBOutlet NSTextField *serverDatabase; + IBOutlet NSButton *rememberConnection; + IBOutlet NSButton *displayConnectionDetails; + IBOutlet NSView *detailsView; + + NSWindow *parentWindow; + + PGSQLConnection *resultConnection; + + NSMutableArray *savedConnectionList; + + NSString *defaultDSN; + NSString *defaultUser; + NSString *defaultPassword; + + BOOL isShowingDetails; +} + +- (void)beginModalLoginForWindow:(NSWindow *)parent; + +- (IBAction)onCancel:(id)sender; +- (IBAction)onLogin:(id)sender; +- (IBAction)onHelp:(id)sender; +- (IBAction)onConnectionDetails:(id)sender; + +- (BOOL)isConnected; + +- (PGSQLConnection *)connection; + +- (NSString *)defaultConnectionString; +- (void)setDefaultConnectionString:(NSString *)value; + +- (void)setDefaultUser:(NSString *)value; +- (NSString *)defaultUser; + +- (void)setDefaultPassword:(NSString *)value; + +- (void)onConnectionCompleted:(NSNotification *)aNotification; + +@end + +@interface NSObject (PGSQLKitDelegateMethods) + +- (id)loginCompleted:(PGSQLConnection *)connection; + +@end Added: trunk/PGSQLKit/PGSQLLogin.m =================================================================== --- trunk/PGSQLKit/PGSQLLogin.m (rev 0) +++ trunk/PGSQLKit/PGSQLLogin.m 2007-10-18 15:31:50 UTC (rev 191) @@ -0,0 +1,641 @@ +// +// PGSQLLogin.m +// PGSQLKit +// +// Created by Andy Satori on 5/8/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import "PGSQLLogin.h" +#import <Security/Security.h> +#import <CoreFoundation/CoreFoundation.h> +#import <stdlib.h> + + +@implementation PGSQLLogin + +#pragma mark Keychain Helper Functions + +- (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 *)setConnectionDetailsForKeychainItem:(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; + + + // 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 + [serverName setStringValue:where]; + + NSRange range1 = [where rangeOfString:@"@"]; + NSRange range2 = [where rangeOfString:@":"]; + NSRange range3 = NSMakeRange( + (range1.location + range1.length), + (range2.location - (range1.location + range1.length))); + + [serverName setStringValue: + [where substringWithRange:range3]]; + [serverPort setStringValue: + [where substringFromIndex:range2.location + range2.length]]; + [serverDatabase setStringValue: + [where substringToIndex:range1.location]]; + } + break; + case kSecAccountItemAttr: + if (attr.length < 1024) + { + strncpy(buffer, attr.data, attr.length); + buffer[attr.length] = '\0'; + NSString *who = [[NSString alloc] initWithFormat:@"%s", buffer]; + [loginUserName setStringValue:who]; + } + break; + default: + break; + } + } + + strncpy(buffer, password, passwordLen); + buffer[passwordLen] = '\0'; + // set the password + [loginPassword setStringValue:[NSString stringWithFormat:@"%s", buffer]]; + } + + free(password); + + + return where; +} + +- (BOOL)editExistingKeychainItem +{ + OSStatus status; + SecKeychainSearchRef search; + SecKeychainAttribute searchAttributes[2]; + SecKeychainAttributeList searchList; + SecKeychainItemRef item; + + NSString *selectedValue = [savedConnections stringValue]; + + searchAttributes[0].tag = kSecCreatorItemAttr; + searchAttributes[0].data = "pgds"; + searchAttributes[0].length = 4; + + searchAttributes[1].tag = kSecLabelItemAttr; + searchAttributes[1].data = (char *)[selectedValue cString]; + searchAttributes[1].length = [selectedValue length]; + + searchList.count = 2; + searchList.attr = searchAttributes; + + status = SecKeychainSearchCreateFromAttributes(NULL, + kSecGenericPasswordItemClass, + &searchList, &search); + if (status != noErr) + { + NSLog(@"Error reading the keychain: %d", status); + } + + + int i = 0; + while (SecKeychainSearchCopyNext(search, &item) == noErr) + { + SecKeychainAttribute attributes[12]; + SecKeychainAttributeList list; + char *password; + UInt32 passwordLen; + passwordLen = 1024; + password = malloc(passwordLen); + + attributes[0].tag = kSecServiceItemAttr; + attributes[1].tag = kSecAccountItemAttr; + attributes[2].tag = kSecDescriptionItemAttr; + attributes[3].tag = kSecLabelItemAttr; + attributes[4].tag = kSecCommentItemAttr; + attributes[5].tag = kSecCreatorItemAttr; + + list.count = 6; + list.attr = attributes; + + // alter this to read the password (last two nulls) + status = SecKeychainItemCopyContent(item, NULL, &list, NULL, NULL); + + if (status == noErr) + { + SecKeychainAttribute attr; + int i; + + NSString *where = [NSString stringWithFormat:@"%@@%@:%@", + [resultConnection databaseName], [resultConnection server], + [resultConnection port]]; + NSString *description = [NSString stringWithFormat:@"%@@%@:%@", + [resultConnection databaseName], [resultConnection server], + [resultConnection port]]; + + for (i = 0; i < list.count; i++) + { + attr = list.attr[i]; + switch (attr.tag) + { + case kSecServiceItemAttr: + attr.data = (char *)[where cString]; + attr.length = [where length]; + break; + case kSecAccountItemAttr: + attr.data = (char *)[[loginUserName stringValue] cString]; + attr.length = [[loginUserName stringValue] length]; + break; + case kSecDescriptionItemAttr: + attr.data = "PostgreSQL Login"; + attr.length = 16; + break; + case kSecLabelItemAttr: + attr.data = (char *)[[savedConnections stringValue] cString]; + attr.length = [[savedConnections stringValue] length]; + break; + case kSecCommentItemAttr: + attr.data = (char*)[description cString]; + attr.length = [description length]; + break; + case kSecCreatorItemAttr: + attr.data = "pgds"; + attr.length = 4; + break; + default: + break; + } + } + // do the save of the edited item + status = SecKeychainItemModifyContent(item, &list, + [[loginPassword stringValue] length], + [[loginPassword stringValue] cString]); + + } + + free(password); + CFRelease(item); + i++; + } + CFRelease(search); + + return (i > 0); +} + +- (BOOL)createKeychainItem +{ + SecKeychainAttribute attributes[6]; + SecKeychainAttributeList list; + SecKeychainItemRef item; + OSStatus status; + + NSString *where = [NSString stringWithFormat:@"%@@%@:%@", + [resultConnection databaseName], [resultConnection server], + [resultConnection port]]; + NSString *description = [NSString stringWithFormat:@"%@@%@:%@", + [resultConnection databaseName], [resultConnection server], + [resultConnection port]]; + + attributes[0].tag = kSecAccountItemAttr; + attributes[0].data = (char *)[[loginUserName stringValue] cString]; + attributes[0].length = [[loginUserName stringValue] length]; + + attributes[1].tag = kSecDescriptionItemAttr; + attributes[1].data = "PostgreSQL Login"; + attributes[1].length = 16; + + attributes[2].tag = kSecLabelItemAttr; + attributes[2].data = (char *)[[savedConnections stringValue] cString]; + attributes[2].length = [[savedConnections stringValue] length]; + + attributes[3].tag = kSecServiceItemAttr; + attributes[3].data = (char *)[where cString]; + attributes[3].length = [where length]; + + attributes[4].tag = kSecCommentItemAttr; + attributes[4].data = (char*)[description cString]; + attributes[4].length = [description length]; + + attributes[5].tag = kSecCreatorItemAttr; + attributes[5].data = "pgds"; + attributes[5].length = 4; + + list.count = 6; + list.attr = attributes; + + status = SecKeychainItemCreateFromContent(kSecGenericPasswordItemClass, + &list, + [[loginPassword stringValue] length], + [[loginPassword stringValue] cString], + NULL, NULL, &item); + CFRelease(item); + return (status == noErr); + +} + + +#pragma mark - +#pragma mark Class implementation + +-(id)init +{ + self = [super init]; + + resultConnection = [[[[PGSQLConnection alloc] init] retain] autorelease]; + defaultDSN = nil; + defaultUser = nil; + defaultPassword = nil; + + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onConnectionCompleted:) name:PGSQLConnectionDidCompleteNotification object:nil]; + + return self; +} + + +- (void)beginModalLoginForWindow:(NSWindow *)parent +{ + parentWindow = parent; + + // load the nib + + if (![NSBundle loadNibNamed:@"PGSQL Login" owner:self]) + { + NSLog(@"Error loading nib for login"); + return; + } + + [rememberConnection setState:NSOnState]; + + [savedConnections removeAllItems]; + + // 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) + { + [savedConnections addItemWithObjectValue:[self connectionNameForKeychainItem:item]]; + CFRelease(item); + } + CFRelease(search); + + // default the host fields + isShowingDetails = YES; + [serverName setStringValue:@"localhost"]; + [serverPort setStringValue:@"5432"]; + [serverDatabase setStringValue:@"template1"]; + + if (defaultDSN != nil) + { + isShowingDetails = YES; + + // [savedConnections selectItemWithTitle:defaultDSN]; + } + + [loginUserName setStringValue:@"postgres"]; + if (defaultUser != nil) + { + [loginUserName setStringValue:defaultUser]; + } + + [loginPassword setStringValue:@""]; + if (defaultPassword != nil) + { + [loginPassword setStringValue:defaultPassword]; + } + + // make sure the UI delegates are in place + [savedConnections setDelegate:self]; + + [NSApp beginSheet:loginPanel + modalForWindow:parentWindow + modalDelegate:nil + didEndSelector:nil + contextInfo:nil]; + + [NSApp runModalForWindow:loginPanel]; + + return; +} + +- (void)onConnectionCompleted:(NSNotification *)aNotification +{ + NSDictionary *info = [aNotification userInfo]; + + if (nil == [info valueForKey:@"Error"]) { + NSLog(@"Connected to PostgreSQL Database"); + } else { + // show an alert + NSLog(@"Unable to connect to PostgreSQL Database"); + } + + NSObject* windowDelegate = [parentWindow delegate]; + if ([windowDelegate respondsToSelector:@selector(loginCompleted:)] == YES) + { + [windowDelegate loginCompleted:resultConnection]; + } + +} + +- (IBAction)onLogin:(id)sender +{ + [NSApp stopModal]; + + [resultConnection setUserName:[loginUserName stringValue]]; + [resultConnection setPassword:[loginPassword stringValue]]; + [resultConnection setServer:[serverName stringValue]]; + [resultConnection setPort:[serverPort stringValue]]; + [resultConnection setDatabaseName:[serverDatabase stringValue]]; + + // if 'remember connection' is enabled, add/update the connection in the + // keychain using the keychain api. + if ([rememberConnection state] == NSOnState) + { + if ([[savedConnections stringValue] length] > 0) + { + if ([self editExistingKeychainItem] == NO) + { + if ([self createKeychainItem] == NO) + { + NSLog(@"Failed to set keychain item"); + } + } + } + } + + + // attempt the connection. + [resultConnection connectAsync]; + + [NSApp endSheet:loginPanel]; + [loginPanel orderOut:self]; +} + +- (void)resizeWindowToSize:(NSSize)newSize +{ + NSRect aFrame; + + float newHeight = newSize.height; + float newWidth = newSize.width; + + aFrame = [NSWindow contentRectForFrameRect:[loginPanel frame] + styleMask:[loginPanel styleMask]]; + + aFrame.origin.y += aFrame.size.height; + aFrame.origin.y -= newHeight; + aFrame.size.height = newHeight; + aFrame.size.width = newWidth; + + aFrame = [NSWindow frameRectForContentRect:aFrame + styleMask:[loginPanel styleMask]]; + + [loginPanel setFrame:aFrame display:YES animate:YES]; +} + + + +- (IBAction)onConnectionDetails:(id)sender +{ + NSSize newSize; // box is 144 + NSRect currentSize; + + NSView *contentView = [loginPanel contentView]; + + currentSize = [contentView frame]; + // show/hide the details section of the dialog + if ([displayConnectionDetails state] == NSOnState) + { + // flip the flag + newSize.width = currentSize.size.width; + newSize.height = currentSize.size.height + 144; + [detailsView setHidden:NO]; + [self resizeWindowToSize:newSize]; + } else { + // + newSize.width = currentSize.size.width; + newSize.height = currentSize.size.height - 144; + [self resizeWindowToSize:newSize]; + [detailsView setHidden:YES]; + + } + isShowingDetails = !(isShowingDetails); +} + +- (IBAction)onHelp:(id)sender +{ + // display the login dialog help window + +} + +- (IBAction)onCancel:(id)sender +{ + [NSApp stopModal]; + + // exit the application + NSObject* windowDelegate = [parentWindow delegate]; + if ([windowDelegate respondsToSelector:@selector(loginCompleted:)] == YES) + { + [windowDelegate loginCompleted:nil]; + } + + [NSApp endSheet:loginPanel]; + [loginPanel orderOut:self]; +} + +- (BOOL)isConnected +{ + if (resultConnection != nil) + { + return [resultConnection isConnected]; + } + + return NO; +} + +- (PGSQLConnection *)connection ... [truncated message content] |
From: <haw...@us...> - 2007-10-10 20:56:26
|
Revision: 190 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=190&view=rev Author: hawkmoon Date: 2007-10-10 13:54:50 -0700 (Wed, 10 Oct 2007) Log Message: ----------- Released 8.2.5 Modified Paths: -------------- trunk/Backup Database/Backup Database.xcodeproj/arsatori.mode1 trunk/Backup Database/Backup Database.xcodeproj/arsatori.pbxuser trunk/BuildScripts/Build-Installers.sh trunk/CreateDatabase/Info.plist trunk/CreateUser/Create User.xcodeproj/arsatori.mode1 trunk/CreateUser/Create User.xcodeproj/arsatori.pbxuser trunk/QueryTool/Query Tool for Postgres.xcodeproj/project.pbxproj trunk/StartupHelper/.DS_Store trunk/StartupItem/.DS_Store trunk/StartupItem/PostgreSQL/PostgreSQL trunk/pgCocoaDB/pgCocoaDB.xcode/project.pbxproj Added Paths: ----------- trunk/CreateDatabase/English.lproj/MainMenu.nib/ trunk/CreateDatabase/English.lproj/MainMenu.nib/classes.nib trunk/CreateDatabase/English.lproj/MainMenu.nib/info.nib trunk/CreateDatabase/English.lproj/MainMenu.nib/keyedobjects.nib trunk/CreateDatabase/add database_32.icns trunk/CreateDatabase/create_database_wiz.png Removed Paths: ------------- trunk/CreateUser/.DS_Store trunk/Installers/PostgreSQL/PostgreSQL.pmsm trunk/ServiceManager/.DS_Store Modified: trunk/Backup Database/Backup Database.xcodeproj/arsatori.mode1 =================================================================== --- trunk/Backup Database/Backup Database.xcodeproj/arsatori.mode1 2007-10-10 19:39:29 UTC (rev 189) +++ trunk/Backup Database/Backup Database.xcodeproj/arsatori.mode1 2007-10-10 20:54:50 UTC (rev 190) @@ -220,8 +220,6 @@ <key>Layout</key> <array> <dict> - <key>BecomeActive</key> - <true/> <key>ContentConfiguration</key> <dict> <key>PBXBottomSmartGroupGIDs</key> @@ -266,7 +264,6 @@ <key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key> <array> <array> - <integer>9</integer> <integer>5</integer> <integer>0</integer> </array> @@ -291,7 +288,7 @@ <real>172</real> </array> <key>RubberWindowFrame</key> - <string>242 222 885 806 0 0 1680 1028 </string> + <string>315 372 885 806 0 0 1920 1178 </string> </dict> <key>Module</key> <string>PBXSmartGroupTreeModule</string> @@ -302,6 +299,8 @@ <key>Dock</key> <array> <dict> + <key>BecomeActive</key> + <true/> <key>ContentConfiguration</key> <dict> <key>PBXProjectModuleGUID</key> @@ -319,7 +318,7 @@ <key>_historyCapacity</key> <integer>20</integer> <key>bookmark</key> - <string>431259DA0C0755B20031B54A</string> + <string>43FBFBDF0CBC295A007422EE</string> <key>history</key> <array> <string>430C225C0AEEF83D00B814BA</string> @@ -327,7 +326,7 @@ <string>4325A4F90AF42CB100E5848F</string> <string>4325A4FB0AF42CB100E5848F</string> <string>434F5CD40B3C310A00C30B6D</string> - <string>431259BC0C07344B0031B54A</string> + <string>43D0E1CB0CBAAF8100D4FC11</string> </array> <key>prevStack</key> <array> @@ -350,7 +349,7 @@ <key>Frame</key> <string>{{0, 0}, {691, 638}}</string> <key>RubberWindowFrame</key> - <string>242 222 885 806 0 0 1680 1028 </string> + <string>315 372 885 806 0 0 1920 1178 </string> </dict> <key>Module</key> <string>PBXNavigatorGroup</string> @@ -370,7 +369,7 @@ <key>Frame</key> <string>{{0, 643}, {691, 122}}</string> <key>RubberWindowFrame</key> - <string>242 222 885 806 0 0 1680 1028 </string> + <string>315 372 885 806 0 0 1920 1178 </string> </dict> <key>Module</key> <string>XCDetailModule</string> @@ -394,9 +393,9 @@ </array> <key>TableOfContents</key> <array> - <string>431259D70C0737630031B54A</string> + <string>43FBFBE00CBC295A007422EE</string> <string>1CE0B1FE06471DED0097A5F4</string> - <string>431259D80C0737630031B54A</string> + <string>43FBFBE10CBC295A007422EE</string> <string>1CE0B20306471E060097A5F4</string> <string>1CE0B20506471E060097A5F4</string> </array> @@ -540,10 +539,10 @@ <key>WindowOrderList</key> <array> <string>430C22650AEEF83D00B814BA</string> - <string>/Users/arsatori/Projects/PostgreSQL/svn/pgsqlformac/trunk/Backup Database/Backup Database.xcodeproj</string> + <string>/Users/arsatori/Projects/PostgreSQL/svn/trunk/Backup Database/Backup Database.xcodeproj</string> </array> <key>WindowString</key> - <string>242 222 885 806 0 0 1680 1028 </string> + <string>315 372 885 806 0 0 1920 1178 </string> <key>WindowTools</key> <array> <dict> @@ -571,14 +570,14 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{0, 0}, {500, 218}}</string> + <string>{{0, 0}, {778, 216}}</string> <key>RubberWindowFrame</key> - <string>523 363 500 500 0 0 1680 1028 </string> + <string>629 465 778 498 0 0 1920 1178 </string> </dict> <key>Module</key> <string>PBXNavigatorGroup</string> <key>Proportion</key> - <string>218pt</string> + <string>216pt</string> </dict> <dict> <key>ContentConfiguration</key> @@ -595,9 +594,9 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{0, 223}, {500, 236}}</string> + <string>{{0, 221}, {778, 236}}</string> <key>RubberWindowFrame</key> - <string>523 363 500 500 0 0 1680 1028 </string> + <string>629 465 778 498 0 0 1920 1178 </string> </dict> <key>Module</key> <string>PBXBuildResultsModule</string> @@ -606,7 +605,7 @@ </dict> </array> <key>Proportion</key> - <string>459pt</string> + <string>457pt</string> </dict> </array> <key>Name</key> @@ -620,14 +619,14 @@ <key>TableOfContents</key> <array> <string>430C22650AEEF83D00B814BA</string> - <string>431259D90C0737630031B54A</string> + <string>43FBFBE20CBC295A007422EE</string> <string>1CD0528F0623707200166675</string> <string>XCMainBuildResultsModuleGUID</string> </array> <key>ToolbarConfiguration</key> <string>xcode.toolbar.config.build</string> <key>WindowString</key> - <string>523 363 500 500 0 0 1680 1028 </string> + <string>629 465 778 498 0 0 1920 1178 </string> <key>WindowToolGUID</key> <string>430C22650AEEF83D00B814BA</string> <key>WindowToolIsVisible</key> @@ -662,8 +661,8 @@ <string>yes</string> <key>sizes</key> <array> - <string>{{0, 0}, {376, 321}}</string> - <string>{{376, 0}, {393, 321}}</string> + <string>{{0, 0}, {375, 337}}</string> + <string>{{375, 0}, {394, 337}}</string> </array> </dict> <key>VerticalSplitView</key> @@ -678,8 +677,8 @@ <string>yes</string> <key>sizes</key> <array> - <string>{{0, 0}, {769, 321}}</string> - <string>{{0, 321}, {769, 346}}</string> + <string>{{0, 0}, {769, 337}}</string> + <string>{{0, 337}, {769, 330}}</string> </array> </dict> </dict> @@ -703,7 +702,7 @@ <key>Frame</key> <string>{{0, 0}, {769, 667}}</string> <key>RubberWindowFrame</key> - <string>611 209 769 708 0 0 1680 1028 </string> + <string>772 301 769 708 0 0 1920 1178 </string> </dict> <key>Module</key> <string>PBXDebugSessionModule</string> @@ -726,19 +725,19 @@ <key>TableOfContents</key> <array> <string>1CD10A99069EF8BA00B06720</string> - <string>434F5CE40B3C317400C30B6D</string> + <string>43D0E1AA0CBAA70800D4FC11</string> <string>1C162984064C10D400B95A72</string> - <string>434F5CE50B3C317400C30B6D</string> - <string>434F5CE60B3C317400C30B6D</string> - <string>434F5CE70B3C317400C30B6D</string> - <string>434F5CE80B3C317400C30B6D</string> - <string>434F5CE90B3C317400C30B6D</string> - <string>434F5CEA0B3C317400C30B6D</string> + <string>43D0E1AB0CBAA70800D4FC11</string> + <string>43D0E1AC0CBAA70800D4FC11</string> + <string>43D0E1AD0CBAA70800D4FC11</string> + <string>43D0E1AE0CBAA70800D4FC11</string> + <string>43D0E1AF0CBAA70800D4FC11</string> + <string>43D0E1B00CBAA70800D4FC11</string> </array> <key>ToolbarConfiguration</key> <string>xcode.toolbar.config.debug</string> <key>WindowString</key> - <string>611 209 769 708 0 0 1680 1028 </string> + <string>772 301 769 708 0 0 1920 1178 </string> <key>WindowToolGUID</key> <string>1CD10A99069EF8BA00B06720</string> <key>WindowToolIsVisible</key> Modified: trunk/Backup Database/Backup Database.xcodeproj/arsatori.pbxuser =================================================================== --- trunk/Backup Database/Backup Database.xcodeproj/arsatori.pbxuser 2007-10-10 19:39:29 UTC (rev 189) +++ trunk/Backup Database/Backup Database.xcodeproj/arsatori.pbxuser 2007-10-10 20:54:50 UTC (rev 190) @@ -12,7 +12,6 @@ 431692D70AF27BCD00C88512 /* PGBackupController.m:375 */, 434F5CF30B3C31F800C30B6D /* PGBackupController.m:319 */, 434F5CF70B3C320700C30B6D /* PGBackupController.m:364 */, - 431259D50C0737590031B54A /* PGBackupController.m:16 */, ); breakpointsGroup = 430C22820AEEF99900B814BA /* XCBreakpointsBucket */; codeSenseManager = 430C22430AEEEBA800B814BA /* Code sense */; @@ -86,16 +85,14 @@ PBXFileDataSource_Warnings_ColumnID, ); }; - PBXPerProjectTemplateStateSaveDate = 201799497; - PBXWorkspaceStateSaveDate = 201799497; + PBXPerProjectTemplateStateSaveDate = 213657926; + PBXWorkspaceStateSaveDate = 213657926; }; perUserProjectItems = { 430C225C0AEEF83D00B814BA /* PBXTextBookmark */ = 430C225C0AEEF83D00B814BA /* PBXTextBookmark */; 430C225F0AEEF83D00B814BA /* PBXTextBookmark */ = 430C225F0AEEF83D00B814BA /* PBXTextBookmark */; 430C22600AEEF83D00B814BA /* PBXTextBookmark */ = 430C22600AEEF83D00B814BA /* PBXTextBookmark */; 430C22610AEEF83D00B814BA /* PBXTextBookmark */ = 430C22610AEEF83D00B814BA /* PBXTextBookmark */; - 431259BC0C07344B0031B54A /* PBXTextBookmark */ = 431259BC0C07344B0031B54A /* PBXTextBookmark */; - 431259DA0C0755B20031B54A /* PBXTextBookmark */ = 431259DA0C0755B20031B54A /* PBXTextBookmark */; 431692730AF268A600C88512 /* PBXTextBookmark */ = 431692730AF268A600C88512 /* PBXTextBookmark */; 4325A4F90AF42CB100E5848F /* PBXBookmark */ = 4325A4F90AF42CB100E5848F /* PBXBookmark */; 4325A4FB0AF42CB100E5848F /* PBXTextBookmark */ = 4325A4FB0AF42CB100E5848F /* PBXTextBookmark */; @@ -103,6 +100,8 @@ 4325A5010AF42CB100E5848F /* PBXTextBookmark */ = 4325A5010AF42CB100E5848F /* PBXTextBookmark */; 434F5CD40B3C310A00C30B6D /* PBXBookmark */ = 434F5CD40B3C310A00C30B6D /* PBXBookmark */; 434F5CD50B3C310A00C30B6D /* PBXBookmark */ = 434F5CD50B3C310A00C30B6D /* PBXBookmark */; + 43D0E1CB0CBAAF8100D4FC11 /* PBXTextBookmark */ = 43D0E1CB0CBAAF8100D4FC11 /* PBXTextBookmark */; + 43FBFBDF0CBC295A007422EE /* PBXTextBookmark */ = 43FBFBDF0CBC295A007422EE /* PBXTextBookmark */; }; sourceControlManager = 430C22420AEEEBA800B814BA /* Source Control */; userBuildSettings = { @@ -158,8 +157,8 @@ 430C22450AEEF5DB00B814BA /* PGBackupController.m */ = { uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {916, 5808}}"; - sepNavSelRange = "{98, 0}"; - sepNavVisRect = "{{0, 0}, {644, 606}}"; + sepNavSelRange = "{6470, 0}"; + sepNavVisRect = "{{0, 2592}, {644, 606}}"; sepNavWindowFrame = "{{15, 553}, {421, 320}}"; }; }; @@ -221,40 +220,6 @@ 434F5CF70B3C320700C30B6D /* PGBackupController.m:364 */, ); }; - 431259BC0C07344B0031B54A /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; - name = "PGBackupController.m: 7"; - rLen = 0; - rLoc = 98; - rType = 0; - vrLen = 1378; - vrLoc = 0; - }; - 431259D50C0737590031B54A /* PGBackupController.m:16 */ = { - isa = PBXFileBreakpoint; - actions = ( - ); - breakpointStyle = 0; - continueAfterActions = 0; - delayBeforeContinue = 0; - fileReference = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; - functionName = "-awakeFromNib"; - hitCount = 0; - lineNumber = 16; - modificationTime = 201799513.798548; - state = 1; - }; - 431259DA0C0755B20031B54A /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; - name = "PGBackupController.m: 7"; - rLen = 0; - rLoc = 98; - rType = 0; - vrLen = 1378; - vrLoc = 0; - }; 431692730AF268A600C88512 /* PBXTextBookmark */ = { isa = PBXTextBookmark; fRef = 430C22460AEEF5DC00B814BA /* PGBackupController.h */; @@ -374,6 +339,26 @@ modificationTime = 188494369.609233; state = 1; }; + 43D0E1CB0CBAAF8100D4FC11 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; + name = "PGBackupController.m: 232"; + rLen = 0; + rLoc = 6470; + rType = 0; + vrLen = 1246; + vrLoc = 6034; + }; + 43FBFBDF0CBC295A007422EE /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; + name = "PGBackupController.m: 232"; + rLen = 0; + rLoc = 6470; + rType = 0; + vrLen = 1246; + vrLoc = 6034; + }; 8D1107260486CEB800E47090 /* Backup Database */ = { activeExec = 0; executables = ( Modified: trunk/BuildScripts/Build-Installers.sh =================================================================== --- trunk/BuildScripts/Build-Installers.sh 2007-10-10 19:39:29 UTC (rev 189) +++ trunk/BuildScripts/Build-Installers.sh 2007-10-10 20:54:50 UTC (rev 190) @@ -18,10 +18,11 @@ if (! test -d $BASEPATH/dist/PostgreSQL/packages) then mkdir -p $BASEPATH/dist/PostgreSQL/packages fi -if (! test -d $BASEPATH/dist/SQL\-Ledger/packages) then - mkdir -p $BASEPATH/dist/SQL\-Ledger/packages -fi +#if (! test -d $BASEPATH/dist/SQL\-Ledger/packages) then +# mkdir -p $BASEPATH/dist/SQL\-Ledger/packages +#fi + # ************************************************************** PostgreSQL8.pkg # copy the files into the temp storage. @@ -84,7 +85,7 @@ sudo find $BASEPATH/temp/ -name ".DS_Store" -exec rm -f {} \; # fix permissions so that they get installed correctly. -chown -R root:admin $BASEPATH/Installers/StartupItem/Files/* +chown -R root:admin $BASEPATH/temp/Files/* # build the .pkg /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker \ @@ -122,8 +123,6 @@ # clean up after ourselves rm -rf $BASEPATH/temp -exit - # ************************************************************** JDBC Driver.pkg # copy the files into the temp storage. Added: trunk/CreateDatabase/English.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/CreateDatabase/English.lproj/MainMenu.nib/classes.nib (rev 0) +++ trunk/CreateDatabase/English.lproj/MainMenu.nib/classes.nib 2007-10-10 20:54:50 UTC (rev 190) @@ -0,0 +1,30 @@ +{ + IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + { + ACTIONS = {onBack = id; onCancel = id; onNext = id; }; + CLASS = PGNewDBUI; + LANGUAGE = ObjC; + OUTLETS = { + back = NSButton; + database = NSTextField; + encoding = NSPopUpButton; + next = NSButton; + owner = NSTextField; + password = NSSecureTextField; + port = NSTextField; + resultOutput = NSTextView; + resultStatus = NSProgressIndicator; + server = NSTextField; + tableSpace = NSTextField; + tabs = NSTabView; + templates = NSPopUpButton; + user = NSTextField; + versionSevenFeaturesOnly = NSButton; + window = NSWindow; + }; + SUPERCLASS = NSObject; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/CreateDatabase/English.lproj/MainMenu.nib/info.nib =================================================================== --- trunk/CreateDatabase/English.lproj/MainMenu.nib/info.nib (rev 0) +++ trunk/CreateDatabase/English.lproj/MainMenu.nib/info.nib 2007-10-10 20:54:50 UTC (rev 190) @@ -0,0 +1,21 @@ +<?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>691 116 356 240 0 0 1680 1028 </string> + <key>IBEditorPositions</key> + <dict> + <key>29</key> + <string>468 518 235 44 0 0 1680 1028 </string> + </dict> + <key>IBFramework Version</key> + <string>364.0</string> + <key>IBOpenObjects</key> + <array> + <integer>29</integer> + </array> + <key>IBSystem Version</key> + <string>7U16</string> +</dict> +</plist> Added: trunk/CreateDatabase/English.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/CreateDatabase/English.lproj/MainMenu.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/CreateDatabase/Info.plist =================================================================== --- trunk/CreateDatabase/Info.plist 2007-10-10 19:39:29 UTC (rev 189) +++ trunk/CreateDatabase/Info.plist 2007-10-10 20:54:50 UTC (rev 190) @@ -17,7 +17,7 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>8.1.0</string> + <string>8.2.5</string> <key>NSMainNibFile</key> <string>MainMenu</string> <key>NSPrincipalClass</key> Added: trunk/CreateDatabase/add database_32.icns =================================================================== (Binary files differ) Property changes on: trunk/CreateDatabase/add database_32.icns ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/CreateDatabase/create_database_wiz.png =================================================================== (Binary files differ) Property changes on: trunk/CreateDatabase/create_database_wiz.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Deleted: trunk/CreateUser/.DS_Store =================================================================== --- trunk/CreateUser/.DS_Store 2007-10-10 19:39:29 UTC (rev 189) +++ trunk/CreateUser/.DS_Store 2007-10-10 20:54:50 UTC (rev 190) @@ -1 +0,0 @@ - |
From: <haw...@us...> - 2007-10-10 19:39:30
|
Revision: 189 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=189&view=rev Author: hawkmoon Date: 2007-10-10 12:39:29 -0700 (Wed, 10 Oct 2007) Log Message: ----------- file cleanup due to corruption issues Removed Paths: ------------- trunk/CreateDatabase/Create Database.xcode/ trunk/CreateDatabase/English.lproj/MainMenu.nib/ trunk/CreateDatabase/English.lproj/MainMenu~.nib/ trunk/CreateDatabase/create_database_wiz.png Deleted: trunk/CreateDatabase/create_database_wiz.png =================================================================== --- trunk/CreateDatabase/create_database_wiz.png 2007-10-10 19:05:11 UTC (rev 188) +++ trunk/CreateDatabase/create_database_wiz.png 2007-10-10 19:39:29 UTC (rev 189) @@ -1,228 +0,0 @@ -\x89PNG - - |
From: <haw...@us...> - 2007-10-10 19:05:07
|
Revision: 188 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=188&view=rev Author: hawkmoon Date: 2007-10-10 12:05:11 -0700 (Wed, 10 Oct 2007) Log Message: ----------- updated to 8.2.5 Modified Paths: -------------- trunk/Installers/JDBC/Description.plist trunk/Installers/JDBC/Info.plist Added Paths: ----------- trunk/Installers/JDBC/Files/Library/Java/Extensions/postgresql-8.2-506.jdbc3.jar trunk/Installers/JDBC/Resources/background.tif Modified: trunk/Installers/JDBC/Description.plist =================================================================== --- trunk/Installers/JDBC/Description.plist 2007-10-10 19:04:19 UTC (rev 187) +++ trunk/Installers/JDBC/Description.plist 2007-10-10 19:05:11 UTC (rev 188) @@ -9,6 +9,6 @@ <key>IFPkgDescriptionTitle</key> <string>PostgreSQL JDBC Client Driver</string> <key>IFPkgDescriptionVersion</key> - <string>8.0</string> + <string>8.2</string> </dict> </plist> Added: trunk/Installers/JDBC/Files/Library/Java/Extensions/postgresql-8.2-506.jdbc3.jar =================================================================== (Binary files differ) Property changes on: trunk/Installers/JDBC/Files/Library/Java/Extensions/postgresql-8.2-506.jdbc3.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/Installers/JDBC/Info.plist =================================================================== --- trunk/Installers/JDBC/Info.plist 2007-10-10 19:04:19 UTC (rev 187) +++ trunk/Installers/JDBC/Info.plist 2007-10-10 19:05:11 UTC (rev 188) @@ -3,17 +3,17 @@ <plist version="1.0"> <dict> <key>CFBundleGetInfoString</key> - <string>PostgreSQL JDBC 8.0</string> + <string>PostgreSQL JDBC 8.2.5</string> <key>CFBundleIdentifier</key> <string>org.postgresql.jdbc</string> <key>CFBundleName</key> <string>PostgreSQL JDBC Driver</string> <key>CFBundleShortVersionString</key> - <string>8.0</string> + <string>8.2.5</string> <key>IFMajorVersion</key> <integer>8</integer> <key>IFMinorVersion</key> - <integer>0</integer> + <integer>2</integer> <key>IFPkgFlagAllowBackRev</key> <false/> <key>IFPkgFlagAuthorizationAction</key> Added: trunk/Installers/JDBC/Resources/background.tif =================================================================== (Binary files differ) Property changes on: trunk/Installers/JDBC/Resources/background.tif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2007-10-10 19:04:15
|
Revision: 187 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=187&view=rev Author: hawkmoon Date: 2007-10-10 12:04:19 -0700 (Wed, 10 Oct 2007) Log Message: ----------- removed corrupted background.tif Removed Paths: ------------- trunk/Installers/JDBC/Resources/background.tif Deleted: trunk/Installers/JDBC/Resources/background.tif =================================================================== --- trunk/Installers/JDBC/Resources/background.tif 2007-10-10 19:02:54 UTC (rev 186) +++ trunk/Installers/JDBC/Resources/background.tif 2007-10-10 19:04:19 UTC (rev 187) @@ -1,1165 +0,0 @@ -MM |
From: <haw...@us...> - 2007-10-10 19:02:50
|
Revision: 186 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=186&view=rev Author: hawkmoon Date: 2007-10-10 12:02:54 -0700 (Wed, 10 Oct 2007) Log Message: ----------- removed old 8.0 revision Removed Paths: ------------- trunk/Installers/JDBC/Files/Library/Java/Extensions/postgresql-8.0-310.jdbc3.jar Deleted: trunk/Installers/JDBC/Files/Library/Java/Extensions/postgresql-8.0-310.jdbc3.jar =================================================================== --- trunk/Installers/JDBC/Files/Library/Java/Extensions/postgresql-8.0-310.jdbc3.jar 2007-10-10 18:55:59 UTC (rev 185) +++ trunk/Installers/JDBC/Files/Library/Java/Extensions/postgresql-8.0-310.jdbc3.jar 2007-10-10 19:02:54 UTC (rev 186) @@ -1,2800 +0,0 @@ -PK - |
From: <haw...@us...> - 2007-10-10 18:55:56
|
Revision: 185 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=185&view=rev Author: hawkmoon Date: 2007-10-10 11:55:59 -0700 (Wed, 10 Oct 2007) Log Message: ----------- updaed to 8.2.5 Added Paths: ----------- trunk/Installers/ClientTools/Description.plist trunk/Installers/ClientTools/Info.plist trunk/Installers/ClientTools/Resources/ trunk/Installers/ClientTools/Resources/License.rtf trunk/Installers/ClientTools/Resources/Readme.rtf trunk/Installers/ClientTools/Resources/Welcome.rtf trunk/Installers/ClientTools/Resources/background.tif Added: trunk/Installers/ClientTools/Description.plist =================================================================== --- trunk/Installers/ClientTools/Description.plist (rev 0) +++ trunk/Installers/ClientTools/Description.plist 2007-10-10 18:55:59 UTC (rev 185) @@ -0,0 +1,14 @@ +<?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>IFPkgDescriptionDeleteWarning</key> + <string></string> + <key>IFPkgDescriptionDescription</key> + <string>Set of tools for Client Administration</string> + <key>IFPkgDescriptionTitle</key> + <string>PostgreSQL Client Tools</string> + <key>IFPkgDescriptionVersion</key> + <string>8.2.5</string> +</dict> +</plist> Added: trunk/Installers/ClientTools/Info.plist =================================================================== --- trunk/Installers/ClientTools/Info.plist (rev 0) +++ trunk/Installers/ClientTools/Info.plist 2007-10-10 18:55:59 UTC (rev 185) @@ -0,0 +1,44 @@ +<?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>CFBundleGetInfoString</key> + <string>PostgreSQL Client Tools</string> + <key>CFBundleIdentifier</key> + <string>com.dsd.postgres.clienttools</string> + <key>CFBundleName</key> + <string>PostgreSQL Client Tools</string> + <key>CFBundleShortVersionString</key> + <string>8.2.5</string> + <key>IFMajorVersion</key> + <integer>8</integer> + <key>IFMinorVersion</key> + <integer>2</integer> + <key>IFPkgFlagAllowBackRev</key> + <false/> + <key>IFPkgFlagAuthorizationAction</key> + <string>AdminAuthorization</string> + <key>IFPkgFlagDefaultLocation</key> + <string>/</string> + <key>IFPkgFlagFollowLinks</key> + <false/> + <key>IFPkgFlagInstallFat</key> + <false/> + <key>IFPkgFlagIsRequired</key> + <false/> + <key>IFPkgFlagOverwritePermissions</key> + <false/> + <key>IFPkgFlagRelocatable</key> + <false/> + <key>IFPkgFlagRestartAction</key> + <string>NoRestart</string> + <key>IFPkgFlagRootVolumeOnly</key> + <false/> + <key>IFPkgFlagUpdateInstalledLanguages</key> + <false/> + <key>IFPkgFlagUseUserMask</key> + <integer>0</integer> + <key>IFPkgFormatVersion</key> + <real>0.10000000149011612</real> +</dict> +</plist> Added: trunk/Installers/ClientTools/Resources/License.rtf =================================================================== --- trunk/Installers/ClientTools/Resources/License.rtf (rev 0) +++ trunk/Installers/ClientTools/Resources/License.rtf 2007-10-10 18:55:59 UTC (rev 185) @@ -0,0 +1,26 @@ +{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf440 +{\fonttbl\f0\fnil\fcharset77 Verdana;\f1\fmodern\fcharset77 Courier;} +{\colortbl;\red255\green255\blue255;} +\margl1440\margr1440\vieww15320\viewh9400\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural + +\f0\fs26 \cf0 All portions of this installation fall under the BSD license with the exception of the PostgreSQL ODBC driver. That exception is under a Gnu GPL of LGPL license. Copies of all three licenses are installed with their respective packages.\ +\ +The BSD license, means that in the simplest terms is that you can do whatever you want with the product and source code as long as you don't claim you wrote it or sue us. You should give it a read though, it's only half a page and follows below:\ +\ + +\f1 Portions Copyright (c) 1997-2007, PostgreSQL Global Development Group\ +All rights reserved.\ +\ +Portions Copyright (c) 2004-2007, Druware Software Designs\ +All rights reserved.\ +\ +Redistribution and use in source and binary forms, with or without\ +modification, are permitted provided that the following conditions are met:\ +\ +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. \ +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. \ +3. Neither the name of the PostgreSQL Global Development Group nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.\ +\ +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\ +} \ No newline at end of file Added: trunk/Installers/ClientTools/Resources/Readme.rtf =================================================================== --- trunk/Installers/ClientTools/Resources/Readme.rtf (rev 0) +++ trunk/Installers/ClientTools/Resources/Readme.rtf 2007-10-10 18:55:59 UTC (rev 185) @@ -0,0 +1,17 @@ +{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf440 +{\fonttbl\f0\fnil\fcharset77 LucidaGrande;} +{\colortbl;\red255\green255\blue255;\red102\green102\blue102;} +\margl1440\margr1440\vieww9920\viewh9020\viewkind0 +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural + +\f0\fs24 \cf0 This distribution contains code from several sources, and while the bulk of the projects are released under BSD style licenses, pgsqlODBC, the ODBC driver is a Gnu Public License project, and uses either the GPL of LGPL, so it is safe to build closed source applications that dynamically link against it. \ +\ +The core of the PostgreSQL database engine is from http://www.postgresql.org, and is \cf2 Copyright \'a9 1996 \'d0 2007 PostgreSQL Global Development Group\cf0 . \ +\ +The JDBC driver is from http://jdbc.postgresql.org/index.html and is also \cf2 Copyright \'a9 1996 \'d0 2007 PostgreSQL Global Development Group\cf0 . \ +\ +The ODBC driver is from http://odbc.postgresql.org/ and is also \cf2 Copyright \'a9 1996 \'d0 2007 PostgreSQL Global Development Group\cf0 , with other credits to the original developers, and later updates and changes from Insight Systems.\ +\ +The various graphical tools for Mac OS X are \cf2 Copyright \'a9 2004 \'d0 2007 Druware Software Designs\cf0 .\ +\ +The StartupItem is slightly modified from the one that Marc Liyange created, along with his original efforts at getting PostgreSQL running on Mac OS X.} \ No newline at end of file Added: trunk/Installers/ClientTools/Resources/Welcome.rtf =================================================================== --- trunk/Installers/ClientTools/Resources/Welcome.rtf (rev 0) +++ trunk/Installers/ClientTools/Resources/Welcome.rtf 2007-10-10 18:55:59 UTC (rev 185) @@ -0,0 +1,15 @@ +{\rtf1\mac\ansicpg10000\cocoartf102 +{\fonttbl\f0\fnil\fcharset77 LucidaGrande;\f1\fnil\fcharset77 LucidaGrande-Bold;} +{\colortbl;\red255\green255\blue255;\red128\green0\blue0;} +\margl1440\margr1440\vieww9920\viewh9020\viewkind0 +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural + +\f0\fs24 \cf0 Welcome to the PostgreSQL for Mac OS X unified installer. This installer is intended to install the PostgreSQL Database server along with most of the needed tools to make it ready to use and easy to administer out of the box.\ +\ +In the next few steps, you will be given the option to customize which items you wish to install. For most users, the default options should be sufficient, however, that may not be the case for all users. The default installation includes many data access methods, and the graphical administration tools. \ +\ +\cf2 If you are upgrading from a previous version, you +\f1\b must +\f0\b0 shut down the running copy, and it is strongly recommended that you take a few moments to make a full backup of your databases before you upgrade.\cf0 \ +\ +Thank you for choosing PostgreSQL.} \ No newline at end of file Added: trunk/Installers/ClientTools/Resources/background.tif =================================================================== (Binary files differ) Property changes on: trunk/Installers/ClientTools/Resources/background.tif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2007-10-10 18:52:29
|
Revision: 184 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=184&view=rev Author: hawkmoon Date: 2007-10-10 11:52:33 -0700 (Wed, 10 Oct 2007) Log Message: ----------- removed bogus pmsp Removed Paths: ------------- trunk/Installers/ClientTools/Client Tools.pmsp Deleted: trunk/Installers/ClientTools/Client Tools.pmsp =================================================================== --- trunk/Installers/ClientTools/Client Tools.pmsp 2007-10-10 18:51:40 UTC (rev 183) +++ trunk/Installers/ClientTools/Client Tools.pmsp 2007-10-10 18:52:33 UTC (rev 184) @@ -1,2 +0,0 @@ -typedstream\x81\xE8\x84@\x84\x84\x84IFMutableSinglePackage |
From: <haw...@us...> - 2007-10-10 18:51:36
|
Revision: 183 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=183&view=rev Author: hawkmoon Date: 2007-10-10 11:51:40 -0700 (Wed, 10 Oct 2007) Log Message: ----------- updated to 8.2.5 Modified Paths: -------------- trunk/Installers/PostgreSQL/Description.plist trunk/Installers/PostgreSQL/Info.plist trunk/Installers/PostgreSQL/Resources/License.rtf trunk/Installers/PostgreSQL/Resources/Readme.rtf Modified: trunk/Installers/PostgreSQL/Description.plist =================================================================== --- trunk/Installers/PostgreSQL/Description.plist 2007-10-10 18:50:17 UTC (rev 182) +++ trunk/Installers/PostgreSQL/Description.plist 2007-10-10 18:51:40 UTC (rev 183) @@ -7,8 +7,8 @@ <key>IFPkgDescriptionDescription</key> <string>Installs a full PostgreSQL Database server environment on Mac OS X.</string> <key>IFPkgDescriptionTitle</key> - <string>PostgreSQL 8.0.1</string> + <string>PostgreSQL 8.2.5</string> <key>IFPkgDescriptionVersion</key> - <string>8.0.1</string> + <string>8.2.5</string> </dict> </plist> Modified: trunk/Installers/PostgreSQL/Info.plist =================================================================== --- trunk/Installers/PostgreSQL/Info.plist 2007-10-10 18:50:17 UTC (rev 182) +++ trunk/Installers/PostgreSQL/Info.plist 2007-10-10 18:51:40 UTC (rev 183) @@ -3,17 +3,17 @@ <plist version="1.0"> <dict> <key>CFBundleGetInfoString</key> - <string>PostgreSQL 8.0.1</string> + <string>PostgreSQL 8.2.5</string> <key>CFBundleIdentifier</key> <string>org.postgresql.dbserver</string> <key>CFBundleName</key> <string>PostgreSQL</string> <key>CFBundleShortVersionString</key> - <string>8.0.1c</string> + <string>8.2.5</string> <key>IFMajorVersion</key> <integer>8</integer> <key>IFMinorVersion</key> - <integer>0</integer> + <integer>2</integer> <key>IFPkgFlagComponentDirectory</key> <string>../packages</string> <key>IFPkgFlagPackageList</key> Modified: trunk/Installers/PostgreSQL/Resources/License.rtf =================================================================== --- trunk/Installers/PostgreSQL/Resources/License.rtf 2007-10-10 18:50:17 UTC (rev 182) +++ trunk/Installers/PostgreSQL/Resources/License.rtf 2007-10-10 18:51:40 UTC (rev 183) @@ -1,4 +1,4 @@ -{\rtf1\mac\ansicpg10000\cocoartf102 +{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf440 {\fonttbl\f0\fnil\fcharset77 Verdana;\f1\fmodern\fcharset77 Courier;} {\colortbl;\red255\green255\blue255;} \margl1440\margr1440\vieww15320\viewh9400\viewkind0 @@ -9,10 +9,10 @@ The BSD license, means that in the simplest terms is that you can do whatever you want with the product and source code as long as you don't claim you wrote it or sue us. You should give it a read though, it's only half a page and follows below:\ \ -\f1 Portions Copyright (c) 1997-2005, PostgreSQL Global Development Group\ +\f1 Portions Copyright (c) 1997-2007, PostgreSQL Global Development Group\ All rights reserved.\ \ -Portions Copyright (c) 2004-2005, Druware Software Designs\ +Portions Copyright (c) 2004-2007, Druware Software Designs\ All rights reserved.\ \ Redistribution and use in source and binary forms, with or without\ Modified: trunk/Installers/PostgreSQL/Resources/Readme.rtf =================================================================== --- trunk/Installers/PostgreSQL/Resources/Readme.rtf 2007-10-10 18:50:17 UTC (rev 182) +++ trunk/Installers/PostgreSQL/Resources/Readme.rtf 2007-10-10 18:51:40 UTC (rev 183) @@ -1,4 +1,4 @@ -{\rtf1\mac\ansicpg10000\cocoartf102 +{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf440 {\fonttbl\f0\fnil\fcharset77 LucidaGrande;} {\colortbl;\red255\green255\blue255;\red102\green102\blue102;} \margl1440\margr1440\vieww9920\viewh9020\viewkind0 @@ -6,12 +6,12 @@ \f0\fs24 \cf0 This distribution contains code from several sources, and while the bulk of the projects are released under BSD style licenses, pgsqlODBC, the ODBC driver is a Gnu Public License project, and uses either the GPL of LGPL, so it is safe to build closed source applications that dynamically link against it. \ \ -The core of the PostgreSQL database engine is from http://www.postgresql.org, and is \cf2 Copyright \'a9 1996 \'d0 2005 PostgreSQL Global Development Group\cf0 . \ +The core of the PostgreSQL database engine is from http://www.postgresql.org, and is \cf2 Copyright \'a9 1996 \'d0 2007 PostgreSQL Global Development Group\cf0 . \ \ -The JDBC driver is from http://jdbc.postgresql.org/index.html and is also \cf2 Copyright \'a9 1996 \'d0 2005 PostgreSQL Global Development Group\cf0 . \ +The JDBC driver is from http://jdbc.postgresql.org/index.html and is also \cf2 Copyright \'a9 1996 \'d0 2007 PostgreSQL Global Development Group\cf0 . \ \ -The ODBC driver is from http://odbc.postgresql.org/ and is also \cf2 Copyright \'a9 1996 \'d0 2005 PostgreSQL Global Development Group\cf0 , with other credits to the original developers, and later updates and changes from Insight Systems.\ +The ODBC driver is from http://odbc.postgresql.org/ and is also \cf2 Copyright \'a9 1996 \'d0 2007 PostgreSQL Global Development Group\cf0 , with other credits to the original developers, and later updates and changes from Insight Systems.\ \ -The various graphical tools for Mac OS X are \cf2 Copyright \'a9 2004 \'d0 2005 Druware Software Designs\cf0 .\ +The various graphical tools for Mac OS X are \cf2 Copyright \'a9 2004 \'d0 2007 Druware Software Designs\cf0 .\ \ The StartupItem is slightly modified from the one that Marc Liyange created, along with his original efforts at getting PostgreSQL running on Mac OS X.} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2007-10-10 18:50:14
|
Revision: 182 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=182&view=rev Author: hawkmoon Date: 2007-10-10 11:50:17 -0700 (Wed, 10 Oct 2007) Log Message: ----------- readded background.tif Added Paths: ----------- trunk/Installers/PostgreSQL/Resources/background.tif Added: trunk/Installers/PostgreSQL/Resources/background.tif =================================================================== (Binary files differ) Property changes on: trunk/Installers/PostgreSQL/Resources/background.tif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2007-10-10 18:49:35
|
Revision: 181 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=181&view=rev Author: hawkmoon Date: 2007-10-10 11:49:38 -0700 (Wed, 10 Oct 2007) Log Message: ----------- removed background.tif due to corruption Removed Paths: ------------- trunk/Installers/PostgreSQL/Resources/background.tif Deleted: trunk/Installers/PostgreSQL/Resources/background.tif =================================================================== --- trunk/Installers/PostgreSQL/Resources/background.tif 2007-10-10 18:45:51 UTC (rev 180) +++ trunk/Installers/PostgreSQL/Resources/background.tif 2007-10-10 18:49:38 UTC (rev 181) @@ -1,1165 +0,0 @@ -MM |
From: <haw...@us...> - 2007-10-10 18:45:47
|
Revision: 180 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=180&view=rev Author: hawkmoon Date: 2007-10-10 11:45:51 -0700 (Wed, 10 Oct 2007) Log Message: ----------- updated to 8.2.5 Modified Paths: -------------- trunk/Installers/StartupItem/Description.plist trunk/Installers/StartupItem/Resources/Readme.rtf trunk/Installers/StartupItem/Resources/preflight Removed Paths: ------------- trunk/Installers/StartupItem/.DS_Store Deleted: trunk/Installers/StartupItem/.DS_Store =================================================================== --- trunk/Installers/StartupItem/.DS_Store 2007-10-10 18:29:09 UTC (rev 179) +++ trunk/Installers/StartupItem/.DS_Store 2007-10-10 18:45:51 UTC (rev 180) @@ -1 +0,0 @@ - |
From: <haw...@us...> - 2007-10-10 18:29:06
|
Revision: 179 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=179&view=rev Author: hawkmoon Date: 2007-10-10 11:29:09 -0700 (Wed, 10 Oct 2007) Log Message: ----------- updated to 8.2.5 Modified Paths: -------------- trunk/Installers/StartupItem/Description.plist trunk/Installers/StartupItem/Info.plist Added Paths: ----------- trunk/Installers/StartupItem/Resources/background.tif Removed Paths: ------------- trunk/Installers/StartupItem/Files/ Modified: trunk/Installers/StartupItem/Description.plist =================================================================== --- trunk/Installers/StartupItem/Description.plist 2007-10-10 18:24:11 UTC (rev 178) +++ trunk/Installers/StartupItem/Description.plist 2007-10-10 18:29:09 UTC (rev 179) @@ -9,6 +9,6 @@ <key>IFPkgDescriptionTitle</key> <string>PostgreSQL Startup Item</string> <key>IFPkgDescriptionVersion</key> - <string>8.0</string> + <string>8.2,5</string> </dict> </plist> Modified: trunk/Installers/StartupItem/Info.plist =================================================================== --- trunk/Installers/StartupItem/Info.plist 2007-10-10 18:24:11 UTC (rev 178) +++ trunk/Installers/StartupItem/Info.plist 2007-10-10 18:29:09 UTC (rev 179) @@ -3,17 +3,17 @@ <plist version="1.0"> <dict> <key>CFBundleGetInfoString</key> - <string>PostgreSQL Startup 8.0.1</string> + <string>PostgreSQL Startup 8.2.5</string> <key>CFBundleIdentifier</key> <string>org.postgresql.startupitem</string> <key>CFBundleName</key> <string>PostgreSQL Startup Item</string> <key>CFBundleShortVersionString</key> - <string>8.0.1</string> + <string>8.2.5</string> <key>IFMajorVersion</key> <integer>8</integer> <key>IFMinorVersion</key> - <integer>0</integer> + <integer>2</integer> <key>IFPkgFlagAllowBackRev</key> <false/> <key>IFPkgFlagAuthorizationAction</key> Added: trunk/Installers/StartupItem/Resources/background.tif =================================================================== (Binary files differ) Property changes on: trunk/Installers/StartupItem/Resources/background.tif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2007-10-10 18:24:06
|
Revision: 178 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=178&view=rev Author: hawkmoon Date: 2007-10-10 11:24:11 -0700 (Wed, 10 Oct 2007) Log Message: ----------- updated to 8.2.5 Modified Paths: -------------- trunk/Installers/PostgreSQL8/Description.plist trunk/Installers/PostgreSQL8/Info.plist Added Paths: ----------- trunk/Installers/PostgreSQL8/Resources/background.tif Modified: trunk/Installers/PostgreSQL8/Description.plist =================================================================== --- trunk/Installers/PostgreSQL8/Description.plist 2007-10-10 18:23:04 UTC (rev 177) +++ trunk/Installers/PostgreSQL8/Description.plist 2007-10-10 18:24:11 UTC (rev 178) @@ -9,6 +9,6 @@ <key>IFPkgDescriptionTitle</key> <string>PostgreSQL</string> <key>IFPkgDescriptionVersion</key> - <string>8.0</string> + <string>8.2.5</string> </dict> </plist> Modified: trunk/Installers/PostgreSQL8/Info.plist =================================================================== --- trunk/Installers/PostgreSQL8/Info.plist 2007-10-10 18:23:04 UTC (rev 177) +++ trunk/Installers/PostgreSQL8/Info.plist 2007-10-10 18:24:11 UTC (rev 178) @@ -3,17 +3,17 @@ <plist version="1.0"> <dict> <key>CFBundleGetInfoString</key> - <string>PostgreSQL 8.0</string> + <string>PostgreSQL 8.2.5</string> <key>CFBundleIdentifier</key> <string>org.postgresql.server</string> <key>CFBundleName</key> <string>PostgreSQL</string> <key>CFBundleShortVersionString</key> - <string>8.0.1c</string> + <string>8.2.5</string> <key>IFMajorVersion</key> <integer>8</integer> <key>IFMinorVersion</key> - <integer>0</integer> + <integer>2</integer> <key>IFPkgFlagAllowBackRev</key> <false/> <key>IFPkgFlagAuthorizationAction</key> Added: trunk/Installers/PostgreSQL8/Resources/background.tif =================================================================== (Binary files differ) Property changes on: trunk/Installers/PostgreSQL8/Resources/background.tif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2007-10-10 18:23:01
|
Revision: 177 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=177&view=rev Author: hawkmoon Date: 2007-10-10 11:23:04 -0700 (Wed, 10 Oct 2007) Log Message: ----------- removed background.tif due to corruption Removed Paths: ------------- trunk/Installers/StartupItem/Resources/background.tif Deleted: trunk/Installers/StartupItem/Resources/background.tif =================================================================== --- trunk/Installers/StartupItem/Resources/background.tif 2007-10-10 18:09:59 UTC (rev 176) +++ trunk/Installers/StartupItem/Resources/background.tif 2007-10-10 18:23:04 UTC (rev 177) @@ -1,1165 +0,0 @@ -MM |
From: <haw...@us...> - 2007-10-10 18:09:59
|
Revision: 176 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=176&view=rev Author: hawkmoon Date: 2007-10-10 11:09:59 -0700 (Wed, 10 Oct 2007) Log Message: ----------- removed background.tif to resolve type problems Modified Paths: -------------- trunk/Installers/PostgreSQL8/Resources/Readme.rtf Removed Paths: ------------- trunk/Installers/PostgreSQL8/Resources/background.tif Modified: trunk/Installers/PostgreSQL8/Resources/Readme.rtf =================================================================== --- trunk/Installers/PostgreSQL8/Resources/Readme.rtf 2007-10-10 04:03:55 UTC (rev 175) +++ trunk/Installers/PostgreSQL8/Resources/Readme.rtf 2007-10-10 18:09:59 UTC (rev 176) @@ -1,4 +1,4 @@ -{\rtf1\mac\ansicpg10000\cocoartf102 +{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf440 {\fonttbl\f0\fnil\fcharset77 LucidaGrande;} {\colortbl;\red255\green255\blue255;\red102\green102\blue102;} \margl1440\margr1440\vieww9920\viewh9020\viewkind0 @@ -6,12 +6,12 @@ \f0\fs24 \cf0 This distribution contains code from several sources, and while the bulk of the projects are released under BSD style licenses, pgsqlODBC, the ODBC driver is a Gnu Public License project, and uses either the GPL of LGPL, so it is safe to build closed source applications that dynamically link against it. \ \ -The core of the PostgreSQL database engine is from http://www.postgresql.org, and is \cf2 Copyright \'a9 1996 \'d0 2005 PostgreSQL Global Development Group\cf0 . \ +The core of the PostgreSQL database engine is from http://www.postgresql.org, and is \cf2 Copyright \'a9 1996 \'d0 2007 PostgreSQL Global Development Group\cf0 . \ \ -The JDBC driver is from http://jdbc.postgresql.org/index.html and is also \cf2 Copyright \'a9 1996 \'d0 2005 PostgreSQL Global Development Group\cf0 . \ +The JDBC driver is from http://jdbc.postgresql.org/index.html and is also \cf2 Copyright \'a9 1996 \'d0 2007 PostgreSQL Global Development Group\cf0 . \ \ -The ODBC driver is from http://odbc.postgresql.org/ and is also \cf2 Copyright \'a9 1996 \'d0 2005 PostgreSQL Global Development Group\cf0 , with other credits to the original developers, and later updates and changes from Insight Systems.\ +The ODBC driver is from http://odbc.postgresql.org/ and is also \cf2 Copyright \'a9 1996 \'d0 2007 PostgreSQL Global Development Group\cf0 , with other credits to the original developers, and later updates and changes from Insight Systems.\ \ -The various graphical tools for Mac OS X are \cf2 Copyright \'a9 2004 \'d0 2005 Druware Software Designs\cf0 .\ +The various graphical tools for Mac OS X are \cf2 Copyright \'a9 2004 \'d0 2007 Druware Software Designs\cf0 .\ \ The StartupItem is slightly modified from the one that Marc Liyange created, along with his original efforts at getting PostgreSQL running on Mac OS X.} \ No newline at end of file Deleted: trunk/Installers/PostgreSQL8/Resources/background.tif =================================================================== --- trunk/Installers/PostgreSQL8/Resources/background.tif 2007-10-10 04:03:55 UTC (rev 175) +++ trunk/Installers/PostgreSQL8/Resources/background.tif 2007-10-10 18:09:59 UTC (rev 176) @@ -1,1165 +0,0 @@ -MM |
From: <haw...@us...> - 2007-10-10 04:03:54
|
Revision: 175 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=175&view=rev Author: hawkmoon Date: 2007-10-09 21:03:55 -0700 (Tue, 09 Oct 2007) Log Message: ----------- Readded NIB Added Paths: ----------- trunk/CreateUser/English.lproj/MainMenu.nib/ trunk/CreateUser/English.lproj/MainMenu.nib/classes.nib trunk/CreateUser/English.lproj/MainMenu.nib/create_database_wiz.tiff trunk/CreateUser/English.lproj/MainMenu.nib/info.nib trunk/CreateUser/English.lproj/MainMenu.nib/keyedobjects.nib Added: trunk/CreateUser/English.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/CreateUser/English.lproj/MainMenu.nib/classes.nib (rev 0) +++ trunk/CreateUser/English.lproj/MainMenu.nib/classes.nib 2007-10-10 04:03:55 UTC (rev 175) @@ -0,0 +1,33 @@ +{ + IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + { + ACTIONS = {onBack = id; onCancel = id; onNext = id; }; + CLASS = PGNewUserUI; + LANGUAGE = ObjC; + OUTLETS = { + allowCreateDB = NSButton; + allowCreateUser = NSButton; + back = NSButton; + groups = NSPopUpButton; + newConfPassword = NSTextField; + newExpirationDate = NSTextField; + newLogin = NSTextField; + newPassword = NSTextField; + newUID = NSTextField; + next = NSButton; + password = NSSecureTextField; + port = NSTextField; + resultOutput = NSTextView; + resultStatus = NSProgressIndicator; + server = NSTextField; + tabs = NSTabView; + user = NSTextField; + versionSevenFeaturesOnly = NSButton; + window = NSWindow; + }; + SUPERCLASS = NSObject; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/CreateUser/English.lproj/MainMenu.nib/create_database_wiz.tiff =================================================================== (Binary files differ) Property changes on: trunk/CreateUser/English.lproj/MainMenu.nib/create_database_wiz.tiff ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/CreateUser/English.lproj/MainMenu.nib/info.nib =================================================================== --- trunk/CreateUser/English.lproj/MainMenu.nib/info.nib (rev 0) +++ trunk/CreateUser/English.lproj/MainMenu.nib/info.nib 2007-10-10 04:03:55 UTC (rev 175) @@ -0,0 +1,21 @@ +<?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>133 106 356 240 0 0 1680 1028 </string> + <key>IBEditorPositions</key> + <dict> + <key>29</key> + <string>706 520 235 44 0 0 1680 1028 </string> + </dict> + <key>IBFramework Version</key> + <string>364.0</string> + <key>IBOpenObjects</key> + <array> + <integer>29</integer> + </array> + <key>IBSystem Version</key> + <string>7U16</string> +</dict> +</plist> Added: trunk/CreateUser/English.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/CreateUser/English.lproj/MainMenu.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2007-10-10 04:01:50
|
Revision: 174 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=174&view=rev Author: hawkmoon Date: 2007-10-09 21:01:54 -0700 (Tue, 09 Oct 2007) Log Message: ----------- Removed bad file Removed Paths: ------------- trunk/CreateUser/English.lproj/MainMenu~.nib/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2007-10-10 03:55:43
|
Revision: 173 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=173&view=rev Author: hawkmoon Date: 2007-10-09 20:55:47 -0700 (Tue, 09 Oct 2007) Log Message: ----------- resolved nib import issue Removed Paths: ------------- trunk/CreateUser/English.lproj/MainMenu.nib/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2007-10-10 03:31:34
|
Revision: 172 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=172&view=rev Author: hawkmoon Date: 2007-10-09 20:31:38 -0700 (Tue, 09 Oct 2007) Log Message: ----------- Fixed Artwork from CVS import Added Paths: ----------- trunk/CreateUser/add user_32.icns trunk/CreateUser/create_user_wiz.png Added: trunk/CreateUser/add user_32.icns =================================================================== (Binary files differ) Property changes on: trunk/CreateUser/add user_32.icns ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/CreateUser/create_user_wiz.png =================================================================== (Binary files differ) Property changes on: trunk/CreateUser/create_user_wiz.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2007-10-10 02:59:52
|
Revision: 171 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=171&view=rev Author: hawkmoon Date: 2007-10-09 19:59:54 -0700 (Tue, 09 Oct 2007) Log Message: ----------- Updated to Xcode 2.4 Added Paths: ----------- trunk/CreateUser/Create User.xcodeproj/ trunk/CreateUser/Create User.xcodeproj/arsatori.mode1 trunk/CreateUser/Create User.xcodeproj/arsatori.pbxuser trunk/CreateUser/Create User.xcodeproj/project.pbxproj Removed Paths: ------------- trunk/CreateUser/add user_32.icns trunk/CreateUser/create_user_wiz.png Added: trunk/CreateUser/Create User.xcodeproj/arsatori.mode1 =================================================================== --- trunk/CreateUser/Create User.xcodeproj/arsatori.mode1 (rev 0) +++ trunk/CreateUser/Create User.xcodeproj/arsatori.mode1 2007-10-10 02:59:54 UTC (rev 171) @@ -0,0 +1,1331 @@ +<?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>ActivePerspectiveName</key> + <string>Project</string> + <key>AllowedModules</key> + <array> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>n</string> + <key>Module</key> + <string>PBXSmartGroupTreeModule</string> + <key>Name</key> + <string>Groups and Files Outline View</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>n</string> + <key>Module</key> + <string>PBXNavigatorGroup</string> + <key>Name</key> + <string>Editor</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>n</string> + <key>Module</key> + <string>XCTaskListModule</string> + <key>Name</key> + <string>Task List</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>n</string> + <key>Module</key> + <string>XCDetailModule</string> + <key>Name</key> + <string>File and Smart Group Detail Viewer</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>1</string> + <key>Module</key> + <string>PBXBuildResultsModule</string> + <key>Name</key> + <string>Detailed Build Results Viewer</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>1</string> + <key>Module</key> + <string>PBXProjectFindModule</string> + <key>Name</key> + <string>Project Batch Find Tool</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>n</string> + <key>Module</key> + <string>PBXRunSessionModule</string> + <key>Name</key> + <string>Run Log</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>n</string> + <key>Module</key> + <string>PBXBookmarksModule</string> + <key>Name</key> + <string>Bookmarks Tool</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>n</string> + <key>Module</key> + <string>PBXClassBrowserModule</string> + <key>Name</key> + <string>Class Browser</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>n</string> + <key>Module</key> + <string>PBXCVSModule</string> + <key>Name</key> + <string>Source Code Control Tool</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>n</string> + <key>Module</key> + <string>PBXDebugBreakpointsModule</string> + <key>Name</key> + <string>Debug Breakpoints Tool</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>n</string> + <key>Module</key> + <string>XCDockableInspector</string> + <key>Name</key> + <string>Inspector</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>n</string> + <key>Module</key> + <string>PBXOpenQuicklyModule</string> + <key>Name</key> + <string>Open Quickly Tool</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>1</string> + <key>Module</key> + <string>PBXDebugSessionModule</string> + <key>Name</key> + <string>Debugger</string> + </dict> + <dict> + <key>BundleLoadPath</key> + <string></string> + <key>MaxInstances</key> + <string>1</string> + <key>Module</key> + <string>PBXDebugCLIModule</string> + <key>Name</key> + <string>Debug Console</string> + </dict> + </array> + <key>Description</key> + <string>DefaultDescriptionKey</string> + <key>DockingSystemVisible</key> + <false/> + <key>Extension</key> + <string>mode1</string> + <key>FavBarConfig</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>43F67E750CBC6D1B00B36845</string> + <key>XCBarModuleItemNames</key> + <dict/> + <key>XCBarModuleItems</key> + <array/> + </dict> + <key>FirstTimeWindowDisplayed</key> + <false/> + <key>Identifier</key> + <string>com.apple.perspectives.project.mode1</string> + <key>MajorVersion</key> + <integer>31</integer> + <key>MinorVersion</key> + <integer>1</integer> + <key>Name</key> + <string>Default</string> + <key>Notifications</key> + <array/> + <key>OpenEditors</key> + <array/> + <key>PerspectiveWidths</key> + <array> + <integer>-1</integer> + <integer>-1</integer> + </array> + <key>Perspectives</key> + <array> + <dict> + <key>ChosenToolbarItems</key> + <array> + <string>active-target-popup</string> + <string>active-buildstyle-popup</string> + <string>action</string> + <string>NSToolbarFlexibleSpaceItem</string> + <string>build</string> + <string>build-and-debug</string> + <string>debug</string> + <string>clean</string> + <string>get-info</string> + <string>toggle-editor</string> + <string>NSToolbarFlexibleSpaceItem</string> + <string>com.apple.pbx.toolbar.searchfield</string> + </array> + <key>ControllerClassBaseName</key> + <string></string> + <key>IconName</key> + <string>WindowOfProjectWithEditor</string> + <key>Identifier</key> + <string>perspective.project</string> + <key>IsVertical</key> + <false/> + <key>Layout</key> + <array> + <dict> + <key>BecomeActive</key> + <true/> + <key>ContentConfiguration</key> + <dict> + <key>PBXBottomSmartGroupGIDs</key> + <array> + <string>1C37FBAC04509CD000000102</string> + <string>1C37FAAC04509CD000000102</string> + <string>1C08E77C0454961000C914BD</string> + <string>1C37FABC05509CD000000102</string> + <string>1C37FABC05539CD112110102</string> + <string>E2644B35053B69B200211256</string> + <string>1C37FABC04509CD000100104</string> + <string>1CC0EA4004350EF90044410B</string> + <string>1CC0EA4004350EF90041110B</string> + </array> + <key>PBXProjectModuleGUID</key> + <string>1CE0B1FE06471DED0097A5F4</string> + <key>PBXProjectModuleLabel</key> + <string>Files</string> + <key>PBXProjectStructureProvided</key> + <string>yes</string> + <key>PBXSmartGroupTreeModuleColumnData</key> + <dict> + <key>PBXSmartGroupTreeModuleColumnWidthsKey</key> + <array> + <real>182</real> + </array> + <key>PBXSmartGroupTreeModuleColumnsKey_v4</key> + <array> + <string>MainColumn</string> + </array> + </dict> + <key>PBXSmartGroupTreeModuleOutlineStateKey_v7</key> + <dict> + <key>PBXSmartGroupTreeModuleOutlineStateExpansionKey</key> + <array> + <string>29B97314FDCFA39411CA2CEA</string> + <string>29B97323FDCFA39411CA2CEA</string> + <string>1058C7A0FEA54F0111CA2CBB</string> + <string>1C37FABC05509CD000000102</string> + </array> + <key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key> + <array> + <array> + <integer>6</integer> + <integer>5</integer> + <integer>4</integer> + <integer>0</integer> + </array> + </array> + <key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key> + <string>{{0, 0}, {182, 338}}</string> + </dict> + <key>PBXTopSmartGroupGIDs</key> + <array/> + <key>XCIncludePerspectivesSwitch</key> + <true/> + <key>XCSharingToken</key> + <string>com.apple.Xcode.GFSharingToken</string> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{0, 0}, {199, 356}}</string> + <key>GroupTreeTableConfiguration</key> + <array> + <string>MainColumn</string> + <real>182</real> + </array> + <key>RubberWindowFrame</key> + <string>202 726 690 397 0 0 1920 1178 </string> + </dict> + <key>Module</key> + <string>PBXSmartGroupTreeModule</string> + <key>Proportion</key> + <string>199pt</string> + </dict> + <dict> + <key>Dock</key> + <array> + <dict> + <key>ContentConfiguration</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1CE0B20306471E060097A5F4</string> + <key>PBXProjectModuleLabel</key> + <string>MyNewFile14.java</string> + <key>PBXSplitModuleInNavigatorKey</key> + <dict> + <key>Split0</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1CE0B20406471E060097A5F4</string> + <key>PBXProjectModuleLabel</key> + <string>MyNewFile14.java</string> + </dict> + <key>SplitCount</key> + <string>1</string> + </dict> + <key>StatusBarVisibility</key> + <true/> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{0, 0}, {486, 0}}</string> + <key>RubberWindowFrame</key> + <string>202 726 690 397 0 0 1920 1178 </string> + </dict> + <key>Module</key> + <string>PBXNavigatorGroup</string> + <key>Proportion</key> + <string>0pt</string> + </dict> + <dict> + <key>ContentConfiguration</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1CE0B20506471E060097A5F4</string> + <key>PBXProjectModuleLabel</key> + <string>Detail</string> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{0, 5}, {486, 351}}</string> + <key>RubberWindowFrame</key> + <string>202 726 690 397 0 0 1920 1178 </string> + </dict> + <key>Module</key> + <string>XCDetailModule</string> + <key>Proportion</key> + <string>351pt</string> + </dict> + </array> + <key>Proportion</key> + <string>486pt</string> + </dict> + </array> + <key>Name</key> + <string>Project</string> + <key>ServiceClasses</key> + <array> + <string>XCModuleDock</string> + <string>PBXSmartGroupTreeModule</string> + <string>XCModuleDock</string> + <string>PBXNavigatorGroup</string> + <string>XCDetailModule</string> + </array> + <key>TableOfContents</key> + <array> + <string>43F67E730CBC6D1B00B36845</string> + <string>1CE0B1FE06471DED0097A5F4</string> + <string>43F67E740CBC6D1B00B36845</string> + <string>1CE0B20306471E060097A5F4</string> + <string>1CE0B20506471E060097A5F4</string> + </array> + <key>ToolbarConfiguration</key> + <string>xcode.toolbar.config.default</string> + </dict> + <dict> + <key>ControllerClassBaseName</key> + <string></string> + <key>IconName</key> + <string>WindowOfProject</string> + <key>Identifier</key> + <string>perspective.morph</string> + <key>IsVertical</key> + <integer>0</integer> + <key>Layout</key> + <array> + <dict> + <key>BecomeActive</key> + <integer>1</integer> + <key>ContentConfiguration</key> + <dict> + <key>PBXBottomSmartGroupGIDs</key> + <array> + <string>1C37FBAC04509CD000000102</string> + <string>1C37FAAC04509CD000000102</string> + <string>1C08E77C0454961000C914BD</string> + <string>1C37FABC05509CD000000102</string> + <string>1C37FABC05539CD112110102</string> + <string>E2644B35053B69B200211256</string> + <string>1C37FABC04509CD000100104</string> + <string>1CC0EA4004350EF90044410B</string> + <string>1CC0EA4004350EF90041110B</string> + </array> + <key>PBXProjectModuleGUID</key> + <string>11E0B1FE06471DED0097A5F4</string> + <key>PBXProjectModuleLabel</key> + <string>Files</string> + <key>PBXProjectStructureProvided</key> + <string>yes</string> + <key>PBXSmartGroupTreeModuleColumnData</key> + <dict> + <key>PBXSmartGroupTreeModuleColumnWidthsKey</key> + <array> + <real>186</real> + </array> + <key>PBXSmartGroupTreeModuleColumnsKey_v4</key> + <array> + <string>MainColumn</string> + </array> + </dict> + <key>PBXSmartGroupTreeModuleOutlineStateKey_v7</key> + <dict> + <key>PBXSmartGroupTreeModuleOutlineStateExpansionKey</key> + <array> + <string>29B97314FDCFA39411CA2CEA</string> + <string>1C37FABC05509CD000000102</string> + </array> + <key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key> + <array> + <array> + <integer>0</integer> + </array> + </array> + <key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key> + <string>{{0, 0}, {186, 337}}</string> + </dict> + <key>PBXTopSmartGroupGIDs</key> + <array/> + <key>XCIncludePerspectivesSwitch</key> + <integer>1</integer> + <key>XCSharingToken</key> + <string>com.apple.Xcode.GFSharingToken</string> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{0, 0}, {203, 355}}</string> + <key>GroupTreeTableConfiguration</key> + <array> + <string>MainColumn</string> + <real>186</real> + </array> + <key>RubberWindowFrame</key> + <string>373 269 690 397 0 0 1440 878 </string> + </dict> + <key>Module</key> + <string>PBXSmartGroupTreeModule</string> + <key>Proportion</key> + <string>100%</string> + </dict> + </array> + <key>Name</key> + <string>Morph</string> + <key>PreferredWidth</key> + <integer>300</integer> + <key>ServiceClasses</key> + <array> + <string>XCModuleDock</string> + <string>PBXSmartGroupTreeModule</string> + </array> + <key>TableOfContents</key> + <array> + <string>11E0B1FE06471DED0097A5F4</string> + </array> + <key>ToolbarConfiguration</key> + <string>xcode.toolbar.config.default.short</string> + </dict> + </array> + <key>PerspectivesBarVisible</key> + <false/> + <key>ShelfIsVisible</key> + <false/> + <key>SourceDescription</key> + <string>file at '/System/Library/PrivateFrameworks/DevToolsInterface.framework/Versions/A/Resources/XCPerspectivesSpecificationMode1.xcperspec'</string> + <key>StatusbarIsVisible</key> + <true/> + <key>TimeStamp</key> + <real>0.0</real> + <key>ToolbarDisplayMode</key> + <integer>2</integer> + <key>ToolbarIsVisible</key> + <true/> + <key>ToolbarSizeMode</key> + <integer>2</integer> + <key>Type</key> + <string>Perspectives</string> + <key>UpdateMessage</key> + <string>The Default Workspace in this version of Xcode now includes support to hide and show the detail view (what has been referred to as the "Metro-Morph" feature). You must discard your current Default Workspace settings and update to the latest Default Workspace in order to gain this feature. Do you wish to update to the latest Workspace defaults for project '%@'?</string> + <key>WindowJustification</key> + <integer>5</integer> + <key>WindowOrderList</key> + <array> + <string>43F67E760CBC6D1B00B36845</string> + <string>/Users/arsatori/Projects/PostgreSQL/svn/trunk/CreateUser/Create User.xcodeproj</string> + </array> + <key>WindowString</key> + <string>202 726 690 397 0 0 1920 1178 </string> + <key>WindowTools</key> + <array> + <dict> + <key>FirstTimeWindowDisplayed</key> + <false/> + <key>Identifier</key> + <string>windowTool.build</string> + <key>IsVertical</key> + <true/> + <key>Layout</key> + <array> + <dict> + <key>Dock</key> + <array> + <dict> + <key>ContentConfiguration</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1CD0528F0623707200166675</string> + <key>PBXProjectModuleLabel</key> + <string></string> + <key>StatusBarVisibility</key> + <true/> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{0, 0}, {500, 218}}</string> + <key>RubberWindowFrame</key> + <string>49 624 500 500 0 0 1920 1178 </string> + </dict> + <key>Module</key> + <string>PBXNavigatorGroup</string> + <key>Proportion</key> + <string>218pt</string> + </dict> + <dict> + <key>ContentConfiguration</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>XCMainBuildResultsModuleGUID</string> + <key>PBXProjectModuleLabel</key> + <string>Build</string> + <key>XCBuildResultsTrigger_Collapse</key> + <integer>1021</integer> + <key>XCBuildResultsTrigger_Open</key> + <integer>1011</integer> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{0, 223}, {500, 236}}</string> + <key>RubberWindowFrame</key> + <string>49 624 500 500 0 0 1920 1178 </string> + </dict> + <key>Module</key> + <string>PBXBuildResultsModule</string> + <key>Proportion</key> + <string>236pt</string> + </dict> + </array> + <key>Proportion</key> + <string>459pt</string> + </dict> + </array> + <key>Name</key> + <string>Build Results</string> + <key>ServiceClasses</key> + <array> + <string>PBXBuildResultsModule</string> + </array> + <key>StatusbarIsVisible</key> + <true/> + <key>TableOfContents</key> + <array> + <string>43F67E760CBC6D1B00B36845</string> + <string>43F67E770CBC6D1B00B36845</string> + <string>1CD0528F0623707200166675</string> + <string>XCMainBuildResultsModuleGUID</string> + </array> + <key>ToolbarConfiguration</key> + <string>xcode.toolbar.config.build</string> + <key>WindowString</key> + <string>49 624 500 500 0 0 1920 1178 </string> + <key>WindowToolGUID</key> + <string>43F67E760CBC6D1B00B36845</string> + <key>WindowToolIsVisible</key> + <false/> + </dict> + <dict> + <key>Identifier</key> + <string>windowTool.debugger</string> + <key>Layout</key> + <array> + <dict> + <key>Dock</key> + <array> + <dict> + <key>ContentConfiguration</key> + <dict> + <key>Debugger</key> + <dict> + <key>HorizontalSplitView</key> + <dict> + <key>_collapsingFrameDimension</key> + <real>0.0</real> + <key>_indexOfCollapsedView</key> + <integer>0</integer> + <key>_percentageOfCollapsedView</key> + <real>0.0</real> + <key>isCollapsed</key> + <string>yes</string> + <key>sizes</key> + <array> + <string>{{0, 0}, {317, 164}}</string> + <string>{{317, 0}, {377, 164}}</string> + </array> + </dict> + <key>VerticalSplitView</key> + <dict> + <key>_collapsingFrameDimension</key> + <real>0.0</real> + <key>_indexOfCollapsedView</key> + <integer>0</integer> + <key>_percentageOfCollapsedView</key> + <real>0.0</real> + <key>isCollapsed</key> + <string>yes</string> + <key>sizes</key> + <array> + <string>{{0, 0}, {694, 164}}</string> + <string>{{0, 164}, {694, 216}}</string> + </array> + </dict> + </dict> + <key>LauncherConfigVersion</key> + <string>8</string> + <key>PBXProjectModuleGUID</key> + <string>1C162984064C10D400B95A72</string> + <key>PBXProjectModuleLabel</key> + <string>Debug - GLUTExamples (Underwater)</string> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>DebugConsoleDrawerSize</key> + <string>{100, 120}</string> + <key>DebugConsoleVisible</key> + <string>None</string> + <key>DebugConsoleWindowFrame</key> + <string>{{200, 200}, {500, 300}}</string> + <key>DebugSTDIOWindowFrame</key> + <string>{{200, 200}, {500, 300}}</string> + <key>Frame</key> + <string>{{0, 0}, {694, 380}}</string> + <key>RubberWindowFrame</key> + <string>321 238 694 422 0 0 1440 878 </string> + </dict> + <key>Module</key> + <string>PBXDebugSessionModule</string> + <key>Proportion</key> + <string>100%</string> + </dict> + </array> + <key>Proportion</key> + <string>100%</string> + </dict> + </array> + <key>Name</key> + <string>Debugger</string> + <key>ServiceClasses</key> + <array> + <string>PBXDebugSessionModule</string> + </array> + <key>StatusbarIsVisible</key> + <integer>1</integer> + <key>TableOfContents</key> + <array> + <string>1CD10A99069EF8BA00B06720</string> + <string>1C0AD2AB069F1E9B00FABCE6</string> + <string>1C162984064C10D400B95A72</string> + <string>1C0AD2AC069F1E9B00FABCE6</string> + </array> + <key>ToolbarConfiguration</key> + <string>xcode.toolbar.config.debug</string> + <key>WindowString</key> + <string>321 238 694 422 0 0 1440 878 </string> + <key>WindowToolGUID</key> + <string>1CD10A99069EF8BA00B06720</string> + <key>WindowToolIsVisible</key> + <integer>0</integer> + </dict> + <dict> + <key>Identifier</key> + <string>windowTool.find</string> + <key>Layout</key> + <array> + <dict> + <key>Dock</key> + <array> + <dict> + <key>Dock</key> + <array> + <dict> + <key>ContentConfiguration</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1CDD528C0622207200134675</string> + <key>PBXProjectModuleLabel</key> + <string><No Editor></string> + <key>PBXSplitModuleInNavigatorKey</key> + <dict> + <key>Split0</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1CD0528D0623707200166675</string> + </dict> + <key>SplitCount</key> + <string>1</string> + </dict> + <key>StatusBarVisibility</key> + <integer>1</integer> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{0, 0}, {781, 167}}</string> + <key>RubberWindowFrame</key> + <string>62 385 781 470 0 0 1440 878 </string> + </dict> + <key>Module</key> + <string>PBXNavigatorGroup</string> + <key>Proportion</key> + <string>781pt</string> + </dict> + </array> + <key>Proportion</key> + <string>50%</string> + </dict> + <dict> + <key>BecomeActive</key> + <integer>1</integer> + <key>ContentConfiguration</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1CD0528E0623707200166675</string> + <key>PBXProjectModuleLabel</key> + <string>Project Find</string> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{8, 0}, {773, 254}}</string> + <key>RubberWindowFrame</key> + <string>62 385 781 470 0 0 1440 878 </string> + </dict> + <key>Module</key> + <string>PBXProjectFindModule</string> + <key>Proportion</key> + <string>50%</string> + </dict> + </array> + <key>Proportion</key> + <string>428pt</string> + </dict> + </array> + <key>Name</key> + <string>Project Find</string> + <key>ServiceClasses</key> + <array> + <string>PBXProjectFindModule</string> + </array> + <key>StatusbarIsVisible</key> + <integer>1</integer> + <key>TableOfContents</key> + <array> + <string>1C530D57069F1CE1000CFCEE</string> + <string>1C530D58069F1CE1000CFCEE</string> + <string>1C530D59069F1CE1000CFCEE</string> + <string>1CDD528C0622207200134675</string> + <string>1C530D5A069F1CE1000CFCEE</string> + <string>1CE0B1FE06471DED0097A5F4</string> + <string>1CD0528E0623707200166675</string> + </array> + <key>WindowString</key> + <string>62 385 781 470 0 0 1440 878 </string> + <key>WindowToolGUID</key> + <string>1C530D57069F1CE1000CFCEE</string> + <key>WindowToolIsVisible</key> + <integer>0</integer> + </dict> + <dict> + <key>Identifier</key> + <string>MENUSEPARATOR</string> + </dict> + <dict> + <key>Identifier</key> + <string>windowTool.debuggerConsole</string> + <key>Layout</key> + <array> + <dict> + <key>Dock</key> + <array> + <dict> + <key>BecomeActive</key> + <integer>1</integer> + <key>ContentConfiguration</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1C78EAAC065D492600B07095</string> + <key>PBXProjectModuleLabel</key> + <string>Debugger Console</string> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{0, 0}, {440, 358}}</string> + <key>RubberWindowFrame</key> + <string>650 41 440 400 0 0 1280 1002 </string> + </dict> + <key>Module</key> + <string>PBXDebugCLIModule</string> + <key>Proportion</key> + <string>358pt</string> + </dict> + </array> + <key>Proportion</key> + <string>358pt</string> + </dict> + </array> + <key>Name</key> + <string>Debugger Console</string> + <key>ServiceClasses</key> + <array> + <string>PBXDebugCLIModule</string> + </array> + <key>StatusbarIsVisible</key> + <integer>1</integer> + <key>TableOfContents</key> + <array> + <string>1C78EAAD065D492600B07095</string> + <string>1C78EAAE065D492600B07095</string> + <string>1C78EAAC065D492600B07095</string> + </array> + <key>WindowString</key> + <string>650 41 440 400 0 0 1280 1002 </string> + </dict> + <dict> + <key>Identifier</key> + <string>windowTool.run</string> + <key>Layout</key> + <array> + <dict> + <key>Dock</key> + <array> + <dict> + <key>ContentConfiguration</key> + <dict> + <key>LauncherConfigVersion</key> + <string>3</string> + <key>PBXProjectModuleGUID</key> + <string>1CD0528B0623707200166675</string> + <key>PBXProjectModuleLabel</key> + <string>Run</string> + <key>Runner</key> + <dict> + <key>HorizontalSplitView</key> + <dict> + <key>_collapsingFrameDimension</key> + <real>0.0</real> + <key>_indexOfCollapsedView</key> + <integer>0</integer> + <key>_percentageOfCollapsedView</key> + <real>0.0</real> + <key>isCollapsed</key> + <string>yes</string> + <key>sizes</key> + <array> + <string>{{0, 0}, {493, 167}}</string> + <string>{{0, 176}, {493, 267}}</string> + </array> + </dict> + <key>VerticalSplitView</key> + <dict> + <key>_collapsingFrameDimension</key> + <real>0.0</real> + <key>_indexOfCollapsedView</key> + <integer>0</integer> + <key>_percentageOfCollapsedView</key> + <real>0.0</real> + <key>isCollapsed</key> + <string>yes</string> + <key>sizes</key> + <array> + <string>{{0, 0}, {405, 443}}</string> + <string>{{414, 0}, {514, 443}}</string> + </array> + </dict> + </dict> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{0, 0}, {460, 159}}</string> + <key>RubberWindowFrame</key> + <string>316 696 459 200 0 0 1280 1002 </string> + </dict> + <key>Module</key> + <string>PBXRunSessionModule</string> + <key>Proportion</key> + <string>159pt</string> + </dict> + </array> + <key>Proportion</key> + <string>159pt</string> + </dict> + </array> + <key>Name</key> + <string>Run Log</string> + <key>ServiceClasses</key> + <array> + <string>PBXRunSessionModule</string> + </array> + <key>StatusbarIsVisible</key> + <integer>1</integer> + <key>TableOfContents</key> + <array> + <string>1C0AD2B3069F1EA900FABCE6</string> + <string>1C0AD2B4069F1EA900FABCE6</string> + <string>1CD0528B0623707200166675</string> + <string>1C0AD2B5069F1EA900FABCE6</string> + </array> + <key>ToolbarConfiguration</key> + <string>xcode.toolbar.config.run</string> + <key>WindowString</key> + <string>316 696 459 200 0 0 1280 1002 </string> + <key>WindowToolGUID</key> + <string>1C0AD2B3069F1EA900FABCE6</string> + <key>WindowToolIsVisible</key> + <integer>0</integer> + </dict> + <dict> + <key>Identifier</key> + <string>windowTool.scm</string> + <key>Layout</key> + <array> + <dict> + <key>Dock</key> + <array> + <dict> + <key>ContentConfiguration</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1C78EAB2065D492600B07095</string> + <key>PBXProjectModuleLabel</key> + <string><No Editor></string> + <key>PBXSplitModuleInNavigatorKey</key> + <dict> + <key>Split0</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1C78EAB3065D492600B07095</string> + </dict> + <key>SplitCount</key> + <string>1</string> + </dict> + <key>StatusBarVisibility</key> + <integer>1</integer> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{0, 0}, {452, 0}}</string> + <key>RubberWindowFrame</key> + <string>743 379 452 308 0 0 1280 1002 </string> + </dict> + <key>Module</key> + <string>PBXNavigatorGroup</string> + <key>Proportion</key> + <string>0pt</string> + </dict> + <dict> + <key>BecomeActive</key> + <integer>1</integer> + <key>ContentConfiguration</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1CD052920623707200166675</string> + <key>PBXProjectModuleLabel</key> + <string>SCM</string> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>ConsoleFrame</key> + <string>{{0, 259}, {452, 0}}</string> + <key>Frame</key> + <string>{{0, 7}, {452, 259}}</string> + <key>RubberWindowFrame</key> + <string>743 379 452 308 0 0 1280 1002 </string> + <key>TableConfiguration</key> + <array> + <string>Status</string> + <real>30</real> + <string>FileName</string> + <real>199</real> + <string>Path</string> + <real>197.09500122070312</real> + </array> + <key>TableFrame</key> + <string>{{0, 0}, {452, 250}}</string> + </dict> + <key>Module</key> + <string>PBXCVSModule</string> + <key>Proportion</key> + <string>262pt</string> + </dict> + </array> + <key>Proportion</key> + <string>266pt</string> + </dict> + </array> + <key>Name</key> + <string>SCM</string> + <key>ServiceClasses</key> + <array> + <string>PBXCVSModule</string> + </array> + <key>StatusbarIsVisible</key> + <integer>1</integer> + <key>TableOfContents</key> + <array> + <string>1C78EAB4065D492600B07095</string> + <string>1C78EAB5065D492600B07095</string> + <string>1C78EAB2065D492600B07095</string> + <string>1CD052920623707200166675</string> + </array> + <key>ToolbarConfiguration</key> + <string>xcode.toolbar.config.scm</string> + <key>WindowString</key> + <string>743 379 452 308 0 0 1280 1002 </string> + </dict> + <dict> + <key>Identifier</key> + <string>windowTool.breakpoints</string> + <key>IsVertical</key> + <integer>0</integer> + <key>Layout</key> + <array> + <dict> + <key>Dock</key> + <array> + <dict> + <key>BecomeActive</key> + <integer>1</integer> + <key>ContentConfiguration</key> + <dict> + <key>PBXBottomSmartGroupGIDs</key> + <array> + <string>1C77FABC04509CD000000102</string> + </array> + <key>PBXProjectModuleGUID</key> + <string>1CE0B1FE06471DED0097A5F4</string> + <key>PBXProjectModuleLabel</key> + <string>Files</string> + <key>PBXProjectStructureProvided</key> + <string>no</string> + <key>PBXSmartGroupTreeModuleColumnData</key> + <dict> + <key>PBXSmartGroupTreeModuleColumnWidthsKey</key> + <array> + <real>168</real> + </array> + <key>PBXSmartGroupTreeModuleColumnsKey_v4</key> + <array> + <string>MainColumn</string> + </array> + </dict> + <key>PBXSmartGroupTreeModuleOutlineStateKey_v7</key> + <dict> + <key>PBXSmartGroupTreeModuleOutlineStateExpansionKey</key> + <array> + <string>1C77FABC04509CD000000102</string> + </array> + <key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key> + <array> + <array> + <integer>0</integer> + </array> + </array> + <key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key> + <string>{{0, 0}, {168, 350}}</string> + </dict> + <key>PBXTopSmartGroupGIDs</key> + <array/> + <key>XCIncludePerspectivesSwitch</key> + <integer>0</integer> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{0, 0}, {185, 368}}</string> + <key>GroupTreeTableConfiguration</key> + <array> + <string>MainColumn</string> + <real>168</real> + </array> + <key>RubberWindowFrame</key> + <string>315 424 744 409 0 0 1440 878 </string> + </dict> + <key>Module</key> + <string>PBXSmartGroupTreeModule</string> + <key>Proportion</key> + <string>185pt</string> + </dict> + <dict> + <key>ContentConfiguration</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>1CA1AED706398EBD00589147</string> + <key>PBXProjectModuleLabel</key> + <string>Detail</string> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>Frame</key> + <string>{{190, 0}, {554, 368}}</string> + <key>RubberWindowFrame</key> + <string>315 424 744 409 0 0 1440 878 </string> + </dict> + <key>Module</key> + <string>XCDetailModule</string> + <key>Proportion</key> + <string>554pt</string> + </dict> + </array> + <key>Proportion</key> + <string>368pt</string> + </dict> + </array> + <key>MajorVersion</key> + <integer>2</integer> + <key>MinorVersion</key> + <integer>0</integer> + <key>Name</key> + <string>Breakpoints</string> + <key>ServiceClasses</key> + <array> + <string>PBXSmartGroupTreeModule</string> + <string>XCDetailModule</string> + </array> + <key>StatusbarIsVisible</key> + <integer>1</integer> + <key>TableOfContents</key> + <array> + <string>1CDDB66807F98D9800BB5817</string> + <string>1CDDB66907F98D9800BB5817</string> + <string>1CE0B1FE06471DED0097A5F4</string> + <string>1CA1AED706398EBD00589147</string> + </array> + <key>ToolbarConfiguration</key> + <string>xcode.toolbar.config.breakpoints</string> + <key>WindowString</key> + <string>315 424 744 409 0 0 1440 878 </string> + <key>WindowToolGUID</key> + <string>1CDDB66807F98D9800BB5817</string> + <key>WindowToolIsVisible</key> + <integer>1</integer> + </dict> + <dict> + <key>Identifier</key> + <string>windowTool.debugAnimator</string> + <key>Layout</key> + <array> + <dict> + <key>Dock</key> + <array> + <dict> + <key>Module</key> + <string>PBXNavigatorGroup</string> + <key>Proportion</key> + <string>100%</string> + </dict> + </array> + <key>Proportion</key> + <string>100%</string> + </dict> + </array> + <key>Name</key> + <string>Debug Visualizer</string> + <key>ServiceClasses</key> + <array> + <string>PBXNavigatorGroup</string> + </array> + <key>StatusbarIsVisible</key> + <integer>1</integer> + <key>ToolbarConfiguration</key> + <string>xcode.toolbar.config.debugAnimator</string> + <key>WindowString</key> + <string>100 100 700 500 0 0 1280 1002 </string> + </dict> + <dict> + <key>Identifier</key> + <string>windowTool.bookmarks</string> + <key>Layout</key> + <array> + <dict> + <key>Dock</key> + <array> + <dict> + <key>Module</key> + <string>PBXBookmarksModule</string> + <key>Proportion</key> + <string>100%</string> + </dict> + </array> + <key>Proportion</key> + <string>100%</string> + </dict> + </array> + <key>Name</key> + <string>Bookmarks</string> + <key>ServiceClasses</key> + <array> + <string>PBXBookmarksModule</string> + </array> + <key>StatusbarIsVisible</key> + <integer>0</integer> + <key>WindowString</key> + <string>538 42 401 187 0 0 1280 1002 </string> + </dict> + <dict> + <key>Identifier</key> + <string>windowTool.classBrowser</string> + <key>Layout</key> + <array> + <dict> + <key>Dock</key> + <array> + <dict> + <key>BecomeActive</key> + <integer>1</integer> + <key>ContentConfiguration</key> + <dict> + <key>OptionsSetName</key> + <string>Hierarchy, all classes</string> + <key>PBXProjectModuleGUID</key> + <string>1CA6456E063B45B4001379D8</string> + <key>PBXProjectModuleLabel</key> + <string>Class Browser - NSObject</string> + </dict> + <key>GeometryConfiguration</key> + <dict> + <key>ClassesFrame</key> + <string>{{0, 0}, {374, 96}}</string> + <key>ClassesTreeTableConfiguration</key> + <array> + <string>PBXClassNameColumnIdentifier</string> + <real>208</real> + <string>PBXClassBookColumnIdentifier</string> + <real>22</real> + </array> + <key>Frame</key> + <string>{{0, 0}, {630, 331}}</string> + <key>MembersFrame</key> + <string>{{0, 105}, {374, 395}}</string> + <key>MembersTreeTableConfiguration</key> + <array> + <string>PBXMemberTypeIconColumnIdentifier</string> + <real>22</real> + <string>PBXMemberNameColumnIdentifier</string> + <real>216</real> + <string>PBXMemberTypeColumnIdentifier</string> + <real>97</real> + <string>PBXMemberBookColumnIdentifier</string> + <real>22</real> + </array> + <key>PBXModuleWindowStatusBarHidden2</key> + <integer>1</integer> + <key>RubberWindowFrame</key> + <string>385 179 630 352 0 0 1440 878 </string> + </dict> + <key>Module</key> + <string>PBXClassBrowserModule</string> + <key>Proportion</key> + <string>332pt</string> + </dict> + </array> + <key>Proportion</key> + <string>332pt</string> + </dict> + </array> + <key>Name</key> + <string>Class Browser</string> + <key>ServiceClasses</key> + <array> + <string>PBXClassBrowserModule</string> + </array> + <key>StatusbarIsVisible</key> + <integer>0</integer> + <key>TableOfContents</key> + <array> + <string>1C0AD2AF069F1E9B00FABCE6</string> + <string>1C0AD2B0069F1E9B00FABCE6</string> + <string>1CA6456E063B45B4001379D8</string> + </array> + <key>ToolbarConfiguration</key> + <string>xcode.toolbar.config.classbrowser</string> + <key>WindowString</key> + <string>385 179 630 352 0 0 1440 878 </string> + <key>WindowToolGUID</key> + <string>1C0AD2AF069F1E9B00FABCE6</string> + <key>WindowToolIsVisible</key> + <integer>0</integer> + </dict> + </array> +</dict> +</plist> Added: trunk/CreateUser/Create User.xcodeproj/arsatori.pbxuser =================================================================== --- trunk/CreateUser/Create User.xcodeproj/arsatori.pbxuser (rev 0) +++ trunk/CreateUser/Create User.xcodeproj/arsatori.pbxuser 2007-10-10 02:59:54 UTC (rev 171) @@ -0,0 +1,82 @@ +// !$*UTF8*$! +{ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + activeBuildConfigurationName = Deployment; + activeExecutable = 43F67E640CBC623400B36845 /* Create User */; + activeTarget = 8D1107260486CEB800E47090 /* Create User */; + codeSenseManager = 43F67E710CBC623B00B36845 /* Code sense */; + executables = ( + 43F67E640CBC623400B36845 /* Create User */, + ); + perUserDictionary = { + PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 247, + 20, + 48.1626, + 43, + 43, + 20, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + PBXFileDataSource_Target_ColumnID, + ); + }; + PBXPerProjectTemplateStateSaveDate = 213672500; + PBXWorkspaceStateSaveDate = 213672500; + }; + sourceControlManager = 43F67E700CBC623B00B36845 /* Source Control */; + userBuildSettings = { + }; + }; + 43F67E640CBC623400B36845 /* Create User */ = { + isa = PBXExecutable; + activeArgIndex = 2147483647; + activeArgIndices = ( + ); + argumentStrings = ( + ); + autoAttachOnCrash = 1; + configStateDict = { + }; + customDataFormattersEnabled = 1; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + enableDebugStr = 1; + environmentEntries = ( + ); + executableSystemSymbolLevel = 0; + executableUserSymbolLevel = 0; + libgmallocEnabled = 0; + name = "Create User"; + sourceDirectories = ( + ); + }; + 43F67E700CBC623B00B36845 /* Source Control */ = { + isa = PBXSourceControlManager; + fallbackIsa = XCSourceControlManager; + isSCMEnabled = 0; + scmConfiguration = { + }; + scmType = ""; + }; + 43F67E710CBC623B00B36845 /* Code sense */ = { + isa = PBXCodeSenseManager; + indexTemplatePath = ""; + }; + 8D1107260486CEB800E47090 /* Create User */ = { + activeExec = 0; + executables = ( + 43F67E640CBC623400B36845 /* Create User */, + ); + }; +} Added: trunk/CreateUser/Create User.xcodeproj/project.pbxproj =================================================================== --- trunk/CreateUser/Create User.xcodeproj/project.pbxproj (rev 0) +++ trunk/CreateUser/Create User.xcodeproj/project.pbxproj 2007-10-10 02:59:54 UTC (rev 171) @@ -0,0 +1,326 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 434CDC7007CAD73E000F3026 /* PGNewUserUI.h in Resources */ = {isa = PBXBuildFile; fileRef = 434CDC6E07CAD73E000F3026 /* PGNewUserUI.h */; }; + 434CDC7107CAD73E000F3026 /* PGNewUserUI.m in Sources */ = {isa = PBXBuildFile; fileRef = 434CDC6F07CAD73E000F3026 /* PGNewUserUI.m */; }; + 434CDC9307CADA42000F3026 /* create_user_wiz.png in Resources */ = {isa = PBXBuildFile; fileRef = 434CDC9207CADA42000F3026 /* create_user_wiz.png */; }; + 434CDD6607CC33DF000F3026 /* pgCocoaDB.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 434CDD6507CC33DF000F3026 /* pgCocoaDB.framework */; }; + 434CDD6707CC33E1000F3026 /* pgCocoaDB.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 434CDD6507CC33DF000F3026 /* pgCocoaDB.framework */; }; + 434CDDD407CC3F41000F3026 /* add user_32.icns in Resources */ = {isa = PBXBuildFile; fileRef = 434CDDD307CC3F41000F3026 /* add user_32.icns */; }; + 8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 29B97318FDCFA39411CA2CEA /* MainMenu.nib */; }; + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; + 8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 434CDC7E07CAD837000F3026 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 7; + files = ( + 434CDD6707CC33E1000F3026 /* pgCocoaDB.framework in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; + 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; + 29B97319FDCFA39411CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; }; + 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; + 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; + 32CA4F630368D1EE00C91783 /* Create User_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Create User_Prefix.pch"; sourceTree = "<group>"; }; + 434CDC6E07CAD73E000F3026 /* PGNewUserUI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGNewUserUI.h; sourceTree = "<group>"; }; + 434CDC6F07CAD73E000F3026 /* PGNewUserUI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PGNewUserUI.m; sourceTree = "<group>"; }; + 434CDC9207CADA42000F3026 /* create_user_wiz.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = create_user_wiz.png; sourceTree = "<group>"; }; + 434CDD6507CC33DF000F3026 /* pgCocoaDB.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = pgCocoaDB.framework; path = /Library/Frameworks/pgCocoaDB.framework; sourceTree = "<absolute>"; }; + 434CDDD307CC3F41000F3026 /* add user_32.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = "add user_32.icns"; sourceTree = "<group>"; }; + 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; }; + 8D1107320486CEB800E47090 /* Create User.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Create User.app"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D11072E0486CEB800E47090 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, + 434CDD6607CC33DF000F3026 /* pgCocoaDB.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 080E96DDFE201D6D7F000001 /* Classes */ = { + isa = PBXGroup; + children = ( + 434CDC6E07CAD73E000F3026 /* PGNewUserUI.h */, + 434CDC6F07CAD73E000F3026 /* PGNewUserUI.m */, + ); + name = Classes; + sourceTree = "<group>"; + }; + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 434CDD6507CC33DF000F3026 /* pgCocoaDB.framework */, + 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, + ); + name = "Linked Frameworks"; + sourceTree = "<group>"; + }; + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 29B97325FDCFA39411CA2CEA /* Foundation.framework */, + 29B97324FDCFA39411CA2CEA /* AppKit.framework */, + ); + name = "Other Frameworks"; + sourceTree = "<group>"; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D1107320486CEB800E47090 /* Create User.app */, + ); + name = Products; + sourceTree = "<group>"; + }; + 29B97314FDCFA39411CA2CEA /* Create User */ = { + isa = PBXGroup; + children = ( + 080E96DDFE201D6D7F000001 /* Classes */, + 29B97315FDCFA39411CA2CEA /* Other Sources */, + 29B97317FDCFA39411CA2CEA /* Resources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 19C28FACFE9D520D11CA2CBB /* Products */, + ); + name = "Create User"; + sourceTree = "<group>"; + }; + 29B97315FDCFA39411CA2CEA /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32CA4F630368D1EE00C91783 /* Create User_Prefix.pch */, + 29B97316FDCFA39411CA2CEA /* main.m */, + ); + name = "Other Sources"; + sourceTree = "<group>"; + }; + 29B97317FDCFA39411CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + 434CDDD307CC3F41000F3026 /* add user_32.icns */, + 434CDC9207CADA42000F3026 /* create_user_wiz.png */, + 8D1107310486CEB800E47090 /* Info.plist */, + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, + 29B97318FDCFA39411CA2CEA /* MainMenu.nib */, + ); + name = Resources; + sourceTree = "<group>"; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, + 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = "<group>"; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D1107260486CEB800E47090 /* Create User */ = { + isa = PBXNativeTarget; + buildConfigurationList = 43F67E680CBC623B00B36845 /* Build configuration list for PBXNativeTarget "Create User" */; + buildPhases = ( + 8D1107290486CEB800E47090 /* Resources */, + 8D11072C0486CEB800E47090 /* Sources */, + 8D11072E0486CEB800E47090 /* Frameworks */, + 434CDC7E07CAD837000F3026 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Create User"; + productInstallPath = "$(HOME)/Applications"; + productName = "Create User"; + productReference = 8D1107320486CEB800E47090 /* Create User.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 43F67E6C0CBC623B00B36845 /* Build configuration list for PBXProject "Create User" */; + hasScannedForEncodings = 1; + mainGroup = 29B97314FDCFA39411CA2CEA /* Create User */; + projectDirPath = ""; + targets = ( + 8D1107260486CEB800E47090 /* Create User */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D1107290486CEB800E47090 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */, + 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, + 434CDC7007CAD73E000F3026 /* PGNewUserUI.h in Resources */, + 434CDC9307CADA42000F3026 /* create_user_wiz.png in Resources */, + 434CDDD407CC3F41000F3026 /* add user_32.icns in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D11072C0486CEB800E47090 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D11072D0486CEB800E47090 /* main.m in Sources */, + 434CDC7107CAD73E000F3026 /* PGNewUserUI.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C165DFE840E0CC02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = "<group>"; + }; + 29B97318FDCFA39411CA2CEA /* MainMenu.nib */ = { + isa = PBXVariantGroup; + children = ( + 29B97319FDCFA39411CA2CEA /* English */, + ); + name = MainMenu.nib; + sourceTree = "<group>"; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 43F67E690CBC623B00B36845 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ../pgCocoaDB/build; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Create User_Prefix.pch"; + HEADER_SEARCH_PATHS = ../pgCocoaDB; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "Create User"; + WRAPPER_EXTENSION = app; + ZERO_LINK = YES; + }; + name = Development; + }; + 43F67E6A0CBC623B00B36845 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + FRAMEWORK_SEARCH_PATHS = ../pgCocoaDB/build; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Create User_Prefix.pch"; + HEADER_SEARCH_PATHS = ../pgCocoaDB; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "Create User"; + WRAPPER_EXTENSION = app; + ZERO_LINK = NO; + }; + name = Deployment; + }; + 43F67E6B0CBC623B00B36845 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ../pgCocoaDB/build; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Create User_Prefix.pch"; + HEADER_SEARCH_PATHS = ../pgCocoaDB; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "Create User"; + WRAPPER_EXTENSION = app; + }; + name = Default; + }; + 43F67E6D0CBC623B00B36845 /* Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Development; + }; + 43F67E6E0CBC623B00B36845 /* Deployment */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Deployment; + }; + 43F67E6F0CBC623B00B36845 /* Default */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Default; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 43F67E680CBC623B00B36845 /* Build configuration list for PBXNativeTarget "Create User" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 43F67E690CBC623B00B36845 /* Development */, + 43F67E6A0CBC623B00B36845 /* Deployment */, + 43F67E6B0CBC623B00B36845 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; + 43F67E6C0CBC623B00B36845 /* Build configuration list for PBXProject "Create User" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 43F67E6D0CBC623B00B36845 /* Development */, + 43F67E6E0CBC623B00B36845 /* Deployment */, + 43F67E6F0CBC623B00B36845 /* Default */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Default; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} Deleted: trunk/CreateUser/add user_32.icns =================================================================== --- trunk/CreateUser/add user_32.icns 2007-10-08 16:11:41 UTC (rev 170) +++ trunk/CreateUser/add user_32.icns 2007-10-10 02:59:54 UTC (rev 171) @@ -1,270 +0,0 @@ -icns |
From: <haw...@us...> - 2007-10-08 16:11:49
|
Revision: 170 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=170&view=rev Author: hawkmoon Date: 2007-10-08 09:11:41 -0700 (Mon, 08 Oct 2007) Log Message: ----------- 8.2.5 Working Revision Modified Paths: -------------- trunk/BuildScripts/Build-Installers.sh Removed Paths: ------------- trunk/CreateDatabase/add database_32.icns trunk/modulename/ Modified: trunk/BuildScripts/Build-Installers.sh =================================================================== --- trunk/BuildScripts/Build-Installers.sh 2007-10-02 19:46:55 UTC (rev 169) +++ trunk/BuildScripts/Build-Installers.sh 2007-10-08 16:11:41 UTC (rev 170) @@ -84,7 +84,7 @@ sudo find $BASEPATH/temp/ -name ".DS_Store" -exec rm -f {} \; # fix permissions so that they get installed correctly. -chown -R root:wheel $BASEPATH/Installers/StartupItem/Files/* +chown -R root:admin $BASEPATH/Installers/StartupItem/Files/* # build the .pkg /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker \ Deleted: trunk/CreateDatabase/add database_32.icns =================================================================== --- trunk/CreateDatabase/add database_32.icns 2007-10-02 19:46:55 UTC (rev 169) +++ trunk/CreateDatabase/add database_32.icns 2007-10-08 16:11:41 UTC (rev 170) @@ -1,244 +0,0 @@ -icns |