- 24 Jan, 2011 40 commits
-
-
tony@chromium.org authored
Unreviewed, reverting 5 changes of baselines that are incorrect for Linux. Mark win tests as failing for now. * platform/chromium-linux/fast/css/acid2-expected.txt: Removed. * platform/chromium-linux/fast/css/acid2-pixel-expected.checksum: * platform/chromium-linux/fast/css/acid2-pixel-expected.png: * platform/chromium-linux/fast/css/acid2-pixel-expected.txt: Removed. * platform/chromium-linux/fast/forms/button-sizes-expected.checksum: * platform/chromium-linux/fast/forms/button-sizes-expected.png: * platform/chromium-linux/fast/forms/button-sizes-expected.txt: * platform/chromium-linux/fast/forms/input-button-sizes-expected.checksum: * platform/chromium-linux/fast/forms/input-button-sizes-expected.png: * platform/chromium-linux/fast/forms/input-button-sizes-expected.txt: * platform/chromium-linux/http/tests/misc/acid2-expected.txt: Removed. * platform/chromium-linux/http/tests/misc/acid2-pixel-expected.checksum: * platform/chromium-linux/http/tests/misc/acid2-pixel-expected.png: * platform/chromium-linux/http/tests/misc/acid2-pixel-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt: Added. * platform/chromium-linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt: Removed. * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.txt: * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-04-t-expected.txt: Removed. * platform/chromium-linux/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt: Removed. * platform/chromium-linux/svg/custom/svg-fonts-in-html-expected.txt: Removed. * platform/chromium-linux/svg/custom/svg-fonts-with-no-element-reference-expected.txt: Removed. * platform/chromium-linux/svg/hixie/perf/003-expected.txt: Added. * platform/chromium-linux/svg/hixie/perf/004-expected.txt: Added. * platform/chromium-linux/svg/hixie/perf/005-expected.txt: Added. * platform/chromium-linux/svg/hixie/perf/006-expected.txt: Added. * platform/chromium-linux/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt: Added. * platform/chromium-linux/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt: Added. * platform/chromium-linux/svg/text/text-hkern-expected.txt: Removed. * platform/chromium-linux/svg/text/text-hkern-on-vertical-text-expected.checksum: Removed. * platform/chromium-linux/svg/text/text-hkern-on-vertical-text-expected.png: Removed. * platform/chromium-linux/svg/text/text-hkern-on-vertical-text-expected.txt: Removed. * platform/chromium-linux/svg/text/text-text-01-b-expected.checksum: * platform/chromium-linux/svg/text/text-text-01-b-expected.png: * platform/chromium-linux/svg/text/text-text-01-b-expected.txt: * platform/chromium-linux/svg/text/text-text-04-t-expected.txt: Removed. * platform/chromium-linux/svg/text/text-vkern-expected.checksum: Removed. * platform/chromium-linux/svg/text/text-vkern-expected.txt: Removed. * platform/chromium-linux/svg/text/text-vkern-on-horizontal-text-expected.txt: Removed. * platform/chromium-win/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt: Removed. * platform/chromium-win/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt: Removed. * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt: * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt: * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt: * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt: * platform/chromium-win/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt: * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt: * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt: * platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt: * platform/chromium-win/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt: * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt: * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt: * platform/chromium-win/svg/W3C-SVG-1.1/text-text-04-t-expected.txt: * platform/chromium-win/svg/batik/text/xmlSpace-expected.txt: * platform/chromium-win/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt: * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.checksum: * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.png: * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.txt: * platform/chromium-win/svg/custom/svg-fonts-with-no-element-reference-expected.checksum: * platform/chromium-win/svg/custom/svg-fonts-with-no-element-reference-expected.png: * platform/chromium-win/svg/custom/svg-fonts-with-no-element-reference-expected.txt: Removed. * platform/chromium-win/svg/text/text-hkern-expected.txt: Removed. * platform/chromium-win/svg/text/text-hkern-on-vertical-text-expected.checksum: * platform/chromium-win/svg/text/text-hkern-on-vertical-text-expected.png: * platform/chromium-win/svg/text/text-hkern-on-vertical-text-expected.txt: Removed. * platform/chromium-win/svg/text/text-text-04-t-expected.checksum: * platform/chromium-win/svg/text/text-text-04-t-expected.png: * platform/chromium-win/svg/text/text-text-04-t-expected.txt: * platform/chromium-win/svg/text/text-vkern-expected.checksum: * platform/chromium-win/svg/text/text-vkern-expected.png: * platform/chromium-win/svg/text/text-vkern-expected.txt: Removed. * platform/chromium-win/svg/text/text-vkern-on-horizontal-text-expected.txt: Removed. * platform/chromium/test_expectations.txt: 2011-01-24 Tony Chang <tony@chromium.org> Unreviewed, round ascent and descent to match old code. * platform/graphics/chromium/SimpleFontDataLinux.cpp: (WebCore::SimpleFontData::platformInit): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Chris Marrin. perspective() transform function should take lengths https://bugs.webkit.org/show_bug.cgi?id=52683 The argument to the perspective() transform function should be a Length, rather than a bare number. Bare numbers are still accepted (and treated as px), but this behavior is deprecated. Test: animations/3d/transform-perspective.html transforms/3d/general/3dtransform-values.html * css/CSSParser.cpp: (WebCore::CSSParser::parseTransform): Check the units for the perspective() function. Allow bare numbers for backwards compatibility. * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::createTransformOperations): Convert value to Length. * platform/graphics/transforms/PerspectiveTransformOperation.cpp: (WebCore::clampToPostiveInteger): Helper. (WebCore::PerspectiveTransformOperation::blend): Blend via Lengths. * platform/graphics/transforms/PerspectiveTransformOperation.h: (WebCore::PerspectiveTransformOperation::create): double -> Length. (WebCore::PerspectiveTransformOperation::perspective): Ditto. (WebCore::PerspectiveTransformOperation::isIdentity): Ditto. (WebCore::PerspectiveTransformOperation::apply): Ditto. (WebCore::PerspectiveTransformOperation::PerspectiveTransformOperation): Assert that the Length is a fixed type. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tkent@chromium.org authored
Reviewed by Dimitri Glazkov. [Windows] Textfield <input>s have different widths. https://bugs.webkit.org/show_bug.cgi?id=48405 * fast/forms/input-widths-expected.txt: Added. * fast/forms/input-widths.html: Added. 2011-01-24 Kent Tamura <tkent@chromium.org> Reviewed by Dimitri Glazkov. [Windows] Textfield <input>s have different widths. https://bugs.webkit.org/show_bug.cgi?id=48405 - Apply the padding override for type=text to other textfield types too. - Reset margin value of outer spin button, which is not used in Windows. - Don't add inner spin button width to the preferred text field width. Text fields should have the identical widths regardless of the existence of spin buttons. Test: fast/forms/input-widths.html * css/themeWin.css: (input[type="week"]): (input[type="week"]:disabled): (input[type="search"]::-webkit-search-cancel-button): (input::-webkit-outer-spin-button): * rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::preferredContentWidth): Don't add inner spin button width to the preferred width. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tkent@chromium.org authored
Reviewed by Dimitri Glazkov. Some bugs of search cancel button and spin button about state change in an event handler. https://bugs.webkit.org/show_bug.cgi?id=46950 * fast/forms/input-number-change-type-on-focus-expected.txt: Added. * fast/forms/input-number-change-type-on-focus.html: Added. * fast/forms/search-hide-cancel-on-cancel-expected.txt: Added. * fast/forms/search-hide-cancel-on-cancel.html: Added. 2011-01-24 Kent Tamura <tkent@chromium.org> Reviewed by Dimitri Glazkov. Some bugs of search cancel button and spin button about state change in an event handler. https://bugs.webkit.org/show_bug.cgi?id=46950 Fix the following problems: * Type=search field didn't release event capturing * Assertion failure when an input field with spin buttons was changed to another type on focus event. * A input field with spin button didn't release event capturing when it was changed to another type on focus event. Tests: fast/forms/input-number-change-type-on-focus.html fast/forms/search-hide-cancel-on-cancel.html * rendering/TextControlInnerElements.cpp: (WebCore::SearchFieldCancelButtonElement::defaultEventHandler): - Make the variable 'input' RefPtr. It makes the code simpler. - Remove visibility check on mouseup event. We should release capturing anyway because the cancel button may be invisible if JavaScript code called by the focus event removes the input value. (WebCore::SpinButtonElement::detach): - Release capturing on detach because it is possible that a spin button node is detached while it is capturing events. (WebCore::SpinButtonElement::defaultEventHandler): Take a reference to this and check renderer() after some functions which may run JavaScript code. (WebCore::InputFieldSpeechButtonElement::defaultEventHandler): Make the variable 'input' RefPtr to align other functions in this file. (WebCore::InputFieldSpeechButtonElement::setRecognitionResult): ditto. * rendering/TextControlInnerElements.h: Declare SpinButtonElement::detach(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
Reviewed by Ojan Vafai. Inserting multiple whitespace using text composition (IME) should insert interleaved nbsp and whitespace. https://bugs.webkit.org/show_bug.cgi?id=52781 The test was rebaselined to have interleaved space and non-breaking space. * editing/inserting/insert-composition-whitespace-expected.txt: * editing/inserting/insert-composition-whitespace.html: 2011-01-24 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Ojan Vafai. Inserting multiple whitespace using text composition (IME) should insert interleaved nbsp and whitespace. https://bugs.webkit.org/show_bug.cgi?id=52781 The bug was caused by stringWithRebalancedWhitespace's replacing the space at the beginning of a paragraph and the end of a paragraph by a non-breaking space after it replaced two consecutive spaces by a space and non-breaking space pattern, thereby replacing more spaces by non-breaking spaces than needed. Rewrote the function using Vector<UChar> to fix the bug. New function no longer calls String::replace multiple times but instead it traverses through the string and replaces a space that immediately follows another space or appears at the beginning of a paragraph or at the end of a paragraph by a non-break space. * editing/CompositeEditCommand.cpp: * editing/htmlediting.cpp: (WebCore::stringWithRebalancedWhitespace): Written. * editing/htmlediting.h: (WebCore::isWhitespace): Removed from CompositeEditCommand.cpp git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Skip one more crashing test. * platform/gtk/Skipped: Skip a test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
* WebProcess/mac/WebProcessMac.mm: (WebKit::initializeSandbox): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kbr@google.com authored
Reviewed by James Robinson. Web Audio API: port FFTFrame to FFTW https://bugs.webkit.org/show_bug.cgi?id=52989 Ported FFTFrame class to the open-source FFTW library. Tested with unit tests from Chris Rogers. Made preliminary changes to GYP files for conditional compilation of these files; will need to be adjusted once FFTW is integrated as third-party source. * WebCore.gyp/WebCore.gyp: * WebCore.gypi: * platform/audio/FFTFrame.h: * platform/audio/fftw: Added. * platform/audio/fftw/FFTFrameFFTW.cpp: Added. (WebCore::FFTFrame::FFTFrame): (WebCore::FFTFrame::~FFTFrame): (WebCore::FFTFrame::multiply): (WebCore::FFTFrame::doFFT): (WebCore::FFTFrame::doInverseFFT): (WebCore::FFTFrame::cleanup): (WebCore::FFTFrame::realData): (WebCore::FFTFrame::imagData): (WebCore::FFTFrame::fftwPlanForSize): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Dan Bernstein. Reset the page scale factor on standard frame loads https://bugs.webkit.org/show_bug.cgi?id=53058 <rdar://problem/8908844> Add a symbol needed by WebKit2. * WebCore.exp.in: 2011-01-24 Anders Carlsson <andersca@apple.com> Reviewed by Dan Bernstein. Reset the page scale factor on standard frame loads https://bugs.webkit.org/show_bug.cgi?id=53058 <rdar://problem/8908844> * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::scaleWebView): Don't set m_viewScaleFactor here. It will be set in viewScaleFactorDidChange. (WebKit::WebPageProxy::viewScaleFactorDidChange): Update m_viewScaleFactor. * UIProcess/WebPageProxy.h: Add viewScaleFactorDidChange. * UIProcess/WebPageProxy.messages.in: Add ViewScaleFactorDidChange message. * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad): Set the scale factor. (WebKit::WebFrameLoaderClient::restoreViewState): Inform the UI process about the new view scale factor. * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::scaleWebView): Send a ViewScaleFactorDidChange message. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
Reviewed by Eric Seidel. Stop instantiating legacy editing positions in InsertTextCommand, MoveSelectionCommand, ReplaceSelectionCommand, SelectionController, SpellChecker, TypingCommand, and markup.cpp https://bugs.webkit.org/show_bug.cgi?id=52676 Stop instantiating legacy editing positions in the following files. * editing/InsertTextCommand.cpp: (WebCore::InsertTextCommand::prepareForTextInsertion): (WebCore::InsertTextCommand::performTrivialReplace): (WebCore::InsertTextCommand::input): (WebCore::InsertTextCommand::insertTab): * editing/MoveSelectionCommand.cpp: (WebCore::MoveSelectionCommand::doApply): * editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds): (WebCore::ReplaceSelectionCommand::mergeEndIfNeeded): (WebCore::ReplaceSelectionCommand::doApply): (WebCore::ReplaceSelectionCommand::shouldRemoveEndBR): (WebCore::ReplaceSelectionCommand::performTrivialReplace): * editing/SelectionController.cpp: (WebCore::SelectionController::setSelectionFromNone): * editing/SpellChecker.cpp: (WebCore::SpellChecker::didCheck): * editing/TypingCommand.cpp: (WebCore::TypingCommand::makeEditableRootEmpty): (WebCore::TypingCommand::deleteKeyPressed): (WebCore::TypingCommand::forwardDeleteKeyPressed): * editing/markup.cpp: (WebCore::StyledMarkupAccumulator::appendText): (WebCore::StyledMarkupAccumulator::serializeNodes): (WebCore::highestAncestorToWrapMarkup): (WebCore::createMarkup): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs@apple.com authored
Reviewed by Anders Carlsson. Use designated temp directory for the database for WebKit2 https://bugs.webkit.org/show_bug.cgi?id=53052 Adopt the new WK2 API for this. * WebKitTestRunner/TestController.cpp: (WTR::TestController::libraryPathForTesting): (WTR::TestController::initialize): * WebKitTestRunner/TestController.h: * WebKitTestRunner/mac/TestControllerMac.mm: (WTR::TestController::platformLibraryPathForTesting): * WebKitTestRunner/qt/TestControllerQt.cpp: (WTR::TestController::platformLibraryPathForTesting): * WebKitTestRunner/win/TestControllerWin.cpp: (WTR::TestController::platformLibraryPathForTesting): 2011-01-24 Maciej Stachowiak <mjs@apple.com> Reviewed by Anders Carlsson. Use designated temp directory for the database for WebKit2 https://bugs.webkit.org/show_bug.cgi?id=53052 Add the API necessary to support this. Database path is now determined on the UI process side and passed to the Web process. Reviewed by Anders Carlsson. * GNUmakefile.am: * Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode): (WebKit::WebProcessCreationParameters::decode): * Shared/WebProcessCreationParameters.h: * UIProcess/API/C/WKContext.cpp: (WKContextSetDatabaseDirectory): * UIProcess/API/C/WKContextPrivate.h: * UIProcess/WebContext.cpp: (WebKit::WebContext::ensureWebProcess): (WebKit::WebContext::databaseDirectory): * UIProcess/WebContext.h: (WebKit::WebContext::setDatabaseDirectory): * UIProcess/mac/WebContextMac.mm: (WebKit::WebContext::platformDefaultDatabaseDirectory): * UIProcess/qt/WebContextQt.cpp: (WebKit::WebContext::platformDefaultDatabaseDirectory): * UIProcess/win/WebContextWin.cpp: (WebKit::WebContext::platformDefaultDatabaseDirectory): * WebKit2.pro: * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebDatabaseManager.cpp: (WebKit::WebDatabaseManager::initialize): (WebKit::WebDatabaseManager::WebDatabaseManager): * WebProcess/WebCoreSupport/WebDatabaseManager.h: * WebProcess/WebCoreSupport/gtk/WebDatabaseManagerGtk.cpp: Removed. * WebProcess/WebCoreSupport/mac/WebDatabaseManagerMac.mm: Removed. * WebProcess/WebCoreSupport/qt/WebDatabaseManagerQt.cpp: Removed. * WebProcess/WebCoreSupport/win/WebDatabaseManagerWin.cpp: Removed. * WebProcess/WebProcess.cpp: (WebKit::WebProcess::WebProcess): (WebKit::WebProcess::initializeWebProcess): * WebProcess/com.apple.WebProcess.sb: * WebProcess/mac/WebProcessMac.mm: (WebKit::initializeSandbox): * win/WebKit2.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Skipping failing tests after r76555. * platform/gtk/Skipped: Skip failing tests. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Darin Adler. Roll back r67261 ("Don't fire onclick on middle clicks") due to regressions. https://bugs.webkit.org/show_bug.cgi?id=46733 * fast/events/mouse-click-events-expected.txt: * fast/events/script-tests/mouse-click-events.js: 2011-01-24 Peter Kasting <pkasting@google.com> Reviewed by Darin Adler. Roll back r67261 ("Don't fire onclick on middle clicks") due to regressions. https://bugs.webkit.org/show_bug.cgi?id=46733 * html/HTMLAnchorElement.cpp: (WebCore::isLinkClick): * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::preDispatchEventHandler): (WebCore::HTMLInputElement::postDispatchEventHandler): (WebCore::HTMLInputElement::defaultEventHandler): * page/EventHandler.cpp: (WebCore::EventHandler::handleMouseDoubleClickEvent): (WebCore::EventHandler::handleMouseReleaseEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xji@chromium.org authored
Unreviewed. Skip cjk-segmentation.html (introduced in r76548) in QT. QT skipped range-expand.html, skip cjk-segmentation as well. * platform/qt/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Reviewed by Eric Seidel. [GTK] Many DOM XHTML tests time out https://bugs.webkit.org/show_bug.cgi?id=52553 * platform/gtk/Skipped: Unskip tests which are no longer timing out. 2011-01-24 Martin Robinson <mrobinson@igalia.com> Reviewed by Eric Seidel. [GTK] Many DOM XHTML tests time out https://bugs.webkit.org/show_bug.cgi?id=52553 Properly handle the situation where a synchronous load fails before the inner event loop has started. In this case, we simply do not run the inner event loop, or else it will block indefinitely (since no GIO or libsoup callbacks will fire). * platform/network/soup/ResourceHandleSoup.cpp: (WebCore::ResourceHandle::loadResourceSynchronously): Bail out of a synchronous load if it fails up front. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lforschler@apple.com authored
Reviewed by Stephanie Lewis. * BuildSlaveSupport/build.webkit.org-config/config.json: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
gyuyoung.kim@samsung.com authored
Reviewed by Adam Barth. Add EFL Builder to core waterfall https://bugs.webkit.org/show_bug.cgi?id=52704 Add EFL Builder to the core waterfall again. * Scripts/webkitpy/common/net/buildbot/buildbot.py: * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
Unreviewed Chromium test expectation update for r76548. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
* win/WebKit2.vcproj: Don't build the CG Utilities when building without CG support. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by John Sullivan. Don't use the timeout checker for non-user-interaction messages https://bugs.webkit.org/show_bug.cgi?id=53046 * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp: (WebKit::ChunkedUpdateDrawingAreaProxy::didSetSize): (WebKit::ChunkedUpdateDrawingAreaProxy::sendSetSize): * UIProcess/LayerBackedDrawingAreaProxy.cpp: (WebKit::LayerBackedDrawingAreaProxy::sizeDidChange): (WebKit::LayerBackedDrawingAreaProxy::didSetSize): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zmo@google.com authored
Reviewed by Darin Adler. Remove sizeInBytes from GraphicsContext3D's various implementations https://bugs.webkit.org/show_bug.cgi?id=52339 * src/GraphicsContext3DChromium.cpp: * src/GraphicsContext3DInternal.h: 2011-01-24 Zhenyao Mo <zmo@google.com> Reviewed by Darin Adler. Remove sizeInBytes from GraphicsContext3D's various implementations https://bugs.webkit.org/show_bug.cgi?id=52339 * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::sizeInBytes): * platform/graphics/GraphicsContext3D.h: * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: * platform/graphics/qt/GraphicsContext3DQt.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xji@chromium.org authored
Reviewed by Ryosuke Niwa. Add test for Chinese Segmentation. https://bugs.webkit.org/show_bug.cgi?id=52926 The CJK segmentation currently does not work in other ports except Chromium. Please refer to https://bugs.webkit.org/show_bug.cgi?id=53044 for detail. * fast/text/international/cjk-segmentation-expected.txt: Added. * fast/text/international/cjk-segmentation.html: Added. * platform/chromium/fast/text/international: Added. * platform/chromium/fast/text/international/cjk-segmentation-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Tony Chang. new-run-webkit-tests fails to start HTTP server if there are proxy settings https://bugs.webkit.org/show_bug.cgi?id=52872 Force disabling proxy to resolve the problem. * Scripts/webkitpy/layout_tests/port/http_server_base.py: * Scripts/webkitpy/layout_tests/port/websocket_server.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
Source/JavaScriptCore: * JavaScriptCore.vcproj/JavaScriptCore.make: Update for move of JavaScriptCore into Source. Source/WebCore: * WebCore.vcproj/WebCore.make: Update for move of WebCore into Source. Source/WebKit/win: * WebKit.vcproj/WebKit.make: Update for move of WebKit into Source. Source/WebKit2: * win/WebKit2.make: Update for move of WebKit2 into Source. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
wsiegrist@apple.com authored
Apply fix for https://bugzilla.mozilla.org/show_bug.cgi?id=621591 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs@apple.com authored
Reviewed by Eric Seidel. Skip a newly added test that uses textInputController https://bugs.webkit.org/show_bug.cgi?id=53027 * platform/mac-wk2/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jberlin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=53029 Reviewed by Adam Roben. * UIProcess/win/TextCheckerWin.cpp: Disable the warnings for this file. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andreip@google.com authored
Unreviewed, build fix. LayoutTest/storage/indexeddb/objectstore-autoincrement.html is failing after r76533 https://bugs.webkit.org/show_bug.cgi?id=53032 Fix the expected output, which still had an error. * storage/indexeddb/objectstore-autoincrement-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
antonm@chromium.org authored
Reviewed by Nate Chapin. [v8] Refactoring: extract IntrusiveDOMWrapperMap into a seprate class and files. https://bugs.webkit.org/show_bug.cgi?id=52911 Plain refactoring, covered by the existing tests. * WebCore.gypi: IntrusiveDOMWrapperMap.h added. * bindings/v8/DOMDataStore.cpp: IntrusiveDOMWrapperMap is moved out of DOMDataStore class. * bindings/v8/DOMDataStore.h: IntrusiveDOMWrapperMap is moved out of DOMDataStore class. * bindings/v8/IntrusiveDOMWrapperMap.h: Added. (WebCore::ChunkedTable::ChunkedTable): (WebCore::ChunkedTable::add): (WebCore::ChunkedTable::remove): (WebCore::ChunkedTable::clear): (WebCore::ChunkedTable::visit): (WebCore::ChunkedTable::Chunk::Chunk): (WebCore::ChunkedTable::clearEntries): (WebCore::ChunkedTable::visitEntries): (WebCore::IntrusiveDOMWrapperMap::IntrusiveDOMWrapperMap): (WebCore::IntrusiveDOMWrapperMap::get): (WebCore::IntrusiveDOMWrapperMap::set): (WebCore::IntrusiveDOMWrapperMap::contains): (WebCore::IntrusiveDOMWrapperMap::visit): (WebCore::IntrusiveDOMWrapperMap::removeIfPresent): (WebCore::IntrusiveDOMWrapperMap::clear): (WebCore::IntrusiveDOMWrapperMap::ChunkedTableTraits::move): (WebCore::IntrusiveDOMWrapperMap::ChunkedTableTraits::clear): (WebCore::IntrusiveDOMWrapperMap::ChunkedTableTraits::visit): * bindings/v8/StaticDOMDataStore.h: include added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Jian Li. [chromium] Remove non-flaky tests from test expectation file https://bugs.webkit.org/show_bug.cgi?id=53022 * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andreip@google.com authored
Reviewed by Jeremy Orlow. LayoutTest/storage/indexeddb/objectstore-autoincrement.html is failing after r76533 https://bugs.webkit.org/show_bug.cgi?id=53032 This fixes the layout test by modifying the arguments to IDBDatabase::transaction. * storage/indexeddb/objectstore-autoincrement-expected.txt: * storage/indexeddb/objectstore-autoincrement.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Chris Marrin. TransformationMatrix multiply operations apply operands in wrong order. https://bugs.webkit.org/show_bug.cgi?id=52780 Rename TranformationMatrix::multLeft into multiply (the method does a multRight, not a multLeft). Remove TransformationMatrix::multiply, which was actually doing a multLeft. Fix TransformationMatrix::operator* and operator*= such that the operand is applied to the right-hand side of the matrix that the method is called on. i.e., previously "a * b" used to compute "b * a", and "a *= b" used to store "b * a" in "a". This has now been fixed so "a * b" computes "a * b" and "a *= b" stores "a * b" in "a". Convert all call sites for these methods to provide operands in the correct order. No new tests as patch adds no new functionality. * css/WebKitCSSMatrix.cpp: (WebCore::WebKitCSSMatrix::multiply): * platform/graphics/transforms/Matrix3DTransformOperation.h: (WebCore::Matrix3DTransformOperation::apply): * platform/graphics/transforms/MatrixTransformOperation.h: (WebCore::MatrixTransformOperation::apply): * platform/graphics/transforms/TransformationMatrix.cpp: (WebCore::TransformationMatrix::scaleNonUniform): (WebCore::TransformationMatrix::scale3d): (WebCore::TransformationMatrix::rotate3d): (WebCore::TransformationMatrix::skew): (WebCore::TransformationMatrix::applyPerspective): (WebCore::TransformationMatrix::multiply): (WebCore::TransformationMatrix::recompose): * platform/graphics/transforms/TransformationMatrix.h: (WebCore::TransformationMatrix::operator*=): (WebCore::TransformationMatrix::operator*): * rendering/RenderLayer.cpp: (WebCore::transparencyClipBox): * rendering/RenderObject.cpp: (WebCore::RenderObject::getTransformFromContainer): * rendering/TransformState.cpp: (WebCore::TransformState::applyTransform): (WebCore::HitTestingTransformState::applyTransform): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Sam Weinig. Wait for half a second if we're asked to paint when receiving a DidSetSize message https://bugs.webkit.org/show_bug.cgi?id=53028 * UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::paint): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Sam Weinig. Implement forceRedisplay in the new drawing area https://bugs.webkit.org/show_bug.cgi?id=53026 * WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::forceRepaint): * WebProcess/WebPage/DrawingAreaImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Sam Weinig. Fill unpainted rects with the background color. https://bugs.webkit.org/show_bug.cgi?id=53025 * UIProcess/API/mac/WKView.mm: (drawPageBackground): Add new helper function. (-[WKView drawRect:]): Iterate over the unpainted rects and fill them with the background color. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andreip@google.com authored
Reviewed by Nate Chapin. IndexedDatabase methods should not take arguments of type OptionsObject https://bugs.webkit.org/show_bug.cgi?id=53012 * storage/indexeddb/create-object-store-options-expected.txt: * storage/indexeddb/create-object-store-options.html: * storage/indexeddb/cursor-delete-expected.txt: * storage/indexeddb/cursor-delete.html: * storage/indexeddb/cursor-index-delete-expected.txt: * storage/indexeddb/cursor-index-delete.html: * storage/indexeddb/data-corruption-expected.txt: * storage/indexeddb/data-corruption.html: * storage/indexeddb/database-quota-expected.txt: * storage/indexeddb/database-quota.html: * storage/indexeddb/index-cursor.html: * storage/indexeddb/objectstore-basics-expected.txt: * storage/indexeddb/objectstore-basics.html: * storage/indexeddb/objectstore-cursor.html: * storage/indexeddb/open-cursor-expected.txt: * storage/indexeddb/open-cursor.html: * storage/indexeddb/transaction-and-objectstore-calls-expected.txt: * storage/indexeddb/transaction-and-objectstore-calls.html: * storage/indexeddb/tutorial.html: 2011-01-24 Andrei Popescu <andreip@google.com> Reviewed by Nate Chapin. IndexedDatabase methods should not take arguments of type OptionsObject https://bugs.webkit.org/show_bug.cgi?id=53012 This patch reverts all IDB methods, except IDBDatabase::createObjectStore and IDBObjectStore::createIndex, to using a plain list of arguments instead of grouping the various parameters inside a single OptionsObject argument. This decision was made on public-webapps@w3.org mailing list. We also add support (v8 only for now) for passing DOMStringList objects as arguments to native methods. The code for obtaining a DOMStringList object from a JS array of strings existed already in OptionsObject.cpp, I just copied it to V8Bindings.cpp and taught the v8 code generator how to use it. * bindings/scripts/CodeGeneratorV8.pm: * bindings/v8/V8Binding.cpp: (WebCore::v8ValueToWebCoreDOMStringList): * bindings/v8/V8Binding.h: * storage/IDBDatabase.cpp: (WebCore::IDBDatabase::transaction): * storage/IDBDatabase.h: (WebCore::IDBDatabase::transaction): * storage/IDBDatabase.idl: * storage/IDBIndex.cpp: (WebCore::IDBIndex::openCursor): (WebCore::IDBIndex::openKeyCursor): * storage/IDBIndex.h: (WebCore::IDBIndex::openCursor): (WebCore::IDBIndex::openKeyCursor): * storage/IDBIndex.idl: * storage/IDBObjectStore.cpp: (WebCore::IDBObjectStore::openCursor): * storage/IDBObjectStore.h: (WebCore::IDBObjectStore::openCursor): * storage/IDBObjectStore.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Darin Adler. check-webkit-style: Update exemptions following Source/ move. https://bugs.webkit.org/show_bug.cgi?id=53017 * Scripts/webkitpy/style/checker.py: * Scripts/webkitpy/style/checker_unittest.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/6097826mitz@apple.com authored
WebKit2 version of <rdar://problem/6097826> Mail's cursor does not become a resize cursor when moving mouse from scrolled email to the horizontal splitter Reviewed by John Sullivan. * UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::setCursor): If the current cursor comes from a cursor rect, do not override it. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
chang.shu@nokia.com authored
Reviewed by Darin Adler. Move contentEditable related test cases to the right place as they are DOM related instead of editing related. https://bugs.webkit.org/show_bug.cgi?id=53010 * editing/editability: Removed. * editing/editability/attr-empty-string-expected.txt: Removed. * editing/editability/attr-empty-string.html: Removed. * editing/editability/attr-false-string-expected.txt: Removed. * editing/editability/attr-false-string.html: Removed. * editing/editability/attr-invalid-string-expected.txt: Removed. * editing/editability/attr-invalid-string.html: Removed. * editing/editability/attr-missing-ancestor-false-expected.txt: Removed. * editing/editability/attr-missing-ancestor-false.html: Removed. * editing/editability/attr-missing-ancestor-true-expected.txt: Removed. * editing/editability/attr-missing-ancestor-true.html: Removed. * editing/editability/attr-missing-parent-ancestor-missing-expected.txt: Removed. * editing/editability/attr-missing-parent-ancestor-missing.html: Removed. * editing/editability/attr-missing-parent-false-expected.txt: Removed. * editing/editability/attr-missing-parent-false.html: Removed. * editing/editability/attr-missing-parent-true-expected.txt: Removed. * editing/editability/attr-missing-parent-true.html: Removed. * editing/editability/attr-true-string-expected.txt: Removed. * editing/editability/attr-true-string.html: Removed. * editing/editability/set-false-expected.txt: Removed. * editing/editability/set-false.html: Removed. * editing/editability/set-inherit-parent-false-expected.txt: Removed. * editing/editability/set-inherit-parent-false.html: Removed. * editing/editability/set-inherit-parent-true-expected.txt: Removed. * editing/editability/set-inherit-parent-true.html: Removed. * editing/editability/set-invalid-value-expected.txt: Removed. * editing/editability/set-invalid-value.html: Removed. * editing/editability/set-true-expected.txt: Removed. * editing/editability/set-true.html: Removed. * editing/editability/set-value-caseinsensitive-expected.txt: Removed. * editing/editability/set-value-caseinsensitive.html: Removed. * fast/dom/HTMLElement/attr-empty-string-expected.txt: Copied from LayoutTests/editing/editability/attr-empty-string-expected.txt. * fast/dom/HTMLElement/attr-empty-string.html: Copied from LayoutTests/editing/editability/attr-empty-string.html. * fast/dom/HTMLElement/attr-false-string-expected.txt: Copied from LayoutTests/editing/editability/attr-false-string-expected.txt. * fast/dom/HTMLElement/attr-false-string.html: Copied from LayoutTests/editing/editability/attr-false-string.html. * fast/dom/HTMLElement/attr-invalid-string-expected.txt: Copied from LayoutTests/editing/editability/attr-invalid-string-expected.txt. * fast/dom/HTMLElement/attr-invalid-string.html: Copied from LayoutTests/editing/editability/attr-invalid-string.html. * fast/dom/HTMLElement/attr-missing-ancestor-false-expected.txt: Copied from LayoutTests/editing/editability/attr-missing-ancestor-false-expected.txt. * fast/dom/HTMLElement/attr-missing-ancestor-false.html: Copied from LayoutTests/editing/editability/attr-missing-ancestor-false.html. * fast/dom/HTMLElement/attr-missing-ancestor-true-expected.txt: Copied from LayoutTests/editing/editability/attr-missing-ancestor-true-expected.txt. * fast/dom/HTMLElement/attr-missing-ancestor-true.html: Copied from LayoutTests/editing/editability/attr-missing-ancestor-true.html. * fast/dom/HTMLElement/attr-missing-parent-ancestor-missing-expected.txt: Copied from LayoutTests/editing/editability/attr-missing-parent-ancestor-missing-expected.txt. * fast/dom/HTMLElement/attr-missing-parent-ancestor-missing.html: Copied from LayoutTests/editing/editability/attr-missing-parent-ancestor-missing.html. * fast/dom/HTMLElement/attr-missing-parent-false-expected.txt: Copied from LayoutTests/editing/editability/attr-missing-parent-false-expected.txt. * fast/dom/HTMLElement/attr-missing-parent-false.html: Copied from LayoutTests/editing/editability/attr-missing-parent-false.html. * fast/dom/HTMLElement/attr-missing-parent-true-expected.txt: Copied from LayoutTests/editing/editability/attr-missing-parent-true-expected.txt. * fast/dom/HTMLElement/attr-missing-parent-true.html: Copied from LayoutTests/editing/editability/attr-missing-parent-true.html. * fast/dom/HTMLElement/attr-true-string-expected.txt: Copied from LayoutTests/editing/editability/attr-true-string-expected.txt. * fast/dom/HTMLElement/attr-true-string.html: Copied from LayoutTests/editing/editability/attr-true-string.html. * fast/dom/HTMLElement/set-false-expected.txt: Copied from LayoutTests/editing/editability/set-false-expected.txt. * fast/dom/HTMLElement/set-false.html: Copied from LayoutTests/editing/editability/set-false.html. * fast/dom/HTMLElement/set-inherit-parent-false-expected.txt: Copied from LayoutTests/editing/editability/set-inherit-parent-false-expected.txt. * fast/dom/HTMLElement/set-inherit-parent-false.html: Copied from LayoutTests/editing/editability/set-inherit-parent-false.html. * fast/dom/HTMLElement/set-inherit-parent-true-expected.txt: Copied from LayoutTests/editing/editability/set-inherit-parent-true-expected.txt. * fast/dom/HTMLElement/set-inherit-parent-true.html: Copied from LayoutTests/editing/editability/set-inherit-parent-true.html. * fast/dom/HTMLElement/set-invalid-value-expected.txt: Copied from LayoutTests/editing/editability/set-invalid-value-expected.txt. * fast/dom/HTMLElement/set-invalid-value.html: Copied from LayoutTests/editing/editability/set-invalid-value.html. * fast/dom/HTMLElement/set-true-expected.txt: Copied from LayoutTests/editing/editability/set-true-expected.txt. * fast/dom/HTMLElement/set-true.html: Copied from LayoutTests/editing/editability/set-true.html. * fast/dom/HTMLElement/set-value-caseinsensitive-expected.txt: Copied from LayoutTests/editing/editability/set-value-caseinsensitive-expected.txt. * fast/dom/HTMLElement/set-value-caseinsensitive.html: Copied from LayoutTests/editing/editability/set-value-caseinsensitive.html. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tony@chromium.org authored
Reviewed by James Robinson. [chromium] turn off gyp circular dependency checking and roll chromium deps https://bugs.webkit.org/show_bug.cgi?id=52935 * DEPS: * gyp_webkit: Turn off gyp circular dependency checking on Linux and Win since we don't do these checks in gyp_chromium. It's just making it harder for us to roll DEPS and have something explode. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-