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