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