Changeset 101778 in webkit
- Timestamp:
- Dec 2, 2011 3:41:26 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 6 deleted
- 27 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r101751 r101778 1 2011-12-02 Hajime Morrita <morrita@chromium.org> 2 3 Unreviewed, rolling out r101751 and r101775. 4 http://trac.webkit.org/changeset/101751 5 http://trac.webkit.org/changeset/101775 6 https://bugs.webkit.org/show_bug.cgi?id=73191 7 8 breaks Windows build 9 10 * JavaScriptCore.xcodeproj/project.pbxproj: 11 * config.h: 12 * runtime/JSExportMacros.h: Removed. 13 * wtf/ExportMacros.h: 14 * wtf/Platform.h: 15 * wtf/WTFThreadData.h: 16 * wtf/text/AtomicString.h: 17 * wtf/text/StringStatics.cpp: 18 1 19 2011-12-01 Hajime Morrita <morrita@chromium.org> 2 20 -
trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
r101751 r101778 490 490 A7A1F7AD0F252B3C00E184E2 /* ByteArray.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A1F7AB0F252B3C00E184E2 /* ByteArray.h */; settings = {ATTRIBUTES = (Private, ); }; }; 491 491 A7B48F490EE8936F00DCBDB6 /* ExecutableAllocator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7B48DB60EE74CFC00DCBDB6 /* ExecutableAllocator.cpp */; }; 492 A7B4ACAF1484C9CE00B38A36 /* JSExportMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = A7B4ACAE1484C9CE00B38A36 /* JSExportMacros.h */; settings = {ATTRIBUTES = (Private, ); }; };493 492 A7BC0C82140608B000B1BB71 /* CheckedArithmetic.h in Headers */ = {isa = PBXBuildFile; fileRef = A7BC0C81140608B000B1BB71 /* CheckedArithmetic.h */; settings = {ATTRIBUTES = (Private, ); }; }; 494 493 A7C1E8E4112E72EF00A37F98 /* JITPropertyAccess32_64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7C1E8C8112E701C00A37F98 /* JITPropertyAccess32_64.cpp */; }; … … 505 504 A7FB60A4103F7DC20017A286 /* PropertyDescriptor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7FB60A3103F7DC20017A286 /* PropertyDescriptor.cpp */; }; 506 505 A7FB61001040C38B0017A286 /* PropertyDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = A7FB604B103F5EAB0017A286 /* PropertyDescriptor.h */; settings = {ATTRIBUTES = (Private, ); }; }; 507 A7FEE67614837B32005DC1A6 /* ExportMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A275F514837A8E001DBB39 /* ExportMacros.h */; settings = {ATTRIBUTES = (Private, ); }; };508 506 BC02E90D0E1839DB000F9297 /* ErrorConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = BC02E9050E1839DB000F9297 /* ErrorConstructor.h */; }; 509 507 BC02E90F0E1839DB000F9297 /* ErrorPrototype.h in Headers */ = {isa = PBXBuildFile; fileRef = BC02E9070E1839DB000F9297 /* ErrorPrototype.h */; }; … … 1312 1310 A7A1F7AA0F252B3C00E184E2 /* ByteArray.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ByteArray.cpp; sourceTree = "<group>"; }; 1313 1311 A7A1F7AB0F252B3C00E184E2 /* ByteArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ByteArray.h; sourceTree = "<group>"; }; 1314 A7A275F514837A8E001DBB39 /* ExportMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExportMacros.h; sourceTree = "<group>"; };1315 1312 A7A7EE7411B98B8D0065A14F /* ASTBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASTBuilder.h; sourceTree = "<group>"; }; 1316 1313 A7A7EE7711B98B8D0065A14F /* SyntaxChecker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SyntaxChecker.h; sourceTree = "<group>"; }; 1317 1314 A7B48DB50EE74CFC00DCBDB6 /* ExecutableAllocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExecutableAllocator.h; sourceTree = "<group>"; }; 1318 1315 A7B48DB60EE74CFC00DCBDB6 /* ExecutableAllocator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ExecutableAllocator.cpp; sourceTree = "<group>"; }; 1319 A7B4ACAE1484C9CE00B38A36 /* JSExportMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSExportMacros.h; sourceTree = "<group>"; };1320 1316 A7BC0C81140608B000B1BB71 /* CheckedArithmetic.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CheckedArithmetic.h; sourceTree = "<group>"; }; 1321 1317 A7C1E8C8112E701C00A37F98 /* JITPropertyAccess32_64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JITPropertyAccess32_64.cpp; sourceTree = "<group>"; }; … … 1938 1934 D75AF59612F8CB9500FC0ADF /* DynamicAnnotations.h */, 1939 1935 5135FAD612D26856003C083B /* Encoder.h */, 1940 A7A275F514837A8E001DBB39 /* ExportMacros.h */,1941 1936 E48E0F2C0F82151700A8CA37 /* FastAllocBase.h */, 1942 1937 65E217B908E7EECC0023E5F6 /* FastMalloc.cpp */, … … 2187 2182 9788FC221471AD0C0068CE2D /* JSDateMath.cpp */, 2188 2183 9788FC231471AD0C0068CE2D /* JSDateMath.h */, 2189 A7B4ACAE1484C9CE00B38A36 /* JSExportMacros.h */,2190 2184 F692A85E0255597D01FF60F7 /* JSFunction.cpp */, 2191 2185 F692A85F0255597D01FF60F7 /* JSFunction.h */, … … 2666 2660 86CAFEE31035DDE60028A609 /* Executable.h in Headers */, 2667 2661 A766B44F0EE8DCD1009518CA /* ExecutableAllocator.h in Headers */, 2668 A7FEE67614837B32005DC1A6 /* ExportMacros.h in Headers */,2669 2662 E48E0F2D0F82151700A8CA37 /* FastAllocBase.h in Headers */, 2670 2663 BC18C4020E16F5CD00B34460 /* FastMalloc.h in Headers */, … … 2712 2705 BC18C41E0E16F5CD00B34460 /* JSContextRef.h in Headers */, 2713 2706 148CD1D8108CF902008163C6 /* JSContextRefPrivate.h in Headers */, 2714 A7B4ACAF1484C9CE00B38A36 /* JSExportMacros.h in Headers */,2715 2707 BC18C41F0E16F5CD00B34460 /* JSFunction.h in Headers */, 2716 2708 BC18C4200E16F5CD00B34460 /* JSGlobalData.h in Headers */, -
trunk/Source/JavaScriptCore/config.h
r101751 r101778 29 29 30 30 #include <wtf/Platform.h> 31 32 /* See note in wtf/Platform.h for more info on EXPORT_MACROS. */ 33 #if USE(EXPORT_MACROS) 34 31 35 #include <wtf/ExportMacros.h> 32 // WTF cannot depend on JSC even if USE(JSC). 33 #if USE(JSC) && !defined(BUILDING_WTF) 34 #include "JSExportMacros.h" 36 37 #if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF) 38 #define WTF_EXPORT_PRIVATE WTF_EXPORT 39 #define WTF_EXPORT_HIDDEN WTF_HIDDEN 40 #define JS_EXPORT_PRIVATE WTF_EXPORT 41 #define JS_EXPORT_HIDDEN WTF_HIDDEN 42 #else 43 #define WTF_EXPORT_PRIVATE WTF_IMPORT 44 #define WTF_EXPORT_HIDDEN 45 #define JS_EXPORT_PRIVATE WTF_IMPORT 46 #define JS_EXPORT_HIDDEN 35 47 #endif 48 49 #define JS_EXPORTDATA JS_EXPORT_PRIVATE 50 #define JS_EXPORTCLASS JS_EXPORT_PRIVATE 51 52 #else /* !USE(EXPORT_MACROS) */ 53 54 #if !PLATFORM(CHROMIUM) && OS(WINDOWS) && !defined(BUILDING_WX__) && !COMPILER(GCC) 55 #if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF) 56 #define JS_EXPORTDATA __declspec(dllexport) 57 #else 58 #define JS_EXPORTDATA __declspec(dllimport) 59 #endif 60 #define JS_EXPORTCLASS JS_EXPORTDATA 61 #else 62 #define JS_EXPORTDATA 63 #define JS_EXPORTCLASS 64 #endif 65 66 #define WTF_EXPORT_PRIVATE 67 #define WTF_EXPORT_HIDDEN 68 #define JS_EXPORT_PRIVATE 69 #define JS_EXPORT_HIDDEN 70 71 #endif /* USE(EXPORT_MACROS) */ 72 73 #define WTF_INLINE WTF_EXPORT_HIDDEN inline 74 #define JS_INLINE JS_EXPORT_HIDDEN inline 36 75 37 76 #if OS(WINDOWS) … … 90 129 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 91 130 #endif 131 132 #if PLATFORM(CHROMIUM) 133 #if !defined(WTF_USE_V8) 134 #define WTF_USE_V8 1 135 #endif 136 #endif /* PLATFORM(CHROMIUM) */ 137 138 #if !defined(WTF_USE_V8) 139 #define WTF_USE_V8 0 140 #endif /* !defined(WTF_USE_V8) */ 141 142 /* Using V8 implies not using JSC and vice versa */ 143 #define WTF_USE_JSC !WTF_USE_V8 -
trunk/Source/JavaScriptCore/wtf/ExportMacros.h
r101751 r101778 33 33 #include "Platform.h" 34 34 35 // See note in wtf/Platform.h for more info on EXPORT_MACROS.36 #if USE(EXPORT_MACROS)37 38 35 #if !PLATFORM(CHROMIUM) && OS(WINDOWS) && !COMPILER(GCC) 39 36 #define WTF_EXPORT __declspec(dllexport) … … 50 47 #endif 51 48 52 #else // !USE(EXPORT_MACROS) 53 54 #define WTF_EXPORT 55 #define WTF_IMPORT 56 #define WTF_HIDDEN 57 58 #endif // USE(EXPORT_MACROS) 59 60 #if defined(BUILDING_WTF) 61 #define WTF_EXPORT_PRIVATE WTF_EXPORT 62 #else 63 #define WTF_EXPORT_PRIVATE WTF_IMPORT 64 #endif 65 66 #define WTF_EXPORTDATA WTF_EXPORT_PRIVATE 67 #define WTF_EXPORT_HIDDEN WTF_HIDDEN 68 #define WTF_INLINE WTF_EXPORT_HIDDEN inline 69 70 #endif // ExportMacros_h 49 #endif /* ExportMacros_h */ -
trunk/Source/JavaScriptCore/wtf/Platform.h
r101751 r101778 1148 1148 #endif 1149 1149 1150 #if PLATFORM(CHROMIUM)1151 #if !defined(WTF_USE_V8)1152 #define WTF_USE_V8 11153 #endif1154 #endif /* PLATFORM(CHROMIUM) */1155 1156 #if !defined(WTF_USE_V8)1157 #define WTF_USE_V8 01158 #endif /* !defined(WTF_USE_V8) */1159 1160 /* Using V8 implies not using JSC and vice versa */1161 #define WTF_USE_JSC !WTF_USE_V81162 1163 1164 1150 #endif /* WTF_Platform_h */ -
trunk/Source/JavaScriptCore/wtf/WTFThreadData.h
r101751 r101778 121 121 #endif 122 122 123 static WTF_EXPORTDATA ThreadSpecific<WTFThreadData>* staticData;123 static JS_EXPORTDATA ThreadSpecific<WTFThreadData>* staticData; 124 124 friend WTFThreadData& wtfThreadData(); 125 125 friend class AtomicStringTable; -
trunk/Source/JavaScriptCore/wtf/text/AtomicString.h
r101751 r101778 166 166 // These are only usable from the main thread. 167 167 #ifndef ATOMICSTRING_HIDE_GLOBALS 168 extern const WTF_EXPORTDATA AtomicString nullAtom;169 extern const WTF_EXPORTDATA AtomicString emptyAtom;170 extern const WTF_EXPORTDATA AtomicString textAtom;171 extern const WTF_EXPORTDATA AtomicString commentAtom;172 extern const WTF_EXPORTDATA AtomicString starAtom;173 extern const WTF_EXPORTDATA AtomicString xmlAtom;174 extern const WTF_EXPORTDATA AtomicString xmlnsAtom;168 extern const JS_EXPORTDATA AtomicString nullAtom; 169 extern const JS_EXPORTDATA AtomicString emptyAtom; 170 extern const JS_EXPORTDATA AtomicString textAtom; 171 extern const JS_EXPORTDATA AtomicString commentAtom; 172 extern const JS_EXPORTDATA AtomicString starAtom; 173 extern const JS_EXPORTDATA AtomicString xmlAtom; 174 extern const JS_EXPORTDATA AtomicString xmlnsAtom; 175 175 176 176 inline AtomicString AtomicString::fromUTF8(const char* characters, size_t length) -
trunk/Source/JavaScriptCore/wtf/text/StringStatics.cpp
r101751 r101778 53 53 } 54 54 55 WTF_EXPORTDATA DEFINE_GLOBAL(AtomicString, nullAtom)56 WTF_EXPORTDATA DEFINE_GLOBAL(AtomicString, emptyAtom, "")57 WTF_EXPORTDATA DEFINE_GLOBAL(AtomicString, textAtom, "#text")58 WTF_EXPORTDATA DEFINE_GLOBAL(AtomicString, commentAtom, "#comment")59 WTF_EXPORTDATA DEFINE_GLOBAL(AtomicString, starAtom, "*")60 WTF_EXPORTDATA DEFINE_GLOBAL(AtomicString, xmlAtom, "xml")61 WTF_EXPORTDATA DEFINE_GLOBAL(AtomicString, xmlnsAtom, "xmlns")55 JS_EXPORTDATA DEFINE_GLOBAL(AtomicString, nullAtom) 56 JS_EXPORTDATA DEFINE_GLOBAL(AtomicString, emptyAtom, "") 57 JS_EXPORTDATA DEFINE_GLOBAL(AtomicString, textAtom, "#text") 58 JS_EXPORTDATA DEFINE_GLOBAL(AtomicString, commentAtom, "#comment") 59 JS_EXPORTDATA DEFINE_GLOBAL(AtomicString, starAtom, "*") 60 JS_EXPORTDATA DEFINE_GLOBAL(AtomicString, xmlAtom, "xml") 61 JS_EXPORTDATA DEFINE_GLOBAL(AtomicString, xmlnsAtom, "xmlns") 62 62 63 63 void AtomicString::init() -
trunk/Source/JavaScriptGlue/ChangeLog
r101751 r101778 1 2011-12-02 Hajime Morrita <morrita@chromium.org> 2 3 Unreviewed, rolling out r101751 and r101775. 4 http://trac.webkit.org/changeset/101751 5 http://trac.webkit.org/changeset/101775 6 https://bugs.webkit.org/show_bug.cgi?id=73191 7 8 breaks Windows build 9 10 * ForwardingHeaders/runtime/JSExportMacros.h: Removed. 11 * ForwardingHeaders/wtf/ExportMacros.h: Removed. 12 * config.h: 13 1 14 2011-12-01 Hajime Morrita <morrita@chromium.org> 2 15 -
trunk/Source/JavaScriptGlue/config.h
r101751 r101778 4 4 5 5 #include <wtf/Platform.h> 6 #include <wtf/ExportMacros.h> 7 #include <runtime/JSExportMacros.h> 6 7 #if PLATFORM(CHROMIUM) 8 #if !defined(WTF_USE_V8) 9 #define WTF_USE_V8 1 10 #endif 11 #endif /* PLATFORM(CHROMIUM) */ 12 13 #if !defined(WTF_USE_V8) 14 #define WTF_USE_V8 0 15 #endif /* !defined(WTF_USE_V8) */ 16 17 /* Using V8 implies not using JSC and vice versa */ 18 #define WTF_USE_JSC !WTF_USE_V8 19 20 #define JS_EXPORTDATA 21 #define JS_EXPORTCLASS 22 #define JS_EXPORT_PRIVATE 23 #define WTF_EXPORT_PRIVATE 24 -
trunk/Source/WebCore/ChangeLog
r101777 r101778 1 2011-12-02 Hajime Morrita <morrita@chromium.org> 2 3 Unreviewed, rolling out r101751 and r101775. 4 http://trac.webkit.org/changeset/101751 5 http://trac.webkit.org/changeset/101775 6 https://bugs.webkit.org/show_bug.cgi?id=73191 7 8 breaks Windows build 9 10 * ForwardingHeaders/runtime/JSExportMacros.h: Removed. 11 * ForwardingHeaders/wtf/ExportMacros.h: Removed. 12 * WebCore.vcproj/QTMovieWinCommon.vsprops: 13 * WebCore.xcodeproj/project.pbxproj: 14 * config.h: 15 * platform/PlatformExportMacros.h: Removed. 16 1 17 2011-12-02 Pavel Feldman <pfeldman@google.com> 2 18 -
trunk/Source/WebCore/WebCore.vcproj/QTMovieWinCommon.vsprops
r101775 r101778 7 7 <Tool 8 8 Name="VCCLCompilerTool" 9 AdditionalIncludeDirectories=""$(ProjectDir)..\";"$(ProjectDir)..\ForwardingHeaders";"$(WebKitLibrariesDir)\Include\JavaScriptCore";"$(WebKitLibrariesDir)\include\private\JavaScriptCore";"$(ConfigurationBuildDir)\Include\JavaScriptCore";"$(ConfigurationBuildDir)\include\private\JavaScriptCore";"$(WebKitLibrariesDir)\Include\WebCore\ForwardingHeaders";"$(ConfigurationBuildDir)\Include\WebCore\ForwardingHeaders";"$(ConfigurationBuildDir)\Include";"$(ConfigurationBuildDir)\Include\private";"$(WebKitLibrariesDir)\QTInternalSDK\CIncludes";"$(WebKitLibrariesDir)\QuickTime SDK\CIncludes";"$(ProgramFiles)/QuickTime SDK/cincludes";"$(WebKitLibrariesDir)\include";"$(WebKitLibrariesDir)\include\private" ;"$(ConfigurationBuildDir)\Include\WebCore""9 AdditionalIncludeDirectories=""$(ProjectDir)..\";"$(ProjectDir)..\ForwardingHeaders";"$(WebKitLibrariesDir)\Include\JavaScriptCore";"$(WebKitLibrariesDir)\include\private\JavaScriptCore";"$(ConfigurationBuildDir)\Include\JavaScriptCore";"$(ConfigurationBuildDir)\include\private\JavaScriptCore";"$(WebKitLibrariesDir)\Include\WebCore\ForwardingHeaders";"$(ConfigurationBuildDir)\Include\WebCore\ForwardingHeaders";"$(ConfigurationBuildDir)\Include";"$(ConfigurationBuildDir)\Include\private";"$(WebKitLibrariesDir)\QTInternalSDK\CIncludes";"$(WebKitLibrariesDir)\QuickTime SDK\CIncludes";"$(ProgramFiles)/QuickTime SDK/cincludes";"$(WebKitLibrariesDir)\include";"$(WebKitLibrariesDir)\include\private"" 10 10 PreprocessorDefinitions="_USRDLL;QTMOVIEWIN_EXPORTS;TARGET_OS_WIN32" 11 11 DisableSpecificWarnings="4819" -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r101751 r101778 3449 3449 A71C30B81381265E00DBC351 /* ShadowInclusionSelector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A71C30B61381265E00DBC351 /* ShadowInclusionSelector.cpp */; }; 3450 3450 A71C30B91381265E00DBC351 /* ShadowInclusionSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = A71C30B71381265E00DBC351 /* ShadowInclusionSelector.h */; }; 3451 A723F77B1484CA4C008C6DBE /* PlatformExportMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = A723F77A1484CA4C008C6DBE /* PlatformExportMacros.h */; settings = {ATTRIBUTES = (Private, ); }; };3452 3451 A73F95FE12C97BFE0031AAF9 /* RoundedRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A73F95FC12C97BFE0031AAF9 /* RoundedRect.cpp */; }; 3453 3452 A73F95FF12C97BFE0031AAF9 /* RoundedRect.h in Headers */ = {isa = PBXBuildFile; fileRef = A73F95FD12C97BFE0031AAF9 /* RoundedRect.h */; settings = {ATTRIBUTES = (Private, ); }; }; … … 10662 10661 A71C30B61381265E00DBC351 /* ShadowInclusionSelector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ShadowInclusionSelector.cpp; sourceTree = "<group>"; }; 10663 10662 A71C30B71381265E00DBC351 /* ShadowInclusionSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShadowInclusionSelector.h; sourceTree = "<group>"; }; 10664 A723F77A1484CA4C008C6DBE /* PlatformExportMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PlatformExportMacros.h; sourceTree = "<group>"; };10665 10663 A73F95FC12C97BFE0031AAF9 /* RoundedRect.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RoundedRect.cpp; sourceTree = "<group>"; }; 10666 10664 A73F95FD12C97BFE0031AAF9 /* RoundedRect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RoundedRect.h; sourceTree = "<group>"; }; … … 20137 20135 98EB1F941313FE0500D0E1EA /* NotImplemented.h */, 20138 20136 4B2708C50AF19EE40065127F /* Pasteboard.h */, 20139 A723F77A1484CA4C008C6DBE /* PlatformExportMacros.h */,20140 20137 BC9585DF12F0989500755821 /* PlatformGestureEvent.h */, 20141 20138 935C476609AC4D4300A6AAB4 /* PlatformKeyboardEvent.h */, … … 23799 23796 499B3EC5128CCC4700E726C2 /* PlatformCALayer.h in Headers */, 23800 23797 493E5E0912D6420500020081 /* PlatformCALayerClient.h in Headers */, 23801 A723F77B1484CA4C008C6DBE /* PlatformExportMacros.h in Headers */,23802 23798 BC9585E112F0989500755821 /* PlatformGestureEvent.h in Headers */, 23803 23799 935C476809AC4D4300A6AAB4 /* PlatformKeyboardEvent.h in Headers */, -
trunk/Source/WebCore/config.h
r101751 r101778 34 34 #endif 35 35 36 /* See note in wtf/Platform.h for more info on EXPORT_MACROS. */ 37 #if USE(EXPORT_MACROS) 38 36 39 #include <wtf/ExportMacros.h> 37 #if USE(JSC) 38 #include <runtime/JSExportMacros.h> 39 #endif 40 #include "PlatformExportMacros.h" 40 41 #if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF) 42 #define WTF_EXPORT_PRIVATE WTF_EXPORT 43 #define JS_EXPORT_PRIVATE WTF_EXPORT 44 #else 45 #define WTF_EXPORT_PRIVATE WTF_IMPORT 46 #define JS_EXPORT_PRIVATE WTF_IMPORT 47 #endif 48 49 #define JS_EXPORTDATA JS_EXPORT_PRIVATE 50 #define JS_EXPORTCLASS JS_EXPORT_PRIVATE 51 52 #if defined(BUILDING_WebCore) || defined(BUILDING_WebKit) 53 #define WEBKIT_EXPORTDATA WTF_EXPORT 54 #else 55 #define WEBKIT_EXPORTDATA WTF_IMPORT 56 #endif 57 58 #else /* !USE(EXPORT_MACROS) */ 59 60 #if !PLATFORM(CHROMIUM) && OS(WINDOWS) && !defined(BUILDING_WX__) && !COMPILER(GCC) 61 #if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF) 62 #define JS_EXPORTDATA __declspec(dllexport) 63 #else 64 #define JS_EXPORTDATA __declspec(dllimport) 65 #endif 66 #if defined(BUILDING_WebCore) || defined(BUILDING_WebKit) 67 #define WEBKIT_EXPORTDATA __declspec(dllexport) 68 #else 69 #define WEBKIT_EXPORTDATA __declspec(dllimport) 70 #endif 71 #define WTF_EXPORT_PRIVATE 72 #define JS_EXPORT_PRIVATE 73 #define JS_EXPORTCLASS JS_EXPORTDATA 74 #else 75 #define JS_EXPORTDATA 76 #define JS_EXPORTCLASS 77 #define WEBKIT_EXPORTDATA 78 #define WTF_EXPORT_PRIVATE 79 #define JS_EXPORT_PRIVATE 80 #endif 81 82 #endif /* USE(EXPORT_MACROS) */ 41 83 42 84 #ifdef __APPLE__ … … 136 178 #define WTF_USE_GOOGLEURL 1 137 179 180 #if !defined(WTF_USE_V8) 181 #define WTF_USE_V8 1 182 #endif 183 138 184 #endif /* PLATFORM(CHROMIUM) */ 185 186 #if !defined(WTF_USE_V8) 187 #define WTF_USE_V8 0 188 #endif /* !defined(WTF_USE_V8) */ 189 190 /* Using V8 implies not using JSC and vice versa */ 191 #if !defined(WTF_USE_JSC) 192 #define WTF_USE_JSC !WTF_USE_V8 193 #endif 139 194 140 195 #if USE(CG) -
trunk/Source/WebKit/cf/ChangeLog
r101751 r101778 1 2011-12-02 Hajime Morrita <morrita@chromium.org> 2 3 Unreviewed, rolling out r101751 and r101775. 4 http://trac.webkit.org/changeset/101751 5 http://trac.webkit.org/changeset/101775 6 https://bugs.webkit.org/show_bug.cgi?id=73191 7 8 breaks Windows build 9 10 * WebCoreSupport/WebInspectorClientCF.cpp: 11 1 12 2011-12-01 Hajime Morrita <morrita@chromium.org> 2 13 -
trunk/Source/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp
r101751 r101778 26 26 // FIXME: On Windows, we require all WebKit source files to include config.h 27 27 // before including any other files. Failing to include config.h will leave 28 // WTF_USE_CF undefined, causing build failures in this28 // WTF_USE_CF and WTF_USE_JSC undefined, causing build failures in this 29 29 // file. But Mac doesn't have a config.h for WebKit, so we can't include the 30 // Windows one here. For now we can just define WTF_USE_CF and30 // Windows one here. For now we can just define WTF_USE_CF, WTF_USE_JSC, and 31 31 // WTF_USE_CFNETWORK manually, but we need a better long-term solution. 32 32 #ifndef WTF_USE_CF 33 33 #define WTF_USE_CF 1 34 #endif 35 36 #ifndef WTF_USE_JSC 37 #define WTF_USE_JSC 1 38 #endif 39 40 // Leave these set to nothing until we switch Mac and Win ports over to 41 // using the export macros. 42 #define JS_EXPORT_PRIVATE 43 #define WTF_EXPORT_PRIVATE 44 45 #if defined(WIN32) || defined(_WIN32) 46 #ifndef WTF_USE_CFNETWORK 47 #define WTF_USE_CFNETWORK 1 48 #endif 49 #if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF) 50 #define JS_EXPORTDATA __declspec(dllexport) 51 #else 52 #define JS_EXPORTDATA __declspec(dllimport) 53 #endif 54 #define JS_EXPORTCLASS JS_EXPORTDATA 55 #else 56 #define JS_EXPORTDATA 57 #define JS_EXPORTCLASS 34 58 #endif 35 59 -
trunk/Source/WebKit/mac/ChangeLog
r101751 r101778 1 2011-12-02 Hajime Morrita <morrita@chromium.org> 2 3 Unreviewed, rolling out r101751 and r101775. 4 http://trac.webkit.org/changeset/101751 5 http://trac.webkit.org/changeset/101775 6 https://bugs.webkit.org/show_bug.cgi?id=73191 7 8 breaks Windows build 9 10 * WebKitPrefix.h: 11 1 12 2011-12-01 Hajime Morrita <morrita@chromium.org> 2 13 -
trunk/Source/WebKit/mac/WebKitPrefix.h
r101751 r101778 72 72 73 73 #include <wtf/Platform.h> 74 #include <wtf/ExportMacros.h> 75 #include <runtime/JSExportMacros.h> 76 #include <WebCore/PlatformExportMacros.h> 74 77 75 #include <WebCore/EmptyProtocolDefinitions.h> 76 77 /* WebKit has no way to pull settings from WebCore/config.h for now */ 78 /* so we assume WebKit is always being compiled on top of JavaScriptCore */ 79 #define WTF_USE_JSC 1 80 #define WTF_USE_V8 0 78 81 79 82 /* Work around bug with C++ library that screws up Objective-C++ when exception support is disabled. */ 80 83 #undef try 81 84 #undef catch 85 86 #define JS_EXPORTDATA 87 #define JS_EXPORTCLASS 88 #define WEBKIT_EXPORTDATA 89 #define WTF_EXPORT_PRIVATE 90 #define JS_EXPORT_PRIVATE 82 91 83 92 #ifdef __cplusplus -
trunk/Source/WebKit/qt/ChangeLog
r101751 r101778 1 2011-12-02 Hajime Morrita <morrita@chromium.org> 2 3 Unreviewed, rolling out r101751 and r101775. 4 http://trac.webkit.org/changeset/101751 5 http://trac.webkit.org/changeset/101775 6 https://bugs.webkit.org/show_bug.cgi?id=73191 7 8 breaks Windows build 9 10 * tests/MIMESniffing/MIMESniffing.pro: 11 1 12 2011-12-01 Hajime Morrita <morrita@chromium.org> 2 13 -
trunk/Source/WebKit/qt/tests/MIMESniffing/MIMESniffing.pro
r101751 r101778 10 10 INCLUDEPATH += \ 11 11 ../../../../WebCore/platform/network \ 12 ../../../../JavaScriptCore \ 13 ../../../../JavaScriptCore/runtime 12 ../../../../JavaScriptCore 14 13 15 14 debug { -
trunk/Source/WebKit2/ChangeLog
r101770 r101778 1 2011-12-02 Hajime Morrita <morrita@chromium.org> 2 3 Unreviewed, rolling out r101751 and r101775. 4 http://trac.webkit.org/changeset/101751 5 http://trac.webkit.org/changeset/101775 6 https://bugs.webkit.org/show_bug.cgi?id=73191 7 8 breaks Windows build 9 10 * config.h: 11 1 12 2011-12-02 Carlos Garcia Campos <cgarcia@igalia.com> 2 13 -
trunk/Source/WebKit2/config.h
r101751 r101778 35 35 #include <wtf/DisallowCType.h> 36 36 #include <wtf/Platform.h> 37 #include <wtf/ExportMacros.h>38 #if USE(JSC)39 #include <runtime/JSExportMacros.h>40 #endif41 37 42 38 #ifdef __cplusplus … … 60 56 } 61 57 62 #if defined(__APPLE__) 58 #if defined (BUILDING_WITH_CMAKE) 59 60 #define JS_EXPORTDATA 61 #define JS_EXPORTCLASS 62 #define WTF_EXPORT_PRIVATE 63 #define JS_EXPORT_PRIVATE 64 65 #elif defined(BUILDING_QT__) || defined(BUILDING_GTK__) 66 67 #define WTF_USE_JSC 1 68 #define WTF_USE_V8 0 69 70 #define JS_EXPORTDATA 71 #define JS_EXPORTCLASS 72 #define WTF_EXPORT_PRIVATE 73 #define JS_EXPORT_PRIVATE 74 75 #elif defined(__APPLE__) 63 76 64 77 #ifdef __OBJC__ … … 84 97 #endif 85 98 99 /* WebKit has no way to pull settings from WebCore/config.h for now */ 100 /* so we assume WebKit is always being compiled on top of JavaScriptCore */ 101 #define WTF_USE_JSC 1 102 #define WTF_USE_V8 0 103 104 #define JS_EXPORTDATA 105 #define JS_EXPORTCLASS 106 #define WEBKIT_EXPORTDATA 107 108 #define WTF_EXPORT_PRIVATE 109 #define JS_EXPORT_PRIVATE 86 110 87 111 #include <WebCore/EmptyProtocolDefinitions.h> -
trunk/Tools/ChangeLog
r101767 r101778 1 2011-12-02 Hajime Morrita <morrita@chromium.org> 2 3 Unreviewed, rolling out r101751 and r101775. 4 http://trac.webkit.org/changeset/101751 5 http://trac.webkit.org/changeset/101775 6 https://bugs.webkit.org/show_bug.cgi?id=73191 7 8 breaks Windows build 9 10 * DumpRenderTree/chromium/config.h: 11 * DumpRenderTree/config.h: 12 * TestWebKitAPI/config.h: 13 * WebKitTestRunner/config.h: 14 1 15 2011-12-02 Kentaro Hara <haraken@chromium.org> 2 16 -
trunk/Tools/DumpRenderTree/chromium/config.h
r101751 r101778 44 44 45 45 #include <wtf/Platform.h> 46 #include <wtf/ExportMacros.h>47 46 48 47 #if OS(WINDOWS) && !COMPILER(GCC) 49 48 // Allow 'this' to be used in base member initializer list. 50 49 #pragma warning(disable : 4355) 50 // JS_EXPORTDATA is needed to inlucde wtf/WTFString.h. 51 #define JS_EXPORTDATA __declspec(dllimport) 52 #else 53 #define JS_EXPORTDATA 51 54 #endif 52 55 56 #define WTF_EXPORT_PRIVATE 57 #define JS_EXPORT_PRIVATE 58 53 59 #endif // config_h -
trunk/Tools/DumpRenderTree/config.h
r101751 r101778 30 30 31 31 #include <wtf/Platform.h> 32 33 /* See note in wtf/Platform.h for more info on EXPORT_MACROS. */ 34 #if USE(EXPORT_MACROS) 35 32 36 #include <wtf/ExportMacros.h> 33 #if USE(JSC) 34 #include <runtime/JSExportMacros.h> 37 38 #define WTF_EXPORT_PRIVATE WTF_IMPORT 39 #define JS_EXPORT_PRIVATE WTF_IMPORT 40 #define WEBKIT_EXPORTDATA WTF_IMPORT 41 42 #define JS_EXPORTDATA JS_EXPORT_PRIVATE 43 #define JS_EXPORTCLASS JS_EXPORT_PRIVATE 44 45 #else /* !USE(EXPORT_MACROS) */ 46 47 #if OS(WINDOWS) && !COMPILER(GCC) && !defined(BUILDING_WX__) 48 #define JS_EXPORTDATA __declspec(dllimport) 49 #define WEBKIT_EXPORTDATA __declspec(dllimport) 50 #else 51 #define JS_EXPORTDATA 52 #define WEBKIT_EXPORTDATA 35 53 #endif 54 55 #define WTF_EXPORT_PRIVATE 56 #define JS_EXPORT_PRIVATE 57 58 #endif /* USE(EXPORT_MACROS) */ 36 59 37 60 // On MSW, wx headers need to be included before windows.h is. -
trunk/Tools/TestWebKitAPI/config.h
r101751 r101778 25 25 26 26 #include <wtf/Platform.h> 27 #include <wtf/ExportMacros.h>28 #if USE(JSC)29 #include <runtime/JSExportMacros.h>30 #endif31 27 32 28 #if __APPLE__ … … 41 37 42 38 #endif 39 40 /* FIXME: Define these properly once USE(EXPORT_MACROS) is set for ports using this */ 41 #define JS_EXPORT_PRIVATE 42 #define WTF_EXPORT_PRIVATE 43 44 #define JS_EXPORTDATA 43 45 44 46 #include <stdint.h> -
trunk/Tools/WebKitTestRunner/config.h
r101751 r101778 27 27 28 28 #include <wtf/Platform.h> 29 30 /* See note in wtf/Platform.h for more info on EXPORT_MACROS. */ 31 #if USE(EXPORT_MACROS) 32 29 33 #include <wtf/ExportMacros.h> 30 #if USE(JSC) 31 #include <runtime/JSExportMacros.h> 34 35 #define WTF_EXPORT_PRIVATE WTF_IMPORT 36 #define JS_EXPORT_PRIVATE WTF_IMPORT 37 #define WEBKIT_EXPORTDATA WTF_IMPORT 38 39 #define JS_EXPORTDATA JS_EXPORT_PRIVATE 40 #define JS_EXPORTCLASS JS_EXPORT_PRIVATE 41 42 #else /* !USE(EXPORT_MACROS) */ 43 44 #if OS(WINDOWS) && !COMPILER(GCC) && !defined(BUILDING_WX__) 45 #define JS_EXPORTDATA __declspec(dllimport) 46 #define WEBKIT_EXPORTDATA __declspec(dllimport) 47 #else 48 #define JS_EXPORTDATA 49 #define WEBKIT_EXPORTDATA 32 50 #endif 51 52 #define WTF_EXPORT_PRIVATE 53 #define JS_EXPORT_PRIVATE 54 55 #endif /* USE(EXPORT_MACROS) */ 33 56 34 57 #if PLATFORM(WIN)
Note: See TracChangeset
for help on using the changeset viewer.