2013-04-18 Geoffrey Garen Cherry-pick merged to the FTL branch, to ease merging back later. NOTE: Please skip this patch when merging from the FTL branch back to trunk. Reviewed by Phil Pizlo. 2013-03-20 Rouslan Solomakhin Copy-paste should not spellcheck when continuous spellcheck is turned off https://bugs.webkit.org/show_bug.cgi?id=112464 Reviewed by Ryosuke Niwa. * WebKit.vcproj/WebKitExports.def.in: Export WebCore::Editor::isContinuousSpellCheckingEnabled() and WebCore::Editor::toggleContinuousSpellChecking() for use by internals. 2013-03-18 Roger Fong Fix typo on Windows following r145849 that was causing DRT to crash 100% of the time. * WebView.cpp: (WebView::setSmartInsertDeleteEnabled): (WebView::setSelectTrailingWhitespaceEnabled): 2013-03-15 Nate Chapin Hide MainResourceLoader from the outside world https://bugs.webkit.org/show_bug.cgi?id=109971 Reviewed by Adam Barth. * WebFrame.cpp: (WebFrame::convertMainResourceLoadToDownload): * WebFrame.h: 2013-03-15 Abhishek Arya Replace static_casts with to* helper functions. https://bugs.webkit.org/show_bug.cgi?id=112401 Reviewed by Stephen Chenney. to* helper functions are preferred over static_cast calls since they help to catch bad casts easily on the testing infrastructure. * WebCoreSupport/EmbeddedWidget.cpp: (EmbeddedWidget::frameRectsChanged): * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::redirectDataToPlugin): 2013-03-14 Manuel Rego Casasnovas Add selectTrailingWhitespaceEnabled setting to WebCore::Page https://bugs.webkit.org/show_bug.cgi?id=109404 Reviewed by Tony Chang. Use new settings for smartInsertDeleteEnabled and selectTrailingWhitespaceEnabled. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::smartInsertDeleteEnabled): (WebEditorClient::isSelectTrailingWhitespaceEnabled): * WebView.cpp: (WebView::WebView): (WebView::setSmartInsertDeleteEnabled): (WebView::smartInsertDeleteEnabled): (WebView::setSelectTrailingWhitespaceEnabled): (WebView::isSelectTrailingWhitespaceEnabled): * WebView.h: (WebView): 2013-03-14 Jesus Sanchez-Palencia Move platform-specific typedefs to PlatformMenuDescription.h https://bugs.webkit.org/show_bug.cgi?id=111876 Reviewed by Caio Marcelo de Oliveira Filho. Rename NativeMenuItem to PlatformContextMenuItem and the getter function call. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::customizeMenu): (WebContextMenuClient::contextMenuItemSelected): * WebView.cpp: (WebView::handleContextMenuEvent): 2013-03-14 Abhishek Arya Replace static_casts with to* helper functions. https://bugs.webkit.org/show_bug.cgi?id=112296 Reviewed by Kentaro Hara. to* helper functions are preferred over static_cast calls since they help to catch bad casts easily on the testing infrastructure. * WebView.cpp: (WebView::enterFullscreenForNode): 2013-03-13 Nate Chapin Expose symbols for internals https://bugs.webkit.org/show_bug.cgi?id=112194 Reviewed by Alexey Proskuryakov. * WebKit.vcproj/WebKitExports.def.in: 2013-03-13 Pavel Feldman Web Inspector: get rid of hiddenPanels filter https://bugs.webkit.org/show_bug.cgi?id=112252 Reviewed by Vsevolod Vlasov. * WebCoreSupport/WebInspectorClient.cpp: * WebCoreSupport/WebInspectorClient.h: (WebInspectorFrontendClient): 2013-03-12 Abhishek Arya Replace static_casts with to* helper functions. https://bugs.webkit.org/show_bug.cgi?id=112164 Reviewed by Philip Rogers. to* helper functions are preferred over static_cast calls since they help to catch bad casts easily on the testing infrastructure. * DOMHTMLClasses.cpp: (DOMHTMLElement::idName): (DOMHTMLElement::innerText): (DOMHTMLElement::setInnerText): 2013-03-11 Jochen Eisinger Rename DefinitelyProcessingUserGesture to DefinitelyProcessingNewUserGesture https://bugs.webkit.org/show_bug.cgi?id=111959 Reviewed by Alexey Proskuryakov. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::searchWithGoogle): 2013-03-03 Ryosuke Niwa Windows build fix attempt after r144547. * WebKit.vcproj/WebKitExports.def.in: 2013-03-03 Sheriff Bot Unreviewed, rolling out r144567. http://trac.webkit.org/changeset/144567 https://bugs.webkit.org/show_bug.cgi?id=111266 Does not compile on apple-win (Requested by abarth on #webkit). * WebKit.vcproj/WebKitExports.def.in: 2013-03-03 Ryosuke Niwa That was a wrong fix. Revert r144569. * WebKit.vcproj/WebKitExports.def.in: 2013-03-03 Ryosuke Niwa Windows build fix attempt after r144567. * WebKit.vcproj/WebKitExports.def.in: 2013-03-02 Benjamin Poulain Export a missing symbol after r144547. Unreviewed. * WebKit.vcproj/WebKitExports.def.in: 2013-03-02 Ryosuke Niwa Redo r144538 (after r144530). * WebCoreSupport/WebFrameNetworkingContext.cpp: * WebCoreSupport/WebFrameNetworkingContext.h: * WebCoreSupport/WebPlatformStrategies.cpp: 2013-03-02 Ryosuke Niwa Yet another build fix attempt after r144530. * WebCoreSupport/WebFrameNetworkingContext.cpp: * WebCoreSupport/WebPlatformStrategies.cpp: 2013-03-02 Ryosuke Niwa Another build fix attempt after r144530. * WebCoreSupport/WebFrameNetworkingContext.cpp: 2013-03-01 Benjamin Poulain Add a missing symbol after r144524. Unreviewed. * WebKit.vcproj/WebKitExports.def.in: 2013-02-26 Alexey Proskuryakov Don't add a body to platform request until necessary https://bugs.webkit.org/show_bug.cgi?id=110900 Reviewed by Brady Eidson. WebKit1 behavior is unchanged, body is added on every conversion. * WebDownloadCFNet.cpp: (WebDownload::init): (WebDownload::initWithRequest): (WebDownload::willSendRequest): * WebMutableURLRequest.cpp: (WebMutableURLRequest::cfRequest): (WebMutableURLRequest::mutableCopy): * WebView.cpp: (WebView::canHandleRequest): 2013-02-26 Roger Fong Unreviewed AppleWin build fix. * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: 2013-02-24 Alexey Proskuryakov Clarify meaning of default default encoding localizable string https://bugs.webkit.org/show_bug.cgi?id=110714 Reviewed by Eric Carlson. * WebPreferences.cpp: Updated a comment. 2013-02-24 Benjamin Poulain REGRESSION(r143837): Broke build on AppleWin http://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29. https://bugs.webkit.org/show_bug.cgi?id=110713 Unreviewed. * WebKit.vcproj/WebKitExports.def.in: Add the missing symbol after r143837. 2013-02-21 Sheriff Bot Unreviewed, rolling out r143536. http://trac.webkit.org/changeset/143536 https://bugs.webkit.org/show_bug.cgi?id=110523 Causing a bunch of tests to fail on Windows, requires rebaselining (Requested by rfong on #webkit). * WebKitClassFactory.cpp: (WebKitClassFactory::WebKitClassFactory): * WebView.cpp: (WebView::initWithFrame): (WebView::notifyPreferencesChanged): 2013-02-20 Roger Fong Unreviewed. Remove references to SAFARI_THEME from Windows Solution. * WebKitClassFactory.cpp: * WebView.cpp: 2013-02-19 Sheriff Bot Unreviewed, rolling out r143338. http://trac.webkit.org/changeset/143338 https://bugs.webkit.org/show_bug.cgi?id=110301 False alarm, no need to export the symbol (Requested by aandrey on #webkit). * WebKit.vcproj/WebKitExports.def.in: 2013-02-19 Tony Chang Unreviewed, force file to recompile to fix win build. * WebView.cpp: 2013-02-19 Tony Chang Unreviewed, fix the Windows build after r143398. Add new setters to the export list. * WebKit.vcproj/WebKitExports.def.in: 2013-02-19 Andrey Adaikin Unreviewed, adding external symbol ?didBeginFrame@InspectorCanvasAgent@WebCore@@QAEXXZ. * WebKit.vcproj/WebKitExports.def.in: 2013-02-19 Andrey Adaikin Unreviewed, Web Inspector: follow up to r143328 fixing Win Debug Build https://bugs.webkit.org/show_bug.cgi?id=110227 Adding external symbol ?didBeginFrame@InspectorCanvasAgent@WebCore@@QAEXXZ. * WebKit.vcproj/WebKitExports.def.in: 2013-02-18 Simon Fraser Clean up the boolean argument to visibleContentRect https://bugs.webkit.org/show_bug.cgi?id=110167 Reviewed by Simon Fraser. Replace the boolean argument to visibleContentRect() with an enum. * WebFrame.cpp: (WebFrame::visibleContentRect): (WebFrame::frameBounds): 2013-02-18 Zan Dobersek Stop placing std::isfinite and std::signbit inside the global scope https://bugs.webkit.org/show_bug.cgi?id=109817 Reviewed by Darin Adler. Prefix calls to the isfinite and signbit methods with std:: as the two methods are no longer being imported into the global scope. * FullscreenVideoController.cpp: (timeToString): 2013-02-15 Rik Cabanier Add platform support for -webkit-background-blend-mode to CG context https://bugs.webkit.org/show_bug.cgi?id=108549 Reviewed by Dean Jackson. Fixed build issue. * WebKit.vcproj/WebKitExports.def.in: 2013-02-15 Allan Sandfeld Jensen Simplify hitTestResultAtPoint and nodesFromRect APIs https://bugs.webkit.org/show_bug.cgi?id=95720 Reviewed by Julien Chaffraix. Update calls to new API. * WebActionPropertyBag.cpp: (WebActionPropertyBag::Read): * WebKit.vcproj/WebKitExports.def.in: * WebView.cpp: (WebView::handleContextMenuEvent): (WebView::elementAtPoint): 2013-02-14 Tony Chang Unreviewed, set svn:eol-style native for .sln, .vcproj, and .vsprops files. https://bugs.webkit.org/show_bug.cgi?id=96934 * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style. * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style. * WebKit.vcproj/WebKitCFLite.vsprops: Added property svn:eol-style. * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Added property svn:eol-style. * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Added property svn:eol-style. * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Added property svn:eol-style. * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Added property svn:eol-style. * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Added property svn:eol-style. * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Added property svn:eol-style. * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Added property svn:eol-style. 2013-02-14 Tony Chang Unreviewed, set svn:eol-style CRLF for .sln files. * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style. * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style. 2013-02-14 Andrey Kosyakov Web Inspector: expose did{Begin,Cancel}Frame() and {will,did}Composite() on WebDebToolsAgent https://bugs.webkit.org/show_bug.cgi?id=109192 Reviewed by Pavel Feldman. * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style. * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style. 2013-02-11 Ryosuke Niwa Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface https://bugs.webkit.org/show_bug.cgi?id=109534 Reviewed by Anders Carlsson. * WebCoreSupport/WebEditorClient.cpp: * WebCoreSupport/WebEditorClient.h: (WebEditorClient): 2013-02-11 Benjamin Poulain Build fix for Windows after r142509 * WebKit.vcproj/WebKitExports.def.in: 2013-02-08 Benjamin Poulain Move workerThreadCount from TestRunner to WebCore Internals https://bugs.webkit.org/show_bug.cgi?id=109239 Reviewed by Darin Adler. * WebKit.vcproj/WebKitExports.def.in: 2013-02-07 Roger Fong Unreviewed. Corrections the exports definition file. * WebKit.vcproj/WebKitExports.def.in: 2013-02-05 Roger Fong Unreviewed build fix. * WebKit.vcproj/WebKitExports.def.in: 2013-02-05 Roger Fong Unreviewed. Get rid of redundant exports in export definitions file. * WebKit.vcproj/WebKitExports.def.in: 2013-02-01 Roger Fong Unreviewed. Copy some resource files for VS2010 solution. https://bugs.webkit.org/show_bug.cgi?id=106989. * WebKit.resources/WebKit.rc: Added. * WebKit.resources/deleteButton.png: Added. * WebKit.resources/deleteButtonPressed.png: Added. * WebKit.resources/fsVideoAudioVolumeHigh.png: Added. * WebKit.resources/fsVideoAudioVolumeLow.png: Added. * WebKit.resources/fsVideoExitFullscreen.png: Added. * WebKit.resources/fsVideoPause.png: Added. * WebKit.resources/fsVideoPlay.png: Added. * WebKit.resources/missingImage.png: Added. * WebKit.resources/nullplugin.png: Added. * WebKit.resources/panEastCursor.png: Added. * WebKit.resources/panIcon.png: Added. * WebKit.resources/panNorthCursor.png: Added. * WebKit.resources/panNorthEastCursor.png: Added. * WebKit.resources/panNorthWestCursor.png: Added. * WebKit.resources/panSouthCursor.png: Added. * WebKit.resources/panSouthEastCursor.png: Added. * WebKit.resources/panSouthWestCursor.png: Added. * WebKit.resources/panWestCursor.png: Added. * WebKit.resources/searchCancel.png: Added. * WebKit.resources/searchCancelPressed.png: Added. * WebKit.resources/searchMagnifier.png: Added. * WebKit.resources/searchMagnifierResults.png: Added. * WebKit.resources/textAreaResizeCorner.png: Added. * WebKit.resources/verticalTextCursor.png: Added. * WebKit.resources/zoomInCursor.png: Added. * WebKit.resources/zoomOutCursor.png: Added. 2013-02-04 Benjamin Poulain Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals https://bugs.webkit.org/show_bug.cgi?id=108741 Reviewed by Tony Chang. * WebKit.vcproj/WebKitExports.def.in: 2013-02-04 Enrica Casucci Add specific EditActions for Bold and Italic commands. https://bugs.webkit.org/show_bug.cgi?id=108842. Reviewed by Ryosuke Niwa. * WebCoreSupport/WebEditorClient.cpp: (undoNameForEditAction): 2013-02-03 KwangYong Choi Fix build warning after r141473 https://bugs.webkit.org/show_bug.cgi?id=108782 Reviewed by Kentaro Hara. Fix -Wunused-parameter build warning. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::getClientPasteboardDataForRange): 2013-02-01 Philip Rogers Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images. https://bugs.webkit.org/show_bug.cgi?id=106966 Reviewed by Stephen White. * WebKit.vcproj/WebKitExports.def.in: 2013-01-31 Aurimas Liutikas Editor::m_compositionNode not updated on HTMLInputElement::setValue() https://bugs.webkit.org/show_bug.cgi?id=107737 Reviewed by Ryosuke Niwa. * WebView.cpp: (WebView::updateSelectionForIME): Adding a call to the newly refactored method. 2013-01-31 Sheriff Bot Unreviewed, rolling out r141479. http://trac.webkit.org/changeset/141479 https://bugs.webkit.org/show_bug.cgi?id=108564 breaks chromium test (Requested by morrita on #webkit). * WebView.cpp: (WebView::updateSelectionForIME): 2013-01-31 Aurimas Liutikas Editor::m_compositionNode not updated on HTMLInputElement::setValue() https://bugs.webkit.org/show_bug.cgi?id=107737 Reviewed by Ryosuke Niwa. * WebView.cpp: (WebView::updateSelectionForIME): Adding a call to the newly refactored method. 2013-01-31 Enrica Casucci WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access. https://bugs.webkit.org/show_bug.cgi?id=108396. Reviewed by Alexey Proskuryakov. Adds stub implementation for WebKit of the new EditorClient methods. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::willWriteSelectionToPasteboard): (WebEditorClient::getClientPasteboardDataForRange): * WebCoreSupport/WebEditorClient.h: 2013-01-29 Shinya Kawanaka [Chromium] Cannot copy text when selecting readonly (or disabled) input elements https://bugs.webkit.org/show_bug.cgi?id=106287 Reviewed by Hajime Morita. * WebKit.vcproj/WebKitExports.def.in: 2013-01-29 Elliott Sprehn Refactor ShadowRoot exception handling https://bugs.webkit.org/show_bug.cgi?id=108209 Reviewed by Dimitri Glazkov. * WebKit.vcproj/WebKitExports.def.in: Swap ShadowRoot::create export with Element::createShadowRoot. 2013-01-29 Nate Chapin Enable reuse of cached main resources https://bugs.webkit.org/show_bug.cgi?id=105667 Reviewed by Adam Barth. * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals. 2013-01-27 Zoltan Arvai Fixing atomicIncrement implementation for Windows by dropping support before XP SP2. https://bugs.webkit.org/show_bug.cgi?id=106740 Reviewed by Benjamin Poulain. * WebKitPrefix.h: 2013-01-26 Alexey Proskuryakov Remove code for handling NetworkProcess authentication challenges in WebProcess https://bugs.webkit.org/show_bug.cgi?id=108003 Reviewed by Sam Weinig. * WebURLAuthenticationChallenge.cpp: (WebURLAuthenticationChallenge::initWithProtectionSpace): Adapted for new AuthenticationChallenge constructor signature. 2013-01-24 Mark Hahnenberg Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h https://bugs.webkit.org/show_bug.cgi?id=107327 Reviewed by Filip Pizlo. We're renaming these two files, so we have to replace the names everywhere. * WebFrame.cpp: * WebView.cpp: 2013-01-23 Tony Chang Unreviewed, set svn:eol-style to CRLF on Windows .sln files. * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style. * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style. 2013-01-23 Pavel Feldman Follow up to 140539, adding exports for Win build. Not reviewed. * WebKit.vcproj/WebKitExports.def.in: 2013-01-22 Anders Carlsson Use a platforom strategy for local storage https://bugs.webkit.org/show_bug.cgi?id=107600 Reviewed by Andreas Kling. Update for new storage strategy. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::createStorageStrategy): * WebCoreSupport/WebPlatformStrategies.h: (WebPlatformStrategies): 2013-01-18 Jer Noble Unreviewed build fix. Remove deleted symbol from windows export list. * WebKit.vcproj/WebKitExports.def.in: 2013-01-18 Seokju Kwon Add explicit keyword to constructors in platform-specific InspectorClient https://bugs.webkit.org/show_bug.cgi?id=107255 Reviewed by Kentaro Hara. Add explicit keyword to constructors that take one argument in platform-specific implementation of InspectorClient. * WebCoreSupport/WebInspectorClient.h: (WebInspectorClient): 2013-01-18 Sheriff Bot Unreviewed, rolling out r140005. http://trac.webkit.org/changeset/140005 https://bugs.webkit.org/show_bug.cgi?id=107235 broke downstream Chromium interactive_ui_tests (Requested by dominicc on #webkit). * WebKit.vcproj/WebKitExports.def.in: 2013-01-17 Nate Chapin Enable reuse of cached main resources https://bugs.webkit.org/show_bug.cgi?id=105667 Reviewed by Antti Koivisto. * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals. 2013-01-15 peavo@outlook.com Crash when saving history with no items in it. https://bugs.webkit.org/show_bug.cgi?id=104261 Reviewed by Darin Adler. * WebHistory.cpp: (WebHistory::saveHistoryGuts): Added null pointer check 2013-01-09 Levi Weintraub Rolling out r139683. It broke a bunch of webkit_unit_tests. 2013-01-09 Hajime Morrita [Shadow DOM] Distribution related code on ElementShadow should be minimized. https://bugs.webkit.org/show_bug.cgi?id=106294 Reviewed by Dimitri Glazkov. * WebKit.vcproj/WebKit.def.in: 2013-01-09 Roger Fong Rename export files to make them more easily findable. https://bugs.webkit.org/show_bug.cgi?id=98695. Reviewed by Timothy Horton. * WebKit.vcproj/WebKit.def.in: Removed. * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKitExportGenerator.vcproj: * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: * WebKit.vcproj/WebKitExports.def.in: Copied from Source/WebKit/win/WebKit.vcproj/WebKit.def.in. * WebKit.vcproj/WebKitLibCommon.vsprops: 2013-01-09 Roger Fong Add WebPreferences for Seamless IFrames on Windows port. https://bugs.webkit.org/show_bug.cgi?id=106468. Rubberstamped by Eric Seidel. * Interfaces/IWebPreferences.idl: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: (WebPreferences::areSeamlessIFramesEnabled): (WebPreferences::setSeamlessIFramesEnabled): * WebPreferences.h: (WebPreferences): * WebView.cpp: (WebView::notifyPreferencesChanged): 2013-01-09 peavo@outlook.com [WinCairo] Link fix after r138759 https://bugs.webkit.org/show_bug.cgi?id=106323 Reviewed by Kentaro Hara. * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Include WebKitCFLite.vsprops. * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Include WebKitCFLite.vsprops. 2013-01-08 Hajime Morrita [Shadow DOM] Distribution related code on ShadowRoot should be minimized. https://bugs.webkit.org/show_bug.cgi?id=106282 Reviewed by Dimitri Glazkov. * WebKit.vcproj/WebKit.def.in: 2013-01-08 Mark Lam Removed the need for the ProposedDatabase mechanism. https://bugs.webkit.org/show_bug.cgi?id=106292. Reviewed by Sam Weinig. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::exceededDatabaseQuota): * WebCoreSupport/WebChromeClient.h: (WebChromeClient): 2013-01-04 Roger Fong Make private browsing work on Windows. https://bugs.webkit.org/show_bug.cgi?id=106032. Reviewed by Alexey Proskuryakov. Code path never called ensurePrivateBrowsingSession which is what starts up the private browsing session. This was causing many tests to involving private browsing to fail. * WebView.cpp: (WebView::notifyPreferencesChanged): 2013-01-03 Roger Fong Remove all traces of Windows from WebKit2 folder. https://bugs.webkit.org/show_bug.cgi?id=105585. Reviewed by Sam Weinig. WebKitExportGenerator project needs to be moved out of the WebKit2/win folder and into WebKit/win. * WebKit.vcproj/WebKit.def.in: Added. * WebKit.vcproj/WebKit.sln: * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKitCFLite.vsprops: Added. * WebKit.vcproj/WebKitExportGenerator.vcproj: Added. * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: Added. * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Added. * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Added. * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Added. * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Added. * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: Added. * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: Added. * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Added. * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Added. * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Added. * WebKit.vcproj/WebKitLibCommon.vsprops: 2013-01-03 Csaba Osztrogonác Unreviewed fix after r138656 to make GIT-SVN repositories happy. * WebKit.vcproj/WebKitApple.vsprops: Added property svn:eol-style. Removed property svn:mime-type. * WebKit.vcproj/WebKitDirectX.vsprops: Added property svn:eol-style. Removed property svn:mime-type. 2013-01-02 Roger Fong Unreviewed. Build fix after reintroducing r138331. Attempted to remove WebKit2 from Apple Windows port in r138331 but two vsprops files were missing. * WebKit.vcproj/WebKitApple.vsprops: Added. * WebKit.vcproj/WebKitDirectX.vsprops: Added. 2013-01-02 Sheriff Bot Unreviewed, rolling out r138403. http://trac.webkit.org/changeset/138403 https://bugs.webkit.org/show_bug.cgi?id=105950 Fixing e138331 which was rolled out in r138403 (Requested by rfong on #webkit). * WebKit.vcproj/WebKit.sln: * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKitLibCommon.vsprops: * WebKit.vcproj/WebKitLibDebug.vsprops: * WebKit.vcproj/WebKitLibDebugAll.vsprops: * WebKit.vcproj/WebKitLibProduction.vsprops: * WebKit.vcproj/WebKitLibRelease.vsprops: 2012-12-23 Alexey Proskuryakov Network process should respect cookie accept policy https://bugs.webkit.org/show_bug.cgi?id=105684 Reviewed by Sam Weinig. * WebCoreSupport/WebPlatformStrategies.cpp: * WebCoreSupport/WebPlatformStrategies.h: CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway. 2012-12-22 Alexey Proskuryakov Add a separate class for networking related storage https://bugs.webkit.org/show_bug.cgi?id=105676 Reviewed by Sam Weinig. * WebCookieManagerCFNet.cpp: * WebView.cpp: Updated includes. * WebCoreSupport/WebFrameNetworkingContext.cpp: * WebCoreSupport/WebFrameNetworkingContext.h: This class is now simpler, with most session tracking being in WebCore. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::cookiesForDOM): (WebPlatformStrategies::setCookiesFromDOM): (WebPlatformStrategies::cookiesEnabled): (WebPlatformStrategies::cookieRequestHeaderFieldValue): (WebPlatformStrategies::getRawCookies): (WebPlatformStrategies::deleteCookie): * WebCoreSupport/WebPlatformStrategies.h: We no longer need a function for default storage! Other functions now take a session. 2012-12-21 Sheriff Bot Unreviewed, rolling out r138331. http://trac.webkit.org/changeset/138331 https://bugs.webkit.org/show_bug.cgi?id=105668 Broke Windows clean builds; can't figure out how to fix it (Requested by rniwa on #webkit). * WebKit.vcproj/WebKit.sln: * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKitLibCommon.vsprops: * WebKit.vcproj/WebKitLibDebug.vsprops: * WebKit.vcproj/WebKitLibDebugAll.vsprops: * WebKit.vcproj/WebKitLibProduction.vsprops: * WebKit.vcproj/WebKitLibRelease.vsprops: 2012-12-20 Anders Carlsson Stop building WebKit2 for Windows https://bugs.webkit.org/show_bug.cgi?id=105585 Reviewed by Brian Weinstein. Stop building WebKit2 on Windows, and change WebKit.vcproj to build WebKit.dll again. * WebKit.vcproj/WebKit.sln: * WebKit.vcproj/WebKit.vcproj: * WebKit.vcproj/WebKitApple.vsprops: Added. * WebKit.vcproj/WebKitDirectX.vsprops: Added. * WebKit.vcproj/WebKitLibCommon.vsprops: * WebKit.vcproj/WebKitLibDebug.vsprops: * WebKit.vcproj/WebKitLibDebugAll.vsprops: * WebKit.vcproj/WebKitLibProduction.vsprops: * WebKit.vcproj/WebKitLibRelease.vsprops: 2012-12-20 Anders Carlsson Copy WebKit2.rc to back to WebKit/win/WebKit.vcproj. Rubber-stamped by Tim Horton. * WebKit.vcproj/WebKit.rc: Added. 2012-12-20 Anders Carlsson Copy files from WebKit2/win (back) to WebKit/win/WebKit.vcproj. Rubber-stamped by Tim Horton. * WebKit.vcproj/deleteButton.png: Added. * WebKit.vcproj/deleteButtonPressed.png: Added. * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Added. * WebKit.vcproj/fsVideoAudioVolumeLow.png: Added. * WebKit.vcproj/fsVideoExitFullscreen.png: Added. * WebKit.vcproj/fsVideoPause.png: Added. * WebKit.vcproj/fsVideoPlay.png: Added. * WebKit.vcproj/missingImage.png: Added. * WebKit.vcproj/nullplugin.png: Added. * WebKit.vcproj/panEastCursor.png: Added. * WebKit.vcproj/panIcon.png: Added. * WebKit.vcproj/panNorthCursor.png: Added. * WebKit.vcproj/panNorthEastCursor.png: Added. * WebKit.vcproj/panNorthWestCursor.png: Added. * WebKit.vcproj/panSouthCursor.png: Added. * WebKit.vcproj/panSouthEastCursor.png: Added. * WebKit.vcproj/panSouthWestCursor.png: Added. * WebKit.vcproj/panWestCursor.png: Added. * WebKit.vcproj/searchCancel.png: Added. * WebKit.vcproj/searchCancelPressed.png: Added. * WebKit.vcproj/searchMagnifier.png: Added. * WebKit.vcproj/searchMagnifierResults.png: Added. * WebKit.vcproj/textAreaResizeCorner.png: Added. * WebKit.vcproj/verticalTextCursor.png: Added. * WebKit.vcproj/zoomInCursor.png: Added. * WebKit.vcproj/zoomOutCursor.png: Added. 2012-12-19 Anders Carlsson Build WebKit2ExportGenerator before WebKitLib https://bugs.webkit.org/show_bug.cgi?id=105487 Reviewed by Tim Horton. * WebKit.vcproj/WebKit.sln: 2012-12-18 Alexey Proskuryakov Remove unnecessary functions from CookiesStrategy https://bugs.webkit.org/show_bug.cgi?id=105369 Reviewed by Brady Eidson. * WebCoreSupport/WebPlatformStrategies.cpp: * WebCoreSupport/WebPlatformStrategies.h: 2012-12-15 Anders Carlsson Rename FrameLoaderClient::download to convertMainResourceLoadToDownload https://bugs.webkit.org/show_bug.cgi?id=105122 Reviewed by Andreas Kling. Update for WebCore changes. * WebFrame.cpp: (WebFrame::convertMainResourceLoadToDownload): * WebFrame.h: 2012-12-15 Mark Lam Re-landing patch for "Introducing the DatabaseStrategy and database servers". https://bugs.webkit.org/show_bug.cgi?id=104934. Not reviewed. Merged from r137767. Previously reviewed by Sam Weinig. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::createDatabaseStrategy): * WebCoreSupport/WebPlatformStrategies.h: (WebPlatformStrategies): 2012-12-14 Mark Lam The WebView should initialize the platform strategies before initializing other sub-systems. https://bugs.webkit.org/show_bug.cgi?id=105083. Reviewed by Alexey Proskuryakov. * WebView.cpp: (WebView::initWithFrame): 2012-12-14 Sheriff Bot Unreviewed, rolling out r137767. http://trac.webkit.org/changeset/137767 https://bugs.webkit.org/show_bug.cgi?id=105062 Broke Mac builds. (Requested by mlam on #webkit). * WebCoreSupport/WebPlatformStrategies.cpp: * WebCoreSupport/WebPlatformStrategies.h: (WebPlatformStrategies): 2012-12-14 Mark Lam Introducing the DatabaseStrategy and database servers. https://bugs.webkit.org/show_bug.cgi?id=104934. Reviewed by Sam Weinig. The database server is currently a placeholder that does nothing. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::createDatabaseStrategy): * WebCoreSupport/WebPlatformStrategies.h: (WebPlatformStrategies): 2012-12-13 Alexey Proskuryakov Per-Tab WebProcess: DOM cookie access functions should respect private browsing https://bugs.webkit.org/show_bug.cgi?id=104691 Reviewed by Sam Weinig. * WebCoreSupport/WebFrameNetworkingContext.cpp: (WebFrameNetworkingContext::inPrivateBrowsingMode): (WebFrameNetworkingContext::storageSession): * WebCoreSupport/WebFrameNetworkingContext.h: Implemented inPrivateBrowsingMode(). 2012-12-12 Mark Lam Encapsulate externally used webdatabase APIs in DatabaseManager. https://bugs.webkit.org/show_bug.cgi?id=104741. Reviewed by Sam Weinig. Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase, and DatabaseContext directly. This is to prepare for upcoming webkit2 refactoring. * WebDatabaseManager.cpp: (WebDatabaseManager::sharedWebDatabaseManager): (WebDatabaseManager::origins): (WebDatabaseManager::databasesWithOrigin): (WebDatabaseManager::detailsForDatabase): (WebDatabaseManager::deleteAllDatabases): (WebDatabaseManager::deleteOrigin): (WebDatabaseManager::deleteDatabase): (WebDatabaseManager::setQuota): (WebKitInitializeWebDatabasesIfNecessary): * WebDatabaseManager.h: (WebDatabaseManager): * WebSecurityOrigin.cpp: (WebSecurityOrigin::usage): (WebSecurityOrigin::quota): (WebSecurityOrigin::setQuota): * WebView.cpp: (WebView::notifyPreferencesChanged): 2012-12-12 Alexey Proskuryakov Make LOG() work in WebProcess and NetworkProcess https://bugs.webkit.org/show_bug.cgi?id=104718 Reviewed by Tim Horton. * WebView.cpp: Updated for a new include file to use in WebKits. 2012-12-11 Mike West Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector. https://bugs.webkit.org/show_bug.cgi?id=66371 Reviewed by Pavel Feldman. Drops WebCore::MessageType from the addMessageToConsole method. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::addMessageToConsole): * WebCoreSupport/WebChromeClient.h: (WebChromeClient): 2012-12-10 Xueqing Huang ASSERTION failed in Windows: css3/css3-modsel-33.html https://bugs.webkit.org/show_bug.cgi?id=104472 Reviewed by Tim Horton. In WebFrameLoaderClient::dispatchDidLayout, milestones maybe DidFirstLayout & DidFirstVisualNonEmptyLayout, we should use seperate COMPtrs for the two cases rather than reuse one. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::dispatchDidLayout): 2012-12-08 Seokju Kwon Remove unused headers https://bugs.webkit.org/show_bug.cgi?id=104428 Reviewed by Kentaro Hara. Header inclusion cleanup. Remove . * WebCoreSupport/WebInspectorClient.cpp: * WebMutableURLRequest.cpp: 2012-12-07 Anders Carlsson Remove WebKit2 related projects from WebKit.sln https://bugs.webkit.org/show_bug.cgi?id=104395 Reviewed by Tim Horton. * WebKit.vcproj/WebKit.sln: 2012-11-30 Brent Fulgham [Windows, WinCairo] Generate library export definition file. https://bugs.webkit.org/show_bug.cgi?id=103687 Reviewed by Tim Horton. Update project solutions to use the new generated *.def files. * WebKit.vcproj/WebKit.sln: Update for new project and file locations. 2012-11-30 Mihai Maerean [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled https://bugs.webkit.org/show_bug.cgi?id=101192 Reviewed by Hajime Morita. Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures. Tests: No new tests because there is no functional change. * WebView.cpp: (WebView::notifyPreferencesChanged): 2012-11-29 Alexey Proskuryakov [WK2] Forward cookie jar calls to NetworkProcess https://bugs.webkit.org/show_bug.cgi?id=103457 Reviewed by Darin Adler. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::cookiesForDOM): (WebPlatformStrategies::setCookiesFromDOM): (WebPlatformStrategies::cookiesEnabled): (WebPlatformStrategies::cookieRequestHeaderFieldValue): (WebPlatformStrategies::getRawCookies): (WebPlatformStrategies::deleteCookie): (WebPlatformStrategies::getHostnamesWithCookies): (WebPlatformStrategies::deleteCookiesForHostname): (WebPlatformStrategies::deleteAllCookies): 2012-11-27 James Simonsen Consolidate FrameLoader::load() into one function taking a FrameLoadRequest https://bugs.webkit.org/show_bug.cgi?id=102151 Reviewed by Adam Barth. * WebFrame.cpp: (WebFrame::loadRequest): (WebFrame::loadData): 2012-11-27 Sheriff Bot Unreviewed, rolling out r135786. http://trac.webkit.org/changeset/135786 https://bugs.webkit.org/show_bug.cgi?id=103379 It made 3 plugin tests timeout on several platforms (Requested by Ossy on #webkit). * WebFrame.cpp: (WebFrame::loadRequest): (WebFrame::loadData): 2012-11-26 James Simonsen Consolidate FrameLoader::load() into one function taking a FrameLoadRequest https://bugs.webkit.org/show_bug.cgi?id=102151 Reviewed by Adam Barth. * WebFrame.cpp: (WebFrame::loadRequest): (WebFrame::loadData): 2012-11-21 Allan Sandfeld Jensen Disambiguate innerNodeFramePoint and mainFramePoint https://bugs.webkit.org/show_bug.cgi?id=98139 Reviewed by Julien Chaffraix. * WebView.cpp: (WebView::handleContextMenuEvent): 2012-11-20 Sheriff Bot Unreviewed, rolling out r135295. http://trac.webkit.org/changeset/135295 https://bugs.webkit.org/show_bug.cgi?id=102834 This patch causes assertion to some layout tests on chromium (Requested by jianli on #webkit). * WebFrame.cpp: (WebFrame::loadRequest): (WebFrame::loadData): 2012-11-20 James Simonsen Consolidate FrameLoader::load() into one function taking a FrameLoadRequest https://bugs.webkit.org/show_bug.cgi?id=102151 Reviewed by Adam Barth. * WebFrame.cpp: (WebFrame::loadRequest): (WebFrame::loadData): 2012-11-17 Brady Eidson Add an integer identifier field to AuthenticationChallengeBase. https://bugs.webkit.org/show_bug.cgi?id=102593 Reviewed by Darin Adler. * WebURLAuthenticationChallenge.cpp: (WebURLAuthenticationChallenge::initWithProtectionSpace): Adopt the new constructor with a dummy identifier. 2012-11-16 Brent Fulgham [WinCairo] Unreviewed build fix after r134960. Avoid including Mac-specific headers. * WebCoreSupport/WebFrameNetworkingContext.cpp: Stub out CFNetwork-based implementations. * WebCoreSupport/WebFrameNetworkingContext.h: Exclude CFNetwork data types. * WebCoreSupport/WebPlatformStrategies.cpp: Stub out CFNetwork-based implementations. * WebCoreSupport/WebPlatformStrategies.h: Exclude CFNetwork data types. 2012-11-15 Alexey Proskuryakov Private Browsing is a per-page setting that sets a global value https://bugs.webkit.org/show_bug.cgi?id=67870 Reviewed by Sam Weinig. * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): We can't get current session without any context, but the code was not correct anyway, the client is clearly interested in a getter to match override setter. * WebCoreSupport/WebFrameNetworkingContext.cpp: Moved code for tracking global sessions from WebCore to WebKit. The behavior is unchanged, but lower levels are now cleaner. * WebCoreSupport/WebFrameNetworkingContext.h: Ditto. * WebCoreSupport/WebPlatformStrategies.h: * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::defaultCookieStorage): Added. Use WebFrameNetworkingContext for tracking the default session. * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Use WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts. Updating only the current session is not sufficient, and did not match Mac. 2012-11-14 George Tsoumalis Implementation for mehods in WebMutableURLRequest.cpp https://bugs.webkit.org/show_bug.cgi?id=83671 Reviewed by Brent Fulgham.. * WebMutableURLRequest.cpp: (WebMutableURLRequest::addValue): (WebMutableURLRequest::setMainDocumentURL): (WebMutableURLRequest::setHTTPShouldHandleCookies): 2012-11-12 Roger Fong REGRESSION(r130643): Assertion failure when running DRT in debug mode https://bugs.webkit.org/show_bug.cgi?id=101791 Reviewed by Darin Adler. When running DRT in debug mode, we hit an assertion failure in initializing the WebKit instance. This failure started occuring in r130643 and this work around follows the work around in r132302. * WebKitCOMAPI.cpp: (CLSIDHashTraits): 2012-11-12 Roger Fong Web Inspector: Fix docking behaviour on Windows. https://bugs.webkit.org/show_bug.cgi?id=101978 Reviewed by Brian Weinstein. There are a number of problems with docking behaviour on Windows. For starters, it does not ever constrain the inspector's size properly while docked. It also does not properly set the whether or not the inspector can be docked/undocked. This patch fixes both issues. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorFrontendClient::frontendLoaded): (WebInspectorFrontendClient::attachWindow): Call restoreAttachedWindowHeight so that when first loading or reattaching the inspector, we resize the inspector window properly. 2012-11-05 Simon Fraser Fix layer borders to cleaning appear and disappear on switching https://bugs.webkit.org/show_bug.cgi?id=101136 Reviewed by Sam Weinig. Remove the GraphicsLayerClient methods showDebugBorders() and showRepaintCounter(). * WebView.cpp: * WebView.h: 2012-10-29 Anders Carlsson String::createCFString should return a RetainPtr https://bugs.webkit.org/show_bug.cgi?id=100419 Reviewed by Andreas Kling. Update callers of String::createCFString. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::dispatchDidFailToStartPlugin): * WebDatabaseManager.cpp: (WebDatabaseManager::dispatchDidModifyDatabase): * WebHistory.cpp: (WebHistory::visitedURL): (WebHistory::itemForURLString): * WebHistoryItem.cpp: (WebHistoryItem::dictionaryRepresentation): * WebIconDatabase.cpp: (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey): (postDidAddIconNotification): * WebLocalizableStrings.cpp: (createWebKitBundle): (copyLocalizedStringFromBundle): * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): * WebView.cpp: (WebView::setCacheModel): (WebView::notifyPreferencesChanged): 2012-10-24 Brady Eidson Add a strategy for loader customization. https://bugs.webkit.org/show_bug.cgi?id=100278 Reviewed by Alexey Proskuryakov. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::createLoaderStrategy): * WebCoreSupport/WebPlatformStrategies.h: (WebPlatformStrategies): 2012-10-23 Alexey Proskuryakov Add a strategy for shared workers https://bugs.webkit.org/show_bug.cgi?id=100165 Reviewed by Brady Eidson. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::createPasteboardStrategy): (WebPlatformStrategies::createSharedWorkerStrategy): (WebPlatformStrategies::createVisitedLinkStrategy): * WebCoreSupport/WebPlatformStrategies.h: (WebPlatformStrategies): 2012-10-22 Jocelyn Turcotte [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page https://bugs.webkit.org/show_bug.cgi?id=98514 Reviewed by Kenneth Rohde Christiansen. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::transitionToCommittedForNewPage): 2012-10-21 Andreas Kling Remove Page::javaScriptURLsAreAllowed setting. Reviewed by Anders Carlsson. Have WebView::setJavaScriptURLsAreAllowed() do nothing and return E_NOTIMPL to prevent COM ABI breakage. * WebView.cpp: (WebView::setJavaScriptURLsAreAllowed): 2012-10-18 Roger Fong Unreviewed. Build fix after r131701 and r131777. * WebKit.vcproj/WebKit.sln: 2012-10-14 Sam Weinig Fix the windows build. * WebView.cpp: (toStringVector): 2012-10-10 Brady Eidson Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer https://bugs.webkit.org/show_bug.cgi?id=98976 Reviewed by Anders Carlsson. * WebDataSource.cpp: (WebDataSource::data): 2012-10-10 Jon Lee [WK2] Activate plugins when user clicks on snapshot https://bugs.webkit.org/show_bug.cgi?id=98328 Reviewed by Brady Eidson. * WebCoreSupport/WebFrameLoaderClient.h: (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin(). 2012-10-10 Brady Eidson Switch CachedResource over from SharedBuffer to a new ResourceBuffer https://bugs.webkit.org/show_bug.cgi?id=98541 Reviewed by Anders Carlsson. * WebDataSource.cpp: (WebDataSource::subresourceForURL): 2012-10-08 Simon Fraser Some GraphicsLayer cleanup to separate the concepts of using a tile cache, and being the main tile cache layer https://bugs.webkit.org/show_bug.cgi?id=98574 Reviewed by Dean Jackson. GraphicsLayerCA assumed that using a TileCache equated to being the main page tile cache layer, which has some special considerations. Make these two concepts separate to get closer to being able to use TileCaches in place of CATiledLayer. * FullscreenVideoController.cpp: (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter): 2012-10-07 Caio Marcelo de Oliveira Filho Rename first/second to key/value in HashMap iterators https://bugs.webkit.org/show_bug.cgi?id=82784 Reviewed by Eric Seidel. * COMPropertyBag.h: (::Read): (::GetPropertyInfo): * WebCoreStatistics.cpp: (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::getPluginInfo): * WebHistory.cpp: (WebHistory::removeItemFromDateCaches): * WebKitCOMAPI.cpp: (classFactory): * WebKitStatistics.cpp: (WebKitStatistics::comClassNameCounts): * WebNotificationCenter.cpp: (WebNotificationCenter::postNotificationInternal): (WebNotificationCenter::addObserver): (WebNotificationCenter::removeObserver): 2012-10-04 Simon Fraser Final part of "sync" to "flush" renaming https://bugs.webkit.org/show_bug.cgi?id=98430 Reviewed by Tim Horton. Change method names on GraphicsLayer and GraphicsLayerClient that refer to "sync" to use the term "flush" instead, to be consistent with the rest of the code. * WebView.cpp: (WebView::notifyFlushRequired): (WebView::flushPendingGraphicsLayerChanges): * WebView.h: 2012-10-04 Simon Fraser Standardize on "flush" terminology for compositing layer flushing/syncing https://bugs.webkit.org/show_bug.cgi?id=98321 Reviewed by Simon Fraser. Rename compositing-related methods that refer to "syncing" to instead refer to "flushing". * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::scheduleCompositingLayerFlush): * WebCoreSupport/WebChromeClient.h: (WebChromeClient): * WebView.cpp: (WebView::flushPendingGraphicsLayerChanges): 2012-10-02 Anders Carlsson Change most GraphicsLayer::create calls to use the version that takes a GraphicsLayerFactory https://bugs.webkit.org/show_bug.cgi?id=98217 Reviewed by Andreas Kling. * WebView.cpp: (WebView::setAcceleratedCompositing): 2012-10-01 Brady Eidson Remove the Safari 2 -> Safari 3 icon database import code. https://bugs.webkit.org/show_bug.cgi?id=98113 Reviewed by Maciej Stachowiak. Nuke the performImport() IconDatabaseClient method. * WebIconDatabase.cpp: * WebIconDatabase.h: (WebIconDatabase): 2012-09-25 Beth Dakin https://bugs.webkit.org/show_bug.cgi?id=95397 Need to merge didFirstVisuallyNonEmptyLayout and didNewFirstVisuallyNonEmptyLayout -and corresponding- Reviewed by Sam Weinig. Remove dispatchDidFirstLayout, dispatchDidFirstVisuallyNonEmptyLayout, and dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality is now replaced by dispatchDidLayout(LayoutMilestoneOptions) * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::dispatchDidLayout): * WebCoreSupport/WebFrameLoaderClient.h: (WebFrameLoaderClient): It is now necessary to opt into getting any of the "layout milestone" notifications. * WebView.cpp: (WebView::initWithFrame): 2012-09-19 Patrick Gansterer [WIN] Use BString in favour of BSTR to improve memory management https://bugs.webkit.org/show_bug.cgi?id=93128 Reviewed by Anders Carlsson. BString automatically calls SysFreeString() in its destructor which helps avoiding memory leaks. So it should be used instead of BSTR directly. Add operator& to BString to allow its usage for out parameters too (like COMPtr). This fixes already a few memory leaks in the existing code. * DefaultPolicyDelegate.cpp: (DefaultPolicyDelegate::decidePolicyForNavigationAction): (DefaultPolicyDelegate::decidePolicyForMIMEType): (DefaultPolicyDelegate::unableToImplementPolicyWithError): * MarshallingHelpers.cpp: (MarshallingHelpers::KURLToBSTR): (MarshallingHelpers::CFStringRefToBSTR): (MarshallingHelpers::stringArrayToSafeArray): (MarshallingHelpers::safeArrayToStringArray): * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::runJavaScriptPrompt): * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::checkGrammarOfString): (WebEditorClient::getGuessesForWord): * WebFrame.cpp: (WebFrame::canProvideDocumentSource): * WebHistory.cpp: (WebHistory::removeItem): (WebHistory::addItem): * WebIconDatabase.cpp: (WebIconDatabase::startUpIconDatabase): * WebNotificationCenter.cpp: (WebNotificationCenter::postNotification): * WebPreferences.cpp: (WebPreferences::setStringValue): * WebView.cpp: (toAtomicString): (toString): (toKURL): (PreferencesChangedOrRemovedObserver::onNotify): (WebView::close): (WebView::canShowMIMEType): (WebView::initWithFrame): (WebView::setApplicationNameForUserAgent): (WebView::setCustomUserAgent): (WebView::userAgentForURL): (WebView::setCustomTextEncodingName): (WebView::customTextEncodingName): (WebView::setPreferences): (WebView::searchFor): (WebView::executeCoreCommandByName): (WebView::markAllMatchesForText): (WebView::setGroupName): (WebView::registerURLSchemeAsLocal): (WebView::replaceSelectionWithText): (WebView::onNotify): (WebView::notifyPreferencesChanged): (WebView::MIMETypeForExtension): (WebView::standardUserAgentWithApplicationName): (WebView::addAdditionalPluginDirectory): (WebView::registerEmbeddedViewMIMEType): (WebView::addOriginAccessWhitelistEntry): (WebView::removeOriginAccessWhitelistEntry): (WebView::geolocationDidFailWithError): (WebView::setDomainRelaxationForbiddenForURLScheme): (WebView::setCompositionForTesting): (WebView::confirmCompositionForTesting): 2012-09-17 Sheriff Bot Unreviewed, rolling out r128809. http://trac.webkit.org/changeset/128809 https://bugs.webkit.org/show_bug.cgi?id=96958 Broke the Windows build. (Requested by andersca on #webkit). * DefaultPolicyDelegate.cpp: (DefaultPolicyDelegate::decidePolicyForNavigationAction): (DefaultPolicyDelegate::decidePolicyForMIMEType): (DefaultPolicyDelegate::unableToImplementPolicyWithError): * MarshallingHelpers.cpp: (MarshallingHelpers::KURLToBSTR): (MarshallingHelpers::CFStringRefToBSTR): (MarshallingHelpers::stringArrayToSafeArray): (MarshallingHelpers::safeArrayToStringArray): * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::runJavaScriptPrompt): * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::checkGrammarOfString): (WebEditorClient::getGuessesForWord): * WebFrame.cpp: (WebFrame::canProvideDocumentSource): * WebHistory.cpp: (WebHistory::removeItem): (WebHistory::addItem): * WebIconDatabase.cpp: (WebIconDatabase::startUpIconDatabase): * WebNotificationCenter.cpp: (WebNotificationCenter::postNotification): * WebPreferences.cpp: (WebPreferences::setStringValue): * WebView.cpp: (PreferencesChangedOrRemovedObserver::onNotify): (WebView::close): (WebView::canShowMIMEType): (WebView::initWithFrame): (WebView::setApplicationNameForUserAgent): (WebView::setCustomUserAgent): (WebView::userAgentForURL): (WebView::setCustomTextEncodingName): (WebView::customTextEncodingName): (WebView::setPreferences): (WebView::searchFor): (WebView::executeCoreCommandByName): (WebView::markAllMatchesForText): (WebView::setGroupName): (WebView::registerURLSchemeAsLocal): (WebView::replaceSelectionWithText): (WebView::onNotify): (WebView::notifyPreferencesChanged): (WebView::MIMETypeForExtension): (WebView::standardUserAgentWithApplicationName): (WebView::addAdditionalPluginDirectory): (WebView::registerEmbeddedViewMIMEType): (toString): (toKURL): (WebView::addOriginAccessWhitelistEntry): (WebView::removeOriginAccessWhitelistEntry): (WebView::geolocationDidFailWithError): (WebView::setDomainRelaxationForbiddenForURLScheme): (WebView::setCompositionForTesting): (WebView::confirmCompositionForTesting): 2012-09-16 Mark Lam Added MSVC project changes to enable building the llint. https://bugs.webkit.org/show_bug.cgi?id=96175. Reviewed by Geoff Garen. This only adds the ability to build the llint, but currently, only the C++ backend is supported. By default, the Windows port will remain running with the baseline JIT. The llint will not be enabled. * WebKit.vcproj/WebKit.sln: 2012-09-13 Brent Fulgham [WinCairo] Unreviewed build fix. * WebCookieManagerCurl.cpp: Remove unused 'using WebCore' declaration that prevented the build from completing. 2012-09-12 Sheriff Bot Unreviewed, rolling out r127876. http://trac.webkit.org/changeset/127876 https://bugs.webkit.org/show_bug.cgi?id=96600 mouse click doesn't work for spin button if spin button in iframe (Requested by yosin on #webkit). * WebActionPropertyBag.cpp: (WebActionPropertyBag::Read): * WebView.cpp: (WebView::handleContextMenuEvent): (WebView::elementAtPoint): 2012-09-10 Beth Dakin https://bugs.webkit.org/show_bug.cgi?id=96158 Need API to suppress scrollbar animations -and corresponding- Reviewed by Sam Weinig. ScrollableArea::isOnActivePage() has been re-named to ScrollableArea:: scrollbarsCanBeActive(). * WebScrollBar.cpp: (WebScrollBar::scrollbarsCanBeActive): * WebScrollBar.h: (WebScrollBar): 2012-09-10 Dominic Mazzoni AX: Update Windows port accessible role mappings to fix some tests https://bugs.webkit.org/show_bug.cgi?id=96219 Reviewed by Chris Fleizach. Update a bunch of accessible role mappings to fix tests and improve win accessibility. * AccessibleBase.cpp: (MSAARole): 2012-09-07 Allan Sandfeld Jensen Simplify hitTestResultAtPoint and nodesFromRect APIs https://bugs.webkit.org/show_bug.cgi?id=95720 Reviewed by Antonio Gomes. Update calls to new API. * WebActionPropertyBag.cpp: (WebActionPropertyBag::Read): * WebView.cpp: (WebView::handleContextMenuEvent): (WebView::elementAtPoint): 2012-09-05 Sam Weinig Part 2 of removing PlatformString.h, remove PlatformString.h https://bugs.webkit.org/show_bug.cgi?id=95931 Reviewed by Adam Barth. Remove PlatformString.h * DOMCSSClasses.cpp: * DefaultPolicyDelegate.cpp: * MarshallingHelpers.cpp: * WebCoreSupport/WebInspectorClient.h: * WebDownload.h: * WebFrame.h: * WebHistoryItem.h: * WebIconDatabase.cpp: * WebKitDLL.h: * WebKitGraphics.cpp: * WebKitSystemBits.cpp: * WebLocalizableStrings.cpp: * WebNotificationCenter.cpp: * WebResource.h: 2012-09-06 Patrick Gansterer Remove String::operator+=() from windows platform code https://bugs.webkit.org/show_bug.cgi?id=95904 Reviewed by Benjamin Poulain. Use StringBuilder and operator+() to concatenate strings instead of operator+=(). * AccessibleBase.cpp: (AccessibleBase::get_accKeyboardShortcut): * WebDownload.cpp: (WebDownload::bundlePathForTargetPath): * WebView.cpp: (imeCompositionArgumentNames): 2012-09-05 Kaustubh Atrawalkar [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals https://bugs.webkit.org/show_bug.cgi?id=92735 Reviewed by Hajime Morita. Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner. Kept the function defination and declaration to keep binary compatibility for IWebFramePrivate.idl * WebFrame.cpp: (WebFrame::numberOfPages): 2012-08-30 Benjamin Poulain Replace JSC::UString by WTF::String https://bugs.webkit.org/show_bug.cgi?id=95271 Reviewed by Geoffrey Garen. Replace UString by String. * WebFrame.cpp: (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): * WebView.cpp: (WebView::stringByEvaluatingJavaScriptFromString): 2012-08-29 Dominic Mazzoni AX: Canvas should have a distinct role https://bugs.webkit.org/show_bug.cgi?id=95248 Reviewed by Chris Fleizach. Map new CanvasRole to the same as ImageRole. * AccessibleBase.cpp: (MSAARole): 2012-08-29 Sheriff Bot Unreviewed, rolling out r126972. http://trac.webkit.org/changeset/126972 https://bugs.webkit.org/show_bug.cgi?id=95349 accessibility/canvas-description-and-role.html has been failing consistently on several bots and Dominic needs some time to investigate why (Requested by jchaffraix on #webkit). * AccessibleBase.cpp: (MSAARole): 2012-08-29 Dominic Mazzoni AX: Canvas should have a distinct role https://bugs.webkit.org/show_bug.cgi?id=95248 Reviewed by Chris Fleizach. Map new CanvasRole to the same as ImageRole. * AccessibleBase.cpp: (MSAARole): 2012-08-28 Sheriff Bot Unreviewed, rolling out r126914. http://trac.webkit.org/changeset/126914 https://bugs.webkit.org/show_bug.cgi?id=95239 it breaks everything and fixes nothing (Requested by pizlo on #webkit). * COMPropertyBag.h: (::Read): (::GetPropertyInfo): * WebCoreStatistics.cpp: (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::getPluginInfo): * WebHistory.cpp: (WebHistory::removeItemFromDateCaches): * WebKitCOMAPI.cpp: (classFactory): * WebKitStatistics.cpp: (WebKitStatistics::comClassNameCounts): * WebNotificationCenter.cpp: (WebNotificationCenter::postNotificationInternal): (WebNotificationCenter::addObserver): (WebNotificationCenter::removeObserver): 2012-08-28 Caio Marcelo de Oliveira Filho Rename first/second to key/value in HashMap iterators https://bugs.webkit.org/show_bug.cgi?id=82784 Reviewed by Eric Seidel. * COMPropertyBag.h: (::Read): (::GetPropertyInfo): * WebCoreStatistics.cpp: (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::getPluginInfo): * WebHistory.cpp: (WebHistory::removeItemFromDateCaches): * WebKitCOMAPI.cpp: (classFactory): * WebKitStatistics.cpp: (WebKitStatistics::comClassNameCounts): * WebNotificationCenter.cpp: (WebNotificationCenter::postNotificationInternal): (WebNotificationCenter::addObserver): (WebNotificationCenter::removeObserver): 2012-08-27 Sheriff Bot Unreviewed, rolling out r126836. http://trac.webkit.org/changeset/126836 https://bugs.webkit.org/show_bug.cgi?id=95163 Broke all Apple ports, EFL, and Qt. (Requested by tkent on #webkit). * COMPropertyBag.h: (::Read): (::GetPropertyInfo): * WebCoreStatistics.cpp: (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::getPluginInfo): * WebHistory.cpp: (WebHistory::removeItemFromDateCaches): * WebKitCOMAPI.cpp: (classFactory): * WebKitStatistics.cpp: (WebKitStatistics::comClassNameCounts): * WebNotificationCenter.cpp: (WebNotificationCenter::postNotificationInternal): (WebNotificationCenter::addObserver): (WebNotificationCenter::removeObserver): 2012-08-27 Caio Marcelo de Oliveira Filho Rename first/second to key/value in HashMap iterators https://bugs.webkit.org/show_bug.cgi?id=82784 Reviewed by Eric Seidel. * COMPropertyBag.h: (::Read): (::GetPropertyInfo): * WebCoreStatistics.cpp: (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::getPluginInfo): * WebHistory.cpp: (WebHistory::removeItemFromDateCaches): * WebKitCOMAPI.cpp: (classFactory): * WebKitStatistics.cpp: (WebKitStatistics::comClassNameCounts): * WebNotificationCenter.cpp: (WebNotificationCenter::postNotificationInternal): (WebNotificationCenter::addObserver): (WebNotificationCenter::removeObserver): 2012-08-23 Adrienne Walker Convert ScrollableArea ASSERT_NOT_REACHED virtuals https://bugs.webkit.org/show_bug.cgi?id=93306 Reviewed by Darin Adler. Add implementations where necessary to make derived classes concrete. Add OVERRIDE for ScrollableArea functions. * WebScrollBar.cpp: (WebScrollBar::visibleHeight): (WebScrollBar::visibleWidth): (WebScrollBar::contentsSize): (WebScrollBar::isOnActivePage): (WebScrollBar::scrollableAreaBoundingBox): * WebScrollBar.h: (WebScrollBar): 2012-08-22 Nikhil Bhargava Reduce Font.h includes across project -- improves RenderObject.h compile time https://bugs.webkit.org/show_bug.cgi?id=93629 Reviewed by Eric Seidel. Adds includes due to change in RenderStyle.h * DOMCoreClasses.cpp: 2012-08-15 Ryosuke Niwa Update manual tests and comments to refer to TestRunner instead of LayoutTestController https://bugs.webkit.org/show_bug.cgi?id=94168 Reviewed by Kent Tamura. * Interfaces/IWebPreferencesPrivate.idl: 2012-08-14 Adam Barth Delete Frame::domWindow() and Frame::existingDOMWindow() https://bugs.webkit.org/show_bug.cgi?id=93990 Reviewed by Eric Seidel. * WebFrame.cpp: (WebFrame::DOMWindow): (WebFrame::pendingFrameUnloadEventCount): 2012-08-13 Tom Sepez [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. https://bugs.webkit.org/show_bug.cgi?id=93283 Reviewed by Eric Seidel. Change the client redirectDataToPlugin method(s) to expect the possibility of a NULL argument, keeping existing behaviour otherwise. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::redirectDataToPlugin): 2012-08-05 Patrick Gansterer [WIN] Use sizeof() for cbWndExtra values https://bugs.webkit.org/show_bug.cgi?id=93179 Reviewed by Eric Carlson. Using sizof() instead of hardcoding the pointer size of the 32bit platform allows us to use the code on 64bit too. * FullscreenVideoController.cpp: (FullscreenVideoController::registerHUDWindowClass): * WebView.cpp: (WebView::registerWebViewWindowClass): 2012-07-26 Gyuyoung Kim [Mac] Fix build break on Apple win bot after r123711 https://bugs.webkit.org/show_bug.cgi?id=92354 Reviewed by Adam Barth. Missing return value. * WebFrame.cpp: (WebFrame::pageNumberForElementById): 2012-07-26 Kaustubh Atrawalkar [DRT] LTC:: pageNumberForElementById() could be moved to Internals https://bugs.webkit.org/show_bug.cgi?id=92091 Reviewed by Adam Barth. Moved the pageNumberForElementById from LayoutTestCotroller to Internals and remove the old platform specific implementations as it exclusively tests WebCore functionality. * WebFrame.cpp: Added comment for removing the function. Removed implementation. 2012-07-25 Roger Fong Changes to the WebFrame API cause dependent apps to crash. https://bugs.webkit.org/show_bug.cgi?id=91656 Reviewed by Jon Honeycutt. Changes to the WebFrame API cause certain apps to crash because of inconsistencies in the COM interface. The resumeAnimations and suspendAnimations are removed, which are still needed. The counterValueByElementId method was also removed, although is not needed there. However, for all of these methods, no method stubs were added where appropriate after removal. * Interfaces/IWebFramePrivate.idl: Added resumeAnimations() and suspendAnimations() methods back in. Added unused method stub for counterValueByElementId method. * WebFrame.cpp: (WebFrame::resumeAnimations): Added this method back in. (WebFrame::suspendAnimations): Added this method back in. * WebFrame.h: (Re)added methods and unused method stubs. 2012-07-23 Patrick Gansterer Build fix if NOMINMAX is defined by the build system. * COMEnumVariant.h: Added #ifndef NOMINMAX around #define NOMINMAX. * COMPropertyBag.h: Ditto. 2012-07-23 Pierre Rossi Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client https://bugs.webkit.org/show_bug.cgi?id=91006 Reviewed by Ryosuke Niwa. Remove numTouchEventHandlersChanged stub. * WebCoreSupport/WebChromeClient.h: 2012-07-17 Vivek Galatage Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel. https://bugs.webkit.org/show_bug.cgi?id=91196 Reviewed by Pavel Feldman. Refactoring InspectorClients. InspectorClient::openInspectorFrontend now returning the InspectorFrontendChannel. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::openInspectorFrontend): * WebCoreSupport/WebInspectorClient.h: (WebInspectorClient): 2012-07-14 Eric Carlson Enable AVCF hardware video decoding https://bugs.webkit.org/show_bug.cgi?id=90015 Reviewed by Anders Carlsson. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::graphicsDeviceAdapter): New, return the view's graphics adapter. * WebCoreSupport/WebChromeClient.h: (WebChromeClient): * WebView.cpp: (WebView::graphicsDeviceAdapter): New, return the layer tree host's graphics adapter. * WebView.h: (WebCore): (WebView): 2012-07-10 Adam Barth WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed https://bugs.webkit.org/show_bug.cgi?id=90910 Reviewed by Eric Seidel. * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): (WebPreferences::setHixie76WebSocketProtocolEnabled): (WebPreferences::hixie76WebSocketProtocolEnabled): * WebView.cpp: (WebView::notifyPreferencesChanged): 2012-07-02 Ryosuke Niwa Make HTMLCollection RefCounted https://bugs.webkit.org/show_bug.cgi?id=90414 Reviewed by Sam Weinig. * DOMHTMLClasses.cpp: (DOMHTMLDocument::forms): (DOMHTMLSelectElement::options): 2012-07-03 Mihai Balan [CSS Regions] Enabling regions on Windows lead to crash-on-launch for WebKit.exe https://bugs.webkit.org/show_bug.cgi?id=90435 Reviewed by Csaba Osztrogonác. Initial patch for enabling regions led to WebKit crashing on launch. Moving the IDL declarations for CSS regions getter/setter at the end of the file solves the problem. As per http://trac.webkit.org/changeset/95650 seems it has to do with binary compatibility. * Interfaces/IWebPreferences.idl: Mover getter/setter for CSS regions at the end of file 2012-07-02 Benjamin Poulain Do not do any logging initialization when logging is disabled https://bugs.webkit.org/show_bug.cgi?id=90228 Reviewed by Simon Fraser. * WebView.cpp: (WebView::initWithFrame): 2012-06-29 Mihai Balan [CSS Regions] Adding feature defines for CSS Regions for Windows https://bugs.webkit.org/show_bug.cgi?id=88645 Reviewed by Tony Chang. Re-trying to enable CSS regions on Windows. This time only enabling regions since exclusions lead to some very strange compiling/linking problems. This time adding preferences code to make sure the settings get propagated to DRT (previous experiments by abucur showed they didn't.). * WebPreferenceKeysPrivate.h: Added preference key for CSS regions * Interfaces/IWebPreferences.idl: Added getters and setters for CSS regions settings * WebPreferences.cpp: ditto (WebPreferences::initializeDefaultSettings): (WebPreferences::isCSSRegionsEnabled): (WebPreferences::setCSSRegionsEnabled): * WebPreferences.h: ditto (WebPreferences): * WebView.cpp: Added settings code to handle CSS regions, too (WebView::notifyPreferencesChanged): 2012-06-25 Mark Hahnenberg JSLock should be per-JSGlobalData https://bugs.webkit.org/show_bug.cgi?id=89123 Reviewed by Geoffrey Garen. Changed all sites that used JSLock to instead use the new JSLockHolder and pass in the correct JS context that the code is about to interact with that needs protection. Also added a couple JSLocks to places that didn't already have it that needed it. * WebCoreStatistics.cpp: (WebCoreStatistics::javaScriptObjectsCount): (WebCoreStatistics::javaScriptGlobalObjectsCount): (WebCoreStatistics::javaScriptProtectedObjectsCount): (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): * WebFrame.cpp: (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): * WebJavaScriptCollector.cpp: (WebJavaScriptCollector::objectCount): * WebView.cpp: (WebView::stringByEvaluatingJavaScriptFromString): (WebView::reportException): (WebView::elementFromJS): 2012-06-23 Sheriff Bot Unreviewed, rolling out r121058. http://trac.webkit.org/changeset/121058 https://bugs.webkit.org/show_bug.cgi?id=89809 Patch causes plugins tests to crash in GTK debug builds (Requested by zdobersek on #webkit). * WebCoreStatistics.cpp: (WebCoreStatistics::javaScriptObjectsCount): (WebCoreStatistics::javaScriptGlobalObjectsCount): (WebCoreStatistics::javaScriptProtectedObjectsCount): (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): * WebFrame.cpp: (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): * WebJavaScriptCollector.cpp: (WebJavaScriptCollector::objectCount): * WebView.cpp: (WebView::stringByEvaluatingJavaScriptFromString): (WebView::reportException): (WebView::elementFromJS): 2012-06-20 Mark Hahnenberg JSLock should be per-JSGlobalData https://bugs.webkit.org/show_bug.cgi?id=89123 Reviewed by Gavin Barraclough. Changed all sites that used JSLock to instead use the new JSLockHolder and pass in the correct JS context that the code is about to interact with that needs protection. * WebCoreStatistics.cpp: (WebCoreStatistics::javaScriptObjectsCount): (WebCoreStatistics::javaScriptGlobalObjectsCount): (WebCoreStatistics::javaScriptProtectedObjectsCount): (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): * WebFrame.cpp: (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): * WebJavaScriptCollector.cpp: (WebJavaScriptCollector::objectCount): * WebView.cpp: (WebView::stringByEvaluatingJavaScriptFromString): (WebView::reportException): (WebView::elementFromJS): 2012-06-20 Garret Kelly Moving cookieEnabled/setCookieEnabled from Page to Settings. https://bugs.webkit.org/show_bug.cgi?id=89545 Reviewed by Adam Barth. * WebView.cpp: (WebView::setCookieEnabled): (WebView::cookieEnabled): 2012-06-20 Julien Chaffraix Use IntSize in RenderLayer to represent scroll offsets https://bugs.webkit.org/show_bug.cgi?id=89154 Reviewed by Eric Seidel. * WebView.cpp: (WebView::gesture): Updated to pass an IntSize to scrollByRecursively. 2012-06-11 Kaustubh Atrawalkar [DRT] LTC:: counterValueForElementById() could be moved to Internals. https://bugs.webkit.org/show_bug.cgi?id=84406 Reviewed by Hajime Morita. Move the counterValueForElementById from LayoutTestCotroller to Internals and remove the old platform specific implementations as it exclusively tests WebCore functionality. * Interfaces/IWebFramePrivate.idl: * WebFrame.cpp: * WebFrame.h: 2012-06-11 Sam Weinig Remove support for disconnected/excluded from search frames, they are not used by Safari anymore https://bugs.webkit.org/show_bug.cgi?id=88723 Reviewed by Dan Bernstein. * WebFrame.cpp: (WebFrame::setIsDisconnected): (WebFrame::setExcludeFromTextSearch): Stop doing anything in these functions. 2012-06-10 Sheriff Bot Unreviewed, rolling out r119955. http://trac.webkit.org/changeset/119955 https://bugs.webkit.org/show_bug.cgi?id=88758 Breaks Chromium compile - Chromium depends on removed API (Requested by dominicc on #webkit). * WebFrame.cpp: (WebFrame::setIsDisconnected): (WebFrame::setExcludeFromTextSearch): 2012-06-10 Sam Weinig Remove support for disconnected/excluded from search frames, they are not used by Safari anymore https://bugs.webkit.org/show_bug.cgi?id=88723 Reviewed by Dan Bernstein. * WebFrame.cpp: (WebFrame::setIsDisconnected): (WebFrame::setExcludeFromTextSearch): Stop doing anything in these functions. 2012-05-31 Hajime Morrita REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac https://bugs.webkit.org/show_bug.cgi?id=86859 Reviewed by Ryosuke Niwa. * WebCoreSupport/WebEditorClient.h: (WebEditorClient::requestCheckingOfString): 2012-05-25 Jesus Sanchez-Palencia WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled https://bugs.webkit.org/show_bug.cgi?id=42328 Reviewed by Eric Seidel. * WebInspector.cpp: (WebInspector::setJavaScriptProfilingEnabled): 2012-05-25 Lynn Neir Added methods needed to implement backend for DRT's TextInputController on windows, https://bugs.webkit.org/show_bug.cgi?id=32021 Reviewed by Eric Seidel. * Interfaces/IWebViewPrivate.idl: * WebView.cpp: (WebView::setCompositionForTesting): (WebView::hasCompositionForTesting): (WebView::confirmCompositionForTesting): (WebView::compositionRangeForTesting): (WebView::firstRectForCharacterRangeForTesting): (WebView::selectedRangeForTesting): * WebView.h: (WebView): 2012-05-21 Caio Marcelo de Oliveira Filho Move setEditingBehavior() from layoutTestController to window.internals https://bugs.webkit.org/show_bug.cgi?id=42689 Reviewed by Hajime Morita and Kenneth Rohde Christiansen. Remove Win private API to get/set the editing behavior. Follow the previous removals that keep the virtual functions there but failing. * Interfaces/IWebPreferences.idl: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: (WebPreferences::unused5): (WebPreferences::unused6): * WebPreferences.h: (WebPreferences): * WebView.cpp: (WebView::notifyPreferencesChanged): 2012-05-18 MORITA Hajime Another unreviewed attempt to fix build breakage on r117572. * WebCoreSupport/WebEditorClient.h: (WebEditorClient::frameWillDetachPage): 2012-05-18 MORITA Hajime https://bugs.webkit.org/show_bug.cgi?id=85515 Stale frame in WebCore::SpellChecker::didCheckSucceeded Reviewed by Ryosuke Niwa. * WebCoreSupport/WebEditorClient.h: (WebEditorClient::frameWillDetachPage): 2012-05-17 Hironori Bono [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer https://bugs.webkit.org/show_bug.cgi?id=86591 Reviewed by Ryosuke Niwa. This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection function to remove platform-specific code from Editor::respondToChangedSelection function. No new tests, no change in behavior. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::shouldEraseMarkersAfterChangeSelection): * WebCoreSupport/WebEditorClient.h: (WebEditorClient): 2012-05-17 Dan Bernstein REGRESSION (r117428): WebKit API/SPI was removed https://bugs.webkit.org/show_bug.cgi?id=86748 Reverted r117428. * Interfaces/IWebViewPrivate.idl: * WebView.cpp: (WebView::setDomainRelaxationForbiddenForURLScheme): * WebView.h: (WebView): 2012-05-17 Gyuyoung Kim Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface https://bugs.webkit.org/show_bug.cgi?id=86704 Reviewed by Eric Seidel. Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the cross-port way through the InternalSettings interface. * Interfaces/IWebViewPrivate.idl: * WebView.cpp: * WebView.h: (WebView): 2012-05-10 Gyuyoung Kim Move resumeAnimations to use Internals interface https://bugs.webkit.org/show_bug.cgi?id=86063 Reviewed by Alexey Proskuryakov. Remove resumeAnimations functions, because it is able to work in the cross-port way through the Internals interface. * Interfaces/IWebFramePrivate.idl: * WebFrame.cpp: * WebFrame.h: 2012-05-10 Anders Carlsson Rename the missing plug-in indicator to the unavailable plug-in indicator https://bugs.webkit.org/show_bug.cgi?id=86136 Reviewed by Sam Weinig. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::shouldUnavailablePluginMessageBeButton): (WebChromeClient::unavailablePluginButtonClicked): * WebCoreSupport/WebChromeClient.h: (WebChromeClient): 2012-05-09 Gyuyoung Kim Move suspendAnimations to use Internals interface. https://bugs.webkit.org/show_bug.cgi?id=85986 Reviewed by Ryosuke Niwa. Remove suspendAnimations functions, because it is able to work in the cross-port way through the Internals interface. * Interfaces/IWebFramePrivate.idl: * WebFrame.cpp: * WebFrame.h: 2012-05-07 Julien Chaffraix Refactor windowClipRectForLayer to remove the explicit RenderLayer dependency https://bugs.webkit.org/show_bug.cgi?id=84090 Reviewed by David Hyatt. * WebCoreSupport/EmbeddedWidget.cpp: (EmbeddedWidget::windowClipRect): Updated after windowClipRectForLayer name and signature change. * WebCoreSupport/EmbeddedWidget.h: (EmbeddedWidget): (EmbeddedWidget::EmbeddedWidget): Updated the internal DOM pointer to be an HTMLPlugInElement as it was what was passed in anyway. Also fixed some style issues detected by our tools. 2012-05-05 Dean Jackson Add new Setting/Preference to disable requestAnimationFrame https://bugs.webkit.org/show_bug.cgi?id=85693 Reviewed by Simon Fraser. Exposes a new WebPreference: WebKitRequestAnimationFrameEnabled. The default value is true. The majority of applications will leave it this way. * Interfaces/IWebPreferencesPrivate.idl: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): (WebPreferences::setRequestAnimationFrameEnabled): (WebPreferences::requestAnimationFrameEnabled): * WebPreferences.h: (WebPreferences): * WebView.cpp: (WebView::notifyPreferencesChanged): 2012-05-04 Nate Chapin Don't require FrameLoaderClient to manufacture a commitData() call for empty documents. https://bugs.webkit.org/show_bug.cgi?id=85533 Reviewed by Alexey Proskuryakov. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::finishedLoading): 2012-04-27 Jon Lee Migrate permission functions to Notification from NotificationCenter https://bugs.webkit.org/show_bug.cgi?id=80485 Reviewed by Jian Li. * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: (WebDesktopNotificationsDelegate::requestPermission): * WebCoreSupport/WebDesktopNotificationsDelegate.h: (WebDesktopNotificationsDelegate): Add stub implementation of requestPermission. 2012-04-23 Jon Honeycutt FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more information about the form being submitted https://bugs.webkit.org/show_bug.cgi?id=84297 Reviewed by Andy Estes. * WebFrame.h: Fix function stub for new parameter. 2012-05-01 Ryosuke Niwa *Command.h files shouldn't be exported to WebKit layer https://bugs.webkit.org/show_bug.cgi?id=74778 Reviewed by Eric Seidel. * WebView.cpp: 2012-04-20 Emil A Eklund [win] Update windows platform code to use pixel snapped values https://bugs.webkit.org/show_bug.cgi?id=84283 Reviewed by Eric Seidel. * AccessibleBase.cpp: (AccessibleBase::accLocation): 2012-04-18 Vivek Galatage Web Inspector: Disabling Inspector causes build failure on Windows https://bugs.webkit.org/show_bug.cgi?id=83557 Reviewed by Pavel Feldman. The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard. This change brings all such API calls under the guard. * WebCoreSupport/WebInspectorClient.cpp: * WebInspector.cpp: * WebNodeHighlight.cpp: (WebNodeHighlight::WebNodeHighlight): (WebNodeHighlight::update): * WebNodeHighlight.h: (WebNodeHighlight): * WebView.cpp: (WebView::WebView): (WebView::close): (WebView::initWithFrame): (WebView::inspector): * WebView.h: (WebView): 2012-04-11 Sheriff Bot Unreviewed, rolling out r113836. http://trac.webkit.org/changeset/113836 https://bugs.webkit.org/show_bug.cgi?id=83705 Broke all the WebKit2 inspector tests (Requested by andersca on #webkit). * WebCoreSupport/WebInspectorClient.cpp: (registerWindowClass): * WebInspector.cpp: (WebInspector::setTimelineProfilingEnabled): * WebNodeHighlight.cpp: (WebNodeHighlight::WebNodeHighlight): (WebNodeHighlight::update): * WebNodeHighlight.h: (WebNodeHighlight): * WebView.cpp: (WebView::WebView): (WebView::close): (WebView::initWithFrame): (WebView::inspector): * WebView.h: (WebView): 2012-04-11 Vivek Galatage Web Inspector: Disabling Inspector causes build failure on Windows https://bugs.webkit.org/show_bug.cgi?id=83557 Reviewed by Pavel Feldman. The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard. This change brings all such API calls under the guard. * WebCoreSupport/WebInspectorClient.cpp: * WebInspector.cpp: * WebNodeHighlight.cpp: (WebNodeHighlight::WebNodeHighlight): (WebNodeHighlight::update): * WebNodeHighlight.h: (WebNodeHighlight): * WebView.cpp: (WebView::WebView): (WebView::close): (WebView::initWithFrame): (WebView::inspector): * WebView.h: (WebView): 2012-03-30 Mark Pilgrim GEOLOCATION should be implemented as Page Supplement https://bugs.webkit.org/show_bug.cgi?id=82228 Reviewed by Adam Barth. Geolocation is now a Supplement in Page so the interface has changed for setting up the page's geolocation client initially and accessing the controller later. * WebView.cpp: (WebView::initWithFrame): (WebView::geolocationDidChangePosition): (WebView::geolocationDidFailWithError): 2012-03-29 Sheriff Bot Unreviewed, rolling out r112553. http://trac.webkit.org/changeset/112553 https://bugs.webkit.org/show_bug.cgi?id=82638 It made all tests crash on Qt WK2 (Requested by Ossy_away on #webkit). * WebView.cpp: (WebView::initWithFrame): (WebView::geolocationDidChangePosition): (WebView::geolocationDidFailWithError): 2012-03-29 Caio Marcelo de Oliveira Filho HashMap<>::add should return a more descriptive object https://bugs.webkit.org/show_bug.cgi?id=71063 Reviewed by Ryosuke Niwa. Update code to use AddResult instead of a pair. * WebKitCOMAPI.cpp: (classFactory): 2012-03-29 Mark Pilgrim GEOLOCATION should be implemented as Page Supplement https://bugs.webkit.org/show_bug.cgi?id=82228 Reviewed by Adam Barth. Geolocation is now a Supplement in Page so the interface has changed for setting up the page's geolocation client initially and accessing the controller later. * WebView.cpp: (WebView::initWithFrame): (WebView::geolocationDidChangePosition): (WebView::geolocationDidFailWithError): 2012-03-28 Nate Chapin Remove dispatchDidLoadMainResource callback, since no port implements it. https://bugs.webkit.org/show_bug.cgi?id=82539 Reviewed by Alexey Proskuryakov. * WebCoreSupport/WebFrameLoaderClient.cpp: * WebCoreSupport/WebFrameLoaderClient.h: (WebFrameLoaderClient): 2012-03-26 Adam Barth FrameLoader::shouldAllowNavigation uses Frame for context rather than Document https://bugs.webkit.org/show_bug.cgi?id=81020 Reviewed by Eric Seidel. Update call site to new function name. * WebFrame.cpp: (WebFrame::dispatchWillSubmitForm): 2012-03-22 Anders Carlsson ASSERT(!needsLayout) in RenderView.cpp when visiting http://www.panic.com/blog/ https://bugs.webkit.org/show_bug.cgi?id=81953 Reviewed by Sam Weinig. Update for changes to WebCore. * FullscreenVideoController.cpp: (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles): 2012-03-20 Steve Falkenburg Move WTF-related Windows project files out of JavaScriptCore https://bugs.webkit.org/show_bug.cgi?id=80680 Reviewed by Jessie Berlin. * WebKit.vcproj/WebKit.sln: 2012-03-20 Gyuyoung Kim Convert hasSpellingMarker to use Internals interface. https://bugs.webkit.org/show_bug.cgi?id=81300 Reviewed by Ryosuke Niwa. Remove hasSpellingMarker interface support, since it can support in the cross-port way through the Internals interface. * Interfaces/IWebFramePrivate.idl: 2012-03-19 Adam Barth Remove support for "magic" iframe https://bugs.webkit.org/show_bug.cgi?id=81590 Reviewed by Eric Seidel. Remove FrameLoaderClient methods that no longer exist. * WebCoreSupport/WebFrameLoaderClient.cpp: * WebCoreSupport/WebFrameLoaderClient.h: (WebFrameLoaderClient): 2012-03-19 Anders Carlsson Fix Windows build. * FullscreenVideoController.cpp: (FullscreenVideoController::LayerClient::platformCALayerDeviceScaleFactor): 2012-03-13 Jon Lee Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS https://bugs.webkit.org/show_bug.cgi?id=80922 Reviewed by Jian Li. You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API. LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the new API. Therefore, APIs that are common between the two will have: #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to the new API, the defines will begin to split. This allows ports to decide which set of APIs to include. Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::WebChromeClient): * WebCoreSupport/WebChromeClient.h: (WebChromeClient): * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: * WebCoreSupport/WebDesktopNotificationsDelegate.h: 2012-03-13 Adam Barth && Benjamin Poulain Always enable ENABLE(CLIENT_BASED_GEOLOCATION) https://bugs.webkit.org/show_bug.cgi?id=78853 Reviewed by Adam Barth. * WebCoreSupport/WebChromeClient.h: (WebChromeClient): * WebCoreSupport/WebGeolocationClient.cpp: (WebGeolocationClient::lastPosition): * WebGeolocationPosition.cpp: (WebGeolocationPosition::initWithTimestamp): (core): * WebGeolocationPosition.h: (WebGeolocationPosition): (WebGeolocationPosition::impl): * WebView.cpp: (WebView::initWithFrame): (WebView::geolocationDidChangePosition): (WebView::geolocationDidFailWithError): 2012-03-12 Jessie Berlin More Windows build fixing. * MarshallingHelpers.cpp: * WebDatabaseManager.cpp: 2012-03-09 Jon Lee Rename NotificationPresenter to NotificationClient https://bugs.webkit.org/show_bug.cgi?id=80488 Reviewed by Kentaro Hara. Refactor to use renamed WebCore::NotificationClient. * WebCoreSupport/WebChromeClient.h: (WebChromeClient::notificationPresenter): * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: (WebDesktopNotificationsDelegate::checkPermission): * WebCoreSupport/WebDesktopNotificationsDelegate.h: (WebDesktopNotificationsDelegate): 2012-03-09 Emil A Eklund Add roundedPoint to HitTestResult and change platform code to use it https://bugs.webkit.org/show_bug.cgi?id=80715 Reviewed by James Robinson. Change ports to use roundedPoint to avoid exposing subpixel types to platform code. * WebView.cpp: (WebView::handleContextMenuEvent): 2012-03-08 Steve Falkenburg Separate WTF parts of JavaScriptCoreGenerated into WTFGenerated for Windows build https://bugs.webkit.org/show_bug.cgi?id=80657 Preparation for WTF separation from JavaScriptCore. The "Generated" vcproj files on Windows are necessary so Visual Studio can calculate correct dependencies for generated files. Reviewed by Jessie Berlin. * WebKit.vcproj/WebKit.sln: Add WTFGenerated, update dependent projects. 2012-03-03 Benjamin Poulain Remove the redundant method KURL::protocolInHTTPFamily() https://bugs.webkit.org/show_bug.cgi?id=80216 Reviewed by Anders Carlsson. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::dispatchDidFailToStartPlugin): * WebHistory.cpp: (WebHistory::visitedURL): 2012-02-26 Hajime Morrita Move ChromeClient::showContextMenu() to ContextMenuClient https://bugs.webkit.org/show_bug.cgi?id=79427 Reviewed by Adam Barth. * WebCoreSupport/WebChromeClient.h: (WebChromeClient): 2012-02-24 Shinya Kawanaka SpellCheckRequest needs to know the context where the spellcheck happened. https://bugs.webkit.org/show_bug.cgi?id=79320 Reviewed by Hajime Morita. * WebCoreSupport/WebEditorClient.h: (WebEditorClient::requestCheckingOfString): (WebEditorClient): 2012-02-21 Ryosuke Niwa Remove the remaining uses of CSSStyleDeclaration in Editor https://bugs.webkit.org/show_bug.cgi?id=78939 Reviewed by Enrica Casucci. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::shouldApplyStyle): * WebCoreSupport/WebEditorClient.h: (WebEditorClient): 2012-02-22 Ryosuke Niwa Remove the remaining uses of CSSStyleDeclaration in Editor https://bugs.webkit.org/show_bug.cgi?id=78939 Reviewed by Enrica Casucci. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::shouldApplyStyle): * WebCoreSupport/WebEditorClient.h: (WebEditorClient): 2012-02-17 Kalev Lember Remove unused parameters from WTF threading API https://bugs.webkit.org/show_bug.cgi?id=78389 Reviewed by Adam Roben. waitForThreadCompletion() had an out param 'void **result' to get the 'void *' returned by ThreadFunction. However, the implementation in ThreadingWin.cpp ignored the out param, not filling it in. This had led to a situation where none of the client code made use of the param and just ignored it. To clean this up, the patch changes the signature of ThreadFunction to return void instead of void* and drops the the unused 'void **result' parameter from waitForThreadCompletion. Also, all client code is updated for the API change. As mentioned in https://bugs.webkit.org/show_bug.cgi?id=78389 , even though the change only affects internal API, Safari is using it directly and we'll need to keep the old versions around for ABI compatibility. For this, the patch adds compatibility wrappers with the old ABI. * WebKit.vcproj/WebKit_Cairo.def: Add the new functions. * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto. 2012-02-15 Sadrul Habib Chowdhury Notify ChromeClient when touch-event handlers are installed/removed. https://bugs.webkit.org/show_bug.cgi?id=77440 Reviewed by Darin Fisher and Ryosuke Niwa. * WebCoreSupport/WebChromeClient.h: (WebChromeClient::numTouchEventHandlersChanged): 2012-02-14 Alexey Proskuryakov [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets https://bugs.webkit.org/show_bug.cgi?id=78541 Reviewed by Kent Tamura. * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default value of the preference 2012-02-11 Nikolas Zimmermann Convert svg/animations to use SMIL methods for driving the timeline https://bugs.webkit.org/show_bug.cgi?id=78422 Reviewed by Dirk Schulze. Remove SVG animation sampling functionality provided for DRT, which no longer uses it. Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime. * Interfaces/IWebFramePrivate.idl: * WebFrame.cpp: * WebFrame.h: 2012-02-13 Andy Estes Fix the Windows build. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::createPasteboardStrategy): * WebCoreSupport/WebPlatformStrategies.h: (WebPlatformStrategies): 2012-02-12 Andy Estes [Windows] Add API to enable inverted color drawing on a WebView https://bugs.webkit.org/show_bug.cgi?id=77382 Reviewed by Adam Roben. Add a new private WebPreference key called "WebKitShouldInvertColors" and add private cover methods to get and set the preference. When this preference changes on a WebPreference object, all WebViews listening to that object will repaint to reflect the new value. * Interfaces/IWebPreferencesPrivate.idl: Add [setS|s]houldInvertColors() cover methods for WebKitShouldInvertColorsPreferenceKey. * WebPreferenceKeysPrivate.h: Add WebKitShouldInvertColorsPreferenceKey. * WebPreferences.cpp: (WebPreferences::shouldInvertColors): (WebPreferences::setShouldInvertColors): * WebPreferences.h: (WebPreferences): * WebView.cpp: (WebView::setShouldInvertColors): If m_shouldInvertColors changes, update the value on the WebView and in m_layerTreeHost, then repaint the view. (WebView::notifyPreferencesChanged): (WebView::setAcceleratedCompositing): When creating a new layer tree host, tell it whether it should be inverting colors. * WebView.h: 2012-02-07 MORITA Hajime Replacement text should be available from the marker. https://bugs.webkit.org/show_bug.cgi?id=77934 Reviewed by Kent Tamura. * WebKit.vcproj/WebKit_Cairo.def: * WebKit.vcproj/WebKit_Cairo_debug.def: 2012-02-02 Jon Lee Clear shown notifications when context is no longer active https://bugs.webkit.org/show_bug.cgi?id=77363 Reviewed by Darin Adler. * WebCoreSupport/WebDesktopNotificationsDelegate.h: (WebDesktopNotificationsDelegate): Add previously missing virtual functions. * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: (WebDesktopNotificationsDelegate::notificationControllerDestroyed): (WebDesktopNotificationsDelegate::cancelRequestsForPermission): 2012-02-01 Anders Carlsson Another attempt to fix the Windows build. * FullscreenVideoController.cpp: (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles): 2012-01-26 Andy Estes [Windows] Optionally invert colors when drawing to a WebView's backing store. https://bugs.webkit.org/show_bug.cgi?id=77168 Reviewed by Sam Weinig. * WebView.cpp: (WebView::WebView): Initialize m_shouldInvertColors to false. (WebView::paintIntoBackingStore): If m_shouldInvertColors is true, draw an opaque white quad using the CompositeDifference blend mode. This blend operation instructs CoreGraphics to take the difference between the source pixel (white) and the background pixel, resulting in an inverted pixel. * WebView.h: Define m_shouldInvertColors. 2012-01-23 Simon Fraser Show layer borders for scrollbar layers https://bugs.webkit.org/show_bug.cgi?id=76888 Reviewed by Beth Dakin. Update for new signature of GraphicsLayerClient::showDebugBorders() and GraphicsLayerClient::showRepaintCounter(). * WebView.cpp: (WebView::showDebugBorders): (WebView::showRepaintCounter): * WebView.h: 2012-01-23 David Levin [windows] Convert usages of GetDC to HWndDC Part 2. https://bugs.webkit.org/show_bug.cgi?id=76750 Reviewed by Adam Roben. * FullscreenVideoController.cpp: (createCompatibleDCForWindow): Moved out the code which creates a DC for a window to keep the same scope for the DC lifetime. (FullscreenVideoController::draw): Switch to using OwnPtr since createCompatibleDCForWindow returns a PassOwnPtr. * WebNodeHighlight.cpp: (WebNodeHighlight::update): Cleaned up leaks from calling GetDC without release. Note that there is a potential leak of hdc that previously existed and still does in an early exit scenario. (This could be easily fixed by using OwnPtr but I was trying to keep this patch focused.) * WebView.cpp: (WebView::scrollBackingStore): Typical conversion. (WebView::updateBackingStore): Reduced the scope of windowDC to be right where it is being used. (WebView::performLayeredWindowUpdate): Typical conversion. (WebView::paintIntoBackingStore): Ditto. 2012-01-23 David Levin [windows] Convert usages of GetDC to HWndDC Part 1. https://bugs.webkit.org/show_bug.cgi?id=76744 Reviewed by Adam Roben. * WebIconDatabase.cpp: (createDIB): Changed GetDC to HWndDC and removed ReleaseDC. 2012-01-07 Andreas Kling Windows build fix. * DOMHTMLClasses.cpp: (DOMHTMLDocument::forms): (DOMHTMLSelectElement::options): 2012-01-06 Jessie Berlin Windows build fix. * Interfaces/IWebViewPrivate.idl: 2012-01-05 Adam Roben Add WebKitTestRunnerLauncher to WebKit.sln. It builds just after WebKitTestRunner. Part of NRWT fails to launch Apple's Windows port of DumpRenderTree/WebKitTestRunner Reviewed by Steve Falkenburg. * WebKit.vcproj/WebKit.sln: 2012-01-05 Adam Roben Add DumpRenderTreeLauncher to WebKit.sln. It builds just after DumpRenderTree. Part of NRWT fails to launch Apple's Windows port of DumpRenderTree/WebKitTestRunner Reviewed by Steve Falkenburg. * WebKit.vcproj/WebKit.sln: 2012-01-04 Adam Roben Add ImageDiffLauncher to WebKit.sln It builds just after ImageDiff. Part of ImageDiff.exe can't be run without first munging PATH Reviewed by Anders Carlsson. * WebKit.vcproj/WebKit.sln: 2012-01-04 Adam Roben Add MiniBrowserLauncher to WebKit.sln It builds just after MiniBrowser. Part of MiniBrowser fails to launch when double-clicked Reviewed by Anders Carlsson. * WebKit.vcproj/WebKit.sln: Added MiniBrowserLauncher. 2012-01-04 Adam Roben Add WinLauncherLauncher to WebKit.sln It builds just after WinLauncher. Part of WinLauncher fails to launch when double-clicked Reviewed by Anders Carlsson. * WebKit.vcproj/WebKit.sln: Added WinLauncherLauncher. 2011-12-21 Jessie Berlin Expose to Windows the way to allow a scheme access to Local Storage and Databases while Private Browsing is enabled. https://bugs.webkit.org/show_bug.cgi?id=75056 Reviewed by Sam Weinig. Add the Windows WebKit API that corresponds to the Mac one added in r99439. * WebView.cpp: (WebView::registerURLSchemeAsSecure): (WebView::registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing): (WebView::registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing): * WebView.h: 2011-12-20 Pavel Feldman Web Inspector: reproducible crash after closing web inspector and browser window (iCab) https://bugs.webkit.org/show_bug.cgi?id=74255 Reviewed by Yury Semikhatsky. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::~WebInspectorClient): (WebInspectorFrontendClient::destroyInspectorView): * WebCoreSupport/WebInspectorClient.h: 2011-12-19 Sam Weinig More PlatformEvent cleanup https://bugs.webkit.org/show_bug.cgi?id=74831 Reviewed by Dan Bernstein. * WebView.cpp: (WebView::handleMouseEvent): Update to use new names, access style. 2011-12-16 Ryosuke Niwa Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step https://bugs.webkit.org/show_bug.cgi?id=74748 Reviewed by Eric Seidel. * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::registerUndoStep): (WebEditorClient::registerRedoStep): * WebCoreSupport/WebEditorClient.h: 2011-12-16 Sam Weinig Give PlatformEvents a base class https://bugs.webkit.org/show_bug.cgi?id=74685 Reviewed by Anders Carlsson. Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent and PlatformGestureEvent and move Type enumeration and modifiers down to it. * AccessibleBase.cpp: (AccessibleBase::get_accKeyboardShortcut): * WebDropSource.cpp: (generateMouseEvent): * WebView.cpp: (WebView::keyUp): (WebView::handleEditingKeyboardEvent): (WebView::keyDown): (WebView::keyPress): 2011-12-16 Ryosuke Niwa Only EditCommandComposition should implement unapply and reapply https://bugs.webkit.org/show_bug.cgi?id=74490 Reviewed by Eric Seidel. * WebCoreSupport/WebEditorClient.cpp: (WebEditorUndoCommand::WebEditorUndoCommand): (WebEditorUndoCommand::execute): (WebEditorClient::registerCommandForUndo): (WebEditorClient::registerCommandForRedo): * WebCoreSupport/WebEditorClient.h: 2011-12-14 Jing Zhao Opening two popup menus by dispatchEvent() makes problems. https://bugs.webkit.org/show_bug.cgi?id=73304 Reviewed by Kent Tamura. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::hasOpenedPopup): Not implemented. * WebCoreSupport/WebChromeClient.h: Overrides hasOpenedPopup(). 2011-12-14 Sam Weinig Remove whitespace from InheritedPropertySheets attributes in vsprops files to appease the Visual Studio project migrator. Reviewed by Adam Roben. * WebKit.vcproj/InterfacesDebug.vsprops: * WebKit.vcproj/InterfacesDebugAll.vsprops: * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: * WebKit.vcproj/InterfacesProduction.vsprops: * WebKit.vcproj/InterfacesRelease.vsprops: * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: * WebKit.vcproj/WebKitGUIDDebug.vsprops: * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: * WebKit.vcproj/WebKitGUIDProduction.vsprops: * WebKit.vcproj/WebKitGUIDRelease.vsprops: * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: * WebKit.vcproj/WebKitLibDebug.vsprops: * WebKit.vcproj/WebKitLibDebugAll.vsprops: * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: * WebKit.vcproj/WebKitLibProduction.vsprops: * WebKit.vcproj/WebKitLibRelease.vsprops: * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: 2011-12-07 Mary Wu Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline https://bugs.webkit.org/show_bug.cgi?id=73986 Reviewed by Kenneth Rohde Christiansen. * WebView.cpp: (WebView::initWithFrame): 2011-12-05 Eric Carlson WebKit/mac part of: Add WebKit preferences for text track settings https://bugs.webkit.org/show_bug.cgi?id=73721 Reviewed by John Sullivan. * Interfaces/IWebPreferences.idl: Declare getters and setters for new properties. * WebPreferenceKeysPrivate.h: Added #define for shouldDisplaySubtitles, shouldDisplayCaptions, and shouldDisplayTextDescriptions properties. * WebPreferences.cpp: (WebPreferences::setShouldDisplaySubtitles): Added. (WebPreferences::shouldDisplaySubtitles): Ditto. (WebPreferences::setShouldDisplayCaptions): Ditto. (WebPreferences::shouldDisplayCaptions): Ditto. (WebPreferences::setShouldDisplayTextDescriptions): Ditto. (WebPreferences::shouldDisplayTextDescriptions): Ditto. * WebPreferences.h: Declare new methods. * WebView.cpp: (WebView::notifyPreferencesChanged): Updates WebCore settings from WebKit prefs. 2011-12-02 Steve Falkenburg Reviewed by Darin Adler. Changes to localStorageDatabasePath don't have any effect on Windows https://bugs.webkit.org/show_bug.cgi?id=73606 * WebView.cpp: (WebView::notifyPreferencesChanged): Propagate local storage path change to m_page's settings. 2011-11-30 Alexey Proskuryakov Remove an unneeded argument from FrameLoaderClient::download https://bugs.webkit.org/show_bug.cgi?id=73486 Reviewed by Andreas Kling. * WebFrame.cpp: (WebFrame::download): * WebFrame.h: Updated for the change. 2011-11-26 Pavel Feldman Web Inspector: remove disconnectFromBackend from the protocol. https://bugs.webkit.org/show_bug.cgi?id=73127 Reviewed by Yury Semikhatsky. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::inspectorDestroyed): (WebInspectorClient::closeInspectorFrontend): * WebCoreSupport/WebInspectorClient.h: 2011-11-26 Sheriff Bot Unreviewed, rolling out r101193. http://trac.webkit.org/changeset/101193 https://bugs.webkit.org/show_bug.cgi?id=73158 Breaks Windows and Qt minimal. (Requested by pfeldman on #webkit). * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::inspectorDestroyed): (WebInspectorFrontendClient::disconnectFromBackend): * WebCoreSupport/WebInspectorClient.h: 2011-11-26 Pavel Feldman Web Inspector: remove disconnectFromBackend from the protocol. https://bugs.webkit.org/show_bug.cgi?id=73127 Reviewed by Yury Semikhatsky. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::inspectorDestroyed): (WebInspectorClient::closeInspectorFrontend): * WebCoreSupport/WebInspectorClient.h: 2011-11-22 Pavel Feldman Web Inspector: remove Inspector::bringToFront from the protocol. https://bugs.webkit.org/show_bug.cgi?id=72937 Reviewed by Yury Semikhatsky. * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::bringFrontendToFront): * WebCoreSupport/WebInspectorClient.h: 2011-11-21 Pavel Feldman Not reviewed: an attempt to fix windows build. * WebInspector.cpp: (WebInspector::isJavaScriptProfilingEnabled): (WebInspector::setJavaScriptProfilingEnabled): 2011-06-20 Pavel Feldman Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu. https://bugs.webkit.org/show_bug.cgi?id=62985 Both: inspector protocol and WebCore/InspectorController have a number of unnecessary methods for plumbing the menu action handlers through the WebKit and WebCore. I intend to remove this menu support from the protocol and WebCore/InspectorController API. I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port. WebKit/win and WebKit2 to follow. Reviewed by Yury Semikhatsky. * WebInspector.cpp: (WebInspector::createInstance): (WebInspector::WebInspector): (WebInspector::webViewClosed): (WebInspector::showConsole): (WebInspector::isDebuggingJavaScript): (WebInspector::toggleDebuggingJavaScript): (WebInspector::isProfilingJavaScript): (WebInspector::toggleProfilingJavaScript): (WebInspector::isJavaScriptProfilingEnabled): (WebInspector::setJavaScriptProfilingEnabled): (WebInspector::isTimelineProfilingEnabled): (WebInspector::setTimelineProfilingEnabled): * WebInspector.h: * WebView.cpp: (WebView::WebView): (WebView::close): (WebView::initWithFrame): (WebView::inspector): * WebView.h: 2011-10-17 Antonio Gomes Pass a Frame* parameter in EditorClient::respondToChangedSelection https://bugs.webkit.org/show_bug.cgi?id=70248 Reviewed by Ryosuke Niwa. * WebCoreSupport/WebEditorClient.cpp: Make use of the newly added Frame* parameter. (WebEditorClient::respondToChangedSelection): * WebCoreSupport/WebEditorClient.h: 2011-11-15 Jochen Eisinger Rename ReferrerPolicy to clarify its meaning https://bugs.webkit.org/show_bug.cgi?id=72420 Reviewed by Nate Chapin. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::searchWithGoogle): 2011-11-15 Anders Carlsson HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen https://bugs.webkit.org/show_bug.cgi?id=72397 Reviewed by Dan Bernstein. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::rootViewToScreen): (WebChromeClient::screenToRootView): * WebCoreSupport/WebChromeClient.h: 2011-11-14 Anders Carlsson HostWindow invalidation functions should use root view coordinates https://bugs.webkit.org/show_bug.cgi?id=72338 Reviewed by Dan Bernstein. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::invalidateRootView): (WebChromeClient::invalidateContentsAndRootView): * WebCoreSupport/WebChromeClient.h: 2011-11-07 Adam Barth Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp https://bugs.webkit.org/show_bug.cgi?id=71755 Reviewed by Eric Seidel. * WebView.cpp: (WebView::addOriginAccessWhitelistEntry): (WebView::removeOriginAccessWhitelistEntry): (WebView::resetOriginAccessWhitelists): 2011-11-07 Adam Barth Move DomainRelaxationForbidden scheme registry to SchemeRegistry https://bugs.webkit.org/show_bug.cgi?id=71750 Reviewed by Eric Seidel. * WebView.cpp: (WebView::setDomainRelaxationForbiddenForURLScheme): 2011-11-07 Beth Dakin https://bugs.webkit.org/show_bug.cgi?id=71490 Support uiStateTransitionProgress for scrollbars -and corresponding- Reviewed by Sam Weinig. Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter. * WebScrollBar.cpp: (WebScrollBar::handleMouseEvent): 2011-11-02 Darin Adler Change remaining callers of releaseRef to call leakRef https://bugs.webkit.org/show_bug.cgi?id=71422 Reviewed by Darin Fisher. * WebCache.cpp: (WebCache::statistics): * WebDatabaseManager.cpp: (WebDatabaseManager::origins): (WebDatabaseManager::databasesWithOrigin): * WebHistoryItem.cpp: (WebHistoryItem::redirectURLs): * WebKitClassFactory.cpp: (leakRefFromCreateInstance): (WebKitClassFactory::CreateInstance): * WebScriptWorld.cpp: (WebScriptWorld::standardWorld): Use leakRef. 2011-11-02 Jon Lee Expand DragController to provide more information about the dragging session https://bugs.webkit.org/show_bug.cgi?id=71324 Reviewed by Darin Adler. * WebView.cpp: (WebView::DragEnter): Minor refactoring because operation is stored in new DragSession struct. (WebView::DragOver): Ditto. 2011-11-02 Tom Sepez XSSAuditor is silent https://bugs.webkit.org/show_bug.cgi?id=70973 Reviewed by Adam Barth. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::didDetectXSS): * WebCoreSupport/WebFrameLoaderClient.h: 2011-10-28 Jochen Eisinger Rename a number of methods mentioning JavaScript to just Script instead https://bugs.webkit.org/show_bug.cgi?id=71105 Reviewed by Adam Barth. * WebFrame.cpp: (WebFrame::dispatchDidClearWindowObjectInWorld): * WebView.cpp: (WebView::notifyPreferencesChanged): 2011-10-24 Geoffrey Garen Build fix: removed some cases of threadsafeCopy() that I missed in my previous patch. * WebDatabaseManager.cpp: (DidModifyOriginData::dispatchToMainThread): * WebDownloadCFNet.cpp: (WebDownload::initToResumeWithBundle): * WebIconDatabase.cpp: (WebIconDatabase::didImportIconURLForPageURL): 2011-10-24 Ryosuke Niwa threadsafeCopy has been renamed to isolatedCopy. * WebDatabaseManager.cpp: (DidModifyOriginData::dispatchToMainThread): 2011-10-24 Adam Barth Attempt to fix Windows build by updating to the new interface. * DOMEventsClasses.cpp: (DOMEvent::createInstance): 2011-10-18 Adam Barth Always enable ENABLE(XPATH) https://bugs.webkit.org/show_bug.cgi?id=70217 Reviewed by Eric Seidel. * Interfaces/DOMWindow.idl: 2011-10-14 Julien Chaffraix Remove layerX / layerY from the Windows API https://bugs.webkit.org/show_bug.cgi?id=70051 Reviewed by Darin Adler. Renamed layerX to unused1 and layerY to unused2 to keep the binary compatibility. * DOMEventsClasses.cpp: (DOMUIEvent::unused1): (DOMUIEvent::unused2): * DOMEventsClasses.h: (DOMKeyboardEvent::unused1): (DOMKeyboardEvent::unused2): (DOMMouseEvent::unused1): (DOMMouseEvent::unused2): (DOMWheelEvent::unused1): (DOMWheelEvent::unused2): * Interfaces/DOMEvents.idl: 2011-10-11 Simon Fraser Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms https://bugs.webkit.org/show_bug.cgi?id=68134 Reviewed by Darin Adler. Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled. Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method that reads the setting, and returns the mock theme if set. All callers now use theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build. * WebScrollBar.cpp: (WebScrollBar::requestedWidth): (WebScrollBar::requestedHeight): * WebView.cpp: (WebView::WebViewWndProc): 2011-10-03 Anders Carlsson Remove custom scrollbar painting hooks https://bugs.webkit.org/show_bug.cgi?id=69163 Reviewed by Alexey Proskuryakov. Remove now unused WebPreferences and ChromeClient overrides. * Interfaces/IWebPreferences.idl: * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: (WebPreferences::unused3): (WebPreferences::unused4): * WebPreferences.h: * WebView.cpp: (WebView::notifyPreferencesChanged): 2011-09-23 Adam Roben Remove WebKitAPITest WebKit part of WebKitAPITest and TestWebKitAPI have duplicate functionality (and names!) Reviewed by Anders Carlsson. * WebKit.vcproj/WebKit.sln: Removed WebKitAPITest.vcproj. Changed WebKitLauncherWin, which formerly depended on WebKitAPITest, to now depend on DumpRenderTree, which WebKitAPITest depended on. 2011-09-24 Adam Barth Always enable ENABLE(OFFLINE_WEB_APPLICATIONS) https://bugs.webkit.org/show_bug.cgi?id=68767 Reviewed by Eric Seidel. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::reachedApplicationCacheOriginQuota): * WebCoreSupport/WebChromeClient.h: 2011-09-22 Adam Roben Remove FindSafari from all our .sln files It isn't used anymore, so there's no point in building it. Part of Remove FindSafari Reviewed by Steve Falkenburg. * WebKit.vcproj/WebKit.sln: Also relinearized the build order while I was at it. 2011-09-22 Adam Roben Add testRegExp.vcproj to WebKit.sln Fixes Windows bots don't build testRegExp.vcproj Reviewed by Brian Weinstein. * WebKit.vcproj/WebKit.sln: Added testRegExp. Made it build just after jsc, just like it does when built as part of JavaScriptCore.sln. 2011-09-21 Steve Falkenburg Branch builds don't launch on Windows when run against trunk WebKit https://bugs.webkit.org/show_bug.cgi?id=68546 Reviewed by Darin Adler. * Interfaces/IWebPreferences.idl: Swap avFoundation and pictographicFontFamily in IDL for binary compatibility between branch and trunk. 2011-09-21 Andras Becsi [Qt] Remove Qt specific code from css/SelectorChecker.cpp https://bugs.webkit.org/show_bug.cgi?id=67702 Reviewed by Csaba Osztrogonác. * WebCoreSupport/WebPlatformStrategies.cpp: Modify to match new prototype. (WebPlatformStrategies::isLinkVisited): * WebCoreSupport/WebPlatformStrategies.h: Ditto. 2011-09-17 Mihai Parparita FrameLoaderClient BackForwardList-related methods are unsued https://bugs.webkit.org/show_bug.cgi?id=68293 Reviewed by Darin Adler. Remove FrameLoaderClient methods that were added by r51629, since only the old (since-deleted) Android port needed them. * WebCoreSupport/WebFrameLoaderClient.cpp: * WebCoreSupport/WebFrameLoaderClient.h: 2011-09-15 Adam Barth Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE) https://bugs.webkit.org/show_bug.cgi?id=68205 Reviewed by Eric Seidel. * ForEachCoClass.h: * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: * WebDatabaseManager.cpp: * WebDatabaseManager.h: * WebSecurityOrigin.cpp: (WebSecurityOrigin::usage): (WebSecurityOrigin::quota): (WebSecurityOrigin::setQuota): * WebView.cpp: (WebView::initWithFrame): (WebView::notifyPreferencesChanged): 2011-09-15 Kentaro Hara A single line must not be split into two pages. https://bugs.webkit.org/show_bug.cgi?id=65005 Reviewed by David Hyatt. When the document width of a page is overflowed, the last line of the page can be split into the next page. This is the regression caused by r88737. r88737 tried to fix rounding errors in rendering calculations by expanding and shrinking a page using one common method, resizePageRectsKeepingRatio(), but overlooked the case where a document width gets overflowed. Test: printing/single-line-must-not-be-split-into-two-pages.html * WebFrame.cpp: (WebFrame::setPrinting): Passes an original page size to setPrinting(). (WebFrame::setInPrintingMode): Ditto. * WebFrame.h: 2011-09-06 Ryosuke Niwa Rename confirmCompositionWithoutDisturbingSelection to cancelComposition https://bugs.webkit.org/show_bug.cgi?id=67569 Reviewed by Antonio Gomes. * WebView.cpp: (WebView::resetIME): 2011-08-29 Alexey Proskuryakov DumpRenderTree should begin each test with an empty cookie store https://bugs.webkit.org/show_bug.cgi?id=63545 Reviewed by Darin Adler. * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): (WebCookieManager::setCookieStorage): Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage() returns an unretained reference, which we cannot provide any more, but it should not be a practical issue. * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Updated to use currentCFHTTPCookieStorage() instead of currentCookieStorage(). 2011-08-30 Kaustubh Atrawalkar The unused ScrollView* argument can and should be removed from scrollRectIntoView. https://bugs.webkit.org/show_bug.cgi?id=67117 Reviewed by Darin Adler. * WebCoreSupport/WebChromeClient.h: (WebChromeClient::scrollRectIntoView): 2011-08-29 Ryosuke Niwa Move setInnerTextValue from RenderTextControl to HTMLTextFormControlElement https://bugs.webkit.org/show_bug.cgi?id=67152 Reviewed by Darin Adler. Updated call sites of lastChangeWasUserEdit since it's moved from RenderTextControl to HTMLTextFormControlElement. * DOMHTMLClasses.cpp: (DOMHTMLInputElement::isUserEdited): (DOMHTMLTextAreaElement::isUserEdited): 2011-08-29 Sheriff Bot Unreviewed, rolling out r93987, r93992, r93995, r93998, and r93999. http://trac.webkit.org/changeset/93987 http://trac.webkit.org/changeset/93992 http://trac.webkit.org/changeset/93995 http://trac.webkit.org/changeset/93998 http://trac.webkit.org/changeset/93999 https://bugs.webkit.org/show_bug.cgi?id=67147 Many failing tests (Requested by ap on #webkit). * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): (WebCookieManager::setCookieStorage): * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): 2011-08-29 Alexey Proskuryakov Windows build fix. * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Updated for new function name and signature: currentCFHTTPCookieStorage(). 2011-08-26 Alexey Proskuryakov DumpRenderTree should begin each test with an empty cookie store https://bugs.webkit.org/show_bug.cgi?id=63545 Reviewed by Darin Adler. * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): (WebCookieManager::setCookieStorage): Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage() returns an unretained reference, which we cannot provide any more, but it should not be a practical issue. 2011-08-17 Adam Roben Make WebCore keep track of the current device scale factor Fixes WebCore requires every WebKit port to keep track of the device scale factor Reviewed by Darin Adler. * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: Removed deviceScaleFactor. 2011-08-15 Dmitry Titov FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters https://bugs.webkit.org/show_bug.cgi?id=66165 Reviewed by Darin Fisher. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::transferLoadingResourceFromPage): * WebCoreSupport/WebFrameLoaderClient.h: 2011-08-15 Adam Roben Touch a file to trigger a Windows build I'm trying to ferret out some issues with our Debug builder. * WebView.cpp: Sorted #includes. 2011-08-10 Adam Roben Clear up scale factor terminology WebKit by and large deals with two scale factors: one intrinsic to the device on which the software is running, and one that is per-Page and can be controlled via API calls. This patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the code use those names. It should introduce no behavior changes. Fixes WebKit uses multiple conflicting names to refer to the device scale factor Reviewed by Simon Fraser. * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: 2011-08-13 Dan Bernstein Changed the value of WebKitShowsToolTipOverTruncatedTextPreferenceKey to match the naming everywhere else. Reviewed by Joseph Pecoraro. * WebPreferenceKeysPrivate.h: 2011-08-13 Dan Bernstein Build fix. * WebView.cpp: (WebView::notifyPreferencesChanged): 2011-08-12 Dan Bernstein Add an option to automatically show tooltips (with the full text) over truncated text https://bugs.webkit.org/show_bug.cgi?id=66178 Reviewed by Simon Fraser. * Interfaces/IWebPreferencesPrivate.idl: Added accessors. * WebPreferenceKeysPrivate.h: Defined a preference key. * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Added a default value of false for the ShowsToolTipOverTruncatedText preference. (WebPreferences::showsToolTipOverTruncatedText): Added this getter. (WebPreferences::setShowsToolTipOverTruncatedText): Added this setter. * WebPreferences.h: * WebView.cpp: (WebView::notifyPreferencesChanged): Added call to Settings::setShowsToolTipOverTruncatedText(). 2011-08-05 Brent Fulgham WebView::performLayeredWindowUpdate() crashes with NULL pointer when using layered window updates. https://bugs.webkit.org/show_bug.cgi?id=60618 Reviewed by Adam Roben. During resize operations, the backing store will be destroyed if the window's size (either height or width) is set to zero. The bug was identified when a user first resized a WebView to zero dimensions, then attempted to perform a MoveWindow. The paint message triggered by the MoveWindow attempted to use the layered window update logic, which encountered the nulled backing store. * WebView.cpp: (WebView::performLayeredWindowUpdate): Add an early return when there is no backing store to blend with. 2011-08-05 Anders Carlsson Remove PluginHalter https://bugs.webkit.org/show_bug.cgi?id=65729 Reviewed by Darin Adler. Remove plug-in halter and associated classes. * Interfaces/IWebPluginHalterDelegate.idl: Removed. * Interfaces/IWebPreferencesPrivate.idl: * Interfaces/IWebViewPrivate.idl: * Interfaces/WebKit.idl: * WebCoreSupport/WebPluginHalterClient.cpp: Removed. * WebCoreSupport/WebPluginHalterClient.h: Removed. * WebKit.vcproj/Interfaces.vcproj: * WebKit.vcproj/WebKit.vcproj: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): * WebPreferences.h: * WebView.cpp: (WebView::close): (WebView::initWithFrame): (WebView::notifyPreferencesChanged): (WebView::unused1): (WebView::unused2): (WebView::unused3): (WebView::unused4): (WebView::unused5): * WebView.h: 2011-08-04 Jeff Miller Add support for setting and getting whether AVFoundation is enabled to IWebPreferences https://bugs.webkit.org/show_bug.cgi?id=65718 Reviewed by Adam Roben. * Interfaces/IWebPreferences.idl: Added setAVFoundationEnabled() and avFoundationEnabled(). * WebPreferenceKeysPrivate.h: Added WebKitAVFoundationEnabledPreferenceKey. * WebPreferences.cpp: (WebPreferences::avFoundationEnabled): Added. (WebPreferences::setAVFoundationEnabled): Added. * WebPreferences.h: Added setAVFoundationEnabled() and avFoundationEnabled(). * WebView.cpp: (WebView::notifyPreferencesChanged): Keep settings for AVFoundation being enabled in sync. 2011-08-03 Kent Tamura [Windows] Fix build without ENABLE_VIDEO. * WebView.cpp: (WebView::enterFullscreenForNode): 2011-08-03 Kent Tamura Fix incorrect checks for HTMLMediaElement https://bugs.webkit.org/show_bug.cgi?id=65590 Reviewed by Dimitri Glazkov.