[Web Animations] Turn Web Animations on by default
[WebKit-https.git] / ChangeLog
1 2018-04-09  Michael Catanzaro  <mcatanzaro@igalia.com>
2
3         [WPE] Use GNU install directories
4         https://bugs.webkit.org/show_bug.cgi?id=184377
5
6         Reviewed by Carlos Garcia Campos.
7
8         Notably, this means all the CMake arguments that distributors use to customize install
9         directories (-DCMAKE_INSTALL_*DIR) will no longer be ignored.
10
11         * Source/cmake/OptionsCommon.cmake:
12         * Source/cmake/OptionsWPE.cmake:
13
14 2018-04-08  Fujii Hironori  <Hironori.Fujii@sony.com>
15
16         [CMake] WebKit should link to WebCore as a PRIVATE library if WebCore is a static library
17         https://bugs.webkit.org/show_bug.cgi?id=184127
18
19         Reviewed by Konstantin Tokarev.
20
21         Building TestWebKitLib on Windows causes a linkage error of
22         multiply defined symbols because TestWebKitLib links to
23         both WebCore and WebKit. TestWebKitLib explicitly links only with
24         WebKit, But, WebCore is propagated because WebKit links WebCore as
25         public.
26
27         * Source/cmake/OptionsGTK.cmake (ADD_WHOLE_ARCHIVE_TO_LIBRARIES):
28         Do not wrap PRIVATE and PUBLIC keywords with -Wl,--whole-archive.
29
30 2018-04-08  Michael Catanzaro  <mcatanzaro@igalia.com>
31
32         [WPE][GTK] Remove applicationDirectoryPath() and sharedResourcePath()
33         https://bugs.webkit.org/show_bug.cgi?id=184381
34
35         Reviewed by Carlos Garcia Campos.
36
37         * Source/cmake/OptionsGTK.cmake:
38         * Source/cmake/OptionsWPE.cmake:
39
40 2018-04-02  Per Arne Vollan  <pvollan@apple.com>
41
42         Remove references to internal version of WebKitQuartzCoreAdditions in CMake files.
43         https://bugs.webkit.org/show_bug.cgi?id=184246
44         <rdar://problem/39116563>
45
46         Unreviewed build fix.
47
48         * Source/PlatformWin.cmake:
49
50 2018-04-02  Alejandro G. Castro  <alex@igalia.com>
51
52         [GTK] Make libwebrtc backend buildable for GTK  port
53         https://bugs.webkit.org/show_bug.cgi?id=178860
54
55         Reviewed by Youenn Fablet.
56
57         * Source/CMakeLists.txt: Add the libwebrtc directory to the compilation.
58         * Source/cmake/OptionsGTK.cmake: Add the USE_LIBWEBRTC option to
59         allow compilation of the specific code.
60
61 2018-03-30  Daniel Bates  <dabates@apple.com>
62
63         ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
64         https://bugs.webkit.org/show_bug.cgi?id=184161
65
66         Reviewed by Per Arne Vollan.
67
68         * ManualTests/DragInlinePDFImageDocument.html: Added.
69         * ManualTests/resources/simple.pdf: Added.
70
71 2018-03-28  Tim Horton  <timothy_horton@apple.com>
72
73         Make it possible to disable building the tools with Make
74         https://bugs.webkit.org/show_bug.cgi?id=184109
75
76         Reviewed by Simon Fraser.
77
78         * Makefile:
79
80 2018-03-25  Carlos Garcia Campos  <cgarcia@igalia.com>
81
82         [GTK][WPE] Add API to convert between DOM and JSCValue
83         https://bugs.webkit.org/show_bug.cgi?id=183448
84
85         Reviewed by Michael Catanzaro.
86
87         Define FORWARDING_HEADERS_WPE_DOM_DIR.
88
89         * Source/cmake/OptionsWPE.cmake:
90
91 2018-03-22  Adrian Perez de Castro  <aperez@igalia.com>
92
93         [WPE] Enable WOFF2 support
94         https://bugs.webkit.org/show_bug.cgi?id=178158
95
96         Reviewed by Frédéric Wang.
97
98         * Source/cmake/OptionsWPE.cmake: Add needed logic to detect the Brotli and WOFF2 libraries.
99
100 2018-03-21  Carlos Garcia Campos  <cgarcia@igalia.com>
101
102         [GTK][WPE] Initial implementation of JavaScriptCore glib bindings
103         https://bugs.webkit.org/show_bug.cgi?id=164061
104
105         Reviewed by Michael Catanzaro.
106
107         Set global variables used by the makefiles.
108
109         * Source/cmake/OptionsGTK.cmake:
110         * Source/cmake/OptionsWPE.cmake:
111
112 2018-03-15  Ms2ger  <Ms2ger@igalia.com>
113
114         [GTK][WPE] Enable service workers
115         https://bugs.webkit.org/show_bug.cgi?id=178576
116
117         Reviewed by Žan Doberšek.
118
119         * Source/cmake/OptionsGTK.cmake:
120         * Source/cmake/OptionsWPE.cmake:
121
122 2018-03-12  Yoav Weiss  <yoav@yoav.ws>
123
124         Runtime flag for link prefetch and remove link subresource.
125         https://bugs.webkit.org/show_bug.cgi?id=183540
126
127         Reviewed by Chris Dumez.
128
129         Remove the LINK_PREFETCH build time flag.
130
131         * Source/cmake/OptionsWin.cmake:
132         * Source/cmake/WebKitFeatures.cmake:
133         * Source/cmake/tools/vsprops/FeatureDefines.props:
134         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
135
136 2018-03-12  Zan Dobersek  <zdobersek@igalia.com>
137
138         Unreviewed. Unbreak the WPE layout testing that's been broken since
139         r229470. Due to disassociation between ENABLE(ACCESSIBILITY) and
140         HAVE(ACCESSIBILITY), the injected bundle for the WPE port was left with
141         undefined symbols. This is fixed with ENABLE_ACCESSIBILITY being enabled
142         for the WPE port as well.
143
144         * Source/cmake/OptionsWPE.cmake:
145
146 2018-03-12  Carlos Garcia Campos  <cgarcia@igalia.com>
147
148         Unreviewed. Fix library version of JavaScriptCoreGTK.
149
150         * Source/cmake/OptionsGTK.cmake:
151
152 2018-03-09  Carlos Garcia Campos  <cgarcia@igalia.com>
153
154         Unreviewed. Bump WebKitGTK+ version to 2.21.0.
155
156         * Source/cmake/OptionsGTK.cmake:
157
158 2018-03-08  Tim Horton  <timothy_horton@apple.com>
159
160         Add a way to not build libwebrtc when building WebKit via Makefiles
161         https://bugs.webkit.org/show_bug.cgi?id=183437
162         <rdar://problem/38254840>
163
164         Reviewed by Dan Bernstein.
165
166         * Source/Makefile:
167
168 2018-03-05  Don Olmstead  <don.olmstead@sony.com>
169
170         [CMake] Split JSC header copying into public and private targets
171         https://bugs.webkit.org/show_bug.cgi?id=183251
172
173         Reviewed by Konstantin Tokarev.
174
175         * Source/cmake/WebKitMacros.cmake:
176
177 2018-03-02  Don Olmstead  <don.olmstead@sony.com>
178
179         Add clang-format configuration
180         https://bugs.webkit.org/show_bug.cgi?id=183302
181
182         Reviewed by Ryosuke Niwa.
183
184         * .clang-format: Added.
185
186 2018-03-01  Michael Catanzaro  <mcatanzaro@igalia.com>
187
188         [CMake] configure failure for aarch64
189         https://bugs.webkit.org/show_bug.cgi?id=183268
190
191         Unreviewed build fix. This failure is caused by a simple typo.
192
193         * Source/cmake/OptionsCommon.cmake:
194
195 2018-02-26  Yousuke Kimoto  <yousuke.kimoto@sony.com>
196
197         [WinCairo] WebKit2_C.h should be included for TestWebKit
198         https://bugs.webkit.org/show_bug.cgi?id=182682
199
200         Reviewed by Yusuke Suzuki.
201
202         Added a new definition "BUILDING_WIN_CAIRO_WEBKIT" to specify
203         the wincairo webkit build.
204
205         * Source/cmake/OptionsWinCairo.cmake:
206
207 2018-02-26  Fujii Hironori  <Hironori.Fujii@sony.com>
208
209         [CMake][OpenVR] Linkage errors happen because only OpenVR is compiled with -stdlib=libc++ if Clang is used
210         https://bugs.webkit.org/show_bug.cgi?id=183116
211
212         Reviewed by Žan Doberšek.
213
214         OpenVR has a option USE_LIBCXX to enable/disable that behavior. Let's disable it.
215
216         * Source/CMakeLists.txt: Added a option command for USE_LIBCXX to set OFF as default.
217
218 2018-02-21  Don Olmstead  <don.olmstead@sony.com>
219
220         [CMake] Expose HAVE macros globally
221         https://bugs.webkit.org/show_bug.cgi?id=183011
222
223         Reviewed by Michael Catanzaro.
224
225         * Source/cmake/OptionsCommon.cmake:
226         * Source/cmake/WebKitFeatures.cmake:
227
228 2018-02-21  Don Olmstead  <don.olmstead@sony.com>
229
230         [CMake][Win] Use cmakeconfig.h rather than config.h and Platform.h
231         https://bugs.webkit.org/show_bug.cgi?id=182883
232
233         Reviewed by Per Arne Vollan.
234
235         * Source/cmake/OptionsAppleWin.cmake:
236         * Source/cmake/OptionsWin.cmake:
237         * Source/cmake/OptionsWinCairo.cmake:
238
239 2018-02-21  Michael Catanzaro  <mcatanzaro@igalia.com>
240
241         [GTK] USE_UPOWER causes crashes inside a chroot or on systems with broken dbus/upower
242         https://bugs.webkit.org/show_bug.cgi?id=181825
243
244         Reviewed by Carlos Garcia Campos.
245
246         Get rid of the upower-glib dependency. We will use upower's D-Bus API instead.
247
248         * Source/cmake/FindUPowerGLib.cmake: Removed.
249         * Source/cmake/OptionsGTK.cmake:
250
251 2018-02-20  Adrian Perez de Castro  <aperez@igalia.com>
252
253         [GTK][CMake] Support building with Enchant 2.x
254         https://bugs.webkit.org/show_bug.cgi?id=182933
255
256         Reviewed by Michael Catanzaro.
257
258         * Source/cmake/FindEnchant.cmake: Check for both the "enchant" and "enchant-2"
259         pkg-config components, picking the first available for which the headers and
260         library are usable.
261
262 2018-02-19  Philippe Normand  <pnormand@igalia.com>
263
264         [GStreamer] Playbin3 support
265         https://bugs.webkit.org/show_bug.cgi?id=182530
266
267         Reviewed by Xabier Rodriguez-Calvar.
268
269         * Source/cmake/GStreamerDefinitions.cmake: New
270         USE(GSTREAMER_PLAYBIN3) feature. This should be enabled only for
271         very recent versions of GStreamer (1.14 at least) and is optional, for now.
272
273 2018-02-18  Philippe Normand  <pnormand@igalia.com>
274
275         [GTK][WPE] Fullscreen video is broken
276         https://bugs.webkit.org/show_bug.cgi?id=182740
277
278         Reviewed by Michael Catanzaro.
279
280         * Source/cmake/WebKitFeatures.cmake: Enable the
281         VIDEO_USES_ELEMENT_FULLSCREEN feature on CMake ports.
282
283 2018-02-16  Dean Jackson  <dino@apple.com>
284
285         Use OPENGL macros to be more clear about which OpenGL/ES WebGL uses on Cocoa
286         https://bugs.webkit.org/show_bug.cgi?id=182894
287
288         Reviewed by Tim Horton.
289
290         Rename OPENGL_ES_2 to OPENGL_ES.
291
292         * Source/cmake/OptionsGTK.cmake:
293         * Source/cmake/OptionsWPE.cmake:
294
295 2018-02-09  Ross Kirsling  <ross.kirsling@sony.com>
296
297         Simplify .gitignore's WebKitLibraries/win section.
298         https://bugs.webkit.org/show_bug.cgi?id=182618
299
300         Reviewed by Per Arne Vollan.
301
302         We need to update this section for WinCairoRequirements regardless, but
303         it never needed to be this longwinded in the first place.
304
305         * .gitignore:
306
307 2018-02-08  Fujii Hironori  <Hironori.Fujii@sony.com>
308
309         [Meta][Win] Support ICU 59.1+
310         https://bugs.webkit.org/show_bug.cgi?id=181004
311
312         Reviewed by Alex Christensen.
313
314         ICU 59 changed the type of UChar from wchar_t to char16_t on
315         Windows. We need a lot of conversions between UChar* and wchar_t*
316         to call Windows API because it takes string as wchar_t*.
317
318         Fortunately, ICU is configurable to define UChar as wchar_t as
319         well as the prior ICU.
320         <http://icu-project.org/apiref/icu4c/umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac>
321
322         * Source/cmake/OptionsWin.cmake: Add a compile option -DUCHAR_TYPE=wchar_t.
323
324 2018-02-08  Michael Catanzaro  <mcatanzaro@igalia.com>
325
326         Unreviewed, switch -pthread to -lpthread per recommendation from Adrian
327         https://bugs.webkit.org/show_bug.cgi?id=182400
328         <rdar://problem/37252242>
329
330         This is tested and works fine.
331
332         * Source/cmake/WebKitCompilerFlags.cmake:
333
334 2018-02-05  Yousuke Kimoto  <yousuke.kimoto@sony.com>
335
336         [WinCairo] Refine WebKitLegacy and WebKit build for wincairo
337         https://bugs.webkit.org/show_bug.cgi?id=182478
338
339         Reviewed by Alex Christensen.
340
341         * Source/cmake/OptionsWinCairo.cmake: Added a ENABLE_WIN_CAIRO_WEBKIT option to build webkit for wincairo.
342
343 2018-02-05  Michael Catanzaro  <mcatanzaro@igalia.com>
344
345         Unreviewed, fix build using the new ENABLE_ADDRESS_SANITIZER option
346         https://bugs.webkit.org/show_bug.cgi?id=182400
347         <rdar://problem/37252242>
348
349         I failed to properly test a last-minute change.
350
351         * Source/cmake/WebKitCompilerFlags.cmake:
352
353 2018-02-05  Michael Catanzaro  <mcatanzaro@igalia.com>
354
355         [CMake] Add ENABLE_ADDRESS_SANITIZER to make it easier to build with asan support
356         https://bugs.webkit.org/show_bug.cgi?id=182400
357
358         Reviewed by Konstantin Tokarev.
359
360         * Source/cmake/OptionsGTK.cmake:
361         * Source/cmake/WebKitCompilerFlags.cmake:
362
363 2018-01-31  Michael Catanzaro  <mcatanzaro@igalia.com>
364
365         Update ReadMe.md
366         https://bugs.webkit.org/show_bug.cgi?id=182314
367
368         Reviewed by Alex Christensen.
369
370         Add download link for Epiphany Technology Preview. Improve build instructions for GTK. Add
371         build instructions for WPE. Add instructions to run MiniBrowser on Linux. Miscellaneous
372         typographical adjustments.
373
374         * ReadMe.md:
375
376 2018-01-30  Sergio Villar Senin  <svillar@igalia.com>
377
378         [WebVR][GTK][WPE] Exclude OpenVR from tarballs
379         https://bugs.webkit.org/show_bug.cgi?id=182284
380
381         Reviewed by Michael Catanzaro.
382
383         Added private build options for USE_OPENVR.
384
385         * Source/cmake/OptionsGTK.cmake:
386         * Source/cmake/OptionsWPE.cmake:
387
388 2018-01-30  Basuke Suzuki  <Basuke.Suzuki@sony.com>
389
390         [WinCairo] Fix forwarding header conflict of WebKit on WinCairo
391         https://bugs.webkit.org/show_bug.cgi?id=177202
392
393         Reviewed by Alex Christensen.
394
395         * Source/cmake/WebKitMacros.cmake:
396
397 2018-01-29  Jiewen Tan  <jiewen_tan@apple.com>
398
399         [WebAuthN] Add a compile-time feature flag
400         https://bugs.webkit.org/show_bug.cgi?id=182211
401         <rdar://problem/36936365>
402
403         Reviewed by Brent Fulgham.
404
405         * Source/cmake/WebKitFeatures.cmake:
406         * Source/cmake/tools/vsprops/FeatureDefines.props:
407         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
408
409 2018-01-18  Sergio Villar Senin  <svillar@igalia.com>
410
411         [WebVR] Add OpenVR to the tree and to the build
412         https://bugs.webkit.org/show_bug.cgi?id=177298
413
414         Reviewed by Žan Doberšek.
415
416         * Source/CMakeLists.txt:
417         * Source/cmake/OptionsGTK.cmake: Enable USE_OPENVR.
418         * Source/cmake/OptionsWPE.cmake: Ditto.
419
420 2018-01-18  Dan Bernstein  <mitz@apple.com>
421
422         [Xcode] Shared schemes in the WebKit workspace still have build pre-actions that invoke copy-webkitlibraries-to-product-directory
423         https://bugs.webkit.org/show_bug.cgi?id=181784
424
425         Reviewed by Anders Carlsson.
426
427         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: Remove the build pre-action.
428         * WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme: Ditto.
429
430 2018-01-17  Michael Catanzaro  <mcatanzaro@igalia.com>
431
432         WEBKIT_FRAMEWORK should not modify file-global include directories
433         https://bugs.webkit.org/show_bug.cgi?id=181656
434
435         Reviewed by Konstantin Tokarev.
436
437         Only modify the system include directories of the target passed to WEBKIT_FRAMEWORK.
438
439         * Source/cmake/WebKitMacros.cmake:
440
441 2018-01-17  Carlos Garcia Campos  <cgarcia@igalia.com>
442
443         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.6 release.
444
445         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
446
447 2018-01-15  Michael Catanzaro  <mcatanzaro@igalia.com>
448
449         REGRESSION(r226266): [GTK] RELEASE_ASSERT(reservedZoneSize >= minimumReservedZoneSize) in JSC::VM::updateStackLimits
450         https://bugs.webkit.org/show_bug.cgi?id=181438
451         <rdar://problem/36376724>
452
453         Reviewed by Carlos Garcia Campos.
454
455         Build JSC as a shared library.
456
457         Stop using -fvisibility=hidden. This is a shame, but it is causing problems that I don't
458         know how to fix.
459
460         * Source/cmake/OptionsGTK.cmake:
461         * Source/cmake/WebKitCompilerFlags.cmake:
462
463 2018-01-11  Keith Miller  <keith_miller@apple.com>
464
465         Rename ENABLE_ASYNC_ITERATION to ENABLE_JS_ASYNC_ITERATION
466         https://bugs.webkit.org/show_bug.cgi?id=181573
467
468         Reviewed by Simon Fraser.
469
470         * Source/cmake/WebKitFeatures.cmake:
471
472 2018-01-10  Per Arne Vollan  <pvollan@apple.com>
473
474         [Win] WebKitLegacy should be a dll, not a static library.
475         https://bugs.webkit.org/show_bug.cgi?id=181500
476
477         Reviewed by Alex Christensen.
478
479         Set WebKitLegacy library type to shared.
480
481         * Source/cmake/OptionsWin.cmake:
482
483 2018-01-09  Carlos Garcia Campos  <cgarcia@igalia.com>
484
485         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.5 release.
486
487         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
488
489 2018-01-09  Carlos Garcia Campos  <cgarcia@igalia.com>
490
491         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.4 release.
492
493         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
494
495 2018-01-05  Fujii Hironori  <Hironori.Fujii@sony.com>
496
497         REGRESSION(r226306)[Win][CMake] Unnecessary recompilations triggered by unconditionally copied header files of DerivedSources
498         https://bugs.webkit.org/show_bug.cgi?id=181324
499
500         Reviewed by Konstantin Tokarev.
501
502         r226306 changed to use cmake -E copy to copy header files of
503         DerivedSources. This command copies files unconditionally, then
504         introduced unnecessary recompilations.
505
506         * Source/cmake/WebKitMacros.cmake: Use copy_if_different instead of copy.
507
508 2018-01-03  Ting-Wei Lan  <lantw44@gmail.com>
509
510         Replace hard-coded paths in shebangs with #!/usr/bin/env
511         https://bugs.webkit.org/show_bug.cgi?id=181040
512
513         Reviewed by Alex Christensen.
514
515         * Source/cmake/tools/scripts/auto-version.pl:
516         * Source/cmake/tools/scripts/feature-defines.pl:
517         * Source/cmake/tools/scripts/version-stamp.pl:
518
519 == Rolled over to ChangeLog-2018-01-01 ==