1 2018-10-25 Michael Catanzaro <mcatanzaro@igalia.com>
3 [GTK] Reenable the sandbox
5 Previously reviewed by, er, myself. This just reverts the sabotague as our bots should have
6 the required deps now. Hopefully.
8 * Source/cmake/OptionsGTK.cmake:
10 2018-10-18 Fujii Hironori <Hironori.Fujii@sony.com>
12 [Win][Clang] Do not give -Wall to clang-cl because it is treated as -Weverything
13 https://bugs.webkit.org/show_bug.cgi?id=190514
15 Reviewed by Michael Catanzaro.
17 clang-cl maps /Wall and -Wall to -Weverything which reports tons
18 of compilation warnings. Do not give -Wall option to clang-cl.
20 Clang processes -Wall and -Wextra options differently than GCC.
21 Clang processes all warning options in left-to-right order, while
22 GCC processes -Wall and -Wextra options first. In order to get the
23 same effect in both compilers, -Wall and -Wextra should be
24 speficied before all -Wno-* options.
26 * Source/cmake/WebKitCompilerFlags.cmake: Put -Wall and -Wextra
27 options before all -Wno-* options.
28 * Source/cmake/OptionsMSVC.cmake: Prepend /W4 option, instead of
29 just replacing /W3 option.
31 2018-10-16 Philippe Normand <pnormand@igalia.com>
33 Unreviewed, GTK bots build fix
35 * Source/cmake/OptionsGTK.cmake: Disable Sandbox support until the
36 bots have all the needed dependencies installed.
38 2018-10-15 Justin Fan <justin_fan@apple.com>
40 Add WebGPU 2018 feature flag and experimental feature flag
41 https://bugs.webkit.org/show_bug.cgi?id=190509
43 Reviewed by Dean Jackson.
45 Update FeatureDefines for WebGPU -> WebMetal renaming, while preserving WebGPU
46 references for 2018 WebGPU Sketch implementation.
48 * Source/cmake/OptionsMac.cmake:
49 * Source/cmake/tools/vsprops/FeatureDefines.props:
50 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
52 2018-10-15 Christopher Reid <chris.reid@sony.com>
54 [Curl][WinCairo] Add Public Suffix support to WinCairo
55 https://bugs.webkit.org/show_bug.cgi?id=183060
57 Reviewed by Alex Christensen.
59 * Source/cmake/FindLibPSL.cmake: Added.
60 * Source/cmake/OptionsWin.cmake:
61 * Source/cmake/OptionsWinCairo.cmake:
63 2018-10-15 Michael Catanzaro <mcatanzaro@igalia.com>
65 Add new files missing from previous commit.
67 * Source/cmake/FindLibseccomp.cmake: Added.
69 2018-10-15 Patrick Griffis <pgriffis@igalia.com>
71 [GTK][WPE] Implement subprocess sandboxing
72 https://bugs.webkit.org/show_bug.cgi?id=188568
74 Reviewed by Michael Catanzaro.
76 Add ENABLE_BUBBLEWRAP_SANDBOX option for sandboxing.
78 * Source/cmake/FindLibseccomp.cmake: Added.
79 * Source/cmake/OptionsGTK.cmake:
80 * Source/cmake/WebKitFeatures.cmake:
82 2018-10-14 Yusuke Suzuki <yusukesuzuki@slowstart.org>
84 [JSC] Remove Option::useAsyncIterator
85 https://bugs.webkit.org/show_bug.cgi?id=190567
87 Reviewed by Saam Barati.
89 * Source/cmake/WebKitFeatures.cmake:
91 2018-10-08 Justin Fan <justin_fan@apple.com>
93 WebGPU: Rename old WebGPU prototype to WebMetal
94 https://bugs.webkit.org/show_bug.cgi?id=190325
96 Reviewed by Dean Jackson.
98 * Source/cmake/WebKitFeatures.cmake:
100 2018-10-02 Philippe Normand <pnormand@igalia.com>
102 [GStreamer][MSE] Ubuntu LTS build broken since r236409
103 https://bugs.webkit.org/show_bug.cgi?id=190036
105 Reviewed by Michael Catanzaro.
107 Interrupt the build if MSE is enabled but no supported (1.14)
108 GStreamer version was found.
110 * Source/cmake/GStreamerChecks.cmake:
112 2018-10-01 Caio Lima <ticaiolima@gmail.com>
114 'HAVE_PTHREAD_MAIN_NP' macro redefined warning when building --jsc-only on macOS
115 https://bugs.webkit.org/show_bug.cgi?id=190118
117 Reviewed by Yusuke Suzuki.
119 We define HAVE_PTHREAD_MAIN_NP in WTF/wtf/Platform.h when the OS is
120 Darwin. In such case, we don't need to check symbols for
121 pthread_main_np when generating build for this system.
123 * Source/cmake/OptionsCommon.cmake:
125 2018-09-28 Mike Gorse <mgorse@alum.wpi.edu>
127 cmake cannot run if python 2 isn't available
128 https://bugs.webkit.org/show_bug.cgi?id=190075
130 Reviewed by Michael Catanzaro.
132 * Source/cmake/WebKitCommon.cmake: Set Python_ADDITIONAL_VERSIONS
133 to 3, so that a python3 binary will be found.
135 2018-09-28 Yusuke Suzuki <yusukesuzuki@slowstart.org>
137 [WTF] Make isMainThread more reliable
138 https://bugs.webkit.org/show_bug.cgi?id=189880
140 Reviewed by Mark Lam.
142 * Source/cmake/OptionsCommon.cmake:
144 2018-09-21 Yusuke Suzuki <yusukesuzuki@slowstart.org>
146 [JSC] Enable LLInt ASM interpreter on X64 and ARM64 in non JIT configuration
147 https://bugs.webkit.org/show_bug.cgi?id=189778
149 Reviewed by Keith Miller.
151 ENABLE_SAMPLING_PROFILER does not depend on ENABLE_JIT now since it can be
152 used with LLInt ASM interpreter.
154 * Source/cmake/WebKitFeatures.cmake:
156 2018-09-21 Mike Gorse <mgorse@suse.com>
158 Build tools should work when the /usr/bin/python is python3
159 https://bugs.webkit.org/show_bug.cgi?id=156674
161 Reviewed by Michael Catanzaro.
163 * Source/cmake/WebKitCommon.cmake: Allow python 3.
165 2018-09-20 Carlos Garcia Campos <cgarcia@igalia.com>
167 Unreviewed. Update GTK+ library versions after r235362.
169 Project version number was updated without bumping the library versions too.
171 * Source/cmake/OptionsGTK.cmake:
173 2018-09-12 Dan Bernstein <mitz@apple.com>
175 Updated svn:ignore after r235381.
177 * .: Added LocalOverrides.xcconfig to svn:ignore.
179 2018-09-12 Dan Bernstein <mitz@apple.com>
181 Removed a couple of empty directories left behind after r235892.
183 * WPEWebCore: Removed.
184 * downstream-WebCore: Removed.
186 2018-09-10 Tim Horton <timothy_horton@apple.com>
188 Make it easier to build for SDK_VARIANT=iosmac
189 https://bugs.webkit.org/show_bug.cgi?id=189488
190 <rdar://problem/38254840>
192 Reviewed by Wenson Hsieh.
197 Set a variety of build flags (disable libwebrtc, tools, and set
198 SDK_VARIANT and WK_ALTERNATE_FRAMEWORKS_DIR).
200 2018-08-30 Don Olmstead <don.olmstead@sony.com>
202 [CMake] Replace AVFoundationSupport.py using CMake
203 https://bugs.webkit.org/show_bug.cgi?id=182891
205 Reviewed by Per Arne Vollan.
207 Adds CMake checks for AVFoundation support replacing the functionality
208 of AVFoundationSupport.py.
210 CMake is used to detect the symbols expected with the HAVE_* checks for
211 AVFoundation support. This involves creating source files that will be
212 built which verifies the presence of symbols. For Apple frameworks it
213 is customary to include the main framework file which includes the
214 other associated headers.
216 The check for HAVE_AVCFPLAYERITEM_CALLBACK_VERSION_2 involves looking
217 for an enumeration which a symbol check cannot detect. Instead a small
218 program is used which will compile and link when the version 2
219 enumeration is present.
221 * Source/cmake/OptionsAppleWin.cmake:
222 * Source/cmake/OptionsWin.cmake:
223 * Source/cmake/WebKitCommon.cmake:
224 * Source/cmake/WebKitFeatures.cmake:
226 2018-08-28 Don Olmstead <don.olmstead@sony.com>
228 [CMake] Use CMake's FindFreetype
229 https://bugs.webkit.org/show_bug.cgi?id=189071
231 Reviewed by Michael Catanzaro.
233 Use the builtin CMake functionality for finding Freetype.
235 * Source/cmake/FindFreetype2.cmake: Removed.
236 * Source/cmake/OptionsGTK.cmake:
237 * Source/cmake/OptionsWPE.cmake:
239 2018-08-27 Aditya Keerthi <akeerthi@apple.com>
241 Consolidate ENABLE_INPUT_TYPE_COLOR and ENABLE_INPUT_TYPE_COLOR_POPOVER
242 https://bugs.webkit.org/show_bug.cgi?id=188931
244 Reviewed by Wenson Hsieh.
246 * Source/cmake/OptionsMac.cmake: Removed ENABLE_INPUT_TYPE_COLOR_POPOVER.
247 * Source/cmake/WebKitFeatures.cmake: Removed ENABLE_INPUT_TYPE_COLOR_POPOVER.
249 2018-08-27 Keith Rollin <krollin@apple.com>
251 Build system support for LTO
252 https://bugs.webkit.org/show_bug.cgi?id=187785
253 <rdar://problem/42353132>
255 Reviewed by Dan Bernstein.
257 Add support for building WebKit with LTO (Link Time Optimization) on
258 macOS and iOS. Both variations are supported: "full" (which performs
259 all the optimizations it can regardless of the cost) and "thin" (which
260 sacrifices some optimizations in order to recover build time and
263 By default, LTO is disabled for Debug and Release builds, but is
264 enabled for Production builds. For Debug and Release builds, LTO is
265 controlled as follows:
267 - When using `make` from the command line, include
268 WK_LTO_MODE={none,thin,full}. For example, `make WK_LTO_MODE=full
269 release`. As when specifying debug/release, the LTO configuration
270 information is written to the WebKitBuild directory and is used as
271 the default on the next build if a new setting is not specified.
273 - When using `build-webkit`, include --lto-mode={none,thin,full} on
274 the command line. For example, `build-webkit --lto-mode=full ...`.
276 - When using Xcode, create a configuration file called
277 LocalOverrides.xcconfig at the root level of your WebKit checkout
278 directory. Include within it a line that says:
280 WK_LTO_MODE={none,thin,full}
286 Note that LocalOverrides.xcconfig is included in the .gitignore file,
287 so you won't accidentally check your changes into source control.
289 Enabling LTO can greatly increase build times, especially when using
290 "full" LTO with 32GB or RAM or less. Following is a table of full
291 build times for a Release build on a fully decked-out 2017 iMac Pro:
294 ----- ------- -------
296 Thin: 11m 44s 17m 30s
297 Full: 21m 39s 28m 56s
299 Incremental times are affected even more greatly. The actual
300 optimization and compilation of LLVM bitcode is moved to the link
301 phase, meaning that the link phase, which previously took only
302 seconds, can now take many minutes. It's for this reason that LTO is
303 not enabled in Debug and Release builds, since incremental builds are
304 an integral part of those configurations. However, using the
305 mechanisms described above, developers can perform optional LTO builds
306 if needed to track down build or runtime issues in that configuration.
308 * .gitignore: Include LocalOverrides.xcconfig.
309 * Makefile.shared: Add support for WK_LTO_MODE on the command line.
311 2018-08-27 Michael Catanzaro <mcatanzaro@igalia.com>
313 Unreviewed, bump WPE/GTK version numbers
315 We have a pkg-config dependency on 2.21.92 but trunk is stuck on 2.21.5. So bump the version
316 number to 2.23.0. It seems like a good version number to use until the next real release
319 * Source/cmake/OptionsGTK.cmake:
320 * Source/cmake/OptionsWPE.cmake:
322 2018-08-26 Michael Catanzaro <mcatanzaro@igalia.com>
324 [CMake] Remove stale comment from WebKitFeatures.cmake
325 https://bugs.webkit.org/show_bug.cgi?id=188918
327 Reviewed by Fujii Hironori.
329 This comment at the top of WebKitFeatures.cmake is no longer accurate because feature defaults are no longer defined in FeatureList.pm (thank goodness!)
331 * Source/cmake/WebKitFeatures.cmake:
333 2018-08-23 Don Olmstead <don.olmstead@sony.com>
335 [CMake] Have checks are not getting set inside CMake properly
336 https://bugs.webkit.org/show_bug.cgi?id=188901
338 Reviewed by Michael Catanzaro.
340 Make sure the variable's value is sent to SET_AND_EXPOSE_TO_BUILD
341 within the WEBKIT_CHECK_HAVE_* macros.
343 * Source/cmake/WebKitFeatures.cmake:
345 2018-08-23 Don Olmstead <don.olmstead@sony.com>
347 [CMake] Add HAVE_MALLOC_TRIM definition
348 https://bugs.webkit.org/show_bug.cgi?id=188897
350 Reviewed by Konstantin Tokarev.
352 Add CMake check for malloc_trim.
354 * Source/cmake/OptionsCommon.cmake:
356 2018-08-22 Ross Kirsling <ross.kirsling@sony.com>
358 [MSVC] Stop disabling /O2 features.
359 https://bugs.webkit.org/show_bug.cgi?id=188811
361 Reviewed by Per Arne Vollan.
363 * Source/cmake/OptionsMSVC.cmake:
364 Don't disable /GF (string pooling) or /Gy (function-level linking).
366 2018-08-22 Alberto Garcia <berto@igalia.com>
368 Don't use WTF_CPU_MIPS when building for mips64
369 https://bugs.webkit.org/show_bug.cgi?id=188858
371 Reviewed by Michael Catanzaro.
373 * CMakeLists.txt: Use WTF_CPU_MIPS64 for this architecture.
375 2018-08-22 Zan Dobersek <zdobersek@igalia.com>
377 [CoordGraphics] Switch to Nicosia::CompositionLayer state tracking
378 https://bugs.webkit.org/show_bug.cgi?id=188693
380 Reviewed by Carlos Garcia Campos.
382 * Source/cmake/OptionsGTK.cmake: Enable USE_NICOSIA alongside
383 USE_COORDINATED_GRAPHICS and USE_COORDINATED_GRAPHICS_THREADED.
384 * Source/cmake/OptionsWPE.cmake: Ditto.
386 2018-08-21 Adrian Perez de Castro <aperez@igalia.com>
388 Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.91 release.
390 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
392 2018-08-21 Adrian Perez de Castro <aperez@igalia.com>
394 [WPE] Update to use libwpe-1.0.0 and WPEBackend-fdo-1.0.0
395 https://bugs.webkit.org/show_bug.cgi?id=188782
397 Reviewed by Michael Catanzaro.
399 Make the build depend on wpe-0.2, and change the Flatpak and JHBuild development
400 environments to use version 1.0.0 of libwpe and WPEBackend-fdo.
402 * Source/cmake/FindWPE.cmake: Renamed from Source/cmake/FindWPEBackend.cmake and changed
403 to check for libwpe-0.2.
404 * Source/cmake/OptionsWPE.cmake: Adapt to the rename to FindWPE.cmake.
406 2018-08-18 Michael Catanzaro <mcatanzaro@igalia.com>
408 Adjust CMAKE_MODULE_LINKER_FLAGS for asan
409 https://bugs.webkit.org/show_bug.cgi?id=188699
411 Reviewed by Konstantin Tokarev.
413 * Source/cmake/WebKitCompilerFlags.cmake:
415 2018-07-30 Thibault Saunier <tsaunier@igalia.com>
417 [GStreamer] Make codecparsers optionnal
418 https://bugs.webkit.org/show_bug.cgi?id=188010
420 And avoid building libWebRTC if it won't be used. While there is no other
421 WebRTC backend, it makes no sense to expose an option.
423 Error out when WEBRTC or MEDIA_STREAM is enabled but GStreamer < 1.10
425 Reviewed by Alejandro G. Castro.
427 * Source/cmake/GStreamerChecks.cmake:
428 * Source/cmake/OptionsGTK.cmake:
429 * Source/cmake/OptionsWPE.cmake:
431 2018-07-26 Andy VanWagoner <andy@vanwagoner.family>
433 [INTL] Remove INTL sub-feature compile flags
434 https://bugs.webkit.org/show_bug.cgi?id=188081
436 Reviewed by Michael Catanzaro.
438 * Source/cmake/OptionsJSCOnly.cmake:
439 * Source/cmake/WebKitFeatures.cmake:
441 2018-07-24 Thibault Saunier <tsaunier@igalia.com>
443 [WPE][GTK] Implement PeerConnection API on top of libwebrtc
444 https://bugs.webkit.org/show_bug.cgi?id=186932
446 Reviewed by Philippe Normand.
448 * Source/cmake/FindGStreamer.cmake: Look for gstreamer-codecparser as it needed for GStreamerVideoDecoder
450 2018-07-20 Carlos Garcia Campos <cgarcia@igalia.com>
452 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.5 release.
454 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
456 2018-07-19 Stephan Szabo <stephan.szabo@sony.com>
458 [WinCairo] Support DEVELOPER_MODE for allowing inspection of web inspector
459 https://bugs.webkit.org/show_bug.cgi?id=187786
461 Reviewed by Fujii Hironori.
463 * Source/cmake/OptionsWinCairo.cmake: Add ENABLE_DEVELOPER_MODE
464 to build when DEVELOPER_MODE is turned on at cmake time.
466 2018-07-18 Michael Catanzaro <mcatanzaro@igalia.com>
468 Switch CMake ports back to C++ 14
469 https://bugs.webkit.org/show_bug.cgi?id=187744
471 Reviewed by Ryosuke Niwa.
473 The XCode build is still not using C++ 17, it's been several months since CMake ports
474 switched, everything builds fine without changes if we switch back, and there have been some
475 unfixed problems. Let's go back to C++ 14 for now. We can switch back to C++ 17 whenever we
476 are ready to switch over XCode at the same time, to ensure we don't wind up with divergent
477 behavior for std::optional.
479 * Source/cmake/WebKitCompilerFlags.cmake:
481 2018-07-16 Ryosuke Niwa <rniwa@webkit.org>
483 Update ReadMe.md line 68
484 https://bugs.webkit.org/show_bug.cgi?id=187533
486 Reviewed by Wenson Hsieh.
490 2018-07-02 Adrian Perez de Castro <aperez@igalia.com>
492 [CMake] Use JOB_POOLS to avoid memory-hungry linker processes running at the same time
493 https://bugs.webkit.org/show_bug.cgi?id=187254
495 Reviewed by Michael Catanzaro.
497 * Source/cmake/WebKitCommon.cmake: Set the maximum number of
498 concurrent link processes using job pools (four for release builds,
499 two otherwise) to avoid running out of memory during builds.
501 2018-07-02 Ryosuke Niwa <rniwa@webkit.org>
503 Repository fix after r233427 and r233443.
507 2018-06-30 Adam Barth <abarth@webkit.org>
509 Port JavaScriptCore to OS(FUCHSIA)
510 https://bugs.webkit.org/show_bug.cgi?id=187223
512 Reviewed by Daniel Bates.
514 * Source/cmake/OptionsJSCOnly.cmake: Add back ICU.
516 2018-06-29 Ross Kirsling <ross.kirsling@sony.com>
518 [JSCOnly] Restore Windows build.
519 https://bugs.webkit.org/show_bug.cgi?id=187127
521 Reviewed by Michael Catanzaro.
523 * Source/cmake/OptionsJSCOnly.cmake:
524 Don't forget to set -DUCHAR_TYPE=wchar_t for ICU on Windows.
525 Use bin64/lib64 on Windows (for consistency with full WebKit build).
527 2018-06-28 Adam Barth <abarth@webkit.org>
529 Switch OS(FUCHSIA) to using JSCOnly
530 https://bugs.webkit.org/show_bug.cgi?id=187133
532 Reviewed by Yusuke Suzuki.
534 Rather than creating a Fuchsia port, OS(FUCHSIA) now uses the JSCOnly
537 * CMakeLists.txt: Set the WTF_OS_FUCHSIA flag
538 * Source/cmake/OptionsFuchsia.cmake: Removed.
539 * Source/cmake/OptionsJSCOnly.cmake: Temporarily disable ICU for
540 OS(FUCHSIA). We'll get ICU wired in, but I'd like to work through the
541 other compile errors first.
543 2018-06-27 Adam Barth <abarth@webkit.org>
545 Add Fuchsia support to build-jsc
546 https://bugs.webkit.org/show_bug.cgi?id=187086
548 Reviewed by Yusuke Suzuki.
550 Add Fuchsia port to cmake build system. After this patch, the build
551 errors out due to a missing sysroot.
554 * Source/cmake/OptionsFuchsia.cmake: Added.
556 2018-06-18 Zan Dobersek <zdobersek@igalia.com>
558 Unreviewed GTK+ gardening. Updating the WPT expectations by removing
559 failure expectations for 2dcontext tests covering CSS HSL/HSLA color
560 parsing and createImageBitmap() API that are nowadays passing.
562 * WebPlatformTests/gtk/TestExpectations.json:
564 2018-06-17 Michael Catanzaro <mcatanzaro@igalia.com>
566 [CMake] Automatically disable JIT and enable USE_SYSTEM_MALLOC on unfamiliar architectures
567 https://bugs.webkit.org/show_bug.cgi?id=186722
569 Reviewed by Darin Adler.
571 We know that the JSC JIT and bmalloc both work on only a limited set of architectures. In
572 Fedora, we have to manually disable these when building for s390x, ppc64, and ppc64le. But
573 it's really easy to do the right thing automatically, so we might as well.
575 * Source/cmake/WebKitFeatures.cmake:
577 2018-06-13 Thibault Saunier <tsaunier@igalia.com>
579 [WPE] Build getUserMedia support
580 https://bugs.webkit.org/show_bug.cgi?id=186547
582 Reviewed by Alejandro G. Castro.
584 * Source/cmake/OptionsWPE.cmake: Build MediaStream support
586 2018-06-12 Philippe Normand <pnormand@igalia.com>
588 [GStreamer] Bump required version to 1.8.3
589 https://bugs.webkit.org/show_bug.cgi?id=186558
591 Reviewed by Xabier Rodriguez-Calvar.
593 * Source/cmake/GStreamerChecks.cmake: Bump to 1.8.3 which is the
594 version shipped in the current Ubuntu LTS we support (16.04).
596 2018-06-12 Zan Dobersek <zdobersek@igalia.com>
598 Add run-web-platform-tests script
599 https://bugs.webkit.org/show_bug.cgi?id=183356
601 Reviewed by Carlos Alberto Lopez Perez.
603 Store port-specific test expectations and test manifest files for the
604 web-platform-tests test runs under the top-level WebPlatformTests
607 TestExpectations.json file lists all the failing or disabled tests
608 or subtests that are to be expected in the test run. This information is
609 parsed in the run-web-platform-tests script and used to build
610 test-specific metadata files (ending with .ini) inside a temporary
611 directory that is then used during the test run. JSON format is used to
612 follow the WebDriver test suite in how it manages expectations, and to
613 avoid having to manually manage .ini files for every deviant test case.
615 TestManifest.ini file is used to fine-tune which tests are to be enabled
616 by default. For the GTK+ port, we currently disable all tests by default
617 but then specifically enable tests under the 2dcontext and WebCryptoAPI
618 directories. This will allow for gradual enabling of further tests.
620 * WebPlatformTests/gtk/TestExpectations.json: Added.
621 * WebPlatformTests/gtk/TestManifest.ini: Added.
623 2018-06-11 Carlos Garcia Campos <cgarcia@igalia.com>
625 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.4 release.
627 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
629 2018-06-11 Michael Saboff <msaboff@apple.com>
631 JavaScriptCore: Disable 32-bit JIT on Windows
632 https://bugs.webkit.org/show_bug.cgi?id=185989
634 Reviewed by Mark Lam.
636 * Source/cmake/OptionsWin.cmake:
638 2018-06-10 Carlos Garcia Campos <cgarcia@igalia.com>
640 [WPE] Add a MiniBrowser and use it to run WebDriver tests
641 https://bugs.webkit.org/show_bug.cgi?id=186345
643 Reviewed by Žan Doberšek.
645 Add an option to enable building the MiniBrowser.
647 * Source/cmake/FindWaylandProtocols.cmake: Added.
648 * Source/cmake/OptionsWPE.cmake:
650 2018-06-06 Dan Bernstein <mitz@apple.com>
652 [Xcode] Opt out of the New Build System
653 https://bugs.webkit.org/show_bug.cgi?id=186380
655 Reviewed by Alexey Proskuryakov.
657 * WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: Use the Legacy Build System.
659 2018-06-06 Dan Bernstein <mitz@apple.com>
661 Check in a file created by the Xcode 10 beta.
663 * WebKit.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: Added.
665 2018-05-28 Carlos Garcia Campos <cgarcia@igalia.com>
667 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.3 release.
669 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
671 2018-05-25 Adrian Perez de Castro <aperez@igalia.com>
673 Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.2 release.
675 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
677 2018-05-22 Alberto Garcia <berto@igalia.com>
679 [CMake] Properly detect compiler flags, needed libs, and fallbacks for usage of 64-bit atomic operations
680 https://bugs.webkit.org/show_bug.cgi?id=182622
681 <rdar://problem/40292317>
683 Reviewed by Michael Catanzaro.
685 * Source/cmake/WebKitCompilerFlags.cmake:
686 Move the test to detect whether we need to link against libatomic
687 to a common CMake file so it can be used from both JavaScriptCore
690 2018-05-22 Michael Catanzaro <mcatanzaro@igalia.com>
692 Unreviewed, rolling out r231843.
698 "[CMake] Properly detect compiler flags, needed libs, and
699 fallbacks for usage of 64-bit atomic operations"
700 https://bugs.webkit.org/show_bug.cgi?id=182622
701 https://trac.webkit.org/changeset/231843
703 2018-05-21 Fujii Hironori <Hironori.Fujii@sony.com>
705 [WinCairo] Enable WebKit build by default
706 https://bugs.webkit.org/show_bug.cgi?id=185141
708 Reviewed by Per Arne Vollan.
710 * Source/cmake/OptionsWin.cmake: Disable
711 ENABLE_NETSCAPE_PLUGIN_API unconditionally for WinCairo port
712 because it builds both WK1 and WK2.
713 * Source/cmake/OptionsWinCairo.cmake: Turn ENABLE_WEBKIT on by default.
714 Remove BUILDING_WIN_CAIRO_WEBKIT macro.
716 2018-05-21 Carlos Garcia Campos <cgarcia@igalia.com>
718 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.2 release.
720 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
722 2018-05-17 Carlos Alberto Lopez Perez <clopez@igalia.com>
724 [WPE] Implement and enable FULLSCREEN_API
725 https://bugs.webkit.org/show_bug.cgi?id=185676
727 Reviewed by Žan Doberšek.
729 Remove the CMake option to disable this option for WPE.
730 This feature gets enabled now via Source/cmake/WebKitFeatures.cmake
732 * Source/cmake/OptionsWPE.cmake:
734 2018-05-16 Don Olmstead <don.olmstead@sony.com>
736 [WinCairo] Update WinCairoRequirements
737 https://bugs.webkit.org/show_bug.cgi?id=185700
739 Reviewed by Per Arne Vollan.
741 * Source/cmake/OptionsWinCairo.cmake:
743 2018-05-16 Andy VanWagoner <andy@vanwagoner.family>
745 Add support for Intl NumberFormat formatToParts
746 https://bugs.webkit.org/show_bug.cgi?id=185375
748 Reviewed by Yusuke Suzuki.
750 Add flag for NumberFormat formatToParts.
752 * Source/cmake/OptionsJSCOnly.cmake:
753 * Source/cmake/WebKitFeatures.cmake:
755 2018-05-14 Yusuke Suzuki <utatane.tea@gmail.com>
757 [Win] Use C++17 in MSVC
758 https://bugs.webkit.org/show_bug.cgi?id=185232
760 Reviewed by Alex Christensen.
762 Use /std:c++17 option.
764 * Source/cmake/OptionsMSVC.cmake:
766 2018-05-16 Alberto Garcia <berto@igalia.com>
768 [CMake] Properly detect compiler flags, needed libs, and fallbacks for usage of 64-bit atomic operations
769 https://bugs.webkit.org/show_bug.cgi?id=182622
771 Reviewed by Michael Catanzaro.
773 * Source/cmake/OptionsGTK.cmake:
774 * Source/cmake/OptionsJSCOnly.cmake:
775 * Source/cmake/OptionsWPE.cmake:
776 Enable THREADS_PREFER_PTHREAD_FLAG. This uses -pthread instead of
777 -lpthread, fixing the 64-bit RISC-V build of the GTK+ port due to
778 missing atomic primitives.
780 * Source/cmake/WebKitCompilerFlags.cmake:
781 Move the test to detect whether we need to link against libatomic
782 to a common CMake file so it can be used from both JavaScriptCore
785 2018-05-14 Zan Dobersek <zdobersek@igalia.com>
787 [GTK] REGRESSION(r231170) Build broken with Clang 5.0
788 https://bugs.webkit.org/show_bug.cgi?id=185198
790 Reviewed by Michael Catanzaro.
792 * Source/cmake/WebKitCompilerFlags.cmake: Fall back to the -std=c++1z
793 compiler flag if -std=c++17 is not supported. If that flag is not
794 supported either, bail with an error message.
796 2018-05-09 Jan Alexander Steffens <jan.steffens@gmail.com>
798 [GTK] gtk-doc installation subdir duplicated
799 https://bugs.webkit.org/show_bug.cgi?id=185468
801 Reviewed by Carlos Garcia Campos.
803 The GTK docs are installed into a duplicated subdir,
804 e.g. /usr/share/doc/gtk-doc/html/webkit2gtk-4.0/webkit2gtk-4.0.
806 * Source/PlatformGTK.cmake:
808 2018-05-09 Michael Catanzaro <mcatanzaro@igalia.com>
810 Unreviewed. Bump WPE soname for good measure.
812 * Source/cmake/OptionsWPE.cmake:
814 2018-05-09 Michael Catanzaro <mcatanzaro@igalia.com>
816 Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.1 release.
818 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
820 2018-05-06 Yusuke Suzuki <utatane.tea@gmail.com>
822 [JSC][GTK][JSCONLY] Use capstone disassembler
823 https://bugs.webkit.org/show_bug.cgi?id=185283
825 Reviewed by Michael Catanzaro.
827 * Source/CMakeLists.txt:
828 * Source/cmake/FindLLVM.cmake: Removed.
829 * Source/cmake/OptionsCommon.cmake:
830 * Source/cmake/OptionsGTK.cmake:
831 * Source/cmake/OptionsJSCOnly.cmake:
832 * Source/cmake/OptionsWPE.cmake:
834 2018-05-08 Valerie R Young <valerie@bocoup.com>
836 test262/Runner.pm: create results dir for results of test262 run
837 https://bugs.webkit.org/show_bug.cgi?id=185392
839 Reviewed by Michael Saboff.
841 Remove reference to no longer existing files.
845 2018-05-07 Yusuke Suzuki <utatane.tea@gmail.com>
847 [JSCOnly] Enable Intl.PluralRules
848 https://bugs.webkit.org/show_bug.cgi?id=185359
850 Reviewed by Daniel Bates.
852 Enable Intl.PluralRules because JSCOnly port enables features aggressively.
854 * Source/cmake/OptionsJSCOnly.cmake:
856 2018-05-07 Don Olmstead <don.olmstead@sony.com>
858 [WinCairo] Disable plugin api when building modern WebKit
859 https://bugs.webkit.org/show_bug.cgi?id=185312
861 Reviewed by Michael Catanzaro.
863 * Source/cmake/OptionsWin.cmake:
865 2018-05-02 Valerie R Young <valerie@bocoup.com>
867 test262/Runner.pm: save summary to file
868 https://bugs.webkit.org/show_bug.cgi?id=185200
870 Reviewed by Michael Saboff.
874 2018-05-01 Leo Balter <leonardo.balter@gmail.com>
876 Auto save the results for Test262
877 https://bugs.webkit.org/show_bug.cgi?id=184926
879 Reviewed by Michael Saboff.
881 2018-05-01 Oleksandr Skachkov <gskachkov@gmail.com>
883 WebAssembly: add support for stream APIs - JavaScript API
884 https://bugs.webkit.org/show_bug.cgi?id=183442
886 Reviewed by Yusuke Suzuki and JF Bastien.
888 * Source/cmake/WebKitFeatures.cmake:
890 2018-04-30 JF Bastien <jfbastien@apple.com>
892 Use some C++17 features
893 https://bugs.webkit.org/show_bug.cgi?id=185135
895 Reviewed by Alex Christensen.
897 As discussed here [0] let's move WebKit to a subset of C++17. We
898 now require GCC 6 [1] which means that, according to [2] we can
899 use the following C++17 language features (I removed some
902 - New auto rules for direct-list-initialization
903 - static_assert with no message
904 - typename in a template template parameter
905 - Nested namespace definition
906 - Attributes for namespaces and enumerators
907 - u8 character literals
908 - Allow constant evaluation for all non-type template arguments
910 - Unary fold expressions and empty parameter packs
911 - __has_include in preprocessor conditional
912 - Differing begin and end types in range-based for
913 - Improving std::pair and std::tuple
915 Consult the Tony Tables [3] to see before / after examples.
917 Of course we can use any library feature if we're willing to
918 import them to WTF (and they don't require language support).
921 [0]: https://lists.webkit.org/pipermail/webkit-dev/2018-March/029922.html
922 [1]: https://trac.webkit.org/changeset/231152/webkit
923 [2]: https://en.cppreference.com/w/cpp/compiler_support
924 [3]: https://github.com/tvaneerd/cpp17_in_TTs/blob/master/ALL_IN_ONE.md
926 * Source/cmake/WebKitCompilerFlags.cmake:
928 2018-04-29 Michael Catanzaro <mcatanzaro@igalia.com>
930 [CMake] Require GCC 6
931 https://bugs.webkit.org/show_bug.cgi?id=184985
933 Reviewed by Alex Christensen.
939 2018-04-26 Daniel Bates <dabates@apple.com>
941 ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
942 https://bugs.webkit.org/show_bug.cgi?id=184161
943 <rdar://problem/39051645>
945 Reviewed by Dan Bernstein.
947 * ManualTests/DragInlinePDFImageDocument.html: Added.
948 * ManualTests/resources/simple.pdf: Added.
950 2018-04-26 Andy VanWagoner <thetalecrafter@gmail.com>
952 [INTL] Implement Intl.PluralRules
953 https://bugs.webkit.org/show_bug.cgi?id=184312
955 Reviewed by JF Bastien.
957 Added Intl.PluralRules feature flag.
959 * Source/cmake/WebKitFeatures.cmake:
961 2018-04-26 Zan Dobersek <zdobersek@igalia.com>
963 [GTK][WPE] Initial ASYNC_SCROLLING support
964 https://bugs.webkit.org/show_bug.cgi?id=184961
966 Reviewed by Carlos Garcia Campos.
968 * Source/cmake/OptionsGTK.cmake: Enable ASYNC_SCROLLING as a private option.
969 * Source/cmake/OptionsWPE.cmake: Ditto.
971 2018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
973 [WPE] Build and link against latest WPEBackend and WPEBackend-fdo
974 https://bugs.webkit.org/show_bug.cgi?id=184643
976 Reviewed by Žan Doberšek.
978 Update find modules to include the API versions.
980 * Source/cmake/FindWPEBackend-fdo.cmake:
981 * Source/cmake/FindWPEBackend.cmake:
983 2018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
985 [CMake] Some options should be marked as advanced
986 https://bugs.webkit.org/show_bug.cgi?id=184972
988 Reviewed by Konstantin Tokarev.
990 * Source/cmake/FindLibGcrypt.cmake:
991 * Source/cmake/FindWebP.cmake:
993 2018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
995 [GTK] Miscellaneous build cleanups
996 https://bugs.webkit.org/show_bug.cgi?id=184399
998 Reviewed by Žan Doberšek.
1000 * Source/cmake/OptionsGTK.cmake:
1002 2018-04-24 Leo Balter <leonardo.balter@gmail.com>
1004 Land test262 test results associated with Test262 runner
1005 https://bugs.webkit.org/show_bug.cgi?id=184667
1007 Reviewed by Michael Saboff.
1009 * .gitignore: Ignore test262 results file.
1011 2018-04-24 Zan Dobersek <zdobersek@igalia.com>
1013 [WPE] Remove libgbm dependency
1014 https://bugs.webkit.org/show_bug.cgi?id=184906
1016 Reviewed by Carlos Garcia Campos.
1018 Remove the libgbm CMake search module. It's not necessary anymore
1021 * Source/cmake/FindLibGBM.cmake: Removed.
1023 2018-04-23 Michael Catanzaro <mcatanzaro@igalia.com>
1025 [GTK] check target looks broken
1026 https://bugs.webkit.org/show_bug.cgi?id=184407
1028 Reviewed by Carlos Garcia Campos.
1030 It's pretty clear that nobody has been using check for a long time.
1032 We got rid of check-for-webkitdom-api-breaks a long time ago, when we stopped autogenerating
1033 the DOM API, but it's still used in the check target. Fix this.
1035 Also, the check target for some reason runs itself from the Source subdirectory of the
1036 builddir, but the test script expects to be run from the toplevel build directory. Fix this
1039 Add VERBATIM for good measure.
1041 * Source/PlatformGTK.cmake:
1043 2018-04-20 Daniel Bates <dabates@apple.com>
1045 Unreviewed, rolling out r230117.
1047 Broke find-in-page for PDFs
1051 "ASSERTION FAILED: ASSERT(!containsImage ||
1052 MIMETypeRegistry::isSupportedImageResourceMIMEType([resource
1053 MIMEType])) in -[NSPasteboard(WebExtras)
1054 _web_writePromisedRTFDFromArchive:containsImage:]"
1055 https://bugs.webkit.org/show_bug.cgi?id=184161
1056 https://trac.webkit.org/changeset/230117
1058 2018-04-20 Carlos Garcia Campos <cgarcia@igalia.com>
1060 [GTK] Local cross references are broken in API documentation
1061 https://bugs.webkit.org/show_bug.cgi?id=184771
1063 Reviewed by Michael Catanzaro.
1065 Update the documentation html paths and install the JSC GLib API too.
1067 * Source/PlatformGTK.cmake:
1069 2018-04-18 Carlos Garcia Campos <cgarcia@igalia.com>
1071 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.1 release.
1073 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1075 2018-04-17 Zan Dobersek <zdobersek@igalia.com>
1077 [CMake] Add and enable the ENABLE_CSS_ANIMATIONS_LEVEL_2 feature define
1078 https://bugs.webkit.org/show_bug.cgi?id=184681
1080 Reviewed by Carlos Garcia Campos.
1082 * Source/cmake/WebKitFeatures.cmake: Add the ENABLE_CSS_ANIMATIONS_LEVEL_2
1083 feature define. Follow Cocoa ports and enable it by default.
1085 2018-04-15 Michael Catanzaro <mcatanzaro@igalia.com>
1087 [WPE] Install files needed for WebKitWebExtensions
1088 https://bugs.webkit.org/show_bug.cgi?id=179915
1090 Reviewed by Žan Doberšek.
1092 * Source/cmake/OptionsWPE.cmake:
1094 2018-04-12 Ryan Haddad <ryanhaddad@apple.com>
1096 Unreviewed, rolling out r230554.
1098 The non-ASCII character in the filename causes issues with SVN
1102 "input.webkitEntries does not work as expected when folder
1103 contains accented chars"
1104 https://bugs.webkit.org/show_bug.cgi?id=184517
1105 https://trac.webkit.org/changeset/230554
1107 2018-04-12 Zan Dobersek <zdobersek@igalia.com>
1109 [WPE] Switch testing process to using WPEBackend-fdo
1110 https://bugs.webkit.org/show_bug.cgi?id=184357
1112 Reviewed by Carlos Alberto Lopez Perez.
1114 * Source/cmake/FindWPEBackend-fdo.cmake: Renamed from Source/cmake/FindWPEBackend-mesa.cmake.
1116 2018-04-11 Thibault Saunier <tsaunier@igalia.com>
1118 [GStreamer] Use of playbin3 when USE_PLAYBIN3 environment variable is set
1119 https://bugs.webkit.org/show_bug.cgi?id=184498
1121 Reviewed by Philippe Normand.
1123 This is the same behaviour as with playbin itself.
1125 Make sure to keep using "playbin" for MediaSource.
1127 * Source/cmake/GStreamerDefinitions.cmake:
1129 2018-04-09 Michael Catanzaro <mcatanzaro@igalia.com>
1131 [WPE] Use GNU install directories
1132 https://bugs.webkit.org/show_bug.cgi?id=184377
1134 Reviewed by Carlos Garcia Campos.
1136 Notably, this means all the CMake arguments that distributors use to customize install
1137 directories (-DCMAKE_INSTALL_*DIR) will no longer be ignored.
1139 * Source/cmake/OptionsCommon.cmake:
1140 * Source/cmake/OptionsWPE.cmake:
1142 2018-04-08 Fujii Hironori <Hironori.Fujii@sony.com>
1144 [CMake] WebKit should link to WebCore as a PRIVATE library if WebCore is a static library
1145 https://bugs.webkit.org/show_bug.cgi?id=184127
1147 Reviewed by Konstantin Tokarev.
1149 Building TestWebKitLib on Windows causes a linkage error of
1150 multiply defined symbols because TestWebKitLib links to
1151 both WebCore and WebKit. TestWebKitLib explicitly links only with
1152 WebKit, But, WebCore is propagated because WebKit links WebCore as
1155 * Source/cmake/OptionsGTK.cmake (ADD_WHOLE_ARCHIVE_TO_LIBRARIES):
1156 Do not wrap PRIVATE and PUBLIC keywords with -Wl,--whole-archive.
1158 2018-04-08 Michael Catanzaro <mcatanzaro@igalia.com>
1160 [WPE][GTK] Remove applicationDirectoryPath() and sharedResourcePath()
1161 https://bugs.webkit.org/show_bug.cgi?id=184381
1163 Reviewed by Carlos Garcia Campos.
1165 * Source/cmake/OptionsGTK.cmake:
1166 * Source/cmake/OptionsWPE.cmake:
1168 2018-04-02 Per Arne Vollan <pvollan@apple.com>
1170 Remove references to internal version of WebKitQuartzCoreAdditions in CMake files.
1171 https://bugs.webkit.org/show_bug.cgi?id=184246
1172 <rdar://problem/39116563>
1174 Unreviewed build fix.
1176 * Source/PlatformWin.cmake:
1178 2018-04-02 Alejandro G. Castro <alex@igalia.com>
1180 [GTK] Make libwebrtc backend buildable for GTK port
1181 https://bugs.webkit.org/show_bug.cgi?id=178860
1183 Reviewed by Youenn Fablet.
1185 * Source/CMakeLists.txt: Add the libwebrtc directory to the compilation.
1186 * Source/cmake/OptionsGTK.cmake: Add the USE_LIBWEBRTC option to
1187 allow compilation of the specific code.
1189 2018-03-30 Daniel Bates <dabates@apple.com>
1191 ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
1192 https://bugs.webkit.org/show_bug.cgi?id=184161
1194 Reviewed by Per Arne Vollan.
1196 * ManualTests/DragInlinePDFImageDocument.html: Added.
1197 * ManualTests/resources/simple.pdf: Added.
1199 2018-03-28 Tim Horton <timothy_horton@apple.com>
1201 Make it possible to disable building the tools with Make
1202 https://bugs.webkit.org/show_bug.cgi?id=184109
1204 Reviewed by Simon Fraser.
1208 2018-03-25 Carlos Garcia Campos <cgarcia@igalia.com>
1210 [GTK][WPE] Add API to convert between DOM and JSCValue
1211 https://bugs.webkit.org/show_bug.cgi?id=183448
1213 Reviewed by Michael Catanzaro.
1215 Define FORWARDING_HEADERS_WPE_DOM_DIR.
1217 * Source/cmake/OptionsWPE.cmake:
1219 2018-03-22 Adrian Perez de Castro <aperez@igalia.com>
1221 [WPE] Enable WOFF2 support
1222 https://bugs.webkit.org/show_bug.cgi?id=178158
1224 Reviewed by Frédéric Wang.
1226 * Source/cmake/OptionsWPE.cmake: Add needed logic to detect the Brotli and WOFF2 libraries.
1228 2018-03-21 Carlos Garcia Campos <cgarcia@igalia.com>
1230 [GTK][WPE] Initial implementation of JavaScriptCore glib bindings
1231 https://bugs.webkit.org/show_bug.cgi?id=164061
1233 Reviewed by Michael Catanzaro.
1235 Set global variables used by the makefiles.
1237 * Source/cmake/OptionsGTK.cmake:
1238 * Source/cmake/OptionsWPE.cmake:
1240 2018-03-15 Ms2ger <Ms2ger@igalia.com>
1242 [GTK][WPE] Enable service workers
1243 https://bugs.webkit.org/show_bug.cgi?id=178576
1245 Reviewed by Žan Doberšek.
1247 * Source/cmake/OptionsGTK.cmake:
1248 * Source/cmake/OptionsWPE.cmake:
1250 2018-03-12 Yoav Weiss <yoav@yoav.ws>
1252 Runtime flag for link prefetch and remove link subresource.
1253 https://bugs.webkit.org/show_bug.cgi?id=183540
1255 Reviewed by Chris Dumez.
1257 Remove the LINK_PREFETCH build time flag.
1259 * Source/cmake/OptionsWin.cmake:
1260 * Source/cmake/WebKitFeatures.cmake:
1261 * Source/cmake/tools/vsprops/FeatureDefines.props:
1262 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1264 2018-03-12 Zan Dobersek <zdobersek@igalia.com>
1266 Unreviewed. Unbreak the WPE layout testing that's been broken since
1267 r229470. Due to disassociation between ENABLE(ACCESSIBILITY) and
1268 HAVE(ACCESSIBILITY), the injected bundle for the WPE port was left with
1269 undefined symbols. This is fixed with ENABLE_ACCESSIBILITY being enabled
1270 for the WPE port as well.
1272 * Source/cmake/OptionsWPE.cmake:
1274 2018-03-12 Carlos Garcia Campos <cgarcia@igalia.com>
1276 Unreviewed. Fix library version of JavaScriptCoreGTK.
1278 * Source/cmake/OptionsGTK.cmake:
1280 2018-03-09 Carlos Garcia Campos <cgarcia@igalia.com>
1282 Unreviewed. Bump WebKitGTK+ version to 2.21.0.
1284 * Source/cmake/OptionsGTK.cmake:
1286 2018-03-08 Tim Horton <timothy_horton@apple.com>
1288 Add a way to not build libwebrtc when building WebKit via Makefiles
1289 https://bugs.webkit.org/show_bug.cgi?id=183437
1290 <rdar://problem/38254840>
1292 Reviewed by Dan Bernstein.
1296 2018-03-05 Don Olmstead <don.olmstead@sony.com>
1298 [CMake] Split JSC header copying into public and private targets
1299 https://bugs.webkit.org/show_bug.cgi?id=183251
1301 Reviewed by Konstantin Tokarev.
1303 * Source/cmake/WebKitMacros.cmake:
1305 2018-03-02 Don Olmstead <don.olmstead@sony.com>
1307 Add clang-format configuration
1308 https://bugs.webkit.org/show_bug.cgi?id=183302
1310 Reviewed by Ryosuke Niwa.
1312 * .clang-format: Added.
1314 2018-03-01 Michael Catanzaro <mcatanzaro@igalia.com>
1316 [CMake] configure failure for aarch64
1317 https://bugs.webkit.org/show_bug.cgi?id=183268
1319 Unreviewed build fix. This failure is caused by a simple typo.
1321 * Source/cmake/OptionsCommon.cmake:
1323 2018-02-26 Yousuke Kimoto <yousuke.kimoto@sony.com>
1325 [WinCairo] WebKit2_C.h should be included for TestWebKit
1326 https://bugs.webkit.org/show_bug.cgi?id=182682
1328 Reviewed by Yusuke Suzuki.
1330 Added a new definition "BUILDING_WIN_CAIRO_WEBKIT" to specify
1331 the wincairo webkit build.
1333 * Source/cmake/OptionsWinCairo.cmake:
1335 2018-02-26 Fujii Hironori <Hironori.Fujii@sony.com>
1337 [CMake][OpenVR] Linkage errors happen because only OpenVR is compiled with -stdlib=libc++ if Clang is used
1338 https://bugs.webkit.org/show_bug.cgi?id=183116
1340 Reviewed by Žan Doberšek.
1342 OpenVR has a option USE_LIBCXX to enable/disable that behavior. Let's disable it.
1344 * Source/CMakeLists.txt: Added a option command for USE_LIBCXX to set OFF as default.
1346 2018-02-21 Don Olmstead <don.olmstead@sony.com>
1348 [CMake] Expose HAVE macros globally
1349 https://bugs.webkit.org/show_bug.cgi?id=183011
1351 Reviewed by Michael Catanzaro.
1353 * Source/cmake/OptionsCommon.cmake:
1354 * Source/cmake/WebKitFeatures.cmake:
1356 2018-02-21 Don Olmstead <don.olmstead@sony.com>
1358 [CMake][Win] Use cmakeconfig.h rather than config.h and Platform.h
1359 https://bugs.webkit.org/show_bug.cgi?id=182883
1361 Reviewed by Per Arne Vollan.
1363 * Source/cmake/OptionsAppleWin.cmake:
1364 * Source/cmake/OptionsWin.cmake:
1365 * Source/cmake/OptionsWinCairo.cmake:
1367 2018-02-21 Michael Catanzaro <mcatanzaro@igalia.com>
1369 [GTK] USE_UPOWER causes crashes inside a chroot or on systems with broken dbus/upower
1370 https://bugs.webkit.org/show_bug.cgi?id=181825
1372 Reviewed by Carlos Garcia Campos.
1374 Get rid of the upower-glib dependency. We will use upower's D-Bus API instead.
1376 * Source/cmake/FindUPowerGLib.cmake: Removed.
1377 * Source/cmake/OptionsGTK.cmake:
1379 2018-02-20 Adrian Perez de Castro <aperez@igalia.com>
1381 [GTK][CMake] Support building with Enchant 2.x
1382 https://bugs.webkit.org/show_bug.cgi?id=182933
1384 Reviewed by Michael Catanzaro.
1386 * Source/cmake/FindEnchant.cmake: Check for both the "enchant" and "enchant-2"
1387 pkg-config components, picking the first available for which the headers and
1390 2018-02-19 Philippe Normand <pnormand@igalia.com>
1392 [GStreamer] Playbin3 support
1393 https://bugs.webkit.org/show_bug.cgi?id=182530
1395 Reviewed by Xabier Rodriguez-Calvar.
1397 * Source/cmake/GStreamerDefinitions.cmake: New
1398 USE(GSTREAMER_PLAYBIN3) feature. This should be enabled only for
1399 very recent versions of GStreamer (1.14 at least) and is optional, for now.
1401 2018-02-18 Philippe Normand <pnormand@igalia.com>
1403 [GTK][WPE] Fullscreen video is broken
1404 https://bugs.webkit.org/show_bug.cgi?id=182740
1406 Reviewed by Michael Catanzaro.
1408 * Source/cmake/WebKitFeatures.cmake: Enable the
1409 VIDEO_USES_ELEMENT_FULLSCREEN feature on CMake ports.
1411 2018-02-16 Dean Jackson <dino@apple.com>
1413 Use OPENGL macros to be more clear about which OpenGL/ES WebGL uses on Cocoa
1414 https://bugs.webkit.org/show_bug.cgi?id=182894
1416 Reviewed by Tim Horton.
1418 Rename OPENGL_ES_2 to OPENGL_ES.
1420 * Source/cmake/OptionsGTK.cmake:
1421 * Source/cmake/OptionsWPE.cmake:
1423 2018-02-09 Ross Kirsling <ross.kirsling@sony.com>
1425 Simplify .gitignore's WebKitLibraries/win section.
1426 https://bugs.webkit.org/show_bug.cgi?id=182618
1428 Reviewed by Per Arne Vollan.
1430 We need to update this section for WinCairoRequirements regardless, but
1431 it never needed to be this longwinded in the first place.
1435 2018-02-08 Fujii Hironori <Hironori.Fujii@sony.com>
1437 [Meta][Win] Support ICU 59.1+
1438 https://bugs.webkit.org/show_bug.cgi?id=181004
1440 Reviewed by Alex Christensen.
1442 ICU 59 changed the type of UChar from wchar_t to char16_t on
1443 Windows. We need a lot of conversions between UChar* and wchar_t*
1444 to call Windows API because it takes string as wchar_t*.
1446 Fortunately, ICU is configurable to define UChar as wchar_t as
1447 well as the prior ICU.
1448 <http://icu-project.org/apiref/icu4c/umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac>
1450 * Source/cmake/OptionsWin.cmake: Add a compile option -DUCHAR_TYPE=wchar_t.
1452 2018-02-08 Michael Catanzaro <mcatanzaro@igalia.com>
1454 Unreviewed, switch -pthread to -lpthread per recommendation from Adrian
1455 https://bugs.webkit.org/show_bug.cgi?id=182400
1456 <rdar://problem/37252242>
1458 This is tested and works fine.
1460 * Source/cmake/WebKitCompilerFlags.cmake:
1462 2018-02-05 Yousuke Kimoto <yousuke.kimoto@sony.com>
1464 [WinCairo] Refine WebKitLegacy and WebKit build for wincairo
1465 https://bugs.webkit.org/show_bug.cgi?id=182478
1467 Reviewed by Alex Christensen.
1469 * Source/cmake/OptionsWinCairo.cmake: Added a ENABLE_WIN_CAIRO_WEBKIT option to build webkit for wincairo.
1471 2018-02-05 Michael Catanzaro <mcatanzaro@igalia.com>
1473 Unreviewed, fix build using the new ENABLE_ADDRESS_SANITIZER option
1474 https://bugs.webkit.org/show_bug.cgi?id=182400
1475 <rdar://problem/37252242>
1477 I failed to properly test a last-minute change.
1479 * Source/cmake/WebKitCompilerFlags.cmake:
1481 2018-02-05 Michael Catanzaro <mcatanzaro@igalia.com>
1483 [CMake] Add ENABLE_ADDRESS_SANITIZER to make it easier to build with asan support
1484 https://bugs.webkit.org/show_bug.cgi?id=182400
1486 Reviewed by Konstantin Tokarev.
1488 * Source/cmake/OptionsGTK.cmake:
1489 * Source/cmake/WebKitCompilerFlags.cmake:
1491 2018-01-31 Michael Catanzaro <mcatanzaro@igalia.com>
1494 https://bugs.webkit.org/show_bug.cgi?id=182314
1496 Reviewed by Alex Christensen.
1498 Add download link for Epiphany Technology Preview. Improve build instructions for GTK. Add
1499 build instructions for WPE. Add instructions to run MiniBrowser on Linux. Miscellaneous
1500 typographical adjustments.
1504 2018-01-30 Sergio Villar Senin <svillar@igalia.com>
1506 [WebVR][GTK][WPE] Exclude OpenVR from tarballs
1507 https://bugs.webkit.org/show_bug.cgi?id=182284
1509 Reviewed by Michael Catanzaro.
1511 Added private build options for USE_OPENVR.
1513 * Source/cmake/OptionsGTK.cmake:
1514 * Source/cmake/OptionsWPE.cmake:
1516 2018-01-30 Basuke Suzuki <Basuke.Suzuki@sony.com>
1518 [WinCairo] Fix forwarding header conflict of WebKit on WinCairo
1519 https://bugs.webkit.org/show_bug.cgi?id=177202
1521 Reviewed by Alex Christensen.
1523 * Source/cmake/WebKitMacros.cmake:
1525 2018-01-29 Jiewen Tan <jiewen_tan@apple.com>
1527 [WebAuthN] Add a compile-time feature flag
1528 https://bugs.webkit.org/show_bug.cgi?id=182211
1529 <rdar://problem/36936365>
1531 Reviewed by Brent Fulgham.
1533 * Source/cmake/WebKitFeatures.cmake:
1534 * Source/cmake/tools/vsprops/FeatureDefines.props:
1535 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1537 2018-01-18 Sergio Villar Senin <svillar@igalia.com>
1539 [WebVR] Add OpenVR to the tree and to the build
1540 https://bugs.webkit.org/show_bug.cgi?id=177298
1542 Reviewed by Žan Doberšek.
1544 * Source/CMakeLists.txt:
1545 * Source/cmake/OptionsGTK.cmake: Enable USE_OPENVR.
1546 * Source/cmake/OptionsWPE.cmake: Ditto.
1548 2018-01-18 Dan Bernstein <mitz@apple.com>
1550 [Xcode] Shared schemes in the WebKit workspace still have build pre-actions that invoke copy-webkitlibraries-to-product-directory
1551 https://bugs.webkit.org/show_bug.cgi?id=181784
1553 Reviewed by Anders Carlsson.
1555 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: Remove the build pre-action.
1556 * WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme: Ditto.
1558 2018-01-17 Michael Catanzaro <mcatanzaro@igalia.com>
1560 WEBKIT_FRAMEWORK should not modify file-global include directories
1561 https://bugs.webkit.org/show_bug.cgi?id=181656
1563 Reviewed by Konstantin Tokarev.
1565 Only modify the system include directories of the target passed to WEBKIT_FRAMEWORK.
1567 * Source/cmake/WebKitMacros.cmake:
1569 2018-01-17 Carlos Garcia Campos <cgarcia@igalia.com>
1571 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.6 release.
1573 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1575 2018-01-15 Michael Catanzaro <mcatanzaro@igalia.com>
1577 REGRESSION(r226266): [GTK] RELEASE_ASSERT(reservedZoneSize >= minimumReservedZoneSize) in JSC::VM::updateStackLimits
1578 https://bugs.webkit.org/show_bug.cgi?id=181438
1579 <rdar://problem/36376724>
1581 Reviewed by Carlos Garcia Campos.
1583 Build JSC as a shared library.
1585 Stop using -fvisibility=hidden. This is a shame, but it is causing problems that I don't
1588 * Source/cmake/OptionsGTK.cmake:
1589 * Source/cmake/WebKitCompilerFlags.cmake:
1591 2018-01-11 Keith Miller <keith_miller@apple.com>
1593 Rename ENABLE_ASYNC_ITERATION to ENABLE_JS_ASYNC_ITERATION
1594 https://bugs.webkit.org/show_bug.cgi?id=181573
1596 Reviewed by Simon Fraser.
1598 * Source/cmake/WebKitFeatures.cmake:
1600 2018-01-10 Per Arne Vollan <pvollan@apple.com>
1602 [Win] WebKitLegacy should be a dll, not a static library.
1603 https://bugs.webkit.org/show_bug.cgi?id=181500
1605 Reviewed by Alex Christensen.
1607 Set WebKitLegacy library type to shared.
1609 * Source/cmake/OptionsWin.cmake:
1611 2018-01-09 Carlos Garcia Campos <cgarcia@igalia.com>
1613 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.5 release.
1615 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1617 2018-01-09 Carlos Garcia Campos <cgarcia@igalia.com>
1619 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.4 release.
1621 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1623 2018-01-05 Fujii Hironori <Hironori.Fujii@sony.com>
1625 REGRESSION(r226306)[Win][CMake] Unnecessary recompilations triggered by unconditionally copied header files of DerivedSources
1626 https://bugs.webkit.org/show_bug.cgi?id=181324
1628 Reviewed by Konstantin Tokarev.
1630 r226306 changed to use cmake -E copy to copy header files of
1631 DerivedSources. This command copies files unconditionally, then
1632 introduced unnecessary recompilations.
1634 * Source/cmake/WebKitMacros.cmake: Use copy_if_different instead of copy.
1636 2018-01-03 Ting-Wei Lan <lantw44@gmail.com>
1638 Replace hard-coded paths in shebangs with #!/usr/bin/env
1639 https://bugs.webkit.org/show_bug.cgi?id=181040
1641 Reviewed by Alex Christensen.
1643 * Source/cmake/tools/scripts/auto-version.pl:
1644 * Source/cmake/tools/scripts/feature-defines.pl:
1645 * Source/cmake/tools/scripts/version-stamp.pl:
1647 == Rolled over to ChangeLog-2018-01-01 ==