Revision: 29251 http://sourceforge.net/p/bibdesk/svn/29251 Author: hofman Date: 2025-04-30 22:24:59 +0000 (Wed, 30 Apr 2025) Log Message: ----------- add dependent keys in mutable serverInfo
Modified Paths: -------------- trunk/bibdesk/BDSKServerInfo.m Modified: trunk/bibdesk/BDSKServerInfo.m =================================================================== --- trunk/bibdesk/BDSKServerInfo.m 2025-04-30 22:01:40 UTC (rev 29250) +++ trunk/bibdesk/BDSKServerInfo.m 2025-04-30 22:24:59 UTC (rev 29251) @@ -86,13 +86,6 @@ + (BOOL)accessInstanceVariablesDirectly { return NO; } -+ (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key { - NSSet *keyPaths = [super keyPathsForValuesAffectingValueForKey:key]; - if ([[NSSet setWithObjects:@"zoom", @"SRU", @"ISI", @"entrez", @"DBLP", nil] containsObject:key]) - keyPaths = [keyPaths setByAddingObject:@"type"]; - return keyPaths; -} - + (instancetype)defaultServerInfoWithType:(NSString *)aType; { BOOL isZoomOrSRU = [aType isEqualToString:BDSKSearchGroupZoom] || [aType isEqualToString:BDSKSearchGroupSRU]; @@ -399,7 +392,7 @@ + (void)initialize { BDSKINITIALIZE; - keysAffectedByType = [[NSSet alloc] initWithObjects:@"serverType", HOST_KEY, PORT_KEY, PASSWORD_KEY, USERNAME_KEY, RECORDSYNTAX_KEY, RESULTENCODING_KEY, REMOVEDIACRITICS_KEY, SECURE_KEY, LITE_KEY, nil]; + keysAffectedByType = [[NSSet alloc] initWithObjects:@"serverType", @"zoom", @"SRU", @"ISI", @"entrez", @"DBLP", HOST_KEY, PORT_KEY, PASSWORD_KEY, USERNAME_KEY, RECORDSYNTAX_KEY, RESULTENCODING_KEY, REMOVEDIACRITICS_KEY, SECURE_KEY, LITE_KEY, nil]; typeSet = [[NSSet alloc] initWithObjects:TYPE_KEY, nil]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit