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