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