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