Changeset 175972 in webkit
- Timestamp:
- Nov 11, 2014, 1:37:03 PM (11 years ago)
- Location:
- trunk/Source
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r175971 r175972 1 2014-11-11 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Finish moving CTFontGetVerticalGlyphsForCharacters and CTLineCreateWithUniCharProvider out from WKSI 4 https://bugs.webkit.org/show_bug.cgi?id=138623 5 6 Reviewed by Geoff Garen. 7 8 No new tests because there is no behavior change. 9 10 * WebCore.exp.in: 11 * WebCore.order: 12 * platform/graphics/mac/GlyphPageTreeNodeMac.cpp: 13 (WebCore::GlyphPage::fill): 14 * platform/graphics/mac/SimpleFontDataMac.mm: 15 (WebCore::SimpleFontData::canRenderCombiningCharacterSequence): 16 * platform/ios/WebCoreSystemInterfaceIOS.mm: 17 * platform/mac/WebCoreSystemInterface.h: 18 * platform/mac/WebCoreSystemInterface.mm: 19 * platform/spi/cocoa/CoreTextSPI.h: 20 1 21 2014-11-11 Myles C. Maxfield <mmaxfield@apple.com> 2 22 -
trunk/Source/WebCore/WebCore.exp.in
r175961 r175972 2157 2157 _wkCopyNSURLResponseStatusLine 2158 2158 _wkCopyRequestWithStorageSession 2159 _wkCreateCTLineWithUniCharProvider2160 _wkCreateCTTypesetterWithUniCharProviderAndOptions2161 2159 _wkCreatePrivateStorageSession 2162 2160 _wkDeleteAllHTTPCookies … … 2452 2450 _wkGetNSURLResponseCalculatedExpiration 2453 2451 _wkGetNSURLResponseMustRevalidate 2454 _wkGetVerticalGlyphsForCharacters2455 2452 _wkGetWheelEventDeltas 2456 2453 _wkHitTestMediaUIPart … … 2864 2861 _wkGetUserAgent 2865 2862 _wkGetVendorNameForNavigator 2866 _wkGetVerticalGlyphsForCharacters2867 2863 _wkIsGB18030ComplianceRequired 2868 2864 _wkIsOptimizedFullscreenSupported -
trunk/Source/WebCore/WebCore.order
r175960 r175972 30590 30590 _wkSetCONNECTProxyAuthorizationForStream 30591 30591 _wkCopyCONNECTProxyResponse 30592 _wkGetVerticalGlyphsForCharacters30593 _wkCreateCTLineWithUniCharProvider30594 _wkCreateCTTypesetterWithUniCharProviderAndOptions30595 30592 _wkIOSurfaceContextCreate 30596 30593 _wkIOSurfaceContextCreateImage -
trunk/Source/WebCore/platform/graphics/mac/GlyphPageTreeNodeMac.cpp
r174052 r175972 31 31 32 32 #include "CGFontUnicodeSupportSPI.h" 33 #include "CoreTextSPI.h" 33 34 #include "Font.h" 34 35 #include "SimpleFontData.h" … … 84 85 } 85 86 } 86 } else if (!fontData->platformData().isCompositeFontReference() && ((fontData->platformData().widthVariant() == RegularWidth) ? wkGetVerticalGlyphsForCharacters(fontData->platformData().ctFont(), buffer, glyphs.data(), bufferLength)87 } else if (!fontData->platformData().isCompositeFontReference() && ((fontData->platformData().widthVariant() == RegularWidth) ? CTFontGetVerticalGlyphsForCharacters(fontData->platformData().ctFont(), buffer, glyphs.data(), bufferLength) 87 88 : CTFontGetGlyphsForCharacters(fontData->platformData().ctFont(), buffer, glyphs.data(), bufferLength))) { 88 // When buffer consists of surrogate pairs, wkGetVerticalGlyphsForCharacters and CTFontGetGlyphsForCharacters89 // When buffer consists of surrogate pairs, CTFontGetVerticalGlyphsForCharacters and CTFontGetGlyphsForCharacters 89 90 // place the glyphs at indices corresponding to the first character of each pair. 90 91 unsigned glyphStep = bufferLength / length; -
trunk/Source/WebCore/platform/graphics/mac/SimpleFontDataMac.mm
r174858 r175972 30 30 #import "BlockExceptions.h" 31 31 #import "Color.h" 32 #import "CoreTextSPI.h" 32 33 #import "FloatRect.h" 33 34 #import "Font.h" … … 493 494 494 495 ProviderInfo info = { characters, length, getCFStringAttributes(0, platformData().orientation()) }; 495 RetainPtr<CTLineRef> line = adoptCF( wkCreateCTLineWithUniCharProvider(&provideStringAndAttributes, 0, &info));496 RetainPtr<CTLineRef> line = adoptCF(CTLineCreateWithUniCharProvider(&provideStringAndAttributes, 0, &info)); 496 497 497 498 CFArrayRef runArray = CTLineGetGlyphRuns(line.get()); -
trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.mm
r175961 r175972 72 72 #endif 73 73 74 WEBCORE_EXPORT bool (*wkGetVerticalGlyphsForCharacters)(CTFontRef, const UniChar[], CGGlyph[], size_t);75 WEBCORE_EXPORT CTLineRef (*wkCreateCTLineWithUniCharProvider)(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*);76 77 WEBCORE_EXPORT CTTypesetterRef (*wkCreateCTTypesetterWithUniCharProviderAndOptions)(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*, CFDictionaryRef options);78 79 74 #if !PLATFORM(IOS_SIMULATOR) 80 75 WEBCORE_EXPORT CGContextRef (*wkIOSurfaceContextCreate)(IOSurfaceRef surface, unsigned width, unsigned height, CGColorSpaceRef colorSpace); -
trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h
r175961 r175972 227 227 extern CFHTTPMessageRef (*wkCopyCONNECTProxyResponse)(CFReadStreamRef, CFURLRef responseURL, CFStringRef proxyHost, CFNumberRef proxyPort); 228 228 229 extern bool (*wkGetVerticalGlyphsForCharacters)(CTFontRef, const UniChar[], CGGlyph[], size_t);230 231 229 extern BOOL (*wkUseSharedMediaUI)(); 232 230 … … 234 232 extern void* wkGetHyphenationLocationBeforeIndex; 235 233 #endif 236 237 extern CTLineRef (*wkCreateCTLineWithUniCharProvider)(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*);238 239 extern CTTypesetterRef (*wkCreateCTTypesetterWithUniCharProviderAndOptions)(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*, CFDictionaryRef options);240 234 241 235 #if PLATFORM(COCOA) && USE(CA) && !PLATFORM(IOS_SIMULATOR) -
trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.mm
r175961 r175972 105 105 #endif 106 106 107 bool (*wkGetVerticalGlyphsForCharacters)(CTFontRef, const UniChar[], CGGlyph[], size_t);108 109 107 void* wkGetHyphenationLocationBeforeIndex; 110 111 CTLineRef (*wkCreateCTLineWithUniCharProvider)(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*);112 113 CTTypesetterRef (*wkCreateCTTypesetterWithUniCharProviderAndOptions)(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*, CFDictionaryRef options);114 108 115 109 CGContextRef (*wkIOSurfaceContextCreate)(IOSurfaceRef surface, unsigned width, unsigned height, CGColorSpaceRef colorSpace); -
trunk/Source/WebCore/platform/spi/cocoa/CoreTextSPI.h
r175971 r175972 51 51 CTTypesetterRef CTTypesetterCreateWithUniCharProviderAndOptions(CTUniCharProviderCallback provide, CTUniCharDisposeCallback dispose, void* refCon, CFDictionaryRef options); 52 52 bool CTFontTransformGlyphs(CTFontRef, CGGlyph glyphs[], CGSize advances[], CFIndex count, CTFontTransformOptions); 53 bool CTFontGetVerticalGlyphsForCharacters(CTFontRef, const UniChar characters[], CGGlyph glyphs[], CFIndex count); 53 54 54 55 } -
trunk/Source/WebKit/mac/ChangeLog
r175962 r175972 1 2014-11-11 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Finish moving CTFontGetVerticalGlyphsForCharacters and CTLineCreateWithUniCharProvider out from WKSI 4 https://bugs.webkit.org/show_bug.cgi?id=138623 5 6 Reviewed by Geoff Garen. 7 8 * WebCoreSupport/WebSystemInterface.mm: 9 (InitWebCoreSystemInterface): 10 * WebKit.order: 11 1 12 2014-11-11 Tim Horton <timothy_horton@apple.com> 2 13 -
trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm
r175961 r175972 121 121 #endif 122 122 123 INIT(GetVerticalGlyphsForCharacters);124 123 #if PLATFORM(IOS) 125 124 INIT(ExecutableWasLinkedOnOrAfterIOSVersion); … … 133 132 #endif 134 133 135 INIT(CreateCTLineWithUniCharProvider);136 137 134 #if !PLATFORM(IOS_SIMULATOR) 138 135 INIT(IOSurfaceContextCreate); 139 136 INIT(IOSurfaceContextCreateImage); 140 137 #endif 141 INIT(CreateCTTypesetterWithUniCharProviderAndOptions);142 138 #if !PLATFORM(IOS) 143 139 INIT(RecommendedScrollerStyle); -
trunk/Source/WebKit/mac/WebKit.order
r175961 r175972 734 734 __ZN20WebFrameLoaderClient38dispatchDidLoadResourceFromMemoryCacheEPN7WebCore14DocumentLoaderERKNS0_15ResourceRequestERKNS0_16ResourceResponseEi 735 735 -[WebFrame(WebInternal) _characterRangeAtPoint:] 736 _WKCreateCTTypesetterWithUniCharProviderAndOptions737 736 -[WebView(WebViewEditing) selectedDOMRange] 738 737 -[WebHTMLRepresentation attributedStringFrom:startOffset:to:endOffset:] … … 1531 1530 __Z4coreP14WebHistoryItem 1532 1531 -[WebBackForwardList goToItem:] 1533 _WKCreateCTLineWithUniCharProvider1534 1532 -[WebInspector show:] 1535 1533 -[WebInspector showWindow] … … 2314 2312 -[WebFrame(WebPrivate) _selectedNSRange] 2315 2313 -[WebFrameView _pageHorizontally:] 2316 _WKGetVerticalGlyphsForCharacters2317 _CTFontGetVerticalGlyphsForCharacters2318 2314 __ZThn8_N15WebEditorClient17getGuessesForWordERKN3WTF6StringES3_RNS0_6VectorIS1_Lm0ENS0_15CrashOnOverflowEEE 2319 2315 __ZN15WebEditorClient17getGuessesForWordERKN3WTF6StringES3_RNS0_6VectorIS1_Lm0ENS0_15CrashOnOverflowEEE -
trunk/Source/WebKit2/ChangeLog
r175969 r175972 1 2014-11-11 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Finish moving CTFontGetVerticalGlyphsForCharacters and CTLineCreateWithUniCharProvider out from WKSI 4 https://bugs.webkit.org/show_bug.cgi?id=138623 5 6 Reviewed by Geoff Garen. 7 8 * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: 9 (InitWebCoreSystemInterface): 10 * mac/WebKit2.order: 11 1 12 2014-11-11 Timothy Horton <timothy_horton@apple.com> 2 13 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm
r175961 r175972 50 50 INIT(CopyNSURLResponseStatusLine); 51 51 INIT(CopyNSURLResponseCertificateChain); 52 INIT(CreateCTLineWithUniCharProvider);53 52 #if !PLATFORM(IOS) 54 53 INIT(DrawBezeledTextArea); … … 62 61 INIT(GetFontInLanguageForRange); 63 62 #endif 64 INIT(GetVerticalGlyphsForCharacters);65 63 INIT(GetHTTPRequestPriority); 66 64 INIT(GetNSURLResponseLastModifiedDate); … … 129 127 INIT(IOSurfaceContextCreateImage); 130 128 #endif // !PLATFORM(IOS_SIMULATOR) 131 INIT(CreateCTTypesetterWithUniCharProviderAndOptions);132 129 #if !PLATFORM(IOS) 133 130 INIT(RecommendedScrollerStyle); -
trunk/Source/WebKit2/mac/WebKit2.order
r175961 r175972 945 945 __ZNK6WebKit12WebPageProxy12canGoForwardEv 946 946 __ZN6WebKit18WebBackForwardList11forwardItemEv 947 _WKCreateCTLineWithUniCharProvider948 _WKCreateCTTypesetterWithUniCharProviderAndOptions949 947 _WKSetCGFontRenderingMode 950 948 -[WKView(Private) updateLayer] … … 9142 9140 __ZN6WebKit12WebPageProxy9takeFocusEj 9143 9141 __ZN6WebKit11WebUIClient9takeFocusEPNS_12WebPageProxyEj 9144 _WKGetVerticalGlyphsForCharacters9145 _CTFontGetVerticalGlyphsForCharacters9146 9142 __ZN6WebKit15WebChromeClient19customHighlightRectEPN7WebCore4NodeERKN3WTF12AtomicStringERKNS1_9FloatRectE 9147 9143 __ZN6WebKit15WebChromeClient20paintCustomHighlightEPN7WebCore4NodeERKN3WTF12AtomicStringERKNS1_9FloatRectESA_bb
Note:
See TracChangeset
for help on using the changeset viewer.