From: <haw...@us...> - 2008-10-30 01:52:57
|
Revision: 204 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=204&view=rev Author: hawkmoon Date: 2008-10-30 01:52:51 +0000 (Thu, 30 Oct 2008) Log Message: ----------- As built for 8.3.4 Modified Paths: -------------- trunk/Backup Database/Backup Database.xcodeproj/arsatori.pbxuser trunk/Backup Database/Backup Database.xcodeproj/project.pbxproj trunk/CreateUser/Create User.xcodeproj/arsatori.pbxuser trunk/CreateUser/Create User.xcodeproj/project.pbxproj trunk/PGSQLKit/Info.plist trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj trunk/QueryTool/Query Tool for Postgres.xcodeproj/project.pbxproj trunk/ServiceManager/Service Manager.xcodeproj/project.pbxproj trunk/StartupHelper/StartupHelper.xcode/project.pbxproj trunk/pgCocoaDB/Info.plist trunk/pgCocoaDB/pgCocoaDB.xcodeproj/project.pbxproj Added Paths: ----------- trunk/CreateDatabase/Create Database.xcodeproj/ trunk/CreateDatabase/Create Database.xcodeproj/project.pbxproj trunk/Installers/PostgreSQL for Mac/ trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/ trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/02postgresql-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/02postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/03service-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/03service.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/04postgresql-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/04postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/05pgsqlkit-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/05pgsqlkit.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/06clean-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/06clean.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/07query-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/07query.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/08create-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/08create.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/09create-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/09create.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml trunk/Installers/PostgreSQL for Mac/README.pages/ trunk/Installers/PostgreSQL for Mac/README.pages/Contents/ trunk/Installers/PostgreSQL for Mac/README.pages/Contents/PkgInfo trunk/Installers/PostgreSQL for Mac/README.pages/QuickLook/ trunk/Installers/PostgreSQL for Mac/README.pages/QuickLook/Thumbnail.jpg trunk/Installers/PostgreSQL for Mac/README.pages/background.tif trunk/Installers/PostgreSQL for Mac/README.pages/index.xml.gz trunk/Installers/PostgreSQL for Mac/postflight trunk/Installers/PostgreSQL for Mac/postinstall trunk/Installers/PostgreSQL for Mac/postupgrade Removed Paths: ------------- trunk/BuildScripts/.DS_Store trunk/BuildScripts/Build-Installers.sh trunk/CreateDatabase/.DS_Store trunk/CreateUser/Create User.xcode/ trunk/Installers/ClientTools/ trunk/Installers/JDBC/ trunk/Installers/PostgreSQL/ trunk/Installers/PostgreSQL8/ trunk/Installers/Readme.rtf trunk/Installers/SQL-Ledger/ trunk/Installers/StartupItem/ Modified: trunk/Backup Database/Backup Database.xcodeproj/arsatori.pbxuser =================================================================== --- trunk/Backup Database/Backup Database.xcodeproj/arsatori.pbxuser 2008-10-29 21:12:44 UTC (rev 203) +++ trunk/Backup Database/Backup Database.xcodeproj/arsatori.pbxuser 2008-10-30 01:52:51 UTC (rev 204) @@ -8,12 +8,10 @@ 8D1107260486CEB800E47090 /* Backup Database */, ); breakpoints = ( - 431692AE0AF26CB500C88512 /* PGBackupController.m:253 */, 431692D70AF27BCD00C88512 /* PGBackupController.m:375 */, 434F5CF30B3C31F800C30B6D /* PGBackupController.m:319 */, 434F5CF70B3C320700C30B6D /* PGBackupController.m:364 */, ); - breakpointsGroup = 430C22820AEEF99900B814BA /* XCBreakpointsBucket */; codeSenseManager = 430C22430AEEEBA800B814BA /* Code sense */; executables = ( 430C222A0AEEEB9B00B814BA /* Backup Database */, @@ -85,8 +83,8 @@ PBXFileDataSource_Warnings_ColumnID, ); }; - PBXPerProjectTemplateStateSaveDate = 213657926; - PBXWorkspaceStateSaveDate = 213657926; + PBXPerProjectTemplateStateSaveDate = 247006084; + PBXWorkspaceStateSaveDate = 247006084; }; perUserProjectItems = { 430C225C0AEEF83D00B814BA /* PBXTextBookmark */ = 430C225C0AEEF83D00B814BA /* PBXTextBookmark */; @@ -98,9 +96,9 @@ 4325A4FB0AF42CB100E5848F /* PBXTextBookmark */ = 4325A4FB0AF42CB100E5848F /* PBXTextBookmark */; 4325A4FF0AF42CB100E5848F /* PBXBookmark */ = 4325A4FF0AF42CB100E5848F /* PBXBookmark */; 4325A5010AF42CB100E5848F /* PBXTextBookmark */ = 4325A5010AF42CB100E5848F /* PBXTextBookmark */; + 434E70200EB904040082BE2F /* PBXTextBookmark */ = 434E70200EB904040082BE2F /* PBXTextBookmark */; 434F5CD40B3C310A00C30B6D /* PBXBookmark */ = 434F5CD40B3C310A00C30B6D /* PBXBookmark */; 434F5CD50B3C310A00C30B6D /* PBXBookmark */ = 434F5CD50B3C310A00C30B6D /* PBXBookmark */; - 43D0E1CB0CBAAF8100D4FC11 /* PBXTextBookmark */ = 43D0E1CB0CBAAF8100D4FC11 /* PBXTextBookmark */; 43FBFBDF0CBC295A007422EE /* PBXTextBookmark */ = 43FBFBDF0CBC295A007422EE /* PBXTextBookmark */; }; sourceControlManager = 430C22420AEEEBA800B814BA /* Source Control */; @@ -116,12 +114,12 @@ }; 430C222A0AEEEB9B00B814BA /* Backup Database */ = { isa = PBXExecutable; - activeArgIndex = 2147483647; activeArgIndices = ( ); argumentStrings = ( ); autoAttachOnCrash = 1; + breakpointsEnabled = 1; configStateDict = { }; customDataFormattersEnabled = 1; @@ -156,8 +154,9 @@ }; 430C22450AEEF5DB00B814BA /* PGBackupController.m */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {916, 5808}}"; + sepNavIntBoundsRect = "{{0, 0}, {908, 6776}}"; sepNavSelRange = "{6470, 0}"; + sepNavVisRange = "{0, 1285}"; sepNavVisRect = "{{0, 2592}, {644, 606}}"; sepNavWindowFrame = "{{15, 553}, {421, 320}}"; }; @@ -210,16 +209,6 @@ vrLen = 1484; vrLoc = 51; }; - 430C22820AEEF99900B814BA /* XCBreakpointsBucket */ = { - isa = XCBreakpointsBucket; - name = "Project Breakpoints"; - objects = ( - 431692AE0AF26CB500C88512 /* PGBackupController.m:253 */, - 431692D70AF27BCD00C88512 /* PGBackupController.m:375 */, - 434F5CF30B3C31F800C30B6D /* PGBackupController.m:319 */, - 434F5CF70B3C320700C30B6D /* PGBackupController.m:364 */, - ); - }; 431692730AF268A600C88512 /* PBXTextBookmark */ = { isa = PBXTextBookmark; fRef = 430C22460AEEF5DC00B814BA /* PGBackupController.h */; @@ -230,31 +219,18 @@ vrLen = 1787; vrLoc = 0; }; - 431692AE0AF26CB500C88512 /* PGBackupController.m:253 */ = { - isa = PBXFileBreakpoint; - actions = ( - ); - breakpointStyle = 0; - continueAfterActions = 0; - delayBeforeContinue = 0; - fileReference = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; - functionName = "-execPGDump"; - hitCount = 1; - lineNumber = 253; - location = PGBackupController.ob; - modificationTime = 188494366.901501; - state = 1; - }; 431692D70AF27BCD00C88512 /* PGBackupController.m:375 */ = { isa = PBXFileBreakpoint; actions = ( ); breakpointStyle = 0; continueAfterActions = 0; + countType = 0; delayBeforeContinue = 0; fileReference = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; functionName = "-execVacuumDB"; hitCount = 1; + ignoreCount = 0; lineNumber = 375; location = PGBackupController.ob; modificationTime = 188494350.19851; @@ -302,6 +278,16 @@ path = /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSTask.h; sourceTree = "<absolute>"; }; + 434E70200EB904040082BE2F /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; + name = "PGBackupController.m: 232"; + rLen = 0; + rLoc = 6470; + rType = 0; + vrLen = 1285; + vrLoc = 0; + }; 434F5CD40B3C310A00C30B6D /* PBXBookmark */ = { isa = PBXBookmark; fRef = 4316930B0AF27FD500C88512 /* pg-backup.png */; @@ -316,10 +302,12 @@ ); breakpointStyle = 0; continueAfterActions = 0; + countType = 0; delayBeforeContinue = 0; fileReference = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; functionName = "-execPGDump"; hitCount = 1; + ignoreCount = 0; lineNumber = 319; modificationTime = 188494347.161268; state = 2; @@ -330,25 +318,17 @@ ); breakpointStyle = 0; continueAfterActions = 0; + countType = 0; delayBeforeContinue = 0; fileReference = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; functionName = "-execPGDump"; hitCount = 1; + ignoreCount = 0; lineNumber = 364; location = PGBackupController.ob; modificationTime = 188494369.609233; state = 1; }; - 43D0E1CB0CBAAF8100D4FC11 /* PBXTextBookmark */ = { - isa = PBXTextBookmark; - fRef = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; - name = "PGBackupController.m: 232"; - rLen = 0; - rLoc = 6470; - rType = 0; - vrLen = 1246; - vrLoc = 6034; - }; 43FBFBDF0CBC295A007422EE /* PBXTextBookmark */ = { isa = PBXTextBookmark; fRef = 430C22450AEEF5DB00B814BA /* PGBackupController.m */; Modified: trunk/Backup Database/Backup Database.xcodeproj/project.pbxproj =================================================================== --- trunk/Backup Database/Backup Database.xcodeproj/project.pbxproj 2008-10-29 21:12:44 UTC (rev 203) +++ trunk/Backup Database/Backup Database.xcodeproj/project.pbxproj 2008-10-30 01:52:51 UTC (rev 204) @@ -180,9 +180,11 @@ 29B97313FDCFA39411CA2CEA /* Project object */ = { isa = PBXProject; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Backup Database" */; + compatibilityVersion = "Xcode 2.4"; hasScannedForEncodings = 1; mainGroup = 29B97314FDCFA39411CA2CEA /* Backup Database */; projectDirPath = ""; + projectRoot = ""; targets = ( 8D1107260486CEB800E47090 /* Backup Database */, ); Deleted: trunk/BuildScripts/.DS_Store =================================================================== --- trunk/BuildScripts/.DS_Store 2008-10-29 21:12:44 UTC (rev 203) +++ trunk/BuildScripts/.DS_Store 2008-10-30 01:52:51 UTC (rev 204) @@ -1 +0,0 @@ - |
From: <haw...@us...> - 2008-10-30 18:17:21
|
Revision: 209 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=209&view=rev Author: hawkmoon Date: 2008-10-30 18:17:07 +0000 (Thu, 30 Oct 2008) Log Message: ----------- Added Preference Pane rough code, this is not the current status from Dru, but an older code drop. Added Paths: ----------- trunk/PreferencePane/ trunk/PreferencePane/PostgreSQL Server/ trunk/PreferencePane/PostgreSQL Server/AGProcess.h trunk/PreferencePane/PostgreSQL Server/AGProcess.m trunk/PreferencePane/PostgreSQL Server/English.lproj/ trunk/PreferencePane/PostgreSQL Server/English.lproj/InfoPlist.strings trunk/PreferencePane/PostgreSQL Server/English.lproj/PostgreSQL_ServerPref.xib trunk/PreferencePane/PostgreSQL Server/Info.plist trunk/PreferencePane/PostgreSQL Server/PostgreSQL Server.xcodeproj/ trunk/PreferencePane/PostgreSQL Server/PostgreSQL Server.xcodeproj/project.pbxproj trunk/PreferencePane/PostgreSQL Server/PostgreSQL Server_Prefix.pch trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.h trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.m trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.tiff trunk/PreferencePane/PostgreSQL Server/Utilities/ trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/ trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/English.lproj/ trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/English.lproj/InfoPlist.strings trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/English.lproj/MainMenu.xib trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/Info.plist trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/PostgreSQL Network Configuration.xcodeproj/ trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/PostgreSQL Network Configuration.xcodeproj/TemplateIcon.icns trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/PostgreSQL Network Configuration.xcodeproj/project.pbxproj trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/PostgreSQL Network Configuration_Prefix.pch trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/main.m trunk/PreferencePane/PostgreSQL Server/Xserve 42U.icns trunk/PreferencePane/PostgreSQL Server/data-folder.png trunk/PreferencePane/PostgreSQL Server/lock_32.png trunk/PreferencePane/PostgreSQL Server/ntwrk_32.png trunk/PreferencePane/PostgreSQL Server/postgres-logo.png trunk/PreferencePane/PostgreSQL Server/prefs_32.png trunk/PreferencePane/PostgreSQL Server/restart.png trunk/PreferencePane/PostgreSQL Server/security_32.png trunk/PreferencePane/PostgreSQL Server/start.png trunk/PreferencePane/PostgreSQL Server/stop.png trunk/PreferencePane/PostgreSQL Server/ulock_32.png trunk/PreferencePane/PostgreSQL Server/xserve-alert.png trunk/PreferencePane/PostgreSQL Server/xserve-running.png trunk/PreferencePane/PostgreSQL Server/xserve-stopped.png trunk/PreferencePane/PostgreSQL Server/xserve-unknown.png Added: trunk/PreferencePane/PostgreSQL Server/AGProcess.h =================================================================== --- trunk/PreferencePane/PostgreSQL Server/AGProcess.h (rev 0) +++ trunk/PreferencePane/PostgreSQL Server/AGProcess.h 2008-10-30 18:17:07 UTC (rev 209) @@ -0,0 +1,313 @@ +// AGProcess.h +// +// Copyright (c) 2002 Aram Greenman. All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: +// +// 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +// 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +// 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#import <Foundation/NSObject.h> +#include <mach/mach_types.h> + +/*! +@constant AGProcessValueUnknown +Indicates that the value of a statistic couldn't be determined. */ +enum { + AGProcessValueUnknown = 0xffffffff +}; + +/*! +@enum AGProcessState +Possible return values for -[AGProcess state]. +@constant AGProcessStateUnknown The state couldn't be determined. +@constant AGProcessStateRunnable The process is runnable. +@constant AGProcessStateUninterruptible The process is in disk or other uninterruptible wait. +@constant AGProcessStateSleeping The process has been sleeping for 20 seconds or less. +@constant AGProcessStateIdle The process has been sleeping for more than 20 seconds. +@constant AGProcessStateSuspended The process is suspended. +@constant AGProcessStateZombie The process has exited but the parent has not yet waited for it. +@constant AGProcessStateExited The process has exited. +*/ +typedef enum _AGProcessState { + AGProcessStateUnknown, + AGProcessStateRunnable, + AGProcessStateUninterruptible, + AGProcessStateSleeping, + AGProcessStateIdle, + AGProcessStateSuspended, + AGProcessStateZombie, + AGProcessStateExited +} AGProcessState; + +@class NSString, NSArray, NSDictionary; + +/*! +@class AGProcess +@abstract A class for reporting Unix process statistics. +@discussion AGProcess is a class for reporting Unix process statistics. It is similar to NSProcessInfo except that it provides more information, and can represent any process, not just the current process. Additionally it provides methods for sending signals to processes. + +Instances are created with -initWithProcessIdentifier: or +processForProcessIdentifier:, but several convenience methods exist for obtaining instances based on other information, the most useful being +currentProcess, +allProcesses, and +userProcess. + +The level of information an AGProcess can return depends on the user's permission. In general, a user can obtain general information like the arguments or process ID for any process, but can only obtain CPU and memory usage statistics for their own processes, unless they are root. Also, no information is available after the process has exited except the process ID and the state (AGProcessStateZombie or AGProcessStateExited). Methods which return a numerical value will return AGProcessValueUnknown if the statistic can't be obtained. +*/ +@interface AGProcess : NSObject { + int process; + task_t task; + NSString *command; + NSArray *arguments; + NSDictionary *environment; +} + +/*! +@method initWithProcessIdentifier: +Initializes the receiver with the given process identifier. Returns nil if no such process exists. */ +- (id)initWithProcessIdentifier:(int)pid; + +/*! +@method currentProcess +Returns the current process. */ ++ (AGProcess *)currentProcess; + +/*! +@method allProcesses +Returns an array of all processes. */ ++ (NSArray *)allProcesses; + +/*! +@method userProcesses +Returns an array of all processes running for the current user. */ ++ (NSArray *)userProcesses; + +/*! +@method processForProcessIdentifier: +Returns the process for the given process identifier, or nil if no such process exists. */ ++ (AGProcess *)processForProcessIdentifier:(int)pid; + +/*! +@method processesForProcessGroup: +Returns an array of all processes in the given process group. */ ++ (NSArray *)processesForProcessGroup:(int)pgid; + +/*! +@method processesForTerminal: +Returns an array of all processes running on the given terminal. Takes a terminal device number. */ ++ (NSArray *)processesForTerminal:(int)tdev; + +/*! +@method processesForUser: +Returns an array of all processes for the given user. */ ++ (NSArray *)processesForUser:(int)uid; + +/*! +@method processesForRealUser: +Returns an array of all processes for the given real user. */ ++ (NSArray *)processesForRealUser:(int)ruid; + +/*! +@method processForCommand: +Returns the process for the given command, or nil if no such process exists. If there is more than one process with the same command, there is no guarantee which will be returned. */ ++ (AGProcess *)processForCommand:(NSString *)comm; + +/*! +@method processesForCommand: +Returns an array of all processes for the given command. */ ++ (NSArray *)processesForCommand:(NSString *)comm; + +/*! +@method processIdentifier +Returns the process identifier. */ +- (int)processIdentifier; + +/*! +@method parentProcessIdentifier +Returns the parent process identifier. */ +- (int)parentProcessIdentifier; + +/*! +@method processGroup +Returns the process group. */ +- (int)processGroup; + +/*! +@method terminal +Returns the terminal device number. */ +- (int)terminal; + +/*! +@method terminalProcessGroup +Returns the terminal process group. */ +- (int)terminalProcessGroup; + +/*! +@method userIdentifier +Returns the user identifier. */ +- (int)userIdentifier; + +/*! +@method realUserIdentifier +Returns the real user identifier. */ +- (int)realUserIdentifier; + +/*! +@method percentCPUUsage +Returns the current CPU usage in the range 0.0 - 1.0. */ +- (double)percentCPUUsage; + +/*! +@method totalCPUTime +Returns the accumulated CPU time in seconds. */ +- (double)totalCPUTime; + +/*! +@method userCPUTime +Returns the accumulated user CPU time in seconds. */ +- (double)userCPUTime; + +/*! +@method systemCPUTime +Returns the accumulated system CPU time in seconds. */ +- (double)systemCPUTime; + +/*! +@method percentMemoryUsage +Returns resident memory usage as a fraction of the host's physical memory in the range 0.0 - 1.0. */ +- (double)percentMemoryUsage; + +/*! +@method virtualMemorySize +Returns the virtual memory size in bytes. */ +- (unsigned)virtualMemorySize; + +/*! +@method residentMemorySize +Returns the resident memory size in bytes. */ +- (unsigned)residentMemorySize; + +/*! +@method state +Returns the current state. Possible values are defined by AGProcessState. */ +- (AGProcessState)state; + +/*! +@method priority +Returns the current priority. */ +- (int)priority; + +/*! +@method basePriority +Returns the base priority. */ +- (int)basePriority; + +/*! +@method threadCount +Returns the number of threads. */ +- (int)threadCount; + +/*! +@method command +Attempts to return the command that was called to execute the process. If that fails, attempts to return the accounting name. If that fails, returns an empty string. */ +- (NSString *)command; + +/*! +@method arguments +Returns an array containing the command line arguments called to execute the process. This method is not perfectly reliable. */ +- (NSArray *)arguments; + +/*! +@method environment +Returns a dictionary containing the environment variables of the process. This method is not perfectly reliable. */ +- (NSDictionary *)environment; + +/*! +@method parent +Returns the parent process. */ +- (AGProcess *)parent; + +/*! +@method children +Returns an array containing the process's children, if any. */ +- (NSArray *)children; + +/*! +@method siblings +Returns an array containing the process's siblings, if any. */ +- (NSArray *)siblings; + +@end + +@interface AGProcess (Signals) + +/*! +@method suspend +Sends SIGSTOP. */ +- (BOOL)suspend; + +/*! +@method resume +Sends SIGCONT. */ +- (BOOL)resume; + +/*! +@method interrupt +Sends SIGINT. */ +- (BOOL)interrupt; + +/*! +@method terminate +Sends SIGTERM. */ +- (BOOL)terminate; + +/* +@method kill: +Sends the given signal, see man 3 signal for possible values. Returns NO if the signal couldn't be sent. */ +- (BOOL)kill:(int)signal; + +@end + +@interface AGProcess (MachTaskEvents) + +/*! +@method faults +Returns the number of page faults. */ +- (int)faults; + +/*! +@method pageins +Returns the number of pageins. */ +- (int)pageins; + +/*! +@method copyOnWriteFaults +Returns the number of copy on write faults. */ +- (int)copyOnWriteFaults; + +/*! +@method messagesSent +Returns the number of Mach messages sent. */ +- (int)messagesSent; + +/*! +@method messagesReceived +Returns the number of Mach messages received. */ +- (int)messagesReceived; + +/*! +@method machSystemCalls +Returns the number of Mach system calls. */ +- (int)machSystemCalls; + +/*! +@method unixSystemCalls +Returns the number of Unix system calls. */ +- (int)unixSystemCalls; + +/*! +@method contextSwitches +Returns the number of context switches. */ +- (int)contextSwitches; + +@end Added: trunk/PreferencePane/PostgreSQL Server/AGProcess.m =================================================================== --- trunk/PreferencePane/PostgreSQL Server/AGProcess.m (rev 0) +++ trunk/PreferencePane/PostgreSQL Server/AGProcess.m 2008-10-30 18:17:07 UTC (rev 209) @@ -0,0 +1,842 @@ +// AGProcess.m +// +// Copyright (c) 2002 Aram Greenman. All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: +// +// 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +// 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +// 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Version History: +// +// 0.1 - February 13, 2003 +// Initial release - Aram Greenman +// +// 0.2 - August 4, 2003 +// Added code to check OS versions in computations for task memory usage - Aram Greenman +// Added methods to retrieve task events (pageins, faults, etc.) - Craig Hockenberry +// Fixed compilation warnings in AGGetMachThreadPriority - Craig Hockenberry +// Fixed -siblings to exclude the receiver - Steve Gehrman + +#import "AGProcess.h" +#import <Foundation/Foundation.h> +#include <mach/mach_host.h> +#include <mach/mach_port.h> +#include <mach/mach_traps.h> +#include <mach/shared_memory_server.h> +#include <mach/task.h> +#include <mach/thread_act.h> +#include <mach/vm_map.h> +#include <sys/param.h> +#include <sys/sysctl.h> +#include <sys/types.h> +#include <signal.h> +#include <unistd.h> + +static unsigned global_shared_text_segment; +static unsigned shared_data_region_size; +static unsigned shared_text_region_size; + +// call this before any of the AGGetMach... functions +// sets the correct split library segment for running kernel +// should work at least through Darwin 6.6 (Mac OS X 10.2.6) +static kern_return_t +AGMachStatsInit() { + int mib[2] = {CTL_KERN, KERN_OSRELEASE}; + size_t len = 256; + char rel[len]; + + if (sysctl(mib, 2, &rel, &len, NULL, 0) < 0) + return KERN_FAILURE; + + // kernel version < 6.0 (Mac OS X 10.2) + if (strcmp(rel, "6") < 0) { + global_shared_text_segment = 0x70000000; + shared_data_region_size = 0x10000000; + shared_text_region_size = 0x10000000; + } + // use values defined for the kernel we built under + else { + global_shared_text_segment = GLOBAL_SHARED_TEXT_SEGMENT; + shared_data_region_size = SHARED_DATA_REGION_SIZE; + shared_text_region_size = SHARED_TEXT_REGION_SIZE; + } + + return KERN_SUCCESS; +} + +static kern_return_t +AGGetMachTaskMemoryUsage(task_t task, unsigned *virtual_size, unsigned *resident_size, double *percent) { + kern_return_t error; + struct task_basic_info t_info; + struct host_basic_info h_info; + struct vm_region_basic_info_64 vm_info; + mach_msg_type_number_t t_info_count = TASK_BASIC_INFO_COUNT, h_info_count = HOST_BASIC_INFO_COUNT, vm_info_count = VM_REGION_BASIC_INFO_COUNT_64; + vm_address_t address = global_shared_text_segment; + vm_size_t size; + mach_port_t object_name; + + if ((error = task_info(task, TASK_BASIC_INFO, (task_info_t)&t_info, &t_info_count)) != KERN_SUCCESS) + return error; + if ((error = host_info(mach_host_self(), HOST_BASIC_INFO, (host_info_t)&h_info, &h_info_count)) != KERN_SUCCESS) + return error; + + // check for firmware split libraries + // this is copied from the ps source code + if ((error = vm_region_64(task, &address, &size, VM_REGION_BASIC_INFO, (vm_region_info_t)&vm_info, &vm_info_count, &object_name)) != KERN_SUCCESS) + return error; + + if (vm_info.reserved && size == shared_text_region_size && t_info.virtual_size > (shared_text_region_size + shared_data_region_size)) + t_info.virtual_size -= (shared_text_region_size + shared_data_region_size); + + if (virtual_size != NULL) *virtual_size = t_info.virtual_size; + if (resident_size != NULL) *resident_size = t_info.resident_size; + if (percent != NULL) *percent = (double)t_info.resident_size / h_info.memory_size; + + return error; +} + +static kern_return_t +AGGetMachThreadCPUUsage(thread_t thread, double *user_time, double *system_time, double *percent) { + kern_return_t error; + struct thread_basic_info th_info; + mach_msg_type_number_t th_info_count = THREAD_BASIC_INFO_COUNT; + + if ((error = thread_info(thread, THREAD_BASIC_INFO, (thread_info_t)&th_info, &th_info_count)) != KERN_SUCCESS) + return error; + + if (user_time != NULL) *user_time = th_info.user_time.seconds + th_info.user_time.microseconds / 1e6; + if (system_time != NULL) *system_time = th_info.system_time.seconds + th_info.system_time.microseconds / 1e6; + if (percent != NULL) *percent = (double)th_info.cpu_usage / TH_USAGE_SCALE; + + return error; +} + +static kern_return_t +AGGetMachTaskCPUUsage(task_t task, double *user_time, double *system_time, double *percent) { + kern_return_t error; + struct task_basic_info t_info; + thread_array_t th_array; + mach_msg_type_number_t t_info_count = TASK_BASIC_INFO_COUNT, th_count; + int i; + double my_user_time = 0, my_system_time = 0, my_percent = 0; + + if ((error = task_info(task, TASK_BASIC_INFO, (task_info_t)&t_info, &t_info_count)) != KERN_SUCCESS) + return error; + if ((error = task_threads(task, &th_array, &th_count)) != KERN_SUCCESS) + return error; + + // sum time for live threads + for (i = 0; i < th_count; i++) { + double th_user_time, th_system_time, th_percent; + if ((error = AGGetMachThreadCPUUsage(th_array[i], &th_user_time, &th_system_time, &th_percent)) != KERN_SUCCESS) + break; + my_user_time += th_user_time; + my_system_time += th_system_time; + my_percent += th_percent; + } + + // destroy thread array + for (i = 0; i < th_count; i++) + mach_port_deallocate(mach_task_self(), th_array[i]); + vm_deallocate(mach_task_self(), (vm_address_t)th_array, sizeof(thread_t) * th_count); + + // check last error + if (error != KERN_SUCCESS) + return error; + + // add time for dead threads + my_user_time += t_info.user_time.seconds + t_info.user_time.microseconds / 1e6; + my_system_time += t_info.system_time.seconds + t_info.system_time.microseconds / 1e6; + + if (user_time != NULL) *user_time = my_user_time; + if (system_time != NULL) *system_time = my_system_time; + if (percent != NULL) *percent = my_percent; + + return error; +} + +static kern_return_t +AGGetMachThreadPriority(thread_t thread, int *current_priority, int *base_priority) { + kern_return_t error; + struct thread_basic_info th_info; + mach_msg_type_number_t th_info_count = THREAD_BASIC_INFO_COUNT; + int my_current_priority = 0, my_base_priority = 0; + + if ((error = thread_info(thread, THREAD_BASIC_INFO, (thread_info_t)&th_info, &th_info_count)) != KERN_SUCCESS) + return error; + + switch (th_info.policy) { + case POLICY_TIMESHARE: { + struct policy_timeshare_info pol_info; + mach_msg_type_number_t pol_info_count = POLICY_TIMESHARE_INFO_COUNT; + + if ((error = thread_info(thread, THREAD_SCHED_TIMESHARE_INFO, (thread_info_t)&pol_info, &pol_info_count)) != KERN_SUCCESS) + return error; + my_current_priority = pol_info.cur_priority; + my_base_priority = pol_info.base_priority; + break; + } case POLICY_RR: { + struct policy_rr_info pol_info; + mach_msg_type_number_t pol_info_count = POLICY_RR_INFO_COUNT; + + if ((error = thread_info(thread, THREAD_SCHED_RR_INFO, (thread_info_t)&pol_info, &pol_info_count)) != KERN_SUCCESS) + return error; + my_current_priority = my_base_priority = pol_info.base_priority; + break; + } case POLICY_FIFO: { + struct policy_fifo_info pol_info; + mach_msg_type_number_t pol_info_count = POLICY_FIFO_INFO_COUNT; + + if ((error = thread_info(thread, THREAD_SCHED_FIFO_INFO, (thread_info_t)&pol_info, &pol_info_count)) != KERN_SUCCESS) + return error; + my_current_priority = my_base_priority = pol_info.base_priority; + break; + } + } + + if (current_priority != NULL) *current_priority = my_current_priority; + if (base_priority != NULL) *base_priority = my_base_priority; + + return error; +} + +static kern_return_t +AGGetMachTaskPriority(task_t task, int *current_priority, int *base_priority) { + kern_return_t error; + thread_array_t th_array; + mach_msg_type_number_t th_count; + int i; + int my_current_priority = 0, my_base_priority = 0; + + if ((error = task_threads(task, &th_array, &th_count)) != KERN_SUCCESS) + return error; + + for (i = 0; i < th_count; i++) { + int th_current_priority, th_base_priority; + if ((error = AGGetMachThreadPriority(th_array[i], &th_current_priority, &th_base_priority)) != KERN_SUCCESS) + break; + if (th_current_priority > my_current_priority) + my_current_priority = th_current_priority; + if (th_base_priority > my_base_priority) + my_base_priority = th_base_priority; + } + + // destroy thread array + for (i = 0; i < th_count; i++) + mach_port_deallocate(mach_task_self(), th_array[i]); + vm_deallocate(mach_task_self(), (vm_address_t)th_array, sizeof(thread_t) * th_count); + + // check last error + if (error != KERN_SUCCESS) + return error; + + if (current_priority != NULL) *current_priority = my_current_priority; + if (base_priority != NULL) *base_priority = my_base_priority; + + return error; +} + +static kern_return_t +AGGetMachThreadState(thread_t thread, int *state) { + kern_return_t error; + struct thread_basic_info th_info; + mach_msg_type_number_t th_info_count = THREAD_BASIC_INFO_COUNT; + int my_state; + + if ((error = thread_info(thread, THREAD_BASIC_INFO, (thread_info_t)&th_info, &th_info_count)) != KERN_SUCCESS) + return error; + + switch (th_info.run_state) { + case TH_STATE_RUNNING: + my_state = AGProcessStateRunnable; + break; + case TH_STATE_UNINTERRUPTIBLE: + my_state = AGProcessStateUninterruptible; + break; + case TH_STATE_WAITING: + my_state = th_info.sleep_time > 20 ? AGProcessStateIdle : AGProcessStateSleeping; + break; + case TH_STATE_STOPPED: + my_state = AGProcessStateSuspended; + break; + case TH_STATE_HALTED: + my_state = AGProcessStateZombie; + break; + default: + my_state = AGProcessStateUnknown; + } + + if (state != NULL) *state = my_state; + + return error; +} + +static kern_return_t +AGGetMachTaskState(task_t task, int *state) { + kern_return_t error; + thread_array_t th_array; + mach_msg_type_number_t th_count; + int i; + int my_state = INT_MAX; + + if ((error = task_threads(task, &th_array, &th_count)) != KERN_SUCCESS) + return error; + + for (i = 0; i < th_count; i++) { + int th_state; + if ((error = AGGetMachThreadState(th_array[i], &th_state)) != KERN_SUCCESS) + break; + // most active state takes precedence + if (th_state < my_state) + my_state = th_state; + } + + // destroy thread array + for (i = 0; i < th_count; i++) + mach_port_deallocate(mach_task_self(), th_array[i]); + vm_deallocate(mach_task_self(), (vm_address_t)th_array, sizeof(thread_t) * th_count); + + // check last error + if (error != KERN_SUCCESS) + return error; + + if (state != NULL) *state = my_state; + + return error; +} + +static kern_return_t +AGGetMachTaskThreadCount(task_t task, int *count) { + kern_return_t error; + thread_array_t th_array; + mach_msg_type_number_t th_count; + int i; + + if ((error = task_threads(task, &th_array, &th_count)) != KERN_SUCCESS) + return error; + + for (i = 0; i < th_count; i++) + mach_port_deallocate(mach_task_self(), th_array[i]); + vm_deallocate(mach_task_self(), (vm_address_t)th_array, sizeof(thread_t) * th_count); + + if (count != NULL) *count = th_count; + + return error; +} + +static kern_return_t +AGGetMachTaskEvents(task_t task, int *faults, int *pageins, int *cow_faults, int *messages_sent, int *messages_received, int *syscalls_mach, int *syscalls_unix, int *csw) { + kern_return_t error; + task_events_info_data_t t_events_info; + mach_msg_type_number_t t_events_info_count = TASK_EVENTS_INFO_COUNT; + + if ((error = task_info(task, TASK_EVENTS_INFO, (task_info_t)&t_events_info, &t_events_info_count)) != KERN_SUCCESS) + return error; + + if (faults != NULL) *faults = t_events_info.faults; + if (pageins != NULL) *pageins = t_events_info.pageins; + if (cow_faults != NULL) *cow_faults = t_events_info.cow_faults; + if (messages_sent != NULL) *messages_sent = t_events_info.messages_sent; + if (messages_received != NULL) *messages_received = t_events_info.messages_received; + if (syscalls_mach != NULL) *syscalls_mach = t_events_info.syscalls_mach; + if (syscalls_unix != NULL) *syscalls_unix = t_events_info.syscalls_unix; + if (csw != NULL) *csw = t_events_info.csw; + + return error; +} + +@interface AGProcess (Private) ++ (NSArray *)processesForThirdLevelName:(int)name value:(int)value; +- (void)doProcargs; +@end + +@implementation AGProcess (Private) + ++ (NSArray *)processesForThirdLevelName:(int)name value:(int)value { + AGProcess *proc; + NSMutableArray *processes = [NSMutableArray array]; + int mib[4] = { CTL_KERN, KERN_PROC, name, value }; + struct kinfo_proc *info; + size_t length; + int level, count, i; + + // KERN_PROC_ALL has 3 elements, all others have 4 + level = name == KERN_PROC_ALL ? 3 : 4; + + if (sysctl(mib, level, NULL, &length, NULL, 0) < 0) + return processes; + if (!(info = NSZoneMalloc(NULL, length))) + return processes; + if (sysctl(mib, level, info, &length, NULL, 0) < 0) { + NSZoneFree(NULL, info); + return processes; + } + + // number of processes + count = length / sizeof(struct kinfo_proc); + + for (i = 0; i < count; i++) { + if (proc = [[self alloc] initWithProcessIdentifier:info[i].kp_proc.p_pid]) + [processes addObject:proc]; + [proc release]; + } + + NSZoneFree(NULL, info); + return processes; +} + +- (void)doProcargs { + id args = [NSMutableArray array]; + id env = [NSMutableDictionary dictionary]; + size_t length = 4096; // max buffer accepted by sysctl() KERN_PROCARGS + char buffer[length + 1]; + int mib[3] = { CTL_KERN, KERN_PROCARGS, process }; + int offset, last_offset, i; + BOOL word; + char c; + + // make sure this is only executed once for an instance + if (command) + return; + + if (sysctl(mib, 3, buffer, &length, NULL, 0) < 0) { + // probably a zombie or exited proc, try to at least get the accounting name + struct kinfo_proc info; + size_t length = sizeof(struct kinfo_proc); + int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; + + if (sysctl(mib, 4, &info, &length, NULL, 0) < 0) + command = [[NSString alloc] init]; + else + command = [[NSString alloc] initWithCString:info.kp_proc.p_comm]; + } else { + // find the comm string, should be the first non-garbage string in the buffer + offset = last_offset = 0; + buffer[length] = NULL; // prevent buffer overrun + + do { + for ( ; offset < length; offset++) { + if (buffer[offset]) { // found a chunk of data + last_offset = offset; + word = YES; + for ( ; offset < length; offset++) { + if (!(c = buffer[offset])) // reached end of data + break; + if (!(isprint(c))) // found a non-printing character + word = NO; + } + if (word) + break; + } + } + command = [[NSString stringWithCString:buffer + last_offset] lastPathComponent]; + } while ([command isEqualToString:@"LaunchCFMApp"]); // skip LaunchCFMApp + + [command retain]; + + // get rest of args and env + for ( ; offset < length; offset++) { + if (buffer[offset]) { + NSString *string = [NSString stringWithCString:buffer + offset]; + [args addObject:string]; + offset += [string cStringLength]; + } + } + + // count backwards past env + // first string which does not contain an '=' should usually be the last arg + for (i = [args count] - 1; i > 0; i--) { + NSString *string = [args objectAtIndex:i]; + int index = [string rangeOfString:@"="].location; + if (index == NSNotFound) + break; + [env setObject:[string substringFromIndex:index + 1] forKey:[string substringToIndex:index]]; + } + args = [args subarrayWithRange:NSMakeRange(0, i + 1)]; + } + + if (![args count]) + args = [NSArray arrayWithObject:command]; + arguments = [args retain]; + environment = [env retain]; +} + +@end + +@implementation AGProcess + ++ (void)initialize { + AGMachStatsInit(); + [super initialize]; +} + +- (id)initWithProcessIdentifier:(int)pid { + if (self = [super init]) { + process = pid; + if (task_for_pid(mach_task_self(), process, &task) != KERN_SUCCESS) + task = MACH_PORT_NULL; + if ([self state] == AGProcessStateExited) { + [self release]; + return nil; + } + } + return self; +} + ++ (AGProcess *)currentProcess { + return [self processForProcessIdentifier:getpid()]; +} + ++ (NSArray *)allProcesses { + return [self processesForThirdLevelName:KERN_PROC_ALL value:0]; +} + ++ (NSArray *)userProcesses { + return [self processesForUser:geteuid()]; +} + ++ (AGProcess *)processForProcessIdentifier:(int)pid { + return [[[self alloc] initWithProcessIdentifier:pid] autorelease]; +} + ++ (NSArray *)processesForProcessGroup:(int)pgid { + return [self processesForThirdLevelName:KERN_PROC_PGRP value:pgid]; +} + ++ (NSArray *)processesForTerminal:(int)tty { + return [self processesForThirdLevelName:KERN_PROC_TTY value:tty]; +} + ++ (NSArray *)processesForUser:(int)uid { + return [self processesForThirdLevelName:KERN_PROC_UID value:uid]; +} + ++ (NSArray *)processesForRealUser:(int)ruid { + return [self processesForThirdLevelName:KERN_PROC_RUID value:ruid]; +} + ++ (NSArray *)processesForCommand:(NSString *)comm { + NSArray *all = [self allProcesses]; + NSMutableArray *result = [NSMutableArray array]; + int i, count = [all count]; + for (i = 0; i < count; i++) + if ([[[all objectAtIndex:i] command] isEqualToString:comm]) + [result addObject:[all objectAtIndex:i]]; + return result; +} + ++ (AGProcess *)processForCommand:(NSString *)comm { + NSArray *processes = [self processesForCommand:comm]; + if ([processes count]) + return [processes objectAtIndex:0]; + return nil; +} + +- (int)processIdentifier { + return process; +} + +- (int)parentProcessIdentifier { + struct kinfo_proc info; + size_t length = sizeof(struct kinfo_proc); + int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; + if (sysctl(mib, 4, &info, &length, NULL, 0) < 0) + return AGProcessValueUnknown; + if (length == 0) + return AGProcessValueUnknown; + return info.kp_eproc.e_ppid; +} + +- (int)processGroup { + struct kinfo_proc info; + size_t length = sizeof(struct kinfo_proc); + int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; + if (sysctl(mib, 4, &info, &length, NULL, 0) < 0) + return AGProcessValueUnknown; + if (length == 0) + return AGProcessValueUnknown; + return info.kp_eproc.e_pgid; +} + +- (int)terminal { + struct kinfo_proc info; + size_t length = sizeof(struct kinfo_proc); + int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; + if (sysctl(mib, 4, &info, &length, NULL, 0) < 0) + return AGProcessValueUnknown; + if (length == 0 || info.kp_eproc.e_tdev == 0) + return AGProcessValueUnknown; + return info.kp_eproc.e_tdev; +} + +- (int)terminalProcessGroup { + struct kinfo_proc info; + size_t length = sizeof(struct kinfo_proc); + int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; + if (sysctl(mib, 4, &info, &length, NULL, 0) < 0) + return AGProcessValueUnknown; + if (length == 0 || info.kp_eproc.e_tpgid == 0) + return AGProcessValueUnknown; + return info.kp_eproc.e_tpgid; +} + +- (int)userIdentifier { + struct kinfo_proc info; + size_t length = sizeof(struct kinfo_proc); + int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; + if (sysctl(mib, 4, &info, &length, NULL, 0) < 0) + return AGProcessValueUnknown; + if (length == 0) + return AGProcessValueUnknown; + return info.kp_eproc.e_ucred.cr_uid; +} + +- (int)realUserIdentifier { + struct kinfo_proc info; + size_t length = sizeof(struct kinfo_proc); + int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; + if (sysctl(mib, 4, &info, &length, NULL, 0) < 0) + return AGProcessValueUnknown; + if (length == 0) + return AGProcessValueUnknown; + return info.kp_eproc.e_pcred.p_ruid; +} + +- (NSString *)command { + [self doProcargs]; + return command; +} + +- (NSArray *)arguments { + [self doProcargs]; + return arguments; +} + +- (NSDictionary *)environment { + [self doProcargs]; + return environment; +} + +- (AGProcess *)parent { + return [[self class] processForProcessIdentifier:[self parentProcessIdentifier]]; +} + +- (NSArray *)children { + NSArray *all = [[self class] allProcesses]; + NSMutableArray *children = [NSMutableArray array]; + int i, count = [all count]; + for (i = 0; i < count; i++) + if ([[all objectAtIndex:i] parentProcessIdentifier] == process) + [children addObject:[all objectAtIndex:i]]; + return children; +} + +- (NSArray *)siblings { + NSArray *all = [[self class] allProcesses]; + NSMutableArray *siblings = [NSMutableArray array]; + int i, count = [all count], ppid = [self parentProcessIdentifier]; + for (i = 0; i < count; i++) { + AGProcess *p = [all objectAtIndex:i]; + if ([p parentProcessIdentifier] == ppid && [p processIdentifier] != process) + [siblings addObject:p]; + } + return siblings; +} + +- (double)percentCPUUsage { + double percent; + if (AGGetMachTaskCPUUsage(task, NULL, NULL, &percent) != KERN_SUCCESS) + return AGProcessValueUnknown; + return percent; +} + +- (double)totalCPUTime { + double user, system; + if (AGGetMachTaskCPUUsage(task, &user, &system, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return user + system; +} + +- (double)userCPUTime { + double user; + if (AGGetMachTaskCPUUsage(task, &user, NULL, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return user; +} + +- (double)systemCPUTime { + double system; + if (AGGetMachTaskCPUUsage(task, NULL, &system, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return system; +} + +- (double)percentMemoryUsage { + double percent; + if (AGGetMachTaskMemoryUsage(task, NULL, NULL, &percent) != KERN_SUCCESS) + return AGProcessValueUnknown; + return percent; +} + +- (unsigned)virtualMemorySize { + unsigned size; + if (AGGetMachTaskMemoryUsage(task, &size, NULL, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return size; +} + +- (unsigned)residentMemorySize { + unsigned size; + if (AGGetMachTaskMemoryUsage(task, NULL, &size, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return size; +} + +- (AGProcessState)state { + int state; + struct kinfo_proc info; + size_t length = sizeof(struct kinfo_proc); + int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; + if (sysctl(mib, 4, &info, &length, NULL, 0) < 0) + return AGProcessStateExited; + if (length == 0) + return AGProcessStateExited; + if (info.kp_proc.p_stat == SZOMB) + return AGProcessStateZombie; + if (AGGetMachTaskState(task, &state) != KERN_SUCCESS) + return AGProcessStateUnknown; + return state; +} + +- (int)priority { + int priority; + if (AGGetMachTaskPriority(task, &priority, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return priority; +} + +- (int)basePriority { + int priority; + if (AGGetMachTaskPriority(task, NULL, &priority) != KERN_SUCCESS) + return AGProcessValueUnknown; + return priority; +} + +- (int)threadCount { + int count; + if (AGGetMachTaskThreadCount(task, &count) != KERN_SUCCESS) + return AGProcessValueUnknown; + return count; +} + +- (unsigned)hash { + return process; +} + +- (BOOL)isEqual:(id)object { + if (![object isKindOfClass:[self class]]) + return NO; + return process == [(AGProcess *)object processIdentifier]; +} + +- (NSString *)description { + return [NSString stringWithFormat:@"%@ process = %d, task = %u, command = %@, arguments = %@, environment = %@", [super description], process, task, [self command], [self arguments], [self environment]]; +} + +- (void)dealloc { + mach_port_deallocate(mach_task_self(), task); + [command release]; + [arguments release]; + [environment release]; + [super dealloc]; +} + +@end + +@implementation AGProcess (Signals) + +- (BOOL)suspend { + return [self kill:SIGSTOP]; +} + +- (BOOL)resume { + return [self kill:SIGCONT]; +} + +- (BOOL)interrupt { + return [self kill:SIGINT]; +} + +- (BOOL)terminate { + return [self kill:SIGTERM]; +} + +- (BOOL)kill:(int)signal { + return kill(process, signal) == 0; +} + +@end + +@implementation AGProcess (MachTaskEvents) + +- (int)faults { + unsigned faults; + if (AGGetMachTaskEvents(task, &faults, NULL, NULL, NULL, NULL, NULL, NULL, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return faults; +} + +- (int)pageins { + int pageins; + if (AGGetMachTaskEvents(task, NULL, &pageins, NULL, NULL, NULL, NULL, NULL, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return pageins; +} + +- (int)copyOnWriteFaults { + int cow_faults; + if (AGGetMachTaskEvents(task, NULL, NULL, &cow_faults, NULL, NULL, NULL, NULL, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return cow_faults; +} + +- (int)messagesSent { + int messages_sent; + if (AGGetMachTaskEvents(task, NULL, NULL, NULL, &messages_sent, NULL, NULL, NULL, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return messages_sent; +} + +- (int)messagesReceived { + int messages_received; + if (AGGetMachTaskEvents(task, NULL, NULL, NULL, NULL, &messages_received, NULL, NULL, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return messages_received; +} + +- (int)machSystemCalls { + int syscalls_mach; + if (AGGetMachTaskEvents(task, NULL, NULL, NULL, NULL, NULL, &syscalls_mach, NULL, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return syscalls_mach; +} + +- (int)unixSystemCalls { + int syscalls_unix; + if (AGGetMachTaskEvents(task, NULL, NULL, NULL, NULL, NULL, NULL, &syscalls_unix, NULL) != KERN_SUCCESS) + return AGProcessValueUnknown; + return syscalls_unix; +} + +- (int)contextSwitches { + int csw; + if (AGGetMachTaskEvents(task, NULL, NULL, NULL, NULL, NULL, NULL, NULL, &csw) != KERN_SUCCESS) + return AGProcessValueUnknown; + return csw; +} + +@end Property changes on: trunk/PreferencePane/PostgreSQL Server/AGProcess.m ___________________________________________________________________ Added: svn:executable + * Added: trunk/PreferencePane/PostgreSQL Server/English.lproj/InfoPlist.strings =================================================================== (Binary files differ) Property changes on: trunk/PreferencePane/PostgreSQL Server/English.lproj/InfoPlist.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/PreferencePane/PostgreSQL Server/English.lproj/PostgreSQL_ServerPref.xib =================================================================== --- trunk/PreferencePane/PostgreSQL Server/English.lproj/PostgreSQL_ServerPref.xib (rev 0) +++ trunk/PreferencePane/PostgreSQL Server/English.lproj/PostgreSQL_ServerPref.xib 2008-10-30 18:17:07 UTC (rev 209) @@ -0,0 +1,1419 @@ +<?xml version="1.0" encoding="UTF-8"?> +<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.02"> + <data> + <int key="IBDocument.SystemTarget">1050</int> + <string key="IBDocument.SystemVersion">9E17</string> + <string key="IBDocument.InterfaceBuilderVersion">670</string> + <string key="IBDocument.AppKitVersion">949.33</string> + <string key="IBDocument.HIToolboxVersion">352.00</string> + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> + <bool key="EncodedWithXMLCoder">YES</bool> + <integer value="6"/> + </object> + <object class="NSArray" key="IBDocument.PluginDependencies"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + </object> + <object class="NSMutableArray" key="IBDocument.RootObjects" id="409411428"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSCustomObject" id="294453543"> + <string key="NSClassName">PostgreSQL_ServerPref</string> + </object> + <object class="NSCustomObject" id="308860122"> + <string key="NSClassName">FirstResponder</string> + </object> + <object class="NSCustomObject" id="278121016"> + <string key="NSClassName">NSApplication</string> + </object> + <object class="NSWindowTemplate" id="660800786"> + <int key="NSWindowStyleMask">7</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{-46, 463}, {661, 345}}</string> + <int key="NSWTFlags">1081606144</int> + <string type="base64-UTF8" key="NSWindowTitle">PDwgZG8gbm90IGxvY2FsaXplID4+A</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{224.664, 10}</string> + <object class="NSView" key="NSWindowView" id="1037298196"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSImageView" id="627609165"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">268</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>Apple PDF pasteboard type</string> + <string>Apple PICT pasteboard type</string> + <string>Apple PNG pasteboard type</string> + <string>NSFilenamesPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string>NeXT TIFF v4.0 pasteboard type</string> + </object> + </object> + <string key="NSFrame">{{0, 94}, {289, 251}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <double key="NSViewAlphaValue">4.577465e-01</double> + <bool key="NSEnabled">YES</bool> + <object class="NSImageCell" key="NSCell" id="357708450"> + <int key="NSCellFlags">130560</int> + <int key="NSCellFlags2">33554432</int> + <object class="NSCustomResource" key="NSContents"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">postgres-logo</string> + </object> + <int key="NSAlign">0</int> + <int key="NSScale">0</int> + <int key="NSStyle">0</int> + <bool key="NSAnimates">NO</bool> + </object> + <bool key="NSEditable">YES</bool> + </object> + <object class="NSImageView" id="171549217"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">256</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>Apple PDF pasteboard type</string> + <string>Apple PICT pasteboard type</string> + <string>Apple PNG pasteboard type</string> + <string>NSFilenamesPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string>NeXT TIFF v4.0 pasteboard type</string> + </object> + </object> + <string key="NSFrame">{{20, 101}, {138, 138}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSImageCell" key="NSCell" id="947598781"> + <int key="NSCellFlags">130560</int> + <int key="NSCellFlags2">33554432</int> + <object class="NSCustomResource" key="NSContents"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">xserve-unknown</string> + </object> + <int key="NSAlign">0</int> + <int key="NSScale">2</int> + <int key="NSStyle">0</int> + <bool key="NSAnimates">NO</bool> + </object> + <bool key="NSEditable">YES</bool> + </object> + <object class="NSButton" id="304276232"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{180, 196}, {40, 42}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="221416573"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <object class="NSFont" key="NSSupport" id="24"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.000000e+01</double> + <int key="NSfFlags">16</int> + </object> + <reference key="NSControlView" ref="304276232"/> + <int key="NSButtonFlags">-2037628673</int> + <int key="NSButtonFlags2">2</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">start</string> + </object> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSButton" id="39267976"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{180, 152}, {40, 42}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="3864331"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="24"/> + <reference key="NSControlView" ref="39267976"/> + <int key="NSButtonFlags">-2037628673</int> + <int key="NSButtonFlags2">2</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">stop</string> + </object> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSButton" id="176611005"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{180, 108}, {40, 42}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="986865757"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="24"/> + <reference key="NSControlView" ref="176611005"/> + <int key="NSButtonFlags">-2037628673</int> + <int key="NSButtonFlags2">2</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">restart</string> + </object> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSButton" id="291656672"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{179, 81}, {175, 18}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="398026578"> + <int key="NSCellFlags">604110336</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Auto-start service at boot</string> + <object class="NSFont" key="NSSupport" id="26"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.100000e+01</double> + <int key="NSfFlags">3100</int> + </object> + <reference key="NSControlView" ref="291656672"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <object class="NSButtonImageSource" key="NSAlternateImage"> + <string key="NSImageName">NSSwitch</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTextField" id="1054078456"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 60}, {335, 11}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="295520004"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Current Status: Unknown</string> + <object class="NSFont" key="NSSupport"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">9.000000e+00</double> + <int key="NSfFlags">3614</int> + </object> + <reference key="NSControlView" ref="1054078456"/> + <object class="NSColor" key="NSBackgroundColor" id="271454391"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlColor</string> + <object class="NSColor" key="NSColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes> + </object> + </object> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">1</int> + <bytes key="NSRGB">MC41MDE5NjA4MSAwLjUwMTk2MDgxIDAuNTAxOTYwODEAA</bytes> + </object> + </object> + </object> + <object class="NSBox" id="135244490"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{23, 72}, {329, 5}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <string key="NSOffsets">{0, 0}</string> + <object class="NSTextFieldCell" key="NSTitleCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Box</string> + <object class="NSFont" key="NSSupport" id="834305099"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.300000e+01</double> + <int key="NSfFlags">1044</int> + </object> + <object class="NSColor" key="NSBackgroundColor" id="355701703"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">textBackgroundColor</string> + <object class="NSColor" key="NSColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MQA</bytes> + </object> + </object> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes> + </object> + </object> + <int key="NSBorderType">3</int> + <int key="NSBoxType">2</int> + <int key="NSTitlePosition">0</int> + <bool key="NSTransparent">NO</bool> + </object> + <object class="NSTextField" id="979487735"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{223, 212}, {80, 13}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="967200391"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Start</string> + <object class="NSFont" key="NSSupport" id="776402491"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.000000e+01</double> + <int key="NSfFlags">2843</int> + </object> + <reference key="NSControlView" ref="979487735"/> + <reference key="NSBackgroundColor" ref="271454391"/> + <object class="NSColor" key="NSTextColor" id="1027142172"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlTextColor</string> + <object class="NSColor" key="NSColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MAA</bytes> + </object> + </object> + </object> + </object> + <object class="NSTextField" id="609154561"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{223, 168}, {80, 13}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="303770490"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Stop</string> + <reference key="NSSupport" ref="776402491"/> + <reference key="NSControlView" ref="609154561"/> + <reference key="NSBackgroundColor" ref="271454391"/> + <reference key="NSTextColor" ref="1027142172"/> + </object> + </object> + <object class="NSTextField" id="140310987"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{223, 124}, {80, 13}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="566973395"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Restart</string> + <reference key="NSSupport" ref="776402491"/> + <reference key="NSControlView" ref="140310987"/> + <reference key="NSBackgroundColor" ref="271454391"/> + <reference key="NSTextColor" ref="1027142172"/> + </object> + </object> + <object class="NSProgressIndicator" id="341207287"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">-2147482368</int> + <object class="NSPSMatrix" key="NSDrawMatrix"/> + <string key="NSFrame">{{109, 116}, {32, 32}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <int key="NSpiFlags">28682</int> + <double key="NSMaxValue">1.000000e+02</double> + </object> + <object class="NSTextField" id="582898452"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{57, 26}, {205, 17}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="912924051"> + <int key="NSCellFlags">68288064</int> + <int key="NSCellFlags2">272630784</int> + <string key="NSContents">Click the lock to make changes.</string> + <reference key="NSSupport" ref="834305099"/> + <reference key="NSControlView" ref="582898452"/> + <reference key="NSBackgroundColor" ref="271454391"/> + <reference key="NSTextColor" ref="1027142172"/> + </object> + </object> + <object class="NSButton" id="487703545"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{619, 19}, {25, 25}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="520371744"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="834305099"/> + <reference key="NSControlView" ref="487703545"/> + <int key="NSButtonFlags">-2038415105</int> + <int key="NSButtonFlags2">161</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTextField" id="58562495"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{20, 247}, {335, 78}}</string> + <reference key="NSSuperview" ref="1037298196"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="810169047"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">272891904</int> + <string key="NSContents">Manage PostgreSQL Server on the local host. Start, Stop, Restart as well as change fundamental configurations for the PostgreSQL instance.</string> + <object class="NSFont" key="NSSupport"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.300000e+01</double> + <int key="NSfFlags">16</int> + </object> + <reference key="NSControlView" ref="58562495"/> + <reference key="NSBackgroundColor" ref="271454391"/> + <reference key="NSTextColor" ref="1027142172"/> + </object> + </object> + <object class="NSBox" id="328183076"> + <reference key="NSNextResponder" ref="1037298196"/> + <int key="NSvFlags">12</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSView" id="524366641"> + <reference key="NSNextResponder" ref="328183076"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + ... [truncated message content] |
From: <haw...@us...> - 2008-10-30 18:20:46
|
Revision: 210 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=210&view=rev Author: hawkmoon Date: 2008-10-30 18:20:38 +0000 (Thu, 30 Oct 2008) Log Message: ----------- Added Automator Actions from Druware. These are no longer going to be commercial. Added Paths: ----------- trunk/Automator/ trunk/Automator/PostgreSQL Dynamic Query Action/ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/InfoPlist.strings trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/icon_query_tool.tiff trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/keyedobjects.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/classes.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/icon_query_tool.tiff trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/info.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/keyedobjects.nib trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.h trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.m trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/default.pbxuser trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action_Prefix.pch trunk/Automator/PostgreSQL Query Action/ trunk/Automator/PostgreSQL Query Action/English.lproj/ trunk/Automator/PostgreSQL Query Action/English.lproj/InfoPlist.strings trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/ trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/classes.nib trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/info.nib trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/keyedobjects.nib trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.xib trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/ trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/classes.nib trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/icon_query_tool.tiff trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/info.nib trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/keyedobjects.nib trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/odbc-tran60.tiff trunk/Automator/PostgreSQL Query Action/Info.plist trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.h trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.m trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/ trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/default.pbxuser trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/project.pbxproj trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action_Prefix.pch trunk/Automator/PostgreSQL Query Action/RegistrationDialog.h trunk/Automator/PostgreSQL Query Action/RegistrationDialog.m trunk/Automator/PostgreSQL Query Action/query-tool.icns Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/InfoPlist.strings =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/InfoPlist.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,25 @@ +{ + IBClasses = ( + { + ACTIONS = {completed = id; run = id; runNext = id; stop = id; }; + CLASS = AMAction; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = AMAppleScriptAction; + LANGUAGE = ObjC; + OUTLETS = {"_script" = NSAppleScript; }; + SUPERCLASS = AMBundleAction; + }, + { + ACTIONS = {onSelectConnection = id; }; + CLASS = AMBundleAction; + LANGUAGE = ObjC; + OUTLETS = {dataSourceList = NSPopUpButton; view = NSView; }; + SUPERCLASS = AMAction; + }, + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/icon_query_tool.tiff =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/icon_query_tool.tiff ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>723 255 356 240 0 0 1920 1178 </string> + <key>IBEditorPositions</key> + <dict> + <key>5</key> + <string>705 647 509 294 0 0 1920 1178 </string> + </dict> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBOldestOS</key> + <integer>4</integer> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> + <key>IBSystem Version</key> + <string>8R4061a</string> +</dict> +</plist> Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/keyedobjects.nib ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/classes.nib =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/classes.nib (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/classes.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,25 @@ +{ + IBClasses = ( + { + ACTIONS = {completed = id; run = id; runNext = id; stop = id; }; + CLASS = AMAction; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = AMAppleScriptAction; + LANGUAGE = ObjC; + OUTLETS = {"_script" = NSAppleScript; }; + SUPERCLASS = AMBundleAction; + }, + { + ACTIONS = {onSelectConnection = id; }; + CLASS = AMBundleAction; + LANGUAGE = ObjC; + OUTLETS = {dataSourceList = NSPopUpButton; view = NSView; }; + SUPERCLASS = AMAction; + }, + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/icon_query_tool.tiff =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/icon_query_tool.tiff ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/info.nib =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/info.nib (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/info.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>723 255 356 240 0 0 1920 1178 </string> + <key>IBEditorPositions</key> + <dict> + <key>5</key> + <string>705 647 509 294 0 0 1920 1178 </string> + </dict> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBOldestOS</key> + <integer>4</integer> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> + <key>IBSystem Version</key> + <string>8R4061a</string> +</dict> +</plist> Added: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main~.nib/keyedobjects.nib ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>AMAccepts</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Optional</key> + <false/> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>AMApplication</key> + <string>Database</string> + <key>AMCanShowSelectedItemsWhenRun</key> + <true/> + <key>AMCanShowWhenRun</key> + <true/> + <key>AMCategory</key> + <string>Database</string> + <key>AMDefaultParameters</key> + <dict/> + <key>AMDescription</key> + <dict> + <key>AMDAlert</key> + <string></string> + <key>AMDInput</key> + <string></string> + <key>AMDNote</key> + <string></string> + <key>AMDOptions</key> + <string>Provide the User Name, Password and connection information in addition to the query to run. The query will not work without a valid login and password.</string> + <key>AMDRelatedActions</key> + <string></string> + <key>AMDRequires</key> + <string>Requires the PGSQLKit, which should be part of the action pack bundle.</string> + <key>AMDResult</key> + <string>Returns an array of records, if appropriate.</string> + <key>AMDSummary</key> + <string>Executes a query against a PostgreSQL Database, and returns a list of data elements from the database.</string> + </dict> + <key>AMIconName</key> + <string>PGDAAP</string> + <key>AMKeywords</key> + <array/> + <key>AMName</key> + <string>PostgreSQL Dynamic Query Action</string> + <key>AMProvides</key> + <dict> + <key>Container</key> + <string>List</string> + <key>Types</key> + <array> + <string>com.apple.cocoa.string</string> + </array> + </dict> + <key>AMRequiredResources</key> + <array/> + <key>AMWarning</key> + <dict> + <key>Action</key> + <string>(* Action name to be suggested to add prior to this action to make the task safer, e.g. com.apple.Automator.CopyFiles, goes here. *)</string> + <key>ApplyButton</key> + <string>(* Button label for user to add proposed Action, e.g. Add. *)</string> + <key>IgnoreButton</key> + <string>(* Button label for user not to add proposed Action, e.g. Don't Add. *)</string> + <key>Level</key> + <integer>0</integer> + <key>Message</key> + <string>(* Warning message presented to user goes here. *)</string> + </dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>${EXECUTABLE_NAME}</string> + <key>CFBundleGetInfoString</key> + <string>PostgreSQL Query Action version 1.0, Copyright (c) 2007, Druware Software Designs.</string> + <key>CFBundleIconFile</key> + <string></string> + <key>CFBundleIdentifier</key> + <string>com.Druware.Automator.PostgreSQL_Dynamic_Query_Action</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>NSPrincipalClass</key> + <string>PostgreSQL_Dynamic_Query_Action</string> +</dict> +</plist> Added: trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.h =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.h (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.h 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,22 @@ +// +// PostgreSQL Dynamic Query Action.h +// PostgreSQL Dynamic Query Action +// +// Created by Andy Satori on 9/25/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import <Cocoa/Cocoa.h> +#import <Automator/AMBundleAction.h> +#import <PGSQLKit/PGSQLKit.h> + + +@interface PostgreSQL_Dynamic_Query_Action : AMBundleAction +{ + IBOutlet NSPopUpButton *dataSourceList; +} + +- (id)runWithInput:(id)input fromAction:(AMAction *)anAction error:(NSDictionary **)errorInfo; +- (IBAction)onSelectConnection:(id)sender; + +@end Added: trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.m =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.m (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.m 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,290 @@ +// +// PostgreSQL Dynamic Query Action.m +// PostgreSQL Dynamic Query Action +// +// Created by Andy Satori on 9/25/07. +// Copyright 2007 Druware Software Designs. All rights reserved. +// + +#import "PostgreSQL Dynamic Query Action.h" +#import <Security/Security.h> +#import <CoreFoundation/CoreFoundation.h> +#import <stdlib.h> + +@implementation PostgreSQL_Dynamic_Query_Action + +- (id)runWithInput:(id)input fromAction:(AMAction *)anAction error:(NSDictionary **)errorInfo +{ + // Add your code here, returning the data to be passed to the next action. + NSMutableDictionary *dict = [self parameters]; + + NSString *user = [dict valueForKey:@"userName"]; + NSString *password = [dict valueForKey:@"password"]; + + NSString *serverName = [dict valueForKey:@"serverName"]; + NSString *serverPort = [dict valueForKey:@"serverPort"]; + NSString *databaseName = [dict valueForKey:@"databaseName"]; + + NSString *query = [NSString stringWithString:input]; + + PGSQLConnection *connection = [[PGSQLConnection alloc] init]; + + [connection setUserName:user]; + [connection setPassword:password]; + + [connection setServer:serverName]; + [connection setPort:serverPort]; + [connection setDatabaseName:databaseName]; + + if ([connection connect]) + { + PGSQLRecordset *rs = [connection open:query]; + + NSMutableArray *result = [[NSMutableArray alloc] init]; + while (![rs isEOF]) + { + [result addObject:[rs dictionaryFromRecord]]; + [rs moveNext]; + } + [rs close]; + [connection close]; + + return result; + } else { + // setup the error dictionary + } + return nil; + // return input; +} + +- (NSString *)connectionNameForKeychainItem:(SecKeychainItemRef)item +{ + OSStatus status; + SecKeychainAttribute attributes[2]; + SecKeychainAttributeList list; + NSString *result = nil; + + attributes[0].tag = kSecLabelItemAttr; + + list.count = 1; + list.attr = attributes; + + status = SecKeychainItemCopyContent(item, NULL, &list, NULL, NULL); + + if (status == noErr) + { + char buffer[1024]; + SecKeychainAttribute attr; + int i; + + for (i = 0; i < list.count; i++) + { + attr = list.attr[i]; + if (attr.length < 1024) + { + strncpy(buffer, attr.data, attr.length); + buffer[attr.length] = '\0'; + result = [[NSString alloc] initWithFormat:@"%s", buffer]; + } + } + } + + SecKeychainItemFreeContent(&list, NULL); + return result; +} + +- (NSString *)setConnectionDetails:(NSMutableDictionary *)dict forKeychainItem:(SecKeychainItemRef)item +{ + OSStatus status; + SecKeychainAttribute attributes[4]; + SecKeychainAttributeList list; + NSString *where = nil; + char *password; + UInt32 passwordLen; + passwordLen = 1024; + password = malloc(passwordLen); + + attributes[0].tag = kSecServiceItemAttr; + attributes[1].tag = kSecAccountItemAttr; + + list.count = 2; + list.attr = attributes; + + [dict setValue:@"" forKey:@"serverName"]; + [dict setValue:@"" forKey:@"port"]; + [dict setValue:@"" forKey:@"userName"]; + [dict setValue:@"" forKey:@"password"]; + [dict setValue:@"" forKey:@"databaseName"]; + + // alter this to read the password (last two nulls) + status = SecKeychainItemCopyContent(item, NULL, &list, &passwordLen, + (void *)&password); + + if (status == noErr) + { + char buffer[1024]; + SecKeychainAttribute attr; + int i; + + for (i = 0; i < list.count; i++) + { + attr = list.attr[i]; + switch (attr.tag) + { + case kSecServiceItemAttr: + if (attr.length < 1024) + { + strncpy(buffer, attr.data, attr.length); + buffer[attr.length] = '\0'; + where = [[NSString alloc] initWithFormat:@"%s", buffer]; + + // split the where into the location elements + NSRange range1 = [where rangeOfString:@"@"]; + NSRange range2 = [where rangeOfString:@":"]; + NSRange range3 = NSMakeRange( + (range1.location + range1.length), + (range2.location - (range1.location + range1.length))); + + [dict setValue:[where substringWithRange:range3] forKey:@"serverName"]; + [dict setValue:[where substringFromIndex:range2.location + range2.length] forKey:@"serverPort"]; + [dict setValue:[where substringToIndex:range1.location] forKey:@"databaseName"]; + } + break; + case kSecAccountItemAttr: + if (attr.length < 1024) + { + strncpy(buffer, attr.data, attr.length); + buffer[attr.length] = '\0'; + NSString *who = [[NSString alloc] initWithFormat:@"%s", buffer]; + [dict setValue:who forKey:@"userName"]; + } + break; + default: + break; + } + } + + strncpy(buffer, password, passwordLen); + buffer[passwordLen] = '\0'; + // set the password + [dict setValue:[NSString stringWithFormat:@"%s", buffer]forKey:@"password"]; + } + + free(password); + + + return where; +} + +- (id)initWithDefinition:(NSDictionary *)dict fromArchive:(BOOL)archived +{ + self = [super initWithDefinition:dict fromArchive:archived]; + + if (self != nil) + { + + NSColor *unregisteredColor = [NSColor redColor]; + [dict setValue:@"Unregistered" forKey:@"registeredStatus"]; + [dict setValue:unregisteredColor forKey:@"registeredColor"]; + + + NSMutableArray *savedConnections = [[NSMutableArray alloc] init]; + NSMutableDictionary *dict = [[[NSMutableDictionary alloc] init] autorelease]; + [dict setValue:@"--none--" forKey:@"name"]; + [savedConnections addObject:dict]; + + PGSQLConnection *connection = [[PGSQLConnection alloc] init]; + + // populate the list from the keychain + OSStatus status; + SecKeychainSearchRef search; + SecKeychainAttribute attributes[1]; + SecKeychainAttributeList list; + SecKeychainItemRef item; + + attributes[0].tag = kSecCreatorItemAttr; + attributes[0].data = "pgds"; + attributes[0].length = 4; + + list.count = 1; + list.attr = attributes; + + status = SecKeychainSearchCreateFromAttributes(NULL, + kSecGenericPasswordItemClass, + &list, &search); + if (status != noErr) + { + NSLog(@"Error reading the keychain: %d", status); + } + + while (SecKeychainSearchCopyNext(search, &item) == noErr) + { + dict = [[[NSMutableDictionary alloc] init] autorelease]; + [dict setValue:[self connectionNameForKeychainItem:item] forKey:@"name"]; + [savedConnections addObject:dict]; + CFRelease(item); + } + CFRelease(search); + + [[self parameters] setObject:savedConnections forKey:@"savedConnectionList"]; + [connection release]; + connection = nil; + } + + return self; +} + + +- (IBAction)onSelectConnection:(id)sender +{ + NSLog(@"Selection Changed"); + + NSMutableDictionary *dict = [self parameters]; + + if ([dataSourceList indexOfSelectedItem] == 0) + { + [dict setValue:@"" forKey:@"serverName"]; + [dict setValue:@"" forKey:@"serverPort"]; + [dict setValue:@"" forKey:@"userName"]; + [dict setValue:@"" forKey:@"password"]; + [dict setValue:@"" forKey:@"databaseName"]; + return; + } + + NSString *selectedValue = [[dataSourceList selectedItem] title]; + + OSStatus status; + SecKeychainSearchRef search; + SecKeychainAttribute attributes[2]; + SecKeychainAttributeList list; + SecKeychainItemRef item; + + attributes[0].tag = kSecCreatorItemAttr; + attributes[0].data = "pgds"; + attributes[0].length = 4; + + attributes[1].tag = kSecLabelItemAttr; + attributes[1].data = (char *)[selectedValue cString]; + attributes[1].length = [selectedValue length]; + + list.count = 2; + list.attr = attributes; + + status = SecKeychainSearchCreateFromAttributes(NULL, + kSecGenericPasswordItemClass, + &list, &search); + if (status != noErr) + { + NSLog(@"Error reading the keychain: %d", status); + } + + while (SecKeychainSearchCopyNext(search, &item) == noErr) + { + [self setConnectionDetails:dict forKeychainItem:item]; + CFRelease(item); + } + + CFRelease(search); +} + +@end Added: trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/default.pbxuser =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/default.pbxuser (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/default.pbxuser 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,76 @@ +// !$*UTF8*$! +{ + 089C1669FE841209C02AAC07 = { + activeBuildStyle = 014CEA420018CDE011CA2923; + activeExecutable = 658A2E03067AB99300421F51; + activeTarget = 8D5B49AC048680CD000E48DA; + codeSenseManager = 658A2DD0067AB96600421F51; + executables = ( + 658A2E03067AB99300421F51, + ); + sourceControlManager = 658A2DCF067AB96600421F51; + userBuildSettings = { + }; + }; + 658A2DCF067AB96600421F51 = { + fallbackIsa = XCSourceControlManager; + isa = PBXSourceControlManager; + scmConfiguration = { + }; + scmType = ""; + }; + 658A2DD0067AB96600421F51 = { + indexTemplatePath = ""; + isa = PBXCodeSenseManager; + usesDefaults = 1; + wantsCodeCompletion = 1; + wantsCodeCompletionAutoPopup = 0; + wantsCodeCompletionAutoSuggestions = 1; + wantsCodeCompletionCaseSensitivity = 1; + wantsCodeCompletionListAlways = 0; + wantsCodeCompletionOnlyMatchingItems = 1; + wantsCodeCompletionParametersIncluded = 1; + wantsCodeCompletionPlaceholdersInserted = 1; + wantsCodeCompletionTabCompletes = 1; + wantsIndex = 1; + }; + 658A2E03067AB99300421F51 = { + activeArgIndex = 0; + activeArgIndices = ( + YES, + ); + argumentStrings = ( + "-action \"PostgreSQL Dynamic Query Action.action\"", + ); + configStateDict = { + }; + cppStopOnCatchEnabled = 0; + cppStopOnThrowEnabled = 0; + customDataFormattersEnabled = 1; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + dylibVariantSuffix = ""; + enableDebugStr = 1; + environmentEntries = ( + ); + isa = PBXExecutable; + launchableReference = 658A2E04067AB99300421F51; + libgmallocEnabled = 0; + name = Automator; + shlibInfoDictList = ( + ); + sourceDirectories = ( + ); + }; + 658A2E04067AB99300421F51 = { + isa = PBXFileReference; + lastKnownFileType = wrapper.application; + name = Automator.app; + path = /Applications/Automator.app; + refType = 0; + sourceTree = "<absolute>"; + }; + 8D5B49AC048680CD000E48DA = { + activeExec = 0; + }; +} Added: trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,321 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + 431AC42F0CA9A806006A2B73 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 431AC42E0CA9A806006A2B73 /* Security.framework */; }; + 431AC4330CA9A837006A2B73 /* PGSQLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 431AC4320CA9A837006A2B73 /* PGSQLKit.framework */; }; + 431AC43C0CA9A9B8006A2B73 /* PGSQLKit.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 431AC4320CA9A837006A2B73 /* PGSQLKit.framework */; }; + 650E79E2067AB5AE00B4A4EC /* Automator.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 650E79E1067AB5AE00B4A4EC /* Automator.framework */; }; + 65181752067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m in Sources */ = {isa = PBXBuildFile; fileRef = 65181750067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m */; }; + 65C50ADF067A987800FE4393 /* main.nib in Resources */ = {isa = PBXBuildFile; fileRef = 65C50ADD067A987800FE4393 /* main.nib */; }; + 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; }; + 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 431AC4350CA9A83F006A2B73 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 431AC43C0CA9A9B8006A2B73 /* PGSQLKit.framework in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 089C1672FE841209C02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; + 089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; + 089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; + 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; + 32DBCF630370AF2F00C91783 /* PostgreSQL Dynamic Query Action_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PostgreSQL Dynamic Query Action_Prefix.pch"; sourceTree = "<group>"; }; + 431AC42E0CA9A806006A2B73 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /System/Library/Frameworks/Security.framework; sourceTree = "<absolute>"; }; + 431AC4320CA9A837006A2B73 /* PGSQLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PGSQLKit.framework; path = /Library/Frameworks/PGSQLKit.framework; sourceTree = "<absolute>"; }; + 650E79E1067AB5AE00B4A4EC /* Automator.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Automator.framework; path = /System/Library/Frameworks/Automator.framework; sourceTree = "<absolute>"; }; + 6518174F067A8D39005BD953 /* PostgreSQL Dynamic Query Action.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PostgreSQL Dynamic Query Action.h"; sourceTree = "<group>"; }; + 65181750067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "PostgreSQL Dynamic Query Action.m"; sourceTree = "<group>"; }; + 65C50ADE067A987800FE4393 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/main.nib; sourceTree = "<group>"; }; + 8D5B49B6048680CD000E48DA /* PostgreSQL Dynamic Query Action.action */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "PostgreSQL Dynamic Query Action.action"; sourceTree = BUILT_PRODUCTS_DIR; }; + 8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D5B49B3048680CD000E48DA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */, + 650E79E2067AB5AE00B4A4EC /* Automator.framework in Frameworks */, + 431AC42F0CA9A806006A2B73 /* Security.framework in Frameworks */, + 431AC4330CA9A837006A2B73 /* PGSQLKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 089C166AFE841209C02AAC07 /* PostgreSQL Dynamic Query Action */ = { + isa = PBXGroup; + children = ( + 08FB77AFFE84173DC02AAC07 /* Classes */, + 32C88E010371C26100C91783 /* Other Sources */, + 089C167CFE841241C02AAC07 /* Resources */, + 089C1671FE841209C02AAC07 /* Frameworks and Libraries */, + 19C28FB8FE9D52D311CA2CBB /* Products */, + ); + name = "PostgreSQL Dynamic Query Action"; + sourceTree = "<group>"; + }; + 089C1671FE841209C02AAC07 /* Frameworks and Libraries */ = { + isa = PBXGroup; + children = ( + 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */, + 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */, + ); + name = "Frameworks and Libraries"; + sourceTree = "<group>"; + }; + 089C167CFE841241C02AAC07 /* Resources */ = { + isa = PBXGroup; + children = ( + 65C50ADD067A987800FE4393 /* main.nib */, + 8D5B49B7048680CD000E48DA /* Info.plist */, + 089C167DFE841241C02AAC07 /* InfoPlist.strings */, + ); + name = Resources; + sourceTree = "<group>"; + }; + 08FB77AFFE84173DC02AAC07 /* Classes */ = { + isa = PBXGroup; + children = ( + 6518174F067A8D39005BD953 /* PostgreSQL Dynamic Query Action.h */, + 65181750067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m */, + ); + name = Classes; + sourceTree = "<group>"; + }; + 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 431AC4320CA9A837006A2B73 /* PGSQLKit.framework */, + 431AC42E0CA9A806006A2B73 /* Security.framework */, + 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */, + 650E79E1067AB5AE00B4A4EC /* Automator.framework */, + ); + name = "Linked Frameworks"; + sourceTree = "<group>"; + }; + 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + 089C1672FE841209C02AAC07 /* Foundation.framework */, + 089C167FFE841241C02AAC07 /* AppKit.framework */, + ); + name = "Other Frameworks"; + sourceTree = "<group>"; + }; + 19C28FB8FE9D52D311CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D5B49B6048680CD000E48DA /* PostgreSQL Dynamic Query Action.action */, + ); + name = Products; + sourceTree = "<group>"; + }; + 32C88E010371C26100C91783 /* Other Sources */ = { + isa = PBXGroup; + children = ( + 32DBCF630370AF2F00C91783 /* PostgreSQL Dynamic Query Action_Prefix.pch */, + ); + name = "Other Sources"; + sourceTree = "<group>"; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D5B49AC048680CD000E48DA /* PostgreSQL Dynamic Query Action */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4E59C33F08A97622001206A8 /* Build configuration list for PBXNativeTarget "PostgreSQL Dynamic Query Action" */; + buildPhases = ( + 8D5B49AF048680CD000E48DA /* Resources */, + 8D5B49B1048680CD000E48DA /* Sources */, + 8D5B49B3048680CD000E48DA /* Frameworks */, + 25038767080C6D0B00E1128B /* ShellScript */, + 431AC4350CA9A83F006A2B73 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "PostgreSQL Dynamic Query Action"; + productInstallPath = "$(HOME)/Library/Bundles"; + productName = "PostgreSQL Dynamic Query Action"; + productReference = 8D5B49B6048680CD000E48DA /* PostgreSQL Dynamic Query Action.action */; + productType = "com.apple.product-type.bundle"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 089C1669FE841209C02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 4E59C34308A97622001206A8 /* Build configuration list for PBXProject "PostgreSQL Dynamic Query Action" */; + compatibilityVersion = "Xcode 2.4"; + hasScannedForEncodings = 1; + mainGroup = 089C166AFE841209C02AAC07 /* PostgreSQL Dynamic Query Action */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8D5B49AC048680CD000E48DA /* PostgreSQL Dynamic Query Action */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D5B49AF048680CD000E48DA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */, + 65C50ADF067A987800FE4393 /* main.nib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 25038767080C6D0B00E1128B /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/usr/bin/amlint \"${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}\""; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D5B49B1048680CD000E48DA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 65181752067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 089C167DFE841241C02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C167EFE841241C02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = "<group>"; + }; + 65C50ADD067A987800FE4393 /* main.nib */ = { + isa = PBXVariantGroup; + children = ( + 65C50ADE067A987800FE4393 /* English */, + ); + name = main.nib; + sourceTree = "<group>"; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 4E59C34008A97622001206A8 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PostgreSQL Dynamic Query Action_Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Library/Automator"; + OTHER_OSAFLAGS = "-x -t 0 -c 0"; + PRODUCT_NAME = "PostgreSQL Dynamic Query Action"; + WRAPPER_EXTENSION = action; + ZERO_LINK = YES; + }; + name = Debug; + }; + 4E59C34108A97622001206A8 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = ( + ppc, + i386, + ); + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "PostgreSQL Dynamic Query Action_Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Library/Automator"; + OTHER_OSAFLAGS = "-x -t 0 -c 0"; + PRODUCT_NAME = "PostgreSQL Dynamic Query Action"; + WRAPPER_EXTENSION = action; + }; + name = Release; + }; + 4E59C34408A97622001206A8 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Debug; + }; + 4E59C34508A97622001206A8 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4E59C33F08A97622001206A8 /* Build configuration list for PBXNativeTarget "PostgreSQL Dynamic Query Action" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4E59C34008A97622001206A8 /* Debug */, + 4E59C34108A97622001206A8 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4E59C34308A97622001206A8 /* Build configuration list for PBXProject "PostgreSQL Dynamic Query Action" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4E59C34408A97622001206A8 /* Debug */, + 4E59C34508A97622001206A8 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 089C1669FE841209C02AAC07 /* Project object */; +} Added: trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action_Prefix.pch =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action_Prefix.pch (rev 0) +++ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action_Prefix.pch 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'PostgreSQL Dynamic Query Action' target in the 'PostgreSQL Dynamic Query Action' project. +// + +#ifdef __OBJC__ + #import <Cocoa/Cocoa.h> +#endif Added: trunk/Automator/PostgreSQL Query Action/English.lproj/InfoPlist.strings =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Query Action/English.lproj/InfoPlist.strings ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/classes.nib =================================================================== --- trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/classes.nib (rev 0) +++ trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/classes.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBClasses</key> + <array> + <dict> + <key>ACTIONS</key> + <dict> + <key>onCancel</key> + <string>id</string> + <key>onNext</key> + <string>id</string> + </dict> + <key>CLASS</key> + <string>RegistrationDialog</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>OUTLETS</key> + <dict> + <key>cancel</key> + <string>NSButton</string> + <key>emailAddress</key> + <string>NSTextField</string> + <key>next</key> + <string>NSButton</string> + <key>ownerName</key> + <string>NSTextField</string> + <key>product</key> + <string>NSTextField</string> + <key>purchaseConfirmationCode</key> + <string>NSTextField</string> + <key>purchaseDate</key> + <string>NSTextField</string> + <key>regPanel</key> + <string>NSWindow</string> + <key>registrationPageView</key> + <string>WebView</string> + <key>serialKey</key> + <string>NSTextView</string> + <key>validatedCode</key> + <string>NSTextField</string> + <key>version</key> + <string>NSTextField</string> + </dict> + <key>SUPERCLASS</key> + <string>NSObject</string> + </dict> + </array> + <key>IBVersion</key> + <string>1</string> +</dict> +</plist> Added: trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/info.nib =================================================================== --- trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/info.nib (rev 0) +++ trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/info.nib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBFramework Version</key> + <string>629</string> + <key>IBLastKnownRelativeProjectPath</key> + <string>../../PostgreSQL Query Action.xcodeproj</string> + <key>IBOldestOS</key> + <integer>5</integer> + <key>IBOpenObjects</key> + <array/> + <key>IBSystem Version</key> + <string>9B18</string> + <key>targetFramework</key> + <string>IBCocoaFramework</string> +</dict> +</plist> Added: trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.nib/keyedobjects.nib ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.xib =================================================================== --- trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.xib (rev 0) +++ trunk/Automator/PostgreSQL Query Action/English.lproj/Registration.xib 2008-10-30 18:20:38 UTC (rev 210) @@ -0,0 +1,2025 @@ +<?xml version="1.0" encoding="UTF-8"?> +<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.01"> + <data> + <int key="IBDocument.SystemTarget">1050</int> + <string key="IBDocument.SystemVersion">9A581</string> + <string key="IBDocument.InterfaceBuilderVersion">629</string> + <string key="IBDocument.AppKitVersion">949</string> + <string key="IBDocument.HIToolboxVersion">343.00</string> + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> + <bool key="EncodedWithXMLCoder">YES</bool> + <integer value="2"/> + </object> + <object class="NSArray" key="IBDocument.PluginDependencies"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string id="11537020">com.apple.WebKitIBPlugin</string> + <string id="211859359">com.apple.InterfaceBuilder.CocoaPlugin</string> + </object> + <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSCustomObject" id="1001"> + <string key="NSClassName">RegistrationDialog</string> + </object> + <object class="NSCustomObject" id="1003"> + <string key="NSClassName">FirstResponder</string> + </object> + <object class="NSCustomObject" id="1004"> + <string key="NSClassName">NSApplication</string> + </object> + <object class="NSWindowTemplate" id="1005"> + <int key="NSWindowStyleMask">15</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{196, 97}, {622, 413}}</string> + <int key="NSWTFlags">536870912</int> + <string key="NSWindowTitle">Window</string> + <string key="NSWindowClass" id="546964260">NSWindow</string> + <nil key="NSViewClass"/> + <object class="NSView" key="NSWindowView" id="1006"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSButton" id="872045429"> + <reference key="NSNextResponder" ref="1006"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{416, 12}, {96, 32}}</string> + <reference key="NSSuperview" ref="1006"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="1055781808"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string type="base64-UTF8" key="NSContents">TmV4dCA+Pg</string> + <object class="NSFont" key="NSSupport" id="471830988"> + <string key="NSName" id="722674430">LucidaGrande</string> + <double key="NSSize">1.300000e+01</double> + <int key="NSfFlags">1044</int> + </object> + <reference key="NSControlView" ref="872045429"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">129</int> + <string key="NSAlternateContents" id="937557411"/> + <reference key="NSKeyEquivalent" ref="937557411"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="347131844"> + <reference key="NSNextResponder" ref="1006"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{512, 12}, {96, 32}}</string> + <reference key="NSSuperview" ref="1006"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="599036324"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">Cancel</string> + <reference key="NSSupport" ref="471830988"/> + <reference key="NSControlView" ref="347131844"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">129</int> + <reference key="NSAlternateContents" ref="937557411"/> + <reference key="NSKeyEquivalent" ref="937557411"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTabView" id="831628695"> + <reference key="NSNextResponder" ref="1006"/> + <int key="NSvFlags">12</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSView" id="919037075"> + <reference key="NSNextResponder" ref="831628695"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="792674768"> + <reference key="NSNextResponder" ref="919037075"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{14, 290}, {38, 17}}</string> + <reference key="NSSuperview" ref="919037075"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="305275571"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272630784</int> + <string key="NSContents" id="850517223">Label</string> + <reference key="NSSupport" ref="471830988"/> + <reference key="NSControlView" ref="792674768"/> + <object class="NSColor" key="NSBackgroundColor" id="231559556"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName" id="1010369127">System</string> + <string key="NSColorName">controlColor</string> + <object class="NSColor" key="NSColor" id="33398921"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes> + </object> + </object> + <object class="NSColor" key="NSTextColor" id="630964601"> + <int key="NSColorSpace">6</int> + <reference key="NSCatalogName" ref="1010369127"/> + <string key="NSColorName">controlTextColor</string> + <object class="NSColor" key="NSColor" id="282358649"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MAA</bytes> + </object> + </object> + </object> + </object> + <object class="NSTextField" id="841941629"> + <reference key="NSNextResponder" ref="919037075"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{57, 288}, {240, 22}}</string> + <reference key="NSSuperview" ref="919037075"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="305448489"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">272630784</int> + <reference key="NSContents" ref="937557411"/> + <reference key="NSSupport" ref="471830988"/> + <reference key="NSControlView" ref="841941629"/> + <bool key="NSDrawsBackground">YES</bool> + <object class="NSColor" key="NSBackgroundColor" id="827781145"> + <int key="NSColorSpace">6</int> + <reference key="NSCatalogName" ref="1010369127"/> + <string key="NSColorName">textBackgroundColor</string> + <object class="NSColor" key="NSColor" id="807232683"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MQA</bytes> + </object> + </object> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">6</int> + <reference key="NSCatalogName" ref="1010369127"/> + <string key="NSColorName">textColor</string> + <reference key="NSColor" ref="282358649"/> + </object> + </object> + </object> + <object class="NSTextField" id="396734370"> + <reference key="NSNextResponder" ref="919037075"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{14, 263}, {38, 17}}</string> + <reference key="NSSuperview" ref="919037075"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="653731863"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272630784</int> + <reference key="NSContents" ref="850517223"/> + <reference key="NSSupport" ref="471830988"/> + <reference key="NSControlView" ref="396734370"/> + <reference key="NSBackgroundColor" ref="231559556"/> + <reference key="NSTextColor" ref="630964601"/> + </object> + </object> + <object class="NSScrollView" id="745173933"> + <reference key="NSNextResponder" ref="919037075"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="1053030900"> + <reference key="NSNextResponder" ref="745173933"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextView" id="550859200"> + <reference key="NSNextResponder" ref="1053030900"/> + <int key="NSvFlags">2322</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string id="896061464">Apple HTML pasteboard type</string> + <string>Apple PDF pasteboard type</string> + <string id="778264198">Apple PICT pasteboard type</string> + <string>Apple PNG pasteboard type</string> + <string id="731441325">Apple URL pasteboard type</string> + <string>CorePasteboardFlavorType 0x6D6F6F76</string> + <string>CorePasteboardFlavorType 0x75726C20</string> + <string id="590278409">NSColor pasteboard type</string> + <string id="988985960">NSFilenamesPboardType</string> + <string id="85645767">NSStringPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string id="988610349">NeXT RTFD pasteboard type</string> + <string id="382733965">NeXT Rich Text Format v1.0 pasteboard type</string> + <string id="46405372">NeXT TIFF v4.0 pasteboard type</string> + <string>NeXT font pasteboard type</string> + <string>NeXT ruler pasteboard type</string> + <string id="899111429">WebURLsWithTitlesPboardType</string> + </object> + </object> + <string key="NSFrameSize">{416, 96}</string> + <reference key="NSSuperview" ref="1053030900"/> + <reference key="NSWindow"/> + <object class="NSTextContainer" key="NSTextContainer" id="654640750"> + <object class="NSLayoutManager" key="NSLayoutManager"> + <object class="NSTextStorage" key="NSTextStorage"> + <object class="NSMutableString" key="NSString"> + <characters key="NS.bytes">Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Et harumd und lookum like Greek to me, dereud facilis est er expedit distinct. Nam liber te conscient to factor tum poen legum odioque civiuda</characters> + </object> + <object class="NSMutableArray" key="NSAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSDictionary"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string id="19313166">NSFont</string> + <string id="823970510">NSParagraphStyle</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSFont"> + <reference key="NSName" ref="722674430"/> + <double key="NSSize">1.000000e+01</double> + <int key="NSfFlags">2843</int> + </object> + <object class="NSParagraphStyle"> + <int key="NSAlignment">3</int> + <object class="NSArray" key="NSTabStops"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextTab" id="284743119"> + <double key="NSLocation">0.000000e+00</double> + </object> + <object class="NSTextTab" id="175164886"> + <double key="NSLocation">5.600000e+01</double> + </object> + <object class="NSTextTab" id="1058560956"> + <double key="NSLocation">1.120000e+02</double> + </object> + <object class="NSTextTab" id="167628693"> + <double key="NSLocation">1.680000e+02</double> + </object> + <object class="NSTextTab" id="452501994"> + <double key="NSLocation">2.240000e+02</double> + </object> + <object class="NSTextTab" id="936473673"> + <double key="NSLocation">2.800000e+02</double> + </object> + <object class="NSTextTab" id="296556441"> + <double key="NSLocation">3.360000e+02</double> + </object> + <object class="NSTextTab" id="686859414"> + <double key="NSLocation">3.920000e+02</double> + </object> + <object class="NSTextTab" id="127255504"> + <double key="NSLocation">4.480000e+02</double> + </object> + <object class="NSTextTab" id="194174709"> + <double key="NSLocation">5.040000e+02</double> + </object> + <object class="NSTextTab" id="107524810"> + <double key="NSLocation">5.600000e+02</double> + </object> + <object class="NSTextTab" id="2470231"> + <double key="NSLocation">6.160000e+02</double> + </object> + <object class="NSTextTab" id="266231615"> + <double key="NSLocation">6.720000e+02</double> + </object> + <object class="NSTextTab" id="979569239"> + <double key="NSLocation">7.280000e+02</double> + </object> + <object class="NSTextTab" id="940026642"> + <double key="NSLocation">7.840000e+02</double> + </object> + <object class="NSTextTab" id="738061603"> + <double key="NSLocation">8.400000e+02</d... [truncated message content] |
From: <haw...@us...> - 2008-11-13 16:22:59
|
Revision: 216 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=216&view=rev Author: hawkmoon Date: 2008-11-13 16:22:55 +0000 (Thu, 13 Nov 2008) Log Message: ----------- 8.3.5 Release Modified Paths: -------------- trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist trunk/Automator/PostgreSQL Query Action/Info.plist trunk/CreateDatabase/Info.plist trunk/CreateUser/Create User.xcodeproj/arsatori.pbxuser trunk/CreateUser/Create User.xcodeproj/project.pbxproj trunk/CreateUser/Info.plist trunk/CreateUser/PGNewUserUI.h trunk/CreateUser/PGNewUserUI.m trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/02postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml trunk/PGSQLKit/Info.plist trunk/PreferencePane/PostgreSQL Server/English.lproj/PostgreSQL_ServerPref.xib trunk/PreferencePane/PostgreSQL Server/Info.plist trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.m trunk/StartupHelper/main.c trunk/StartupItem/.DS_Store trunk/pgCocoaDB/Info.plist Modified: trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist 2008-11-13 16:22:55 UTC (rev 216) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>AMAccepts</key> @@ -93,7 +93,7 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>1.0</string> + <string>8.3.5</string> <key>NSPrincipalClass</key> <string>PostgreSQL_Dynamic_Query_Action</string> </dict> Modified: trunk/Automator/PostgreSQL Query Action/Info.plist =================================================================== --- trunk/Automator/PostgreSQL Query Action/Info.plist 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/Automator/PostgreSQL Query Action/Info.plist 2008-11-13 16:22:55 UTC (rev 216) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>AMAccepts</key> @@ -84,7 +84,7 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>1.0</string> + <string>8.3.5</string> <key>NSPrincipalClass</key> <string>PostgreSQL_Query_Action</string> </dict> Modified: trunk/CreateDatabase/Info.plist =================================================================== --- trunk/CreateDatabase/Info.plist 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/CreateDatabase/Info.plist 2008-11-13 16:22:55 UTC (rev 216) @@ -17,7 +17,7 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>8.3.2</string> + <string>8.3.5</string> <key>NSMainNibFile</key> <string>MainMenu</string> <key>NSPrincipalClass</key> Modified: trunk/CreateUser/Create User.xcodeproj/arsatori.pbxuser =================================================================== --- trunk/CreateUser/Create User.xcodeproj/arsatori.pbxuser 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/CreateUser/Create User.xcodeproj/arsatori.pbxuser 2008-11-13 16:22:55 UTC (rev 216) @@ -12,12 +12,26 @@ 43F67E640CBC623400B36845 /* Create User */, ); perUserDictionary = { + PBXConfiguration.PBXFileTableDataSource3.PBXBookmarksDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXBookmarksDataSource_NameID; + PBXFileTableDataSourceColumnWidthsKey = ( + 200, + 200, + 83.58349609375, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXBookmarksDataSource_LocationID, + PBXBookmarksDataSource_NameID, + PBXBookmarksDataSource_CommentsID, + ); + }; PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; PBXFileTableDataSourceColumnWidthsKey = ( 20, - 247, + 693, 20, 48, 43, @@ -39,7 +53,7 @@ PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; PBXFileTableDataSourceColumnWidthsKey = ( 20, - 207, + 234, 60, 20, 48, @@ -56,21 +70,96 @@ PBXFileDataSource_Warnings_ColumnID, ); }; - PBXPerProjectTemplateStateSaveDate = 247023369; - PBXWorkspaceStateSaveDate = 247023369; + PBXPerProjectTemplateStateSaveDate = 248284821; + PBXWorkspaceStateSaveDate = 248284821; }; + perUserProjectItems = { + 436C843F0ECC88C0007996FD /* PBXTextBookmark */ = 436C843F0ECC88C0007996FD /* PBXTextBookmark */; + 436C84400ECC88C0007996FD /* PBXTextBookmark */ = 436C84400ECC88C0007996FD /* PBXTextBookmark */; + 436C84410ECC88C0007996FD /* PBXTextBookmark */ = 436C84410ECC88C0007996FD /* PBXTextBookmark */; + 436C84420ECC88C0007996FD /* PBXTextBookmark */ = 436C84420ECC88C0007996FD /* PBXTextBookmark */; + 436C84430ECC88C0007996FD /* PBXTextBookmark */ = 436C84430ECC88C0007996FD /* PBXTextBookmark */; + 436C84440ECC88C0007996FD /* PBXTextBookmark */ = 436C84440ECC88C0007996FD /* PBXTextBookmark */; + }; sourceControlManager = 43F67E700CBC623B00B36845 /* Source Control */; userBuildSettings = { }; }; + 434CDC6E07CAD73E000F3026 /* PGNewUserUI.h */ = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {871, 802}}"; + sepNavSelRange = "{1084, 0}"; + sepNavVisRange = "{0, 1091}"; + }; + }; 434CDC6F07CAD73E000F3026 /* PGNewUserUI.m */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {859, 2686}}"; - sepNavSelRange = "{2474, 22}"; - sepNavVisRange = "{2049, 663}"; + sepNavIntBoundsRect = "{{0, 0}, {871, 2604}}"; + sepNavSelRange = "{2611, 18}"; + sepNavVisRange = "{1041, 1591}"; sepNavWindowFrame = "{{15, 63}, {674, 1110}}"; }; }; + 436C843F0ECC88C0007996FD /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 434CDC6E07CAD73E000F3026 /* PGNewUserUI.h */; + name = "PGNewUserUI.h: 42"; + rLen = 0; + rLoc = 1084; + rType = 0; + vrLen = 1091; + vrLoc = 0; + }; + 436C84400ECC88C0007996FD /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 434CDC6F07CAD73E000F3026 /* PGNewUserUI.m */; + name = "PGNewUserUI.m: 115"; + rLen = 18; + rLoc = 2611; + rType = 0; + vrLen = 1696; + vrLoc = 1334; + }; + 436C84410ECC88C0007996FD /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 434CDC6E07CAD73E000F3026 /* PGNewUserUI.h */; + name = "PGNewUserUI.h: 31"; + rLen = 0; + rLoc = 826; + rType = 0; + vrLen = 1069; + vrLoc = 0; + }; + 436C84420ECC88C0007996FD /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 434CDC6F07CAD73E000F3026 /* PGNewUserUI.m */; + name = "PGNewUserUI.m: 115"; + rLen = 18; + rLoc = 2611; + rType = 0; + vrLen = 1457; + vrLoc = 1437; + }; + 436C84430ECC88C0007996FD /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 434CDC6E07CAD73E000F3026 /* PGNewUserUI.h */; + name = "PGNewUserUI.h: 42"; + rLen = 0; + rLoc = 1084; + rType = 0; + vrLen = 1091; + vrLoc = 0; + }; + 436C84440ECC88C0007996FD /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 434CDC6F07CAD73E000F3026 /* PGNewUserUI.m */; + name = "PGNewUserUI.m: 115"; + rLen = 18; + rLoc = 2611; + rType = 0; + vrLen = 1591; + vrLoc = 1041; + }; 43F67E640CBC623400B36845 /* Create User */ = { isa = PBXExecutable; activeArgIndices = ( @@ -78,7 +167,7 @@ argumentStrings = ( ); autoAttachOnCrash = 1; - breakpointsEnabled = 1; + breakpointsEnabled = 0; configStateDict = { }; customDataFormattersEnabled = 1; Modified: trunk/CreateUser/Create User.xcodeproj/project.pbxproj =================================================================== --- trunk/CreateUser/Create User.xcodeproj/project.pbxproj 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/CreateUser/Create User.xcodeproj/project.pbxproj 2008-11-13 16:22:55 UTC (rev 216) @@ -11,8 +11,8 @@ 434CDC7107CAD73E000F3026 /* PGNewUserUI.m in Sources */ = {isa = PBXBuildFile; fileRef = 434CDC6F07CAD73E000F3026 /* PGNewUserUI.m */; }; 434CDC9307CADA42000F3026 /* create_user_wiz.png in Resources */ = {isa = PBXBuildFile; fileRef = 434CDC9207CADA42000F3026 /* create_user_wiz.png */; }; 434CDDD407CC3F41000F3026 /* add user_32.icns in Resources */ = {isa = PBXBuildFile; fileRef = 434CDDD307CC3F41000F3026 /* add user_32.icns */; }; - 437617F70EB947330067C28F /* pgCocoaDB.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 437617F60EB947330067C28F /* pgCocoaDB.framework */; }; - 437617FA0EB9473A0067C28F /* pgCocoaDB.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 437617F60EB947330067C28F /* pgCocoaDB.framework */; }; + 436D43DA0EBA112F003BE656 /* PGSQLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 436D43D90EBA112F003BE656 /* PGSQLKit.framework */; }; + 436D43DD0EBA1135003BE656 /* PGSQLKit.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 436D43D90EBA112F003BE656 /* PGSQLKit.framework */; }; 8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 29B97318FDCFA39411CA2CEA /* MainMenu.nib */; }; 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; 8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; @@ -26,7 +26,7 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - 437617FA0EB9473A0067C28F /* pgCocoaDB.framework in CopyFiles */, + 436D43DD0EBA1135003BE656 /* PGSQLKit.framework in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -44,7 +44,7 @@ 434CDC6F07CAD73E000F3026 /* PGNewUserUI.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PGNewUserUI.m; sourceTree = "<group>"; }; 434CDC9207CADA42000F3026 /* create_user_wiz.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = create_user_wiz.png; sourceTree = "<group>"; }; 434CDDD307CC3F41000F3026 /* add user_32.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = "add user_32.icns"; sourceTree = "<group>"; }; - 437617F60EB947330067C28F /* pgCocoaDB.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = pgCocoaDB.framework; path = ../pgCocoaDB/build/Deployment/pgCocoaDB.framework; sourceTree = SOURCE_ROOT; }; + 436D43D90EBA112F003BE656 /* PGSQLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PGSQLKit.framework; path = ../PGSQLKit/build/Release/PGSQLKit.framework; sourceTree = SOURCE_ROOT; }; 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; }; 8D1107320486CEB800E47090 /* Create User.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Create User.app"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ @@ -55,7 +55,7 @@ buildActionMask = 2147483647; files = ( 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, - 437617F70EB947330067C28F /* pgCocoaDB.framework in Frameworks */, + 436D43DA0EBA112F003BE656 /* PGSQLKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -74,7 +74,7 @@ 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { isa = PBXGroup; children = ( - 437617F60EB947330067C28F /* pgCocoaDB.framework */, + 436D43D90EBA112F003BE656 /* PGSQLKit.framework */, 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, ); name = "Linked Frameworks"; @@ -232,8 +232,10 @@ FRAMEWORK_SEARCH_PATHS = ( ../pgCocoaDB/build, "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", ); FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../pgCocoaDB/build/Deployment\""; + FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SRCROOT)/../PGSQLKit/build/Release\""; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; @@ -259,8 +261,10 @@ FRAMEWORK_SEARCH_PATHS = ( ../pgCocoaDB/build, "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", ); FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../pgCocoaDB/build/Deployment\""; + FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SRCROOT)/../PGSQLKit/build/Release\""; GCC_ENABLE_FIX_AND_CONTINUE = NO; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; @@ -281,8 +285,10 @@ FRAMEWORK_SEARCH_PATHS = ( ../pgCocoaDB/build, "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", + "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", ); FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../pgCocoaDB/build/Deployment\""; + FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SRCROOT)/../PGSQLKit/build/Release\""; GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Create User_Prefix.pch"; Modified: trunk/CreateUser/Info.plist =================================================================== --- trunk/CreateUser/Info.plist 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/CreateUser/Info.plist 2008-11-13 16:22:55 UTC (rev 216) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> @@ -17,7 +17,7 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>8.1.0</string> + <string>8.3.5</string> <key>NSMainNibFile</key> <string>MainMenu</string> <key>NSPrincipalClass</key> Modified: trunk/CreateUser/PGNewUserUI.h =================================================================== --- trunk/CreateUser/PGNewUserUI.h 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/CreateUser/PGNewUserUI.h 2008-11-13 16:22:55 UTC (rev 216) @@ -3,15 +3,12 @@ // Create User // // Created by Andy Satori on 2/21/05. -// Copyright 2005 __MyCompanyName__. All rights reserved. +// Copyright 2005 Druware Software Designs. All rights reserved. // #import <Cocoa/Cocoa.h> -#import <pgCocoaDB/Connection.h> -#import <pgCocoaDB/Databases.h> -#import <pgCocoaDB/RecordSet.h> +#import <PGSQLKit/PGSQLKit.h> - @interface PGNewUserUI : NSObject { IBOutlet NSButton *back; @@ -35,10 +32,13 @@ IBOutlet NSButton *allowCreateUser; IBOutlet NSButton *versionSevenFeaturesOnly; - Connection *_conn; + PGSQLConnection *_conn; } - (IBAction)onBack:(id)sender; - (IBAction)onCancel:(id)sender; - (IBAction)onNext:(id)sender; + +- (void)createUser; + @end Modified: trunk/CreateUser/PGNewUserUI.m =================================================================== --- trunk/CreateUser/PGNewUserUI.m 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/CreateUser/PGNewUserUI.m 2008-11-13 16:22:55 UTC (rev 216) @@ -24,7 +24,7 @@ { BOOL isRunning = NO; - _conn = [[[[Connection alloc] init] autorelease] retain]; + _conn = [[[[PGSQLConnection alloc] init] autorelease] retain]; // set the defaults [groups removeAllItems]; @@ -57,7 +57,7 @@ if ([[user stringValue] length] == 0) { return; } [_conn setUserName:[user stringValue]]; - [_conn setHost:[server stringValue]]; + [_conn setServer:[server stringValue]]; [_conn setPort:[port stringValue]]; [_conn setPassword:[password stringValue]]; @@ -68,7 +68,7 @@ NSAlert *alert = [NSAlert alertWithMessageText:@"Database Connection failed" defaultButton:@"OK" alternateButton:nil - otherButton:nil informativeTextWithFormat:@"%@", [_conn errorDescription]]; + otherButton:nil informativeTextWithFormat:@"%@", [_conn lastError]]; [alert beginSheetModalForWindow:[NSApp mainWindow] modalDelegate:nil didEndSelector:nil contextInfo:nil]; return; } @@ -77,11 +77,11 @@ [groups addItemWithTitle:@"- default -"]; // load the rest from a quick query of the database - RecordSet *rs = [_conn execQuery:@"select groname from pg_group order by groname asc"]; + PGSQLRecordset *rs = [_conn open:@"select groname from pg_group order by groname asc"]; int i ; - for (i = 0; i < [rs count]; i++) + for (i = 0; i < [rs recordCount]; i++) { - [groups addItemWithTitle:[[[[rs itemAtIndex:i] fields] itemAtIndex:0] value]]; + [groups addItemWithTitle:[[rs fieldByIndex:i] asString]]; } [back setEnabled:YES]; @@ -181,7 +181,7 @@ { if ([_conn isConnected]) { - [_conn disconnect]; + [_conn close]; [_conn release]; _conn = nil; } Modified: trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql.xml =================================================================== --- trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql.xml 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql.xml 2008-11-13 16:22:55 UTC (rev 216) @@ -1 +1 @@ -<pkgref spec="1.12" uuid="0CE0FB3E-841F-4ECB-A530-576853338088"><config><identifier>com.druware.postgresqlformac.postgresqlForMac.postgresql8.pkg</identifier><version>8.3.4</version><description></description><post-install type="none"/><requireAuthorization/><installFrom mod="true" includeRoot="true">/var/tmp/merge/Universal/Library/PostgreSQL8</installFrom><installTo mod="true">/Library/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>scripts.postinstall.path</mod><mod>scripts.postflight.path</mod><mod>scripts.postupgrade.path</mod><mod>version</mod><mod>includeRoot</mod><mod>installFrom.path</mod><mod>installTo</mod><mod>installTo.path</mod></config><scripts><postflight mod="true">/Users/arsatori/Projects/PostgreSQL/postflight</postflight><postinstall mod="true">/Users/arsatori/Projects/PostgreSQL/postinstall</postinstall><postupgrade mod="true">/Users/arsatori/Projects/PostgreSQL/postupgrade</postupgrade></scripts><contents><file-list>01postgresql-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> \ No newline at end of file +<pkgref spec="1.12" uuid="0CE0FB3E-841F-4ECB-A530-576853338088"><config><identifier>com.druware.postgresqlformac.postgresqlForMac.postgresql8.pkg</identifier><version>8.3.5</version><description></description><post-install type="none"/><requireAuthorization/><installFrom mod="true" includeRoot="true">/var/tmp/merge/Universal/Library/PostgreSQL8</installFrom><installTo mod="true">/Library/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>scripts.postinstall.path</mod><mod>scripts.postflight.path</mod><mod>scripts.postupgrade.path</mod><mod>version</mod><mod>includeRoot</mod><mod>installFrom.path</mod><mod>installTo</mod><mod>installTo.path</mod></config><scripts><postflight mod="true">/Users/arsatori/Projects/PostgreSQL/postflight</postflight><postinstall mod="true">/Users/arsatori/Projects/PostgreSQL/postinstall</postinstall><postupgrade mod="true">/Users/arsatori/Projects/PostgreSQL/postupgrade</postupgrade></scripts><contents><file-list>01postgresql-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> \ No newline at end of file Modified: trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/02postgresql.xml =================================================================== --- trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/02postgresql.xml 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/02postgresql.xml 2008-11-13 16:22:55 UTC (rev 216) @@ -1 +1 @@ -<pkgref spec="1.12" uuid="A6D3C252-8A0E-40F3-8D65-9EE2D626B073"><config><identifier>com.druware.postgresqlformac.postgresqlForMac.postgresql.pkg</identifier><version>8.3.4</version><description></description><post-install type="none"/><requireAuthorization/><installFrom mod="true" includeRoot="true">/Users/arsatori/Projects/PostgreSQL/svn/trunk/StartupItem/PostgreSQL</installFrom><installTo mod="true">/Library/StartupItems/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>version</mod><mod>installTo.path</mod><mod>includeRoot</mod><mod>installTo</mod></config><contents><file-list>02postgresql-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> \ No newline at end of file +<pkgref spec="1.12" uuid="A6D3C252-8A0E-40F3-8D65-9EE2D626B073"><config><identifier>com.druware.postgresqlformac.postgresqlForMac.postgresql.pkg</identifier><version>8.3.5</version><description></description><post-install type="none"/><requireAuthorization/><installFrom mod="true" includeRoot="true">/Users/arsatori/Projects/PostgreSQL/svn/trunk/StartupItem/PostgreSQL</installFrom><installTo mod="true">/Library/StartupItems/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>version</mod><mod>installTo.path</mod><mod>includeRoot</mod><mod>installTo</mod></config><contents><file-list>02postgresql-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> \ No newline at end of file Modified: trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml =================================================================== --- trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml 2008-11-13 16:22:55 UTC (rev 216) @@ -1,4 +1,4 @@ -<pkmkdoc spec="1.12"><properties><title>PostgreSQL for Mac</title><build>/Users/arsatori/Desktop/PostgreSQL for Mac.mpkg</build><organization>com.druware.postgresqlformac</organization><userSees ui="both"/><min-target os="2"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>Installs a full PostgreSQL Database server environment on Mac OS X.</description><contents><choice title="Database Server" id="choice0" description="The core of the PostgreSQL for Mac deployment, this is the PostgreSQL Database engine, packaged and installed to the /Library/PostgreSQL location." starts_selected="true" starts_enabled="false" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql8.pkg"/><choice title="StartUp Item" id="choice1" starts_selected="true" starts_enabled="false" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql.pkg"/></choice><choice title="Server Applications" id="choice5" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.serviceManager.pkg"/><pkgref id="com.druware.postgresqlformac.postgresqlForMac.cleaninstallation.pkg"/><pkgref id="com.druware.postgresqlformac.postgresqlForMac.queryToolForPostgres.pkg"/><pkgref id="com.druware.postgresqlformac.postgresqlForMac.createDatabase.pkg"/><pkgref id="com.druware.postgresqlformac.postgresqlForMac.createUser.pkg"/></choice></choice><choice title="Database Access Toolkits" id="choice3" starts_selected="true" starts_enabled="true" starts_hidden="false"><choice title="Java (JDBC3)" id="choice6" description="Recommended JDBC Driver for Java 1.5." starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql83603jdbc3.pkg"/></choice><choice title="PGSQLKit Framework" id="choice11" description="PGSQLKit Framework for development and deployment of linked applications " starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.pgsqlkit.pkg"/></choice></choice></contents><resources bg-scale="tofit" bg-align="bottomleft"><locale lang="en"><resource type="background">/Users/arsatori/Projects/PostgreSQL/svn/trunk/Installers/PostgreSQL/Resources/background.tif</resource><resource mime-type="text/rtf" kind="embedded" type="license"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf350 +<pkmkdoc spec="1.12"><properties><title>PostgreSQL for Mac</title><build>/Users/arsatori/Desktop/PostgreSQL for Mac.mpkg</build><organization>com.druware.postgresqlformac</organization><userSees ui="both"/><min-target os="2"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>Installs a full PostgreSQL Database server environment on Mac OS X.</description><contents><choice title="Database Server" id="choice0" description="The core of the PostgreSQL for Mac deployment, this is the PostgreSQL Database engine, packaged and installed to the /Library/PostgreSQL location." starts_selected="true" starts_enabled="false" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql8.pkg"/><choice title="StartUp Item" id="choice1" starts_selected="true" starts_enabled="false" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql.pkg"/></choice><choice title="Server Applications" id="choice5" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.queryToolForPostgres.pkg"/><pkgref id="com.druware.postgresqlformac.postgresqlForMac.createDatabase.pkg"/><pkgref id="com.druware.postgresqlformac.postgresqlForMac.createUser.pkg"/></choice></choice><choice title="Database Access Toolkits" id="choice3" starts_selected="true" starts_enabled="true" starts_hidden="false"><choice title="Java (JDBC3)" id="choice6" description="Recommended JDBC Driver for Java 1.5." starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql83603jdbc3.pkg"/></choice><choice title="PGSQLKit Framework" id="choice11" description="PGSQLKit Framework for development and deployment of linked applications " starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.pgsqlkit.pkg"/></choice></choice></contents><resources bg-scale="tofit" bg-align="bottomleft"><locale lang="en"><resource type="background">/Users/arsatori/Projects/PostgreSQL/svn/trunk/Installers/PostgreSQL/Resources/background.tif</resource><resource mime-type="text/rtf" kind="embedded" type="license"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf350 {\fonttbl\f0\fnil\fcharset0 Verdana;\f1\fmodern\fcharset0 Courier;} {\colortbl;\red255\green255\blue255;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural @@ -50,4 +50,4 @@ \b must \b0 shut down the running copy, and it is strongly recommended that you take a few moments to make a full backup of your databases before you upgrade.\cf0 \ \ -Thank you for choosing PostgreSQL.}]]></resource></locale></resources><flags/><item type="file">01postgresql.xml</item><item type="file">02postgresql.xml</item><item type="file">03service.xml</item><item type="file">04postgresql.xml</item><item type="file">05pgsqlkit.xml</item><item type="file">06clean.xml</item><item type="file">07query.xml</item><item type="file">08create.xml</item><item type="file">09create.xml</item><mod>properties.customizeOption</mod><mod>properties.title</mod><mod>description</mod><mod>properties.systemDomain</mod><mod>properties.anywhereDomain</mod></pkmkdoc> \ No newline at end of file +Thank you for choosing PostgreSQL.}]]></resource></locale></resources><flags/><item type="file">01postgresql.xml</item><item type="file">02postgresql.xml</item><item type="file">03postgresql.xml</item><item type="file">04pgsqlkit.xml</item><item type="file">05query.xml</item><item type="file">06create.xml</item><item type="file">07create.xml</item><mod>properties.customizeOption</mod><mod>properties.title</mod><mod>description</mod><mod>properties.systemDomain</mod><mod>properties.anywhereDomain</mod></pkmkdoc> \ No newline at end of file Modified: trunk/PGSQLKit/Info.plist =================================================================== --- trunk/PGSQLKit/Info.plist 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/PGSQLKit/Info.plist 2008-11-13 16:22:55 UTC (rev 216) @@ -19,7 +19,7 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>8.3.4</string> + <string>8.3.5</string> <key>NSPrincipalClass</key> <string></string> </dict> Modified: trunk/PreferencePane/PostgreSQL Server/English.lproj/PostgreSQL_ServerPref.xib =================================================================== --- trunk/PreferencePane/PostgreSQL Server/English.lproj/PostgreSQL_ServerPref.xib 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/PreferencePane/PostgreSQL Server/English.lproj/PostgreSQL_ServerPref.xib 2008-11-13 16:22:55 UTC (rev 216) @@ -642,10 +642,6 @@ <string key="NSClassName">NSImage</string> <string key="NSResourceName">lock_32</string> </object> - <object class="NSCustomResource" key="NSAlternateImage"> - <string key="NSClassName">NSImage</string> - <string key="NSResourceName">ulock_32</string> - </object> <string key="NSAlternateContents"/> <string key="NSKeyEquivalent"/> <int key="NSPeriodicDelay">400</int> Modified: trunk/PreferencePane/PostgreSQL Server/Info.plist =================================================================== --- trunk/PreferencePane/PostgreSQL Server/Info.plist 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/PreferencePane/PostgreSQL Server/Info.plist 2008-11-13 16:22:55 UTC (rev 216) @@ -21,7 +21,7 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>1.0</string> + <string>8.3.5</string> <key>NSMainNibFile</key> <string>PostgreSQL_ServerPref</string> <key>NSPrefPaneIconFile</key> Modified: trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.m =================================================================== --- trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.m 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.m 2008-11-13 16:22:55 UTC (rev 216) @@ -24,8 +24,10 @@ thisBundle = [NSBundle bundleWithIdentifier:@"com.druware.postgresqlserverpreferences"]; isLocked = YES; + + [self onTimedUpdate:nil]; - [self performSelector:@selector(onTimedUpdate:) withObject:self afterDelay:0.1]; +// [self performSelector:@selector(onTimedUpdate:) withObject:self afterDelay:0.1]; } #pragma mark -- @@ -82,7 +84,6 @@ - (IBAction)toggleLock:(id)sender { - NSLog(@"got isLocked"); if (isLocked) { [self unlockPane]; @@ -98,7 +99,6 @@ return; } - #pragma mark -- #pragma mark Status Update Handlers Modified: trunk/StartupHelper/main.c =================================================================== --- trunk/StartupHelper/main.c 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/StartupHelper/main.c 2008-11-13 16:22:55 UTC (rev 216) @@ -2,6 +2,8 @@ #include <sys/types.h> #include <unistd.h> +#include <stdlib.h> +#include <string.h> int main (int argc, const char * argv[]) { // insert code here... Modified: trunk/StartupItem/.DS_Store =================================================================== --- trunk/StartupItem/.DS_Store 2008-11-13 15:26:24 UTC (rev 215) +++ trunk/StartupItem/.DS_Store 2008-11-13 16:22:55 UTC (rev 216) @@ -1,3 +1,5 @@ - |
From: <haw...@us...> - 2008-11-20 01:20:35
|
Revision: 218 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=218&view=rev Author: hawkmoon Date: 2008-11-20 01:20:30 +0000 (Thu, 20 Nov 2008) Log Message: ----------- Modified Paths: -------------- trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/keyedobjects.nib trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/info.nib trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/keyedobjects.nib trunk/Automator/PostgreSQL Query Action/Info.plist trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.h trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.m trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/project.pbxproj trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/PostgreSQL Network Configuration.xcodeproj/project.pbxproj Modified: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/classes.nib 2008-11-20 01:20:30 UTC (rev 218) @@ -1,25 +1,58 @@ -{ - IBClasses = ( - { - ACTIONS = {completed = id; run = id; runNext = id; stop = id; }; - CLASS = AMAction; - LANGUAGE = ObjC; - SUPERCLASS = NSObject; - }, - { - CLASS = AMAppleScriptAction; - LANGUAGE = ObjC; - OUTLETS = {"_script" = NSAppleScript; }; - SUPERCLASS = AMBundleAction; - }, - { - ACTIONS = {onSelectConnection = id; }; - CLASS = AMBundleAction; - LANGUAGE = ObjC; - OUTLETS = {dataSourceList = NSPopUpButton; view = NSView; }; - SUPERCLASS = AMAction; - }, - {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; } - ); - IBVersion = 1; -} \ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBClasses</key> + <array> + <dict> + <key>ACTIONS</key> + <dict> + <key>onSelectConnection</key> + <string>id</string> + </dict> + <key>CLASS</key> + <string>AMBundleAction</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>OUTLETS</key> + <dict> + <key>dataSourceList</key> + <string>NSPopUpButton</string> + <key>view</key> + <string>NSView</string> + </dict> + <key>SUPERCLASS</key> + <string>AMAction</string> + </dict> + <dict> + <key>ACTIONS</key> + <dict> + <key>completed</key> + <string>id</string> + <key>run</key> + <string>id</string> + <key>runNext</key> + <string>id</string> + <key>stop</key> + <string>id</string> + </dict> + <key>CLASS</key> + <string>AMAction</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>NSObject</string> + </dict> + <dict> + <key>CLASS</key> + <string>FirstResponder</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>NSObject</string> + </dict> + </array> + <key>IBVersion</key> + <string>1</string> +</dict> +</plist> Modified: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/info.nib 2008-11-20 01:20:30 UTC (rev 218) @@ -1,16 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> - <key>IBDocumentLocation</key> - <string>723 255 356 240 0 0 1920 1178 </string> - <key>IBEditorPositions</key> - <dict> - <key>5</key> - <string>705 647 509 294 0 0 1920 1178 </string> - </dict> <key>IBFramework Version</key> - <string>446.1</string> + <string>672</string> <key>IBOldestOS</key> <integer>4</integer> <key>IBOpenObjects</key> @@ -18,6 +11,8 @@ <integer>5</integer> </array> <key>IBSystem Version</key> - <string>8R4061a</string> + <string>9F33</string> + <key>targetFramework</key> + <string>IBCocoaFramework</string> </dict> </plist> Modified: trunk/Automator/PostgreSQL Dynamic Query Action/English.lproj/main.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist 2008-11-20 01:20:30 UTC (rev 218) @@ -20,7 +20,7 @@ <key>AMCanShowWhenRun</key> <true/> <key>AMCategory</key> - <string>Database</string> + <string>AMCategoryutilities</string> <key>AMDefaultParameters</key> <dict/> <key>AMDescription</key> @@ -43,7 +43,7 @@ <string>Executes a query against a PostgreSQL Database, and returns a list of data elements from the database.</string> </dict> <key>AMIconName</key> - <string>PGDAAP</string> + <string>query-tool</string> <key>AMKeywords</key> <array/> <key>AMName</key> @@ -66,7 +66,7 @@ <key>ApplyButton</key> <string>(* Button label for user to add proposed Action, e.g. Add. *)</string> <key>IgnoreButton</key> - <string>(* Button label for user not to add proposed Action, e.g. Don't Add. *)</string> + <string>(* Button label for user not to add proposed Action, e.g. Don't Add. *)</string> <key>Level</key> <integer>0</integer> <key>Message</key> Modified: trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj =================================================================== --- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj 2008-11-20 01:20:30 UTC (rev 218) @@ -10,6 +10,7 @@ 431AC42F0CA9A806006A2B73 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 431AC42E0CA9A806006A2B73 /* Security.framework */; }; 431AC4330CA9A837006A2B73 /* PGSQLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 431AC4320CA9A837006A2B73 /* PGSQLKit.framework */; }; 431AC43C0CA9A9B8006A2B73 /* PGSQLKit.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 431AC4320CA9A837006A2B73 /* PGSQLKit.framework */; }; + 436C84AC0ECC8EFA007996FD /* query-tool.icns in Resources */ = {isa = PBXBuildFile; fileRef = 436C84AB0ECC8EFA007996FD /* query-tool.icns */; }; 650E79E2067AB5AE00B4A4EC /* Automator.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 650E79E1067AB5AE00B4A4EC /* Automator.framework */; }; 65181752067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m in Sources */ = {isa = PBXBuildFile; fileRef = 65181750067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m */; }; 65C50ADF067A987800FE4393 /* main.nib in Resources */ = {isa = PBXBuildFile; fileRef = 65C50ADD067A987800FE4393 /* main.nib */; }; @@ -38,6 +39,7 @@ 32DBCF630370AF2F00C91783 /* PostgreSQL Dynamic Query Action_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PostgreSQL Dynamic Query Action_Prefix.pch"; sourceTree = "<group>"; }; 431AC42E0CA9A806006A2B73 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /System/Library/Frameworks/Security.framework; sourceTree = "<absolute>"; }; 431AC4320CA9A837006A2B73 /* PGSQLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PGSQLKit.framework; path = /Library/Frameworks/PGSQLKit.framework; sourceTree = "<absolute>"; }; + 436C84AB0ECC8EFA007996FD /* query-tool.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = "query-tool.icns"; sourceTree = "<group>"; }; 650E79E1067AB5AE00B4A4EC /* Automator.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Automator.framework; path = /System/Library/Frameworks/Automator.framework; sourceTree = "<absolute>"; }; 6518174F067A8D39005BD953 /* PostgreSQL Dynamic Query Action.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PostgreSQL Dynamic Query Action.h"; sourceTree = "<group>"; }; 65181750067A8D39005BD953 /* PostgreSQL Dynamic Query Action.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "PostgreSQL Dynamic Query Action.m"; sourceTree = "<group>"; }; @@ -85,6 +87,7 @@ 089C167CFE841241C02AAC07 /* Resources */ = { isa = PBXGroup; children = ( + 436C84AB0ECC8EFA007996FD /* query-tool.icns */, 65C50ADD067A987800FE4393 /* main.nib */, 8D5B49B7048680CD000E48DA /* Info.plist */, 089C167DFE841241C02AAC07 /* InfoPlist.strings */, @@ -184,6 +187,7 @@ files = ( 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */, 65C50ADF067A987800FE4393 /* main.nib in Resources */, + 436C84AC0ECC8EFA007996FD /* query-tool.icns in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; Modified: trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/info.nib =================================================================== --- trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/info.nib 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/info.nib 2008-11-20 01:20:30 UTC (rev 218) @@ -3,15 +3,17 @@ <plist version="1.0"> <dict> <key>IBFramework Version</key> - <string>629</string> + <string>672</string> <key>IBLastKnownRelativeProjectPath</key> <string>../../PostgreSQL Query Action.xcodeproj</string> <key>IBOldestOS</key> <integer>5</integer> <key>IBOpenObjects</key> - <array/> + <array> + <integer>5</integer> + </array> <key>IBSystem Version</key> - <string>9A581</string> + <string>9F33</string> <key>targetFramework</key> <string>IBCocoaFramework</string> </dict> Modified: trunk/Automator/PostgreSQL Query Action/English.lproj/main.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Automator/PostgreSQL Query Action/Info.plist =================================================================== --- trunk/Automator/PostgreSQL Query Action/Info.plist 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/Automator/PostgreSQL Query Action/Info.plist 2008-11-20 01:20:30 UTC (rev 218) @@ -7,7 +7,7 @@ <key>AMApplication</key> <string>Database</string> <key>AMCanShowSelectedItemsWhenRun</key> - <false/> + <true/> <key>AMCanShowWhenRun</key> <true/> <key>AMCategory</key> @@ -57,7 +57,7 @@ <key>ApplyButton</key> <string>(* Button label for user to add proposed Action, e.g. Add. *)</string> <key>IgnoreButton</key> - <string>(* Button label for user not to add proposed Action, e.g. Don't Add. *)</string> + <string>(* Button label for user not to add proposed Action, e.g. Don't Add. *)</string> <key>Level</key> <integer>0</integer> <key>Message</key> Modified: trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.h =================================================================== --- trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.h 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.h 2008-11-20 01:20:30 UTC (rev 218) @@ -17,6 +17,5 @@ - (id)runWithInput:(id)input fromAction:(AMAction *)anAction error:(NSDictionary **)errorInfo; - (IBAction)onSelectConnection:(id)sender; -- (IBAction)onRegisterApplication:(id)sender; @end Modified: trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.m =================================================================== --- trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.m 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.m 2008-11-20 01:20:30 UTC (rev 218) @@ -7,7 +7,6 @@ // #import "PostgreSQL Query Action.h" -// #import "RegistrationDialog.h" #import <Security/Security.h> #import <CoreFoundation/CoreFoundation.h> #import <stdlib.h> @@ -73,8 +72,6 @@ [dict setValue:@"" forKey:@"userName"]; [dict setValue:@"" forKey:@"password"]; [dict setValue:@"" forKey:@"databaseName"]; - [dict setValue:@"YES" forKey:@"isRegistered"]; - [dict setValue:@"Unregistered" forKey:@"registeredOwner"]; // alter this to read the password (last two nulls) status = SecKeychainItemCopyContent(item, NULL, &list, &passwordLen, @@ -140,16 +137,11 @@ { self = [super initWithDefinition:dict fromArchive:archived]; - [[self parameters] setValue:@"NO" forKey:@"isRegistered"]; - [[self parameters] setValue:@"Unregistered" forKey:@"registeredOwner"]; - // load the plist and see if the key information is present. // first check the local machine domain, then the local user. If the file // exists, read it and verify it. - - if (self != nil) { NSMutableArray *savedConnections = [[NSMutableArray alloc] init]; @@ -267,8 +259,6 @@ [dict setValue:@"" forKey:@"userName"]; [dict setValue:@"" forKey:@"password"]; [dict setValue:@"" forKey:@"databaseName"]; - [dict setValue:@"YES" forKey:@"isRegistered"]; - [dict setValue:@"Unregistered" forKey:@"registeredOwner"]; return; } @@ -309,12 +299,5 @@ } -- (IBAction)onRegisterApplication:(id)sender -{ - - // change this to just load the registration applicatoin from the bundle - // RegistrationDialog *dlg = [[RegistrationDialog alloc] init]; - // [dlg beginModalDialogForWindow:[[self view] window]]; -} @end Modified: trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/project.pbxproj =================================================================== --- trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/project.pbxproj 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/project.pbxproj 2008-11-20 01:20:30 UTC (rev 218) @@ -10,7 +10,6 @@ 43078FF30CEBCCD900A1F930 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 43078FF20CEBCCD900A1F930 /* WebKit.framework */; }; 43273FEE0C98745900C9E033 /* PGSQLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 43273FED0C98745900C9E033 /* PGSQLKit.framework */; }; 433A145A0CA8535D006583AA /* PGSQLKit.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 43273FED0C98745900C9E033 /* PGSQLKit.framework */; }; - 43A10E670CEB9D6700C2BC85 /* Registration.nib in Resources */ = {isa = PBXBuildFile; fileRef = 43A10E650CEB9D6600C2BC85 /* Registration.nib */; }; 43B0134A0CE4FB6B00C29C2B /* query-tool.icns in Resources */ = {isa = PBXBuildFile; fileRef = 43B013490CE4FB6B00C29C2B /* query-tool.icns */; }; 43DADC010C9DB4C900C62852 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 43DADC000C9DB4C900C62852 /* Security.framework */; }; 650E79E2067AB5AE00B4A4EC /* Automator.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 650E79E1067AB5AE00B4A4EC /* Automator.framework */; }; @@ -41,9 +40,6 @@ 32DBCF630370AF2F00C91783 /* PostgreSQL Query Action_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PostgreSQL Query Action_Prefix.pch"; sourceTree = "<group>"; }; 43078FF20CEBCCD900A1F930 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/WebKit.framework; sourceTree = SYSTEM_DEVELOPER_DIR; }; 43273FED0C98745900C9E033 /* PGSQLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PGSQLKit.framework; path = /Library/Frameworks/PGSQLKit.framework; sourceTree = "<absolute>"; }; - 432BB7050CE661A600154411 /* RegistrationDialog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegistrationDialog.h; sourceTree = "<group>"; }; - 432BB7060CE661A600154411 /* RegistrationDialog.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RegistrationDialog.m; sourceTree = "<group>"; }; - 43A10E660CEB9D6600C2BC85 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/Registration.nib; sourceTree = "<group>"; }; 43B013490CE4FB6B00C29C2B /* query-tool.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = "query-tool.icns"; sourceTree = "<group>"; }; 43DADC000C9DB4C900C62852 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /System/Library/Frameworks/Security.framework; sourceTree = "<absolute>"; }; 650E79E1067AB5AE00B4A4EC /* Automator.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Automator.framework; path = /System/Library/Frameworks/Automator.framework; sourceTree = "<absolute>"; }; @@ -94,7 +90,6 @@ 089C167CFE841241C02AAC07 /* Resources */ = { isa = PBXGroup; children = ( - 43A10E650CEB9D6600C2BC85 /* Registration.nib */, 43B013490CE4FB6B00C29C2B /* query-tool.icns */, 65C50ADD067A987800FE4393 /* main.nib */, 8D5B49B7048680CD000E48DA /* Info.plist */, @@ -108,8 +103,6 @@ children = ( 6518174F067A8D39005BD953 /* PostgreSQL Query Action.h */, 65181750067A8D39005BD953 /* PostgreSQL Query Action.m */, - 432BB7050CE661A600154411 /* RegistrationDialog.h */, - 432BB7060CE661A600154411 /* RegistrationDialog.m */, ); name = Classes; sourceTree = "<group>"; @@ -199,7 +192,6 @@ 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */, 65C50ADF067A987800FE4393 /* main.nib in Resources */, 43B0134A0CE4FB6B00C29C2B /* query-tool.icns in Resources */, - 43A10E670CEB9D6700C2BC85 /* Registration.nib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -241,14 +233,6 @@ name = InfoPlist.strings; sourceTree = "<group>"; }; - 43A10E650CEB9D6600C2BC85 /* Registration.nib */ = { - isa = PBXVariantGroup; - children = ( - 43A10E660CEB9D6600C2BC85 /* English */, - ); - name = Registration.nib; - sourceTree = "<group>"; - }; 65C50ADD067A987800FE4393 /* main.nib */ = { isa = PBXVariantGroup; children = ( Modified: trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql.xml =================================================================== --- trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql.xml 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql.xml 2008-11-20 01:20:30 UTC (rev 218) @@ -1 +1 @@ -<pkgref spec="1.12" uuid="0CE0FB3E-841F-4ECB-A530-576853338088"><config><identifier>com.druware.postgresqlformac.postgresqlForMac.postgresql8.pkg</identifier><version>8.3.5</version><description></description><post-install type="none"/><requireAuthorization/><installFrom mod="true" includeRoot="true">/var/tmp/merge/Universal/Library/PostgreSQL8</installFrom><installTo mod="true">/Library/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>parent</mod><mod>scripts.postinstall.path</mod><mod>scripts.postflight.path</mod><mod>scripts.postupgrade.path</mod><mod>version</mod><mod>includeRoot</mod><mod>installFrom.path</mod><mod>installTo</mod><mod>installTo.path</mod></config><scripts><postflight mod="true">/Users/arsatori/Projects/PostgreSQL/postflight</postflight><postinstall mod="true">/Users/arsatori/Projects/PostgreSQL/postinstall</postinstall><postupgrade mod="true">/Users/arsatori/Projects/PostgreSQL/postupgrade</postupgrade></scripts><contents><file-list>01postgresql-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> \ No newline at end of file +<pkgref spec="1.12" uuid="0CE0FB3E-841F-4ECB-A530-576853338088"><config><identifier>com.druware.postgresqlformac.postgresqlForMac.postgresql8.pkg</identifier><version>8.3.5</version><description></description><post-install type="none"/><requireAuthorization/><installFrom mod="true" includeRoot="true">/var/tmp/merge/Universal/Library/PostgreSQL8</installFrom><installTo mod="true">/Library/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>scripts.postinstall.isRelativeType</mod><mod>scripts.postupgrade.isRelativeType</mod><mod>scripts.postinstall.isAbsoluteType</mod><mod>scripts.postupgrade.path</mod><mod>version</mod><mod>includeRoot</mod><mod>parent</mod><mod>scripts.postinstall.path</mod><mod>scripts.postflight.path</mod><mod>scripts.postflight.isRelativeType</mod><mod>installFrom.path</mod><mod>installTo</mod><mod>installTo.path</mod></config><scripts><postflight mod="true">./postflight</postflight><postinstall mod="true">./postinstall</postinstall><postupgrade mod="true">./postupgrade</postupgrade></scripts><contents><file-list>01postgresql-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> \ No newline at end of file Modified: trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml =================================================================== --- trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml 2008-11-20 01:20:30 UTC (rev 218) @@ -1,4 +1,4 @@ -<pkmkdoc spec="1.12"><properties><title>PostgreSQL for Mac</title><build>/Users/arsatori/Desktop/PostgreSQL for Mac.mpkg</build><organization>com.druware.postgresqlformac</organization><userSees ui="both"/><min-target os="2"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>Installs a full PostgreSQL Database server environment on Mac OS X.</description><contents><choice title="Database Server" id="choice0" description="The core of the PostgreSQL for Mac deployment, this is the PostgreSQL Database engine, packaged and installed to the /Library/PostgreSQL location." starts_selected="true" starts_enabled="false" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql8.pkg"/><choice title="StartUp Item" id="choice1" starts_selected="true" starts_enabled="false" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql.pkg"/></choice><choice title="Server Applications" id="choice5" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.queryToolForPostgres.pkg"/><pkgref id="com.druware.postgresqlformac.postgresqlForMac.createDatabase.pkg"/><pkgref id="com.druware.postgresqlformac.postgresqlForMac.createUser.pkg"/></choice></choice><choice title="Database Access Toolkits" id="choice3" starts_selected="true" starts_enabled="true" starts_hidden="false"><choice title="Java (JDBC3)" id="choice6" description="Recommended JDBC Driver for Java 1.5." starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql83603jdbc3.pkg"/></choice><choice title="PGSQLKit Framework" id="choice11" description="PGSQLKit Framework for development and deployment of linked applications " starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.pgsqlkit.pkg"/></choice></choice></contents><resources bg-scale="tofit" bg-align="bottomleft"><locale lang="en"><resource type="background">/Users/arsatori/Projects/PostgreSQL/svn/trunk/Installers/PostgreSQL/Resources/background.tif</resource><resource mime-type="text/rtf" kind="embedded" type="license"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf350 +<pkmkdoc spec="1.12"><properties><title>PostgreSQL for Mac</title><build>/Volumes/KINGSTON/PostgreSQL for Mac.mpkg</build><organization>com.druware.postgresqlformac</organization><userSees ui="both"/><min-target os="2"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>Installs a full PostgreSQL Database server environment on Mac OS X.</description><contents><choice title="Database Server" id="choice0" description="The core of the PostgreSQL for Mac deployment, this is the PostgreSQL Database engine, packaged and installed to the /Library/PostgreSQL location." starts_selected="true" starts_enabled="false" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql8.pkg"/><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresqlServer.pkg"/><choice title="StartUp Item" id="choice1" starts_selected="true" starts_enabled="false" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql.pkg"/></choice><choice title="Server Applications" id="choice5" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.queryToolForPostgres.pkg"/><pkgref id="com.druware.postgresqlformac.postgresqlForMac.createDatabase.pkg"/><pkgref id="com.druware.postgresqlformac.postgresqlForMac.createUser.pkg"/></choice></choice><choice title="Database Access Toolkits" id="choice3" starts_selected="true" starts_enabled="true" starts_hidden="false"><choice title="Java (JDBC3)" id="choice6" description="Recommended JDBC Driver for Java 1.5." starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.postgresql83603jdbc3.pkg"/></choice><choice title="PGSQLKit Framework" id="choice11" description="PGSQLKit Framework for development and deployment of linked applications " starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="com.druware.postgresqlformac.postgresqlForMac.pgsqlkit.pkg"/></choice></choice></contents><resources bg-scale="tofit" bg-align="bottomleft"><locale lang="en"><resource relative="true" type="background">../PostgreSQL/Resources/background.tif</resource><resource mime-type="text/rtf" kind="embedded" type="license"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf350 {\fonttbl\f0\fnil\fcharset0 Verdana;\f1\fmodern\fcharset0 Courier;} {\colortbl;\red255\green255\blue255;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural @@ -50,4 +50,4 @@ \b must \b0 shut down the running copy, and it is strongly recommended that you take a few moments to make a full backup of your databases before you upgrade.\cf0 \ \ -Thank you for choosing PostgreSQL.}]]></resource></locale></resources><flags/><item type="file">01postgresql.xml</item><item type="file">02postgresql.xml</item><item type="file">03postgresql.xml</item><item type="file">04pgsqlkit.xml</item><item type="file">05query.xml</item><item type="file">06create.xml</item><item type="file">07create.xml</item><mod>properties.customizeOption</mod><mod>properties.title</mod><mod>description</mod><mod>properties.systemDomain</mod><mod>properties.anywhereDomain</mod></pkmkdoc> \ No newline at end of file +Thank you for choosing PostgreSQL.}]]></resource></locale></resources><flags/><item type="file">01postgresql.xml</item><item type="file">02postgresql.xml</item><item type="file">03postgresql.xml</item><item type="file">04pgsqlkit.xml</item><item type="file">05query.xml</item><item type="file">06create.xml</item><item type="file">07create.xml</item><item type="file">08postgresql.xml</item><mod>properties.customizeOption</mod><mod>properties.title</mod><mod>description</mod><mod>properties.systemDomain</mod><mod>properties.anywhereDomain</mod></pkmkdoc> \ No newline at end of file Modified: trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/PostgreSQL Network Configuration.xcodeproj/project.pbxproj =================================================================== --- trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/PostgreSQL Network Configuration.xcodeproj/project.pbxproj 2008-11-13 19:00:34 UTC (rev 217) +++ trunk/PreferencePane/PostgreSQL Server/Utilities/PostgreSQL Network Configuration/PostgreSQL Network Configuration.xcodeproj/project.pbxproj 2008-11-20 01:20:30 UTC (rev 218) @@ -8,7 +8,8 @@ /* Begin PBXBuildFile section */ 1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* MainMenu.xib */; }; - 43D227DE0E4D324E0009C979 /* pg_hba.conf in Resources */ = {isa = PBXBuildFile; fileRef = 43D227DD0E4D324E0009C979 /* pg_hba.conf */; }; + 43DB841B0ECCEEEF00EAB6B6 /* PGNCController.m in Sources */ = {isa = PBXBuildFile; fileRef = 43DB841A0ECCEEEF00EAB6B6 /* PGNCController.m */; }; + 43DB84200ECCEF0900EAB6B6 /* PGHBAFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 43DB841F0ECCEF0900EAB6B6 /* PGHBAFile.m */; }; 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; 8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; @@ -23,7 +24,10 @@ 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; 32CA4F630368D1EE00C91783 /* PostgreSQL Network Configuration_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "PostgreSQL Network Configuration_Prefix.pch"; sourceTree = "<group>"; }; - 43D227DD0E4D324E0009C979 /* pg_hba.conf */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = pg_hba.conf; path = ../../../../../../Desktop/pg_hba.conf; sourceTree = SOURCE_ROOT; }; + 43DB84190ECCEEEF00EAB6B6 /* PGNCController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGNCController.h; sourceTree = "<group>"; }; + 43DB841A0ECCEEEF00EAB6B6 /* PGNCController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PGNCController.m; sourceTree = "<group>"; }; + 43DB841E0ECCEF0900EAB6B6 /* PGHBAFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PGHBAFile.h; sourceTree = "<group>"; }; + 43DB841F0ECCEF0900EAB6B6 /* PGHBAFile.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PGHBAFile.m; sourceTree = "<group>"; }; 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 8D1107320486CEB800E47090 /* PostgreSQL Network Configuration.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "PostgreSQL Network Configuration.app"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ @@ -43,6 +47,10 @@ 080E96DDFE201D6D7F000001 /* Classes */ = { isa = PBXGroup; children = ( + 43DB841E0ECCEF0900EAB6B6 /* PGHBAFile.h */, + 43DB841F0ECCEF0900EAB6B6 /* PGHBAFile.m */, + 43DB84190ECCEEEF00EAB6B6 /* PGNCController.h */, + 43DB841A0ECCEEEF00EAB6B6 /* PGNCController.m */, ); name = Classes; sourceTree = "<group>"; @@ -76,7 +84,6 @@ 29B97314FDCFA39411CA2CEA /* PostgreSQL Network Configuration */ = { isa = PBXGroup; children = ( - 43D227DD0E4D324E0009C979 /* pg_hba.conf */, 080E96DDFE201D6D7F000001 /* Classes */, 29B97315FDCFA39411CA2CEA /* Other Sources */, 29B97317FDCFA39411CA2CEA /* Resources */, @@ -159,7 +166,6 @@ files = ( 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, 1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */, - 43D227DE0E4D324E0009C979 /* pg_hba.conf in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -171,6 +177,8 @@ buildActionMask = 2147483647; files = ( 8D11072D0486CEB800E47090 /* main.m in Sources */, + 43DB841B0ECCEEEF00EAB6B6 /* PGNCController.m in Sources */, + 43DB84200ECCEF0900EAB6B6 /* PGHBAFile.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2009-07-14 13:07:19
|
Revision: 236 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=236&view=rev Author: hawkmoon Date: 2009-07-14 13:06:58 +0000 (Tue, 14 Jul 2009) Log Message: ----------- 8.4.0 Modified Paths: -------------- trunk/Automator/PostgreSQL Dynamic Query Action/Info.plist trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj trunk/Automator/PostgreSQL Query Action/Info.plist trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/project.pbxproj trunk/BuildScripts/Merge Binaries into Universal Binary.workflow/Contents/QuickLook/Preview.pdf trunk/BuildScripts/Merge Binaries into Universal Binary.workflow/Contents/document.wflow trunk/CreateDatabase/Create Database.xcodeproj/project.pbxproj trunk/CreateDatabase/Info.plist trunk/CreateUser/Create User.xcodeproj/arsatori.pbxuser trunk/CreateUser/Create User.xcodeproj/project.pbxproj trunk/CreateUser/Info.plist trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/02postgresql-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/02postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/06create-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/06create.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/08postgresql-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/08postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml trunk/Installers/PostgreSQL for Mac/README.pages trunk/PGSQLKit/Info.plist trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj trunk/PreferencePane/PostgreSQL Server/English.lproj/NetworkConfigurationPanel.xib trunk/PreferencePane/PostgreSQL Server/Info.plist trunk/PreferencePane/PostgreSQL Server/PGHBAFile.h trunk/PreferencePane/PostgreSQL Server/PGHBAFile.m trunk/PreferencePane/PostgreSQL Server/PGMNetworkConfiguration.m trunk/PreferencePane/PostgreSQL Server/PostgreSQL Server.xcodeproj/project.pbxproj trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.h trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.m trunk/QueryTool/Info.plist trunk/QueryTool/Query Tool for Postgres.xcodeproj/project.pbxproj trunk/StartupItem/.DS_Store trunk/StartupItem/PostgreSQL/PostgreSQL trunk/pgCocoaDB/Info.plist trunk/pgCocoaDB/pgCocoaDB.xcode/project.pbxproj trunk/pgCocoaDB/pgCocoaDB.xcodeproj/project.pbxproj Property Changed: ---------------- trunk/QueryTool/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2009-10-13 20:43:41
|
Revision: 237 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=237&view=rev Author: hawkmoon Date: 2009-10-13 20:43:27 +0000 (Tue, 13 Oct 2009) Log Message: ----------- Modified Paths: -------------- trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/02postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/06create-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/06create.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/08postgresql-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/08postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml trunk/Installers/PostgreSQL for Mac/README.pages trunk/Installers/PostgreSQL for Mac/preflight trunk/PGSQLKit/Info.plist trunk/PGSQLKit/PGSQLColumn.h trunk/PGSQLKit/PGSQLConnection.h trunk/PGSQLKit/PGSQLConnection.m trunk/PGSQLKit/PGSQLField.h trunk/PGSQLKit/PGSQLField.m trunk/PGSQLKit/PGSQLKit.h trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj trunk/PGSQLKit/PGSQLLogin.h trunk/PGSQLKit/PGSQLLogin.m trunk/PGSQLKit/PGSQLRecord.h trunk/PGSQLKit/PGSQLRecord.m trunk/PGSQLKit/PGSQLRecordset.h trunk/PGSQLKit/PGSQLRecordset.m trunk/PreferencePane/PostgreSQL Server/AGProcess.h trunk/PreferencePane/PostgreSQL Server/AGProcess.m trunk/PreferencePane/PostgreSQL Server/Info.plist trunk/PreferencePane/PostgreSQL Server/PGHBAFile.m trunk/PreferencePane/PostgreSQL Server/PostgreSQL Server.xcodeproj/project.pbxproj trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.h trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.m trunk/StartupHelper/.DS_Store trunk/StartupHelper/StartupHelper.xcode/project.pbxproj trunk/StartupHelper/main.c trunk/StartupItem/PostgreSQL/PostgreSQL This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2010-02-26 15:33:45
|
Revision: 241 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=241&view=rev Author: hawkmoon Date: 2010-02-26 15:33:32 +0000 (Fri, 26 Feb 2010) Log Message: ----------- added for 8.4.2 Added Paths: ----------- trunk/SetVersion/ trunk/SetVersion/pg_set_version.sh This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2010-11-30 02:04:54
|
Revision: 253 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=253&view=rev Author: hawkmoon Date: 2010-11-30 02:04:47 +0000 (Tue, 30 Nov 2010) Log Message: ----------- Modified Paths: -------------- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/project.pbxproj trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/project.pbxproj trunk/CreateDatabase/Create Database.xcodeproj/project.pbxproj trunk/CreateDatabase/Info.plist trunk/PreferencePane/PostgreSQL Server/English.lproj/PostgreSQL_ServerPref.xib trunk/PreferencePane/PostgreSQL Server/PostgreSQL Server.xcodeproj/project.pbxproj trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.h trunk/PreferencePane/PostgreSQL Server/PostgreSQL_ServerPref.m trunk/QueryTool/Query Tool for Postgres.xcodeproj/project.pbxproj trunk/ServiceManager/Service Manager.xcodeproj/project.pbxproj trunk/SetVersion/pg_set_version.sh trunk/StartupHelper/StartupHelper.xcode/project.pbxproj trunk/StartupItem/PostgreSQL/PostgreSQL trunk/pgCocoaDB/Info.plist trunk/pgCocoaDB/pgCocoaDB.xcode/project.pbxproj Added Paths: ----------- trunk/Installers/pgAdmin3.app/ Property Changed: ---------------- trunk/Backup Database/ trunk/Backup Database/Backup Database.xcodeproj/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2011-09-19 14:44:07
|
Revision: 262 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=262&view=rev Author: hawkmoon Date: 2011-09-19 14:44:01 +0000 (Mon, 19 Sep 2011) Log Message: ----------- Catchup Commit for 9.1.0 Modified Paths: -------------- trunk/Backup Database/Backup Database.xcodeproj/arsatori.pbxuser trunk/Backup Database/Backup Database.xcodeproj/project.pbxproj trunk/BuildScripts/Build.Distro.sh Property Changed: ---------------- trunk/Automator/PostgreSQL Dynamic Query Action/PostgreSQL Dynamic Query Action.xcodeproj/ trunk/Automator/PostgreSQL Query Action/PostgreSQL Query Action.xcodeproj/ trunk/CreateDatabase/ trunk/CreateDatabase/Create Database.xcodeproj/ trunk/CreateUser/Create User.xcodeproj/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2011-09-19 14:51:00
|
Revision: 266 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=266&view=rev Author: hawkmoon Date: 2011-09-19 14:50:51 +0000 (Mon, 19 Sep 2011) Log Message: ----------- Catchup Commit for 9.1.0 Modified Paths: -------------- trunk/QueryTool/English.lproj/InfoPlist.strings trunk/QueryTool/Info.plist trunk/QueryTool/SqlDocument.m trunk/pgCocoaDB/pgCocoaDB.xcodeproj/project.pbxproj Property Changed: ---------------- trunk/PreferencePane/PostgreSQL Server/PostgreSQL Server.xcodeproj/ trunk/QueryTool/Query Tool for Postgres.xcodeproj/ trunk/QueryTool/QueryToolForPostgresN.xcodeproj/ trunk/pgCocoaDB/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <haw...@us...> - 2012-09-17 13:33:25
|
Revision: 290 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=290&view=rev Author: hawkmoon Date: 2012-09-17 13:33:14 +0000 (Mon, 17 Sep 2012) Log Message: ----------- Moving to MBA Modified Paths: -------------- trunk/BuildScripts/Build.Distro.sh trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01query-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/01query.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/02create-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/02create.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/03create-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/03create.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/04postgresql-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/06postgresql.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/07pgadmin-contents.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/07pgadmin.xml trunk/Installers/PostgreSQL for Mac/PostgreSQL for Mac.pmdoc/index.xml trunk/Installers/PostgreSQL for Mac/README.pages trunk/PGSQLKit/PGSQLKit.xcodeproj/project.pbxproj trunk/SetVersion/pg_set_version.sh This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |