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