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