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