[webkit-changes] [WebKit/WebKit] f687b5: Renamed unsafeForgeSpan to unsafeMakeSpan

geoffreygaren noreply at github.com
Thu Oct 31 16:13:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f687b57a0a69304a15a8689a9609bcf493981887
      https://github.com/WebKit/WebKit/commit/f687b57a0a69304a15a8689a9609bcf493981887
  Author: Geoffrey Garen <ggaren at apple.com>
  Date:   2024-10-31 (Thu, 31 Oct 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/IntlCollator.cpp
    M Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp
    M Source/JavaScriptCore/runtime/IntlLocale.cpp
    M Source/JavaScriptCore/runtime/IntlObject.cpp
    M Source/JavaScriptCore/runtime/IntlPluralRules.cpp
    M Source/JavaScriptCore/tools/FunctionAllowlist.cpp
    M Source/JavaScriptCore/tools/FunctionOverrides.cpp
    M Source/WTF/wtf/BitSet.h
    M Source/WTF/wtf/MallocSpan.h
    M Source/WTF/wtf/StdLibExtras.h
    M Source/WTF/wtf/cocoa/SpanCocoa.mm
    M Source/WTF/wtf/glib/GSpanExtras.h
    M Source/WTF/wtf/text/ASCIILiteral.h
    M Source/WTF/wtf/text/StringCommon.h
    M Source/WTF/wtf/text/StringImpl.cpp
    M Source/WebGPU/WebGPU/Buffer.mm
    M Source/WebGPU/WebGPU/ComputePassEncoder.mm
    M Source/WebGPU/WebGPU/Queue.mm
    M Source/WebGPU/WebGPU/RenderBundleEncoder.mm
    M Source/WebGPU/WebGPU/RenderPassEncoder.mm
    M Source/WebGPU/WebGPU/WebGPU.h
    M Source/WebKit/GPUProcess/webrtc/LibWebRTCCodecsProxy.mm
    M Source/WebKit/NetworkProcess/cache/NetworkCacheDataCocoa.mm
    M Source/WebKit/Shared/API/APIData.h
    M Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm
    M Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectInterface.mm
    M Source/WebKit/Shared/API/c/WKArray.cpp
    M Source/WebKit/Shared/API/c/WKData.cpp
    M Source/WebKit/Shared/API/c/WKDictionary.cpp
    M Source/WebKit/Shared/API/c/WKString.cpp
    M Source/WebKit/Shared/EntryPointUtilities/Cocoa/Daemon/PCMDaemonEntryPoint.mm
    M Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm
    M Source/WebKit/Shared/mac/WebMemorySampler.mac.mm
    M Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm
    M Source/WebKit/UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp
    M Source/WebKit/UIProcess/WebAuthentication/Cocoa/HidConnection.mm
    M Source/WebKit/UIProcess/mac/LegacySessionStateCoding.cpp
    M Source/WebKit/WebProcess/Automation/WebAutomationSessionProxy.cpp
    M Source/WebKit/WebProcess/Extensions/Bindings/Scripts/CodeGeneratorExtensions.pm
    M Source/WebKit/WebProcess/GPU/media/RemoteAudioDestinationProxy.cpp
    M Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp
    M Source/WebKit/WebProcess/Network/webrtc/LibWebRTCSocket.cpp
    M Source/WebKit/WebProcess/Plugins/PDF/PDFIncrementalLoader.mm
    M Source/WebKit/WebProcess/Plugins/PDF/PDFScriptEvaluation.mm
    M Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp

  Log Message:
  -----------
  Renamed unsafeForgeSpan to unsafeMakeSpan
https://bugs.webkit.org/show_bug.cgi?id=282411
rdar://139032153

Reviewed by Simon Fraser and Chris Dumez.

People found "forge" to be awkward.

* Source/JavaScriptCore/runtime/IntlCollator.cpp:
(JSC::IntlCollator::sortLocaleData):
* Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp:
(JSC::IntlDateTimeFormat::localeData):
* Source/JavaScriptCore/runtime/IntlLocale.cpp:
(JSC::IntlLocale::calendars):
(JSC::IntlLocale::collations):
* Source/JavaScriptCore/runtime/IntlObject.cpp:
(JSC::intlAvailableCalendars):
(JSC::availableCollations):
(JSC::availableCurrencies):
(JSC::intlAvailableTimeZones):
* Source/JavaScriptCore/runtime/IntlPluralRules.cpp:
(JSC::IntlPluralRules::resolvedOptions const):
* Source/JavaScriptCore/tools/FunctionAllowlist.cpp:
(JSC::FunctionAllowlist::FunctionAllowlist):
* Source/JavaScriptCore/tools/FunctionOverrides.cpp:
(JSC::parseClause):
* Source/WTF/wtf/BitSet.h:
* Source/WTF/wtf/MallocSpan.h:
(WTF::MallocSpan::realloc):
(WTF::MallocSpan::MallocSpan):
* Source/WTF/wtf/StdLibExtras.h:
(WTF::unsafeMakeSpan):
(WTF::asByteSpan):
(WTF::asMutableByteSpan):
(WTF::unsafeForgeSpan): Deleted.
* Source/WTF/wtf/cocoa/SpanCocoa.mm:
(WTF::dispatch_data_apply_span):
* Source/WTF/wtf/glib/GSpanExtras.h:
(WTF::span):
* Source/WTF/wtf/text/ASCIILiteral.h:
(WTF::StringLiterals::operator_span):
* Source/WTF/wtf/text/StringCommon.h:
(WTF::span):
(WTF::span8):
(WTF::span8IncludingNullTerminator):
* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::StringImpl::createUninitializedInternalNonEmpty):
* Source/WebGPU/WebGPU/Buffer.mm:
(WebGPU::span):
* Source/WebGPU/WebGPU/ComputePassEncoder.mm:
(wgpuComputePassEncoderSetBindGroup):
* Source/WebGPU/WebGPU/Queue.mm:
(wgpuQueueSubmit):
* Source/WebGPU/WebGPU/RenderBundleEncoder.mm:
(WebGPU::makeSpanFromBuffer):
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(wgpuRenderPassEncoderExecuteBundles):
(wgpuRenderPassEncoderSetBindGroup):
* Source/WebGPU/WebGPU/WebGPU.h:
(WGPUPipelineLayoutDescriptor::bindGroupLayoutsSpan const):
(WGPURenderBundleEncoderDescriptor::colorFormatsSpan const):
(WGPUBindGroupDescriptor::entriesSpan const):
(WGPUProgrammableStageDescriptor::constantsSpan const):
(WGPUShaderModuleDescriptor::hintsSpan const):
(WGPUTextureDescriptor::viewFormatsSpan const):
(WGPUVertexBufferLayout::attributesSpan const):
(WGPUBindGroupLayoutDescriptor::entriesSpan const):
(WGPUDeviceDescriptor::requiredFeaturesSpan const):
(WGPURenderPassDescriptor::colorAttachmentsSpan const):
(WGPUVertexState::buffersSpan const):
(WGPUVertexState::constantsSpan const):
(WGPUFragmentState::targetsSpan const):
(WGPUFragmentState::constantsSpan const):
* Source/WebKit/GPUProcess/webrtc/LibWebRTCCodecsProxy.mm:
(WebKit::LibWebRTCCodecsProxy::createEncoder):
* Source/WebKit/NetworkProcess/cache/NetworkCacheDataCocoa.mm:
(WebKit::NetworkCache::Data::span const):
* Source/WebKit/Shared/API/APIData.h:
(API::Data::create):
* Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm:
(-[WKRemoteObjectEncoder encodeBytes:length:forKey:]):
* Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectInterface.mm:
(initializeMethods):
* Source/WebKit/Shared/API/c/WKArray.cpp:
(WKArrayCreate):
(WKArrayCreateAdoptingValues):
* Source/WebKit/Shared/API/c/WKData.cpp:
(WKDataCreate):
(WKDataGetSpan):
* Source/WebKit/Shared/API/c/WKDictionary.cpp:
(WKDictionaryCreate):
* Source/WebKit/Shared/API/c/WKString.cpp:
(WKStringCreateWithUTF8CStringWithLength):
(WKStringGetUTF8CStringImpl):
* Source/WebKit/Shared/EntryPointUtilities/Cocoa/Daemon/PCMDaemonEntryPoint.mm:
(WebKit::PCMDaemonMain):
* Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm:
(WebKit::compileAndCacheSandboxProfile):
* Source/WebKit/Shared/mac/WebMemorySampler.mac.mm:
(WebKit::WebMemorySampler::sampleSystemMalloc const):
* Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm:
(-[WKWebView _addTrackingRects:owner:userDataList:assumeInsideList:trackingNums:count:]):
(-[WKWebView _removeTrackingRects:count:]):
* Source/WebKit/UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp:
(WebKit::base64EncodedPNGData):
* Source/WebKit/UIProcess/WebAuthentication/Cocoa/HidConnection.mm:
(WebKit::reportReceived):
* Source/WebKit/UIProcess/mac/LegacySessionStateCoding.cpp:
(WebKit::encodeLegacySessionState):
* Source/WebKit/WebProcess/Automation/WebAutomationSessionProxy.cpp:
(WebKit::evaluateJavaScriptCallback):
* Source/WebKit/WebProcess/Extensions/Bindings/Scripts/CodeGeneratorExtensions.pm:
(_generateImplementationFile):
* Source/WebKit/WebProcess/GPU/media/RemoteAudioDestinationProxy.cpp:
(WebKit::RemoteAudioDestinationProxy::renderAudio):
* Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp:
(WebKit::decodeVideoFrame):
* Source/WebKit/WebProcess/Network/webrtc/LibWebRTCSocket.cpp:
(WebKit::LibWebRTCSocket::SendTo):
* Source/WebKit/WebProcess/Plugins/PDF/PDFIncrementalLoader.mm:
(WebKit::dataProviderGetByteRangesCallback):
(WebKit::dataProviderGetBytesAtPositionCallback):
* Source/WebKit/WebProcess/Plugins/PDF/PDFScriptEvaluation.mm:
(WebKit::PDFScriptEvaluation::pdfDocumentContainsPrintScript):
* Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp:
(WebKit::IPCTestingAPI::JSIPCConnection::sendMessage):
(WebKit::IPCTestingAPI::JSIPCConnection::sendWithAsyncReply):
(WebKit::IPCTestingAPI::JSIPCConnection::sendSyncMessage):
(WebKit::IPCTestingAPI::JSIPCConnection::waitForMessage):
(WebKit::IPCTestingAPI::JSIPCConnection::waitForAsyncReplyAndDispatchImmediately):
(WebKit::IPCTestingAPI::JSIPCStreamClientConnection::setSemaphores):
(WebKit::IPCTestingAPI::JSIPCStreamClientConnection::sendMessage):
(WebKit::IPCTestingAPI::JSIPCStreamClientConnection::sendWithAsyncReply):
(WebKit::IPCTestingAPI::JSIPCStreamClientConnection::sendSyncMessage):
(WebKit::IPCTestingAPI::JSIPCStreamClientConnection::sendIPCStreamTesterSyncCrashOnZero):
(WebKit::IPCTestingAPI::JSIPCStreamClientConnection::waitForMessage):
(WebKit::IPCTestingAPI::JSIPCStreamClientConnection::waitForAsyncReplyAndDispatchImmediately):
(WebKit::IPCTestingAPI::JSSharedMemory::readBytes):
(WebKit::IPCTestingAPI::arrayBufferSpanFromValueRef):
(WebKit::IPCTestingAPI::JSSharedMemory::writeBytes):
(WebKit::IPCTestingAPI::JSIPCStreamConnectionBuffer::readBytes):
(WebKit::IPCTestingAPI::JSIPCStreamConnectionBuffer::writeBytes):
(WebKit::IPCTestingAPI::JSIPC::addMessageListener):
(WebKit::IPCTestingAPI::JSIPC::sendMessage):
(WebKit::IPCTestingAPI::JSIPC::waitForMessage):
(WebKit::IPCTestingAPI::JSIPC::sendSyncMessage):
(WebKit::IPCTestingAPI::JSIPC::createStreamClientConnection):

Canonical link: https://commits.webkit.org/285985@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list