1 2019-09-03 Chris Dumez <cdumez@apple.com>
3 FrameLoader::FrameProgressTracker::progressCompleted() does not need a pageID
4 https://bugs.webkit.org/show_bug.cgi?id=201431
6 Reviewed by Antti Koivisto.
8 * WebCoreSupport/WebResourceLoadScheduler.cpp:
9 (WebResourceLoadScheduler::pageLoadCompleted):
10 * WebCoreSupport/WebResourceLoadScheduler.h:
12 2019-08-30 Brent Fulgham <bfulgham@apple.com>
14 [FTW] Use DirectX SharedResource as basis for SharedBitmap
15 https://bugs.webkit.org/show_bug.cgi?id=201157
17 Reviewed by Alex Christensen.
19 * PlatformFTW.cmake: Link to DirectX to avoid build failure.
21 2019-08-19 Sihui Liu <sihui_liu@apple.com>
23 Remove IDB-specific quota
24 https://bugs.webkit.org/show_bug.cgi?id=196545
25 <rdar://problem/54201783>
27 Reviewed by Youenn Fablet.
29 * Storage/WebDatabaseProvider.cpp:
30 (WebDatabaseProvider::setIDBPerOriginQuota): Deleted.
31 * Storage/WebDatabaseProvider.h:
33 2019-08-19 Youenn Fablet <youenn@apple.com>
35 Remove SessionID::emptySessionID()
36 https://bugs.webkit.org/show_bug.cgi?id=200811
38 Reviewed by Alex Christensen.
40 * Storage/WebDatabaseProvider.cpp:
41 (WebDatabaseProvider::idbConnectionToServerForSession):
42 * Storage/WebDatabaseProvider.h:
44 2019-08-18 Yusuke Suzuki <ysuzuki@apple.com>
46 [WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWithoutFastMallocCheck part
47 https://bugs.webkit.org/show_bug.cgi?id=200620
49 Reviewed by Geoffrey Garen.
51 * Storage/StorageSyncManager.cpp:
52 (WebCore::StorageSyncManager::StorageSyncManager):
53 * Storage/StorageThread.cpp:
54 (WebCore::StorageThread::dispatch):
55 (WebCore::StorageThread::terminate):
56 * Storage/StorageTracker.cpp:
57 (WebKit::StorageTracker::StorageTracker):
58 * WebCoreSupport/NetworkStorageSessionMap.cpp:
59 (NetworkStorageSessionMap::defaultStorageSession):
60 (NetworkStorageSessionMap::switchToNewTestingSession):
61 (NetworkStorageSessionMap::ensureSession):
63 2019-08-15 Brent Fulgham <bfulgham@apple.com>
65 [FTW] Enable CoreFoundation use if building for Apple target
66 https://bugs.webkit.org/show_bug.cgi?id=200799
68 Reviewed by Alex Christensen.
72 2019-08-15 Sihui Liu <sihui_liu@apple.com>
74 Some improvements on web storage
75 https://bugs.webkit.org/show_bug.cgi?id=200373
77 Reviewed by Geoffrey Garen.
79 Do some clean-up and add support for session change of web storage in layout tests.
81 * Storage/StorageAreaImpl.cpp:
82 (WebKit::StorageAreaImpl::sessionChanged):
83 * Storage/StorageAreaImpl.h:
86 * Storage/StorageAreaSync.h: make sure StorageAreaSync is destructed on the main thread, as it can be
87 dereferenced in StorageAreaImpl::sessionChanged and its last reference for final sync could be released on the
90 * Storage/StorageNamespaceImpl.cpp: replace EphemeralLocalStorage with LocalStorage, and store SessionID in
92 (WebKit::StorageNamespaceImpl::createSessionStorageNamespace):
93 (WebKit::StorageNamespaceImpl::getOrCreateLocalStorageNamespace):
94 (WebKit::StorageNamespaceImpl::StorageNamespaceImpl):
95 (WebKit::StorageNamespaceImpl::copy):
96 (WebKit::StorageNamespaceImpl::close):
97 (WebKit::StorageNamespaceImpl::setSessionIDForTesting):
98 (WebKit::StorageNamespaceImpl::createEphemeralLocalStorageNamespace): Deleted.
99 * Storage/StorageNamespaceImpl.h:
100 * Storage/WebStorageNamespaceProvider.cpp:
101 (WebKit::WebStorageNamespaceProvider::createSessionStorageNamespace):
102 (WebKit::WebStorageNamespaceProvider::createLocalStorageNamespace):
103 (WebKit::WebStorageNamespaceProvider::createTransientLocalStorageNamespace):
104 (WebKit::WebStorageNamespaceProvider::createEphemeralLocalStorageNamespace): Deleted.
105 * Storage/WebStorageNamespaceProvider.h:
107 2019-08-14 Ryan Haddad <ryanhaddad@apple.com>
109 Unreviewed, rolling out r248526.
111 Caused two IndexedDB perf tests to fail
115 "Remove IDB-specific quota"
116 https://bugs.webkit.org/show_bug.cgi?id=196545
117 https://trac.webkit.org/changeset/248526
119 2019-08-12 Youenn Fablet <youenn@apple.com>
121 Remove IDB-specific quota
122 https://bugs.webkit.org/show_bug.cgi?id=196545
124 Reviewed by Alex Christensen.
126 * Storage/WebDatabaseProvider.cpp:
127 (WebDatabaseProvider::idbConnectionToServerForSession):
128 (WebDatabaseProvider::deleteAllDatabases):
129 (WebDatabaseProvider::setIDBPerOriginQuota): Deleted.
130 * Storage/WebDatabaseProvider.h:
132 2019-08-10 Tim Horton <timothy_horton@apple.com>
134 Remove some more unused 32-bit code
135 https://bugs.webkit.org/show_bug.cgi?id=200607
137 Reviewed by Alexey Proskuryakov.
140 * WebKitLegacy.xcodeproj/project.pbxproj:
142 2019-08-09 Keith Rollin <krollin@apple.com>
144 Fix WebKitLegacy's post-process-header-rule script to support paths with spaces in them
145 https://bugs.webkit.org/show_bug.cgi?id=200595
146 <rdar://problem/54045608>
148 Reviewed by Darin Adler.
150 A number of scripts were added to WebKit, JavaScriptCore, and
151 WebKitLegacy to support XCBuild's new facility for copying and
152 modifying files in one atomic step. The first two are OK, but
153 WebKitLegacy's script (post-process-header-rule) references a file via
154 a variable named "header", and does so without quoting the variable's
155 value. When the header's path contains spaces -- as can happen when
156 building Safari Technology Preview -- the script breaks. Fix this by
159 * scripts/postprocess-header-rule:
161 2019-08-08 Brent Fulgham <bfulgham@apple.com>
163 [FTW] Get WebKit, WebKit2, and MiniBrowser building and executing
164 https://bugs.webkit.org/show_bug.cgi?id=200539
165 <rdar://problem/54082550>
167 Reviewed by Dean Jackson.
170 * PlatformFTW.cmake: Added.
172 2019-08-06 Per Arne Vollan <pvollan@apple.com>
174 [Win] Fix AppleWin build
175 https://bugs.webkit.org/show_bug.cgi?id=200455
177 Reviewed by Alex Christensen.
181 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
183 2019-07-31 Keith Rollin <krollin@apple.com>
185 Update WebKitLegacy for XCBuild
186 https://bugs.webkit.org/show_bug.cgi?id=200310
187 <rdar://problem/53773708>
189 Reviewed by Alex Christensen.
191 Bug 199771 (svn r247570) updated WebKitLegacy to use the unified-build
192 technique. Now update WebKitLegacy to build under XCBuild after those
193 changes. This work involves adding an "Apply Configuration to
194 XCFileLists" build target, adding a check-xcfilelists.sh script,
195 adding a "Check xcfilelists" build phase that calls that script,
196 adding knowledge of the project to the generate-xcfilelists script,
197 creating new .xcfilelist files, and adding those to the project.
199 * UnifiedSources-output.xcfilelist: Added.
200 * WebKitLegacy.xcodeproj/project.pbxproj:
201 * scripts/check-xcfilelists.sh: Added.
203 2019-07-18 Alex Christensen <achristensen@webkit.org>
205 Unify builds in WebKitLegacy/mac/DOM
206 https://bugs.webkit.org/show_bug.cgi?id=199771
208 Reviewed by Geoffrey Garen.
211 * WebKitLegacy.xcodeproj/project.pbxproj:
212 * scripts/generate-unified-sources.sh:
214 2019-07-16 Chris Dumez <cdumez@apple.com>
216 Speed up StorageManager::getValues()
217 https://bugs.webkit.org/show_bug.cgi?id=199812
219 Reviewed by Alex Christensen.
221 * Storage/StorageAreaImpl.cpp:
222 (WebKit::StorageAreaImpl::importItems):
223 * Storage/StorageAreaImpl.h:
224 * Storage/StorageAreaSync.cpp:
225 (WebKit::StorageAreaSync::performImport):
227 2019-07-12 Alex Christensen <achristensen@webkit.org>
229 Begin unifying WebKitLegacy sources
230 https://bugs.webkit.org/show_bug.cgi?id=199730
232 Reviewed by Keith Miller.
234 * Sources.txt: Added.
235 * SourcesCocoa.txt: Added.
236 * WebKitLegacy.xcodeproj/project.pbxproj:
237 * scripts/generate-unified-sources.sh: Added.
239 2019-07-03 Jonathan Bedard <jbedard@apple.com>
241 [Catalina] Enable WebKit build
242 https://bugs.webkit.org/show_bug.cgi?id=199209
244 Reviewed by Darin Adler.
246 * mac/WebView/WebHTMLView.mm: Move NSView declaration to SPI header.
247 * mac/WebView/WebView.mm: Use _subviewsIvar instead of _subviews.
249 2019-06-27 Fujii Hironori <Hironori.Fujii@sony.com>
251 [CMake] Bump cmake_minimum_required version to 3.10
252 https://bugs.webkit.org/show_bug.cgi?id=199181
254 Reviewed by Don Olmstead.
258 2019-06-05 Alex Christensen <achristensen@webkit.org>
260 Progress towards resurrecting Mac CMake build
261 https://bugs.webkit.org/show_bug.cgi?id=197132
263 Reviewed by Don Olmstead.
267 2019-06-03 Don Olmstead <don.olmstead@sony.com>
269 [CMake] Add WebKit::JavaScriptCore target
270 https://bugs.webkit.org/show_bug.cgi?id=198403
272 Reviewed by Konstantin Tokarev.
274 Use the WebKit::JavaScriptCore target.
278 2019-05-31 Don Olmstead <don.olmstead@sony.com>
280 [CMake] Add WebKit::WTF target
281 https://bugs.webkit.org/show_bug.cgi?id=198400
283 Reviewed by Konstantin Tokarev.
285 Use the WebKit::WTF target.
289 2019-05-27 Chris Dumez <cdumez@apple.com>
291 Use a strongly-typed identifier for pages
292 https://bugs.webkit.org/show_bug.cgi?id=198206
294 Reviewed by Youenn Fablet.
296 * WebCoreSupport/WebResourceLoadScheduler.cpp:
297 (WebResourceLoadScheduler::pageLoadCompleted):
298 * WebCoreSupport/WebResourceLoadScheduler.h:
300 2019-05-17 Don Olmstead <don.olmstead@sony.com>
302 [CMake] Use builtin FindICU
303 https://bugs.webkit.org/show_bug.cgi?id=197934
305 Reviewed by Michael Catanzaro.
307 Remove uses of ICU_INCLUDE_DIRS and ICU_LIBRARIES.
312 2019-05-03 Commit Queue <commit-queue@webkit.org>
314 Unreviewed, rolling out r244881.
315 https://bugs.webkit.org/show_bug.cgi?id=197559
317 Breaks compilation of jsconly on linux, breaking compilation
318 for jsc-i386-ews, jsc-mips-ews and jsc-armv7-ews (Requested by
319 guijemont on #webkit).
323 "[CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into
325 https://bugs.webkit.org/show_bug.cgi?id=197174
326 https://trac.webkit.org/changeset/244881
328 2019-05-02 Don Olmstead <don.olmstead@sony.com>
330 [CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into WEBKIT_COPY_FILES
331 https://bugs.webkit.org/show_bug.cgi?id=197174
333 Reviewed by Alex Christensen.
335 Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES and make dependencies
336 for framework headers explicit.
340 2019-04-25 Fujii Hironori <Hironori.Fujii@sony.com>
342 Unreviewed, rolling out r244669.
344 Windows ports can't clean build.
348 "[Win] Add flag to enable version information stamping and
350 https://bugs.webkit.org/show_bug.cgi?id=197249
351 https://trac.webkit.org/changeset/244669
353 2019-04-25 Basuke Suzuki <Basuke.Suzuki@sony.com>
355 [Win] Add flag to enable version information stamping and disable by default.
356 https://bugs.webkit.org/show_bug.cgi?id=197249
358 Reviewed by Ross Kirsling.
360 This feature is only used in AppleWin port. Add flag for this task and make it OFF by default.
361 Then enable it by default on AppleWin.
365 2019-04-23 Keith Rollin <krollin@apple.com>
367 Add Xcode version check for Header post-processing scripts
368 https://bugs.webkit.org/show_bug.cgi?id=197116
369 <rdar://problem/50058968>
371 Reviewed by Brent Fulgham.
373 There are several places in our Xcode projects that post-process
374 header files after they've been exported. Because of XCBuild, we're
375 moving to a model where the post-processing is performed at the same
376 time the header files are exported, rather than as a distinct
377 post-processing step. This patch disables the distinct step when the
378 inline processing is available.
380 In practice, this means prefixing appropriate post-processing Custom
383 if [ "${XCODE_VERSION_MAJOR}" -ge "1100" -a "${USE_NEW_BUILD_SYSTEM}" = "YES" ]; then
384 # 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.
388 * WebKitLegacy.xcodeproj/project.pbxproj:
390 2019-04-20 Don Olmstead <don.olmstead@sony.com>
392 [CMake][Win] Use target oriented design for WebKitLegacy
393 https://bugs.webkit.org/show_bug.cgi?id=197112
395 Reviewed by Konstantin Tokarev.
397 Enumerate the public framework headers for WebKitLegacy and copy them. Include
398 directories should be PRIVATE. Migrate to using WebKitLegacy_DERIVED_SOURCES_DIR.
404 2019-04-19 Keith Rollin <krollin@apple.com>
406 Add postprocess-header-rule scripts
407 https://bugs.webkit.org/show_bug.cgi?id=197072
408 <rdar://problem/50027299>
410 Reviewed by Brent Fulgham.
412 Several projects have post-processing build phases where exported
413 headers are tweaked after they've been copied. This post-processing is
414 performed via scripts called postprocess-headers.sh. For reasons
415 related to XCBuild, we are now transitioning to a build process where
416 the post-processing is performed at the same time as the
417 exporting/copying. To support this process, add similar scripts named
418 postprocess-header-rule, which are geared towards processing a single
419 file at a time rather than all exported files at once. Also add a
420 build rule that makes use of these scripts. These scripts and build
421 rules are not used at the moment; they will come into use in an
424 Note that I've named these postprocess-header-rule rather than
425 postprocess-header-rule.sh. Scripts in Tools/Scripts do not have
426 suffixes indicating how the tool is implemented. Scripts in
427 per-project Scripts folders appear to be mixed regarding the use of
428 suffixes. I'm opting here to follow the Tools/Scripts convention, with
429 the expectation that over time we completely standardize on that.
431 * WebKitLegacy.xcodeproj/project.pbxproj:
432 * scripts/postprocess-header-rule: Added.
434 2019-04-18 Don Olmstead <don.olmstead@sony.com>
436 [CMake] Make WebCore headers copies
437 https://bugs.webkit.org/show_bug.cgi?id=182512
438 <rdar://problem/37510435>
440 Reviewed by Alex Christensen.
442 Added WebCorePrivateFrameworkHeaders as a dependency of WebKitLegacy for all
445 WebCore now uses WebCore_PRIVATE_INCLUDE_DIRECTORIES for all ports. This revealed
446 problems with WebKit's usage of WebCore headers. All include directories directly
447 referencing the WebCore source tree we're removed from the CMake files.
452 2019-04-18 Keith Rollin <krollin@apple.com>
454 Move MiG .def files into their own "Copy files" build step
455 https://bugs.webkit.org/show_bug.cgi?id=196982
457 Reviewed by Alex Christensen.
459 WebKitLegacy's MiG files need to be processed differently from the
460 other files in the "Copy Headers" build phase, so move them into their
461 own "Copy Files" build phase. This arrangement removes them from any
462 post-processing performed on the main group of headers.
464 * WebKitLegacy.xcodeproj/project.pbxproj:
466 2019-04-17 Commit Queue <commit-queue@webkit.org>
468 Unreviewed, rolling out r244386.
469 https://bugs.webkit.org/show_bug.cgi?id=197031
471 Causing build failures on several internal builders (Requested
472 by ShawnRoberts on #webkit).
476 "Move MiG .def files into their own "Copy files" build step"
477 https://bugs.webkit.org/show_bug.cgi?id=196982
478 https://trac.webkit.org/changeset/244386
480 2019-04-17 Keith Rollin <krollin@apple.com>
482 Move MiG .def files into their own "Copy files" build step
483 https://bugs.webkit.org/show_bug.cgi?id=196982
485 Reviewed by Alex Christensen.
487 WebKitLegacy's MiG files need to be processed differently from the
488 other files in the "Copy Headers" build phase, so move them into their
489 own "Copy Files" build phase. This arrangement removes them from any
490 post-processing performed on the main group of headers.
492 * WebKitLegacy.xcodeproj/project.pbxproj:
494 2019-04-08 Don Olmstead <don.olmstead@sony.com>
496 [CMake][WinCairo] Separate copied headers into different directories
497 https://bugs.webkit.org/show_bug.cgi?id=196655
499 Reviewed by Michael Catanzaro.
504 2019-04-05 Commit Queue <commit-queue@webkit.org>
506 Unreviewed, rolling out r243833.
507 https://bugs.webkit.org/show_bug.cgi?id=196645
509 This change breaks build of WPE and GTK ports (Requested by
514 "[CMake][WTF] Mirror XCode header directories"
515 https://bugs.webkit.org/show_bug.cgi?id=191662
516 https://trac.webkit.org/changeset/243833
518 2019-04-03 Don Olmstead <don.olmstead@sony.com>
520 [CMake][WTF] Mirror XCode header directories
521 https://bugs.webkit.org/show_bug.cgi?id=191662
523 Reviewed by Konstantin Tokarev.
525 Use WTFFramework as a dependency and include frameworks/WTF.cmake for AppleWin internal
531 2019-04-02 Fujii Hironori <Hironori.Fujii@sony.com>
533 [CMake] WEBKIT_MAKE_FORWARDING_HEADERS shouldn't use POST_BUILD to copy generated headers
534 https://bugs.webkit.org/show_bug.cgi?id=182757
536 Reviewed by Don Olmstead.
538 * PlatformWin.cmake: Do not use DERIVED_SOURCE_DIRECTORIES
539 parameter of WEBKIT_MAKE_FORWARDING_HEADERS. Added
540 WebKitLegacyGUID_PRIVATE_FRAMEWORK_HEADERS.
542 2019-03-13 Youenn Fablet <youenn@apple.com>
544 Check IDB quota usage through QuotaManager
545 https://bugs.webkit.org/show_bug.cgi?id=195302
547 Reviewed by Chris Dumez.
549 * Storage/WebDatabaseProvider.cpp:
550 (WebDatabaseProvider::idbConnectionToServerForSession):
552 2019-03-06 Sam Weinig <sam@webkit.org>
554 WebKitLegacy does not need to generate an export file for i386 anymore
555 https://bugs.webkit.org/show_bug.cgi?id=195380
557 Reviewed by Dan Bernstein.
559 * WebKitLegacy.xcodeproj/project.pbxproj:
560 Update and simplify the "Generate Export Files" phase now that we don't need
561 separate export files for i386 and x86_64.
563 2019-03-01 Tim Horton <timothy_horton@apple.com>
565 Remove unused code in WebKitLegacy
566 https://bugs.webkit.org/show_bug.cgi?id=189614
568 Reviewed by Simon Fraser.
570 * WebKitLegacy.xcodeproj/project.pbxproj:
572 2019-02-20 Andy Estes <aestes@apple.com>
574 [Xcode] Add SDKVariant.xcconfig to various Xcode projects
575 https://bugs.webkit.org/show_bug.cgi?id=194869
577 Rubber-stamped by Jer Noble.
579 * WebKitLegacy.xcodeproj/project.pbxproj:
581 2019-01-31 Takashi Komori <Takashi.Komori@sony.com>
583 [Curl] Remove unnecessary member from NetworkStorageSession.
584 https://bugs.webkit.org/show_bug.cgi?id=194137
586 Reviewed by Don Olmstead.
588 * WebCoreSupport/NetworkStorageSessionMap.cpp:
589 (NetworkStorageSessionMap::defaultStorageSession):
590 (NetworkStorageSessionMap::ensureSession):
592 2019-01-31 Takashi Komori <Takashi.Komori@sony.com>
594 [Curl] Fix DRT crash related to private browsing.
595 https://bugs.webkit.org/show_bug.cgi?id=193816
597 Reviewed by Alex Christensen.
599 * WebCoreSupport/NetworkStorageSessionMap.cpp:
600 (NetworkStorageSessionMap::ensureSession):
602 2019-01-26 Darin Adler <darin@apple.com>
604 Replace many uses of String::format with more type-safe alternatives
605 https://bugs.webkit.org/show_bug.cgi?id=192742
607 Reviewed by Mark Lam.
609 * Shared/WebMemorySampler.cpp:
610 (WebKit::WebMemorySampler::writeHeaders): Use makeString.
612 * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm:
613 (WebKit::LocalAuthenticator::makeCredential): Use string concatentation.
615 * UIProcess/WebInspectorUtilities.cpp:
616 (WebKit::inspectorPageGroupIdentifierForPage): Use makeString.
617 * UIProcess/WebProcessPool.cpp:
618 (WebKit::WebProcessPool::processDidFinishLaunching): Ditto.
619 (WebKit::WebProcessPool::startMemorySampler): Ditto.
621 2019-01-24 Ross Kirsling <ross.kirsling@sony.com>
623 Move FileSystem to WTF
624 https://bugs.webkit.org/show_bug.cgi?id=193602
626 Reviewed by Yusuke Suzuki.
628 * Storage/StorageAreaSync.cpp:
629 * Storage/StorageSyncManager.cpp:
630 * Storage/StorageTracker.cpp:
632 2019-01-23 Ross Kirsling <ross.kirsling@sony.com>
634 [Curl] Unreviewed build fix for r240292 and friends.
636 WinCairo test stability must be restored in subsequent patch.
638 * WebCoreSupport/NetworkStorageSessionMap.cpp:
639 (NetworkStorageSessionMap::defaultStorageSession):
640 (NetworkStorageSessionMap::switchToNewTestingSession):
641 (NetworkStorageSessionMap::ensureSession):
643 2019-01-23 Commit Queue <commit-queue@webkit.org>
645 Unreviewed, rolling out r240403.
646 https://bugs.webkit.org/show_bug.cgi?id=193757
648 "Causes multiple crashes on macOS port (probably used wrong
649 ENABLE macro)" (Requested by ddkilzer on #webkit).
653 "[Curl] Unreviewed build fix for r240292 and friends."
654 https://trac.webkit.org/changeset/240403
656 2019-01-23 Ross Kirsling <ross.kirsling@sony.com>
658 [Curl] Unreviewed build fix for r240292 and friends.
660 WinCairo test stability must be restored in subsequent patch.
662 * WebCoreSupport/NetworkStorageSessionMap.cpp:
663 (NetworkStorageSessionMap::defaultStorageSession):
664 (NetworkStorageSessionMap::switchToNewTestingSession):
665 (NetworkStorageSessionMap::ensureSession):
667 2019-01-22 Alex Christensen <achristensen@webkit.org>
669 Fix some builds after r240292
670 https://bugs.webkit.org/show_bug.cgi?id=193580
672 * WebCoreSupport/NetworkStorageSessionMap.cpp:
674 2019-01-22 Alex Christensen <achristensen@webkit.org>
676 Move NetworkStorageSession ownership to NetworkProcess
677 https://bugs.webkit.org/show_bug.cgi?id=193580
679 Reviewed by Geoff Garen.
681 * WebCoreSupport/NetworkStorageSessionMap.cpp: Added.
682 (defaultNetworkStorageSession):
684 (NetworkStorageSessionMap::storageSession):
685 (NetworkStorageSessionMap::defaultStorageSession):
686 (NetworkStorageSessionMap::switchToNewTestingSession):
687 (NetworkStorageSessionMap::ensureSession):
688 (NetworkStorageSessionMap::destroySession):
689 * WebCoreSupport/NetworkStorageSessionMap.h: Added.
690 * WebCoreSupport/PageStorageSessionProvider.h:
691 * WebKitLegacy.xcodeproj/project.pbxproj:
693 2019-01-15 Darin Adler <darin@apple.com>
695 Use references rather than pointers for register/unregister functions, and more
696 https://bugs.webkit.org/show_bug.cgi?id=175028
698 Reviewed by Daniel Bates.
700 * WebKitLegacy.xcodeproj/project.pbxproj: Let Xcode update this project.
702 2019-01-18 Eric Carlson <eric.carlson@apple.com>
704 Revert r238815, it broke WK1 video fullscreen on Mac
705 https://bugs.webkit.org/show_bug.cgi?id=193586
706 <rdar://problem/47358941>
708 Reviewed by Jer Noble.
710 * WebKitLegacy.xcodeproj/project.pbxproj:
712 2019-01-17 Alex Christensen <achristensen@webkit.org>
714 Stop using NetworkStorageSession::storageSession in WebCore
715 https://bugs.webkit.org/show_bug.cgi?id=193529
717 Reviewed by Tim Horton.
719 * WebCoreSupport/PageStorageSessionProvider.h: Added.
720 * WebKitLegacy.xcodeproj/project.pbxproj:
722 2019-01-04 Youenn Fablet <youenn@apple.com>
724 CSP violation reports should bypass CSP checks
725 https://bugs.webkit.org/show_bug.cgi?id=192857
726 <rdar://problem/46887236>
728 Reviewed by Chris Dumez.
730 * WebCoreSupport/WebResourceLoadScheduler.cpp:
731 (WebResourceLoadScheduler::startPingLoad):
732 * WebCoreSupport/WebResourceLoadScheduler.h:
734 2018-12-27 Alex Christensen <achristensen@webkit.org>
736 Resurrect Mac CMake build
737 https://bugs.webkit.org/show_bug.cgi?id=192658
739 Reviewed by Yusuke Suzuki.
743 2018-12-20 Yusuke Suzuki <yusukesuzuki@slowstart.org>
745 Use Ref<> as much as possible
746 https://bugs.webkit.org/show_bug.cgi?id=192808
748 Reviewed by Alex Christensen.
750 * Storage/StorageNamespaceImpl.cpp:
751 (WebKit::StorageNamespaceImpl::copy):
752 (WebKit::StorageNamespaceImpl::storageArea):
753 * Storage/StorageNamespaceImpl.h:
754 * Storage/WebStorageNamespaceProvider.cpp:
755 (WebKit::WebStorageNamespaceProvider::create):
756 (WebKit::WebStorageNamespaceProvider::createSessionStorageNamespace):
757 (WebKit::WebStorageNamespaceProvider::createEphemeralLocalStorageNamespace):
758 (WebKit::WebStorageNamespaceProvider::createLocalStorageNamespace):
759 (WebKit::WebStorageNamespaceProvider::createTransientLocalStorageNamespace):
760 * Storage/WebStorageNamespaceProvider.h:
761 * WebCoreSupport/WebViewGroup.cpp:
762 (WebViewGroup::getOrCreate):
763 * WebCoreSupport/WebViewGroup.h:
765 2018-12-11 Fujii Hironori <Hironori.Fujii@sony.com>
767 [Win][WebKitLegacy][Clang] WebKit.h warning: 'IWebEditingDelegate2::shouldInsertNode' hides overloaded virtual function [-Woverloaded-virtual]
768 https://bugs.webkit.org/show_bug.cgi?id=192581
770 Reviewed by Alex Christensen.
772 Conventionally, WebKit COM interface adds a new interface with
773 same name methods with the old interface. For example, both
774 IWebEditingDelegate and IWebEditingDelegate2 interfaces has
775 shouldInsertNode method.
777 This is a part of public API, can't be renamed.
779 * PlatformWin.cmake: Added -Wno-overloaded-virtual compiler option
782 2018-12-06 Alex Christensen <achristensen@webkit.org>
784 Remove unused LoaderStrategy::storeDerivedDataToCache and associated dead code
785 https://bugs.webkit.org/show_bug.cgi?id=192452
787 Reviewed by Anders Carlsson.
789 * WebCoreSupport/WebResourceLoadScheduler.h:
791 2018-12-03 Jer Noble <jer.noble@apple.com>
793 Get rid of old, dead Mac video fullscreen code.
794 https://bugs.webkit.org/show_bug.cgi?id=192315
796 Reviewed by Eric Carlson.
798 * WebKitLegacy.xcodeproj/project.pbxproj:
800 2018-11-30 Alex Christensen <achristensen@webkit.org>
802 Move URL from WebCore to WTF
803 https://bugs.webkit.org/show_bug.cgi?id=190234
805 Reviewed by Keith Miller.
807 * WebCoreSupport/WebResourceLoadScheduler.cpp:
808 * WebCoreSupport/WebResourceLoadScheduler.h:
810 2018-11-26 Brent Fulgham <bfulgham@apple.com>
812 [Win] Reduce the use of WKSI library calls: CoreAnimation
813 https://bugs.webkit.org/show_bug.cgi?id=191777
814 <rdar://problem/46140542>
816 Reviewed by Zalan Bujtas.
818 Update the Windows build of WebKit to refer to the SPI headers, rather than WebKitSystemInterface.
819 Move a small amount of glue code from WKSI to WebCore, and remove any includes or link
820 directives for WebKitSystemInterface.lib.
824 2018-11-17 Devin Rousso <drousso@apple.com>
826 Web Inspector: Network: add button to show system certificate dialog
827 https://bugs.webkit.org/show_bug.cgi?id=191458
828 <rdar://problem/45977019>
830 Reviewed by Joseph Pecoraro.
832 * WebCoreSupport/WebInspectorClientIOS.mm:
833 (WebInspectorFrontendClient::showCertificate): Added.
835 2018-11-09 Sihui Liu <sihui_liu@apple.com>
837 Remove legacy storage tracker database file after r237330
838 https://bugs.webkit.org/show_bug.cgi?id=191423
840 Reviewed by Geoffrey Garen.
842 r237330 changed the file name of storage tracker database, but it did not remove the old
843 file before using the new one.
845 * Storage/StorageTracker.cpp:
846 (WebKit::StorageTracker::internalInitialize):
848 2018-11-01 Sihui Liu <sihui_liu@apple.com>
850 Add a storage limit for IndexedDB
851 https://bugs.webkit.org/show_bug.cgi?id=190598
852 <rdar://problem/44654715>
854 Reviewed by Chris Dumez.
856 * Storage/WebDatabaseProvider.cpp:
857 (WebDatabaseProvider::idbConnectionToServerForSession):
858 (WebDatabaseProvider::setIDBPerOriginQuota):
859 * Storage/WebDatabaseProvider.h:
861 2018-10-30 Alexey Proskuryakov <ap@apple.com>
863 Enable InstallAPI for iOS unconditionally
864 https://bugs.webkit.org/show_bug.cgi?id=191043
865 rdar://problem/32728423
867 Reviewed by Dan Bernstein.
869 * WebKitLegacy.xcodeproj/project.pbxproj: Added NSURLDownloadSPI.h.
871 2018-10-30 Commit Queue <commit-queue@webkit.org>
873 Unreviewed, rolling out r237600 and r237604.
874 https://bugs.webkit.org/show_bug.cgi?id=191086
876 Breaks internal iOS builds (Requested by ryanhadd_ on
881 "Enable InstallAPI for iOS unconditionally"
882 https://bugs.webkit.org/show_bug.cgi?id=191043
883 https://trac.webkit.org/changeset/237600
885 "Build fix attempt after enabling InstallAPI for iOS."
886 https://bugs.webkit.org/show_bug.cgi?id=191043
887 https://trac.webkit.org/changeset/237604
889 2018-10-30 Alexey Proskuryakov <ap@apple.com>
891 Enable InstallAPI for iOS unconditionally
892 https://bugs.webkit.org/show_bug.cgi?id=191043
893 rdar://problem/32728423
895 Reviewed by Dan Bernstein.
897 * WebKitLegacy.xcodeproj/project.pbxproj: Added NSURLDownloadSPI.h.
899 2018-10-29 Tim Horton <timothy_horton@apple.com>
901 Modernize WebKit nibs and lprojs for localization's sake
902 https://bugs.webkit.org/show_bug.cgi?id=190911
903 <rdar://problem/45349466>
905 Reviewed by Dan Bernstein.
907 * English.lproj/WebJavaScriptTextInputPanel.nib/designable.nib: Removed.
908 * English.lproj/WebJavaScriptTextInputPanel.nib/keyedobjects.nib: Removed.
909 * WebKitLegacy.xcodeproj/project.pbxproj:
910 * en.lproj/WebJavaScriptTextInputPanel.xib: Added.
911 NIB->XIB, English->en
913 2018-10-25 Fujii Hironori <Hironori.Fujii@sony.com>
915 [CMake][Ninja][Win] midl.exe fails to create, open and write a temporary file in parallel build in Docker container
916 https://bugs.webkit.org/show_bug.cgi?id=187725
918 Reviewed by Michael Catanzaro.
920 * PlatformWin.cmake: Added USES_TERMINAL to serialize midl.exe
923 2018-10-22 Sihui Liu <sihui_liu@apple.com>
925 Regression (r232410): StorageTracker.db file gets unlinked while in use
926 https://bugs.webkit.org/show_bug.cgi?id=190795
928 Reviewed by Chris Dumez.
930 WK2 stopped using StorageTracker.db file in r232410 and would delete
932 It turned out WK1 could use the same file path, so WK2 may delete the
933 file while WK1 is using it.
935 * Storage/StorageTracker.cpp:
936 (WebKit::StorageTracker::trackerDatabasePath):
938 2018-10-18 Alexey Proskuryakov <ap@apple.com>
940 Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY)
941 https://bugs.webkit.org/show_bug.cgi?id=190729
943 Reviewed by Tim Horton.
945 * Storage/StorageTracker.cpp:
946 (WebKit::StorageTracker::syncDeleteAllOrigins):
947 (WebKit::StorageTracker::syncDeleteOrigin):
948 * WebCoreSupport/WebResourceLoadScheduler.cpp:
949 (WebResourceLoadScheduler::loadResource):
950 (WebResourceLoadScheduler::scheduleLoad):
951 (WebResourceLoadScheduler::remove):
952 (WebResourceLoadScheduler::servePendingRequests):
954 2018-10-11 Keith Rollin <krollin@apple.com>
956 CURRENT_ARCH should not be used in Run Script phase.
957 https://bugs.webkit.org/show_bug.cgi?id=190407
958 <rdar://problem/45133556>
960 Reviewed by Alexey Proskuryakov.
962 CURRENT_ARCH is used in a number of Xcode Run Script phases. However,
963 CURRENT_ARCH is not well-defined during this phase (and may even have
964 the value "undefined") since this phase is run just once per build
965 rather than once per supported architecture. Migrate away from
966 CURRENT_ARCH in favor of ARCHS, either by iterating over ARCHS and
967 performing an operation for each value, or by picking the first entry
968 in ARCHS and using that as a representative value.
970 * WebKitLegacy.xcodeproj/project.pbxproj: When generating
971 WebKitLegacy.*.exp, generate both 32- and 64-bit versions for
974 2018-10-04 Dan Bernstein <mitz@apple.com>
976 WebKitLegacy part of [Xcode] Update some build settings as recommended by Xcode 10
977 https://bugs.webkit.org/show_bug.cgi?id=190250
979 Reviewed by Andy Estes.
981 * WebKitLegacy.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
983 2018-10-01 Dean Jackson <dino@apple.com>
985 [macOS] Switching to discrete GPU should be done in the UI process
986 https://bugs.webkit.org/show_bug.cgi?id=189361
987 <rdar://problem/43949622>
989 Reviewed by Simon Fraser.
991 * WebKitLegacy.xcodeproj/project.pbxproj: Add new files.
993 2018-09-05 David Kilzer <ddkilzer@apple.com>
995 REGRESSION (r235585): WebDownloadInternal.h is missing from WebKitLegacy Xcode project
996 <https://bugs.webkit.org/show_bug.cgi?id=189072>
998 Found using tidy-Xcode-project-file (see Bug 188754).
1000 * WebKitLegacy.xcodeproj/project.pbxproj: Remove references to
1001 WebDownloadInternal.h since the header was removed in r235585.
1003 2018-08-26 Dan Bernstein <mitz@apple.com>
1005 [Xcode] Don’t make unnecessary, broken WebKitPluginAgent symlink when WK_USE_OVERRIDE_FRAMEWORKS_DIR=YES
1006 https://bugs.webkit.org/show_bug.cgi?id=188956
1007 <rdar://problem/43253221>
1009 Reviewed by Darin Adler.
1011 * WebKitLegacy.xcodeproj/project.pbxproj: Updated the Symlink WebKitPluginHost build phase.
1013 2018-08-01 Alex Christensen <achristensen@webkit.org>
1015 Move all calls to ResourceLoader::start to WebKitLegacy
1016 https://bugs.webkit.org/show_bug.cgi?id=184946
1018 Reviewed by Andy Estes.
1020 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1021 (WebResourceLoadScheduler::setDefersLoading):
1022 * WebCoreSupport/WebResourceLoadScheduler.h:
1024 2018-06-25 Keith Rollin <krollin@apple.com>
1025 Unreviewed, rolling out r233087.
1027 Causes 5% Mac PLT regression.
1031 "Recalc styles every time defaultAppearance changes."
1032 https://bugs.webkit.org/show_bug.cgi?id=186866
1033 https://trac.webkit.org/changeset/233087
1035 2018-06-23 Yusuke Suzuki <utatane.tea@gmail.com>
1037 [WTF] Add user-defined literal for ASCIILiteral
1038 https://bugs.webkit.org/show_bug.cgi?id=186839
1040 Reviewed by Darin Adler.
1042 * Storage/StorageTracker.cpp:
1043 (WebKit::StorageTracker::syncFileSystemAndTrackerDatabase):
1044 * WebCoreSupport/PingHandle.h:
1046 2018-06-09 Dan Bernstein <mitz@apple.com>
1048 Added missing file references to the Configuration group.
1050 * WebKitLegacy.xcodeproj/project.pbxproj:
1052 2018-05-25 Alex Christensen <achristensen@webkit.org>
1054 URL::host should return a StringView to reduce allocations
1055 https://bugs.webkit.org/show_bug.cgi?id=185986
1057 Reviewed by Geoff Garen.
1059 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1060 (WebResourceLoadScheduler::hostForURL):
1062 2018-05-11 Charles Vazac <cvazac@gmail.com>
1064 Runtime feature flag for Server-Timing
1065 https://bugs.webkit.org/show_bug.cgi?id=184758
1067 Reviewed by Youenn Fablet.
1069 * mac/WebView/WebPreferenceKeysPrivate.h: Added server-timing preference.
1070 * mac/WebView/WebPreferences.mm:
1071 (WebKit::WebPreferences::serverTimingEnabled):
1072 (WebKit::WebPreferences::setServerTimingEnabled):
1073 * mac/WebView/WebPreferencesPrivate.h:
1074 (WebKit::WebPreferences::setServerTimingEnabled):
1075 (WebKit::WebPreferences::serverTimingEnabled):
1076 * mac/WebView/WebView.mm: Set runtime enabled feature based on preference.
1077 * win/Interfaces/IWebPreferencesPrivate.idl: define serverTimingEnabled and setServerTimingEnabled.
1078 * win/WebPreferenceKeysPrivate.h: Added server-timing preference.
1079 * win/WebPreferences.cpp: Initialize server-timing as false and define setter and getter.
1080 (WebKit::WebPreferences::serverTimingEnabled):
1081 (WebKit::WebPreferences::setServerTimingEnabled):
1082 * win/WebPreferences.h: Define serverTimingEnabled and setServerTimingEnabled.
1083 * win/WebView.cpp: Set runtime enabled feature based on preference.
1085 2018-05-02 Keith Rollin <krollin@apple.com>
1087 Add facility for tracking times and results of page and resource loading
1088 https://bugs.webkit.org/show_bug.cgi?id=184838
1089 <rdar://problem/36548974>
1091 Reviewed by Brent Fulgham.
1093 Add an empty override of the pure virtual
1094 LoaderStrategy::pageLoadCompleted method.
1096 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1097 (WebResourceLoadScheduler::pageLoadCompleted):
1098 * WebCoreSupport/WebResourceLoadScheduler.h:
1100 2018-05-01 Eric Carlson <eric.carlson@apple.com>
1102 [MediaStream] remove WK1 support
1103 https://bugs.webkit.org/show_bug.cgi?id=185136
1105 Reviewed by Youenn Fablet.
1107 * WebKitLegacy.xcodeproj/project.pbxproj:
1109 2018-04-30 JF Bastien <jfbastien@apple.com>
1111 Use some C++17 features
1112 https://bugs.webkit.org/show_bug.cgi?id=185135
1114 Reviewed by Alex Christensen.
1116 * PlatformMac.cmake:
1118 2018-04-16 Youenn Fablet <youenn@apple.com>
1120 Use NetworkLoadChecker to handle synchronous HTTP loads
1121 https://bugs.webkit.org/show_bug.cgi?id=184240
1123 Reviewed by Chris Dumez.
1125 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1126 (WebResourceLoadScheduler::loadResourceSynchronously):
1127 * WebCoreSupport/WebResourceLoadScheduler.h:
1129 2018-04-04 Alex Christensen <achristensen@webkit.org>
1131 Move PingHandle to WebKitLegacy
1132 https://bugs.webkit.org/show_bug.cgi?id=184145
1134 Reviewed by Youenn Fablet.
1136 * WebCoreSupport/PingHandle.h: Copied from Source/WebCore/platform/network/PingHandle.h.
1138 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1139 * WebKitLegacy.xcodeproj/project.pbxproj:
1141 2018-03-27 Chris Dumez <cdumez@apple.com>
1143 Move online state detection from the WebProcess to the NetworkProcess
1144 https://bugs.webkit.org/show_bug.cgi?id=183989
1145 <rdar://problem/37093299>
1147 Reviewed by Youenn Fablet.
1149 No change on WebKit1 except that WebResourceLoadScheduler needs to override
1150 2 new virtual functions which forward the calls to the NetworkStateNotifier.
1152 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1153 (WebResourceLoadScheduler::isOnLine const):
1154 (WebResourceLoadScheduler::addOnlineStateChangeListener):
1155 * WebCoreSupport/WebResourceLoadScheduler.h:
1157 2018-03-26 Chris Dumez <cdumez@apple.com>
1159 Use SecurityOriginData more consistently in Service Worker code
1160 https://bugs.webkit.org/show_bug.cgi?id=183969
1162 Reviewed by Darin Adler.
1164 Use SecurityOrigin::data() instead of SecurityOriginData::fromSecurityOrigin().
1166 * Storage/StorageTracker.cpp:
1167 (WebKit::StorageTracker::diskUsageForOrigin):
1169 2018-03-25 Commit Queue <commit-queue@webkit.org>
1171 Unreviewed, rolling out r229954.
1172 https://bugs.webkit.org/show_bug.cgi?id=184000
1174 Caused many layout tests to crash on Apple High Sierra,
1175 Sierra, iOS Simulator and GTK Linux Debug test bots (Requested
1176 by dydz on #webkit).
1180 "Use SecurityOriginData more consistently in Service Worker
1182 https://bugs.webkit.org/show_bug.cgi?id=183969
1183 https://trac.webkit.org/changeset/229954
1185 2018-03-24 Chris Dumez <cdumez@apple.com>
1187 Use SecurityOriginData more consistently in Service Worker code
1188 https://bugs.webkit.org/show_bug.cgi?id=183969
1190 Reviewed by Darin Adler.
1192 Use SecurityOrigin::data() instead of SecurityOriginData::fromSecurityOrigin().
1194 * Storage/StorageTracker.cpp:
1195 (WebKit::StorageTracker::diskUsageForOrigin):
1197 2018-03-23 Tim Horton <timothy_horton@apple.com>
1199 Adopt WK_PLATFORM_NAME in WebKitLegacy
1200 https://bugs.webkit.org/show_bug.cgi?id=183948
1201 <rdar://problem/38803908>
1203 Reviewed by Dan Bernstein.
1205 * WebKitLegacy.xcodeproj/project.pbxproj:
1207 2018-02-28 Alex Christensen <achristensen@webkit.org>
1209 Reduce use of NetworkingContext in WebKit
1210 https://bugs.webkit.org/show_bug.cgi?id=183213
1212 Reviewed by Brady Eidson.
1214 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1215 (WebResourceLoadScheduler::loadResourceSynchronously):
1216 (WebResourceLoadScheduler::preconnectTo):
1217 * WebCoreSupport/WebResourceLoadScheduler.h:
1219 2018-02-26 Don Olmstead <don.olmstead@sony.com>
1221 Fix WebCore includes within WebKitLegacy
1222 https://bugs.webkit.org/show_bug.cgi?id=183147
1224 Reviewed by Tim Horton.
1228 2018-02-13 Commit Queue <commit-queue@webkit.org>
1230 Unreviewed, rolling out r228431.
1231 https://bugs.webkit.org/show_bug.cgi?id=182766
1233 Regressed CMake build stability (Requested by dolmstead on
1238 "[CMake] Make WebCore headers copies"
1239 https://bugs.webkit.org/show_bug.cgi?id=182512
1240 https://trac.webkit.org/changeset/228431
1242 2018-02-13 Don Olmstead <don.olmstead@sony.com>
1244 [CMake] Make WebCore headers copies
1245 https://bugs.webkit.org/show_bug.cgi?id=182512
1247 Reviewed by Keith Miller.
1249 * PlatformWin.cmake:
1251 2018-02-08 Per Arne Vollan <pvollan@apple.com>
1253 Move WebVideoFullscreenController from WebCore to WebKitLegacy.
1254 https://bugs.webkit.org/show_bug.cgi?id=182615
1256 Reviewed by Eric Carlson.
1258 It is only used by WK1. Also there are a few references to NSApp in WebVideoFullscreenController.mm.
1259 Ideally, we should not reference NSApp in WebCore.
1261 * WebKitLegacy.xcodeproj/project.pbxproj:
1263 2018-01-23 Alex Christensen <achristensen@webkit.org>
1265 Use CompletionHandlers for ResourceHandleClient::didReceiveResponseAsync
1266 https://bugs.webkit.org/show_bug.cgi?id=181961
1268 Reviewed by Michael Catanzaro.
1270 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1272 2018-01-16 Fujii Hironori <Hironori.Fujii@sony.com>
1274 [CMake] Remove WebCoreDerivedSources library target
1275 https://bugs.webkit.org/show_bug.cgi?id=181664
1277 Reviewed by Carlos Garcia Campos.
1279 * PlatformWin.cmake: Do not link WebCoreDerivedSources.
1281 2018-01-07 David Kilzer <ddkilzer@apple.com>
1283 Enable -Wcast-qual for WebInspectorUI, WebKitLegacy, WebKit projects
1284 <https://webkit.org/b/181256>
1285 <rdar://problem/36281730>
1287 Reviewed by Darin Adler.
1289 * PlatformMac.cmake:
1290 * WebKitLegacy.xcodeproj/project.pbxproj:
1291 - Rename WebNSDataExtras.m to WebNSDataExtras.mm and change file
1292 type to Objective-C++.
1294 2018-01-03 Ting-Wei Lan <lantw44@gmail.com>
1296 Replace hard-coded paths in shebangs with #!/usr/bin/env
1297 https://bugs.webkit.org/show_bug.cgi?id=181040
1299 Reviewed by Alex Christensen.
1301 * scripts/generate-webkitversion.pl:
1303 2017-12-28 Yusuke Suzuki <utatane.tea@gmail.com>
1305 Remove std::chrono completely
1306 https://bugs.webkit.org/show_bug.cgi?id=181186
1308 Reviewed by Alex Christensen.
1310 * Storage/WebDatabaseProvider.cpp:
1311 (WebDatabaseProvider::deleteAllDatabases):
1313 2017-12-28 Fujii Hironori <Hironori.Fujii@sony.com>
1315 [Win][CMake] Use add_custom_command to copy each forwarding header files
1316 https://bugs.webkit.org/show_bug.cgi?id=180921
1318 Reviewed by Brent Fulgham.
1320 * PlatformWin.cmake: Use WEBKIT_MAKE_FORWARDING_HEADERS.
1322 2017-12-14 Yusuke Suzuki <utatane.tea@gmail.com>
1324 Drop Thread::tryCreate
1325 https://bugs.webkit.org/show_bug.cgi?id=180808
1327 Reviewed by Darin Adler.
1329 * Storage/StorageThread.cpp:
1330 (WebCore::StorageThread::start):
1331 * Storage/StorageThread.h:
1333 2017-12-12 Yusuke Suzuki <utatane.tea@gmail.com>
1335 [WTF] Thread::create should have Thread::tryCreate
1336 https://bugs.webkit.org/show_bug.cgi?id=180333
1338 Reviewed by Darin Adler.
1340 * Storage/StorageThread.cpp:
1341 (WebCore::StorageThread::start):
1343 2017-12-05 Stephan Szabo <stephan.szabo@sony.com>
1345 Switch windows build to Visual Studio 2017
1346 https://bugs.webkit.org/show_bug.cgi?id=172412
1348 Reviewed by Per Arne Vollan.
1350 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1352 2017-11-27 Don Olmstead <don.olmstead@sony.com>
1354 [CMake][Win] Conditionally select DLL CRT or static CRT
1355 https://bugs.webkit.org/show_bug.cgi?id=170594
1357 Reviewed by Alex Christensen.
1359 * PlatformWin.cmake:
1361 2017-11-24 Fujii Hironori <Hironori.Fujii@sony.com>
1363 [WinCairo] WebPreferences IDL not regenerating
1364 https://bugs.webkit.org/show_bug.cgi?id=179960
1366 Reviewed by Darin Adler.
1368 WebKitLegacy shouldn't include the forwarding header of
1369 WebKitLegacy itself.
1371 * CMakeLists.txt: Add ${FORWARDING_HEADERS_DIR} and remove
1372 ${FORWARDING_HEADERS_DIR}/JavaScriptCore and
1373 ${FORWARDING_HEADERS_DIR}/WebKitLegacy from
1374 WebKitLegacy_INCLUDE_DIRECTORIES.
1376 2017-11-14 Alex Christensen <achristensen@webkit.org>
1378 Remove Cocoa CFURLConnection loading code
1379 https://bugs.webkit.org/show_bug.cgi?id=179688
1381 Reviewed by Antti Koivisto.
1383 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1384 (WebResourceLoadScheduler::scheduleLoad):
1386 2017-11-06 Per Arne Vollan <pvollan@apple.com>
1388 [Win] Add WebKitQuartzCoreAdditions library.
1389 https://bugs.webkit.org/show_bug.cgi?id=179331
1391 Reviewed by Alex Christensen.
1393 This library should be added to the OpenSource repository.
1397 2017-11-06 Alex Christensen <achristensen@webkit.org>
1399 Make ResourceLoader::willSendRequestInternal asynchronous
1400 https://bugs.webkit.org/show_bug.cgi?id=179251
1402 Reviewed by Andy Estes.
1404 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1405 (WebResourceLoadScheduler::loadResource):
1406 (WebResourceLoadScheduler::schedulePluginStreamLoad):
1407 * WebCoreSupport/WebResourceLoadScheduler.h:
1409 2017-11-02 Christopher Reid <chris.reid@sony.com>
1411 Add a FileSystem namespace to FileSystem.cpp
1412 https://bugs.webkit.org/show_bug.cgi?id=179063
1414 Reviewed by Darin Adler.
1416 * Storage/StorageAreaSync.cpp:
1417 * Storage/StorageSyncManager.cpp:
1418 * Storage/StorageTracker.cpp:
1420 2017-10-31 Alex Christensen <achristensen@webkit.org>
1422 Use asynchronous ResourceHandleClient calls for WebKit1
1423 https://bugs.webkit.org/show_bug.cgi?id=160677
1425 Reviewed by Brady Eidson.
1427 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1428 (WebResourceLoadScheduler::createPingHandle):
1430 2017-10-16 Ryan Haddad <ryanhaddad@apple.com>
1432 Unreviewed, rolling out r223271.
1434 This change introduced LayoutTest failures on WK1.
1438 "Use asynchronous ResourceHandleClient calls for WebKit1"
1439 https://bugs.webkit.org/show_bug.cgi?id=160677
1440 https://trac.webkit.org/changeset/223271
1442 2017-10-12 Alex Christensen <achristensen@webkit.org>
1444 Use asynchronous ResourceHandleClient calls for WebKit1
1445 https://bugs.webkit.org/show_bug.cgi?id=160677
1447 Reviewed by Brady Eidson.
1449 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1450 (WebResourceLoadScheduler::createPingHandle):
1452 2017-10-10 Sam Weinig <sam@webkit.org>
1454 Replace copyKeysToVector/copyValuesToVector with copyToVector(map.keys())/copyToVector(map.values())
1455 https://bugs.webkit.org/show_bug.cgi?id=178102
1457 Reviewed by Tim Horton.
1459 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1460 (WebResourceLoadScheduler::servePendingRequests):
1462 2017-10-09 Per Arne Vollan <pvollan@apple.com>
1464 [Win] Link error: cannot open input file 'WebKitLegacyGUID.lib'
1465 https://bugs.webkit.org/show_bug.cgi?id=178087
1467 Reviewed by Alexey Proskuryakov.
1469 For compatibility reasons, the library still has the name WebKitGUID.lib.
1471 * PlatformWin.cmake:
1473 2017-10-05 Darin Adler <darin@apple.com>
1475 Remove additional WebKitSystemInterface remnants
1476 https://bugs.webkit.org/show_bug.cgi?id=177948
1478 Reviewed by Andy Estes.
1480 * PlatformMac.cmake: Removed reference to deleted file WebSystemInterface.mm.
1482 2017-10-04 Alex Christensen <achristensen@webkit.org>
1484 Stop linking with WebKitSystemInterface
1485 https://bugs.webkit.org/show_bug.cgi?id=177915
1487 Reviewed by Antti Koivisto.
1489 * WebKitLegacy.xcodeproj/project.pbxproj:
1491 2017-10-02 Per Arne Vollan <pvollan@apple.com>
1493 [Win] Link error: cannot open file 'WebKitGUID.lib'
1494 https://bugs.webkit.org/show_bug.cgi?id=177759
1496 Reviewed by Alex Christensen.
1498 For backward compatibility reasons, this library should not be renamed from
1499 WebKitGUID.lib to WebKitLegacyGUID.lib.
1501 * PlatformWin.cmake:
1503 2017-09-29 Chris Dumez <cdumez@apple.com>
1505 http/tests/preconnect/link-rel-preconnect-https.html is flaky
1506 https://bugs.webkit.org/show_bug.cgi?id=177673
1508 Reviewed by Alex Christensen.
1510 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1511 (WebResourceLoadScheduler::preconnectTo):
1512 * WebCoreSupport/WebResourceLoadScheduler.h:
1514 2017-09-28 Chris Dumez <cdumez@apple.com>
1516 Add support for <link rel=preconnect>
1517 https://bugs.webkit.org/show_bug.cgi?id=177474
1518 <rdar://problem/33141380>
1520 Reviewed by Alex Christensen.
1522 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1523 (WebResourceLoadScheduler::preconnectTo):
1524 * WebCoreSupport/WebResourceLoadScheduler.h:
1526 2017-09-26 Per Arne Vollan <pvollan@apple.com>
1528 [Win] WebKitCOMAPI.h is not copied after build has finished.
1529 https://bugs.webkit.org/show_bug.cgi?id=177505
1531 Reviewed by Brent Fulgham.
1533 The file is located in the WebKitLegacy forwarding headers folder, not the WebKit folder.
1535 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1537 2017-09-25 Timothy Horton <timothy_horton@apple.com>
1539 Fix the macOS WebKit CMake build
1542 Before r222194, this -umbrella flag mentioned "WebKit" twice:
1543 first, the name of the target to affect; second, the name of the
1544 umbrella framework. In r222194, the targets were renamed. It turns
1545 out that a global find and replace isn't a great way to do this,
1546 because it caught the name of the umbrella framework too.
1548 Put it back; the umbrella framework will always be named "WebKit".
1550 This makes it once again possible to link WebKit (before, it was
1551 complaining about us linking directly to WebKitLegacy instead of the
1552 nonsensical WebKitLegacy umbrella framework).
1554 2017-09-25 Chris Dumez <cdumez@apple.com>
1556 Make StoredCredentials an enum class and rename its header
1557 https://bugs.webkit.org/show_bug.cgi?id=177455
1559 Reviewed by Youenn Fablet.
1561 Make StoredCredentials an enum class and rename its header for clarity. This was error-prone because 0 meant
1562 "allow" and and 1 meant "do not allow". It was trivial to convert it to a boolean by mistake and get the
1565 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1566 (WebResourceLoadScheduler::loadResourceSynchronously):
1567 * WebCoreSupport/WebResourceLoadScheduler.h:
1569 2017-09-25 Timothy Horton <timothy_horton@apple.com>
1571 Make progress on getting Mac CMake building again
1572 https://bugs.webkit.org/show_bug.cgi?id=177443
1574 Unreviewed, just "fixing" the build.
1576 * PlatformMac.cmake:
1577 Set up dependencies correctly for our mig-generated files.
1578 MAIN_DEPENDENCY is for VS, not what it sounds like.
1580 Add mig-generated files to WebKitLegacy, not WebKit (I think this was
1581 missed in the WebKit2 rename).
1583 2017-09-21 Per Arne Vollan <pvollan@apple.com>
1585 [Win] Compile error, generate-webkitversion.pl script not found.
1586 https://bugs.webkit.org/show_bug.cgi?id=177310
1588 Reviewed by Brent Fulgham.
1590 The script is located using the WebKitLegacy folder cmake variable, which needs
1591 to be set in the project file.
1593 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1595 2017-09-18 Michael Catanzaro <mcatanzaro@igalia.com>
1597 [CMake] Rename WebKit target to WebKitLegacy and rename WebKit2 target to WebKit
1598 https://bugs.webkit.org/show_bug.cgi?id=174558
1600 Reviewed by Alex Christensen.
1602 With help from Stephan Szabo, thanks!
1605 * PlatformMac.cmake:
1606 * PlatformWin.cmake:
1608 2017-09-16 Tim Horton <timothy_horton@apple.com>
1610 Fix the Tools build with CMake on macOS
1611 https://bugs.webkit.org/show_bug.cgi?id=177030
1613 Reviewed by Geoffrey Garen.
1615 * PlatformMac.cmake:
1616 Add some forwarding headers.
1618 2017-09-12 Per Arne Vollan <pvollan@apple.com>
1620 [Win] Link errors when building WebKit from .proj files.
1621 https://bugs.webkit.org/show_bug.cgi?id=176813
1623 Reviewed by Brent Fulgham.
1625 Add missing libraries to WebKit build.
1627 * PlatformWin.cmake:
1629 2017-08-31 Don Olmstead <don.olmstead@sony.com>
1631 [CMake] Make USE_CF conditional within Windows
1632 https://bugs.webkit.org/show_bug.cgi?id=176173
1634 Reviewed by Alex Christensen.
1636 * PlatformWin.cmake:
1638 2017-08-30 Andy Estes <aestes@apple.com>
1640 [Mac] Upstream Carbon-related WebKitSystemInterface functions
1641 https://bugs.webkit.org/show_bug.cgi?id=176087
1643 Reviewed by Alex Christensen.
1645 * WebKitLegacy.xcodeproj/project.pbxproj:
1647 2017-08-29 Don Olmstead <don.olmstead@sony.com>
1649 [CMake] Use find_package for zlib
1650 https://bugs.webkit.org/show_bug.cgi?id=176075
1652 Reviewed by Alex Christensen.
1654 * PlatformWin.cmake:
1656 2017-08-29 Don Olmstead <don.olmstead@sony.com>
1658 [CMake] Use find_package for libxml2 and libxstl
1659 https://bugs.webkit.org/show_bug.cgi?id=176042
1661 Reviewed by Konstantin Tokarev.
1663 * PlatformWin.cmake:
1665 2017-08-24 Don Olmstead <don.olmstead@sony.com>
1667 [CMake] Use find_package for SQLite
1668 https://bugs.webkit.org/show_bug.cgi?id=175803
1670 Reviewed by Konstantin Tokarev.
1672 * PlatformWin.cmake:
1674 2017-08-20 Chris Dumez <cdumez@apple.com>
1676 Simplify calls to LoaderStrategy::startPingLoad()
1677 https://bugs.webkit.org/show_bug.cgi?id=175756
1679 Reviewed by Sam Weinig.
1681 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1682 (WebResourceLoadScheduler::startPingLoad):
1683 * WebCoreSupport/WebResourceLoadScheduler.h:
1685 2017-08-18 Chris Dumez <cdumez@apple.com>
1687 [Beacon] Improve error reporting
1688 https://bugs.webkit.org/show_bug.cgi?id=175723
1690 Reviewed by Darin Adler.
1692 Have Ping loads such as beacons report errors via their completion handler.
1693 The Beacon API is using this error to log a console message when beacon loads
1694 fail, provided that the page is still alive.
1696 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1697 (WebResourceLoadScheduler::startPingLoad):
1698 * WebCoreSupport/WebResourceLoadScheduler.h:
1700 2017-08-18 Chris Dumez <cdumez@apple.com>
1702 [Beacon] Add support for quota limitation
1703 https://bugs.webkit.org/show_bug.cgi?id=175443
1704 <rdar://problem/33729002>
1706 Reviewed by Youenn Fablet.
1708 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1709 (WebResourceLoadScheduler::startPingLoad):
1710 * WebCoreSupport/WebResourceLoadScheduler.h:
1712 2017-08-17 Chris Dumez <cdumez@apple.com>
1714 Regression(r220817): We should only copy the original request headers for Ping loads
1715 https://bugs.webkit.org/show_bug.cgi?id=175679
1717 Reviewed by Youenn Fablet.
1719 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1720 (WebResourceLoadScheduler::createPingHandle):
1721 * WebCoreSupport/WebResourceLoadScheduler.h:
1723 2017-08-17 Don Olmstead <don.olmstead@sony.com>
1725 [PAL] Relocate SessionID to root
1726 https://bugs.webkit.org/show_bug.cgi?id=175684
1728 Reviewed by Alex Christensen.
1730 * Storage/WebDatabaseProvider.cpp:
1732 2017-08-17 Don Olmstead <don.olmstead@sony.com>
1734 [PAL] Move SessionID into PAL
1735 https://bugs.webkit.org/show_bug.cgi?id=174192
1737 Reviewed by Antti Koivisto.
1739 * Storage/WebDatabaseProvider.cpp:
1740 (WebDatabaseProvider::idbConnectionToServerForSession):
1741 * Storage/WebDatabaseProvider.h:
1743 2017-08-16 Chris Dumez <cdumez@apple.com>
1745 Cross origin Beacon requests with a ArrayBuffer / ArrayBufferView payload should not do a CORS preflight
1746 https://bugs.webkit.org/show_bug.cgi?id=175628
1747 <rdar://problem/33919278>
1749 Reviewed by Geoffrey Garen.
1751 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1752 (WebResourceLoadScheduler::createPingHandle):
1753 * WebCoreSupport/WebResourceLoadScheduler.h:
1755 2017-08-16 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com>
1757 [PAL] Move spi/ios and spi/win directories into PAL
1758 https://bugs.webkit.org/show_bug.cgi?id=175171
1760 Reviewed by Antti Koivisto.
1762 * Storage/StorageTracker.cpp:
1764 2017-08-10 Dan Bernstein <mitz@apple.com>
1766 Restored svn:ignore values that went missing when the project got renamed.
1768 * WebKitLegacy.xcodeproj: Added property svn:ignore.
1770 2017-08-10 Chris Dumez <cdumez@apple.com>
1772 [Beacon] Do connect-src CSP check on redirects as well
1773 https://bugs.webkit.org/show_bug.cgi?id=175410
1774 <rdar://problem/33815470>
1776 Reviewed by Youenn Fablet.
1778 Update createPingHandle() to take in ContentSecurityPolicy
1779 object in but no behavior change for WK1.
1781 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1782 (WebResourceLoadScheduler::createPingHandle):
1783 * WebCoreSupport/WebResourceLoadScheduler.h:
1785 2017-08-08 Chris Dumez <cdumez@apple.com>
1787 [Beacon] Add support for CORS-preflighting for WK2 / NETWORK_SESSION
1788 https://bugs.webkit.org/show_bug.cgi?id=175264
1789 <rdar://problem/33547793>
1791 Reviewed by Youenn Fablet.
1793 createPingHandle() now takes new parameters but there is currently no behavior
1796 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1797 (WebResourceLoadScheduler::createPingHandle):
1798 * WebCoreSupport/WebResourceLoadScheduler.h:
1800 2017-08-03 Per Arne Vollan <pvollan@apple.com>
1802 [Win] WebKit COM header file is not placed in the correct location.
1803 https://bugs.webkit.org/show_bug.cgi?id=175101
1805 Reviewed by Brent Fulgham.
1807 After the transition to WebKitLegacy, the generated WebKit header files should still
1808 be placed in the WebKit folder, so WebKit clients will find the header files in the
1811 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1813 2017-08-02 Matthew Hanson <matthew_hanson@apple.com>
1815 Build-fix for Windows in Visual Studio after directory rename.
1817 Reviewed by Per Arne Vollan.
1819 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1820 We still build WebKit.dll, not WebKitLegacy.dll.
1822 2017-07-31 Sam Weinig <sam@webkit.org>
1824 Remove unnecessary exceptions from storage code
1825 https://bugs.webkit.org/show_bug.cgi?id=174572
1827 Reviewed by Chris Dumez.
1829 * Storage/StorageAreaImpl.cpp:
1830 (WebKit::StorageAreaImpl::canAccessStorage): Deleted.
1831 * Storage/StorageAreaImpl.h:
1832 Remove canAccessStorage. It is no longer called.
1834 2017-07-14 Filip Pizlo <fpizlo@apple.com>
1836 It should be easy to decide how WebKit yields
1837 https://bugs.webkit.org/show_bug.cgi?id=174298
1839 Reviewed by Saam Barati.
1841 * Storage/StorageTracker.h:
1843 2017-07-21 Konstantin Tokarev <annulen@yandex.ru>
1845 Unreviewed, fix Mac cmake build after r219733
1847 * PlatformMac.cmake:
1849 2017-07-21 Konstantin Tokarev <annulen@yandex.ru>
1851 [cmake][Mac] Unreviewed, fix linking WebKitSystemInterface
1853 After r219560 link_directories() in PlatformXXX.cmake files does not
1854 affect corresponding targets.
1856 * PlatformMac.cmake:
1858 2017-07-21 Brady Eidson <beidson@apple.com>
1860 Get rid of WebCore IconDatabase code.
1861 https://bugs.webkit.org/show_bug.cgi?id=174700
1863 Reviewed by Tim Horton.
1865 * WebKitLegacy.xcodeproj/project.pbxproj:
1867 2017-07-17 Konstantin Tokarev <annulen@yandex.ru>
1869 [cmake] Set library types before their targets are created
1870 https://bugs.webkit.org/show_bug.cgi?id=174600
1872 Reviewed by Michael Catanzaro.
1874 Since r219560 library targets are created before PlatformXXX.cmake
1875 files are processed, however library type must be passed in
1876 add_library() call and cannot be changed afterwards. Set these
1877 variables in OptionsXXX.cmake.
1879 * PlatformMac.cmake:
1880 * PlatformWin.cmake:
1882 2017-07-17 Darin Adler <darin@apple.com>
1884 Improve use of NeverDestroyed
1885 https://bugs.webkit.org/show_bug.cgi?id=174348
1887 Reviewed by Sam Weinig.
1889 * Storage/StorageThread.cpp:
1890 (WebCore::StorageThread::releaseFastMallocFreeMemoryInAllThreads):
1891 Simplify code by using a modern for loop and passing a function without wrapping
1894 2017-07-17 Michael Catanzaro <mcatanzaro@igalia.com>
1896 [CMake] Macros in WebKitMacros.cmake should be prefixed with WEBKIT_ namespace
1897 https://bugs.webkit.org/show_bug.cgi?id=174547
1899 Reviewed by Alex Christensen.
1903 2017-07-17 Konstantin Tokarev <annulen@yandex.ru>
1905 [CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
1906 https://bugs.webkit.org/show_bug.cgi?id=174557
1908 Reviewed by Michael Catanzaro.
1912 2017-07-14 Jonathan Bedard <jbedard@apple.com>
1915 https://bugs.webkit.org/show_bug.cgi?id=174430
1916 <rdar://problem/33269288>
1918 Reviewed by Tim Horton.
1920 * Storage/StorageTracker.cpp: sqlite3_private.h no longer exists in the iOS
1921 Simulator SDK, explicitly define the required macro.
1923 2017-07-13 Dan Bernstein <mitz@apple.com>
1925 Removed empty project directories left behind after the rename
1927 * WebKit.vcxproj: Removed.
1928 * WebKit.xcodeproj: Removed.
1930 2017-07-05 Matthew Hanson <matthew_hanson@apple.com>
1932 Update the Visual Studio project name from WebKit to WebKitLegacy.
1933 https://bugs.webkit.org/show_bug.cgi?id=174162
1934 rdar://problem/33137594
1936 Reviewed by Dan Bernstein.
1938 Rename WebKit to WebKitLegacy.
1940 * WebKitLegacy.vcxproj/WebKitLegacy.proj: Renamed from Source/WebKitLegacy/WebKit.vcxproj/WebKit.proj.
1942 2017-07-05 Matthew Hanson <matthew_hanson@apple.com>
1944 Update the Xcode project name from WebKit to WebKitLegacy.
1945 https://bugs.webkit.org/show_bug.cgi?id=174162
1946 rdar://problem/33137594
1948 Reviewed by Dan Bernstein.
1950 Rename WebKit to WebKitLegacy.
1952 * WebKitLegacy.xcodeproj/project.pbxproj: Renamed from Source/WebKitLegacy/WebKit.xcodeproj/project.pbxproj.
1954 2017-07-10 Per Arne Vollan <pvollan@apple.com>
1956 [Win] Link error when building WTF from WTF.proj project file.
1957 https://bugs.webkit.org/show_bug.cgi?id=174316
1958 <rdar://problem/33178200>
1960 Reviewed by Brent Fulgham.
1962 WTF_CPU_X86 cmake variable needs to be set for link libraries directories to be correct.
1964 * WebKit.vcxproj/WebKit.proj:
1966 2017-07-05 Don Olmstead <don.olmstead@sony.com>
1968 [WinCairo] Consolidate CMake code related to CURL
1969 https://bugs.webkit.org/show_bug.cgi?id=170860
1971 Reviewed by Alex Christensen.
1973 * PlatformWin.cmake:
1975 2017-06-26 Yusuke Suzuki <utatane.tea@gmail.com>
1977 [WTF] Drop Thread::create(obsolete things) API since we can use lambda
1978 https://bugs.webkit.org/show_bug.cgi?id=173825
1980 Reviewed by Saam Barati.
1982 * Storage/StorageThread.cpp:
1983 (WebCore::StorageThread::start):
1984 (WebCore::StorageThread::threadEntryPointCallback): Deleted.
1985 * Storage/StorageThread.h:
1987 2017-06-16 Alex Christensen <achristensen@webkit.org>
1989 Fix Visual Studio 2017 64-bit build after r218258
1990 https://bugs.webkit.org/show_bug.cgi?id=173308
1992 * PlatformWin.cmake:
1993 We still need the enable_language(ASM_MASM) even if we explicitly call ml64 with VS2017.
1994 Otherwise CMake complains about a missing variable CMAKE_ASM_MASM_COMPILE_OBJECT.
1996 2017-06-14 Fujii Hironori <Hironori.Fujii@sony.com>
1998 [Win64] Fails to build Asm.lib (PaintHooks.asm) since Bug 173132
1999 https://bugs.webkit.org/show_bug.cgi?id=173308
2001 Reviewed by Alex Christensen.
2003 Use the same method to process asm file as well as JSC does (Bug 170833).
2005 * PlatformWin.cmake: Use add_custom_command to assemble PaintHooks.asm.
2007 2017-06-09 Per Arne Vollan <pvollan@apple.com>
2009 [Win64] Build error when compiling PaintHooks.asm.
2010 https://bugs.webkit.org/show_bug.cgi?id=173132
2012 Reviewed by Brent Fulgham.
2014 There seems to be too many include paths on the command line for ml64. According to the documentation,
2015 a maximum of 10 /I options is allowed. Create a separate static library for asm files, in order to
2016 avoid all the include paths.
2018 * PlatformWin.cmake:
2020 2017-06-06 Yoav Weiss <yoav@yoav.ws>
2022 [preload] Conditional support for media preloading and align media `as` values.
2023 https://bugs.webkit.org/show_bug.cgi?id=172501
2025 Reviewed by Dean Jackson.
2027 Add media preloading preference and hook it up to runtime enabled features.
2029 * mac/WebView/WebPreferenceKeysPrivate.h: Added a media preloading preference.
2030 * mac/WebView/WebPreferences.mm:
2031 (WebKit::WebPreferences::setMediaPreloadingEnabled):
2032 (WebKit::WebPreferences::mediaPreloadingEnabled):
2033 * mac/WebView/WebPreferencesPrivate.h:
2034 (WebKit::WebPreferences::setMediaPreloadingEnabled):
2035 (WebKit::WebPreferences::mediaPreloadingEnabled):
2036 * mac/WebView/WebView.mm: Set runtime enabled feature based on preference.
2037 * win/Interfaces/IWebPreferencesPrivate.idl: define mediaPreloadEnabled and setMediaPreloadingEnabled
2038 * win/WebPreferences.cpp: Initialize media preloading as false and define setter and getter.
2039 (WebKit::WebPreferences::setMediaPreloadingEnabled):
2040 (WebKit::WebPreferences::mediaPreloadingEnabled):
2041 * win/WebPreferences.h:
2042 * win/WebPreferenceKeysPrivate.h:
2043 * win/WebView.cpp: Set runtime enabled feature based on preference.
2045 2017-05-22 Don Olmstead <don.olmstead@am.sony.com>
2047 [Win][CMake] Move MSVC compiler options to a common location
2048 https://bugs.webkit.org/show_bug.cgi?id=172230
2050 Reviewed by Yusuke Suzuki.
2052 * PlatformWin.cmake:
2054 2017-04-20 Konstantin Tokarev <annulen@yandex.ru>
2056 [cmake] Define FORWARDING_HEADERS_DIR in WebKitFS and use it everywhere
2057 https://bugs.webkit.org/show_bug.cgi?id=171071
2059 Reviewed by Michael Catanzaro.
2061 "${DERIVED_SOURCES_DIR}/ForwardingHeaders" path occurs very often in the
2062 build system files. GTK-specifc FORWARDING_HEADERS_DIR variable should
2063 be available for all ports.
2066 * PlatformMac.cmake:
2067 * PlatformWin.cmake:
2069 2017-04-12 Brady Eidson <beidson@apple.com>
2071 QuotaExceededError when saving to localStorage in private mode.
2072 https://bugs.webkit.org/show_bug.cgi?id=157010
2074 Reviewed by Alex Christensen.
2076 * Storage/StorageNamespaceImpl.cpp:
2077 (WebKit::StorageNamespaceImpl::createEphemeralLocalStorageNamespace):
2078 (WebKit::StorageNamespaceImpl::StorageNamespaceImpl):
2079 (WebKit::StorageNamespaceImpl::~StorageNamespaceImpl):
2080 (WebKit::StorageNamespaceImpl::copy):
2081 (WebKit::StorageNamespaceImpl::close):
2082 * Storage/StorageNamespaceImpl.h:
2084 * Storage/WebStorageNamespaceProvider.cpp:
2085 (WebKit::WebStorageNamespaceProvider::createEphemeralLocalStorageNamespace):
2086 * Storage/WebStorageNamespaceProvider.h:
2088 2017-04-12 Yusuke Suzuki <utatane.tea@gmail.com>
2090 [WTF] Introduce Thread class and use RefPtr<Thread> and align Windows Threading implementation semantics to Pthread one
2091 https://bugs.webkit.org/show_bug.cgi?id=170502
2093 Reviewed by Mark Lam.
2095 Mechanical change. Use Thread:: APIs.
2097 * Storage/StorageThread.cpp:
2098 (WebCore::StorageThread::StorageThread):
2099 (WebCore::StorageThread::~StorageThread):
2100 (WebCore::StorageThread::start):
2101 (WebCore::StorageThread::dispatch):
2102 (WebCore::StorageThread::terminate):
2103 * Storage/StorageThread.h:
2105 2017-04-10 Chris Dumez <cdumez@apple.com>
2107 Drop Timer::startOneShot() overload taking a double
2108 https://bugs.webkit.org/show_bug.cgi?id=170659
2110 Reviewed by Yusuke Suzuki.
2112 Drop Timer::startOneShot() overload taking a double as people should use Seconds type now.
2114 * Storage/StorageAreaSync.cpp:
2115 * Storage/StorageTracker.cpp:
2116 (WebKit::StorageTracker::StorageTracker):
2117 * Storage/StorageTracker.h:
2118 (WebKit::StorageTracker::storageDatabaseIdleInterval):
2119 (WebKit::StorageTracker::setStorageDatabaseIdleInterval):
2121 2017-04-09 Chris Dumez <cdumez@apple.com>
2123 Start dropping Timer API dealing with double
2124 https://bugs.webkit.org/show_bug.cgi?id=170649
2126 Reviewed by Yusuke Suzuki.
2128 Start dropping Timer API dealing with double as people should use Seconds now.
2130 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2131 (WebResourceLoadScheduler::scheduleServePendingRequests):
2133 2017-04-06 Joseph Pecoraro <pecoraro@apple.com>
2135 Web Inspector: Only Capture Extra Network Load Metrics when there is a Web Inspector Frontend
2136 https://bugs.webkit.org/show_bug.cgi?id=170525
2138 Reviewed by Youenn Fablet.
2140 * WebCoreSupport/WebResourceLoadScheduler.h:
2142 2017-04-05 Fujii Hironori <Hironori.Fujii@sony.com>
2144 [WinCairo] Invalid address specified to RtlValidateHeap at std::ctype<char>::_Tidy() when finishing MiniBrowser
2145 https://bugs.webkit.org/show_bug.cgi?id=157067
2147 Reviewed by Per Arne Vollan.
2149 WebKit is compiled with /MT switch to use static CRT on Windows.
2150 But, WinCairo port does not link the static CRT by specifying
2151 /NODEFAULTLIB:LIBCMT and /NODEFAULTLIB:LIBCMTD switches.
2152 Eventually, a dynamically linked CRT is linked. This causes
2153 potential heap corruption.
2155 * PlatformWin.cmake: Do not set /NODEFAULTLIB:LIBCMT and
2156 /NODEFAULTLIB:LIBCMTD, but /NODEFAULTLIB:MSVCRT and
2157 /NODEFAULTLIB:MSVCRTD as well as AppleWin port does
2159 2017-03-31 Brady Eidson <beidson@apple.com>
2161 Clean up the "StorageType" enum.
2162 https://bugs.webkit.org/show_bug.cgi?id=170349
2164 Reviewed by Tim Horton.
2166 * Storage/StorageAreaImpl.cpp:
2167 (WebKit::StorageAreaImpl::dispatchStorageEvent):
2169 * Storage/StorageNamespaceImpl.cpp:
2170 (WebKit::StorageNamespaceImpl::createSessionStorageNamespace):
2171 (WebKit::StorageNamespaceImpl::getOrCreateLocalStorageNamespace):
2172 (WebKit::StorageNamespaceImpl::StorageNamespaceImpl):
2173 (WebKit::StorageNamespaceImpl::~StorageNamespaceImpl):
2174 (WebKit::StorageNamespaceImpl::copy):
2175 (WebKit::StorageNamespaceImpl::close):
2177 2017-03-27 JF Bastien <jfbastien@apple.com>
2179 make build fix for WebDefaultUIDelegate.m
2180 https://bugs.webkit.org/show_bug.cgi?id=170163
2182 Unreviewed build fix.
2184 * PlatformMac.cmake: WebDefaultUIDelegate.m was renamed
2186 2017-03-24 Wenson Hsieh <wenson_hsieh@apple.com>
2188 [WK2] Add a UI delegate SPI hook to enable or disable navigation on drop
2189 https://bugs.webkit.org/show_bug.cgi?id=169168
2190 <rdar://problem/30688374>
2192 Reviewed by Tim Horton.
2194 See WebKit ChangeLog for more details. Renames WebDefaultUIDelegate.m => WebDefaultUIDelegate.mm.
2196 * WebKit.xcodeproj/project.pbxproj:
2198 2017-03-20 Dan Bernstein <mitz@apple.com>
2200 [Xcode] Incremental builds of WebKitLegacy are slow because of the Postprocess Headers phase
2201 https://bugs.webkit.org/show_bug.cgi?id=169861
2203 Reviewed by Sam Weinig.
2205 * WebKit.xcodeproj/project.pbxproj: Specified that the Postprocess Headers script build
2206 phase has the Headers and PrivateHeaders directories as its inputs and a timestamp file as
2209 2017-03-15 Dean Jackson <dino@apple.com>
2211 Sort Xcode project files
2212 https://bugs.webkit.org/show_bug.cgi?id=169669
2214 Reviewed by Antoine Quint.
2216 * WebKit.xcodeproj/project.pbxproj:
2218 2017-02-27 Aakash Jain <aakash_jain@apple.com>
2220 Enable SUPPORTS_TEXT_BASED_API in WebKitLegacy for iOS
2221 https://bugs.webkit.org/show_bug.cgi?id=168919
2223 Reviewed by Tim Horton.
2225 * WebKit.xcodeproj/project.pbxproj: Run scripts which are run for installhdrs phase for installapi phase as well.
2227 2017-02-22 Aakash Jain <aakash_jain@apple.com>
2229 Export Objective-C symbols for variables in Webkit SPI
2230 https://bugs.webkit.org/show_bug.cgi?id=168758
2232 Reviewed by Alexey Proskuryakov.
2234 * WebKit.xcodeproj/project.pbxproj: Generating separate .exp file for i386 without _OBJC_IVAR symbols.
2236 2017-02-21 Aakash Jain <aakash_jain@apple.com>
2238 Make WebKitStatisticsPrivate.h project header
2239 https://bugs.webkit.org/show_bug.cgi?id=168686
2241 Reviewed by Alexey Proskuryakov.
2243 * WebKit.xcodeproj/project.pbxproj:
2245 2017-02-21 Commit Queue <commit-queue@webkit.org>
2247 Unreviewed, rolling out r212768.
2248 https://bugs.webkit.org/show_bug.cgi?id=168698
2250 Rolling out since this would break other projects. (Requested
2251 by aakashjain on #webkit).
2255 "[iOS] Remove old WebKit1 MemoryMeasure helper."
2256 https://bugs.webkit.org/show_bug.cgi?id=168675
2257 http://trac.webkit.org/changeset/212768
2259 2017-02-21 Andreas Kling <akling@apple.com>
2261 [iOS] Remove old WebKit1 MemoryMeasure helper.
2262 <https://webkit.org/b/168675>
2264 Reviewed by Sam Weinig.
2266 * WebKit.xcodeproj/project.pbxproj:
2268 2017-02-21 JF Bastien <jfbastien@apple.com>
2271 https://bugs.webkit.org/show_bug.cgi?id=168665
2273 Reviewed by Mark Lam.
2275 It was broken by r212555 and r212681.
2277 * PlatformMac.cmake:
2279 2017-02-20 Alexey Proskuryakov <ap@apple.com>
2281 List of WebCore symbols to re-export from WebKitLegacy should be built automatically
2282 https://bugs.webkit.org/show_bug.cgi?id=168342
2283 rdar://problem/26182266
2285 Reviewed by Tim Horton.
2287 * WebKit.xcodeproj/project.pbxproj: Append ReexportedWebCoreSymbols_${CURRENT_ARCH}.exp
2288 to WebKitLegacy.generated.exp if it exists. Added it to build phase inputs for
2289 dependency tracking.
2291 2017-02-20 Alexey Proskuryakov <ap@apple.com>
2293 Clean up how WebKit exports _WebCreateFragment
2294 https://bugs.webkit.org/show_bug.cgi?id=168579
2296 Reviewed by Dan Bernstein.
2298 * WebKit.xcodeproj/project.pbxproj: Added WebCreateFragmentInternal.h.
2300 2017-02-15 Brady Eidson <beidson@apple.com>
2302 Stop backing up localStorage databases to iCloud by default.
2303 <rdar://problem/29045531> and https://bugs.webkit.org/show_bug.cgi?id=168388
2305 Reviewed by Geoffrey Garen.
2307 * WebKit.xcodeproj/project.pbxproj:
2309 2017-02-15 Aakash Jain <aakash_jain@apple.com>
2311 revert DOMTextEvent.h and DOMHTMLCanvasElement.h to private header
2312 https://bugs.webkit.org/show_bug.cgi?id=168393
2314 Reviewed by Dan Bernstein.
2316 Reverting a seemingly accidental change from r204717.
2318 * WebKit.xcodeproj/project.pbxproj:
2320 2017-02-09 Alex Christensen <achristensen@webkit.org>
2324 * PlatformMac.cmake:
2326 2017-02-07 Alexey Proskuryakov <ap@apple.com>
2328 Don't migrate WebKit DOM headers in MigrateHeaders.make
2329 https://bugs.webkit.org/show_bug.cgi?id=167608
2331 Reviewed by Darin Adler.
2333 Stop migrating DOM headers that are now in WebKit.
2335 * WebKit.xcodeproj/project.pbxproj: Marked DOM headers as private, so that Xcode
2336 takes care of making them available as SPI.
2338 2017-02-02 Yongjun Zhang <yongjun_zhang@apple.com>
2340 In iOS, we should take background assertion when accessing localstorage databases.
2341 https://bugs.webkit.org/show_bug.cgi?id=165478
2343 Reviewed by Brady Eidson.
2345 * WebKit.xcodeproj/project.pbxproj: Moved WebSQLiteDatabaseTrackerClient to WebCore.
2347 2017-01-17 Antti Koivisto <antti@apple.com>
2349 Persist derived data
2350 https://bugs.webkit.org/show_bug.cgi?id=167136
2352 Reviewed by Andreas Kling.
2354 * WebCoreSupport/WebResourceLoadScheduler.h:
2356 2017-01-05 Per Arne Vollan <pvollan@apple.com>
2358 [Win] Compile error.
2359 https://bugs.webkit.org/show_bug.cgi?id=166726
2365 2016-12-22 Andy Estes <aestes@apple.com>
2367 Reduce QuickLook.h include overhead
2368 https://bugs.webkit.org/show_bug.cgi?id=166454
2370 Reviewed by Andreas Kling.
2372 * WebCoreSupport/WebResourceLoadScheduler.cpp: Stopped including QuickLook.h.
2374 2016-12-15 Myles C. Maxfield <mmaxfield@apple.com>
2376 Sort Xcode project files
2377 https://bugs.webkit.org/show_bug.cgi?id=165937
2379 Reviewed by Simon Fraser.
2381 * WebKit.xcodeproj/project.pbxproj:
2383 2016-12-10 Konstantin Tokarev <annulen@yandex.ru>
2385 Unreviewed attempt to fix cmake build of Mac port after r209665.
2387 * PlatformMac.cmake: Avoid using relative path in
2388 WebKit_INCLUDE_DIRECTORIES.
2390 2016-12-10 Konstantin Tokarev <annulen@yandex.ru>
2392 [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them
2393 https://bugs.webkit.org/show_bug.cgi?id=165686
2395 Reviewed by Michael Catanzaro.
2397 This change reduces duplication of include path lists between modules,
2398 and reduces future need for fixes like r209605 (broken build because of
2399 WebCore header suddenly becoming used in WebKit2).
2402 * PlatformMac.cmake:
2403 * PlatformWin.cmake:
2405 2016-12-05 Csaba Osztrogonác <ossy@webkit.org>
2407 Unreviewed cmake buildfix after r209252.
2409 * PlatformMac.cmake:
2411 2016-12-02 Chris Dumez <cdumez@apple.com>
2413 [Mac][WK1] Implement new HTML interactive form validation user interface
2414 https://bugs.webkit.org/show_bug.cgi?id=164483
2416 Reviewed by Simon Fraser.
2418 Add new files to xcode project.
2420 * WebKit.xcodeproj/project.pbxproj:
2422 2016-11-17 Yusuke Suzuki <utatane.tea@gmail.com>
2424 [JSC] WTF::TemporaryChange with WTF::SetForScope
2425 https://bugs.webkit.org/show_bug.cgi?id=164761
2427 Reviewed by Saam Barati.
2429 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2431 2016-11-14 Alex Christensen <achristensen@webkit.org>
2433 Move SecurityOrigin::createFromDatabaseIdentifier to SecurityOriginData
2434 https://bugs.webkit.org/show_bug.cgi?id=164720
2436 Reviewed by Brady Eidson.
2438 * Storage/StorageAreaImpl.cpp:
2439 (WebKit::StorageAreaImpl::StorageAreaImpl):
2440 (WebKit::StorageAreaImpl::create):
2441 (WebKit::StorageAreaImpl::dispatchStorageEvent):
2442 * Storage/StorageAreaImpl.h:
2443 * Storage/StorageNamespaceImpl.cpp:
2444 (WebKit::StorageNamespaceImpl::storageArea):
2445 (WebKit::StorageNamespaceImpl::clearOriginForDeletion):
2446 * Storage/StorageNamespaceImpl.h:
2447 * Storage/StorageTracker.cpp:
2448 (WebKit::StorageTracker::origins):
2449 (WebKit::StorageTracker::deleteOriginWithIdentifier):
2450 (WebKit::StorageTracker::deleteOrigin):
2451 * Storage/StorageTracker.h:
2452 * Storage/WebStorageNamespaceProvider.cpp:
2453 (WebKit::WebStorageNamespaceProvider::clearLocalStorageForOrigin):
2454 * Storage/WebStorageNamespaceProvider.h:
2456 2016-11-11 Wenson Hsieh <wenson_hsieh@apple.com>
2458 [WK2] autocorrect and autocapitalize attributes do not work in contenteditable elements
2459 https://bugs.webkit.org/show_bug.cgi?id=164538
2460 <rdar://problem/8418711>
2462 Reviewed by Ryosuke Niwa.
2464 Introduce WebAutocapitalizeTypes.h to WebKit.
2466 * WebKit.xcodeproj/project.pbxproj:
2468 2016-11-10 Alex Christensen <achristensen@webkit.org>
2470 Move SecurityOrigin::databaseIdentifier() to SecurityOriginData
2471 https://bugs.webkit.org/show_bug.cgi?id=164573
2473 Reviewed by Brady Eidson.
2475 * Storage/StorageAreaImpl.cpp:
2476 (WebKit::StorageAreaImpl::create):
2477 * Storage/StorageTracker.cpp:
2478 (WebKit::StorageTracker::deleteOrigin):
2479 (WebKit::StorageTracker::diskUsageForOrigin):
2481 2016-11-09 Alex Christensen <achristensen@webkit.org>
2483 Clean up Storage code
2484 https://bugs.webkit.org/show_bug.cgi?id=164562
2486 Reviewed by Brady Eidson.
2488 Some classes were in WebCore namespace instead of WebKit.
2490 * Storage/StorageAreaImpl.cpp:
2491 (WebKit::StorageAreaImpl::StorageAreaImpl):
2492 (WebKit::StorageAreaImpl::create):
2493 (WebKit::StorageAreaImpl::copy):
2494 (WebCore::StorageAreaImpl::~StorageAreaImpl): Deleted.
2495 (WebCore::StorageAreaImpl::StorageAreaImpl): Deleted.
2496 (WebCore::StorageAreaImpl::create): Deleted.
2497 (WebCore::StorageAreaImpl::copy): Deleted.
2498 (WebCore::StorageAreaImpl::canAccessStorage): Deleted.
2499 (WebCore::StorageAreaImpl::storageType): Deleted.
2500 (WebCore::StorageAreaImpl::length): Deleted.
2501 (WebCore::StorageAreaImpl::key): Deleted.
2502 (WebCore::StorageAreaImpl::item): Deleted.
2503 (WebCore::StorageAreaImpl::setItem): Deleted.
2504 (WebCore::StorageAreaImpl::removeItem): Deleted.
2505 (WebCore::StorageAreaImpl::clear): Deleted.
2506 (WebCore::StorageAreaImpl::contains): Deleted.
2507 (WebCore::StorageAreaImpl::importItems): Deleted.
2508 (WebCore::StorageAreaImpl::close): Deleted.
2509 (WebCore::StorageAreaImpl::clearForOriginDeletion): Deleted.
2510 (WebCore::StorageAreaImpl::sync): Deleted.
2511 (WebCore::StorageAreaImpl::blockUntilImportComplete): Deleted.
2512 (WebCore::StorageAreaImpl::memoryBytesUsedByCache): Deleted.
2513 (WebCore::StorageAreaImpl::incrementAccessCount): Deleted.
2514 (WebCore::StorageAreaImpl::decrementAccessCount): Deleted.
2515 (WebCore::StorageAreaImpl::closeDatabaseTimerFired): Deleted.
2516 (WebCore::StorageAreaImpl::closeDatabaseIfIdle): Deleted.
2517 (WebCore::StorageAreaImpl::dispatchStorageEvent): Deleted.
2518 * Storage/StorageAreaImpl.h:
2519 * Storage/StorageAreaSync.cpp:
2520 (WebKit::StorageAreaSync::StorageAreaSync):
2521 (WebKit::StorageAreaSync::create):
2522 (WebCore::StorageAreaSync::StorageAreaSync): Deleted.
2523 (WebCore::StorageAreaSync::create): Deleted.
2524 (WebCore::StorageAreaSync::~StorageAreaSync): Deleted.
2525 (WebCore::StorageAreaSync::scheduleFinalSync): Deleted.
2526 (WebCore::StorageAreaSync::scheduleItemForSync): Deleted.
2527 (WebCore::StorageAreaSync::scheduleClear): Deleted.
2528 (WebCore::StorageAreaSync::scheduleCloseDatabase): Deleted.
2529 (WebCore::StorageAreaSync::syncTimerFired): Deleted.
2530 (WebCore::StorageAreaSync::openDatabase): Deleted.
2531 (WebCore::StorageAreaSync::migrateItemTableIfNeeded): Deleted.
2532 (WebCore::StorageAreaSync::performImport): Deleted.
2533 (WebCore::StorageAreaSync::markImported): Deleted.
2534 (WebCore::StorageAreaSync::blockUntilImportComplete): Deleted.
2535 (WebCore::StorageAreaSync::sync): Deleted.
2536 (WebCore::StorageAreaSync::performSync): Deleted.
2537 (WebCore::StorageAreaSync::deleteEmptyDatabase): Deleted.
2538 (WebCore::StorageAreaSync::scheduleSync): Deleted.
2539 * Storage/StorageAreaSync.h:
2540 * Storage/StorageNamespaceImpl.cpp:
2541 (WebKit::StorageNamespaceImpl::createSessionStorageNamespace):
2542 (WebKit::StorageNamespaceImpl::getOrCreateLocalStorageNamespace):
2543 (WebKit::StorageNamespaceImpl::storageArea):
2544 (WebCore::localStorageNamespaceMap): Deleted.
2545 (WebCore::StorageNamespaceImpl::createSessionStorageNamespace): Deleted.
2546 (WebCore::StorageNamespaceImpl::getOrCreateLocalStorageNamespace): Deleted.
2547 (WebCore::StorageNamespaceImpl::StorageNamespaceImpl): Deleted.
2548 (WebCore::StorageNamespaceImpl::~StorageNamespaceImpl): Deleted.
2549 (WebCore::StorageNamespaceImpl::copy): Deleted.
2550 (WebCore::StorageNamespaceImpl::storageArea): Deleted.
2551 (WebCore::StorageNamespaceImpl::close): Deleted.
2552 (WebCore::StorageNamespaceImpl::clearOriginForDeletion): Deleted.
2553 (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion): Deleted.
2554 (WebCore::StorageNamespaceImpl::sync): Deleted.
2555 (WebCore::StorageNamespaceImpl::closeIdleLocalStorageDatabases): Deleted.
2556 * Storage/StorageNamespaceImpl.h:
2557 * Storage/StorageTracker.cpp:
2558 (WebCore::StorageTracker::initializeTracker): Deleted.
2559 (WebCore::StorageTracker::internalInitialize): Deleted.
2560 (WebCore::StorageTracker::tracker): Deleted.
2561 (WebCore::StorageTracker::StorageTracker): Deleted.
2562 (WebCore::StorageTracker::setDatabaseDirectoryPath): Deleted.
2563 (WebCore::StorageTracker::databaseDirectoryPath): Deleted.
2564 (WebCore::StorageTracker::trackerDatabasePath): Deleted.
2565 (WebCore::ensureDatabaseFileExists): Deleted.
2566 (WebCore::StorageTracker::openTrackerDatabase): Deleted.
2567 (WebCore::StorageTracker::importOriginIdentifiers): Deleted.
2568 (WebCore::StorageTracker::finishedImportingOriginIdentifiers): Deleted.
2569 (WebCore::StorageTracker::syncImportOriginIdentifiers): Deleted.
2570 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase): Deleted.
2571 (WebCore::StorageTracker::setOriginDetails): Deleted.
2572 (WebCore::StorageTracker::syncSetOriginDetails): Deleted.
2573 (WebCore::StorageTracker::origins): Deleted.
2574 (WebCore::StorageTracker::deleteAllOrigins): Deleted.
2575 (WebCore::truncateDatabaseFile): Deleted.
2576 (WebCore::StorageTracker::syncDeleteAllOrigins): Deleted.
2577 (WebCore::StorageTracker::deleteOriginWithIdentifier): Deleted.
2578 (WebCore::StorageTracker::deleteOrigin): Deleted.
2579 (WebCore::StorageTracker::syncDeleteOrigin): Deleted.
2580 (WebCore::StorageTracker::willDeleteAllOrigins): Deleted.
2581 (WebCore::StorageTracker::willDeleteOrigin): Deleted.
2582 (WebCore::StorageTracker::canDeleteOrigin): Deleted.
2583 (WebCore::StorageTracker::cancelDeletingOrigin): Deleted.
2584 (WebCore::StorageTracker::isActive): Deleted.
2585 (WebCore::StorageTracker::setIsActive): Deleted.
2586 (WebCore::StorageTracker::databasePathForOrigin): Deleted.
2587 (WebCore::StorageTracker::diskUsageForOrigin): Deleted.
2588 * Storage/StorageTracker.h:
2589 (WebCore::StorageTracker::storageDatabaseIdleInterval): Deleted.
2590 (WebCore::StorageTracker::setStorageDatabaseIdleInterval): Deleted.
2591 * Storage/WebStorageNamespaceProvider.cpp:
2592 (storageNamespaceProviders): Deleted.
2593 (WebStorageNamespaceProvider::create): Deleted.
2594 (WebStorageNamespaceProvider::WebStorageNamespaceProvider): Deleted.
2595 (WebStorageNamespaceProvider::~WebStorageNamespaceProvider): Deleted.
2596 (WebStorageNamespaceProvider::closeLocalStorage): Deleted.
2597 (WebStorageNamespaceProvider::clearLocalStorageForAllOrigins): Deleted.
2598 (WebStorageNamespaceProvider::clearLocalStorageForOrigin): Deleted.
2599 (WebStorageNamespaceProvider::closeIdleLocalStorageDatabases): Deleted.
2600 (WebStorageNamespaceProvider::syncLocalStorage): Deleted.
2601 (WebStorageNamespaceProvider::createSessionStorageNamespace): Deleted.
2602 (WebStorageNamespaceProvider::createLocalStorageNamespace): Deleted.
2603 (WebStorageNamespaceProvider::createTransientLocalStorageNamespace): Deleted.
2604 * Storage/WebStorageNamespaceProvider.h:
2605 * WebCoreSupport/WebResourceLoadScheduler.h:
2606 * WebCoreSupport/WebViewGroup.cpp:
2607 (WebViewGroup::storageNamespaceProvider):
2609 2016-11-02 Per Arne Vollan <pvollan@apple.com>
2611 [Win] Copy build results to AAS 'Program Files' folder.
2612 https://bugs.webkit.org/show_bug.cgi?id=164273
2614 Reviewed by Brent Fulgham.
2616 The preferred location for the binaries is the AAS 'Program Files' folder.
2618 * WebKit.vcxproj/WebKit.proj:
2620 2016-10-25 Konstantin Tokarev <annulen@yandex.ru>
2622 [cmake] Check if jscLib and WebKitGUID targets exist before using them
2623 https://bugs.webkit.org/show_bug.cgi?id=163945
2625 Reviewed by Alex Christensen.
2627 Currently these targets are used under WIN32 condition, however they
2628 are defined in PlatformWin.cmake, causing CMake warnings if port
2629 supports WIN32 but does not use PlatformWin.cmake
2633 2016-10-24 Per Arne Vollan <pvollan@apple.com>
2635 [Win] CMake build type is not set.
2636 https://bugs.webkit.org/show_bug.cgi?id=163917
2638 Reviewed by Alex Christensen.
2640 The CMAKE_BUILD_TYPE variable should be set to Debug or Release.
2642 * WebKit.vcxproj/WebKit.proj:
2644 2016-10-19 Alex Christensen <achristensen@webkit.org>
2647 https://bugs.webkit.org/show_bug.cgi?id=163675
2649 Reviewed by Brent Fulgham.
2651 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2652 (WebResourceLoadScheduler::scheduleLoad):
2654 2016-10-14 Alex Christensen <achristensen@webkit.org>
2658 * PlatformMac.cmake:
2660 2016-10-13 Anders Carlsson <andersca@apple.com>
2662 Move BackForwardList from WebCore to WebKitLegacy
2663 https://bugs.webkit.org/show_bug.cgi?id=163418
2665 Reviewed by Tim Horton.
2667 * WebKit.xcodeproj/project.pbxproj:
2669 2016-10-12 Anders Carlsson <andersca@apple.com>
2671 Copy BackForwardList from WebCore to WebKit/win
2672 https://bugs.webkit.org/show_bug.cgi?id=163360
2674 Reviewed by Alex Christensen.
2676 This is the first step towards getting rid of BackForwardList in WebCore.
2678 * PlatformWin.cmake:
2681 2016-10-11 Alex Christensen <achristensen@webkit.org>
2683 Remove dead networking code
2684 https://bugs.webkit.org/show_bug.cgi?id=163263
2686 Reviewed by Daniel Bates.
2688 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2689 (WebResourceLoadScheduler::scheduleLoad):
2691 2016-10-06 Brent Fulgham <bfulgham@apple.com>
2693 Unreviewed build fix when building with Direct2D.
2695 * PlatformWin.cmake: Add missing library references.
2697 2016-10-05 Daniel Bates <dabates@apple.com>
2699 Do not follow redirects when sending violation report
2700 https://bugs.webkit.org/show_bug.cgi?id=162520
2701 <rdar://problem/27957639>
2703 Reviewed by Alex Christensen.
2705 Update implementation of legacy WebKit loader strategy to pass through a boolean,
2706 shouldFollowRedirects, to PingHandle as to whether to follow redirect responses
2709 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2710 (WebResourceLoadScheduler::createPingHandle):
2711 * WebCoreSupport/WebResourceLoadScheduler.h:
2713 2016-09-20 Don Olmstead <don.olmstead@am.sony.com>
2715 [WinCairo] Use find_package cairo in build
2716 https://bugs.webkit.org/show_bug.cgi?id=162239
2718 Reviewed by Alex Christensen.
2720 * PlatformWin.cmake:
2722 2016-09-12 Brent Fulgham <bfulgham@apple.com>
2724 [Win][Direct2D] Provide Direct2D-based geometry and transform cast operations
2725 https://bugs.webkit.org/show_bug.cgi?id=161818
2727 Reviewed by Dean Jackson.
2729 * PlatformWin.cmake: Link to Direct2D on Windows.
2731 2016-09-06 Dan Bernstein <mitz@apple.com>
2733 [Xcode] WebKitLegacy.framework is re-signed on incremental build even if nothing’s changed
2734 https://bugs.webkit.org/show_bug.cgi?id=161642
2736 Reviewed by Tim Horton.
2738 * WebKit.xcodeproj/project.pbxproj: Removed the output file listed under the
2739 Symlink WebKitPluginHost script build phase, because it doesn’t produce that file on iOS.
2740 With no outputs listed, the script will still run every time, but the fact that it has run
2741 won’t trigger re-signing the framework.
2743 2016-08-25 Alex Christensen <achristensen@webkit.org>
2747 * PlatformMac.cmake:
2748 Availability was spelled wrong, resulting in a missing header.
2750 2016-08-22 Alex Christensen <achristensen@webkit.org>
2752 Fix Mac CMake build after r204717.
2754 * PlatformMac.cmake:
2756 2016-08-22 Alex Christensen <achristensen@webkit.org>
2758 Mostly fix Mac CMake build after r204717.
2760 * PlatformMac.cmake:
2762 2016-08-22 Darin Adler <darin@apple.com>
2764 Move Objective-C DOM bindings from WebCore to legacy WebKit
2765 https://bugs.webkit.org/show_bug.cgi?id=160654
2767 Reviewed by Alex Christensen.
2769 * WebKit.xcodeproj/project.pbxproj: Added the new source files to the project.
2770 For now they all have project visibility, since MigrateHeaders.make takes care
2771 of exporting them as public and private. Later, we can likely use the built-in
2772 Xcode feature instead of that script. Also pass DOM as an acceptable prefix
2773 when calling check-for-inappropriate-objc-class-names. Also sorted this file
2774 with the sort-Xcode-project-file script.
2776 2016-08-17 Myles C. Maxfield <mmaxfield@apple.com>
2778 [Cocoa] Migrate off of deprecated CoreGraphics API CGContextSelectFont() and CGContextShowTextAtPoint()
2779 https://bugs.webkit.org/show_bug.cgi?id=160895
2781 Reviewed by Dean Jackson.
2783 Link to the existing CoreText framework.
2785 * PlatformWin.cmake:
2787 2016-08-16 Hunseop Jeong <hs85.jeong@samsung.com>
2789 Unreviewed, CMake build fix
2791 * PlatformMac.cmake:
2793 2016-08-15 Anders Carlsson <andersca@apple.com>
2795 Remove OldWebAssertions.c
2796 https://bugs.webkit.org/show_bug.cgi?id=160862
2798 Reviewed by Dan Bernstein.
2800 * WebKit.xcodeproj/project.pbxproj:
2802 2016-08-15 Anders Carlsson <andersca@apple.com>
2804 Remove WebKeyGenerator
2805 https://bugs.webkit.org/show_bug.cgi?id=160854
2807 Reviewed by Dan Bernstein.
2809 * WebKit.xcodeproj/project.pbxproj:
2811 2016-08-15 Joseph Pecoraro <pecoraro@apple.com>
2813 Remove unused includes of wtf headers
2814 https://bugs.webkit.org/show_bug.cgi?id=160839
2816 Reviewed by Alex Christensen.
2818 * Storage/StorageSyncManager.h:
2819 * Storage/StorageThread.cpp:
2820 * Storage/StorageThread.h:
2821 * Storage/WebDatabaseProvider.cpp:
2823 2016-08-08 Anders Carlsson <andersca@apple.com>
2825 Add a new PluginInfoProvider class, to replace PluginStrategy
2826 https://bugs.webkit.org/show_bug.cgi?id=160670
2828 Reviewed by Sam Weinig.
2832 * PlatformWin.cmake:
2833 * WebKit.xcodeproj/project.pbxproj:
2835 2016-08-04 Alex Christensen <achristensen@webkit.org>
2837 [Mac][cmake] Fix the build after Objective-C bindings generator removal
2838 https://bugs.webkit.org/show_bug.cgi?id=160545
2840 Reviewed by Alex Christensen.
2842 * PlatformMac.cmake:
2844 2016-07-26 Simon Fraser <simon.fraser@apple.com>
2846 Fix the Windows debug build.
2848 WebResourceLoadScheduler's logging was a holdover from it being in WebCore,
2849 and prior to r203749 WebKit was actually using a WebCore log channel.
2851 For some reason this doesn't build on Windows debug, so just remove
2852 this logging for now.
2854 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2855 (WebResourceLoadScheduler::scheduleLoad): Deleted.
2856 (WebResourceLoadScheduler::servePendingRequests): Deleted.
2857 (WebResourceLoadScheduler::scheduleServePendingRequests): Deleted.
2858 (WebResourceLoadScheduler::requestTimerFired): Deleted.
2859 (WebResourceLoadScheduler::HostInformation::addLoadInProgress): Deleted.
2861 2016-07-26 Simon Fraser <simon.fraser@apple.com>
2863 Sort the project files.
2865 * WebKit.xcodeproj/project.pbxproj:
2867 2016-07-26 Simon Fraser <simon.fraser@apple.com>
2869 Allow LOG macros to be used outside the namespace, and other logging cleanup
2870 https://bugs.webkit.org/show_bug.cgi?id=160216
2872 Reviewed by Anders Carlsson.
2874 Fix some issues with the LOG macros.
2876 First, they were not usable outside the WebKit namespace in WebKit2 code. Fix by moving
2877 its log channels outside of the namespace (they are protected by a unique prefix anyway).
2879 Second, allow LOG_WITH_STREAM to be used in WebKit2 by moving that and a helper macro
2880 into LogMacros.h, which is exported from WebCore as a private header.
2882 Third, split the Logging.h header into two. Logging.h remains for framework-internal
2883 log channels and log macros. Add LogInitialization.h which is external, and used to
2884 initialize the channels.
2886 Finally unify "initializeLogChannels" and "initializeLoggingChannels" terminology everywhere.
2888 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2890 2016-07-14 Alex Christensen <achristensen@webkit.org>
2892 Use SocketProvider to create SocketStreamHandles
2893 https://bugs.webkit.org/show_bug.cgi?id=159774
2895 Reviewed by Alex Christensen.
2897 * PlatformMac.cmake:
2898 * PlatformWin.cmake:
2899 * WebKit.xcodeproj/project.pbxproj:
2901 2016-07-12 Per Arne Vollan <pvollan@apple.com>
2903 [Win] Fix for build error when trying to version stamp dll.
2904 https://bugs.webkit.org/show_bug.cgi?id=159692
2906 Reviewed by Brent Fulgham.
2908 Use correct path to version stamp script.
2912 2016-07-12 Per Arne Vollan <pvollan@apple.com>
2914 [Win] DLLs are missing version information.
2915 https://bugs.webkit.org/show_bug.cgi?id=159349
2917 Reviewed by Brent Fulgham.
2919 Run perl version stamp utility.
2923 2016-07-11 Commit Queue <commit-queue@webkit.org>
2925 Unreviewed, rolling out r203064.
2926 https://bugs.webkit.org/show_bug.cgi?id=159642
2928 This change causes LayoutTest crashes on WK1 ASan (Requested
2929 by ryanhaddad on #webkit).
2933 "Use refs for ResourceLoaders"
2934 https://bugs.webkit.org/show_bug.cgi?id=159592
2935 http://trac.webkit.org/changeset/203064
2937 2016-07-08 Alex Christensen <achristensen@webkit.org>
2939 Use refs for ResourceLoaders
2940 https://bugs.webkit.org/show_bug.cgi?id=159592
2942 Reviewed by Chris Dumez.
2944 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2945 (webResourceLoadScheduler):
2946 (WebResourceLoadScheduler::hostForURL):
2947 (WebResourceLoadScheduler::WebResourceLoadScheduler):
2948 (WebResourceLoadScheduler::loadResource):
2949 (WebResourceLoadScheduler::schedulePluginStreamLoad):
2950 (WebResourceLoadScheduler::scheduleLoad):
2951 (WebResourceLoadScheduler::remove):
2952 (WebResourceLoadScheduler::setDefersLoading):
2953 (WebResourceLoadScheduler::crossOriginRedirectReceived):
2954 (WebResourceLoadScheduler::servePendingRequests):
2955 (WebResourceLoadScheduler::resumePendingRequests):
2956 (WebResourceLoadScheduler::HostInformation::priorityToIndex):
2957 (WebResourceLoadScheduler::HostInformation::schedule):
2958 (WebResourceLoadScheduler::HostInformation::addLoadInProgress):
2959 (WebResourceLoadScheduler::HostInformation::remove):
2960 * WebCoreSupport/WebResourceLoadScheduler.h:
2961 (WebResourceLoadScheduler::HostInformation::name):
2962 (WebResourceLoadScheduler::HostInformation::requestsPending):
2963 m_nonHTTPProtocolHost used to be a leaked pointer, and now it's a member variable.
2965 2016-07-08 Commit Queue <commit-queue@webkit.org>
2967 Unreviewed, rolling out r202799.
2968 https://bugs.webkit.org/show_bug.cgi?id=159568
2970 Caused build failure (Requested by perarne on #webkit).
2974 "[Win] DLLs are missing version information."
2975 https://bugs.webkit.org/show_bug.cgi?id=159349
2976 http://trac.webkit.org/changeset/202799
2978 2016-07-07 Alex Christensen <achristensen@webkit.org>
2980 Use SocketProvider to create WebSocketChannels
2981 https://bugs.webkit.org/show_bug.cgi?id=158776
2983 Reviewed by Brent Fulgham.
2985 * PlatformMac.cmake:
2986 * PlatformWin.cmake:
2987 * WebKit.xcodeproj/project.pbxproj:
2989 2016-07-03 Per Arne Vollan <pvollan@apple.com>
2991 [Win] DLLs are missing version information.
2992 https://bugs.webkit.org/show_bug.cgi?id=159349
2994 Reviewed by Brent Fulgham.
2996 WTF will generate autoversion.h in the prebuild step.
2997 Run the perl version stamp utility.
3000 * PlatformWin.cmake:
3002 2016-06-21 Anders Carlsson <andersca@apple.com>
3004 Rename NoncopyableFunction to Function
3005 https://bugs.webkit.org/show_bug.cgi?id=158354
3007 Reviewed by Chris Dumez.
3009 * Storage/StorageSyncManager.cpp:
3010 (WebCore::StorageSyncManager::dispatch):
3011 * Storage/StorageSyncManager.h:
3012 * Storage/StorageThread.cpp:
3013 (WebCore::StorageThread::dispatch):
3014 (WebCore::StorageThread::terminate):
3015 * Storage/StorageThread.h:
3017 2016-06-22 Anders Carlsson <andersca@apple.com>
3019 Move the WebKitLegacy Apple Pay code to the open source repository
3020 https://bugs.webkit.org/show_bug.cgi?id=159035
3022 Reviewed by Tim Horton.
3024 * WebKit.xcodeproj/project.pbxproj:
3026 2016-06-20 Keith Rollin <krollin@apple.com>
3028 Remove RefPtr::release() and change calls sites to use WTFMove()
3029 https://bugs.webkit.org/show_bug.cgi?id=158369
3031 Reviewed by Chris Dumez.
3033 RefPtr::release() releases its managed pointer awkwardly. It's more
3034 direct and clearer to use WTFMove to transfer ownership of the managed
3037 As part of this cleanup, also change a lot of explicit data types to
3040 * Storage/StorageAreaImpl.cpp:
3041 (WebCore::StorageAreaImpl::setItem):
3042 (WebCore::StorageAreaImpl::removeItem):
3044 2016-06-13 Alex Christensen <achristensen@webkit.org>
3046 Add WebSocketProvider stub
3047 https://bugs.webkit.org/show_bug.cgi?id=158702
3049 Reviewed by Brady Eidson.
3051 * WebKit.xcodeproj/project.pbxproj:
3053 2016-06-10 Alex Christensen <achristensen@webkit.org>
3057 * PlatformMac.cmake:
3059 2016-06-09 Alex Christensen <achristensen@webkit.org>
3061 Clean up WebKit.vcxproj directory after switching to CMake.
3063 * PlatformWin.cmake:
3064 * WebKit.vcxproj/Interfaces: Removed.
3065 * WebKit.vcxproj/WebKit: Removed.
3066 * WebKit.vcxproj/WebKit/resource.h: Removed.
3067 * WebKit.vcxproj/WebKitGUID: Removed.
3068 * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj: Removed.
3069 * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj.filters: Removed.
3070 * WebKit.vcxproj/WebKitGUID/WebKitGUIDCommon.props: Removed.
3071 * WebKit.vcxproj/WebKitGUID/WebKitGUIDDebug.props: Removed.
3072 * WebKit.vcxproj/WebKitGUID/WebKitGUIDDebugWinCairo.props: Removed.
3073 * WebKit.vcxproj/WebKitGUID/WebKitGUIDPostBuild.cmd: Removed.
3074 * WebKit.vcxproj/WebKitGUID/WebKitGUIDPreBuild.cmd: Removed.
3075 * WebKit.vcxproj/WebKitGUID/WebKitGUIDProduction.props: Removed.
3076 * WebKit.vcxproj/WebKitGUID/WebKitGUIDRelease.props: Removed.
3077 * WebKit.vcxproj/WebKitGUID/WebKitGUIDReleaseWinCairo.props: Removed.
3079 2016-06-07 Csaba Osztrogonác <ossy@webkit.org>
3081 [Mac][cmake] Unreviewed trivial buildfix after r201689. Just for fun.
3083 * PlatformMac.cmake:
3085 2016-06-04 Anders Carlsson <andersca@apple.com>
3087 Remove NPSPI that is no longer used
3088 https://bugs.webkit.org/show_bug.cgi?id=158384
3090 Reviewed by Sam Weinig.
3092 * WebKit.xcodeproj/project.pbxproj:
3094 2016-06-03 Chris Dumez <cdumez@apple.com>
3096 Modernize a few more lambda captures
3097 https://bugs.webkit.org/show_bug.cgi?id=158370
3099 Reviewed by Brady Eidson.
3101 * Storage/StorageTracker.cpp:
3102 (WebCore::StorageTracker::deleteOrigin):
3104 2016-06-03 Commit Queue <commit-queue@webkit.org>
3106 Unreviewed, rolling out r201663.
3107 https://bugs.webkit.org/show_bug.cgi?id=158374
3109 Broke the Windows build (Requested by andersca on #webkit).
3113 "Rename NoncopyableFunction to Function"
3114 https://bugs.webkit.org/show_bug.cgi?id=158354
3115 http://trac.webkit.org/changeset/201663
3117 2016-06-03 Anders Carlsson <andersca@apple.com>
3119 Rename NoncopyableFunction to Function
3120 https://bugs.webkit.org/show_bug.cgi?id=158354
3122 Reviewed by Chris Dumez.
3124 * Storage/StorageSyncManager.cpp:
3125 (WebCore::StorageSyncManager::dispatch):
3126 * Storage/StorageSyncManager.h:
3127 * Storage/StorageThread.cpp:
3128 (WebCore::StorageThread::dispatch):
3129 (WebCore::StorageThread::terminate):
3130 * Storage/StorageThread.h:
3132 2016-06-02 Youenn Fablet <youenn.fablet@crf.canon.fr>
3134 Use more references in ResourceLoader related code
3135 https://bugs.webkit.org/show_bug.cgi?id=158222
3137 Reviewed by Darin Adler.
3139 * WebCoreSupport/WebResourceLoadScheduler.cpp:
3140 (WebResourceLoadScheduler::loadResource):
3141 * WebCoreSupport/WebResourceLoadScheduler.h:
3143 2016-05-28 Chris Dumez <cdumez@apple.com>
3145 Templatize NoncopyableFunction class similarly to std::function
3146 https://bugs.webkit.org/show_bug.cgi?id=158185
3148 Reviewed by Darin Adler.
3150 Templatize NoncopyableFunction class similarly to std::function, so
3151 that it can be used as a std::function replacement in more places.
3153 Previously, NoncopyableFunction could only support "void()" lambdas.
3155 * Storage/StorageSyncManager.cpp:
3156 (WebCore::StorageSyncManager::dispatch):
3157 * Storage/StorageSyncManager.h:
3158 * Storage/StorageThread.cpp:
3159 (WebCore::StorageThread::dispatch):
3160 (WebCore::StorageThread::terminate):
3161 * Storage/StorageThread.h:
3163 2016-05-27 Chris Dumez <cdumez@apple.com>
3165 callOnMainThread() should not copy captured lambda variables
3166 https://bugs.webkit.org/show_bug.cgi?id=158166
3168 Reviewed by Brady Eidson.
3170 callOnMainThread() should not copy captured lambda variables. This
3171 function is usually called cross-thread with a lambda and copying
3172 the lambda (and its captured variables) can lead to thread-safety
3175 This patch updates callOnMainThread() to take a NoncopyableFunction&&
3176 in parameter instead of a std::function. The call sites of
3177 callOnMainThread() have also been updated to use C++14's lambda
3178 capture with initializer.
3180 * Storage/StorageAreaSync.cpp:
3181 (WebCore::StorageAreaSync::deleteEmptyDatabase):
3182 * Storage/StorageSyncManager.cpp:
3183 (WebCore::StorageSyncManager::dispatch):
3184 * Storage/StorageSyncManager.h:
3185 * Storage/StorageThread.cpp:
3186 (WebCore::StorageThread::dispatch):
3187 (WebCore::StorageThread::terminate):
3188 (WebCore::StorageThread::releaseFastMallocFreeMemoryInAllThreads):
3189 * Storage/StorageThread.h:
3190 * Storage/StorageTracker.cpp:
3191 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
3192 (WebCore::StorageTracker::setOriginDetails):
3194 2016-05-25 Alex Christensen <achristensen@webkit.org>
3198 * PlatformMac.cmake:
3200 2016-05-18 Brady Eidson <beidson@apple.com>
3202 Modern IDB: Make TestRunner.clearAllDatabases also delete IndexedDB databases (once doing so is supported).
3203 https://bugs.webkit.org/show_bug.cgi?id=157823
3205 Reviewed by Alex Christensen.
3207 * Storage/WebDatabaseProvider.cpp:
3208 (WebDatabaseProvider::deleteAllDatabases):
3209 * Storage/WebDatabaseProvider.h:
3211 2016-04-25 Per Arne Vollan <peavo@outlook.com>
3213 [Win][IndexedDB] Fix build errors.
3214 https://bugs.webkit.org/show_bug.cgi?id=156713
3216 Reviewed by Alex Christensen.
3218 Fix compile and link errors when building with IndexedDB enabled.
3220 * PlatformWin.cmake:
3222 2016-04-22 Brent Fulgham <bfulgham@apple.com>
3224 Unreviewed build fix after r199841.
3226 * PlatformWin.cmake: Add missing WebApplicationCache.cpp buid directive.
3228 2016-04-11 Fujii Hironori <Hironori.Fujii@jp.sony.com>
3230 [CMake] Make FOLDER property INHERITED
3231 https://bugs.webkit.org/show_bug.cgi?id=156460
3233 Reviewed by Brent Fulgham.
3236 * PlatformWin.cmake:
3237 Set FOLDER property as a directory property not a target property
3239 2016-04-08 Alex Christensen <achristensen@webkit.org>
3241 Progress towards running CMake WebKit2 on Mac
3242 https://bugs.webkit.org/show_bug.cgi?id=156426
3244 Reviewed by Tim Horton.
3247 * PlatformMac.cmake:
3248 * PlatformWin.cmake:
3250 2016-04-08 Konstantin Tokarev <annulen@yandex.ru>
3252 [cmake] Use ICU include dirs in WebKit.
3253 https://bugs.webkit.org/show_bug.cgi?id=156402
3255 Reviewed by Brent Fulgham.
3259 2016-04-07 Fujii Hironori <Hironori.Fujii@jp.sony.com>
3261 [CMake][Win] Generating autoversion.h of WebKitGUID is triggered again and again
3262 https://bugs.webkit.org/show_bug.cgi?id=156332
3264 Reviewed by Brent Fulgham.
3266 * PlatformWin.cmake:
3267 Correct the output path of autoversion.h.
3269 2016-04-06 Alex Christensen <achristensen@webkit.org>
3271 Fix CMake DumpRenderTree
3272 https://bugs.webkit.org/show_bug.cgi?id=156305
3274 Reviewed by Daniel Bates.
3276 * PlatformMac.cmake:
3278 2016-04-05 Alex Christensen <achristensen@webkit.org>
3280 Make CMake-generated binaries on Mac able to run
3281 https://bugs.webkit.org/show_bug.cgi?id=156268
3283 Reviewed by Daniel Bates.
3287 2016-04-01 Alex Christensen <achristensen@webkit.org>
3289 Compile DumpRenderTree with CMake on Mac
3290 https://bugs.webkit.org/show_bug.cgi?id=156088
3292 Reviewed by Brent Fulgham.
3294 * PlatformMac.cmake:
3296 2016-03-28 Alex Christensen <achristensen@webkit.org>
3298 Fix Ninja build on Mac
3299 https://bugs.webkit.org/show_bug.cgi?id=151399
3301 Reviewed by Darin Adler.
3303 * PlatformWin.cmake:
3305 2016-03-05 Chris Dumez <cdumez@apple.com>
3307 Consolidate RuntimeApplicationChecks and RuntimeApplicationChecksIOS
3308 https://bugs.webkit.org/show_bug.cgi?id=155035
3310 Reviewed by Darin Adler.
3312 Update runtime application checks.
3314 * WebCoreSupport/WebResourceLoadScheduler.cpp:
3315 (WebResourceLoadScheduler::servePendingRequests):
3317 2016-03-04 Alex Christensen <achristensen@webkit.org>
3319 Remove vcxproj build system
3320 https://bugs.webkit.org/show_bug.cgi?id=154388
3322 Rubber-stamped by Brent Fulgham.
3324 * WebKit.vcxproj/Interfaces/FixMIDLHeaders.pl: Removed.
3325 * WebKit.vcxproj/Interfaces/Interfaces.vcxproj: Removed.
3326 * WebKit.vcxproj/Interfaces/Interfaces.vcxproj.filters: Removed.
3327 * WebKit.vcxproj/Interfaces/InterfacesCommon.props: Removed.
3328 * WebKit.vcxproj/Interfaces/InterfacesDebug.props: Removed.
3329 * WebKit.vcxproj/Interfaces/InterfacesDebugWinCairo.props: Removed.
3330 * WebKit.vcxproj/Interfaces/InterfacesPostBuild.cmd: Removed.
3331 * WebKit.vcxproj/Interfaces/InterfacesPreBuild.cmd: Removed.
3332 * WebKit.vcxproj/Interfaces/InterfacesProduction.props: Removed.
3333 * WebKit.vcxproj/Interfaces/InterfacesRelease.props: Removed.
3334 * WebKit.vcxproj/Interfaces/InterfacesReleaseWinCairo.props: Removed.
3335 * WebKit.vcxproj/WebKit.sln: Removed.
3336 * WebKit.vcxproj/WebKit.submit.sln: Removed.
3337 * WebKit.vcxproj/WebKit/WebKit.vcxproj: Removed.
3338 * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters: Removed.
3339 * WebKit.vcxproj/WebKit/WebKitANGLE.props: Removed.
3340 * WebKit.vcxproj/WebKit/WebKitApple.props: Removed.
3341 * WebKit.vcxproj/WebKit/WebKitCFLite.props: Removed.
3342 * WebKit.vcxproj/WebKit/WebKitCommon.props: Removed.
3343 * WebKit.vcxproj/WebKit/WebKitDebug.props: Removed.
3344 * WebKit.vcxproj/WebKit/WebKitDebugWinCairo.props: Removed.
3345 * WebKit.vcxproj/WebKit/WebKitDirectX.props: Removed.
3346 * WebKit.vcxproj/WebKit/WebKitPostBuild.cmd: Removed.
3347 * WebKit.vcxproj/WebKit/WebKitPreBuild.cmd: Removed.
3348 * WebKit.vcxproj/WebKit/WebKitPreLink.cmd: Removed.
3349 * WebKit.vcxproj/WebKit/WebKitProduction.props: Removed.
3350 * WebKit.vcxproj/WebKit/WebKitRelease.props: Removed.
3351 * WebKit.vcxproj/WebKit/WebKitReleaseWinCairo.props: Removed.
3352 * WebKit.vcxproj/WebKit/WebKitVersion.cmd: Removed.
3354 2016-03-01 Alex Christensen <achristensen@webkit.org>
3356 Reduce size of internal windows build output
3357 https://bugs.webkit.org/show_bug.cgi?id=154763
3359 Reviewed by Brent Fulgham.
3361 * WebKit.vcxproj/WebKit.proj:
3363 2016-02-26 Konstantin Tokarev <annulen@yandex.ru>
3365 [cmake] Moved WebKit/Storage sources and include dir to CMakeLists.txt.
3366 https://bugs.webkit.org/show_bug.cgi?id=154722
3368 Reviewed by Darin Adler.
3370 This code provides port-independent layer used by all WK1 ports,
3371 so it belongs to main CMakeLists.txt, not Platform files.
3374 * PlatformMac.cmake:
3375 * PlatformWin.cmake:
3377 2016-02-25 Brady Eidson <beidson@apple.com>
3380 https://bugs.webkit.org/show_bug.cgi?id=150854
3382 Reviewed by Alex Christensen.
3384 * Storage/WebDatabaseProvider.cpp:
3385 (WebDatabaseProvider::createIDBFactoryBackend): Deleted.
3386 * Storage/WebDatabaseProvider.h:
3388 2016-02-25 Brent Fulgham <bfulgham@apple.com>
3390 [Win][CMake] Don't use incremental linking
3391 https://bugs.webkit.org/show_bug.cgi?id=154684
3392 <rdar://problem/24747822>
3394 Reviewed by Alex Christensen.
3396 * PlatformWin.cmake: Make sure the "/INCREMENTAL:NO" flag is used
3397 (overriding "/INCREMENTAL:YES").
3399 2016-02-22 Konstantin Tokarev <annulen@yandex.ru>
3401 [cmake] Moved library setup code to WEBKIT_FRAMEWORK macro.
3402 https://bugs.webkit.org/show_bug.cgi?id=154450
3404 Reviewed by Alex Christensen.
3408 2016-02-15 Alex Christensen <achristensen@webkit.org>
3410 Fix internal Windows build of projects built after WebKit
3411 https://bugs.webkit.org/show_bug.cgi?id=154249
3412 rdar://problem/24644805
3414 Reviewed by Chris Dumez.
3416 * PlatformWin.cmake:
3417 Copy all generated headers to ForwardingHeaders/WebKit, not just WebKit.h.
3418 This should fix problems related to not finding headers from other projects, such as AccessibleApplication.h.
3419 WebKit.h, WebKitCOMAPI.h, and CFDictionaryPropertyBag.h were copied correctly, so this should copy the rest
3420 of the needed headers.
3422 2016-02-12 Alex Christensen <achristensen@webkit.org>
3424 Fix internal Windows WebKit debug build.
3425 rdar://problem/24635219
3427 * PlatformWin.cmake:
3428 We were making WebKit.dll instead of WebKit_debug.dll.
3430 2016-02-11 Alex Christensen <achristensen@webkit.org>
3432 Fix internal Windows build.
3433 rdar://problem/24622882
3435 * WebKit.vcxproj/WebKit.proj:
3436 Don't define DEBUG_SUFFIX in release builds.
3438 2016-02-10 Alex Christensen <achristensen@webkit.org>
3440 Fix internal Windows build
3441 https://bugs.webkit.org/show_bug.cgi?id=154080
3442 rdar://problem/24584417
3444 Reviewed by Brent Fulgham.
3447 Explicitly make WebKit dependent on WebKitGUID so that WebKit will not start building
3448 before WebKitGUID is finished generating and copying all headers, including WebKit/WebKit.h.
3450 2016-01-27 Anders Carlsson <andersca@apple.com>
3452 Add WebKitAdditions extension points to WebCore, WebKit and WebKitLegacy
3453 https://bugs.webkit.org/show_bug.cgi?id=153550
3455 Reviewed by Sam Weinig.
3457 * WebKit.xcodeproj/project.pbxproj:
3460 2016-01-27 Alex Christensen <achristensen@webkit.org>
3462 [Win] Clean build fix after r195680.
3464 * PlatformWin.cmake:
3465 Use the post build command for the post build event.
3467 2016-01-27 Alex Christensen <achristensen@webkit.org>
3469 Fix Win EWS after r195545.
3470 https://bugs.webkit.org/show_bug.cgi?id=153434
3472 * PlatformWin.cmake:
3473 Copy WebKit.h after building WebKitGUID, because it doesn't exist before.
3474 This should fix EWS problems like the one seen in bug 153522.
3476 2016-01-25 Alex Christensen <achristensen@webkit.org>
3478 [Win] Copy forwarding headers before building a project
3479 https://bugs.webkit.org/show_bug.cgi?id=153434
3481 Reviewed by Brent Fulgham.
3483 * PlatformWin.cmake:
3485 2016-01-22 Darin Adler <darin@apple.com>
3487 Reduce use of equalIgnoringCase to just ignore ASCII case
3488 https://bugs.webkit.org/show_bug.cgi?id=153266
3490 Reviewed by Ryosuke Niwa.
3492 * Storage/StorageTracker.cpp:
3493 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
3494 Removed extraneous unneeded ", true" in call to String::endsWith.
3495 Preparation for later removing the boolean argument.
3497 2016-01-14 Brady Eidson <beidson@apple.com>
3499 Modern IDB: Support opening and deleting SQLite databases on disk.
3500 https://bugs.webkit.org/show_bug.cgi?id=153084
3502 Reviewed by Alex Christensen, Sam Weinig and Andy Estes (oh my!).
3504 * Storage/WebDatabaseProvider.cpp:
3505 (WebDatabaseProvider::idbConnectionToServerForSession):
3506 * Storage/WebDatabaseProvider.h:
3508 * WebKit.xcodeproj/project.pbxproj:
3510 2016-01-13 Chris Dumez <cdumez@apple.com>
3512 Unreviewed, rolling out r194900.
3514 Roll back in as this did not actually regress PLT
3518 "Unreviewed, rolling out r194826."
3519 https://bugs.webkit.org/show_bug.cgi?id=153020
3520 http://trac.webkit.org/changeset/194900
3522 2016-01-12 Commit Queue <commit-queue@webkit.org>
3524 Unreviewed, rolling out r194826.
3525 https://bugs.webkit.org/show_bug.cgi?id=153020
3527 Appears to have regressed PLT (Requested by kling on #webkit).
3531 "Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL
3533 https://bugs.webkit.org/show_bug.cgi?id=152902
3534 http://trac.webkit.org/changeset/194826
3536 2016-01-10 Andreas Kling <akling@apple.com>
3538 Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL cont'd
3539 <https://webkit.org/b/152902>
3541 Reviewed by Andy Estes.
3543 * Storage/StorageThread.cpp:
3544 (WebCore::activeStorageThreads):
3546 2015-12-31 Andy Estes <aestes@apple.com>
3548 Replace WTF::move with WTFMove
3549 https://bugs.webkit.org/show_bug.cgi?id=152601
3551 Reviewed by Brady Eidson.
3553 * Storage/StorageNamespaceImpl.cpp:
3554 (WebCore::StorageNamespaceImpl::storageArea):
3556 2015-12-16 Alex Christensen <achristensen@webkit.org>
3558 Fix internal Windows build
3559 https://bugs.webkit.org/show_bug.cgi?id=152364
3560 rdar://problem/23928759
3562 Reviewed by Tim Horton.
3564 * WebKit.vcxproj/WebKit.proj:
3566 2015-12-02 Antti Koivisto <antti@apple.com>
3568 Move ResourceLoadScheduler to WebKit1
3569 https://bugs.webkit.org/show_bug.cgi?id=151743
3571 Reviewed by Alex Christensen.
3573 * WebCoreSupport/WebResourceLoadScheduler.cpp: Copied from Source/WebCore/loader/ResourceLoadScheduler.cpp.
3574 (webResourceLoadScheduler):
3575 (WebResourceLoadScheduler::hostForURL):
3576 (WebResourceLoadScheduler::WebResourceLoadScheduler):
3577 (WebResourceLoadScheduler::~WebResourceLoadScheduler):
3578 (WebResourceLoadScheduler::scheduleSubresourceLoad):
3579 (WebResourceLoadScheduler::loadResourceSynchronously):
3580 (WebResourceLoadScheduler::schedulePluginStreamLoad):
3581 (WebResourceLoadScheduler::scheduleLoad):
3582 (WebResourceLoadScheduler::remove):
3583 (WebResourceLoadScheduler::setDefersLoading):
3584 (WebResourceLoadScheduler::crossOriginRedirectReceived):
3585 (WebResourceLoadScheduler::servePendingRequests):
3586 (WebResourceLoadScheduler::suspendPendingRequests):
3587 (WebResourceLoadScheduler::resumePendingRequests):
3588 (WebResourceLoadScheduler::scheduleServePendingRequests):
3589 (WebResourceLoadScheduler::requestTimerFired):
3590 (WebResourceLoadScheduler::HostInformation::HostInformation):
3591 (WebResourceLoadScheduler::HostInformation::~HostInformation):
3592 (WebResourceLoadScheduler::HostInformation::priorityToIndex):
3593 (WebResourceLoadScheduler::HostInformation::schedule):
3594 (WebResourceLoadScheduler::HostInformation::addLoadInProgress):
3595 (WebResourceLoadScheduler::HostInformation::remove):
3596 (WebResourceLoadScheduler::HostInformation::hasRequests):
3597 (WebResourceLoadScheduler::HostInformation::limitRequests):
3598 (WebResourceLoadScheduler::createPingHandle):
3599 (WebCore::ResourceLoadScheduler::hostForURL): Deleted.
3600 (WebCore::resourceLoadScheduler): Deleted.
3601 (WebCore::ResourceLoadScheduler::ResourceLoadScheduler): Deleted.
3602 (WebCore::ResourceLoadScheduler::~ResourceLoadScheduler): Deleted.
3603 (WebCore::ResourceLoadScheduler::scheduleSubresourceLoad): Deleted.
3604 (WebCore::ResourceLoadScheduler::schedulePluginStreamLoad): Deleted.
3605 (WebCore::ResourceLoadScheduler::scheduleLoad): Deleted.
3606 (WebCore::ResourceLoadScheduler::remove): Deleted.
3607 (WebCore::ResourceLoadScheduler::setDefersLoading): Deleted.
3608 (WebCore::ResourceLoadScheduler::crossOriginRedirectReceived): Deleted.
3609 (WebCore::ResourceLoadScheduler::servePendingRequests): Deleted.
3610 (WebCore::ResourceLoadScheduler::suspendPendingRequests): Deleted.
3611 (WebCore::ResourceLoadScheduler::resumePendingRequests): Deleted.
3612 (WebCore::ResourceLoadScheduler::scheduleServePendingRequests): Deleted.
3613 (WebCore::ResourceLoadScheduler::requestTimerFired): Deleted.