[iOS] Remove all usages of UIItemProvider, UIItemProviderReading, and related classes
[WebKit-https.git] / Source / WebCore / PAL / ChangeLog
1 2018-11-17  Wenson Hsieh  <wenson_hsieh@apple.com>
2
3         [iOS] Remove all usages of UIItemProvider, UIItemProviderReading, and related classes
4         https://bugs.webkit.org/show_bug.cgi?id=191819
5
6         Reviewed by Dan Bernstein.
7
8         Replace UIItemProvider (and related classes) with NSItemProvider.
9
10         * pal/spi/ios/UIKitSPI.h:
11
12 2018-11-16  Brent Fulgham  <bfulgham@apple.com>
13
14         [Win] Reduce the use of WKSI library calls: CFNetwork
15         https://bugs.webkit.org/show_bug.cgi?id=191718
16         <rdar://problem/46108732>
17
18         Reviewed by Alex Christensen.
19
20         Add necessary declarations for CFNetwork SPI needed by the Apple Windows build.
21
22         * pal/PlatformAppleWin.cmake:
23         * pal/spi/cf/CFNetworkSPI.h:
24         * pal/spi/cf/CFNetworkSPIWin.cpp: Added.
25
26 2018-11-16  Chris Dumez  <cdumez@apple.com>
27
28         [Mac] Regression: WebContent process's display name is no longer set
29         https://bugs.webkit.org/show_bug.cgi?id=191722
30         <rdar://problem/45960550>
31
32         Reviewed by Per Arne Vollan.
33
34         * pal/spi/cocoa/LaunchServicesSPI.h:
35
36 2018-11-15  Brent Fulgham  <bfulgham@apple.com>
37
38         Additional Windows build fix after r238253.
39
40         * pal/spi/cg/CoreGraphicsSPI.h:
41
42 2018-11-15  Brent Fulgham  <bfulgham@apple.com>
43
44         Unreviewed build fix after removing some WKSI calls on Windows.
45
46         * pal/spi/cg/CoreGraphicsSPI.h:
47
48 2018-11-11  Daniel Bates  <dabates@apple.com>
49
50         [iOS] Draw caps lock indicator in password fields
51         https://bugs.webkit.org/show_bug.cgi?id=190565
52         <rdar://problem/45262343>
53
54         Reviewed by Dean Jackson.
55
56         Forward declare some more SPI.
57
58         * pal/spi/ios/GraphicsServicesSPI.h:
59         * pal/spi/ios/UIKitSPI.h:
60
61 2018-11-09  Ryan Haddad  <ryanhaddad@apple.com>
62
63         Unreviewed, rolling out r238047.
64
65         Introduced layout test failures on iOS simulator.
66
67         Reverted changeset:
68
69         "[iOS] Draw caps lock indicator in password fields"
70         https://bugs.webkit.org/show_bug.cgi?id=190565
71         https://trac.webkit.org/changeset/238047
72
73 2018-11-09  Daniel Bates  <dabates@apple.com>
74
75         [iOS] Draw caps lock indicator in password fields
76         https://bugs.webkit.org/show_bug.cgi?id=190565
77         <rdar://problem/45262343>
78
79         Reviewed by Dean Jackson.
80
81         Forward declare some more SPI.
82
83         * pal/spi/ios/GraphicsServicesSPI.h:
84         * pal/spi/ios/UIKitSPI.h:
85
86 2018-11-08  Megan Gardner  <megan_gardner@apple.com>
87
88         Adopt Reveal Framework to replace Lookup
89         https://bugs.webkit.org/show_bug.cgi?id=191097
90         <rdar://problem/45924508>
91
92         Reviewed by Tim Horton.
93
94         Add in reveal SPI so WebKit will continue to build without the internal SDK.
95
96         * PAL.xcodeproj/project.pbxproj:
97         * pal/spi/mac/RevealSPI.h: Added.
98
99 2018-11-06  Justin Fan  <justin_fan@apple.com>
100
101         [WebGPU] Experimental prototype for WebGPURenderPipeline and WebGPUSwapChain
102         https://bugs.webkit.org/show_bug.cgi?id=191291
103
104         Reviewed by Myles Maxfield.
105
106         Properly disable WEBGPU on all non-Metal platforms for now.
107
108         * Configurations/FeatureDefines.xcconfig:
109
110 2018-11-02  Daniel Bates  <dabates@apple.com>
111
112         [iOS] Normalize character string based on key code
113         https://bugs.webkit.org/show_bug.cgi?id=191120
114
115         Reviewed by Tim Horton.
116
117         Remove forward declarations that are no longer needed now that we check key code.
118
119         * pal/spi/ios/UIKitSPI.h:
120
121 2018-11-01  Said Abou-Hallawa  <sabouhallawa@apple.com>
122
123         [CG] Adopt CG SPI for non-even cornered rounded rects
124         https://bugs.webkit.org/show_bug.cgi?id=190155
125
126         Reviewed by Simon Fraser.
127
128         * pal/spi/cg/CoreGraphicsSPI.h:
129
130 2018-10-30  Alexey Proskuryakov  <ap@apple.com>
131
132         Clean up some obsolete MAX_ALLOWED macros
133         https://bugs.webkit.org/show_bug.cgi?id=190916
134
135         Reviewed by Tim Horton.
136
137         * pal/cf/CoreMediaSoftLink.cpp:
138         * pal/cf/CoreMediaSoftLink.h:
139         Behavior change here. The check didn't really make sense, pretty sure we would
140         just crash when hitting this code path on iOS.
141
142         * pal/spi/cf/CFNetworkSPI.h:
143         * pal/spi/cocoa/PassKitSPI.h:
144         * pal/spi/mac/AVFoundationSPI.h:
145
146 2018-10-29  Tim Horton  <timothy_horton@apple.com>
147
148         Modernize WebKit nibs and lprojs for localization's sake
149         https://bugs.webkit.org/show_bug.cgi?id=190911
150         <rdar://problem/45349466>
151
152         Reviewed by Dan Bernstein.
153
154         * PAL.xcodeproj/project.pbxproj:
155         English->en
156
157 2018-10-26  Commit Queue  <commit-queue@webkit.org>
158
159         Unreviewed, rolling out r237458.
160         https://bugs.webkit.org/show_bug.cgi?id=190973
161
162         broke internal iOS builds (Requested by zalan on #webkit).
163
164         Reverted changeset:
165
166         "Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI"
167         https://bugs.webkit.org/show_bug.cgi?id=190951
168         https://trac.webkit.org/changeset/237458
169
170 2018-10-26  Timothy Hatcher  <timothy@apple.com>
171
172         Use dark appearance scrollbar when page background is dark or document supports dark mode.
173         https://bugs.webkit.org/show_bug.cgi?id=190937
174         rdar://problem/41225839
175
176         Reviewed by Beth Dakin.
177
178         * pal/spi/mac/NSScrollerImpSPI.h: Added effectiveAppearanceForScrollerImp:.
179
180 2018-10-26  Jer Noble  <jer.noble@apple.com>
181
182         Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI
183         https://bugs.webkit.org/show_bug.cgi?id=190951
184         <rdar://problem/45213065>
185
186         Reviewed by Alex Christensen.
187
188         * pal/spi/cocoa/AVKitSPI.h:
189
190 2018-10-24  Alexey Proskuryakov  <ap@apple.com>
191
192         Clean up some obsolete macOS version guards
193         https://bugs.webkit.org/show_bug.cgi?id=190887
194
195         Reviewed by Dan Bernstein.
196
197         * pal/spi/mac/TUCallSPI.h:
198
199 2018-10-24  Megan Gardner  <megan_gardner@apple.com>
200
201         Turn on Conic Gradients
202         https://bugs.webkit.org/show_bug.cgi?id=190810
203
204         Reviewed by Tim Horton.
205
206         * Configurations/FeatureDefines.xcconfig:
207
208 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
209
210         Unreviewed, rolling out r237280.
211
212         Causes fast/box-shadow/box-shadow-with-zero-radius.html to
213         fail on iOS Simulator.
214
215         Reverted changeset:
216
217         "[CG] Adopt CG SPI for non-even cornered rounded rects"
218         https://bugs.webkit.org/show_bug.cgi?id=190155
219         https://trac.webkit.org/changeset/237280
220
221 2018-10-18  Said Abou-Hallawa  <sabouhallawa@apple.com>
222
223         [CG] Adopt CG SPI for non-even cornered rounded rects
224         https://bugs.webkit.org/show_bug.cgi?id=190155
225
226         Reviewed by Simon Fraser.
227
228         * pal/spi/cg/CoreGraphicsSPI.h:
229
230 2018-10-18  Alexey Proskuryakov  <ap@apple.com>
231
232         Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY)
233         https://bugs.webkit.org/show_bug.cgi?id=190729
234
235         Reviewed by Tim Horton.
236
237         * pal/cf/CoreMediaSoftLink.cpp:
238         * pal/cf/CoreMediaSoftLink.h:
239         * pal/ios/UIKitSoftLink.h:
240         * pal/ios/UIKitSoftLink.mm:
241         * pal/spi/cf/CFNetworkSPI.h:
242         * pal/spi/cocoa/AVKitSPI.h:
243         * pal/spi/cocoa/CFNSURLConnectionSPI.h:
244         * pal/spi/cocoa/CoreTextSPI.h:
245         * pal/spi/cocoa/DataDetectorsCoreSPI.h:
246         * pal/spi/cocoa/IOSurfaceSPI.h:
247         * pal/spi/cocoa/LaunchServicesSPI.h:
248         * pal/spi/cocoa/NEFilterSourceSPI.h:
249         * pal/spi/cocoa/NSAttributedStringSPI.h:
250         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
251         * pal/spi/cocoa/PassKitSPI.h:
252         * pal/spi/cocoa/QuartzCoreSPI.h:
253         * pal/spi/ios/DataDetectorsUISPI.h:
254         * pal/spi/ios/GraphicsServicesSPI.h:
255         * pal/spi/ios/MediaPlayerSPI.h:
256         * pal/spi/ios/MobileGestaltSPI.h:
257         * pal/spi/mac/AVFoundationSPI.h:
258         * pal/system/mac/ClockCM.mm:
259         (ClockCM::ClockCM):
260
261 2018-10-17  Wenson Hsieh  <wenson_hsieh@apple.com>
262
263         Enable the datalist element by default on iOS and macOS
264         https://bugs.webkit.org/show_bug.cgi?id=190594
265         <rdar://problem/45281159>
266
267         Reviewed by Ryosuke Niwa and Tim Horton.
268
269         * Configurations/FeatureDefines.xcconfig:
270
271 2018-10-16  Ryan Haddad  <ryanhaddad@apple.com>
272
273         Unreviewed, rolling out r237163.
274
275         Introduced layout test failures on iOS Simulator.
276
277         Reverted changeset:
278
279         "[CG] Adopt CG SPI for non-even cornered rounded rects"
280         https://bugs.webkit.org/show_bug.cgi?id=190155
281         https://trac.webkit.org/changeset/237163
282
283 2018-10-16  Justin Michaud  <justin_michaud@apple.com>
284
285         Implement feature flag and bindings for CSS Painting API
286         https://bugs.webkit.org/show_bug.cgi?id=190237
287
288         Reviewed by Ryosuke Niwa.
289
290         * Configurations/FeatureDefines.xcconfig:
291
292 2018-10-15  Justin Fan  <justin_fan@apple.com>
293
294         Add WebGPU 2018 feature flag and experimental feature flag
295         https://bugs.webkit.org/show_bug.cgi?id=190509
296
297         Reviewed by Dean Jackson.
298
299         Re-add ENABLE_WEBGPU, an experimental feature flag, and a RuntimeEnabledFeature
300         for the 2018 WebGPU prototype.
301
302         * Configurations/FeatureDefines.xcconfig:
303
304 2018-10-15  Said Abou-Hallawa  <sabouhallawa@apple.com>
305
306         [CG] Adopt CG SPI for non-even cornered rounded rects
307         https://bugs.webkit.org/show_bug.cgi?id=190155
308
309         Reviewed by Simon Fraser.
310
311         * pal/spi/cg/CoreGraphicsSPI.h:
312
313 2018-10-15  Timothy Hatcher  <timothy@apple.com>
314
315         Add support for prefers-color-scheme media query
316         https://bugs.webkit.org/show_bug.cgi?id=190499
317         rdar://problem/45212025
318
319         Reviewed by Dean Jackson.
320
321         * Configurations/FeatureDefines.xcconfig: Added ENABLE_DARK_MODE_CSS.
322
323 2018-10-14  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
324
325         [JSC] Remove Option::useAsyncIterator
326         https://bugs.webkit.org/show_bug.cgi?id=190567
327
328         Reviewed by Saam Barati.
329
330         * Configurations/FeatureDefines.xcconfig:
331
332 2018-10-08  Wenson Hsieh  <wenson_hsieh@apple.com>
333
334         [Cocoa] [WK2] Add support for text alignment and text lists in font attributes
335         https://bugs.webkit.org/show_bug.cgi?id=190342
336         <rdar://problem/44767118>
337
338         Reviewed by Tim Horton.
339
340         * pal/ios/UIKitSoftLink.h:
341         * pal/ios/UIKitSoftLink.mm:
342
343         Add NSParagraphStyle and NSTextList to the UIKit soft link header.
344
345         * pal/spi/cocoa/NSAttributedStringSPI.h:
346         * pal/spi/ios/UIKitSPI.h:
347
348         Add some SPI declarations for NSMutableParagraphStyle and NSTextList when building with a non-internal iOS SDK,
349         and import <UIKit/NSParagraphStyle_Private.h> and <UIKit/NSTextList.h> when building with an internal iOS SDK.
350         Additionally, define some internal UIFoundation string constants that denote NSTextList marker formats. These
351         constants are API on macOS, but are neither exposed as API nor SPI on iOS.
352
353 2018-10-08  Justin Fan  <justin_fan@apple.com>
354
355         WebGPU: Rename old WebGPU prototype to WebMetal
356         https://bugs.webkit.org/show_bug.cgi?id=190325
357         <rdar://problem/44990443>
358
359         Reviewed by Dean Jackson.
360
361         Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.
362
363         * Configurations/FeatureDefines.xcconfig:
364
365 2018-10-08  Aditya Keerthi  <akeerthi@apple.com>
366
367         Make <input type=color> a runtime enabled (on-by-default) feature
368         https://bugs.webkit.org/show_bug.cgi?id=189162
369
370         Reviewed by Wenson Hsieh and Tim Horton.
371
372         * Configurations/FeatureDefines.xcconfig:
373
374 2018-10-05  Jer Noble  <jer.noble@apple.com>
375
376         Unreviewed build fix: internal builds can't find AVVideoPerformanceMetrics.
377
378         * pal/spi/mac/AVFoundationSPI.h:
379
380 2018-10-03  Jer Noble  <jer.noble@apple.com>
381
382         Add support for reporting "display composited video frames" through the VideoPlaybackQuality object.
383         https://bugs.webkit.org/show_bug.cgi?id=190266
384
385         Reviewed by Eric Carlson.
386
387         * pal/spi/mac/AVFoundationSPI.h:
388
389 2018-10-05  Ryan Haddad  <ryanhaddad@apple.com>
390
391         Unreviewed, rolling out r236866.
392
393         Breaks internal builds.
394
395         Reverted changeset:
396
397         "Add support for reporting "display composited video frames"
398         through the VideoPlaybackQuality object."
399         https://bugs.webkit.org/show_bug.cgi?id=190266
400         https://trac.webkit.org/changeset/236866
401
402 2018-10-04  Jer Noble  <jer.noble@apple.com>
403
404         Add support for reporting "display composited video frames" through the VideoPlaybackQuality object.
405         https://bugs.webkit.org/show_bug.cgi?id=190266
406
407         Reviewed by Eric Carlson.
408
409         * pal/spi/mac/AVFoundationSPI.h:
410
411 2018-10-04  Dan Bernstein  <mitz@apple.com>
412
413         PAL change for the WebKitLegacy part of [Xcode] Update some build settings as recommended by Xcode 10
414         https://bugs.webkit.org/show_bug.cgi?id=190250
415
416         Reviewed by Andy Estes.
417
418         * pal/spi/mac/NSWindowSPI.h: Added a private API declaration.
419
420 2018-10-04  Dan Bernstein  <mitz@apple.com>
421
422         PAL part of [Xcode] Update some build settings as recommended by Xcode 10
423         https://bugs.webkit.org/show_bug.cgi?id=190250
424
425         Reviewed by Andy Estes.
426
427         * Configurations/Base.xcconfig: Enabled CLANG_WARN_COMMA, CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF,
428           CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED, and CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS.
429
430         * PAL.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
431
432 2018-10-01  Dean Jackson  <dino@apple.com>
433
434         Remove CSS Animation Triggers
435         https://bugs.webkit.org/show_bug.cgi?id=190175
436         <rdar://problem/44925626>
437
438         Reviewed by Simon Fraser.
439
440         * Configurations/FeatureDefines.xcconfig:
441
442 2018-10-01  Andy Estes  <aestes@apple.com>
443
444         [watchOS] Adopt NSURLSessionCompanionProxyPreference
445         https://bugs.webkit.org/show_bug.cgi?id=190177
446         <rdar://problem/43402114>
447
448         Reviewed by Wenson Hsieh.
449
450         * pal/spi/cf/CFNetworkSPI.h:
451
452 2018-10-01  Daniel Bates  <dabates@apple.com>
453
454         [iOS] Special keys are misidentified in DOM keyboard events
455         https://bugs.webkit.org/show_bug.cgi?id=189974
456
457         Reviewed by Wenson Hsieh.
458
459         Forward declare or define more SPI.
460
461         * pal/spi/cocoa/IOKitSPI.h:
462         * pal/spi/ios/UIKitSPI.h:
463
464 2018-09-25  Jiewen Tan  <jiewen_tan@apple.com>
465
466         [WebAuthN] Make AuthenticatorManager
467         https://bugs.webkit.org/show_bug.cgi?id=189279
468         <rdar://problem/44116792>
469
470         Reviewed by Chris Dumez.
471
472         It moves linking to DeviceIdentity.framework to WebKit.
473
474         * PAL.xcodeproj/project.pbxproj:
475
476 2018-09-25  Wenson Hsieh  <wenson_hsieh@apple.com>
477
478         [iOS] Fix the open source iOS 12 build after r236445
479         https://bugs.webkit.org/show_bug.cgi?id=189953
480
481         Reviewed by Alex Christensen.
482
483         Introduce a single UIKit soft-linking header in PAL.
484
485         * PAL.xcodeproj/project.pbxproj:
486         * pal/ios/UIKitSoftLink.h: Copied from Source/WebCore/platform/graphics/cocoa/ColorCocoa.mm.
487         * pal/ios/UIKitSoftLink.mm: Copied from Source/WebCore/platform/graphics/cocoa/ColorCocoa.mm.
488
489 2018-09-24  Wenson Hsieh  <wenson_hsieh@apple.com>
490
491         Refactor Editor::fontAttributesForSelectionStart to be platform-agnostic
492         https://bugs.webkit.org/show_bug.cgi?id=189918
493         Work towards <rdar://problem/44648705>
494
495         Reviewed by Tim Horton.
496
497         Add `+_disambiguated_due_to_CIImage_colorWithCGColor:` as a UIColor SPI definition. Also, import
498         `UIColor_Private.h` directly when the Apple internal SDK is used.
499
500         * pal/spi/ios/UIKitSPI.h:
501
502 2018-09-21  Jer Noble  <jer.noble@apple.com>
503
504         Unreviewed Sierra Build Fix; ensure AVVideoPerformanceMetrics are defined on Sierra.
505
506         * pal/spi/mac/AVFoundationSPI.h:
507
508 2018-09-21  Jer Noble  <jer.noble@apple.com>
509
510         Move AVVideoPerformanceMetrics into AVFoundationSPI.h
511         https://bugs.webkit.org/show_bug.cgi?id=189842
512
513         Reviewed by Jon Lee.
514
515         * pal/spi/mac/AVFoundationSPI.h:
516
517 2018-09-21  Jonathan Bedard  <jbedard@apple.com>
518
519         Bring up queues for iOS 12 (Build fix)
520         https://bugs.webkit.org/show_bug.cgi?id=189683
521
522         Unreviewed build fix.
523
524         * pal/spi/cocoa/QuartzCoreSPI.h: Declare setCornerRadius and continuousCorner.
525
526 2018-09-20  Daniel Bates  <dabates@apple.com>
527
528         Move IOKitSPI.h from TestRunnerShared to PAL
529         https://bugs.webkit.org/show_bug.cgi?id=189804
530
531         Reviewed by Wenson Hsieh.
532
533         Towards fixing <https://bugs.webkit.org/show_bug.cgi?id=189604> move the IOKit SPI forward
534         declarations to PAL so that they can be shared by both WebKit, DumpRenderTree, and WebKitTestRunner.
535
536         No functionality changed. So, no new tests.
537
538         * PAL.xcodeproj/project.pbxproj:
539         * pal/spi/cocoa/IOKitSPI.h: Renamed from Tools/TestRunnerShared/spi/IOKitSPI.h.
540
541 2018-09-14  Eric Carlson  <eric.carlson@apple.com>
542
543         Support arbitrary video resolution in getUserMedia API
544         https://bugs.webkit.org/show_bug.cgi?id=178109
545         <rdar://problem/35083128>
546
547         Reviewed by Youenn Fablet.
548
549         * pal/cf/CoreMediaSoftLink.cpp:
550         * pal/cf/CoreMediaSoftLink.h:
551
552 2018-09-12  Guillaume Emont  <guijemont@igalia.com>
553
554         Add IGNORE_WARNING_.* macros
555         https://bugs.webkit.org/show_bug.cgi?id=188996
556
557         Reviewed by Michael Catanzaro.
558
559         * pal/crypto/commoncrypto/CryptoDigestCommonCrypto.cpp:
560         (PAL::CryptoDigest::create):
561         (PAL::CryptoDigest::addBytes):
562         (PAL::CryptoDigest::computeHash):
563         * pal/spi/cocoa/AVKitSPI.h:
564         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
565         (insecurelyUnarchiveObjectFromData):
566         * pal/spi/ios/MediaPlayerSPI.h:
567         * pal/system/mac/PopupMenu.mm:
568         (PAL::popUpMenu):
569         * pal/system/mac/WebPanel.mm:
570         (-[WebPanel init]):
571
572 2018-09-10  James Savage  <james.savage@apple.com>
573
574         Expose -apple-system-container-border color to internal web views.
575         https://bugs.webkit.org/show_bug.cgi?id=189178.
576
577         Reviewed by Timothy Hatcher.
578
579         * pal/spi/cocoa/NSColorSPI.h: Declare SPI.
580
581 2018-09-06  Megan Gardner  <megan_gardner@apple.com>
582
583         Add Support for Conic Gradients
584         https://bugs.webkit.org/show_bug.cgi?id=189329
585         <rdar://problem/21444701>
586
587         Reviewed by Simon Fraser.
588
589         Define the CG functionality for conic gradients. 
590
591         * pal/spi/cg/CoreGraphicsSPI.h:
592
593 2018-09-04  Ryan Haddad  <ryanhaddad@apple.com>
594
595         Unreviewed, attempt to fix an internal build after r235585.
596
597         * pal/spi/cf/CFNetworkSPI.h:
598
599 2018-09-01  Yoshiaki Jitsukawa  <yoshiaki.jitsukawa@sony.com>
600
601         [WinCairo] Add CryptoDigestOpenSSL
602         https://bugs.webkit.org/show_bug.cgi?id=188978
603
604         Reviewed by Darin Adler.
605
606         Add a CryptoDigest implementation with OpenSSL/LibreSSL and let the
607         WinCairo port use it.
608
609         * pal/PlatformAppleWin.cmake: Add CryptoDigestWin.cpp to PAL_SOURCES
610         * pal/PlatformWin.cmake: Remove CryptoDigestWin.cpp from PAL_SOURCES
611         * pal/PlatformWinCairo.cmake: Add CryptoDigestOpenSSL to PAL_SOURCES
612         * pal/crypto/openssl/CryptoDigestOpenSSL.cpp: Added.
613         (PAL::toSHA1Context):
614         (PAL::toSHA224Context):
615         (PAL::toSHA256Context):
616         (PAL::toSHA384Context):
617         (PAL::toSHA512Context):
618         (PAL::CryptoDigest::CryptoDigest):
619         (PAL::CryptoDigest::~CryptoDigest):
620         (PAL::CryptoDigest::create):
621         (PAL::CryptoDigest::addBytes):
622         (PAL::CryptoDigest::computeHash):
623
624 2018-09-01  Darin Adler  <darin@apple.com>
625
626         [CFNetwork] Update CFNetwork SPI use to use CFNetworkSPI.h more consistently
627         https://bugs.webkit.org/show_bug.cgi?id=189072
628
629         Reviewed by Dan Bernstein.
630
631         * pal/spi/cf/CFNetworkSPI.h: Added a FIXME about USE(CFNETWORK_IGNORE_HSTS).
632         Sorted Objective-C class interfaces alphabetically instead of having them
633         relatively randomly ordered in the file. Reduced the platform #if statements
634         since it's not critical to have these SPIs declared only where they are
635         present, as long as they are used only when they are present. Moved some
636         additional declarations into this file.
637
638         * pal/spi/cocoa/NSURLDownloadSPI.h: Added more NSURLDownload methods.
639
640 2018-08-30  Don Olmstead  <don.olmstead@sony.com>
641
642         [CMake] Replace AVFoundationSupport.py using CMake
643         https://bugs.webkit.org/show_bug.cgi?id=182891
644
645         Reviewed by Per Arne Vollan.
646
647         Remove AVFoundationSupport.py file and its invocation.
648
649         * AVFoundationSupport.py: Removed.
650         * config.h:
651         * pal/PlatformWin.cmake:
652
653 2018-08-29  Jer Noble  <jer.noble@apple.com>
654
655         Muted elements do not have their Now Playing status updated when unmuted.
656         https://bugs.webkit.org/show_bug.cgi?id=189069
657
658         Reviewed by Eric Carlson.
659
660         * pal/spi/mac/MediaRemoteSPI.h:
661
662 2018-08-27  Keith Rollin  <krollin@apple.com>
663
664         Unreviewed build fix -- disable LTO for production builds
665
666         * Configurations/Base.xcconfig:
667
668 2018-08-27  Aditya Keerthi  <akeerthi@apple.com>
669
670         Consolidate ENABLE_INPUT_TYPE_COLOR and ENABLE_INPUT_TYPE_COLOR_POPOVER
671         https://bugs.webkit.org/show_bug.cgi?id=188931
672
673         Reviewed by Wenson Hsieh.
674
675         * Configurations/FeatureDefines.xcconfig: Removed ENABLE_INPUT_TYPE_COLOR_POPOVER.
676
677 2018-08-27  Keith Rollin  <krollin@apple.com>
678
679         Build system support for LTO
680         https://bugs.webkit.org/show_bug.cgi?id=187785
681         <rdar://problem/42353132>
682
683         Reviewed by Dan Bernstein.
684
685         Update Base.xcconfig and DebugRelease.xcconfig to optionally enable
686         LTO.
687
688         * Configurations/Base.xcconfig:
689         * Configurations/DebugRelease.xcconfig:
690
691 2018-08-26  Andy Estes  <aestes@apple.com>
692
693         [Apple Pay] Introduce new values for -apple-pay-button-type
694         https://bugs.webkit.org/show_bug.cgi?id=188949
695         <rdar://problem/39992228>
696
697         Reviewed by Anders Carlsson.
698
699         * pal/spi/cocoa/PassKitSPI.h:
700
701 2018-08-23  Andy Estes  <aestes@apple.com>
702
703         [Apple Pay] Introduce Apple Pay JS v4 on iOS 12 and macOS Mojave
704         https://bugs.webkit.org/show_bug.cgi?id=188829
705
706         Reviewed by Tim Horton.
707
708         * Configurations/FeatureDefines.xcconfig:
709
710 2018-08-21  Ryosuke Niwa  <rniwa@webkit.org>
711
712         Unreviewed macOS Mojave build fix after r235125.
713
714         * pal/spi/cg/CoreGraphicsSPI.h:
715
716 2018-08-15  Ansh Shukla  <ansh_shukla@apple.com>
717
718         NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
719         https://bugs.webkit.org/show_bug.cgi?id=186870
720         <rdar://problem/41314410>
721
722         Reviewed by Alex Christensen.
723
724         * pal/spi/cf/CFNetworkSPI.h: Declare OAuth string when not building against the
725         internal SDK.
726
727 2018-08-15  Aditya Keerthi  <akeerthi@apple.com>
728
729         [Datalist] Add button to TextFieldInputs with a datalist
730         https://bugs.webkit.org/show_bug.cgi?id=187741
731
732         Reviewed by Tim Horton.
733
734         * pal/spi/cocoa/NSColorSPI.h: Added NSColorGetUserAccentColor().
735
736 2018-08-15  Ryan Haddad  <ryanhaddad@apple.com>
737
738         Unreviewed, rolling out r234870.
739
740         The test introduced with this change is a flaky failure.
741
742         Reverted changeset:
743
744         "NSURLAuthenticationMethodOAuth challenges are surfaced to
745         clients in -didReceiveAuthenticationChallenge as
746         NSURLAuthenticationMethodDefault"
747         https://bugs.webkit.org/show_bug.cgi?id=186870
748         https://trac.webkit.org/changeset/234870
749
750 2018-08-14  Ansh Shukla  <ansh_shukla@apple.com>
751
752         NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
753         https://bugs.webkit.org/show_bug.cgi?id=186870
754         <rdar://problem/41314410>
755
756         Reviewed by Alex Christensen.
757
758         * pal/spi/cf/CFNetworkSPI.h: Declare OAuth string when not building against the
759         internal SDK.
760
761 2018-08-07  Ryan Haddad  <ryanhaddad@apple.com>
762
763         Unreviewed, suppress warnings to fix the build.
764
765         * pal/crypto/commoncrypto/CryptoDigestCommonCrypto.cpp:
766         (PAL::CryptoDigest::create):
767         (PAL::CryptoDigest::addBytes):
768         (PAL::CryptoDigest::computeHash):
769
770 2018-08-07  Per Arne Vollan  <pvollan@apple.com>
771
772         [macOS] Scrollbars are not visible when using 3rd party mouse
773         https://bugs.webkit.org/show_bug.cgi?id=188372
774
775         Reviewed by Simon Fraser.
776
777         Added declaration of NSScrollerImpPair class method. This method updates all NSScrollerImpPairs
778         with a new recommended scroller style.
779
780         * pal/spi/mac/NSScrollerImpSPI.h:
781
782 2018-08-02  David Fenton  <david_fenton@apple.com>
783
784         Unreviewed, rolling out r234489.
785
786         Caused 50+ crashes and 60+ API failures on iOS
787
788         Reverted changeset:
789
790         "[WTF] Rename String::format to String::deprecatedFormat"
791         https://bugs.webkit.org/show_bug.cgi?id=188191
792         https://trac.webkit.org/changeset/234489
793
794 2018-08-01  Tomas Popela  <tpopela@redhat.com>
795
796         [WTF] Rename String::format to String::deprecatedFormat
797         https://bugs.webkit.org/show_bug.cgi?id=188191
798
799         Reviewed by Darin Adler.
800
801         It should be replaced with string concatenation.
802
803         * pal/FileSizeFormatter.cpp:
804         (fileSizeDescription):
805
806 2018-08-01  Tim Horton  <timothy_horton@apple.com>
807
808         Using the keyboard arrow keys to scroll a webpage is very slow, not smooth, takes too long
809         https://bugs.webkit.org/show_bug.cgi?id=188239
810         <rdar://problem/22997654>
811
812         Reviewed by Simon Fraser.
813
814         * pal/spi/cocoa/QuartzCoreSPI.h:
815         Add a piece of SPI.
816
817 2018-07-30  Sihui Liu  <sihui_liu@apple.com>
818
819         Add support for fetching and remove type  _WKWebsiteDataTypeHSTSCache
820         https://bugs.webkit.org/show_bug.cgi?id=187379
821         <rdar://problem/41879559>
822
823         Reviewed by Geoffrey Garen.
824
825         * pal/spi/cf/CFNetworkSPI.h:
826
827 2018-07-30  Devin Rousso  <webkit@devinrousso.com>
828
829         Add missing CoreGraphics SPI
830         https://bugs.webkit.org/show_bug.cgi?id=188177
831
832         Reviewed by Joseph Pecoraro.
833
834         * pal/spi/cg/CoreGraphicsSPI.h:
835
836 2018-07-26  Andy VanWagoner  <andy@vanwagoner.family>
837
838         [INTL] Remove INTL sub-feature compile flags
839         https://bugs.webkit.org/show_bug.cgi?id=188081
840
841         Reviewed by Michael Catanzaro.
842
843         * Configurations/FeatureDefines.xcconfig:
844
845 2018-07-26  Ryan Haddad  <ryanhaddad@apple.com>
846
847         Unreviewed, rolling out r234281.
848
849         Broke internal builds.
850
851         Reverted changeset:
852
853         "[Datalist] Add button to TextFieldInputs with a datalist"
854         https://bugs.webkit.org/show_bug.cgi?id=187741
855         https://trac.webkit.org/changeset/234281
856
857 2018-07-26  Aditya Keerthi  <akeerthi@apple.com>
858
859         [Datalist] Add button to TextFieldInputs with a datalist
860         https://bugs.webkit.org/show_bug.cgi?id=187741
861
862         Reviewed by Tim Horton.
863
864         * pal/spi/cocoa/NSColorSPI.h: Added NSColorGetUserAccentColor().
865
866 2018-07-26  Commit Queue  <commit-queue@webkit.org>
867
868         Unreviewed, rolling out r234181 and r234189.
869         https://bugs.webkit.org/show_bug.cgi?id=188075
870
871         These are not needed right now (Requested by thorton on
872         #webkit).
873
874         Reverted changesets:
875
876         "Enable Web Content Filtering on watchOS"
877         https://bugs.webkit.org/show_bug.cgi?id=187979
878         https://trac.webkit.org/changeset/234181
879
880         "HAVE(PARENTAL_CONTROLS) should be true on watchOS"
881         https://bugs.webkit.org/show_bug.cgi?id=187985
882         https://trac.webkit.org/changeset/234189
883
884 2018-07-24  Tim Horton  <timothy_horton@apple.com>
885
886         Enable Web Content Filtering on watchOS
887         https://bugs.webkit.org/show_bug.cgi?id=187979
888         <rdar://problem/42559346>
889
890         Reviewed by Wenson Hsieh.
891
892         * Configurations/FeatureDefines.xcconfig:
893
894 2018-07-24  Aditya Keerthi  <akeerthi@apple.com>
895
896         [Datalist][macOS] Display suggestions for input[type=color]
897         https://bugs.webkit.org/show_bug.cgi?id=187794
898
899         Reviewed by Tim Horton.
900
901         Added methods to enable customization of NSPopoverColorWell.
902
903         * PAL.xcodeproj/project.pbxproj:
904         * pal/spi/mac/NSColorWellSPI.h: Added.
905         * pal/spi/mac/NSPopoverColorWellSPI.h: Added.
906         * pal/spi/mac/NSPopoverSPI.h:
907
908 2018-07-23  Tim Horton  <timothy_horton@apple.com>
909
910         Creating and loading content in a WKWebView triggers Main Thread Checker warnings under ServicesController
911         https://bugs.webkit.org/show_bug.cgi?id=186963
912         <rdar://problem/41393682>
913
914         Reviewed by Timothy Hatcher.
915
916         * pal/spi/mac/NSSharingServiceSPI.h:
917         Add the new SPI.
918
919 2018-07-18  Per Arne Vollan  <pvollan@apple.com>
920
921         The WebContent process does not suspend when MiniBrowser is minimized.
922         https://bugs.webkit.org/show_bug.cgi?id=187708
923
924         Reviewed by Chris Dumez.
925
926         Add function for enabling App nap.
927
928         * pal/spi/cf/CFUtilitiesSPI.h:
929
930 2018-07-18  Jer Noble  <jer.noble@apple.com>
931
932         PiP from Element Fullscreen should match AVKit's behavior
933         https://bugs.webkit.org/show_bug.cgi?id=187623
934
935         Reviewed by Jon Lee.
936
937         * pal/spi/mac/PIPSPI.h:
938
939 2018-07-14  Kocsen Chung  <kocsen_chung@apple.com>
940
941         Ensure WebKit stack is ad-hoc signed
942         https://bugs.webkit.org/show_bug.cgi?id=187667
943
944         Reviewed by Alexey Proskuryakov.
945
946         * Configurations/Base.xcconfig:
947
948 2018-07-04  Tim Horton  <timothy_horton@apple.com>
949
950         Introduce PLATFORM(IOSMAC)
951         https://bugs.webkit.org/show_bug.cgi?id=187315
952
953         Reviewed by Dan Bernstein.
954
955         * Configurations/Base.xcconfig:
956         * Configurations/FeatureDefines.xcconfig:
957         * pal/cf/CoreMediaSoftLink.cpp:
958         * pal/cf/CoreMediaSoftLink.h:
959         * pal/spi/mac/AVFoundationSPI.h:
960
961 2018-06-28  Jonathan Bedard  <jbedard@apple.com>
962
963         Build fix (2) after r233266 
964         https://bugs.webkit.org/show_bug.cgi?id=187024
965         <rdar://problem/39759057>
966
967         Unreviewed build fix.
968
969         * pal/cf/CoreMediaSoftLink.cpp: Distinguish between IOS and MINIMAL_SIMULATOR.
970         * pal/cf/CoreMediaSoftLink.h: Ditto.
971         * pal/spi/cocoa/LaunchServicesSPI.h: LSApplicationProxy should be conditionalized on HAVE(APP_LINKS).
972
973 2018-06-27  Jonathan Bedard  <jbedard@apple.com>
974
975         Build fix after r233266 
976         https://bugs.webkit.org/show_bug.cgi?id=187024
977         <rdar://problem/39759057>
978
979         Unreviewed build fix.
980
981         * pal/cf/CoreMediaSoftLink.cpp: Do not soft-link CMSampleBufferCallForEachSample for
982         iOS 12 and up on iPhone device and simulator.
983         * pal/cf/CoreMediaSoftLink.h: Ditto.
984
985 2018-06-27  Jonathan Bedard  <jbedard@apple.com>
986
987         Enable WebKit iOS 12 build
988         https://bugs.webkit.org/show_bug.cgi?id=187024
989         <rdar://problem/39759057>
990
991         Reviewed by David Kilzer.
992
993         * pal/cf/CoreMediaSoftLink.cpp: Condition some CoreMedia functions on version.
994         * pal/cf/CoreMediaSoftLink.h: Ditto.
995         * pal/spi/cocoa/NSXPCConnectionSPI.h: Use XPCSPI.h instead of xpc.h.
996         * pal/spi/ios/QuickLookSPI.h: QLItem adopts QLPreviewItem.
997         * pal/spi/ios/SystemPreviewSPI.h: Fix compiler errors.
998
999 2018-06-26  Wenson Hsieh  <wenson_hsieh@apple.com>
1000
1001         [iPad apps on macOS] Unable to interact with video elements that have started playing
1002         https://bugs.webkit.org/show_bug.cgi?id=187073
1003         <rdar://problem/40591107>
1004
1005         Reviewed by Tim Horton.
1006
1007         Define an SPI method on CALayer. See WebKit ChangeLog for more detail.
1008
1009         * pal/spi/cocoa/QuartzCoreSPI.h:
1010
1011 2018-06-23  Yusuke Suzuki  <utatane.tea@gmail.com>
1012
1013         [WTF] Add user-defined literal for ASCIILiteral
1014         https://bugs.webkit.org/show_bug.cgi?id=186839
1015
1016         Reviewed by Darin Adler.
1017
1018         * pal/unix/LoggingUnix.cpp:
1019         (PAL::logLevelString):
1020
1021 2018-06-22  Timothy Hatcher  <timothy@apple.com>
1022
1023         Corner of two scroll bars is white with dark mode enabled.
1024         https://bugs.webkit.org/show_bug.cgi?id=186819
1025         rdar://problem/40434350
1026
1027         Reviewed by Tim Horton.
1028
1029         * PAL.xcodeproj/project.pbxproj:
1030         * pal/spi/mac/CoreUISPI.h: Added.
1031         * pal/spi/mac/NSAppearanceSPI.h: Added.
1032
1033 2018-06-21  Ryan Haddad  <ryanhaddad@apple.com>
1034
1035         Unreviewed attempt to fix the build after r233052.
1036
1037         * pal/spi/cocoa/AVKitSPI.h:
1038
1039 2018-06-21  Jer Noble  <jer.noble@apple.com>
1040
1041         [Fullscreen] Use secondary glyph style for fullscreen controls
1042         https://bugs.webkit.org/show_bug.cgi?id=186862
1043         <rdar://problem/41212210>
1044
1045         Reviewed by Tim Horton.
1046
1047         * pal/spi/cocoa/AVKitSPI.h:
1048
1049 2018-06-15  Jonathan Bedard  <jbedard@apple.com>
1050
1051         Complex text handling should opt out of bounded text layout (follow-up fix)
1052         https://bugs.webkit.org/show_bug.cgi?id=186571
1053         <rdar://problem/40801429>
1054
1055         Reviewed by Zalan Bujtas.
1056
1057         * pal/spi/cocoa/CoreTextSPI.h: Add declaration for OpenSource Mojave builds.
1058
1059 2018-06-14  Timothy Hatcher  <timothy@apple.com>
1060
1061         Expose more semantic system colors.
1062
1063         https://bugs.webkit.org/show_bug.cgi?id=186609
1064         rdar://problem/39287277
1065
1066         Reviewed by Tim Horton.
1067
1068         * pal/spi/cocoa/NSColorSPI.h: Added findHighlightColor and placeholderTextColor.
1069
1070 2018-06-09  Dan Bernstein  <mitz@apple.com>
1071
1072         [Xcode] Clean up and modernize some build setting definitions
1073         https://bugs.webkit.org/show_bug.cgi?id=186463
1074
1075         Reviewed by Sam Weinig.
1076
1077         * Configurations/Base.xcconfig: Removed definition for macOS 10.11.
1078         * Configurations/DebugRelease.xcconfig: Ditto.
1079         * Configurations/FeatureDefines.xcconfig: Simplified the definitions of ENABLE_APPLE_PAY and
1080           ENABLE_VIDEO_PRESENTATION_MODE now macOS 10.12 is the earliest supported version.
1081         * Configurations/PAL.xcconfig: Removed WK_PRIVATE_FRAMEWORKS_DIR, because the private
1082           framework stubs aren’t used when linking PAL.
1083         * Configurations/Version.xcconfig: Removed definition for macOS 10.11.
1084         * Configurations/WebKitTargetConditionals.xcconfig: Ditto.
1085
1086 2018-06-09  Dan Bernstein  <mitz@apple.com>
1087
1088         Added missing file references to the Configuration group.
1089
1090         * PAL.xcodeproj/project.pbxproj:
1091
1092 2018-06-08  Darin Adler  <darin@apple.com>
1093
1094         [Cocoa] Remove all uses of NSAutoreleasePool as part of preparation for ARC
1095         https://bugs.webkit.org/show_bug.cgi?id=186436
1096
1097         Reviewed by Anders Carlsson.
1098
1099         * PAL.xcodeproj/project.pbxproj: Removed FoundationSPI.h.
1100         * pal/PlatformMac.cmake: Ditto.
1101         * pal/spi/cocoa/FoundationSPI.h: Moved into WTF project.
1102
1103 2018-06-08  Wenson Hsieh  <wenson_hsieh@apple.com>
1104
1105         [WebKit on watchOS] Upstream watchOS source additions to OpenSource (Part 1)
1106         https://bugs.webkit.org/show_bug.cgi?id=186442
1107         <rdar://problem/40879364>
1108
1109         Reviewed by Tim Horton.
1110
1111         * Configurations/FeatureDefines.xcconfig:
1112
1113 2018-06-08  Darin Adler  <darin@apple.com>
1114
1115         [Cocoa] Make more of our soft linking ARC-compatible
1116         https://bugs.webkit.org/show_bug.cgi?id=186437
1117
1118         Reviewed by Daniel Bates.
1119
1120         * pal/spi/cocoa/DataDetectorsCoreSPI.h: Removed unused DDURLScheme.
1121
1122 2018-06-08  Jonathan Bedard  <jbedard@apple.com>
1123
1124         [Mojave] Enable build
1125         https://bugs.webkit.org/show_bug.cgi?id=186401
1126         <rdar://problem/39759031>
1127
1128         Reviewed by Dan Bernstein.
1129
1130         * pal/spi/cg/CoreGraphicsSPI.h: Declare CGSShutdownServerConnections().
1131         * pal/spi/cocoa/QuartzCoreSPI.h: Declare [CAContext setAllowsCGSConnections] in Mojave + builds.
1132         * pal/spi/mac/DataDetectorsSPI.h: Declare DDResultGetCFTypeID in Mojave+ builds.
1133
1134 2018-06-08  Brent Fulgham  <bfulgham@apple.com>
1135
1136         REGRESSION (r230930): Link drag image is very blurry
1137         https://bugs.webkit.org/show_bug.cgi?id=186435
1138         <rdar://problem/40797202>
1139
1140         Reviewed by Tim Horton.
1141
1142         Add the necessary NSImage SPI to our SPI headers.
1143
1144         * PAL.xcodeproj/project.pbxproj:
1145         * pal/spi/mac/NSImageSPI.h: Added.
1146
1147 2018-06-07  Chris Dumez  <cdumez@apple.com>
1148
1149         Add base class to get WeakPtrFactory member and avoid some boilerplate code
1150         https://bugs.webkit.org/show_bug.cgi?id=186407
1151
1152         Reviewed by Brent Fulgham.
1153
1154         186407_CanMakeWeakPtr
1155
1156         * pal/system/mac/SystemSleepListenerMac.h:
1157         * pal/system/mac/SystemSleepListenerMac.mm:
1158         (PAL::SystemSleepListenerMac::SystemSleepListenerMac):
1159
1160 2018-06-06  Simon Fraser  <simon.fraser@apple.com>
1161
1162         Logging macros are sensitive to pal/Logging.h vs Logging.h include order
1163         https://bugs.webkit.org/show_bug.cgi?id=185893
1164
1165         Reviewed by Zalan Bujtas.
1166         
1167         Remove unused functionality from pal/Logging code until we need it. Primarily this removes the
1168         #define LOG_CHANNEL_PREFIX from pal/Logging.h, which caused include-order problems with unified sources.
1169         
1170         Future work should move shared logging code up to WTF (or into PAL).
1171
1172         * PAL.xcodeproj/project.pbxproj:
1173         * pal/CMakeLists.txt:
1174         * pal/LogInitialization.h: Removed.
1175         * pal/Logging.cpp:
1176         (PAL::isLogChannelEnabled): Deleted.
1177         (PAL::setLogChannelToAccumulate): Deleted.
1178         (PAL::initializeLogChannelsIfNecessary): Deleted.
1179         * pal/Logging.h:
1180         * pal/cocoa/LoggingCocoa.mm: Removed.
1181
1182 2018-06-05  Brent Fulgham  <bfulgham@apple.com>
1183
1184         Adjust compile and runtime flags to match shippable state of features
1185         https://bugs.webkit.org/show_bug.cgi?id=186319
1186         <rdar://problem/40352045>
1187
1188         Reviewed by Maciej Stachowiak, Jon Lee, and others.
1189
1190         * Configurations/DebugRelease.xcconfig: Update to match WebKit definition of
1191         WK_RELOCATABLE_FRAMEWORKS so that ENABLE(EXPERIMENTAL_FEATURES) is defined properly for
1192         Cocoa builds.
1193         * Configurations/FeatureDefines.xcconfig: Don't build ENABLE_INPUT_TYPE_COLOR
1194         or ENABLE_INPUT_TYPE_COLOR_POPOVER.
1195
1196 2018-06-05  Brent Fulgham  <bfulgham@apple.com>
1197
1198         Revise DEFAULT_EXPERIMENTAL_FEATURES_ENABLED to work properly on Apple builds
1199         https://bugs.webkit.org/show_bug.cgi?id=186286
1200         <rdar://problem/40782992>
1201
1202         Reviewed by Dan Bernstein.
1203
1204         Use the WK_RELOCATABLE_FRAMEWORKS flag (which is always defined for non-production builds)
1205         to define ENABLE(EXPERIMENTAL_FEATURES) so that we do not need to manually
1206         change this flag when preparing for a production release.
1207
1208         * Configurations/FeatureDefines.xcconfig: Use WK_RELOCATABLE_FRAMEWORKS to determine
1209         whether experimental features should be enabled, and use it to properly define the
1210         feature flag.
1211
1212 2018-06-04  Dan Bernstein  <mitz@apple.com>
1213
1214         Made PAL build with the macOS Mojave SDK.
1215
1216         * pal/cf/CoreMediaSoftLink.cpp:
1217         * pal/cf/CoreMediaSoftLink.h:
1218
1219 2018-06-04  Wenson Hsieh  <wenson_hsieh@apple.com>
1220
1221         [WebKit on watchOS] Remove all uses of the EXTRA_ZOOM_MODE compiler flag
1222         https://bugs.webkit.org/show_bug.cgi?id=186279
1223
1224         Reviewed by Tim Horton.
1225
1226         Replaces uses of ENABLE(EXTRA_ZOOM_MODE) with PLATFORM(WATCHOS).
1227
1228         * pal/cf/CoreMediaSoftLink.h:
1229         * pal/spi/cocoa/AVKitSPI.h:
1230
1231 2018-05-30  Andy Estes  <aestes@apple.com>
1232
1233         [Cocoa] Add an SPI to suppress connection termination errors from CFNetwork when network interfaces change
1234         https://bugs.webkit.org/show_bug.cgi?id=186107
1235         <rdar://problem/39338957>
1236
1237         Reviewed by Brady Eidson.
1238
1239         * pal/spi/cf/CFNetworkSPI.h: Declared new SPI.
1240
1241 2018-05-27  Dan Bernstein  <mitz@apple.com>
1242
1243         Reverted the changes made for https://webkit.org/b/186016
1244
1245         They broke the USE(APPLE_INTERNAL_SDK) Sierra build.
1246
1247 2018-05-25  Chris Dumez  <cdumez@apple.com>
1248
1249         Drop support for NSURLCache in WebKit2
1250         https://bugs.webkit.org/show_bug.cgi?id=185990
1251
1252         Reviewed by Geoffrey Garen.
1253
1254         Drop support for NSURLCache in WebKit2 now that the WebKit network cache is stable.
1255
1256         * pal/spi/cf/CFNetworkSPI.h:
1257
1258 2018-05-24  Jiewen Tan  <jiewen_tan@apple.com>
1259
1260         Adopt SecKeyProxy SPI in certificate based challenge response code
1261         https://bugs.webkit.org/show_bug.cgi?id=185848
1262         <rdar://problem/34586181>
1263
1264         Reviewed by Alex Christensen.
1265
1266         Add SPIs to support SecKeyProxy and convert xpc_endpoint_t to NSXPCListenerEndpoint vice versa.
1267
1268         * PAL.xcodeproj/project.pbxproj:
1269         * pal/spi/cocoa/NSXPCConnectionSPI.h: Added.
1270         * pal/spi/cocoa/SecKeyProxySPI.h: Added.
1271
1272 2018-05-24  Chris Dumez  <cdumez@apple.com>
1273
1274         Some of the work in initializeLogChannelsIfNecessary() is unnecessary for release builds
1275         https://bugs.webkit.org/show_bug.cgi?id=185951
1276
1277         Reviewed by Geoffrey Garen.
1278
1279         Some of the work in initializeLogChannelsIfNecessary() is unnecessary for release builds and slows down
1280         launch time. In particular, it is unnecessary to read NSDefaults to figure out which logging channels
1281         should be enabled.
1282
1283         * pal/cocoa/LoggingCocoa.mm:
1284         (PAL::logLevelString):
1285         * pal/unix/LoggingUnix.cpp:
1286         (PAL::logLevelString):
1287         * pal/win/LoggingWin.cpp:
1288         (PAL::logLevelString):
1289
1290 2018-05-22  Simon Fraser  <simon.fraser@apple.com>
1291
1292         Add notifyutil callbacks to dump the memory cache, and the list of live Pages and Documents
1293         https://bugs.webkit.org/show_bug.cgi?id=185853
1294
1295         Reviewed by Keith Miller.
1296         
1297         Compile registerNotifyCallback in release builds.
1298
1299         * pal/Logging.cpp:
1300         (PAL::registerNotifyCallback):
1301         * pal/Logging.h:
1302
1303 2018-05-22  Ryan Haddad  <ryanhaddad@apple.com>
1304
1305         Unreviewed, rolling out r232052.
1306
1307         Breaks internal builds.
1308
1309         Reverted changeset:
1310
1311         "Use more C++17"
1312         https://bugs.webkit.org/show_bug.cgi?id=185176
1313         https://trac.webkit.org/changeset/232052
1314
1315 2018-05-21  Yusuke Suzuki  <utatane.tea@gmail.com>
1316
1317         Use more C++17
1318         https://bugs.webkit.org/show_bug.cgi?id=185176
1319
1320         Reviewed by JF Bastien.
1321
1322         * Configurations/Base.xcconfig:
1323
1324 2018-05-21  Jer Noble  <jer.noble@apple.com>
1325
1326         Complete fix for enabling modern EME by default
1327         https://bugs.webkit.org/show_bug.cgi?id=185770
1328         <rdar://problem/40368220>
1329
1330         Reviewed by Eric Carlson.
1331
1332         * Configurations/FeatureDefines.xcconfig:
1333
1334 2018-05-18  Commit Queue  <commit-queue@webkit.org>
1335
1336         Unreviewed, rolling out r231982.
1337         https://bugs.webkit.org/show_bug.cgi?id=185793
1338
1339         Caused layout test failures (Requested by realdawei on
1340         #webkit).
1341
1342         Reverted changeset:
1343
1344         "Complete fix for enabling modern EME by default"
1345         https://bugs.webkit.org/show_bug.cgi?id=185770
1346         https://trac.webkit.org/changeset/231982
1347
1348 2018-05-18  Jer Noble  <jer.noble@apple.com>
1349
1350         Complete fix for enabling modern EME by default
1351         https://bugs.webkit.org/show_bug.cgi?id=185770
1352         <rdar://problem/40368220>
1353
1354         Reviewed by Eric Carlson.
1355
1356         * Configurations/FeatureDefines.xcconfig:
1357
1358 2018-05-16  Andy VanWagoner  <andy@vanwagoner.family>
1359
1360         Add support for Intl NumberFormat formatToParts
1361         https://bugs.webkit.org/show_bug.cgi?id=185375
1362
1363         Reviewed by Yusuke Suzuki.
1364
1365         Add flag for NumberFormat formatToParts.
1366
1367         * Configurations/FeatureDefines.xcconfig:
1368
1369 2018-05-15  Wenson Hsieh  <wenson_hsieh@apple.com>
1370
1371         PasteboardWebContent's dataInAttributedStringFormat fails to deserialize in the UI process when copying a selection
1372         https://bugs.webkit.org/show_bug.cgi?id=185667
1373         <rdar://problem/40135132>
1374
1375         Reviewed by Tim Horton.
1376
1377         Fixes error logging emitted when copying a text selection due to the secure archiver on iOS being unable to
1378         handle NSAttributedString in the builds where the errors manifest. USE_SECURE_ARCHIVER_FOR_ATTRIBUTED_STRING is
1379         defined to be 1, despite not having the fix for <rdar://problem/31376830>.
1380
1381         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
1382
1383 2018-05-11  Dan Bernstein  <mitz@apple.com>
1384
1385         Follow-up build fix to r231721.
1386
1387         * pal/cf/CoreMediaSoftLink.cpp:
1388         * pal/cf/CoreMediaSoftLink.h:
1389           Unify the conditions between the header and the implementation files, and have watchOS and
1390           tvOS keyed off iOS.
1391
1392 2018-05-11  Jer Noble  <jer.noble@apple.com>
1393
1394         Add CF_NOESCAPE decorators for tvOS and watchOS
1395         https://bugs.webkit.org/show_bug.cgi?id=185560
1396
1397         Reviewed by Dan Bernstein.
1398
1399         * pal/cf/CoreMediaSoftLink.h:
1400
1401 2018-05-08  Sihui Liu  <sihui_liu@apple.com>
1402
1403         Adopt new async _savecookies SPI for keeping networking process active during flushing cookies
1404         https://bugs.webkit.org/show_bug.cgi?id=185261
1405         <rdar://problem/37214391>
1406
1407         Reviewed by Chris Dumez.
1408
1409         * pal/spi/cf/CFNetworkSPI.h:
1410
1411 2018-05-08  Dean Jackson  <dino@apple.com>
1412
1413         Use thumbnails in System Previews
1414         https://bugs.webkit.org/show_bug.cgi?id=185397
1415         <rdar://problem/40039376>
1416
1417         Reviewed by Jon Lee.
1418
1419         * PAL.xcodeproj/project.pbxproj:
1420         * pal/spi/ios/SystemPreviewSPI.h: New file holding the non-public parts of System Preview.
1421
1422 2018-05-04  Tim Horton  <timothy_horton@apple.com>
1423
1424         Shift to a lower-level framework for simplifying URLs
1425         https://bugs.webkit.org/show_bug.cgi?id=185334
1426
1427         Reviewed by Dan Bernstein.
1428
1429         * PAL.xcodeproj/project.pbxproj:
1430         * pal/PlatformMac.cmake:
1431         * pal/spi/cocoa/URLFormattingSPI.h: Renamed from Source/WebCore/PAL/pal/spi/cocoa/LinkPresentationSPI.h.
1432
1433 2018-05-03  Eric Carlson  <eric.carlson@apple.com>
1434
1435         [iOS] Provide audio route information when invoking AirPlay picker
1436         https://bugs.webkit.org/show_bug.cgi?id=185199
1437         <rdar://problem/39853103>
1438
1439         Another attempt at an unreviewed build fix.
1440
1441         * pal/spi/mac/AVFoundationSPI.h:
1442
1443 2018-05-02  Eric Carlson  <eric.carlson@apple.com>
1444
1445         [iOS] Provide audio route information when invoking AirPlay picker
1446         https://bugs.webkit.org/show_bug.cgi?id=185199
1447         <rdar://problem/39853103>
1448
1449         Unreviewed, another attempted build fix.
1450
1451         * pal/spi/mac/AVFoundationSPI.h:
1452
1453 2018-05-02  Alex Christensen  <achristensen@webkit.org>
1454
1455         Add WKWebsiteDataStorePrivate._proxyConfiguration SPI
1456         https://bugs.webkit.org/show_bug.cgi?id=185179
1457
1458         Reviewed by Andy Estes.
1459
1460         * pal/spi/cf/CFNetworkSPI.h:
1461
1462 2018-05-02  Eric Carlson  <eric.carlson@apple.com>
1463
1464         [iOS] Provide audio route information when invoking AirPlay picker
1465         https://bugs.webkit.org/show_bug.cgi?id=185199
1466         <rdar://problem/39853103>
1467
1468         Unreviewed build fix.
1469
1470         * pal/spi/mac/AVFoundationSPI.h:
1471
1472 2018-05-02  Eric Carlson  <eric.carlson@apple.com>
1473
1474         [iOS] Provide audio route information when invoking AirPlay picker
1475         https://bugs.webkit.org/show_bug.cgi?id=185199
1476         <rdar://problem/39853103>
1477
1478         Reviewed by Jer Noble.
1479
1480         * pal/spi/mac/AVFoundationSPI.h: Add additional AVAudioSession SPI.
1481
1482 2018-05-01  Jer Noble  <jer.noble@apple.com>
1483
1484         Protect against changes to CoreMedia function signatures
1485         https://bugs.webkit.org/show_bug.cgi?id=185167
1486
1487         Reviewed by Eric Carlson.
1488
1489         * pal/cf/CoreMediaSoftLink.cpp:
1490         * pal/cf/CoreMediaSoftLink.h:
1491
1492 2018-05-01  Oleksandr Skachkov  <gskachkov@gmail.com>
1493
1494         WebAssembly: add support for stream APIs - JavaScript API
1495         https://bugs.webkit.org/show_bug.cgi?id=183442
1496
1497         Reviewed by Yusuke Suzuki and JF Bastien.
1498
1499         Add WEBASSEMBLY_STREAMING_API feature flag
1500
1501         * Configurations/FeatureDefines.xcconfig:
1502
1503 2018-04-26  Jer Noble  <jer.noble@apple.com>
1504
1505         WK_COCOA_TOUCH all the things.
1506         https://bugs.webkit.org/show_bug.cgi?id=185006
1507
1508         Reviewed by Tim Horton.
1509
1510         * Configurations/PAL.xcconfig:
1511
1512 2018-04-26  Per Arne Vollan  <pvollan@apple.com>
1513
1514         Disable content filtering in minimal simulator mode
1515         https://bugs.webkit.org/show_bug.cgi?id=185027
1516         <rdar://problem/39736091>
1517
1518         Reviewed by Jer Noble.
1519
1520         * Configurations/FeatureDefines.xcconfig:
1521
1522 2018-04-26  Andy VanWagoner  <thetalecrafter@gmail.com>
1523
1524         [INTL] Implement Intl.PluralRules
1525         https://bugs.webkit.org/show_bug.cgi?id=184312
1526
1527         Reviewed by JF Bastien.
1528
1529         Added Intl.PluralRules feature flag.
1530
1531         * Configurations/FeatureDefines.xcconfig:
1532
1533 2018-04-24  Jer Noble  <jer.noble@apple.com>
1534
1535         Don't add system framework paths to FRAMEWORK_SEARCH_PATHS
1536         https://bugs.webkit.org/show_bug.cgi?id=184786
1537
1538         Reviewed by Tim Horton.
1539
1540         * Configurations/PAL.xcconfig:
1541
1542 2018-04-23  Daniel Bates  <dabates@apple.com>
1543
1544         Implement Same-Site cookies
1545         https://bugs.webkit.org/show_bug.cgi?id=159464
1546         <rdar://problem/27196358>
1547
1548         Reviewed by Brent Fulgham.
1549
1550         Forward declare some SPI.
1551
1552         * pal/spi/cf/CFNetworkSPI.h:
1553
1554 2018-04-23  Zalan Bujtas  <zalan@apple.com>
1555
1556         [LayoutFormattingContext] Initial commit.
1557         https://bugs.webkit.org/show_bug.cgi?id=184896
1558
1559         Reviewed by Antti Koivisto.
1560
1561         * Configurations/FeatureDefines.xcconfig:
1562
1563 2018-04-23  Daniel Bates  <dabates@apple.com>
1564
1565         Implement Same-Site cookies
1566         https://bugs.webkit.org/show_bug.cgi?id=159464
1567         <rdar://problem/27196358>
1568
1569         Reviewed by Brent Fulgham.
1570
1571         Forward declare some SPI.
1572
1573         * pal/spi/cf/CFNetworkSPI.h:
1574
1575 2018-04-20  Tim Horton  <timothy_horton@apple.com>
1576
1577         Adjust geolocation feature flag
1578         https://bugs.webkit.org/show_bug.cgi?id=184856
1579
1580         Reviewed by Wenson Hsieh.
1581
1582         * Configurations/FeatureDefines.xcconfig:
1583
1584 2018-04-18  Jer Noble  <jer.noble@apple.com>
1585
1586         Don't put build products into WK_ALTERNATE_WEBKIT_SDK_PATH for engineering builds
1587         https://bugs.webkit.org/show_bug.cgi?id=184762
1588
1589         Reviewed by Dan Bernstein.
1590
1591         * Configurations/CopyPALHeaders.xcconfig:
1592         * Configurations/PAL.xcconfig:
1593
1594 2018-04-19  David Kilzer  <ddkilzer@apple.com>
1595
1596         Enable Objective-C weak references
1597         <https://webkit.org/b/184789>
1598         <rdar://problem/39571716>
1599
1600         Reviewed by Dan Bernstein.
1601
1602         * Configurations/Base.xcconfig:
1603         (CLANG_ENABLE_OBJC_WEAK): Enable.
1604
1605 2018-04-17  Eric Carlson  <eric.carlson@apple.com>
1606
1607         [iOS] AirPlay device name is sometimes wrong
1608         https://bugs.webkit.org/show_bug.cgi?id=184543
1609         <rdar://problem/39105498>
1610
1611         Reviewed by Jer Noble.
1612
1613         * pal/spi/mac/AVFoundationSPI.h: Declare more AVOutputContext SPI.
1614
1615 2018-04-16  Brent Fulgham  <bfulgham@apple.com>
1616
1617         [macOS] Don't establish unneeded Dock connections
1618         https://bugs.webkit.org/show_bug.cgi?id=184664
1619         <rdar://problem/16863698>
1620
1621         Reviewed by Simon Fraser.
1622
1623         There is no reason for the WebContent or Plugin processes to interact with
1624         the Dock. We should tell AppKit that we don't want this connection, and to
1625         avoid creating such connections.
1626
1627         * pal/spi/mac/NSApplicationSPI.h: Add Dock connection declaration.
1628
1629 2018-04-09  John Wilander  <wilander@apple.com>
1630
1631         Refactor Ignore HSTS code
1632         https://bugs.webkit.org/show_bug.cgi?id=184433
1633         <rdar://problem/39298238>
1634
1635         Reviewed by Darin Adler.
1636
1637         This patch refactors our ignore HSTS code. The convenience functions are moved
1638         out of CFNetwork SPI in PAL, and into where they are used. It also switches
1639         from performSelector: calls to straight function calls, after checking that
1640         there is a responder.
1641
1642         * pal/spi/cf/CFNetworkSPI.h:
1643         (schemeWasUpgradedDueToDynamicHSTS): Deleted.
1644         (setIgnoreHSTS): Deleted.
1645         (ignoreHSTS): Deleted.
1646
1647 2018-04-07  Timothy Hatcher  <timothy@apple.com>
1648
1649         Use the system's link color when system appearance is desired for a WebView.
1650
1651         https://bugs.webkit.org/show_bug.cgi?id=184353
1652         rdar://problem/9420053
1653
1654         Reviewed by Wenson Hsieh.
1655
1656         * pal/spi/cocoa/NSColorSPI.h: Added linkColor.
1657
1658 2018-04-05  John Wilander  <wilander@apple.com>
1659
1660         Add necessary colon to CFNetwork selector
1661         https://bugs.webkit.org/show_bug.cgi?id=184335
1662         <rdar://problem/39213124>
1663
1664         Reviewed by Brent Fulgham.
1665
1666         * pal/spi/cf/CFNetworkSPI.h:
1667         (setIgnoreHSTS):
1668
1669 2018-04-04  Per Arne Vollan  <pvollan@apple.com>
1670
1671         The layout test fast/canvas/canvas-blending-global-alpha.html is failing when the WebContent process does not have WindowServer access.
1672         https://bugs.webkit.org/show_bug.cgi?id=183752
1673
1674         Reviewed by Brent Fulgham.
1675
1676         * pal/spi/cg/CoreGraphicsSPI.h:
1677
1678 2018-04-02  Eric Carlson  <eric.carlson@apple.com>
1679
1680         Define AVKit softlink macro
1681         https://bugs.webkit.org/show_bug.cgi?id=184241
1682
1683         Reviewed by Jer Noble.
1684
1685         * pal/cf/CoreMediaSoftLink.h:
1686
1687 2018-03-23  Tim Horton  <timothy_horton@apple.com>
1688
1689         Fix the !HAVE(APP_LINKS) build
1690         https://bugs.webkit.org/show_bug.cgi?id=183974
1691
1692         Reviewed by Dan Bernstein.
1693
1694         * pal/spi/cocoa/LaunchServicesSPI.h:
1695         This header is not very !HAVE(APP_LINKS) friendly.
1696
1697 2018-03-23  Tim Horton  <timothy_horton@apple.com>
1698
1699         Fix the build with no pasteboard
1700         https://bugs.webkit.org/show_bug.cgi?id=183973
1701
1702         Reviewed by Dan Bernstein.
1703
1704         * Configurations/FeatureDefines.xcconfig:
1705
1706 2018-03-22  Tim Horton  <timothy_horton@apple.com>
1707
1708         Adopt WK_ALTERNATE_FRAMEWORKS_DIR in WebCore
1709         https://bugs.webkit.org/show_bug.cgi?id=183930
1710         <rdar://problem/38782249>
1711
1712         Reviewed by Dan Bernstein.
1713
1714         * Configurations/Base.xcconfig:
1715         * Configurations/CopyPALHeaders.xcconfig:
1716         * Configurations/PAL.xcconfig:
1717
1718 2018-03-22  Tim Horton  <timothy_horton@apple.com>
1719
1720         Improve readability of WebCore's OTHER_LDFLAGS
1721         https://bugs.webkit.org/show_bug.cgi?id=183909
1722         <rdar://problem/38760992>
1723
1724         Reviewed by Dan Bernstein.
1725
1726         * Configurations/Base.xcconfig:
1727         * Configurations/FeatureDefines.xcconfig:
1728
1729 2018-03-21  Brent Fulgham  <bfulgham@apple.com>
1730
1731         Remove temporary build fix now that underlying issue is resolved
1732         https://bugs.webkit.org/show_bug.cgi?id=183854
1733         <rdar://problem/37198715>
1734
1735         Reviewed by Eric Carlson.
1736
1737         The build environment issues that forced us to disable this setting
1738         have been corrected, so this should be turned on for all builds.
1739
1740         * pal/spi/cf/CFNetworkSPI.h:
1741
1742 2018-03-20  Tim Horton  <timothy_horton@apple.com>
1743
1744         Enable the minimal simulator feature flag when appropriate
1745         https://bugs.webkit.org/show_bug.cgi?id=183807
1746
1747         Reviewed by Dan Bernstein.
1748
1749         * Configurations/FeatureDefines.xcconfig:
1750
1751 2018-03-20  Tim Horton  <timothy_horton@apple.com>
1752
1753         Add and adopt WK_PLATFORM_NAME and adjust default feature defines
1754         https://bugs.webkit.org/show_bug.cgi?id=183758
1755         <rdar://problem/38017644>
1756
1757         Reviewed by Dan Bernstein.
1758
1759         * Configurations/FeatureDefines.xcconfig:
1760
1761 2018-03-19  Jiewen Tan  <jiewen_tan@apple.com>
1762
1763         Unreviewed, another quick fix for r229699
1764
1765         Restricts ENABLE_WEB_AUTHN to only macOS and iOS.
1766
1767         * Configurations/FeatureDefines.xcconfig:
1768
1769 2018-03-19  Eric Carlson  <eric.carlson@apple.com>
1770
1771         [Extra zoom mode] Require fullscreen for video playback
1772         https://bugs.webkit.org/show_bug.cgi?id=183742
1773         <rdar://problem/38235862>
1774
1775         Reviewed by Jer Noble.
1776
1777         * pal/spi/cocoa/AVKitSPI.h:
1778
1779 2018-03-19  Jiewen Tan  <jiewen_tan@apple.com>
1780
1781         Unreviewed, a quick fix for r229699
1782
1783         * pal/spi/cocoa/DeviceIdentitySPI.h:
1784
1785 2018-03-17  Jiewen Tan  <jiewen_tan@apple.com>
1786
1787         [WebAuthN] Implement authenticatorMakeCredential
1788         https://bugs.webkit.org/show_bug.cgi?id=183527
1789         <rdar://problem/35275886>
1790
1791         Reviewed by Brent Fulgham.
1792
1793         * PAL.xcodeproj/project.pbxproj:
1794         * pal/spi/cocoa/DeviceIdentitySPI.h: Copied from Source/WebKit/UIProcess/CredentialManagement/WebCredentialsMessengerProxy.h.
1795
1796 2018-03-14  Tim Horton  <timothy_horton@apple.com>
1797
1798         Fix the build after r229567
1799
1800         * Configurations/FeatureDefines.xcconfig:
1801
1802 2018-03-13  Dean Jackson  <dino@apple.com>
1803
1804         Fix some build errors and cleanup QuickLookSPI.h
1805         https://bugs.webkit.org/show_bug.cgi?id=183599
1806
1807         Reviewed by Ryan Haddad.
1808
1809         * pal/spi/ios/QuickLookSPI.h:
1810
1811 2018-03-12  Dean Jackson  <dino@apple.com>
1812
1813         Add a WKWebViewContentProvider for system previews
1814         https://bugs.webkit.org/show_bug.cgi?id=183582
1815         <rdar://problem/38393569>
1816
1817         Reviewed by Tim Horton.
1818
1819         Add some QuickLook SPI.
1820
1821         * pal/spi/ios/QuickLookSPI.h:
1822
1823 2018-03-12  Don Olmstead  <don.olmstead@sony.com>
1824
1825         [CMake][Win] Forwarding headers of WTF and PAL are copied twice in Visual Studio builds
1826         https://bugs.webkit.org/show_bug.cgi?id=183240
1827
1828         Reviewed by Alex Christensen.
1829
1830         * pal/CMakeLists.txt:
1831         * pal/PlatformAppleWin.cmake:
1832         * pal/PlatformGTK.cmake:
1833         * pal/PlatformMac.cmake:
1834         * pal/PlatformWPE.cmake:
1835         * pal/PlatformWinCairo.cmake:
1836
1837 2018-03-12  Tim Horton  <timothy_horton@apple.com>
1838
1839         Stop using SDK conditionals to control feature definitions
1840         https://bugs.webkit.org/show_bug.cgi?id=183430
1841         <rdar://problem/38251619>
1842
1843         Reviewed by Dan Bernstein.
1844
1845         * Configurations/FeatureDefines.xcconfig:
1846         * Configurations/WebKitTargetConditionals.xcconfig: Renamed.
1847
1848 2018-03-12  Yoav Weiss  <yoav@yoav.ws>
1849
1850         Runtime flag for link prefetch and remove link subresource.
1851         https://bugs.webkit.org/show_bug.cgi?id=183540
1852
1853         Reviewed by Chris Dumez.
1854
1855         Remove the LINK_PREFETCH build time flag.
1856
1857         * Configurations/FeatureDefines.xcconfig:
1858
1859 2018-03-12  Tim Horton  <timothy_horton@apple.com>
1860
1861         Use a different SPI header for some AudioToolbox enums
1862         https://bugs.webkit.org/show_bug.cgi?id=183574
1863         <rdar://problem/38385889>
1864
1865         Reviewed by Anders Carlsson.
1866
1867         * PAL.xcodeproj/project.pbxproj:
1868         * pal/spi/cocoa/AudioToolboxSPI.h: Added.
1869
1870 2018-03-07  Tim Horton  <timothy_horton@apple.com>
1871
1872         Sort and separate FeatureDefines.xcconfig
1873         https://bugs.webkit.org/show_bug.cgi?id=183427
1874
1875         Reviewed by Dan Bernstein.
1876
1877         * Configurations/FeatureDefines.xcconfig:
1878         Sort and split FeatureDefines into paragraphs
1879         (to make it easier to sort later).
1880
1881 2018-03-05  Yusuke Suzuki  <utatane.tea@gmail.com>
1882
1883         Fix std::make_unique / new[] using system malloc
1884         https://bugs.webkit.org/show_bug.cgi?id=182975
1885
1886         Reviewed by JF Bastien.
1887
1888         Use Vector instead.
1889
1890         * pal/win/LoggingWin.cpp:
1891         (PAL::logLevelString):
1892
1893 2018-03-04  Yusuke Suzuki  <utatane.tea@gmail.com>
1894
1895         [WTF] Move currentCPUTime and sleep(Seconds) to CPUTime.h and Seconds.h respectively
1896         https://bugs.webkit.org/show_bug.cgi?id=183312
1897
1898         Reviewed by Mark Lam.
1899
1900         Remove wtf/CurrentTime.h include pragma.
1901
1902         * pal/system/ClockGeneric.cpp:
1903
1904 2018-03-04  Tim Horton  <timothy_horton@apple.com>
1905
1906         Make !ENABLE(DATA_DETECTION) iOS build actually succeed
1907         https://bugs.webkit.org/show_bug.cgi?id=183283
1908         <rdar://problem/38062148>
1909
1910         Reviewed by Sam Weinig.
1911
1912         * Configurations/FeatureDefines.xcconfig:
1913
1914 2018-03-01  Yusuke Suzuki  <utatane.tea@gmail.com>
1915
1916         Remove monotonicallyIncreasingTime
1917         https://bugs.webkit.org/show_bug.cgi?id=182911
1918
1919         Reviewed by Michael Catanzaro.
1920
1921         * pal/system/ClockGeneric.cpp:
1922         (PAL::ClockGeneric::currentTime const):
1923         (PAL::ClockGeneric::now const):
1924         * pal/system/ClockGeneric.h:
1925
1926 2018-02-27  Tim Horton  <timothy_horton@apple.com>
1927
1928         Stop using deprecated CADisplay SPI
1929         https://bugs.webkit.org/show_bug.cgi?id=183150
1930         <rdar://problem/37918297>
1931
1932         Reviewed by Simon Fraser.
1933
1934         * pal/spi/cocoa/QuartzCoreSPI.h:
1935         Switch to the more modern way of getting the display name.
1936
1937 2018-02-27  Ryan Haddad  <ryanhaddad@apple.com>
1938
1939         Unreviewed, rolling out r229055.
1940
1941         Breaks internal builds.
1942
1943         Reverted changeset:
1944
1945         "Stop using deprecated CADisplay SPI"
1946         https://bugs.webkit.org/show_bug.cgi?id=183150
1947         https://trac.webkit.org/changeset/229055
1948
1949 2018-02-27  Tim Horton  <timothy_horton@apple.com>
1950
1951         Stop using deprecated CADisplay SPI
1952         https://bugs.webkit.org/show_bug.cgi?id=183150
1953         <rdar://problem/37918297>
1954
1955         Reviewed by Simon Fraser.
1956
1957         * pal/spi/cocoa/QuartzCoreSPI.h:
1958         Switch to the more modern way of getting the display name.
1959
1960 2018-02-20  Tim Horton  <timothy_horton@apple.com>
1961
1962         Introduce HAVE(IOSURFACE_ACCELERATOR)
1963         https://bugs.webkit.org/show_bug.cgi?id=182955
1964         <rdar://problem/37699510>
1965
1966         Reviewed by Sam Weinig.
1967
1968         * pal/spi/cg/CoreGraphicsSPI.h:
1969         * pal/spi/cocoa/IOSurfaceSPI.h:
1970         * pal/spi/cocoa/QuartzCoreSPI.h:
1971
1972 2018-02-15  Tim Horton  <timothy_horton@apple.com>
1973
1974         Stop using EXCLUDED_SOURCE_FILE_NAMES for actual source files in WebCore
1975         https://bugs.webkit.org/show_bug.cgi?id=182822
1976
1977         Reviewed by Dan Bernstein.
1978
1979         * Configurations/PAL.xcconfig:
1980         * pal/system/Sound.cpp:
1981         * pal/system/mac/SoundMac.mm:
1982         * pal/text/KillRing.cpp:
1983         * pal/text/mac/KillRingMac.mm:
1984
1985 2018-02-09  Don Olmstead  <don.olmstead@sony.com>
1986
1987         [CMake] Make PAL headers copies
1988         https://bugs.webkit.org/show_bug.cgi?id=182645
1989
1990         Reviewed by Alex Christensen.
1991
1992         * pal/CMakeLists.txt:
1993         * pal/PlatformAppleWin.cmake:
1994         * pal/PlatformGTK.cmake:
1995         * pal/PlatformMac.cmake:
1996         * pal/PlatformWPE.cmake:
1997         * pal/PlatformWin.cmake:
1998         * pal/PlatformWinCairo.cmake:
1999
2000 2018-01-30  Myles C. Maxfield  <mmaxfield@apple.com>
2001
2002         A disallowed user-installed font may be used if its PostScript name is specified
2003         https://bugs.webkit.org/show_bug.cgi?id=180951
2004
2005         Reviewed by Brent Fulgham.
2006
2007         * pal/spi/cocoa/CoreTextSPI.h:
2008
2009 2018-01-29  Jiewen Tan  <jiewen_tan@apple.com>
2010
2011         [WebAuthN] Add a compile-time feature flag
2012         https://bugs.webkit.org/show_bug.cgi?id=182211
2013         <rdar://problem/36936365>
2014
2015         Reviewed by Brent Fulgham.
2016
2017         * Configurations/FeatureDefines.xcconfig:
2018
2019 2018-01-27  Dan Bernstein  <mitz@apple.com>
2020
2021         HaveInternalSDK includes should be "#include?"
2022         https://bugs.webkit.org/show_bug.cgi?id=179670
2023
2024         * Configurations/Base.xcconfig:
2025
2026 2018-01-24  Alex Christensen  <achristensen@webkit.org>
2027
2028         Fix Windows build after r227552
2029         https://bugs.webkit.org/show_bug.cgi?id=182026
2030
2031         * pal/spi/cg/CoreGraphicsSPI.h:
2032
2033 2018-01-24  Alex Christensen  <achristensen@webkit.org>
2034
2035         Remove pre-Sierra-OS-specific code in WebCore
2036         https://bugs.webkit.org/show_bug.cgi?id=182026
2037
2038         Reviewed by Tim Horton.
2039
2040         * pal/spi/cf/CFNetworkSPI.h:
2041         * pal/spi/cg/CoreGraphicsSPI.h:
2042         * pal/spi/cocoa/DataDetectorsCoreSPI.h:
2043         * pal/spi/cocoa/QuartzCoreSPI.h:
2044         * pal/spi/mac/AVFoundationSPI.h:
2045         * pal/spi/mac/NSMenuSPI.h:
2046         * pal/spi/mac/NSScrollingMomentumCalculatorSPI.h:
2047         * pal/spi/mac/PIPSPI.h:
2048
2049 2018-01-23  Dean Jackson  <dino@apple.com>
2050
2051         REGRESSION (r222961?): sRGB images shown in WebGL are over-saturated on a wide gamut monitor
2052         https://bugs.webkit.org/show_bug.cgi?id=182033
2053         <rdar://problem/36377780>
2054
2055         Reviewed by Antoine Quint.
2056
2057         Expose an IOSurface colorspace property name, and a function to serialize a CGColorSpace.
2058
2059         * pal/spi/cg/CoreGraphicsSPI.h:
2060         * pal/spi/cocoa/IOSurfaceSPI.h:
2061
2062 2018-01-23  Michael Catanzaro  <mcatanzaro@igalia.com>
2063
2064         [WPE][GTK] Sleep inhibitors do not work under Flatpak
2065         https://bugs.webkit.org/show_bug.cgi?id=180812
2066
2067         Reviewed by Carlos Garcia Campos.
2068
2069         Ensure SleepDisablerGLib works even when running inside a Flatpak sandbox by using the
2070         Freedesktop inhibit portal D-Bus API.
2071
2072         Unfortunately this has to be tested manually.
2073
2074         * pal/system/glib/SleepDisablerGLib.cpp:
2075         (PAL::SleepDisablerGLib::SleepDisablerGLib):
2076         (PAL::SleepDisablerGLib::~SleepDisablerGLib):
2077         (PAL::SleepDisablerGLib::acquireInhibitor):
2078         (PAL::SleepDisablerGLib::acquireInhibitorViaScreenSaverProxy):
2079         (PAL::SleepDisablerGLib::acquireInhibitorViaInhibitPortalProxy):
2080         (PAL::SleepDisablerGLib::releaseInhibitor):
2081         (PAL::SleepDisablerGLib::releaseInhibitorViaScreenSaverProxy):
2082         (PAL::SleepDisablerGLib::releaseInhibitorViaInhibitPortalProxy):
2083
2084 2018-01-22  Myles C. Maxfield  <mmaxfield@apple.com>
2085
2086         [Cocoa] Support font collections
2087         https://bugs.webkit.org/show_bug.cgi?id=181826
2088         <rdar://problem/36455137>
2089
2090         Reviewed by Dean Jackson.
2091
2092         * pal/spi/cocoa/CoreTextSPI.h:
2093
2094 2018-01-21  Wenson Hsieh  <wenson_hsieh@apple.com>
2095
2096         Add a new feature flag for EXTRA_ZOOM_MODE and reintroduce AdditionalFeatureDefines.h
2097         https://bugs.webkit.org/show_bug.cgi?id=181918
2098
2099         Reviewed by Tim Horton.
2100
2101         Add EXTRA_ZOOM_MODE to FeatureDefines.xconfig (off by default).
2102
2103         * Configurations/FeatureDefines.xcconfig:
2104
2105 2018-01-18  Dan Bernstein  <mitz@apple.com>
2106
2107         [Xcode] Streamline and future-proof target-macOS-version-dependent build setting definitions
2108         https://bugs.webkit.org/show_bug.cgi?id=181803
2109
2110         Reviewed by Tim Horton.
2111
2112         * Configurations/Base.xcconfig: Updated.
2113         * Configurations/DebugRelease.xcconfig: Ditto.
2114         * Configurations/FeatureDefines.xcconfig: Adopted macOSTargetConditionals helpers.
2115         * Configurations/Version.xcconfig: Updated.
2116         * Configurations/macOSTargetConditionals.xcconfig: Added. Defines helper build settings
2117           useful for defining settings that depend on the target macOS version.
2118
2119 2018-01-17  John Wilander  <wilander@apple.com>
2120
2121         Resource Load Statistics: Block cookies for prevalent resources without user interaction
2122         https://bugs.webkit.org/show_bug.cgi?id=177394
2123         <rdar://problem/34613960>
2124
2125         Reviewed by Alex Christensen.
2126
2127         * pal/spi/cf/CFNetworkSPI.h:
2128             Declaration of _initWithIdentifier() on NSHTTPCookieStorage.
2129
2130 2018-01-17  Matt Lewis  <jlewis3@apple.com>
2131
2132         Unreviewed, rolling out r227098.
2133
2134         This broke the build.
2135
2136         Reverted changeset:
2137
2138         "Remove linked-on test for Snow Leopard"
2139         https://bugs.webkit.org/show_bug.cgi?id=181770
2140         https://trac.webkit.org/changeset/227098
2141
2142 2018-01-17  Dean Jackson  <dino@apple.com>
2143
2144         Remove linked-on test for Snow Leopard
2145         https://bugs.webkit.org/show_bug.cgi?id=181770
2146
2147         Reviewed by Eric Carlson.
2148
2149         No need for _CFExecutableLinkedOnOrAfter any more.
2150
2151         * pal/spi/cf/CFUtilitiesSPI.h:
2152
2153 2018-01-17  Matt Lewis  <jlewis3@apple.com>
2154
2155         Unreviewed, rolling out r227076.
2156
2157         This breaks internal builds
2158
2159         Reverted changeset:
2160
2161         "Resource Load Statistics: Block cookies for prevalent
2162         resources without user interaction"
2163         https://bugs.webkit.org/show_bug.cgi?id=177394
2164         https://trac.webkit.org/changeset/227076
2165
2166 2018-01-17  John Wilander  <wilander@apple.com>
2167
2168         Resource Load Statistics: Block cookies for prevalent resources without user interaction
2169         https://bugs.webkit.org/show_bug.cgi?id=177394
2170         <rdar://problem/34613960>
2171
2172         Reviewed by Alex Christensen.
2173
2174         * pal/spi/cf/CFNetworkSPI.h:
2175             Declaration of _initWithIdentifier() on NSHTTPCookieStorage.
2176
2177 2018-01-16  Michael Catanzaro  <mcatanzaro@igalia.com>
2178
2179         PAL should link to JavaScriptCore rather than WTF
2180         https://bugs.webkit.org/show_bug.cgi?id=181683
2181
2182         Reviewed by Konstantin Tokarev.
2183
2184         Currently we are accidentally linking WTF into both libjavascriptcoregtk and libwebkit2gtk,
2185         which could in theory cause problems similar to bug #179914. There are only two possible
2186         solutions:
2187
2188          - Ensure WTF always built as a shared library if JavaScriptCore is built as a shared
2189            library
2190          - Change PAL to link to JavaScriptCore instead of WTF
2191
2192         The problem here is caused by layer hopping. It can never be a problem if each library only
2193         links to the next lowest-layered library.
2194
2195         The downside is this allows PAL to use JavaScriptCore symbols, which is not super desirable.
2196         I came up with a hack yesterday for PAL to link to WTF usually, but link to JavaScriptCore
2197         instead if ${JavaScriptCore_LIBRARY_TYPE} MATCHES "SHARED" AND ${WTF_LIBRARY_TYPE} MATCHES
2198         "STATIC". But that is getting too complex and introduces more possibility for platform-
2199         dependent build failures. Better to just accept that PAL will depend on JavaScriptCore.
2200
2201         Note: I'm not brave enough to update the XCode build. We can use that to enforce that no
2202         JavaScriptCore symbols actually get used, I guess....
2203
2204         * pal/CMakeLists.txt:
2205
2206 2018-01-15  Michael Catanzaro  <mcatanzaro@igalia.com>
2207
2208         Improve use of ExportMacros
2209         https://bugs.webkit.org/show_bug.cgi?id=181652
2210
2211         Reviewed by Konstantin Tokarev.
2212
2213         Remove a comment.
2214
2215         * pal/ExportMacros.h:
2216
2217 2018-01-11  Keith Miller  <keith_miller@apple.com>
2218
2219         Rename ENABLE_ASYNC_ITERATION to ENABLE_JS_ASYNC_ITERATION
2220         https://bugs.webkit.org/show_bug.cgi?id=181573
2221
2222         Reviewed by Simon Fraser.
2223
2224         * Configurations/FeatureDefines.xcconfig:
2225
2226 2018-01-10  Per Arne Vollan  <pvollan@apple.com>
2227
2228         VoiceOver does not work when the WebContent process is using NSRunLoop.
2229         https://bugs.webkit.org/show_bug.cgi?id=181331
2230         <rdar://problem/36408004>
2231
2232         Reviewed by Brent Fulgham.
2233
2234         Add NSApplication class method to initialize accessibility.
2235
2236         * pal/spi/mac/NSApplicationSPI.h:
2237
2238 2018-01-05  Eric Carlson  <eric.carlson@apple.com>
2239
2240         [MediaStream] Add Mac screen capture source
2241         https://bugs.webkit.org/show_bug.cgi?id=181333
2242         <rdar://problem/36323219>
2243
2244         Reviewed by Dean Jackson.
2245
2246         * pal/spi/cg/CoreGraphicsSPI.h: Declare some CGDisplayMode SPI.
2247
2248 2018-01-03  Ting-Wei Lan  <lantw44@gmail.com>
2249
2250         Replace hard-coded paths in shebangs with #!/usr/bin/env
2251         https://bugs.webkit.org/show_bug.cgi?id=181040
2252
2253         Reviewed by Alex Christensen.
2254
2255         * AVFoundationSupport.py:
2256
2257 2018-01-03  Per Arne Vollan  <pvollan@apple.com>
2258
2259         [Win] WebKitLegacy compile error.
2260         https://bugs.webkit.org/show_bug.cgi?id=181257
2261         rdar://problem/36273774
2262
2263         Reviewed by Alex Christensen.
2264
2265         The include file 'pal/text/UnencodableHandling.h' is not found. Add folder to list of forwarding
2266         headers directories.
2267  
2268         * pal/PlatformWin.cmake:
2269
2270 2018-01-02  Brent Fulgham  <bfulgham@apple.com>
2271
2272         [macOS, iOS] Adopt new secure coding APIs in WebKit
2273         https://bugs.webkit.org/show_bug.cgi?id=181085
2274         <rdar://problem/34837397>
2275
2276         Reviewed by Tim Horton.
2277
2278         Add a new helper function to allow WebKit code to use NSSecureCoding in more
2279         places when the underlying operating system supports it.
2280
2281         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
2282         (decodeObjectOfClassForKeyFromCoder): New wrapper method.
2283
2284 2017-12-21  Brent Fulgham  <bfulgham@apple.com>
2285
2286         Unreviewed test fix after r226224.
2287         <rdar://problem/36185975>
2288
2289         Pasteboard data is more than a dictionary. We have to whitelist NSString
2290         and NSArray as well. Change method name to reflect that we take a whitelist
2291         of classes that are allowed to be unarchived in the call.
2292         
2293         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
2294         (unarchivedObjectOfClassesFromData):
2295         (unarchivedObjectOfClassFromData): Deleted.
2296
2297 2017-12-21  Jeremy Jones  <jeremyj@apple.com>
2298
2299         Update FULLSCREEN_API feature defines.
2300         https://bugs.webkit.org/show_bug.cgi?id=181015
2301
2302         Reviewed by Tim Horton.
2303
2304         Change enabled iphone sdk for FULLSCREEN_API.
2305
2306         * Configurations/FeatureDefines.xcconfig:
2307
2308 2017-12-21  Brent Fulgham  <bfulgham@apple.com>
2309
2310         Adopt new secure coding APIs in WebCore
2311         https://bugs.webkit.org/show_bug.cgi?id=178484
2312         <rdar://problem/34837193>
2313
2314         Reviewed by Eric Carlson.
2315
2316         Due to <rdar://problem/31376830 we cannot used SecureCoding on NSAttributedString
2317         in some cases. Add a macro for OS revisions that do not support secure coding,
2318         and use the standard unarchive operation for NSAttributedString in those cases.
2319
2320         Rename 'insecurelyUnarchiveObjectOfClassFromData' to 'insecurelyUnarchiveObjectFromData',
2321         and move it earlier in the file so that it can be reused in 'unarchivedObjectOfClassFromData'.
2322
2323         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
2324         (insecurelyUnarchiveObjectFromData): Renamed from insecurelyUnarchiveObjectOfClassFromData.
2325         (unarchivedObjectOfClassFromData): Renamed from 'securelyUnarchiveObjectOfClassFromData' and
2326         modified to use 'insecurelyUnarchiveObjectFromData'.
2327         (securelyUnarchiveObjectOfClassFromData): Deleted.
2328         (insecurelyUnarchiveObjectOfClassFromData): Deleted.
2329
2330 2017-12-21  Jeremy Jones  <jeremyj@apple.com>
2331
2332         Element fullscreen interface should display the location
2333         https://bugs.webkit.org/show_bug.cgi?id=181006
2334         rdar://problem/36143176
2335
2336         Reviewed by Simon Fraser.
2337
2338         Add iOS availability check.
2339
2340         * pal/spi/cocoa/LinkPresentationSPI.h:
2341
2342 2017-12-20  Daniel Bates  <dabates@apple.com>
2343
2344         Remove Alternative Presentation Button
2345         https://bugs.webkit.org/show_bug.cgi?id=180500
2346         <rdar://problem/35891047>
2347
2348         Reviewed by Simon Fraser.
2349
2350         We no longer need the alternative presentation button.
2351
2352         * Configurations/FeatureDefines.xcconfig:
2353
2354 2017-12-20  Andy Estes  <aestes@apple.com>
2355
2356         [Apple Pay] Tell PassKit whether Apple Pay JS or Payment Request was used to start an Apple Pay session
2357         https://bugs.webkit.org/show_bug.cgi?id=181001
2358         <rdar://problem/35479106>
2359
2360         Reviewed by Tim Horton.
2361
2362         * pal/spi/cocoa/PassKitSPI.h:
2363
2364 2017-12-19  Andy Estes  <aestes@apple.com>
2365
2366         [Apple Pay] Stop maintaining a list of payment networks
2367         https://bugs.webkit.org/show_bug.cgi?id=180965
2368         <rdar://problem/34696560>
2369
2370         Reviewed by Tim Horton.
2371
2372         * pal/spi/cocoa/PassKitSPI.h: Defined +[PKPaymentRequest availableNetworks].
2373
2374 2017-12-14  David Kilzer  <ddkilzer@apple.com>
2375
2376         Fix 32-bit build: Enable -Wstrict-prototypes for WebKit
2377         <https://webkit.org/b/180757>
2378         <rdar://problem/36024132>
2379
2380         * pal/spi/mac/QuickDrawSPI.h:
2381         (NewRgn): Add 'void' to C function declaration.
2382         (PenNormal): Ditto.
2383
2384 2017-12-14  David Kilzer  <ddkilzer@apple.com>
2385
2386         Enable -Wstrict-prototypes for WebKit
2387         <https://webkit.org/b/180757>
2388         <rdar://problem/36024132>
2389
2390         Rubber-stamped by Joseph Pecoraro.
2391
2392         * Configurations/Base.xcconfig:
2393         (CLANG_WARN_STRICT_PROTOTYPES): Add. Set to YES.
2394
2395 2017-12-11  Joseph Pecoraro  <pecoraro@apple.com>
2396
2397         Unreviewed build fix after r225766.
2398
2399         * pal/spi/mac/AVFoundationSPI.h:
2400         Conform AVStreamDataParser to the AVContentKeyRecipient protocol if available.
2401
2402 2017-12-11  David Quesada  <david_quesada@apple.com>
2403
2404         Turn on ENABLE_APPLICATION_MANIFEST
2405         https://bugs.webkit.org/show_bug.cgi?id=180562
2406         rdar://problem/35924737
2407
2408         Reviewed by Geoffrey Garen.
2409
2410         * Configurations/FeatureDefines.xcconfig:
2411
2412 2017-12-08  Konstantin Tokarev  <annulen@yandex.ru>
2413
2414         [python] Replace print operator with print() function for python3 compatibility
2415         https://bugs.webkit.org/show_bug.cgi?id=180592
2416
2417         Reviewed by Michael Catanzaro.
2418
2419         * AVFoundationSupport.py:
2420
2421 2017-12-08  Eric Carlson  <eric.carlson@apple.com>
2422
2423         Move Logger from PAL to WTF so it can be used outside of WebCore
2424         https://bugs.webkit.org/show_bug.cgi?id=180561
2425
2426         Reviewed by Alex Christensen.
2427
2428         * PAL.xcodeproj/project.pbxproj:
2429         * pal/Logger.h: Removed.
2430         * pal/LoggerHelper.h: Removed.
2431
2432 2017-12-07  Myles C. Maxfield  <mmaxfield@apple.com>
2433
2434         [Cocoa] Add SPI to disallow user-installed fonts
2435         https://bugs.webkit.org/show_bug.cgi?id=180062
2436         <rdar://problem/35042408>
2437
2438         Reviewed by Simon Fraser.
2439
2440         * pal/spi/cocoa/CoreTextSPI.h:
2441
2442 2017-12-02  Darin Adler  <darin@apple.com>
2443
2444         Modernize some aspects of text codecs, eliminate WebKit use of strcasecmp
2445         https://bugs.webkit.org/show_bug.cgi?id=180009
2446
2447         Reviewed by Alex Christensen.
2448
2449         * PAL.xcodeproj/project.pbxproj: Added UnencodableHandling.h.
2450         * pal/text/UnencodableHandling.h: Moved the UnencodableHandling enumeration
2451         here from TextCodec.h and changed it to an enum class.
2452
2453 2017-12-04  David Quesada  <david_quesada@apple.com>
2454
2455         Add a class for parsing application manifests
2456         https://bugs.webkit.org/show_bug.cgi?id=177973
2457         rdar://problem/34747949
2458
2459         Reviewed by Geoffrey Garen.
2460
2461         * Configurations/FeatureDefines.xcconfig: Add ENABLE_APPLICATION_MANIFEST feature flag.
2462
2463 2017-12-04  Zan Dobersek  <zdobersek@igalia.com>
2464
2465         Unreviewed WPE build fix.
2466
2467         * pal/PlatformWPE.cmake: Use GLIB_INCLUDE_DIRS for building the PAL library.
2468
2469 2017-12-04  Michael Catanzaro  <mcatanzaro@igalia.com>
2470
2471         [WPE][GTK] Implement PAL::SleepDisabler
2472         https://bugs.webkit.org/show_bug.cgi?id=178485
2473
2474         Reviewed by Carlos Garcia Campos.
2475
2476         * pal/PlatformGTK.cmake:
2477         * pal/PlatformWPE.cmake:
2478         * pal/system/SleepDisabler.cpp:
2479         * pal/system/glib/SleepDisablerGLib.cpp: Added.
2480         (PAL::SleepDisabler::create):
2481         (PAL::SleepDisablerGLib::SleepDisablerGLib):
2482         (PAL::SleepDisablerGLib::~SleepDisablerGLib):
2483         (PAL::SleepDisablerGLib::acquireInhibitor):
2484         (PAL::SleepDisablerGLib::releaseInhibitor):
2485         * pal/system/glib/SleepDisablerGLib.h: Added.
2486
2487 2017-11-30  Stephan Szabo  <stephan.szabo@sony.com>
2488
2489         Make LegacyCustomProtocolManager optional for network process
2490         https://bugs.webkit.org/show_bug.cgi?id=176230
2491
2492         Reviewed by Alex Christensen.
2493
2494         * Configurations/FeatureDefines.xcconfig:
2495
2496 2017-11-29  Brent Fulgham  <bfulgham@apple.com>
2497
2498         Part 2: Adopt updated NSKeyed[Un]Archiver API when available
2499         https://bugs.webkit.org/show_bug.cgi?id=180127
2500         <rdar://problem/35710738>
2501
2502         Reviewed by Simon Fraser.
2503
2504         The API that accepts a user-allocated NSMutableData is deprecated. Switch (for macOS 10.12 and newer)
2505         to the modern API. Use the original API for macOS builds prior to 10.12.
2506
2507         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
2508         (secureArchiver): Added.
2509         (secureArchiverFromMutableData): Deleted.
2510
2511 2017-11-29  Alex Christensen  <achristensen@webkit.org>
2512
2513         Fix Mac CMake build.
2514
2515         * pal/PlatformMac.cmake:
2516
2517 2017-11-28  Brent Fulgham  <bfulgham@apple.com>
2518
2519         Adopt updated NSKeyed[Un]Archiver API when available
2520         https://bugs.webkit.org/show_bug.cgi?id=180127
2521         <rdar://problem/35710738>
2522
2523         Reviewed by Alex Christensen.
2524
2525         Add new convenience methods (and SPI headers) so we can adopt new NSKeyedArchiver
2526         API that uses secure coding by default.
2527
2528         * PAL.xcodeproj/project.pbxproj:
2529         * pal/spi/cocoa/NSKeyedArchiverSPI.h: Added.
2530         (securelyArchivedDataWithRootObject): New convenience method.
2531         (securelyUnarchiveRootObjectOfClassFromData): Ditto.
2532         (secureArchiverFromMutableData): Ditto.
2533         (secureUnarchiverFromData): Ditto.
2534
2535 2017-11-28  Tim Horton  <timothy_horton@apple.com>
2536
2537         REGRESSION (High Sierra): Layout Test fast/multicol/newmulticol/spanner2.html is a flaky image failure on WK1
2538         https://bugs.webkit.org/show_bug.cgi?id=177826
2539         <rdar://problem/34876498>
2540
2541         Reviewed by Alexey Proskuryakov.
2542
2543         * pal/spi/cg/CoreGraphicsSPI.h:
2544
2545 2017-11-27  Tim Horton  <timothy_horton@apple.com>
2546
2547         One too many zeroes in macOS version number in FeatureDefines
2548         https://bugs.webkit.org/show_bug.cgi?id=180011
2549
2550         Reviewed by Dan Bernstein.
2551
2552         * Configurations/FeatureDefines.xcconfig:
2553
2554 2017-11-19  Tim Horton  <timothy_horton@apple.com>
2555
2556         Remove unused TOUCH_ICON_LOADING feature flag
2557         https://bugs.webkit.org/show_bug.cgi?id=179873
2558
2559         Reviewed by Simon Fraser.
2560
2561         * Configurations/FeatureDefines.xcconfig:
2562
2563 2017-11-19  Tim Horton  <timothy_horton@apple.com>
2564
2565         Remove unused LEGACY_VENDOR_PREFIXES feature flag
2566         https://bugs.webkit.org/show_bug.cgi?id=179872
2567
2568         Reviewed by Darin Adler.
2569
2570         * Configurations/FeatureDefines.xcconfig:
2571
2572 2017-11-16  Daniel Bates  <dabates@apple.com>
2573
2574         Add feature define for alternative presentation button element
2575         https://bugs.webkit.org/show_bug.cgi?id=179692
2576         Part of <rdar://problem/34917108>
2577
2578         Reviewed by Andy Estes.
2579
2580         Only enabled on Cocoa platforms by default.
2581
2582         * Configurations/FeatureDefines.xcconfig:
2583
2584 2017-11-14  Daniel Bates  <dabates@apple.com>
2585
2586         Update comment in FeatureDefines.xcconfig to reflect location of Visual Studio property files
2587         for feature defines
2588
2589         Following r195498 and r201917 the Visual Studio property files for feature defines have
2590         moved from directory WebKitLibraries/win/tools/vsprops to directory Source/cmake/tools/vsprops.
2591         Update the comment in FeatureDefines.xcconfig to reflect the new location and names of these
2592         files.
2593
2594         * Configurations/FeatureDefines.xcconfig:
2595
2596 2017-11-08  Keith Miller  <keith_miller@apple.com>
2597
2598         Async iteration should only fetch the next method once and add feature flag
2599         https://bugs.webkit.org/show_bug.cgi?id=179451
2600
2601         Reviewed by Geoffrey Garen.
2602
2603         Add feature flag for Async iteration.
2604
2605         * Configurations/FeatureDefines.xcconfig:
2606
2607 2017-11-10  John Wilander  <wilander@apple.com>
2608
2609         Ignore HSTS for partitioned, cross-origin subresource requests
2610         https://bugs.webkit.org/show_bug.cgi?id=178993
2611         <rdar://problem/34962462>
2612
2613         Reviewed by Brent Fulgham.
2614
2615         * pal/spi/cf/CFNetworkSPI.h:
2616             Added
2617             - (BOOL)_schemeWasUpgradedDueToDynamicHSTS
2618             - (BOOL)_preventHSTSStorage
2619             - (BOOL)_ignoreHSTS
2620             - (void)_setPreventHSTSStorage:(BOOL)preventHSTSStorage
2621             - (void)_setIgnoreHSTS:(BOOL)ignoreHSTS
2622
2623
2624 2017-11-09  Dan Bernstein  <mitz@apple.com>
2625
2626         [Xcode] An extra copy of FileSizeFormatter.h is installed in /usr/local/include
2627         https://bugs.webkit.org/show_bug.cgi?id=179525
2628
2629         Reviewed by Wenson Hsieh.
2630
2631         * PAL.xcodeproj/project.pbxproj: Demoted FileSizeFormatter.h to a project header in the PAL target. The
2632           Copy PAL Headers target takes care of installing this header under /usr/local/include/pal.
2633
2634 2017-11-09  Chris Dumez  <cdumez@apple.com>
2635
2636         Unreviewed, rolling out r224661.
2637
2638         Broke build on several internal Mac/iOS bots
2639
2640         Reverted changeset:
2641
2642         "Ignore HSTS for partitioned, cross-origin subresource
2643         requests"
2644         https://bugs.webkit.org/show_bug.cgi?id=178993
2645         https://trac.webkit.org/changeset/224661
2646
2647 2017-11-09  John Wilander  <wilander@apple.com>
2648
2649         Ignore HSTS for partitioned, cross-origin subresource requests
2650         https://bugs.webkit.org/show_bug.cgi?id=178993
2651         <rdar://problem/34962462>
2652
2653         Reviewed by Brent Fulgham.
2654
2655         * pal/spi/cf/CFNetworkSPI.h:
2656             Added
2657             - (BOOL)_schemeWasUpgradedDueToDynamicHSTS
2658             - (BOOL)_preventHSTSStorage
2659             - (BOOL)_ignoreHSTS
2660             - (void)_setPreventHSTSStorage:(BOOL)preventHSTSStorage
2661             - (void)_setIgnoreHSTS:(BOOL)ignoreHSTS
2662
2663
2664 2017-11-08  Jeremy Jones  <jeremyj@apple.com>
2665
2666         HTMLMediaElement should not use element fullscreen on iOS
2667         https://bugs.webkit.org/show_bug.cgi?id=179418
2668         rdar://problem/35409277
2669
2670         Reviewed by Eric Carlson.
2671
2672         Add ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN to determine if HTMLMediaElement should use element full screen or not.
2673
2674         * Configurations/FeatureDefines.xcconfig:
2675
2676 2017-11-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
2677
2678         [CG] Adopt CGContextDrawPathDirect()
2679         https://bugs.webkit.org/show_bug.cgi?id=179339
2680         <rdar://problem/26283575>
2681
2682         Reviewed by Simon Fraser.
2683
2684         Add CGContextDrawPathDirect() as a new CoreGraphics SPI.
2685
2686         * pal/spi/cg/CoreGraphicsSPI.h:
2687
2688 2017-11-02  Ryan Haddad  <ryanhaddad@apple.com>
2689
2690         Unreviewed, rolling out r224353.
2691
2692         Breaks internal builds.
2693
2694         Reverted changeset:
2695
2696         "Ignore HSTS for partitioned, cross-origin subresource
2697         requests"
2698         https://bugs.webkit.org/show_bug.cgi?id=178993
2699         https://trac.webkit.org/changeset/224353
2700
2701 2017-11-02  John Wilander  <wilander@apple.com>
2702
2703         Ignore HSTS for partitioned, cross-origin subresource requests
2704         https://bugs.webkit.org/show_bug.cgi?id=178993
2705         <rdar://problem/34962462>
2706
2707         Reviewed by Brent Fulgham and Alex Christensen.
2708
2709         * pal/spi/cf/CFNetworkSPI.h:
2710             Added
2711             - (BOOL)_schemeWasUpgradedDueToDynamicHSTS
2712             - (BOOL)_preventHSTSStorage
2713             - (BOOL)_ignoreHSTS
2714             - (void)_setPreventHSTSStorage:(BOOL)preventHSTSStorage
2715             - (void)_setIgnoreHSTS:(BOOL)ignoreHSTS
2716
2717 2017-11-02  Frederic Wang  <fwang@igalia.com>
2718
2719         Add references to bug 179167 in FIXME comments
2720         https://bugs.webkit.org/show_bug.cgi?id=179168
2721
2722         Reviewed by Daniel Bates.
2723
2724         * Configurations/FeatureDefines.xcconfig:
2725
2726 2017-11-01  Jeremy Jones  <jeremyj@apple.com>
2727
2728         Implement WKFullscreenWindowController for iOS.
2729         https://bugs.webkit.org/show_bug.cgi?id=178924
2730         rdar://problem/34697120
2731
2732         Reviewed by Simon Fraser.
2733
2734         Enable ENABLE_FULLSCREEN_API for iOS;
2735
2736         * Configurations/FeatureDefines.xcconfig:
2737
2738 2017-11-01  Daniel Bates  <dabates@apple.com>
2739
2740         XMLHttpRequest should not sniff content encoding
2741         https://bugs.webkit.org/show_bug.cgi?id=175597
2742         <rdar://problem/34912624>
2743
2744         Reviewed by Alex Christensen.
2745
2746         Forward declare CFNetwork SPI.
2747
2748         * pal/spi/cf/CFNetworkSPI.h:
2749
2750 2017-10-31  Tim Horton  <timothy_horton@apple.com>
2751
2752         Clean up some drag and drop feature flags
2753         https://bugs.webkit.org/show_bug.cgi?id=179082
2754
2755         Reviewed by Simon Fraser.
2756
2757         * Configurations/FeatureDefines.xcconfig:
2758
2759 2017-10-31  Tim Horton  <timothy_horton@apple.com>
2760
2761         Fix up some content filtering feature flags
2762         https://bugs.webkit.org/show_bug.cgi?id=179079
2763
2764         Reviewed by Simon Fraser.
2765
2766         * Configurations/FeatureDefines.xcconfig:
2767
2768 2017-10-31  Wenson Hsieh  <wenson_hsieh@apple.com>
2769
2770         [Attachment Support] Implement WKWebView SPI for inserting attachment elements
2771         https://bugs.webkit.org/show_bug.cgi?id=179013
2772         <rdar://problem/35249668>
2773
2774         Reviewed by Tim Horton.
2775
2776         Add a PAL library function to convert a file size to a human-readable string. On Cocoa platforms, this is a
2777         wrapper around NSLocalizedFileSizeDescription; otherwise, we fall back to a naive platform-agnostic
2778         implementation in FileSizeFormatter.cpp.
2779
2780         * PAL.xcodeproj/project.pbxproj:
2781         * pal/CMakeLists.txt:
2782         * pal/FileSizeFormatter.cpp: Added.
2783         (fileSizeDescription):
2784         * pal/FileSizeFormatter.h: Added.
2785         * pal/cocoa/FileSizeFormatterCocoa.mm: Added.
2786         (fileSizeDescription):
2787         * pal/spi/cocoa/NSFileSizeFormatterSPI.h: Added.
2788
2789 2017-10-27  Keith Miller  <keith_miller@apple.com>
2790
2791         Move iOS specific sources to unified sources
2792         https://bugs.webkit.org/show_bug.cgi?id=178915
2793
2794         Rubber-stamped by Tim Horton.
2795
2796         * pal/spi/cocoa/QuartzCoreSPI.h: Add missing pragma once.
2797
2798 2017-10-26  Ryan Haddad  <ryanhaddad@apple.com>
2799
2800         Unreviewed, rolling out r223908.
2801
2802         Causes LayoutTest crashes with newer SDKs.
2803
2804         Reverted changeset:
2805
2806         "Adopt new secure coding APIs"
2807         https://bugs.webkit.org/show_bug.cgi?id=178484
2808         https://trac.webkit.org/changeset/223908
2809
2810 2017-10-24  Eric Carlson  <eric.carlson@apple.com>
2811
2812         Web Inspector: Enable WebKit logging configuration and display
2813         https://bugs.webkit.org/show_bug.cgi?id=177027
2814         <rdar://problem/33964767>
2815
2816         Reviewed by Joseph Pecoraro.
2817
2818         * pal/Logger.h:
2819         (PAL::Logger::willLog const): Always return true for Always and Error so those messages are
2820             always logged to the system.
2821         (PAL::Logger::log): Always log Always and Error to the system, but pay strict attention to level
2822             and channel state for logging to observers so logging only shows up in the inspector when
2823             explicitly enabled by the user. 
2824
2825 2017-10-24  Brent Fulgham  <bfulgham@apple.com>
2826
2827         Adopt new secure coding APIs
2828         https://bugs.webkit.org/show_bug.cgi?id=178484
2829         <rdar://problem/34837193>
2830
2831         Reviewed by Tim Horton.
2832
2833         Add new convenience methods (and SPI headers) so we can adopt new NSKeyedArchiver
2834         API that uses secure coding by default.
2835
2836         * PAL.xcodeproj/project.pbxproj:
2837         * pal/spi/cocoa/NSKeyedArchiverSPI.h: Added.
2838         (securelyArchivedDataWithRootObject): New convenience method.
2839         (securelyUnarchiveRootObjectOfClassFromData): Ditto.
2840         (secureArchiverFromMutableData): Ditto.
2841         (secureUnarchiverFromData): Ditto.
2842
2843 2017-10-24  Matt Lewis  <jlewis3@apple.com>
2844
2845         Unreviewed, rolling out r223889.
2846
2847         This caused multiple crashes on all platforms
2848
2849         Reverted changeset:
2850
2851         "Adopt new secure coding APIs"
2852         https://bugs.webkit.org/show_bug.cgi?id=178484
2853         https://trac.webkit.org/changeset/223889
2854
2855 2017-10-24  Brent Fulgham  <bfulgham@apple.com>
2856
2857         Adopt new secure coding APIs
2858         https://bugs.webkit.org/show_bug.cgi?id=178484
2859         <rdar://problem/34837193>
2860
2861         Reviewed by Tim Horton.
2862
2863         Add new convenience methods (and SPI headers) so we can adopt new NSKeyedArchiver
2864         API that uses secure coding by default.
2865
2866         * PAL.xcodeproj/project.pbxproj:
2867         * pal/spi/cocoa/NSKeyedArchiverSPI.h: Added.
2868         (securelyArchivedDataWithRootObject): New convenience method.
2869         (securelyUnarchiveRootObjectOfClassFromData): Ditto.
2870         (secureArchiverFromMutableData): Ditto.
2871         (secureUnarchiverFromData): Ditto.
2872
2873 2017-10-20  Alex Christensen  <achristensen@webkit.org>
2874
2875         Expose _boundInterfaceIdentifier and _allowsCellularAccess to WKWebsiteDataStorePrivate
2876         https://bugs.webkit.org/show_bug.cgi?id=178418
2877         <rdar://problem/29599569>
2878
2879         Reviewed by Tim Horton.
2880
2881         * pal/spi/cf/CFNetworkSPI.h:
2882
2883 2017-10-20  Antoine Quint  <graouts@apple.com>
2884
2885         [Web Animations] Provide basic timeline and animation interfaces
2886         https://bugs.webkit.org/show_bug.cgi?id=178526
2887
2888         Reviewed by Dean Jackson.
2889
2890         Remove the WEB_ANIMATIONS compile-time flag.
2891
2892         * Configurations/FeatureDefines.xcconfig:
2893
2894 2017-10-19  Daniel Bates  <dabates@apple.com>
2895
2896         Use "= default" to denote default constructor or destructor
2897         https://bugs.webkit.org/show_bug.cgi?id=178528
2898
2899         Rubber-stamped by Andy Estes.
2900
2901         * pal/Logger.h:
2902         (PAL::Logger::Observer::~Observer): Deleted.
2903         * pal/crypto/gcrypt/CryptoDigestGCrypt.cpp:
2904         * pal/system/SleepDisabler.cpp:
2905         * pal/system/SystemSleepListener.h:
2906
2907 2017-10-17  Keith Miller  <keith_miller@apple.com>
2908
2909         Change WebCore sources to work with unified source builds
2910         https://bugs.webkit.org/show_bug.cgi?id=178229
2911
2912         Rubber stamped by Tim Horton.
2913
2914         Move soft linking code from WebCore to PAL.
2915
2916         * Configurations/FeatureDefines.xcconfig:
2917         * pal/cf/CoreMediaSoftLink.cpp:
2918         * pal/cf/CoreMediaSoftLink.h:
2919         * pal/spi/cocoa/NSAttributedStringSPI.h:
2920
2921 2017-10-13  Adrian Perez de Castro  <aperez@igalia.com>
2922
2923         [WPE][GTK] Provide an implementation of PAL::logLevelString()
2924         https://bugs.webkit.org/show_bug.cgi?id=178263
2925
2926         Reviewed by Carlos Alberto Lopez Perez.
2927
2928         Provide an implementation of PAL::logLevelString() which picks the value from the
2929         WEBCORE_DEBUG environment variable. Logging of notImplemented() calls is always enabled,
2930         which is the same behavior as in WebCore::logLevelString().
2931
2932         * pal/PlatformGTK.cmake: Add LoggingUnix.cpp to the list of sources.
2933         * pal/PlatformWPE.cmake: Add LoggingUnix.cpp to the list of sources.
2934         * pal/unix/LoggingUnix.cpp: Added.
2935         (PAL::logLevelString):
2936
2937 2017-10-13  Jer Noble  <jer.noble@apple.com>
2938
2939         Unreviewed build fix; add definitions for IOSurface methods missing on some platforms.
2940
2941         * pal/spi/cocoa/IOSurfaceSPI.h:
2942
2943 2017-10-12  Myles C. Maxfield  <mmaxfield@apple.com>
2944
2945         [Win] Build fix after r223206
2946         https://bugs.webkit.org/show_bug.cgi?id=171523
2947
2948         Unreviewed.
2949
2950         * pal/PlatformWin.cmake:
2951         * pal/win/LoggingWin.cpp: Added.
2952         (PAL::logLevelString):
2953
2954 2017-10-11  Myles C. Maxfield  <mmaxfield@apple.com>
2955
2956         Allow PAL to log messages
2957         https://bugs.webkit.org/show_bug.cgi?id=171523
2958
2959         Reviewed by Alex Christensen.
2960
2961         * PAL.xcodeproj/project.pbxproj:
2962         * pal/CMakeLists.txt:
2963         * pal/LogInitialization.h: Copied from Source/WebCore/platform/LogMacros.h.
2964         * pal/LogMacros.h: Copied from Source/WebCore/platform/LogMacros.h.
2965         * pal/Logging.cpp: Copied from Source/WebCore/platform/Logging.cpp.
2966         (PAL::isLogChannelEnabled):
2967         (PAL::setLogChannelToAccumulate):
2968         (PAL::initializeLogChannelsIfNecessary):
2969         (PAL::registerNotifyCallback):
2970         * pal/Logging.h: Copied from Source/WebCore/platform/LogMacros.h.
2971         * pal/PlatformMac.cmake:
2972         * pal/cocoa/LoggingCocoa.mm: Renamed from Source/WebCore/platform/LogMacros.h.
2973         (PAL::logLevelString):
2974
2975 2017-10-06  Chris Dumez  <cdumez@apple.com>
2976
2977         [Beacon][Cocoa] Beacon requests with BufferSource payload should not have a Content-Type HTTP header
2978         https://bugs.webkit.org/show_bug.cgi?id=178027
2979         <rdar://problem/34748470>
2980
2981         Reviewed by Youenn Fablet.
2982
2983         Add new CFNetwork SPI.
2984
2985         * pal/spi/cf/CFNetworkSPI.h:
2986
2987 2017-10-05  Dean Jackson  <dino@apple.com>
2988
2989         Lots of missing frames in YouTube360 when fullscreen on MacBook
2990         https://bugs.webkit.org/show_bug.cgi?id=177903
2991         <rdar://problem/33273300>
2992
2993         Reviewed by Sam Weinig.
2994
2995         Add reloadValueForKeyPath to replace setContentsChanged on CALayer.
2996
2997         * pal/spi/cocoa/QuartzCoreSPI.h:
2998
2999 2017-10-05  Commit Queue  <commit-queue@webkit.org>
3000
3001         Unreviewed, rolling out r222951 and r222952.
3002         https://bugs.webkit.org/show_bug.cgi?id=177992
3003
3004         "Broke the iOS build and introduced a webgl LayoutTest
3005         failure." (Requested by ryanhaddad on #webkit).
3006
3007         Reverted changesets:
3008
3009         "Lots of missing frames in YouTube360 when fullscreen on
3010         MacBook"
3011         https://bugs.webkit.org/show_bug.cgi?id=177903
3012         http://trac.webkit.org/changeset/222951
3013
3014         "Lots of missing frames in YouTube360 when fullscreen on
3015         MacBook"
3016         https://bugs.webkit.org/show_bug.cgi?id=177903
3017         http://trac.webkit.org/changeset/222952
3018
3019 2017-10-05  Dean Jackson  <dino@apple.com>
3020
3021         Lots of missing frames in YouTube360 when fullscreen on MacBook
3022         https://bugs.webkit.org/show_bug.cgi?id=177903
3023         <rdar://problem/33273300>
3024
3025         Reviewed by Sam Weinig.
3026
3027         Add reloadValueForKeyPath to replace setContentsChanged on CALayer.
3028
3029         * pal/spi/cocoa/QuartzCoreSPI.h:
3030
3031 2017-10-05  Jer Noble  <jer.noble@apple.com>
3032
3033         [Cocoa] Enable ENABLE_ENCRYPTED_MEDIA build-time setting
3034         https://bugs.webkit.org/show_bug.cgi?id=177261
3035
3036         Reviewed by Eric Carlson.
3037
3038         * Configurations/FeatureDefines.xcconfig:
3039
3040 2017-09-28  Ross Kirsling  <ross.kirsling@sony.com>
3041
3042         [PAL] Move HysteresisActivity into PAL
3043         https://bugs.webkit.org/show_bug.cgi?id=177516
3044
3045         Reviewed by Alex Christensen.
3046
3047         * PAL.xcodeproj/project.pbxproj:
3048         * pal/HysteresisActivity.h: Renamed from Source/WebCore/platform/HysteresisActivity.h.
3049
3050 2017-09-28  Chris Dumez  <cdumez@apple.com>
3051
3052         Add support for <link rel=preconnect>
3053         https://bugs.webkit.org/show_bug.cgi?id=177474
3054         <rdar://problem/33141380>
3055
3056         Reviewed by Alex Christensen.
3057
3058         Add new CFNetwork SPI for preconnecting.
3059
3060         * pal/spi/cf/CFNetworkSPI.h:
3061
3062 2017-09-27  Tim Horton  <timothy_horton@apple.com>
3063
3064         Try to fix the Mac CMake build
3065
3066         * pal/PlatformMac.cmake:
3067
3068 2017-09-26  Don Olmstead  <don.olmstead@sony.com>
3069
3070         [PAL][CMake] Include ICU directories
3071         https://bugs.webkit.org/show_bug.cgi?id=177504
3072
3073         Reviewed by Myles C. Maxfield.
3074
3075         * pal/CMakeLists.txt:
3076
3077 2017-09-26  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
3078
3079         [PAL] Move Clock into PAL
3080         https://bugs.webkit.org/show_bug.cgi?id=174342
3081
3082         Reviewed by Myles C. Maxfield.
3083
3084         * PAL.xcodeproj/project.pbxproj:
3085         * pal/PlatformGTK.cmake:
3086         * pal/PlatformWin.cmake:
3087         * pal/system/Clock.h: Renamed from Source/WebCore/platform/Clock.h.
3088         * pal/system/ClockGeneric.cpp: Renamed from Source/WebCore/platform/ClockGeneric.cpp.
3089         (PAL::Clock::create):
3090         * pal/system/ClockGeneric.h: Renamed from Source/WebCore/platform/ClockGeneric.h.
3091         * pal/system/mac/ClockCM.h: Renamed from Source/WebCore/platform/mac/PlatformClockCM.h.
3092         * pal/system/mac/ClockCM.mm: Renamed from Source/WebCore/platform/mac/PlatformClockCM.mm.
3093         (Clock::create):
3094         (ClockCM::ClockCM):
3095         (ClockCM::initializeWithTimingSource):
3096         (ClockCM::setCurrentTime):
3097         (ClockCM::currentTime const):
3098         (ClockCM::setCurrentMediaTime):
3099         (ClockCM::currentMediaTime const):
3100         (ClockCM::setPlayRate):
3101         (ClockCM::start):
3102         (ClockCM::stop):
3103
3104         * pal/cf/CoreMediaSoftLink.cpp:
3105         * pal/cf/CoreMediaSoftLink.h:
3106         Add requrired functions.
3107 2017-09-26  Zan Dobersek  <zdobersek@igalia.com>
3108
3109         [GCrypt] Only report libgcrypt errors when logging is enabled
3110         https://bugs.webkit.org/show_bug.cgi?id=177360
3111
3112         Reviewed by Xabier Rodriguez-Calvar.
3113
3114         * pal/crypto/gcrypt/Utilities.h:
3115         (PAL::GCrypt::logError): Only print out the libgcrypt error on stderr
3116         when logging is enabled at build-time, avoiding unnecessary output in
3117         non-debugging use cases.
3118
3119 2017-09-25  Timothy Horton  <timothy_horton@apple.com>
3120
3121         Make progress on getting Mac CMake building again
3122         https://bugs.webkit.org/show_bug.cgi?id=177443
3123
3124         Unreviewed, just "fixing" the build.
3125
3126         * pal/PlatformMac.cmake:
3127         Add some missing files and include paths.
3128
3129 2017-09-22  Zalan Bujtas  <zalan@apple.com>
3130
3131         WeakPtrFactory should populate m_ref lazily.
3132         https://bugs.webkit.org/show_bug.cgi?id=177375
3133
3134         Reviewed by Geoffrey Garen.
3135
3136         * pal/system/mac/SystemSleepListenerMac.mm:
3137         (PAL::SystemSleepListenerMac::SystemSleepListenerMac):
3138
3139 2017-09-21  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
3140
3141         [PAL] Move MediaTimeAVFoundation into PAL
3142         https://bugs.webkit.org/show_bug.cgi?id=177222
3143
3144         Reviewed by Myles C. Maxfield.
3145
3146         * config.h:
3147         Include PALHeaderDetection.h.
3148         Define AVFOUNDATION-releavant definitions.
3149
3150         * pal/PlatformWin.cmake:
3151         Add PAL dereived sources directory to include paths.
3152
3153         * PAL.xcodeproj/project.pbxproj:
3154         * pal/CMakeLists.txt:
3155         * pal/PlatformAppleWin.cmake:
3156         * pal/avfoundation/MediaTimeAVFoundation.cpp: Renamed from Source/WebCore/platform/graphics/avfoundation/MediaTimeAVFoundation.cpp.
3157         * pal/avfoundation/MediaTimeAVFoundation.h: Renamed from Source/WebCore/platform/graphics/avfoundation/MediaTimeAVFoundation.h.
3158         * pal/cf/CoreMediaSoftLink.cpp: Added.
3159         * pal/cf/CoreMediaSoftLink.h: Added.
3160
3161 2017-09-20  Antti Koivisto  <antti@apple.com>
3162
3163         Remove DOM and styling support for CSS Regions
3164         https://bugs.webkit.org/show_bug.cgi?id=177221
3165
3166         Reviewed by Andreas Kling.
3167
3168         * Configurations/FeatureDefines.xcconfig:
3169
3170 2017-09-18  Andy Estes  <aestes@apple.com>
3171
3172         [Mac] Upstream miscellaneous WebKitSystemInterface functions
3173         https://bugs.webkit.org/show_bug.cgi?id=177029
3174
3175         Reviewed by Alex Christensen.
3176
3177         * PAL.xcodeproj/project.pbxproj:
3178         * pal/PlatformMac.cmake:
3179         * pal/spi/cf/CFUtilitiesSPI.h:
3180         * pal/spi/cocoa/LaunchServicesSPI.h: Renamed from Source/WebCore/PAL/pal/spi/ios/LaunchServicesSPI.h.
3181         * pal/spi/mac/HIServicesSPI.h:
3182         * pal/spi/mac/NSCellSPI.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
3183         * pal/spi/mac/NSMenuSPI.h:
3184         * pal/spi/mac/NSScrollViewSPI.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
3185         * pal/spi/mac/NSScrollerImpSPI.h:
3186         * pal/system/cf/DefaultSearchProvider.cpp: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
3187         (PAL::defaultSearchProviderDisplayName):
3188         * pal/system/cf/DefaultSearchProvider.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
3189         * pal/system/mac/PopupMenu.h: Copied from Source/WebCore/PAL/pal/spi/cf/CFUtilitiesSPI.h.
3190         * pal/system/mac/PopupMenu.mm: Added.
3191         (PAL::popUpMenu):
3192
3193 2017-09-18  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
3194
3195         [Win][PAL] Move WebCoreHeaderDetection.h to PAL
3196         https://bugs.webkit.org/show_bug.cgi?id=176990
3197
3198         Reviewed by Alex Christensen.
3199
3200         * AVFoundationSupport.py: Renamed from Source/WebCore/AVFoundationSupport.py.
3201         (lookFor):
3202         (fileContains):
3203
3204         * pal/PlatformWin.cmake:
3205         Add a custom target PAL_PreBuild to generate PALHeaderDetection.h
3206
3207 2017-09-15  Tim Horton  <timothy_horton@apple.com>
3208
3209         Fix the macOS CMake build
3210         https://bugs.webkit.org/show_bug.cgi?id=177015
3211
3212         Reviewed by Andy Estes.
3213
3214         * pal/PlatformMac.cmake:
3215         Add WebPanel.
3216
3217 2017-09-15  Andy Estes  <aestes@apple.com>
3218
3219         [Cocoa] Upstream MediaRemote and VideoToolbox WebKitSystemInterface functions
3220         https://bugs.webkit.org/show_bug.cgi?id=176953
3221
3222         Reviewed by Eric Carlson.
3223
3224         * pal/spi/mac/AVFoundationSPI.h:
3225         * pal/spi/mac/MediaRemoteSPI.h:
3226
3227 2017-09-15  Eric Carlson  <eric.carlson@apple.com>
3228
3229         Switch text tracks to release logging
3230         https://bugs.webkit.org/show_bug.cgi?id=176809
3231         <rdar://problem/34397605>
3232
3233         Reviewed by Jer Noble.
3234
3235         * pal/Logger.h:
3236         (PAL::LogArgument::toString):
3237         (PAL::Logger::willLog const):
3238
3239 2017-09-14  Dan Bernstein  <mitz@apple.com>
3240
3241         Fixed building with the Apple internal macOS 10.12 SDK.
3242
3243         * pal/spi/cocoa/PassKitSPI.h: Avoid redefining types that are defined in the SDK.
3244
3245 2017-09-14  Andy Estes  <aestes@apple.com>
3246
3247         [Mac] Upstream SpeechSynthesis-related WebKitSystemInterface functions
3248         https://bugs.webkit.org/show_bug.cgi?id=176931
3249
3250         Reviewed by Joseph Pecoraro.
3251
3252         * PAL.xcodeproj/project.pbxproj:
3253         * pal/spi/mac/SpeechSynthesisSPI.h: Added.
3254
3255 2017-09-13  Andy Estes  <aestes@apple.com>
3256
3257         [CF] Upstream CFNetwork-related WebKitSystemInterface functions
3258         https://bugs.webkit.org/show_bug.cgi?id=176729
3259
3260         Reviewed by Alex Christensen.
3261
3262         * pal/spi/cf/CFNetworkSPI.h:
3263
3264 2017-09-12  Myles C. Maxfield  <mmaxfield@apple.com>
3265
3266         Unskip fast/text/system-font-synthetic-italic.html
3267         https://bugs.webkit.org/show_bug.cgi?id=175944
3268
3269         Reviewed by Jon Lee.
3270
3271         * pal/spi/cocoa/CoreTextSPI.h:
3272
3273 2017-09-12  Eric Carlson  <eric.carlson@apple.com>
3274
3275         Switch MediaPlayerPrivateAVFoundation to release logging
3276         https://bugs.webkit.org/show_bug.cgi?id=176621
3277         <rdar://problem/34335311>
3278
3279         Reviewed by Jer Noble.
3280
3281         * pal/Logger.h:
3282         (PAL::LogArgument::toString):
3283         * pal/LoggerHelper.h:
3284
3285 2017-09-11  Andy Estes  <aestes@apple.com>
3286
3287         [Mac] Upstream QTKit-related WebKitSystemInterface functions
3288         https://bugs.webkit.org/show_bug.cgi?id=176472
3289
3290         Reviewed by Eric Carlson.
3291
3292         * pal/spi/mac/QTKitSPI.h:
3293
3294 2017-09-08  Commit Queue  <commit-queue@webkit.org>
3295
3296         Unreviewed, rolling out r221773.
3297         https://bugs.webkit.org/show_bug.cgi?id=176614
3298
3299         This caused build failures. (Requested by mlewis13 on
3300         #webkit).
3301
3302         Reverted changeset:
3303
3304         "[Mac] Upstream QTKit-related WebKitSystemInterface functions"
3305         https://bugs.webkit.org/show_bug.cgi?id=176472
3306         http://trac.webkit.org/changeset/221773
3307
3308 2017-09-07  Andy Estes  <aestes@apple.com>
3309
3310         [Mac] Upstream QTKit-related WebKitSystemInterface functions
3311         https://bugs.webkit.org/show_bug.cgi?id=176472
3312
3313         Reviewed by Eric Carlson.
3314
3315         * pal/spi/mac/QTKitSPI.h:
3316
3317 2017-09-07  Wenson Hsieh  <wenson_hsieh@apple.com>
3318
3319         [Mac] Stop importing NSFunctionBar_Private.h in NSTouchBarSPI.h on the macOS 10.13+ SDK
3320         https://bugs.webkit.org/show_bug.cgi?id=176521
3321         <rdar://problem/34296289>
3322
3323         Reviewed by Andy Estes.
3324
3325         We don't need to import NSFunctionBar_Private.h when building against the macOS 10.13 SDK, or later. Guard this
3326         header import with an SDK version check.
3327
3328         * pal/spi/cocoa/NSTouchBarSPI.h:
3329
3330 2017-09-06  Eric Carlson  <eric.carlson@apple.com>
3331
3332         Require LoggingHelper overrides to provide identifier
3333         https://bugs.webkit.org/show_bug.cgi?id=176477
3334
3335         Reviewed by Jer Noble.
3336
3337         * pal/Logger.h:
3338         (PAL::Logger::LogSiteIdentifier::LogSiteIdentifier):
3339         (PAL::LogArgument<Logger::LogSiteIdentifier>::toString):
3340         (PAL::Logger::notice const): Deleted.
3341         (PAL::Logger::MethodAndPointer::MethodAndPointer): Deleted.
3342         (PAL::LogArgument<Logger::MethodAndPointer>::toString): Deleted.
3343         * pal/LoggerHelper.h:
3344
3345 2017-09-04  Commit Queue  <commit-queue@webkit.org>
3346
3347         Unreviewed, rolling out r221494 and r221500.
3348         https://bugs.webkit.org/show_bug.cgi?id=176258
3349
3350         This caused the windows build to fail. (Requested by mlewis13
3351         on #webkit).
3352
3353         Reverted changesets:
3354
3355         "Switch HTMLMediaElement to release logging"
3356         https://bugs.webkit.org/show_bug.cgi?id=176065
3357         http://trac.webkit.org/changeset/221494
3358
3359         "Switch HTMLMediaElement to release logging"
3360         https://bugs.webkit.org/show_bug.cgi?id=176065
3361         http://trac.webkit.org/changeset/221500
3362
3363 2017-09-03  Zan Dobersek  <zdobersek@igalia.com>
3364
3365         [GTK] Libgcrypt warning: missing initialization - please fix the application
3366         https://bugs.webkit.org/show_bug.cgi?id=171230
3367
3368         Reviewed by Michael Catanzaro.
3369
3370         Add the Initialization.h header, containing the single initialize() static
3371         function that initializes the libgcrypt library. This header only includes
3372         the default libgcrypt header, and nothing else.
3373
3374         It's not added to the existing Utilities.h header because that one pulls in
3375         other unnecessary headers that for instance use the new() operator, but that
3376         collides with the implementation files that define WebKit process entrypoints
3377         and intentionally don't include the config.h that brings in FastMalloc to
3378         properly define the new() and delete() operators, resulting in compilation
3379         errors due to the new and delete operators being defined to warning strings
3380         in always-included WebKit2Prefix.h.
3381
3382         * pal/crypto/gcrypt/Initialization.h: Copied from Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp.
3383         (PAL::GCrypt::initialize):
3384
3385 2017-09-03  Dan Bernstein  <mitz@apple.com>
3386
3387         [Cocoa] Tidy up PassKitSPI.h
3388         https://bugs.webkit.org/show_bug.cgi?id=176323
3389
3390         Reviewed by Darin Adler.
3391
3392         * pal/spi/cocoa/PassKitSPI.h: Moved the declarations of requiredShippingContactFields and
3393           requiredBillingContactFields to where other PKPaymentRequest properties are declared, and
3394           changed the guard to relate to the SDK version. Replaced use of __has_include with checking for
3395           the version of the Apple internal SDK in which the typedefs first appeared.
3396
3397 2017-09-03  Dan Bernstein  <mitz@apple.com>
3398
3399         [Cocoa] Remove use of __has_include in CoreAudioSPI.h
3400         https://bugs.webkit.org/show_bug.cgi?id=176320
3401
3402         Reviewed by Tim Horton.
3403
3404         * pal/spi/cf/CoreAudioSPI.h: AudioHardwarePriv.h is available in all Apple internal SDKs and
3405           only in Apple internal SDKs. AudioHardwareBase.h is available only in the macOS SDK, where
3406           it is included by AudioHardware.h.
3407
3408 2017-09-03  Tim Horton  <timothy_horton@apple.com>
3409
3410         Fix some style issues in the Remote Layer Tree code
3411         https://bugs.webkit.org/show_bug.cgi?id=176298
3412
3413         Reviewed by Dan Bernstein.
3414
3415         * pal/spi/cocoa/QuartzCoreSPI.h:
3416
3417 2017-09-03  Sam Weinig  <sam@webkit.org>
3418
3419         Remove CanvasProxy
3420         https://bugs.webkit.org/show_bug.cgi?id=176288
3421
3422         Reviewed by Yusuke Suzuki.
3423
3424         CanvasProxy does not appear to be in any current HTML spec
3425         and was disabled and unimplemented in our tree. Time to 
3426         get rid of it.
3427
3428         * Configurations/FeatureDefines.xcconfig:
3429
3430 2017-09-02  Andy Estes  <aestes@apple.com>
3431
3432         [CA] Upstream QuartzCore-related WebKitSystemInterface functions
3433         https://bugs.webkit.org/show_bug.cgi?id=176270
3434
3435         Reviewed by Tim Horton.
3436
3437         * pal/spi/cocoa/QuartzCoreSPI.h:
3438
3439 2017-09-01  Andy Estes  <aestes@apple.com>
3440
3441         Try again to fix the Internal iOS Simulator build after r221485.
3442
3443         * pal/spi/cg/CoreGraphicsSPI.h:
3444
3445 2017-09-01  Andy Estes  <aestes@apple.com>
3446
3447         Try to fix the Internal iOS Simulator build after r221485.
3448
3449         * pal/spi/cg/CoreGraphicsSPI.h:
3450
3451 2017-09-01  Andy Estes  <aestes@apple.com>
3452
3453         [CG] Upstream CoreGraphics-related WebKitSystemInterface functions
3454         https://bugs.webkit.org/show_bug.cgi?id=176200
3455
3456         Reviewed by Tim Horton.
3457
3458         * PAL.xcodeproj/project.pbxproj:
3459         * pal/spi/cg/CoreGraphicsSPI.h:
3460         * pal/spi/mac/HIServicesSPI.h:
3461         * pal/spi/mac/NSGraphicsSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/HIServicesSPI.h.
3462
3463 2017-08-31  Andy Estes  <aestes@apple.com>
3464
3465         [Mac] Upstream AppKit-related WebKitSystemInterface functions
3466         https://bugs.webkit.org/show_bug.cgi?id=176175
3467
3468         Reviewed by Brady Eidson.
3469
3470         * PAL.xcodeproj/project.pbxproj:
3471         * pal/spi/mac/HIToolboxSPI.h:
3472         * pal/spi/mac/NSResponderSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
3473         * pal/spi/mac/NSWindowSPI.h:
3474         * pal/system/mac/WebPanel.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
3475         * pal/system/mac/WebPanel.mm: Copied from Source/WebCore/PAL/pal/spi/mac/HIToolboxSPI.h.
3476         (-[WebPanel init]):
3477
3478 2017-08-31  Ryan Haddad  <ryanhaddad@apple.com>
3479
3480         Unreviewed, rolling out r221445.
3481
3482         This change broke Sierra Release builds.
3483
3484         Reverted changeset:
3485
3486         "Switch HTMLMediaElement to release logging"
3487         https://bugs.webkit.org/show_bug.cgi?id=176065
3488         http://trac.webkit.org/changeset/221445
3489
3490 2017-08-30  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
3491
3492         [PAL] Fix "None" suffix in PAL
3493         https://bugs.webkit.org/show_bug.cgi?id=176014
3494
3495         Reviewed by Ryosuke Niwa.
3496
3497         * Configurations/PAL.xcconfig:
3498         * PAL.xcodeproj/project.pbxproj:
3499         * pal/PlatformGTK.cmake:
3500         * pal/PlatformWPE.cmake:
3501         * pal/PlatformWin.cmake:
3502         * pal/system/Sound.cpp: Renamed from Source/WebCore/PAL/pal/system/SoundNone.cpp.
3503         * pal/text/KillRing.cpp: Renamed from Source/WebCore/PAL/pal/text/KillRingNone.cpp.
3504
3505 2017-08-30  Eric Carlson  <eric.carlson@apple.com>
3506
3507         Add Logger observer and helper class
3508         https://bugs.webkit.org/show_bug.cgi?id=176106
3509
3510         Reviewed by Andy Estes.
3511
3512         * pal/Logger.h:
3513         (PAL::LogArgument::toString): Add new variants.
3514         (PAL::Logger::Observer::~Observer):
3515         (PAL::Logger::logAlways const): Constify.
3516         (PAL::Logger::error const): Ditto.
3517         (PAL::Logger::warning const): Ditto.
3518         (PAL::Logger::notice const): Ditto.
3519         (PAL::Logger::info const): Ditto.
3520         (PAL::Logger::debug const): Ditto.
3521         (PAL::Logger::willLog const): Ditto.
3522         (PAL::Logger::MethodAndPointer::MethodAndPointer): Add class name, make object pointer const.
3523         (PAL::Logger::addObserver): New.
3524         (PAL::Logger::removeObserver): New.
3525         (PAL::Logger::Logger):
3526         (PAL::Logger::log):
3527         (PAL::Logger::observers):
3528         (PAL::LogHelper::willLog const):
3529         (PAL::LogArgument<Logger::MethodAndPointer>::toString):
3530
3531 2017-08-30  Andy Estes  <aestes@apple.com>
3532
3533         [Mac] Upstream Accessibility-related WebKitSystemInterface functions
3534         https://bugs.webkit.org/show_bug.cgi?id=176093
3535
3536         Reviewed by Eric Carlson.
3537
3538         * PAL.xcodeproj/project.pbxproj:
3539         * pal/spi/mac/HIServicesSPI.h: Added.
3540         * pal/spi/mac/NSAccessibilitySPI.h:
3541
3542 2017-08-30  Andy Estes  <aestes@apple.com>
3543
3544         [Mac] Upstream Carbon-related WebKitSystemInterface functions
3545         https://bugs.webkit.org/show_bug.cgi?id=176087
3546
3547         Reviewed by Alex Christensen.
3548
3549         * PAL.xcodeproj/project.pbxproj:
3550         * pal/spi/cocoa/FoundationSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
3551         * pal/spi/mac/HIToolboxSPI.h: Copied from Source/WebCore/PAL/pal/spi/mac/NSWindowSPI.h.
3552         * pal/spi/mac/NSEventSPI.h:
3553         * pal/spi/mac/NSWindowSPI.h:
3554         * pal/spi/mac/QuickDrawSPI.h: Added.
3555
3556 2017-08-29  Andy Estes  <aestes@apple.com>
3557
3558         [Xcode] Fix up file and group paths in PAL.xcodeproj
3559         https://bugs.webkit.org/show_bug.cgi?id=176073
3560
3561         Reviewed by Alex Christensen.
3562
3563         * PAL.xcodeproj/project.pbxproj:
3564
3565 2017-08-29  Andy Estes  <aestes@apple.com>
3566
3567         [Mac] Upstream WKSetMetadataURL() from WebKitSystemInterface
3568         https://bugs.webkit.org/show_bug.cgi?id=176046
3569
3570         Reviewed by Alex Christensen.
3571
3572         * PAL.xcodeproj/project.pbxproj:
3573         * pal/spi/mac/MetadataSPI.h: Added.
3574
3575 2017-08-28  Eric Carlson  <eric.carlson@apple.com>
3576
3577         Logger should use makeString instead of String::format
3578         https://bugs.webkit.org/show_bug.cgi?id=176035
3579
3580         Reviewed by Jer Noble.
3581
3582         * pal/Logger.h:
3583         (PAL::LogArgument::toString):
3584         (PAL::Logger::logAlways):
3585         (PAL::Logger::error):
3586         (PAL::Logger::warning):
3587         (PAL::Logger::notice):
3588         (PAL::Logger::info):
3589         (PAL::Logger::debug):
3590         (PAL::Logger::MethodAndPointer::MethodAndPointer):
3591         (PAL::Logger::log):
3592         (PAL::LogArgument<Logger::MethodAndPointer>::toString):
3593
3594 2017-08-28  Andy Estes  <aestes@apple.com>
3595
3596         [Cocoa] Upstream CFNetwork-related WebKitSystemInterface functions
3597         https://bugs.webkit.org/show_bug.cgi?id=176032
3598
3599         Reviewed by Alex Christensen.
3600
3601         * pal/spi/cf/CFNetworkSPI.h:
3602
3603 2017-08-25  Eric Carlson  <eric.carlson@apple.com>
3604
3605         Add Logger::logAlways
3606         https://bugs.webkit.org/show_bug.cgi?id=175996
3607
3608         Reviewed by Jer Noble.
3609
3610         * PAL.xcodeproj/project.pbxproj:
3611         * pal/Logger.h:
3612         (PAL::Logger::willLog const):
3613         (PAL::Logger::willLog const):
3614         (PAL::Logger::logAlways): Added.
3615         (PAL::Logger::error const): Add missing WTF_ATTRIBUTE_PRINTF.
3616         (PAL::Logger::warning const): Ditto.
3617         (PAL::Logger::notice const): Ditto.
3618         (PAL::Logger::info const): Ditto.
3619         (PAL::Logger::debug const): Use String::formatWithArguments.
3620
3621 2017-08-25  Jonathan Bedard  <jbedard@apple.com>
3622
3623         Fix build breakage with Public iOS 11 SDK
3624         https://bugs.webkit.org/show_bug.cgi?id=175960
3625         <rdar://problem/34069264>
3626
3627         Reviewed by Wenson Hsieh.
3628
3629         * pal/spi/ios/UIKitSPI.h: Use NSItemProvider definition of preferredPresentationSize
3630         instead of re-declaring it.
3631
3632 2017-08-23  Eric Carlson  <eric.carlson@apple.com>
3633
3634         Platform code should be able to safely log in release builds
3635         https://bugs.webkit.org/show_bug.cgi?id=175854
3636         <rdar://problem/34022930>
3637
3638         Reviewed by Jer Noble.
3639
3640         * PAL.xcodeproj/project.pbxproj:
3641         * pal/Logger.h: Added.
3642         (PAL::Logger::create):
3643         (PAL::Logger::error const):
3644         (PAL::Logger::warning const):
3645         (PAL::Logger::notice const):
3646         (PAL::Logger::info const):
3647         (PAL::Logger::debug const):
3648         (PAL::Logger::willLog const):
3649         (PAL::Logger::enabled const):
3650         (PAL::Logger::setEnabled):
3651         (PAL::Logger::Logger):
3652         (PAL::Logger::log):
3653
3654 2017-08-21  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
3655
3656         [PAL] Move spi/mac directory into PAL
3657         https://bugs.webkit.org/show_bug.cgi?id=175649
3658
3659         Reviewed by Myles C. Maxfield.
3660
3661         * PAL.xcodeproj/project.pbxproj:
3662         * pal/spi/mac/AVFoundationSPI.h: Renamed from Source/WebCore/platform/spi/mac/AVFoundationSPI.h.
3663         * pal/spi/mac/DataDetectorsSPI.h: Renamed from Source/WebCore/platform/spi/mac/DataDetectorsSPI.h.
3664         * pal/spi/mac/LookupSPI.h: Renamed from Source/WebCore/platform/spi/mac/LookupSPI.h.
3665         * pal/spi/mac/MediaRemoteSPI.h: Renamed from Source/WebCore/platform/spi/mac/MediaRemoteSPI.h.
3666         * pal/spi/mac/NSAccessibilitySPI.h: Renamed from Source/WebCore/platform/spi/mac/NSA