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