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