Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cb33335735a96497d668430668716a1b8f694e29
https://github.com/WebKit/WebKit/commit/cb33335735a96497d668430668716a1b8f694e29
Author: Chris Dumez <[email protected]>
Date: 2024-04-26 (Fri, 26 Apr 2024)
Changed paths:
M Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
M Source/JavaScriptCore/ftl/FTLCompile.cpp
M Source/WTF/wtf/CodePtr.cpp
M Source/WTF/wtf/CodePtr.h
M Source/WTF/wtf/Dominators.h
M Source/WTF/wtf/Gigacage.h
M Source/WTF/wtf/MemoryPressureHandler.cpp
M Source/WTF/wtf/SingleRootGraph.h
M Source/WTF/wtf/StringHashDumpContext.h
M Source/WTF/wtf/SuspendableWorkQueue.cpp
M Source/WTF/wtf/SuspendableWorkQueue.h
M Source/WTF/wtf/URLParser.cpp
M Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp
M Source/WebCore/Modules/push-api/PushDatabase.h
M Source/WebCore/Modules/webauthn/cbor/CBORReader.cpp
M Source/WebCore/Modules/webauthn/cbor/CBORReader.h
M Source/WebCore/Modules/webauthn/fido/FidoConstants.cpp
M Source/WebCore/Modules/webauthn/fido/FidoConstants.h
M Source/WebCore/Modules/webdatabase/Database.cpp
M Source/WebCore/Modules/webdatabase/DatabaseTask.cpp
M Source/WebCore/Modules/webdatabase/DatabaseTask.h
M Source/WebCore/Modules/webdatabase/SQLTransaction.cpp
M Source/WebCore/Modules/webdatabase/SQLTransaction.h
M Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp
M Source/WebCore/Modules/webdatabase/SQLTransactionStateMachine.cpp
M Source/WebCore/Modules/webdatabase/SQLTransactionStateMachine.h
M Source/WebCore/Modules/websockets/WebSocket.cpp
M Source/WebCore/Modules/websockets/WebSocketExtensionParser.cpp
M Source/WebCore/bindings/js/SerializedScriptValue.cpp
M Source/WebCore/contentextensions/ContentExtensionActions.cpp
M Source/WebCore/contentextensions/ContentExtensionParser.cpp
M Source/WebCore/contentextensions/DFABytecodeInterpreter.cpp
M Source/WebCore/contentextensions/DFABytecodeInterpreter.h
M Source/WebCore/crypto/SubtleCrypto.cpp
M Source/WebCore/crypto/gcrypt/CryptoAlgorithmECDSAGCrypt.cpp
M Source/WebCore/crypto/gcrypt/CryptoAlgorithmEd25519GCrypt.cpp
M Source/WebCore/crypto/gcrypt/CryptoKeyECGCrypt.cpp
M Source/WebCore/crypto/gcrypt/CryptoKeyRSAGCrypt.cpp
M Source/WebCore/css/CSSCounterStyleRule.cpp
M Source/WebCore/css/CSSTimingFunctionValue.cpp
M Source/WebCore/css/ShorthandSerializer.cpp
M Source/WebCore/css/StyleColor.cpp
M Source/WebCore/css/typedom/numeric/CSSNumericBaseType.h
M Source/WebCore/dom/Node.cpp
M Source/WebCore/dom/Node.h
M Source/WebCore/html/FTPDirectoryDocument.cpp
M Source/WebCore/html/PermissionsPolicy.cpp
M Source/WebCore/loader/MixedContentChecker.cpp
M Source/WebCore/page/MemoryRelease.cpp
M Source/WebCore/page/PerformanceLogging.cpp
M Source/WebCore/page/PerformanceLogging.h
M Source/WebCore/page/cocoa/PerformanceLoggingCocoa.mm
M Source/WebCore/page/csp/ContentSecurityPolicy.cpp
M Source/WebCore/platform/RuntimeApplicationChecks.cpp
M Source/WebCore/platform/RuntimeApplicationChecks.h
M Source/WebCore/platform/graphics/GraphicsContextState.cpp
M
Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm
M Source/WebCore/platform/sql/SQLiteDatabase.cpp
M Source/WebCore/rendering/RenderCounter.cpp
M Source/WebCore/rendering/RenderCounter.h
M Source/WebKit/Platform/IPC/HandleMessage.h
M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm
Log Message:
-----------
Reduce use of `const char*` in the code base
https://bugs.webkit.org/show_bug.cgi?id=273277
Reviewed by Darin Adler.
Reduce use of `const char*` in the code base by leveraging ASCIILiteral.
* Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:
(JSC::MacroAssemblerCodeRef::dump const):
* Source/JavaScriptCore/ftl/FTLCompile.cpp:
(JSC::FTL::compile):
* Source/WTF/wtf/CodePtr.cpp:
(WTF::CodePtrBase::dumpWithName):
* Source/WTF/wtf/CodePtr.h:
(WTF::CodePtr::dumpWithName const):
(WTF::CodePtr::dump const):
* Source/WTF/wtf/Dominators.h:
(WTF::Dominators::Dominators):
(WTF::Dominators::ValidationContext::reportError):
* Source/WTF/wtf/Gigacage.h:
(Gigacage::name):
* Source/WTF/wtf/MemoryPressureHandler.cpp:
(WTF::toString):
(WTF::MemoryPressureHandler::setMemoryUsagePolicyBasedOnFootprint):
* Source/WTF/wtf/SingleRootGraph.h:
(WTF::SingleRootGraphNode::rootName):
(WTF::SingleRootGraphSet::dump const):
* Source/WTF/wtf/StringHashDumpContext.h:
(WTF::StringHashDumpContext::dump const):
* Source/WTF/wtf/SuspendableWorkQueue.cpp:
(WTF::SuspendableWorkQueue::stateString):
(WTF::SuspendableWorkQueue::suspend):
(WTF::SuspendableWorkQueue::resume):
* Source/WTF/wtf/SuspendableWorkQueue.h:
* Source/WTF/wtf/URLParser.cpp:
(WTF::serializeURLEncodedForm):
* Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp:
(WebCore::IDBServer::quotaErrorMessageName):
(WebCore::IDBServer::UniqueIDBDatabase::performCurrentOpenOperationAfterSpaceCheck):
(WebCore::IDBServer::UniqueIDBDatabase::createObjectStore):
(WebCore::IDBServer::UniqueIDBDatabase::renameObjectStore):
(WebCore::IDBServer::UniqueIDBDatabase::createIndex):
(WebCore::IDBServer::UniqueIDBDatabase::renameIndex):
(WebCore::IDBServer::UniqueIDBDatabase::putOrAddAfterSpaceCheck):
* Source/WebCore/Modules/push-api/PushDatabase.h:
* Source/WebCore/Modules/webauthn/cbor/CBORReader.cpp:
(cbor::CBORReader::errorCodeToString):
* Source/WebCore/Modules/webauthn/cbor/CBORReader.h:
* Source/WebCore/Modules/webauthn/fido/FidoConstants.cpp:
(fido::publicKeyCredentialTypeToString):
* Source/WebCore/Modules/webauthn/fido/FidoConstants.h:
* Source/WebCore/Modules/webdatabase/Database.cpp:
(WebCore::formatErrorMessage):
(WebCore::Database::performOpenAndVerify):
(WebCore::Database::incrementalVacuumIfNeeded):
* Source/WebCore/Modules/webdatabase/DatabaseTask.cpp:
(WebCore::DatabaseTask::performTask):
(WebCore::DatabaseOpenTask::debugTaskName const):
(WebCore::DatabaseCloseTask::debugTaskName const):
(WebCore::DatabaseTransactionTask::debugTaskName const):
(WebCore::DatabaseTableNamesTask::debugTaskName const):
* Source/WebCore/Modules/webdatabase/DatabaseTask.h:
* Source/WebCore/Modules/webdatabase/SQLTransaction.cpp:
(WebCore::SQLTransaction::performPendingCallback):
(WebCore::SQLTransaction::requestTransitToState):
(WebCore::SQLTransaction::scheduleCallback):
(WebCore::SQLTransaction::computeNextStateAndCleanupIfNeeded):
(WebCore::SQLTransaction::debugStepName):
* Source/WebCore/Modules/webdatabase/SQLTransaction.h:
* Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp:
(WebCore::SQLTransactionBackend::computeNextStateAndCleanupIfNeeded):
(WebCore::SQLTransactionBackend::requestTransitToState):
* Source/WebCore/Modules/webdatabase/SQLTransactionStateMachine.cpp:
(WebCore::nameForSQLTransactionState):
* Source/WebCore/Modules/webdatabase/SQLTransactionStateMachine.h:
* Source/WebCore/Modules/websockets/WebSocket.cpp:
(WebCore::joinStrings):
* Source/WebCore/Modules/websockets/WebSocketExtensionParser.cpp:
(WebCore::isSeparator):
* Source/WebCore/bindings/js/SerializedScriptValue.cpp:
(WebCore::name):
(WTF::printInternal):
* Source/WebCore/contentextensions/ContentExtensionActions.cpp:
(WebCore::ContentExtensions::makeJSString):
(WebCore::ContentExtensions::RedirectAction::RegexSubstitutionAction::applyToURL
const):
* Source/WebCore/contentextensions/ContentExtensionParser.cpp:
(WebCore::ContentExtensions::getDomainList):
* Source/WebCore/contentextensions/DFABytecodeInterpreter.cpp:
(WebCore::ContentExtensions::DFABytecodeInterpreter::interpret):
* Source/WebCore/crypto/SubtleCrypto.cpp:
(WebCore::normalizeCryptoAlgorithmParameters):
* Source/WebCore/crypto/gcrypt/CryptoAlgorithmECDSAGCrypt.cpp:
(WebCore::extractECDSASignatureInteger):
(WebCore::gcryptSign):
* Source/WebCore/crypto/gcrypt/CryptoAlgorithmEd25519GCrypt.cpp:
(WebCore::extractEDDSASignatureInteger):
(WebCore::signEd25519):
* Source/WebCore/crypto/gcrypt/CryptoKeyECGCrypt.cpp:
(WebCore::curveName):
(WebCore::CryptoKeyEC::platformGeneratePair):
* Source/WebCore/crypto/gcrypt/CryptoKeyRSAGCrypt.cpp:
(WebCore::getRSAKeyParameter):
(WebCore::CryptoKeyRSA::algorithm const):
(WebCore::CryptoKeyRSA::exportData const):
* Source/WebCore/css/CSSCounterStyleRule.cpp:
(WebCore::CSSCounterStyleRule::cssText const):
* Source/WebCore/css/CSSTimingFunctionValue.cpp:
(WebCore::CSSStepsTimingFunctionValue::customCSSText const):
* Source/WebCore/css/ShorthandSerializer.cpp:
(WebCore::ShorthandSerializer::serialize):
(WebCore::ShorthandSerializer::serializeLonghands const):
(WebCore::ShorthandSerializer::serializeLonghandsOmittingTrailingInitialValue
const):
(WebCore::ShorthandSerializer::serializeGridArea const):
(WebCore::ShorthandSerializer::serializeGridRowColumn const):
(WebCore::ShorthandSerializer::serializeGridTemplate const):
* Source/WebCore/css/StyleColor.cpp:
(WebCore::StyleColor::colorFromAbsoluteKeyword):
* Source/WebCore/css/typedom/numeric/CSSNumericBaseType.h:
(WebCore::debugString):
* Source/WebCore/dom/Node.cpp:
(WebCore::stringForRareDataUseType):
(WebCore::Node::dumpStatistics):
(WebCore::appendAttributeDesc):
(WebCore::Node::showNode const):
* Source/WebCore/dom/Node.h:
* Source/WebCore/html/FTPDirectoryDocument.cpp:
(WebCore::processFileDateString):
* Source/WebCore/html/PermissionsPolicy.cpp:
(WebCore::policyTypeName):
* Source/WebCore/loader/MixedContentChecker.cpp:
(WebCore::logConsoleWarning):
(WebCore::logConsoleWarningForUpgrade):
* Source/WebCore/page/PerformanceLogging.cpp:
(WebCore::toString):
(WebCore::PerformanceLogging::memoryUsageStatistics):
(WebCore::PerformanceLogging::didReachPointOfInterest):
(WebCore::PerformanceLogging::getPlatformMemoryUsageStatistics):
* Source/WebCore/page/PerformanceLogging.h:
* Source/WebCore/page/cocoa/PerformanceLoggingCocoa.mm:
(WebCore::PerformanceLogging::getPlatformMemoryUsageStatistics):
* Source/WebCore/page/csp/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::reportInvalidPathCharacter const):
* Source/WebCore/platform/RuntimeApplicationChecks.cpp:
(WebCore::processTypeDescription):
* Source/WebCore/platform/RuntimeApplicationChecks.h:
* Source/WebCore/platform/graphics/GraphicsContextState.cpp:
(WebCore::stateChangeName):
*
Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm:
(WebCore::isEqual):
(WebCore::CDMSessionAVContentKeySession::update):
* Source/WebCore/platform/sql/SQLiteDatabase.cpp:
(WebCore::SQLiteDatabase::overrideUnauthorizedFunctions):
* Source/WebCore/rendering/RenderCounter.cpp:
(showCounterRendererTree):
* Source/WebCore/rendering/RenderCounter.h:
(showCounterRendererTree):
* Source/WebKit/Platform/IPC/HandleMessage.h:
(IPC::textStreamForLogging):
Canonical link: https://commits.webkit.org/278045@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes