2011-02-06 Lucas Forschler Merge 106678 2012-02-03 Beth Dakin https://bugs.webkit.org/show_bug.cgi?id=77691 Fix PlatformScreen layering violation and PlatformScreenMac's incorrect use of device scale Reviewed by Andy Estes. toUserSpace() and toDeviceSpace() don't need to take device scale. Also restore a comment that I needlessly removed. * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::setWindowRect): (WebChromeClient::windowRect): 2011-02-01 Lucas Forschler Merge 106271 2012-01-30 Beth Dakin https://bugs.webkit.org/show_bug.cgi?id=77263 PlatformScreenMac should not rely on NSWindow for important bits of data Reviewed by Geoff Garen. toUserSpace() and toDeviceSpace() now take a parameter for the deviceScaleFactor. * WebCoreSupport/WebChromeClient.mm: (windowScaleFactor): (WebChromeClient::setWindowRect): (WebChromeClient::windowRect): 2012-01-25 Mark Rowe Merge r105942. 2012-01-25 Mark Rowe Build in to an alternate location when USE_STAGING_INSTALL_PATH is set. Adopt USE_STAGING_INSTALL_PATH Reviewed by David Kilzer. * Configurations/WebKit.xcconfig: Define NORMAL_WEBKIT_FRAMEWORKS_DIR, which contains the path where WebKit is normally installed. Update WEBKIT_FRAMEWORKS_DIR to point to the staged frameworks directory when USE_STAGING_INSTALL_PATH is set. Define NORMAL_PRODUCTION_FRAMEWORKS_DIR, which contains the path where our public frameworks are normally installed. Update PRODUCTION_FRAMEWORKS_DIR to point to the staged frameworks directory when USE_STAGING_INSTALL_PATH is set. Always set the framework's install name based on the normal framework location. This prevents an incorrect install name from being used when installing in to the staged frameworks directory. Look for our other frameworks in the staged frameworks directory when USE_STAGING_INSTALL_PATH is set. Update WEBCORE_PRIVATE_HEADERS_DIR to find WebCore at the top level of the staged frameworks directory when USE_STAGING_INSTALL_PATH is set, rather than finding it embedded inside of WebKit.framework. 2011-01-18 Lucas Forschler Merge 105291 2012-01-17 Enrica Casucci Missing NSForegroundColorAttributeName should be treated as black instead of transparent. https://bugs.webkit.org/show_bug.cgi?id=76490 Starting with Lion, there is no more NSForegroundColor attribute in the dictionary if the color matches the default (solid black). The fix consists in treating the lack of color as solid black instead of transparent as we did before. Added a TestWebKitAPI test. Reviewed by Darin Adler and Dan Bernstein. * WebView/WebHTMLView.mm: (-[WebHTMLView _styleForAttributeChange:]): 2011-1-13 Lucas Forschler Merge 104269 2012-01-05 Dan Bernstein Update copyright strings Reviewed by Mark Rowe. * Info.plist: 2011-1-12 Lucas Forschler Merge 94317 2011-09-01 Tim Horton REGRESSION: Rendering artifacts on a rotated, pattern filled shape https://bugs.webkit.org/show_bug.cgi?id=53055 Reviewed by Simon Fraser. Introduce wkCGPatternCreateWithImageAndTransform. * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): 2011-1-11 Lucas Forschler Merge 91777 2011-07-26 Dan Bernstein Add a generic pictograph font family https://bugs.webkit.org/show_bug.cgi?id=65197 Reviewed by Anders Carlsson. * WebView/WebPreferenceKeysPrivate.h: Added WebKitPictographFontPreferenceKey. * WebView/WebPreferences.mm: (+[WebPreferences initialize]): Set the default pictograph font family to "Apple Color Emoji". (-[WebPreferences pictographFontFamily]): Added this getter. (-[WebPreferences setPictographFontFamily:]): Added this setter. * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Pass the preference through to WebCore. 2011-1-5 Lucas Forschler Merge 99439 2011-11-07 Jessie Berlin Need a way to allow a scheme access to Local Storage and Databases while Private Browsing is enabled. https://bugs.webkit.org/show_bug.cgi?id=71631 Reviewed by Jon Honeycutt. Add WebKit1 API to register a scheme as ignoring Private Browsing for Local Storage and Databases. * WebView/WebView.mm: (+[WebView _registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing:]): Call through to the SchemeRegistry function. (+[WebView _registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing:]): Ditto. * WebView/WebViewPrivate.h: 2011-1-5 Lucas Forschler Merge 98970 2011-11-01 Darin Adler Crash in PDF code when script has illegal UTF-8 or UTF-16 sequences https://bugs.webkit.org/show_bug.cgi?id=71289 Reviewed by Dan Bernstein. Just adding a null check. I don't have access to an actual PDF with this problem but crashes from the field indicate they exist. * WebView/WebPDFDocumentExtras.mm: (allScriptsInPDFDocument): Skip the code to add the script text to an array when the script is null. 2011-12-21 Oliver Hunt Merged JavaScriptCore and related changes from r99898-r102985 2011-12-21 Lucas Forschler Merge 93732 2011-08-24 Alexey Proskuryakov Plug-in tests are flaky on Mac https://bugs.webkit.org/show_bug.cgi?id=66822 Reviewed by Anders Carlsson. * Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::evaluateJavaScript): Protect objects that can be removed by a script. * WebView/WebFrame.mm: (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]): Ditto. (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]): Ditto. Also fixed some nonsense code. 2011-12-20 Lucas Forschler Merge 92347 2011-08-03 Kent Tamura Fix incorrect checks for HTMLMediaElement https://bugs.webkit.org/show_bug.cgi?id=65590 Reviewed by Dimitri Glazkov.