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