Changeset 285828 in webkit
- Timestamp:
- Nov 15, 2021, 1:40:08 PM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
-
WTF/ChangeLog (modified) (1 diff)
-
WTF/wtf/PlatformHave.h (modified) (1 diff)
-
WebCore/PAL/ChangeLog (modified) (1 diff)
-
WebCore/PAL/pal/spi/cocoa/NSAttributedStringSPI.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r285787 r285828 1 2021-11-15 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Unreviewed, fix the internal iOS 15 build 4 5 Add a new compile-time flag. 6 7 * wtf/PlatformHave.h: 8 1 9 2021-11-13 Simon Fraser <simon.fraser@apple.com> 2 10 -
trunk/Source/WTF/wtf/PlatformHave.h
r285726 r285828 1091 1091 #define HAVE_AUDIOSESSION_PROCESSASSERTION 1 1092 1092 #endif 1093 1094 #if (PLATFORM(MAC) \ 1095 || ((PLATFORM(IOS) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 160000) \ 1096 || (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MAX_ALLOWED >= 90000) \ 1097 || (PLATFORM(APPLETV) && __TV_OS_VERSION_MAX_ALLOWED >= 160000)) 1098 #define HAVE_NSTEXTLIST_MARKER_FORMATS 1 1099 #endif -
trunk/Source/WebCore/PAL/ChangeLog
r285811 r285828 1 2021-11-15 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Unreviewed, fix the internal iOS 15 build 4 5 In the internal iOS 15 SDK, <UIKit/NSTextList.h> does not define NSTextListMarkerFormat. Add a separate SDK 6 version check instead and only attempt to soft-link these constants if we're compiling against an SDK that we 7 know exports these symbols. 8 9 * pal/spi/cocoa/NSAttributedStringSPI.h: 10 1 11 2021-11-15 Wenson Hsieh <wenson_hsieh@apple.com> 2 12 -
trunk/Source/WebCore/PAL/pal/spi/cocoa/NSAttributedStringSPI.h
r285811 r285828 97 97 #define NSTextAlternativesAttributeName getNSTextAlternativesAttributeName() 98 98 99 #if __has_include(<UIKit/NSTextList.h>) 99 #if HAVE(NSTEXTLIST_MARKER_FORMATS) 100 #if USE(APPLE_INTERNAL_SDK) 100 101 #import <UIKit/NSTextList.h> 101 102 #else 102 103 typedef NSString *NSTextListMarkerFormat; 103 #endif 104 #endif // USE(APPLE_INTERNAL_SDK) 104 105 SOFT_LINK_CONSTANT(UIFoundation, NSTextListMarkerCircle, NSTextListMarkerFormat) 105 106 #define NSTextListMarkerCircle getNSTextListMarkerCircle() … … 128 129 SOFT_LINK_CONSTANT(UIFoundation, NSTextListMarkerDecimal, NSTextListMarkerFormat) 129 130 #define NSTextListMarkerDecimal getNSTextListMarkerDecimal() 131 #else 132 typedef NSString *NSTextListMarkerFormat; 133 static NSTextListMarkerFormat const NSTextListMarkerCircle = @"{circle}"; 134 static NSTextListMarkerFormat const NSTextListMarkerDisc = @"{disc}"; 135 static NSTextListMarkerFormat const NSTextListMarkerSquare = @"{square}"; 136 static NSTextListMarkerFormat const NSTextListMarkerLowercaseHexadecimal = @"{lower-hexadecimal}"; 137 static NSTextListMarkerFormat const NSTextListMarkerUppercaseHexadecimal = @"{upper-hexadecimal}"; 138 static NSTextListMarkerFormat const NSTextListMarkerOctal = @"{octal}"; 139 static NSTextListMarkerFormat const NSTextListMarkerLowercaseAlpha = @"{lower-alpha}"; 140 static NSTextListMarkerFormat const NSTextListMarkerUppercaseAlpha = @"{upper-alpha}"; 141 static NSTextListMarkerFormat const NSTextListMarkerLowercaseLatin = @"{lower-latin}"; 142 static NSTextListMarkerFormat const NSTextListMarkerUppercaseLatin = @"{upper-latin}"; 143 static NSTextListMarkerFormat const NSTextListMarkerLowercaseRoman = @"{lower-roman}"; 144 static NSTextListMarkerFormat const NSTextListMarkerUppercaseRoman = @"{upper-roman}"; 145 static NSTextListMarkerFormat const NSTextListMarkerDecimal = @"{decimal}"; 146 #endif // HAVE(NSTEXTLIST_MARKER_FORMATS) 130 147 131 148 // We don't softlink NSSuperscriptAttributeName because UIFoundation stopped exporting it.
Note:
See TracChangeset
for help on using the changeset viewer.