Ignore:
Timestamp:
May 6, 2002, 4:40:45 PM (23 years ago)
Author:
darin
Message:

i * Makefile.am: Generate the PFE precompiled headers to be used

by automake compiles. Currently these don't have any dependency
tracking, but I'm sure Maciej can fix that if he wants to.

  • configure.in: Go from "xNDEBUG" to "NDEBUG" now that precompiled headers aren't in the way. Pass in the --load-pch option to all the various compiles so they get the precompiled headers.
  • Tests/libiftest/Makefile.am: Generate a top_srcdir.h file rather than passing it in on the command line. This works around a PFE bug with -D, Radar 2921026.
  • Tests/libiftest/IFTestDirectory.c: Use top_srcdir.h.
  • Tests/libiftest/.cvsignore: Ignore top_srcdir.h.
  • Tests/qt/qpoint-test.cpp: (main): Take out an unused variable and all the USING_BORROWED_QPOINT code.
  • Tools/Makefile.am: Don't built the HotSpots directory for now, since it runs into a PFE bug and we usually use the application version now.
  • Tools/Scripts/check-non-ASCII: Skip preprocessor directives.
  • Tools/Scripts/cvs-abandon: Tweak.

JavaScriptCore:

  • JavaScriptCorePrefix.h: Added.
  • JavaScriptCore.pbproj/project.pbxproj: Use PFE precompiling. Also switch from xNDEBUG to NDEBUG.

WebFoundation:

Reviewed by Ken Kocienda:

  • WebFoundationPrefix.h: Added.
  • WebFoundation.pbproj/project.pbxproj: Use PFE precompiling. Also switch from xNDEBUG to NDEBUG.
  • AuthenticationManager.subproj/IFAuthenticationManager.m:
  • CookieManager.subproj/IFCookie.m:
  • Misc.subproj/IFNSStringExtensions.m:
  • Misc.subproj/WebFoundationDebug.m: Add undefs to work around PFE problem with inline functions, Radar 2920554.
  • CacheLoader.subproj/IFHTTPURLProtocolHandler.m: Fix include to work with normal Project Builder way of dealing with frameworks. Switch from xNDEBUG to NDEBUG.
  • CacheLoader.subproj/IFURLLoad.m:
  • CookieManager.subproj/IFCookie.m:
  • Database.subproj/IFURLFileDatabase.m:
  • Misc.subproj/IFError.m:
  • Misc.subproj/IFMonitor.h:
  • Misc.subproj/IFMonitor.m:
  • Misc.subproj/IFRecursiveReadWriteLock.h: Use import instead of include.
  • Misc.subproj/IFCFNetworkExtensions.m: Added.
  • Misc.subproj/IFCFRunLoopExtensions.m: Added.
  • Misc.subproj/IFCFNetworkExtensions.c: Removed.
  • Misc.subproj/IFCFRunLoopExtensions.c: Removed. Renamed so we could share the Objective-C precompile. No need to compile this code as plain C, even though it doesn't use any Objective-C features.
  • Misc.subproj/WebFoundationDebug.h: Get rid of format attribute because of bug
  1. Switch from xNDEBUG to NDEBUG.

WebCore:

  • WebCorePrefix.h: Added.
  • .cvsignore: Ignore the .pfe files in this directory.
  • khtml/dom/dom_doc.cpp:
  • khtml/dom/dom_text.cpp: Added namespace directives as a clean workaround for a conflict with the struct named Comment in <Carbon/AIFF.h>
  • kwq/KWQFont.mm:
  • kwq/KWQFontMetrics.mm:
  • kwq/KWQKGlobal.mm:
  • kwq/KWQListImpl.mm:
  • kwq/KWQPtrDictImpl.h:
  • kwq/KWQVectorImpl.mm:
  • kwq/kwqdebug.h:
  • kwq/qt/qcolor.h:
  • kwq/qt/qcombobox.h:
  • kwq/qt/qregion.h:
  • kwq/qt/qstring.h:
  • kwq/qt/qwidget.h: Remove old workaround for conflicts with Fixed, Rect, and Boolean. It does not good with a precompiled header anyway, and there is a more elegant small fix in the KDE code itself.
  • kwq/qt/qpoint.h:
  • kwq/KWQPointArray.mm: (QPointArray::setPoints): Work around bug with va_arg and PFE by not using varargs here.
  • kwq/KWQRect.mm: (QRect::unite): (QRect::operator&): Use std::min and std::max instead of defining our own MIN and MAX, which conflict with something in one of the headers we are precompiling (error message did not make it clear which).
  • kwq/KWQView.mm: (-[KWQHTMLView layout]), (-[KWQHTMLView drawRect:]): Switch from xNDEBUG to NDEBUG.
  • kwq/Makefile.am: Remove stuff for getting at the header inside the ApplicationServices and QD frameworks, since that code is now in WebKit.
  • kwq/kwqdebug.h: Get rid of format attribute because of bug 2920557. Switch from xNDEBUG to NDEBUG.
  • kwq/kwqdebug.mm: Switch from xNDEBUG to NDEBUG.
  • kwq/qt/qstring.h: Define QT_VERSION in here instead of on the command line to work around a PFE bug with -D, Radar 2921026.

WebKit:

  • WebKitPrefix.h: Added.
  • WebKit.pbproj/project.pbxproj: Use PFE precompiling. Also switch from xNDEBUG to NDEBUG.
  • Misc.subproj/WebKitDebug.h: Get rid of format attribute because of bug
  1. Switch from xNDEBUG to NDEBUG.
  • Misc.subproj/WebKitDebug.m: Add undef to work around PFE problem with inline functions, Radar 2920554.
  • Plugins.subproj/IFPluginView.mm: Changed how we work around the bug in the CGS defines.
  • WebCoreSupport.subproj/IFCachedTextRenderer.h: Change include of the private QD header to use the form that works with more-normal way of getting at the private bits of frameworks.
  • WebCoreSupport.subproj/IFCachedTextRenderer.m: Use the header <CoreGraphics/CoreGraphicsPrivate.h> instead of <CoreGraphics/CGFontPrivate.h>.
  • Misc.subproj/IFCache.mm:
  • WebView.subproj/IFLoadProgress.mm:
  • WebView.subproj/IFWebFrame.mm:
  • WebView.subproj/IFWebFramePrivate.mm:
  • WebView.subproj/IFWebView.mm: Changed includes to imports.

WebBrowser:

  • WebBrowserPrefix.h: Added.
  • WebBrowser.pbproj/project.pbxproj: Use PFE precompiling. Also switch from xNDEBUG to NDEBUG.
  • Debug/CacheController.m: Renamed to make it Objective C rather than Objective C++.
  • Debug/CacheController.mm: Removed.
  • main.m: Use the real CFA2UC. Use import instead of include.
  • _CFA2UC.c: Remove our copy.
  • Debug/DOMTree.mm:
  • Debug/RenderTree.mm:
  • Preferences.subproj/ActiveContentPreferences.h:
  • Preferences.subproj/AppearancePreferences.h:
  • Preferences.subproj/GeneralPreferences.h:
  • Preferences.subproj/SecurityPreferences.h:
  • Preferences.subproj/TextPreferences.h:
  • Preferences.subproj/WBPreferences.h:
  • Test/PageLoadTestLogger.m: Use import instead of include.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.pbproj/project.pbxproj

    r1047 r1102  
    8080                        children = (
    8181                                08FB77AEFE84172EC02AAC07,
     82                                F5C290E50284F960018635CA,
    8283                                089C1665FE841158C02AAC07,
    8384                                0867D69AFE84028FC02AAC07,
     
    9495                        );
    9596                        isa = PBXGroup;
    96                         name = "External Frameworks and Libraries";
     97                        name = Frameworks;
    9798                        refType = 4;
    9899                };
     
    115116                                COPY_PHASE_STRIP = YES;
    116117                                DEBUGGING_SYMBOLS = NO;
    117                                 DEBUG_CFLAGS = "-DxNDEBUG";
     118                                DEBUG_CFLAGS = "-DNDEBUG";
    118119                                DYLIB_COMPATIBILITY_VERSION = 1;
    119120                                DYLIB_CURRENT_VERSION = 1;
     
    125126                                OPTIMIZATION_CFLAGS = "-Os";
    126127                                OTHER_CFLAGS = "$(DEBUG_CFLAGS) -DAPPLE_CHANGES -DHAVE_CONFIG_H";
     128                                PFE_FILE_C_DIALECTS = "c++";
     129                                PRECOMPILE_PREFIX_HEADER = YES;
     130                                PREFIX_HEADER = JavaScriptCorePrefix.h;
    127131                                PRODUCT_NAME = JavaScriptCore;
    128132                                SECTORDER_FLAGS = "";
    129133                                USE_GCC3 = YES;
     134                                USE_GCC3_PFE_SUPPORT = YES;
    130135                                WARNING_CFLAGS = "-Werror -Wall -W -Wbad-function-cast -Wcast-align -Wchar-subscripts -Wformat-security -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter";
    131136                                WRAPPER_EXTENSION = framework;
     
    139144                        productReference = 034768E0FF38A50411DB9C8B;
    140145                        productSettingsXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
    141 <!DOCTYPE plist SYSTEM \"file://localhost/System/Library/DTDs/PropertyList.dtd\">
    142 <plist version=\"0.9\">
     146<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">
     147<plist version=\"1.0\">
    143148<dict>
    144149        <key>CFBundleDevelopmentRegion</key>
     
    212217                                F692A8CD02555BA201FF60F7,
    213218                                F68EBB8E0255D4C601FF60F7,
     219                                F5C290E70284F98E018635CA,
    214220                        );
    215221                        isa = PBXHeadersBuildPhase;
     
    313319                                F692A8520255597D01FF60F7,
    314320                                F692A8530255597D01FF60F7,
    315                                 F692A8540255597D01FF60F7,
    316321                                F692A8550255597D01FF60F7,
    317322                                F692A8560255597D01FF60F7,
     
    367372                                F692A8870255597D01FF60F7,
    368373                                F692A8880255597D01FF60F7,
    369                                 F68EBB8C0255D4C601FF60F7,
    370374                        );
    371375                        isa = PBXGroup;
     
    436440                        name = Unoptimized;
    437441                };
     442                F5C290E50284F960018635CA = {
     443                        children = (
     444                                F692A8540255597D01FF60F7,
     445                                F68EBB8C0255D4C601FF60F7,
     446                                F5C290E60284F98E018635CA,
     447                        );
     448                        isa = PBXGroup;
     449                        name = "Other Sources";
     450                        path = "";
     451                        refType = 4;
     452                };
     453                F5C290E60284F98E018635CA = {
     454                        isa = PBXFileReference;
     455                        path = JavaScriptCorePrefix.h;
     456                        refType = 4;
     457                };
     458                F5C290E70284F98E018635CA = {
     459                        fileRef = F5C290E60284F98E018635CA;
     460                        isa = PBXBuildFile;
     461                        settings = {
     462                        };
     463                };
    438464                F5FFE656026B47A6018635CA = {
    439465                        isa = PBXFileReference;
Note: See TracChangeset for help on using the changeset viewer.