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