Author: allan
Date: 2006-09-22 19:36:44 -0400 (Fri, 22 Sep 2006)
New Revision: 65828

Modified:
   trunk/Dumbarton/src/Dumbarton.h
   trunk/Dumbarton/src/Dumbarton.xcodeproj/project.pbxproj
   trunk/Dumbarton/src/Judy/Judy.xcodeproj/project.pbxproj
Log:
- exposed previously hidden wrapper classes in case people want to be clever
- changed Debug configuration optimization flags on Dumbarton and Judy to use 
-O0 in order to improve debugging and reduce compile time.
- changed Release configuration optimization flag to -Os to reduce universal 
binary size


Modified: trunk/Dumbarton/src/Dumbarton.h
===================================================================
--- trunk/Dumbarton/src/Dumbarton.h     2006-09-22 22:43:51 UTC (rev 65827)
+++ trunk/Dumbarton/src/Dumbarton.h     2006-09-22 23:36:44 UTC (rev 65828)
@@ -44,5 +44,8 @@
 //categories
 #import "DBCategories.h"
 
+//wrappers
+#import "DBWrappers.h"
+
 //utility functions
 #import "DBUtility.h"
\ No newline at end of file

Modified: trunk/Dumbarton/src/Dumbarton.xcodeproj/project.pbxproj
===================================================================
--- trunk/Dumbarton/src/Dumbarton.xcodeproj/project.pbxproj     2006-09-22 
22:43:51 UTC (rev 65827)
+++ trunk/Dumbarton/src/Dumbarton.xcodeproj/project.pbxproj     2006-09-22 
23:36:44 UTC (rev 65828)
@@ -23,15 +23,15 @@
                9D13A6EE08833E74008ACA37 /* DBBoxing.h in Headers */ = {isa = 
PBXBuildFile; fileRef = 9D13A6EC08833E74008ACA37 /* DBBoxing.h */; settings = 
{ATTRIBUTES = (Public, ); }; };
                9D496B2F09082F6700CD26AF /* DBImageCategory.h in Headers */ = 
{isa = PBXBuildFile; fileRef = 9D496B2D09082F6700CD26AF /* DBImageCategory.h 
*/; settings = {ATTRIBUTES = (Public, ); }; };
                9D496B3009082F6700CD26AF /* DBImageCategory.m in Sources */ = 
{isa = PBXBuildFile; fileRef = 9D496B2E09082F6700CD26AF /* DBImageCategory.m 
*/; };
-               9D6335AE09750DAD00FB76DF /* DBWrappedData.h in Headers */ = 
{isa = PBXBuildFile; fileRef = 9D6335AC09750DAD00FB76DF /* DBWrappedData.h */; 
};
+               9D6335AE09750DAD00FB76DF /* DBWrappedData.h in Headers */ = 
{isa = PBXBuildFile; fileRef = 9D6335AC09750DAD00FB76DF /* DBWrappedData.h */; 
settings = {ATTRIBUTES = (Public, ); }; };
                9D6335AF09750DAD00FB76DF /* DBWrappedData.m in Sources */ = 
{isa = PBXBuildFile; fileRef = 9D6335AD09750DAD00FB76DF /* DBWrappedData.m */; 
};
                9D68AF5408EA1569002C7AB0 /* DBDateCategory.h in Headers */ = 
{isa = PBXBuildFile; fileRef = 9D68AF5208EA1569002C7AB0 /* DBDateCategory.h */; 
settings = {ATTRIBUTES = (Public, ); }; };
                9D68AF5508EA1569002C7AB0 /* DBDateCategory.m in Sources */ = 
{isa = PBXBuildFile; fileRef = 9D68AF5308EA1569002C7AB0 /* DBDateCategory.m */; 
};
                9D69DC4308B1851E008BB787 /* DBMonoEnvironment.h in Headers */ = 
{isa = PBXBuildFile; fileRef = 9D69DC4108B1851E008BB787 /* DBMonoEnvironment.h 
*/; settings = {ATTRIBUTES = (Public, ); }; };
                9D69DC4408B1851E008BB787 /* DBMonoEnvironment.m in Sources */ = 
{isa = PBXBuildFile; fileRef = 9D69DC4208B1851E008BB787 /* DBMonoEnvironment.m 
*/; };
-               9D8863490974F55500365976 /* DBWrappedString.h in Headers */ = 
{isa = PBXBuildFile; fileRef = 9D8863470974F55500365976 /* DBWrappedString.h 
*/; };
+               9D8863490974F55500365976 /* DBWrappedString.h in Headers */ = 
{isa = PBXBuildFile; fileRef = 9D8863470974F55500365976 /* DBWrappedString.h 
*/; settings = {ATTRIBUTES = (Public, ); }; };
                9D88634A0974F55500365976 /* DBWrappedString.m in Sources */ = 
{isa = PBXBuildFile; fileRef = 9D8863480974F55500365976 /* DBWrappedString.m 
*/; };
-               9D88636A0974F59A00365976 /* DBWrappers.h in Headers */ = {isa = 
PBXBuildFile; fileRef = 9D8863680974F59A00365976 /* DBWrappers.h */; };
+               9D88636A0974F59A00365976 /* DBWrappers.h in Headers */ = {isa = 
PBXBuildFile; fileRef = 9D8863680974F59A00365976 /* DBWrappers.h */; settings = 
{ATTRIBUTES = (Public, ); }; };
                9D8A17D6096A4085000477C0 /* DBFileInfo.h in Headers */ = {isa = 
PBXBuildFile; fileRef = 9D8A17D4096A4085000477C0 /* DBFileInfo.h */; settings = 
{ATTRIBUTES = (Public, ); }; };
                9D8A17D7096A4085000477C0 /* DBFileInfo.m in Sources */ = {isa = 
PBXBuildFile; fileRef = 9D8A17D5096A4085000477C0 /* DBFileInfo.m */; };
                9D8BE8210885A57600D019A5 /* DBIList.h in Headers */ = {isa = 
PBXBuildFile; fileRef = 9D8BE81F0885A57600D019A5 /* DBIList.h */; settings = 
{ATTRIBUTES = (Public, ); }; };
@@ -559,7 +559,7 @@
                                GCC_ENABLE_OBJC_EXCEPTIONS = YES;
                                GCC_FAST_OBJC_DISPATCH = YES;
                                GCC_MODEL_TUNING = "";
-                               GCC_OPTIMIZATION_LEVEL = 2;
+                               GCC_OPTIMIZATION_LEVEL = 0;
                                GCC_UNROLL_LOOPS = NO;
                                MACOSX_DEPLOYMENT_TARGET = 10.4;
                                OTHER_CFLAGS = (
@@ -602,7 +602,7 @@
                                GCC_ENABLE_OBJC_EXCEPTIONS = YES;
                                GCC_FAST_OBJC_DISPATCH = YES;
                                GCC_MODEL_TUNING = "";
-                               GCC_OPTIMIZATION_LEVEL = 2;
+                               GCC_OPTIMIZATION_LEVEL = s;
                                GCC_UNROLL_LOOPS = NO;
                                MACOSX_DEPLOYMENT_TARGET = 10.4;
                                OTHER_CFLAGS = (

Modified: trunk/Dumbarton/src/Judy/Judy.xcodeproj/project.pbxproj
===================================================================
--- trunk/Dumbarton/src/Judy/Judy.xcodeproj/project.pbxproj     2006-09-22 
22:43:51 UTC (rev 65827)
+++ trunk/Dumbarton/src/Judy/Judy.xcodeproj/project.pbxproj     2006-09-22 
23:36:44 UTC (rev 65828)
@@ -194,7 +194,7 @@
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                        shellPath = /bin/sh;
-                       shellScript = "set -x\ncd 
\"$PROJECT_DIR\"\n\nproduct=\"$TARGET_TEMP_DIR/$TARGET_NAME.stamp\"\n\n# logic 
to determine whether to build; this is crapp-ay\nif [ -f \"$product\" 
]\nthen\n\tfind_output=`find \"$PROJECT_DIR\"/src -maxdepth 3 -type f -newer 
\"$product\" ! -regex '.*\\.svn.*'`\n\n\tif [ \"x$find_output\" == \"x\" 
]\n\tthen\n\t\techo \"Short circuiting build, looks like nothing's 
changed.\"\n\t\texit 0\n\tfi\nfi\n\nmkdir -p \"$TARGET_TEMP_DIR\"\nrsync -avv 
--exclude=.svn \"$PROJECT_DIR\" \"$TARGET_TEMP_DIR\"\ncd 
\"$TARGET_TEMP_DIR/Judy\"\n\nif test \"x$BUILD_STYLE\" == \"xRelease\"; 
then\n\tCFLAGS=\"-O2 -g -arch i386 -arch ppc\"\nelse\n\tCFLAGS=\"-O2 
-g\"\nfi\n\nenv CC=\"/usr/bin/gcc-4.0 -isysroot 
/Developer/SDKs/MacOSX10.4u.sdk\" \\\n\tCFLAGS=\"$CFLAGS\" \\\n\t./configure 
--enable-32-bit --disable-dependency-tracking\n\nmake && touch 
\"$product\"\n\nmkdir -p \"$BUILT_PRODUCTS_DIR\"\nexit 0";
+                       shellScript = "set -x\ncd 
\"$PROJECT_DIR\"\n\nproduct=\"$TARGET_TEMP_DIR/$TARGET_NAME.stamp\"\n\n# logic 
to determine whether to build; this is crapp-ay\nif [ -f \"$product\" 
]\nthen\n\tfind_output=`find \"$PROJECT_DIR\"/src -maxdepth 3 -type f -newer 
\"$product\" ! -regex '.*\\.svn.*'`\n\n\tif [ \"x$find_output\" == \"x\" 
]\n\tthen\n\t\techo \"Short circuiting build, looks like nothing's 
changed.\"\n\t\texit 0\n\tfi\nfi\n\nmkdir -p \"$TARGET_TEMP_DIR\"\nrsync -avv 
--exclude=.svn \"$PROJECT_DIR\" \"$TARGET_TEMP_DIR\"\ncd 
\"$TARGET_TEMP_DIR/Judy\"\n\nif test \"x$BUILD_STYLE\" == \"xRelease\"; 
then\n\tCFLAGS=\"-Os -g -arch i386 -arch ppc\"\nelse\n\tCFLAGS=\"-O0 
-g\"\nfi\n\nenv CC=\"/usr/bin/gcc-4.0 -isysroot 
/Developer/SDKs/MacOSX10.4u.sdk\" \\\n\tCFLAGS=\"$CFLAGS\" \\\n\t./configure 
--enable-32-bit --disable-dependency-tracking\n\nmake && touch 
\"$product\"\n\nmkdir -p \"$BUILT_PRODUCTS_DIR\"\nexit 0";
                };
 /* End PBXShellScriptBuildPhase section */
 
@@ -204,13 +204,8 @@
                        buildSettings = {
                                COPY_PHASE_STRIP = NO;
                                DEBUG_INFORMATION_FORMAT = dwarf;
-                               GCC_DEBUGGING_SYMBOLS = full;
                                INSTALL_PATH = "@executable_path/../Libraries";
                                MACOSX_DEPLOYMENT_TARGET = 10.4;
-                               OTHER_CFLAGS = (
-                                       "-g",
-                                       "-O2",
-                               );
                                SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
                                SKIP_INSTALL = YES;
                                SYMROOT = build;
@@ -225,37 +220,13 @@
                                        ppc,
                                );
                                DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-                               GCC_DEBUGGING_SYMBOLS = full;
                                INSTALL_PATH = "@executable_path/../Libraries";
                                MACOSX_DEPLOYMENT_TARGET = 10.4;
-                               OTHER_CFLAGS = (
-                                       "-g",
-                                       "-O2",
-                               );
                                SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
                                SKIP_INSTALL = YES;
                        };
                        name = Release;
                };
-               9D12EAB408CE420700C6653E /* Default */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               ARCHS = (
-                                       i386,
-                                       ppc,
-                               );
-                               GCC_DEBUGGING_SYMBOLS = full;
-                               INSTALL_PATH = "@executable_path/../Libraries";
-                               MACOSX_DEPLOYMENT_TARGET = 10.4;
-                               OTHER_CFLAGS = (
-                                       "-g",
-                                       "-O2",
-                               );
-                               SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
-                               SKIP_INSTALL = YES;
-                       };
-                       name = Default;
-               };
                9DA4F60E08CE841C008EE9FB /* Debug */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
@@ -282,19 +253,6 @@
                        };
                        name = Release;
                };
-               9DA4F61008CE841C008EE9FB /* Default */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               LIBRARY_STYLE = STATIC;
-                               PRODUCT_NAME = Judy;
-                               WARNING_CFLAGS = (
-                                       "-Wmost",
-                                       "-Wno-four-char-constants",
-                                       "-Wno-unknown-pragmas",
-                               );
-                       };
-                       name = Default;
-               };
 /* End XCBuildConfiguration section */
 
 /* Begin XCConfigurationList section */
@@ -303,20 +261,18 @@
                        buildConfigurations = (
                                9D12EAB208CE420700C6653E /* Debug */,
                                9D12EAB308CE420700C6653E /* Release */,
-                               9D12EAB408CE420700C6653E /* Default */,
                        );
                        defaultConfigurationIsVisible = 0;
-                       defaultConfigurationName = Default;
+                       defaultConfigurationName = Debug;
                };
                9DA4F60D08CE841C008EE9FB /* Build configuration list for 
PBXNativeTarget "libJudy.a" */ = {
                        isa = XCConfigurationList;
                        buildConfigurations = (
                                9DA4F60E08CE841C008EE9FB /* Debug */,
                                9DA4F60F08CE841C008EE9FB /* Release */,
-                               9DA4F61008CE841C008EE9FB /* Default */,
                        );
                        defaultConfigurationIsVisible = 0;
-                       defaultConfigurationName = Default;
+                       defaultConfigurationName = Debug;
                };
 /* End XCConfigurationList section */
        };

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to