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