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