Changeset 195597 in webkit
- Timestamp:
- Jan 26, 2016 10:40:25 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r195589 r195597 1 2016-01-26 Daniel Bates <dabates@apple.com> 2 3 Add WebKitSystemInterface for iOS 9.2 4 https://bugs.webkit.org/show_bug.cgi?id=153355 5 6 Rubber-stamped by David Kilzer. 7 8 * Scripts/copy-webkitlibraries-to-product-directory: 9 1 10 2016-01-26 Daniel Bates <dabates@apple.com> 2 11 -
trunk/Tools/Scripts/copy-webkitlibraries-to-product-directory
r192706 r195597 141 141 print "Cleaning.\n"; 142 142 (system("rm", "-rf", File::Spec->catfile($productDir, "usr", "local", "include", "WebKitSystemInterface.h")) == 0) or die; 143 if (isIOSWebKit()) {144 (system("rm", "-rf", File::Spec->catfile($productDir, "usr", "local", "include", "WebKitSystemInterfaceIOS.h")) == 0) or die;145 }146 143 (system("rm", "-rf", "$productDir$llvmPrefix") == 0) or die; 147 144 unlink glob "$productDir/libWebKitSystemInterface*" or die if glob "$productDir/libWebKitSystemInterface*"; … … 170 167 "libWebKitSystemInterfaceIOSDevice9.0.a", 171 168 "libWebKitSystemInterfaceIOSSimulator9.0.a", 169 "libWebKitSystemInterfaceIOSDevice9.2.a", 170 "libWebKitSystemInterfaceIOSSimulator9.2.a", 172 171 )); 173 172 } else { … … 189 188 190 189 dittoHeaders("WebKitLibraries/WebKitSystemInterface.h", "$productDir/usr/local/include/WebKitSystemInterface.h"); 191 dittoHeaders("WebKitLibraries/WebKitSystemInterfaceIOS.h", "$productDir/usr/local/include/WebKitSystemInterfaceIOS.h") if isIOSWebKit();192 190 } 193 191 -
trunk/WebKitLibraries/ChangeLog
r194497 r195597 1 2016-01-26 Daniel Bates <dabates@apple.com> 2 3 Add WebKitSystemInterface for iOS 9.2 4 https://bugs.webkit.org/show_bug.cgi?id=153355 5 6 Rubber-stamped by David Kilzer. 7 8 * WebKitSystemInterface.h: 9 * WebKitSystemInterfaceIOS.h: Removed. 10 * libWebKitSystemInterfaceIOSDevice9.2.a: Added. 11 * libWebKitSystemInterfaceIOSSimulator9.2.a: Added. 12 1 13 2016-01-02 Andy Estes <aestes@apple.com> 2 14 -
trunk/WebKitLibraries/WebKitSystemInterface.h
r190237 r195597 15 15 #import <CoreImage/CoreImage.h> 16 16 #import <CoreText/CoreText.h> 17 #import <WebKitSystemInterfaceIOS.h>18 17 #endif 19 18 … … 46 45 WKCertificateParseResult WKAddCertificatesToKeychainFromData(const void *bytes, unsigned length); 47 46 48 NSDate *WKGetNSURLResponseLastModifiedDate(NSURLResponse *response);49 NSString *WKCopyNSURLResponseStatusLine(NSURLResponse *response);50 51 CFArrayRef WKCopyNSURLResponseCertificateChain(NSURLResponse *response);52 53 47 CFStringEncoding WKGetWebDefaultCFStringEncoding(void); 54 48 55 49 void WKSetMetadataURL(NSString *URLString, NSString *referrer, NSString *path); 56 void WKSetNSURLConnectionDefersCallbacks(NSURLConnection *connection, BOOL defers);57 void WKSetNSURLRequestShouldContentSniff(NSMutableURLRequest *request, BOOL shouldContentSniff);58 50 59 51 typedef enum { … … 71 63 BOOL WKShouldSuggestBlockingWebGL(); 72 64 73 BOOL WKCGContextGetShouldSmoothFonts(CGContextRef cgContext);74 75 void WKSetUpFontCache(void);76 77 void WKSetBaseCTM(CGContextRef, CGAffineTransform);78 void WKSetPatternPhaseInUserSpace(CGContextRef, CGPoint);79 CGAffineTransform WKGetUserToBaseCTM(CGContextRef);80 81 void WKGetGlyphsForCharacters(CGFontRef, const UniChar[], CGGlyph[], size_t);82 bool WKGetVerticalGlyphsForCharacters(CTFontRef, const UniChar[], CGGlyph[], size_t);83 84 CTLineRef WKCreateCTLineWithUniCharProvider(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*);85 86 CTTypesetterRef WKCreateCTTypesetterWithUniCharProviderAndOptions(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*, CFDictionaryRef options);87 88 CGSize WKCTRunGetInitialAdvance(CTRunRef);89 90 65 enum { 91 66 WKCTFontTransformApplyShaping = (1 << 0), … … 94 69 typedef int WKCTFontTransformOptions; 95 70 96 bool WKCTFontTransformGlyphs(CTFontRef font, CGGlyph glyphs[], CGSize advances[], CFIndex count, WKCTFontTransformOptions options);97 98 71 typedef enum { 99 72 WKPatternTilingNoDistortion, … … 103 76 104 77 CGPatternRef WKCGPatternCreateWithImageAndTransform(CGImageRef image, CGAffineTransform transform, int tiling); 105 void WKCGContextResetClip(CGContextRef);106 78 107 79 BOOL WKCGContextIsBitmapContext(CGContextRef context); … … 114 86 NSURLRequest *WKCopyRequestWithStorageSession(CFURLStorageSessionRef, NSURLRequest *); 115 87 NSCachedURLResponse *WKCachedResponseForRequest(CFURLStorageSessionRef, NSURLRequest *); 116 void WKSetRequestStorageSession(CFURLStorageSessionRef, CFMutableURLRequestRef);117 88 118 89 typedef struct OpaqueCFHTTPCookieStorage* CFHTTPCookieStorageRef; 119 CFHTTPCookieStorageRef WKCopyHTTPCookieStorage(CFURLStorageSessionRef);120 90 unsigned WKGetHTTPCookieAcceptPolicy(CFHTTPCookieStorageRef); 121 void WKSetHTTPCookieAcceptPolicy(CFHTTPCookieStorageRef, unsigned policy);122 91 NSArray *WKHTTPCookies(CFHTTPCookieStorageRef); 123 92 NSArray *WKHTTPCookiesForURL(CFHTTPCookieStorageRef, NSURL *, NSURL *); … … 126 95 void WKDeleteHTTPCookie(CFHTTPCookieStorageRef, NSHTTPCookie *); 127 96 128 CFHTTPCookieStorageRef WKGetDefaultHTTPCookieStorage(void);129 WKCFURLCredentialRef WKCopyCredentialFromCFPersistentStorage(CFURLProtectionSpaceRef);130 void WKSetCFURLRequestShouldContentSniff(CFMutableURLRequestRef, bool flag);131 132 97 CFURLRef WKCopyBundleURLForExecutableURL(CFURLRef); 133 98 … … 137 102 typedef struct __WKCAContextRef *WKCAContextRef; 138 103 WKCAContextRef WKCAContextMakeRemoteWithServerPort(mach_port_t port); 139 void WKCAContextInvalidate(WKCAContextRef);140 uint32_t WKCAContextGetContextId(WKCAContextRef);141 void WKCAContextSetLayer(WKCAContextRef, CALayer *);142 CALayer *WKCAContextGetLayer(WKCAContextRef);143 void WKCAContextSetColorSpace(WKCAContextRef, CGColorSpaceRef);144 CGColorSpaceRef WKCAContextGetColorSpace(WKCAContextRef);145 104 void WKDestroyRenderingResources(void); 146 105 147 106 void WKCALayerEnumerateRectsBeingDrawnWithBlock(CALayer *layer, CGContextRef context, void (^block)(CGRect rect)); 148 149 unsigned WKInitializeMaximumHTTPConnectionCountPerHost(unsigned preferredConnectionCount);150 int WKGetHTTPRequestPriority(CFURLRequestRef);151 void WKSetHTTPRequestMaximumPriority(int maximumPriority);152 void WKSetHTTPRequestPriority(CFURLRequestRef, int priority);153 void WKSetHTTPRequestMinimumFastLanePriority(int priority);154 void WKHTTPRequestEnablePipelining(CFURLRequestRef);155 107 156 108 void WKSetCONNECTProxyForStream(CFReadStreamRef, CFStringRef proxyHost, CFNumberRef proxyPort); … … 163 115 CFURLRequestRef WKCreateCFURLRequestFromSerializableRepresentation(CFDictionaryRef representation, CFTypeRef tokenNull); 164 116 165 CFDictionaryRef WKNSURLResponseCreateSerializableRepresentation(NSURLResponse *response, CFTypeRef tokenNull);166 NSURLResponse *WKNSURLResponseFromSerializableRepresentation(CFDictionaryRef representation, CFTypeRef tokenNull);167 168 117 CFArrayRef WKCFURLCacheCopyAllHostNamesInPersistentStore(void); 169 118 void WKCFURLCacheDeleteHostNamesInPersistentStore(CFArrayRef hostArray); 170 171 CFStringRef WKGetCFURLResponseMIMEType(CFURLResponseRef);172 CFURLRef WKGetCFURLResponseURL(CFURLResponseRef);173 CFHTTPMessageRef WKGetCFURLResponseHTTPResponse(CFURLResponseRef);174 CFStringRef WKCopyCFURLResponseSuggestedFilename(CFURLResponseRef);175 void WKSetCFURLResponseMIMEType(CFURLResponseRef, CFStringRef mimeType);176 119 177 120 typedef enum { … … 191 134 192 135 void WKSetCrashReportApplicationSpecificInformation(CFStringRef); 193 194 void WKCGPathAddRoundedRect(CGMutablePathRef path, const CGAffineTransform* matrix, CGRect rect, CGFloat cornerWidth, CGFloat cornerHeight);195 196 void WKCFURLRequestAllowAllPostCaching(CFURLRequestRef);197 void WKCFNetworkSetOverrideSystemProxySettings(CFDictionaryRef);198 136 199 137 bool WKIsPublicSuffix(NSString *domain); … … 244 182 245 183 // Remote Accessibility API. 246 void WKAXRegisterRemoteApp(void);247 184 void WKAXInitializeElementWithPresenterPid(id, pid_t); 248 185 NSData *WKAXRemoteTokenForElement(id); … … 252 189 pid_t WKAXRemoteProcessIdentifier(id remoteElement); 253 190 254 void WKDrawCapsLockIndicator(CGContextRef, CGRect);255 256 191 // The CG context's current path is the focus ring's path. 257 192 // Color and radius are ignored. Older versions of WebKit expected to … … 269 204 void WKSendUserChangeNotifications(void); 270 205 271 NSFont *WKGetFontInLanguageForRange(NSFont *font, NSString *string, NSRange range);272 NSFont *WKGetFontInLanguageForCharacter(NSFont *font, UniChar ch);273 void WKSetCGFontRenderingMode(CGContextRef cgContext, NSFont *font, BOOL shouldSubpixelQuantize);274 275 206 bool WKCGContextDrawsWithCorrectShadowOffsets(CGContextRef); 276 207 … … 297 228 unsigned WKQTIncludeOnlyModernMediaFileTypes(void); 298 229 float WKQTMovieMaxTimeLoaded(QTMovie* movie); 299 float WKQTMovieMaxTimeSeekable(QTMovie* movie);300 230 NSString *WKQTMovieMaxTimeLoadedChangeNotification(void); 301 void WKQTMovieViewSetDrawSynchronously(QTMovieView* view, BOOL sync);302 231 void WKQTMovieDisableComponent(uint32_t[5]); 303 232 NSURL *WKQTMovieResolvedURL(QTMovie* movie); … … 396 325 397 326 bool WKExecutableWasLinkedOnOrBeforeLion(void); 398 bool WKExecutableWasLinkedOnOrBeforeMountainLion(void);399 327 400 328 CGFloat WKNSElasticDeltaForTimeDelta(CGFloat initialPosition, CGFloat initialVelocity, CGFloat elapsedTime); … … 416 344 417 345 bool WKRegisterOcclusionNotificationHandler(WKOcclusionNotificationType, WKOcclusionNotificationHandler); 418 bool WKUnregisterOcclusionNotificationHandler(WKOcclusionNotificationType, WKOcclusionNotificationHandler);419 346 bool WKEnableWindowOcclusionNotifications(NSInteger windowID, bool *outCurrentOcclusionState); 420 347
Note: See TracChangeset
for help on using the changeset viewer.