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