diff options
Diffstat (limited to 'WebKit/mac/ChangeLog')
-rw-r--r-- | WebKit/mac/ChangeLog | 396 |
1 files changed, 396 insertions, 0 deletions
diff --git a/WebKit/mac/ChangeLog b/WebKit/mac/ChangeLog index d707720..8f1ea42 100644 --- a/WebKit/mac/ChangeLog +++ b/WebKit/mac/ChangeLog @@ -1,3 +1,399 @@ +2010-10-20 Simon Fraser <simon.fraser@apple.com> + + Reviewed by Dan Bernstein. + + Composited elements drawn twice when WebView is layer-backed + https://bugs.webkit.org/show_bug.cgi?id=48024 + <rdar://problem/7916580> + + When drawing content in a layer-backed WebView, WebFrame's test + for drawing to a bitmap succeeded, causing us to paint flattened + compositing layers into the view. They would also be rendered + by the normal compositing path, resulting in double rendering. + + Fix this by detecting when the WebHTMLView is being drawn into + a layer, and avoiding flattening in that case. + + * WebView/WebFrame.mm: + (-[WebFrame _showFlattenedCompositingLayers:]): + (-[WebFrame _drawRect:contentsOnly:]): + * WebView/WebHTMLView.mm: + (-[WebHTMLView drawLayer:inContext:]): + (-[WebHTMLView _web_isDrawingIntoLayer]): + * WebView/WebHTMLViewInternal.h: + +2010-10-20 Dumitru Daniliuc <dumi@chromium.org> + + Reviewed by David Levin. + + Repost the DatabaseTracker notifications to the main thread, if needed. + https://bugs.webkit.org/show_bug.cgi?id=40655 + + * Storage/WebDatabaseTrackerClient.mm: + (DidModifyOriginData::dispatchToMainThread): + (DidModifyOriginData::DidModifyOriginData): + (DidModifyOriginData::dispatchDidModifyOriginOnMainThread): + (WebDatabaseTrackerClient::dispatchDidModifyOrigin): + (WebDatabaseTrackerClient::dispatchDidModifyDatabase): + +2010-10-20 Simon Fraser <simon.fraser@apple.com> + + Reviewed by Darin Adler. + + REGRESSION(r67568-r67643): Some HTML/CSS renders upside down and backwards on Leopard + https://bugs.webkit.org/show_bug.cgi?id=47369 + + r46947 added code that limits the size of the layer-backed view on Leopard when + the page height exceeds 4096px (later adjusted to 2048px in r48401). + + Later, r67576 altered the geometry flipping behavior to push the geometry flipping + down into WebKit. However, the code that adjusts the hosting layer's sublayer transform + to account for layer-backed view size-limiting was not fixed at the same time. + This change corrects that. + + * WebView/WebHTMLView.mm: + (-[WebHTMLView _updateLayerHostingViewPosition]): + +2010-10-19 Simon Fraser <simon.fraser@apple.com> + + Reviewed by Dan Bernstein. + + <rdar://problem/8508422> Compositing layers aren't always displayed correctly in layer-backed WebViews + + AppKit has some special code to prevent it meddling with view's layers + under layer-backed WebViews. When a layer-backed WebView became composited, + this caused our layer to remain zero-sized. Fix this by manually + setting the geometry for our layer, if the WebHTMLView has a layer. + + This does not seem to be a problem if the WebView becomes layer-backed, or + stops being layer-backed after the WebView starts using compositing. + + * WebView/WebHTMLView.mm: + (-[WebHTMLView attachRootLayer:]): + +2010-10-20 Dirk Schulze <krit@webkit.org> + + Reviewed by Nikolas Zimmermann. + + Merge ColorSpace and ImageColorSpace enums + https://bugs.webkit.org/show_bug.cgi?id=47922 + + Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB + to follow webkit style rules. + + * Misc/WebKitNSStringExtras.mm: + (-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]): + +2010-10-19 Alexey Proskuryakov <ap@apple.com> + + Reviewed by Anders Carlsson. + + https://bugs.webkit.org/show_bug.cgi?id=47933 + <rdar://problem/8494337> navigator.language doesn't work in WebKit2 + + * Misc/WebNSUserDefaultsExtras.mm: Moved code for computing default language to WebCore. + We need to keep _webkit_preferredLanguageCode for Safari. + + * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): + Initialize wkCopyCFLocalizationPreferredName. + + * WebCoreSupport/WebViewFactory.mm: Removed defaultLanguage. WebCore was the only caller. + +2010-10-18 Alexey Proskuryakov <ap@apple.com> + + Reviewed by David Kilzer. + + https://bugs.webkit.org/show_bug.cgi?id=47864 + Convert WebNSUserDefaultsExtras.m to .mm + + Also, fixed some issues in the process: + - removed locking, which was only necessary when this code was in Foundation; + - fixed notification center observer to actually work (previously, it picked up changes + when application preferences changed, not when system language did); + - removed unused NSString category; + - updated style. + + * Misc/WebNSUserDefaultsExtras.m: Removed. + * Misc/WebNSUserDefaultsExtras.mm: Copied from WebKit/mac/Misc/WebNSUserDefaultsExtras.m. + (createHTTPStyleLanguageCode): + (+[NSUserDefaults _webkit_defaultsDidChange]): + (addLanguageChangeObserver): + (+[NSUserDefaults _webkit_preferredLanguageCode]): + +2010-10-18 Stuart Morgan <stuartmorgan@chromium.org> + + Reviewed by Eric Seidel. + + Switch to using the new Carbon NPAPI event declarations, and remove + the old ones. + + https://bugs.webkit.org/show_bug.cgi?id=40784 + + * Plugins/WebNetscapePluginEventHandlerCarbon.mm: + (WebNetscapePluginEventHandlerCarbon::mouseEntered): + (WebNetscapePluginEventHandlerCarbon::mouseExited): + (WebNetscapePluginEventHandlerCarbon::mouseMoved): + (WebNetscapePluginEventHandlerCarbon::focusChanged): + +2010-10-18 Pavel Podivilov <podivilov@chromium.org> + + Reviewed by Timothy Hatcher. + + Web Inspector: disable private browsing for inspector + https://bugs.webkit.org/show_bug.cgi?id=47827 + + * WebCoreSupport/WebInspectorClient.mm: + (-[WebInspectorWindowController init]): + +2010-10-14 Ilya Tikhonovsky <loislo@chromium.org> + + Reviewed by Pavel Feldman. + + Web Inspector: inspector settings/properties/states management + should be extracted into separate class. + + We have a lot of flags/values in InspectorController. + Some flags are persisting into profile. + Others are part of inspector state for frontend. + All these flags should keep their values after navigation. + It'd be better to extract these flags/values into separate + class which will care about theirs lifetime. + + https://bugs.webkit.org/show_bug.cgi?id=47275 + + * WebCoreSupport/WebInspectorClient.mm: + (-[WebInspectorWindowController showWindow:]): + (-[WebInspectorWindowController attach]): + (-[WebInspectorWindowController detach]): + +2010-10-13 Gavin Barraclough <barraclough@apple.com> + + Reviewed by Oliver Hunt. + + https://bugs.webkit.org/show_bug.cgi?id=43987 + Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder + to construct their internal result string. Remove ScriptString (this is now + redundant). + + * WebCoreSupport/WebFrameLoaderClient.mm: + +2010-10-12 Andy Estes <aestes@apple.com> + + Rubber-stamped by Darin Adler. + + Check in some cleanup from the previous commit. + + * WebView/WebView.mm: + (leakMailQuirksUserScriptPath): Renamed to indicate that this function + leaks an NSString. + (-[WebView _injectMailQuirksScript]): Moved a static initialization from + a separate class method into the only method that used it and removed + the now-unnecessary class method. + +2010-10-12 Eric Seidel <eric@webkit.org> + + Reviewed by Darin Adler. + + REGRESSION (new parser): Leopard/Tiger Mail <head>/<body> quirk is gone + https://bugs.webkit.org/show_bug.cgi?id=45693 + + Re-implement this former WebCore parser quirk as a + Mac-only userscript-based quirk. As far as I can tell + from Darin's description this should satisfy Mail's needs. + + * Misc/MailQuirksUserScript.js: Added. + * WebView/WebView.mm: + (+[WebView _mailQuirksUserScript]): + (-[WebView _injectMailQuirksScript]): + (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]): + +2010-10-12 Simon Fraser <simon.fraser@apple.com> + + Reviewed by Sam Weinig. + + Add 'didDraw' callback for framerate tracking + https://bugs.webkit.org/show_bug.cgi?id=47478 + + Add a callback at the end of -[WebHTMLView drawRect:] so + a delegate can get notified when a draw happens. + + * WebView/WebHTMLView.mm: + (-[WebHTMLView drawRect:]): + * WebView/WebUIDelegatePrivate.h: + +2010-10-11 Anders Carlsson <andersca@apple.com> + + Reviewed by Darin Adler. + + Remove WebIconFetcher from WebKit and IconFetcher from WebCore + https://bugs.webkit.org/show_bug.cgi?id=47523 + + Remove all traces of the WebKit WebIconFetcher class. It's SPI that nobody uses. + + * Misc/WebIconFetcher.h: Removed. + * Misc/WebIconFetcher.mm: Removed. + * Misc/WebIconFetcherInternal.h: Removed. + * WebView/WebFrame.mm: + * WebView/WebFramePrivate.h: + +2010-10-11 Jessie Berlin <jberlin@apple.com> + + Reviewed by Darin Adler. + + Add Private API for creating a WebKit2 WebSerializedScriptValue from the internal + representation of a WebKit1 WebSerializedJSValue. + https://bugs.webkit.org/show_bug.cgi?id=47439 + + * WebView/WebSerializedJSValue.mm: + (-[WebSerializedJSValue internalRepresentation]): + * WebView/WebSerializedJSValuePrivate.h: + +2010-10-07 Jessie Berlin <jberlin@apple.com> + + Reviewed by Sam Weinig. + + Add Private API for creating a WebKit1 WebSerializedJSValue from the internal + representation of a WebKit2 WebSerializedScriptValue. + https://bugs.webkit.org/show_bug.cgi?id=47390 + + * WebView/WebSerializedJSValue.mm: + (-[WebSerializedJSValue initWithInternalRepresentation:]): + Set the WebSerializedJSValuePrivate's WebCore::SerializedScriptValue to be the passed in + internal representation. + * WebView/WebSerializedJSValuePrivate.h: Added. + +2010-10-07 Antonio Gomes <agomes@rim.com> + + Reviewed by Simon Fraser. + + [Mac] [DRT] implement setSpatialNavigationEnabled + https://bugs.webkit.org/show_bug.cgi?id=47291 + + Added the needed bits to make it possible to enabled spatial navigation + for the Mac port. For now it is being only used by DRT. + + * WebView/WebPreferenceKeysPrivate.h: + * WebView/WebPreferences.mm: + (+[WebPreferences initialize]): + (-[WebPreferences isSpatialNavigationEnabled]): + (-[WebPreferences setSpatialNavigationEnabled:]): + * WebView/WebPreferencesPrivate.h: + * WebView/WebView.mm: + (-[WebView _preferencesChangedNotification:]): + +2010-10-07 Jer Noble <jer.noble@apple.com> + + Fix the Leopard 64-bit build. + + * Configurations/WebKit.xcconfig: Add CoreServices.framework/Frameworks to the + framework search path. + * WebView/WebVideoFullscreenController.mm: Explicitly import <OSStatus/Power.h>. + +2010-10-06 Jer Noble <jer.noble@apple.com> + + Reviewed by Darin Adler. + + Screensaver starts while watching fullscreen playback. + https://bugs.webkit.org/show_bug.cgi?id=47299 + <rdar://problem/8478956> + + To disable the Screen Saver, we need to periodically call UpdateSystemActivity(). + + * WebView/WebVideoFullscreenController.h: Added _tickleTimer. + * WebView/WebVideoFullscreenController.mm: + (-[WebVideoFullscreenController dealloc]): Invalidate _tickleTimer. + (-[WebVideoFullscreenController _enableTickleTimer]): Create _tickleTimer. + (-[WebVideoFullscreenController _disableTickleTimer]): Invalidate _tickleTimer. + (-[WebVideoFullscreenController _tickleTimerFired]): Call UpdateSystemActivity(). + (-[WebVideoFullscreenController updatePowerAssertions]): Call _enableTickleTimer + or _disableTickleTimer. + +2010-10-05 Philippe Normand <pnormand@igalia.com> + + Reviewed by Martin Robinson. + + check for ENABLE(GLIB_SUPPORT) in WebView + https://bugs.webkit.org/show_bug.cgi?id=46788 + + Use ENABLE(GLIB_SUPPORT) in WebView to guard the glib runloop observer. + + * WebView/WebView.mm: + (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]): + (-[WebView _close]): + * WebView/WebViewData.h: + * WebView/WebViewInternal.h: + +2010-10-01 Anders Carlsson <andersca@apple.com> + + Fix Snow Leopard build. + + * Plugins/Hosted/NetscapePluginInstanceProxy.mm: + (WebKit::NetscapePluginInstanceProxy::getProxy): + +2010-10-01 Anders Carlsson <andersca@apple.com> + + Reviewed by Dan Bernstein. + + Add proxy server query function proxyServersForURL and change the Mac plug-in code to use it + https://bugs.webkit.org/show_bug.cgi?id=47022 + <rdar://problem/8504712> + + * Plugins/Hosted/NetscapePluginInstanceProxy.mm: + (WebKit::NetscapePluginInstanceProxy::getProxy): + * Plugins/WebBaseNetscapePluginView.h: + * Plugins/WebBaseNetscapePluginView.mm: + * Plugins/WebNetscapePluginView.mm: + (-[WebNetscapePluginView getVariable:forURL:value:length:]): + +2010-09-30 Darin Adler <darin@apple.com> + + Reviewed by Sam Weinig. + + Remove remaining calls to deprecatedParseURL + https://bugs.webkit.org/show_bug.cgi?id=26599 + + * DOM/WebDOMOperations.mm: + (-[DOMDocument URLWithAttributeString:]): + * WebCoreSupport/WebFrameLoaderClient.mm: + (WebFrameLoaderClient::createPlugin): + Call stripLeadingAndTrailingHTMLSpaces instead of deprecatedParseURL. + +2010-09-30 Anders Carlsson <andersca@apple.com> + + Reviewed by Darin Adler. + + -[DOMDocument _documentRange] throws an exception if there is no document element + https://bugs.webkit.org/show_bug.cgi?id=46934 + <rdar://problem/8169260> + + If there is no document element, just return an empty range. Otherwise we'll try to call + Range::selectNode with a null Node which will throw a NOT_FOUND exception. + + * DOM/WebDOMOperations.mm: + (-[DOMDocument _documentRange]): + +2010-09-30 Chris Marrin <cmarrin@apple.com> + + Reviewed by Simon Fraser. + + Make 2D accelerated canvas rendering build on Mac + https://bugs.webkit.org/show_bug.cgi?id=46007 + + Added ACCELERATED_2D_CANVAS to FeatureDefines + + * Configurations/FeatureDefines.xcconfig: + +2010-09-30 Dan Bernstein <mitz@apple.com> + + Reviewed by John Sullivan. + + Add printing SPI allowing full control over shrink-to-fit + https://bugs.webkit.org/show_bug.cgi?id=46877 + + * WebView/WebHTMLView.mm: + (-[WebHTMLView _beginPrintModeWithMinimumPageWidth:height:maximumPageWidth:]): Added. + * WebView/WebHTMLViewPrivate.h: + 2010-09-28 Johnny Ding <jnd@chromium.org> Reviewed by Adam Barth. |