diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-07 11:22:47 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-07 11:22:47 +0100 |
commit | cfd86b747d32ac22246a1aa908eaa720c63a88c1 (patch) | |
tree | 24d68c6f61c464ecba1e05670b80390ea3b0e50c /WebKitLibraries | |
parent | 69d7c744c9de19d152dbe2d8e46eb7dfd4511d1a (diff) |
Imported WebKit commit 20271caf2e2c016d5cef40184cddeefeac4f1876 (http://svn.webkit.org/repository/webkit/trunk@133733)
New snapshot that contains all previous fixes as well as build fix for latest QtMultimedia API changes.
Diffstat (limited to 'WebKitLibraries')
-rw-r--r-- | WebKitLibraries/ChangeLog | 91 | ||||
-rw-r--r-- | WebKitLibraries/WebKitSystemInterface.h | 106 | ||||
-rw-r--r-- | WebKitLibraries/libWebKitSystemInterfaceLeopard.a | bin | 2113504 -> 0 bytes | |||
-rw-r--r-- | WebKitLibraries/libWebKitSystemInterfaceLion.a | bin | 636184 -> 655712 bytes | |||
-rw-r--r-- | WebKitLibraries/libWebKitSystemInterfaceMountainLion.a | bin | 647736 -> 651448 bytes | |||
-rw-r--r-- | WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a | bin | 1597940 -> 0 bytes | |||
-rw-r--r-- | WebKitLibraries/win/tools/vsprops/FeatureDefines.vsprops | 5 | ||||
-rw-r--r-- | WebKitLibraries/win/tools/vsprops/FeatureDefinesCairo.vsprops | 5 |
8 files changed, 165 insertions, 42 deletions
diff --git a/WebKitLibraries/ChangeLog b/WebKitLibraries/ChangeLog index 090e056ef..3a345a4af 100644 --- a/WebKitLibraries/ChangeLog +++ b/WebKitLibraries/ChangeLog @@ -1,3 +1,94 @@ +2012-11-06 Anders Carlsson <andersca@apple.com> + + Build fix. + + * WebKitSystemInterface.h: + +2012-11-06 Anders Carlsson <andersca@apple.com> + + Update Java related WKSI function names + https://bugs.webkit.org/show_bug.cgi?id=101414 + + Reviewed by Sam Weinig. + + Roll WebKitSystemInterface DEPS. + + * WebKitSystemInterface.h: + * libWebKitSystemInterfaceLion.a: + * libWebKitSystemInterfaceMountainLion.a: + +2012-11-06 Alexey Proskuryakov <ap@apple.com> + + Clean up which storage cookie jar functions use + https://bugs.webkit.org/show_bug.cgi?id=101395 + + Reviewed by Brady Eidson. + + * WebKitSystemInterface.h: + * libWebKitSystemInterfaceLion.a: + * libWebKitSystemInterfaceMountainLion.a: + Added WKHTTPCookies() and WKDeleteAllHTTPCookies(). Updated ifdefs for currently + supported OS versions. + +2012-11-06 Alexey Proskuryakov <ap@apple.com> + + Delete Leopard and Snow Leopard versions of WKSI. These have not been updated in ages. + + Rubber-stampted by Mark Rowe. + + * libWebKitSystemInterfaceLeopard.a: Removed. + * libWebKitSystemInterfaceSnowLeopard.a: Removed. + +2012-11-05 Alexey Proskuryakov <ap@apple.com> + + Get rid of setCookieStoragePrivateBrowsingEnabled. + https://bugs.webkit.org/show_bug.cgi?id=101247 + + Reviewed by Brady Eidson. + + * WebKitSystemInterface.h: Removed the function. + +2012-11-02 Anders Carlsson <andersca@apple.com> + + Don't instantiate the Java plug-in if it's inactive + https://bugs.webkit.org/show_bug.cgi?id=101102 + <rdar://problem/12595679> + + Reviewed by Andreas Kling. + + Update WebKitSystemInterface to a version that has WKJLReportWebComponentsUsed. + + * WebKitSystemInterface.h: + * libWebKitSystemInterfaceLion.a: + * libWebKitSystemInterfaceMountainLion.a: + Roll WebKitSystemInterface DERPS. + +2012-10-25 Dominik Röttsches <dominik.rottsches@intel.com> + + Conditionalize XHR timeout support + https://bugs.webkit.org/show_bug.cgi?id=100356 + + Reviewed by Adam Barth. + + Adding ENABLE_XHR_TIMEOUT feature, which is default off for Apple Win. + See also https://bugs.webkit.org/show_bug.cgi?id=100349 for an attempt + to fix timeout support for CF Network. + + * win/tools/vsprops/FeatureDefines.vsprops: + * win/tools/vsprops/FeatureDefinesCairo.vsprops: + +2012-10-24 Eric Carlson <eric.carlson@apple.com> + + Allow ports to override text track rendering style + https://bugs.webkit.org/show_bug.cgi?id=97800 + <rdar://problem/12044964> + + Reviewed by Maciej Stachowiak. + + Update WKSI header with SPI for getting the user caption appearance preferences. + + * WebKitSystemInterface.h: + 2012-10-19 Dongwoo Joshua Im <dw.im@samsung.com> Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT diff --git a/WebKitLibraries/WebKitSystemInterface.h b/WebKitLibraries/WebKitSystemInterface.h index acf4061bc..1ee58338b 100644 --- a/WebKitLibraries/WebKitSystemInterface.h +++ b/WebKitLibraries/WebKitSystemInterface.h @@ -1,12 +1,13 @@ /* WebKitSystemInterface.h - Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. + Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. Public header file. */ #import <Cocoa/Cocoa.h> #import <Carbon/Carbon.h> +#import <dispatch/dispatch.h> @class AVAsset; @class QTMovie; @@ -68,8 +69,6 @@ void WKDisableCGDeferredUpdates(void); Class WKNSURLProtocolClassForRequest(NSURLRequest *request); void WKSetNSURLRequestShouldContentSniff(NSMutableURLRequest *request, BOOL shouldContentSniff); -void WKSetCookieStoragePrivateBrowsingEnabled(BOOL enabled); - unsigned WKGetNSAutoreleasePoolCount(void); void WKAdvanceDefaultButtonPulseAnimation(NSButtonCell *button); @@ -153,12 +152,22 @@ void WKGetGlyphsForCharacters(CGFontRef, const UniChar[], CGGlyph[], size_t); bool WKGetVerticalGlyphsForCharacters(CTFontRef, const UniChar[], CGGlyph[], size_t); CTLineRef WKCreateCTLineWithUniCharProvider(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*); -#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 + +#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 +enum { + WKCTFontTransformApplyShaping = (1 << 0), + WKCTFontTransformApplyPositioning = (1 << 1) +}; + +typedef int WKCTFontTransformOptions; + +bool WKCTFontTransformGlyphs(CTFontRef font, CGGlyph glyphs[], CGSize advances[], CFIndex count, WKCTFontTransformOptions options); +#endif + CTTypesetterRef WKCreateCTTypesetterWithUniCharProviderAndOptions(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*, CFDictionaryRef options); CGContextRef WKIOSurfaceContextCreate(IOSurfaceRef, unsigned width, unsigned height, CGColorSpaceRef); CGImageRef WKIOSurfaceContextCreateImage(CGContextRef context); -#endif typedef enum { WKPatternTilingNoDistortion, @@ -227,11 +236,7 @@ NSURL *WKQTMovieResolvedURL(QTMovie* movie); CFStringRef WKCopyFoundationCacheDirectory(void); -#if MAC_OS_X_VERSION_MIN_REQUIRED == 1060 -typedef struct __CFURLStorageSession* CFURLStorageSessionRef; -#else typedef const struct __CFURLStorageSession* CFURLStorageSessionRef; -#endif CFURLStorageSessionRef WKCreatePrivateStorageSession(CFStringRef); NSURLRequest *WKCopyRequestWithStorageSession(CFURLStorageSessionRef, NSURLRequest*); NSCachedURLResponse *WKCachedResponseForRequest(CFURLStorageSessionRef, NSURLRequest*); @@ -241,8 +246,10 @@ typedef struct OpaqueCFHTTPCookieStorage* CFHTTPCookieStorageRef; CFHTTPCookieStorageRef WKCopyHTTPCookieStorage(CFURLStorageSessionRef); unsigned WKGetHTTPCookieAcceptPolicy(CFHTTPCookieStorageRef); void WKSetHTTPCookieAcceptPolicy(CFHTTPCookieStorageRef, unsigned policy); +NSArray *WKHTTPCookies(CFHTTPCookieStorageRef); NSArray *WKHTTPCookiesForURL(CFHTTPCookieStorageRef, NSURL *); void WKSetHTTPCookiesForURL(CFHTTPCookieStorageRef, NSArray *, NSURL *, NSURL *); +void WKDeleteAllHTTPCookies(CFHTTPCookieStorageRef); void WKDeleteHTTPCookie(CFHTTPCookieStorageRef, NSHTTPCookie *); CFHTTPCookieStorageRef WKGetDefaultHTTPCookieStorage(void); @@ -352,9 +359,7 @@ CALayer *WKCAContextGetLayer(WKCAContextRef); void WKCAContextSetColorSpace(WKCAContextRef, CGColorSpaceRef); CGColorSpaceRef WKCAContextGetColorSpace(WKCAContextRef); -#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 void WKCALayerEnumerateRectsBeingDrawnWithBlock(CALayer *layer, CGContextRef context, void (^block)(CGRect rect)); -#endif @class CARenderer; @@ -390,17 +395,6 @@ void WKSetCONNECTProxyForStream(CFReadStreamRef, CFStringRef proxyHost, CFNumber void WKSetCONNECTProxyAuthorizationForStream(CFReadStreamRef, CFStringRef proxyAuthorizationString); CFHTTPMessageRef WKCopyCONNECTProxyResponse(CFReadStreamRef, CFURLRef responseURL); -#if MAC_OS_X_VERSION_MIN_REQUIRED == 1060 -typedef enum { - WKEventPhaseNone = 0, - WKEventPhaseBegan = 1, - WKEventPhaseChanged = 2, - WKEventPhaseEnded = 3, -} WKEventPhase; - -int WKGetNSEventMomentumPhase(NSEvent *); -#endif - void WKWindowSetAlpha(NSWindow *window, float alphaValue); void WKWindowSetScaledFrame(NSWindow *window, NSRect scaleFrame, NSRect nonScaledFrame); @@ -418,10 +412,6 @@ NSURLResponse *WKNSURLResponseFromSerializableRepresentation(CFDictionaryRef rep ScriptCode WKGetScriptCodeFromCurrentKeyboardInputSource(void); #endif -#if MAC_OS_X_VERSION_MIN_REQUIRED == 1060 -CFIndex WKGetHyphenationLocationBeforeIndex(CFStringRef string, CFIndex index); -#endif - CFArrayRef WKCFURLCacheCopyAllHostNamesInPersistentStore(void); void WKCFURLCacheDeleteHostNamesInPersistentStore(CFArrayRef hostArray); @@ -433,8 +423,6 @@ void WKSetCFURLResponseMIMEType(CFURLResponseRef, CFStringRef mimeType); CIFormat WKCIGetRGBA8Format(void); -#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 - typedef enum { WKSandboxExtensionTypeReadOnly, WKSandboxExtensionTypeWriteOnly, @@ -471,28 +459,16 @@ NSURL* WKAVAssetResolvedURL(AVAsset*); NSCursor *WKCursor(const char *name); -#endif - -#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 - -#import <dispatch/dispatch.h> - dispatch_source_t WKCreateVMPressureDispatchOnMainQueue(void); -#endif - #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 NSString *WKGetMacOSXVersionString(void); bool WKExecutableWasLinkedOnOrBeforeLion(void); #endif -#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 void WKCGPathAddRoundedRect(CGMutablePathRef path, const CGAffineTransform* matrix, CGRect rect, CGFloat cornerWidth, CGFloat cornerHeight); -#endif -#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 void WKCFURLRequestAllowAllPostCaching(CFURLRequestRef); -#endif #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 @class WebFilterEvaluator; @@ -509,10 +485,56 @@ CGFloat WKNSElasticDeltaForReboundDelta(CGFloat delta); CGFloat WKNSReboundDeltaForElasticDelta(CGFloat delta); #endif -#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 -Boolean WKJLIsRuntimeAndWebComponentsInstalled(void); +typedef enum { + WKCaptionFontStyleDefault = 0, + WKCaptionFontStyleMonospacedWithSerif, + WKCaptionFontStyleProportionalWithSerif, + WKCaptionFontStyleMonospacedWithoutSerif, + WKCaptionFontStyleProportionalWithoutSerif, + WKCaptionFontStyleCasual, + WKCaptionFontStyleCursive, + WKCaptionFontStyleSmallCapital, + WKCaptionFontStyleMax +} WKCaptionFontStyle; + +typedef enum { + WKCaptionTextEdgeStyleUndefined = 0, + WKCaptionTextEdgeStyleNone, + WKCaptionTextEdgeStyleRaised, + WKCaptionTextEdgeStyleDepressed, + WKCaptionTextEdgeStyleUniform, + WKCaptionTextEdgeStyleDropShadow, + WKCaptionTextEdgeStyleMax +} WKCaptionTextEdgeStyle; + +bool WKCaptionAppearanceHasUserPreferences(void); +bool WKCaptionAppearanceShowCaptionsWhenAvailable(void); +CGColorRef WKCaptionAppearanceCopyForegroundColor(void); +CGColorRef WKCaptionAppearanceCopyBackgroundColor(void); +CGColorRef WKCaptionAppearanceCopyWindowColor(void); +bool WKCaptionAppearanceGetForegroundOpacity(CGFloat*); +bool WKCaptionAppearanceGetBackgroundOpacity(CGFloat*); +bool WKCaptionAppearanceGetWindowOpacity(CGFloat*); +CGFontRef WKCaptionAppearanceCopyFontForStyle(int fontStyle); +bool WKCaptionAppearanceGetRelativeCharacterSize(CGFloat*); +int WKCaptionAppearanceGetTextEdgeStyle(void); +CFStringRef WKCaptionAppearanceGetSettingsChangedNotification(void); + +#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 +typedef enum { + WKOcclusionNotificationTypeApplicationBecameVisible, + WKOcclusionNotificationTypeApplicationBecameOccluded +} WKOcclusionNotificationType; + +typedef void (*WKOcclusionNotificationHandler)(uint32_t, void*, uint32_t, void*, uint32_t); + +bool WKRegisterOcclusionNotificationHandler(WKOcclusionNotificationType, WKOcclusionNotificationHandler); +bool WKUnregisterOcclusionNotificationHandler(WKOcclusionNotificationType, WKOcclusionNotificationHandler); #endif +bool WKIsJavaPlugInActive(void); +void WKActivateJavaPlugIn(void); + #ifdef __cplusplus } #endif diff --git a/WebKitLibraries/libWebKitSystemInterfaceLeopard.a b/WebKitLibraries/libWebKitSystemInterfaceLeopard.a Binary files differdeleted file mode 100644 index 33116d844..000000000 --- a/WebKitLibraries/libWebKitSystemInterfaceLeopard.a +++ /dev/null diff --git a/WebKitLibraries/libWebKitSystemInterfaceLion.a b/WebKitLibraries/libWebKitSystemInterfaceLion.a Binary files differindex db8b46c78..c21d74551 100644 --- a/WebKitLibraries/libWebKitSystemInterfaceLion.a +++ b/WebKitLibraries/libWebKitSystemInterfaceLion.a diff --git a/WebKitLibraries/libWebKitSystemInterfaceMountainLion.a b/WebKitLibraries/libWebKitSystemInterfaceMountainLion.a Binary files differindex de95e9694..9b0f83796 100644 --- a/WebKitLibraries/libWebKitSystemInterfaceMountainLion.a +++ b/WebKitLibraries/libWebKitSystemInterfaceMountainLion.a diff --git a/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a b/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a Binary files differdeleted file mode 100644 index cb3088ca3..000000000 --- a/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a +++ /dev/null diff --git a/WebKitLibraries/win/tools/vsprops/FeatureDefines.vsprops b/WebKitLibraries/win/tools/vsprops/FeatureDefines.vsprops index 8880ab765..d271e4b27 100644 --- a/WebKitLibraries/win/tools/vsprops/FeatureDefines.vsprops +++ b/WebKitLibraries/win/tools/vsprops/FeatureDefines.vsprops @@ -372,6 +372,11 @@ PerformEnvironmentSet="true"
/>
<UserMacro
+ Name="ENABLE_XHR_TIMEOUT"
+ Value="ENABLE_XHR_TIMEOUT"
+ PerformEnvironmentSet="true"
+ />
+ <UserMacro
Name="ENABLE_XSLT"
Value="ENABLE_XSLT"
PerformEnvironmentSet="true"
diff --git a/WebKitLibraries/win/tools/vsprops/FeatureDefinesCairo.vsprops b/WebKitLibraries/win/tools/vsprops/FeatureDefinesCairo.vsprops index ca18aed7a..33527a6eb 100644 --- a/WebKitLibraries/win/tools/vsprops/FeatureDefinesCairo.vsprops +++ b/WebKitLibraries/win/tools/vsprops/FeatureDefinesCairo.vsprops @@ -367,6 +367,11 @@ PerformEnvironmentSet="true"
/>
<UserMacro
+ Name="ENABLE_XHR_TIMEOUT"
+ Value="ENABLE_XHR_TIMEOUT"
+ PerformEnvironmentSet="true"
+ />
+ <UserMacro
Name="ENABLE_XSLT"
Value="ENABLE_XSLT"
PerformEnvironmentSet="true"
|