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