Revision: 29843
http://sourceforge.net/p/bibdesk/svn/29843
Author: hofman
Date: 2025-11-18 21:51:13 +0000 (Tue, 18 Nov 2025)
Log Message:
-----------
do not encode publication of BibAuthor, it is not used for isEqual, the only
reason to encode BibAuthor
Modified Paths:
--------------
trunk/bibdesk/BibAuthor.m
Modified: trunk/bibdesk/BibAuthor.m
===================================================================
--- trunk/bibdesk/BibAuthor.m 2025-11-18 17:12:24 UTC (rev 29842)
+++ trunk/bibdesk/BibAuthor.m 2025-11-18 21:51:13 UTC (rev 29843)
@@ -120,7 +120,7 @@
- (instancetype)initWithCoder:(NSCoder *)coder{
self = [super init];
if (self) {
- publication = [coder decodeObjectOfClass:[BibItem class]
forKey:@"publication"];
+ publication = nil;
originalName = [coder decodeObjectOfClass:[NSString class]
forKey:@"name"];
// this should take care of the rest of the ivars
[self setupNames];
@@ -130,7 +130,6 @@
- (void)encodeWithCoder:(NSCoder *)coder{
[coder encodeObject:originalName forKey:@"name"];
- [coder encodeConditionalObject:publication forKey:@"publication"];
}
+ (BOOL)supportsSecureCoding { return YES; }
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit