Revision: 5240
http://skim-app.svn.sourceforge.net/skim-app/?rev=5240&view=rev
Author: hofman
Date: 2009-03-03 15:59:14 +0000 (Tue, 03 Mar 2009)
Log Message:
-----------
rename macro
Modified Paths:
--------------
trunk/SKApplicationController.m
trunk/SKBookmark.m
trunk/SKBookmarkController.m
trunk/SKColorSwatch.m
trunk/SKDocumentController.m
trunk/SKDownload.m
trunk/SKFontWell.m
trunk/SKInfoWindowController.m
trunk/SKLineWell.m
trunk/SKMainWindowController.m
trunk/SKNoteWindowController.m
trunk/SKPDFSynchronizerServer.m
trunk/SKPDFView.m
trunk/SKRuntime.h
trunk/SKSnapshotPageCell.m
trunk/SKSnapshotWindowController.m
Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKApplicationController.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -94,7 +94,7 @@
@implementation SKApplicationController
+ (void)initialize{
- OBINITIALIZE;
+ SKINITIALIZE;
// load the default values for the user defaults
NSString *initialUserDefaultsPath = [[NSBundle mainBundle]
pathForResource:INITIAL_USER_DEFAULTS_FILENAME ofType:@"plist"];
Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKBookmark.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -89,7 +89,7 @@
static Class SKBookmarkClass = Nil;
+ (void)initialize {
- OBINITIALIZE;
+ SKINITIALIZE;
SKBookmarkClass = self;
defaultPlaceholderBookmark = (SKPlaceholderBookmark
*)NSAllocateObject([SKPlaceholderBookmark class], 0, NSDefaultMallocZone());
}
Modified: trunk/SKBookmarkController.m
===================================================================
--- trunk/SKBookmarkController.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKBookmarkController.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -96,7 +96,7 @@
static unsigned int maxRecentDocumentsCount = 0;
+ (void)initialize {
- OBINITIALIZE;
+ SKINITIALIZE;
maxRecentDocumentsCount = [[NSUserDefaults standardUserDefaults]
integerForKey:SKMaximumDocumentPageHistoryCountKey];
if (maxRecentDocumentsCount == 0)
Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKColorSwatch.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -58,7 +58,7 @@
@implementation SKColorSwatch
+ (void)initialize {
- OBINITIALIZE;
+ SKINITIALIZE;
[self exposeBinding:SKColorSwatchColorsKey];
}
Modified: trunk/SKDocumentController.m
===================================================================
--- trunk/SKDocumentController.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKDocumentController.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -137,7 +137,7 @@
#define DEFINE_DOCUMENT_TYPE(name) SK##name##DocumentType =
floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_4 ?
SK##name##DocumentTypeName : SK##name##DocumentTypeUTI
+ (void)initialize {
- OBINITIALIZE;
+ SKINITIALIZE;
SKPDFDocumentTypeName = NSPDFPboardType;
DEFINE_DOCUMENT_TYPE(PDF);
Modified: trunk/SKDownload.m
===================================================================
--- trunk/SKDownload.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKDownload.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -69,7 +69,7 @@
[self setKeys:keys triggerChangeNotificationsForDependentKey:@"canRemove"];
[self setKeys:keys triggerChangeNotificationsForDependentKey:@"canResume"];
[self setKeys:[self infoKeys]
triggerChangeNotificationsForDependentKey:@"info"];
- OBINITIALIZE;
+ SKINITIALIZE;
}
- (id)initWithURL:(NSURL *)aURL delegate:(id)aDelegate {
Modified: trunk/SKFontWell.m
===================================================================
--- trunk/SKFontWell.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKFontWell.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -74,7 +74,7 @@
[self setKeys:[NSArray arrayWithObjects:SKFontWellFontKey, nil]
triggerChangeNotificationsForDependentKey:SKFontWellFontNameKey];
[self setKeys:[NSArray arrayWithObjects:SKFontWellFontKey, nil]
triggerChangeNotificationsForDependentKey:SKFontWellFontSizeKey];
- OBINITIALIZE;
+ SKINITIALIZE;
}
+ (Class)cellClass {
Modified: trunk/SKInfoWindowController.m
===================================================================
--- trunk/SKInfoWindowController.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKInfoWindowController.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -64,7 +64,7 @@
static SKInfoWindowController *sharedInstance = nil;
+ (void)initialize {
- OBINITIALIZE;
+ SKINITIALIZE;
SKBoolStringTransformer *transformer = [[SKBoolStringTransformer alloc]
init];
[NSValueTransformer setValueTransformer:transformer
forName:@"SKBoolStringTransformer"];
Modified: trunk/SKLineWell.m
===================================================================
--- trunk/SKLineWell.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKLineWell.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -59,7 +59,7 @@
@implementation SKLineWell
+ (void)initialize {
- OBINITIALIZE;
+ SKINITIALIZE;
[self exposeBinding:SKLineWellLineWidthKey];
[self exposeBinding:SKLineWellStyleKey];
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKMainWindowController.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -204,7 +204,7 @@
@implementation SKMainWindowController
+ (void)initialize {
- OBINITIALIZE;
+ SKINITIALIZE;
[NSValueTransformer setValueTransformer:[NSValueTransformer
arrayTransformerWithValueTransformerForName:NSUnarchiveFromDataTransformerName]
forName:SKUnarchiveFromDataArrayTransformerName];
Modified: trunk/SKNoteWindowController.m
===================================================================
--- trunk/SKNoteWindowController.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKNoteWindowController.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -91,7 +91,7 @@
}
+ (void)initialize {
- OBINITIALIZE;
+ SKINITIALIZE;
[self makeNoteIcons];
}
Modified: trunk/SKPDFSynchronizerServer.m
===================================================================
--- trunk/SKPDFSynchronizerServer.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKPDFSynchronizerServer.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -66,7 +66,7 @@
@implementation SKPDFSynchronizerServer
+ (void)initialize {
- OBINITIALIZE;
+ SKINITIALIZE;
SKPDFSynchronizerTexExtensions = [[NSArray alloc] initWithObjects:@"tex",
@"ltx", @"latex", @"ctx", @"lyx", nil];
}
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKPDFView.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -204,7 +204,7 @@
@implementation SKPDFView
+ (void)initialize {
- OBINITIALIZE;
+ SKINITIALIZE;
NSArray *sendTypes = [NSArray arrayWithObjects:NSPDFPboardType,
NSTIFFPboardType, nil];
[NSApp registerServicesMenuSendTypes:sendTypes returnTypes:nil];
Modified: trunk/SKRuntime.h
===================================================================
--- trunk/SKRuntime.h 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKRuntime.h 2009-03-03 15:59:14 UTC (rev 5240)
@@ -39,7 +39,7 @@
#import <Cocoa/Cocoa.h>
-#define OBINITIALIZE \
+#define SKINITIALIZE \
do { \
static BOOL hasBeenInitialized = NO; \
[super initialize]; \
Modified: trunk/SKSnapshotPageCell.m
===================================================================
--- trunk/SKSnapshotPageCell.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKSnapshotPageCell.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -51,7 +51,7 @@
+ (void)initialize
{
- OBINITIALIZE;
+ SKINITIALIZE;
selectedShadow = [[NSShadow alloc] init];
[selectedShadow setShadowColor:[NSColor colorWithCalibratedWhite:1.0
alpha:0.2]];
Modified: trunk/SKSnapshotWindowController.m
===================================================================
--- trunk/SKSnapshotWindowController.m 2009-03-03 11:03:49 UTC (rev 5239)
+++ trunk/SKSnapshotWindowController.m 2009-03-03 15:59:14 UTC (rev 5240)
@@ -82,7 +82,7 @@
+ (void)initialize {
[self setKeys:[NSArray arrayWithObjects:SKSnapshotWindowPageLabelKey,
SKSnapshotWindowHasWindowKey, nil]
triggerChangeNotificationsForDependentKey:SKSnapshotWindowPageAndWindowKey];
- OBINITIALIZE;
+ SKINITIALIZE;
}
- (void)dealloc {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit