Permalink
Browse files

make all properties nonatomic

  • Loading branch information...
1 parent da20a15 commit 507ba8b2a79325fd3802eae28356b6d5ae506dab @martinh martinh committed Jun 8, 2011
View
@@ -111,19 +111,19 @@ struct ex_address
intoAddress:(struct ex_address *)addr1
otherAddress:(struct ex_address *)addr2;
-@property(readonly) int naddr;
-@property(readonly) struct ex_address *addr1;
-@property(readonly) struct ex_address *addr2;
-@property(readonly) struct ex_address *line;
-@property(readonly) struct ex_command *command;
-@property(readonly) unsigned flags;
-@property(readonly) NSString *name;
-@property(readonly) NSString *filename;
-@property(readonly) NSString *string;
-@property(readonly) NSString *method;
-@property(readonly) NSString *plus_command;
-@property(readonly) NSString *pattern;
-@property(readonly) NSString *replacement;
-@property(readonly) NSArray *words;
+@property(nonatomic,readonly) int naddr;
+@property(nonatomic,readonly) struct ex_address *addr1;
+@property(nonatomic,readonly) struct ex_address *addr2;
+@property(nonatomic,readonly) struct ex_address *line;
+@property(nonatomic,readonly) struct ex_command *command;
+@property(nonatomic,readonly) unsigned flags;
+@property(nonatomic,readonly) NSString *name;
+@property(nonatomic,readonly) NSString *filename;
+@property(nonatomic,readonly) NSString *string;
+@property(nonatomic,readonly) NSString *method;
+@property(nonatomic,readonly) NSString *plus_command;
+@property(nonatomic,readonly) NSString *pattern;
+@property(nonatomic,readonly) NSString *replacement;
+@property(nonatomic,readonly) NSArray *words;
@end
View
@@ -40,8 +40,8 @@
void *exContextInfo;
}
-@property(readonly) NSURL *baseURL;
-@property(readonly) NSWindow *window;
+@property(nonatomic,readonly) NSURL *baseURL;
+@property(nonatomic,readonly) NSWindow *window;
- (void)message:(NSString *)fmt, ...;
View
@@ -2,6 +2,6 @@
{
NSImage *image;
}
-@property(readwrite,assign) NSImage *image;
+@property(nonatomic,readwrite,assign) NSImage *image;
@end
@@ -20,4 +20,4 @@
- (void)update;
-@end
+@end
View
@@ -26,4 +26,4 @@
// tracking rect for mouse events
- (void)addTrackingRect;
- (void)removeTrackingRect;
-@end
+@end
View
@@ -79,9 +79,9 @@ enum {
IBOutlet id delegate;
}
-@property(readwrite, assign) NSTabView *tabView;
-@property(readwrite, assign) id delegate;
-@property(readwrite, assign) id partnerView;
+@property(nonatomic,readwrite, assign) NSTabView *tabView;
+@property(nonatomic,readwrite, assign) id delegate;
+@property(nonatomic,readwrite, assign) id partnerView;
// control characteristics
+ (NSBundle *)bundle;
View
@@ -49,4 +49,4 @@ Protocol to be observed by all style delegate objects. These objects handle the
- (NSMutableArray *)cells;
-@end
+@end
View
@@ -21,10 +21,10 @@
BOOL nameIsDirty, iconIsDirty;
BOOL isDirectory;
}
-@property(readwrite, assign) double score;
-@property(readonly) NSURL *url;
-@property(readwrite, assign) NSMutableArray *children;
-@property(readonly) BOOL isDirectory;
+@property(nonatomic,readwrite, assign) double score;
+@property(nonatomic,readonly) NSURL *url;
+@property(nonatomic,readwrite, assign) NSMutableArray *children;
+@property(nonatomic,readonly) BOOL isDirectory;
- (void)setURL:(NSURL *)aURL;
- (BOOL)hasCachedChildren;
- (NSString *)name;
@@ -73,7 +73,7 @@
ViJumpList *history;
}
-@property(readwrite,assign) id delegate;
+@property(nonatomic,readwrite,assign) id delegate;
- (void)browseURL:(NSURL *)aURL andDisplay:(BOOL)display;
- (void)browseURL:(NSURL *)aURL;
View
@@ -182,9 +182,9 @@
uint32_t exts;
}
-@property(readonly) NSString *host;
-@property(readonly) NSString *user;
-@property(readonly) NSString *home;
+@property(nonatomic,readonly) NSString *host;
+@property(nonatomic,readonly) NSString *user;
+@property(nonatomic,readonly) NSString *home;
- (SFTPConnection *)initWithURL:(NSURL *)url error:(NSError **)outError;
- (SFTPRequest *)onConnect:(void (^)(NSError *))responseCallback;
View
@@ -39,7 +39,7 @@ additionalBindings:(NSDictionary *)bindings
NSWindow *menuTrackedKeyWindow;
}
-@property(readonly) NSMenu *encodingMenu;
+@property(nonatomic,readonly) NSMenu *encodingMenu;
@property (readonly) TISInputSourceRef original_input_source;
- (void)exportGlobals:(id)parser;
View
@@ -2,5 +2,5 @@
{
BOOL sourceHighlight;
}
-@property(readwrite) BOOL sourceHighlight;
+@property(nonatomic,readwrite) BOOL sourceHighlight;
@end
View
@@ -36,8 +36,8 @@
hasSelection:(BOOL)hasSelection
font:(NSFont *)aFont;
-@property(readonly) NSMutableArray *languages;
-@property(readonly) NSString *path;
-@property(readonly) NSArray *items;
+@property(nonatomic,readonly) NSMutableArray *languages;
+@property(nonatomic,readonly) NSString *path;
+@property(nonatomic,readonly) NSArray *items;
@end
View
@@ -10,12 +10,12 @@
NSString *htmlMode;
}
-@property(readonly) NSString *input;
-@property(readonly) NSString *output;
-@property(readonly) NSString *fallbackInput;
-@property(readonly) NSString *beforeRunningCommand;
-@property(readonly) NSString *command;
-@property(readonly) NSString *htmlMode;
+@property(nonatomic,readonly) NSString *input;
+@property(nonatomic,readonly) NSString *output;
+@property(nonatomic,readonly) NSString *fallbackInput;
+@property(nonatomic,readonly) NSString *beforeRunningCommand;
+@property(nonatomic,readonly) NSString *command;
+@property(nonatomic,readonly) NSString *htmlMode;
- (ViBundleCommand *)initFromDictionary:(NSDictionary *)dict inBundle:(ViBundle *)aBundle;
View
@@ -18,15 +18,15 @@
NSInteger keyCode;
}
-@property(readonly) ViBundle *bundle;
-@property(readonly) NSString *uuid;
-@property(readonly) NSString *name;
-@property(readonly) NSString *scope;
-@property(readonly) ViMode mode;
-@property(readonly) NSString *keyEquivalent;
-@property(readonly) NSUInteger modifierMask;
-@property(readonly) NSInteger keyCode;
-@property(readonly) NSString *tabTrigger;
+@property(nonatomic,readonly) ViBundle *bundle;
+@property(nonatomic,readonly) NSString *uuid;
+@property(nonatomic,readonly) NSString *name;
+@property(nonatomic,readonly) NSString *scope;
+@property(nonatomic,readonly) ViMode mode;
+@property(nonatomic,readonly) NSString *keyEquivalent;
+@property(nonatomic,readonly) NSUInteger modifierMask;
+@property(nonatomic,readonly) NSInteger keyCode;
+@property(nonatomic,readonly) NSString *tabTrigger;
- (ViBundleItem *)initFromDictionary:(NSDictionary *)dict
inBundle:(ViBundle *)aBundle;
View
@@ -5,7 +5,7 @@
NSString *content;
}
-@property(readonly) NSString *content;
+@property(nonatomic,readonly) NSString *content;
- (ViBundleSnippet *)initFromDictionary:(NSDictionary *)dict inBundle:(ViBundle *)aBundle;
@@ -18,4 +18,4 @@
- (id)initWithTitle:(NSString *)aTitle command:(NSString *)aCommand font:(NSFont *)aFont;
- (id)initWithTitle:(NSString *)aTitle tabTrigger:(NSString *)aTabTrigger font:(NSFont *)aFont;
-@end
+@end
@@ -9,7 +9,7 @@
NSWindow *window;
}
-@property(readwrite, assign) ViDocumentTabController *tabController;
+@property(nonatomic,readwrite, assign) ViDocumentTabController *tabController;
- (ViCommandOutputController *)initWithHTMLString:(NSString *)content
environment:(ExEnvironment *)environment;
View
@@ -52,15 +52,15 @@
void *didSaveContext;
}
-@property(readwrite, assign) ViSnippet *snippet;
-@property(readonly) NSSet *views;
-@property(readonly) ViBundle *bundle;
-@property(readwrite, assign) NSArray *symbols;
-@property(readwrite, assign) NSArray *filteredSymbols;
-@property(readonly) NSStringEncoding encoding;
-@property(readwrite, assign) BOOL isTemporary;
-@property(readonly) ViScriptProxy *proxy;
-@property(readwrite) BOOL busy;
+@property(nonatomic,readwrite, assign) ViSnippet *snippet;
+@property(nonatomic,readonly) NSSet *views;
+@property(nonatomic,readonly) ViBundle *bundle;
+@property(nonatomic,readwrite, assign) NSArray *symbols;
+@property(nonatomic,readwrite, assign) NSArray *filteredSymbols;
+@property(nonatomic,readonly) NSStringEncoding encoding;
+@property(nonatomic,readwrite, assign) BOOL isTemporary;
+@property(nonatomic,readonly) ViScriptProxy *proxy;
+@property(nonatomic,readwrite) BOOL busy;
@property (readonly) id<ViDeferred> loader;
- (void)message:(NSString *)fmt, ...;
@@ -11,10 +11,10 @@ enum ViViewOrderingMode {
};
@protocol ViViewController <NSObject>
-@property(readwrite, assign) NSWindow *window;
-@property(readonly) NSView *view;
-@property(readonly) NSView *innerView;
-@property(readwrite, assign) ViDocumentTabController *tabController;
+@property(nonatomic,readwrite, assign) NSWindow *window;
+@property(nonatomic,readonly) NSView *view;
+@property(nonatomic,readonly) NSView *innerView;
+@property(nonatomic,readwrite, assign) ViDocumentTabController *tabController;
- (NSString *)title;
@end
@@ -31,9 +31,9 @@ enum ViViewOrderingMode {
id<ViViewController> previousView;
}
-@property(readonly) NSArray *views;
-@property(readwrite, assign) id<ViViewController> selectedView;
-@property(readwrite, assign) id<ViViewController> previousView;
+@property(nonatomic,readonly) NSArray *views;
+@property(nonatomic,readwrite, assign) id<ViViewController> selectedView;
+@property(nonatomic,readwrite, assign) id<ViViewController> previousView;
- (id)initWithViewController:(id<ViViewController>)initialView;
- (void)addView:(id<ViViewController>)aView;
View
@@ -13,10 +13,10 @@
NSWindow *window;
}
-@property(readonly) ViDocument *document;
-@property(readonly) NSView *view;
-@property(readonly) NSView *innerView;
-@property(readwrite, assign) ViDocumentTabController *tabController;
+@property(nonatomic,readonly) ViDocument *document;
+@property(nonatomic,readonly) NSView *view;
+@property(nonatomic,readonly) NSView *innerView;
+@property(nonatomic,readwrite, assign) ViDocumentTabController *tabController;
- (ViDocumentView *)initWithDocument:(ViDocument *)aDocument;
- (ViTextView *)textView;
View
@@ -5,4 +5,4 @@
NSFileManager *fm;
}
-@end
+@end
View
@@ -21,4 +21,4 @@
@interface ViHTTPURLHandler : NSObject <ViURLHandler>
{
}
-@end
+@end
View
@@ -12,10 +12,10 @@
NSUInteger line, column;
__weak NSView *view;
}
-@property(readonly, assign) NSURL *url;
-@property(readonly) NSUInteger line;
-@property(readonly) NSUInteger column;
-@property(readonly, assign) __weak NSView *view;
+@property(nonatomic,readonly, assign) NSURL *url;
+@property(nonatomic,readonly) NSUInteger line;
+@property(nonatomic,readonly) NSUInteger column;
+@property(nonatomic,readonly, assign) __weak NSView *view;
- (ViJump *)initWithURL:(NSURL *)aURL
line:(NSUInteger)aLine
column:(NSUInteger)aColumn
@@ -28,7 +28,7 @@
NSInteger position;
id<ViJumpListDelegate> delegate;
}
-@property(readwrite, assign) id<ViJumpListDelegate> delegate;
+@property(nonatomic,readwrite, assign) id<ViJumpListDelegate> delegate;
- (BOOL)pushURL:(NSURL *)url
line:(NSUInteger)line
column:(NSUInteger)column
View
@@ -10,7 +10,7 @@
BOOL compiled;
}
-@property(readonly) ViBundle *bundle;
+@property(nonatomic,readonly) ViBundle *bundle;
- (id)initWithPath:(NSString *)aPath forBundle:(ViBundle *)aBundle;
- (NSArray *)fileTypes;
View
@@ -8,7 +8,7 @@
NSString *spaceChar;
}
-@property(readwrite,copy) NSDictionary *invisiblesAttributes;
+@property(nonatomic,readwrite,copy) NSDictionary *invisiblesAttributes;
- (void)setShowsInvisibleCharacters:(BOOL)flag;
- (BOOL)showsInvisibleCharacters;
View
@@ -2,8 +2,8 @@
{
NSUInteger line, column;
}
-@property(readonly) NSUInteger line;
-@property(readonly) NSUInteger column;
+@property(nonatomic,readonly) NSUInteger line;
+@property(nonatomic,readonly) NSUInteger column;
- (ViMark *)initWithLine:(NSUInteger)aLine column:(NSUInteger)aColumn;
View
@@ -62,9 +62,9 @@ typedef enum {
- (BOOL)partial;
- (NSString *)keyString;
-@property(readwrite) BOOL nviStyleUndo;
-@property(readonly) ViCommand *last_ftFT_command;
-@property(readwrite, assign) NSString *last_search_pattern;
-@property(readwrite) int last_search_options;
+@property(nonatomic,readwrite) BOOL nviStyleUndo;
+@property(nonatomic,readonly) ViCommand *last_ftFT_command;
+@property(nonatomic,readwrite, assign) NSString *last_search_pattern;
+@property(nonatomic,readwrite) int last_search_options;
@end
View
@@ -6,7 +6,7 @@
NSURL *initialURL;
}
-@property(readonly) NSURL *initialURL;
-@property(readonly) ViWindowController *windowController;
+@property(nonatomic,readonly) NSURL *initialURL;
+@property(nonatomic,readonly) ViWindowController *windowController;
@end
View
@@ -6,7 +6,7 @@
NSUInteger startLocation;
}
-@property(readonly) NSUInteger startLocation;
+@property(nonatomic,readonly) NSUInteger startLocation;
+ (ViRegexpMatch *)regexpMatchWithRegion:(OnigRegion *)aRegion startLocation:(NSUInteger)aLocation;
- (ViRegexpMatch *)initWithRegion:(OnigRegion *)aRegion startLocation:(NSUInteger)aLocation;
View
@@ -4,4 +4,4 @@
{
}
-@end
+@end
Oops, something went wrong.

0 comments on commit 507ba8b

Please sign in to comment.