Revision: 28493
http://sourceforge.net/p/bibdesk/svn/28493
Author: hofman
Date: 2023-12-31 16:32:01 +0000 (Sun, 31 Dec 2023)
Log Message:
-----------
use weak and strong
Modified Paths:
--------------
trunk/bibdesk/BDSKAddressTextField.h
trunk/bibdesk/BDSKAsynchronousWebParser.h
trunk/bibdesk/BDSKBookmark+Scripting.h
trunk/bibdesk/BDSKBookmark.h
trunk/bibdesk/BDSKBookmarkSheetController.h
trunk/bibdesk/BDSKButtonBar.h
trunk/bibdesk/BDSKCategoryGroup.h
trunk/bibdesk/BDSKCitationFormatter.h
trunk/bibdesk/BDSKColorRowView.h
trunk/bibdesk/BDSKColoredView.h
trunk/bibdesk/BDSKComplexString.m
trunk/bibdesk/BDSKCondition.h
trunk/bibdesk/BDSKConditionController.h
trunk/bibdesk/BDSKControlTableCellView.h
trunk/bibdesk/BDSKCustomCiteDrawerController.h
trunk/bibdesk/BDSKDBLPGroupServer.h
trunk/bibdesk/BDSKDocumentSearch.h
trunk/bibdesk/BDSKDownloader.h
trunk/bibdesk/BDSKDragImageView.h
trunk/bibdesk/BDSKEdgeView.h
trunk/bibdesk/BDSKEdgeView.m
trunk/bibdesk/BDSKEditor.h
trunk/bibdesk/BDSKEditorTextField.h
trunk/bibdesk/BDSKEntrezGroupServer.h
trunk/bibdesk/BDSKErrorEditor.h
trunk/bibdesk/BDSKErrorManager.h
trunk/bibdesk/BDSKErrorObject.h
trunk/bibdesk/BDSKErrorObjectController.h
trunk/bibdesk/BDSKExternalGroup.h
trunk/bibdesk/BDSKField.h
trunk/bibdesk/BDSKFieldCollection.h
trunk/bibdesk/BDSKFieldSheetController.h
trunk/bibdesk/BDSKFileContentSearchController.h
trunk/bibdesk/BDSKFileSearch.h
trunk/bibdesk/BDSKFileSearchIndex.h
trunk/bibdesk/BDSKFilter.h
trunk/bibdesk/BDSKFindController.h
trunk/bibdesk/BDSKFontWell.h
trunk/bibdesk/BDSKGroup+Scripting.h
trunk/bibdesk/BDSKGroup.h
trunk/bibdesk/BDSKGroupCellView.h
trunk/bibdesk/BDSKGroupsArray.h
trunk/bibdesk/BDSKIBArray.h
trunk/bibdesk/BDSKISIGroupServer.h
trunk/bibdesk/BDSKInfo.h
trunk/bibdesk/BDSKItemDownload.h
trunk/bibdesk/BDSKItemPasteboardHelper.h
trunk/bibdesk/BDSKLinkedFile.h
trunk/bibdesk/BDSKLinkedFile.m
trunk/bibdesk/BDSKMacro.h
trunk/bibdesk/BDSKMacroResolver.h
trunk/bibdesk/BDSKNotesSearchIndex.h
trunk/bibdesk/BDSKOpenAccessoryViewController.h
trunk/bibdesk/BDSKOrphanedFilesFinder.h
trunk/bibdesk/BDSKOutlineView.h
trunk/bibdesk/BDSKParentGroup.h
trunk/bibdesk/BDSKPersonController.h
trunk/bibdesk/BDSKPreferenceController.h
trunk/bibdesk/BDSKPreferencePane.h
trunk/bibdesk/BDSKResizeView.h
trunk/bibdesk/BDSKSaveAccessoryViewController.h
trunk/bibdesk/BDSKScriptGroup.h
trunk/bibdesk/BDSKScriptGroupSheetController.h
trunk/bibdesk/BDSKScriptHook.h
trunk/bibdesk/BDSKSearchBookmark.h
trunk/bibdesk/BDSKSearchGroupSheetController.h
trunk/bibdesk/BDSKSearchGroupViewController.h
trunk/bibdesk/BDSKSharingClient.m
trunk/bibdesk/BDSKSharingServer.m
trunk/bibdesk/BDSKSmartGroup.h
trunk/bibdesk/BDSKSoapBinding.h
trunk/bibdesk/BDSKStatusBar.h
trunk/bibdesk/BDSKStringEncodingManager.h
trunk/bibdesk/BDSKTableView.h
trunk/bibdesk/BDSKTeXTask.h
trunk/bibdesk/BDSKTemplate.h
trunk/bibdesk/BDSKTemplateDocument.h
trunk/bibdesk/BDSKTemplateTag.h
trunk/bibdesk/BDSKTextImportController.h
trunk/bibdesk/BDSKTextViewCompletionController.h
trunk/bibdesk/BDSKTextViewCompletionController.m
trunk/bibdesk/BDSKTextWithIconCell.h
trunk/bibdesk/BDSKToken.h
trunk/bibdesk/BDSKTreeNode.h
trunk/bibdesk/BDSKTypeInfoEditor.h
trunk/bibdesk/BDSKTypeSelectHelper.h
trunk/bibdesk/BDSKTypeTemplate.h
trunk/bibdesk/BDSKURLGroup.h
trunk/bibdesk/BDSKURLGroupSheetController.h
trunk/bibdesk/BDSKURLSheetController.h
trunk/bibdesk/BDSKUndoManager.h
trunk/bibdesk/BDSKWebGroup.h
trunk/bibdesk/BDSKWebGroupViewController.h
trunk/bibdesk/BDSKWebParser.h
trunk/bibdesk/BDSKWebView.h
trunk/bibdesk/BDSKWebView.m
trunk/bibdesk/BDSKWrappingView.h
trunk/bibdesk/BDSKZoomGroupServer.h
trunk/bibdesk/BibAuthor.h
trunk/bibdesk/BibDocument.m
trunk/bibdesk/BibDocument_Search.h
trunk/bibdesk/BibItem+Scripting.h
trunk/bibdesk/BibItem.h
trunk/bibdesk/BibItem.m
trunk/bibdesk/BibPref_ScriptHooks.h
trunk/bibdesk/Configurations/BibDesk-Common.xcconfig
trunk/bibdesk/WOKMWSAuthenticateService.h
trunk/bibdesk/WokSearchLiteService.h
trunk/bibdesk/WokSearchService.h
Modified: trunk/bibdesk/BDSKAddressTextField.h
===================================================================
--- trunk/bibdesk/BDSKAddressTextField.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKAddressTextField.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -48,7 +48,7 @@
@property (nonatomic, readonly) NSButton *button;
@property (nonatomic, readonly) NSImageView *imageView;
-@property (nonatomic, retain) NSURL *URL;
+@property (nonatomic, strong) NSURL *URL;
@property (nonatomic, readonly) NSArray *subcontrols;
Modified: trunk/bibdesk/BDSKAsynchronousWebParser.h
===================================================================
--- trunk/bibdesk/BDSKAsynchronousWebParser.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKAsynchronousWebParser.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -82,7 +82,7 @@
@interface BDSKCitationDownload : NSObject {
BDSKDownload *download;
- id<BDSKCitationDownloadDelegate> delegate;
+ __weak id<BDSKCitationDownloadDelegate> delegate;
NSURLRequest *request;
NSError *error;
id contextInfo;
Modified: trunk/bibdesk/BDSKBookmark+Scripting.h
===================================================================
--- trunk/bibdesk/BDSKBookmark+Scripting.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKBookmark+Scripting.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -41,7 +41,7 @@
@interface BDSKBookmark (Scripting)
-@property (nonatomic, retain) NSString *scriptingURL;
+@property (nonatomic, strong) NSString *scriptingURL;
@property (nonatomic, readonly) BDSKBookmark *scriptingParent;
Modified: trunk/bibdesk/BDSKBookmark.h
===================================================================
--- trunk/bibdesk/BDSKBookmark.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKBookmark.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -45,7 +45,7 @@
};
@interface BDSKBookmark : NSObject <NSCopying> {
- BDSKBookmark *parent;
+ __weak BDSKBookmark *parent;
}
+ (id)bookmarkWithURL:(NSURL *)aURL name:(NSString *)aName;
@@ -63,12 +63,12 @@
@property (nonatomic, readonly) BDSKBookmarkType bookmarkType;
-@property (nonatomic, retain) NSURL *URL;
-@property (nonatomic, retain) NSString *name;
+@property (nonatomic, strong) NSURL *URL;
+@property (nonatomic, strong) NSString *name;
@property (nonatomic, readonly) NSImage *icon;
-@property (nonatomic, retain) NSString *URLDescription;
+@property (nonatomic, strong) NSString *URLDescription;
-@property (nonatomic, assign) BDSKBookmark *parent;
+@property (nonatomic, weak) BDSKBookmark *parent;
- (NSArray *)children;
- (NSUInteger)countOfChildren;
Modified: trunk/bibdesk/BDSKBookmarkSheetController.h
===================================================================
--- trunk/bibdesk/BDSKBookmarkSheetController.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKBookmarkSheetController.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -51,7 +51,7 @@
@property (nonatomic, assign) IBOutlet NSButton *okButton;
@property (nonatomic, assign) IBOutlet NSButton *cancelButton;
-@property (nonatomic, retain) NSString *stringValue;
+@property (nonatomic, strong) NSString *stringValue;
@property (nonatomic, readonly) NSPopUpButton *folderPopUpButton;
Modified: trunk/bibdesk/BDSKButtonBar.h
===================================================================
--- trunk/bibdesk/BDSKButtonBar.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKButtonBar.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -48,11 +48,11 @@
NSButton *removeButton;
BOOL hasAddButton, hasRemoveButton;
BDSKImagePopUpButton *overflowButton;
- id target;
+ __weak id target;
SEL action, addAction, removeAction;
}
-@property (nonatomic, assign) id target;
+@property (nonatomic, weak) id target;
@property (nonatomic) SEL action, addAction, removeAction;
@property (nonatomic) BOOL hasAddButton, hasRemoveButton;
@@ -62,6 +62,6 @@
- (void)addButtonWithIdentifier:(NSString *)identifier title:(NSString *)title;
- (void)removeButtonWithIdentifier:(NSString *)identifier reuse:(BOOL)reuse;
-@property (nonatomic, assign) NSString *selectedIdentifier;
+@property (nonatomic, weak) NSString *selectedIdentifier;
@end
Modified: trunk/bibdesk/BDSKCategoryGroup.h
===================================================================
--- trunk/bibdesk/BDSKCategoryGroup.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKCategoryGroup.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -55,7 +55,7 @@
@property (nonatomic, readonly) NSString *key;
-@property (nonatomic, retain) id name;
+@property (nonatomic, strong) id name;
@property (nonatomic, readonly, getter=isEmpty) BOOL empty;
Modified: trunk/bibdesk/BDSKCitationFormatter.h
===================================================================
--- trunk/bibdesk/BDSKCitationFormatter.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKCitationFormatter.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -47,11 +47,11 @@
@interface BDSKCitationFormatter : NSFormatter {
- id delegate;
+ __weak id delegate;
}
- (id)initWithDelegate:(id<BDSKCitationFormatterDelegate>)aDelegate;
-@property (nonatomic, assign) id<BDSKCitationFormatterDelegate> delegate;
+@property (nonatomic, weak) id<BDSKCitationFormatterDelegate> delegate;
@end
Modified: trunk/bibdesk/BDSKColorRowView.h
===================================================================
--- trunk/bibdesk/BDSKColorRowView.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKColorRowView.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -43,6 +43,6 @@
NSColor *color;
}
-@property (nonatomic, retain) NSColor *color;
+@property (nonatomic, strong) NSColor *color;
@end
Modified: trunk/bibdesk/BDSKColoredView.h
===================================================================
--- trunk/bibdesk/BDSKColoredView.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKColoredView.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -43,6 +43,6 @@
NSColor *backgroundColor;
}
-@property (nonatomic, retain) NSColor *backgroundColor;
+@property (nonatomic, strong) NSColor *backgroundColor;
@end
Modified: trunk/bibdesk/BDSKComplexString.m
===================================================================
--- trunk/bibdesk/BDSKComplexString.m 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKComplexString.m 2023-12-31 16:32:01 UTC (rev 28493)
@@ -58,7 +58,7 @@
@interface BDSKComplexString : NSString {
NSArray *nodes; /* an array of BDSKStringNodes. */
- BDSKMacroResolver *macroResolver;
+ __weak BDSKMacroResolver *macroResolver;
BOOL isComplex;
BOOL isInherited;
Modified: trunk/bibdesk/BDSKCondition.h
===================================================================
--- trunk/bibdesk/BDSKCondition.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKCondition.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -108,7 +108,7 @@
NSDate *dateValue;
NSDate *toDateValue;
BibAuthor *authorValue;
- id<BDSKSmartGroup> group;
+ __weak id<BDSKSmartGroup> group;
NSDate *cachedStartDate;
NSDate *cachedEndDate;
NSTimer *cacheTimer;
@@ -123,13 +123,13 @@
- (BOOL)isSatisfiedByItem:(BibItem *)item;
// Generic accessors
-@property (nonatomic, retain) NSString *key;
-@property (nonatomic, retain) NSString *value;
+@property (nonatomic, strong) NSString *key;
+@property (nonatomic, strong) NSString *value;
@property (nonatomic) NSInteger comparison;
// String accessors
@property (nonatomic) BDSKStringComparison stringComparison;
-@property (nonatomic, retain) NSString *stringValue;
+@property (nonatomic, strong) NSString *stringValue;
// Count accessors
@property (nonatomic) BDSKAttachmentComparison attachmentComparison;
@@ -140,8 +140,8 @@
@property (nonatomic) NSInteger numberValue;
@property (nonatomic) NSInteger andNumberValue;
@property (nonatomic) BDSKPeriod periodValue;
-@property (nonatomic, retain) NSDate *dateValue;
-@property (nonatomic, retain) NSDate *toDateValue;
+@property (nonatomic, strong) NSDate *dateValue;
+@property (nonatomic, strong) NSDate *toDateValue;
- (void)setDefaultComparison;
- (void)setDefaultValue;
@@ -150,7 +150,7 @@
@property (nonatomic, readonly, getter=isAttachmentCondition) BOOL
attachmentCondition;
@property (nonatomic, readonly, getter=isStringCondition) BOOL stringCondition;
-@property (nonatomic, assign) id<BDSKSmartGroup> group;
+@property (nonatomic, weak) id<BDSKSmartGroup> group;
@end
Modified: trunk/bibdesk/BDSKConditionController.h
===================================================================
--- trunk/bibdesk/BDSKConditionController.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKConditionController.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -68,7 +68,7 @@
NSLayoutConstraint *valueWidthConstraint;
NSLayoutConstraint *stringvalueWidthConstraint;
NSArray *retainedViews;
- BDSKFilterController *filterController;
+ __weak BDSKFilterController *filterController;
NSArray *keys;
BOOL isObserving;
}
@@ -102,7 +102,7 @@
- (IBAction)changeRating:(id)sender;
-@property (nonatomic, assign) BDSKFilterController *filterController;
+@property (nonatomic, weak) BDSKFilterController *filterController;
@property (nonatomic, readonly) BDSKCondition *condition;
Modified: trunk/bibdesk/BDSKControlTableCellView.h
===================================================================
--- trunk/bibdesk/BDSKControlTableCellView.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKControlTableCellView.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -40,9 +40,9 @@
@interface BDSKControlTableCellView : NSTableCellView {
- NSControl *control;
+ __weak NSControl *control;
}
-@property (nonatomic, assign) IBOutlet NSControl *control;
+@property (nonatomic, weak) IBOutlet NSControl *control;
@end
Modified: trunk/bibdesk/BDSKCustomCiteDrawerController.h
===================================================================
--- trunk/bibdesk/BDSKCustomCiteDrawerController.h 2023-12-31 16:31:37 UTC
(rev 28492)
+++ trunk/bibdesk/BDSKCustomCiteDrawerController.h 2023-12-31 16:32:01 UTC
(rev 28493)
@@ -41,7 +41,7 @@
@interface BDSKCustomCiteDrawerController : NSViewController
<NSTableViewDelegate, NSTableViewDataSource, NSMenuDelegate> {
NSTableView *tableView;
- BibDocument *document;
+ __weak BibDocument *document;
NSMutableArray *customStringArray;
}
Modified: trunk/bibdesk/BDSKDBLPGroupServer.h
===================================================================
--- trunk/bibdesk/BDSKDBLPGroupServer.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKDBLPGroupServer.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -44,7 +44,7 @@
@interface BDSKDBLPGroupServer : NSObject <BDSKSearchGroupServer,
BDSKDownloadDelegate>
{
- id<BDSKSearchGroup> group;
+ __weak id<BDSKSearchGroup> group;
BDSKServerInfo *serverInfo;
NSInteger availableResults;
NSInteger fetchedResults;
Modified: trunk/bibdesk/BDSKDocumentSearch.h
===================================================================
--- trunk/bibdesk/BDSKDocumentSearch.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKDocumentSearch.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -44,7 +44,7 @@
@interface BDSKDocumentSearch : NSObject {
@private;
SKSearchRef search;
- id<BDSKDocumentSearchDelegate> delegate;
+ __weak id<BDSKDocumentSearchDelegate> delegate;
_Atomic(BOOL) isSearching;
BOOL shouldStop;
NSString *currentSearchString;
Modified: trunk/bibdesk/BDSKDownloader.h
===================================================================
--- trunk/bibdesk/BDSKDownloader.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKDownloader.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -65,10 +65,10 @@
BOOL receivedExpectedBytes;
}
-@property (nonatomic, retain) id <BDSKDownloadDelegate> delegate;
-@property (nonatomic, retain) NSURLSessionTask *task;
+@property (nonatomic, strong) id <BDSKDownloadDelegate> delegate;
+@property (nonatomic, strong) NSURLSessionTask *task;
@property (nonatomic, readonly) NSURLResponse *response;
-@property (nonatomic, retain) NSMutableData *data;
+@property (nonatomic, strong) NSMutableData *data;
@property (nonatomic) BOOL receivedExpectedBytes;
- (void)cancel;
Modified: trunk/bibdesk/BDSKDragImageView.h
===================================================================
--- trunk/bibdesk/BDSKDragImageView.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKDragImageView.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -50,12 +50,12 @@
@interface BDSKDragImageView : NSImageView {
- id<BDSKDragImageViewDelegate> delegate;
+ __weak id<BDSKDragImageViewDelegate> delegate;
BOOL highlighted;
NSDragOperation draggingsourceOperationMask,
localDraggingsourceOperationMask;
}
-@property (nonatomic, assign) id<BDSKDragImageViewDelegate> delegate;
+@property (nonatomic, weak) id<BDSKDragImageViewDelegate> delegate;
- (void)setDraggingSourceOperationMask:(NSDragOperation)mask
forLocal:(BOOL)isLocal;
Modified: trunk/bibdesk/BDSKEdgeView.h
===================================================================
--- trunk/bibdesk/BDSKEdgeView.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKEdgeView.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -59,11 +59,11 @@
NSInteger tag;
}
-@property (nonatomic, retain) id contentView;
+@property (nonatomic, strong) id contentView;
@property (nonatomic, readonly) NSRect contentRect;
-@property (nonatomic, retain) NSView *backgroundView;
+@property (nonatomic, strong) NSView *backgroundView;
@property (nonatomic) BDSKRectEdgeMask edges;
Modified: trunk/bibdesk/BDSKEdgeView.m
===================================================================
--- trunk/bibdesk/BDSKEdgeView.m 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKEdgeView.m 2023-12-31 16:32:01 UTC (rev 28493)
@@ -53,7 +53,7 @@
@interface BDSKReflectionView : NSView {
NSScrollView *reflectedScrollView;
}
-@property (nonatomic, retain) NSScrollView *reflectedScrollView;
+@property (nonatomic, strong) NSScrollView *reflectedScrollView;
@end
#pragma mark -
Modified: trunk/bibdesk/BDSKEditor.h
===================================================================
--- trunk/bibdesk/BDSKEditor.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKEditor.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -154,7 +154,7 @@
- (IBAction)editSelectedFieldAsRawBibTeX:(id)sender;
-@property (nonatomic, retain) NSString *status;
+@property (nonatomic, strong) NSString *status;
- (IBAction)openLinkedFile:(id)sender;
@@ -200,7 +200,7 @@
- (IBAction)duplicateTitleToBooktitle:(id)sender;
-@property (nonatomic, retain) NSString *keyField;
+@property (nonatomic, strong) NSString *keyField;
- (IBAction)selectCrossrefParentAction:(id)sender;
- (IBAction)createNewPubUsingCrossrefAction:(id)sender;
@@ -229,9 +229,9 @@
@interface BDSKEditorCollectionViewItem : NSCollectionViewItem {
- NSButton *button;
+ __weak NSButton *button;
}
-@property (nonatomic, assign) NSButton *button;
+@property (nonatomic, weak) NSButton *button;
@end
Modified: trunk/bibdesk/BDSKEditorTextField.h
===================================================================
--- trunk/bibdesk/BDSKEditorTextField.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKEditorTextField.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -47,7 +47,7 @@
SEL buttonAction;
}
@property (nonatomic) SEL buttonAction;
-@property (nonatomic, retain) id representedObject;
+@property (nonatomic, strong) id representedObject;
@end
Modified: trunk/bibdesk/BDSKEntrezGroupServer.h
===================================================================
--- trunk/bibdesk/BDSKEntrezGroupServer.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKEntrezGroupServer.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -44,7 +44,7 @@
@interface BDSKEntrezGroupServer : NSObject <BDSKSearchGroupServer,
BDSKDownloadDelegate>
{
- id<BDSKSearchGroup> group;
+ __weak id<BDSKSearchGroup> group;
BDSKServerInfo *serverInfo;
NSString *searchTerm;
NSString *webEnv; // cookie-like data returned by PubMed
Modified: trunk/bibdesk/BDSKErrorEditor.h
===================================================================
--- trunk/bibdesk/BDSKErrorEditor.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKErrorEditor.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -46,7 +46,7 @@
NSButton *reopenButton;
NSButton *reloadButton;
NSTextField *lineNumberField;
- BDSKErrorManager *manager;
+ __weak BDSKErrorManager *manager;
NSArray *errors;
NSURL *fileURL;
NSString *displayName;
@@ -71,11 +71,11 @@
@property (nonatomic, assign) IBOutlet NSTextField *lineNumberField;
-@property (nonatomic, retain) BDSKErrorManager *manager;
+@property (nonatomic, weak) BDSKErrorManager *manager;
@property (nonatomic, copy) NSArray *errors;
-@property (nonatomic, retain) NSURL *fileURL;
+@property (nonatomic, strong) NSURL *fileURL;
@property (nonatomic, readonly) NSString *displayName;
@property (nonatomic, readonly) NSData *pasteDragData;
@property (nonatomic, readonly, getter=isPasteDrag) BOOL pasteDrag;
Modified: trunk/bibdesk/BDSKErrorManager.h
===================================================================
--- trunk/bibdesk/BDSKErrorManager.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKErrorManager.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -41,7 +41,7 @@
@class BDSKErrorObjectController, BDSKErrorObject, BDSKErrorEditor,
BibDocument;
@interface BDSKErrorManager : NSObject {
- BDSKErrorObjectController *errorController;
+ __weak BDSKErrorObjectController *errorController;
BibDocument *document;
NSMutableArray *editors;
BDSKErrorEditor *mainEditor;
@@ -54,12 +54,12 @@
- (id)initWithDocument:(BibDocument *)aDocument;
-@property (nonatomic, assign) BDSKErrorObjectController *errorController;
+@property (nonatomic, weak) BDSKErrorObjectController *errorController;
-@property (nonatomic, retain) BibDocument *sourceDocument;
+@property (nonatomic, strong) BibDocument *sourceDocument;
@property (nonatomic, readonly) NSInteger uniqueNumber;
-@property (nonatomic, retain) NSString *documentDisplayName;
+@property (nonatomic, strong) NSString *documentDisplayName;
@property (nonatomic, readonly) NSString *displayName;
@property (nonatomic, readonly) NSStringEncoding documentStringEncoding;
Modified: trunk/bibdesk/BDSKErrorObject.h
===================================================================
--- trunk/bibdesk/BDSKErrorObject.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKErrorObject.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -62,7 +62,7 @@
@property (nonatomic, readonly) NSString *errorClassName;
@property (nonatomic, readonly) NSString *errorMessage;
@property (nonatomic, readonly, getter=isIgnorableWarning) BOOL
ignorableWarning;
-@property (nonatomic, retain) BDSKErrorEditor *editor;
-@property (nonatomic, retain) BibItem *publication;
+@property (nonatomic, strong) BDSKErrorEditor *editor;
+@property (nonatomic, strong) BibItem *publication;
@end
Modified: trunk/bibdesk/BDSKErrorObjectController.h
===================================================================
--- trunk/bibdesk/BDSKErrorObjectController.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKErrorObjectController.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -76,7 +76,7 @@
- (void)addManager:(BDSKErrorManager *)manager;
- (void)removeManager:(BDSKErrorManager *)manager;
-@property (nonatomic, retain) BDSKErrorManager *filterManager;
+@property (nonatomic, strong) BDSKErrorManager *filterManager;
@property (nonatomic) BOOL hideWarnings;
// called from the tableView doubleclick
Modified: trunk/bibdesk/BDSKExternalGroup.h
===================================================================
--- trunk/bibdesk/BDSKExternalGroup.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKExternalGroup.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -79,6 +79,6 @@
NSString *errorMessage;
}
-@property (nonatomic, retain) NSString *errorMessage;
+@property (nonatomic, strong) NSString *errorMessage;
@end
Modified: trunk/bibdesk/BDSKField.h
===================================================================
--- trunk/bibdesk/BDSKField.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKField.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -42,7 +42,7 @@
@interface BDSKField : NSObject {
NSString *name;
- BibItem *bibItem;
+ __weak BibItem *bibItem;
}
- (id)initWithName:(NSString *)newName bibItem:(BibItem *)newBibItem;
@@ -49,7 +49,7 @@
@property (nonatomic, readonly) NSString *name;
-@property (nonatomic, retain) NSString *value;
+@property (nonatomic, strong) NSString *value;
@property (nonatomic, readonly) BibItem *publication;
@@ -61,7 +61,7 @@
@property (nonatomic, copy) NSURL *fileURLValue;
-@property (nonatomic, retain) NSString *relativePathValue;
+@property (nonatomic, strong) NSString *relativePathValue;
@property (nonatomic, readonly, getter=isInherited) BOOL inherited;
Modified: trunk/bibdesk/BDSKFieldCollection.h
===================================================================
--- trunk/bibdesk/BDSKFieldCollection.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKFieldCollection.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -50,7 +50,7 @@
@class BibItem;
@interface BDSKFieldCollection : NSObject {
- BibItem *item;
+ __weak BibItem *item;
NSMutableSet *usedFields;
BDSKFieldCollectionType type;
}
Modified: trunk/bibdesk/BDSKFieldSheetController.h
===================================================================
--- trunk/bibdesk/BDSKFieldSheetController.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKFieldSheetController.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -69,15 +69,15 @@
@property (nonatomic, assign) IBOutlet NSButton *defaultButton;
@property (nonatomic, assign) IBOutlet NSButton *cancelButton;
-@property (nonatomic, retain) NSString *selectedField;
-@property (nonatomic, retain) NSString *selectedFieldLabel;
+@property (nonatomic, strong) NSString *selectedField;
+@property (nonatomic, strong) NSString *selectedFieldLabel;
@property (nonatomic, copy) NSArray *selectableFields;
-@property (nonatomic, retain) NSString *chosenField;
-@property (nonatomic, retain) NSString *chosenFieldLabel;
+@property (nonatomic, strong) NSString *chosenField;
+@property (nonatomic, strong) NSString *chosenFieldLabel;
@property (nonatomic, copy) NSArray *choosableFields;
-@property (nonatomic, retain) NSString *defaultButtonTitle;
-@property (nonatomic, retain) NSString *cancelButtonTitle;
+@property (nonatomic, strong) NSString *defaultButtonTitle;
+@property (nonatomic, strong) NSString *cancelButtonTitle;
@end
Modified: trunk/bibdesk/BDSKFileContentSearchController.h
===================================================================
--- trunk/bibdesk/BDSKFileContentSearchController.h 2023-12-31 16:31:37 UTC
(rev 28492)
+++ trunk/bibdesk/BDSKFileContentSearchController.h 2023-12-31 16:32:01 UTC
(rev 28493)
@@ -65,7 +65,7 @@
BDSKFileSearch *search;
BDSKFileSearchIndex *searchIndex;
- id <BDSKFileContentSearchControllerDelegate> delegate;
+ __weak id <BDSKFileContentSearchControllerDelegate> delegate;
BDSKSelectionPreservingArrayController *resultsArrayController;
BDSKTableView *tableView;
@@ -81,15 +81,15 @@
@property (nonatomic, assign) IBOutlet BDSKSelectionPreservingArrayController
*resultsArrayController;
@property (nonatomic, assign) IBOutlet BDSKTableView *tableView;
-@property (nonatomic, retain) IBOutlet BDSKEdgeView *controlView;
+@property (nonatomic, strong) IBOutlet BDSKEdgeView *controlView;
@property (nonatomic, assign) IBOutlet NSProgressIndicator *indexProgressBar;
@property (nonatomic, assign) IBOutlet NSTextField *statusField;
-@property (nonatomic, assign) id<BDSKFileContentSearchControllerDelegate>
delegate;
+@property (nonatomic, weak) id<BDSKFileContentSearchControllerDelegate>
delegate;
// Use this to connect a search field and initiate a search
-@property (nonatomic, retain) NSSearchField *searchField;
+@property (nonatomic, strong) NSSearchField *searchField;
@property (nonatomic, copy) NSArray *savedRecentSearches;
@property (nonatomic, readonly) BOOL shouldShowControlView;
Modified: trunk/bibdesk/BDSKFileSearch.h
===================================================================
--- trunk/bibdesk/BDSKFileSearch.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKFileSearch.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -65,7 +65,7 @@
SKSearchOptions options;
BDSKSearchPrivateIvars *data;
- id<BDSKSearchDelegate> delegate;
+ __weak id<BDSKSearchDelegate> delegate;
}
/*
@@ -116,7 +116,7 @@
// primary entry point for searching; starts the search, which will send
delegate messages
- (void)searchForString:(NSString *)aString withOptions:(SKSearchOptions)opts;
-@property (nonatomic, assign) id <BDSKSearchDelegate> delegate;
+@property (nonatomic, weak) id <BDSKSearchDelegate> delegate;
// cancels the current search; shouldn't be any further update messages until
another search is performed
- (void)cancel;
Modified: trunk/bibdesk/BDSKFileSearchIndex.h
===================================================================
--- trunk/bibdesk/BDSKFileSearchIndex.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKFileSearchIndex.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -71,7 +71,7 @@
NSMapTable *URLsForIdentifierURLs;
NSMapTable *identifierURLsForURLs;
NSMutableDictionary *signatures;
- id<BDSKFileSearchIndexDelegate> delegate;
+ __weak id<BDSKFileSearchIndexDelegate> delegate;
BDSKReadWriteLock *rwLock;
@@ -96,7 +96,7 @@
@property (readonly) BDSKSearchIndexStatus status;
-@property (nonatomic, assign) id <BDSKFileSearchIndexDelegate> delegate;
+@property (nonatomic, weak) id <BDSKFileSearchIndexDelegate> delegate;
- (NSSet *)identifierURLsForURL:(NSURL *)theURL;
Modified: trunk/bibdesk/BDSKFilter.h
===================================================================
--- trunk/bibdesk/BDSKFilter.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKFilter.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -49,7 +49,7 @@
@interface BDSKFilter : NSObject <NSCopying, NSCoding> {
NSMutableArray *conditions;
BDSKConjunction conjunction;
- id<BDSKSmartGroup> group;
+ __weak id<BDSKSmartGroup> group;
NSUndoManager *undoManager;
}
@@ -60,10 +60,10 @@
- (BOOL)testItem:(BibItem *)item;
-@property (nonatomic, retain) NSArray *conditions;
+@property (nonatomic, strong) NSArray *conditions;
@property (nonatomic) BDSKConjunction conjunction;
-@property (nonatomic, assign) id<BDSKSmartGroup> group;
+@property (nonatomic, weak) id<BDSKSmartGroup> group;
@property (nonatomic, readonly) NSUndoManager *undoManager;
Modified: trunk/bibdesk/BDSKFindController.h
===================================================================
--- trunk/bibdesk/BDSKFindController.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKFindController.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -163,9 +163,9 @@
- (IBAction)openHelp:(id)sender;
@property (nonatomic) BDSKSearchOperation operation;
-@property (nonatomic, retain) NSString *field;
-@property (nonatomic, retain) NSString *findString;
-@property (nonatomic, retain) NSString *replaceString;
+@property (nonatomic, strong) NSString *field;
+@property (nonatomic, strong) NSString *findString;
+@property (nonatomic, strong) NSString *replaceString;
@property (nonatomic) BDSKSearchType searchType;
@property (nonatomic) BDSKSearchScope searchScope;
@property (nonatomic) BOOL ignoreCase;
@@ -174,8 +174,8 @@
@property (nonatomic) BOOL findAsMacro;
@property (nonatomic) BOOL replaceAsMacro;
@property (nonatomic) BOOL shouldSetWhenEmpty;
-@property (nonatomic, retain) NSString *replaceAllTooltip;
-@property (nonatomic, retain) NSString *replaceLabel;
+@property (nonatomic, strong) NSString *replaceAllTooltip;
+@property (nonatomic, strong) NSString *replaceLabel;
- (BOOL)validateField:(id *)value error:(NSError **)error;
- (BOOL)validateFindString:(id *)value error:(NSError **)error;
Modified: trunk/bibdesk/BDSKFontWell.h
===================================================================
--- trunk/bibdesk/BDSKFontWell.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKFontWell.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -40,7 +40,7 @@
@interface BDSKFontWell : NSButton {
- id target;
+ __weak id target;
SEL action;
}
@@ -49,7 +49,7 @@
@property (nonatomic, readonly, getter=isActive) BOOL active;
-@property (nonatomic, retain) NSString *fontName;
+@property (nonatomic, strong) NSString *fontName;
@property (nonatomic) CGFloat fontSize;
- (void)changeFontFromFontManager:(id)sender;
Modified: trunk/bibdesk/BDSKGroup+Scripting.h
===================================================================
--- trunk/bibdesk/BDSKGroup+Scripting.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKGroup+Scripting.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -86,7 +86,7 @@
@interface BDSKMutableGroup (Scripting)
-@property (nonatomic, retain) NSString *name;
+@property (nonatomic, strong) NSString *name;
@end
@@ -136,7 +136,7 @@
@property (nonatomic, copy) NSString *URLString;
-@property (nonatomic, retain) NSURL *scriptingFileURL;
+@property (nonatomic, strong) NSURL *scriptingFileURL;
@end
@@ -144,7 +144,7 @@
@interface BDSKScriptGroup (Scripting)
-@property (nonatomic, retain) NSURL *scriptURL;
+@property (nonatomic, strong) NSURL *scriptURL;
@property (nonatomic, readonly) NSString *scriptingScriptArguments;
@@ -154,7 +154,7 @@
@interface BDSKSearchGroup (Scripting)
-@property (nonatomic, retain) NSString *scriptingSearchTerm;
+@property (nonatomic, strong) NSString *scriptingSearchTerm;
@property (nonatomic, copy) NSDictionary *scriptingServerInfo;
Modified: trunk/bibdesk/BDSKGroup.h
===================================================================
--- trunk/bibdesk/BDSKGroup.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKGroup.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -68,8 +68,8 @@
@interface BDSKGroup : NSObject <NSCopying, NSCoding> {
id name;
NSInteger count;
- BDSKParentGroup *parent;
- BibDocument *document;
+ __weak BDSKParentGroup *parent;
+ __weak BibDocument *document;
NSString *uniqueID;
}
@@ -105,9 +105,9 @@
@property (nonatomic, readonly) NSString *errorMessage;
-@property (nonatomic, assign) BDSKParentGroup *parent;
+@property (nonatomic, weak) BDSKParentGroup *parent;
-@property (nonatomic, assign) BibDocument *document;
+@property (nonatomic, weak) BibDocument *document;
@property (nonatomic, readonly) BDSKMacroResolver *macroResolver;
@@ -120,7 +120,7 @@
@protocol BDSKMutableGroup <NSObject>
-@property (nonatomic, retain) id name;
+@property (nonatomic, strong) id name;
@property (nonatomic, readonly) NSUndoManager *undoManager;
@end
Modified: trunk/bibdesk/BDSKGroupCellView.h
===================================================================
--- trunk/bibdesk/BDSKGroupCellView.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKGroupCellView.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -40,17 +40,17 @@
@interface BDSKGroupCellView : NSTableCellView {
- NSTextField *nameField;
- NSTextField *labelField;
- NSImageView *bubbleView;
- NSProgressIndicator *progressIndicator;
+ __weak NSTextField *nameField;
+ __weak NSTextField *labelField;
+ __weak NSImageView *bubbleView;
+ __weak NSProgressIndicator *progressIndicator;
}
-@property (nonatomic, assign) IBOutlet NSTextField *nameField;
-@property (nonatomic, assign) IBOutlet NSTextField *labelField;
-@property (nonatomic, assign) IBOutlet NSImageView *bubbleView;
-@property (nonatomic, assign) IBOutlet NSProgressIndicator *progressIndicator;
+@property (nonatomic, weak) IBOutlet NSTextField *nameField;
+@property (nonatomic, weak) IBOutlet NSTextField *labelField;
+@property (nonatomic, weak) IBOutlet NSImageView *bubbleView;
+@property (nonatomic, weak) IBOutlet NSProgressIndicator *progressIndicator;
-@property (nonatomic, retain) NSFont *font;
+@property (nonatomic, strong) NSFont *font;
@end
Modified: trunk/bibdesk/BDSKGroupsArray.h
===================================================================
--- trunk/bibdesk/BDSKGroupsArray.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKGroupsArray.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -46,7 +46,7 @@
@interface BDSKGroupsArray : NSArray {
NSMutableArray *groups;
- BibDocument *document;
+ __weak BibDocument *document;
}
- (id)initWithDocument:(BibDocument *)aDocument;
@@ -80,7 +80,7 @@
- (void)sortUsingDescriptors:(NSArray *)sortDescriptors;
-@property (nonatomic, readonly) BibDocument *document;
+@property (nonatomic, weak, readonly) BibDocument *document;
- (void)setGroupsOfType:(BDSKGroupType)groupType fromSerializedData:(NSData
*)data;
Modified: trunk/bibdesk/BDSKIBArray.h
===================================================================
--- trunk/bibdesk/BDSKIBArray.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKIBArray.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -44,5 +44,5 @@
unsigned long mutations;
}
-@property (nonatomic, retain) IBOutlet id object1, object2, object3, object4,
object5, object6, object7, object8, object9;
+@property (nonatomic, strong) IBOutlet id object1, object2, object3, object4,
object5, object6, object7, object8, object9;
@end
Modified: trunk/bibdesk/BDSKISIGroupServer.h
===================================================================
--- trunk/bibdesk/BDSKISIGroupServer.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKISIGroupServer.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -43,7 +43,7 @@
@interface BDSKISIGroupServer : NSObject <BDSKSearchGroupServer>
{
- id<BDSKSearchGroup> group;
+ __weak id<BDSKSearchGroup> group;
BDSKServerInfo *serverInfo;
NSInteger availableResults;
NSInteger fetchedResults;
Modified: trunk/bibdesk/BDSKInfo.h
===================================================================
--- trunk/bibdesk/BDSKInfo.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKInfo.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -42,7 +42,7 @@
@interface BDSKInfo : NSObject {
NSString *name;
- BibDocument *document;
+ __weak BibDocument *document;
}
- (id)initWithName:(NSString *)newName document:(BibDocument *)newDocument;
@@ -49,7 +49,7 @@
@property (nonatomic, readonly) NSString *name;
-@property (nonatomic, retain) NSString *value;
+@property (nonatomic, strong) NSString *value;
@property (nonatomic, readonly) BibDocument *document;
Modified: trunk/bibdesk/BDSKItemDownload.h
===================================================================
--- trunk/bibdesk/BDSKItemDownload.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKItemDownload.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -44,7 +44,7 @@
@class BDSKLinkedFile;
@interface BDSKItemDownload : NSObject <BDSKDownloadDelegate> {
- id <BDSKItemDownloadDelegate> delegate;
+ __weak id <BDSKItemDownloadDelegate> delegate;
BDSKDownload *download;
BDSKLinkedFile *linkedFile;
NSURL *URL;
@@ -54,7 +54,7 @@
NSURL *fileURL;
}
-@property (nonatomic, assign) id <BDSKItemDownloadDelegate> delegate;
+@property (nonatomic, weak) id <BDSKItemDownloadDelegate> delegate;
@property (nonatomic, readonly) BDSKLinkedFile *linkedFile;
@property (nonatomic, readonly) NSURL *URL;
@property (nonatomic, readonly) NSURLResponse *response;
Modified: trunk/bibdesk/BDSKItemPasteboardHelper.h
===================================================================
--- trunk/bibdesk/BDSKItemPasteboardHelper.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKItemPasteboardHelper.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -54,10 +54,10 @@
NSMutableDictionary *texTasks;
BDSKTeXTask *texTask;
NSInteger generatorCount;
- id<BDSKItemPasteboardHelperDelegate> delegate;
+ __weak id<BDSKItemPasteboardHelperDelegate> delegate;
}
-@property (nonatomic, assign) id <BDSKItemPasteboardHelperDelegate> delegate;
+@property (nonatomic, weak) id <BDSKItemPasteboardHelperDelegate> delegate;
- (void)writeItems:(NSArray *)items textRepresentation:(id)text
forDragCopyType:(BDSKDragCopyType)dragCopyType toPasteboard:(NSPasteboard
*)pboard;
Modified: trunk/bibdesk/BDSKLinkedFile.h
===================================================================
--- trunk/bibdesk/BDSKLinkedFile.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKLinkedFile.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -64,7 +64,7 @@
@property (nonatomic, readonly) NSString *relativePath;
-@property (nonatomic, assign) id<BDSKLinkedFileDelegate> delegate;
+@property (nonatomic, weak) id<BDSKLinkedFileDelegate> delegate;
- (void)updateWithPath:(NSString *)aPath;
Modified: trunk/bibdesk/BDSKLinkedFile.m
===================================================================
--- trunk/bibdesk/BDSKLinkedFile.m 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKLinkedFile.m 2023-12-31 16:32:01 UTC (rev 28493)
@@ -90,7 +90,7 @@
BOOL isInitial;
BOOL hasSkimNotes;
BOOL hasSkimNotesNeedsUpdate;
- id delegate;
+ __weak id delegate;
}
- (void)updateFileURL;
- (NSData *)copyAliasDataRelativeToPath:(NSString *)newBasePath;
Modified: trunk/bibdesk/BDSKMacro.h
===================================================================
--- trunk/bibdesk/BDSKMacro.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKMacro.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -42,18 +42,18 @@
@interface BDSKMacro : NSObject {
NSString *name;
- BDSKMacroResolver *macroResolver;
+ __weak BDSKMacroResolver *macroResolver;
}
- (id)initWithName:(NSString *)aName macroResolver:(BDSKMacroResolver
*)aMacroResolver;
-@property (nonatomic, retain) NSString *name;
+@property (nonatomic, strong) NSString *name;
-@property (nonatomic, retain) id value;
+@property (nonatomic, strong) id value;
@property (nonatomic, copy) id bibTeXString;
-@property (nonatomic, readonly) BDSKMacroResolver *macroResolver;
+@property (nonatomic, weak, readonly) BDSKMacroResolver *macroResolver;
@property (nonatomic, readonly, getter=isExternal) BOOL external;
Modified: trunk/bibdesk/BDSKMacroResolver.h
===================================================================
--- trunk/bibdesk/BDSKMacroResolver.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKMacroResolver.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -54,7 +54,7 @@
@interface BDSKMacroResolver : NSObject {
NSMutableDictionary *macroDefinitions;
- id<BDSKOwner>owner;
+ __weak id<BDSKOwner>owner;
unsigned long long modification;
}
Modified: trunk/bibdesk/BDSKNotesSearchIndex.h
===================================================================
--- trunk/bibdesk/BDSKNotesSearchIndex.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKNotesSearchIndex.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -52,12 +52,12 @@
dispatch_queue_t queue;
dispatch_queue_t lockQueue;
NSFileManager *fileManager;
- id <BDSKNotesSearchIndexDelegate> delegate;
+ __weak id <BDSKNotesSearchIndexDelegate> delegate;
}
- (id)initForOwner:(id <BDSKOwner>)owner;
-@property (nonatomic, assign) id <BDSKNotesSearchIndexDelegate> delegate;
+@property (nonatomic, weak) id <BDSKNotesSearchIndexDelegate> delegate;
- (void)resetWithPublications:(NSArray *)pubs;
Modified: trunk/bibdesk/BDSKOpenAccessoryViewController.h
===================================================================
--- trunk/bibdesk/BDSKOpenAccessoryViewController.h 2023-12-31 16:31:37 UTC
(rev 28492)
+++ trunk/bibdesk/BDSKOpenAccessoryViewController.h 2023-12-31 16:32:01 UTC
(rev 28493)
@@ -58,6 +58,6 @@
@property (nonatomic, readonly) NSView *openUsingFilterAccessoryView;
@property (nonatomic) NSStringEncoding encoding;
-@property (nonatomic, retain) NSString *filterCommand;
+@property (nonatomic, strong) NSString *filterCommand;
@end
Modified: trunk/bibdesk/BDSKOrphanedFilesFinder.h
===================================================================
--- trunk/bibdesk/BDSKOrphanedFilesFinder.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKOrphanedFilesFinder.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -90,7 +90,7 @@
- (void)insertObject:(id)obj inOrphanedFilesAtIndex:(NSUInteger)theIndex;
- (void)removeObjectFromOrphanedFilesAtIndex:(NSUInteger)theIndex;
-@property (nonatomic, retain) NSString *searchString;
+@property (nonatomic, strong) NSString *searchString;
@property (nonatomic, readonly) BOOL wasLaunched;
Modified: trunk/bibdesk/BDSKOutlineView.h
===================================================================
--- trunk/bibdesk/BDSKOutlineView.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKOutlineView.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -82,7 +82,7 @@
@property (nonatomic, readonly) NSArray *selectedItems;
@property (nonatomic, readonly) NSArray *clickedOrSelectedItems;
-@property (nonatomic, retain) BDSKTypeSelectHelper *typeSelectHelper;
+@property (nonatomic, strong) BDSKTypeSelectHelper *typeSelectHelper;
- (void)changeFont:(id)sender;
- (void)outlineViewFontChanged;
@@ -89,8 +89,8 @@
- (CGFloat)rowHeightForFont:(NSFont *)font;
- (void)updateFontPanel:(NSNotification *)notification;
-@property (nonatomic, retain) NSString *fontNamePreferenceKey;
-@property (nonatomic, retain) NSString *fontSizePreferenceKey;
+@property (nonatomic, strong) NSString *fontNamePreferenceKey;
+@property (nonatomic, strong) NSString *fontSizePreferenceKey;
- (void)moveUp:(id)sender;
- (void)moveDown:(id)sender;
Modified: trunk/bibdesk/BDSKParentGroup.h
===================================================================
--- trunk/bibdesk/BDSKParentGroup.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKParentGroup.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -80,7 +80,7 @@
@property (nonatomic, readonly) NSArray *webGroups;
@property (nonatomic, readonly) NSArray *searchGroups;
-@property (nonatomic, retain) NSArray *sharedGroups;
+@property (nonatomic, strong) NSArray *sharedGroups;
@property (nonatomic, readonly) NSArray *URLGroups;
@property (nonatomic, readonly) NSArray *scriptGroups;
@@ -103,9 +103,9 @@
- (id)initWithKey:(NSString *)aKey;
-@property (nonatomic, retain) NSArray *categoryGroups;
+@property (nonatomic, strong) NSArray *categoryGroups;
-@property (nonatomic, retain) NSString *key;
+@property (nonatomic, strong) NSString *key;
@end
Modified: trunk/bibdesk/BDSKPersonController.h
===================================================================
--- trunk/bibdesk/BDSKPersonController.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKPersonController.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -44,7 +44,7 @@
@interface BDSKPersonController : NSWindowController <NSTableViewDelegate,
NSSplitViewDelegate, BDSKDragImageViewDelegate, NSPasteboardItemDataProvider,
NSFilePromiseProviderDelegate> {
BibAuthor *person;
- id<BDSKOwner> owner;
+ __weak id<BDSKOwner> owner;
NSMutableArray *publicationItems;
NSSet *names;
NSSet *fields;
@@ -84,7 +84,7 @@
@property (nonatomic, assign) IBOutlet NSTextField *editField;
@property (nonatomic, assign) IBOutlet NSTextField *editMessageField;
-@property (nonatomic, retain) BibAuthor *person;
+@property (nonatomic, strong) BibAuthor *person;
@property (nonatomic, copy) NSArray *publicationItems;
@property (nonatomic, copy) NSSet *names;
@property (nonatomic, copy) NSSet *fields;
Modified: trunk/bibdesk/BDSKPreferenceController.h
===================================================================
--- trunk/bibdesk/BDSKPreferenceController.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKPreferenceController.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -76,7 +76,7 @@
@property (nonatomic, assign) IBOutlet NSSegmentedControl *goLeftRightButton;
@property (nonatomic, assign) IBOutlet NSSearchField *searchField;
@property (nonatomic, assign) IBOutlet NSTextField *titleField;
-@property (nonatomic, retain) IBOutlet SPUStandardUpdaterController
*updaterController;
+@property (nonatomic, strong) IBOutlet SPUStandardUpdaterController
*updaterController;
- (IBAction)revertPaneDefaults:(id)sender;
- (IBAction)revertAllDefaults:(id)sender;
Modified: trunk/bibdesk/BDSKPreferencePane.h
===================================================================
--- trunk/bibdesk/BDSKPreferencePane.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKPreferencePane.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -41,7 +41,7 @@
@class BDSKPreferenceController, BDSKPreferenceRecord;
@interface BDSKPreferencePane : NSViewController {
- BDSKPreferenceController *preferenceController;
+ __weak BDSKPreferenceController *preferenceController;
NSUserDefaults *sud;
NSMutableArray *observedKeys;
NSMutableDictionary *dependentKeys;
Modified: trunk/bibdesk/BDSKResizeView.h
===================================================================
--- trunk/bibdesk/BDSKResizeView.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKResizeView.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -45,7 +45,7 @@
CGFloat maxValue;
}
-@property (nonatomic, retain) IBOutlet NSLayoutConstraint *constraint;
+@property (nonatomic, strong) IBOutlet NSLayoutConstraint *constraint;
@property (nonatomic) CGFloat minValue, maxValue;
Modified: trunk/bibdesk/BDSKSaveAccessoryViewController.h
===================================================================
--- trunk/bibdesk/BDSKSaveAccessoryViewController.h 2023-12-31 16:31:37 UTC
(rev 28492)
+++ trunk/bibdesk/BDSKSaveAccessoryViewController.h 2023-12-31 16:32:01 UTC
(rev 28493)
@@ -55,7 +55,7 @@
@property (nonatomic, assign) IBOutlet NSTextField *formatLabelField;
@property (nonatomic, assign) IBOutlet NSTextField *encodingLabelField;
-@property (nonatomic, retain) NSSavePanel *savePanel;
+@property (nonatomic, strong) NSSavePanel *savePanel;
@property (nonatomic, readonly) NSView *saveAccessoryView;
@property (nonatomic, readonly) NSView *exportAccessoryView;
Modified: trunk/bibdesk/BDSKScriptGroup.h
===================================================================
--- trunk/bibdesk/BDSKScriptGroup.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKScriptGroup.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -61,8 +61,8 @@
- (id)initWithScriptPath:(NSString *)path scriptArguments:(NSString
*)arguments;
- (id)initWithName:(NSString *)aName scriptPath:(NSString *)path
scriptArguments:(NSString *)arguments scriptType:(BDSKScriptType)type;
-@property (nonatomic, retain) NSString *scriptPath;
-@property (nonatomic, retain) NSString *scriptArguments;
+@property (nonatomic, strong) NSString *scriptPath;
+@property (nonatomic, strong) NSString *scriptArguments;
@property (nonatomic) BDSKScriptType scriptType;
@end
Modified: trunk/bibdesk/BDSKScriptGroupSheetController.h
===================================================================
--- trunk/bibdesk/BDSKScriptGroupSheetController.h 2023-12-31 16:31:37 UTC
(rev 28492)
+++ trunk/bibdesk/BDSKScriptGroupSheetController.h 2023-12-31 16:32:01 UTC
(rev 28493)
@@ -59,8 +59,8 @@
@property (nonatomic, assign) IBOutlet NSButton *okButton;
@property (nonatomic, assign) IBOutlet NSButton *cancelButton;
-@property (nonatomic, retain) NSString *path;
-@property (nonatomic, retain) NSString *arguments;
+@property (nonatomic, strong) NSString *path;
+@property (nonatomic, strong) NSString *arguments;
- (IBAction)chooseScriptPath:(id)sender;
Modified: trunk/bibdesk/BDSKScriptHook.h
===================================================================
--- trunk/bibdesk/BDSKScriptHook.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKScriptHook.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -71,11 +71,11 @@
@property (nonatomic, readonly) NSString *name;
@property (nonatomic, readonly) NSString *uniqueID;
-@property (nonatomic, retain) NSString *field;
-@property (nonatomic, retain) NSArray *oldValues;
-@property (nonatomic, retain) NSArray *values;
+@property (nonatomic, strong) NSString *field;
+@property (nonatomic, strong) NSArray *oldValues;
+@property (nonatomic, strong) NSArray *values;
@property (nonatomic) BOOL cancelled;
-@property (nonatomic, retain) NSDocument *document;
+@property (nonatomic, strong) NSDocument *document;
@property (nonatomic, readonly) NSUserAppleScriptTask *script;
- (void)runWithPublications:(NSArray *)items completionHandler:(void (^)(BOOL
cancelled))handler;
Modified: trunk/bibdesk/BDSKSearchBookmark.h
===================================================================
--- trunk/bibdesk/BDSKSearchBookmark.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKSearchBookmark.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -45,7 +45,7 @@
};
@interface BDSKSearchBookmark : NSObject <NSCopying> {
- BDSKSearchBookmark *parent;
+ __weak BDSKSearchBookmark *parent;
}
+ (id)searchBookmarkFolderWithLabel:(NSString *)aLabel;
@@ -63,17 +63,17 @@
@property (nonatomic, readonly) BDSKSearchBookmarkType bookmarkType;
-@property (nonatomic, retain) NSDictionary *info;
+@property (nonatomic, strong) NSDictionary *info;
-@property (nonatomic, retain) NSString *label;
+@property (nonatomic, strong) NSString *label;
@property (nonatomic, readonly) NSImage *icon;
@property (nonatomic, readonly) NSString *name;
-@property (nonatomic, retain) NSString *searchTerm;
+@property (nonatomic, strong) NSString *searchTerm;
-@property (nonatomic, assign) BDSKSearchBookmark *parent;
+@property (nonatomic, weak) BDSKSearchBookmark *parent;
- (NSArray *)children;
- (NSUInteger)countOfChildren;
Modified: trunk/bibdesk/BDSKSearchGroupSheetController.h
===================================================================
--- trunk/bibdesk/BDSKSearchGroupSheetController.h 2023-12-31 16:31:37 UTC
(rev 28492)
+++ trunk/bibdesk/BDSKSearchGroupSheetController.h 2023-12-31 16:32:01 UTC
(rev 28493)
@@ -112,7 +112,7 @@
@property (nonatomic, readonly, getter=isISI) BOOL ISI;
@property (nonatomic, readonly, getter=isZoomOrISI) BOOL zoomOrISI;
-@property (nonatomic, retain) NSString *type;
+@property (nonatomic, strong) NSString *type;
@property (nonatomic) NSInteger typeTag;
Modified: trunk/bibdesk/BDSKSearchGroupViewController.h
===================================================================
--- trunk/bibdesk/BDSKSearchGroupViewController.h 2023-12-31 16:31:37 UTC
(rev 28492)
+++ trunk/bibdesk/BDSKSearchGroupViewController.h 2023-12-31 16:32:01 UTC
(rev 28493)
@@ -48,7 +48,7 @@
@property (nonatomic, assign) IBOutlet NSSearchField *searchField;
@property (nonatomic, assign) IBOutlet NSButton *searchButton;
-@property (nonatomic, retain) BDSKSearchGroup *group;
+@property (nonatomic, strong) BDSKSearchGroup *group;
- (IBAction)changeSearchTerm:(id)sender;
- (IBAction)nextSearch:(id)sender;
Modified: trunk/bibdesk/BDSKSharingClient.m
===================================================================
--- trunk/bibdesk/BDSKSharingClient.m 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKSharingClient.m 2023-12-31 16:32:01 UTC (rev 28493)
@@ -81,8 +81,8 @@
@property (nonatomic, getter=isRetrieving) BOOL retrieving;
-@property (nonatomic, retain) NSData *archivedPublications;
-@property (nonatomic, retain) NSData *archivedMacros;
+@property (nonatomic, strong) NSData *archivedPublications;
+@property (nonatomic, strong) NSData *archivedMacros;
@end
Modified: trunk/bibdesk/BDSKSharingServer.m
===================================================================
--- trunk/bibdesk/BDSKSharingServer.m 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKSharingServer.m 2023-12-31 16:32:01 UTC (rev 28493)
@@ -112,7 +112,7 @@
- (id)initWithConnection:(NSConnection *)aConnection;
@property (nonatomic, readonly) NSConnection *connection;
-@property (nonatomic, retain) id proxy;
+@property (nonatomic, strong) id proxy;
@property (nonatomic, getter=isAuthenticated) BOOL authenticated;
- (void)invalidate;
@@ -149,7 +149,7 @@
@interface BDSKSharingServer ()
-@property (nonatomic, retain) NSString *sharingName;
+@property (nonatomic, strong) NSString *sharingName;
@property (nonatomic) BDSKSharingStatus status;
@end
Modified: trunk/bibdesk/BDSKSmartGroup.h
===================================================================
--- trunk/bibdesk/BDSKSmartGroup.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKSmartGroup.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -53,7 +53,7 @@
- (id)initWithFilter:(BDSKFilter *)aFilter;
- (id)initWithName:(id)aName filter:(BDSKFilter *)aFilter;
-@property (nonatomic, retain) BDSKFilter *filter;
+@property (nonatomic, strong) BDSKFilter *filter;
- (void)invalidateCount;
Modified: trunk/bibdesk/BDSKSoapBinding.h
===================================================================
--- trunk/bibdesk/BDSKSoapBinding.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKSoapBinding.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -26,11 +26,11 @@
+ (id)soapBinding;
@property (nonatomic, copy) NSURL *address;
@property (nonatomic, copy) NSString *namespaceURI;
-@property (nonatomic, assign) BOOL logXMLInOut;
-@property (nonatomic, assign) NSTimeInterval defaultTimeout;
-@property (nonatomic, retain) NSMutableArray *cookies;
-@property (nonatomic, retain) NSString *authUsername;
-@property (nonatomic, retain) NSString *authPassword;
+@property (nonatomic) BOOL logXMLInOut;
+@property (nonatomic) NSTimeInterval defaultTimeout;
+@property (nonatomic, strong) NSMutableArray *cookies;
+@property (nonatomic, strong) NSString *authUsername;
+@property (nonatomic, strong) NSString *authPassword;
- (id)initWithAddress:(NSString *)anAddress namespaceURI:(NSString
*)aNamespaceURI;
- (NSString *)serializedEnvelopeUsingHeaderElements:(NSDictionary
*)headerElements bodyElements:(NSDictionary *)bodyElements;
- (NSURLRequest *)requestUsingBody:(NSString *)body soapAction:(NSString
*)soapAction;
@@ -43,18 +43,18 @@
NSDictionary *responseClasses;
NSString *soapAction;
BDSKSoapBindingResponse *response;
- id<BDSKSoapBindingOperationDelegate> delegate;
+ __weak id<BDSKSoapBindingOperationDelegate> delegate;
BDSKDownload *download;
BOOL complete;
}
-@property (nonatomic, retain) BDSKSoapBinding *binding;
-@property (nonatomic, retain) NSDictionary *bodyElements;
-@property (nonatomic, retain) NSDictionary *responseClasses;
-@property (nonatomic, retain) NSString *soapAction;
+@property (nonatomic, strong) BDSKSoapBinding *binding;
+@property (nonatomic, strong) NSDictionary *bodyElements;
+@property (nonatomic, strong) NSDictionary *responseClasses;
+@property (nonatomic, strong) NSString *soapAction;
@property (nonatomic, readonly) BDSKSoapBindingResponse *response;
-@property (nonatomic, assign) id<BDSKSoapBindingOperationDelegate> delegate;
-@property (nonatomic, retain) BDSKDownload *download;
+@property (nonatomic, weak) id<BDSKSoapBindingOperationDelegate> delegate;
+@property (nonatomic, strong) BDSKDownload *download;
- (id)initWithBinding:(BDSKSoapBinding *)aBinding
delegate:(id<BDSKSoapBindingOperationDelegate>)aDelegate soapAction:(NSString
*)aSoapAction bodyElements:(NSDictionary *)aBodyElements
responseClasses:(NSDictionary *)aResponseClasses;
- (id)initWithParameters:(BDSKSoapBindingRequest *)parameters
delegate:(id<BDSKSoapBindingOperationDelegate>)aDelegate;
- (void)start;
@@ -67,9 +67,9 @@
NSArray *bodyParts;
NSError *error;
}
-@property (nonatomic, retain) NSArray *headers;
-@property (nonatomic, retain) NSArray *bodyParts;
-@property (nonatomic, retain) NSError *error;
+@property (nonatomic, strong) NSArray *headers;
+@property (nonatomic, strong) NSArray *bodyParts;
+@property (nonatomic, strong) NSError *error;
@end
@interface BDSKSoapBindingElement : NSObject {
@@ -92,9 +92,9 @@
NSString *faultstring;
NSString *faultactor;
}
-@property (nonatomic, retain) NSString *faultcode;
-@property (nonatomic, retain) NSString *faultstring;
-@property (nonatomic, retain) NSString *faultactor;
+@property (nonatomic, strong) NSString *faultcode;
+@property (nonatomic, strong) NSString *faultstring;
+@property (nonatomic, strong) NSString *faultactor;
@end
@interface NSString (BDSKSoapBindingElement)
Modified: trunk/bibdesk/BDSKStatusBar.h
===================================================================
--- trunk/bibdesk/BDSKStatusBar.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKStatusBar.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -59,7 +59,7 @@
NSImageCell *iconCell;
NSProgressIndicator *progressIndicator;
NSMutableArray *icons;
- id<BDSKStatusBarDelegate> delegate;
+ __weak id<BDSKStatusBarDelegate> delegate;
CGFloat leftMargin;
CGFloat rightMargin;
BOOL animating;
@@ -69,9 +69,9 @@
@property (nonatomic, readonly, getter=isVisible) BOOL visible;
-@property (nonatomic, retain) NSString *stringValue;
+@property (nonatomic, strong) NSString *stringValue;
-@property (nonatomic, retain) NSFont *font;
+@property (nonatomic, strong) NSFont *font;
@property (nonatomic) NSTextAlignment alignment;
@@ -91,6 +91,6 @@
- (NSString *)view:(NSView *)view stringForToolTip:(NSToolTipTag)tag
point:(NSPoint)point userData:(void *)userData;
- (void)rebuildToolTips;
-@property (nonatomic, assign) id<BDSKStatusBarDelegate> delegate;
+@property (nonatomic, weak) id<BDSKStatusBarDelegate> delegate;
@end
Modified: trunk/bibdesk/BDSKStringEncodingManager.h
===================================================================
--- trunk/bibdesk/BDSKStringEncodingManager.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKStringEncodingManager.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -43,7 +43,7 @@
@interface BDSKEncodingPopUpButton : NSPopUpButton {
NSStringEncoding lastSelectedEncoding;
SEL realAction;
- id realTarget;
+ __weak id realTarget;
}
- (NSStringEncoding)encoding;
- (void)setEncoding:(NSStringEncoding)encoding;
Modified: trunk/bibdesk/BDSKTableView.h
===================================================================
--- trunk/bibdesk/BDSKTableView.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKTableView.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -81,7 +81,7 @@
+ (BOOL)shouldQueueTypeSelectHelper;
-@property (nonatomic, retain) BDSKTypeSelectHelper *typeSelectHelper;
+@property (nonatomic, strong) BDSKTypeSelectHelper *typeSelectHelper;
- (void)changeFont:(id)sender;
- (void)tableViewFontChanged;
@@ -88,8 +88,8 @@
- (CGFloat)rowHeightForFont:(NSFont *)font;
- (void)updateFontPanel:(NSNotification *)notification;
-@property (nonatomic, retain) NSString *fontNamePreferenceKey;
-@property (nonatomic, retain) NSString *fontSizePreferenceKey;
+@property (nonatomic, strong) NSString *fontNamePreferenceKey;
+@property (nonatomic, strong) NSString *fontSizePreferenceKey;
- (void)invertSelection:(id)sender;
- (void)moveUp:(id)sender;
Modified: trunk/bibdesk/BDSKTeXTask.h
===================================================================
--- trunk/bibdesk/BDSKTeXTask.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKTeXTask.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -58,7 +58,7 @@
BDSKTeXPath *texPath;
NSDictionary *environment;
- id<BDSKTeXTaskDelegate> delegate;
+ __weak id<BDSKTeXTaskDelegate> delegate;
BDSKTaskAndGeneratedType *currentTask;
Modified: trunk/bibdesk/BDSKTemplate.h
===================================================================
--- trunk/bibdesk/BDSKTemplate.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKTemplate.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -131,7 +131,7 @@
@property (nonatomic, readonly) NSURL *scriptURL;
// child template accessors
-@property (nonatomic, retain) NSURL *representedFileURL;
+@property (nonatomic, strong) NSURL *representedFileURL;
@property (nonatomic, readonly) NSURL *representedFileURLNoUI;
Modified: trunk/bibdesk/BDSKTemplateDocument.h
===================================================================
--- trunk/bibdesk/BDSKTemplateDocument.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKTemplateDocument.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -149,19 +149,19 @@
@property (nonatomic, copy) NSArray *specialTokens;
@property (nonatomic, copy) NSArray *defaultTokens;
-@property (nonatomic, retain) NSAttributedString *prefixTemplate;
-@property (nonatomic, retain) NSAttributedString *suffixTemplate;
-@property (nonatomic, retain) NSAttributedString *separatorTemplate;
+@property (nonatomic, strong) NSAttributedString *prefixTemplate;
+@property (nonatomic, strong) NSAttributedString *suffixTemplate;
+@property (nonatomic, strong) NSAttributedString *separatorTemplate;
@property (nonatomic, getter=isRichText) BOOL richText;
-@property (nonatomic, retain) NSString *fontName;
+@property (nonatomic, strong) NSString *fontName;
@property (nonatomic) CGFloat fontSize;
@property (nonatomic, getter=isBold) BOOL bold;
@property (nonatomic, getter=isItalic) BOOL italic;
-@property (nonatomic, retain) BDSKToken *selectedToken;
+@property (nonatomic, strong) BDSKToken *selectedToken;
@property (nonatomic) NSUInteger defaultTypeIndex;
Modified: trunk/bibdesk/BDSKTemplateTag.h
===================================================================
--- trunk/bibdesk/BDSKTemplateTag.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKTemplateTag.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -155,7 +155,7 @@
- (id)initWithText:(NSString *)aText;
-@property (nonatomic, retain) NSString *text;
+@property (nonatomic, strong) NSString *text;
- (void)appendText:(NSString *)newText;
@@ -170,7 +170,7 @@
- (id)initWithAttributedText:(NSAttributedString *)anAttributedText;
-@property (nonatomic, retain) NSAttributedString *attributedText;
+@property (nonatomic, strong) NSAttributedString *attributedText;
@property (nonatomic, readonly) NSArray *linkTemplates;
Modified: trunk/bibdesk/BDSKTextImportController.h
===================================================================
--- trunk/bibdesk/BDSKTextImportController.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKTextImportController.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -67,7 +67,7 @@
NSButton *stopOrReloadButton;
NSButton *citeKeyWarningButton;
- id <BDSKOwner> owner;
+ __weak id <BDSKOwner> owner;
BDSKPublicationsArray *publications;
NSMutableArray *itemsAdded;
NSMutableArray *fields;
Modified: trunk/bibdesk/BDSKTextViewCompletionController.h
===================================================================
--- trunk/bibdesk/BDSKTextViewCompletionController.h 2023-12-31 16:31:37 UTC
(rev 28492)
+++ trunk/bibdesk/BDSKTextViewCompletionController.h 2023-12-31 16:32:01 UTC
(rev 28493)
@@ -46,7 +46,7 @@
NSInteger movement;
NSTableView *tableView;
NSTextView *textView;
- NSWindow *textViewWindow;
+ __weak NSWindow *textViewWindow;
BOOL shouldInsert;
}
Modified: trunk/bibdesk/BDSKTextViewCompletionController.m
===================================================================
--- trunk/bibdesk/BDSKTextViewCompletionController.m 2023-12-31 16:31:37 UTC
(rev 28492)
+++ trunk/bibdesk/BDSKTextViewCompletionController.m 2023-12-31 16:32:01 UTC
(rev 28493)
@@ -61,10 +61,10 @@
- (void)setCompletions:(NSArray *)newCompletions;
// retain the text view, just in case; we've seen some unreproducible crashes
in objc_msgSend_stret when calling updateCompletionsAndInsert:, which is
presumably the call to rangeForUserCompletion or windowLocation
-@property (nonatomic, retain) NSTextView *currentTextView;
+@property (nonatomic, strong) NSTextView *currentTextView;
@property (nonatomic, copy) NSString *originalString;
// do not retain!
-@property (nonatomic, assign) NSWindow *textViewWindow;
+@property (nonatomic, weak) NSWindow *textViewWindow;
@property (nonatomic, copy) NSArray *completions;
@end
Modified: trunk/bibdesk/BDSKTextWithIconCell.h
===================================================================
--- trunk/bibdesk/BDSKTextWithIconCell.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKTextWithIconCell.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -48,7 +48,7 @@
+ (Class)formatterClass;
-@property (nonatomic, retain) NSImage *icon;
+@property (nonatomic, strong) NSImage *icon;
- (NSRect)textRectForBounds:(NSRect)aRect;
- (NSRect)iconRectForBounds:(NSRect)aRect;
Modified: trunk/bibdesk/BDSKToken.h
===================================================================
--- trunk/bibdesk/BDSKToken.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKToken.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -70,7 +70,7 @@
@property (nonatomic, readonly) NSString *boxTitle;
@property (nonatomic, getter=isInRepository) BOOL inRepository;
-@property (nonatomic, retain) NSString *fontName;
+@property (nonatomic, strong) NSString *fontName;
@property (nonatomic) CGFloat fontSize;
@property (nonatomic) NSInteger bold;
@property (nonatomic) NSInteger italic;
@@ -91,7 +91,7 @@
NSString *key;
}
-@property (nonatomic, retain) NSString *key;
+@property (nonatomic, strong) NSString *key;
@property (nonatomic, readonly) NSArray *keys;
@@ -105,9 +105,9 @@
NSString *suffix;
}
-@property (nonatomic, retain) NSString *appendingKey;
-@property (nonatomic, retain) NSString *prefix;
-@property (nonatomic, retain) NSString *suffix;
+@property (nonatomic, strong) NSString *appendingKey;
+@property (nonatomic, strong) NSString *prefix;
+@property (nonatomic, strong) NSString *suffix;
@end
@@ -118,8 +118,8 @@
NSString *cleaningKey;
}
-@property (nonatomic, retain) NSString *casingKey;
-@property (nonatomic, retain) NSString *cleaningKey;
+@property (nonatomic, strong) NSString *casingKey;
+@property (nonatomic, strong) NSString *cleaningKey;
@end
@@ -129,7 +129,7 @@
NSString *urlFormatKey;
}
-@property (nonatomic, retain) NSString *urlFormatKey;
+@property (nonatomic, strong) NSString *urlFormatKey;
@end
@@ -140,8 +140,8 @@
NSString *joinStyleKey;
}
-@property (nonatomic, retain) NSString *nameStyleKey;
-@property (nonatomic, retain) NSString *joinStyleKey;
+@property (nonatomic, strong) NSString *nameStyleKey;
+@property (nonatomic, strong) NSString *joinStyleKey;
@end
@@ -152,8 +152,8 @@
NSString *linkedFileJoinStyleKey;
}
-@property (nonatomic, retain) NSString *linkedFileFormatKey;
-@property (nonatomic, retain) NSString *linkedFileJoinStyleKey;
+@property (nonatomic, strong) NSString *linkedFileFormatKey;
+@property (nonatomic, strong) NSString *linkedFileJoinStyleKey;
@end
@@ -163,7 +163,7 @@
NSString *dateFormatKey;
}
-@property (nonatomic, retain) NSString *dateFormatKey;
+@property (nonatomic, strong) NSString *dateFormatKey;
@end
@@ -174,8 +174,8 @@
NSString *counterCasingKey;
}
-@property (nonatomic, retain) NSString *counterStyleKey;
-@property (nonatomic, retain) NSString *counterCasingKey;
+@property (nonatomic, strong) NSString *counterStyleKey;
+@property (nonatomic, strong) NSString *counterCasingKey;
@end
@@ -186,8 +186,8 @@
NSString *altText;
}
-@property (nonatomic, retain) NSString *title;
-@property (nonatomic, retain) NSString *field;
-@property (nonatomic, retain) NSString *altText;
+@property (nonatomic, strong) NSString *title;
+@property (nonatomic, strong) NSString *field;
+@property (nonatomic, strong) NSString *altText;
@end
Modified: trunk/bibdesk/BDSKTreeNode.h
===================================================================
--- trunk/bibdesk/BDSKTreeNode.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKTreeNode.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -43,7 +43,7 @@
{
NSMutableArray *children;
NSMutableDictionary *columnValues;
- BDSKTreeNode *parent;
+ __weak BDSKTreeNode *parent;
}
- (id)initWithColumnValues:(NSDictionary *)newColumnValues children:(NSArray
*)newChildren;
@@ -56,7 +56,7 @@
- (void)insertObject:(id)obj inChildrenAtIndex:(NSUInteger)anIndex;
- (void)removeObjectFromChildrenAtIndex:(NSUInteger)anIndex;
-@property (nonatomic, assign) BDSKTreeNode *parent;
+@property (nonatomic, weak) BDSKTreeNode *parent;
@property (nonatomic, readonly, getter=isLeaf) BOOL leaf;
Modified: trunk/bibdesk/BDSKTypeInfoEditor.h
===================================================================
--- trunk/bibdesk/BDSKTypeInfoEditor.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKTypeInfoEditor.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -79,7 +79,7 @@
- (void)addType:(NSString *)newType withFields:(NSDictionary *)fieldsDict;
- (void)insertType:(NSString *)newType withFields:(NSDictionary *)fieldsDict
atIndex:(NSUInteger)index;
-@property (nonatomic, retain) NSString *currentType;
+@property (nonatomic, strong) NSString *currentType;
- (IBAction)addRemoveType:(id)sender;
- (IBAction)addRemoveRequired:(id)sender;
Modified: trunk/bibdesk/BDSKTypeSelectHelper.h
===================================================================
--- trunk/bibdesk/BDSKTypeSelectHelper.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKTypeSelectHelper.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -59,7 +59,7 @@
@interface BDSKTypeSelectHelper : NSObject <NSTextViewDelegate> {
- id<BDSKTypeSelectDelegate> delegate;
+ __weak id<BDSKTypeSelectDelegate> delegate;
BOOL cycleResults;
BOOL matchPrefix;
@@ -66,11 +66,10 @@
NSArray *searchCache;
NSString *searchString;
NSTimer *timer;
- NSWindow *observedWindow;
BOOL processing;
}
-@property (nonatomic, assign) id<BDSKTypeSelectDelegate> delegate;
+@property (nonatomic, weak) id<BDSKTypeSelectDelegate> delegate;
@property (nonatomic) BOOL cyclesSimilarResults;
@property (nonatomic) BOOL matchesPrefix;
Modified: trunk/bibdesk/BDSKTypeTemplate.h
===================================================================
--- trunk/bibdesk/BDSKTypeTemplate.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKTypeTemplate.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -51,7 +51,7 @@
- (id)initWithPubType:(NSString *)aPubType requiredTokens:(NSArray *)required
optionalTokens:(NSArray *)optional;
-@property (nonatomic, retain) NSString *pubType;
+@property (nonatomic, strong) NSString *pubType;
@property (nonatomic, getter=isIncluded) BOOL included;
@property (nonatomic, getter=isDefaultTemplate) BOOL defaultTemplate;
@@ -61,7 +61,7 @@
@property (nonatomic, readonly) NSArray *requiredTokens;
@property (nonatomic, readonly) NSArray *optionalTokens;
-@property (nonatomic, retain) NSArray *itemTemplate;
+@property (nonatomic, strong) NSArray *itemTemplate;
@property (nonatomic, readonly) NSString *string;
- (NSAttributedString *)attributedStringWithDefaultAttributes:(NSDictionary
*)attributes;
Modified: trunk/bibdesk/BDSKURLGroup.h
===================================================================
--- trunk/bibdesk/BDSKURLGroup.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKURLGroup.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -53,6 +53,6 @@
- (id)initWithName:(NSString *)aName URL:(NSURL *)aURL;
- (id)initWithURL:(NSURL *)aURL;
-@property (nonatomic, retain) NSURL *URL;
+@property (nonatomic, strong) NSURL *URL;
@end
Modified: trunk/bibdesk/BDSKURLGroupSheetController.h
===================================================================
--- trunk/bibdesk/BDSKURLGroupSheetController.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKURLGroupSheetController.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -61,7 +61,7 @@
- (IBAction)chooseURL:(id)sender;
-@property (nonatomic, retain) NSString *urlString;
+@property (nonatomic, strong) NSString *urlString;
@property (nonatomic, readonly) NSURL *URL;
Modified: trunk/bibdesk/BDSKURLSheetController.h
===================================================================
--- trunk/bibdesk/BDSKURLSheetController.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKURLSheetController.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -48,7 +48,7 @@
@property (nonatomic, assign) IBOutlet NSButton *okButton;
@property (nonatomic, assign) IBOutlet NSButton *cancelButton;
-@property (nonatomic, retain) NSString *urlString;
+@property (nonatomic, strong) NSString *urlString;
@property (nonatomic, readonly) NSURL *URL;
Modified: trunk/bibdesk/BDSKUndoManager.h
===================================================================
--- trunk/bibdesk/BDSKUndoManager.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKUndoManager.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -46,9 +46,9 @@
@interface BDSKUndoManager : NSUndoManager {
- id<BDSKUndoManagerDelegate> delegate;
+ __weak id<BDSKUndoManagerDelegate> delegate;
}
-@property (nonatomic, assign) id<BDSKUndoManagerDelegate> delegate;
+@property (nonatomic, weak) id<BDSKUndoManagerDelegate> delegate;
@end
Modified: trunk/bibdesk/BDSKWebGroup.h
===================================================================
--- trunk/bibdesk/BDSKWebGroup.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKWebGroup.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -48,9 +48,9 @@
NSMapTable *frameInfo;
}
-@property (nonatomic, retain) NSString *label;
+@property (nonatomic, strong) NSString *label;
-@property (nonatomic, retain) NSURL *URL;
+@property (nonatomic, strong) NSURL *URL;
@property (nonatomic, readonly) BDSKWebView *webView;
Modified: trunk/bibdesk/BDSKWebGroupViewController.h
===================================================================
--- trunk/bibdesk/BDSKWebGroupViewController.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/BDSKWebGroupViewController.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -51,7 +51,7 @@
@property (nonatomic, assign) IBOutlet BDSKAddressTextField *urlField;
@property (nonatomic, assign) IBOutlet NSSegmentedControl *backForwardButton;
-@property (nonatomic, retain) BDSKWebView *webView;
+@property (nonatomic, strong) BDSKWebView *webView;
- (IBAction)changeURL:(id)sender;
- (IBAction)goBackForward:(id)sender;
Modified: trunk/bibdesk/BDSKWebParser.h
===================================================================
--- trunk/bibdesk/BDSKWebParser.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKWebParser.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -53,7 +53,7 @@
@interface BDSKWebParser : NSObject {
DOMDocument *domDocument;
NSURL *URL;
- id<BDSKWebParserDelegate> delegate;
+ __weak id<BDSKWebParserDelegate> delegate;
BOOL finishedStarting;
}
Modified: trunk/bibdesk/BDSKWebView.h
===================================================================
--- trunk/bibdesk/BDSKWebView.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKWebView.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -60,10 +60,10 @@
NSTimer *urlTimer;
}
-@property (nonatomic, assign) id<BDSKWebViewDelegate> delegate;
-@property (nonatomic, assign) id<BDSKWebViewNavigationDelegate>
navigationDelegate;
+@property (nonatomic, weak) id<BDSKWebViewDelegate> delegate;
+@property (nonatomic, weak) id<BDSKWebViewNavigationDelegate>
navigationDelegate;
-@property (nonatomic, retain) NSURL *URL;
+@property (nonatomic, strong) NSURL *URL;
- (IBAction)addBookmark:(id)sender;
- (IBAction)saveSource:(id)sender;
Modified: trunk/bibdesk/BDSKWebView.m
===================================================================
--- trunk/bibdesk/BDSKWebView.m 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKWebView.m 2023-12-31 16:32:01 UTC (rev 28493)
@@ -52,13 +52,13 @@
@interface BDSKWebDelegate : NSObject <WebFrameLoadDelegate,
WebPolicyDelegate, WebUIDelegate, WebEditingDelegate> {
- id <BDSKWebViewDelegate> delegate;
- id <BDSKWebViewNavigationDelegate> navigationDelegate;
+ __weak id <BDSKWebViewDelegate> delegate;
+ __weak id <BDSKWebViewNavigationDelegate> navigationDelegate;
NSUndoManager *undoManager;
}
-@property (nonatomic, assign) id<BDSKWebViewDelegate> delegate;
-@property (nonatomic, assign) id<BDSKWebViewNavigationDelegate>
navigationDelegate;
+@property (nonatomic, weak) id<BDSKWebViewDelegate> delegate;
+@property (nonatomic, weak) id<BDSKWebViewNavigationDelegate>
navigationDelegate;
@end
Modified: trunk/bibdesk/BDSKWrappingView.h
===================================================================
--- trunk/bibdesk/BDSKWrappingView.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKWrappingView.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -42,5 +42,5 @@
@interface BDSKWrappingView : NSView {
NSTextField *wrappingLabel;
}
-@property (nonatomic, retain) IBOutlet NSTextField *wrappingLabel;
+@property (nonatomic, strong) IBOutlet NSTextField *wrappingLabel;
@end
Modified: trunk/bibdesk/BDSKZoomGroupServer.h
===================================================================
--- trunk/bibdesk/BDSKZoomGroupServer.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BDSKZoomGroupServer.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -53,7 +53,7 @@
@interface BDSKZoomGroupServer : BDSKAsyncObject <BDSKSearchGroupServer>
{
- id<BDSKSearchGroup> group;
+ __weak id<BDSKSearchGroup> group;
ZOOMConnection *connection;
BDSKServerInfo *serverInfo;
_Atomic(NSInteger) availableResults;
@@ -64,5 +64,5 @@
}
+ (NSArray *)supportedRecordSyntaxes;
+ (ZOOMSyntaxType)zoomRecordSyntaxForRecordSyntaxString:(NSString *)syntax;
-@property (nonatomic, retain) NSString *errorMessage;
+@property (nonatomic, strong) NSString *errorMessage;
@end
Modified: trunk/bibdesk/BibAuthor.h
===================================================================
--- trunk/bibdesk/BibAuthor.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BibAuthor.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -65,7 +65,7 @@
NSString *abbreviatedName;
NSString *abbreviatedNormalizedName;
NSString *unpunctuatedAbbreviatedNormalizedName;
- BibItem *publication;
+ __weak BibItem *publication;
NSString *field;
@private
@@ -124,7 +124,7 @@
- (NSXMLElement *)MODSXMLElementWithRole:(NSString *)rel;
-@property (nonatomic, assign) BibItem *publication;
+@property (nonatomic, weak) BibItem *publication;
@property (nonatomic, readonly) NSString *field;
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BibDocument.m 2023-12-31 16:32:01 UTC (rev 28493)
@@ -180,7 +180,7 @@
}
@interface BibDocument ()
-@property (nonatomic, retain) NSString *basePath;
+@property (nonatomic, strong) NSString *basePath;
@end
@implementation BibDocument
Modified: trunk/bibdesk/BibDocument_Search.h
===================================================================
--- trunk/bibdesk/BibDocument_Search.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BibDocument_Search.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -44,7 +44,7 @@
@interface BibDocument (Search) <BDSKFileContentSearchControllerDelegate,
BDSKDocumentSearchDelegate, BDSKNotesSearchIndexDelegate>
-@property (nonatomic, retain) NSString *searchString;
+@property (nonatomic, strong) NSString *searchString;
- (IBAction)changeSearchType:(id)sender;
- (IBAction)search:(id)sender;
Modified: trunk/bibdesk/BibItem+Scripting.h
===================================================================
--- trunk/bibdesk/BibItem+Scripting.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BibItem+Scripting.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -66,9 +66,9 @@
@property (nonatomic, readonly, getter=isExternal) BOOL external;
-@property (nonatomic, retain) NSString *scriptingCiteKey;
+@property (nonatomic, strong) NSString *scriptingCiteKey;
-@property (nonatomic, retain) NSString*scriptingTitle;
+@property (nonatomic, strong) NSString*scriptingTitle;
// wrapping original methods
@property (nonatomic, readonly) NSDate *scriptingDate;
@@ -81,8 +81,8 @@
@property (nonatomic, copy) NSString *remoteURLString;
@property (nonatomic, copy) NSString *localURLString;
-@property (nonatomic, retain) NSString *abstract;
-@property (nonatomic, retain) NSString *annotation;
+@property (nonatomic, strong) NSString *abstract;
+@property (nonatomic, strong) NSString *annotation;
@property (nonatomic, copy) NSString *rssDescription;
@@ -91,13 +91,13 @@
@property (nonatomic, readonly) NSTextStorage *styledTextValue;
-@property (nonatomic, retain) NSString *keywordsString;
+@property (nonatomic, strong) NSString *keywordsString;
@property (nonatomic) NSInteger scriptingRating;
@property (nonatomic, readonly) NSScriptObjectSpecifier *objectSpecifier;
-@property (nonatomic, retain) BibItem *scriptingCrossrefParent;
+@property (nonatomic, strong) BibItem *scriptingCrossrefParent;
- (void)handleShowScriptCommand:(NSScriptCommand *)command;
- (id)handleAutoFileScriptCommand:(NSScriptCommand *)command;
Modified: trunk/bibdesk/BibItem.h
===================================================================
--- trunk/bibdesk/BibItem.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BibItem.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -113,7 +113,7 @@
BOOL hasEditedCiteKey;
NSMutableSet *filesToBeFiled;
BOOL localUrlNeedsToBeFiled;
- id<BDSKOwner> owner;
+ __weak id<BDSKOwner> owner;
BDSKMacroResolver *macroResolver;
BDSKFieldCollection *templateFields;
NSInteger itemIndex;
@@ -204,9 +204,9 @@
*/
- (void)dealloc;
-@property (nonatomic, assign) id<BDSKOwner> owner;
+@property (nonatomic, weak) id<BDSKOwner> owner;
-@property (nonatomic, retain) BDSKMacroResolver *macroResolver;
+@property (nonatomic, strong) BDSKMacroResolver *macroResolver;
@property (nonatomic, readonly) NSUndoManager *undoManager;
@@ -219,7 +219,7 @@
- (BOOL)isIdenticalToItem:(BibItem *)aBI;
// accessors for fileorder
-@property (nonatomic, retain) NSNumber *fileOrder;
+@property (nonatomic, strong) NSNumber *fileOrder;
/* Methods for handling people objects (BibAuthors) which may be any people
type (Author, Editor, etc.)
*/
@@ -468,7 +468,7 @@
@abstract Returns the publication type.
@discussion -
*/
-@property (nonatomic, retain) NSString *pubType;
+@property (nonatomic, strong) NSString *pubType;
/*!
@method rating
@@ -477,7 +477,7 @@
*/
@property (nonatomic) NSUInteger rating;
-@property (nonatomic, retain) NSColor *color;
+@property (nonatomic, strong) NSColor *color;
/*!
@method setField:toRatingValue:
@@ -627,7 +627,7 @@
@abstract returns the cite key, sets a suggested cite key if
undefined.
@discussion -
*/
-@property (nonatomic, retain) NSString *citeKey;
+@property (nonatomic, strong) NSString *citeKey;
@property (nonatomic, copy) NSDictionary *pubFields;
Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BibItem.m 2023-12-31 16:32:01 UTC (rev 28493)
@@ -96,8 +96,8 @@
@interface BibItem ()
-@property (nonatomic, retain) NSDate *dateAdded;
-@property (nonatomic, retain) NSDate *dateModified;
+@property (nonatomic, strong) NSDate *dateAdded;
+@property (nonatomic, strong) NSDate *dateModified;
@end
Modified: trunk/bibdesk/BibPref_ScriptHooks.h
===================================================================
--- trunk/bibdesk/BibPref_ScriptHooks.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/BibPref_ScriptHooks.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -67,7 +67,7 @@
@property (nonatomic, readonly) NSString *name;
@property (nonatomic, readonly) NSString *localizedName;
-@property (nonatomic, retain) NSString *path;
+@property (nonatomic, strong) NSString *path;
@property (nonatomic, readonly) NSString *abbreviatedPath;
@property (nonatomic, readonly) NSImage *icon;
@property (nonatomic, readonly) NSString *toolTip;
Modified: trunk/bibdesk/Configurations/BibDesk-Common.xcconfig
===================================================================
--- trunk/bibdesk/Configurations/BibDesk-Common.xcconfig 2023-12-31
16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/Configurations/BibDesk-Common.xcconfig 2023-12-31
16:32:01 UTC (rev 28493)
@@ -20,6 +20,8 @@
LD_RUNPATH_SEARCH_PATHS = @loader_path/../Frameworks
+CLANG_ENABLE_OBJC_WEAK = YES
+
GCC_DYNAMIC_NO_PIC = NO
GCC_ENABLE_OBJC_EXCEPTIONS = YES
Modified: trunk/bibdesk/WOKMWSAuthenticateService.h
===================================================================
--- trunk/bibdesk/WOKMWSAuthenticateService.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/WOKMWSAuthenticateService.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -7,7 +7,7 @@
@interface WOKMWSAuthenticateService_authenticateResponse :
BDSKSoapBindingElement {
NSString * return_;
}
-@property (nonatomic, retain) NSString * return_;
+@property (nonatomic, strong) NSString * return_;
@end
@interface WOKMWSAuthenticateService_closeSession : BDSKSoapBindingRequest
Modified: trunk/bibdesk/WokSearchLiteService.h
===================================================================
--- trunk/bibdesk/WokSearchLiteService.h 2023-12-31 16:31:37 UTC (rev
28492)
+++ trunk/bibdesk/WokSearchLiteService.h 2023-12-31 16:32:01 UTC (rev
28493)
@@ -5,8 +5,8 @@
NSString * name;
NSString * sort;
}
-@property (nonatomic, retain) NSString * name;
-@property (nonatomic, retain) NSString * sort;
+@property (nonatomic, strong) NSString * name;
+@property (nonatomic, strong) NSString * sort;
@end
@interface WokSearchLiteService_retrieveParameters : BDSKSoapBindingElement {
@@ -14,8 +14,8 @@
NSNumber * count;
NSMutableArray *sortField;
}
-@property (nonatomic, retain) NSNumber * firstRecord;
-@property (nonatomic, retain) NSNumber * count;
+@property (nonatomic, strong) NSNumber * firstRecord;
+@property (nonatomic, strong) NSNumber * count;
- (void)addSortField:(WokSearchLiteService_sortField *)toAdd;
@property (nonatomic, readonly) NSMutableArray * sortField;
@end
@@ -23,13 +23,13 @@
@interface WokSearchLiteServiceRequest : BDSKSoapBindingRequest {
WokSearchLiteService_retrieveParameters * retrieveParameters;
}
-@property (nonatomic, retain) WokSearchLiteService_retrieveParameters *
retrieveParameters;
+@property (nonatomic, strong) WokSearchLiteService_retrieveParameters *
retrieveParameters;
@end
@interface WokSearchLiteService_retrieve : WokSearchLiteServiceRequest {
NSString * queryId;
}
-@property (nonatomic, retain) NSString * queryId;
+@property (nonatomic, strong) NSString * queryId;
@end
@interface WokSearchLiteService_labelValuesPair : BDSKSoapBindingElement {
@@ -36,7 +36,7 @@
NSString * label;
NSMutableArray *value;
}
-@property (nonatomic, retain) NSString * label;
+@property (nonatomic, strong) NSString * label;
- (void)addValue:(NSString *)toAdd;
@property (nonatomic, readonly) NSMutableArray * value;
@end
@@ -49,7 +49,7 @@
NSMutableArray *keywords;
NSMutableArray *other;
}
-@property (nonatomic, retain) NSString * uid;
+@property (nonatomic, strong) NSString * uid;
- (void)addTitle:(WokSearchLiteService_labelValuesPair *)toAdd;
@property (nonatomic, readonly) NSMutableArray * title;
- (void)addSource:(WokSearchLiteService_labelValuesPair *)toAdd;
@@ -69,10 +69,10 @@
WokSearchLiteService_liteRecord * parent;
NSMutableArray *records;
}
-@property (nonatomic, retain) NSString * queryId;
-@property (nonatomic, retain) NSNumber * recordsFound;
-@property (nonatomic, retain) NSNumber * recordsSearched;
-@property (nonatomic, retain) WokSearchLiteService_liteRecord * parent;
+@property (nonatomic, strong) NSString * queryId;
+@property (nonatomic, strong) NSNumber * recordsFound;
+@property (nonatomic, strong) NSNumber * recordsSearched;
+@property (nonatomic, strong) WokSearchLiteService_liteRecord * parent;
- (void)addRecords:(WokSearchLiteService_liteRecord *)toAdd;
@property (nonatomic, readonly) NSMutableArray * records;
@end
@@ -80,7 +80,7 @@
@interface WokSearchLiteService_retrieveResponse : BDSKSoapBindingElement {
WokSearchLiteService_searchResults * return_;
}
-@property (nonatomic, retain) WokSearchLiteService_searchResults * return_;
+@property (nonatomic, strong) WokSearchLiteService_searchResults * return_;
@end
@interface WokSearchLiteService_retrieveById : WokSearchLiteServiceRequest {
@@ -88,16 +88,16 @@
NSMutableArray *uid;
NSString * queryLanguage;
}
-@property (nonatomic, retain) NSString * databaseId;
+@property (nonatomic, strong) NSString * databaseId;
- (void)addUid:(NSString *)toAdd;
@property (nonatomic, readonly) NSMutableArray * uid;
-@property (nonatomic, retain) NSString * queryLanguage;
+@property (nonatomic, strong) NSString * queryLanguage;
@end
@interface WokSearchLiteService_retrieveByIdResponse : BDSKSoapBindingElement {
WokSearchLiteService_searchResults * return_;
}
-@property (nonatomic, retain) WokSearchLiteService_searchResults * return_;
+@property (nonatomic, strong) WokSearchLiteService_searchResults * return_;
@end
@interface WokSearchLiteService_editionDesc : BDSKSoapBindingElement {
@@ -104,8 +104,8 @@
NSString * collection;
NSString * edition;
}
-@property (nonatomic, retain) NSString * collection;
-@property (nonatomic, retain) NSString * edition;
+@property (nonatomic, strong) NSString * collection;
+@property (nonatomic, strong) NSString * edition;
@end
@interface WokSearchLiteService_timeSpan : BDSKSoapBindingElement {
@@ -112,8 +112,8 @@
NSString * begin;
NSString * end;
}
-@property (nonatomic, retain) NSString * begin;
-@property (nonatomic, retain) NSString * end;
+@property (nonatomic, strong) NSString * begin;
+@property (nonatomic, strong) NSString * end;
@end
@interface WokSearchLiteService_queryParameters : BDSKSoapBindingElement {
@@ -124,25 +124,25 @@
WokSearchLiteService_timeSpan * timeSpan;
NSString * queryLanguage;
}
-@property (nonatomic, retain) NSString * databaseId;
-@property (nonatomic, retain) NSString * userQuery;
+@property (nonatomic, strong) NSString * databaseId;
+@property (nonatomic, strong) NSString * userQuery;
- (void)addEditions:(WokSearchLiteService_editionDesc *)toAdd;
@property (nonatomic, readonly) NSMutableArray * editions;
-@property (nonatomic, retain) NSString * symbolicTimeSpan;
-@property (nonatomic, retain) WokSearchLiteService_timeSpan * timeSpan;
-@property (nonatomic, retain) NSString * queryLanguage;
+@property (nonatomic, strong) NSString * symbolicTimeSpan;
+@property (nonatomic, strong) WokSearchLiteService_timeSpan * timeSpan;
+@property (nonatomic, strong) NSString * queryLanguage;
@end
@interface WokSearchLiteService_search : WokSearchLiteServiceRequest {
WokSearchLiteService_queryParameters * queryParameters;
}
-@property (nonatomic, retain) WokSearchLiteService_queryParameters *
queryParameters;
+@property (nonatomic, strong) WokSearchLiteService_queryParameters *
queryParameters;
@end
@interface WokSearchLiteService_searchResponse : BDSKSoapBindingElement {
WokSearchLiteService_searchResults * return_;
}
-@property (nonatomic, retain) WokSearchLiteService_searchResults * return_;
+@property (nonatomic, strong) WokSearchLiteService_searchResults * return_;
@end
@interface WokSearchLiteService : BDSKSoapBinding
Modified: trunk/bibdesk/WokSearchService.h
===================================================================
--- trunk/bibdesk/WokSearchService.h 2023-12-31 16:31:37 UTC (rev 28492)
+++ trunk/bibdesk/WokSearchService.h 2023-12-31 16:32:01 UTC (rev 28493)
@@ -6,8 +6,8 @@
NSString * name;
NSString * sort;
}
-@property (nonatomic, retain) NSString * name;
-@property (nonatomic, retain) NSString * sort;
+@property (nonatomic, strong) NSString * name;
+@property (nonatomic, strong) NSString * sort;
@end
@interface WokSearchService_viewField : BDSKSoapBindingElement {
@@ -14,7 +14,7 @@
NSString * collectionName;
NSMutableArray *fieldName;
}
-@property (nonatomic, retain) NSString * collectionName;
+@property (nonatomic, strong) NSString * collectionName;
- (void)addFieldName:(NSString *)toAdd;
@property (nonatomic, readonly) NSMutableArray * fieldName;
@end
@@ -23,8 +23,8 @@
NSString * key;
NSString * value;
}
-@property (nonatomic, retain) NSString * key;
-@property (nonatomic, retain) NSString * value;
+@property (nonatomic, strong) NSString * key;
+@property (nonatomic, strong) NSString * value;
@end
@interface WokSearchService_retrieveParameters : BDSKSoapBindingElement {
@@ -34,8 +34,8 @@
NSMutableArray *viewField;
NSMutableArray *option;
}
-@property (nonatomic, retain) NSNumber * firstRecord;
-@property (nonatomic, retain) NSNumber * count;
+@property (nonatomic, strong) NSNumber * firstRecord;
+@property (nonatomic, strong) NSNumber * count;
- (void)addSortField:(WokSearchService_sortField *)toAdd;
@property (nonatomic, readonly) NSMutableArray * sortField;
- (void)addViewField:(WokSearchService_viewField *)toAdd;
@@ -47,7 +47,7 @@
@interface WokSearchServiceRequest : BDSKSoapBindingRequest {
WokSearchService_retrieveParameters * retrieveParameters;
}
-@property (nonatomic, retain) WokSearchService_retrieveParameters *
retrieveParameters;
+@property (nonatomic, strong) WokSearchService_retrieveParameters *
retrieveParameters;
@end
@interface WokSearchService_citedReferences : WokSearchServiceRequest {
@@ -55,9 +55,9 @@
NSString * uid;
NSString * queryLanguage;
}
-@property (nonatomic, retain) NSString * databaseId;
-@property (nonatomic, retain) NSString * uid;
-@property (nonatomic, retain) NSString * queryLanguage;
+@property (nonatomic, strong) NSString * databaseId;
+@property (nonatomic, strong) NSString * uid;
+@property (nonatomic, strong) NSString * queryLanguage;
@end
@interface WokSearchService_citedReference : BDSKSoapBindingElement {
@@ -73,17 +73,17 @@
NSString * citedWork;
NSString * hot;
}
-@property (nonatomic, retain) NSString * uid;
-@property (nonatomic, retain) NSString * docid;
-@property (nonatomic, retain) NSString * articleId;
-@property (nonatomic, retain) NSString * citedAuthor;
-@property (nonatomic, retain) NSString * timesCited;
-@property (nonatomic, retain) NSString * year;
-@property (nonatomic, retain) NSString * page;
-@property (nonatomic, retain) NSString * volume;
-@property (nonatomic, retain) NSString * citedTitle;
-@property (nonatomic, retain) NSString * citedWork;
-@property (nonatomic, retain) NSString * hot;
+@property (nonatomic, strong) NSString * uid;
+@property (nonatomic, strong) NSString * docid;
+@property (nonatomic, strong) NSString * articleId;
+@property (nonatomic, strong) NSString * citedAuthor;
+@property (nonatomic, strong) NSString * timesCited;
+@property (nonatomic, strong) NSString * year;
+@property (nonatomic, strong) NSString * page;
+@property (nonatomic, strong) NSString * volume;
+@property (nonatomic, strong) NSString * citedTitle;
+@property (nonatomic, strong) NSString * citedWork;
+@property (nonatomic, strong) NSString * hot;
@end
@interface WokSearchService_citedReferencesSearchResults :
BDSKSoapBindingElement {
@@ -92,23 +92,23 @@
NSNumber * recordsFound;
NSNumber * recordsSearched;
}
-@property (nonatomic, retain) NSString * queryId;
+@property (nonatomic, strong) NSString * queryId;
- (void)addReferences:(WokSearchService_citedReference *)toAdd;
@property (nonatomic, readonly) NSMutableArray * references;
-@property (nonatomic, retain) NSNumber * recordsFound;
-@property (nonatomic, retain) NSNumber * recordsSearched;
+@property (nonatomic, strong) NSNumber * recordsFound;
+@property (nonatomic, strong) NSNumber * recordsSearched;
@end
@interface WokSearchService_citedReferencesResponse : BDSKSoapBindingElement {
WokSearchService_citedReferencesSearchResults * return_;
}
-@property (nonatomic, retain) WokSearchService_citedReferencesSearchResults *
return_;
+@property (nonatomic, strong) WokSearchService_citedReferencesSearchResults *
return_;
@end
@interface WokSearchService_citedReferencesRetrieve : WokSearchServiceRequest {
NSString * queryId;
}
-@property (nonatomic, retain) NSString * queryId;
+@property (nonatomic, strong) NSString * queryId;
@end
@interface WokSearchService_citedReferencesRetrieveResponse :
BDSKSoapBindingElement {
@@ -122,8 +122,8 @@
NSString * collection;
NSString * edition;
}
-@property (nonatomic, retain) NSString * collection;
-@property (nonatomic, retain) NSString * edition;
+@property (nonatomic, strong) NSString * collection;
+@property (nonatomic, strong) NSString * edition;
@end
@interface WokSearchService_timeSpan : BDSKSoapBindingElement {
@@ -130,8 +130,8 @@
NSString * begin;
NSString * end;
}
-@property (nonatomic, retain) NSString * begin;
-@property (nonatomic, retain) NSString * end;
+@property (nonatomic, strong) NSString * begin;
+@property (nonatomic, strong) NSString * end;
@end
@interface WokSearchService_citingArticles : WokSearchServiceRequest {
@@ -141,12 +141,12 @@
WokSearchService_timeSpan * timeSpan;
NSString * queryLanguage;
}
-@property (nonatomic, retain) NSString * databaseId;
-@property (nonatomic, retain) NSString * uid;
+@property (nonatomic, strong) NSString * databaseId;
+@property (nonatomic, strong) NSString * uid;
- (void)addEditions:(WokSearchService_editionDesc *)toAdd;
@property (nonatomic, readonly) NSMutableArray * editions;
-@property (nonatomic, retain) WokSearchService_timeSpan * timeSpan;
-@property (nonatomic, retain) NSString * queryLanguage;
+@property (nonatomic, strong) WokSearchService_timeSpan * timeSpan;
+@property (nonatomic, strong) NSString * queryLanguage;
@end
@interface WokSearchService_labelValuesPair : BDSKSoapBindingElement {
@@ -153,7 +153,7 @@
NSString * label;
NSMutableArray *value;
}
-@property (nonatomic, retain) NSString * label;
+@property (nonatomic, strong) NSString * label;
- (void)addValue:(NSString *)toAdd;
@property (nonatomic, readonly) NSMutableArray * value;
@end
@@ -166,19 +166,19 @@
NSMutableArray *optionValue;
NSString * records;
}
-@property (nonatomic, retain) NSString * queryId;
-@property (nonatomic, retain) NSNumber * recordsFound;
-@property (nonatomic, retain) NSNumber * recordsSearched;
-@property (nonatomic, retain) NSString * parent;
+@property (nonatomic, strong) NSString * queryId;
+@property (nonatomic, strong) NSNumber * recordsFound;
+@property (nonatomic, strong) NSNumber * recordsSearched;
+@property (nonatomic, strong) NSString * parent;
- (void)addOptionValue:(WokSearchService_labelValuesPair *)toAdd;
@property (nonatomic, readonly) NSMutableArray * optionValue;
-@property (nonatomic, retain) NSString * records;
+@property (nonatomic, strong) NSString * records;
@end
@interface WokSearchService_citingArticlesResponse : BDSKSoapBindingElement {
WokSearchService_fullRecordSearchResults * return_;
}
-@property (nonatomic, retain) WokSearchService_fullRecordSearchResults *
return_;
+@property (nonatomic, strong) WokSearchService_fullRecordSearchResults *
return_;
@end
@interface WokSearchService_relatedRecords : WokSearchServiceRequest {
@@ -188,24 +188,24 @@
WokSearchService_timeSpan * timeSpan;
NSString * queryLanguage;
}
-@property (nonatomic, retain) NSString * databaseId;
-@property (nonatomic, retain) NSString * uid;
+@property (nonatomic, strong) NSString * databaseId;
+@property (nonatomic, strong) NSString * uid;
- (void)addEditions:(WokSearchService_editionDesc *)toAdd;
@property (nonatomic, readonly) NSMutableArray * editions;
-@property (nonatomic, retain) WokSearchService_timeSpan * timeSpan;
-@property (nonatomic, retain) NSString * queryLanguage;
+@property (nonatomic, strong) WokSearchService_timeSpan * timeSpan;
+@property (nonatomic, strong) NSString * queryLanguage;
@end
@interface WokSearchService_relatedRecordsResponse : BDSKSoapBindingElement {
WokSearchService_fullRecordSearchResults * return_;
}
-@property (nonatomic, retain) WokSearchService_fullRecordSearchResults *
return_;
+@property (nonatomic, strong) WokSearchService_fullRecordSearchResults *
return_;
@end
@interface WokSearchService_retrieve : WokSearchServiceRequest {
NSString * queryId;
}
-@property (nonatomic, retain) NSString * queryId;
+@property (nonatomic, strong) NSString * queryId;
@end
@interface WokSearchService_fullRecordData : BDSKSoapBindingElement {
@@ -214,13 +214,13 @@
}
- (void)addOptionValue:(WokSearchService_labelValuesPair *)toAdd;
@property (nonatomic, readonly) NSMutableArray * optionValue;
-@property (nonatomic, retain) NSString * records;
+@property (nonatomic, strong) NSString * records;
@end
@interface WokSearchService_retrieveResponse : BDSKSoapBindingElement {
WokSearchService_fullRecordData * return_;
}
-@property (nonatomic, retain) WokSearchService_fullRecordData * return_;
+@property (nonatomic, strong) WokSearchService_fullRecordData * return_;
@end
@interface WokSearchService_retrieveById : WokSearchServiceRequest {
@@ -228,16 +228,16 @@
NSMutableArray *uid;
NSString * queryLanguage;
}
-@property (nonatomic, retain) NSString * databaseId;
+@property (nonatomic, strong) NSString * databaseId;
- (void)addUid:(NSString *)toAdd;
@property (nonatomic, readonly) NSMutableArray * uid;
-@property (nonatomic, retain) NSString * queryLanguage;
+@property (nonatomic, strong) NSString * queryLanguage;
@end
@interface WokSearchService_retrieveByIdResponse : BDSKSoapBindingElement {
WokSearchService_fullRecordSearchResults * return_;
}
-@property (nonatomic, retain) WokSearchService_fullRecordSearchResults *
return_;
+@property (nonatomic, strong) WokSearchService_fullRecordSearchResults *
return_;
@end
@interface WokSearchService_queryParameters : BDSKSoapBindingElement {
@@ -248,25 +248,25 @@
WokSearchService_timeSpan * timeSpan;
NSString * queryLanguage;
}
-@property (nonatomic, retain) NSString * databaseId;
-@property (nonatomic, retain) NSString * userQuery;
+@property (nonatomic, strong) NSString * databaseId;
+@property (nonatomic, strong) NSString * userQuery;
- (void)addEditions:(WokSearchService_editionDesc *)toAdd;
@property (nonatomic, readonly) NSMutableArray * editions;
-@property (nonatomic, retain) NSString * symbolicTimeSpan;
-@property (nonatomic, retain) WokSearchService_timeSpan * timeSpan;
-@property (nonatomic, retain) NSString * queryLanguage;
+@property (nonatomic, strong) NSString * symbolicTimeSpan;
+@property (nonatomic, strong) WokSearchService_timeSpan * timeSpan;
+@property (nonatomic, strong) NSString * queryLanguage;
@end
@interface WokSearchService_search : WokSearchServiceRequest {
WokSearchService_queryParameters * queryParameters;
}
-@property (nonatomic, retain) WokSearchService_queryParameters *
queryParameters;
+@property (nonatomic, strong) WokSearchService_queryParameters *
queryParameters;
@end
@interface WokSearchService_searchResponse : BDSKSoapBindingElement {
WokSearchService_fullRecordSearchResults * return_;
}
-@property (nonatomic, retain) WokSearchService_fullRecordSearchResults *
return_;
+@property (nonatomic, strong) WokSearchService_fullRecordSearchResults *
return_;
@end
@interface WokSearchService : BDSKSoapBinding
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