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