Changeset 195597 in webkit


Ignore:
Timestamp:
Jan 26, 2016 10:40:25 AM (8 years ago)
Author:
dbates@webkit.org
Message:

Add WebKitSystemInterface for iOS 9.2
https://bugs.webkit.org/show_bug.cgi?id=153355

Rubber-stamped by David Kilzer.

Tools:

  • Scripts/copy-webkitlibraries-to-product-directory:

WebKitLibraries:

  • WebKitSystemInterface.h:
  • WebKitSystemInterfaceIOS.h: Removed.
  • libWebKitSystemInterfaceIOSDevice9.2.a: Added.
  • libWebKitSystemInterfaceIOSSimulator9.2.a: Added.
Location:
trunk
Files:
2 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r195589 r195597  
     12016-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
    1102016-01-26  Daniel Bates  <dabates@apple.com>
    211
  • trunk/Tools/Scripts/copy-webkitlibraries-to-product-directory

    r192706 r195597  
    141141    print "Cleaning.\n";   
    142142    (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     }
    146143    (system("rm", "-rf", "$productDir$llvmPrefix") == 0) or die;
    147144    unlink glob "$productDir/libWebKitSystemInterface*" or die if glob "$productDir/libWebKitSystemInterface*";
     
    170167            "libWebKitSystemInterfaceIOSDevice9.0.a",
    171168            "libWebKitSystemInterfaceIOSSimulator9.0.a",
     169            "libWebKitSystemInterfaceIOSDevice9.2.a",
     170            "libWebKitSystemInterfaceIOSSimulator9.2.a",
    172171        ));
    173172    } else {
     
    189188   
    190189    dittoHeaders("WebKitLibraries/WebKitSystemInterface.h", "$productDir/usr/local/include/WebKitSystemInterface.h");
    191     dittoHeaders("WebKitLibraries/WebKitSystemInterfaceIOS.h", "$productDir/usr/local/include/WebKitSystemInterfaceIOS.h") if isIOSWebKit();
    192190}
    193191
  • trunk/WebKitLibraries/ChangeLog

    r194497 r195597  
     12016-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
    1132016-01-02  Andy Estes  <aestes@apple.com>
    214
  • trunk/WebKitLibraries/WebKitSystemInterface.h

    r190237 r195597  
    1515#import <CoreImage/CoreImage.h>
    1616#import <CoreText/CoreText.h>
    17 #import <WebKitSystemInterfaceIOS.h>
    1817#endif
    1918
     
    4645WKCertificateParseResult WKAddCertificatesToKeychainFromData(const void *bytes, unsigned length);
    4746
    48 NSDate *WKGetNSURLResponseLastModifiedDate(NSURLResponse *response);
    49 NSString *WKCopyNSURLResponseStatusLine(NSURLResponse *response);
    50 
    51 CFArrayRef WKCopyNSURLResponseCertificateChain(NSURLResponse *response);
    52 
    5347CFStringEncoding WKGetWebDefaultCFStringEncoding(void);
    5448
    5549void WKSetMetadataURL(NSString *URLString, NSString *referrer, NSString *path);
    56 void WKSetNSURLConnectionDefersCallbacks(NSURLConnection *connection, BOOL defers);
    57 void WKSetNSURLRequestShouldContentSniff(NSMutableURLRequest *request, BOOL shouldContentSniff);
    5850   
    5951typedef enum {
     
    7163BOOL WKShouldSuggestBlockingWebGL();
    7264
    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 
    9065enum {
    9166    WKCTFontTransformApplyShaping = (1 << 0),
     
    9469typedef int WKCTFontTransformOptions;
    9570
    96 bool WKCTFontTransformGlyphs(CTFontRef font, CGGlyph glyphs[], CGSize advances[], CFIndex count, WKCTFontTransformOptions options);
    97 
    9871typedef enum {
    9972    WKPatternTilingNoDistortion,
     
    10376
    10477CGPatternRef WKCGPatternCreateWithImageAndTransform(CGImageRef image, CGAffineTransform transform, int tiling);
    105 void WKCGContextResetClip(CGContextRef);
    10678
    10779BOOL WKCGContextIsBitmapContext(CGContextRef context);
     
    11486NSURLRequest *WKCopyRequestWithStorageSession(CFURLStorageSessionRef, NSURLRequest *);
    11587NSCachedURLResponse *WKCachedResponseForRequest(CFURLStorageSessionRef, NSURLRequest *);
    116 void WKSetRequestStorageSession(CFURLStorageSessionRef, CFMutableURLRequestRef);
    11788
    11889typedef struct OpaqueCFHTTPCookieStorage* CFHTTPCookieStorageRef;
    119 CFHTTPCookieStorageRef WKCopyHTTPCookieStorage(CFURLStorageSessionRef);
    12090unsigned WKGetHTTPCookieAcceptPolicy(CFHTTPCookieStorageRef);
    121 void WKSetHTTPCookieAcceptPolicy(CFHTTPCookieStorageRef, unsigned policy);
    12291NSArray *WKHTTPCookies(CFHTTPCookieStorageRef);
    12392NSArray *WKHTTPCookiesForURL(CFHTTPCookieStorageRef, NSURL *, NSURL *);
     
    12695void WKDeleteHTTPCookie(CFHTTPCookieStorageRef, NSHTTPCookie *);
    12796
    128 CFHTTPCookieStorageRef WKGetDefaultHTTPCookieStorage(void);
    129 WKCFURLCredentialRef WKCopyCredentialFromCFPersistentStorage(CFURLProtectionSpaceRef);
    130 void WKSetCFURLRequestShouldContentSniff(CFMutableURLRequestRef, bool flag);
    131 
    13297CFURLRef WKCopyBundleURLForExecutableURL(CFURLRef);
    13398
     
    137102typedef struct __WKCAContextRef *WKCAContextRef;
    138103WKCAContextRef 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);
    145104void WKDestroyRenderingResources(void);
    146105
    147106void 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);
    155107
    156108void WKSetCONNECTProxyForStream(CFReadStreamRef, CFStringRef proxyHost, CFNumberRef proxyPort);
     
    163115CFURLRequestRef WKCreateCFURLRequestFromSerializableRepresentation(CFDictionaryRef representation, CFTypeRef tokenNull);
    164116
    165 CFDictionaryRef WKNSURLResponseCreateSerializableRepresentation(NSURLResponse *response, CFTypeRef tokenNull);
    166 NSURLResponse *WKNSURLResponseFromSerializableRepresentation(CFDictionaryRef representation, CFTypeRef tokenNull);
    167 
    168117CFArrayRef WKCFURLCacheCopyAllHostNamesInPersistentStore(void);
    169118void 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);
    176119
    177120typedef enum {
     
    191134
    192135void 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);
    198136
    199137bool WKIsPublicSuffix(NSString *domain);
     
    244182
    245183// Remote Accessibility API.
    246 void WKAXRegisterRemoteApp(void);
    247184void WKAXInitializeElementWithPresenterPid(id, pid_t);
    248185NSData *WKAXRemoteTokenForElement(id);
     
    252189pid_t WKAXRemoteProcessIdentifier(id remoteElement);
    253190
    254 void WKDrawCapsLockIndicator(CGContextRef, CGRect);
    255 
    256191// The CG context's current path is the focus ring's path.
    257192// Color and radius are ignored. Older versions of WebKit expected to
     
    269204void WKSendUserChangeNotifications(void);
    270205
    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 
    275206bool WKCGContextDrawsWithCorrectShadowOffsets(CGContextRef);
    276207
     
    297228unsigned WKQTIncludeOnlyModernMediaFileTypes(void);
    298229float WKQTMovieMaxTimeLoaded(QTMovie* movie);
    299 float WKQTMovieMaxTimeSeekable(QTMovie* movie);
    300230NSString *WKQTMovieMaxTimeLoadedChangeNotification(void);
    301 void WKQTMovieViewSetDrawSynchronously(QTMovieView* view, BOOL sync);
    302231void WKQTMovieDisableComponent(uint32_t[5]);
    303232NSURL *WKQTMovieResolvedURL(QTMovie* movie);
     
    396325
    397326bool WKExecutableWasLinkedOnOrBeforeLion(void);
    398 bool WKExecutableWasLinkedOnOrBeforeMountainLion(void);
    399327
    400328CGFloat WKNSElasticDeltaForTimeDelta(CGFloat initialPosition, CGFloat initialVelocity, CGFloat elapsedTime);
     
    416344
    417345bool WKRegisterOcclusionNotificationHandler(WKOcclusionNotificationType, WKOcclusionNotificationHandler);
    418 bool WKUnregisterOcclusionNotificationHandler(WKOcclusionNotificationType, WKOcclusionNotificationHandler);
    419346bool WKEnableWindowOcclusionNotifications(NSInteger windowID, bool *outCurrentOcclusionState);
    420347
Note: See TracChangeset for help on using the changeset viewer.