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