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