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