1 2019-03-01 Conrad Shultz <conrad_shultz@apple.com>
3 Improper use of PLATFORM(TVOS) in PAL
4 https://bugs.webkit.org/show_bug.cgi?id=195215
6 Reviewed by Darin Adler.
8 There are a couple stray uses of PLATFORM(TVOS) in PAL. The correct usage is
11 * pal/spi/cocoa/NSKeyedArchiverSPI.h:
12 * pal/spi/cocoa/NSProgressSPI.h:
14 2019-03-03 Tim Horton <timothy_horton@apple.com>
16 Remove some more unused 32-bit code
17 https://bugs.webkit.org/show_bug.cgi?id=195255
19 Reviewed by Darin Adler.
21 * PAL.xcodeproj/project.pbxproj:
22 * pal/PlatformMac.cmake:
23 * pal/spi/cocoa/IOKitSPI.h:
24 * pal/spi/mac/QuickDrawSPI.h: Removed.
26 2019-03-01 Justin Fan <justin_fan@apple.com>
28 [Web GPU] 32-bit builds broken by attempt to disable WebGPU on 32-bit
29 https://bugs.webkit.org/show_bug.cgi?id=195191
31 Rubber-stamped by Dean Jackson.
33 Dropping support for 32-bit entirely, so I'm intentionally leaving 32-bit broken.
35 * Configurations/FeatureDefines.xcconfig:
37 2019-02-28 Justin Fan <justin_fan@apple.com>
39 [Web GPU] Enable Web GPU only on 64-bit
40 https://bugs.webkit.org/show_bug.cgi?id=195139
42 Because Metal is only supported on 64 bit apps.
46 * Configurations/FeatureDefines.xcconfig:
48 2019-02-27 Antoine Quint <graouts@apple.com>
50 Support Pointer Events on macOS
51 https://bugs.webkit.org/show_bug.cgi?id=195008
52 <rdar://problem/47454419>
54 Reviewed by Dean Jackson.
56 * Configurations/FeatureDefines.xcconfig:
58 2019-02-23 Keith Miller <keith_miller@apple.com>
60 Add new mac target numbers
61 https://bugs.webkit.org/show_bug.cgi?id=194955
63 Reviewed by Tim Horton.
65 * Configurations/Base.xcconfig:
66 * Configurations/DebugRelease.xcconfig:
68 2019-02-20 Daniel Bates <dabates@apple.com>
70 Attempt to fix the Apple Internal build following r241828
71 (https://trac.webkit.org/changeset/241828/webkit)
73 Conditionally include a private header.
75 * pal/spi/ios/UIKitSPI.h:
77 2019-02-20 Daniel Bates <dabates@apple.com>
79 [iOS] Tweak UI for focus rings
80 https://bugs.webkit.org/show_bug.cgi?id=194864
81 <rdar://problem/47831886>
83 Reviewed by Brent Fulgham.
87 * pal/ios/UIKitSoftLink.h:
88 * pal/ios/UIKitSoftLink.mm:
89 * pal/spi/ios/UIKitSPI.h:
91 2019-02-20 Timothy Hatcher <timothy@apple.com>
93 RenderThemeIOS should use RenderTheme's color cache instead of its own.
94 https://bugs.webkit.org/show_bug.cgi?id=194822
95 rdar://problem/48208296
97 Reviewed by Tim Horton.
99 * pal/ios/UIKitSoftLink.h:
100 * pal/ios/UIKitSoftLink.mm:
101 * pal/spi/ios/UIKitSPI.h:
103 2019-02-16 Darin Adler <darin@apple.com>
105 Continue reducing use of String::format, now focusing on hex: "%p", "%x", etc.
106 https://bugs.webkit.org/show_bug.cgi?id=194752
108 Reviewed by Daniel Bates.
110 * pal/FileSizeFormatter.cpp:
111 (fileSizeDescription): Use makeString instead of String::format.
113 2019-02-18 Daniel Bates <dabates@apple.com>
115 [iOS] Keyups for non-modifier keys identified as "Dead" when not focused in a content-editable element
116 https://bugs.webkit.org/show_bug.cgi?id=192824
117 <rdar://problem/47100332>
119 Reviewed by Wenson Hsieh.
121 Expose more enumerators.
123 * pal/spi/cocoa/IOKitSPI.h:
125 2019-02-17 David Kilzer <ddkilzer@apple.com>
127 Unreviewed, rolling out r241620.
129 "Causes use-after-free crashes running layout tests with ASan and GuardMalloc."
130 (Requested by ddkilzer on #webkit.)
134 "[WTF] Add environment variable helpers"
135 https://bugs.webkit.org/show_bug.cgi?id=192405
136 https://trac.webkit.org/changeset/241620
138 2019-02-15 Ross Kirsling <ross.kirsling@sony.com>
140 [WTF] Add environment variable helpers
141 https://bugs.webkit.org/show_bug.cgi?id=192405
143 Reviewed by Michael Catanzaro.
145 * pal/unix/LoggingUnix.cpp:
146 (PAL::logLevelString):
147 * pal/win/LoggingWin.cpp:
148 (PAL::logLevelString):
149 Utilize WTF::Environment where possible.
151 2019-02-15 Commit Queue <commit-queue@webkit.org>
153 Unreviewed, rolling out r241559 and r241566.
154 https://bugs.webkit.org/show_bug.cgi?id=194710
156 Causes layout test crashes under GuardMalloc (Requested by
157 ryanhaddad on #webkit).
161 "[WTF] Add environment variable helpers"
162 https://bugs.webkit.org/show_bug.cgi?id=192405
163 https://trac.webkit.org/changeset/241559
165 "Unreviewed build fix for WinCairo Debug after r241559."
166 https://trac.webkit.org/changeset/241566
168 2019-02-14 Ross Kirsling <ross.kirsling@sony.com>
170 [WTF] Add environment variable helpers
171 https://bugs.webkit.org/show_bug.cgi?id=192405
173 Reviewed by Michael Catanzaro.
175 * pal/unix/LoggingUnix.cpp:
176 (PAL::logLevelString):
177 * pal/win/LoggingWin.cpp:
178 (PAL::logLevelString):
179 Utilize WTF::Environment where possible.
181 2019-02-12 Chris Fleizach <cfleizach@apple.com>
183 AX: IsolatedTree: Implement more attributes
184 https://bugs.webkit.org/show_bug.cgi?id=193911
185 <rdar://problem/47599217>
187 Reviewed by Daniel Bates.
189 * pal/spi/mac/HIServicesSPI.h:
191 2019-02-12 Andy Estes <aestes@apple.com>
193 [iOSMac] Enable Parental Controls Content Filtering
194 https://bugs.webkit.org/show_bug.cgi?id=194521
197 Reviewed by Tim Horton.
199 * Configurations/FeatureDefines.xcconfig:
201 2019-02-11 Jer Noble <jer.noble@apple.com>
203 Unreviewed build fix; add a HAVE_CELESTIAL guard around the CelestialSPI.h contents.
205 * pal/spi/ios/CelestialSPI.h:
207 2019-02-12 Michael Catanzaro <mcatanzaro@igalia.com>
209 [WPE][GTK] Sleep disabler code should inhibit idle when a "System" sleep disabler is requested
210 https://bugs.webkit.org/show_bug.cgi?id=194500
212 Reviewed by Carlos Garcia Campos.
214 There are three things wrong with the comment at the top of SleepDisablerGLib's constructor:
216 (1) Nowadays, GNOME suspends the computer automatically on inactivity, and we actually do
217 want to prevent that.
219 (2) Inhibiting idle does affect the autosuspend countdown. So the current code should
220 prevent automatic suspend, just not manual suspend. (I think I stand by my comment that
221 we do not want to inhibit normal suspend, since that would just be annoying.)
223 (3) I don't know why I thought HTMLMediaElement::shouldDisableSleep was suspicious.
225 Anyway, the behavior we want is to ignore the Type argument and just always inhibit idle.
226 That is, treat type=System the same way we current treat type=Display.
228 * pal/system/glib/SleepDisablerGLib.cpp:
229 (PAL::SleepDisablerGLib::SleepDisablerGLib):
231 2019-02-11 Myles C. Maxfield <mmaxfield@apple.com>
233 [Cocoa] Ask platform for generic font family mappings
234 https://bugs.webkit.org/show_bug.cgi?id=187723
235 <rdar://problem/41892438>
237 Reviewed by Brent Fulgham.
239 * pal/spi/cocoa/CoreTextSPI.h:
241 2019-02-11 Jer Noble <jer.noble@apple.com>
243 [Cocoa] Notify AVSystemController of our presenting PID before registering as a Now Playing app.
244 https://bugs.webkit.org/show_bug.cgi?id=194504
246 Reviewed by Eric Carlson.
248 * PAL.xcodeproj/project.pbxproj:
249 * pal/spi/ios/CelestialSPI.h: Renamed from Source/WebKit/Platform/spi/ios/CelestialSPI.h.
251 2019-02-11 Truitt Savell <tsavell@apple.com>
253 Unreviewed, rolling out r241229.
255 Revision broke internal builds for watchOS.
259 "[Cocoa] Ask platform for generic font family mappings"
260 https://bugs.webkit.org/show_bug.cgi?id=187723
261 https://trac.webkit.org/changeset/241229
263 2019-02-08 Myles C. Maxfield <mmaxfield@apple.com>
265 [Cocoa] Ask platform for generic font family mappings
266 https://bugs.webkit.org/show_bug.cgi?id=187723
267 <rdar://problem/41892438>
269 Reviewed by Brent Fulgham.
271 * pal/spi/cocoa/CoreTextSPI.h:
273 2019-02-07 Chris Dumez <cdumez@apple.com>
275 Mark more heap-allocated classes as fast allocated
276 https://bugs.webkit.org/show_bug.cgi?id=194422
278 Reviewed by Ryosuke Niwa.
280 * pal/crypto/openssl/CryptoDigestOpenSSL.cpp:
281 * pal/system/Clock.h:
283 2019-02-05 Ryan Haddad <ryanhaddad@apple.com>
285 Unreviewed, rolling out r240742.
287 Causes crashes on iOS simulator.
291 "[iOS] Keyups for non-modifier keys identified as "Dead" when
292 not focused in a content-editable element"
293 https://bugs.webkit.org/show_bug.cgi?id=192824
294 https://trac.webkit.org/changeset/240742
296 2018-12-16 Darin Adler <darin@apple.com>
298 Convert additional String::format clients to alternative approaches
299 https://bugs.webkit.org/show_bug.cgi?id=192746
301 Reviewed by Alexey Proskuryakov.
303 * pal/FileSizeFormatter.cpp:
304 (fileSizeDescription): Use makeString and FormattedNumber.
306 2019-02-01 David Kilzer <ddkilzer@apple.com>
308 Move soft-linking of TelephonyUtilities.framework out of TUCallSPI.h
309 <https://webkit.org/b/193866>
311 Reviewed by Alex Christensen.
313 * PAL.xcodeproj/project.pbxproj:
314 * pal/PlatformMac.cmake:
315 - Update for rename of TUCallSPI.h to TelephonyUtilitiesSPI.h.
317 * pal/spi/mac/TelephonyUtilitiesSPI.h: Rename from Source/WebCore/PAL/pal/spi/mac/TUCallSPI.h.
318 - Remove soft-linking code from header.
320 2019-01-30 Daniel Bates <dabates@apple.com>
322 [iOS] Keyups for non-modifier keys identified as "Dead" when not focused in a content-editable element
323 https://bugs.webkit.org/show_bug.cgi?id=192824
324 <rdar://problem/47100332>
326 Reviewed by Wenson Hsieh.
328 Expose more enumerators.
330 * pal/spi/cocoa/IOKitSPI.h:
332 2019-01-28 Andy Estes <aestes@apple.com>
334 [watchOS] Enable Parental Controls content filtering
335 https://bugs.webkit.org/show_bug.cgi?id=193939
336 <rdar://problem/46641912>
338 Reviewed by Ryosuke Niwa.
340 * Configurations/FeatureDefines.xcconfig:
342 2019-01-27 Chris Fleizach <cfleizach@apple.com>
344 AX: Introduce isolated accessibility tree
345 https://bugs.webkit.org/show_bug.cgi?id=193348
346 <rdar://problem/47203295>
348 Reviewed by Ryosuke Niwa.
350 * Configurations/FeatureDefines.xcconfig:
352 2019-01-25 Alex Christensen <achristensen@webkit.org>
354 Move logic from ChildProcess::setApplicationIsDaemon to NetworkProcess::initializeProcess
355 https://bugs.webkit.org/show_bug.cgi?id=193844
357 Reviewed by Andy Estes.
359 * pal/spi/mac/HIServicesSPI.h:
361 2019-01-25 David Kilzer <ddkilzer@apple.com>
363 Move soft-linking of Lookup.framework out of LookupSPI.h
364 <https://webkit.org/b/193815>
366 Reviewed by Tim Horton.
368 * PAL.xcodeproj/project.pbxproj:
369 * pal/PlatformMac.cmake:
370 - Add LookupSoftLink.{h,mm} files to the project.
372 * pal/ios/UIKitSoftLink.h:
373 * pal/ios/UIKitSoftLink.mm:
374 - Change SOFT_LINK_VARIABLE_FOR_HEADER() to
375 SOFT_LINK_CONSTANT_FOR_HEADER() for
376 UIAccessibilityAnnouncementNotification constant.
378 * pal/mac/LookupSoftLink.h: Copied from Source/WebCore/PAL/pal/spi/mac/LookupSPI.h.
379 * pal/mac/LookupSoftLink.mm: Copied from Source/WebCore/PAL/pal/spi/mac/LookupSPI.h.
380 - Migrate soft-linking from LookupSPI.h to here.
382 * pal/spi/mac/LookupSPI.h:
383 - Replace soft-linking of Lookup.framework with
386 2019-01-24 Eric Carlson <eric.carlson@apple.com>
388 [iOS] Silence MediaPlayer compile warnings
389 https://bugs.webkit.org/show_bug.cgi?id=193780
390 <rdar://problem/47518428>
392 Reviewed by Jer Noble.
394 * pal/spi/ios/MediaPlayerSPI.h:
396 2019-01-24 Ross Kirsling <ross.kirsling@sony.com>
398 Move FileSystem to WTF
399 https://bugs.webkit.org/show_bug.cgi?id=193602
401 Reviewed by Yusuke Suzuki.
403 * PAL.xcodeproj/project.pbxproj:
404 * pal/PlatformMac.cmake:
406 2019-01-24 David Kilzer <ddkilzer@apple.com>
408 Follow-up #2: Override the session configuration for cookieAcceptPolicy
409 <https://bugs.webkit.org/show_bug.cgi?id=190925>
410 <rdar://problem/45497382>
412 * pal/spi/cf/CFNetworkSPI.h: Protect Objective-C code using
413 defined(__OBJC__) macro.
415 2019-01-23 David Kilzer <ddkilzer@apple.com>
417 Switch remaining CoreMedia soft-linking in WebKit over to CoreMediaSoftLink.{cpp,h}
418 <https://webkit.org/b/193694>
419 <rdar://problem/47464025>
421 Reviewed by Tim Horton.
423 * pal/cf/CoreMediaSoftLink.cpp:
424 - Export kCMTimeZero soft-link.
425 * pal/cf/CoreMediaSoftLink.h:
426 - Update kCMTimeZero macro to use PAL namespace for use in
429 2019-01-22 David Kilzer <ddkilzer@apple.com>
431 Switch remaining QuickLook soft-linking in WebCore, WebKit over to QuickLookSoftLink.{cpp,h}
432 <https://webkit.org/b/193654>
433 <rdar://problem/47430290>
435 Reviewed by Alex Christensen.
437 - Moves QuickLookSoftLink.{h,mm} to PAL.
438 - Adds soft-link to 3 classes to consolidate QuickLook.framework
440 - Updates existing source to work with above changes.
442 * PAL.xcodeproj/project.pbxproj:
443 - Add QuickLookSoftLink.{h,mm} due to move from WebCore.
445 * pal/ios/QuickLookSoftLink.h: Renamed from Source/WebCore/platform/ios/QuickLookSoftLink.h.
446 * pal/ios/QuickLookSoftLink.mm: Renamed from Source/WebCore/platform/ios/QuickLookSoftLink.mm.
447 - Add 3 classes for soft-linking.
448 - Change namespace from WebCore to PAL.
450 2019-01-21 David Kilzer <ddkilzer@apple.com>
452 Sort PAL Xcode project file
454 * PAL.xcodeproj/project.pbxproj:
456 2019-01-12 Dan Bernstein <mitz@apple.com>
458 [Cocoa] Avoid importing directly from subumbrella frameworks
459 https://bugs.webkit.org/show_bug.cgi?id=186016
460 <rdar://problem/40591038>
462 Reviewed by Sam Weinig.
464 * Configurations/PAL.xcconfig: Removed -iframework options from OTHER_CFLAGS and
465 OTHER_CPLUSPLUSFLAGS.
466 * pal/spi/cg/CoreGraphicsSPI.h: Import ApplicationServices.h instead of ColorSync.h
467 when using SDKs earlier than 10.13.
468 * pal/spi/mac/HIToolboxSPI.h: Import CarbonPriv.h instead of HIToolboxPriv.h.
469 * pal/spi/mac/QuickLookMacSPI.h: Import Quartz.h instead of a QuickLookUI header.
471 2019-01-20 Antoine Quint <graouts@apple.com>
473 Add a POINTER_EVENTS feature flag
474 https://bugs.webkit.org/show_bug.cgi?id=193577
475 <rdar://problem/47408511>
477 Unreviewed. Also enable Pointer Events for iosmac.
479 * Configurations/FeatureDefines.xcconfig:
481 2019-01-19 Antoine Quint <graouts@apple.com>
483 Add a POINTER_EVENTS feature flag
484 https://bugs.webkit.org/show_bug.cgi?id=193577
486 Reviewed by Dean Jackson.
488 * Configurations/FeatureDefines.xcconfig:
490 2019-01-18 David Kilzer <ddkilzer@apple.com>
492 [PAL] Change Xcode folders to map to folders on disk
494 Found by tidy-Xcode-project-file script (see Bug 188754).
496 * PAL.xcodeproj/project.pbxproj: Update these folders:
498 - pal/crypto/commoncrypto
501 2019-01-18 David Kilzer <ddkilzer@apple.com>
503 Follow-up: Override the session configuration for cookieAcceptPolicy
504 <https://bugs.webkit.org/show_bug.cgi?id=190925>
505 <rdar://problem/45497382>
507 Discussed with John Wilander.
509 * pal/spi/cf/CFNetworkSPI.h: Declare new SPI for the internal
510 macOS 10.12 Sierra SDK since it will never appear in those
511 headers. This fixes the build for trunk WebKit on Sierra.
513 2019-01-18 Tim Horton <timothy_horton@apple.com>
515 Get rid of ADVANCED_SPELL_CHECKING
516 https://bugs.webkit.org/show_bug.cgi?id=193592
518 Reviewed by Wenson Hsieh.
520 * pal/spi/mac/NSSpellCheckerSPI.h:
521 It's always true on macOS, and all but one use of it is already inside PLATFORM(MAC)
523 2019-01-18 Jer Noble <jer.noble@apple.com>
525 SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
526 https://bugs.webkit.org/show_bug.cgi?id=189553
528 Reviewed by Tim Horton.
530 * Configurations/Base.xcconfig:
531 * Configurations/PAL.xcconfig:
532 * Configurations/SDKVariant.xcconfig: Added.
534 2019-01-18 Daniel Bates <dabates@apple.com>
536 CSS auto focus-ring outlines don't render on iOS
537 https://bugs.webkit.org/show_bug.cgi?id=193583
538 <rdar://problem/6508697>
540 Reviewed by Simon Fraser.
542 Forward declare some IPI.
544 * pal/spi/ios/UIKitSPI.h:
546 2019-01-18 David Kilzer <ddkilzer@apple.com>
548 Switch remaining UIKit soft-linking in WebCore, WebKitLegacy over to UIKitSoftLink.{cpp,h}
549 <https://webkit.org/b/193568>
550 <rdar://problem/47381130>
552 Reviewed by Alex Christensen.
554 * pal/ios/UIKitSoftLink.h:
555 * pal/ios/UIKitSoftLink.mm:
556 - Add constants, classes and functions that were previously
557 soft-linked in separate source files.
558 - UIAccessibilityAnnouncementNotification is declared as a
559 variable because this constant is not marked as `const` in
561 * pal/spi/ios/UIKitSPI.h:
562 - Move SPI declarations from HTMLConverter.mm to here.
564 2019-01-17 Truitt Savell <tsavell@apple.com>
566 Unreviewed, rolling out r240124.
568 This commit broke an internal build.
572 "SDK_VARIANT build destinations should be separate from non-
574 https://bugs.webkit.org/show_bug.cgi?id=189553
575 https://trac.webkit.org/changeset/240124
577 2019-01-17 Tim Horton <timothy_horton@apple.com>
579 Adopt NSTextCheckingSuppressInitialCapitalizationKey
580 https://bugs.webkit.org/show_bug.cgi?id=193545
582 Reviewed by Dean Jackson.
584 * pal/spi/mac/NSSpellCheckerSPI.h:
586 2019-01-17 Jer Noble <jer.noble@apple.com>
588 SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
589 https://bugs.webkit.org/show_bug.cgi?id=189553
591 Reviewed by Tim Horton.
593 * Configurations/Base.xcconfig:
594 * Configurations/PAL.xcconfig:
595 * Configurations/SDKVariant.xcconfig: Added.
597 2019-01-16 Tim Horton <timothy_horton@apple.com>
599 Unreviewed build fix.
601 * pal/spi/ios/UIKitSPI.h:
604 2019-01-16 Megan Gardner <megan_gardner@apple.com>
606 Build fix for iOSMac Reveal
607 https://bugs.webkit.org/show_bug.cgi?id=193503
609 Unreviewed build fix.
611 * pal/spi/ios/UIKitSPI.h:
613 2019-01-15 Megan Gardner <megan_gardner@apple.com>
615 Add Reveal support in iOSMac
616 https://bugs.webkit.org/show_bug.cgi?id=193408
617 <rdar://problem/47300699>
619 Reviewed by Tim Horton.
621 Add additional needed SPI.
623 * pal/spi/cocoa/RevealSPI.h:
625 2019-01-15 Tim Horton <timothy_horton@apple.com>
627 Cannot tab out of WKWebView on macOS
628 https://bugs.webkit.org/show_bug.cgi?id=161448
629 <rdar://problem/28100085>
631 Reviewed by Dean Jackson.
633 * pal/spi/mac/NSViewSPI.h:
634 * pal/spi/mac/NSWindowSPI.h:
635 Move some SPI declarations in here from WebKitLegacy.
637 2019-01-14 Commit Queue <commit-queue@webkit.org>
639 Unreviewed, rolling out r239901, r239909, r239910, r239912,
640 r239913, and r239914.
641 https://bugs.webkit.org/show_bug.cgi?id=193407
643 These revisions caused an internal failure (Requested by
648 "[Cocoa] Avoid importing directly from subumbrella frameworks"
649 https://bugs.webkit.org/show_bug.cgi?id=186016
650 https://trac.webkit.org/changeset/239901
652 "Tried to fix USE(APPLE_INTERNAL_SDK) builds after r239901."
653 https://trac.webkit.org/changeset/239909
655 "Tried to fix the build."
656 https://trac.webkit.org/changeset/239910
658 "Fixed iOS builds after r239910."
659 https://trac.webkit.org/changeset/239912
662 https://trac.webkit.org/changeset/239913
664 "Tried to fix USE(APPLE_INTERNAL_SDK) 32-bit builds."
665 https://trac.webkit.org/changeset/239914
667 2019-01-14 Mark Lam <mark.lam@apple.com>
669 Re-enable ability to build --cloop builds.
670 https://bugs.webkit.org/show_bug.cgi?id=192955
671 <rdar://problem/46882363>
673 Reviewed by Saam barati and Keith Miller.
675 * Configurations/FeatureDefines.xcconfig:
677 2019-01-13 Dan Bernstein <mitz@apple.com>
679 Tried to fix USE(APPLE_INTERNAL_SDK) 32-bit builds.
681 * pal/spi/mac/QuickDrawSPI.h:
683 2019-01-13 Dan Bernstein <mitz@apple.com>
685 Tried to fix USE(APPLE_INTERNAL_SDK) builds after r239901.
687 Patch by Keith Rollin.
689 * pal/spi/cocoa/LaunchServicesSPI.h:
690 * pal/spi/mac/HIServicesSPI.h:
691 * pal/spi/mac/MetadataSPI.h:
692 * pal/spi/mac/SpeechSynthesisSPI.h:
694 2019-01-12 Timothy Hatcher <timothy@apple.com>
696 Have prefers-color-scheme: light always match on macOS versions before Mojave.
697 https://bugs.webkit.org/show_bug.cgi?id=191655
698 rdar://problem/46074680
700 Reviewed by Megan Gardner.
702 * Configurations/FeatureDefines.xcconfig: ENABLE_DARK_MODE_CSS_macosx for all OS versions.
704 2019-01-12 Dan Bernstein <mitz@apple.com>
706 [Cocoa] Avoid importing directly from subumbrella frameworks
707 https://bugs.webkit.org/show_bug.cgi?id=186016
708 <rdar://problem/40591038>
710 Reviewed by Sam Weinig.
712 * Configurations/PAL.xcconfig: Removed -iframework options from OTHER_CFLAGS and
713 OTHER_CPLUSPLUSFLAGS.
714 * pal/spi/cg/CoreGraphicsSPI.h: Import ApplicationServices.h instead of ColorSync.h
715 when using SDKs earlier than 10.13.
716 * pal/spi/mac/HIToolboxSPI.h: Import CarbonPriv.h instead of HIToolboxPriv.h.
717 * pal/spi/mac/QuickLookMacSPI.h: Import Quartz.h instead of a QuickLookUI header.
719 2019-01-11 John Wilander <wilander@apple.com>
721 Compile out Web API Statistics Collection
722 https://bugs.webkit.org/show_bug.cgi?id=193370
723 <rdar://problem/45388584>
725 Reviewed by Brent Fulgham.
727 * Configurations/FeatureDefines.xcconfig:
728 Defined ENABLE_WEB_API_STATISTICS, off by default.
730 2019-01-11 Devin Rousso <drousso@apple.com>
732 Fix style CFNetworkSPI style checker warnings from r239698
733 https://bugs.webkit.org/show_bug.cgi?id=193369
735 Reviewed by Joseph Pecoraro.
737 * pal/spi/cf/CFNetworkSPI.h:
739 2019-01-10 John Wilander <wilander@apple.com>
741 Override the session configuration for cookieAcceptPolicy
742 https://bugs.webkit.org/show_bug.cgi?id=190925
743 <rdar://problem/45497382>
745 Reviewed by Alexey Proskuryakov and Alex Christensen.
747 * pal/spi/cf/CFNetworkSPI.h:
748 Declaration of _overrideSessionCookieAcceptPolicy on NSHTTPCookieStorage.
750 2019-01-07 Devin Rousso <drousso@apple.com>
752 Web Inspector: Network: show secure connection details per-request
753 https://bugs.webkit.org/show_bug.cgi?id=191539
754 <rdar://problem/45979891>
756 Reviewed by Joseph Pecoraro.
758 * pal/spi/cf/CFNetworkSPI.h:
760 2019-01-04 Jer Noble <jer.noble@apple.com>
762 Web Content process main thread blocked beneath ImageDecoderAVFObjC::readSamples for many seconds on imgur.com
763 https://bugs.webkit.org/show_bug.cgi?id=191806
764 <rdar://problem/46151477>
766 Reviewed by Dean Jackson.
768 * pal/cf/CoreMediaSoftLink.cpp:
769 * pal/cf/CoreMediaSoftLink.h:
771 2018-12-27 Alex Christensen <achristensen@webkit.org>
773 Resurrect Mac CMake build
774 https://bugs.webkit.org/show_bug.cgi?id=192658
776 Reviewed by Yusuke Suzuki.
778 * pal/PlatformMac.cmake:
780 2018-12-21 Eric Carlson <eric.carlson@apple.com>
782 'ended' Event doesn't fire on MediaStreamTrack when a USB camera is unplugged
783 https://bugs.webkit.org/show_bug.cgi?id=187896
784 <rdar://problem/42681445>
786 Reviewed by Jer Noble.
788 * pal/spi/cf/CoreAudioSPI.h:
790 2018-12-19 Chris Dumez <cdumez@apple.com>
792 wtf/Optional.h: move-constructor and move-assignment operator should disengage the value being moved from
793 https://bugs.webkit.org/show_bug.cgi?id=192728
794 <rdar://problem/46746779>
796 Reviewed by Geoff Garen.
800 2018-12-17 Saam barati <sbarati@apple.com>
802 Enable HTTP and HTTPS proxies on iOS and make it a property of the NSURLSession
803 https://bugs.webkit.org/show_bug.cgi?id=192374
804 <rdar://problem/46506286>
806 Reviewed by Alex Christensen.
808 * pal/spi/cf/CFNetworkSPI.h:
809 Remove the now-unused SPI declaration.
811 2018-12-17 Simon Fraser <simon.fraser@apple.com>
813 Don't use more expensive layer backing store formats when subpixel text antialiasing is not enabled
814 https://bugs.webkit.org/show_bug.cgi?id=192780
815 rdar://problem/43394387
817 Reviewed by Tim Horton.
819 Add CGFontRenderingGetFontSmoothingDisabled().
821 * pal/spi/cg/CoreGraphicsSPI.h:
823 2018-12-17 Daniel Bates <dabates@apple.com>
825 Implement UIScriptController::toggleCapsLock() for iOS
826 https://bugs.webkit.org/show_bug.cgi?id=191815
828 Reviewed by Andy Estes.
830 Add HID usage enumerator for the Caps Lock key.
832 * pal/spi/cocoa/IOKitSPI.h:
834 2018-12-17 Matt Lewis <jlewis3@apple.com>
836 Unreviewed, rolling out r239254.
838 This broke the Windows 10 Debug build
842 "Replace many uses of String::format with more type-safe
844 https://bugs.webkit.org/show_bug.cgi?id=192742
845 https://trac.webkit.org/changeset/239254
847 2018-12-15 Darin Adler <darin@apple.com>
849 Use warning-ignoring macros more consistently and simply
850 https://bugs.webkit.org/show_bug.cgi?id=192743
852 Reviewed by Mark Lam.
854 * pal/spi/cocoa/AVKitSPI.h: Use IGNORE_WARNINGS_BEGIN instead of
855 IGNORE_CLANG_WARNINGS_BEGIN; there is no special need to accomodate
856 non-clang compilers here.
858 2018-12-15 Darin Adler <darin@apple.com>
860 Replace many uses of String::format with more type-safe alternatives
861 https://bugs.webkit.org/show_bug.cgi?id=192742
863 Reviewed by Mark Lam.
865 * pal/FileSizeFormatter.cpp:
866 (fileSizeDescription): Use makeString.
868 2018-12-11 Justin Michaud <justin_michaud@apple.com>
870 Implement feature flag for CSS Typed OM
871 https://bugs.webkit.org/show_bug.cgi?id=192610
873 Reviewed by Ryosuke Niwa.
875 * Configurations/FeatureDefines.xcconfig:
877 2018-12-11 Andy Estes <aestes@apple.com>
879 Introduce makeBlockPtr for lambdas
880 https://bugs.webkit.org/show_bug.cgi?id=192594
882 Reviewed by Alex Christensen.
884 Adopted makeBlockPtr.
887 (PAL::registerNotifyCallback):
889 2018-12-10 Don Olmstead <don.olmstead@sony.com>
891 Move ENABLE_RESOURCE_LOAD_STATISTICS to FeatureDefines.xcconfig
892 https://bugs.webkit.org/show_bug.cgi?id=192573
894 Reviewed by Simon Fraser.
896 * Configurations/FeatureDefines.xcconfig:
898 2018-12-10 Commit Queue <commit-queue@webkit.org>
900 Unreviewed, rolling out r239023.
901 https://bugs.webkit.org/show_bug.cgi?id=192571
903 Speculative rollout due to broken perf test (Requested by
908 "Enable HTTP and HTTPS proxies on iOS and make it a property
910 https://bugs.webkit.org/show_bug.cgi?id=192374
911 https://trac.webkit.org/changeset/239023
913 2018-12-10 Darin Adler <darin@apple.com>
915 [macOS] MSHCreateMIGServerSource invocation does not handle send/receive rights correctly
916 https://bugs.webkit.org/show_bug.cgi?id=192533
917 rdar://problem/45732710
919 Reviewed by Anders Carlsson.
921 * pal/spi/mac/HIServicesSPI.h: Added kMSHDoNotCreateSendRightOption.
923 2018-12-09 Saam barati <sbarati@apple.com>
925 Enable HTTP and HTTPS proxies on iOS and make it a property of the NSURLSession
926 https://bugs.webkit.org/show_bug.cgi?id=192374
927 <rdar://problem/46506286>
929 Reviewed by Alex Christensen.
931 * pal/spi/cf/CFNetworkSPI.h:
932 Remove the now-unused SPI declaration.
934 2018-12-05 Don Olmstead <don.olmstead@sony.com>
936 [PlayStation] Enable WebCore
937 https://bugs.webkit.org/show_bug.cgi?id=192384
939 Reviewed by Brent Fulgham.
941 Implements PAL for the PlayStation platform.
943 * pal/PlatformPlayStation.cmake: Added.
945 2018-12-02 Zalan Bujtas <zalan@apple.com>
947 Add a runtime feature flag for LayoutFormattingContext.
948 https://bugs.webkit.org/show_bug.cgi?id=192280
950 Reviewed by Simon Fraser.
952 * Configurations/FeatureDefines.xcconfig:
954 2018-12-01 Alexey Proskuryakov <ap@apple.com>
956 Modernize version check for _suppressedAutoAddedHTTPHeaders
957 https://bugs.webkit.org/show_bug.cgi?id=192175
959 Reviewed by Tim Horton.
961 * pal/spi/cf/CFNetworkSPI.h: Curiously, it was forward declared twice, for no
964 2018-11-30 Don Olmstead <don.olmstead@sony.com>
966 Rename ENABLE_SUBTLE_CRYPTO to ENABLE_WEB_CRYPTO
967 https://bugs.webkit.org/show_bug.cgi?id=192197
969 Reviewed by Jiewen Tan.
971 * Configurations/FeatureDefines.xcconfig:
972 * pal/PlatformGTK.cmake:
973 * pal/PlatformWPE.cmake:
975 2018-11-30 Alexey Proskuryakov <ap@apple.com>
977 Move USE_CFNETWORK_IGNORE_HSTS to its proper place
978 https://bugs.webkit.org/show_bug.cgi?id=192173
980 Reviewed by Tim Horton.
982 * pal/spi/cf/CFNetworkSPI.h:
984 2018-11-29 David Quesada <david_quesada@apple.com>
986 Add SPI to publish NSProgress on active downloads
987 https://bugs.webkit.org/show_bug.cgi?id=192021
988 rdar://problem/44405661
990 Reviewed by Alex Christensen.
992 Add an SPI header for NSProgress's publishing and unpublishing methods. In older
993 SDKs, these methods are explicitly unavailable on platforms other than macOS,
994 with underscore-prefixed versions available as SPI. In newer SDKs, the unprefixed
995 versions are SPI and the prefixed versions are deprecated.
997 * PAL.xcodeproj/project.pbxproj:
998 * pal/spi/cocoa/NSProgressSPI.h:
1000 2018-11-29 Megan Gardner <megan_gardner@apple.com>
1002 Move Lookup Code for better cross platform usage
1003 https://bugs.webkit.org/show_bug.cgi?id=191732
1005 Reviewed by Alex Christensen.
1007 * pal/spi/mac/LookupSPI.h:
1008 * pal/spi/mac/RevealSPI.h:
1010 2018-11-29 Eric Carlson <eric.carlson@apple.com>
1012 [iOS] Tell AirPlay picker when a file has video
1013 https://bugs.webkit.org/show_bug.cgi?id=192155
1015 Reviewed by Jer Noble.
1017 * pal/spi/ios/MediaPlayerSPI.h:
1019 2018-11-29 Alexey Proskuryakov <ap@apple.com>
1021 Modernize the check for kCFURLRequestContentDecoderSkipURLCheck existence
1022 https://bugs.webkit.org/show_bug.cgi?id=192041
1024 Reviewed by Tim Horton.
1026 * pal/spi/cf/CFNetworkSPI.h:
1028 2018-11-29 Ryan Haddad <ryanhaddad@apple.com>
1030 Unreviewed, rolling out r238678.
1032 Breaks internal builds.
1036 "Move Lookup Code for better cross platform usage"
1037 https://bugs.webkit.org/show_bug.cgi?id=191732
1038 https://trac.webkit.org/changeset/238678
1040 2018-11-29 Megan Gardner <megan_gardner@apple.com>
1042 Move Lookup Code for better cross platform usage
1043 https://bugs.webkit.org/show_bug.cgi?id=191732
1045 Reviewed by Alex Christensen.
1047 * pal/spi/mac/LookupSPI.h:
1048 * pal/spi/mac/RevealSPI.h:
1050 2018-11-28 Commit Queue <commit-queue@webkit.org>
1052 Unreviewed, rolling out r238653 and r238656.
1053 https://bugs.webkit.org/show_bug.cgi?id=192130
1055 Breaks iOS build (Requested by smfr on #webkit).
1057 Reverted changesets:
1059 "Move Lookup Code for better cross platform usage"
1060 https://bugs.webkit.org/show_bug.cgi?id=191732
1061 https://trac.webkit.org/changeset/238653
1063 "Attempt to fix the iOS build by only including RevealSPI.h
1065 https://trac.webkit.org/changeset/238656
1067 2018-11-15 Megan Gardner <megan_gardner@apple.com>
1069 Move Lookup Code for better cross platform usage
1070 https://bugs.webkit.org/show_bug.cgi?id=191732
1072 Reviewed by Alex Christensen.
1074 * pal/spi/mac/LookupSPI.h:
1075 * pal/spi/mac/RevealSPI.h:
1077 2018-11-28 Alexey Proskuryakov <ap@apple.com>
1079 Modernize version checks for same site cookie support
1080 https://bugs.webkit.org/show_bug.cgi?id=192054
1082 Reviewed by Tim Horton.
1084 * pal/spi/cf/CFNetworkSPI.h:
1086 2018-11-27 Mark Lam <mark.lam@apple.com>
1088 ENABLE_FAST_JIT_PERMISSIONS should be false for iosmac.
1089 https://bugs.webkit.org/show_bug.cgi?id=192055
1090 <rdar://problem/46288783>
1092 Reviewed by Saam Barati.
1094 * Configurations/FeatureDefines.xcconfig:
1096 2018-11-27 Alexey Proskuryakov <ap@apple.com>
1098 Modernize the check for async _saveCookies existence
1099 https://bugs.webkit.org/show_bug.cgi?id=191987
1101 Reviewed by Dean Jackson.
1103 * pal/spi/cf/CFNetworkSPI.h: Also removed a check around _socketStreamProperties,
1104 which exists everywhere.
1106 2018-11-27 Jer Noble <jer.noble@apple.com>
1108 Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI
1109 https://bugs.webkit.org/show_bug.cgi?id=190951
1110 <rdar://problem/45213065>
1112 Further follow-up build fix; add ASSUME_NONNULL macros to SPI declaration.
1114 * pal/spi/cocoa/AVKitSPI.h:
1116 2018-11-27 Jer Noble <jer.noble@apple.com>
1118 Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI
1119 https://bugs.webkit.org/show_bug.cgi?id=190951
1120 <rdar://problem/45213065>
1122 Follow-up build fix when building against older SDKs.
1124 * pal/spi/cocoa/AVKitSPI.h:
1126 2018-11-26 Jer Noble <jer.noble@apple.com>
1128 Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI
1129 https://bugs.webkit.org/show_bug.cgi?id=190951
1130 <rdar://problem/45213065>
1132 Reviewed by Alex Christensen.
1134 * pal/spi/cocoa/AVKitSPI.h:
1136 2018-11-26 Andy Estes <aestes@apple.com>
1138 [Cocoa] Make it easier to encode NSObjects
1139 https://bugs.webkit.org/show_bug.cgi?id=191948
1141 Reviewed by Dean Jackson.
1143 * pal/spi/cocoa/PassKitSPI.h: Declared some classes that secretly conform to NSSecureCoding.
1145 2018-11-24 Andy Estes <aestes@apple.com>
1147 [Cocoa] SOFT_LINK_CLASS_FOR_{HEADER,SOURCE} should generate a more concise getter function
1148 https://bugs.webkit.org/show_bug.cgi?id=191899
1150 Reviewed by Dean Jackson.
1152 * pal/cocoa/PassKitSoftLink.h:
1153 * pal/ios/UIKitSoftLink.h:
1155 2018-11-23 Wenson Hsieh <wenson_hsieh@apple.com>
1157 Enable drag and drop support for iOSMac
1158 https://bugs.webkit.org/show_bug.cgi?id=191818
1159 <rdar://problem/43907454>
1161 Reviewed by Dean Jackson.
1163 * Configurations/FeatureDefines.xcconfig:
1165 2018-11-21 Wenson Hsieh <wenson_hsieh@apple.com>
1167 [Cocoa] [WebKit2] Add support for replacing find-in-page text matches
1168 https://bugs.webkit.org/show_bug.cgi?id=191786
1169 <rdar://problem/45813871>
1171 Reviewed by Ryosuke Niwa.
1173 Add `-replaceMatches:withString:inSelectionOnly:resultCollector:`.
1175 * pal/spi/mac/NSTextFinderSPI.h:
1177 2018-11-21 Andy Estes <aestes@apple.com>
1179 [Cocoa] Create a soft-linking file for PassKit
1180 https://bugs.webkit.org/show_bug.cgi?id=191875
1181 <rdar://problem/46203215>
1183 Reviewed by Myles Maxfield.
1185 * PAL.xcodeproj/project.pbxproj:
1186 * pal/PlatformMac.cmake:
1187 * pal/cocoa/PassKitSoftLink.h: Added.
1188 * pal/cocoa/PassKitSoftLink.mm: Added. Used _WITH_EXPORT soft-linking macros in order to
1189 make the PAL soft-linking symbols visible to WebKit.
1190 * pal/spi/cocoa/PassKitSPI.h:
1192 2018-11-17 Wenson Hsieh <wenson_hsieh@apple.com>
1194 [iOS] Remove all usages of UIItemProvider, UIItemProviderReading, and related classes
1195 https://bugs.webkit.org/show_bug.cgi?id=191819
1197 Reviewed by Dan Bernstein.
1199 Replace UIItemProvider (and related classes) with NSItemProvider.
1201 * pal/spi/ios/UIKitSPI.h:
1203 2018-11-16 Brent Fulgham <bfulgham@apple.com>
1205 [Win] Reduce the use of WKSI library calls: CFNetwork
1206 https://bugs.webkit.org/show_bug.cgi?id=191718
1207 <rdar://problem/46108732>
1209 Reviewed by Alex Christensen.
1211 Add necessary declarations for CFNetwork SPI needed by the Apple Windows build.
1213 * pal/PlatformAppleWin.cmake:
1214 * pal/spi/cf/CFNetworkSPI.h:
1215 * pal/spi/cf/CFNetworkSPIWin.cpp: Added.
1217 2018-11-16 Chris Dumez <cdumez@apple.com>
1219 [Mac] Regression: WebContent process's display name is no longer set
1220 https://bugs.webkit.org/show_bug.cgi?id=191722
1221 <rdar://problem/45960550>
1223 Reviewed by Per Arne Vollan.
1225 * pal/spi/cocoa/LaunchServicesSPI.h:
1227 2018-11-15 Brent Fulgham <bfulgham@apple.com>
1229 Additional Windows build fix after r238253.
1231 * pal/spi/cg/CoreGraphicsSPI.h:
1233 2018-11-15 Brent Fulgham <bfulgham@apple.com>
1235 Unreviewed build fix after removing some WKSI calls on Windows.
1237 * pal/spi/cg/CoreGraphicsSPI.h:
1239 2018-11-11 Daniel Bates <dabates@apple.com>
1241 [iOS] Draw caps lock indicator in password fields
1242 https://bugs.webkit.org/show_bug.cgi?id=190565
1243 <rdar://problem/45262343>
1245 Reviewed by Dean Jackson.
1247 Forward declare some more SPI.
1249 * pal/spi/ios/GraphicsServicesSPI.h:
1250 * pal/spi/ios/UIKitSPI.h:
1252 2018-11-09 Ryan Haddad <ryanhaddad@apple.com>
1254 Unreviewed, rolling out r238047.
1256 Introduced layout test failures on iOS simulator.
1260 "[iOS] Draw caps lock indicator in password fields"
1261 https://bugs.webkit.org/show_bug.cgi?id=190565
1262 https://trac.webkit.org/changeset/238047
1264 2018-11-09 Daniel Bates <dabates@apple.com>
1266 [iOS] Draw caps lock indicator in password fields
1267 https://bugs.webkit.org/show_bug.cgi?id=190565
1268 <rdar://problem/45262343>
1270 Reviewed by Dean Jackson.
1272 Forward declare some more SPI.
1274 * pal/spi/ios/GraphicsServicesSPI.h:
1275 * pal/spi/ios/UIKitSPI.h:
1277 2018-11-08 Megan Gardner <megan_gardner@apple.com>
1279 Adopt Reveal Framework to replace Lookup
1280 https://bugs.webkit.org/show_bug.cgi?id=191097
1281 <rdar://problem/45924508>
1283 Reviewed by Tim Horton.
1285 Add in reveal SPI so WebKit will continue to build without the internal SDK.
1287 * PAL.xcodeproj/project.pbxproj:
1288 * pal/spi/mac/RevealSPI.h: Added.
1290 2018-11-06 Justin Fan <justin_fan@apple.com>
1292 [WebGPU] Experimental prototype for WebGPURenderPipeline and WebGPUSwapChain
1293 https://bugs.webkit.org/show_bug.cgi?id=191291
1295 Reviewed by Myles Maxfield.
1297 Properly disable WEBGPU on all non-Metal platforms for now.
1299 * Configurations/FeatureDefines.xcconfig:
1301 2018-11-02 Daniel Bates <dabates@apple.com>
1303 [iOS] Normalize character string based on key code
1304 https://bugs.webkit.org/show_bug.cgi?id=191120
1306 Reviewed by Tim Horton.
1308 Remove forward declarations that are no longer needed now that we check key code.
1310 * pal/spi/ios/UIKitSPI.h:
1312 2018-11-01 Said Abou-Hallawa <sabouhallawa@apple.com>
1314 [CG] Adopt CG SPI for non-even cornered rounded rects
1315 https://bugs.webkit.org/show_bug.cgi?id=190155
1317 Reviewed by Simon Fraser.
1319 * pal/spi/cg/CoreGraphicsSPI.h:
1321 2018-10-30 Alexey Proskuryakov <ap@apple.com>
1323 Clean up some obsolete MAX_ALLOWED macros
1324 https://bugs.webkit.org/show_bug.cgi?id=190916
1326 Reviewed by Tim Horton.
1328 * pal/cf/CoreMediaSoftLink.cpp:
1329 * pal/cf/CoreMediaSoftLink.h:
1330 Behavior change here. The check didn't really make sense, pretty sure we would
1331 just crash when hitting this code path on iOS.
1333 * pal/spi/cf/CFNetworkSPI.h:
1334 * pal/spi/cocoa/PassKitSPI.h:
1335 * pal/spi/mac/AVFoundationSPI.h:
1337 2018-10-29 Tim Horton <timothy_horton@apple.com>
1339 Modernize WebKit nibs and lprojs for localization's sake
1340 https://bugs.webkit.org/show_bug.cgi?id=190911
1341 <rdar://problem/45349466>
1343 Reviewed by Dan Bernstein.
1345 * PAL.xcodeproj/project.pbxproj:
1348 2018-10-26 Commit Queue <commit-queue@webkit.org>
1350 Unreviewed, rolling out r237458.
1351 https://bugs.webkit.org/show_bug.cgi?id=190973
1353 broke internal iOS builds (Requested by zalan on #webkit).
1357 "Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI"
1358 https://bugs.webkit.org/show_bug.cgi?id=190951
1359 https://trac.webkit.org/changeset/237458
1361 2018-10-26 Timothy Hatcher <timothy@apple.com>
1363 Use dark appearance scrollbar when page background is dark or document supports dark mode.
1364 https://bugs.webkit.org/show_bug.cgi?id=190937
1365 rdar://problem/41225839
1367 Reviewed by Beth Dakin.
1369 * pal/spi/mac/NSScrollerImpSPI.h: Added effectiveAppearanceForScrollerImp:.
1371 2018-10-26 Jer Noble <jer.noble@apple.com>
1373 Adopt -setOverrideRouteSharingPolicy:routingContextUID: SPI
1374 https://bugs.webkit.org/show_bug.cgi?id=190951
1375 <rdar://problem/45213065>
1377 Reviewed by Alex Christensen.
1379 * pal/spi/cocoa/AVKitSPI.h:
1381 2018-10-24 Alexey Proskuryakov <ap@apple.com>
1383 Clean up some obsolete macOS version guards
1384 https://bugs.webkit.org/show_bug.cgi?id=190887
1386 Reviewed by Dan Bernstein.
1388 * pal/spi/mac/TUCallSPI.h:
1390 2018-10-24 Megan Gardner <megan_gardner@apple.com>
1392 Turn on Conic Gradients
1393 https://bugs.webkit.org/show_bug.cgi?id=190810
1395 Reviewed by Tim Horton.
1397 * Configurations/FeatureDefines.xcconfig:
1399 2018-10-23 Ryan Haddad <ryanhaddad@apple.com>
1401 Unreviewed, rolling out r237280.
1403 Causes fast/box-shadow/box-shadow-with-zero-radius.html to
1404 fail on iOS Simulator.
1408 "[CG] Adopt CG SPI for non-even cornered rounded rects"
1409 https://bugs.webkit.org/show_bug.cgi?id=190155
1410 https://trac.webkit.org/changeset/237280
1412 2018-10-18 Said Abou-Hallawa <sabouhallawa@apple.com>
1414 [CG] Adopt CG SPI for non-even cornered rounded rects
1415 https://bugs.webkit.org/show_bug.cgi?id=190155
1417 Reviewed by Simon Fraser.
1419 * pal/spi/cg/CoreGraphicsSPI.h:
1421 2018-10-18 Alexey Proskuryakov <ap@apple.com>
1423 Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY)
1424 https://bugs.webkit.org/show_bug.cgi?id=190729
1426 Reviewed by Tim Horton.
1428 * pal/cf/CoreMediaSoftLink.cpp:
1429 * pal/cf/CoreMediaSoftLink.h:
1430 * pal/ios/UIKitSoftLink.h:
1431 * pal/ios/UIKitSoftLink.mm:
1432 * pal/spi/cf/CFNetworkSPI.h:
1433 * pal/spi/cocoa/AVKitSPI.h:
1434 * pal/spi/cocoa/CFNSURLConnectionSPI.h:
1435 * pal/spi/cocoa/CoreTextSPI.h:
1436 * pal/spi/cocoa/DataDetectorsCoreSPI.h:
1437 * pal/spi/cocoa/IOSurfaceSPI.h:
1438 * pal/spi/cocoa/LaunchServicesSPI.h:
1439 * pal/spi/cocoa/NEFilterSourceSPI.h:
1440 * pal/spi/cocoa/NSAttributedStringSPI.h:
1441 * pal/spi/cocoa/NSKeyedArchiverSPI.h:
1442 * pal/spi/cocoa/PassKitSPI.h:
1443 * pal/spi/cocoa/QuartzCoreSPI.h:
1444 * pal/spi/ios/DataDetectorsUISPI.h:
1445 * pal/spi/ios/GraphicsServicesSPI.h:
1446 * pal/spi/ios/MediaPlayerSPI.h:
1447 * pal/spi/ios/MobileGestaltSPI.h:
1448 * pal/spi/mac/AVFoundationSPI.h:
1449 * pal/system/mac/ClockCM.mm:
1452 2018-10-17 Wenson Hsieh <wenson_hsieh@apple.com>
1454 Enable the datalist element by default on iOS and macOS
1455 https://bugs.webkit.org/show_bug.cgi?id=190594
1456 <rdar://problem/45281159>
1458 Reviewed by Ryosuke Niwa and Tim Horton.
1460 * Configurations/FeatureDefines.xcconfig:
1462 2018-10-16 Ryan Haddad <ryanhaddad@apple.com>
1464 Unreviewed, rolling out r237163.
1466 Introduced layout test failures on iOS Simulator.
1470 "[CG] Adopt CG SPI for non-even cornered rounded rects"
1471 https://bugs.webkit.org/show_bug.cgi?id=190155
1472 https://trac.webkit.org/changeset/237163
1474 2018-10-16 Justin Michaud <justin_michaud@apple.com>
1476 Implement feature flag and bindings for CSS Painting API
1477 https://bugs.webkit.org/show_bug.cgi?id=190237
1479 Reviewed by Ryosuke Niwa.
1481 * Configurations/FeatureDefines.xcconfig:
1483 2018-10-15 Justin Fan <justin_fan@apple.com>
1485 Add WebGPU 2018 feature flag and experimental feature flag
1486 https://bugs.webkit.org/show_bug.cgi?id=190509
1488 Reviewed by Dean Jackson.
1490 Re-add ENABLE_WEBGPU, an experimental feature flag, and a RuntimeEnabledFeature
1491 for the 2018 WebGPU prototype.
1493 * Configurations/FeatureDefines.xcconfig:
1495 2018-10-15 Said Abou-Hallawa <sabouhallawa@apple.com>
1497 [CG] Adopt CG SPI for non-even cornered rounded rects
1498 https://bugs.webkit.org/show_bug.cgi?id=190155
1500 Reviewed by Simon Fraser.
1502 * pal/spi/cg/CoreGraphicsSPI.h:
1504 2018-10-15 Timothy Hatcher <timothy@apple.com>
1506 Add support for prefers-color-scheme media query
1507 https://bugs.webkit.org/show_bug.cgi?id=190499
1508 rdar://problem/45212025
1510 Reviewed by Dean Jackson.
1512 * Configurations/FeatureDefines.xcconfig: Added ENABLE_DARK_MODE_CSS.
1514 2018-10-14 Yusuke Suzuki <yusukesuzuki@slowstart.org>
1516 [JSC] Remove Option::useAsyncIterator
1517 https://bugs.webkit.org/show_bug.cgi?id=190567
1519 Reviewed by Saam Barati.
1521 * Configurations/FeatureDefines.xcconfig:
1523 2018-10-08 Wenson Hsieh <wenson_hsieh@apple.com>
1525 [Cocoa] [WK2] Add support for text alignment and text lists in font attributes
1526 https://bugs.webkit.org/show_bug.cgi?id=190342
1527 <rdar://problem/44767118>
1529 Reviewed by Tim Horton.
1531 * pal/ios/UIKitSoftLink.h:
1532 * pal/ios/UIKitSoftLink.mm:
1534 Add NSParagraphStyle and NSTextList to the UIKit soft link header.
1536 * pal/spi/cocoa/NSAttributedStringSPI.h:
1537 * pal/spi/ios/UIKitSPI.h:
1539 Add some SPI declarations for NSMutableParagraphStyle and NSTextList when building with a non-internal iOS SDK,
1540 and import <UIKit/NSParagraphStyle_Private.h> and <UIKit/NSTextList.h> when building with an internal iOS SDK.
1541 Additionally, define some internal UIFoundation string constants that denote NSTextList marker formats. These
1542 constants are API on macOS, but are neither exposed as API nor SPI on iOS.
1544 2018-10-08 Justin Fan <justin_fan@apple.com>
1546 WebGPU: Rename old WebGPU prototype to WebMetal
1547 https://bugs.webkit.org/show_bug.cgi?id=190325
1548 <rdar://problem/44990443>
1550 Reviewed by Dean Jackson.
1552 Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.
1554 * Configurations/FeatureDefines.xcconfig:
1556 2018-10-08 Aditya Keerthi <akeerthi@apple.com>
1558 Make <input type=color> a runtime enabled (on-by-default) feature
1559 https://bugs.webkit.org/show_bug.cgi?id=189162
1561 Reviewed by Wenson Hsieh and Tim Horton.
1563 * Configurations/FeatureDefines.xcconfig:
1565 2018-10-05 Jer Noble <jer.noble@apple.com>
1567 Unreviewed build fix: internal builds can't find AVVideoPerformanceMetrics.
1569 * pal/spi/mac/AVFoundationSPI.h:
1571 2018-10-03 Jer Noble <jer.noble@apple.com>
1573 Add support for reporting "display composited video frames" through the VideoPlaybackQuality object.
1574 https://bugs.webkit.org/show_bug.cgi?id=190266
1576 Reviewed by Eric Carlson.
1578 * pal/spi/mac/AVFoundationSPI.h:
1580 2018-10-05 Ryan Haddad <ryanhaddad@apple.com>
1582 Unreviewed, rolling out r236866.
1584 Breaks internal builds.
1588 "Add support for reporting "display composited video frames"
1589 through the VideoPlaybackQuality object."
1590 https://bugs.webkit.org/show_bug.cgi?id=190266
1591 https://trac.webkit.org/changeset/236866
1593 2018-10-04 Jer Noble <jer.noble@apple.com>
1595 Add support for reporting "display composited video frames" through the VideoPlaybackQuality object.
1596 https://bugs.webkit.org/show_bug.cgi?id=190266
1598 Reviewed by Eric Carlson.
1600 * pal/spi/mac/AVFoundationSPI.h:
1602 2018-10-04 Dan Bernstein <mitz@apple.com>
1604 PAL change for the WebKitLegacy part of [Xcode] Update some build settings as recommended by Xcode 10
1605 https://bugs.webkit.org/show_bug.cgi?id=190250
1607 Reviewed by Andy Estes.
1609 * pal/spi/mac/NSWindowSPI.h: Added a private API declaration.
1611 2018-10-04 Dan Bernstein <mitz@apple.com>
1613 PAL part of [Xcode] Update some build settings as recommended by Xcode 10
1614 https://bugs.webkit.org/show_bug.cgi?id=190250
1616 Reviewed by Andy Estes.
1618 * Configurations/Base.xcconfig: Enabled CLANG_WARN_COMMA, CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF,
1619 CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED, and CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS.
1621 * PAL.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
1623 2018-10-01 Dean Jackson <dino@apple.com>
1625 Remove CSS Animation Triggers
1626 https://bugs.webkit.org/show_bug.cgi?id=190175
1627 <rdar://problem/44925626>
1629 Reviewed by Simon Fraser.
1631 * Configurations/FeatureDefines.xcconfig:
1633 2018-10-01 Andy Estes <aestes@apple.com>
1635 [watchOS] Adopt NSURLSessionCompanionProxyPreference
1636 https://bugs.webkit.org/show_bug.cgi?id=190177
1637 <rdar://problem/43402114>
1639 Reviewed by Wenson Hsieh.
1641 * pal/spi/cf/CFNetworkSPI.h:
1643 2018-10-01 Daniel Bates <dabates@apple.com>
1645 [iOS] Special keys are misidentified in DOM keyboard events
1646 https://bugs.webkit.org/show_bug.cgi?id=189974
1648 Reviewed by Wenson Hsieh.
1650 Forward declare or define more SPI.
1652 * pal/spi/cocoa/IOKitSPI.h:
1653 * pal/spi/ios/UIKitSPI.h:
1655 2018-09-25 Jiewen Tan <jiewen_tan@apple.com>
1657 [WebAuthN] Make AuthenticatorManager
1658 https://bugs.webkit.org/show_bug.cgi?id=189279
1659 <rdar://problem/44116792>
1661 Reviewed by Chris Dumez.
1663 It moves linking to DeviceIdentity.framework to WebKit.
1665 * PAL.xcodeproj/project.pbxproj:
1667 2018-09-25 Wenson Hsieh <wenson_hsieh@apple.com>
1669 [iOS] Fix the open source iOS 12 build after r236445
1670 https://bugs.webkit.org/show_bug.cgi?id=189953
1672 Reviewed by Alex Christensen.
1674 Introduce a single UIKit soft-linking header in PAL.
1676 * PAL.xcodeproj/project.pbxproj:
1677 * pal/ios/UIKitSoftLink.h: Copied from Source/WebCore/platform/graphics/cocoa/ColorCocoa.mm.
1678 * pal/ios/UIKitSoftLink.mm: Copied from Source/WebCore/platform/graphics/cocoa/ColorCocoa.mm.
1680 2018-09-24 Wenson Hsieh <wenson_hsieh@apple.com>
1682 Refactor Editor::fontAttributesForSelectionStart to be platform-agnostic
1683 https://bugs.webkit.org/show_bug.cgi?id=189918
1684 Work towards <rdar://problem/44648705>
1686 Reviewed by Tim Horton.
1688 Add `+_disambiguated_due_to_CIImage_colorWithCGColor:` as a UIColor SPI definition. Also, import
1689 `UIColor_Private.h` directly when the Apple internal SDK is used.
1691 * pal/spi/ios/UIKitSPI.h:
1693 2018-09-21 Jer Noble <jer.noble@apple.com>
1695 Unreviewed Sierra Build Fix; ensure AVVideoPerformanceMetrics are defined on Sierra.
1697 * pal/spi/mac/AVFoundationSPI.h:
1699 2018-09-21 Jer Noble <jer.noble@apple.com>
1701 Move AVVideoPerformanceMetrics into AVFoundationSPI.h
1702 https://bugs.webkit.org/show_bug.cgi?id=189842
1704 Reviewed by Jon Lee.
1706 * pal/spi/mac/AVFoundationSPI.h:
1708 2018-09-21 Jonathan Bedard <jbedard@apple.com>
1710 Bring up queues for iOS 12 (Build fix)
1711 https://bugs.webkit.org/show_bug.cgi?id=189683
1713 Unreviewed build fix.
1715 * pal/spi/cocoa/QuartzCoreSPI.h: Declare setCornerRadius and continuousCorner.
1717 2018-09-20 Daniel Bates <dabates@apple.com>
1719 Move IOKitSPI.h from TestRunnerShared to PAL
1720 https://bugs.webkit.org/show_bug.cgi?id=189804
1722 Reviewed by Wenson Hsieh.
1724 Towards fixing <https://bugs.webkit.org/show_bug.cgi?id=189604> move the IOKit SPI forward
1725 declarations to PAL so that they can be shared by both WebKit, DumpRenderTree, and WebKitTestRunner.
1727 No functionality changed. So, no new tests.
1729 * PAL.xcodeproj/project.pbxproj:
1730 * pal/spi/cocoa/IOKitSPI.h: Renamed from Tools/TestRunnerShared/spi/IOKitSPI.h.
1732 2018-09-14 Eric Carlson <eric.carlson@apple.com>
1734 Support arbitrary video resolution in getUserMedia API
1735 https://bugs.webkit.org/show_bug.cgi?id=178109
1736 <rdar://problem/35083128>
1738 Reviewed by Youenn Fablet.
1740 * pal/cf/CoreMediaSoftLink.cpp:
1741 * pal/cf/CoreMediaSoftLink.h:
1743 2018-09-12 Guillaume Emont <guijemont@igalia.com>
1745 Add IGNORE_WARNING_.* macros
1746 https://bugs.webkit.org/show_bug.cgi?id=188996
1748 Reviewed by Michael Catanzaro.
1750 * pal/crypto/commoncrypto/CryptoDigestCommonCrypto.cpp:
1751 (PAL::CryptoDigest::create):
1752 (PAL::CryptoDigest::addBytes):
1753 (PAL::CryptoDigest::computeHash):
1754 * pal/spi/cocoa/AVKitSPI.h:
1755 * pal/spi/cocoa/NSKeyedArchiverSPI.h:
1756 (insecurelyUnarchiveObjectFromData):
1757 * pal/spi/ios/MediaPlayerSPI.h:
1758 * pal/system/mac/PopupMenu.mm:
1760 * pal/system/mac/WebPanel.mm:
1763 2018-09-10 James Savage <james.savage@apple.com>
1765 Expose -apple-system-container-border color to internal web views.
1766 https://bugs.webkit.org/show_bug.cgi?id=189178.
1768 Reviewed by Timothy Hatcher.
1770 * pal/spi/cocoa/NSColorSPI.h: Declare SPI.
1772 2018-09-06 Megan Gardner <megan_gardner@apple.com>
1774 Add Support for Conic Gradients
1775 https://bugs.webkit.org/show_bug.cgi?id=189329
1776 <rdar://problem/21444701>
1778 Reviewed by Simon Fraser.
1780 Define the CG functionality for conic gradients.
1782 * pal/spi/cg/CoreGraphicsSPI.h:
1784 2018-09-04 Ryan Haddad <ryanhaddad@apple.com>
1786 Unreviewed, attempt to fix an internal build after r235585.
1788 * pal/spi/cf/CFNetworkSPI.h:
1790 2018-09-01 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com>
1792 [WinCairo] Add CryptoDigestOpenSSL
1793 https://bugs.webkit.org/show_bug.cgi?id=188978
1795 Reviewed by Darin Adler.
1797 Add a CryptoDigest implementation with OpenSSL/LibreSSL and let the
1798 WinCairo port use it.
1800 * pal/PlatformAppleWin.cmake: Add CryptoDigestWin.cpp to PAL_SOURCES
1801 * pal/PlatformWin.cmake: Remove CryptoDigestWin.cpp from PAL_SOURCES
1802 * pal/PlatformWinCairo.cmake: Add CryptoDigestOpenSSL to PAL_SOURCES
1803 * pal/crypto/openssl/CryptoDigestOpenSSL.cpp: Added.
1804 (PAL::toSHA1Context):
1805 (PAL::toSHA224Context):
1806 (PAL::toSHA256Context):
1807 (PAL::toSHA384Context):
1808 (PAL::toSHA512Context):
1809 (PAL::CryptoDigest::CryptoDigest):
1810 (PAL::CryptoDigest::~CryptoDigest):
1811 (PAL::CryptoDigest::create):
1812 (PAL::CryptoDigest::addBytes):
1813 (PAL::CryptoDigest::computeHash):
1815 2018-09-01 Darin Adler <darin@apple.com>
1817 [CFNetwork] Update CFNetwork SPI use to use CFNetworkSPI.h more consistently
1818 https://bugs.webkit.org/show_bug.cgi?id=189072
1820 Reviewed by Dan Bernstein.
1822 * pal/spi/cf/CFNetworkSPI.h: Added a FIXME about USE(CFNETWORK_IGNORE_HSTS).
1823 Sorted Objective-C class interfaces alphabetically instead of having them
1824 relatively randomly ordered in the file. Reduced the platform #if statements
1825 since it's not critical to have these SPIs declared only where they are
1826 present, as long as they are used only when they are present. Moved some
1827 additional declarations into this file.
1829 * pal/spi/cocoa/NSURLDownloadSPI.h: Added more NSURLDownload methods.
1831 2018-08-30 Don Olmstead <don.olmstead@sony.com>
1833 [CMake] Replace AVFoundationSupport.py using CMake
1834 https://bugs.webkit.org/show_bug.cgi?id=182891
1836 Reviewed by Per Arne Vollan.
1838 Remove AVFoundationSupport.py file and its invocation.
1840 * AVFoundationSupport.py: Removed.
1842 * pal/PlatformWin.cmake:
1844 2018-08-29 Jer Noble <jer.noble@apple.com>
1846 Muted elements do not have their Now Playing status updated when unmuted.
1847 https://bugs.webkit.org/show_bug.cgi?id=189069
1849 Reviewed by Eric Carlson.
1851 * pal/spi/mac/MediaRemoteSPI.h:
1853 2018-08-27 Keith Rollin <krollin@apple.com>
1855 Unreviewed build fix -- disable LTO for production builds
1857 * Configurations/Base.xcconfig:
1859 2018-08-27 Aditya Keerthi <akeerthi@apple.com>
1861 Consolidate ENABLE_INPUT_TYPE_COLOR and ENABLE_INPUT_TYPE_COLOR_POPOVER
1862 https://bugs.webkit.org/show_bug.cgi?id=188931
1864 Reviewed by Wenson Hsieh.
1866 * Configurations/FeatureDefines.xcconfig: Removed ENABLE_INPUT_TYPE_COLOR_POPOVER.
1868 2018-08-27 Keith Rollin <krollin@apple.com>
1870 Build system support for LTO
1871 https://bugs.webkit.org/show_bug.cgi?id=187785
1872 <rdar://problem/42353132>
1874 Reviewed by Dan Bernstein.
1876 Update Base.xcconfig and DebugRelease.xcconfig to optionally enable
1879 * Configurations/Base.xcconfig:
1880 * Configurations/DebugRelease.xcconfig:
1882 2018-08-26 Andy Estes <aestes@apple.com>
1884 [Apple Pay] Introduce new values for -apple-pay-button-type
1885 https://bugs.webkit.org/show_bug.cgi?id=188949
1886 <rdar://problem/39992228>
1888 Reviewed by Anders Carlsson.
1890 * pal/spi/cocoa/PassKitSPI.h:
1892 2018-08-23 Andy Estes <aestes@apple.com>
1894 [Apple Pay] Introduce Apple Pay JS v4 on iOS 12 and macOS Mojave
1895 https://bugs.webkit.org/show_bug.cgi?id=188829
1897 Reviewed by Tim Horton.
1899 * Configurations/FeatureDefines.xcconfig:
1901 2018-08-21 Ryosuke Niwa <rniwa@webkit.org>
1903 Unreviewed macOS Mojave build fix after r235125.
1905 * pal/spi/cg/CoreGraphicsSPI.h:
1907 2018-08-15 Ansh Shukla <ansh_shukla@apple.com>
1909 NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
1910 https://bugs.webkit.org/show_bug.cgi?id=186870
1911 <rdar://problem/41314410>
1913 Reviewed by Alex Christensen.
1915 * pal/spi/cf/CFNetworkSPI.h: Declare OAuth string when not building against the
1918 2018-08-15 Aditya Keerthi <akeerthi@apple.com>
1920 [Datalist] Add button to TextFieldInputs with a datalist
1921 https://bugs.webkit.org/show_bug.cgi?id=187741
1923 Reviewed by Tim Horton.
1925 * pal/spi/cocoa/NSColorSPI.h: Added NSColorGetUserAccentColor().
1927 2018-08-15 Ryan Haddad <ryanhaddad@apple.com>
1929 Unreviewed, rolling out r234870.
1931 The test introduced with this change is a flaky failure.
1935 "NSURLAuthenticationMethodOAuth challenges are surfaced to
1936 clients in -didReceiveAuthenticationChallenge as
1937 NSURLAuthenticationMethodDefault"
1938 https://bugs.webkit.org/show_bug.cgi?id=186870
1939 https://trac.webkit.org/changeset/234870
1941 2018-08-14 Ansh Shukla <ansh_shukla@apple.com>
1943 NSURLAuthenticationMethodOAuth challenges are surfaced to clients in -didReceiveAuthenticationChallenge as NSURLAuthenticationMethodDefault
1944 https://bugs.webkit.org/show_bug.cgi?id=186870
1945 <rdar://problem/41314410>
1947 Reviewed by Alex Christensen.
1949 * pal/spi/cf/CFNetworkSPI.h: Declare OAuth string when not building against the
1952 2018-08-07 Ryan Haddad <ryanhaddad@apple.com>
1954 Unreviewed, suppress warnings to fix the build.
1956 * pal/crypto/commoncrypto/CryptoDigestCommonCrypto.cpp:
1957 (PAL::CryptoDigest::create):
1958 (PAL::CryptoDigest::addBytes):
1959 (PAL::CryptoDigest::computeHash):
1961 2018-08-07 Per Arne Vollan <pvollan@apple.com>
1963 [macOS] Scrollbars are not visible when using 3rd party mouse
1964 https://bugs.webkit.org/show_bug.cgi?id=188372
1966 Reviewed by Simon Fraser.
1968 Added declaration of NSScrollerImpPair class method. This method updates all NSScrollerImpPairs
1969 with a new recommended scroller style.
1971 * pal/spi/mac/NSScrollerImpSPI.h:
1973 2018-08-02 David Fenton <david_fenton@apple.com>
1975 Unreviewed, rolling out r234489.
1977 Caused 50+ crashes and 60+ API failures on iOS
1981 "[WTF] Rename String::format to String::deprecatedFormat"
1982 https://bugs.webkit.org/show_bug.cgi?id=188191
1983 https://trac.webkit.org/changeset/234489
1985 2018-08-01 Tomas Popela <tpopela@redhat.com>
1987 [WTF] Rename String::format to String::deprecatedFormat
1988 https://bugs.webkit.org/show_bug.cgi?id=188191
1990 Reviewed by Darin Adler.
1992 It should be replaced with string concatenation.
1994 * pal/FileSizeFormatter.cpp:
1995 (fileSizeDescription):
1997 2018-08-01 Tim Horton <timothy_horton@apple.com>
1999 Using the keyboard arrow keys to scroll a webpage is very slow, not smooth, takes too long
2000 https://bugs.webkit.org/show_bug.cgi?id=188239
2001 <rdar://problem/22997654>
2003 Reviewed by Simon Fraser.
2005 * pal/spi/cocoa/QuartzCoreSPI.h:
2008 2018-07-30 Sihui Liu <sihui_liu@apple.com>
2010 Add support for fetching and remove type _WKWebsiteDataTypeHSTSCache
2011 https://bugs.webkit.org/show_bug.cgi?id=187379
2012 <rdar://problem/41879559>
2014 Reviewed by Geoffrey Garen.
2016 * pal/spi/cf/CFNetworkSPI.h:
2018 2018-07-30 Devin Rousso <webkit@devinrousso.com>
2020 Add missing CoreGraphics SPI
2021 https://bugs.webkit.org/show_bug.cgi?id=188177
2023 Reviewed by Joseph Pecoraro.
2025 * pal/spi/cg/CoreGraphicsSPI.h:
2027 2018-07-26 Andy VanWagoner <andy@vanwagoner.family>
2029 [INTL] Remove INTL sub-feature compile flags
2030 https://bugs.webkit.org/show_bug.cgi?id=188081
2032 Reviewed by Michael Catanzaro.
2034 * Configurations/FeatureDefines.xcconfig:
2036 2018-07-26 Ryan Haddad <ryanhaddad@apple.com>
2038 Unreviewed, rolling out r234281.
2040 Broke internal builds.
2044 "[Datalist] Add button to TextFieldInputs with a datalist"
2045 https://bugs.webkit.org/show_bug.cgi?id=187741
2046 https://trac.webkit.org/changeset/234281
2048 2018-07-26 Aditya Keerthi <akeerthi@apple.com>
2050 [Datalist] Add button to TextFieldInputs with a datalist
2051 https://bugs.webkit.org/show_bug.cgi?id=187741
2053 Reviewed by Tim Horton.
2055 * pal/spi/cocoa/NSColorSPI.h: Added NSColorGetUserAccentColor().
2057 2018-07-26 Commit Queue <commit-queue@webkit.org>
2059 Unreviewed, rolling out r234181 and r234189.
2060 https://bugs.webkit.org/show_bug.cgi?id=188075
2062 These are not needed right now (Requested by thorton on
2065 Reverted changesets:
2067 "Enable Web Content Filtering on watchOS"
2068 https://bugs.webkit.org/show_bug.cgi?id=187979
2069 https://trac.webkit.org/changeset/234181
2071 "HAVE(PARENTAL_CONTROLS) should be true on watchOS"
2072 https://bugs.webkit.org/show_bug.cgi?id=187985
2073 https://trac.webkit.org/changeset/234189
2075 2018-07-24 Tim Horton <timothy_horton@apple.com>
2077 Enable Web Content Filtering on watchOS
2078 https://bugs.webkit.org/show_bug.cgi?id=187979
2079 <rdar://problem/42559346>
2081 Reviewed by Wenson Hsieh.
2083 * Configurations/FeatureDefines.xcconfig:
2085 2018-07-24 Aditya Keerthi <akeerthi@apple.com>
2087 [Datalist][macOS] Display suggestions for input[type=color]
2088 https://bugs.webkit.org/show_bug.cgi?id=187794
2090 Reviewed by Tim Horton.
2092 Added methods to enable customization of NSPopoverColorWell.
2094 * PAL.xcodeproj/project.pbxproj:
2095 * pal/spi/mac/NSColorWellSPI.h: Added.
2096 * pal/spi/mac/NSPopoverColorWellSPI.h: Added.
2097 * pal/spi/mac/NSPopoverSPI.h:
2099 2018-07-23 Tim Horton <timothy_horton@apple.com>
2101 Creating and loading content in a WKWebView triggers Main Thread Checker warnings under ServicesController
2102 https://bugs.webkit.org/show_bug.cgi?id=186963
2103 <rdar://problem/41393682>
2105 Reviewed by Timothy Hatcher.
2107 * pal/spi/mac/NSSharingServiceSPI.h:
2110 2018-07-18 Per Arne Vollan <pvollan@apple.com>
2112 The WebContent process does not suspend when MiniBrowser is minimized.
2113 https://bugs.webkit.org/show_bug.cgi?id=187708
2115 Reviewed by Chris Dumez.
2117 Add function for enabling App nap.
2119 * pal/spi/cf/CFUtilitiesSPI.h:
2121 2018-07-18 Jer Noble <jer.noble@apple.com>
2123 PiP from Element Fullscreen should match AVKit's behavior
2124 https://bugs.webkit.org/show_bug.cgi?id=187623
2126 Reviewed by Jon Lee.
2128 * pal/spi/mac/PIPSPI.h:
2130 2018-07-14 Kocsen Chung <kocsen_chung@apple.com>
2132 Ensure WebKit stack is ad-hoc signed
2133 https://bugs.webkit.org/show_bug.cgi?id=187667
2135 Reviewed by Alexey Proskuryakov.
2137 * Configurations/Base.xcconfig:
2139 2018-07-04 Tim Horton <timothy_horton@apple.com>
2141 Introduce PLATFORM(IOSMAC)
2142 https://bugs.webkit.org/show_bug.cgi?id=187315
2144 Reviewed by Dan Bernstein.
2146 * Configurations/Base.xcconfig:
2147 * Configurations/FeatureDefines.xcconfig:
2148 * pal/cf/CoreMediaSoftLink.cpp:
2149 * pal/cf/CoreMediaSoftLink.h:
2150 * pal/spi/mac/AVFoundationSPI.h:
2152 2018-06-28 Jonathan Bedard <jbedard@apple.com>
2154 Build fix (2) after r233266
2155 https://bugs.webkit.org/show_bug.cgi?id=187024
2156 <rdar://problem/39759057>
2158 Unreviewed build fix.
2160 * pal/cf/CoreMediaSoftLink.cpp: Distinguish between IOS and MINIMAL_SIMULATOR.
2161 * pal/cf/CoreMediaSoftLink.h: Ditto.
2162 * pal/spi/cocoa/LaunchServicesSPI.h: LSApplicationProxy should be conditionalized on HAVE(APP_LINKS).
2164 2018-06-27 Jonathan Bedard <jbedard@apple.com>
2166 Build fix after r233266
2167 https://bugs.webkit.org/show_bug.cgi?id=187024
2168 <rdar://problem/39759057>
2170 Unreviewed build fix.
2172 * pal/cf/CoreMediaSoftLink.cpp: Do not soft-link CMSampleBufferCallForEachSample for
2173 iOS 12 and up on iPhone device and simulator.
2174 * pal/cf/CoreMediaSoftLink.h: Ditto.
2176 2018-06-27 Jonathan Bedard <jbedard@apple.com>
2178 Enable WebKit iOS 12 build
2179 https://bugs.webkit.org/show_bug.cgi?id=187024
2180 <rdar://problem/39759057>
2182 Reviewed by David Kilzer.
2184 * pal/cf/CoreMediaSoftLink.cpp: Condition some CoreMedia functions on version.
2185 * pal/cf/CoreMediaSoftLink.h: Ditto.
2186 * pal/spi/cocoa/NSXPCConnectionSPI.h: Use XPCSPI.h instead of xpc.h.
2187 * pal/spi/ios/QuickLookSPI.h: QLItem adopts QLPreviewItem.
2188 * pal/spi/ios/SystemPreviewSPI.h: Fix compiler errors.
2190 2018-06-26 Wenson Hsieh <wenson_hsieh@apple.com>
2192 [iPad apps on macOS] Unable to interact with video elements that have started playing
2193 https://bugs.webkit.org/show_bug.cgi?id=187073
2194 <rdar://problem/40591107>
2196 Reviewed by Tim Horton.
2198 Define an SPI method on CALayer. See WebKit ChangeLog for more detail.
2200 * pal/spi/cocoa/QuartzCoreSPI.h:
2202 2018-06-23 Yusuke Suzuki <utatane.tea@gmail.com>
2204 [WTF] Add user-defined literal for ASCIILiteral
2205 https://bugs.webkit.org/show_bug.cgi?id=186839
2207 Reviewed by Darin Adler.
2209 * pal/unix/LoggingUnix.cpp:
2210 (PAL::logLevelString):
2212 2018-06-22 Timothy Hatcher <timothy@apple.com>
2214 Corner of two scroll bars is white with dark mode enabled.
2215 https://bugs.webkit.org/show_bug.cgi?id=186819
2216 rdar://problem/40434350
2218 Reviewed by Tim Horton.
2220 * PAL.xcodeproj/project.pbxproj:
2221 * pal/spi/mac/CoreUISPI.h: Added.
2222 * pal/spi/mac/NSAppearanceSPI.h: Added.
2224 2018-06-21 Ryan Haddad <ryanhaddad@apple.com>
2226 Unreviewed attempt to fix the build after r233052.
2228 * pal/spi/cocoa/AVKitSPI.h:
2230 2018-06-21 Jer Noble <jer.noble@apple.com>
2232 [Fullscreen] Use secondary glyph style for fullscreen controls
2233 https://bugs.webkit.org/show_bug.cgi?id=186862
2234 <rdar://problem/41212210>
2236 Reviewed by Tim Horton.
2238 * pal/spi/cocoa/AVKitSPI.h:
2240 2018-06-15 Jonathan Bedard <jbedard@apple.com>
2242 Complex text handling should opt out of bounded text layout (follow-up fix)
2243 https://bugs.webkit.org/show_bug.cgi?id=186571
2244 <rdar://problem/40801429>
2246 Reviewed by Zalan Bujtas.
2248 * pal/spi/cocoa/CoreTextSPI.h: Add declaration for OpenSource Mojave builds.
2250 2018-06-14 Timothy Hatcher <timothy@apple.com>
2252 Expose more semantic system colors.
2254 https://bugs.webkit.org/show_bug.cgi?id=186609
2255 rdar://problem/39287277
2257 Reviewed by Tim Horton.
2259 * pal/spi/cocoa/NSColorSPI.h: Added findHighlightColor and placeholderTextColor.
2261 2018-06-09 Dan Bernstein <mitz@apple.com>
2263 [Xcode] Clean up and modernize some build setting definitions
2264 https://bugs.webkit.org/show_bug.cgi?id=186463
2266 Reviewed by Sam Weinig.
2268 * Configurations/Base.xcconfig: Removed definition for macOS 10.11.
2269 * Configurations/DebugRelease.xcconfig: Ditto.
2270 * Configurations/FeatureDefines.xcconfig: Simplified the definitions of ENABLE_APPLE_PAY and
2271 ENABLE_VIDEO_PRESENTATION_MODE now macOS 10.12 is the earliest supported version.
2272 * Configurations/PAL.xcconfig: Removed WK_PRIVATE_FRAMEWORKS_DIR, because the private
2273 framework stubs aren’t used when linking PAL.
2274 * Configurations/Version.xcconfig: Removed definition for macOS 10.11.
2275 * Configurations/WebKitTargetConditionals.xcconfig: Ditto.
2277 2018-06-09 Dan Bernstein <mitz@apple.com>
2279 Added missing file references to the Configuration group.
2281 * PAL.xcodeproj/project.pbxproj:
2283 2018-06-08 Darin Adler <darin@apple.com>
2285 [Cocoa] Remove all uses of NSAutoreleasePool as part of preparation for ARC
2286 https://bugs.webkit.org/show_bug.cgi?id=186436
2288 Reviewed by Anders Carlsson.
2290 * PAL.xcodeproj/project.pbxproj: Removed FoundationSPI.h.
2291 * pal/PlatformMac.cmake: Ditto.
2292 * pal/spi/cocoa/FoundationSPI.h: Moved into WTF project.
2294 2018-06-08 Wenson Hsieh <wenson_hsieh@apple.com>
2296 [WebKit on watchOS] Upstream watchOS source additions to OpenSource (Part 1)
2297 https://bugs.webkit.org/show_bug.cgi?id=186442
2298 <rdar://problem/40879364>
2300 Reviewed by Tim Horton.
2302 * Configurations/FeatureDefines.xcconfig:
2304 2018-06-08 Darin Adler <darin@apple.com>
2306 [Cocoa] Make more of our soft linking ARC-compatible
2307 https://bugs.webkit.org/show_bug.cgi?id=186437
2309 Reviewed by Daniel Bates.
2311 * pal/spi/cocoa/DataDetectorsCoreSPI.h: Removed unused DDURLScheme.
2313 2018-06-08 Jonathan Bedard <jbedard@apple.com>
2315 [Mojave] Enable build
2316 https://bugs.webkit.org/show_bug.cgi?id=186401
2317 <rdar://problem/39759031>
2319 Reviewed by Dan Bernstein.
2321 * pal/spi/cg/CoreGraphicsSPI.h: Declare CGSShutdownServerConnections().
2322 * pal/spi/cocoa/QuartzCoreSPI.h: Declare [CAContext setAllowsCGSConnections] in Mojave + builds.
2323 * pal/spi/mac/DataDetectorsSPI.h: Declare DDResultGetCFTypeID in Mojave+ builds.
2325 2018-06-08 Brent Fulgham <bfulgham@apple.com>
2327 REGRESSION (r230930): Link drag image is very blurry
2328 https://bugs.webkit.org/show_bug.cgi?id=186435
2329 <rdar://problem/40797202>
2331 Reviewed by Tim Horton.
2333 Add the necessary NSImage SPI to our SPI headers.
2335 * PAL.xcodeproj/project.pbxproj:
2336 * pal/spi/mac/NSImageSPI.h: Added.
2338 2018-06-07 Chris Dumez <cdumez@apple.com>
2340 Add base class to get WeakPtrFactory member and avoid some boilerplate code
2341 https://bugs.webkit.org/show_bug.cgi?id=186407
2343 Reviewed by Brent Fulgham.
2345 186407_CanMakeWeakPtr
2347 * pal/system/mac/SystemSleepListenerMac.h:
2348 * pal/system/mac/SystemSleepListenerMac.mm:
2349 (PAL::SystemSleepListenerMac::SystemSleepListenerMac):
2351 2018-06-06 Simon Fraser <simon.fraser@apple.com>
2353 Logging macros are sensitive to pal/Logging.h vs Logging.h include order
2354 https://bugs.webkit.org/show_bug.cgi?id=185893
2356 Reviewed by Zalan Bujtas.
2358 Remove unused functionality from pal/Logging code until we need it. Primarily this removes the
2359 #define LOG_CHANNEL_PREFIX from pal/Logging.h, which caused include-order problems with unified sources.
2361 Future work should move shared logging code up to WTF (or into PAL).
2363 * PAL.xcodeproj/project.pbxproj:
2364 * pal/CMakeLists.txt:
2365 * pal/LogInitialization.h: Removed.
2367 (PAL::isLogChannelEnabled): Deleted.
2368 (PAL::setLogChannelToAccumulate): Deleted.
2369 (PAL::initializeLogChannelsIfNecessary): Deleted.
2371 * pal/cocoa/LoggingCocoa.mm: Removed.
2373 2018-06-05 Brent Fulgham <bfulgham@apple.com>
2375 Adjust compile and runtime flags to match shippable state of features
2376 https://bugs.webkit.org/show_bug.cgi?id=186319
2377 <rdar://problem/40352045>
2379 Reviewed by Maciej Stachowiak, Jon Lee, and others.
2381 * Configurations/DebugRelease.xcconfig: Update to match WebKit definition of
2382 WK_RELOCATABLE_FRAMEWORKS so that ENABLE(EXPERIMENTAL_FEATURES) is defined properly for
2384 * Configurations/FeatureDefines.xcconfig: Don't build ENABLE_INPUT_TYPE_COLOR
2385 or ENABLE_INPUT_TYPE_COLOR_POPOVER.
2387 2018-06-05 Brent Fulgham <bfulgham@apple.com>
2389 Revise DEFAULT_EXPERIMENTAL_FEATURES_ENABLED to work properly on Apple builds
2390 https://bugs.webkit.org/show_bug.cgi?id=186286
2391 <rdar://problem/40782992>
2393 Reviewed by Dan Bernstein.
2395 Use the WK_RELOCATABLE_FRAMEWORKS flag (which is always defined for non-production builds)
2396 to define ENABLE(EXPERIMENTAL_FEATURES) so that we do not need to manually
2397 change this flag when preparing for a production release.
2399 * Configurations/FeatureDefines.xcconfig: Use WK_RELOCATABLE_FRAMEWORKS to determine
2400 whether experimental features should be enabled, and use it to properly define the
2403 2018-06-04 Dan Bernstein <mitz@apple.com>
2405 Made PAL build with the macOS Mojave SDK.
2407 * pal/cf/CoreMediaSoftLink.cpp:
2408 * pal/cf/CoreMediaSoftLink.h:
2410 2018-06-04 Wenson Hsieh <wenson_hsieh@apple.com>
2412 [WebKit on watchOS] Remove all uses of the EXTRA_ZOOM_MODE compiler flag
2413 https://bugs.webkit.org/show_bug.cgi?id=186279
2415 Reviewed by Tim Horton.
2417 Replaces uses of ENABLE(EXTRA_ZOOM_MODE) with PLATFORM(WATCHOS).
2419 * pal/cf/CoreMediaSoftLink.h:
2420 * pal/spi/cocoa/AVKitSPI.h:
2422 2018-05-30 Andy Estes <aestes@apple.com>
2424 [Cocoa] Add an SPI to suppress connection termination errors from CFNetwork when network interfaces change
2425 https://bugs.webkit.org/show_bug.cgi?id=186107
2426 <rdar://problem/39338957>
2428 Reviewed by Brady Eidson.
2430 * pal/spi/cf/CFNetworkSPI.h: Declared new SPI.
2432 2018-05-27 Dan Bernstein <mitz@apple.com>
2434 Reverted the changes made for https://webkit.org/b/186016
2436 They broke the USE(APPLE_INTERNAL_SDK) Sierra build.
2438 2018-05-25 Chris Dumez <cdumez@apple.com>
2440 Drop support for NSURLCache in WebKit2
2441 https://bugs.webkit.org/show_bug.cgi?id=185990
2443 Reviewed by Geoffrey Garen.
2445 Drop support for NSURLCache in WebKit2 now that the WebKit network cache is stable.
2447 * pal/spi/cf/CFNetworkSPI.h:
2449 2018-05-24 Jiewen Tan <jiewen_tan@apple.com>
2451 Adopt SecKeyProxy SPI in certificate based challenge response code
2452 https://bugs.webkit.org/show_bug.cgi?id=185848
2453 <rdar://problem/34586181>
2455 Reviewed by Alex Christensen.
2457 Add SPIs to support SecKeyProxy and convert xpc_endpoint_t to NSXPCListenerEndpoint vice versa.
2459 * PAL.xcodeproj/project.pbxproj:
2460 * pal/spi/cocoa/NSXPCConnectionSPI.h: Added.
2461 * pal/spi/cocoa/SecKeyProxySPI.h: Added.
2463 2018-05-24 Chris Dumez <cdumez@apple.com>
2465 Some of the work in initializeLogChannelsIfNecessary() is unnecessary for release builds
2466 https://bugs.webkit.org/show_bug.cgi?id=185951
2468 Reviewed by Geoffrey Garen.
2470 Some of the work in initializeLogChannelsIfNecessary() is unnecessary for release builds and slows down
2471 launch time. In particular, it is unnecessary to read NSDefaults to figure out which logging channels
2474 * pal/cocoa/LoggingCocoa.mm:
2475 (PAL::logLevelString):
2476 * pal/unix/LoggingUnix.cpp:
2477 (PAL::logLevelString):
2478 * pal/win/LoggingWin.cpp:
2479 (PAL::logLevelString):
2481 2018-05-22 Simon Fraser <simon.fraser@apple.com>
2483 Add notifyutil callbacks to dump the memory cache, and the list of live Pages and Documents
2484 https://bugs.webkit.org/show_bug.cgi?id=185853
2486 Reviewed by Keith Miller.
2488 Compile registerNotifyCallback in release builds.
2491 (PAL::registerNotifyCallback):
2494 2018-05-22 Ryan Haddad <ryanhaddad@apple.com>
2496 Unreviewed, rolling out r232052.
2498 Breaks internal builds.
2503 https://bugs.webkit.org/show_bug.cgi?id=185176
2504 https://trac.webkit.org/changeset/232052
2506 2018-05-21 Yusuke Suzuki <utatane.tea@gmail.com>
2509 https://bugs.webkit.org/show_bug.cgi?id=185176
2511 Reviewed by JF Bastien.
2513 * Configurations/Base.xcconfig:
2515 2018-05-21 Jer Noble <jer.noble@apple.com>
2517 Complete fix for enabling modern EME by default
2518 https://bugs.webkit.org/show_bug.cgi?id=185770
2519 <rdar://problem/40368220>
2521 Reviewed by Eric Carlson.
2523 * Configurations/FeatureDefines.xcconfig:
2525 2018-05-18 Commit Queue <commit-queue@webkit.org>
2527 Unreviewed, rolling out r231982.
2528 https://bugs.webkit.org/show_bug.cgi?id=185793
2530 Caused layout test failures (Requested by realdawei on
2535 "Complete fix for enabling modern EME by default"
2536 https://bugs.webkit.org/show_bug.cgi?id=185770
2537 https://trac.webkit.org/changeset/231982
2539 2018-05-18 Jer Noble <jer.noble@apple.com>
2541 Complete fix for enabling modern EME by default
2542 https://bugs.webkit.org/show_bug.cgi?id=185770
2543 <rdar://problem/40368220>
2545 Reviewed by Eric Carlson.
2547 * Configurations/FeatureDefines.xcconfig:
2549 2018-05-16 Andy VanWagoner <andy@vanwagoner.family>
2551 Add support for Intl NumberFormat formatToParts
2552 https://bugs.webkit.org/show_bug.cgi?id=185375
2554 Reviewed by Yusuke Suzuki.
2556 Add flag for NumberFormat formatToParts.
2558 * Configurations/FeatureDefines.xcconfig:
2560 2018-05-15 Wenson Hsieh <wenson_hsieh@apple.com>
2562 PasteboardWebContent's dataInAttributedStringFormat fails to deserialize in the UI process when copying a selection
2563 https://bugs.webkit.org/show_bug.cgi?id=185667
2564 <rdar://problem/40135132>
2566 Reviewed by Tim Horton.
2568 Fixes error logging emitted when copying a text selection due to the secure archiver on iOS being unable to
2569 handle NSAttributedString in the builds where the errors manifest. USE_SECURE_ARCHIVER_FOR_ATTRIBUTED_STRING is
2570 defined to be 1, despite not having the fix for <rdar://problem/31376830>.
2572 * pal/spi/cocoa/NSKeyedArchiverSPI.h:
2574 2018-05-11 Dan Bernstein <mitz@apple.com>
2576 Follow-up build fix to r231721.
2578 * pal/cf/CoreMediaSoftLink.cpp:
2579 * pal/cf/CoreMediaSoftLink.h:
2580 Unify the conditions between the header and the implementation files, and have watchOS and
2583 2018-05-11 Jer Noble <jer.noble@apple.com>
2585 Add CF_NOESCAPE decorators for tvOS and watchOS
2586 https://bugs.webkit.org/show_bug.cgi?id=185560
2588 Reviewed by Dan Bernstein.
2590 * pal/cf/CoreMediaSoftLink.h:
2592 2018-05-08 Sihui Liu <sihui_liu@apple.com>
2594 Adopt new async _savecookies SPI for keeping networking process active during flushing cookies
2595 https://bugs.webkit.org/show_bug.cgi?id=185261
2596 <rdar://problem/37214391>
2598 Reviewed by Chris Dumez.
2600 * pal/spi/cf/CFNetworkSPI.h:
2602 2018-05-08 Dean Jackson <dino@apple.com>
2604 Use thumbnails in System Previews
2605 https://bugs.webkit.org/show_bug.cgi?id=185397
2606 <rdar://problem/40039376>
2608 Reviewed by Jon Lee.
2610 * PAL.xcodeproj/project.pbxproj:
2611 * pal/spi/ios/SystemPreviewSPI.h: New file holding the non-public parts of System Preview.
2613 2018-05-04 Tim Horton <timothy_horton@apple.com>
2615 Shift to a lower-level framework for simplifying URLs
2616 https://bugs.webkit.org/show_bug.cgi?id=185334
2618 Reviewed by Dan Bernstein.
2620 * PAL.xcodeproj/project.pbxproj:
2621 * pal/PlatformMac.cmake:
2622 * pal/spi/cocoa/URLFormattingSPI.h: Renamed from Source/WebCore/PAL/pal/spi/cocoa/LinkPresentationSPI.h.
2624 2018-05-03 Eric Carlson <eric.carlson@apple.com>
2626 [iOS] Provide audio route information when invoking AirPlay picker
2627 https://bugs.webkit.org/show_bug.cgi?id=185199
2628 <rdar://problem/39853103>
2630 Another attempt at an unreviewed build fix.
2632 * pal/spi/mac/AVFoundationSPI.h:
2634 2018-05-02 Eric Carlson <eric.carlson@apple.com>
2636 [iOS] Provide audio route information when invoking AirPlay picker
2637 https://bugs.webkit.org/show_bug.cgi?id=185199
2638 <rdar://problem/39853103>
2640 Unreviewed, another attempted build fix.
2642 * pal/spi/mac/AVFoundationSPI.h:
2644 2018-05-02 Alex Christensen <achristensen@webkit.org>
2646 Add WKWebsiteDataStorePrivate._proxyConfiguration SPI
2647 https://bugs.webkit.org/show_bug.cgi?id=185179
2649 Reviewed by Andy Estes.
2651 * pal/spi/cf/CFNetworkSPI.h:
2653 2018-05-02 Eric Carlson <eric.carlson@apple.com>
2655 [iOS] Provide audio route information when invoking AirPlay picker
2656 https://bugs.webkit.org/show_bug.cgi?id=185199
2657 <rdar://problem/39853103>
2659 Unreviewed build fix.
2661 * pal/spi/mac/AVFoundationSPI.h:
2663 2018-05-02 Eric Carlson <eric.carlson@apple.com>
2665 [iOS] Provide audio route information when invoking AirPlay picker
2666 https://bugs.webkit.org/show_bug.cgi?id=185199
2667 <rdar://problem/39853103>
2669 Reviewed by Jer Noble.
2671 * pal/spi/mac/AVFoundationSPI.h: Add additional AVAudioSession SPI.
2673 2018-05-01 Jer Noble <jer.noble@apple.com>
2675 Protect against changes to CoreMedia function signatures
2676 https://bugs.webkit.org/show_bug.cgi?id=185167
2678 Reviewed by Eric Carlson.
2680 * pal/cf/CoreMediaSoftLink.cpp:
2681 * pal/cf/CoreMediaSoftLink.h:
2683 2018-05-01 Oleksandr Skachkov <gskachkov@gmail.com>
2685 WebAssembly: add support for stream APIs - JavaScript API
2686 https://bugs.webkit.org/show_bug.cgi?id=183442
2688 Reviewed by Yusuke Suzuki and JF Bastien.
2690 Add WEBASSEMBLY_STREAMING_API feature flag
2692 * Configurations/FeatureDefines.xcconfig:
2694 2018-04-26 Jer Noble <jer.noble@apple.com>
2696 WK_COCOA_TOUCH all the things.
2697 https://bugs.webkit.org/show_bug.cgi?id=185006
2699 Reviewed by Tim Horton.
2701 * Configurations/PAL.xcconfig:
2703 2018-04-26 Per Arne Vollan <pvollan@apple.com>
2705 Disable content filtering in minimal simulator mode
2706 https://bugs.webkit.org/show_bug.cgi?id=185027
2707 <rdar://problem/39736091>
2709 Reviewed by Jer Noble.
2711 * Configurations/FeatureDefines.xcconfig:
2713 2018-04-26 Andy VanWagoner <thetalecrafter@gmail.com>
2715 [INTL] Implement Intl.PluralRules
2716 https://bugs.webkit.org/show_bug.cgi?id=184312
2718 Reviewed by JF Bastien.
2720 Added Intl.PluralRules feature flag.
2722 * Configurations/FeatureDefines.xcconfig:
2724 2018-04-24 Jer Noble <jer.noble@apple.com>
2726 Don't add system framework paths to FRAMEWORK_SEARCH_PATHS
2727 https://bugs.webkit.org/show_bug.cgi?id=184786
2729 Reviewed by Tim Horton.
2731 * Configurations/PAL.xcconfig:
2733 2018-04-23 Daniel Bates <dabates@apple.com>
2735 Implement Same-Site cookies
2736 https://bugs.webkit.org/show_bug.cgi?id=159464
2737 <rdar://problem/27196358>
2739 Reviewed by Brent Fulgham.
2741 Forward declare some SPI.
2743 * pal/spi/cf/CFNetworkSPI.h:
2745 2018-04-23 Zalan Bujtas <zalan@apple.com>
2747 [LayoutFormattingContext] Initial commit.
2748 https://bugs.webkit.org/show_bug.cgi?id=184896
2750 Reviewed by Antti Koivisto.
2752 * Configurations/FeatureDefines.xcconfig:
2754 2018-04-23 Daniel Bates <dabates@apple.com>
2756 Implement Same-Site cookies
2757 https://bugs.webkit.org/show_bug.cgi?id=159464
2758 <rdar://problem/27196358>
2760 Reviewed by Brent Fulgham.
2762 Forward declare some SPI.
2764 * pal/spi/cf/CFNetworkSPI.h:
2766 2018-04-20 Tim Horton <timothy_horton@apple.com>
2768 Adjust geolocation feature flag
2769 https://bugs.webkit.org/show_bug.cgi?id=184856
2771 Reviewed by Wenson Hsieh.
2773 * Configurations/FeatureDefines.xcconfig:
2775 2018-04-18 Jer Noble <jer.noble@apple.com>
2777 Don't put build products into WK_ALTERNATE_WEBKIT_SDK_PATH for engineering builds
2778 https://bugs.webkit.org/show_bug.cgi?id=184762
2780 Reviewed by Dan Bernstein.
2782 * Configurations/CopyPALHeaders.xcconfig:
2783 * Configurations/PAL.xcconfig:
2785 2018-04-19 David Kilzer <ddkilzer@apple.com>
2787 Enable Objective-C weak references
2788 <https://webkit.org/b/184789>
2789 <rdar://problem/39571716>
2791 Reviewed by Dan Bernstein.
2793 * Configurations/Base.xcconfig:
2794 (CLANG_ENABLE_OBJC_WEAK): Enable.
2796 2018-04-17 Eric Carlson <eric.carlson@apple.com>
2798 [iOS] AirPlay device name is sometimes wrong
2799 https://bugs.webkit.org/show_bug.cgi?id=184543
2800 <rdar://problem/39105498>
2802 Reviewed by Jer Noble.
2804 * pal/spi/mac/AVFoundationSPI.h: Declare more AVOutputContext SPI.
2806 2018-04-16 Brent Fulgham <bfulgham@apple.com>
2808 [macOS] Don't establish unneeded Dock connections
2809 https://bugs.webkit.org/show_bug.cgi?id=184664
2810 <rdar://problem/16863698>
2812 Reviewed by Simon Fraser.
2814 There is no reason for the WebContent or Plugin processes to interact with
2815 the Dock. We should tell AppKit that we don't want this connection, and to
2816 avoid creating such connections.
2818 * pal/spi/mac/NSApplicationSPI.h: Add Dock connection declaration.
2820 2018-04-09 John Wilander <wilander@apple.com>
2822 Refactor Ignore HSTS code
2823 https://bugs.webkit.org/show_bug.cgi?id=184433
2824 <rdar://problem/39298238>
2826 Reviewed by Darin Adler.
2828 This patch refactors our ignore HSTS code. The convenience functions are moved
2829 out of CFNetwork SPI in PAL, and into where they are used. It also switches
2830 from performSelector: calls to straight function calls, after checking that
2831 there is a responder.
2833 * pal/spi/cf/CFNetworkSPI.h:
2834 (schemeWasUpgradedDueToDynamicHSTS): Deleted.
2835 (setIgnoreHSTS): Deleted.
2836 (ignoreHSTS): Deleted.
2838 2018-04-07 Timothy Hatcher <timothy@apple.com>
2840 Use the system's link color when system appearance is desired for a WebView.
2842 https://bugs.webkit.org/show_bug.cgi?id=184353
2843 rdar://problem/9420053
2845 Reviewed by Wenson Hsieh.
2847 * pal/spi/cocoa/NSColorSPI.h: Added linkColor.
2849 2018-04-05 John Wilander <wilander@apple.com>
2851 Add necessary colon to CFNetwork selector
2852 https://bugs.webkit.org/show_bug.cgi?id=184335
2853 <rdar://problem/39213124>
2855 Reviewed by Brent Fulgham.
2857 * pal/spi/cf/CFNetworkSPI.h:
2860 2018-04-04 Per Arne Vollan <pvollan@apple.com>
2862 The layout test fast/canvas/canvas-blending-global-alpha.html is failing when the WebContent process does not have WindowServer access.
2863 https://bugs.webkit.org/show_bug.cgi?id=183752
2865 Reviewed by Brent Fulgham.
2867 * pal/spi/cg/CoreGraphicsSPI.h:
2869 2018-04-02 Eric Carlson <eric.carlson@apple.com>
2871 Define AVKit softlink macro
2872 https://bugs.webkit.org/show_bug.cgi?id=184241
2874 Reviewed by Jer Noble.
2876 * pal/cf/CoreMediaSoftLink.h:
2878 2018-03-23 Tim Horton <timothy_horton@apple.com>
2880 Fix the !HAVE(APP_LINKS) build
2881 https://bugs.webkit.org/show_bug.cgi?id=183974
2883 Reviewed by Dan Bernstein.
2885 * pal/spi/cocoa/LaunchServicesSPI.h:
2886 This header is not very !HAVE(APP_LINKS) friendly.
2888 2018-03-23 Tim Horton <timothy_horton@apple.com>
2890 Fix the build with no pasteboard
2891 https://bugs.webkit.org/show_bug.cgi?id=183973
2893 Reviewed by Dan Bernstein.
2895 * Configurations/FeatureDefines.xcconfig:
2897 2018-03-22 Tim Horton <timothy_horton@apple.com>
2899 Adopt WK_ALTERNATE_FRAMEWORKS_DIR in WebCore
2900 https://bugs.webkit.org/show_bug.cgi?id=183930
2901 <rdar://problem/38782249>
2903 Reviewed by Dan Bernstein.
2905 * Configurations/Base.xcconfig:
2906 * Configurations/CopyPALHeaders.xcconfig:
2907 * Configurations/PAL.xcconfig:
2909 2018-03-22 Tim Horton <timothy_horton@apple.com>
2911 Improve readability of WebCore's OTHER_LDFLAGS
2912 https://bugs.webkit.org/show_bug.cgi?id=183909
2913 <rdar://problem/38760992>
2915 Reviewed by Dan Bernstein.
2917 * Configurations/Base.xcconfig:
2918 * Configurations/FeatureDefines.xcconfig:
2920 2018-03-21 Brent Fulgham <bfulgham@apple.com>
2922 Remove temporary build fix now that underlying issue is resolved
2923 https://bugs.webkit.org/show_bug.cgi?id=183854
2924 <rdar://problem/37198715>
2926 Reviewed by Eric Carlson.
2928 The build environment issues that forced us to disable this setting
2929 have been corrected, so this should be turned on for all builds.
2931 * pal/spi/cf/CFNetworkSPI.h:
2933 2018-03-20 Tim Horton <timothy_horton@apple.com>
2935 Enable the minimal simulator feature flag when appropriate
2936 https://bugs.webkit.org/show_bug.cgi?id=183807
2938 Reviewed by Dan Bernstein.
2940 * Configurations/FeatureDefines.xcconfig:
2942 2018-03-20 Tim Horton <timothy_horton@apple.com>
2944 Add and adopt WK_PLATFORM_NAME and adjust default feature defines
2945 https://bugs.webkit.org/show_bug.cgi?id=183758
2946 <rdar://problem/38017644>
2948 Reviewed by Dan Bernstein.
2950 * Configurations/FeatureDefines.xcconfig:
2952 2018-03-19 Jiewen Tan <jiewen_tan@apple.com>
2954 Unreviewed, another quick fix for r229699
2956 Restricts ENABLE_WEB_AUTHN to only macOS and iOS.
2958 * Configurations/FeatureDefines.xcconfig:
2960 2018-03-19 Eric Carlson <eric.carlson@apple.com>
2962 [Extra zoom mode] Require fullscreen for video playback
2963 https://bugs.webkit.org/show_bug.cgi?id=183742
2964 <rdar://problem/38235862>
2966 Reviewed by Jer Noble.
2968 * pal/spi/cocoa/AVKitSPI.h:
2970 2018-03-19 Jiewen Tan <jiewen_tan@apple.com>
2972 Unreviewed, a quick fix for r229699
2974 * pal/spi/cocoa/DeviceIdentitySPI.h:
2976 2018-03-17 Jiewen Tan <jiewen_tan@apple.com>
2978 [WebAuthN] Implement authenticatorMakeCredential
2979 https://bugs.webkit.org/show_bug.cgi?id=183527
2980 <rdar://problem/35275886>
2982 Reviewed by Brent Fulgham.
2984 * PAL.xcodeproj/project.pbxproj:
2985 * pal/spi/cocoa/DeviceIdentitySPI.h: Copied from Source/WebKit/UIProcess/CredentialManagement/WebCredentialsMessengerProxy.h.
2987 2018-03-14 Tim Horton <timothy_horton@apple.com>
2989 Fix the build after r229567
2991 * Configurations/FeatureDefines.xcconfig:
2993 2018-03-13 Dean Jackson <dino@apple.com>
2995 Fix some build errors and cleanup QuickLookSPI.h
2996 https://bugs.webkit.org/show_bug.cgi?id=183599
2998 Reviewed by Ryan Haddad.
3000 * pal/spi/ios/QuickLookSPI.h:
3002 2018-03-12 Dean Jackson <dino@apple.com>
3004 Add a WKWebViewContentProvider for system previews
3005 https://bugs.webkit.org/show_bug.cgi?id=183582
3006 <rdar://problem/38393569>
3008 Reviewed by Tim Horton.
3010 Add some QuickLook SPI.
3012 * pal/spi/ios/QuickLookSPI.h:
3014 2018-03-12 Don Olmstead <don.olmstead@sony.com>
3016 [CMake][Win] Forwarding headers of WTF and PAL are copied twice in Visual Studio builds
3017 https://bugs.webkit.org/show_bug.cgi?id=183240
3019 Reviewed by Alex Christensen.
3021 * pal/CMakeLists.txt:
3022 * pal/PlatformAppleWin.cmake:
3023 * pal/PlatformGTK.cmake:
3024 * pal/PlatformMac.cmake:
3025 * pal/PlatformWPE.cmake:
3026 * pal/PlatformWinCairo.cmake:
3028 2018-03-12 Tim Horton <timothy_horton@apple.com>
3030 Stop using SDK conditionals to control feature definitions
3031 https://bugs.webkit.org/show_bug.cgi?id=183430
3032 <rdar://problem/38251619>
3034 Reviewed by Dan Bernstein.
3036 * Configurations/FeatureDefines.xcconfig:
3037 * Configurations/WebKitTargetConditionals.xcconfig: Renamed.
3039 2018-03-12 Yoav Weiss <yoav@yoav.ws>
3041 Runtime flag for link prefetch and remove link subresource.
3042 https://bugs.webkit.org/show_bug.cgi?id=183540
3044 Reviewed by Chris Dumez.
3046 Remove the LINK_PREFETCH build time flag.
3048 * Configurations/FeatureDefines.xcconfig:
3050 2018-03-12 Tim Horton <timothy_horton@apple.com>
3052 Use a different SPI header for some AudioToolbox enums
3053 https://bugs.webkit.org/show_bug.cgi?id=183574
3054 <rdar://problem/38385889>
3056 Reviewed by Anders Carlsson.
3058 * PAL.xcodeproj/project.pbxproj:
3059 * pal/spi/cocoa/AudioToolboxSPI.h: Added.
3061 2018-03-07 Tim Horton <timothy_horton@apple.com>
3063 Sort and separate FeatureDefines.xcconfig
3064 https://bugs.webkit.org/show_bug.cgi?id=183427
3066 Reviewed by Dan Bernstein.
3068 * Configurations/FeatureDefines.xcconfig:
3069 Sort and split FeatureDefines into paragraphs
3070 (to make it easier to sort later).
3072 2018-03-05 Yusuke Suzuki <utatane.tea@gmail.com>
3074 Fix std::make_unique / new[] using system malloc
3075 https://bugs.webkit.org/show_bug.cgi?id=182975
3077 Reviewed by JF Bastien.
3081 * pal/win/LoggingWin.cpp:
3082 (PAL::logLevelString):
3084 2018-03-04 Yusuke Suzuki <utatane.tea@gmail.com>
3086 [WTF] Move currentCPUTime and sleep(Seconds) to CPUTime.h and Seconds.h respectively
3087 https://bugs.webkit.org/show_bug.cgi?id=183312
3089 Reviewed by Mark Lam.
3091 Remove wtf/CurrentTime.h include pragma.
3093 * pal/system/ClockGeneric.cpp:
3095 2018-03-04 Tim Horton <timothy_horton@apple.com>
3097 Make !ENABLE(DATA_DETECTION) iOS build actually succeed
3098 https://bugs.webkit.org/show_bug.cgi?id=183283
3099 <rdar://problem/38062148>
3101 Reviewed by Sam Weinig.
3103 * Configurations/FeatureDefines.xcconfig:
3105 2018-03-01 Yusuke Suzuki <utatane.tea@gmail.com>
3107 Remove monotonicallyIncreasingTime
3108 https://bugs.webkit.org/show_bug.cgi?id=182911
3110 Reviewed by Michael Catanzaro.
3112 * pal/system/ClockGeneric.cpp:
3113 (PAL::ClockGeneric::currentTime const):
3114 (PAL::ClockGeneric::now const):
3115 * pal/system/ClockGeneric.h:
3117 2018-02-27 Tim Horton <timothy_horton@apple.com>
3119 Stop using deprecated CADisplay SPI
3120 https://bugs.webkit.org/show_bug.cgi?id=183150
3121 <rdar://problem/37918297>
3123 Reviewed by Simon Fraser.
3125 * pal/spi/cocoa/QuartzCoreSPI.h:
3126 Switch to the more modern way of getting the display name.
3128 2018-02-27 Ryan Haddad <ryanhaddad@apple.com>
3130 Unreviewed, rolling out r229055.
3132 Breaks internal builds.
3136 "Stop using deprecated CADisplay SPI"
3137 https://bugs.webkit.org/show_bug.cgi?id=183150
3138 https://trac.webkit.org/changeset/229055
3140 2018-02-27 Tim Horton <timothy_horton@apple.com>
3142 Stop using deprecated CADisplay SPI
3143 https://bugs.webkit.org/show_bug.cgi?id=183150
3144 <rdar://problem/37918297>
3146 Reviewed by Simon Fraser.
3148 * pal/spi/cocoa/QuartzCoreSPI.h:
3149 Switch to the more modern way of getting the display name.
3151 2018-02-20 Tim Horton <timothy_horton@apple.com>
3153 Introduce HAVE(IOSURFACE_ACCELERATOR)
3154 https://bugs.webkit.org/show_bug.cgi?id=182955
3155 <rdar://problem/37699510>
3157 Reviewed by Sam Weinig.
3159 * pal/spi/cg/CoreGraphicsSPI.h:
3160 * pal/spi/cocoa/IOSurfaceSPI.h:
3161 * pal/spi/cocoa/QuartzCoreSPI.h:
3163 2018-02-15 Tim Horton <timothy_horton@apple.com>
3165 Stop using EXCLUDED_SOURCE_FILE_NAMES for actual source files in WebCore
3166 https://bugs.webkit.org/show_bug.cgi?id=182822
3168 Reviewed by Dan Bernstein.
3170 * Configurations/PAL.xcconfig:
3171 * pal/system/Sound.cpp:
3172 * pal/system/mac/SoundMac.mm:
3173 * pal/text/KillRing.cpp:
3174 * pal/text/mac/KillRingMac.mm:
3176 2018-02-09 Don Olmstead <don.olmstead@sony.com>
3178 [CMake] Make PAL headers copies
3179 https://bugs.webkit.org/show_bug.cgi?id=182645
3181 Reviewed by Alex Christensen.
3183 * pal/CMakeLists.txt:
3184 * pal/PlatformAppleWin.cmake:
3185 * pal/PlatformGTK.cmake:
3186 * pal/PlatformMac.cmake:
3187 * pal/PlatformWPE.cmake:
3188 * pal/PlatformWin.cmake:
3189 * pal/PlatformWinCairo.cmake:
3191 2018-01-30 Myles C. Maxfield <mmaxfield@apple.com>
3193 A disallowed user-installed font may be used if its PostScript name is specified
3194 https://bugs.webkit.org/show_bug.cgi?id=180951
3196 Reviewed by Brent Fulgham.
3198 * pal/spi/cocoa/CoreTextSPI.h:
3200 2018-01-29 Jiewen Tan <jiewen_tan@apple.com>
3202 [WebAuthN] Add a compile-time feature flag
3203 https://bugs.webkit.org/show_bug.cgi?id=182211
3204 <rdar://problem/36936365>
3206 Reviewed by Brent Fulgham.
3208 * Configurations/FeatureDefines.xcconfig:
3210 2018-01-27 Dan Bernstein <mitz@apple.com>
3212 HaveInternalSDK includes should be "#include?"
3213 https://bugs.webkit.org/show_bug.cgi?id=179670
3215 * Configurations/Base.xcconfig:
3217 2018-01-24 Alex Christensen <achristensen@webkit.org>
3219 Fix Windows build after r227552
3220 https://bugs.webkit.org/show_bug.cgi?id=182026
3222 * pal/spi/cg/CoreGraphicsSPI.h:
3224 2018-01-24 Alex Christensen <achristensen@webkit.org>
3226 Remove pre-Sierra-OS-specific code in WebCore
3227 https://bugs.webkit.org/show_bug.cgi?id=182026
3229 Reviewed by Tim Horton.
3231 * pal/spi/cf/CFNetworkSPI.h:
3232 * pal/spi/cg/CoreGraphicsSPI.h:
3233 * pal/spi/cocoa/DataDetectorsCoreSPI.h:
3234 * pal/spi/cocoa/QuartzCoreSPI.h:
3235 * pal/spi/mac/AVFoundationSPI.h:
3236 * pal/spi/mac/NSMenuSPI.h:
3237 * pal/spi/mac/NSScrollingMomentumCalculatorSPI.h:
3238 * pal/spi/mac/PIPSPI.h:
3240 2018-01-23 Dean Jackson <dino@apple.com>
3242 REGRESSION (r222961?): sRGB images shown in WebGL are over-saturated on a wide gamut monitor
3243 https://bugs.webkit.org/show_bug.cgi?id=182033
3244 <rdar://problem/36377780>
3246 Reviewed by Antoine Quint.
3248 Expose an IOSurface colorspace property name, and a function to serialize a CGColorSpace.
3250 * pal/spi/cg/CoreGraphicsSPI.h:
3251 * pal/spi/cocoa/IOSurfaceSPI.h:
3253 2018-01-23 Michael Catanzaro <mcatanzaro@igalia.com>
3255 [WPE][GTK] Sleep inhibitors do not work under Flatpak
3256 https://bugs.webkit.org/show_bug.cgi?id=180812
3258 Reviewed by Carlos Garcia Campos.
3260 Ensure SleepDisablerGLib works even when running inside a Flatpak sandbox by using the
3261 Freedesktop inhibit portal D-Bus API.
3263 Unfortunately this has to be tested manually.
3265 * pal/system/glib/SleepDisablerGLib.cpp:
3266 (PAL::SleepDisablerGLib::SleepDisablerGLib):
3267 (PAL::SleepDisablerGLib::~SleepDisablerGLib):
3268 (PAL::SleepDisablerGLib::acquireInhibitor):
3269 (PAL::SleepDisablerGLib::acquireInhibitorViaScreenSaverProxy):
3270 (PAL::SleepDisablerGLib::acquireInhibitorViaInhibitPortalProxy):
3271 (PAL::SleepDisablerGLib::releaseInhibitor):
3272 (PAL::SleepDisablerGLib::releaseInhibitorViaScreenSaverProxy):
3273 (PAL::SleepDisablerGLib::releaseInhibitorViaInhibitPortalProxy):
3275 2018-01-22 Myles C. Maxfield <mmaxfield@apple.com>
3277 [Cocoa] Support font collections
3278 https://bugs.webkit.org/show_bug.cgi?id=181826
3279 <rdar://problem/36455137>
3281 Reviewed by Dean Jackson.
3283 * pal/spi/cocoa/CoreTextSPI.h:
3285 2018-01-21 Wenson Hsieh <wenson_hsieh@apple.com>
3287 Add a new feature flag for EXTRA_ZOOM_MODE and reintroduce AdditionalFeatureDefines.h
3288 https://bugs.webkit.org/show_bug.cgi?id=181918
3290 Reviewed by Tim Horton.
3292 Add EXTRA_ZOOM_MODE to FeatureDefines.xconfig (off by default).
3294 * Configurations/FeatureDefines.xcconfig:
3296 2018-01-18 Dan Bernstein <mitz@apple.com>
3298 [Xcode] Streamline and future-proof target-macOS-version-dependent build setting definitions
3299 https://bugs.webkit.org/show_bug.cgi?id=181803
3301 Reviewed by Tim Horton.
3303 * Configurations/Base.xcconfig: Updated.
3304 * Configurations/DebugRelease.xcconfig: Ditto.
3305 * Configurations/FeatureDefines.xcconfig: Adopted macOSTargetConditionals helpers.
3306 * Configurations/Version.xcconfig: Updated.
3307 * Configurations/macOSTargetConditionals.xcconfig: Added. Defines helper build settings
3308 useful for defining settings that depend on the target macOS version.
3310 2018-01-17 John Wilander <wilander@apple.com>
3312 Resource Load Statistics: Block cookies for prevalent resources without user interaction
3313 https://bugs.webkit.org/show_bug.cgi?id=177394
3314 <rdar://problem/34613960>
3316 Reviewed by Alex Christensen.
3318 * pal/spi/cf/CFNetworkSPI.h:
3319 Declaration of _initWithIdentifier() on NSHTTPCookieStorage.
3321 2018-01-17 Matt Lewis <jlewis3@apple.com>
3323 Unreviewed, rolling out r227098.
3325 This broke the build.
3329 "Remove linked-on test for Snow Leopard"
3330 https://bugs.webkit.org/show_bug.cgi?id=181770
3331 https://trac.webkit.org/changeset/227098
3333 2018-01-17 Dean Jackson <dino@apple.com>
3335 Remove linked-on test for Snow Leopard
3336 https://bugs.webkit.org/show_bug.cgi?id=181770
3338 Reviewed by Eric Carlson.
3340 No need for _CFExecutableLinkedOnOrAfter any more.
3342 * pal/spi/cf/CFUtilitiesSPI.h:
3344 2018-01-17 Matt Lewis <jlewis3@apple.com>
3346 Unreviewed, rolling out r227076.
3348 This breaks internal builds
3352 "Resource Load Statistics: Block cookies for prevalent
3353 resources without user interaction"
3354 https://bugs.webkit.org/show_bug.cgi?id=177394
3355 https://trac.webkit.org/changeset/227076
3357 2018-01-17 John Wilander <wilander@apple.com>
3359 Resource Load Statistics: Block cookies for prevalent resources without user interaction
3360 https://bugs.webkit.org/show_bug.cgi?id=177394
3361 <rdar://problem/34613960>
3363 Reviewed by Alex Christensen.
3365 * pal/spi/cf/CFNetworkSPI.h:
3366 Declaration of _initWithIdentifier() on NSHTTPCookieStorage.
3368 2018-01-16 Michael Catanzaro <mcatanzaro@igalia.com>
3370 PAL should link to JavaScriptCore rather than WTF
3371 https://bugs.webkit.org/show_bug.cgi?id=181683
3373 Reviewed by Konstantin Tokarev.
3375 Currently we are accidentally linking WTF into both libjavascriptcoregtk and libwebkit2gtk,
3376 which could in theory cause problems similar to bug #179914. There are only two possible
3379 - Ensure WTF always built as a shared library if JavaScriptCore is built as a shared
3381 - Change PAL to link to JavaScriptCore instead of WTF
3383 The problem here is caused by layer hopping. It can never be a problem if each library only
3384 links to the next lowest-layered library.
3386 The downside is this allows PAL to use JavaScriptCore symbols, which is not super desirable.
3387 I came up with a hack yesterday for PAL to link to WTF usually, but link to JavaScriptCore
3388 instead if ${JavaScriptCore_LIBRARY_TYPE} MATCHES "SHARED" AND ${WTF_LIBRARY_TYPE} MATCHES
3389 "STATIC". But that is getting too complex and introduces more possibility for platform-
3390 dependent build failures. Better to just accept that PAL will depend on JavaScriptCore.
3392 Note: I'm not brave enough to update the XCode build. We can use that to enforce that no
3393 JavaScriptCore symbols actually get used, I guess....
3395 * pal/CMakeLists.txt:
3397 2018-01-15 Michael Catanzaro <mcatanzaro@igalia.com>
3399 Improve use of ExportMacros
3400 https://bugs.webkit.org/show_bug.cgi?id=181652
3402 Reviewed by Konstantin Tokarev.
3406 * pal/ExportMacros.h:
3408 2018-01-11 Keith Miller <keith_miller@apple.com>
3410 Rename ENABLE_ASYNC_ITERATION to ENABLE_JS_ASYNC_ITERATION
3411 https://bugs.webkit.org/show_bug.cgi?id=181573
3413 Reviewed by Simon Fraser.
3415 * Configurations/FeatureDefines.xcconfig:
3417 2018-01-10 Per Arne Vollan <pvollan@apple.com>
3419 VoiceOver does not work when the WebContent process is using NSRunLoop.
3420 https://bugs.webkit.org/show_bug.cgi?id=181331
3421 <rdar://problem/36408004>
3423 Reviewed by Brent Fulgham.
3425 Add NSApplication class method to initialize accessibility.
3427 * pal/spi/mac/NSApplicationSPI.h:
3429 2018-01-05 Eric Carlson <eric.carlson@apple.com>
3431 [MediaStream] Add Mac screen capture source
3432 https://bugs.webkit.org/show_bug.cgi?id=181333
3433 <rdar://problem/36323219>
3435 Reviewed by Dean Jackson.
3437 * pal/spi/cg/CoreGraphicsSPI.h: Declare some CGDisplayMode SPI.
3439 2018-01-03 Ting-Wei Lan <lantw44@gmail.com>
3441 Replace hard-coded paths in shebangs with #!/usr/bin/env
3442 https://bugs.webkit.org/show_bug.cgi?id=181040
3444 Reviewed by Alex Christensen.
3446 * AVFoundationSupport.py:
3448 2018-01-03 Per Arne Vollan <pvollan@apple.com>
3450 [Win] WebKitLegacy compile error.
3451 https://bugs.webkit.org/show_bug.cgi?id=181257
3452 rdar://problem/36273774
3454 Reviewed by Alex Christensen.
3456 The include file 'pal/text/UnencodableHandling.h' is not found. Add folder to list of forwarding
3457 headers directories.
3459 * pal/PlatformWin.cmake:
3461 2018-01-02 Brent Fulgham <bfulgham@apple.com>
3463 [macOS, iOS] Adopt new secure coding APIs in WebKit
3464 https://bugs.webkit.org/show_bug.cgi?id=181085
3465 <rdar://problem/34837397>
3467 Reviewed by Tim Horton.
3469 Add a new helper function to allow WebKit code to use NSSecureCoding in more
3470 places when the underlying operating system supports it.
3472 * pal/spi/cocoa/NSKeyedArchiverSPI.h:
3473 (decodeObjectOfClassForKeyFromCoder): New wrapper method.
3475 2017-12-21 Brent Fulgham <bfulgham@apple.com>
3477 Unreviewed test fix after r226224.
3478 <rdar://problem/36185975>
3480 Pasteboard data is more than a dictionary. We have to whitelist NSString
3481 and NSArray as well. Change method name to reflect that we take a whitelist
3482 of classes that are allowed to be unarchived in the call.
3484 * pal/spi/cocoa/NSKeyedArchiverSPI.h:
3485 (unarchivedObjectOfClassesFromData):
3486 (unarchivedObjectOfClassFromData): Deleted.
3488 2017-12-21 Jeremy Jones <jeremyj@apple.com>
3490 Update FULLSCREEN_API feature defines.
3491 https://bugs.webkit.org/show_bug.cgi?id=181015
3493 Reviewed by Tim Horton.
3495 Change enabled iphone sdk for FULLSCREEN_API.
3497 * Configurations/FeatureDefines.xcconfig:
3499 2017-12-21 Brent Fulgham <bfulgham@apple.com>
3501 Adopt new secure coding APIs in WebCore
3502 https://bugs.webkit.org/show_bug.cgi?id=178484
3503 <rdar://problem/34837193>
3505 Reviewed by Eric Carlson.
3507 Due to <rdar://problem/31376830 we cannot used SecureCoding on NSAttributedString
3508 in some cases. Add a macro for OS revisions that do not support secure coding,
3509 and use the standard unarchive operation for NSAttributedString in those cases.
3511 Rename 'insecurelyUnarchiveObjectOfClassFromData' to 'insecurelyUnarchiveObjectFromData',
3512 and move it earlier in the file so that it can be reused in 'unarchivedObjectOfClassFromData'.
3514 * pal/spi/cocoa/NSKeyedArchiverSPI.h:
3515 (insecurelyUnarchiveObjectFromData): Renamed from insecurelyUnarchiveObjectOfClassFromData.
3516 (unarchivedObjectOfClassFromData): Renamed from 'securelyUnarchiveObjectOfClassFromData' and
3517 modified to use 'insecurelyUnarchiveObjectFromData'.
3518 (securelyUnarchiveObjectOfClassFromData): Deleted.
3519 (insecurelyUnarchiveObjectOfClassFromData): Deleted.
3521 2017-12-21 Jeremy Jones <jeremyj@apple.com>
3523 Element fullscreen interface should display the location
3524 https://bugs.webkit.org/show_bug.cgi?id=181006
3525 rdar://problem/36143176
3527 Reviewed by Simon Fraser.
3529 Add iOS availability check.
3531 * pal/spi/cocoa/LinkPresentationSPI.h:
3533 2017-12-20 Daniel Bates <dabates@apple.com>
3535 Remove Alternative Presentation Button
3536 https://bugs.webkit.org/show_bug.cgi?id=180500
3537 <rdar://problem/35891047>
3539 Reviewed by Simon Fraser.
3541 We no longer need the alternative presentation button.
3543 * Configurations/FeatureDefines.xcconfig:
3545 2017-12-20 Andy Estes <aestes@apple.com>
3547 [Apple Pay] Tell PassKit whether Apple Pay JS or Payment Request was used to start an Apple Pay session
3548 https://bugs.webkit.org/show_bug.cgi?id=181001
3549 <rdar://problem/35479106>
3551 Reviewed by Tim Horton.
3553 * pal/spi/cocoa/PassKitSPI.h:
3555 2017-12-19 Andy Estes <aestes@apple.com>
3557 [Apple Pay] Stop maintaining a list of payment networks
3558 https://bugs.webkit.org/show_bug.cgi?id=180965
3559 <rdar://problem/34696560>
3561 Reviewed by Tim Horton.
3563 * pal/spi/cocoa/PassKitSPI.h: Defined +[PKPaymentRequest availableNetworks].
3565 2017-12-14 David Kilzer <ddkilzer@apple.com>
3567 Fix 32-bit build: Enable -Wstrict-prototypes for WebKit
3568 <https://webkit.org/b/180757>
3569 <rdar://problem/36024132>
3571 * pal/spi/mac/QuickDrawSPI.h:
3572 (NewRgn): Add 'void' to C function declaration.
3575 2017-12-14 David Kilzer <ddkilzer@apple.com>
3577 Enable -Wstrict-prototypes for WebKit
3578 <https://webkit.org/b/180757>
3579 <rdar://problem/36024132>
3581 Rubber-stamped by Joseph Pecoraro.
3583 * Configurations/Base.xcconfig:
3584 (CLANG_WARN_STRICT_PROTOTYPES): Add. Set to YES.
3586 2017-12-11 Joseph Pecoraro <pecoraro@apple.com>
3588 Unreviewed build fix after r225766.
3590 * pal/spi/mac/AVFoundationSPI.h:
3591 Conform AVStreamDataParser to the AVContentKeyRecipient protocol if available.
3593 2017-12-11 David Quesada <david_quesada@apple.com>
3595 Turn on ENABLE_APPLICATION_MANIFEST
3596 https://bugs.webkit.org/show_bug.cgi?id=180562
3597 rdar://problem/35924737
3599 Reviewed by Geoffrey Garen.
3601 * Configurations/FeatureDefines.xcconfig:
3603 2017-12-08 Konstantin Tokarev <annulen@yandex.ru>
3605 [python] Replace print operator with print() function for python3 compatibility
3606 https://bugs.webkit.org/show_bug.cgi?id=180592
3608 Reviewed by Michael Catanzaro.
3610 * AVFoundationSupport.py:
3612 2017-12-08 Eric Carlson <eric.carlson@apple.com>
3614 Move Logger from PAL to WTF so it can be used outside of WebCore
3615 https://bugs.webkit.org/show_bug.cgi?id=180561
3617 Reviewed by Alex Christensen.
3619 * PAL.xcodeproj/project.pbxproj:
3620 * pal/Logger.h: Removed.
3621 * pal/LoggerHelper.h: Removed.
3623 2017-12-07 Myles C. Maxfield <mmaxfield@apple.com>
3625 [Cocoa] Add SPI to disallow user-installed fonts
3626 https://bugs.webkit.org/show_bug.cgi?id=180062
3627 <rdar://problem/35042408>
3629 Reviewed by Simon Fraser.
3631 * pal/spi/cocoa/CoreTextSPI.h:
3633 2017-12-02 Darin Adler <darin@apple.com>
3635 Modernize some aspects of text codecs, eliminate WebKit use of strcasecmp
3636 https://bugs.webkit.org/show_bug.cgi?id=180009
3638 Reviewed by Alex Christensen.
3640 * PAL.xcodeproj/project.pbxproj: Added UnencodableHandling.h.
3641 * pal/text/UnencodableHandling.h: Moved the UnencodableHandling enumeration
3642 here from TextCodec.h and changed it to an enum class.
3644 2017-12-04 David Quesada <david_quesada@apple.com>
3646 Add a class for parsing application manifests
3647 https://bugs.webkit.org/show_bug.cgi?id=177973
3648 rdar://problem/34747949
3650 Reviewed by Geoffrey Garen.
3652 * Configurations/FeatureDefines.xcconfig: Add ENABLE_APPLICATION_MANIFEST feature flag.
3654 2017-12-04 Zan Dobersek <zdobersek@igalia.com>
3656 Unreviewed WPE build fix.
3658 * pal/PlatformWPE.cmake: Use GLIB_INCLUDE_DIRS for building the PAL library.
3660 2017-12-04 Michael Catanzaro <mcatanzaro@igalia.com>
3662 [WPE][GTK] Implement PAL::SleepDisabler
3663 https://bugs.webkit.org/show_bug.cgi?id=178485
3665 Reviewed by Carlos Garcia Campos.
3667 * pal/PlatformGTK.cmake:
3668 * pal/PlatformWPE.cmake:
3669 * pal/system/SleepDisabler.cpp:
3670 * pal/system/glib/SleepDisablerGLib.cpp: Added.
3671 (PAL::SleepDisabler::create):
3672 (PAL::SleepDisablerGLib::SleepDisablerGLib):
3673 (PAL::SleepDisablerGLib::~SleepDisablerGLib):
3674 (PAL::SleepDisablerGLib::acquireInhibitor):
3675 (PAL::SleepDisablerGLib::releaseInhibitor):
3676 * pal/system/glib/SleepDisablerGLib.h: Added.
3678 2017-11-30 Stephan Szabo <stephan.szabo@sony.com>
3680 Make LegacyCustomProtocolManager optional for network process
3681 https://bugs.webkit.org/show_bug.cgi?id=176230
3683 Reviewed by Alex Christensen.
3685 * Configurations/FeatureDefines.xcconfig:
3687 2017-11-29 Brent Fulgham <bfulgham@apple.com>
3689 Part 2: Adopt updated NSKeyed[Un]Archiver API when available