Changeset 236118 in webkit
- Timestamp:
- Sep 18, 2018, 6:31:38 AM (8 years ago)
- Location:
- releases/WebKitGTK/webkit-2.22/Source
- Files:
-
- 52 edited
-
WTF/ChangeLog (modified) (1 diff)
-
WTF/Scripts/generate-unified-source-bundles.rb (modified) (1 diff)
-
WTF/wtf/Platform.h (modified) (1 diff)
-
WTF/wtf/text/StringBuffer.h (modified) (1 diff)
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/Modules/cache/WorkerCacheStorageConnection.cpp (modified) (2 diffs)
-
WebCore/Modules/mediastream/RTCController.cpp (modified) (1 diff)
-
WebCore/Modules/paymentrequest/PaymentRequestUpdateEvent.cpp (modified) (1 diff)
-
WebCore/Modules/webvr/VRDisplay.cpp (modified) (1 diff)
-
WebCore/PAL/pal/crypto/gcrypt/Utilities.h (modified) (1 diff)
-
WebCore/SourcesCocoa.txt (modified) (2 diffs)
-
WebCore/SourcesGTK.txt (modified) (2 diffs)
-
WebCore/crypto/algorithms/CryptoAlgorithmECDSA.cpp (modified) (3 diffs)
-
WebCore/crypto/gcrypt/GCryptUtilities.h (modified) (1 diff)
-
WebCore/dom/Document.h (modified) (1 diff)
-
WebCore/html/parser/HTMLTreeBuilder.cpp (modified) (1 diff)
-
WebCore/loader/appcache/ApplicationCacheResourceLoader.h (modified) (1 diff)
-
WebCore/page/AlternativeTextClient.h (modified) (1 diff)
-
WebCore/platform/Pasteboard.h (modified) (1 diff)
-
WebCore/platform/audio/mac/AudioSessionMac.cpp (modified) (1 diff)
-
WebCore/platform/graphics/DisplayRefreshMonitor.cpp (modified) (1 diff)
-
WebCore/platform/graphics/FontFamilySpecificationNull.cpp (modified) (1 diff)
-
WebCore/platform/graphics/FontGenericFamilies.h (modified) (1 diff)
-
WebCore/platform/graphics/FontTaggedSettings.cpp (modified) (1 diff)
-
WebCore/platform/graphics/cairo/FontCairo.cpp (modified) (1 diff)
-
WebCore/platform/graphics/cocoa/WebGLLayer.mm (modified) (5 diffs)
-
WebCore/platform/graphics/cocoa/WebGPULayer.mm (modified) (2 diffs)
-
WebCore/platform/graphics/metal/GPUCommandQueueMetal.mm (modified) (1 diff)
-
WebCore/platform/mac/PasteboardMac.mm (modified) (1 diff)
-
WebCore/platform/mediastream/mac/DisplayCaptureManagerCocoa.cpp (modified) (1 diff)
-
WebCore/platform/network/ResourceRequestBase.cpp (modified) (1 diff)
-
WebCore/platform/network/soup/SoupNetworkSession.h (modified) (1 diff)
-
WebCore/platform/text/TextCodecUTF8.cpp (modified) (1 diff)
-
WebCore/platform/text/TextCodecUTF8.h (modified) (1 diff)
-
WebCore/rendering/updating/RenderTreeBuilderBlockFlow.cpp (modified) (1 diff)
-
WebCore/rendering/updating/RenderTreeBuilderFormControls.cpp (modified) (1 diff)
-
WebCore/rendering/updating/RenderTreeBuilderInline.cpp (modified) (1 diff)
-
WebCore/rendering/updating/RenderTreeBuilderRuby.cpp (modified) (1 diff)
-
WebCore/rendering/updating/RenderTreeUpdater.cpp (modified) (1 diff)
-
WebKit/ChangeLog (modified) (1 diff)
-
WebKit/Shared/APIWebArchive.mm (modified) (1 diff)
-
WebKit/Shared/APIWebArchiveResource.mm (modified) (1 diff)
-
WebKit/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm (modified) (1 diff)
-
WebKit/Shared/Plugins/Netscape/mac/PluginInformationMac.mm (modified) (1 diff)
-
WebKit/SourcesCocoa.txt (modified) (1 diff)
-
WebKit/SourcesGTK.txt (modified) (3 diffs)
-
WebKit/UIProcess/API/APIAutomationSessionClient.h (modified) (2 diffs)
-
WebKit/UIProcess/Cocoa/LegacyCustomProtocolManagerClient.mm (modified) (5 diffs)
-
WebKit/UIProcess/Plugins/PluginProcessProxy.cpp (modified) (4 diffs)
-
WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm (modified) (4 diffs)
-
WebKit/UIProcess/Storage/StorageProcessProxy.cpp (modified) (4 diffs)
-
WebKit/UIProcess/WebPageProxy.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.22/Source/WTF/ChangeLog
r236058 r236118 1 2018-08-30 Tim Horton <timothy_horton@apple.com> 2 3 Bundle unified sources more tightly in projects with deep directory structures 4 https://bugs.webkit.org/show_bug.cgi?id=189009 5 6 Reviewed by Simon Fraser. 7 8 * Scripts/generate-unified-source-bundles.rb: 9 It turns out our plan to switch unified source bundle every time the directory 10 changes is not a good fit for projects like WebKit2 with many small directories. 11 It leaves many unified source bundles with only a single source file, 12 achieving only ~40% density. 13 14 Instead, switch unified source bundles every time the top-level directory changes. 15 This still achieves the goal of *usually* only rebuilding the one top-level 16 directory you touched, and increases source bundle density wildly, to ~95%. 17 18 * wtf/Platform.h: 19 1 20 2018-08-25 Yusuke Suzuki <yusukesuzuki@slowstart.org> 2 21 -
releases/WebKitGTK/webkit-2.22/Source/WTF/Scripts/generate-unified-source-bundles.rb
r236055 r236118 211 211 end 212 212 213 def TopLevelDirectoryForPath(path) 214 if !path 215 return nil 216 end 217 while path.dirname != path.dirname.dirname 218 path = path.dirname 219 end 220 return path 221 end 222 213 223 def ProcessFileForUnifiedSourceGeneration(sourceFile) 214 224 path = sourceFile.path 215 if ( $currentDirectory != path.dirname)216 log("Flushing because new dirname; old: #{$currentDirectory}, new: #{path.dirname}")225 if (TopLevelDirectoryForPath($currentDirectory) != TopLevelDirectoryForPath(path.dirname)) 226 log("Flushing because new top level directory; old: #{$currentDirectory}, new: #{path.dirname}") 217 227 $bundleManagers.each_value { |x| x.flush } 218 228 $currentDirectory = path.dirname -
releases/WebKitGTK/webkit-2.22/Source/WTF/wtf/Platform.h
r234677 r236118 1315 1315 #define HAVE_TOUCH_BAR 1 1316 1316 #define HAVE_ADVANCED_SPELL_CHECKING 1 1317 #define USE_DICTATION_ALTERNATIVES 1 1317 1318 1318 1319 #if defined(__LP64__) -
releases/WebKitGTK/webkit-2.22/Source/WTF/wtf/text/StringBuffer.h
r231337 r236118 30 30 #define StringBuffer_h 31 31 32 #include <wtf/Assertions.h>33 32 #include <limits> 34 33 #include <unicode/utypes.h> 34 #include <wtf/Assertions.h> 35 #include <wtf/MallocPtr.h> 35 36 36 37 namespace WTF { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/ChangeLog
r236113 r236118 1 2018-08-30 Tim Horton <timothy_horton@apple.com> 2 3 Bundle unified sources more tightly in projects with deep directory structures 4 https://bugs.webkit.org/show_bug.cgi?id=189009 5 6 Reviewed by Simon Fraser. 7 8 Fix a variety of unification errors due to reshuffling the bundles. 9 10 * Modules/mediastream/RTCController.cpp: 11 * SourcesCocoa.txt: 12 * WebCore.xcodeproj/project.pbxproj: 13 * crypto/algorithms/CryptoAlgorithmECDSA.cpp: 14 (WebCore::CryptoAlgorithmECDSA::importKey): 15 * dom/Document.h: 16 * html/parser/HTMLTreeBuilder.cpp: 17 * loader/appcache/ApplicationCacheResourceLoader.h: 18 * page/AlternativeTextClient.h: 19 * platform/Pasteboard.h: 20 * platform/graphics/DisplayRefreshMonitor.cpp: 21 * platform/graphics/FontFamilySpecificationNull.cpp: 22 * platform/graphics/cocoa/WebGLLayer.mm: 23 (-[WebGLLayer initWithGraphicsContext3D:]): 24 (-[WebGLLayer copyImageSnapshotWithColorSpace:]): 25 (-[WebGLLayer display]): 26 (-[WebGLLayer allocateIOSurfaceBackingStoreWithSize:usingAlpha:]): 27 * platform/graphics/cocoa/WebGPULayer.mm: 28 (-[WebGPULayer initWithGPUDevice:]): 29 * platform/graphics/metal/GPUCommandQueueMetal.mm: 30 * platform/mac/PasteboardMac.mm: 31 * platform/mediastream/mac/DisplayCaptureManagerCocoa.cpp: 32 * platform/network/ResourceRequestBase.cpp: 33 * rendering/updating/RenderTreeBuilderBlockFlow.cpp: 34 * rendering/updating/RenderTreeBuilderInline.cpp: 35 1 36 2018-08-29 Daniel Bates <dabates@apple.com> 2 37 -
releases/WebKitGTK/webkit-2.22/Source/WebCore/Modules/cache/WorkerCacheStorageConnection.cpp
r228924 r236118 30 30 #include "CacheQueryOptions.h" 31 31 #include "CacheStorageProvider.h" 32 #include "ClientOrigin.h" 32 33 #include "Document.h" 33 34 #include "Page.h" … … 36 37 #include "WorkerRunLoop.h" 37 38 #include "WorkerThread.h" 38 39 39 40 40 namespace WebCore { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/Modules/mediastream/RTCController.cpp
r226804 r236118 28 28 #if ENABLE(WEB_RTC) 29 29 30 #include "Document.h" 30 31 #include "LibWebRTCProvider.h" 31 32 #include "RTCPeerConnection.h" -
releases/WebKitGTK/webkit-2.22/Source/WebCore/Modules/paymentrequest/PaymentRequestUpdateEvent.cpp
r235061 r236118 29 29 #if ENABLE(PAYMENT_REQUEST) 30 30 31 #include "EventNames.h" 31 32 #include "PaymentRequest.h" 32 33 -
releases/WebKitGTK/webkit-2.22/Source/WebCore/Modules/webvr/VRDisplay.cpp
r233846 r236118 30 30 #include "Chrome.h" 31 31 #include "DOMException.h" 32 #include "DOMWindow.h" 32 33 #include "EventNames.h" 33 34 #include "Page.h" -
releases/WebKitGTK/webkit-2.22/Source/WebCore/PAL/pal/crypto/gcrypt/Utilities.h
r222497 r236118 29 29 #include <gcrypt.h> 30 30 #include <wtf/Assertions.h> 31 #include <wtf/Optional.h> 31 32 32 33 namespace PAL { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/SourcesCocoa.txt
r235299 r236118 390 390 platform/ios/PlaybackSessionInterfaceAVKit.mm @no-unify 391 391 platform/ios/QuickLook.mm 392 platform/ios/QuickLookSoftLink.mm 392 platform/ios/QuickLookSoftLink.mm @no-unify 393 393 platform/ios/RemoteCommandListenerIOS.mm 394 394 platform/ios/ScrollAnimatorIOS.mm … … 400 400 platform/ios/ThemeIOS.mm @no-unify 401 401 platform/ios/TileControllerMemoryHandlerIOS.cpp 402 platform/ios/UserAgentIOS.mm 402 platform/ios/UserAgentIOS.mm @no-unify 403 403 platform/ios/ValidationBubbleIOS.mm @no-unify 404 404 platform/ios/VideoFullscreenInterfaceAVKit.mm @no-unify -
releases/WebKitGTK/webkit-2.22/Source/WebCore/SourcesGTK.txt
r232796 r236118 62 62 platform/geoclue/GeolocationProviderGeoclue.cpp 63 63 64 platform/graphics/GLContext.cpp 64 platform/graphics/GLContext.cpp @no-unify 65 65 platform/graphics/GraphicsContext3DPrivate.cpp 66 66 67 platform/graphics/cairo/BackingStoreBackendCairoX11.cpp 67 platform/graphics/cairo/BackingStoreBackendCairoX11.cpp @no-unify 68 68 69 69 platform/graphics/egl/GLContextEGL.cpp 70 70 platform/graphics/egl/GLContextEGLWayland.cpp @no-unify 71 platform/graphics/egl/GLContextEGLX11.cpp 71 platform/graphics/egl/GLContextEGLX11.cpp @no-unify 72 72 73 73 platform/graphics/glx/GLContextGLX.cpp … … 83 83 platform/graphics/wayland/PlatformDisplayWayland.cpp 84 84 85 platform/graphics/x11/PlatformDisplayX11.cpp 86 platform/graphics/x11/XErrorTrapper.cpp 87 platform/graphics/x11/XUniqueResource.cpp 85 platform/graphics/x11/PlatformDisplayX11.cpp @no-unify 86 platform/graphics/x11/XErrorTrapper.cpp @no-unify 87 platform/graphics/x11/XUniqueResource.cpp @no-unify 88 88 89 89 platform/gtk/DragDataGtk.cpp -
releases/WebKitGTK/webkit-2.22/Source/WebCore/crypto/algorithms/CryptoAlgorithmECDSA.cpp
r233898 r236118 37 37 namespace WebCore { 38 38 39 namespace CryptoAlgorithmECDSAInternal { 39 40 static const char* const ALG256 = "ES256"; 40 41 static const char* const ALG384 = "ES384"; … … 43 44 static const char* const P384 = "P-384"; 44 45 static const char* const P521 = "P-521"; 46 } 45 47 46 48 Ref<CryptoAlgorithm> CryptoAlgorithmECDSA::create() … … 103 105 void CryptoAlgorithmECDSA::importKey(CryptoKeyFormat format, KeyData&& data, const CryptoAlgorithmParameters& parameters, bool extractable, CryptoKeyUsageBitmap usages, KeyCallback&& callback, ExceptionCallback&& exceptionCallback) 104 106 { 107 using namespace CryptoAlgorithmECDSAInternal; 105 108 const auto& ecParameters = downcast<CryptoAlgorithmEcKeyParams>(parameters); 106 109 -
releases/WebKitGTK/webkit-2.22/Source/WebCore/crypto/gcrypt/GCryptUtilities.h
r233247 r236118 35 35 #include <pal/crypto/gcrypt/Handle.h> 36 36 #include <pal/crypto/gcrypt/Utilities.h> 37 #include <wtf/Optional.h> 37 38 38 39 namespace WebCore { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/dom/Document.h
r235070 r236118 642 642 WEBCORE_EXPORT DocumentLoader* loader() const; 643 643 644 WEBCORE_EXPORT ExceptionOr<RefPtr<WindowProxy>> openForBindings(DOMWindow& activeWindow, DOMWindow& first Window, const String& url, const AtomicString& name, const String& features);644 WEBCORE_EXPORT ExceptionOr<RefPtr<WindowProxy>> openForBindings(DOMWindow& activeWindow, DOMWindow& firstDOMWindow, const String& url, const AtomicString& name, const String& features); 645 645 WEBCORE_EXPORT ExceptionOr<Document&> openForBindings(Document* responsibleDocument, const String& type, const String& replace); 646 646 -
releases/WebKitGTK/webkit-2.22/Source/WebCore/html/parser/HTMLTreeBuilder.cpp
r233572 r236118 33 33 #include "HTMLFormControlElement.h" 34 34 #include "HTMLFormElement.h" 35 #include "HTMLInputElement.h" 35 36 #include "HTMLOptGroupElement.h" 36 37 #include "HTMLOptionElement.h" -
releases/WebKitGTK/webkit-2.22/Source/WebCore/loader/appcache/ApplicationCacheResourceLoader.h
r229675 r236118 26 26 #pragma once 27 27 28 #include "ApplicationCacheResource.h" 28 29 #include "CachedRawResource.h" 29 30 #include "CachedRawResourceClient.h" -
releases/WebKitGTK/webkit-2.22/Source/WebCore/page/AlternativeTextClient.h
r223728 r236118 29 29 #include <wtf/Vector.h> 30 30 #include <wtf/text/WTFString.h> 31 32 #if PLATFORM(MAC)33 // Some platforms provide UI for suggesting alternative dictation text.34 #define USE_DICTATION_ALTERNATIVES 135 #endif36 31 37 32 namespace WebCore { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/Pasteboard.h
r229503 r236118 337 337 extern const char* const WebArchivePboardType; 338 338 extern const char* const WebURLNamePboardType; 339 extern const char* const WebURLsWithTitlesPboardType; 339 340 #endif 340 341 -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/audio/mac/AudioSessionMac.cpp
r234743 r236118 34 34 #include <CoreAudio/AudioHardware.h> 35 35 #include <wtf/MainThread.h> 36 #include <wtf/text/WTFString.h> 36 37 37 38 namespace WebCore { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/graphics/DisplayRefreshMonitor.cpp
r233512 r236118 31 31 #include "DisplayRefreshMonitorClient.h" 32 32 #include "DisplayRefreshMonitorManager.h" 33 #include "Logging.h" 33 34 34 35 #if PLATFORM(IOS) -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/graphics/FontFamilySpecificationNull.cpp
r218421 r236118 28 28 29 29 #include "FontSelector.h" 30 #include <wtf/text/AtomicStringHash.h> 30 31 31 32 namespace WebCore { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/graphics/FontGenericFamilies.h
r167811 r236118 30 30 #include <wtf/HashMap.h> 31 31 #include <wtf/text/AtomicString.h> 32 #include <wtf/text/AtomicStringHash.h> 32 33 33 34 namespace WebCore { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/graphics/FontTaggedSettings.cpp
r220503 r236118 28 28 #include "FontTaggedSettings.h" 29 29 30 #include <wtf/text/AtomicStringHash.h> 30 31 #include <wtf/text/TextStream.h> 31 32 #include <wtf/text/AtomicStringHash.h>33 32 34 33 namespace WebCore { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/graphics/cairo/FontCairo.cpp
r228821 r236118 35 35 36 36 #include "AffineTransform.h" 37 #include "CairoOperations.h" 37 38 #include "CairoUtilities.h" 38 39 #include "Font.h" -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm
r232501 r236118 43 43 #endif 44 44 45 using namespace WebCore;46 47 45 @implementation WebGLLayer 48 46 49 47 @synthesize context=_context; 50 48 51 -(id)initWithGraphicsContext3D:( GraphicsContext3D*)context49 -(id)initWithGraphicsContext3D:(WebCore::GraphicsContext3D*)context 52 50 { 53 51 _context = context; … … 87 85 #endif 88 86 89 - (CGImageRef)copyImageSnapshotWithColorSpace:(CGColorSpaceRef)colorSpace87 - (CGImageRef)copyImageSnapshotWithColorSpace:(CGColorSpaceRef)colorSpace 90 88 { 91 89 if (!_context) … … 97 95 RetainPtr<CGColorSpaceRef> imageColorSpace = colorSpace; 98 96 if (!imageColorSpace) 99 imageColorSpace = sRGBColorSpaceRef();97 imageColorSpace = WebCore::sRGBColorSpaceRef(); 100 98 101 99 CGRect layerBounds = CGRectIntegral([self bounds]); … … 142 140 143 141 _context->markLayerComposited(); 144 PlatformCALayer* layer =PlatformCALayer::platformCALayer((__bridge void*)self);142 WebCore::PlatformCALayer* layer = WebCore::PlatformCALayer::platformCALayer((__bridge void*)self); 145 143 if (layer && layer->owner()) 146 144 layer->owner()->platformCALayerLayerDidDisplay(layer); … … 148 146 149 147 #if USE(OPENGL) 150 - (void)allocateIOSurfaceBackingStoreWithSize:( IntSize)size usingAlpha:(BOOL)usingAlpha148 - (void)allocateIOSurfaceBackingStoreWithSize:(WebCore::IntSize)size usingAlpha:(BOOL)usingAlpha 151 149 { 152 150 _bufferSize = size; 153 151 _usingAlpha = usingAlpha; 154 _contentsBuffer = WebCore::IOSurface::create(size, sRGBColorSpaceRef());155 _drawingBuffer = WebCore::IOSurface::create(size, sRGBColorSpaceRef());156 _spareBuffer = WebCore::IOSurface::create(size, sRGBColorSpaceRef());152 _contentsBuffer = WebCore::IOSurface::create(size, WebCore::sRGBColorSpaceRef()); 153 _drawingBuffer = WebCore::IOSurface::create(size, WebCore::sRGBColorSpaceRef()); 154 _spareBuffer = WebCore::IOSurface::create(size, WebCore::sRGBColorSpaceRef()); 157 155 158 156 ASSERT(_contentsBuffer); -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/graphics/cocoa/WebGPULayer.mm
r219050 r236118 35 35 #import <wtf/RetainPtr.h> 36 36 37 using namespace WebCore;38 39 37 @implementation WebGPULayer 40 38 41 39 @synthesize context=_context; 42 40 43 - (id)initWithGPUDevice:( GPUDevice*)context41 - (id)initWithGPUDevice:(WebCore::GPUDevice*)context 44 42 { 45 43 self = [super init]; … … 51 49 #if PLATFORM(MAC) 52 50 self.contentsScale = _devicePixelRatio; 53 self.colorspace = sRGBColorSpaceRef();51 self.colorspace = WebCore::sRGBColorSpaceRef(); 54 52 #endif 55 53 return self; -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/graphics/metal/GPUCommandQueueMetal.mm
r234258 r236118 32 32 #import "Logging.h" 33 33 #import <Metal/Metal.h> 34 #import <wtf/text/WTFString.h> 34 35 35 36 namespace WebCore { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/mac/PasteboardMac.mm
r233753 r236118 53 53 const char* const WebArchivePboardType = "Apple Web Archive pasteboard type"; 54 54 const char* const WebURLNamePboardType = "public.url-name"; 55 const char* const WebURLsWithTitlesPboardType = "WebURLsWithTitlesPboardType"; 55 56 56 57 const char WebSmartPastePboardType[] = "NeXT smart paste pasteboard type"; 57 58 const char WebURLPboardType[] = "public.url"; 58 const char WebURLsWithTitlesPboardType[] = "WebURLsWithTitlesPboardType";59 59 60 60 static const Vector<String> writableTypesForURL() -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/mediastream/mac/DisplayCaptureManagerCocoa.cpp
r234146 r236118 29 29 #if ENABLE(MEDIA_STREAM) 30 30 31 #include "CoreVideoSoftLink.h" 31 32 #include "Logging.h" 32 33 #include <wtf/Algorithms.h> -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/network/ResourceRequestBase.cpp
r233668 r236118 30 30 #include "PublicSuffix.h" 31 31 #include "ResourceRequest.h" 32 #include "ResourceResponse.h" 32 33 #include "SecurityPolicy.h" 33 34 #include <wtf/PointerComparison.h> -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/network/soup/SoupNetworkSession.h
r231876 r236118 27 27 #define SoupNetworkSession_h 28 28 29 #include <gio/gio.h> 29 30 #include <glib-object.h> 30 31 #include <pal/SessionID.h> -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/text/TextCodecUTF8.cpp
r225618 r236118 30 30 #include <wtf/text/CString.h> 31 31 #include <wtf/text/StringBuffer.h> 32 #include <wtf/text/WTFString.h> 32 33 #include <wtf/unicode/CharacterNames.h> 33 34 -
releases/WebKitGTK/webkit-2.22/Source/WebCore/platform/text/TextCodecUTF8.h
r225618 r236118 27 27 28 28 #include "TextCodec.h" 29 #include <unicode/utf8.h> 29 30 #include <wtf/text/LChar.h> 30 31 -
releases/WebKitGTK/webkit-2.22/Source/WebCore/rendering/updating/RenderTreeBuilderBlockFlow.cpp
r228938 r236118 28 28 29 29 #include "RenderMultiColumnFlow.h" 30 #include "RenderTreeBuilderBlock.h" 31 #include "RenderTreeBuilderMultiColumn.h" 30 32 31 33 namespace WebCore { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/rendering/updating/RenderTreeBuilderFormControls.cpp
r228938 r236118 29 29 #include "RenderButton.h" 30 30 #include "RenderMenuList.h" 31 #include "RenderTreeBuilderBlock.h" 31 32 32 33 namespace WebCore { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp
r232178 r236118 31 31 #include "RenderInline.h" 32 32 #include "RenderTable.h" 33 #include "RenderTreeBuilderMultiColumn.h" 34 #include "RenderTreeBuilderTable.h" 33 35 34 36 namespace WebCore { -
releases/WebKitGTK/webkit-2.22/Source/WebCore/rendering/updating/RenderTreeBuilderRuby.cpp
r232178 r236118 27 27 #include "RenderTreeBuilderRuby.h" 28 28 29 #include "RenderAncestorIterator.h" 29 30 #include "RenderRuby.h" 30 31 #include "RenderRubyBase.h" -
releases/WebKitGTK/webkit-2.22/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp
r234109 r236118 42 42 #include "RenderFullScreen.h" 43 43 #include "RenderInline.h" 44 #include "RenderMultiColumnFlow.h" 45 #include "RenderMultiColumnSet.h" 44 46 #include "RenderTreeUpdaterGeneratedContent.h" 45 47 #include "RuntimeEnabledFeatures.h" -
releases/WebKitGTK/webkit-2.22/Source/WebKit/ChangeLog
r236107 r236118 1 2018-08-30 Tim Horton <timothy_horton@apple.com> 2 3 Bundle unified sources more tightly in projects with deep directory structures 4 https://bugs.webkit.org/show_bug.cgi?id=189009 5 6 Reviewed by Simon Fraser. 7 8 Fix a variety of unification errors due to reshuffling the bundles. 9 10 * Shared/APIWebArchive.mm: 11 * Shared/APIWebArchiveResource.mm: 12 * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm: 13 * Shared/Plugins/Netscape/mac/PluginInformationMac.mm: 14 * SourcesCocoa.txt: 15 * SourcesGTK.txt: 16 * UIProcess/API/APIAutomationSessionClient.h: 17 (API::AutomationSessionClient::sessionIdentifier const): 18 (API::AutomationSessionClient::messageOfCurrentJavaScriptDialogOnPage): 19 (API::AutomationSessionClient::setUserInputForCurrentJavaScriptPromptOnPage): 20 * UIProcess/Cocoa/LegacyCustomProtocolManagerClient.mm: 21 (-[WKCustomProtocolLoader initWithLegacyCustomProtocolManagerProxy:customProtocolID:request:]): 22 (-[WKCustomProtocolLoader connection:didFailWithError:]): 23 (-[WKCustomProtocolLoader connection:didReceiveResponse:]): 24 * UIProcess/Plugins/PluginProcessProxy.cpp: 25 (WebKit::generatePluginProcessCallbackID): 26 (WebKit::PluginProcessProxy::fetchWebsiteData): 27 (WebKit::PluginProcessProxy::deleteWebsiteData): 28 (WebKit::PluginProcessProxy::deleteWebsiteDataForHostNames): 29 (WebKit::generateCallbackID): Deleted. 30 * UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm: 31 (-[WKScrollingNodeScrollViewDelegate scrollViewWillEndDragging:withVelocity:targetContentOffset:]): 32 * UIProcess/Storage/StorageProcessProxy.cpp: 33 (WebKit::generateStorageProcessCallbackID): 34 (WebKit::StorageProcessProxy::fetchWebsiteData): 35 (WebKit::StorageProcessProxy::deleteWebsiteData): 36 (WebKit::StorageProcessProxy::deleteWebsiteDataForOrigins): 37 (WebKit::generateCallbackID): Deleted. 38 * WebKit.xcodeproj/project.pbxproj: 39 * WebProcess/Plugins/PDF/PDFPlugin.mm: 40 (-[WKPDFPluginAccessibilityObject accessibilityPerformAction:]): 41 (-[WKPDFPluginAccessibilityObject accessibilityFocusedUIElement]): 42 (-[WKPDFPluginAccessibilityObject accessibilityAssociatedControlForAnnotation:]): 43 (-[WKPDFPluginAccessibilityObject accessibilityHitTest:]): 44 (-[WKPDFLayerControllerDelegate updateScrollPosition:]): 45 (WebKit::PDFPlugin::updateCursor): 46 (WebKit::coreCursor): 47 (appendValuesInPDFNameSubtreeToVector): Deleted. 48 (getAllValuesInPDFNameTree): Deleted. 49 (getAllScriptsInPDFDocument): Deleted. 50 1 51 2018-08-27 Alex Christensen <achristensen@webkit.org> 2 52 -
releases/WebKitGTK/webkit-2.22/Source/WebKit/Shared/APIWebArchive.mm
r235066 r236118 35 35 #include <wtf/RetainPtr.h> 36 36 37 namespace API { 37 38 using namespace WebCore; 38 39 namespace API {40 39 41 40 Ref<WebArchive> WebArchive::create(WebArchiveResource* mainResource, RefPtr<API::Array>&& subresources, RefPtr<API::Array>&& subframeArchives) -
releases/WebKitGTK/webkit-2.22/Source/WebKit/Shared/APIWebArchiveResource.mm
r235066 r236118 34 34 #include <wtf/RetainPtr.h> 35 35 36 namespace API { 36 37 using namespace WebCore; 37 38 namespace API {39 38 40 39 Ref<WebArchiveResource> WebArchiveResource::create(API::Data* data, const String& URL, const String& MIMEType, const String& textEncoding) -
releases/WebKitGTK/webkit-2.22/Source/WebKit/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm
r234278 r236118 35 35 #import <wtf/spi/cf/CFBundleSPI.h> 36 36 37 namespace WebKit { 37 38 using namespace WebCore; 38 39 namespace WebKit {40 39 41 40 static bool getPluginArchitecture(CFBundleRef bundle, PluginModuleInfo& plugin) -
releases/WebKitGTK/webkit-2.22/Source/WebKit/Shared/Plugins/Netscape/mac/PluginInformationMac.mm
r204462 r236118 35 35 #import <WebCore/PluginBlacklist.h> 36 36 37 namespace WebKit { 37 38 using namespace WebCore; 38 39 namespace WebKit {40 39 41 40 void getPlatformPluginModuleInformation(const PluginModuleInfo& plugin, API::Dictionary::MapType& map) -
releases/WebKitGTK/webkit-2.22/Source/WebKit/SourcesCocoa.txt
r236047 r236118 300 300 UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm 301 301 302 UIProcess/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm 303 304 UIProcess/ApplePay/mac/WebPaymentCoordinatorProxyMac.mm 302 UIProcess/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm @no-unify 303 304 UIProcess/ApplePay/mac/WebPaymentCoordinatorProxyMac.mm @no-unify 305 305 306 306 UIProcess/Authentication/cocoa/AuthenticationChallengeProxyCocoa.mm -
releases/WebKitGTK/webkit-2.22/Source/WebKit/SourcesGTK.txt
r235285 r236118 208 208 UIProcess/linux/MemoryPressureMonitor.cpp 209 209 210 UIProcess/Plugins/gtk/PluginInfoCache.cpp 211 212 UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp 210 UIProcess/Plugins/gtk/PluginInfoCache.cpp @no-unify 211 212 UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp @no-unify 213 213 UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp @no-unify 214 214 … … 217 217 UIProcess/WebsiteData/unix/WebsiteDataStoreUnix.cpp 218 218 219 UIProcess/cairo/BackingStoreCairo.cpp 219 UIProcess/cairo/BackingStoreCairo.cpp @no-unify 220 220 221 221 UIProcess/glib/RemoteInspectorClient.cpp … … 230 230 UIProcess/gtk/GestureController.cpp 231 231 UIProcess/gtk/HardwareAccelerationManager.cpp 232 UIProcess/gtk/InputMethodFilter.cpp 232 UIProcess/gtk/InputMethodFilter.cpp @no-unify 233 233 UIProcess/gtk/KeyBindingTranslator.cpp 234 234 UIProcess/gtk/RemoteWebInspectorProxyGtk.cpp @no-unify 235 235 UIProcess/gtk/TextCheckerGtk.cpp @no-unify 236 236 UIProcess/gtk/WaylandCompositor.cpp @no-unify 237 UIProcess/gtk/WebColorPickerGtk.cpp 237 UIProcess/gtk/WebColorPickerGtk.cpp @no-unify 238 238 UIProcess/gtk/WebContextMenuProxyGtk.cpp 239 239 UIProcess/gtk/WebInspectorProxyGtk.cpp 240 240 UIProcess/gtk/WebKitInspectorWindow.cpp 241 UIProcess/gtk/WebPageProxyGtk.cpp 241 UIProcess/gtk/WebPageProxyGtk.cpp @no-unify 242 242 UIProcess/gtk/WebPasteboardProxyGtk.cpp 243 243 UIProcess/gtk/WebPopupMenuProxyGtk.cpp -
releases/WebKitGTK/webkit-2.22/Source/WebKit/UIProcess/API/APIAutomationSessionClient.h
r232150 r236118 52 52 virtual ~AutomationSessionClient() { } 53 53 54 virtual String sessionIdentifier() const { returnString(); }54 virtual WTF::String sessionIdentifier() const { return WTF::String(); } 55 55 virtual void didDisconnectFromRemote(WebKit::WebAutomationSession&) { } 56 56 virtual void requestNewPageWithOptions(WebKit::WebAutomationSession&, AutomationSessionBrowsingContextOptions, CompletionHandler<void(WebKit::WebPageProxy*)>&& completionHandler) { completionHandler(nullptr); } … … 62 62 virtual void dismissCurrentJavaScriptDialogOnPage(WebKit::WebAutomationSession&, WebKit::WebPageProxy&) { } 63 63 virtual void acceptCurrentJavaScriptDialogOnPage(WebKit::WebAutomationSession&, WebKit::WebPageProxy&) { } 64 virtual String messageOfCurrentJavaScriptDialogOnPage(WebKit::WebAutomationSession&, WebKit::WebPageProxy&) { returnString(); }65 virtual void setUserInputForCurrentJavaScriptPromptOnPage(WebKit::WebAutomationSession&, WebKit::WebPageProxy&, const String&) { }64 virtual WTF::String messageOfCurrentJavaScriptDialogOnPage(WebKit::WebAutomationSession&, WebKit::WebPageProxy&) { return WTF::String(); } 65 virtual void setUserInputForCurrentJavaScriptPromptOnPage(WebKit::WebAutomationSession&, WebKit::WebPageProxy&, const WTF::String&) { } 66 66 virtual std::optional<JavaScriptDialogType> typeOfCurrentJavaScriptDialogOnPage(WebKit::WebAutomationSession&, WebKit::WebPageProxy&) { return std::nullopt; } 67 67 }; -
releases/WebKitGTK/webkit-2.22/Source/WebKit/UIProcess/Cocoa/LegacyCustomProtocolManagerClient.mm
r233668 r236118 33 33 #import <WebCore/ResourceResponse.h> 34 34 35 using namespace WebCore;36 using namespace WebKit;37 38 35 @interface WKCustomProtocolLoader : NSObject <NSURLConnectionDelegate> { 39 36 @private 40 LegacyCustomProtocolManagerProxy* _customProtocolManagerProxy;37 WebKit::LegacyCustomProtocolManagerProxy* _customProtocolManagerProxy; 41 38 uint64_t _customProtocolID; 42 39 NSURLCacheStoragePolicy _storagePolicy; 43 40 NSURLConnection *_urlConnection; 44 41 } 45 - (id)initWithLegacyCustomProtocolManagerProxy:( LegacyCustomProtocolManagerProxy*)customProtocolManagerProxy customProtocolID:(uint64_t)customProtocolID request:(NSURLRequest *)request;42 - (id)initWithLegacyCustomProtocolManagerProxy:(WebKit::LegacyCustomProtocolManagerProxy*)customProtocolManagerProxy customProtocolID:(uint64_t)customProtocolID request:(NSURLRequest *)request; 46 43 - (void)customProtocolManagerProxyDestroyed; 47 44 @end … … 49 46 @implementation WKCustomProtocolLoader 50 47 51 - (id)initWithLegacyCustomProtocolManagerProxy:( LegacyCustomProtocolManagerProxy*)customProtocolManagerProxy customProtocolID:(uint64_t)customProtocolID request:(NSURLRequest *)request48 - (id)initWithLegacyCustomProtocolManagerProxy:(WebKit::LegacyCustomProtocolManagerProxy*)customProtocolManagerProxy customProtocolID:(uint64_t)customProtocolID request:(NSURLRequest *)request 52 49 { 53 50 self = [super init]; … … 86 83 - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error 87 84 { 88 ResourceError coreError(error);85 WebCore::ResourceError coreError(error); 89 86 _customProtocolManagerProxy->didFailWithError(_customProtocolID, coreError); 90 87 _customProtocolManagerProxy->stopLoading(_customProtocolID); … … 100 97 - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response 101 98 { 102 ResourceResponse coreResponse(response);99 WebCore::ResourceResponse coreResponse(response); 103 100 _customProtocolManagerProxy->didReceiveResponse(_customProtocolID, coreResponse, _storagePolicy); 104 101 } … … 128 125 129 126 namespace WebKit { 127 using namespace WebCore; 130 128 131 129 void LegacyCustomProtocolManagerClient::startLoading(LegacyCustomProtocolManagerProxy& manager, uint64_t customProtocolID, const ResourceRequest& coreRequest) -
releases/WebKitGTK/webkit-2.22/Source/WebKit/UIProcess/Plugins/PluginProcessProxy.cpp
r236047 r236118 49 49 static const Seconds snapshottingShutdownTimeout { 15_s }; 50 50 51 static uint64_t generate CallbackID()51 static uint64_t generatePluginProcessCallbackID() 52 52 { 53 53 static uint64_t callbackID; … … 115 115 void PluginProcessProxy::fetchWebsiteData(CompletionHandler<void (Vector<String>)>&& completionHandler) 116 116 { 117 uint64_t callbackID = generate CallbackID();117 uint64_t callbackID = generatePluginProcessCallbackID(); 118 118 m_pendingFetchWebsiteDataCallbacks.set(callbackID, WTFMove(completionHandler)); 119 119 … … 128 128 void PluginProcessProxy::deleteWebsiteData(WallTime modifiedSince, CompletionHandler<void ()>&& completionHandler) 129 129 { 130 uint64_t callbackID = generate CallbackID();130 uint64_t callbackID = generatePluginProcessCallbackID(); 131 131 m_pendingDeleteWebsiteDataCallbacks.set(callbackID, WTFMove(completionHandler)); 132 132 … … 141 141 void PluginProcessProxy::deleteWebsiteDataForHostNames(const Vector<String>& hostNames, CompletionHandler<void ()>&& completionHandler) 142 142 { 143 uint64_t callbackID = generate CallbackID();143 uint64_t callbackID = generatePluginProcessCallbackID(); 144 144 m_pendingDeleteWebsiteDataForHostNamesCallbacks.set(callbackID, WTFMove(completionHandler)); 145 145 -
releases/WebKitGTK/webkit-2.22/Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm
r228264 r236118 44 44 #endif 45 45 46 using namespace WebCore;47 48 46 @implementation WKScrollingNodeScrollViewDelegate 49 47 … … 81 79 if (!_scrollingTreeNodeDelegate->scrollingNode().horizontalSnapOffsets().isEmpty()) { 82 80 unsigned index; 83 float potentialSnapPosition = closestSnapOffset(_scrollingTreeNodeDelegate->scrollingNode().horizontalSnapOffsets(), _scrollingTreeNodeDelegate->scrollingNode().horizontalSnapOffsetRanges(), horizontalTarget, velocity.x, index);81 float potentialSnapPosition = WebCore::closestSnapOffset(_scrollingTreeNodeDelegate->scrollingNode().horizontalSnapOffsets(), _scrollingTreeNodeDelegate->scrollingNode().horizontalSnapOffsetRanges(), horizontalTarget, velocity.x, index); 84 82 _scrollingTreeNodeDelegate->scrollingNode().setCurrentHorizontalSnapPointIndex(index); 85 83 if (horizontalTarget >= 0 && horizontalTarget <= scrollView.contentSize.width) … … 89 87 if (!_scrollingTreeNodeDelegate->scrollingNode().verticalSnapOffsets().isEmpty()) { 90 88 unsigned index; 91 float potentialSnapPosition = closestSnapOffset(_scrollingTreeNodeDelegate->scrollingNode().verticalSnapOffsets(), _scrollingTreeNodeDelegate->scrollingNode().verticalSnapOffsetRanges(), verticalTarget, velocity.y, index);89 float potentialSnapPosition = WebCore::closestSnapOffset(_scrollingTreeNodeDelegate->scrollingNode().verticalSnapOffsets(), _scrollingTreeNodeDelegate->scrollingNode().verticalSnapOffsetRanges(), verticalTarget, velocity.y, index); 92 90 _scrollingTreeNodeDelegate->scrollingNode().setCurrentVerticalSnapPointIndex(index); 93 91 if (verticalTarget >= 0 && verticalTarget <= scrollView.contentSize.height) … … 123 121 124 122 namespace WebKit { 123 using namespace WebCore; 125 124 126 125 ScrollingTreeScrollingNodeDelegateIOS::ScrollingTreeScrollingNodeDelegateIOS(ScrollingTreeScrollingNode& scrollingNode) -
releases/WebKitGTK/webkit-2.22/Source/WebKit/UIProcess/Storage/StorageProcessProxy.cpp
r236047 r236118 38 38 using namespace WebCore; 39 39 40 static uint64_t generate CallbackID()40 static uint64_t generateStorageProcessCallbackID() 41 41 { 42 42 static uint64_t callbackID; … … 106 106 ASSERT(canSendMessage()); 107 107 108 uint64_t callbackID = generate CallbackID();108 uint64_t callbackID = generateStorageProcessCallbackID(); 109 109 m_pendingFetchWebsiteDataCallbacks.add(callbackID, WTFMove(completionHandler)); 110 110 … … 114 114 void StorageProcessProxy::deleteWebsiteData(PAL::SessionID sessionID, OptionSet<WebsiteDataType> dataTypes, WallTime modifiedSince, CompletionHandler<void ()>&& completionHandler) 115 115 { 116 auto callbackID = generate CallbackID();116 auto callbackID = generateStorageProcessCallbackID(); 117 117 118 118 m_pendingDeleteWebsiteDataCallbacks.add(callbackID, WTFMove(completionHandler)); … … 124 124 ASSERT(canSendMessage()); 125 125 126 uint64_t callbackID = generate CallbackID();126 uint64_t callbackID = generateStorageProcessCallbackID(); 127 127 m_pendingDeleteWebsiteDataForOriginsCallbacks.add(callbackID, WTFMove(completionHandler)); 128 128 -
releases/WebKitGTK/webkit-2.22/Source/WebKit/UIProcess/WebPageProxy.h
r236041 r236118 62 62 #include "WebPaymentCoordinatorProxy.h" 63 63 #include "WebPreferences.h" 64 #include <WebCore/AlternativeTextClient.h> // FIXME: Needed by WebPageProxyMessages.h for DICTATION_ALTERNATIVES.65 64 #include "WebPageProxyMessages.h" 66 65 #include "WebPopupMenuProxy.h"
Note:
See TracChangeset
for help on using the changeset viewer.