Changeset 412 for trunk/Cocoa/F-Script Anywhere
- Timestamp:
- 02/24/08 21:40:25 (17 years ago)
- Location:
- trunk/Cocoa/F-Script Anywhere/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/F-Script Anywhere/Source/F-Script Anywhere.xcodeproj/project.pbxproj
r411 r412 648 648 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 649 649 GCC_OPTIMIZATION_LEVEL = 0; 650 GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;651 GCC_WARN_UNKNOWN_PRAGMAS = NO;652 650 INFOPLIST_FILE = "Bundle-Info.plist"; 653 OTHER_CFLAGS = "";654 651 PRODUCT_NAME = "F-Script Anywhere"; 655 652 SKIP_INSTALL = YES; … … 670 667 ); 671 668 GCC_ENABLE_OBJC_GC = supported; 672 GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;673 GCC_WARN_UNKNOWN_PRAGMAS = NO;674 669 INFOPLIST_FILE = "Bundle-Info.plist"; 675 OTHER_CFLAGS = "-DFSA_DEBUG=0";676 670 PRODUCT_NAME = "F-Script Anywhere"; 677 671 SKIP_INSTALL = YES; … … 687 681 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 688 682 GCC_OPTIMIZATION_LEVEL = 0; 689 GCC_PRECOMPILE_PREFIX_HEADER = YES;690 GCC_PREFIX_HEADER = "$(SDKROOT)/$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";691 GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;692 GCC_WARN_UNKNOWN_PRAGMAS = NO;693 683 INFOPLIST_FILE = "Bundle Loader-Info.plist"; 694 OPTIMIZATION_CFLAGS = "-O0";695 OTHER_CFLAGS = "";696 684 PRODUCT_NAME = SCPatchLoader; 697 WARNING_CFLAGS = "-Wmost";698 ZERO_LINK = NO;699 685 }; 700 686 name = Development; … … 709 695 COPY_PHASE_STRIP = YES; 710 696 GCC_ENABLE_OBJC_GC = supported; 711 GCC_PRECOMPILE_PREFIX_HEADER = YES;712 GCC_PREFIX_HEADER = "$(SDKROOT)/$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";713 GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;714 GCC_WARN_UNKNOWN_PRAGMAS = NO;715 697 INFOPLIST_FILE = "Bundle Loader-Info.plist"; 716 OTHER_CFLAGS = "-DFSA_DEBUG=0";717 698 PRODUCT_NAME = SCPatchLoader; 718 WARNING_CFLAGS = "-Wmost";719 ZERO_LINK = NO;720 699 }; 721 700 name = Deployment; … … 748 727 ); 749 728 PRODUCT_NAME = "F-Script Anywhere"; 750 WARNING_CFLAGS = (751 "-Wno-long-double",752 "-Wmost",753 "-Wno-four-char-constants",754 "-Wno-unknown-pragmas",755 );756 729 WRAPPER_EXTENSION = app; 757 730 }; … … 789 762 ); 790 763 PRODUCT_NAME = "F-Script Anywhere"; 791 WARNING_CFLAGS = (792 "-Wno-long-double",793 "-Wmost",794 "-Wno-four-char-constants",795 "-Wno-unknown-pragmas",796 );797 764 WRAPPER_EXTENSION = app; 798 765 }; -
trunk/Cocoa/F-Script Anywhere/Source/FSAApp.h
r231 r412 29 29 #import "FSAAppList.h" 30 30 31 #ifdef __cplusplus 32 31 33 #include "SCPatchController.h" 32 34 … … 43 45 FSAApp *mApp; 44 46 }; 47 48 #else 49 50 #define FSAPatchController void 51 52 #endif /* __cplusplus */ 45 53 46 54 @interface FSAApp : NSApplication -
trunk/Cocoa/F-Script Anywhere/Source/FSAAppList.m
r397 r412 27 27 #include <sys/types.h> 28 28 #include <sys/sysctl.h> 29 #import "FSAApp.h" 29 30 #import "FSAAppList.h" 30 31 #import "FSAnywhere.h" … … 241 242 if(finishedLaunch){ 242 243 if([alwaysApps containsObject:[app name]] && ![patchedApps containsObject:app]) 243 [ NSApp installBundleInAppWithPID:[app pid]];244 [(FSAApp *)NSApp installBundleInAppWithPID:[app pid]]; 244 245 } 245 246 } … … 465 466 while(anApp = [e nextObject]){ 466 467 if([alwaysApps containsObject:[anApp name]]){ 467 [ NSApp installBundleInAppWithPID:[anApp pid]];468 [(FSAApp *)NSApp installBundleInAppWithPID:[anApp pid]]; 468 469 } 469 470 } … … 482 483 NSString *appName = [[cocoaApps objectAtIndex:[sender clickedRow]] name]; 483 484 if(![alwaysApps containsObject:appName]){ 484 [ NSApp installBundleInAppWithPID:[[cocoaApps objectAtIndex:[sender clickedRow]] pid]];485 [(FSAApp *)NSApp installBundleInAppWithPID:[[cocoaApps objectAtIndex:[sender clickedRow]] pid]]; 485 486 [alwaysApps addObject:appName]; 486 487 } else -
trunk/Cocoa/F-Script Anywhere/Source/FSAController.h
r404 r412 46 46 47 47 - (IBAction)setFloating:(id)sender; 48 - (IBAction)FSA_associateWithInterface:(id)sender;49 48 - (IBAction)FSA_associateAndOpenBrowser:(id)sender; 50 49 -
trunk/Cocoa/F-Script Anywhere/Source/FSAWindowManager.m
r16 r412 234 234 int itemIndex = [menu indexOfItemWithRepresentedObject: window]; 235 235 236 NSAssert1(itemIndex != -1, @"Can Õt get menu item for window %@", window);236 NSAssert1(itemIndex != -1, @"Can't get menu item for window %@", window); 237 237 [self addRecord: record]; 238 238 [menu insertItem: [record menuItem] atIndex: itemIndex + 1]; -
trunk/Cocoa/F-Script Anywhere/Source/Read Me
r409 r412 168 168 --------------- 169 169 2.0 - unreleased - Injectable into Cocoa garbage collected apps 170 (64-bit applications are not yet supported) 170 171 - Requires F-Script 2.0 and Mac OS X 10.5 171 172 1.3.1 - 17 October 2007 - Compatible with Mac OS X 10.5
Note:
See TracChangeset
for help on using the changeset viewer.