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