Changeset 409


Ignore:
Timestamp:
02/24/08 10:12:02 (16 years ago)
Author:
Nicholas Riley
Message:

Info.plists, VERSION.xcconfig: Using Dave Dribin's build configuration
trick to propagate ${CURRENT_MARKETING_VERSION}. Updated for 2.0d2.

InfoPlist.strings: Remove unnecessary repeated localization; update
copyright date.

Read Me: Updated for 2.0d2.

FSAnywhere.[hm]: F-Script 2.0a2 is the minimum version. Remove
FSA_VERSION (it's propagated from CURRENT_MARKETING_VERSION during
build) and turn on FSA_DEBUG.

F-Script Anywhere.xcodeproj: Updated for Xcode 3, Leopard only, etc.
Development build is still broken on inject and Deployment app build
is currently -O0 for debugging.

FSAApp.mm: Grammar/formatting cleanups. Some annoying race conditions
on startup still exist.

Location:
trunk/Cocoa/F-Script Anywhere/Source
Files:
1 added
1 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/F-Script Anywhere/Source/Bundle Loader-Info.plist

    r222 r409  
    1818        <string>BNDL</string>
    1919        <key>CFBundleShortVersionString</key>
    20         <string></string>
     20        <string>${CURRENT_MARKETING_VERSION}</string>
    2121        <key>CFBundleSignature</key>
    2222        <string>FSAL</string>
    2323        <key>CFBundleVersion</key>
    24         <string>1.3</string>
     24        <string>${CURRENT_MARKETING_VERSION}</string>
    2525</dict>
    2626</plist>
  • trunk/Cocoa/F-Script Anywhere/Source/Bundle-Info.plist

    r222 r409  
    1818        <string>BNDL</string>
    1919        <key>CFBundleShortVersionString</key>
    20         <string></string>
     20        <string>${CURRENT_MARKETING_VERSION}</string>
    2121        <key>CFBundleSignature</key>
    2222        <string>FSAB</string>
    2323        <key>CFBundleVersion</key>
    24         <string>1.3</string>
     24        <string>${CURRENT_MARKETING_VERSION}</string>
    2525</dict>
    2626</plist>
  • trunk/Cocoa/F-Script Anywhere/Source/F-Script Anywhere.xcodeproj/project.pbxproj

    r342 r409  
    44        classes = {
    55        };
    6         objectVersion = 42;
     6        objectVersion = 44;
    77        objects = {
    88
    99/* Begin PBXBuildFile section */
    10                 25666ADA0A1D97B50006AC79 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 25666AD90A1D97B50006AC79 /* CoreFoundation.framework */; };
    1110                25666C4E0A1DAE4D0006AC79 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 25666C4D0A1DAE4D0006AC79 /* Security.framework */; };
    1211                258C27790A25A57200AC22BB /* FScript.framework in Resources */ = {isa = PBXBuildFile; fileRef = F5EFC2C3020A6C2601AEEDB1 /* FScript.framework */; };
     
    1615                E14C18BF05A4F013000D4AF3 /* Bullseye menu cursor.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F5694E2702E96FFE01AEEDB1 /* Bullseye menu cursor.tiff */; };
    1716                E14C1ECF05A8DB19000D4AF3 /* Ellipsis.tiff in Resources */ = {isa = PBXBuildFile; fileRef = E14C1ECE05A8DB19000D4AF3 /* Ellipsis.tiff */; };
    18                 E1D652050575B4870054F5D1 /* FSAController.h in Headers */ = {isa = PBXBuildFile; fileRef = F574ADDA020ACAC801AEEDB1 /* FSAController.h */; };
    1917                E1D652060575B4870054F5D1 /* FSAController.m in Sources */ = {isa = PBXBuildFile; fileRef = F574ADDB020ACAC801AEEDB1 /* FSAController.m */; };
    20                 E1D652070575B4890054F5D1 /* FSAViewAssociationController.h in Headers */ = {isa = PBXBuildFile; fileRef = F5FF50BC02E53B9E01AEEDB1 /* FSAViewAssociationController.h */; };
    2118                E1D652080575B4890054F5D1 /* FSAViewAssociationController.m in Sources */ = {isa = PBXBuildFile; fileRef = F5FF50BD02E53B9E01AEEDB1 /* FSAViewAssociationController.m */; };
    22                 E1D652090575B48A0054F5D1 /* FSAWindowManager.h in Headers */ = {isa = PBXBuildFile; fileRef = F5FD7889034828E101AEEDB1 /* FSAWindowManager.h */; };
    2319                E1D6520A0575B48B0054F5D1 /* FSAWindowManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F5FD788A034828E101AEEDB1 /* FSAWindowManager.m */; };
    2420                E1D652AA0575B5F10054F5D1 /* SCPatchLoader.bundle in Resources */ = {isa = PBXBuildFile; fileRef = E1D652040575B3D50054F5D1 /* SCPatchLoader.bundle */; };
    2521                E1D6B58C05A31C56003838B0 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F59279FB01FED0C901AEEC37 /* Carbon.framework */; };
    2622                E1D6B5A005A31C82003838B0 /* SCPatchPrivate.c in Sources */ = {isa = PBXBuildFile; fileRef = E1E4A91B05A25F440097D040 /* SCPatchPrivate.c */; };
    27                 E1D6B5A105A31C84003838B0 /* SCPatchPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = E1E4A91C05A25F440097D040 /* SCPatchPrivate.h */; };
    28                 E1D6B5A205A31C94003838B0 /* mach_inject.h in Headers */ = {isa = PBXBuildFile; fileRef = E1EE98BD0575626E00F2D92C /* mach_inject.h */; };
    2923                E1D6B5A305A31CA1003838B0 /* SCPatchContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1E4A92105A25F440097D040 /* SCPatchContext.cpp */; };
    30                 E1D6B5A405A31CA2003838B0 /* SCPatchContext.h in Headers */ = {isa = PBXBuildFile; fileRef = E1E4A92205A25F440097D040 /* SCPatchContext.h */; };
    3124                E1D6B5A505A31CA4003838B0 /* SCPatchRecord.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1E4A92605A25F440097D040 /* SCPatchRecord.cpp */; };
    32                 E1D6B5A605A31CA5003838B0 /* SCPatchRecord.h in Headers */ = {isa = PBXBuildFile; fileRef = E1E4A92705A25F440097D040 /* SCPatchRecord.h */; };
    3325                E1D6B5FD05A32226003838B0 /* SCPatchMessenger.cp in Sources */ = {isa = PBXBuildFile; fileRef = E1E4A91905A25F440097D040 /* SCPatchMessenger.cp */; };
    34                 E1D6B5FE05A3222D003838B0 /* SCPatchMessenger.h in Headers */ = {isa = PBXBuildFile; fileRef = E1E4A91A05A25F440097D040 /* SCPatchMessenger.h */; };
    3526                E1D6B69F05A45CBF003838B0 /* SCPatchPrivate.c in Sources */ = {isa = PBXBuildFile; fileRef = E1E4A91B05A25F440097D040 /* SCPatchPrivate.c */; };
    36                 E1D6B6A005A45CC0003838B0 /* SCPatchPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = E1E4A91C05A25F440097D040 /* SCPatchPrivate.h */; };
    3727                E1D6B7EA05A4AAE2003838B0 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = E1D6B7E905A4AAE2003838B0 /* Localizable.strings */; };
    3828                E1E4A96305A261630097D040 /* SCPatchController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1E4A92305A25F440097D040 /* SCPatchController.cpp */; };
    39                 E1E4A96405A261640097D040 /* SCPatchController.h in Headers */ = {isa = PBXBuildFile; fileRef = E1E4A92405A25F440097D040 /* SCPatchController.h */; };
    4029                E1E4A9D405A2852E0097D040 /* SCPatchLoader.c in Sources */ = {isa = PBXBuildFile; fileRef = E1E4A92505A25F440097D040 /* SCPatchLoader.c */; };
    4130                E1E4A9E405A28B210097D040 /* FSABundle.mm in Sources */ = {isa = PBXBuildFile; fileRef = 103DFC20016C16E20C000109 /* FSABundle.mm */; };
    42                 E1E4A9F605A28BF80097D040 /* SCPatchPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = E1E4A91C05A25F440097D040 /* SCPatchPrivate.h */; };
    43                 E1E4A9F705A28BFA0097D040 /* SCPatchCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = E1E4A91805A25F440097D040 /* SCPatchCommon.h */; };
    4431                E1E4AA0905A28C860097D040 /* SCPatchMessenger.cp in Sources */ = {isa = PBXBuildFile; fileRef = E1E4A91905A25F440097D040 /* SCPatchMessenger.cp */; };
    45                 E1E4AA0A05A28C880097D040 /* SCPatchMessenger.h in Headers */ = {isa = PBXBuildFile; fileRef = E1E4A91A05A25F440097D040 /* SCPatchMessenger.h */; };
    4632                E1E4AA0B05A28C930097D040 /* SCPatchClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1E4A91E05A25F440097D040 /* SCPatchClient.cpp */; };
    47                 E1E4AA0C05A28C940097D040 /* SCPatchClient.h in Headers */ = {isa = PBXBuildFile; fileRef = E1E4A91F05A25F440097D040 /* SCPatchClient.h */; };
    4833                E1E4AA1305A28EEB0097D040 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F59279FB01FED0C901AEEC37 /* Carbon.framework */; };
    49                 E1EE9A040575769600F2D92C /* FSAApp.h in Headers */ = {isa = PBXBuildFile; fileRef = 103DFC16016C12D80C000109 /* FSAApp.h */; };
    50                 E1EE9A050575769600F2D92C /* DeVercruesseProcess.h in Headers */ = {isa = PBXBuildFile; fileRef = F5EFC2CB020A6CD101AEEDB1 /* DeVercruesseProcess.h */; };
    51                 E1EE9A060575769600F2D92C /* DeVercruesseProcessManager.h in Headers */ = {isa = PBXBuildFile; fileRef = F5EFC2CC020A6CD101AEEDB1 /* DeVercruesseProcessManager.h */; };
    52                 E1EE9A070575769600F2D92C /* CPS.h in Headers */ = {isa = PBXBuildFile; fileRef = F5EFC2D1020A6CEC01AEEDB1 /* CPS.h */; };
    53                 E1EE9A080575769600F2D92C /* FSAAppList.h in Headers */ = {isa = PBXBuildFile; fileRef = F5EFC2D6020A6E0E01AEEDB1 /* FSAAppList.h */; };
    54                 E1EE9A090575769600F2D92C /* NSString-NJRExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = F5EFC2DD020A6EB901AEEDB1 /* NSString-NJRExtensions.h */; };
    55                 E1EE9A0A0575769600F2D92C /* NJRLabeledImageCell.h in Headers */ = {isa = PBXBuildFile; fileRef = F5EFC2E1020A6FD501AEEDB1 /* NJRLabeledImageCell.h */; };
    56                 E1EE9A0B0575769600F2D92C /* libMatch.h in Headers */ = {isa = PBXBuildFile; fileRef = F5EFC2E7020A8F7F01AEEDB1 /* libMatch.h */; };
    57                 E1EE9A0C0575769600F2D92C /* NJRScrollView.h in Headers */ = {isa = PBXBuildFile; fileRef = F574ADD6020AC10F01AEEDB1 /* NJRScrollView.h */; };
    58                 E1EE9A0D0575769600F2D92C /* FSAnywhere.h in Headers */ = {isa = PBXBuildFile; fileRef = F523EA2B020CF06A01AEEC37 /* FSAnywhere.h */; };
    59                 E1EE9A0E0575769600F2D92C /* NSTableView-NJRExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = F53A0D8202750B1F01AEEDB1 /* NSTableView-NJRExtensions.h */; };
    6034                E1EE9A100575769600F2D92C /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 29B97318FDCFA39411CA2CEA /* MainMenu.nib */; };
    6135                E1EE9A110575769600F2D92C /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
     
    8054                E1EE9A790575776300F2D92C /* FScript.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5EFC2C3020A6C2601AEEDB1 /* FScript.framework */; };
    8155                E1EE9A7A0575776700F2D92C /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
    82                 E1EE9A7B0575778900F2D92C /* FSAnywhere.h in Headers */ = {isa = PBXBuildFile; fileRef = F523EA2B020CF06A01AEEC37 /* FSAnywhere.h */; };
    8356                E1EE9A7C0575778900F2D92C /* FSAnywhere.m in Sources */ = {isa = PBXBuildFile; fileRef = F523EA2E020CF15B01AEEC37 /* FSAnywhere.m */; };
    8457                E1EE9AA90575945300F2D92C /* F-Script Anywhere.bundle in Resources */ = {isa = PBXBuildFile; fileRef = E1EE9A4F057576A700F2D92C /* F-Script Anywhere.bundle */; };
    8558                E1F3DF920579172A00E952A5 /* FSA.strings in Resources */ = {isa = PBXBuildFile; fileRef = E1F3DF900579172A00E952A5 /* FSA.strings */; };
    86                 E1FD00C805B90A64001DABE0 /* SCPatchMessages.h in Headers */ = {isa = PBXBuildFile; fileRef = E1FD00C705B90A64001DABE0 /* SCPatchMessages.h */; };
    87                 E1FD00C905B90A64001DABE0 /* SCPatchMessages.h in Headers */ = {isa = PBXBuildFile; fileRef = E1FD00C705B90A64001DABE0 /* SCPatchMessages.h */; };
    88                 E1FD00CA05B90A64001DABE0 /* SCPatchMessages.h in Headers */ = {isa = PBXBuildFile; fileRef = E1FD00C705B90A64001DABE0 /* SCPatchMessages.h */; };
    8959                E1FD011605B91232001DABE0 /* mach_error descriptions.strings in Resources */ = {isa = PBXBuildFile; fileRef = E1FD011505B91232001DABE0 /* mach_error descriptions.strings */; };
    9060/* End PBXBuildFile section */
     
    10878
    10979/* Begin PBXCopyFilesBuildPhase section */
    110                 25666ACD0A1D96D10006AC79 /* CopyFiles */ = {
    111                         isa = PBXCopyFilesBuildPhase;
    112                         buildActionMask = 2147483647;
    113                         dstPath = "";
    114                         dstSubfolderSpec = 10;
    115                         files = (
    116                         );
    117                         runOnlyForDeploymentPostprocessing = 0;
    118                 };
    11980                E1EE9A2B0575769600F2D92C /* CopyFiles */ = {
    12081                        isa = PBXCopyFilesBuildPhase;
     
    13596                103DFC20016C16E20C000109 /* FSABundle.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = FSABundle.mm; sourceTree = SOURCE_ROOT; };
    13697                1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
    137                 256669AD0A1D8DE30006AC79 /* DSCL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = DSCL.framework; sourceTree = "<group>"; };
    138                 25666AD90A1D97B50006AC79 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
    139                 25666C0F0A1DACEB0006AC79 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
    14098                25666C4D0A1DAE4D0006AC79 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /System/Library/Frameworks/Security.framework; sourceTree = "<absolute>"; };
    14199                258C25590A259B6E00AC22BB /* FScript.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = FScript.framework; sourceTree = "<group>"; };
    142100                25D8A24B0CBD347A00EFA0BD /* Certificate.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = Certificate.cer; sourceTree = "<group>"; };
    143                 25EADA9509CD2D7100BCD8E1 /* bytesex.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = bytesex.c; path = "../Darwin source/Commands/Apple/cctools/libstuff/bytesex.c"; sourceTree = SOURCE_ROOT; };
     101                25EADA9509CD2D7100BCD8E1 /* bytesex.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = bytesex.c; path = "../Darwin source/cctools/libstuff/bytesex.c"; sourceTree = SOURCE_ROOT; };
    144102                29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
    145103                29B97319FDCFA39411CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; };
     
    187145                F57D63160319B6CA01AEEDB1 /* Fallback checkmark.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = "Fallback checkmark.tiff"; sourceTree = "<group>"; };
    188146                F59279FB01FED0C901AEEC37 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
    189                 F5B11ED902E67DB101AEEDB1 /* VERSION */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = VERSION; sourceTree = "<group>"; };
     147                F5B11ED902E67DB101AEEDB1 /* VERSION.xcconfig */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xcconfig; path = VERSION.xcconfig; sourceTree = "<group>"; };
    190148                F5EFC2C3020A6C2601AEEDB1 /* FScript.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = FScript.framework; sourceTree = "<group>"; };
    191149                F5EFC2C9020A6CD101AEEDB1 /* DeVercruesseProcess.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = DeVercruesseProcess.m; sourceTree = "<group>"; };
     
    223181                                E1EE9A270575769600F2D92C /* Cocoa.framework in Frameworks */,
    224182                                E1EE9A280575769600F2D92C /* Carbon.framework in Frameworks */,
    225                                 25666ADA0A1D97B50006AC79 /* CoreFoundation.framework in Frameworks */,
    226183                                25666C4E0A1DAE4D0006AC79 /* Security.framework in Frameworks */,
    227184                        );
     
    254211                        isa = PBXGroup;
    255212                        children = (
    256                                 25666C0F0A1DACEB0006AC79 /* Foundation.framework */,
    257213                                F523EA31020CF1C701AEEC37 /* Shared sources */,
    258214                                29B97315FDCFA39411CA2CEA /* Bundle sources */,
     
    304260                                F5680F83020D369A01AEEC37 /* LICENSE.rtf */,
    305261                                F5680F7F020D35ED01AEEC37 /* Read Me */,
    306                                 F5B11ED902E67DB101AEEDB1 /* VERSION */,
     262                                F5B11ED902E67DB101AEEDB1 /* VERSION.xcconfig */,
    307263                        );
    308264                        name = Resources;
     
    312268                        isa = PBXGroup;
    313269                        children = (
    314                                 25666C4D0A1DAE4D0006AC79 /* Security.framework */,
    315                                 25666AD90A1D97B50006AC79 /* CoreFoundation.framework */,
    316                                 256669AD0A1D8DE30006AC79 /* DSCL.framework */,
    317270                                F59279FB01FED0C901AEEC37 /* Carbon.framework */,
    318271                                1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
     272                                25666C4D0A1DAE4D0006AC79 /* Security.framework */,
    319273                                F5EFC2C3020A6C2601AEEDB1 /* FScript.framework */,
    320274                        );
     
    425379/* End PBXGroup section */
    426380
    427 /* Begin PBXHeadersBuildPhase section */
    428                 E1D651FB0575B3D50054F5D1 /* Headers */ = {
    429                         isa = PBXHeadersBuildPhase;
    430                         buildActionMask = 2147483647;
    431                         files = (
    432                                 E1D6B5A105A31C84003838B0 /* SCPatchPrivate.h in Headers */,
    433                                 E1FD00CA05B90A64001DABE0 /* SCPatchMessages.h in Headers */,
    434                         );
    435                         runOnlyForDeploymentPostprocessing = 0;
    436                 };
    437                 E1EE9A030575769600F2D92C /* Headers */ = {
    438                         isa = PBXHeadersBuildPhase;
    439                         buildActionMask = 2147483647;
    440                         files = (
    441                                 E1EE9A040575769600F2D92C /* FSAApp.h in Headers */,
    442                                 E1EE9A050575769600F2D92C /* DeVercruesseProcess.h in Headers */,
    443                                 E1EE9A060575769600F2D92C /* DeVercruesseProcessManager.h in Headers */,
    444                                 E1EE9A070575769600F2D92C /* CPS.h in Headers */,
    445                                 E1EE9A080575769600F2D92C /* FSAAppList.h in Headers */,
    446                                 E1EE9A090575769600F2D92C /* NSString-NJRExtensions.h in Headers */,
    447                                 E1EE9A0A0575769600F2D92C /* NJRLabeledImageCell.h in Headers */,
    448                                 E1EE9A0B0575769600F2D92C /* libMatch.h in Headers */,
    449                                 E1EE9A0C0575769600F2D92C /* NJRScrollView.h in Headers */,
    450                                 E1EE9A0D0575769600F2D92C /* FSAnywhere.h in Headers */,
    451                                 E1EE9A0E0575769600F2D92C /* NSTableView-NJRExtensions.h in Headers */,
    452                                 E1E4A96405A261640097D040 /* SCPatchController.h in Headers */,
    453                                 E1D6B5A205A31C94003838B0 /* mach_inject.h in Headers */,
    454                                 E1D6B5A405A31CA2003838B0 /* SCPatchContext.h in Headers */,
    455                                 E1D6B5A605A31CA5003838B0 /* SCPatchRecord.h in Headers */,
    456                                 E1D6B5FE05A3222D003838B0 /* SCPatchMessenger.h in Headers */,
    457                                 E1D6B6A005A45CC0003838B0 /* SCPatchPrivate.h in Headers */,
    458                                 E1FD00C805B90A64001DABE0 /* SCPatchMessages.h in Headers */,
    459                         );
    460                         runOnlyForDeploymentPostprocessing = 0;
    461                 };
    462                 E1EE9A4A057576A700F2D92C /* Headers */ = {
    463                         isa = PBXHeadersBuildPhase;
    464                         buildActionMask = 2147483647;
    465                         files = (
    466                                 E1EE9A7B0575778900F2D92C /* FSAnywhere.h in Headers */,
    467                                 E1D652050575B4870054F5D1 /* FSAController.h in Headers */,
    468                                 E1D652070575B4890054F5D1 /* FSAViewAssociationController.h in Headers */,
    469                                 E1D652090575B48A0054F5D1 /* FSAWindowManager.h in Headers */,
    470                                 E1E4A9F605A28BF80097D040 /* SCPatchPrivate.h in Headers */,
    471                                 E1E4A9F705A28BFA0097D040 /* SCPatchCommon.h in Headers */,
    472                                 E1E4AA0A05A28C880097D040 /* SCPatchMessenger.h in Headers */,
    473                                 E1E4AA0C05A28C940097D040 /* SCPatchClient.h in Headers */,
    474                                 E1FD00C905B90A64001DABE0 /* SCPatchMessages.h in Headers */,
    475                         );
    476                         runOnlyForDeploymentPostprocessing = 0;
    477                 };
    478 /* End PBXHeadersBuildPhase section */
    479 
    480381/* Begin PBXNativeTarget section */
    481382                E1D651FA0575B3D50054F5D1 /* Bundle Loader */ = {
     
    483384                        buildConfigurationList = 25EAD8EF09CD1E3900BCD8E1 /* Build configuration list for PBXNativeTarget "Bundle Loader" */;
    484385                        buildPhases = (
    485                                 E1D651FB0575B3D50054F5D1 /* Headers */,
    486                                 E1D651FD0575B3D50054F5D1 /* Resources */,
    487386                                E1D651FE0575B3D50054F5D1 /* Sources */,
    488387                                E1D652010575B3D50054F5D1 /* Frameworks */,
     
    501400                        buildConfigurationList = 25EAD8F309CD1E3900BCD8E1 /* Build configuration list for PBXNativeTarget "Application" */;
    502401                        buildPhases = (
    503                                 E1EE9A030575769600F2D92C /* Headers */,
    504                                 25666ACD0A1D96D10006AC79 /* CopyFiles */,
    505402                                E1EE9A0F0575769600F2D92C /* Resources */,
    506403                                E1EE9A180575769600F2D92C /* Sources */,
    507404                                E1EE9A260575769600F2D92C /* Frameworks */,
    508405                                E1EE9A2B0575769600F2D92C /* CopyFiles */,
    509                                 E1EE9A2D0575769600F2D92C /* ShellScript */,
     406                                E1EE9A2D0575769600F2D92C /* Copy Documentation (install only) */,
     407                                E186F1500D70BDFE008C1B31 /* Sign Code */,
    510408                        );
    511409                        buildRules = (
     
    525423                        buildConfigurationList = 25EAD8EB09CD1E3900BCD8E1 /* Build configuration list for PBXNativeTarget "Bundle" */;
    526424                        buildPhases = (
    527                                 E1EE9A4A057576A700F2D92C /* Headers */,
    528425                                E1EE9A4B057576A700F2D92C /* Resources */,
    529426                                E1EE9A4C057576A700F2D92C /* Sources */,
     
    545442                        isa = PBXProject;
    546443                        buildConfigurationList = 25EAD8F709CD1E3900BCD8E1 /* Build configuration list for PBXProject "F-Script Anywhere" */;
    547                         compatibilityVersion = "Xcode 2.4";
     444                        compatibilityVersion = "Xcode 3.0";
    548445                        hasScannedForEncodings = 1;
    549446                        mainGroup = 29B97314FDCFA39411CA2CEA /* PatchTest */;
     
    559456
    560457/* Begin PBXResourcesBuildPhase section */
    561                 E1D651FD0575B3D50054F5D1 /* Resources */ = {
    562                         isa = PBXResourcesBuildPhase;
    563                         buildActionMask = 2147483647;
    564                         files = (
    565                         );
    566                         runOnlyForDeploymentPostprocessing = 0;
    567                 };
    568458                E1EE9A0F0575769600F2D92C /* Resources */ = {
    569459                        isa = PBXResourcesBuildPhase;
     
    598488
    599489/* Begin PBXShellScriptBuildPhase section */
    600                 E1EE9A2D0575769600F2D92C /* ShellScript */ = {
     490                E186F1500D70BDFE008C1B31 /* Sign Code */ = {
     491                        isa = PBXShellScriptBuildPhase;
     492                        buildActionMask = 2147483647;
     493                        files = (
     494                        );
     495                        inputPaths = (
     496                        );
     497                        name = "Sign Code";
     498                        outputPaths = (
     499                        );
     500                        runOnlyForDeploymentPostprocessing = 0;
     501                        shellPath = /bin/sh;
     502                        shellScript = "/usr/bin/codesign -s 'Nicholas Riley' -fv \"${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}\"";
     503                        showEnvVarsInLog = 0;
     504                };
     505                E1EE9A2D0575769600F2D92C /* Copy Documentation (install only) */ = {
    601506                        isa = PBXShellScriptBuildPhase;
    602507                        buildActionMask = 8;
    603508                        files = (
    604509                        );
     510                        name = "Copy Documentation (install only)";
    605511                        runOnlyForDeploymentPostprocessing = 1;
    606512                        shellPath = /bin/sh;
     
    737643                        buildSettings = {
    738644                                COPY_PHASE_STRIP = NO;
    739                                 FRAMEWORK_SEARCH_PATHS = /Volumes/Ti/Library/Frameworks;
    740                                 GCC_DYNAMIC_NO_PIC = NO;
    741                                 GCC_ENABLE_FIX_AND_CONTINUE = YES;
     645                                FRAMEWORK_SEARCH_PATHS = (
     646                                        "~/Library/Frameworks",
     647                                        /Library/Frameworks,
     648                                );
     649                                GCC_ENABLE_OBJC_GC = supported;
    742650                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
    743651                                GCC_OPTIMIZATION_LEVEL = 0;
     
    746654                                INFOPLIST_FILE = "Bundle-Info.plist";
    747655                                INSTALL_PATH = "$(USER_LIBRARY_DIR)/Bundles";
    748                                 OPTIMIZATION_CFLAGS = "-O0";
    749656                                OTHER_CFLAGS = "";
    750657                                PRODUCT_NAME = "F-Script Anywhere";
    751                                 SECTORDER_FLAGS = "";
    752                                 ZERO_LINK = NO;
    753658                        };
    754659                        name = Development;
     
    762667                                );
    763668                                COPY_PHASE_STRIP = YES;
    764                                 FRAMEWORK_SEARCH_PATHS = /Volumes/Ti/Library/Frameworks;
    765                                 GCC_ENABLE_FIX_AND_CONTINUE = NO;
     669                                FRAMEWORK_SEARCH_PATHS = (
     670                                        "~/Library/Frameworks",
     671                                        /Library/Frameworks,
     672                                );
     673                                GCC_ENABLE_OBJC_GC = supported;
    766674                                GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;
    767675                                GCC_WARN_UNKNOWN_PRAGMAS = NO;
     
    770678                                OTHER_CFLAGS = "-DFSA_DEBUG=0";
    771679                                PRODUCT_NAME = "F-Script Anywhere";
    772                                 SECTORDER_FLAGS = "";
    773                                 ZERO_LINK = NO;
    774680                        };
    775681                        name = Deployment;
    776                 };
    777                 25EAD8EE09CD1E3900BCD8E1 /* Default */ = {
    778                         isa = XCBuildConfiguration;
    779                         buildSettings = {
    780                                 FRAMEWORK_SEARCH_PATHS = /Volumes/Ti/Library/Frameworks;
    781                                 GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;
    782                                 GCC_WARN_UNKNOWN_PRAGMAS = NO;
    783                                 INFOPLIST_FILE = "Bundle-Info.plist";
    784                                 INSTALL_PATH = "$(USER_LIBRARY_DIR)/Bundles";
    785                                 OTHER_CFLAGS = "";
    786                                 PRODUCT_NAME = "F-Script Anywhere";
    787                                 SECTORDER_FLAGS = "";
    788                         };
    789                         name = Default;
    790682                };
    791683                25EAD8F009CD1E3900BCD8E1 /* Development */ = {
     
    794686                                COPY_PHASE_STRIP = NO;
    795687                                GCC_DYNAMIC_NO_PIC = NO;
    796                                 GCC_ENABLE_FIX_AND_CONTINUE = YES;
     688                                GCC_ENABLE_OBJC_GC = supported;
    797689                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
    798690                                GCC_OPTIMIZATION_LEVEL = 0;
     
    819711                                );
    820712                                COPY_PHASE_STRIP = YES;
    821                                 GCC_ENABLE_FIX_AND_CONTINUE = NO;
     713                                GCC_ENABLE_OBJC_GC = supported;
    822714                                GCC_PRECOMPILE_PREFIX_HEADER = YES;
    823715                                GCC_PREFIX_HEADER = "$(SDKROOT)/$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
     
    833725                        name = Deployment;
    834726                };
    835                 25EAD8F209CD1E3900BCD8E1 /* Default */ = {
    836                         isa = XCBuildConfiguration;
    837                         buildSettings = {
    838                                 GCC_PRECOMPILE_PREFIX_HEADER = YES;
    839                                 GCC_PREFIX_HEADER = "$(SDKROOT)/$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
    840                                 GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;
    841                                 GCC_WARN_UNKNOWN_PRAGMAS = NO;
    842                                 INFOPLIST_FILE = "Bundle Loader-Info.plist";
    843                                 INSTALL_PATH = "$(USER_LIBRARY_DIR)/Bundles";
    844                                 OTHER_CFLAGS = "";
    845                                 PRODUCT_NAME = SCPatchLoader;
    846                                 WARNING_CFLAGS = "-Wmost";
    847                         };
    848                         name = Default;
    849                 };
    850727                25EAD8F409CD1E3900BCD8E1 /* Development */ = {
    851728                        isa = XCBuildConfiguration;
     
    853730                                COPY_PHASE_STRIP = NO;
    854731                                FRAMEWORK_SEARCH_PATHS = (
    855                                         "$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
    856                                         "$(SRCROOT)",
    857                                 );
    858                                 GCC_DYNAMIC_NO_PIC = NO;
    859                                 GCC_ENABLE_FIX_AND_CONTINUE = YES;
    860                                 GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
     732                                        "~/Library/Frameworks",
     733                                        /Library/Frameworks,
     734                                );
    861735                                GCC_OPTIMIZATION_LEVEL = 0;
    862                                 HEADER_SEARCH_PATHS = "$(HEADER_SEARCH_PATHS_QUOTED_1)";
    863                                 HEADER_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../Darwin source/Commands/Apple/cctools/include\"";
     736                                HEADER_SEARCH_PATHS = "$(HEADER_SEARCH_PATHS_QUOTED_FOR_TARGET_1)";
     737                                HEADER_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../Darwin source/cctools/include\"";
    864738                                INFOPLIST_FILE = "Info-Application.plist";
    865739                                INSTALL_PATH = /;
    866                                 LIBRARY_SEARCH_PATHS = "$(LIBRARY_SEARCH_PATHS_QUOTED_1)";
    867                                 LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../Darwin source/Commands/Apple/cctools/libstuff\"";
    868                                 OPTIMIZATION_CFLAGS = "-O0";
     740                                LIBRARY_SEARCH_PATHS = "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)";
     741                                LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../Darwin source/cctools/libstuff\"";
    869742                                OTHER_LDFLAGS = (
    870743                                        "-multiply_defined",
     
    878751                                        "Info-Application.plist",
    879752                                );
    880                                 PREBINDING = YES;
    881753                                PRODUCT_NAME = "F-Script Anywhere";
    882                                 SECTORDER_FLAGS = "";
    883754                                WARNING_CFLAGS = (
    884755                                        "-Wno-long-double",
     
    888759                                );
    889760                                WRAPPER_EXTENSION = app;
    890                                 ZERO_LINK = NO;
    891761                        };
    892762                        name = Development;
     
    901771                                COPY_PHASE_STRIP = YES;
    902772                                FRAMEWORK_SEARCH_PATHS = (
    903                                         "$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
    904                                         "$(FRAMEWORK_SEARCH_PATHS_QUOTED_1)",
    905                                 );
    906                                 FRAMEWORK_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)\"";
    907                                 GCC_ENABLE_FIX_AND_CONTINUE = NO;
    908                                 HEADER_SEARCH_PATHS = "$(HEADER_SEARCH_PATHS_QUOTED_1)";
    909                                 HEADER_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../Darwin source/Commands/Apple/cctools/include\"";
     773                                        "~/Library/Frameworks",
     774                                        /Library/Frameworks,
     775                                );
     776                                GCC_OPTIMIZATION_LEVEL = 0;
     777                                HEADER_SEARCH_PATHS = "$(HEADER_SEARCH_PATHS_QUOTED_FOR_TARGET_1)";
     778                                HEADER_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../Darwin source/cctools/include\"";
    910779                                INFOPLIST_FILE = "Info-Application.plist";
    911780                                INSTALL_PATH = /;
    912                                 LIBRARY_SEARCH_PATHS = "$(LIBRARY_SEARCH_PATHS_QUOTED_1)";
    913                                 LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../Darwin source/Commands/Apple/cctools/libstuff\"";
    914                                 OTHER_CFLAGS = "-DFSA_DEBUG=0";
     781                                LIBRARY_SEARCH_PATHS = "$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)";
     782                                LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../Darwin source/cctools/libstuff\"";
    915783                                OTHER_LDFLAGS = (
    916784                                        "-multiply_defined",
     
    924792                                        "Info-Application.plist",
    925793                                );
    926                                 PREBINDING = YES;
    927794                                PRODUCT_NAME = "F-Script Anywhere";
    928                                 SECTORDER_FLAGS = "";
    929795                                WARNING_CFLAGS = (
    930796                                        "-Wno-long-double",
     
    937803                        name = Deployment;
    938804                };
    939                 25EAD8F609CD1E3900BCD8E1 /* Default */ = {
    940                         isa = XCBuildConfiguration;
    941                         buildSettings = {
    942                                 FRAMEWORK_SEARCH_PATHS = (
    943                                         "$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
    944                                         "$(SRCROOT)",
    945                                 );
    946                                 HEADER_SEARCH_PATHS = "$(HEADER_SEARCH_PATHS_QUOTED_1)";
    947                                 HEADER_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../Darwin source/Commands/Apple/cctools/include\"";
    948                                 INFOPLIST_FILE = "Info-Application.plist";
    949                                 INSTALL_PATH = /;
    950                                 LIBRARY_SEARCH_PATHS = "$(LIBRARY_SEARCH_PATHS_QUOTED_1)";
    951                                 LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../Darwin source/Commands/Apple/cctools/libstuff\"";
    952                                 OTHER_LDFLAGS = (
    953                                         "-multiply_defined",
    954                                         suppress,
    955                                         "-lstuff",
    956                                         "-weak_framework",
    957                                         FScript,
    958                                         "-sectcreate",
    959                                         __TEXT,
    960                                         __info_plist,
    961                                         "Info-Application.plist",
    962                                 );
    963                                 PREBINDING = YES;
    964                                 PRODUCT_NAME = "F-Script Anywhere";
    965                                 SECTORDER_FLAGS = "";
    966                                 WARNING_CFLAGS = (
    967                                         "-Wno-long-double",
    968                                         "-Wmost",
    969                                         "-Wno-four-char-constants",
    970                                         "-Wno-unknown-pragmas",
    971                                 );
    972                                 WRAPPER_EXTENSION = app;
    973                                 ZERO_LINK = NO;
    974                         };
    975                         name = Default;
    976                 };
    977805                25EAD8F809CD1E3900BCD8E1 /* Development */ = {
    978806                        isa = XCBuildConfiguration;
     807                        baseConfigurationReference = F5B11ED902E67DB101AEEDB1 /* VERSION.xcconfig */;
    979808                        buildSettings = {
    980                                 MACOSX_DEPLOYMENT_TARGET = 10.1;
    981                                 SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
     809                                GCC_PREPROCESSOR_DEFINITIONS = "FSA_VERSION=\"\\\"$(CURRENT_MARKETING_VERSION)\\\"\"";
     810                                SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
    982811                        };
    983812                        name = Development;
     
    985814                25EAD8F909CD1E3900BCD8E1 /* Deployment */ = {
    986815                        isa = XCBuildConfiguration;
     816                        baseConfigurationReference = F5B11ED902E67DB101AEEDB1 /* VERSION.xcconfig */;
    987817                        buildSettings = {
    988                                 SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
     818                                GCC_PREPROCESSOR_DEFINITIONS = "FSA_VERSION=\"\\\"$(CURRENT_MARKETING_VERSION)\\\"\"";
     819                                SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
    989820                        };
    990821                        name = Deployment;
    991                 };
    992                 25EAD8FA09CD1E3900BCD8E1 /* Default */ = {
    993                         isa = XCBuildConfiguration;
    994                         buildSettings = {
    995                                 SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
    996                         };
    997                         name = Default;
    998822                };
    999823/* End XCBuildConfiguration section */
     
    1005829                                25EAD8EC09CD1E3900BCD8E1 /* Development */,
    1006830                                25EAD8ED09CD1E3900BCD8E1 /* Deployment */,
    1007                                 25EAD8EE09CD1E3900BCD8E1 /* Default */,
    1008831                        );
    1009832                        defaultConfigurationIsVisible = 0;
    1010                         defaultConfigurationName = Default;
     833                        defaultConfigurationName = Development;
    1011834                };
    1012835                25EAD8EF09CD1E3900BCD8E1 /* Build configuration list for PBXNativeTarget "Bundle Loader" */ = {
     
    1015838                                25EAD8F009CD1E3900BCD8E1 /* Development */,
    1016839                                25EAD8F109CD1E3900BCD8E1 /* Deployment */,
    1017                                 25EAD8F209CD1E3900BCD8E1 /* Default */,
    1018840                        );
    1019841                        defaultConfigurationIsVisible = 0;
    1020                         defaultConfigurationName = Default;
     842                        defaultConfigurationName = Development;
    1021843                };
    1022844                25EAD8F309CD1E3900BCD8E1 /* Build configuration list for PBXNativeTarget "Application" */ = {
     
    1025847                                25EAD8F409CD1E3900BCD8E1 /* Development */,
    1026848                                25EAD8F509CD1E3900BCD8E1 /* Deployment */,
    1027                                 25EAD8F609CD1E3900BCD8E1 /* Default */,
    1028849                        );
    1029850                        defaultConfigurationIsVisible = 0;
    1030                         defaultConfigurationName = Default;
     851                        defaultConfigurationName = Development;
    1031852                };
    1032853                25EAD8F709CD1E3900BCD8E1 /* Build configuration list for PBXProject "F-Script Anywhere" */ = {
     
    1035856                                25EAD8F809CD1E3900BCD8E1 /* Development */,
    1036857                                25EAD8F909CD1E3900BCD8E1 /* Deployment */,
    1037                                 25EAD8FA09CD1E3900BCD8E1 /* Default */,
    1038858                        );
    1039859                        defaultConfigurationIsVisible = 0;
    1040                         defaultConfigurationName = Default;
     860                        defaultConfigurationName = Development;
    1041861                };
    1042862/* End XCConfigurationList section */
  • trunk/Cocoa/F-Script Anywhere/Source/FSAApp.mm

    r342 r409  
    227227    /* under new rules for task_for_pid, only processes with proper permissions can call task_for_pid successfullly */
    228228    int ourPid = [[NSProcessInfo processInfo] processIdentifier];
    229     NSLog(@"our pid %d", ourPid);
    230     if(task_for_pid(taskOfOurProcess, ourPid, &machPortForProcess) == KERN_SUCCESS){ // launchd should always be pid 1
     229    if (task_for_pid(taskOfOurProcess, ourPid, &machPortForProcess) == KERN_SUCCESS) { // launchd should always be pid 1
    231230        mach_port_deallocate(taskOfOurProcess, machPortForProcess);
    232231    } else {
    233232        int result = NSRunInformationalAlertPanel(
    234                                                   NSLocalizedString(@"Certificate not trusted", "Framework not found alert title"),
    235                                                   NSLocalizedString(@"Due to new security features in Leopard, F-Script Anywhere requires you to to trust the signature on the current application. "
    236                                                                     "You have several options:\n"
    237                                                                     "1. You can add the signing certificate automatically to your keychain, in which case you should click \"OK\" in the next dialog box to add the certificate to your keychain, and then \"Always Trust.\"\n"
    238                                                                     "2. You can quit F-Script Anywhere, create a signing authority on your local machine, trust it, and then sign the application binary yourself.\n"
     233                                                  NSLocalizedString(@"Certificate not trusted", "Certificate not trusted alert title"),
     234                                                  NSLocalizedString(@"Due to new security features in Leopard, F-Script Anywhere requires you to to trust the signature on the current application.\n\n"
     235                                                                    "You have several options:\n\n"
     236                                                                    "1. You can add the signing certificate automatically to your keychain, in which case you should click \"OK\" in the next dialog box to add the certificate to your keychain, and then \"Always Trust.\"\n\n"
     237                                                                    "2. You can quit F-Script Anywhere, create a signing authority on your local machine, trust it, and then sign the application binary yourself.\n\n"
    239238                                                                    @"Note that if you add the certificate properly and you still get an F-Script Anywhere error when injecting, you may need to restart your computer to clear the proper keychain caches.", @"no certificate warning message"),
    240                                                   NSLocalizedString(@"Add certificate", "'add certificate button title"),
     239                                                  NSLocalizedString(@"Add certificate", "Add certificate button title"),
    241240                                                  NSLocalizedString(@"Quit", "Quit button title"),
    242241                                                  NULL);
  • trunk/Cocoa/F-Script Anywhere/Source/FSAnywhere.h

    r224 r409  
    88 */
    99
    10 #define FSA_VERSION "1.3"
    11 #define FSA_FSCRIPT_MIN_VERSION 0x1318000 /* 1.3.1 */
    12 #undef FSA_DEBUG
     10#define FSA_FSCRIPT_MIN_VERSION 0x2004002 /* 2.0a2 */
     11#define FSA_DEBUG
    1312
    1413#ifdef FSA_DEBUG
  • trunk/Cocoa/F-Script Anywhere/Source/FSAnywhere.m

    r224 r409  
    1111
    1212NSString * FSA_FScriptURL = @"http://www.fscript.org/";
    13 NSString * FSA_FScriptMinimumVersion = @"1.3.1";
     13NSString * FSA_FScriptMinimumVersion = @"2.0a2";
  • trunk/Cocoa/F-Script Anywhere/Source/Info-Application.plist

    r342 r409  
    88        <string>F-Script Anywhere</string>
    99        <key>CFBundleGetInfoString</key>
    10         <string>F-Script Anywhere 1.3,
    11 © 2002–06 Nicholas Riley</string>
     10        <string>F-Script Anywhere ${CURRENT_MARKETING_VERSION},
     11© 2002–08 Nicholas Riley</string>
    1212        <key>CFBundleIconFile</key>
    1313        <string>Application icon</string>
     
    2121        <string>APPL</string>
    2222        <key>CFBundleShortVersionString</key>
    23         <string>1.3</string>
     23        <string>${CURRENT_MARKETING_VERSION}</string>
    2424        <key>CFBundleSignature</key>
    2525        <string>FSAn</string>
    2626        <key>CFBundleVersion</key>
    27         <string>1.3.1</string>
     27        <string>${CURRENT_MARKETING_VERSION}</string>
    2828        <key>NSMainNibFile</key>
    2929        <string>MainMenu</string>
    3030        <key>NSPrincipalClass</key>
    3131        <string>FSAApp</string>
     32        <key>LSMinimumSystemVersion</key>
     33        <string>10.5.0</string>
    3234        <key>SecTaskAccess</key>
    3335        <string>allowed</string>
  • trunk/Cocoa/F-Script Anywhere/Source/Read Me

    r230 r409  
    1 F-Script Anywhere 1.2 [5 January 2004]
    2 =====================
     1F-Script Anywhere 2.0d2 [24 February 2008]
     2=======================
    33
    44Add a F-Script interpreter to Cocoa applications dynamically.
    55
    6 Written by Nicholas Riley <mailto:fsa@sabi.net>.
     6Written by Nicholas Riley <mailto:fsa@sabi.net> and Robert Chin.
    77Obtain updates from <http://web.sabi.net/nriley/software/>.
    88
     
    2424directory, such as /Library/Frameworks or ~/Library/Frameworks.
    2525
    26 F-Script Anywhere 1.2 was tested with FScript.framework 1.2.5
    27 (20031020) and Mac OS X 10.3.2 (7D24).  If you are using an earlier
    28 F-Script version, please upgrade.  F-Script Anywhere 1.2 should also
    29 work with Mac OS X 10.2.x, but will not work with Mac OS X 10.1 or
    30 earlier: please use F-Script Anywhere 1.1.5 instead.
    31 
     26F-Script Anywhere 2.0d2 was tested with FScript.framework 2.0a2 and
     27Mac OS X 10.5.2 (9C31).  If you are using an earlier F-Script version,
     28please upgrade.  F-Script Anywhere 2.0 requires Mac OS X 10.5 or
     29later; if you're using Mac OS X 10.4, download F-Script 1.3.5
     30(20070421) which includes F-Script Anywhere 1.3.
    3231
    3332USAGE
     
    65641. Install FScript.framework (see above).
    6665
    67 2. Check out the source of 'otool' from the Darwin CVS repository.
    68    This is required because there's a bug in the function that returns
    69    the 'flavo(u)r' of an application: Cocoa, Carbon, Classic, etc.
    70    It identifies all Cocoa applications as Carbon ones.  So as a
    71    workaround, F-Script Anywhere examines the application itself to
    72    see what libraries it links with.  (This may fail if you're doing
    73    something weird like linking to development versions of Foundation
    74    and AppKit, but since I don't work for Apple, I couldn't test that
    75    eventuality.)
    76 
    77    Check out Commands/Apple/cctools/{include,libstuff} from Darwin
    78    CVS into the "Darwin source" directory.  If you don't have a CVS
    79    account, go to <http://www.opensource.apple.com/> and get one.
    80 
    81    cd to the libstuff directory and type 'make' (it doesn't use
    82    jam/pbxbuild).  I _think_ this is all you need.
    83 
    84 3. Unzip DSTools-60.1.zip. Open the folder up and open
    85    DSTools.xcodeproj. Change the active target to the DSCL framework,
    86    change the build configuration to Deployment, and then build the
    87    framework. Copy the resulting framework into the FSA Source/
    88    directory. Alternatively if you're on PPC, you can just remove the
    89    DSCL framework from the dependancies. The DSCL framework is used
    90    to determine if you are in the procmod group on intel machines
    91    (and if not, to prompt you if you want to add yourself) -- something
    92    that is necessary for use of FSA on x86.
    93 
    94 4. Unzip FScript.framework.zip, or put a newer version of FScript.framework
    95    in the project path. This is used for the FScript framework auto installer.
     662. In the "Darwin source" directory, check out Darwin's cctools from
     67   <http://www.opensource.apple.com/>, untar it and rename the
     68   directory to "cctools".  cd to the libstuff directory and type
     69   'make RC_CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" RC_XBS=YES dynamic'.
     70
     713. Put a version of FScript.framework into the Source folder. This
     72   is used for the F-Script framework auto installer.
    9673   
    97 5. Open 'F-Script Anywhere.xcodeproj' in Xcode and build the Application
     744. Open 'F-Script Anywhere.xcodeproj' in Xcode and build the Application
    9875   target.  This target depends on the Bundle and Bundle Loader
    9976   targets, so you don't need to build them separately.  You
     
    161138A. If you need to access a view (such as a button or text field), menu or
    162139   window, youÕre in luck.  Click in an F-Script workspace window, then
    163    choose ÒAssociate With InterfaceÓ from the ÒFSAÓ menu.
     140   click or choose ÒBrowser for TargetÉÓ from the ÒFSAÓ menu.
    164141   Follow the instructions in the window to select a user interface
    165142   element, view it in an object browser or assign it to a variable.
    166143
    167144   The F-Script object browser now provides a similar feature: click the
    168    "Select view" button.
     145   ÒSelect ViewÓ button.
    169146
    170147
     
    184161A. That's not a question.  But if you have a question about F-Script
    185162   Anywhere, a suggestion or a bug to report, please email it to me at
    186    <fsa@sabi.net>.  Please try to keep your messages short and to the
    187    point, and I'll get back to you as soon as my schedule will allow.
    188    Thanks!
     163   <fsa@sabi.net>.  I'll get back to you as soon as my schedule will
     164   allow.  Thanks!
    189165
    190166
    191167VERSION HISTORY
    192168---------------
    193 1.3   - 5 May     2006  - Fixed leaking of file handles
     1692.0   - unreleased      - Injectable into Cocoa garbage collected apps
     170                        - Requires F-Script 2.0 and Mac OS X 10.5
     1711.3.1 - 17 October 2007 - Compatible with Mac OS X 10.5
     1721.3   - 5 May 2006      - Fixed leaking of file handles
    194173                        - Removed deprecated F-Script functions
    195174                        - New associate option that automatically
     
    261240
    262241Philippe Mougin, for F-Script
    263 Jonathan 'Wolf' Rentsch, for mach_inject
     242Robert Chin, for maintenance and Intel/Leopard porting
     243Jonathan 'Wolf' Rentsch and Bertrand GuihŽneuf, for mach_inject
    264244Jon Gotow, for SCPatch and lots of advice
    265245Mike Ferris, for TextExtras
Note: See TracChangeset for help on using the changeset viewer.