f55c72d9beae0c68ecd74730ec18a535d952a228
[WebKit-https.git] / Source / WebCore / PAL / ChangeLog
1 2019-08-26  Jiewen Tan  <jiewen_tan@apple.com>
2
3         [WebAuthn] Support HID authenticators on iOS
4         https://bugs.webkit.org/show_bug.cgi?id=201084
5         <rdar://problem/51908390>
6
7         Reviewed by Youenn Fablet.
8
9         * pal/spi/cocoa/IOKitSPI.h:
10         Move IOHIDDevice.h and IOHIDManager.h to IOKitSPI.h given they are in iOS.
11
12 2019-08-22  Andy Estes  <aestes@apple.com>
13
14         [watchOS] Disable Content Filtering in the simulator build
15         https://bugs.webkit.org/show_bug.cgi?id=201047
16
17         Reviewed by Tim Horton.
18
19         * Configurations/FeatureDefines.xcconfig:
20
21 2019-08-22  Keith Rollin  <krollin@apple.com>
22
23         Remove support for tvOS < 13.0
24         https://bugs.webkit.org/show_bug.cgi?id=200963
25         <rdar://problem/54541355>
26
27         Reviewed by Tim Horton.
28
29         Update conditionals that reference __TV_OS_VERSION_MIN_REQUIRED and
30         __TV_OS_VERSION_MAX_ALLOWED, assuming that they both have values >=
31         130000. This means that expressions like "__TV_OS_VERSION_MIN_REQUIRED
32         < 130000" are always False and "__TV_OS_VERSION_MIN_REQUIRED >=
33         130000" are always True.
34
35         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
36         * pal/spi/cocoa/NSProgressSPI.h:
37
38 2019-08-21  Keith Rollin  <krollin@apple.com>
39
40         Remove support for watchOS < 6.0
41         https://bugs.webkit.org/show_bug.cgi?id=200937
42         <rdar://problem/54524009>
43
44         Reviewed by Darin Adler.
45
46         Update conditionals that reference __WATCH_OS_VERSION_MIN_REQUIRED and
47         __WATCH_OS_VERSION_MAX_ALLOWED, assuming that they both have values >=
48         60000. This means that expressions like
49         "__WATCH_OS_VERSION_MIN_REQUIRED < 60000" are always False and
50         "__WATCH_OS_VERSION_MIN_REQUIRED >= 60000" are always True.
51
52         * pal/spi/cf/CFNetworkSPI.h:
53         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
54         * pal/spi/cocoa/NSProgressSPI.h:
55
56 2019-08-19  Jer Noble  <jer.noble@apple.com>
57
58         [Cocoa] Adopt -preventDisplaySleepForVideoPlayback
59         https://bugs.webkit.org/show_bug.cgi?id=200774
60         <rdar://problem/54321071>
61
62         Reviewed by Eric Carlson.
63
64         * pal/spi/mac/AVFoundationSPI.h:
65
66 2019-08-19  Youenn Fablet  <youenn@apple.com>
67
68         Remove SessionID::emptySessionID()
69         https://bugs.webkit.org/show_bug.cgi?id=200811
70
71         Reviewed by Alex Christensen.
72
73         Remove SessionID::emptySessionID and make it closer to a regular ObjectIdentifier.
74
75         * pal/SessionID.cpp:
76         * pal/SessionID.h:
77         (PAL::SessionID::SessionID):
78         (PAL::SessionID::isValid const):
79         (PAL::SessionID::isEphemeral const):
80         (PAL::SessionID::isHashTableDeletedValue const):
81         (PAL::SessionID::toUInt64 const):
82         (PAL::SessionID::operator== const):
83         (PAL::SessionID::operator!= const):
84         (PAL::SessionID::isolatedCopy const):
85         (PAL::SessionID::operator bool const):
86         (PAL::SessionID::isValidSessionIDValue):
87         (PAL::SessionID::encode const):
88         (PAL::SessionID::decode):
89         (WTF::SessionIDHash::hash):
90         (WTF::HashTraits<PAL::SessionID>::emptyValue):
91         (WTF::HashTraits<PAL::SessionID>::constructDeletedValue):
92         (WTF::HashTraits<PAL::SessionID>::isDeletedValue):
93
94 2019-08-18  Yusuke Suzuki  <ysuzuki@apple.com>
95
96         [WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWithoutFastMallocCheck part
97         https://bugs.webkit.org/show_bug.cgi?id=200620
98
99         Reviewed by Geoffrey Garen.
100
101         * pal/crypto/openssl/CryptoDigestOpenSSL.cpp:
102         (PAL::CryptoDigestContextImpl::create):
103         * pal/system/ClockGeneric.cpp:
104         (PAL::Clock::create):
105         * pal/system/mac/ClockCM.mm:
106         (Clock::create):
107
108 2019-08-14  Keith Rollin  <krollin@apple.com>
109
110         Remove support for macOS < 10.13
111         https://bugs.webkit.org/show_bug.cgi?id=200694
112         <rdar://problem/54278851>
113
114         Reviewed by Youenn Fablet.
115
116         Update conditionals that reference __MAC_OS_X_VERSION_MIN_REQUIRED and
117         __MAC_OS_X_VERSION_MAX_ALLOWED, assuming that they both have values >=
118         101300. This means that expressions like
119         "__MAC_OS_X_VERSION_MIN_REQUIRED < 101300" are always False and
120         "__MAC_OS_X_VERSION_MIN_REQUIRED >= 101300" are always True.
121
122         * pal/spi/cf/CFNetworkSPI.h:
123         * pal/spi/cocoa/AVKitSPI.h:
124         * pal/spi/cocoa/CommonCryptoSPI.h:
125         * pal/spi/cocoa/IOSurfaceSPI.h:
126         * pal/spi/cocoa/NEFilterSourceSPI.h:
127         * pal/spi/cocoa/NSAttributedStringSPI.h:
128         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
129         * pal/spi/cocoa/NSTouchBarSPI.h:
130         * pal/spi/cocoa/PassKitSPI.h:
131         * pal/spi/mac/AVFoundationSPI.h:
132
133 2019-08-14  Youenn Fablet  <youenn@apple.com>
134
135         Remove SessionID default constructor
136         https://bugs.webkit.org/show_bug.cgi?id=200669
137
138         Reviewed by Alex Christensen.
139
140         * pal/SessionID.h:
141
142 2019-08-14  Youenn Fablet  <youenn@apple.com>
143
144         Fail decoding an invalid SessionID
145         https://bugs.webkit.org/show_bug.cgi?id=200663
146
147         Reviewed by Alex Christensen.
148
149         * pal/SessionID.h:
150         (PAL::SessionID::isValid const):
151         (PAL::SessionID::isValidSessionIDValue):
152         (PAL::SessionID::encode const):
153         Add a release assert to catch bad sessionID senders.
154         (PAL::SessionID::decode):
155         Fail decoding if session ID is not a valid value.
156
157 2019-08-09  Tim Horton  <timothy_horton@apple.com>
158
159         Tapping buttons in Data Detectors lookup previews doesn't work
160         https://bugs.webkit.org/show_bug.cgi?id=200579
161         <rdar://problem/54056519>
162
163         Reviewed by Megan Gardner.
164
165         * pal/spi/ios/DataDetectorsUISPI.h:
166
167 2019-08-07  Dean Jackson  <dino@apple.com>
168
169         Context menu on a universal link produces a blank preview
170         https://bugs.webkit.org/show_bug.cgi?id=200485
171         <rdar://problem/53699620>
172
173         Reviewed by Tim Horton.
174
175         Use the umbrella #import.
176
177         * pal/spi/cocoa/LaunchServicesSPI.h:
178
179 2019-08-06  Dean Jackson  <dino@apple.com>
180
181         Context menu on a universal link produces a blank preview
182         https://bugs.webkit.org/show_bug.cgi?id=200485
183         <rdar://problem/53699620>
184
185         Reviewed by Tim Horton.
186
187         Define iTunesStoreURL from CoreServices.
188
189         * pal/spi/cocoa/LaunchServicesSPI.h:
190
191 2019-08-07  Ryan Haddad  <ryanhaddad@apple.com>
192
193         Unreviewed, rolling out r248330.
194
195         Breaks internal builds.
196
197         Reverted changeset:
198
199         "Context menu on a universal link produces a blank preview"
200         https://bugs.webkit.org/show_bug.cgi?id=200485
201         https://trac.webkit.org/changeset/248330
202
203 2019-08-07  Youenn Fablet  <youenn@apple.com>
204
205         ASSERT that a sessionID is valid when encoding it
206         https://bugs.webkit.org/show_bug.cgi?id=199302
207
208         Reviewed by Darin Adler.
209
210         ASSERT that a sessionID is valid at encoding/decoding time.
211
212         * pal/SessionID.h:
213         (PAL::SessionID::encode const):
214         (PAL::SessionID::decode):
215
216 2019-08-06  Dean Jackson  <dino@apple.com>
217
218         Context menu on a universal link produces a blank preview
219         https://bugs.webkit.org/show_bug.cgi?id=200485
220         <rdar://problem/53699620>
221
222         Reviewed by Dean Jackson.
223
224         Define iTunesStoreURL from CoreServices.
225
226         * pal/spi/cocoa/LaunchServicesSPI.h:
227
228 2019-07-31  Youenn Fablet  <youenn@apple.com>
229
230         Use CTFontCreateForCharactersWithLanguageAndOption if available instead of CTFontCreateForCharactersWithLanguage
231         https://bugs.webkit.org/show_bug.cgi?id=200241
232         <rdar://problem/53495386>
233
234         Build fix for older MacOS for which CTFontFallbackOption is not defined.
235         Unreviewed.
236
237         * pal/spi/cocoa/CoreTextSPI.h:
238
239 2019-07-31  Youenn Fablet  <youenn@apple.com>
240
241         Use CTFontCreateForCharactersWithLanguageAndOption if available instead of CTFontCreateForCharactersWithLanguage
242         https://bugs.webkit.org/show_bug.cgi?id=200241
243
244         Reviewed by Myles C. Maxfield.
245
246         Add new SPI.
247
248         * pal/spi/cocoa/CoreTextSPI.h:
249
250 2019-07-25  Brent Fulgham  <bfulgham@apple.com>
251
252         Use IWICBitmap (rather than ID2D1Bitmap) for NativeImagePtr on FTW
253         https://bugs.webkit.org/show_bug.cgi?id=200093
254
255         Reviewed by Dean Jackson.
256
257         * pal/PlatformFTW.cmake:
258
259 2019-07-24  Yusuke Suzuki  <ysuzuki@apple.com>
260
261         [bmalloc] Add IsoHeap test to ensure that IsoHeap pages are not allocating too large VA
262         https://bugs.webkit.org/show_bug.cgi?id=200103
263
264         Reviewed by Mark Lam.
265
266         Move VMTag page memory investigation code from PAL to WTF to reuse it in TestWTF.
267
268         * PAL.xcodeproj/project.pbxproj:
269         * pal/PlatformMac.cmake:
270
271 2019-07-22  Simon Fraser  <simon.fraser@apple.com>
272
273         Make some constructors explicit
274         https://bugs.webkit.org/show_bug.cgi?id=199981
275
276         Reviewed by Daniel Bates.
277
278         Make explicit public constructors of objects that take POD or String& arguments,
279         to reduce the changes of the compiler doing implicit conversions.
280
281         * pal/system/cocoa/SleepDisablerCocoa.cpp:
282         (PAL::SleepDisablerCocoa::SleepDisablerCocoa):
283         * pal/system/cocoa/SleepDisablerCocoa.h:
284
285 2019-07-21  Myles C. Maxfield  <mmaxfield@apple.com>
286
287         [iOS] Fast and complex text codepaths disagree about how to lay out bopomofo with tone marks
288         https://bugs.webkit.org/show_bug.cgi?id=199912
289         <rdar://problem/52182454>
290
291         Reviewed by Simon Fraser.
292
293         * pal/spi/cocoa/CoreTextSPI.h:
294
295 2019-07-17  Antoine Quint  <graouts@apple.com>
296
297         Disable Pointer Events prior to watchOS 6
298         https://bugs.webkit.org/show_bug.cgi?id=199890
299         <rdar://problem/53206113>
300
301         Reviewed by Dean Jackson.
302
303         * Configurations/FeatureDefines.xcconfig:
304
305 2019-07-11  Myles C. Maxfield  <mmaxfield@apple.com>
306
307         New York font erroneously gets synthetic bold
308         https://bugs.webkit.org/show_bug.cgi?id=199653
309         <rdar://problem/51692592>
310
311         Reviewed by Simon Fraser.
312
313         * pal/spi/cocoa/CoreTextSPI.h:
314
315 2019-07-11  Jonathan Bedard  <jbedard@apple.com>
316
317         [iOS 13] Enable WebKit build
318         https://bugs.webkit.org/show_bug.cgi?id=199481
319         <rdar://problem/52619048>
320
321         Reviewed by Tim Horton.
322
323         * pal/spi/cocoa/NSProgressSPI.h: We need the NSProgress SPI in public builds because NSProgress API
324         is marked unavailable on iOS, watchOS and tvOS.
325         * pal/spi/ios/CoreUISPI.h: Add CUIStyleEffectConfiguration.appearanceName SPI.
326         * pal/spi/ios/DataDetectorsUISPI.h: Add UIContextMenuConfiguration.contextMenuConfigurationForURL SPI.
327         * pal/spi/ios/SystemPreviewSPI.h: Add ARQuickLookWebKitItem.initWithPreviewItemProvider SPI.
328         * pal/spi/ios/UIKitSPI.h: Add systemBrownColor, UIColor.tableCellDefaultSelectionTintColor should be marked nullable.
329         * pal/spi/mac/AVFoundationSPI.h: Add AVOutputDevice.name SPI.
330
331 2019-07-10  Alex Christensen  <achristensen@webkit.org>
332
333         Allow CMake to build WebCore on Mac
334         https://bugs.webkit.org/show_bug.cgi?id=198979
335
336         Reviewed by Don Olmstead.
337
338         * pal/PlatformMac.cmake:
339
340 2019-07-08  Antoine Quint  <graouts@apple.com>
341
342         [Pointer Events] Enable only on the most recent version of the supported iOS family
343         https://bugs.webkit.org/show_bug.cgi?id=199562
344         <rdar://problem/52766511>
345
346         Reviewed by Dean Jackson.
347
348         * Configurations/FeatureDefines.xcconfig:
349
350 2019-07-05  Ryan Haddad  <ryanhaddad@apple.com>
351
352         Unreviewed, rolling out r247159.
353
354         IndexedDB layout tests are failing the new assert.
355
356         Reverted changeset:
357
358         "ASSERT that a sessionID is valid when encoding it"
359         https://bugs.webkit.org/show_bug.cgi?id=199302
360         https://trac.webkit.org/changeset/247159
361
362 2019-07-05  Youenn Fablet  <youenn@apple.com>
363
364         ASSERT that a sessionID is valid when encoding it
365         https://bugs.webkit.org/show_bug.cgi?id=199302
366
367         Reviewed by Darin Adler.
368
369         ASSERT that a sessionID is valid at encoding/decoding time.
370
371         * pal/SessionID.h:
372         (PAL::SessionID::encode const):
373         (PAL::SessionID::decode):
374
375 2019-07-03  Jonathan Bedard  <jbedard@apple.com>
376
377         [Catalina] Enable WebKit build
378         https://bugs.webkit.org/show_bug.cgi?id=199209
379
380         Reviewed by Darin Adler.
381
382         * pal/spi/cf/CFNetworkSPI.h: Add new NSURLSessionConfiguration SPI.
383         * pal/spi/mac/AVFoundationSPI.h: resourceConservationLevelWhilePaused should
384         be defined after AVPlayerResourceConservationLevel.
385         * pal/spi/mac/NSViewSPI.h: Add subviewsIvar.
386
387 2019-07-03  Ryan Haddad  <ryanhaddad@apple.com>
388
389         Unreviewed, rolling out r246616.
390
391         Caused http/tests/inspector/network/har/har-page.html to fail
392         on Catalina.
393
394         Reverted changeset:
395
396         "Web Inspector: Network: replace CFNetwork SPI with new API
397         where able"
398         https://bugs.webkit.org/show_bug.cgi?id=198762
399         https://trac.webkit.org/changeset/246616
400
401 2019-06-28  Brent Fulgham  <bfulgham@apple.com>
402
403         [FTW] Build WebCore
404         https://bugs.webkit.org/show_bug.cgi?id=199199
405
406         Reviewed by Don Olmstead.
407
408         * pal/PlatformFTW.cmake: Added.
409
410 2019-06-28  Konstantin Tokarev  <annulen@yandex.ru>
411
412         Remove traces of ENABLE_ICONDATABASE remaining after its removal in 219733
413         https://bugs.webkit.org/show_bug.cgi?id=199317
414
415         Reviewed by Michael Catanzaro.
416
417         While IconDatabase and all code using it was removed,
418         ENABLE_ICONDATABASE still exists as build option and C++ macro.
419
420         * Configurations/FeatureDefines.xcconfig:
421
422 2019-06-27  Beth Dakin  <bdakin@apple.com>
423
424         Upstream use of MACCATALYST
425         https://bugs.webkit.org/show_bug.cgi?id=199245
426         rdar://problem/51687723
427
428         Reviewed by Tim Horton.
429
430         * Configurations/Base.xcconfig:
431         * Configurations/FeatureDefines.xcconfig:
432         * Configurations/SDKVariant.xcconfig:
433         * pal/spi/mac/AVFoundationSPI.h:
434
435 2019-06-27  Saam Barati  <sbarati@apple.com>
436
437         Make WEBGPU enabled only on Mojave and later.
438
439         Rubber-stamped by Myles C. Maxfield.
440
441         * Configurations/FeatureDefines.xcconfig:
442
443 2019-06-25  Alex Christensen  <achristensen@webkit.org>
444
445         Make HTTPCookieAcceptPolicy an enum class
446         https://bugs.webkit.org/show_bug.cgi?id=199081
447
448         Reviewed by Michael Catanzaro
449
450         * pal/spi/cf/CFNetworkSPI.h:
451
452 2019-06-19  Devin Rousso  <drousso@apple.com>
453
454         Web Inspector: Network: replace CFNetwork SPI with new API where able
455         https://bugs.webkit.org/show_bug.cgi?id=198762
456
457         Reviewed by Timothy Hatcher.
458
459         * pal/spi/cf/CFNetworkSPI.h:
460
461 2019-06-18  Dean Jackson  <dino@apple.com>
462
463         UIContextMenuInteraction implementation for WKContentView
464         https://bugs.webkit.org/show_bug.cgi?id=198986
465         <rdar://problem/51875189>
466
467         Reviewed by Andy Estes.
468
469         Include + soft link DDContextMenuAction.
470
471         * pal/spi/ios/DataDetectorsUISPI.h:
472
473 2019-06-18  Jiewen Tan  <jiewen_tan@apple.com>
474
475         Link to the new AppSSO private framework
476         https://bugs.webkit.org/show_bug.cgi?id=198949
477         <rdar://problem/51281897>
478
479         Reviewed by Brent Fulgham.
480
481         * PAL.xcodeproj/project.pbxproj:
482         * pal/cocoa/AppSSOSoftLink.h:
483         * pal/cocoa/AppSSOSoftLink.mm:
484         * pal/spi/cocoa/AppSSOSPI.h: Added.
485
486 2019-06-18  Truitt Savell  <tsavell@apple.com>
487
488         Unreviewed, rolling out r246534.
489
490         Caused 45 webgpu/ tests to crash.
491
492         Reverted changeset:
493
494         "Link to the new AppSSO private framework"
495         https://bugs.webkit.org/show_bug.cgi?id=198949
496         https://trac.webkit.org/changeset/246534
497
498 2019-06-18  Jiewen Tan  <jiewen_tan@apple.com>
499
500         Link to the new AppSSO private framework
501         https://bugs.webkit.org/show_bug.cgi?id=198949
502         <rdar://problem/51281897>
503
504         Reviewed by Brent Fulgham.
505
506         * PAL.xcodeproj/project.pbxproj:
507         * pal/cocoa/AppSSOSoftLink.h:
508         * pal/cocoa/AppSSOSoftLink.mm:
509         * pal/spi/cocoa/AppSSOSPI.h: Added.
510
511 2019-06-17  Jiewen Tan  <jiewen_tan@apple.com>
512
513         Move SOAuthorization from WebKitAdditions to WebKit
514         https://bugs.webkit.org/show_bug.cgi?id=198874
515         <rdar://problem/47573431>
516
517         Reviewed by Brent Fulgham.
518
519         This patch moves AppSSOSoftLink from WebKitAdditions to WebKit, and introduces
520         AuthKitSPI.h.
521
522         * PAL.xcodeproj/project.pbxproj:
523         * pal/cocoa/AppSSOSoftLink.h: Copied from Tools/TestWebKitAPI/Tests/WebKitCocoa/TestLoadOptimizer.mm.
524         * pal/cocoa/AppSSOSoftLink.mm: Copied from Tools/TestWebKitAPI/Tests/WebKitCocoa/TestLoadOptimizer.mm.
525         * pal/spi/cf/CFNetworkSPI.h:
526         * pal/spi/cocoa/AuthKitSPI.h: Copied from Tools/TestWebKitAPI/Tests/WebKitCocoa/TestLoadOptimizer.mm.
527
528 2019-06-14  Jiewen Tan  <jiewen_tan@apple.com>
529
530         Disable AppSSO for web processes and plugin processes
531         https://bugs.webkit.org/show_bug.cgi?id=198843
532         <rdar://problem/51642920>
533
534         Reviewed by Sam Weinig.
535
536         * pal/spi/cf/CFNetworkSPI.h:
537         Adds a SPI to disable AppSSO for CFNetwork.
538
539 2019-06-12  Antoine Quint  <graouts@apple.com>
540
541         Show the web page URL when sharing an AR model
542         https://bugs.webkit.org/show_bug.cgi?id=198812
543         <rdar://problem/48689498>
544
545         Reviewed by Dean Jackson.
546
547         * pal/spi/ios/SystemPreviewSPI.h:
548
549 2019-06-10  Sam Weinig  <weinig@apple.com>
550
551         Remove Dashboard support
552         https://bugs.webkit.org/show_bug.cgi?id=198615
553
554         Reviewed by Ryosuke Niwa.
555
556         * Configurations/FeatureDefines.xcconfig:
557
558 2019-06-10  Timothy Hatcher  <timothy@apple.com>
559
560         Integrate dark mode support for iOS.
561         https://bugs.webkit.org/show_bug.cgi?id=198687
562         rdar://problem/51545643
563
564         Reviewed by Tim Horton.
565
566         * Configurations/FeatureDefines.xcconfig:
567         * pal/spi/ios/UIKitSPI.h:
568
569 2019-06-08  Andy Estes  <aestes@apple.com>
570
571         [Apple Pay] If we have a bound interface identifier, set it on new PKPaymentRequests
572         https://bugs.webkit.org/show_bug.cgi?id=198690
573         <rdar://problem/48041803>
574
575         Reviewed by Tim Horton.
576
577         * pal/spi/cocoa/PassKitSPI.h: Included PKPaymentRequest_WebKit.h to declare some
578         WebKit-specific PKPaymentRequest SPIs for internal SDKs, and re-declared these SPIs - now
579         including the boundInterfaceIdentifier property - for public SDKs.
580
581 2019-06-05  Alex Christensen  <achristensen@webkit.org>
582
583         Progress towards resurrecting Mac CMake build
584         https://bugs.webkit.org/show_bug.cgi?id=197132
585
586         Reviewed by Don Olmstead.
587
588         * pal/PlatformMac.cmake:
589
590 2019-06-05  Wenson Hsieh  <wenson_hsieh@apple.com>
591
592         Upstream content mode support into open source from WebKitAdditions
593         https://bugs.webkit.org/show_bug.cgi?id=198484
594         <rdar://problem/51355671>
595
596         Reviewed by Andy Estes.
597
598         Add some new constants to MobileGestaltSPI.h.
599
600         * pal/spi/ios/MobileGestaltSPI.h:
601
602 2019-06-03  Don Olmstead  <don.olmstead@sony.com>
603
604         [CMake] Add WebKit::JavaScriptCore target
605         https://bugs.webkit.org/show_bug.cgi?id=198403
606
607         Reviewed by Konstantin Tokarev.
608
609         Use the WebKit::JavaScriptCore target.
610
611         * pal/CMakeLists.txt:
612
613 2019-05-29  Don Olmstead  <don.olmstead@sony.com>
614
615         Remove ENABLE definitions from WebKit config files
616         https://bugs.webkit.org/show_bug.cgi?id=197858
617
618         Reviewed by Simon Fraser.
619
620         * Configurations/FeatureDefines.xcconfig:
621
622 2019-05-17  Don Olmstead  <don.olmstead@sony.com>
623
624         [CMake] Use builtin FindICU
625         https://bugs.webkit.org/show_bug.cgi?id=197934
626
627         Reviewed by Michael Catanzaro.
628
629         Remove uses of ICU_INCLUDE_DIRS and ICU_LIBRARIES.
630
631         * pal/CMakeLists.txt:
632
633 2019-05-15  Simon Fraser  <simon.fraser@apple.com>
634
635         Make LOG_WITH_STREAM more efficient
636         https://bugs.webkit.org/show_bug.cgi?id=197905
637
638         Reviewed by Alex Christensen.
639         
640         Make the LOG_WITH_STREAM macro check that the log channel is enabled before
641         building the stream.
642
643         * pal/LogMacros.h:
644
645 2019-05-10  Chris Dumez  <cdumez@apple.com>
646
647         Add WKWebViewConfiguration._canShowWhileLocked SPI
648         https://bugs.webkit.org/show_bug.cgi?id=197777
649         <rdar://problem/50065100>
650
651         Reviewed by Tim Horton.
652
653         * pal/spi/cocoa/QuartzCoreSPI.h:
654
655 2019-05-09  Daniel Bates  <dabates@apple.com>
656
657         [iOS] Numpad comma key has incorrect keyIdentifier property
658         https://bugs.webkit.org/show_bug.cgi?id=197753
659         <rdar://problem/50636274>
660
661         Reviewed by Brent Fulgham.
662
663         Expose enumerator for Numpad Comma.
664
665         * pal/spi/cocoa/IOKitSPI.h:
666
667 2019-05-08  Alex Christensen  <achristensen@webkit.org>
668
669         Add SPI to set HSTS storage directory
670         https://bugs.webkit.org/show_bug.cgi?id=197259
671
672         Reviewed by Brady Eidson.
673
674         * pal/spi/cf/CFNetworkSPI.h:
675
676 2019-05-07  Eric Carlson  <eric.carlson@apple.com>
677
678         Define media buffering policy
679         https://bugs.webkit.org/show_bug.cgi?id=196979
680         <rdar://problem/28383861>
681
682         Reviewed by Jer Noble.
683
684         * pal/spi/mac/AVFoundationSPI.h:
685
686 2019-05-04  Alex Christensen  <achristensen@webkit.org>
687
688         Revert r244953 and r244954 because they broke internal builds.
689         https://bugs.webkit.org/show_bug.cgi?id=197534
690
691         * pal/spi/ios/UIKitSPI.h:
692         (currentUserInterfaceIdiomIsPad): Deleted.
693
694 2019-05-04  Alex Christensen  <achristensen@webkit.org>
695
696         Fix internal build.
697         https://bugs.webkit.org/show_bug.cgi?id=197534
698
699         * pal/spi/ios/UIKitSPI.h:
700
701 2019-05-04  Alex Christensen  <achristensen@webkit.org>
702
703         Merge the three UIKitSPI.h files into a single one in PAL
704         https://bugs.webkit.org/show_bug.cgi?id=197534
705
706         Reviewed by Darin Adler.
707
708         * pal/spi/ios/UIKitSPI.h:
709         (currentUserInterfaceIdiomIsPad):
710
711 2019-05-03  Commit Queue  <commit-queue@webkit.org>
712
713         Unreviewed, rolling out r244881.
714         https://bugs.webkit.org/show_bug.cgi?id=197559
715
716         Breaks compilation of jsconly on linux, breaking compilation
717         for jsc-i386-ews, jsc-mips-ews and jsc-armv7-ews (Requested by
718         guijemont on #webkit).
719
720         Reverted changeset:
721
722         "[CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into
723         WEBKIT_COPY_FILES"
724         https://bugs.webkit.org/show_bug.cgi?id=197174
725         https://trac.webkit.org/changeset/244881
726
727 2019-05-02  Don Olmstead  <don.olmstead@sony.com>
728
729         [CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into WEBKIT_COPY_FILES
730         https://bugs.webkit.org/show_bug.cgi?id=197174
731
732         Reviewed by Alex Christensen.
733
734         Replace WEBKIT_MAKE_FORWARDING_HEADERS with WEBKIT_COPY_FILES.
735
736         * pal/CMakeLists.txt:
737
738 2019-04-29  Alex Christensen  <achristensen@webkit.org>
739
740         <rdar://problem/50299396> Fix internal High Sierra build
741         https://bugs.webkit.org/show_bug.cgi?id=197388
742
743         * Configurations/Base.xcconfig:
744
745 2019-04-26  Jessie Berlin  <jberlin@webkit.org>
746
747         Add new mac target numbers
748         https://bugs.webkit.org/show_bug.cgi?id=197313
749
750         Reviewed by Alex Christensen.
751
752         * Configurations/Version.xcconfig:
753         * Configurations/WebKitTargetConditionals.xcconfig:
754
755 2019-04-26  Eric Carlson  <eric.carlson@apple.com>
756
757         Create AVFoundationSoftLink.{h,mm} to reduce duplicate code
758         https://bugs.webkit.org/show_bug.cgi?id=197171
759         <rdar://problem/47454979>
760
761         Reviewed by Youenn Fablet.
762
763         * PAL.xcodeproj/project.pbxproj:
764         * pal/cocoa/AVFoundationSoftLink.h: Added.
765         * pal/cocoa/AVFoundationSoftLink.mm: Added.
766
767 2019-04-25  Timothy Hatcher  <timothy@apple.com>
768
769         Disable date and time inputs on iOSMac.
770         https://bugs.webkit.org/show_bug.cgi?id=197287
771         rdar://problem/46794376
772
773         Reviewed by Wenson Hsieh.
774
775         * Configurations/FeatureDefines.xcconfig:
776
777 2019-04-25  Alex Christensen  <achristensen@webkit.org>
778
779         Start using C++17
780         https://bugs.webkit.org/show_bug.cgi?id=197131
781
782         Reviewed by Darin Adler.
783
784         * Configurations/Base.xcconfig:
785
786 2019-04-25  Commit Queue  <commit-queue@webkit.org>
787
788         Unreviewed, rolling out r244627.
789         https://bugs.webkit.org/show_bug.cgi?id=197282
790
791         Causing internal build failures (Requested by ShawnRoberts on
792         #webkit).
793
794         Reverted changeset:
795
796         "Create AVFoundationSoftLink.{h,mm} to reduce duplicate code"
797         https://bugs.webkit.org/show_bug.cgi?id=197171
798         https://trac.webkit.org/changeset/244627
799
800 2019-04-24  Eric Carlson  <eric.carlson@apple.com>
801
802         Create AVFoundationSoftLink.{h,mm} to reduce duplicate code
803         https://bugs.webkit.org/show_bug.cgi?id=197171
804         <rdar://problem/47454979>
805
806         Reviewed by Youenn Fablet.
807
808         * PAL.xcodeproj/project.pbxproj:
809         * pal/cocoa/AVFoundationSoftLink.h: Added.
810         * pal/cocoa/AVFoundationSoftLink.mm: Added.
811
812 2019-04-24  Tim Horton  <timothy_horton@apple.com>
813
814         Clean up WKActionSheetAssistant's use of LaunchServices
815         https://bugs.webkit.org/show_bug.cgi?id=194645
816         <rdar://problem/47707952>
817
818         Reviewed by Andy Estes.
819
820         * pal/spi/cocoa/LaunchServicesSPI.h:
821
822 2019-04-23  Commit Queue  <commit-queue@webkit.org>
823
824         Unreviewed, rolling out r244556.
825         https://bugs.webkit.org/show_bug.cgi?id=197212
826
827         Causing build failures on multiple builders (Requested by
828         ShawnRoberts on #webkit).
829
830         Reverted changeset:
831
832         "Create AVFoundationSoftLink.{h,mm} to reduce duplicate code"
833         https://bugs.webkit.org/show_bug.cgi?id=197171
834         https://trac.webkit.org/changeset/244556
835
836 2019-04-23  Eric Carlson  <eric.carlson@apple.com>
837
838         Create AVFoundationSoftLink.{h,mm} to reduce duplicate code
839         https://bugs.webkit.org/show_bug.cgi?id=197171
840         <rdar://problem/47454979>
841
842         Reviewed by Youenn Fablet.
843
844         * PAL.xcodeproj/project.pbxproj:
845         * pal/cocoa/AVFoundationSoftLink.h: Added.
846         * pal/cocoa/AVFoundationSoftLink.mm: Added.
847
848 2019-04-15  Don Olmstead  <don.olmstead@sony.com>
849
850         [CMake] WebCore derived sources should only be referenced inside WebCore
851         https://bugs.webkit.org/show_bug.cgi?id=196904
852
853         Reviewed by Konstantin Tokarev.
854
855         Specify PAL_DERIVED_SOURCES_DIR as a private include directory.
856
857         * pal/CMakeLists.txt:
858         * pal/PlatformWin.cmake:
859
860 2019-04-12  Wenson Hsieh  <wenson_hsieh@apple.com>
861
862         [iOS] Software keyboard is shown too frequently on some websites
863         https://bugs.webkit.org/show_bug.cgi?id=195856
864         <rdar://problem/49191395>
865
866         Reviewed by Darin Adler.
867
868         Declare new GraphicsServices SPI.
869
870         * pal/spi/ios/GraphicsServicesSPI.h:
871
872 2019-04-10  Antoine Quint  <graouts@apple.com>
873
874         Enable Pointer Events on watchOS
875         https://bugs.webkit.org/show_bug.cgi?id=196771
876         <rdar://problem/49040909>
877
878         Reviewed by Dean Jackson.
879
880         * Configurations/FeatureDefines.xcconfig:
881
882 2019-04-09  Don Olmstead  <don.olmstead@sony.com>
883
884         [CMake] Apple builds should use ICU_INCLUDE_DIRS
885         https://bugs.webkit.org/show_bug.cgi?id=196720
886
887         Reviewed by Konstantin Tokarev.
888
889         * pal/PlatformMac.cmake:
890
891 2019-04-08  Don Olmstead  <don.olmstead@sony.com>
892
893         [CMake][WinCairo] Separate copied headers into different directories
894         https://bugs.webkit.org/show_bug.cgi?id=196655
895
896         Reviewed by Michael Catanzaro.
897
898         * pal/CMakeLists.txt:
899
900 2019-04-08  Justin Fan  <justin_fan@apple.com>
901
902         [Web GPU] Fix Web GPU experimental feature on iOS
903         https://bugs.webkit.org/show_bug.cgi?id=196632
904
905         Reviewed by Myles C. Maxfield.
906
907         Add feature conditionals for iOS 11.
908         Properly make Web GPU available on iOS 11+.
909
910         * Configurations/FeatureDefines.xcconfig:
911         * Configurations/WebKitTargetConditionals.xcconfig:
912
913 2019-04-03  Myles C. Maxfield  <mmaxfield@apple.com>
914
915         -apple-trailing-word is needed for browser detection
916         https://bugs.webkit.org/show_bug.cgi?id=196575
917
918         Unreviewed.
919
920         * Configurations/FeatureDefines.xcconfig:
921
922 2019-04-03  Ryosuke Niwa  <rniwa@webkit.org>
923
924         Avoid the use of WTF_EXTERN_C_BEGIN in NSMenuSPI.h
925         https://bugs.webkit.org/show_bug.cgi?id=196566
926
927         Reviewed by Timothy Hatcher.
928
929         * pal/spi/mac/NSMenuSPI.h:
930
931 2019-04-03  Alex Christensen  <achristensen@webkit.org>
932
933         Add SPI to disable legacy TLS fallback
934         https://bugs.webkit.org/show_bug.cgi?id=196549
935         <rdar://44979744>
936
937         Reviewed by Geoffrey Garen.
938
939         * pal/spi/cf/CFNetworkSPI.h:
940
941 2019-04-03  Myles C. Maxfield  <mmaxfield@apple.com>
942
943         Remove support for -apple-trailing-word
944         https://bugs.webkit.org/show_bug.cgi?id=196525
945
946         Reviewed by Zalan Bujtas.
947
948         This CSS property is nonstandard and not used.
949
950         * Configurations/FeatureDefines.xcconfig:
951
952 2019-03-31  Sam Weinig  <weinig@apple.com>
953
954         Remove more i386 specific configurations
955         https://bugs.webkit.org/show_bug.cgi?id=196430
956
957         Reviewed by Alexey Proskuryakov.
958
959         * Configurations/FeatureDefines.xcconfig:
960         ENABLE_WEB_AUTHN_macosx can now be enabled unconditionally on macOS.
961
962 2019-03-29  Myles C. Maxfield  <mmaxfield@apple.com>
963
964         Delete WebMetal implementation in favor of WebGPU
965         https://bugs.webkit.org/show_bug.cgi?id=195418
966
967         Reviewed by Dean Jackson.
968
969         * Configurations/FeatureDefines.xcconfig:
970
971 2019-03-29  Cathie Chen  <cathiechen@igalia.com>
972
973         Implement ResizeObserver.
974         https://bugs.webkit.org/show_bug.cgi?id=157743
975
976         Reviewed by Simon Fraser.
977
978         Add ENABLE_RESIZE_OBSERVER.
979
980         * Configurations/FeatureDefines.xcconfig:
981
982 2019-03-25  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
983
984         Remove NavigatorContentUtils in WebCore/Modules
985         https://bugs.webkit.org/show_bug.cgi?id=196070
986
987         Reviewed by Alex Christensen.
988
989         NavigatorContentUtils was to support the custom scheme spec [1].
990         However, in WebKit side, no port has supported the feature in
991         WebKit layer after EFL port was removed. So there has been the
992         only IDL implementation of the NavigatorContentUtils in WebCore.
993         So we don't need to keep the implementation in WebCore anymore.
994
995         [1] https://html.spec.whatwg.org/multipage/system-state.html#custom-handlers
996
997         * Configurations/FeatureDefines.xcconfig:
998
999 2019-03-23  Andy Estes  <aestes@apple.com>
1000
1001         [Apple Pay] Stop calling PKPaymentAuthorizationViewController class methods on iOS
1002         https://bugs.webkit.org/show_bug.cgi?id=196163
1003         <rdar://problem/48787564>
1004
1005         Reviewed by Anders Carlsson.
1006
1007         * pal/spi/cocoa/PassKitSPI.h:
1008
1009 2019-03-22  Keith Rollin  <krollin@apple.com>
1010
1011         Enable ThinLTO support in Production builds
1012         https://bugs.webkit.org/show_bug.cgi?id=190758
1013         <rdar://problem/45413233>
1014
1015         Reviewed by Daniel Bates.
1016
1017         Enable building with Thin LTO in Production when using Xcode 10.2 or
1018         later. This change results in a 1.45% progression in PLT5. Full
1019         Production build times increase about 2-3%. Incremental build times
1020         are more severely affected, and so LTO is not enabled for local
1021         engineering builds.
1022
1023         LTO is enabled only on macOS for now, until rdar://problem/49013399,
1024         which affects ARM builds, is fixed.
1025
1026         Removed the conditionals that disabled LTO on 32-bit systems since we
1027         no longer build for those.
1028
1029         To change the LTO setting when building locally:
1030
1031         - If building with `make`, specify WK_LTO_MODE={none,thin,full} on the
1032           command line.
1033         - If building with `build-webkit`, specify --lto-mode={none,thin,full}
1034           on the command line.
1035         - If building with `build-root`, specify --lto={none,thin,full} on the
1036           command line.
1037         - If building with Xcode, create a LocalOverrides.xcconfig file at the
1038           top level of your repository directory (if needed) and define
1039           WK_LTO_MODE to full, thin, or none.
1040
1041         * Configurations/Base.xcconfig:
1042
1043 2019-03-22  Timothy Hatcher  <timothy@apple.com>
1044
1045         Change macosx() to macos() in WK_API... and JSC_API... macros.
1046         https://bugs.webkit.org/show_bug.cgi?id=196106
1047
1048         Reviewed by Brian Burg.
1049
1050         * pal/spi/cocoa/NSTouchBarSPI.h:
1051
1052 2019-03-20  Simon Fraser  <simon.fraser@apple.com>
1053
1054         Rename ENABLE_ACCELERATED_OVERFLOW_SCROLLING macro to ENABLE_OVERFLOW_SCROLLING_TOUCH
1055         https://bugs.webkit.org/show_bug.cgi?id=196049
1056
1057         Reviewed by Tim Horton.
1058
1059         This macro is about the -webkit-overflow-scrolling CSS property, not accelerated
1060         overflow scrolling in general, so rename it.
1061
1062         * Configurations/FeatureDefines.xcconfig:
1063
1064 2019-03-19  Ross Kirsling  <ross.kirsling@sony.com>
1065
1066         Unreviewed adjustment to r242842 per Darin's request.
1067
1068         * pal/win/LoggingWin.cpp:
1069         (PAL::logLevelString):
1070
1071 2019-03-14  Brent Fulgham  <bfulgham@apple.com>
1072
1073         Move CoreCrypto SPI declarations to an appropriate PAL/spi header
1074         https://bugs.webkit.org/show_bug.cgi?id=195754
1075         <rdar://problem/48591957>
1076
1077         Reviewed by Jiewen Tan.
1078
1079         Move the forward declarations of various CoreCrypto SPI to an appropriate PAL/spi header.
1080         Update the const correctness of one function call to match new SDK declaration.
1081
1082         No tests because there are no changes in behavior.
1083
1084         * PAL.xcodeproj/project.pbxproj:
1085         * pal/spi/cocoa/CommonCryptoSPI.h: Copied from Source/WebCore/crypto/CommonCryptoUtilities.h.
1086
1087 2019-03-14  Shawn Roberts  <sroberts@apple.com>
1088
1089         Unreviewed, rolling out r242981.
1090
1091         Causing internal build failures on watch/tv OS
1092
1093         Reverted changeset:
1094
1095         "Move CoreCrypto SPI declarations to an appropriate PAL/spi
1096         header"
1097         https://bugs.webkit.org/show_bug.cgi?id=195754
1098         https://trac.webkit.org/changeset/242981
1099
1100 2019-03-14  Brent Fulgham  <bfulgham@apple.com>
1101
1102         Move CoreCrypto SPI declarations to an appropriate PAL/spi header
1103         https://bugs.webkit.org/show_bug.cgi?id=195754
1104         <rdar://problem/48591957>
1105
1106         Reviewed by Jiewen Tan.
1107
1108         Move the forward declarations of various CoreCrypto SPI to an appropriate PAL/spi header.
1109         Update the const correctness of one function call to match new SDK declaration.
1110
1111         No tests because there are no changes in behavior.
1112
1113         * PAL.xcodeproj/project.pbxproj:
1114         * pal/spi/cocoa/CommonCryptoSPI.h: Copied from Source/WebCore/crypto/CommonCryptoUtilities.h.
1115
1116 2019-03-14  Ryan Haddad  <ryanhaddad@apple.com>
1117
1118         Unreviewed, rolling out r242963.
1119
1120         Breaks watchOS build.
1121
1122         Reverted changeset:
1123
1124         "Move CommonCrypto SPI declarations to an appropriate PAL/spi
1125         header"
1126         https://bugs.webkit.org/show_bug.cgi?id=195754
1127         https://trac.webkit.org/changeset/242963
1128
1129 2019-03-14  Brent Fulgham  <bfulgham@apple.com>
1130
1131         Move CommonCrypto SPI declarations to an appropriate PAL/spi header
1132         https://bugs.webkit.org/show_bug.cgi?id=195754
1133         <rdar://problem/48591957>
1134
1135         Reviewed by Jiewen Tan.
1136
1137         Move the forward declarations of various CommonCrypto SPI to an appropriate PAL/spi header.
1138         Update the const correctness of one function call to match new SDK declaration.
1139
1140         No tests because there are no changes in behavior.
1141
1142         * PAL.xcodeproj/project.pbxproj:
1143         * pal/spi/cocoa/CommonCryptoSPI.h: Copied from Source/WebCore/crypto/CommonCryptoUtilities.h.
1144
1145 2019-03-13  Keith Rollin  <krollin@apple.com>
1146
1147         Add support for new StagedFrameworks layout
1148         https://bugs.webkit.org/show_bug.cgi?id=195543
1149
1150         Reviewed by Alexey Proskuryakov.
1151
1152         When creating the WebKit layout for out-of-band Safari/WebKit updates,
1153         use an optional path prefix when called for.
1154
1155         * Configurations/PAL.xcconfig:
1156
1157 2019-03-12  Ross Kirsling  <ross.kirsling@sony.com>
1158
1159         [Win] Fix a slew of simple clang-cl warnings.
1160         https://bugs.webkit.org/show_bug.cgi?id=195652
1161
1162         Reviewed by Don Olmstead.
1163
1164         * pal/win/LoggingWin.cpp:
1165         (PAL::logLevelString): -Wwritable-strings
1166
1167 2019-03-12  Timothy Hatcher  <timothy@apple.com>
1168
1169         Expose document attributes and body background color through HTMLConverter.
1170         https://bugs.webkit.org/show_bug.cgi?id=195636
1171         rdar://problem/45055697
1172
1173         Reviewed by Tim Horton.
1174
1175         * pal/spi/cocoa/NSAttributedStringSPI.h:
1176         (NSBackgroundColorDocumentAttribute): Added.
1177
1178 2019-03-12  Jennifer Moore  <jennifer.moore@apple.com>
1179
1180         Check whether to launch a default action instead of action sheet
1181         https://bugs.webkit.org/show_bug.cgi?id=195225
1182         <rdar://problem/47715544>
1183
1184         Reviewed by Daniel Bates.
1185
1186         Add new SPI declarations.
1187
1188         * pal/spi/ios/DataDetectorsUISPI.h:
1189
1190 2019-03-11  Ross Kirsling  <ross.kirsling@sony.com>
1191
1192         Add Optional to Forward.h.
1193         https://bugs.webkit.org/show_bug.cgi?id=195586
1194
1195         Reviewed by Darin Adler.
1196
1197         * pal/crypto/tasn1/Utilities.cpp:
1198         * pal/crypto/tasn1/Utilities.h:
1199         Remove unnecessary includes from headers.
1200
1201 2019-03-11  Andy Estes  <aestes@apple.com>
1202
1203         [Apple Pay] Use PKPaymentAuthorizationController to present the Apple Pay UI remotely from the Networking service on iOS
1204         https://bugs.webkit.org/show_bug.cgi?id=195530
1205         <rdar://problem/48747164>
1206
1207         Reviewed by Alex Christensen.
1208
1209         * pal/cocoa/PassKitSoftLink.h: Soft-linked PKPaymentAuthorizationController on iOS.
1210         * pal/cocoa/PassKitSoftLink.mm: Ditto.
1211         * pal/spi/cocoa/PassKitSPI.h: Declared PKPaymentAuthorizationControllerPrivateDelegate and
1212         related SPI.
1213
1214 2019-03-11  Alex Christensen  <achristensen@webkit.org>
1215
1216         Soft linking to Reveal framework should be optional
1217         https://bugs.webkit.org/show_bug.cgi?id=195576
1218         <rdar://problem/46822452>
1219
1220         Reviewed by Megan Gardner.
1221
1222         * pal/spi/cocoa/RevealSPI.h:
1223
1224 2019-03-07  Andy Estes  <aestes@apple.com>
1225
1226         [Apple Pay] Untangle PKPaymentAuthorizationViewController from WebPaymentCoordinatorProxy
1227         https://bugs.webkit.org/show_bug.cgi?id=195349
1228         <rdar://problem/48625510>
1229
1230         Reviewed by Alex Christensen.
1231
1232         Moved soft-linking of PKPaymentErrorDomain from WebPaymentCoordinatorProxy to here and used
1233         a more descriptive platform macro.
1234
1235         * pal/cocoa/PassKitSoftLink.h:
1236         * pal/cocoa/PassKitSoftLink.mm:
1237
1238 2019-03-01  Conrad Shultz  <conrad_shultz@apple.com>
1239
1240         Improper use of PLATFORM(TVOS) in PAL
1241         https://bugs.webkit.org/show_bug.cgi?id=195215
1242
1243         Reviewed by Darin Adler.
1244
1245         There are a couple stray uses of PLATFORM(TVOS) in PAL. The correct usage is
1246         PLATFORM(APPLETV).
1247
1248         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
1249         * pal/spi/cocoa/NSProgressSPI.h:
1250
1251 2019-03-03  Tim Horton  <timothy_horton@apple.com>
1252
1253         Remove some more unused 32-bit code
1254         https://bugs.webkit.org/show_bug.cgi?id=195255
1255
1256         Reviewed by Darin Adler.
1257
1258         * PAL.xcodeproj/project.pbxproj:
1259         * pal/PlatformMac.cmake:
1260         * pal/spi/cocoa/IOKitSPI.h:
1261         * pal/spi/mac/QuickDrawSPI.h: Removed.
1262
1263 2019-03-01  Justin Fan  <justin_fan@apple.com>
1264
1265         [Web GPU] 32-bit builds broken by attempt to disable WebGPU on 32-bit
1266         https://bugs.webkit.org/show_bug.cgi?id=195191
1267
1268         Rubber-stamped by Dean Jackson.
1269
1270         Dropping support for 32-bit entirely, so I'm intentionally leaving 32-bit broken.
1271
1272         * Configurations/FeatureDefines.xcconfig:
1273
1274 2019-02-28  Justin Fan  <justin_fan@apple.com>
1275
1276         [Web GPU] Enable Web GPU only on 64-bit
1277         https://bugs.webkit.org/show_bug.cgi?id=195139
1278
1279         Because Metal is only supported on 64 bit apps.
1280
1281         Unreviewed build fix.
1282
1283         * Configurations/FeatureDefines.xcconfig:
1284
1285 2019-02-27  Antoine Quint  <graouts@apple.com>
1286
1287         Support Pointer Events on macOS
1288         https://bugs.webkit.org/show_bug.cgi?id=195008
1289         <rdar://problem/47454419>
1290
1291         Reviewed by Dean Jackson.
1292
1293         * Configurations/FeatureDefines.xcconfig:
1294
1295 2019-02-23  Keith Miller  <keith_miller@apple.com>
1296
1297         Add new mac target numbers
1298         https://bugs.webkit.org/show_bug.cgi?id=194955
1299
1300         Reviewed by Tim Horton.
1301
1302         * Configurations/Base.xcconfig:
1303         * Configurations/DebugRelease.xcconfig:
1304
1305 2019-02-20  Daniel Bates  <dabates@apple.com>
1306
1307         Attempt to fix the Apple Internal build following r241828
1308         (https://trac.webkit.org/changeset/241828/webkit)
1309
1310         Conditionally include a private header.
1311
1312         * pal/spi/ios/UIKitSPI.h:
1313
1314 2019-02-20  Daniel Bates  <dabates@apple.com>
1315
1316         [iOS] Tweak UI for focus rings
1317         https://bugs.webkit.org/show_bug.cgi?id=194864
1318         <rdar://problem/47831886>
1319
1320         Reviewed by Brent Fulgham.
1321
1322         Expose more SPI.
1323
1324         * pal/ios/UIKitSoftLink.h:
1325         * pal/ios/UIKitSoftLink.mm:
1326         * pal/spi/ios/UIKitSPI.h:
1327
1328 2019-02-20  Timothy Hatcher  <timothy@apple.com>
1329
1330         RenderThemeIOS should use RenderTheme's color cache instead of its own.
1331         https://bugs.webkit.org/show_bug.cgi?id=194822
1332         rdar://problem/48208296
1333
1334         Reviewed by Tim Horton.
1335
1336         * pal/ios/UIKitSoftLink.h:
1337         * pal/ios/UIKitSoftLink.mm:
1338         * pal/spi/ios/UIKitSPI.h:
1339
1340 2019-02-16  Darin Adler  <darin@apple.com>
1341
1342         Continue reducing use of String::format, now focusing on hex: "%p", "%x", etc.
1343         https://bugs.webkit.org/show_bug.cgi?id=194752
1344
1345         Reviewed by Daniel Bates.
1346
1347         * pal/FileSizeFormatter.cpp:
1348         (fileSizeDescription): Use makeString instead of String::format.
1349
1350 2019-02-18  Daniel Bates  <dabates@apple.com>
1351
1352         [iOS] Keyups for non-modifier keys identified as "Dead" when not focused in a content-editable element
1353         https://bugs.webkit.org/show_bug.cgi?id=192824
1354         <rdar://problem/47100332>
1355
1356         Reviewed by Wenson Hsieh.
1357
1358         Expose more enumerators.
1359
1360         * pal/spi/cocoa/IOKitSPI.h:
1361
1362 2019-02-17  David Kilzer  <ddkilzer@apple.com>
1363
1364         Unreviewed, rolling out r241620.
1365
1366         "Causes use-after-free crashes running layout tests with ASan and GuardMalloc."
1367         (Requested by ddkilzer on #webkit.)
1368
1369         Reverted changeset:
1370
1371         "[WTF] Add environment variable helpers"
1372         https://bugs.webkit.org/show_bug.cgi?id=192405
1373         https://trac.webkit.org/changeset/241620
1374
1375 2019-02-15  Ross Kirsling  <ross.kirsling@sony.com>
1376
1377         [WTF] Add environment variable helpers
1378         https://bugs.webkit.org/show_bug.cgi?id=192405
1379
1380         Reviewed by Michael Catanzaro.
1381
1382         * pal/unix/LoggingUnix.cpp:
1383         (PAL::logLevelString):
1384         * pal/win/LoggingWin.cpp:
1385         (PAL::logLevelString):
1386         Utilize WTF::Environment where possible.
1387
1388 2019-02-15  Commit Queue  <commit-queue@webkit.org>
1389
1390         Unreviewed, rolling out r241559 and r241566.
1391         https://bugs.webkit.org/show_bug.cgi?id=194710
1392
1393         Causes layout test crashes under GuardMalloc (Requested by
1394         ryanhaddad on #webkit).
1395
1396         Reverted changesets:
1397
1398         "[WTF] Add environment variable helpers"
1399         https://bugs.webkit.org/show_bug.cgi?id=192405
1400         https://trac.webkit.org/changeset/241559
1401
1402         "Unreviewed build fix for WinCairo Debug after r241559."
1403         https://trac.webkit.org/changeset/241566
1404
1405 2019-02-14  Ross Kirsling  <ross.kirsling@sony.com>
1406
1407         [WTF] Add environment variable helpers
1408         https://bugs.webkit.org/show_bug.cgi?id=192405
1409
1410         Reviewed by Michael Catanzaro.
1411
1412         * pal/unix/LoggingUnix.cpp:
1413         (PAL::logLevelString):
1414         * pal/win/LoggingWin.cpp:
1415         (PAL::logLevelString):
1416         Utilize WTF::Environment where possible.
1417
1418 2019-02-12  Chris Fleizach  <cfleizach@apple.com>
1419
1420         AX: IsolatedTree: Implement more attributes
1421         https://bugs.webkit.org/show_bug.cgi?id=193911
1422         <rdar://problem/47599217>
1423
1424         Reviewed by Daniel Bates.
1425
1426         * pal/spi/mac/HIServicesSPI.h:
1427
1428 2019-02-12  Andy Estes  <aestes@apple.com>
1429
1430         [iOSMac] Enable Parental Controls Content Filtering
1431         https://bugs.webkit.org/show_bug.cgi?id=194521
1432         <rdar://39732376>
1433
1434         Reviewed by Tim Horton.
1435
1436         * Configurations/FeatureDefines.xcconfig:
1437
1438 2019-02-11  Jer Noble  <jer.noble@apple.com>
1439
1440         Unreviewed build fix; add a HAVE_CELESTIAL guard around the CelestialSPI.h contents.
1441
1442         * pal/spi/ios/CelestialSPI.h:
1443
1444 2019-02-12  Michael Catanzaro  <mcatanzaro@igalia.com>
1445
1446         [WPE][GTK] Sleep disabler code should inhibit idle when a "System" sleep disabler is requested
1447         https://bugs.webkit.org/show_bug.cgi?id=194500
1448
1449         Reviewed by Carlos Garcia Campos.
1450
1451         There are three things wrong with the comment at the top of SleepDisablerGLib's constructor:
1452
1453         (1) Nowadays, GNOME suspends the computer automatically on inactivity, and we actually do
1454             want to prevent that.
1455
1456         (2) Inhibiting idle does affect the autosuspend countdown. So the current code should
1457             prevent automatic suspend, just not manual suspend. (I think I stand by my comment that
1458             we do not want to inhibit normal suspend, since that would just be annoying.)
1459
1460         (3) I don't know why I thought HTMLMediaElement::shouldDisableSleep was suspicious.
1461
1462         Anyway, the behavior we want is to ignore the Type argument and just always inhibit idle.
1463         That is, treat type=System the same way we current treat type=Display.
1464
1465         * pal/system/glib/SleepDisablerGLib.cpp:
1466         (PAL::SleepDisablerGLib::SleepDisablerGLib):
1467
1468 2019-02-11  Myles C. Maxfield  <mmaxfield@apple.com>
1469
1470         [Cocoa] Ask platform for generic font family mappings
1471         https://bugs.webkit.org/show_bug.cgi?id=187723
1472         <rdar://problem/41892438>
1473
1474         Reviewed by Brent Fulgham.
1475
1476         * pal/spi/cocoa/CoreTextSPI.h:
1477
1478 2019-02-11  Jer Noble  <jer.noble@apple.com>
1479
1480         [Cocoa] Notify AVSystemController of our presenting PID before registering as a Now Playing app.
1481         https://bugs.webkit.org/show_bug.cgi?id=194504
1482
1483         Reviewed by Eric Carlson.
1484
1485         * PAL.xcodeproj/project.pbxproj:
1486         * pal/spi/ios/CelestialSPI.h: Renamed from Source/WebKit/Platform/spi/ios/CelestialSPI.h.
1487
1488 2019-02-11  Truitt Savell  <tsavell@apple.com>
1489
1490         Unreviewed, rolling out r241229.
1491
1492         Revision broke internal builds for watchOS.
1493
1494         Reverted changeset:
1495
1496         "[Cocoa] Ask platform for generic font family mappings"
1497         https://bugs.webkit.org/show_bug.cgi?id=187723
1498         https://trac.webkit.org/changeset/241229
1499
1500 2019-02-08  Myles C. Maxfield  <mmaxfield@apple.com>
1501
1502         [Cocoa] Ask platform for generic font family mappings
1503         https://bugs.webkit.org/show_bug.cgi?id=187723
1504         <rdar://problem/41892438>
1505
1506         Reviewed by Brent Fulgham.
1507
1508         * pal/spi/cocoa/CoreTextSPI.h:
1509
1510 2019-02-07  Chris Dumez  <cdumez@apple.com>
1511
1512         Mark more heap-allocated classes as fast allocated
1513         https://bugs.webkit.org/show_bug.cgi?id=194422
1514
1515         Reviewed by Ryosuke Niwa.
1516
1517         * pal/crypto/openssl/CryptoDigestOpenSSL.cpp:
1518         * pal/system/Clock.h:
1519
1520 2019-02-05  Ryan Haddad  <ryanhaddad@apple.com>
1521
1522         Unreviewed, rolling out r240742.
1523
1524         Causes crashes on iOS simulator.
1525
1526         Reverted changeset:
1527
1528         "[iOS] Keyups for non-modifier keys identified as "Dead" when
1529         not focused in a content-editable element"
1530         https://bugs.webkit.org/show_bug.cgi?id=192824
1531         https://trac.webkit.org/changeset/240742
1532
1533 2018-12-16  Darin Adler  <darin@apple.com>
1534
1535         Convert additional String::format clients to alternative approaches
1536         https://bugs.webkit.org/show_bug.cgi?id=192746
1537
1538         Reviewed by Alexey Proskuryakov.
1539
1540         * pal/FileSizeFormatter.cpp:
1541         (fileSizeDescription): Use makeString and FormattedNumber.
1542
1543 2019-02-01  David Kilzer  <ddkilzer@apple.com>
1544
1545         Move soft-linking of TelephonyUtilities.framework out of TUCallSPI.h
1546         <https://webkit.org/b/193866>
1547
1548         Reviewed by Alex Christensen.
1549
1550         * PAL.xcodeproj/project.pbxproj:
1551         * pal/PlatformMac.cmake:
1552         - Update for rename of TUCallSPI.h to TelephonyUtilitiesSPI.h.
1553
1554         * pal/spi/mac/TelephonyUtilitiesSPI.h: Rename from Source/WebCore/PAL/pal/spi/mac/TUCallSPI.h.
1555         - Remove soft-linking code from header.
1556
1557 2019-01-30  Daniel Bates  <dabates@apple.com>
1558
1559         [iOS] Keyups for non-modifier keys identified as "Dead" when not focused in a content-editable element
1560         https://bugs.webkit.org/show_bug.cgi?id=192824
1561         <rdar://problem/47100332>
1562
1563         Reviewed by Wenson Hsieh.
1564
1565         Expose more enumerators.
1566
1567         * pal/spi/cocoa/IOKitSPI.h:
1568
1569 2019-01-28  Andy Estes  <aestes@apple.com>
1570
1571         [watchOS] Enable Parental Controls content filtering
1572         https://bugs.webkit.org/show_bug.cgi?id=193939
1573         <rdar://problem/46641912>
1574
1575         Reviewed by Ryosuke Niwa.
1576
1577         * Configurations/FeatureDefines.xcconfig:
1578
1579 2019-01-27  Chris Fleizach  <cfleizach@apple.com>
1580
1581         AX: Introduce isolated accessibility tree
1582         https://bugs.webkit.org/show_bug.cgi?id=193348
1583         <rdar://problem/47203295>
1584
1585         Reviewed by Ryosuke Niwa.
1586
1587         * Configurations/FeatureDefines.xcconfig:
1588
1589 2019-01-25  Alex Christensen  <achristensen@webkit.org>
1590
1591         Move logic from ChildProcess::setApplicationIsDaemon to NetworkProcess::initializeProcess
1592         https://bugs.webkit.org/show_bug.cgi?id=193844
1593
1594         Reviewed by Andy Estes.
1595
1596         * pal/spi/mac/HIServicesSPI.h:
1597
1598 2019-01-25  David Kilzer  <ddkilzer@apple.com>
1599
1600         Move soft-linking of Lookup.framework out of LookupSPI.h
1601         <https://webkit.org/b/193815>
1602
1603         Reviewed by Tim Horton.
1604
1605         * PAL.xcodeproj/project.pbxproj:
1606         * pal/PlatformMac.cmake:
1607         - Add LookupSoftLink.{h,mm} files to the project.
1608
1609         * pal/ios/UIKitSoftLink.h:
1610         * pal/ios/UIKitSoftLink.mm:
1611         - Change SOFT_LINK_VARIABLE_FOR_HEADER() to
1612           SOFT_LINK_CONSTANT_FOR_HEADER() for
1613           UIAccessibilityAnnouncementNotification constant.
1614
1615         * pal/mac/LookupSoftLink.h: Copied from Source/WebCore/PAL/pal/spi/mac/LookupSPI.h.
1616         * pal/mac/LookupSoftLink.mm: Copied from Source/WebCore/PAL/pal/spi/mac/LookupSPI.h.
1617         - Migrate soft-linking from LookupSPI.h to here.
1618
1619         * pal/spi/mac/LookupSPI.h:
1620         - Replace soft-linking of Lookup.framework with
1621           LookupSoftLink.h.
1622
1623 2019-01-24  Eric Carlson  <eric.carlson@apple.com>
1624
1625         [iOS] Silence MediaPlayer compile warnings
1626         https://bugs.webkit.org/show_bug.cgi?id=193780
1627         <rdar://problem/47518428>
1628
1629         Reviewed by Jer Noble.
1630
1631         * pal/spi/ios/MediaPlayerSPI.h:
1632
1633 2019-01-24  Ross Kirsling  <ross.kirsling@sony.com>
1634
1635         Move FileSystem to WTF
1636         https://bugs.webkit.org/show_bug.cgi?id=193602
1637
1638         Reviewed by Yusuke Suzuki.
1639
1640         * PAL.xcodeproj/project.pbxproj:
1641         * pal/PlatformMac.cmake:
1642
1643 2019-01-24  David Kilzer  <ddkilzer@apple.com>
1644
1645         Follow-up #2: Override the session configuration for cookieAcceptPolicy
1646         <https://bugs.webkit.org/show_bug.cgi?id=190925>
1647         <rdar://problem/45497382>
1648
1649         * pal/spi/cf/CFNetworkSPI.h: Protect Objective-C code using
1650         defined(__OBJC__) macro.
1651
1652 2019-01-23  David Kilzer  <ddkilzer@apple.com>
1653
1654         Switch remaining CoreMedia soft-linking in WebKit over to CoreMediaSoftLink.{cpp,h}
1655         <https://webkit.org/b/193694>
1656         <rdar://problem/47464025>
1657
1658         Reviewed by Tim Horton.
1659
1660         * pal/cf/CoreMediaSoftLink.cpp:
1661         - Export kCMTimeZero soft-link.
1662         * pal/cf/CoreMediaSoftLink.h:
1663         - Update kCMTimeZero macro to use PAL namespace for use in
1664           WebKit.framework.
1665
1666 2019-01-22  David Kilzer  <ddkilzer@apple.com>
1667
1668         Switch remaining QuickLook soft-linking in WebCore, WebKit over to QuickLookSoftLink.{cpp,h}
1669         <https://webkit.org/b/193654>
1670         <rdar://problem/47430290>
1671
1672         Reviewed by Alex Christensen.
1673
1674         - Moves QuickLookSoftLink.{h,mm} to PAL.
1675         - Adds soft-link to 3 classes to consolidate QuickLook.framework
1676           soft-linking.
1677         - Updates existing source to work with above changes.
1678
1679         * PAL.xcodeproj/project.pbxproj:
1680         - Add QuickLookSoftLink.{h,mm} due to move from WebCore.
1681
1682         * pal/ios/QuickLookSoftLink.h: Renamed from Source/WebCore/platform/ios/QuickLookSoftLink.h.
1683         * pal/ios/QuickLookSoftLink.mm: Renamed from Source/WebCore/platform/ios/QuickLookSoftLink.mm.
1684         - Add 3 classes for soft-linking.
1685         - Change namespace from WebCore to PAL.
1686
1687 2019-01-21  David Kilzer  <ddkilzer@apple.com>
1688
1689         Sort PAL Xcode project file
1690
1691         * PAL.xcodeproj/project.pbxproj:
1692
1693 2019-01-12  Dan Bernstein  <mitz@apple.com>
1694
1695         [Cocoa] Avoid importing directly from subumbrella frameworks
1696         https://bugs.webkit.org/show_bug.cgi?id=186016
1697         <rdar://problem/40591038>
1698
1699         Reviewed by Sam Weinig.
1700
1701         * Configurations/PAL.xcconfig: Removed -iframework options from OTHER_CFLAGS and
1702           OTHER_CPLUSPLUSFLAGS.
1703         * pal/spi/cg/CoreGraphicsSPI.h: Import ApplicationServices.h instead of ColorSync.h
1704           when using SDKs earlier than 10.13.
1705         * pal/spi/mac/HIToolboxSPI.h: Import CarbonPriv.h instead of HIToolboxPriv.h.
1706         * pal/spi/mac/QuickLookMacSPI.h: Import Quartz.h instead of a QuickLookUI header.
1707
1708 2019-01-20  Antoine Quint  <graouts@apple.com>
1709
1710         Add a POINTER_EVENTS feature flag
1711         https://bugs.webkit.org/show_bug.cgi?id=193577
1712         <rdar://problem/47408511>
1713
1714         Unreviewed. Also enable Pointer Events for iosmac.
1715
1716         * Configurations/FeatureDefines.xcconfig:
1717
1718 2019-01-19  Antoine Quint  <graouts@apple.com>
1719
1720         Add a POINTER_EVENTS feature flag
1721         https://bugs.webkit.org/show_bug.cgi?id=193577
1722
1723         Reviewed by Dean Jackson.
1724
1725         * Configurations/FeatureDefines.xcconfig:
1726
1727 2019-01-18  David Kilzer  <ddkilzer@apple.com>
1728
1729         [PAL] Change Xcode folders to map to folders on disk
1730
1731         Found by tidy-Xcode-project-file script (see Bug 188754).
1732
1733         * PAL.xcodeproj/project.pbxproj: Update these folders:
1734         - pal/avfoundation
1735         - pal/crypto/commoncrypto
1736         - pal/ios
1737
1738 2019-01-18  David Kilzer  <ddkilzer@apple.com>
1739
1740         Follow-up: Override the session configuration for cookieAcceptPolicy
1741         <https://bugs.webkit.org/show_bug.cgi?id=190925>
1742         <rdar://problem/45497382>
1743
1744         Discussed with John Wilander.
1745
1746         * pal/spi/cf/CFNetworkSPI.h: Declare new SPI for the internal
1747         macOS 10.12 Sierra SDK since it will never appear in those
1748         headers.  This fixes the build for trunk WebKit on Sierra.
1749
1750 2019-01-18  Tim Horton  <timothy_horton@apple.com>
1751
1752         Get rid of ADVANCED_SPELL_CHECKING
1753         https://bugs.webkit.org/show_bug.cgi?id=193592
1754
1755         Reviewed by Wenson Hsieh.
1756
1757         * pal/spi/mac/NSSpellCheckerSPI.h:
1758         It's always true on macOS, and all but one use of it is already inside PLATFORM(MAC)
1759
1760 2019-01-18  Jer Noble  <jer.noble@apple.com>
1761
1762         SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
1763         https://bugs.webkit.org/show_bug.cgi?id=189553
1764
1765         Reviewed by Tim Horton.
1766
1767         * Configurations/Base.xcconfig:
1768         * Configurations/PAL.xcconfig:
1769         * Configurations/SDKVariant.xcconfig: Added.
1770
1771 2019-01-18  Daniel Bates  <dabates@apple.com>
1772
1773         CSS auto focus-ring outlines don't render on iOS
1774         https://bugs.webkit.org/show_bug.cgi?id=193583
1775         <rdar://problem/6508697>
1776
1777         Reviewed by Simon Fraser.
1778
1779         Forward declare some IPI.
1780
1781         * pal/spi/ios/UIKitSPI.h:
1782
1783 2019-01-18  David Kilzer  <ddkilzer@apple.com>
1784
1785         Switch remaining UIKit soft-linking in WebCore, WebKitLegacy over to UIKitSoftLink.{cpp,h}
1786         <https://webkit.org/b/193568>
1787         <rdar://problem/47381130>
1788
1789         Reviewed by Alex Christensen.
1790
1791         * pal/ios/UIKitSoftLink.h:
1792         * pal/ios/UIKitSoftLink.mm:
1793         - Add constants, classes and functions that were previously
1794           soft-linked in separate source files.
1795         - UIAccessibilityAnnouncementNotification is declared as a
1796           variable because this constant is not marked as `const` in
1797           UIKit.
1798         * pal/spi/ios/UIKitSPI.h:
1799         - Move SPI declarations from HTMLConverter.mm to here.
1800
1801 2019-01-17  Truitt Savell  <tsavell@apple.com>
1802
1803         Unreviewed, rolling out r240124.
1804
1805         This commit broke an internal build.
1806
1807         Reverted changeset:
1808
1809         "SDK_VARIANT build destinations should be separate from non-
1810         SDK_VARIANT builds"
1811         https://bugs.webkit.org/show_bug.cgi?id=189553
1812         https://trac.webkit.org/changeset/240124
1813
1814 2019-01-17  Tim Horton  <timothy_horton@apple.com>
1815
1816         Adopt NSTextCheckingSuppressInitialCapitalizationKey
1817         https://bugs.webkit.org/show_bug.cgi?id=193545
1818
1819         Reviewed by Dean Jackson.
1820
1821         * pal/spi/mac/NSSpellCheckerSPI.h:
1822
1823 2019-01-17  Jer Noble  <jer.noble@apple.com>
1824
1825         SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
1826         https://bugs.webkit.org/show_bug.cgi?id=189553
1827
1828         Reviewed by Tim Horton.
1829
1830         * Configurations/Base.xcconfig:
1831         * Configurations/PAL.xcconfig:
1832         * Configurations/SDKVariant.xcconfig: Added.
1833
1834 2019-01-16  Tim Horton  <timothy_horton@apple.com>
1835
1836         Unreviewed build fix.
1837
1838         * pal/spi/ios/UIKitSPI.h:
1839         I don't even.
1840
1841 2019-01-16  Megan Gardner  <megan_gardner@apple.com>
1842
1843         Build fix for iOSMac Reveal
1844         https://bugs.webkit.org/show_bug.cgi?id=193503
1845
1846         Unreviewed build fix.
1847
1848         * pal/spi/ios/UIKitSPI.h:
1849
1850 2019-01-15  Megan Gardner  <megan_gardner@apple.com>
1851
1852         Add Reveal support in iOSMac
1853         https://bugs.webkit.org/show_bug.cgi?id=193408
1854         <rdar://problem/47300699>
1855
1856         Reviewed by Tim Horton.
1857
1858         Add additional needed SPI.
1859
1860         * pal/spi/cocoa/RevealSPI.h:
1861
1862 2019-01-15  Tim Horton  <timothy_horton@apple.com>
1863
1864         Cannot tab out of WKWebView on macOS
1865         https://bugs.webkit.org/show_bug.cgi?id=161448
1866         <rdar://problem/28100085>
1867
1868         Reviewed by Dean Jackson.
1869
1870         * pal/spi/mac/NSViewSPI.h:
1871         * pal/spi/mac/NSWindowSPI.h:
1872         Move some SPI declarations in here from WebKitLegacy.
1873
1874 2019-01-14  Commit Queue  <commit-queue@webkit.org>
1875
1876         Unreviewed, rolling out r239901, r239909, r239910, r239912,
1877         r239913, and r239914.
1878         https://bugs.webkit.org/show_bug.cgi?id=193407
1879
1880         These revisions caused an internal failure (Requested by
1881         Truitt on #webkit).
1882
1883         Reverted changesets:
1884
1885         "[Cocoa] Avoid importing directly from subumbrella frameworks"
1886         https://bugs.webkit.org/show_bug.cgi?id=186016
1887         https://trac.webkit.org/changeset/239901
1888
1889         "Tried to fix USE(APPLE_INTERNAL_SDK) builds after r239901."
1890         https://trac.webkit.org/changeset/239909
1891
1892         "Tried to fix the build."
1893         https://trac.webkit.org/changeset/239910
1894
1895         "Fixed iOS builds after r239910."
1896         https://trac.webkit.org/changeset/239912
1897
1898         "More build fixing."
1899         https://trac.webkit.org/changeset/239913
1900
1901         "Tried to fix USE(APPLE_INTERNAL_SDK) 32-bit builds."
1902         https://trac.webkit.org/changeset/239914
1903
1904 2019-01-14  Mark Lam  <mark.lam@apple.com>
1905
1906         Re-enable ability to build --cloop builds.
1907         https://bugs.webkit.org/show_bug.cgi?id=192955
1908         <rdar://problem/46882363>
1909
1910         Reviewed by Saam barati and Keith Miller.
1911
1912         * Configurations/FeatureDefines.xcconfig:
1913
1914 2019-01-13  Dan Bernstein  <mitz@apple.com>
1915
1916         Tried to fix USE(APPLE_INTERNAL_SDK) 32-bit builds.
1917
1918         * pal/spi/mac/QuickDrawSPI.h:
1919
1920 2019-01-13  Dan Bernstein  <mitz@apple.com>
1921
1922         Tried to fix USE(APPLE_INTERNAL_SDK) builds after r239901.
1923
1924         Patch by Keith Rollin.
1925
1926         * pal/spi/cocoa/LaunchServicesSPI.h:
1927         * pal/spi/mac/HIServicesSPI.h:
1928         * pal/spi/mac/MetadataSPI.h:
1929         * pal/spi/mac/SpeechSynthesisSPI.h:
1930
1931 2019-01-12  Timothy Hatcher  <timothy@apple.com>
1932
1933         Have prefers-color-scheme: light always match on macOS versions before Mojave.
1934         https://bugs.webkit.org/show_bug.cgi?id=191655
1935         rdar://problem/46074680
1936
1937         Reviewed by Megan Gardner.
1938
1939         * Configurations/FeatureDefines.xcconfig: ENABLE_DARK_MODE_CSS_macosx for all OS versions.
1940
1941 2019-01-12  Dan Bernstein  <mitz@apple.com>
1942
1943         [Cocoa] Avoid importing directly from subumbrella frameworks
1944         https://bugs.webkit.org/show_bug.cgi?id=186016
1945         <rdar://problem/40591038>
1946
1947         Reviewed by Sam Weinig.
1948
1949         * Configurations/PAL.xcconfig: Removed -iframework options from OTHER_CFLAGS and
1950           OTHER_CPLUSPLUSFLAGS.
1951         * pal/spi/cg/CoreGraphicsSPI.h: Import ApplicationServices.h instead of ColorSync.h
1952           when using SDKs earlier than 10.13.
1953         * pal/spi/mac/HIToolboxSPI.h: Import CarbonPriv.h instead of HIToolboxPriv.h.
1954         * pal/spi/mac/QuickLookMacSPI.h: Import Quartz.h instead of a QuickLookUI header.
1955
1956 2019-01-11  John Wilander  <wilander@apple.com>
1957
1958         Compile out Web API Statistics Collection
1959         https://bugs.webkit.org/show_bug.cgi?id=193370
1960         <rdar://problem/45388584>
1961
1962         Reviewed by Brent Fulgham.
1963
1964         * Configurations/FeatureDefines.xcconfig:
1965             Defined ENABLE_WEB_API_STATISTICS, off by default.
1966
1967 2019-01-11  Devin Rousso  <drousso@apple.com>
1968
1969         Fix style CFNetworkSPI style checker warnings from r239698
1970         https://bugs.webkit.org/show_bug.cgi?id=193369
1971
1972         Reviewed by Joseph Pecoraro.
1973
1974         * pal/spi/cf/CFNetworkSPI.h:
1975
1976 2019-01-10  John Wilander  <wilander@apple.com>
1977
1978         Override the session configuration for cookieAcceptPolicy
1979         https://bugs.webkit.org/show_bug.cgi?id=190925
1980         <rdar://problem/45497382>
1981
1982         Reviewed by Alexey Proskuryakov and Alex Christensen.
1983
1984         * pal/spi/cf/CFNetworkSPI.h:
1985             Declaration of _overrideSessionCookieAcceptPolicy on NSHTTPCookieStorage.
1986
1987 2019-01-07  Devin Rousso  <drousso@apple.com>
1988
1989         Web Inspector: Network: show secure connection details per-request
1990         https://bugs.webkit.org/show_bug.cgi?id=191539
1991         <rdar://problem/45979891>
1992
1993         Reviewed by Joseph Pecoraro.
1994
1995         * pal/spi/cf/CFNetworkSPI.h:
1996
1997 2019-01-04  Jer Noble  <jer.noble@apple.com>
1998
1999         Web Content process main thread blocked beneath ImageDecoderAVFObjC::readSamples for many seconds on imgur.com
2000         https://bugs.webkit.org/show_bug.cgi?id=191806
2001         <rdar://problem/46151477>
2002
2003         Reviewed by Dean Jackson.
2004
2005         * pal/cf/CoreMediaSoftLink.cpp:
2006         * pal/cf/CoreMediaSoftLink.h:
2007
2008 2018-12-27  Alex Christensen  <achristensen@webkit.org>
2009
2010         Resurrect Mac CMake build
2011         https://bugs.webkit.org/show_bug.cgi?id=192658
2012
2013         Reviewed by Yusuke Suzuki.
2014
2015         * pal/PlatformMac.cmake:
2016
2017 2018-12-21  Eric Carlson  <eric.carlson@apple.com>
2018
2019         'ended' Event doesn't fire on MediaStreamTrack when a USB camera is unplugged
2020         https://bugs.webkit.org/show_bug.cgi?id=187896
2021         <rdar://problem/42681445>
2022
2023         Reviewed by Jer Noble.
2024
2025         * pal/spi/cf/CoreAudioSPI.h:
2026
2027 2018-12-19  Chris Dumez  <cdumez@apple.com>
2028
2029         wtf/Optional.h: move-constructor and move-assignment operator should disengage the value being moved from
2030         https://bugs.webkit.org/show_bug.cgi?id=192728
2031         <rdar://problem/46746779>
2032
2033         Reviewed by Geoff Garen.
2034
2035         * pal/*:
2036
2037 2018-12-17  Saam barati  <sbarati@apple.com>
2038
2039         Enable HTTP and HTTPS proxies on iOS and make it a property of the NSURLSession
2040         https://bugs.webkit.org/show_bug.cgi?id=192374
2041         <rdar://problem/46506286>
2042
2043         Reviewed by Alex Christensen.
2044
2045         * pal/spi/cf/CFNetworkSPI.h:
2046         Remove the now-unused SPI declaration.
2047
2048 2018-12-17  Simon Fraser  <simon.fraser@apple.com>
2049
2050         Don't use more expensive layer backing store formats when subpixel text antialiasing is not enabled
2051         https://bugs.webkit.org/show_bug.cgi?id=192780
2052         rdar://problem/43394387
2053
2054         Reviewed by Tim Horton.
2055
2056         Add CGFontRenderingGetFontSmoothingDisabled().
2057
2058         * pal/spi/cg/CoreGraphicsSPI.h:
2059
2060 2018-12-17  Daniel Bates  <dabates@apple.com>
2061
2062         Implement UIScriptController::toggleCapsLock() for iOS
2063         https://bugs.webkit.org/show_bug.cgi?id=191815
2064
2065         Reviewed by Andy Estes.
2066
2067         Add HID usage enumerator for the Caps Lock key.
2068
2069         * pal/spi/cocoa/IOKitSPI.h:
2070
2071 2018-12-17  Matt Lewis  <jlewis3@apple.com>
2072
2073         Unreviewed, rolling out r239254.
2074
2075         This broke the Windows 10 Debug build
2076
2077         Reverted changeset:
2078
2079         "Replace many uses of String::format with more type-safe
2080         alternatives"
2081         https://bugs.webkit.org/show_bug.cgi?id=192742
2082         https://trac.webkit.org/changeset/239254
2083
2084 2018-12-15  Darin Adler  <darin@apple.com>
2085
2086         Use warning-ignoring macros more consistently and simply
2087         https://bugs.webkit.org/show_bug.cgi?id=192743
2088
2089         Reviewed by Mark Lam.
2090
2091         * pal/spi/cocoa/AVKitSPI.h: Use IGNORE_WARNINGS_BEGIN instead of
2092         IGNORE_CLANG_WARNINGS_BEGIN; there is no special need to accomodate
2093         non-clang compilers here.
2094
2095 2018-12-15  Darin Adler  <darin@apple.com>
2096
2097         Replace many uses of String::format with more type-safe alternatives
2098         https://bugs.webkit.org/show_bug.cgi?id=192742
2099
2100         Reviewed by Mark Lam.
2101
2102         * pal/FileSizeFormatter.cpp:
2103         (fileSizeDescription): Use makeString.
2104
2105 2018-12-11  Justin Michaud  <justin_michaud@apple.com>
2106
2107         Implement feature flag for CSS Typed OM
2108         https://bugs.webkit.org/show_bug.cgi?id=192610
2109
2110         Reviewed by Ryosuke Niwa.
2111
2112         * Configurations/FeatureDefines.xcconfig:
2113
2114 2018-12-11  Andy Estes  <aestes@apple.com>
2115
2116         Introduce makeBlockPtr for lambdas
2117         https://bugs.webkit.org/show_bug.cgi?id=192594
2118
2119         Reviewed by Alex Christensen.
2120
2121         Adopted makeBlockPtr.
2122
2123         * pal/Logging.cpp:
2124         (PAL::registerNotifyCallback):
2125
2126 2018-12-10  Don Olmstead  <don.olmstead@sony.com>
2127
2128         Move ENABLE_RESOURCE_LOAD_STATISTICS to FeatureDefines.xcconfig
2129         https://bugs.webkit.org/show_bug.cgi?id=192573
2130
2131         Reviewed by Simon Fraser.
2132
2133         * Configurations/FeatureDefines.xcconfig:
2134
2135 2018-12-10  Commit Queue  <commit-queue@webkit.org>
2136
2137         Unreviewed, rolling out r239023.
2138         https://bugs.webkit.org/show_bug.cgi?id=192571
2139
2140         Speculative rollout due to broken perf test (Requested by
2141         deanj on #webkit).
2142
2143         Reverted changeset:
2144
2145         "Enable HTTP and HTTPS proxies on iOS and make it a property
2146         of the NSURLSession"
2147         https://bugs.webkit.org/show_bug.cgi?id=192374
2148         https://trac.webkit.org/changeset/239023
2149
2150 2018-12-10  Darin Adler  <darin@apple.com>
2151
2152         [macOS] MSHCreateMIGServerSource invocation does not handle send/receive rights correctly
2153         https://bugs.webkit.org/show_bug.cgi?id=192533
2154         rdar://problem/45732710
2155
2156         Reviewed by Anders Carlsson.
2157
2158         * pal/spi/mac/HIServicesSPI.h: Added kMSHDoNotCreateSendRightOption.
2159
2160 2018-12-09  Saam barati  <sbarati@apple.com>
2161
2162         Enable HTTP and HTTPS proxies on iOS and make it a property of the NSURLSession
2163         https://bugs.webkit.org/show_bug.cgi?id=192374
2164         <rdar://problem/46506286>
2165
2166         Reviewed by Alex Christensen.
2167
2168         * pal/spi/cf/CFNetworkSPI.h:
2169         Remove the now-unused SPI declaration.
2170
2171 2018-12-05  Don Olmstead  <don.olmstead@sony.com>
2172
2173         [PlayStation] Enable WebCore
2174         https://bugs.webkit.org/show_bug.cgi?id=192384
2175
2176         Reviewed by Brent Fulgham.
2177
2178         Implements PAL for the PlayStation platform.
2179
2180         * pal/PlatformPlayStation.cmake: Added.
2181
2182 2018-12-02  Zalan Bujtas  <zalan@apple.com>
2183
2184         Add a runtime feature flag for LayoutFormattingContext.
2185         https://bugs.webkit.org/show_bug.cgi?id=192280
2186
2187         Reviewed by Simon Fraser.
2188
2189         * Configurations/FeatureDefines.xcconfig:
2190
2191 2018-12-01  Alexey Proskuryakov  <ap@apple.com>
2192
2193         Modernize version check for _suppressedAutoAddedHTTPHeaders
2194         https://bugs.webkit.org/show_bug.cgi?id=192175
2195
2196         Reviewed by Tim Horton.
2197
2198         * pal/spi/cf/CFNetworkSPI.h: Curiously, it was forward declared twice, for no
2199         apparent reason.
2200
2201 2018-11-30  Don Olmstead  <don.olmstead@sony.com>
2202
2203         Rename ENABLE_SUBTLE_CRYPTO to ENABLE_WEB_CRYPTO
2204         https://bugs.webkit.org/show_bug.cgi?id=192197
2205
2206         Reviewed by Jiewen Tan.
2207
2208         * Configurations/FeatureDefines.xcconfig:
2209         * pal/PlatformGTK.cmake:
2210         * pal/PlatformWPE.cmake:
2211
2212 2018-11-30  Alexey Proskuryakov  <ap@apple.com>
2213
2214         Move USE_CFNETWORK_IGNORE_HSTS to its proper place
2215         https://bugs.webkit.org/show_bug.cgi?id=192173
2216
2217         Reviewed by Tim Horton.
2218
2219         * pal/spi/cf/CFNetworkSPI.h:
2220
2221 2018-11-29  David Quesada  <david_quesada@apple.com>
2222
2223         Add SPI to publish NSProgress on active downloads
2224         https://bugs.webkit.org/show_bug.cgi?id=192021
2225         rdar://problem/44405661
2226
2227         Reviewed by Alex Christensen.
2228
2229         Add an SPI header for NSProgress's publishing and unpublishing methods. In older
2230         SDKs, these methods are explicitly unavailable on platforms other than macOS,
2231         with underscore-prefixed versions available as SPI. In newer SDKs, the unprefixed
2232         versions are SPI and the prefixed versions are deprecated.
2233
2234         * PAL.xcodeproj/project.pbxproj:
2235         * pal/spi/cocoa/NSProgressSPI.h:
2236
2237 2018-11-29  Megan Gardner  <megan_gardner@apple.com>
2238
2239         Move Lookup Code for better cross platform usage
2240         https://bugs.webkit.org/show_bug.cgi?id=191732
2241
2242         Reviewed by Alex Christensen.
2243
2244         * pal/spi/mac/LookupSPI.h:
2245         * pal/spi/mac/RevealSPI.h:
2246
2247 2018-11-29  Eric Carlson  <eric.carlson@apple.com>
2248
2249         [iOS] Tell AirPlay picker when a file has video
2250         https://bugs.webkit.org/show_bug.cgi?id=192155
2251
2252         Reviewed by Jer Noble.
2253
2254         * pal/spi/ios/MediaPlayerSPI.h:
2255
2256 2018-11-29  Alexey Proskuryakov  <ap@apple.com>
2257
2258         Modernize the check for kCFURLRequestContentDecoderSkipURLCheck existence
2259         https://bugs.webkit.org/show_bug.cgi?id=192041
2260
2261         Reviewed by Tim Horton.
2262
2263         * pal/spi/cf/CFNetworkSPI.h:
2264
2265 2018-11-29  Ryan Haddad  <ryanhaddad@apple.com>
2266
2267         Unreviewed, rolling out r238678.
2268
2269         Breaks internal builds.
2270
2271         Reverted changeset:
2272
2273         "Move Lookup Code for better cross platform usage"
2274         https://bugs.webkit.org/show_bug.cgi?id=191732
2275         https://trac.webkit.org/changeset/238678
2276
2277 2018-11-29  Megan Gardner  <megan_gardner@apple.com>
2278
2279         Move Lookup Code for better cross platform usage
2280         https://bugs.webkit.org/show_bug.cgi?id=191732
2281
2282         Reviewed by Alex Christensen.
2283
2284         * pal/spi/mac/LookupSPI.h:
2285         * pal/spi/mac/RevealSPI.h:
2286
2287 2018-11-28  Commit Queue  <commit-queue@webkit.org>
2288
2289         Unreviewed, rolling out r238653 and r238656.
2290         https://bugs.webkit.org/show_bug.cgi?id=192130
2291
2292         Breaks iOS build (Requested by smfr on #webkit).
2293
2294         Reverted changesets:
2295
2296         "Move Lookup Code for better cross platform usage"
2297         https://bugs.webkit.org/show_bug.cgi?id=191732
2298         https://trac.webkit.org/changeset/238653
2299
2300         "Attempt to fix the iOS build by only including RevealSPI.h
2301         when it's needed."
2302         https://trac.webkit.org/changeset/238656
2303
2304 2018-11-15  Megan Gardner  <megan_gardner@apple.com>
2305
2306         Move Lookup Code for better cross platform usage
2307         https://bugs.webkit.org/show_bug.cgi?id=191732
2308
2309         Reviewed by Alex Christensen.
2310
2311         * pal/spi/mac/LookupSPI.h:
2312         * pal/spi/mac/RevealSPI.h:
2313
2314 2018-11-28  Alexey Proskuryakov  <ap@apple.com>
2315
2316         Modernize version checks for same site cookie support
2317         https://bugs.webkit.org/show_bug.cgi?id=192054
2318
2319         Reviewed by Tim Horton.
2320
2321         * pal/spi/cf/CFNetworkSPI.h:
2322
2323 2018-11-27  Mark Lam  <mark.lam@apple.com>
2324
2325         ENABLE_FAST_JIT_PERMISSIONS should be false for iosmac.
2326         https://bugs.webkit.org/show_bug.cgi?id=192055
2327         <rdar://problem/46288783>
2328
2329         Reviewed by Saam Barati.
2330
2331         * Configurations/FeatureDefines.xcconfig:
2332
2333 2018-11-27  Alexey Proskuryakov  <ap@apple.com>
2334
2335         Modernize the check for async _saveCookies existence
2336         https://bugs.webkit.org/show_bug.cgi?id=191987
2337
2338         Reviewed by Dean Jackson.
2339
2340         * pal/spi/cf/CFNetworkSPI.h: Also removed a check around _socketStreamProperties,
2341         which exists everywhere.
2342
2343 2018-11-27  Jer Noble  <jer.noble@apple.com>
2344
2345         Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI
2346         https://bugs.webkit.org/show_bug.cgi?id=190951
2347         <rdar://problem/45213065>
2348
2349         Further follow-up build fix; add ASSUME_NONNULL macros to SPI declaration.
2350
2351         * pal/spi/cocoa/AVKitSPI.h:
2352
2353 2018-11-27  Jer Noble  <jer.noble@apple.com>
2354
2355         Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI
2356         https://bugs.webkit.org/show_bug.cgi?id=190951
2357         <rdar://problem/45213065>
2358
2359         Follow-up build fix when building against older SDKs.
2360
2361         * pal/spi/cocoa/AVKitSPI.h:
2362
2363 2018-11-26  Jer Noble  <jer.noble@apple.com>
2364
2365         Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI
2366         https://bugs.webkit.org/show_bug.cgi?id=190951
2367         <rdar://problem/45213065>
2368
2369         Reviewed by Alex Christensen.
2370
2371         * pal/spi/cocoa/AVKitSPI.h:
2372
2373 2018-11-26  Andy Estes  <aestes@apple.com>
2374
2375         [Cocoa] Make it easier to encode NSObjects
2376         https://bugs.webkit.org/show_bug.cgi?id=191948
2377
2378         Reviewed by Dean Jackson.
2379
2380         * pal/spi/cocoa/PassKitSPI.h: Declared some classes that secretly conform to NSSecureCoding.
2381
2382 2018-11-24  Andy Estes  <aestes@apple.com>
2383
2384         [Cocoa] SOFT_LINK_CLASS_FOR_{HEADER,SOURCE} should generate a more concise getter function
2385         https://bugs.webkit.org/show_bug.cgi?id=191899
2386
2387         Reviewed by Dean Jackson.
2388
2389         * pal/cocoa/PassKitSoftLink.h:
2390         * pal/ios/UIKitSoftLink.h:
2391
2392 2018-11-23  Wenson Hsieh  <wenson_hsieh@apple.com>
2393
2394         Enable drag and drop support for iOSMac
2395         https://bugs.webkit.org/show_bug.cgi?id=191818
2396         <rdar://problem/43907454>
2397
2398         Reviewed by Dean Jackson.
2399
2400         * Configurations/FeatureDefines.xcconfig:
2401
2402 2018-11-21  Wenson Hsieh  <wenson_hsieh@apple.com>
2403
2404         [Cocoa] [WebKit2] Add support for replacing find-in-page text matches
2405         https://bugs.webkit.org/show_bug.cgi?id=191786
2406         <rdar://problem/45813871>
2407
2408         Reviewed by Ryosuke Niwa.
2409
2410         Add `-replaceMatches:withString:inSelectionOnly:resultCollector:`.
2411
2412         * pal/spi/mac/NSTextFinderSPI.h:
2413
2414 2018-11-21  Andy Estes  <aestes@apple.com>
2415
2416         [Cocoa] Create a soft-linking file for PassKit
2417         https://bugs.webkit.org/show_bug.cgi?id=191875
2418         <rdar://problem/46203215>
2419
2420         Reviewed by Myles Maxfield.
2421
2422         * PAL.xcodeproj/project.pbxproj:
2423         * pal/PlatformMac.cmake:
2424         * pal/cocoa/PassKitSoftLink.h: Added.
2425         * pal/cocoa/PassKitSoftLink.mm: Added. Used _WITH_EXPORT soft-linking macros in order to
2426         make the PAL soft-linking symbols visible to WebKit.
2427         * pal/spi/cocoa/PassKitSPI.h:
2428
2429 2018-11-17  Wenson Hsieh  <wenson_hsieh@apple.com>
2430
2431         [iOS] Remove all usages of UIItemProvider, UIItemProviderReading, and related classes
2432         https://bugs.webkit.org/show_bug.cgi?id=191819
2433
2434         Reviewed by Dan Bernstein.
2435
2436         Replace UIItemProvider (and related classes) with NSItemProvider.
2437
2438         * pal/spi/ios/UIKitSPI.h:
2439
2440 2018-11-16  Brent Fulgham  <bfulgham@apple.com>
2441
2442         [Win] Reduce the use of WKSI library calls: CFNetwork
2443         https://bugs.webkit.org/show_bug.cgi?id=191718
2444         <rdar://problem/46108732>
2445
2446         Reviewed by Alex Christensen.
2447
2448         Add necessary declarations for CFNetwork SPI needed by the Apple Windows build.
2449
2450         * pal/PlatformAppleWin.cmake:
2451         * pal/spi/cf/CFNetworkSPI.h:
2452         * pal/spi/cf/CFNetworkSPIWin.cpp: Added.
2453
2454 2018-11-16  Chris Dumez  <cdumez@apple.com>
2455
2456         [Mac] Regression: WebContent process's display name is no longer set
2457         https://bugs.webkit.org/show_bug.cgi?id=191722
2458         <rdar://problem/45960550>
2459
2460         Reviewed by Per Arne Vollan.
2461
2462         * pal/spi/cocoa/LaunchServicesSPI.h:
2463
2464 2018-11-15  Brent Fulgham  <bfulgham@apple.com>
2465
2466         Additional Windows build fix after r238253.
2467
2468         * pal/spi/cg/CoreGraphicsSPI.h:
2469
2470 2018-11-15  Brent Fulgham  <bfulgham@apple.com>
2471
2472         Unreviewed build fix after removing some WKSI calls on Windows.
2473
2474         * pal/spi/cg/CoreGraphicsSPI.h:
2475
2476 2018-11-11  Daniel Bates  <dabates@apple.com>
2477
2478         [iOS] Draw caps lock indicator in password fields
2479         https://bugs.webkit.org/show_bug.cgi?id=190565
2480         <rdar://problem/45262343>
2481
2482         Reviewed by Dean Jackson.
2483
2484         Forward declare some more SPI.
2485
2486         * pal/spi/ios/GraphicsServicesSPI.h:
2487         * pal/spi/ios/UIKitSPI.h:
2488
2489 2018-11-09  Ryan Haddad  <ryanhaddad@apple.com>
2490
2491         Unreviewed, rolling out r238047.
2492
2493         Introduced layout test failures on iOS simulator.
2494
2495         Reverted changeset:
2496
2497         "[iOS] Draw caps lock indicator in password fields"
2498         https://bugs.webkit.org/show_bug.cgi?id=190565
2499         https://trac.webkit.org/changeset/238047
2500
2501 2018-11-09  Daniel Bates  <dabates@apple.com>
2502
2503         [iOS] Draw caps lock indicator in password fields
2504         https://bugs.webkit.org/show_bug.cgi?id=190565
2505         <rdar://problem/45262343>
2506
2507         Reviewed by Dean Jackson.
2508
2509         Forward declare some more SPI.
2510
2511         * pal/spi/ios/GraphicsServicesSPI.h:
2512         * pal/spi/ios/UIKitSPI.h:
2513
2514 2018-11-08  Megan Gardner  <megan_gardner@apple.com>
2515
2516         Adopt Reveal Framework to replace Lookup
2517         https://bugs.webkit.org/show_bug.cgi?id=191097
2518         <rdar://problem/45924508>
2519
2520         Reviewed by Tim Horton.
2521
2522         Add in reveal SPI so WebKit will continue to build without the internal SDK.
2523
2524         * PAL.xcodeproj/project.pbxproj:
2525         * pal/spi/mac/RevealSPI.h: Added.
2526
2527 2018-11-06  Justin Fan  <justin_fan@apple.com>
2528
2529         [WebGPU] Experimental prototype for WebGPURenderPipeline and WebGPUSwapChain
2530         https://bugs.webkit.org/show_bug.cgi?id=191291
2531
2532         Reviewed by Myles Maxfield.
2533
2534         Properly disable WEBGPU on all non-Metal platforms for now.
2535
2536         * Configurations/FeatureDefines.xcconfig:
2537
2538 2018-11-02  Daniel Bates  <dabates@apple.com>
2539
2540         [iOS] Normalize character string based on key code
2541         https://bugs.webkit.org/show_bug.cgi?id=191120
2542
2543         Reviewed by Tim Horton.
2544
2545         Remove forward declarations that are no longer needed now that we check key code.
2546
2547         * pal/spi/ios/UIKitSPI.h:
2548
2549 2018-11-01  Said Abou-Hallawa  <sabouhallawa@apple.com>
2550
2551         [CG] Adopt CG SPI for non-even cornered rounded rects
2552         https://bugs.webkit.org/show_bug.cgi?id=190155
2553
2554         Reviewed by Simon Fraser.
2555
2556         * pal/spi/cg/CoreGraphicsSPI.h:
2557
2558 2018-10-30  Alexey Proskuryakov  <ap@apple.com>
2559
2560         Clean up some obsolete MAX_ALLOWED macros
2561         https://bugs.webkit.org/show_bug.cgi?id=190916
2562
2563         Reviewed by Tim Horton.
2564
2565         * pal/cf/CoreMediaSoftLink.cpp:
2566         * pal/cf/CoreMediaSoftLink.h:
2567         Behavior change here. The check didn't really make sense, pretty sure we would
2568         just crash when hitting this code path on iOS.
2569
2570         * pal/spi/cf/CFNetworkSPI.h:
2571         * pal/spi/cocoa/PassKitSPI.h:
2572         * pal/spi/mac/AVFoundationSPI.h:
2573
2574 2018-10-29  Tim Horton  <timothy_horton@apple.com>
2575
2576         Modernize WebKit nibs and lprojs for localization's sake
2577         https://bugs.webkit.org/show_bug.cgi?id=190911
2578         <rdar://problem/45349466>
2579
2580         Reviewed by Dan Bernstein.
2581
2582         * PAL.xcodeproj/project.pbxproj:
2583         English->en
2584
2585 2018-10-26  Commit Queue  <commit-queue@webkit.org>
2586
2587         Unreviewed, rolling out r237458.
2588         https://bugs.webkit.org/show_bug.cgi?id=190973
2589
2590         broke internal iOS builds (Requested by zalan on #webkit).
2591
2592         Reverted changeset:
2593
2594         "Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI"
2595         https://bugs.webkit.org/show_bug.cgi?id=190951
2596         https://trac.webkit.org/changeset/237458
2597
2598 2018-10-26  Timothy Hatcher  <timothy@apple.com>
2599
2600         Use dark appearance scrollbar when page background is dark or document supports dark mode.
2601         https://bugs.webkit.org/show_bug.cgi?id=190937
2602         rdar://problem/41225839
2603
2604         Reviewed by Beth Dakin.
2605
2606         * pal/spi/mac/NSScrollerImpSPI.h: Added effectiveAppearanceForScrollerImp:.
2607
2608 2018-10-26  Jer Noble  <jer.noble@apple.com>
2609
2610         Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI
2611         https://bugs.webkit.org/show_bug.cgi?id=190951
2612         <rdar://problem/45213065>
2613
2614         Reviewed by Alex Christensen.
2615
2616         * pal/spi/cocoa/AVKitSPI.h:
2617
2618 2018-10-24  Alexey Proskuryakov  <ap@apple.com>
2619
2620         Clean up some obsolete macOS version guards
2621         https://bugs.webkit.org/show_bug.cgi?id=190887
2622
2623         Reviewed by Dan Bernstein.
2624
2625         * pal/spi/mac/TUCallSPI.h:
2626
2627 2018-10-24  Megan Gardner  <megan_gardner@apple.com>
2628
2629         Turn on Conic Gradients
2630         https://bugs.webkit.org/show_bug.cgi?id=190810
2631
2632         Reviewed by Tim Horton.
2633
2634         * Configurations/FeatureDefines.xcconfig:
2635
2636 2018-10-23  Ryan Haddad  <ryanhaddad@apple.com>
2637
2638         Unreviewed, rolling out r237280.
2639
2640         Causes fast/box-shadow/box-shadow-with-zero-radius.html to
2641         fail on iOS Simulator.
2642
2643         Reverted changeset:
2644
2645         "[CG] Adopt CG SPI for non-even cornered rounded rects"
2646         https://bugs.webkit.org/show_bug.cgi?id=190155
2647         https://trac.webkit.org/changeset/237280
2648
2649 2018-10-18  Said Abou-Hallawa  <sabouhallawa@apple.com>
2650
2651         [CG] Adopt CG SPI for non-even cornered rounded rects
2652         https://bugs.webkit.org/show_bug.cgi?id=190155
2653
2654         Reviewed by Simon Fraser.
2655
2656         * pal/spi/cg/CoreGraphicsSPI.h:
2657
2658 2018-10-18  Alexey Proskuryakov  <ap@apple.com>
2659
2660         Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY)
2661         https://bugs.webkit.org/show_bug.cgi?id=190729
2662
2663         Reviewed by Tim Horton.
2664
2665         * pal/cf/CoreMediaSoftLink.cpp:
2666         * pal/cf/CoreMediaSoftLink.h:
2667         * pal/ios/UIKitSoftLink.h:
2668         * pal/ios/UIKitSoftLink.mm:
2669         * pal/spi/cf/CFNetworkSPI.h:
2670         * pal/spi/cocoa/AVKitSPI.h:
2671         * pal/spi/cocoa/CFNSURLConnectionSPI.h:
2672         * pal/spi/cocoa/CoreTextSPI.h:
2673         * pal/spi/cocoa/DataDetectorsCoreSPI.h:
2674         * pal/spi/cocoa/IOSurfaceSPI.h:
2675         * pal/spi/cocoa/LaunchServicesSPI.h:
2676         * pal/spi/cocoa/NEFilterSourceSPI.h:
2677         * pal/spi/cocoa/NSAttributedStringSPI.h:
2678         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
2679         * pal/spi/cocoa/PassKitSPI.h:
2680         * pal/spi/cocoa/QuartzCoreSPI.h:
2681         * pal/spi/ios/DataDetectorsUISPI.h:
2682         * pal/spi/ios/GraphicsServicesSPI.h:
2683         * pal/spi/ios/MediaPlayerSPI.h:
2684         * pal/spi/ios/MobileGestaltSPI.h:
2685         * pal/spi/mac/AVFoundationSPI.h:
2686         * pal/system/mac/ClockCM.mm:
2687         (ClockCM::ClockCM):
2688
2689 2018-10-17  Wenson Hsieh  <wenson_hsieh@apple.com>
2690
2691         Enable the datalist element by default on iOS and macOS
2692         https://bugs.webkit.org/show_bug.cgi?id=190594
2693         <rdar://problem/45281159>
2694
2695         Reviewed by Ryosuke Niwa and Tim Horton.
2696
2697         * Configurations/FeatureDefines.xcconfig:
2698
2699 2018-10-16  Ryan Haddad  <ryanhaddad@apple.com>
2700
2701         Unreviewed, rolling out r237163.
2702
2703         Introduced layout test failures on iOS Simulator.
2704
2705         Reverted changeset:
2706
2707         "[CG] Adopt CG SPI for non-even cornered rounded rects"
2708         https://bugs.webkit.org/show_bug.cgi?id=190155
2709         https://trac.webkit.org/changeset/237163
2710
2711 2018-10-16  Justin Michaud  <justin_michaud@apple.com>
2712
2713         Implement feature flag and bindings for CSS Painting API
2714         https://bugs.webkit.org/show_bug.cgi?id=190237
2715
2716         Reviewed by Ryosuke Niwa.
2717
2718         * Configurations/FeatureDefines.xcconfig:
2719
2720 2018-10-15  Justin Fan  <justin_fan@apple.com>
2721
2722         Add WebGPU 2018 feature flag and experimental feature flag
2723         https://bugs.webkit.org/show_bug.cgi?id=190509
2724
2725         Reviewed by Dean Jackson.
2726
2727         Re-add ENABLE_WEBGPU, an experimental feature flag, and a RuntimeEnabledFeature
2728         for the 2018 WebGPU prototype.
2729
2730         * Configurations/FeatureDefines.xcconfig:
2731
2732 2018-10-15  Said Abou-Hallawa  <sabouhallawa@apple.com>
2733
2734         [CG] Adopt CG SPI for non-even cornered rounded rects
2735         https://bugs.webkit.org/show_bug.cgi?id=190155
2736
2737         Reviewed by Simon Fraser.
2738
2739         * pal/spi/cg/CoreGraphicsSPI.h:
2740
2741 2018-10-15  Timothy Hatcher  <timothy@apple.com>
2742
2743         Add support for prefers-color-scheme media query
2744         https://bugs.webkit.org/show_bug.cgi?id=190499
2745         rdar://problem/45212025
2746
2747         Reviewed by Dean Jackson.
2748
2749         * Configurations/FeatureDefines.xcconfig: Added ENABLE_DARK_MODE_CSS.
2750
2751 2018-10-14  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
2752
2753         [JSC] Remove Option::useAsyncIterator
2754         https://bugs.webkit.org/show_bug.cgi?id=190567
2755
2756         Reviewed by Saam Barati.
2757
2758         * Configurations/FeatureDefines.xcconfig:
2759
2760 2018-10-08  Wenson Hsieh  <wenson_hsieh@apple.com>
2761
2762         [Cocoa] [WK2] Add support for text alignment and text lists in font attributes
2763         https://bugs.webkit.org/show_bug.cgi?id=190342
2764         <rdar://problem/44767118>
2765
2766         Reviewed by Tim Horton.
2767
2768         * pal/ios/UIKitSoftLink.h:
2769         * pal/ios/UIKitSoftLink.mm:
2770
2771         Add NSParagraphStyle and NSTextList to the UIKit soft link header.
2772
2773         * pal/spi/cocoa/NSAttributedStringSPI.h:
2774         * pal/spi/ios/UIKitSPI.h:
2775
2776         Add some SPI declarations for NSMutableParagraphStyle and NSTextList when building with a non-internal iOS SDK,
2777         and import <UIKit/NSParagraphStyle_Private.h> and <UIKit/NSTextList.h> when building with an internal iOS SDK.
2778         Additionally, define some internal UIFoundation string constants that denote NSTextList marker formats. These
2779         constants are API on macOS, but are neither exposed as API nor SPI on iOS.
2780
2781 2018-10-08  Justin Fan  <justin_fan@apple.com>
2782
2783         WebGPU: Rename old WebGPU prototype to WebMetal
2784         https://bugs.webkit.org/show_bug.cgi?id=190325
2785         <rdar://problem/44990443>
2786
2787         Reviewed by Dean Jackson.
2788
2789         Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.
2790
2791         * Configurations/FeatureDefines.xcconfig:
2792
2793 2018-10-08  Aditya Keerthi  <akeerthi@apple.com>
2794
2795         Make <input type=color> a runtime enabled (on-by-default) feature
2796         https://bugs.webkit.org/show_bug.cgi?id=189162
2797
2798         Reviewed by Wenson Hsieh and Tim Horton.
2799
2800         * Configurations/FeatureDefines.xcconfig:
2801
2802 2018-10-05  Jer Noble  <jer.noble@apple.com>
2803
2804         Unreviewed build fix: internal builds can't find AVVideoPerformanceMetrics.
2805
2806         * pal/spi/mac/AVFoundationSPI.h:
2807
2808 2018-10-03  Jer Noble  <jer.noble@apple.com>
2809
2810         Add support for reporting "display composited video frames" through the VideoPlaybackQuality object.
2811         https://bugs.webkit.org/show_bug.cgi?id=190266
2812
2813         Reviewed by Eric Carlson.
2814
2815         * pal/spi/mac/AVFoundationSPI.h:
2816
2817 2018-10-05  Ryan Haddad  <ryanhaddad@apple.com>
2818
2819         Unreviewed, rolling out r236866.
2820
2821         Breaks internal builds.
2822
2823         Reverted changeset:
2824
2825         "Add support for reporting "display composited video frames"
2826         through the VideoPlaybackQuality object."
2827         https://bugs.webkit.org/show_bug.cgi?id=190266
2828         https://trac.webkit.org/changeset/236866
2829
2830 2018-10-04  Jer Noble  <jer.noble@apple.com>
2831
2832         Add support for reporting "display composited video frames" through the VideoPlaybackQuality object.
2833         https://bugs.webkit.org/show_bug.cgi?id=190266
2834
2835         Reviewed by Eric Carlson.
2836
2837         * pal/spi/mac/AVFoundationSPI.h:
2838
2839 2018-10-04  Dan Bernstein  <mitz@apple.com>
2840
2841         PAL change for the WebKitLegacy part of [Xcode] Update some build settings as recommended by Xcode 10
2842         https://bugs.webkit.org/show_bug.cgi?id=190250
2843
2844         Reviewed by Andy Estes.
2845
2846         * pal/spi/mac/NSWindowSPI.h: Added a private API declaration.
2847
2848 2018-10-04  Dan Bernstein  <mitz@apple.com>
2849
2850         PAL part of [Xcode] Update some build settings as recommended by Xcode 10
2851         https://bugs.webkit.org/show_bug.cgi?id=190250
2852
2853         Reviewed by Andy Estes.
2854
2855         * Configurations/Base.xcconfig: Enabled CLANG_WARN_COMMA, CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF,
2856           CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED, and CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS.
2857
2858         * PAL.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
2859
2860 2018-10-01  Dean Jackson  <dino@apple.com>
2861
2862         Remove CSS Animation Triggers
2863         https://bugs.webkit.org/show_bug.cgi?id=190175
2864         <rdar://problem/44925626>
2865
2866         Reviewed by Simon Fraser.
2867
2868         * Configurations/FeatureDefines.xcconfig:
2869
2870 2018-10-01  Andy Estes  <aestes@apple.com>
2871
2872         [watchOS] Adopt NSURLSessionCompanionProxyPreference
2873         https://bugs.webkit.org/show_bug.cgi?id=190177
2874         <rdar://problem/43402114>
2875
2876         Reviewed by Wenson Hsieh.
2877
2878         * pal/spi/cf/CFNetworkSPI.h:
2879
2880 2018-10-01  Daniel Bates  <dabates@apple.com>
2881
2882         [iOS] Special keys are misidentified in DOM keyboard events
2883         https://bugs.webkit.org/show_bug.cgi?id=189974
2884
2885         Reviewed by Wenson Hsieh.
2886
2887         Forward declare or define more SPI.
2888
2889         * pal/spi/cocoa/IOKitSPI.h:
2890         * pal/spi/ios/UIKitSPI.h:
2891
2892 2018-09-25  Jiewen Tan  <jiewen_tan@apple.com>
2893
2894         [WebAuthN] Make AuthenticatorManager
2895         https://bugs.webkit.org/show_bug.cgi?id=189279
2896         <rdar://problem/44116792>
2897
2898         Reviewed by Chris Dumez.
2899
2900         It moves linking to DeviceIdentity.framework to WebKit.
2901
2902         * PAL.xcodeproj/project.pbxproj:
2903
2904 2018-09-25  Wenson Hsieh  <wenson_hsieh@apple.com>
2905
2906         [iOS] Fix the open source iOS 12 build after r236445
2907         https://bugs.webkit.org/show_bug.cgi?id=189953
2908
2909         Reviewed by Alex Christensen.
2910
2911         Introduce a single UIKit soft-linking header in PAL.
2912
2913         * PAL.xcodeproj/project.pbxproj:
2914         * pal/ios/UIKitSoftLink.h: Copied from Source/WebCore/platform/graphics/cocoa/ColorCocoa.mm.
2915         * pal/ios/UIKitSoftLink.mm: Copied from Source/WebCore/platform/graphics/cocoa/ColorCocoa.mm.
2916
2917 2018-09-24  Wenson Hsieh  <wenson_hsieh@apple.com>
2918
2919         Refactor Editor::fontAttributesForSelectionStart to be platform-agnostic
2920         https://bugs.webkit.org/show_bug.cgi?id=189918
2921         Work towards <rdar://problem/44648705>
2922
2923         Reviewed by Tim Horton.
2924
2925         Add `+_disambiguated_due_to_CIImage_colorWithCGColor:` as a UIColor SPI definition. Also, import
2926         `UIColor_Private.h` directly when the Apple internal SDK is used.
2927
2928         * pal/spi/ios/UIKitSPI.h:
2929
2930 2018-09-21  Jer Noble  <jer.noble@apple.com>
2931
2932         Unreviewed Sierra Build Fix; ensure AVVideoPerformanceMetrics are defined on Sierra.
2933
2934         * pal/spi/mac/AVFoundationSPI.h:
2935
2936 2018-09-21  Jer Noble  <jer.noble@apple.com>
2937
2938         Move AVVideoPerformanceMetrics into AVFoundationSPI.h
2939         https://bugs.webkit.org/show_bug.cgi?id=189842
2940
2941         Reviewed by Jon Lee.
2942
2943         * pal/spi/mac/AVFoundationSPI.h:
2944
2945 2018-09-21  Jonathan Bedard  <jbedard@apple.com>
2946
2947         Bring up queues for iOS 12 (Build fix)
2948         https://bugs.webkit.org/show_bug.cgi?id=189683
2949
2950         Unreviewed build fix.
2951
2952         * pal/spi/cocoa/QuartzCoreSPI.h: Declare setCornerRadius and continuousCorner.
2953
2954 2018-09-20  Daniel Bates  <dabates@apple.com>
2955
2956         Move IOKitSPI.h from TestRunnerShared to PAL
2957         https://bugs.webkit.org/show_bug.cgi?id=189804
2958
2959         Reviewed by Wenson Hsieh.
2960
2961         Towards fixing <https://bugs.webkit.org/show_bug.cgi?id=189604> move the IOKit SPI forward
2962         declarations to PAL so that they can be shared by both WebKit, DumpRenderTree, and WebKitTestRunner.
2963
2964         No functionality changed. So, no new tests.
2965
2966         * PAL.xcodeproj/project.pbxproj:
2967         * pal/spi/cocoa/IOKitSPI.h: Renamed from Tools/TestRunnerShared/spi/IOKitSPI.h.
2968
2969 2018-09-14  Eric Carlson  <eric.carlson@apple.com>
2970
2971         Support arbitrary video resolution in getUserMedia API
2972         https://bugs.webkit.org/show_bug.cgi?id=178109
2973         <rdar://problem/35083128>
2974
2975         Reviewed by Youenn Fablet.
2976
2977         * pal/cf/CoreMediaSoftLink.cpp:
2978         * pal/cf/CoreMediaSoftLink.h:
2979
2980 2018-09-12  Guillaume Emont  <guijemont@igalia.com>
2981
2982         Add IGNORE_WARNING_.* macros
2983         https://bugs.webkit.org/show_bug.cgi?id=188996
2984
2985         Reviewed by Michael Catanzaro.
2986
2987         * pal/crypto/commoncrypto/CryptoDigestCommonCrypto.cpp:
2988         (PAL::CryptoDigest::create):
2989         (PAL::CryptoDigest::addBytes):
2990         (PAL::CryptoDigest::computeHash):
2991         * pal/spi/cocoa/AVKitSPI.h:
2992         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
2993         (insecurelyUnarchiveObjectFromData):
2994         * pal/spi/ios/MediaPlayerSPI.h:
2995         * pal/system/mac/PopupMenu.mm:
2996         (PAL::popUpMenu):
2997         * pal/system/mac/WebPanel.mm:
2998         (-[WebPanel init]):
2999
3000 2018-09-10  James Savage  <james.savage@apple.com>
3001
3002         Expose -apple-system-container-border color to internal web views.
3003         https://bugs.webkit.org/show_bug.cgi?id=189178.
3004
3005         Reviewed by Timothy Hatcher.
3006
3007         * pal/spi/cocoa/NSColorSPI.h: Declare SPI.
3008
3009 2018-09-06  Megan Gardner  <megan_gardner@apple.com>
3010
3011         Add Support for Conic Gradients
3012         https://bugs.webkit.org/show_bug.cgi?id=189329
3013         <rdar://problem/21444701>
3014
3015         Reviewed by Simon Fraser.
3016
3017         Define the CG functionality for conic gradients. 
3018
3019         * pal/spi/cg/CoreGraphicsSPI.h:
3020
3021 2018-09-04  Ryan Haddad  <ryanhaddad@apple.com>
3022
3023         Unreviewed, attempt to fix an internal build after r235585.
3024
3025         * pal/spi/cf/CFNetworkSPI.h:
3026
3027 2018-09-01  Yoshiaki Jitsukawa  <yoshiaki.jitsukawa@sony.com>
3028
3029         [WinCairo] Add CryptoDigestOpenSSL
3030         https://bugs.webkit.org/show_bug.cgi?id=188978
3031
3032         Reviewed by Darin Adler.
3033
3034         Add a CryptoDigest implementation with OpenSSL/LibreSSL and let the
3035         WinCairo port use it.
3036
3037         * pal/PlatformAppleWin.cmake: Add CryptoDigestWin.cpp to PAL_SOURCES
3038         * pal/PlatformWin.cmake: Remove CryptoDigestWin.cpp from PAL_SOURCES
3039         * pal/PlatformWinCairo.cmake: Add CryptoDigestOpenSSL to PAL_SOURCES
3040         * pal/crypto/openssl/CryptoDigestOpenSSL.cpp: Added.
3041         (PAL::toSHA1Context):
3042         (PAL::toSHA224Context):
3043         (PAL::toSHA256Context):
3044         (PAL::toSHA384Context):
3045         (PAL::toSHA512Context):
3046         (PAL::CryptoDigest::CryptoDigest):
3047         (PAL::CryptoDigest::~CryptoDigest):
3048         (PAL::CryptoDigest::create):
3049         (PAL::CryptoDigest::addBytes):
3050         (PAL::CryptoDigest::computeHash):
3051
3052 2018-09-01  Darin Adler  <darin@apple.com>
3053
3054         [CFNetwork] Update CFNetwork SPI use to use CFNetworkSPI.h more consistently
3055         https://bugs.webkit.org/show_bug.cgi?id=189072
3056
3057         Reviewed by Dan Bernstein.
3058
3059         * pal/spi/cf/CFNetworkSPI.h: Added a FIXME about USE(CFNETWORK_IGNORE_HSTS).
3060         Sorted Objective-C class interfaces alphabetically instead of having them
3061         relatively randomly ordered in the file. Reduced the platform #if statements
3062         since it's not critical to have these SPIs declared only where they are
3063         present, as long as they are used only when they are present. Moved some
3064         additional declarations into this file.
3065
3066         * pal/spi/cocoa/NSURLDownloadSPI.h: Added more NSURLDownload methods.
3067
3068 2018-08-30  Don Olmstead  <don.olmstead@sony.com>
3069
3070         [CMake] Replace AVFoundationSupport.py using CMake
3071         https://bugs.webkit.org/show_bug.cgi?id=182891
3072
3073         Reviewed by Per Arne Vollan.
3074
3075         Remove AVFoundationSupport.py file and its invocation.
3076
3077         * AVFoundationSupport.py: Removed.
3078         * config.h:
3079         * pal/PlatformWin.cmake:
3080
3081 2018-08-29  Jer Noble  <jer.noble@apple.com>
3082
3083         Muted elements do not have their Now Playing status updated when unmuted.
3084         https://bugs.webkit.org/show_bug.cgi?id=189069
3085
3086         Reviewed by Eric Carlson.
3087
3088         * pal/spi/mac/MediaRemoteSPI.h:
3089
3090 2018-08-27  Keith Rollin  <krollin@apple.com>
3091
3092         Unreviewed build fix -- disable LTO for production builds
3093
3094         * Configurations/Base.xcconfig:
3095
3096 2018-08-27  Aditya Keerthi  <akeerthi@apple.com>
3097
3098         Consolidate ENABLE_INPUT_TYPE_COLOR and ENABLE_INPUT_TYPE_COLOR_POPOVER
3099         https://bugs.webkit.org/show_bug.cgi?id=188931
3100
3101         Reviewed by Wenson Hsieh.
3102
3103         * Configurations/FeatureDefines.xcconfig: Removed ENABLE_INPUT_TYPE_COLOR_POPOVER.
3104
3105 2018-08-27  Keith Rollin  <krollin@apple.com>
3106
3107         Build system support for LTO
3108         https://bugs.webkit.org/show_bug.cgi?id=187785
3109         <rdar://problem/42353132>
3110
3111         Reviewed by Dan Bernstein.
3112
3113         Update Base.xcconfig and DebugRelease.xcconfig to optionally enable
3114         LTO.
3115
3116         * Configurations/Base.xcconfig:
3117         * Configurations/DebugRelease.xcconfig:
3118
3119 2018-08-26  Andy Estes  <aestes@apple.com>
3120
3121         [Apple Pay] Introduce new values for -apple-pay-button-type
3122         https://bugs.webkit.org/show_bug.cgi?id=188949
3123         <rdar://problem/39992228>
3124
3125         Reviewed by Anders Carlsson.
3126
3127         * pal/spi/cocoa/PassKitSPI.h:
3128
3129 2018-08-23  Andy Estes  <aestes@apple.com>
3130
3131         [Apple Pay] Introduce Apple Pay JS v4 on iOS 12 and macOS Mojave
3132         https://bugs.webkit.org/show_bug.cgi?id=188829
3133
3134         Reviewed by Tim Horton.
3135
3136         * Configurations/FeatureDefines.xcconfig:
3137
3138 2018-08-21  Ryosuke Niwa  <rniwa@webkit.org>
3139
3140         Unreviewed macOS Mojave build fix after r235125.
3141
3142         * pal/spi/cg/CoreGraphicsSPI.h:
3143
3144 2018-08-15  Ansh Shukla  <ansh_shukla@apple.com>
3145
3146         NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
3147         https://bugs.webkit.org/show_bug.cgi?id=186870
3148         <rdar://problem/41314410>
3149
3150         Reviewed by Alex Christensen.
3151
3152         * pal/spi/cf/CFNetworkSPI.h: Declare OAuth string when not building against the
3153         internal SDK.
3154
3155 2018-08-15  Aditya Keerthi  <akeerthi@apple.com>
3156
3157         [Datalist] Add button to TextFieldInputs with a datalist
3158         https://bugs.webkit.org/show_bug.cgi?id=187741
3159
3160         Reviewed by Tim Horton.
3161
3162         * pal/spi/cocoa/NSColorSPI.h: Added NSColorGetUserAccentColor().
3163
3164 2018-08-15  Ryan Haddad  <ryanhaddad@apple.com>
3165
3166         Unreviewed, rolling out r234870.
3167
3168         The test introduced with this change is a flaky failure.
3169
3170         Reverted changeset:
3171
3172         "NSURLAuthenticationMethodOAuth challenges are surfaced to
3173         clients in -didReceiveAuthenticationChallenge as
3174         NSURLAuthenticationMethodDefault"
3175         https://bugs.webkit.org/show_bug.cgi?id=186870
3176         https://trac.webkit.org/changeset/234870
3177
3178 2018-08-14  Ansh Shukla  <ansh_shukla@apple.com>
3179
3180         NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
3181         https://bugs.webkit.org/show_bug.cgi?id=186870
3182         <rdar://problem/41314410>
3183
3184         Reviewed by Alex Christensen.
3185
3186         * pal/spi/cf/CFNetworkSPI.h: Declare OAuth string when not building against the
3187         internal SDK.
3188
3189 2018-08-07  Ryan Haddad  <ryanhaddad@apple.com>
3190
3191         Unreviewed, suppress warnings to fix the build.
3192
3193         * pal/crypto/commoncrypto/CryptoDigestCommonCrypto.cpp:
3194         (PAL::CryptoDigest::create):
3195         (PAL::CryptoDigest::addBytes):
3196         (PAL::CryptoDigest::computeHash):
3197
3198 2018-08-07  Per Arne Vollan  <pvollan@apple.com>
3199
3200         [macOS] Scrollbars are not visible when using 3rd party mouse
3201         https://bugs.webkit.org/show_bug.cgi?id=188372
3202
3203         Reviewed by Simon Fraser.
3204
3205         Added declaration of NSScrollerImpPair class method. This method updates all NSScrollerImpPairs
3206         with a new recommended scroller style.
3207
3208         * pal/spi/mac/NSScrollerImpSPI.h:
3209
3210 2018-08-02  David Fenton  <david_fenton@apple.com>
3211
3212         Unreviewed, rolling out r234489.
3213
3214         Caused 50+ crashes and 60+ API failures on iOS
3215
3216         Reverted changeset:
3217
3218         "[WTF] Rename String::format to String::deprecatedFormat"
3219         https://bugs.webkit.org/show_bug.cgi?id=188191
3220         https://trac.webkit.org/changeset/234489
3221
3222 2018-08-01  Tomas Popela  <tpopela@redhat.com>
3223
3224         [WTF] Rename String::format to String::deprecatedFormat
3225         https://bugs.webkit.org/show_bug.cgi?id=188191
3226
3227         Reviewed by Darin Adler.
3228
3229         It should be replaced with string concatenation.
3230
3231         * pal/FileSizeFormatter.cpp:
3232         (fileSizeDescription):
3233
3234 2018-08-01  Tim Horton  <timothy_horton@apple.com>
3235
3236         Using the keyboard arrow keys to scroll a webpage is very slow, not smooth, takes too long
3237         https://bugs.webkit.org/show_bug.cgi?id=188239
3238         <rdar://problem/22997654>
3239
3240         Reviewed by Simon Fraser.
3241
3242         * pal/spi/cocoa/QuartzCoreSPI.h:
3243         Add a piece of SPI.
3244
3245 2018-07-30  Sihui Liu  <sihui_liu@apple.com>
3246
3247         Add support for fetching and remove type  _WKWebsiteDataTypeHSTSCache
3248         https://bugs.webkit.org/show_bug.cgi?id=187379
3249         <rdar://problem/41879559>
3250
3251         Reviewed by Geoffrey Garen.
3252
3253         * pal/spi/cf/CFNetworkSPI.h:
3254
3255 2018-07-30  Devin Rousso  <webkit@devinrousso.com>
3256
3257         Add missing CoreGraphics SPI
3258         https://bugs.webkit.org/show_bug.cgi?id=188177
3259
3260         Reviewed by Joseph Pecoraro.
3261
3262         * pal/spi/cg/CoreGraphicsSPI.h:
3263
3264 2018-07-26  Andy VanWagoner  <andy@vanwagoner.family>
3265
3266         [INTL] Remove INTL sub-feature compile flags
3267         https://bugs.webkit.org/show_bug.cgi?id=188081
3268
3269         Reviewed by Michael Catanzaro.
3270
3271         * Configurations/FeatureDefines.xcconfig:
3272
3273 2018-07-26  Ryan Haddad  <ryanhaddad@apple.com>
3274
3275         Unreviewed, rolling out r234281.
3276
3277         Broke internal builds.
3278
3279         Reverted changeset:
3280
3281         "[Datalist] Add button to TextFieldInputs with a datalist"
3282         https://bugs.webkit.org/show_bug.cgi?id=187741
3283         https://trac.webkit.org/changeset/234281
3284
3285 2018-07-26  Aditya Keerthi  <akeerthi@apple.com>
3286
3287         [Datalist] Add button to TextFieldInputs with a datalist
3288         https://bugs.webkit.org/show_bug.cgi?id=187741
3289
3290         Reviewed by Tim Horton.
3291
3292         * pal/spi/cocoa/NSColorSPI.h: Added NSColorGetUserAccentColor().
3293
3294 2018-07-26  Commit Queue  <commit-queue@webkit.org>
3295
3296         Unreviewed, rolling out r234181 and r234189.
3297         https://bugs.webkit.org/show_bug.cgi?id=188075
3298
3299         These are not needed right now (Requested by thorton on
3300         #webkit).
3301
3302         Reverted changesets:
3303
3304         "Enable Web Content Filtering on watchOS"
3305         https://bugs.webkit.org/show_bug.cgi?id=187979
3306         https://trac.webkit.org/changeset/234181
3307
3308         "HAVE(PARENTAL_CONTROLS) should be true on watchOS"
3309         https://bugs.webkit.org/show_bug.cgi?id=187985
3310         https://trac.webkit.org/changeset/234189
3311
3312 2018-07-24  Tim Horton  <timothy_horton@apple.com>
3313
3314         Enable Web Content Filtering on watchOS
3315         https://bugs.webkit.org/show_bug.cgi?id=187979
3316         <rdar://problem/42559346>
3317
3318         Reviewed by Wenson Hsieh.
3319
3320         * Configurations/FeatureDefines.xcconfig:
3321
3322 2018-07-24  Aditya Keerthi  <akeerthi@apple.com>
3323
3324         [Datalist][macOS] Display suggestions for input[type=color]
3325         https://bugs.webkit.org/show_bug.cgi?id=187794
3326
3327         Reviewed by Tim Horton.
3328
3329         Added methods to enable customization of NSPopoverColorWell.
3330
3331         * PAL.xcodeproj/project.pbxproj:
3332         * pal/spi/mac/NSColorWellSPI.h: Added.
3333         * pal/spi/mac/NSPopoverColorWellSPI.h: Added.
3334         * pal/spi/mac/NSPopoverSPI.h:
3335
3336 2018-07-23  Tim Horton  <timothy_horton@apple.com>
3337
3338         Creating and loading content in a WKWebView triggers Main Thread Checker warnings under ServicesController
3339         https://bugs.webkit.org/show_bug.cgi?id=186963
3340         <rdar://problem/41393682>
3341
3342         Reviewed by Timothy Hatcher.
3343
3344         * pal/spi/mac/NSSharingServiceSPI.h:
3345         Add the new SPI.
3346
3347 2018-07-18  Per Arne Vollan  <pvollan@apple.com>
3348
3349         The WebContent process does not suspend when MiniBrowser is minimized.
3350         https://bugs.webkit.org/show_bug.cgi?id=187708
3351
3352         Reviewed by Chris Dumez.
3353
3354         Add function for enabling App nap.
3355
3356         * pal/spi/cf/CFUtilitiesSPI.h:
3357
3358 2018-07-18  Jer Noble  <jer.noble@apple.com>
3359
3360         PiP from Element Fullscreen should match AVKit's behavior
3361         https://bugs.webkit.org/show_bug.cgi?id=187623
3362
3363         Reviewed by Jon Lee.
3364
3365         * pal/spi/mac/PIPSPI.h:
3366
3367 2018-07-14  Kocsen Chung  <kocsen_chung@apple.com>
3368
3369         Ensure WebKit stack is ad-hoc signed
3370         https://bugs.webkit.org/show_bug.cgi?id=187667
3371
3372         Reviewed by Alexey Proskuryakov.
3373
3374         * Configurations/Base.xcconfig:
3375
3376 2018-07-04  Tim Horton  <timothy_horton@apple.com>
3377
3378         Introduce PLATFORM(IOSMAC)
3379         https://bugs.webkit.org/show_bug.cgi?id=187315
3380
3381         Reviewed by Dan Bernstein.
3382
3383         * Configurations/Base.xcconfig:
3384         * Configurations/FeatureDefines.xcconfig:
3385         * pal/cf/CoreMediaSoftLink.cpp:
3386         * pal/cf/CoreMediaSoftLink.h:
3387         * pal/spi/mac/AVFoundationSPI.h:
3388
3389 2018-06-28  Jonathan Bedard  <jbedard@apple.com>
3390
3391         Build fix (2) after r233266 
3392         https://bugs.webkit.org/show_bug.cgi?id=187024
3393         <rdar://problem/39759057>
3394
3395         Unreviewed build fix.
3396
3397         * pal/cf/CoreMediaSoftLink.cpp: Distinguish between IOS and MINIMAL_SIMULATOR.
3398         * pal/cf/CoreMediaSoftLink.h: Ditto.
3399         * pal/spi/cocoa/LaunchServicesSPI.h: LSApplicationProxy should be conditionalized on HAVE(APP_LINKS).
3400
3401 2018-06-27  Jonathan Bedard  <jbedard@apple.com>
3402
3403         Build fix after r233266 
3404         https://bugs.webkit.org/show_bug.cgi?id=187024
3405         <rdar://problem/39759057>
3406
3407         Unreviewed build fix.
3408
3409         * pal/cf/CoreMediaSoftLink.cpp: Do not soft-link CMSampleBufferCallForEachSample for
3410         iOS 12 and up on iPhone device and simulator.
3411         * pal/cf/CoreMediaSoftLink.h: Ditto.
3412
3413 2018-06-27  Jonathan Bedard  <jbedard@apple.com>
3414
3415         Enable WebKit iOS 12 build
3416         https://bugs.webkit.org/show_bug.cgi?id=187024
3417         <rdar://problem/39759057>
3418
3419         Reviewed by David Kilzer.
3420
3421         * pal/cf/CoreMediaSoftLink.cpp: Condition some CoreMedia functions on version.
3422         * pal/cf/CoreMediaSoftLink.h: Ditto.
3423         * pal/spi/cocoa/NSXPCConnectionSPI.h: Use XPCSPI.h instead of xpc.h.
3424         * pal/spi/ios/QuickLookSPI.h: QLItem adopts QLPreviewItem.
3425         * pal/spi/ios/SystemPreviewSPI.h: Fix compiler errors.
3426
3427 2018-06-26  Wenson Hsieh  <wenson_hsieh@apple.com>
3428
3429         [iPad apps on macOS] Unable to interact with video elements that have started playing
3430         https://bugs.webkit.org/show_bug.cgi?id=187073
3431         <rdar://problem/40591107>
3432
3433         Reviewed by Tim Horton.
3434
3435         Define an SPI method on CALayer. See WebKit ChangeLog for more detail.
3436
3437         * pal/spi/cocoa/QuartzCoreSPI.h:
3438
3439 2018-06-23  Yusuke Suzuki  <utatane.tea@gmail.com>
3440
3441         [WTF] Add user-defined literal for ASCIILiteral
3442         https://bugs.webkit.org/show_bug.cgi?id=186839
3443
3444         Reviewed by Darin Adler.
3445
3446         * pal/unix/LoggingUnix.cpp:
3447         (PAL::logLevelString):
3448
3449 2018-06-22  Timothy Hatcher  <timothy@apple.com>
3450
3451         Corner of two scroll bars is white with dark mode enabled.
3452         https://bugs.webkit.org/show_bug.cgi?id=186819
3453         rdar://problem/40434350
3454
3455         Reviewed by Tim Horton.
3456
3457         * PAL.xcodeproj/project.pbxproj:
3458         * pal/spi/mac/CoreUISPI.h: Added.
3459         * pal/spi/mac/NSAppearanceSPI.h: Added.
3460
3461 2018-06-21  Ryan Haddad  <ryanhaddad@apple.com>
3462
3463         Unreviewed attempt to fix the build after r233052.
3464
3465         * pal/spi/cocoa/AVKitSPI.h:
3466
3467 2018-06-21  Jer Noble  <jer.noble@apple.com>
3468
3469         [Fullscreen] Use secondary glyph style for fullscreen controls
3470         https://bugs.webkit.org/show_bug.cgi?id=186862
3471         <rdar://problem/41212210>
3472
3473         Reviewed by Tim Horton.
3474
3475         * pal/spi/cocoa/AVKitSPI.h:
3476
3477 2018-06-15  Jonathan Bedard  <jbedard@apple.com>
3478
3479         Complex text handling should opt out of bounded text layout (follow-up fix)
3480         https://bugs.webkit.org/show_bug.cgi?id=186571
3481         <rdar://problem/40801429>
3482
3483         Reviewed by Zalan Bujtas.
3484
3485         * pal/spi/cocoa/CoreTextSPI.h: Add declaration for OpenSource Mojave builds.
3486
3487 2018-06-14  Timothy Hatcher  <timothy@apple.com>
3488
3489         Expose more semantic system colors.
3490
3491         https://bugs.webkit.org/show_bug.cgi?id=186609
3492         rdar://problem/39287277
3493
3494         Reviewed by Tim Horton.
3495
3496         * pal/spi/cocoa/NSColorSPI.h: Added findHighlightColor and placeholderTextColor.
3497
3498 2018-06-09  Dan Bernstein  <mitz@apple.com>
3499
3500         [Xcode] Clean up and modernize some build setting definitions
3501         https://bugs.webkit.org/show_bug.cgi?id=186463
3502
3503         Reviewed by Sam Weinig.
3504
3505         * Configurations/Base.xcconfig: Removed definition for macOS 10.11.
3506         * Configurations/DebugRelease.xcconfig: Ditto.
3507         * Configurations/FeatureDefines.xcconfig: Simplified the definitions of ENABLE_APPLE_PAY and
3508           ENABLE_VIDEO_PRESENTATION_MODE now macOS 10.12 is the earliest supported version.
3509         * Configurations/PAL.xcconfig: Removed WK_PRIVATE_FRAMEWORKS_DIR, because the private
3510           framework stubs aren’t used when linking PAL.
3511         * Configurations/Version.xcconfig: Removed definition for macOS 10.11.
3512         * Configurations/WebKitTargetConditionals.xcconfig: Ditto.
3513
3514 2018-06-09  Dan Bernstein  <mitz@apple.com>
3515
3516         Added missing file references to the Configuration group.
3517
3518         * PAL.xcodeproj/project.pbxproj:
3519
3520 2018-06-08  Darin Adler  <darin@apple.com>
3521
3522         [Cocoa] Remove all uses of NSAutoreleasePool as part of preparation for ARC
3523         https://bugs.webkit.org/show_bug.cgi?id=186436
3524
3525         Reviewed by Anders Carlsson.
3526
3527         * PAL.xcodeproj/project.pbxproj: Removed FoundationSPI.h.
3528         * pal/PlatformMac.cmake: Ditto.
3529         * pal/spi/cocoa/FoundationSPI.h: Moved into WTF project.
3530
3531 2018-06-08  Wenson Hsieh  <wenson_hsieh@apple.com>
3532
3533         [WebKit on watchOS] Upstream watchOS source additions to OpenSource (Part 1)
3534         https://bugs.webkit.org/show_bug.cgi?id=186442
3535         <rdar://problem/40879364>
3536
3537         Reviewed by Tim Horton.
3538
3539         * Configurations/FeatureDefines.xcconfig:
3540
3541 2018-06-08  Darin Adler  <darin@apple.com>
3542
3543         [Cocoa] Make more of our soft linking ARC-compatible
3544         https://bugs.webkit.org/show_bug.cgi?id=186437
3545
3546         Reviewed by Daniel Bates.
3547
3548         * pal/spi/cocoa/DataDetectorsCoreSPI.h: Removed unused DDURLScheme.
3549
3550 2018-06-08  Jonathan Bedard  <jbedard@apple.com>
3551
3552         [Mojave] Enable build
3553         https://bugs.webkit.org/show_bug.cgi?id=186401
3554         <rdar://problem/39759031>
3555
3556         Reviewed by Dan Bernstein.
3557
3558         * pal/spi/cg/CoreGraphicsSPI.h: Declare CGSShutdownServerConnections().
3559         * pal/spi/cocoa/QuartzCoreSPI.h: Declare [CAContext setAllowsCGSConnections] in Mojave + builds.
3560         * pal/spi/mac/DataDetectorsSPI.h: Declare DDResultGetCFTypeID in Mojave+ builds.
3561
3562 2018-06-08  Brent Fulgham  <bfulgham@apple.com>
3563
3564         REGRESSION (r230930): Link drag image is very blurry
3565         https://bugs.webkit.org/show_bug.cgi?id=186435
3566         <rdar://problem/40797202>
3567
3568         Reviewed by Tim Horton.
3569
3570         Add the necessary NSImage SPI to our SPI headers.
3571
3572         * PAL.xcodeproj/project.pbxproj:
3573         * pal/spi/mac/NSImageSPI.h: Added.
3574
3575 2018-06-07  Chris Dumez  <cdumez@apple.com>
3576
3577         Add base class to get WeakPtrFactory member and avoid some boilerplate code
3578         https://bugs.webkit.org/show_bug.cgi?id=186407
3579
3580         Reviewed by Brent Fulgham.
3581
3582         186407_CanMakeWeakPtr
3583
3584         * pal/system/mac/SystemSleepListenerMac.h:
3585         * pal/system/mac/SystemSleepListenerMac.mm:
3586         (PAL::SystemSleepListenerMac::SystemSleepListenerMac):
3587
3588 2018-06-06  Simon Fraser  <simon.fraser@apple.com>
3589
3590         Logging macros are sensitive to pal/Logging.h vs Logging.h include order
3591         https://bugs.webkit.org/show_bug.cgi?id=185893
3592
3593         Reviewed by Zalan Bujtas.
3594         
3595         Remove unused functionality from pal/Logging code until we need it. Primarily this removes the
3596         #define LOG_CHANNEL_PREFIX from pal/Logging.h, which caused include-order problems with unified sources.
3597         
3598         Future work should move shared logging code up to WTF (or into PAL).
3599
3600         * PAL.xcodeproj/project.pbxproj:
3601         * pal/CMakeLists.txt:
3602         * pal/LogInitialization.h: Removed.
3603         * pal/Logging.cpp:
3604         (PAL::isLogChannelEnabled): Deleted.
3605         (PAL::setLogChannelToAccumulate): Deleted.
3606         (PAL::initializeLogChannelsIfNecessary): Deleted.
3607         * pal/Logging.h:
3608         * pal/cocoa/LoggingCocoa.mm: Removed.
3609
3610 2018-06-05  Brent Fulgham  <bfulgham@apple.com>
3611
3612         Adjust compile and runtime flags to match shippable state of features
3613         https://bugs.webkit.org/show_bug.cgi?id=186319
3614         <rdar://problem/40352045>
3615
3616         Reviewed by Maciej Stachowiak, Jon Lee, and others.
3617
3618         * Configurations/DebugRelease.xcconfig: Update to match WebKit definition of
3619         WK_RELOCATABLE_FRAMEWORKS so that ENABLE(EXPERIMENTAL_FEATURES) is defined properly for
3620         Cocoa builds.
3621         * Configurations/FeatureDefines.xcconfig: Don't build ENABLE_INPUT_TYPE_COLOR
3622         or ENABLE_INPUT_TYPE_COLOR_POPOVER.
3623
3624 2018-06-05  Brent Fulgham  <bfulgham@apple.com>
3625
3626         Revise DEFAULT_EXPERIMENTAL_FEATURES_ENABLED to work properly on Apple builds
3627         https://bugs.webkit.org/show_bug.cgi?id=186286
3628         <rdar://problem/40782992>
3629
3630         Reviewed by Dan Bernstein.
3631
3632         Use the WK_RELOCATABLE_FRAMEWORKS flag (which is always defined for non-production builds)
3633         to define ENABLE(EXPERIMENTAL_FEATURES) so that we do not need to manually
3634         change this flag when preparing for a production release.
3635
3636         * Configurations/FeatureDefines.xcconfig: Use WK_RELOCATABLE_FRAMEWORKS to determine
3637         whether experimental features should be enabled, and use it to properly define the
3638         feature flag.
3639
3640 2018-06-04  Dan Bernstein  <mitz@apple.com>
3641
3642         Made PAL build with the macOS Mojave SDK.
3643
3644         * pal/cf/CoreMediaSoftLink.cpp:
3645         * pal/cf/CoreMediaSoftLink.h:
3646
3647 2018-06-04  Wenson Hsieh  <wenson_hsieh@apple.com>
3648
3649         [WebKit on watchOS] Remove all uses of the EXTRA_ZOOM_MODE compiler flag
3650         https://bugs.webkit.org/show_bug.cgi?id=186279
3651
3652         Reviewed by Tim Horton.
3653
3654         Replaces uses of ENABLE(EXTRA_ZOOM_MODE) with PLATFORM(WATCHOS).
3655
3656         * pal/cf/CoreMediaSoftLink.h:
3657         * pal/spi/cocoa/AVKitSPI.h:
3658
3659 2018-05-30  Andy Estes  <aestes@apple.com>
3660
3661         [Cocoa] Add an SPI to suppress connection termination errors from CFNetwork when network interfaces change
3662         https://bugs.webkit.org/show_bug.cgi?id=186107
3663         <rdar://problem/39338957>
3664
3665         Reviewed by Brady Eidson.
3666
3667         * pal/spi/cf/CFNetworkSPI.h: Declared new SPI.
3668
3669 2018-05-27  Dan Bernstein  <mitz@apple.com>
3670
3671         Reverted the changes made for https://webkit.org/b/186016
3672
3673         They broke the USE(APPLE_INTERNAL_SDK) Sierra build.
3674
3675 2018-05-25  Chris Dumez  <cdumez@apple.com>
3676
3677         Drop support for NSURLCache in WebKit2
3678         https://bugs.webkit.org/show_bug.cgi?id=185990
3679
3680         Reviewed by Geoffrey Garen.
3681
3682         Drop support for NSURLCache in WebKit2 now that the WebKit network cache is stable.
3683
3684         * pal/spi/cf/CFNetworkSPI.h:
3685
3686 2018-05-24  Jiewen Tan  <jiewen_tan@apple.com>
3687
3688         Adopt SecKeyProxy SPI in certificate based challenge response code
3689         https://bugs.webkit.org/show_bug.cgi?id=185848
3690         <rdar://problem/34586181>
3691
3692         Reviewed by Alex Christensen.
3693
3694         Add SPIs to support SecKeyProxy and convert xpc_endpoint_t to NSXPCListenerEndpoint vice versa.
3695
3696         * PAL.xcodeproj/project.pbxproj:
3697         * pal/spi/cocoa/NSXPCConnectionSPI.h: Added.
3698         * pal/spi/cocoa/SecKeyProxySPI.h: Added.
3699
3700 2018-05-24  Chris Dumez  <cdumez@apple.com>
3701
3702         Some of the work in initializeLogChannelsIfNecessary() is unnecessary for release builds
3703         https://bugs.webkit.org/show_bug.cgi?id=185951
3704
3705         Reviewed by Geoffrey Garen.
3706
3707         Some of the work in initializeLogChannelsIfNecessary() is unnecessary for release builds and slows down
3708         launch time. In particular, it is unnecessary to read NSDefaults to figure out which logging channels
3709         should be enabled.
3710
3711         * pal/cocoa/LoggingCocoa.mm:
3712         (PAL::logLevelString):
3713         * pal/unix/LoggingUnix.cpp:
3714         (PAL::logLevelString):
3715         * pal/win/LoggingWin.cpp:
3716         (PAL::logLevelString):
3717
3718 2018-05-22  Simon Fraser  <simon.fraser@apple.com>
3719
3720         Add notifyutil callbacks to dump the memory cache, and the list of live Pages and Documents
3721         https://bugs.webkit.org/show_bug.cgi?id=185853
3722
3723         Reviewed by Keith Miller.
3724         
3725         Compile registerNotifyCallback in release builds.
3726
3727         * pal/Logging.cpp:
3728         (PAL::registerNotifyCallback):
3729         * pal/Logging.h:
3730
3731 2018-05-22  Ryan Haddad  <ryanhaddad@apple.com>
3732
3733         Unreviewed, rolling out r232052.
3734
3735         Breaks internal builds.
3736
3737         Reverted changeset:
3738
3739         "Use more C++17"
3740         https://bugs.webkit.org/show_bug.cgi?id=185176
3741         https://trac.webkit.org/changeset/232052
3742
3743 2018-05-21  Yusuke Suzuki  <utatane.tea@gmail.com>
3744
3745         Use more C++17
3746         https://bugs.webkit.org/show_bug.cgi?id=185176
3747
3748         Reviewed by JF Bastien.
3749
3750         * Configurations/Base.xcconfig:
3751
3752 2018-05-21  Jer Noble  <jer.noble@apple.com>
3753
3754         Complete fix for enabling modern EME by default
3755         https://bugs.webkit.org/show_bug.cgi?id=185770
3756         <rdar://problem/40368220>
3757
3758         Reviewed by Eric Carlson.
3759
3760         * Configurations/FeatureDefines.xcconfig:
3761
3762 2018-05-18  Commit Queue  <commit-queue@webkit.org>
3763
3764         Unreviewed, rolling out r231982.
3765         https://bugs.webkit.org/show_bug.cgi?id=185793
3766
3767         Caused layout test failures (Requested by realdawei on
3768         #webkit).
3769
3770         Reverted changeset:
3771
3772         "Complete fix for enabling modern EME by default"
3773         https://bugs.webkit.org/show_bug.cgi?id=185770
3774         https://trac.webkit.org/changeset/231982
3775
3776 2018-05-18  Jer Noble  <jer.noble@apple.com>
3777
3778         Complete fix for enabling modern EME by default
3779         https://bugs.webkit.org/show_bug.cgi?id=185770
3780         <rdar://problem/40368220>
3781
3782         Reviewed by Eric Carlson.
3783
3784         * Configurations/FeatureDefines.xcconfig:
3785
3786 2018-05-16  Andy VanWagoner  <andy@vanwagoner.family>
3787
3788         Add support for Intl NumberFormat formatToParts
3789         https://bugs.webkit.org/show_bug.cgi?id=185375
3790
3791         Reviewed by Yusuke Suzuki.
3792
3793         Add flag for NumberFormat formatToParts.
3794
3795         * Configurations/FeatureDefines.xcconfig:
3796
3797 2018-05-15  Wenson Hsieh  <wenson_hsieh@apple.com>
3798
3799         PasteboardWebContent's dataInAttributedStringFormat fails to deserialize in the UI process when copying a selection
3800         https://bugs.webkit.org/show_bug.cgi?id=185667
3801         <rdar://problem/40135132>
3802
3803         Reviewed by Tim Horton.
3804
3805         Fixes error logging emitted when copying a text selection due to the secure archiver on iOS being unable to
3806         handle NSAttributedString in the builds where the errors manifest. USE_SECURE_ARCHIVER_FOR_ATTRIBUTED_STRING is
3807         defined to be 1, despite not having the fix for <rdar://problem/31376830>.
3808
3809         * pal/spi/cocoa/NSKeyedArchiverSPI.h:
3810
3811 2018-05-11  Dan Bernstein  <mitz@apple.com>
3812
3813         Follow-up build fix to r231721.
3814
3815         * pal/cf/CoreMediaSoftLink.cpp:
3816         * pal/cf/CoreMediaSoftLink.h:
3817           Unify the conditions between the header and the implementation files, and have watchOS and
3818           tvOS keyed off iOS.
3819
3820 2018-05-11  Jer Noble  <jer.noble@apple.com>
3821
3822         Add CF_NOESCAPE decorators for tvOS and watchOS
3823         https://bugs.webkit.org/show_bug.cgi?id=185560
3824
3825         Reviewed by Dan Bernstein.
3826
3827         * pal/cf/CoreMediaSoftLink.h:
3828
3829 2018-05-08  Sihui Liu  <sihui_liu@apple.com>
3830
3831         Adopt new async _savecookies SPI for keeping networking process active during flushing cookies
3832         https://bugs.webkit.org/show_bug.cgi?id=185261
3833         <rdar://problem/37214391>
3834
3835         Reviewed by Chris Dumez.
3836
3837         * pal/spi/cf/CFNetworkSPI.h:
3838
3839 2018-05-08  Dean Jackson  <dino@apple.com>
3840
3841         Use thumbnails in System Previews
3842         https://bugs.webkit.org/show_bug.cgi?id=185397
3843         <rdar://problem/40039376>
3844
3845         Reviewed by Jon Lee.
3846
3847         * PAL.xcodeproj/project.pbxproj:
3848         * pal/spi/ios/SystemPreviewSPI.h: New file holding the non-public parts of System Preview.
3849
3850 2018-05-04  Tim Horton  <timothy_horton@apple.com>
3851
3852         Shift to a lower-level framework for simplifying URLs
3853         https://bugs.webkit.org/show_bug.cgi?id=185334
3854
3855         Reviewed by Dan Bernstein.
3856
3857         * PAL.xcodeproj/project.pbxproj:
3858         * pal/PlatformMac.cmake:
3859         * pal/spi/cocoa/URLFormattingSPI.h: Renamed from Source/WebCore/PAL/pal/spi/cocoa/LinkPresentationSPI.h.
3860
3861 2018-05-03  Eric Carlson  <eric.carlson@apple.com>
3862
3863         [iOS] Provide audio route information when invoking AirPlay picker
3864         https://bugs.webkit.org/show_bug.cgi?id=185199
3865         <rdar://problem/39853103>
3866
3867         Another attempt at an unreviewed build fix.
3868
3869         * pal/spi/mac/AVFoundationSPI.h:
3870
3871 2018-05-02  Eric Carlson  <eric.carlson@apple.com>
3872
3873         [iOS] Provide audio route information when invoking AirPlay picker
3874         https://bugs.webkit.org/show_bug.cgi?id=185199
3875         <rdar://problem/39853103>
3876
3877         Unreviewed, another attempted build fix.
3878
3879         * pal/spi/mac/AVFoundationSPI.h:
3880
3881 2018-05-02  Alex Christensen  <achristensen@webkit.org>
3882
3883         Add WKWebsiteDataStorePrivate._proxyConfiguration SPI
3884         https://bugs.webkit.org/show_bug.cgi?id=185179
3885
3886         Reviewed by Andy Estes.
3887
3888         * pal/spi/cf/CFNetworkSPI.h:
3889
3890 2018-05-02  Eric Carlson  <eric.carlson@apple.com>
3891
3892         [iOS] Provide audio route information when invoking AirPlay picker
3893         https://bugs.webkit.org/show_bug.cgi?id=185199
3894         <rdar://problem/39853103>
3895
3896         Unreviewed build fix.
3897
3898         * pal/spi/mac/AVFoundationSPI.h:
3899
3900 2018-05-02  Eric Carlson  <eric.carlson@apple.com>
3901
3902         [iOS] Provide audio route information when invoking AirPlay picker
3903         https://bugs.webkit.org/show_bug.cgi?id=185199
3904         <rdar://problem/39853103>
3905
3906         Reviewed by Jer Noble.
3907
3908         * pal/spi/mac/AVFoundationSPI.h: Add additional AVAudioSession SPI.
3909
3910 2018-05-01  Jer Noble  <jer.noble@apple.com>
3911
3912         Protect against changes to CoreMedia function signatures
3913         https://bugs.webkit.org/show_bug.cgi?id=185167
3914
3915         Reviewed by Eric Carlson.
3916
3917         * pal/cf/CoreMediaSoftLink.cpp:
3918         * pal/cf/CoreMediaSoftLink.h:
3919
3920 2018-05-01  Oleksandr Skachkov  <gskachkov@gmail.com>
3921
3922         WebAssembly: add support for stream APIs - JavaScript API
3923         https://bugs.webkit.org/show_bug.cgi?id=183442
3924
3925         Reviewed by Yusuke Suzuki and JF Bastien.
3926
3927         Add WEBASSEMBLY_STREAMING_API feature flag
3928
3929         * Configurations/FeatureDefines.xcconfig:
3930
3931 2018-04-26  Jer Noble  <jer.noble@apple.com>
3932
3933         WK_COCOA_TOUCH all the things.
3934         https://bugs.webkit.org/show_bug.cgi?id=185006
3935
3936         Reviewed by Tim Horton.
3937
3938         * Configurations/PAL.xcconfig:
3939
3940 2018-04-26  Per Arne Vollan  <pvollan@apple.com>
3941
3942         Disable content filtering in minimal simulator mode
3943         https://bugs.webkit.org/show_bug.cgi?id=185027
3944         <rdar://problem/39736091>
3945
3946         Reviewed by Jer Noble.
3947
3948         * Configurations/FeatureDefines.xcconfig:
3949
3950 2018-04-26  Andy VanWagoner  <thetalecrafter@gmail.com>
3951
3952         [INTL] Implement Intl.PluralRules
3953         https://bugs.webkit.org/show_bug.cgi?id=184312
3954
3955         Reviewed by JF Bastien.
3956
3957         Added Intl.PluralRules feature flag.
3958
3959         * Configurations/FeatureDefines.xcconfig:
3960
3961 2018-04-24  Jer Noble  <jer.noble@apple.com>
3962
3963         Don't add system framework paths to FRAMEWORK_SEARCH_PATHS
3964         https://bugs.webkit.org/show_bug.cgi?id=184786
3965
3966         Reviewed by Tim Horton.
3967
3968         * Configurations/PAL.xcconfig:
3969
3970 2018-04-23  Daniel Bates  <dabates@apple.com>
3971
3972         Implement Same-Site cookies
3973         https://bugs.webkit.org/show_bug.cgi?id=159464
3974         <rdar://problem/27196358>
3975
3976         Reviewed by Brent Fulgham.
3977
3978         Forward declare some SPI.
3979
3980         * pal/spi/cf/CFNetworkSPI.h:
3981
3982 2018-04-23  Zalan Bujtas  <zalan@apple.com>
3983
3984         [LayoutFormattingContext] Initial commit.
3985         https://bugs.webkit.org/show_bug.cgi?id=184896
3986
3987         Reviewed by Antti Koivisto.
3988
3989         * Configurations/FeatureDefines.xcconfig:
3990
3991 2018-04-23  Daniel Bates  <dabates@apple.com>
3992
3993         Implement Same-Site cookies
3994         https://bugs.webkit.org/show_bug.cgi?id=159464
3995         <rdar://problem/27196358>
3996
3997         Reviewed by Brent Fulgham.
3998
3999         Forward declare some SPI.
4000
4001         * pal/spi/cf/CFNetworkSPI.h:
4002
4003 2018-04-20  Tim Horton  <timothy_horton@apple.com>
4004
4005         Adjust geolocation feature flag
4006         https://bugs.webkit.org/show_bug.cgi?id=184856
4007
4008         Reviewed by Wenson Hsieh.
4009
4010         * Configurations/FeatureDefines.xcconfig:
4011
4012 2018-04-18  Jer Noble  <jer.noble@apple.com>
4013
4014         Don't put build products into WK_ALTERNATE_WEBKIT_SDK_PATH for engineering builds
4015         https://bugs.webkit.org/show_bug.cgi?id=184762
4016
4017         Reviewed by Dan Bernstein.
4018
4019         * Configurations/CopyPALHeaders.xcconfig:
4020         * Configurations/PAL.xcconfig:
4021
4022 2018-04-19  David Kilzer  <ddkilzer@apple.com>
4023
4024         Enable Objective-C weak references
4025         <https://webkit.org/b/184789>
4026         <rdar://problem/39571716>
4027
4028         Reviewed by Dan Bernstein.
4029
4030         * Configurations/Base.xcconfig:
4031         (CLANG_ENABLE_OBJC_WEAK): Enable.
4032
4033 2018-04-17  Eric Carlson  <eric.carlson@apple.com>
4034
4035         [iOS] AirPlay device name is sometimes wrong
4036         https://bugs.webkit.org/show_bug.cgi?id=184543
4037         <rdar://problem/39105498>
4038
4039         Reviewed by Jer Noble.
4040
4041         * pal/spi/mac/AVFoundationSPI.h: Declare more AVOutputContext SPI.
4042
4043 2018-04-16  Brent Fulgham  <bfulgham@apple.com>
4044
4045         [macOS] Don't establish unneeded Dock connections
4046         https://bugs.webkit.org/show_bug.cgi?id=184664
4047         <rdar://problem/16863698>
4048
4049         Reviewed by Simon Fraser.
4050
4051         There is no reason for the WebContent or Plugin processes to interact with
4052         the Dock. We should tell AppKit that we don't want this connection, and to
4053         avoid creating such connections.
4054
4055         * pal/spi/mac/NSApplicationSPI.h: Add Dock connection declaration.
4056
4057 2018-04-09  John Wilander  <wilander@apple.com>
4058
4059         Refactor Ignore HSTS code
4060         https://bugs.webkit.org/show_bug.cgi?id=184433
4061         <rdar://problem/39298238>
4062
4063         Reviewed by Darin Adler.
4064
4065         This patch refactors our ignore HSTS code. The convenience functions are moved
4066         out of CFNetwork SPI in PAL, and into where they are used. It also switches
4067         from performSelector: calls to straight function calls, after checking that
4068         there is a responder.
4069
4070         * pal/spi/cf/CFNetworkSPI.h:
4071         (schemeWasUpgradedDueToDynamicHSTS): Deleted.
4072         (setIgnoreHSTS): Deleted.
4073         (ignoreHSTS): Deleted.
4074
4075 2018-04-07  Timothy Hatcher  <timothy@apple.com>
4076
4077         Use the system's link color when system appearance is desired for a WebView.
4078
4079         https://bugs.webkit.org/show_bug.cgi?id=184353
4080         rdar://problem/9420053
4081
4082         Reviewed by Wenson Hsieh.
4083
4084         * pal/spi/cocoa/NSColorSPI.h: Added linkColor.
4085
4086 2018-04-05  John Wilander  <wilander@apple.com>
4087
4088         Add necessary colon to CFNetwork selector
4089         https://bugs.webkit.org/show_bug.cgi?id=184335
4090         <rdar://problem/39213124>
4091
4092         Reviewed by Brent Fulgham.
4093
4094         * pal/spi/cf/CFNetworkSPI.h:
4095         (setIgnoreHSTS):
4096
4097 2018-04-04  Per Arne Vollan  <pvollan@apple.com>
4098
4099         The layout test fast/canvas/canvas-blending-global-alpha.html is failing when the WebContent process does not have WindowServer access.
4100         https://bugs.webkit.org/show_bug.cgi?id=183752
4101
4102         Reviewed by Brent Fulgham.
4103
4104         * pal/spi/cg/CoreGraphicsSPI.h:
4105
4106 2018-04-02  Eric Carlson  <eric.carlson@apple.com>
4107
4108         Define AVKit softlink macro
4109         https://bugs.webkit.org/show_bug.cgi?id=184241
4110
4111         Reviewed by Jer Noble.
4112
4113         * pal/cf/CoreMediaSoftLink.h:
4114
4115 2018-03-23  Tim Horton  <timothy_horton@apple.com>
4116
4117         Fix the !HAVE(APP_LINKS) build
4118         https://bugs.webkit.org/show_bug.cgi?id=183974
4119
4120         Reviewed by Dan Bernstein.
4121
4122         * pal/spi/cocoa/LaunchServicesSPI.h:
4123         This header is not very !HAVE(APP_LINKS) friendly.
4124
4125 2018-03-23  Tim Horton  <timothy_horton@apple.com>
4126
4127         Fix the build with no pasteboard
4128         https://bugs.webkit.org/show_bug.cgi?id=183973
4129
4130         Reviewed by Dan Bernstein.
4131
4132         * Configurations/FeatureDefines.xcconfig:
4133
4134 2018-03-22  Tim Horton  <timothy_horton@apple.com>
4135
4136         Adopt WK_ALTERNATE_FRAMEWORKS_DIR in WebCore
4137         https://bugs.webkit.org/show_bug.cgi?id=183930
4138         <rdar://problem/38782249>
4139
4140         Reviewed by Dan Bernstein.
4141
4142         * Configurations/Base.xcconfig:
4143         * Configurations/CopyPALHeaders.xcconfig:
4144         * Configurations/PAL.xcconfig:
4145
4146 2018-03-22  Tim Horton  <timothy_horton@apple.com>
4147
4148         Improve readability of WebCore's OTHER_LDFLAGS
4149         https://bugs.webkit.org/show_bug.cgi?id=183909
4150         <rdar://problem/38760992>
4151
4152         Reviewed by Dan Bernstein.
4153
4154         * Configurations/Base.xcconfig:
4155         * Configurations/FeatureDefines.xcconfig:
4156
4157 2018-03-21  Brent Fulgham  <bfulgham@apple.com>
4158
4159         Remove temporary build fix now that underlying issue is resolved
4160         https://bugs.webkit.org/show_bug.cgi?id=183854
4161         <rdar://problem/37198715>
4162
4163         Reviewed by Eric Carlson.
4164
4165         The build environment issues that forced us to disable this setting
4166         have been corrected, so this should be turned on for all builds.
4167
4168         * pal/spi/cf/CFNetworkSPI.h:
4169
4170 2018-03-20  Tim Horton  <timothy_horton@apple.com>
4171
4172         Enable the minimal simulator feature flag when appropriate
4173         https://bugs.webkit.org/show_bug.cgi?id=183807
4174
4175         Reviewed by Dan Bernstein.
4176
4177         * Configurations/FeatureDefines.xcconfig:
4178
4179 2018-03-20  Tim Horton  <timothy_horton@apple.com>
4180
4181         Add and adopt WK_PLATFORM_NAME and adjust default feature defines
4182         https://bugs.webkit.org/show_bug.cgi?id=183758
4183         <rdar://problem/38017644>
4184
4185         Reviewed by Dan Bernstein.
4186
4187         * Configurations/FeatureDefines.xcconfig:
4188
4189 2018-03-19  Jiewen Tan  <jiewen_tan@apple.com>
4190
4191         Unreviewed, another quick fix for r229699
4192
4193         Restricts ENABLE_WEB_AUTHN to only macOS and iOS.
4194
4195         * Configurations/FeatureDefines.xcconfig:
4196
4197 2018-03-19  Eric Carlson  <eric.carlson@apple.com>
4198
4199         [Extra zoom mode] Require fullscreen for video playback
4200         https://bugs.webkit.org/show_bug.cgi?id=183742
4201         <rdar://problem/38235862>
4202
4203         Reviewed by Jer Noble.
4204
4205         * pal/spi/cocoa/AVKitSPI.h:
4206
4207 2018-03-19  Jiewen Tan  <jiewen_tan@apple.com>
4208
4209         Unreviewed, a quick fix for r229699
4210
4211         * pal/spi/cocoa/DeviceIdentitySPI.h:
4212
4213 2018-03-17  Jiewen Tan  <jiewen_tan@apple.com>
4214
4215         [WebAuthN] Implement authenticatorMakeCredential
4216         https://bugs.webkit.org/show_bug.cgi?id=183527
4217         <rdar://problem/35275886>
4218
4219         Reviewed by Brent Fulgham.
4220
4221         * PAL.xcodeproj/project.pbxproj:
4222         * pal/spi/cocoa/DeviceIdentitySPI.h: Copied from Source/WebKit/UIProcess/CredentialManagement/WebCredentialsMessengerProxy.h.
4223
4224 2018-03-14  Tim Horton  <timothy_horton@apple.com>
4225
4226         Fix the build after r229567
4227
4228         * Configurations/FeatureDefines.xcconfig:
4229
4230 2018-03-13  Dean Jackson  <dino@apple.com>
4231
4232         Fix some build errors and cleanup QuickLookSPI.h
4233         https://bugs.webkit.org/show_bug.cgi?id=183599
4234
4235         Reviewed by Ryan Haddad.
4236
4237         * pal/spi/ios/QuickLookSPI.h:
4238
4239 2018-03-12  Dean Jackson  <dino@apple.com>
4240
4241         Add a WKWebViewContentProvider for system previews
4242         https://bugs.webkit.org/show_bug.cgi?id=183582
4243         <rdar://problem/38393569>
4244
4245         Reviewed by Tim Horton.
4246
4247         Add some QuickLook SPI.
4248
4249         * pal/spi/ios/QuickLookSPI.h:
4250
4251 2018-03-12  Don Olmstead  <don.olmstead@sony.com>
4252
4253         [CMake][Win] Forwarding headers of WTF and PAL are copied twice in Visual Studio builds
4254         https://bugs.webkit.org/show_bug.cgi?id=183240
4255
4256         Reviewed by Alex Christensen.
4257
4258         * pal/CMakeLists.txt:
4259         * pal/PlatformAppleWin.cmake:
4260         * pal/PlatformGTK.cmake:
4261         * pal/PlatformMac.cmake:
4262         * pal/PlatformWPE.cmake:
4263         * pal/PlatformWinCairo.cmake:
4264
4265 2018-03-12  Tim Horton  <timothy_horton@apple.com>
4266
4267         Stop using SDK conditionals to control feature definitions
4268         https://bugs.webkit.org/show_bug.cgi?id=183430
4269         <rdar://problem/38251619>
4270
4271         Reviewed by Dan Bernstein.
4272
4273         * Configurations/FeatureDefines.xcconfig:
4274         * Configurations/WebKitTargetConditionals.xcconfig: Renamed.
4275
4276 2018-03-12  Yoav Weiss  <yoav@yoav.ws>
4277
4278         Runtime flag for link prefetch and remove link subresource.
4279         https://bugs.webkit.org/show_bug.cgi?id=183540
4280
4281         Reviewed by Chris Dumez.
4282
4283         Remove the LINK_PREFETCH build time flag.
4284
4285         * Configurations/FeatureDefines.xcconfig:
4286
4287 2018-03-12  Tim Horton  <timothy_horton@apple.com>
4288
4289         Use a different SPI header for some AudioToolbox enums
4290         https://bugs.webkit.org/show_bug.cgi?id=183574
4291         <rdar://problem/38385889>
4292
4293         Reviewed by Anders Carlsson.
4294
4295         * PAL.xcodeproj/project.pbxproj:
4296         * pal/spi/cocoa/AudioToolboxSPI.h: Added.
4297
4298 2018-03-07  Tim Horton  <timothy_horton@apple.com>
4299
4300         Sort and separate FeatureDefines.xcconfig
4301         https://bugs.webkit.org/show_bug.cgi?id=183427
4302
4303         Reviewed by Dan Bernstein.
4304
4305         * Configurations/FeatureDefines.xcconfig:
4306         Sort and split FeatureDefines into paragraphs
4307         (to make it easier to sort later).
4308
4309 2018-03-05  Yusuke Suzuki  <utatane.tea@gmail.com>
4310
4311         Fix std::make_unique / new[] using system malloc
4312         https://bugs.webkit.org/show_bug.cgi?id=182975
4313
4314         Reviewed by JF Bastien.
4315
4316         Use Vector instead.
4317
4318         * pal/win/LoggingWin.cpp:
4319         (PAL::logLevelString):
4320
4321 2018-03-04  Yusuke Suzuki  <utatane.tea@gmail.com>
4322
4323         [WTF] Move currentCPUTime and sleep(Seconds) to CPUTime.h and Seconds.h respectively
4324         https://bugs.webkit.org/show_bug.cgi?id=183312
4325
4326         Reviewed by Mark Lam.
4327
4328         Remove wtf/CurrentTime.h include pragma.
4329
4330         * pal/system/ClockGeneric.cpp:
4331
4332 2018-03-04  Tim Horton  <timothy_horton@apple.com>
4333
4334         Make !ENABLE(DATA_DETECTION) iOS build actually succeed
4335         https://bugs.webkit.org/show_bug.cgi?id=183283
4336         <rdar://problem/38062148>
4337
4338         Reviewed by Sam Weinig.
4339
4340         * Configurations/FeatureDefines.xcconfig:
4341
4342 2018-03-01  Yusuke Suzuki  <utatane.tea@gmail.com>
4343
4344         Remove monotonicallyIncreasingTime
4345         https://bugs.webkit.org/show_bug.cgi?id=182911
4346
4347         Reviewed by Michael Catanzaro.
4348
4349         * pal/system/ClockGeneric.cpp:
4350         (PAL::ClockGeneric::currentTime const):
4351         (PAL::ClockGeneric::now const):
4352         * pal/system/ClockGeneric.h:
4353
4354 2018-02-27  Tim Horton  <timothy_horton@apple.com>
4355
4356         Stop using deprecated CADisplay SPI
4357         https://bugs.webkit.org/show_bug.cgi?id=183150
4358         <rdar://problem/37918297>
4359
4360         Reviewed by Simon Fraser.
4361
4362         * pal/spi/cocoa/QuartzCoreSPI.h:
4363         Switch to the more modern way of getting the display name.
4364
4365 2018-02-27  Ryan Haddad  <ryanhaddad@apple.com>
4366
4367         Unreviewed, rolling out r229055.
4368
4369         Breaks internal builds.
4370
4371         Reverted changeset:
4372
4373         "Stop using deprecated CADisplay SPI"
4374         https://bugs.webkit.org/show_bug.cgi?id=183150
4375      &n