1 2019-07-31 Carlos Garcia Campos <cgarcia@igalia.com>
3 [GTK] Datalist element support for TextFieldInputType
4 https://bugs.webkit.org/show_bug.cgi?id=98934
6 Reviewed by Michael Catanzaro.
8 Enable DATALIST_ELEMENT.
10 * Source/cmake/OptionsGTK.cmake:
12 2019-07-24 Fujii Hironori <fujii.hironori@gmail.com>
14 [CMake] CMAKE_SHARED_LINKER_FLAGS drops "-Wl,--no-undefined"
15 https://bugs.webkit.org/show_bug.cgi?id=200074
17 Reviewed by Michael Catanzaro.
19 Although WebKitCompilerFlags.cmake adds "-Wl,--no-undefined" to
20 CMAKE_SHARED_LINKER_FLAGS, it wasn't effective because
21 OptionsCommon.cmake inadvertently override the value with
22 CMAKE_EXE_LINKER_FLAGS as:
24 > set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ...")
26 * Source/cmake/OptionsCommon.cmake: Use string(APPEND) to modify
27 CMAKE_*_LINKER_FLAGS variables to avoid typos.
29 2019-07-23 Carlos Garcia Campos <cgarcia@igalia.com>
31 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.25.3 release
33 * Source/cmake/OptionsGTK.cmake: Bump version numbers
35 2019-07-18 Carlos Garcia Campos <cgarcia@igalia.com>
37 [GTK] MOUSE_CURSOR_SCALE is not implemented
38 https://bugs.webkit.org/show_bug.cgi?id=109469
40 Reviewed by Darin Adler.
42 Enable MOUSE_CURSOR_SCALE for the GTK port.
44 * Source/cmake/OptionsGTK.cmake:
46 2019-07-11 Pablo Saavedra <psaavedra@igalia.com>
48 [WPE][GTK] Build failure with ENABLE_ACCESSIBILITY=OFF
49 https://bugs.webkit.org/show_bug.cgi?id=199625
51 Added ENABLE(ACCESSIBILITY) and replaced HAVE(ACCESSIBILITY)
52 with ENABLE(ACCESSIBILITY) in the code.
54 Additionally, the TestRunner code generator now honors the
55 Conditional IDL format.
57 Reviewed by Konstantin Tokarev.
59 * Source/cmake/OptionsWPE.cmake:
60 * Source/cmake/WebKitFeatures.cmake:
62 2019-07-10 Carlos Alberto Lopez Perez <clopez@igalia.com>
64 [GTK][WPE] Enable support for CSS_COMPOSITING
65 https://bugs.webkit.org/show_bug.cgi?id=199513
67 Reviewed by Michael Catanzaro.
69 This feature is needed to support the CSS properties "mix-blend-mode" and "isolation".
70 Enable it for all ports except for AppleWin (doesn't build).
72 It has been tested that it builds on the EWS bots of all the ports enabled (for those that have an EWS).
73 Also, for the GTK and WPE ports it also has been tested that the feature works fine on most of the cases and that doesn't cause regressions.
75 * Source/cmake/OptionsFTW.cmake: Enable the feature.
76 * Source/cmake/OptionsMac.cmake: Use the new default.
77 * Source/cmake/OptionsWin.cmake: Enable for WinCairo only.
78 * Source/cmake/WebKitFeatures.cmake: Enable it Globally
80 2019-06-28 Brent Fulgham <bfulgham@apple.com>
83 https://bugs.webkit.org/show_bug.cgi?id=199199
85 Reviewed by Don Olmstead.
87 Establish a set of build options for the FTW port, based on the current WinCairo
88 feature set. I also note which features should be turned on, but aren't yet, as
89 well as which features are disabled due to lack of WebGL and Media support in
92 * Source/cmake/OptionsFTW.cmake:
94 2019-06-28 Konstantin Tokarev <annulen@yandex.ru>
96 Remove traces of ENABLE_ICONDATABASE remaining after its removal in 219733
97 https://bugs.webkit.org/show_bug.cgi?id=199317
99 Reviewed by Michael Catanzaro.
101 While IconDatabase and all code using it was removed,
102 ENABLE_ICONDATABASE still exists as build option and C++ macro.
104 * Source/cmake/OptionsGTK.cmake:
105 * Source/cmake/OptionsPlayStation.cmake:
106 * Source/cmake/OptionsWin.cmake:
107 * Source/cmake/WebKitFeatures.cmake:
108 * Source/cmake/tools/vsprops/FeatureDefines.props:
109 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
111 2019-06-27 Don Olmstead <don.olmstead@sony.com>
113 [FTW] Build JavaScriptCore
114 https://bugs.webkit.org/show_bug.cgi?id=199254
116 Reviewed by Brent Fulgham.
118 Add the FTW [For the Win(dows)] port. FTW is OS(WINDOWS) + USE(DIRECT2D) +
119 USE(CURL). Its eventual goal is to be the one true Windows port but to avoid
120 breaking AppleWin and WinCairo its being split into its own port for the interim.
123 * Source/cmake/OptionsFTW.cmake: Added.
125 2019-06-27 Fujii Hironori <Hironori.Fujii@sony.com>
127 [CMake] Bump cmake_minimum_required version to 3.10
128 https://bugs.webkit.org/show_bug.cgi?id=199181
130 Reviewed by Don Olmstead.
134 2019-06-21 Konstantin Tokarev <annulen@yandex.ru>
136 [cmake] Switch to built-in handling of C++ standard instead of hardcoding -std=c++17
137 https://bugs.webkit.org/show_bug.cgi?id=199108
139 Reviewed by Don Olmstead.
143 1. It provides an abstraction over exact flags of particular compilers -
144 we just specify required version of C++ standard
145 2. External libraries (like Qt used in WPEQt) may require particular C++
146 standard or even particular C++ features to be availabe (e.g. Qt
147 requires INTERFACE_COMPILE_FEATURES cxx_decltype, which causes cmake
148 to add -std=gnu++11 unless proper CXX_STANDARD is defined)
150 * Source/cmake/OptionsCommon.cmake:
151 * Source/cmake/OptionsMSVC.cmake:
152 * Source/cmake/WebKitCompilerFlags.cmake:
154 2019-06-25 Michael Catanzaro <mcatanzaro@igalia.com>
156 Fully rename WebKitGTK+ -> WebKitGTK everywhere
157 https://bugs.webkit.org/show_bug.cgi?id=199159
159 Reviewed by Carlos Garcia Campos.
161 * Source/cmake/FindGLIB.cmake:
163 2019-06-25 Michael Catanzaro <mcatanzaro@igalia.com>
166 https://bugs.webkit.org/show_bug.cgi?id=198914
168 Reviewed by Darin Adler.
172 2019-06-21 Michael Catanzaro <mcatanzaro@igalia.com>
174 [WPE][GTK] Bump minimum versions of GLib, GTK, libsoup, ATK, GStreamer, and Cairo
175 https://bugs.webkit.org/show_bug.cgi?id=199094
177 Reviewed by Carlos Garcia Campos.
179 We can remove a lot of preprocessor guards in our code if we bump the minimum required
180 versions of certain dependencies:
182 GStreamer 1.8 -> 1.10
189 I'm being extremely conservative with all these dependency bumps. All of these versions are
190 already available in Debian Stretch, which we will soon no longer support building on anyway
191 due to the impending GCC 7 requirement. Dependencies are also bumped no further than we
192 actually have guards for. For example, ATK 2.22 is available in Stretch, but the highest
193 ATK_CHECK_VERSION guards we use below 2.22 are for 2.16, so I set the min version to 2.16.
195 We still have a few preprocessor guards remaining for everything here except glib and cairo,
196 but this removes the vast majority of them. Deleting code is fun!
198 * Source/cmake/FindGTK3.cmake:
199 * Source/cmake/GStreamerChecks.cmake:
200 * Source/cmake/OptionsGTK.cmake:
201 * Source/cmake/OptionsWPE.cmake:
203 2019-06-20 Carlos Garcia Campos <cgarcia@igalia.com>
205 [GTK] Remove support for GTK2 plugins
206 https://bugs.webkit.org/show_bug.cgi?id=199065
208 Reviewed by Sergio Villar Senin.
210 * Source/cmake/FindGDK2.cmake: Removed.
211 * Source/cmake/FindGTK2.cmake: Removed.
212 * Source/cmake/OptionsGTK.cmake:
214 2019-06-18 Adrian Perez de Castro <aperez@igalia.com>
216 Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.25.1 release
218 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
220 2019-06-17 Carlos Garcia Campos <cgarcia@igalia.com>
222 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.25.2 release
224 * Source/cmake/OptionsGTK.cmake: Bump version numbers
226 2019-06-17 Carlos Garcia Campos <cgarcia@igalia.com>
228 Unreviewed. [GTK] Bump WPEBackend-fdo requirement to 1.3.1
230 * Source/cmake/OptionsGTK.cmake:
232 2019-06-13 Tim Horton <timothy_horton@apple.com>
234 Make it possible for validate-committer-lists to dump a mailmap file
235 https://bugs.webkit.org/show_bug.cgi?id=198517
237 Reviewed by Simon Fraser.
240 Ignore .mailmap files.
242 2019-06-11 Carlos Garcia Campos <cgarcia@igalia.com>
244 [GTK] Remove option REDIRECTED_XCOMPOSITE_WINDOW
245 https://bugs.webkit.org/show_bug.cgi?id=198748
247 Reviewed by Žan Doberšek.
249 * Source/cmake/OptionsGTK.cmake: Remove USE_REDIRECTED_XCOMPOSITE_WINDOW build option.
251 2019-06-10 Sam Weinig <weinig@apple.com>
253 Remove Dashboard support
254 https://bugs.webkit.org/show_bug.cgi?id=198615
256 Reviewed by Ryosuke Niwa.
258 * Source/cmake/OptionsMac.cmake:
259 * Source/cmake/WebKitFeatures.cmake:
261 2019-06-10 Philippe Normand <pnormand@igalia.com>
263 [WPE][Qt] Port to new wpe_fdo_egl_exported_image API
264 https://bugs.webkit.org/show_bug.cgi?id=198713
266 Reviewed by Carlos Garcia Campos.
268 * Source/cmake/OptionsWPE.cmake:
270 2019-06-04 Takashi Komori <Takashi.Komori@sony.com>
272 [WinCairo] Implement cpu and memory measuring functions.
273 https://bugs.webkit.org/show_bug.cgi?id=198466
275 Reviewed by Don Olmstead.
277 * Source/cmake/OptionsWin.cmake:
279 2019-06-03 Zan Dobersek <zdobersek@igalia.com>
281 [Nicosia] Disable async scrolling until implemented
282 https://bugs.webkit.org/show_bug.cgi?id=198476
284 Reviewed by Antti Koivisto.
286 Disable async scrolling on Nicosia-using ports until the underlying
287 implementation is complete, allowing easier refactorings of the general
288 async scrolling system.
290 * Source/cmake/OptionsGTK.cmake:
291 * Source/cmake/OptionsPlayStation.cmake:
292 * Source/cmake/OptionsWPE.cmake:
294 2019-05-30 Don Olmstead <don.olmstead@sony.com>
296 [CMake] Add WEBKIT_FRAMEWORK_TARGET macro
297 https://bugs.webkit.org/show_bug.cgi?id=198396
299 Reviewed by Konstantin Tokarev.
301 Add a macro to help create the WebKit::targets in CMake.
304 * Source/cmake/WebKitMacros.cmake:
306 2019-05-29 Don Olmstead <don.olmstead@sony.com>
308 Remove ENABLE definitions from WebKit config files
309 https://bugs.webkit.org/show_bug.cgi?id=197858
311 Reviewed by Simon Fraser.
313 Add ENABLE flags into WebKitFeatures.cmake and set the values for GTK and WPE according
314 to what was present in the config files.
316 * Source/cmake/OptionsGTK.cmake:
317 * Source/cmake/OptionsWPE.cmake:
318 * Source/cmake/WebKitFeatures.cmake:
320 2019-05-27 Carlos Garcia Campos <cgarcia@igalia.com>
322 [GTK] Use WPEBackend-fdo for accelerating compositing in Wayland instead of the nested compositor
323 https://bugs.webkit.org/show_bug.cgi?id=197944
325 Reviewed by Michael Catanzaro.
327 Add USE_WPE_RENDERER option to use WPEBackend-fdo.
329 * Source/cmake/OptionsGTK.cmake:
330 * Source/cmake/OptionsPlayStation.cmake:
331 * Source/cmake/OptionsWPE.cmake:
333 2019-05-27 Carlos Garcia Campos <cgarcia@igalia.com>
335 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.25.1 release
337 * Source/cmake/OptionsGTK.cmake: Bump version numbers
339 2019-05-23 Don Olmstead <don.olmstead@sony.com>
341 [CMake] Use target oriented design for bmalloc
342 https://bugs.webkit.org/show_bug.cgi?id=198046
344 Reviewed by Konstantin Tokarev.
346 Add WEBKIT_COPY_FILES to WebKitMacros so it is available to all CMake code. Add
347 bmalloc_FRAMEWORK_HEADERS_DIR for specifying the location to copy bmalloc headers to.
349 * Source/cmake/WebKitFS.cmake:
350 * Source/cmake/WebKitMacros.cmake:
352 2019-05-21 Don Olmstead <don.olmstead@sony.com>
354 [WinCairo] Build WebDriver
355 https://bugs.webkit.org/show_bug.cgi?id=198056
357 Reviewed by Carlos Garcia Campos.
359 Add ENABLE_WEBDRIVER as an experimental feature for WinCairo.
361 * Source/cmake/OptionsWin.cmake:
363 2019-05-21 Carlos Garcia Campos <cgarcia@igalia.com>
365 [WPE] Add initial accessibility support using ATK
366 https://bugs.webkit.org/show_bug.cgi?id=197413
368 Reviewed by Michael Catanzaro.
370 Add ENABLE_ACCESSIBILITY public option to WPE.
372 * Source/cmake/OptionsGTK.cmake:
373 * Source/cmake/OptionsWPE.cmake:
375 2019-05-20 Ross Kirsling <ross.kirsling@sony.com>
377 [WinCairo] Implement Remote Web Inspector Client.
378 https://bugs.webkit.org/show_bug.cgi?id=197434
380 Reviewed by Don Olmstead.
382 * Source/cmake/OptionsWin.cmake:
383 * Source/cmake/OptionsWinCairo.cmake:
385 2019-05-17 Don Olmstead <don.olmstead@sony.com>
387 [CMake] Use builtin FindICU
388 https://bugs.webkit.org/show_bug.cgi?id=197934
390 Reviewed by Michael Catanzaro.
392 Update CMake minimum required to 3.7. 3.7 has a FindICU module so the WebKit one
393 is removed. For non-Apple ports this just requires adding individual components of
394 ICU to find_package(ICU). For Apple ports the module does not work so the targets
395 created in FindICU are mirrored in target/icu.cmake.
398 * Source/cmake/FindICU.cmake: Removed.
399 * Source/cmake/OptionsAppleWin.cmake:
400 * Source/cmake/OptionsGTK.cmake:
401 * Source/cmake/OptionsJSCOnly.cmake:
402 * Source/cmake/OptionsMac.cmake:
403 * Source/cmake/OptionsPlayStation.cmake:
404 * Source/cmake/OptionsWPE.cmake:
405 * Source/cmake/OptionsWin.cmake:
406 * Source/cmake/OptionsWinCairo.cmake:
407 * Source/cmake/target/icu.cmake: Added.
409 2019-05-09 Xan López <xan@igalia.com>
411 [CMake] Detect SSE2 at compile time
412 https://bugs.webkit.org/show_bug.cgi?id=196488
414 Reviewed by Carlos Garcia Campos.
416 * Source/cmake/DetectSSE2.cmake: Added.
417 * Source/cmake/WebKitCompilerFlags.cmake: Detect SSE2 support and
418 add SSE2 to the global compiler flags.
420 2019-05-08 Don Olmstead <don.olmstead@sony.com>
422 [PlayStation] Update port options
423 https://bugs.webkit.org/show_bug.cgi?id=197723
425 Reviewed by Ross Kirsling.
427 Update the options used.
429 * Source/cmake/OptionsPlayStation.cmake:
431 2019-05-08 Ross Kirsling <ross.kirsling@sony.com>
433 Add .vs and .vscode directories to .gitignore.
434 https://bugs.webkit.org/show_bug.cgi?id=197727
436 Reviewed by Don Olmstead.
440 2019-05-07 Keith Rollin <krollin@apple.com>
442 Add option to build-webkit to control whether or not XCBuild is used
443 https://bugs.webkit.org/show_bug.cgi?id=197668
444 <rdar://problem/50549728>
446 Reviewed by Tim Horton.
448 Add --[no-]xcbuild to build-webkit to force the use of XCBuild or not.
449 Also update build-webkit and the makefiles with the foundation for
450 automatically using XCBuild when the conditions allow it. This latter
451 facility is currently turned off until Xcode fully supports building
456 2019-05-06 Christopher Reid <chris.reid@sony.com>
458 [CMake] fuse-ld should also be set in module linker flags
459 https://bugs.webkit.org/show_bug.cgi?id=197583
461 Reviewed by Michael Catanzaro.
463 Add fuse-ld to CMAKE_MODULE_LINKER_FLAGS.
465 * Source/cmake/OptionsCommon.cmake:
467 2019-05-03 Basuke Suzuki <Basuke.Suzuki@sony.com>
469 [WinCairo] Implement and enable RemoteInspector Server.
470 https://bugs.webkit.org/show_bug.cgi?id=197432
472 Reviewed by Ross Kirsling.
474 Add new build flag USE_INSPECTOR_SOCKET_SERVER to indicate using Socket implementation for RemoteInspector
475 protocol. Currently PlayStation is the only platform which uses this. WinCairo is the second one.
477 * Source/cmake/OptionsPlayStation.cmake:
478 * Source/cmake/OptionsWin.cmake:
479 * Source/cmake/OptionsWinCairo.cmake:
481 2019-05-03 Commit Queue <commit-queue@webkit.org>
483 Unreviewed, rolling out r244881.
484 https://bugs.webkit.org/show_bug.cgi?id=197559
486 Breaks compilation of jsconly on linux, breaking compilation
487 for jsc-i386-ews, jsc-mips-ews and jsc-armv7-ews (Requested by
488 guijemont on #webkit).
492 "[CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into
494 https://bugs.webkit.org/show_bug.cgi?id=197174
495 https://trac.webkit.org/changeset/244881
497 2019-05-02 Christopher Reid <chris.reid@sony.com>
499 [CMake] Add support for LTO builds
500 https://bugs.webkit.org/show_bug.cgi?id=188986
502 Reviewed by Don Olmstead.
504 Add LTO_MODE cmake variable to enable flto in clang builds.
505 Add support to use ld.lld to build with LTO.
507 * Source/cmake/OptionsCommon.cmake:
508 * Source/cmake/WebKitCompilerFlags.cmake:
510 2019-05-02 Don Olmstead <don.olmstead@sony.com>
512 [CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into WEBKIT_COPY_FILES
513 https://bugs.webkit.org/show_bug.cgi?id=197174
515 Reviewed by Alex Christensen.
517 Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES which is a general
518 purpose macro that copies files to a destination. WEBKIT_COPY_FILES removes the
519 requirement of a target being passed in so there is no longer any implicit dependency
520 between the target and the copying. Instead the dependencies need to be explicit.
522 This opens the macro up for use by third party libraries and for copying other files
525 * Source/cmake/WebKitMacros.cmake:
527 2019-05-01 Stephan Szabo <stephan.szabo@sony.com>
529 [PlayStation] Update port for WEBKIT_EXECUTABLE changes
530 https://bugs.webkit.org/show_bug.cgi?id=197483
532 Reviewed by Don Olmstead.
534 * Source/cmake/OptionsPlayStation.cmake:
535 Update wrapping for configuring executables' playstation
536 specific data to new WEBKIT_EXECUTABLE macro.
538 2019-04-30 Carlos Garcia Campos <cgarcia@igalia.com>
540 [GTK] Support prefers-color-scheme media query
541 https://bugs.webkit.org/show_bug.cgi?id=196685
543 Reviewed by Michael Catanzaro.
545 Enable DARK_MODE_CSS. Supported color schemes feature is not supported for now. I'm not sure we will be able to
546 suport it, because it requires to change the theme too many times, which is very slow in GTK.
548 * Source/cmake/OptionsGTK.cmake:
550 2019-04-29 Don Olmstead <don.olmstead@sony.com>
552 [CMake] Add WEBKIT_EXECUTABLE macro
553 https://bugs.webkit.org/show_bug.cgi?id=197206
555 Unreviewed build fix.
557 Calls to add_dependencies were not happening.
559 * Source/cmake/WebKitMacros.cmake:
561 2019-04-29 Basuke Suzuki <Basuke.Suzuki@sony.com>
563 [Win] Add flag to enable version information stamping and disable by default.
564 https://bugs.webkit.org/show_bug.cgi?id=197249
565 <rdar://problem/50224412>
567 Reviewed by Ross Kirsling.
569 This feature is only used in AppleWin port. Add flag for this task and make it OFF by default.
570 Then enable it by default on AppleWin.
572 * Source/cmake/OptionsWin.cmake:
574 2019-04-28 Andy Estes <aestes@apple.com>
576 Fix the watchOS engineering build.
578 * Source/Makefile: Moved libwebrtc logic into Source/ThirdParty/Makefile.
580 2019-04-26 Don Olmstead <don.olmstead@sony.com>
582 [CMake] Add WEBKIT_EXECUTABLE macro
583 https://bugs.webkit.org/show_bug.cgi?id=197206
585 Reviewed by Konstantin Tokarev.
587 Add WEBKIT_EXECUTABLE macro for creating executable targets. This wraps the creation of
588 executable targets using the same conventions of WEBKIT_FRAMEWORK.
590 Common code from the two macros were moved to WEBKIT_TARGET which is meant as an internal
593 Add WEBKIT_WRAP_EXECUTABLE macro to support Windows targets which use a DLLLauncherMain to
594 launch the executable.
596 * Source/cmake/WebKitMacros.cmake:
598 2019-04-25 Fujii Hironori <Hironori.Fujii@sony.com>
600 Unreviewed, rolling out r244669.
602 Windows ports can't clean build.
606 "[Win] Add flag to enable version information stamping and
608 https://bugs.webkit.org/show_bug.cgi?id=197249
609 https://trac.webkit.org/changeset/244669
611 2019-04-25 Basuke Suzuki <Basuke.Suzuki@sony.com>
613 [Win] Add flag to enable version information stamping and disable by default.
614 https://bugs.webkit.org/show_bug.cgi?id=197249
616 Reviewed by Ross Kirsling.
618 This feature is only used in AppleWin port. Add flag for this task and make it OFF by default.
619 Then enable it by default on AppleWin.
621 * Source/cmake/OptionsWin.cmake:
623 2019-04-25 Alex Christensen <achristensen@webkit.org>
626 https://bugs.webkit.org/show_bug.cgi?id=197131
628 Reviewed by Darin Adler.
630 * Source/cmake/OptionsMSVC.cmake:
631 * Source/cmake/WebKitCompilerFlags.cmake:
633 2019-04-24 Carlos Garcia Campos <cgarcia@igalia.com>
635 [GTK] Hardcoded text color in input fields
636 https://bugs.webkit.org/show_bug.cgi?id=126907
638 Reviewed by Michael Catanzaro.
640 Set and expose to build HAVE_OS_DARK_MODE_SUPPORT=1.
642 * Source/cmake/OptionsGTK.cmake:
644 2019-04-23 Don Olmstead <don.olmstead@sony.com>
646 [CMake][Win] Use target oriented design for WebKit
647 https://bugs.webkit.org/show_bug.cgi?id=197173
649 Reviewed by Alex Christensen.
651 Override WebKit_DERIVED_SOUCES_DIR within WinCairo in support of a target
654 * Source/cmake/OptionsWinCairo.cmake:
656 2019-04-20 Don Olmstead <don.olmstead@sony.com>
658 [CMake][Win] Use target oriented design for WebKitLegacy
659 https://bugs.webkit.org/show_bug.cgi?id=197112
661 Reviewed by Konstantin Tokarev.
663 Override WebKitLegacy_DERIVED_SOURCES_DIR within WinCairo in support of a target
666 * Source/cmake/OptionsWinCairo.cmake:
668 2019-04-18 Ross Kirsling <ross.kirsling@sony.com>
670 [WinCairo] Non-unified build fails to link Tools
671 https://bugs.webkit.org/show_bug.cgi?id=196866
673 Reviewed by Fujii Hironori.
675 * Source/cmake/OptionsWin.cmake:
676 Build WebCore as an object library when unified builds are disabled
677 (and we haven't explicitly asked to build it as a shared library).
678 This is necessary for two reasons:
679 - Non-unified WebCore.lib is too large for the MSVC linker to create (>4GB).
680 - Some WebCore object files are not actually used, but DumpRenderTree and TestRunnerInjectedBundle
681 still expect that their symbols will be re-exported via WebKit[Legacy].
683 2019-04-17 Jer Noble <jer.noble@apple.com>
685 Automatically use ccache when available for Makefile builds
686 https://bugs.webkit.org/show_bug.cgi?id=197020
688 Reviewed by Alex Christensen.
692 2019-04-16 Don Olmstead <don.olmstead@sony.com>
694 [CMake] Set WTF_SCRIPTS_DIR
695 https://bugs.webkit.org/show_bug.cgi?id=196917
697 Reviewed by Konstantin Tokarev.
699 Define WTF_SCRIPTS_DIR in WebKitFS.cmake and use that within the WEBKIT_COMPUTE_SOURCES
700 macro. This allows it to be overridden by a port such as the AppleWin internal build.
702 * Source/cmake/OptionsAppleWin.cmake:
703 * Source/cmake/OptionsWinCairo.cmake:
704 * Source/cmake/WebKitFS.cmake:
705 * Source/cmake/WebKitMacros.cmake:
707 2019-04-15 Don Olmstead <don.olmstead@sony.com>
709 [CMake] WebCore derived sources should only be referenced inside WebCore
710 https://bugs.webkit.org/show_bug.cgi?id=196904
712 Reviewed by Konstantin Tokarev.
714 Override WebCore_DERIVED_SOURCES_DIR for WinCairo.
716 * Source/cmake/OptionsWinCairo.cmake:
718 2019-04-14 Don Olmstead <don.olmstead@sony.com>
720 [CMake] JavaScriptCore derived sources should only be referenced inside JavaScriptCore
721 https://bugs.webkit.org/show_bug.cgi?id=196742
723 Reviewed by Konstantin Tokarev.
725 Migrate to using JavaScriptCore_DERIVED_SOURCES_DIR instead of DERIVED_SOURCES_JAVASCRIPTCORE_DIR
726 to support moving the JavaScriptCore derived sources outside of a shared directory.
727 This is in support of the target oriented design refactoring.
729 WinCairo is explicitly overriding the value as a canary for this setup.
731 Also move JavaScriptCore_SCRIPTS_DIR to WebKitFS to remove logic setting it in other projects.
733 * Source/PlatformWin.cmake:
734 * Source/cmake/OptionsAppleWin.cmake:
735 * Source/cmake/OptionsWinCairo.cmake:
736 * Source/cmake/WebKitFS.cmake:
738 2019-04-10 Michael Catanzaro <mcatanzaro@igalia.com>
740 Unreviewed, rolling out r243989.
746 "[CMake] Detect SSE2 at compile time"
747 https://bugs.webkit.org/show_bug.cgi?id=196488
748 https://trac.webkit.org/changeset/243989
750 2019-04-09 Don Olmstead <don.olmstead@sony.com>
752 [CMake] WEBKIT_COMPUTE_SOURCES should use the target's derived sources directory
753 https://bugs.webkit.org/show_bug.cgi?id=196741
755 Reviewed by Michael Catanzaro.
757 WEBKIT_COMPUTE_SOURCES is using ${DERIVED_SOURCES_DIR} directly. Instead it should
758 rely on the directory specified by the target.
760 * Source/cmake/WebKitFS.cmake:
761 Add variables that can be expanded within CMake to the derived sources directory for
764 * Source/cmake/WebKitMacros.cmake:
765 Use variable expansion rather than ${DERIVED_SOURCES_DIR} to determine the target's
766 derived sources directory.
768 2019-04-09 Don Olmstead <don.olmstead@sony.com>
770 [CMake] WTF derived sources should only be referenced inside WTF
771 https://bugs.webkit.org/show_bug.cgi?id=196706
773 Reviewed by Konstantin Tokarev.
775 * Source/cmake/OptionsWinCairo.cmake:
776 * Source/cmake/WebKitFS.cmake:
778 2019-04-09 Don Olmstead <don.olmstead@sony.com>
780 [CMake] Apple builds should use ICU_INCLUDE_DIRS
781 https://bugs.webkit.org/show_bug.cgi?id=196720
783 Reviewed by Konstantin Tokarev.
785 The Apple platform is using ${DERIVED_SOURCES_WTF_DIR} for hosting the ICU headers.
786 Instead it should stage the headers into ${ICU_INCLUDE_DIRS} so no special handling
789 * Source/cmake/OptionsJSCOnly.cmake:
790 * Source/cmake/OptionsMac.cmake:
792 2019-04-08 Don Olmstead <don.olmstead@sony.com>
794 [CMake][WinCairo] Separate copied headers into different directories
795 https://bugs.webkit.org/show_bug.cgi?id=196655
797 Reviewed by Michael Catanzaro.
799 Add variables for the paths to copied framework headers. This is done to be
800 explicit rather than relying on ${FORWARDING_HEADERS_DIR}.
802 Currently all ports but WinCairo will default to ${FORWARDING_HEADERS_DIR}.
803 WinCairo overrides them to provide a directory structure that looks more
804 like what happens in an XCode build. This is meant as an intermediate step
805 towards making all CMake ports behave like this.
807 * Source/cmake/OptionsWinCairo.cmake:
808 * Source/cmake/WebKitFS.cmake:
809 * Source/cmake/WebKitMacros.cmake:
811 2019-04-08 Xan Lopez <xan@igalia.com>
813 [CMake] Detect SSE2 at compile time
814 https://bugs.webkit.org/show_bug.cgi?id=196488
816 Reviewed by Carlos Garcia Campos.
818 * CMakeLists.txt: Use FindSSE2.cmake to detect SSE2 support.
819 * Source/cmake/FindSSE2.cmake: Added.
821 2019-04-05 Commit Queue <commit-queue@webkit.org>
823 Unreviewed, rolling out r243833.
824 https://bugs.webkit.org/show_bug.cgi?id=196645
826 This change breaks build of WPE and GTK ports (Requested by
831 "[CMake][WTF] Mirror XCode header directories"
832 https://bugs.webkit.org/show_bug.cgi?id=191662
833 https://trac.webkit.org/changeset/243833
835 2019-04-03 Don Olmstead <don.olmstead@sony.com>
837 [CMake][WTF] Mirror XCode header directories
838 https://bugs.webkit.org/show_bug.cgi?id=191662
840 Reviewed by Konstantin Tokarev.
842 Add WTF_FRAMEWORK_HEADERS_DIR to place WTF headers into. Add frameworks/WTF.cmake
843 which creates an interface target which will populate dependencies for consumers.
844 This file is added here to support AppleWin internal builds which invoke CMake on
847 * Source/cmake/WebKitFS.cmake:
848 * Source/cmake/frameworks/WTF.cmake: Added.
850 2019-04-03 Myles C. Maxfield <mmaxfield@apple.com>
852 Remove support for -apple-trailing-word
853 https://bugs.webkit.org/show_bug.cgi?id=196525
855 Reviewed by Zalan Bujtas.
857 This CSS property is nonstandard and not used.
859 * Source/cmake/WebKitFeatures.cmake:
861 2019-04-02 Fujii Hironori <Hironori.Fujii@sony.com>
863 [CMake] WEBKIT_MAKE_FORWARDING_HEADERS shouldn't use POST_BUILD to copy generated headers
864 https://bugs.webkit.org/show_bug.cgi?id=182757
866 Reviewed by Don Olmstead.
868 Some generated headers need to be exported to its client modules.
869 Before this change, WEBKIT_MAKE_FORWARDING_HEADERS copies all *.h
870 files in the directory specified by DERIVED_SOURCE_DIRECTORIES
871 parameter. The copy operation was triggered by POST_BUILD event.
873 This caused build dependency issues for Ninja builds. This change
874 remove the DERIVED_SOURCE_DIRECTORIES parameter. And list all
875 generated headers explicitly which need to be copied.
877 * Source/cmake/WebKitMacros.cmake: Removed
878 DERIVED_SOURCE_DIRECTORIES parameter of
879 WEBKIT_MAKE_FORWARDING_HEADERS. Accept absolute paths for FILES
882 2019-04-01 Fujii Hironori <Hironori.Fujii@sony.com>
884 [CMake] Remove EXTRA_DIRECTORIES parameter of WEBKIT_MAKE_FORWARDING_HEADERS
885 https://bugs.webkit.org/show_bug.cgi?id=196436
887 Reviewed by Darin Adler.
889 The parameter was only for WebCore/ForwardingHeaders which was
890 removed in Bug 182347.
892 * Source/cmake/WebKitMacros.cmake: Remove unused EXTRA_DIRECTORIES parameter.
894 2019-04-01 Stephan Szabo <stephan.szabo@sony.com>
896 [PlayStation] Add initialization for JSC shell for PlayStation port
897 https://bugs.webkit.org/show_bug.cgi?id=195411
899 Reviewed by Ross Kirsling.
901 Add functions for doing the automatic libc, floating point
902 initializations, signing of binaries and libraries and
903 wrapping of libc functions on PlayStation port.
905 * Source/cmake/OptionsPlayStation.cmake:
907 2019-03-29 Myles C. Maxfield <mmaxfield@apple.com>
909 Delete WebMetal implementation in favor of WebGPU
910 https://bugs.webkit.org/show_bug.cgi?id=195418
912 Reviewed by Dean Jackson.
914 * Source/cmake/OptionsMac.cmake:
915 * Source/cmake/WebKitFeatures.cmake:
916 * Source/cmake/tools/vsprops/FeatureDefines.props:
917 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
919 2019-03-29 Cathie Chen <cathiechen@igalia.com>
921 Implement ResizeObserver.
922 https://bugs.webkit.org/show_bug.cgi?id=157743
924 Reviewed by Simon Fraser.
926 Add ENABLE_RESIZE_OBSERVER.
928 * Source/cmake/WebKitFeatures.cmake:
930 2019-03-25 Adrian Perez de Castro <aperez@igalia.com>
932 [WPE][GTK] Make building WebVR (w/OpenVR) not depend on ENABLE_EXPERIMENTAL_FEATURES
933 https://bugs.webkit.org/show_bug.cgi?id=196223
935 Reviewed by Michael Catanzaro.
937 Disentangle USE_OPENVR from ENABLE_EXPERIMENTAL_FEATURES, making it
938 unneeded to include ThirdParty/openvr/ in release tarballs.
940 * Source/cmake/OptionsGTK.cmake: Set USE_OPENVR to OFF by default,
941 instead of making it use the value of ENABLE_EXPERIMENTAL_FEATURES.
942 * Source/cmake/OptionsWPE.cmake: Ditto.
944 2019-03-25 Xan López <xan@igalia.com>
946 [WTF] Fix typo when forcing WTF_CPU_X86
947 https://bugs.webkit.org/show_bug.cgi?id=196204
949 Reviewed by Michael Catanzaro.
951 Fix a typo when setting the WTF_CPU variable for X86.
955 2019-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
957 [GTK] Remove build time dependency on Geoclue2
958 https://bugs.webkit.org/show_bug.cgi?id=195994
960 Reviewed by Michael Catanzaro.
962 Remove USE_GEOCLUE build option.
964 * Source/cmake/FindGeoClue2.cmake: Removed.
965 * Source/cmake/OptionsGTK.cmake:
967 2019-03-21 Carlos Garcia Campos <cgarcia@igalia.com>
969 [GTK][WPE] Add API to provide geolocation information
970 https://bugs.webkit.org/show_bug.cgi?id=195940
972 Reviewed by Michael Catanzaro.
974 Build with geolocation enabled by default in both GTK and WPE. In GTK add a specific USE_GEOCLUE build option
975 instead of using ENABLE_GEOLOCATION.
977 * Source/cmake/OptionsGTK.cmake:
978 * Source/cmake/OptionsWPE.cmake:
980 2019-03-20 Simon Fraser <simon.fraser@apple.com>
982 Rename ENABLE_ACCELERATED_OVERFLOW_SCROLLING macro to ENABLE_OVERFLOW_SCROLLING_TOUCH
983 https://bugs.webkit.org/show_bug.cgi?id=196049
985 Reviewed by Tim Horton.
987 This macro is about the -webkit-overflow-scrolling CSS property, not accelerated
988 overflow scrolling in general, so rename it.
990 * Source/cmake/OptionsMac.cmake:
991 * Source/cmake/OptionsWin.cmake:
992 * Source/cmake/WebKitFeatures.cmake:
993 * Source/cmake/tools/vsprops/FeatureDefines.props:
994 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
996 2019-03-19 Christopher Reid <chris.reid@sony.com>
998 [CMake] Support more clang and gcc sanitizers
999 https://bugs.webkit.org/show_bug.cgi?id=195956
1001 Reviewed by Michael Catanzaro.
1003 Add support to compile with undefined, thread, memory, and leak sanitizers in cmake.
1004 Also add ubsan and asan support when compiling with clang-cl on WinCairo.
1005 This changes ENABLE_ADDRESS_SANITIZER flag to a generic ENABLE_SANITIZERS
1006 which takes a semicolon separated list of sanitizers to enable.
1007 e.g. `-DENABLE_SANITIZERS=address;undefined`
1009 Building WinCairo with sanitizers enabled also needs CLANG_LIB_PATH set to the clang compiler runtime library folder.
1010 e.g. pass `--cmakeargs="-DCLANG_LIB_PATH=\"C:\Program Files\LLVM\lib\clang\7.0.1\lib\windows\""` to build-webkit
1012 * Source/cmake/WebKitCompilerFlags.cmake:
1014 2019-03-18 Adrian Perez de Castro <aperez@igalia.com>
1016 [WPE] Bump public API to wpe-1.0
1017 https://bugs.webkit.org/show_bug.cgi?id=195887
1019 Reviewed by Philippe Normand.
1021 * Source/cmake/OptionsWPE.cmake: Bump public API version to 1.0
1023 2019-03-18 Adrian Perez de Castro <aperez@igalia.com>
1025 [WPE] Bump dependencies to wpe-1.0 and wpebackend-fdo-1.0
1026 https://bugs.webkit.org/show_bug.cgi?id=195786
1028 Reviewed by Philippe Normand.
1030 * Source/cmake/FindWPE.cmake: Check for the wpe-1.0 pkg-config package.
1032 2019-03-11 Xan Lopez <xan@igalia.com>
1034 [CMake] Build 32bit binaries on Linux/64bit when the --32-bit is passed to build-jsc
1035 https://bugs.webkit.org/show_bug.cgi?id=194147
1037 Reviewed by Michael Saboff.
1039 * CMakeLists.txt: set WTF_CPU properly if FORCE_32BIT is set in
1042 2019-03-11 Michael Catanzaro <mcatanzaro@igalia.com>
1044 [WPE] Enable web process sandbox
1045 https://bugs.webkit.org/show_bug.cgi?id=195169
1047 Reviewed by Daniel Bates.
1049 * Source/cmake/BubblewrapSandboxChecks.cmake: Added.
1050 * Source/cmake/OptionsGTK.cmake:
1051 * Source/cmake/OptionsWPE.cmake:
1053 2019-03-07 Commit Queue <commit-queue@webkit.org>
1055 Unreviewed, rolling out r242354.
1056 https://bugs.webkit.org/show_bug.cgi?id=195402
1058 breaks layout tests in all configurations (Requested by
1059 zdobersek on #webkit).
1063 "[WPE] Enable web process sandbox"
1064 https://bugs.webkit.org/show_bug.cgi?id=195169
1065 https://trac.webkit.org/changeset/242354
1067 2019-03-06 Ross Kirsling <ross.kirsling@sony.com>
1069 [Win] Remove -DUCHAR_TYPE=wchar_t stopgap and learn to live with char16_t.
1070 https://bugs.webkit.org/show_bug.cgi?id=195346
1072 Reviewed by Fujii Hironori.
1074 * Source/cmake/OptionsJSCOnly.cmake:
1075 * Source/cmake/OptionsWin.cmake:
1076 Stop compiling with -DUCHAR_TYPE=wchar_t.
1078 2019-03-06 Don Olmstead <don.olmstead@sony.com>
1080 [WinCairo] Enable additional experimental features
1081 https://bugs.webkit.org/show_bug.cgi?id=195363
1083 Reviewed by Ross Kirsling.
1085 Turn on ENABLE_APPLICATION_MANIFEST, ENABLE_FILTERS_LEVEL_2, ENABLE_CSS_PAINTING_API,
1086 and ENABLE_VARIATION_FONTS. This will allow testing and development of these features
1089 * Source/cmake/OptionsWin.cmake:
1091 2019-03-05 Don Olmstead <don.olmstead@sony.com>
1093 [WinCairo] Enable CSS Typed OM
1094 https://bugs.webkit.org/show_bug.cgi?id=195340
1096 Reviewed by Myles C. Maxfield.
1098 * Source/cmake/OptionsWin.cmake:
1100 2019-03-04 Michael Catanzaro <mcatanzaro@igalia.com>
1102 [WPE] Enable web process sandbox
1103 https://bugs.webkit.org/show_bug.cgi?id=195169
1105 Reviewed by Daniel Bates.
1107 * Source/cmake/BubblewrapSandboxChecks.cmake: Added.
1108 * Source/cmake/OptionsGTK.cmake:
1109 * Source/cmake/OptionsWPE.cmake:
1111 2019-03-01 Don Olmstead <don.olmstead@sony.com>
1113 [WinCairo] Enable service worker
1114 https://bugs.webkit.org/show_bug.cgi?id=188318
1116 Reviewed by Youenn Fablet.
1118 * Source/cmake/OptionsWin.cmake:
1120 2019-02-28 Don Olmstead <don.olmstead@sony.com>
1122 [WinCairo] Turn ENABLE_RESOURCE_LOAD_STATISTICS on
1123 https://bugs.webkit.org/show_bug.cgi?id=194267
1125 Reviewed by Brent Fulgham.
1127 * Source/cmake/OptionsWin.cmake:
1129 2019-02-28 Carlos Garcia Campos <cgarcia@igalia.com>
1131 [CoordinatedGraphics] Remove COORDINATED_GRAPHICS_THREADED option
1132 https://bugs.webkit.org/show_bug.cgi?id=195159
1134 Reviewed by Don Olmstead.
1136 * Source/cmake/OptionsGTK.cmake:
1137 * Source/cmake/OptionsPlayStation.cmake:
1138 * Source/cmake/OptionsWPE.cmake:
1140 2019-02-26 Gabe Giosia <giosia@google.com>
1142 Incorrect formatting around command in Readme.md
1143 https://bugs.webkit.org/show_bug.cgi?id=195061
1145 Reviewed by Fujii Hironori.
1147 * ReadMe.md: removed stray period
1149 2019-02-26 Dominik Infuehr <dinfuehr@igalia.com>
1151 Fix warnings on ARM and MIPS
1152 https://bugs.webkit.org/show_bug.cgi?id=195049
1154 Reviewed by Mark Lam.
1156 Disable warnings for changes to the ABI with GCC 7.1.
1158 * Source/cmake/WebKitCompilerFlags.cmake:
1160 2019-02-25 Adrian Perez de Castro <aperez@igalia.com>
1162 [WPE] Bump WPEBackend-fdo requirement to API version 1.0
1163 https://bugs.webkit.org/show_bug.cgi?id=195001
1165 Reviewed by Carlos Garcia Campos.
1167 * Source/cmake/FindWPEBackend-fdo.cmake: Use WPEBackend-fdo-1.0.
1168 * Source/cmake/OptionsWPE.cmake: Ditto.
1170 2019-02-25 Miguel Gomez <magomez@igalia.com>
1172 [WPE] Add support for holepunch using an external video player
1173 https://bugs.webkit.org/show_bug.cgi?id=194899
1175 Reviewed by Xabier Rodriguez-Calvar.
1177 Add EXTERNAL_HOLEPUNCH option to the WPE port. Add a manual test to check the
1178 feature. Rename and update the test for GStreamer holepunch to avoid confusion.
1180 * ManualTests/wpe/video-player-holepunch-external.html: Added.
1181 * ManualTests/wpe/video-player-holepunch-gstreamer.html: Renamed from ManualTests/wpe/video-player-holepunch.html.
1182 * Source/cmake/OptionsWPE.cmake:
1184 2019-02-24 Devin Rousso <drousso@apple.com>
1186 Web Inspector: Change the InspectorOverlay to use native rather than canvas
1187 https://bugs.webkit.org/show_bug.cgi?id=105023
1188 <rdar://problem/13443692>
1190 Reviewed by Brian Burg.
1192 * ManualTests/inspector/overlay-nodes.html: Added.
1193 * ManualTests/inspector/overlay-rulers.html: Added.
1195 2019-02-22 Adrian Perez de Castro <aperez@igalia.com>
1197 Unreviewed. Bump version numbers
1199 * Source/cmake/OptionsWPE.cmake:
1201 2019-02-21 Carlos Garcia Campos <cgarcia@igalia.com>
1203 Unreviewed. Bump version numbers
1205 * Source/cmake/OptionsGTK.cmake:
1207 2019-02-21 Adrian Perez de Castro <aperez@igalia.com>
1209 [WPE] Do not hardcode WPEBackend-fdo library name for linking tests
1210 https://bugs.webkit.org/show_bug.cgi?id=194901
1212 Unreviewed build fix.
1214 * Source/cmake/FindWPEBackend-fdo.cmake: Use WPEBACKEND_FDO as prefix
1215 for the output variables instead of WPEBackend-fdo, for consistency
1216 with other usages of of find_package_handle_standard_args().
1218 2019-02-11 Adrian Perez de Castro <aperez@igalia.com>
1220 [GTK][WPE] Add content extensions support in WKTR and unskip layout tests
1221 https://bugs.webkit.org/show_bug.cgi?id=193622
1223 Reviewed by Michael Catanzaro.
1225 * Source/cmake/OptionsGTK.cmake: Enable CONTENT_EXTENSIONS by default.
1226 * Source/cmake/OptionsWPE.cmake: Ditto.
1227 * Source/cmake/WebKitFeatures.cmake: Add a private CONTENT_EXTENSIONS option.
1229 2019-02-07 Miguel Gomez <magomez@igalia.com>
1231 [WPE] Implement GStreamer based holepunch
1232 https://bugs.webkit.org/show_bug.cgi?id=193715
1234 Reviewed by Xabier Rodriguez-Calvar.
1236 Add GSTREAMER_HOLEPUNCH option to the WPE port with a manual test to
1239 * ManualTests/wpe/video-player-holepunch.html: Added.
1240 * Source/cmake/OptionsWPE.cmake:
1242 2019-02-01 Carlos Garcia Campos <cgarcia@igalia.com>
1244 [WPE] Enable font variations
1245 https://bugs.webkit.org/show_bug.cgi?id=194148
1247 Reviewed by Žan Doberšek.
1249 Enable variation fonts when required dependencies are available.
1251 * Source/cmake/OptionsWPE.cmake:
1253 2019-01-24 Guillaume Emont <guijemont@igalia.com>
1255 [JSC] Reenable baseline JIT on mips
1256 https://bugs.webkit.org/show_bug.cgi?id=192983
1258 Reviewed by Mark Lam.
1260 Use baseline JIT by default on MIPS.
1262 * Source/cmake/WebKitFeatures.cmake:
1264 2019-01-24 Carlos Garcia Campos <cgarcia@igalia.com>
1266 [GTK][WPE] Support JPEG 2000 images
1267 https://bugs.webkit.org/show_bug.cgi?id=186272
1269 Reviewed by Žan Doberšek.
1271 Add USE_OPENJPEG build option.
1273 * Source/cmake/OptionsGTK.cmake:
1274 * Source/cmake/OptionsWPE.cmake:
1276 2019-01-18 Jer Noble <jer.noble@apple.com>
1278 SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
1279 https://bugs.webkit.org/show_bug.cgi?id=189553
1281 Reviewed by Tim Horton.
1285 2019-01-18 Philippe Normand <pnormand@igalia.com>
1287 [WPE] Add Qt extension
1288 https://bugs.webkit.org/show_bug.cgi?id=191464
1290 Reviewed by Carlos Garcia Campos.
1292 * Source/cmake/OptionsWPE.cmake: Add ENABLE_WPE_QT_API CMake option. Disabled by default.
1294 2019-01-17 Truitt Savell <tsavell@apple.com>
1296 Unreviewed, rolling out r240124.
1298 This commit broke an internal build.
1302 "SDK_VARIANT build destinations should be separate from non-
1304 https://bugs.webkit.org/show_bug.cgi?id=189553
1305 https://trac.webkit.org/changeset/240124
1307 2019-01-17 Jer Noble <jer.noble@apple.com>
1309 SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
1310 https://bugs.webkit.org/show_bug.cgi?id=189553
1312 Reviewed by Tim Horton.
1316 2019-01-17 Per Arne Vollan <pvollan@apple.com>
1318 [Win] gperf command not found
1319 https://bugs.webkit.org/show_bug.cgi?id=193538
1320 <rdar://problem/47250549>
1322 Reviewed by Brent Fulgham.
1324 CMake only searches for gperf if ENABLE_WEBCORE is on. ENABLE_WEBCORE needs to be set to ON.
1326 * Source/cmake/OptionsAppleWin.cmake:
1328 2019-01-14 Carlos Garcia Campos <cgarcia@igalia.com>
1330 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.23.3 release
1332 * Source/cmake/OptionsGTK.cmake: Bump version numbers
1334 2019-01-08 Carlos Garcia Campos <cgarcia@igalia.com>
1336 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.23.2 release
1338 * Source/cmake/OptionsGTK.cmake: Bump version numbers
1340 2019-01-07 Don Olmstead <don.olmstead@sony.com>
1342 [CMake] Add ENABLE_CSS_TYPED_OM option
1343 https://bugs.webkit.org/show_bug.cgi?id=193216
1345 Reviewed by Michael Catanzaro.
1347 * Source/cmake/WebKitFeatures.cmake:
1349 2018-12-30 Yusuke Suzuki <yusukesuzuki@slowstart.org>
1351 gperf is only used in WebCore
1352 https://bugs.webkit.org/show_bug.cgi?id=193061
1354 Reviewed by Don Olmstead.
1356 gperf is only used in WebCore. So if the port does not have WebCore,
1357 it is not necessary. For example, JSCOnly port does not require it.
1358 This patch removes gperf dependency in these ports by checking
1361 * Source/cmake/WebKitCommon.cmake:
1363 2018-12-28 Yusuke Suzuki <yusukesuzuki@slowstart.org>
1365 Add ENABLE_UNIFIED_BUILDS option to cmake ports
1366 https://bugs.webkit.org/show_bug.cgi?id=193045
1368 Reviewed by Don Olmstead.
1370 This patch adds ENABLE_UNIFIED_BUILDS option to cmake ports, which allows us to disable Unified Builds in WebKit.
1371 This makes `compile_commands.json` sane when the unified builds is disabled, and various tools can use this
1372 compilation database. For example, YouCompleteMe completion server can use it.
1374 * Source/cmake/WebKitFeatures.cmake:
1375 * Source/cmake/WebKitMacros.cmake:
1377 2018-12-27 Alex Christensen <achristensen@webkit.org>
1379 Resurrect Mac CMake build
1380 https://bugs.webkit.org/show_bug.cgi?id=192658
1382 Reviewed by Yusuke Suzuki.
1384 * Source/cmake/OptionsMac.cmake:
1386 2018-12-19 Adrian Perez de Castro <aperez@igalia.com>
1388 [GTK] Cannot build with CMake <3.7
1389 https://bugs.webkit.org/show_bug.cgi?id=192865
1391 Reviewed by Michael Catanzaro.
1393 * Source/cmake/OptionsGTK.cmake: Convert usage of VERSION_GREATER_EQUAL to a
1394 combination of VERSION_GREATER + STREQUAL.
1396 2018-12-19 Lucas Stach <l.stach@pengutronix.de>
1398 Fix build on 64bit ARM with arm64 SYSTEM_PROCESSOR
1399 https://bugs.webkit.org/show_bug.cgi?id=192497
1401 Reviewed by Philippe Normand.
1403 Android and some embedded Linux build systems use arm64 instead of
1404 aarch64 as the CMAKE_HOST_PROCESSOR. Fix the JIT build for this scenario.
1408 2018-12-12 Carlos Garcia Campos <cgarcia@igalia.com>
1410 [FreeType] Add initial implementation of variation fonts
1411 https://bugs.webkit.org/show_bug.cgi?id=192151
1413 Reviewed by Michael Catanzaro.
1415 Enable variation fonts in GTK+ port when required dependencies are available.
1417 * Source/cmake/OptionsGTK.cmake:
1419 2018-12-12 Michael Catanzaro <mcatanzaro@igalia.com>
1421 Unreviewed manual rollout of r239100-r239102 and r239116
1422 https://bugs.webkit.org/show_bug.cgi?id=192151
1423 <rdar://problem/46655586>
1425 * Source/cmake/OptionsGTK.cmake:
1427 2018-12-12 Carlos Garcia Campos <cgarcia@igalia.com>
1429 [FreeType] Add initial implementation of variation fonts
1430 https://bugs.webkit.org/show_bug.cgi?id=192151
1432 Reviewed by Michael Catanzaro.
1434 Enable variation fonts in GTK+ port when required dependencies are available.
1436 * Source/cmake/OptionsGTK.cmake:
1438 2018-12-10 Don Olmstead <don.olmstead@sony.com>
1440 [CMake] Add ENABLE_RESOURCE_LOAD_STATISTICS to WebKitFeatures.cmake
1441 https://bugs.webkit.org/show_bug.cgi?id=192574
1443 Reviewed by Michael Catanzaro.
1445 * Source/cmake/WebKitFeatures.cmake:
1447 2018-12-10 Ross Kirsling <ross.kirsling@sony.com>
1449 Add test262-results directory to .gitignore.
1450 https://bugs.webkit.org/show_bug.cgi?id=192547
1452 Reviewed by Dean Jackson.
1456 2018-12-06 Carlos Eduardo Ramalho <cadubentzen@gmail.com>
1458 [GStreamer] -DENABLE_VIDEO=ON -DENABLE_OPENGL=OFF still tries to build GstreamerGL
1459 https://bugs.webkit.org/show_bug.cgi?id=191998
1461 Reviewed by Philippe Normand.
1463 Fix compilation with -DENABLE_VIDEO=ON and -DENABLE_OPENGL=OFF due to GStreamerGL.
1465 * Source/cmake/GStreamerDependencies.cmake: "DEFINED ENABLE_OPENGL" is always false because ENABLE_OPENGL
1466 is not a CMake variable (WEBKIT_OPTION_DEFINE macro does not define ENABLE_OPENGL variable per se, but other
1467 variables and appends it to a list).
1468 * Source/cmake/OptionsGTK.cmake: GStreamerDefinitions.cmake was included twice by mistake. Second should be GStreamerDependencies.cmake.
1470 2018-12-06 Carlos Eduardo Ramalho <cadubentzen@gmail.com>
1472 REGRESSION(r231043): [GTK] Undefined references to WebCore::LayerRepresentation::* with -DENABLE_OPENGL=OFF builds
1473 https://bugs.webkit.org/show_bug.cgi?id=191997
1475 Reviewed by Philippe Normand.
1477 Fix build with -DENABLE_OPENGL=OFF and -DENABLE_VIDEO=OFF
1479 * Source/cmake/OptionsGTK.cmake: make ENABLE_ASYNC_SCROLLING depend on ENABLE_OPENGL
1481 2018-12-05 Don Olmstead <don.olmstead@sony.com>
1483 [PlayStation] Enable WebCore
1484 https://bugs.webkit.org/show_bug.cgi?id=192384
1486 Reviewed by Brent Fulgham.
1488 Adds CMake options for building WebCore on PlayStation.
1490 * Source/cmake/FindLibPSL.cmake:
1491 * Source/cmake/FindNghttp2.cmake: Copied from Source/cmake/FindWPE.cmake.
1492 * Source/cmake/FindPixman.cmake: Added.
1493 * Source/cmake/FindWPE.cmake:
1494 * Source/cmake/OptionsPlayStation.cmake:
1496 2018-12-04 Carlos Eduardo Ramalho <cadubentzen@gmail.com>
1499 https://bugs.webkit.org/show_bug.cgi?id=178900
1501 Reviewed by Michael Catanzaro.
1503 Add gtk-doc to WPE port. This patch tries to reuse as much code from
1504 WebKitGTK+ as possible.
1506 * Source/PlatformGTK.cmake: include GtkDoc.cmake instead of defining macro.
1507 * Source/PlatformWPE.cmake: Added documentation generation.
1508 * Source/cmake/GtkDoc.cmake: Added.
1509 * Source/cmake/OptionsWPE.cmake: Added ENABLE_GTKDOC build option and added pkg-config path variables.
1511 2018-12-03 Don Olmstead <don.olmstead@sony.com>
1513 [CMake] Sync feature defines
1514 https://bugs.webkit.org/show_bug.cgi?id=191167
1516 Reviewed by Michael Catanzaro.
1518 * Source/cmake/WebKitFeatures.cmake:
1520 2018-12-01 Don Olmstead <don.olmstead@sony.com>
1522 Cleanup WebKit Features
1523 https://bugs.webkit.org/show_bug.cgi?id=192262
1525 Reviewed by Michael Catanzaro.
1527 Removes unused ENABLE flags from the listing in WebKitFeatures.cmake
1528 and any other associated code. Synced the options in FeatureList.pm to
1529 the feature listing. Sorts the ENABLE flags.
1531 * Source/cmake/OptionsMac.cmake:
1532 * Source/cmake/OptionsWin.cmake:
1533 * Source/cmake/WebKitFeatures.cmake:
1534 * Source/cmake/tools/vsprops/FeatureDefines.props:
1535 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1537 2018-11-30 Don Olmstead <don.olmstead@sony.com>
1539 Rename ENABLE_SUBTLE_CRYPTO to ENABLE_WEB_CRYPTO
1540 https://bugs.webkit.org/show_bug.cgi?id=192197
1542 Reviewed by Jiewen Tan.
1544 * Source/cmake/OptionsGTK.cmake:
1545 * Source/cmake/OptionsWPE.cmake:
1546 * Source/cmake/OptionsWin.cmake:
1547 * Source/cmake/WebKitFeatures.cmake:
1549 2018-11-28 Michael Catanzaro <mcatanzaro@igalia.com>
1551 [CMake] Automatically disable JIT and enable USE_SYSTEM_MALLOC on unfamiliar architectures
1552 https://bugs.webkit.org/show_bug.cgi?id=186722
1554 Reviewed by Žan Doberšek.
1556 Time for part #2! This change was defeated for GTK and WPE by the code that makes the
1557 options public. We have three options: (a) duplicate the architecture check currently in
1558 WebKitFeatures.cmake in both OptionsGTK.cmake and OptionsWPE.cmake, (b) rely on the result
1559 of that check in OptionsGTK.cmake and OptionsWPE.cmake by using ENABLE_JIT_DEFAULT and
1560 USE_SYSTEM_MALLOC_DEFAULT, a fragile encapsulation violation, or (c) just make the options
1561 private. They have been public up until now because they needed to be turned off on
1562 unsupported architectures. But now they are off by default and enabled only for particular
1563 whitelisted architectures, so they shouldn't be needed anymore.
1565 Note we have to hide ENABLE_SAMPLING_PROFILER as well, since it needs to match the value of
1566 ENABLE_JIT. Again, this is handled properly in WebKitFeatures.cmake, and defeated here in
1567 OptionsGTK.cmake. (This is not a problem for WPE.)
1569 * Source/cmake/OptionsGTK.cmake:
1570 * Source/cmake/OptionsWPE.cmake:
1572 2018-11-26 Fujii Hironori <Hironori.Fujii@sony.com>
1574 [CMake] Remove ENABLE_ACCESSIBILITY CMake variable
1575 https://bugs.webkit.org/show_bug.cgi?id=191831
1577 Reviewed by Michael Catanzaro.
1579 ENABLE_ACCESSIBILITY is a bit confusing name because there is no
1580 such ENABLE_ACCESSIBILITY macros in C++ source files.
1582 * Source/cmake/OptionsGTK.cmake: Removed ENABLE_ACCESSIBILITY.
1583 * Source/cmake/OptionsWPE.cmake: Ditto.
1584 * Source/cmake/OptionsWin.cmake: Ditto.
1585 * Source/cmake/WebKitFeatures.cmake: Ditto.
1587 2018-11-26 Alberto Garcia <berto@igalia.com>
1589 [GTK] [2.22.0] Fails to build in armel
1590 https://bugs.webkit.org/show_bug.cgi?id=188862
1592 Disable the JIT and enable C_LOOP on ARM CPUs without Thumb2
1595 Reviewed by Michael Catanzaro.
1597 * Source/cmake/WebKitFeatures.cmake:
1599 2018-11-22 Carlos Garcia Campos <cgarcia@igalia.com>
1601 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.23.1 release.
1603 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1605 2018-11-21 Dominik Infuehr <dinfuehr@igalia.com>
1607 Enable JIT on ARM/Linux
1608 https://bugs.webkit.org/show_bug.cgi?id=191548
1610 Reviewed by Yusuke Suzuki.
1612 Enable JIT by default on ARMv7/Linux after it was disabled with
1613 recent bytcode format change.
1615 * Source/cmake/WebKitFeatures.cmake:
1617 2018-11-16 Don Olmstead <don.olmstead@sony.com>
1619 Add USE(LIBWPE) to WebCore
1620 https://bugs.webkit.org/show_bug.cgi?id=191401
1622 Reviewed by Michael Catanzaro.
1624 Exposes USE_LIBWPE to the build.
1626 * Source/cmake/OptionsWPE.cmake:
1628 2018-11-12 Ryosuke Niwa <rniwa@webkit.org>
1630 Add HTTPS git remote to ReadMe.md
1631 https://bugs.webkit.org/show_bug.cgi?id=191561
1633 Reviewed by Zalan Bujtas.
1637 2018-11-12 Takashi Komori <Takashi.Komori@sony.com>
1639 Resurrect WebKitTestRunner for Windows port
1640 https://bugs.webkit.org/show_bug.cgi?id=189257
1642 Reviewed by Fujii Hironori.
1644 * Source/cmake/OptionsWin.cmake:
1646 2018-11-07 Carlos Garcia Campos <cgarcia@igalia.com>
1648 [Linux] Use memfd_create when available in SharedMemory implementation
1649 https://bugs.webkit.org/show_bug.cgi?id=189741
1651 Reviewed by Michael Catanzaro.
1653 Add include check for linux/memfd.h header.
1655 * Source/cmake/OptionsCommon.cmake:
1657 2018-11-05 Dominik Infuehr <dinfuehr@igalia.com>
1659 Enable LLInt on ARMv7/Linux
1660 https://bugs.webkit.org/show_bug.cgi?id=191190
1662 Reviewed by Yusuke Suzuki.
1664 After enabling the new bytecode format in r237547, C_LOOP was
1665 forced on all 32-bit platforms. Now enable LLInt again on
1666 ARMv7-Thumb2/Linux by default.
1668 * Source/cmake/WebKitFeatures.cmake:
1670 2018-11-05 Michael Catanzaro <mcatanzaro@igalia.com>
1672 [WPE][GTK] Expose ENABLE_MEDIA_SOURCE as public option
1673 https://bugs.webkit.org/show_bug.cgi?id=191223
1675 Reviewed by Xabier Rodriguez-Calvar.
1677 This option should be public because it needs to be disabled to build with GStreamer older
1680 * Source/cmake/GStreamerDefinitions.cmake:
1682 2018-11-04 Fujii Hironori <Hironori.Fujii@sony.com>
1684 [Win] Use C++14, not C++17
1685 https://bugs.webkit.org/show_bug.cgi?id=191101
1687 Reviewed by Alex Christensen.
1689 Based on the webkit-dev discussion, this change switches Windows
1690 port from C++17 to C++14.
1691 <https://lists.webkit.org/pipermail/webkit-dev/2018-September/030186.html>
1693 * Source/cmake/OptionsMSVC.cmake: Replaced /std:c++17 with /std:c++14 switch.
1695 2018-10-30 Don Olmstead <don.olmstead@sony.com>
1697 [PlayStation] Enable JavaScriptCore
1698 https://bugs.webkit.org/show_bug.cgi?id=191072
1700 Reviewed by Brent Fulgham.
1702 Add support for building the PlayStation port through JavaScriptCore.
1705 * Source/cmake/OptionsPlayStation.cmake: Added.
1707 2018-10-29 Tadeu Zagallo <tzagallo@apple.com>
1709 New bytecode format for JSC
1710 https://bugs.webkit.org/show_bug.cgi?id=187373
1711 <rdar://problem/44186758>
1713 Reviewed by Filip Pizlo.
1715 Disable JIT by default on 32-bit platforms
1717 * Source/cmake/WebKitFeatures.cmake:
1719 2018-10-27 Charlie Turner <cturner@igalia.com>
1721 Make VIDEO enabled if ENCRYPTED_MEDIA is enabled.
1722 https://bugs.webkit.org/show_bug.cgi?id=190983
1724 Unreviewed build update.
1726 * Source/cmake/WebKitFeatures.cmake:
1728 2018-10-27 Charlie Turner <cturner@igalia.com>
1730 [GTK] Enable experimental encrypted media support
1731 https://bugs.webkit.org/show_bug.cgi?id=190829
1733 Reviewed by Michael Catanzaro.
1735 * Source/cmake/OptionsGTK.cmake:
1737 2018-10-26 Commit Queue <commit-queue@webkit.org>
1739 Unreviewed, rolling out r237479 and r237484.
1740 https://bugs.webkit.org/show_bug.cgi?id=190978
1742 broke JSC on iOS (Requested by tadeuzagallo on #webkit).
1744 Reverted changesets:
1746 "New bytecode format for JSC"
1747 https://bugs.webkit.org/show_bug.cgi?id=187373
1748 https://trac.webkit.org/changeset/237479
1750 "Gardening: Build fix after r237479."
1751 https://bugs.webkit.org/show_bug.cgi?id=187373
1752 https://trac.webkit.org/changeset/237484
1754 2018-10-26 Tadeu Zagallo <tzagallo@apple.com>
1756 New bytecode format for JSC
1757 https://bugs.webkit.org/show_bug.cgi?id=187373
1758 <rdar://problem/44186758>
1760 Reviewed by Filip Pizlo.
1762 Disable JIT by default on 32-bit platforms
1764 * Source/cmake/WebKitFeatures.cmake:
1766 2018-10-25 Michael Catanzaro <mcatanzaro@igalia.com>
1768 [GTK] Reenable the sandbox
1770 Previously reviewed by, er, myself. This just reverts the sabotague as our bots should have
1771 the required deps now. Hopefully.
1773 * Source/cmake/OptionsGTK.cmake:
1775 2018-10-18 Fujii Hironori <Hironori.Fujii@sony.com>
1777 [Win][Clang] Do not give -Wall to clang-cl because it is treated as -Weverything
1778 https://bugs.webkit.org/show_bug.cgi?id=190514
1780 Reviewed by Michael Catanzaro.
1782 clang-cl maps /Wall and -Wall to -Weverything which reports tons
1783 of compilation warnings. Do not give -Wall option to clang-cl.
1785 Clang processes -Wall and -Wextra options differently than GCC.
1786 Clang processes all warning options in left-to-right order, while
1787 GCC processes -Wall and -Wextra options first. In order to get the
1788 same effect in both compilers, -Wall and -Wextra should be
1789 speficied before all -Wno-* options.
1791 * Source/cmake/WebKitCompilerFlags.cmake: Put -Wall and -Wextra
1792 options before all -Wno-* options.
1793 * Source/cmake/OptionsMSVC.cmake: Prepend /W4 option, instead of
1794 just replacing /W3 option.
1796 2018-10-16 Philippe Normand <pnormand@igalia.com>
1798 Unreviewed, GTK bots build fix
1800 * Source/cmake/OptionsGTK.cmake: Disable Sandbox support until the
1801 bots have all the needed dependencies installed.
1803 2018-10-15 Justin Fan <justin_fan@apple.com>
1805 Add WebGPU 2018 feature flag and experimental feature flag
1806 https://bugs.webkit.org/show_bug.cgi?id=190509
1808 Reviewed by Dean Jackson.
1810 Update FeatureDefines for WebGPU -> WebMetal renaming, while preserving WebGPU
1811 references for 2018 WebGPU Sketch implementation.
1813 * Source/cmake/OptionsMac.cmake:
1814 * Source/cmake/tools/vsprops/FeatureDefines.props:
1815 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1817 2018-10-15 Christopher Reid <chris.reid@sony.com>
1819 [Curl][WinCairo] Add Public Suffix support to WinCairo
1820 https://bugs.webkit.org/show_bug.cgi?id=183060
1822 Reviewed by Alex Christensen.
1824 * Source/cmake/FindLibPSL.cmake: Added.
1825 * Source/cmake/OptionsWin.cmake:
1826 * Source/cmake/OptionsWinCairo.cmake:
1828 2018-10-15 Michael Catanzaro <mcatanzaro@igalia.com>
1830 Add new files missing from previous commit.
1832 * Source/cmake/FindLibseccomp.cmake: Added.
1834 2018-10-15 Patrick Griffis <pgriffis@igalia.com>
1836 [GTK][WPE] Implement subprocess sandboxing
1837 https://bugs.webkit.org/show_bug.cgi?id=188568
1839 Reviewed by Michael Catanzaro.
1841 Add ENABLE_BUBBLEWRAP_SANDBOX option for sandboxing.
1843 * Source/cmake/FindLibseccomp.cmake: Added.
1844 * Source/cmake/OptionsGTK.cmake:
1845 * Source/cmake/WebKitFeatures.cmake:
1847 2018-10-14 Yusuke Suzuki <yusukesuzuki@slowstart.org>
1849 [JSC] Remove Option::useAsyncIterator
1850 https://bugs.webkit.org/show_bug.cgi?id=190567
1852 Reviewed by Saam Barati.
1854 * Source/cmake/WebKitFeatures.cmake:
1856 2018-10-08 Justin Fan <justin_fan@apple.com>
1858 WebGPU: Rename old WebGPU prototype to WebMetal
1859 https://bugs.webkit.org/show_bug.cgi?id=190325
1861 Reviewed by Dean Jackson.
1863 * Source/cmake/WebKitFeatures.cmake:
1865 2018-10-02 Philippe Normand <pnormand@igalia.com>
1867 [GStreamer][MSE] Ubuntu LTS build broken since r236409
1868 https://bugs.webkit.org/show_bug.cgi?id=190036
1870 Reviewed by Michael Catanzaro.
1872 Interrupt the build if MSE is enabled but no supported (1.14)
1873 GStreamer version was found.
1875 * Source/cmake/GStreamerChecks.cmake:
1877 2018-10-01 Caio Lima <ticaiolima@gmail.com>
1879 'HAVE_PTHREAD_MAIN_NP' macro redefined warning when building --jsc-only on macOS
1880 https://bugs.webkit.org/show_bug.cgi?id=190118
1882 Reviewed by Yusuke Suzuki.
1884 We define HAVE_PTHREAD_MAIN_NP in WTF/wtf/Platform.h when the OS is
1885 Darwin. In such case, we don't need to check symbols for
1886 pthread_main_np when generating build for this system.
1888 * Source/cmake/OptionsCommon.cmake:
1890 2018-09-28 Mike Gorse <mgorse@alum.wpi.edu>
1892 cmake cannot run if python 2 isn't available
1893 https://bugs.webkit.org/show_bug.cgi?id=190075
1895 Reviewed by Michael Catanzaro.
1897 * Source/cmake/WebKitCommon.cmake: Set Python_ADDITIONAL_VERSIONS
1898 to 3, so that a python3 binary will be found.
1900 2018-09-28 Yusuke Suzuki <yusukesuzuki@slowstart.org>
1902 [WTF] Make isMainThread more reliable
1903 https://bugs.webkit.org/show_bug.cgi?id=189880
1905 Reviewed by Mark Lam.
1907 * Source/cmake/OptionsCommon.cmake:
1909 2018-09-21 Yusuke Suzuki <yusukesuzuki@slowstart.org>
1911 [JSC] Enable LLInt ASM interpreter on X64 and ARM64 in non JIT configuration
1912 https://bugs.webkit.org/show_bug.cgi?id=189778
1914 Reviewed by Keith Miller.
1916 ENABLE_SAMPLING_PROFILER does not depend on ENABLE_JIT now since it can be
1917 used with LLInt ASM interpreter.
1919 * Source/cmake/WebKitFeatures.cmake:
1921 2018-09-21 Mike Gorse <mgorse@suse.com>
1923 Build tools should work when the /usr/bin/python is python3
1924 https://bugs.webkit.org/show_bug.cgi?id=156674
1926 Reviewed by Michael Catanzaro.
1928 * Source/cmake/WebKitCommon.cmake: Allow python 3.
1930 2018-09-20 Carlos Garcia Campos <cgarcia@igalia.com>
1932 Unreviewed. Update GTK+ library versions after r235362.
1934 Project version number was updated without bumping the library versions too.
1936 * Source/cmake/OptionsGTK.cmake:
1938 2018-09-12 Dan Bernstein <mitz@apple.com>
1940 Updated svn:ignore after r235381.
1942 * .: Added LocalOverrides.xcconfig to svn:ignore.
1944 2018-09-12 Dan Bernstein <mitz@apple.com>
1946 Removed a couple of empty directories left behind after r235892.
1948 * WPEWebCore: Removed.
1949 * downstream-WebCore: Removed.
1951 2018-09-10 Tim Horton <timothy_horton@apple.com>
1953 Make it easier to build for SDK_VARIANT=iosmac
1954 https://bugs.webkit.org/show_bug.cgi?id=189488
1955 <rdar://problem/38254840>
1957 Reviewed by Wenson Hsieh.
1962 Set a variety of build flags (disable libwebrtc, tools, and set
1963 SDK_VARIANT and WK_ALTERNATE_FRAMEWORKS_DIR).
1965 2018-08-30 Don Olmstead <don.olmstead@sony.com>
1967 [CMake] Replace AVFoundationSupport.py using CMake
1968 https://bugs.webkit.org/show_bug.cgi?id=182891
1970 Reviewed by Per Arne Vollan.
1972 Adds CMake checks for AVFoundation support replacing the functionality
1973 of AVFoundationSupport.py.
1975 CMake is used to detect the symbols expected with the HAVE_* checks for
1976 AVFoundation support. This involves creating source files that will be
1977 built which verifies the presence of symbols. For Apple frameworks it
1978 is customary to include the main framework file which includes the
1979 other associated headers.
1981 The check for HAVE_AVCFPLAYERITEM_CALLBACK_VERSION_2 involves looking
1982 for an enumeration which a symbol check cannot detect. Instead a small
1983 program is used which will compile and link when the version 2
1984 enumeration is present.
1986 * Source/cmake/OptionsAppleWin.cmake:
1987 * Source/cmake/OptionsWin.cmake:
1988 * Source/cmake/WebKitCommon.cmake:
1989 * Source/cmake/WebKitFeatures.cmake:
1991 2018-08-28 Don Olmstead <don.olmstead@sony.com>
1993 [CMake] Use CMake's FindFreetype
1994 https://bugs.webkit.org/show_bug.cgi?id=189071
1996 Reviewed by Michael Catanzaro.
1998 Use the builtin CMake functionality for finding Freetype.
2000 * Source/cmake/FindFreetype2.cmake: Removed.
2001 * Source/cmake/OptionsGTK.cmake:
2002 * Source/cmake/OptionsWPE.cmake:
2004 2018-08-27 Aditya Keerthi <akeerthi@apple.com>
2006 Consolidate ENABLE_INPUT_TYPE_COLOR and ENABLE_INPUT_TYPE_COLOR_POPOVER
2007 https://bugs.webkit.org/show_bug.cgi?id=188931
2009 Reviewed by Wenson Hsieh.
2011 * Source/cmake/OptionsMac.cmake: Removed ENABLE_INPUT_TYPE_COLOR_POPOVER.
2012 * Source/cmake/WebKitFeatures.cmake: Removed ENABLE_INPUT_TYPE_COLOR_POPOVER.
2014 2018-08-27 Keith Rollin <krollin@apple.com>
2016 Build system support for LTO
2017 https://bugs.webkit.org/show_bug.cgi?id=187785
2018 <rdar://problem/42353132>
2020 Reviewed by Dan Bernstein.
2022 Add support for building WebKit with LTO (Link Time Optimization) on
2023 macOS and iOS. Both variations are supported: "full" (which performs
2024 all the optimizations it can regardless of the cost) and "thin" (which
2025 sacrifices some optimizations in order to recover build time and
2028 By default, LTO is disabled for Debug and Release builds, but is
2029 enabled for Production builds. For Debug and Release builds, LTO is
2030 controlled as follows:
2032 - When using `make` from the command line, include
2033 WK_LTO_MODE={none,thin,full}. For example, `make WK_LTO_MODE=full
2034 release`. As when specifying debug/release, the LTO configuration
2035 information is written to the WebKitBuild directory and is used as
2036 the default on the next build if a new setting is not specified.
2038 - When using `build-webkit`, include --lto-mode={none,thin,full} on
2039 the command line. For example, `build-webkit --lto-mode=full ...`.
2041 - When using Xcode, create a configuration file called
2042 LocalOverrides.xcconfig at the root level of your WebKit checkout
2043 directory. Include within it a line that says:
2045 WK_LTO_MODE={none,thin,full}
2051 Note that LocalOverrides.xcconfig is included in the .gitignore file,
2052 so you won't accidentally check your changes into source control.
2054 Enabling LTO can greatly increase build times, especially when using
2055 "full" LTO with 32GB or RAM or less. Following is a table of full
2056 build times for a Release build on a fully decked-out 2017 iMac Pro:
2059 ----- ------- -------
2060 None: 9m 11s 14m 11s
2061 Thin: 11m 44s 17m 30s
2062 Full: 21m 39s 28m 56s
2064 Incremental times are affected even more greatly. The actual
2065 optimization and compilation of LLVM bitcode is moved to the link
2066 phase, meaning that the link phase, which previously took only
2067 seconds, can now take many minutes. It's for this reason that LTO is
2068 not enabled in Debug and Release builds, since incremental builds are
2069 an integral part of those configurations. However, using the
2070 mechanisms described above, developers can perform optional LTO builds
2071 if needed to track down build or runtime issues in that configuration.
2073 * .gitignore: Include LocalOverrides.xcconfig.
2074 * Makefile.shared: Add support for WK_LTO_MODE on the command line.
2076 2018-08-27 Michael Catanzaro <mcatanzaro@igalia.com>
2078 Unreviewed, bump WPE/GTK version numbers
2080 We have a pkg-config dependency on 2.21.92 but trunk is stuck on 2.21.5. So bump the version
2081 number to 2.23.0. It seems like a good version number to use until the next real release
2084 * Source/cmake/OptionsGTK.cmake:
2085 * Source/cmake/OptionsWPE.cmake:
2087 2018-08-26 Michael Catanzaro <mcatanzaro@igalia.com>
2089 [CMake] Remove stale comment from WebKitFeatures.cmake
2090 https://bugs.webkit.org/show_bug.cgi?id=188918
2092 Reviewed by Fujii Hironori.
2094 This comment at the top of WebKitFeatures.cmake is no longer accurate because feature defaults are no longer defined in FeatureList.pm (thank goodness!)
2096 * Source/cmake/WebKitFeatures.cmake:
2098 2018-08-23 Don Olmstead <don.olmstead@sony.com>
2100 [CMake] Have checks are not getting set inside CMake properly
2101 https://bugs.webkit.org/show_bug.cgi?id=188901
2103 Reviewed by Michael Catanzaro.
2105 Make sure the variable's value is sent to SET_AND_EXPOSE_TO_BUILD
2106 within the WEBKIT_CHECK_HAVE_* macros.
2108 * Source/cmake/WebKitFeatures.cmake:
2110 2018-08-23 Don Olmstead <don.olmstead@sony.com>
2112 [CMake] Add HAVE_MALLOC_TRIM definition
2113 https://bugs.webkit.org/show_bug.cgi?id=188897
2115 Reviewed by Konstantin Tokarev.
2117 Add CMake check for malloc_trim.
2119 * Source/cmake/OptionsCommon.cmake:
2121 2018-08-22 Ross Kirsling <ross.kirsling@sony.com>
2123 [MSVC] Stop disabling /O2 features.
2124 https://bugs.webkit.org/show_bug.cgi?id=188811
2126 Reviewed by Per Arne Vollan.
2128 * Source/cmake/OptionsMSVC.cmake:
2129 Don't disable /GF (string pooling) or /Gy (function-level linking).
2131 2018-08-22 Alberto Garcia <berto@igalia.com>
2133 Don't use WTF_CPU_MIPS when building for mips64
2134 https://bugs.webkit.org/show_bug.cgi?id=188858
2136 Reviewed by Michael Catanzaro.
2138 * CMakeLists.txt: Use WTF_CPU_MIPS64 for this architecture.
2140 2018-08-22 Zan Dobersek <zdobersek@igalia.com>
2142 [CoordGraphics] Switch to Nicosia::CompositionLayer state tracking
2143 https://bugs.webkit.org/show_bug.cgi?id=188693
2145 Reviewed by Carlos Garcia Campos.
2147 * Source/cmake/OptionsGTK.cmake: Enable USE_NICOSIA alongside
2148 USE_COORDINATED_GRAPHICS and USE_COORDINATED_GRAPHICS_THREADED.
2149 * Source/cmake/OptionsWPE.cmake: Ditto.
2151 2018-08-21 Adrian Perez de Castro <aperez@igalia.com>
2153 Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.91 release.
2155 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
2157 2018-08-21 Adrian Perez de Castro <aperez@igalia.com>
2159 [WPE] Update to use libwpe-1.0.0 and WPEBackend-fdo-1.0.0
2160 https://bugs.webkit.org/show_bug.cgi?id=188782
2162 Reviewed by Michael Catanzaro.
2164 Make the build depend on wpe-0.2, and change the Flatpak and JHBuild development
2165 environments to use version 1.0.0 of libwpe and WPEBackend-fdo.
2167 * Source/cmake/FindWPE.cmake: Renamed from Source/cmake/FindWPEBackend.cmake and changed
2168 to check for libwpe-0.2.
2169 * Source/cmake/OptionsWPE.cmake: Adapt to the rename to FindWPE.cmake.
2171 2018-08-18 Michael Catanzaro <mcatanzaro@igalia.com>
2173 Adjust CMAKE_MODULE_LINKER_FLAGS for asan
2174 https://bugs.webkit.org/show_bug.cgi?id=188699
2176 Reviewed by Konstantin Tokarev.
2178 * Source/cmake/WebKitCompilerFlags.cmake:
2180 2018-07-30 Thibault Saunier <tsaunier@igalia.com>
2182 [GStreamer] Make codecparsers optionnal
2183 https://bugs.webkit.org/show_bug.cgi?id=188010
2185 And avoid building libWebRTC if it won't be used. While there is no other
2186 WebRTC backend, it makes no sense to expose an option.
2188 Error out when WEBRTC or MEDIA_STREAM is enabled but GStreamer < 1.10
2190 Reviewed by Alejandro G. Castro.
2192 * Source/cmake/GStreamerChecks.cmake:
2193 * Source/cmake/OptionsGTK.cmake:
2194 * Source/cmake/OptionsWPE.cmake:
2196 2018-07-26 Andy VanWagoner <andy@vanwagoner.family>
2198 [INTL] Remove INTL sub-feature compile flags
2199 https://bugs.webkit.org/show_bug.cgi?id=188081
2201 Reviewed by Michael Catanzaro.
2203 * Source/cmake/OptionsJSCOnly.cmake:
2204 * Source/cmake/WebKitFeatures.cmake:
2206 2018-07-24 Thibault Saunier <tsaunier@igalia.com>
2208 [WPE][GTK] Implement PeerConnection API on top of libwebrtc
2209 https://bugs.webkit.org/show_bug.cgi?id=186932
2211 Reviewed by Philippe Normand.
2213 * Source/cmake/FindGStreamer.cmake: Look for gstreamer-codecparser as it needed for GStreamerVideoDecoder
2215 2018-07-20 Carlos Garcia Campos <cgarcia@igalia.com>
2217 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.5 release.
2219 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2221 2018-07-19 Stephan Szabo <stephan.szabo@sony.com>
2223 [WinCairo] Support DEVELOPER_MODE for allowing inspection of web inspector
2224 https://bugs.webkit.org/show_bug.cgi?id=187786
2226 Reviewed by Fujii Hironori.
2228 * Source/cmake/OptionsWinCairo.cmake: Add ENABLE_DEVELOPER_MODE
2229 to build when DEVELOPER_MODE is turned on at cmake time.
2231 2018-07-18 Michael Catanzaro <mcatanzaro@igalia.com>
2233 Switch CMake ports back to C++ 14
2234 https://bugs.webkit.org/show_bug.cgi?id=187744
2236 Reviewed by Ryosuke Niwa.
2238 The XCode build is still not using C++ 17, it's been several months since CMake ports
2239 switched, everything builds fine without changes if we switch back, and there have been some
2240 unfixed problems. Let's go back to C++ 14 for now. We can switch back to C++ 17 whenever we
2241 are ready to switch over XCode at the same time, to ensure we don't wind up with divergent
2242 behavior for std::optional.
2244 * Source/cmake/WebKitCompilerFlags.cmake:
2246 2018-07-16 Ryosuke Niwa <rniwa@webkit.org>
2248 Update ReadMe.md line 68
2249 https://bugs.webkit.org/show_bug.cgi?id=187533
2251 Reviewed by Wenson Hsieh.
2255 2018-07-02 Adrian Perez de Castro <aperez@igalia.com>
2257 [CMake] Use JOB_POOLS to avoid memory-hungry linker processes running at the same time
2258 https://bugs.webkit.org/show_bug.cgi?id=187254
2260 Reviewed by Michael Catanzaro.
2262 * Source/cmake/WebKitCommon.cmake: Set the maximum number of
2263 concurrent link processes using job pools (four for release builds,
2264 two otherwise) to avoid running out of memory during builds.
2266 2018-07-02 Ryosuke Niwa <rniwa@webkit.org>
2268 Repository fix after r233427 and r233443.
2272 2018-06-30 Adam Barth <abarth@webkit.org>
2274 Port JavaScriptCore to OS(FUCHSIA)
2275 https://bugs.webkit.org/show_bug.cgi?id=187223
2277 Reviewed by Daniel Bates.
2279 * Source/cmake/OptionsJSCOnly.cmake: Add back ICU.
2281 2018-06-29 Ross Kirsling <ross.kirsling@sony.com>
2283 [JSCOnly] Restore Windows build.
2284 https://bugs.webkit.org/show_bug.cgi?id=187127
2286 Reviewed by Michael Catanzaro.
2288 * Source/cmake/OptionsJSCOnly.cmake:
2289 Don't forget to set -DUCHAR_TYPE=wchar_t for ICU on Windows.
2290 Use bin64/lib64 on Windows (for consistency with full WebKit build).
2292 2018-06-28 Adam Barth <abarth@webkit.org>
2294 Switch OS(FUCHSIA) to using JSCOnly
2295 https://bugs.webkit.org/show_bug.cgi?id=187133
2297 Reviewed by Yusuke Suzuki.
2299 Rather than creating a Fuchsia port, OS(FUCHSIA) now uses the JSCOnly
2302 * CMakeLists.txt: Set the WTF_OS_FUCHSIA flag
2303 * Source/cmake/OptionsFuchsia.cmake: Removed.
2304 * Source/cmake/OptionsJSCOnly.cmake: Temporarily disable ICU for
2305 OS(FUCHSIA). We'll get ICU wired in, but I'd like to work through the
2306 other compile errors first.
2308 2018-06-27 Adam Barth <abarth@webkit.org>
2310 Add Fuchsia support to build-jsc
2311 https://bugs.webkit.org/show_bug.cgi?id=187086
2313 Reviewed by Yusuke Suzuki.
2315 Add Fuchsia port to cmake build system. After this patch, the build
2316 errors out due to a missing sysroot.
2319 * Source/cmake/OptionsFuchsia.cmake: Added.
2321 2018-06-18 Zan Dobersek <zdobersek@igalia.com>
2323 Unreviewed GTK+ gardening. Updating the WPT expectations by removing
2324 failure expectations for 2dcontext tests covering CSS HSL/HSLA color
2325 parsing and createImageBitmap() API that are nowadays passing.
2327 * WebPlatformTests/gtk/TestExpectations.json:
2329 2018-06-17 Michael Catanzaro <mcatanzaro@igalia.com>
2331 [CMake] Automatically disable JIT and enable USE_SYSTEM_MALLOC on unfamiliar architectures
2332 https://bugs.webkit.org/show_bug.cgi?id=186722
2334 Reviewed by Darin Adler.
2336 We know that the JSC JIT and bmalloc both work on only a limited set of architectures. In
2337 Fedora, we have to manually disable these when building for s390x, ppc64, and ppc64le. But
2338 it's really easy to do the right thing automatically, so we might as well.
2340 * Source/cmake/WebKitFeatures.cmake:
2342 2018-06-13 Thibault Saunier <tsaunier@igalia.com>
2344 [WPE] Build getUserMedia support
2345 https://bugs.webkit.org/show_bug.cgi?id=186547
2347 Reviewed by Alejandro G. Castro.
2349 * Source/cmake/OptionsWPE.cmake: Build MediaStream support
2351 2018-06-12 Philippe Normand <pnormand@igalia.com>
2353 [GStreamer] Bump required version to 1.8.3
2354 https://bugs.webkit.org/show_bug.cgi?id=186558
2356 Reviewed by Xabier Rodriguez-Calvar.
2358 * Source/cmake/GStreamerChecks.cmake: Bump to 1.8.3 which is the
2359 version shipped in the current Ubuntu LTS we support (16.04).
2361 2018-06-12 Zan Dobersek <zdobersek@igalia.com>
2363 Add run-web-platform-tests script
2364 https://bugs.webkit.org/show_bug.cgi?id=183356
2366 Reviewed by Carlos Alberto Lopez Perez.
2368 Store port-specific test expectations and test manifest files for the
2369 web-platform-tests test runs under the top-level WebPlatformTests
2372 TestExpectations.json file lists all the failing or disabled tests
2373 or subtests that are to be expected in the test run. This information is
2374 parsed in the run-web-platform-tests script and used to build
2375 test-specific metadata files (ending with .ini) inside a temporary
2376 directory that is then used during the test run. JSON format is used to
2377 follow the WebDriver test suite in how it manages expectations, and to
2378 avoid having to manually manage .ini files for every deviant test case.
2380 TestManifest.ini file is used to fine-tune which tests are to be enabled
2381 by default. For the GTK+ port, we currently disable all tests by default
2382 but then specifically enable tests under the 2dcontext and WebCryptoAPI
2383 directories. This will allow for gradual enabling of further tests.
2385 * WebPlatformTests/gtk/TestExpectations.json: Added.
2386 * WebPlatformTests/gtk/TestManifest.ini: Added.
2388 2018-06-11 Carlos Garcia Campos <cgarcia@igalia.com>
2390 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.4 release.
2392 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2394 2018-06-11 Michael Saboff <msaboff@apple.com>
2396 JavaScriptCore: Disable 32-bit JIT on Windows
2397 https://bugs.webkit.org/show_bug.cgi?id=185989
2399 Reviewed by Mark Lam.
2401 * Source/cmake/OptionsWin.cmake:
2403 2018-06-10 Carlos Garcia Campos <cgarcia@igalia.com>
2405 [WPE] Add a MiniBrowser and use it to run WebDriver tests
2406 https://bugs.webkit.org/show_bug.cgi?id=186345
2408 Reviewed by Žan Doberšek.
2410 Add an option to enable building the MiniBrowser.
2412 * Source/cmake/FindWaylandProtocols.cmake: Added.
2413 * Source/cmake/OptionsWPE.cmake:
2415 2018-06-06 Dan Bernstein <mitz@apple.com>
2417 [Xcode] Opt out of the New Build System
2418 https://bugs.webkit.org/show_bug.cgi?id=186380
2420 Reviewed by Alexey Proskuryakov.
2422 * WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: Use the Legacy Build System.
2424 2018-06-06 Dan Bernstein <mitz@apple.com>
2426 Check in a file created by the Xcode 10 beta.
2428 * WebKit.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: Added.
2430 2018-05-28 Carlos Garcia Campos <cgarcia@igalia.com>
2432 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.3 release.
2434 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2436 2018-05-25 Adrian Perez de Castro <aperez@igalia.com>
2438 Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.2 release.
2440 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
2442 2018-05-22 Alberto Garcia <berto@igalia.com>
2444 [CMake] Properly detect compiler flags, needed libs, and fallbacks for usage of 64-bit atomic operations
2445 https://bugs.webkit.org/show_bug.cgi?id=182622
2446 <rdar://problem/40292317>
2448 Reviewed by Michael Catanzaro.
2450 * Source/cmake/WebKitCompilerFlags.cmake:
2451 Move the test to detect whether we need to link against libatomic
2452 to a common CMake file so it can be used from both JavaScriptCore
2455 2018-05-22 Michael Catanzaro <mcatanzaro@igalia.com>
2457 Unreviewed, rolling out r231843.
2463 "[CMake] Properly detect compiler flags, needed libs, and
2464 fallbacks for usage of 64-bit atomic operations"
2465 https://bugs.webkit.org/show_bug.cgi?id=182622
2466 https://trac.webkit.org/changeset/231843
2468 2018-05-21 Fujii Hironori <Hironori.Fujii@sony.com>
2470 [WinCairo] Enable WebKit build by default
2471 https://bugs.webkit.org/show_bug.cgi?id=185141
2473 Reviewed by Per Arne Vollan.
2475 * Source/cmake/OptionsWin.cmake: Disable
2476 ENABLE_NETSCAPE_PLUGIN_API unconditionally for WinCairo port
2477 because it builds both WK1 and WK2.
2478 * Source/cmake/OptionsWinCairo.cmake: Turn ENABLE_WEBKIT on by default.
2479 Remove BUILDING_WIN_CAIRO_WEBKIT macro.
2481 2018-05-21 Carlos Garcia Campos <cgarcia@igalia.com>
2483 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.2 release.
2485 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2487 2018-05-17 Carlos Alberto Lopez Perez <clopez@igalia.com>
2489 [WPE] Implement and enable FULLSCREEN_API
2490 https://bugs.webkit.org/show_bug.cgi?id=185676
2492 Reviewed by Žan Doberšek.
2494 Remove the CMake option to disable this option for WPE.
2495 This feature gets enabled now via Source/cmake/WebKitFeatures.cmake
2497 * Source/cmake/OptionsWPE.cmake:
2499 2018-05-16 Don Olmstead <don.olmstead@sony.com>
2501 [WinCairo] Update WinCairoRequirements
2502 https://bugs.webkit.org/show_bug.cgi?id=185700
2504 Reviewed by Per Arne Vollan.
2506 * Source/cmake/OptionsWinCairo.cmake:
2508 2018-05-16 Andy VanWagoner <andy@vanwagoner.family>
2510 Add support for Intl NumberFormat formatToParts
2511 https://bugs.webkit.org/show_bug.cgi?id=185375
2513 Reviewed by Yusuke Suzuki.
2515 Add flag for NumberFormat formatToParts.
2517 * Source/cmake/OptionsJSCOnly.cmake:
2518 * Source/cmake/WebKitFeatures.cmake:
2520 2018-05-14 Yusuke Suzuki <utatane.tea@gmail.com>
2522 [Win] Use C++17 in MSVC
2523 https://bugs.webkit.org/show_bug.cgi?id=185232
2525 Reviewed by Alex Christensen.
2527 Use /std:c++17 option.
2529 * Source/cmake/OptionsMSVC.cmake:
2531 2018-05-16 Alberto Garcia <berto@igalia.com>
2533 [CMake] Properly detect compiler flags, needed libs, and fallbacks for usage of 64-bit atomic operations
2534 https://bugs.webkit.org/show_bug.cgi?id=182622
2536 Reviewed by Michael Catanzaro.
2538 * Source/cmake/OptionsGTK.cmake:
2539 * Source/cmake/OptionsJSCOnly.cmake:
2540 * Source/cmake/OptionsWPE.cmake:
2541 Enable THREADS_PREFER_PTHREAD_FLAG. This uses -pthread instead of
2542 -lpthread, fixing the 64-bit RISC-V build of the GTK+ port due to
2543 missing atomic primitives.
2545 * Source/cmake/WebKitCompilerFlags.cmake:
2546 Move the test to detect whether we need to link against libatomic
2547 to a common CMake file so it can be used from both JavaScriptCore
2550 2018-05-14 Zan Dobersek <zdobersek@igalia.com>
2552 [GTK] REGRESSION(r231170) Build broken with Clang 5.0
2553 https://bugs.webkit.org/show_bug.cgi?id=185198
2555 Reviewed by Michael Catanzaro.
2557 * Source/cmake/WebKitCompilerFlags.cmake: Fall back to the -std=c++1z
2558 compiler flag if -std=c++17 is not supported. If that flag is not
2559 supported either, bail with an error message.
2561 2018-05-09 Jan Alexander Steffens <jan.steffens@gmail.com>
2563 [GTK] gtk-doc installation subdir duplicated
2564 https://bugs.webkit.org/show_bug.cgi?id=185468
2566 Reviewed by Carlos Garcia Campos.
2568 The GTK docs are installed into a duplicated subdir,
2569 e.g. /usr/share/doc/gtk-doc/html/webkit2gtk-4.0/webkit2gtk-4.0.
2571 * Source/PlatformGTK.cmake:
2573 2018-05-09 Michael Catanzaro <mcatanzaro@igalia.com>
2575 Unreviewed. Bump WPE soname for good measure.
2577 * Source/cmake/OptionsWPE.cmake:
2579 2018-05-09 Michael Catanzaro <mcatanzaro@igalia.com>
2581 Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.1 release.
2583 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
2585 2018-05-06 Yusuke Suzuki <utatane.tea@gmail.com>
2587 [JSC][GTK][JSCONLY] Use capstone disassembler
2588 https://bugs.webkit.org/show_bug.cgi?id=185283
2590 Reviewed by Michael Catanzaro.
2592 * Source/CMakeLists.txt:
2593 * Source/cmake/FindLLVM.cmake: Removed.
2594 * Source/cmake/OptionsCommon.cmake:
2595 * Source/cmake/OptionsGTK.cmake:
2596 * Source/cmake/OptionsJSCOnly.cmake:
2597 * Source/cmake/OptionsWPE.cmake:
2599 2018-05-08 Valerie R Young <valerie@bocoup.com>
2601 test262/Runner.pm: create results dir for results of test262 run
2602 https://bugs.webkit.org/show_bug.cgi?id=185392
2604 Reviewed by Michael Saboff.
2606 Remove reference to no longer existing files.
2610 2018-05-07 Yusuke Suzuki <utatane.tea@gmail.com>
2612 [JSCOnly] Enable Intl.PluralRules
2613 https://bugs.webkit.org/show_bug.cgi?id=185359
2615 Reviewed by Daniel Bates.
2617 Enable Intl.PluralRules because JSCOnly port enables features aggressively.
2619 * Source/cmake/OptionsJSCOnly.cmake:
2621 2018-05-07 Don Olmstead <don.olmstead@sony.com>
2623 [WinCairo] Disable plugin api when building modern WebKit
2624 https://bugs.webkit.org/show_bug.cgi?id=185312
2626 Reviewed by Michael Catanzaro.
2628 * Source/cmake/OptionsWin.cmake:
2630 2018-05-02 Valerie R Young <valerie@bocoup.com>
2632 test262/Runner.pm: save summary to file
2633 https://bugs.webkit.org/show_bug.cgi?id=185200
2635 Reviewed by Michael Saboff.
2639 2018-05-01 Leo Balter <leonardo.balter@gmail.com>
2641 Auto save the results for Test262
2642 https://bugs.webkit.org/show_bug.cgi?id=184926
2644 Reviewed by Michael Saboff.
2646 2018-05-01 Oleksandr Skachkov <gskachkov@gmail.com>
2648 WebAssembly: add support for stream APIs - JavaScript API
2649 https://bugs.webkit.org/show_bug.cgi?id=183442
2651 Reviewed by Yusuke Suzuki and JF Bastien.
2653 * Source/cmake/WebKitFeatures.cmake:
2655 2018-04-30 JF Bastien <jfbastien@apple.com>
2657 Use some C++17 features
2658 https://bugs.webkit.org/show_bug.cgi?id=185135
2660 Reviewed by Alex Christensen.
2662 As discussed here [0] let's move WebKit to a subset of C++17. We
2663 now require GCC 6 [1] which means that, according to [2] we can
2664 use the following C++17 language features (I removed some
2665 uninteresting ones):
2667 - New auto rules for direct-list-initialization
2668 - static_assert with no message
2669 - typename in a template template parameter
2670 - Nested namespace definition
2671 - Attributes for namespaces and enumerators
2672 - u8 character literals
2673 - Allow constant evaluation for all non-type template arguments
2675 - Unary fold expressions and empty parameter packs
2676 - __has_include in preprocessor conditional
2677 - Differing begin and end types in range-based for
2678 - Improving std::pair and std::tuple
2680 Consult the Tony Tables [3] to see before / after examples.
2682 Of course we can use any library feature if we're willing to
2683 import them to WTF (and they don't require language support).
2686 [0]: https://lists.webkit.org/pipermail/webkit-dev/2018-March/029922.html
2687 [1]: https://trac.webkit.org/changeset/231152/webkit
2688 [2]: https://en.cppreference.com/w/cpp/compiler_support
2689 [3]: https://github.com/tvaneerd/cpp17_in_TTs/blob/master/ALL_IN_ONE.md
2691 * Source/cmake/WebKitCompilerFlags.cmake:
2693 2018-04-29 Michael Catanzaro <mcatanzaro@igalia.com>
2695 [CMake] Require GCC 6
2696 https://bugs.webkit.org/show_bug.cgi?id=184985
2698 Reviewed by Alex Christensen.
2704 2018-04-26 Daniel Bates <dabates@apple.com>
2706 ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
2707 https://bugs.webkit.org/show_bug.cgi?id=184161
2708 <rdar://problem/39051645>
2710 Reviewed by Dan Bernstein.
2712 * ManualTests/DragInlinePDFImageDocument.html: Added.
2713 * ManualTests/resources/simple.pdf: Added.
2715 2018-04-26 Andy VanWagoner <thetalecrafter@gmail.com>
2717 [INTL] Implement Intl.PluralRules
2718 https://bugs.webkit.org/show_bug.cgi?id=184312
2720 Reviewed by JF Bastien.
2722 Added Intl.PluralRules feature flag.
2724 * Source/cmake/WebKitFeatures.cmake:
2726 2018-04-26 Zan Dobersek <zdobersek@igalia.com>
2728 [GTK][WPE] Initial ASYNC_SCROLLING support
2729 https://bugs.webkit.org/show_bug.cgi?id=184961
2731 Reviewed by Carlos Garcia Campos.
2733 * Source/cmake/OptionsGTK.cmake: Enable ASYNC_SCROLLING as a private option.
2734 * Source/cmake/OptionsWPE.cmake: Ditto.
2736 2018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
2738 [WPE] Build and link against latest WPEBackend and WPEBackend-fdo
2739 https://bugs.webkit.org/show_bug.cgi?id=184643
2741 Reviewed by Žan Doberšek.
2743 Update find modules to include the API versions.
2745 * Source/cmake/FindWPEBackend-fdo.cmake:
2746 * Source/cmake/FindWPEBackend.cmake:
2748 2018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
2750 [CMake] Some options should be marked as advanced
2751 https://bugs.webkit.org/show_bug.cgi?id=184972
2753 Reviewed by Konstantin Tokarev.
2755 * Source/cmake/FindLibGcrypt.cmake:
2756 * Source/cmake/FindWebP.cmake:
2758 2018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
2760 [GTK] Miscellaneous build cleanups
2761 https://bugs.webkit.org/show_bug.cgi?id=184399
2763 Reviewed by Žan Doberšek.
2765 * Source/cmake/OptionsGTK.cmake:
2767 2018-04-24 Leo Balter <leonardo.balter@gmail.com>
2769 Land test262 test results associated with Test262 runner
2770 https://bugs.webkit.org/show_bug.cgi?id=184667
2772 Reviewed by Michael Saboff.
2774 * .gitignore: Ignore test262 results file.
2776 2018-04-24 Zan Dobersek <zdobersek@igalia.com>
2778 [WPE] Remove libgbm dependency
2779 https://bugs.webkit.org/show_bug.cgi?id=184906
2781 Reviewed by Carlos Garcia Campos.
2783 Remove the libgbm CMake search module. It's not necessary anymore
2786 * Source/cmake/FindLibGBM.cmake: Removed.
2788 2018-04-23 Michael Catanzaro <mcatanzaro@igalia.com>
2790 [GTK] check target looks broken
2791 https://bugs.webkit.org/show_bug.cgi?id=184407
2793 Reviewed by Carlos Garcia Campos.
2795 It's pretty clear that nobody has been using check for a long time.
2797 We got rid of check-for-webkitdom-api-breaks a long time ago, when we stopped autogenerating
2798 the DOM API, but it's still used in the check target. Fix this.
2800 Also, the check target for some reason runs itself from the Source subdirectory of the
2801 builddir, but the test script expects to be run from the toplevel build directory. Fix this
2804 Add VERBATIM for good measure.
2806 * Source/PlatformGTK.cmake:
2808 2018-04-20 Daniel Bates <dabates@apple.com>
2810 Unreviewed, rolling out r230117.
2812 Broke find-in-page for PDFs
2816 "ASSERTION FAILED: ASSERT(!containsImage ||
2817 MIMETypeRegistry::isSupportedImageResourceMIMEType([resource
2818 MIMEType])) in -[NSPasteboard(WebExtras)
2819 _web_writePromisedRTFDFromArchive:containsImage:]"
2820 https://bugs.webkit.org/show_bug.cgi?id=184161
2821 https://trac.webkit.org/changeset/230117
2823 2018-04-20 Carlos Garcia Campos <cgarcia@igalia.com>
2825 [GTK] Local cross references are broken in API documentation
2826 https://bugs.webkit.org/show_bug.cgi?id=184771
2828 Reviewed by Michael Catanzaro.
2830 Update the documentation html paths and install the JSC GLib API too.
2832 * Source/PlatformGTK.cmake:
2834 2018-04-18 Carlos Garcia Campos <cgarcia@igalia.com>
2836 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.1 release.
2838 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2840 2018-04-17 Zan Dobersek <zdobersek@igalia.com>
2842 [CMake] Add and enable the ENABLE_CSS_ANIMATIONS_LEVEL_2 feature define
2843 https://bugs.webkit.org/show_bug.cgi?id=184681
2845 Reviewed by Carlos Garcia Campos.
2847 * Source/cmake/WebKitFeatures.cmake: Add the ENABLE_CSS_ANIMATIONS_LEVEL_2
2848 feature define. Follow Cocoa ports and enable it by default.
2850 2018-04-15 Michael Catanzaro <mcatanzaro@igalia.com>
2852 [WPE] Install files needed for WebKitWebExtensions
2853 https://bugs.webkit.org/show_bug.cgi?id=179915
2855 Reviewed by Žan Doberšek.
2857 * Source/cmake/OptionsWPE.cmake:
2859 2018-04-12 Ryan Haddad <ryanhaddad@apple.com>
2861 Unreviewed, rolling out r230554.
2863 The non-ASCII character in the filename causes issues with SVN
2867 "input.webkitEntries does not work as expected when folder
2868 contains accented chars"
2869 https://bugs.webkit.org/show_bug.cgi?id=184517
2870 https://trac.webkit.org/changeset/230554
2872 2018-04-12 Zan Dobersek <zdobersek@igalia.com>
2874 [WPE] Switch testing process to using WPEBackend-fdo
2875 https://bugs.webkit.org/show_bug.cgi?id=184357
2877 Reviewed by Carlos Alberto Lopez Perez.
2879 * Source/cmake/FindWPEBackend-fdo.cmake: Renamed from Source/cmake/FindWPEBackend-mesa.cmake.
2881 2018-04-11 Thibault Saunier <tsaunier@igalia.com>
2883 [GStreamer] Use of playbin3 when USE_PLAYBIN3 environment variable is set
2884 https://bugs.webkit.org/show_bug.cgi?id=184498
2886 Reviewed by Philippe Normand.
2888 This is the same behaviour as with playbin itself.
2890 Make sure to keep using "playbin" for MediaSource.
2892 * Source/cmake/GStreamerDefinitions.cmake:
2894 2018-04-09 Michael Catanzaro <mcatanzaro@igalia.com>
2896 [WPE] Use GNU install directories
2897 https://bugs.webkit.org/show_bug.cgi?id=184377
2899 Reviewed by Carlos Garcia Campos.
2901 Notably, this means all the CMake arguments that distributors use to customize install
2902 directories (-DCMAKE_INSTALL_*DIR) will no longer be ignored.
2904 * Source/cmake/OptionsCommon.cmake:
2905 * Source/cmake/OptionsWPE.cmake:
2907 2018-04-08 Fujii Hironori <Hironori.Fujii@sony.com>
2909 [CMake] WebKit should link to WebCore as a PRIVATE library if WebCore is a static library
2910 https://bugs.webkit.org/show_bug.cgi?id=184127
2912 Reviewed by Konstantin Tokarev.
2914 Building TestWebKitLib on Windows causes a linkage error of
2915 multiply defined symbols because TestWebKitLib links to
2916 both WebCore and WebKit. TestWebKitLib explicitly links only with
2917 WebKit, But, WebCore is propagated because WebKit links WebCore as
2920 * Source/cmake/OptionsGTK.cmake (ADD_WHOLE_ARCHIVE_TO_LIBRARIES):
2921 Do not wrap PRIVATE and PUBLIC keywords with -Wl,--whole-archive.
2923 2018-04-08 Michael Catanzaro <mcatanzaro@igalia.com>
2925 [WPE][GTK] Remove applicationDirectoryPath() and sharedResourcePath()
2926 https://bugs.webkit.org/show_bug.cgi?id=184381
2928 Reviewed by Carlos Garcia Campos.
2930 * Source/cmake/OptionsGTK.cmake:
2931 * Source/cmake/OptionsWPE.cmake:
2933 2018-04-02 Per Arne Vollan <pvollan@apple.com>
2935 Remove references to internal version of WebKitQuartzCoreAdditions in CMake files.
2936 https://bugs.webkit.org/show_bug.cgi?id=184246
2937 <rdar://problem/39116563>
2939 Unreviewed build fix.
2941 * Source/PlatformWin.cmake:
2943 2018-04-02 Alejandro G. Castro <alex@igalia.com>
2945 [GTK] Make libwebrtc backend buildable for GTK port
2946 https://bugs.webkit.org/show_bug.cgi?id=178860
2948 Reviewed by Youenn Fablet.
2950 * Source/CMakeLists.txt: Add the libwebrtc directory to the compilation.
2951 * Source/cmake/OptionsGTK.cmake: Add the USE_LIBWEBRTC option to
2952 allow compilation of the specific code.
2954 2018-03-30 Daniel Bates <dabates@apple.com>
2956 ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
2957 https://bugs.webkit.org/show_bug.cgi?id=184161
2959 Reviewed by Per Arne Vollan.
2961 * ManualTests/DragInlinePDFImageDocument.html: Added.
2962 * ManualTests/resources/simple.pdf: Added.
2964 2018-03-28 Tim Horton <timothy_horton@apple.com>
2966 Make it possible to disable building the tools with Make
2967 https://bugs.webkit.org/show_bug.cgi?id=184109
2969 Reviewed by Simon Fraser.
2973 2018-03-25 Carlos Garcia Campos <cgarcia@igalia.com>
2975 [GTK][WPE] Add API to convert between DOM and JSCValue
2976 https://bugs.webkit.org/show_bug.cgi?id=183448
2978 Reviewed by Michael Catanzaro.
2980 Define FORWARDING_HEADERS_WPE_DOM_DIR.
2982 * Source/cmake/OptionsWPE.cmake:
2984 2018-03-22 Adrian Perez de Castro <aperez@igalia.com>
2986 [WPE] Enable WOFF2 support
2987 https://bugs.webkit.org/show_bug.cgi?id=178158
2989 Reviewed by Frédéric Wang.
2991 * Source/cmake/OptionsWPE.cmake: Add needed logic to detect the Brotli and WOFF2 libraries.
2993 2018-03-21 Carlos Garcia Campos <cgarcia@igalia.com>
2995 [GTK][WPE] Initial implementation of JavaScriptCore glib bindings
2996 https://bugs.webkit.org/show_bug.cgi?id=164061
2998 Reviewed by Michael Catanzaro.
3000 Set global variables used by the makefiles.
3002 * Source/cmake/OptionsGTK.cmake:
3003 * Source/cmake/OptionsWPE.cmake:
3005 2018-03-15 Ms2ger <Ms2ger@igalia.com>
3007 [GTK][WPE] Enable service workers
3008 https://bugs.webkit.org/show_bug.cgi?id=178576
3010 Reviewed by Žan Doberšek.
3012 * Source/cmake/OptionsGTK.cmake:
3013 * Source/cmake/OptionsWPE.cmake:
3015 2018-03-12 Yoav Weiss <yoav@yoav.ws>
3017 Runtime flag for link prefetch and remove link subresource.
3018 https://bugs.webkit.org/show_bug.cgi?id=183540
3020 Reviewed by Chris Dumez.
3022 Remove the LINK_PREFETCH build time flag.
3024 * Source/cmake/OptionsWin.cmake:
3025 * Source/cmake/WebKitFeatures.cmake:
3026 * Source/cmake/tools/vsprops/FeatureDefines.props:
3027 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3029 2018-03-12 Zan Dobersek <zdobersek@igalia.com>
3031 Unreviewed. Unbreak the WPE layout testing that's been broken since
3032 r229470. Due to disassociation between ENABLE(ACCESSIBILITY) and
3033 HAVE(ACCESSIBILITY), the injected bundle for the WPE port was left with
3034 undefined symbols. This is fixed with ENABLE_ACCESSIBILITY being enabled
3035 for the WPE port as well.
3037 * Source/cmake/OptionsWPE.cmake:
3039 2018-03-12 Carlos Garcia Campos <cgarcia@igalia.com>
3041 Unreviewed. Fix library version of JavaScriptCoreGTK.
3043 * Source/cmake/OptionsGTK.cmake:
3045 2018-03-09 Carlos Garcia Campos <cgarcia@igalia.com>
3047 Unreviewed. Bump WebKitGTK+ version to 2.21.0.
3049 * Source/cmake/OptionsGTK.cmake:
3051 2018-03-08 Tim Horton <timothy_horton@apple.com>
3053 Add a way to not build libwebrtc when building WebKit via Makefiles
3054 https://bugs.webkit.org/show_bug.cgi?id=183437
3055 <rdar://problem/38254840>
3057 Reviewed by Dan Bernstein.
3061 2018-03-05 Don Olmstead <don.olmstead@sony.com>
3063 [CMake] Split JSC header copying into public and private targets
3064 https://bugs.webkit.org/show_bug.cgi?id=183251
3066 Reviewed by Konstantin Tokarev.
3068 * Source/cmake/WebKitMacros.cmake:
3070 2018-03-02 Don Olmstead <don.olmstead@sony.com>
3072 Add clang-format configuration
3073 https://bugs.webkit.org/show_bug.cgi?id=183302
3075 Reviewed by Ryosuke Niwa.
3077 * .clang-format: Added.
3079 2018-03-01 Michael Catanzaro <mcatanzaro@igalia.com>
3081 [CMake] configure failure for aarch64
3082 https://bugs.webkit.org/show_bug.cgi?id=183268
3084 Unreviewed build fix. This failure is caused by a simple typo.
3086 * Source/cmake/OptionsCommon.cmake:
3088 2018-02-26 Yousuke Kimoto <yousuke.kimoto@sony.com>
3090 [WinCairo] WebKit2_C.h should be included for TestWebKit
3091 https://bugs.webkit.org/show_bug.cgi?id=182682
3093 Reviewed by Yusuke Suzuki.
3095 Added a new definition "BUILDING_WIN_CAIRO_WEBKIT" to specify
3096 the wincairo webkit build.
3098 * Source/cmake/OptionsWinCairo.cmake:
3100 2018-02-26 Fujii Hironori <Hironori.Fujii@sony.com>
3102 [CMake][OpenVR] Linkage errors happen because only OpenVR is compiled with -stdlib=libc++ if Clang is used
3103 https://bugs.webkit.org/show_bug.cgi?id=183116
3105 Reviewed by Žan Doberšek.
3107 OpenVR has a option USE_LIBCXX to enable/disable that behavior. Let's disable it.
3109 * Source/CMakeLists.txt: Added a option command for USE_LIBCXX to set OFF as default.
3111 2018-02-21 Don Olmstead <don.olmstead@sony.com>
3113 [CMake] Expose HAVE macros globally
3114 https://bugs.webkit.org/show_bug.cgi?id=183011
3116 Reviewed by Michael Catanzaro.
3118 * Source/cmake/OptionsCommon.cmake:
3119 * Source/cmake/WebKitFeatures.cmake:
3121 2018-02-21 Don Olmstead <don.olmstead@sony.com>
3123 [CMake][Win] Use cmakeconfig.h rather than config.h and Platform.h
3124 https://bugs.webkit.org/show_bug.cgi?id=182883
3126 Reviewed by Per Arne Vollan.
3128 * Source/cmake/OptionsAppleWin.cmake:
3129 * Source/cmake/OptionsWin.cmake:
3130 * Source/cmake/OptionsWinCairo.cmake:
3132 2018-02-21 Michael Catanzaro <mcatanzaro@igalia.com>
3134 [GTK] USE_UPOWER causes crashes inside a chroot or on systems with broken dbus/upower
3135 https://bugs.webkit.org/show_bug.cgi?id=181825
3137 Reviewed by Carlos Garcia Campos.
3139 Get rid of the upower-glib dependency. We will use upower's D-Bus API instead.
3141 * Source/cmake/FindUPowerGLib.cmake: Removed.
3142 * Source/cmake/OptionsGTK.cmake:
3144 2018-02-20 Adrian Perez de Castro <aperez@igalia.com>
3146 [GTK][CMake] Support building with Enchant 2.x
3147 https://bugs.webkit.org/show_bug.cgi?id=182933
3149 Reviewed by Michael Catanzaro.
3151 * Source/cmake/FindEnchant.cmake: Check for both the "enchant" and "enchant-2"
3152 pkg-config components, picking the first available for which the headers and
3155 2018-02-19 Philippe Normand <pnormand@igalia.com>
3157 [GStreamer] Playbin3 support
3158 https://bugs.webkit.org/show_bug.cgi?id=182530
3160 Reviewed by Xabier Rodriguez-Calvar.
3162 * Source/cmake/GStreamerDefinitions.cmake: New
3163 USE(GSTREAMER_PLAYBIN3) feature. This should be enabled only for
3164 very recent versions of GStreamer (1.14 at least) and is optional, for now.
3166 2018-02-18 Philippe Normand <pnormand@igalia.com>
3168 [GTK][WPE] Fullscreen video is broken
3169 https://bugs.webkit.org/show_bug.cgi?id=182740
3171 Reviewed by Michael Catanzaro.
3173 * Source/cmake/WebKitFeatures.cmake: Enable the
3174 VIDEO_USES_ELEMENT_FULLSCREEN feature on CMake ports.
3176 2018-02-16 Dean Jackson <dino@apple.com>
3178 Use OPENGL macros to be more clear about which OpenGL/ES WebGL uses on Cocoa
3179 https://bugs.webkit.org/show_bug.cgi?id=182894
3181 Reviewed by Tim Horton.
3183 Rename OPENGL_ES_2 to OPENGL_ES.
3185 * Source/cmake/OptionsGTK.cmake:
3186 * Source/cmake/OptionsWPE.cmake:
3188 2018-02-09 Ross Kirsling <ross.kirsling@sony.com>
3190 Simplify .gitignore's WebKitLibraries/win section.
3191 https://bugs.webkit.org/show_bug.cgi?id=182618
3193 Reviewed by Per Arne Vollan.
3195 We need to update this section for WinCairoRequirements regardless, but
3196 it never needed to be this longwinded in the first place.
3200 2018-02-08 Fujii Hironori <Hironori.Fujii@sony.com>
3202 [Meta][Win] Support ICU 59.1+
3203 https://bugs.webkit.org/show_bug.cgi?id=181004
3205 Reviewed by Alex Christensen.
3207 ICU 59 changed the type of UChar from wchar_t to char16_t on
3208 Windows. We need a lot of conversions between UChar* and wchar_t*
3209 to call Windows API because it takes string as wchar_t*.
3211 Fortunately, ICU is configurable to define UChar as wchar_t as
3212 well as the prior ICU.
3213 <http://icu-project.org/apiref/icu4c/umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac>
3215 * Source/cmake/OptionsWin.cmake: Add a compile option -DUCHAR_TYPE=wchar_t.
3217 2018-02-08 Michael Catanzaro <mcatanzaro@igalia.com>
3219 Unreviewed, switch -pthread to -lpthread per recommendation from Adrian
3220 https://bugs.webkit.org/show_bug.cgi?id=182400
3221 <rdar://problem/37252242>
3223 This is tested and works fine.
3225 * Source/cmake/WebKitCompilerFlags.cmake:
3227 2018-02-05 Yousuke Kimoto <yousuke.kimoto@sony.com>
3229 [WinCairo] Refine WebKitLegacy and WebKit build for wincairo
3230 https://bugs.webkit.org/show_bug.cgi?id=182478
3232 Reviewed by Alex Christensen.
3234 * Source/cmake/OptionsWinCairo.cmake: Added a ENABLE_WIN_CAIRO_WEBKIT option to build webkit for wincairo.
3236 2018-02-05 Michael Catanzaro <mcatanzaro@igalia.com>
3238 Unreviewed, fix build using the new ENABLE_ADDRESS_SANITIZER option
3239 https://bugs.webkit.org/show_bug.cgi?id=182400
3240 <rdar://problem/37252242>
3242 I failed to properly test a last-minute change.
3244 * Source/cmake/WebKitCompilerFlags.cmake:
3246 2018-02-05 Michael Catanzaro <mcatanzaro@igalia.com>
3248 [CMake] Add ENABLE_ADDRESS_SANITIZER to make it easier to build with asan support
3249 https://bugs.webkit.org/show_bug.cgi?id=182400
3251 Reviewed by Konstantin Tokarev.
3253 * Source/cmake/OptionsGTK.cmake:
3254 * Source/cmake/WebKitCompilerFlags.cmake:
3256 2018-01-31 Michael Catanzaro <mcatanzaro@igalia.com>
3259 https://bugs.webkit.org/show_bug.cgi?id=182314
3261 Reviewed by Alex Christensen.
3263 Add download link for Epiphany Technology Preview. Improve build instructions for GTK. Add
3264 build instructions for WPE. Add instructions to run MiniBrowser on Linux. Miscellaneous
3265 typographical adjustments.
3269 2018-01-30 Sergio Villar Senin <svillar@igalia.com>
3271 [WebVR][GTK][WPE] Exclude OpenVR from tarballs
3272 https://bugs.webkit.org/show_bug.cgi?id=182284
3274 Reviewed by Michael Catanzaro.
3276 Added private build options for USE_OPENVR.
3278 * Source/cmake/OptionsGTK.cmake:
3279 * Source/cmake/OptionsWPE.cmake:
3281 2018-01-30 Basuke Suzuki <Basuke.Suzuki@sony.com>
3283 [WinCairo] Fix forwarding header conflict of WebKit on WinCairo
3284 https://bugs.webkit.org/show_bug.cgi?id=177202
3286 Reviewed by Alex Christensen.
3288 * Source/cmake/WebKitMacros.cmake:
3290 2018-01-29 Jiewen Tan <jiewen_tan@apple.com>
3292 [WebAuthN] Add a compile-time feature flag
3293 https://bugs.webkit.org/show_bug.cgi?id=182211
3294 <rdar://problem/36936365>
3296 Reviewed by Brent Fulgham.
3298 * Source/cmake/WebKitFeatures.cmake:
3299 * Source/cmake/tools/vsprops/FeatureDefines.props:
3300 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
3302 2018-01-18 Sergio Villar Senin <svillar@igalia.com>
3304 [WebVR] Add OpenVR to the tree and to the build
3305 https://bugs.webkit.org/show_bug.cgi?id=177298
3307 Reviewed by Žan Doberšek.
3309 * Source/CMakeLists.txt:
3310 * Source/cmake/OptionsGTK.cmake: Enable USE_OPENVR.
3311 * Source/cmake/OptionsWPE.cmake: Ditto.
3313 2018-01-18 Dan Bernstein <mitz@apple.com>
3315 [Xcode] Shared schemes in the WebKit workspace still have build pre-actions that invoke copy-webkitlibraries-to-product-directory
3316 https://bugs.webkit.org/show_bug.cgi?id=181784
3318 Reviewed by Anders Carlsson.
3320 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: Remove the build pre-action.
3321 * WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme: Ditto.
3323 2018-01-17 Michael Catanzaro <mcatanzaro@igalia.com>
3325 WEBKIT_FRAMEWORK should not modify file-global include directories
3326 https://bugs.webkit.org/show_bug.cgi?id=181656
3328 Reviewed by Konstantin Tokarev.
3330 Only modify the system include directories of the target passed to WEBKIT_FRAMEWORK.
3332 * Source/cmake/WebKitMacros.cmake:
3334 2018-01-17 Carlos Garcia Campos <cgarcia@igalia.com>
3336 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.6 release.
3338 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
3340 2018-01-15 Michael Catanzaro <mcatanzaro@igalia.com>
3342 REGRESSION(r226266): [GTK] RELEASE_ASSERT(reservedZoneSize >= minimumReservedZoneSize) in JSC::VM::updateStackLimits
3343 https://bugs.webkit.org/show_bug.cgi?id=181438
3344 <rdar://problem/36376724>
3346 Reviewed by Carlos Garcia Campos.
3348 Build JSC as a shared library.
3350 Stop using -fvisibility=hidden. This is a shame, but it is causing problems that I don't
3353 * Source/cmake/OptionsGTK.cmake:
3354 * Source/cmake/WebKitCompilerFlags.cmake:
3356 2018-01-11 Keith Miller <keith_miller@apple.com>
3358 Rename ENABLE_ASYNC_ITERATION to ENABLE_JS_ASYNC_ITERATION
3359 https://bugs.webkit.org/show_bug.cgi?id=181573
3361 Reviewed by Simon Fraser.
3363 * Source/cmake/WebKitFeatures.cmake:
3365 2018-01-10 Per Arne Vollan <pvollan@apple.com>
3367 [Win] WebKitLegacy should be a dll, not a static library.
3368 https://bugs.webkit.org/show_bug.cgi?id=181500
3370 Reviewed by Alex Christensen.
3372 Set WebKitLegacy library type to shared.
3374 * Source/cmake/OptionsWin.cmake:
3376 2018-01-09 Carlos Garcia Campos <cgarcia@igalia.com>
3378 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.5 release.
3380 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
3382 2018-01-09 Carlos Garcia Campos <cgarcia@igalia.com>
3384 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.4 release.
3386 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
3388 2018-01-05 Fujii Hironori <Hironori.Fujii@sony.com>
3390 REGRESSION(r226306)[Win][CMake] Unnecessary recompilations triggered by unconditionally copied header files of DerivedSources
3391 https://bugs.webkit.org/show_bug.cgi?id=181324
3393 Reviewed by Konstantin Tokarev.
3395 r226306 changed to use cmake -E copy to copy header files of
3396 DerivedSources. This command copies files unconditionally, then
3397 introduced unnecessary recompilations.
3399 * Source/cmake/WebKitMacros.cmake: Use copy_if_different instead of copy.
3401 2018-01-03 Ting-Wei Lan <lantw44@gmail.com>
3403 Replace hard-coded paths in shebangs with #!/usr/bin/env
3404 https://bugs.webkit.org/show_bug.cgi?id=181040
3406 Reviewed by Alex Christensen.
3408 * Source/cmake/tools/scripts/auto-version.pl:
3409 * Source/cmake/tools/scripts/feature-defines.pl:
3410 * Source/cmake/tools/scripts/version-stamp.pl:
3412 == Rolled over to ChangeLog-2018-01-01 ==