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