1. 01 Feb, 2010 7 commits
  2. 31 Jan, 2010 12 commits
    • mrowe@apple.com's avatar
      Roll r54095 out again without making a mess of the ChangeLog. · f9fa5fb0
      mrowe@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@54116 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f9fa5fb0
    • mrowe@apple.com's avatar
      Revert r54114 since it made a mess of the ChangeLog. · 0a89bdd6
      mrowe@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@54115 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0a89bdd6
    • eric.carlson@apple.com's avatar
      2010-01-31 Eric Carlson <eric.carlson@apple.com> · 1ffe9423
      eric.carlson@apple.com authored
              Revert r54095 because it caused many media tests to fail.
      
              * platform/graphics/win/GraphicsLayerCACF.cpp:
              (WebCore::GraphicsLayerCACF::setContentsToVideo):
              (WebCore::GraphicsLayerCACF::updateContentsVideo):
              * platform/graphics/win/GraphicsLayerCACF.h:
              (WebCore::GraphicsLayerCACF::):
              * platform/graphics/win/QTMovieWin.cpp:
              (QTMovieWinPrivate::task):
              (QTMovieWinPrivate::setSize):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54114 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1ffe9423
    • oliver@apple.com's avatar
      2010-01-31 Oliver Hunt <oliver@apple.com> · efd4fb63
      oliver@apple.com authored
              Reviewed by Simon Fraser.
      
              Animated scaling of background-image is too slow
              https://bugs.webkit.org/show_bug.cgi?id=33808
      
              Update checksum.
      
              * platform/mac/fast/backgrounds/size/backgroundSize16-expected.checksum:
      2010-01-31  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Simon Fraser.
      
              Animated scaling of background-image is too slow
              https://bugs.webkit.org/show_bug.cgi?id=33808
      
              Implement a version of the RenderImage animated scaling optimisation
              for background images. Due to the possibility of arbitrary transforms
              being applied to containing elements we explicitly check the current
              CTM of the context for scaling or rotation.
      
              * platform/graphics/GraphicsContext.cpp:
              (WebCore::GraphicsContext::drawTiledImage):
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/transforms/TransformationMatrix.h:
              (WebCore::TransformationMatrix::isIdentityOrTranslation):
              * rendering/RenderBoxModelObject.cpp:
              (WebCore::RenderBoxModelScaleData::RenderBoxModelScaleData):
              (WebCore::RenderBoxModelScaleData::~RenderBoxModelScaleData):
              (WebCore::RenderBoxModelScaleData::hiqhQualityRepaintTimer):
              (WebCore::RenderBoxModelScaleData::size):
              (WebCore::RenderBoxModelScaleData::setSize):
              (WebCore::RenderBoxModelScaleData::lastPaintTime):
              (WebCore::RenderBoxModelScaleData::setLastPaintTime):
              (WebCore::RenderBoxModelScaleData::useLowQualityScale):
              (WebCore::RenderBoxModelScaleData::transform):
              (WebCore::RenderBoxModelScaleData::setTransform):
              (WebCore::RenderBoxModelScaleData::setUseLowQualityScale):
              (WebCore::RenderBoxModelScaleObserver::boxModelObjectDestroyed):
              (WebCore::RenderBoxModelScaleObserver::highQualityRepaintTimerFired):
              (WebCore::RenderBoxModelScaleObserver::shouldPaintBackgroundAtLowQuality):
              (WebCore::RenderBoxModelObject::highQualityRepaintTimerFired):
              (WebCore::RenderBoxModelObject::~RenderBoxModelObject):
              (WebCore::RenderBoxModelObject::paintFillLayerExtended):
              * rendering/RenderBoxModelObject.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54113 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      efd4fb63
    • krit@webkit.org's avatar
      2010-01-31 Dirk Schulze <krit@webkit.org> · c54e1871
      krit@webkit.org authored
              Reviewed by Simon Fraser.
      
              Add back an AffineTransform class for use by SVG
              https://bugs.webkit.org/show_bug.cgi?id=33750
      
              These are the first steps on reimplementing AffineTransform. Unlike
              the old affine code, this one is platform independent like TransformationMatrix.
              AffineTransform has the benefit, that it stores just 6 doubles instead of
              16 in TransformationMatrix. The calculations of transformations are not that
              complex and can improve the memory usage and speed of SVG.
              AffineTransform can be used by HTML Canvas3D or SVG, since they are 2D related (at
              least for the moment).
              HTML Canvas is the first that makes use of the new AffineTransform. Next patches
              will introduce the affine code to SVG.
      
              No new tests. The new AffineTransformation code is tested by fast/canvas.
      
              * Android.mk:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * html/canvas/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::scale):
              (WebCore::CanvasRenderingContext2D::rotate):
              (WebCore::CanvasRenderingContext2D::translate):
              (WebCore::CanvasRenderingContext2D::transform):
              (WebCore::CanvasRenderingContext2D::setTransform):
              (WebCore::CanvasRenderingContext2D::isPointInPath):
              (WebCore::CanvasRenderingContext2D::willDraw):
              * html/canvas/CanvasRenderingContext2D.h:
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/Path.h:
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::getAffineCTM):
              (WebCore::GraphicsContext::concatCTM):
              * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
              (WebCore::GraphicsContextPlatformPrivate::concatCTM):
              * platform/graphics/cairo/PathCairo.cpp:
              (WebCore::Path::transform):
              * platform/graphics/cairo/TransformationMatrixCairo.cpp:
              (WebCore::AffineTransform::operator cairo_matrix_t):
              * platform/graphics/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::concatCTM):
              (WebCore::GraphicsContext::getAffineCTM):
              * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
              (WebCore::GraphicsContextPlatformPrivate::concatCTM):
              * platform/graphics/cg/PathCG.cpp:
              (WebCore::Path::transform):
              * platform/graphics/cg/TransformationMatrixCG.cpp:
              (WebCore::AffineTransform::operator CGAffineTransform):
              * platform/graphics/haiku/GraphicsContextHaiku.cpp:
              (WebCore::GraphicsContext::getAffineCTM):
              (WebCore::GraphicsContext::concatCTM):
              * platform/graphics/haiku/PathHaiku.cpp:
              (WebCore::Path::transform):
              * platform/graphics/qt/GraphicsContextQt.cpp:
              (WebCore::GraphicsContext::getAffineCTM):
              (WebCore::GraphicsContext::concatCTM):
              * platform/graphics/qt/PathQt.cpp:
              (WebCore::Path::transform):
              * platform/graphics/qt/TransformationMatrixQt.cpp:
              (WebCore::AffineTransform::operator QTransform):
              * platform/graphics/skia/GraphicsContextSkia.cpp:
              (WebCore::GraphicsContext::getAffineCTM):
              * platform/graphics/skia/PathSkia.cpp:
              (WebCore::Path::transform):
              * platform/graphics/skia/TransformationMatrixSkia.cpp:
              (WebCore::AffineTransform::operator SkMatrix):
              * platform/graphics/transforms/AffineTransform.cpp: Added.
              (WebCore::affineTransformDecompose):
              (WebCore::affineTransformCompose):
              (WebCore::AffineTransform::AffineTransform):
              (WebCore::AffineTransform::reset):
              (WebCore::AffineTransform::setMatrix):
              (WebCore::AffineTransform::isIdentity):
              (WebCore::AffineTransform::det):
              (WebCore::AffineTransform::isInvertible):
              (WebCore::AffineTransform::inverse):
              (WebCore::AffineTransform::multiply):
              (WebCore::AffineTransform::multLeft):
              (WebCore::AffineTransform::rotate):
              (WebCore::AffineTransform::scale):
              (WebCore::AffineTransform::translate):
              (WebCore::AffineTransform::scaleNonUniform):
              (WebCore::AffineTransform::rotateFromVector):
              (WebCore::AffineTransform::flipX):
              (WebCore::AffineTransform::flipY):
              (WebCore::AffineTransform::shear):
              (WebCore::AffineTransform::skew):
              (WebCore::AffineTransform::skewX):
              (WebCore::AffineTransform::skewY):
              (WebCore::makeMapBetweenRects):
              (WebCore::AffineTransform::map):
              (WebCore::AffineTransform::mapPoint):
              (WebCore::AffineTransform::mapRect):
              (WebCore::AffineTransform::blend):
              * platform/graphics/transforms/AffineTransform.h: Added.
              (WebCore::AffineTransform::a):
              (WebCore::AffineTransform::setA):
              (WebCore::AffineTransform::b):
              (WebCore::AffineTransform::setB):
              (WebCore::AffineTransform::c):
              (WebCore::AffineTransform::setC):
              (WebCore::AffineTransform::d):
              (WebCore::AffineTransform::setD):
              (WebCore::AffineTransform::e):
              (WebCore::AffineTransform::setE):
              (WebCore::AffineTransform::f):
              (WebCore::AffineTransform::setF):
              (WebCore::AffineTransform::operator== ):
              (WebCore::AffineTransform::operator!=):
              (WebCore::AffineTransform::operator*=):
              (WebCore::AffineTransform::operator*):
              (WebCore::AffineTransform::setMatrix):
              * platform/graphics/wince/GraphicsContextWince.cpp:
              (WebCore::GraphicsContext::concatCTM):
              (WebCore::GraphicsContext::getAffineCTM):
              * platform/graphics/wx/GraphicsContextWx.cpp:
              (WebCore::GraphicsContext::getAffineCTM):
              (WebCore::GraphicsContext::concatCTM):
              * platform/graphics/wx/PathWx.cpp:
              (WebCore::Path::transform):
              * platform/graphics/wx/TransformationMatrixWx.cpp:
              (WebCore::AffineTransform::operator wxGraphicsMatrix):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54112 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c54e1871
    • eric@webkit.org's avatar
      2010-01-31 Pavel Feldman <pfeldman@chromium.org> · 19fdb267
      eric@webkit.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: [REGRESSION] Breakpoint source line is not displayed
              in the breakpoint manager.
      
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame.prototype._addBreakpointToSource):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54111 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      19fdb267
    • pfeldman@chromium.org's avatar
      2010-01-31 Pavel Feldman <pfeldman@chromium.org> · fe376ccb
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Introduce NativeTextViewer.
      
              This change handles rendering highlighted text, using browser's
              selection/drag/drop/click logic. Breakpoint decorations and
              program counter is working.
      
              Todo: line numbers are painted 'under' the text when scrolling
              horizontally, search is not yet implemented.
      
              https://bugs.webkit.org/show_bug.cgi?id=34391
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * inspector/front-end/DivBasedTextViewer.js: Added.
              (WebInspector.DivBasedTextViewer):
              (WebInspector.DivBasedTextViewer.prototype._textChanged):
              (WebInspector.DivBasedTextViewer.prototype._createLineDivs):
              (WebInspector.DivBasedTextViewer.prototype._updatePreferredSize):
              (WebInspector.DivBasedTextViewer.prototype._scroll):
              (WebInspector.DivBasedTextViewer.prototype._registerMouseListeners):
              (WebInspector.DivBasedTextViewer.prototype._registerKeyboardListeners):
              (WebInspector.DivBasedTextViewer.prototype._registerClipboardListeners):
              (WebInspector.DivBasedTextViewer.prototype._paintSelection):
              (WebInspector.DivBasedTextViewer.prototype._positionDivDecoration):
              (WebInspector.DivBasedTextViewer.prototype._mouseDown):
              (WebInspector.DivBasedTextViewer.prototype._contextMenu):
              (WebInspector.DivBasedTextViewer.prototype._caretForMouseEvent):
              (WebInspector.DivBasedTextViewer.prototype._paintLine):
              (WebInspector.DivBasedTextViewer.prototype._createSpan):
              * inspector/front-end/Settings.js:
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame.prototype.clearMessages):
              (WebInspector.SourceFrame.prototype.sizeToFitContentHeight):
              (WebInspector.SourceFrame.prototype._createEditorIfNeeded):
              (WebInspector.SourceFrame.prototype._addMessageToSource):
              (WebInspector.SourceFrame.prototype.resize):
              * inspector/front-end/TextEditor.js:
              (WebInspector.TextEditor):
              (WebInspector.TextEditor.prototype.setDivDecoration):
              (WebInspector.TextEditor.prototype._registerMouseListeners):
              (WebInspector.TextEditor.prototype._registerKeyboardListeners):
              (WebInspector.TextEditor.prototype._registerClipboardListeners):
              (WebInspector.TextEditor.prototype.reveal):
              (WebInspector.TextEditor.prototype._textChanged):
              (WebInspector.TextEditor.prototype.revalidateDecorationsAndPaint):
              (WebInspector.TextEditor.prototype._updatePreferredSize):
              (WebInspector.TextEditor.prototype.resize):
              (WebInspector.TextEditor.prototype._paintLinesContinuation):
              (WebInspector.TextEditor.prototype._paintLine):
              (WebInspector.TextEditor.prototype._contextMenu):
              (WebInspector.TextEditor.prototype._caretForMouseEvent):
              (WebInspector.TextEditor.prototype._changeFont):
              * inspector/front-end/TextEditorHighlighter.js:
              (WebInspector.TextEditorHighlighter.prototype._lex):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.html:
              * inspector/front-end/textEditor.css:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54110 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      fe376ccb
    • eric@webkit.org's avatar
      2010-01-31 Benjamin Poulain <benjamin.poulain@nokia.com> · ea4265cc
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Qt] Enable FAST_MOBILE_SCROLLING on Qt embedded platforms
              https://bugs.webkit.org/show_bug.cgi?id=34168
      
              Enable FAST_MOBILE_SCROLLING for Qt on Maemo 5, Linux embedded
              and Symbian
      
              * WebCore.pro:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54109 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ea4265cc
    • yurys@chromium.org's avatar
      2010-01-31 Yury Semikhatsky <yurys@chromium.org> · 605c27d0
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Make ScriptState destructor protected since all non-empty
              ScriptStates are managed by GC. Remove obsolete constructor.
      
              https://bugs.webkit.org/show_bug.cgi?id=34266
      
              * bindings/v8/ScriptState.cpp:
              * bindings/v8/ScriptState.h:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54108 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      605c27d0
    • simon.fraser@apple.com's avatar
      2010-01-30 Simon Fraser <simon.fraser@apple.com> · 90d7d68c
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              Use CGGradient on Leopard and later, since it's faster than CGShading
              https://bugs.webkit.org/show_bug.cgi?id=34384
      
              Use CGGradient on Leopard and later, rather than CGShading, for
              performance.
      
              * platform/graphics/Gradient.h:
              * platform/graphics/Gradient.cpp:
              (WebCore::Gradient::sortStopsIfNecessary): Utility method to sort stops.
              Did not call this from getColor() to avoid overhead of a function call.
      
              * platform/graphics/cg/GradientCG.cpp:
              (WebCore::Gradient::platformDestroy): Use CGGradientRelease() post-Tiger.
              (WebCore::Gradient::platformGradient): Create and return a CGGradientRef post-Tiger.
              (WebCore::Gradient::fill): Call new paint() method.
              (WebCore::Gradient::paint): New convenence method that avoids testing
              isRadial() in a bunch of other places.
      
              * platform/graphics/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::fillPath): Call the gradient's paint() method.
              (WebCore::GraphicsContext::strokePath): Ditto
              (WebCore::GraphicsContext::fillRect): Ditto
              (WebCore::GraphicsContext::strokeRect): Ditto
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54107 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      90d7d68c
    • simon.fraser@apple.com's avatar
      2010-01-30 Simon Fraser <simon.fraser@apple.com> · 73061609
      simon.fraser@apple.com authored
              Reviewed by Adele Peterson.
      
              Do color animations on premultiplied colors
              https://bugs.webkit.org/show_bug.cgi?id=34383
      
              Convert colors to premultiplied alpha before interpolating them,
              then convert the result back to non-premultiplied. This gives better
              results when animating from transparent colors.
      
              Test: transitions/color-transition-premultiplied.html
      
              * page/animation/AnimationBase.cpp:
              (WebCore::blendFunc):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54106 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      73061609
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · 6f045fff
      kevino@webkit.org authored
      Add a way to get the parse mode to wxWebKit API.
              
      https://bugs.webkit.org/show_bug.cgi?id=34341
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54105 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6f045fff
  3. 30 Jan, 2010 21 commits
    • kov@webkit.org's avatar
      2010-01-30 Gustavo Noronha Silva <gns@gnome.org> · a117719b
      kov@webkit.org authored
              Build fixes needed for make distcheck.
      
              * GNUmakefile.am:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54104 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a117719b
    • mrowe@apple.com's avatar
      Stop copying an IDL file in to the framework wrapper. · 924363ac
      mrowe@apple.com authored
      * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54103 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      924363ac
    • mrowe@apple.com's avatar
      Sort Xcode projects. · 81042bbc
      mrowe@apple.com authored
      JavaScriptCore:
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
      
      WebCore:
      
      * WebCore.xcodeproj/project.pbxproj:
      
      WebKit:
      
      * WebKit.xcodeproj/project.pbxproj:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54102 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      81042bbc
    • mrowe@apple.com's avatar
      Roll over a few oversized ChangeLogs. · 8dd4df87
      mrowe@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@54101 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8dd4df87
    • mrowe@apple.com's avatar
      Roll out r54073 as it introduced many thousands of leaks. · a2228964
      mrowe@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@54100 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a2228964
    • mrowe@apple.com's avatar
      Fix run-leaks with newer versions of the leaks tool. · 7a09b2a0
      mrowe@apple.com authored
      Rubber-stamped by Stephanie Lewis.
      
      * Scripts/run-leaks:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54099 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7a09b2a0
    • mrowe@apple.com's avatar
      Keep the Windows feature defines in sync with FeatureDefines.xcconfig. · 88086c4f
      mrowe@apple.com authored
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54098 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      88086c4f
    • mrowe@apple.com's avatar
      Fix the Mac build. · ce975940
      mrowe@apple.com authored
      Disable ENABLE_INDEXED_DATABASE since it is "completely non-functional".
      
      As the comment in FeatureDefines.xcconfig notes, the list of feature defines
      needs to be kept in sync across the various files.  The default values also
      need to be kept in sync between these files and build-webkit.
      
      JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54097 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ce975940
    • sfalken@apple.com's avatar
      2010-01-29 Steve Falkenburg <sfalken@apple.com> · 2dd8f82e
      sfalken@apple.com authored
              Reviewed by Darin Adler.
      
              Timeout for client-based Geolocation shouldn't start until user gives consent
              https://bugs.webkit.org/show_bug.cgi?id=34352
      
              * page/Geolocation.cpp:
              (WebCore::Geolocation::startRequest): Don't start timer if we're blocked on user consent.
              (WebCore::Geolocation::setIsAllowed): Start timer after user gives consent.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54096 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2dd8f82e
    • cmarrin@apple.com's avatar
      Fixed changed virtual function in GraphicsLayerCACF and call order issues · fd3fca5b
      cmarrin@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=34348
              
              The correct virtual function in GraphicsLayerCACF is now being
              called. We also fixed an issue in QTMovieWin where the size
              of the movie was not being set correctly because the call order
              was changed.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54095 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      fd3fca5b
    • dpranke@chromium.org's avatar
      2010-01-29 Dirk Pranke <dpranke@chromium.org> · 675f761a
      dpranke@chromium.org authored
              Reviewed by Eric Siedel.
      
              Top-level test drivers for running the Chromium port of run-webkit-tests
              and being able to rebaseline test results from the test bots.  The
              files in the Scripts directory are simply wrappers around the files
              in webkitpy/layout_tests for convenience.
       
              https://bugs.webkit.org/show_bug.cgi?id=31498
      
              * Scripts/rebaseline-chromium-webkit-tests: Added.
              * Scripts/run-chromium-webkit-tests: Added.
              * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: Added.
              * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py: Added.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54094 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      675f761a
    • dpranke@chromium.org's avatar
      2010-01-29 Dirk Pranke <dpranke@chromium.org> · c2ca4503
      dpranke@chromium.org authored
              Reviewed by Eric Siedel.
      
              Add in the second block of python code for the Chromium port
              of run-webkit-tests. These files execute different diffs to classify
              the various types of failures from a test.
      
              * Scripts/webkitpy/layout_tests/test_types: Added.
              * Scripts/webkitpy/layout_tests/test_types/__init__.py: Added.
              * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: Added.
              * Scripts/webkitpy/layout_tests/test_types/image_diff.py: Added.
              * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: Added.
              * Scripts/webkitpy/layout_tests/test_types/text_diff.py: Added.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54093 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c2ca4503
    • dpranke@chromium.org's avatar
      2010-01-29 Dirk Pranke <dpranke@chromium.org> · 95237f5a
      dpranke@chromium.org authored
              Reviewed by Eric Siedel.
      
              Check in the first part of the Chromium Python port of the 
              run-webkit-tests test driver. The files under 
              layout_tests/layout_layout constitute most of the implementation;
              they can be roughly divided into code that parses the 
              "test_expectations.txt" file that describes how we expect tests to
              pass or fail, platform-specific hooks for the different Chromium 
              ports (in platform_utils*), code for parsing the output of the
              tests and generating results files and HTML and JSON for the
              dashboards, auxiliary scripts for starting and stopping HTTP and
              Web Socket servers, and then one of the actual driver files 
              (test_shell_thread). Code for actually parsing test output for 
              failures and the top-level driver scripts will follow shortly.
      
              https://bugs.webkit.org/show_bug.cgi?id=31498
      
              * Scripts/webkitpy/layout_tests: Added.
              * Scripts/webkitpy/layout_tests/layout_package: Added.
              * Scripts/webkitpy/layout_tests/layout_package/__init__.py: Added.
              * Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py: Added.
              * Scripts/webkitpy/layout_tests/layout_package/http_server.py: Added.
              * Scripts/webkitpy/layout_tests/layout_package/http_server_base.py: Added.
              * Scripts/webkitpy/layout_tests/layout_package/httpd2.pem: Added.
                - scripts to start and stop apache. Note that the apache file
                  generates a conf file dynamically, and we should switch to 
                  using the same static conf file that the regular run-webkit-tests
                  uses, and we can also use the same httpd2.pem file.
      
              * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: Added.
              * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: Added.
                - scripts to generate the JSON layout test dashboard and the
                  flakiness dashboard
              * Scripts/webkitpy/layout_tests/layout_package/lighttpd.conf: Added.
                - default configuration for LigHTTPd (used on Windows)
              * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: Added.
                - utility class that implements progress bars on the console to
                  be displayed while the tests are running
              * Scripts/webkitpy/layout_tests/layout_package/path_utils.py: Added.
                - various routines for manipulating paths and URIs
              * Scripts/webkitpy/layout_tests/layout_package/platform_utils.py: Added.
              * Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py: Added.
              * Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py: Added.
              * Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py: Added.
                - platform-specific aspects of the drivers (binary names, paths,
                  process control, etc.)
              * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: Added.
                - code for parsing the 'test_expectations.txt' file to determine
                  which tests are expected to fail (and how) on which platforms
              * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: Added.
                - code for handling different kinds of failures (generating output
                  in the results, etc.)
              * Scripts/webkitpy/layout_tests/layout_package/test_files.py: Added.
                - code to gather the lists of tests
              * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: Added.
                - code to actually execute tests via TestShell and process
                  the output
              * Scripts/webkitpy/layout_tests/layout_package/websocket_server.py: Added.
                - scripts to start and stop the pywebsocket server
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54091 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      95237f5a
    • bweinstein@apple.com's avatar
      Roll out r54088 because the functions were already in · a32a5024
      bweinstein@apple.com authored
      IWebPreferencesPrivate, so they should stay there.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54090 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a32a5024
    • jpetsovits@rim.com's avatar
      2010-01-29 Jakob Petsovits <jpetsovits@rim.com> · c79091e6
      jpetsovits@rim.com authored
              Reviewed by Nikolas Zimmermann.
      
              [OpenVG] Implement more graphics primitives
              https://bugs.webkit.org/show_bug.cgi?id=34339
      
              Adds lines, arcs, ellipses, polygons and rounded
              rectangles to PainterOpenVG and GraphicsContext.
      
              Rounded rects support by Eli Fidler <efidler@rim.com>.
      
              * platform/graphics/openvg/GraphicsContextOpenVG.cpp:
              (WebCore::GraphicsContext::drawLine):
              (WebCore::GraphicsContext::drawEllipse):
              (WebCore::GraphicsContext::strokeArc):
              (WebCore::GraphicsContext::drawConvexPolygon):
              (WebCore::GraphicsContext::fillRect):
              (WebCore::GraphicsContext::fillRoundedRect):
              (WebCore::GraphicsContext::drawFocusRing):
              (WebCore::GraphicsContext::drawLineForText):
              (WebCore::GraphicsContext::clearRect):
              (WebCore::GraphicsContext::strokeRect):
              * platform/graphics/openvg/PainterOpenVG.cpp:
              (WebCore::PainterOpenVG::drawRect):
              (WebCore::PainterOpenVG::drawRoundedRect):
              (WebCore::PainterOpenVG::drawLine):
              (WebCore::PainterOpenVG::drawArc):
              (WebCore::PainterOpenVG::drawEllipse):
              (WebCore::PainterOpenVG::drawPolygon):
              * platform/graphics/openvg/PainterOpenVG.h:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54089 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c79091e6
    • bweinstein@apple.com's avatar
      Rubber-stamped by Adam Roben. · fc2bca7f
      bweinstein@apple.com authored
      Move customDragCursorEnabled preference functions from 
      IWebPreferences to IWebPreferencesPrivate.
      
      * Interfaces/IWebPreferences.idl: Moved customDragFunctions from here...
      * Interfaces/IWebPreferencesPrivate.idl: To here.
      * Interfaces/WebKit.idl: Touched to make sure we rebuild.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54088 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      fc2bca7f
    • dpranke@chromium.org's avatar
      2010-01-29 Dirk Pranke <dpranke@chromium.org> · 5f3304c5
      dpranke@chromium.org authored
              Reviewed by Eric Seidel.
      
              Check in a copy of the simplejson library; it will be used by
              the Chromium port of run-webkit-tests.
              
              https://bugs.webkit.org/show_bug.cgi?id=31498
      
              * simplejson: Added.
              * simplejson/LICENSE.txt: Added.
              * simplejson/README.txt: Added.
              * simplejson/__init__.py: Added. 
              * simplejson/_speedups.c: Added.
              (ascii_escape_char):
              (ascii_escape_unicode):
              (ascii_escape_str):
              (py_encode_basestring_ascii):
              (init_speedups):
              * simplejson/decoder.py: Added.
              * simplejson/encoder.py: Added.
              * simplejson/jsonfilter.py: Added.
              * simplejson/scanner.py: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54087 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5f3304c5
    • dpranke@chromium.org's avatar
      2010-01-29 Dirk Pranke <dpranke@chromium.org> · 85ffb3bd
      dpranke@chromium.org authored
              No review
      
              Add myself to the committers list
      
              * Scripts/webkitpy/committers.py:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54086 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      85ffb3bd
    • jorlow@chromium.org's avatar
      2010-01-29 Jeremy Orlow <jorlow@chromium.org> · 261f6353
      jorlow@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              A first step towards the Indexed Database API
              https://bugs.webkit.org/show_bug.cgi?id=34342
      
              Add runtime enable support for Indexed Database API.
      
              * features.gypi:
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableIndexedDatabase):
              (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
      2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              A first step towards the Indexed Database API
              https://bugs.webkit.org/show_bug.cgi?id=34342
      
              Flesh out the first part of Indexed Database API.
              Currently only compiles with v8 + chromium for now.
              Completely non-functional, but it seems best to do
              this in chunks.
      
              No tests because nothing works yet.
      
              * Configurations/FeatureDefines.xcconfig:
              * WebCore.gypi:
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/DOMObjectsInclude.h:
              * bindings/v8/DerivedSourcesAllInOne.cpp:
              * bindings/v8/RuntimeEnabledFeatures.cpp:
              * bindings/v8/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setIndexedDatabaseEnabled):
              (WebCore::RuntimeEnabledFeatures::indexedDatabaseEnabled):
              * bindings/v8/V8Index.cpp:
              * bindings/v8/V8Index.h:
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::V8DOMWindow::IndexedDBEnabled):
              * bindings/v8/custom/V8IDBRequestCustom.cpp: Added.
              (WebCore::V8IDBRequest::resultAccessorGetter):
              * bindings/v8/custom/V8IndexedDatabaseRequestCustom.cpp: Added.
              (WebCore::V8IndexedDatabaseRequest::openCallback):
              * dom/EventNames.h:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::indexedDB):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * storage/IDBDatabaseError.h: Added.
              (WebCore::IDBDatabaseError::create):
              (WebCore::IDBDatabaseError::~IDBDatabaseError):
              (WebCore::IDBDatabaseError::code):
              (WebCore::IDBDatabaseError::setCode):
              (WebCore::IDBDatabaseError::message):
              (WebCore::IDBDatabaseError::setMessage):
              (WebCore::IDBDatabaseError::IDBDatabaseError):
              * storage/IDBDatabaseError.idl: Added.
              * storage/IDBDatabaseException.h: Added.
              (WebCore::IDBDatabaseException::create):
              (WebCore::IDBDatabaseException::~IDBDatabaseException):
              (WebCore::IDBDatabaseException::code):
              (WebCore::IDBDatabaseException::setCode):
              (WebCore::IDBDatabaseException::message):
              (WebCore::IDBDatabaseException::setMessage):
              (WebCore::IDBDatabaseException::IDBDatabaseException):
              * storage/IDBDatabaseException.idl: Added.
              * storage/IDBRequest.cpp: Added.
              (WebCore::IDBRequest::IDBRequest):
              (WebCore::IDBRequest::~IDBRequest):
              (WebCore::IDBRequest::abort):
              (WebCore::IDBRequest::eventTargetData):
              (WebCore::IDBRequest::ensureEventTargetData):
              * storage/IDBRequest.h: Added.
              (WebCore::IDBRequest::create):
              (WebCore::IDBRequest::readyState):
              (WebCore::IDBRequest::error):
              (WebCore::IDBRequest::result):
              (WebCore::IDBRequest::scriptExecutionContext):
              (WebCore::IDBRequest::toIDBRequest):
              (WebCore::IDBRequest::refEventTarget):
              (WebCore::IDBRequest::derefEventTarget):
              * storage/IDBRequest.idl: Added.
              * storage/IndexedDatabaseRequest.cpp: Added.
              (WebCore::IndexedDatabaseRequest::IndexedDatabaseRequest):
              (WebCore::IndexedDatabaseRequest::~IndexedDatabaseRequest):
              (WebCore::IndexedDatabaseRequest::open):
              * storage/IndexedDatabaseRequest.h: Added.
              (WebCore::IndexedDatabaseRequest::create):
              (WebCore::IndexedDatabaseRequest::request):
              * storage/IndexedDatabaseRequest.idl: Added.
      2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              A first step towards the Indexed Database API
              https://bugs.webkit.org/show_bug.cgi?id=34342
      
              Add Indexed Database API
      
              * configure.ac:
      2010-01-29  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              A first step towards the Indexed Database API
              https://bugs.webkit.org/show_bug.cgi?id=34342
      
              Add indexed database API.
      
              * Scripts/build-webkit:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54085 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      261f6353
    • abecsi@webkit.org's avatar
      Correct openHTTPD() to print requests to stdout if run-webkit-httpd is used. · 8dd7eb4d
      abecsi@webkit.org authored
      This fixes a regression introduced in r53559.
      
      Reviewed by Alexey Proskuryakov.
      
      https://bugs.webkit.org/show_bug.cgi?id=34336
      
      * Scripts/webkitperl/httpd.pm:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54084 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8dd7eb4d
    • bweinstein@apple.com's avatar
      WebCore: Drag and Drop: Windows uses "stop" sign as cursor when dragging · 28e89396
      bweinstein@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=34305
      <rdar://problem/7589672>
      
      Reviewed by Adam Roben.
      
      Add a FIXME for the code that needs to be changed to support full
      custom cursors.
      
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleDrag):
      
      WebKit/win: Drag and Drop: Windows uses "stop" sign as cursor when dragging
      https://bugs.webkit.org/show_bug.cgi?id=34305
      <rdar://problem/7589672>
              
      Reviewed by Adam Roben.
      
      Add a preference in WebKit (that defaults to false), for whether or not
      we should show the custom cursors during drag and drop. However, this is
      currently only used on Windows, and only used to hide the "drop not allowed"
      icon inside the WebView is the preference is set to true.
      
      This will be off by default, so no change in behavior.
      
      * Interfaces/IWebPreferencesPrivate.idl: Added new functions.
      * Interfaces/WebKit.idl: Touched to force Interfaces build.
      * WebDropSource.cpp:
      (WebDropSource::GiveFeedback): Implementation of conditional showing cursor
          logic.
      * WebPreferenceKeysPrivate.h: Added new preference key.
      * WebPreferences.cpp: Added new functions.
      (WebPreferences::setCustomDragCursorsEnabled):
      (WebPreferences::customDragCursorsEnabled):
      * WebPreferences.h: Added new functions.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54083 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      28e89396