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