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