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.