1 2019-01-31 Takashi Komori <Takashi.Komori@sony.com>
3 [Curl] Remove unnecessary member from NetworkStorageSession.
4 https://bugs.webkit.org/show_bug.cgi?id=194137
6 Reviewed by Don Olmstead.
8 * WebCoreSupport/NetworkStorageSessionMap.cpp:
9 (NetworkStorageSessionMap::defaultStorageSession):
10 (NetworkStorageSessionMap::ensureSession):
12 2019-01-31 Takashi Komori <Takashi.Komori@sony.com>
14 [Curl] Fix DRT crash related to private browsing.
15 https://bugs.webkit.org/show_bug.cgi?id=193816
17 Reviewed by Alex Christensen.
19 * WebCoreSupport/NetworkStorageSessionMap.cpp:
20 (NetworkStorageSessionMap::ensureSession):
22 2019-01-26 Darin Adler <darin@apple.com>
24 Replace many uses of String::format with more type-safe alternatives
25 https://bugs.webkit.org/show_bug.cgi?id=192742
29 * Shared/WebMemorySampler.cpp:
30 (WebKit::WebMemorySampler::writeHeaders): Use makeString.
32 * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm:
33 (WebKit::LocalAuthenticator::makeCredential): Use string concatentation.
35 * UIProcess/WebInspectorUtilities.cpp:
36 (WebKit::inspectorPageGroupIdentifierForPage): Use makeString.
37 * UIProcess/WebProcessPool.cpp:
38 (WebKit::WebProcessPool::processDidFinishLaunching): Ditto.
39 (WebKit::WebProcessPool::startMemorySampler): Ditto.
41 2019-01-24 Ross Kirsling <ross.kirsling@sony.com>
43 Move FileSystem to WTF
44 https://bugs.webkit.org/show_bug.cgi?id=193602
46 Reviewed by Yusuke Suzuki.
48 * Storage/StorageAreaSync.cpp:
49 * Storage/StorageSyncManager.cpp:
50 * Storage/StorageTracker.cpp:
52 2019-01-23 Ross Kirsling <ross.kirsling@sony.com>
54 [Curl] Unreviewed build fix for r240292 and friends.
56 WinCairo test stability must be restored in subsequent patch.
58 * WebCoreSupport/NetworkStorageSessionMap.cpp:
59 (NetworkStorageSessionMap::defaultStorageSession):
60 (NetworkStorageSessionMap::switchToNewTestingSession):
61 (NetworkStorageSessionMap::ensureSession):
63 2019-01-23 Commit Queue <commit-queue@webkit.org>
65 Unreviewed, rolling out r240403.
66 https://bugs.webkit.org/show_bug.cgi?id=193757
68 "Causes multiple crashes on macOS port (probably used wrong
69 ENABLE macro)" (Requested by ddkilzer on #webkit).
73 "[Curl] Unreviewed build fix for r240292 and friends."
74 https://trac.webkit.org/changeset/240403
76 2019-01-23 Ross Kirsling <ross.kirsling@sony.com>
78 [Curl] Unreviewed build fix for r240292 and friends.
80 WinCairo test stability must be restored in subsequent patch.
82 * WebCoreSupport/NetworkStorageSessionMap.cpp:
83 (NetworkStorageSessionMap::defaultStorageSession):
84 (NetworkStorageSessionMap::switchToNewTestingSession):
85 (NetworkStorageSessionMap::ensureSession):
87 2019-01-22 Alex Christensen <achristensen@webkit.org>
89 Fix some builds after r240292
90 https://bugs.webkit.org/show_bug.cgi?id=193580
92 * WebCoreSupport/NetworkStorageSessionMap.cpp:
94 2019-01-22 Alex Christensen <achristensen@webkit.org>
96 Move NetworkStorageSession ownership to NetworkProcess
97 https://bugs.webkit.org/show_bug.cgi?id=193580
99 Reviewed by Geoff Garen.
101 * WebCoreSupport/NetworkStorageSessionMap.cpp: Added.
102 (defaultNetworkStorageSession):
104 (NetworkStorageSessionMap::storageSession):
105 (NetworkStorageSessionMap::defaultStorageSession):
106 (NetworkStorageSessionMap::switchToNewTestingSession):
107 (NetworkStorageSessionMap::ensureSession):
108 (NetworkStorageSessionMap::destroySession):
109 * WebCoreSupport/NetworkStorageSessionMap.h: Added.
110 * WebCoreSupport/PageStorageSessionProvider.h:
111 * WebKitLegacy.xcodeproj/project.pbxproj:
113 2019-01-15 Darin Adler <darin@apple.com>
115 Use references rather than pointers for register/unregister functions, and more
116 https://bugs.webkit.org/show_bug.cgi?id=175028
118 Reviewed by Daniel Bates.
120 * WebKitLegacy.xcodeproj/project.pbxproj: Let Xcode update this project.
122 2019-01-18 Eric Carlson <eric.carlson@apple.com>
124 Revert r238815, it broke WK1 video fullscreen on Mac
125 https://bugs.webkit.org/show_bug.cgi?id=193586
126 <rdar://problem/47358941>
128 Reviewed by Jer Noble.
130 * WebKitLegacy.xcodeproj/project.pbxproj:
132 2019-01-17 Alex Christensen <achristensen@webkit.org>
134 Stop using NetworkStorageSession::storageSession in WebCore
135 https://bugs.webkit.org/show_bug.cgi?id=193529
137 Reviewed by Tim Horton.
139 * WebCoreSupport/PageStorageSessionProvider.h: Added.
140 * WebKitLegacy.xcodeproj/project.pbxproj:
142 2019-01-04 Youenn Fablet <youenn@apple.com>
144 CSP violation reports should bypass CSP checks
145 https://bugs.webkit.org/show_bug.cgi?id=192857
146 <rdar://problem/46887236>
148 Reviewed by Chris Dumez.
150 * WebCoreSupport/WebResourceLoadScheduler.cpp:
151 (WebResourceLoadScheduler::startPingLoad):
152 * WebCoreSupport/WebResourceLoadScheduler.h:
154 2018-12-27 Alex Christensen <achristensen@webkit.org>
156 Resurrect Mac CMake build
157 https://bugs.webkit.org/show_bug.cgi?id=192658
159 Reviewed by Yusuke Suzuki.
163 2018-12-20 Yusuke Suzuki <yusukesuzuki@slowstart.org>
165 Use Ref<> as much as possible
166 https://bugs.webkit.org/show_bug.cgi?id=192808
168 Reviewed by Alex Christensen.
170 * Storage/StorageNamespaceImpl.cpp:
171 (WebKit::StorageNamespaceImpl::copy):
172 (WebKit::StorageNamespaceImpl::storageArea):
173 * Storage/StorageNamespaceImpl.h:
174 * Storage/WebStorageNamespaceProvider.cpp:
175 (WebKit::WebStorageNamespaceProvider::create):
176 (WebKit::WebStorageNamespaceProvider::createSessionStorageNamespace):
177 (WebKit::WebStorageNamespaceProvider::createEphemeralLocalStorageNamespace):
178 (WebKit::WebStorageNamespaceProvider::createLocalStorageNamespace):
179 (WebKit::WebStorageNamespaceProvider::createTransientLocalStorageNamespace):
180 * Storage/WebStorageNamespaceProvider.h:
181 * WebCoreSupport/WebViewGroup.cpp:
182 (WebViewGroup::getOrCreate):
183 * WebCoreSupport/WebViewGroup.h:
185 2018-12-11 Fujii Hironori <Hironori.Fujii@sony.com>
187 [Win][WebKitLegacy][Clang] WebKit.h warning: 'IWebEditingDelegate2::shouldInsertNode' hides overloaded virtual function [-Woverloaded-virtual]
188 https://bugs.webkit.org/show_bug.cgi?id=192581
190 Reviewed by Alex Christensen.
192 Conventionally, WebKit COM interface adds a new interface with
193 same name methods with the old interface. For example, both
194 IWebEditingDelegate and IWebEditingDelegate2 interfaces has
195 shouldInsertNode method.
197 This is a part of public API, can't be renamed.
199 * PlatformWin.cmake: Added -Wno-overloaded-virtual compiler option
202 2018-12-06 Alex Christensen <achristensen@webkit.org>
204 Remove unused LoaderStrategy::storeDerivedDataToCache and associated dead code
205 https://bugs.webkit.org/show_bug.cgi?id=192452
207 Reviewed by Anders Carlsson.
209 * WebCoreSupport/WebResourceLoadScheduler.h:
211 2018-12-03 Jer Noble <jer.noble@apple.com>
213 Get rid of old, dead Mac video fullscreen code.
214 https://bugs.webkit.org/show_bug.cgi?id=192315
216 Reviewed by Eric Carlson.
218 * WebKitLegacy.xcodeproj/project.pbxproj:
220 2018-11-30 Alex Christensen <achristensen@webkit.org>
222 Move URL from WebCore to WTF
223 https://bugs.webkit.org/show_bug.cgi?id=190234
225 Reviewed by Keith Miller.
227 * WebCoreSupport/WebResourceLoadScheduler.cpp:
228 * WebCoreSupport/WebResourceLoadScheduler.h:
230 2018-11-26 Brent Fulgham <bfulgham@apple.com>
232 [Win] Reduce the use of WKSI library calls: CoreAnimation
233 https://bugs.webkit.org/show_bug.cgi?id=191777
234 <rdar://problem/46140542>
236 Reviewed by Zalan Bujtas.
238 Update the Windows build of WebKit to refer to the SPI headers, rather than WebKitSystemInterface.
239 Move a small amount of glue code from WKSI to WebCore, and remove any includes or link
240 directives for WebKitSystemInterface.lib.
244 2018-11-17 Devin Rousso <drousso@apple.com>
246 Web Inspector: Network: add button to show system certificate dialog
247 https://bugs.webkit.org/show_bug.cgi?id=191458
248 <rdar://problem/45977019>
250 Reviewed by Joseph Pecoraro.
252 * WebCoreSupport/WebInspectorClientIOS.mm:
253 (WebInspectorFrontendClient::showCertificate): Added.
255 2018-11-09 Sihui Liu <sihui_liu@apple.com>
257 Remove legacy storage tracker database file after r237330
258 https://bugs.webkit.org/show_bug.cgi?id=191423
260 Reviewed by Geoffrey Garen.
262 r237330 changed the file name of storage tracker database, but it did not remove the old
263 file before using the new one.
265 * Storage/StorageTracker.cpp:
266 (WebKit::StorageTracker::internalInitialize):
268 2018-11-01 Sihui Liu <sihui_liu@apple.com>
270 Add a storage limit for IndexedDB
271 https://bugs.webkit.org/show_bug.cgi?id=190598
272 <rdar://problem/44654715>
274 Reviewed by Chris Dumez.
276 * Storage/WebDatabaseProvider.cpp:
277 (WebDatabaseProvider::idbConnectionToServerForSession):
278 (WebDatabaseProvider::setIDBPerOriginQuota):
279 * Storage/WebDatabaseProvider.h:
281 2018-10-30 Alexey Proskuryakov <ap@apple.com>
283 Enable InstallAPI for iOS unconditionally
284 https://bugs.webkit.org/show_bug.cgi?id=191043
285 rdar://problem/32728423
287 Reviewed by Dan Bernstein.
289 * WebKitLegacy.xcodeproj/project.pbxproj: Added NSURLDownloadSPI.h.
291 2018-10-30 Commit Queue <commit-queue@webkit.org>
293 Unreviewed, rolling out r237600 and r237604.
294 https://bugs.webkit.org/show_bug.cgi?id=191086
296 Breaks internal iOS builds (Requested by ryanhadd_ on
301 "Enable InstallAPI for iOS unconditionally"
302 https://bugs.webkit.org/show_bug.cgi?id=191043
303 https://trac.webkit.org/changeset/237600
305 "Build fix attempt after enabling InstallAPI for iOS."
306 https://bugs.webkit.org/show_bug.cgi?id=191043
307 https://trac.webkit.org/changeset/237604
309 2018-10-30 Alexey Proskuryakov <ap@apple.com>
311 Enable InstallAPI for iOS unconditionally
312 https://bugs.webkit.org/show_bug.cgi?id=191043
313 rdar://problem/32728423
315 Reviewed by Dan Bernstein.
317 * WebKitLegacy.xcodeproj/project.pbxproj: Added NSURLDownloadSPI.h.
319 2018-10-29 Tim Horton <timothy_horton@apple.com>
321 Modernize WebKit nibs and lprojs for localization's sake
322 https://bugs.webkit.org/show_bug.cgi?id=190911
323 <rdar://problem/45349466>
325 Reviewed by Dan Bernstein.
327 * English.lproj/WebJavaScriptTextInputPanel.nib/designable.nib: Removed.
328 * English.lproj/WebJavaScriptTextInputPanel.nib/keyedobjects.nib: Removed.
329 * WebKitLegacy.xcodeproj/project.pbxproj:
330 * en.lproj/WebJavaScriptTextInputPanel.xib: Added.
331 NIB->XIB, English->en
333 2018-10-25 Fujii Hironori <Hironori.Fujii@sony.com>
335 [CMake][Ninja][Win] midl.exe fails to create, open and write a temporary file in parallel build in Docker container
336 https://bugs.webkit.org/show_bug.cgi?id=187725
338 Reviewed by Michael Catanzaro.
340 * PlatformWin.cmake: Added USES_TERMINAL to serialize midl.exe
343 2018-10-22 Sihui Liu <sihui_liu@apple.com>
345 Regression (r232410): StorageTracker.db file gets unlinked while in use
346 https://bugs.webkit.org/show_bug.cgi?id=190795
348 Reviewed by Chris Dumez.
350 WK2 stopped using StorageTracker.db file in r232410 and would delete
352 It turned out WK1 could use the same file path, so WK2 may delete the
353 file while WK1 is using it.
355 * Storage/StorageTracker.cpp:
356 (WebKit::StorageTracker::trackerDatabasePath):
358 2018-10-18 Alexey Proskuryakov <ap@apple.com>
360 Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY)
361 https://bugs.webkit.org/show_bug.cgi?id=190729
363 Reviewed by Tim Horton.
365 * Storage/StorageTracker.cpp:
366 (WebKit::StorageTracker::syncDeleteAllOrigins):
367 (WebKit::StorageTracker::syncDeleteOrigin):
368 * WebCoreSupport/WebResourceLoadScheduler.cpp:
369 (WebResourceLoadScheduler::loadResource):
370 (WebResourceLoadScheduler::scheduleLoad):
371 (WebResourceLoadScheduler::remove):
372 (WebResourceLoadScheduler::servePendingRequests):
374 2018-10-11 Keith Rollin <krollin@apple.com>
376 CURRENT_ARCH should not be used in Run Script phase.
377 https://bugs.webkit.org/show_bug.cgi?id=190407
378 <rdar://problem/45133556>
380 Reviewed by Alexey Proskuryakov.
382 CURRENT_ARCH is used in a number of Xcode Run Script phases. However,
383 CURRENT_ARCH is not well-defined during this phase (and may even have
384 the value "undefined") since this phase is run just once per build
385 rather than once per supported architecture. Migrate away from
386 CURRENT_ARCH in favor of ARCHS, either by iterating over ARCHS and
387 performing an operation for each value, or by picking the first entry
388 in ARCHS and using that as a representative value.
390 * WebKitLegacy.xcodeproj/project.pbxproj: When generating
391 WebKitLegacy.*.exp, generate both 32- and 64-bit versions for
394 2018-10-04 Dan Bernstein <mitz@apple.com>
396 WebKitLegacy part of [Xcode] Update some build settings as recommended by Xcode 10
397 https://bugs.webkit.org/show_bug.cgi?id=190250
399 Reviewed by Andy Estes.
401 * WebKitLegacy.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
403 2018-10-01 Dean Jackson <dino@apple.com>
405 [macOS] Switching to discrete GPU should be done in the UI process
406 https://bugs.webkit.org/show_bug.cgi?id=189361
407 <rdar://problem/43949622>
409 Reviewed by Simon Fraser.
411 * WebKitLegacy.xcodeproj/project.pbxproj: Add new files.
413 2018-09-05 David Kilzer <ddkilzer@apple.com>
415 REGRESSION (r235585): WebDownloadInternal.h is missing from WebKitLegacy Xcode project
416 <https://bugs.webkit.org/show_bug.cgi?id=189072>
418 Found using tidy-Xcode-project-file (see Bug 188754).
420 * WebKitLegacy.xcodeproj/project.pbxproj: Remove references to
421 WebDownloadInternal.h since the header was removed in r235585.
423 2018-08-26 Dan Bernstein <mitz@apple.com>
425 [Xcode] Don’t make unnecessary, broken WebKitPluginAgent symlink when WK_USE_OVERRIDE_FRAMEWORKS_DIR=YES
426 https://bugs.webkit.org/show_bug.cgi?id=188956
427 <rdar://problem/43253221>
429 Reviewed by Darin Adler.
431 * WebKitLegacy.xcodeproj/project.pbxproj: Updated the Symlink WebKitPluginHost build phase.
433 2018-08-01 Alex Christensen <achristensen@webkit.org>
435 Move all calls to ResourceLoader::start to WebKitLegacy
436 https://bugs.webkit.org/show_bug.cgi?id=184946
438 Reviewed by Andy Estes.
440 * WebCoreSupport/WebResourceLoadScheduler.cpp:
441 (WebResourceLoadScheduler::setDefersLoading):
442 * WebCoreSupport/WebResourceLoadScheduler.h:
444 2018-06-25 Keith Rollin <krollin@apple.com>
445 Unreviewed, rolling out r233087.
447 Causes 5% Mac PLT regression.
451 "Recalc styles every time defaultAppearance changes."
452 https://bugs.webkit.org/show_bug.cgi?id=186866
453 https://trac.webkit.org/changeset/233087
455 2018-06-23 Yusuke Suzuki <utatane.tea@gmail.com>
457 [WTF] Add user-defined literal for ASCIILiteral
458 https://bugs.webkit.org/show_bug.cgi?id=186839
460 Reviewed by Darin Adler.
462 * Storage/StorageTracker.cpp:
463 (WebKit::StorageTracker::syncFileSystemAndTrackerDatabase):
464 * WebCoreSupport/PingHandle.h:
466 2018-06-09 Dan Bernstein <mitz@apple.com>
468 Added missing file references to the Configuration group.
470 * WebKitLegacy.xcodeproj/project.pbxproj:
472 2018-05-25 Alex Christensen <achristensen@webkit.org>
474 URL::host should return a StringView to reduce allocations
475 https://bugs.webkit.org/show_bug.cgi?id=185986
477 Reviewed by Geoff Garen.
479 * WebCoreSupport/WebResourceLoadScheduler.cpp:
480 (WebResourceLoadScheduler::hostForURL):
482 2018-05-11 Charles Vazac <cvazac@gmail.com>
484 Runtime feature flag for Server-Timing
485 https://bugs.webkit.org/show_bug.cgi?id=184758
487 Reviewed by Youenn Fablet.
489 * mac/WebView/WebPreferenceKeysPrivate.h: Added server-timing preference.
490 * mac/WebView/WebPreferences.mm:
491 (WebKit::WebPreferences::serverTimingEnabled):
492 (WebKit::WebPreferences::setServerTimingEnabled):
493 * mac/WebView/WebPreferencesPrivate.h:
494 (WebKit::WebPreferences::setServerTimingEnabled):
495 (WebKit::WebPreferences::serverTimingEnabled):
496 * mac/WebView/WebView.mm: Set runtime enabled feature based on preference.
497 * win/Interfaces/IWebPreferencesPrivate.idl: define serverTimingEnabled and setServerTimingEnabled.
498 * win/WebPreferenceKeysPrivate.h: Added server-timing preference.
499 * win/WebPreferences.cpp: Initialize server-timing as false and define setter and getter.
500 (WebKit::WebPreferences::serverTimingEnabled):
501 (WebKit::WebPreferences::setServerTimingEnabled):
502 * win/WebPreferences.h: Define serverTimingEnabled and setServerTimingEnabled.
503 * win/WebView.cpp: Set runtime enabled feature based on preference.
505 2018-05-02 Keith Rollin <krollin@apple.com>
507 Add facility for tracking times and results of page and resource loading
508 https://bugs.webkit.org/show_bug.cgi?id=184838
509 <rdar://problem/36548974>
511 Reviewed by Brent Fulgham.
513 Add an empty override of the pure virtual
514 LoaderStrategy::pageLoadCompleted method.
516 * WebCoreSupport/WebResourceLoadScheduler.cpp:
517 (WebResourceLoadScheduler::pageLoadCompleted):
518 * WebCoreSupport/WebResourceLoadScheduler.h:
520 2018-05-01 Eric Carlson <eric.carlson@apple.com>
522 [MediaStream] remove WK1 support
523 https://bugs.webkit.org/show_bug.cgi?id=185136
525 Reviewed by Youenn Fablet.
527 * WebKitLegacy.xcodeproj/project.pbxproj:
529 2018-04-30 JF Bastien <jfbastien@apple.com>
531 Use some C++17 features
532 https://bugs.webkit.org/show_bug.cgi?id=185135
534 Reviewed by Alex Christensen.
538 2018-04-16 Youenn Fablet <youenn@apple.com>
540 Use NetworkLoadChecker to handle synchronous HTTP loads
541 https://bugs.webkit.org/show_bug.cgi?id=184240
543 Reviewed by Chris Dumez.
545 * WebCoreSupport/WebResourceLoadScheduler.cpp:
546 (WebResourceLoadScheduler::loadResourceSynchronously):
547 * WebCoreSupport/WebResourceLoadScheduler.h:
549 2018-04-04 Alex Christensen <achristensen@webkit.org>
551 Move PingHandle to WebKitLegacy
552 https://bugs.webkit.org/show_bug.cgi?id=184145
554 Reviewed by Youenn Fablet.
556 * WebCoreSupport/PingHandle.h: Copied from Source/WebCore/platform/network/PingHandle.h.
558 * WebCoreSupport/WebResourceLoadScheduler.cpp:
559 * WebKitLegacy.xcodeproj/project.pbxproj:
561 2018-03-27 Chris Dumez <cdumez@apple.com>
563 Move online state detection from the WebProcess to the NetworkProcess
564 https://bugs.webkit.org/show_bug.cgi?id=183989
565 <rdar://problem/37093299>
567 Reviewed by Youenn Fablet.
569 No change on WebKit1 except that WebResourceLoadScheduler needs to override
570 2 new virtual functions which forward the calls to the NetworkStateNotifier.
572 * WebCoreSupport/WebResourceLoadScheduler.cpp:
573 (WebResourceLoadScheduler::isOnLine const):
574 (WebResourceLoadScheduler::addOnlineStateChangeListener):
575 * WebCoreSupport/WebResourceLoadScheduler.h:
577 2018-03-26 Chris Dumez <cdumez@apple.com>
579 Use SecurityOriginData more consistently in Service Worker code
580 https://bugs.webkit.org/show_bug.cgi?id=183969
582 Reviewed by Darin Adler.
584 Use SecurityOrigin::data() instead of SecurityOriginData::fromSecurityOrigin().
586 * Storage/StorageTracker.cpp:
587 (WebKit::StorageTracker::diskUsageForOrigin):
589 2018-03-25 Commit Queue <commit-queue@webkit.org>
591 Unreviewed, rolling out r229954.
592 https://bugs.webkit.org/show_bug.cgi?id=184000
594 Caused many layout tests to crash on Apple High Sierra,
595 Sierra, iOS Simulator and GTK Linux Debug test bots (Requested
600 "Use SecurityOriginData more consistently in Service Worker
602 https://bugs.webkit.org/show_bug.cgi?id=183969
603 https://trac.webkit.org/changeset/229954
605 2018-03-24 Chris Dumez <cdumez@apple.com>
607 Use SecurityOriginData more consistently in Service Worker code
608 https://bugs.webkit.org/show_bug.cgi?id=183969
610 Reviewed by Darin Adler.
612 Use SecurityOrigin::data() instead of SecurityOriginData::fromSecurityOrigin().
614 * Storage/StorageTracker.cpp:
615 (WebKit::StorageTracker::diskUsageForOrigin):
617 2018-03-23 Tim Horton <timothy_horton@apple.com>
619 Adopt WK_PLATFORM_NAME in WebKitLegacy
620 https://bugs.webkit.org/show_bug.cgi?id=183948
621 <rdar://problem/38803908>
623 Reviewed by Dan Bernstein.
625 * WebKitLegacy.xcodeproj/project.pbxproj:
627 2018-02-28 Alex Christensen <achristensen@webkit.org>
629 Reduce use of NetworkingContext in WebKit
630 https://bugs.webkit.org/show_bug.cgi?id=183213
632 Reviewed by Brady Eidson.
634 * WebCoreSupport/WebResourceLoadScheduler.cpp:
635 (WebResourceLoadScheduler::loadResourceSynchronously):
636 (WebResourceLoadScheduler::preconnectTo):
637 * WebCoreSupport/WebResourceLoadScheduler.h:
639 2018-02-26 Don Olmstead <don.olmstead@sony.com>
641 Fix WebCore includes within WebKitLegacy
642 https://bugs.webkit.org/show_bug.cgi?id=183147
644 Reviewed by Tim Horton.
648 2018-02-13 Commit Queue <commit-queue@webkit.org>
650 Unreviewed, rolling out r228431.
651 https://bugs.webkit.org/show_bug.cgi?id=182766
653 Regressed CMake build stability (Requested by dolmstead on
658 "[CMake] Make WebCore headers copies"
659 https://bugs.webkit.org/show_bug.cgi?id=182512
660 https://trac.webkit.org/changeset/228431
662 2018-02-13 Don Olmstead <don.olmstead@sony.com>
664 [CMake] Make WebCore headers copies
665 https://bugs.webkit.org/show_bug.cgi?id=182512
667 Reviewed by Keith Miller.
671 2018-02-08 Per Arne Vollan <pvollan@apple.com>
673 Move WebVideoFullscreenController from WebCore to WebKitLegacy.
674 https://bugs.webkit.org/show_bug.cgi?id=182615
676 Reviewed by Eric Carlson.
678 It is only used by WK1. Also there are a few references to NSApp in WebVideoFullscreenController.mm.
679 Ideally, we should not reference NSApp in WebCore.
681 * WebKitLegacy.xcodeproj/project.pbxproj:
683 2018-01-23 Alex Christensen <achristensen@webkit.org>
685 Use CompletionHandlers for ResourceHandleClient::didReceiveResponseAsync
686 https://bugs.webkit.org/show_bug.cgi?id=181961
688 Reviewed by Michael Catanzaro.
690 * WebCoreSupport/WebResourceLoadScheduler.cpp:
692 2018-01-16 Fujii Hironori <Hironori.Fujii@sony.com>
694 [CMake] Remove WebCoreDerivedSources library target
695 https://bugs.webkit.org/show_bug.cgi?id=181664
697 Reviewed by Carlos Garcia Campos.
699 * PlatformWin.cmake: Do not link WebCoreDerivedSources.
701 2018-01-07 David Kilzer <ddkilzer@apple.com>
703 Enable -Wcast-qual for WebInspectorUI, WebKitLegacy, WebKit projects
704 <https://webkit.org/b/181256>
705 <rdar://problem/36281730>
707 Reviewed by Darin Adler.
710 * WebKitLegacy.xcodeproj/project.pbxproj:
711 - Rename WebNSDataExtras.m to WebNSDataExtras.mm and change file
712 type to Objective-C++.
714 2018-01-03 Ting-Wei Lan <lantw44@gmail.com>
716 Replace hard-coded paths in shebangs with #!/usr/bin/env
717 https://bugs.webkit.org/show_bug.cgi?id=181040
719 Reviewed by Alex Christensen.
721 * scripts/generate-webkitversion.pl:
723 2017-12-28 Yusuke Suzuki <utatane.tea@gmail.com>
725 Remove std::chrono completely
726 https://bugs.webkit.org/show_bug.cgi?id=181186
728 Reviewed by Alex Christensen.
730 * Storage/WebDatabaseProvider.cpp:
731 (WebDatabaseProvider::deleteAllDatabases):
733 2017-12-28 Fujii Hironori <Hironori.Fujii@sony.com>
735 [Win][CMake] Use add_custom_command to copy each forwarding header files
736 https://bugs.webkit.org/show_bug.cgi?id=180921
738 Reviewed by Brent Fulgham.
740 * PlatformWin.cmake: Use WEBKIT_MAKE_FORWARDING_HEADERS.
742 2017-12-14 Yusuke Suzuki <utatane.tea@gmail.com>
744 Drop Thread::tryCreate
745 https://bugs.webkit.org/show_bug.cgi?id=180808
747 Reviewed by Darin Adler.
749 * Storage/StorageThread.cpp:
750 (WebCore::StorageThread::start):
751 * Storage/StorageThread.h:
753 2017-12-12 Yusuke Suzuki <utatane.tea@gmail.com>
755 [WTF] Thread::create should have Thread::tryCreate
756 https://bugs.webkit.org/show_bug.cgi?id=180333
758 Reviewed by Darin Adler.
760 * Storage/StorageThread.cpp:
761 (WebCore::StorageThread::start):
763 2017-12-05 Stephan Szabo <stephan.szabo@sony.com>
765 Switch windows build to Visual Studio 2017
766 https://bugs.webkit.org/show_bug.cgi?id=172412
768 Reviewed by Per Arne Vollan.
770 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
772 2017-11-27 Don Olmstead <don.olmstead@sony.com>
774 [CMake][Win] Conditionally select DLL CRT or static CRT
775 https://bugs.webkit.org/show_bug.cgi?id=170594
777 Reviewed by Alex Christensen.
781 2017-11-24 Fujii Hironori <Hironori.Fujii@sony.com>
783 [WinCairo] WebPreferences IDL not regenerating
784 https://bugs.webkit.org/show_bug.cgi?id=179960
786 Reviewed by Darin Adler.
788 WebKitLegacy shouldn't include the forwarding header of
791 * CMakeLists.txt: Add ${FORWARDING_HEADERS_DIR} and remove
792 ${FORWARDING_HEADERS_DIR}/JavaScriptCore and
793 ${FORWARDING_HEADERS_DIR}/WebKitLegacy from
794 WebKitLegacy_INCLUDE_DIRECTORIES.
796 2017-11-14 Alex Christensen <achristensen@webkit.org>
798 Remove Cocoa CFURLConnection loading code
799 https://bugs.webkit.org/show_bug.cgi?id=179688
801 Reviewed by Antti Koivisto.
803 * WebCoreSupport/WebResourceLoadScheduler.cpp:
804 (WebResourceLoadScheduler::scheduleLoad):
806 2017-11-06 Per Arne Vollan <pvollan@apple.com>
808 [Win] Add WebKitQuartzCoreAdditions library.
809 https://bugs.webkit.org/show_bug.cgi?id=179331
811 Reviewed by Alex Christensen.
813 This library should be added to the OpenSource repository.
817 2017-11-06 Alex Christensen <achristensen@webkit.org>
819 Make ResourceLoader::willSendRequestInternal asynchronous
820 https://bugs.webkit.org/show_bug.cgi?id=179251
822 Reviewed by Andy Estes.
824 * WebCoreSupport/WebResourceLoadScheduler.cpp:
825 (WebResourceLoadScheduler::loadResource):
826 (WebResourceLoadScheduler::schedulePluginStreamLoad):
827 * WebCoreSupport/WebResourceLoadScheduler.h:
829 2017-11-02 Christopher Reid <chris.reid@sony.com>
831 Add a FileSystem namespace to FileSystem.cpp
832 https://bugs.webkit.org/show_bug.cgi?id=179063
834 Reviewed by Darin Adler.
836 * Storage/StorageAreaSync.cpp:
837 * Storage/StorageSyncManager.cpp:
838 * Storage/StorageTracker.cpp:
840 2017-10-31 Alex Christensen <achristensen@webkit.org>
842 Use asynchronous ResourceHandleClient calls for WebKit1
843 https://bugs.webkit.org/show_bug.cgi?id=160677
845 Reviewed by Brady Eidson.
847 * WebCoreSupport/WebResourceLoadScheduler.cpp:
848 (WebResourceLoadScheduler::createPingHandle):
850 2017-10-16 Ryan Haddad <ryanhaddad@apple.com>
852 Unreviewed, rolling out r223271.
854 This change introduced LayoutTest failures on WK1.
858 "Use asynchronous ResourceHandleClient calls for WebKit1"
859 https://bugs.webkit.org/show_bug.cgi?id=160677
860 https://trac.webkit.org/changeset/223271
862 2017-10-12 Alex Christensen <achristensen@webkit.org>
864 Use asynchronous ResourceHandleClient calls for WebKit1
865 https://bugs.webkit.org/show_bug.cgi?id=160677
867 Reviewed by Brady Eidson.
869 * WebCoreSupport/WebResourceLoadScheduler.cpp:
870 (WebResourceLoadScheduler::createPingHandle):
872 2017-10-10 Sam Weinig <sam@webkit.org>
874 Replace copyKeysToVector/copyValuesToVector with copyToVector(map.keys())/copyToVector(map.values())
875 https://bugs.webkit.org/show_bug.cgi?id=178102
877 Reviewed by Tim Horton.
879 * WebCoreSupport/WebResourceLoadScheduler.cpp:
880 (WebResourceLoadScheduler::servePendingRequests):
882 2017-10-09 Per Arne Vollan <pvollan@apple.com>
884 [Win] Link error: cannot open input file 'WebKitLegacyGUID.lib'
885 https://bugs.webkit.org/show_bug.cgi?id=178087
887 Reviewed by Alexey Proskuryakov.
889 For compatibility reasons, the library still has the name WebKitGUID.lib.
893 2017-10-05 Darin Adler <darin@apple.com>
895 Remove additional WebKitSystemInterface remnants
896 https://bugs.webkit.org/show_bug.cgi?id=177948
898 Reviewed by Andy Estes.
900 * PlatformMac.cmake: Removed reference to deleted file WebSystemInterface.mm.
902 2017-10-04 Alex Christensen <achristensen@webkit.org>
904 Stop linking with WebKitSystemInterface
905 https://bugs.webkit.org/show_bug.cgi?id=177915
907 Reviewed by Antti Koivisto.
909 * WebKitLegacy.xcodeproj/project.pbxproj:
911 2017-10-02 Per Arne Vollan <pvollan@apple.com>
913 [Win] Link error: cannot open file 'WebKitGUID.lib'
914 https://bugs.webkit.org/show_bug.cgi?id=177759
916 Reviewed by Alex Christensen.
918 For backward compatibility reasons, this library should not be renamed from
919 WebKitGUID.lib to WebKitLegacyGUID.lib.
923 2017-09-29 Chris Dumez <cdumez@apple.com>
925 http/tests/preconnect/link-rel-preconnect-https.html is flaky
926 https://bugs.webkit.org/show_bug.cgi?id=177673
928 Reviewed by Alex Christensen.
930 * WebCoreSupport/WebResourceLoadScheduler.cpp:
931 (WebResourceLoadScheduler::preconnectTo):
932 * WebCoreSupport/WebResourceLoadScheduler.h:
934 2017-09-28 Chris Dumez <cdumez@apple.com>
936 Add support for <link rel=preconnect>
937 https://bugs.webkit.org/show_bug.cgi?id=177474
938 <rdar://problem/33141380>
940 Reviewed by Alex Christensen.
942 * WebCoreSupport/WebResourceLoadScheduler.cpp:
943 (WebResourceLoadScheduler::preconnectTo):
944 * WebCoreSupport/WebResourceLoadScheduler.h:
946 2017-09-26 Per Arne Vollan <pvollan@apple.com>
948 [Win] WebKitCOMAPI.h is not copied after build has finished.
949 https://bugs.webkit.org/show_bug.cgi?id=177505
951 Reviewed by Brent Fulgham.
953 The file is located in the WebKitLegacy forwarding headers folder, not the WebKit folder.
955 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
957 2017-09-25 Timothy Horton <timothy_horton@apple.com>
959 Fix the macOS WebKit CMake build
962 Before r222194, this -umbrella flag mentioned "WebKit" twice:
963 first, the name of the target to affect; second, the name of the
964 umbrella framework. In r222194, the targets were renamed. It turns
965 out that a global find and replace isn't a great way to do this,
966 because it caught the name of the umbrella framework too.
968 Put it back; the umbrella framework will always be named "WebKit".
970 This makes it once again possible to link WebKit (before, it was
971 complaining about us linking directly to WebKitLegacy instead of the
972 nonsensical WebKitLegacy umbrella framework).
974 2017-09-25 Chris Dumez <cdumez@apple.com>
976 Make StoredCredentials an enum class and rename its header
977 https://bugs.webkit.org/show_bug.cgi?id=177455
979 Reviewed by Youenn Fablet.
981 Make StoredCredentials an enum class and rename its header for clarity. This was error-prone because 0 meant
982 "allow" and and 1 meant "do not allow". It was trivial to convert it to a boolean by mistake and get the
985 * WebCoreSupport/WebResourceLoadScheduler.cpp:
986 (WebResourceLoadScheduler::loadResourceSynchronously):
987 * WebCoreSupport/WebResourceLoadScheduler.h:
989 2017-09-25 Timothy Horton <timothy_horton@apple.com>
991 Make progress on getting Mac CMake building again
992 https://bugs.webkit.org/show_bug.cgi?id=177443
994 Unreviewed, just "fixing" the build.
997 Set up dependencies correctly for our mig-generated files.
998 MAIN_DEPENDENCY is for VS, not what it sounds like.
1000 Add mig-generated files to WebKitLegacy, not WebKit (I think this was
1001 missed in the WebKit2 rename).
1003 2017-09-21 Per Arne Vollan <pvollan@apple.com>
1005 [Win] Compile error, generate-webkitversion.pl script not found.
1006 https://bugs.webkit.org/show_bug.cgi?id=177310
1008 Reviewed by Brent Fulgham.
1010 The script is located using the WebKitLegacy folder cmake variable, which needs
1011 to be set in the project file.
1013 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1015 2017-09-18 Michael Catanzaro <mcatanzaro@igalia.com>
1017 [CMake] Rename WebKit target to WebKitLegacy and rename WebKit2 target to WebKit
1018 https://bugs.webkit.org/show_bug.cgi?id=174558
1020 Reviewed by Alex Christensen.
1022 With help from Stephan Szabo, thanks!
1025 * PlatformMac.cmake:
1026 * PlatformWin.cmake:
1028 2017-09-16 Tim Horton <timothy_horton@apple.com>
1030 Fix the Tools build with CMake on macOS
1031 https://bugs.webkit.org/show_bug.cgi?id=177030
1033 Reviewed by Geoffrey Garen.
1035 * PlatformMac.cmake:
1036 Add some forwarding headers.
1038 2017-09-12 Per Arne Vollan <pvollan@apple.com>
1040 [Win] Link errors when building WebKit from .proj files.
1041 https://bugs.webkit.org/show_bug.cgi?id=176813
1043 Reviewed by Brent Fulgham.
1045 Add missing libraries to WebKit build.
1047 * PlatformWin.cmake:
1049 2017-08-31 Don Olmstead <don.olmstead@sony.com>
1051 [CMake] Make USE_CF conditional within Windows
1052 https://bugs.webkit.org/show_bug.cgi?id=176173
1054 Reviewed by Alex Christensen.
1056 * PlatformWin.cmake:
1058 2017-08-30 Andy Estes <aestes@apple.com>
1060 [Mac] Upstream Carbon-related WebKitSystemInterface functions
1061 https://bugs.webkit.org/show_bug.cgi?id=176087
1063 Reviewed by Alex Christensen.
1065 * WebKitLegacy.xcodeproj/project.pbxproj:
1067 2017-08-29 Don Olmstead <don.olmstead@sony.com>
1069 [CMake] Use find_package for zlib
1070 https://bugs.webkit.org/show_bug.cgi?id=176075
1072 Reviewed by Alex Christensen.
1074 * PlatformWin.cmake:
1076 2017-08-29 Don Olmstead <don.olmstead@sony.com>
1078 [CMake] Use find_package for libxml2 and libxstl
1079 https://bugs.webkit.org/show_bug.cgi?id=176042
1081 Reviewed by Konstantin Tokarev.
1083 * PlatformWin.cmake:
1085 2017-08-24 Don Olmstead <don.olmstead@sony.com>
1087 [CMake] Use find_package for SQLite
1088 https://bugs.webkit.org/show_bug.cgi?id=175803
1090 Reviewed by Konstantin Tokarev.
1092 * PlatformWin.cmake:
1094 2017-08-20 Chris Dumez <cdumez@apple.com>
1096 Simplify calls to LoaderStrategy::startPingLoad()
1097 https://bugs.webkit.org/show_bug.cgi?id=175756
1099 Reviewed by Sam Weinig.
1101 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1102 (WebResourceLoadScheduler::startPingLoad):
1103 * WebCoreSupport/WebResourceLoadScheduler.h:
1105 2017-08-18 Chris Dumez <cdumez@apple.com>
1107 [Beacon] Improve error reporting
1108 https://bugs.webkit.org/show_bug.cgi?id=175723
1110 Reviewed by Darin Adler.
1112 Have Ping loads such as beacons report errors via their completion handler.
1113 The Beacon API is using this error to log a console message when beacon loads
1114 fail, provided that the page is still alive.
1116 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1117 (WebResourceLoadScheduler::startPingLoad):
1118 * WebCoreSupport/WebResourceLoadScheduler.h:
1120 2017-08-18 Chris Dumez <cdumez@apple.com>
1122 [Beacon] Add support for quota limitation
1123 https://bugs.webkit.org/show_bug.cgi?id=175443
1124 <rdar://problem/33729002>
1126 Reviewed by Youenn Fablet.
1128 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1129 (WebResourceLoadScheduler::startPingLoad):
1130 * WebCoreSupport/WebResourceLoadScheduler.h:
1132 2017-08-17 Chris Dumez <cdumez@apple.com>
1134 Regression(r220817): We should only copy the original request headers for Ping loads
1135 https://bugs.webkit.org/show_bug.cgi?id=175679
1137 Reviewed by Youenn Fablet.
1139 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1140 (WebResourceLoadScheduler::createPingHandle):
1141 * WebCoreSupport/WebResourceLoadScheduler.h:
1143 2017-08-17 Don Olmstead <don.olmstead@sony.com>
1145 [PAL] Relocate SessionID to root
1146 https://bugs.webkit.org/show_bug.cgi?id=175684
1148 Reviewed by Alex Christensen.
1150 * Storage/WebDatabaseProvider.cpp:
1152 2017-08-17 Don Olmstead <don.olmstead@sony.com>
1154 [PAL] Move SessionID into PAL
1155 https://bugs.webkit.org/show_bug.cgi?id=174192
1157 Reviewed by Antti Koivisto.
1159 * Storage/WebDatabaseProvider.cpp:
1160 (WebDatabaseProvider::idbConnectionToServerForSession):
1161 * Storage/WebDatabaseProvider.h:
1163 2017-08-16 Chris Dumez <cdumez@apple.com>
1165 Cross origin Beacon requests with a ArrayBuffer / ArrayBufferView payload should not do a CORS preflight
1166 https://bugs.webkit.org/show_bug.cgi?id=175628
1167 <rdar://problem/33919278>
1169 Reviewed by Geoffrey Garen.
1171 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1172 (WebResourceLoadScheduler::createPingHandle):
1173 * WebCoreSupport/WebResourceLoadScheduler.h:
1175 2017-08-16 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com>
1177 [PAL] Move spi/ios and spi/win directories into PAL
1178 https://bugs.webkit.org/show_bug.cgi?id=175171
1180 Reviewed by Antti Koivisto.
1182 * Storage/StorageTracker.cpp:
1184 2017-08-10 Dan Bernstein <mitz@apple.com>
1186 Restored svn:ignore values that went missing when the project got renamed.
1188 * WebKitLegacy.xcodeproj: Added property svn:ignore.
1190 2017-08-10 Chris Dumez <cdumez@apple.com>
1192 [Beacon] Do connect-src CSP check on redirects as well
1193 https://bugs.webkit.org/show_bug.cgi?id=175410
1194 <rdar://problem/33815470>
1196 Reviewed by Youenn Fablet.
1198 Update createPingHandle() to take in ContentSecurityPolicy
1199 object in but no behavior change for WK1.
1201 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1202 (WebResourceLoadScheduler::createPingHandle):
1203 * WebCoreSupport/WebResourceLoadScheduler.h:
1205 2017-08-08 Chris Dumez <cdumez@apple.com>
1207 [Beacon] Add support for CORS-preflighting for WK2 / NETWORK_SESSION
1208 https://bugs.webkit.org/show_bug.cgi?id=175264
1209 <rdar://problem/33547793>
1211 Reviewed by Youenn Fablet.
1213 createPingHandle() now takes new parameters but there is currently no behavior
1216 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1217 (WebResourceLoadScheduler::createPingHandle):
1218 * WebCoreSupport/WebResourceLoadScheduler.h:
1220 2017-08-03 Per Arne Vollan <pvollan@apple.com>
1222 [Win] WebKit COM header file is not placed in the correct location.
1223 https://bugs.webkit.org/show_bug.cgi?id=175101
1225 Reviewed by Brent Fulgham.
1227 After the transition to WebKitLegacy, the generated WebKit header files should still
1228 be placed in the WebKit folder, so WebKit clients will find the header files in the
1231 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1233 2017-08-02 Matthew Hanson <matthew_hanson@apple.com>
1235 Build-fix for Windows in Visual Studio after directory rename.
1237 Reviewed by Per Arne Vollan.
1239 * WebKitLegacy.vcxproj/WebKitLegacy.proj:
1240 We still build WebKit.dll, not WebKitLegacy.dll.
1242 2017-07-31 Sam Weinig <sam@webkit.org>
1244 Remove unnecessary exceptions from storage code
1245 https://bugs.webkit.org/show_bug.cgi?id=174572
1247 Reviewed by Chris Dumez.
1249 * Storage/StorageAreaImpl.cpp:
1250 (WebKit::StorageAreaImpl::canAccessStorage): Deleted.
1251 * Storage/StorageAreaImpl.h:
1252 Remove canAccessStorage. It is no longer called.
1254 2017-07-14 Filip Pizlo <fpizlo@apple.com>
1256 It should be easy to decide how WebKit yields
1257 https://bugs.webkit.org/show_bug.cgi?id=174298
1259 Reviewed by Saam Barati.
1261 * Storage/StorageTracker.h:
1263 2017-07-21 Konstantin Tokarev <annulen@yandex.ru>
1265 Unreviewed, fix Mac cmake build after r219733
1267 * PlatformMac.cmake:
1269 2017-07-21 Konstantin Tokarev <annulen@yandex.ru>
1271 [cmake][Mac] Unreviewed, fix linking WebKitSystemInterface
1273 After r219560 link_directories() in PlatformXXX.cmake files does not
1274 affect corresponding targets.
1276 * PlatformMac.cmake:
1278 2017-07-21 Brady Eidson <beidson@apple.com>
1280 Get rid of WebCore IconDatabase code.
1281 https://bugs.webkit.org/show_bug.cgi?id=174700
1283 Reviewed by Tim Horton.
1285 * WebKitLegacy.xcodeproj/project.pbxproj:
1287 2017-07-17 Konstantin Tokarev <annulen@yandex.ru>
1289 [cmake] Set library types before their targets are created
1290 https://bugs.webkit.org/show_bug.cgi?id=174600
1292 Reviewed by Michael Catanzaro.
1294 Since r219560 library targets are created before PlatformXXX.cmake
1295 files are processed, however library type must be passed in
1296 add_library() call and cannot be changed afterwards. Set these
1297 variables in OptionsXXX.cmake.
1299 * PlatformMac.cmake:
1300 * PlatformWin.cmake:
1302 2017-07-17 Darin Adler <darin@apple.com>
1304 Improve use of NeverDestroyed
1305 https://bugs.webkit.org/show_bug.cgi?id=174348
1307 Reviewed by Sam Weinig.
1309 * Storage/StorageThread.cpp:
1310 (WebCore::StorageThread::releaseFastMallocFreeMemoryInAllThreads):
1311 Simplify code by using a modern for loop and passing a function without wrapping
1314 2017-07-17 Michael Catanzaro <mcatanzaro@igalia.com>
1316 [CMake] Macros in WebKitMacros.cmake should be prefixed with WEBKIT_ namespace
1317 https://bugs.webkit.org/show_bug.cgi?id=174547
1319 Reviewed by Alex Christensen.
1323 2017-07-17 Konstantin Tokarev <annulen@yandex.ru>
1325 [CMake] Create targets before WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS is called
1326 https://bugs.webkit.org/show_bug.cgi?id=174557
1328 Reviewed by Michael Catanzaro.
1332 2017-07-14 Jonathan Bedard <jbedard@apple.com>
1335 https://bugs.webkit.org/show_bug.cgi?id=174430
1336 <rdar://problem/33269288>
1338 Reviewed by Tim Horton.
1340 * Storage/StorageTracker.cpp: sqlite3_private.h no longer exists in the iOS
1341 Simulator SDK, explicitly define the required macro.
1343 2017-07-13 Dan Bernstein <mitz@apple.com>
1345 Removed empty project directories left behind after the rename
1347 * WebKit.vcxproj: Removed.
1348 * WebKit.xcodeproj: Removed.
1350 2017-07-05 Matthew Hanson <matthew_hanson@apple.com>
1352 Update the Visual Studio project name from WebKit to WebKitLegacy.
1353 https://bugs.webkit.org/show_bug.cgi?id=174162
1354 rdar://problem/33137594
1356 Reviewed by Dan Bernstein.
1358 Rename WebKit to WebKitLegacy.
1360 * WebKitLegacy.vcxproj/WebKitLegacy.proj: Renamed from Source/WebKitLegacy/WebKit.vcxproj/WebKit.proj.
1362 2017-07-05 Matthew Hanson <matthew_hanson@apple.com>
1364 Update the Xcode project name from WebKit to WebKitLegacy.
1365 https://bugs.webkit.org/show_bug.cgi?id=174162
1366 rdar://problem/33137594
1368 Reviewed by Dan Bernstein.
1370 Rename WebKit to WebKitLegacy.
1372 * WebKitLegacy.xcodeproj/project.pbxproj: Renamed from Source/WebKitLegacy/WebKit.xcodeproj/project.pbxproj.
1374 2017-07-10 Per Arne Vollan <pvollan@apple.com>
1376 [Win] Link error when building WTF from WTF.proj project file.
1377 https://bugs.webkit.org/show_bug.cgi?id=174316
1378 <rdar://problem/33178200>
1380 Reviewed by Brent Fulgham.
1382 WTF_CPU_X86 cmake variable needs to be set for link libraries directories to be correct.
1384 * WebKit.vcxproj/WebKit.proj:
1386 2017-07-05 Don Olmstead <don.olmstead@sony.com>
1388 [WinCairo] Consolidate CMake code related to CURL
1389 https://bugs.webkit.org/show_bug.cgi?id=170860
1391 Reviewed by Alex Christensen.
1393 * PlatformWin.cmake:
1395 2017-06-26 Yusuke Suzuki <utatane.tea@gmail.com>
1397 [WTF] Drop Thread::create(obsolete things) API since we can use lambda
1398 https://bugs.webkit.org/show_bug.cgi?id=173825
1400 Reviewed by Saam Barati.
1402 * Storage/StorageThread.cpp:
1403 (WebCore::StorageThread::start):
1404 (WebCore::StorageThread::threadEntryPointCallback): Deleted.
1405 * Storage/StorageThread.h:
1407 2017-06-16 Alex Christensen <achristensen@webkit.org>
1409 Fix Visual Studio 2017 64-bit build after r218258
1410 https://bugs.webkit.org/show_bug.cgi?id=173308
1412 * PlatformWin.cmake:
1413 We still need the enable_language(ASM_MASM) even if we explicitly call ml64 with VS2017.
1414 Otherwise CMake complains about a missing variable CMAKE_ASM_MASM_COMPILE_OBJECT.
1416 2017-06-14 Fujii Hironori <Hironori.Fujii@sony.com>
1418 [Win64] Fails to build Asm.lib (PaintHooks.asm) since Bug 173132
1419 https://bugs.webkit.org/show_bug.cgi?id=173308
1421 Reviewed by Alex Christensen.
1423 Use the same method to process asm file as well as JSC does (Bug 170833).
1425 * PlatformWin.cmake: Use add_custom_command to assemble PaintHooks.asm.
1427 2017-06-09 Per Arne Vollan <pvollan@apple.com>
1429 [Win64] Build error when compiling PaintHooks.asm.
1430 https://bugs.webkit.org/show_bug.cgi?id=173132
1432 Reviewed by Brent Fulgham.
1434 There seems to be too many include paths on the command line for ml64. According to the documentation,
1435 a maximum of 10 /I options is allowed. Create a separate static library for asm files, in order to
1436 avoid all the include paths.
1438 * PlatformWin.cmake:
1440 2017-06-06 Yoav Weiss <yoav@yoav.ws>
1442 [preload] Conditional support for media preloading and align media `as` values.
1443 https://bugs.webkit.org/show_bug.cgi?id=172501
1445 Reviewed by Dean Jackson.
1447 Add media preloading preference and hook it up to runtime enabled features.
1449 * mac/WebView/WebPreferenceKeysPrivate.h: Added a media preloading preference.
1450 * mac/WebView/WebPreferences.mm:
1451 (WebKit::WebPreferences::setMediaPreloadingEnabled):
1452 (WebKit::WebPreferences::mediaPreloadingEnabled):
1453 * mac/WebView/WebPreferencesPrivate.h:
1454 (WebKit::WebPreferences::setMediaPreloadingEnabled):
1455 (WebKit::WebPreferences::mediaPreloadingEnabled):
1456 * mac/WebView/WebView.mm: Set runtime enabled feature based on preference.
1457 * win/Interfaces/IWebPreferencesPrivate.idl: define mediaPreloadEnabled and setMediaPreloadingEnabled
1458 * win/WebPreferences.cpp: Initialize media preloading as false and define setter and getter.
1459 (WebKit::WebPreferences::setMediaPreloadingEnabled):
1460 (WebKit::WebPreferences::mediaPreloadingEnabled):
1461 * win/WebPreferences.h:
1462 * win/WebPreferenceKeysPrivate.h:
1463 * win/WebView.cpp: Set runtime enabled feature based on preference.
1465 2017-05-22 Don Olmstead <don.olmstead@am.sony.com>
1467 [Win][CMake] Move MSVC compiler options to a common location
1468 https://bugs.webkit.org/show_bug.cgi?id=172230
1470 Reviewed by Yusuke Suzuki.
1472 * PlatformWin.cmake:
1474 2017-04-20 Konstantin Tokarev <annulen@yandex.ru>
1476 [cmake] Define FORWARDING_HEADERS_DIR in WebKitFS and use it everywhere
1477 https://bugs.webkit.org/show_bug.cgi?id=171071
1479 Reviewed by Michael Catanzaro.
1481 "${DERIVED_SOURCES_DIR}/ForwardingHeaders" path occurs very often in the
1482 build system files. GTK-specifc FORWARDING_HEADERS_DIR variable should
1483 be available for all ports.
1486 * PlatformMac.cmake:
1487 * PlatformWin.cmake:
1489 2017-04-12 Brady Eidson <beidson@apple.com>
1491 QuotaExceededError when saving to localStorage in private mode.
1492 https://bugs.webkit.org/show_bug.cgi?id=157010
1494 Reviewed by Alex Christensen.
1496 * Storage/StorageNamespaceImpl.cpp:
1497 (WebKit::StorageNamespaceImpl::createEphemeralLocalStorageNamespace):
1498 (WebKit::StorageNamespaceImpl::StorageNamespaceImpl):
1499 (WebKit::StorageNamespaceImpl::~StorageNamespaceImpl):
1500 (WebKit::StorageNamespaceImpl::copy):
1501 (WebKit::StorageNamespaceImpl::close):
1502 * Storage/StorageNamespaceImpl.h:
1504 * Storage/WebStorageNamespaceProvider.cpp:
1505 (WebKit::WebStorageNamespaceProvider::createEphemeralLocalStorageNamespace):
1506 * Storage/WebStorageNamespaceProvider.h:
1508 2017-04-12 Yusuke Suzuki <utatane.tea@gmail.com>
1510 [WTF] Introduce Thread class and use RefPtr<Thread> and align Windows Threading implementation semantics to Pthread one
1511 https://bugs.webkit.org/show_bug.cgi?id=170502
1513 Reviewed by Mark Lam.
1515 Mechanical change. Use Thread:: APIs.
1517 * Storage/StorageThread.cpp:
1518 (WebCore::StorageThread::StorageThread):
1519 (WebCore::StorageThread::~StorageThread):
1520 (WebCore::StorageThread::start):
1521 (WebCore::StorageThread::dispatch):
1522 (WebCore::StorageThread::terminate):
1523 * Storage/StorageThread.h:
1525 2017-04-10 Chris Dumez <cdumez@apple.com>
1527 Drop Timer::startOneShot() overload taking a double
1528 https://bugs.webkit.org/show_bug.cgi?id=170659
1530 Reviewed by Yusuke Suzuki.
1532 Drop Timer::startOneShot() overload taking a double as people should use Seconds type now.
1534 * Storage/StorageAreaSync.cpp:
1535 * Storage/StorageTracker.cpp:
1536 (WebKit::StorageTracker::StorageTracker):
1537 * Storage/StorageTracker.h:
1538 (WebKit::StorageTracker::storageDatabaseIdleInterval):
1539 (WebKit::StorageTracker::setStorageDatabaseIdleInterval):
1541 2017-04-09 Chris Dumez <cdumez@apple.com>
1543 Start dropping Timer API dealing with double
1544 https://bugs.webkit.org/show_bug.cgi?id=170649
1546 Reviewed by Yusuke Suzuki.
1548 Start dropping Timer API dealing with double as people should use Seconds now.
1550 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1551 (WebResourceLoadScheduler::scheduleServePendingRequests):
1553 2017-04-06 Joseph Pecoraro <pecoraro@apple.com>
1555 Web Inspector: Only Capture Extra Network Load Metrics when there is a Web Inspector Frontend
1556 https://bugs.webkit.org/show_bug.cgi?id=170525
1558 Reviewed by Youenn Fablet.
1560 * WebCoreSupport/WebResourceLoadScheduler.h:
1562 2017-04-05 Fujii Hironori <Hironori.Fujii@sony.com>
1564 [WinCairo] Invalid address specified to RtlValidateHeap at std::ctype<char>::_Tidy() when finishing MiniBrowser
1565 https://bugs.webkit.org/show_bug.cgi?id=157067
1567 Reviewed by Per Arne Vollan.
1569 WebKit is compiled with /MT switch to use static CRT on Windows.
1570 But, WinCairo port does not link the static CRT by specifying
1571 /NODEFAULTLIB:LIBCMT and /NODEFAULTLIB:LIBCMTD switches.
1572 Eventually, a dynamically linked CRT is linked. This causes
1573 potential heap corruption.
1575 * PlatformWin.cmake: Do not set /NODEFAULTLIB:LIBCMT and
1576 /NODEFAULTLIB:LIBCMTD, but /NODEFAULTLIB:MSVCRT and
1577 /NODEFAULTLIB:MSVCRTD as well as AppleWin port does
1579 2017-03-31 Brady Eidson <beidson@apple.com>
1581 Clean up the "StorageType" enum.
1582 https://bugs.webkit.org/show_bug.cgi?id=170349
1584 Reviewed by Tim Horton.
1586 * Storage/StorageAreaImpl.cpp:
1587 (WebKit::StorageAreaImpl::dispatchStorageEvent):
1589 * Storage/StorageNamespaceImpl.cpp:
1590 (WebKit::StorageNamespaceImpl::createSessionStorageNamespace):
1591 (WebKit::StorageNamespaceImpl::getOrCreateLocalStorageNamespace):
1592 (WebKit::StorageNamespaceImpl::StorageNamespaceImpl):
1593 (WebKit::StorageNamespaceImpl::~StorageNamespaceImpl):
1594 (WebKit::StorageNamespaceImpl::copy):
1595 (WebKit::StorageNamespaceImpl::close):
1597 2017-03-27 JF Bastien <jfbastien@apple.com>
1599 make build fix for WebDefaultUIDelegate.m
1600 https://bugs.webkit.org/show_bug.cgi?id=170163
1602 Unreviewed build fix.
1604 * PlatformMac.cmake: WebDefaultUIDelegate.m was renamed
1606 2017-03-24 Wenson Hsieh <wenson_hsieh@apple.com>
1608 [WK2] Add a UI delegate SPI hook to enable or disable navigation on drop
1609 https://bugs.webkit.org/show_bug.cgi?id=169168
1610 <rdar://problem/30688374>
1612 Reviewed by Tim Horton.
1614 See WebKit ChangeLog for more details. Renames WebDefaultUIDelegate.m => WebDefaultUIDelegate.mm.
1616 * WebKit.xcodeproj/project.pbxproj:
1618 2017-03-20 Dan Bernstein <mitz@apple.com>
1620 [Xcode] Incremental builds of WebKitLegacy are slow because of the Postprocess Headers phase
1621 https://bugs.webkit.org/show_bug.cgi?id=169861
1623 Reviewed by Sam Weinig.
1625 * WebKit.xcodeproj/project.pbxproj: Specified that the Postprocess Headers script build
1626 phase has the Headers and PrivateHeaders directories as its inputs and a timestamp file as
1629 2017-03-15 Dean Jackson <dino@apple.com>
1631 Sort Xcode project files
1632 https://bugs.webkit.org/show_bug.cgi?id=169669
1634 Reviewed by Antoine Quint.
1636 * WebKit.xcodeproj/project.pbxproj:
1638 2017-02-27 Aakash Jain <aakash_jain@apple.com>
1640 Enable SUPPORTS_TEXT_BASED_API in WebKitLegacy for iOS
1641 https://bugs.webkit.org/show_bug.cgi?id=168919
1643 Reviewed by Tim Horton.
1645 * WebKit.xcodeproj/project.pbxproj: Run scripts which are run for installhdrs phase for installapi phase as well.
1647 2017-02-22 Aakash Jain <aakash_jain@apple.com>
1649 Export Objective-C symbols for variables in Webkit SPI
1650 https://bugs.webkit.org/show_bug.cgi?id=168758
1652 Reviewed by Alexey Proskuryakov.
1654 * WebKit.xcodeproj/project.pbxproj: Generating separate .exp file for i386 without _OBJC_IVAR symbols.
1656 2017-02-21 Aakash Jain <aakash_jain@apple.com>
1658 Make WebKitStatisticsPrivate.h project header
1659 https://bugs.webkit.org/show_bug.cgi?id=168686
1661 Reviewed by Alexey Proskuryakov.
1663 * WebKit.xcodeproj/project.pbxproj:
1665 2017-02-21 Commit Queue <commit-queue@webkit.org>
1667 Unreviewed, rolling out r212768.
1668 https://bugs.webkit.org/show_bug.cgi?id=168698
1670 Rolling out since this would break other projects. (Requested
1671 by aakashjain on #webkit).
1675 "[iOS] Remove old WebKit1 MemoryMeasure helper."
1676 https://bugs.webkit.org/show_bug.cgi?id=168675
1677 http://trac.webkit.org/changeset/212768
1679 2017-02-21 Andreas Kling <akling@apple.com>
1681 [iOS] Remove old WebKit1 MemoryMeasure helper.
1682 <https://webkit.org/b/168675>
1684 Reviewed by Sam Weinig.
1686 * WebKit.xcodeproj/project.pbxproj:
1688 2017-02-21 JF Bastien <jfbastien@apple.com>
1691 https://bugs.webkit.org/show_bug.cgi?id=168665
1693 Reviewed by Mark Lam.
1695 It was broken by r212555 and r212681.
1697 * PlatformMac.cmake:
1699 2017-02-20 Alexey Proskuryakov <ap@apple.com>
1701 List of WebCore symbols to re-export from WebKitLegacy should be built automatically
1702 https://bugs.webkit.org/show_bug.cgi?id=168342
1703 rdar://problem/26182266
1705 Reviewed by Tim Horton.
1707 * WebKit.xcodeproj/project.pbxproj: Append ReexportedWebCoreSymbols_${CURRENT_ARCH}.exp
1708 to WebKitLegacy.generated.exp if it exists. Added it to build phase inputs for
1709 dependency tracking.
1711 2017-02-20 Alexey Proskuryakov <ap@apple.com>
1713 Clean up how WebKit exports _WebCreateFragment
1714 https://bugs.webkit.org/show_bug.cgi?id=168579
1716 Reviewed by Dan Bernstein.
1718 * WebKit.xcodeproj/project.pbxproj: Added WebCreateFragmentInternal.h.
1720 2017-02-15 Brady Eidson <beidson@apple.com>
1722 Stop backing up localStorage databases to iCloud by default.
1723 <rdar://problem/29045531> and https://bugs.webkit.org/show_bug.cgi?id=168388
1725 Reviewed by Geoffrey Garen.
1727 * WebKit.xcodeproj/project.pbxproj:
1729 2017-02-15 Aakash Jain <aakash_jain@apple.com>
1731 revert DOMTextEvent.h and DOMHTMLCanvasElement.h to private header
1732 https://bugs.webkit.org/show_bug.cgi?id=168393
1734 Reviewed by Dan Bernstein.
1736 Reverting a seemingly accidental change from r204717.
1738 * WebKit.xcodeproj/project.pbxproj:
1740 2017-02-09 Alex Christensen <achristensen@webkit.org>
1744 * PlatformMac.cmake:
1746 2017-02-07 Alexey Proskuryakov <ap@apple.com>
1748 Don't migrate WebKit DOM headers in MigrateHeaders.make
1749 https://bugs.webkit.org/show_bug.cgi?id=167608
1751 Reviewed by Darin Adler.
1753 Stop migrating DOM headers that are now in WebKit.
1755 * WebKit.xcodeproj/project.pbxproj: Marked DOM headers as private, so that Xcode
1756 takes care of making them available as SPI.
1758 2017-02-02 Yongjun Zhang <yongjun_zhang@apple.com>
1760 In iOS, we should take background assertion when accessing localstorage databases.
1761 https://bugs.webkit.org/show_bug.cgi?id=165478
1763 Reviewed by Brady Eidson.
1765 * WebKit.xcodeproj/project.pbxproj: Moved WebSQLiteDatabaseTrackerClient to WebCore.
1767 2017-01-17 Antti Koivisto <antti@apple.com>
1769 Persist derived data
1770 https://bugs.webkit.org/show_bug.cgi?id=167136
1772 Reviewed by Andreas Kling.
1774 * WebCoreSupport/WebResourceLoadScheduler.h:
1776 2017-01-05 Per Arne Vollan <pvollan@apple.com>
1778 [Win] Compile error.
1779 https://bugs.webkit.org/show_bug.cgi?id=166726
1785 2016-12-22 Andy Estes <aestes@apple.com>
1787 Reduce QuickLook.h include overhead
1788 https://bugs.webkit.org/show_bug.cgi?id=166454
1790 Reviewed by Andreas Kling.
1792 * WebCoreSupport/WebResourceLoadScheduler.cpp: Stopped including QuickLook.h.
1794 2016-12-15 Myles C. Maxfield <mmaxfield@apple.com>
1796 Sort Xcode project files
1797 https://bugs.webkit.org/show_bug.cgi?id=165937
1799 Reviewed by Simon Fraser.
1801 * WebKit.xcodeproj/project.pbxproj:
1803 2016-12-10 Konstantin Tokarev <annulen@yandex.ru>
1805 Unreviewed attempt to fix cmake build of Mac port after r209665.
1807 * PlatformMac.cmake: Avoid using relative path in
1808 WebKit_INCLUDE_DIRECTORIES.
1810 2016-12-10 Konstantin Tokarev <annulen@yandex.ru>
1812 [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them
1813 https://bugs.webkit.org/show_bug.cgi?id=165686
1815 Reviewed by Michael Catanzaro.
1817 This change reduces duplication of include path lists between modules,
1818 and reduces future need for fixes like r209605 (broken build because of
1819 WebCore header suddenly becoming used in WebKit2).
1822 * PlatformMac.cmake:
1823 * PlatformWin.cmake:
1825 2016-12-05 Csaba Osztrogonác <ossy@webkit.org>
1827 Unreviewed cmake buildfix after r209252.
1829 * PlatformMac.cmake:
1831 2016-12-02 Chris Dumez <cdumez@apple.com>
1833 [Mac][WK1] Implement new HTML interactive form validation user interface
1834 https://bugs.webkit.org/show_bug.cgi?id=164483
1836 Reviewed by Simon Fraser.
1838 Add new files to xcode project.
1840 * WebKit.xcodeproj/project.pbxproj:
1842 2016-11-17 Yusuke Suzuki <utatane.tea@gmail.com>
1844 [JSC] WTF::TemporaryChange with WTF::SetForScope
1845 https://bugs.webkit.org/show_bug.cgi?id=164761
1847 Reviewed by Saam Barati.
1849 * WebCoreSupport/WebResourceLoadScheduler.cpp:
1851 2016-11-14 Alex Christensen <achristensen@webkit.org>
1853 Move SecurityOrigin::createFromDatabaseIdentifier to SecurityOriginData
1854 https://bugs.webkit.org/show_bug.cgi?id=164720
1856 Reviewed by Brady Eidson.
1858 * Storage/StorageAreaImpl.cpp:
1859 (WebKit::StorageAreaImpl::StorageAreaImpl):
1860 (WebKit::StorageAreaImpl::create):
1861 (WebKit::StorageAreaImpl::dispatchStorageEvent):
1862 * Storage/StorageAreaImpl.h:
1863 * Storage/StorageNamespaceImpl.cpp:
1864 (WebKit::StorageNamespaceImpl::storageArea):
1865 (WebKit::StorageNamespaceImpl::clearOriginForDeletion):
1866 * Storage/StorageNamespaceImpl.h:
1867 * Storage/StorageTracker.cpp:
1868 (WebKit::StorageTracker::origins):
1869 (WebKit::StorageTracker::deleteOriginWithIdentifier):
1870 (WebKit::StorageTracker::deleteOrigin):
1871 * Storage/StorageTracker.h:
1872 * Storage/WebStorageNamespaceProvider.cpp:
1873 (WebKit::WebStorageNamespaceProvider::clearLocalStorageForOrigin):
1874 * Storage/WebStorageNamespaceProvider.h:
1876 2016-11-11 Wenson Hsieh <wenson_hsieh@apple.com>
1878 [WK2] autocorrect and autocapitalize attributes do not work in contenteditable elements
1879 https://bugs.webkit.org/show_bug.cgi?id=164538
1880 <rdar://problem/8418711>
1882 Reviewed by Ryosuke Niwa.
1884 Introduce WebAutocapitalizeTypes.h to WebKit.
1886 * WebKit.xcodeproj/project.pbxproj:
1888 2016-11-10 Alex Christensen <achristensen@webkit.org>
1890 Move SecurityOrigin::databaseIdentifier() to SecurityOriginData
1891 https://bugs.webkit.org/show_bug.cgi?id=164573
1893 Reviewed by Brady Eidson.
1895 * Storage/StorageAreaImpl.cpp:
1896 (WebKit::StorageAreaImpl::create):
1897 * Storage/StorageTracker.cpp:
1898 (WebKit::StorageTracker::deleteOrigin):
1899 (WebKit::StorageTracker::diskUsageForOrigin):
1901 2016-11-09 Alex Christensen <achristensen@webkit.org>
1903 Clean up Storage code
1904 https://bugs.webkit.org/show_bug.cgi?id=164562
1906 Reviewed by Brady Eidson.
1908 Some classes were in WebCore namespace instead of WebKit.
1910 * Storage/StorageAreaImpl.cpp:
1911 (WebKit::StorageAreaImpl::StorageAreaImpl):
1912 (WebKit::StorageAreaImpl::create):
1913 (WebKit::StorageAreaImpl::copy):
1914 (WebCore::StorageAreaImpl::~StorageAreaImpl): Deleted.
1915 (WebCore::StorageAreaImpl::StorageAreaImpl): Deleted.
1916 (WebCore::StorageAreaImpl::create): Deleted.
1917 (WebCore::StorageAreaImpl::copy): Deleted.
1918 (WebCore::StorageAreaImpl::canAccessStorage): Deleted.
1919 (WebCore::StorageAreaImpl::storageType): Deleted.
1920 (WebCore::StorageAreaImpl::length): Deleted.
1921 (WebCore::StorageAreaImpl::key): Deleted.
1922 (WebCore::StorageAreaImpl::item): Deleted.
1923 (WebCore::StorageAreaImpl::setItem): Deleted.
1924 (WebCore::StorageAreaImpl::removeItem): Deleted.
1925 (WebCore::StorageAreaImpl::clear): Deleted.
1926 (WebCore::StorageAreaImpl::contains): Deleted.
1927 (WebCore::StorageAreaImpl::importItems): Deleted.
1928 (WebCore::StorageAreaImpl::close): Deleted.
1929 (WebCore::StorageAreaImpl::clearForOriginDeletion): Deleted.
1930 (WebCore::StorageAreaImpl::sync): Deleted.
1931 (WebCore::StorageAreaImpl::blockUntilImportComplete): Deleted.
1932 (WebCore::StorageAreaImpl::memoryBytesUsedByCache): Deleted.
1933 (WebCore::StorageAreaImpl::incrementAccessCount): Deleted.
1934 (WebCore::StorageAreaImpl::decrementAccessCount): Deleted.
1935 (WebCore::StorageAreaImpl::closeDatabaseTimerFired): Deleted.
1936 (WebCore::StorageAreaImpl::closeDatabaseIfIdle): Deleted.
1937 (WebCore::StorageAreaImpl::dispatchStorageEvent): Deleted.
1938 * Storage/StorageAreaImpl.h:
1939 * Storage/StorageAreaSync.cpp:
1940 (WebKit::StorageAreaSync::StorageAreaSync):
1941 (WebKit::StorageAreaSync::create):
1942 (WebCore::StorageAreaSync::StorageAreaSync): Deleted.
1943 (WebCore::StorageAreaSync::create): Deleted.
1944 (WebCore::StorageAreaSync::~StorageAreaSync): Deleted.
1945 (WebCore::StorageAreaSync::scheduleFinalSync): Deleted.
1946 (WebCore::StorageAreaSync::scheduleItemForSync): Deleted.
1947 (WebCore::StorageAreaSync::scheduleClear): Deleted.
1948 (WebCore::StorageAreaSync::scheduleCloseDatabase): Deleted.
1949 (WebCore::StorageAreaSync::syncTimerFired): Deleted.
1950 (WebCore::StorageAreaSync::openDatabase): Deleted.
1951 (WebCore::StorageAreaSync::migrateItemTableIfNeeded): Deleted.
1952 (WebCore::StorageAreaSync::performImport): Deleted.
1953 (WebCore::StorageAreaSync::markImported): Deleted.
1954 (WebCore::StorageAreaSync::blockUntilImportComplete): Deleted.
1955 (WebCore::StorageAreaSync::sync): Deleted.
1956 (WebCore::StorageAreaSync::performSync): Deleted.
1957 (WebCore::StorageAreaSync::deleteEmptyDatabase): Deleted.
1958 (WebCore::StorageAreaSync::scheduleSync): Deleted.
1959 * Storage/StorageAreaSync.h:
1960 * Storage/StorageNamespaceImpl.cpp:
1961 (WebKit::StorageNamespaceImpl::createSessionStorageNamespace):
1962 (WebKit::StorageNamespaceImpl::getOrCreateLocalStorageNamespace):
1963 (WebKit::StorageNamespaceImpl::storageArea):
1964 (WebCore::localStorageNamespaceMap): Deleted.
1965 (WebCore::StorageNamespaceImpl::createSessionStorageNamespace): Deleted.
1966 (WebCore::StorageNamespaceImpl::getOrCreateLocalStorageNamespace): Deleted.
1967 (WebCore::StorageNamespaceImpl::StorageNamespaceImpl): Deleted.
1968 (WebCore::StorageNamespaceImpl::~StorageNamespaceImpl): Deleted.
1969 (WebCore::StorageNamespaceImpl::copy): Deleted.
1970 (WebCore::StorageNamespaceImpl::storageArea): Deleted.
1971 (WebCore::StorageNamespaceImpl::close): Deleted.
1972 (WebCore::StorageNamespaceImpl::clearOriginForDeletion): Deleted.
1973 (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion): Deleted.
1974 (WebCore::StorageNamespaceImpl::sync): Deleted.
1975 (WebCore::StorageNamespaceImpl::closeIdleLocalStorageDatabases): Deleted.
1976 * Storage/StorageNamespaceImpl.h:
1977 * Storage/StorageTracker.cpp:
1978 (WebCore::StorageTracker::initializeTracker): Deleted.
1979 (WebCore::StorageTracker::internalInitialize): Deleted.
1980 (WebCore::StorageTracker::tracker): Deleted.
1981 (WebCore::StorageTracker::StorageTracker): Deleted.
1982 (WebCore::StorageTracker::setDatabaseDirectoryPath): Deleted.
1983 (WebCore::StorageTracker::databaseDirectoryPath): Deleted.
1984 (WebCore::StorageTracker::trackerDatabasePath): Deleted.
1985 (WebCore::ensureDatabaseFileExists): Deleted.
1986 (WebCore::StorageTracker::openTrackerDatabase): Deleted.
1987 (WebCore::StorageTracker::importOriginIdentifiers): Deleted.
1988 (WebCore::StorageTracker::finishedImportingOriginIdentifiers): Deleted.
1989 (WebCore::StorageTracker::syncImportOriginIdentifiers): Deleted.
1990 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase): Deleted.
1991 (WebCore::StorageTracker::setOriginDetails): Deleted.
1992 (WebCore::StorageTracker::syncSetOriginDetails): Deleted.
1993 (WebCore::StorageTracker::origins): Deleted.
1994 (WebCore::StorageTracker::deleteAllOrigins): Deleted.
1995 (WebCore::truncateDatabaseFile): Deleted.
1996 (WebCore::StorageTracker::syncDeleteAllOrigins): Deleted.
1997 (WebCore::StorageTracker::deleteOriginWithIdentifier): Deleted.
1998 (WebCore::StorageTracker::deleteOrigin): Deleted.
1999 (WebCore::StorageTracker::syncDeleteOrigin): Deleted.
2000 (WebCore::StorageTracker::willDeleteAllOrigins): Deleted.
2001 (WebCore::StorageTracker::willDeleteOrigin): Deleted.
2002 (WebCore::StorageTracker::canDeleteOrigin): Deleted.
2003 (WebCore::StorageTracker::cancelDeletingOrigin): Deleted.
2004 (WebCore::StorageTracker::isActive): Deleted.
2005 (WebCore::StorageTracker::setIsActive): Deleted.
2006 (WebCore::StorageTracker::databasePathForOrigin): Deleted.
2007 (WebCore::StorageTracker::diskUsageForOrigin): Deleted.
2008 * Storage/StorageTracker.h:
2009 (WebCore::StorageTracker::storageDatabaseIdleInterval): Deleted.
2010 (WebCore::StorageTracker::setStorageDatabaseIdleInterval): Deleted.
2011 * Storage/WebStorageNamespaceProvider.cpp:
2012 (storageNamespaceProviders): Deleted.
2013 (WebStorageNamespaceProvider::create): Deleted.
2014 (WebStorageNamespaceProvider::WebStorageNamespaceProvider): Deleted.
2015 (WebStorageNamespaceProvider::~WebStorageNamespaceProvider): Deleted.
2016 (WebStorageNamespaceProvider::closeLocalStorage): Deleted.
2017 (WebStorageNamespaceProvider::clearLocalStorageForAllOrigins): Deleted.
2018 (WebStorageNamespaceProvider::clearLocalStorageForOrigin): Deleted.
2019 (WebStorageNamespaceProvider::closeIdleLocalStorageDatabases): Deleted.
2020 (WebStorageNamespaceProvider::syncLocalStorage): Deleted.
2021 (WebStorageNamespaceProvider::createSessionStorageNamespace): Deleted.
2022 (WebStorageNamespaceProvider::createLocalStorageNamespace): Deleted.
2023 (WebStorageNamespaceProvider::createTransientLocalStorageNamespace): Deleted.
2024 * Storage/WebStorageNamespaceProvider.h:
2025 * WebCoreSupport/WebResourceLoadScheduler.h:
2026 * WebCoreSupport/WebViewGroup.cpp:
2027 (WebViewGroup::storageNamespaceProvider):
2029 2016-11-02 Per Arne Vollan <pvollan@apple.com>
2031 [Win] Copy build results to AAS 'Program Files' folder.
2032 https://bugs.webkit.org/show_bug.cgi?id=164273
2034 Reviewed by Brent Fulgham.
2036 The preferred location for the binaries is the AAS 'Program Files' folder.
2038 * WebKit.vcxproj/WebKit.proj:
2040 2016-10-25 Konstantin Tokarev <annulen@yandex.ru>
2042 [cmake] Check if jscLib and WebKitGUID targets exist before using them
2043 https://bugs.webkit.org/show_bug.cgi?id=163945
2045 Reviewed by Alex Christensen.
2047 Currently these targets are used under WIN32 condition, however they
2048 are defined in PlatformWin.cmake, causing CMake warnings if port
2049 supports WIN32 but does not use PlatformWin.cmake
2053 2016-10-24 Per Arne Vollan <pvollan@apple.com>
2055 [Win] CMake build type is not set.
2056 https://bugs.webkit.org/show_bug.cgi?id=163917
2058 Reviewed by Alex Christensen.
2060 The CMAKE_BUILD_TYPE variable should be set to Debug or Release.
2062 * WebKit.vcxproj/WebKit.proj:
2064 2016-10-19 Alex Christensen <achristensen@webkit.org>
2067 https://bugs.webkit.org/show_bug.cgi?id=163675
2069 Reviewed by Brent Fulgham.
2071 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2072 (WebResourceLoadScheduler::scheduleLoad):
2074 2016-10-14 Alex Christensen <achristensen@webkit.org>
2078 * PlatformMac.cmake:
2080 2016-10-13 Anders Carlsson <andersca@apple.com>
2082 Move BackForwardList from WebCore to WebKitLegacy
2083 https://bugs.webkit.org/show_bug.cgi?id=163418
2085 Reviewed by Tim Horton.
2087 * WebKit.xcodeproj/project.pbxproj:
2089 2016-10-12 Anders Carlsson <andersca@apple.com>
2091 Copy BackForwardList from WebCore to WebKit/win
2092 https://bugs.webkit.org/show_bug.cgi?id=163360
2094 Reviewed by Alex Christensen.
2096 This is the first step towards getting rid of BackForwardList in WebCore.
2098 * PlatformWin.cmake:
2101 2016-10-11 Alex Christensen <achristensen@webkit.org>
2103 Remove dead networking code
2104 https://bugs.webkit.org/show_bug.cgi?id=163263
2106 Reviewed by Daniel Bates.
2108 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2109 (WebResourceLoadScheduler::scheduleLoad):
2111 2016-10-06 Brent Fulgham <bfulgham@apple.com>
2113 Unreviewed build fix when building with Direct2D.
2115 * PlatformWin.cmake: Add missing library references.
2117 2016-10-05 Daniel Bates <dabates@apple.com>
2119 Do not follow redirects when sending violation report
2120 https://bugs.webkit.org/show_bug.cgi?id=162520
2121 <rdar://problem/27957639>
2123 Reviewed by Alex Christensen.
2125 Update implementation of legacy WebKit loader strategy to pass through a boolean,
2126 shouldFollowRedirects, to PingHandle as to whether to follow redirect responses
2129 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2130 (WebResourceLoadScheduler::createPingHandle):
2131 * WebCoreSupport/WebResourceLoadScheduler.h:
2133 2016-09-20 Don Olmstead <don.olmstead@am.sony.com>
2135 [WinCairo] Use find_package cairo in build
2136 https://bugs.webkit.org/show_bug.cgi?id=162239
2138 Reviewed by Alex Christensen.
2140 * PlatformWin.cmake:
2142 2016-09-12 Brent Fulgham <bfulgham@apple.com>
2144 [Win][Direct2D] Provide Direct2D-based geometry and transform cast operations
2145 https://bugs.webkit.org/show_bug.cgi?id=161818
2147 Reviewed by Dean Jackson.
2149 * PlatformWin.cmake: Link to Direct2D on Windows.
2151 2016-09-06 Dan Bernstein <mitz@apple.com>
2153 [Xcode] WebKitLegacy.framework is re-signed on incremental build even if nothing’s changed
2154 https://bugs.webkit.org/show_bug.cgi?id=161642
2156 Reviewed by Tim Horton.
2158 * WebKit.xcodeproj/project.pbxproj: Removed the output file listed under the
2159 Symlink WebKitPluginHost script build phase, because it doesn’t produce that file on iOS.
2160 With no outputs listed, the script will still run every time, but the fact that it has run
2161 won’t trigger re-signing the framework.
2163 2016-08-25 Alex Christensen <achristensen@webkit.org>
2167 * PlatformMac.cmake:
2168 Availability was spelled wrong, resulting in a missing header.
2170 2016-08-22 Alex Christensen <achristensen@webkit.org>
2172 Fix Mac CMake build after r204717.
2174 * PlatformMac.cmake:
2176 2016-08-22 Alex Christensen <achristensen@webkit.org>
2178 Mostly fix Mac CMake build after r204717.
2180 * PlatformMac.cmake:
2182 2016-08-22 Darin Adler <darin@apple.com>
2184 Move Objective-C DOM bindings from WebCore to legacy WebKit
2185 https://bugs.webkit.org/show_bug.cgi?id=160654
2187 Reviewed by Alex Christensen.
2189 * WebKit.xcodeproj/project.pbxproj: Added the new source files to the project.
2190 For now they all have project visibility, since MigrateHeaders.make takes care
2191 of exporting them as public and private. Later, we can likely use the built-in
2192 Xcode feature instead of that script. Also pass DOM as an acceptable prefix
2193 when calling check-for-inappropriate-objc-class-names. Also sorted this file
2194 with the sort-Xcode-project-file script.
2196 2016-08-17 Myles C. Maxfield <mmaxfield@apple.com>
2198 [Cocoa] Migrate off of deprecated CoreGraphics API CGContextSelectFont() and CGContextShowTextAtPoint()
2199 https://bugs.webkit.org/show_bug.cgi?id=160895
2201 Reviewed by Dean Jackson.
2203 Link to the existing CoreText framework.
2205 * PlatformWin.cmake:
2207 2016-08-16 Hunseop Jeong <hs85.jeong@samsung.com>
2209 Unreviewed, CMake build fix
2211 * PlatformMac.cmake:
2213 2016-08-15 Anders Carlsson <andersca@apple.com>
2215 Remove OldWebAssertions.c
2216 https://bugs.webkit.org/show_bug.cgi?id=160862
2218 Reviewed by Dan Bernstein.
2220 * WebKit.xcodeproj/project.pbxproj:
2222 2016-08-15 Anders Carlsson <andersca@apple.com>
2224 Remove WebKeyGenerator
2225 https://bugs.webkit.org/show_bug.cgi?id=160854
2227 Reviewed by Dan Bernstein.
2229 * WebKit.xcodeproj/project.pbxproj:
2231 2016-08-15 Joseph Pecoraro <pecoraro@apple.com>
2233 Remove unused includes of wtf headers
2234 https://bugs.webkit.org/show_bug.cgi?id=160839
2236 Reviewed by Alex Christensen.
2238 * Storage/StorageSyncManager.h:
2239 * Storage/StorageThread.cpp:
2240 * Storage/StorageThread.h:
2241 * Storage/WebDatabaseProvider.cpp:
2243 2016-08-08 Anders Carlsson <andersca@apple.com>
2245 Add a new PluginInfoProvider class, to replace PluginStrategy
2246 https://bugs.webkit.org/show_bug.cgi?id=160670
2248 Reviewed by Sam Weinig.
2252 * PlatformWin.cmake:
2253 * WebKit.xcodeproj/project.pbxproj:
2255 2016-08-04 Alex Christensen <achristensen@webkit.org>
2257 [Mac][cmake] Fix the build after Objective-C bindings generator removal
2258 https://bugs.webkit.org/show_bug.cgi?id=160545
2260 Reviewed by Alex Christensen.
2262 * PlatformMac.cmake:
2264 2016-07-26 Simon Fraser <simon.fraser@apple.com>
2266 Fix the Windows debug build.
2268 WebResourceLoadScheduler's logging was a holdover from it being in WebCore,
2269 and prior to r203749 WebKit was actually using a WebCore log channel.
2271 For some reason this doesn't build on Windows debug, so just remove
2272 this logging for now.
2274 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2275 (WebResourceLoadScheduler::scheduleLoad): Deleted.
2276 (WebResourceLoadScheduler::servePendingRequests): Deleted.
2277 (WebResourceLoadScheduler::scheduleServePendingRequests): Deleted.
2278 (WebResourceLoadScheduler::requestTimerFired): Deleted.
2279 (WebResourceLoadScheduler::HostInformation::addLoadInProgress): Deleted.
2281 2016-07-26 Simon Fraser <simon.fraser@apple.com>
2283 Sort the project files.
2285 * WebKit.xcodeproj/project.pbxproj:
2287 2016-07-26 Simon Fraser <simon.fraser@apple.com>
2289 Allow LOG macros to be used outside the namespace, and other logging cleanup
2290 https://bugs.webkit.org/show_bug.cgi?id=160216
2292 Reviewed by Anders Carlsson.
2294 Fix some issues with the LOG macros.
2296 First, they were not usable outside the WebKit namespace in WebKit2 code. Fix by moving
2297 its log channels outside of the namespace (they are protected by a unique prefix anyway).
2299 Second, allow LOG_WITH_STREAM to be used in WebKit2 by moving that and a helper macro
2300 into LogMacros.h, which is exported from WebCore as a private header.
2302 Third, split the Logging.h header into two. Logging.h remains for framework-internal
2303 log channels and log macros. Add LogInitialization.h which is external, and used to
2304 initialize the channels.
2306 Finally unify "initializeLogChannels" and "initializeLoggingChannels" terminology everywhere.
2308 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2310 2016-07-14 Alex Christensen <achristensen@webkit.org>
2312 Use SocketProvider to create SocketStreamHandles
2313 https://bugs.webkit.org/show_bug.cgi?id=159774
2315 Reviewed by Alex Christensen.
2317 * PlatformMac.cmake:
2318 * PlatformWin.cmake:
2319 * WebKit.xcodeproj/project.pbxproj:
2321 2016-07-12 Per Arne Vollan <pvollan@apple.com>
2323 [Win] Fix for build error when trying to version stamp dll.
2324 https://bugs.webkit.org/show_bug.cgi?id=159692
2326 Reviewed by Brent Fulgham.
2328 Use correct path to version stamp script.
2332 2016-07-12 Per Arne Vollan <pvollan@apple.com>
2334 [Win] DLLs are missing version information.
2335 https://bugs.webkit.org/show_bug.cgi?id=159349
2337 Reviewed by Brent Fulgham.
2339 Run perl version stamp utility.
2343 2016-07-11 Commit Queue <commit-queue@webkit.org>
2345 Unreviewed, rolling out r203064.
2346 https://bugs.webkit.org/show_bug.cgi?id=159642
2348 This change causes LayoutTest crashes on WK1 ASan (Requested
2349 by ryanhaddad on #webkit).
2353 "Use refs for ResourceLoaders"
2354 https://bugs.webkit.org/show_bug.cgi?id=159592
2355 http://trac.webkit.org/changeset/203064
2357 2016-07-08 Alex Christensen <achristensen@webkit.org>
2359 Use refs for ResourceLoaders
2360 https://bugs.webkit.org/show_bug.cgi?id=159592
2362 Reviewed by Chris Dumez.
2364 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2365 (webResourceLoadScheduler):
2366 (WebResourceLoadScheduler::hostForURL):
2367 (WebResourceLoadScheduler::WebResourceLoadScheduler):
2368 (WebResourceLoadScheduler::loadResource):
2369 (WebResourceLoadScheduler::schedulePluginStreamLoad):
2370 (WebResourceLoadScheduler::scheduleLoad):
2371 (WebResourceLoadScheduler::remove):
2372 (WebResourceLoadScheduler::setDefersLoading):
2373 (WebResourceLoadScheduler::crossOriginRedirectReceived):
2374 (WebResourceLoadScheduler::servePendingRequests):
2375 (WebResourceLoadScheduler::resumePendingRequests):
2376 (WebResourceLoadScheduler::HostInformation::priorityToIndex):
2377 (WebResourceLoadScheduler::HostInformation::schedule):
2378 (WebResourceLoadScheduler::HostInformation::addLoadInProgress):
2379 (WebResourceLoadScheduler::HostInformation::remove):
2380 * WebCoreSupport/WebResourceLoadScheduler.h:
2381 (WebResourceLoadScheduler::HostInformation::name):
2382 (WebResourceLoadScheduler::HostInformation::requestsPending):
2383 m_nonHTTPProtocolHost used to be a leaked pointer, and now it's a member variable.
2385 2016-07-08 Commit Queue <commit-queue@webkit.org>
2387 Unreviewed, rolling out r202799.
2388 https://bugs.webkit.org/show_bug.cgi?id=159568
2390 Caused build failure (Requested by perarne on #webkit).
2394 "[Win] DLLs are missing version information."
2395 https://bugs.webkit.org/show_bug.cgi?id=159349
2396 http://trac.webkit.org/changeset/202799
2398 2016-07-07 Alex Christensen <achristensen@webkit.org>
2400 Use SocketProvider to create WebSocketChannels
2401 https://bugs.webkit.org/show_bug.cgi?id=158776
2403 Reviewed by Brent Fulgham.
2405 * PlatformMac.cmake:
2406 * PlatformWin.cmake:
2407 * WebKit.xcodeproj/project.pbxproj:
2409 2016-07-03 Per Arne Vollan <pvollan@apple.com>
2411 [Win] DLLs are missing version information.
2412 https://bugs.webkit.org/show_bug.cgi?id=159349
2414 Reviewed by Brent Fulgham.
2416 WTF will generate autoversion.h in the prebuild step.
2417 Run the perl version stamp utility.
2420 * PlatformWin.cmake:
2422 2016-06-21 Anders Carlsson <andersca@apple.com>
2424 Rename NoncopyableFunction to Function
2425 https://bugs.webkit.org/show_bug.cgi?id=158354
2427 Reviewed by Chris Dumez.
2429 * Storage/StorageSyncManager.cpp:
2430 (WebCore::StorageSyncManager::dispatch):
2431 * Storage/StorageSyncManager.h:
2432 * Storage/StorageThread.cpp:
2433 (WebCore::StorageThread::dispatch):
2434 (WebCore::StorageThread::terminate):
2435 * Storage/StorageThread.h:
2437 2016-06-22 Anders Carlsson <andersca@apple.com>
2439 Move the WebKitLegacy Apple Pay code to the open source repository
2440 https://bugs.webkit.org/show_bug.cgi?id=159035
2442 Reviewed by Tim Horton.
2444 * WebKit.xcodeproj/project.pbxproj:
2446 2016-06-20 Keith Rollin <krollin@apple.com>
2448 Remove RefPtr::release() and change calls sites to use WTFMove()
2449 https://bugs.webkit.org/show_bug.cgi?id=158369
2451 Reviewed by Chris Dumez.
2453 RefPtr::release() releases its managed pointer awkwardly. It's more
2454 direct and clearer to use WTFMove to transfer ownership of the managed
2457 As part of this cleanup, also change a lot of explicit data types to
2460 * Storage/StorageAreaImpl.cpp:
2461 (WebCore::StorageAreaImpl::setItem):
2462 (WebCore::StorageAreaImpl::removeItem):
2464 2016-06-13 Alex Christensen <achristensen@webkit.org>
2466 Add WebSocketProvider stub
2467 https://bugs.webkit.org/show_bug.cgi?id=158702
2469 Reviewed by Brady Eidson.
2471 * WebKit.xcodeproj/project.pbxproj:
2473 2016-06-10 Alex Christensen <achristensen@webkit.org>
2477 * PlatformMac.cmake:
2479 2016-06-09 Alex Christensen <achristensen@webkit.org>
2481 Clean up WebKit.vcxproj directory after switching to CMake.
2483 * PlatformWin.cmake:
2484 * WebKit.vcxproj/Interfaces: Removed.
2485 * WebKit.vcxproj/WebKit: Removed.
2486 * WebKit.vcxproj/WebKit/resource.h: Removed.
2487 * WebKit.vcxproj/WebKitGUID: Removed.
2488 * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj: Removed.
2489 * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj.filters: Removed.
2490 * WebKit.vcxproj/WebKitGUID/WebKitGUIDCommon.props: Removed.
2491 * WebKit.vcxproj/WebKitGUID/WebKitGUIDDebug.props: Removed.
2492 * WebKit.vcxproj/WebKitGUID/WebKitGUIDDebugWinCairo.props: Removed.
2493 * WebKit.vcxproj/WebKitGUID/WebKitGUIDPostBuild.cmd: Removed.
2494 * WebKit.vcxproj/WebKitGUID/WebKitGUIDPreBuild.cmd: Removed.
2495 * WebKit.vcxproj/WebKitGUID/WebKitGUIDProduction.props: Removed.
2496 * WebKit.vcxproj/WebKitGUID/WebKitGUIDRelease.props: Removed.
2497 * WebKit.vcxproj/WebKitGUID/WebKitGUIDReleaseWinCairo.props: Removed.
2499 2016-06-07 Csaba Osztrogonác <ossy@webkit.org>
2501 [Mac][cmake] Unreviewed trivial buildfix after r201689. Just for fun.
2503 * PlatformMac.cmake:
2505 2016-06-04 Anders Carlsson <andersca@apple.com>
2507 Remove NPSPI that is no longer used
2508 https://bugs.webkit.org/show_bug.cgi?id=158384
2510 Reviewed by Sam Weinig.
2512 * WebKit.xcodeproj/project.pbxproj:
2514 2016-06-03 Chris Dumez <cdumez@apple.com>
2516 Modernize a few more lambda captures
2517 https://bugs.webkit.org/show_bug.cgi?id=158370
2519 Reviewed by Brady Eidson.
2521 * Storage/StorageTracker.cpp:
2522 (WebCore::StorageTracker::deleteOrigin):
2524 2016-06-03 Commit Queue <commit-queue@webkit.org>
2526 Unreviewed, rolling out r201663.
2527 https://bugs.webkit.org/show_bug.cgi?id=158374
2529 Broke the Windows build (Requested by andersca on #webkit).
2533 "Rename NoncopyableFunction to Function"
2534 https://bugs.webkit.org/show_bug.cgi?id=158354
2535 http://trac.webkit.org/changeset/201663
2537 2016-06-03 Anders Carlsson <andersca@apple.com>
2539 Rename NoncopyableFunction to Function
2540 https://bugs.webkit.org/show_bug.cgi?id=158354
2542 Reviewed by Chris Dumez.
2544 * Storage/StorageSyncManager.cpp:
2545 (WebCore::StorageSyncManager::dispatch):
2546 * Storage/StorageSyncManager.h:
2547 * Storage/StorageThread.cpp:
2548 (WebCore::StorageThread::dispatch):
2549 (WebCore::StorageThread::terminate):
2550 * Storage/StorageThread.h:
2552 2016-06-02 Youenn Fablet <youenn.fablet@crf.canon.fr>
2554 Use more references in ResourceLoader related code
2555 https://bugs.webkit.org/show_bug.cgi?id=158222
2557 Reviewed by Darin Adler.
2559 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2560 (WebResourceLoadScheduler::loadResource):
2561 * WebCoreSupport/WebResourceLoadScheduler.h:
2563 2016-05-28 Chris Dumez <cdumez@apple.com>
2565 Templatize NoncopyableFunction class similarly to std::function
2566 https://bugs.webkit.org/show_bug.cgi?id=158185
2568 Reviewed by Darin Adler.
2570 Templatize NoncopyableFunction class similarly to std::function, so
2571 that it can be used as a std::function replacement in more places.
2573 Previously, NoncopyableFunction could only support "void()" lambdas.
2575 * Storage/StorageSyncManager.cpp:
2576 (WebCore::StorageSyncManager::dispatch):
2577 * Storage/StorageSyncManager.h:
2578 * Storage/StorageThread.cpp:
2579 (WebCore::StorageThread::dispatch):
2580 (WebCore::StorageThread::terminate):
2581 * Storage/StorageThread.h:
2583 2016-05-27 Chris Dumez <cdumez@apple.com>
2585 callOnMainThread() should not copy captured lambda variables
2586 https://bugs.webkit.org/show_bug.cgi?id=158166
2588 Reviewed by Brady Eidson.
2590 callOnMainThread() should not copy captured lambda variables. This
2591 function is usually called cross-thread with a lambda and copying
2592 the lambda (and its captured variables) can lead to thread-safety
2595 This patch updates callOnMainThread() to take a NoncopyableFunction&&
2596 in parameter instead of a std::function. The call sites of
2597 callOnMainThread() have also been updated to use C++14's lambda
2598 capture with initializer.
2600 * Storage/StorageAreaSync.cpp:
2601 (WebCore::StorageAreaSync::deleteEmptyDatabase):
2602 * Storage/StorageSyncManager.cpp:
2603 (WebCore::StorageSyncManager::dispatch):
2604 * Storage/StorageSyncManager.h:
2605 * Storage/StorageThread.cpp:
2606 (WebCore::StorageThread::dispatch):
2607 (WebCore::StorageThread::terminate):
2608 (WebCore::StorageThread::releaseFastMallocFreeMemoryInAllThreads):
2609 * Storage/StorageThread.h:
2610 * Storage/StorageTracker.cpp:
2611 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
2612 (WebCore::StorageTracker::setOriginDetails):
2614 2016-05-25 Alex Christensen <achristensen@webkit.org>
2618 * PlatformMac.cmake:
2620 2016-05-18 Brady Eidson <beidson@apple.com>
2622 Modern IDB: Make TestRunner.clearAllDatabases also delete IndexedDB databases (once doing so is supported).
2623 https://bugs.webkit.org/show_bug.cgi?id=157823
2625 Reviewed by Alex Christensen.
2627 * Storage/WebDatabaseProvider.cpp:
2628 (WebDatabaseProvider::deleteAllDatabases):
2629 * Storage/WebDatabaseProvider.h:
2631 2016-04-25 Per Arne Vollan <peavo@outlook.com>
2633 [Win][IndexedDB] Fix build errors.
2634 https://bugs.webkit.org/show_bug.cgi?id=156713
2636 Reviewed by Alex Christensen.
2638 Fix compile and link errors when building with IndexedDB enabled.
2640 * PlatformWin.cmake:
2642 2016-04-22 Brent Fulgham <bfulgham@apple.com>
2644 Unreviewed build fix after r199841.
2646 * PlatformWin.cmake: Add missing WebApplicationCache.cpp buid directive.
2648 2016-04-11 Fujii Hironori <Hironori.Fujii@jp.sony.com>
2650 [CMake] Make FOLDER property INHERITED
2651 https://bugs.webkit.org/show_bug.cgi?id=156460
2653 Reviewed by Brent Fulgham.
2656 * PlatformWin.cmake:
2657 Set FOLDER property as a directory property not a target property
2659 2016-04-08 Alex Christensen <achristensen@webkit.org>
2661 Progress towards running CMake WebKit2 on Mac
2662 https://bugs.webkit.org/show_bug.cgi?id=156426
2664 Reviewed by Tim Horton.
2667 * PlatformMac.cmake:
2668 * PlatformWin.cmake:
2670 2016-04-08 Konstantin Tokarev <annulen@yandex.ru>
2672 [cmake] Use ICU include dirs in WebKit.
2673 https://bugs.webkit.org/show_bug.cgi?id=156402
2675 Reviewed by Brent Fulgham.
2679 2016-04-07 Fujii Hironori <Hironori.Fujii@jp.sony.com>
2681 [CMake][Win] Generating autoversion.h of WebKitGUID is triggered again and again
2682 https://bugs.webkit.org/show_bug.cgi?id=156332
2684 Reviewed by Brent Fulgham.
2686 * PlatformWin.cmake:
2687 Correct the output path of autoversion.h.
2689 2016-04-06 Alex Christensen <achristensen@webkit.org>
2691 Fix CMake DumpRenderTree
2692 https://bugs.webkit.org/show_bug.cgi?id=156305
2694 Reviewed by Daniel Bates.
2696 * PlatformMac.cmake:
2698 2016-04-05 Alex Christensen <achristensen@webkit.org>
2700 Make CMake-generated binaries on Mac able to run
2701 https://bugs.webkit.org/show_bug.cgi?id=156268
2703 Reviewed by Daniel Bates.
2707 2016-04-01 Alex Christensen <achristensen@webkit.org>
2709 Compile DumpRenderTree with CMake on Mac
2710 https://bugs.webkit.org/show_bug.cgi?id=156088
2712 Reviewed by Brent Fulgham.
2714 * PlatformMac.cmake:
2716 2016-03-28 Alex Christensen <achristensen@webkit.org>
2718 Fix Ninja build on Mac
2719 https://bugs.webkit.org/show_bug.cgi?id=151399
2721 Reviewed by Darin Adler.
2723 * PlatformWin.cmake:
2725 2016-03-05 Chris Dumez <cdumez@apple.com>
2727 Consolidate RuntimeApplicationChecks and RuntimeApplicationChecksIOS
2728 https://bugs.webkit.org/show_bug.cgi?id=155035
2730 Reviewed by Darin Adler.
2732 Update runtime application checks.
2734 * WebCoreSupport/WebResourceLoadScheduler.cpp:
2735 (WebResourceLoadScheduler::servePendingRequests):
2737 2016-03-04 Alex Christensen <achristensen@webkit.org>
2739 Remove vcxproj build system
2740 https://bugs.webkit.org/show_bug.cgi?id=154388
2742 Rubber-stamped by Brent Fulgham.
2744 * WebKit.vcxproj/Interfaces/FixMIDLHeaders.pl: Removed.
2745 * WebKit.vcxproj/Interfaces/Interfaces.vcxproj: Removed.
2746 * WebKit.vcxproj/Interfaces/Interfaces.vcxproj.filters: Removed.
2747 * WebKit.vcxproj/Interfaces/InterfacesCommon.props: Removed.
2748 * WebKit.vcxproj/Interfaces/InterfacesDebug.props: Removed.
2749 * WebKit.vcxproj/Interfaces/InterfacesDebugWinCairo.props: Removed.
2750 * WebKit.vcxproj/Interfaces/InterfacesPostBuild.cmd: Removed.
2751 * WebKit.vcxproj/Interfaces/InterfacesPreBuild.cmd: Removed.
2752 * WebKit.vcxproj/Interfaces/InterfacesProduction.props: Removed.
2753 * WebKit.vcxproj/Interfaces/InterfacesRelease.props: Removed.
2754 * WebKit.vcxproj/Interfaces/InterfacesReleaseWinCairo.props: Removed.
2755 * WebKit.vcxproj/WebKit.sln: Removed.
2756 * WebKit.vcxproj/WebKit.submit.sln: Removed.
2757 * WebKit.vcxproj/WebKit/WebKit.vcxproj: Removed.
2758 * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters: Removed.
2759 * WebKit.vcxproj/WebKit/WebKitANGLE.props: Removed.
2760 * WebKit.vcxproj/WebKit/WebKitApple.props: Removed.
2761 * WebKit.vcxproj/WebKit/WebKitCFLite.props: Removed.
2762 * WebKit.vcxproj/WebKit/WebKitCommon.props: Removed.
2763 * WebKit.vcxproj/WebKit/WebKitDebug.props: Removed.
2764 * WebKit.vcxproj/WebKit/WebKitDebugWinCairo.props: Removed.
2765 * WebKit.vcxproj/WebKit/WebKitDirectX.props: Removed.
2766 * WebKit.vcxproj/WebKit/WebKitPostBuild.cmd: Removed.
2767 * WebKit.vcxproj/WebKit/WebKitPreBuild.cmd: Removed.
2768 * WebKit.vcxproj/WebKit/WebKitPreLink.cmd: Removed.
2769 * WebKit.vcxproj/WebKit/WebKitProduction.props: Removed.
2770 * WebKit.vcxproj/WebKit/WebKitRelease.props: Removed.
2771 * WebKit.vcxproj/WebKit/WebKitReleaseWinCairo.props: Removed.
2772 * WebKit.vcxproj/WebKit/WebKitVersion.cmd: Removed.
2774 2016-03-01 Alex Christensen <achristensen@webkit.org>
2776 Reduce size of internal windows build output
2777 https://bugs.webkit.org/show_bug.cgi?id=154763
2779 Reviewed by Brent Fulgham.
2781 * WebKit.vcxproj/WebKit.proj:
2783 2016-02-26 Konstantin Tokarev <annulen@yandex.ru>
2785 [cmake] Moved WebKit/Storage sources and include dir to CMakeLists.txt.
2786 https://bugs.webkit.org/show_bug.cgi?id=154722
2788 Reviewed by Darin Adler.
2790 This code provides port-independent layer used by all WK1 ports,
2791 so it belongs to main CMakeLists.txt, not Platform files.
2794 * PlatformMac.cmake:
2795 * PlatformWin.cmake:
2797 2016-02-25 Brady Eidson <beidson@apple.com>
2800 https://bugs.webkit.org/show_bug.cgi?id=150854
2802 Reviewed by Alex Christensen.
2804 * Storage/WebDatabaseProvider.cpp:
2805 (WebDatabaseProvider::createIDBFactoryBackend): Deleted.
2806 * Storage/WebDatabaseProvider.h:
2808 2016-02-25 Brent Fulgham <bfulgham@apple.com>
2810 [Win][CMake] Don't use incremental linking
2811 https://bugs.webkit.org/show_bug.cgi?id=154684
2812 <rdar://problem/24747822>
2814 Reviewed by Alex Christensen.
2816 * PlatformWin.cmake: Make sure the "/INCREMENTAL:NO" flag is used
2817 (overriding "/INCREMENTAL:YES").
2819 2016-02-22 Konstantin Tokarev <annulen@yandex.ru>
2821 [cmake] Moved library setup code to WEBKIT_FRAMEWORK macro.
2822 https://bugs.webkit.org/show_bug.cgi?id=154450
2824 Reviewed by Alex Christensen.
2828 2016-02-15 Alex Christensen <achristensen@webkit.org>
2830 Fix internal Windows build of projects built after WebKit
2831 https://bugs.webkit.org/show_bug.cgi?id=154249
2832 rdar://problem/24644805
2834 Reviewed by Chris Dumez.
2836 * PlatformWin.cmake:
2837 Copy all generated headers to ForwardingHeaders/WebKit, not just WebKit.h.
2838 This should fix problems related to not finding headers from other projects, such as AccessibleApplication.h.
2839 WebKit.h, WebKitCOMAPI.h, and CFDictionaryPropertyBag.h were copied correctly, so this should copy the rest
2840 of the needed headers.
2842 2016-02-12 Alex Christensen <achristensen@webkit.org>
2844 Fix internal Windows WebKit debug build.
2845 rdar://problem/24635219
2847 * PlatformWin.cmake:
2848 We were making WebKit.dll instead of WebKit_debug.dll.
2850 2016-02-11 Alex Christensen <achristensen@webkit.org>
2852 Fix internal Windows build.
2853 rdar://problem/24622882
2855 * WebKit.vcxproj/WebKit.proj:
2856 Don't define DEBUG_SUFFIX in release builds.
2858 2016-02-10 Alex Christensen <achristensen@webkit.org>
2860 Fix internal Windows build
2861 https://bugs.webkit.org/show_bug.cgi?id=154080
2862 rdar://problem/24584417
2864 Reviewed by Brent Fulgham.
2867 Explicitly make WebKit dependent on WebKitGUID so that WebKit will not start building
2868 before WebKitGUID is finished generating and copying all headers, including WebKit/WebKit.h.
2870 2016-01-27 Anders Carlsson <andersca@apple.com>
2872 Add WebKitAdditions extension points to WebCore, WebKit and WebKitLegacy
2873 https://bugs.webkit.org/show_bug.cgi?id=153550
2875 Reviewed by Sam Weinig.
2877 * WebKit.xcodeproj/project.pbxproj:
2880 2016-01-27 Alex Christensen <achristensen@webkit.org>
2882 [Win] Clean build fix after r195680.
2884 * PlatformWin.cmake:
2885 Use the post build command for the post build event.
2887 2016-01-27 Alex Christensen <achristensen@webkit.org>
2889 Fix Win EWS after r195545.
2890 https://bugs.webkit.org/show_bug.cgi?id=153434
2892 * PlatformWin.cmake:
2893 Copy WebKit.h after building WebKitGUID, because it doesn't exist before.
2894 This should fix EWS problems like the one seen in bug 153522.
2896 2016-01-25 Alex Christensen <achristensen@webkit.org>
2898 [Win] Copy forwarding headers before building a project
2899 https://bugs.webkit.org/show_bug.cgi?id=153434
2901 Reviewed by Brent Fulgham.
2903 * PlatformWin.cmake:
2905 2016-01-22 Darin Adler <darin@apple.com>
2907 Reduce use of equalIgnoringCase to just ignore ASCII case
2908 https://bugs.webkit.org/show_bug.cgi?id=153266
2910 Reviewed by Ryosuke Niwa.
2912 * Storage/StorageTracker.cpp:
2913 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
2914 Removed extraneous unneeded ", true" in call to String::endsWith.
2915 Preparation for later removing the boolean argument.
2917 2016-01-14 Brady Eidson <beidson@apple.com>
2919 Modern IDB: Support opening and deleting SQLite databases on disk.
2920 https://bugs.webkit.org/show_bug.cgi?id=153084
2922 Reviewed by Alex Christensen, Sam Weinig and Andy Estes (oh my!).
2924 * Storage/WebDatabaseProvider.cpp:
2925 (WebDatabaseProvider::idbConnectionToServerForSession):
2926 * Storage/WebDatabaseProvider.h:
2928 * WebKit.xcodeproj/project.pbxproj:
2930 2016-01-13 Chris Dumez <cdumez@apple.com>
2932 Unreviewed, rolling out r194900.
2934 Roll back in as this did not actually regress PLT
2938 "Unreviewed, rolling out r194826."
2939 https://bugs.webkit.org/show_bug.cgi?id=153020
2940 http://trac.webkit.org/changeset/194900
2942 2016-01-12 Commit Queue <commit-queue@webkit.org>
2944 Unreviewed, rolling out r194826.
2945 https://bugs.webkit.org/show_bug.cgi?id=153020
2947 Appears to have regressed PLT (Requested by kling on #webkit).
2951 "Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL
2953 https://bugs.webkit.org/show_bug.cgi?id=152902
2954 http://trac.webkit.org/changeset/194826
2956 2016-01-10 Andreas Kling <akling@apple.com>
2958 Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL cont'd
2959 <https://webkit.org/b/152902>
2961 Reviewed by Andy Estes.
2963 * Storage/StorageThread.cpp:
2964 (WebCore::activeStorageThreads):
2966 2015-12-31 Andy Estes <aestes@apple.com>
2968 Replace WTF::move with WTFMove
2969 https://bugs.webkit.org/show_bug.cgi?id=152601
2971 Reviewed by Brady Eidson.
2973 * Storage/StorageNamespaceImpl.cpp:
2974 (WebCore::StorageNamespaceImpl::storageArea):
2976 2015-12-16 Alex Christensen <achristensen@webkit.org>
2978 Fix internal Windows build
2979 https://bugs.webkit.org/show_bug.cgi?id=152364
2980 rdar://problem/23928759
2982 Reviewed by Tim Horton.
2984 * WebKit.vcxproj/WebKit.proj:
2986 2015-12-02 Antti Koivisto <antti@apple.com>
2988 Move ResourceLoadScheduler to WebKit1
2989 https://bugs.webkit.org/show_bug.cgi?id=151743
2991 Reviewed by Alex Christensen.
2993 * WebCoreSupport/WebResourceLoadScheduler.cpp: Copied from Source/WebCore/loader/ResourceLoadScheduler.cpp.
2994 (webResourceLoadScheduler):
2995 (WebResourceLoadScheduler::hostForURL):
2996 (WebResourceLoadScheduler::WebResourceLoadScheduler):
2997 (WebResourceLoadScheduler::~WebResourceLoadScheduler):
2998 (WebResourceLoadScheduler::scheduleSubresourceLoad):
2999 (WebResourceLoadScheduler::loadResourceSynchronously):
3000 (WebResourceLoadScheduler::schedulePluginStreamLoad):
3001 (WebResourceLoadScheduler::scheduleLoad):
3002 (WebResourceLoadScheduler::remove):
3003 (WebResourceLoadScheduler::setDefersLoading):
3004 (WebResourceLoadScheduler::crossOriginRedirectReceived):
3005 (WebResourceLoadScheduler::servePendingRequests):
3006 (WebResourceLoadScheduler::suspendPendingRequests):
3007 (WebResourceLoadScheduler::resumePendingRequests):
3008 (WebResourceLoadScheduler::scheduleServePendingRequests):
3009 (WebResourceLoadScheduler::requestTimerFired):
3010 (WebResourceLoadScheduler::HostInformation::HostInformation):
3011 (WebResourceLoadScheduler::HostInformation::~HostInformation):
3012 (WebResourceLoadScheduler::HostInformation::priorityToIndex):
3013 (WebResourceLoadScheduler::HostInformation::schedule):
3014 (WebResourceLoadScheduler::HostInformation::addLoadInProgress):
3015 (WebResourceLoadScheduler::HostInformation::remove):
3016 (WebResourceLoadScheduler::HostInformation::hasRequests):
3017 (WebResourceLoadScheduler::HostInformation::limitRequests):
3018 (WebResourceLoadScheduler::createPingHandle):
3019 (WebCore::ResourceLoadScheduler::hostForURL): Deleted.
3020 (WebCore::resourceLoadScheduler): Deleted.
3021 (WebCore::ResourceLoadScheduler::ResourceLoadScheduler): Deleted.
3022 (WebCore::ResourceLoadScheduler::~ResourceLoadScheduler): Deleted.
3023 (WebCore::ResourceLoadScheduler::scheduleSubresourceLoad): Deleted.
3024 (WebCore::ResourceLoadScheduler::schedulePluginStreamLoad): Deleted.
3025 (WebCore::ResourceLoadScheduler::scheduleLoad): Deleted.
3026 (WebCore::ResourceLoadScheduler::remove): Deleted.
3027 (WebCore::ResourceLoadScheduler::setDefersLoading): Deleted.
3028 (WebCore::ResourceLoadScheduler::crossOriginRedirectReceived): Deleted.
3029 (WebCore::ResourceLoadScheduler::servePendingRequests): Deleted.
3030 (WebCore::ResourceLoadScheduler::suspendPendingRequests): Deleted.
3031 (WebCore::ResourceLoadScheduler::resumePendingRequests): Deleted.
3032 (WebCore::ResourceLoadScheduler::scheduleServePendingRequests): Deleted.
3033 (WebCore::ResourceLoadScheduler::requestTimerFired): Deleted.
3034 (WebCore::ResourceLoadScheduler::HostInformation::HostInformation): Deleted.
3035 (WebCore::ResourceLoadScheduler::HostInformation::~HostInformation): Deleted.
3036 (WebCore::ResourceLoadScheduler::HostInformation::priorityToIndex): Deleted.
3037 (WebCore::ResourceLoadScheduler::HostInformation::schedule): Deleted.
3038 (WebCore::ResourceLoadScheduler::HostInformation::addLoadInProgress): Deleted.
3039 (WebCore::ResourceLoadScheduler::HostInformation::remove): Deleted.
3040 (WebCore::ResourceLoadScheduler::HostInformation::hasRequests): Deleted.
3041 (WebCore::ResourceLoadScheduler::HostInformation::limitRequests): Deleted.
3042 * WebCoreSupport/WebResourceLoadScheduler.h: Copied from Source/WebCore/loader/ResourceLoadScheduler.h.
3043 (WebResourceLoadScheduler::isSerialLoadingEnabled):
3044 (WebResourceLoadScheduler::setSerialLoadingEnabled):
3045 (WebResourceLoadScheduler::HostInformation::name):
3046 (WebResourceLoadScheduler::HostInformation::requestsPending):
3047 (WebCore::ResourceLoadScheduler::isSerialLoadingEnabled): Deleted.
3048 (WebCore::ResourceLoadScheduler::setSerialLoadingEnabled): Deleted.
3049 (WebCore::ResourceLoadScheduler::Suspender::Suspender): Deleted.
3050 (WebCore::ResourceLoadScheduler::Suspender::~Suspender): Deleted.
3051 (WebCore::ResourceLoadScheduler::HostInformation::name): Deleted.
3052 (WebCore::ResourceLoadScheduler::HostInformation::requestsPending): Deleted.
3053 * WebKit.xcodeproj/project.pbxproj:
3055 2015-10-29 Alex Christensen <achristensen@webkit.org>
3057 Make WebCore a framework in Mac CMake build
3058 https://bugs.webkit.org/show_bug.cgi?id=150702
3060 Reviewed by Geoffrey Garen.
3062 * PlatformMac.cmake:
3064 2015-10-29 Alex Christensen <achristensen@webkit.org>
3067 https://bugs.webkit.org/show_bug.cgi?id=150686
3069 Reviewed by Filip Pizlo.
3072 * PlatformMac.cmake:
3074 2015-10-28 Alex Christensen <achristensen@webkit.org>
3076 Compile and link with CMake on Mac
3077 https://bugs.webkit.org/show_bug.cgi?id=150632
3079 Reviewed by Tim Horton.
3081 * PlatformMac.cmake:
3083 2015-10-23 Alex Christensen <achristensen@webkit.org>
3085 Progress towards CMake on Mac
3086 https://bugs.webkit.org/show_bug.cgi?id=150517
3088 Reviewed by Tim Horton.
3090 * PlatformMac.cmake:
3092 2015-10-18 Sungmann Cho <sungmann.cho@navercorp.com>
3094 Fix the builds with ENABLE_INDEX_DATABASE=OFF.
3095 https://bugs.webkit.org/show_bug.cgi?id=150301
3097 Reviewed by Darin Adler.
3099 Add missing #if ENABLE(INDEXED_DATABASE).
3101 * Storage/WebDatabaseProvider.h:
3103 2015-10-01 Brent Fulgham <bfulgham@apple.com>
3105 [Win] Another CMake build fix
3107 * PlatformWin.cmake: Add missing Psapi.lib to link list.
3109 2015-10-01 Brent Fulgham <bfulgham@apple.com>
3111 [Win] Unreviewed CMake build fixes.
3113 * CMakeLists.txt: Set the same build definitions as the original
3115 * PlatformWin.cmake: Remove some soft-linked files from the static
3116 link commands. Set build flags to match original project files.
3118 2015-09-28 Brady Eidson <beidson@apple.com>
3120 Add an IDB Server that can roundtrip a request back to the client.
3121 https://bugs.webkit.org/show_bug.cgi?id=149603
3123 Reviewed by Alex Christensen.
3125 * Storage/WebDatabaseProvider.cpp:
3126 (WebDatabaseProvider::idbConnectionToServerForSession):
3127 * Storage/WebDatabaseProvider.h:
3129 2015-09-25 Alex Christensen <achristensen@webkit.org>
3131 Clean up CMake build on Mac
3132 https://bugs.webkit.org/show_bug.cgi?id=149573
3134 Reviewed by Chris Dumez.
3136 * PlatformMac.cmake:
3138 2015-09-25 Alex Christensen <achristensen@webkit.org>
3140 [Win] Switch to CMake
3141 https://bugs.webkit.org/show_bug.cgi?id=148111
3143 Reviewed by Brent Fulgham.
3145 * WebKit.vcxproj/WebKit.proj:
3147 2015-09-24 Ryosuke Niwa <rniwa@webkit.org>
3149 Ran sort-Xcode-project-file.
3151 * WebKit.xcodeproj/project.pbxproj:
3153 2015-09-21 Brent Fulgham <bfulgham@apple.com>
3155 [Win] Unreviewed build fix.
3157 * WebKit.vcxproj/WebKit/WebKitApple.props: We need to link against
3158 libdispatch on Windows.
3160 2015-09-19 Alex Christensen <achristensen@webkit.org>
3162 Fix Windows tests after r189934.
3165 Include WebKit.rc to include resources like missingImage.png in WebKit.dll.
3167 2015-09-15 Brady Eidson <beidson@apple.com>
3169 Add empty IDBFactory implementation for Modern IDB.
3170 https://bugs.webkit.org/show_bug.cgi?id=149191
3172 Reviewed by Jer Noble.
3174 * Storage/WebDatabaseProvider.h:
3176 2015-09-14 Alex Christensen <achristensen@webkit.org>
3178 Progress towards CMake on Mac.
3179 https://bugs.webkit.org/show_bug.cgi?id=149123
3181 Reviewed by Chris Dumez.
3184 * PlatformMac.cmake:
3185 Added more sources, make non-c99 sources compile as objc++
3186 * PlatformWin.cmake:
3187 Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share.
3189 2015-09-13 Gyuyoung Kim <gyuyoung.kim@webkit.org>
3191 Remove all uses of PassRefPtr in crypto, storage, and history
3192 https://bugs.webkit.org/show_bug.cgi?id=149091
3194 Reviewed by Andreas Kling.
3196 * Storage/StorageNamespaceImpl.cpp:
3197 (WebCore::StorageNamespaceImpl::storageArea):
3198 * Storage/StorageNamespaceImpl.h:
3200 2015-08-27 Alex Christensen <achristensen@webkit.org>
3202 Isolate Source directories in CMake build
3203 https://bugs.webkit.org/show_bug.cgi?id=148389
3205 Reviewed by Brent Fulgham.
3207 * PlatformWin.cmake:
3208 Moved WebKitVersion.h generation from WebCore because the scripts required for it are in WebKit.
3210 2015-08-27 Timothy Horton <timothy_horton@apple.com>
3212 Factor out Lookup invocation
3213 https://bugs.webkit.org/show_bug.cgi?id=148509
3215 Reviewed by Anders Carlsson.
3217 * WebKit.xcodeproj/project.pbxproj:
3219 2015-08-26 Brent Fulgham <bfulgham@apple.com>
3221 Correct build after r188982.
3223 * WebKit.vcxproj/WebKit.sln:
3225 2015-08-20 Alex Christensen <achristensen@webkit.org>
3227 Clean up CMake build after r188673
3228 https://bugs.webkit.org/show_bug.cgi?id=148234
3230 Reviewed by Tim Horton.
3232 * PlatformWin.cmake:
3233 Include ANGLE forwarding headers directories.
3235 2015-08-19 Alex Christensen <achristensen@webkit.org>
3237 CMake Windows build should not include files directly from other Source directories
3238 https://bugs.webkit.org/show_bug.cgi?id=148198
3240 Reviewed by Brent Fulgham.
3243 * PlatformWin.cmake:
3245 2015-08-19 Brent Fulgham <bfulgham@apple.com>
3247 [Win] Replace MIDL [in/out] comments with equivalent SAL
3248 https://bugs.webkit.org/show_bug.cgi?id=148001
3250 Reviewed by Tim Horton.
3252 * WebKit.vcxproj/Interfaces/InterfacesCommon.props: Turn
3253 on SAL declarations in MIDL output.
3255 2015-08-17 Filip Pizlo <fpizlo@apple.com>
3257 Replace all remaining uses of WTF::Mutex with WTF::Lock
3258 https://bugs.webkit.org/show_bug.cgi?id=148089
3260 Reviewed by Geoffrey Garen.
3262 * Storage/StorageAreaSync.cpp:
3263 (WebCore::StorageAreaSync::syncTimerFired):
3264 (WebCore::StorageAreaSync::markImported):
3265 (WebCore::StorageAreaSync::blockUntilImportComplete):
3266 (WebCore::StorageAreaSync::performSync):
3267 * Storage/StorageAreaSync.h:
3268 * Storage/StorageTracker.cpp:
3269 (WebCore::StorageTracker::setDatabaseDirectoryPath):
3270 (WebCore::StorageTracker::finishedImportingOriginIdentifiers):
3271 (WebCore::StorageTracker::syncImportOriginIdentifiers):
3272 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
3273 (WebCore::StorageTracker::setOriginDetails):
3274 (WebCore::StorageTracker::syncSetOriginDetails):
3275 (WebCore::StorageTracker::origins):
3276 (WebCore::StorageTracker::deleteAllOrigins):
3277 (WebCore::StorageTracker::syncDeleteAllOrigins):
3278 (WebCore::StorageTracker::deleteOrigin):
3279 (WebCore::StorageTracker::syncDeleteOrigin):
3280 (WebCore::StorageTracker::canDeleteOrigin):
3281 (WebCore::StorageTracker::cancelDeletingOrigin):
3282 (WebCore::StorageTracker::diskUsageForOrigin):
3283 * Storage/StorageTracker.h:
3285 2015-08-17 Alex Christensen <achristensen@webkit.org>
3287 [Win CMake] Allow WebKitLibraries directory to be set from the command line
3288 https://bugs.webkit.org/show_bug.cgi?id=148112
3290 Reviewed by Brent Fulgham.
3292 * PlatformWin.cmake:
3293 Don't use an environment variable for WEBKIT_LIBRARIES_DIR.
3295 2015-08-17 Alex Christensen <achristensen@webkit.org>
3297 Build Debug Suffix on Windows with CMake
3298 https://bugs.webkit.org/show_bug.cgi?id=148083
3300 Reviewed by Brent Fulgham.
3303 * PlatformWin.cmake:
3306 2015-08-17 Alex Christensen <achristensen@webkit.org>
3308 Move some commands from ./CMakeLists.txt to Source/cmake
3309 https://bugs.webkit.org/show_bug.cgi?id=148003
3311 Reviewed by Brent Fulgham.
3314 Added some commands needed to build WebKit by itself.
3316 2015-08-13 Commit Queue <commit-queue@webkit.org>
3318 Unreviewed, rolling out r188428.
3319 https://bugs.webkit.org/show_bug.cgi?id=148015
3321 broke cmake build (Requested by alexchristensen on #webkit).
3325 "Move some commands from ./CMakeLists.txt to Source/cmake"
3326 https://bugs.webkit.org/show_bug.cgi?id=148003
3327 http://trac.webkit.org/changeset/188428
3329 2015-08-13 Alex Christensen <achristensen@webkit.org>
3331 Move some commands from ./CMakeLists.txt to Source/cmake
3332 https://bugs.webkit.org/show_bug.cgi?id=148003
3334 Reviewed by Brent Fulgham.
3337 Added some commands needed to build WebKit by itself.
3339 2015-08-12 Alex Christensen <achristensen@webkit.org>
3341 Fix Debug CMake builds on Windows
3342 https://bugs.webkit.org/show_bug.cgi?id=147940
3344 Reviewed by Chris Dumez.
3346 * PlatformWin.cmake:
3347 We need /NODEFAULTLIB with the debug version of libraries, too.
3349 2015-08-11 Brent Fulgham <bfulgham@apple.com>
3351 [Win] Switch Windows build to Visual Studio 2015
3352 https://bugs.webkit.org/show_bug.cgi?id=147887
3353 <rdar://problem/22235098>
3355 Reviewed by Alex Christensen.
3357 Update Visual Studio project file settings to use the current Visual
3358 Studio and compiler. Continue targeting binaries to run on our minimum
3359 supported configuration of Windows 7.
3361 * WebKit.vcxproj/Interfaces/Interfaces.vcxproj:
3362 * WebKit.vcxproj/WebKit.sln:
3363 * WebKit.vcxproj/WebKit/WebKit.vcxproj:
3364 * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj:
3366 2015-08-10 Alex Christensen <achristensen@webkit.org>
3368 Another build fix after r188239.
3370 * PlatformWin.cmake:
3371 Link WinCairo with Media Foundation libraries.
3373 2015-08-10 Alex Christensen <achristensen@webkit.org>
3375 Build TestWebKitAPI with CMake on Windows
3376 https://bugs.webkit.org/show_bug.cgi?id=147851
3378 Reviewed by Chris Dumez.
3380 * PlatformWin.cmake:
3381 WinCairo libraries conflict with LIBCMT.lib, AppleWin libraries conflict with MSVCRT.lib,
3382 so different /NODEFAULTLIB is needed to link WebKit.dll successfully.
3384 2015-08-06 Alex Christensen <achristensen@webkit.org>
3386 [Win] Enable all Windows features in CMake
3387 https://bugs.webkit.org/show_bug.cgi?id=147744
3389 Reviewed by Tim Horton.
3391 * PlatformWin.cmake:
3392 Add some include directories needed for the newly enabled features.
3394 2015-08-05 Filip Pizlo <fpizlo@apple.com>
3396 Unreviewed, roll out http://trac.webkit.org/changeset/187972.
3398 * Storage/StorageAreaSync.cpp:
3399 (WebCore::StorageAreaSync::syncTimerFired):
3400 (WebCore::StorageAreaSync::markImported):
3401 (WebCore::StorageAreaSync::blockUntilImportComplete):
3402 (WebCore::StorageAreaSync::performSync):
3403 * Storage/StorageAreaSync.h:
3404 * Storage/StorageTracker.cpp:
3405 (WebCore::StorageTracker::setDatabaseDirectoryPath):
3406 (WebCore::StorageTracker::finishedImportingOriginIdentifiers):
3407 (WebCore::StorageTracker::syncImportOriginIdentifiers):
3408 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
3409 (WebCore::StorageTracker::setOriginDetails):
3410 (WebCore::StorageTracker::syncSetOriginDetails):
3411 (WebCore::StorageTracker::origins):
3412 (WebCore::StorageTracker::deleteAllOrigins):
3413 (WebCore::StorageTracker::syncDeleteAllOrigins):
3414 (WebCore::StorageTracker::deleteOrigin):
3415 (WebCore::StorageTracker::syncDeleteOrigin):
3416 (WebCore::StorageTracker::canDeleteOrigin):
3417 (WebCore::StorageTracker::cancelDeletingOrigin):
3418 (WebCore::StorageTracker::diskUsageForOrigin):
3419 * Storage/StorageTracker.h:
3421 2015-08-05 Alex Christensen <achristensen@webkit.org>
3423 Build DumpRenderTree with CMake.
3424 https://bugs.webkit.org/show_bug.cgi?id=147519
3426 Reviewed by Brent Fulgham.
3429 * PlatformMac.cmake:
3430 * PlatformWin.cmake:
3431 Make the libraries WebKit links with private, which means that CMake will not make everything
3432 that links with WebKit link with everything WebKit links with.
3434 2015-08-04 Filip Pizlo <fpizlo@apple.com>
3436 Rename Mutex to DeprecatedMutex
3437 https://bugs.webkit.org/show_bug.cgi?id=147675
3439 Reviewed by Geoffrey Garen.
3441 * Storage/StorageAreaSync.cpp:
3442 (WebCore::StorageAreaSync::syncTimerFired):
3443 (WebCore::StorageAreaSync::markImported):
3444 (WebCore::StorageAreaSync::blockUntilImportComplete):
3445 (WebCore::StorageAreaSync::performSync):
3446 * Storage/StorageAreaSync.h:
3447 * Storage/StorageTracker.cpp:
3448 (WebCore::StorageTracker::setDatabaseDirectoryPath):
3449 (WebCore::StorageTracker::finishedImportingOriginIdentifiers):
3450 (WebCore::StorageTracker::syncImportOriginIdentifiers):
3451 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
3452 (WebCore::StorageTracker::setOriginDetails):
3453 (WebCore::StorageTracker::syncSetOriginDetails):
3454 (WebCore::StorageTracker::origins):
3455 (WebCore::StorageTracker::deleteAllOrigins):
3456 (WebCore::StorageTracker::syncDeleteAllOrigins):
3457 (WebCore::StorageTracker::deleteOrigin):
3458 (WebCore::StorageTracker::syncDeleteOrigin):
3459 (WebCore::StorageTracker::canDeleteOrigin):
3460 (WebCore::StorageTracker::cancelDeletingOrigin):
3461 (WebCore::StorageTracker::diskUsageForOrigin):
3462 * Storage/StorageTracker.h:
3464 2015-08-04 Alex Christensen <achristensen@webkit.org>
3466 Enable WebGL on Windows CMake build.
3467 https://bugs.webkit.org/show_bug.cgi?id=143311
3469 Reviewed by Csaba Osztrogonác.
3471 * PlatformWin.cmake:
3472 Added some needed source files and include directories.
3474 2015-08-01 Alex Christensen <achristensen@webkit.org>
3476 Fix 64-bit CMake build on Windows.
3478 * PlatformWin.cmake:
3479 Win64 needs PaintHooks.asm.
3481 2015-07-30 Alex Christensen <achristensen@webkit.org>
3483 Build AppleWin port with CMake
3484 https://bugs.webkit.org/show_bug.cgi?id=147385
3486 Reviewed by Martin Robinson.
3488 * PlatformWin.cmake:
3489 Added missing source files and libraries.
3491 2015-07-27 Alex Christensen <achristensen@webkit.org>
3493 Use Ninja on Windows.
3494 https://bugs.webkit.org/show_bug.cgi?id=147228
3496 Reviewed by Martin Robinson.
3498 * PlatformWin.cmake:
3499 Added /NODEFAULTLIB:LIBCMT to link WebKit.dll successfully with Ninja.
3501 2015-07-27 Alex Christensen <achristensen@webkit.org>
3503 Progress towards building AppleWin with CMake
3504 https://bugs.webkit.org/show_bug.cgi?id=147325
3506 Reviewed by Martin Robinson.
3508 * PlatformWin.cmake:
3509 Removed references to non-existing files.
3511 2015-07-22 Alex Christensen <achristensen@webkit.org>
3513 Fix quirks in CMake build on Mac and Windows
3514 https://bugs.webkit.org/show_bug.cgi?id=147174
3516 Reviewed by Gyuyoung Kim.
3518 * PlatformMac.cmake:
3519 Fixed syntax, removed files that don't exist any more.
3521 2015-07-20 Brent Fulgham <bfulgham@apple.com>
3523 [Win] Certain Debug builds can take close to 3 hours to link
3524 https://bugs.webkit.org/show_bug.cgi?id=147114
3525 <rdar://problem/21882777>
3527 Reviewed by Tim Horton.
3529 Correct the 64-bit DebugSuffix link target to match the 32-bit version.
3531 * WebKit.vcxproj/WebKit/WebKit.vcxproj: Turn off the REF and ICF
3532 flags for the 64-bit DebugSuffix link target.
3534 2015-07-20 Alex Christensen <achristensen@webkit.org>
3536 Resurrect CMake build on Windows.
3537 https://bugs.webkit.org/show_bug.cgi?id=147083
3539 Reviewed by Gyuyoung Kim.
3541 * PlatformWin.cmake: Added.
3542 Based on original work by Patrick Gansterer and Mark Salisbury
3543 in https://bugs.webkit.org/show_bug.cgi?id=72816
3545 2015-07-16 Brent Fulgham <bfulgham@apple.com>
3547 [Win] Unreviewed gardening.
3549 * WebKit.vcxproj/WebKit/WebKit.vcxproj.filters: Move file into the
3550 appropriate category in the project.
3552 2015-07-14 Lucas Forschler <lforschler@apple.com>
3554 Teach platformMac.cmake about El Capitan WKSI.
3555 <rdar://problem/21822469>
3557 Reviewed by Alex Christensen.
3559 * PlatformMac.cmake:
3561 2015-07-09 Per Arne Vollan <peavo@outlook.com>
3563 [Win] Add memory pressure handler.
3564 https://bugs.webkit.org/show_bug.cgi?id=146685
3566 Reviewed by Brent Fulgham.
3568 * WebKit.vcxproj/WebKit/WebKitCommon.props: Link with process api library.
3570 2015-07-04 Chris Dumez <cdumez@apple.com>
3572 Drop RefPtr::clear() method
3573 https://bugs.webkit.org/show_bug.cgi?id=146556
3575 Reviewed by Brady Eidson.
3577 Drop RefPtr::clear() method in favor of "= nullptr;" pattern.
3579 2015-07-03 Dan Bernstein <mitz@apple.com>
3581 [Xcode] Update some build settings as recommended by Xcode 7
3582 https://bugs.webkit.org/show_bug.cgi?id=146597
3584 Reviewed by Sam Weinig.
3586 * WebKit.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
3588 2015-07-01 Alex Christensen <achristensen@webkit.org>
3590 Re-enable WebGL on WinCairo.
3591 https://bugs.webkit.org/show_bug.cgi?id=146537
3593 Reviewed by Csaba Osztrogonác.
3595 * WebKit.vcxproj/WebKit.sln:
3596 Build the ANGLE projects on WinCairo again.
3598 2015-06-30 Alex Christensen <achristensen@webkit.org>
3600 [Win] Unreviewed build fix after r186169.
3602 * WebKit.vcxproj/WebKit.sln:
3603 Temporarily don't build ANGLE projects on Windows.
3605 2015-06-26 Hyungwook Lee <hyungwook.lee@navercorp.com>
3607 [Win] Implement WebViewGroup to support WebView::addxxxToGroup().
3608 https://bugs.webkit.org/show_bug.cgi?id=145908
3610 Reviewed by Brent Fulgham.
3612 Make WebViewGroup class sharing on Mac and Win port.
3614 * WebCoreSupport: Added.
3615 * WebCoreSupport/WebViewGroup.cpp: Added.
3617 (WebViewGroup::getOrCreate):
3618 (WebViewGroup::get):
3619 (WebViewGroup::WebViewGroup):
3620 (WebViewGroup::~WebViewGroup):
3621 (WebViewGroup::addWebView):
3622 (WebViewGroup::removeWebView):
3623 (WebViewGroup::storageNamespaceProvider):