Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4de95e21619d9d595a106e7f608ceba22611bcd7 https://github.com/WebKit/WebKit/commit/4de95e21619d9d595a106e7f608ceba22611bcd7 Author: Adrian Taylor <adrian_tay...@apple.com> Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths: M Source/WebKit/NetworkProcess/NetworkLoadChecker.cpp M Source/WebKit/NetworkProcess/soup/WebSocketTaskSoup.cpp M Source/WebKit/NetworkProcess/storage/CacheStorageRecord.cpp M Source/WebKit/Platform/IPC/ArgumentCoders.cpp M Source/WebKit/Platform/IPC/DaemonCoders.h M Source/WebKit/Shared/API/c/WKString.cpp M Source/WebKit/Shared/Extensions/WebExtensionLocalization.cpp M Source/WebKit/Shared/Extensions/WebExtensionUtilities.cpp M Source/WebKit/Shared/win/WebEventFactory.cpp M Source/WebKit/UIProcess/API/APIContentRuleListStore.cpp M Source/WebKit/UIProcess/API/gtk/DropTargetGtk3.cpp M Source/WebKit/UIProcess/API/gtk/DropTargetGtk4.cpp M Source/WebKit/UIProcess/mac/LegacySessionStateCoding.cpp M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm M Source/WebKit/WebProcess/WebPage/WebPage.cpp M Source/WebKit/webpushd/PushClientConnection.mm M Source/WebKitLegacy/ios/Misc/WebUIKitSupport.mm M Source/WebKitLegacy/mac/Misc/WebKitNSStringExtras.mm M Source/WebKitLegacy/mac/WebCoreSupport/WebVisitedLinkStore.mm M Source/WebKitLegacy/mac/WebView/WebFrame.mm Log Message: ----------- WebKit: convert UChar to char16_t https://bugs.webkit.org/show_bug.cgi?id=294733 rdar://153823213 Reviewed by Alex Christensen. WebKit would like to switch from UChar to the C++ standard char16_t. This PR makes the change for the Source/WebKit and Source/WebKitLegacy directories. This is a simple textual substitution of \bUChar\b to char16_t. As these types are currently typedefed to be identical, no functional changes are expected. One file was excluded from this: Source/WebKitLegacy/ios/Misc/WebUIKitSupport.h because this file is included in plain [objective-C] code as well as C++ code, where char16_t does not exist (it's a C++ type). * Source/WebKit/NetworkProcess/NetworkLoadChecker.cpp: (WebKit::NetworkLoadChecker::checkTAO): * Source/WebKit/NetworkProcess/soup/WebSocketTaskSoup.cpp: (WebKit::WebSocketTask::WebSocketTask): * Source/WebKit/NetworkProcess/storage/CacheStorageRecord.cpp: (WebKit::CacheStorageRecordInformation::updateVaryHeaders): * Source/WebKit/Platform/IPC/ArgumentCoders.cpp: (IPC::ArgumentCoder<String>::decode): * Source/WebKit/Platform/IPC/DaemonCoders.h: (WebKit::Daemon::Coder<WTF::String>::decode): * Source/WebKit/Shared/API/c/WKString.cpp: (WKStringGetCharacters): * Source/WebKit/Shared/Extensions/WebExtensionLocalization.cpp: (WebKit::WebExtensionLocalization::stringByReplacingPositionalPlaceholdersInString): * Source/WebKit/Shared/Extensions/WebExtensionUtilities.cpp: (WebKit::toErrorString): * Source/WebKit/Shared/win/WebEventFactory.cpp: (WebKit::textFromEvent): (WebKit::unmodifiedTextFromEvent): * Source/WebKit/UIProcess/API/APIContentRuleListStore.cpp: (API::compiledToFile): (API::getContentRuleListSourceFromMappedFile): * Source/WebKit/UIProcess/API/gtk/DropTargetGtk3.cpp: (WebKit::DropTarget::dataReceived): * Source/WebKit/UIProcess/API/gtk/DropTargetGtk4.cpp: (WebKit::DropTarget::accept): * Source/WebKit/UIProcess/mac/LegacySessionStateCoding.cpp: (WebKit::HistoryEntryDataEncoder::operator<<): (WebKit::HistoryEntryDataDecoder::operator>>): * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm: (WebKit::UnifiedPDFPlugin::revealFragmentIfNeeded): * Source/WebKit/WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::shouldSkipDecidePolicyForResponse const): * Source/WebKit/webpushd/PushClientConnection.mm: (WebPushD::isValidPushPartition): * Source/WebKitLegacy/ios/Misc/WebUIKitSupport.mm: (WebKitGetLastLineBreakInBuffer): * Source/WebKitLegacy/mac/Misc/WebKitNSStringExtras.mm: (-[NSString _web_drawAtPoint:font:textColor:]): (-[NSString _web_widthWithFont:]): * Source/WebKitLegacy/mac/WebCoreSupport/WebVisitedLinkStore.mm: (WebVisitedLinkStore::addVisitedLink): * Source/WebKitLegacy/mac/WebView/WebFrame.mm: (-[WebFrame _smartInsertForString:replacingRange:beforeString:afterString:]): Canonical link: https://commits.webkit.org/296864@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes