diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-15 21:25:26 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-15 21:25:26 +0000 |
commit | cd4ae516d0db053c1bb818e617cf5b5bbebdaafc (patch) | |
tree | 98a6fbddc09798a67d7d207e5417c41af940745d /Source/SPDatabaseDocument.m | |
parent | 1fddbf3316c6d9b61952426f285d8ed4765cee45 (diff) | |
download | sequelpro-cd4ae516d0db053c1bb818e617cf5b5bbebdaafc.tar.gz sequelpro-cd4ae516d0db053c1bb818e617cf5b5bbebdaafc.tar.bz2 sequelpro-cd4ae516d0db053c1bb818e617cf5b5bbebdaafc.zip |
• Bundle support
- outsourced code to SPAppController to centralise Bundle support and make it available for different scopes (query editor, input text fields, data tables etc.)
- store bundle info scope-based
- added input text field support
- made usage of constants
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r-- | Source/SPDatabaseDocument.m | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index abcd0b9f..837c5387 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -242,8 +242,6 @@ [taskProgressWindow setAlphaValue:0.0]; [taskProgressWindow setContentView:taskProgressLayer]; - [[customQueryInstance valueForKeyPath:@"textView"] reloadBundleItems]; - [contentViewSplitter setDelegate:self]; } @@ -4433,10 +4431,10 @@ BOOL writeAsCsv = ([outputFormat isEqualToString:@"csv"]) ? YES : NO; - NSString *queryFileName = [NSString stringWithFormat:@"/private/tmp/SP_QUERY_%@", docProcessID]; - NSString *resultFileName = [NSString stringWithFormat:@"/private/tmp/SP_QUERY_RESULT_%@", docProcessID]; - NSString *metaFileName = [NSString stringWithFormat:@"/private/tmp/SP_QUERY_RESULT_META_%@", docProcessID]; - NSString *statusFileName = [NSString stringWithFormat:@"/private/tmp/SP_QUERY_RESULT_STATUS_%@", docProcessID]; + NSString *queryFileName = [NSString stringWithFormat:@"%@%@", SPURLSchemeQueryInputPathHeader, docProcessID]; + NSString *resultFileName = [NSString stringWithFormat:@"%@%@", SPURLSchemeQueryResultPathHeader, docProcessID]; + NSString *metaFileName = [NSString stringWithFormat:@"%@%@", SPURLSchemeQueryResultMetaPathHeader, docProcessID]; + NSString *statusFileName = [NSString stringWithFormat:@"%@%@", SPURLSchemeQueryResultStatusPathHeader, docProcessID]; NSFileManager *fm = [NSFileManager defaultManager]; NSString *status = @"0"; BOOL isDir; |