2d5f476b7f35377b89292ac579fab1bc3278a3a5
[WebKit-https.git] / Source / WebKitLegacy / ChangeLog
1 2019-09-03  Chris Dumez  <cdumez@apple.com>
2
3         FrameLoader::FrameProgressTracker::progressCompleted() does not need a pageID
4         https://bugs.webkit.org/show_bug.cgi?id=201431
5
6         Reviewed by Antti Koivisto.
7
8         * WebCoreSupport/WebResourceLoadScheduler.cpp:
9         (WebResourceLoadScheduler::pageLoadCompleted):
10         * WebCoreSupport/WebResourceLoadScheduler.h:
11
12 2019-08-30  Brent Fulgham  <bfulgham@apple.com>
13
14         [FTW] Use DirectX SharedResource as basis for SharedBitmap
15         https://bugs.webkit.org/show_bug.cgi?id=201157
16
17         Reviewed by Alex Christensen.
18
19         * PlatformFTW.cmake: Link to DirectX to avoid build failure.
20
21 2019-08-19  Sihui Liu  <sihui_liu@apple.com>
22
23         Remove IDB-specific quota
24         https://bugs.webkit.org/show_bug.cgi?id=196545
25         <rdar://problem/54201783>
26
27         Reviewed by Youenn Fablet.
28
29         * Storage/WebDatabaseProvider.cpp:
30         (WebDatabaseProvider::setIDBPerOriginQuota): Deleted.
31         * Storage/WebDatabaseProvider.h:
32
33 2019-08-19  Youenn Fablet  <youenn@apple.com>
34
35         Remove SessionID::emptySessionID()
36         https://bugs.webkit.org/show_bug.cgi?id=200811
37
38         Reviewed by Alex Christensen.
39
40         * Storage/WebDatabaseProvider.cpp:
41         (WebDatabaseProvider::idbConnectionToServerForSession):
42         * Storage/WebDatabaseProvider.h:
43
44 2019-08-18  Yusuke Suzuki  <ysuzuki@apple.com>
45
46         [WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWithoutFastMallocCheck part
47         https://bugs.webkit.org/show_bug.cgi?id=200620
48
49         Reviewed by Geoffrey Garen.
50
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):
62
63 2019-08-15  Brent Fulgham  <bfulgham@apple.com>
64
65         [FTW] Enable CoreFoundation use if building for Apple target
66         https://bugs.webkit.org/show_bug.cgi?id=200799
67
68         Reviewed by Alex Christensen.
69
70         * PlatformFTW.cmake:
71
72 2019-08-15  Sihui Liu  <sihui_liu@apple.com>
73
74         Some improvements on web storage
75         https://bugs.webkit.org/show_bug.cgi?id=200373
76
77         Reviewed by Geoffrey Garen.
78
79         Do some clean-up and add support for session change of web storage in layout tests.
80
81         * Storage/StorageAreaImpl.cpp:
82         (WebKit::StorageAreaImpl::sessionChanged):
83         * Storage/StorageAreaImpl.h:
84         (): Deleted.
85
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 
88         background thread.
89
90         * Storage/StorageNamespaceImpl.cpp: replace EphemeralLocalStorage with LocalStorage, and store SessionID in 
91         StorageNamespace.
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:
106
107 2019-08-14  Ryan Haddad  <ryanhaddad@apple.com>
108
109         Unreviewed, rolling out r248526.
110
111         Caused two IndexedDB perf tests to fail
112
113         Reverted changeset:
114
115         "Remove IDB-specific quota"
116         https://bugs.webkit.org/show_bug.cgi?id=196545
117         https://trac.webkit.org/changeset/248526
118
119 2019-08-12  Youenn Fablet  <youenn@apple.com>
120
121         Remove IDB-specific quota
122         https://bugs.webkit.org/show_bug.cgi?id=196545
123
124         Reviewed by Alex Christensen.
125
126         * Storage/WebDatabaseProvider.cpp:
127         (WebDatabaseProvider::idbConnectionToServerForSession):
128         (WebDatabaseProvider::deleteAllDatabases):
129         (WebDatabaseProvider::setIDBPerOriginQuota): Deleted.
130         * Storage/WebDatabaseProvider.h:
131
132 2019-08-10  Tim Horton  <timothy_horton@apple.com>
133
134         Remove some more unused 32-bit code
135         https://bugs.webkit.org/show_bug.cgi?id=200607
136
137         Reviewed by Alexey Proskuryakov.
138
139         * PlatformMac.cmake:
140         * WebKitLegacy.xcodeproj/project.pbxproj:
141
142 2019-08-09  Keith Rollin  <krollin@apple.com>
143
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>
147
148         Reviewed by Darin Adler.
149
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
157         adding quoting.
158
159         * scripts/postprocess-header-rule:
160
161 2019-08-08  Brent Fulgham  <bfulgham@apple.com>
162
163         [FTW] Get WebKit, WebKit2, and MiniBrowser building and executing
164         https://bugs.webkit.org/show_bug.cgi?id=200539
165         <rdar://problem/54082550>
166
167         Reviewed by Dean Jackson.
168
169         * CMakeLists.txt:
170         * PlatformFTW.cmake: Added.
171
172 2019-08-06  Per Arne Vollan  <pvollan@apple.com>
173
174         [Win] Fix AppleWin build
175         https://bugs.webkit.org/show_bug.cgi?id=200455
176
177         Reviewed by Alex Christensen.
178
179         * CMakeLists.txt:
180         * PlatformWin.cmake:
181         * WebKitLegacy.vcxproj/WebKitLegacy.proj:
182
183 2019-07-31  Keith Rollin  <krollin@apple.com>
184
185         Update WebKitLegacy for XCBuild
186         https://bugs.webkit.org/show_bug.cgi?id=200310
187         <rdar://problem/53773708>
188
189         Reviewed by Alex Christensen.
190
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.
198
199         * UnifiedSources-output.xcfilelist: Added.
200         * WebKitLegacy.xcodeproj/project.pbxproj:
201         * scripts/check-xcfilelists.sh: Added.
202
203 2019-07-18  Alex Christensen  <achristensen@webkit.org>
204
205         Unify builds in WebKitLegacy/mac/DOM
206         https://bugs.webkit.org/show_bug.cgi?id=199771
207
208         Reviewed by Geoffrey Garen.
209
210         * SourcesCocoa.txt:
211         * WebKitLegacy.xcodeproj/project.pbxproj:
212         * scripts/generate-unified-sources.sh:
213
214 2019-07-16  Chris Dumez  <cdumez@apple.com>
215
216         Speed up StorageManager::getValues()
217         https://bugs.webkit.org/show_bug.cgi?id=199812
218
219         Reviewed by Alex Christensen.
220
221         * Storage/StorageAreaImpl.cpp:
222         (WebKit::StorageAreaImpl::importItems):
223         * Storage/StorageAreaImpl.h:
224         * Storage/StorageAreaSync.cpp:
225         (WebKit::StorageAreaSync::performImport):
226
227 2019-07-12  Alex Christensen  <achristensen@webkit.org>
228
229         Begin unifying WebKitLegacy sources
230         https://bugs.webkit.org/show_bug.cgi?id=199730
231
232         Reviewed by Keith Miller.
233
234         * Sources.txt: Added.
235         * SourcesCocoa.txt: Added.
236         * WebKitLegacy.xcodeproj/project.pbxproj:
237         * scripts/generate-unified-sources.sh: Added.
238
239 2019-07-03  Jonathan Bedard  <jbedard@apple.com>
240
241         [Catalina] Enable WebKit build
242         https://bugs.webkit.org/show_bug.cgi?id=199209
243
244         Reviewed by Darin Adler.
245
246         * mac/WebView/WebHTMLView.mm: Move NSView declaration to SPI header.
247         * mac/WebView/WebView.mm: Use _subviewsIvar instead of _subviews.
248
249 2019-06-27  Fujii Hironori  <Hironori.Fujii@sony.com>
250
251         [CMake] Bump cmake_minimum_required version to 3.10
252         https://bugs.webkit.org/show_bug.cgi?id=199181
253
254         Reviewed by Don Olmstead.
255
256         * CMakeLists.txt:
257
258 2019-06-05  Alex Christensen  <achristensen@webkit.org>
259
260         Progress towards resurrecting Mac CMake build
261         https://bugs.webkit.org/show_bug.cgi?id=197132
262
263         Reviewed by Don Olmstead.
264
265         * PlatformMac.cmake:
266
267 2019-06-03  Don Olmstead  <don.olmstead@sony.com>
268
269         [CMake] Add WebKit::JavaScriptCore target
270         https://bugs.webkit.org/show_bug.cgi?id=198403
271
272         Reviewed by Konstantin Tokarev.
273
274         Use the WebKit::JavaScriptCore target.
275
276         * CMakeLists.txt:
277
278 2019-05-31  Don Olmstead  <don.olmstead@sony.com>
279
280         [CMake] Add WebKit::WTF target
281         https://bugs.webkit.org/show_bug.cgi?id=198400
282
283         Reviewed by Konstantin Tokarev.
284
285         Use the WebKit::WTF target.
286
287         * PlatformWin.cmake:
288
289 2019-05-27  Chris Dumez  <cdumez@apple.com>
290
291         Use a strongly-typed identifier for pages
292         https://bugs.webkit.org/show_bug.cgi?id=198206
293
294         Reviewed by Youenn Fablet.
295
296         * WebCoreSupport/WebResourceLoadScheduler.cpp:
297         (WebResourceLoadScheduler::pageLoadCompleted):
298         * WebCoreSupport/WebResourceLoadScheduler.h:
299
300 2019-05-17  Don Olmstead  <don.olmstead@sony.com>
301
302         [CMake] Use builtin FindICU
303         https://bugs.webkit.org/show_bug.cgi?id=197934
304
305         Reviewed by Michael Catanzaro.
306
307         Remove uses of ICU_INCLUDE_DIRS and ICU_LIBRARIES.
308
309         * CMakeLists.txt:
310         * PlatformWin.cmake:
311
312 2019-05-03  Commit Queue  <commit-queue@webkit.org>
313
314         Unreviewed, rolling out r244881.
315         https://bugs.webkit.org/show_bug.cgi?id=197559
316
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).
320
321         Reverted changeset:
322
323         "[CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into
324         WEBKIT_COPY_FILES"
325         https://bugs.webkit.org/show_bug.cgi?id=197174
326         https://trac.webkit.org/changeset/244881
327
328 2019-05-02  Don Olmstead  <don.olmstead@sony.com>
329
330         [CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into WEBKIT_COPY_FILES
331         https://bugs.webkit.org/show_bug.cgi?id=197174
332
333         Reviewed by Alex Christensen.
334
335         Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES and make dependencies
336         for framework headers explicit.
337
338         * PlatformWin.cmake:
339
340 2019-04-25  Fujii Hironori  <Hironori.Fujii@sony.com>
341
342         Unreviewed, rolling out r244669.
343
344         Windows ports can't clean build.
345
346         Reverted changeset:
347
348         "[Win] Add flag to enable version information stamping and
349         disable by default."
350         https://bugs.webkit.org/show_bug.cgi?id=197249
351         https://trac.webkit.org/changeset/244669
352
353 2019-04-25  Basuke Suzuki  <Basuke.Suzuki@sony.com>
354
355         [Win] Add flag to enable version information stamping and disable by default.
356         https://bugs.webkit.org/show_bug.cgi?id=197249
357
358         Reviewed by Ross Kirsling.
359
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.
362
363         * PlatformWin.cmake:
364
365 2019-04-23  Keith Rollin  <krollin@apple.com>
366
367         Add Xcode version check for Header post-processing scripts
368         https://bugs.webkit.org/show_bug.cgi?id=197116
369         <rdar://problem/50058968>
370
371         Reviewed by Brent Fulgham.
372
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.
379
380         In practice, this means prefixing appropriate post-processing Custom
381         Build phases with:
382
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.
385             exit 0
386         fi
387
388         * WebKitLegacy.xcodeproj/project.pbxproj:
389
390 2019-04-20  Don Olmstead  <don.olmstead@sony.com>
391
392         [CMake][Win] Use target oriented design for WebKitLegacy
393         https://bugs.webkit.org/show_bug.cgi?id=197112
394
395         Reviewed by Konstantin Tokarev.
396
397         Enumerate the public framework headers for WebKitLegacy and copy them. Include
398         directories should be PRIVATE. Migrate to using WebKitLegacy_DERIVED_SOURCES_DIR.
399
400         * CMakeLists.txt:
401         * PlatformMac.cmake:
402         * PlatformWin.cmake:
403
404 2019-04-19  Keith Rollin  <krollin@apple.com>
405
406         Add postprocess-header-rule scripts
407         https://bugs.webkit.org/show_bug.cgi?id=197072
408         <rdar://problem/50027299>
409
410         Reviewed by Brent Fulgham.
411
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
422         imminent patch.
423
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.
430
431         * WebKitLegacy.xcodeproj/project.pbxproj:
432         * scripts/postprocess-header-rule: Added.
433
434 2019-04-18  Don Olmstead  <don.olmstead@sony.com>
435
436         [CMake] Make WebCore headers copies
437         https://bugs.webkit.org/show_bug.cgi?id=182512
438         <rdar://problem/37510435>
439
440         Reviewed by Alex Christensen.
441
442         Added WebCorePrivateFrameworkHeaders as a dependency of WebKitLegacy for all
443         ports.
444
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.
448
449         * CMakeLists.txt:
450         * PlatformWin.cmake:
451
452 2019-04-18  Keith Rollin  <krollin@apple.com>
453
454         Move MiG .def files into their own "Copy files" build step
455         https://bugs.webkit.org/show_bug.cgi?id=196982
456
457         Reviewed by Alex Christensen.
458
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.
463
464         * WebKitLegacy.xcodeproj/project.pbxproj:
465
466 2019-04-17  Commit Queue  <commit-queue@webkit.org>
467
468         Unreviewed, rolling out r244386.
469         https://bugs.webkit.org/show_bug.cgi?id=197031
470
471         Causing build failures on several internal builders (Requested
472         by ShawnRoberts on #webkit).
473
474         Reverted changeset:
475
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
479
480 2019-04-17  Keith Rollin  <krollin@apple.com>
481
482         Move MiG .def files into their own "Copy files" build step
483         https://bugs.webkit.org/show_bug.cgi?id=196982
484
485         Reviewed by Alex Christensen.
486
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.
491
492         * WebKitLegacy.xcodeproj/project.pbxproj:
493
494 2019-04-08  Don Olmstead  <don.olmstead@sony.com>
495
496         [CMake][WinCairo] Separate copied headers into different directories
497         https://bugs.webkit.org/show_bug.cgi?id=196655
498
499         Reviewed by Michael Catanzaro.
500
501         * CMakeLists.txt:
502         * PlatformWin.cmake:
503
504 2019-04-05  Commit Queue  <commit-queue@webkit.org>
505
506         Unreviewed, rolling out r243833.
507         https://bugs.webkit.org/show_bug.cgi?id=196645
508
509         This change breaks build of WPE and GTK ports (Requested by
510         annulen on #webkit).
511
512         Reverted changeset:
513
514         "[CMake][WTF] Mirror XCode header directories"
515         https://bugs.webkit.org/show_bug.cgi?id=191662
516         https://trac.webkit.org/changeset/243833
517
518 2019-04-03  Don Olmstead  <don.olmstead@sony.com>
519
520         [CMake][WTF] Mirror XCode header directories
521         https://bugs.webkit.org/show_bug.cgi?id=191662
522
523         Reviewed by Konstantin Tokarev.
524
525         Use WTFFramework as a dependency and include frameworks/WTF.cmake for AppleWin internal
526         builds.
527
528         * CMakeLists.txt:
529         * PlatformWin.cmake:
530
531 2019-04-02  Fujii Hironori  <Hironori.Fujii@sony.com>
532
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
535
536         Reviewed by Don Olmstead.
537
538         * PlatformWin.cmake: Do not use DERIVED_SOURCE_DIRECTORIES
539         parameter of WEBKIT_MAKE_FORWARDING_HEADERS. Added
540         WebKitLegacyGUID_PRIVATE_FRAMEWORK_HEADERS.
541
542 2019-03-13  Youenn Fablet  <youenn@apple.com>
543
544         Check IDB quota usage through QuotaManager
545         https://bugs.webkit.org/show_bug.cgi?id=195302
546
547         Reviewed by Chris Dumez.
548
549         * Storage/WebDatabaseProvider.cpp:
550         (WebDatabaseProvider::idbConnectionToServerForSession):
551
552 2019-03-06  Sam Weinig  <sam@webkit.org>
553
554         WebKitLegacy does not need to generate an export file for i386 anymore
555         https://bugs.webkit.org/show_bug.cgi?id=195380
556
557         Reviewed by Dan Bernstein.
558
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.
562
563 2019-03-01  Tim Horton  <timothy_horton@apple.com>
564
565         Remove unused code in WebKitLegacy
566         https://bugs.webkit.org/show_bug.cgi?id=189614
567
568         Reviewed by Simon Fraser.
569
570         * WebKitLegacy.xcodeproj/project.pbxproj:
571
572 2019-02-20  Andy Estes  <aestes@apple.com>
573
574         [Xcode] Add SDKVariant.xcconfig to various Xcode projects
575         https://bugs.webkit.org/show_bug.cgi?id=194869
576
577         Rubber-stamped by Jer Noble.
578
579         * WebKitLegacy.xcodeproj/project.pbxproj:
580
581 2019-01-31  Takashi Komori  <Takashi.Komori@sony.com>
582
583         [Curl] Remove unnecessary member from NetworkStorageSession.
584         https://bugs.webkit.org/show_bug.cgi?id=194137
585
586         Reviewed by Don Olmstead.
587
588         * WebCoreSupport/NetworkStorageSessionMap.cpp:
589         (NetworkStorageSessionMap::defaultStorageSession):
590         (NetworkStorageSessionMap::ensureSession):
591
592 2019-01-31  Takashi Komori  <Takashi.Komori@sony.com>
593
594         [Curl] Fix DRT crash related to private browsing.
595         https://bugs.webkit.org/show_bug.cgi?id=193816
596
597         Reviewed by Alex Christensen.
598
599         * WebCoreSupport/NetworkStorageSessionMap.cpp:
600         (NetworkStorageSessionMap::ensureSession):
601
602 2019-01-26  Darin Adler  <darin@apple.com>
603   
604         Replace many uses of String::format with more type-safe alternatives
605         https://bugs.webkit.org/show_bug.cgi?id=192742
606
607         Reviewed by Mark Lam.
608
609         * Shared/WebMemorySampler.cpp:
610         (WebKit::WebMemorySampler::writeHeaders): Use makeString.
611
612         * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm:
613         (WebKit::LocalAuthenticator::makeCredential): Use string concatentation.
614
615         * UIProcess/WebInspectorUtilities.cpp:
616         (WebKit::inspectorPageGroupIdentifierForPage): Use makeString.
617         * UIProcess/WebProcessPool.cpp:
618         (WebKit::WebProcessPool::processDidFinishLaunching): Ditto.
619         (WebKit::WebProcessPool::startMemorySampler): Ditto.
620
621 2019-01-24  Ross Kirsling  <ross.kirsling@sony.com>
622
623         Move FileSystem to WTF
624         https://bugs.webkit.org/show_bug.cgi?id=193602
625
626         Reviewed by Yusuke Suzuki.
627
628         * Storage/StorageAreaSync.cpp:
629         * Storage/StorageSyncManager.cpp:
630         * Storage/StorageTracker.cpp:
631
632 2019-01-23  Ross Kirsling  <ross.kirsling@sony.com>
633
634         [Curl] Unreviewed build fix for r240292 and friends.
635
636         WinCairo test stability must be restored in subsequent patch.
637
638         * WebCoreSupport/NetworkStorageSessionMap.cpp:
639         (NetworkStorageSessionMap::defaultStorageSession):
640         (NetworkStorageSessionMap::switchToNewTestingSession):
641         (NetworkStorageSessionMap::ensureSession):
642
643 2019-01-23  Commit Queue  <commit-queue@webkit.org>
644
645         Unreviewed, rolling out r240403.
646         https://bugs.webkit.org/show_bug.cgi?id=193757
647
648         "Causes multiple crashes on macOS port (probably used wrong
649         ENABLE macro)" (Requested by ddkilzer on #webkit).
650
651         Reverted changeset:
652
653         "[Curl] Unreviewed build fix for r240292 and friends."
654         https://trac.webkit.org/changeset/240403
655
656 2019-01-23  Ross Kirsling  <ross.kirsling@sony.com>
657
658         [Curl] Unreviewed build fix for r240292 and friends.
659
660         WinCairo test stability must be restored in subsequent patch.
661
662         * WebCoreSupport/NetworkStorageSessionMap.cpp:
663         (NetworkStorageSessionMap::defaultStorageSession):
664         (NetworkStorageSessionMap::switchToNewTestingSession):
665         (NetworkStorageSessionMap::ensureSession):
666
667 2019-01-22  Alex Christensen  <achristensen@webkit.org>
668
669         Fix some builds after r240292
670         https://bugs.webkit.org/show_bug.cgi?id=193580
671
672         * WebCoreSupport/NetworkStorageSessionMap.cpp:
673
674 2019-01-22  Alex Christensen  <achristensen@webkit.org>
675
676         Move NetworkStorageSession ownership to NetworkProcess
677         https://bugs.webkit.org/show_bug.cgi?id=193580
678
679         Reviewed by Geoff Garen.
680
681         * WebCoreSupport/NetworkStorageSessionMap.cpp: Added.
682         (defaultNetworkStorageSession):
683         (globalSessionMap):
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:
692
693 2019-01-15  Darin Adler  <darin@apple.com>
694
695         Use references rather than pointers for register/unregister functions, and more
696         https://bugs.webkit.org/show_bug.cgi?id=175028
697
698         Reviewed by Daniel Bates.
699
700         * WebKitLegacy.xcodeproj/project.pbxproj: Let Xcode update this project.
701
702 2019-01-18  Eric Carlson  <eric.carlson@apple.com>
703
704         Revert r238815, it broke WK1 video fullscreen on Mac
705         https://bugs.webkit.org/show_bug.cgi?id=193586
706         <rdar://problem/47358941>
707
708         Reviewed by Jer Noble.
709
710         * WebKitLegacy.xcodeproj/project.pbxproj:
711
712 2019-01-17  Alex Christensen  <achristensen@webkit.org>
713
714         Stop using NetworkStorageSession::storageSession in WebCore
715         https://bugs.webkit.org/show_bug.cgi?id=193529
716
717         Reviewed by Tim Horton.
718
719         * WebCoreSupport/PageStorageSessionProvider.h: Added.
720         * WebKitLegacy.xcodeproj/project.pbxproj:
721
722 2019-01-04  Youenn Fablet  <youenn@apple.com>
723
724         CSP violation reports should bypass CSP checks
725         https://bugs.webkit.org/show_bug.cgi?id=192857
726         <rdar://problem/46887236>
727
728         Reviewed by Chris Dumez.
729
730         * WebCoreSupport/WebResourceLoadScheduler.cpp:
731         (WebResourceLoadScheduler::startPingLoad):
732         * WebCoreSupport/WebResourceLoadScheduler.h:
733
734 2018-12-27  Alex Christensen  <achristensen@webkit.org>
735
736         Resurrect Mac CMake build
737         https://bugs.webkit.org/show_bug.cgi?id=192658
738
739         Reviewed by Yusuke Suzuki.
740
741         * PlatformMac.cmake:
742
743 2018-12-20  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
744
745         Use Ref<> as much as possible
746         https://bugs.webkit.org/show_bug.cgi?id=192808
747
748         Reviewed by Alex Christensen.
749
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:
764
765 2018-12-11  Fujii Hironori  <Hironori.Fujii@sony.com>
766
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
769
770         Reviewed by Alex Christensen.
771
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.
776
777         This is a part of public API, can't be renamed.
778
779         * PlatformWin.cmake: Added -Wno-overloaded-virtual compiler option
780         for WebKitLegacy
781
782 2018-12-06  Alex Christensen  <achristensen@webkit.org>
783
784         Remove unused LoaderStrategy::storeDerivedDataToCache and associated dead code
785         https://bugs.webkit.org/show_bug.cgi?id=192452
786
787         Reviewed by Anders Carlsson.
788
789         * WebCoreSupport/WebResourceLoadScheduler.h:
790
791 2018-12-03  Jer Noble  <jer.noble@apple.com>
792
793         Get rid of old, dead Mac video fullscreen code.
794         https://bugs.webkit.org/show_bug.cgi?id=192315
795
796         Reviewed by Eric Carlson.
797
798         * WebKitLegacy.xcodeproj/project.pbxproj:
799
800 2018-11-30  Alex Christensen  <achristensen@webkit.org>
801
802         Move URL from WebCore to WTF
803         https://bugs.webkit.org/show_bug.cgi?id=190234
804
805         Reviewed by Keith Miller.
806
807         * WebCoreSupport/WebResourceLoadScheduler.cpp:
808         * WebCoreSupport/WebResourceLoadScheduler.h:
809
810 2018-11-26  Brent Fulgham  <bfulgham@apple.com>
811
812         [Win] Reduce the use of WKSI library calls: CoreAnimation
813         https://bugs.webkit.org/show_bug.cgi?id=191777
814         <rdar://problem/46140542>
815
816         Reviewed by Zalan Bujtas.
817
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.
821
822         * PlatformWin.cmake:
823
824 2018-11-17  Devin Rousso  <drousso@apple.com>
825
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>
829
830         Reviewed by Joseph Pecoraro.
831
832         * WebCoreSupport/WebInspectorClientIOS.mm:
833         (WebInspectorFrontendClient::showCertificate): Added.
834
835 2018-11-09  Sihui Liu  <sihui_liu@apple.com>
836
837         Remove legacy storage tracker database file after r237330
838         https://bugs.webkit.org/show_bug.cgi?id=191423
839
840         Reviewed by Geoffrey Garen.
841
842         r237330 changed the file name of storage tracker database, but it did not remove the old 
843         file before using the new one.
844
845         * Storage/StorageTracker.cpp:
846         (WebKit::StorageTracker::internalInitialize):
847
848 2018-11-01  Sihui Liu  <sihui_liu@apple.com>
849
850         Add a storage limit for IndexedDB
851         https://bugs.webkit.org/show_bug.cgi?id=190598
852         <rdar://problem/44654715>
853
854         Reviewed by Chris Dumez.
855
856         * Storage/WebDatabaseProvider.cpp:
857         (WebDatabaseProvider::idbConnectionToServerForSession):
858         (WebDatabaseProvider::setIDBPerOriginQuota):
859         * Storage/WebDatabaseProvider.h:
860
861 2018-10-30  Alexey Proskuryakov  <ap@apple.com>
862
863         Enable InstallAPI for iOS unconditionally
864         https://bugs.webkit.org/show_bug.cgi?id=191043
865         rdar://problem/32728423
866
867         Reviewed by Dan Bernstein.
868
869         * WebKitLegacy.xcodeproj/project.pbxproj: Added NSURLDownloadSPI.h.
870
871 2018-10-30  Commit Queue  <commit-queue@webkit.org>
872
873         Unreviewed, rolling out r237600 and r237604.
874         https://bugs.webkit.org/show_bug.cgi?id=191086
875
876         Breaks internal iOS builds (Requested by ryanhadd_ on
877         #webkit).
878
879         Reverted changesets:
880
881         "Enable InstallAPI for iOS unconditionally"
882         https://bugs.webkit.org/show_bug.cgi?id=191043
883         https://trac.webkit.org/changeset/237600
884
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
888
889 2018-10-30  Alexey Proskuryakov  <ap@apple.com>
890
891         Enable InstallAPI for iOS unconditionally
892         https://bugs.webkit.org/show_bug.cgi?id=191043
893         rdar://problem/32728423
894
895         Reviewed by Dan Bernstein.
896
897         * WebKitLegacy.xcodeproj/project.pbxproj: Added NSURLDownloadSPI.h.
898
899 2018-10-29  Tim Horton  <timothy_horton@apple.com>
900
901         Modernize WebKit nibs and lprojs for localization's sake
902         https://bugs.webkit.org/show_bug.cgi?id=190911
903         <rdar://problem/45349466>
904
905         Reviewed by Dan Bernstein.
906
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
912
913 2018-10-25  Fujii Hironori  <Hironori.Fujii@sony.com>
914
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
917
918         Reviewed by Michael Catanzaro.
919
920         * PlatformWin.cmake: Added USES_TERMINAL to serialize midl.exe
921         executions.
922
923 2018-10-22  Sihui Liu  <sihui_liu@apple.com>
924
925         Regression (r232410): StorageTracker.db file gets unlinked while in use
926         https://bugs.webkit.org/show_bug.cgi?id=190795
927
928         Reviewed by Chris Dumez.
929
930         WK2 stopped using StorageTracker.db file in r232410 and would delete 
931         the file for safety.
932         It turned out WK1 could use the same file path, so WK2 may delete the 
933         file while WK1 is using it.
934
935         * Storage/StorageTracker.cpp:
936         (WebKit::StorageTracker::trackerDatabasePath):
937
938 2018-10-18  Alexey Proskuryakov  <ap@apple.com>
939
940         Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY)
941         https://bugs.webkit.org/show_bug.cgi?id=190729
942
943         Reviewed by Tim Horton.
944
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):
953
954 2018-10-11  Keith Rollin  <krollin@apple.com>
955
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>
959
960         Reviewed by Alexey Proskuryakov.
961
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.
969
970         * WebKitLegacy.xcodeproj/project.pbxproj: When generating
971         WebKitLegacy.*.exp, generate both 32- and 64-bit versions for
972         macosx platforms.
973
974 2018-10-04  Dan Bernstein  <mitz@apple.com>
975
976         WebKitLegacy part of [Xcode] Update some build settings as recommended by Xcode 10
977         https://bugs.webkit.org/show_bug.cgi?id=190250
978
979         Reviewed by Andy Estes.
980
981         * WebKitLegacy.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
982
983 2018-10-01  Dean Jackson  <dino@apple.com>
984
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>
988
989         Reviewed by Simon Fraser.
990
991         * WebKitLegacy.xcodeproj/project.pbxproj: Add new files.
992
993 2018-09-05  David Kilzer  <ddkilzer@apple.com>
994
995         REGRESSION (r235585): WebDownloadInternal.h is missing from WebKitLegacy Xcode project
996         <https://bugs.webkit.org/show_bug.cgi?id=189072>
997
998         Found using tidy-Xcode-project-file (see Bug 188754).
999
1000         * WebKitLegacy.xcodeproj/project.pbxproj: Remove references to
1001         WebDownloadInternal.h since the header was removed in r235585.
1002
1003 2018-08-26  Dan Bernstein  <mitz@apple.com>
1004
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>
1008
1009         Reviewed by Darin Adler.
1010
1011         * WebKitLegacy.xcodeproj/project.pbxproj: Updated the Symlink WebKitPluginHost build phase.
1012
1013 2018-08-01  Alex Christensen  <achristensen@webkit.org>
1014
1015         Move all calls to ResourceLoader::start to WebKitLegacy
1016         https://bugs.webkit.org/show_bug.cgi?id=184946
1017
1018         Reviewed by Andy Estes.
1019
1020         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1021         (WebResourceLoadScheduler::setDefersLoading):
1022         * WebCoreSupport/WebResourceLoadScheduler.h:
1023
1024 2018-06-25  Keith Rollin  <krollin@apple.com>
1025         Unreviewed, rolling out r233087.
1026
1027         Causes 5% Mac PLT regression.
1028
1029         Reverted changeset:
1030
1031         "Recalc styles every time defaultAppearance changes."
1032         https://bugs.webkit.org/show_bug.cgi?id=186866
1033         https://trac.webkit.org/changeset/233087
1034
1035 2018-06-23  Yusuke Suzuki  <utatane.tea@gmail.com>
1036
1037         [WTF] Add user-defined literal for ASCIILiteral
1038         https://bugs.webkit.org/show_bug.cgi?id=186839
1039
1040         Reviewed by Darin Adler.
1041
1042         * Storage/StorageTracker.cpp:
1043         (WebKit::StorageTracker::syncFileSystemAndTrackerDatabase):
1044         * WebCoreSupport/PingHandle.h:
1045
1046 2018-06-09  Dan Bernstein  <mitz@apple.com>
1047
1048         Added missing file references to the Configuration group.
1049
1050         * WebKitLegacy.xcodeproj/project.pbxproj:
1051
1052 2018-05-25  Alex Christensen  <achristensen@webkit.org>
1053
1054         URL::host should return a StringView to reduce allocations
1055         https://bugs.webkit.org/show_bug.cgi?id=185986
1056
1057         Reviewed by Geoff Garen.
1058
1059         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1060         (WebResourceLoadScheduler::hostForURL):
1061
1062 2018-05-11  Charles Vazac  <cvazac@gmail.com>
1063
1064         Runtime feature flag for Server-Timing
1065         https://bugs.webkit.org/show_bug.cgi?id=184758
1066
1067         Reviewed by Youenn Fablet.
1068
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.
1084
1085 2018-05-02  Keith Rollin  <krollin@apple.com>
1086
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>
1090
1091         Reviewed by Brent Fulgham.
1092
1093         Add an empty override of the pure virtual
1094         LoaderStrategy::pageLoadCompleted method.
1095
1096         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1097         (WebResourceLoadScheduler::pageLoadCompleted):
1098         * WebCoreSupport/WebResourceLoadScheduler.h:
1099
1100 2018-05-01  Eric Carlson  <eric.carlson@apple.com>
1101
1102         [MediaStream] remove WK1 support
1103         https://bugs.webkit.org/show_bug.cgi?id=185136
1104
1105         Reviewed by Youenn Fablet.
1106
1107         * WebKitLegacy.xcodeproj/project.pbxproj:
1108
1109 2018-04-30  JF Bastien  <jfbastien@apple.com>
1110
1111         Use some C++17 features
1112         https://bugs.webkit.org/show_bug.cgi?id=185135
1113
1114         Reviewed by Alex Christensen.
1115
1116         * PlatformMac.cmake:
1117
1118 2018-04-16  Youenn Fablet  <youenn@apple.com>
1119
1120         Use NetworkLoadChecker to handle synchronous HTTP loads
1121         https://bugs.webkit.org/show_bug.cgi?id=184240
1122
1123         Reviewed by Chris Dumez.
1124
1125         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1126         (WebResourceLoadScheduler::loadResourceSynchronously):
1127         * WebCoreSupport/WebResourceLoadScheduler.h:
1128
1129 2018-04-04  Alex Christensen  <achristensen@webkit.org>
1130
1131         Move PingHandle to WebKitLegacy
1132         https://bugs.webkit.org/show_bug.cgi?id=184145
1133
1134         Reviewed by Youenn Fablet.
1135
1136         * WebCoreSupport/PingHandle.h: Copied from Source/WebCore/platform/network/PingHandle.h.
1137         (): Deleted.
1138         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1139         * WebKitLegacy.xcodeproj/project.pbxproj:
1140
1141 2018-03-27  Chris Dumez  <cdumez@apple.com>
1142
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>
1146
1147         Reviewed by Youenn Fablet.
1148
1149         No change on WebKit1 except that WebResourceLoadScheduler needs to override
1150         2 new virtual functions which forward the calls to the NetworkStateNotifier.
1151
1152         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1153         (WebResourceLoadScheduler::isOnLine const):
1154         (WebResourceLoadScheduler::addOnlineStateChangeListener):
1155         * WebCoreSupport/WebResourceLoadScheduler.h:
1156
1157 2018-03-26  Chris Dumez  <cdumez@apple.com>
1158
1159         Use SecurityOriginData more consistently in Service Worker code
1160         https://bugs.webkit.org/show_bug.cgi?id=183969
1161
1162         Reviewed by Darin Adler.
1163
1164         Use SecurityOrigin::data() instead of SecurityOriginData::fromSecurityOrigin().
1165
1166         * Storage/StorageTracker.cpp:
1167         (WebKit::StorageTracker::diskUsageForOrigin):
1168
1169 2018-03-25  Commit Queue  <commit-queue@webkit.org>
1170
1171         Unreviewed, rolling out r229954.
1172         https://bugs.webkit.org/show_bug.cgi?id=184000
1173
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).
1177
1178         Reverted changeset:
1179
1180         "Use SecurityOriginData more consistently in Service Worker
1181         code"
1182         https://bugs.webkit.org/show_bug.cgi?id=183969
1183         https://trac.webkit.org/changeset/229954
1184
1185 2018-03-24  Chris Dumez  <cdumez@apple.com>
1186
1187         Use SecurityOriginData more consistently in Service Worker code
1188         https://bugs.webkit.org/show_bug.cgi?id=183969
1189
1190         Reviewed by Darin Adler.
1191
1192         Use SecurityOrigin::data() instead of SecurityOriginData::fromSecurityOrigin().
1193
1194         * Storage/StorageTracker.cpp:
1195         (WebKit::StorageTracker::diskUsageForOrigin):
1196
1197 2018-03-23  Tim Horton  <timothy_horton@apple.com>
1198
1199         Adopt WK_PLATFORM_NAME in WebKitLegacy
1200         https://bugs.webkit.org/show_bug.cgi?id=183948
1201         <rdar://problem/38803908>
1202
1203         Reviewed by Dan Bernstein.
1204
1205         * WebKitLegacy.xcodeproj/project.pbxproj:
1206
1207 2018-02-28  Alex Christensen  <achristensen@webkit.org>
1208
1209         Reduce use of NetworkingContext in WebKit
1210         https://bugs.webkit.org/show_bug.cgi?id=183213
1211
1212         Reviewed by Brady Eidson.
1213
1214         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1215         (WebResourceLoadScheduler::loadResourceSynchronously):
1216         (WebResourceLoadScheduler::preconnectTo):
1217         * WebCoreSupport/WebResourceLoadScheduler.h:
1218
1219 2018-02-26  Don Olmstead  <don.olmstead@sony.com>
1220
1221         Fix WebCore includes within WebKitLegacy
1222         https://bugs.webkit.org/show_bug.cgi?id=183147
1223
1224         Reviewed by Tim Horton.
1225
1226         * CMakeLists.txt:
1227
1228 2018-02-13  Commit Queue  <commit-queue@webkit.org>
1229
1230         Unreviewed, rolling out r228431.
1231         https://bugs.webkit.org/show_bug.cgi?id=182766
1232
1233         Regressed CMake build stability (Requested by dolmstead on
1234         #webkit).
1235
1236         Reverted changeset:
1237
1238         "[CMake] Make WebCore headers copies"
1239         https://bugs.webkit.org/show_bug.cgi?id=182512
1240         https://trac.webkit.org/changeset/228431
1241
1242 2018-02-13  Don Olmstead  <don.olmstead@sony.com>
1243
1244         [CMake] Make WebCore headers copies
1245         https://bugs.webkit.org/show_bug.cgi?id=182512
1246
1247         Reviewed by Keith Miller.
1248
1249         * PlatformWin.cmake:
1250
1251 2018-02-08  Per Arne Vollan  <pvollan@apple.com>
1252
1253         Move WebVideoFullscreenController from WebCore to WebKitLegacy.
1254         https://bugs.webkit.org/show_bug.cgi?id=182615
1255
1256         Reviewed by Eric Carlson.
1257
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.
1260
1261         * WebKitLegacy.xcodeproj/project.pbxproj:
1262
1263 2018-01-23  Alex Christensen  <achristensen@webkit.org>
1264
1265         Use CompletionHandlers for ResourceHandleClient::didReceiveResponseAsync
1266         https://bugs.webkit.org/show_bug.cgi?id=181961
1267
1268         Reviewed by Michael Catanzaro.
1269
1270         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1271
1272 2018-01-16  Fujii Hironori  <Hironori.Fujii@sony.com>
1273
1274         [CMake] Remove WebCoreDerivedSources library target
1275         https://bugs.webkit.org/show_bug.cgi?id=181664
1276
1277         Reviewed by Carlos Garcia Campos.
1278
1279         * PlatformWin.cmake: Do not link WebCoreDerivedSources.
1280
1281 2018-01-07  David Kilzer  <ddkilzer@apple.com>
1282
1283         Enable -Wcast-qual for WebInspectorUI, WebKitLegacy, WebKit projects
1284         <https://webkit.org/b/181256>
1285         <rdar://problem/36281730>
1286
1287         Reviewed by Darin Adler.
1288
1289         * PlatformMac.cmake:
1290         * WebKitLegacy.xcodeproj/project.pbxproj:
1291         - Rename WebNSDataExtras.m to WebNSDataExtras.mm and change file
1292           type to Objective-C++.
1293
1294 2018-01-03  Ting-Wei Lan  <lantw44@gmail.com>
1295
1296         Replace hard-coded paths in shebangs with #!/usr/bin/env
1297         https://bugs.webkit.org/show_bug.cgi?id=181040
1298
1299         Reviewed by Alex Christensen.
1300
1301         * scripts/generate-webkitversion.pl:
1302
1303 2017-12-28  Yusuke Suzuki  <utatane.tea@gmail.com>
1304
1305         Remove std::chrono completely
1306         https://bugs.webkit.org/show_bug.cgi?id=181186
1307
1308         Reviewed by Alex Christensen.
1309
1310         * Storage/WebDatabaseProvider.cpp:
1311         (WebDatabaseProvider::deleteAllDatabases):
1312
1313 2017-12-28  Fujii Hironori  <Hironori.Fujii@sony.com>
1314
1315         [Win][CMake] Use add_custom_command to copy each forwarding header files
1316         https://bugs.webkit.org/show_bug.cgi?id=180921
1317
1318         Reviewed by Brent Fulgham.
1319
1320         * PlatformWin.cmake: Use WEBKIT_MAKE_FORWARDING_HEADERS.
1321
1322 2017-12-14  Yusuke Suzuki  <utatane.tea@gmail.com>
1323
1324         Drop Thread::tryCreate
1325         https://bugs.webkit.org/show_bug.cgi?id=180808
1326
1327         Reviewed by Darin Adler.
1328
1329         * Storage/StorageThread.cpp:
1330         (WebCore::StorageThread::start):
1331         * Storage/StorageThread.h:
1332
1333 2017-12-12  Yusuke Suzuki  <utatane.tea@gmail.com>
1334
1335         [WTF] Thread::create should have Thread::tryCreate
1336         https://bugs.webkit.org/show_bug.cgi?id=180333
1337
1338         Reviewed by Darin Adler.
1339
1340         * Storage/StorageThread.cpp:
1341         (WebCore::StorageThread::start):
1342
1343 2017-12-05  Stephan Szabo  <stephan.szabo@sony.com>
1344
1345         Switch windows build to Visual Studio 2017
1346         https://bugs.webkit.org/show_bug.cgi?id=172412
1347
1348         Reviewed by Per Arne Vollan.
1349
1350         * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1351
1352 2017-11-27  Don Olmstead  <don.olmstead@sony.com>
1353
1354         [CMake][Win] Conditionally select DLL CRT or static CRT
1355         https://bugs.webkit.org/show_bug.cgi?id=170594
1356
1357         Reviewed by Alex Christensen.
1358
1359         * PlatformWin.cmake:
1360
1361 2017-11-24  Fujii Hironori  <Hironori.Fujii@sony.com>
1362
1363         [WinCairo] WebPreferences IDL not regenerating
1364         https://bugs.webkit.org/show_bug.cgi?id=179960
1365
1366         Reviewed by Darin Adler.
1367
1368         WebKitLegacy shouldn't include the forwarding header of
1369         WebKitLegacy itself.
1370
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.
1375
1376 2017-11-14  Alex Christensen  <achristensen@webkit.org>
1377
1378         Remove Cocoa CFURLConnection loading code
1379         https://bugs.webkit.org/show_bug.cgi?id=179688
1380
1381         Reviewed by Antti Koivisto.
1382
1383         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1384         (WebResourceLoadScheduler::scheduleLoad):
1385
1386 2017-11-06  Per Arne Vollan  <pvollan@apple.com>
1387
1388         [Win] Add WebKitQuartzCoreAdditions library.
1389         https://bugs.webkit.org/show_bug.cgi?id=179331
1390
1391         Reviewed by Alex Christensen.
1392
1393         This library should be added to the OpenSource repository.
1394
1395         * CMakeLists.txt:
1396
1397 2017-11-06  Alex Christensen  <achristensen@webkit.org>
1398
1399         Make ResourceLoader::willSendRequestInternal asynchronous
1400         https://bugs.webkit.org/show_bug.cgi?id=179251
1401
1402         Reviewed by Andy Estes.
1403
1404         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1405         (WebResourceLoadScheduler::loadResource):
1406         (WebResourceLoadScheduler::schedulePluginStreamLoad):
1407         * WebCoreSupport/WebResourceLoadScheduler.h:
1408
1409 2017-11-02  Christopher Reid  <chris.reid@sony.com>
1410
1411         Add a FileSystem namespace to FileSystem.cpp
1412         https://bugs.webkit.org/show_bug.cgi?id=179063
1413
1414         Reviewed by Darin Adler.
1415
1416         * Storage/StorageAreaSync.cpp:
1417         * Storage/StorageSyncManager.cpp:
1418         * Storage/StorageTracker.cpp:
1419
1420 2017-10-31  Alex Christensen  <achristensen@webkit.org>
1421
1422         Use asynchronous ResourceHandleClient calls for WebKit1
1423         https://bugs.webkit.org/show_bug.cgi?id=160677
1424
1425         Reviewed by Brady Eidson.
1426
1427         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1428         (WebResourceLoadScheduler::createPingHandle):
1429
1430 2017-10-16  Ryan Haddad  <ryanhaddad@apple.com>
1431
1432         Unreviewed, rolling out r223271.
1433
1434         This change introduced LayoutTest failures on WK1.
1435
1436         Reverted changeset:
1437
1438         "Use asynchronous ResourceHandleClient calls for WebKit1"
1439         https://bugs.webkit.org/show_bug.cgi?id=160677
1440         https://trac.webkit.org/changeset/223271
1441
1442 2017-10-12  Alex Christensen  <achristensen@webkit.org>
1443
1444         Use asynchronous ResourceHandleClient calls for WebKit1
1445         https://bugs.webkit.org/show_bug.cgi?id=160677
1446
1447         Reviewed by Brady Eidson.
1448
1449         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1450         (WebResourceLoadScheduler::createPingHandle):
1451
1452 2017-10-10  Sam Weinig  <sam@webkit.org>
1453
1454         Replace copyKeysToVector/copyValuesToVector with copyToVector(map.keys())/copyToVector(map.values())
1455         https://bugs.webkit.org/show_bug.cgi?id=178102
1456
1457         Reviewed by Tim Horton.
1458
1459         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1460         (WebResourceLoadScheduler::servePendingRequests):
1461
1462 2017-10-09  Per Arne Vollan  <pvollan@apple.com>
1463
1464         [Win] Link error: cannot open input file 'WebKitLegacyGUID.lib'
1465         https://bugs.webkit.org/show_bug.cgi?id=178087
1466
1467         Reviewed by Alexey Proskuryakov.
1468
1469         For compatibility reasons, the library still has the name WebKitGUID.lib.
1470
1471         * PlatformWin.cmake:
1472
1473 2017-10-05  Darin Adler  <darin@apple.com>
1474
1475         Remove additional WebKitSystemInterface remnants
1476         https://bugs.webkit.org/show_bug.cgi?id=177948
1477
1478         Reviewed by Andy Estes.
1479
1480         * PlatformMac.cmake: Removed reference to deleted file WebSystemInterface.mm.
1481
1482 2017-10-04  Alex Christensen  <achristensen@webkit.org>
1483
1484         Stop linking with WebKitSystemInterface
1485         https://bugs.webkit.org/show_bug.cgi?id=177915
1486
1487         Reviewed by Antti Koivisto.
1488
1489         * WebKitLegacy.xcodeproj/project.pbxproj:
1490
1491 2017-10-02  Per Arne Vollan  <pvollan@apple.com>
1492
1493         [Win] Link error: cannot open file 'WebKitGUID.lib'
1494         https://bugs.webkit.org/show_bug.cgi?id=177759
1495
1496         Reviewed by Alex Christensen.
1497
1498         For backward compatibility reasons, this library should not be renamed from
1499         WebKitGUID.lib to WebKitLegacyGUID.lib.
1500
1501         * PlatformWin.cmake:
1502
1503 2017-09-29  Chris Dumez  <cdumez@apple.com>
1504
1505         http/tests/preconnect/link-rel-preconnect-https.html is flaky
1506         https://bugs.webkit.org/show_bug.cgi?id=177673
1507
1508         Reviewed by Alex Christensen.
1509
1510         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1511         (WebResourceLoadScheduler::preconnectTo):
1512         * WebCoreSupport/WebResourceLoadScheduler.h:
1513
1514 2017-09-28  Chris Dumez  <cdumez@apple.com>
1515
1516         Add support for <link rel=preconnect>
1517         https://bugs.webkit.org/show_bug.cgi?id=177474
1518         <rdar://problem/33141380>
1519
1520         Reviewed by Alex Christensen.
1521
1522         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1523         (WebResourceLoadScheduler::preconnectTo):
1524         * WebCoreSupport/WebResourceLoadScheduler.h:
1525
1526 2017-09-26  Per Arne Vollan  <pvollan@apple.com>
1527
1528         [Win] WebKitCOMAPI.h is not copied after build has finished.
1529         https://bugs.webkit.org/show_bug.cgi?id=177505
1530
1531         Reviewed by Brent Fulgham.
1532
1533         The file is located in the WebKitLegacy forwarding headers folder, not the WebKit folder.
1534
1535         * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1536
1537 2017-09-25  Timothy Horton  <timothy_horton@apple.com>
1538
1539         Fix the macOS WebKit CMake build
1540
1541         * CMakeLists.txt:
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.
1547
1548         Put it back; the umbrella framework will always be named "WebKit".
1549
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).
1553
1554 2017-09-25  Chris Dumez  <cdumez@apple.com>
1555
1556         Make StoredCredentials an enum class and rename its header
1557         https://bugs.webkit.org/show_bug.cgi?id=177455
1558
1559         Reviewed by Youenn Fablet.
1560
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
1563         opposite behavior.
1564
1565         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1566         (WebResourceLoadScheduler::loadResourceSynchronously):
1567         * WebCoreSupport/WebResourceLoadScheduler.h:
1568
1569 2017-09-25  Timothy Horton  <timothy_horton@apple.com>
1570
1571         Make progress on getting Mac CMake building again
1572         https://bugs.webkit.org/show_bug.cgi?id=177443
1573
1574         Unreviewed, just "fixing" the build.
1575
1576         * PlatformMac.cmake:
1577         Set up dependencies correctly for our mig-generated files.
1578         MAIN_DEPENDENCY is for VS, not what it sounds like.
1579
1580         Add mig-generated files to WebKitLegacy, not WebKit (I think this was
1581         missed in the WebKit2 rename).
1582
1583 2017-09-21  Per Arne Vollan  <pvollan@apple.com>
1584
1585         [Win] Compile error, generate-webkitversion.pl script not found.
1586         https://bugs.webkit.org/show_bug.cgi?id=177310
1587
1588         Reviewed by Brent Fulgham.
1589
1590         The script is located using the WebKitLegacy folder cmake variable, which needs
1591         to be set in the project file. 
1592  
1593         * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1594
1595 2017-09-18  Michael Catanzaro  <mcatanzaro@igalia.com>
1596
1597         [CMake] Rename WebKit target to WebKitLegacy and rename WebKit2 target to WebKit
1598         https://bugs.webkit.org/show_bug.cgi?id=174558
1599
1600         Reviewed by Alex Christensen.
1601
1602         With help from Stephan Szabo, thanks!
1603
1604         * CMakeLists.txt:
1605         * PlatformMac.cmake:
1606         * PlatformWin.cmake:
1607
1608 2017-09-16  Tim Horton  <timothy_horton@apple.com>
1609
1610         Fix the Tools build with CMake on macOS
1611         https://bugs.webkit.org/show_bug.cgi?id=177030
1612
1613         Reviewed by Geoffrey Garen.
1614
1615         * PlatformMac.cmake:
1616         Add some forwarding headers.
1617
1618 2017-09-12  Per Arne Vollan  <pvollan@apple.com>
1619
1620         [Win] Link errors when building WebKit from .proj files.
1621         https://bugs.webkit.org/show_bug.cgi?id=176813
1622
1623         Reviewed by Brent Fulgham.
1624
1625         Add missing libraries to WebKit build.
1626
1627         * PlatformWin.cmake:
1628
1629 2017-08-31  Don Olmstead  <don.olmstead@sony.com>
1630
1631         [CMake] Make USE_CF conditional within Windows
1632         https://bugs.webkit.org/show_bug.cgi?id=176173
1633
1634         Reviewed by Alex Christensen.
1635
1636         * PlatformWin.cmake:
1637
1638 2017-08-30  Andy Estes  <aestes@apple.com>
1639
1640         [Mac] Upstream Carbon-related WebKitSystemInterface functions
1641         https://bugs.webkit.org/show_bug.cgi?id=176087
1642
1643         Reviewed by Alex Christensen.
1644
1645         * WebKitLegacy.xcodeproj/project.pbxproj:
1646
1647 2017-08-29  Don Olmstead  <don.olmstead@sony.com>
1648
1649         [CMake] Use find_package for zlib
1650         https://bugs.webkit.org/show_bug.cgi?id=176075
1651
1652         Reviewed by Alex Christensen.
1653
1654         * PlatformWin.cmake:
1655
1656 2017-08-29  Don Olmstead  <don.olmstead@sony.com>
1657
1658         [CMake] Use find_package for libxml2 and libxstl
1659         https://bugs.webkit.org/show_bug.cgi?id=176042
1660
1661         Reviewed by Konstantin Tokarev.
1662
1663         * PlatformWin.cmake:
1664
1665 2017-08-24  Don Olmstead  <don.olmstead@sony.com>
1666
1667         [CMake] Use find_package for SQLite
1668         https://bugs.webkit.org/show_bug.cgi?id=175803
1669
1670         Reviewed by Konstantin Tokarev.
1671
1672         * PlatformWin.cmake:
1673
1674 2017-08-20  Chris Dumez  <cdumez@apple.com>
1675
1676         Simplify calls to LoaderStrategy::startPingLoad()
1677         https://bugs.webkit.org/show_bug.cgi?id=175756
1678
1679         Reviewed by Sam Weinig.
1680
1681         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1682         (WebResourceLoadScheduler::startPingLoad):
1683         * WebCoreSupport/WebResourceLoadScheduler.h:
1684
1685 2017-08-18  Chris Dumez  <cdumez@apple.com>
1686
1687         [Beacon] Improve error reporting
1688         https://bugs.webkit.org/show_bug.cgi?id=175723
1689
1690         Reviewed by Darin Adler.
1691
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.
1695
1696         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1697         (WebResourceLoadScheduler::startPingLoad):
1698         * WebCoreSupport/WebResourceLoadScheduler.h:
1699
1700 2017-08-18  Chris Dumez  <cdumez@apple.com>
1701
1702         [Beacon] Add support for quota limitation
1703         https://bugs.webkit.org/show_bug.cgi?id=175443
1704         <rdar://problem/33729002>
1705
1706         Reviewed by Youenn Fablet.
1707
1708         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1709         (WebResourceLoadScheduler::startPingLoad):
1710         * WebCoreSupport/WebResourceLoadScheduler.h:
1711
1712 2017-08-17  Chris Dumez  <cdumez@apple.com>
1713
1714         Regression(r220817): We should only copy the original request headers for Ping loads
1715         https://bugs.webkit.org/show_bug.cgi?id=175679
1716
1717         Reviewed by Youenn Fablet.
1718
1719         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1720         (WebResourceLoadScheduler::createPingHandle):
1721         * WebCoreSupport/WebResourceLoadScheduler.h:
1722
1723 2017-08-17  Don Olmstead  <don.olmstead@sony.com>
1724
1725         [PAL] Relocate SessionID to root
1726         https://bugs.webkit.org/show_bug.cgi?id=175684
1727
1728         Reviewed by Alex Christensen.
1729
1730         * Storage/WebDatabaseProvider.cpp:
1731
1732 2017-08-17  Don Olmstead  <don.olmstead@sony.com>
1733
1734         [PAL] Move SessionID into PAL
1735         https://bugs.webkit.org/show_bug.cgi?id=174192
1736
1737         Reviewed by Antti Koivisto.
1738
1739         * Storage/WebDatabaseProvider.cpp:
1740         (WebDatabaseProvider::idbConnectionToServerForSession):
1741         * Storage/WebDatabaseProvider.h:
1742
1743 2017-08-16  Chris Dumez  <cdumez@apple.com>
1744
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>
1748
1749         Reviewed by Geoffrey Garen.
1750
1751         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1752         (WebResourceLoadScheduler::createPingHandle):
1753         * WebCoreSupport/WebResourceLoadScheduler.h:
1754
1755 2017-08-16  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
1756
1757         [PAL] Move spi/ios and spi/win directories into PAL
1758         https://bugs.webkit.org/show_bug.cgi?id=175171
1759
1760         Reviewed by Antti Koivisto.
1761
1762         * Storage/StorageTracker.cpp:
1763
1764 2017-08-10  Dan Bernstein  <mitz@apple.com>
1765
1766         Restored svn:ignore values that went missing when the project got renamed.
1767
1768         * WebKitLegacy.xcodeproj: Added property svn:ignore.
1769
1770 2017-08-10  Chris Dumez  <cdumez@apple.com>
1771
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>
1775
1776         Reviewed by Youenn Fablet.
1777
1778         Update createPingHandle() to take in ContentSecurityPolicy
1779         object in but no behavior change for WK1.
1780
1781         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1782         (WebResourceLoadScheduler::createPingHandle):
1783         * WebCoreSupport/WebResourceLoadScheduler.h:
1784
1785 2017-08-08  Chris Dumez  <cdumez@apple.com>
1786
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>
1790
1791         Reviewed by Youenn Fablet.
1792
1793         createPingHandle() now takes new parameters but there is currently no behavior
1794         change on WebKit1.
1795
1796         * WebCoreSupport/WebResourceLoadScheduler.cpp:
1797         (WebResourceLoadScheduler::createPingHandle):
1798         * WebCoreSupport/WebResourceLoadScheduler.h:
1799
1800 2017-08-03  Per Arne Vollan  <pvollan@apple.com>
1801
1802         [Win] WebKit COM header file is not placed in the correct location.
1803         https://bugs.webkit.org/show_bug.cgi?id=175101
1804
1805         Reviewed by Brent Fulgham.
1806
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
1809         same place.
1810
1811         * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1812
1813 2017-08-02  Matthew Hanson  <matthew_hanson@apple.com>
1814
1815         Build-fix for Windows in Visual Studio after directory rename.
1816
1817         Reviewed by Per Arne Vollan.
1818
1819         * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1820         We still build WebKit.dll, not WebKitLegacy.dll.
1821
1822 2017-07-31  Sam Weinig  <sam@webkit.org>
1823
1824         Remove unnecessary exceptions from storage code
1825         https://bugs.webkit.org/show_bug.cgi?id=174572
1826
1827         Reviewed by Chris Dumez.
1828
1829         * Storage/StorageAreaImpl.cpp:
1830         (WebKit::StorageAreaImpl::canAccessStorage): Deleted.
1831         * Storage/StorageAreaImpl.h:
1832         Remove canAccessStorage. It is no longer called.
1833
1834 2017-07-14  Filip Pizlo  <fpizlo@apple.com>
1835
1836         It should be easy to decide how WebKit yields
1837         https://bugs.webkit.org/show_bug.cgi?id=174298
1838
1839         Reviewed by Saam Barati.
1840
1841         * Storage/StorageTracker.h:
1842
1843 2017-07-21  Konstantin Tokarev  <annulen@yandex.ru>
1844
1845         Unreviewed, fix Mac cmake build after r219733
1846
1847         * PlatformMac.cmake:
1848
1849 2017-07-21  Konstantin Tokarev  <annulen@yandex.ru>
1850
1851         [cmake][Mac] Unreviewed, fix linking WebKitSystemInterface
1852
1853         After r219560 link_directories() in PlatformXXX.cmake files does not
1854         affect corresponding targets.
1855
1856         * PlatformMac.cmake:
1857
1858 2017-07-21  Brady Eidson  <beidson@apple.com>
1859
1860         Get rid of WebCore IconDatabase code.
1861         https://bugs.webkit.org/show_bug.cgi?id=174700
1862
1863         Reviewed by Tim Horton.
1864
1865         * WebKitLegacy.xcodeproj/project.pbxproj:
1866
1867 2017-07-17  Konstantin Tokarev  <annulen@yandex.ru>
1868
1869         [cmake] Set library types before their targets are created
1870         https://bugs.webkit.org/show_bug.cgi?id=174600
1871
1872         Reviewed by Michael Catanzaro.
1873
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.
1878
1879         * PlatformMac.cmake:
1880         * PlatformWin.cmake:
1881
1882 2017-07-17  Darin Adler  <darin@apple.com>
1883
1884         Improve use of NeverDestroyed
1885         https://bugs.webkit.org/show_bug.cgi?id=174348
1886
1887         Reviewed by Sam Weinig.
1888
1889         * Storage/StorageThread.cpp:
1890         (WebCore::StorageThread::releaseFastMallocFreeMemoryInAllThreads):
1891         Simplify code by using a modern for loop and passing a function without wrapping
1892         it in a lambda.
1893
1894 2017-07-17  Michael Catanzaro  <mcatanzaro@igalia.com>
1895
1896         [CMake] Macros in WebKitMacros.cmake should be prefixed with WEBKIT_ namespace
1897         https://bugs.webkit.org/show_bug.cgi?id=174547
1898
1899         Reviewed by Alex Christensen.
1900
1901         * CMakeLists.txt:
1902
1903 2017-07-17  Konstantin Tokarev  <annulen@yandex.ru>
1904
1905         [CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
1906         https://bugs.webkit.org/show_bug.cgi?id=174557
1907
1908         Reviewed by Michael Catanzaro.
1909
1910         * CMakeLists.txt:
1911
1912 2017-07-14  Jonathan Bedard  <jbedard@apple.com>
1913
1914         Add iOS 11 SPI
1915         https://bugs.webkit.org/show_bug.cgi?id=174430
1916         <rdar://problem/33269288>
1917
1918         Reviewed by Tim Horton.
1919
1920         * Storage/StorageTracker.cpp: sqlite3_private.h no longer exists in the iOS
1921         Simulator SDK, explicitly define the required macro.
1922
1923 2017-07-13  Dan Bernstein  <mitz@apple.com>
1924
1925         Removed empty project directories left behind after the rename
1926
1927         * WebKit.vcxproj: Removed.
1928         * WebKit.xcodeproj: Removed.
1929
1930 2017-07-05  Matthew Hanson  <matthew_hanson@apple.com>
1931
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
1935
1936         Reviewed by Dan Bernstein.
1937
1938         Rename WebKit to WebKitLegacy.
1939
1940         * WebKitLegacy.vcxproj/WebKitLegacy.proj: Renamed from Source/WebKitLegacy/WebKit.vcxproj/WebKit.proj.
1941
1942 2017-07-05  Matthew Hanson  <matthew_hanson@apple.com>
1943
1944         Update the Xcode project name from WebKit to WebKitLegacy.
1945         https://bugs.webkit.org/show_bug.cgi?id=174162
1946         rdar://problem/33137594
1947
1948         Reviewed by Dan Bernstein.
1949
1950         Rename WebKit to WebKitLegacy.
1951
1952         * WebKitLegacy.xcodeproj/project.pbxproj: Renamed from Source/WebKitLegacy/WebKit.xcodeproj/project.pbxproj.
1953
1954 2017-07-10  Per Arne Vollan  <pvollan@apple.com>
1955
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>
1959
1960         Reviewed by Brent Fulgham.
1961
1962         WTF_CPU_X86 cmake variable needs to be set for link libraries directories to be correct.
1963
1964         * WebKit.vcxproj/WebKit.proj:
1965
1966 2017-07-05  Don Olmstead  <don.olmstead@sony.com>
1967
1968         [WinCairo] Consolidate CMake code related to CURL
1969         https://bugs.webkit.org/show_bug.cgi?id=170860
1970
1971         Reviewed by Alex Christensen.
1972
1973         * PlatformWin.cmake:
1974
1975 2017-06-26  Yusuke Suzuki  <utatane.tea@gmail.com>
1976
1977         [WTF] Drop Thread::create(obsolete things) API since we can use lambda
1978         https://bugs.webkit.org/show_bug.cgi?id=173825
1979
1980         Reviewed by Saam Barati.
1981
1982         * Storage/StorageThread.cpp:
1983         (WebCore::StorageThread::start):
1984         (WebCore::StorageThread::threadEntryPointCallback): Deleted.
1985         * Storage/StorageThread.h:
1986
1987 2017-06-16  Alex Christensen  <achristensen@webkit.org>
1988
1989         Fix Visual Studio 2017 64-bit build after r218258
1990         https://bugs.webkit.org/show_bug.cgi?id=173308
1991
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.
1995
1996 2017-06-14  Fujii Hironori  <Hironori.Fujii@sony.com>
1997
1998         [Win64] Fails to build Asm.lib (PaintHooks.asm) since Bug 173132
1999         https://bugs.webkit.org/show_bug.cgi?id=173308
2000
2001         Reviewed by Alex Christensen.
2002
2003         Use the same method to process asm file as well as JSC does (Bug 170833).
2004
2005         * PlatformWin.cmake: Use add_custom_command to assemble PaintHooks.asm.
2006
2007 2017-06-09  Per Arne Vollan  <pvollan@apple.com>
2008
2009         [Win64] Build error when compiling PaintHooks.asm.
2010         https://bugs.webkit.org/show_bug.cgi?id=173132
2011
2012         Reviewed by Brent Fulgham.
2013
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.
2017         
2018         * PlatformWin.cmake:
2019
2020 2017-06-06  Yoav Weiss  <yoav@yoav.ws>
2021
2022         [preload] Conditional support for media preloading and align media `as` values.
2023         https://bugs.webkit.org/show_bug.cgi?id=172501
2024
2025         Reviewed by Dean Jackson.
2026
2027         Add media preloading preference and hook it up to runtime enabled features.
2028
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.
2044
2045 2017-05-22  Don Olmstead  <don.olmstead@am.sony.com>
2046
2047         [Win][CMake] Move MSVC compiler options to a common location
2048         https://bugs.webkit.org/show_bug.cgi?id=172230
2049
2050         Reviewed by Yusuke Suzuki.
2051
2052         * PlatformWin.cmake:
2053
2054 2017-04-20  Konstantin Tokarev  <annulen@yandex.ru>
2055
2056         [cmake] Define FORWARDING_HEADERS_DIR in WebKitFS and use it everywhere
2057         https://bugs.webkit.org/show_bug.cgi?id=171071
2058
2059         Reviewed by Michael Catanzaro.
2060
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.
2064
2065         * CMakeLists.txt:
2066         * PlatformMac.cmake:
2067         * PlatformWin.cmake:
2068
2069 2017-04-12  Brady Eidson  <beidson@apple.com>
2070
2071         QuotaExceededError when saving to localStorage in private mode.
2072         https://bugs.webkit.org/show_bug.cgi?id=157010
2073
2074         Reviewed by Alex Christensen.
2075
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:
2083
2084         * Storage/WebStorageNamespaceProvider.cpp:
2085         (WebKit::WebStorageNamespaceProvider::createEphemeralLocalStorageNamespace):
2086         * Storage/WebStorageNamespaceProvider.h:
2087
2088 2017-04-12  Yusuke Suzuki  <utatane.tea@gmail.com>
2089
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
2092
2093         Reviewed by Mark Lam.
2094
2095         Mechanical change. Use Thread:: APIs.
2096
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:
2104
2105 2017-04-10  Chris Dumez  <cdumez@apple.com>
2106
2107         Drop Timer::startOneShot() overload taking a double
2108         https://bugs.webkit.org/show_bug.cgi?id=170659
2109
2110         Reviewed by Yusuke Suzuki.
2111
2112         Drop Timer::startOneShot() overload taking a double as people should use Seconds type now.
2113
2114         * Storage/StorageAreaSync.cpp:
2115         * Storage/StorageTracker.cpp:
2116         (WebKit::StorageTracker::StorageTracker):
2117         * Storage/StorageTracker.h:
2118         (WebKit::StorageTracker::storageDatabaseIdleInterval):
2119         (WebKit::StorageTracker::setStorageDatabaseIdleInterval):
2120
2121 2017-04-09  Chris Dumez  <cdumez@apple.com>
2122
2123         Start dropping Timer API dealing with double
2124         https://bugs.webkit.org/show_bug.cgi?id=170649
2125
2126         Reviewed by Yusuke Suzuki.
2127
2128         Start dropping Timer API dealing with double as people should use Seconds now.
2129
2130         * WebCoreSupport/WebResourceLoadScheduler.cpp:
2131         (WebResourceLoadScheduler::scheduleServePendingRequests):
2132
2133 2017-04-06  Joseph Pecoraro  <pecoraro@apple.com>
2134
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
2137
2138         Reviewed by Youenn Fablet.
2139
2140         * WebCoreSupport/WebResourceLoadScheduler.h:
2141
2142 2017-04-05  Fujii Hironori  <Hironori.Fujii@sony.com>
2143
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
2146
2147         Reviewed by Per Arne Vollan.
2148
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.
2154
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
2158
2159 2017-03-31  Brady Eidson  <beidson@apple.com>
2160
2161         Clean up the "StorageType" enum.
2162         https://bugs.webkit.org/show_bug.cgi?id=170349
2163
2164         Reviewed by Tim Horton.
2165
2166         * Storage/StorageAreaImpl.cpp:
2167         (WebKit::StorageAreaImpl::dispatchStorageEvent):
2168         
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):
2176
2177 2017-03-27  JF Bastien  <jfbastien@apple.com>
2178
2179         make build fix for WebDefaultUIDelegate.m
2180         https://bugs.webkit.org/show_bug.cgi?id=170163
2181
2182         Unreviewed build fix.
2183
2184         * PlatformMac.cmake: WebDefaultUIDelegate.m was renamed
2185
2186 2017-03-24  Wenson Hsieh  <wenson_hsieh@apple.com>
2187
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>
2191
2192         Reviewed by Tim Horton.
2193
2194         See WebKit ChangeLog for more details. Renames WebDefaultUIDelegate.m => WebDefaultUIDelegate.mm.
2195
2196         * WebKit.xcodeproj/project.pbxproj:
2197
2198 2017-03-20  Dan Bernstein  <mitz@apple.com>
2199
2200         [Xcode] Incremental builds of WebKitLegacy are slow because of the Postprocess Headers phase
2201         https://bugs.webkit.org/show_bug.cgi?id=169861
2202
2203         Reviewed by Sam Weinig.
2204
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
2207           its output.
2208
2209 2017-03-15  Dean Jackson  <dino@apple.com>
2210
2211         Sort Xcode project files
2212         https://bugs.webkit.org/show_bug.cgi?id=169669
2213
2214         Reviewed by Antoine Quint.
2215
2216         * WebKit.xcodeproj/project.pbxproj:
2217
2218 2017-02-27  Aakash Jain  <aakash_jain@apple.com>
2219
2220         Enable SUPPORTS_TEXT_BASED_API in WebKitLegacy for iOS
2221         https://bugs.webkit.org/show_bug.cgi?id=168919
2222
2223         Reviewed by Tim Horton.
2224
2225         * WebKit.xcodeproj/project.pbxproj: Run scripts which are run for installhdrs phase for installapi phase as well.
2226
2227 2017-02-22  Aakash Jain  <aakash_jain@apple.com>
2228
2229         Export Objective-C symbols for variables in Webkit SPI
2230         https://bugs.webkit.org/show_bug.cgi?id=168758
2231
2232         Reviewed by Alexey Proskuryakov.
2233
2234         * WebKit.xcodeproj/project.pbxproj: Generating separate .exp file for i386 without _OBJC_IVAR symbols.
2235
2236 2017-02-21  Aakash Jain  <aakash_jain@apple.com>
2237
2238         Make WebKitStatisticsPrivate.h project header
2239         https://bugs.webkit.org/show_bug.cgi?id=168686
2240
2241         Reviewed by Alexey Proskuryakov.
2242
2243         * WebKit.xcodeproj/project.pbxproj:
2244
2245 2017-02-21  Commit Queue  <commit-queue@webkit.org>
2246
2247         Unreviewed, rolling out r212768.
2248         https://bugs.webkit.org/show_bug.cgi?id=168698
2249
2250         Rolling out since this would break other projects. (Requested
2251         by aakashjain on #webkit).
2252
2253         Reverted changeset:
2254
2255         "[iOS] Remove old WebKit1 MemoryMeasure helper."
2256         https://bugs.webkit.org/show_bug.cgi?id=168675
2257         http://trac.webkit.org/changeset/212768
2258
2259 2017-02-21  Andreas Kling  <akling@apple.com>
2260
2261         [iOS] Remove old WebKit1 MemoryMeasure helper.
2262         <https://webkit.org/b/168675>
2263
2264         Reviewed by Sam Weinig.
2265
2266         * WebKit.xcodeproj/project.pbxproj:
2267
2268 2017-02-21  JF Bastien  <jfbastien@apple.com>
2269
2270         Fix cmake build
2271         https://bugs.webkit.org/show_bug.cgi?id=168665
2272
2273         Reviewed by Mark Lam.
2274
2275         It was broken by r212555 and r212681.
2276
2277         * PlatformMac.cmake:
2278
2279 2017-02-20  Alexey Proskuryakov  <ap@apple.com>
2280
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
2284
2285         Reviewed by Tim Horton.
2286
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.
2290
2291 2017-02-20  Alexey Proskuryakov  <ap@apple.com>
2292
2293         Clean up how WebKit exports _WebCreateFragment
2294         https://bugs.webkit.org/show_bug.cgi?id=168579
2295
2296         Reviewed by Dan Bernstein.
2297
2298         * WebKit.xcodeproj/project.pbxproj: Added WebCreateFragmentInternal.h.
2299
2300 2017-02-15  Brady Eidson  <beidson@apple.com>
2301
2302         Stop backing up localStorage databases to iCloud by default.
2303         <rdar://problem/29045531> and https://bugs.webkit.org/show_bug.cgi?id=168388
2304
2305         Reviewed by Geoffrey Garen.
2306
2307         * WebKit.xcodeproj/project.pbxproj:
2308
2309 2017-02-15  Aakash Jain  <aakash_jain@apple.com>
2310
2311         revert DOMTextEvent.h and DOMHTMLCanvasElement.h to private header
2312         https://bugs.webkit.org/show_bug.cgi?id=168393
2313
2314         Reviewed by Dan Bernstein.
2315         
2316         Reverting a seemingly accidental change from r204717.
2317
2318         * WebKit.xcodeproj/project.pbxproj:
2319
2320 2017-02-09  Alex Christensen  <achristensen@webkit.org>
2321
2322         Fix CMake build.
2323
2324         * PlatformMac.cmake:
2325
2326 2017-02-07  Alexey Proskuryakov  <ap@apple.com>
2327
2328         Don't migrate WebKit DOM headers in MigrateHeaders.make
2329         https://bugs.webkit.org/show_bug.cgi?id=167608
2330
2331         Reviewed by Darin Adler.
2332
2333         Stop migrating DOM headers that are now in WebKit.
2334
2335         * WebKit.xcodeproj/project.pbxproj: Marked DOM headers as private, so that Xcode
2336         takes care of making them available as SPI.
2337
2338 2017-02-02  Yongjun Zhang  <yongjun_zhang@apple.com>
2339
2340         In iOS, we should take background assertion when accessing localstorage databases.
2341         https://bugs.webkit.org/show_bug.cgi?id=165478
2342
2343         Reviewed by Brady Eidson.
2344
2345         * WebKit.xcodeproj/project.pbxproj: Moved WebSQLiteDatabaseTrackerClient to WebCore.
2346
2347 2017-01-17  Antti Koivisto  <antti@apple.com>
2348
2349         Persist derived data
2350         https://bugs.webkit.org/show_bug.cgi?id=167136
2351
2352         Reviewed by Andreas Kling.
2353
2354         * WebCoreSupport/WebResourceLoadScheduler.h:
2355
2356 2017-01-05  Per Arne Vollan  <pvollan@apple.com>
2357
2358         [Win] Compile error.
2359         https://bugs.webkit.org/show_bug.cgi?id=166726
2360
2361         Add include folder.
2362
2363         * CMakeLists.txt:
2364
2365 2016-12-22  Andy Estes  <aestes@apple.com>
2366
2367         Reduce QuickLook.h include overhead
2368         https://bugs.webkit.org/show_bug.cgi?id=166454
2369
2370         Reviewed by Andreas Kling.
2371
2372         * WebCoreSupport/WebResourceLoadScheduler.cpp: Stopped including QuickLook.h.
2373
2374 2016-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
2375
2376         Sort Xcode project files
2377         https://bugs.webkit.org/show_bug.cgi?id=165937
2378
2379         Reviewed by Simon Fraser.
2380
2381         * WebKit.xcodeproj/project.pbxproj:
2382
2383 2016-12-10  Konstantin Tokarev  <annulen@yandex.ru>
2384
2385         Unreviewed attempt to fix cmake build of Mac port after r209665.
2386
2387         * PlatformMac.cmake: Avoid using relative path in
2388         WebKit_INCLUDE_DIRECTORIES.
2389
2390 2016-12-10  Konstantin Tokarev  <annulen@yandex.ru>
2391
2392         [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them
2393         https://bugs.webkit.org/show_bug.cgi?id=165686
2394
2395         Reviewed by Michael Catanzaro.
2396
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).
2400
2401         * CMakeLists.txt:
2402         * PlatformMac.cmake:
2403         * PlatformWin.cmake:
2404
2405 2016-12-05  Csaba Osztrogonác  <ossy@webkit.org>
2406
2407         Unreviewed cmake buildfix after r209252.
2408
2409         * PlatformMac.cmake:
2410
2411 2016-12-02  Chris Dumez  <cdumez@apple.com>
2412
2413         [Mac][WK1] Implement new HTML interactive form validation user interface
2414         https://bugs.webkit.org/show_bug.cgi?id=164483
2415
2416         Reviewed by Simon Fraser.
2417
2418         Add new files to xcode project.
2419
2420         * WebKit.xcodeproj/project.pbxproj:
2421
2422 2016-11-17  Yusuke Suzuki  <utatane.tea@gmail.com>
2423
2424         [JSC] WTF::TemporaryChange with WTF::SetForScope
2425         https://bugs.webkit.org/show_bug.cgi?id=164761
2426
2427         Reviewed by Saam Barati.
2428
2429         * WebCoreSupport/WebResourceLoadScheduler.cpp:
2430
2431 2016-11-14  Alex Christensen  <achristensen@webkit.org>
2432
2433         Move SecurityOrigin::createFromDatabaseIdentifier to SecurityOriginData
2434         https://bugs.webkit.org/show_bug.cgi?id=164720
2435
2436         Reviewed by Brady Eidson.
2437
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:
2455
2456 2016-11-11  Wenson Hsieh  <wenson_hsieh@apple.com>
2457
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>
2461
2462         Reviewed by Ryosuke Niwa.
2463
2464         Introduce WebAutocapitalizeTypes.h to WebKit.
2465
2466         * WebKit.xcodeproj/project.pbxproj:
2467
2468 2016-11-10  Alex Christensen  <achristensen@webkit.org>
2469
2470         Move SecurityOrigin::databaseIdentifier() to SecurityOriginData
2471         https://bugs.webkit.org/show_bug.cgi?id=164573
2472
2473         Reviewed by Brady Eidson.
2474
2475         * Storage/StorageAreaImpl.cpp:
2476         (WebKit::StorageAreaImpl::create):
2477         * Storage/StorageTracker.cpp:
2478         (WebKit::StorageTracker::deleteOrigin):
2479         (WebKit::StorageTracker::diskUsageForOrigin):
2480
2481 2016-11-09  Alex Christensen  <achristensen@webkit.org>
2482
2483         Clean up Storage code
2484         https://bugs.webkit.org/show_bug.cgi?id=164562
2485
2486         Reviewed by Brady Eidson.
2487
2488         Some classes were in WebCore namespace instead of WebKit.
2489
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):
2608
2609 2016-11-02  Per Arne Vollan  <pvollan@apple.com>
2610
2611         [Win] Copy build results to AAS 'Program Files' folder.
2612         https://bugs.webkit.org/show_bug.cgi?id=164273
2613
2614         Reviewed by Brent Fulgham.
2615
2616         The preferred location for the binaries is the AAS 'Program Files' folder.
2617
2618         * WebKit.vcxproj/WebKit.proj:
2619
2620 2016-10-25  Konstantin Tokarev  <annulen@yandex.ru>
2621
2622         [cmake] Check if jscLib and WebKitGUID targets exist before using them
2623         https://bugs.webkit.org/show_bug.cgi?id=163945
2624
2625         Reviewed by Alex Christensen.
2626
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
2630
2631         * CMakeLists.txt:
2632
2633 2016-10-24  Per Arne Vollan  <pvollan@apple.com>
2634
2635         [Win] CMake build type is not set.
2636         https://bugs.webkit.org/show_bug.cgi?id=163917
2637
2638         Reviewed by Alex Christensen.
2639
2640         The CMAKE_BUILD_TYPE variable should be set to Debug or Release.
2641
2642         * WebKit.vcxproj/WebKit.proj:
2643
2644 2016-10-19  Alex Christensen  <achristensen@webkit.org>
2645
2646         Revert r207151
2647         https://bugs.webkit.org/show_bug.cgi?id=163675
2648
2649         Reviewed by Brent Fulgham.
2650
2651         * WebCoreSupport/WebResourceLoadScheduler.cpp:
2652         (WebResourceLoadScheduler::scheduleLoad):
2653
2654 2016-10-14  Alex Christensen  <achristensen@webkit.org>
2655
2656         Fix CMake build.
2657
2658         * PlatformMac.cmake:
2659
2660 2016-10-13  Anders Carlsson  <andersca@apple.com>
2661
2662         Move BackForwardList from WebCore to WebKitLegacy
2663         https://bugs.webkit.org/show_bug.cgi?id=163418
2664
2665         Reviewed by Tim Horton.
2666
2667         * WebKit.xcodeproj/project.pbxproj:
2668
2669 2016-10-12  Anders Carlsson  <andersca@apple.com>
2670
2671         Copy BackForwardList from WebCore to WebKit/win
2672         https://bugs.webkit.org/show_bug.cgi?id=163360
2673
2674         Reviewed by Alex Christensen.
2675
2676         This is the first step towards getting rid of BackForwardList in WebCore.
2677
2678         * PlatformWin.cmake:
2679         Add new files.
2680
2681 2016-10-11  Alex Christensen  <achristensen@webkit.org>
2682
2683         Remove dead networking code
2684         https://bugs.webkit.org/show_bug.cgi?id=163263
2685
2686         Reviewed by Daniel Bates.
2687
2688         * WebCoreSupport/WebResourceLoadScheduler.cpp:
2689         (WebResourceLoadScheduler::scheduleLoad):
2690
2691 2016-10-06  Brent Fulgham  <bfulgham@apple.com>
2692
2693         Unreviewed build fix when building with Direct2D.
2694
2695         * PlatformWin.cmake: Add missing library references.
2696
2697 2016-10-05  Daniel Bates  <dabates@apple.com>
2698
2699         Do not follow redirects when sending violation report
2700         https://bugs.webkit.org/show_bug.cgi?id=162520
2701         <rdar://problem/27957639>
2702
2703         Reviewed by Alex Christensen.
2704
2705         Update implementation of legacy WebKit loader strategy to pass through a boolean,
2706         shouldFollowRedirects, to PingHandle as to whether to follow redirect responses
2707         for a ping request.
2708
2709         * WebCoreSupport/WebResourceLoadScheduler.cpp:
2710         (WebResourceLoadScheduler::createPingHandle):
2711         * WebCoreSupport/WebResourceLoadScheduler.h:
2712
2713 2016-09-20  Don Olmstead  <don.olmstead@am.sony.com>
2714
2715         [WinCairo] Use find_package cairo in build
2716         https://bugs.webkit.org/show_bug.cgi?id=162239
2717
2718         Reviewed by Alex Christensen.
2719
2720         * PlatformWin.cmake:
2721
2722 2016-09-12  Brent Fulgham  <bfulgham@apple.com>
2723
2724         [Win][Direct2D] Provide Direct2D-based geometry and transform cast operations
2725         https://bugs.webkit.org/show_bug.cgi?id=161818
2726
2727         Reviewed by Dean Jackson.
2728
2729         * PlatformWin.cmake: Link to Direct2D on Windows.
2730
2731 2016-09-06  Dan Bernstein  <mitz@apple.com>
2732
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
2735
2736         Reviewed by Tim Horton.
2737
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.
2742
2743 2016-08-25  Alex Christensen  <achristensen@webkit.org>
2744
2745         CMake build fix.
2746
2747         * PlatformMac.cmake:
2748         Availability was spelled wrong, resulting in a missing header.
2749
2750 2016-08-22  Alex Christensen  <achristensen@webkit.org>
2751
2752         Fix Mac CMake build after r204717.
2753
2754         * PlatformMac.cmake:
2755
2756 2016-08-22  Alex Christensen  <achristensen@webkit.org>
2757
2758         Mostly fix Mac CMake build after r204717.
2759
2760         * PlatformMac.cmake:
2761
2762 2016-08-22  Darin Adler  <darin@apple.com>
2763
2764         Move Objective-C DOM bindings from WebCore to legacy WebKit
2765         https://bugs.webkit.org/show_bug.cgi?id=160654
2766
2767         Reviewed by Alex Christensen.
2768
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.
2775
2776 2016-08-17  Myles C. Maxfield  <mmaxfield@apple.com>
2777
2778         [Cocoa] Migrate off of deprecated CoreGraphics API CGContextSelectFont() and CGContextShowTextAtPoint()
2779         https://bugs.webkit.org/show_bug.cgi?id=160895
2780
2781         Reviewed by Dean Jackson.
2782
2783         Link to the existing CoreText framework.
2784
2785         * PlatformWin.cmake:
2786
2787 2016-08-16  Hunseop Jeong  <hs85.jeong@samsung.com>
2788
2789         Unreviewed, CMake build fix
2790
2791         * PlatformMac.cmake:
2792
2793 2016-08-15  Anders Carlsson  <andersca@apple.com>
2794
2795         Remove OldWebAssertions.c
2796         https://bugs.webkit.org/show_bug.cgi?id=160862
2797
2798         Reviewed by Dan Bernstein.
2799
2800         * WebKit.xcodeproj/project.pbxproj:
2801
2802 2016-08-15  Anders Carlsson  <andersca@apple.com>
2803
2804         Remove WebKeyGenerator
2805         https://bugs.webkit.org/show_bug.cgi?id=160854
2806
2807         Reviewed by Dan Bernstein.
2808
2809         * WebKit.xcodeproj/project.pbxproj:
2810
2811 2016-08-15  Joseph Pecoraro  <pecoraro@apple.com>
2812
2813         Remove unused includes of wtf headers
2814         https://bugs.webkit.org/show_bug.cgi?id=160839
2815
2816         Reviewed by Alex Christensen.
2817
2818         * Storage/StorageSyncManager.h:
2819         * Storage/StorageThread.cpp:
2820         * Storage/StorageThread.h:
2821         * Storage/WebDatabaseProvider.cpp:
2822
2823 2016-08-08  Anders Carlsson  <andersca@apple.com>
2824
2825         Add a new PluginInfoProvider class, to replace PluginStrategy
2826         https://bugs.webkit.org/show_bug.cgi?id=160670
2827
2828         Reviewed by Sam Weinig.
2829
2830         Add new files.
2831
2832         * PlatformWin.cmake:
2833         * WebKit.xcodeproj/project.pbxproj:
2834
2835 2016-08-04  Alex Christensen  <achristensen@webkit.org>
2836
2837         [Mac][cmake] Fix the build after Objective-C bindings generator removal
2838         https://bugs.webkit.org/show_bug.cgi?id=160545
2839
2840         Reviewed by Alex Christensen.
2841
2842         * PlatformMac.cmake:
2843
2844 2016-07-26  Simon Fraser  <simon.fraser@apple.com>
2845
2846         Fix the Windows debug build.
2847         
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.
2850         
2851         For some reason this doesn't build on Windows debug, so just remove
2852         this logging for now.
2853
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.
2860
2861 2016-07-26  Simon Fraser  <simon.fraser@apple.com>
2862
2863         Sort the project files.
2864
2865         * WebKit.xcodeproj/project.pbxproj:
2866
2867 2016-07-26  Simon Fraser  <simon.fraser@apple.com>
2868
2869         Allow LOG macros to be used outside the namespace, and other logging cleanup
2870         https://bugs.webkit.org/show_bug.cgi?id=160216
2871
2872         Reviewed by Anders Carlsson.
2873
2874         Fix some issues with the LOG macros.
2875         
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).
2878         
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.
2881         
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.
2885         
2886         Finally unify "initializeLogChannels" and "initializeLoggingChannels" terminology everywhere.
2887
2888         * WebCoreSupport/WebResourceLoadScheduler.cpp:
2889
2890 2016-07-14  Alex Christensen  <achristensen@webkit.org>
2891
2892         Use SocketProvider to create SocketStreamHandles
2893         https://bugs.webkit.org/show_bug.cgi?id=159774
2894
2895         Reviewed by Alex Christensen.
2896
2897         * PlatformMac.cmake:
2898         * PlatformWin.cmake:
2899         * WebKit.xcodeproj/project.pbxproj:
2900
2901 2016-07-12  Per Arne Vollan  <pvollan@apple.com>
2902
2903         [Win] Fix for build error when trying to version stamp dll.
2904         https://bugs.webkit.org/show_bug.cgi?id=159692
2905
2906         Reviewed by Brent Fulgham.
2907
2908         Use correct path to version stamp script.
2909
2910         * CMakeLists.txt:
2911
2912 2016-07-12  Per Arne Vollan  <pvollan@apple.com>
2913
2914         [Win] DLLs are missing version information.
2915         https://bugs.webkit.org/show_bug.cgi?id=159349
2916
2917         Reviewed by Brent Fulgham.
2918
2919         Run perl version stamp utility.
2920
2921         * CMakeLists.txt:
2922
2923 2016-07-11  Commit Queue  <commit-queue@webkit.org>
2924
2925         Unreviewed, rolling out r203064.
2926         https://bugs.webkit.org/show_bug.cgi?id=159642
2927
2928         This change causes LayoutTest crashes on WK1 ASan (Requested
2929         by ryanhaddad on #webkit).
2930
2931         Reverted changeset:
2932
2933         "Use refs for ResourceLoaders"
2934         https://bugs.webkit.org/show_bug.cgi?id=159592
2935         http://trac.webkit.org/changeset/203064
2936
2937 2016-07-08  Alex Christensen  <achristensen@webkit.org>
2938
2939         Use refs for ResourceLoaders
2940         https://bugs.webkit.org/show_bug.cgi?id=159592
2941
2942         Reviewed by Chris Dumez.
2943
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.
2964
2965 2016-07-08  Commit Queue  <commit-queue@webkit.org>
2966
2967         Unreviewed, rolling out r202799.
2968         https://bugs.webkit.org/show_bug.cgi?id=159568
2969
2970         Caused build failure (Requested by perarne on #webkit).
2971
2972         Reverted changeset:
2973
2974         "[Win] DLLs are missing version information."
2975         https://bugs.webkit.org/show_bug.cgi?id=159349
2976         http://trac.webkit.org/changeset/202799
2977
2978 2016-07-07  Alex Christensen  <achristensen@webkit.org>
2979
2980         Use SocketProvider to create WebSocketChannels
2981         https://bugs.webkit.org/show_bug.cgi?id=158776
2982
2983         Reviewed by Brent Fulgham.
2984
2985         * PlatformMac.cmake:
2986         * PlatformWin.cmake:
2987         * WebKit.xcodeproj/project.pbxproj:
2988
2989 2016-07-03  Per Arne Vollan  <pvollan@apple.com>
2990
2991         [Win] DLLs are missing version information.
2992         https://bugs.webkit.org/show_bug.cgi?id=159349
2993
2994         Reviewed by Brent Fulgham.
2995
2996         WTF will generate autoversion.h in the prebuild step.
2997         Run the perl version stamp utility.
2998
2999         * CMakeLists.txt:
3000         * PlatformWin.cmake:
3001
3002 2016-06-21  Anders Carlsson  <andersca@apple.com>
3003
3004         Rename NoncopyableFunction to Function
3005         https://bugs.webkit.org/show_bug.cgi?id=158354
3006
3007         Reviewed by Chris Dumez.
3008
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:
3016
3017 2016-06-22  Anders Carlsson  <andersca@apple.com>
3018
3019         Move the WebKitLegacy Apple Pay code to the open source repository
3020         https://bugs.webkit.org/show_bug.cgi?id=159035
3021
3022         Reviewed by Tim Horton.
3023
3024         * WebKit.xcodeproj/project.pbxproj:
3025
3026 2016-06-20  Keith Rollin  <krollin@apple.com>
3027
3028         Remove RefPtr::release() and change calls sites to use WTFMove()
3029         https://bugs.webkit.org/show_bug.cgi?id=158369
3030
3031         Reviewed by Chris Dumez.
3032
3033         RefPtr::release() releases its managed pointer awkwardly. It's more
3034         direct and clearer to use WTFMove to transfer ownership of the managed
3035         pointer.
3036
3037         As part of this cleanup, also change a lot of explicit data types to
3038         'auto'.
3039
3040         * Storage/StorageAreaImpl.cpp:
3041         (WebCore::StorageAreaImpl::setItem):
3042         (WebCore::StorageAreaImpl::removeItem):
3043
3044 2016-06-13  Alex Christensen  <achristensen@webkit.org>
3045
3046         Add WebSocketProvider stub
3047         https://bugs.webkit.org/show_bug.cgi?id=158702
3048
3049         Reviewed by Brady Eidson.
3050
3051         * WebKit.xcodeproj/project.pbxproj:
3052
3053 2016-06-10  Alex Christensen  <achristensen@webkit.org>
3054
3055         Fix CMake build.
3056
3057         * PlatformMac.cmake:
3058
3059 2016-06-09  Alex Christensen  <achristensen@webkit.org>
3060
3061         Clean up WebKit.vcxproj directory after switching to CMake.
3062
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.
3078
3079 2016-06-07  Csaba Osztrogonác  <ossy@webkit.org>
3080
3081         [Mac][cmake] Unreviewed trivial buildfix after r201689. Just for fun.
3082
3083         * PlatformMac.cmake:
3084
3085 2016-06-04  Anders Carlsson  <andersca@apple.com>
3086
3087         Remove NPSPI that is no longer used
3088         https://bugs.webkit.org/show_bug.cgi?id=158384
3089
3090         Reviewed by Sam Weinig.
3091
3092         * WebKit.xcodeproj/project.pbxproj:
3093
3094 2016-06-03  Chris Dumez  <cdumez@apple.com>
3095
3096         Modernize a few more lambda captures
3097         https://bugs.webkit.org/show_bug.cgi?id=158370
3098
3099         Reviewed by Brady Eidson.
3100
3101         * Storage/StorageTracker.cpp:
3102         (WebCore::StorageTracker::deleteOrigin):
3103
3104 2016-06-03  Commit Queue  <commit-queue@webkit.org>
3105
3106         Unreviewed, rolling out r201663.
3107         https://bugs.webkit.org/show_bug.cgi?id=158374
3108
3109         Broke the Windows build (Requested by andersca on #webkit).
3110
3111         Reverted changeset:
3112
3113         "Rename NoncopyableFunction to Function"
3114         https://bugs.webkit.org/show_bug.cgi?id=158354
3115         http://trac.webkit.org/changeset/201663
3116
3117 2016-06-03  Anders Carlsson  <andersca@apple.com>
3118
3119         Rename NoncopyableFunction to Function
3120         https://bugs.webkit.org/show_bug.cgi?id=158354
3121
3122         Reviewed by Chris Dumez.
3123
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:
3131
3132 2016-06-02  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3133
3134         Use more references in ResourceLoader related code
3135         https://bugs.webkit.org/show_bug.cgi?id=158222
3136
3137         Reviewed by Darin Adler.
3138
3139         * WebCoreSupport/WebResourceLoadScheduler.cpp:
3140         (WebResourceLoadScheduler::loadResource):
3141         * WebCoreSupport/WebResourceLoadScheduler.h:
3142
3143 2016-05-28  Chris Dumez  <cdumez@apple.com>
3144
3145         Templatize NoncopyableFunction class similarly to std::function
3146         https://bugs.webkit.org/show_bug.cgi?id=158185
3147
3148         Reviewed by Darin Adler.
3149
3150         Templatize NoncopyableFunction class similarly to std::function, so
3151         that it can be used as a std::function replacement in more places.
3152
3153         Previously, NoncopyableFunction could only support "void()" lambdas.
3154
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:
3162
3163 2016-05-27  Chris Dumez  <cdumez@apple.com>
3164
3165         callOnMainThread() should not copy captured lambda variables
3166         https://bugs.webkit.org/show_bug.cgi?id=158166
3167
3168         Reviewed by Brady Eidson.
3169
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
3173         issues.
3174
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.
3179
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):
3193
3194 2016-05-25  Alex Christensen  <achristensen@webkit.org>
3195
3196         Fix CMake build.
3197
3198         * PlatformMac.cmake:
3199
3200 2016-05-18  Brady Eidson  <beidson@apple.com>
3201
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
3204
3205         Reviewed by Alex Christensen.
3206
3207         * Storage/WebDatabaseProvider.cpp:
3208         (WebDatabaseProvider::deleteAllDatabases):
3209         * Storage/WebDatabaseProvider.h:
3210
3211 2016-04-25  Per Arne Vollan  <peavo@outlook.com>
3212
3213         [Win][IndexedDB] Fix build errors.
3214         https://bugs.webkit.org/show_bug.cgi?id=156713
3215
3216         Reviewed by Alex Christensen.
3217
3218         Fix compile and link errors when building with IndexedDB enabled.
3219
3220         * PlatformWin.cmake:
3221
3222 2016-04-22  Brent Fulgham  <bfulgham@apple.com>
3223
3224         Unreviewed build fix after r199841.
3225
3226         * PlatformWin.cmake: Add missing WebApplicationCache.cpp buid directive.
3227
3228 2016-04-11  Fujii Hironori  <Hironori.Fujii@jp.sony.com>
3229
3230         [CMake] Make FOLDER property INHERITED
3231         https://bugs.webkit.org/show_bug.cgi?id=156460
3232
3233         Reviewed by Brent Fulgham.
3234
3235         * CMakeLists.txt:
3236         * PlatformWin.cmake:
3237         Set FOLDER property as a directory property not a target property
3238
3239 2016-04-08  Alex Christensen  <achristensen@webkit.org>
3240
3241         Progress towards running CMake WebKit2 on Mac
3242         https://bugs.webkit.org/show_bug.cgi?id=156426
3243
3244         Reviewed by Tim Horton.
3245
3246         * CMakeLists.txt:
3247         * PlatformMac.cmake:
3248         * PlatformWin.cmake:
3249
3250 2016-04-08  Konstantin Tokarev  <annulen@yandex.ru>
3251
3252         [cmake] Use ICU include dirs in WebKit.
3253         https://bugs.webkit.org/show_bug.cgi?id=156402
3254
3255         Reviewed by Brent Fulgham.
3256
3257         * CMakeLists.txt:
3258
3259 2016-04-07  Fujii Hironori  <Hironori.Fujii@jp.sony.com>
3260
3261         [CMake][Win] Generating autoversion.h of WebKitGUID is triggered again and again
3262         https://bugs.webkit.org/show_bug.cgi?id=156332
3263
3264         Reviewed by Brent Fulgham.
3265
3266         * PlatformWin.cmake:
3267         Correct the output path of autoversion.h.
3268
3269 2016-04-06  Alex Christensen  <achristensen@webkit.org>
3270
3271         Fix CMake DumpRenderTree
3272         https://bugs.webkit.org/show_bug.cgi?id=156305
3273
3274         Reviewed by Daniel Bates.
3275
3276         * PlatformMac.cmake:
3277
3278 2016-04-05  Alex Christensen  <achristensen@webkit.org>
3279
3280         Make CMake-generated binaries on Mac able to run
3281         https://bugs.webkit.org/show_bug.cgi?id=156268
3282
3283         Reviewed by Daniel Bates.
3284
3285         * CMakeLists.txt:
3286
3287 2016-04-01  Alex Christensen  <achristensen@webkit.org>
3288
3289         Compile DumpRenderTree with CMake on Mac
3290         https://bugs.webkit.org/show_bug.cgi?id=156088
3291
3292         Reviewed by Brent Fulgham.
3293
3294         * PlatformMac.cmake:
3295
3296 2016-03-28  Alex Christensen  <achristensen@webkit.org>
3297
3298         Fix Ninja build on Mac
3299         https://bugs.webkit.org/show_bug.cgi?id=151399
3300
3301         Reviewed by Darin Adler.
3302
3303         * PlatformWin.cmake:
3304
3305 2016-03-05  Chris Dumez  <cdumez@apple.com>
3306
3307         Consolidate RuntimeApplicationChecks and RuntimeApplicationChecksIOS
3308         https://bugs.webkit.org/show_bug.cgi?id=155035
3309
3310         Reviewed by Darin Adler.
3311
3312         Update runtime application checks.
3313
3314         * WebCoreSupport/WebResourceLoadScheduler.cpp:
3315         (WebResourceLoadScheduler::servePendingRequests):
3316
3317 2016-03-04  Alex Christensen  <achristensen@webkit.org>
3318
3319         Remove vcxproj build system
3320         https://bugs.webkit.org/show_bug.cgi?id=154388
3321
3322         Rubber-stamped by Brent Fulgham.
3323
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.
3353
3354 2016-03-01  Alex Christensen  <achristensen@webkit.org>
3355
3356         Reduce size of internal windows build output
3357         https://bugs.webkit.org/show_bug.cgi?id=154763
3358
3359         Reviewed by Brent Fulgham.
3360
3361         * WebKit.vcxproj/WebKit.proj:
3362
3363 2016-02-26  Konstantin Tokarev  <annulen@yandex.ru>
3364
3365         [cmake] Moved WebKit/Storage sources and include dir to CMakeLists.txt.
3366         https://bugs.webkit.org/show_bug.cgi?id=154722
3367
3368         Reviewed by Darin Adler.
3369
3370         This code provides port-independent layer used by all WK1 ports,
3371         so it belongs to main CMakeLists.txt, not Platform files.
3372
3373         * CMakeLists.txt:
3374         * PlatformMac.cmake:
3375         * PlatformWin.cmake:
3376
3377 2016-02-25  Brady Eidson  <beidson@apple.com>
3378
3379         Remove LegacyIDB.
3380         https://bugs.webkit.org/show_bug.cgi?id=150854
3381
3382         Reviewed by Alex Christensen.
3383
3384         * Storage/WebDatabaseProvider.cpp:
3385         (WebDatabaseProvider::createIDBFactoryBackend): Deleted.
3386         * Storage/WebDatabaseProvider.h:
3387
3388 2016-02-25  Brent Fulgham  <bfulgham@apple.com>
3389
3390         [Win][CMake] Don't use incremental linking
3391         https://bugs.webkit.org/show_bug.cgi?id=154684
3392         <rdar://problem/24747822>
3393
3394         Reviewed by Alex Christensen.
3395
3396         * PlatformWin.cmake: Make sure the "/INCREMENTAL:NO" flag is used
3397         (overriding "/INCREMENTAL:YES").
3398
3399 2016-02-22  Konstantin Tokarev  <annulen@yandex.ru>
3400
3401         [cmake] Moved library setup code to WEBKIT_FRAMEWORK macro.
3402         https://bugs.webkit.org/show_bug.cgi?id=154450
3403
3404         Reviewed by Alex Christensen.
3405
3406         * CMakeLists.txt:
3407
3408 2016-02-15  Alex Christensen  <achristensen@webkit.org>
3409
3410         Fix internal Windows build of projects built after WebKit
3411         https://bugs.webkit.org/show_bug.cgi?id=154249
3412         rdar://problem/24644805
3413
3414         Reviewed by Chris Dumez.
3415
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.
3421
3422 2016-02-12  Alex Christensen  <achristensen@webkit.org>
3423
3424         Fix internal Windows WebKit debug build.
3425         rdar://problem/24635219
3426
3427         * PlatformWin.cmake:
3428         We were making WebKit.dll instead of WebKit_debug.dll.
3429
3430 2016-02-11  Alex Christensen  <achristensen@webkit.org>
3431
3432         Fix internal Windows build.
3433         rdar://problem/24622882
3434
3435         * WebKit.vcxproj/WebKit.proj:
3436         Don't define DEBUG_SUFFIX in release builds.
3437
3438 2016-02-10  Alex Christensen  <achristensen@webkit.org>
3439
3440         Fix internal Windows build
3441         https://bugs.webkit.org/show_bug.cgi?id=154080
3442         rdar://problem/24584417
3443
3444         Reviewed by Brent Fulgham.
3445
3446         * CMakeLists.txt:
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.
3449
3450 2016-01-27  Anders Carlsson  <andersca@apple.com>
3451
3452         Add WebKitAdditions extension points to WebCore, WebKit and WebKitLegacy
3453         https://bugs.webkit.org/show_bug.cgi?id=153550
3454
3455         Reviewed by Sam Weinig.
3456
3457         * WebKit.xcodeproj/project.pbxproj:
3458         Add new files.
3459
3460 2016-01-27  Alex Christensen  <achristensen@webkit.org>
3461
3462         [Win] Clean build fix after r195680.
3463
3464         * PlatformWin.cmake:
3465         Use the post build command for the post build event.
3466
3467 2016-01-27  Alex Christensen  <achristensen@webkit.org>
3468
3469         Fix Win EWS after r195545.
3470         https://bugs.webkit.org/show_bug.cgi?id=153434
3471
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.
3475
3476 2016-01-25  Alex Christensen  <achristensen@webkit.org>
3477
3478         [Win] Copy forwarding headers before building a project
3479         https://bugs.webkit.org/show_bug.cgi?id=153434
3480
3481         Reviewed by Brent Fulgham.
3482
3483         * PlatformWin.cmake:
3484
3485 2016-01-22  Darin Adler  <darin@apple.com>
3486
3487         Reduce use of equalIgnoringCase to just ignore ASCII case
3488         https://bugs.webkit.org/show_bug.cgi?id=153266
3489
3490         Reviewed by Ryosuke Niwa.
3491
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.
3496
3497 2016-01-14  Brady Eidson  <beidson@apple.com>
3498
3499         Modern IDB: Support opening and deleting SQLite databases on disk.
3500         https://bugs.webkit.org/show_bug.cgi?id=153084
3501
3502         Reviewed by Alex Christensen, Sam Weinig and Andy Estes (oh my!).
3503
3504         * Storage/WebDatabaseProvider.cpp:
3505         (WebDatabaseProvider::idbConnectionToServerForSession):
3506         * Storage/WebDatabaseProvider.h:
3507
3508         * WebKit.xcodeproj/project.pbxproj:
3509
3510 2016-01-13  Chris Dumez  <cdumez@apple.com>
3511
3512         Unreviewed, rolling out r194900.
3513
3514         Roll back in as this did not actually regress PLT
3515
3516         Reverted changeset:
3517
3518         "Unreviewed, rolling out r194826."
3519         https://bugs.webkit.org/show_bug.cgi?id=153020
3520         http://trac.webkit.org/changeset/194900
3521
3522 2016-01-12  Commit Queue  <commit-queue@webkit.org>
3523
3524         Unreviewed, rolling out r194826.
3525         https://bugs.webkit.org/show_bug.cgi?id=153020
3526
3527         Appears to have regressed PLT (Requested by kling on #webkit).
3528
3529         Reverted changeset:
3530
3531         "Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL
3532         cont'd"
3533         https://bugs.webkit.org/show_bug.cgi?id=152902
3534         http://trac.webkit.org/changeset/194826
3535
3536 2016-01-10  Andreas Kling  <akling@apple.com>
3537
3538         Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL cont'd
3539         <https://webkit.org/b/152902>
3540
3541         Reviewed by Andy Estes.
3542
3543         * Storage/StorageThread.cpp:
3544         (WebCore::activeStorageThreads):
3545
3546 2015-12-31  Andy Estes  <aestes@apple.com>
3547
3548         Replace WTF::move with WTFMove
3549         https://bugs.webkit.org/show_bug.cgi?id=152601
3550
3551         Reviewed by Brady Eidson.
3552
3553         * Storage/StorageNamespaceImpl.cpp:
3554         (WebCore::StorageNamespaceImpl::storageArea):
3555
3556 2015-12-16  Alex Christensen  <achristensen@webkit.org>
3557
3558         Fix internal Windows build
3559         https://bugs.webkit.org/show_bug.cgi?id=152364
3560         rdar://problem/23928759
3561
3562         Reviewed by Tim Horton.
3563
3564         * WebKit.vcxproj/WebKit.proj:
3565
3566 2015-12-02  Antti Koivisto  <antti@apple.com>
3567
3568         Move ResourceLoadScheduler to WebKit1
3569         https://bugs.webkit.org/show_bug.cgi?id=151743
3570
3571         Reviewed by Alex Christensen.
3572
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.
3614         (WebCore::ResourceLoadScheduler::HostInformation::HostInformation): Deleted.
3615         (WebCore::ResourceLoadScheduler::HostInformation::~HostInformation): Deleted.
3616         (WebCore::ResourceLoadScheduler::HostInformation::priorityToIndex): Deleted.
3617         (WebCore::ResourceLoadScheduler::HostInformation::schedule): Deleted.
3618         (WebCore::ResourceLoadScheduler::HostInformation::addLoadInProgress): Deleted.
3619         (WebCore::ResourceLoadScheduler::HostInformation::remove): Deleted.
3620         (WebCore::ResourceLoadScheduler::HostInformation::hasRequests): Deleted.
3621         (WebCore::ResourceLoadScheduler::HostInformation::limitRequests): Deleted.
3622         * WebCoreSupport/WebResourceLoadScheduler.h: Copied from Source/WebCore/loader/ResourceLoadScheduler.h.
3623         (WebResourceLoadScheduler::isSerialLoadingEnabled):
3624         (WebResourceLoadScheduler::setSerialLoadingEnabled):
3625         (WebResourceLoadScheduler::HostInformation::name):
3626         (WebResourceLoadScheduler::HostInformation::requestsPending):
3627         (WebCore::ResourceLoadScheduler::isSerialLoadingEnabled): Deleted.
3628         (WebCore::ResourceLoadScheduler::setSerialLoadingEnabled): Deleted.
3629         (WebCore::ResourceLoadScheduler::Suspender::Suspender): Deleted.
3630         (WebCore::ResourceLoadScheduler::Suspender::~Suspender): Deleted.
3631         (WebCore::ResourceLoadScheduler::HostInformation::name): Deleted.
3632         (WebCore::ResourceLoadScheduler::HostInformation::requestsPending): Deleted.
3633         * WebKit.xcodeproj/project.pbxproj:
3634
3635 2015-10-29  Alex Christensen  <achristensen@webkit.org>
3636
3637         Make WebCore a framework in Mac CMake build
3638         https://bugs.webkit.org/show_bug.cgi?id=150702
3639
3640         Reviewed by Geoffrey Garen.
3641
3642         * PlatformMac.cmake:
3643
3644 2015-10-29  Alex Christensen  <achristensen@webkit.org>
3645
3646         Fix Mac CMake build
3647         https://bugs.webkit.org/show_bug.cgi?id=150686
3648
3649         Reviewed by Filip Pizlo.
3650
3651         * CMakeLists.txt:
3652         * PlatformMac.cmake:
3653
3654 2015-10-28  Alex Christensen  <achristensen@webkit.org>
3655
3656         Compile and link with CMake on Mac
3657         https://bugs.webkit.org/show_bug.cgi?id=150632
3658
3659         Reviewed by Tim Horton.
3660
3661         * PlatformMac.cmake:
3662
3663 2015-10-23  Alex Christensen  <achristensen@webkit.org>
3664
3665         Progress towards CMake on Mac
3666         https://bugs.webkit.org/show_bug.cgi?id=150517
3667
3668         Reviewed by Tim Horton.
3669
3670         * PlatformMac.cmake:
3671
3672 2015-10-18  Sungmann Cho  <sungmann.cho@navercorp.com>
3673
3674         Fix the builds with ENABLE_INDEX_DATABASE=OFF.
3675         https://bugs.webkit.org/show_bug.cgi?id=150301
3676
3677         Reviewed by Darin Adler.
3678
3679         Add missing #if ENABLE(INDEXED_DATABASE).
3680
3681         * Storage/WebDatabaseProvider.h:
3682
3683 2015-10-01  Brent Fulgham  <bfulgham@apple.com>
3684
3685         [Win] Another CMake build fix
3686
3687         * PlatformWin.cmake: Add missing Psapi.lib to link list.
3688
3689 2015-10-01  Brent Fulgham  <bfulgham@apple.com>
3690
3691         [Win] Unreviewed CMake build fixes.
3692
3693         * CMakeLists.txt: Set the same build definitions as the original
3694         project file.
3695         * PlatformWin.cmake: Remove some soft-linked files from the static
3696         link commands. Set build flags to match original project files.
3697
3698 2015-09-28  Brady Eidson  <beidson@apple.com>
3699
3700         Add an IDB Server that can roundtrip a request back to the client.
3701         https://bugs.webkit.org/show_bug.cgi?id=149603
3702
3703         Reviewed by Alex Christensen.
3704
3705         * Storage/WebDatabaseProvider.cpp:
3706         (WebDatabaseProvider::idbConnectionToServerForSession):
3707         * Storage/WebDatabaseProvider.h:
3708
3709 2015-09-25  Alex Christensen  <achristensen@webkit.org>
3710
3711         Clean up CMake build on Mac
3712         https://bugs.webkit.org/show_bug.cgi?id=149573
3713
3714         Reviewed by Chris Dumez.
3715
3716         * PlatformMac.cmake:
3717
3718 2015-09-25  Alex Christensen  <achristensen@webkit.org>
3719
3720         [Win] Switch to CMake
3721         https://bugs.webkit.org/show_bug.cgi?id=148111
3722
3723         Reviewed by Brent Fulgham.
3724
3725         * WebKit.vcxproj/WebKit.proj:
3726
3727 2015-09-24  Ryosuke Niwa  <rniwa@webkit.org>
3728
3729         Ran sort-Xcode-project-file.
3730
3731         * WebKit.xcodeproj/project.pbxproj:
3732
3733 2015-09-21  Brent Fulgham  <bfulgham@apple.com>
3734
3735         [Win] Unreviewed build fix.
3736
3737         * WebKit.vcxproj/WebKit/WebKitApple.props: We need to link against
3738         libdispatch on Windows.
3739
3740 2015-09-19  Alex Christensen  <achristensen@webkit.org>
3741
3742         Fix Windows tests after r189934.
3743
3744         * CMakeLists.txt:
3745         Include WebKit.rc to include resources like missingImage.png in WebKit.dll.
3746
3747 2015-09-15  Brady Eidson  <beidson@apple.com>
3748
3749         Add empty IDBFactory implementation for Modern IDB.
3750         https://bugs.webkit.org/show_bug.cgi?id=149191
3751
3752         Reviewed by Jer Noble.
3753
3754         * Storage/WebDatabaseProvider.h:
3755
3756 2015-09-14  Alex Christensen  <achristensen@webkit.org>
3757
3758         Progress towards CMake on Mac.
3759         https://bugs.webkit.org/show_bug.cgi?id=149123
3760
3761         Reviewed by Chris Dumez.
3762
3763         * CMakeLists.txt:
3764         * PlatformMac.cmake:
3765         Added more sources, make non-c99 sources compile as objc++
3766         * PlatformWin.cmake:
3767         Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share.
3768
3769 2015-09-13  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3770
3771         Remove all uses of PassRefPtr in crypto, storage, and history
3772         https://bugs.webkit.org/show_bug.cgi?id=149091
3773
3774         Reviewed by Andreas Kling.
3775
3776         * Storage/StorageNamespaceImpl.cpp:
3777         (WebCore::StorageNamespaceImpl::storageArea):
3778         * Storage/StorageNamespaceImpl.h:
3779
3780 2015-08-27  Alex Christensen  <achristensen@webkit.org>
3781
3782         Isolate Source directories in CMake build
3783         https://bugs.webkit.org/show_bug.cgi?id=148389
3784
3785         Reviewed by Brent Fulgham.
3786
3787         * PlatformWin.cmake:
3788         Moved WebKitVersion.h generation from WebCore because the scripts required for it are in WebKit.
3789
3790 2015-08-27  Timothy Horton  <timothy_horton@apple.com>
3791
3792         Factor out Lookup invocation
3793         https://bugs.webkit.org/show_bug.cgi?id=148509
3794
3795         Reviewed by Anders Carlsson.
3796
3797         * WebKit.xcodeproj/project.pbxproj:
3798
3799 2015-08-26  Brent Fulgham  <bfulgham@apple.com>
3800
3801         Correct build after r188982.
3802
3803         * WebKit.vcxproj/WebKit.sln:
3804
3805 2015-08-20  Alex Christensen  <achristensen@webkit.org>
3806
3807         Clean up CMake build after r188673
3808         https://bugs.webkit.org/show_bug.cgi?id=148234
3809
3810         Reviewed by Tim Horton.
3811
3812         * PlatformWin.cmake:
3813         Include ANGLE forwarding headers directories.
3814
3815 2015-08-19  Alex Christensen  <achristensen@webkit.org>
3816
3817         CMake Windows build should not include files directly from other Source directories
3818         https://bugs.webkit.org/show_bug.cgi?id=148198
3819
3820         Reviewed by Brent Fulgham.
3821
3822         * CMakeLists.txt:
3823         * PlatformWin.cmake:
3824
3825 2015-08-19  Brent Fulgham  <bfulgham@apple.com>
3826
3827         [Win] Replace MIDL [in/out] comments with equivalent SAL
3828         https://bugs.webkit.org/show_bug.cgi?id=148001
3829
3830         Reviewed by Tim Horton.
3831
3832         * WebKit.vcxproj/Interfaces/InterfacesCommon.props: Turn
3833         on SAL declarations in MIDL output.
3834
3835 2015-08-17  Filip Pizlo  <fpizlo@apple.com>
3836
3837         Replace all remaining uses of WTF::Mutex with WTF::Lock
3838         https://bugs.webkit.org/show_bug.cgi?id=148089
3839
3840         Reviewed by Geoffrey Garen.
3841
3842         * Storage/StorageAreaSync.cpp:
3843         (WebCore::StorageAreaSync::syncTimerFired):
3844         (WebCore::StorageAreaSync::markImported):
3845         (WebCore::StorageAreaSync::blockUntilImportComplete):
3846         (WebCore::StorageAreaSync::performSync):
3847         * Storage/StorageAreaSync.h:
3848         * Storage/StorageTracker.cpp:
3849         (WebCore::StorageTracker::setDatabaseDirectoryPath):
3850         (WebCore::StorageTracker::finishedImportingOriginIdentifiers):
3851         (WebCore::StorageTracker::syncImportOriginIdentifiers):
3852         (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
3853         (WebCore::StorageTracker::setOriginDetails):
3854         (WebCore::StorageTracker::syncSetOriginDetails):
3855         (WebCore::StorageTracker::origins):
3856         (WebCore::StorageTracker::deleteAllOrigins):
3857         (WebCore::StorageTracker::syncDeleteAllOrigins):
3858         (WebCore::StorageTracker::deleteOrigin):
3859         (WebCore::StorageTracker::syncDeleteOrigin):
3860         (WebCore::StorageTracker::canDeleteOrigin):
3861         (WebCore::StorageTracker::cancelDeletingOrigin):
3862         (WebCore::StorageTracker::diskUsageForOrigin):
3863         * Storage/StorageTracker.h:
3864
3865 2015-08-17  Alex Christensen  <achristensen@webkit.org>
3866
3867         [Win CMake] Allow WebKitLibraries directory to be set from the command line
3868         https://bugs.webkit.org/show_bug.cgi?id=148112
3869
3870         Reviewed by Brent Fulgham.
3871
3872         * PlatformWin.cmake:
3873         Don't use an environment variable for WEBKIT_LIBRARIES_DIR.  
3874
3875 2015-08-17  Alex Christensen  <achristensen@webkit.org>
3876
3877         Build Debug Suffix on Windows with CMake
3878         https://bugs.webkit.org/show_bug.cgi?id=148083
3879
3880         Reviewed by Brent Fulgham.
3881
3882         * CMakeLists.txt:
3883         * PlatformWin.cmake:
3884         Add DEBUG_SUFFIX
3885
3886 2015-08-17  Alex Christensen  <achristensen@webkit.org>
3887
3888         Move some commands from ./CMakeLists.txt to Source/cmake
3889         https://bugs.webkit.org/show_bug.cgi?id=148003
3890
3891         Reviewed by Brent Fulgham.
3892
3893         * CMakeLists.txt:
3894         Added some commands needed to build WebKit by itself.
3895
3896 2015-08-13  Commit Queue  <commit-queue@webkit.org>
3897
3898         Unreviewed, rolling out r188428.
3899         https://bugs.webkit.org/show_bug.cgi?id=148015
3900
3901         broke cmake build (Requested by alexchristensen on #webkit).
3902
3903         Reverted changeset:
3904
3905         "Move some commands from ./CMakeLists.txt to Source/cmake"
3906         https://bugs.webkit.org/show_bug.cgi?id=148003
3907         http://trac.webkit.org/changeset/188428
3908
3909 2015-08-13  Alex Christensen  <achristensen@webkit.org>
3910
3911         Move some commands from ./CMakeLists.txt to Source/cmake
3912         https://bugs.webkit.org/show_bug.cgi?id=148003
3913
3914         Reviewed by Brent Fulgham.
3915
3916         * CMakeLists.txt:
3917         Added some commands needed to build WebKit by itself.
3918
3919 2015-08-12  Alex Christensen  <achristensen@webkit.org>
3920
3921         Fix Debug CMake builds on Windows
3922         https://bugs.webkit.org/show_bug.cgi?id=147940
3923
3924         Reviewed by Chris Dumez.
3925
3926         * PlatformWin.cmake:
3927         We need /NODEFAULTLIB with the debug version of libraries, too.
3928
3929 2015-08-11  Brent Fulgham  <bfulgham@apple.com>
3930
3931         [Win] Switch Windows build to Visual Studio 2015
3932         https://bugs.webkit.org/show_bug.cgi?id=147887
3933         <rdar://problem/22235098>
3934
3935         Reviewed by Alex Christensen.
3936
3937         Update Visual Studio project file settings to use the current Visual
3938         Studio and compiler. Continue targeting binaries to run on our minimum
3939         supported configuration of Windows 7.
3940
3941         * WebKit.vcxproj/Interfaces/Interfaces.vcxproj:
3942         * WebKit.vcxproj/WebKit.sln:
3943         * WebKit.vcxproj/WebKit/WebKit.vcxproj:
3944         * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj:
3945
3946 2015-08-10  Alex Christensen  <achristensen@webkit.org>
3947
3948         Another build fix after r188239.
3949
3950         * PlatformWin.cmake:
3951         Link WinCairo with Media Foundation libraries.
3952
3953 2015-08-10  Alex Christensen  <achristensen@webkit.org>
3954
3955         Build TestWebKitAPI with CMake on Windows
3956         https://bugs.webkit.org/show_bug.cgi?id=147851
3957
3958         Reviewed by Chris Dumez.
3959
3960         * PlatformWin.cmake:
3961         WinCairo libraries conflict with LIBCMT.lib, AppleWin libraries conflict with MSVCRT.lib,
3962         so different /NODEFAULTLIB is needed to link WebKit.dll successfully.
3963
3964 2015-08-06  Alex Christensen  <achristensen@webkit.org>
3965
3966         [Win] Enable all Windows features in CMake
3967         https://bugs.webkit.org/show_bug.cgi?id=147744
3968
3969         Reviewed by Tim Horton.
3970
3971         * PlatformWin.cmake:
3972         Add some include directories needed for the newly enabled features.
3973
3974 2015-08-05  Filip Pizlo  <fpizlo@apple.com>
3975
3976         Unreviewed, roll out http://trac.webkit.org/changeset/187972.
3977
3978         * Storage/StorageAreaSync.cpp:
3979         (WebCore::StorageAreaSync::syncTimerFired):
3980         (WebCore::StorageAreaSync::markImported):
3981         (WebCore::StorageAreaSync::blockUntilImportComplete):
3982         (WebCore::StorageAreaSync::performSync):
3983         * Storage/StorageAreaSync.h:
3984         * Storage/StorageTracker.cpp:
3985         (WebCore::StorageTracker::setDatabaseDirectoryPath):
3986         (WebCore::StorageTracker::finishedImportingOriginIdentifiers):
3987         (WebCore::StorageTracker::syncImportOriginIdentifiers):
3988         (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
3989         (WebCore::StorageTracker::setOriginDetails):
3990         (WebCore::StorageTracker::syncSetOriginDetails):
3991         (WebCore::StorageTracker::origins):
3992         (WebCore::StorageTracker::deleteAllOrigins):
3993         (WebCore::StorageTracker::syncDeleteAllOrigins):
3994         (WebCore::StorageTracker::deleteOrigin):
3995         (WebCore::StorageTracker::syncDeleteOrigin):
3996         (WebCore::StorageTracker::canDeleteOrigin):
3997         (WebCore::StorageTracker::cancelDeletingOrigin):
3998         (WebCore::StorageTracker::diskUsageForOrigin):
3999         * Storage/StorageTracker.h:
4000
4001 2015-08-05  Alex Christensen  <achristensen@webkit.org>
4002
4003         Build DumpRenderTree with CMake.
4004         https://bugs.webkit.org/show_bug.cgi?id=147519
4005
4006         Reviewed by Brent Fulgham.
4007
4008         * CMakeLists.txt:
4009         * PlatformMac.cmake:
4010         * PlatformWin.cmake:
4011         Make the libraries WebKit links with private, which means that CMake will not make everything
4012         that links with WebKit link with everything WebKit links with.
4013
4014 2015-08-04  Filip Pizlo  <fpizlo@apple.com>
4015
4016         Rename Mutex to DeprecatedMutex
4017         https://bugs.webkit.org/show_bug.cgi?id=147675
4018
4019         Reviewed by Geoffrey Garen.
4020
4021         * Storage/StorageAreaSync.cpp:
4022         (WebCore::StorageAreaSync::syncTimerFired):
4023         (WebCore::StorageAreaSync::markImported):
4024         (WebCore::StorageAreaSync::blockUntilImportComplete):
4025         (WebCore::StorageAreaSync::performSync):
4026         * Storage/StorageAreaSync.h:
4027         * Storage/StorageTracker.cpp:
4028         (WebCore::StorageTracker::setDatabaseDirectoryPath):
4029         (WebCore::StorageTracker::finishedImportingOriginIdentifiers):
4030         (WebCore::StorageTracker::syncImportOriginIdentifiers):
4031         (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
4032         (WebCore::StorageTracker::setOriginDetails):
4033         (WebCore::StorageTracker::syncSetOriginDetails):
4034         (WebCore::StorageTracker::origins):
4035         (WebCore::StorageTracker::deleteAllOrigins):
4036         (WebCore::StorageTracker::syncDeleteAllOrigins):
4037         (WebCore::StorageTracker::deleteOrigin):
4038         (WebCore::StorageTracker::syncDeleteOrigin):
4039         (WebCore::StorageTracker::canDeleteOrigin):
4040         (WebCore::StorageTracker::cancelDeletingOrigin):
4041         (WebCore::StorageTracker::diskUsageForOrigin):
4042         * Storage/StorageTracker.h:
4043
4044 2015-08-04  Alex Christensen  <achristensen@webkit.org>
4045
4046         Enable WebGL on Windows CMake build.
4047         https://bugs.webkit.org/show_bug.cgi?id=143311
4048
4049         Reviewed by Csaba Osztrogonác.
4050
4051         * PlatformWin.cmake:
4052         Added some needed source files and include directories.
4053
4054 2015-08-01  Alex Christensen  <achristensen@webkit.org>
4055
4056         Fix 64-bit CMake build on Windows.
4057
4058         * PlatformWin.cmake:
4059         Win64 needs PaintHooks.asm.
4060
4061 2015-07-30  Alex Christensen  <achristensen@webkit.org>
4062
4063         Build AppleWin port with CMake
4064         https://bugs.webkit.org/show_bug.cgi?id=147385
4065
4066         Reviewed by Martin Robinson.
4067
4068         * PlatformWin.cmake:
4069         Added missing source files and libraries.
4070
4071 2015-07-27  Alex Christensen  <achristensen@webkit.org>
4072
4073         Use Ninja on Windows.
4074         https://bugs.webkit.org/show_bug.cgi?id=147228
4075
4076         Reviewed by Martin Robinson.
4077
4078         * PlatformWin.cmake:
4079         Added /NODEFAULTLIB:LIBCMT to link WebKit.dll successfully with Ninja.
4080
4081 2015-07-27  Alex Christensen  <achristensen@webkit.org>
4082
4083         Progress towards building AppleWin with CMake
4084         https://bugs.webkit.org/show_bug.cgi?id=147325
4085
4086         Reviewed by Martin Robinson.
4087
4088         * PlatformWin.cmake:
4089         Removed references to non-existing files.
4090
4091 2015-07-22  Alex Christensen  <achristensen@webkit.org>
4092
4093         Fix quirks in CMake build on Mac and Windows
4094         https://bugs.webkit.org/show_bug.cgi?id=147174
4095
4096         Reviewed by Gyuyoung Kim.
4097
4098         * PlatformMac.cmake:
4099         Fixed syntax, removed files that don't exist any more.
4100
4101 2015-07-20  Brent Fulgham  <bfulgham@apple.com>
4102
4103         [Win] Certain Debug builds can take close to 3 hours to link
4104         https://bugs.webkit.org/show_bug.cgi?id=147114
4105         <rdar://problem/21882777>
4106
4107         Reviewed by Tim Horton.
4108
4109         Correct the 64-bit DebugSuffix link target to match the 32-bit version.
4110
4111         * WebKit.vcxproj/WebKit/WebKit.vcxproj: Turn off the REF and ICF
4112         flags for the 64-bit DebugSuffix link target.
4113
4114 2015-07-20  Alex Christensen  <achristensen@webkit.org>
4115
4116         Resurrect CMake build on Windows.
4117         https://bugs.webkit.org/show_bug.cgi?id=147083
4118
4119         Reviewed by Gyuyoung Kim.
4120
4121         * PlatformWin.cmake: Added.
4122         Based on original work by Patrick Gansterer and Mark Salisbury
4123         in https://bugs.webkit.org/show_bug.cgi?id=72816
4124
4125 2015-07-16  Brent Fulgham  <bfulgham@apple.com>
4126
4127         [Win] Unreviewed gardening.
4128
4129         * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters: Move file into the
4130         appropriate category in the project.
4131
4132 2015-07-14  Lucas Forschler  <lforschler@apple.com>
4133
4134         Teach platformMac.cmake about El Capitan WKSI.
4135         <rdar://problem/21822469>
4136         
4137         Reviewed by Alex Christensen.
4138
4139         * PlatformMac.cmake:
4140
4141 2015-07-09  Per Arne Vollan  <peavo@outlook.com>
4142
4143         [Win] Add memory pressure handler.
4144         https://bugs.webkit.org/show_bug.cgi?id=146685
4145
4146         Reviewed by Brent Fulgham.
4147
4148         * WebKit.vcxproj/WebKit/WebKitCommon.props: Link with process api library.
4149
4150 2015-07-04  Chris Dumez  <cdumez@apple.com>
4151
4152         Drop RefPtr::clear() method
4153         https://bugs.webkit.org/show_bug.cgi?id=146556
4154
4155         Reviewed by Brady Eidson.
4156
4157         Drop RefPtr::clear() method in favor of "= nullptr;" pattern.
4158
4159 2015-07-03  Dan Bernstein  <mitz@apple.com>
4160
4161         [Xcode] Update some build settings as recommended by Xcode 7
4162         https://bugs.webkit.org/show_bug.cgi?id=146597
4163
4164         Reviewed by Sam Weinig.
4165
4166         * WebKit.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
4167
4168 2015-07-01  Alex Christensen  <achristensen@webkit.org>
4169
4170         Re-enable WebGL on WinCairo.
4171         https://bugs.webkit.org/show_bug.cgi?id=146537
4172
4173         Reviewed by Csaba Osztrogonác.
4174
4175         * WebKit.vcxproj/WebKit.sln:
4176         Build the ANGLE projects on WinCairo again.
4177
4178 2015-06-30  Alex Christensen  <achristensen@webkit.org>
4179
4180         [Win] Unreviewed build fix after r186169.
4181
4182         * WebKit.vcxproj/WebKit.sln:
4183         Temporarily don't build ANGLE projects on Windows.
4184
4185 2015-06-26  Hyungwook Lee  <hyungwook.lee@navercorp.com>
4186
4187         [Win] Implement WebViewGroup to support WebView::addxxxToGroup().
4188         https://bugs.webkit.org/show_bug.cgi?id=145908
4189
4190         Reviewed by Brent Fulgham.
4191
4192         Make WebViewGroup class sharing on Mac and Win port.
4193
4194         * WebCoreSupport: Added.
4195         * WebCoreSupport/WebViewGroup.cpp: Added.
4196         (webViewGroups):
4197         (WebViewGroup::getOrCreate):
4198         (WebViewGroup::get):
4199         (WebViewGroup::WebViewGroup):
4200         (WebViewGroup::~WebViewGroup):
4201         (WebViewGroup::addWebView):
4202         (WebViewGroup::removeWebView):
4203         (WebViewGroup::storageNamespaceProvider):
4204         * WebCoreSupport/WebViewGroup.h: Added.
4205         (WebViewGroup::userContentController):
4206         (WebViewGroup::visitedLinkStore):
4207         * WebKit.vcxproj/WebKit/WebKit.vcxproj:
4208         * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters:
4209         * WebKit.vcxproj/WebKit/WebKitCommon.props:
4210         * WebKit.xcodeproj/project.pbxproj:
4211
4212 2015-06-24  Anders Carlsson  <andersca@apple.com>
4213
4214         Move PluginMainThreadScheduler to WebKit/win
4215         https://bugs.webkit.org/show_bug.cgi?id=146289
4216
4217         Reviewed by Tim Horton.
4218
4219         * WebKit.vcxproj/WebKit/WebKit.vcxproj:
4220         * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters:
4221
4222 2015-06-17  Commit Queue  <commit-queue@webkit.org>
4223
4224         Unreviewed, rolling out r185636.
4225         https://bugs.webkit.org/show_bug.cgi?id=146068
4226
4227         Caused many crashes on Windows (Requested by ap on #webkit).
4228
4229         Reverted changeset:
4230
4231         "[Win] Implement WebViewGroup to support
4232         WebView::addxxxToGroup()."
4233         https://bugs.webkit.org/show_bug.cgi?id=145908
4234         http://trac.webkit.org/changeset/185636
4235
4236 2015-06-16  Hyungwook Lee  <hyungwook.lee@navercorp.com>
4237
4238         [Win] Implement WebViewGroup to support WebView::addxxxToGroup().
4239         https://bugs.webkit.org/show_bug.cgi?id=145908
4240
4241         Reviewed by Brent Fulgham.
4242
4243         Make WebViewGroup class sharing on Mac and Win port.
4244
4245         * WebCoreSupport: Added.
4246         * WebCoreSupport/WebViewGroup.cpp: Copied from Source/WebKit/mac/WebCoreSupport/WebViewGroup.mm.
4247         * WebCoreSupport/WebViewGroup.h: Copied from Source/WebKit/mac/WebCoreSupport/WebViewGroup.h.
4248         * WebKit.vcxproj/WebKit/WebKit.vcxproj:
4249         * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters:
4250         * WebKit.vcxproj/WebKit/WebKitCommon.props:
4251         * WebKit.xcodeproj/project.pbxproj:
4252
4253 2015-06-09  Csaba Osztrogonác  <ossy@webkit.org>
4254
4255         [cmake] Fix the style issues in cmake project files
4256         https://bugs.webkit.org/show_bug.cgi?id=145755
4257
4258         Reviewed by Darin Adler.
4259
4260         * PlatformMac.cmake:
4261
4262 2015-06-07  Anders Carlsson  <andersca@apple.com>
4263
4264         Remove WebNSArrayExtras
4265         https://bugs.webkit.org/show_bug.cgi?id=145747
4266
4267         Reviewed by Darin Adler.
4268
4269         * WebKit.xcodeproj/project.pbxproj:
4270
4271 2015-06-07  Anders Carlsson  <andersca@apple.com>
4272
4273         Remove WebKitSystemBits