1 2018-07-02 Adrian Perez de Castro <aperez@igalia.com>
3 [CMake] Use JOB_POOLS to avoid memory-hungry linker processes running at the same time
4 https://bugs.webkit.org/show_bug.cgi?id=187254
6 Reviewed by Michael Catanzaro.
8 * Source/cmake/WebKitCommon.cmake: Set the maximum number of
9 concurrent link processes using job pools (four for release builds,
10 two otherwise) to avoid running out of memory during builds.
12 2018-07-02 Ryosuke Niwa <rniwa@webkit.org>
14 Repository fix after r233427 and r233443.
18 2018-06-30 Adam Barth <abarth@webkit.org>
20 Port JavaScriptCore to OS(FUCHSIA)
21 https://bugs.webkit.org/show_bug.cgi?id=187223
23 Reviewed by Daniel Bates.
25 * Source/cmake/OptionsJSCOnly.cmake: Add back ICU.
27 2018-06-29 Ross Kirsling <ross.kirsling@sony.com>
29 [JSCOnly] Restore Windows build.
30 https://bugs.webkit.org/show_bug.cgi?id=187127
32 Reviewed by Michael Catanzaro.
34 * Source/cmake/OptionsJSCOnly.cmake:
35 Don't forget to set -DUCHAR_TYPE=wchar_t for ICU on Windows.
36 Use bin64/lib64 on Windows (for consistency with full WebKit build).
38 2018-06-28 Adam Barth <abarth@webkit.org>
40 Switch OS(FUCHSIA) to using JSCOnly
41 https://bugs.webkit.org/show_bug.cgi?id=187133
43 Reviewed by Yusuke Suzuki.
45 Rather than creating a Fuchsia port, OS(FUCHSIA) now uses the JSCOnly
48 * CMakeLists.txt: Set the WTF_OS_FUCHSIA flag
49 * Source/cmake/OptionsFuchsia.cmake: Removed.
50 * Source/cmake/OptionsJSCOnly.cmake: Temporarily disable ICU for
51 OS(FUCHSIA). We'll get ICU wired in, but I'd like to work through the
52 other compile errors first.
54 2018-06-27 Adam Barth <abarth@webkit.org>
56 Add Fuchsia support to build-jsc
57 https://bugs.webkit.org/show_bug.cgi?id=187086
59 Reviewed by Yusuke Suzuki.
61 Add Fuchsia port to cmake build system. After this patch, the build
62 errors out due to a missing sysroot.
65 * Source/cmake/OptionsFuchsia.cmake: Added.
67 2018-06-18 Zan Dobersek <zdobersek@igalia.com>
69 Unreviewed GTK+ gardening. Updating the WPT expectations by removing
70 failure expectations for 2dcontext tests covering CSS HSL/HSLA color
71 parsing and createImageBitmap() API that are nowadays passing.
73 * WebPlatformTests/gtk/TestExpectations.json:
75 2018-06-17 Michael Catanzaro <mcatanzaro@igalia.com>
77 [CMake] Automatically disable JIT and enable USE_SYSTEM_MALLOC on unfamiliar architectures
78 https://bugs.webkit.org/show_bug.cgi?id=186722
80 Reviewed by Darin Adler.
82 We know that the JSC JIT and bmalloc both work on only a limited set of architectures. In
83 Fedora, we have to manually disable these when building for s390x, ppc64, and ppc64le. But
84 it's really easy to do the right thing automatically, so we might as well.
86 * Source/cmake/WebKitFeatures.cmake:
88 2018-06-13 Thibault Saunier <tsaunier@igalia.com>
90 [WPE] Build getUserMedia support
91 https://bugs.webkit.org/show_bug.cgi?id=186547
93 Reviewed by Alejandro G. Castro.
95 * Source/cmake/OptionsWPE.cmake: Build MediaStream support
97 2018-06-12 Philippe Normand <pnormand@igalia.com>
99 [GStreamer] Bump required version to 1.8.3
100 https://bugs.webkit.org/show_bug.cgi?id=186558
102 Reviewed by Xabier Rodriguez-Calvar.
104 * Source/cmake/GStreamerChecks.cmake: Bump to 1.8.3 which is the
105 version shipped in the current Ubuntu LTS we support (16.04).
107 2018-06-12 Zan Dobersek <zdobersek@igalia.com>
109 Add run-web-platform-tests script
110 https://bugs.webkit.org/show_bug.cgi?id=183356
112 Reviewed by Carlos Alberto Lopez Perez.
114 Store port-specific test expectations and test manifest files for the
115 web-platform-tests test runs under the top-level WebPlatformTests
118 TestExpectations.json file lists all the failing or disabled tests
119 or subtests that are to be expected in the test run. This information is
120 parsed in the run-web-platform-tests script and used to build
121 test-specific metadata files (ending with .ini) inside a temporary
122 directory that is then used during the test run. JSON format is used to
123 follow the WebDriver test suite in how it manages expectations, and to
124 avoid having to manually manage .ini files for every deviant test case.
126 TestManifest.ini file is used to fine-tune which tests are to be enabled
127 by default. For the GTK+ port, we currently disable all tests by default
128 but then specifically enable tests under the 2dcontext and WebCryptoAPI
129 directories. This will allow for gradual enabling of further tests.
131 * WebPlatformTests/gtk/TestExpectations.json: Added.
132 * WebPlatformTests/gtk/TestManifest.ini: Added.
134 2018-06-11 Carlos Garcia Campos <cgarcia@igalia.com>
136 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.4 release.
138 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
140 2018-06-11 Michael Saboff <msaboff@apple.com>
142 JavaScriptCore: Disable 32-bit JIT on Windows
143 https://bugs.webkit.org/show_bug.cgi?id=185989
145 Reviewed by Mark Lam.
147 * Source/cmake/OptionsWin.cmake:
149 2018-06-10 Carlos Garcia Campos <cgarcia@igalia.com>
151 [WPE] Add a MiniBrowser and use it to run WebDriver tests
152 https://bugs.webkit.org/show_bug.cgi?id=186345
154 Reviewed by Žan Doberšek.
156 Add an option to enable building the MiniBrowser.
158 * Source/cmake/FindWaylandProtocols.cmake: Added.
159 * Source/cmake/OptionsWPE.cmake:
161 2018-06-06 Dan Bernstein <mitz@apple.com>
163 [Xcode] Opt out of the New Build System
164 https://bugs.webkit.org/show_bug.cgi?id=186380
166 Reviewed by Alexey Proskuryakov.
168 * WebKit.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: Use the Legacy Build System.
170 2018-06-06 Dan Bernstein <mitz@apple.com>
172 Check in a file created by the Xcode 10 beta.
174 * WebKit.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: Added.
176 2018-05-28 Carlos Garcia Campos <cgarcia@igalia.com>
178 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.3 release.
180 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
182 2018-05-25 Adrian Perez de Castro <aperez@igalia.com>
184 Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.2 release.
186 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
188 2018-05-22 Alberto Garcia <berto@igalia.com>
190 [CMake] Properly detect compiler flags, needed libs, and fallbacks for usage of 64-bit atomic operations
191 https://bugs.webkit.org/show_bug.cgi?id=182622
192 <rdar://problem/40292317>
194 Reviewed by Michael Catanzaro.
196 * Source/cmake/WebKitCompilerFlags.cmake:
197 Move the test to detect whether we need to link against libatomic
198 to a common CMake file so it can be used from both JavaScriptCore
201 2018-05-22 Michael Catanzaro <mcatanzaro@igalia.com>
203 Unreviewed, rolling out r231843.
209 "[CMake] Properly detect compiler flags, needed libs, and
210 fallbacks for usage of 64-bit atomic operations"
211 https://bugs.webkit.org/show_bug.cgi?id=182622
212 https://trac.webkit.org/changeset/231843
214 2018-05-21 Fujii Hironori <Hironori.Fujii@sony.com>
216 [WinCairo] Enable WebKit build by default
217 https://bugs.webkit.org/show_bug.cgi?id=185141
219 Reviewed by Per Arne Vollan.
221 * Source/cmake/OptionsWin.cmake: Disable
222 ENABLE_NETSCAPE_PLUGIN_API unconditionally for WinCairo port
223 because it builds both WK1 and WK2.
224 * Source/cmake/OptionsWinCairo.cmake: Turn ENABLE_WEBKIT on by default.
225 Remove BUILDING_WIN_CAIRO_WEBKIT macro.
227 2018-05-21 Carlos Garcia Campos <cgarcia@igalia.com>
229 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.2 release.
231 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
233 2018-05-17 Carlos Alberto Lopez Perez <clopez@igalia.com>
235 [WPE] Implement and enable FULLSCREEN_API
236 https://bugs.webkit.org/show_bug.cgi?id=185676
238 Reviewed by Žan Doberšek.
240 Remove the CMake option to disable this option for WPE.
241 This feature gets enabled now via Source/cmake/WebKitFeatures.cmake
243 * Source/cmake/OptionsWPE.cmake:
245 2018-05-16 Don Olmstead <don.olmstead@sony.com>
247 [WinCairo] Update WinCairoRequirements
248 https://bugs.webkit.org/show_bug.cgi?id=185700
250 Reviewed by Per Arne Vollan.
252 * Source/cmake/OptionsWinCairo.cmake:
254 2018-05-16 Andy VanWagoner <andy@vanwagoner.family>
256 Add support for Intl NumberFormat formatToParts
257 https://bugs.webkit.org/show_bug.cgi?id=185375
259 Reviewed by Yusuke Suzuki.
261 Add flag for NumberFormat formatToParts.
263 * Source/cmake/OptionsJSCOnly.cmake:
264 * Source/cmake/WebKitFeatures.cmake:
266 2018-05-14 Yusuke Suzuki <utatane.tea@gmail.com>
268 [Win] Use C++17 in MSVC
269 https://bugs.webkit.org/show_bug.cgi?id=185232
271 Reviewed by Alex Christensen.
273 Use /std:c++17 option.
275 * Source/cmake/OptionsMSVC.cmake:
277 2018-05-16 Alberto Garcia <berto@igalia.com>
279 [CMake] Properly detect compiler flags, needed libs, and fallbacks for usage of 64-bit atomic operations
280 https://bugs.webkit.org/show_bug.cgi?id=182622
282 Reviewed by Michael Catanzaro.
284 * Source/cmake/OptionsGTK.cmake:
285 * Source/cmake/OptionsJSCOnly.cmake:
286 * Source/cmake/OptionsWPE.cmake:
287 Enable THREADS_PREFER_PTHREAD_FLAG. This uses -pthread instead of
288 -lpthread, fixing the 64-bit RISC-V build of the GTK+ port due to
289 missing atomic primitives.
291 * Source/cmake/WebKitCompilerFlags.cmake:
292 Move the test to detect whether we need to link against libatomic
293 to a common CMake file so it can be used from both JavaScriptCore
296 2018-05-14 Zan Dobersek <zdobersek@igalia.com>
298 [GTK] REGRESSION(r231170) Build broken with Clang 5.0
299 https://bugs.webkit.org/show_bug.cgi?id=185198
301 Reviewed by Michael Catanzaro.
303 * Source/cmake/WebKitCompilerFlags.cmake: Fall back to the -std=c++1z
304 compiler flag if -std=c++17 is not supported. If that flag is not
305 supported either, bail with an error message.
307 2018-05-09 Jan Alexander Steffens <jan.steffens@gmail.com>
309 [GTK] gtk-doc installation subdir duplicated
310 https://bugs.webkit.org/show_bug.cgi?id=185468
312 Reviewed by Carlos Garcia Campos.
314 The GTK docs are installed into a duplicated subdir,
315 e.g. /usr/share/doc/gtk-doc/html/webkit2gtk-4.0/webkit2gtk-4.0.
317 * Source/PlatformGTK.cmake:
319 2018-05-09 Michael Catanzaro <mcatanzaro@igalia.com>
321 Unreviewed. Bump WPE soname for good measure.
323 * Source/cmake/OptionsWPE.cmake:
325 2018-05-09 Michael Catanzaro <mcatanzaro@igalia.com>
327 Unreviewed. Update OptionsWPE.cmake and NEWS for 2.21.1 release.
329 * Source/cmake/OptionsWPE.cmake: Bump version numbers.
331 2018-05-06 Yusuke Suzuki <utatane.tea@gmail.com>
333 [JSC][GTK][JSCONLY] Use capstone disassembler
334 https://bugs.webkit.org/show_bug.cgi?id=185283
336 Reviewed by Michael Catanzaro.
338 * Source/CMakeLists.txt:
339 * Source/cmake/FindLLVM.cmake: Removed.
340 * Source/cmake/OptionsCommon.cmake:
341 * Source/cmake/OptionsGTK.cmake:
342 * Source/cmake/OptionsJSCOnly.cmake:
343 * Source/cmake/OptionsWPE.cmake:
345 2018-05-08 Valerie R Young <valerie@bocoup.com>
347 test262/Runner.pm: create results dir for results of test262 run
348 https://bugs.webkit.org/show_bug.cgi?id=185392
350 Reviewed by Michael Saboff.
352 Remove reference to no longer existing files.
356 2018-05-07 Yusuke Suzuki <utatane.tea@gmail.com>
358 [JSCOnly] Enable Intl.PluralRules
359 https://bugs.webkit.org/show_bug.cgi?id=185359
361 Reviewed by Daniel Bates.
363 Enable Intl.PluralRules because JSCOnly port enables features aggressively.
365 * Source/cmake/OptionsJSCOnly.cmake:
367 2018-05-07 Don Olmstead <don.olmstead@sony.com>
369 [WinCairo] Disable plugin api when building modern WebKit
370 https://bugs.webkit.org/show_bug.cgi?id=185312
372 Reviewed by Michael Catanzaro.
374 * Source/cmake/OptionsWin.cmake:
376 2018-05-02 Valerie R Young <valerie@bocoup.com>
378 test262/Runner.pm: save summary to file
379 https://bugs.webkit.org/show_bug.cgi?id=185200
381 Reviewed by Michael Saboff.
385 2018-05-01 Leo Balter <leonardo.balter@gmail.com>
387 Auto save the results for Test262
388 https://bugs.webkit.org/show_bug.cgi?id=184926
390 Reviewed by Michael Saboff.
392 2018-05-01 Oleksandr Skachkov <gskachkov@gmail.com>
394 WebAssembly: add support for stream APIs - JavaScript API
395 https://bugs.webkit.org/show_bug.cgi?id=183442
397 Reviewed by Yusuke Suzuki and JF Bastien.
399 * Source/cmake/WebKitFeatures.cmake:
401 2018-04-30 JF Bastien <jfbastien@apple.com>
403 Use some C++17 features
404 https://bugs.webkit.org/show_bug.cgi?id=185135
406 Reviewed by Alex Christensen.
408 As discussed here [0] let's move WebKit to a subset of C++17. We
409 now require GCC 6 [1] which means that, according to [2] we can
410 use the following C++17 language features (I removed some
413 - New auto rules for direct-list-initialization
414 - static_assert with no message
415 - typename in a template template parameter
416 - Nested namespace definition
417 - Attributes for namespaces and enumerators
418 - u8 character literals
419 - Allow constant evaluation for all non-type template arguments
421 - Unary fold expressions and empty parameter packs
422 - __has_include in preprocessor conditional
423 - Differing begin and end types in range-based for
424 - Improving std::pair and std::tuple
426 Consult the Tony Tables [3] to see before / after examples.
428 Of course we can use any library feature if we're willing to
429 import them to WTF (and they don't require language support).
432 [0]: https://lists.webkit.org/pipermail/webkit-dev/2018-March/029922.html
433 [1]: https://trac.webkit.org/changeset/231152/webkit
434 [2]: https://en.cppreference.com/w/cpp/compiler_support
435 [3]: https://github.com/tvaneerd/cpp17_in_TTs/blob/master/ALL_IN_ONE.md
437 * Source/cmake/WebKitCompilerFlags.cmake:
439 2018-04-29 Michael Catanzaro <mcatanzaro@igalia.com>
441 [CMake] Require GCC 6
442 https://bugs.webkit.org/show_bug.cgi?id=184985
444 Reviewed by Alex Christensen.
450 2018-04-26 Daniel Bates <dabates@apple.com>
452 ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
453 https://bugs.webkit.org/show_bug.cgi?id=184161
454 <rdar://problem/39051645>
456 Reviewed by Dan Bernstein.
458 * ManualTests/DragInlinePDFImageDocument.html: Added.
459 * ManualTests/resources/simple.pdf: Added.
461 2018-04-26 Andy VanWagoner <thetalecrafter@gmail.com>
463 [INTL] Implement Intl.PluralRules
464 https://bugs.webkit.org/show_bug.cgi?id=184312
466 Reviewed by JF Bastien.
468 Added Intl.PluralRules feature flag.
470 * Source/cmake/WebKitFeatures.cmake:
472 2018-04-26 Zan Dobersek <zdobersek@igalia.com>
474 [GTK][WPE] Initial ASYNC_SCROLLING support
475 https://bugs.webkit.org/show_bug.cgi?id=184961
477 Reviewed by Carlos Garcia Campos.
479 * Source/cmake/OptionsGTK.cmake: Enable ASYNC_SCROLLING as a private option.
480 * Source/cmake/OptionsWPE.cmake: Ditto.
482 2018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
484 [WPE] Build and link against latest WPEBackend and WPEBackend-fdo
485 https://bugs.webkit.org/show_bug.cgi?id=184643
487 Reviewed by Žan Doberšek.
489 Update find modules to include the API versions.
491 * Source/cmake/FindWPEBackend-fdo.cmake:
492 * Source/cmake/FindWPEBackend.cmake:
494 2018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
496 [CMake] Some options should be marked as advanced
497 https://bugs.webkit.org/show_bug.cgi?id=184972
499 Reviewed by Konstantin Tokarev.
501 * Source/cmake/FindLibGcrypt.cmake:
502 * Source/cmake/FindWebP.cmake:
504 2018-04-25 Michael Catanzaro <mcatanzaro@igalia.com>
506 [GTK] Miscellaneous build cleanups
507 https://bugs.webkit.org/show_bug.cgi?id=184399
509 Reviewed by Žan Doberšek.
511 * Source/cmake/OptionsGTK.cmake:
513 2018-04-24 Leo Balter <leonardo.balter@gmail.com>
515 Land test262 test results associated with Test262 runner
516 https://bugs.webkit.org/show_bug.cgi?id=184667
518 Reviewed by Michael Saboff.
520 * .gitignore: Ignore test262 results file.
522 2018-04-24 Zan Dobersek <zdobersek@igalia.com>
524 [WPE] Remove libgbm dependency
525 https://bugs.webkit.org/show_bug.cgi?id=184906
527 Reviewed by Carlos Garcia Campos.
529 Remove the libgbm CMake search module. It's not necessary anymore
532 * Source/cmake/FindLibGBM.cmake: Removed.
534 2018-04-23 Michael Catanzaro <mcatanzaro@igalia.com>
536 [GTK] check target looks broken
537 https://bugs.webkit.org/show_bug.cgi?id=184407
539 Reviewed by Carlos Garcia Campos.
541 It's pretty clear that nobody has been using check for a long time.
543 We got rid of check-for-webkitdom-api-breaks a long time ago, when we stopped autogenerating
544 the DOM API, but it's still used in the check target. Fix this.
546 Also, the check target for some reason runs itself from the Source subdirectory of the
547 builddir, but the test script expects to be run from the toplevel build directory. Fix this
550 Add VERBATIM for good measure.
552 * Source/PlatformGTK.cmake:
554 2018-04-20 Daniel Bates <dabates@apple.com>
556 Unreviewed, rolling out r230117.
558 Broke find-in-page for PDFs
562 "ASSERTION FAILED: ASSERT(!containsImage ||
563 MIMETypeRegistry::isSupportedImageResourceMIMEType([resource
564 MIMEType])) in -[NSPasteboard(WebExtras)
565 _web_writePromisedRTFDFromArchive:containsImage:]"
566 https://bugs.webkit.org/show_bug.cgi?id=184161
567 https://trac.webkit.org/changeset/230117
569 2018-04-20 Carlos Garcia Campos <cgarcia@igalia.com>
571 [GTK] Local cross references are broken in API documentation
572 https://bugs.webkit.org/show_bug.cgi?id=184771
574 Reviewed by Michael Catanzaro.
576 Update the documentation html paths and install the JSC GLib API too.
578 * Source/PlatformGTK.cmake:
580 2018-04-18 Carlos Garcia Campos <cgarcia@igalia.com>
582 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.21.1 release.
584 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
586 2018-04-17 Zan Dobersek <zdobersek@igalia.com>
588 [CMake] Add and enable the ENABLE_CSS_ANIMATIONS_LEVEL_2 feature define
589 https://bugs.webkit.org/show_bug.cgi?id=184681
591 Reviewed by Carlos Garcia Campos.
593 * Source/cmake/WebKitFeatures.cmake: Add the ENABLE_CSS_ANIMATIONS_LEVEL_2
594 feature define. Follow Cocoa ports and enable it by default.
596 2018-04-15 Michael Catanzaro <mcatanzaro@igalia.com>
598 [WPE] Install files needed for WebKitWebExtensions
599 https://bugs.webkit.org/show_bug.cgi?id=179915
601 Reviewed by Žan Doberšek.
603 * Source/cmake/OptionsWPE.cmake:
605 2018-04-12 Ryan Haddad <ryanhaddad@apple.com>
607 Unreviewed, rolling out r230554.
609 The non-ASCII character in the filename causes issues with SVN
613 "input.webkitEntries does not work as expected when folder
614 contains accented chars"
615 https://bugs.webkit.org/show_bug.cgi?id=184517
616 https://trac.webkit.org/changeset/230554
618 2018-04-12 Zan Dobersek <zdobersek@igalia.com>
620 [WPE] Switch testing process to using WPEBackend-fdo
621 https://bugs.webkit.org/show_bug.cgi?id=184357
623 Reviewed by Carlos Alberto Lopez Perez.
625 * Source/cmake/FindWPEBackend-fdo.cmake: Renamed from Source/cmake/FindWPEBackend-mesa.cmake.
627 2018-04-11 Thibault Saunier <tsaunier@igalia.com>
629 [GStreamer] Use of playbin3 when USE_PLAYBIN3 environment variable is set
630 https://bugs.webkit.org/show_bug.cgi?id=184498
632 Reviewed by Philippe Normand.
634 This is the same behaviour as with playbin itself.
636 Make sure to keep using "playbin" for MediaSource.
638 * Source/cmake/GStreamerDefinitions.cmake:
640 2018-04-09 Michael Catanzaro <mcatanzaro@igalia.com>
642 [WPE] Use GNU install directories
643 https://bugs.webkit.org/show_bug.cgi?id=184377
645 Reviewed by Carlos Garcia Campos.
647 Notably, this means all the CMake arguments that distributors use to customize install
648 directories (-DCMAKE_INSTALL_*DIR) will no longer be ignored.
650 * Source/cmake/OptionsCommon.cmake:
651 * Source/cmake/OptionsWPE.cmake:
653 2018-04-08 Fujii Hironori <Hironori.Fujii@sony.com>
655 [CMake] WebKit should link to WebCore as a PRIVATE library if WebCore is a static library
656 https://bugs.webkit.org/show_bug.cgi?id=184127
658 Reviewed by Konstantin Tokarev.
660 Building TestWebKitLib on Windows causes a linkage error of
661 multiply defined symbols because TestWebKitLib links to
662 both WebCore and WebKit. TestWebKitLib explicitly links only with
663 WebKit, But, WebCore is propagated because WebKit links WebCore as
666 * Source/cmake/OptionsGTK.cmake (ADD_WHOLE_ARCHIVE_TO_LIBRARIES):
667 Do not wrap PRIVATE and PUBLIC keywords with -Wl,--whole-archive.
669 2018-04-08 Michael Catanzaro <mcatanzaro@igalia.com>
671 [WPE][GTK] Remove applicationDirectoryPath() and sharedResourcePath()
672 https://bugs.webkit.org/show_bug.cgi?id=184381
674 Reviewed by Carlos Garcia Campos.
676 * Source/cmake/OptionsGTK.cmake:
677 * Source/cmake/OptionsWPE.cmake:
679 2018-04-02 Per Arne Vollan <pvollan@apple.com>
681 Remove references to internal version of WebKitQuartzCoreAdditions in CMake files.
682 https://bugs.webkit.org/show_bug.cgi?id=184246
683 <rdar://problem/39116563>
685 Unreviewed build fix.
687 * Source/PlatformWin.cmake:
689 2018-04-02 Alejandro G. Castro <alex@igalia.com>
691 [GTK] Make libwebrtc backend buildable for GTK port
692 https://bugs.webkit.org/show_bug.cgi?id=178860
694 Reviewed by Youenn Fablet.
696 * Source/CMakeLists.txt: Add the libwebrtc directory to the compilation.
697 * Source/cmake/OptionsGTK.cmake: Add the USE_LIBWEBRTC option to
698 allow compilation of the specific code.
700 2018-03-30 Daniel Bates <dabates@apple.com>
702 ASSERTION FAILED: ASSERT(!containsImage || MIMETypeRegistry::isSupportedImageResourceMIMEType([resource MIMEType])) in -[NSPasteboard(WebExtras) _web_writePromisedRTFDFromArchive:containsImage:]
703 https://bugs.webkit.org/show_bug.cgi?id=184161
705 Reviewed by Per Arne Vollan.
707 * ManualTests/DragInlinePDFImageDocument.html: Added.
708 * ManualTests/resources/simple.pdf: Added.
710 2018-03-28 Tim Horton <timothy_horton@apple.com>
712 Make it possible to disable building the tools with Make
713 https://bugs.webkit.org/show_bug.cgi?id=184109
715 Reviewed by Simon Fraser.
719 2018-03-25 Carlos Garcia Campos <cgarcia@igalia.com>
721 [GTK][WPE] Add API to convert between DOM and JSCValue
722 https://bugs.webkit.org/show_bug.cgi?id=183448
724 Reviewed by Michael Catanzaro.
726 Define FORWARDING_HEADERS_WPE_DOM_DIR.
728 * Source/cmake/OptionsWPE.cmake:
730 2018-03-22 Adrian Perez de Castro <aperez@igalia.com>
732 [WPE] Enable WOFF2 support
733 https://bugs.webkit.org/show_bug.cgi?id=178158
735 Reviewed by Frédéric Wang.
737 * Source/cmake/OptionsWPE.cmake: Add needed logic to detect the Brotli and WOFF2 libraries.
739 2018-03-21 Carlos Garcia Campos <cgarcia@igalia.com>
741 [GTK][WPE] Initial implementation of JavaScriptCore glib bindings
742 https://bugs.webkit.org/show_bug.cgi?id=164061
744 Reviewed by Michael Catanzaro.
746 Set global variables used by the makefiles.
748 * Source/cmake/OptionsGTK.cmake:
749 * Source/cmake/OptionsWPE.cmake:
751 2018-03-15 Ms2ger <Ms2ger@igalia.com>
753 [GTK][WPE] Enable service workers
754 https://bugs.webkit.org/show_bug.cgi?id=178576
756 Reviewed by Žan Doberšek.
758 * Source/cmake/OptionsGTK.cmake:
759 * Source/cmake/OptionsWPE.cmake:
761 2018-03-12 Yoav Weiss <yoav@yoav.ws>
763 Runtime flag for link prefetch and remove link subresource.
764 https://bugs.webkit.org/show_bug.cgi?id=183540
766 Reviewed by Chris Dumez.
768 Remove the LINK_PREFETCH build time flag.
770 * Source/cmake/OptionsWin.cmake:
771 * Source/cmake/WebKitFeatures.cmake:
772 * Source/cmake/tools/vsprops/FeatureDefines.props:
773 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
775 2018-03-12 Zan Dobersek <zdobersek@igalia.com>
777 Unreviewed. Unbreak the WPE layout testing that's been broken since
778 r229470. Due to disassociation between ENABLE(ACCESSIBILITY) and
779 HAVE(ACCESSIBILITY), the injected bundle for the WPE port was left with
780 undefined symbols. This is fixed with ENABLE_ACCESSIBILITY being enabled
781 for the WPE port as well.
783 * Source/cmake/OptionsWPE.cmake:
785 2018-03-12 Carlos Garcia Campos <cgarcia@igalia.com>
787 Unreviewed. Fix library version of JavaScriptCoreGTK.
789 * Source/cmake/OptionsGTK.cmake:
791 2018-03-09 Carlos Garcia Campos <cgarcia@igalia.com>
793 Unreviewed. Bump WebKitGTK+ version to 2.21.0.
795 * Source/cmake/OptionsGTK.cmake:
797 2018-03-08 Tim Horton <timothy_horton@apple.com>
799 Add a way to not build libwebrtc when building WebKit via Makefiles
800 https://bugs.webkit.org/show_bug.cgi?id=183437
801 <rdar://problem/38254840>
803 Reviewed by Dan Bernstein.
807 2018-03-05 Don Olmstead <don.olmstead@sony.com>
809 [CMake] Split JSC header copying into public and private targets
810 https://bugs.webkit.org/show_bug.cgi?id=183251
812 Reviewed by Konstantin Tokarev.
814 * Source/cmake/WebKitMacros.cmake:
816 2018-03-02 Don Olmstead <don.olmstead@sony.com>
818 Add clang-format configuration
819 https://bugs.webkit.org/show_bug.cgi?id=183302
821 Reviewed by Ryosuke Niwa.
823 * .clang-format: Added.
825 2018-03-01 Michael Catanzaro <mcatanzaro@igalia.com>
827 [CMake] configure failure for aarch64
828 https://bugs.webkit.org/show_bug.cgi?id=183268
830 Unreviewed build fix. This failure is caused by a simple typo.
832 * Source/cmake/OptionsCommon.cmake:
834 2018-02-26 Yousuke Kimoto <yousuke.kimoto@sony.com>
836 [WinCairo] WebKit2_C.h should be included for TestWebKit
837 https://bugs.webkit.org/show_bug.cgi?id=182682
839 Reviewed by Yusuke Suzuki.
841 Added a new definition "BUILDING_WIN_CAIRO_WEBKIT" to specify
842 the wincairo webkit build.
844 * Source/cmake/OptionsWinCairo.cmake:
846 2018-02-26 Fujii Hironori <Hironori.Fujii@sony.com>
848 [CMake][OpenVR] Linkage errors happen because only OpenVR is compiled with -stdlib=libc++ if Clang is used
849 https://bugs.webkit.org/show_bug.cgi?id=183116
851 Reviewed by Žan Doberšek.
853 OpenVR has a option USE_LIBCXX to enable/disable that behavior. Let's disable it.
855 * Source/CMakeLists.txt: Added a option command for USE_LIBCXX to set OFF as default.
857 2018-02-21 Don Olmstead <don.olmstead@sony.com>
859 [CMake] Expose HAVE macros globally
860 https://bugs.webkit.org/show_bug.cgi?id=183011
862 Reviewed by Michael Catanzaro.
864 * Source/cmake/OptionsCommon.cmake:
865 * Source/cmake/WebKitFeatures.cmake:
867 2018-02-21 Don Olmstead <don.olmstead@sony.com>
869 [CMake][Win] Use cmakeconfig.h rather than config.h and Platform.h
870 https://bugs.webkit.org/show_bug.cgi?id=182883
872 Reviewed by Per Arne Vollan.
874 * Source/cmake/OptionsAppleWin.cmake:
875 * Source/cmake/OptionsWin.cmake:
876 * Source/cmake/OptionsWinCairo.cmake:
878 2018-02-21 Michael Catanzaro <mcatanzaro@igalia.com>
880 [GTK] USE_UPOWER causes crashes inside a chroot or on systems with broken dbus/upower
881 https://bugs.webkit.org/show_bug.cgi?id=181825
883 Reviewed by Carlos Garcia Campos.
885 Get rid of the upower-glib dependency. We will use upower's D-Bus API instead.
887 * Source/cmake/FindUPowerGLib.cmake: Removed.
888 * Source/cmake/OptionsGTK.cmake:
890 2018-02-20 Adrian Perez de Castro <aperez@igalia.com>
892 [GTK][CMake] Support building with Enchant 2.x
893 https://bugs.webkit.org/show_bug.cgi?id=182933
895 Reviewed by Michael Catanzaro.
897 * Source/cmake/FindEnchant.cmake: Check for both the "enchant" and "enchant-2"
898 pkg-config components, picking the first available for which the headers and
901 2018-02-19 Philippe Normand <pnormand@igalia.com>
903 [GStreamer] Playbin3 support
904 https://bugs.webkit.org/show_bug.cgi?id=182530
906 Reviewed by Xabier Rodriguez-Calvar.
908 * Source/cmake/GStreamerDefinitions.cmake: New
909 USE(GSTREAMER_PLAYBIN3) feature. This should be enabled only for
910 very recent versions of GStreamer (1.14 at least) and is optional, for now.
912 2018-02-18 Philippe Normand <pnormand@igalia.com>
914 [GTK][WPE] Fullscreen video is broken
915 https://bugs.webkit.org/show_bug.cgi?id=182740
917 Reviewed by Michael Catanzaro.
919 * Source/cmake/WebKitFeatures.cmake: Enable the
920 VIDEO_USES_ELEMENT_FULLSCREEN feature on CMake ports.
922 2018-02-16 Dean Jackson <dino@apple.com>
924 Use OPENGL macros to be more clear about which OpenGL/ES WebGL uses on Cocoa
925 https://bugs.webkit.org/show_bug.cgi?id=182894
927 Reviewed by Tim Horton.
929 Rename OPENGL_ES_2 to OPENGL_ES.
931 * Source/cmake/OptionsGTK.cmake:
932 * Source/cmake/OptionsWPE.cmake:
934 2018-02-09 Ross Kirsling <ross.kirsling@sony.com>
936 Simplify .gitignore's WebKitLibraries/win section.
937 https://bugs.webkit.org/show_bug.cgi?id=182618
939 Reviewed by Per Arne Vollan.
941 We need to update this section for WinCairoRequirements regardless, but
942 it never needed to be this longwinded in the first place.
946 2018-02-08 Fujii Hironori <Hironori.Fujii@sony.com>
948 [Meta][Win] Support ICU 59.1+
949 https://bugs.webkit.org/show_bug.cgi?id=181004
951 Reviewed by Alex Christensen.
953 ICU 59 changed the type of UChar from wchar_t to char16_t on
954 Windows. We need a lot of conversions between UChar* and wchar_t*
955 to call Windows API because it takes string as wchar_t*.
957 Fortunately, ICU is configurable to define UChar as wchar_t as
958 well as the prior ICU.
959 <http://icu-project.org/apiref/icu4c/umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac>
961 * Source/cmake/OptionsWin.cmake: Add a compile option -DUCHAR_TYPE=wchar_t.
963 2018-02-08 Michael Catanzaro <mcatanzaro@igalia.com>
965 Unreviewed, switch -pthread to -lpthread per recommendation from Adrian
966 https://bugs.webkit.org/show_bug.cgi?id=182400
967 <rdar://problem/37252242>
969 This is tested and works fine.
971 * Source/cmake/WebKitCompilerFlags.cmake:
973 2018-02-05 Yousuke Kimoto <yousuke.kimoto@sony.com>
975 [WinCairo] Refine WebKitLegacy and WebKit build for wincairo
976 https://bugs.webkit.org/show_bug.cgi?id=182478
978 Reviewed by Alex Christensen.
980 * Source/cmake/OptionsWinCairo.cmake: Added a ENABLE_WIN_CAIRO_WEBKIT option to build webkit for wincairo.
982 2018-02-05 Michael Catanzaro <mcatanzaro@igalia.com>
984 Unreviewed, fix build using the new ENABLE_ADDRESS_SANITIZER option
985 https://bugs.webkit.org/show_bug.cgi?id=182400
986 <rdar://problem/37252242>
988 I failed to properly test a last-minute change.
990 * Source/cmake/WebKitCompilerFlags.cmake:
992 2018-02-05 Michael Catanzaro <mcatanzaro@igalia.com>
994 [CMake] Add ENABLE_ADDRESS_SANITIZER to make it easier to build with asan support
995 https://bugs.webkit.org/show_bug.cgi?id=182400
997 Reviewed by Konstantin Tokarev.
999 * Source/cmake/OptionsGTK.cmake:
1000 * Source/cmake/WebKitCompilerFlags.cmake:
1002 2018-01-31 Michael Catanzaro <mcatanzaro@igalia.com>
1005 https://bugs.webkit.org/show_bug.cgi?id=182314
1007 Reviewed by Alex Christensen.
1009 Add download link for Epiphany Technology Preview. Improve build instructions for GTK. Add
1010 build instructions for WPE. Add instructions to run MiniBrowser on Linux. Miscellaneous
1011 typographical adjustments.
1015 2018-01-30 Sergio Villar Senin <svillar@igalia.com>
1017 [WebVR][GTK][WPE] Exclude OpenVR from tarballs
1018 https://bugs.webkit.org/show_bug.cgi?id=182284
1020 Reviewed by Michael Catanzaro.
1022 Added private build options for USE_OPENVR.
1024 * Source/cmake/OptionsGTK.cmake:
1025 * Source/cmake/OptionsWPE.cmake:
1027 2018-01-30 Basuke Suzuki <Basuke.Suzuki@sony.com>
1029 [WinCairo] Fix forwarding header conflict of WebKit on WinCairo
1030 https://bugs.webkit.org/show_bug.cgi?id=177202
1032 Reviewed by Alex Christensen.
1034 * Source/cmake/WebKitMacros.cmake:
1036 2018-01-29 Jiewen Tan <jiewen_tan@apple.com>
1038 [WebAuthN] Add a compile-time feature flag
1039 https://bugs.webkit.org/show_bug.cgi?id=182211
1040 <rdar://problem/36936365>
1042 Reviewed by Brent Fulgham.
1044 * Source/cmake/WebKitFeatures.cmake:
1045 * Source/cmake/tools/vsprops/FeatureDefines.props:
1046 * Source/cmake/tools/vsprops/FeatureDefinesCairo.props:
1048 2018-01-18 Sergio Villar Senin <svillar@igalia.com>
1050 [WebVR] Add OpenVR to the tree and to the build
1051 https://bugs.webkit.org/show_bug.cgi?id=177298
1053 Reviewed by Žan Doberšek.
1055 * Source/CMakeLists.txt:
1056 * Source/cmake/OptionsGTK.cmake: Enable USE_OPENVR.
1057 * Source/cmake/OptionsWPE.cmake: Ditto.
1059 2018-01-18 Dan Bernstein <mitz@apple.com>
1061 [Xcode] Shared schemes in the WebKit workspace still have build pre-actions that invoke copy-webkitlibraries-to-product-directory
1062 https://bugs.webkit.org/show_bug.cgi?id=181784
1064 Reviewed by Anders Carlsson.
1066 * WebKit.xcworkspace/xcshareddata/xcschemes/All Source.xcscheme: Remove the build pre-action.
1067 * WebKit.xcworkspace/xcshareddata/xcschemes/All Tools.xcscheme: Ditto.
1069 2018-01-17 Michael Catanzaro <mcatanzaro@igalia.com>
1071 WEBKIT_FRAMEWORK should not modify file-global include directories
1072 https://bugs.webkit.org/show_bug.cgi?id=181656
1074 Reviewed by Konstantin Tokarev.
1076 Only modify the system include directories of the target passed to WEBKIT_FRAMEWORK.
1078 * Source/cmake/WebKitMacros.cmake:
1080 2018-01-17 Carlos Garcia Campos <cgarcia@igalia.com>
1082 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.6 release.
1084 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1086 2018-01-15 Michael Catanzaro <mcatanzaro@igalia.com>
1088 REGRESSION(r226266): [GTK] RELEASE_ASSERT(reservedZoneSize >= minimumReservedZoneSize) in JSC::VM::updateStackLimits
1089 https://bugs.webkit.org/show_bug.cgi?id=181438
1090 <rdar://problem/36376724>
1092 Reviewed by Carlos Garcia Campos.
1094 Build JSC as a shared library.
1096 Stop using -fvisibility=hidden. This is a shame, but it is causing problems that I don't
1099 * Source/cmake/OptionsGTK.cmake:
1100 * Source/cmake/WebKitCompilerFlags.cmake:
1102 2018-01-11 Keith Miller <keith_miller@apple.com>
1104 Rename ENABLE_ASYNC_ITERATION to ENABLE_JS_ASYNC_ITERATION
1105 https://bugs.webkit.org/show_bug.cgi?id=181573
1107 Reviewed by Simon Fraser.
1109 * Source/cmake/WebKitFeatures.cmake:
1111 2018-01-10 Per Arne Vollan <pvollan@apple.com>
1113 [Win] WebKitLegacy should be a dll, not a static library.
1114 https://bugs.webkit.org/show_bug.cgi?id=181500
1116 Reviewed by Alex Christensen.
1118 Set WebKitLegacy library type to shared.
1120 * Source/cmake/OptionsWin.cmake:
1122 2018-01-09 Carlos Garcia Campos <cgarcia@igalia.com>
1124 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.5 release.
1126 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1128 2018-01-09 Carlos Garcia Campos <cgarcia@igalia.com>
1130 Unreviewed. Update OptionsGTK.cmake and NEWS for 2.19.4 release.
1132 * Source/cmake/OptionsGTK.cmake: Bump version numbers.
1134 2018-01-05 Fujii Hironori <Hironori.Fujii@sony.com>
1136 REGRESSION(r226306)[Win][CMake] Unnecessary recompilations triggered by unconditionally copied header files of DerivedSources
1137 https://bugs.webkit.org/show_bug.cgi?id=181324
1139 Reviewed by Konstantin Tokarev.
1141 r226306 changed to use cmake -E copy to copy header files of
1142 DerivedSources. This command copies files unconditionally, then
1143 introduced unnecessary recompilations.
1145 * Source/cmake/WebKitMacros.cmake: Use copy_if_different instead of copy.
1147 2018-01-03 Ting-Wei Lan <lantw44@gmail.com>
1149 Replace hard-coded paths in shebangs with #!/usr/bin/env
1150 https://bugs.webkit.org/show_bug.cgi?id=181040
1152 Reviewed by Alex Christensen.
1154 * Source/cmake/tools/scripts/auto-version.pl:
1155 * Source/cmake/tools/scripts/feature-defines.pl:
1156 * Source/cmake/tools/scripts/version-stamp.pl:
1158 == Rolled over to ChangeLog-2018-01-01 ==