Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

alpha release

  • Loading branch information...
commit d6c470775c4306e4d33e49064320159809a29363 1 parent c320ba3
@jwang authored
View
33 Postgres.xcodeproj/project.pbxproj
@@ -7,6 +7,12 @@
objects = {
/* Begin PBXBuildFile section */
+ 5224089713480B34005E3503 /* started.png in Resources */ = {isa = PBXBuildFile; fileRef = 5224089513480B34005E3503 /* started.png */; };
+ 5224089813480B34005E3503 /* stopped.png in Resources */ = {isa = PBXBuildFile; fileRef = 5224089613480B34005E3503 /* stopped.png */; };
+ 522408A11348179B005E3503 /* postgres.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 522408A01348179B005E3503 /* postgres.tiff */; };
+ 522408AA13482CD4005E3503 /* elephant.png in Resources */ = {isa = PBXBuildFile; fileRef = 522408A913482CD4005E3503 /* elephant.png */; };
+ 529E2A2A133DDED80040D93C /* postgresql.png in Resources */ = {isa = PBXBuildFile; fileRef = 529E2A29133DDED80040D93C /* postgresql.png */; };
+ 52C9C612133DEF2F008DB7F5 /* logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 52C9C60C133DEF2F008DB7F5 /* logo.png */; };
52D78CC3133DC8460044F52C /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D78CC2133DC8460044F52C /* Cocoa.framework */; };
52D78CC5133DC8460044F52C /* PreferencePanes.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D78CC4133DC8460044F52C /* PreferencePanes.framework */; };
52D78CCF133DC8460044F52C /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 52D78CCD133DC8460044F52C /* InfoPlist.strings */; };
@@ -14,22 +20,30 @@
52D78CD4133DC8460044F52C /* Postgres.m in Sources */ = {isa = PBXBuildFile; fileRef = 52D78CD3133DC8460044F52C /* Postgres.m */; };
52D78CD6133DC8460044F52C /* Postgres.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 52D78CD5133DC8460044F52C /* Postgres.tiff */; };
52D78CD9133DC8460044F52C /* Postgres.xib in Resources */ = {isa = PBXBuildFile; fileRef = 52D78CD7133DC8460044F52C /* Postgres.xib */; };
+ 52D78CE8133DD3490044F52C /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D78CE7133DD3490044F52C /* AppKit.framework */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
+ 5224089513480B34005E3503 /* started.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = started.png; sourceTree = "<group>"; };
+ 5224089613480B34005E3503 /* stopped.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = stopped.png; sourceTree = "<group>"; };
+ 522408A01348179B005E3503 /* postgres.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = postgres.tiff; sourceTree = "<group>"; };
+ 522408A913482CD4005E3503 /* elephant.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = elephant.png; sourceTree = "<group>"; };
+ 529E2A29133DDED80040D93C /* postgresql.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = postgresql.png; sourceTree = "<group>"; };
+ 52C9C60C133DEF2F008DB7F5 /* logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = logo.png; sourceTree = "<group>"; };
52D78CBF133DC8460044F52C /* Postgres.prefPane */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Postgres.prefPane; sourceTree = BUILT_PRODUCTS_DIR; };
52D78CC2133DC8460044F52C /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
52D78CC4133DC8460044F52C /* PreferencePanes.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PreferencePanes.framework; path = System/Library/Frameworks/PreferencePanes.framework; sourceTree = SDKROOT; };
52D78CC7133DC8460044F52C /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
52D78CC8133DC8460044F52C /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
52D78CC9133DC8460044F52C /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- 52D78CCC133DC8460044F52C /* Postgres-Info.plist */ = {isa = PBXFileReference; path = "Postgres-Info.plist"; sourceTree = "<group>"; };
+ 52D78CCC133DC8460044F52C /* Postgres-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Postgres-Info.plist"; sourceTree = "<group>"; };
52D78CCE133DC8460044F52C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
- 52D78CD0133DC8460044F52C /* Postgres-Prefix.pch */ = {isa = PBXFileReference; path = "Postgres-Prefix.pch"; sourceTree = "<group>"; };
+ 52D78CD0133DC8460044F52C /* Postgres-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Postgres-Prefix.pch"; sourceTree = "<group>"; };
52D78CD1133DC8460044F52C /* Postgres.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Postgres.h; sourceTree = "<group>"; };
52D78CD3133DC8460044F52C /* Postgres.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Postgres.m; sourceTree = "<group>"; };
52D78CD5133DC8460044F52C /* Postgres.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = Postgres.tiff; sourceTree = "<group>"; };
52D78CD8133DC8460044F52C /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/Postgres.xib; sourceTree = "<group>"; };
+ 52D78CE7133DD3490044F52C /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -37,6 +51,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ 52D78CE8133DD3490044F52C /* AppKit.framework in Frameworks */,
52D78CC3133DC8460044F52C /* Cocoa.framework in Frameworks */,
52D78CC5133DC8460044F52C /* PreferencePanes.framework in Frameworks */,
);
@@ -48,6 +63,7 @@
52D78CB2133DC8460044F52C = {
isa = PBXGroup;
children = (
+ 52D78CE7133DD3490044F52C /* AppKit.framework */,
52D78CCA133DC8460044F52C /* Postgres */,
52D78CC1133DC8460044F52C /* Frameworks */,
52D78CC0133DC8460044F52C /* Products */,
@@ -88,6 +104,7 @@
52D78CD1133DC8460044F52C /* Postgres.h */,
52D78CD3133DC8460044F52C /* Postgres.m */,
52D78CD5133DC8460044F52C /* Postgres.tiff */,
+ 529E2A29133DDED80040D93C /* postgresql.png */,
52D78CD7133DC8460044F52C /* Postgres.xib */,
52D78CCB133DC8460044F52C /* Supporting Files */,
);
@@ -97,6 +114,11 @@
52D78CCB133DC8460044F52C /* Supporting Files */ = {
isa = PBXGroup;
children = (
+ 5224089513480B34005E3503 /* started.png */,
+ 5224089613480B34005E3503 /* stopped.png */,
+ 522408A01348179B005E3503 /* postgres.tiff */,
+ 522408A913482CD4005E3503 /* elephant.png */,
+ 52C9C60C133DEF2F008DB7F5 /* logo.png */,
52D78CCC133DC8460044F52C /* Postgres-Info.plist */,
52D78CCD133DC8460044F52C /* InfoPlist.strings */,
52D78CD0133DC8460044F52C /* Postgres-Prefix.pch */,
@@ -170,6 +192,12 @@
52D78CCF133DC8460044F52C /* InfoPlist.strings in Resources */,
52D78CD6133DC8460044F52C /* Postgres.tiff in Resources */,
52D78CD9133DC8460044F52C /* Postgres.xib in Resources */,
+ 529E2A2A133DDED80040D93C /* postgresql.png in Resources */,
+ 52C9C612133DEF2F008DB7F5 /* logo.png in Resources */,
+ 5224089713480B34005E3503 /* started.png in Resources */,
+ 5224089813480B34005E3503 /* stopped.png in Resources */,
+ 522408A11348179B005E3503 /* postgres.tiff in Resources */,
+ 522408AA13482CD4005E3503 /* elephant.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -301,6 +329,7 @@
52D78CDE133DC8460044F52C /* Release */,
);
defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
View
2  Postgres/Postgres-Info.plist
@@ -27,7 +27,7 @@
<key>NSMainNibFile</key>
<string>Postgres</string>
<key>NSPrefPaneIconFile</key>
- <string>Postgres.tiff</string>
+ <string>postgres.tiff</string>
<key>NSPrefPaneIconLabel</key>
<string>Postgres</string>
<key>NSPrincipalClass</key>
View
29 Postgres/Postgres.h
@@ -7,13 +7,40 @@
//
#import <PreferencePanes/PreferencePanes.h>
-
+#import <AppKit/AppKit.h>
@interface Postgres : NSPreferencePane {
@private
+ NSString *_path;
+ NSButton *_startButton;
+ NSTextField *_statusLabel;
+ NSButton *_autoStartCheckBox;
+ NSTextField *_detailInformationText;
+ NSProgressIndicator *_progressIndicator;
+
+ NSString *_serverLog;
+ NSString *_postgres;
+ NSString *_pgctl;
+ NSTextField *_startedSubtext;
+ NSImageView *_statusImage;
+
+ BOOL _isRunning;
}
+@property(nonatomic, retain) NSString *path;
+@property (assign) IBOutlet NSButton *startButton;
+@property (assign) IBOutlet NSTextField *statusLabel;
+@property (assign) IBOutlet NSButton *autoStartCheckBox;
+@property (assign) IBOutlet NSTextField *detailInformationText;
+@property (assign) IBOutlet NSProgressIndicator *progressIndicator;
+@property (nonatomic, retain) NSString *serverLog;
+@property (nonatomic, retain) NSString *postgres;
+@property (nonatomic, retain) NSString *pgctl;
+@property (assign) IBOutlet NSTextField *startedSubtext;
+@property (assign) IBOutlet NSImageView *statusImage;
- (void)mainViewDidLoad;
+- (IBAction)startStopServer:(id)sender;
+- (IBAction)autoStartChanged:(id)sender;
@end
View
213 Postgres/Postgres.m
@@ -8,11 +8,224 @@
#import "Postgres.h"
+#define LAUNCHCTL @"/bin/launchctl"
+#define WHICH @"/usr/bin/which"
+#define ECHO @"/bin/echo"
+#define FIND @"/usr/bin/find"
+#define PG_CTL @"pg_ctl"
+#define USR_LOCAL @"/usr/local"
+#define LAUNCH_AGENTS @"~/Library/LaunchAgents/"
+#define PLIST @"~/Library/LaunchAgents/org.postgresql.postgres.plist"
+#define COPY @"/bin/cp"
+#define MKDIR @"/bin/mkdir"
@implementation Postgres
+@synthesize path = _path;
+@synthesize startButton = _startButton;
+@synthesize statusLabel = _statusLabel;
+@synthesize autoStartCheckBox = _autoStartCheckBox;
+@synthesize detailInformationText = _detailInformationText;
+@synthesize progressIndicator = _progressIndicator;
+@synthesize postgres = _postgres;
+@synthesize serverLog = _serverLog;
+@synthesize pgctl = _pgctl;
+@synthesize startedSubtext = _startedSubtext;
+@synthesize statusImage = _statusImage;
+
+- (void)updateChrome {
+ NSString *startedPath = [[self bundle] pathForResource:@"started" ofType:@"png"];
+ NSImage *started = [[NSImage alloc] initWithContentsOfFile:startedPath];
+
+ NSString *stoppedPath = [[self bundle] pathForResource:@"stopped" ofType:@"png"];
+ NSImage *stopped = [[NSImage alloc] initWithContentsOfFile:stoppedPath];
+
+ if (_isRunning) {
+ [self.startButton setTitle:@"Stop Postgresql Server"];
+ [self.detailInformationText setTitleWithMnemonic:@"The Postgresql Database Server is started and ready for client connections. To shut the Server down, use the \"Stop Postgresql Server\" button."];
+ [self.statusLabel setTextColor:[NSColor greenColor]];
+ [self.statusLabel setTitleWithMnemonic:@"Running"];
+ [self.startedSubtext setHidden:NO];
+ [self.statusImage setImage:started];
+
+ }
+ else {
+ [self.startButton setTitle:@"Start Postgresql Server"];
+ [self.detailInformationText setTitleWithMnemonic:@"The Postgresql Database Server is currently stopped. To start it, use the \"Start PostgreSQL Server\" button."];
+ [self.statusLabel setTitleWithMnemonic:@"Stopped"];
+ [self.statusLabel setTextColor:[NSColor redColor]];
+ [self.startedSubtext setHidden:YES];
+ [self.statusImage setImage:stopped];
+ }
+ [started release];
+ [stopped release];
+}
+
+- (NSString *)runCLICommand:(NSString *)command arguments:(NSArray *)args waitUntilExit:(BOOL)wait {
+
+ NSTask *task;
+ task = [[NSTask alloc] init];
+ [task setLaunchPath:command];
+ [task setArguments: args];
+
+ NSPipe *pipe;
+ pipe = [NSPipe pipe];
+ [task setStandardOutput: pipe];
+ //The magic line that keeps your log where it belongs
+ [task setStandardInput:[NSPipe pipe]];
+
+ NSFileHandle *file;
+ file = [pipe fileHandleForReading];
+
+ [task launch];
+
+ if (wait) {
+ [task waitUntilExit];
+ }
+
+ NSData *data;
+ data = [file readDataToEndOfFile];
+
+ NSString *string;
+ string = [[NSString alloc] initWithData: data
+ encoding: NSUTF8StringEncoding];
+ [task release];
+ return string;
+}
+
+- (NSString *)runCLICommand:(NSString *)command arguments:(NSArray *)args {
+ return [self runCLICommand:command arguments:args waitUntilExit:NO];
+}
+
+- (void)checkServerStatus {
+ // Find out if Postgres server is running
+ NSArray *args = [NSArray arrayWithObjects: @"-D", self.postgres, @"status", nil];
+
+ // clean the pg_ctl from whitespaces
+ self.pgctl = [self.pgctl stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
+
+ NSString *result = [self runCLICommand:self.pgctl arguments:args];
+ //pg_ctl: server is running
+ if ([result rangeOfString:@"pg_ctl: server is running"].location != NSNotFound) {
+ _isRunning = YES;
+ }
+ else {
+ _isRunning = NO;
+ }
+
+ // Set the running/stopped label and set the button text to correct
+ // Check if Auto-start is enabled and set checkbox accordingly
+ args = [NSArray arrayWithObjects:@"list",@"org.postgresql.postgres", nil];
+ NSString *autoS = [self runCLICommand:LAUNCHCTL arguments:args waitUntilExit:NO];
+
+ if ([autoS length] == 0 || [autoS isEqualToString:@"launchctl list returned unknown response"]) {
+ [self.autoStartCheckBox setState:0];
+ }
+ else {
+ [self.autoStartCheckBox setState:1];
+ }
+
+ [self performSelectorOnMainThread:@selector(updateChrome) withObject:nil waitUntilDone:NO];
+
+}
+
+- (void)startup {
+ NSArray *args = nil;
+
+ // Find the Postgres Database
+ // first cheat and look for PGDATA
+ args = [NSArray arrayWithObjects:@"$PGDATA", nil];
+ NSString *PGDATA = [self runCLICommand:ECHO arguments:args];
+ // if that's not found, look for postgresql.conf in /usr/local
+ if ([PGDATA rangeOfString:@"PGDATA"].location != NSNotFound) {
+ args = [NSArray arrayWithObjects:USR_LOCAL,@"-type", @"f", @"-name", @"postgresql.conf", nil];
+ PGDATA = [self runCLICommand:FIND arguments:args];
+ }
+
+ // remove the /postgresql.conf from the path along with whitespaces and newline characters
+ self.postgres = [PGDATA stringByDeletingLastPathComponent];
+ self.postgres = [self.postgres stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
+
+ // Find the pg_ctl
+ args = [NSArray arrayWithObjects: PG_CTL, nil];
+ self.pgctl = [self runCLICommand:WHICH arguments:args];
+
+ // Don't proceed. Disable everything.
+ if ([self.pgctl length] == 0) {
+ [self.startButton setEnabled:NO];
+ [self.autoStartCheckBox setEnabled:NO];
+ }
+ else {
+ [self checkServerStatus];
+ }
+}
+
+// For checking after user closes or choses Show All option.
+- (void)didSelect {
+ [self startup];
+}
- (void)mainViewDidLoad
{
+ _isRunning = NO;
+ [self startup];
+
+}
+
+- (IBAction)startStopServer:(id)sender {
+
+ // pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
+ // pg_ctl -D /usr/local/var/postgres stop -s -m fast
+ self.serverLog = @"/usr/local/var/postgres/server.log";
+
+ NSArray *args = nil;
+ if(_isRunning) {
+ [self.startButton setTitle:@"Stop Postgresql Server"];
+ args = [NSArray arrayWithObjects: @"-D", self.postgres, @"stop", @"-s", @"-m", @"fast", nil];
+ }
+ else {
+ [self.startButton setTitle:@"Start Postgresql Server"];
+ args = [NSArray arrayWithObjects: @"-D", self.postgres, @"-l", self.serverLog, @"start", nil];
+ }
+ [self runCLICommand:self.pgctl arguments:args waitUntilExit:YES];
+
+ // update the chrome after done
+ [self performSelector:@selector(checkServerStatus) withObject:nil afterDelay:3.0];
+}
+
+- (IBAction)autoStartChanged:(id)sender {
+ NSString *result = nil;
+ NSArray *args = nil;
+ if ([self.autoStartCheckBox state] == 0) {
+ // launchctl unload -w ~/Library/LaunchAgents/org.postgresql.postgres.plist
+ args = [NSArray arrayWithObjects:@"unload", @"-w", PLIST, nil];
+ result = [self runCLICommand:LAUNCHCTL arguments:args];
+
+ } else {
+ // mkdir -p ~/Library/LaunchAgents
+ args = [NSArray arrayWithObjects:@"-p", LAUNCH_AGENTS, nil];
+ result = [self runCLICommand:MKDIR arguments:args waitUntilExit:YES];
+
+ // find the postgres.plist in the /usr/local
+ args = [NSArray arrayWithObjects:USR_LOCAL,@"-type", @"f", @"-name", @"org.postgresql.postgres.plist", nil];
+ result = [self runCLICommand:FIND arguments:args waitUntilExit:YES];
+
+ // cp /usr/local/Cellar/postgresql/9.0.3/org.postgresql.postgres.plist ~/Library/LaunchAgents/
+ args = [NSArray arrayWithObjects:result, LAUNCH_AGENTS, nil];
+ result = [self runCLICommand:COPY arguments:args waitUntilExit:YES];
+
+ // launchctl load -w ~/Library/LaunchAgents/org.postgresql.postgres.plist
+ args = [NSArray arrayWithObjects:@"load", @"-w", PLIST, nil];
+ result = [self runCLICommand:LAUNCHCTL arguments:args];
+ }
+
+}
+
+- (void)dealloc {
+ [_pgctl release];
+ [_serverLog release];
+ [_postgres release];
+ [_path release];
+ [super dealloc];
}
@end
View
BIN  Postgres/Postgres.tiff
Binary file not shown
View
BIN  Postgres/elephant.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
898 Postgres/en.lproj/Postgres.xib
@@ -1,23 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.02">
+<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">10A157</string>
- <string key="IBDocument.InterfaceBuilderVersion">702</string>
- <string key="IBDocument.AppKitVersion">983</string>
- <string key="IBDocument.HIToolboxVersion">396.00</string>
- <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+ <string key="IBDocument.SystemVersion">10J3250</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1306</string>
+ <string key="IBDocument.AppKitVersion">1038.35</string>
+ <string key="IBDocument.HIToolboxVersion">461.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string key="NS.object.0">1306</string>
+ </object>
+ <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="12"/>
+ <string>NSTextField</string>
+ <string>NSView</string>
+ <string>NSWindowTemplate</string>
+ <string>NSTextFieldCell</string>
+ <string>NSBox</string>
+ <string>NSProgressIndicator</string>
+ <string>NSButtonCell</string>
+ <string>NSImageCell</string>
+ <string>NSButton</string>
+ <string>NSImageView</string>
+ <string>NSCustomObject</string>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
</object>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <reference key="dict.values" ref="0"/>
+ </object>
<object class="NSMutableArray" key="IBDocument.RootObjects" id="409411428">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSCustomObject" id="294453543">
- <string key="NSClassName">NSPreferencePane</string>
+ <string key="NSClassName">Postgres</string>
</object>
<object class="NSCustomObject" id="308860122">
<string key="NSClassName">FirstResponder</string>
@@ -28,24 +49,359 @@
<object class="NSWindowTemplate" id="660800786">
<int key="NSWindowStyleMask">7</int>
<int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{176, 715}, {668, 368}}</string>
+ <string key="NSWindowRect">{{176, 715}, {668, 277}}</string>
<int key="NSWTFlags">1081606144</int>
- <string type="base64-UTF8" key="NSWindowTitle">PDwgZG8gbm90IGxvY2FsaXplID4+A</string>
+ <string key="NSWindowTitle">&lt;&lt; do not localize &gt;&gt;</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>
- <string key="NSFrameSize">{668, 368}</string>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSButton" id="419132649">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{393, 162}, {181, 32}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="953004158"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell" id="95729992">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">134217728</int>
+ <string key="NSContents">Start Postgresql Server</string>
+ <object class="NSFont" key="NSSupport" id="959391415">
+ <string key="NSName">LucidaGrande</string>
+ <double key="NSSize">13</double>
+ <int key="NSfFlags">1044</int>
+ </object>
+ <reference key="NSControlView" ref="419132649"/>
+ <int key="NSButtonFlags">-2038284033</int>
+ <int key="NSButtonFlags2">129</int>
+ <string key="NSAlternateContents"/>
+ <string key="NSKeyEquivalent"/>
+ <int key="NSPeriodicDelay">200</int>
+ <int key="NSPeriodicInterval">25</int>
+ </object>
+ </object>
+ <object class="NSButton" id="336946385">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{81, 81}, {324, 18}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="185352303"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell" id="527874055">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">8388608</int>
+ <string key="NSContents">Automatically Start Postgresql Server on Startup</string>
+ <reference key="NSSupport" ref="959391415"/>
+ <reference key="NSControlView" ref="336946385"/>
+ <int key="NSButtonFlags">-935575041</int>
+ <int key="NSButtonFlags2">2</int>
+ <object class="NSCustomResource" key="NSNormalImage">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">NSSwitch</string>
+ </object>
+ <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="185352303">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{80, 36}, {321, 39}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="512917184"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSTextFieldCell" key="NSCell" id="521370471">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">272629760</int>
+ <string key="NSContents">You may select to have the Postgresql server start automatically whenever your computer starts up.</string>
+ <object class="NSFont" key="NSSupport" id="71538162">
+ <string key="NSName">LucidaGrande</string>
+ <double key="NSSize">11</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ <reference key="NSControlView" ref="185352303"/>
+ <object class="NSColor" key="NSBackgroundColor" id="589358318">
+ <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">MC42NjY2NjY2NjY3AA</bytes>
+ </object>
+ </object>
+ <object class="NSColor" key="NSTextColor" id="728738252">
+ <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="617096659">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">-2147483380</int>
+ <string key="NSFrame">{{80, 128}, {352, 37}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="419132649"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSTextFieldCell" key="NSCell" id="997929982">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">272629760</int>
+ <string key="NSContents">If you stop the server, you and your applications will not be able to use Postgresql and all current connections will be closed.</string>
+ <reference key="NSSupport" ref="71538162"/>
+ <reference key="NSControlView" ref="617096659"/>
+ <reference key="NSBackgroundColor" ref="589358318"/>
+ <reference key="NSTextColor" ref="728738252"/>
+ </object>
+ </object>
+ <object class="NSTextField" id="660555868">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{80, 198}, {410, 34}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="499820144"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSTextFieldCell" key="NSCell" id="878245827">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">272629760</int>
+ <string key="NSContents">The Postgresql Database Server is currently stopped. To start it, use the "Start PostgreSQL Server" button.</string>
+ <reference key="NSSupport" ref="71538162"/>
+ <reference key="NSControlView" ref="660555868"/>
+ <reference key="NSBackgroundColor" ref="589358318"/>
+ <reference key="NSTextColor" ref="728738252"/>
+ </object>
+ </object>
+ <object class="NSTextField" id="630269762">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{80, 240}, {156, 17}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="383331957"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSTextFieldCell" key="NSCell" id="533550569">
+ <int key="NSCellFlags">68288064</int>
+ <int key="NSCellFlags2">272630784</int>
+ <string key="NSContents">Postgresql Server Status</string>
+ <reference key="NSSupport" ref="959391415"/>
+ <reference key="NSControlView" ref="630269762"/>
+ <reference key="NSBackgroundColor" ref="589358318"/>
+ <reference key="NSTextColor" ref="728738252"/>
+ </object>
+ </object>
+ <object class="NSTextField" id="499820144">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{80, 173}, {212, 17}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="854981361"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSTextFieldCell" key="NSCell" id="880487134">
+ <int key="NSCellFlags">68288064</int>
+ <int key="NSCellFlags2">272630784</int>
+ <string key="NSContents">The Postgresql Server Instance is</string>
+ <reference key="NSSupport" ref="959391415"/>
+ <reference key="NSControlView" ref="499820144"/>
+ <reference key="NSBackgroundColor" ref="589358318"/>
+ <reference key="NSTextColor" ref="728738252"/>
+ </object>
+ </object>
+ <object class="NSTextField" id="854981361">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{294, 173}, {100, 17}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="601668597"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSTextFieldCell" key="NSCell" id="115317164">
+ <int key="NSCellFlags">68288064</int>
+ <int key="NSCellFlags2">272630784</int>
+ <string key="NSContents">stopped</string>
+ <reference key="NSSupport" ref="959391415"/>
+ <reference key="NSControlView" ref="854981361"/>
+ <reference key="NSBackgroundColor" ref="589358318"/>
+ <object class="NSColor" key="NSTextColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAwIDAAA</bytes>
+ </object>
+ </object>
+ </object>
+ <object class="NSBox" id="953004158">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">12</int>
+ <string key="NSFrame">{{43, 119}, {583, 5}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="336946385"/>
+ <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>
+ <reference key="NSSupport" ref="959391415"/>
+ <object class="NSColor" key="NSBackgroundColor">
+ <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">MCAwLjgwMDAwMDAxMTkAA</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="NSImageView" id="512917184">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">268</int>
+ <object class="NSMutableSet" key="NSDragTypes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" 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">{{422, 36}, {91, 71}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="866112244"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSImageCell" key="NSCell" id="803430477">
+ <int key="NSCellFlags">130560</int>
+ <int key="NSCellFlags2">33554432</int>
+ <object class="NSCustomResource" key="NSContents">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">elephant-64</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="383331957">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">268</int>
+ <object class="NSMutableSet" key="NSDragTypes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" 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">{{17, 191}, {48, 48}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="660555868"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSImageCell" key="NSCell" id="783416114">
+ <int key="NSCellFlags">130560</int>
+ <int key="NSCellFlags2">33554432</int>
+ <object class="NSCustomResource" key="NSContents">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">stopped</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="NSProgressIndicator" id="601668597">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">1292</int>
+ <object class="NSPSMatrix" key="NSDrawMatrix"/>
+ <string key="NSFrame">{{367, 172}, {16, 16}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="617096659"/>
+ <int key="NSpiFlags">28938</int>
+ <double key="NSMaxValue">100</double>
+ </object>
+ <object class="NSImageView" id="866112244">
+ <reference key="NSNextResponder" ref="1037298196"/>
+ <int key="NSvFlags">268</int>
+ <object class="NSMutableSet" key="NSDragTypes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" 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">{{501, 51}, {125, 40}}</string>
+ <reference key="NSSuperview" ref="1037298196"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSImageCell" key="NSCell" id="500065445">
+ <int key="NSCellFlags">130560</int>
+ <int key="NSCellFlags2">33554432</int>
+ <object class="NSCustomResource" key="NSContents">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">strapline-200x40</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>
+ <string key="NSFrame">{{7, 11}, {668, 277}}</string>
<reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="630269762"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1920, 1178}}</string>
<string key="NSMinSize">{224.664, 32}</string>
- <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
+ <string key="NSMaxSize">{1e+13, 1e+13}</string>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
@@ -59,15 +415,85 @@
</object>
<int key="connectionID">26</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">startButton</string>
+ <reference key="source" ref="294453543"/>
+ <reference key="destination" ref="419132649"/>
+ </object>
+ <int key="connectionID">125</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">statusLabel</string>
+ <reference key="source" ref="294453543"/>
+ <reference key="destination" ref="854981361"/>
+ </object>
+ <int key="connectionID">126</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">startStopServer:</string>
+ <reference key="source" ref="294453543"/>
+ <reference key="destination" ref="419132649"/>
+ </object>
+ <int key="connectionID">127</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">autoStartCheckBox</string>
+ <reference key="source" ref="294453543"/>
+ <reference key="destination" ref="336946385"/>
+ </object>
+ <int key="connectionID">128</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">autoStartChanged:</string>
+ <reference key="source" ref="294453543"/>
+ <reference key="destination" ref="336946385"/>
+ </object>
+ <int key="connectionID">129</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">detailInformationText</string>
+ <reference key="source" ref="294453543"/>
+ <reference key="destination" ref="660555868"/>
+ </object>
+ <int key="connectionID">130</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">progressIndicator</string>
+ <reference key="source" ref="294453543"/>
+ <reference key="destination" ref="601668597"/>
+ </object>
+ <int key="connectionID">146</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">startedSubtext</string>
+ <reference key="source" ref="294453543"/>
+ <reference key="destination" ref="617096659"/>
+ </object>
+ <int key="connectionID">149</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">statusImage</string>
+ <reference key="source" ref="294453543"/>
+ <reference key="destination" ref="383331957"/>
+ </object>
+ <int key="connectionID">150</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBObjectRecord">
<int key="objectID">0</int>
- <object class="NSArray" key="object" id="0">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
+ <reference key="object" ref="0"/>
<reference key="children" ref="409411428"/>
<nil key="parent"/>
</object>
@@ -75,7 +501,7 @@
<int key="objectID">-2</int>
<reference key="object" ref="294453543"/>
<reference key="parent" ref="0"/>
- <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
+ <string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
@@ -96,6 +522,22 @@
<object class="IBObjectRecord">
<int key="objectID">6</int>
<reference key="object" ref="1037298196"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="630269762"/>
+ <reference ref="499820144"/>
+ <reference ref="854981361"/>
+ <reference ref="336946385"/>
+ <reference ref="617096659"/>
+ <reference ref="185352303"/>
+ <reference ref="419132649"/>
+ <reference ref="953004158"/>
+ <reference ref="383331957"/>
+ <reference ref="601668597"/>
+ <reference ref="866112244"/>
+ <reference ref="512917184"/>
+ <reference ref="660555868"/>
+ </object>
<reference key="parent" ref="660800786"/>
</object>
<object class="IBObjectRecord">
@@ -104,6 +546,170 @@
<reference key="parent" ref="0"/>
<string key="objectName">Application</string>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">101</int>
+ <reference key="object" ref="419132649"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="95729992"/>
+ </object>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">102</int>
+ <reference key="object" ref="95729992"/>
+ <reference key="parent" ref="419132649"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">103</int>
+ <reference key="object" ref="336946385"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="527874055"/>
+ </object>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">104</int>
+ <reference key="object" ref="527874055"/>
+ <reference key="parent" ref="336946385"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">107</int>
+ <reference key="object" ref="185352303"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="521370471"/>
+ </object>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">108</int>
+ <reference key="object" ref="521370471"/>
+ <reference key="parent" ref="185352303"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">109</int>
+ <reference key="object" ref="660555868"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="878245827"/>
+ </object>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">110</int>
+ <reference key="object" ref="878245827"/>
+ <reference key="parent" ref="660555868"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">111</int>
+ <reference key="object" ref="630269762"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="533550569"/>
+ </object>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">112</int>
+ <reference key="object" ref="533550569"/>
+ <reference key="parent" ref="630269762"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">113</int>
+ <reference key="object" ref="499820144"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="880487134"/>
+ </object>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">114</int>
+ <reference key="object" ref="880487134"/>
+ <reference key="parent" ref="499820144"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">117</int>
+ <reference key="object" ref="854981361"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="115317164"/>
+ </object>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">118</int>
+ <reference key="object" ref="115317164"/>
+ <reference key="parent" ref="854981361"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">119</int>
+ <reference key="object" ref="617096659"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="997929982"/>
+ </object>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">120</int>
+ <reference key="object" ref="997929982"/>
+ <reference key="parent" ref="617096659"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">123</int>
+ <reference key="object" ref="953004158"/>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">141</int>
+ <reference key="object" ref="512917184"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="803430477"/>
+ </object>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">142</int>
+ <reference key="object" ref="803430477"/>
+ <reference key="parent" ref="512917184"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">143</int>
+ <reference key="object" ref="383331957"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="783416114"/>
+ </object>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">144</int>
+ <reference key="object" ref="783416114"/>
+ <reference key="parent" ref="383331957"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">145</int>
+ <reference key="object" ref="601668597"/>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">147</int>
+ <reference key="object" ref="866112244"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="500065445"/>
+ </object>
+ <reference key="parent" ref="1037298196"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">148</int>
+ <reference key="object" ref="500065445"/>
+ <reference key="parent" ref="866112244"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -112,12 +718,35 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>-1.IBPluginDependency</string>
<string>-2.IBPluginDependency</string>
+ <string>-3.IBPluginDependency</string>
+ <string>101.IBPluginDependency</string>
+ <string>102.IBPluginDependency</string>
+ <string>103.IBPluginDependency</string>
+ <string>104.IBPluginDependency</string>
+ <string>107.IBPluginDependency</string>
+ <string>108.IBPluginDependency</string>
+ <string>109.IBPluginDependency</string>
+ <string>110.IBPluginDependency</string>
+ <string>111.IBPluginDependency</string>
+ <string>112.IBPluginDependency</string>
+ <string>113.IBPluginDependency</string>
+ <string>114.IBPluginDependency</string>
+ <string>117.IBPluginDependency</string>
+ <string>118.IBPluginDependency</string>
+ <string>119.IBPluginDependency</string>
<string>12.IBEditorWindowLastContentRect</string>
<string>12.IBPluginDependency</string>
<string>12.IBWindowTemplateEditedContentRect</string>
<string>12.ImportedFromIB2</string>
- <string>12.windowTemplate.hasMinSize</string>
- <string>12.windowTemplate.minSize</string>
+ <string>120.IBPluginDependency</string>
+ <string>123.IBPluginDependency</string>
+ <string>141.IBPluginDependency</string>
+ <string>142.IBPluginDependency</string>
+ <string>143.IBPluginDependency</string>
+ <string>144.IBPluginDependency</string>
+ <string>145.IBPluginDependency</string>
+ <string>147.IBPluginDependency</string>
+ <string>148.IBPluginDependency</string>
<string>6.IBPluginDependency</string>
<string>6.ImportedFromIB2</string>
</object>
@@ -125,51 +754,57 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{132, 373}, {668, 368}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{132, 373}, {668, 368}}</string>
- <integer value="1" id="5"/>
- <reference ref="5"/>
- <string>{224.664, 10}</string>
+ <integer value="1"/>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="5"/>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <integer value="1"/>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
</object>
<nil key="activeLocalization"/>
<object class="NSMutableDictionary" key="localizations">
<bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">98</int>
+ <int key="maxID">150</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
- <string key="className">FirstResponder</string>
- <string key="superclassName">NSObject</string>
- <integer value="2" key="userVisibilityLevel" id="10"/>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
- </object>
- </object>
- <object class="IBPartialClassDescription">
<string key="className">NSPreferencePane</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="outlets">
@@ -183,22 +818,183 @@
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>NSView</string>
+ <string>NSView</string>
+ <string>NSView</string>
+ <string>NSWindow</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>_firstKeyView</string>
+ <string>_initialKeyView</string>
+ <string>_lastKeyView</string>
+ <string>_window</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBToOneOutletInfo">
+ <string key="name">_firstKeyView</string>
+ <string key="candidateClassName">NSView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">_initialKeyView</string>
+ <string key="candidateClassName">NSView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">_lastKeyView</string>
+ <string key="candidateClassName">NSView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">_window</string>
+ <string key="candidateClassName">NSWindow</string>
+ </object>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/NSPreferencePane.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">Postgres</string>
+ <string key="superclassName">NSPreferencePane</string>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>autoStartChanged:</string>
+ <string>startStopServer:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
<string>id</string>
<string>id</string>
- <string>id</string>
- <string>id</string>
</object>
</object>
- <reference key="userVisibilityLevel" ref="10"/>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>autoStartChanged:</string>
+ <string>startStopServer:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBActionInfo">
+ <string key="name">autoStartChanged:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">startStopServer:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>autoStartCheckBox</string>
+ <string>detailInformationText</string>
+ <string>progressIndicator</string>
+ <string>startButton</string>
+ <string>startedSubtext</string>
+ <string>statusImage</string>
+ <string>statusLabel</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>NSButton</string>
+ <string>NSTextField</string>
+ <string>NSProgressIndicator</string>
+ <string>NSButton</string>
+ <string>NSTextField</string>
+ <string>NSImageView</string>
+ <string>NSTextField</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>autoStartCheckBox</string>
+ <string>detailInformationText</string>
+ <string>progressIndicator</string>
+ <string>startButton</string>
+ <string>startedSubtext</string>
+ <string>statusImage</string>
+ <string>statusLabel</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBToOneOutletInfo">
+ <string key="name">autoStartCheckBox</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">detailInformationText</string>
+ <string key="candidateClassName">NSTextField</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">progressIndicator</string>
+ <string key="candidateClassName">NSProgressIndicator</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">startButton</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">startedSubtext</string>
+ <string key="candidateClassName">NSTextField</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">statusImage</string>
+ <string key="candidateClassName">NSImageView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">statusLabel</string>
+ <string key="candidateClassName">NSTextField</string>
+ </object>
+ </object>
+ </object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBUserSource</string>
- <string key="minorKey"/>
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/Postgres.h</string>
</object>
</object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
- <nil key="IBDocument.LastKnownRelativeProjectPath"/>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
+ <integer value="1050" key="NS.object.0"/>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
+ <integer value="3000" key="NS.object.0"/>
+ </object>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>NSSwitch</string>
+ <string>elephant-64</string>
+ <string>stopped</string>
+ <string>strapline-200x40</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>{15, 15}</string>
+ <string>{64, 64}</string>
+ <string>{47, 49}</string>
+ <string>{200, 40}</string>
+ </object>
+ </object>
</data>
</archive>
View
BIN  Postgres/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Postgres/postgresql.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Postgres/started.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Postgres/stopped.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.