[WPE] Install files needed for WebKitWebExtensions
[WebKit-https.git] / ChangeLog
1 2018-04-15  Michael Catanzaro  <mcatanzaro@igalia.com>
2
3         [WPE] Install files needed for WebKitWebExtensions
4         https://bugs.webkit.org/show_bug.cgi?id=179915
5
6         Reviewed by Žan Doberšek.
7
8         * Source/cmake/OptionsWPE.cmake:
9
10 2018-04-12  Ryan Haddad  <ryanhaddad@apple.com>
11
12         Unreviewed, rolling out r230554.
13
14         The non-ASCII character in the filename causes issues with SVN
15
16         Reverted changeset:
17
18         "input.webkitEntries does not work as expected when folder
19         contains accented chars"
20         https://bugs.webkit.org/show_bug.cgi?id=184517
21         https://trac.webkit.org/changeset/230554
22
23 2018-04-12  Zan Dobersek  <zdobersek@igalia.com>
24
25         [WPE] Switch testing process to using WPEBackend-fdo
26         https://bugs.webkit.org/show_bug.cgi?id=184357
27
28         Reviewed by Carlos Alberto Lopez Perez.
29
30         * Source/cmake/FindWPEBackend-fdo.cmake: Renamed from Source/cmake/FindWPEBackend-mesa.cmake.
31
32 2018-04-11  Thibault Saunier  <tsaunier@igalia.com>
33
34         [GStreamer] Use of playbin3 when USE_PLAYBIN3 environment variable is set
35         https://bugs.webkit.org/show_bug.cgi?id=184498
36
37         Reviewed by Philippe Normand.
38
39         This is the same behaviour as with playbin itself.
40
41         Make sure to keep using "playbin" for MediaSource.
42
43         * Source/cmake/GStreamerDefinitions.cmake:
44
45 2018-04-09  Michael Catanzaro  <mcatanzaro@igalia.com>
46
47         [WPE] Use GNU install directories
48         https://bugs.webkit.org/show_bug.cgi?id=184377
49
50         Reviewed by Carlos Garcia Campos.
51
52         Notably, this means all the CMake arguments that distributors use to customize install
53         directories (-DCMAKE_INSTALL_*DIR) will no longer be ignored.
54
55         * Source/cmake/OptionsCommon.cmake:
56         * Source/cmake/OptionsWPE.cmake:
57
58 2018-04-08  Fujii Hironori  <Hironori.Fujii@sony.com>
59
60         [CMake] WebKit should link to WebCore as a PRIVATE library if WebCore is a static library
61         https://bugs.webkit.org/show_bug.cgi?id=184127
62
63         Reviewed by Konstantin Tokarev.
64
65         Building TestWebKitLib on Windows causes a linkage error of
66         multiply defined symbols because TestWebKitLib links to
67         both WebCore and WebKit. TestWebKitLib explicitly links only with
68         WebKit, But, WebCore is propagated because WebKit links WebCore as
69         public.
70
71         * Source/cmake/OptionsGTK.cmake (ADD_WHOLE_ARCHIVE_TO_LIBRARIES):
72         Do not wrap PRIVATE and PUBLIC keywords with -Wl,--whole-archive.
73
74 2018-04-08  Michael Catanzaro  <mcatanzaro@igalia.com>
75
76         [WPE][GTK] Remove applicationDirectoryPath() and sharedResourcePath()
77         https://bugs.webkit.org/show_bug.cgi?id=184381
78
79         Reviewed by Carlos Garcia Campos.
80
81         * Source/cmake/OptionsGTK.cmake:
82         * Source/cmake/OptionsWPE.cmake:
83
84 2018-04-02  Per Arne Vollan  <pvollan@apple.com>
85
86         Remove references to internal version of WebKitQuartzCoreAdditions in CMake files.
87         https://bugs.webkit.org/show_bug.cgi?id=184246
88         <rdar://problem/39116563>
89
90         Unreviewed build fix.
91
92         * Source/PlatformWin.cmake:
93
94 2018-04-02  Alejandro G. Castro  <alex@igalia.com>
95
96         [GTK] Make libwebrtc backend buildable for GTK  port
97         https://bugs.webkit.org/show_bug.cgi?id=178860
98
99         Reviewed by Youenn Fablet.
100
101         * Source/CMakeLists.txt: Add the libwebrtc directory to the compilation.
102         * Source/cmake/OptionsGTK.cmake: Add the USE_LIBWEBRTC option to
103         allow compilation of the specific code.
104
105 2018-03-30  Daniel Bates  <dabates@apple.com>
106
107         ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
108         https://bugs.webkit.org/show_bug.cgi?id=184161
109
110         Reviewed by Per Arne Vollan.
111
112         * ManualTests/DragInlinePDFImageDocument.html: Added.
113         * ManualTests/resources/simple.pdf: Added.
114
115 2018-03-28  Tim Horton  <timothy_horton@apple.com>
116
117         Make it possible to disable building the tools with Make
118         https://bugs.webkit.org/show_bug.cgi?id=184109
119
120         Reviewed by Simon Fraser.
121
122         * Makefile:
123
124 2018-03-25  Carlos Garcia Campos  <cgarcia@igalia.com>
125
126         [GTK][WPE] Add API to convert between DOM and JSCValue
127         https://bugs.webkit.org/show_bug.cgi?id=183448
128
129         Reviewed by Michael Catanzaro.
130
131         Define FORWARDING_HEADERS_WPE_DOM_DIR.
132
133         * Source/cmake/OptionsWPE.cmake:
134
135 2018-03-22  Adrian Perez de Castro  <aperez@igalia.com>
136
137         [WPE] Enable WOFF2 support
138         https://bugs.webkit.org/show_bug.cgi?id=178158
139
140         Reviewed by Frédéric Wang.
141
142         * Source/cmake/OptionsWPE.cmake: Add needed logic to detect the Brotli and WOFF2 libraries.
143
144 2018-03-21  Carlos Garcia Campos  <cgarcia@igalia.com>
145
146         [GTK][WPE] Initial implementation of JavaScriptCore glib bindings
147         https://bugs.webkit.org/show_bug.cgi?id=164061
148
149         Reviewed by Michael Catanzaro.
150
151         Set global variables used by the makefiles.
152
153         * Source/cmake/OptionsGTK.cmake:
154         * Source/cmake/OptionsWPE.cmake:
155
156 2018-03-15  Ms2ger  <Ms2ger@igalia.com>
157
158         [GTK][WPE] Enable service workers
159         https://bugs.webkit.org/show_bug.cgi?id=178576
160
161         Reviewed by Žan Doberšek.
162
163         * Source/cmake/OptionsGTK.cmake:
164         * Source/cmake/OptionsWPE.cmake:
165
166 2018-03-12  Yoav Weiss  <yoav@yoav.ws>
167
168         Runtime flag for link prefetch and remove link subresource.
169         https://bugs.webkit.org/show_bug.cgi?id=183540
170
171         Reviewed by Chris Dumez.
172
173         Remove the LINK_PREFETCH build time flag.
174
175         * Source/cmake/OptionsWin.cmake:
176         * Source/cmake/WebKitFeatures.cmake:
177         * Source/cmake/tools/vsprops/FeatureDefines.props:
178         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
179
180 2018-03-12  Zan Dobersek  <zdobersek@igalia.com>
181
182         Unreviewed. Unbreak the WPE layout testing that's been broken since
183         r229470. Due to disassociation between ENABLE(ACCESSIBILITY) and
184         HAVE(ACCESSIBILITY), the injected bundle for the WPE port was left with
185         undefined symbols. This is fixed with ENABLE_ACCESSIBILITY being enabled
186         for the WPE port as well.
187
188         * Source/cmake/OptionsWPE.cmake:
189
190 2018-03-12  Carlos Garcia Campos  <cgarcia@igalia.com>
191
192         Unreviewed. Fix library version of JavaScriptCoreGTK.
193
194         * Source/cmake/OptionsGTK.cmake:
195
196 2018-03-09  Carlos Garcia Campos  <cgarcia@igalia.com>
197
198         Unreviewed. Bump WebKitGTK+ version to 2.21.0.
199
200         * Source/cmake/OptionsGTK.cmake:
201
202 2018-03-08  Tim Horton  <timothy_horton@apple.com>
203
204         Add a way to not build libwebrtc when building WebKit via Makefiles
205         https://bugs.webkit.org/show_bug.cgi?id=183437
206         <rdar://problem/38254840>
207
208         Reviewed by Dan Bernstein.
209
210         * Source/Makefile:
211
212 2018-03-05  Don Olmstead  <don.olmstead@sony.com>
213
214         [CMake] Split JSC header copying into public and private targets
215         https://bugs.webkit.org/show_bug.cgi?id=183251
216
217         Reviewed by Konstantin Tokarev.
218
219         * Source/cmake/WebKitMacros.cmake:
220
221 2018-03-02  Don Olmstead  <don.olmstead@sony.com>
222
223         Add clang-format configuration
224         https://bugs.webkit.org/show_bug.cgi?id=183302
225
226         Reviewed by Ryosuke Niwa.
227
228         * .clang-format: Added.
229
230 2018-03-01  Michael Catanzaro  <mcatanzaro@igalia.com>
231
232         [CMake] configure failure for aarch64
233         https://bugs.webkit.org/show_bug.cgi?id=183268
234
235         Unreviewed build fix. This failure is caused by a simple typo.
236
237         * Source/cmake/OptionsCommon.cmake:
238
239 2018-02-26  Yousuke Kimoto  <yousuke.kimoto@sony.com>
240
241         [WinCairo] WebKit2_C.h should be included for TestWebKit
242         https://bugs.webkit.org/show_bug.cgi?id=182682
243
244         Reviewed by Yusuke Suzuki.
245
246         Added a new definition "BUILDING_WIN_CAIRO_WEBKIT" to specify
247         the wincairo webkit build.
248
249         * Source/cmake/OptionsWinCairo.cmake:
250
251 2018-02-26  Fujii Hironori  <Hironori.Fujii@sony.com>
252
253         [CMake][OpenVR] Linkage errors happen because only OpenVR is compiled with -stdlib=libc++ if Clang is used
254         https://bugs.webkit.org/show_bug.cgi?id=183116
255
256         Reviewed by Žan Doberšek.
257
258         OpenVR has a option USE_LIBCXX to enable/disable that behavior. Let's disable it.
259
260         * Source/CMakeLists.txt: Added a option command for USE_LIBCXX to set OFF as default.
261
262 2018-02-21  Don Olmstead  <don.olmstead@sony.com>
263
264         [CMake] Expose HAVE macros globally
265         https://bugs.webkit.org/show_bug.cgi?id=183011
266
267         Reviewed by Michael Catanzaro.
268
269         * Source/cmake/OptionsCommon.cmake:
270         * Source/cmake/WebKitFeatures.cmake:
271
272 2018-02-21  Don Olmstead  <don.olmstead@sony.com>
273
274         [CMake][Win] Use cmakeconfig.h rather than config.h and Platform.h
275         https://bugs.webkit.org/show_bug.cgi?id=182883
276
277         Reviewed by Per Arne Vollan.
278
279         * Source/cmake/OptionsAppleWin.cmake:
280         * Source/cmake/OptionsWin.cmake:
281         * Source/cmake/OptionsWinCairo.cmake:
282
283 2018-02-21  Michael Catanzaro  <mcatanzaro@igalia.com>
284
285         [GTK] USE_UPOWER causes crashes inside a chroot or on systems with broken dbus/upower
286         https://bugs.webkit.org/show_bug.cgi?id=181825
287
288         Reviewed by Carlos Garcia Campos.
289
290         Get rid of the upower-glib dependency. We will use upower's D-Bus API instead.
291
292         * Source/cmake/FindUPowerGLib.cmake: Removed.
293         * Source/cmake/OptionsGTK.cmake:
294
295 2018-02-20  Adrian Perez de Castro  <aperez@igalia.com>
296
297         [GTK][CMake] Support building with Enchant 2.x
298         https://bugs.webkit.org/show_bug.cgi?id=182933
299
300         Reviewed by Michael Catanzaro.
301
302         * Source/cmake/FindEnchant.cmake: Check for both the "enchant" and "enchant-2"
303         pkg-config components, picking the first available for which the headers and
304         library are usable.
305
306 2018-02-19  Philippe Normand  <pnormand@igalia.com>
307
308         [GStreamer] Playbin3 support
309         https://bugs.webkit.org/show_bug.cgi?id=182530
310
311         Reviewed by Xabier Rodriguez-Calvar.
312
313         * Source/cmake/GStreamerDefinitions.cmake: New
314         USE(GSTREAMER_PLAYBIN3) feature. This should be enabled only for
315         very recent versions of GStreamer (1.14 at least) and is optional, for now.
316
317 2018-02-18  Philippe Normand  <pnormand@igalia.com>
318
319         [GTK][WPE] Fullscreen video is broken
320         https://bugs.webkit.org/show_bug.cgi?id=182740
321
322         Reviewed by Michael Catanzaro.
323
324         * Source/cmake/WebKitFeatures.cmake: Enable the
325         VIDEO_USES_ELEMENT_FULLSCREEN feature on CMake ports.
326
327 2018-02-16  Dean Jackson  <dino@apple.com>
328
329         Use OPENGL macros to be more clear about which OpenGL/ES WebGL uses on Cocoa
330         https://bugs.webkit.org/show_bug.cgi?id=182894
331
332         Reviewed by Tim Horton.
333
334         Rename OPENGL_ES_2 to OPENGL_ES.
335
336         * Source/cmake/OptionsGTK.cmake:
337         * Source/cmake/OptionsWPE.cmake:
338
339 2018-02-09  Ross Kirsling  <ross.kirsling@sony.com>
340
341         Simplify .gitignore's WebKitLibraries/win section.
342         https://bugs.webkit.org/show_bug.cgi?id=182618
343
344         Reviewed by Per Arne Vollan.
345
346         We need to update this section for WinCairoRequirements regardless, but
347         it never needed to be this longwinded in the first place.
348
349         * .gitignore:
350
351 2018-02-08  Fujii Hironori  <Hironori.Fujii@sony.com>
352
353         [Meta][Win] Support ICU 59.1+
354         https://bugs.webkit.org/show_bug.cgi?id=181004
355
356         Reviewed by Alex Christensen.
357
358         ICU 59 changed the type of UChar from wchar_t to char16_t on
359         Windows. We need a lot of conversions between UChar* and wchar_t*
360         to call Windows API because it takes string as wchar_t*.
361
362         Fortunately, ICU is configurable to define UChar as wchar_t as
363         well as the prior ICU.
364         <http://icu-project.org/apiref/icu4c/umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac>
365
366         * Source/cmake/OptionsWin.cmake: Add a compile option -DUCHAR_TYPE=wchar_t.
367
368 2018-02-08  Michael Catanzaro  <mcatanzaro@igalia.com>
369
370         Unreviewed, switch -pthread to -lpthread per recommendation from Adrian
371         https://bugs.webkit.org/show_bug.cgi?id=182400
372         <rdar://problem/37252242>
373
374         This is tested and works fine.
375
376         * Source/cmake/WebKitCompilerFlags.cmake:
377
378 2018-02-05  Yousuke Kimoto  <yousuke.kimoto@sony.com>
379
380         [WinCairo] Refine WebKitLegacy and WebKit build for wincairo
381         https://bugs.webkit.org/show_bug.cgi?id=182478
382
383         Reviewed by Alex Christensen.
384
385         * Source/cmake/OptionsWinCairo.cmake: Added a ENABLE_WIN_CAIRO_WEBKIT option to build webkit for wincairo.
386
387 2018-02-05  Michael Catanzaro  <mcatanzaro@igalia.com>
388
389         Unreviewed, fix build using the new ENABLE_ADDRESS_SANITIZER option
390         https://bugs.webkit.org/show_bug.cgi?id=182400
391         <rdar://problem/37252242>
392
393         I failed to properly test a last-minute change.
394
395         * Source/cmake/WebKitCompilerFlags.cmake:
396
397 2018-02-05  Michael Catanzaro  <mcatanzaro@igalia.com>
398
399         [CMake] Add ENABLE_ADDRESS_SANITIZER to make it easier to build with asan support
400         https://bugs.webkit.org/show_bug.cgi?id=182400
401
402         Reviewed by Konstantin Tokarev.
403
404         * Source/cmake/OptionsGTK.cmake:
405         * Source/cmake/WebKitCompilerFlags.cmake:
406
407 2018-01-31  Michael Catanzaro  <mcatanzaro@igalia.com>
408
409         Update ReadMe.md
410         https://bugs.webkit.org/show_bug.cgi?id=182314
411
412         Reviewed by Alex Christensen.
413
414         Add download link for Epiphany Technology Preview. Improve build instructions for GTK. Add
415         build instructions for WPE. Add instructions to run MiniBrowser on Linux. Miscellaneous
416         typographical adjustments.
417
418         * ReadMe.md:
419
420 2018-01-30  Sergio Villar Senin  <svillar@igalia.com>
421
422         [WebVR][GTK][WPE] Exclude OpenVR from tarballs
423         https://bugs.webkit.org/show_bug.cgi?id=182284
424
425         Reviewed by Michael Catanzaro.
426
427         Added private build options for USE_OPENVR.
428
429         * Source/cmake/OptionsGTK.cmake:
430         * Source/cmake/OptionsWPE.cmake:
431
432 2018-01-30  Basuke Suzuki  <Basuke.Suzuki@sony.com>
433
434         [WinCairo] Fix forwarding header conflict of WebKit on WinCairo
435         https://bugs.webkit.org/show_bug.cgi?id=177202
436
437         Reviewed by Alex Christensen.
438
439         * Source/cmake/WebKitMacros.cmake:
440
441 2018-01-29  Jiewen Tan  <jiewen_tan@apple.com>
442
443         [WebAuthN] Add a compile-time feature flag
444         https://bugs.webkit.org/show_bug.cgi?id=182211
445         <rdar://problem/36936365>
446
447         Reviewed by Brent Fulgham.
448
449         * Source/cmake/WebKitFeatures.cmake:
450         * Source/cmake/tools/vsprops/FeatureDefines.props:
451         * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
452
453 2018-01-18  Sergio Villar Senin  <svillar@igalia.com>
454
455         [WebVR] Add OpenVR to the tree and to the build
456         https://bugs.webkit.org/show_bug.cgi?id=177298
457
458         Reviewed by Žan Doberšek.
459
460         * Source/CMakeLists.txt:
461         * Source/cmake/OptionsGTK.cmake: Enable USE_OPENVR.
462         * Source/cmake/OptionsWPE.cmake: Ditto.
463
464 2018-01-18  Dan Bernstein  <mitz@apple.com>
465
466         [Xcode] Shared schemes in the WebKit workspace still have build pre-actions that invoke copy-webkitlibraries-to-product-directory
467         https://bugs.webkit.org/show_bug.cgi?id=181784
468
469         Reviewed by Anders Carlsson.
470
471         * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: Remove the build pre-action.
472         * WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme: Ditto.
473
474 2018-01-17  Michael Catanzaro  <mcatanzaro@igalia.com>
475
476         WEBKIT_FRAMEWORK should not modify file-global include directories
477         https://bugs.webkit.org/show_bug.cgi?id=181656
478
479         Reviewed by Konstantin Tokarev.
480
481         Only modify the system include directories of the target passed to WEBKIT_FRAMEWORK.
482
483         * Source/cmake/WebKitMacros.cmake:
484
485 2018-01-17  Carlos Garcia Campos  <cgarcia@igalia.com>
486
487         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.6 release.
488
489         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
490
491 2018-01-15  Michael Catanzaro  <mcatanzaro@igalia.com>
492
493         REGRESSION(r226266): [GTK] RELEASE_ASSERT(reservedZoneSize >= minimumReservedZoneSize) in JSC::VM::updateStackLimits
494         https://bugs.webkit.org/show_bug.cgi?id=181438
495         <rdar://problem/36376724>
496
497         Reviewed by Carlos Garcia Campos.
498
499         Build JSC as a shared library.
500
501         Stop using -fvisibility=hidden. This is a shame, but it is causing problems that I don't
502         know how to fix.
503
504         * Source/cmake/OptionsGTK.cmake:
505         * Source/cmake/WebKitCompilerFlags.cmake:
506
507 2018-01-11  Keith Miller  <keith_miller@apple.com>
508
509         Rename ENABLE_ASYNC_ITERATION to ENABLE_JS_ASYNC_ITERATION
510         https://bugs.webkit.org/show_bug.cgi?id=181573
511
512         Reviewed by Simon Fraser.
513
514         * Source/cmake/WebKitFeatures.cmake:
515
516 2018-01-10  Per Arne Vollan  <pvollan@apple.com>
517
518         [Win] WebKitLegacy should be a dll, not a static library.
519         https://bugs.webkit.org/show_bug.cgi?id=181500
520
521         Reviewed by Alex Christensen.
522
523         Set WebKitLegacy library type to shared.
524
525         * Source/cmake/OptionsWin.cmake:
526
527 2018-01-09  Carlos Garcia Campos  <cgarcia@igalia.com>
528
529         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.5 release.
530
531         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
532
533 2018-01-09  Carlos Garcia Campos  <cgarcia@igalia.com>
534
535         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.4 release.
536
537         * Source/cmake/OptionsGTK.cmake: Bump version numbers.
538
539 2018-01-05  Fujii Hironori  <Hironori.Fujii@sony.com>
540
541         REGRESSION(r226306)[Win][CMake] Unnecessary recompilations triggered by unconditionally copied header files of DerivedSources
542         https://bugs.webkit.org/show_bug.cgi?id=181324
543
544         Reviewed by Konstantin Tokarev.
545
546         r226306 changed to use cmake -E copy to copy header files of
547         DerivedSources. This command copies files unconditionally, then
548         introduced unnecessary recompilations.
549
550         * Source/cmake/WebKitMacros.cmake: Use copy_if_different instead of copy.
551
552 2018-01-03  Ting-Wei Lan  <lantw44@gmail.com>
553
554         Replace hard-coded paths in shebangs with #!/usr/bin/env
555         https://bugs.webkit.org/show_bug.cgi?id=181040
556
557         Reviewed by Alex Christensen.
558
559         * Source/cmake/tools/scripts/auto-version.pl:
560         * Source/cmake/tools/scripts/feature-defines.pl:
561         * Source/cmake/tools/scripts/version-stamp.pl:
562
563 == Rolled over to ChangeLog-2018-01-01 ==