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