Skip to content

Instantly share code, notes, and snippets.

Avatar

Fujii Hironori fujii

View GitHub Profile
View MAIN_DEPENDENCY.diff
diff --git a/Source/JavaScriptCore/CMakeLists.txt b/Source/JavaScriptCore/CMakeLists.txt
index e6ed7ed40637..481ad16cbf08 100644
--- a/Source/JavaScriptCore/CMakeLists.txt
+++ b/Source/JavaScriptCore/CMakeLists.txt
@@ -1385,15 +1385,13 @@ add_custom_command(
${JavaScriptCore_DERIVED_SOURCES_DIR}/inspector/InspectorFrontendDispatchers.h
${JavaScriptCore_DERIVED_SOURCES_DIR}/inspector/InspectorProtocolObjects.cpp
${JavaScriptCore_DERIVED_SOURCES_DIR}/inspector/InspectorProtocolObjects.h
- MAIN_DEPENDENCY ${JavaScriptCore_DERIVED_SOURCES_DIR}/CombinedDomains.json
- DEPENDS ${JavaScriptCore_INSPECTOR_PROTOCOL_SCRIPTS}
View apple-win.patch
diff --git a/Source/WebKitLegacy/win/WebDownloadCFNet.cpp b/Source/WebKitLegacy/win/WebDownloadCFNet.cpp
index ceff8c16113f..8749d7998aab 100644
--- a/Source/WebKitLegacy/win/WebDownloadCFNet.cpp
+++ b/Source/WebKitLegacy/win/WebDownloadCFNet.cpp
@@ -236,11 +236,11 @@ HRESULT WebDownload::cancelForResume()
if (!m_download)
return E_FAIL;
- HRESULT hr = S_OK;
RetainPtr<CFDataRef> resumeData;
View r20.cpp
// cl -std:c++20 /permissive- -c r20.cpp
// https://webkit.org/b/234546
template<typename T>
struct RefPtr {
RefPtr(T* ptr) : m_ptr(ptr) { }
T* operator->() { return m_ptr; }
bool operator!() const { return !m_ptr; }
T* m_ptr;
};
View VendorId.cpp
#include <iostream>
#include <windows.h>
#include <vector>
#include <dxgi1_2.h>
#pragma comment(lib, "DXGI.lib")
int main()
{
std::cout << "EnumAdapters\n";
View build.txt
[0/444] Generate bindings (WebCoreBindings)
Preprocess IDL
[1/444] cmd.exe /C "cd /D C:\home\webkit\wc\WebKitBuild\Debug\Source\ThirdParty\ANGLE && "C:\Program Files\CMake\bin\cmake.exe" -E env BUILT_PRODUCTS_DIR=C:/home/webkit/wc/WebKitBuild/Debug/ANGLE/Headers PUBLIC_HEADERS_FOLDER_PATH=/ANGLE C:/Python310/python.exe C:/home/webkit/wc/Source/ThirdParty/ANGLE/adjust-angle-include-paths.py"
[2/50] Generate bindings (TestRunnerSharedBindings)
[3/47] Generate bindings (WebCoreTestSupportBindings)
[4/32] Generate bindings (WebKitTestRunnerInjectedBundleBindings)
[6/16] Building CXX object Source\WebKit\CMakeFiles\WebKit.dir\__\__\WebKit\DerivedSources\unified-sources\UnifiedSource-13fb4697-1.cpp.obj
FAILED: Source/WebKit/CMakeFiles/WebKit.dir/__/__/WebKit/DerivedSources/unified-sources/UnifiedSource-13fb4697-1.cpp.obj
C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DBUILDING_WEBKIT -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebKit -DEGL_EGLEXT_PROTOTYPES -DEGL_EGL_PROTOT
@fujii
fujii / repro.cpp
Created Sep 30, 2021
wrong overload resolution with a const enum of which value is zero
View repro.cpp
// https://bugs.webkit.org/show_bug.cgi?id=229223#c88
// https://developercommunity.visualstudio.com/t/wrong-overload-resolution-with-a-const-e/1542855?entry=myfeedback&space=62&q=overload+enum+const&stateGroup=active
#include <iostream>
enum X86Registers {
eax,
ebx,
};
struct ImplicitAddress {
View angle-wgl.diff
diff --git a/Source/ThirdParty/ANGLE/CMakeLists.txt b/Source/ThirdParty/ANGLE/CMakeLists.txt
index b6f2cc830f39..ee8683e4aeff 100644
--- a/Source/ThirdParty/ANGLE/CMakeLists.txt
+++ b/Source/ThirdParty/ANGLE/CMakeLists.txt
@@ -51,6 +51,7 @@ set(ANGLE_PRIVATE_INCLUDE_DIRECTORIES
"${CMAKE_CURRENT_SOURCE_DIR}/include/KHR"
"${CMAKE_CURRENT_SOURCE_DIR}/src"
"${CMAKE_CURRENT_SOURCE_DIR}/src/common/third_party/base"
+ "${CMAKE_CURRENT_SOURCE_DIR}/src/third_party/khronos"
"${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib/google"
View angle-stderr.patch
diff --git a/Source/ThirdParty/ANGLE/src/common/debug.cpp b/Source/ThirdParty/ANGLE/src/common/debug.cpp
index 2935093befd5..b6fea8818cb5 100644
--- a/Source/ThirdParty/ANGLE/src/common/debug.cpp
+++ b/Source/ThirdParty/ANGLE/src/common/debug.cpp
@@ -259,8 +259,7 @@ void Trace(LogSeverity severity, const char *message)
}
#else
// Note: we use fprintf because <iostream> includes static initializers.
- fprintf((severity >= LOG_ERR) ? stderr : stdout, "%s: %s\n", LogSeverityName(severity),
- str.c_str());
View skia-chat.txt
skia-chat
@bsalomon created this channel on December 2nd. This is the very beginning of the skia-chat channel. Description: Skia (edit)
Add an app Add people Share channel Send emails to channel
bsalomon 4:49 AM
joined #skia-chat.
bsalomon 4:49 AM
set the channel description: Skia
@fujii
fujii / build-apple-win.log
Last active Nov 16, 2020
WebKit AppleWin port build log. perl .\Tools\Scripts\build-webkit
View build-apple-win.log
Falling back to existing version of WebKitSupportLibrary.
Checking for newer version of WebKitAuxiliaryLibrary.zip...
Located a file of type application/zip of size 2487226.
Current WebKitAuxiliaryLibrary is up to date.
*************************************************************
Mathematical fonts, such as Latin Modern Math are needed to
use the MathML feature. You do not appear to have these fonts
on your system.
You can download a suitable set of fonts from the following URL: