Changeset 287848 in webkit
- Timestamp:
- Jan 10, 2022, 11:16:17 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 69 edited
-
ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/JavaScriptCore/Configurations/JavaScriptCore.xcconfig (modified) (1 diff)
-
Source/JavaScriptCore/DerivedSources.make (modified) (1 diff)
-
Source/JavaScriptCore/heap/Heap.cpp (modified) (3 diffs)
-
Source/JavaScriptCore/runtime/CachedTypes.cpp (modified) (1 diff)
-
Source/JavaScriptCore/runtime/LiteralParser.h (modified) (1 diff)
-
Source/JavaScriptCore/shell/PlatformPlayStation.cmake (modified) (1 diff)
-
Source/ThirdParty/ANGLE/ChangeLog (modified) (1 diff)
-
Source/ThirdParty/ANGLE/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/ThirdParty/ChangeLog (modified) (1 diff)
-
Source/ThirdParty/gtest/xcode/Config/General.xcconfig (modified) (1 diff)
-
Source/ThirdParty/libwebrtc/ChangeLog (modified) (1 diff)
-
Source/ThirdParty/libwebrtc/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/system/no_unique_address.h (modified) (1 diff)
-
Source/WTF/ChangeLog (modified) (1 diff)
-
Source/WTF/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WTF/wtf/DisallowCType.h (modified) (1 diff)
-
Source/WTF/wtf/FileSystem.cpp (modified) (3 diffs)
-
Source/WTF/wtf/PlatformHave.h (modified) (1 diff)
-
Source/WTF/wtf/VectorTraits.h (modified) (1 diff)
-
Source/WTF/wtf/text/StringOperators.h (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WebCore/DerivedSources.make (modified) (1 diff)
-
Source/WebCore/PAL/ChangeLog (modified) (1 diff)
-
Source/WebCore/PAL/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WebCore/PAL/pal/cf/CoreTextSoftLink.cpp (modified) (1 diff)
-
Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h (modified) (1 diff)
-
Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h (modified) (1 diff)
-
Source/WebCore/PAL/pal/spi/mac/QuickLookMacSPI.h (modified) (1 diff)
-
Source/WebCore/platform/graphics/cocoa/IOSurface.mm (modified) (1 diff)
-
Source/WebCore/platform/ios/wak/WebCoreThread.mm (modified) (2 diffs)
-
Source/WebGPU/ChangeLog (modified) (1 diff)
-
Source/WebGPU/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WebInspectorUI/ChangeLog (modified) (1 diff)
-
Source/WebInspectorUI/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/Configurations/Base.xcconfig (modified) (2 diffs)
-
Source/WebKit/Platform/spi/mac/AppKitSPI.h (modified) (1 diff)
-
Source/WebKit/Platform/spi/mac/ApplicationServicesSPI.h (modified) (1 diff)
-
Source/WebKit/PlatformMac.cmake (modified) (1 diff)
-
Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm (modified) (1 diff)
-
Source/WebKit/WebProcess/Plugins/PDF/PDFLayerControllerSPI.h (modified) (1 diff)
-
Source/WebKitLegacy/ChangeLog (modified) (1 diff)
-
Source/WebKitLegacy/PlatformMac.cmake (modified) (1 diff)
-
Source/WebKitLegacy/mac/ChangeLog (modified) (1 diff)
-
Source/WebKitLegacy/mac/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig (modified) (1 diff)
-
Source/WebKitLegacy/mac/MigrateHeaders.make (modified) (1 diff)
-
Source/WebKitLegacy/mac/WebView/WebFrameInternal.h (modified) (1 diff)
-
Source/bmalloc/ChangeLog (modified) (1 diff)
-
Source/bmalloc/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/cmake/OptionsCommon.cmake (modified) (1 diff)
-
Source/cmake/OptionsPlayStation.cmake (modified) (1 diff)
-
Source/cmake/WebKitCompilerFlags.cmake (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/DumpRenderTree/DerivedSources.make (modified) (1 diff)
-
Tools/DumpRenderTree/mac/Configurations/Base.xcconfig (modified) (1 diff)
-
Tools/MiniBrowser/Configurations/Base.xcconfig (modified) (1 diff)
-
Tools/MobileMiniBrowser/Configurations/Base.xcconfig (modified) (1 diff)
-
Tools/TestWebKitAPI/Configurations/Base.xcconfig (modified) (1 diff)
-
Tools/TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h (modified) (1 diff)
-
Tools/TestWebKitAPI/Tests/WTF/Expected.cpp (modified) (1 diff)
-
Tools/TestWebKitAPI/Tests/WTF/URLParser.cpp (modified) (1 diff)
-
Tools/WebKitTestRunner/Configurations/Base.xcconfig (modified) (1 diff)
-
Tools/WebKitTestRunner/DerivedSources.make (modified) (1 diff)
-
Tools/lldb/lldbWebKitTester/Configurations/Base.xcconfig (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r287829 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Source/cmake/OptionsCommon.cmake: 9 * Source/cmake/WebKitCompilerFlags.cmake: 10 1 11 2022-01-09 Sam Weinig <weinig@apple.com> 2 12 -
trunk/Source/JavaScriptCore/ChangeLog
r287837 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Configurations/Base.xcconfig: 9 * Configurations/JavaScriptCore.xcconfig: 10 * DerivedSources.make: 11 * heap/Heap.cpp: 12 (JSC::Heap::addCoreConstraints): 13 * runtime/CachedTypes.cpp: 14 * runtime/LiteralParser.h: 15 * shell/PlatformPlayStation.cmake: 16 1 17 2022-01-10 Elliott Williams <emw@apple.com> 2 18 -
trunk/Source/JavaScriptCore/Configurations/Base.xcconfig
r287770 r287848 34 34 ALWAYS_SEARCH_USER_PATHS = NO; 35 35 36 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;36 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 37 37 CLANG_CXX_LIBRARY = libc++; 38 38 CLANG_ENABLE_OBJC_WEAK = YES; -
trunk/Source/JavaScriptCore/Configurations/JavaScriptCore.xcconfig
r287770 r287848 28 28 29 29 // Prevent C++ standard library operator new, delete and their related exception types from being exported as weak symbols. 30 OTHER_LDFLAGS_HIDE_SYMBOLS = -Wl,-unexported_symbol,__ZTISt9bad_alloc -Wl,-unexported_symbol,__ZTISt9exception -Wl,-unexported_symbol,__ZTSSt9bad_alloc -Wl,-unexported_symbol,__ZTSSt9exception -Wl,-unexported_symbol,__ZdlPvS_ -Wl,-unexported_symbol,__ZnwmPv -Wl,-unexported_symbol,__ZNKSt3__18functionIFvvEEclEv -Wl,-unexported_symbol,__ZNSt3__18functionIFvvEEC1EOS2_ -Wl,-unexported_symbol,__ZNSt3__18functionIFvvEEC2EOS2_ -Wl,-unexported_symbol,__ZNKSt3__18functionIFvRN3JSC17BytecodeGeneratorEPNS1_10RegisterIDEEEclES3_S5_ -Wl,-unexported_symbol,__ZNSt3__18functionIFvRN3JSC17BytecodeGeneratorEPNS1_10RegisterIDEEED1Ev -Wl,-unexported_symbol,__ZNSt3__18functionIFvRN3JSC17BytecodeGeneratorEPNS1_10RegisterIDEEED2Ev -Wl,-unexported_symbol,__ZNSt3__18functionIFvvEED1Ev -Wl,-unexported_symbol,__ZNSt3__18functionIFvvEED2Ev -Wl,-unexported_symbol,__ZTVNSt3__117bad_function_callE -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__is_pathable_char_arrayIPKcS4_cLb1EE11__range_endES4_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__is_pathable_char_arrayIPKcS4_cLb1EE13__range_beginES4_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem8_PathCVTIcE14__append_rangeIPKcEENS_9enable_ifIXsr27__is_cpp17_forward_iteratorIT_EE5valueEvE4typeERNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES8_S8_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem8_PathCVTIcE15__append_sourceIPKcEEvRNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKT_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem8_PathCVTIcE14__append_rangeIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeERNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES8_S8_ -Wl,-unexported_symbol,__ZNKSt3__14__fs10filesystem18directory_iteratordeEv -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem18directory_iteratorppEv -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__is_pathable_char_arrayIA10_cPccLb1EE11__range_endEPKc -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__is_pathable_char_arrayIA10_cPccLb1EE13__range_beginEPKc -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem4pathdVERKS2_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem8_PathCVTIcE15__append_sourceIA10_cEEvRNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKT_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__throw_filesystem_errorIJRPKcRKNS1_4pathERKNS_10error_codeEEEEvDpOT_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem14__is_separatorIcEENS_9enable_ifIXsr18__can_convert_charIT_EE5valueEbE4typeES4_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__is_pathable_char_arrayIPKcS4_cLb1EE15__first_or_nullES4_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem4path20__source_is_absoluteIcEEbT_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem4path6appendIPKcEENS_9enable_ifIXsr13__is_pathableIT_EE5valueERS2_E4typeERKS7_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem6u8pathIPKcEENS_9enable_ifIXsr13__is_pathableIT_EE5valueENS1_4pathEE4typeERKS6_ -Wl,-unexported_symbol,__ZNKSt3__14__fs10filesystem18directory_iteratorptEv -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem18directory_iterator9incrementERNS_10error_codeE ;30 OTHER_LDFLAGS_HIDE_SYMBOLS = -Wl,-unexported_symbol,__ZTISt9bad_alloc -Wl,-unexported_symbol,__ZTISt9exception -Wl,-unexported_symbol,__ZTSSt9bad_alloc -Wl,-unexported_symbol,__ZTSSt9exception -Wl,-unexported_symbol,__ZdlPvS_ -Wl,-unexported_symbol,__ZnwmPv -Wl,-unexported_symbol,__ZNKSt3__18functionIFvvEEclEv -Wl,-unexported_symbol,__ZNSt3__18functionIFvvEEC1EOS2_ -Wl,-unexported_symbol,__ZNSt3__18functionIFvvEEC2EOS2_ -Wl,-unexported_symbol,__ZNKSt3__18functionIFvRN3JSC17BytecodeGeneratorEPNS1_10RegisterIDEEEclES3_S5_ -Wl,-unexported_symbol,__ZNSt3__18functionIFvRN3JSC17BytecodeGeneratorEPNS1_10RegisterIDEEED1Ev -Wl,-unexported_symbol,__ZNSt3__18functionIFvRN3JSC17BytecodeGeneratorEPNS1_10RegisterIDEEED2Ev -Wl,-unexported_symbol,__ZNSt3__18functionIFvvEED1Ev -Wl,-unexported_symbol,__ZNSt3__18functionIFvvEED2Ev -Wl,-unexported_symbol,__ZTVNSt3__117bad_function_callE -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__is_pathable_char_arrayIPKcS4_cLb1EE11__range_endES4_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__is_pathable_char_arrayIPKcS4_cLb1EE13__range_beginES4_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem8_PathCVTIcE14__append_rangeIPKcEENS_9enable_ifIXsr27__is_cpp17_forward_iteratorIT_EE5valueEvE4typeERNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES8_S8_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem8_PathCVTIcE15__append_sourceIPKcEEvRNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKT_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem8_PathCVTIcE14__append_rangeIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeERNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES8_S8_ -Wl,-unexported_symbol,__ZNKSt3__14__fs10filesystem18directory_iteratordeEv -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem18directory_iteratorppEv -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__is_pathable_char_arrayIA10_cPccLb1EE11__range_endEPKc -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__is_pathable_char_arrayIA10_cPccLb1EE13__range_beginEPKc -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem4pathdVERKS2_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem8_PathCVTIcE15__append_sourceIA10_cEEvRNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKT_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__throw_filesystem_errorIJRPKcRKNS1_4pathERKNS_10error_codeEEEEvDpOT_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem14__is_separatorIcEENS_9enable_ifIXsr18__can_convert_charIT_EE5valueEbE4typeES4_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem24__is_pathable_char_arrayIPKcS4_cLb1EE15__first_or_nullES4_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem4path20__source_is_absoluteIcEEbT_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem4path6appendIPKcEENS_9enable_ifIXsr13__is_pathableIT_EE5valueERS2_E4typeERKS7_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem6u8pathIPKcEENS_9enable_ifIXsr13__is_pathableIT_EE5valueENS1_4pathEE4typeERKS6_ -Wl,-unexported_symbol,__ZNKSt3__14__fs10filesystem18directory_iteratorptEv -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem18directory_iterator9incrementERNS_10error_codeE -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem20__is_pathable_stringINS_12basic_stringIDuNS_11char_traitsIDuEENS_9allocatorIDuEEEEvE11__range_endERKS8_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem20__is_pathable_stringINS_12basic_stringIDuNS_11char_traitsIDuEENS_9allocatorIDuEEEEvE13__range_beginERKS8_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem8_PathCVTIDuE14__append_rangeERNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPKDuSC_ -Wl,-unexported_symbol,__ZNSt3__14__fs10filesystem8_PathCVTIDuE15__append_sourceINS_12basic_stringIDuNS_11char_traitsIDuEENS_9allocatorIDuEEEEEEvRNS5_IcNS6_IcEENS8_IcEEEERKT_; 31 31 32 32 OTHER_LDFLAGS_BASE = $(OTHER_LDFLAGS_HIDE_SYMBOLS) -force_load "$(BUILT_PRODUCTS_DIR)/DerivedSources/JavaScriptCore/libWTF.a"; -
trunk/Source/JavaScriptCore/DerivedSources.make
r287770 r287848 45 45 HEADER_FLAGS := $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) $(SYSTEM_HEADER_SEARCH_PATHS) | $(PERL) -e 'print "-I" . join(" -I", split(" ", <>));') 46 46 47 platform_h_compiler_command = $(CC) -std=gnu++ 1z-x c++ $(1) $(SDK_FLAGS) $(TARGET_TRIPLE_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null47 platform_h_compiler_command = $(CC) -std=gnu++2a -x c++ $(1) $(SDK_FLAGS) $(TARGET_TRIPLE_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null 48 48 49 49 FEATURE_AND_PLATFORM_DEFINES := $(shell $(call platform_h_compiler_command,-E -P -dM) | $(PERL) -ne "print if s/\#define ((HAVE_|USE_|ENABLE_|WTF_PLATFORM_)\w+) 1/\1/") -
trunk/Source/JavaScriptCore/heap/Heap.cpp
r287770 r287848 2914 2914 "O", "Output", 2915 2915 MAKE_MARKING_CONSTRAINT_EXECUTOR_PAIR(([] (auto& visitor) { 2916 using Visitor = decltype(visitor);2917 2916 Heap* heap = visitor.heap(); 2918 2917 … … 2920 2919 // gets confused and thinks we're trying to capture the outer visitor 2921 2920 // arg here. Giving it a unique name works around this issue. 2922 auto callOutputConstraint = [] ( Visitor& visitor2, HeapCell* heapCell, HeapCell::Kind) {2921 auto callOutputConstraint = [] (auto& visitor2, HeapCell* heapCell, HeapCell::Kind) { 2923 2922 SetRootMarkReasonScope rootScope(visitor2, RootMarkReason::Output); 2924 2923 VM& vm = visitor2.vm(); … … 2928 2927 2929 2928 auto add = [&] (auto& set) { 2930 RefPtr<SharedTask<void( Visitor&)>> task = set.template forEachMarkedCellInParallel<Visitor>(callOutputConstraint);2929 RefPtr<SharedTask<void(decltype(visitor)&)>> task = set.template forEachMarkedCellInParallel<decltype(visitor)>(callOutputConstraint); 2931 2930 visitor.addParallelConstraintTask(task); 2932 2931 }; -
trunk/Source/JavaScriptCore/runtime/CachedTypes.cpp
r287770 r287848 396 396 template<typename Source> 397 397 class CachedObject { 398 WTF_MAKE_NONCOPYABLE(CachedObject <Source>);398 WTF_MAKE_NONCOPYABLE(CachedObject); 399 399 400 400 public: -
trunk/Source/JavaScriptCore/runtime/LiteralParser.h
r287770 r287848 69 69 struct LiteralParserToken { 70 70 private: 71 WTF_MAKE_NONCOPYABLE(LiteralParserToken <CharType>);71 WTF_MAKE_NONCOPYABLE(LiteralParserToken); 72 72 73 73 public: -
trunk/Source/JavaScriptCore/shell/PlatformPlayStation.cmake
r287770 r287848 32 32 ../API/tests/CustomGlobalObjectClassTest.c 33 33 ../API/tests/testapi.c 34 PROPERTIES COMPILE_FLAGS --std=gnu 1734 PROPERTIES COMPILE_FLAGS --std=gnu2a 35 35 ) 36 36 endif () -
trunk/Source/ThirdParty/ANGLE/ChangeLog
r287829 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Configurations/Base.xcconfig: 9 1 10 2022-01-09 Sam Weinig <weinig@apple.com> 2 11 -
trunk/Source/ThirdParty/ANGLE/Configurations/Base.xcconfig
r287770 r287848 14 14 15 15 CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 16 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;16 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 17 17 CLANG_CXX_LIBRARY = libc++; 18 18 CLANG_ENABLE_OBJC_ARC = NO; -
trunk/Source/ThirdParty/ChangeLog
r287770 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * gtest/xcode/Config/General.xcconfig: 9 1 10 2022-01-07 Alex Christensen <achristensen@webkit.org> 2 11 -
trunk/Source/ThirdParty/gtest/xcode/Config/General.xcconfig
r287770 r287848 53 53 54 54 // Force C++14 55 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;55 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 56 56 57 57 // not sure why apple defaults this on, but it's pretty risky -
trunk/Source/ThirdParty/libwebrtc/ChangeLog
r287770 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Configurations/Base.xcconfig: 9 * Source/webrtc/rtc_base/system/no_unique_address.h: 10 1 11 2022-01-07 Alex Christensen <achristensen@webkit.org> 2 12 -
trunk/Source/ThirdParty/libwebrtc/Configurations/Base.xcconfig
r287770 r287848 36 36 ALWAYS_SEARCH_USER_PATHS = NO; 37 37 38 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;38 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 39 39 CLANG_CXX_LIBRARY = libc++; 40 40 CLANG_ENABLE_OBJC_ARC = YES; -
trunk/Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/system/no_unique_address.h
r287770 r287848 25 25 // clang-cl doesn't support it yet and support is unclear also when the target 26 26 // platform is iOS. 27 #if ((defined(__clang__) && !defined(_MSC_VER) && !defined(WEBRTC_MAC)) || \ 28 __cplusplus > 201703L) 27 #if defined(__has_cpp_attribute) && __has_cpp_attribute(no_unique_address) 29 28 // NOLINTNEXTLINE(whitespace/braces) 30 29 #define RTC_NO_UNIQUE_ADDRESS [[no_unique_address]] -
trunk/Source/WTF/ChangeLog
r287831 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Configurations/Base.xcconfig: 9 * wtf/DisallowCType.h: 10 * wtf/FileSystem.cpp: 11 (WTF::FileSystemImpl::toStdFileSystemPath): 12 (WTF::FileSystemImpl::fromStdFileSystemPath): 13 * wtf/PlatformHave.h: 14 * wtf/VectorTraits.h: 15 * wtf/text/StringOperators.h: 16 1 17 2022-01-10 Youenn Fablet <youenn@apple.com> 2 18 -
trunk/Source/WTF/Configurations/Base.xcconfig
r287770 r287848 34 34 ALWAYS_SEARCH_USER_PATHS = NO; 35 35 36 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;36 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 37 37 CLANG_CXX_LIBRARY = libc++; 38 38 CLANG_ENABLE_OBJC_ARC = YES; -
trunk/Source/WTF/wtf/DisallowCType.h
r287770 r287848 41 41 // are used from wx headers. On GTK+ for Mac many GTK+ files include <libintl.h> 42 42 // or <glib/gi18n-lib.h>, which in turn include <xlocale/_ctype.h> which uses 43 // isacii(). 44 #if ! (OS(DARWIN) && PLATFORM(GTK)) && !defined(_LIBCPP_VERSION) && defined(__GLIBC__)43 // isacii(). Additionally, regex.h uses tolower on Linux. 44 #if !PLATFORM(GTK) && !PLATFORM(WPE) && !defined(_LIBCPP_VERSION) && defined(__GLIBC__) 45 45 46 46 #include <ctype.h> -
trunk/Source/WTF/wtf/FileSystem.cpp
r287770 r287848 49 49 #endif 50 50 51 namespace WTF { 52 53 namespace FileSystemImpl { 51 namespace WTF::FileSystemImpl { 54 52 55 53 #if HAVE(STD_FILESYSTEM) || HAVE(STD_EXPERIMENTAL_FILESYSTEM) … … 57 55 static std::filesystem::path toStdFileSystemPath(StringView path) 58 56 { 57 #if HAVE(MISSING_STD_FILESYSTEM_PATH_CONSTRUCTOR) 58 ALLOW_DEPRECATED_DECLARATIONS_BEGIN 59 59 return std::filesystem::u8path(path.utf8().data()); 60 ALLOW_DEPRECATED_DECLARATIONS_END 61 #else 62 return { std::u8string(reinterpret_cast<const char8_t*>(path.utf8().data())) }; 63 #endif 60 64 } 61 65 62 66 static String fromStdFileSystemPath(const std::filesystem::path& path) 63 67 { 64 return String::fromUTF8( path.u8string().c_str());68 return String::fromUTF8(reinterpret_cast<const LChar*>(path.u8string().c_str())); 65 69 } 66 70 … … 830 834 #endif // HAVE(STD_FILESYSTEM) || HAVE(STD_EXPERIMENTAL_FILESYSTEM) 831 835 832 } // namespace FileSystemImpl 833 } // namespace WTF 836 } // namespace WTF::FileSystemImpl -
trunk/Source/WTF/wtf/PlatformHave.h
r287770 r287848 114 114 #endif 115 115 116 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 120000 117 #define HAVE_MISSING_STD_FILESYSTEM_PATH_CONSTRUCTOR 1 118 #define HAVE_CPP20_INCOMPATIBLE_INTERNAL_HEADERS 1 119 #elif PLATFORM(PLAYSTATION) 120 #define HAVE_MISSING_STD_FILESYSTEM_PATH_CONSTRUCTOR 1 121 #elif COMPILER(GCC) 122 #if !GCC_VERSION_AT_LEAST(9, 0, 0) 123 #define HAVE_MISSING_STD_FILESYSTEM_PATH_CONSTRUCTOR 1 124 #endif 125 #endif 126 116 127 /* FIXME: Remove after CMake build enabled on Darwin */ 117 128 #if OS(DARWIN) -
trunk/Source/WTF/wtf/VectorTraits.h
r287770 r287848 57 57 58 58 template<typename T> 59 struct VectorTraits : VectorTraitsBase<std::is_ pod<T>::value, T> { };59 struct VectorTraits : VectorTraitsBase<std::is_standard_layout_v<T> && std::is_trivial_v<T>, T> { }; 60 60 61 61 struct SimpleClassVectorTraits : VectorTraitsBase<false, void> -
trunk/Source/WTF/wtf/text/StringOperators.h
r287770 r287848 86 86 class StringTypeAdapter<StringAppend<StringType1, StringType2>> { 87 87 public: 88 StringTypeAdapter <StringAppend<StringType1, StringType2>>(StringAppend<StringType1, StringType2>& buffer)88 StringTypeAdapter(StringAppend<StringType1, StringType2>& buffer) 89 89 : m_buffer { buffer } 90 90 { -
trunk/Source/WebCore/ChangeLog
r287847 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Configurations/Base.xcconfig: 9 * DerivedSources.make: 10 * platform/graphics/cocoa/IOSurface.mm: 11 (WebCore::IOSurface::ensurePlatformContext): 12 * platform/ios/wak/WebCoreThread.mm: 13 1 14 2022-01-10 Cathie Chen <cathiechen@igalia.com> 2 15 -
trunk/Source/WebCore/Configurations/Base.xcconfig
r287770 r287848 34 34 ALWAYS_SEARCH_USER_PATHS = NO; 35 35 36 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;36 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 37 37 CLANG_CXX_LIBRARY = libc++; 38 38 CLANG_ENABLE_OBJC_WEAK = YES; -
trunk/Source/WebCore/DerivedSources.make
r287770 r287848 47 47 HEADER_FLAGS := $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) $(SYSTEM_HEADER_SEARCH_PATHS) | $(PERL) -e 'print "-I" . join(" -I", split(" ", <>));') 48 48 49 platform_h_compiler_command = $(CC) -std=gnu++ 1z-x c++ $(1) $(SDK_FLAGS) $(TARGET_TRIPLE_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null49 platform_h_compiler_command = $(CC) -std=gnu++2a -x c++ $(1) $(SDK_FLAGS) $(TARGET_TRIPLE_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null 50 50 51 51 FEATURE_AND_PLATFORM_DEFINES := $(shell $(call platform_h_compiler_command,-E -P -dM) | $(PERL) -ne "print if s/\#define ((HAVE_|USE_|ENABLE_|WTF_PLATFORM_)\w+) 1/\1/") -
trunk/Source/WebCore/PAL/ChangeLog
r287829 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Configurations/Base.xcconfig: 9 1 10 2022-01-09 Sam Weinig <weinig@apple.com> 2 11 -
trunk/Source/WebCore/PAL/Configurations/Base.xcconfig
r287770 r287848 34 34 ALWAYS_SEARCH_USER_PATHS = NO; 35 35 36 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;36 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 37 37 CLANG_CXX_LIBRARY = libc++; 38 38 CLANG_ENABLE_OBJC_WEAK = YES; -
trunk/Source/WebCore/PAL/pal/cf/CoreTextSoftLink.cpp
r273121 r287848 25 25 #include "config.h" 26 26 27 #if HAVE(CPP20_INCOMPATIBLE_INTERNAL_HEADERS) 28 #define CGCOLORTAGGEDPOINTER_H_ 29 #endif 30 27 31 #include <pal/spi/cf/CoreTextSPI.h> 28 32 #include <wtf/SoftLinking.h> -
trunk/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h
r287310 r287848 39 39 #if USE(APPLE_INTERNAL_SDK) 40 40 41 #if HAVE(CPP20_INCOMPATIBLE_INTERNAL_HEADERS) 42 #define CGCOLORTAGGEDPOINTER_H_ 43 #ifndef GL_GLES_PROTOTYPES 44 #define GL_GLES_PROTOTYPES 0 45 #endif 46 #include <ANGLE/entry_points_gles_ext_autogen.h> 47 #endif 48 41 49 #include <CoreGraphics/CGContextDelegatePrivate.h> 42 50 #include <CoreGraphics/CGFontCache.h> -
trunk/Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h
r264928 r287848 29 29 30 30 #if USE(APPLE_INTERNAL_SDK) 31 32 #if HAVE(CPP20_INCOMPATIBLE_INTERNAL_HEADERS) 33 #define CGCOLORTAGGEDPOINTER_H_ 34 #endif 31 35 32 36 #import <AppKit/NSWindow_Private.h> -
trunk/Source/WebCore/PAL/pal/spi/mac/QuickLookMacSPI.h
r279290 r287848 27 27 28 28 #if USE(APPLE_INTERNAL_SDK) 29 30 #if HAVE(CPP20_INCOMPATIBLE_INTERNAL_HEADERS) 31 #define CGCOLORTAGGEDPOINTER_H_ 32 #endif 29 33 30 34 #import <Quartz/QuartzPrivate.h> -
trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm
r287770 r287848 316 316 bitsPerComponent = 16; 317 317 bitsPerPixel = 64; 318 bitmapInfo = kCGImageAlphaPremultipliedLast | kCGBitmapByteOrder16Host | kCGBitmapFloatComponents;318 bitmapInfo = static_cast<CGBitmapInfo>(kCGImageAlphaPremultipliedLast) | static_cast<CGBitmapInfo>(kCGBitmapByteOrder16Host) | static_cast<CGBitmapInfo>(kCGBitmapFloatComponents); 319 319 break; 320 320 #endif -
trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm
r287770 r287848 245 245 class WebThreadDelegateMessageScope { 246 246 public: 247 IGNORE_CLANG_WARNINGS_BEGIN("deprecated-volatile") 247 248 WebThreadDelegateMessageScope() { ++webThreadDelegateMessageScopeCount; } 248 249 ~WebThreadDelegateMessageScope() … … 251 252 --webThreadDelegateMessageScopeCount; 252 253 } 254 IGNORE_CLANG_WARNINGS_END 253 255 }; 254 256 -
trunk/Source/WebGPU/ChangeLog
r287770 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Configurations/Base.xcconfig: 9 1 10 2022-01-07 Alex Christensen <achristensen@webkit.org> 2 11 -
trunk/Source/WebGPU/Configurations/Base.xcconfig
r287770 r287848 34 34 ALWAYS_SEARCH_USER_PATHS = NO; 35 35 36 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;36 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 37 37 CLANG_CXX_LIBRARY = libc++; 38 38 CLANG_ENABLE_OBJC_ARC = YES; -
trunk/Source/WebInspectorUI/ChangeLog
r287787 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Configurations/Base.xcconfig: 9 1 10 2022-01-07 Alexey Shvayka <ashvayka@apple.com> 2 11 -
trunk/Source/WebInspectorUI/Configurations/Base.xcconfig
r287770 r287848 17 17 FRAMEWORK_SEARCH_PATHS = $(WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR) $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks $(inherited); 18 18 19 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;19 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 20 20 CLANG_CXX_LIBRARY = libc++; 21 21 CLANG_ENABLE_OBJC_WEAK = YES; -
trunk/Source/WebKit/ChangeLog
r287844 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Configurations/Base.xcconfig: 9 * PlatformMac.cmake: 10 * UIProcess/API/Cocoa/WKWebViewConfiguration.mm: 11 (-[WKWebViewConfiguration _setInlineMediaPlaybackRequiresPlaysInlineAttribute:]): 12 1 13 2022-01-10 Per Arne Vollan <pvollan@apple.com> 2 14 -
trunk/Source/WebKit/Configurations/Base.xcconfig
r287770 r287848 32 32 ALWAYS_SEARCH_USER_PATHS = NO; 33 33 34 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;34 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 35 35 CLANG_CXX_LIBRARY = libc++; 36 36 CLANG_ENABLE_OBJC_WEAK = YES; … … 131 131 132 132 OTHER_TAPI_FLAGS = $(OTHER_TAPI_FLAGS_$(WK_COCOA_TOUCH)); 133 OTHER_TAPI_FLAGS_cocoatouch = -x objective-c++ -std=gnu++ 1z-fno-rtti -DRELEASE_WITHOUT_OPTIMIZATIONS;133 OTHER_TAPI_FLAGS_cocoatouch = -x objective-c++ -std=gnu++2a -fno-rtti -DRELEASE_WITHOUT_OPTIMIZATIONS; 134 134 TAPI_VERIFY_MODE[sdk=iphone*] = Pedantic; 135 135 -
trunk/Source/WebKit/Platform/spi/mac/AppKitSPI.h
r283431 r287848 27 27 28 28 #if USE(APPLE_INTERNAL_SDK) 29 30 #define CGCOLORTAGGEDPOINTER_H_ 31 32 #if HAVE(CPP20_INCOMPATIBLE_INTERNAL_HEADERS) 33 #ifndef GL_GLES_PROTOTYPES 34 #define GL_GLES_PROTOTYPES 0 35 #endif 36 #include <ANGLE/entry_points_gles_ext_autogen.h> 37 #endif 29 38 30 39 #import <AppKit/NSInspectorBar.h> -
trunk/Source/WebKit/Platform/spi/mac/ApplicationServicesSPI.h
r256294 r287848 30 30 #if USE(APPLE_INTERNAL_SDK) 31 31 32 #if HAVE(CPP20_INCOMPATIBLE_INTERNAL_HEADERS) 33 #define CGCOLORTAGGEDPOINTER_H_ 34 #ifndef GL_GLES_PROTOTYPES 35 #define GL_GLES_PROTOTYPES 0 36 #endif 37 #include <ANGLE/entry_points_gles_ext_autogen.h> 38 #endif 39 32 40 #import <ApplicationServices/ApplicationServicesPriv.h> 33 41 -
trunk/Source/WebKit/PlatformMac.cmake
r287770 r287848 1 add_definitions("-ObjC++ -std=c++ 17-D__STDC_WANT_LIB_EXT1__")1 add_definitions("-ObjC++ -std=c++2a -D__STDC_WANT_LIB_EXT1__") 2 2 find_library(APPLICATIONSERVICES_LIBRARY ApplicationServices) 3 3 find_library(CARBON_LIBRARY Carbon) -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.mm
r287770 r287848 770 770 } 771 771 772 - (void)_setInlineMediaPlaybackRequiresPlaysInlineAttribute:(BOOL)requires 773 { 774 _inlineMediaPlaybackRequiresPlaysInlineAttribute = requires ;772 - (void)_setInlineMediaPlaybackRequiresPlaysInlineAttribute:(BOOL)requiresPlaysInlineAttribute 773 { 774 _inlineMediaPlaybackRequiresPlaysInlineAttribute = requiresPlaysInlineAttribute; 775 775 } 776 776 -
trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFLayerControllerSPI.h
r273657 r287848 27 27 28 28 #if ENABLE(PDFKIT_PLUGIN) 29 30 #if USE(APPLE_INTERNAL_SDK) && HAVE(CPP20_INCOMPATIBLE_INTERNAL_HEADERS) 31 #ifndef GL_GLES_PROTOTYPES 32 #define GL_GLES_PROTOTYPES 0 33 #endif 34 #include <ANGLE/entry_points_gles_ext_autogen.h> 35 #endif 29 36 30 37 #import <Quartz/Quartz.h> -
trunk/Source/WebKitLegacy/ChangeLog
r287829 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * PlatformMac.cmake: 9 1 10 2022-01-09 Sam Weinig <weinig@apple.com> 2 11 -
trunk/Source/WebKitLegacy/PlatformMac.cmake
r287770 r287848 601 601 set_source_files_properties(${_file} PROPERTIES COMPILE_FLAGS -std=c99) 602 602 elseif (NOT ${_cpp_index} EQUAL -1) 603 set_source_files_properties(${_file} PROPERTIES COMPILE_FLAGS -std=c++ 1z)603 set_source_files_properties(${_file} PROPERTIES COMPILE_FLAGS -std=c++2a) 604 604 else () 605 set_source_files_properties(${_file} PROPERTIES COMPILE_FLAGS "-ObjC++ -std=c++ 17")605 set_source_files_properties(${_file} PROPERTIES COMPILE_FLAGS "-ObjC++ -std=c++2a") 606 606 endif () 607 607 endforeach () -
trunk/Source/WebKitLegacy/mac/ChangeLog
r287837 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Configurations/Base.xcconfig: 9 * Configurations/WebKitLegacy.xcconfig: 10 * MigrateHeaders.make: 11 1 12 2022-01-10 Elliott Williams <emw@apple.com> 2 13 -
trunk/Source/WebKitLegacy/mac/Configurations/Base.xcconfig
r287770 r287848 34 34 ALWAYS_SEARCH_USER_PATHS = NO; 35 35 36 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;36 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 37 37 CLANG_CXX_LIBRARY = libc++; 38 38 CLANG_ENABLE_OBJC_WEAK = YES; -
trunk/Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig
r287770 r287848 162 162 SUPPORTS_TEXT_BASED_API[sdk=appletv*] = NO; 163 163 SUPPORTS_TEXT_BASED_API[sdk=watch*] = NO; 164 OTHER_TAPI_FLAGS[sdk=iphone*] = -x objective-c++ -std=gnu++ 1z-fno-rtti $(WK_CFLAGS_BUILD_FOR_TESTING_$(WK_BUILD_FOR_TESTING)) -DRELEASE_WITHOUT_OPTIMIZATIONS -exclude-private-header $(BUILT_PRODUCTS_DIR)/$(PRIVATE_HEADERS_FOLDER_PATH)/NSURLDownloadSPI.h -extra-private-header $(SOURCE_ROOT)/mac/TestingFunctions.h;164 OTHER_TAPI_FLAGS[sdk=iphone*] = -x objective-c++ -std=gnu++2a -fno-rtti $(WK_CFLAGS_BUILD_FOR_TESTING_$(WK_BUILD_FOR_TESTING)) -DRELEASE_WITHOUT_OPTIMIZATIONS -exclude-private-header $(BUILT_PRODUCTS_DIR)/$(PRIVATE_HEADERS_FOLDER_PATH)/NSURLDownloadSPI.h -extra-private-header $(SOURCE_ROOT)/mac/TestingFunctions.h; 165 165 TAPI_VERIFY_MODE[sdk=iphone*] = Pedantic; 166 166 -
trunk/Source/WebKitLegacy/mac/MigrateHeaders.make
r287770 r287848 39 39 FRAMEWORK_FLAGS := $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) $(SYSTEM_FRAMEWORK_SEARCH_PATHS) | $(PERL) -e 'print "-F " . join(" -F ", split(" ", <>));') 40 40 HEADER_FLAGS := $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) $(SYSTEM_HEADER_SEARCH_PATHS) | $(PERL) -e 'print "-I" . join(" -I", split(" ", <>));') 41 FEATURE_AND_PLATFORM_DEFINES := $(shell $(CC) -std=gnu++ 1z-x c++ -E -P -dM $(SDK_FLAGS) $(TARGET_TRIPLE_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | $(PERL) -ne "print if s/\#define ((HAVE_|USE_|ENABLE_|WTF_PLATFORM_)\w+) 1/\1/")41 FEATURE_AND_PLATFORM_DEFINES := $(shell $(CC) -std=gnu++2a -x c++ -E -P -dM $(SDK_FLAGS) $(TARGET_TRIPLE_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | $(PERL) -ne "print if s/\#define ((HAVE_|USE_|ENABLE_|WTF_PLATFORM_)\w+) 1/\1/") 42 42 43 43 # -------- -
trunk/Source/WebKitLegacy/mac/WebView/WebFrameInternal.h
r278253 r287848 29 29 // This header contains WebFrame declarations that can be used anywhere in WebKit, but are neither SPI nor API. 30 30 31 #if USE(APPLE_INTERNAL_SDK) && HAVE(CPP20_INCOMPATIBLE_INTERNAL_HEADERS) 32 #ifndef GL_GLES_PROTOTYPES 33 #define GL_GLES_PROTOTYPES 0 34 #endif 35 #include <ANGLE/entry_points_gles_ext_autogen.h> 36 #endif 37 31 38 #import "WebFramePrivate.h" 32 39 #import "WebPreferencesPrivate.h" -
trunk/Source/bmalloc/ChangeLog
r287770 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * Configurations/Base.xcconfig: 9 1 10 2022-01-07 Alex Christensen <achristensen@webkit.org> 2 11 -
trunk/Source/bmalloc/Configurations/Base.xcconfig
r287770 r287848 32 32 ALWAYS_SEARCH_USER_PATHS = NO; 33 33 34 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;34 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 35 35 CLANG_CXX_LIBRARY = libc++; 36 36 CLANG_ENABLE_OBJC_ARC = YES; -
trunk/Source/cmake/OptionsCommon.cmake
r287770 r287848 1 set(CMAKE_CXX_STANDARD 17)1 set(CMAKE_CXX_STANDARD 20) 2 2 set(CMAKE_CXX_STANDARD_REQUIRED ON) 3 3 set(CMAKE_CXX_EXTENSIONS OFF) -
trunk/Source/cmake/OptionsPlayStation.cmake
r287768 r287848 300 300 add_definitions(-DHAVE_MEMMEM=1) 301 301 endif () 302 303 # FIXME: gtest assumes that you will have u8string if __cpp_char8_t 304 # (feature test macro) is defined. 305 add_compile_options(-U__cpp_char8_t) -
trunk/Source/cmake/WebKitCompilerFlags.cmake
r287770 r287848 384 384 int main() { std::filesystem::path p1(\"\"); std::filesystem::status(p1); } 385 385 ") 386 set(CMAKE_REQUIRED_FLAGS "--std=c++ 17")386 set(CMAKE_REQUIRED_FLAGS "--std=c++2a") 387 387 check_cxx_source_compiles("${FILESYSTEM_TEST_SOURCE}" STD_FILESYSTEM_IS_AVAILABLE) 388 388 if (NOT STD_FILESYSTEM_IS_AVAILABLE) -
trunk/Tools/ChangeLog
r287833 r287848 1 2022-01-10 Alex Christensen <achristensen@webkit.org> 2 3 Start using C++20 4 https://bugs.webkit.org/show_bug.cgi?id=233963 5 6 Reviewed by Yusuke Suzuki. 7 8 * DumpRenderTree/DerivedSources.make: 9 * DumpRenderTree/mac/Configurations/Base.xcconfig: 10 * MiniBrowser/Configurations/Base.xcconfig: 11 * MobileMiniBrowser/Configurations/Base.xcconfig: 12 * TestWebKitAPI/Configurations/Base.xcconfig: 13 * TestWebKitAPI/Tests/WTF/Expected.cpp: 14 (TestWebKitAPI::NonCopyable::NonCopyable): 15 * TestWebKitAPI/Tests/WTF/URLParser.cpp: 16 (TestWebKitAPI::TEST_F): 17 * WebKitTestRunner/Configurations/Base.xcconfig: 18 * WebKitTestRunner/DerivedSources.make: 19 * lldb/lldbWebKitTester/Configurations/Base.xcconfig: 20 1 21 2022-01-10 Carlos Garcia Campos <cgarcia@igalia.com> 2 22 -
trunk/Tools/DumpRenderTree/DerivedSources.make
r287770 r287848 36 36 FRAMEWORK_FLAGS := $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) $(SYSTEM_FRAMEWORK_SEARCH_PATHS) | $(PERL) -e 'print "-F " . join(" -F ", split(" ", <>));') 37 37 HEADER_FLAGS := $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) $(SYSTEM_HEADER_SEARCH_PATHS) | $(PERL) -e 'print "-I" . join(" -I", split(" ", <>));') 38 FEATURE_AND_PLATFORM_DEFINES := $(shell $(CC) -std=gnu++ 1z-x c++ -E -P -dM $(SDK_FLAGS) $(TARGET_TRIPLE_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | $(PERL) -ne "print if s/\#define ((HAVE_|USE_|ENABLE_|WTF_PLATFORM_)\w+) 1/\1/")38 FEATURE_AND_PLATFORM_DEFINES := $(shell $(CC) -std=gnu++2a -x c++ -E -P -dM $(SDK_FLAGS) $(TARGET_TRIPLE_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | $(PERL) -ne "print if s/\#define ((HAVE_|USE_|ENABLE_|WTF_PLATFORM_)\w+) 1/\1/") 39 39 40 40 # FIXME: This should list Platform.h and all the things it includes. Could do that by using the -MD flag in the CC line above. -
trunk/Tools/DumpRenderTree/mac/Configurations/Base.xcconfig
r287770 r287848 42 42 FRAMEWORK_SEARCH_PATHS = $(WK_PRIVATE_FRAMEWORKS_DIR); 43 43 44 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;44 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 45 45 CLANG_CXX_LIBRARY = libc++; 46 46 CLANG_ENABLE_OBJC_WEAK = YES; -
trunk/Tools/MiniBrowser/Configurations/Base.xcconfig
r287770 r287848 32 32 GCC_PREPROCESSOR_DEFINITIONS = DISABLE_LEGACY_WEBKIT_DEPRECATIONS $(inherited); 33 33 34 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;34 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 35 35 CLANG_CXX_LIBRARY = libc++; 36 36 CLANG_ENABLE_OBJC_WEAK = YES; -
trunk/Tools/MobileMiniBrowser/Configurations/Base.xcconfig
r287770 r287848 32 32 ALWAYS_SEARCH_USER_PATHS = NO; 33 33 CLANG_ANALYZER_NONNULL = YES; 34 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;34 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 35 35 CLANG_CXX_LIBRARY = libc++; 36 36 CLANG_ENABLE_MODULES = YES; -
trunk/Tools/TestWebKitAPI/Configurations/Base.xcconfig
r287770 r287848 30 30 USE_INTERNAL_SDK_Release = $(HAVE_INTERNAL_SDK); 31 31 32 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;32 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 33 33 CLANG_CXX_LIBRARY = libc++; 34 34 CLANG_ENABLE_OBJC_WEAK = YES; -
trunk/Tools/TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h
r277688 r287848 27 27 28 28 #if USE(APPLE_INTERNAL_SDK) 29 30 #if HAVE(CPP20_INCOMPATIBLE_INTERNAL_HEADERS) 31 #define CGCOLORTAGGEDPOINTER_H_ 32 #endif 29 33 30 34 #import <AppKit/NSInspectorBar.h> -
trunk/Tools/TestWebKitAPI/Tests/WTF/Expected.cpp
r287770 r287848 292 292 template<typename T> 293 293 struct NonCopyable { 294 NonCopyable(T&& t) 295 : value(std::forward<T>(t)) { } 294 296 NonCopyable(NonCopyable&&) = default; 295 297 NonCopyable(const NonCopyable&) = delete; -
trunk/Tools/TestWebKitAPI/Tests/WTF/URLParser.cpp
r287770 r287848 1077 1077 checkURL("a://A:2", {"a", "", "", "A", 2, "", "", "", "a://A:2"}); 1078 1078 checkURL("a://A:2/", {"a", "", "", "A", 2, "/", "", "", "a://A:2/"}); 1079 checkURLDifferences( u8"asd://ß",1079 checkURLDifferences(reinterpret_cast<const char*>(u8"asd://ß"), 1080 1080 {"asd", "", "", "%C3%83%C2%9F", 0, "", "", "", "asd://%C3%83%C2%9F"}, 1081 1081 {"", "", "", "", 0, "", "", "", "about:blank"}, TestTabs::No); 1082 checkURLDifferences( u8"asd://ß:4",1082 checkURLDifferences(reinterpret_cast<const char*>(u8"asd://ß:4"), 1083 1083 {"asd", "", "", "%C3%83%C2%9F", 4, "", "", "", "asd://%C3%83%C2%9F:4"}, 1084 1084 {"", "", "", "", 0, "", "", "", "about:blank"}, TestTabs::No); 1085 checkURLDifferences( u8"asd://ß:4/",1085 checkURLDifferences(reinterpret_cast<const char*>(u8"asd://ß:4/"), 1086 1086 {"asd", "", "", "%C3%83%C2%9F", 4, "/", "", "", "asd://%C3%83%C2%9F:4/"}, 1087 1087 {"", "", "", "", 0, "", "", "", "about:blank"}, TestTabs::No); -
trunk/Tools/WebKitTestRunner/Configurations/Base.xcconfig
r287770 r287848 30 30 USE_INTERNAL_SDK_Release = $(HAVE_INTERNAL_SDK); 31 31 32 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 1z;32 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 33 33 CLANG_CXX_LIBRARY = libc++; 34 34 CLANG_ENABLE_OBJC_WEAK = YES; -
trunk/Tools/WebKitTestRunner/DerivedSources.make
r287770 r287848 41 41 FRAMEWORK_FLAGS := $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) $(SYSTEM_FRAMEWORK_SEARCH_PATHS) | $(PERL) -e 'print "-F " . join(" -F ", split(" ", <>));') 42 42 HEADER_FLAGS := $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) $(SYSTEM_HEADER_SEARCH_PATHS) | $(PERL) -e 'print "-I" . join(" -I", split(" ", <>));') 43 FEATURE_AND_PLATFORM_DEFINES := $(shell $(CC) -std=gnu++ 1z-x c++ -E -P -dM $(SDK_FLAGS) $(TARGET_TRIPLE_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | $(PERL) -ne "print if s/\#define ((HAVE_|USE_|ENABLE_|WTF_PLATFORM_)\w+) 1/\1/")43 FEATURE_AND_PLATFORM_DEFINES := $(shell $(CC) -std=gnu++2a -x c++ -E -P -dM $(SDK_FLAGS) $(TARGET_TRIPLE_FLAGS) $(FRAMEWORK_FLAGS) $(HEADER_FLAGS) -include "wtf/Platform.h" /dev/null | $(PERL) -ne "print if s/\#define ((HAVE_|USE_|ENABLE_|WTF_PLATFORM_)\w+) 1/\1/") 44 44 45 45 # FIXME: This should list Platform.h and all the things it includes. Could do that by using the -MD flag in the CC line above. -
trunk/Tools/lldb/lldbWebKitTester/Configurations/Base.xcconfig
r287770 r287848 32 32 ALWAYS_SEARCH_USER_PATHS = NO; 33 33 34 CLANG_CXX_LANGUAGE_STANDARD = gnu++ 17;34 CLANG_CXX_LANGUAGE_STANDARD = gnu++2a; 35 35 CLANG_CXX_LIBRARY = libc++; 36 36 CLANG_ENABLE_OBJC_WEAK = YES;
Note:
See TracChangeset
for help on using the changeset viewer.