From 6ab16708e84f0da9dbc26821c88e0c277d71c58e Mon Sep 17 00:00:00 2001 From: Bibiko Date: Wed, 31 Mar 2010 13:38:33 +0000 Subject: =?UTF-8?q?=E2=80=A2=20querying=20for=20db=20structure=20is=20queu?= =?UTF-8?q?ed=20for=20the=20same=20connection=20to=20avoid=20'overlapping'?= =?UTF-8?q?=20access=20to=20global=20variables=20=E2=80=A2=20after=20query?= =?UTF-8?q?ing=20db=20structure=20write=20back=20data=20on=20main=20thread?= =?UTF-8?q?=20=E2=80=A2=20completion=20list=20displays=20animated=20sync?= =?UTF-8?q?=20images=20if=20connection=20is=20just=20querying=20db=20struc?= =?UTF-8?q?ture=20data=20=E2=80=A2=20fixed=20some=20minor=20issue=20for=20?= =?UTF-8?q?completion=20list=20=E2=80=A2=C2=A0make=20sure=20that=20if=20la?= =?UTF-8?q?st=20window=20of=20a=20connection=20is=20closed=20all=20relevan?= =?UTF-8?q?t=20data=20will=20be=20removed=20from=20global=20variables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: please test! --- Source/SPNavigatorController.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPNavigatorController.h') diff --git a/Source/SPNavigatorController.h b/Source/SPNavigatorController.h index 6c31b013..2833cd99 100644 --- a/Source/SPNavigatorController.h +++ b/Source/SPNavigatorController.h @@ -45,7 +45,7 @@ NSMutableDictionary *schemaDataFiltered; NSMutableDictionary *allSchemaKeys; NSMutableArray *infoArray; - NSMutableSet *updatingConnections; + NSMutableArray *updatingConnections; NSMutableDictionary *expandStatus1; NSMutableDictionary *expandStatus2; @@ -80,13 +80,13 @@ - (NSString*)tableInfoLabelForIndex:(NSInteger)index ofType:(NSInteger)type; - (void)updateNavigator:(NSNotification *)aNotification; -- (void)isUpdatingNavigator:(NSNotification *)aNotification; - (NSDictionary *)dbStructureForConnection:(NSString*)connectionID; - (NSArray *)allSchemaKeysForConnection:(NSString*)connectionID; - (NSArray *)getUniqueDbIdentifierFor:(NSString*)term andConnection:(NSString*)connectionID; - (BOOL)isUpdatingConnection:(NSString*)connectionID; +- (BOOL)isUpdating; - (void)restoreSelectedItems; - (void)setIgnoreUpdate:(BOOL)flag; -- cgit v1.2.3