1 2019-08-30 Brent Fulgham <bfulgham@apple.com>
3 [FTW] Use DirectX SharedResource as basis for SharedBitmap
4 https://bugs.webkit.org/show_bug.cgi?id=201157
6 Reviewed by Alex Christensen.
8 * PlatformFTW.cmake: Link to DirectX to avoid build failure.
10 2019-08-19 Sihui Liu <sihui_liu@apple.com>
12 Remove IDB-specific quota
13 https://bugs.webkit.org/show_bug.cgi?id=196545
14 <rdar://problem/54201783>
16 Reviewed by Youenn Fablet.
18 * Storage/WebDatabaseProvider.cpp:
19 (WebDatabaseProvider::setIDBPerOriginQuota): Deleted.
20 * Storage/WebDatabaseProvider.h:
22 2019-08-19 Youenn Fablet <youenn@apple.com>
24 Remove SessionID::emptySessionID()
25 https://bugs.webkit.org/show_bug.cgi?id=200811
27 Reviewed by Alex Christensen.
29 * Storage/WebDatabaseProvider.cpp:
30 (WebDatabaseProvider::idbConnectionToServerForSession):
31 * Storage/WebDatabaseProvider.h:
33 2019-08-18 Yusuke Suzuki <ysuzuki@apple.com>
35 [WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWithoutFastMallocCheck part
36 https://bugs.webkit.org/show_bug.cgi?id=200620
38 Reviewed by Geoffrey Garen.
40 * Storage/StorageSyncManager.cpp:
41 (WebCore::StorageSyncManager::StorageSyncManager):
42 * Storage/StorageThread.cpp:
43 (WebCore::StorageThread::dispatch):
44 (WebCore::StorageThread::terminate):
45 * Storage/StorageTracker.cpp:
46 (WebKit::StorageTracker::StorageTracker):
47 * WebCoreSupport/NetworkStorageSessionMap.cpp:
48 (NetworkStorageSessionMap::defaultStorageSession):
49 (NetworkStorageSessionMap::switchToNewTestingSession):
50 (NetworkStorageSessionMap::ensureSession):
52 2019-08-15 Brent Fulgham <bfulgham@apple.com>
54 [FTW] Enable CoreFoundation use if building for Apple target
55 https://bugs.webkit.org/show_bug.cgi?id=200799
57 Reviewed by Alex Christensen.
61 2019-08-15 Sihui Liu <sihui_liu@apple.com>
63 Some improvements on web storage
64 https://bugs.webkit.org/show_bug.cgi?id=200373
66 Reviewed by Geoffrey Garen.
68 Do some clean-up and add support for session change of web storage in layout tests.
70 * Storage/StorageAreaImpl.cpp:
71 (WebKit::StorageAreaImpl::sessionChanged):
72 * Storage/StorageAreaImpl.h:
75 * Storage/StorageAreaSync.h: make sure StorageAreaSync is destructed on the main thread, as it can be
76 dereferenced in StorageAreaImpl::sessionChanged and its last reference for final sync could be released on the
79 * Storage/StorageNamespaceImpl.cpp: replace EphemeralLocalStorage with LocalStorage, and store SessionID in
81 (WebKit::StorageNamespaceImpl::createSessionStorageNamespace):
82 (WebKit::StorageNamespaceImpl::getOrCreateLocalStorageNamespace):
83 (WebKit::StorageNamespaceImpl::StorageNamespaceImpl):
84 (WebKit::StorageNamespaceImpl::copy):
85 (WebKit::StorageNamespaceImpl::close):
86 (WebKit::StorageNamespaceImpl::setSessionIDForTesting):
87 (WebKit::StorageNamespaceImpl::createEphemeralLocalStorageNamespace): Deleted.
88 * Storage/StorageNamespaceImpl.h:
89 * Storage/WebStorageNamespaceProvider.cpp:
90 (WebKit::WebStorageNamespaceProvider::createSessionStorageNamespace):
91 (WebKit::WebStorageNamespaceProvider::createLocalStorageNamespace):
92 (WebKit::WebStorageNamespaceProvider::createTransientLocalStorageNamespace):
93 (WebKit::WebStorageNamespaceProvider::createEphemeralLocalStorageNamespace): Deleted.
94 * Storage/WebStorageNamespaceProvider.h:
96 2019-08-14 Ryan Haddad <ryanhaddad@apple.com>
98 Unreviewed, rolling out r248526.
100 Caused two IndexedDB perf tests to fail
104 "Remove IDB-specific quota"
105 https://bugs.webkit.org/show_bug.cgi?id=196545
106 https://trac.webkit.org/changeset/248526
108 2019-08-12 Youenn Fablet <youenn@apple.com>
110 Remove IDB-specific quota
111 https://bugs.webkit.org/show_bug.cgi?id=196545
113 Reviewed by Alex Christensen.
115 * Storage/WebDatabaseProvider.cpp:
116 (WebDatabaseProvider::idbConnectionToServerForSession):
117 (WebDatabaseProvider::deleteAllDatabases):
118 (WebDatabaseProvider::setIDBPerOriginQuota): Deleted.
119 * Storage/WebDatabaseProvider.h:
121 2019-08-10 Tim Horton <timothy_horton@apple.com>
123 Remove some more unused 32-bit code
124 https://bugs.webkit.org/show_bug.cgi?id=200607
126 Reviewed by Alexey Proskuryakov.
129 * WebKitLegacy.xcodeproj/project.pbxproj:
131 2019-08-09 Keith Rollin <krollin@apple.com>
133 Fix WebKitLegacy's post-process-header-rule script to support paths with spaces in them
134 https://bugs.webkit.org/show_bug.cgi?id=200595
135 <rdar://problem/54045608>
137 Reviewed by Darin Adler.
139 A number of scripts were added to WebKit, JavaScriptCore, and
140 WebKitLegacy to support XCBuild's new facility for copying and
141 modifying files in one atomic step. The first two are OK, but
142 WebKitLegacy's script (post-process-header-rule) references a file via
143 a variable named "header", and does so without quoting the variable's
144 value. When the header's path contains spaces -- as can happen when
145 building Safari Technology Preview -- the script breaks. Fix this by
148 * scripts/postprocess-header-rule:
150 2019-08-08 Brent Fulgham <bfulgham@apple.com>
152 [FTW] Get WebKit, WebKit2, and MiniBrowser building and executing
153 https://bugs.webkit.org/show_bug.cgi?id=200539
154 <rdar://problem/54082550>
156 Reviewed by Dean Jackson.
159 * PlatformFTW.cmake: Added.
161 2019-08-06 Per Arne Vollan <pvollan@apple.com>
163 [Win] Fix AppleWin build
164 https://bugs.webkit.org/show_bug.cgi?id=200455
166 Reviewed by Alex Christensen.
170 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
172 2019-07-31 Keith Rollin <krollin@apple.com>
174 Update WebKitLegacy for XCBuild
175 https://bugs.webkit.org/show_bug.cgi?id=200310
176 <rdar://problem/53773708>
178 Reviewed by Alex Christensen.
180 Bug 199771 (svn r247570) updated WebKitLegacy to use the unified-build
181 technique. Now update WebKitLegacy to build under XCBuild after those
182 changes. This work involves adding an "Apply Configuration to
183 XCFileLists" build target, adding a check-xcfilelists.sh script,
184 adding a "Check xcfilelists" build phase that calls that script,
185 adding knowledge of the project to the generate-xcfilelists script,
186 creating new .xcfilelist files, and adding those to the project.
188 * UnifiedSources-output.xcfilelist: Added.
189 * WebKitLegacy.xcodeproj/project.pbxproj:
190 * scripts/check-xcfilelists.sh: Added.
192 2019-07-18 Alex Christensen <achristensen@webkit.org>
194 Unify builds in WebKitLegacy/mac/DOM
195 https://bugs.webkit.org/show_bug.cgi?id=199771
197 Reviewed by Geoffrey Garen.
200 * WebKitLegacy.xcodeproj/project.pbxproj:
201 * scripts/generate-unified-sources.sh:
203 2019-07-16 Chris Dumez <cdumez@apple.com>
205 Speed up StorageManager::getValues()
206 https://bugs.webkit.org/show_bug.cgi?id=199812
208 Reviewed by Alex Christensen.
210 * Storage/StorageAreaImpl.cpp:
211 (WebKit::StorageAreaImpl::importItems):
212 * Storage/StorageAreaImpl.h:
213 * Storage/StorageAreaSync.cpp:
214 (WebKit::StorageAreaSync::performImport):
216 2019-07-12 Alex Christensen <achristensen@webkit.org>
218 Begin unifying WebKitLegacy sources
219 https://bugs.webkit.org/show_bug.cgi?id=199730
221 Reviewed by Keith Miller.
223 * Sources.txt: Added.
224 * SourcesCocoa.txt: Added.
225 * WebKitLegacy.xcodeproj/project.pbxproj:
226 * scripts/generate-unified-sources.sh: Added.
228 2019-07-03 Jonathan Bedard <jbedard@apple.com>
230 [Catalina] Enable WebKit build
231 https://bugs.webkit.org/show_bug.cgi?id=199209
233 Reviewed by Darin Adler.
235 * mac/WebView/WebHTMLView.mm: Move NSView declaration to SPI header.
236 * mac/WebView/WebView.mm: Use _subviewsIvar instead of _subviews.
238 2019-06-27 Fujii Hironori <Hironori.Fujii@sony.com>
240 [CMake] Bump cmake_minimum_required version to 3.10
241 https://bugs.webkit.org/show_bug.cgi?id=199181
243 Reviewed by Don Olmstead.
247 2019-06-05 Alex Christensen <achristensen@webkit.org>
249 Progress towards resurrecting Mac CMake build
250 https://bugs.webkit.org/show_bug.cgi?id=197132
252 Reviewed by Don Olmstead.
256 2019-06-03 Don Olmstead <don.olmstead@sony.com>
258 [CMake] Add WebKit::JavaScriptCore target
259 https://bugs.webkit.org/show_bug.cgi?id=198403
261 Reviewed by Konstantin Tokarev.
263 Use the WebKit::JavaScriptCore target.
267 2019-05-31 Don Olmstead <don.olmstead@sony.com>
269 [CMake] Add WebKit::WTF target
270 https://bugs.webkit.org/show_bug.cgi?id=198400
272 Reviewed by Konstantin Tokarev.
274 Use the WebKit::WTF target.
278 2019-05-27 Chris Dumez <cdumez@apple.com>
280 Use a strongly-typed identifier for pages
281 https://bugs.webkit.org/show_bug.cgi?id=198206
283 Reviewed by Youenn Fablet.
285 * WebCoreSupport/WebResourceLoadScheduler.cpp:
286 (WebResourceLoadScheduler::pageLoadCompleted):
287 * WebCoreSupport/WebResourceLoadScheduler.h:
289 2019-05-17 Don Olmstead <don.olmstead@sony.com>
291 [CMake] Use builtin FindICU
292 https://bugs.webkit.org/show_bug.cgi?id=197934
294 Reviewed by Michael Catanzaro.
296 Remove uses of ICU_INCLUDE_DIRS and ICU_LIBRARIES.
301 2019-05-03 Commit Queue <commit-queue@webkit.org>
303 Unreviewed, rolling out r244881.
304 https://bugs.webkit.org/show_bug.cgi?id=197559
306 Breaks compilation of jsconly on linux, breaking compilation
307 for jsc-i386-ews, jsc-mips-ews and jsc-armv7-ews (Requested by
308 guijemont on #webkit).
312 "[CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into
314 https://bugs.webkit.org/show_bug.cgi?id=197174
315 https://trac.webkit.org/changeset/244881
317 2019-05-02 Don Olmstead <don.olmstead@sony.com>
319 [CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into WEBKIT_COPY_FILES
320 https://bugs.webkit.org/show_bug.cgi?id=197174
322 Reviewed by Alex Christensen.
324 Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES and make dependencies
325 for framework headers explicit.
329 2019-04-25 Fujii Hironori <Hironori.Fujii@sony.com>
331 Unreviewed, rolling out r244669.
333 Windows ports can't clean build.
337 "[Win] Add flag to enable version information stamping and
339 https://bugs.webkit.org/show_bug.cgi?id=197249
340 https://trac.webkit.org/changeset/244669
342 2019-04-25 Basuke Suzuki <Basuke.Suzuki@sony.com>
344 [Win] Add flag to enable version information stamping and disable by default.
345 https://bugs.webkit.org/show_bug.cgi?id=197249
347 Reviewed by Ross Kirsling.
349 This feature is only used in AppleWin port. Add flag for this task and make it OFF by default.
350 Then enable it by default on AppleWin.
354 2019-04-23 Keith Rollin <krollin@apple.com>
356 Add Xcode version check for Header post-processing scripts
357 https://bugs.webkit.org/show_bug.cgi?id=197116
358 <rdar://problem/50058968>
360 Reviewed by Brent Fulgham.
362 There are several places in our Xcode projects that post-process
363 header files after they've been exported. Because of XCBuild, we're
364 moving to a model where the post-processing is performed at the same
365 time the header files are exported, rather than as a distinct
366 post-processing step. This patch disables the distinct step when the
367 inline processing is available.
369 In practice, this means prefixing appropriate post-processing Custom
372 if [ "${XCODE_VERSION_MAJOR}" -ge "1100" -a "${USE_NEW_BUILD_SYSTEM}" = "YES" ]; then
373 # In this configuration, post-processing is performed at the same time as copying in the postprocess-header-rule script, so there's no need for this separate step.
377 * WebKitLegacy.xcodeproj/project.pbxproj:
379 2019-04-20 Don Olmstead <don.olmstead@sony.com>
381 [CMake][Win] Use target oriented design for WebKitLegacy
382 https://bugs.webkit.org/show_bug.cgi?id=197112
384 Reviewed by Konstantin Tokarev.
386 Enumerate the public framework headers for WebKitLegacy and copy them. Include
387 directories should be PRIVATE. Migrate to using WebKitLegacy_DERIVED_SOURCES_DIR.
393 2019-04-19 Keith Rollin <krollin@apple.com>
395 Add postprocess-header-rule scripts
396 https://bugs.webkit.org/show_bug.cgi?id=197072
397 <rdar://problem/50027299>
399 Reviewed by Brent Fulgham.
401 Several projects have post-processing build phases where exported
402 headers are tweaked after they've been copied. This post-processing is
403 performed via scripts called postprocess-headers.sh. For reasons
404 related to XCBuild, we are now transitioning to a build process where
405 the post-processing is performed at the same time as the
406 exporting/copying. To support this process, add similar scripts named
407 postprocess-header-rule, which are geared towards processing a single
408 file at a time rather than all exported files at once. Also add a
409 build rule that makes use of these scripts. These scripts and build
410 rules are not used at the moment; they will come into use in an
413 Note that I've named these postprocess-header-rule rather than
414 postprocess-header-rule.sh. Scripts in Tools/Scripts do not have
415 suffixes indicating how the tool is implemented. Scripts in
416 per-project Scripts folders appear to be mixed regarding the use of
417 suffixes. I'm opting here to follow the Tools/Scripts convention, with
418 the expectation that over time we completely standardize on that.
420 * WebKitLegacy.xcodeproj/project.pbxproj:
421 * scripts/postprocess-header-rule: Added.
423 2019-04-18 Don Olmstead <don.olmstead@sony.com>
425 [CMake] Make WebCore headers copies
426 https://bugs.webkit.org/show_bug.cgi?id=182512
427 <rdar://problem/37510435>
429 Reviewed by Alex Christensen.
431 Added WebCorePrivateFrameworkHeaders as a dependency of WebKitLegacy for all
434 WebCore now uses WebCore_PRIVATE_INCLUDE_DIRECTORIES for all ports. This revealed
435 problems with WebKit's usage of WebCore headers. All include directories directly
436 referencing the WebCore source tree we're removed from the CMake files.
441 2019-04-18 Keith Rollin <krollin@apple.com>
443 Move MiG .def files into their own "Copy files" build step
444 https://bugs.webkit.org/show_bug.cgi?id=196982
446 Reviewed by Alex Christensen.
448 WebKitLegacy's MiG files need to be processed differently from the
449 other files in the "Copy Headers" build phase, so move them into their
450 own "Copy Files" build phase. This arrangement removes them from any
451 post-processing performed on the main group of headers.
453 * WebKitLegacy.xcodeproj/project.pbxproj:
455 2019-04-17 Commit Queue <commit-queue@webkit.org>
457 Unreviewed, rolling out r244386.
458 https://bugs.webkit.org/show_bug.cgi?id=197031
460 Causing build failures on several internal builders (Requested
461 by ShawnRoberts on #webkit).
465 "Move MiG .def files into their own "Copy files" build step"
466 https://bugs.webkit.org/show_bug.cgi?id=196982
467 https://trac.webkit.org/changeset/244386
469 2019-04-17 Keith Rollin <krollin@apple.com>
471 Move MiG .def files into their own "Copy files" build step
472 https://bugs.webkit.org/show_bug.cgi?id=196982
474 Reviewed by Alex Christensen.
476 WebKitLegacy's MiG files need to be processed differently from the
477 other files in the "Copy Headers" build phase, so move them into their
478 own "Copy Files" build phase. This arrangement removes them from any
479 post-processing performed on the main group of headers.
481 * WebKitLegacy.xcodeproj/project.pbxproj:
483 2019-04-08 Don Olmstead <don.olmstead@sony.com>
485 [CMake][WinCairo] Separate copied headers into different directories
486 https://bugs.webkit.org/show_bug.cgi?id=196655
488 Reviewed by Michael Catanzaro.
493 2019-04-05 Commit Queue <commit-queue@webkit.org>
495 Unreviewed, rolling out r243833.
496 https://bugs.webkit.org/show_bug.cgi?id=196645
498 This change breaks build of WPE and GTK ports (Requested by
503 "[CMake][WTF] Mirror XCode header directories"
504 https://bugs.webkit.org/show_bug.cgi?id=191662
505 https://trac.webkit.org/changeset/243833
507 2019-04-03 Don Olmstead <don.olmstead@sony.com>
509 [CMake][WTF] Mirror XCode header directories
510 https://bugs.webkit.org/show_bug.cgi?id=191662
512 Reviewed by Konstantin Tokarev.
514 Use WTFFramework as a dependency and include frameworks/WTF.cmake for AppleWin internal
520 2019-04-02 Fujii Hironori <Hironori.Fujii@sony.com>
522 [CMake] WEBKIT_MAKE_FORWARDING_HEADERS shouldn't use POST_BUILD to copy generated headers
523 https://bugs.webkit.org/show_bug.cgi?id=182757
525 Reviewed by Don Olmstead.
527 * PlatformWin.cmake: Do not use DERIVED_SOURCE_DIRECTORIES
528 parameter of WEBKIT_MAKE_FORWARDING_HEADERS. Added
529 WebKitLegacyGUID_PRIVATE_FRAMEWORK_HEADERS.
531 2019-03-13 Youenn Fablet <youenn@apple.com>
533 Check IDB quota usage through QuotaManager
534 https://bugs.webkit.org/show_bug.cgi?id=195302
536 Reviewed by Chris Dumez.
538 * Storage/WebDatabaseProvider.cpp:
539 (WebDatabaseProvider::idbConnectionToServerForSession):
541 2019-03-06 Sam Weinig <sam@webkit.org>
543 WebKitLegacy does not need to generate an export file for i386 anymore
544 https://bugs.webkit.org/show_bug.cgi?id=195380
546 Reviewed by Dan Bernstein.
548 * WebKitLegacy.xcodeproj/project.pbxproj:
549 Update and simplify the "Generate Export Files" phase now that we don't need
550 separate export files for i386 and x86_64.
552 2019-03-01 Tim Horton <timothy_horton@apple.com>
554 Remove unused code in WebKitLegacy
555 https://bugs.webkit.org/show_bug.cgi?id=189614
557 Reviewed by Simon Fraser.
559 * WebKitLegacy.xcodeproj/project.pbxproj:
561 2019-02-20 Andy Estes <aestes@apple.com>
563 [Xcode] Add SDKVariant.xcconfig to various Xcode projects
564 https://bugs.webkit.org/show_bug.cgi?id=194869
566 Rubber-stamped by Jer Noble.
568 * WebKitLegacy.xcodeproj/project.pbxproj:
570 2019-01-31 Takashi Komori <Takashi.Komori@sony.com>
572 [Curl] Remove unnecessary member from NetworkStorageSession.
573 https://bugs.webkit.org/show_bug.cgi?id=194137
575 Reviewed by Don Olmstead.
577 * WebCoreSupport/NetworkStorageSessionMap.cpp:
578 (NetworkStorageSessionMap::defaultStorageSession):
579 (NetworkStorageSessionMap::ensureSession):
581 2019-01-31 Takashi Komori <Takashi.Komori@sony.com>
583 [Curl] Fix DRT crash related to private browsing.
584 https://bugs.webkit.org/show_bug.cgi?id=193816
586 Reviewed by Alex Christensen.
588 * WebCoreSupport/NetworkStorageSessionMap.cpp:
589 (NetworkStorageSessionMap::ensureSession):
591 2019-01-26 Darin Adler <darin@apple.com>
593 Replace many uses of String::format with more type-safe alternatives
594 https://bugs.webkit.org/show_bug.cgi?id=192742
596 Reviewed by Mark Lam.
598 * Shared/WebMemorySampler.cpp:
599 (WebKit::WebMemorySampler::writeHeaders): Use makeString.
601 * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm:
602 (WebKit::LocalAuthenticator::makeCredential): Use string concatentation.
604 * UIProcess/WebInspectorUtilities.cpp:
605 (WebKit::inspectorPageGroupIdentifierForPage): Use makeString.
606 * UIProcess/WebProcessPool.cpp:
607 (WebKit::WebProcessPool::processDidFinishLaunching): Ditto.
608 (WebKit::WebProcessPool::startMemorySampler): Ditto.
610 2019-01-24 Ross Kirsling <ross.kirsling@sony.com>
612 Move FileSystem to WTF
613 https://bugs.webkit.org/show_bug.cgi?id=193602
615 Reviewed by Yusuke Suzuki.
617 * Storage/StorageAreaSync.cpp:
618 * Storage/StorageSyncManager.cpp:
619 * Storage/StorageTracker.cpp:
621 2019-01-23 Ross Kirsling <ross.kirsling@sony.com>
623 [Curl] Unreviewed build fix for r240292 and friends.
625 WinCairo test stability must be restored in subsequent patch.
627 * WebCoreSupport/NetworkStorageSessionMap.cpp:
628 (NetworkStorageSessionMap::defaultStorageSession):
629 (NetworkStorageSessionMap::switchToNewTestingSession):
630 (NetworkStorageSessionMap::ensureSession):
632 2019-01-23 Commit Queue <commit-queue@webkit.org>
634 Unreviewed, rolling out r240403.
635 https://bugs.webkit.org/show_bug.cgi?id=193757
637 "Causes multiple crashes on macOS port (probably used wrong
638 ENABLE macro)" (Requested by ddkilzer on #webkit).
642 "[Curl] Unreviewed build fix for r240292 and friends."
643 https://trac.webkit.org/changeset/240403
645 2019-01-23 Ross Kirsling <ross.kirsling@sony.com>
647 [Curl] Unreviewed build fix for r240292 and friends.
649 WinCairo test stability must be restored in subsequent patch.
651 * WebCoreSupport/NetworkStorageSessionMap.cpp:
652 (NetworkStorageSessionMap::defaultStorageSession):
653 (NetworkStorageSessionMap::switchToNewTestingSession):
654 (NetworkStorageSessionMap::ensureSession):
656 2019-01-22 Alex Christensen <achristensen@webkit.org>
658 Fix some builds after r240292
659 https://bugs.webkit.org/show_bug.cgi?id=193580
661 * WebCoreSupport/NetworkStorageSessionMap.cpp:
663 2019-01-22 Alex Christensen <achristensen@webkit.org>
665 Move NetworkStorageSession ownership to NetworkProcess
666 https://bugs.webkit.org/show_bug.cgi?id=193580
668 Reviewed by Geoff Garen.
670 * WebCoreSupport/NetworkStorageSessionMap.cpp: Added.
671 (defaultNetworkStorageSession):
673 (NetworkStorageSessionMap::storageSession):
674 (NetworkStorageSessionMap::defaultStorageSession):
675 (NetworkStorageSessionMap::switchToNewTestingSession):
676 (NetworkStorageSessionMap::ensureSession):
677 (NetworkStorageSessionMap::destroySession):
678 * WebCoreSupport/NetworkStorageSessionMap.h: Added.
679 * WebCoreSupport/PageStorageSessionProvider.h:
680 * WebKitLegacy.xcodeproj/project.pbxproj:
682 2019-01-15 Darin Adler <darin@apple.com>
684 Use references rather than pointers for register/unregister functions, and more
685 https://bugs.webkit.org/show_bug.cgi?id=175028
687 Reviewed by Daniel Bates.
689 * WebKitLegacy.xcodeproj/project.pbxproj: Let Xcode update this project.
691 2019-01-18 Eric Carlson <eric.carlson@apple.com>
693 Revert r238815, it broke WK1 video fullscreen on Mac
694 https://bugs.webkit.org/show_bug.cgi?id=193586
695 <rdar://problem/47358941>
697 Reviewed by Jer Noble.
699 * WebKitLegacy.xcodeproj/project.pbxproj:
701 2019-01-17 Alex Christensen <achristensen@webkit.org>
703 Stop using NetworkStorageSession::storageSession in WebCore
704 https://bugs.webkit.org/show_bug.cgi?id=193529
706 Reviewed by Tim Horton.
708 * WebCoreSupport/PageStorageSessionProvider.h: Added.
709 * WebKitLegacy.xcodeproj/project.pbxproj:
711 2019-01-04 Youenn Fablet <youenn@apple.com>
713 CSP violation reports should bypass CSP checks
714 https://bugs.webkit.org/show_bug.cgi?id=192857
715 <rdar://problem/46887236>
717 Reviewed by Chris Dumez.
719 * WebCoreSupport/WebResourceLoadScheduler.cpp:
720 (WebResourceLoadScheduler::startPingLoad):
721 * WebCoreSupport/WebResourceLoadScheduler.h:
723 2018-12-27 Alex Christensen <achristensen@webkit.org>
725 Resurrect Mac CMake build
726 https://bugs.webkit.org/show_bug.cgi?id=192658
728 Reviewed by Yusuke Suzuki.
732 2018-12-20 Yusuke Suzuki <yusukesuzuki@slowstart.org>
734 Use Ref<> as much as possible
735 https://bugs.webkit.org/show_bug.cgi?id=192808
737 Reviewed by Alex Christensen.
739 * Storage/StorageNamespaceImpl.cpp:
740 (WebKit::StorageNamespaceImpl::copy):
741 (WebKit::StorageNamespaceImpl::storageArea):
742 * Storage/StorageNamespaceImpl.h:
743 * Storage/WebStorageNamespaceProvider.cpp:
744 (WebKit::WebStorageNamespaceProvider::create):
745 (WebKit::WebStorageNamespaceProvider::createSessionStorageNamespace):
746 (WebKit::WebStorageNamespaceProvider::createEphemeralLocalStorageNamespace):
747 (WebKit::WebStorageNamespaceProvider::createLocalStorageNamespace):
748 (WebKit::WebStorageNamespaceProvider::createTransientLocalStorageNamespace):
749 * Storage/WebStorageNamespaceProvider.h:
750 * WebCoreSupport/WebViewGroup.cpp:
751 (WebViewGroup::getOrCreate):
752 * WebCoreSupport/WebViewGroup.h:
754 2018-12-11 Fujii Hironori <Hironori.Fujii@sony.com>
756 [Win][WebKitLegacy][Clang] WebKit.h warning: 'IWebEditingDelegate2::shouldInsertNode' hides overloaded virtual function [-Woverloaded-virtual]
757 https://bugs.webkit.org/show_bug.cgi?id=192581
759 Reviewed by Alex Christensen.
761 Conventionally, WebKit COM interface adds a new interface with
762 same name methods with the old interface. For example, both
763 IWebEditingDelegate and IWebEditingDelegate2 interfaces has
764 shouldInsertNode method.
766 This is a part of public API, can't be renamed.
768 * PlatformWin.cmake: Added -Wno-overloaded-virtual compiler option
771 2018-12-06 Alex Christensen <achristensen@webkit.org>
773 Remove unused LoaderStrategy::storeDerivedDataToCache and associated dead code
774 https://bugs.webkit.org/show_bug.cgi?id=192452
776 Reviewed by Anders Carlsson.
778 * WebCoreSupport/WebResourceLoadScheduler.h:
780 2018-12-03 Jer Noble <jer.noble@apple.com>
782 Get rid of old, dead Mac video fullscreen code.
783 https://bugs.webkit.org/show_bug.cgi?id=192315
785 Reviewed by Eric Carlson.
787 * WebKitLegacy.xcodeproj/project.pbxproj:
789 2018-11-30 Alex Christensen <achristensen@webkit.org>
791 Move URL from WebCore to WTF
792 https://bugs.webkit.org/show_bug.cgi?id=190234
794 Reviewed by Keith Miller.
796 * WebCoreSupport/WebResourceLoadScheduler.cpp:
797 * WebCoreSupport/WebResourceLoadScheduler.h:
799 2018-11-26 Brent Fulgham <bfulgham@apple.com>
801 [Win] Reduce the use of WKSI library calls: CoreAnimation
802 https://bugs.webkit.org/show_bug.cgi?id=191777
803 <rdar://problem/46140542>
805 Reviewed by Zalan Bujtas.
807 Update the Windows build of WebKit to refer to the SPI headers, rather than WebKitSystemInterface.
808 Move a small amount of glue code from WKSI to WebCore, and remove any includes or link
809 directives for WebKitSystemInterface.lib.
813 2018-11-17 Devin Rousso <drousso@apple.com>
815 Web Inspector: Network: add button to show system certificate dialog
816 https://bugs.webkit.org/show_bug.cgi?id=191458
817 <rdar://problem/45977019>
819 Reviewed by Joseph Pecoraro.
821 * WebCoreSupport/WebInspectorClientIOS.mm:
822 (WebInspectorFrontendClient::showCertificate): Added.
824 2018-11-09 Sihui Liu <sihui_liu@apple.com>
826 Remove legacy storage tracker database file after r237330
827 https://bugs.webkit.org/show_bug.cgi?id=191423
829 Reviewed by Geoffrey Garen.
831 r237330 changed the file name of storage tracker database, but it did not remove the old
832 file before using the new one.
834 * Storage/StorageTracker.cpp:
835 (WebKit::StorageTracker::internalInitialize):
837 2018-11-01 Sihui Liu <sihui_liu@apple.com>
839 Add a storage limit for IndexedDB
840 https://bugs.webkit.org/show_bug.cgi?id=190598
841 <rdar://problem/44654715>
843 Reviewed by Chris Dumez.
845 * Storage/WebDatabaseProvider.cpp:
846 (WebDatabaseProvider::idbConnectionToServerForSession):
847 (WebDatabaseProvider::setIDBPerOriginQuota):
848 * Storage/WebDatabaseProvider.h:
850 2018-10-30 Alexey Proskuryakov <ap@apple.com>
852 Enable InstallAPI for iOS unconditionally
853 https://bugs.webkit.org/show_bug.cgi?id=191043
854 rdar://problem/32728423
856 Reviewed by Dan Bernstein.
858 * WebKitLegacy.xcodeproj/project.pbxproj: Added NSURLDownloadSPI.h.
860 2018-10-30 Commit Queue <commit-queue@webkit.org>
862 Unreviewed, rolling out r237600 and r237604.
863 https://bugs.webkit.org/show_bug.cgi?id=191086
865 Breaks internal iOS builds (Requested by ryanhadd_ on
870 "Enable InstallAPI for iOS unconditionally"
871 https://bugs.webkit.org/show_bug.cgi?id=191043
872 https://trac.webkit.org/changeset/237600
874 "Build fix attempt after enabling InstallAPI for iOS."
875 https://bugs.webkit.org/show_bug.cgi?id=191043
876 https://trac.webkit.org/changeset/237604
878 2018-10-30 Alexey Proskuryakov <ap@apple.com>
880 Enable InstallAPI for iOS unconditionally
881 https://bugs.webkit.org/show_bug.cgi?id=191043
882 rdar://problem/32728423
884 Reviewed by Dan Bernstein.
886 * WebKitLegacy.xcodeproj/project.pbxproj: Added NSURLDownloadSPI.h.
888 2018-10-29 Tim Horton <timothy_horton@apple.com>
890 Modernize WebKit nibs and lprojs for localization's sake
891 https://bugs.webkit.org/show_bug.cgi?id=190911
892 <rdar://problem/45349466>
894 Reviewed by Dan Bernstein.
896 * English.lproj/WebJavaScriptTextInputPanel.nib/designable.nib: Removed.
897 * English.lproj/WebJavaScriptTextInputPanel.nib/keyedobjects.nib: Removed.
898 * WebKitLegacy.xcodeproj/project.pbxproj:
899 * en.lproj/WebJavaScriptTextInputPanel.xib: Added.
900 NIB->XIB, English->en
902 2018-10-25 Fujii Hironori <Hironori.Fujii@sony.com>
904 [CMake][Ninja][Win] midl.exe fails to create, open and write a temporary file in parallel build in Docker container
905 https://bugs.webkit.org/show_bug.cgi?id=187725
907 Reviewed by Michael Catanzaro.
909 * PlatformWin.cmake: Added USES_TERMINAL to serialize midl.exe
912 2018-10-22 Sihui Liu <sihui_liu@apple.com>
914 Regression (r232410): StorageTracker.db file gets unlinked while in use
915 https://bugs.webkit.org/show_bug.cgi?id=190795
917 Reviewed by Chris Dumez.
919 WK2 stopped using StorageTracker.db file in r232410 and would delete
921 It turned out WK1 could use the same file path, so WK2 may delete the
922 file while WK1 is using it.
924 * Storage/StorageTracker.cpp:
925 (WebKit::StorageTracker::trackerDatabasePath):
927 2018-10-18 Alexey Proskuryakov <ap@apple.com>
929 Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY)
930 https://bugs.webkit.org/show_bug.cgi?id=190729
932 Reviewed by Tim Horton.
934 * Storage/StorageTracker.cpp:
935 (WebKit::StorageTracker::syncDeleteAllOrigins):
936 (WebKit::StorageTracker::syncDeleteOrigin):
937 * WebCoreSupport/WebResourceLoadScheduler.cpp:
938 (WebResourceLoadScheduler::loadResource):
939 (WebResourceLoadScheduler::scheduleLoad):
940 (WebResourceLoadScheduler::remove):
941 (WebResourceLoadScheduler::servePendingRequests):
943 2018-10-11 Keith Rollin <krollin@apple.com>
945 CURRENT_ARCH should not be used in Run Script phase.
946 https://bugs.webkit.org/show_bug.cgi?id=190407
947 <rdar://problem/45133556>
949 Reviewed by Alexey Proskuryakov.
951 CURRENT_ARCH is used in a number of Xcode Run Script phases. However,
952 CURRENT_ARCH is not well-defined during this phase (and may even have
953 the value "undefined") since this phase is run just once per build
954 rather than once per supported architecture. Migrate away from
955 CURRENT_ARCH in favor of ARCHS, either by iterating over ARCHS and
956 performing an operation for each value, or by picking the first entry
957 in ARCHS and using that as a representative value.
959 * WebKitLegacy.xcodeproj/project.pbxproj: When generating
960 WebKitLegacy.*.exp, generate both 32- and 64-bit versions for
963 2018-10-04 Dan Bernstein <mitz@apple.com>
965 WebKitLegacy part of [Xcode] Update some build settings as recommended by Xcode 10
966 https://bugs.webkit.org/show_bug.cgi?id=190250
968 Reviewed by Andy Estes.
970 * WebKitLegacy.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
972 2018-10-01 Dean Jackson <dino@apple.com>
974 [macOS] Switching to discrete GPU should be done in the UI process
975 https://bugs.webkit.org/show_bug.cgi?id=189361
976 <rdar://problem/43949622>
978 Reviewed by Simon Fraser.
980 * WebKitLegacy.xcodeproj/project.pbxproj: Add new files.
982 2018-09-05 David Kilzer <ddkilzer@apple.com>
984 REGRESSION (r235585): WebDownloadInternal.h is missing from WebKitLegacy Xcode project
985 <https://bugs.webkit.org/show_bug.cgi?id=189072>
987 Found using tidy-Xcode-project-file (see Bug 188754).
989 * WebKitLegacy.xcodeproj/project.pbxproj: Remove references to
990 WebDownloadInternal.h since the header was removed in r235585.
992 2018-08-26 Dan Bernstein <mitz@apple.com>
994 [Xcode] Don’t make unnecessary, broken WebKitPluginAgent symlink when WK_USE_OVERRIDE_FRAMEWORKS_DIR=YES
995 https://bugs.webkit.org/show_bug.cgi?id=188956
996 <rdar://problem/43253221>
998 Reviewed by Darin Adler.
1000 * WebKitLegacy.xcodeproj/project.pbxproj: Updated the Symlink WebKitPluginHost build phase.
1002 2018-08-01 Alex Christensen <achristensen@webkit.org>
1004 Move all calls to ResourceLoader::start to WebKitLegacy
1005 https://bugs.webkit.org/show_bug.cgi?id=184946
1007 Reviewed by Andy Estes.
1009 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1010 (WebResourceLoadScheduler::setDefersLoading):
1011 * WebCoreSupport/WebResourceLoadScheduler.h:
1013 2018-06-25 Keith Rollin <krollin@apple.com>
1014 Unreviewed, rolling out r233087.
1016 Causes 5% Mac PLT regression.
1020 "Recalc styles every time defaultAppearance changes."
1021 https://bugs.webkit.org/show_bug.cgi?id=186866
1022 https://trac.webkit.org/changeset/233087
1024 2018-06-23 Yusuke Suzuki <utatane.tea@gmail.com>
1026 [WTF] Add user-defined literal for ASCIILiteral
1027 https://bugs.webkit.org/show_bug.cgi?id=186839
1029 Reviewed by Darin Adler.
1031 * Storage/StorageTracker.cpp:
1032 (WebKit::StorageTracker::syncFileSystemAndTrackerDatabase):
1033 * WebCoreSupport/PingHandle.h:
1035 2018-06-09 Dan Bernstein <mitz@apple.com>
1037 Added missing file references to the Configuration group.
1039 * WebKitLegacy.xcodeproj/project.pbxproj:
1041 2018-05-25 Alex Christensen <achristensen@webkit.org>
1043 URL::host should return a StringView to reduce allocations
1044 https://bugs.webkit.org/show_bug.cgi?id=185986
1046 Reviewed by Geoff Garen.
1048 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1049 (WebResourceLoadScheduler::hostForURL):
1051 2018-05-11 Charles Vazac <cvazac@gmail.com>
1053 Runtime feature flag for Server-Timing
1054 https://bugs.webkit.org/show_bug.cgi?id=184758
1056 Reviewed by Youenn Fablet.
1058 * mac/WebView/WebPreferenceKeysPrivate.h: Added server-timing preference.
1059 * mac/WebView/WebPreferences.mm:
1060 (WebKit::WebPreferences::serverTimingEnabled):
1061 (WebKit::WebPreferences::setServerTimingEnabled):
1062 * mac/WebView/WebPreferencesPrivate.h:
1063 (WebKit::WebPreferences::setServerTimingEnabled):
1064 (WebKit::WebPreferences::serverTimingEnabled):
1065 * mac/WebView/WebView.mm: Set runtime enabled feature based on preference.
1066 * win/Interfaces/IWebPreferencesPrivate.idl: define serverTimingEnabled and setServerTimingEnabled.
1067 * win/WebPreferenceKeysPrivate.h: Added server-timing preference.
1068 * win/WebPreferences.cpp: Initialize server-timing as false and define setter and getter.
1069 (WebKit::WebPreferences::serverTimingEnabled):
1070 (WebKit::WebPreferences::setServerTimingEnabled):
1071 * win/WebPreferences.h: Define serverTimingEnabled and setServerTimingEnabled.
1072 * win/WebView.cpp: Set runtime enabled feature based on preference.
1074 2018-05-02 Keith Rollin <krollin@apple.com>
1076 Add facility for tracking times and results of page and resource loading
1077 https://bugs.webkit.org/show_bug.cgi?id=184838
1078 <rdar://problem/36548974>
1080 Reviewed by Brent Fulgham.
1082 Add an empty override of the pure virtual
1083 LoaderStrategy::pageLoadCompleted method.
1085 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1086 (WebResourceLoadScheduler::pageLoadCompleted):
1087 * WebCoreSupport/WebResourceLoadScheduler.h:
1089 2018-05-01 Eric Carlson <eric.carlson@apple.com>
1091 [MediaStream] remove WK1 support
1092 https://bugs.webkit.org/show_bug.cgi?id=185136
1094 Reviewed by Youenn Fablet.
1096 * WebKitLegacy.xcodeproj/project.pbxproj:
1098 2018-04-30 JF Bastien <jfbastien@apple.com>
1100 Use some C++17 features
1101 https://bugs.webkit.org/show_bug.cgi?id=185135
1103 Reviewed by Alex Christensen.
1105 * PlatformMac.cmake:
1107 2018-04-16 Youenn Fablet <youenn@apple.com>
1109 Use NetworkLoadChecker to handle synchronous HTTP loads
1110 https://bugs.webkit.org/show_bug.cgi?id=184240
1112 Reviewed by Chris Dumez.
1114 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1115 (WebResourceLoadScheduler::loadResourceSynchronously):
1116 * WebCoreSupport/WebResourceLoadScheduler.h:
1118 2018-04-04 Alex Christensen <achristensen@webkit.org>
1120 Move PingHandle to WebKitLegacy
1121 https://bugs.webkit.org/show_bug.cgi?id=184145
1123 Reviewed by Youenn Fablet.
1125 * WebCoreSupport/PingHandle.h: Copied from Source/WebCore/platform/network/PingHandle.h.
1127 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1128 * WebKitLegacy.xcodeproj/project.pbxproj:
1130 2018-03-27 Chris Dumez <cdumez@apple.com>
1132 Move online state detection from the WebProcess to the NetworkProcess
1133 https://bugs.webkit.org/show_bug.cgi?id=183989
1134 <rdar://problem/37093299>
1136 Reviewed by Youenn Fablet.
1138 No change on WebKit1 except that WebResourceLoadScheduler needs to override
1139 2 new virtual functions which forward the calls to the NetworkStateNotifier.
1141 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1142 (WebResourceLoadScheduler::isOnLine const):
1143 (WebResourceLoadScheduler::addOnlineStateChangeListener):
1144 * WebCoreSupport/WebResourceLoadScheduler.h:
1146 2018-03-26 Chris Dumez <cdumez@apple.com>
1148 Use SecurityOriginData more consistently in Service Worker code
1149 https://bugs.webkit.org/show_bug.cgi?id=183969
1151 Reviewed by Darin Adler.
1153 Use SecurityOrigin::data() instead of SecurityOriginData::fromSecurityOrigin().
1155 * Storage/StorageTracker.cpp:
1156 (WebKit::StorageTracker::diskUsageForOrigin):
1158 2018-03-25 Commit Queue <commit-queue@webkit.org>
1160 Unreviewed, rolling out r229954.
1161 https://bugs.webkit.org/show_bug.cgi?id=184000
1163 Caused many layout tests to crash on Apple High Sierra,
1164 Sierra, iOS Simulator and GTK Linux Debug test bots (Requested
1165 by dydz on #webkit).
1169 "Use SecurityOriginData more consistently in Service Worker
1171 https://bugs.webkit.org/show_bug.cgi?id=183969
1172 https://trac.webkit.org/changeset/229954
1174 2018-03-24 Chris Dumez <cdumez@apple.com>
1176 Use SecurityOriginData more consistently in Service Worker code
1177 https://bugs.webkit.org/show_bug.cgi?id=183969
1179 Reviewed by Darin Adler.
1181 Use SecurityOrigin::data() instead of SecurityOriginData::fromSecurityOrigin().
1183 * Storage/StorageTracker.cpp:
1184 (WebKit::StorageTracker::diskUsageForOrigin):
1186 2018-03-23 Tim Horton <timothy_horton@apple.com>
1188 Adopt WK_PLATFORM_NAME in WebKitLegacy
1189 https://bugs.webkit.org/show_bug.cgi?id=183948
1190 <rdar://problem/38803908>
1192 Reviewed by Dan Bernstein.
1194 * WebKitLegacy.xcodeproj/project.pbxproj:
1196 2018-02-28 Alex Christensen <achristensen@webkit.org>
1198 Reduce use of NetworkingContext in WebKit
1199 https://bugs.webkit.org/show_bug.cgi?id=183213
1201 Reviewed by Brady Eidson.
1203 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1204 (WebResourceLoadScheduler::loadResourceSynchronously):
1205 (WebResourceLoadScheduler::preconnectTo):
1206 * WebCoreSupport/WebResourceLoadScheduler.h:
1208 2018-02-26 Don Olmstead <don.olmstead@sony.com>
1210 Fix WebCore includes within WebKitLegacy
1211 https://bugs.webkit.org/show_bug.cgi?id=183147
1213 Reviewed by Tim Horton.
1217 2018-02-13 Commit Queue <commit-queue@webkit.org>
1219 Unreviewed, rolling out r228431.
1220 https://bugs.webkit.org/show_bug.cgi?id=182766
1222 Regressed CMake build stability (Requested by dolmstead on
1227 "[CMake] Make WebCore headers copies"
1228 https://bugs.webkit.org/show_bug.cgi?id=182512
1229 https://trac.webkit.org/changeset/228431
1231 2018-02-13 Don Olmstead <don.olmstead@sony.com>
1233 [CMake] Make WebCore headers copies
1234 https://bugs.webkit.org/show_bug.cgi?id=182512
1236 Reviewed by Keith Miller.
1238 * PlatformWin.cmake:
1240 2018-02-08 Per Arne Vollan <pvollan@apple.com>
1242 Move WebVideoFullscreenController from WebCore to WebKitLegacy.
1243 https://bugs.webkit.org/show_bug.cgi?id=182615
1245 Reviewed by Eric Carlson.
1247 It is only used by WK1. Also there are a few references to NSApp in WebVideoFullscreenController.mm.
1248 Ideally, we should not reference NSApp in WebCore.
1250 * WebKitLegacy.xcodeproj/project.pbxproj:
1252 2018-01-23 Alex Christensen <achristensen@webkit.org>
1254 Use CompletionHandlers for ResourceHandleClient::didReceiveResponseAsync
1255 https://bugs.webkit.org/show_bug.cgi?id=181961
1257 Reviewed by Michael Catanzaro.
1259 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1261 2018-01-16 Fujii Hironori <Hironori.Fujii@sony.com>
1263 [CMake] Remove WebCoreDerivedSources library target
1264 https://bugs.webkit.org/show_bug.cgi?id=181664
1266 Reviewed by Carlos Garcia Campos.
1268 * PlatformWin.cmake: Do not link WebCoreDerivedSources.
1270 2018-01-07 David Kilzer <ddkilzer@apple.com>
1272 Enable -Wcast-qual for WebInspectorUI, WebKitLegacy, WebKit projects
1273 <https://webkit.org/b/181256>
1274 <rdar://problem/36281730>
1276 Reviewed by Darin Adler.
1278 * PlatformMac.cmake:
1279 * WebKitLegacy.xcodeproj/project.pbxproj:
1280 - Rename WebNSDataExtras.m to WebNSDataExtras.mm and change file
1281 type to Objective-C++.
1283 2018-01-03 Ting-Wei Lan <lantw44@gmail.com>
1285 Replace hard-coded paths in shebangs with #!/usr/bin/env
1286 https://bugs.webkit.org/show_bug.cgi?id=181040
1288 Reviewed by Alex Christensen.
1290 * scripts/generate-webkitversion.pl:
1292 2017-12-28 Yusuke Suzuki <utatane.tea@gmail.com>
1294 Remove std::chrono completely
1295 https://bugs.webkit.org/show_bug.cgi?id=181186
1297 Reviewed by Alex Christensen.
1299 * Storage/WebDatabaseProvider.cpp:
1300 (WebDatabaseProvider::deleteAllDatabases):
1302 2017-12-28 Fujii Hironori <Hironori.Fujii@sony.com>
1304 [Win][CMake] Use add_custom_command to copy each forwarding header files
1305 https://bugs.webkit.org/show_bug.cgi?id=180921
1307 Reviewed by Brent Fulgham.
1309 * PlatformWin.cmake: Use WEBKIT_MAKE_FORWARDING_HEADERS.
1311 2017-12-14 Yusuke Suzuki <utatane.tea@gmail.com>
1313 Drop Thread::tryCreate
1314 https://bugs.webkit.org/show_bug.cgi?id=180808
1316 Reviewed by Darin Adler.
1318 * Storage/StorageThread.cpp:
1319 (WebCore::StorageThread::start):
1320 * Storage/StorageThread.h:
1322 2017-12-12 Yusuke Suzuki <utatane.tea@gmail.com>
1324 [WTF] Thread::create should have Thread::tryCreate
1325 https://bugs.webkit.org/show_bug.cgi?id=180333
1327 Reviewed by Darin Adler.
1329 * Storage/StorageThread.cpp:
1330 (WebCore::StorageThread::start):
1332 2017-12-05 Stephan Szabo <stephan.szabo@sony.com>
1334 Switch windows build to Visual Studio 2017
1335 https://bugs.webkit.org/show_bug.cgi?id=172412
1337 Reviewed by Per Arne Vollan.
1339 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1341 2017-11-27 Don Olmstead <don.olmstead@sony.com>
1343 [CMake][Win] Conditionally select DLL CRT or static CRT
1344 https://bugs.webkit.org/show_bug.cgi?id=170594
1346 Reviewed by Alex Christensen.
1348 * PlatformWin.cmake:
1350 2017-11-24 Fujii Hironori <Hironori.Fujii@sony.com>
1352 [WinCairo] WebPreferences IDL not regenerating
1353 https://bugs.webkit.org/show_bug.cgi?id=179960
1355 Reviewed by Darin Adler.
1357 WebKitLegacy shouldn't include the forwarding header of
1358 WebKitLegacy itself.
1360 * CMakeLists.txt: Add ${FORWARDING_HEADERS_DIR} and remove
1361 ${FORWARDING_HEADERS_DIR}/JavaScriptCore and
1362 ${FORWARDING_HEADERS_DIR}/WebKitLegacy from
1363 WebKitLegacy_INCLUDE_DIRECTORIES.
1365 2017-11-14 Alex Christensen <achristensen@webkit.org>
1367 Remove Cocoa CFURLConnection loading code
1368 https://bugs.webkit.org/show_bug.cgi?id=179688
1370 Reviewed by Antti Koivisto.
1372 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1373 (WebResourceLoadScheduler::scheduleLoad):
1375 2017-11-06 Per Arne Vollan <pvollan@apple.com>
1377 [Win] Add WebKitQuartzCoreAdditions library.
1378 https://bugs.webkit.org/show_bug.cgi?id=179331
1380 Reviewed by Alex Christensen.
1382 This library should be added to the OpenSource repository.
1386 2017-11-06 Alex Christensen <achristensen@webkit.org>
1388 Make ResourceLoader::willSendRequestInternal asynchronous
1389 https://bugs.webkit.org/show_bug.cgi?id=179251
1391 Reviewed by Andy Estes.
1393 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1394 (WebResourceLoadScheduler::loadResource):
1395 (WebResourceLoadScheduler::schedulePluginStreamLoad):
1396 * WebCoreSupport/WebResourceLoadScheduler.h:
1398 2017-11-02 Christopher Reid <chris.reid@sony.com>
1400 Add a FileSystem namespace to FileSystem.cpp
1401 https://bugs.webkit.org/show_bug.cgi?id=179063
1403 Reviewed by Darin Adler.
1405 * Storage/StorageAreaSync.cpp:
1406 * Storage/StorageSyncManager.cpp:
1407 * Storage/StorageTracker.cpp:
1409 2017-10-31 Alex Christensen <achristensen@webkit.org>
1411 Use asynchronous ResourceHandleClient calls for WebKit1
1412 https://bugs.webkit.org/show_bug.cgi?id=160677
1414 Reviewed by Brady Eidson.
1416 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1417 (WebResourceLoadScheduler::createPingHandle):
1419 2017-10-16 Ryan Haddad <ryanhaddad@apple.com>
1421 Unreviewed, rolling out r223271.
1423 This change introduced LayoutTest failures on WK1.
1427 "Use asynchronous ResourceHandleClient calls for WebKit1"
1428 https://bugs.webkit.org/show_bug.cgi?id=160677
1429 https://trac.webkit.org/changeset/223271
1431 2017-10-12 Alex Christensen <achristensen@webkit.org>
1433 Use asynchronous ResourceHandleClient calls for WebKit1
1434 https://bugs.webkit.org/show_bug.cgi?id=160677
1436 Reviewed by Brady Eidson.
1438 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1439 (WebResourceLoadScheduler::createPingHandle):
1441 2017-10-10 Sam Weinig <sam@webkit.org>
1443 Replace copyKeysToVector/copyValuesToVector with copyToVector(map.keys())/copyToVector(map.values())
1444 https://bugs.webkit.org/show_bug.cgi?id=178102
1446 Reviewed by Tim Horton.
1448 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1449 (WebResourceLoadScheduler::servePendingRequests):
1451 2017-10-09 Per Arne Vollan <pvollan@apple.com>
1453 [Win] Link error: cannot open input file 'WebKitLegacyGUID.lib'
1454 https://bugs.webkit.org/show_bug.cgi?id=178087
1456 Reviewed by Alexey Proskuryakov.
1458 For compatibility reasons, the library still has the name WebKitGUID.lib.
1460 * PlatformWin.cmake:
1462 2017-10-05 Darin Adler <darin@apple.com>
1464 Remove additional WebKitSystemInterface remnants
1465 https://bugs.webkit.org/show_bug.cgi?id=177948
1467 Reviewed by Andy Estes.
1469 * PlatformMac.cmake: Removed reference to deleted file WebSystemInterface.mm.
1471 2017-10-04 Alex Christensen <achristensen@webkit.org>
1473 Stop linking with WebKitSystemInterface
1474 https://bugs.webkit.org/show_bug.cgi?id=177915
1476 Reviewed by Antti Koivisto.
1478 * WebKitLegacy.xcodeproj/project.pbxproj:
1480 2017-10-02 Per Arne Vollan <pvollan@apple.com>
1482 [Win] Link error: cannot open file 'WebKitGUID.lib'
1483 https://bugs.webkit.org/show_bug.cgi?id=177759
1485 Reviewed by Alex Christensen.
1487 For backward compatibility reasons, this library should not be renamed from
1488 WebKitGUID.lib to WebKitLegacyGUID.lib.
1490 * PlatformWin.cmake:
1492 2017-09-29 Chris Dumez <cdumez@apple.com>
1494 http/tests/preconnect/link-rel-preconnect-https.html is flaky
1495 https://bugs.webkit.org/show_bug.cgi?id=177673
1497 Reviewed by Alex Christensen.
1499 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1500 (WebResourceLoadScheduler::preconnectTo):
1501 * WebCoreSupport/WebResourceLoadScheduler.h:
1503 2017-09-28 Chris Dumez <cdumez@apple.com>
1505 Add support for <link rel=preconnect>
1506 https://bugs.webkit.org/show_bug.cgi?id=177474
1507 <rdar://problem/33141380>
1509 Reviewed by Alex Christensen.
1511 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1512 (WebResourceLoadScheduler::preconnectTo):
1513 * WebCoreSupport/WebResourceLoadScheduler.h:
1515 2017-09-26 Per Arne Vollan <pvollan@apple.com>
1517 [Win] WebKitCOMAPI.h is not copied after build has finished.
1518 https://bugs.webkit.org/show_bug.cgi?id=177505
1520 Reviewed by Brent Fulgham.
1522 The file is located in the WebKitLegacy forwarding headers folder, not the WebKit folder.
1524 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1526 2017-09-25 Timothy Horton <timothy_horton@apple.com>
1528 Fix the macOS WebKit CMake build
1531 Before r222194, this -umbrella flag mentioned "WebKit" twice:
1532 first, the name of the target to affect; second, the name of the
1533 umbrella framework. In r222194, the targets were renamed. It turns
1534 out that a global find and replace isn't a great way to do this,
1535 because it caught the name of the umbrella framework too.
1537 Put it back; the umbrella framework will always be named "WebKit".
1539 This makes it once again possible to link WebKit (before, it was
1540 complaining about us linking directly to WebKitLegacy instead of the
1541 nonsensical WebKitLegacy umbrella framework).
1543 2017-09-25 Chris Dumez <cdumez@apple.com>
1545 Make StoredCredentials an enum class and rename its header
1546 https://bugs.webkit.org/show_bug.cgi?id=177455
1548 Reviewed by Youenn Fablet.
1550 Make StoredCredentials an enum class and rename its header for clarity. This was error-prone because 0 meant
1551 "allow" and and 1 meant "do not allow". It was trivial to convert it to a boolean by mistake and get the
1554 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1555 (WebResourceLoadScheduler::loadResourceSynchronously):
1556 * WebCoreSupport/WebResourceLoadScheduler.h:
1558 2017-09-25 Timothy Horton <timothy_horton@apple.com>
1560 Make progress on getting Mac CMake building again
1561 https://bugs.webkit.org/show_bug.cgi?id=177443
1563 Unreviewed, just "fixing" the build.
1565 * PlatformMac.cmake:
1566 Set up dependencies correctly for our mig-generated files.
1567 MAIN_DEPENDENCY is for VS, not what it sounds like.
1569 Add mig-generated files to WebKitLegacy, not WebKit (I think this was
1570 missed in the WebKit2 rename).
1572 2017-09-21 Per Arne Vollan <pvollan@apple.com>
1574 [Win] Compile error, generate-webkitversion.pl script not found.
1575 https://bugs.webkit.org/show_bug.cgi?id=177310
1577 Reviewed by Brent Fulgham.
1579 The script is located using the WebKitLegacy folder cmake variable, which needs
1580 to be set in the project file.
1582 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1584 2017-09-18 Michael Catanzaro <mcatanzaro@igalia.com>
1586 [CMake] Rename WebKit target to WebKitLegacy and rename WebKit2 target to WebKit
1587 https://bugs.webkit.org/show_bug.cgi?id=174558
1589 Reviewed by Alex Christensen.
1591 With help from Stephan Szabo, thanks!
1594 * PlatformMac.cmake:
1595 * PlatformWin.cmake:
1597 2017-09-16 Tim Horton <timothy_horton@apple.com>
1599 Fix the Tools build with CMake on macOS
1600 https://bugs.webkit.org/show_bug.cgi?id=177030
1602 Reviewed by Geoffrey Garen.
1604 * PlatformMac.cmake:
1605 Add some forwarding headers.
1607 2017-09-12 Per Arne Vollan <pvollan@apple.com>
1609 [Win] Link errors when building WebKit from .proj files.
1610 https://bugs.webkit.org/show_bug.cgi?id=176813
1612 Reviewed by Brent Fulgham.
1614 Add missing libraries to WebKit build.
1616 * PlatformWin.cmake:
1618 2017-08-31 Don Olmstead <don.olmstead@sony.com>
1620 [CMake] Make USE_CF conditional within Windows
1621 https://bugs.webkit.org/show_bug.cgi?id=176173
1623 Reviewed by Alex Christensen.
1625 * PlatformWin.cmake:
1627 2017-08-30 Andy Estes <aestes@apple.com>
1629 [Mac] Upstream Carbon-related WebKitSystemInterface functions
1630 https://bugs.webkit.org/show_bug.cgi?id=176087
1632 Reviewed by Alex Christensen.
1634 * WebKitLegacy.xcodeproj/project.pbxproj:
1636 2017-08-29 Don Olmstead <don.olmstead@sony.com>
1638 [CMake] Use find_package for zlib
1639 https://bugs.webkit.org/show_bug.cgi?id=176075
1641 Reviewed by Alex Christensen.
1643 * PlatformWin.cmake:
1645 2017-08-29 Don Olmstead <don.olmstead@sony.com>
1647 [CMake] Use find_package for libxml2 and libxstl
1648 https://bugs.webkit.org/show_bug.cgi?id=176042
1650 Reviewed by Konstantin Tokarev.
1652 * PlatformWin.cmake:
1654 2017-08-24 Don Olmstead <don.olmstead@sony.com>
1656 [CMake] Use find_package for SQLite
1657 https://bugs.webkit.org/show_bug.cgi?id=175803
1659 Reviewed by Konstantin Tokarev.
1661 * PlatformWin.cmake:
1663 2017-08-20 Chris Dumez <cdumez@apple.com>
1665 Simplify calls to LoaderStrategy::startPingLoad()
1666 https://bugs.webkit.org/show_bug.cgi?id=175756
1668 Reviewed by Sam Weinig.
1670 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1671 (WebResourceLoadScheduler::startPingLoad):
1672 * WebCoreSupport/WebResourceLoadScheduler.h:
1674 2017-08-18 Chris Dumez <cdumez@apple.com>
1676 [Beacon] Improve error reporting
1677 https://bugs.webkit.org/show_bug.cgi?id=175723
1679 Reviewed by Darin Adler.
1681 Have Ping loads such as beacons report errors via their completion handler.
1682 The Beacon API is using this error to log a console message when beacon loads
1683 fail, provided that the page is still alive.
1685 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1686 (WebResourceLoadScheduler::startPingLoad):
1687 * WebCoreSupport/WebResourceLoadScheduler.h:
1689 2017-08-18 Chris Dumez <cdumez@apple.com>
1691 [Beacon] Add support for quota limitation
1692 https://bugs.webkit.org/show_bug.cgi?id=175443
1693 <rdar://problem/33729002>
1695 Reviewed by Youenn Fablet.
1697 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1698 (WebResourceLoadScheduler::startPingLoad):
1699 * WebCoreSupport/WebResourceLoadScheduler.h:
1701 2017-08-17 Chris Dumez <cdumez@apple.com>
1703 Regression(r220817): We should only copy the original request headers for Ping loads
1704 https://bugs.webkit.org/show_bug.cgi?id=175679
1706 Reviewed by Youenn Fablet.
1708 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1709 (WebResourceLoadScheduler::createPingHandle):
1710 * WebCoreSupport/WebResourceLoadScheduler.h:
1712 2017-08-17 Don Olmstead <don.olmstead@sony.com>
1714 [PAL] Relocate SessionID to root
1715 https://bugs.webkit.org/show_bug.cgi?id=175684
1717 Reviewed by Alex Christensen.
1719 * Storage/WebDatabaseProvider.cpp:
1721 2017-08-17 Don Olmstead <don.olmstead@sony.com>
1723 [PAL] Move SessionID into PAL
1724 https://bugs.webkit.org/show_bug.cgi?id=174192
1726 Reviewed by Antti Koivisto.
1728 * Storage/WebDatabaseProvider.cpp:
1729 (WebDatabaseProvider::idbConnectionToServerForSession):
1730 * Storage/WebDatabaseProvider.h:
1732 2017-08-16 Chris Dumez <cdumez@apple.com>
1734 Cross origin Beacon requests with a ArrayBuffer / ArrayBufferView payload should not do a CORS preflight
1735 https://bugs.webkit.org/show_bug.cgi?id=175628
1736 <rdar://problem/33919278>
1738 Reviewed by Geoffrey Garen.
1740 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1741 (WebResourceLoadScheduler::createPingHandle):
1742 * WebCoreSupport/WebResourceLoadScheduler.h:
1744 2017-08-16 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com>
1746 [PAL] Move spi/ios and spi/win directories into PAL
1747 https://bugs.webkit.org/show_bug.cgi?id=175171
1749 Reviewed by Antti Koivisto.
1751 * Storage/StorageTracker.cpp:
1753 2017-08-10 Dan Bernstein <mitz@apple.com>
1755 Restored svn:ignore values that went missing when the project got renamed.
1757 * WebKitLegacy.xcodeproj: Added property svn:ignore.
1759 2017-08-10 Chris Dumez <cdumez@apple.com>
1761 [Beacon] Do connect-src CSP check on redirects as well
1762 https://bugs.webkit.org/show_bug.cgi?id=175410
1763 <rdar://problem/33815470>
1765 Reviewed by Youenn Fablet.
1767 Update createPingHandle() to take in ContentSecurityPolicy
1768 object in but no behavior change for WK1.
1770 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1771 (WebResourceLoadScheduler::createPingHandle):
1772 * WebCoreSupport/WebResourceLoadScheduler.h:
1774 2017-08-08 Chris Dumez <cdumez@apple.com>
1776 [Beacon] Add support for CORS-preflighting for WK2 / NETWORK_SESSION
1777 https://bugs.webkit.org/show_bug.cgi?id=175264
1778 <rdar://problem/33547793>
1780 Reviewed by Youenn Fablet.
1782 createPingHandle() now takes new parameters but there is currently no behavior
1785 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1786 (WebResourceLoadScheduler::createPingHandle):
1787 * WebCoreSupport/WebResourceLoadScheduler.h:
1789 2017-08-03 Per Arne Vollan <pvollan@apple.com>
1791 [Win] WebKit COM header file is not placed in the correct location.
1792 https://bugs.webkit.org/show_bug.cgi?id=175101
1794 Reviewed by Brent Fulgham.
1796 After the transition to WebKitLegacy, the generated WebKit header files should still
1797 be placed in the WebKit folder, so WebKit clients will find the header files in the
1800 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1802 2017-08-02 Matthew Hanson <matthew_hanson@apple.com>
1804 Build-fix for Windows in Visual Studio after directory rename.
1806 Reviewed by Per Arne Vollan.
1808 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1809 We still build WebKit.dll, not WebKitLegacy.dll.
1811 2017-07-31 Sam Weinig <sam@webkit.org>
1813 Remove unnecessary exceptions from storage code
1814 https://bugs.webkit.org/show_bug.cgi?id=174572
1816 Reviewed by Chris Dumez.
1818 * Storage/StorageAreaImpl.cpp:
1819 (WebKit::StorageAreaImpl::canAccessStorage): Deleted.
1820 * Storage/StorageAreaImpl.h:
1821 Remove canAccessStorage. It is no longer called.
1823 2017-07-14 Filip Pizlo <fpizlo@apple.com>
1825 It should be easy to decide how WebKit yields
1826 https://bugs.webkit.org/show_bug.cgi?id=174298
1828 Reviewed by Saam Barati.
1830 * Storage/StorageTracker.h:
1832 2017-07-21 Konstantin Tokarev <annulen@yandex.ru>
1834 Unreviewed, fix Mac cmake build after r219733
1836 * PlatformMac.cmake:
1838 2017-07-21 Konstantin Tokarev <annulen@yandex.ru>
1840 [cmake][Mac] Unreviewed, fix linking WebKitSystemInterface
1842 After r219560 link_directories() in PlatformXXX.cmake files does not
1843 affect corresponding targets.
1845 * PlatformMac.cmake:
1847 2017-07-21 Brady Eidson <beidson@apple.com>
1849 Get rid of WebCore IconDatabase code.
1850 https://bugs.webkit.org/show_bug.cgi?id=174700
1852 Reviewed by Tim Horton.
1854 * WebKitLegacy.xcodeproj/project.pbxproj:
1856 2017-07-17 Konstantin Tokarev <annulen@yandex.ru>
1858 [cmake] Set library types before their targets are created
1859 https://bugs.webkit.org/show_bug.cgi?id=174600
1861 Reviewed by Michael Catanzaro.
1863 Since r219560 library targets are created before PlatformXXX.cmake
1864 files are processed, however library type must be passed in
1865 add_library() call and cannot be changed afterwards. Set these
1866 variables in OptionsXXX.cmake.
1868 * PlatformMac.cmake:
1869 * PlatformWin.cmake:
1871 2017-07-17 Darin Adler <darin@apple.com>
1873 Improve use of NeverDestroyed
1874 https://bugs.webkit.org/show_bug.cgi?id=174348
1876 Reviewed by Sam Weinig.
1878 * Storage/StorageThread.cpp:
1879 (WebCore::StorageThread::releaseFastMallocFreeMemoryInAllThreads):
1880 Simplify code by using a modern for loop and passing a function without wrapping
1883 2017-07-17 Michael Catanzaro <mcatanzaro@igalia.com>
1885 [CMake] Macros in WebKitMacros.cmake should be prefixed with WEBKIT_ namespace
1886 https://bugs.webkit.org/show_bug.cgi?id=174547
1888 Reviewed by Alex Christensen.
1892 2017-07-17 Konstantin Tokarev <annulen@yandex.ru>
1894 [CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
1895 https://bugs.webkit.org/show_bug.cgi?id=174557
1897 Reviewed by Michael Catanzaro.
1901 2017-07-14 Jonathan Bedard <jbedard@apple.com>
1904 https://bugs.webkit.org/show_bug.cgi?id=174430
1905 <rdar://problem/33269288>
1907 Reviewed by Tim Horton.
1909 * Storage/StorageTracker.cpp: sqlite3_private.h no longer exists in the iOS
1910 Simulator SDK, explicitly define the required macro.
1912 2017-07-13 Dan Bernstein <mitz@apple.com>
1914 Removed empty project directories left behind after the rename
1916 * WebKit.vcxproj: Removed.
1917 * WebKit.xcodeproj: Removed.
1919 2017-07-05 Matthew Hanson <matthew_hanson@apple.com>
1921 Update the Visual Studio project name from WebKit to WebKitLegacy.
1922 https://bugs.webkit.org/show_bug.cgi?id=174162
1923 rdar://problem/33137594
1925 Reviewed by Dan Bernstein.
1927 Rename WebKit to WebKitLegacy.
1929 * WebKitLegacy.vcxproj/WebKitLegacy.proj: Renamed from Source/WebKitLegacy/WebKit.vcxproj/WebKit.proj.
1931 2017-07-05 Matthew Hanson <matthew_hanson@apple.com>
1933 Update the Xcode project name from WebKit to WebKitLegacy.
1934 https://bugs.webkit.org/show_bug.cgi?id=174162
1935 rdar://problem/33137594
1937 Reviewed by Dan Bernstein.
1939 Rename WebKit to WebKitLegacy.
1941 * WebKitLegacy.xcodeproj/project.pbxproj: Renamed from Source/WebKitLegacy/WebKit.xcodeproj/project.pbxproj.
1943 2017-07-10 Per Arne Vollan <pvollan@apple.com>
1945 [Win] Link error when building WTF from WTF.proj project file.
1946 https://bugs.webkit.org/show_bug.cgi?id=174316
1947 <rdar://problem/33178200>
1949 Reviewed by Brent Fulgham.
1951 WTF_CPU_X86 cmake variable needs to be set for link libraries directories to be correct.
1953 * WebKit.vcxproj/WebKit.proj:
1955 2017-07-05 Don Olmstead <don.olmstead@sony.com>
1957 [WinCairo] Consolidate CMake code related to CURL
1958 https://bugs.webkit.org/show_bug.cgi?id=170860
1960 Reviewed by Alex Christensen.
1962 * PlatformWin.cmake:
1964 2017-06-26 Yusuke Suzuki <utatane.tea@gmail.com>
1966 [WTF] Drop Thread::create(obsolete things) API since we can use lambda
1967 https://bugs.webkit.org/show_bug.cgi?id=173825
1969 Reviewed by Saam Barati.
1971 * Storage/StorageThread.cpp:
1972 (WebCore::StorageThread::start):
1973 (WebCore::StorageThread::threadEntryPointCallback): Deleted.
1974 * Storage/StorageThread.h:
1976 2017-06-16 Alex Christensen <achristensen@webkit.org>
1978 Fix Visual Studio 2017 64-bit build after r218258
1979 https://bugs.webkit.org/show_bug.cgi?id=173308
1981 * PlatformWin.cmake:
1982 We still need the enable_language(ASM_MASM) even if we explicitly call ml64 with VS2017.
1983 Otherwise CMake complains about a missing variable CMAKE_ASM_MASM_COMPILE_OBJECT.
1985 2017-06-14 Fujii Hironori <Hironori.Fujii@sony.com>
1987 [Win64] Fails to build Asm.lib (PaintHooks.asm) since Bug 173132
1988 https://bugs.webkit.org/show_bug.cgi?id=173308
1990 Reviewed by Alex Christensen.
1992 Use the same method to process asm file as well as JSC does (Bug 170833).
1994 * PlatformWin.cmake: Use add_custom_command to assemble PaintHooks.asm.
1996 2017-06-09 Per Arne Vollan <pvollan@apple.com>
1998 [Win64] Build error when compiling PaintHooks.asm.
1999 https://bugs.webkit.org/show_bug.cgi?id=173132
2001 Reviewed by Brent Fulgham.
2003 There seems to be too many include paths on the command line for ml64. According to the documentation,
2004 a maximum of 10 /I options is allowed. Create a separate static library for asm files, in order to
2005 avoid all the include paths.
2007 * PlatformWin.cmake:
2009 2017-06-06 Yoav Weiss <yoav@yoav.ws>
2011 [preload] Conditional support for media preloading and align media `as` values.
2012 https://bugs.webkit.org/show_bug.cgi?id=172501
2014 Reviewed by Dean Jackson.
2016 Add media preloading preference and hook it up to runtime enabled features.
2018 * mac/WebView/WebPreferenceKeysPrivate.h: Added a media preloading preference.
2019 * mac/WebView/WebPreferences.mm:
2020 (WebKit::WebPreferences::setMediaPreloadingEnabled):
2021 (WebKit::WebPreferences::mediaPreloadingEnabled):
2022 * mac/WebView/WebPreferencesPrivate.h:
2023 (WebKit::WebPreferences::setMediaPreloadingEnabled):
2024 (WebKit::WebPreferences::mediaPreloadingEnabled):
2025 * mac/WebView/WebView.mm: Set runtime enabled feature based on preference.
2026 * win/Interfaces/IWebPreferencesPrivate.idl: define mediaPreloadEnabled and setMediaPreloadingEnabled
2027 * win/WebPreferences.cpp: Initialize media preloading as false and define setter and getter.
2028 (WebKit::WebPreferences::setMediaPreloadingEnabled):
2029 (WebKit::WebPreferences::mediaPreloadingEnabled):
2030 * win/WebPreferences.h:
2031 * win/WebPreferenceKeysPrivate.h:
2032 * win/WebView.cpp: Set runtime enabled feature based on preference.
2034 2017-05-22 Don Olmstead <don.olmstead@am.sony.com>
2036 [Win][CMake] Move MSVC compiler options to a common location
2037 https://bugs.webkit.org/show_bug.cgi?id=172230
2039 Reviewed by Yusuke Suzuki.
2041 * PlatformWin.cmake:
2043 2017-04-20 Konstantin Tokarev <annulen@yandex.ru>
2045 [cmake] Define FORWARDING_HEADERS_DIR in WebKitFS and use it everywhere
2046 https://bugs.webkit.org/show_bug.cgi?id=171071
2048 Reviewed by Michael Catanzaro.
2050 "${DERIVED_SOURCES_DIR}/ForwardingHeaders" path occurs very often in the
2051 build system files. GTK-specifc FORWARDING_HEADERS_DIR variable should
2052 be available for all ports.
2055 * PlatformMac.cmake:
2056 * PlatformWin.cmake:
2058 2017-04-12 Brady Eidson <beidson@apple.com>
2060 QuotaExceededError when saving to localStorage in private mode.
2061 https://bugs.webkit.org/show_bug.cgi?id=157010
2063 Reviewed by Alex Christensen.
2065 * Storage/StorageNamespaceImpl.cpp:
2066 (WebKit::StorageNamespaceImpl::createEphemeralLocalStorageNamespace):
2067 (WebKit::StorageNamespaceImpl::StorageNamespaceImpl):
2068 (WebKit::StorageNamespaceImpl::~StorageNamespaceImpl):
2069 (WebKit::StorageNamespaceImpl::copy):
2070 (WebKit::StorageNamespaceImpl::close):
2071 * Storage/StorageNamespaceImpl.h:
2073 * Storage/WebStorageNamespaceProvider.cpp:
2074 (WebKit::WebStorageNamespaceProvider::createEphemeralLocalStorageNamespace):
2075 * Storage/WebStorageNamespaceProvider.h:
2077 2017-04-12 Yusuke Suzuki <utatane.tea@gmail.com>
2079 [WTF] Introduce Thread class and use RefPtr<Thread> and align Windows Threading implementation semantics to Pthread one
2080 https://bugs.webkit.org/show_bug.cgi?id=170502
2082 Reviewed by Mark Lam.
2084 Mechanical change. Use Thread:: APIs.
2086 * Storage/StorageThread.cpp:
2087 (WebCore::StorageThread::StorageThread):
2088 (WebCore::StorageThread::~StorageThread):
2089 (WebCore::StorageThread::start):
2090 (WebCore::StorageThread::dispatch):
2091 (WebCore::StorageThread::terminate):
2092 * Storage/StorageThread.h:
2094 2017-04-10 Chris Dumez <cdumez@apple.com>
2096 Drop Timer::startOneShot() overload taking a double
2097 https://bugs.webkit.org/show_bug.cgi?id=170659
2099 Reviewed by Yusuke Suzuki.
2101 Drop Timer::startOneShot() overload taking a double as people should use Seconds type now.
2103 * Storage/StorageAreaSync.cpp:
2104 * Storage/StorageTracker.cpp:
2105 (WebKit::StorageTracker::StorageTracker):
2106 * Storage/StorageTracker.h:
2107 (WebKit::StorageTracker::storageDatabaseIdleInterval):
2108 (WebKit::StorageTracker::setStorageDatabaseIdleInterval):
2110 2017-04-09 Chris Dumez <cdumez@apple.com>
2112 Start dropping Timer API dealing with double
2113 https://bugs.webkit.org/show_bug.cgi?id=170649
2115 Reviewed by Yusuke Suzuki.
2117 Start dropping Timer API dealing with double as people should use Seconds now.
2119 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2120 (WebResourceLoadScheduler::scheduleServePendingRequests):
2122 2017-04-06 Joseph Pecoraro <pecoraro@apple.com>
2124 Web Inspector: Only Capture Extra Network Load Metrics when there is a Web Inspector Frontend
2125 https://bugs.webkit.org/show_bug.cgi?id=170525
2127 Reviewed by Youenn Fablet.
2129 * WebCoreSupport/WebResourceLoadScheduler.h:
2131 2017-04-05 Fujii Hironori <Hironori.Fujii@sony.com>
2133 [WinCairo] Invalid address specified to RtlValidateHeap at std::ctype<char>::_Tidy() when finishing MiniBrowser
2134 https://bugs.webkit.org/show_bug.cgi?id=157067
2136 Reviewed by Per Arne Vollan.
2138 WebKit is compiled with /MT switch to use static CRT on Windows.
2139 But, WinCairo port does not link the static CRT by specifying
2140 /NODEFAULTLIB:LIBCMT and /NODEFAULTLIB:LIBCMTD switches.
2141 Eventually, a dynamically linked CRT is linked. This causes
2142 potential heap corruption.
2144 * PlatformWin.cmake: Do not set /NODEFAULTLIB:LIBCMT and
2145 /NODEFAULTLIB:LIBCMTD, but /NODEFAULTLIB:MSVCRT and
2146 /NODEFAULTLIB:MSVCRTD as well as AppleWin port does
2148 2017-03-31 Brady Eidson <beidson@apple.com>
2150 Clean up the "StorageType" enum.
2151 https://bugs.webkit.org/show_bug.cgi?id=170349
2153 Reviewed by Tim Horton.
2155 * Storage/StorageAreaImpl.cpp:
2156 (WebKit::StorageAreaImpl::dispatchStorageEvent):
2158 * Storage/StorageNamespaceImpl.cpp:
2159 (WebKit::StorageNamespaceImpl::createSessionStorageNamespace):
2160 (WebKit::StorageNamespaceImpl::getOrCreateLocalStorageNamespace):
2161 (WebKit::StorageNamespaceImpl::StorageNamespaceImpl):
2162 (WebKit::StorageNamespaceImpl::~StorageNamespaceImpl):
2163 (WebKit::StorageNamespaceImpl::copy):
2164 (WebKit::StorageNamespaceImpl::close):
2166 2017-03-27 JF Bastien <jfbastien@apple.com>
2168 make build fix for WebDefaultUIDelegate.m
2169 https://bugs.webkit.org/show_bug.cgi?id=170163
2171 Unreviewed build fix.
2173 * PlatformMac.cmake: WebDefaultUIDelegate.m was renamed
2175 2017-03-24 Wenson Hsieh <wenson_hsieh@apple.com>
2177 [WK2] Add a UI delegate SPI hook to enable or disable navigation on drop
2178 https://bugs.webkit.org/show_bug.cgi?id=169168
2179 <rdar://problem/30688374>
2181 Reviewed by Tim Horton.
2183 See WebKit ChangeLog for more details. Renames WebDefaultUIDelegate.m => WebDefaultUIDelegate.mm.
2185 * WebKit.xcodeproj/project.pbxproj:
2187 2017-03-20 Dan Bernstein <mitz@apple.com>
2189 [Xcode] Incremental builds of WebKitLegacy are slow because of the Postprocess Headers phase
2190 https://bugs.webkit.org/show_bug.cgi?id=169861
2192 Reviewed by Sam Weinig.
2194 * WebKit.xcodeproj/project.pbxproj: Specified that the Postprocess Headers script build
2195 phase has the Headers and PrivateHeaders directories as its inputs and a timestamp file as
2198 2017-03-15 Dean Jackson <dino@apple.com>
2200 Sort Xcode project files
2201 https://bugs.webkit.org/show_bug.cgi?id=169669
2203 Reviewed by Antoine Quint.
2205 * WebKit.xcodeproj/project.pbxproj:
2207 2017-02-27 Aakash Jain <aakash_jain@apple.com>
2209 Enable SUPPORTS_TEXT_BASED_API in WebKitLegacy for iOS
2210 https://bugs.webkit.org/show_bug.cgi?id=168919
2212 Reviewed by Tim Horton.
2214 * WebKit.xcodeproj/project.pbxproj: Run scripts which are run for installhdrs phase for installapi phase as well.
2216 2017-02-22 Aakash Jain <aakash_jain@apple.com>
2218 Export Objective-C symbols for variables in Webkit SPI
2219 https://bugs.webkit.org/show_bug.cgi?id=168758
2221 Reviewed by Alexey Proskuryakov.
2223 * WebKit.xcodeproj/project.pbxproj: Generating separate .exp file for i386 without _OBJC_IVAR symbols.
2225 2017-02-21 Aakash Jain <aakash_jain@apple.com>
2227 Make WebKitStatisticsPrivate.h project header
2228 https://bugs.webkit.org/show_bug.cgi?id=168686
2230 Reviewed by Alexey Proskuryakov.
2232 * WebKit.xcodeproj/project.pbxproj:
2234 2017-02-21 Commit Queue <commit-queue@webkit.org>
2236 Unreviewed, rolling out r212768.
2237 https://bugs.webkit.org/show_bug.cgi?id=168698
2239 Rolling out since this would break other projects. (Requested
2240 by aakashjain on #webkit).
2244 "[iOS] Remove old WebKit1 MemoryMeasure helper."
2245 https://bugs.webkit.org/show_bug.cgi?id=168675
2246 http://trac.webkit.org/changeset/212768
2248 2017-02-21 Andreas Kling <akling@apple.com>
2250 [iOS] Remove old WebKit1 MemoryMeasure helper.
2251 <https://webkit.org/b/168675>
2253 Reviewed by Sam Weinig.
2255 * WebKit.xcodeproj/project.pbxproj:
2257 2017-02-21 JF Bastien <jfbastien@apple.com>
2260 https://bugs.webkit.org/show_bug.cgi?id=168665
2262 Reviewed by Mark Lam.
2264 It was broken by r212555 and r212681.
2266 * PlatformMac.cmake:
2268 2017-02-20 Alexey Proskuryakov <ap@apple.com>
2270 List of WebCore symbols to re-export from WebKitLegacy should be built automatically
2271 https://bugs.webkit.org/show_bug.cgi?id=168342
2272 rdar://problem/26182266
2274 Reviewed by Tim Horton.
2276 * WebKit.xcodeproj/project.pbxproj: Append ReexportedWebCoreSymbols_${CURRENT_ARCH}.exp
2277 to WebKitLegacy.generated.exp if it exists. Added it to build phase inputs for
2278 dependency tracking.
2280 2017-02-20 Alexey Proskuryakov <ap@apple.com>
2282 Clean up how WebKit exports _WebCreateFragment
2283 https://bugs.webkit.org/show_bug.cgi?id=168579
2285 Reviewed by Dan Bernstein.
2287 * WebKit.xcodeproj/project.pbxproj: Added WebCreateFragmentInternal.h.
2289 2017-02-15 Brady Eidson <beidson@apple.com>
2291 Stop backing up localStorage databases to iCloud by default.
2292 <rdar://problem/29045531> and https://bugs.webkit.org/show_bug.cgi?id=168388
2294 Reviewed by Geoffrey Garen.
2296 * WebKit.xcodeproj/project.pbxproj:
2298 2017-02-15 Aakash Jain <aakash_jain@apple.com>
2300 revert DOMTextEvent.h and DOMHTMLCanvasElement.h to private header
2301 https://bugs.webkit.org/show_bug.cgi?id=168393
2303 Reviewed by Dan Bernstein.
2305 Reverting a seemingly accidental change from r204717.
2307 * WebKit.xcodeproj/project.pbxproj:
2309 2017-02-09 Alex Christensen <achristensen@webkit.org>
2313 * PlatformMac.cmake:
2315 2017-02-07 Alexey Proskuryakov <ap@apple.com>
2317 Don't migrate WebKit DOM headers in MigrateHeaders.make
2318 https://bugs.webkit.org/show_bug.cgi?id=167608
2320 Reviewed by Darin Adler.
2322 Stop migrating DOM headers that are now in WebKit.
2324 * WebKit.xcodeproj/project.pbxproj: Marked DOM headers as private, so that Xcode
2325 takes care of making them available as SPI.
2327 2017-02-02 Yongjun Zhang <yongjun_zhang@apple.com>
2329 In iOS, we should take background assertion when accessing localstorage databases.
2330 https://bugs.webkit.org/show_bug.cgi?id=165478
2332 Reviewed by Brady Eidson.
2334 * WebKit.xcodeproj/project.pbxproj: Moved WebSQLiteDatabaseTrackerClient to WebCore.
2336 2017-01-17 Antti Koivisto <antti@apple.com>
2338 Persist derived data
2339 https://bugs.webkit.org/show_bug.cgi?id=167136
2341 Reviewed by Andreas Kling.
2343 * WebCoreSupport/WebResourceLoadScheduler.h:
2345 2017-01-05 Per Arne Vollan <pvollan@apple.com>
2347 [Win] Compile error.
2348 https://bugs.webkit.org/show_bug.cgi?id=166726
2354 2016-12-22 Andy Estes <aestes@apple.com>
2356 Reduce QuickLook.h include overhead
2357 https://bugs.webkit.org/show_bug.cgi?id=166454
2359 Reviewed by Andreas Kling.
2361 * WebCoreSupport/WebResourceLoadScheduler.cpp: Stopped including QuickLook.h.
2363 2016-12-15 Myles C. Maxfield <mmaxfield@apple.com>
2365 Sort Xcode project files
2366 https://bugs.webkit.org/show_bug.cgi?id=165937
2368 Reviewed by Simon Fraser.
2370 * WebKit.xcodeproj/project.pbxproj:
2372 2016-12-10 Konstantin Tokarev <annulen@yandex.ru>
2374 Unreviewed attempt to fix cmake build of Mac port after r209665.
2376 * PlatformMac.cmake: Avoid using relative path in
2377 WebKit_INCLUDE_DIRECTORIES.
2379 2016-12-10 Konstantin Tokarev <annulen@yandex.ru>
2381 [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them
2382 https://bugs.webkit.org/show_bug.cgi?id=165686
2384 Reviewed by Michael Catanzaro.
2386 This change reduces duplication of include path lists between modules,
2387 and reduces future need for fixes like r209605 (broken build because of
2388 WebCore header suddenly becoming used in WebKit2).
2391 * PlatformMac.cmake:
2392 * PlatformWin.cmake:
2394 2016-12-05 Csaba Osztrogonác <ossy@webkit.org>
2396 Unreviewed cmake buildfix after r209252.
2398 * PlatformMac.cmake:
2400 2016-12-02 Chris Dumez <cdumez@apple.com>
2402 [Mac][WK1] Implement new HTML interactive form validation user interface
2403 https://bugs.webkit.org/show_bug.cgi?id=164483
2405 Reviewed by Simon Fraser.
2407 Add new files to xcode project.
2409 * WebKit.xcodeproj/project.pbxproj:
2411 2016-11-17 Yusuke Suzuki <utatane.tea@gmail.com>
2413 [JSC] WTF::TemporaryChange with WTF::SetForScope
2414 https://bugs.webkit.org/show_bug.cgi?id=164761
2416 Reviewed by Saam Barati.
2418 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2420 2016-11-14 Alex Christensen <achristensen@webkit.org>
2422 Move SecurityOrigin::createFromDatabaseIdentifier to SecurityOriginData
2423 https://bugs.webkit.org/show_bug.cgi?id=164720
2425 Reviewed by Brady Eidson.
2427 * Storage/StorageAreaImpl.cpp:
2428 (WebKit::StorageAreaImpl::StorageAreaImpl):
2429 (WebKit::StorageAreaImpl::create):
2430 (WebKit::StorageAreaImpl::dispatchStorageEvent):
2431 * Storage/StorageAreaImpl.h:
2432 * Storage/StorageNamespaceImpl.cpp:
2433 (WebKit::StorageNamespaceImpl::storageArea):
2434 (WebKit::StorageNamespaceImpl::clearOriginForDeletion):
2435 * Storage/StorageNamespaceImpl.h:
2436 * Storage/StorageTracker.cpp:
2437 (WebKit::StorageTracker::origins):
2438 (WebKit::StorageTracker::deleteOriginWithIdentifier):
2439 (WebKit::StorageTracker::deleteOrigin):
2440 * Storage/StorageTracker.h:
2441 * Storage/WebStorageNamespaceProvider.cpp:
2442 (WebKit::WebStorageNamespaceProvider::clearLocalStorageForOrigin):
2443 * Storage/WebStorageNamespaceProvider.h:
2445 2016-11-11 Wenson Hsieh <wenson_hsieh@apple.com>
2447 [WK2] autocorrect and autocapitalize attributes do not work in contenteditable elements
2448 https://bugs.webkit.org/show_bug.cgi?id=164538
2449 <rdar://problem/8418711>
2451 Reviewed by Ryosuke Niwa.
2453 Introduce WebAutocapitalizeTypes.h to WebKit.
2455 * WebKit.xcodeproj/project.pbxproj:
2457 2016-11-10 Alex Christensen <achristensen@webkit.org>
2459 Move SecurityOrigin::databaseIdentifier() to SecurityOriginData
2460 https://bugs.webkit.org/show_bug.cgi?id=164573
2462 Reviewed by Brady Eidson.
2464 * Storage/StorageAreaImpl.cpp:
2465 (WebKit::StorageAreaImpl::create):
2466 * Storage/StorageTracker.cpp:
2467 (WebKit::StorageTracker::deleteOrigin):
2468 (WebKit::StorageTracker::diskUsageForOrigin):
2470 2016-11-09 Alex Christensen <achristensen@webkit.org>
2472 Clean up Storage code
2473 https://bugs.webkit.org/show_bug.cgi?id=164562
2475 Reviewed by Brady Eidson.
2477 Some classes were in WebCore namespace instead of WebKit.
2479 * Storage/StorageAreaImpl.cpp:
2480 (WebKit::StorageAreaImpl::StorageAreaImpl):
2481 (WebKit::StorageAreaImpl::create):
2482 (WebKit::StorageAreaImpl::copy):
2483 (WebCore::StorageAreaImpl::~StorageAreaImpl): Deleted.
2484 (WebCore::StorageAreaImpl::StorageAreaImpl): Deleted.
2485 (WebCore::StorageAreaImpl::create): Deleted.
2486 (WebCore::StorageAreaImpl::copy): Deleted.
2487 (WebCore::StorageAreaImpl::canAccessStorage): Deleted.
2488 (WebCore::StorageAreaImpl::storageType): Deleted.
2489 (WebCore::StorageAreaImpl::length): Deleted.
2490 (WebCore::StorageAreaImpl::key): Deleted.
2491 (WebCore::StorageAreaImpl::item): Deleted.
2492 (WebCore::StorageAreaImpl::setItem): Deleted.
2493 (WebCore::StorageAreaImpl::removeItem): Deleted.
2494 (WebCore::StorageAreaImpl::clear): Deleted.
2495 (WebCore::StorageAreaImpl::contains): Deleted.
2496 (WebCore::StorageAreaImpl::importItems): Deleted.
2497 (WebCore::StorageAreaImpl::close): Deleted.
2498 (WebCore::StorageAreaImpl::clearForOriginDeletion): Deleted.
2499 (WebCore::StorageAreaImpl::sync): Deleted.
2500 (WebCore::StorageAreaImpl::blockUntilImportComplete): Deleted.
2501 (WebCore::StorageAreaImpl::memoryBytesUsedByCache): Deleted.
2502 (WebCore::StorageAreaImpl::incrementAccessCount): Deleted.
2503 (WebCore::StorageAreaImpl::decrementAccessCount): Deleted.
2504 (WebCore::StorageAreaImpl::closeDatabaseTimerFired): Deleted.
2505 (WebCore::StorageAreaImpl::closeDatabaseIfIdle): Deleted.
2506 (WebCore::StorageAreaImpl::dispatchStorageEvent): Deleted.
2507 * Storage/StorageAreaImpl.h:
2508 * Storage/StorageAreaSync.cpp:
2509 (WebKit::StorageAreaSync::StorageAreaSync):
2510 (WebKit::StorageAreaSync::create):
2511 (WebCore::StorageAreaSync::StorageAreaSync): Deleted.
2512 (WebCore::StorageAreaSync::create): Deleted.
2513 (WebCore::StorageAreaSync::~StorageAreaSync): Deleted.
2514 (WebCore::StorageAreaSync::scheduleFinalSync): Deleted.
2515 (WebCore::StorageAreaSync::scheduleItemForSync): Deleted.
2516 (WebCore::StorageAreaSync::scheduleClear): Deleted.
2517 (WebCore::StorageAreaSync::scheduleCloseDatabase): Deleted.
2518 (WebCore::StorageAreaSync::syncTimerFired): Deleted.
2519 (WebCore::StorageAreaSync::openDatabase): Deleted.
2520 (WebCore::StorageAreaSync::migrateItemTableIfNeeded): Deleted.
2521 (WebCore::StorageAreaSync::performImport): Deleted.
2522 (WebCore::StorageAreaSync::markImported): Deleted.
2523 (WebCore::StorageAreaSync::blockUntilImportComplete): Deleted.
2524 (WebCore::StorageAreaSync::sync): Deleted.
2525 (WebCore::StorageAreaSync::performSync): Deleted.
2526 (WebCore::StorageAreaSync::deleteEmptyDatabase): Deleted.
2527 (WebCore::StorageAreaSync::scheduleSync): Deleted.
2528 * Storage/StorageAreaSync.h:
2529 * Storage/StorageNamespaceImpl.cpp:
2530 (WebKit::StorageNamespaceImpl::createSessionStorageNamespace):
2531 (WebKit::StorageNamespaceImpl::getOrCreateLocalStorageNamespace):
2532 (WebKit::StorageNamespaceImpl::storageArea):
2533 (WebCore::localStorageNamespaceMap): Deleted.
2534 (WebCore::StorageNamespaceImpl::createSessionStorageNamespace): Deleted.
2535 (WebCore::StorageNamespaceImpl::getOrCreateLocalStorageNamespace): Deleted.
2536 (WebCore::StorageNamespaceImpl::StorageNamespaceImpl): Deleted.
2537 (WebCore::StorageNamespaceImpl::~StorageNamespaceImpl): Deleted.
2538 (WebCore::StorageNamespaceImpl::copy): Deleted.
2539 (WebCore::StorageNamespaceImpl::storageArea): Deleted.
2540 (WebCore::StorageNamespaceImpl::close): Deleted.
2541 (WebCore::StorageNamespaceImpl::clearOriginForDeletion): Deleted.
2542 (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion): Deleted.
2543 (WebCore::StorageNamespaceImpl::sync): Deleted.
2544 (WebCore::StorageNamespaceImpl::closeIdleLocalStorageDatabases): Deleted.
2545 * Storage/StorageNamespaceImpl.h:
2546 * Storage/StorageTracker.cpp:
2547 (WebCore::StorageTracker::initializeTracker): Deleted.
2548 (WebCore::StorageTracker::internalInitialize): Deleted.
2549 (WebCore::StorageTracker::tracker): Deleted.
2550 (WebCore::StorageTracker::StorageTracker): Deleted.
2551 (WebCore::StorageTracker::setDatabaseDirectoryPath): Deleted.
2552 (WebCore::StorageTracker::databaseDirectoryPath): Deleted.
2553 (WebCore::StorageTracker::trackerDatabasePath): Deleted.
2554 (WebCore::ensureDatabaseFileExists): Deleted.
2555 (WebCore::StorageTracker::openTrackerDatabase): Deleted.
2556 (WebCore::StorageTracker::importOriginIdentifiers): Deleted.
2557 (WebCore::StorageTracker::finishedImportingOriginIdentifiers): Deleted.
2558 (WebCore::StorageTracker::syncImportOriginIdentifiers): Deleted.
2559 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase): Deleted.
2560 (WebCore::StorageTracker::setOriginDetails): Deleted.
2561 (WebCore::StorageTracker::syncSetOriginDetails): Deleted.
2562 (WebCore::StorageTracker::origins): Deleted.
2563 (WebCore::StorageTracker::deleteAllOrigins): Deleted.
2564 (WebCore::truncateDatabaseFile): Deleted.
2565 (WebCore::StorageTracker::syncDeleteAllOrigins): Deleted.
2566 (WebCore::StorageTracker::deleteOriginWithIdentifier): Deleted.
2567 (WebCore::StorageTracker::deleteOrigin): Deleted.
2568 (WebCore::StorageTracker::syncDeleteOrigin): Deleted.
2569 (WebCore::StorageTracker::willDeleteAllOrigins): Deleted.
2570 (WebCore::StorageTracker::willDeleteOrigin): Deleted.
2571 (WebCore::StorageTracker::canDeleteOrigin): Deleted.
2572 (WebCore::StorageTracker::cancelDeletingOrigin): Deleted.
2573 (WebCore::StorageTracker::isActive): Deleted.
2574 (WebCore::StorageTracker::setIsActive): Deleted.
2575 (WebCore::StorageTracker::databasePathForOrigin): Deleted.
2576 (WebCore::StorageTracker::diskUsageForOrigin): Deleted.
2577 * Storage/StorageTracker.h:
2578 (WebCore::StorageTracker::storageDatabaseIdleInterval): Deleted.
2579 (WebCore::StorageTracker::setStorageDatabaseIdleInterval): Deleted.
2580 * Storage/WebStorageNamespaceProvider.cpp:
2581 (storageNamespaceProviders): Deleted.
2582 (WebStorageNamespaceProvider::create): Deleted.
2583 (WebStorageNamespaceProvider::WebStorageNamespaceProvider): Deleted.
2584 (WebStorageNamespaceProvider::~WebStorageNamespaceProvider): Deleted.
2585 (WebStorageNamespaceProvider::closeLocalStorage): Deleted.
2586 (WebStorageNamespaceProvider::clearLocalStorageForAllOrigins): Deleted.
2587 (WebStorageNamespaceProvider::clearLocalStorageForOrigin): Deleted.
2588 (WebStorageNamespaceProvider::closeIdleLocalStorageDatabases): Deleted.
2589 (WebStorageNamespaceProvider::syncLocalStorage): Deleted.
2590 (WebStorageNamespaceProvider::createSessionStorageNamespace): Deleted.
2591 (WebStorageNamespaceProvider::createLocalStorageNamespace): Deleted.
2592 (WebStorageNamespaceProvider::createTransientLocalStorageNamespace): Deleted.
2593 * Storage/WebStorageNamespaceProvider.h:
2594 * WebCoreSupport/WebResourceLoadScheduler.h:
2595 * WebCoreSupport/WebViewGroup.cpp:
2596 (WebViewGroup::storageNamespaceProvider):
2598 2016-11-02 Per Arne Vollan <pvollan@apple.com>
2600 [Win] Copy build results to AAS 'Program Files' folder.
2601 https://bugs.webkit.org/show_bug.cgi?id=164273
2603 Reviewed by Brent Fulgham.
2605 The preferred location for the binaries is the AAS 'Program Files' folder.
2607 * WebKit.vcxproj/WebKit.proj:
2609 2016-10-25 Konstantin Tokarev <annulen@yandex.ru>
2611 [cmake] Check if jscLib and WebKitGUID targets exist before using them
2612 https://bugs.webkit.org/show_bug.cgi?id=163945
2614 Reviewed by Alex Christensen.
2616 Currently these targets are used under WIN32 condition, however they
2617 are defined in PlatformWin.cmake, causing CMake warnings if port
2618 supports WIN32 but does not use PlatformWin.cmake
2622 2016-10-24 Per Arne Vollan <pvollan@apple.com>
2624 [Win] CMake build type is not set.
2625 https://bugs.webkit.org/show_bug.cgi?id=163917
2627 Reviewed by Alex Christensen.
2629 The CMAKE_BUILD_TYPE variable should be set to Debug or Release.
2631 * WebKit.vcxproj/WebKit.proj:
2633 2016-10-19 Alex Christensen <achristensen@webkit.org>
2636 https://bugs.webkit.org/show_bug.cgi?id=163675
2638 Reviewed by Brent Fulgham.
2640 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2641 (WebResourceLoadScheduler::scheduleLoad):
2643 2016-10-14 Alex Christensen <achristensen@webkit.org>
2647 * PlatformMac.cmake:
2649 2016-10-13 Anders Carlsson <andersca@apple.com>
2651 Move BackForwardList from WebCore to WebKitLegacy
2652 https://bugs.webkit.org/show_bug.cgi?id=163418
2654 Reviewed by Tim Horton.
2656 * WebKit.xcodeproj/project.pbxproj:
2658 2016-10-12 Anders Carlsson <andersca@apple.com>
2660 Copy BackForwardList from WebCore to WebKit/win
2661 https://bugs.webkit.org/show_bug.cgi?id=163360
2663 Reviewed by Alex Christensen.
2665 This is the first step towards getting rid of BackForwardList in WebCore.
2667 * PlatformWin.cmake:
2670 2016-10-11 Alex Christensen <achristensen@webkit.org>
2672 Remove dead networking code
2673 https://bugs.webkit.org/show_bug.cgi?id=163263
2675 Reviewed by Daniel Bates.
2677 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2678 (WebResourceLoadScheduler::scheduleLoad):
2680 2016-10-06 Brent Fulgham <bfulgham@apple.com>
2682 Unreviewed build fix when building with Direct2D.
2684 * PlatformWin.cmake: Add missing library references.
2686 2016-10-05 Daniel Bates <dabates@apple.com>
2688 Do not follow redirects when sending violation report
2689 https://bugs.webkit.org/show_bug.cgi?id=162520
2690 <rdar://problem/27957639>
2692 Reviewed by Alex Christensen.
2694 Update implementation of legacy WebKit loader strategy to pass through a boolean,
2695 shouldFollowRedirects, to PingHandle as to whether to follow redirect responses
2698 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2699 (WebResourceLoadScheduler::createPingHandle):
2700 * WebCoreSupport/WebResourceLoadScheduler.h:
2702 2016-09-20 Don Olmstead <don.olmstead@am.sony.com>
2704 [WinCairo] Use find_package cairo in build
2705 https://bugs.webkit.org/show_bug.cgi?id=162239
2707 Reviewed by Alex Christensen.
2709 * PlatformWin.cmake:
2711 2016-09-12 Brent Fulgham <bfulgham@apple.com>
2713 [Win][Direct2D] Provide Direct2D-based geometry and transform cast operations
2714 https://bugs.webkit.org/show_bug.cgi?id=161818
2716 Reviewed by Dean Jackson.
2718 * PlatformWin.cmake: Link to Direct2D on Windows.
2720 2016-09-06 Dan Bernstein <mitz@apple.com>
2722 [Xcode] WebKitLegacy.framework is re-signed on incremental build even if nothing’s changed
2723 https://bugs.webkit.org/show_bug.cgi?id=161642
2725 Reviewed by Tim Horton.
2727 * WebKit.xcodeproj/project.pbxproj: Removed the output file listed under the
2728 Symlink WebKitPluginHost script build phase, because it doesn’t produce that file on iOS.
2729 With no outputs listed, the script will still run every time, but the fact that it has run
2730 won’t trigger re-signing the framework.
2732 2016-08-25 Alex Christensen <achristensen@webkit.org>
2736 * PlatformMac.cmake:
2737 Availability was spelled wrong, resulting in a missing header.
2739 2016-08-22 Alex Christensen <achristensen@webkit.org>
2741 Fix Mac CMake build after r204717.
2743 * PlatformMac.cmake:
2745 2016-08-22 Alex Christensen <achristensen@webkit.org>
2747 Mostly fix Mac CMake build after r204717.
2749 * PlatformMac.cmake:
2751 2016-08-22 Darin Adler <darin@apple.com>
2753 Move Objective-C DOM bindings from WebCore to legacy WebKit
2754 https://bugs.webkit.org/show_bug.cgi?id=160654
2756 Reviewed by Alex Christensen.
2758 * WebKit.xcodeproj/project.pbxproj: Added the new source files to the project.
2759 For now they all have project visibility, since MigrateHeaders.make takes care
2760 of exporting them as public and private. Later, we can likely use the built-in
2761 Xcode feature instead of that script. Also pass DOM as an acceptable prefix
2762 when calling check-for-inappropriate-objc-class-names. Also sorted this file
2763 with the sort-Xcode-project-file script.
2765 2016-08-17 Myles C. Maxfield <mmaxfield@apple.com>
2767 [Cocoa] Migrate off of deprecated CoreGraphics API CGContextSelectFont() and CGContextShowTextAtPoint()
2768 https://bugs.webkit.org/show_bug.cgi?id=160895
2770 Reviewed by Dean Jackson.
2772 Link to the existing CoreText framework.
2774 * PlatformWin.cmake:
2776 2016-08-16 Hunseop Jeong <hs85.jeong@samsung.com>
2778 Unreviewed, CMake build fix
2780 * PlatformMac.cmake:
2782 2016-08-15 Anders Carlsson <andersca@apple.com>
2784 Remove OldWebAssertions.c
2785 https://bugs.webkit.org/show_bug.cgi?id=160862
2787 Reviewed by Dan Bernstein.
2789 * WebKit.xcodeproj/project.pbxproj:
2791 2016-08-15 Anders Carlsson <andersca@apple.com>
2793 Remove WebKeyGenerator
2794 https://bugs.webkit.org/show_bug.cgi?id=160854
2796 Reviewed by Dan Bernstein.
2798 * WebKit.xcodeproj/project.pbxproj:
2800 2016-08-15 Joseph Pecoraro <pecoraro@apple.com>
2802 Remove unused includes of wtf headers
2803 https://bugs.webkit.org/show_bug.cgi?id=160839
2805 Reviewed by Alex Christensen.
2807 * Storage/StorageSyncManager.h:
2808 * Storage/StorageThread.cpp:
2809 * Storage/StorageThread.h:
2810 * Storage/WebDatabaseProvider.cpp:
2812 2016-08-08 Anders Carlsson <andersca@apple.com>
2814 Add a new PluginInfoProvider class, to replace PluginStrategy
2815 https://bugs.webkit.org/show_bug.cgi?id=160670
2817 Reviewed by Sam Weinig.
2821 * PlatformWin.cmake:
2822 * WebKit.xcodeproj/project.pbxproj:
2824 2016-08-04 Alex Christensen <achristensen@webkit.org>
2826 [Mac][cmake] Fix the build after Objective-C bindings generator removal
2827 https://bugs.webkit.org/show_bug.cgi?id=160545
2829 Reviewed by Alex Christensen.
2831 * PlatformMac.cmake:
2833 2016-07-26 Simon Fraser <simon.fraser@apple.com>
2835 Fix the Windows debug build.
2837 WebResourceLoadScheduler's logging was a holdover from it being in WebCore,
2838 and prior to r203749 WebKit was actually using a WebCore log channel.
2840 For some reason this doesn't build on Windows debug, so just remove
2841 this logging for now.
2843 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2844 (WebResourceLoadScheduler::scheduleLoad): Deleted.
2845 (WebResourceLoadScheduler::servePendingRequests): Deleted.
2846 (WebResourceLoadScheduler::scheduleServePendingRequests): Deleted.
2847 (WebResourceLoadScheduler::requestTimerFired): Deleted.
2848 (WebResourceLoadScheduler::HostInformation::addLoadInProgress): Deleted.
2850 2016-07-26 Simon Fraser <simon.fraser@apple.com>
2852 Sort the project files.
2854 * WebKit.xcodeproj/project.pbxproj:
2856 2016-07-26 Simon Fraser <simon.fraser@apple.com>
2858 Allow LOG macros to be used outside the namespace, and other logging cleanup
2859 https://bugs.webkit.org/show_bug.cgi?id=160216
2861 Reviewed by Anders Carlsson.
2863 Fix some issues with the LOG macros.
2865 First, they were not usable outside the WebKit namespace in WebKit2 code. Fix by moving
2866 its log channels outside of the namespace (they are protected by a unique prefix anyway).
2868 Second, allow LOG_WITH_STREAM to be used in WebKit2 by moving that and a helper macro
2869 into LogMacros.h, which is exported from WebCore as a private header.
2871 Third, split the Logging.h header into two. Logging.h remains for framework-internal
2872 log channels and log macros. Add LogInitialization.h which is external, and used to
2873 initialize the channels.
2875 Finally unify "initializeLogChannels" and "initializeLoggingChannels" terminology everywhere.
2877 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2879 2016-07-14 Alex Christensen <achristensen@webkit.org>
2881 Use SocketProvider to create SocketStreamHandles
2882 https://bugs.webkit.org/show_bug.cgi?id=159774
2884 Reviewed by Alex Christensen.
2886 * PlatformMac.cmake:
2887 * PlatformWin.cmake:
2888 * WebKit.xcodeproj/project.pbxproj:
2890 2016-07-12 Per Arne Vollan <pvollan@apple.com>
2892 [Win] Fix for build error when trying to version stamp dll.
2893 https://bugs.webkit.org/show_bug.cgi?id=159692
2895 Reviewed by Brent Fulgham.
2897 Use correct path to version stamp script.
2901 2016-07-12 Per Arne Vollan <pvollan@apple.com>
2903 [Win] DLLs are missing version information.
2904 https://bugs.webkit.org/show_bug.cgi?id=159349
2906 Reviewed by Brent Fulgham.
2908 Run perl version stamp utility.
2912 2016-07-11 Commit Queue <commit-queue@webkit.org>
2914 Unreviewed, rolling out r203064.
2915 https://bugs.webkit.org/show_bug.cgi?id=159642
2917 This change causes LayoutTest crashes on WK1 ASan (Requested
2918 by ryanhaddad on #webkit).
2922 "Use refs for ResourceLoaders"
2923 https://bugs.webkit.org/show_bug.cgi?id=159592
2924 http://trac.webkit.org/changeset/203064
2926 2016-07-08 Alex Christensen <achristensen@webkit.org>
2928 Use refs for ResourceLoaders
2929 https://bugs.webkit.org/show_bug.cgi?id=159592
2931 Reviewed by Chris Dumez.
2933 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2934 (webResourceLoadScheduler):
2935 (WebResourceLoadScheduler::hostForURL):
2936 (WebResourceLoadScheduler::WebResourceLoadScheduler):
2937 (WebResourceLoadScheduler::loadResource):
2938 (WebResourceLoadScheduler::schedulePluginStreamLoad):
2939 (WebResourceLoadScheduler::scheduleLoad):
2940 (WebResourceLoadScheduler::remove):
2941 (WebResourceLoadScheduler::setDefersLoading):
2942 (WebResourceLoadScheduler::crossOriginRedirectReceived):
2943 (WebResourceLoadScheduler::servePendingRequests):
2944 (WebResourceLoadScheduler::resumePendingRequests):
2945 (WebResourceLoadScheduler::HostInformation::priorityToIndex):
2946 (WebResourceLoadScheduler::HostInformation::schedule):
2947 (WebResourceLoadScheduler::HostInformation::addLoadInProgress):
2948 (WebResourceLoadScheduler::HostInformation::remove):
2949 * WebCoreSupport/WebResourceLoadScheduler.h:
2950 (WebResourceLoadScheduler::HostInformation::name):
2951 (WebResourceLoadScheduler::HostInformation::requestsPending):
2952 m_nonHTTPProtocolHost used to be a leaked pointer, and now it's a member variable.
2954 2016-07-08 Commit Queue <commit-queue@webkit.org>
2956 Unreviewed, rolling out r202799.
2957 https://bugs.webkit.org/show_bug.cgi?id=159568
2959 Caused build failure (Requested by perarne on #webkit).
2963 "[Win] DLLs are missing version information."
2964 https://bugs.webkit.org/show_bug.cgi?id=159349
2965 http://trac.webkit.org/changeset/202799
2967 2016-07-07 Alex Christensen <achristensen@webkit.org>
2969 Use SocketProvider to create WebSocketChannels
2970 https://bugs.webkit.org/show_bug.cgi?id=158776
2972 Reviewed by Brent Fulgham.
2974 * PlatformMac.cmake:
2975 * PlatformWin.cmake:
2976 * WebKit.xcodeproj/project.pbxproj:
2978 2016-07-03 Per Arne Vollan <pvollan@apple.com>
2980 [Win] DLLs are missing version information.
2981 https://bugs.webkit.org/show_bug.cgi?id=159349
2983 Reviewed by Brent Fulgham.
2985 WTF will generate autoversion.h in the prebuild step.
2986 Run the perl version stamp utility.
2989 * PlatformWin.cmake:
2991 2016-06-21 Anders Carlsson <andersca@apple.com>
2993 Rename NoncopyableFunction to Function
2994 https://bugs.webkit.org/show_bug.cgi?id=158354
2996 Reviewed by Chris Dumez.
2998 * Storage/StorageSyncManager.cpp:
2999 (WebCore::StorageSyncManager::dispatch):
3000 * Storage/StorageSyncManager.h:
3001 * Storage/StorageThread.cpp:
3002 (WebCore::StorageThread::dispatch):
3003 (WebCore::StorageThread::terminate):
3004 * Storage/StorageThread.h:
3006 2016-06-22 Anders Carlsson <andersca@apple.com>
3008 Move the WebKitLegacy Apple Pay code to the open source repository
3009 https://bugs.webkit.org/show_bug.cgi?id=159035
3011 Reviewed by Tim Horton.
3013 * WebKit.xcodeproj/project.pbxproj:
3015 2016-06-20 Keith Rollin <krollin@apple.com>
3017 Remove RefPtr::release() and change calls sites to use WTFMove()
3018 https://bugs.webkit.org/show_bug.cgi?id=158369
3020 Reviewed by Chris Dumez.
3022 RefPtr::release() releases its managed pointer awkwardly. It's more
3023 direct and clearer to use WTFMove to transfer ownership of the managed
3026 As part of this cleanup, also change a lot of explicit data types to
3029 * Storage/StorageAreaImpl.cpp:
3030 (WebCore::StorageAreaImpl::setItem):
3031 (WebCore::StorageAreaImpl::removeItem):
3033 2016-06-13 Alex Christensen <achristensen@webkit.org>
3035 Add WebSocketProvider stub
3036 https://bugs.webkit.org/show_bug.cgi?id=158702
3038 Reviewed by Brady Eidson.
3040 * WebKit.xcodeproj/project.pbxproj:
3042 2016-06-10 Alex Christensen <achristensen@webkit.org>
3046 * PlatformMac.cmake:
3048 2016-06-09 Alex Christensen <achristensen@webkit.org>
3050 Clean up WebKit.vcxproj directory after switching to CMake.
3052 * PlatformWin.cmake:
3053 * WebKit.vcxproj/Interfaces: Removed.
3054 * WebKit.vcxproj/WebKit: Removed.
3055 * WebKit.vcxproj/WebKit/resource.h: Removed.
3056 * WebKit.vcxproj/WebKitGUID: Removed.
3057 * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj: Removed.
3058 * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj.filters: Removed.
3059 * WebKit.vcxproj/WebKitGUID/WebKitGUIDCommon.props: Removed.
3060 * WebKit.vcxproj/WebKitGUID/WebKitGUIDDebug.props: Removed.
3061 * WebKit.vcxproj/WebKitGUID/WebKitGUIDDebugWinCairo.props: Removed.
3062 * WebKit.vcxproj/WebKitGUID/WebKitGUIDPostBuild.cmd: Removed.
3063 * WebKit.vcxproj/WebKitGUID/WebKitGUIDPreBuild.cmd: Removed.
3064 * WebKit.vcxproj/WebKitGUID/WebKitGUIDProduction.props: Removed.
3065 * WebKit.vcxproj/WebKitGUID/WebKitGUIDRelease.props: Removed.
3066 * WebKit.vcxproj/WebKitGUID/WebKitGUIDReleaseWinCairo.props: Removed.
3068 2016-06-07 Csaba Osztrogonác <ossy@webkit.org>
3070 [Mac][cmake] Unreviewed trivial buildfix after r201689. Just for fun.
3072 * PlatformMac.cmake:
3074 2016-06-04 Anders Carlsson <andersca@apple.com>
3076 Remove NPSPI that is no longer used
3077 https://bugs.webkit.org/show_bug.cgi?id=158384
3079 Reviewed by Sam Weinig.
3081 * WebKit.xcodeproj/project.pbxproj:
3083 2016-06-03 Chris Dumez <cdumez@apple.com>
3085 Modernize a few more lambda captures
3086 https://bugs.webkit.org/show_bug.cgi?id=158370
3088 Reviewed by Brady Eidson.
3090 * Storage/StorageTracker.cpp:
3091 (WebCore::StorageTracker::deleteOrigin):
3093 2016-06-03 Commit Queue <commit-queue@webkit.org>
3095 Unreviewed, rolling out r201663.
3096 https://bugs.webkit.org/show_bug.cgi?id=158374
3098 Broke the Windows build (Requested by andersca on #webkit).
3102 "Rename NoncopyableFunction to Function"
3103 https://bugs.webkit.org/show_bug.cgi?id=158354
3104 http://trac.webkit.org/changeset/201663
3106 2016-06-03 Anders Carlsson <andersca@apple.com>
3108 Rename NoncopyableFunction to Function
3109 https://bugs.webkit.org/show_bug.cgi?id=158354
3111 Reviewed by Chris Dumez.
3113 * Storage/StorageSyncManager.cpp:
3114 (WebCore::StorageSyncManager::dispatch):
3115 * Storage/StorageSyncManager.h:
3116 * Storage/StorageThread.cpp:
3117 (WebCore::StorageThread::dispatch):
3118 (WebCore::StorageThread::terminate):
3119 * Storage/StorageThread.h:
3121 2016-06-02 Youenn Fablet <youenn.fablet@crf.canon.fr>
3123 Use more references in ResourceLoader related code
3124 https://bugs.webkit.org/show_bug.cgi?id=158222
3126 Reviewed by Darin Adler.
3128 * WebCoreSupport/WebResourceLoadScheduler.cpp:
3129 (WebResourceLoadScheduler::loadResource):
3130 * WebCoreSupport/WebResourceLoadScheduler.h:
3132 2016-05-28 Chris Dumez <cdumez@apple.com>
3134 Templatize NoncopyableFunction class similarly to std::function
3135 https://bugs.webkit.org/show_bug.cgi?id=158185
3137 Reviewed by Darin Adler.
3139 Templatize NoncopyableFunction class similarly to std::function, so
3140 that it can be used as a std::function replacement in more places.
3142 Previously, NoncopyableFunction could only support "void()" lambdas.
3144 * Storage/StorageSyncManager.cpp:
3145 (WebCore::StorageSyncManager::dispatch):
3146 * Storage/StorageSyncManager.h:
3147 * Storage/StorageThread.cpp:
3148 (WebCore::StorageThread::dispatch):
3149 (WebCore::StorageThread::terminate):
3150 * Storage/StorageThread.h:
3152 2016-05-27 Chris Dumez <cdumez@apple.com>
3154 callOnMainThread() should not copy captured lambda variables
3155 https://bugs.webkit.org/show_bug.cgi?id=158166
3157 Reviewed by Brady Eidson.
3159 callOnMainThread() should not copy captured lambda variables. This
3160 function is usually called cross-thread with a lambda and copying
3161 the lambda (and its captured variables) can lead to thread-safety
3164 This patch updates callOnMainThread() to take a NoncopyableFunction&&
3165 in parameter instead of a std::function. The call sites of
3166 callOnMainThread() have also been updated to use C++14's lambda
3167 capture with initializer.
3169 * Storage/StorageAreaSync.cpp:
3170 (WebCore::StorageAreaSync::deleteEmptyDatabase):
3171 * Storage/StorageSyncManager.cpp:
3172 (WebCore::StorageSyncManager::dispatch):
3173 * Storage/StorageSyncManager.h:
3174 * Storage/StorageThread.cpp:
3175 (WebCore::StorageThread::dispatch):
3176 (WebCore::StorageThread::terminate):
3177 (WebCore::StorageThread::releaseFastMallocFreeMemoryInAllThreads):
3178 * Storage/StorageThread.h:
3179 * Storage/StorageTracker.cpp:
3180 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
3181 (WebCore::StorageTracker::setOriginDetails):
3183 2016-05-25 Alex Christensen <achristensen@webkit.org>
3187 * PlatformMac.cmake:
3189 2016-05-18 Brady Eidson <beidson@apple.com>
3191 Modern IDB: Make TestRunner.clearAllDatabases also delete IndexedDB databases (once doing so is supported).
3192 https://bugs.webkit.org/show_bug.cgi?id=157823
3194 Reviewed by Alex Christensen.
3196 * Storage/WebDatabaseProvider.cpp:
3197 (WebDatabaseProvider::deleteAllDatabases):
3198 * Storage/WebDatabaseProvider.h:
3200 2016-04-25 Per Arne Vollan <peavo@outlook.com>
3202 [Win][IndexedDB] Fix build errors.
3203 https://bugs.webkit.org/show_bug.cgi?id=156713
3205 Reviewed by Alex Christensen.
3207 Fix compile and link errors when building with IndexedDB enabled.
3209 * PlatformWin.cmake:
3211 2016-04-22 Brent Fulgham <bfulgham@apple.com>
3213 Unreviewed build fix after r199841.
3215 * PlatformWin.cmake: Add missing WebApplicationCache.cpp buid directive.
3217 2016-04-11 Fujii Hironori <Hironori.Fujii@jp.sony.com>
3219 [CMake] Make FOLDER property INHERITED
3220 https://bugs.webkit.org/show_bug.cgi?id=156460
3222 Reviewed by Brent Fulgham.
3225 * PlatformWin.cmake:
3226 Set FOLDER property as a directory property not a target property
3228 2016-04-08 Alex Christensen <achristensen@webkit.org>
3230 Progress towards running CMake WebKit2 on Mac
3231 https://bugs.webkit.org/show_bug.cgi?id=156426
3233 Reviewed by Tim Horton.
3236 * PlatformMac.cmake:
3237 * PlatformWin.cmake:
3239 2016-04-08 Konstantin Tokarev <annulen@yandex.ru>
3241 [cmake] Use ICU include dirs in WebKit.
3242 https://bugs.webkit.org/show_bug.cgi?id=156402
3244 Reviewed by Brent Fulgham.
3248 2016-04-07 Fujii Hironori <Hironori.Fujii@jp.sony.com>
3250 [CMake][Win] Generating autoversion.h of WebKitGUID is triggered again and again
3251 https://bugs.webkit.org/show_bug.cgi?id=156332
3253 Reviewed by Brent Fulgham.
3255 * PlatformWin.cmake:
3256 Correct the output path of autoversion.h.
3258 2016-04-06 Alex Christensen <achristensen@webkit.org>
3260 Fix CMake DumpRenderTree
3261 https://bugs.webkit.org/show_bug.cgi?id=156305
3263 Reviewed by Daniel Bates.
3265 * PlatformMac.cmake:
3267 2016-04-05 Alex Christensen <achristensen@webkit.org>
3269 Make CMake-generated binaries on Mac able to run
3270 https://bugs.webkit.org/show_bug.cgi?id=156268
3272 Reviewed by Daniel Bates.
3276 2016-04-01 Alex Christensen <achristensen@webkit.org>
3278 Compile DumpRenderTree with CMake on Mac
3279 https://bugs.webkit.org/show_bug.cgi?id=156088
3281 Reviewed by Brent Fulgham.
3283 * PlatformMac.cmake:
3285 2016-03-28 Alex Christensen <achristensen@webkit.org>
3287 Fix Ninja build on Mac
3288 https://bugs.webkit.org/show_bug.cgi?id=151399
3290 Reviewed by Darin Adler.
3292 * PlatformWin.cmake:
3294 2016-03-05 Chris Dumez <cdumez@apple.com>
3296 Consolidate RuntimeApplicationChecks and RuntimeApplicationChecksIOS
3297 https://bugs.webkit.org/show_bug.cgi?id=155035
3299 Reviewed by Darin Adler.
3301 Update runtime application checks.
3303 * WebCoreSupport/WebResourceLoadScheduler.cpp:
3304 (WebResourceLoadScheduler::servePendingRequests):
3306 2016-03-04 Alex Christensen <achristensen@webkit.org>
3308 Remove vcxproj build system
3309 https://bugs.webkit.org/show_bug.cgi?id=154388
3311 Rubber-stamped by Brent Fulgham.
3313 * WebKit.vcxproj/Interfaces/FixMIDLHeaders.pl: Removed.
3314 * WebKit.vcxproj/Interfaces/Interfaces.vcxproj: Removed.
3315 * WebKit.vcxproj/Interfaces/Interfaces.vcxproj.filters: Removed.
3316 * WebKit.vcxproj/Interfaces/InterfacesCommon.props: Removed.
3317 * WebKit.vcxproj/Interfaces/InterfacesDebug.props: Removed.
3318 * WebKit.vcxproj/Interfaces/InterfacesDebugWinCairo.props: Removed.
3319 * WebKit.vcxproj/Interfaces/InterfacesPostBuild.cmd: Removed.
3320 * WebKit.vcxproj/Interfaces/InterfacesPreBuild.cmd: Removed.
3321 * WebKit.vcxproj/Interfaces/InterfacesProduction.props: Removed.
3322 * WebKit.vcxproj/Interfaces/InterfacesRelease.props: Removed.
3323 * WebKit.vcxproj/Interfaces/InterfacesReleaseWinCairo.props: Removed.
3324 * WebKit.vcxproj/WebKit.sln: Removed.
3325 * WebKit.vcxproj/WebKit.submit.sln: Removed.
3326 * WebKit.vcxproj/WebKit/WebKit.vcxproj: Removed.
3327 * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters: Removed.
3328 * WebKit.vcxproj/WebKit/WebKitANGLE.props: Removed.
3329 * WebKit.vcxproj/WebKit/WebKitApple.props: Removed.
3330 * WebKit.vcxproj/WebKit/WebKitCFLite.props: Removed.
3331 * WebKit.vcxproj/WebKit/WebKitCommon.props: Removed.
3332 * WebKit.vcxproj/WebKit/WebKitDebug.props: Removed.
3333 * WebKit.vcxproj/WebKit/WebKitDebugWinCairo.props: Removed.
3334 * WebKit.vcxproj/WebKit/WebKitDirectX.props: Removed.
3335 * WebKit.vcxproj/WebKit/WebKitPostBuild.cmd: Removed.
3336 * WebKit.vcxproj/WebKit/WebKitPreBuild.cmd: Removed.
3337 * WebKit.vcxproj/WebKit/WebKitPreLink.cmd: Removed.
3338 * WebKit.vcxproj/WebKit/WebKitProduction.props: Removed.
3339 * WebKit.vcxproj/WebKit/WebKitRelease.props: Removed.
3340 * WebKit.vcxproj/WebKit/WebKitReleaseWinCairo.props: Removed.
3341 * WebKit.vcxproj/WebKit/WebKitVersion.cmd: Removed.
3343 2016-03-01 Alex Christensen <achristensen@webkit.org>
3345 Reduce size of internal windows build output
3346 https://bugs.webkit.org/show_bug.cgi?id=154763
3348 Reviewed by Brent Fulgham.
3350 * WebKit.vcxproj/WebKit.proj:
3352 2016-02-26 Konstantin Tokarev <annulen@yandex.ru>
3354 [cmake] Moved WebKit/Storage sources and include dir to CMakeLists.txt.
3355 https://bugs.webkit.org/show_bug.cgi?id=154722
3357 Reviewed by Darin Adler.
3359 This code provides port-independent layer used by all WK1 ports,
3360 so it belongs to main CMakeLists.txt, not Platform files.
3363 * PlatformMac.cmake:
3364 * PlatformWin.cmake:
3366 2016-02-25 Brady Eidson <beidson@apple.com>
3369 https://bugs.webkit.org/show_bug.cgi?id=150854
3371 Reviewed by Alex Christensen.
3373 * Storage/WebDatabaseProvider.cpp:
3374 (WebDatabaseProvider::createIDBFactoryBackend): Deleted.
3375 * Storage/WebDatabaseProvider.h:
3377 2016-02-25 Brent Fulgham <bfulgham@apple.com>
3379 [Win][CMake] Don't use incremental linking
3380 https://bugs.webkit.org/show_bug.cgi?id=154684
3381 <rdar://problem/24747822>
3383 Reviewed by Alex Christensen.
3385 * PlatformWin.cmake: Make sure the "/INCREMENTAL:NO" flag is used
3386 (overriding "/INCREMENTAL:YES").
3388 2016-02-22 Konstantin Tokarev <annulen@yandex.ru>
3390 [cmake] Moved library setup code to WEBKIT_FRAMEWORK macro.
3391 https://bugs.webkit.org/show_bug.cgi?id=154450
3393 Reviewed by Alex Christensen.
3397 2016-02-15 Alex Christensen <achristensen@webkit.org>
3399 Fix internal Windows build of projects built after WebKit
3400 https://bugs.webkit.org/show_bug.cgi?id=154249
3401 rdar://problem/24644805
3403 Reviewed by Chris Dumez.
3405 * PlatformWin.cmake:
3406 Copy all generated headers to ForwardingHeaders/WebKit, not just WebKit.h.
3407 This should fix problems related to not finding headers from other projects, such as AccessibleApplication.h.
3408 WebKit.h, WebKitCOMAPI.h, and CFDictionaryPropertyBag.h were copied correctly, so this should copy the rest
3409 of the needed headers.
3411 2016-02-12 Alex Christensen <achristensen@webkit.org>
3413 Fix internal Windows WebKit debug build.
3414 rdar://problem/24635219
3416 * PlatformWin.cmake:
3417 We were making WebKit.dll instead of WebKit_debug.dll.
3419 2016-02-11 Alex Christensen <achristensen@webkit.org>
3421 Fix internal Windows build.
3422 rdar://problem/24622882
3424 * WebKit.vcxproj/WebKit.proj:
3425 Don't define DEBUG_SUFFIX in release builds.
3427 2016-02-10 Alex Christensen <achristensen@webkit.org>
3429 Fix internal Windows build
3430 https://bugs.webkit.org/show_bug.cgi?id=154080
3431 rdar://problem/24584417
3433 Reviewed by Brent Fulgham.
3436 Explicitly make WebKit dependent on WebKitGUID so that WebKit will not start building
3437 before WebKitGUID is finished generating and copying all headers, including WebKit/WebKit.h.
3439 2016-01-27 Anders Carlsson <andersca@apple.com>
3441 Add WebKitAdditions extension points to WebCore, WebKit and WebKitLegacy
3442 https://bugs.webkit.org/show_bug.cgi?id=153550
3444 Reviewed by Sam Weinig.
3446 * WebKit.xcodeproj/project.pbxproj:
3449 2016-01-27 Alex Christensen <achristensen@webkit.org>
3451 [Win] Clean build fix after r195680.
3453 * PlatformWin.cmake:
3454 Use the post build command for the post build event.
3456 2016-01-27 Alex Christensen <achristensen@webkit.org>
3458 Fix Win EWS after r195545.
3459 https://bugs.webkit.org/show_bug.cgi?id=153434
3461 * PlatformWin.cmake:
3462 Copy WebKit.h after building WebKitGUID, because it doesn't exist before.
3463 This should fix EWS problems like the one seen in bug 153522.
3465 2016-01-25 Alex Christensen <achristensen@webkit.org>
3467 [Win] Copy forwarding headers before building a project
3468 https://bugs.webkit.org/show_bug.cgi?id=153434
3470 Reviewed by Brent Fulgham.
3472 * PlatformWin.cmake:
3474 2016-01-22 Darin Adler <darin@apple.com>
3476 Reduce use of equalIgnoringCase to just ignore ASCII case
3477 https://bugs.webkit.org/show_bug.cgi?id=153266
3479 Reviewed by Ryosuke Niwa.
3481 * Storage/StorageTracker.cpp:
3482 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
3483 Removed extraneous unneeded ", true" in call to String::endsWith.
3484 Preparation for later removing the boolean argument.
3486 2016-01-14 Brady Eidson <beidson@apple.com>
3488 Modern IDB: Support opening and deleting SQLite databases on disk.
3489 https://bugs.webkit.org/show_bug.cgi?id=153084
3491 Reviewed by Alex Christensen, Sam Weinig and Andy Estes (oh my!).
3493 * Storage/WebDatabaseProvider.cpp:
3494 (WebDatabaseProvider::idbConnectionToServerForSession):
3495 * Storage/WebDatabaseProvider.h:
3497 * WebKit.xcodeproj/project.pbxproj:
3499 2016-01-13 Chris Dumez <cdumez@apple.com>
3501 Unreviewed, rolling out r194900.
3503 Roll back in as this did not actually regress PLT
3507 "Unreviewed, rolling out r194826."
3508 https://bugs.webkit.org/show_bug.cgi?id=153020
3509 http://trac.webkit.org/changeset/194900
3511 2016-01-12 Commit Queue <commit-queue@webkit.org>
3513 Unreviewed, rolling out r194826.
3514 https://bugs.webkit.org/show_bug.cgi?id=153020
3516 Appears to have regressed PLT (Requested by kling on #webkit).
3520 "Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL
3522 https://bugs.webkit.org/show_bug.cgi?id=152902
3523 http://trac.webkit.org/changeset/194826
3525 2016-01-10 Andreas Kling <akling@apple.com>
3527 Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL cont'd
3528 <https://webkit.org/b/152902>
3530 Reviewed by Andy Estes.
3532 * Storage/StorageThread.cpp:
3533 (WebCore::activeStorageThreads):
3535 2015-12-31 Andy Estes <aestes@apple.com>
3537 Replace WTF::move with WTFMove
3538 https://bugs.webkit.org/show_bug.cgi?id=152601
3540 Reviewed by Brady Eidson.
3542 * Storage/StorageNamespaceImpl.cpp:
3543 (WebCore::StorageNamespaceImpl::storageArea):
3545 2015-12-16 Alex Christensen <achristensen@webkit.org>
3547 Fix internal Windows build
3548 https://bugs.webkit.org/show_bug.cgi?id=152364
3549 rdar://problem/23928759
3551 Reviewed by Tim Horton.
3553 * WebKit.vcxproj/WebKit.proj:
3555 2015-12-02 Antti Koivisto <antti@apple.com>
3557 Move ResourceLoadScheduler to WebKit1
3558 https://bugs.webkit.org/show_bug.cgi?id=151743
3560 Reviewed by Alex Christensen.
3562 * WebCoreSupport/WebResourceLoadScheduler.cpp: Copied from Source/WebCore/loader/ResourceLoadScheduler.cpp.
3563 (webResourceLoadScheduler):
3564 (WebResourceLoadScheduler::hostForURL):
3565 (WebResourceLoadScheduler::WebResourceLoadScheduler):
3566 (WebResourceLoadScheduler::~WebResourceLoadScheduler):
3567 (WebResourceLoadScheduler::scheduleSubresourceLoad):
3568 (WebResourceLoadScheduler::loadResourceSynchronously):
3569 (WebResourceLoadScheduler::schedulePluginStreamLoad):
3570 (WebResourceLoadScheduler::scheduleLoad):
3571 (WebResourceLoadScheduler::remove):
3572 (WebResourceLoadScheduler::setDefersLoading):
3573 (WebResourceLoadScheduler::crossOriginRedirectReceived):
3574 (WebResourceLoadScheduler::servePendingRequests):
3575 (WebResourceLoadScheduler::suspendPendingRequests):
3576 (WebResourceLoadScheduler::resumePendingRequests):
3577 (WebResourceLoadScheduler::scheduleServePendingRequests):
3578 (WebResourceLoadScheduler::requestTimerFired):
3579 (WebResourceLoadScheduler::HostInformation::HostInformation):
3580 (WebResourceLoadScheduler::HostInformation::~HostInformation):
3581 (WebResourceLoadScheduler::HostInformation::priorityToIndex):
3582 (WebResourceLoadScheduler::HostInformation::schedule):
3583 (WebResourceLoadScheduler::HostInformation::addLoadInProgress):
3584 (WebResourceLoadScheduler::HostInformation::remove):
3585 (WebResourceLoadScheduler::HostInformation::hasRequests):
3586 (WebResourceLoadScheduler::HostInformation::limitRequests):
3587 (WebResourceLoadScheduler::createPingHandle):
3588 (WebCore::ResourceLoadScheduler::hostForURL): Deleted.
3589 (WebCore::resourceLoadScheduler): Deleted.
3590 (WebCore::ResourceLoadScheduler::ResourceLoadScheduler): Deleted.
3591 (WebCore::ResourceLoadScheduler::~ResourceLoadScheduler): Deleted.
3592 (WebCore::ResourceLoadScheduler::scheduleSubresourceLoad): Deleted.
3593 (WebCore::ResourceLoadScheduler::schedulePluginStreamLoad): Deleted.
3594 (WebCore::ResourceLoadScheduler::scheduleLoad): Deleted.
3595 (WebCore::ResourceLoadScheduler::remove): Deleted.
3596 (WebCore::ResourceLoadScheduler::setDefersLoading): Deleted.
3597 (WebCore::ResourceLoadScheduler::crossOriginRedirectReceived): Deleted.
3598 (WebCore::ResourceLoadScheduler::servePendingRequests): Deleted.
3599 (WebCore::ResourceLoadScheduler::suspendPendingRequests): Deleted.
3600 (WebCore::ResourceLoadScheduler::resumePendingRequests): Deleted.
3601 (WebCore::ResourceLoadScheduler::scheduleServePendingRequests): Deleted.
3602 (WebCore::ResourceLoadScheduler::requestTimerFired): Deleted.
3603 (WebCore::ResourceLoadScheduler::HostInformation::HostInformation): Deleted.
3604 (WebCore::ResourceLoadScheduler::HostInformation::~HostInformation): Deleted.
3605 (WebCore::ResourceLoadScheduler::HostInformation::priorityToIndex): Deleted.
3606 (WebCore::ResourceLoadScheduler::HostInformation::schedule): Deleted.
3607 (WebCore::ResourceLoadScheduler::HostInformation::addLoadInProgress): Deleted.
3608 (WebCore::ResourceLoadScheduler::HostInformation::remove): Deleted.
3609 (WebCore::ResourceLoadScheduler::HostInformation::hasRequests): Deleted.
3610 (WebCore::ResourceLoadScheduler::HostInformation::limitRequests): Deleted.
3611 * WebCoreSupport/WebResourceLoadScheduler.h: Copied from Source/WebCore/loader/ResourceLoadScheduler.h.
3612 (WebResourceLoadScheduler::isSerialLoadingEnabled):
3613 (WebResourceLoadScheduler::setSerialLoadingEnabled):
3614 (WebResourceLoadScheduler::HostInformation::name):
3615 (WebResourceLoadScheduler::HostInformation::requestsPending):
3616 (WebCore::ResourceLoadScheduler::isSerialLoadingEnabled): Deleted.
3617 (WebCore::ResourceLoadScheduler::setSerialLoadingEnabled): Deleted.
3618 (WebCore::ResourceLoadScheduler::Suspender::Suspender): Deleted.
3619 (WebCore::ResourceLoadScheduler::Suspender::~Suspender): Deleted.
3620 (WebCore::ResourceLoadScheduler::HostInformation::name): Deleted.
3621 (WebCore::ResourceLoadScheduler::HostInformation::requestsPending): Deleted.
3622 * WebKit.xcodeproj/project.pbxproj:
3624 2015-10-29 Alex Christensen <achristensen@webkit.org>
3626 Make WebCore a framework in Mac CMake build
3627 https://bugs.webkit.org/show_bug.cgi?id=150702
3629 Reviewed by Geoffrey Garen.
3631 * PlatformMac.cmake:
3633 2015-10-29 Alex Christensen <achristensen@webkit.org>
3636 https://bugs.webkit.org/show_bug.cgi?id=150686
3638 Reviewed by Filip Pizlo.
3641 * PlatformMac.cmake:
3643 2015-10-28 Alex Christensen <achristensen@webkit.org>
3645 Compile and link with CMake on Mac
3646 https://bugs.webkit.org/show_bug.cgi?id=150632
3648 Reviewed by Tim Horton.
3650 * PlatformMac.cmake:
3652 2015-10-23 Alex Christensen <achristensen@webkit.org>
3654 Progress towards CMake on Mac
3655 https://bugs.webkit.org/show_bug.cgi?id=150517
3657 Reviewed by Tim Horton.
3659 * PlatformMac.cmake:
3661 2015-10-18 Sungmann Cho <sungmann.cho@navercorp.com>
3663 Fix the builds with ENABLE_INDEX_DATABASE=OFF.
3664 https://bugs.webkit.org/show_bug.cgi?id=150301
3666 Reviewed by Darin Adler.
3668 Add missing #if ENABLE(INDEXED_DATABASE).
3670 * Storage/WebDatabaseProvider.h:
3672 2015-10-01 Brent Fulgham <bfulgham@apple.com>
3674 [Win] Another CMake build fix
3676 * PlatformWin.cmake: Add missing Psapi.lib to link list.
3678 2015-10-01 Brent Fulgham <bfulgham@apple.com>
3680 [Win] Unreviewed CMake build fixes.
3682 * CMakeLists.txt: Set the same build definitions as the original
3684 * PlatformWin.cmake: Remove some soft-linked files from the static
3685 link commands. Set build flags to match original project files.
3687 2015-09-28 Brady Eidson <beidson@apple.com>
3689 Add an IDB Server that can roundtrip a request back to the client.
3690 https://bugs.webkit.org/show_bug.cgi?id=149603
3692 Reviewed by Alex Christensen.
3694 * Storage/WebDatabaseProvider.cpp:
3695 (WebDatabaseProvider::idbConnectionToServerForSession):
3696 * Storage/WebDatabaseProvider.h:
3698 2015-09-25 Alex Christensen <achristensen@webkit.org>
3700 Clean up CMake build on Mac
3701 https://bugs.webkit.org/show_bug.cgi?id=149573
3703 Reviewed by Chris Dumez.
3705 * PlatformMac.cmake:
3707 2015-09-25 Alex Christensen <achristensen@webkit.org>
3709 [Win] Switch to CMake
3710 https://bugs.webkit.org/show_bug.cgi?id=148111
3712 Reviewed by Brent Fulgham.
3714 * WebKit.vcxproj/WebKit.proj:
3716 2015-09-24 Ryosuke Niwa <rniwa@webkit.org>
3718 Ran sort-Xcode-project-file.
3720 * WebKit.xcodeproj/project.pbxproj:
3722 2015-09-21 Brent Fulgham <bfulgham@apple.com>
3724 [Win] Unreviewed build fix.
3726 * WebKit.vcxproj/WebKit/WebKitApple.props: We need to link against
3727 libdispatch on Windows.
3729 2015-09-19 Alex Christensen <achristensen@webkit.org>
3731 Fix Windows tests after r189934.
3734 Include WebKit.rc to include resources like missingImage.png in WebKit.dll.
3736 2015-09-15 Brady Eidson <beidson@apple.com>
3738 Add empty IDBFactory implementation for Modern IDB.
3739 https://bugs.webkit.org/show_bug.cgi?id=149191
3741 Reviewed by Jer Noble.
3743 * Storage/WebDatabaseProvider.h:
3745 2015-09-14 Alex Christensen <achristensen@webkit.org>
3747 Progress towards CMake on Mac.
3748 https://bugs.webkit.org/show_bug.cgi?id=149123
3750 Reviewed by Chris Dumez.
3753 * PlatformMac.cmake:
3754 Added more sources, make non-c99 sources compile as objc++
3755 * PlatformWin.cmake:
3756 Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share.
3758 2015-09-13 Gyuyoung Kim <gyuyoung.kim@webkit.org>
3760 Remove all uses of PassRefPtr in crypto, storage, and history
3761 https://bugs.webkit.org/show_bug.cgi?id=149091
3763 Reviewed by Andreas Kling.
3765 * Storage/StorageNamespaceImpl.cpp:
3766 (WebCore::StorageNamespaceImpl::storageArea):
3767 * Storage/StorageNamespaceImpl.h:
3769 2015-08-27 Alex Christensen <achristensen@webkit.org>
3771 Isolate Source directories in CMake build
3772 https://bugs.webkit.org/show_bug.cgi?id=148389
3774 Reviewed by Brent Fulgham.
3776 * PlatformWin.cmake:
3777 Moved WebKitVersion.h generation from WebCore because the scripts required for it are in WebKit.
3779 2015-08-27 Timothy Horton <timothy_horton@apple.com>
3781 Factor out Lookup invocation
3782 https://bugs.webkit.org/show_bug.cgi?id=148509
3784 Reviewed by Anders Carlsson.
3786 * WebKit.xcodeproj/project.pbxproj:
3788 2015-08-26 Brent Fulgham <bfulgham@apple.com>
3790 Correct build after r188982.
3792 * WebKit.vcxproj/WebKit.sln:
3794 2015-08-20 Alex Christensen <achristensen@webkit.org>
3796 Clean up CMake build after r188673
3797 https://bugs.webkit.org/show_bug.cgi?id=148234
3799 Reviewed by Tim Horton.
3801 * PlatformWin.cmake:
3802 Include ANGLE forwarding headers directories.
3804 2015-08-19 Alex Christensen <achristensen@webkit.org>
3806 CMake Windows build should not include files directly from other Source directories
3807 https://bugs.webkit.org/show_bug.cgi?id=148198
3809 Reviewed by Brent Fulgham.
3812 * PlatformWin.cmake:
3814 2015-08-19 Brent Fulgham <bfulgham@apple.com>
3816 [Win] Replace MIDL [in/out] comments with equivalent SAL
3817 https://bugs.webkit.org/show_bug.cgi?id=148001
3819 Reviewed by Tim Horton.
3821 * WebKit.vcxproj/Interfaces/InterfacesCommon.props: Turn
3822 on SAL declarations in MIDL output.
3824 2015-08-17 Filip Pizlo <fpizlo@apple.com>
3826 Replace all remaining uses of WTF::Mutex with WTF::Lock
3827 https://bugs.webkit.org/show_bug.cgi?id=148089
3829 Reviewed by Geoffrey Garen.
3831 * Storage/StorageAreaSync.cpp:
3832 (WebCore::StorageAreaSync::syncTimerFired):
3833 (WebCore::StorageAreaSync::markImported):
3834 (WebCore::StorageAreaSync::blockUntilImportComplete):
3835 (WebCore::StorageAreaSync::performSync):
3836 * Storage/StorageAreaSync.h:
3837 * Storage/StorageTracker.cpp:
3838 (WebCore::StorageTracker::setDatabaseDirectoryPath):
3839 (WebCore::StorageTracker::finishedImportingOriginIdentifiers):
3840 (WebCore::StorageTracker::syncImportOriginIdentifiers):
3841 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
3842 (WebCore::StorageTracker::setOriginDetails):
3843 (WebCore::StorageTracker::syncSetOriginDetails):
3844 (WebCore::StorageTracker::origins):
3845 (WebCore::StorageTracker::deleteAllOrigins):
3846 (WebCore::StorageTracker::syncDeleteAllOrigins):
3847 (WebCore::StorageTracker::deleteOrigin):
3848 (WebCore::StorageTracker::syncDeleteOrigin):
3849 (WebCore::StorageTracker::canDeleteOrigin):
3850 (WebCore::StorageTracker::cancelDeletingOrigin):
3851 (WebCore::StorageTracker::diskUsageForOrigin):
3852 * Storage/StorageTracker.h:
3854 2015-08-17 Alex Christensen <achristensen@webkit.org>
3856 [Win CMake] Allow WebKitLibraries directory to be set from the command line
3857 https://bugs.webkit.org/show_bug.cgi?id=148112
3859 Reviewed by Brent Fulgham.
3861 * PlatformWin.cmake:
3862 Don't use an environment variable for WEBKIT_LIBRARIES_DIR.
3864 2015-08-17 Alex Christensen <achristensen@webkit.org>
3866 Build Debug Suffix on Windows with CMake
3867 https://bugs.webkit.org/show_bug.cgi?id=148083
3869 Reviewed by Brent Fulgham.
3872 * PlatformWin.cmake:
3875 2015-08-17 Alex Christensen <achristensen@webkit.org>
3877 Move some commands from ./CMakeLists.txt to Source/cmake
3878 https://bugs.webkit.org/show_bug.cgi?id=148003
3880 Reviewed by Brent Fulgham.
3883 Added some commands needed to build WebKit by itself.
3885 2015-08-13 Commit Queue <commit-queue@webkit.org>
3887 Unreviewed, rolling out r188428.
3888 https://bugs.webkit.org/show_bug.cgi?id=148015
3890 broke cmake build (Requested by alexchristensen on #webkit).
3894 "Move some commands from ./CMakeLists.txt to Source/cmake"
3895 https://bugs.webkit.org/show_bug.cgi?id=148003
3896 http://trac.webkit.org/changeset/188428
3898 2015-08-13 Alex Christensen <achristensen@webkit.org>
3900 Move some commands from ./CMakeLists.txt to Source/cmake
3901 https://bugs.webkit.org/show_bug.cgi?id=148003
3903 Reviewed by Brent Fulgham.
3906 Added some commands needed to build WebKit by itself.
3908 2015-08-12 Alex Christensen <achristensen@webkit.org>
3910 Fix Debug CMake builds on Windows
3911 https://bugs.webkit.org/show_bug.cgi?id=147940
3913 Reviewed by Chris Dumez.
3915 * PlatformWin.cmake:
3916 We need /NODEFAULTLIB with the debug version of libraries, too.
3918 2015-08-11 Brent Fulgham <bfulgham@apple.com>
3920 [Win] Switch Windows build to Visual Studio 2015
3921 https://bugs.webkit.org/show_bug.cgi?id=147887
3922 <rdar://problem/22235098>
3924 Reviewed by Alex Christensen.
3926 Update Visual Studio project file settings to use the current Visual
3927 Studio and compiler. Continue targeting binaries to run on our minimum
3928 supported configuration of Windows 7.
3930 * WebKit.vcxproj/Interfaces/Interfaces.vcxproj:
3931 * WebKit.vcxproj/WebKit.sln:
3932 * WebKit.vcxproj/WebKit/WebKit.vcxproj:
3933 * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj:
3935 2015-08-10 Alex Christensen <achristensen@webkit.org>
3937 Another build fix after r188239.
3939 * PlatformWin.cmake:
3940 Link WinCairo with Media Foundation libraries.
3942 2015-08-10 Alex Christensen <achristensen@webkit.org>
3944 Build TestWebKitAPI with CMake on Windows
3945 https://bugs.webkit.org/show_bug.cgi?id=147851
3947 Reviewed by Chris Dumez.
3949 * PlatformWin.cmake:
3950 WinCairo libraries conflict with LIBCMT.lib, AppleWin libraries conflict with MSVCRT.lib,
3951 so different /NODEFAULTLIB is needed to link WebKit.dll successfully.
3953 2015-08-06 Alex Christensen <achristensen@webkit.org>
3955 [Win] Enable all Windows features in CMake
3956 https://bugs.webkit.org/show_bug.cgi?id=147744
3958 Reviewed by Tim Horton.
3960 * PlatformWin.cmake:
3961 Add some include directories needed for the newly enabled features.
3963 2015-08-05 Filip Pizlo <fpizlo@apple.com>
3965 Unreviewed, roll out http://trac.webkit.org/changeset/187972.
3967 * Storage/StorageAreaSync.cpp:
3968 (WebCore::StorageAreaSync::syncTimerFired):
3969 (WebCore::StorageAreaSync::markImported):
3970 (WebCore::StorageAreaSync::blockUntilImportComplete):
3971 (WebCore::StorageAreaSync::performSync):
3972 * Storage/StorageAreaSync.h:
3973 * Storage/StorageTracker.cpp:
3974 (WebCore::StorageTracker::setDatabaseDirectoryPath):
3975 (WebCore::StorageTracker::finishedImportingOriginIdentifiers):
3976 (WebCore::StorageTracker::syncImportOriginIdentifiers):
3977 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
3978 (WebCore::StorageTracker::setOriginDetails):
3979 (WebCore::StorageTracker::syncSetOriginDetails):
3980 (WebCore::StorageTracker::origins):
3981 (WebCore::StorageTracker::deleteAllOrigins):
3982 (WebCore::StorageTracker::syncDeleteAllOrigins):
3983 (WebCore::StorageTracker::deleteOrigin):
3984 (WebCore::StorageTracker::syncDeleteOrigin):
3985 (WebCore::StorageTracker::canDeleteOrigin):
3986 (WebCore::StorageTracker::cancelDeletingOrigin):
3987 (WebCore::StorageTracker::diskUsageForOrigin):
3988 * Storage/StorageTracker.h:
3990 2015-08-05 Alex Christensen <achristensen@webkit.org>
3992 Build DumpRenderTree with CMake.
3993 https://bugs.webkit.org/show_bug.cgi?id=147519
3995 Reviewed by Brent Fulgham.
3998 * PlatformMac.cmake:
3999 * PlatformWin.cmake:
4000 Make the libraries WebKit links with private, which means that CMake will not make everything
4001 that links with WebKit link with everything WebKit links with.
4003 2015-08-04 Filip Pizlo <fpizlo@apple.com>
4005 Rename Mutex to DeprecatedMutex
4006 https://bugs.webkit.org/show_bug.cgi?id=147675
4008 Reviewed by Geoffrey Garen.
4010 * Storage/StorageAreaSync.cpp:
4011 (WebCore::StorageAreaSync::syncTimerFired):
4012 (WebCore::StorageAreaSync::markImported):
4013 (WebCore::StorageAreaSync::blockUntilImportComplete):
4014 (WebCore::StorageAreaSync::performSync):
4015 * Storage/StorageAreaSync.h:
4016 * Storage/StorageTracker.cpp:
4017 (WebCore::StorageTracker::setDatabaseDirectoryPath):
4018 (WebCore::StorageTracker::finishedImportingOriginIdentifiers):
4019 (WebCore::StorageTracker::syncImportOriginIdentifiers):
4020 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
4021 (WebCore::StorageTracker::setOriginDetails):
4022 (WebCore::StorageTracker::syncSetOriginDetails):
4023 (WebCore::StorageTracker::origins):
4024 (WebCore::StorageTracker::deleteAllOrigins):
4025 (WebCore::StorageTracker::syncDeleteAllOrigins):
4026 (WebCore::StorageTracker::deleteOrigin):
4027 (WebCore::StorageTracker::syncDeleteOrigin):
4028 (WebCore::StorageTracker::canDeleteOrigin):
4029 (WebCore::StorageTracker::cancelDeletingOrigin):
4030 (WebCore::StorageTracker::diskUsageForOrigin):
4031 * Storage/StorageTracker.h:
4033 2015-08-04 Alex Christensen <achristensen@webkit.org>
4035 Enable WebGL on Windows CMake build.
4036 https://bugs.webkit.org/show_bug.cgi?id=143311
4038 Reviewed by Csaba Osztrogonác.
4040 * PlatformWin.cmake:
4041 Added some needed source files and include directories.
4043 2015-08-01 Alex Christensen <achristensen@webkit.org>
4045 Fix 64-bit CMake build on Windows.
4047 * PlatformWin.cmake:
4048 Win64 needs PaintHooks.asm.
4050 2015-07-30 Alex Christensen <achristensen@webkit.org>
4052 Build AppleWin port with CMake
4053 https://bugs.webkit.org/show_bug.cgi?id=147385
4055 Reviewed by Martin Robinson.
4057 * PlatformWin.cmake:
4058 Added missing source files and libraries.
4060 2015-07-27 Alex Christensen <achristensen@webkit.org>
4062 Use Ninja on Windows.
4063 https://bugs.webkit.org/show_bug.cgi?id=147228
4065 Reviewed by Martin Robinson.
4067 * PlatformWin.cmake:
4068 Added /NODEFAULTLIB:LIBCMT to link WebKit.dll successfully with Ninja.
4070 2015-07-27 Alex Christensen <achristensen@webkit.org>
4072 Progress towards building AppleWin with CMake
4073 https://bugs.webkit.org/show_bug.cgi?id=147325
4075 Reviewed by Martin Robinson.
4077 * PlatformWin.cmake:
4078 Removed references to non-existing files.
4080 2015-07-22 Alex Christensen <achristensen@webkit.org>
4082 Fix quirks in CMake build on Mac and Windows
4083 https://bugs.webkit.org/show_bug.cgi?id=147174
4085 Reviewed by Gyuyoung Kim.
4087 * PlatformMac.cmake:
4088 Fixed syntax, removed files that don't exist any more.
4090 2015-07-20 Brent Fulgham <bfulgham@apple.com>
4092 [Win] Certain Debug builds can take close to 3 hours to link
4093 https://bugs.webkit.org/show_bug.cgi?id=147114
4094 <rdar://problem/21882777>
4096 Reviewed by Tim Horton.
4098 Correct the 64-bit DebugSuffix link target to match the 32-bit version.
4100 * WebKit.vcxproj/WebKit/WebKit.vcxproj: Turn off the REF and ICF
4101 flags for the 64-bit DebugSuffix link target.
4103 2015-07-20 Alex Christensen <achristensen@webkit.org>
4105 Resurrect CMake build on Windows.
4106 https://bugs.webkit.org/show_bug.cgi?id=147083
4108 Reviewed by Gyuyoung Kim.
4110 * PlatformWin.cmake: Added.
4111 Based on original work by Patrick Gansterer and Mark Salisbury
4112 in https://bugs.webkit.org/show_bug.cgi?id=72816
4114 2015-07-16 Brent Fulgham <bfulgham@apple.com>
4116 [Win] Unreviewed gardening.
4118 * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters: Move file into the
4119 appropriate category in the project.
4121 2015-07-14 Lucas Forschler <lforschler@apple.com>
4123 Teach platformMac.cmake about El Capitan WKSI.
4124 <rdar://problem/21822469>
4126 Reviewed by Alex Christensen.
4128 * PlatformMac.cmake:
4130 2015-07-09 Per Arne Vollan <peavo@outlook.com>
4132 [Win] Add memory pressure handler.
4133 https://bugs.webkit.org/show_bug.cgi?id=146685
4135 Reviewed by Brent Fulgham.
4137 * WebKit.vcxproj/WebKit/WebKitCommon.props: Link with process api library.
4139 2015-07-04 Chris Dumez <cdumez@apple.com>
4141 Drop RefPtr::clear() method
4142 https://bugs.webkit.org/show_bug.cgi?id=146556
4144 Reviewed by Brady Eidson.
4146 Drop RefPtr::clear() method in favor of "= nullptr;" pattern.
4148 2015-07-03 Dan Bernstein <mitz@apple.com>
4150 [Xcode] Update some build settings as recommended by Xcode 7
4151 https://bugs.webkit.org/show_bug.cgi?id=146597
4153 Reviewed by Sam Weinig.
4155 * WebKit.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
4157 2015-07-01 Alex Christensen <achristensen@webkit.org>
4159 Re-enable WebGL on WinCairo.
4160 https://bugs.webkit.org/show_bug.cgi?id=146537
4162 Reviewed by Csaba Osztrogonác.
4164 * WebKit.vcxproj/WebKit.sln:
4165 Build the ANGLE projects on WinCairo again.
4167 2015-06-30 Alex Christensen <achristensen@webkit.org>
4169 [Win] Unreviewed build fix after r186169.
4171 * WebKit.vcxproj/WebKit.sln:
4172 Temporarily don't build ANGLE projects on Windows.
4174 2015-06-26 Hyungwook Lee <hyungwook.lee@navercorp.com>
4176 [Win] Implement WebViewGroup to support WebView::addxxxToGroup().
4177 https://bugs.webkit.org/show_bug.cgi?id=145908
4179 Reviewed by Brent Fulgham.
4181 Make WebViewGroup class sharing on Mac and Win port.
4183 * WebCoreSupport: Added.
4184 * WebCoreSupport/WebViewGroup.cpp: Added.
4186 (WebViewGroup::getOrCreate):
4187 (WebViewGroup::get):
4188 (WebViewGroup::WebViewGroup):
4189 (WebViewGroup::~WebViewGroup):
4190 (WebViewGroup::addWebView):
4191 (WebViewGroup::removeWebView):
4192 (WebViewGroup::storageNamespaceProvider):
4193 * WebCoreSupport/WebViewGroup.h: Added.
4194 (WebViewGroup::userContentController):
4195 (WebViewGroup::visitedLinkStore):
4196 * WebKit.vcxproj/WebKit/WebKit.vcxproj:
4197 * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters:
4198 * WebKit.vcxproj/WebKit/WebKitCommon.props:
4199 * WebKit.xcodeproj/project.pbxproj:
4201 2015-06-24 Anders Carlsson <andersca@apple.com>
4203 Move PluginMainThreadScheduler to WebKit/win
4204 https://bugs.webkit.org/show_bug.cgi?id=146289
4206 Reviewed by Tim Horton.
4208 * WebKit.vcxproj/WebKit/WebKit.vcxproj:
4209 * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters:
4211 2015-06-17 Commit Queue <commit-queue@webkit.org>
4213 Unreviewed, rolling out r185636.
4214 https://bugs.webkit.org/show_bug.cgi?id=146068
4216 Caused many crashes on Windows (Requested by ap on #webkit).
4220 "[Win] Implement WebViewGroup to support
4221 WebView::addxxxToGroup()."
4222 https://bugs.webkit.org/show_bug.cgi?id=145908
4223 http://trac.webkit.org/changeset/185636
4225 2015-06-16 Hyungwook Lee <hyungwook.lee@navercorp.com>
4227 [Win] Implement WebViewGroup to support WebView::addxxxToGroup().
4228 https://bugs.webkit.org/show_bug.cgi?id=145908
4230 Reviewed by Brent Fulgham.
4232 Make WebViewGroup class sharing on Mac and Win port.
4234 * WebCoreSupport: Added.
4235 * WebCoreSupport/WebViewGroup.cpp: Copied from Source/WebKit/mac/WebCoreSupport/WebViewGroup.mm.
4236 * WebCoreSupport/WebViewGroup.h: Copied from Source/WebKit/mac/WebCoreSupport/WebViewGroup.h.
4237 * WebKit.vcxproj/WebKit/WebKit.vcxproj:
4238 * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters:
4239 * WebKit.vcxproj/WebKit/WebKitCommon.props:
4240 * WebKit.xcodeproj/project.pbxproj:
4242 2015-06-09 Csaba Osztrogonác <ossy@webkit.org>
4244 [cmake] Fix the style issues in cmake project files
4245 https://bugs.webkit.org/show_bug.cgi?id=145755
4247 Reviewed by Darin Adler.
4249 * PlatformMac.cmake:
4251 2015-06-07 Anders Carlsson <andersca@apple.com>
4253 Remove WebNSArrayExtras
4254 https://bugs.webkit.org/show_bug.cgi?id=145747
4256 Reviewed by Darin Adler.
4258 * WebKit.xcodeproj/project.pbxproj:
4260 2015-06-07 Anders Carlsson <andersca@apple.com>
4262 Remove WebKitSystemBits
4263 https://bugs.webkit.org/show_bug.cgi?id=145746
4265 Reviewed by Dan Bernstein.
4267 * WebKit.xcodeproj/project.pbxproj:
4269 2015-06-06 Anders Carlsson <andersca@apple.com>
4271 Remove SPI that's no longer used
4272 https://bugs.webkit.org/show_bug.cgi?id=145727
4274 Reviewed by Dan Bernstein.