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