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
|
Update of /cvsroot/pgsqlformac/QueryTool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7303 Modified Files: ChangeLog MyOutlineView.m MyResultsView.m PreferenceController.h PreferenceController.m SqlDocument.h SqlDocument.m TODO.txt Log Message: Add remember multiple connections. Index: TODO.txt =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/TODO.txt,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** TODO.txt 17 Sep 2006 15:41:48 -0000 1.10 --- TODO.txt 2 Dec 2006 14:51:43 -0000 1.11 *************** *** 4,7 **** --- 4,9 ---- TODO - Features, Functions and Warnings (in rough priority order) ======================================= + - 2006-11-10 Move threading to library. + - 2006-09-17 Error message not reset at the beginning of a query. *************** *** 27,31 **** FIXME (Known Errors) ==================== ! - 2006-08-26 Function return parameters not correctly determined, see below: CREATE or REPLACE FUNCTION pgcocoa_test_schema.create_time_stamp AS $$ --- 29,56 ---- FIXME (Known Errors) ==================== ! ! - 2006-09-01 "Save As" always saves the query window, should save the log window if the log window is front most. ! ! - 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] -[NSBigMutableString characterAtIndex:] called with out-of-bounds index. For apps linked on Tiger this will raise an exception. For earlier apps it will produce this one-time warning and continue with existing behavior (which is undefined). ! 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] Exception raised during posting of notification. Ignored. exception: *** -[NSBigMutableString characterAtIndex:]: Range or index out of bounds ! ! ! Completed ! ========= ! - 2006-11-10 Need to be able to save multiple connections in preferences. (12/02/2006) ! ! - 2006-08-26 Function return parameters not correctly determined, see below: (10/30/2006) ! ! SOURCE: ! ! sql = [NSString stringWithFormat:@"%s%@.%@.%s", "CREATE or REPLACE FUNCTION ", PGCocoaTestDatabase, PGCocoaTestSchema, ! "create_time_stamp() RETURNS trigger AS $time_stamp$\n\ ! BEGIN\n\ ! NEW.create_time := current_timestamp;\n\ ! RETURN NEW;\n\ ! END;\n\ ! $time_stamp$ LANGUAGE plpgsql;\n"]; ! ! RESULT: CREATE or REPLACE FUNCTION pgcocoa_test_schema.create_time_stamp AS $$ *************** *** 36,47 **** $$ LANGUAGE plpgsql; - - 2006-09-01 "Save As" always saves the query window, should save the log window if the log window is front most. - - - 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] -[NSBigMutableString characterAtIndex:] called with out-of-bounds index. For apps linked on Tiger this will raise an exception. For earlier apps it will produce this one-time warning and continue with existing behavior (which is undefined). - 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] Exception raised during posting of notification. Ignored. exception: *** -[NSBigMutableString characterAtIndex:]: Range or index out of bounds - Completed - ========= - 2006-09-17 Data columns in the results table are not resizing. --- 61,86 ---- $$ LANGUAGE plpgsql; + -- psql SQL result of \df + SELECT n.nspname as "Schema", + p.proname as "Name", + CASE WHEN p.proretset THEN 'setof ' ELSE '' END || pg_catalog.format_type(p.prorettype, NULL) as "Result data type", + pg_catalog.oidvectortypes(p.proargtypes) as "Argument data types", + r.rolname as "Owner", + l.lanname as "Language", + p.prosrc as "Source code", + pg_catalog.obj_description(p.oid, 'pg_proc') as "Description" + FROM pg_catalog.pg_proc p + LEFT JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace + LEFT JOIN pg_catalog.pg_language l ON l.oid = p.prolang + JOIN pg_catalog.pg_roles r ON r.oid = p.proowner + WHERE p.prorettype <> 'pg_catalog.cstring'::pg_catalog.regtype + AND (p.proargtypes[0] IS NULL + OR p.proargtypes[0] <> 'pg_catalog.cstring'::pg_catalog.regtype) + AND NOT p.proisagg + AND p.proname ~ '^create_time_stamp$' + AND n.nspname ~ '^pgcocoa_test_schema$' + ORDER BY 1, 2, 3, 4; - 2006-09-17 Data columns in the results table are not resizing. Index: MyOutlineView.m =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/MyOutlineView.m,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** MyOutlineView.m 30 Aug 2006 21:25:49 -0000 1.8 --- MyOutlineView.m 2 Dec 2006 14:51:43 -0000 1.9 *************** *** 1,3 **** --- 1,4 ---- #import "MyOutlineView.h" + #import "PreferenceController.h" @implementation MyOutlineView *************** *** 156,159 **** --- 157,166 ---- newItem = [[NSMenuItem alloc] init]; + [newItem setTitle:@"SELECT function()"]; + [newItem setTarget: menuActionTarget]; + [newItem setAction: @selector(onSelectExecuteFunctionMenuItem:)]; + [functionMenu addItem: newItem]; + + newItem = [[NSMenuItem alloc] init]; [newItem setTitle:@"CREATE OR REPLACE FUNCTION template ()"]; [newItem setTarget: menuActionTarget]; *************** *** 239,244 **** [self setRowHeight:[[[theCols objectAtIndex:0] dataCell] cellSize].height]; ! [[NSUserDefaults standardUserDefaults] setObject:[currentFont fontName] forKey:@"PGSqlForMac_QueryTool_SchemaTableFontName"]; ! [[NSUserDefaults standardUserDefaults] setFloat:[currentFont pointSize] forKey:@"PGSqlForMac_QueryTool_SchemaTableFontSize"]; } --- 246,251 ---- [self setRowHeight:[[[theCols objectAtIndex:0] dataCell] cellSize].height]; ! [[NSUserDefaults standardUserDefaults] setObject:[currentFont fontName] forKey:UDSchemaTableFontName]; ! [[NSUserDefaults standardUserDefaults] setFloat:[currentFont pointSize] forKey:UDSchemaTableFontSize]; } Index: ChangeLog =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/ChangeLog,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** ChangeLog 4 Sep 2006 14:51:13 -0000 1.18 --- ChangeLog 2 Dec 2006 14:51:43 -0000 1.19 *************** *** 1,2 **** --- 1,21 ---- + 2006-09-17 10:41 ntiffin + + * QueryTool.h, SqlDocument.m, TODO.txt, + English.lproj/SqlDocument.nib/keyedobjects.nib, + QueryToolForPostgresN.xcodeproj/ntiffin.mode1, + QueryToolForPostgresN.xcodeproj/ntiffin.pbxuser: Add automatic + result column resizing. + + 2006-09-13 18:13 ntiffin + + * QueryTool.h: Add missing global definition. + + 2006-09-04 09:51 ntiffin + + * ChangeLog, QueryToolForPostgresN.xcodeproj/ntiffin.mode1, + QueryToolForPostgresN.xcodeproj/ntiffin.pbxuser, + QueryToolForPostgresN.xcodeproj/project.pbxproj: Add fink based + XCode project file. + 2006-09-04 09:22 ntiffin *************** *** 7,10 **** --- 26,35 ---- and refactor preferences. + 2006-08-31 19:56 ntiffin + + * ChangeLog, SqlDocument.m, Help/.DS_Store, Help/index.html: Fix + for PGconn not being thread safe. Migrate to new PQconnectdb API. + Add help text. + 2006-08-30 16:25 ntiffin Index: PreferenceController.h =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/PreferenceController.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PreferenceController.h 4 Sep 2006 14:22:07 -0000 1.3 --- PreferenceController.h 2 Dec 2006 14:51:43 -0000 1.4 *************** *** 10,13 **** --- 10,41 ---- #import "QueryTool.h" + /* Active NSUserDefaults Key Strings */ + NSString * const UDUserDefaultsVersion = @"PGSqlForMac_QueryTool_UserDefaultsVersion"; + NSString * const UDShowInformationSchema = @"PGSqlForMac_QueryTool_ShowInformationSchema"; + NSString * const UDShowPGCatalogSchema = @"PGSqlForMac_QueryTool_ShowPGCatalogSchema"; + NSString * const UDShowPGToastSchema = @"PGSqlForMac_QueryTool_ShowPGToastSchema"; + NSString * const UDShowPGTempsSchema = @"PGSqlForMac_QueryTool_ShowPGTempsSchema"; + NSString * const UDShowPGPublicSchema = @"PGSqlForMac_QueryTool_ShowPGPublicSchema"; + NSString * const UDLogSQL = @"PGSqlForMac_QueryTool_LogSQL"; + NSString * const UDLogQueryInfo = @"PGSqlForMac_QueryTool_LogQueryInfo"; + NSString * const UDShowPostgreSQLHelp = @"PGSqlForMac_QueryTool_ShowPostgreSQLHelp"; + NSString * const UDShowSQLCommandHelp = @"PGSqlForMac_QueryTool_ShowSQLCommandHelp"; + NSString * const UDResultsTableFontName = @"PGSqlForMac_QueryTool_ResultsTableFontName"; + NSString * const UDResultsTableFontSize = @"PGSqlForMac_QueryTool_ResultsTableFontSize"; + NSString * const UDHighlight_Keywords = @"PGSqlForMac_QueryTool_Highlight_Keywords"; + NSString * const UDSchemaTableFontName = @"PGSqlForMac_QueryTool_SchemaTableFontName"; + NSString * const UDSchemaTableFontSize = @"PGSqlForMac_QueryTool_SchemaTableFontSize"; + + // New connection key names for connection dictionary + NSString * const UDConnArrayName = @"ConnArray"; + NSString * const UDConnName = @"Name"; + NSString * const UDConnUserName = @"UserName"; + NSString * const UDConnHost = @"Host"; + NSString * const UDConnPort = @"Port"; + NSString * const UDConnDatabaseName = @"DatabaseName"; + + // Last Connection Name + NSString * const UDLastConn = @"LastConnection"; + @interface PreferenceController : NSWindowController { IBOutlet NSButton *prefShowPGInfoSchema; *************** *** 22,25 **** --- 50,59 ---- IBOutlet NSTextField *prefPostgresqlHelpURL; IBOutlet NSTextField *prefPostgresqlSQLURL; + + IBOutlet NSTextField *prefConnUserName; + IBOutlet NSTextField *prefConnPassword; + IBOutlet NSTextField *prefConnDBName; + IBOutlet NSTextField *prefConnServer; + IBOutlet NSTextField *prefConnPort; } *************** *** 27,32 **** --- 61,74 ---- -(IBAction)savePreferences:(id)sender; -(IBAction)cancelPreferences:(id)sender; + -(IBAction)deleteConnection:(id)sender; + -(IBAction)newConnection:(id)sender; + -(IBAction)selectConnection:(id)sender; -(void)createApplicationDefaultPreferences; @end + + /* Userdefaults History */ + /* Version */ + /* 1 = Prior to correct UDUserDefaultsVersion value */ + /* 2 = current */ Index: PreferenceController.m =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/PreferenceController.m,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PreferenceController.m 4 Sep 2006 14:22:07 -0000 1.2 --- PreferenceController.m 2 Dec 2006 14:51:43 -0000 1.3 *************** *** 24,28 **** NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; ! if ([userDefaults boolForKey:@"PGSqlForMac_QueryTool_ShowInformationSchema"]) { [prefShowPGInfoSchema setState:NSOnState]; --- 24,28 ---- NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; ! if ([userDefaults boolForKey:UDShowInformationSchema]) { [prefShowPGInfoSchema setState:NSOnState]; *************** *** 32,36 **** [prefShowPGInfoSchema setState:NSOffState]; } ! if ([userDefaults boolForKey:@"PGSqlForMac_QueryTool_ShowPGCatalogSchema"]) { [prefShowPGCatalogSchema setState:NSOnState]; --- 32,36 ---- [prefShowPGInfoSchema setState:NSOffState]; } ! if ([userDefaults boolForKey:UDShowPGCatalogSchema]) { [prefShowPGCatalogSchema setState:NSOnState]; *************** *** 40,44 **** [prefShowPGCatalogSchema setState:NSOffState]; } ! if ([userDefaults boolForKey:@"PGSqlForMac_QueryTool_ShowPGToastSchema"]) { [prefShowPGToastSchema setState:NSOnState]; --- 40,44 ---- [prefShowPGCatalogSchema setState:NSOffState]; } ! if ([userDefaults boolForKey:UDShowPGToastSchema]) { [prefShowPGToastSchema setState:NSOnState]; *************** *** 48,52 **** [prefShowPGToastSchema setState:NSOffState]; } ! if ([userDefaults boolForKey:@"PGSqlForMac_QueryTool_ShowPGTempsSchema"]) { [prefShowPGTempSchema setState:NSOnState]; --- 48,52 ---- [prefShowPGToastSchema setState:NSOffState]; } ! if ([userDefaults boolForKey:UDShowPGTempsSchema]) { [prefShowPGTempSchema setState:NSOnState]; *************** *** 56,60 **** [prefShowPGTempSchema setState:NSOffState]; } ! if ([userDefaults boolForKey:@"PGSqlForMac_QueryTool_ShowPGPublicSchema"]) { [prefShowPGPublicSchema setState:NSOnState]; --- 56,60 ---- [prefShowPGTempSchema setState:NSOffState]; } ! if ([userDefaults boolForKey:UDShowPGPublicSchema]) { [prefShowPGPublicSchema setState:NSOnState]; *************** *** 65,69 **** } ! if ([userDefaults boolForKey:@"PGSqlForMac_QueryTool_LogSQL"]) { [prefLogAllSQL setState:NSOnState]; --- 65,69 ---- } ! if ([userDefaults boolForKey:UDLogSQL]) { [prefLogAllSQL setState:NSOnState]; *************** *** 73,77 **** [prefLogAllSQL setState:NSOffState]; } ! if ([userDefaults boolForKey:@"PGSqlForMac_QueryTool_LogQueryInfo"]) { [prefLogInfoMessages setState:NSOnState]; --- 73,77 ---- [prefLogAllSQL setState:NSOffState]; } ! if ([userDefaults boolForKey:UDLogQueryInfo]) { [prefLogInfoMessages setState:NSOnState]; *************** *** 82,87 **** } ! [prefPostgresqlHelpURL setStringValue:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPostgreSQLHelp"]]; ! [prefPostgresqlSQLURL setStringValue:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowSQLCommandHelp"]]; } --- 82,87 ---- } ! [prefPostgresqlHelpURL setStringValue:[userDefaults stringForKey:UDShowPostgreSQLHelp]]; ! [prefPostgresqlSQLURL setStringValue:[userDefaults stringForKey:UDShowSQLCommandHelp]]; } *************** *** 105,110 **** [prefLogInfoMessages setState:NSOnState]; ! [prefPostgresqlHelpURL setStringValue:@"file:///sw/share/doc/postgresql81/html/index.html"]; ! [prefPostgresqlSQLURL setStringValue:@"file:///sw/share/doc/postgresql81/html/sql-commands.html"]; } --- 105,125 ---- [prefLogInfoMessages setState:NSOnState]; ! NSFileManager *fileManager = [NSFileManager defaultManager]; ! if ([fileManager fileExistsAtPath:@"/sw/share/doc/postgresql81/html/index.html"]) ! { ! [prefPostgresqlHelpURL setStringValue:@"file:///sw/share/doc/postgresql81/html/index.html"]; ! } ! else ! { ! [prefPostgresqlHelpURL setStringValue:@""]; ! } ! if ([fileManager fileExistsAtPath:@"/sw/share/doc/postgresql81/html/sql-commands.html"]) ! { ! [prefPostgresqlSQLURL setStringValue:@"file:///sw/share/doc/postgresql81/html/sql-commands.html"]; ! } ! else ! { ! [prefPostgresqlSQLURL setStringValue:@""]; ! } } *************** *** 116,177 **** if ([prefShowPGInfoSchema state]) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowInformationSchema"]; } else { ! [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_ShowInformationSchema"]; } if ([prefShowPGCatalogSchema state]) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowPGCatalogSchema"]; } else { ! [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_ShowPGCatalogSchema"]; } if ([prefShowPGToastSchema state]) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowPGToastSchema"]; } else { ! [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_ShowPGToastSchema"]; } if ([prefShowPGTempSchema state]) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowPGTempsSchema"]; } else { ! [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_ShowPGTempsSchema"]; } if ([prefShowPGPublicSchema state]) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowPGPublicSchema"]; } else { ! [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_ShowPGPublicSchema"]; } if ([prefLogAllSQL state]) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_LogSQL"]; } else { ! [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_LogSQL"]; } if ([prefLogInfoMessages state]) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_LogQueryInfo"]; } else { ! [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_LogQueryInfo"]; } ! [userDefaults setObject:[prefPostgresqlHelpURL stringValue] forKey:@"PGSqlForMac_QueryTool_ShowPostgreSQLHelp"]; ! [userDefaults setObject:[prefPostgresqlSQLURL stringValue] forKey:@"PGSqlForMac_QueryTool_ShowSQLCommandHelp"]; [[NSUserDefaults standardUserDefaults] synchronize]; [[self window] close]; --- 131,192 ---- if ([prefShowPGInfoSchema state]) { ! [userDefaults setObject:@"yes" forKey:UDShowInformationSchema]; } else { ! [userDefaults setObject:@"no" forKey:UDShowInformationSchema]; } if ([prefShowPGCatalogSchema state]) { ! [userDefaults setObject:@"yes" forKey:UDShowPGCatalogSchema]; } else { ! [userDefaults setObject:@"no" forKey:UDShowPGCatalogSchema]; } if ([prefShowPGToastSchema state]) { ! [userDefaults setObject:@"yes" forKey:UDShowPGToastSchema]; } else { ! [userDefaults setObject:@"no" forKey:UDShowPGToastSchema]; } if ([prefShowPGTempSchema state]) { ! [userDefaults setObject:@"yes" forKey:UDShowPGTempsSchema]; } else { ! [userDefaults setObject:@"no" forKey:UDShowPGTempsSchema]; } if ([prefShowPGPublicSchema state]) { ! [userDefaults setObject:@"yes" forKey:UDShowPGPublicSchema]; } else { ! [userDefaults setObject:@"no" forKey:UDShowPGPublicSchema]; } if ([prefLogAllSQL state]) { ! [userDefaults setObject:@"yes" forKey:UDLogSQL]; } else { ! [userDefaults setObject:@"no" forKey:UDLogSQL]; } if ([prefLogInfoMessages state]) { ! [userDefaults setObject:@"yes" forKey:UDLogQueryInfo]; } else { ! [userDefaults setObject:@"no" forKey:UDLogQueryInfo]; } ! [userDefaults setObject:[prefPostgresqlHelpURL stringValue] forKey:UDShowPostgreSQLHelp]; ! [userDefaults setObject:[prefPostgresqlSQLURL stringValue] forKey:UDShowSQLCommandHelp]; [[NSUserDefaults standardUserDefaults] synchronize]; [[self window] close]; *************** *** 187,190 **** --- 202,237 ---- } + /* + NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys: + host, @"host", + port, @"port", + dbName, @"dbname", + userName, @"user", + nil]; + return dict; + */ + + -(IBAction)deleteConnection:(id)sender; + { + UNUSED_PARAMETER(sender); + NSLog(@"%s: deleteConnection not implemented.", __FILE__); + // TODO + } + + -(IBAction)newConnection:(id)sender; + { + UNUSED_PARAMETER(sender); + NSLog(@"%s: newConnection not implemented.", __FILE__); + // TODO + } + + -(IBAction)selectConnection:(id)sender; + { + UNUSED_PARAMETER(sender); + NSLog(@"%s: selectConnection not implemented.", __FILE__); + // TODO + } + + -(void)createApplicationDefaultPreferences { *************** *** 192,274 **** // does not track application version numbering, for future use should we need to ! // drastically change the prefs we will be able to determine what version of prefs // the user has. ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_User_Defaults_Version"] == nil) { ! [userDefaults setObject:@"1.0.0" forKey:@"PGSqlForMac_QueryTool_Pref_Version"]; } ! ! ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowInformationSchema"] == nil) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowInformationSchema"]; } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGCatalogSchema"] == nil) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowPGCatalogSchema"]; } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGToastSchema"] == nil) { ! [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_ShowPGToastSchema"]; } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGTempsSchema"] == nil) { ! [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_ShowPGTempsSchema"]; } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGPublicSchema"] == nil) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowPGPublicSchema"]; } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_LogSQL"] == nil) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_LogSQL"]; } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_LogQueryInfo"] == nil) { ! [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_LogQueryInfo"]; } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_SchemaTableFontName"] == nil) { ! [userDefaults setObject:@"Lucida Grande" forKey:@"PGSqlForMac_QueryTool_SchemaTableFontName"]; } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_SchemaTableFontSize"] == nil) { ! [userDefaults setFloat:12.0 forKey:@"PGSqlForMac_QueryTool_SchemaTableFontSize"]; } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ResultsTableFontName"] == nil) { ! [userDefaults setObject:@"Lucida Grande" forKey:@"PGSqlForMac_QueryTool_ResultsTableFontName"]; } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ResultsTableFontSize"] == nil) { ! [userDefaults setFloat:12.0 forKey:@"PGSqlForMac_QueryTool_ResultsTableFontSize"]; } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_Highlight_Keywords"] == nil) { [userDefaults setObject:@"select from where order group by asc desc insert into delete drop create alter table procedure view function" ! forKey:@"PGSqlForMac_QueryTool_Highlight_Keywords"]; } NSFileManager *fileManager = [NSFileManager defaultManager]; ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPostgreSQLHelp"] == nil) { if ([fileManager fileExistsAtPath:@"/sw/share/doc/postgresql81/html/index.html"]) { [userDefaults setObject:@"file:///sw/share/doc/postgresql81/html/index.html" ! forKey:@"PGSqlForMac_QueryTool_ShowPostgreSQLHelp"]; } } ! if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowSQLCommandHelp"] == nil) { if ([fileManager fileExistsAtPath:@"/sw/share/doc/postgresql81/html/sql-commands.html"]) { [userDefaults setObject:@"file:///sw/share/doc/postgresql81/html/sql-commands.html" ! forKey:@"PGSqlForMac_QueryTool_ShowSQLCommandHelp"]; } ! } } --- 239,376 ---- // does not track application version numbering, for future use should we need to ! // drastically change the prefs we will be able to quickly determine what version of prefs // the user has. ! if ([userDefaults stringForKey:UDUserDefaultsVersion] == nil) { ! [userDefaults setObject:@"2" forKey:UDUserDefaultsVersion]; } ! if ([userDefaults stringForKey:UDShowInformationSchema] == nil) { ! [userDefaults setObject:@"yes" forKey:UDShowInformationSchema]; } ! if ([userDefaults stringForKey:UDShowPGCatalogSchema] == nil) { ! [userDefaults setObject:@"yes" forKey:UDShowPGCatalogSchema]; } ! if ([userDefaults stringForKey:UDShowPGToastSchema] == nil) { ! [userDefaults setObject:@"no" forKey:UDShowPGToastSchema]; } ! if ([userDefaults stringForKey:UDShowPGTempsSchema] == nil) { ! [userDefaults setObject:@"no" forKey:UDShowPGTempsSchema]; } ! if ([userDefaults stringForKey:UDShowPGPublicSchema] == nil) { ! [userDefaults setObject:@"yes" forKey:UDShowPGPublicSchema]; } ! if ([userDefaults stringForKey:UDLogSQL] == nil) { ! [userDefaults setObject:@"yes" forKey:UDLogSQL]; } ! if ([userDefaults stringForKey:UDLogQueryInfo] == nil) { ! [userDefaults setObject:@"yes" forKey:UDLogQueryInfo]; } ! if ([userDefaults stringForKey:UDSchemaTableFontName] == nil) { ! [userDefaults setObject:@"Lucida Grande" forKey:UDSchemaTableFontName]; } ! if ([userDefaults stringForKey:UDSchemaTableFontSize] == nil) { ! [userDefaults setFloat:12.0 forKey:UDSchemaTableFontSize]; } ! if ([userDefaults stringForKey:UDResultsTableFontName] == nil) { ! [userDefaults setObject:@"Lucida Grande" forKey:UDResultsTableFontName]; } ! if ([userDefaults stringForKey:UDResultsTableFontSize] == nil) { ! [userDefaults setFloat:12.0 forKey:UDResultsTableFontSize]; } ! if ([userDefaults stringForKey:UDHighlight_Keywords] == nil) { [userDefaults setObject:@"select from where order group by asc desc insert into delete drop create alter table procedure view function" ! forKey:UDHighlight_Keywords]; } NSFileManager *fileManager = [NSFileManager defaultManager]; ! if ([userDefaults stringForKey:UDShowPostgreSQLHelp] == nil) { if ([fileManager fileExistsAtPath:@"/sw/share/doc/postgresql81/html/index.html"]) { [userDefaults setObject:@"file:///sw/share/doc/postgresql81/html/index.html" ! forKey:UDShowPostgreSQLHelp]; } } ! if ([userDefaults stringForKey:UDShowSQLCommandHelp] == nil) { if ([fileManager fileExistsAtPath:@"/sw/share/doc/postgresql81/html/sql-commands.html"]) { [userDefaults setObject:@"file:///sw/share/doc/postgresql81/html/sql-commands.html" ! forKey:UDShowSQLCommandHelp]; } ! } ! if ([userDefaults arrayForKey:UDConnArrayName] == nil) ! { ! // Create dictionary with connection details. ! NSMutableDictionary *aConnDict = [NSMutableDictionary dictionaryWithCapacity:6]; ! ! [aConnDict setObject:@"" forKey:UDConnUserName]; ! [aConnDict setObject:@"localhost" forKey:UDConnHost]; ! [aConnDict setObject:@"5432" forKey:UDConnPort]; ! [aConnDict setObject:@"" forKey:UDConnDatabaseName]; ! [aConnDict setObject:@"Default" forKey:UDConnName]; ! ! // Update UserDefaults. ! NSMutableArray *connArray = [NSMutableArray arrayWithCapacity:1]; ! [connArray addObject:aConnDict]; ! [userDefaults setObject:connArray forKey:UDConnArrayName]; ! NSLog(@"Adding new Connection Array: %s, Line %d", __FILE__, __LINE__); ! ! [userDefaults setObject:@"None" forKey:UDLastConn]; ! } ! ! /* remove old user defaults */ ! ! /* Added 2006_11_11 */ ! NSString * const UDUserDefaultsVersionOLD1 = @"PGSqlForMac_QueryTool_User_Defaults_Version"; ! NSString * const UDUserDefaultsVersionOLD2 = @"PGSqlForMac_QueryTool_Pref_Version"; ! if ([userDefaults stringForKey:UDUserDefaultsVersionOLD1] != nil) ! { ! [userDefaults removeObjectForKey:UDUserDefaultsVersionOLD1]; ! } ! if ([userDefaults stringForKey:UDUserDefaultsVersionOLD2] != nil) ! { ! [userDefaults removeObjectForKey:UDUserDefaultsVersionOLD2]; ! } ! ! /* Added 2006_12_01 */ ! NSString * const UDDefaultUserName = @"PGSqlForMac_QueryTool_DefaultUserName"; ! NSString * const UDDefaultHost = @"PGSqlForMac_QueryTool_DefaultHost"; ! NSString * const UDDefaultPort = @"PGSqlForMac_QueryTool_DefaultPort"; ! NSString * const UDDefaultDatabaseName = @"PGSqlForMac_QueryTool_DefaultDatabaseName"; ! if ([userDefaults stringForKey:UDDefaultUserName] != nil) ! { ! [userDefaults removeObjectForKey:UDDefaultUserName]; ! } ! if ([userDefaults stringForKey:UDDefaultHost] != nil) ! { ! [userDefaults removeObjectForKey:UDDefaultHost]; ! } ! if ([userDefaults stringForKey:UDDefaultPort] != nil) ! { ! [userDefaults removeObjectForKey:UDDefaultPort]; ! } ! if ([userDefaults stringForKey:UDDefaultDatabaseName] != nil) ! { ! [userDefaults removeObjectForKey:UDDefaultDatabaseName]; ! } ! ! } Index: MyResultsView.m =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/MyResultsView.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MyResultsView.m 16 Jul 2006 23:17:39 -0000 1.1 --- MyResultsView.m 2 Dec 2006 14:51:43 -0000 1.2 *************** *** 8,12 **** #import "MyResultsView.h" ! @implementation MyResultsView --- 8,12 ---- #import "MyResultsView.h" ! #import "PreferenceController.h" @implementation MyResultsView *************** *** 25,30 **** [self setRowHeight:[[[theCols objectAtIndex:0] dataCell] cellSize].height]; ! [[NSUserDefaults standardUserDefaults] setObject:[currentFont fontName] forKey:@"PGSqlForMac_QueryTool_ResultsTableFontName"]; ! [[NSUserDefaults standardUserDefaults] setFloat:[currentFont pointSize] forKey:@"PGSqlForMac_QueryTool_ResultsTableFontSize"]; } --- 25,30 ---- [self setRowHeight:[[[theCols objectAtIndex:0] dataCell] cellSize].height]; ! [[NSUserDefaults standardUserDefaults] setObject:[currentFont fontName] forKey:UDResultsTableFontName]; ! [[NSUserDefaults standardUserDefaults] setFloat:[currentFont pointSize] forKey:UDResultsTableFontSize]; } Index: SqlDocument.m =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/SqlDocument.m,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** SqlDocument.m 17 Sep 2006 15:41:48 -0000 1.24 --- SqlDocument.m 2 Dec 2006 14:51:43 -0000 1.25 *************** *** 9,12 **** --- 9,13 ---- #import "SqlDocument.h" #import "SqlToolbarCategory.h" + #import "PreferenceController.h" @implementation SqlDocument *************** *** 27,30 **** --- 28,66 ---- } + + - (void)connectionNameChanged:(id)sender + { + UNUSED_PARAMETER(sender); + NSArray * connArray = [[NSUserDefaults standardUserDefaults] arrayForKey:UDConnArrayName]; + unsigned int i; + NSDictionary *connDict; + + // NSLog(@"Connection Name Changed."); + + // Fill the text boxes with the data from the new connection name. + if (connArray) + { + for (i = 0; i < [connArray count]; i++) + { + connDict = [connArray objectAtIndex:i]; + NSString *aConnectionName = [NSString stringWithString:[connDict objectForKey:UDConnName]]; + if ([aConnectionName compare:[connectionName stringValue]] == NSOrderedSame) + { + [host setStringValue:@""]; + [userName setStringValue:@""]; + [databaseName setStringValue:@""]; + [port setStringValue:@""]; + + [host setStringValue:[connDict objectForKey:UDConnHost]]; + [userName setStringValue:[connDict objectForKey:UDConnUserName]]; + [databaseName setStringValue:[connDict objectForKey:UDConnDatabaseName]]; + [port setStringValue:[connDict objectForKey:UDConnPort]]; + break; + } + } + } + } + + - (void)windowControllerDidLoadNib:(NSWindowController *) aController { *************** *** 58,63 **** // set the font for the schema view ! font = [NSFont fontWithName:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_SchemaTableFontName"] ! size:[userDefaults floatForKey:@"PGSqlForMac_QueryTool_SchemaTableFontSize"]]; [schemaView setCurrentFont:font]; NSEnumerator* columns = [[schemaView tableColumns] objectEnumerator]; --- 94,99 ---- // set the font for the schema view ! font = [NSFont fontWithName:[userDefaults stringForKey:UDSchemaTableFontName] ! size:[userDefaults floatForKey:UDSchemaTableFontSize]]; [schemaView setCurrentFont:font]; NSEnumerator* columns = [[schemaView tableColumns] objectEnumerator]; *************** *** 71,76 **** //set the font for the results view ! font = [NSFont fontWithName:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_ResultsTableFontName"] ! size:[userDefaults floatForKey:@"PGSqlForMac_QueryTool_ResultsTableFontSize"]]; [dataOutput setCurrentFont:font]; columns = [[dataOutput tableColumns] objectEnumerator]; --- 107,112 ---- //set the font for the results view ! font = [NSFont fontWithName:[userDefaults stringForKey:UDResultsTableFontName] ! size:[userDefaults floatForKey:UDResultsTableFontSize]]; [dataOutput setCurrentFont:font]; columns = [[dataOutput tableColumns] objectEnumerator]; *************** *** 85,89 **** // init the keyword arrays NSString *temp = [[NSString alloc] ! initWithString:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_Highlight_Keywords"]]; keywords = [[NSArray alloc] initWithArray:[temp componentsSeparatedByString:@" "]]; --- 121,125 ---- // init the keyword arrays NSString *temp = [[NSString alloc] ! initWithString:[userDefaults stringForKey:UDHighlight_Keywords]]; keywords = [[NSArray alloc] initWithArray:[temp componentsSeparatedByString:@" "]]; *************** *** 107,111 **** [query setSelectedRange:NSMakeRange(0,0)]; [self performSelector:@selector(onConnect:) withObject:self afterDelay:0.0]; ! } --- 143,151 ---- [query setSelectedRange:NSMakeRange(0,0)]; [self performSelector:@selector(onConnect:) withObject:self afterDelay:0.0]; ! ! // Set the connection delegate for when the connection name changes. ! [connectionName setAction:@selector(connectionNameChanged:)]; ! [connectionName setTarget:self]; ! } *************** *** 135,143 **** // set explorer display defaults from NSUserDefaults NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; ! [explorer setShowInformationSchema:[userDefaults boolForKey:@"PGSqlForMac_QueryTool_ShowInformationSchema"]]; ! [explorer setShowPGCatalog:[userDefaults boolForKey:@"PGSqlForMac_QueryTool_ShowPGCatalogSchema"]]; ! [explorer setShowPGToast:[userDefaults boolForKey:@"PGSqlForMac_QueryTool_ShowPGToastSchema"]]; ! [explorer setShowPGTemps:[userDefaults boolForKey:@"PGSqlForMac_QueryTool_ShowPGTempsSchema"]]; ! [explorer setShowPublic:[userDefaults boolForKey:@"PGSqlForMac_QueryTool_ShowPGPublicSchema"]]; [NSThread detachNewThreadSelector:@selector(buildSchema:) toTarget:explorer withObject:schemaView]; --- 175,183 ---- // set explorer display defaults from NSUserDefaults NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; ! [explorer setShowInformationSchema:[userDefaults boolForKey:UDShowInformationSchema]]; ! [explorer setShowPGCatalog:[userDefaults boolForKey:UDShowPGCatalogSchema]]; ! [explorer setShowPGToast:[userDefaults boolForKey:UDShowPGToastSchema]]; ! [explorer setShowPGTemps:[userDefaults boolForKey:UDShowPGTempsSchema]]; ! [explorer setShowPublic:[userDefaults boolForKey:UDShowPGPublicSchema]]; [NSThread detachNewThreadSelector:@selector(buildSchema:) toTarget:explorer withObject:schemaView]; *************** *** 145,187 **** [schemaView setDataSource:explorer]; // explorer does the work. [schemaView setMenuActionTarget:self]; ! } - (IBAction)onConnect:(id)sender { - /* read the preferences and add them to the drop downs */ - NSString * aDefault; UNUSED_PARAMETER(sender); [status setStringValue:[NSString stringWithString:@"Waiting for connection information"]]; ! aDefault = [[NSUserDefaults standardUserDefaults] stringForKey:@"PGSqlForMac_QueryTool_DefaultHost"]; ! if (aDefault) ! { ! [host setStringValue:aDefault]; ! } ! else ! { ! [host setStringValue:@"localhost"]; ! } ! aDefault = [[NSUserDefaults standardUserDefaults] stringForKey:@"PGSqlForMac_QueryTool_DefaultUserName"]; ! if (aDefault) ! { ! [userName setStringValue:aDefault]; ! } ! aDefault = [[NSUserDefaults standardUserDefaults] stringForKey:@"PGSqlForMac_QueryTool_DefaultDatabaseName"]; ! if (aDefault) ! { ! [databaseName setStringValue:aDefault]; ! } ! aDefault = [[NSUserDefaults standardUserDefaults] stringForKey:@"PGSqlForMac_QueryTool_DefaultPort"]; ! if (aDefault) { ! [port setStringValue:aDefault]; } else { ! [port setStringValue:@"5432"]; } ! [NSApp beginSheet:panelConnect modalForWindow:window --- 185,246 ---- [schemaView setDataSource:explorer]; // explorer does the work. [schemaView setMenuActionTarget:self]; ! } ! - (IBAction)onConnect:(id)sender { UNUSED_PARAMETER(sender); [status setStringValue:[NSString stringWithString:@"Waiting for connection information"]]; ! // Create the connection drop down box. ! NSArray * connArray = [[NSUserDefaults standardUserDefaults] arrayForKey:UDConnArrayName]; ! unsigned int i; ! NSDictionary *connDict; ! ! [connectionRemember setState:0]; ! if (connArray) { ! i = 0; ! connDict = [connArray objectAtIndex:i]; ! ! // add names to drop down list ! [connectionName removeAllItems]; ! for (i = 0; i < [connArray count]; i++) ! { ! connDict = [connArray objectAtIndex:i]; ! [connectionName addItemWithObjectValue:[connDict objectForKey:UDConnName]]; ! } ! ! // Select the last used connection ! NSString *lastConnectionName = [[NSUserDefaults standardUserDefaults] stringForKey:UDLastConn]; ! for (i = 0; i < [connArray count]; i++) ! { ! connDict = [connArray objectAtIndex:i]; ! NSString *connDictName = [connDict objectForKey:UDConnName]; ! if ([connDictName compare:lastConnectionName] == NSOrderedSame) ! { ! [connectionName setStringValue:[connDict objectForKey:UDConnName]]; ! [connectionName selectItemWithObjectValue:[connDict objectForKey:UDConnName]]; ! break; ! } ! } ! if (i >= [connArray count]) ! { ! // Use first entry in array if last used is not found. ! i = 0; ! connDict = [connArray objectAtIndex:i]; ! } ! // connDict contains the dict to use for defaults. ! [host setStringValue:[connDict objectForKey:UDConnHost]]; ! [userName setStringValue:[connDict objectForKey:UDConnUserName]]; ! [databaseName setStringValue:[connDict objectForKey:UDConnDatabaseName]]; ! [port setStringValue:[connDict objectForKey:UDConnPort]]; } else { ! NSLog(@"Count not find connArray: %s, line %d", __FILE__, __LINE__); } ! [NSApp beginSheet:panelConnect modalForWindow:window *************** *** 191,194 **** --- 250,286 ---- } + - (IBAction)onConnectDelete:(id)sender; + { + // Make sure combobox has selection + UNUSED_PARAMETER(sender); + if ([[connectionName stringValue] length] == 0) + { + return; + } + NSMutableArray * connArray = [NSMutableArray arrayWithArray:[[NSUserDefaults standardUserDefaults] arrayForKey:UDConnArrayName]]; + unsigned int i; + NSDictionary *connDict; + // Remove from user defaults. + for (i = 0; i < [connArray count]; i++) + { + connDict = [connArray objectAtIndex:i]; + NSString *aConnectionName = [NSString stringWithString:[connDict objectForKey:UDConnName]]; + if ([aConnectionName compare:[connectionName stringValue]] == NSOrderedSame) + { + // If found remove from list. + [connArray removeObjectAtIndex:i]; + + // Save the result. + [[NSUserDefaults standardUserDefaults] setObject:connArray forKey:UDConnArrayName]; + break; + } + } + // Atempt to remove from comboBox. + [connectionName removeItemWithObjectValue:[connectionName stringValue]]; + + // Clear out selection. + [connectionName setStringValue:@""]; + } + - (IBAction)onConnectOK:(id)sender { *************** *** 210,220 **** [conn setPort:[port stringValue]]; - // update user defaults - [[NSUserDefaults standardUserDefaults] setObject:[NSString stringWithString:[userName stringValue]] forKey:@"PGSqlForMac_QueryTool_DefaultUserName"]; - [[NSUserDefaults standardUserDefaults] setObject:[NSString stringWithString:[host stringValue]] forKey:@"PGSqlForMac_QueryTool_DefaultHost"]; - [[NSUserDefaults standardUserDefaults] setObject:[NSString stringWithString:[port stringValue]] forKey:@"PGSqlForMac_QueryTool_DefaultPort"]; - [[NSUserDefaults standardUserDefaults] setObject:[NSString stringWithString:[databaseName stringValue]] forKey:@"PGSqlForMac_QueryTool_DefaultDatabaseName"]; - [[NSUserDefaults standardUserDefaults] synchronize]; - // close the sheet [NSApp stopModal]; --- 302,305 ---- *************** *** 247,254 **** } ! // create the schema explorer ! [self setNewExplorerConn]; ! } else { [status setStringValue:@"Connection failed:"]; } --- 332,413 ---- } ! // Create the schema explorer. ! [self setNewExplorerConn]; ! // update last connection name ! if ([[connectionName stringValue] length] != 0) ! { ! [[NSUserDefaults standardUserDefaults] setObject:[connectionName stringValue] forKey:UDLastConn]; ! } ! ! // Save connection details in userDefaults. ! if ([connectionRemember state]) ! { ! unsigned int potentialConnNum = 0; ! bool foundInComboBox = NO; ! // If no name then create a name. ! if ([[connectionName stringValue] length] == 0) ! { ! for (potentialConnNum = 1; potentialConnNum < 50; potentialConnNum++) ! { ! foundInComboBox = NO; ! NSString *potentialConnectionName = [NSString stringWithFormat:@"Connection %d", potentialConnNum]; ! for (i = 0; i < [connectionName numberOfItems]; i++) ! { ! if ([potentialConnectionName compare:[[connectionName itemObjectValueAtIndex:i] stringValue]] == NSOrderedSame) ! { ! foundInComboBox = YES; ! break; ! } ! } ! if (foundInComboBox == YES) ! { ! continue; ! } ! // Use the name created. ! [connectionName setStringValue: potentialConnectionName]; ! break; ! } ! } ! if (potentialConnNum < 50) // if loop ran-out without finding a good name skip this code. ! { ! // figure out if connectionName is already in list, if not add it ! foundInComboBox = NO; ! for (i = 0; i < [connectionName numberOfItems]; i++) ! { ! if ([[connectionName stringValue] compare:[connectionName itemObjectValueAtIndex:i]] == NSOrderedSame) ! { ! foundInComboBox = YES; ! break; ! } ! } ! if (foundInComboBox == NO) ! { ! // Add to combo box. ! [connectionName addItemWithObjectValue: [connectionName stringValue]]; ! [connectionName selectItemWithObjectValue: [connectionName stringValue]]; ! ! // Create dictionary with connection details. ! NSMutableDictionary *aConnDict = [NSMutableDictionary dictionaryWithCapacity:6]; ! ! [aConnDict setObject:[userName stringValue] forKey:UDConnUserName]; ! [aConnDict setObject:[host stringValue] forKey:UDConnHost]; ! [aConnDict setObject:[port stringValue] forKey:UDConnPort]; ! [aConnDict setObject:[databaseName stringValue] forKey:UDConnDatabaseName]; ! [aConnDict setObject:[connectionName stringValue] forKey:UDConnName]; ! ! // TODO remove all other last connections ! ! // Update UserDefaults. ! NSMutableArray *connArray = [NSMutableArray arrayWithArray:[[NSUserDefaults standardUserDefaults] arrayForKey:UDConnArrayName]]; ! [connArray addObject:aConnDict]; ! [[NSUserDefaults standardUserDefaults] setObject:connArray forKey:UDConnArrayName]; ! [[NSUserDefaults standardUserDefaults] synchronize]; ! } ! } ! } ! } ! else ! { [status setStringValue:@"Connection failed:"]; } *************** *** 265,269 **** UNUSED_PARAMETER(sender); NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; ! [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPostgreSQLHelp"]]]; } --- 424,428 ---- UNUSED_PARAMETER(sender); NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; ! [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:[userDefaults stringForKey:UDShowPostgreSQLHelp]]]; } *************** *** 273,277 **** UNUSED_PARAMETER(sender); NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; ! [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowSQLCommandHelp"]]]; } --- 432,436 ---- UNUSED_PARAMETER(sender); NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; ! [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:[userDefaults stringForKey:UDShowSQLCommandHelp]]]; } *************** *** 369,391 **** toBeRun = [query string]; } ! ! /* FIXME does not correctly handle quoted queries */ ! /* For example: ! CREATE or REPLACE FUNCTION pgcocoa_test_schema.sum_n_product ! (IN x integer, IN y integer, OUT sum integer, OUT prod integer) AS $$ ! BEGIN ! sum := x + y; ! prod := x * y; ! END; $$ LANGUAGE plpgsql; ! */ ! ! //NSArray *arrQuery = [toBeRun componentsSeparatedByString:@";"]; ! int xx; - //for (x = 0; x < [arrQuery count]; x++) for (xx = 0; xx < 1; xx++) { - //NSString *sql = [arrQuery objectAtIndex:x]; - //RecordSet *rs = [conn execQuery:sql]; RecordSet *rs = [conn execQueryLogInfoLogSQL:toBeRun]; if ([conn sqlLog] != nil) --- 528,535 ---- toBeRun = [query string]; } ! int xx; for (xx = 0; xx < 1; xx++) { RecordSet *rs = [conn execQueryLogInfoLogSQL:toBeRun]; if ([conn sqlLog] != nil) *************** *** 671,675 **** NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendString:@"SELECT "]; ! while (currentIndex != NSNotFound) { if (!first) { --- 815,820 ---- NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendString:@"SELECT "]; ! while (currentIndex != NSNotFound) ! { if (!first) { *************** *** 692,696 **** unsigned currentIndex = [theRows firstIndex]; NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; ! while (currentIndex != NSNotFound) { if (!first) { --- 837,842 ---- unsigned currentIndex = [theRows firstIndex]; NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; ! while (currentIndex != NSNotFound) ! { if (!first) { *************** *** 718,722 **** NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"CREATE UNIQUE INDEX %@_idx%d ON %@.%@ (", tableName, indexCount, schemaName, tableName]; ! while (currentIndex != NSNotFound) { if (!first) { --- 864,869 ---- NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"CREATE UNIQUE INDEX %@_idx%d ON %@.%@ (", tableName, indexCount, schemaName, tableName]; ! while (currentIndex != NSNotFound) ! { if (!first) { *************** *** 745,749 **** NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"CREATE UNIQUE INDEX %@_idx%d ON %@.%@ (", tableName, indexCount, schemaName, tableName]; ! while (currentIndex != NSNotFound) { if (!first) { --- 892,897 ---- NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"CREATE UNIQUE INDEX %@_idx%d ON %@.%@ (", tableName, indexCount, schemaName, tableName]; ! while (currentIndex != NSNotFound) ! { if (!first) { *************** *** 774,778 **** NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"ALTER TABLE %@.%@\n", schemaName, tableName]; ! while (currentRow != NSNotFound) { if (!first) { --- 922,927 ---- NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"ALTER TABLE %@.%@\n", schemaName, tableName]; ! while (currentRow != NSNotFound) ! { if (!first) { *************** *** 801,805 **** NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"ALTER TABLE %@.%@\n", schemaName, tableName]; ! while (currentRow != NSNotFound) { if (!first) { --- 950,955 ---- NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"ALTER TABLE %@.%@\n", schemaName, tableName]; ! while (currentRow != NSNotFound) ! { if (!first) { *************** *** 828,832 **** NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"ALTER TABLE %@.%@\n", schemaName, tableName]; ! while (currentRow != NSNotFound) { if (!first) { --- 978,983 ---- NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"ALTER TABLE %@.%@\n", schemaName, tableName]; ! while (currentRow != NSNotFound) ! { if (!first) { *************** *** 855,859 **** NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"CREATE TABLE %@.%@ (\n", schemaName, tableName]; ! while (currentIndex != NSNotFound) { if (!first) { --- 1006,1011 ---- NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"CREATE TABLE %@.%@ (\n", schemaName, tableName]; ! while (currentIndex != NSNotFound) ! { if (!first) { *************** *** 882,886 **** NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"ALTER TABLE %@.%@\n", schemaName, tableName]; ! while (currentRow != NSNotFound) { if (!first) { --- 1034,1039 ---- NSMutableString *sql = [[[NSMutableString alloc] init] autorelease]; [sql appendFormat:@"ALTER TABLE %@.%@\n", schemaName, tableName]; ! while (currentRow != NSNotFound) ! { if (!first) { *************** *** 974,977 **** --- 1127,1144 ---- } + - (void)onSelectExecuteFunctionMenuItem:(id)sender + { + UNUSED_PARAMETER(sender); + NSIndexSet *theRows =[schemaView selectedRowIndexes]; + unsigned int currentRow =[theRows firstIndex]; + NSString *functionName = [[schemaView itemAtRow:currentRow] name]; + NSString *schemaName = [[schemaView itemAtRow:currentRow] baseSchema]; + NSAssert(functionName,@"onSelectCreateFunctionTemplateMenuItem: no function name."); + NSAssert(schemaName, @"onSelectCreateFunctionTemplateMenuItem: no schema name."); + + NSString *sql = [NSString stringWithFormat:@"SELECT %@.%@();\n", schemaName, functionName]; + [query insertText:sql]; + } + - (void)onSelectDropFunctionMenuItem:(id)sender { *************** *** 1069,1076 **** ! if (rangeOfEdit.length == 0) { return; } ! if (rangeOfEdit.length > 1) { [self colorRange:rangeOfEdit]; return; --- 1236,1245 ---- ! if (rangeOfEdit.length == 0) ! { return; } ! if (rangeOfEdit.length > 1) ! { [self colorRange:rangeOfEdit]; return; *************** *** 1079,1083 **** // if the edited range contains no delimiters... unsigned long i = rangeOfEdit.location; ! if (i >= [[ts string] length]) { i = [[ts string] length] - 1; } while ([[ts string] characterAtIndex:i] != ' ') --- 1248,1255 ---- // if the edited range contains no delimiters... unsigned long i = rangeOfEdit.location; ! if (i >= [[ts string] length]) ! { ! i = [[ts string] length] - 1; ! } while ([[ts string] characterAtIndex:i] != ' ') *************** *** 1093,1097 **** i = rangeOfEdit.location; ! if (i >= [[ts string] length]) { i = [[ts string] length] - 1; } while ([[ts string] characterAtIndex:i] != ' ') { --- 1265,1272 ---- i = rangeOfEdit.location; ! if (i >= [[ts string] length]) ! { ! i = [[ts string] length] - 1; ! } while ([[ts string] characterAtIndex:i] != ' ') { *************** *** 1108,1113 **** { // TODO implement the system return nil; ! } --- 1283,1301 ---- { // TODO implement the system + NSLog(@"%s: textView not implemented.", __FILE__); return nil; ! } ! ! - (NSString *)currentQuery ! { ! // TODO ! NSLog(@"%s: currentQuery not implemented.", __FILE__); ! return nil; ! } ! ! - (void)threadComplete ! { ! // TODO ! NSLog(@"%s: threadComplete not implemented.", __FILE__); } Index: SqlDocument.h =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/SqlDocument.h,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** SqlDocument.h 30 Aug 2006 15:51:15 -0000 1.14 --- SqlDocument.h 2 Dec 2006 14:51:43 -0000 1.15 *************** *** 15,18 **** --- 15,19 ---- #import "MyResultsView.h" #import "QueryTool.h" + #import "ExecuteQueryThread.h" @class PreferenceController; *************** *** 31,39 **** //connect dialog IBOutlet NSPanel *panelConnect; IBOutlet NSTextField *userName; IBOutlet NSTextField *password; IBOutlet NSTextField *databaseName; ! IBOutlet NSComboBox *host; ! IBOutlet NSComboBox *port; IBOutlet NSPopUpButton *dbName; --- 32,42 ---- //connect dialog IBOutlet NSPanel *panelConnect; + IBOutlet NSComboBox *connectionName; + IBOutlet NSButton *connectionRemember; IBOutlet NSTextField *userName; IBOutlet NSTextField *password; IBOutlet NSTextField *databaseName; ! IBOutlet NSTextField *host; ! IBOutlet NSTextField *port; IBOutlet NSPopUpButton *dbName; *************** *** 51,54 **** --- 54,60 ---- ExplorerModel *explorer; // ref to schema outline view data source + //threads + ExecuteQueryThread *theThread; + // Non-Gui NSString *fileContent; *************** *** 75,78 **** --- 81,85 ---- - (IBAction)onConnectOK:(id)sender; - (IBAction)onConnectCancel:(id)sender; + - (IBAction)onConnectDelete:(id)sender; - (IBAction)onDisconnect:(id)sender; - (IBAction)onSetDatabase:(id)sender; *************** *** 116,119 **** --- 123,127 ---- - (void)onSelectCreateFunctionTemplateMenuItem:(id)sender; - (void)onSelectDropFunctionMenuItem:(id)sender; + - (void)onSelectExecuteFunctionMenuItem:(id)sender; // Indexes *************** *** 122,124 **** --- 130,136 ---- - (void)colorRange:(NSRange)rangeToColor; + // Other + - (NSString *)currentQuery; + - (void)threadComplete; + @end |
From: Neil T. <nt...@us...> - 2006-12-02 14:51:46
|
Update of /cvsroot/pgsqlformac/QueryTool/QueryToolForPostgresN.xcodeproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7303/QueryToolForPostgresN.xcodeproj Modified Files: ntiffin.mode1 ntiffin.pbxuser project.pbxproj Log Message: Add remember multiple connections. Index: project.pbxproj =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/QueryToolForPostgresN.xcodeproj/project.pbxproj,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** project.pbxproj 4 Sep 2006 14:51:13 -0000 1.1 --- project.pbxproj 2 Dec 2006 14:51:44 -0000 1.2 *************** *** 58,61 **** --- 58,63 ---- CEA465A80A6A8D67008C43D1 /* MyResultsView.h in Headers */ = {isa = PBXBuildFile; fileRef = CEA465A60A6A8D67008C43D1 /* MyResultsView.h */; }; CEA465A90A6A8D67008C43D1 /* MyResultsView.m in Sources */ = {isa = PBXBuildFile; fileRef = CEA465A70A6A8D67008C43D1 /* MyResultsView.m */; }; + CEAC30F60ABDC60C00421BFF /* ExecuteQueryThread.h in Headers */ = {isa = PBXBuildFile; fileRef = CEAC30F40ABDC60C00421BFF /* ExecuteQueryThread.h */; }; + CEAC30F70ABDC60C00421BFF /* ExecuteQueryThread.m in Sources */ = {isa = PBXBuildFile; fileRef = CEAC30F50ABDC60C00421BFF /* ExecuteQueryThread.m */; }; /* End PBXBuildFile section */ *************** *** 127,130 **** --- 129,134 ---- CEA465A60A6A8D67008C43D1 /* MyResultsView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyResultsView.h; sourceTree = "<group>"; }; CEA465A70A6A8D67008C43D1 /* MyResultsView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyResultsView.m; sourceTree = "<group>"; }; + CEAC30F40ABDC60C00421BFF /* ExecuteQueryThread.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExecuteQueryThread.h; sourceTree = "<group>"; }; + CEAC30F50ABDC60C00421BFF /* ExecuteQueryThread.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ExecuteQueryThread.m; sourceTree = "<group>"; }; /* End PBXFileReference section */ *************** *** 191,194 **** --- 195,200 ---- 4350CCB90665349000244060 /* DataSource.h */, 4350CCBA0665349000244060 /* DataSource.m */, + CEAC30F40ABDC60C00421BFF /* ExecuteQueryThread.h */, + CEAC30F50ABDC60C00421BFF /* ExecuteQueryThread.m */, CE20F4680A0E9A760066662F /* MyOutlineView.h */, CE20F4690A0E9A760066662F /* MyOutlineView.m */, *************** *** 286,289 **** --- 292,296 ---- CE7EA7DC0AA4FDB60017B3FB /* AppController.h in Headers */, CE74E3560AA5BAC500D0835A /* QueryTool.h in Headers */, + CEAC30F60ABDC60C00421BFF /* ExecuteQueryThread.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; *************** *** 376,379 **** --- 383,387 ---- CE7EA7D20AA4FD150017B3FB /* PreferenceController.m in Sources */, CE7EA7DB0AA4FDB60017B3FB /* AppController.m in Sources */, + CEAC30F70ABDC60C00421BFF /* ExecuteQueryThread.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; Index: ntiffin.mode1 =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/QueryToolForPostgresN.xcodeproj/ntiffin.mode1,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ntiffin.mode1 17 Sep 2006 15:41:48 -0000 1.2 --- ntiffin.mode1 2 Dec 2006 14:51:44 -0000 1.3 *************** *** 210,214 **** <dict> <key>PBXProjectModuleGUID</key> ! <string>CE4FEC200ABD9C57005E5FF8</string> <key>PBXProjectModuleLabel</key> <string>SqlDocument.h</string> --- 210,334 ---- <dict> <key>PBXProjectModuleGUID</key> ! <string>CEFBF4490B20F66200F78EBF</string> ! <key>PBXProjectModuleLabel</key> ! <string>SqlDocument.m</string> ! <key>PBXSplitModuleInNavigatorKey</key> ! <dict> ! <key>Split0</key> ! <dict> ! <key>PBXProjectModuleGUID</key> ! <string>CEFBF44A0B20F66200F78EBF</string> ! <key>PBXProjectModuleLabel</key> ! <string>SqlDocument.m</string> ! <key>_historyCapacity</key> ! <integer>0</integer> ! <key>bookmark</key> ! <string>CEDF0B380B21C504001BB03D</string> ! <key>history</key> ! <array> ! <string>CEDF0B340B21C43A001BB03D</string> ! </array> ! </dict> ! <key>SplitCount</key> ! <string>1</string> ! </dict> ! <key>StatusBarVisibility</key> ! <true/> ! </dict> ! <key>Geometry</key> ! <dict> ! <key>Frame</key> ! <string>{{0, 20}, {1023, 794}}</string> ! <key>PBXModuleWindowStatusBarHidden2</key> ! <false/> ! <key>RubberWindowFrame</key> ! <string>84 43 1023 835 0 0 1440 878 </string> ! </dict> ! </dict> ! <dict> ! <key>Content</key> ! <dict> ! <key>PBXProjectModuleGUID</key> ! <string>CEFBF4710B20F8A200F78EBF</string> ! <key>PBXProjectModuleLabel</key> ! <string>PreferenceController.h</string> ! <key>PBXSplitModuleInNavigatorKey</key> ! <dict> ! <key>Split0</key> ! <dict> ! <key>PBXProjectModuleGUID</key> ! <string>CEFBF4720B20F8A200F78EBF</string> ! <key>PBXProjectModuleLabel</key> ! <string>PreferenceController.h</string> ! <key>_historyCapacity</key> ! <integer>0</integer> ! <key>bookmark</key> ! <string>CEDF0B390B21C504001BB03D</string> ! <key>history</key> ! <array> ! <string>CEFBF4850B20F91D00F78EBF</string> ! </array> ! </dict> ! <key>SplitCount</key> ! <string>1</string> ! </dict> ! <key>StatusBarVisibility</key> ! <true/> ! </dict> ! <key>Geometry</key> ! <dict> ! <key>Frame</key> ! <string>{{0, 20}, {787, 777}}</string> ! <key>PBXModuleWindowStatusBarHidden2</key> ! <false/> ! <key>RubberWindowFrame</key> ! <string>434 60 787 818 0 0 1440 878 </string> ! </dict> ! </dict> ! <dict> ! <key>Content</key> ! <dict> ! <key>PBXProjectModuleGUID</key> ! <string>CEFBF4670B20F81B00F78EBF</string> ! <key>PBXProjectModuleLabel</key> ! <string>PreferenceController.m</string> ! <key>PBXSplitModuleInNavigatorKey</key> ! <dict> ! <key>Split0</key> ! <dict> ! <key>PBXProjectModuleGUID</key> ! <string>CEFBF4680B20F81B00F78EBF</string> ! <key>PBXProjectModuleLabel</key> ! <string>PreferenceController.m</string> ! <key>_historyCapacity</key> ! <integer>0</integer> ! <key>bookmark</key> ! <string>CEDF0B3B0B21C504001BB03D</string> ! <key>history</key> ! <array> ! <string>CEDF0B3A0B21C504001BB03D</string> ! </array> ! </dict> ! <key>SplitCount</key> ! <string>1</string> ! </dict> ! <key>StatusBarVisibility</key> ! <true/> ! </dict> ! <key>Geometry</key> ! <dict> ! <key>Frame</key> ! <string>{{0, 20}, {982, 827}}</string> ! <key>PBXModuleWindowStatusBarHidden2</key> ! <false/> ! <key>RubberWindowFrame</key> ! <string>189 10 982 868 0 0 1440 878 </string> ! </dict> ! </dict> ! <dict> ! <key>Content</key> ! <dict> ! <key>PBXProjectModuleGUID</key> ! <string>CEFBF47C0B20F91D00F78EBF</string> <key>PBXProjectModuleLabel</key> <string>SqlDocument.h</string> *************** *** 218,222 **** <dict> <key>PBXProjectModuleGUID</key> ! <string>CE4FEC210ABD9C57005E5FF8</string> <key>PBXProjectModuleLabel</key> <string>SqlDocument.h</string> --- 338,342 ---- <dict> <key>PBXProjectModuleGUID</key> ! <string>CEFBF47D0B20F91D00F78EBF</string> <key>PBXProjectModuleLabel</key> <string>SqlDocument.h</string> *************** *** 224,231 **** <integer>0</integer> <key>bookmark</key> ! <string>CE4FEC730ABDA3CE005E5FF8</string> <key>history</key> <array> ! <string>CE4FEC220ABD9C57005E5FF8</string> </array> </dict> --- 344,351 ---- <integer>0</integer> <key>bookmark</key> ! <string>CEDF0B3C0B21C504001BB03D</string> <key>history</key> <array> ! <string>CEDF0AE00B21B6E1001BB03D</string> </array> </dict> *************** *** 243,247 **** <false/> <key>RubberWindowFrame</key> ! <string>607 78 689 794 0 0 1440 878 </string> </dict> </dict> --- 363,367 ---- <false/> <key>RubberWindowFrame</key> ! <string>644 81 689 794 0 0 1440 878 </string> </dict> </dict> *************** *** 317,321 **** <string>2A37F4AAFDCFA73011CA2CEA</string> <string>2A37F4ABFDCFA73011CA2CEA</string> - <string>2A37F4AFFDCFA73011CA2CEA</string> <string>2A37F4B8FDCFA73011CA2CEA</string> <string>4327F01607CEB4AA00AB5CFE</string> --- 437,440 ---- *************** *** 330,334 **** <array> <array> ! <integer>9</integer> <integer>1</integer> <integer>0</integer> --- 449,453 ---- <array> <array> ! <integer>15</integer> <integer>1</integer> <integer>0</integer> *************** *** 336,340 **** </array> <key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key> ! <string>{{0, 0}, {309, 660}}</string> </dict> <key>PBXTopSmartGroupGIDs</key> --- 455,459 ---- </array> <key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key> ! <string>{{0, 207}, {309, 660}}</string> </dict> <key>PBXTopSmartGroupGIDs</key> *************** *** 355,359 **** </array> <key>RubberWindowFrame</key> ! <string>94 69 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> --- 474,478 ---- </array> <key>RubberWindowFrame</key> ! <string>50 156 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 371,375 **** <string>1CE0B20306471E060097A5F4</string> <key>PBXProjectModuleLabel</key> ! <string>MyResultsView.m</string> <key>PBXSplitModuleInNavigatorKey</key> <dict> --- 490,494 ---- <string>1CE0B20306471E060097A5F4</string> <key>PBXProjectModuleLabel</key> ! <string>SqlDocument.h</string> <key>PBXSplitModuleInNavigatorKey</key> <dict> *************** *** 379,409 **** <string>1CE0B20406471E060097A5F4</string> <key>PBXProjectModuleLabel</key> ! <string>MyResultsView.m</string> <key>_historyCapacity</key> <integer>0</integer> <key>bookmark</key> ! <string>CE4FEC720ABDA3CE005E5FF8</string> <key>history</key> <array> <string>CEA6FBFE0A85185600044DB3</string> - <string>CE5C2A090A8FECDD0052A46F</string> - <string>CEA9E1C00AA0D186004BA8F3</string> <string>CEA9E1C30AA0D186004BA8F3</string> <string>CEA9E1C50AA0D186004BA8F3</string> <string>CEC6C4930AA4F8B5002AF181</string> <string>CE74E3CD0AA5BF9E00D0835A</string> - <string>CE74E3CE0AA5BF9E00D0835A</string> - <string>CE74E3CF0AA5BF9E00D0835A</string> <string>CE74E3D00AA5BF9E00D0835A</string> <string>CE74E4730AA5E33300D0835A</string> <string>CEC42ADF0AA6481900673D96</string> <string>CE64C29F0AA733E000FBCB31</string> - <string>CE8AEAF10AA9B2E8005BF320</string> <string>CE8AEAF20AA9B2E8005BF320</string> - <string>CECDD3A00AB72489002256AF</string> - <string>CE30916B0AB8CCDC0012805D</string> <string>CE30916C0AB8CCDC0012805D</string> ! <string>CE4FEB9C0ABD7DC7005E5FF8</string> ! <string>CE4FEB9F0ABD7DC7005E5FF8</string> </array> <key>prevStack</key> --- 498,529 ---- <string>1CE0B20406471E060097A5F4</string> <key>PBXProjectModuleLabel</key> ! <string>SqlDocument.h</string> <key>_historyCapacity</key> <integer>0</integer> <key>bookmark</key> ! <string>CEDF0B370B21C504001BB03D</string> <key>history</key> <array> <string>CEA6FBFE0A85185600044DB3</string> <string>CEA9E1C30AA0D186004BA8F3</string> <string>CEA9E1C50AA0D186004BA8F3</string> <string>CEC6C4930AA4F8B5002AF181</string> <string>CE74E3CD0AA5BF9E00D0835A</string> <string>CE74E3D00AA5BF9E00D0835A</string> <string>CE74E4730AA5E33300D0835A</string> <string>CEC42ADF0AA6481900673D96</string> <string>CE64C29F0AA733E000FBCB31</string> <string>CE8AEAF20AA9B2E8005BF320</string> <string>CE30916C0AB8CCDC0012805D</string> ! <string>CEAC31300ABDCAE400421BFF</string> ! <string>CE0B9E500ABEF8C300AD89B4</string> ! <string>CE943ACA0B052DD60062E2B1</string> ! <string>CE943ACB0B052DD60062E2B1</string> ! <string>CE71F1A60B060AB70028BDB2</string> ! <string>CE679CA50B092BAA00F03AC6</string> ! <string>CE5268C40B2096AB001224BF</string> ! <string>CE5269290B20AD21001224BF</string> ! <string>CEDF0ADC0B21B6E1001BB03D</string> ! <string>CE679CA30B092BAA00F03AC6</string> </array> <key>prevStack</key> *************** *** 428,431 **** --- 548,554 ---- <string>CE8AEAF50AA9B2E8005BF320</string> <string>CE30916D0AB8CCDC0012805D</string> + <string>CEAC31330ABDCAE400421BFF</string> + <string>CE0B9E510ABEF8C300AD89B4</string> + <string>CEDF0ADD0B21B6E1001BB03D</string> </array> </dict> *************** *** 439,450 **** <dict> <key>Frame</key> ! <string>{{0, 0}, {894, 348}}</string> <key>RubberWindowFrame</key> ! <string>94 69 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXNavigatorGroup</string> <key>Proportion</key> ! <string>348pt</string> </dict> <dict> --- 562,573 ---- <dict> <key>Frame</key> ! <string>{{0, 0}, {894, 466}}</string> <key>RubberWindowFrame</key> ! <string>50 156 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXNavigatorGroup</string> <key>Proportion</key> ! <string>466pt</string> </dict> <dict> *************** *** 459,470 **** <dict> <key>Frame</key> ! <string>{{0, 353}, {894, 325}}</string> <key>RubberWindowFrame</key> ! <string>94 69 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> <string>XCDetailModule</string> <key>Proportion</key> ! <string>325pt</string> </dict> </array> --- 582,593 ---- <dict> <key>Frame</key> ! <string>{{0, 471}, {894, 207}}</string> <key>RubberWindowFrame</key> ! <string>50 156 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> <string>XCDetailModule</string> <key>Proportion</key> ! <string>207pt</string> </dict> </array> *************** *** 485,491 **** <key>TableOfContents</key> <array> ! <string>CE4FEC180ABD9C57005E5FF8</string> <string>1CE0B1FE06471DED0097A5F4</string> ! <string>CE4FEC190ABD9C57005E5FF8</string> <string>1CE0B20306471E060097A5F4</string> <string>1CE0B20506471E060097A5F4</string> --- 608,614 ---- <key>TableOfContents</key> <array> ! <string>CEDF0AC40B21B4E5001BB03D</string> <string>1CE0B1FE06471DED0097A5F4</string> ! <string>CEDF0AC50B21B4E5001BB03D</string> <string>1CE0B20306471E060097A5F4</string> <string>1CE0B20506471E060097A5F4</string> *************** *** 606,610 **** <true/> <key>TimeStamp</key> ! <real>180200398.991824</real> <key>ToolbarDisplayMode</key> <integer>1</integer> --- 729,733 ---- <true/> <key>TimeStamp</key> ! <real>186762500.50985301</real> <key>ToolbarDisplayMode</key> <integer>1</integer> *************** *** 621,635 **** <key>WindowOrderList</key> <array> ! <string>CE4FEC330ABD9CDA005E5FF8</string> ! <string>CE4FEC340ABD9CDA005E5FF8</string> <string>CE428AE70A0E2556004B4161</string> - <string>CE4FEC240ABD9C57005E5FF8</string> - <string>CE4FEC2C0ABD9C57005E5FF8</string> - <string>CE4FEC200ABD9C57005E5FF8</string> <string>1CD10A99069EF8BA00B06720</string> ! <string>/Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/QueryToolForPostgresN.xcodeproj</string> </array> <key>WindowString</key> ! <string>94 69 1225 719 0 0 1440 878 </string> <key>WindowTools</key> <array> --- 744,762 ---- <key>WindowOrderList</key> <array> ! <string>CEDF0AF10B21B993001BB03D</string> ! <string>CEDF0AF20B21B993001BB03D</string> ! <string>CEDF0AD00B21B4E5001BB03D</string> ! <string>CEFBF47C0B20F91D00F78EBF</string> ! <string>/Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/QueryToolForPostgresN.xcodeproj</string> ! <string>CEDF0B010B21BACF001BB03D</string> <string>CE428AE70A0E2556004B4161</string> <string>1CD10A99069EF8BA00B06720</string> ! <string>CEFBF4670B20F81B00F78EBF</string> ! <string>CE5268B20B20953C001224BF</string> ! <string>CEFBF4710B20F8A200F78EBF</string> ! <string>CEFBF4490B20F66200F78EBF</string> </array> <key>WindowString</key> ! <string>50 156 1225 719 0 0 1440 878 </string> <key>WindowTools</key> <array> *************** *** 659,670 **** <dict> <key>Frame</key> ! <string>{{0, 0}, {1147, 271}}</string> <key>RubberWindowFrame</key> ! <string>129 123 1147 753 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXNavigatorGroup</string> <key>Proportion</key> ! <string>271pt</string> </dict> <dict> --- 786,797 ---- <dict> <key>Frame</key> ! <string>{{0, 0}, {1147, 157}}</string> <key>RubberWindowFrame</key> ! <string>125 111 1147 753 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXNavigatorGroup</string> <key>Proportion</key> ! <string>157pt</string> </dict> <dict> *************** *** 674,678 **** <dict> <key>PBXBuildLogShowsTranscriptDefaultKey</key> ! <string>{{0, 331}, {1147, 105}}</string> <key>PBXProjectModuleGUID</key> <string>XCMainBuildResultsModuleGUID</string> --- 801,805 ---- <dict> <key>PBXBuildLogShowsTranscriptDefaultKey</key> ! <string>{{0, 210}, {1147, 340}}</string> <key>PBXProjectModuleGUID</key> <string>XCMainBuildResultsModuleGUID</string> *************** *** 687,698 **** <dict> <key>Frame</key> ! <string>{{0, 276}, {1147, 436}}</string> <key>RubberWindowFrame</key> ! <string>129 123 1147 753 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXBuildResultsModule</string> <key>Proportion</key> ! <string>436pt</string> </dict> </array> --- 814,825 ---- <dict> <key>Frame</key> ! <string>{{0, 162}, {1147, 550}}</string> <key>RubberWindowFrame</key> ! <string>125 111 1147 753 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXBuildResultsModule</string> <key>Proportion</key> ! <string>550pt</string> </dict> </array> *************** *** 711,716 **** <key>TableOfContents</key> <array> ! <string>CE4FEC240ABD9C57005E5FF8</string> ! <string>CE4FEC250ABD9C57005E5FF8</string> <string>1CD0528F0623707200166675</string> <string>XCMainBuildResultsModuleGUID</string> --- 838,843 ---- <key>TableOfContents</key> <array> ! <string>CE5268B20B20953C001224BF</string> ! <string>CEDF0AD90B21B6AB001BB03D</string> <string>1CD0528F0623707200166675</string> <string>XCMainBuildResultsModuleGUID</string> *************** *** 719,727 **** <string>xcode.toolbar.config.build</string> <key>WindowString</key> ! <string>129 123 1147 753 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE4FEC240ABD9C57005E5FF8</string> <key>WindowToolIsVisible</key> ! <false/> </dict> <dict> --- 846,854 ---- <string>xcode.toolbar.config.build</string> <key>WindowString</key> ! <string>125 111 1147 753 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE5268B20B20953C001224BF</string> <key>WindowToolIsVisible</key> ! <true/> </dict> <dict> *************** *** 754,759 **** <key>sizes</key> <array> ! <string>{{0, 0}, {150, 294}}</string> ! <string>{{150, 0}, {939, 294}}</string> </array> </dict> --- 881,886 ---- <key>sizes</key> <array> ! <string>{{0, 0}, {324, 396}}</string> ! <string>{{324, 0}, {756, 396}}</string> </array> </dict> *************** *** 770,775 **** <key>sizes</key> <array> ! <string>{{0, 0}, {1089, 294}}</string> ! <string>{{0, 294}, {1089, 266}}</string> </array> </dict> --- 897,902 ---- <key>sizes</key> <array> ! <string>{{0, 0}, {1080, 396}}</string> ! <string>{{0, 396}, {1080, 357}}</string> </array> </dict> *************** *** 791,808 **** <string>{{200, 200}, {500, 300}}</string> <key>DebugSTDIOWindowFrame</key> ! <string>{{421, 289}, {889, 255}}</string> <key>Frame</key> ! <string>{{0, 0}, {1089, 560}}</string> <key>RubberWindowFrame</key> ! <string>161 180 1089 601 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXDebugSessionModule</string> <key>Proportion</key> ! <string>560pt</string> </dict> </array> <key>Proportion</key> ! <string>560pt</string> </dict> </array> --- 918,935 ---- <string>{{200, 200}, {500, 300}}</string> <key>DebugSTDIOWindowFrame</key> ! <string>{{285, 370}, {1132, 251}}</string> <key>Frame</key> ! <string>{{0, 0}, {1080, 753}}</string> <key>RubberWindowFrame</key> ! <string>44 84 1080 794 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXDebugSessionModule</string> <key>Proportion</key> ! <string>753pt</string> </dict> </array> <key>Proportion</key> ! <string>753pt</string> </dict> </array> *************** *** 818,834 **** <array> <string>1CD10A99069EF8BA00B06720</string> ! <string>CE4FEC260ABD9C57005E5FF8</string> <string>1C162984064C10D400B95A72</string> ! <string>CE4FEC270ABD9C57005E5FF8</string> ! <string>CE4FEC280ABD9C57005E5FF8</string> ! <string>CE4FEC290ABD9C57005E5FF8</string> ! <string>CE4FEC2A0ABD9C57005E5FF8</string> ! <string>CE4FEC2B0ABD9C57005E5FF8</string> ! <string>CE4FEC2C0ABD9C57005E5FF8</string> </array> <key>ToolbarConfiguration</key> <string>xcode.toolbar.config.debug</string> <key>WindowString</key> ! <string>161 180 1089 601 0 0 1440 878 </string> <key>WindowToolGUID</key> <string>1CD10A99069EF8BA00B06720</string> --- 945,961 ---- <array> <string>1CD10A99069EF8BA00B06720</string> ! <string>CEDF0ACA0B21B4E5001BB03D</string> <string>1C162984064C10D400B95A72</string> ! <string>CEDF0ACB0B21B4E5001BB03D</string> ! <string>CEDF0ACC0B21B4E5001BB03D</string> ! <string>CEDF0ACD0B21B4E5001BB03D</string> ! <string>CEDF0ACE0B21B4E5001BB03D</string> ! <string>CEDF0ACF0B21B4E5001BB03D</string> ! <string>CEDF0AD00B21B4E5001BB03D</string> </array> <key>ToolbarConfiguration</key> <string>xcode.toolbar.config.debug</string> <key>WindowString</key> ! <string>44 84 1080 794 0 0 1440 878 </string> <key>WindowToolGUID</key> <string>1CD10A99069EF8BA00B06720</string> *************** *** 857,861 **** <string>1CDD528C0622207200134675</string> <key>PBXProjectModuleLabel</key> ! <string></string> <key>StatusBarVisibility</key> <true/> --- 984,988 ---- <string>1CDD528C0622207200134675</string> <key>PBXProjectModuleLabel</key> ! <string>SqlDocument.m</string> <key>StatusBarVisibility</key> <true/> *************** *** 864,870 **** <dict> <key>Frame</key> ! <string>{{0, 0}, {1175, 347}}</string> <key>RubberWindowFrame</key> ! <string>265 50 1175 824 0 0 1440 878 </string> </dict> <key>Module</key> --- 991,997 ---- <dict> <key>Frame</key> ! <string>{{0, 0}, {1175, 413}}</string> <key>RubberWindowFrame</key> ! <string>106 7 1175 824 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 875,879 **** </array> <key>Proportion</key> ! <string>347pt</string> </dict> <dict> --- 1002,1006 ---- </array> <key>Proportion</key> ! <string>413pt</string> </dict> <dict> *************** *** 890,901 **** <dict> <key>Frame</key> ! <string>{{0, 352}, {1175, 431}}</string> <key>RubberWindowFrame</key> ! <string>265 50 1175 824 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXProjectFindModule</string> <key>Proportion</key> ! <string>431pt</string> </dict> </array> --- 1017,1028 ---- <dict> <key>Frame</key> ! <string>{{0, 418}, {1175, 365}}</string> <key>RubberWindowFrame</key> ! <string>106 7 1175 824 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXProjectFindModule</string> <key>Proportion</key> ! <string>365pt</string> </dict> </array> *************** *** 915,925 **** <array> <string>1C530D57069F1CE1000CFCEE</string> ! <string>CE4FEB760ABD71D2005E5FF8</string> ! <string>CE4FEB770ABD71D2005E5FF8</string> <string>1CDD528C0622207200134675</string> <string>1CD0528E0623707200166675</string> </array> <key>WindowString</key> ! <string>265 50 1175 824 0 0 1440 878 </string> <key>WindowToolGUID</key> <string>1C530D57069F1CE1000CFCEE</string> --- 1042,1052 ---- <array> <string>1C530D57069F1CE1000CFCEE</string> ! <string>CE5268B80B20953C001224BF</string> ! <string>CE5268B90B20953C001224BF</string> <string>1CDD528C0622207200134675</string> <string>1CD0528E0623707200166675</string> </array> <key>WindowString</key> ! <string>106 7 1175 824 0 0 1440 878 </string> <key>WindowToolGUID</key> <string>1C530D57069F1CE1000CFCEE</string> *************** *** 956,971 **** <dict> <key>Frame</key> ! <string>{{0, 0}, {984, 503}}</string> <key>RubberWindowFrame</key> ! <string>11 118 984 544 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXDebugCLIModule</string> <key>Proportion</key> ! <string>503pt</string> </dict> </array> <key>Proportion</key> ! <string>503pt</string> </dict> </array> --- 1083,1098 ---- <dict> <key>Frame</key> ! <string>{{0, 0}, {1110, 437}}</string> <key>RubberWindowFrame</key> ! <string>330 203 1110 478 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXDebugCLIModule</string> <key>Proportion</key> ! <string>437pt</string> </dict> </array> <key>Proportion</key> ! <string>437pt</string> </dict> </array> *************** *** 981,993 **** <array> <string>CE428AE70A0E2556004B4161</string> ! <string>CE4FEC320ABD9CDA005E5FF8</string> <string>1C78EAAC065D492600B07095</string> </array> <key>WindowString</key> ! <string>11 118 984 544 0 0 1440 878 </string> <key>WindowToolGUID</key> <string>CE428AE70A0E2556004B4161</string> <key>WindowToolIsVisible</key> ! <false/> </dict> <dict> --- 1108,1120 ---- <array> <string>CE428AE70A0E2556004B4161</string> ! <string>CEDF0AEF0B21B993001BB03D</string> <string>1C78EAAC065D492600B07095</string> </array> <key>WindowString</key> ! <string>330 203 1110 478 0 0 1440 878 </string> <key>WindowToolGUID</key> <string>CE428AE70A0E2556004B4161</string> <key>WindowToolIsVisible</key> ! <true/> </dict> <dict> *************** *** 1076,1082 **** <array> <string>1C0AD2B3069F1EA900FABCE6</string> ! <string>CE3091700AB8CCDC0012805D</string> <string>1CD0528B0623707200166675</string> ! <string>CE3091710AB8CCDC0012805D</string> </array> <key>ToolbarConfiguration</key> --- 1203,1209 ---- <array> <string>1C0AD2B3069F1EA900FABCE6</string> ! <string>CEF01A320AF6720D00BCE7B3</string> <string>1CD0528B0623707200166675</string> ! <string>CEF01A330AF6720D00BCE7B3</string> </array> <key>ToolbarConfiguration</key> *************** *** 1255,1259 **** </array> <key>RubberWindowFrame</key> ! <string>508 429 744 409 0 0 1440 878 </string> </dict> <key>Module</key> --- 1382,1386 ---- </array> <key>RubberWindowFrame</key> ! <string>378 469 744 409 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 1277,1281 **** <string>{{190, 0}, {554, 368}}</string> <key>RubberWindowFrame</key> ! <string>508 429 744 409 0 0 1440 878 </string> </dict> <key>Module</key> --- 1404,1408 ---- <string>{{190, 0}, {554, 368}}</string> <key>RubberWindowFrame</key> ! <string>378 469 744 409 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 1304,1309 **** <key>TableOfContents</key> <array> ! <string>CE3091450AB8C95F0012805D</string> ! <string>CE3091460AB8C95F0012805D</string> <string>1CE0B1FE06471DED0097A5F4</string> <string>1CA1AED706398EBD00589147</string> --- 1431,1436 ---- <key>TableOfContents</key> <array> ! <string>CEDF0B010B21BACF001BB03D</string> ! <string>CEDF0B020B21BACF001BB03D</string> <string>1CE0B1FE06471DED0097A5F4</string> <string>1CA1AED706398EBD00589147</string> *************** *** 1312,1320 **** <string>xcode.toolbar.config.breakpoints</string> <key>WindowString</key> ! <string>508 429 744 409 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE3091450AB8C95F0012805D</string> <key>WindowToolIsVisible</key> ! <false/> </dict> <dict> --- 1439,1447 ---- <string>xcode.toolbar.config.breakpoints</string> <key>WindowString</key> ! <string>378 469 744 409 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CEDF0B010B21BACF001BB03D</string> <key>WindowToolIsVisible</key> ! <true/> </dict> <dict> *************** *** 1336,1340 **** <string>CEE985B30A0F8AC1006A9A83</string> <key>PBXProjectModuleLabel</key> ! <string>Schema.m_5.xcclassmodel</string> <key>StatusBarVisibility</key> <true/> --- 1463,1467 ---- <string>CEE985B30A0F8AC1006A9A83</string> <key>PBXProjectModuleLabel</key> ! <string>SqlDocument.m_1.xcclassmodel</string> <key>StatusBarVisibility</key> <true/> *************** *** 1367,1372 **** <key>TableOfContents</key> <array> ! <string>CE0EBCC40A4D8FBE00003FF7</string> ! <string>CE0EBCC50A4D8FBE00003FF7</string> <string>CEE985B30A0F8AC1006A9A83</string> </array> --- 1494,1499 ---- <key>TableOfContents</key> <array> ! <string>CE52691F0B20AC68001224BF</string> ! <string>CE5269200B20AC68001224BF</string> <string>CEE985B30A0F8AC1006A9A83</string> </array> *************** *** 1376,1382 **** <string>14 80 700 500 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE0EBCC40A4D8FBE00003FF7</string> <key>WindowToolIsVisible</key> ! <true/> </dict> <dict> --- 1503,1509 ---- <string>14 80 700 500 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE52691F0B20AC68001224BF</string> <key>WindowToolIsVisible</key> ! <false/> </dict> <dict> Index: ntiffin.pbxuser =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/QueryToolForPostgresN.xcodeproj/ntiffin.pbxuser,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ntiffin.pbxuser 17 Sep 2006 15:41:48 -0000 1.2 --- ntiffin.pbxuser 2 Dec 2006 14:51:44 -0000 1.3 *************** *** 10,22 **** breakpoints = ( CEE985C50A0F93CC006A9A83 /* -[SQLDocument onSelectCreateTableMenuItem:] */, ! CEE985970A0F81DF006A9A83 /* SqlDocument.m:585 */, ! CEE985DA0A0F94A3006A9A83 /* SqlDocument.m:587 */, CEFCE83A0A228526008F2667 /* help */, CE5711A40A28C65B001DD7C1 /* -[NSException raise] */, ! CE4488DB0A2B163C0052EBDB /* SqlDocument.m:973 */, ! CE0ABD830A30A5760031E54B /* SqlDocument.m:693 */, ! CEE985AD0A0F8708006A9A83 /* MyOutlineView.m:30 */, ! CEEAE4D60A1663B300A7F6F8 /* SqlDocument.m:334 */, [...1648 lines suppressed...] + vrLen = 2389; + vrLoc = 7060; + }; CEFCE83A0A228526008F2667 /* help */ = { isa = PBXSymbolicBreakpoint; *************** *** 1128,1133 **** hitCount = 1; location = ""; ! modificationTime = 180199795.338346; ! state = 1; symbolName = help; }; --- 1831,1836 ---- hitCount = 1; location = ""; ! modificationTime = 186760033.301973; ! state = 2; symbolName = help; }; |
From: Neil T. <nt...@us...> - 2006-12-02 14:51:46
|
Update of /cvsroot/pgsqlformac/QueryTool/English.lproj/Preferences.nib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7303/English.lproj/Preferences.nib Modified Files: classes.nib info.nib keyedobjects.nib Log Message: Add remember multiple connections. Index: info.nib =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/English.lproj/Preferences.nib/info.nib,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** info.nib 30 Aug 2006 01:06:53 -0000 1.1 --- info.nib 2 Dec 2006 14:51:43 -0000 1.2 *************** *** 4,8 **** <dict> <key>IBDocumentLocation</key> ! <string>47 245 356 240 0 0 1440 878 </string> <key>IBFramework Version</key> <string>446.1</string> --- 4,8 ---- <dict> <key>IBDocumentLocation</key> ! <string>31 256 461 307 0 0 1440 878 </string> <key>IBFramework Version</key> <string>446.1</string> *************** *** 12,16 **** </array> <key>IBSystem Version</key> ! <string>8J135</string> </dict> </plist> --- 12,16 ---- </array> <key>IBSystem Version</key> ! <string>8L127</string> </dict> </plist> Index: classes.nib =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/English.lproj/Preferences.nib/classes.nib,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** classes.nib 30 Aug 2006 21:25:49 -0000 1.2 --- classes.nib 2 Dec 2006 14:51:43 -0000 1.3 *************** *** 8,15 **** }, { ! ACTIONS = {cancelPreferences = id; defaultPreferences = id; savePreferences = id; }; CLASS = PreferenceController; LANGUAGE = ObjC; OUTLETS = { prefLogAllSQL = NSButton; prefLogInfoMessages = NSButton; --- 8,27 ---- }, { ! ACTIONS = { ! cancelPreferences = id; ! defaultPreferences = id; ! deleteConnection = id; ! newConnection = id; ! savePreferences = id; ! selectConnection = id; ! }; CLASS = PreferenceController; LANGUAGE = ObjC; OUTLETS = { + prefConnDBName = NSTextField; + prefConnPassword = NSTextField; + prefConnPort = NSTextField; + prefConnServer = NSTextField; + prefConnUserName = NSTextField; prefLogAllSQL = NSButton; prefLogInfoMessages = NSButton; Index: keyedobjects.nib =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/English.lproj/Preferences.nib/keyedobjects.nib,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsQOAujR and /tmp/cvslaExfb differ |
From: Neil T. <nt...@us...> - 2006-12-02 14:51:46
|
Update of /cvsroot/pgsqlformac/QueryTool/English.lproj/SqlDocument.nib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7303/English.lproj/SqlDocument.nib Modified Files: classes.nib info.nib keyedobjects.nib Log Message: Add remember multiple connections. Index: info.nib =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/English.lproj/SqlDocument.nib/info.nib,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** info.nib 4 Sep 2006 14:22:07 -0000 1.10 --- info.nib 2 Dec 2006 14:51:44 -0000 1.11 *************** *** 4,8 **** <dict> <key>IBDocumentLocation</key> ! <string>11 79 873 292 0 0 1440 878 </string> <key>IBEditorPositions</key> <dict> --- 4,8 ---- <dict> <key>IBDocumentLocation</key> ! <string>11 204 873 292 0 0 1440 878 </string> <key>IBEditorPositions</key> <dict> *************** *** 17,23 **** <array> <integer>5</integer> </array> <key>IBSystem Version</key> ! <string>8J135</string> </dict> </plist> --- 17,24 ---- <array> <integer>5</integer> + <integer>43</integer> </array> <key>IBSystem Version</key> ! <string>8L127</string> </dict> </plist> Index: classes.nib =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/English.lproj/SqlDocument.nib/classes.nib,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** classes.nib 16 Jul 2006 23:17:40 -0000 1.7 --- classes.nib 2 Dec 2006 14:51:44 -0000 1.8 *************** *** 14,17 **** --- 14,18 ---- onConnect = id; onConnectCancel = id; + onConnectDelete = id; onConnectOK = id; onDisconnect = id; *************** *** 19,22 **** --- 20,24 ---- onSelectAlterAddColMenuItem = id; onSelectAlterRenameColMenuItem = id; + onSelectAlterTabAlterColMenuItem = id; onSelectAlterTableRenameMenuItem = id; onSelectColSelectMenuItem = id; *************** *** 35,55 **** onSelectDropTableMenuItem = id; onSelectDropViewMenuItem = id; onSelectSelectTableMenuItem = id; onSelectTruncateTableMenuItem = id; onSelectVacuumTableMenuItem = id; onSetDatabase = id; }; CLASS = SqlDocument; LANGUAGE = ObjC; OUTLETS = { ! dataOutput = NSTableView; databaseName = NSTextField; dbList = NSPopUpButton; dbListView = NSView; dbName = NSPopUpButton; ! host = NSComboBox; panelConnect = NSPanel; password = NSTextField; ! port = NSComboBox; query = NSTextView; rawOutput = NSTextView; --- 37,66 ---- onSelectDropTableMenuItem = id; onSelectDropViewMenuItem = id; + onSelectExecuteFunctionMenuItem = id; onSelectSelectTableMenuItem = id; onSelectTruncateTableMenuItem = id; onSelectVacuumTableMenuItem = id; onSetDatabase = id; + onShowPostgreSQLHTML = id; + onShowSQLHTML = id; + onShowSQLLog = id; + setDataOutputViewFont = id; + setSQLLogViewFont = id; + setSchemaViewFont = id; }; CLASS = SqlDocument; LANGUAGE = ObjC; OUTLETS = { ! connectionName = NSComboBox; ! connectionRemember = NSButton; ! dataOutput = MyResultsView; databaseName = NSTextField; dbList = NSPopUpButton; dbListView = NSView; dbName = NSPopUpButton; ! host = NSTextField; panelConnect = NSPanel; password = NSTextField; ! port = NSTextField; query = NSTextView; rawOutput = NSTextView; Index: keyedobjects.nib =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/English.lproj/SqlDocument.nib/keyedobjects.nib,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 Binary files /tmp/cvsHIl1T3 and /tmp/cvsPNXJeo differ |
From: Neil T. <nt...@us...> - 2006-10-30 19:31:18
|
Update of /cvsroot/pgsqlformac/pgCocoaDB/UnitTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19764/UnitTest Modified Files: pgCocoaDBSchemaTest.m Log Message: Fix round trip function SQL. Index: pgCocoaDBSchemaTest.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/UnitTest/pgCocoaDBSchemaTest.m,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** pgCocoaDBSchemaTest.m 14 Sep 2006 12:26:46 -0000 1.19 --- pgCocoaDBSchemaTest.m 30 Oct 2006 19:30:32 -0000 1.20 *************** *** 21,25 **** NSString* const PGCocoaTestPassword = @""; NSString* const PGCocoaTestHost = @"localhost"; ! NSString* const PGCocoaTestPort = @"5433"; // Uncomment the following line to automatically drop and recreate the test database. --- 21,25 ---- NSString* const PGCocoaTestPassword = @""; NSString* const PGCocoaTestHost = @"localhost"; ! NSString* const PGCocoaTestPort = @"5432"; // Uncomment the following line to automatically drop and recreate the test database. *************** *** 163,167 **** [conn execQuery:sql]; STAssertTrue([conn errorDescription] == nil, @"Error executing SQL: %@. %@", sql, [conn errorDescription]); ! sql = [NSString stringWithFormat:@"%s%@.%@.%s%@.%@.%s", "CREATE TRIGGER create_timestamp BEFORE INSERT ON ", --- 163,176 ---- [conn execQuery:sql]; STAssertTrue([conn errorDescription] == nil, @"Error executing SQL: %@. %@", sql, [conn errorDescription]); ! ! sql = [NSString stringWithFormat:@"%s%@.%@.%s", "CREATE or REPLACE FUNCTION ", PGCocoaTestDatabase, PGCocoaTestSchema, ! "a_sum(x int, y int) RETURNS int AS $$\nDECLARE\n result int; \nBEGIN\n result := x + y;\n RETURN result;\nEND;\n$$ LANGUAGE plpgsql;\n"]; ! [conn execQuery:sql]; ! STAssertTrue([conn errorDescription] == nil, @"Error executing SQL: %@. %@", sql, [conn errorDescription]); ! ! sql = [NSString stringWithFormat:@"%s%@.%@.%s", "CREATE or REPLACE FUNCTION ", PGCocoaTestDatabase, PGCocoaTestSchema, ! "do_nothing(x int, y int) RETURNS void AS $$\nDECLARE\n result int; \nBEGIN\n result := x + y;\nEND;\n$$ LANGUAGE plpgsql;\n"]; ! [conn execQuery:sql]; ! STAssertTrue([conn errorDescription] == nil, @"Error executing SQL: %@. %@", sql, [conn errorDescription]); sql = [NSString stringWithFormat:@"%s%@.%@.%s%@.%@.%s", "CREATE TRIGGER create_timestamp BEFORE INSERT ON ", |
From: Neil T. <nt...@us...> - 2006-10-30 19:31:13
|
Update of /cvsroot/pgsqlformac/pgCocoaDB In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19764 Modified Files: Schema.m Log Message: Fix round trip function SQL. Index: Schema.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Schema.m,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** Schema.m 14 Sep 2006 12:26:46 -0000 1.23 --- Schema.m 30 Oct 2006 19:30:32 -0000 1.24 *************** *** 420,424 **** char **argmodes = NULL; char **argnames = NULL; ! int argtypes_nitems = 0; int argmodes_nitems = 0; int argnames_nitems = 0; --- 420,424 ---- char **argmodes = NULL; char **argnames = NULL; ! int allargtypes_nitems = 0; int argmodes_nitems = 0; int argnames_nitems = 0; *************** *** 437,441 **** */ ! sql = [NSString stringWithFormat:@"SELECT p.proname, p.proretset, p.prosrc, p.probin, p.pronargs, p.proallargtypes, p.proargmodes, p.proargnames, \ p.provolatile, p.proisstrict, p.prosecdef, (SELECT lanname FROM pg_catalog.pg_language l WHERE l.oid = p.prolang) as lanname, \ (SELECT typname from pg_catalog.pg_type WHERE oid = p.prorettype) as rettype \ --- 437,443 ---- */ ! sql = [NSString stringWithFormat:@"SELECT p.proname, \ ! CASE WHEN p.proretset THEN 'setof ' ELSE '' END || pg_catalog.format_type(p.prorettype, NULL) as \"resulttype\", \ ! p.prosrc, p.probin, p.pronargs, p.proallargtypes, p.proargtypes, p.proargmodes, p.proargnames, \ p.provolatile, p.proisstrict, p.prosecdef, (SELECT lanname FROM pg_catalog.pg_language l WHERE l.oid = p.prolang) as lanname, \ (SELECT typname from pg_catalog.pg_type WHERE oid = p.prorettype) as rettype \ *************** *** 470,476 **** [sqlOutput appendFormat:@"CREATE or REPLACE FUNCTION %@.%@ ", schemaName, functionName]; //TODO get return values and parameters ! NSLog(@"args: %@", [[[results itemAtIndex: 0] fields] getValueFromName: @"proallargtypes"]); ! NSLog(@"args: %@", [[[results itemAtIndex: 0] fields] getValueFromName: @"proargmodes"]); ! NSLog(@"args: %@", [[[results itemAtIndex: 0] fields] getValueFromName: @"proargnames"]); /* 2006-06-17 16:41:42.405 Query Tool for Postgres[28356] args: {23,23,23,23} --- 472,480 ---- [sqlOutput appendFormat:@"CREATE or REPLACE FUNCTION %@.%@ ", schemaName, functionName]; //TODO get return values and parameters ! NSLog(@"proallargtypes: %@", [[[results itemAtIndex: 0] fields] getValueFromName: @"proallargtypes"]); ! NSLog(@" proargmodes: %@", [[[results itemAtIndex: 0] fields] getValueFromName: @"proargmodes"]); ! NSLog(@" proargnames: %@", [[[results itemAtIndex: 0] fields] getValueFromName: @"proargnames"]); ! NSLog(@" proargtypes: %@", [[[results itemAtIndex: 0] fields] getValueFromName: @"proargtypes"]); ! NSLog(@" pronargs: %@", [[[results itemAtIndex: 0] fields] getValueFromName: @"pronargs"]); /* 2006-06-17 16:41:42.405 Query Tool for Postgres[28356] args: {23,23,23,23} *************** *** 479,497 **** 2006-06-17 16:41:42.406 Query Tool for Postgres[28356] args: 2 */ - numberOfArgs = [[[[results itemAtIndex: 0] fields] getValueFromName: @"pronargs"] intValue]; [[[[results itemAtIndex: 0] fields] getValueFromName: @"proallargtypes"] getCString:buffer maxLength:1024 encoding:NSASCIIStringEncoding]; ! if (!parsePGArray( buffer, &allargtypes, &argtypes_nitems)) { if (allargtypes) free(allargtypes); allargtypes = NULL; } [[[[results itemAtIndex: 0] fields] getValueFromName: @"proargmodes"] getCString:buffer maxLength:1024 encoding:NSASCIIStringEncoding]; if (!parsePGArray( buffer, &argmodes, &argmodes_nitems)) { ! if (argmodes) ! free(argmodes); argmodes = NULL; } --- 483,512 ---- 2006-06-17 16:41:42.406 Query Tool for Postgres[28356] args: 2 */ [[[[results itemAtIndex: 0] fields] getValueFromName: @"proallargtypes"] getCString:buffer maxLength:1024 encoding:NSASCIIStringEncoding]; ! if (!parsePGArray( buffer, &allargtypes, &allargtypes_nitems)) { if (allargtypes) + { free(allargtypes); + } allargtypes = NULL; } + + NSScanner *theScanner = [NSScanner scannerWithString: [[[results itemAtIndex: 0] fields] getValueFromName: @"proargtypes"]]; + NSMutableArray * argTypeArray = [NSMutableArray arrayWithCapacity:10]; + int anInt; + while ([theScanner scanInt: &anInt]) + { + [argTypeArray addObject:[NSNumber numberWithInt:anInt]]; + } [[[[results itemAtIndex: 0] fields] getValueFromName: @"proargmodes"] getCString:buffer maxLength:1024 encoding:NSASCIIStringEncoding]; if (!parsePGArray( buffer, &argmodes, &argmodes_nitems)) { ! if (argmodes) ! { ! free(argmodes); ! } argmodes = NULL; } *************** *** 501,515 **** { if (argnames) ! free(argnames); argnames = NULL; } ! if (argnames_nitems != 0) { int i; - [sqlOutput appendString:@"("]; for (i = 0; i< argnames_nitems; i++) { ! char * argmode; if (argmodes) { --- 516,537 ---- { if (argnames) ! { ! free(argnames); ! } argnames = NULL; } ! // determine if args are in proargtypes or proallargtypes ! numberOfArgs = [[[[results itemAtIndex: 0] fields] getValueFromName: @"pronargs"] intValue]; ! if (allargtypes_nitems > numberOfArgs) ! { ! numberOfArgs = allargtypes_nitems; ! } ! [sqlOutput appendString:@"("]; if (argnames_nitems != 0) { int i; for (i = 0; i< argnames_nitems; i++) { ! char * argmode = ""; if (argmodes) { *************** *** 517,521 **** { case 'i': ! argmode = "IN"; break; case 'o': --- 539,543 ---- { case 'i': ! argmode = "IN "; break; case 'o': *************** *** 527,542 **** default: NSLog(@"WARNING: bogus value in proargmodes array"); - argmode = ""; break; } } ! else ! argmode = ""; ! ! if (i != 0) ! { ! [sqlOutput appendString:@", "]; ! } ! sql = [NSString stringWithFormat:@"SELECT pg_catalog.format_type('%s'::pg_catalog.oid, NULL)", allargtypes[i]]; results1 = [connection execQueryNoLog:sql]; if ([results1 count] != 1) --- 549,559 ---- default: NSLog(@"WARNING: bogus value in proargmodes array"); break; } } ! [sqlOutput appendString: (i==0) ? @"" : @", "]; ! // FIXME allargtypes can be NULL, then this faults, need to understand the conditions that lead to this? ! sql = [NSString stringWithFormat:@"SELECT pg_catalog.format_type('%s'::pg_catalog.oid, NULL)", ! allargtypes ? allargtypes[i] : [[[argTypeArray objectAtIndex:i] stringValue] cStringUsingEncoding:NSASCIIStringEncoding] ]; results1 = [connection execQueryNoLog:sql]; if ([results1 count] != 1) *************** *** 547,552 **** [sqlOutput appendFormat:@"%s %s %@", argmode, argnames[i], [[[[results1 itemAtIndex: 0] fields] itemAtIndex:0] value]]; } - [sqlOutput appendString:@") "]; } [sqlOutput appendString:@" AS $$\n"]; [sqlOutput appendString:[[[results itemAtIndex: 0] fields] getValueFromName:@"prosrc"]]; --- 564,570 ---- [sqlOutput appendFormat:@"%s %s %@", argmode, argnames[i], [[[[results1 itemAtIndex: 0] fields] itemAtIndex:0] value]]; } } + [sqlOutput appendString:@") "]; + [sqlOutput appendFormat:@"RETURNS %@", [[[results itemAtIndex: 0] fields] getValueFromName: @"resulttype"]]; [sqlOutput appendString:@" AS $$\n"]; [sqlOutput appendString:[[[results itemAtIndex: 0] fields] getValueFromName:@"prosrc"]]; *************** *** 620,631 **** if (i != 0) { ! if (pretty) ! { ! [sqlOutput appendString:@",\n"]; ! } ! else ! { ! [sqlOutput appendString:@", "]; ! } } if (pretty) --- 638,642 ---- if (i != 0) { ! [sqlOutput appendString: (pretty) ? @",\n" : @", "]; } if (pretty) *************** *** 652,665 **** [sqlOutput appendFormat:@" %@", [[[results itemAtIndex: i] fields] getValueFromName:@"notnull"]]; } - - } - if (pretty) - { - [sqlOutput appendString:@"\n);"]; - } - else - { - [sqlOutput appendString:@" );"]; } return sqlOutput; } --- 663,668 ---- [sqlOutput appendFormat:@" %@", [[[results itemAtIndex: i] fields] getValueFromName:@"notnull"]]; } } + [sqlOutput appendString: (pretty) ? @"\n);" : @" );"]; return sqlOutput; } *************** *** 1008,1012 **** * We expect input in the form of "{item,item,item}" where any item is * either raw data, or surrounded by double quotes (in which case embedded ! * characters including backslashes and quotes are backslashed). * * We build the result as an array of pointers followed by the actual --- 1011,1015 ---- * We expect input in the form of "{item,item,item}" where any item is * either raw data, or surrounded by double quotes (in which case embedded ! * characters including backslashes and quotes are backslashed). * * We build the result as an array of pointers followed by the actual |
From: Neil T. <nt...@us...> - 2006-09-18 17:55:05
|
Update of /cvsroot/pgsqlformac/pgCocoaDB/pgCocoaDBn.xcodeproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6615/pgCocoaDBn.xcodeproj Modified Files: ntiffin.mode1 ntiffin.pbxuser Log Message: Fix bug in explorer not creating sql. Index: ntiffin.mode1 =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/pgCocoaDBn.xcodeproj/ntiffin.mode1,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ntiffin.mode1 14 Sep 2006 12:26:46 -0000 1.2 --- ntiffin.mode1 18 Sep 2006 17:54:56 -0000 1.3 *************** *** 210,214 **** <dict> <key>PBXProjectModuleGUID</key> ! <string>CE4918160AB9815400B03B4A</string> <key>PBXProjectModuleLabel</key> <string>ExplorerModel.m</string> --- 210,214 ---- <dict> <key>PBXProjectModuleGUID</key> ! <string>CED970B80ABEF8110072C3CC</string> <key>PBXProjectModuleLabel</key> <string>ExplorerModel.m</string> *************** *** 218,222 **** <dict> <key>PBXProjectModuleGUID</key> ! <string>CE4918170AB9815400B03B4A</string> <key>PBXProjectModuleLabel</key> <string>ExplorerModel.m</string> --- 218,222 ---- <dict> <key>PBXProjectModuleGUID</key> ! <string>CED970B90ABEF8110072C3CC</string> <key>PBXProjectModuleLabel</key> <string>ExplorerModel.m</string> *************** *** 224,231 **** <integer>0</integer> <key>bookmark</key> ! <string>CE4918180AB9815400B03B4A</string> <key>history</key> <array> ! <string>CE4917DB0AB97FBD00B03B4A</string> </array> </dict> --- 224,231 ---- <integer>0</integer> <key>bookmark</key> ! <string>CE0B9E2F0ABEF85F00AD89B4</string> <key>history</key> <array> ! <string>CE0B9E280ABEF84800AD89B4</string> </array> </dict> *************** *** 246,249 **** --- 246,289 ---- </dict> </dict> + <dict> + <key>Content</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>CED970BB0ABEF8110072C3CC</string> + <key>PBXProjectModuleLabel</key> + <string>ExplorerModel.h</string> + <key>PBXSplitModuleInNavigatorKey</key> + <dict> + <key>Split0</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>CED970BC0ABEF8110072C3CC</string> + <key>PBXProjectModuleLabel</key> + <string>ExplorerModel.h</string> + <key>_historyCapacity</key> + <integer>0</integer> + <key>bookmark</key> + <string>CE0B9E310ABEF85F00AD89B4</string> + <key>history</key> + <array> + <string>CE0B9E300ABEF85F00AD89B4</string> + </array> + </dict> + <key>SplitCount</key> + <string>1</string> + </dict> + <key>StatusBarVisibility</key> + <true/> + </dict> + <key>Geometry</key> + <dict> + <key>Frame</key> + <string>{{0, 20}, {674, 716}}</string> + <key>PBXModuleWindowStatusBarHidden2</key> + <false/> + <key>RubberWindowFrame</key> + <string>22 12 674 757 0 0 1440 878 </string> + </dict> + </dict> </array> <key>PerspectiveWidths</key> *************** *** 329,333 **** <array> <array> ! <integer>30</integer> <integer>5</integer> <integer>0</integer> --- 369,373 ---- <array> <array> ! <integer>9</integer> <integer>5</integer> <integer>0</integer> *************** *** 435,441 **** <key>TableOfContents</key> <array> ! <string>CE4918140AB9815400B03B4A</string> <string>1CE0B1FE06471DED0097A5F4</string> ! <string>CE4918150AB9815400B03B4A</string> <string>1CE0B20306471E060097A5F4</string> <string>1CE0B20506471E060097A5F4</string> --- 475,481 ---- <key>TableOfContents</key> <array> ! <string>CE0B9E2D0ABEF85F00AD89B4</string> <string>1CE0B1FE06471DED0097A5F4</string> ! <string>CE0B9E2E0ABEF85F00AD89B4</string> <string>1CE0B20306471E060097A5F4</string> <string>1CE0B20506471E060097A5F4</string> *************** *** 556,560 **** <true/> <key>TimeStamp</key> ! <real>179929428.51703799</real> <key>ToolbarDisplayMode</key> <integer>1</integer> --- 596,600 ---- <true/> <key>TimeStamp</key> ! <real>180287583.40070099</real> <key>ToolbarDisplayMode</key> <integer>1</integer> *************** *** 571,576 **** <key>WindowOrderList</key> <array> ! <string>CE4918120AB9814F00B03B4A</string> ! <string>CE4918160AB9815400B03B4A</string> <string>/Maui-Dev/PostgreSQL_Tools_cvs/pgCocoaDB/pgCocoaDBn.xcodeproj</string> </array> --- 611,617 ---- <key>WindowOrderList</key> <array> ! <string>CED970BB0ABEF8110072C3CC</string> ! <string>CED970B80ABEF8110072C3CC</string> ! <string>CE0B9E320ABEF85F00AD89B4</string> <string>/Maui-Dev/PostgreSQL_Tools_cvs/pgCocoaDB/pgCocoaDBn.xcodeproj</string> </array> *************** *** 606,610 **** <string>{{0, 0}, {1178, 119}}</string> <key>RubberWindowFrame</key> ! <string>23 153 1178 697 0 0 1440 878 </string> </dict> <key>Module</key> --- 647,651 ---- <string>{{0, 0}, {1178, 119}}</string> <key>RubberWindowFrame</key> ! <string>203 86 1178 697 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 619,623 **** <dict> <key>PBXBuildLogShowsTranscriptDefaultKey</key> ! <string>{{0, 250}, {1178, 282}}</string> <key>PBXProjectModuleGUID</key> <string>XCMainBuildResultsModuleGUID</string> --- 660,664 ---- <dict> <key>PBXBuildLogShowsTranscriptDefaultKey</key> ! <string>{{0, 122}, {1178, 410}}</string> <key>PBXProjectModuleGUID</key> <string>XCMainBuildResultsModuleGUID</string> *************** *** 634,638 **** <string>{{0, 124}, {1178, 532}}</string> <key>RubberWindowFrame</key> ! <string>23 153 1178 697 0 0 1440 878 </string> </dict> <key>Module</key> --- 675,679 ---- <string>{{0, 124}, {1178, 532}}</string> <key>RubberWindowFrame</key> ! <string>203 86 1178 697 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 656,661 **** <key>TableOfContents</key> <array> ! <string>CE4918120AB9814F00B03B4A</string> ! <string>CE4918130AB9814F00B03B4A</string> <string>1CD0528F0623707200166675</string> <string>XCMainBuildResultsModuleGUID</string> --- 697,702 ---- <key>TableOfContents</key> <array> ! <string>CE0B9E320ABEF85F00AD89B4</string> ! <string>CE0B9E330ABEF85F00AD89B4</string> <string>1CD0528F0623707200166675</string> <string>XCMainBuildResultsModuleGUID</string> *************** *** 664,672 **** <string>xcode.toolbar.config.build</string> <key>WindowString</key> ! <string>23 153 1178 697 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE4918120AB9814F00B03B4A</string> <key>WindowToolIsVisible</key> ! <false/> </dict> <dict> --- 705,713 ---- <string>xcode.toolbar.config.build</string> <key>WindowString</key> ! <string>203 86 1178 697 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE0B9E320ABEF85F00AD89B4</string> <key>WindowToolIsVisible</key> ! <true/> </dict> <dict> Index: ntiffin.pbxuser =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/pgCocoaDBn.xcodeproj/ntiffin.pbxuser,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ntiffin.pbxuser 14 Sep 2006 12:26:46 -0000 1.2 --- ntiffin.pbxuser 18 Sep 2006 17:54:56 -0000 1.3 *************** *** 3,7 **** 0867D690FE84028FC02AAC07 /* Project object */ = { activeBuildConfigurationName = Development; ! activeTarget = CE9B2B9309B9ECB100877A0E /* UnitTest */; addToTargets = ( 8DC2EF4F0486A6940098B216 /* pgCocoaDB */, --- 3,7 ---- 0867D690FE84028FC02AAC07 /* Project object */ = { activeBuildConfigurationName = Development; ! activeTarget = 8DC2EF4F0486A6940098B216 /* pgCocoaDB */; addToTargets = ( 8DC2EF4F0486A6940098B216 /* pgCocoaDB */, *************** *** 127,136 **** ); }; ! PBXPerProjectTemplateStateSaveDate = 179928865; ! PBXWorkspaceStateSaveDate = 179928865; }; perUserProjectItems = { ! CE4917DB0AB97FBD00B03B4A /* PBXBookmark */ = CE4917DB0AB97FBD00B03B4A /* PBXBookmark */; ! CE4918180AB9815400B03B4A /* PBXTextBookmark */ = CE4918180AB9815400B03B4A /* PBXTextBookmark */; }; sourceControlManager = CED43E1C09B0992E0096CAC2 /* Source Control */; --- 127,138 ---- ); }; ! PBXPerProjectTemplateStateSaveDate = 180287523; ! PBXWorkspaceStateSaveDate = 180287523; }; perUserProjectItems = { ! CE0B9E280ABEF84800AD89B4 /* PBXTextBookmark */ = CE0B9E280ABEF84800AD89B4 /* PBXTextBookmark */; ! CE0B9E2F0ABEF85F00AD89B4 /* PBXTextBookmark */ = CE0B9E2F0ABEF85F00AD89B4 /* PBXTextBookmark */; ! CE0B9E300ABEF85F00AD89B4 /* PBXTextBookmark */ = CE0B9E300ABEF85F00AD89B4 /* PBXTextBookmark */; ! CE0B9E310ABEF85F00AD89B4 /* PBXTextBookmark */ = CE0B9E310ABEF85F00AD89B4 /* PBXTextBookmark */; }; sourceControlManager = CED43E1C09B0992E0096CAC2 /* Source Control */; *************** *** 141,147 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {617, 1470}}"; ! sepNavSelRange = "{250, 0}"; ! sepNavVisRect = "{{0, 0}, {617, 695}}"; ! sepNavWindowFrame = "{{80, 55}, {662, 768}}"; }; }; --- 143,149 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {617, 1470}}"; ! sepNavSelRange = "{971, 10}"; ! sepNavVisRect = "{{0, 498}, {617, 695}}"; ! sepNavWindowFrame = "{{692, 46}, {662, 768}}"; }; }; *************** *** 149,155 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {944, 9422}}"; ! sepNavSelRange = "{219, 0}"; ! sepNavVisRect = "{{0, 0}, {928, 748}}"; ! sepNavWindowFrame = "{{242, -5}, {973, 821}}"; }; }; --- 151,157 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {944, 9422}}"; ! sepNavSelRange = "{9721, 0}"; ! sepNavVisRect = "{{0, 8484}, {928, 748}}"; ! sepNavWindowFrame = "{{334, 41}, {973, 821}}"; }; }; *************** *** 285,288 **** --- 287,328 ---- activeExec = 0; }; + CE0B9E280ABEF84800AD89B4 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + comments = "error: 'Done' undeclared (first use in this function)"; + fRef = CED62FF809C48EDE00B6B94B /* ExplorerModel.m */; + rLen = 1; + rLoc = 638; + rType = 1; + }; + CE0B9E2F0ABEF85F00AD89B4 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = CED62FF809C48EDE00B6B94B /* ExplorerModel.m */; + name = "ExplorerModel.m: 639"; + rLen = 0; + rLoc = 17020; + rType = 0; + vrLen = 1350; + vrLoc = 15773; + }; + CE0B9E300ABEF85F00AD89B4 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = CED62FF709C48EDE00B6B94B /* ExplorerModel.h */; + name = "ExplorerModel.h: setExplorerThreadStatus:"; + rLen = 0; + rLoc = 1287; + rType = 0; + vrLen = 1525; + vrLoc = 234; + }; + CE0B9E310ABEF85F00AD89B4 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = CED62FF709C48EDE00B6B94B /* ExplorerModel.h */; + name = ExplorerDone; + rLen = 12; + rLoc = 336; + rType = 0; + vrLen = 1525; + vrLoc = 234; + }; CE0EBCA90A4D8CE700003FF7 /* ExplorerModel.m:159 */ = { isa = PBXFileBreakpoint; *************** *** 330,347 **** state = 2; }; - CE4917DB0AB97FBD00B03B4A /* PBXBookmark */ = { - isa = PBXBookmark; - fRef = CED62FF809C48EDE00B6B94B /* ExplorerModel.m */; - }; - CE4918180AB9815400B03B4A /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = CED62FF809C48EDE00B6B94B /* ExplorerModel.m */; - name = "ExplorerModel.m: 10"; - rLen = 0; - rLoc = 173; - rType = 0; - vrLen = 1344; - vrLoc = 0; - }; CE69B18D09D6DBB000910AD1 /* ExplorerModel.m:149 */ = { isa = PBXFileBreakpoint; --- 370,373 ---- *************** *** 458,461 **** --- 484,489 ---- isSCMEnabled = 0; scmConfiguration = { + CVSToolPath = /sw/bin/cvs; + CVSUseSSH = YES; }; scmType = ""; *************** *** 468,481 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {728, 854}}"; ! sepNavSelRange = "{276, 0}"; ! sepNavVisRect = "{{0, 0}, {629, 684}}"; ! sepNavWindowFrame = "{{24, 76}, {674, 757}}"; }; }; CED62FF809C48EDE00B6B94B /* ExplorerModel.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1004, 9100}}"; ! sepNavSelRange = "{173, 0}"; ! sepNavVisRect = "{{0, 0}, {853, 731}}"; sepNavWindowFrame = "{{452, 42}, {898, 804}}"; }; --- 496,509 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {728, 854}}"; ! sepNavSelRange = "{336, 12}"; ! sepNavVisRect = "{{0, 156}, {629, 684}}"; ! sepNavWindowFrame = "{{22, 12}, {674, 757}}"; }; }; CED62FF809C48EDE00B6B94B /* ExplorerModel.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1004, 9086}}"; ! sepNavSelRange = "{17020, 0}"; ! sepNavVisRect = "{{0, 8355}, {853, 731}}"; sepNavWindowFrame = "{{452, 42}, {898, 804}}"; }; |
From: Neil T. <nt...@us...> - 2006-09-18 17:55:02
|
Update of /cvsroot/pgsqlformac/pgCocoaDB In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6615 Modified Files: ChangeLog ExplorerModel.h ExplorerModel.m Log Message: Fix bug in explorer not creating sql. Index: ExplorerModel.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ExplorerModel.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ExplorerModel.h 14 Sep 2006 12:26:46 -0000 1.8 --- ExplorerModel.h 18 Sep 2006 17:54:56 -0000 1.9 *************** *** 13,17 **** #import "Schema.h" ! enum ThreadStatus { None, Running, Done, Error }; @interface ExplorerModel : NSObject --- 13,17 ---- #import "Schema.h" ! enum ExplorerThreadStatus { ExplorerNone, ExplorerRunning, ExplorerDone, ExplorerError }; @interface ExplorerModel : NSObject *************** *** 28,32 **** NSLock *explorerThreadStatusLock; ! enum ThreadStatus explorerThreadStatus; } --- 28,32 ---- NSLock *explorerThreadStatusLock; ! enum ExplorerThreadStatus explorerThreadStatus; } *************** *** 41,45 **** - (bool)showPGTemps; - (bool)showPublic; ! - (enum ThreadStatus)explorerThreadStatus; - (void)setShowInformationSchema:(bool)newValue; --- 41,45 ---- - (bool)showPGTemps; - (bool)showPublic; ! - (enum ExplorerThreadStatus)explorerThreadStatus; - (void)setShowInformationSchema:(bool)newValue; *************** *** 48,52 **** - (void)setShowPGTemps:(bool)newValue; - (void)setShowPublic:(bool)newValue; ! - (void)setExplorerThreadStatus:(enum ThreadStatus)newValue; // These methods get called because I am the datasource of the outline view. --- 48,52 ---- - (void)setShowPGTemps:(bool)newValue; - (void)setShowPublic:(bool)newValue; ! - (void)setExplorerThreadStatus:(enum ExplorerThreadStatus)newValue; // These methods get called because I am the datasource of the outline view. Index: ExplorerModel.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ExplorerModel.m,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** ExplorerModel.m 14 Sep 2006 12:26:46 -0000 1.17 --- ExplorerModel.m 18 Sep 2006 17:54:56 -0000 1.18 *************** *** 320,324 **** explorerThreadStatusLock = [[NSLock alloc] init]; ! explorerThreadStatus = None; showInformationSchema = TRUE; --- 320,324 ---- explorerThreadStatusLock = [[NSLock alloc] init]; ! explorerThreadStatus = ExplorerNone; showInformationSchema = TRUE; *************** *** 355,358 **** --- 355,359 ---- ExplorerNode * realRootNode; + [schema release]; schema = [[Schema alloc] initWithConnectionString:connectionString]; *************** *** 360,369 **** { NSLog(@"Schema init returned error."); ! [self setExplorerThreadStatus:Error]; return; } ! [self setExplorerThreadStatus:Running]; // set database level --- 361,370 ---- { NSLog(@"Schema init returned error."); ! [self setExplorerThreadStatus:ExplorerError]; return; } ! [self setExplorerThreadStatus:ExplorerRunning]; // set database level *************** *** 463,470 **** [rootNode autorelease]; rootNode = realRootNode; ! [self setExplorerThreadStatus:Done]; [(NSOutlineView *)anOutlineView reloadData]; - [schema release]; - schema = nil; [pool release]; [self release]; --- 464,469 ---- [rootNode autorelease]; rootNode = realRootNode; ! [self setExplorerThreadStatus:ExplorerDone]; [(NSOutlineView *)anOutlineView reloadData]; [pool release]; [self release]; *************** *** 520,526 **** } ! - (enum ThreadStatus)explorerThreadStatus { ! enum ThreadStatus status; [explorerThreadStatusLock lock]; --- 519,525 ---- } ! - (enum ExplorerThreadStatus)explorerThreadStatus { ! enum ExplorerThreadStatus status; [explorerThreadStatusLock lock]; *************** *** 555,559 **** } ! - (void)setExplorerThreadStatus:(enum ThreadStatus)newValue { [explorerThreadStatusLock lock]; --- 554,558 ---- } ! - (void)setExplorerThreadStatus:(enum ExplorerThreadStatus)newValue { [explorerThreadStatusLock lock]; *************** *** 571,575 **** return [rootNode childAtIndex:i]; } ! if([self explorerThreadStatus] != Done) { return 0; --- 570,574 ---- return [rootNode childAtIndex:i]; } ! if([self explorerThreadStatus] != ExplorerDone) { return 0; *************** *** 584,588 **** // Returns YES if the node has children ! if([self explorerThreadStatus] != Done) { return NO; --- 583,587 ---- // Returns YES if the node has children ! if([self explorerThreadStatus] != ExplorerDone) { return NO; *************** *** 600,604 **** return [rootNode childrenCount]; } ! if([self explorerThreadStatus] != Done) { return 0; --- 599,603 ---- return [rootNode childrenCount]; } ! if([self explorerThreadStatus] != ExplorerDone) { return 0; *************** *** 638,642 **** - (BOOL)printLog { ! if([self explorerThreadStatus] == Done) { [rootNode printLog:0]; --- 637,641 ---- - (BOOL)printLog { ! if([self explorerThreadStatus] == ExplorerDone) { [rootNode printLog:0]; Index: ChangeLog =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ChangeLog,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** ChangeLog 14 Sep 2006 12:26:46 -0000 1.23 --- ChangeLog 18 Sep 2006 17:54:56 -0000 1.24 *************** *** 1,2 **** --- 1,14 ---- + 2006-09-14 07:26 ntiffin + + * ChangeLog, Connection.h, Connection.m, DataSource.h, + DataSource.m, Database.h, Database.m, Databases.h, Databases.m, + ExplorerModel.h, ExplorerModel.m, ExplorerNode.h, ExplorerNode.m, + Field.h, Field.m, Fields.h, Fields.m, PGCocoaDB.h, Record.h, + Record.m, RecordSet.h, RecordSet.m, Schema.h, Schema.m, Table.h, + Table.m, UnitTest/pgCocoaDBSchemaTest.m, + pgCocoaDBn.xcodeproj/ntiffin.mode1, + pgCocoaDBn.xcodeproj/ntiffin.pbxuser: Fix bug explorer not + showing and PGCocoa.h being pulled into query tool. + 2006-09-04 09:34 ntiffin |
From: Neil T. <nt...@us...> - 2006-09-17 15:41:52
|
Update of /cvsroot/pgsqlformac/QueryTool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2726 Modified Files: QueryTool.h SqlDocument.m TODO.txt Log Message: Add automatic result column resizing. Index: SqlDocument.m =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/SqlDocument.m,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** SqlDocument.m 4 Sep 2006 14:22:07 -0000 1.23 --- SqlDocument.m 17 Sep 2006 15:41:48 -0000 1.24 *************** *** 356,360 **** [working startAnimation:sender]; [status setStringValue:@"Executing Query"]; ! NSMutableString *result = [[NSMutableString alloc] init]; --- 356,361 ---- [working startAnimation:sender]; [status setStringValue:@"Executing Query"]; ! [window displayIfNeeded]; // this is needed until we convert to threaded queries ! // to make sure the window is updated before the query starts. NSMutableString *result = [[NSMutableString alloc] init]; *************** *** 381,387 **** //NSArray *arrQuery = [toBeRun componentsSeparatedByString:@";"]; ! int x; //for (x = 0; x < [arrQuery count]; x++) ! for (x = 0; x < 1; x++) { //NSString *sql = [arrQuery objectAtIndex:x]; --- 382,388 ---- //NSArray *arrQuery = [toBeRun componentsSeparatedByString:@";"]; ! int xx; //for (x = 0; x < [arrQuery count]; x++) ! for (xx = 0; xx < 1; xx++) { //NSString *sql = [arrQuery objectAtIndex:x]; *************** *** 419,426 **** --- 420,429 ---- } dataSource = [[DataSource alloc] init]; + NSMutableArray *maxDataInColumn = [NSMutableArray arrayWithCapacity:20]; // Raw View if ([rs count] > 0) { + // for each row in the results for (i = 0; i < [rs count]; i++) { *************** *** 432,435 **** --- 435,439 ---- { NSTableColumn *tc = [[NSTableColumn alloc] init]; + // TODO should we set the font here? [tc setIdentifier:[NSString stringWithFormat:@"%d", x]]; [[tc headerCell] setStringValue:[[[[rs itemAtIndex:i] fields] itemAtIndex:x] name]]; *************** *** 441,450 **** --- 445,472 ---- long x = 0; NSMutableDictionary *dict = [dataSource addItem]; + // for each field for (x = 0; x < [[[rs itemAtIndex:i] fields] count]; x++) { + [dict setValue:[[[[rs itemAtIndex:i] fields] itemAtIndex:x] value] forKey:[NSString stringWithFormat:@"%d", x]]; [result appendFormat:@"%-15s ", [[[[[rs itemAtIndex:i] fields] itemAtIndex:x] value] cString]]; + // find longest string for data in a column + NSString *fieldLongestString = [[[[rs itemAtIndex:i] fields] itemAtIndex:x] value]; + if (i == 0) + { + // first row initialize to first row strings. + [maxDataInColumn addObject:fieldLongestString]; + } + else + { + // this is not exact but close enough for now. + if ([[maxDataInColumn objectAtIndex:x] length] < [fieldLongestString length]) + { + // update max string for this column + [maxDataInColumn replaceObjectAtIndex:x withObject:fieldLongestString]; + } + } } [result appendString:@"\n"]; *************** *** 452,457 **** } [rawOutput setString:result]; ! [dataOutput setDataSource:dataSource]; [dataOutput reloadData]; --- 474,504 ---- } [rawOutput setString:result]; ! ! // automatically set the width of the result columns ! int x; ! NSDictionary *attribDict; ! NSArray *columns = [dataOutput tableColumns]; [dataOutput setDataSource:dataSource]; + + for (x = 0; x < [[[rs itemAtIndex:0] fields] count]; x++) + { + NSTableColumn *aColumn = [columns objectAtIndex:x]; + NSCell *aDataCell = [aColumn dataCell]; + NSCell *aHeaderCell = [aColumn headerCell]; + NSFont *aFont = [aDataCell font]; + attribDict = [NSDictionary dictionaryWithObjectsAndKeys: aFont, NSFontAttributeName, nil]; + NSAttributedString *attribString = [[NSAttributedString alloc] initWithString:[maxDataInColumn objectAtIndex:x] attributes:attribDict]; + NSSize textSize = [attribString size]; + [aColumn setMaxWidth:textSize.width+20.0]; + if (textSize.width/5.0 < [aHeaderCell cellSize].width/2.0) + { + [aColumn setMinWidth:[aHeaderCell cellSize].width/2.0]; + } + else + { + [aColumn setMinWidth:textSize.width/5.0]; + } + [aColumn setWidth:textSize.width+10.0]; + } [dataOutput reloadData]; Index: TODO.txt =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/TODO.txt,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** TODO.txt 4 Sep 2006 14:22:07 -0000 1.9 --- TODO.txt 17 Sep 2006 15:41:48 -0000 1.10 *************** *** 4,10 **** TODO - Features, Functions and Warnings (in rough priority order) ======================================= ! - 2006-08-30 Sequence SQL not complete. ! - 2006-09-01 "Query Completed message in main window should show elapsed time and first 30 characters of query. - 2006-08-30 Constraints not tested in unit test pgCocoaDB. --- 4,12 ---- TODO - Features, Functions and Warnings (in rough priority order) ======================================= ! - 2006-09-17 Error message not reset at the beginning of a query. ! - 2006-09-01 Query Completed message in main window should show elapsed time and first 30 characters of query. ! ! - 2006-08-30 Sequence SQL not complete. - 2006-08-30 Constraints not tested in unit test pgCocoaDB. *************** *** 12,20 **** - 2006-06-16 Use function to attempt to cancel a query in pgCocoaDB. Need to change to async queries. ! - 2006-08-26 Add clear and save log function. - 2006-08-26 Add explain query button. ! - 2006-09-01 Add functinality to edit results. - 2006-09-01 Rule schema not complete. --- 14,22 ---- - 2006-06-16 Use function to attempt to cancel a query in pgCocoaDB. Need to change to async queries. ! - 2006-08-26 Add clear and save log function. Do NOT clear log when changing to a different database. - 2006-08-26 Add explain query button. ! - 2006-09-01 Add functionality to edit results. - 2006-09-01 Rule schema not complete. *************** *** 25,29 **** FIXME (Known Errors) ==================== ! 2006-08-26 Function return parameters not correctly determined, see below: CREATE or REPLACE FUNCTION pgcocoa_test_schema.create_time_stamp AS $$ --- 27,31 ---- FIXME (Known Errors) ==================== ! - 2006-08-26 Function return parameters not correctly determined, see below: CREATE or REPLACE FUNCTION pgcocoa_test_schema.create_time_stamp AS $$ *************** *** 36,40 **** - 2006-09-01 "Save As" always saves the query window, should save the log window if the log window is front most. ! 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] -[NSBigMutableString characterAtIndex:] called with out-of-bounds index. For apps linked on Tiger this will raise an exception. For earlier apps it will produce this one-time warning and continue with existing behavior (which is undefined). 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] Exception raised during posting of notification. Ignored. exception: *** -[NSBigMutableString characterAtIndex:]: Range or index out of bounds --- 38,42 ---- - 2006-09-01 "Save As" always saves the query window, should save the log window if the log window is front most. ! - 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] -[NSBigMutableString characterAtIndex:] called with out-of-bounds index. For apps linked on Tiger this will raise an exception. For earlier apps it will produce this one-time warning and continue with existing behavior (which is undefined). 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] Exception raised during posting of notification. Ignored. exception: *** -[NSBigMutableString characterAtIndex:]: Range or index out of bounds *************** *** 42,45 **** --- 44,49 ---- Completed ========= + - 2006-09-17 Data columns in the results table are not resizing. + - 2006-09-01 Refactored user defaults in SQLDocument. Index: QueryTool.h =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/QueryTool.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** QueryTool.h 13 Sep 2006 23:13:13 -0000 1.1 --- QueryTool.h 17 Sep 2006 15:41:48 -0000 1.2 *************** *** 12,15 **** // To tell others that parameters are purposely not used and remove compiler warning. #define UNUSED_PARAMETER(x) (void)(x) ! // Global Project Definitions \ No newline at end of file --- 12,15 ---- // To tell others that parameters are purposely not used and remove compiler warning. #define UNUSED_PARAMETER(x) (void)(x) ! // #define UNUSED_PARAMETER(x) // Global Project Definitions \ No newline at end of file |
From: Neil T. <nt...@us...> - 2006-09-17 15:41:52
|
Update of /cvsroot/pgsqlformac/QueryTool/QueryToolForPostgresN.xcodeproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2726/QueryToolForPostgresN.xcodeproj Modified Files: ntiffin.mode1 ntiffin.pbxuser Log Message: Add automatic result column resizing. Index: ntiffin.mode1 =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/QueryToolForPostgresN.xcodeproj/ntiffin.mode1,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ntiffin.mode1 4 Sep 2006 14:51:13 -0000 1.1 --- ntiffin.mode1 17 Sep 2006 15:41:48 -0000 1.2 *************** *** 205,209 **** </array> <key>OpenEditors</key> ! <array/> <key>PerspectiveWidths</key> <array> --- 205,250 ---- </array> <key>OpenEditors</key> ! <array> ! <dict> ! <key>Content</key> ! <dict> ! <key>PBXProjectModuleGUID</key> ! <string>CE4FEC200ABD9C57005E5FF8</string> ! <key>PBXProjectModuleLabel</key> ! <string>SqlDocument.h</string> ! <key>PBXSplitModuleInNavigatorKey</key> ! <dict> ! <key>Split0</key> ! <dict> ! <key>PBXProjectModuleGUID</key> ! <string>CE4FEC210ABD9C57005E5FF8</string> ! <key>PBXProjectModuleLabel</key> ! <string>SqlDocument.h</string> ! <key>_historyCapacity</key> ! <integer>0</integer> ! <key>bookmark</key> ! <string>CE4FEC730ABDA3CE005E5FF8</string> ! <key>history</key> ! <array> ! <string>CE4FEC220ABD9C57005E5FF8</string> ! </array> ! </dict> ! <key>SplitCount</key> ! <string>1</string> ! </dict> ! <key>StatusBarVisibility</key> ! <true/> ! </dict> ! <key>Geometry</key> ! <dict> ! <key>Frame</key> ! <string>{{0, 20}, {689, 753}}</string> ! <key>PBXModuleWindowStatusBarHidden2</key> ! <false/> ! <key>RubberWindowFrame</key> ! <string>607 78 689 794 0 0 1440 878 </string> ! </dict> ! </dict> ! </array> <key>PerspectiveWidths</key> <array> *************** *** 289,292 **** --- 330,335 ---- <array> <array> + <integer>9</integer> + <integer>1</integer> <integer>0</integer> </array> *************** *** 312,316 **** </array> <key>RubberWindowFrame</key> ! <string>35 141 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> --- 355,359 ---- </array> <key>RubberWindowFrame</key> ! <string>94 69 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 328,332 **** <string>1CE0B20306471E060097A5F4</string> <key>PBXProjectModuleLabel</key> ! <string>AppController.m</string> <key>PBXSplitModuleInNavigatorKey</key> <dict> --- 371,375 ---- <string>1CE0B20306471E060097A5F4</string> <key>PBXProjectModuleLabel</key> ! <string>MyResultsView.m</string> <key>PBXSplitModuleInNavigatorKey</key> <dict> *************** *** 336,344 **** <string>1CE0B20406471E060097A5F4</string> <key>PBXProjectModuleLabel</key> ! <string>AppController.m</string> <key>_historyCapacity</key> <integer>0</integer> <key>bookmark</key> ! <string>CE5550E60AAC71D500B11355</string> <key>history</key> <array> --- 379,387 ---- <string>1CE0B20406471E060097A5F4</string> <key>PBXProjectModuleLabel</key> ! <string>MyResultsView.m</string> <key>_historyCapacity</key> <integer>0</integer> <key>bookmark</key> ! <string>CE4FEC720ABDA3CE005E5FF8</string> <key>history</key> <array> *************** *** 354,364 **** <string>CE74E3D00AA5BF9E00D0835A</string> <string>CE74E4730AA5E33300D0835A</string> - <string>CED400050AA600A400DD25F8</string> <string>CEC42ADF0AA6481900673D96</string> <string>CE64C29F0AA733E000FBCB31</string> - <string>CEA6D8840AA8826F0076A588</string> <string>CE8AEAF10AA9B2E8005BF320</string> <string>CE8AEAF20AA9B2E8005BF320</string> ! <string>CE5550BC0AAC719B00B11355</string> </array> <key>prevStack</key> --- 397,409 ---- <string>CE74E3D00AA5BF9E00D0835A</string> <string>CE74E4730AA5E33300D0835A</string> <string>CEC42ADF0AA6481900673D96</string> <string>CE64C29F0AA733E000FBCB31</string> <string>CE8AEAF10AA9B2E8005BF320</string> <string>CE8AEAF20AA9B2E8005BF320</string> ! <string>CECDD3A00AB72489002256AF</string> ! <string>CE30916B0AB8CCDC0012805D</string> ! <string>CE30916C0AB8CCDC0012805D</string> ! <string>CE4FEB9C0ABD7DC7005E5FF8</string> ! <string>CE4FEB9F0ABD7DC7005E5FF8</string> </array> <key>prevStack</key> *************** *** 382,385 **** --- 427,431 ---- <string>CE8AEAF40AA9B2E8005BF320</string> <string>CE8AEAF50AA9B2E8005BF320</string> + <string>CE30916D0AB8CCDC0012805D</string> </array> </dict> *************** *** 395,399 **** <string>{{0, 0}, {894, 348}}</string> <key>RubberWindowFrame</key> ! <string>35 141 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> --- 441,445 ---- <string>{{0, 0}, {894, 348}}</string> <key>RubberWindowFrame</key> ! <string>94 69 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 415,419 **** <string>{{0, 353}, {894, 325}}</string> <key>RubberWindowFrame</key> ! <string>35 141 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> --- 461,465 ---- <string>{{0, 353}, {894, 325}}</string> <key>RubberWindowFrame</key> ! <string>94 69 1225 719 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 439,445 **** <key>TableOfContents</key> <array> ! <string>CE5550E70AAC71D500B11355</string> <string>1CE0B1FE06471DED0097A5F4</string> ! <string>CE5550E80AAC71D500B11355</string> <string>1CE0B20306471E060097A5F4</string> <string>1CE0B20506471E060097A5F4</string> --- 485,491 ---- <key>TableOfContents</key> <array> ! <string>CE4FEC180ABD9C57005E5FF8</string> <string>1CE0B1FE06471DED0097A5F4</string> ! <string>CE4FEC190ABD9C57005E5FF8</string> <string>1CE0B20306471E060097A5F4</string> <string>1CE0B20506471E060097A5F4</string> *************** *** 560,564 **** <true/> <key>TimeStamp</key> ! <real>179073493.845779</real> <key>ToolbarDisplayMode</key> <integer>1</integer> --- 606,610 ---- <true/> <key>TimeStamp</key> ! <real>180200398.991824</real> <key>ToolbarDisplayMode</key> <integer>1</integer> *************** *** 575,584 **** <key>WindowOrderList</key> <array> ! <string>CE9631B20A8E1D720091AA4F</string> ! <string>CE5550E50AAC71D300B11355</string> <string>/Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/QueryToolForPostgresN.xcodeproj</string> </array> <key>WindowString</key> ! <string>35 141 1225 719 0 0 1440 878 </string> <key>WindowTools</key> <array> --- 621,635 ---- <key>WindowOrderList</key> <array> ! <string>CE4FEC330ABD9CDA005E5FF8</string> ! <string>CE4FEC340ABD9CDA005E5FF8</string> ! <string>CE428AE70A0E2556004B4161</string> ! <string>CE4FEC240ABD9C57005E5FF8</string> ! <string>CE4FEC2C0ABD9C57005E5FF8</string> ! <string>CE4FEC200ABD9C57005E5FF8</string> ! <string>1CD10A99069EF8BA00B06720</string> <string>/Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/QueryToolForPostgresN.xcodeproj</string> </array> <key>WindowString</key> ! <string>94 69 1225 719 0 0 1440 878 </string> <key>WindowTools</key> <array> *************** *** 601,605 **** <string>1CD0528F0623707200166675</string> <key>PBXProjectModuleLabel</key> ! <string></string> <key>StatusBarVisibility</key> <true/> --- 652,656 ---- <string>1CD0528F0623707200166675</string> <key>PBXProjectModuleLabel</key> ! <string>SqlDocument.m</string> <key>StatusBarVisibility</key> <true/> *************** *** 610,614 **** <string>{{0, 0}, {1147, 271}}</string> <key>RubberWindowFrame</key> ! <string>219 125 1147 753 0 0 1440 878 </string> </dict> <key>Module</key> --- 661,665 ---- <string>{{0, 0}, {1147, 271}}</string> <key>RubberWindowFrame</key> ! <string>129 123 1147 753 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 623,627 **** <dict> <key>PBXBuildLogShowsTranscriptDefaultKey</key> ! <string>{{0, 129}, {1147, 307}}</string> <key>PBXProjectModuleGUID</key> <string>XCMainBuildResultsModuleGUID</string> --- 674,678 ---- <dict> <key>PBXBuildLogShowsTranscriptDefaultKey</key> ! <string>{{0, 331}, {1147, 105}}</string> <key>PBXProjectModuleGUID</key> <string>XCMainBuildResultsModuleGUID</string> *************** *** 638,642 **** <string>{{0, 276}, {1147, 436}}</string> <key>RubberWindowFrame</key> ! <string>219 125 1147 753 0 0 1440 878 </string> </dict> <key>Module</key> --- 689,693 ---- <string>{{0, 276}, {1147, 436}}</string> <key>RubberWindowFrame</key> ! <string>129 123 1147 753 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 660,665 **** <key>TableOfContents</key> <array> ! <string>CE9631B20A8E1D720091AA4F</string> ! <string>CE5550DE0AAC71D300B11355</string> <string>1CD0528F0623707200166675</string> <string>XCMainBuildResultsModuleGUID</string> --- 711,716 ---- <key>TableOfContents</key> <array> ! <string>CE4FEC240ABD9C57005E5FF8</string> ! <string>CE4FEC250ABD9C57005E5FF8</string> <string>1CD0528F0623707200166675</string> <string>XCMainBuildResultsModuleGUID</string> *************** *** 668,674 **** <string>xcode.toolbar.config.build</string> <key>WindowString</key> ! <string>219 125 1147 753 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE9631B20A8E1D720091AA4F</string> <key>WindowToolIsVisible</key> <false/> --- 719,725 ---- <string>xcode.toolbar.config.build</string> <key>WindowString</key> ! <string>129 123 1147 753 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE4FEC240ABD9C57005E5FF8</string> <key>WindowToolIsVisible</key> <false/> *************** *** 767,778 **** <array> <string>1CD10A99069EF8BA00B06720</string> ! <string>CE5550DF0AAC71D300B11355</string> <string>1C162984064C10D400B95A72</string> ! <string>CE5550E00AAC71D300B11355</string> ! <string>CE5550E10AAC71D300B11355</string> ! <string>CE5550E20AAC71D300B11355</string> ! <string>CE5550E30AAC71D300B11355</string> ! <string>CE5550E40AAC71D300B11355</string> ! <string>CE5550E50AAC71D300B11355</string> </array> <key>ToolbarConfiguration</key> --- 818,829 ---- <array> <string>1CD10A99069EF8BA00B06720</string> ! <string>CE4FEC260ABD9C57005E5FF8</string> <string>1C162984064C10D400B95A72</string> ! <string>CE4FEC270ABD9C57005E5FF8</string> ! <string>CE4FEC280ABD9C57005E5FF8</string> ! <string>CE4FEC290ABD9C57005E5FF8</string> ! <string>CE4FEC2A0ABD9C57005E5FF8</string> ! <string>CE4FEC2B0ABD9C57005E5FF8</string> ! <string>CE4FEC2C0ABD9C57005E5FF8</string> </array> <key>ToolbarConfiguration</key> *************** *** 864,869 **** <array> <string>1C530D57069F1CE1000CFCEE</string> ! <string>CEA6D85E0AA87D120076A588</string> ! <string>CEA6D85F0AA87D120076A588</string> <string>1CDD528C0622207200134675</string> <string>1CD0528E0623707200166675</string> --- 915,920 ---- <array> <string>1C530D57069F1CE1000CFCEE</string> ! <string>CE4FEB760ABD71D2005E5FF8</string> ! <string>CE4FEB770ABD71D2005E5FF8</string> <string>1CDD528C0622207200134675</string> <string>1CD0528E0623707200166675</string> *************** *** 907,911 **** <string>{{0, 0}, {984, 503}}</string> <key>RubberWindowFrame</key> ! <string>344 149 984 544 0 0 1440 878 </string> </dict> <key>Module</key> --- 958,962 ---- <string>{{0, 0}, {984, 503}}</string> <key>RubberWindowFrame</key> ! <string>11 118 984 544 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 930,938 **** <array> <string>CE428AE70A0E2556004B4161</string> ! <string>CEA6D80E0AA873470076A588</string> <string>1C78EAAC065D492600B07095</string> </array> <key>WindowString</key> ! <string>344 149 984 544 0 0 1440 878 </string> <key>WindowToolGUID</key> <string>CE428AE70A0E2556004B4161</string> --- 981,989 ---- <array> <string>CE428AE70A0E2556004B4161</string> ! <string>CE4FEC320ABD9CDA005E5FF8</string> <string>1C78EAAC065D492600B07095</string> </array> <key>WindowString</key> ! <string>11 118 984 544 0 0 1440 878 </string> <key>WindowToolGUID</key> <string>CE428AE70A0E2556004B4161</string> *************** *** 1025,1031 **** <array> <string>1C0AD2B3069F1EA900FABCE6</string> ! <string>CEC071C90A693F0100294E76</string> <string>1CD0528B0623707200166675</string> ! <string>CEC071CA0A693F0100294E76</string> </array> <key>ToolbarConfiguration</key> --- 1076,1082 ---- <array> <string>1C0AD2B3069F1EA900FABCE6</string> ! <string>CE3091700AB8CCDC0012805D</string> <string>1CD0528B0623707200166675</string> ! <string>CE3091710AB8CCDC0012805D</string> </array> <key>ToolbarConfiguration</key> *************** *** 1253,1258 **** <key>TableOfContents</key> <array> ! <string>CE0EBCB10A4D8D1500003FF7</string> ! <string>CE0EBCB20A4D8D1500003FF7</string> <string>1CE0B1FE06471DED0097A5F4</string> <string>1CA1AED706398EBD00589147</string> --- 1304,1309 ---- <key>TableOfContents</key> <array> ! <string>CE3091450AB8C95F0012805D</string> ! <string>CE3091460AB8C95F0012805D</string> <string>1CE0B1FE06471DED0097A5F4</string> <string>1CA1AED706398EBD00589147</string> *************** *** 1263,1269 **** <string>508 429 744 409 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE0EBCB10A4D8D1500003FF7</string> <key>WindowToolIsVisible</key> ! <true/> </dict> <dict> --- 1314,1320 ---- <string>508 429 744 409 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE3091450AB8C95F0012805D</string> <key>WindowToolIsVisible</key> ! <false/> </dict> <dict> Index: ntiffin.pbxuser =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/QueryToolForPostgresN.xcodeproj/ntiffin.pbxuser,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ntiffin.pbxuser 4 Sep 2006 14:51:13 -0000 1.1 --- ntiffin.pbxuser 17 Sep 2006 15:41:48 -0000 1.2 *************** *** 10,23 **** breakpoints = ( CEE985C50A0F93CC006A9A83 /* -[SQLDocument onSelectCreateTableMenuItem:] */, ! CEE985970A0F81DF006A9A83 /* SqlDocument.m:538 */, ! CEE985DA0A0F94A3006A9A83 /* SqlDocument.m:540 */, CEFCE83A0A228526008F2667 /* help */, - CEFCE83B0A228546008F2667 /* Schema.m:382 */, CE5711A40A28C65B001DD7C1 /* -[NSException raise] */, ! CE4488DB0A2B163C0052EBDB /* SqlDocument.m:926 */, ! CE0ABD830A30A5760031E54B /* SqlDocument.m:646 */, CEE985AD0A0F8708006A9A83 /* MyOutlineView.m:30 */, CEEAE4D60A1663B300A7F6F8 /* SqlDocument.m:334 */, ! CE5711AE0A28CA3D001DD7C1 /* SqlDocument.m:856 */, ); breakpointsGroup = CE4289AE0A0CEFCC004B4161 /* XCBreakpointsBucket */; --- 10,22 ---- breakpoints = ( CEE985C50A0F93CC006A9A83 /* -[SQLDocument onSelectCreateTableMenuItem:] */, ! CEE985970A0F81DF006A9A83 /* SqlDocument.m:585 */, ! CEE985DA0A0F94A3006A9A83 /* SqlDocument.m:587 */, CEFCE83A0A228526008F2667 /* help */, CE5711A40A28C65B001DD7C1 /* -[NSException raise] */, ! CE4488DB0A2B163C0052EBDB /* SqlDocument.m:973 */, ! CE0ABD830A30A5760031E54B /* SqlDocument.m:693 */, CEE985AD0A0F8708006A9A83 /* MyOutlineView.m:30 */, CEEAE4D60A1663B300A7F6F8 /* SqlDocument.m:334 */, ! CE5711AE0A28CA3D001DD7C1 /* SqlDocument.m:903 */, ); breakpointsGroup = CE4289AE0A0CEFCC004B4161 /* XCBreakpointsBucket */; *************** *** 133,138 **** ); }; ! PBXPerProjectTemplateStateSaveDate = 179073459; ! PBXWorkspaceStateSaveDate = 179073459; }; perUserProjectItems = { --- 132,137 ---- ); }; ! PBXPerProjectTemplateStateSaveDate = 180195662; ! PBXWorkspaceStateSaveDate = 180195662; }; perUserProjectItems = { *************** *** 140,145 **** CE0EBCAB0A4D8D1500003FF7 /* PBXTextBookmark */ = CE0EBCAB0A4D8D1500003FF7 /* PBXTextBookmark */; CE1472FB0A698C310085A958 /* PBXTextBookmark */ = CE1472FB0A698C310085A958 /* PBXTextBookmark */; ! CE5550BC0AAC719B00B11355 /* PBXTextBookmark */ = CE5550BC0AAC719B00B11355 /* PBXTextBookmark */; ! CE5550E60AAC71D500B11355 /* PBXTextBookmark */ = CE5550E60AAC71D500B11355 /* PBXTextBookmark */; CE57591B0A69468C00F7FA8F /* PBXTextBookmark */ = CE57591B0A69468C00F7FA8F /* PBXTextBookmark */; CE5759380A694B3100F7FA8F /* PBXTextBookmark */ = CE5759380A694B3100F7FA8F /* PBXTextBookmark */; --- 139,150 ---- CE0EBCAB0A4D8D1500003FF7 /* PBXTextBookmark */ = CE0EBCAB0A4D8D1500003FF7 /* PBXTextBookmark */; CE1472FB0A698C310085A958 /* PBXTextBookmark */ = CE1472FB0A698C310085A958 /* PBXTextBookmark */; ! CE30916B0AB8CCDC0012805D /* PBXTextBookmark */ = CE30916B0AB8CCDC0012805D /* PBXTextBookmark */; ! CE30916C0AB8CCDC0012805D /* PBXTextBookmark */ = CE30916C0AB8CCDC0012805D /* PBXTextBookmark */; ! CE30916D0AB8CCDC0012805D /* PBXTextBookmark */ = CE30916D0AB8CCDC0012805D /* PBXTextBookmark */; ! CE4FEB9C0ABD7DC7005E5FF8 /* PBXTextBookmark */ = CE4FEB9C0ABD7DC7005E5FF8 /* PBXTextBookmark */; ! CE4FEB9F0ABD7DC7005E5FF8 /* PBXTextBookmark */ = CE4FEB9F0ABD7DC7005E5FF8 /* PBXTextBookmark */; ! CE4FEC220ABD9C57005E5FF8 /* PBXTextBookmark */ = CE4FEC220ABD9C57005E5FF8 /* PBXTextBookmark */; ! CE4FEC720ABDA3CE005E5FF8 /* PBXTextBookmark */ = CE4FEC720ABDA3CE005E5FF8 /* PBXTextBookmark */; ! CE4FEC730ABDA3CE005E5FF8 /* PBXTextBookmark */ = CE4FEC730ABDA3CE005E5FF8 /* PBXTextBookmark */; CE57591B0A69468C00F7FA8F /* PBXTextBookmark */ = CE57591B0A69468C00F7FA8F /* PBXTextBookmark */; CE5759380A694B3100F7FA8F /* PBXTextBookmark */ = CE5759380A694B3100F7FA8F /* PBXTextBookmark */; *************** *** 161,165 **** CEA465900A6A7D5A008C43D1 /* PBXTextBookmark */ = CEA465900A6A7D5A008C43D1 /* PBXTextBookmark */; CEA4661D0A6A9E04008C43D1 /* PBXTextBookmark */ = CEA4661D0A6A9E04008C43D1 /* PBXTextBookmark */; - CEA6D8840AA8826F0076A588 /* PBXTextBookmark */ = CEA6D8840AA8826F0076A588 /* PBXTextBookmark */; CEA6FBFE0A85185600044DB3 /* PBXTextBookmark */ = CEA6FBFE0A85185600044DB3 /* PBXTextBookmark */; CEA6FBFF0A85185600044DB3 /* PBXTextBookmark */ = CEA6FBFF0A85185600044DB3 /* PBXTextBookmark */; --- 166,169 ---- *************** *** 173,177 **** CEC6C4930AA4F8B5002AF181 /* PBXTextBookmark */ = CEC6C4930AA4F8B5002AF181 /* PBXTextBookmark */; CEC6C4940AA4F8B5002AF181 /* PBXTextBookmark */ = CEC6C4940AA4F8B5002AF181 /* PBXTextBookmark */; ! CED400050AA600A400DD25F8 /* PBXTextBookmark */ = CED400050AA600A400DD25F8 /* PBXTextBookmark */; }; sourceControlManager = CE4289A20A0CEEAF004B4161 /* Source Control */; --- 177,181 ---- CEC6C4930AA4F8B5002AF181 /* PBXTextBookmark */ = CEC6C4930AA4F8B5002AF181 /* PBXTextBookmark */; CEC6C4940AA4F8B5002AF181 /* PBXTextBookmark */ = CEC6C4940AA4F8B5002AF181 /* PBXTextBookmark */; ! CECDD3A00AB72489002256AF /* PBXTextBookmark */ = CECDD3A00AB72489002256AF /* PBXTextBookmark */; }; sourceControlManager = CE4289A20A0CEEAF004B4161 /* Source Control */; *************** *** 218,231 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {644, 1750}}"; ! sepNavSelRange = "{1366, 0}"; ! sepNavVisRect = "{{0, 547}, {644, 721}}"; ! sepNavWindowFrame = "{{406, 84}, {689, 794}}"; }; }; 4350CCBC0665349000244060 /* SqlDocument.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1100, 14966}}"; ! sepNavSelRange = "{34720, 2}"; ! sepNavVisRect = "{{0, 14727}, {1100, 239}}"; sepNavWindowFrame = "{{412, 42}, {1023, 835}}"; }; --- 222,235 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {644, 1750}}"; ! sepNavSelRange = "{525, 0}"; ! sepNavVisRect = "{{0, 183}, {644, 721}}"; ! sepNavWindowFrame = "{{607, 78}, {689, 794}}"; }; }; 4350CCBC0665349000244060 /* SqlDocument.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1100, 15624}}"; ! sepNavSelRange = "{15250, 0}"; ! sepNavVisRect = "{{0, 6804}, {1100, 239}}"; sepNavWindowFrame = "{{412, 42}, {1023, 835}}"; }; *************** *** 269,272 **** --- 273,284 ---- ); }; + 8D15AC360486D014006FF6A4 /* Info.plist */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {736, 728}}"; + sepNavSelRange = "{1000, 80}"; + sepNavVisRect = "{{0, 0}, {736, 728}}"; + sepNavWindowFrame = "{{84, 9}, {781, 801}}"; + }; + }; CE045DF30A696340009474D9 /* PBXTextBookmark */ = { isa = PBXTextBookmark; *************** *** 279,283 **** vrLoc = 424; }; ! CE0ABD830A30A5760031E54B /* SqlDocument.m:646 */ = { isa = PBXFileBreakpoint; actions = ( --- 291,295 ---- vrLoc = 424; }; ! CE0ABD830A30A5760031E54B /* SqlDocument.m:693 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 289,295 **** functionName = "-onSelectColsMenuItem:"; hitCount = 1; ! lineNumber = 646; location = SqlDocument.ob; ! modificationTime = 178811719.699331; state = 2; }; --- 301,307 ---- functionName = "-onSelectColsMenuItem:"; hitCount = 1; ! lineNumber = 693; location = SqlDocument.ob; ! modificationTime = 180199587.540411; state = 2; }; *************** *** 299,303 **** name = "[query insertText:sql];"; rLen = 25; ! rLoc = 15820; rType = 0; vrLen = 411; --- 311,315 ---- name = "[query insertText:sql];"; rLen = 25; ! rLoc = 17686; rType = 0; vrLen = 411; *************** *** 324,333 **** CE20F4690A0E9A760066662F /* MyOutlineView.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {942, 3598}}"; ! sepNavSelRange = "{6747, 0}"; ! sepNavVisRect = "{{0, 3}, {942, 725}}"; sepNavWindowFrame = "{{204, 7}, {987, 798}}"; }; }; CE4289930A0CEE90004B4161 /* Query Tool for Postgres */ = { isa = PBXExecutable; --- 336,375 ---- CE20F4690A0E9A760066662F /* MyOutlineView.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {847, 3598}}"; ! sepNavSelRange = "{755, 65}"; ! sepNavVisRect = "{{0, 255}, {847, 316}}"; sepNavWindowFrame = "{{204, 7}, {987, 798}}"; }; }; + CE30916B0AB8CCDC0012805D /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = CE7EA7D00AA4FD150017B3FB /* PreferenceController.m */; + name = "PreferenceController.m: 183"; + rLen = 0; + rLoc = 4673; + rType = 0; + vrLen = 725; + vrLoc = 4290; + }; + CE30916C0AB8CCDC0012805D /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = CE20F4690A0E9A760066662F /* MyOutlineView.m */; + name = "[newItem setAction: @selector(onSelectCreateTableMenuItem:)];"; + rLen = 65; + rLoc = 755; + rType = 0; + vrLen = 920; + vrLoc = 347; + }; + CE30916D0AB8CCDC0012805D /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = CE7EA7D00AA4FD150017B3FB /* PreferenceController.m */; + name = "PreferenceController.m: 183"; + rLen = 0; + rLoc = 4673; + rType = 0; + vrLen = 725; + vrLoc = 4290; + }; CE4289930A0CEE90004B4161 /* Query Tool for Postgres */ = { isa = PBXExecutable; *************** *** 483,500 **** name = "Project Breakpoints"; objects = ( ! CEE985970A0F81DF006A9A83 /* SqlDocument.m:538 */, CEE985AD0A0F8708006A9A83 /* MyOutlineView.m:30 */, CEE985C50A0F93CC006A9A83 /* -[SQLDocument onSelectCreateTableMenuItem:] */, ! CEE985DA0A0F94A3006A9A83 /* SqlDocument.m:540 */, CEEAE4D60A1663B300A7F6F8 /* SqlDocument.m:334 */, CEFCE83A0A228526008F2667 /* help */, - CEFCE83B0A228546008F2667 /* Schema.m:382 */, CE5711A40A28C65B001DD7C1 /* -[NSException raise] */, ! CE5711AE0A28CA3D001DD7C1 /* SqlDocument.m:856 */, ! CE4488DB0A2B163C0052EBDB /* SqlDocument.m:926 */, ! CE0ABD830A30A5760031E54B /* SqlDocument.m:646 */, ); }; ! CE4488DB0A2B163C0052EBDB /* SqlDocument.m:926 */ = { isa = PBXFileBreakpoint; actions = ( --- 525,541 ---- name = "Project Breakpoints"; objects = ( ! CEE985970A0F81DF006A9A83 /* SqlDocument.m:585 */, CEE985AD0A0F8708006A9A83 /* MyOutlineView.m:30 */, CEE985C50A0F93CC006A9A83 /* -[SQLDocument onSelectCreateTableMenuItem:] */, ! CEE985DA0A0F94A3006A9A83 /* SqlDocument.m:587 */, CEEAE4D60A1663B300A7F6F8 /* SqlDocument.m:334 */, CEFCE83A0A228526008F2667 /* help */, CE5711A40A28C65B001DD7C1 /* -[NSException raise] */, ! CE5711AE0A28CA3D001DD7C1 /* SqlDocument.m:903 */, ! CE4488DB0A2B163C0052EBDB /* SqlDocument.m:973 */, ! CE0ABD830A30A5760031E54B /* SqlDocument.m:693 */, ); }; ! CE4488DB0A2B163C0052EBDB /* SqlDocument.m:973 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 506,533 **** functionName = "-onSelectCreateFunctionTemplateMenuItem:"; hitCount = 1; ! lineNumber = 926; location = SqlDocument.ob; ! modificationTime = 178811719.699324; state = 2; }; ! CE5550BC0AAC719B00B11355 /* PBXTextBookmark */ = { isa = PBXTextBookmark; ! fRef = CE7EA7D90AA4FDB60017B3FB /* AppController.m */; ! name = "AppController.m: 26"; rLen = 0; ! rLoc = 529; rType = 0; ! vrLen = 476; ! vrLoc = 227; }; ! CE5550E60AAC71D500B11355 /* PBXTextBookmark */ = { isa = PBXTextBookmark; ! fRef = CE7EA7D90AA4FDB60017B3FB /* AppController.m */; ! name = "AppController.m: 26"; rLen = 0; ! rLoc = 529; rType = 0; ! vrLen = 476; ! vrLoc = 227; }; CE5711A40A28C65B001DD7C1 /* -[NSException raise] */ = { --- 547,604 ---- functionName = "-onSelectCreateFunctionTemplateMenuItem:"; hitCount = 1; ! lineNumber = 973; location = SqlDocument.ob; ! modificationTime = 180199587.540357; state = 2; }; ! CE4FEB9C0ABD7DC7005E5FF8 /* PBXTextBookmark */ = { isa = PBXTextBookmark; ! fRef = 4350CCBC0665349000244060 /* SqlDocument.m */; ! name = "SqlDocument.m: 18"; rLen = 0; ! rLoc = 284; rType = 0; ! vrLen = 813; ! vrLoc = 1229; }; ! CE4FEB9F0ABD7DC7005E5FF8 /* PBXTextBookmark */ = { isa = PBXTextBookmark; ! fRef = CEA465A70A6A8D67008C43D1 /* MyResultsView.m */; ! name = "MyResultsView.m: 28"; rLen = 0; ! rLoc = 826; rType = 0; ! vrLen = 704; ! vrLoc = 255; ! }; ! CE4FEC220ABD9C57005E5FF8 /* PBXTextBookmark */ = { ! isa = PBXTextBookmark; ! fRef = 4350CCBB0665349000244060 /* SqlDocument.h */; ! name = "SqlDocument.h: dataOutput"; ! rLen = 0; ! rLoc = 525; ! rType = 0; ! vrLen = 1243; ! vrLoc = 257; ! }; ! CE4FEC720ABDA3CE005E5FF8 /* PBXTextBookmark */ = { ! isa = PBXTextBookmark; ! fRef = CEA465A70A6A8D67008C43D1 /* MyResultsView.m */; ! name = "MyResultsView.m: 28"; ! rLen = 0; ! rLoc = 826; ! rType = 0; ! vrLen = 704; ! vrLoc = 255; ! }; ! CE4FEC730ABDA3CE005E5FF8 /* PBXTextBookmark */ = { ! isa = PBXTextBookmark; ! fRef = 4350CCBB0665349000244060 /* SqlDocument.h */; ! name = "SqlDocument.h: dataOutput"; ! rLen = 0; ! rLoc = 525; ! rType = 0; ! vrLen = 1243; ! vrLoc = 257; }; CE5711A40A28C65B001DD7C1 /* -[NSException raise] */ = { *************** *** 540,548 **** hitCount = 1; location = Foundation; ! modificationTime = 178811719.699488; state = 2; symbolName = "-[NSException raise]"; }; ! CE5711AE0A28CA3D001DD7C1 /* SqlDocument.m:856 */ = { isa = PBXFileBreakpoint; actions = ( --- 611,619 ---- hitCount = 1; location = Foundation; ! modificationTime = 180199587.540844; state = 2; symbolName = "-[NSException raise]"; }; ! CE5711AE0A28CA3D001DD7C1 /* SqlDocument.m:903 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 554,560 **** functionName = "-onSelectCreateViewMenuItem:"; hitCount = 1; ! lineNumber = 856; location = SqlDocument.ob; ! modificationTime = 178811719.699351; state = 2; }; --- 625,631 ---- functionName = "-onSelectCreateViewMenuItem:"; hitCount = 1; ! lineNumber = 903; location = SqlDocument.ob; ! modificationTime = 180199587.540511; state = 2; }; *************** *** 615,621 **** CE74E3550AA5BAC500D0835A /* QueryTool.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {847, 316}}"; ! sepNavSelRange = "{165, 0}"; ! sepNavVisRect = "{{0, 0}, {847, 316}}"; sepNavWindowFrame = "{{15, 5}, {982, 868}}"; }; --- 686,692 ---- CE74E3550AA5BAC500D0835A /* QueryTool.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1100, 239}}"; ! sepNavSelRange = "{293, 31}"; ! sepNavVisRect = "{{0, 0}, {1100, 239}}"; sepNavWindowFrame = "{{15, 5}, {982, 868}}"; }; *************** *** 693,700 **** CE7EA7D00AA4FD150017B3FB /* PreferenceController.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {937, 3864}}"; sepNavSelRange = "{4673, 0}"; ! sepNavVisRect = "{{0, 2130}, {937, 795}}"; ! sepNavWindowFrame = "{{127, 10}, {982, 868}}"; }; }; --- 764,771 ---- CE7EA7D00AA4FD150017B3FB /* PreferenceController.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {878, 3864}}"; sepNavSelRange = "{4673, 0}"; ! sepNavVisRect = "{{0, 2394}, {847, 316}}"; ! sepNavWindowFrame = "{{462, 10}, {982, 868}}"; }; }; *************** *** 702,716 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {428, 724}}"; ! sepNavSelRange = "{840, 0}"; sepNavVisRect = "{{0, 0}, {409, 724}}"; ! sepNavWindowFrame = "{{31, 55}, {454, 797}}"; }; }; CE7EA7D90AA4FDB60017B3FB /* AppController.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {847, 560}}"; ! sepNavSelRange = "{529, 0}"; ! sepNavVisRect = "{{0, 160}, {847, 316}}"; ! sepNavWindowFrame = "{{64, 21}, {1048, 839}}"; }; }; --- 773,787 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {428, 724}}"; ! sepNavSelRange = "{581, 44}"; sepNavVisRect = "{{0, 0}, {409, 724}}"; ! sepNavWindowFrame = "{{707, 81}, {454, 797}}"; }; }; CE7EA7D90AA4FDB60017B3FB /* AppController.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1003, 766}}"; ! sepNavSelRange = "{459, 8}"; ! sepNavVisRect = "{{0, 0}, {1003, 766}}"; ! sepNavWindowFrame = "{{490, 19}, {1048, 839}}"; }; }; *************** *** 795,801 **** CEA465A60A6A8D67008C43D1 /* MyResultsView.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {847, 316}}"; ! sepNavSelRange = "{0, 0}"; ! sepNavVisRect = "{{0, 0}, {847, 316}}"; sepNavWindowFrame = "{{315, 37}, {1067, 813}}"; }; --- 866,872 ---- CEA465A60A6A8D67008C43D1 /* MyResultsView.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1022, 740}}"; ! sepNavSelRange = "{240, 11}"; ! sepNavVisRect = "{{0, 0}, {1022, 740}}"; sepNavWindowFrame = "{{315, 37}, {1067, 813}}"; }; *************** *** 803,809 **** CEA465A70A6A8D67008C43D1 /* MyResultsView.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1022, 740}}"; sepNavSelRange = "{826, 0}"; ! sepNavVisRect = "{{0, 0}, {1022, 740}}"; sepNavWindowFrame = "{{38, 39}, {1067, 813}}"; }; --- 874,880 ---- CEA465A70A6A8D67008C43D1 /* MyResultsView.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {847, 588}}"; sepNavSelRange = "{826, 0}"; ! sepNavVisRect = "{{0, 228}, {847, 316}}"; sepNavWindowFrame = "{{38, 39}, {1067, 813}}"; }; *************** *** 819,832 **** vrLoc = 23; }; - CEA6D8840AA8826F0076A588 /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 4350CCBC0665349000244060 /* SqlDocument.m */; - name = "SqlDocument.m: 18"; - rLen = 0; - rLoc = 284; - rType = 0; - vrLen = 813; - vrLoc = 1229; - }; CEA6FBFE0A85185600044DB3 /* PBXTextBookmark */ = { isa = PBXTextBookmark; --- 890,893 ---- *************** *** 975,989 **** vrLoc = 0; }; ! CED400050AA600A400DD25F8 /* PBXTextBookmark */ = { isa = PBXTextBookmark; ! fRef = CE20F4690A0E9A760066662F /* MyOutlineView.m */; ! name = "MyOutlineView.m: 235"; rLen = 0; ! rLoc = 7619; rType = 0; ! vrLen = 483; ! vrLoc = 6940; }; ! CEE985970A0F81DF006A9A83 /* SqlDocument.m:538 */ = { isa = PBXFileBreakpoint; actions = ( --- 1036,1050 ---- vrLoc = 0; }; ! CECDD3A00AB72489002256AF /* PBXTextBookmark */ = { isa = PBXTextBookmark; ! fRef = CE7EA7D90AA4FDB60017B3FB /* AppController.m */; ! name = "AppController.m: 26"; rLen = 0; ! rLoc = 529; rType = 0; ! vrLen = 476; ! vrLoc = 227; }; ! CEE985970A0F81DF006A9A83 /* SqlDocument.m:585 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 995,1001 **** functionName = "-onSelectCreateTableMenuItem:"; hitCount = 1; ! lineNumber = 538; location = SqlDocument.ob; ! modificationTime = 178811719.699303; state = 2; }; --- 1056,1062 ---- functionName = "-onSelectCreateTableMenuItem:"; hitCount = 1; ! lineNumber = 585; location = SqlDocument.ob; ! modificationTime = 180199587.540248; state = 2; }; *************** *** 1012,1016 **** lineNumber = 30; location = MyOutlineView.ob; ! modificationTime = 178811719.6993369; state = 2; }; --- 1073,1077 ---- lineNumber = 30; location = MyOutlineView.ob; ! modificationTime = 180199587.540427; state = 2; }; *************** *** 1024,1032 **** hitCount = 1; location = ""; ! modificationTime = 178811719.699463; state = 2; symbolName = "-[SQLDocument onSelectCreateTableMenuItem:]"; }; ! CEE985DA0A0F94A3006A9A83 /* SqlDocument.m:540 */ = { isa = PBXFileBreakpoint; actions = ( --- 1085,1093 ---- hitCount = 1; location = ""; ! modificationTime = 180199587.540703; state = 2; symbolName = "-[SQLDocument onSelectCreateTableMenuItem:]"; }; ! CEE985DA0A0F94A3006A9A83 /* SqlDocument.m:587 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 1038,1044 **** functionName = "-onSelectCreateTableMenuItem:"; hitCount = 1; ! lineNumber = 540; location = SqlDocument.ob; ! modificationTime = 178811719.699317; state = 2; }; --- 1099,1105 ---- functionName = "-onSelectCreateTableMenuItem:"; hitCount = 1; ! lineNumber = 587; location = SqlDocument.ob; ! modificationTime = 180199587.540342; state = 2; }; *************** *** 1055,1059 **** lineNumber = 334; location = SqlDocument.ob; ! modificationTime = 178811719.699344; state = 2; }; --- 1116,1120 ---- lineNumber = 334; location = SqlDocument.ob; ! modificationTime = 180199587.540468; state = 2; }; *************** *** 1067,1086 **** hitCount = 1; location = ""; ! modificationTime = 178811796.0626161; state = 1; symbolName = help; }; - CEFCE83B0A228546008F2667 /* Schema.m:382 */ = { - isa = PBXSymbolicBreakpoint; - actions = ( - ); - breakpointStyle = 0; - continueAfterActions = 0; - delayBeforeContinue = 0; - hitCount = 1; - location = pgCocoaDB; - modificationTime = 178811719.699482; - state = 1; - symbolName = "Schema.m:382"; - }; } --- 1128,1134 ---- hitCount = 1; location = ""; ! modificationTime = 180199795.338346; state = 1; symbolName = help; }; } |
From: Neil T. <nt...@us...> - 2006-09-17 15:41:52
|
Update of /cvsroot/pgsqlformac/QueryTool/English.lproj/SqlDocument.nib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2726/English.lproj/SqlDocument.nib Modified Files: keyedobjects.nib Log Message: Add automatic result column resizing. Index: keyedobjects.nib =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/English.lproj/SqlDocument.nib/keyedobjects.nib,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 Binary files /tmp/cvsC23463 and /tmp/cvs5RqKc6 differ |
Update of /cvsroot/pgsqlformac/pgCocoaDB In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv819 Modified Files: ChangeLog Connection.h Connection.m DataSource.h DataSource.m Database.h Database.m Databases.h Databases.m ExplorerModel.h ExplorerModel.m ExplorerNode.h ExplorerNode.m Field.h Field.m Fields.h Fields.m PGCocoaDB.h Record.h Record.m RecordSet.h RecordSet.m Schema.h Schema.m Table.h Table.m Log Message: Fix bug explorer not showing and PGCocoa.h being pulled into query tool. Index: Connection.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Connection.m,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** Connection.m 4 Sep 2006 14:24:35 -0000 1.17 --- Connection.m 14 Sep 2006 12:26:46 -0000 1.18 *************** *** 7,13 **** // - #import "Connection.h" #include "libpq-fe.h" #import <sys/time.h> // When a pqlib notice is raised this function gets called --- 7,14 ---- // #include "libpq-fe.h" #import <sys/time.h> + #import "Connection.h" + #import "PGCocoaDB.h" // When a pqlib notice is raised this function gets called *************** *** 123,127 **** - (BOOL)connectUsingString:(NSString *)aConnectionString { ! [self setConnectionString:aConnectionString]; return [self connect]; } --- 124,129 ---- - (BOOL)connectUsingString:(NSString *)aConnectionString { ! [self setConnectionString:aConnectionString]; ! NSLog(@"Connection: connectUsingString: %@", aConnectionString); return [self connect]; } *************** *** 524,528 **** [field setName:[NSString stringWithFormat:@"%s", PQfname(res, x)]]; [field setValue:[NSString stringWithFormat:@"%s", PQgetvalue(res, i, x)]]; ! //[field setDataType:(int)PQftype(res, i)]; } } --- 526,530 ---- [field setName:[NSString stringWithFormat:@"%s", PQfname(res, x)]]; [field setValue:[NSString stringWithFormat:@"%s", PQgetvalue(res, i, x)]]; ! [field setFormat:[NSString stringWithFormat:@"%s", PQfformat(res, x)]]; } } Index: Connection.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Connection.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Connection.h 1 Sep 2006 00:53:35 -0000 1.9 --- Connection.h 14 Sep 2006 12:26:46 -0000 1.10 *************** *** 11,15 **** #import "Recordset.h" #import "Databases.h" - #import "PGCocoaDB.h" @interface Connection : NSObject --- 11,14 ---- Index: DataSource.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/DataSource.m,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DataSource.m 11 Aug 2006 18:01:25 -0000 1.3 --- DataSource.m 14 Sep 2006 12:26:46 -0000 1.4 *************** *** 7,10 **** --- 7,11 ---- #import <Cocoa/Cocoa.h> + #import "PGCocoaDB.h" #import "DataSource.h" Index: ExplorerModel.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ExplorerModel.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ExplorerModel.h 4 Sep 2006 14:24:35 -0000 1.7 --- ExplorerModel.h 14 Sep 2006 12:26:46 -0000 1.8 *************** *** 12,18 **** #import "Connection.h" #import "Schema.h" - #import "PGCocoaDB.h" ! enum thread_status { None, Running, Done, Error }; @interface ExplorerModel : NSObject --- 12,17 ---- #import "Connection.h" #import "Schema.h" ! enum ThreadStatus { None, Running, Done, Error }; @interface ExplorerModel : NSObject *************** *** 29,33 **** NSLock *explorerThreadStatusLock; ! enum thread_status explorerThreadStatus; } --- 28,32 ---- NSLock *explorerThreadStatusLock; ! enum ThreadStatus explorerThreadStatus; } *************** *** 42,46 **** - (bool)showPGTemps; - (bool)showPublic; ! - (unsigned int)explorerThreadStatus; - (void)setShowInformationSchema:(bool)newValue; --- 41,45 ---- - (bool)showPGTemps; - (bool)showPublic; ! - (enum ThreadStatus)explorerThreadStatus; - (void)setShowInformationSchema:(bool)newValue; *************** *** 49,53 **** - (void)setShowPGTemps:(bool)newValue; - (void)setShowPublic:(bool)newValue; ! - (void)setExplorerThreadStatus:(unsigned int)newValue; // These methods get called because I am the datasource of the outline view. --- 48,52 ---- - (void)setShowPGTemps:(bool)newValue; - (void)setShowPublic:(bool)newValue; ! - (void)setExplorerThreadStatus:(enum ThreadStatus)newValue; // These methods get called because I am the datasource of the outline view. *************** *** 57,61 **** - (id)outlineView:(NSOutlineView *)outlineView objectValueForTableColumn:(NSTableColumn *)tableColumn byItem:(id)item; ! - (void)printLog; @end --- 56,60 ---- - (id)outlineView:(NSOutlineView *)outlineView objectValueForTableColumn:(NSTableColumn *)tableColumn byItem:(id)item; ! - (BOOL)printLog; @end Index: ExplorerModel.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ExplorerModel.m,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ExplorerModel.m 4 Sep 2006 14:24:35 -0000 1.16 --- ExplorerModel.m 14 Sep 2006 12:26:46 -0000 1.17 *************** *** 7,10 **** --- 7,11 ---- // + #import "PGCocoaDB.h" #import "ExplorerModel.h" #import "RecordSet.h" *************** *** 315,321 **** connectionString = theConnection; ! explorerThreadStatusLock = [[NSLock alloc] init]; ! explorerThreadStatus = 0; showInformationSchema = TRUE; --- 316,324 ---- connectionString = theConnection; ! [connectionString retain]; ! NSLog(@"ExplorerModel: initWithConnectionString: theConnection"); ! explorerThreadStatusLock = [[NSLock alloc] init]; ! explorerThreadStatus = None; showInformationSchema = TRUE; *************** *** 517,523 **** } ! - (unsigned int)explorerThreadStatus { ! unsigned int status; [explorerThreadStatusLock lock]; --- 520,526 ---- } ! - (enum ThreadStatus)explorerThreadStatus { ! enum ThreadStatus status; [explorerThreadStatusLock lock]; *************** *** 552,556 **** } ! - (void)setExplorerThreadStatus:(unsigned int)newValue { [explorerThreadStatusLock lock]; --- 555,559 ---- } ! - (void)setExplorerThreadStatus:(enum ThreadStatus)newValue { [explorerThreadStatusLock lock]; *************** *** 568,572 **** return [rootNode childAtIndex:i]; } ! if([self explorerThreadStatus] != 3) { return 0; --- 571,575 ---- return [rootNode childAtIndex:i]; } ! if([self explorerThreadStatus] != Done) { return 0; *************** *** 581,585 **** // Returns YES if the node has children ! if([self explorerThreadStatus] != 3) { return NO; --- 584,588 ---- // Returns YES if the node has children ! if([self explorerThreadStatus] != Done) { return NO; *************** *** 597,601 **** return [rootNode childrenCount]; } ! if([self explorerThreadStatus] != 3) { return 0; --- 600,604 ---- return [rootNode childrenCount]; } ! if([self explorerThreadStatus] != Done) { return 0; *************** *** 633,643 **** } ! - (void)printLog { ! if([self explorerThreadStatus] == 3) { ! [rootNode printLog:0];; } NSLog(@"Explorer still Loading."); } --- 636,648 ---- } ! - (BOOL)printLog { ! if([self explorerThreadStatus] == Done) { ! [rootNode printLog:0]; ! return YES; } NSLog(@"Explorer still Loading."); + return NO; } Index: DataSource.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/DataSource.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DataSource.h 30 Aug 2006 15:48:49 -0000 1.2 --- DataSource.h 14 Sep 2006 12:26:46 -0000 1.3 *************** *** 7,11 **** #import <Foundation/Foundation.h> - #import "PGCocoaDB.h" @interface DataSource : NSObject --- 7,10 ---- Index: RecordSet.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/RecordSet.m,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** RecordSet.m 12 Aug 2006 16:38:16 -0000 1.5 --- RecordSet.m 14 Sep 2006 12:26:46 -0000 1.6 *************** *** 7,10 **** --- 7,11 ---- #import <Cocoa/Cocoa.h> + #import "PGCocoaDB.h" #import "RecordSet.h" Index: RecordSet.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/RecordSet.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RecordSet.h 30 Aug 2006 15:48:49 -0000 1.2 --- RecordSet.h 14 Sep 2006 12:26:46 -0000 1.3 *************** *** 8,12 **** #import <Foundation/Foundation.h> #import "Record.h" - #import "PGCocoaDB.h" @interface RecordSet : NSObject --- 8,11 ---- Index: Fields.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Fields.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Fields.h 30 Aug 2006 15:48:49 -0000 1.3 --- Fields.h 14 Sep 2006 12:26:46 -0000 1.4 *************** *** 8,12 **** #import <Foundation/Foundation.h> #import "Field.h" - #import "PGCocoaDB.h" @interface Fields : NSObject --- 8,11 ---- Index: Database.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Database.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Database.h 30 Aug 2006 15:48:49 -0000 1.2 --- Database.h 14 Sep 2006 12:26:46 -0000 1.3 *************** *** 8,12 **** #import <Foundation/Foundation.h> - #import "PGCocoaDB.h" @interface Database : NSObject --- 8,11 ---- Index: Fields.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Fields.m,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Fields.m 12 Aug 2006 16:38:16 -0000 1.6 --- Fields.m 14 Sep 2006 12:26:46 -0000 1.7 *************** *** 7,10 **** --- 7,11 ---- #import <Cocoa/Cocoa.h> + #import "PGCocoaDB.h" #import "Field.h" #import "Fields.h" Index: Database.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Database.m,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Database.m 11 Aug 2006 18:01:25 -0000 1.2 --- Database.m 14 Sep 2006 12:26:46 -0000 1.3 *************** *** 7,10 **** --- 7,11 ---- // + #import "PGCocoaDB.h" #import "Database.h" Index: Record.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Record.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Record.h 30 Aug 2006 15:48:49 -0000 1.3 --- Record.h 14 Sep 2006 12:26:46 -0000 1.4 *************** *** 9,13 **** #import <Foundation/Foundation.h> #import "Fields.h" - #import "PGCocoaDB.h" @interface Record : NSObject --- 9,12 ---- Index: Schema.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Schema.m,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** Schema.m 1 Sep 2006 00:53:35 -0000 1.22 --- Schema.m 14 Sep 2006 12:26:46 -0000 1.23 *************** *** 10,13 **** --- 10,14 ---- // + #import "PGCocoaDB.h" #import "Schema.h" *************** *** 26,29 **** --- 27,31 ---- connection = [[Connection alloc] init]; [connection connectUsingString:theConnectionString]; + NSLog(@"Schema: initWithConnectionString: %@", theConnectionString); publicSchemaName = [[NSString alloc] initWithString: @"public"]; Index: Schema.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Schema.h,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Schema.h 1 Sep 2006 00:53:35 -0000 1.14 --- Schema.h 14 Sep 2006 12:26:46 -0000 1.15 *************** *** 11,15 **** #import "Recordset.h" #import "Connection.h" - #import "PGCocoaDB.h" @interface Schema : NSObject { --- 11,14 ---- Index: PGCocoaDB.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/PGCocoaDB.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PGCocoaDB.h 30 Aug 2006 15:48:49 -0000 1.1 --- PGCocoaDB.h 14 Sep 2006 12:26:46 -0000 1.2 *************** *** 11,14 **** // To tell other that parpameters are purposesly not used and remove compiler warning. #define UNUSED_PARAMETER(x) (void)(x) ! // Global Project Definitions --- 11,14 ---- // To tell other that parpameters are purposesly not used and remove compiler warning. #define UNUSED_PARAMETER(x) (void)(x) ! // #define UNUSED_PARAMETER(x) // Global Project Definitions Index: Field.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Field.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Field.h 30 Aug 2006 15:48:49 -0000 1.2 --- Field.h 14 Sep 2006 12:26:46 -0000 1.3 *************** *** 8,12 **** #import <Foundation/Foundation.h> - #import "PGCocoaDB.h" @interface Field : NSObject --- 8,11 ---- *************** *** 14,17 **** --- 13,17 ---- NSString *name; NSString *value; + NSString *format; } - (NSString *)name; *************** *** 21,23 **** --- 21,26 ---- - (void)setValue:(NSString *)newValue; + - (NSString *)format; + - (void)setFormat:(NSString *)newValue; + @end Index: Field.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Field.m,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Field.m 4 Sep 2006 14:24:35 -0000 1.5 --- Field.m 14 Sep 2006 12:26:46 -0000 1.6 *************** *** 7,10 **** --- 7,11 ---- // + #import "PGCocoaDB.h" #import "Field.h" *************** *** 60,63 **** --- 61,74 ---- } + - (NSString *)format + { + return format; + } + - (void)setFormat:(NSString *)newValue; + { + [format release]; + format = newValue; + [format retain]; + } @end Index: Table.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Table.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Table.h 30 Aug 2006 15:48:49 -0000 1.2 --- Table.h 14 Sep 2006 12:26:46 -0000 1.3 *************** *** 8,12 **** #import <Foundation/Foundation.h> - #import "PGCocoaDB.h" @interface Table : NSObject --- 8,11 ---- Index: Record.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Record.m,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Record.m 11 Aug 2006 18:01:25 -0000 1.3 --- Record.m 14 Sep 2006 12:26:46 -0000 1.4 *************** *** 7,10 **** --- 7,11 ---- // + #import "PGCocoaDB.h" #import "Record.h" Index: ChangeLog =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ChangeLog,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** ChangeLog 4 Sep 2006 14:34:28 -0000 1.22 --- ChangeLog 14 Sep 2006 12:26:46 -0000 1.23 *************** *** 1,2 **** --- 1,9 ---- + 2006-09-04 09:34 ntiffin + + * ChangeLog, pgCocoaDBn.xcodeproj/ntiffin.mode1, + pgCocoaDBn.xcodeproj/ntiffin.pbxuser, + pgCocoaDBn.xcodeproj/project.pbxproj: Add fink based XCode + project. + 2006-09-04 09:24 ntiffin Index: Table.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Table.m,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Table.m 12 Aug 2006 16:38:16 -0000 1.4 --- Table.m 14 Sep 2006 12:26:46 -0000 1.5 *************** *** 7,13 **** // #import "Table.h" - @implementation Table --- 7,13 ---- // + #import "PGCocoaDB.h" #import "Table.h" @implementation Table *************** *** 27,36 **** } ! - (NSString *)schema { return [[schema retain] autorelease]; } ! - (void)setSchema:(NSString *)newSchema { ! if (schema != newSchema) { [schema release]; schema = [newSchema copy]; --- 27,39 ---- } ! - (NSString *)schema ! { return [[schema retain] autorelease]; } ! - (void)setSchema:(NSString *)newSchema ! { ! if (schema != newSchema) ! { [schema release]; schema = [newSchema copy]; *************** *** 38,47 **** } ! - (NSString *)name { return [[name retain] autorelease]; } ! - (void)setName:(NSString *)newName { ! if (name != newName) { [name release]; name = [newName copy]; --- 41,53 ---- } ! - (NSString *)name ! { return [[name retain] autorelease]; } ! - (void)setName:(NSString *)newName ! { ! if (name != newName) ! { [name release]; name = [newName copy]; *************** *** 49,58 **** } ! - (NSString *)owner { return [[owner retain] autorelease]; } ! - (void)setOwner:(NSString *)newOwner { ! if (owner != newOwner) { [owner release]; owner = [newOwner copy]; --- 55,67 ---- } ! - (NSString *)owner ! { return [[owner retain] autorelease]; } ! - (void)setOwner:(NSString *)newOwner ! { ! if (owner != newOwner) ! { [owner release]; owner = [newOwner copy]; *************** *** 60,84 **** } ! - (BOOL)hasIndexes { return hasIndexes; } ! - (void)setHasIndexes:(BOOL)newHasIndexes { hasIndexes = newHasIndexes; } ! - (BOOL)hasRules { return hasRules; } ! - (void)setHasRules:(BOOL)newHasRules { hasRules = newHasRules; } ! - (BOOL)hasTriggers { return hasTriggers; } ! - (void)setHasTriggers:(BOOL)newHasTriggers { hasTriggers = newHasTriggers; } --- 69,99 ---- } ! - (BOOL)hasIndexes ! { return hasIndexes; } ! - (void)setHasIndexes:(BOOL)newHasIndexes ! { hasIndexes = newHasIndexes; } ! - (BOOL)hasRules ! { return hasRules; } ! - (void)setHasRules:(BOOL)newHasRules ! { hasRules = newHasRules; } ! - (BOOL)hasTriggers ! { return hasTriggers; } ! - (void)setHasTriggers:(BOOL)newHasTriggers ! { hasTriggers = newHasTriggers; } Index: ExplorerNode.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ExplorerNode.m,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ExplorerNode.m 1 Sep 2006 00:53:35 -0000 1.7 --- ExplorerNode.m 14 Sep 2006 12:26:46 -0000 1.8 *************** *** 7,10 **** --- 7,11 ---- // + #import "PGCocoaDB.h" #import "ExplorerNode.h" Index: Databases.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Databases.m,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Databases.m 12 Aug 2006 16:38:16 -0000 1.4 --- Databases.m 14 Sep 2006 12:26:46 -0000 1.5 *************** *** 7,10 **** --- 7,11 ---- #import <Cocoa/Cocoa.h> + #import "PGCocoaDB.h" #import "Database.h" #import "Databases.h" Index: ExplorerNode.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ExplorerNode.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ExplorerNode.h 1 Sep 2006 00:53:35 -0000 1.5 --- ExplorerNode.h 14 Sep 2006 12:26:46 -0000 1.6 *************** *** 8,12 **** #import <Cocoa/Cocoa.h> - #import "PGCocoaDB.h" @interface ExplorerNode : NSObject { --- 8,11 ---- Index: Databases.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Databases.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Databases.h 30 Aug 2006 15:48:49 -0000 1.2 --- Databases.h 14 Sep 2006 12:26:46 -0000 1.3 *************** *** 8,12 **** #import <Foundation/Foundation.h> #import "Database.h" - #import "PGCocoaDB.h" @interface Databases : NSObject --- 8,11 ---- |
From: Neil T. <nt...@us...> - 2006-09-14 12:26:49
|
Update of /cvsroot/pgsqlformac/pgCocoaDB/UnitTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv819/UnitTest Modified Files: pgCocoaDBSchemaTest.m Log Message: Fix bug explorer not showing and PGCocoa.h being pulled into query tool. Index: pgCocoaDBSchemaTest.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/UnitTest/pgCocoaDBSchemaTest.m,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** pgCocoaDBSchemaTest.m 1 Sep 2006 00:53:35 -0000 1.18 --- pgCocoaDBSchemaTest.m 14 Sep 2006 12:26:46 -0000 1.19 *************** *** 21,25 **** NSString* const PGCocoaTestPassword = @""; NSString* const PGCocoaTestHost = @"localhost"; ! NSString* const PGCocoaTestPort = @"5432"; // Uncomment the following line to automatically drop and recreate the test database. --- 21,25 ---- NSString* const PGCocoaTestPassword = @""; NSString* const PGCocoaTestHost = @"localhost"; ! NSString* const PGCocoaTestPort = @"5433"; // Uncomment the following line to automatically drop and recreate the test database. *************** *** 973,980 **** { ExplorerModel *explorer =[[ExplorerModel alloc] initWithConnectionString: [conn makeConnectionString]]; - //ExplorerModel *explorer = [[ExplorerModel alloc] initWithConnection:conn]; [explorer buildSchema:nil]; ! [explorer printLog]; [explorer autorelease]; } --- 973,981 ---- { ExplorerModel *explorer =[[ExplorerModel alloc] initWithConnectionString: [conn makeConnectionString]]; [explorer buildSchema:nil]; + NSLog(@"Explorer Build Complete"); ! BOOL results = [explorer printLog]; ! STAssertTrue(results == YES, @"Tried to Print Log when Thread not complete."); [explorer autorelease]; } |
From: Neil T. <nt...@us...> - 2006-09-14 12:26:49
|
Update of /cvsroot/pgsqlformac/pgCocoaDB/pgCocoaDBn.xcodeproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv819/pgCocoaDBn.xcodeproj Modified Files: ntiffin.mode1 ntiffin.pbxuser Log Message: Fix bug explorer not showing and PGCocoa.h being pulled into query tool. Index: ntiffin.mode1 =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/pgCocoaDBn.xcodeproj/ntiffin.mode1,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ntiffin.mode1 4 Sep 2006 14:34:29 -0000 1.1 --- ntiffin.mode1 14 Sep 2006 12:26:46 -0000 1.2 *************** *** 210,216 **** <dict> <key>PBXProjectModuleGUID</key> ! <string>CE8AEB960AA9C266005BF320</string> <key>PBXProjectModuleLabel</key> ! <string>Connection.m</string> <key>PBXSplitModuleInNavigatorKey</key> <dict> --- 210,216 ---- <dict> <key>PBXProjectModuleGUID</key> ! <string>CE4918160AB9815400B03B4A</string> <key>PBXProjectModuleLabel</key> ! <string>ExplorerModel.m</string> <key>PBXSplitModuleInNavigatorKey</key> <dict> *************** *** 218,231 **** <dict> <key>PBXProjectModuleGUID</key> ! <string>CE8AEB970AA9C266005BF320</string> <key>PBXProjectModuleLabel</key> ! <string>Connection.m</string> <key>_historyCapacity</key> <integer>0</integer> <key>bookmark</key> ! <string>CE1527530AAA3CFC00AE7D87</string> <key>history</key> <array> ! <string>CE8AEC4B0AA9D216005BF320</string> </array> </dict> --- 218,231 ---- <dict> <key>PBXProjectModuleGUID</key> ! <string>CE4918170AB9815400B03B4A</string> <key>PBXProjectModuleLabel</key> ! <string>ExplorerModel.m</string> <key>_historyCapacity</key> <integer>0</integer> <key>bookmark</key> ! <string>CE4918180AB9815400B03B4A</string> <key>history</key> <array> ! <string>CE4917DB0AB97FBD00B03B4A</string> </array> </dict> *************** *** 239,247 **** <dict> <key>Frame</key> ! <string>{{0, 20}, {973, 780}}</string> <key>PBXModuleWindowStatusBarHidden2</key> <false/> <key>RubberWindowFrame</key> ! <string>49 -34 973 821 0 0 1440 878 </string> </dict> </dict> --- 239,247 ---- <dict> <key>Frame</key> ! <string>{{0, 20}, {898, 763}}</string> <key>PBXModuleWindowStatusBarHidden2</key> <false/> <key>RubberWindowFrame</key> ! <string>452 42 898 804 0 0 1440 878 </string> </dict> </dict> *************** *** 329,332 **** --- 329,334 ---- <array> <array> + <integer>30</integer> + <integer>5</integer> <integer>0</integer> </array> *************** *** 433,439 **** <key>TableOfContents</key> <array> ! <string>CE1527510AAA3CFC00AE7D87</string> <string>1CE0B1FE06471DED0097A5F4</string> ! <string>CE1527520AAA3CFC00AE7D87</string> <string>1CE0B20306471E060097A5F4</string> <string>1CE0B20506471E060097A5F4</string> --- 435,441 ---- <key>TableOfContents</key> <array> ! <string>CE4918140AB9815400B03B4A</string> <string>1CE0B1FE06471DED0097A5F4</string> ! <string>CE4918150AB9815400B03B4A</string> <string>1CE0B20306471E060097A5F4</string> <string>1CE0B20506471E060097A5F4</string> *************** *** 554,558 **** <true/> <key>TimeStamp</key> ! <real>178928650.72187501</real> <key>ToolbarDisplayMode</key> <integer>1</integer> --- 556,560 ---- <true/> <key>TimeStamp</key> ! <real>179929428.51703799</real> <key>ToolbarDisplayMode</key> <integer>1</integer> *************** *** 569,573 **** <key>WindowOrderList</key> <array> ! <string>CE8AEB960AA9C266005BF320</string> <string>/Maui-Dev/PostgreSQL_Tools_cvs/pgCocoaDB/pgCocoaDBn.xcodeproj</string> </array> --- 571,576 ---- <key>WindowOrderList</key> <array> ! <string>CE4918120AB9814F00B03B4A</string> ! <string>CE4918160AB9815400B03B4A</string> <string>/Maui-Dev/PostgreSQL_Tools_cvs/pgCocoaDB/pgCocoaDBn.xcodeproj</string> </array> *************** *** 603,607 **** <string>{{0, 0}, {1178, 119}}</string> <key>RubberWindowFrame</key> ! <string>128 163 1178 697 0 0 1440 878 </string> </dict> <key>Module</key> --- 606,610 ---- <string>{{0, 0}, {1178, 119}}</string> <key>RubberWindowFrame</key> ! <string>23 153 1178 697 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 616,620 **** <dict> <key>PBXBuildLogShowsTranscriptDefaultKey</key> ! <string>{{0, 297}, {1178, 235}}</string> <key>PBXProjectModuleGUID</key> <string>XCMainBuildResultsModuleGUID</string> --- 619,623 ---- <dict> <key>PBXBuildLogShowsTranscriptDefaultKey</key> ! <string>{{0, 250}, {1178, 282}}</string> <key>PBXProjectModuleGUID</key> <string>XCMainBuildResultsModuleGUID</string> *************** *** 631,635 **** <string>{{0, 124}, {1178, 532}}</string> <key>RubberWindowFrame</key> ! <string>128 163 1178 697 0 0 1440 878 </string> </dict> <key>Module</key> --- 634,638 ---- <string>{{0, 124}, {1178, 532}}</string> <key>RubberWindowFrame</key> ! <string>23 153 1178 697 0 0 1440 878 </string> </dict> <key>Module</key> *************** *** 653,658 **** <key>TableOfContents</key> <array> ! <string>CEEBC0360A967AF80039F258</string> ! <string>CE0DD60E0AA8CAD3001A1F51</string> <string>1CD0528F0623707200166675</string> <string>XCMainBuildResultsModuleGUID</string> --- 656,661 ---- <key>TableOfContents</key> <array> ! <string>CE4918120AB9814F00B03B4A</string> ! <string>CE4918130AB9814F00B03B4A</string> <string>1CD0528F0623707200166675</string> <string>XCMainBuildResultsModuleGUID</string> *************** *** 661,669 **** <string>xcode.toolbar.config.build</string> <key>WindowString</key> ! <string>128 163 1178 697 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CEEBC0360A967AF80039F258</string> <key>WindowToolIsVisible</key> ! <true/> </dict> <dict> --- 664,672 ---- <string>xcode.toolbar.config.build</string> <key>WindowString</key> ! <string>23 153 1178 697 0 0 1440 878 </string> <key>WindowToolGUID</key> ! <string>CE4918120AB9814F00B03B4A</string> <key>WindowToolIsVisible</key> ! <false/> </dict> <dict> Index: ntiffin.pbxuser =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/pgCocoaDBn.xcodeproj/ntiffin.pbxuser,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ntiffin.pbxuser 4 Sep 2006 14:34:29 -0000 1.1 --- ntiffin.pbxuser 14 Sep 2006 12:26:46 -0000 1.2 *************** *** 3,7 **** 0867D690FE84028FC02AAC07 /* Project object */ = { activeBuildConfigurationName = Development; ! activeTarget = 8DC2EF4F0486A6940098B216 /* pgCocoaDB */; addToTargets = ( 8DC2EF4F0486A6940098B216 /* pgCocoaDB */, --- 3,7 ---- 0867D690FE84028FC02AAC07 /* Project object */ = { activeBuildConfigurationName = Development; ! activeTarget = CE9B2B9309B9ECB100877A0E /* UnitTest */; addToTargets = ( 8DC2EF4F0486A6940098B216 /* pgCocoaDB */, *************** *** 9,20 **** ); breakpoints = ( ! CE3C3A9B0A0FEAD100556EA0 /* Schema.m:617 */, ! CEFCE8060A227563008F2667 /* Schema.m:643 */, ! CE69B18D09D6DBB000910AD1 /* ExplorerModel.m:148 */, ! CEDA95EE0A28EEA900A0CDA5 /* Schema.m:148 */, ! CE0EBCA90A4D8CE700003FF7 /* ExplorerModel.m:158 */, ! CE8EC82E0A6ACD4400F1C11C /* Schema.m:159 */, ! CE8EC8490A6ACDB700F1C11C /* Schema.m:161 */, ! CE0EBCE50A4D954D00003FF7 /* Connection.m:145 */, ); breakpointsGroup = CE6F0E3A09B0C991003C4F9B /* XCBreakpointsBucket */; --- 9,20 ---- ); breakpoints = ( ! CE3C3A9B0A0FEAD100556EA0 /* Schema.m:619 */, ! CEFCE8060A227563008F2667 /* Schema.m:645 */, ! CE69B18D09D6DBB000910AD1 /* ExplorerModel.m:149 */, ! CEDA95EE0A28EEA900A0CDA5 /* Schema.m:150 */, ! CE0EBCA90A4D8CE700003FF7 /* ExplorerModel.m:159 */, ! CE8EC82E0A6ACD4400F1C11C /* Schema.m:161 */, ! CE8EC8490A6ACDB700F1C11C /* Schema.m:163 */, ! CE0EBCE50A4D954D00003FF7 /* Connection.m:147 */, ); breakpointsGroup = CE6F0E3A09B0C991003C4F9B /* XCBreakpointsBucket */; *************** *** 127,136 **** ); }; ! PBXPerProjectTemplateStateSaveDate = 178928650; ! PBXWorkspaceStateSaveDate = 178928650; }; perUserProjectItems = { ! CE1527530AAA3CFC00AE7D87 /* PBXTextBookmark */ = CE1527530AAA3CFC00AE7D87 /* PBXTextBookmark */; ! CE8AEC4B0AA9D216005BF320 /* PBXTextBookmark */ = CE8AEC4B0AA9D216005BF320 /* PBXTextBookmark */; }; sourceControlManager = CED43E1C09B0992E0096CAC2 /* Source Control */; --- 127,136 ---- ); }; ! PBXPerProjectTemplateStateSaveDate = 179928865; ! PBXWorkspaceStateSaveDate = 179928865; }; perUserProjectItems = { ! CE4917DB0AB97FBD00B03B4A /* PBXBookmark */ = CE4917DB0AB97FBD00B03B4A /* PBXBookmark */; ! CE4918180AB9815400B03B4A /* PBXTextBookmark */ = CE4918180AB9815400B03B4A /* PBXTextBookmark */; }; sourceControlManager = CED43E1C09B0992E0096CAC2 /* Source Control */; *************** *** 140,146 **** 4330338F066135480037D932 /* Connection.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {617, 1484}}"; ! sepNavSelRange = "{732, 0}"; ! sepNavVisRect = "{{0, 248}, {617, 695}}"; sepNavWindowFrame = "{{80, 55}, {662, 768}}"; }; --- 140,146 ---- 4330338F066135480037D932 /* Connection.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {617, 1470}}"; ! sepNavSelRange = "{250, 0}"; ! sepNavVisRect = "{{0, 0}, {617, 695}}"; sepNavWindowFrame = "{{80, 55}, {662, 768}}"; }; *************** *** 148,155 **** 43303390066135480037D932 /* Connection.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {944, 9394}}"; ! sepNavSelRange = "{1596, 59}"; ! sepNavVisRect = "{{0, 980}, {928, 748}}"; ! sepNavWindowFrame = "{{49, -34}, {973, 821}}"; }; }; --- 148,155 ---- 43303390066135480037D932 /* Connection.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {944, 9422}}"; ! sepNavSelRange = "{219, 0}"; ! sepNavVisRect = "{{0, 0}, {928, 748}}"; ! sepNavWindowFrame = "{{242, -5}, {973, 821}}"; }; }; *************** *** 157,161 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {934, 680}}"; ! sepNavSelRange = "{213, 0}"; sepNavVisRect = "{{0, 0}, {934, 680}}"; sepNavWindowFrame = "{{264, 80}, {979, 753}}"; --- 157,161 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {934, 680}}"; ! sepNavSelRange = "{192, 0}"; sepNavVisRect = "{{0, 0}, {934, 680}}"; sepNavWindowFrame = "{{264, 80}, {979, 753}}"; *************** *** 165,169 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {1075, 748}}"; ! sepNavSelRange = "{330, 2}"; sepNavVisRect = "{{0, 0}, {1075, 748}}"; sepNavWindowFrame = "{{15, 52}, {1120, 821}}"; --- 165,169 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {1075, 748}}"; ! sepNavSelRange = "{183, 0}"; sepNavVisRect = "{{0, 0}, {1075, 748}}"; sepNavWindowFrame = "{{15, 52}, {1120, 821}}"; *************** *** 173,177 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {934, 680}}"; ! sepNavSelRange = "{218, 0}"; sepNavVisRect = "{{0, 0}, {934, 680}}"; sepNavWindowFrame = "{{38, 99}, {979, 753}}"; --- 173,177 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {934, 680}}"; ! sepNavSelRange = "{196, 0}"; sepNavVisRect = "{{0, 0}, {934, 680}}"; sepNavWindowFrame = "{{38, 99}, {979, 753}}"; *************** *** 180,186 **** 433033AA066135EA0037D932 /* Databases.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {682, 1022}}"; ! sepNavSelRange = "{913, 2}"; ! sepNavVisRect = "{{0, 268}, {682, 754}}"; sepNavWindowFrame = "{{38, 25}, {727, 827}}"; }; --- 180,186 ---- 433033AA066135EA0037D932 /* Databases.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {682, 1036}}"; ! sepNavSelRange = "{187, 0}"; ! sepNavVisRect = "{{0, 0}, {682, 754}}"; sepNavWindowFrame = "{{38, 25}, {727, 827}}"; }; *************** *** 189,193 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {934, 680}}"; ! sepNavSelRange = "{198, 0}"; sepNavVisRect = "{{0, 0}, {934, 680}}"; sepNavWindowFrame = "{{61, 78}, {979, 753}}"; --- 189,193 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {934, 680}}"; ! sepNavSelRange = "{176, 0}"; sepNavVisRect = "{{0, 0}, {934, 680}}"; sepNavWindowFrame = "{{61, 78}, {979, 753}}"; *************** *** 196,202 **** 433033AC066135EA0037D932 /* DataSource.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {981, 1022}}"; ! sepNavSelRange = "{525, 6}"; ! sepNavVisRect = "{{0, 246}, {981, 446}}"; sepNavWindowFrame = "{{153, 31}, {558, 716}}"; }; --- 196,202 ---- 433033AC066135EA0037D932 /* DataSource.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {513, 1036}}"; ! sepNavSelRange = "{188, 0}"; ! sepNavVisRect = "{{0, 0}, {513, 643}}"; sepNavWindowFrame = "{{153, 31}, {558, 716}}"; }; *************** *** 205,209 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {934, 680}}"; ! sepNavSelRange = "{202, 0}"; sepNavVisRect = "{{0, 0}, {934, 680}}"; sepNavWindowFrame = "{{585, 109}, {979, 753}}"; --- 205,209 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {934, 680}}"; ! sepNavSelRange = "{181, 0}"; sepNavVisRect = "{{0, 0}, {934, 680}}"; sepNavWindowFrame = "{{585, 109}, {979, 753}}"; *************** *** 212,218 **** 433033AE066135EA0037D932 /* Field.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {934, 896}}"; ! sepNavSelRange = "{758, 0}"; ! sepNavVisRect = "{{0, 216}, {934, 680}}"; sepNavWindowFrame = "{{318, 54}, {979, 753}}"; }; --- 212,218 ---- 433033AE066135EA0037D932 /* Field.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {934, 1050}}"; ! sepNavSelRange = "{188, 0}"; ! sepNavVisRect = "{{0, 16}, {934, 680}}"; sepNavWindowFrame = "{{318, 54}, {979, 753}}"; }; *************** *** 221,225 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {934, 680}}"; ! sepNavSelRange = "{212, 0}"; sepNavVisRect = "{{0, 0}, {934, 680}}"; sepNavWindowFrame = "{{127, 50}, {979, 753}}"; --- 221,225 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {934, 680}}"; ! sepNavSelRange = "{190, 0}"; sepNavVisRect = "{{0, 0}, {934, 680}}"; sepNavWindowFrame = "{{127, 50}, {979, 753}}"; *************** *** 228,234 **** 433033B0066135EA0037D932 /* Fields.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {799, 1414}}"; ! sepNavSelRange = "{1471, 0}"; ! sepNavVisRect = "{{0, 935}, {799, 421}}"; sepNavWindowFrame = "{{30, 384}, {844, 494}}"; }; --- 228,234 ---- 433033B0066135EA0037D932 /* Fields.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {799, 1428}}"; ! sepNavSelRange = "{184, 0}"; ! sepNavVisRect = "{{0, 43}, {799, 421}}"; sepNavWindowFrame = "{{30, 384}, {844, 494}}"; }; *************** *** 237,241 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {820, 686}}"; ! sepNavSelRange = "{223, 0}"; sepNavVisRect = "{{0, 0}, {820, 686}}"; sepNavWindowFrame = "{{431, 61}, {865, 759}}"; --- 237,241 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {820, 686}}"; ! sepNavSelRange = "{201, 0}"; sepNavVisRect = "{{0, 0}, {820, 686}}"; sepNavWindowFrame = "{{431, 61}, {865, 759}}"; *************** *** 245,249 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {513, 643}}"; ! sepNavSelRange = "{251, 12}"; sepNavVisRect = "{{0, 0}, {513, 643}}"; sepNavWindowFrame = "{{78, 74}, {558, 716}}"; --- 245,249 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {513, 643}}"; ! sepNavSelRange = "{170, 0}"; sepNavVisRect = "{{0, 0}, {513, 643}}"; sepNavWindowFrame = "{{78, 74}, {558, 716}}"; *************** *** 253,257 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {1322, 637}}"; ! sepNavSelRange = "{216, 0}"; sepNavVisRect = "{{0, 0}, {1322, 637}}"; sepNavWindowFrame = "{{603, 107}, {1367, 710}}"; --- 253,257 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {1322, 637}}"; ! sepNavSelRange = "{194, 0}"; sepNavVisRect = "{{0, 0}, {1322, 637}}"; sepNavWindowFrame = "{{603, 107}, {1367, 710}}"; *************** *** 260,266 **** 433033B4066135EA0037D932 /* RecordSet.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {682, 994}}"; ! sepNavSelRange = "{882, 12}"; ! sepNavVisRect = "{{0, 240}, {682, 754}}"; sepNavWindowFrame = "{{651, 25}, {727, 827}}"; }; --- 260,266 ---- 433033B4066135EA0037D932 /* RecordSet.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {682, 1008}}"; ! sepNavSelRange = "{187, 0}"; ! sepNavVisRect = "{{0, 0}, {682, 754}}"; sepNavWindowFrame = "{{651, 25}, {727, 827}}"; }; *************** *** 269,273 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {513, 643}}"; ! sepNavSelRange = "{202, 0}"; sepNavVisRect = "{{0, 0}, {513, 643}}"; sepNavWindowFrame = "{{106, 36}, {558, 716}}"; --- 269,273 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {513, 643}}"; ! sepNavSelRange = "{181, 0}"; sepNavVisRect = "{{0, 0}, {513, 643}}"; sepNavWindowFrame = "{{106, 36}, {558, 716}}"; *************** *** 276,282 **** 433033B6066135EA0037D932 /* Table.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {981, 1232}}"; ! sepNavSelRange = "{188, 0}"; ! sepNavVisRect = "{{0, 96}, {981, 446}}"; sepNavWindowFrame = "{{615, 95}, {700, 728}}"; }; --- 276,282 ---- 433033B6066135EA0037D932 /* Table.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {655, 1442}}"; ! sepNavSelRange = "{1311, 0}"; ! sepNavVisRect = "{{0, 37}, {655, 655}}"; sepNavWindowFrame = "{{615, 95}, {700, 728}}"; }; *************** *** 285,289 **** activeExec = 0; }; ! CE0EBCA90A4D8CE700003FF7 /* ExplorerModel.m:158 */ = { isa = PBXFileBreakpoint; actions = ( --- 285,289 ---- activeExec = 0; }; ! CE0EBCA90A4D8CE700003FF7 /* ExplorerModel.m:159 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 295,304 **** functionName = "-createTriggerNodes:fromSchemaName:fromTableName:"; hitCount = 1; ! lineNumber = 158; location = UnitTest; ! modificationTime = 178901168.413864; state = 2; }; ! CE0EBCE50A4D954D00003FF7 /* Connection.m:145 */ = { isa = PBXFileBreakpoint; actions = ( --- 295,304 ---- functionName = "-createTriggerNodes:fromSchemaName:fromTableName:"; hitCount = 1; ! lineNumber = 159; location = UnitTest; ! modificationTime = 179883208.228205; state = 2; }; ! CE0EBCE50A4D954D00003FF7 /* Connection.m:147 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 310,329 **** functionName = "-disconnect"; hitCount = 1; ! lineNumber = 145; location = UnitTest; ! modificationTime = 178901168.445203; state = 2; }; ! CE1527530AAA3CFC00AE7D87 /* PBXTextBookmark */ = { ! isa = PBXTextBookmark; ! fRef = 43303390066135480037D932 /* Connection.m */; ! name = "pgconn = (PGconn *)PQconnectdb([connectionString cString]);"; ! rLen = 59; ! rLoc = 1596; ! rType = 0; ! vrLen = 1514; ! vrLoc = 1312; ! }; ! CE3C3A9B0A0FEAD100556EA0 /* Schema.m:617 */ = { isa = PBXFileBreakpoint; actions = ( --- 310,319 ---- functionName = "-disconnect"; hitCount = 1; ! lineNumber = 147; location = UnitTest; ! modificationTime = 179883208.258848; state = 2; }; ! CE3C3A9B0A0FEAD100556EA0 /* Schema.m:619 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 335,344 **** functionName = "-getTableSQLFromSchema:fromTableName:pretty:"; hitCount = 1; ! lineNumber = 617; location = UnitTest; ! modificationTime = 178901168.362356; state = 2; }; ! CE69B18D09D6DBB000910AD1 /* ExplorerModel.m:148 */ = { isa = PBXFileBreakpoint; actions = ( --- 325,348 ---- functionName = "-getTableSQLFromSchema:fromTableName:pretty:"; hitCount = 1; ! lineNumber = 619; location = UnitTest; ! modificationTime = 179883208.216068; state = 2; }; ! CE4917DB0AB97FBD00B03B4A /* PBXBookmark */ = { ! isa = PBXBookmark; ! fRef = CED62FF809C48EDE00B6B94B /* ExplorerModel.m */; ! }; ! CE4918180AB9815400B03B4A /* PBXTextBookmark */ = { ! isa = PBXTextBookmark; ! fRef = CED62FF809C48EDE00B6B94B /* ExplorerModel.m */; ! name = "ExplorerModel.m: 10"; ! rLen = 0; ! rLoc = 173; ! rType = 0; ! vrLen = 1344; ! vrLoc = 0; ! }; ! CE69B18D09D6DBB000910AD1 /* ExplorerModel.m:149 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 350,372 **** functionName = "-createColumnNodes:fromSchemaName:fromTableName:"; hitCount = 1; ! lineNumber = 148; location = UnitTest; ! modificationTime = 178901168.37516; state = 2; }; CE6BF7F009B26F98000856E5 /* Schema.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {956, 1036}}"; ! sepNavSelRange = "{676, 0}"; ! sepNavVisRect = "{{0, 83}, {900, 549}}"; ! sepNavWindowFrame = "{{528, 158}, {945, 622}}"; }; }; CE6BF7F109B26F98000856E5 /* Schema.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1131, 15008}}"; ! sepNavSelRange = "{17193, 2}"; ! sepNavVisRect = "{{0, 8042}, {1131, 87}}"; ! sepNavWindowFrame = "{{193, 36}, {1239, 801}}"; }; }; --- 354,376 ---- functionName = "-createColumnNodes:fromSchemaName:fromTableName:"; hitCount = 1; ! lineNumber = 149; location = UnitTest; ! modificationTime = 179883208.221565; state = 2; }; CE6BF7F009B26F98000856E5 /* Schema.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {956, 1022}}"; ! sepNavSelRange = "{247, 0}"; ! sepNavVisRect = "{{0, 0}, {900, 549}}"; ! sepNavWindowFrame = "{{479, 194}, {945, 622}}"; }; }; CE6BF7F109B26F98000856E5 /* Schema.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1194, 15036}}"; ! sepNavSelRange = "{307, 0}"; ! sepNavVisRect = "{{0, 0}, {1194, 728}}"; ! sepNavWindowFrame = "{{177, 60}, {1239, 801}}"; }; }; *************** *** 375,386 **** name = pgCocoaDBn; objects = ( ! CE69B18D09D6DBB000910AD1 /* ExplorerModel.m:148 */, ! CE3C3A9B0A0FEAD100556EA0 /* Schema.m:617 */, ! CEDA95EE0A28EEA900A0CDA5 /* Schema.m:148 */, ! CEFCE8060A227563008F2667 /* Schema.m:643 */, ! CE0EBCA90A4D8CE700003FF7 /* ExplorerModel.m:158 */, ! CE0EBCE50A4D954D00003FF7 /* Connection.m:145 */, ! CE8EC82E0A6ACD4400F1C11C /* Schema.m:159 */, ! CE8EC8490A6ACDB700F1C11C /* Schema.m:161 */, ); }; --- 379,390 ---- name = pgCocoaDBn; objects = ( ! CE69B18D09D6DBB000910AD1 /* ExplorerModel.m:149 */, ! CE3C3A9B0A0FEAD100556EA0 /* Schema.m:619 */, ! CEDA95EE0A28EEA900A0CDA5 /* Schema.m:150 */, ! CEFCE8060A227563008F2667 /* Schema.m:645 */, ! CE0EBCA90A4D8CE700003FF7 /* ExplorerModel.m:159 */, ! CE0EBCE50A4D954D00003FF7 /* Connection.m:147 */, ! CE8EC82E0A6ACD4400F1C11C /* Schema.m:161 */, ! CE8EC8490A6ACDB700F1C11C /* Schema.m:163 */, ); }; *************** *** 388,392 **** uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {937, 795}}"; ! sepNavSelRange = "{249, 16}"; sepNavVisRect = "{{0, 0}, {937, 795}}"; sepNavWindowFrame = "{{15, 5}, {982, 868}}"; --- 392,396 ---- uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {937, 795}}"; ! sepNavSelRange = "{241, 0}"; sepNavVisRect = "{{0, 0}, {937, 795}}"; sepNavWindowFrame = "{{15, 5}, {982, 868}}"; *************** *** 401,415 **** }; }; ! CE8AEC4B0AA9D216005BF320 /* PBXTextBookmark */ = { ! isa = PBXTextBookmark; ! fRef = 43303390066135480037D932 /* Connection.m */; ! name = "pgconn = (PGconn *)PQconnectdb([connectionString cString]);"; ! rLen = 59; ! rLoc = 1596; ! rType = 0; ! vrLen = 1514; ! vrLoc = 1312; ! }; ! CE8EC82E0A6ACD4400F1C11C /* Schema.m:159 */ = { isa = PBXFileBreakpoint; actions = ( --- 405,409 ---- }; }; ! CE8EC82E0A6ACD4400F1C11C /* Schema.m:161 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 421,430 **** functionName = "-getIndexCountFromSchema:fromTableName:"; hitCount = 1; ! lineNumber = 159; location = UnitTest; ! modificationTime = 178901168.4196; state = 2; }; ! CE8EC8490A6ACDB700F1C11C /* Schema.m:161 */ = { isa = PBXFileBreakpoint; actions = ( --- 415,424 ---- functionName = "-getIndexCountFromSchema:fromTableName:"; hitCount = 1; ! lineNumber = 161; location = UnitTest; ! modificationTime = 179883208.230746; state = 2; }; ! CE8EC8490A6ACDB700F1C11C /* Schema.m:163 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 435,441 **** fileReference = CE6BF7F109B26F98000856E5 /* Schema.m */; hitCount = 1; ! lineNumber = 161; location = UnitTest; ! modificationTime = 178901168.437952; state = 2; }; --- 429,435 ---- fileReference = CE6BF7F109B26F98000856E5 /* Schema.m */; hitCount = 1; ! lineNumber = 163; location = UnitTest; ! modificationTime = 179883208.255722; state = 2; }; *************** *** 453,459 **** CE9B2BC709B9F19800877A0E /* pgCocoaDBSchemaTest.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1171, 14532}}"; ! sepNavSelRange = "{35475, 0}"; ! sepNavVisRect = "{{0, 3733}, {1171, 641}}"; sepNavWindowFrame = "{{153, 101}, {1216, 714}}"; }; --- 447,453 ---- CE9B2BC709B9F19800877A0E /* pgCocoaDBSchemaTest.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1171, 14546}}"; ! sepNavSelRange = "{35828, 0}"; ! sepNavVisRect = "{{0, 13365}, {1171, 641}}"; sepNavWindowFrame = "{{153, 101}, {1216, 714}}"; }; *************** *** 473,478 **** CED62FF709C48EDE00B6B94B /* ExplorerModel.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {728, 868}}"; ! sepNavSelRange = "{335, 4}"; sepNavVisRect = "{{0, 0}, {629, 684}}"; sepNavWindowFrame = "{{24, 76}, {674, 757}}"; --- 467,472 ---- CED62FF709C48EDE00B6B94B /* ExplorerModel.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {728, 854}}"; ! sepNavSelRange = "{276, 0}"; sepNavVisRect = "{{0, 0}, {629, 684}}"; sepNavWindowFrame = "{{24, 76}, {674, 757}}"; *************** *** 481,495 **** CED62FF809C48EDE00B6B94B /* ExplorerModel.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1141, 9030}}"; ! sepNavSelRange = "{13580, 0}"; ! sepNavVisRect = "{{0, 4612}, {1141, 721}}"; ! sepNavWindowFrame = "{{228, 57}, {1186, 794}}"; }; }; CED62FFE09C48EED00B6B94B /* ExplorerNode.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {553, 868}}"; ! sepNavSelRange = "{813, 7}"; ! sepNavVisRect = "{{0, 5}, {553, 688}}"; sepNavWindowFrame = "{{536, 51}, {598, 761}}"; }; --- 475,489 ---- CED62FF809C48EDE00B6B94B /* ExplorerModel.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {1004, 9100}}"; ! sepNavSelRange = "{173, 0}"; ! sepNavVisRect = "{{0, 0}, {853, 731}}"; ! sepNavWindowFrame = "{{452, 42}, {898, 804}}"; }; }; CED62FFE09C48EED00B6B94B /* ExplorerNode.h */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {553, 854}}"; ! sepNavSelRange = "{174, 0}"; ! sepNavVisRect = "{{0, 0}, {553, 688}}"; sepNavWindowFrame = "{{536, 51}, {598, 761}}"; }; *************** *** 497,507 **** CED62FFF09C48EED00B6B94B /* ExplorerNode.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {611, 2884}}"; ! sepNavSelRange = "{982, 0}"; ! sepNavVisRect = "{{0, 790}, {611, 638}}"; sepNavWindowFrame = "{{85, 16}, {656, 711}}"; }; }; ! CEDA95EE0A28EEA900A0CDA5 /* Schema.m:148 */ = { isa = PBXFileBreakpoint; actions = ( --- 491,501 ---- CED62FFF09C48EED00B6B94B /* ExplorerNode.m */ = { uiCtxt = { ! sepNavIntBoundsRect = "{{0, 0}, {611, 2898}}"; ! sepNavSelRange = "{164, 0}"; ! sepNavVisRect = "{{0, 0}, {611, 638}}"; sepNavWindowFrame = "{{85, 16}, {656, 711}}"; }; }; ! CEDA95EE0A28EEA900A0CDA5 /* Schema.m:150 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 513,522 **** functionName = "-getFunctionNamesFromSchema:"; hitCount = 1; ! lineNumber = 148; location = UnitTest; ! modificationTime = 178901168.382072; state = 2; }; ! CEFCE8060A227563008F2667 /* Schema.m:643 */ = { isa = PBXFileBreakpoint; actions = ( --- 507,516 ---- functionName = "-getFunctionNamesFromSchema:"; hitCount = 1; ! lineNumber = 150; location = UnitTest; ! modificationTime = 179883208.224352; state = 2; }; ! CEFCE8060A227563008F2667 /* Schema.m:645 */ = { isa = PBXFileBreakpoint; actions = ( *************** *** 528,534 **** functionName = "-getTableSQLFromSchema:fromTableName:pretty:"; hitCount = 1; ! lineNumber = 643; location = UnitTest; ! modificationTime = 178901168.368852; state = 2; }; --- 522,528 ---- functionName = "-getTableSQLFromSchema:fromTableName:pretty:"; hitCount = 1; ! lineNumber = 645; location = UnitTest; ! modificationTime = 179883208.218809; state = 2; }; |
From: Neil T. <nt...@us...> - 2006-09-13 23:13:17
|
Update of /cvsroot/pgsqlformac/QueryTool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11081 Added Files: QueryTool.h Log Message: Add missing global definition. --- NEW FILE: QueryTool.h --- /* * QueryTool.h * Query Tool for PostgresN * * Created by Neil Tiffin on 8/30/06. * Copyright 2006 Performance Champions, Inc.. All rights reserved. * */ // To tell others that parameters are purposely not used and remove compiler warning. #define UNUSED_PARAMETER(x) (void)(x) // Global Project Definitions |
From: Neil T. <nt...@us...> - 2006-09-04 14:51:16
|
Update of /cvsroot/pgsqlformac/QueryTool/QueryToolForPostgresN.xcodeproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1134/QueryToolForPostgresN.xcodeproj Added Files: ntiffin.mode1 ntiffin.pbxuser project.pbxproj Log Message: Add fink based XCode project file. --- NEW FILE: project.pbxproj --- // !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 42; objects = { /* Begin PBXBuildFile section */ 4327F01807CEB4AA00AB5CFE /* Help in Resources */ = {isa = PBXBuildFile; fileRef = 4327F01607CEB4AA00AB5CFE /* Help */; }; 4327F0B507CEBD0000AB5CFE /* about_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0A307CEBD0000AB5CFE /* about_32.png */; }; 4327F0B607CEBD0000AB5CFE /* connect_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0A407CEBD0000AB5CFE /* connect_32.png */; }; 4327F0B707CEBD0000AB5CFE /* connect_dlg.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0A507CEBD0000AB5CFE /* connect_dlg.png */; }; 4327F0B807CEBD0000AB5CFE /* copy_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0A607CEBD0000AB5CFE /* copy_32.png */; }; 4327F0B907CEBD0000AB5CFE /* cut_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0A707CEBD0000AB5CFE /* cut_32.png */; }; 4327F0BA07CEBD0000AB5CFE /* disconnect_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0A807CEBD0000AB5CFE /* disconnect_32.png */; }; 4327F0BB07CEBD0000AB5CFE /* export_data_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0A907CEBD0000AB5CFE /* export_data_32.png */; }; 4327F0BC07CEBD0000AB5CFE /* icon_postgres.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0AA07CEBD0000AB5CFE /* icon_postgres.png */; }; 4327F0BD07CEBD0000AB5CFE /* icon_query_tool.icns in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0AB07CEBD0000AB5CFE /* icon_query_tool.icns */; }; 4327F0BE07CEBD0000AB5CFE /* open_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0AC07CEBD0000AB5CFE /* open_32.png */; }; 4327F0BF07CEBD0000AB5CFE /* paste_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0AD07CEBD0000AB5CFE /* paste_32.png */; }; 4327F0C007CEBD0000AB5CFE /* prefs_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0AE07CEBD0000AB5CFE /* prefs_32.png */; }; 4327F0C107CEBD0000AB5CFE /* print_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0AF07CEBD0000AB5CFE /* print_32.png */; }; 4327F0C207CEBD0000AB5CFE /* run_script_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0B007CEBD0000AB5CFE /* run_script_32.png */; }; 4327F0C307CEBD0000AB5CFE /* savas_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0B107CEBD0000AB5CFE /* savas_32.png */; }; 4327F0C407CEBD0000AB5CFE /* save_32.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0B207CEBD0000AB5CFE /* save_32.png */; }; 4327F0C507CEBD0000AB5CFE /* sql-doc.icns in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0B307CEBD0000AB5CFE /* sql-doc.icns */; }; 4327F0C607CEBD0000AB5CFE /* sql-doc.png in Resources */ = {isa = PBXBuildFile; fileRef = 4327F0B407CEBD0000AB5CFE /* sql-doc.png */; }; 4350CCBD0665349000244060 /* DataSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 4350CCB90665349000244060 /* DataSource.h */; }; 4350CCBE0665349000244060 /* DataSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 4350CCBA0665349000244060 /* DataSource.m */; }; 4350CCBF0665349000244060 /* SqlDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = 4350CCBB0665349000244060 /* SqlDocument.h */; }; 4350CCC00665349000244060 /* SqlDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 4350CCBC0665349000244060 /* SqlDocument.m */; }; 4350CCCE0665350000244060 /* SqlDocument.nib in Resources */ = {isa = PBXBuildFile; fileRef = 4350CCCC0665350000244060 /* SqlDocument.nib */; }; 4350CD2E0665399300244060 /* SqlMenuCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = 4350CD2C0665399300244060 /* SqlMenuCategory.h */; }; 4350CD2F0665399300244060 /* SqlMenuCategory.m in Sources */ = {isa = PBXBuildFile; fileRef = 4350CD2D0665399300244060 /* SqlMenuCategory.m */; }; 4350CE0A066540D500244060 /* SqlToolbarCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = 4350CE08066540D500244060 /* SqlToolbarCategory.h */; }; 4350CE0B066540D500244060 /* SqlToolbarCategory.m in Sources */ = {isa = PBXBuildFile; fileRef = 4350CE09066540D500244060 /* SqlToolbarCategory.m */; }; 439FF4FD093FFDB3003D928C /* pgCocoaDB.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 439FF4F3093FFDB3003D928C /* pgCocoaDB.framework */; }; 439FF50D093FFDDD003D928C /* pgCocoaDB.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 439FF4F3093FFDB3003D928C /* pgCocoaDB.framework */; }; 8D15AC290486D014006FF6A4 /* Query Tool for Postgres_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = 32DBCF750370BD2300C91783 /* Query Tool for Postgres_Prefix.pch */; }; 8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */; }; 8D15AC2D0486D014006FF6A4 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B6FDCFA73011CA2CEA /* MainMenu.nib */; }; 8D15AC2F0486D014006FF6A4 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165FFE840EACC02AAC07 /* InfoPlist.strings */; }; 8D15AC320486D014006FF6A4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2A37F4B0FDCFA73011CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; 8D15AC340486D014006FF6A4 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */; }; CE20F46A0A0E9A760066662F /* MyOutlineView.h in Headers */ = {isa = PBXBuildFile; fileRef = CE20F4680A0E9A760066662F /* MyOutlineView.h */; }; CE20F46B0A0E9A760066662F /* MyOutlineView.m in Sources */ = {isa = PBXBuildFile; fileRef = CE20F4690A0E9A760066662F /* MyOutlineView.m */; }; CE30F7BE0A48E28900E2E75E /* cancel_script_32.png in Resources */ = {isa = PBXBuildFile; fileRef = CE30F7BD0A48E28900E2E75E /* cancel_script_32.png */; }; CE352DE10AA4F97500616541 /* Preferences.nib in Resources */ = {isa = PBXBuildFile; fileRef = CE352DDF0AA4F97500616541 /* Preferences.nib */; }; CE74E3560AA5BAC500D0835A /* QueryTool.h in Headers */ = {isa = PBXBuildFile; fileRef = CE74E3550AA5BAC500D0835A /* QueryTool.h */; }; CE7EA7D20AA4FD150017B3FB /* PreferenceController.m in Sources */ = {isa = PBXBuildFile; fileRef = CE7EA7D00AA4FD150017B3FB /* PreferenceController.m */; }; CE7EA7D30AA4FD150017B3FB /* PreferenceController.h in Headers */ = {isa = PBXBuildFile; fileRef = CE7EA7D10AA4FD150017B3FB /* PreferenceController.h */; }; CE7EA7DB0AA4FDB60017B3FB /* AppController.m in Sources */ = {isa = PBXBuildFile; fileRef = CE7EA7D90AA4FDB60017B3FB /* AppController.m */; }; CE7EA7DC0AA4FDB60017B3FB /* AppController.h in Headers */ = {isa = PBXBuildFile; fileRef = CE7EA7DA0AA4FDB60017B3FB /* AppController.h */; }; CE9630E60A8E0E310091AA4F /* libpq.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = CE9630E50A8E0E310091AA4F /* libpq.dylib */; }; CE9630EA0A8E0E870091AA4F /* libssl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = CE9630E90A8E0E870091AA4F /* libssl.dylib */; }; CE9630EE0A8E0ED20091AA4F /* libcrypto.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = CE9630ED0A8E0ED20091AA4F /* libcrypto.dylib */; }; CEA465A80A6A8D67008C43D1 /* MyResultsView.h in Headers */ = {isa = PBXBuildFile; fileRef = CEA465A60A6A8D67008C43D1 /* MyResultsView.h */; }; CEA465A90A6A8D67008C43D1 /* MyResultsView.m in Sources */ = {isa = PBXBuildFile; fileRef = CEA465A70A6A8D67008C43D1 /* MyResultsView.m */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ 4327F0CC07CEBD3500AB5CFE /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; dstPath = ""; dstSubfolderSpec = 10; files = ( 439FF50D093FFDDD003D928C /* pgCocoaDB.framework in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ 089C1660FE840EACC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; 2A37F4B0FDCFA73011CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; 2A37F4B7FDCFA73011CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; }; 2A37F4BAFDCFA73011CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = English; path = English.lproj/Credits.rtf; sourceTree = "<group>"; }; 2A37F4C4FDCFA73011CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; 2A37F4C5FDCFA73011CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; 32DBCF750370BD2300C91783 /* Query Tool for Postgres_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Query Tool for Postgres_Prefix.pch"; sourceTree = "<group>"; }; 4327F01607CEB4AA00AB5CFE /* Help */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Help; sourceTree = "<group>"; }; 4327F0A307CEBD0000AB5CFE /* about_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = about_32.png; sourceTree = "<group>"; }; 4327F0A407CEBD0000AB5CFE /* connect_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = connect_32.png; sourceTree = "<group>"; }; 4327F0A507CEBD0000AB5CFE /* connect_dlg.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = connect_dlg.png; sourceTree = "<group>"; }; 4327F0A607CEBD0000AB5CFE /* copy_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = copy_32.png; sourceTree = "<group>"; }; 4327F0A707CEBD0000AB5CFE /* cut_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = cut_32.png; sourceTree = "<group>"; }; 4327F0A807CEBD0000AB5CFE /* disconnect_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = disconnect_32.png; sourceTree = "<group>"; }; 4327F0A907CEBD0000AB5CFE /* export_data_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = export_data_32.png; sourceTree = "<group>"; }; 4327F0AA07CEBD0000AB5CFE /* icon_postgres.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_postgres.png; sourceTree = "<group>"; }; 4327F0AB07CEBD0000AB5CFE /* icon_query_tool.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = icon_query_tool.icns; sourceTree = "<group>"; }; 4327F0AC07CEBD0000AB5CFE /* open_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = open_32.png; sourceTree = "<group>"; }; 4327F0AD07CEBD0000AB5CFE /* paste_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = paste_32.png; sourceTree = "<group>"; }; 4327F0AE07CEBD0000AB5CFE /* prefs_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = prefs_32.png; sourceTree = "<group>"; }; 4327F0AF07CEBD0000AB5CFE /* print_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = print_32.png; sourceTree = "<group>"; }; 4327F0B007CEBD0000AB5CFE /* run_script_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = run_script_32.png; sourceTree = "<group>"; }; 4327F0B107CEBD0000AB5CFE /* savas_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = savas_32.png; sourceTree = "<group>"; }; 4327F0B207CEBD0000AB5CFE /* save_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = save_32.png; sourceTree = "<group>"; }; 4327F0B307CEBD0000AB5CFE /* sql-doc.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = "sql-doc.icns"; sourceTree = "<group>"; }; 4327F0B407CEBD0000AB5CFE /* sql-doc.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "sql-doc.png"; sourceTree = "<group>"; }; 4350CCB90665349000244060 /* DataSource.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DataSource.h; sourceTree = "<group>"; }; 4350CCBA0665349000244060 /* DataSource.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = DataSource.m; sourceTree = "<group>"; }; 4350CCBB0665349000244060 /* SqlDocument.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SqlDocument.h; sourceTree = "<group>"; }; 4350CCBC0665349000244060 /* SqlDocument.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SqlDocument.m; sourceTree = "<group>"; }; 4350CCCD0665350000244060 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/SqlDocument.nib; sourceTree = "<group>"; }; 4350CD2C0665399300244060 /* SqlMenuCategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SqlMenuCategory.h; sourceTree = "<group>"; }; 4350CD2D0665399300244060 /* SqlMenuCategory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SqlMenuCategory.m; sourceTree = "<group>"; }; 4350CE08066540D500244060 /* SqlToolbarCategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SqlToolbarCategory.h; sourceTree = "<group>"; }; 4350CE09066540D500244060 /* SqlToolbarCategory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SqlToolbarCategory.m; sourceTree = "<group>"; }; 439FF4F3093FFDB3003D928C /* pgCocoaDB.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = pgCocoaDB.framework; path = ../pgCocoaDB/build/Development/pgCocoaDB.framework; sourceTree = SOURCE_ROOT; }; 8D15AC360486D014006FF6A4 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; }; 8D15AC370486D014006FF6A4 /* Query Tool for Postgres.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Query Tool for Postgres.app"; sourceTree = BUILT_PRODUCTS_DIR; }; CE20F4680A0E9A760066662F /* MyOutlineView.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = MyOutlineView.h; sourceTree = "<group>"; }; CE20F4690A0E9A760066662F /* MyOutlineView.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = MyOutlineView.m; sourceTree = "<group>"; }; CE30F7BD0A48E28900E2E75E /* cancel_script_32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = cancel_script_32.png; sourceTree = "<group>"; }; CE352DE00AA4F97500616541 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/Preferences.nib; sourceTree = "<group>"; }; CE74E3550AA5BAC500D0835A /* QueryTool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QueryTool.h; sourceTree = "<group>"; }; CE7EA7D00AA4FD150017B3FB /* PreferenceController.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = PreferenceController.m; sourceTree = "<group>"; }; CE7EA7D10AA4FD150017B3FB /* PreferenceController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = PreferenceController.h; sourceTree = "<group>"; }; CE7EA7D90AA4FDB60017B3FB /* AppController.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = AppController.m; sourceTree = "<group>"; }; CE7EA7DA0AA4FDB60017B3FB /* AppController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = AppController.h; sourceTree = "<group>"; }; CE9630E50A8E0E310091AA4F /* libpq.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libpq.dylib; path = /sw/lib/libpq.dylib; sourceTree = "<absolute>"; }; CE9630E90A8E0E870091AA4F /* libssl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libssl.dylib; path = /sw/lib/libssl.dylib; sourceTree = "<absolute>"; }; CE9630ED0A8E0ED20091AA4F /* libcrypto.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcrypto.dylib; path = /sw/lib/libcrypto.dylib; sourceTree = "<absolute>"; }; CEA465A60A6A8D67008C43D1 /* MyResultsView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyResultsView.h; sourceTree = "<group>"; }; CEA465A70A6A8D67008C43D1 /* MyResultsView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyResultsView.m; sourceTree = "<group>"; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ 8D15AC330486D014006FF6A4 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 8D15AC340486D014006FF6A4 /* Cocoa.framework in Frameworks */, 439FF4FD093FFDB3003D928C /* pgCocoaDB.framework in Frameworks */, CE9630E60A8E0E310091AA4F /* libpq.dylib in Frameworks */, CE9630EA0A8E0E870091AA4F /* libssl.dylib in Frameworks */, CE9630EE0A8E0ED20091AA4F /* libcrypto.dylib in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 1058C7A6FEA54F5311CA2CBB /* Linked Frameworks */ = { isa = PBXGroup; children = ( 439FF4F3093FFDB3003D928C /* pgCocoaDB.framework */, 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */, ); name = "Linked Frameworks"; sourceTree = "<group>"; }; 1058C7A8FEA54F5311CA2CBB /* Other Frameworks */ = { isa = PBXGroup; children = ( 2A37F4C5FDCFA73011CA2CEA /* Foundation.framework */, 2A37F4C4FDCFA73011CA2CEA /* AppKit.framework */, ); name = "Other Frameworks"; sourceTree = "<group>"; }; 19C28FB0FE9D524F11CA2CBB /* Products */ = { isa = PBXGroup; children = ( 8D15AC370486D014006FF6A4 /* Query Tool for Postgres.app */, ); name = Products; sourceTree = "<group>"; }; 2A37F4AAFDCFA73011CA2CEA /* Query Tool for Postgres */ = { isa = PBXGroup; children = ( 2A37F4ABFDCFA73011CA2CEA /* Classes */, 2A37F4AFFDCFA73011CA2CEA /* Other Sources */, 2A37F4B8FDCFA73011CA2CEA /* Resources */, 2A37F4C3FDCFA73011CA2CEA /* Frameworks */, 19C28FB0FE9D524F11CA2CBB /* Products */, ); name = "Query Tool for Postgres"; sourceTree = "<group>"; }; 2A37F4ABFDCFA73011CA2CEA /* Classes */ = { isa = PBXGroup; children = ( CE74E3550AA5BAC500D0835A /* QueryTool.h */, CE7EA7D90AA4FDB60017B3FB /* AppController.m */, CE7EA7DA0AA4FDB60017B3FB /* AppController.h */, 4350CCB90665349000244060 /* DataSource.h */, 4350CCBA0665349000244060 /* DataSource.m */, CE20F4680A0E9A760066662F /* MyOutlineView.h */, CE20F4690A0E9A760066662F /* MyOutlineView.m */, CEA465A60A6A8D67008C43D1 /* MyResultsView.h */, CEA465A70A6A8D67008C43D1 /* MyResultsView.m */, CE7EA7D00AA4FD150017B3FB /* PreferenceController.m */, CE7EA7D10AA4FD150017B3FB /* PreferenceController.h */, 4350CCBB0665349000244060 /* SqlDocument.h */, 4350CCBC0665349000244060 /* SqlDocument.m */, 4350CD2C0665399300244060 /* SqlMenuCategory.h */, 4350CD2D0665399300244060 /* SqlMenuCategory.m */, 4350CE08066540D500244060 /* SqlToolbarCategory.h */, 4350CE09066540D500244060 /* SqlToolbarCategory.m */, ); name = Classes; sourceTree = "<group>"; }; 2A37F4AFFDCFA73011CA2CEA /* Other Sources */ = { isa = PBXGroup; children = ( 32DBCF750370BD2300C91783 /* Query Tool for Postgres_Prefix.pch */, 2A37F4B0FDCFA73011CA2CEA /* main.m */, ); name = "Other Sources"; sourceTree = "<group>"; }; 2A37F4B8FDCFA73011CA2CEA /* Resources */ = { isa = PBXGroup; children = ( 4327F0A307CEBD0000AB5CFE /* about_32.png */, CE30F7BD0A48E28900E2E75E /* cancel_script_32.png */, 4327F0A407CEBD0000AB5CFE /* connect_32.png */, 4327F0A507CEBD0000AB5CFE /* connect_dlg.png */, 4327F0A607CEBD0000AB5CFE /* copy_32.png */, 4327F0A707CEBD0000AB5CFE /* cut_32.png */, 4327F0A807CEBD0000AB5CFE /* disconnect_32.png */, 4327F0A907CEBD0000AB5CFE /* export_data_32.png */, 4327F0AA07CEBD0000AB5CFE /* icon_postgres.png */, 4327F0AB07CEBD0000AB5CFE /* icon_query_tool.icns */, 4327F0AC07CEBD0000AB5CFE /* open_32.png */, 4327F0AD07CEBD0000AB5CFE /* paste_32.png */, 4327F0AE07CEBD0000AB5CFE /* prefs_32.png */, 4327F0AF07CEBD0000AB5CFE /* print_32.png */, 4327F0B007CEBD0000AB5CFE /* run_script_32.png */, 4327F0B107CEBD0000AB5CFE /* savas_32.png */, 4327F0B207CEBD0000AB5CFE /* save_32.png */, 4327F0B307CEBD0000AB5CFE /* sql-doc.icns */, 4327F0B407CEBD0000AB5CFE /* sql-doc.png */, 4327F01607CEB4AA00AB5CFE /* Help */, 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */, 2A37F4B6FDCFA73011CA2CEA /* MainMenu.nib */, CE352DDF0AA4F97500616541 /* Preferences.nib */, 4350CCCC0665350000244060 /* SqlDocument.nib */, 8D15AC360486D014006FF6A4 /* Info.plist */, 089C165FFE840EACC02AAC07 /* InfoPlist.strings */, ); name = Resources; sourceTree = "<group>"; }; 2A37F4C3FDCFA73011CA2CEA /* Frameworks */ = { isa = PBXGroup; children = ( CE9630D60A8E0DA90091AA4F /* Libraries */, 1058C7A6FEA54F5311CA2CBB /* Linked Frameworks */, 1058C7A8FEA54F5311CA2CBB /* Other Frameworks */, ); name = Frameworks; sourceTree = "<group>"; }; CE9630D60A8E0DA90091AA4F /* Libraries */ = { isa = PBXGroup; children = ( CE9630ED0A8E0ED20091AA4F /* libcrypto.dylib */, CE9630E90A8E0E870091AA4F /* libssl.dylib */, CE9630E50A8E0E310091AA4F /* libpq.dylib */, ); name = Libraries; sourceTree = "<group>"; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ 8D15AC280486D014006FF6A4 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( 8D15AC290486D014006FF6A4 /* Query Tool for Postgres_Prefix.pch in Headers */, 4350CCBD0665349000244060 /* DataSource.h in Headers */, 4350CCBF0665349000244060 /* SqlDocument.h in Headers */, 4350CD2E0665399300244060 /* SqlMenuCategory.h in Headers */, 4350CE0A066540D500244060 /* SqlToolbarCategory.h in Headers */, CE20F46A0A0E9A760066662F /* MyOutlineView.h in Headers */, CEA465A80A6A8D67008C43D1 /* MyResultsView.h in Headers */, CE7EA7D30AA4FD150017B3FB /* PreferenceController.h in Headers */, CE7EA7DC0AA4FDB60017B3FB /* AppController.h in Headers */, CE74E3560AA5BAC500D0835A /* QueryTool.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ 8D15AC270486D014006FF6A4 /* Query Tool for Postgres */ = { isa = PBXNativeTarget; buildConfigurationList = 439C659A08ECF07900469809 /* Build configuration list for PBXNativeTarget "Query Tool for Postgres" */; buildPhases = ( 8D15AC280486D014006FF6A4 /* Headers */, 8D15AC2B0486D014006FF6A4 /* Resources */, 8D15AC300486D014006FF6A4 /* Sources */, 8D15AC330486D014006FF6A4 /* Frameworks */, 4327F0CC07CEBD3500AB5CFE /* CopyFiles */, ); buildRules = ( ); dependencies = ( ); name = "Query Tool for Postgres"; productInstallPath = "$(HOME)/Applications"; productName = "Query Tool for Postgres"; productReference = 8D15AC370486D014006FF6A4 /* Query Tool for Postgres.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 2A37F4A9FDCFA73011CA2CEA /* Project object */ = { isa = PBXProject; buildConfigurationList = 439C659E08ECF07900469809 /* Build configuration list for PBXProject "QueryToolForPostgresN" */; hasScannedForEncodings = 1; mainGroup = 2A37F4AAFDCFA73011CA2CEA /* Query Tool for Postgres */; projectDirPath = ""; targets = ( 8D15AC270486D014006FF6A4 /* Query Tool for Postgres */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ 8D15AC2B0486D014006FF6A4 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( 8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */, 8D15AC2D0486D014006FF6A4 /* MainMenu.nib in Resources */, 8D15AC2F0486D014006FF6A4 /* InfoPlist.strings in Resources */, 4350CCCE0665350000244060 /* SqlDocument.nib in Resources */, 4327F01807CEB4AA00AB5CFE /* Help in Resources */, 4327F0B507CEBD0000AB5CFE /* about_32.png in Resources */, 4327F0B607CEBD0000AB5CFE /* connect_32.png in Resources */, 4327F0B707CEBD0000AB5CFE /* connect_dlg.png in Resources */, 4327F0B807CEBD0000AB5CFE /* copy_32.png in Resources */, 4327F0B907CEBD0000AB5CFE /* cut_32.png in Resources */, 4327F0BA07CEBD0000AB5CFE /* disconnect_32.png in Resources */, 4327F0BB07CEBD0000AB5CFE /* export_data_32.png in Resources */, 4327F0BC07CEBD0000AB5CFE /* icon_postgres.png in Resources */, 4327F0BD07CEBD0000AB5CFE /* icon_query_tool.icns in Resources */, 4327F0BE07CEBD0000AB5CFE /* open_32.png in Resources */, 4327F0BF07CEBD0000AB5CFE /* paste_32.png in Resources */, 4327F0C007CEBD0000AB5CFE /* prefs_32.png in Resources */, 4327F0C107CEBD0000AB5CFE /* print_32.png in Resources */, 4327F0C207CEBD0000AB5CFE /* run_script_32.png in Resources */, 4327F0C307CEBD0000AB5CFE /* savas_32.png in Resources */, 4327F0C407CEBD0000AB5CFE /* save_32.png in Resources */, 4327F0C507CEBD0000AB5CFE /* sql-doc.icns in Resources */, 4327F0C607CEBD0000AB5CFE /* sql-doc.png in Resources */, CE30F7BE0A48E28900E2E75E /* cancel_script_32.png in Resources */, CE352DE10AA4F97500616541 /* Preferences.nib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ 8D15AC300486D014006FF6A4 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 8D15AC320486D014006FF6A4 /* main.m in Sources */, 4350CCBE0665349000244060 /* DataSource.m in Sources */, 4350CCC00665349000244060 /* SqlDocument.m in Sources */, 4350CD2F0665399300244060 /* SqlMenuCategory.m in Sources */, 4350CE0B066540D500244060 /* SqlToolbarCategory.m in Sources */, CE20F46B0A0E9A760066662F /* MyOutlineView.m in Sources */, CEA465A90A6A8D67008C43D1 /* MyResultsView.m in Sources */, CE7EA7D20AA4FD150017B3FB /* PreferenceController.m in Sources */, CE7EA7DB0AA4FDB60017B3FB /* AppController.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXVariantGroup section */ 089C165FFE840EACC02AAC07 /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = ( 089C1660FE840EACC02AAC07 /* English */, ); name = InfoPlist.strings; sourceTree = "<group>"; }; 2A37F4B6FDCFA73011CA2CEA /* MainMenu.nib */ = { isa = PBXVariantGroup; children = ( 2A37F4B7FDCFA73011CA2CEA /* English */, ); name = MainMenu.nib; sourceTree = "<group>"; }; 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */ = { isa = PBXVariantGroup; children = ( 2A37F4BAFDCFA73011CA2CEA /* English */, ); name = Credits.rtf; sourceTree = "<group>"; }; 4350CCCC0665350000244060 /* SqlDocument.nib */ = { isa = PBXVariantGroup; children = ( 4350CCCD0665350000244060 /* English */, ); name = SqlDocument.nib; sourceTree = "<group>"; }; CE352DDF0AA4F97500616541 /* Preferences.nib */ = { isa = PBXVariantGroup; children = ( CE352DE00AA4F97500616541 /* English */, ); name = Preferences.nib; sourceTree = "<group>"; }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ 439C659B08ECF07900469809 /* Development */ = { isa = XCBuildConfiguration; buildSettings = { ARCHS = ppc; COPY_PHASE_STRIP = NO; DEBUGGING_SYMBOLS = YES; FRAMEWORK_SEARCH_PATHS = ( ../pgCocoaDB/build/Development, "$(SRCROOT)/", ); GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_ENABLE_TRIGRAPHS = NO; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Query Tool for Postgres_Prefix.pch"; GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_CHECK_SWITCH_STATEMENTS = YES; GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES; GCC_WARN_MISSING_PARENTHESES = YES; GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES; GCC_WARN_PEDANTIC = NO; GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; GCC_WARN_UNINITIALIZED_AUTOS = NO; GCC_WARN_UNKNOWN_PRAGMAS = NO; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_LABEL = YES; GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VALUE = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ../pgCocoaDB; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Applications"; LIBRARY_SEARCH_PATHS = ( "/sw/lib/postgresql-8.1", /sw/lib, ); OPTIMIZATION_CFLAGS = "-O0"; OTHER_CFLAGS = ""; OTHER_LDFLAGS = ""; PRODUCT_NAME = "Query Tool for Postgres"; SECTORDER_FLAGS = ""; USER_HEADER_SEARCH_PATHS = "/sw/include/postgresql /sw/include"; WARNING_CFLAGS = ""; WRAPPER_EXTENSION = app; ZERO_LINK = YES; }; name = Development; }; 439C659C08ECF07900469809 /* Deployment */ = { isa = XCBuildConfiguration; buildSettings = { ARCHS = ppc; COPY_PHASE_STRIP = YES; FRAMEWORK_SEARCH_PATHS = ( ../pgCocoaDB/build/Deployment, "$(SRCROOT)/", ); GCC_ENABLE_FIX_AND_CONTINUE = NO; GCC_ENABLE_TRIGRAPHS = NO; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Query Tool for Postgres_Prefix.pch"; GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; GCC_WARN_UNKNOWN_PRAGMAS = NO; HEADER_SEARCH_PATHS = ../pgCocoaDB; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Applications"; LIBRARY_SEARCH_PATHS = ( "/sw/lib/postgresql-8.1", /sw/lib, ); OTHER_CFLAGS = ""; OTHER_LDFLAGS = ""; PRODUCT_NAME = "Query Tool for Postgres"; SECTORDER_FLAGS = ""; USER_HEADER_SEARCH_PATHS = "/sw/include/postgresql /sw/include"; WARNING_CFLAGS = ( "-Wmost", "-Wno-four-char-constants", "-Wno-unknown-pragmas", ); WRAPPER_EXTENSION = app; ZERO_LINK = NO; }; name = Deployment; }; 439C659D08ECF07900469809 /* Default */ = { isa = XCBuildConfiguration; buildSettings = { ARCHS = ppc; FRAMEWORK_SEARCH_PATHS = ( ../pgCocoaDB/build, "$(SRCROOT)", ); GCC_ENABLE_TRIGRAPHS = NO; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Query Tool for Postgres_Prefix.pch"; GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; GCC_WARN_UNKNOWN_PRAGMAS = NO; HEADER_SEARCH_PATHS = ../pgCocoaDB; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Applications"; LIBRARY_SEARCH_PATHS = ( "$(inherited)", /sw/lib, ); OTHER_CFLAGS = ""; OTHER_LDFLAGS = ""; PRODUCT_NAME = "Query Tool for Postgres"; SECTORDER_FLAGS = ""; WARNING_CFLAGS = ( "-Wmost", "-Wno-four-char-constants", "-Wno-unknown-pragmas", ); WRAPPER_EXTENSION = app; }; name = Default; }; 439C659F08ECF07900469809 /* Development */ = { isa = XCBuildConfiguration; buildSettings = { ARCHS = ( ppc, i386, ); LIBRARY_SEARCH_PATHS = ( "/sw/lib/postgresql-8.1", /sw/lib, ); MACOSX_DEPLOYMENT_TARGET = 10.4; SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; USER_HEADER_SEARCH_PATHS = "/sw/include/postgresql /sw/include"; }; name = Development; }; 439C65A008ECF07900469809 /* Deployment */ = { isa = XCBuildConfiguration; buildSettings = { ARCHS = ( ppc, i386, ); MACOSX_DEPLOYMENT_TARGET = 10.4; SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; }; name = Deployment; }; 439C65A108ECF07900469809 /* Default */ = { isa = XCBuildConfiguration; buildSettings = { ARCHS = ( ppc, i386, ); MACOSX_DEPLOYMENT_TARGET = 10.4; SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; }; name = Default; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 439C659A08ECF07900469809 /* Build configuration list for PBXNativeTarget "Query Tool for Postgres" */ = { isa = XCConfigurationList; buildConfigurations = ( 439C659B08ECF07900469809 /* Development */, 439C659C08ECF07900469809 /* Deployment */, 439C659D08ECF07900469809 /* Default */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Default; }; 439C659E08ECF07900469809 /* Build configuration list for PBXProject "QueryToolForPostgresN" */ = { isa = XCConfigurationList; buildConfigurations = ( 439C659F08ECF07900469809 /* Development */, 439C65A008ECF07900469809 /* Deployment */, 439C65A108ECF07900469809 /* Default */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Default; }; /* End XCConfigurationList section */ }; rootObject = 2A37F4A9FDCFA73011CA2CEA /* Project object */; } --- NEW FILE: ntiffin.mode1 --- <?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> [...1408 lines suppressed...] <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> --- NEW FILE: ntiffin.pbxuser --- // !$*UTF8*$! { 2A37F4A9FDCFA73011CA2CEA /* Project object */ = { activeBuildConfigurationName = Development; activeExecutable = CE4289930A0CEE90004B4161 /* Query Tool for Postgres */; activeTarget = 8D15AC270486D014006FF6A4 /* Query Tool for Postgres */; addToTargets = ( 8D15AC270486D014006FF6A4 /* Query Tool for Postgres */, ); breakpoints = ( CEE985C50A0F93CC006A9A83 /* -[SQLDocument onSelectCreateTableMenuItem:] */, CEE985970A0F81DF006A9A83 /* SqlDocument.m:538 */, CEE985DA0A0F94A3006A9A83 /* SqlDocument.m:540 */, CEFCE83A0A228526008F2667 /* help */, CEFCE83B0A228546008F2667 /* Schema.m:382 */, CE5711A40A28C65B001DD7C1 /* -[NSException raise] */, CE4488DB0A2B163C0052EBDB /* SqlDocument.m:926 */, CE0ABD830A30A5760031E54B /* SqlDocument.m:646 */, CEE985AD0A0F8708006A9A83 /* MyOutlineView.m:30 */, [...1047 lines suppressed...] hitCount = 1; location = ""; modificationTime = 178811796.0626161; state = 1; symbolName = help; }; CEFCE83B0A228546008F2667 /* Schema.m:382 */ = { isa = PBXSymbolicBreakpoint; actions = ( ); breakpointStyle = 0; continueAfterActions = 0; delayBeforeContinue = 0; hitCount = 1; location = pgCocoaDB; modificationTime = 178811719.699482; state = 1; symbolName = "Schema.m:382"; }; } |
From: Neil T. <nt...@us...> - 2006-09-04 14:51:15
|
Update of /cvsroot/pgsqlformac/QueryTool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1134 Modified Files: ChangeLog Log Message: Add fink based XCode project file. Index: ChangeLog =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/ChangeLog,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** ChangeLog 4 Sep 2006 14:22:07 -0000 1.17 --- ChangeLog 4 Sep 2006 14:51:13 -0000 1.18 *************** *** 1,7 **** ! 2006-08-31 19:56 ntiffin ! * ChangeLog, SqlDocument.m, Help/.DS_Store, Help/index.html: Fix ! for PGconn not being thread safe. Migrate to new PQconnectdb API. ! Add help text. 2006-08-30 16:25 ntiffin --- 1,9 ---- ! 2006-09-04 09:22 ntiffin ! * AppController.m, ChangeLog, PreferenceController.h, ! PreferenceController.m, SqlDocument.m, TODO.txt, ! English.lproj/SqlDocument.nib/info.nib, ! English.lproj/SqlDocument.nib/keyedobjects.nib: Move Keywords to ! and refactor preferences. 2006-08-30 16:25 ntiffin |
From: Neil T. <nt...@us...> - 2006-09-04 14:39:09
|
Update of /cvsroot/pgsqlformac/QueryTool/QueryToolForPostgresN.xcodeproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28960/QueryToolForPostgresN.xcodeproj Log Message: Directory /cvsroot/pgsqlformac/QueryTool/QueryToolForPostgresN.xcodeproj added to the repository |
From: Neil T. <nt...@us...> - 2006-09-04 14:34:32
|
Update of /cvsroot/pgsqlformac/pgCocoaDB In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27125 Modified Files: ChangeLog Log Message: Add fink based XCode project. Index: ChangeLog =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ChangeLog,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** ChangeLog 4 Sep 2006 14:24:35 -0000 1.21 --- ChangeLog 4 Sep 2006 14:34:28 -0000 1.22 *************** *** 1,2 **** --- 1,7 ---- + 2006-09-04 09:24 ntiffin + + * ChangeLog, Connection.m, ExplorerModel.h, ExplorerModel.m, + Field.m: Add retain to thread to fix crash. + 2006-08-31 19:53 ntiffin |
From: Neil T. <nt...@us...> - 2006-09-04 14:25:59
|
Update of /cvsroot/pgsqlformac/pgCocoaDB/pgCocoaDBn.xcodeproj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23785/pgCocoaDBn.xcodeproj Log Message: Directory /cvsroot/pgsqlformac/pgCocoaDB/pgCocoaDBn.xcodeproj added to the repository |
From: Neil T. <nt...@us...> - 2006-09-04 14:24:38
|
Update of /cvsroot/pgsqlformac/pgCocoaDB In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23394 Modified Files: ChangeLog Connection.m ExplorerModel.h ExplorerModel.m Field.m Log Message: Add retain to thread to fix crash. Index: ExplorerModel.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ExplorerModel.m,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** ExplorerModel.m 1 Sep 2006 00:53:35 -0000 1.15 --- ExplorerModel.m 4 Sep 2006 14:24:35 -0000 1.16 *************** *** 345,348 **** --- 345,349 ---- - (void)buildSchema:(id)anOutlineView { + [self retain]; // Make sure self does not dealloc while thread is running. NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; ExplorerNode * newNode; *************** *** 355,364 **** if (schema == nil) { ! NSLog(@"Attempted to build Schema without proper init."); return; } ! [self setExplorerThreadStatus:1]; // set database level --- 356,366 ---- if (schema == nil) { ! NSLog(@"Schema init returned error."); ! [self setExplorerThreadStatus:Error]; return; } ! [self setExplorerThreadStatus:Running]; // set database level *************** *** 458,466 **** [rootNode autorelease]; rootNode = realRootNode; ! [self setExplorerThreadStatus:3]; [(NSOutlineView *)anOutlineView reloadData]; [schema release]; schema = nil; [pool release]; return; } --- 460,469 ---- [rootNode autorelease]; rootNode = realRootNode; ! [self setExplorerThreadStatus:Done]; [(NSOutlineView *)anOutlineView reloadData]; [schema release]; schema = nil; [pool release]; + [self release]; return; } Index: ChangeLog =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ChangeLog,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** ChangeLog 1 Sep 2006 00:53:35 -0000 1.20 --- ChangeLog 4 Sep 2006 14:24:35 -0000 1.21 *************** *** 1,2 **** --- 1,9 ---- + 2006-08-31 19:53 ntiffin + + * ChangeLog, Connection.h, Connection.m, ExplorerModel.h, + ExplorerModel.m, ExplorerNode.h, ExplorerNode.m, Schema.h, + Schema.m, UnitTest/pgCocoaDBSchemaTest.m: Fix for PGconn not + being thread safe. Migrate to new PQconnectdb API. + 2006-08-30 16:26 ntiffin Index: Connection.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Connection.m,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Connection.m 1 Sep 2006 00:53:35 -0000 1.16 --- Connection.m 4 Sep 2006 14:24:35 -0000 1.17 *************** *** 95,98 **** --- 95,99 ---- [self setErrorDescription:[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); Index: Field.m =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/Field.m,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Field.m 12 Aug 2006 16:38:16 -0000 1.4 --- Field.m 4 Sep 2006 14:24:35 -0000 1.5 *************** *** 57,61 **** - (NSString *)description { ! return [NSString stringWithFormat:@"%@ %@", name, value]; } --- 57,61 ---- - (NSString *)description { ! return [NSString stringWithFormat:@"'%@' '%@'", name, value]; } Index: ExplorerModel.h =================================================================== RCS file: /cvsroot/pgsqlformac/pgCocoaDB/ExplorerModel.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ExplorerModel.h 1 Sep 2006 00:53:35 -0000 1.6 --- ExplorerModel.h 4 Sep 2006 14:24:35 -0000 1.7 *************** *** 14,17 **** --- 14,18 ---- #import "PGCocoaDB.h" + enum thread_status { None, Running, Done, Error }; @interface ExplorerModel : NSObject *************** *** 28,32 **** NSLock *explorerThreadStatusLock; ! unsigned int explorerThreadStatus; // 0 = not inited, 1 = running, 2 = error, 3 = done, } --- 29,33 ---- NSLock *explorerThreadStatusLock; ! enum thread_status explorerThreadStatus; } |
From: Neil T. <nt...@us...> - 2006-09-04 14:22:12
|
Update of /cvsroot/pgsqlformac/QueryTool/English.lproj/SqlDocument.nib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22492/English.lproj/SqlDocument.nib Modified Files: info.nib keyedobjects.nib Log Message: Move Keywords to and refactor preferences. Index: info.nib =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/English.lproj/SqlDocument.nib/info.nib,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** info.nib 16 Jul 2006 23:17:40 -0000 1.9 --- info.nib 4 Sep 2006 14:22:07 -0000 1.10 *************** *** 10,14 **** <string>660 515 120 142 0 0 1440 878 </string> <key>93</key> ! <string>636 553 168 67 0 0 1440 878 </string> </dict> <key>IBFramework Version</key> --- 10,14 ---- <string>660 515 120 142 0 0 1440 878 </string> <key>93</key> ! <string>604 554 232 64 0 0 1440 878 </string> </dict> <key>IBFramework Version</key> Index: keyedobjects.nib =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/English.lproj/SqlDocument.nib/keyedobjects.nib,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 Binary files /tmp/cvsveLLax and /tmp/cvsQ5SSRQ differ |
From: Neil T. <nt...@us...> - 2006-09-04 14:22:12
|
Update of /cvsroot/pgsqlformac/QueryTool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22492 Modified Files: AppController.m ChangeLog PreferenceController.h PreferenceController.m SqlDocument.m TODO.txt Log Message: Move Keywords to and refactor preferences. Index: TODO.txt =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/TODO.txt,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** TODO.txt 30 Aug 2006 21:25:49 -0000 1.8 --- TODO.txt 4 Sep 2006 14:22:07 -0000 1.9 *************** *** 2,8 **** ! TODO - Features, Functions and Warnings (in priority order) ======================================= ! - 2006_08-30 Sequence SQL not complete. - 2006-08-30 Constraints not tested in unit test pgCocoaDB. --- 2,10 ---- ! TODO - Features, Functions and Warnings (in rough priority order) ======================================= ! - 2006-08-30 Sequence SQL not complete. ! ! - 2006-09-01 "Query Completed message in main window should show elapsed time and first 30 characters of query. - 2006-08-30 Constraints not tested in unit test pgCocoaDB. *************** *** 10,25 **** - 2006-06-16 Use function to attempt to cancel a query in pgCocoaDB. Need to change to async queries. ! - 2006-08-26 Add save log function. ! ! - 2006-08-26 Add buttons to log to window to clear log and control sql and info display. - 2006-08-26 Add explain query button. FIXME (Known Errors) ==================== - 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] -[NSBigMutableString characterAtIndex:] called with out-of-bounds index. For apps linked on Tiger this will raise an exception. For earlier apps it will produce this one-time warning and continue with existing behavior (which is undefined). - 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] Exception raised during posting of notification. Ignored. exception: *** -[NSBigMutableString characterAtIndex:]: Range or index out of bounds - 2006-08-26 Function return parameters not correctly determined, see below: --- 12,28 ---- - 2006-06-16 Use function to attempt to cancel a query in pgCocoaDB. Need to change to async queries. ! - 2006-08-26 Add clear and save log function. - 2006-08-26 Add explain query button. + - 2006-09-01 Add functinality to edit results. + + - 2006-09-01 Rule schema not complete. + + - 2006-09-01 Add show locks function. + FIXME (Known Errors) ==================== 2006-08-26 Function return parameters not correctly determined, see below: *************** *** 31,36 **** --- 34,47 ---- $$ LANGUAGE plpgsql; + - 2006-09-01 "Save As" always saves the query window, should save the log window if the log window is front most. + + 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] -[NSBigMutableString characterAtIndex:] called with out-of-bounds index. For apps linked on Tiger this will raise an exception. For earlier apps it will produce this one-time warning and continue with existing behavior (which is undefined). + 2006-06-22 13:20:17.480 Query Tool for Postgres[5590] Exception raised during posting of notification. Ignored. exception: *** -[NSBigMutableString characterAtIndex:]: Range or index out of bounds + + Completed ========= + - 2006-09-01 Refactored user defaults in SQLDocument. + - 2006-08-30 Column definitions only show type, not constraints (NOT NULL, UNIQUE, etc). (8/30/2006) *************** *** 104,105 **** --- 115,304 ---- - Alter Table rename needs to have schema removed from the new name for correct syntax. (5/22/2006) Fixed. + + + Date/Time: 2006-09-02 11:30:08.073 -0500 + OS Version: 10.4.7 (Build 8J135) + Report Version: 4 + + Command: Query Tool for Postgres + Path: /Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/build/Development/Query Tool for Postgres.app/Contents/MacOS/Query Tool for Postgres + Parent: WindowServer [4102] + + Version: 1.0 (8.1) + + PID: 4525 + Thread: 2 + + Exception: EXC_BAD_ACCESS (0x0001) + Codes: KERN_INVALID_ADDRESS (0x0001) at 0x48814100 + + Thread 0: + 0 libSystem.B.dylib 0x9000b268 mach_msg_trap + 8 + 1 libSystem.B.dylib 0x9000b1bc mach_msg + 60 + 2 com.apple.CoreFoundation 0x907dbb78 __CFRunLoopRun + 832 + 3 com.apple.CoreFoundation 0x907db47c CFRunLoopRunSpecific + 268 + 4 com.apple.HIToolbox 0x931eb740 RunCurrentEventLoopInMode + 264 + 5 com.apple.HIToolbox 0x931eadd4 ReceiveNextEventCommon + 380 + 6 com.apple.HIToolbox 0x931eac40 BlockUntilNextEventMatchingListInMode + 96 + 7 com.apple.AppKit 0x936eeae4 _DPSNextEvent + 384 + 8 com.apple.AppKit 0x936ee7a8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116 + 9 com.apple.AppKit 0x936eacec -[NSApplication run] + 472 + 10 com.apple.AppKit 0x937db87c NSApplicationMain + 452 + 11 com.druware.postgres.QueryTool 0x0000dfa4 main + 60 (main.m:13) + 12 com.druware.postgres.QueryTool 0x0000224c start + 812 + 13 com.druware.postgres.QueryTool 0x00001f50 start + 48 + + Thread 1: + 0 libSystem.B.dylib 0x9002c2e8 semaphore_wait_signal_trap + 8 + 1 libSystem.B.dylib 0x90030dcc pthread_cond_wait + 480 + 2 com.apple.Foundation 0x9294b300 -[NSConditionLock lockWhenCondition:] + 68 + 3 com.apple.AppKit 0x9378b708 -[NSUIHeartBeat _heartBeatThread:] + 324 + 4 com.apple.Foundation 0x92944194 forkThreadForFunction + 108 + 5 libSystem.B.dylib 0x9002bc28 _pthread_body + 96 + + Thread 2 Crashed: + 0 libobjc.A.dylib 0x90a3e100 objc_msgSend + 32 + 1 com.druware.pgcocoadb 0xb00025c0 -[Connection setConnectionString:] + 144 (Connection.m:286) + 2 com.druware.pgcocoadb 0xb0001a68 -[Connection connectUsingString:] + 92 (Connection.m:126) + 3 com.druware.pgcocoadb 0xb0006270 -[Schema initWithConnectionString:] + 236 (Schema.m:29) + 4 com.druware.pgcocoadb 0xb000c99c -[ExplorerModel buildSchema:] + 224 (ExplorerModel.m:353) + 5 com.apple.Foundation 0x92944194 forkThreadForFunction + 108 + 6 libSystem.B.dylib 0x9002bc28 _pthread_body + 96 + + Thread 2 crashed with PPC Thread State 64: + srr0: 0x0000000090a3e100 srr1: 0x000000000200f030 vrsave: 0x0000000000000000 + cr: 0x44000428 xer: 0x0000000000000000 lr: 0x00000000b00025c0 ctr: 0x0000000090a3e0e0 + r0: 0x00000000b00025c0 r1: 0x00000000f0101c50 r2: 0x0000000048814100 r3: 0x0000000000411a80 + r4: 0x0000000090a4e180 r5: 0x0000000000411a80 r6: 0x0000000000000005 r7: 0x0000000000000006 + r8: 0x00000000005021ed r9: 0x0000000000411a80 r10: 0x00000000005001e9 r11: 0x000000006f5ae180 + r12: 0x000000000000357b r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000 + r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x0000000000000000 r19: 0x0000000000000000 + r20: 0x0000000000000000 r21: 0x0000000000000000 r22: 0x0000000000000000 r23: 0x0000000000000000 + r24: 0x0000000000000000 r25: 0x0000000000000000 r26: 0x0000000000000000 r27: 0x0000000001891400 + r28: 0x0000000000000000 r29: 0x00000000004fd890 r30: 0x00000000f0101c50 r31: 0x00000000b000255c + + Binary Images Description: + 0x1000 - 0xafff com.druware.postgres.QueryTool 1.0 (8.1) /Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/build/Development/Query Tool for Postgres.app/Contents/MacOS/Query Tool for Postgres + 0xd000 - 0xdfff com.druware.postgres.QueryTool 1.0 (8.1) /Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/build/Development/Query Tool for Postgres.app/Contents/MacOS/Query Tool for Postgres + 0x21000 - 0x39fff libpq.4.dylib /sw/lib/libpq.4.dylib + 0x42000 - 0x72fff libssl.0.9.7.dylib /sw/lib/libssl.0.9.7.dylib + 0xa2000 - 0xadfff com.druware.postgres.QueryTool 1.0 (8.1) /Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/build/Development/Query Tool for Postgres.app/Contents/MacOS/Query Tool for Postgres + 0xc9000 - 0xc9fff com.druware.postgres.QueryTool 1.0 (8.1) /Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/build/Development/Query Tool for Postgres.app/Contents/MacOS/Query Tool for Postgres + 0xd5000 - 0xd5fff com.druware.postgres.QueryTool 1.0 (8.1) /Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/build/Development/Query Tool for Postgres.app/Contents/MacOS/Query Tool for Postgres + 0xf2000 - 0xf4fff com.druware.postgres.QueryTool 1.0 (8.1) /Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/build/Development/Query Tool for Postgres.app/Contents/MacOS/Query Tool for Postgres + 0x205000 - 0x2e2fff libcrypto.0.9.7.dylib /sw/lib/libcrypto.0.9.7.dylib + 0x342000 - 0x343fff com.druware.postgres.QueryTool 1.0 (8.1) /Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/build/Development/Query Tool for Postgres.app/Contents/MacOS/Query Tool for Postgres + 0x351000 - 0x354fff com.druware.postgres.QueryTool 1.0 (8.1) /Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/build/Development/Query Tool for Postgres.app/Contents/MacOS/Query Tool for Postgres + 0x360000 - 0x360fff com.druware.postgres.QueryTool 1.0 (8.1) /Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/build/Development/Query Tool for Postgres.app/Contents/MacOS/Query Tool for Postgres + 0x5dc000 - 0x5defff com.unsanity.menuextraenabler Menu Extra Enabler version 1.0.1 (1.0.1) /Library/InputManagers/Menu Extra Enabler/Menu Extra Enabler.bundle/Contents/MacOS/Menu Extra Enabler + 0xd5fa000 - 0xd64ffff com.DivXInc.DivXDecoder 6.0.0 /Library/QuickTime/DivX Fusion Decoder.component/Contents/MacOS/DivX 6 Decoder + 0x8fe00000 - 0x8fe52fff dyld 45.3 /usr/lib/dyld + 0x90000000 - 0x901bbfff libSystem.B.dylib /usr/lib/libSystem.B.dylib + 0x90213000 - 0x90218fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib + 0x9021a000 - 0x90267fff com.apple.CoreText 1.0.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText + 0x90292000 - 0x90343fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS + 0x90372000 - 0x9072cfff com.apple.CoreGraphics 1.258.33 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics + 0x907b9000 - 0x90892fff com.apple.CoreFoundation 6.4.6 (368.27) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation + 0x908db000 - 0x908dbfff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices + 0x908dd000 - 0x909dffff libicucore.A.dylib /usr/lib/libicucore.A.dylib + 0x90a39000 - 0x90abdfff libobjc.A.dylib /usr/lib/libobjc.A.dylib + 0x90ae7000 - 0x90b57fff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit + 0x90b6d000 - 0x90b7ffff libauto.dylib /usr/lib/libauto.dylib + 0x90b86000 - 0x90e5dfff com.apple.CoreServices.CarbonCore 681.4 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore + 0x90ec3000 - 0x90f43fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices + 0x90f8d000 - 0x90fcefff com.apple.CFNetwork 129.16 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork + 0x90fe3000 - 0x90ffbfff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore + 0x9100b000 - 0x9108cfff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit + 0x910d2000 - 0x910fcfff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata + 0x9110d000 - 0x9111bfff libz.1.dylib /usr/lib/libz.1.dylib + 0x9111e000 - 0x912d8fff com.apple.security 4.4 (27566) /System/Library/Frameworks/Security.framework/Versions/A/Security + 0x913d6000 - 0x913dffff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration + 0x913e6000 - 0x9140efff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration + 0x91421000 - 0x9142cfff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib + 0x91431000 - 0x91439fff libbsm.dylib /usr/lib/libbsm.dylib + 0x9143d000 - 0x914b8fff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio + 0x914f5000 - 0x914f5fff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices + 0x914f7000 - 0x9152ffff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE + 0x9154a000 - 0x91617fff com.apple.ColorSync 4.4.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync + 0x9166c000 - 0x916fdfff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore + 0x91744000 - 0x917fbfff com.apple.QD 3.10.20 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD + 0x91838000 - 0x91896fff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices + 0x918c5000 - 0x918e9fff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis + 0x918fd000 - 0x91922fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent + 0x91935000 - 0x91977fff com.apple.LaunchServices 181 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices + 0x91993000 - 0x919a7fff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis + 0x919b5000 - 0x919f5fff com.apple.ImageIO.framework 1.4.8 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO + 0x91a0b000 - 0x91ad3fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib + 0x91b21000 - 0x91b36fff libcups.2.dylib /usr/lib/libcups.2.dylib + 0x91b3b000 - 0x91b58fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib + 0x91b5d000 - 0x91bccfff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib + 0x91be3000 - 0x91be7fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib + 0x91be9000 - 0x91c31fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib + 0x91c36000 - 0x91c73fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib + 0x91c7a000 - 0x91c93fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib + 0x91c98000 - 0x91c9bfff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib + 0x91c9d000 - 0x91c9dfff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate + 0x91c9f000 - 0x91d84fff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage + 0x91d8c000 - 0x91dabfff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib + 0x91e17000 - 0x91e85fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib + 0x91e90000 - 0x91f25fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib + 0x91f3f000 - 0x924c7fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib + 0x924fa000 - 0x92825fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib + 0x92855000 - 0x928ddfff com.apple.DesktopServices 1.3.4 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv + 0x9291e000 - 0x92b49fff com.apple.Foundation 6.4.6 (567.27) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation + 0x92c67000 - 0x92d45fff libxml2.2.dylib /usr/lib/libxml2.2.dylib + 0x92d65000 - 0x92e53fff libiconv.2.dylib /usr/lib/libiconv.2.dylib + 0x92e65000 - 0x92e83fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib + 0x92e8e000 - 0x92ee8fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib + 0x92f06000 - 0x92f06fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon + 0x92f08000 - 0x92f1cfff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture + 0x92f34000 - 0x92f44fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition + 0x92f50000 - 0x92f65fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI + 0x92f77000 - 0x92ffefff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink + 0x93012000 - 0x9301dfff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help + 0x93027000 - 0x93054fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting + 0x9306e000 - 0x9307efff com.apple.print.framework.Print 5.0 (190.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print + 0x9308a000 - 0x930f0fff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering + 0x93121000 - 0x93170fff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices + 0x9319e000 - 0x931bbfff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound + 0x931cd000 - 0x931dafff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels + 0x931e3000 - 0x934f0fff com.apple.HIToolbox 1.4.8 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox + 0x9363f000 - 0x9364bfff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL + 0x936e4000 - 0x936e4fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa + 0x936e6000 - 0x93d19fff com.apple.AppKit 6.4.7 (824.41) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit + 0x940a6000 - 0x94116fff com.apple.CoreData 80 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData + 0x9414f000 - 0x94212fff com.apple.audio.toolbox.AudioToolbox 1.4.3 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox + 0x94264000 - 0x94264fff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit + 0x94266000 - 0x94419fff com.apple.QuartzCore 1.4.8 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore + 0x9446c000 - 0x944a9fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib + 0x944b1000 - 0x94501fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib + 0x946af000 - 0x946befff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib + 0x946c6000 - 0x946d2fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib + 0x94718000 - 0x94730fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib + 0x94737000 - 0x949ebfff com.apple.QuickTime 7.1.2 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime + 0x94aaf000 - 0x94b20fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib + 0x94b93000 - 0x94bb3fff libmx.A.dylib /usr/lib/libmx.A.dylib + 0x94edc000 - 0x94f0bfff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib + 0x94f1b000 - 0x94f38fff libresolv.9.dylib /usr/lib/libresolv.9.dylib + 0x9543d000 - 0x9556bfff edu.mit.Kerberos 5.5.23 /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos + 0x96a34000 - 0x96a35fff com.apple.zerolink 1.2 (3) /System/Library/PrivateFrameworks/ZeroLink.framework/Versions/A/ZeroLink + 0x97458000 - 0x97477fff com.apple.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib + 0x97c7d000 - 0x97c8afff com.apple.agl 2.5.6 (AGL-2.5.6) /System/Library/Frameworks/AGL.framework/Versions/A/AGL + 0x9982d000 - 0x9a203fff com.apple.QuickTimeComponents.component 7.1.2 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents + 0xb0000000 - 0xb0012fff com.druware.pgcocoadb 1.0 (8.0.1c) /Maui-Dev/PostgreSQL_Tools_cvs/QueryTool/build/Development/Query Tool for Postgres.app/Contents/Frameworks/pgCocoaDB.framework/Versions/A/pgCocoaDB + + Model: PowerBook5,7, BootROM 4.9.1f1, 1 processors, PowerPC G4 (1.2), 1.67 GHz, 1.5 GB + Graphics: ATI Mobility Radeon 9700, ATY,RV360M11, AGP, 128 MB + Memory Module: SODIMM0/J20STANDARD, 512 MB, DDR SDRAM, PC2700U-25330 + Memory Module: SODIMM1/J23REVERSED, 1 GB, DDR SDRAM, PC2700U-25330 + AirPort: AirPort Extreme, 404.2 (3.90.34.0.p16) + Modem: LastDash, UCJ, V.92, 4.0, APPLE VERSION 2.6.6 + Bluetooth: Version 1.7.5f10, 2 service, 1 devices, 1 incoming serial ports + Network Service: Built-in Ethernet, Ethernet, en0 + PCI Card: TXN,PCIXXXX-00, cardbus, PC Card + Parallel ATA Device: MATSHITADVD-R UJ-835E, + Parallel ATA Device: ST9100823A, 93.16 GB + USB Device: Bluetooth HCI, , Up to 12 Mb/sec, 500 mA + USB Device: Apple Internal Keyboard/Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA + USB Device: Microsoft IntelliMouse¨ Explorer, Microsoft, Up to 1.5 Mb/sec, 500 mA + Index: ChangeLog =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/ChangeLog,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ChangeLog 1 Sep 2006 00:56:00 -0000 1.16 --- ChangeLog 4 Sep 2006 14:22:07 -0000 1.17 *************** *** 1,2 **** --- 1,8 ---- + 2006-08-31 19:56 ntiffin + + * ChangeLog, SqlDocument.m, Help/.DS_Store, Help/index.html: Fix + for PGconn not being thread safe. Migrate to new PQconnectdb API. + Add help text. + 2006-08-30 16:25 ntiffin Index: AppController.m =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/AppController.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AppController.m 30 Aug 2006 01:06:53 -0000 1.1 --- AppController.m 4 Sep 2006 14:22:07 -0000 1.2 *************** *** 12,17 **** --- 12,28 ---- @implementation AppController + -(id)init + { + [super init]; + //NSLog(@"AppController init"); + preferenceController = [[PreferenceController alloc] init]; + [preferenceController createApplicationDefaultPreferences]; + return self; + } + -(IBAction)showPreferencePanel:(id)sender { + UNUSED_PARAMETER(sender); + if(!preferenceController) { Index: PreferenceController.h =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/PreferenceController.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PreferenceController.h 30 Aug 2006 15:51:15 -0000 1.2 --- PreferenceController.h 4 Sep 2006 14:22:07 -0000 1.3 *************** *** 28,30 **** --- 28,32 ---- -(IBAction)cancelPreferences:(id)sender; + -(void)createApplicationDefaultPreferences; + @end Index: PreferenceController.m =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/PreferenceController.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PreferenceController.m 30 Aug 2006 01:06:53 -0000 1.1 --- PreferenceController.m 4 Sep 2006 14:22:07 -0000 1.2 *************** *** 15,18 **** --- 15,19 ---- { self = [super initWithWindowNibName:@"Preferences"]; + NSLog(@"Preference Controller init"); return self; } *************** *** 94,97 **** --- 95,100 ---- -(IBAction)defaultPreferences:(id)sender { + UNUSED_PARAMETER(sender); + [prefShowPGInfoSchema setState:NSOnState]; [prefShowPGCatalogSchema setState:NSOnState]; *************** *** 109,112 **** --- 112,116 ---- -(IBAction)savePreferences:(id)sender; { + UNUSED_PARAMETER(sender); NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; if ([prefShowPGInfoSchema state]) *************** *** 177,180 **** --- 181,185 ---- -(IBAction)cancelPreferences:(id)sender; { + UNUSED_PARAMETER(sender); [self loadUserDefaults]; [[self window] close]; *************** *** 182,184 **** --- 187,275 ---- } + -(void)createApplicationDefaultPreferences + { + NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; + + // does not track application version numbering, for future use should we need to + // drastically change the prefs we will be able to determine what version of prefs + // the user has. + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_User_Defaults_Version"] == nil) + { + [userDefaults setObject:@"1.0.0" forKey:@"PGSqlForMac_QueryTool_Pref_Version"]; + } + + + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowInformationSchema"] == nil) + { + [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowInformationSchema"]; + } + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGCatalogSchema"] == nil) + { + [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowPGCatalogSchema"]; + } + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGToastSchema"] == nil) + { + [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_ShowPGToastSchema"]; + } + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGTempsSchema"] == nil) + { + [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_ShowPGTempsSchema"]; + } + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGPublicSchema"] == nil) + { + [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowPGPublicSchema"]; + } + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_LogSQL"] == nil) + { + [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_LogSQL"]; + } + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_LogQueryInfo"] == nil) + { + [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_LogQueryInfo"]; + } + + + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_SchemaTableFontName"] == nil) + { + [userDefaults setObject:@"Lucida Grande" forKey:@"PGSqlForMac_QueryTool_SchemaTableFontName"]; + } + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_SchemaTableFontSize"] == nil) + { + [userDefaults setFloat:12.0 forKey:@"PGSqlForMac_QueryTool_SchemaTableFontSize"]; + } + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ResultsTableFontName"] == nil) + { + [userDefaults setObject:@"Lucida Grande" forKey:@"PGSqlForMac_QueryTool_ResultsTableFontName"]; + } + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ResultsTableFontSize"] == nil) + { + [userDefaults setFloat:12.0 forKey:@"PGSqlForMac_QueryTool_ResultsTableFontSize"]; + } + + + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_Highlight_Keywords"] == nil) + { + [userDefaults setObject:@"select from where order group by asc desc insert into delete drop create alter table procedure view function" + forKey:@"PGSqlForMac_QueryTool_Highlight_Keywords"]; + } + + NSFileManager *fileManager = [NSFileManager defaultManager]; + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPostgreSQLHelp"] == nil) + { + if ([fileManager fileExistsAtPath:@"/sw/share/doc/postgresql81/html/index.html"]) + { + [userDefaults setObject:@"file:///sw/share/doc/postgresql81/html/index.html" + forKey:@"PGSqlForMac_QueryTool_ShowPostgreSQLHelp"]; + } + } + if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowSQLCommandHelp"] == nil) + { + if ([fileManager fileExistsAtPath:@"/sw/share/doc/postgresql81/html/sql-commands.html"]) + { + [userDefaults setObject:@"file:///sw/share/doc/postgresql81/html/sql-commands.html" + forKey:@"PGSqlForMac_QueryTool_ShowSQLCommandHelp"]; + } + } + } + @end Index: SqlDocument.m =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/SqlDocument.m,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** SqlDocument.m 1 Sep 2006 00:56:00 -0000 1.22 --- SqlDocument.m 4 Sep 2006 14:22:07 -0000 1.23 *************** *** 8,11 **** --- 8,12 ---- #import "SqlDocument.h" + #import "SqlToolbarCategory.h" @implementation SqlDocument *************** *** 15,81 **** self = [super init]; - NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowInformationSchema"] == nil) - { - [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowInformationSchema"]; - } - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGCatalogSchema"] == nil) - { - [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowPGCatalogSchema"]; - } - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGToastSchema"] == nil) - { - [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_ShowPGToastSchema"]; - } - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGTempsSchema"] == nil) - { - [userDefaults setObject:@"no" forKey:@"PGSqlForMac_QueryTool_ShowPGTempsSchema"]; - } - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPGPublicSchema"] == nil) - { - [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_ShowPGPublicSchema"]; - } - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_LogSQL"] == nil) - { - [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_LogSQL"]; - } - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_LogQueryInfo"] == nil) - { - [userDefaults setObject:@"yes" forKey:@"PGSqlForMac_QueryTool_LogQueryInfo"]; - } - - - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_SchemaTableFontName"] == nil) - { - [userDefaults setObject:@"Lucida Grande" forKey:@"PGSqlForMac_QueryTool_SchemaTableFontName"]; - } - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_SchemaTableFontSize"] == nil) - { - [userDefaults setFloat:12.0 forKey:@"PGSqlForMac_QueryTool_SchemaTableFontSize"]; - } - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ResultsTableFontName"] == nil) - { - [userDefaults setObject:@"Lucida Grande" forKey:@"PGSqlForMac_QueryTool_ResultsTableFontName"]; - } - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ResultsTableFontSize"] == nil) - { - [userDefaults setFloat:12.0 forKey:@"PGSqlForMac_QueryTool_ResultsTableFontSize"]; - } - - NSFileManager *fileManager = [NSFileManager defaultManager]; - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowPostgreSQLHelp"] == nil) - { - if ([fileManager fileExistsAtPath:@"/sw/share/doc/postgresql81/html/index.html"]) - { - [userDefaults setObject:@"file:///sw/share/doc/postgresql81/html/index.html" forKey:@"PGSqlForMac_QueryTool_ShowPostgreSQLHelp"]; - } - } - if ([userDefaults stringForKey:@"PGSqlForMac_QueryTool_ShowSQLCommandHelp"] == nil) - { - if ([fileManager fileExistsAtPath:@"/sw/share/doc/postgresql81/html/sql-commands.html"]) - { - [userDefaults setObject:@"file:///sw/share/doc/postgresql81/html/sql-commands.html" forKey:@"PGSqlForMac_QueryTool_ShowSQLCommandHelp"]; - } - } return self; } --- 16,19 ---- *************** *** 120,140 **** // set the font for the schema view ! font = [NSFont fontWithName:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_SchemaTableFontName"] size:[userDefaults floatForKey:@"PGSqlForMac_QueryTool_SchemaTableFontSize"]]; [schemaView setCurrentFont:font]; NSEnumerator* columns = [[schemaView tableColumns] objectEnumerator]; ! NSTableColumn* column; ! while (column = [columns nextObject]) { [[column dataCell] setFont: font]; } [schemaView setRowHeight: [font defaultLineHeightForFont] + 2]; //set the font for the results view ! font = [NSFont fontWithName:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_ResultsTableFontName"] size:[userDefaults floatForKey:@"PGSqlForMac_QueryTool_ResultsTableFontSize"]]; [dataOutput setCurrentFont:font]; columns = [[dataOutput tableColumns] objectEnumerator]; ! while (column = [columns nextObject]) { [[column dataCell] setFont: font]; } [dataOutput setRowHeight: [font defaultLineHeightForFont] + 2]; --- 58,83 ---- // set the font for the schema view ! font = [NSFont fontWithName:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_SchemaTableFontName"] ! size:[userDefaults floatForKey:@"PGSqlForMac_QueryTool_SchemaTableFontSize"]]; [schemaView setCurrentFont:font]; NSEnumerator* columns = [[schemaView tableColumns] objectEnumerator]; ! NSTableColumn* column = [columns nextObject]; ! while (column) { [[column dataCell] setFont: font]; + column = [columns nextObject]; } [schemaView setRowHeight: [font defaultLineHeightForFont] + 2]; //set the font for the results view ! font = [NSFont fontWithName:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_ResultsTableFontName"] ! size:[userDefaults floatForKey:@"PGSqlForMac_QueryTool_ResultsTableFontSize"]]; [dataOutput setCurrentFont:font]; columns = [[dataOutput tableColumns] objectEnumerator]; ! column = [columns nextObject]; ! while(column) { [[column dataCell] setFont: font]; + column = [columns nextObject]; } [dataOutput setRowHeight: [font defaultLineHeightForFont] + 2]; *************** *** 142,146 **** // init the keyword arrays NSString *temp = [[NSString alloc] ! initWithString:@"select from where order group by asc desc insert into delete drop create alter table procedure view function"]; keywords = [[NSArray alloc] initWithArray:[temp componentsSeparatedByString:@" "]]; --- 85,89 ---- // init the keyword arrays NSString *temp = [[NSString alloc] ! initWithString:[userDefaults stringForKey:@"PGSqlForMac_QueryTool_Highlight_Keywords"]]; keywords = [[NSArray alloc] initWithArray:[temp componentsSeparatedByString:@" "]]; *************** *** 167,178 **** } - (NSData *)dataRepresentationOfType:(NSString *)aType ! { ! return [[query string] dataUsingEncoding:NSASCIIStringEncoding]; } - (BOOL)readFromFile:(NSString *)fileName ofType:(NSString *)docType { fileContent = [[NSString alloc] initWithContentsOfFile:fileName]; return fileContent != nil; --- 110,124 ---- } + - (NSData *)dataRepresentationOfType:(NSString *)aType ! { ! UNUSED_PARAMETER(aType); return [[query string] dataUsingEncoding:NSASCIIStringEncoding]; } + - (BOOL)readFromFile:(NSString *)fileName ofType:(NSString *)docType { + UNUSED_PARAMETER(docType); fileContent = [[NSString alloc] initWithContentsOfFile:fileName]; return fileContent != nil; *************** *** 1067,1070 **** --- 1013,1017 ---- - (void)textViewDidChangeSelection:(NSNotification *)aNotification { + UNUSED_PARAMETER(aNotification); // based upon the current location, scan forward and backward to the nearest // delimiter and highlight the current word based upon that delimiter *************** *** 1113,1117 **** - (NSArray *)textView:(NSTextView *)textView completions:(NSArray *)words forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(int *)index { ! // implement the system return nil; --- 1060,1064 ---- - (NSArray *)textView:(NSTextView *)textView completions:(NSArray *)words forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(int *)index { ! // TODO implement the system return nil; |
From: Neil T. <nt...@us...> - 2006-09-01 00:56:02
|
Update of /cvsroot/pgsqlformac/QueryTool/Help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11984/Help Modified Files: .DS_Store index.html Log Message: Fix for PGconn not being thread safe. Migrate to new PQconnectdb API. Add help text. Index: index.html =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/Help/index.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index.html 8 Mar 2005 21:50:10 -0000 1.1.1.1 --- index.html 1 Sep 2006 00:56:00 -0000 1.2 *************** *** 1,10 **** <html> ! <head> ! <title>Query Tool for Postgres Help</title> ! <meta name="AppleTitle" content="Query Tool for Postgres"></meta> ! <meta name="content" content="Query Tool for Postgres"></meta> ! </head> ! <body> ! Help Files are being written, we promise :-) ! </body> </html> --- 1,51 ---- + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> ! <head> ! <title> ! Query Tool for PostgreSQL Help ! </title> ! <meta name="AppleTitle" content="Query Tool for Postgres"> ! <meta name="content" content="Query Tool for Postgres"> ! </head> ! <body> ! <h1> ! Query Tool for PostgreSQL ! </h1> ! <h2> ! Reload Schema ! </h2> ! <p> ! Select the database again in the task bar. ! </p> ! <h2> ! Create SQL ! </h2> ! <p> ! Select a table, column, view or other item in the schema view and right click (or control-click). A menu will pop-up and give several options for automatically creating SQL and pasting it into the query window. ! </p> ! <h2> ! Connections Preferences ! </h2> ! <p> ! The last connection is kept in user preferences. To change just login to another database. It will be updated automatically. ! </p> ! <h2> ! View Font Preferences ! </h2> ! <p> ! Are also kept in your user preferences. Just change the fonts and they will be saved. ! </p> ! <h2> ! Preferences ! </h2> ! <p> ! Are kept in <code>"~/Library/Preferences/com.druware.postgres.QueryTool.plist"</code>. ! </p> ! <h2> ! The Query Tool Website ! </h2> ! <p> ! Is at <a href="https://sourceforge.net/projects/pgsqlformac">https://sourceforge.net/projects/pgsqlformac</a>. ! </p> ! </body> </html> Index: .DS_Store =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/Help/.DS_Store,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 Binary files /tmp/cvsEo6Guy and /tmp/cvsVygMsB differ |
From: Neil T. <nt...@us...> - 2006-09-01 00:56:02
|
Update of /cvsroot/pgsqlformac/QueryTool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11984 Modified Files: ChangeLog SqlDocument.m Log Message: Fix for PGconn not being thread safe. Migrate to new PQconnectdb API. Add help text. Index: SqlDocument.m =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/SqlDocument.m,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** SqlDocument.m 30 Aug 2006 15:51:15 -0000 1.21 --- SqlDocument.m 1 Sep 2006 00:56:00 -0000 1.22 *************** *** 179,182 **** --- 179,183 ---- } + -(void)setNewExplorerConn { *************** *** 184,188 **** // create the new schema explorer ! explorer =[[ExplorerModel alloc] initWithConnection: conn]; // set explorer display defaults from NSUserDefaults NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; --- 185,190 ---- // create the new schema explorer ! explorer =[[ExplorerModel alloc] initWithConnectionString: [conn makeConnectionString]]; ! // set explorer display defaults from NSUserDefaults NSUserDefaults * userDefaults = [NSUserDefaults standardUserDefaults]; Index: ChangeLog =================================================================== RCS file: /cvsroot/pgsqlformac/QueryTool/ChangeLog,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** ChangeLog 30 Aug 2006 15:51:15 -0000 1.15 --- ChangeLog 1 Sep 2006 00:56:00 -0000 1.16 *************** *** 1,2 **** --- 1,16 ---- + 2006-08-30 16:25 ntiffin + + * MyOutlineView.m, TODO.txt, + English.lproj/Preferences.nib/classes.nib, + English.lproj/Preferences.nib/keyedobjects.nib: Improve wording + of menu items. + + 2006-08-30 10:51 ntiffin + + * AppController.h, ChangeLog, DataSource.m, MyOutlineView.h, + MyResultsView.h, PreferenceController.h, SqlDocument.h, + SqlDocument.m, SqlMenuCategory.h, SqlToolbarCategory.h: + Restructure for schema threading. + 2006-08-29 20:06 ntiffin |