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