aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-11 09:44:37 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-11 09:44:37 +0000
commitf633a067d2120cca67fd1b2782688424cadde9d4 (patch)
tree613f7364482c73e12b626da99897470cbb9687ed /Source/SPDatabaseDocument.m
parentdb80c9b84be4326d2e2d36839c532159fb9d61fd (diff)
downloadsequelpro-f633a067d2120cca67fd1b2782688424cadde9d4.tar.gz
sequelpro-f633a067d2120cca67fd1b2782688424cadde9d4.tar.bz2
sequelpro-f633a067d2120cca67fd1b2782688424cadde9d4.zip
• some improvements for sequelpro://process_id/command/param1/param2 url scheme support
- introduced an unique process ID for each called bash command which will be set for the current SPDatabaseDocument and passed as environment shell variable SP_PROCESS_ID to ensure that such a scheme command will be executed by the correct SPDatabaseDocument, to avoid security issues ie one can authenticate such a sheme command, to enable url scheme process communication based on file shake-hands etc.
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index f3f419d8..c8f7bc7d 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -72,6 +72,7 @@
@synthesize parentTabViewItem;
@synthesize isProcessing;
@synthesize serverSupport;
+@synthesize processID;
- (id)init
{
@@ -4626,6 +4627,7 @@
if (titleAccessoryView) [titleAccessoryView release];
if (taskProgressWindow) [taskProgressWindow release];
if (serverSupport) [serverSupport release];
+ if (processID) [processID release];
[super dealloc];
}