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