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