blob: 21aca77892bab0010c3d69f2c9fb4660a159c8c2 [file] [log] [blame]
don.olmstead@sony.com8552e5f2019-05-09 00:32:53 +000012019-05-08 Don Olmstead <don.olmstead@sony.com>
2
3 [PlayStation] Update port options
4 https://bugs.webkit.org/show_bug.cgi?id=197723
5
6 Reviewed by Ross Kirsling.
7
8 Update the options used.
9
10 * Source/cmake/OptionsPlayStation.cmake:
11
ross.kirsling@sony.com606e1ae2019-05-09 00:15:04 +0000122019-05-08 Ross Kirsling <ross.kirsling@sony.com>
13
14 Add .vs and .vscode directories to .gitignore.
15 https://bugs.webkit.org/show_bug.cgi?id=197727
16
17 Reviewed by Don Olmstead.
18
19 * .gitignore:
20
krollin@apple.com2c6d7452019-05-07 21:38:27 +0000212019-05-07 Keith Rollin <krollin@apple.com>
22
23 Add option to build-webkit to control whether or not XCBuild is used
24 https://bugs.webkit.org/show_bug.cgi?id=197668
25 <rdar://problem/50549728>
26
27 Reviewed by Tim Horton.
28
29 Add --[no-]xcbuild to build-webkit to force the use of XCBuild or not.
30 Also update build-webkit and the makefiles with the foundation for
31 automatically using XCBuild when the conditions allow it. This latter
32 facility is currently turned off until Xcode fully supports building
33 WebKit with XCBuild.
34
35 * Makefile.shared:
36
chris.reid@sony.com5c92ec12019-05-06 07:54:28 +0000372019-05-06 Christopher Reid <chris.reid@sony.com>
38
39 [CMake] fuse-ld should also be set in module linker flags
40 https://bugs.webkit.org/show_bug.cgi?id=197583
41
42 Reviewed by Michael Catanzaro.
43
44 Add fuse-ld to CMAKE_MODULE_LINKER_FLAGS.
45
46 * Source/cmake/OptionsCommon.cmake:
47
Basuke.Suzuki@sony.com68047692019-05-03 21:03:34 +0000482019-05-03 Basuke Suzuki <Basuke.Suzuki@sony.com>
49
50 [WinCairo] Implement and enable RemoteInspector Server.
51 https://bugs.webkit.org/show_bug.cgi?id=197432
52
53 Reviewed by Ross Kirsling.
54
55 Add new build flag USE_INSPECTOR_SOCKET_SERVER to indicate using Socket implementation for RemoteInspector
56 protocol. Currently PlayStation is the only platform which uses this. WinCairo is the second one.
57
58 * Source/cmake/OptionsPlayStation.cmake:
59 * Source/cmake/OptionsWin.cmake:
60 * Source/cmake/OptionsWinCairo.cmake:
61
commit-queue@webkit.orgd1688112019-05-03 14:32:23 +0000622019-05-03 Commit Queue <commit-queue@webkit.org>
63
64 Unreviewed, rolling out r244881.
65 https://bugs.webkit.org/show_bug.cgi?id=197559
66
67 Breaks compilation of jsconly on linux, breaking compilation
68 for jsc-i386-ews, jsc-mips-ews and jsc-armv7-ews (Requested by
69 guijemont on #webkit).
70
71 Reverted changeset:
72
73 "[CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into
74 WEBKIT_COPY_FILES"
75 https://bugs.webkit.org/show_bug.cgi?id=197174
76 https://trac.webkit.org/changeset/244881
77
chris.reid@sony.com0f616ac2019-05-02 23:39:35 +0000782019-05-02 Christopher Reid <chris.reid@sony.com>
79
80 [CMake] Add support for LTO builds
81 https://bugs.webkit.org/show_bug.cgi?id=188986
82
83 Reviewed by Don Olmstead.
84
85 Add LTO_MODE cmake variable to enable flto in clang builds.
86 Add support to use ld.lld to build with LTO.
87
88 * Source/cmake/OptionsCommon.cmake:
89 * Source/cmake/WebKitCompilerFlags.cmake:
90
don.olmstead@sony.com26526b22019-05-02 20:37:41 +0000912019-05-02 Don Olmstead <don.olmstead@sony.com>
92
93 [CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into WEBKIT_COPY_FILES
94 https://bugs.webkit.org/show_bug.cgi?id=197174
95
96 Reviewed by Alex Christensen.
97
98 Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES which is a general
99 purpose macro that copies files to a destination. WEBKIT_COPY_FILES removes the
100 requirement of a target being passed in so there is no longer any implicit dependency
101 between the target and the copying. Instead the dependencies need to be explicit.
102
103 This opens the macro up for use by third party libraries and for copying other files
104 to a destination.
105
106 * Source/cmake/WebKitMacros.cmake:
107
stephan.szabo@sony.com276e5d12019-05-02 00:09:50 +00001082019-05-01 Stephan Szabo <stephan.szabo@sony.com>
109
110 [PlayStation] Update port for WEBKIT_EXECUTABLE changes
111 https://bugs.webkit.org/show_bug.cgi?id=197483
112
113 Reviewed by Don Olmstead.
114
115 * Source/cmake/OptionsPlayStation.cmake:
116 Update wrapping for configuring executables' playstation
117 specific data to new WEBKIT_EXECUTABLE macro.
118
carlosgc@webkit.org9e07f022019-04-30 09:06:23 +00001192019-04-30 Carlos Garcia Campos <cgarcia@igalia.com>
120
121 [GTK] Support prefers-color-scheme media query
122 https://bugs.webkit.org/show_bug.cgi?id=196685
123
124 Reviewed by Michael Catanzaro.
125
126 Enable DARK_MODE_CSS. Supported color schemes feature is not supported for now. I'm not sure we will be able to
127 suport it, because it requires to change the theme too many times, which is very slow in GTK.
128
129 * Source/cmake/OptionsGTK.cmake:
130
don.olmstead@sony.com739f6722019-04-29 19:36:21 +00001312019-04-29 Don Olmstead <don.olmstead@sony.com>
132
133 [CMake] Add WEBKIT_EXECUTABLE macro
134 https://bugs.webkit.org/show_bug.cgi?id=197206
135
136 Unreviewed build fix.
137
138 Calls to add_dependencies were not happening.
139
140 * Source/cmake/WebKitMacros.cmake:
141
Basuke.Suzuki@sony.comed035152019-04-29 18:18:54 +00001422019-04-29 Basuke Suzuki <Basuke.Suzuki@sony.com>
143
144 [Win] Add flag to enable version information stamping and disable by default.
145 https://bugs.webkit.org/show_bug.cgi?id=197249
146 <rdar://problem/50224412>
147
148 Reviewed by Ross Kirsling.
149
150 This feature is only used in AppleWin port. Add flag for this task and make it OFF by default.
151 Then enable it by default on AppleWin.
152
153 * Source/cmake/OptionsWin.cmake:
154
aestes@apple.comcfdf7ed2019-04-28 19:28:09 +00001552019-04-28 Andy Estes <aestes@apple.com>
156
157 Fix the watchOS engineering build.
158
159 * Source/Makefile: Moved libwebrtc logic into Source/ThirdParty/Makefile.
160
don.olmstead@sony.com654cf1e2019-04-27 00:06:38 +00001612019-04-26 Don Olmstead <don.olmstead@sony.com>
162
163 [CMake] Add WEBKIT_EXECUTABLE macro
164 https://bugs.webkit.org/show_bug.cgi?id=197206
165
166 Reviewed by Konstantin Tokarev.
167
168 Add WEBKIT_EXECUTABLE macro for creating executable targets. This wraps the creation of
169 executable targets using the same conventions of WEBKIT_FRAMEWORK.
170
171 Common code from the two macros were moved to WEBKIT_TARGET which is meant as an internal
172 macro.
173
174 Add WEBKIT_WRAP_EXECUTABLE macro to support Windows targets which use a DLLLauncherMain to
175 launch the executable.
176
177 * Source/cmake/WebKitMacros.cmake:
178
Hironori.Fujii@sony.com610d9e42019-04-26 03:46:43 +00001792019-04-25 Fujii Hironori <Hironori.Fujii@sony.com>
180
181 Unreviewed, rolling out r244669.
182
183 Windows ports can't clean build.
184
185 Reverted changeset:
186
187 "[Win] Add flag to enable version information stamping and
188 disable by default."
189 https://bugs.webkit.org/show_bug.cgi?id=197249
190 https://trac.webkit.org/changeset/244669
191
Basuke.Suzuki@sony.com447d8b92019-04-25 23:08:09 +00001922019-04-25 Basuke Suzuki <Basuke.Suzuki@sony.com>
193
194 [Win] Add flag to enable version information stamping and disable by default.
195 https://bugs.webkit.org/show_bug.cgi?id=197249
196
197 Reviewed by Ross Kirsling.
198
199 This feature is only used in AppleWin port. Add flag for this task and make it OFF by default.
200 Then enable it by default on AppleWin.
201
202 * Source/cmake/OptionsWin.cmake:
203
achristensen@apple.com131905a2019-04-25 17:41:29 +00002042019-04-25 Alex Christensen <achristensen@webkit.org>
205
206 Start using C++17
207 https://bugs.webkit.org/show_bug.cgi?id=197131
208
209 Reviewed by Darin Adler.
210
211 * Source/cmake/OptionsMSVC.cmake:
212 * Source/cmake/WebKitCompilerFlags.cmake:
213
carlosgc@webkit.org1b3ead92019-04-25 05:51:01 +00002142019-04-24 Carlos Garcia Campos <cgarcia@igalia.com>
215
216 [GTK] Hardcoded text color in input fields
217 https://bugs.webkit.org/show_bug.cgi?id=126907
218
219 Reviewed by Michael Catanzaro.
220
221 Set and expose to build HAVE_OS_DARK_MODE_SUPPORT=1.
222
223 * Source/cmake/OptionsGTK.cmake:
224
don.olmstead@sony.com8c3d91f2019-04-23 15:55:00 +00002252019-04-23 Don Olmstead <don.olmstead@sony.com>
226
227 [CMake][Win] Use target oriented design for WebKit
228 https://bugs.webkit.org/show_bug.cgi?id=197173
229
230 Reviewed by Alex Christensen.
231
232 Override WebKit_DERIVED_SOUCES_DIR within WinCairo in support of a target
233 oriented design.
234
235 * Source/cmake/OptionsWinCairo.cmake:
236
don.olmstead@sony.com97c025a2019-04-20 19:00:15 +00002372019-04-20 Don Olmstead <don.olmstead@sony.com>
238
239 [CMake][Win] Use target oriented design for WebKitLegacy
240 https://bugs.webkit.org/show_bug.cgi?id=197112
241
242 Reviewed by Konstantin Tokarev.
243
244 Override WebKitLegacy_DERIVED_SOURCES_DIR within WinCairo in support of a target
245 oriented design.
246
247 * Source/cmake/OptionsWinCairo.cmake:
248
ross.kirsling@sony.com8d12fd92019-04-19 03:28:35 +00002492019-04-18 Ross Kirsling <ross.kirsling@sony.com>
250
251 [WinCairo] Non-unified build fails to link Tools
252 https://bugs.webkit.org/show_bug.cgi?id=196866
253
254 Reviewed by Fujii Hironori.
255
256 * Source/cmake/OptionsWin.cmake:
257 Build WebCore as an object library when unified builds are disabled
258 (and we haven't explicitly asked to build it as a shared library).
259 This is necessary for two reasons:
260 - Non-unified WebCore.lib is too large for the MSVC linker to create (>4GB).
261 - Some WebCore object files are not actually used, but DumpRenderTree and TestRunnerInjectedBundle
262 still expect that their symbols will be re-exported via WebKit[Legacy].
263
jer.noble@apple.comf94a3e82019-04-17 19:50:10 +00002642019-04-17 Jer Noble <jer.noble@apple.com>
265
266 Automatically use ccache when available for Makefile builds
267 https://bugs.webkit.org/show_bug.cgi?id=197020
268
269 Reviewed by Alex Christensen.
270
271 * Makefile.shared:
272
don.olmstead@sony.com8db70052019-04-16 18:51:29 +00002732019-04-16 Don Olmstead <don.olmstead@sony.com>
274
275 [CMake] Set WTF_SCRIPTS_DIR
276 https://bugs.webkit.org/show_bug.cgi?id=196917
277
278 Reviewed by Konstantin Tokarev.
279
280 Define WTF_SCRIPTS_DIR in WebKitFS.cmake and use that within the WEBKIT_COMPUTE_SOURCES
281 macro. This allows it to be overridden by a port such as the AppleWin internal build.
282
283 * Source/cmake/OptionsAppleWin.cmake:
284 * Source/cmake/OptionsWinCairo.cmake:
285 * Source/cmake/WebKitFS.cmake:
286 * Source/cmake/WebKitMacros.cmake:
287
don.olmstead@sony.comb7965282019-04-15 21:46:36 +00002882019-04-15 Don Olmstead <don.olmstead@sony.com>
289
290 [CMake] WebCore derived sources should only be referenced inside WebCore
291 https://bugs.webkit.org/show_bug.cgi?id=196904
292
293 Reviewed by Konstantin Tokarev.
294
295 Override WebCore_DERIVED_SOURCES_DIR for WinCairo.
296
297 * Source/cmake/OptionsWinCairo.cmake:
298
don.olmstead@sony.comf99ffc22019-04-14 13:50:01 +00002992019-04-14 Don Olmstead <don.olmstead@sony.com>
300
301 [CMake] JavaScriptCore derived sources should only be referenced inside JavaScriptCore
302 https://bugs.webkit.org/show_bug.cgi?id=196742
303
304 Reviewed by Konstantin Tokarev.
305
306 Migrate to using JavaScriptCore_DERIVED_SOURCES_DIR instead of DERIVED_SOURCES_JAVASCRIPTCORE_DIR
307 to support moving the JavaScriptCore derived sources outside of a shared directory.
308 This is in support of the target oriented design refactoring.
309
310 WinCairo is explicitly overriding the value as a canary for this setup.
311
312 Also move JavaScriptCore_SCRIPTS_DIR to WebKitFS to remove logic setting it in other projects.
313
314 * Source/PlatformWin.cmake:
315 * Source/cmake/OptionsAppleWin.cmake:
316 * Source/cmake/OptionsWinCairo.cmake:
317 * Source/cmake/WebKitFS.cmake:
318
mcatanzaro@igalia.com50483382019-04-10 18:27:25 +00003192019-04-10 Michael Catanzaro <mcatanzaro@igalia.com>
320
321 Unreviewed, rolling out r243989.
322
323 Broke i686 builds
324
325 Reverted changeset:
326
327 "[CMake] Detect SSE2 at compile time"
328 https://bugs.webkit.org/show_bug.cgi?id=196488
329 https://trac.webkit.org/changeset/243989
330
don.olmstead@sony.comf941f472019-04-09 16:57:22 +00003312019-04-09 Don Olmstead <don.olmstead@sony.com>
332
don.olmstead@sony.comdd270cc2019-04-10 01:28:33 +0000333 [CMake] WEBKIT_COMPUTE_SOURCES should use the target's derived sources directory
334 https://bugs.webkit.org/show_bug.cgi?id=196741
335
336 Reviewed by Michael Catanzaro.
337
338 WEBKIT_COMPUTE_SOURCES is using ${DERIVED_SOURCES_DIR} directly. Instead it should
339 rely on the directory specified by the target.
340
341 * Source/cmake/WebKitFS.cmake:
342 Add variables that can be expanded within CMake to the derived sources directory for
343 a target.
344
345 * Source/cmake/WebKitMacros.cmake:
346 Use variable expansion rather than ${DERIVED_SOURCES_DIR} to determine the target's
347 derived sources directory.
348
3492019-04-09 Don Olmstead <don.olmstead@sony.com>
350
don.olmstead@sony.com20fbd3d2019-04-09 19:32:08 +0000351 [CMake] WTF derived sources should only be referenced inside WTF
352 https://bugs.webkit.org/show_bug.cgi?id=196706
353
354 Reviewed by Konstantin Tokarev.
355
356 * Source/cmake/OptionsWinCairo.cmake:
357 * Source/cmake/WebKitFS.cmake:
358
3592019-04-09 Don Olmstead <don.olmstead@sony.com>
360
don.olmstead@sony.comf941f472019-04-09 16:57:22 +0000361 [CMake] Apple builds should use ICU_INCLUDE_DIRS
362 https://bugs.webkit.org/show_bug.cgi?id=196720
363
364 Reviewed by Konstantin Tokarev.
365
366 The Apple platform is using ${DERIVED_SOURCES_WTF_DIR} for hosting the ICU headers.
367 Instead it should stage the headers into ${ICU_INCLUDE_DIRS} so no special handling
368 is needed.
369
370 * Source/cmake/OptionsJSCOnly.cmake:
371 * Source/cmake/OptionsMac.cmake:
372
don.olmstead@sony.comf33551b2019-04-09 01:38:50 +00003732019-04-08 Don Olmstead <don.olmstead@sony.com>
374
375 [CMake][WinCairo] Separate copied headers into different directories
376 https://bugs.webkit.org/show_bug.cgi?id=196655
377
378 Reviewed by Michael Catanzaro.
379
380 Add variables for the paths to copied framework headers. This is done to be
381 explicit rather than relying on ${FORWARDING_HEADERS_DIR}.
382
383 Currently all ports but WinCairo will default to ${FORWARDING_HEADERS_DIR}.
384 WinCairo overrides them to provide a directory structure that looks more
385 like what happens in an XCode build. This is meant as an intermediate step
386 towards making all CMake ports behave like this.
387
388 * Source/cmake/OptionsWinCairo.cmake:
389 * Source/cmake/WebKitFS.cmake:
390 * Source/cmake/WebKitMacros.cmake:
391
commit-queue@webkit.orgb85172c2019-04-08 10:16:22 +00003922019-04-08 Xan Lopez <xan@igalia.com>
393
394 [CMake] Detect SSE2 at compile time
395 https://bugs.webkit.org/show_bug.cgi?id=196488
396
397 Reviewed by Carlos Garcia Campos.
398
399 * CMakeLists.txt: Use FindSSE2.cmake to detect SSE2 support.
400 * Source/cmake/FindSSE2.cmake: Added.
401
commit-queue@webkit.org38f3d752019-04-05 15:35:32 +00004022019-04-05 Commit Queue <commit-queue@webkit.org>
403
404 Unreviewed, rolling out r243833.
405 https://bugs.webkit.org/show_bug.cgi?id=196645
406
407 This change breaks build of WPE and GTK ports (Requested by
408 annulen on #webkit).
409
410 Reverted changeset:
411
412 "[CMake][WTF] Mirror XCode header directories"
413 https://bugs.webkit.org/show_bug.cgi?id=191662
414 https://trac.webkit.org/changeset/243833
415
don.olmstead@sony.com526d96d2019-04-03 23:08:44 +00004162019-04-03 Don Olmstead <don.olmstead@sony.com>
417
418 [CMake][WTF] Mirror XCode header directories
419 https://bugs.webkit.org/show_bug.cgi?id=191662
420
421 Reviewed by Konstantin Tokarev.
422
423 Add WTF_FRAMEWORK_HEADERS_DIR to place WTF headers into. Add frameworks/WTF.cmake
424 which creates an interface target which will populate dependencies for consumers.
425 This file is added here to support AppleWin internal builds which invoke CMake on
426 each directory.
427
428 * Source/cmake/WebKitFS.cmake:
429 * Source/cmake/frameworks/WTF.cmake: Added.
430
mmaxfield@apple.com9ed268e2019-04-03 19:47:58 +00004312019-04-03 Myles C. Maxfield <mmaxfield@apple.com>
432
433 Remove support for -apple-trailing-word
434 https://bugs.webkit.org/show_bug.cgi?id=196525
435
436 Reviewed by Zalan Bujtas.
437
438 This CSS property is nonstandard and not used.
439
440 * Source/cmake/WebKitFeatures.cmake:
441
Hironori.Fujii@sony.comae7d6042019-04-02 16:33:02 +00004422019-04-02 Fujii Hironori <Hironori.Fujii@sony.com>
443
444 [CMake] WEBKIT_MAKE_FORWARDING_HEADERS shouldn't use POST_BUILD to copy generated headers
445 https://bugs.webkit.org/show_bug.cgi?id=182757
446
447 Reviewed by Don Olmstead.
448
449 Some generated headers need to be exported to its client modules.
450 Before this change, WEBKIT_MAKE_FORWARDING_HEADERS copies all *.h
451 files in the directory specified by DERIVED_SOURCE_DIRECTORIES
452 parameter. The copy operation was triggered by POST_BUILD event.
453
454 This caused build dependency issues for Ninja builds. This change
455 remove the DERIVED_SOURCE_DIRECTORIES parameter. And list all
456 generated headers explicitly which need to be copied.
457
458 * Source/cmake/WebKitMacros.cmake: Removed
459 DERIVED_SOURCE_DIRECTORIES parameter of
460 WEBKIT_MAKE_FORWARDING_HEADERS. Accept absolute paths for FILES
461 parameter.
462
Hironori.Fujii@sony.com8cfde4b2019-04-02 01:08:38 +00004632019-04-01 Fujii Hironori <Hironori.Fujii@sony.com>
464
465 [CMake] Remove EXTRA_DIRECTORIES parameter of WEBKIT_MAKE_FORWARDING_HEADERS
466 https://bugs.webkit.org/show_bug.cgi?id=196436
467
468 Reviewed by Darin Adler.
469
470 The parameter was only for WebCore/ForwardingHeaders which was
471 removed in Bug 182347.
472
473 * Source/cmake/WebKitMacros.cmake: Remove unused EXTRA_DIRECTORIES parameter.
474
stephan.szabo@sony.come98951b2019-04-01 18:25:11 +00004752019-04-01 Stephan Szabo <stephan.szabo@sony.com>
476
477 [PlayStation] Add initialization for JSC shell for PlayStation port
478 https://bugs.webkit.org/show_bug.cgi?id=195411
479
480 Reviewed by Ross Kirsling.
481
482 Add functions for doing the automatic libc, floating point
483 initializations, signing of binaries and libraries and
484 wrapping of libc functions on PlayStation port.
485
486 * Source/cmake/OptionsPlayStation.cmake:
487
mmaxfield@apple.com2387e412019-03-29 22:18:59 +00004882019-03-29 Myles C. Maxfield <mmaxfield@apple.com>
489
490 Delete WebMetal implementation in favor of WebGPU
491 https://bugs.webkit.org/show_bug.cgi?id=195418
492
493 Reviewed by Dean Jackson.
494
495 * Source/cmake/OptionsMac.cmake:
496 * Source/cmake/WebKitFeatures.cmake:
497 * Source/cmake/tools/vsprops/FeatureDefines.props:
498 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
499
commit-queue@webkit.org30634002019-03-29 08:37:46 +00005002019-03-29 Cathie Chen <cathiechen@igalia.com>
501
502 Implement ResizeObserver.
503 https://bugs.webkit.org/show_bug.cgi?id=157743
504
505 Reviewed by Simon Fraser.
506
507 Add ENABLE_RESIZE_OBSERVER.
508
509 * Source/cmake/WebKitFeatures.cmake:
510
aperez@igalia.come1fe84d2019-03-26 02:18:13 +00005112019-03-25 Adrian Perez de Castro <aperez@igalia.com>
512
513 [WPE][GTK] Make building WebVR (w/OpenVR) not depend on ENABLE_EXPERIMENTAL_FEATURES
514 https://bugs.webkit.org/show_bug.cgi?id=196223
515
516 Reviewed by Michael Catanzaro.
517
518 Disentangle USE_OPENVR from ENABLE_EXPERIMENTAL_FEATURES, making it
519 unneeded to include ThirdParty/openvr/ in release tarballs.
520
521 * Source/cmake/OptionsGTK.cmake: Set USE_OPENVR to OFF by default,
522 instead of making it use the value of ENABLE_EXPERIMENTAL_FEATURES.
523 * Source/cmake/OptionsWPE.cmake: Ditto.
524
commit-queue@webkit.org6c2f7352019-03-25 17:57:13 +00005252019-03-25 Xan López <xan@igalia.com>
526
527 [WTF] Fix typo when forcing WTF_CPU_X86
528 https://bugs.webkit.org/show_bug.cgi?id=196204
529
530 Reviewed by Michael Catanzaro.
531
532 Fix a typo when setting the WTF_CPU variable for X86.
533
534 * CMakeLists.txt:
535
carlosgc@webkit.org421ce142019-03-23 10:37:41 +00005362019-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
537
538 [GTK] Remove build time dependency on Geoclue2
539 https://bugs.webkit.org/show_bug.cgi?id=195994
540
541 Reviewed by Michael Catanzaro.
542
543 Remove USE_GEOCLUE build option.
544
545 * Source/cmake/FindGeoClue2.cmake: Removed.
546 * Source/cmake/OptionsGTK.cmake:
547
carlosgc@webkit.org389b5612019-03-21 10:10:35 +00005482019-03-21 Carlos Garcia Campos <cgarcia@igalia.com>
549
550 [GTK][WPE] Add API to provide geolocation information
551 https://bugs.webkit.org/show_bug.cgi?id=195940
552
553 Reviewed by Michael Catanzaro.
554
555 Build with geolocation enabled by default in both GTK and WPE. In GTK add a specific USE_GEOCLUE build option
556 instead of using ENABLE_GEOLOCATION.
557
558 * Source/cmake/OptionsGTK.cmake:
559 * Source/cmake/OptionsWPE.cmake:
560
simon.fraser@apple.comd08009e2019-03-21 03:48:35 +00005612019-03-20 Simon Fraser <simon.fraser@apple.com>
562
563 Rename ENABLE_ACCELERATED_OVERFLOW_SCROLLING macro to ENABLE_OVERFLOW_SCROLLING_TOUCH
564 https://bugs.webkit.org/show_bug.cgi?id=196049
565
566 Reviewed by Tim Horton.
567
568 This macro is about the -webkit-overflow-scrolling CSS property, not accelerated
569 overflow scrolling in general, so rename it.
570
571 * Source/cmake/OptionsMac.cmake:
572 * Source/cmake/OptionsWin.cmake:
573 * Source/cmake/WebKitFeatures.cmake:
574 * Source/cmake/tools/vsprops/FeatureDefines.props:
575 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
576
chris.reid@sony.com9a8f26a2019-03-19 23:34:03 +00005772019-03-19 Christopher Reid <chris.reid@sony.com>
578
579 [CMake] Support more clang and gcc sanitizers
580 https://bugs.webkit.org/show_bug.cgi?id=195956
581
582 Reviewed by Michael Catanzaro.
583
584 Add support to compile with undefined, thread, memory, and leak sanitizers in cmake.
585 Also add ubsan and asan support when compiling with clang-cl on WinCairo.
586 This changes ENABLE_ADDRESS_SANITIZER flag to a generic ENABLE_SANITIZERS
587 which takes a semicolon separated list of sanitizers to enable.
588 e.g. `-DENABLE_SANITIZERS=address;undefined`
589
590 Building WinCairo with sanitizers enabled also needs CLANG_LIB_PATH set to the clang compiler runtime library folder.
591 e.g. pass `--cmakeargs="-DCLANG_LIB_PATH=\"C:\Program Files\LLVM\lib\clang\7.0.1\lib\windows\""` to build-webkit
592
593 * Source/cmake/WebKitCompilerFlags.cmake:
594
aperez@igalia.comc48f42b2019-03-18 11:02:38 +00005952019-03-18 Adrian Perez de Castro <aperez@igalia.com>
596
aperez@igalia.com7f7bee62019-03-18 16:53:56 +0000597 [WPE] Bump public API to wpe-1.0
598 https://bugs.webkit.org/show_bug.cgi?id=195887
599
600 Reviewed by Philippe Normand.
601
602 * Source/cmake/OptionsWPE.cmake: Bump public API version to 1.0
603
6042019-03-18 Adrian Perez de Castro <aperez@igalia.com>
605
aperez@igalia.comc48f42b2019-03-18 11:02:38 +0000606 [WPE] Bump dependencies to wpe-1.0 and wpebackend-fdo-1.0
607 https://bugs.webkit.org/show_bug.cgi?id=195786
608
609 Reviewed by Philippe Normand.
610
611 * Source/cmake/FindWPE.cmake: Check for the wpe-1.0 pkg-config package.
612
commit-queue@webkit.org8306d972019-03-11 19:11:09 +00006132019-03-11 Xan Lopez <xan@igalia.com>
614
615 [CMake] Build 32bit binaries on Linux/64bit when the --32-bit is passed to build-jsc
616 https://bugs.webkit.org/show_bug.cgi?id=194147
617
618 Reviewed by Michael Saboff.
619
620 * CMakeLists.txt: set WTF_CPU properly if FORCE_32BIT is set in
621 build-jsc.
622
mcatanzaro@igalia.com98e8cc62019-03-11 16:47:21 +00006232019-03-11 Michael Catanzaro <mcatanzaro@igalia.com>
624
625 [WPE] Enable web process sandbox
626 https://bugs.webkit.org/show_bug.cgi?id=195169
627
628 Reviewed by Daniel Bates.
629
630 * Source/cmake/BubblewrapSandboxChecks.cmake: Added.
631 * Source/cmake/OptionsGTK.cmake:
632 * Source/cmake/OptionsWPE.cmake:
633
commit-queue@webkit.org96292192019-03-07 08:06:36 +00006342019-03-07 Commit Queue <commit-queue@webkit.org>
635
636 Unreviewed, rolling out r242354.
637 https://bugs.webkit.org/show_bug.cgi?id=195402
638
639 breaks layout tests in all configurations (Requested by
640 zdobersek on #webkit).
641
642 Reverted changeset:
643
644 "[WPE] Enable web process sandbox"
645 https://bugs.webkit.org/show_bug.cgi?id=195169
646 https://trac.webkit.org/changeset/242354
647
ross.kirsling@sony.coma08735b2019-03-07 07:31:57 +00006482019-03-06 Ross Kirsling <ross.kirsling@sony.com>
649
650 [Win] Remove -DUCHAR_TYPE=wchar_t stopgap and learn to live with char16_t.
651 https://bugs.webkit.org/show_bug.cgi?id=195346
652
653 Reviewed by Fujii Hironori.
654
655 * Source/cmake/OptionsJSCOnly.cmake:
656 * Source/cmake/OptionsWin.cmake:
657 Stop compiling with -DUCHAR_TYPE=wchar_t.
658
don.olmstead@sony.com18e66832019-03-06 19:52:57 +00006592019-03-06 Don Olmstead <don.olmstead@sony.com>
660
661 [WinCairo] Enable additional experimental features
662 https://bugs.webkit.org/show_bug.cgi?id=195363
663
664 Reviewed by Ross Kirsling.
665
666 Turn on ENABLE_APPLICATION_MANIFEST, ENABLE_FILTERS_LEVEL_2, ENABLE_CSS_PAINTING_API,
667 and ENABLE_VARIATION_FONTS. This will allow testing and development of these features
668 for Windows.
669
670 * Source/cmake/OptionsWin.cmake:
671
don.olmstead@sony.com2c864862019-03-06 02:15:57 +00006722019-03-05 Don Olmstead <don.olmstead@sony.com>
673
674 [WinCairo] Enable CSS Typed OM
675 https://bugs.webkit.org/show_bug.cgi?id=195340
676
677 Reviewed by Myles C. Maxfield.
678
679 * Source/cmake/OptionsWin.cmake:
680
mcatanzaro@igalia.com7e8ee1a2019-03-04 15:25:43 +00006812019-03-04 Michael Catanzaro <mcatanzaro@igalia.com>
682
683 [WPE] Enable web process sandbox
684 https://bugs.webkit.org/show_bug.cgi?id=195169
685
686 Reviewed by Daniel Bates.
687
688 * Source/cmake/BubblewrapSandboxChecks.cmake: Added.
689 * Source/cmake/OptionsGTK.cmake:
690 * Source/cmake/OptionsWPE.cmake:
691
don.olmstead@sony.com47a70942019-03-01 19:58:30 +00006922019-03-01 Don Olmstead <don.olmstead@sony.com>
693
694 [WinCairo] Enable service worker
695 https://bugs.webkit.org/show_bug.cgi?id=188318
696
697 Reviewed by Youenn Fablet.
698
699 * Source/cmake/OptionsWin.cmake:
700
don.olmstead@sony.comc6e7b702019-03-01 03:35:32 +00007012019-02-28 Don Olmstead <don.olmstead@sony.com>
702
703 [WinCairo] Turn ENABLE_RESOURCE_LOAD_STATISTICS on
704 https://bugs.webkit.org/show_bug.cgi?id=194267
705
706 Reviewed by Brent Fulgham.
707
708 * Source/cmake/OptionsWin.cmake:
709
commit-queue@webkit.org3154ac62019-02-28 18:28:01 +00007102019-02-28 Carlos Garcia Campos <cgarcia@igalia.com>
711
712 [CoordinatedGraphics] Remove COORDINATED_GRAPHICS_THREADED option
713 https://bugs.webkit.org/show_bug.cgi?id=195159
714
715 Reviewed by Don Olmstead.
716
717 * Source/cmake/OptionsGTK.cmake:
718 * Source/cmake/OptionsPlayStation.cmake:
719 * Source/cmake/OptionsWPE.cmake:
720
commit-queue@webkit.orga8a85632019-02-27 04:19:27 +00007212019-02-26 Gabe Giosia <giosia@google.com>
722
723 Incorrect formatting around command in Readme.md
724 https://bugs.webkit.org/show_bug.cgi?id=195061
725
726 Reviewed by Fujii Hironori.
727
728 * ReadMe.md: removed stray period
729
dinfuehr@igalia.com78a08b42019-02-26 22:40:03 +00007302019-02-26 Dominik Infuehr <dinfuehr@igalia.com>
731
732 Fix warnings on ARM and MIPS
733 https://bugs.webkit.org/show_bug.cgi?id=195049
734
735 Reviewed by Mark Lam.
736
737 Disable warnings for changes to the ABI with GCC 7.1.
738
739 * Source/cmake/WebKitCompilerFlags.cmake:
740
aperez@igalia.coma8f847b2019-02-25 21:48:24 +00007412019-02-25 Adrian Perez de Castro <aperez@igalia.com>
742
743 [WPE] Bump WPEBackend-fdo requirement to API version 1.0
744 https://bugs.webkit.org/show_bug.cgi?id=195001
745
746 Reviewed by Carlos Garcia Campos.
747
748 * Source/cmake/FindWPEBackend-fdo.cmake: Use WPEBackend-fdo-1.0.
749 * Source/cmake/OptionsWPE.cmake: Ditto.
750
magomez@igalia.com7bbb1e52019-02-25 09:20:01 +00007512019-02-25 Miguel Gomez <magomez@igalia.com>
752
753 [WPE] Add support for holepunch using an external video player
754 https://bugs.webkit.org/show_bug.cgi?id=194899
755
756 Reviewed by Xabier Rodriguez-Calvar.
757
758 Add EXTERNAL_HOLEPUNCH option to the WPE port. Add a manual test to check the
759 feature. Rename and update the test for GStreamer holepunch to avoid confusion.
760
761 * ManualTests/wpe/video-player-holepunch-external.html: Added.
762 * ManualTests/wpe/video-player-holepunch-gstreamer.html: Renamed from ManualTests/wpe/video-player-holepunch.html.
763 * Source/cmake/OptionsWPE.cmake:
764
drousso@apple.coma9d83002019-02-25 04:41:53 +00007652019-02-24 Devin Rousso <drousso@apple.com>
766
767 Web Inspector: Change the InspectorOverlay to use native rather than canvas
768 https://bugs.webkit.org/show_bug.cgi?id=105023
769 <rdar://problem/13443692>
770
771 Reviewed by Brian Burg.
772
773 * ManualTests/inspector/overlay-nodes.html: Added.
774 * ManualTests/inspector/overlay-rulers.html: Added.
775
aperez@igalia.com0641b332019-02-22 09:18:24 +00007762019-02-22 Adrian Perez de Castro <aperez@igalia.com>
777
778 Unreviewed. Bump version numbers
779
780 * Source/cmake/OptionsWPE.cmake:
781
carlosgc@webkit.orgc755a5c2019-02-22 07:32:29 +00007822019-02-21 Carlos Garcia Campos <cgarcia@igalia.com>
783
784 Unreviewed. Bump version numbers
785
786 * Source/cmake/OptionsGTK.cmake:
787
aperez@igalia.comcbb0aa12019-02-21 17:08:07 +00007882019-02-21 Adrian Perez de Castro <aperez@igalia.com>
789
790 [WPE] Do not hardcode WPEBackend-fdo library name for linking tests
791 https://bugs.webkit.org/show_bug.cgi?id=194901
792
793 Unreviewed build fix.
794
795 * Source/cmake/FindWPEBackend-fdo.cmake: Use WPEBACKEND_FDO as prefix
796 for the output variables instead of WPEBackend-fdo, for consistency
797 with other usages of of find_package_handle_standard_args().
798
aperez@igalia.com7b319412019-02-12 00:07:21 +00007992019-02-11 Adrian Perez de Castro <aperez@igalia.com>
800
801 [GTK][WPE] Add content extensions support in WKTR and unskip layout tests
802 https://bugs.webkit.org/show_bug.cgi?id=193622
803
804 Reviewed by Michael Catanzaro.
805
806 * Source/cmake/OptionsGTK.cmake: Enable CONTENT_EXTENSIONS by default.
807 * Source/cmake/OptionsWPE.cmake: Ditto.
808 * Source/cmake/WebKitFeatures.cmake: Add a private CONTENT_EXTENSIONS option.
809
magomez@igalia.comd87e2aa2019-02-07 14:42:32 +00008102019-02-07 Miguel Gomez <magomez@igalia.com>
811
812 [WPE] Implement GStreamer based holepunch
813 https://bugs.webkit.org/show_bug.cgi?id=193715
814
815 Reviewed by Xabier Rodriguez-Calvar.
816
817 Add GSTREAMER_HOLEPUNCH option to the WPE port with a manual test to
818 check the feature.
819
820 * ManualTests/wpe/video-player-holepunch.html: Added.
821 * Source/cmake/OptionsWPE.cmake:
822
carlosgc@webkit.orgfbc2d512019-02-01 14:35:08 +00008232019-02-01 Carlos Garcia Campos <cgarcia@igalia.com>
824
825 [WPE] Enable font variations
826 https://bugs.webkit.org/show_bug.cgi?id=194148
827
828 Reviewed by Žan Doberšek.
829
830 Enable variation fonts when required dependencies are available.
831
832 * Source/cmake/OptionsWPE.cmake:
833
guijemont@igalia.com18f18162019-01-24 12:04:36 +00008342019-01-24 Guillaume Emont <guijemont@igalia.com>
835
836 [JSC] Reenable baseline JIT on mips
837 https://bugs.webkit.org/show_bug.cgi?id=192983
838
839 Reviewed by Mark Lam.
840
841 Use baseline JIT by default on MIPS.
842
843 * Source/cmake/WebKitFeatures.cmake:
844
carlosgc@webkit.org8e954932019-01-24 10:02:33 +00008452019-01-24 Carlos Garcia Campos <cgarcia@igalia.com>
846
847 [GTK][WPE] Support JPEG 2000 images
848 https://bugs.webkit.org/show_bug.cgi?id=186272
849
850 Reviewed by Žan Doberšek.
851
852 Add USE_OPENJPEG build option.
853
854 * Source/cmake/OptionsGTK.cmake:
855 * Source/cmake/OptionsWPE.cmake:
856
jer.noble@apple.comc7894752019-01-18 22:53:49 +00008572019-01-18 Jer Noble <jer.noble@apple.com>
858
859 SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
860 https://bugs.webkit.org/show_bug.cgi?id=189553
861
862 Reviewed by Tim Horton.
863
864 * Makefile.shared:
865
philn@webkit.org94a40b42019-01-18 13:07:38 +00008662019-01-18 Philippe Normand <pnormand@igalia.com>
867
868 [WPE] Add Qt extension
869 https://bugs.webkit.org/show_bug.cgi?id=191464
870
871 Reviewed by Carlos Garcia Campos.
872
873 * Source/cmake/OptionsWPE.cmake: Add ENABLE_WPE_QT_API CMake option. Disabled by default.
874
tsavell@apple.come019d862019-01-18 00:43:25 +00008752019-01-17 Truitt Savell <tsavell@apple.com>
876
877 Unreviewed, rolling out r240124.
878
879 This commit broke an internal build.
880
881 Reverted changeset:
882
883 "SDK_VARIANT build destinations should be separate from non-
884 SDK_VARIANT builds"
885 https://bugs.webkit.org/show_bug.cgi?id=189553
886 https://trac.webkit.org/changeset/240124
887
jer.noble@apple.comfd905482019-01-17 20:46:05 +00008882019-01-17 Jer Noble <jer.noble@apple.com>
889
890 SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
891 https://bugs.webkit.org/show_bug.cgi?id=189553
892
893 Reviewed by Tim Horton.
894
895 * Makefile.shared:
896
pvollan@apple.comb57b1272019-01-17 19:13:50 +00008972019-01-17 Per Arne Vollan <pvollan@apple.com>
898
899 [Win] gperf command not found
900 https://bugs.webkit.org/show_bug.cgi?id=193538
901 <rdar://problem/47250549>
902
903 Reviewed by Brent Fulgham.
904
905 CMake only searches for gperf if ENABLE_WEBCORE is on. ENABLE_WEBCORE needs to be set to ON.
906
907 * Source/cmake/OptionsAppleWin.cmake:
908
carlosgc@webkit.orga4ad6512019-01-14 09:28:29 +00009092019-01-14 Carlos Garcia Campos <cgarcia@igalia.com>
910
911 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.23.3 release
912
913 * Source/cmake/OptionsGTK.cmake: Bump version numbers
914
carlosgc@webkit.org7c12e462019-01-08 08:58:45 +00009152019-01-08 Carlos Garcia Campos <cgarcia@igalia.com>
916
917 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.23.2 release
918
919 * Source/cmake/OptionsGTK.cmake: Bump version numbers
920
don.olmstead@sony.com916c6692019-01-08 00:55:37 +00009212019-01-07 Don Olmstead <don.olmstead@sony.com>
922
923 [CMake] Add ENABLE_CSS_TYPED_OM option
924 https://bugs.webkit.org/show_bug.cgi?id=193216
925
926 Reviewed by Michael Catanzaro.
927
928 * Source/cmake/WebKitFeatures.cmake:
929
yusukesuzuki@slowstart.orgcac833b2018-12-30 21:23:11 +00009302018-12-30 Yusuke Suzuki <yusukesuzuki@slowstart.org>
931
932 gperf is only used in WebCore
933 https://bugs.webkit.org/show_bug.cgi?id=193061
934
935 Reviewed by Don Olmstead.
936
937 gperf is only used in WebCore. So if the port does not have WebCore,
938 it is not necessary. For example, JSCOnly port does not require it.
939 This patch removes gperf dependency in these ports by checking
940 ENABLE_WEBCORE.
941
942 * Source/cmake/WebKitCommon.cmake:
943
yusukesuzuki@slowstart.org31d1e052018-12-30 21:19:09 +00009442018-12-28 Yusuke Suzuki <yusukesuzuki@slowstart.org>
945
946 Add ENABLE_UNIFIED_BUILDS option to cmake ports
947 https://bugs.webkit.org/show_bug.cgi?id=193045
948
949 Reviewed by Don Olmstead.
950
951 This patch adds ENABLE_UNIFIED_BUILDS option to cmake ports, which allows us to disable Unified Builds in WebKit.
952 This makes `compile_commands.json` sane when the unified builds is disabled, and various tools can use this
953 compilation database. For example, YouCompleteMe completion server can use it.
954
955 * Source/cmake/WebKitFeatures.cmake:
956 * Source/cmake/WebKitMacros.cmake:
957
achristensen@apple.com31ed0b92018-12-27 16:13:47 +00009582018-12-27 Alex Christensen <achristensen@webkit.org>
959
960 Resurrect Mac CMake build
961 https://bugs.webkit.org/show_bug.cgi?id=192658
962
963 Reviewed by Yusuke Suzuki.
964
965 * Source/cmake/OptionsMac.cmake:
966
aperez@igalia.com5ba73e22018-12-19 19:58:21 +00009672018-12-19 Adrian Perez de Castro <aperez@igalia.com>
968
969 [GTK] Cannot build with CMake <3.7
970 https://bugs.webkit.org/show_bug.cgi?id=192865
971
972 Reviewed by Michael Catanzaro.
973
974 * Source/cmake/OptionsGTK.cmake: Convert usage of VERSION_GREATER_EQUAL to a
975 combination of VERSION_GREATER + STREQUAL.
976
commit-queue@webkit.org4ff1d692018-12-19 15:37:50 +00009772018-12-19 Lucas Stach <l.stach@pengutronix.de>
978
979 Fix build on 64bit ARM with arm64 SYSTEM_PROCESSOR
980 https://bugs.webkit.org/show_bug.cgi?id=192497
981
982 Reviewed by Philippe Normand.
983
984 Android and some embedded Linux build systems use arm64 instead of
985 aarch64 as the CMAKE_HOST_PROCESSOR. Fix the JIT build for this scenario.
986
987 * CMakeLists.txt:
988
carlosgc@webkit.org39e466a2018-12-13 09:17:31 +00009892018-12-12 Carlos Garcia Campos <cgarcia@igalia.com>
990
991 [FreeType] Add initial implementation of variation fonts
992 https://bugs.webkit.org/show_bug.cgi?id=192151
993
994 Reviewed by Michael Catanzaro.
995
996 Enable variation fonts in GTK+ port when required dependencies are available.
997
998 * Source/cmake/OptionsGTK.cmake:
999
mcatanzaro@igalia.coma9c8a842018-12-12 19:02:53 +000010002018-12-12 Michael Catanzaro <mcatanzaro@igalia.com>
1001
mcatanzaro@igalia.com60f94a02018-12-12 19:10:43 +00001002 Unreviewed manual rollout of r239100-r239102 and r239116
mcatanzaro@igalia.coma9c8a842018-12-12 19:02:53 +00001003 https://bugs.webkit.org/show_bug.cgi?id=192151
1004 <rdar://problem/46655586>
1005
1006 * Source/cmake/OptionsGTK.cmake:
1007
carlosgc@webkit.org70e96fa2018-12-12 09:07:19 +000010082018-12-12 Carlos Garcia Campos <cgarcia@igalia.com>
1009
1010 [FreeType] Add initial implementation of variation fonts
1011 https://bugs.webkit.org/show_bug.cgi?id=192151
1012
1013 Reviewed by Michael Catanzaro.
1014
1015 Enable variation fonts in GTK+ port when required dependencies are available.
1016
1017 * Source/cmake/OptionsGTK.cmake:
1018
don.olmstead@sony.com72d2e7a2018-12-11 01:17:17 +000010192018-12-10 Don Olmstead <don.olmstead@sony.com>
1020
1021 [CMake] Add ENABLE_RESOURCE_LOAD_STATISTICS to WebKitFeatures.cmake
1022 https://bugs.webkit.org/show_bug.cgi?id=192574
1023
1024 Reviewed by Michael Catanzaro.
1025
1026 * Source/cmake/WebKitFeatures.cmake:
1027
ross.kirsling@sony.coma3d78842018-12-11 00:35:51 +000010282018-12-10 Ross Kirsling <ross.kirsling@sony.com>
1029
1030 Add test262-results directory to .gitignore.
1031 https://bugs.webkit.org/show_bug.cgi?id=192547
1032
1033 Reviewed by Dean Jackson.
1034
1035 * .gitignore:
1036
commit-queue@webkit.orgdb6198a2018-12-06 12:40:47 +000010372018-12-06 Carlos Eduardo Ramalho <cadubentzen@gmail.com>
1038
commit-queue@webkit.orgcb0efbf2018-12-06 13:07:46 +00001039 [GStreamer] -DENABLE_VIDEO=ON -DENABLE_OPENGL=OFF still tries to build GstreamerGL
1040 https://bugs.webkit.org/show_bug.cgi?id=191998
1041
1042 Reviewed by Philippe Normand.
1043
1044 Fix compilation with -DENABLE_VIDEO=ON and -DENABLE_OPENGL=OFF due to GStreamerGL.
1045
1046 * Source/cmake/GStreamerDependencies.cmake: "DEFINED ENABLE_OPENGL" is always false because ENABLE_OPENGL
1047 is not a CMake variable (WEBKIT_OPTION_DEFINE macro does not define ENABLE_OPENGL variable per se, but other
1048 variables and appends it to a list).
1049 * Source/cmake/OptionsGTK.cmake: GStreamerDefinitions.cmake was included twice by mistake. Second should be GStreamerDependencies.cmake.
1050
10512018-12-06 Carlos Eduardo Ramalho <cadubentzen@gmail.com>
1052
commit-queue@webkit.orgdb6198a2018-12-06 12:40:47 +00001053 REGRESSION(r231043): [GTK] Undefined references to WebCore::LayerRepresentation::* with -DENABLE_OPENGL=OFF builds
1054 https://bugs.webkit.org/show_bug.cgi?id=191997
1055
1056 Reviewed by Philippe Normand.
1057
1058 Fix build with -DENABLE_OPENGL=OFF and -DENABLE_VIDEO=OFF
1059
1060 * Source/cmake/OptionsGTK.cmake: make ENABLE_ASYNC_SCROLLING depend on ENABLE_OPENGL
1061
don.olmstead@sony.comf630c642018-12-05 23:25:47 +000010622018-12-05 Don Olmstead <don.olmstead@sony.com>
1063
1064 [PlayStation] Enable WebCore
1065 https://bugs.webkit.org/show_bug.cgi?id=192384
1066
1067 Reviewed by Brent Fulgham.
1068
1069 Adds CMake options for building WebCore on PlayStation.
1070
1071 * Source/cmake/FindLibPSL.cmake:
1072 * Source/cmake/FindNghttp2.cmake: Copied from Source/cmake/FindWPE.cmake.
1073 * Source/cmake/FindPixman.cmake: Added.
1074 * Source/cmake/FindWPE.cmake:
1075 * Source/cmake/OptionsPlayStation.cmake:
1076
commit-queue@webkit.org014a5fd2018-12-04 16:33:22 +000010772018-12-04 Carlos Eduardo Ramalho <cadubentzen@gmail.com>
1078
1079 [WPE] Add gtk-doc
1080 https://bugs.webkit.org/show_bug.cgi?id=178900
1081
1082 Reviewed by Michael Catanzaro.
1083
1084 Add gtk-doc to WPE port. This patch tries to reuse as much code from
1085 WebKitGTK+ as possible.
1086
1087 * Source/PlatformGTK.cmake: include GtkDoc.cmake instead of defining macro.
1088 * Source/PlatformWPE.cmake: Added documentation generation.
1089 * Source/cmake/GtkDoc.cmake: Added.
1090 * Source/cmake/OptionsWPE.cmake: Added ENABLE_GTKDOC build option and added pkg-config path variables.
1091
don.olmstead@sony.com03e95092018-12-03 19:58:06 +000010922018-12-03 Don Olmstead <don.olmstead@sony.com>
1093
1094 [CMake] Sync feature defines
1095 https://bugs.webkit.org/show_bug.cgi?id=191167
1096
1097 Reviewed by Michael Catanzaro.
1098
1099 * Source/cmake/WebKitFeatures.cmake:
1100
don.olmstead@sony.com6f0adc52018-12-02 02:03:03 +000011012018-12-01 Don Olmstead <don.olmstead@sony.com>
1102
1103 Cleanup WebKit Features
1104 https://bugs.webkit.org/show_bug.cgi?id=192262
1105
1106 Reviewed by Michael Catanzaro.
1107
1108 Removes unused ENABLE flags from the listing in WebKitFeatures.cmake
1109 and any other associated code. Synced the options in FeatureList.pm to
1110 the feature listing. Sorts the ENABLE flags.
1111
1112 * Source/cmake/OptionsMac.cmake:
1113 * Source/cmake/OptionsWin.cmake:
1114 * Source/cmake/WebKitFeatures.cmake:
1115 * Source/cmake/tools/vsprops/FeatureDefines.props:
1116 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1117
don.olmstead@sony.com58cd5d82018-11-30 22:23:17 +000011182018-11-30 Don Olmstead <don.olmstead@sony.com>
1119
1120 Rename ENABLE_SUBTLE_CRYPTO to ENABLE_WEB_CRYPTO
1121 https://bugs.webkit.org/show_bug.cgi?id=192197
1122
1123 Reviewed by Jiewen Tan.
1124
1125 * Source/cmake/OptionsGTK.cmake:
1126 * Source/cmake/OptionsWPE.cmake:
1127 * Source/cmake/OptionsWin.cmake:
1128 * Source/cmake/WebKitFeatures.cmake:
1129
mcatanzaro@igalia.com0ab1d582018-11-28 18:05:31 +000011302018-11-28 Michael Catanzaro <mcatanzaro@igalia.com>
1131
1132 [CMake] Automatically disable JIT and enable USE_SYSTEM_MALLOC on unfamiliar architectures
1133 https://bugs.webkit.org/show_bug.cgi?id=186722
1134
1135 Reviewed by Žan Doberšek.
1136
1137 Time for part #2! This change was defeated for GTK and WPE by the code that makes the
1138 options public. We have three options: (a) duplicate the architecture check currently in
1139 WebKitFeatures.cmake in both OptionsGTK.cmake and OptionsWPE.cmake, (b) rely on the result
1140 of that check in OptionsGTK.cmake and OptionsWPE.cmake by using ENABLE_JIT_DEFAULT and
1141 USE_SYSTEM_MALLOC_DEFAULT, a fragile encapsulation violation, or (c) just make the options
1142 private. They have been public up until now because they needed to be turned off on
1143 unsupported architectures. But now they are off by default and enabled only for particular
1144 whitelisted architectures, so they shouldn't be needed anymore.
1145
1146 Note we have to hide ENABLE_SAMPLING_PROFILER as well, since it needs to match the value of
1147 ENABLE_JIT. Again, this is handled properly in WebKitFeatures.cmake, and defeated here in
1148 OptionsGTK.cmake. (This is not a problem for WPE.)
1149
1150 * Source/cmake/OptionsGTK.cmake:
1151 * Source/cmake/OptionsWPE.cmake:
1152
Hironori.Fujii@sony.com316538b2018-11-27 01:54:59 +000011532018-11-26 Fujii Hironori <Hironori.Fujii@sony.com>
1154
1155 [CMake] Remove ENABLE_ACCESSIBILITY CMake variable
1156 https://bugs.webkit.org/show_bug.cgi?id=191831
1157
1158 Reviewed by Michael Catanzaro.
1159
1160 ENABLE_ACCESSIBILITY is a bit confusing name because there is no
1161 such ENABLE_ACCESSIBILITY macros in C++ source files.
1162
1163 * Source/cmake/OptionsGTK.cmake: Removed ENABLE_ACCESSIBILITY.
1164 * Source/cmake/OptionsWPE.cmake: Ditto.
1165 * Source/cmake/OptionsWin.cmake: Ditto.
1166 * Source/cmake/WebKitFeatures.cmake: Ditto.
1167
berto@igalia.comd92edd62018-11-26 08:54:15 +000011682018-11-26 Alberto Garcia <berto@igalia.com>
1169
1170 [GTK] [2.22.0] Fails to build in armel
1171 https://bugs.webkit.org/show_bug.cgi?id=188862
1172
1173 Disable the JIT and enable C_LOOP on ARM CPUs without Thumb2
1174 support.
1175
1176 Reviewed by Michael Catanzaro.
1177
1178 * Source/cmake/WebKitFeatures.cmake:
1179
carlosgc@webkit.orgc9de1fb2018-11-22 09:38:28 +000011802018-11-22 Carlos Garcia Campos <cgarcia@igalia.com>
1181
1182 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.23.1 release.
1183
1184 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1185
dinfuehr@igalia.com060dcd22018-11-21 11:03:29 +000011862018-11-21 Dominik Infuehr <dinfuehr@igalia.com>
1187
1188 Enable JIT on ARM/Linux
1189 https://bugs.webkit.org/show_bug.cgi?id=191548
1190
1191 Reviewed by Yusuke Suzuki.
1192
1193 Enable JIT by default on ARMv7/Linux after it was disabled with
1194 recent bytcode format change.
1195
1196 * Source/cmake/WebKitFeatures.cmake:
1197
don.olmstead@sony.com9d42b9f2018-11-16 16:38:53 +000011982018-11-16 Don Olmstead <don.olmstead@sony.com>
1199
1200 Add USE(LIBWPE) to WebCore
1201 https://bugs.webkit.org/show_bug.cgi?id=191401
1202
1203 Reviewed by Michael Catanzaro.
1204
1205 Exposes USE_LIBWPE to the build.
1206
1207 * Source/cmake/OptionsWPE.cmake:
1208
rniwa@webkit.orge19380c2018-11-12 23:42:49 +000012092018-11-12 Ryosuke Niwa <rniwa@webkit.org>
1210
1211 Add HTTPS git remote to ReadMe.md
1212 https://bugs.webkit.org/show_bug.cgi?id=191561
1213
1214 Reviewed by Zalan Bujtas.
1215
1216 * ReadMe.md:
1217
commit-queue@webkit.orge7f2cac2018-11-12 18:58:01 +000012182018-11-12 Takashi Komori <Takashi.Komori@sony.com>
1219
1220 Resurrect WebKitTestRunner for Windows port
1221 https://bugs.webkit.org/show_bug.cgi?id=189257
1222
1223 Reviewed by Fujii Hironori.
1224
1225 * Source/cmake/OptionsWin.cmake:
1226
carlosgc@webkit.org99d76d52018-11-07 14:24:09 +000012272018-11-07 Carlos Garcia Campos <cgarcia@igalia.com>
1228
1229 [Linux] Use memfd_create when available in SharedMemory implementation
1230 https://bugs.webkit.org/show_bug.cgi?id=189741
1231
1232 Reviewed by Michael Catanzaro.
1233
1234 Add include check for linux/memfd.h header.
1235
1236 * Source/cmake/OptionsCommon.cmake:
1237
dinfuehr@igalia.com33f8dd92018-11-05 16:07:40 +000012382018-11-05 Dominik Infuehr <dinfuehr@igalia.com>
1239
1240 Enable LLInt on ARMv7/Linux
1241 https://bugs.webkit.org/show_bug.cgi?id=191190
1242
1243 Reviewed by Yusuke Suzuki.
1244
1245 After enabling the new bytecode format in r237547, C_LOOP was
1246 forced on all 32-bit platforms. Now enable LLInt again on
1247 ARMv7-Thumb2/Linux by default.
1248
1249 * Source/cmake/WebKitFeatures.cmake:
1250
mcatanzaro@igalia.com3ab7c252018-11-05 08:03:30 +000012512018-11-05 Michael Catanzaro <mcatanzaro@igalia.com>
1252
1253 [WPE][GTK] Expose ENABLE_MEDIA_SOURCE as public option
1254 https://bugs.webkit.org/show_bug.cgi?id=191223
1255
1256 Reviewed by Xabier Rodriguez-Calvar.
1257
1258 This option should be public because it needs to be disabled to build with GStreamer older
1259 than 1.14.4.
1260
1261 * Source/cmake/GStreamerDefinitions.cmake:
1262
Hironori.Fujii@sony.com1cb28612018-11-05 04:38:32 +000012632018-11-04 Fujii Hironori <Hironori.Fujii@sony.com>
1264
1265 [Win] Use C++14, not C++17
1266 https://bugs.webkit.org/show_bug.cgi?id=191101
1267
1268 Reviewed by Alex Christensen.
1269
1270 Based on the webkit-dev discussion, this change switches Windows
1271 port from C++17 to C++14.
1272 <https://lists.webkit.org/pipermail/webkit-dev/2018-September/030186.html>
1273
1274 * Source/cmake/OptionsMSVC.cmake: Replaced /std:c++17 with /std:c++14 switch.
1275
don.olmstead@sony.comb837f672018-10-31 04:00:45 +000012762018-10-30 Don Olmstead <don.olmstead@sony.com>
1277
1278 [PlayStation] Enable JavaScriptCore
1279 https://bugs.webkit.org/show_bug.cgi?id=191072
1280
1281 Reviewed by Brent Fulgham.
1282
1283 Add support for building the PlayStation port through JavaScriptCore.
1284
1285 * CMakeLists.txt:
1286 * Source/cmake/OptionsPlayStation.cmake: Added.
1287
tzagallo@apple.com3474dd02018-10-29 13:16:03 +000012882018-10-29 Tadeu Zagallo <tzagallo@apple.com>
1289
1290 New bytecode format for JSC
1291 https://bugs.webkit.org/show_bug.cgi?id=187373
1292 <rdar://problem/44186758>
1293
1294 Reviewed by Filip Pizlo.
1295
1296 Disable JIT by default on 32-bit platforms
1297
1298 * Source/cmake/WebKitFeatures.cmake:
1299
cturner@igalia.com97d48e32018-10-27 10:24:04 +000013002018-10-27 Charlie Turner <cturner@igalia.com>
1301
cturner@igalia.com4077def2018-10-27 14:28:38 +00001302 Make VIDEO enabled if ENCRYPTED_MEDIA is enabled.
1303 https://bugs.webkit.org/show_bug.cgi?id=190983
1304
1305 Unreviewed build update.
1306
1307 * Source/cmake/WebKitFeatures.cmake:
1308
13092018-10-27 Charlie Turner <cturner@igalia.com>
1310
cturner@igalia.com97d48e32018-10-27 10:24:04 +00001311 [GTK] Enable experimental encrypted media support
1312 https://bugs.webkit.org/show_bug.cgi?id=190829
1313
1314 Reviewed by Michael Catanzaro.
1315
1316 * Source/cmake/OptionsGTK.cmake:
1317
commit-queue@webkit.org9907b062018-10-26 23:34:01 +000013182018-10-26 Commit Queue <commit-queue@webkit.org>
1319
1320 Unreviewed, rolling out r237479 and r237484.
1321 https://bugs.webkit.org/show_bug.cgi?id=190978
1322
1323 broke JSC on iOS (Requested by tadeuzagallo on #webkit).
1324
1325 Reverted changesets:
1326
1327 "New bytecode format for JSC"
1328 https://bugs.webkit.org/show_bug.cgi?id=187373
1329 https://trac.webkit.org/changeset/237479
1330
1331 "Gardening: Build fix after r237479."
1332 https://bugs.webkit.org/show_bug.cgi?id=187373
1333 https://trac.webkit.org/changeset/237484
1334
tzagallo@apple.com1f8380c2018-10-26 19:54:24 +000013352018-10-26 Tadeu Zagallo <tzagallo@apple.com>
1336
1337 New bytecode format for JSC
1338 https://bugs.webkit.org/show_bug.cgi?id=187373
1339 <rdar://problem/44186758>
1340
1341 Reviewed by Filip Pizlo.
1342
1343 Disable JIT by default on 32-bit platforms
1344
1345 * Source/cmake/WebKitFeatures.cmake:
1346
mcatanzaro@igalia.comd763a402018-10-25 14:53:09 +000013472018-10-25 Michael Catanzaro <mcatanzaro@igalia.com>
1348
1349 [GTK] Reenable the sandbox
1350
1351 Previously reviewed by, er, myself. This just reverts the sabotague as our bots should have
1352 the required deps now. Hopefully.
1353
1354 * Source/cmake/OptionsGTK.cmake:
1355
Hironori.Fujii@sony.com4238c252018-10-19 06:43:47 +000013562018-10-18 Fujii Hironori <Hironori.Fujii@sony.com>
1357
1358 [Win][Clang] Do not give -Wall to clang-cl because it is treated as -Weverything
1359 https://bugs.webkit.org/show_bug.cgi?id=190514
1360
1361 Reviewed by Michael Catanzaro.
1362
1363 clang-cl maps /Wall and -Wall to -Weverything which reports tons
1364 of compilation warnings. Do not give -Wall option to clang-cl.
1365
1366 Clang processes -Wall and -Wextra options differently than GCC.
1367 Clang processes all warning options in left-to-right order, while
1368 GCC processes -Wall and -Wextra options first. In order to get the
1369 same effect in both compilers, -Wall and -Wextra should be
1370 speficied before all -Wno-* options.
1371
1372 * Source/cmake/WebKitCompilerFlags.cmake: Put -Wall and -Wextra
1373 options before all -Wno-* options.
1374 * Source/cmake/OptionsMSVC.cmake: Prepend /W4 option, instead of
1375 just replacing /W3 option.
1376
philn@webkit.org61d2e3a2018-10-16 08:47:39 +000013772018-10-16 Philippe Normand <pnormand@igalia.com>
1378
1379 Unreviewed, GTK bots build fix
1380
1381 * Source/cmake/OptionsGTK.cmake: Disable Sandbox support until the
1382 bots have all the needed dependencies installed.
1383
justin_fan@apple.comc21759c2018-10-16 04:57:47 +000013842018-10-15 Justin Fan <justin_fan@apple.com>
1385
1386 Add WebGPU 2018 feature flag and experimental feature flag
1387 https://bugs.webkit.org/show_bug.cgi?id=190509
1388
1389 Reviewed by Dean Jackson.
1390
1391 Update FeatureDefines for WebGPU -> WebMetal renaming, while preserving WebGPU
1392 references for 2018 WebGPU Sketch implementation.
1393
1394 * Source/cmake/OptionsMac.cmake:
1395 * Source/cmake/tools/vsprops/FeatureDefines.props:
1396 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1397
chris.reid@sony.comc6b327d2018-10-15 16:33:56 +000013982018-10-15 Christopher Reid <chris.reid@sony.com>
1399
1400 [Curl][WinCairo] Add Public Suffix support to WinCairo
1401 https://bugs.webkit.org/show_bug.cgi?id=183060
1402
1403 Reviewed by Alex Christensen.
1404
1405 * Source/cmake/FindLibPSL.cmake: Added.
1406 * Source/cmake/OptionsWin.cmake:
1407 * Source/cmake/OptionsWinCairo.cmake:
1408
mcatanzaro@igalia.com1a49b732018-10-15 15:10:27 +000014092018-10-15 Michael Catanzaro <mcatanzaro@igalia.com>
1410
1411 Add new files missing from previous commit.
1412
1413 * Source/cmake/FindLibseccomp.cmake: Added.
1414
mcatanzaro@igalia.com1f0e60d2018-10-15 15:02:59 +000014152018-10-15 Patrick Griffis <pgriffis@igalia.com>
1416
1417 [GTK][WPE] Implement subprocess sandboxing
1418 https://bugs.webkit.org/show_bug.cgi?id=188568
1419
1420 Reviewed by Michael Catanzaro.
1421
1422 Add ENABLE_BUBBLEWRAP_SANDBOX option for sandboxing.
1423
1424 * Source/cmake/FindLibseccomp.cmake: Added.
1425 * Source/cmake/OptionsGTK.cmake:
1426 * Source/cmake/WebKitFeatures.cmake:
1427
yusukesuzuki@slowstart.org57c69572018-10-15 13:51:37 +000014282018-10-14 Yusuke Suzuki <yusukesuzuki@slowstart.org>
1429
1430 [JSC] Remove Option::useAsyncIterator
1431 https://bugs.webkit.org/show_bug.cgi?id=190567
1432
1433 Reviewed by Saam Barati.
1434
1435 * Source/cmake/WebKitFeatures.cmake:
1436
justin_fan@apple.com947003f2018-10-09 01:37:30 +000014372018-10-08 Justin Fan <justin_fan@apple.com>
1438
1439 WebGPU: Rename old WebGPU prototype to WebMetal
1440 https://bugs.webkit.org/show_bug.cgi?id=190325
1441
1442 Reviewed by Dean Jackson.
1443
1444 * Source/cmake/WebKitFeatures.cmake:
1445
philn@webkit.org7055e622018-10-02 08:02:16 +000014462018-10-02 Philippe Normand <pnormand@igalia.com>
1447
1448 [GStreamer][MSE] Ubuntu LTS build broken since r236409
1449 https://bugs.webkit.org/show_bug.cgi?id=190036
1450
1451 Reviewed by Michael Catanzaro.
1452
1453 Interrupt the build if MSE is enabled but no supported (1.14)
1454 GStreamer version was found.
1455
1456 * Source/cmake/GStreamerChecks.cmake:
1457
ticaiolima@gmail.com8d5b4662018-10-01 11:56:20 +000014582018-10-01 Caio Lima <ticaiolima@gmail.com>
1459
1460 'HAVE_PTHREAD_MAIN_NP' macro redefined warning when building --jsc-only on macOS
1461 https://bugs.webkit.org/show_bug.cgi?id=190118
1462
1463 Reviewed by Yusuke Suzuki.
1464
1465 We define HAVE_PTHREAD_MAIN_NP in WTF/wtf/Platform.h when the OS is
1466 Darwin. In such case, we don't need to check symbols for
1467 pthread_main_np when generating build for this system.
1468
1469 * Source/cmake/OptionsCommon.cmake:
1470
commit-queue@webkit.org97be5f02018-09-29 01:00:37 +000014712018-09-28 Mike Gorse <mgorse@alum.wpi.edu>
1472
1473 cmake cannot run if python 2 isn't available
1474 https://bugs.webkit.org/show_bug.cgi?id=190075
1475
1476 Reviewed by Michael Catanzaro.
1477
1478 * Source/cmake/WebKitCommon.cmake: Set Python_ADDITIONAL_VERSIONS
1479 to 3, so that a python3 binary will be found.
1480
yusukesuzuki@slowstart.orge7a8d6c2018-09-28 22:32:34 +000014812018-09-28 Yusuke Suzuki <yusukesuzuki@slowstart.org>
1482
1483 [WTF] Make isMainThread more reliable
1484 https://bugs.webkit.org/show_bug.cgi?id=189880
1485
1486 Reviewed by Mark Lam.
1487
1488 * Source/cmake/OptionsCommon.cmake:
1489
yusukesuzuki@slowstart.org48bd0a02018-09-22 05:26:44 +000014902018-09-21 Yusuke Suzuki <yusukesuzuki@slowstart.org>
1491
1492 [JSC] Enable LLInt ASM interpreter on X64 and ARM64 in non JIT configuration
1493 https://bugs.webkit.org/show_bug.cgi?id=189778
1494
1495 Reviewed by Keith Miller.
1496
1497 ENABLE_SAMPLING_PROFILER does not depend on ENABLE_JIT now since it can be
1498 used with LLInt ASM interpreter.
1499
1500 * Source/cmake/WebKitFeatures.cmake:
1501
commit-queue@webkit.org4f3ea9b2018-09-21 16:20:05 +000015022018-09-21 Mike Gorse <mgorse@suse.com>
1503
1504 Build tools should work when the /usr/bin/python is python3
1505 https://bugs.webkit.org/show_bug.cgi?id=156674
1506
1507 Reviewed by Michael Catanzaro.
1508
1509 * Source/cmake/WebKitCommon.cmake: Allow python 3.
1510
carlosgc@webkit.orgc5823c42018-09-20 07:21:05 +000015112018-09-20 Carlos Garcia Campos <cgarcia@igalia.com>
1512
1513 Unreviewed. Update GTK+ library versions after r235362.
1514
1515 Project version number was updated without bumping the library versions too.
1516
1517 * Source/cmake/OptionsGTK.cmake:
1518
mitz@apple.com151e0752018-09-12 14:57:01 +000015192018-09-12 Dan Bernstein <mitz@apple.com>
1520
mitz@apple.coma396b002018-09-12 21:21:27 +00001521 Updated svn:ignore after r235381.
1522
1523 * .: Added LocalOverrides.xcconfig to svn:ignore.
1524
15252018-09-12 Dan Bernstein <mitz@apple.com>
1526
mitz@apple.com151e0752018-09-12 14:57:01 +00001527 Removed a couple of empty directories left behind after r235892.
1528
1529 * WPEWebCore: Removed.
1530 * downstream-WebCore: Removed.
1531
timothy_horton@apple.com50ec79a2018-09-10 23:24:45 +000015322018-09-10 Tim Horton <timothy_horton@apple.com>
1533
1534 Make it easier to build for SDK_VARIANT=iosmac
1535 https://bugs.webkit.org/show_bug.cgi?id=189488
1536 <rdar://problem/38254840>
1537
1538 Reviewed by Wenson Hsieh.
1539
1540 * Makefile:
1541 * Makefile.shared:
1542 * Source/Makefile:
1543 Set a variety of build flags (disable libwebrtc, tools, and set
1544 SDK_VARIANT and WK_ALTERNATE_FRAMEWORKS_DIR).
1545
don.olmstead@sony.com00602f62018-08-30 23:28:10 +000015462018-08-30 Don Olmstead <don.olmstead@sony.com>
1547
1548 [CMake] Replace AVFoundationSupport.py using CMake
1549 https://bugs.webkit.org/show_bug.cgi?id=182891
1550
1551 Reviewed by Per Arne Vollan.
1552
1553 Adds CMake checks for AVFoundation support replacing the functionality
1554 of AVFoundationSupport.py.
1555
1556 CMake is used to detect the symbols expected with the HAVE_* checks for
1557 AVFoundation support. This involves creating source files that will be
1558 built which verifies the presence of symbols. For Apple frameworks it
1559 is customary to include the main framework file which includes the
1560 other associated headers.
1561
1562 The check for HAVE_AVCFPLAYERITEM_CALLBACK_VERSION_2 involves looking
1563 for an enumeration which a symbol check cannot detect. Instead a small
1564 program is used which will compile and link when the version 2
1565 enumeration is present.
1566
1567 * Source/cmake/OptionsAppleWin.cmake:
1568 * Source/cmake/OptionsWin.cmake:
1569 * Source/cmake/WebKitCommon.cmake:
1570 * Source/cmake/WebKitFeatures.cmake:
1571
don.olmstead@sony.com42ddec72018-08-29 03:58:32 +000015722018-08-28 Don Olmstead <don.olmstead@sony.com>
1573
1574 [CMake] Use CMake's FindFreetype
1575 https://bugs.webkit.org/show_bug.cgi?id=189071
1576
1577 Reviewed by Michael Catanzaro.
1578
1579 Use the builtin CMake functionality for finding Freetype.
1580
1581 * Source/cmake/FindFreetype2.cmake: Removed.
1582 * Source/cmake/OptionsGTK.cmake:
1583 * Source/cmake/OptionsWPE.cmake:
1584
akeerthi@apple.com8d20acf2018-08-27 21:48:13 +000015852018-08-27 Aditya Keerthi <akeerthi@apple.com>
1586
1587 Consolidate ENABLE_INPUT_TYPE_COLOR and ENABLE_INPUT_TYPE_COLOR_POPOVER
1588 https://bugs.webkit.org/show_bug.cgi?id=188931
1589
1590 Reviewed by Wenson Hsieh.
1591
1592 * Source/cmake/OptionsMac.cmake: Removed ENABLE_INPUT_TYPE_COLOR_POPOVER.
1593 * Source/cmake/WebKitFeatures.cmake: Removed ENABLE_INPUT_TYPE_COLOR_POPOVER.
1594
krollin@apple.com2ba23ff2018-08-27 17:16:17 +000015952018-08-27 Keith Rollin <krollin@apple.com>
1596
1597 Build system support for LTO
1598 https://bugs.webkit.org/show_bug.cgi?id=187785
1599 <rdar://problem/42353132>
1600
1601 Reviewed by Dan Bernstein.
1602
1603 Add support for building WebKit with LTO (Link Time Optimization) on
1604 macOS and iOS. Both variations are supported: "full" (which performs
1605 all the optimizations it can regardless of the cost) and "thin" (which
1606 sacrifices some optimizations in order to recover build time and
1607 memory usage).
1608
1609 By default, LTO is disabled for Debug and Release builds, but is
1610 enabled for Production builds. For Debug and Release builds, LTO is
1611 controlled as follows:
1612
1613 - When using `make` from the command line, include
1614 WK_LTO_MODE={none,thin,full}. For example, `make WK_LTO_MODE=full
1615 release`. As when specifying debug/release, the LTO configuration
1616 information is written to the WebKitBuild directory and is used as
1617 the default on the next build if a new setting is not specified.
1618
1619 - When using `build-webkit`, include --lto-mode={none,thin,full} on
1620 the command line. For example, `build-webkit --lto-mode=full ...`.
1621
1622 - When using Xcode, create a configuration file called
1623 LocalOverrides.xcconfig at the root level of your WebKit checkout
1624 directory. Include within it a line that says:
1625
1626 WK_LTO_MODE={none,thin,full}
1627
1628 For example:
1629
1630 WK_LTO_MODE=full
1631
1632 Note that LocalOverrides.xcconfig is included in the .gitignore file,
1633 so you won't accidentally check your changes into source control.
1634
1635 Enabling LTO can greatly increase build times, especially when using
1636 "full" LTO with 32GB or RAM or less. Following is a table of full
1637 build times for a Release build on a fully decked-out 2017 iMac Pro:
1638
1639 LTO macOS iOS
1640 ----- ------- -------
1641 None: 9m 11s 14m 11s
1642 Thin: 11m 44s 17m 30s
1643 Full: 21m 39s 28m 56s
1644
1645 Incremental times are affected even more greatly. The actual
1646 optimization and compilation of LLVM bitcode is moved to the link
1647 phase, meaning that the link phase, which previously took only
1648 seconds, can now take many minutes. It's for this reason that LTO is
1649 not enabled in Debug and Release builds, since incremental builds are
1650 an integral part of those configurations. However, using the
1651 mechanisms described above, developers can perform optional LTO builds
1652 if needed to track down build or runtime issues in that configuration.
1653
1654 * .gitignore: Include LocalOverrides.xcconfig.
1655 * Makefile.shared: Add support for WK_LTO_MODE on the command line.
1656
mcatanzaro@igalia.com5a28ebe2018-08-27 14:31:23 +000016572018-08-27 Michael Catanzaro <mcatanzaro@igalia.com>
1658
1659 Unreviewed, bump WPE/GTK version numbers
1660
1661 We have a pkg-config dependency on 2.21.92 but trunk is stuck on 2.21.5. So bump the version
1662 number to 2.23.0. It seems like a good version number to use until the next real release
1663 (2.23.1).
1664
1665 * Source/cmake/OptionsGTK.cmake:
1666 * Source/cmake/OptionsWPE.cmake:
1667
mcatanzaro@igalia.com531c3022018-08-27 02:54:13 +000016682018-08-26 Michael Catanzaro <mcatanzaro@igalia.com>
1669
1670 [CMake] Remove stale comment from WebKitFeatures.cmake
1671 https://bugs.webkit.org/show_bug.cgi?id=188918
1672
1673 Reviewed by Fujii Hironori.
1674
1675 This comment at the top of WebKitFeatures.cmake is no longer accurate because feature defaults are no longer defined in FeatureList.pm (thank goodness!)
1676
1677 * Source/cmake/WebKitFeatures.cmake:
1678
don.olmstead@sony.com72cf7862018-08-23 20:08:03 +000016792018-08-23 Don Olmstead <don.olmstead@sony.com>
1680
don.olmstead@sony.com263baf02018-08-23 22:53:05 +00001681 [CMake] Have checks are not getting set inside CMake properly
1682 https://bugs.webkit.org/show_bug.cgi?id=188901
1683
1684 Reviewed by Michael Catanzaro.
1685
1686 Make sure the variable's value is sent to SET_AND_EXPOSE_TO_BUILD
1687 within the WEBKIT_CHECK_HAVE_* macros.
1688
1689 * Source/cmake/WebKitFeatures.cmake:
1690
16912018-08-23 Don Olmstead <don.olmstead@sony.com>
1692
don.olmstead@sony.com72cf7862018-08-23 20:08:03 +00001693 [CMake] Add HAVE_MALLOC_TRIM definition
1694 https://bugs.webkit.org/show_bug.cgi?id=188897
1695
1696 Reviewed by Konstantin Tokarev.
1697
1698 Add CMake check for malloc_trim.
1699
1700 * Source/cmake/OptionsCommon.cmake:
1701
ross.kirsling@sony.come1ce4ac2018-08-22 22:23:51 +000017022018-08-22 Ross Kirsling <ross.kirsling@sony.com>
1703
1704 [MSVC] Stop disabling /O2 features.
1705 https://bugs.webkit.org/show_bug.cgi?id=188811
1706
1707 Reviewed by Per Arne Vollan.
1708
1709 * Source/cmake/OptionsMSVC.cmake:
1710 Don't disable /GF (string pooling) or /Gy (function-level linking).
1711
berto@igalia.comac740fb2018-08-22 20:27:22 +000017122018-08-22 Alberto Garcia <berto@igalia.com>
1713
1714 Don't use WTF_CPU_MIPS when building for mips64
1715 https://bugs.webkit.org/show_bug.cgi?id=188858
1716
1717 Reviewed by Michael Catanzaro.
1718
1719 * CMakeLists.txt: Use WTF_CPU_MIPS64 for this architecture.
1720
zandobersek@gmail.com645bd3a2018-08-22 12:14:14 +000017212018-08-22 Zan Dobersek <zdobersek@igalia.com>
1722
1723 [CoordGraphics] Switch to Nicosia::CompositionLayer state tracking
1724 https://bugs.webkit.org/show_bug.cgi?id=188693
1725
1726 Reviewed by Carlos Garcia Campos.
1727
1728 * Source/cmake/OptionsGTK.cmake: Enable USE_NICOSIA alongside
1729 USE_COORDINATED_GRAPHICS and USE_COORDINATED_GRAPHICS_THREADED.
1730 * Source/cmake/OptionsWPE.cmake: Ditto.
1731
aperez@igalia.com74ed6462018-08-21 14:25:44 +000017322018-08-21 Adrian Perez de Castro <aperez@igalia.com>
1733
aperez@igalia.com7cd06cd2018-08-21 16:33:51 +00001734 Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.91 release.
1735
1736 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
1737
17382018-08-21 Adrian Perez de Castro <aperez@igalia.com>
1739
aperez@igalia.com74ed6462018-08-21 14:25:44 +00001740 [WPE] Update to use libwpe-1.0.0 and WPEBackend-fdo-1.0.0
1741 https://bugs.webkit.org/show_bug.cgi?id=188782
1742
1743 Reviewed by Michael Catanzaro.
1744
1745 Make the build depend on wpe-0.2, and change the Flatpak and JHBuild development
1746 environments to use version 1.0.0 of libwpe and WPEBackend-fdo.
1747
1748 * Source/cmake/FindWPE.cmake: Renamed from Source/cmake/FindWPEBackend.cmake and changed
1749 to check for libwpe-0.2.
1750 * Source/cmake/OptionsWPE.cmake: Adapt to the rename to FindWPE.cmake.
1751
mcatanzaro@igalia.comffc73682018-08-18 15:00:12 +000017522018-08-18 Michael Catanzaro <mcatanzaro@igalia.com>
1753
1754 Adjust CMAKE_MODULE_LINKER_FLAGS for asan
1755 https://bugs.webkit.org/show_bug.cgi?id=188699
1756
1757 Reviewed by Konstantin Tokarev.
1758
1759 * Source/cmake/WebKitCompilerFlags.cmake:
1760
commit-queue@webkit.orga06b2232018-07-30 13:06:24 +000017612018-07-30 Thibault Saunier <tsaunier@igalia.com>
1762
1763 [GStreamer] Make codecparsers optionnal
1764 https://bugs.webkit.org/show_bug.cgi?id=188010
1765
1766 And avoid building libWebRTC if it won't be used. While there is no other
1767 WebRTC backend, it makes no sense to expose an option.
1768
1769 Error out when WEBRTC or MEDIA_STREAM is enabled but GStreamer < 1.10
1770
1771 Reviewed by Alejandro G. Castro.
1772
1773 * Source/cmake/GStreamerChecks.cmake:
1774 * Source/cmake/OptionsGTK.cmake:
1775 * Source/cmake/OptionsWPE.cmake:
1776
commit-queue@webkit.org19b68ed2018-07-27 05:06:02 +000017772018-07-26 Andy VanWagoner <andy@vanwagoner.family>
1778
1779 [INTL] Remove INTL sub-feature compile flags
1780 https://bugs.webkit.org/show_bug.cgi?id=188081
1781
1782 Reviewed by Michael Catanzaro.
1783
1784 * Source/cmake/OptionsJSCOnly.cmake:
1785 * Source/cmake/WebKitFeatures.cmake:
1786
commit-queue@webkit.org5dd4d372018-07-24 08:24:35 +000017872018-07-24 Thibault Saunier <tsaunier@igalia.com>
1788
1789 [WPE][GTK] Implement PeerConnection API on top of libwebrtc
1790 https://bugs.webkit.org/show_bug.cgi?id=186932
1791
1792 Reviewed by Philippe Normand.
1793
1794 * Source/cmake/FindGStreamer.cmake: Look for gstreamer-codecparser as it needed for GStreamerVideoDecoder
1795
carlosgc@webkit.orgdc5795c2018-07-20 07:47:57 +000017962018-07-20 Carlos Garcia Campos <cgarcia@igalia.com>
1797
1798 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.5 release.
1799
1800 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1801
stephan.szabo@sony.com1b380e02018-07-19 23:11:24 +000018022018-07-19 Stephan Szabo <stephan.szabo@sony.com>
1803
1804 [WinCairo] Support DEVELOPER_MODE for allowing inspection of web inspector
1805 https://bugs.webkit.org/show_bug.cgi?id=187786
1806
1807 Reviewed by Fujii Hironori.
1808
1809 * Source/cmake/OptionsWinCairo.cmake: Add ENABLE_DEVELOPER_MODE
1810 to build when DEVELOPER_MODE is turned on at cmake time.
1811
mcatanzaro@igalia.com6f9a34a2018-07-18 14:43:50 +000018122018-07-18 Michael Catanzaro <mcatanzaro@igalia.com>
1813
1814 Switch CMake ports back to C++ 14
1815 https://bugs.webkit.org/show_bug.cgi?id=187744
1816
1817 Reviewed by Ryosuke Niwa.
1818
1819 The XCode build is still not using C++ 17, it's been several months since CMake ports
1820 switched, everything builds fine without changes if we switch back, and there have been some
1821 unfixed problems. Let's go back to C++ 14 for now. We can switch back to C++ 17 whenever we
1822 are ready to switch over XCode at the same time, to ensure we don't wind up with divergent
1823 behavior for std::optional.
1824
1825 * Source/cmake/WebKitCompilerFlags.cmake:
1826
rniwa@webkit.org058d87a2018-07-17 03:38:25 +000018272018-07-16 Ryosuke Niwa <rniwa@webkit.org>
1828
1829 Update ReadMe.md line 68
1830 https://bugs.webkit.org/show_bug.cgi?id=187533
1831
1832 Reviewed by Wenson Hsieh.
1833
1834 * ReadMe.md:
1835
aperez@igalia.com50b8e872018-07-03 01:07:19 +000018362018-07-02 Adrian Perez de Castro <aperez@igalia.com>
1837
1838 [CMake] Use JOB_POOLS to avoid memory-hungry linker processes running at the same time
1839 https://bugs.webkit.org/show_bug.cgi?id=187254
1840
1841 Reviewed by Michael Catanzaro.
1842
1843 * Source/cmake/WebKitCommon.cmake: Set the maximum number of
1844 concurrent link processes using job pools (four for release builds,
1845 two otherwise) to avoid running out of memory during builds.
1846
rniwa@webkit.org53294a02018-07-02 23:45:22 +000018472018-07-02 Ryosuke Niwa <rniwa@webkit.org>
1848
1849 Repository fix after r233427 and r233443.
1850
1851 * jstests: Removed.
1852
abarth@webkit.org00bbb4c2018-07-01 06:52:34 +000018532018-06-30 Adam Barth <abarth@webkit.org>
1854
1855 Port JavaScriptCore to OS(FUCHSIA)
1856 https://bugs.webkit.org/show_bug.cgi?id=187223
1857
1858 Reviewed by Daniel Bates.
1859
1860 * Source/cmake/OptionsJSCOnly.cmake: Add back ICU.
1861
ross.kirsling@sony.com8527b3c2018-06-29 17:55:24 +000018622018-06-29 Ross Kirsling <ross.kirsling@sony.com>
1863
1864 [JSCOnly] Restore Windows build.
1865 https://bugs.webkit.org/show_bug.cgi?id=187127
1866
1867 Reviewed by Michael Catanzaro.
1868
1869 * Source/cmake/OptionsJSCOnly.cmake:
1870 Don't forget to set -DUCHAR_TYPE=wchar_t for ICU on Windows.
1871 Use bin64/lib64 on Windows (for consistency with full WebKit build).
1872
abarth@webkit.org5a66fae2018-06-28 08:02:29 +000018732018-06-28 Adam Barth <abarth@webkit.org>
1874
1875 Switch OS(FUCHSIA) to using JSCOnly
1876 https://bugs.webkit.org/show_bug.cgi?id=187133
1877
1878 Reviewed by Yusuke Suzuki.
1879
1880 Rather than creating a Fuchsia port, OS(FUCHSIA) now uses the JSCOnly
1881 port.
1882
1883 * CMakeLists.txt: Set the WTF_OS_FUCHSIA flag
1884 * Source/cmake/OptionsFuchsia.cmake: Removed.
1885 * Source/cmake/OptionsJSCOnly.cmake: Temporarily disable ICU for
1886 OS(FUCHSIA). We'll get ICU wired in, but I'd like to work through the
1887 other compile errors first.
1888
abarth@webkit.org2223eef2018-06-28 01:04:54 +000018892018-06-27 Adam Barth <abarth@webkit.org>
1890
1891 Add Fuchsia support to build-jsc
1892 https://bugs.webkit.org/show_bug.cgi?id=187086
1893
1894 Reviewed by Yusuke Suzuki.
1895
1896 Add Fuchsia port to cmake build system. After this patch, the build
1897 errors out due to a missing sysroot.
1898
1899 * CMakeLists.txt:
1900 * Source/cmake/OptionsFuchsia.cmake: Added.
1901
zandobersek@gmail.com3d3195b2018-06-18 10:45:59 +000019022018-06-18 Zan Dobersek <zdobersek@igalia.com>
1903
1904 Unreviewed GTK+ gardening. Updating the WPT expectations by removing
1905 failure expectations for 2dcontext tests covering CSS HSL/HSLA color
1906 parsing and createImageBitmap() API that are nowadays passing.
1907
1908 * WebPlatformTests/gtk/TestExpectations.json:
1909
mcatanzaro@igalia.com97a923b2018-06-17 19:16:59 +000019102018-06-17 Michael Catanzaro <mcatanzaro@igalia.com>
1911
1912 [CMake] Automatically disable JIT and enable USE_SYSTEM_MALLOC on unfamiliar architectures
1913 https://bugs.webkit.org/show_bug.cgi?id=186722
1914
1915 Reviewed by Darin Adler.
1916
1917 We know that the JSC JIT and bmalloc both work on only a limited set of architectures. In
1918 Fedora, we have to manually disable these when building for s390x, ppc64, and ppc64le. But
1919 it's really easy to do the right thing automatically, so we might as well.
1920
1921 * Source/cmake/WebKitFeatures.cmake:
1922
commit-queue@webkit.org93e4f302018-06-13 18:22:40 +000019232018-06-13 Thibault Saunier <tsaunier@igalia.com>
1924
1925 [WPE] Build getUserMedia support
1926 https://bugs.webkit.org/show_bug.cgi?id=186547
1927
1928 Reviewed by Alejandro G. Castro.
1929
1930 * Source/cmake/OptionsWPE.cmake: Build MediaStream support
1931
philn@webkit.org9a35de62018-06-12 12:07:16 +000019322018-06-12 Philippe Normand <pnormand@igalia.com>
1933
1934 [GStreamer] Bump required version to 1.8.3
1935 https://bugs.webkit.org/show_bug.cgi?id=186558
1936
1937 Reviewed by Xabier Rodriguez-Calvar.
1938
1939 * Source/cmake/GStreamerChecks.cmake: Bump to 1.8.3 which is the
1940 version shipped in the current Ubuntu LTS we support (16.04).
1941
zandobersek@gmail.coma98a5cc2018-06-12 07:55:42 +000019422018-06-12 Zan Dobersek <zdobersek@igalia.com>
1943
1944 Add run-web-platform-tests script
1945 https://bugs.webkit.org/show_bug.cgi?id=183356
1946
1947 Reviewed by Carlos Alberto Lopez Perez.
1948
1949 Store port-specific test expectations and test manifest files for the
1950 web-platform-tests test runs under the top-level WebPlatformTests
1951 directory.
1952
1953 TestExpectations.json file lists all the failing or disabled tests
1954 or subtests that are to be expected in the test run. This information is
1955 parsed in the run-web-platform-tests script and used to build
1956 test-specific metadata files (ending with .ini) inside a temporary
1957 directory that is then used during the test run. JSON format is used to
1958 follow the WebDriver test suite in how it manages expectations, and to
1959 avoid having to manually manage .ini files for every deviant test case.
1960
1961 TestManifest.ini file is used to fine-tune which tests are to be enabled
1962 by default. For the GTK+ port, we currently disable all tests by default
1963 but then specifically enable tests under the 2dcontext and WebCryptoAPI
1964 directories. This will allow for gradual enabling of further tests.
1965
1966 * WebPlatformTests/gtk/TestExpectations.json: Added.
1967 * WebPlatformTests/gtk/TestManifest.ini: Added.
1968
carlosgc@webkit.org04fd6862018-06-12 06:58:58 +000019692018-06-11 Carlos Garcia Campos <cgarcia@igalia.com>
1970
1971 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.4 release.
1972
1973 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1974
msaboff@apple.comd9980392018-06-11 16:39:49 +000019752018-06-11 Michael Saboff <msaboff@apple.com>
1976
1977 JavaScriptCore: Disable 32-bit JIT on Windows
1978 https://bugs.webkit.org/show_bug.cgi?id=185989
1979
1980 Reviewed by Mark Lam.
1981
1982 * Source/cmake/OptionsWin.cmake:
1983
carlosgc@webkit.org2c873db2018-06-11 06:43:14 +000019842018-06-10 Carlos Garcia Campos <cgarcia@igalia.com>
1985
1986 [WPE] Add a MiniBrowser and use it to run WebDriver tests
1987 https://bugs.webkit.org/show_bug.cgi?id=186345
1988
1989 Reviewed by Žan Doberšek.
1990
1991 Add an option to enable building the MiniBrowser.
1992
1993 * Source/cmake/FindWaylandProtocols.cmake: Added.
1994 * Source/cmake/OptionsWPE.cmake:
1995
mitz@apple.comd37825c2018-06-07 03:08:44 +000019962018-06-06 Dan Bernstein <mitz@apple.com>
1997
mitz@apple.comb0de78e2018-06-07 05:09:23 +00001998 [Xcode] Opt out of the New Build System
1999 https://bugs.webkit.org/show_bug.cgi?id=186380
2000
2001 Reviewed by Alexey Proskuryakov.
2002
2003 * WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: Use the Legacy Build System.
2004
20052018-06-06 Dan Bernstein <mitz@apple.com>
2006
mitz@apple.comd37825c2018-06-07 03:08:44 +00002007 Check in a file created by the Xcode 10 beta.
2008
2009 * WebKit.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: Added.
2010
carlosgc@webkit.org6c3de5b2018-05-28 10:56:08 +000020112018-05-28 Carlos Garcia Campos <cgarcia@igalia.com>
2012
2013 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.3 release.
2014
2015 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2016
aperez@igalia.comb549b152018-05-25 19:14:35 +000020172018-05-25 Adrian Perez de Castro <aperez@igalia.com>
2018
2019 Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.2 release.
2020
2021 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
2022
berto@igalia.com130a6c62018-05-22 15:54:48 +000020232018-05-22 Alberto Garcia <berto@igalia.com>
2024
2025 [CMake] Properly detect compiler flags, needed libs, and fallbacks for usage of 64-bit atomic operations
2026 https://bugs.webkit.org/show_bug.cgi?id=182622
2027 <rdar://problem/40292317>
2028
2029 Reviewed by Michael Catanzaro.
2030
2031 * Source/cmake/WebKitCompilerFlags.cmake:
2032 Move the test to detect whether we need to link against libatomic
2033 to a common CMake file so it can be used from both JavaScriptCore
2034 and WebKit.
2035
mcatanzaro@igalia.com36e22032018-05-22 13:20:03 +000020362018-05-22 Michael Catanzaro <mcatanzaro@igalia.com>
2037
2038 Unreviewed, rolling out r231843.
2039
2040 Broke cross build
2041
2042 Reverted changeset:
2043
2044 "[CMake] Properly detect compiler flags, needed libs, and
2045 fallbacks for usage of 64-bit atomic operations"
2046 https://bugs.webkit.org/show_bug.cgi?id=182622
2047 https://trac.webkit.org/changeset/231843
2048
Hironori.Fujii@sony.comb5a3cdb2018-05-22 00:03:20 +000020492018-05-21 Fujii Hironori <Hironori.Fujii@sony.com>
2050
2051 [WinCairo] Enable WebKit build by default
2052 https://bugs.webkit.org/show_bug.cgi?id=185141
2053
2054 Reviewed by Per Arne Vollan.
2055
2056 * Source/cmake/OptionsWin.cmake: Disable
2057 ENABLE_NETSCAPE_PLUGIN_API unconditionally for WinCairo port
2058 because it builds both WK1 and WK2.
2059 * Source/cmake/OptionsWinCairo.cmake: Turn ENABLE_WEBKIT on by default.
2060 Remove BUILDING_WIN_CAIRO_WEBKIT macro.
2061
carlosgc@webkit.org6c81ffa2018-05-21 07:58:14 +000020622018-05-21 Carlos Garcia Campos <cgarcia@igalia.com>
2063
2064 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.2 release.
2065
2066 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2067
clopez@igalia.com70a99952018-05-17 19:30:46 +000020682018-05-17 Carlos Alberto Lopez Perez <clopez@igalia.com>
2069
2070 [WPE] Implement and enable FULLSCREEN_API
2071 https://bugs.webkit.org/show_bug.cgi?id=185676
2072
2073 Reviewed by Žan Doberšek.
2074
2075 Remove the CMake option to disable this option for WPE.
2076 This feature gets enabled now via Source/cmake/WebKitFeatures.cmake
2077
2078 * Source/cmake/OptionsWPE.cmake:
2079
don.olmstead@sony.com5b8949c2018-05-17 02:54:14 +000020802018-05-16 Don Olmstead <don.olmstead@sony.com>
2081
2082 [WinCairo] Update WinCairoRequirements
2083 https://bugs.webkit.org/show_bug.cgi?id=185700
2084
2085 Reviewed by Per Arne Vollan.
2086
2087 * Source/cmake/OptionsWinCairo.cmake:
2088
commit-queue@webkit.org3b45a242018-05-16 20:38:32 +000020892018-05-16 Andy VanWagoner <andy@vanwagoner.family>
2090
2091 Add support for Intl NumberFormat formatToParts
2092 https://bugs.webkit.org/show_bug.cgi?id=185375
2093
2094 Reviewed by Yusuke Suzuki.
2095
2096 Add flag for NumberFormat formatToParts.
2097
2098 * Source/cmake/OptionsJSCOnly.cmake:
2099 * Source/cmake/WebKitFeatures.cmake:
2100
utatane.tea@gmail.com9fa3c7b2018-05-16 17:50:38 +000021012018-05-14 Yusuke Suzuki <utatane.tea@gmail.com>
2102
2103 [Win] Use C++17 in MSVC
2104 https://bugs.webkit.org/show_bug.cgi?id=185232
2105
2106 Reviewed by Alex Christensen.
2107
2108 Use /std:c++17 option.
2109
2110 * Source/cmake/OptionsMSVC.cmake:
2111
berto@igalia.comb378e872018-05-16 13:33:50 +000021122018-05-16 Alberto Garcia <berto@igalia.com>
2113
2114 [CMake] Properly detect compiler flags, needed libs, and fallbacks for usage of 64-bit atomic operations
2115 https://bugs.webkit.org/show_bug.cgi?id=182622
2116
2117 Reviewed by Michael Catanzaro.
2118
2119 * Source/cmake/OptionsGTK.cmake:
2120 * Source/cmake/OptionsJSCOnly.cmake:
2121 * Source/cmake/OptionsWPE.cmake:
2122 Enable THREADS_PREFER_PTHREAD_FLAG. This uses -pthread instead of
2123 -lpthread, fixing the 64-bit RISC-V build of the GTK+ port due to
2124 missing atomic primitives.
2125
2126 * Source/cmake/WebKitCompilerFlags.cmake:
2127 Move the test to detect whether we need to link against libatomic
2128 to a common CMake file so it can be used from both JavaScriptCore
2129 and WebKit.
2130
zandobersek@gmail.com4cae92f2018-05-14 12:52:25 +000021312018-05-14 Zan Dobersek <zdobersek@igalia.com>
2132
2133 [GTK] REGRESSION(r231170) Build broken with Clang 5.0
2134 https://bugs.webkit.org/show_bug.cgi?id=185198
2135
2136 Reviewed by Michael Catanzaro.
2137
2138 * Source/cmake/WebKitCompilerFlags.cmake: Fall back to the -std=c++1z
2139 compiler flag if -std=c++17 is not supported. If that flag is not
2140 supported either, bail with an error message.
2141
commit-queue@webkit.org3062a4c2018-05-10 06:44:00 +000021422018-05-09 Jan Alexander Steffens <jan.steffens@gmail.com>
2143
2144 [GTK] gtk-doc installation subdir duplicated
2145 https://bugs.webkit.org/show_bug.cgi?id=185468
2146
2147 Reviewed by Carlos Garcia Campos.
2148
2149 The GTK docs are installed into a duplicated subdir,
2150 e.g. /usr/share/doc/gtk-doc/html/webkit2gtk-4.0/webkit2gtk-4.0.
2151
2152 * Source/PlatformGTK.cmake:
2153
mcatanzaro@igalia.comee974c22018-05-09 16:26:17 +000021542018-05-09 Michael Catanzaro <mcatanzaro@igalia.com>
2155
mcatanzaro@igalia.com16767e12018-05-09 16:43:08 +00002156 Unreviewed. Bump WPE soname for good measure.
2157
2158 * Source/cmake/OptionsWPE.cmake:
2159
21602018-05-09 Michael Catanzaro <mcatanzaro@igalia.com>
2161
mcatanzaro@igalia.comee974c22018-05-09 16:26:17 +00002162 Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.1 release.
2163
2164 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
2165
utatane.tea@gmail.com210e9eb2018-05-09 11:42:09 +000021662018-05-06 Yusuke Suzuki <utatane.tea@gmail.com>
2167
2168 [JSC][GTK][JSCONLY] Use capstone disassembler
2169 https://bugs.webkit.org/show_bug.cgi?id=185283
2170
2171 Reviewed by Michael Catanzaro.
2172
2173 * Source/CMakeLists.txt:
2174 * Source/cmake/FindLLVM.cmake: Removed.
2175 * Source/cmake/OptionsCommon.cmake:
2176 * Source/cmake/OptionsGTK.cmake:
2177 * Source/cmake/OptionsJSCOnly.cmake:
2178 * Source/cmake/OptionsWPE.cmake:
2179
commit-queue@webkit.org830b1d52018-05-09 00:04:10 +000021802018-05-08 Valerie R Young <valerie@bocoup.com>
2181
2182 test262/Runner.pm: create results dir for results of test262 run
2183 https://bugs.webkit.org/show_bug.cgi?id=185392
2184
2185 Reviewed by Michael Saboff.
2186
2187 Remove reference to no longer existing files.
2188
2189 * .gitignore:
2190
utatane.tea@gmail.com1249d2e2018-05-08 04:19:22 +000021912018-05-07 Yusuke Suzuki <utatane.tea@gmail.com>
2192
2193 [JSCOnly] Enable Intl.PluralRules
2194 https://bugs.webkit.org/show_bug.cgi?id=185359
2195
2196 Reviewed by Daniel Bates.
2197
2198 Enable Intl.PluralRules because JSCOnly port enables features aggressively.
2199
2200 * Source/cmake/OptionsJSCOnly.cmake:
2201
don.olmstead@sony.com1409fe32018-05-07 13:36:14 +000022022018-05-07 Don Olmstead <don.olmstead@sony.com>
2203
2204 [WinCairo] Disable plugin api when building modern WebKit
2205 https://bugs.webkit.org/show_bug.cgi?id=185312
2206
2207 Reviewed by Michael Catanzaro.
2208
2209 * Source/cmake/OptionsWin.cmake:
2210
commit-queue@webkit.org792609e2018-05-02 19:08:33 +000022112018-05-02 Valerie R Young <valerie@bocoup.com>
2212
2213 test262/Runner.pm: save summary to file
2214 https://bugs.webkit.org/show_bug.cgi?id=185200
2215
2216 Reviewed by Michael Saboff.
2217
2218 * .gitignore:
2219
commit-queue@webkit.orgdc08e0e2018-05-01 23:38:40 +000022202018-05-01 Leo Balter <leonardo.balter@gmail.com>
2221
2222 Auto save the results for Test262
2223 https://bugs.webkit.org/show_bug.cgi?id=184926
2224
2225 Reviewed by Michael Saboff.
2226
gskachkov@gmail.come27fd1c2018-05-01 08:47:56 +000022272018-05-01 Oleksandr Skachkov <gskachkov@gmail.com>
2228
2229 WebAssembly: add support for stream APIs - JavaScript API
2230 https://bugs.webkit.org/show_bug.cgi?id=183442
2231
2232 Reviewed by Yusuke Suzuki and JF Bastien.
2233
2234 * Source/cmake/WebKitFeatures.cmake:
2235
jfbastien@apple.com799dadf2018-04-30 21:17:59 +000022362018-04-30 JF Bastien <jfbastien@apple.com>
2237
2238 Use some C++17 features
2239 https://bugs.webkit.org/show_bug.cgi?id=185135
2240
2241 Reviewed by Alex Christensen.
2242
2243 As discussed here [0] let's move WebKit to a subset of C++17. We
2244 now require GCC 6 [1] which means that, according to [2] we can
2245 use the following C++17 language features (I removed some
2246 uninteresting ones):
2247
2248 - New auto rules for direct-list-initialization
2249 - static_assert with no message
2250 - typename in a template template parameter
2251 - Nested namespace definition
2252 - Attributes for namespaces and enumerators
2253 - u8 character literals
2254 - Allow constant evaluation for all non-type template arguments
2255 - Fold Expressions
2256 - Unary fold expressions and empty parameter packs
2257 - __has_include in preprocessor conditional
2258 - Differing begin and end types in range-based for
2259 - Improving std::pair and std::tuple
2260
2261 Consult the Tony Tables [3] to see before / after examples.
2262
2263 Of course we can use any library feature if we're willing to
2264 import them to WTF (and they don't require language support).
2265
2266
2267 [0]: https://lists.webkit.org/pipermail/webkit-dev/2018-March/029922.html
2268 [1]: https://trac.webkit.org/changeset/231152/webkit
2269 [2]: https://en.cppreference.com/w/cpp/compiler_support
2270 [3]: https://github.com/tvaneerd/cpp17_in_TTs/blob/master/ALL_IN_ONE.md
2271
2272 * Source/cmake/WebKitCompilerFlags.cmake:
2273
mcatanzaro@igalia.com75aa1642018-04-29 17:29:56 +000022742018-04-29 Michael Catanzaro <mcatanzaro@igalia.com>
2275
2276 [CMake] Require GCC 6
2277 https://bugs.webkit.org/show_bug.cgi?id=184985
2278
2279 Reviewed by Alex Christensen.
2280
2281 Require it.
2282
2283 * CMakeLists.txt:
2284
dbates@webkit.orgaa6ce892018-04-26 18:46:42 +000022852018-04-26 Daniel Bates <dabates@apple.com>
2286
2287 ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
2288 https://bugs.webkit.org/show_bug.cgi?id=184161
2289 <rdar://problem/39051645>
2290
2291 Reviewed by Dan Bernstein.
2292
2293 * ManualTests/DragInlinePDFImageDocument.html: Added.
2294 * ManualTests/resources/simple.pdf: Added.
2295
commit-queue@webkit.orgf6fdb032018-04-26 16:37:26 +000022962018-04-26 Andy VanWagoner <thetalecrafter@gmail.com>
2297
2298 [INTL] Implement Intl.PluralRules
2299 https://bugs.webkit.org/show_bug.cgi?id=184312
2300
2301 Reviewed by JF Bastien.
2302
2303 Added Intl.PluralRules feature flag.
2304
2305 * Source/cmake/WebKitFeatures.cmake:
2306
zandobersek@gmail.com1aff8bb2018-04-26 07:54:19 +000023072018-04-26 Zan Dobersek <zdobersek@igalia.com>
2308
2309 [GTK][WPE] Initial ASYNC_SCROLLING support
2310 https://bugs.webkit.org/show_bug.cgi?id=184961
2311
2312 Reviewed by Carlos Garcia Campos.
2313
2314 * Source/cmake/OptionsGTK.cmake: Enable ASYNC_SCROLLING as a private option.
2315 * Source/cmake/OptionsWPE.cmake: Ditto.
2316
mcatanzaro@igalia.com382399f2018-04-25 16:23:05 +000023172018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
2318
mcatanzaro@igalia.com9aa7f442018-04-26 06:40:04 +00002319 [WPE] Build and link against latest WPEBackend and WPEBackend-fdo
2320 https://bugs.webkit.org/show_bug.cgi?id=184643
2321
2322 Reviewed by Žan Doberšek.
2323
2324 Update find modules to include the API versions.
2325
2326 * Source/cmake/FindWPEBackend-fdo.cmake:
2327 * Source/cmake/FindWPEBackend.cmake:
2328
23292018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
2330
mcatanzaro@igalia.com0648be12018-04-25 19:58:53 +00002331 [CMake] Some options should be marked as advanced
2332 https://bugs.webkit.org/show_bug.cgi?id=184972
2333
2334 Reviewed by Konstantin Tokarev.
2335
2336 * Source/cmake/FindLibGcrypt.cmake:
2337 * Source/cmake/FindWebP.cmake:
2338
23392018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
2340
mcatanzaro@igalia.com382399f2018-04-25 16:23:05 +00002341 [GTK] Miscellaneous build cleanups
2342 https://bugs.webkit.org/show_bug.cgi?id=184399
2343
2344 Reviewed by Žan Doberšek.
2345
2346 * Source/cmake/OptionsGTK.cmake:
2347
commit-queue@webkit.orgf80c1ae2018-04-24 19:48:58 +000023482018-04-24 Leo Balter <leonardo.balter@gmail.com>
2349
2350 Land test262 test results associated with Test262 runner
2351 https://bugs.webkit.org/show_bug.cgi?id=184667
2352
2353 Reviewed by Michael Saboff.
2354
2355 * .gitignore: Ignore test262 results file.
2356
zandobersek@gmail.com0ab24a42018-04-24 08:06:56 +000023572018-04-24 Zan Dobersek <zdobersek@igalia.com>
2358
2359 [WPE] Remove libgbm dependency
2360 https://bugs.webkit.org/show_bug.cgi?id=184906
2361
2362 Reviewed by Carlos Garcia Campos.
2363
2364 Remove the libgbm CMake search module. It's not necessary anymore
2365 after r230562.
2366
2367 * Source/cmake/FindLibGBM.cmake: Removed.
2368
mcatanzaro@igalia.comf3132912018-04-24 01:07:57 +000023692018-04-23 Michael Catanzaro <mcatanzaro@igalia.com>
2370
2371 [GTK] check target looks broken
2372 https://bugs.webkit.org/show_bug.cgi?id=184407
2373
2374 Reviewed by Carlos Garcia Campos.
2375
2376 It's pretty clear that nobody has been using check for a long time.
2377
2378 We got rid of check-for-webkitdom-api-breaks a long time ago, when we stopped autogenerating
2379 the DOM API, but it's still used in the check target. Fix this.
2380
2381 Also, the check target for some reason runs itself from the Source subdirectory of the
2382 builddir, but the test script expects to be run from the toplevel build directory. Fix this
2383 too.
2384
2385 Add VERBATIM for good measure.
2386
2387 * Source/PlatformGTK.cmake:
2388
dbates@webkit.org72aae132018-04-20 19:39:52 +000023892018-04-20 Daniel Bates <dabates@apple.com>
2390
2391 Unreviewed, rolling out r230117.
2392
2393 Broke find-in-page for PDFs
2394
2395 Reverted changeset:
2396
2397 "ASSERTION FAILED: ASSERT(!containsImage ||
2398 MIMETypeRegistry::isSupportedImageResourceMIMEType([resource
2399 MIMEType])) in -[NSPasteboard(WebExtras)
2400 _web_writePromisedRTFDFromArchive:containsImage:]"
2401 https://bugs.webkit.org/show_bug.cgi?id=184161
2402 https://trac.webkit.org/changeset/230117
2403
carlosgc@webkit.org38ec27b2018-04-20 10:33:30 +000024042018-04-20 Carlos Garcia Campos <cgarcia@igalia.com>
2405
2406 [GTK] Local cross references are broken in API documentation
2407 https://bugs.webkit.org/show_bug.cgi?id=184771
2408
2409 Reviewed by Michael Catanzaro.
2410
2411 Update the documentation html paths and install the JSC GLib API too.
2412
2413 * Source/PlatformGTK.cmake:
2414
carlosgc@webkit.orge8c46f02018-04-18 08:35:07 +000024152018-04-18 Carlos Garcia Campos <cgarcia@igalia.com>
2416
2417 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.1 release.
2418
2419 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2420
zandobersek@gmail.come260caa2018-04-18 05:45:22 +000024212018-04-17 Zan Dobersek <zdobersek@igalia.com>
2422
2423 [CMake] Add and enable the ENABLE_CSS_ANIMATIONS_LEVEL_2 feature define
2424 https://bugs.webkit.org/show_bug.cgi?id=184681
2425
2426 Reviewed by Carlos Garcia Campos.
2427
2428 * Source/cmake/WebKitFeatures.cmake: Add the ENABLE_CSS_ANIMATIONS_LEVEL_2
2429 feature define. Follow Cocoa ports and enable it by default.
2430
mcatanzaro@igalia.comc941a5d2018-04-15 16:32:26 +000024312018-04-15 Michael Catanzaro <mcatanzaro@igalia.com>
2432
2433 [WPE] Install files needed for WebKitWebExtensions
2434 https://bugs.webkit.org/show_bug.cgi?id=179915
2435
2436 Reviewed by Žan Doberšek.
2437
2438 * Source/cmake/OptionsWPE.cmake:
2439
ryanhaddad@apple.comc7649b52018-04-12 18:32:26 +000024402018-04-12 Ryan Haddad <ryanhaddad@apple.com>
2441
2442 Unreviewed, rolling out r230554.
2443
2444 The non-ASCII character in the filename causes issues with SVN
2445
2446 Reverted changeset:
2447
2448 "input.webkitEntries does not work as expected when folder
2449 contains accented chars"
2450 https://bugs.webkit.org/show_bug.cgi?id=184517
2451 https://trac.webkit.org/changeset/230554
2452
zandobersek@gmail.comae700432018-04-12 08:19:35 +000024532018-04-12 Zan Dobersek <zdobersek@igalia.com>
2454
2455 [WPE] Switch testing process to using WPEBackend-fdo
2456 https://bugs.webkit.org/show_bug.cgi?id=184357
2457
2458 Reviewed by Carlos Alberto Lopez Perez.
2459
2460 * Source/cmake/FindWPEBackend-fdo.cmake: Renamed from Source/cmake/FindWPEBackend-mesa.cmake.
2461
commit-queue@webkit.orgca604c22018-04-11 18:33:39 +000024622018-04-11 Thibault Saunier <tsaunier@igalia.com>
2463
2464 [GStreamer] Use of playbin3 when USE_PLAYBIN3 environment variable is set
2465 https://bugs.webkit.org/show_bug.cgi?id=184498
2466
2467 Reviewed by Philippe Normand.
2468
2469 This is the same behaviour as with playbin itself.
2470
2471 Make sure to keep using "playbin" for MediaSource.
2472
2473 * Source/cmake/GStreamerDefinitions.cmake:
2474
mcatanzaro@igalia.comc7152422018-04-09 15:45:48 +000024752018-04-09 Michael Catanzaro <mcatanzaro@igalia.com>
2476
2477 [WPE] Use GNU install directories
2478 https://bugs.webkit.org/show_bug.cgi?id=184377
2479
2480 Reviewed by Carlos Garcia Campos.
2481
2482 Notably, this means all the CMake arguments that distributors use to customize install
2483 directories (-DCMAKE_INSTALL_*DIR) will no longer be ignored.
2484
2485 * Source/cmake/OptionsCommon.cmake:
2486 * Source/cmake/OptionsWPE.cmake:
2487
Hironori.Fujii@sony.com25907df2018-04-09 02:58:40 +000024882018-04-08 Fujii Hironori <Hironori.Fujii@sony.com>
2489
2490 [CMake] WebKit should link to WebCore as a PRIVATE library if WebCore is a static library
2491 https://bugs.webkit.org/show_bug.cgi?id=184127
2492
2493 Reviewed by Konstantin Tokarev.
2494
2495 Building TestWebKitLib on Windows causes a linkage error of
2496 multiply defined symbols because TestWebKitLib links to
2497 both WebCore and WebKit. TestWebKitLib explicitly links only with
2498 WebKit, But, WebCore is propagated because WebKit links WebCore as
2499 public.
2500
2501 * Source/cmake/OptionsGTK.cmake (ADD_WHOLE_ARCHIVE_TO_LIBRARIES):
2502 Do not wrap PRIVATE and PUBLIC keywords with -Wl,--whole-archive.
2503
mcatanzaro@igalia.com92d844e2018-04-08 15:55:56 +000025042018-04-08 Michael Catanzaro <mcatanzaro@igalia.com>
2505
2506 [WPE][GTK] Remove applicationDirectoryPath() and sharedResourcePath()
2507 https://bugs.webkit.org/show_bug.cgi?id=184381
2508
2509 Reviewed by Carlos Garcia Campos.
2510
2511 * Source/cmake/OptionsGTK.cmake:
2512 * Source/cmake/OptionsWPE.cmake:
2513
pvollan@apple.com45875202018-04-02 21:14:09 +000025142018-04-02 Per Arne Vollan <pvollan@apple.com>
2515
2516 Remove references to internal version of WebKitQuartzCoreAdditions in CMake files.
2517 https://bugs.webkit.org/show_bug.cgi?id=184246
2518 <rdar://problem/39116563>
2519
2520 Unreviewed build fix.
2521
2522 * Source/PlatformWin.cmake:
2523
commit-queue@webkit.orgdf7241e2018-04-02 11:29:03 +000025242018-04-02 Alejandro G. Castro <alex@igalia.com>
2525
2526 [GTK] Make libwebrtc backend buildable for GTK port
2527 https://bugs.webkit.org/show_bug.cgi?id=178860
2528
2529 Reviewed by Youenn Fablet.
2530
2531 * Source/CMakeLists.txt: Add the libwebrtc directory to the compilation.
2532 * Source/cmake/OptionsGTK.cmake: Add the USE_LIBWEBRTC option to
2533 allow compilation of the specific code.
2534
dbates@webkit.org1ad5d162018-03-30 21:01:35 +000025352018-03-30 Daniel Bates <dabates@apple.com>
2536
2537 ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
2538 https://bugs.webkit.org/show_bug.cgi?id=184161
2539
2540 Reviewed by Per Arne Vollan.
2541
2542 * ManualTests/DragInlinePDFImageDocument.html: Added.
2543 * ManualTests/resources/simple.pdf: Added.
2544
timothy_horton@apple.com3baf1202018-03-28 21:07:55 +000025452018-03-28 Tim Horton <timothy_horton@apple.com>
2546
2547 Make it possible to disable building the tools with Make
2548 https://bugs.webkit.org/show_bug.cgi?id=184109
2549
2550 Reviewed by Simon Fraser.
2551
2552 * Makefile:
2553
carlosgc@webkit.org527d2002018-03-26 08:44:13 +000025542018-03-25 Carlos Garcia Campos <cgarcia@igalia.com>
2555
2556 [GTK][WPE] Add API to convert between DOM and JSCValue
2557 https://bugs.webkit.org/show_bug.cgi?id=183448
2558
2559 Reviewed by Michael Catanzaro.
2560
2561 Define FORWARDING_HEADERS_WPE_DOM_DIR.
2562
2563 * Source/cmake/OptionsWPE.cmake:
2564
aperez@igalia.comebc86252018-03-22 21:56:18 +000025652018-03-22 Adrian Perez de Castro <aperez@igalia.com>
2566
2567 [WPE] Enable WOFF2 support
2568 https://bugs.webkit.org/show_bug.cgi?id=178158
2569
2570 Reviewed by Frédéric Wang.
2571
2572 * Source/cmake/OptionsWPE.cmake: Add needed logic to detect the Brotli and WOFF2 libraries.
2573
carlosgc@webkit.orgbed6a5d2018-03-21 08:42:08 +000025742018-03-21 Carlos Garcia Campos <cgarcia@igalia.com>
2575
2576 [GTK][WPE] Initial implementation of JavaScriptCore glib bindings
2577 https://bugs.webkit.org/show_bug.cgi?id=164061
2578
2579 Reviewed by Michael Catanzaro.
2580
2581 Set global variables used by the makefiles.
2582
2583 * Source/cmake/OptionsGTK.cmake:
2584 * Source/cmake/OptionsWPE.cmake:
2585
Ms2ger@igalia.com79832e52018-03-15 16:00:08 +000025862018-03-15 Ms2ger <Ms2ger@igalia.com>
2587
2588 [GTK][WPE] Enable service workers
2589 https://bugs.webkit.org/show_bug.cgi?id=178576
2590
2591 Reviewed by Žan Doberšek.
2592
2593 * Source/cmake/OptionsGTK.cmake:
2594 * Source/cmake/OptionsWPE.cmake:
2595
yoav@yoav.wsed179222018-03-12 23:28:45 +000025962018-03-12 Yoav Weiss <yoav@yoav.ws>
2597
2598 Runtime flag for link prefetch and remove link subresource.
2599 https://bugs.webkit.org/show_bug.cgi?id=183540
2600
2601 Reviewed by Chris Dumez.
2602
2603 Remove the LINK_PREFETCH build time flag.
2604
2605 * Source/cmake/OptionsWin.cmake:
2606 * Source/cmake/WebKitFeatures.cmake:
2607 * Source/cmake/tools/vsprops/FeatureDefines.props:
2608 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2609
zandobersek@gmail.com25c62a52018-03-12 13:50:36 +000026102018-03-12 Zan Dobersek <zdobersek@igalia.com>
2611
2612 Unreviewed. Unbreak the WPE layout testing that's been broken since
2613 r229470. Due to disassociation between ENABLE(ACCESSIBILITY) and
2614 HAVE(ACCESSIBILITY), the injected bundle for the WPE port was left with
2615 undefined symbols. This is fixed with ENABLE_ACCESSIBILITY being enabled
2616 for the WPE port as well.
2617
2618 * Source/cmake/OptionsWPE.cmake:
2619
carlosgc@webkit.orgff6a0582018-03-12 09:46:37 +000026202018-03-12 Carlos Garcia Campos <cgarcia@igalia.com>
2621
2622 Unreviewed. Fix library version of JavaScriptCoreGTK.
2623
2624 * Source/cmake/OptionsGTK.cmake:
2625
carlosgc@webkit.orgeb2c0402018-03-09 10:18:50 +000026262018-03-09 Carlos Garcia Campos <cgarcia@igalia.com>
2627
2628 Unreviewed. Bump WebKitGTK+ version to 2.21.0.
2629
2630 * Source/cmake/OptionsGTK.cmake:
2631
timothy_horton@apple.come8aa4df2018-03-08 21:19:36 +000026322018-03-08 Tim Horton <timothy_horton@apple.com>
2633
2634 Add a way to not build libwebrtc when building WebKit via Makefiles
2635 https://bugs.webkit.org/show_bug.cgi?id=183437
2636 <rdar://problem/38254840>
2637
2638 Reviewed by Dan Bernstein.
2639
2640 * Source/Makefile:
2641
don.olmstead@sony.com1e1d7882018-03-05 13:28:35 +000026422018-03-05 Don Olmstead <don.olmstead@sony.com>
2643
2644 [CMake] Split JSC header copying into public and private targets
2645 https://bugs.webkit.org/show_bug.cgi?id=183251
2646
2647 Reviewed by Konstantin Tokarev.
2648
2649 * Source/cmake/WebKitMacros.cmake:
2650
don.olmstead@sony.coma3a6c552018-03-02 22:13:12 +000026512018-03-02 Don Olmstead <don.olmstead@sony.com>
2652
2653 Add clang-format configuration
2654 https://bugs.webkit.org/show_bug.cgi?id=183302
2655
2656 Reviewed by Ryosuke Niwa.
2657
2658 * .clang-format: Added.
2659
mcatanzaro@igalia.com6cf40c52018-03-02 01:01:26 +000026602018-03-01 Michael Catanzaro <mcatanzaro@igalia.com>
2661
2662 [CMake] configure failure for aarch64
2663 https://bugs.webkit.org/show_bug.cgi?id=183268
2664
2665 Unreviewed build fix. This failure is caused by a simple typo.
2666
2667 * Source/cmake/OptionsCommon.cmake:
2668
commit-queue@webkit.org3e01b7a2018-02-26 19:08:33 +000026692018-02-26 Yousuke Kimoto <yousuke.kimoto@sony.com>
2670
2671 [WinCairo] WebKit2_C.h should be included for TestWebKit
2672 https://bugs.webkit.org/show_bug.cgi?id=182682
2673
2674 Reviewed by Yusuke Suzuki.
2675
2676 Added a new definition "BUILDING_WIN_CAIRO_WEBKIT" to specify
2677 the wincairo webkit build.
2678
2679 * Source/cmake/OptionsWinCairo.cmake:
2680
commit-queue@webkit.org3e9045c2018-02-26 08:01:12 +000026812018-02-26 Fujii Hironori <Hironori.Fujii@sony.com>
2682
2683 [CMake][OpenVR] Linkage errors happen because only OpenVR is compiled with -stdlib=libc++ if Clang is used
2684 https://bugs.webkit.org/show_bug.cgi?id=183116
2685
2686 Reviewed by Žan Doberšek.
2687
2688 OpenVR has a option USE_LIBCXX to enable/disable that behavior. Let's disable it.
2689
2690 * Source/CMakeLists.txt: Added a option command for USE_LIBCXX to set OFF as default.
2691
don.olmstead@sony.comb46f5072018-02-21 20:01:22 +000026922018-02-21 Don Olmstead <don.olmstead@sony.com>
2693
don.olmstead@sony.com8e4dfae2018-02-21 22:34:01 +00002694 [CMake] Expose HAVE macros globally
2695 https://bugs.webkit.org/show_bug.cgi?id=183011
2696
2697 Reviewed by Michael Catanzaro.
2698
2699 * Source/cmake/OptionsCommon.cmake:
2700 * Source/cmake/WebKitFeatures.cmake:
2701
27022018-02-21 Don Olmstead <don.olmstead@sony.com>
2703
don.olmstead@sony.comb46f5072018-02-21 20:01:22 +00002704 [CMake][Win] Use cmakeconfig.h rather than config.h and Platform.h
2705 https://bugs.webkit.org/show_bug.cgi?id=182883
2706
2707 Reviewed by Per Arne Vollan.
2708
2709 * Source/cmake/OptionsAppleWin.cmake:
2710 * Source/cmake/OptionsWin.cmake:
2711 * Source/cmake/OptionsWinCairo.cmake:
2712
mcatanzaro@igalia.comfc6d2342018-02-21 19:42:35 +000027132018-02-21 Michael Catanzaro <mcatanzaro@igalia.com>
2714
2715 [GTK] USE_UPOWER causes crashes inside a chroot or on systems with broken dbus/upower
2716 https://bugs.webkit.org/show_bug.cgi?id=181825
2717
2718 Reviewed by Carlos Garcia Campos.
2719
2720 Get rid of the upower-glib dependency. We will use upower's D-Bus API instead.
2721
2722 * Source/cmake/FindUPowerGLib.cmake: Removed.
2723 * Source/cmake/OptionsGTK.cmake:
2724
aperez@igalia.com503e9532018-02-20 18:46:10 +000027252018-02-20 Adrian Perez de Castro <aperez@igalia.com>
2726
2727 [GTK][CMake] Support building with Enchant 2.x
2728 https://bugs.webkit.org/show_bug.cgi?id=182933
2729
2730 Reviewed by Michael Catanzaro.
2731
2732 * Source/cmake/FindEnchant.cmake: Check for both the "enchant" and "enchant-2"
2733 pkg-config components, picking the first available for which the headers and
2734 library are usable.
2735
philn@webkit.org8d2e16b2018-02-19 08:58:14 +000027362018-02-19 Philippe Normand <pnormand@igalia.com>
2737
2738 [GStreamer] Playbin3 support
2739 https://bugs.webkit.org/show_bug.cgi?id=182530
2740
2741 Reviewed by Xabier Rodriguez-Calvar.
2742
2743 * Source/cmake/GStreamerDefinitions.cmake: New
2744 USE(GSTREAMER_PLAYBIN3) feature. This should be enabled only for
2745 very recent versions of GStreamer (1.14 at least) and is optional, for now.
2746
philn@webkit.org6c372162018-02-19 07:46:54 +000027472018-02-18 Philippe Normand <pnormand@igalia.com>
2748
2749 [GTK][WPE] Fullscreen video is broken
2750 https://bugs.webkit.org/show_bug.cgi?id=182740
2751
2752 Reviewed by Michael Catanzaro.
2753
2754 * Source/cmake/WebKitFeatures.cmake: Enable the
2755 VIDEO_USES_ELEMENT_FULLSCREEN feature on CMake ports.
2756
dino@apple.com8a0559b2018-02-17 00:48:36 +000027572018-02-16 Dean Jackson <dino@apple.com>
2758
2759 Use OPENGL macros to be more clear about which OpenGL/ES WebGL uses on Cocoa
2760 https://bugs.webkit.org/show_bug.cgi?id=182894
2761
2762 Reviewed by Tim Horton.
2763
2764 Rename OPENGL_ES_2 to OPENGL_ES.
2765
2766 * Source/cmake/OptionsGTK.cmake:
2767 * Source/cmake/OptionsWPE.cmake:
2768
ross.kirsling@sony.comf45cdf42018-02-10 00:48:52 +000027692018-02-09 Ross Kirsling <ross.kirsling@sony.com>
2770
2771 Simplify .gitignore's WebKitLibraries/win section.
2772 https://bugs.webkit.org/show_bug.cgi?id=182618
2773
2774 Reviewed by Per Arne Vollan.
2775
2776 We need to update this section for WinCairoRequirements regardless, but
2777 it never needed to be this longwinded in the first place.
2778
2779 * .gitignore:
2780
commit-queue@webkit.org2ace9052018-02-09 01:58:23 +000027812018-02-08 Fujii Hironori <Hironori.Fujii@sony.com>
2782
2783 [Meta][Win] Support ICU 59.1+
2784 https://bugs.webkit.org/show_bug.cgi?id=181004
2785
2786 Reviewed by Alex Christensen.
2787
2788 ICU 59 changed the type of UChar from wchar_t to char16_t on
2789 Windows. We need a lot of conversions between UChar* and wchar_t*
2790 to call Windows API because it takes string as wchar_t*.
2791
2792 Fortunately, ICU is configurable to define UChar as wchar_t as
2793 well as the prior ICU.
2794 <http://icu-project.org/apiref/icu4c/umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac>
2795
2796 * Source/cmake/OptionsWin.cmake: Add a compile option -DUCHAR_TYPE=wchar_t.
2797
mcatanzaro@igalia.com6e487c62018-02-08 21:45:31 +000027982018-02-08 Michael Catanzaro <mcatanzaro@igalia.com>
2799
2800 Unreviewed, switch -pthread to -lpthread per recommendation from Adrian
2801 https://bugs.webkit.org/show_bug.cgi?id=182400
2802 <rdar://problem/37252242>
2803
2804 This is tested and works fine.
2805
2806 * Source/cmake/WebKitCompilerFlags.cmake:
2807
commit-queue@webkit.org85a989c2018-02-06 02:29:57 +000028082018-02-05 Yousuke Kimoto <yousuke.kimoto@sony.com>
2809
2810 [WinCairo] Refine WebKitLegacy and WebKit build for wincairo
2811 https://bugs.webkit.org/show_bug.cgi?id=182478
2812
2813 Reviewed by Alex Christensen.
2814
2815 * Source/cmake/OptionsWinCairo.cmake: Added a ENABLE_WIN_CAIRO_WEBKIT option to build webkit for wincairo.
2816
mcatanzaro@igalia.com5f856e12018-02-05 23:23:28 +000028172018-02-05 Michael Catanzaro <mcatanzaro@igalia.com>
2818
mcatanzaro@igalia.com25575562018-02-06 01:21:51 +00002819 Unreviewed, fix build using the new ENABLE_ADDRESS_SANITIZER option
2820 https://bugs.webkit.org/show_bug.cgi?id=182400
2821 <rdar://problem/37252242>
2822
2823 I failed to properly test a last-minute change.
2824
2825 * Source/cmake/WebKitCompilerFlags.cmake:
2826
28272018-02-05 Michael Catanzaro <mcatanzaro@igalia.com>
2828
mcatanzaro@igalia.com5f856e12018-02-05 23:23:28 +00002829 [CMake] Add ENABLE_ADDRESS_SANITIZER to make it easier to build with asan support
2830 https://bugs.webkit.org/show_bug.cgi?id=182400
2831
2832 Reviewed by Konstantin Tokarev.
2833
2834 * Source/cmake/OptionsGTK.cmake:
2835 * Source/cmake/WebKitCompilerFlags.cmake:
2836
mcatanzaro@igalia.com45c91a32018-02-01 01:38:34 +000028372018-01-31 Michael Catanzaro <mcatanzaro@igalia.com>
2838
2839 Update ReadMe.md
2840 https://bugs.webkit.org/show_bug.cgi?id=182314
2841
2842 Reviewed by Alex Christensen.
2843
2844 Add download link for Epiphany Technology Preview. Improve build instructions for GTK. Add
2845 build instructions for WPE. Add instructions to run MiniBrowser on Linux. Miscellaneous
2846 typographical adjustments.
2847
2848 * ReadMe.md:
2849
svillar@igalia.combb982482018-01-30 16:18:26 +000028502018-01-30 Sergio Villar Senin <svillar@igalia.com>
2851
2852 [WebVR][GTK][WPE] Exclude OpenVR from tarballs
2853 https://bugs.webkit.org/show_bug.cgi?id=182284
2854
2855 Reviewed by Michael Catanzaro.
2856
2857 Added private build options for USE_OPENVR.
2858
2859 * Source/cmake/OptionsGTK.cmake:
2860 * Source/cmake/OptionsWPE.cmake:
2861
commit-queue@webkit.org3d062f72018-01-30 11:37:12 +000028622018-01-30 Basuke Suzuki <Basuke.Suzuki@sony.com>
2863
2864 [WinCairo] Fix forwarding header conflict of WebKit on WinCairo
2865 https://bugs.webkit.org/show_bug.cgi?id=177202
2866
2867 Reviewed by Alex Christensen.
2868
2869 * Source/cmake/WebKitMacros.cmake:
2870
jiewen_tan@apple.com466b6022018-01-30 01:20:17 +000028712018-01-29 Jiewen Tan <jiewen_tan@apple.com>
2872
2873 [WebAuthN] Add a compile-time feature flag
2874 https://bugs.webkit.org/show_bug.cgi?id=182211
2875 <rdar://problem/36936365>
2876
2877 Reviewed by Brent Fulgham.
2878
2879 * Source/cmake/WebKitFeatures.cmake:
2880 * Source/cmake/tools/vsprops/FeatureDefines.props:
2881 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
2882
svillar@igalia.combacd75c2018-01-24 15:04:34 +000028832018-01-18 Sergio Villar Senin <svillar@igalia.com>
2884
2885 [WebVR] Add OpenVR to the tree and to the build
2886 https://bugs.webkit.org/show_bug.cgi?id=177298
2887
2888 Reviewed by Žan Doberšek.
2889
2890 * Source/CMakeLists.txt:
2891 * Source/cmake/OptionsGTK.cmake: Enable USE_OPENVR.
2892 * Source/cmake/OptionsWPE.cmake: Ditto.
2893
mitz@apple.come3cb82d2018-01-18 16:46:12 +000028942018-01-18 Dan Bernstein <mitz@apple.com>
2895
2896 [Xcode] Shared schemes in the WebKit workspace still have build pre-actions that invoke copy-webkitlibraries-to-product-directory
2897 https://bugs.webkit.org/show_bug.cgi?id=181784
2898
2899 Reviewed by Anders Carlsson.
2900
2901 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: Remove the build pre-action.
2902 * WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme: Ditto.
2903
mcatanzaro@igalia.com3fc2b8c2018-01-17 23:18:17 +000029042018-01-17 Michael Catanzaro <mcatanzaro@igalia.com>
2905
2906 WEBKIT_FRAMEWORK should not modify file-global include directories
2907 https://bugs.webkit.org/show_bug.cgi?id=181656
2908
2909 Reviewed by Konstantin Tokarev.
2910
2911 Only modify the system include directories of the target passed to WEBKIT_FRAMEWORK.
2912
2913 * Source/cmake/WebKitMacros.cmake:
2914
carlosgc@webkit.orgeaee7ae2018-01-17 10:36:59 +000029152018-01-17 Carlos Garcia Campos <cgarcia@igalia.com>
2916
2917 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.6 release.
2918
2919 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2920
mcatanzaro@igalia.com528d90e2018-01-15 08:45:13 +000029212018-01-15 Michael Catanzaro <mcatanzaro@igalia.com>
2922
2923 REGRESSION(r226266): [GTK] RELEASE_ASSERT(reservedZoneSize >= minimumReservedZoneSize) in JSC::VM::updateStackLimits
2924 https://bugs.webkit.org/show_bug.cgi?id=181438
2925 <rdar://problem/36376724>
2926
2927 Reviewed by Carlos Garcia Campos.
2928
2929 Build JSC as a shared library.
2930
2931 Stop using -fvisibility=hidden. This is a shame, but it is causing problems that I don't
2932 know how to fix.
2933
2934 * Source/cmake/OptionsGTK.cmake:
2935 * Source/cmake/WebKitCompilerFlags.cmake:
2936
keith_miller@apple.come3c96212018-01-12 07:59:30 +000029372018-01-11 Keith Miller <keith_miller@apple.com>
2938
2939 Rename ENABLE_ASYNC_ITERATION to ENABLE_JS_ASYNC_ITERATION
2940 https://bugs.webkit.org/show_bug.cgi?id=181573
2941
2942 Reviewed by Simon Fraser.
2943
2944 * Source/cmake/WebKitFeatures.cmake:
2945
pvollan@apple.com3a3f7f52018-01-11 04:57:51 +000029462018-01-10 Per Arne Vollan <pvollan@apple.com>
2947
2948 [Win] WebKitLegacy should be a dll, not a static library.
2949 https://bugs.webkit.org/show_bug.cgi?id=181500
2950
2951 Reviewed by Alex Christensen.
2952
2953 Set WebKitLegacy library type to shared.
2954
2955 * Source/cmake/OptionsWin.cmake:
2956
carlosgc@webkit.org2daae642018-01-09 11:55:51 +000029572018-01-09 Carlos Garcia Campos <cgarcia@igalia.com>
2958
carlosgc@webkit.orgb9ff6372018-01-09 16:29:45 +00002959 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.5 release.
2960
2961 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2962
29632018-01-09 Carlos Garcia Campos <cgarcia@igalia.com>
2964
carlosgc@webkit.org2daae642018-01-09 11:55:51 +00002965 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.4 release.
2966
2967 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
2968
commit-queue@webkit.org8cb56652018-01-05 11:11:44 +000029692018-01-05 Fujii Hironori <Hironori.Fujii@sony.com>
2970
2971 REGRESSION(r226306)[Win][CMake] Unnecessary recompilations triggered by unconditionally copied header files of DerivedSources
2972 https://bugs.webkit.org/show_bug.cgi?id=181324
2973
2974 Reviewed by Konstantin Tokarev.
2975
2976 r226306 changed to use cmake -E copy to copy header files of
2977 DerivedSources. This command copies files unconditionally, then
2978 introduced unnecessary recompilations.
2979
2980 * Source/cmake/WebKitMacros.cmake: Use copy_if_different instead of copy.
2981
commit-queue@webkit.org026ee042018-01-04 07:18:18 +000029822018-01-03 Ting-Wei Lan <lantw44@gmail.com>
2983
2984 Replace hard-coded paths in shebangs with #!/usr/bin/env
2985 https://bugs.webkit.org/show_bug.cgi?id=181040
2986
2987 Reviewed by Alex Christensen.
2988
2989 * Source/cmake/tools/scripts/auto-version.pl:
2990 * Source/cmake/tools/scripts/feature-defines.pl:
2991 * Source/cmake/tools/scripts/version-stamp.pl:
2992
mcatanzaro@igalia.com3fcf3c32018-01-02 04:27:34 +00002993== Rolled over to ChangeLog-2018-01-01 ==