Changeset 224192 in webkit
- Timestamp:
- Oct 30, 2017 11:21:02 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r224172 r224192 1 2017-10-30 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [WPE] Fix build warnings 4 https://bugs.webkit.org/show_bug.cgi?id=178899 5 6 Reviewed by Carlos Alberto Lopez Perez. 7 8 * PlatformWPE.cmake: 9 1 10 2017-10-30 Zan Dobersek <zdobersek@igalia.com> 2 11 -
trunk/Source/JavaScriptCore/PlatformWPE.cmake
r217832 r224192 2 2 ${GLIB_LIBRARIES} 3 3 ) 4 5 list(APPEND JavaScriptCore_SYSTEM_INCLUDE_DIRECTORIES 6 ${GLIB_INCLUDE_DIRS} 7 ) 8 4 9 list(APPEND JavaScriptCore_INCLUDE_DIRECTORIES 5 ${GLIB_INCLUDE_DIRS}6 10 ${WTF_DIR} 7 11 ) -
trunk/Source/WTF/ChangeLog
r224137 r224192 1 2017-10-30 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [WPE] Fix build warnings 4 https://bugs.webkit.org/show_bug.cgi?id=178899 5 6 Reviewed by Carlos Alberto Lopez Perez. 7 8 * wtf/PlatformWPE.cmake: 9 1 10 2017-10-27 Yousuke Kimoto <yousuke.kimoto@sony.com> 2 11 -
trunk/Source/WTF/wtf/PlatformWPE.cmake
r221768 r224192 27 27 ) 28 28 29 list(APPEND WTF_ INCLUDE_DIRECTORIES29 list(APPEND WTF_SYSTEM_INCLUDE_DIRECTORIES 30 30 ${GLIB_INCLUDE_DIRS} 31 31 ) -
trunk/Source/WebCore/ChangeLog
r224189 r224192 1 2017-10-30 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [WPE] Fix build warnings 4 https://bugs.webkit.org/show_bug.cgi?id=178899 5 6 Reviewed by Carlos Alberto Lopez Perez. 7 8 These are actually mostly cross-platform issues. 9 10 * html/canvas/WebGL2RenderingContext.cpp: 11 (WebCore::arrayBufferViewElementSize): 12 * platform/Cairo.cmake: 13 * platform/Curl.cmake: 14 * platform/FreeType.cmake: 15 * platform/GCrypt.cmake: 16 * platform/graphics/texmap/TextureMapperShaderProgram.cpp: 17 (WebCore::TextureMapperShaderProgram::create): 18 * platform/network/soup/SoupNetworkSession.cpp: 19 (WebCore::SoupNetworkSession::SoupNetworkSession): 20 1 21 2017-10-30 Michael Catanzaro <mcatanzaro@igalia.com> 2 22 -
trunk/Source/WebCore/html/canvas/WebGL2RenderingContext.cpp
r223683 r224192 106 106 return elementSize(data.getType()); 107 107 } 108 RELEASE_ASSERT_NOT_REACHED(); 108 109 } 109 110 -
trunk/Source/WebCore/platform/Cairo.cmake
r224189 r224192 1 1 list(APPEND WebCore_INCLUDE_DIRECTORIES 2 ${CAIRO_INCLUDE_DIRS}3 2 "${WEBCORE_DIR}/platform/graphics/cairo" 4 3 ) … … 8 7 ) 9 8 9 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES 10 ${CAIRO_INCLUDE_DIRS} 11 ) 12 10 13 list(APPEND WebCore_LIBRARIES 11 14 ${CAIRO_LIBRARIES} -
trunk/Source/WebCore/platform/Curl.cmake
r224037 r224192 27 27 ) 28 28 29 list(APPEND WebCore_ INCLUDE_DIRECTORIES29 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES 30 30 ${CURL_INCLUDE_DIRS} 31 31 ${OPENSSL_INCLUDE_DIR} -
trunk/Source/WebCore/platform/FreeType.cmake
r222844 r224192 1 1 list(APPEND WebCore_INCLUDE_DIRECTORIES 2 ${FONTCONFIG_INCLUDE_DIRS}3 ${FREETYPE2_INCLUDE_DIRS}4 ${HARFBUZZ_INCLUDE_DIRS}5 2 "${WEBCORE_DIR}/platform/graphics/freetype" 6 3 "${WEBCORE_DIR}/platform/graphics/harfbuzz" … … 35 32 endif () 36 33 34 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES 35 ${FONTCONFIG_INCLUDE_DIRS} 36 ${FREETYPE2_INCLUDE_DIRS} 37 ${HARFBUZZ_INCLUDE_DIRS} 38 ) 39 37 40 list(APPEND WebCore_LIBRARIES 38 41 ${FONTCONFIG_LIBRARIES} -
trunk/Source/WebCore/platform/GCrypt.cmake
r224189 r224192 8 8 ${LIBGCRYPT_LIBRARIES} 9 9 ) 10 list(APPEND WebCore_ INCLUDE_DIRECTORIES10 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES 11 11 ${LIBGCRYPT_INCLUDE_DIRS} 12 12 ) -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp
r223833 r224192 69 69 ); 70 70 71 #if !USE(OPENGL_ES_2) 71 72 // Input/output variables definition for OpenGL >= 3.2. 72 73 static const char* vertexTemplateGE320Vars = … … 77 78 out float v_antialias; 78 79 ); 80 #endif 79 81 80 82 static const char* vertexTemplateCommon = … … 186 188 ); 187 189 190 #if !USE(OPENGL_ES_2) 188 191 // Input/output variables definition for OpenGL >= 3.2. 189 192 static const char* fragmentTemplateGE320Vars = … … 193 196 in vec2 v_transformedTexCoord; 194 197 ); 198 #endif 195 199 196 200 static const char* fragmentTemplateCommon = … … 377 381 SET_APPLIER_FROM_OPTIONS(ManualRepeat); 378 382 379 unsigned glVersion = GLContext::current()->version();380 383 StringBuilder vertexShaderBuilder; 381 384 382 385 // OpenGL >= 3.2 requires a #version directive at the beginning of the code. 383 386 #if !USE(OPENGL_ES_2) 387 unsigned glVersion = GLContext::current()->version(); 384 388 if (glVersion >= 320) 385 389 vertexShaderBuilder.append(GLSL_DIRECTIVE(version 150)); -
trunk/Source/WebCore/platform/network/soup/SoupNetworkSession.cpp
r223728 r224192 153 153 nullptr); 154 154 } 155 #else 156 UNUSED_PARAM(sessionID); 155 157 #endif 156 158 -
trunk/Source/WebKit/ChangeLog
r224191 r224192 1 2017-10-30 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [WPE] Fix build warnings 4 https://bugs.webkit.org/show_bug.cgi?id=178899 5 6 Reviewed by Carlos Alberto Lopez Perez. 7 8 * PlatformWPE.cmake: 9 1 10 2017-10-30 Sam Weinig <sam@webkit.org> 2 11 -
trunk/Source/WebKit/PlatformWPE.cmake
r224189 r224192 506 506 ) 507 507 508 list(APPEND WPEWebInspectorResources_ INCLUDE_DIRECTORIES508 list(APPEND WPEWebInspectorResources_SYSTEM_INCLUDE_DIRECTORIES 509 509 ${GLIB_INCLUDE_DIRS} 510 510 ) … … 513 513 add_dependencies(WPEWebInspectorResources WebKit) 514 514 target_link_libraries(WPEWebInspectorResources ${WPEWebInspectorResources_LIBRARIES}) 515 target_include_directories(WPEWebInspectorResources PUBLIC ${WPEWebInspectorResources_INCLUDE_DIRECTORIES})515 target_include_directories(WPEWebInspectorResources SYSTEM PUBLIC ${WPEWebInspectorResources_SYSTEM_INCLUDE_DIRECTORIES}) 516 516 install(TARGETS WPEWebInspectorResources DESTINATION "${LIB_INSTALL_DIR}") 517 517 -
trunk/Tools/ChangeLog
r224190 r224192 1 2017-10-30 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [WPE] Fix build warnings 4 https://bugs.webkit.org/show_bug.cgi?id=178899 5 6 Reviewed by Carlos Alberto Lopez Perez. 7 8 * TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp: 9 (testContextMenuDownloadActions): 10 (testBlobDownload): 11 (beforeAll): 12 * TestWebKitAPI/Tests/WebKitGLib/TestResources.cpp: 13 * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp: 14 (testWebViewJavaScriptDialogs): 15 * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp: 16 * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp: 17 * WebKitTestRunner/PlatformWPE.cmake: 18 * WebKitTestRunner/wpe/HeadlessViewBackend.cpp: 19 * WebKitTestRunner/wpe/TestControllerWPE.cpp: 20 (WTR::threadDefaultContext): Deleted. 21 1 22 2017-10-30 Michael Catanzaro <mcatanzaro@igalia.com> 2 23 -
trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp
r218686 r224192 726 726 g_file_delete(downloadFile.get(), nullptr, nullptr); 727 727 } 728 #endif // PLATFORM(GTK)729 728 730 729 static void testBlobDownload(WebViewDownloadTest* test, gconstpointer) 731 730 { 732 #if PLATFORM(GTK)733 731 test->showInWindowAndWaitUntilMapped(); 734 #endif735 732 736 733 static const char* linkBlobHTML = … … 765 762 g_file_delete(downloadFile.get(), nullptr, nullptr); 766 763 } 764 #endif // PLATFORM(GTK) 767 765 768 766 void beforeAll() … … 784 782 #if PLATFORM(GTK) 785 783 WebViewDownloadTest::add("Downloads", "contex-menu-download-actions", testContextMenuDownloadActions); 786 #endif787 784 // FIXME: Implement mouse click in WPE. 788 #if PLATFORM(GTK)789 785 WebViewDownloadTest::add("Downloads", "blob-download", testBlobDownload); 790 786 #endif -
trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/TestResources.cpp
r222735 r224192 729 729 }; 730 730 731 #if SOUP_CHECK_VERSION(2, 49, 91) 731 732 static void testWebViewSyncRequestOnMaxConns(SyncRequestOnMaxConnsTest* test, gconstpointer) 732 733 { … … 763 764 g_source_remove(context.unlockServerSourceID); 764 765 } 766 #endif 765 767 766 768 static void addCacheHTTPHeadersToResponse(SoupMessage* message) -
trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp
r218738 r224192 554 554 static const char* jsConfirmFormat = "do { confirmed = confirm('%s'); } while (!confirmed); alert('confirmed');"; 555 555 static const char* jsPromptFormat = "alert(prompt('%s', 'default'));"; 556 #if PLATFORM(GTK) 556 557 static const char* htmlOnBeforeUnloadFormat = 557 558 "<html><body onbeforeunload=\"return beforeUnloadHandler();\"><input id=\"testInput\" type=\"text\"></input><script>function beforeUnloadHandler() { return \"%s\"; }</script></body></html>"; 559 #endif 558 560 559 561 test->m_scriptDialogType = WEBKIT_SCRIPT_DIALOG_ALERT; -
trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp
r221240 r224192 31 31 #define FORM2_ID "form2-id" 32 32 33 #if PLATFORM(GTK) 33 34 static void testWebExtensionGetTitle(WebViewTest* test, gconstpointer) 34 35 { … … 51 52 g_assert_cmpstr(title, ==, "WebKitGTK+ Web Extensions Test"); 52 53 } 54 #endif 53 55 54 56 static void documentLoadedCallback(GDBusConnection*, const char*, const char*, const char*, const char*, GVariant*, WebViewTest* test) -
trunk/Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp
r218686 r224192 311 311 } 312 312 313 #if PLATFORM(GTK) 313 314 static CString convertWebViewMainResourceDataToCString(WebViewTest* test) 314 315 { … … 318 319 } 319 320 320 #if PLATFORM(GTK)321 321 static void assertThatUserAgentIsSentInHeaders(WebViewTest* test, const CString& userAgent) 322 322 { -
trunk/Tools/WebKitTestRunner/PlatformWPE.cmake
r222194 r224192 22 22 ${WEBKIT_TESTRUNNER_DIR}/InjectedBundle/wpe 23 23 ${FORWARDING_HEADERS_DIR} 24 ) 25 26 list(APPEND WebKitTestRunner_SYSTEM_INCLUDE_DIRECTORIES 24 27 ${CAIRO_INCLUDE_DIRS} 25 28 ${GLIB_INCLUDE_DIRS} -
trunk/Tools/WebKitTestRunner/wpe/HeadlessViewBackend.cpp
r219819 r224192 238 238 239 239 assert(it != backend.m_exportMap.end()); 240 uint32_t handle = it->first;241 240 int32_t fd = it->second; 242 241 -
trunk/Tools/WebKitTestRunner/wpe/TestControllerWPE.cpp
r222968 r224192 57 57 void TestController::platformInitializeContext() 58 58 { 59 }60 61 static GMainContext* threadDefaultContext()62 {63 if (GMainContext* context = g_main_context_get_thread_default())64 return context;65 return g_main_context_default();66 59 } 67 60
Note: See TracChangeset
for help on using the changeset viewer.