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