Revision: 29854
http://sourceforge.net/p/bibdesk/svn/29854
Author: hofman
Date: 2025-11-19 17:14:57 +0000 (Wed, 19 Nov 2025)
Log Message:
-----------
change some nullable property attributes
Modified Paths:
--------------
trunk/bibdesk/BDSKComplexString.h
trunk/bibdesk/BDSKCondition.h
trunk/bibdesk/BDSKMacroResolver.h
trunk/bibdesk/BDSKSmartGroup.h
trunk/bibdesk/BDSKTemplate.h
trunk/bibdesk/BibDocument.h
trunk/bibdesk/NSData_BDSKExtensions.h
Modified: trunk/bibdesk/BDSKComplexString.h
===================================================================
--- trunk/bibdesk/BDSKComplexString.h 2025-11-19 16:29:35 UTC (rev 29853)
+++ trunk/bibdesk/BDSKComplexString.h 2025-11-19 17:14:57 UTC (rev 29854)
@@ -200,7 +200,7 @@
@interface BDSKKeyedUnarchiver : NSKeyedUnarchiver {
BDSKMacroResolver *macroResolver;
}
-@property (nonatomic, nullable, retain) BDSKMacroResolver
*macroResolverForComplexString;
+@property (nonatomic, nullable, strong) BDSKMacroResolver
*macroResolverForComplexString;
@end
NS_ASSUME_NONNULL_END
Modified: trunk/bibdesk/BDSKCondition.h
===================================================================
--- trunk/bibdesk/BDSKCondition.h 2025-11-19 16:29:35 UTC (rev 29853)
+++ trunk/bibdesk/BDSKCondition.h 2025-11-19 17:14:57 UTC (rev 29854)
@@ -127,13 +127,13 @@
- (BOOL)isSatisfiedByItem:(BibItem *)item;
// Generic accessors
-@property (nonatomic, nullable, strong) NSString *key;
-@property (nonatomic, nullable, strong) NSString *value;
+@property (nonatomic, null_resettable, strong) NSString *key;
+@property (nonatomic, null_resettable, strong) NSString *value;
@property (nonatomic) NSInteger comparison;
// String accessors
@property (nonatomic) BDSKStringComparison stringComparison;
-@property (nonatomic, nullable, strong) NSString *stringValue;
+@property (nonatomic, null_resettable, strong) NSString *stringValue;
// Count accessors
@property (nonatomic) BDSKAttachmentComparison attachmentComparison;
Modified: trunk/bibdesk/BDSKMacroResolver.h
===================================================================
--- trunk/bibdesk/BDSKMacroResolver.h 2025-11-19 16:29:35 UTC (rev 29853)
+++ trunk/bibdesk/BDSKMacroResolver.h 2025-11-19 17:14:57 UTC (rev 29854)
@@ -70,7 +70,7 @@
@property (nonatomic, readonly) NSString *bibTeXString;
-@property (nonatomic, nullable, copy) NSMapTable *macroDefinitions;
+@property (nonatomic, null_resettable, copy) NSMapTable *macroDefinitions;
// returns global definitions + local overrides
@property (nonatomic, readonly) NSMapTable *allMacroDefinitions;
Modified: trunk/bibdesk/BDSKSmartGroup.h
===================================================================
--- trunk/bibdesk/BDSKSmartGroup.h 2025-11-19 16:29:35 UTC (rev 29853)
+++ trunk/bibdesk/BDSKSmartGroup.h 2025-11-19 17:14:57 UTC (rev 29854)
@@ -44,7 +44,7 @@
@class BDSKFilter, BibDocument;
@protocol BDSKSmartGroup <BDSKMutableGroup>
-@property (nonatomic, nullable, readonly) BDSKFilter *filter;
+@property (nonatomic, readonly) BDSKFilter *filter;
@property (nonatomic, nullable, readonly) BibDocument *document;
@end
Modified: trunk/bibdesk/BDSKTemplate.h
===================================================================
--- trunk/bibdesk/BDSKTemplate.h 2025-11-19 16:29:35 UTC (rev 29853)
+++ trunk/bibdesk/BDSKTemplate.h 2025-11-19 17:14:57 UTC (rev 29854)
@@ -76,8 +76,8 @@
+ (NSString *)unlocalizedRoleString:(NSString *)string;
// all templates
-@property (class, nonatomic, nullable, copy) NSArray *exportTemplates;
-@property (class, nonatomic, nullable, copy) NSArray *serviceTemplates;
+@property (class, nonatomic, null_resettable, copy) NSArray *exportTemplates;
+@property (class, nonatomic, null_resettable, copy) NSArray *serviceTemplates;
// known export style names
@property (class, nonatomic, readonly) NSArray *allStyleNames;
Modified: trunk/bibdesk/BibDocument.h
===================================================================
--- trunk/bibdesk/BibDocument.h 2025-11-19 16:29:35 UTC (rev 29853)
+++ trunk/bibdesk/BibDocument.h 2025-11-19 17:14:57 UTC (rev 29854)
@@ -383,7 +383,7 @@
- (id)valueForUndefinedKey:(NSString *)key;
- (NSString *)documentInfoString;
-@property (nonatomic, nullable, readonly) BDSKMacroResolver *macroResolver;
+@property (nonatomic, readonly) BDSKMacroResolver *macroResolver;
- (void)importPublications:(NSArray *)newPubs publicationsToAutoFile:(nullable
NSArray *)pubsToAutoFile options:(BDSKImportOptions)options;
- (void)importPublications:(NSArray *)newPubs
options:(BDSKImportOptions)options;
Modified: trunk/bibdesk/NSData_BDSKExtensions.h
===================================================================
--- trunk/bibdesk/NSData_BDSKExtensions.h 2025-11-19 16:29:35 UTC (rev
29853)
+++ trunk/bibdesk/NSData_BDSKExtensions.h 2025-11-19 17:14:57 UTC (rev
29854)
@@ -64,8 +64,8 @@
@property (nonatomic, readonly) NSString *hexString;
@property (nonatomic, readonly) BOOL mightBeCompressed;
-@property (nonatomic, nullable, readonly) NSData *compressedData;
-@property (nonatomic, nullable, readonly) NSData *decompressedData;
+@property (nonatomic, readonly) NSData *compressedData;
+@property (nonatomic, readonly) NSData *decompressedData;
+ (NSData *)scriptingRtfWithDescriptor:(NSAppleEventDescriptor *)descriptor;
@property (nonatomic, readonly) id scriptingRtfDescriptor;
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