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