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