Changeset 173276 in webkit
- Timestamp:
- Sep 4, 2014 1:54:00 PM (10 years ago)
- Location:
- trunk/Source
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r173275 r173276 1 2014-09-04 Maciej Stachowiak <mjs@apple.com> 2 3 Remove WebCoreSystemInterface glue for otherwise unused WKSI calls 4 https://bugs.webkit.org/show_bug.cgi?id=136527 5 6 Reviewed by Alexey Proskuryakov. 7 8 * WebCore.exp.in: 9 * WebCore.order: 10 * platform/ios/WebCoreSystemInterfaceIOS.mm: 11 * platform/mac/WebCoreSystemInterface.h: 12 * platform/mac/WebCoreSystemInterface.mm: 13 1 14 2014-09-04 Beth Dakin <bdakin@apple.com> 2 15 -
trunk/Source/WebCore/WebCore.exp.in
r173272 r173276 2100 2100 _wkCreateCTLineWithUniCharProvider 2101 2101 _wkCreateCTTypesetterWithUniCharProviderAndOptions 2102 _wkCreateCustomCFReadStream2103 2102 _wkCreatePrivateStorageSession 2104 2103 _wkDeleteAllHTTPCookies … … 2133 2132 _wkSetPatternPhaseInUserSpace 2134 2133 _wkSetUpFontCache 2135 _wkSignalCFReadStreamEnd2136 _wkSignalCFReadStreamError2137 _wkSignalCFReadStreamHasBytes2138 2134 2139 2135 #if !defined(NDEBUG) … … 2376 2372 _wkCursor 2377 2373 _wkDrawBezeledTextArea 2378 _wkDrawBezeledTextFieldCell2379 2374 _wkDrawCapsLockIndicator 2380 2375 _wkDrawCellFocusRingWithFrameAtTime … … 2383 2378 _wkDrawMediaSliderTrack 2384 2379 _wkDrawMediaUIPart 2385 _wkDrawTextFieldCellFocusRing2386 2380 _wkExecutableWasLinkedOnOrBeforeSnowLeopard 2387 2381 _wkGetAXTextMarkerRangeTypeID … … 2390 2384 _wkGetFontInLanguageForCharacter 2391 2385 _wkGetFontInLanguageForRange 2392 _wkGetGlyphTransformedAdvances2393 2386 _wkGetGlyphsForCharacters 2394 2387 _wkGetHyphenationLocationBeforeIndex … … 2401 2394 _wkMeasureMediaUIPart 2402 2395 _wkPopupMenu 2403 _wkPopupMenuWithSize2404 2396 _wkQTClearMediaDownloadCache 2405 2397 _wkQTClearMediaDownloadCacheForSite 2406 2398 _wkQTGetSitesInMediaDownloadCache 2407 2399 _wkQTIncludeOnlyModernMediaFileTypes 2408 _wkQTMovieDataRate2409 2400 _wkQTMovieDisableComponent 2410 2401 _wkQTMovieGetType … … 2456 2447 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 2457 2448 _wkCreateMemoryStatusPressureCriticalDispatchOnMainQueue 2458 #endif2459 2460 #if PLATFORM(MAC) || PLATFORM(IOS_SIMULATOR)2461 _wkSetCrashReportApplicationSpecificInformation2462 2449 #endif 2463 2450 -
trunk/Source/WebCore/WebCore.order
r173251 r173276 30620 30620 _wkGetUserToBaseCTM 30621 30621 _wkSetUpFontCache 30622 _wkSignalCFReadStreamEnd30623 _wkSignalCFReadStreamHasBytes30624 _wkSignalCFReadStreamError30625 _wkCreateCustomCFReadStream30626 30622 _wkSetNSURLConnectionDefersCallbacks 30627 30623 _wkSetNSURLRequestShouldContentSniff -
trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.mm
r173249 r173276 39 39 WEBCORE_EXPORT bool (*wkCGContextIsPDFContext)(CGContextRef); 40 40 WEBCORE_EXPORT void (*wkSetUpFontCache)(); 41 WEBCORE_EXPORT void (*wkSignalCFReadStreamEnd)(CFReadStreamRef stream);42 WEBCORE_EXPORT void (*wkSignalCFReadStreamHasBytes)(CFReadStreamRef stream);43 WEBCORE_EXPORT void (*wkSignalCFReadStreamError)(CFReadStreamRef stream, CFStreamError *error);44 WEBCORE_EXPORT CFReadStreamRef (*wkCreateCustomCFReadStream)(void *(*formCreate)(CFReadStreamRef, void *),45 void (*formFinalize)(CFReadStreamRef, void *),46 Boolean (*formOpen)(CFReadStreamRef, CFStreamError *, Boolean *, void *),47 CFIndex (*formRead)(CFReadStreamRef, UInt8 *, CFIndex, CFStreamError *, Boolean *, void *),48 Boolean (*formCanRead)(CFReadStreamRef, void *),49 void (*formClose)(CFReadStreamRef, void *),50 void (*formSchedule)(CFReadStreamRef, CFRunLoopRef, CFStringRef, void *),51 void (*formUnschedule)(CFReadStreamRef, CFRunLoopRef, CFStringRef, void *),52 void *context);53 41 WEBCORE_EXPORT NSString* (*wkCopyNSURLResponseStatusLine)(NSURLResponse*); 54 42 WEBCORE_EXPORT void (*wkSetNSURLConnectionDefersCallbacks)(NSURLConnection *, BOOL); … … 96 84 WEBCORE_EXPORT CGImageRef (*wkIOSurfaceContextCreateImage)(CGContextRef context); 97 85 #endif // !PLATFORM(IOS_SIMULATOR) 98 99 #if PLATFORM(IOS_SIMULATOR)100 WEBCORE_EXPORT void (*wkSetCrashReportApplicationSpecificInformation)(CFStringRef);101 #endif102 86 103 87 WEBCORE_EXPORT CFURLStorageSessionRef (*wkCreatePrivateStorageSession)(CFStringRef); -
trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h
r172975 r173276 48 48 typedef struct CGPath *CGMutablePathRef; 49 49 typedef unsigned short CGGlyph; 50 typedef struct __CFReadStream * CFReadStreamRef;51 50 typedef struct __CFRunLoop * CFRunLoopRef; 52 51 typedef struct __CFHTTPMessage *CFHTTPMessageRef; … … 141 140 #endif 142 141 extern CGPatternRef (*wkCGPatternCreateWithImageAndTransform)(CGImageRef, CGAffineTransform, int); 143 extern CFReadStreamRef (*wkCreateCustomCFReadStream)(void *(*formCreate)(CFReadStreamRef, void *),144 void (*formFinalize)(CFReadStreamRef, void *),145 Boolean (*formOpen)(CFReadStreamRef, CFStreamError *, Boolean *, void *),146 CFIndex (*formRead)(CFReadStreamRef, UInt8 *, CFIndex, CFStreamError *, Boolean *, void *),147 Boolean (*formCanRead)(CFReadStreamRef, void *),148 void (*formClose)(CFReadStreamRef, void *),149 void (*formSchedule)(CFReadStreamRef, CFRunLoopRef, CFStringRef, void *),150 void (*formUnschedule)(CFReadStreamRef, CFRunLoopRef, CFStringRef, void *),151 void *context);152 142 extern NSString* (*wkCopyNSURLResponseStatusLine)(NSURLResponse*); 153 143 extern CFArrayRef (*wkCopyNSURLResponseCertificateChain)(NSURLResponse*); 154 144 extern CFStringEncoding (*wkGetWebDefaultCFStringEncoding)(void); 155 145 #if !PLATFORM(IOS) 156 extern void (*wkDrawBezeledTextFieldCell)(NSRect, BOOL enabled);157 extern void (*wkDrawTextFieldCellFocusRing)(NSTextFieldCell*, NSRect);158 146 extern void (*wkDrawCapsLockIndicator)(CGContextRef, CGRect); 159 147 extern void (*wkDrawBezeledTextArea)(NSRect, BOOL enabled); … … 164 152 extern NSFont* (*wkGetFontInLanguageForRange)(NSFont*, NSString*, NSRange); 165 153 extern NSFont* (*wkGetFontInLanguageForCharacter)(NSFont*, UniChar); 166 extern BOOL (*wkGetGlyphTransformedAdvances)(CGFontRef, NSFont*, CGAffineTransform*, ATSGlyphRef*, CGSize* advance);167 154 #endif 168 155 #if !PLATFORM(IOS) … … 202 189 #if defined(__OBJC__) 203 190 extern void (*wkPopupMenu)(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*, NSControlSize controlSize, bool hideArrows); 204 extern void (*wkPopupMenuWithSize)(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*, NSControlSize controlSize);205 191 #endif 206 192 207 193 extern unsigned (*wkQTIncludeOnlyModernMediaFileTypes)(void); 208 extern int (*wkQTMovieDataRate)(QTMovie*);209 194 extern void (*wkQTMovieDisableComponent)(uint32_t[5]); 210 195 extern float (*wkQTMovieMaxTimeLoaded)(QTMovie*); … … 231 216 extern bool (*wkCGContextIsPDFContext)(CGContextRef); 232 217 extern void (*wkSetUpFontCache)(); 233 extern void (*wkSignalCFReadStreamEnd)(CFReadStreamRef stream);234 extern void (*wkSignalCFReadStreamError)(CFReadStreamRef stream, CFStreamError *error);235 extern void (*wkSignalCFReadStreamHasBytes)(CFReadStreamRef stream);236 218 extern unsigned (*wkInitializeMaximumHTTPConnectionCountPerHost)(unsigned preferredConnectionCount); 237 219 extern int (*wkGetHTTPRequestPriority)(CFURLRequestRef); … … 273 255 extern CGContextRef (*wkIOSurfaceContextCreate)(IOSurfaceRef surface, unsigned width, unsigned height, CGColorSpaceRef colorSpace); 274 256 extern CGImageRef (*wkIOSurfaceContextCreateImage)(CGContextRef context); 275 #endif276 277 #if PLATFORM(MAC) || PLATFORM(IOS_SIMULATOR)278 extern void (*wkSetCrashReportApplicationSpecificInformation)(CFStringRef);279 257 #endif 280 258 -
trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.mm
r173249 r173276 41 41 NSString* (*wkCreateURLPasteboardFlavorTypeName)(void); 42 42 NSString* (*wkCreateURLNPasteboardFlavorTypeName)(void); 43 void (*wkDrawBezeledTextFieldCell)(NSRect, BOOL enabled);44 void (*wkDrawTextFieldCellFocusRing)(NSTextFieldCell*, NSRect);45 43 void (*wkDrawCapsLockIndicator)(CGContextRef, CGRect); 46 44 void (*wkDrawBezeledTextArea)(NSRect, BOOL enabled); … … 50 48 NSFont* (*wkGetFontInLanguageForRange)(NSFont*, NSString*, NSRange); 51 49 NSFont* (*wkGetFontInLanguageForCharacter)(NSFont*, UniChar); 52 BOOL (*wkGetGlyphTransformedAdvances)(CGFontRef, NSFont*, CGAffineTransform*, ATSGlyphRef*, CGSize* advance);53 50 void (*wkDrawMediaSliderTrack)(CGContextRef context, CGRect rect, float timeLoaded, float currentTime, 54 51 float duration, unsigned state); … … 67 64 UInt8 (*wkGetNSEventKeyChar)(NSEvent *); 68 65 void (*wkPopupMenu)(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*, NSControlSize controlSize, bool hideArrows); 69 void (*wkPopupMenuWithSize)(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*, NSControlSize controlSize);70 66 unsigned (*wkQTIncludeOnlyModernMediaFileTypes)(void); 71 int (*wkQTMovieDataRate)(QTMovie*);72 67 void (*wkQTMovieDisableComponent)(uint32_t[5]); 73 68 float (*wkQTMovieMaxTimeLoaded)(QTMovie*); … … 91 86 bool (*wkCGContextIsPDFContext)(CGContextRef); 92 87 void (*wkSetUpFontCache)(); 93 void (*wkSignalCFReadStreamEnd)(CFReadStreamRef stream);94 void (*wkSignalCFReadStreamHasBytes)(CFReadStreamRef stream);95 void (*wkSignalCFReadStreamError)(CFReadStreamRef stream, CFStreamError *error);96 CFReadStreamRef (*wkCreateCustomCFReadStream)(void *(*formCreate)(CFReadStreamRef, void *),97 void (*formFinalize)(CFReadStreamRef, void *),98 Boolean (*formOpen)(CFReadStreamRef, CFStreamError *, Boolean *, void *),99 CFIndex (*formRead)(CFReadStreamRef, UInt8 *, CFIndex, CFStreamError *, Boolean *, void *),100 Boolean (*formCanRead)(CFReadStreamRef, void *),101 void (*formClose)(CFReadStreamRef, void *),102 void (*formSchedule)(CFReadStreamRef, CFRunLoopRef, CFStringRef, void *),103 void (*formUnschedule)(CFReadStreamRef, CFRunLoopRef, CFStringRef, void *),104 void *context);105 88 void (*wkSetNSURLConnectionDefersCallbacks)(NSURLConnection *, BOOL); 106 89 void (*wkSetNSURLRequestShouldContentSniff)(NSMutableURLRequest *, BOOL); … … 144 127 145 128 CFStringRef (*wkCopyDefaultSearchProviderDisplayName)(void); 146 void (*wkSetCrashReportApplicationSpecificInformation)(CFStringRef);147 129 148 130 NSCursor *(*wkCursor)(const char*); -
trunk/Source/WebKit/mac/ChangeLog
r173268 r173276 1 2014-09-04 Maciej Stachowiak <mjs@apple.com> 2 3 Remove WebCoreSystemInterface glue for otherwise unused WKSI calls 4 https://bugs.webkit.org/show_bug.cgi?id=136527 5 6 Reviewed by Alexey Proskuryakov. 7 8 * WebCoreSupport/WebSystemInterface.mm: 9 (InitWebCoreSystemInterface): 10 1 11 2014-09-04 Eva Balazsfalvi <evab.u-szeged@partner.samsung.com> 2 12 -
trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm
r172975 r173276 61 61 INIT(CopyNSURLResponseStatusLine); 62 62 INIT(CopyNSURLResponseCertificateChain); 63 INIT(CreateCustomCFReadStream);64 63 #if !PLATFORM(IOS) 65 64 INIT(DrawCapsLockIndicator); 66 65 INIT(DrawBezeledTextArea); 67 INIT(DrawBezeledTextFieldCell);68 66 INIT(DrawFocusRing); 69 67 INIT(DrawFocusRingAtTime); … … 71 69 INIT(DrawMediaUIPart); 72 70 INIT(DrawMediaSliderTrack); 73 INIT(DrawTextFieldCellFocusRing);74 71 INIT(GetFontInLanguageForCharacter); 75 72 INIT(GetFontInLanguageForRange); 76 INIT(GetGlyphTransformedAdvances);77 73 #endif 78 74 INIT(GetHTTPRequestPriority); … … 93 89 INIT(WindowSetScaledFrame); 94 90 INIT(PopupMenu); 95 INIT(PopupMenuWithSize);96 91 INIT(SetCGFontRenderingMode); 97 92 #endif … … 112 107 INIT(GetUserToBaseCTM); 113 108 INIT(SetUpFontCache); 114 INIT(SignalCFReadStreamEnd);115 INIT(SignalCFReadStreamError);116 INIT(SignalCFReadStreamHasBytes);117 109 #if ENABLE(VIDEO) && !PLATFORM(IOS) 118 110 INIT(QTIncludeOnlyModernMediaFileTypes); 119 INIT(QTMovieDataRate);120 111 INIT(QTMovieDisableComponent); 121 112 INIT(QTMovieMaxTimeLoaded); … … 154 145 INIT(CreateCTTypesetterWithUniCharProviderAndOptions); 155 146 INIT(CTRunGetInitialAdvance); 156 #if PLATFORM(MAC) || PLATFORM(IOS_SIMULATOR)157 INIT(SetCrashReportApplicationSpecificInformation);158 #endif159 147 #if !PLATFORM(IOS) 160 148 INIT(RecommendedScrollerStyle); -
trunk/Source/WebKit2/ChangeLog
r173272 r173276 1 2014-09-04 Maciej Stachowiak <mjs@apple.com> 2 3 Remove WebCoreSystemInterface glue for otherwise unused WKSI calls 4 https://bugs.webkit.org/show_bug.cgi?id=136527 5 6 Reviewed by Alexey Proskuryakov. 7 8 * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: 9 (InitWebCoreSystemInterface): 10 1 11 2014-09-04 Antti Koivisto <antti@apple.com> 2 12 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm
r172975 r173276 54 54 INIT(CopyNSURLResponseCertificateChain); 55 55 INIT(CreateCTLineWithUniCharProvider); 56 INIT(CreateCustomCFReadStream);57 56 #if !PLATFORM(IOS) 58 57 INIT(DrawBezeledTextArea); 59 INIT(DrawBezeledTextFieldCell);60 58 INIT(DrawCapsLockIndicator); 61 59 INIT(DrawFocusRing); … … 64 62 INIT(DrawMediaSliderTrack); 65 63 INIT(DrawMediaUIPart); 66 INIT(DrawTextFieldCellFocusRing);67 64 INIT(GetFontInLanguageForCharacter); 68 65 INIT(GetFontInLanguageForRange); 69 INIT(GetGlyphTransformedAdvances);70 66 INIT(GetGlyphsForCharacters); 71 67 #endif … … 89 85 INIT(MeasureMediaUIPart); 90 86 INIT(PopupMenu); 91 INIT(PopupMenuWithSize);92 87 INIT(QTIncludeOnlyModernMediaFileTypes); 93 INIT(QTMovieDataRate);94 88 INIT(QTMovieDisableComponent); 95 89 INIT(QTMovieGetType); … … 120 114 INIT(SetPatternPhaseInUserSpace); 121 115 INIT(SetUpFontCache); 122 INIT(SignalCFReadStreamEnd);123 INIT(SignalCFReadStreamError);124 INIT(SignalCFReadStreamHasBytes);125 116 INIT(CreatePrivateStorageSession); 126 117 INIT(CopyRequestWithStorageSession); … … 144 135 INIT(CreateCTTypesetterWithUniCharProviderAndOptions); 145 136 INIT(CTRunGetInitialAdvance); 146 #if PLATFORM(MAC) || PLATFORM(IOS_SIMULATOR)147 INIT(SetCrashReportApplicationSpecificInformation);148 #endif149 137 #if !PLATFORM(IOS) 150 138 INIT(RecommendedScrollerStyle);
Note: See TracChangeset
for help on using the changeset viewer.