Revision: 4222 http://skim-app.svn.sourceforge.net/skim-app/?rev=4222&view=rev Author: hofman Date: 2008-07-15 07:57:22 -0700 (Tue, 15 Jul 2008)
Log Message: ----------- Add a target to the SkimNotes project to build a smaller framework without the PDFKit extensions. Modified Paths: -------------- trunk/SkimNotes/Info.plist trunk/SkimNotes/NSFileManager_SKNExtensions.m trunk/SkimNotes/PDFAnnotation_SKNExtensions.m trunk/SkimNotes/PDFDocument_SKNExtensions.m trunk/SkimNotes/SKNExtendedAttributeManager.m trunk/SkimNotes/SKNPDFAnnotationNote.m trunk/SkimNotes/SkimNotes.rtf trunk/SkimNotes/SkimNotes.xcodeproj/project.pbxproj trunk/SkimNotes/SkimNotes_Prefix.pch Added Paths: ----------- trunk/SkimNotes/SkimNotesBase.h trunk/SkimNotes/SkimNotesBase_Prefix.pch Modified: trunk/SkimNotes/Info.plist =================================================================== --- trunk/SkimNotes/Info.plist 2008-07-15 13:13:08 UTC (rev 4221) +++ trunk/SkimNotes/Info.plist 2008-07-15 14:57:22 UTC (rev 4222) @@ -11,7 +11,7 @@ <key>CFBundleIconFile</key> <string></string> <key>CFBundleIdentifier</key> - <string>net.sourceforge.skim-app.framework.skimnotes</string> + <string>net.sourceforge.skim-app.framework.${PRODUCT_NAME:identifier}</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> Modified: trunk/SkimNotes/NSFileManager_SKNExtensions.m =================================================================== --- trunk/SkimNotes/NSFileManager_SKNExtensions.m 2008-07-15 13:13:08 UTC (rev 4221) +++ trunk/SkimNotes/NSFileManager_SKNExtensions.m 2008-07-15 14:57:22 UTC (rev 4222) @@ -36,8 +36,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#import <SkimNotes/NSFileManager_SKNExtensions.h> -#import <SkimNotes/SKNExtendedAttributeManager.h> +#import "NSFileManager_SKNExtensions.h" +#import "SKNExtendedAttributeManager.h" #define SKIM_NOTES_KEY @"net_sourceforge_skim-app_notes" #define SKIM_RTF_NOTES_KEY @"net_sourceforge_skim-app_rtf_notes" Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m =================================================================== --- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2008-07-15 13:13:08 UTC (rev 4221) +++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2008-07-15 14:57:22 UTC (rev 4222) @@ -36,8 +36,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#import <SkimNotes/PDFAnnotation_SKNExtensions.h> -#import <SkimNotes/SKNPDFAnnotationNote.h> +#import "PDFAnnotation_SKNExtensions.h" +#import "SKNPDFAnnotationNote.h" #import <objc/objc.h> #import <objc/objc-class.h> #import <objc/objc-runtime.h> Modified: trunk/SkimNotes/PDFDocument_SKNExtensions.m =================================================================== --- trunk/SkimNotes/PDFDocument_SKNExtensions.m 2008-07-15 13:13:08 UTC (rev 4221) +++ trunk/SkimNotes/PDFDocument_SKNExtensions.m 2008-07-15 14:57:22 UTC (rev 4222) @@ -36,10 +36,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#import <SkimNotes/PDFDocument_SKNExtensions.h> -#import <SkimNotes/PDFAnnotation_SKNExtensions.h> -#import <SkimNotes/SKNPDFAnnotationNote.h> -#import <SkimNotes/NSFileManager_SKNExtensions.h> +#import "PDFDocument_SKNExtensions.h" +#import "PDFAnnotation_SKNExtensions.h" +#import "SKNPDFAnnotationNote.h" +#import "NSFileManager_SKNExtensions.h" @implementation PDFDocument (SKNExtensions) Modified: trunk/SkimNotes/SKNExtendedAttributeManager.m =================================================================== --- trunk/SkimNotes/SKNExtendedAttributeManager.m 2008-07-15 13:13:08 UTC (rev 4221) +++ trunk/SkimNotes/SKNExtendedAttributeManager.m 2008-07-15 14:57:22 UTC (rev 4222) @@ -28,7 +28,7 @@ WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#import <SkimNotes/SKNExtendedAttributeManager.h> +#import "SKNExtendedAttributeManager.h" #include <sys/xattr.h> #import <bzlib.h> Modified: trunk/SkimNotes/SKNPDFAnnotationNote.m =================================================================== --- trunk/SkimNotes/SKNPDFAnnotationNote.m 2008-07-15 13:13:08 UTC (rev 4221) +++ trunk/SkimNotes/SKNPDFAnnotationNote.m 2008-07-15 14:57:22 UTC (rev 4222) @@ -36,8 +36,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#import <SkimNotes/SKNPDFAnnotationNote.h> -#import <SkimNotes/PDFAnnotation_SKNExtensions.h> +#import "SKNPDFAnnotationNote.h" +#import "PDFAnnotation_SKNExtensions.h" NSString *SKNPDFAnnotationTextKey = @"text"; NSString *SKNPDFAnnotationImageKey = @"image"; Modified: trunk/SkimNotes/SkimNotes.rtf =================================================================== --- trunk/SkimNotes/SkimNotes.rtf 2008-07-15 13:13:08 UTC (rev 4221) +++ trunk/SkimNotes/SkimNotes.rtf 2008-07-15 14:57:22 UTC (rev 4222) @@ -2,9 +2,6 @@ {\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 Courier;\f2\fnil\fcharset0 Monaco; } {\colortbl;\red255\green255\blue255;\red118\green15\blue80;} -{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid1} -{\list\listtemplateid2\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid2}} -{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}} \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural \f0\b\fs36 \cf0 SkimNotes Framework @@ -65,11 +62,21 @@ \ \ -\b\fs36 Skimnotes Command Line Tool +\b\fs36 SkimNotesBase Framework \fs24 \ \ \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural +\b0 \cf0 The SkimNotesBase framework is a more basic version of the SkimNotes framework without the PDFKit extensions. It only contains the NSFileManager(SKNExtensions) and the SKNExtendedAttributeManager. It allows you to read and write Skim notes as dictionaries, text, or RTF data from and to files, but not to convert them to PDFAnnotations and back.\ +\ +\ +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural + +\b\fs36 \cf0 Skimnotes Command Line Tool +\fs24 \ +\ +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural + \b0 \cf0 The skimnotes tool provides a command line utility to read and write Skim notes from and to a file or PDF bundle. You can either directly access the Skim notes using the command line tool. Or you can run the tool as an agent, and connect to the agent using Distributed Objects. Use \f1 skimnotes help \f0 to get more help on using the tool.\ @@ -107,20 +114,6 @@ If you want to support 64-bits but not GC, you could create a new build configuration (at the project level) duplicated from Release, but based on the "SkimNotes-Release-64Bit" configuration (choose this in the popup at the bottom of the Build section of the project Info window).\ \b \ -Smaller SkimNotes Framework -\b0 \ -\ -If you don't use the PDFKit classes and categories defined by the SkimNotes framework and you want to reduce the binary size by about one half, you may decide to modify the SkimNotes target to exclude those PDFKit classes and extensions. This is a simple five step procedure:\ -\pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\ql\qnatural\pardirnatural -\ls1\ilvl0\cf0 {\listtext \'95 }Choose "SkimNotes" as the active target.\ -{\listtext \'95 }Select the "Framework Classes" group and uncheck the checkboxes after the 3 .m and 3 .h files with PDF in the filename.\ -{\listtext \'95 }Select the "External Frameworks and Libraries" group and uncheck the checkbox after Quartz.framework.\ -{\listtext \'95 }Edit SkimNotes.h and delete the 3 #import lines for the files with PDF in the filename.\ -\pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\ql\qnatural\pardirnatural -\ls2\ilvl0\cf0 {\listtext \'95 }Edit SkimNotes_Prefix.pch and delete the Quartz #import line.\ -\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural - -\b \cf0 \ SkimNotes Framework Documentation \b0 \ \ Modified: trunk/SkimNotes/SkimNotes.xcodeproj/project.pbxproj =================================================================== --- trunk/SkimNotes/SkimNotes.xcodeproj/project.pbxproj 2008-07-15 13:13:08 UTC (rev 4221) +++ trunk/SkimNotes/SkimNotes.xcodeproj/project.pbxproj 2008-07-15 14:57:22 UTC (rev 4222) @@ -36,6 +36,14 @@ /* Begin PBXBuildFile section */ 8DC2EF570486A6940098B216 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */; }; CE3907B00E082C460015B0B7 /* SkimNotes.strings in Resources */ = {isa = PBXBuildFile; fileRef = CE3907AF0E082C460015B0B7 /* SkimNotes.strings */; }; + CEA5F54E0E2CEDFB00F65088 /* SkimNotesBase.h in Headers */ = {isa = PBXBuildFile; fileRef = CEA5F5490E2CED6D00F65088 /* SkimNotesBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CEA5F54F0E2CEDFE00F65088 /* NSFileManager_SKNExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = CEBA2BD30E05826D0000B2E6 /* NSFileManager_SKNExtensions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CEA5F5500E2CEDFF00F65088 /* NSFileManager_SKNExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = CEBA2BD40E05826D0000B2E6 /* NSFileManager_SKNExtensions.m */; }; + CEA5F5510E2CEE0200F65088 /* SKNExtendedAttributeManager.h in Headers */ = {isa = PBXBuildFile; fileRef = CEBA2B630E05675E0000B2E6 /* SKNExtendedAttributeManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CEA5F5520E2CEE0300F65088 /* SKNExtendedAttributeManager.m in Sources */ = {isa = PBXBuildFile; fileRef = CEBA2B640E05675E0000B2E6 /* SKNExtendedAttributeManager.m */; }; + CEA5F5530E2CEE0E00F65088 /* SkimNotes.strings in Resources */ = {isa = PBXBuildFile; fileRef = CE3907AF0E082C460015B0B7 /* SkimNotes.strings */; }; + CEA5F5560E2CEE7C00F65088 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */; }; + CEA5F5570E2CEE7E00F65088 /* libbz2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = CEBA2D1A0E05A61F0000B2E6 /* libbz2.dylib */; }; CEBA2B5E0E0566DF0000B2E6 /* SKNAgentListener.m in Sources */ = {isa = PBXBuildFile; fileRef = CEBA2B5B0E0566DF0000B2E6 /* SKNAgentListener.m */; }; CEBA2B5F0E0566DF0000B2E6 /* skimnotes.m in Sources */ = {isa = PBXBuildFile; fileRef = CEBA2B5D0E0566DF0000B2E6 /* skimnotes.m */; }; CEBA2B650E05675E0000B2E6 /* SKNExtendedAttributeManager.m in Sources */ = {isa = PBXBuildFile; fileRef = CEBA2B640E05675E0000B2E6 /* SKNExtendedAttributeManager.m */; }; @@ -95,6 +103,9 @@ CE3907B80E082CAD0015B0B7 /* Spanish */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Spanish; path = Spanish.lproj/SkimNotes.strings; sourceTree = "<group>"; }; CE3907B90E082CB00015B0B7 /* cs */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/SkimNotes.strings; sourceTree = "<group>"; }; CE3907BA0E082CB40015B0B7 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/SkimNotes.strings; sourceTree = "<group>"; }; + CEA5F53D0E2CED0E00F65088 /* SkimNotesBase.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SkimNotesBase.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + CEA5F5490E2CED6D00F65088 /* SkimNotesBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SkimNotesBase.h; sourceTree = "<group>"; }; + CEA5F54C0E2CEDC400F65088 /* SkimNotesBase_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SkimNotesBase_Prefix.pch; sourceTree = "<group>"; }; CEBA2B550E0566B00000B2E6 /* skimnotes */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = skimnotes; sourceTree = BUILT_PRODUCTS_DIR; }; CEBA2B5A0E0566DF0000B2E6 /* SKNAgentListener.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SKNAgentListener.h; sourceTree = "<group>"; }; CEBA2B5B0E0566DF0000B2E6 /* SKNAgentListener.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SKNAgentListener.m; sourceTree = "<group>"; }; @@ -129,6 +140,15 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + CEA5F53B0E2CED0E00F65088 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CEA5F5560E2CEE7C00F65088 /* Cocoa.framework in Frameworks */, + CEA5F5570E2CEE7E00F65088 /* libbz2.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; CEBA2B530E0566B00000B2E6 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -146,6 +166,7 @@ children = ( 8DC2EF5B0486A6940098B216 /* SkimNotes.framework */, CEBA2B550E0566B00000B2E6 /* skimnotes */, + CEA5F53D0E2CED0E00F65088 /* SkimNotesBase.framework */, ); name = Products; sourceTree = "<group>"; @@ -188,7 +209,6 @@ 08FB77AEFE84172EC02AAC07 /* Framework Classes */ = { isa = PBXGroup; children = ( - CEBA2CD60E058CF00000B2E6 /* SkimNotes.h */, CEBA2BD30E05826D0000B2E6 /* NSFileManager_SKNExtensions.h */, CEBA2BD40E05826D0000B2E6 /* NSFileManager_SKNExtensions.m */, CEBA2BE00E0587EB0000B2E6 /* PDFDocument_SKNExtensions.h */, @@ -197,6 +217,8 @@ CEBA2B700E0568430000B2E6 /* PDFAnnotation_SKNExtensions.m */, CEBA2B8B0E0569010000B2E6 /* SKNPDFAnnotationNote.h */, CEBA2B8C0E0569010000B2E6 /* SKNPDFAnnotationNote.m */, + CEBA2CD60E058CF00000B2E6 /* SkimNotes.h */, + CEA5F5490E2CED6D00F65088 /* SkimNotesBase.h */, ); name = "Framework Classes"; sourceTree = "<group>"; @@ -225,6 +247,7 @@ isa = PBXGroup; children = ( 32DBCF5E0370ADEE00C91783 /* SkimNotes_Prefix.pch */, + CEA5F54C0E2CEDC400F65088 /* SkimNotesBase_Prefix.pch */, CE17F1BB0E25861700DE06EA /* SkimNotes_Tool_Prefix.pch */, ); name = "Other Sources"; @@ -279,6 +302,16 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + CEA5F5380E2CED0E00F65088 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + CEA5F54E0E2CEDFB00F65088 /* SkimNotesBase.h in Headers */, + CEA5F54F0E2CEDFE00F65088 /* NSFileManager_SKNExtensions.h in Headers */, + CEA5F5510E2CEE0200F65088 /* SKNExtendedAttributeManager.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ @@ -301,6 +334,24 @@ productReference = 8DC2EF5B0486A6940098B216 /* SkimNotes.framework */; productType = "com.apple.product-type.framework"; }; + CEA5F53C0E2CED0E00F65088 /* SkimNotesBase */ = { + isa = PBXNativeTarget; + buildConfigurationList = CEA5F5470E2CED1200F65088 /* Build configuration list for PBXNativeTarget "SkimNotesBase" */; + buildPhases = ( + CEA5F5380E2CED0E00F65088 /* Headers */, + CEA5F5390E2CED0E00F65088 /* Resources */, + CEA5F53A0E2CED0E00F65088 /* Sources */, + CEA5F53B0E2CED0E00F65088 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SkimNotesBase; + productName = SkimNotesBase; + productReference = CEA5F53D0E2CED0E00F65088 /* SkimNotesBase.framework */; + productType = "com.apple.product-type.framework"; + }; CEBA2B540E0566B00000B2E6 /* skimnotes */ = { isa = PBXNativeTarget; buildConfigurationList = CEBA2B600E0566DF0000B2E6 /* Build configuration list for PBXNativeTarget "skimnotes" */; @@ -342,6 +393,7 @@ projectRoot = ""; targets = ( 8DC2EF4F0486A6940098B216 /* SkimNotes */, + CEA5F53C0E2CED0E00F65088 /* SkimNotesBase */, CEBA2B540E0566B00000B2E6 /* skimnotes */, CE665A840E1C086D00D0704D /* HeaderDocs */, CEBA2EA20E0673B60000B2E6 /* Archive */, @@ -358,6 +410,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + CEA5F5390E2CED0E00F65088 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CEA5F5530E2CEE0E00F65088 /* SkimNotes.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ @@ -402,6 +462,15 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + CEA5F53A0E2CED0E00F65088 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CEA5F5500E2CEDFF00F65088 /* NSFileManager_SKNExtensions.m in Sources */, + CEA5F5520E2CEE0300F65088 /* SKNExtendedAttributeManager.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; CEBA2B520E0566B00000B2E6 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -523,6 +592,33 @@ }; name = Release; }; + CEA5F53F0E2CED1100F65088 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = CE17EF850E250E8A00DE06EA /* SkimNotes-Framework.xcconfig */; + buildSettings = { + GCC_PREFIX_HEADER = SkimNotesBase_Prefix.pch; + PRODUCT_NAME = SkimNotesBase; + }; + name = Debug; + }; + CEA5F5400E2CED1100F65088 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = CE17EF850E250E8A00DE06EA /* SkimNotes-Framework.xcconfig */; + buildSettings = { + GCC_PREFIX_HEADER = SkimNotesBase_Prefix.pch; + PRODUCT_NAME = SkimNotesBase; + }; + name = Release; + }; + CEA5F5410E2CED1100F65088 /* Release (GC dual-mode) */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = CE17EF850E250E8A00DE06EA /* SkimNotes-Framework.xcconfig */; + buildSettings = { + GCC_PREFIX_HEADER = SkimNotesBase_Prefix.pch; + PRODUCT_NAME = SkimNotesBase; + }; + name = "Release (GC dual-mode)"; + }; CEBA2B570E0566B30000B2E6 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = CE17EF890E250E8A00DE06EA /* SkimNotes-Tool.xcconfig */; @@ -584,6 +680,16 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + CEA5F5470E2CED1200F65088 /* Build configuration list for PBXNativeTarget "SkimNotesBase" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CEA5F53F0E2CED1100F65088 /* Debug */, + CEA5F5400E2CED1100F65088 /* Release */, + CEA5F5410E2CED1100F65088 /* Release (GC dual-mode) */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; CEBA2B600E0566DF0000B2E6 /* Build configuration list for PBXNativeTarget "skimnotes" */ = { isa = XCConfigurationList; buildConfigurations = ( Added: trunk/SkimNotes/SkimNotesBase.h =================================================================== --- trunk/SkimNotes/SkimNotesBase.h (rev 0) +++ trunk/SkimNotes/SkimNotesBase.h 2008-07-15 14:57:22 UTC (rev 4222) @@ -0,0 +1,41 @@ +/* + * SkimNotesBase.h + * SkimNotes + * + * Created by Christiaan Hofman on 7/15/08. + * + This software is Copyright (c) 2008 + Christiaan Hofman. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + - Neither the name of Christiaan Hofman nor the names of any + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#import <SkimNotesBase/SKNExtendedAttributeManager.h> + +#import <SkimNotesBase/NSFileManager_SKNExtensions.h> Added: trunk/SkimNotes/SkimNotesBase_Prefix.pch =================================================================== --- trunk/SkimNotes/SkimNotesBase_Prefix.pch (rev 0) +++ trunk/SkimNotes/SkimNotesBase_Prefix.pch 2008-07-15 14:57:22 UTC (rev 4222) @@ -0,0 +1,25 @@ +// +// Prefix header for all source files of the 'SkimNotesBase' target in the 'SkimNotes' project. +// + +#ifdef __OBJC__ + #import <Cocoa/Cocoa.h> + + #define SKNLocalizedString(key, comment) NSLocalizedStringFromTableInBundle(key, @"SkimNotes", [NSBundle bundleWithIdentifier:@"net.sourceforge.skim-app.framework.SkimNotesBase"], comment) + + #if !defined(MAC_OS_X_VERSION_10_5) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5 + #ifndef NSINTEGER_DEFINED + #ifdef NS_BUILD_32_LIKE_64 + typedef long NSInteger; + typedef unsigned long NSUInteger; + #else + typedef int NSInteger; + typedef unsigned int NSUInteger; + #endif + #define NSIntegerMax LONG_MAX + #define NSIntegerMin LONG_MIN + #define NSUIntegerMax ULONG_MAX + #define NSINTEGER_DEFINED 1 + #endif + #endif +#endif Modified: trunk/SkimNotes/SkimNotes_Prefix.pch =================================================================== --- trunk/SkimNotes/SkimNotes_Prefix.pch 2008-07-15 13:13:08 UTC (rev 4221) +++ trunk/SkimNotes/SkimNotes_Prefix.pch 2008-07-15 14:57:22 UTC (rev 4222) @@ -6,7 +6,7 @@ #import <Cocoa/Cocoa.h> #import <Quartz/Quartz.h> - #define SKNLocalizedString(key, comment) NSLocalizedStringFromTableInBundle(key, @"SkimNotes", [NSBundle bundleWithIdentifier:@"net.sourceforge.skim-app.framework.skimnotes"], comment) + #define SKNLocalizedString(key, comment) NSLocalizedStringFromTableInBundle(key, @"SkimNotes", [NSBundle bundleWithIdentifier:@"net.sourceforge.skim-app.framework.SkimNotes"], comment) #if !defined(MAC_OS_X_VERSION_10_5) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5 #ifndef NSINTEGER_DEFINED This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit