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