2011-01-17 Adam Roben Update for WKCACFLayerRenderer changes Fixes WKCACFLayerRenderer is hard to use Reviewed by Chris Marrin. * WebView.cpp: (WebView::WebViewWndProc): Removed call to layerRendererBecameVisible when handling WM_SHOWWINDOW. All this did was try to create the renderer, but it had already been created in setAcceleratedCompositing, so wasn't needed. (WebView::setAcceleratedCompositing): Removed call to createRenderer; setHostWindow does this for us now. * WebView.h: Removed animationsStarted and layerRendererBecameVisible. 2011-01-17 Adam Roben Paint directly into a GraphicsLayer when using accelerated compositing Before this patch, we were painting into our normal backing store HBITMAP, wrapping it in a CGImage, and handing it off to Core Animation. This had at least two disadvantages: 1) The bitmap could be modified while Core Animation was using it. 2) It introduced extra complexity. When entering accelerated compositing mode, WebView now creates a GraphicsLayer to draw into. This GraphicsLayer sits between the root layer (owned by WKCACFLayerRenderer) and the RenderView's layer. When WebView invalidates, it just calls setNeedsDisplayInRect on its GraphicsLayer. When WebView paints, it just tells its WKCACFLayerRenderer to paint, which will call back to WebView to draw into the GraphicsLayer if it has a dirty region. This is very similar to the current implementation of LayerBackedDrawingArea in WebKit2. Fixes WebView should paint directly into a GraphicsLayer when in accelerated compositing mode Reviewed by Simon Fraser and Chris Marrin. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::attachRootGraphicsLayer): (WebChromeClient::scheduleCompositingLayerSync): Updated for WebView changes. * WebView.cpp: (WebView::repaint): When using accelerated compositing, just invalidate our backing layer. This matches the behavior of LayerBackedDrawingArea. (WebView::deleteBackingStore): Removed accelerated compositing code. The WKCACFLayerRenderer doesn't need to know about our backing store anymore; we don't use it at all when in accelerated compositing mode. (WebView::addToDirtyRegion): When using accelerated compositing, just invalidate our backing layer. (WebView::scrollBackingStore): Added an assertion that this isn't called in accelerated compositing mode. (WebView::sizeChanged): Update our backing layer's size, too, and invalidate it. (WebView::updateBackingStore): Added an assertion that this isn't called in accelerated compositing mode. (WebView::paint): If we're in accelerated compositing mode, sync our compositing state. If we're *still* in accelerated compositing mode, just tell our WKCACFLayerRenderer to paint and clear our dirty region. (The later changes in this function are just un-indenting code that used to be inside an if.) (WebView::paintIntoBackingStore): (WebView::paintIntoWindow): Added assertions that these aren't called in accelerated compositing mode. (WebView::WebViewWndProc): Updated WM_XP_THEMECHANGED handling for removal of setRootLayerNeedsDisplay. (WebView::setRootChildLayer): Changed to take a GraphicsLayer. We now set the layer as a child of our own backing layer. (WebView::scheduleCompositingLayerSync): Just call through to WKCACFLayerRenderer. (WebView::setAcceleratedCompositing): Create our backing layer and set it as the child of WKCACFLayerRenderer's root layer. (WebView::notifyAnimationStarted): Added. We never expect this GraphicsLayerClient override to be called, as we don't use animations on our backing layer. (WebView::notifySyncRequired): Added. Just schedule a sync. (WebView::paintContents): Added. Just clip and paint! (WebView::showDebugBorders): (WebView::showRepaintCounter): Added. These just call through to Settings. (WebView::syncCompositingState): Changed to first update layout, then sync state for our backing layer, then sync WebCore's state. This matches LayerBackedDrawingArea. * WebView.h: WebView now implements the GraphicsLayerClient interface. Removed setRootLayerNeedsDisplay; it's been replaced by calling setNeedsDisplay on our backing layer and calling syncCompositingStateSoon on WKCACFLayerRenderer as needed. Removed updateRootLayerContents; that function was used to pass our backing store to Core Animation, which we no longer do. Added m_backingLayer. 2011-01-17 Tony Gentilcore Reviewed by Alexey Proskuryakov. Fix some headers with missing or misspelled #ifndef guards https://bugs.webkit.org/show_bug.cgi?id=52545 * WebKitStatistics.h: 2011-01-17 Pavel Feldman Reviewed by Yury Semikhatsky. Web Inspector: simplify debugger enabling routine. https://bugs.webkit.org/show_bug.cgi?id=52472 * WebInspector.cpp: (WebInspector::toggleDebuggingJavaScript): 2011-01-16 Adam Barth Rubber-stamped by Eric Seidel. Move WebKit into Source https://bugs.webkit.org/show_bug.cgi?id=52530 * WebKit.vcproj/Interfaces.vcproj: * WebKit.vcproj/WebKit.sln: * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKitGUID.vcproj: 2011-01-15 Adam Barth Rubber-stamped by Eric Seidel. Move WebKit2 into Source https://bugs.webkit.org/show_bug.cgi?id=52438 Update reference to WebKit2. * WebKit.vcproj/WebKit.sln: 2011-01-14 Yuzo Fujishima Reviewed by Antti Koivisto. Rename cache() to memoryCache() https://bugs.webkit.org/show_bug.cgi?id=52433 * WebCache.cpp: (WebCache::statistics): (WebCache::empty): (WebCache::setDisabled): (WebCache::disabled): * WebView.cpp: (WebView::setCacheModel): 2011-01-10 Geoffrey Garen Try to fix Windows build. * WebJavaScriptCollector.cpp: Updated for rename to Heap.*. (Didn't catch this one before because it was miscapitalized.) 2011-01-09 Xianzhu Wang Reviewed by Darin Fisher. https://bugs.webkit.org/show_bug.cgi?id=41441 createWindow method should only do window-creating without URL navigation * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::createWindow): 2011-01-07 Adam Barth Rubber-stamped by Eric Seidel. Move WebCore to Source https://bugs.webkit.org/show_bug.cgi?id=52050 * WebKit.vcproj/WebKit.sln: 2011-01-06 Gavin Barraclough Reviewed by Geoff Garen. Bug 52035 - Unregistering DOMWrapperWorlds is unsafe The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's destructor early, in order to release wrappers once we know we no longer intend to use them. Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to lose any state stored on them) it is not okay to deregister the world from the JSGlobalData. A sequence of events that triggers the bug would look like this: (1) Create a DOMWrapperWorld. (2) Register a timer in the world. (3) Call unregisterWorld() on the world. (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document. (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've called forgetWorld() none exists. (6) Attempt to add a wrapper to a NULL map. Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away. * WebScriptWorld.cpp: (WebScriptWorld::unregisterWorld): 2011-01-07 Chris Marrin Rubber-stamped by Simon Fraser. Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations https://bugs.webkit.org/show_bug.cgi?id=49388 Change client API for the fullscreen video controller. It now uses a PlatformCALayerClient so it can use a PlaformCALayer directly. Also updated how to connect the layer tree to the view to reflect the updated hardware compositing logic. * FullscreenVideoController.cpp: (FullscreenVideoController::LayerClient::LayerClient): (FullscreenVideoController::LayerClient::platformCALayerRespondsToLayoutChanges): (FullscreenVideoController::LayerClient::platformCALayerAnimationStarted): (FullscreenVideoController::LayerClient::platformCALayerContentsOrientation): (FullscreenVideoController::LayerClient::platformCALayerPaintContents): (FullscreenVideoController::LayerClient::platformCALayerShowDebugBorders): (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter): (FullscreenVideoController::LayerClient::platformCALayerIncrementRepaintCount): (FullscreenVideoController::LayerClient::platformCALayerContentsOpaque): (FullscreenVideoController::LayerClient::platformCALayerDrawsContent): (FullscreenVideoController::LayerClient::platformCALayerLayerDidDisplay): (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer): (FullscreenVideoController::FullscreenVideoController): (FullscreenVideoController::~FullscreenVideoController): (FullscreenVideoController::enterFullscreen): * FullscreenVideoController.h: * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::attachRootGraphicsLayer): (WebChromeClient::scheduleCompositingLayerSync): * WebView.cpp: (WebView::setRootChildLayer): (WebView::animationsStarted): (WebView::syncCompositingState): * WebView.h: (WebView::setRootLayerNeedsDisplay): 2011-01-05 Steve Falkenburg Reviewed by Darin Adler. Debug and Release builds on Windows clobber each other https://bugs.webkit.org/show_bug.cgi?id=49185 Changes the structure of WebKitBuild build products directory so we completely separate each build configuration into independent directories. Although we previously had per-configuration directories for obj, this change adds per-configuration directories for bin, lib, obj, and include. Each configuration's build products are stored within a directory inside of WebKitBuild. Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir), defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName). * WebKit.vcproj/InterfacesCommon.vsprops: * WebKit.vcproj/InterfacesPostBuild.cmd: * WebKit.vcproj/InterfacesPreBuild.cmd: * WebKit.vcproj/WebKit.make: * WebKit.vcproj/WebKitGUID.vcproj: * WebKit.vcproj/WebKitGUIDCommon.vsprops: * WebKit.vcproj/WebKitGUIDPostBuild.cmd: * WebKit.vcproj/WebKitGUIDPreBuild.cmd: * WebKit.vcproj/WebKitLibCommon.vsprops: * WebKit.vcproj/WebKitLibPostBuild.cmd: * WebKit.vcproj/WebKitLibPreBuild.cmd: 2011-01-04 Chris Fleizach Reviewed by Sam Weinig. WK2: Support Accessibility https://bugs.webkit.org/show_bug.cgi?id=51859 Use rootObject() method to get the top of the AX tree. * AccessibleDocument.cpp: (AccessibleDocument::AccessibleDocument): 2011-01-01 Adam Barth Reviewed by Eric Seidel. Move JavaScriptCore to Source https://bugs.webkit.org/show_bug.cgi?id=51604 * WebKit.vcproj/WebKit.sln: - Point to JavaScriptCore in its new location. 2010-12-22 Sam Weinig Reviewed by Darin Adler. WebKit2 needs to mirror the frame tree in the UIProcess https://bugs.webkit.org/show_bug.cgi?id=51546 - Add client functions to notify that a frame has been added or removed from the page cache. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::didSaveToPageCache): (WebFrameLoaderClient::didRestoreFromPageCache): * WebCoreSupport/WebFrameLoaderClient.h: 2010-12-22 Dan Bernstein Changed WebKitTools to Tools. * WebKit.vcproj/WebKit.sln: 2010-12-14 Adam Roben Always record the last-set cursor, even when the UI delegate is setting the cursor for us Prior to r63339, the last-set cursor was recorded in Widget::setCursor. r63339 moved that code up to WebChromeClient, but failed to call it when the UI delegate was the one setting the cursor. Fixes REGRESSION (r63339): Mouse cursor disappears when holding mouse button down on page Reviewed by Ada Chan. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::setCursor): After the cursor is set, regardless of whether the UI delegate sets it or we set it, record the cursor that was just set. That way we'll be able to use the cursor later when responding to the WM_SETCURSOR message. 2010-12-13 Alexey Proskuryakov Reviewed by Adam Barth. https://bugs.webkit.org/show_bug.cgi?id=50953 DNS Prefetch should be an opt-in feature * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default to NO. 2010-10-28 MORITA Hajime Reviewed by Ojan Vafai. spellcheck does not check pasted text https://bugs.webkit.org/show_bug.cgi?id=40092 Added a stub implememntation. * WebCoreSupport/WebEditorClient.h: (WebEditorClient::requestCheckingOfString): 2010-12-10 Chris Fleizach Reviewed by Darin Adler. AX: refactor AccessibilityRenderObject::doAccessibilityHitTest https://bugs.webkit.org/show_bug.cgi?id=50574 * AccessibleBase.cpp: (AccessibleBase::accHitTest): 2010-12-09 Brian Weinstein Reviewed by Adam Roben. Prep for WebKit2: Context menu support on Windows https://bugs.webkit.org/show_bug.cgi?id=50514 Update WebKit for the new CROSS_PLATFORM_CONTEXT_MENUS flag, and define customizeMenu instead of getCustomMenuFromDefaultItems. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::customizeMenu): getCustomMenuFromDefaultItems was turned into this function, with refactoring using nativeMenu instead of platformDescription. (WebContextMenuClient::contextMenuItemSelected): Use nativeMenu instead of platformDescription. * WebCoreSupport/WebContextMenuClient.h: * WebView.cpp: (WebView::handleContextMenuEvent): Call nativeMenu instead of platformDescription. (WebView::performContextMenuAction): Only call itemAtIndex with one argument, no need for the second. 2010-12-07 Brian Weinstein Reviewed by John Sullivan. Layering Violation in ContextMenu - member variable of type HitTestResult https://bugs.webkit.org/show_bug.cgi?id=50586 Update users of ContextMenu and ContextMenuController to match where the new functions are located. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::getCustomMenuFromDefaultItems): Get the HitTestResult and ContextMenu from the ContextMenuController (from the page). (WebContextMenuClient::contextMenuItemSelected): Get the HitTestResult from the ContextMenuController. * WebView.cpp: (WebView::handleContextMenuEvent): Ditto. 2010-12-07 Jessie Berlin Build fix. Unreviewed. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::searchWithGoogle): FrameLoader::urlSelected does not take a SecurityOrigin as a parameter. 2010-12-06 Darin Adler Reviewed by Sam Weinig. Pass security origin to make local file decision correctly https://bugs.webkit.org/show_bug.cgi?id=48603 * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::searchWithGoogle): Pass security origin. 2010-12-07 Kenichi Ishibashi Reviewed by Kent Tamura. Let HTMLObjectElement be a form associated element https://bugs.webkit.org/show_bug.cgi?id=48821 Modified to use FormAssociatedElement instead of HTMLFormControlElement. * WebFrame.cpp: (WebFrame::elementWithName): Modified to use FormAssociatedElement instead of HTMLFormControlElement. (WebFrame::controlsInForm): Ditto. 2010-12-05 Adam Roben Windows production build fix Put spaces after trailing backslashes when setting %WebKitVSPropsRedirectionDir%. According to MSDN : A backslash ( \ ) followed by a newline character is interpreted as a space in the command; use a backslash at the end of a line to continue a command onto the next line. NMAKE interprets the backslash literally if any other character, including a space or tab, follows the backslash. * WebKit.vcproj/WebKit.make: 2010-12-03 Sam Weinig Reviewed by Maciej Stachowiak. Enable for Mac/Windows/WebKit2 builds https://bugs.webkit.org/show_bug.cgi?id=50488 * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Enable "HyperlinkAuditing" by default. 2010-12-03 Brian Weinstein Reviewed by Brady Eidson. WebContextMenuClient::fixMenuReceivedFromOldSafari is no longer needed on Windows https://bugs.webkit.org/show_bug.cgi?id=50486 Remove the static fixMenuReceivedFromOldSafari and isPreInspectElementTagSafari methods from WebContextMenuClient. There were there for when WebKit had the Inspect Element context menu item, but Safari didn't support it. We don't support that old Safari, so that code can go. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::getCustomMenuFromDefaultItems): 2010-12-02 John Knottenbelt Reviewed by Steve Block. Move requestGeolocationPermissionForFrame to GeolocationClient https://bugs.webkit.org/show_bug.cgi?id=50061 This change facilitates client-based geolocation implementation by bringing together permission control into the geolocation client interface. Move method ChromeClient::requestGeolocationPermissionForFrame to GeolocationClient::requestPermission. The moved code is unchanged except that requestPermission now takes only one argument (Geolocation*), the Frame parameter is retrieved from the Geolocation object and we need to call m_webView.get() as it is a COMPtr in GeolocationClient. * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebGeolocationClient.cpp: (WebGeolocationClient::requestPermission): * WebCoreSupport/WebGeolocationClient.h: (WebGeolocationClient::cancelPermissionRequest): 2010-12-01 Jia Pu Reviewed by Darin Adler. Support multiple correction candidates panel for misspelled word on Mac OS X. https://bugs.webkit.org/show_bug.cgi?id=50137 Adopted new function signature defined in base class. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::getGuessesForWord): * WebCoreSupport/WebEditorClient.h: 2010-12-01 Steve Falkenburg Reviewed by Adam Roben. WinCairo build should not use link-time code generation (LTCG) https://bugs.webkit.org/show_bug.cgi?id=50353 * WebKit.vcproj/Interfaces.vcproj: * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKitGUID.vcproj: 2010-12-01 Steve Falkenburg Reviewed by Adam Roben. vcproj changes can't be applied cleanly by the Windows EWS bot https://bugs.webkit.org/show_bug.cgi?id=50328 * WebKit.vcproj/Interfaces.vcproj: Modified property svn:eol-style. * WebKit.vcproj/InterfacesCommon.vsprops: Added property svn:eol-style. * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style. * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style. * WebKit.vcproj/WebKit.vcproj: Modified property svn:eol-style. * WebKit.vcproj/WebKitGUID.vcproj: Modified property svn:eol-style. * WebKit.vcproj/WebKitGUIDCommon.vsprops: Added property svn:eol-style. * WebKit.vcproj/WebKitLibCommon.vsprops: Added property svn:eol-style. 2010-11-30 Steve Falkenburg Reviewed by Adam Roben. All projects on Windows should use cmd files for build events https://bugs.webkit.org/show_bug.cgi?id=50213 * WebKit.vcproj/InterfacesCommon.vsprops: * WebKit.vcproj/InterfacesPostBuild.cmd: Added. * WebKit.vcproj/InterfacesPreBuild.cmd: Added. * WebKit.vcproj/WebKitGUIDCommon.vsprops: * WebKit.vcproj/WebKitGUIDPostBuild.cmd: Added. * WebKit.vcproj/WebKitGUIDPreBuild.cmd: Added. * WebKit.vcproj/WebKitLibCommon.vsprops: * WebKit.vcproj/WebKitLibPostBuild.cmd: Added. * WebKit.vcproj/WebKitLibPreBuild.cmd: Added. 2010-11-29 Brent Fulgham Unreviewed build correction. * WebKit.vcproj/WebKit.vcproj: Update WebKit project to use WinCairo.vsprops definition for appropriate build targets. 2010-11-22 Adam Roben Use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops files Apple's Windows build allows placing header files and import libraries for WebKit's dependencies (CoreGraphics, CFNetwork, SQLite, etc.) outside the source tree via the $WebKitLibrariesDir environment variable. This is both required for production builds and convenient for Apple-internal developer builds. Apple's production builds also require that WebKit's shared .vsprops files be accessed relative to $WebKitLibrariesDir. In production builds, the files are copied into that directory tree by the WebKitLibraries/win/tools/WinTools.make file. In Apple-internal developer builds, the copying is done by JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make. This .vsprops copying is problematic in one very important case: when a developer updates their source tree and then tries to build. Visual Studio only reads .vsprops files when a project is first loaded. So, when Visual Studio is first opened after the .vsprops files are updated, it reads in the old files that were already residing in $WebKitLibrariesDir. When a build is started, JavaScriptCoreGenerated.make copies the new .vsprops files into $WebKitLibrariesDir, but Visual Studio will not pick up the changes. The rest of the build will proceed with out-of-date .vsprops files, which will likely result in a build failure. To fix this, we now use normal relative paths to access the .vsprops files in the source tree rather than in $WebKitLibrariesDir, but prefix those paths with a new environment variable, $WebKitVSPropsRedirectionDir. In developer builds, this environment variable is unset, so the normal relative paths are used to read the .vsprops files out of the source tree directly. In production builds, this environment variable is set to a fake directory that will cause the .vsprops files in $WebKitLibrariesDir to be found when the relative path is resolved. For example, JavaScriptCore.vcproj uses this path for FeatureDefines.vsprops: $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops In developer builds, where $WebKitVSPropsRedirectionDir is unset, this will point to the files in WebKitLibraries\win\tools\vsprops in the source tree. In production builds, JavaScriptCore.make sets $WebKitVSPropsRedirectionDir to "$(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\", so the full path for FeatureDefines.vsprops becomes: $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops which resolves to: $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops (We rely on the fact that Windows doesn't care whether the directories "1", "2", and "3" actually exist since they are matched by an equal number of ".." path components.) Note that Visual Studio still won't pick up changes made to .vsprops files while Visual Studio is open, but that problem hasn't seemed to cause developers many headaches so far. Fixes Windows build fails mysteriously when .vsprops files are updated Reviewed by Dave Hyatt. * WebKit.vcproj/WebKit.make: Set $WebKitVSPropsRedirectionDir so that production builds can find the .vsprops files. * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/Interfaces.vcproj: * WebKit.vcproj/WebKitGUID.vcproj: Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops files. 2010-11-19 Steve Falkenburg Reviewed by Adam Roben. Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files https://bugs.webkit.org/show_bug.cgi?id=49819 * WebKit.vcproj/Interfaces.vcproj: * WebKit.vcproj/WebKit.sln: * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKitGUID.vcproj: 2010-11-19 Steve Falkenburg Reviewed by Darin Adler. Normalize Cairo/CFLite project/solution configuration names https://bugs.webkit.org/show_bug.cgi?id=49818 * WebKit.vcproj/WebKit.sln: * WebKit.vcproj/WebKit.vcproj: 2010-11-18 Steve Falkenburg Reviewed by Adam Roben. Windows vcproj configuration names should be normalized across projects https://bugs.webkit.org/show_bug.cgi?id=49776 * WebKit.vcproj/Interfaces.vcproj: * WebKit.vcproj/WebKit.sln: 2010-11-18 Steve Falkenburg Reviewed by Adam Roben. Remove leftover Windows Debug_Internal configurations https://bugs.webkit.org/show_bug.cgi?id=49758 * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKitGUID.vcproj: 2010-11-18 Steve Falkenburg Reviewed by Adam Roben. Debug_Internal Windows configuration is unnecessary, should be removed https://bugs.webkit.org/show_bug.cgi?id=49753 * WebKitPrefix.h: 2010-11-17 Steve Falkenburg Reviewed by Adam Roben. WebKit Interfaces project should use vsprops file for common build settings https://bugs.webkit.org/show_bug.cgi?id=49713 * WebKit.vcproj/Interfaces.vcproj: * WebKit.vcproj/InterfacesCommon.vsprops: Added. 2010-11-16 Steve Falkenburg Reviewed by Adam Roben. Disable LTCG for Windows Release builds. Add new Release_LTCG configuration. https://bugs.webkit.org/show_bug.cgi?id=49632 * WebKit.vcproj/Interfaces.vcproj: * WebKit.vcproj/WebKit.make: * WebKit.vcproj/WebKit.sln: * WebKit.vcproj/WebKit.submit.sln: * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKitGUID.vcproj: 2010-11-16 Dave Hyatt Reviewed by Dan Bernstein. https://bugs.webkit.org/show_bug.cgi?id=11004 font-size:0 is ignored. Remove the minimum font size of 1 in CSSStyleSelector. Change the pref value for minimum font size from 1 to 0. Make sure to never use the NSFont's size, since it doesn't honor a size of 0. Instead pass the size in to the FontPlatformData(NSFont*) version of the constructor rather than using [NSFont pointSize]. https://bugs.webkit.org/show_bug.cgi?id=49582 Negative leading is not handled correctly. There are two bugs here. The first is that maxAscent and maxDescent can be negative, so we need a notion of whether or not we have set them before so that we can allow them to be < 0. The second issue is that we should understand where fonts will end up relative to our baseline (excluding line height), and only allow those boxes to impact ascent and descent if the actual font box (without factoring in line height) is above or below the root line box baseline. Added fast/css/negative-leading.html These two bug fixes have to land together to keep the Acid 3 test rendering correctly. * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): 2010-11-16 Steve Falkenburg Reviewed by Adam Roben. Use vsprops files for common settings in Windows WebKit https://bugs.webkit.org/show_bug.cgi?id=49622 * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKitCommon.vsprops: Added. 2010-11-16 Steve Falkenburg Rubber stamped by Adam Roben. Remove unnecessary def file, remove outdated def files from vcproj. * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKit_debug.def: Removed. 2010-11-12 John Knottenbelt Reviewed by Steve Block. Rename GeolocationControllerClient to GeolocationClient. https://bugs.webkit.org/show_bug.cgi?id=49259 * WebCoreSupport/WebGeolocationClient.cpp: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.cpp. (WebGeolocationClient::WebGeolocationClient): (WebGeolocationClient::geolocationDestroyed): (WebGeolocationClient::startUpdating): (WebGeolocationClient::stopUpdating): (WebGeolocationClient::lastPosition): * WebCoreSupport/WebGeolocationClient.h: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.h. (WebGeolocationClient::setEnableHighAccuracy): * WebKit.vcproj/WebKit.vcproj: * WebView.cpp: (WebView::initWithFrame): 2010-11-10 Csaba Osztrogonác Reviewed by David Hyatt. HTML5 Ruby support should be mandatory feature https://bugs.webkit.org/show_bug.cgi?id=49272 * WebKitPrefix.h: Touch it to avoid incremental build failure on Windows. 2010-11-08 Alexey Proskuryakov Windows build fix. * WebCoreSupport/WebChromeClient.h: Added namespace prefix. 2010-11-08 Alexey Proskuryakov Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=48685 Notify UI process about focused frame Added an empty implementation of the new ChromeClient method. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::focusedFrameChanged): * WebCoreSupport/WebChromeClient.h: 2010-11-07 Adam Barth Reviewed by Eric Seidel. Rename Cache to MemoryCache https://bugs.webkit.org/show_bug.cgi?id=49159 * WebCache.cpp: (WebCache::statistics): * WebFrame.cpp: * WebView.cpp: 2010-11-05 Chris Marrin Reviewed by Simon Fraser. Move resumeAnimations/suspendAnimations from Frame to AnimationController. https://bugs.webkit.org/show_bug.cgi?id=49073 * WebFrame.cpp: (WebFrame::suspendAnimations): (WebFrame::resumeAnimations): 2010-11-05 Brian Weinstein Reviewed by Anders Carlsson. Assertion failure in PluginStream::~PluginStream when running userscripts/user-script-plugin-document.html https://bugs.webkit.org/show_bug.cgi?id=48751 Always call committedLoad in WebFrameLoaderClient::finishedLoading, even if we have a manual loader. We were running into a case where we were trying to load an empty plugin document, which uses a manual loader, and PluginStream::didFinishLoading was never being called. The stream was never being stopped, making us fire an assert in the PluginStream destructor. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::finishedLoading): 2010-11-05 Chris Marrin Reviewed by Simon Fraser. Make suspendAnimations/resumeAnimations and setCSSAnimations traverse through subframes and remember state https://bugs.webkit.org/show_bug.cgi?id=46945 * WebFrame.cpp: (WebFrame::suspendAnimations): (WebFrame::resumeAnimations): 2010-11-05 Patrick Gansterer Reviewed by David Kilzer. Replace ARRAYSIZE with WTF_ARRAY_LENGTH https://bugs.webkit.org/show_bug.cgi?id=48903 * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::exceededDatabaseQuota): * WebKitDLL.cpp: (DllGetClassObject): * WebView.cpp: (WebView::mouseWheel): 2010-11-02 Daniel Bates Reviewed by Adam Barth. For unnamed frames, window.name returns a generated name https://bugs.webkit.org/show_bug.cgi?id=6751 Part 1 of 2. Substitute FrameTree::uniqueName() for FrameTree::name() in the Apple Windows port. * WebFrame.cpp: (WebFrame::name): 2010-11-02 Brady Eidson Reviewed by Anders Carlsson. and https://bugs.webkit.org/show_bug.cgi?id=48868 Implement IMutableWebRequest::setTimeoutInterval * WebMutableURLRequest.cpp: (WebMutableURLRequest::setTimeoutInterval): 2010-11-02 Daniel Bates Reviewed by Martin Robinson. Set frame name before appending it to the frame tree in the Apple Windows, GTK, and EFL ports https://bugs.webkit.org/show_bug.cgi?id=48806 Make the frame creation process in the Apple Windows-port consistent with the Mac, Qt, and Haiku ports. In particular, set the name of the new frame before it's appended to the frame tree. At this time we cannot test this change since it is being masked by HTMLFrameElementBase::setName() . We'll be able to test this once we fix bug #6751. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::createFrame): 2010-11-01 Jenn Braithwaite Reviewed by Adam Roben. Windows: Update resource tracking when moving a frame between documents https://bugs.webkit.org/show_bug.cgi?id=48364 * Interfaces/IWebResourceLoadDelegatePrivate2.idl:Added Added removeIdentifierForRequest. * Interfaces/WebKit.idl: Added IWebResourceLoadDelegatePrivate2.idl. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::transferLoadingResourceFromPage): 2010-11-01 Brady Eidson Reviewed by Anders Carlsson. and https://bugs.webkit.org/show_bug.cgi?id=48699 Context menu support for WebKit 2. * WebCoreSupport/WebChromeClient.h: (WebChromeClient::showContextMenu): 2010-11-01 Adam Roben Cancel main resource loads after we hand them off to the media engine This is the Windows equivalent of r51104. Clearly this code should be moved to a cross-platform location someday. Fixes Assertion failure in DocumentLoader::commitData when loading a media document in WebKit1 on Windows Reviewed by Dan Bernstein. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::committedLoad): Cancel the main resource load after handing off the load to the media engine. This code originally came from -[WebHTMLRepresentation receivedData:withDataSource:]. * WebFrame.cpp: (WebFrame::shouldFallBack): Don't fall back when handing the resource load off to the media engine or a plugin. Added error domain checking so that we don't rely on error codes being unique. 2010-10-29 Daniel Bates No review, rolling out 70971. http://trac.webkit.org/changeset/70971 https://bugs.webkit.org/show_bug.cgi?id=6751 Rolling out changeset 70971 since it caused layout test failures on all bots. In particular, the child count in a generated frame name differs after this patch. We need to look into this further. * WebFrame.cpp: (WebFrame::name): 2010-10-28 Antonio Gomes Reviewed by Ojan Vafai. Needs a "LinuxEditingBehavior", perhaps with a better name https://bugs.webkit.org/show_bug.cgi?id=36627 Added the corresponding GTK+ setting to WebCore's EditingUnixBehavior: WebKitEditingUnixBehavior. * Interfaces/IWebPreferences.idl: 2010-10-29 Daniel Bates Reviewed by Adam Barth. For unnamed frames, window.name returns a generated name https://bugs.webkit.org/show_bug.cgi?id=6751 Modified Apple Windows-port to use FrameTree::uniqueName(). * WebFrame.cpp: (WebFrame::name): 2010-10-29 Darin Adler Reviewed by Sam Weinig. Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring https://bugs.webkit.org/show_bug.cgi?id=48574 * WebBackForwardList.cpp: (backForwardListWrappers): (WebBackForwardList::WebBackForwardList): (WebBackForwardList::createInstance): * WebBackForwardList.h: * WebView.cpp: (WebView::backForwardList): Use BackForwardListImpl. 2010-10-29 Adam Roben Windows build fix * WebKitPrefix.h: Touched to force a rebuild. 2010-10-29 Alexey Proskuryakov Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=48576 Let WebKit2 client know when a frame is a frameset Added a blank implementation of the new FrameLoaderClient method. * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::dispatchDidBecomeFrameset): 2010-10-26 Brent Fulgham Unreviewed build fix. * WebView.cpp: Conditionalize includes for CFNetwork-specific Cookie implementation. * WebView.h: Conditionalize includes for ACCELERATED_COMPOSITION. WinCairo doesn't use CoreAnimation. 2010-10-26 Jenn Braithwaite Reviewed by Dmitry Titov. Resource tracking failure when trying to move a frame between documents https://bugs.webkit.org/show_bug.cgi?id=44713 * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::transferLoadingResourceFromPage): Empty method. * WebCoreSupport/WebFrameLoaderClient.h: 2010-10-25 Patrick Gansterer Reviewed by David Kilzer. Replace _countof with WTF_ARRAY_LENGTH https://bugs.webkit.org/show_bug.cgi?id=48229 * WebCoreSupport/WebContextMenuClient.cpp: (isPreInspectElementTagSafari): * WebView.cpp: (WebView::interpretKeyEvent): 2010-10-24 Dan Bernstein Build fix. * Interfaces/WebKit.idl: Touched. 2010-10-24 Dan Bernstein Reviewed by Anders Carlsson. Expose HitTestResult::absoluteMediaURL() via WebKit API https://bugs.webkit.org/show_bug.cgi?id=48219 * Interfaces/IWebView.idl: Added WebElementMediaURLKey. * WebElementPropertyBag.cpp: (WebElementPropertyBag::Read): Map WebElementMediaURLKey to absoluteMediaURL(). 2010-10-22 Andy Estes Fix the Windows build. * WebCookieManagerCFNet.cpp: Rename CookieStorageWin.h to CookieStorageCFNet.h. * WebView.cpp: Ditto. 2010-10-22 Jenn Braithwaite Reviewed by Adam Roben. Windows client needs updating when live iframe element is moved between pages https://bugs.webkit.org/show_bug.cgi?id=46915 * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::didTransferChildFrameToNewDocument): Update WebView in WebFrame to match that of the current page. * WebFrame.cpp: (WebFrame::setWebView): Added. * WebFrame.h: 2010-10-22 Sam Weinig Fix windows build. * WebCoreSupport/WebChromeClient.h: 2010-10-22 Sam Weinig Reviewed by Anders Carlsson. WebKit2 needs to pass the current event modifier flags when requesting a new window https://bugs.webkit.org/show_bug.cgi?id=48140 * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::createWindow): * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::dispatchCreatePage): * WebCoreSupport/WebFrameLoaderClient.h: Add NavigationAction parameter. 2010-10-21 MORITA Hajime Unreviewed, touched it to fix the build. * Interfaces/WebKit.idl: 2010-10-21 MORITA Hajime Reviewed by Kent Tamura. [Win][DRT] should have LayoutTestController.hasSpellingMarker() https://bugs.webkit.org/show_bug.cgi?id=47885 Added IWebFramePrivate::hasSpellingMarker() and impelmented it for LayoutTestController. * Interfaces/IWebFramePrivate.idl: * WebFrame.cpp: (WebFrame::hasSpellingMarker): * WebFrame.h: 2010-10-20 Dumitru Daniliuc Reviewed by David Levin. Repost the DatabaseTracker notifications to the main thread, if needed. https://bugs.webkit.org/show_bug.cgi?id=40655 * WebDatabaseManager.cpp: (DidModifyOriginData::dispatchToMainThread): (DidModifyOriginData::DidModifyOriginData): (DidModifyOriginData::dispatchDidModifyOriginOnMainThread): (WebDatabaseManager::dispatchDidModifyOrigin): (WebDatabaseManager::dispatchDidModifyDatabase): 2010-10-20 Dirk Schulze 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. * FullscreenVideoController.cpp: (HUDButton::draw): (HUDSlider::draw): (FullscreenVideoController::draw): * WebCoreSupport/WebDragClient.cpp: (WebDragClient::createDragImageForLink): * WebKitGraphics.cpp: (WebDrawText): 2010-10-18 Pavel Podivilov Reviewed by Timothy Hatcher. Web Inspector: disable private browsing for inspector https://bugs.webkit.org/show_bug.cgi?id=47827 * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::openInspectorFrontend): 2010-10-17 Adam Barth Reviewed by Dimitri Glazkov. FrameLoader doesn't need an explicit userGesture parameter https://bugs.webkit.org/show_bug.cgi?id=47777 Update for the new API. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::searchWithGoogle): 2010-10-15 Brian Weinstein Reviewed by Sam Weinig. REGRESSION(r69850) Loading apple.com/startpage in WebKit on Windows gets a bad request. https://bugs.webkit.org/show_bug.cgi?id=47753 VerQueryValue returns a null terminated string, but we need to strip off the null terminating character when we turn it into a WebCore string, or else concatenation using this string will break. * WebView.cpp: 2010-10-15 Jessie Berlin Windows build fix. Unreviewed. * WebCoreSupport/WebInspectorClient.cpp: Add a missing include. 2010-10-15 Nikolas Zimmermann Reviewed by Dirk Schulze. Replace some String::format() usages by StringConcatenate in WebKit https://bugs.webkit.org/show_bug.cgi?id=47714 * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorFrontendClient::updateWindowTitle): * WebView.cpp: (WebView::standardUserAgentWithApplicationName): (osVersion): 2010-10-14 Ilya Tikhonovsky 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.cpp: (WebInspectorFrontendClient::attachWindow): (WebInspectorFrontendClient::detachWindow): (WebInspectorFrontendClient::showWindowWithoutNotifications): 2010-10-13 Gavin Barraclough 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.cpp: 2010-10-12 Adam Roben Build TestWebKitAPI on Windows Fixes Make TestWebKitAPI work on Windows Reviewed by Sam Weinig. * WebKit.vcproj/WebKit.sln: Added TestWebKitAPI and TestWebKitAPIGenerated and made them build just after WebKitTestRunner. 2010-10-11 Shinichiro Hamaji Attempt to fix windows build failure. Remove WebIconFetcher from WebKit and IconFetcher from WebCore https://bugs.webkit.org/show_bug.cgi?id=47523 * Interfaces/IWebFramePrivate.idl: s/unused1/unused2/ * Interfaces/WebKit.idl: Touched. * WebFrame.cpp: s/unused1/unused2/ (WebFrame::unused2): * WebFrame.h: s/unused1/unused2/ 2010-10-11 Anders Carlsson 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. * Interfaces/IWebFramePrivate.idl: * Interfaces/IWebIconFetcher.idl: Removed. * Interfaces/WebKit.idl: * WebFrame.cpp: (WebFrame::unused1): * WebFrame.h: * WebIconFetcher.cpp: Removed. * WebIconFetcher.h: Removed. * WebKit.vcproj/Interfaces.vcproj: * WebKit.vcproj/WebKit.vcproj: 2010-10-11 Jessie Berlin 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 * Interfaces/IWebSerializedJSValuePrivate.idl: Because it is taking a void** parameter, getInternalRepresentation must be declared [local]. * WebSerializedJSValue.cpp: (WebSerializedJSValue::getInternalRepresentation): * WebSerializedJSValue.h: 2010-10-07 Jessie Berlin 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 * Interfaces/WebKit.idl: Generate IWebSerializedJSValuePrivate. * Interfaces/IWebSerializedJSValuePrivate.idl: Added. Because it is taking a void* parameter, setInternalRepresentation must be declared [local]. * WebKit.vcproj/Interfaces.vcproj: Add IWebSerializedJSValue.idl and IWebSerializedJSValuePrivate.idl. * WebSerializedJSValue.cpp: (WebSerializedJSValue::QueryInterface): Since there are now two interfaces that inherit from IUnknown, do not try to cast to IUnknown* anymore. Cast to IWebSerializedJSValue* instead. (WebSerializedJSValue::setInternalRepresentation): Only set the internal representation if it hasn't already been set. * WebSerializedJSValue.h: 2010-10-04 Jon Honeycutt Prevent an assertion failure when trying to create a protection space for file/data URLs. Reviewed by Sam Weinig. * WebURLProtectionSpace.cpp: (WebURLProtectionSpace::initWithHost): Remove the ASSERT_NOT_REACHED(). 2010-10-05 Brent Fulgham Unreviewed build correction. * WebKit.vcproj/WebKit.sln: Turn the QTMovieWin project off for WinCairo release builds. Somehow this was incorrectly turned on. 2010-10-01 Mark Rowe Build fix. Clear the executable bit from a number of source files. * WebView.cpp: * WebView.h: 2010-09-30 Darin Adler Reviewed by Sam Weinig. Remove remaining calls to deprecatedParseURL https://bugs.webkit.org/show_bug.cgi?id=26599 * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::dispatchDidFailToStartPlugin): Call stripLeadingAndTrailingHTMLSpaces instead of deprecatedParseURL. 2010-09-28 Jenn Braithwaite Reviewed by Dmitry Titov. Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument. https://bugs.webkit.org/show_bug.cgi?id=46663 * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::didTransferChildFrameToNewDocument): * WebCoreSupport/WebFrameLoaderClient.h: 2010-09-27 Andrey Kosyakov Unreviewed build fix (win; broken in r68371) * WebFrame.cpp: remove include 2010-09-23 Matthew Delaney Reviewed by Simon Fraser. Reduce minimum DOMTimer interval https://bugs.webkit.org/show_bug.cgi?id=45362 * WebView.cpp: Updating set interval call to use Settings' static version inside one time init block. 2010-09-23 Nate Chapin Unreviewed, build fix. Move hyperlinkAuditingEnabled to IWebPreferencesPrivate.idl and touch WebKit.idl * Interfaces/IWebPreferences.idl: * Interfaces/IWebPreferencesPrivate.idl: * Interfaces/WebKit.idl: * WebView.cpp: (WebView::notifyPreferencesChanged): 2010-09-23 Nate Chapin Unreviewed, build fix. Look for hyperlinkAuditingEnabled in the right set of preferences. * WebView.cpp: (WebView::notifyPreferencesChanged): 2010-09-23 Nate Chapin Reviewed by Darin Fisher. Add hyperlink auditing settings (i.e., ). https://bugs.webkit.org/show_bug.cgi?id=30458 * Interfaces/IWebPreferences.idl: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): (WebPreferences::hyperlinkAuditingEnabled): (WebPreferences::setHyperlinkAuditingEnabled): * WebPreferences.h: * WebView.cpp: (WebView::notifyPreferencesChanged): 2010-09-23 Matthew Delaney Reviewed by Adam Roben. Create one time initialization block for WebView's initWithFrame https://bugs.webkit.org/show_bug.cgi?id=46307 * WebView.cpp: Added one time initialization block for webview code that needs only be run once and not for each webview. This is just as the mac version WebView.mm does. 2010-09-22 Brent Fulgham Reviewed by Martin Robinson. [WinCairo] Part 2: Update WebKitTestRunner and DumpRenderTree Build. https://bugs.webkit.org/show_bug.cgi?id=46303. * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and Release_Cairo configurations to select appropriate build targets for WebKitTestRunner and MiniBrowser. 2010-09-22 Brent Fulgham Reviewed by Martin Robinson. [WinCairo] Update WebKitTestRunner and DumpRenderTree Build.rt https://bugs.webkit.org/show_bug.cgi?id=46303. * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and Release_Cairo configurations to select appropriate build targets for InjectionBundle. 2010-09-22 Balazs Kelemen Reviewed by Kenneth Rohde Christiansen. PluginStrategy should satisfy the needs of Qt https://bugs.webkit.org/show_bug.cgi?id=45857 No new functionality so no new tests. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::getPluginInfo): * WebCoreSupport/WebPlatformStrategies.h: 2010-09-20 Philippe Normand Reviewed by Eric Carlson. [GTK] enhanced context menu for media elements https://bugs.webkit.org/show_bug.cgi?id=45021 New localized strings for the media element context-menu. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::contextMenuItemTagOpenVideoInNewWindow): (WebPlatformStrategies::contextMenuItemTagOpenAudioInNewWindow): (WebPlatformStrategies::contextMenuItemTagCopyVideoLinkToClipboard): (WebPlatformStrategies::contextMenuItemTagCopyAudioLinkToClipboard): (WebPlatformStrategies::contextMenuItemTagToggleMediaControls): (WebPlatformStrategies::contextMenuItemTagToggleMediaLoop): (WebPlatformStrategies::contextMenuItemTagEnterVideoFullscreen): (WebPlatformStrategies::contextMenuItemTagMediaPlay): (WebPlatformStrategies::contextMenuItemTagMediaPause): (WebPlatformStrategies::contextMenuItemTagMediaMute): * WebCoreSupport/WebPlatformStrategies.h: 2010-09-17 Darin Adler Reviewed by Sam Weinig. REGRESSION (r60104): Zoom level is unexpectedly reset on page reload https://bugs.webkit.org/show_bug.cgi?id=42863 * WebView.cpp: (WebView::setZoomMultiplier): Call functions on Frame instead of FrameView. 2010-09-17 Matthew Delaney Reviewed by Simon Fraser. Reduce minimum DOMTimer interval https://bugs.webkit.org/show_bug.cgi?id=45362 * WebView.cpp: Added in a call to set the mimimum allowed DOMTimer to 4ms. 2010-09-17 Simon Fraser Reviewed by Chris Marrin. Remove scroll and clip layers for WKCACFLayerRenderer https://bugs.webkit.org/show_bug.cgi?id=45922 WKCACFLayerRenderer no longer needs its own layers for managing scrolling and clipping, because RenderLayerCompositor provides this functionality. * WebView.cpp: (WebView::sizeChanged): Moved code that handles the WM_SIZE message into this method. Use it to resize the layer renderer. (WebView::WebViewWndProc): Call sizeChanged(). (WebView::updateRootLayerContents): No need to call setScrollFrame() any more. (WebView::layerRendererBecameVisible): Move this from the header (no need to be inline). * WebView.h: 2010-09-16 Darin Adler Reviewed by Andreas Kling. Reduce use of HTMLInputElement::inputType so we can remove it later https://bugs.webkit.org/show_bug.cgi?id=45903 * WebFrame.cpp: (WebFrame::elementDoesAutoComplete): Use isPasswordField. (WebFrame::elementIsPassword): Use isPasswordField. 2010-09-14 Ada Chan Reviewed by Adam Roben. Add an IWebFramePrivate API to load string as plain text into the WebFrame. https://bugs.webkit.org/show_bug.cgi?id=45782 * Interfaces/IWebFramePrivate.idl: * Interfaces/WebKit.idl: Touch the file. * WebFrame.cpp: (WebFrame::loadPlainTextString): * WebFrame.h: 2010-09-13 Enrica Casucci Reviewed by Sam Weinig. Paste should be implemented in WebCore like Copy and Cut for Mac also. https://bugs.webkit.org/show_bug.cgi?id=45494 On the Mac platform, the implementation of the paste operation is all done at the WebKit level. In order to support it on WebKit2 it is necessary to refactor the code and move this functionality at the level of WebCore like we already have on Windows. The original code relies on some in AppKit functions that call back into WebKit causing problems in WebKit2. All this functionality has been moved at the level of the editor client where it can be dealt with appropriately. * WebFrame.cpp: (WebFrame::canShowMIMETypeASHTML): Added. 2010-09-11 Adam Barth Reviewed by Sam Weinig. Make SecurityOrigin::canDisplay an instance function https://bugs.webkit.org/show_bug.cgi?id=45219 * WebFrame.cpp: (WebFrame::allowsFollowingLink): 2010-09-10 Jesus Sanchez-Palencia Reviewed by Darin Adler. Add NetworkingContext to avoid layer violations https://bugs.webkit.org/show_bug.cgi?id=42292 * WebCoreSupport/WebFrameNetworkingContext.cpp: (WebFrameNetworkingContext::blockedError): * WebCoreSupport/WebFrameNetworkingContext.h: 2010-09-10 Jer Noble Reviewed by Simon Fraser. Movies with track or movie matrices don't display in