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