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