Ignore:
Timestamp:
Dec 20, 2007, 2:17:42 PM (17 years ago)
Author:
[email protected]
Message:

2007-12-20 Rodney Dawes <[email protected]>

Reviewed by Darin Adler.

Proxy includes of npruntime.h or npapi.h through npruntime_internal.h
Include stdio.h in npapi.h for the use of FILE with XP_UNIX defined
This is for building with X11, as some type and enum names conflict
with #define names in X11 headers.
http://bugs.webkit.org/show_bug.cgi?id=15669

  • JavaScriptCore.xcodeproj/project.pbxproj:
  • bindings/NP_jsobject.h:
  • bindings/npapi.h:
  • bindings/npruntime.cpp:
  • bindings/npruntime_impl.h:
  • bindings/npruntime_priv.h:
  • bindings/npruntime_internal.h:
  • bindings/testbindings.cpp:
  • bindings/c/c_class.h:
  • bindings/c/c_runtime.h:
  • bindings/c/c_utility.h:

2007-12-20 Rodney Dawes <[email protected]>

Reviewed by Darin Adler.

Define XP_UNIX when building with plugins on X11.
Use new npruntime_internal.h instead of npruntime.h.
http://bugs.webkit.org/show_bug.cgi?id=15669

  • ForwardingHeaders/bindings/npruntime_internal.h
  • WebCore.pro:
  • html/HTMLPlugInElement.h:
File:
1 edited

Legend:

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

    r28777 r28911  
    8989                51F648D70BB4E2CA0033D760 /* RetainPtr.h in Headers */ = {isa = PBXBuildFile; fileRef = 51F648D60BB4E2CA0033D760 /* RetainPtr.h */; settings = {ATTRIBUTES = (Private, ); }; };
    9090                5DA479660CFBCF56009328A0 /* TCPackedCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DA479650CFBCF56009328A0 /* TCPackedCache.h */; };
     91                5DAF21B00D1B1ED60000B392 /* npruntime_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DAF21AF0D1B1ED60000B392 /* npruntime_internal.h */; settings = {ATTRIBUTES = (Private, ); }; };
    9192                5DBD18AC0C54018700C15EAE /* CollectorHeapIntrospector.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DBD18AA0C54018700C15EAE /* CollectorHeapIntrospector.h */; };
    9293                5DBD18B00C5401A700C15EAE /* MallocZoneSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DBD18AF0C5401A700C15EAE /* MallocZoneSupport.h */; };
     
    496497                51F648D60BB4E2CA0033D760 /* RetainPtr.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = RetainPtr.h; sourceTree = "<group>"; };
    497498                5DA479650CFBCF56009328A0 /* TCPackedCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TCPackedCache.h; sourceTree = "<group>"; };
     499                5DAF21AF0D1B1ED60000B392 /* npruntime_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = npruntime_internal.h; path = bindings/npruntime_internal.h; sourceTree = "<group>"; };
    498500                5DBD18A90C54018700C15EAE /* CollectorHeapIntrospector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CollectorHeapIntrospector.cpp; sourceTree = "<group>"; };
    499501                5DBD18AA0C54018700C15EAE /* CollectorHeapIntrospector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CollectorHeapIntrospector.h; sourceTree = "<group>"; };
     
    835837                        isa = PBXGroup;
    836838                        children = (
     839                                5DAF21AF0D1B1ED60000B392 /* npruntime_internal.h */,
    837840                                5182A53A06012C3000CBD2F2 /* c_class.cpp */,
    838841                                5182A53B06012C3000CBD2F2 /* c_class.h */,
     
    11751178                                14ABB455099C2A0F00E2A24F /* JSType.h in Headers */,
    11761179                                1482B6EB0A4300B300517CFC /* JSValueRef.h in Headers */,
     1180                                14F252570D08DD8D004ECFFF /* JSVariableObject.h in Headers */,
    11771181                                65C7A1740A8EAACB00FA37EA /* JSWrapperObject.h in Headers */,
    11781182                                14BD5A360A3E91F600BAF59C /* JavaScriptCore.h in Headers */,
     
    11921196                                65D6D87F09B5A32E0002E4D7 /* Platform.h in Headers */,
    11931197                                65400C120A69BAF200509887 /* PropertyNameArray.h in Headers */,
     1198                                1419D32D0CEA7CDE00FF507A /* RefCounted.h in Headers */,
    11941199                                65C647B4093EF8D60022C380 /* RefPtr.h in Headers */,
     1200                                148A1ECE0D10C23B0069A47C /* RefPtrHashMap.h in Headers */,
    11951201                                51F648D70BB4E2CA0033D760 /* RetainPtr.h in Headers */,
    11961202                                14BD534C0A3E0AEA00BAF59C /* SavedBuiltins.h in Headers */,
    11971203                                E11D51760B2E798D0056C188 /* StringExtras.h in Headers */,
    11981204                                14A396A70CD2933100B5B4FF /* SymbolTable.h in Headers */,
     1205                                5DA479660CFBCF56009328A0 /* TCPackedCache.h in Headers */,
    11991206                                6541BD7208E80A17002CBEE7 /* TCPageMap.h in Headers */,
    12001207                                6541BD7308E80A17002CBEE7 /* TCSpinLock.h in Headers */,
    12011208                                6541BD7508E80A17002CBEE7 /* TCSystemAlloc.h in Headers */,
     1209                                E1EF79AB0CE97BA60088D500 /* UTF8.h in Headers */,
    12021210                                E195679809E7CF1200B89D13 /* Unicode.h in Headers */,
    12031211                                E195679609E7CF1200B89D13 /* UnicodeIcu.h in Headers */,
     
    12441252                                932F5B850822A1C700736975 /* npruntime.h in Headers */,
    12451253                                932F5B8E0822A1C700736975 /* npruntime_impl.h in Headers */,
     1254                                5DAF21B00D1B1ED60000B392 /* npruntime_internal.h in Headers */,
    12461255                                932F5B8D0822A1C700736975 /* npruntime_priv.h in Headers */,
    12471256                                932F5B510822A1C700736975 /* number_object.h in Headers */,
     
    12751284                                932F5B5C0822A1C700736975 /* ustring.h in Headers */,
    12761285                                14ABB36F099C076400E2A24F /* value.h in Headers */,
    1277                                 E1EF79AB0CE97BA60088D500 /* UTF8.h in Headers */,
    1278                                 1419D32D0CEA7CDE00FF507A /* RefCounted.h in Headers */,
    1279                                 5DA479660CFBCF56009328A0 /* TCPackedCache.h in Headers */,
    1280                                 14F252570D08DD8D004ECFFF /* JSVariableObject.h in Headers */,
    1281                                 148A1ECE0D10C23B0069A47C /* RefPtrHashMap.h in Headers */,
    12821286                        );
    12831287                        runOnlyForDeploymentPostprocessing = 0;
     
    15361540                                1440FCE40A51E46B0005F061 /* JSClassRef.cpp in Sources */,
    15371541                                14BD5A300A3E91F600BAF59C /* JSContextRef.cpp in Sources */,
     1542                                14DE0D690D02431400AACCA2 /* JSGlobalObject.cpp in Sources */,
    15381543                                1482B7E40A43076000517CFC /* JSObjectRef.cpp in Sources */,
    15391544                                1482B74E0A43032800517CFC /* JSStringRef.cpp in Sources */,
    15401545                                146AAB380B66A94400E55F16 /* JSStringRefCF.cpp in Sources */,
    15411546                                14BD5A320A3E91F600BAF59C /* JSValueRef.cpp in Sources */,
     1547                                14F252610D08DF2F004ECFFF /* JSVariableObject.cpp in Sources */,
    15421548                                932F5BC60822A1C700736975 /* NP_jsobject.cpp in Sources */,
     1549                                E1EF79AA0CE97BA60088D500 /* UTF8.cpp in Sources */,
    15431550                                932F5BCA0822A1C700736975 /* c_class.cpp in Sources */,
    15441551                                932F5BC70822A1C700736975 /* c_instance.cpp in Sources */,
     
    15671574                                932F5BBA0822A1C700736975 /* runtime_object.cpp in Sources */,
    15681575                                932F5BC50822A1C700736975 /* runtime_root.cpp in Sources */,
    1569                                 E1EF79AA0CE97BA60088D500 /* UTF8.cpp in Sources */,
    1570                                 14DE0D690D02431400AACCA2 /* JSGlobalObject.cpp in Sources */,
    1571                                 14F252610D08DF2F004ECFFF /* JSVariableObject.cpp in Sources */,
    15721576                        );
    15731577                        runOnlyForDeploymentPostprocessing = 0;
Note: See TracChangeset for help on using the changeset viewer.