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