Changeset 206222 in webkit
- Timestamp:
- Sep 21, 2016 11:24:43 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r206221 r206222 1 2016-09-21 Keith Miller <keith_miller@apple.com> 2 3 Fix build for future versions of Clang. 4 https://bugs.webkit.org/show_bug.cgi?id=162346 5 6 Reviewed by Filip Pizlo. 7 8 This fixes issues with the WebCore build where inline 9 template-class function definitions are marked as exported. This 10 genereates a weak external symobl that our build does not like. 11 12 13 * runtime/VM.h: 14 (JSC::VM::setGlobalConstRedeclarationShouldThrow): 15 1 16 2016-09-21 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/JavaScriptCore/runtime/VM.h
r206160 r206222 617 617 JS_EXPORT_PRIVATE void queueMicrotask(JSGlobalObject*, PassRefPtr<Microtask>); 618 618 JS_EXPORT_PRIVATE void drainMicrotasks(); 619 JS_EXPORT_PRIVATEvoid setGlobalConstRedeclarationShouldThrow(bool globalConstRedeclarationThrow) { m_globalConstRedeclarationShouldThrow = globalConstRedeclarationThrow; }619 void setGlobalConstRedeclarationShouldThrow(bool globalConstRedeclarationThrow) { m_globalConstRedeclarationShouldThrow = globalConstRedeclarationThrow; } 620 620 ALWAYS_INLINE bool globalConstRedeclarationShouldThrow() const { return m_globalConstRedeclarationShouldThrow; } 621 621 -
trunk/Source/WTF/ChangeLog
r206196 r206222 1 2016-09-21 Keith Miller <keith_miller@apple.com> 2 3 Fix build for future versions of Clang. 4 https://bugs.webkit.org/show_bug.cgi?id=162346 5 6 Reviewed by Filip Pizlo. 7 8 This fixes issues with the WebCore build where inline 9 template-class function definitions are marked as exported. This 10 genereates a weak external symobl that our build does not like. 11 12 * wtf/text/StringImpl.h: 13 1 14 2016-09-20 Alex Christensen <achristensen@webkit.org> 2 15 -
trunk/Source/WTF/wtf/text/StringImpl.h
r206196 r206222 949 949 bool equalIgnoringASCIICase(const StringImpl&, const StringImpl&); 950 950 WTF_EXPORT_STRING_API bool equalIgnoringASCIICase(const StringImpl*, const StringImpl*); 951 WTF_EXPORT_STRING_APIbool equalIgnoringASCIICase(const StringImpl&, const char*);952 WTF_EXPORT_STRING_APIbool equalIgnoringASCIICase(const StringImpl*, const char*);951 bool equalIgnoringASCIICase(const StringImpl&, const char*); 952 bool equalIgnoringASCIICase(const StringImpl*, const char*); 953 953 954 954 WTF_EXPORT_STRING_API bool equalIgnoringASCIICaseNonNull(const StringImpl*, const StringImpl*); -
trunk/Source/WebCore/ChangeLog
r206221 r206222 1 2016-09-21 Keith Miller <keith_miller@apple.com> 2 3 Fix build for future versions of Clang. 4 https://bugs.webkit.org/show_bug.cgi?id=162346 5 6 Reviewed by Filip Pizlo. 7 8 This fixes issues with the WebCore build where inline 9 template-class function definitions are marked as exported. This 10 genereates a weak external symobl that our build does not like. 11 12 * Configurations/WebCore.unexp: 13 * dom/Exception.h: 14 * page/Frame.h: 15 * platform/cocoa/WebPlaybackSessionModelMediaElement.h: 16 * platform/cocoa/WebVideoFullscreenModelVideoElement.h: 17 (WebCore::WebVideoFullscreenModelVideoElement::videoElement): 18 * platform/graphics/Color.h: 19 * platform/graphics/transforms/TransformationMatrix.h: 20 (WebCore::TransformationMatrix::rotate): 21 * platform/mac/WebVideoFullscreenInterfaceMac.h: 22 * platform/network/ParsedContentRange.h: 23 (WebCore::ParsedContentRange::ParsedContentRange): 24 (WebCore::ParsedContentRange::isValid): 25 * platform/network/ResourceResponseBase.h: 26 (WebCore::ResourceResponseBase::certificateInfo): 27 * platform/text/TextStream.h: 28 (WebCore::TextStream::increaseIndent): 29 (WebCore::TextStream::decreaseIndent): 30 1 31 2016-09-21 Chris Dumez <cdumez@apple.com> 2 32 -
trunk/Source/WebCore/Configurations/WebCore.unexp
r184419 r206222 48 48 _DDDFAScannerFirstResultInUnicharArray 49 49 # Source/WebCore/page/mac/ServicesOverlayController.mm 50 _DDHighlightGetLayerWithContext 51 _DDHighlightGetBoundingRect 50 52 _DDHighlightCreateWithRectsInVisibleRectWithStyleAndDirection 51 53 _DDHighlightPointIsOnHighlight 54 52 55 53 56 # Subclasses of an exported C++ class in JavaScriptCore. -
trunk/Source/WebCore/dom/Exception.h
r205411 r206222 35 35 explicit Exception(ExceptionCode); 36 36 37 WEBCORE_EXPORTExceptionCode code() const;37 ExceptionCode code() const; 38 38 39 39 private: -
trunk/Source/WebCore/page/Frame.h
r206189 r206222 136 136 137 137 MainFrame& mainFrame() const; 138 WEBCORE_EXPORTbool isMainFrame() const;138 bool isMainFrame() const; 139 139 140 140 Page* page() const; -
trunk/Source/WebCore/platform/cocoa/WebPlaybackSessionModelMediaElement.h
r205365 r206222 49 49 WEBCORE_EXPORT virtual ~WebPlaybackSessionModelMediaElement(); 50 50 WEBCORE_EXPORT void setMediaElement(HTMLMediaElement*); 51 WEBCORE_EXPORTHTMLMediaElement* mediaElement() const { return m_mediaElement.get(); }51 HTMLMediaElement* mediaElement() const { return m_mediaElement.get(); } 52 52 53 53 WEBCORE_EXPORT void handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*) final; -
trunk/Source/WebCore/platform/cocoa/WebVideoFullscreenModelVideoElement.h
r205365 r206222 55 55 WEBCORE_EXPORT virtual ~WebVideoFullscreenModelVideoElement(); 56 56 WEBCORE_EXPORT void setVideoElement(HTMLVideoElement*); 57 WEBCORE_EXPORTHTMLVideoElement* videoElement() const { return m_videoElement.get(); }57 HTMLVideoElement* videoElement() const { return m_videoElement.get(); } 58 58 WEBCORE_EXPORT void setVideoFullscreenLayer(PlatformLayer*, std::function<void()> completionHandler = [] { }); 59 59 WEBCORE_EXPORT void waitForPreparedForInlineThen(std::function<void()> completionHandler = [] { }); -
trunk/Source/WebCore/platform/graphics/Color.h
r206056 r206222 67 67 68 68 WEBCORE_EXPORT RGBA32 colorWithOverrideAlpha(RGBA32 color, float overrideAlpha); 69 WEBCORE_EXPORTRGBA32 colorWithOverrideAlpha(RGBA32 color, Optional<float> overrideAlpha);69 RGBA32 colorWithOverrideAlpha(RGBA32 color, Optional<float> overrideAlpha); 70 70 71 71 WEBCORE_EXPORT RGBA32 makeRGBA32FromFloats(float r, float g, float b, float a); -
trunk/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
r205881 r206222 232 232 233 233 // Angle is in degrees. 234 WEBCORE_EXPORTTransformationMatrix& rotate(double d) { return rotate3d(0, 0, d); }234 TransformationMatrix& rotate(double d) { return rotate3d(0, 0, d); } 235 235 TransformationMatrix& rotateFromVector(double x, double y); 236 236 WEBCORE_EXPORT TransformationMatrix& rotate3d(double rx, double ry, double rz); -
trunk/Source/WebCore/platform/mac/WebVideoFullscreenInterfaceMac.h
r205365 r206222 79 79 WEBCORE_EXPORT void cleanupFullscreen(); 80 80 WEBCORE_EXPORT void invalidate(); 81 WEBCORE_EXPORTvoid requestHideAndExitFullscreen() { }81 void requestHideAndExitFullscreen() { } 82 82 WEBCORE_EXPORT void preparedToReturnToInline(bool visible, const IntRect& inlineRect, NSWindow *parentWindow); 83 83 WEBCORE_EXPORT void ensureControlsManager(); … … 91 91 bool isPlayingVideoInEnhancedFullscreen() const; 92 92 93 WEBCORE_EXPORTbool mayAutomaticallyShowVideoPictureInPicture() const { return false; }93 bool mayAutomaticallyShowVideoPictureInPicture() const { return false; } 94 94 void applicationDidBecomeActive() { } 95 95 -
trunk/Source/WebCore/platform/network/ParsedContentRange.h
r195764 r206222 34 34 public: 35 35 WEBCORE_EXPORT explicit ParsedContentRange(const String&); 36 WEBCORE_EXPORTParsedContentRange() { }36 ParsedContentRange() { } 37 37 WEBCORE_EXPORT ParsedContentRange(int64_t firstBytePosition, int64_t lastBytePosition, int64_t instanceLength); 38 38 39 WEBCORE_EXPORTbool isValid() const { return m_isValid; }39 bool isValid() const { return m_isValid; } 40 40 int64_t firstBytePosition() const { return m_firstBytePosition; } 41 41 int64_t lastBytePosition() const { return m_lastBytePosition; } -
trunk/Source/WebCore/platform/network/ResourceResponseBase.h
r204977 r206222 116 116 117 117 WEBCORE_EXPORT void includeCertificateInfo() const; 118 WEBCORE_EXPORTconst Optional<CertificateInfo>& certificateInfo() const { return m_certificateInfo; };118 const Optional<CertificateInfo>& certificateInfo() const { return m_certificateInfo; }; 119 119 120 120 // These functions return parsed values of the corresponding response headers. -
trunk/Source/WebCore/platform/text/TextStream.h
r191474 r206222 78 78 WEBCORE_EXPORT void nextLine(); // Output newline and indent. 79 79 80 WEBCORE_EXPORTvoid increaseIndent() { ++m_indent; }81 WEBCORE_EXPORTvoid decreaseIndent() { --m_indent; ASSERT(m_indent >= 0); }80 void increaseIndent() { ++m_indent; } 81 void decreaseIndent() { --m_indent; ASSERT(m_indent >= 0); } 82 82 83 83 WEBCORE_EXPORT void writeIndent(); -
trunk/Tools/ChangeLog
r206220 r206222 1 2016-09-21 Keith Miller <keith_miller@apple.com> 2 3 Fix build for future versions of Clang. 4 https://bugs.webkit.org/show_bug.cgi?id=162346 5 6 Reviewed by Filip Pizlo. 7 8 * TestWebKitAPI/Counters.cpp: 9 * TestWebKitAPI/Counters.h: 10 (DeleterCounter::deleterCount): 11 (DeleterCounter::TestingScope::TestingScope): 12 (DeleterCounter::operator()): 13 * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp: 14 (TestWebKitAPI::TEST): 15 * TestWebKitAPI/Tests/WTF/HashMap.cpp: 16 (TestWebKitAPI::TEST): 17 1 18 2016-09-21 Alex Christensen <achristensen@webkit.org> 2 19 -
trunk/Tools/TestWebKitAPI/Counters.cpp
r198085 r206222 34 34 unsigned ConstructorDestructorCounter::destructionCount = 0; 35 35 36 template<> unsigned DeleterCounter<ConstructorDestructorCounter>:: deleterCount = 0;36 template<> unsigned DeleterCounter<ConstructorDestructorCounter>::m_deleterCount = 0; -
trunk/Tools/TestWebKitAPI/Counters.h
r198085 r206222 66 66 }; 67 67 68 #if COMPILER(CLANG) 69 #if __has_warning("-Wundefined-var-template") 70 #pragma clang diagnostic push 71 #pragma clang diagnostic ignored "-Wundefined-var-template" 72 #endif 73 #endif 68 74 template<typename T> 69 75 struct DeleterCounter { 70 static unsigned deleterCount; 76 static unsigned m_deleterCount; 77 78 static unsigned deleterCount() { return m_deleterCount; } 71 79 72 80 struct TestingScope { 73 81 TestingScope() 74 82 { 75 deleterCount = 0;83 m_deleterCount = 0; 76 84 } 77 85 }; … … 79 87 void operator()(T* p) const 80 88 { 81 deleterCount++;89 m_deleterCount++; 82 90 delete p; 83 91 } 84 92 }; 93 #if COMPILER(CLANG) 94 #if __has_warning("-Wundefined-var-template") 95 #pragma clang diagnostic pop 96 #endif 97 #endif 85 98 86 99 #endif // Counters_h -
trunk/Tools/TestWebKitAPI/Tests/WTF/HashCountedSet.cpp
r202242 r206222 285 285 EXPECT_EQ(0u, ConstructorDestructorCounter::destructionCount); 286 286 287 EXPECT_EQ(0u, DeleterCounter<ConstructorDestructorCounter>::deleterCount );287 EXPECT_EQ(0u, DeleterCounter<ConstructorDestructorCounter>::deleterCount()); 288 288 289 289 hashCountedSet.clear(); … … 292 292 EXPECT_EQ(1u, ConstructorDestructorCounter::destructionCount); 293 293 294 EXPECT_EQ(1u, DeleterCounter<ConstructorDestructorCounter>::deleterCount );294 EXPECT_EQ(1u, DeleterCounter<ConstructorDestructorCounter>::deleterCount()); 295 295 } 296 296 -
trunk/Tools/TestWebKitAPI/Tests/WTF/HashMap.cpp
r205694 r206222 207 207 EXPECT_EQ(0u, ConstructorDestructorCounter::destructionCount); 208 208 209 EXPECT_EQ(0u, DeleterCounter<ConstructorDestructorCounter>::deleterCount );209 EXPECT_EQ(0u, DeleterCounter<ConstructorDestructorCounter>::deleterCount()); 210 210 211 211 map.clear(); … … 214 214 EXPECT_EQ(1u, ConstructorDestructorCounter::destructionCount); 215 215 216 EXPECT_EQ(1u, DeleterCounter<ConstructorDestructorCounter>::deleterCount );216 EXPECT_EQ(1u, DeleterCounter<ConstructorDestructorCounter>::deleterCount()); 217 217 } 218 218
Note: See TracChangeset
for help on using the changeset viewer.