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