1. 29 Jan, 2010 40 commits
    • darin@chromium.org's avatar
      2010-01-29 Darin Fisher <darin@chromium.org> · 974213eb
      darin@chromium.org authored
              Okayed by Oliver Hunt.
      
              Rollout r53949, r53951 and r54013 due to a Chromium regression that it
              causes.  Somehow this code change is triggering an endless repaint loop.
      
              https://bugs.webkit.org/show_bug.cgi?id=33808
      
              * platform/graphics/GraphicsContext.cpp:
              (WebCore::GraphicsContext::drawTiledImage):
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/transforms/TransformationMatrix.h:
              (WebCore::TransformationMatrix::isIdentityOrTranslation):
              * rendering/RenderBoxModelObject.cpp:
              (WebCore::RenderBoxModelObject::~RenderBoxModelObject):
              (WebCore::RenderBoxModelObject::paintFillLayerExtended):
              * rendering/RenderBoxModelObject.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54075 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      974213eb
    • kenneth@webkit.org's avatar
      [Qt] On Maemo5, a click/touch in the location bar (when unfocused) · 3c80a539
      kenneth@webkit.org authored
      should result in all text selected.
      
      Reviewed by Ariya Hidayat.
      
      * QtLauncher/locationedit.cpp:
      (LocationEdit::focusInEvent):
      * QtLauncher/locationedit.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54074 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3c80a539
    • oliver@apple.com's avatar
      2010-01-29 Oliver Hunt <oliver@apple.com> · 732be1c8
      oliver@apple.com authored
              Reviewed by Darin Adler.
      
              JSC is failing to propagate anonymous slot count on some transitions
              https://bugs.webkit.org/show_bug.cgi?id=34321
      
              Remove the unsafe two argument Structure::create method, and correct
              the uses of it to propagate the anonymous slot count.
      
              * runtime/JSObject.h:
              (JSC::JSObject::setStructure):
              * runtime/Structure.cpp:
              (JSC::Structure::addPropertyTransition):
              (JSC::Structure::changePrototypeTransition):
              (JSC::Structure::despecifyFunctionTransition):
              (JSC::Structure::getterSetterTransition):
              (JSC::Structure::toDictionaryTransition):
              * runtime/Structure.h:
      2010-01-29  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Darin Adler.
      
              JSC is failing to propagate anonymous slot count on some transitions
              https://bugs.webkit.org/show_bug.cgi?id=34321
      
              Add a test for modification of a type with anonymous slots.
      
              * fast/dom/Window/anonymous-slot-with-changes-expected.txt: Added.
              * fast/dom/Window/anonymous-slot-with-changes.html: Added.
      2010-01-29  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Darin Adler.
      
              JSC is failing to propagate anonymous slot count on some transitions
              https://bugs.webkit.org/show_bug.cgi?id=34321
      
              Make code generator add assertions for anonymous slot count.
      
              Test: fast/dom/Window/anonymous-slot-with-changes.html
      
              * bindings/scripts/CodeGeneratorJS.pm:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54073 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      732be1c8
    • kenneth@webkit.org's avatar
      [Qt] Show progress reaching 100% for loads. · 281ff844
      kenneth@webkit.org authored
      Reviewed by Ariya Hidayat.
      
      * QtLauncher/locationedit.cpp:
      (LocationEdit::LocationEdit):
      (LocationEdit::setProgress):
      (LocationEdit::reset):
      (LocationEdit::paintEvent):
      * QtLauncher/locationedit.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54072 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      281ff844
    • eric@webkit.org's avatar
      2010-01-29 Tony Chang <tony@chromium.org> · c1eb43d7
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Add gdb helper methods for Ranges like we have for VisibleSelections.
              https://bugs.webkit.org/show_bug.cgi?id=34308
      
              No new tests, these are only for debugging.
      
              * dom/Position.cpp:
              (WebCore::Position::showTreeForThis):
              * dom/Range.cpp:
              (showTree):
              * dom/Range.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54071 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c1eb43d7
    • eric@webkit.org's avatar
      2010-01-29 Drew Wilson <atwilson@chromium.org> · 75bab15e
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              V8 implementation of MessageEvent.initMessageEvent() does not set source correctly.
              https://bugs.webkit.org/show_bug.cgi?id=34292
      
              Test: fast/events/init-events.html will pass in Chrome now.
      
              * bindings/v8/custom/V8MessageEventCustom.cpp:
              (WebCore::V8MessageEvent::initMessageEventCallback):
              Now properly extracts the reference to the DOMWindow object from the passed-in window parameter.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54070 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      75bab15e
    • eric@webkit.org's avatar
      2010-01-29 Ben Murdoch <benm@google.com> · f157f0a0
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              [Android] Android needs functionality in the ChromeClient to be informed when touch events are and are not needed by the webpage.
              https://bugs.webkit.org/show_bug.cgi?id=34215
      
              Add a function on the ChromeClient that WebCore can use to inform the platform when it needs touch events. This way the platform can optimise by not forwarding the events if they are not required.
      
              No new tests as the only implementation is specific to Android.
      
              * dom/Document.cpp:
              (WebCore::Document::detach): Check if this is the top level document and if so, stop forwarding touch events.
              (WebCore::Document::addListenerTypeIfNeeded): Inform the ChromeClient it should start forwarding touch events and guard touch event code properly.
              * history/CachedFrame.cpp:
              (WebCore::CachedFrameBase::restore): If the document uses touch events, inform the ChromeClient to start forwarding them.
              (WebCore::CachedFrame::CachedFrame): If the document uses touch events, inform the ChromeClient to stop forwarding them, as the document is being put into the page cache.
              * loader/EmptyClients.h:
              (WebCore::EmptyChromeClient::needTouchEvents): Add an empty implementation.
              * page/ChromeClient.h: Add the needTouchEvents() function.
      2010-01-29  Ben Murdoch  <benm@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              [Android] Android needs functionality in the ChromeClient to be informed when touch events are and are not needed by the webpage.
              https://bugs.webkit.org/show_bug.cgi?id=34215
      
              Add needTouchEvents() to the ChromeClient which is called when the page decides it needs or no longer needs to be informed of touch events.
      
              * WebCoreSupport/ChromeClientQt.h:
              (WebCore::ChromeClientQt::needTouchEvents): Add an empty implementation.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54069 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f157f0a0
    • eric@webkit.org's avatar
      2010-01-29 Alexander Pavlov <apavlov@chromium.org> · 617657b5
      eric@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Fix toolbar gradient to match the window's titlebar on Snow Leopard
              https://bugs.webkit.org/show_bug.cgi?id=34320
      
              * inspector/front-end/inspector.css:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54068 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      617657b5
    • eric@webkit.org's avatar
      2010-01-29 Alexander Pavlov <apavlov@chromium.org> · b0869d68
      eric@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Fix MacOS X version detection
      
              MacOS X version can have 2 or 3 segments.
              https://bugs.webkit.org/show_bug.cgi?id=34322
      
              * inspector/front-end/inspector.js:
              (WebInspector._detectPlatform):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54067 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b0869d68
    • eric@webkit.org's avatar
      2010-01-29 Andreas Kling <andreas.kling@nokia.com> · 718b624f
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Disable the QtLauncher statusbar on Maemo
      
              https://bugs.webkit.org/show_bug.cgi?id=34330
      
              * QtLauncher/main.cpp:
              (LauncherWindow::showLinkHover):
              (LauncherWindow::selectElements):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54066 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      718b624f
    • eric@webkit.org's avatar
      2010-01-29 Andreas Kling <andreas.kling@nokia.com> · 3aaf0268
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Display page loading progress inside the QtLauncher location bar
      
              https://bugs.webkit.org/show_bug.cgi?id=34210
      
              * QtLauncher/QtLauncher.pro:
              * QtLauncher/locationedit.cpp: Added.
              (LocationEdit::LocationEdit):
              (LocationEdit::setProgress):
              (LocationEdit::paintEvent):
              * QtLauncher/locationedit.h: Added.
              * QtLauncher/mainwindow.cpp:
              (MainWindow::buildUI):
              * QtLauncher/mainwindow.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54065 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3aaf0268
    • kenneth@webkit.org's avatar
      Disable auto-uppercase and predictive text on Maemo5, just like the · 1694289f
      kenneth@webkit.org authored
      build-in MicroB Browser.
      
      Reviewed by Simon Hausmann
      
      * WebCoreSupport/EditorClientQt.cpp:
      (WebCore::EditorClientQt::setInputMethodState):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54064 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1694289f
    • jpetsovits@rim.com's avatar
      2010-01-29 Jakob Petsovits <jpetsovits@rim.com> · a3ace984
      jpetsovits@rim.com authored
              Reviewed by Nikolas Zimmermann.
      
              [OpenVG] Implement a basic GraphicsContext on top of a new PainterOpenVG class
              https://bugs.webkit.org/show_bug.cgi?id=33405
      
              PainterOpenVG provides painter state management that works
              on a single (EGL) context, and apart from painter state
              implements a single drawing operation (for now), drawRect().
      
              It is a generic painter class that cooperates with
              SurfaceOpenVG to enable robust surface/context switching
              (given that EGL doesn't notify us if somebody switches
              the surface/context behind our backs), and provides
              painting operations close to OpenVG's way of working
              that GraphicsContext, Path, Image, Font and other WebKit
              platform classes can use to draw on.
      
              Initial code for state management and OpenVG scissoring by
              Eli Fidler <efidler@rim.com>. VGRect/VGMatrix and the bulk
              of the transformations code by Adam Treat <atreat@rim.com>.
              Preliminary drawFocusRing() implementation by Yong Li <yoli@rim.com>.
      
              * platform/graphics/FloatRect.h:
              * platform/graphics/GraphicsContext.cpp:
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/openvg/GraphicsContextOpenVG.cpp: Added.
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContext::GraphicsContext):
              (WebCore::GraphicsContext::~GraphicsContext):
              (WebCore::GraphicsContext::platformContext):
              (WebCore::GraphicsContext::getCTM):
              (WebCore::GraphicsContext::savePlatformState):
              (WebCore::GraphicsContext::restorePlatformState):
              (WebCore::GraphicsContext::drawRect):
              (WebCore::GraphicsContext::drawLine):
              (WebCore::GraphicsContext::drawEllipse):
              (WebCore::GraphicsContext::strokeArc):
              (WebCore::GraphicsContext::drawConvexPolygon):
              (WebCore::GraphicsContext::fillPath):
              (WebCore::GraphicsContext::strokePath):
              (WebCore::GraphicsContext::fillRect):
              (WebCore::GraphicsContext::fillRoundedRect):
              (WebCore::GraphicsContext::beginPath):
              (WebCore::GraphicsContext::addPath):
              (WebCore::GraphicsContext::clip):
              (WebCore::GraphicsContext::clipPath):
              (WebCore::GraphicsContext::drawFocusRing):
              (WebCore::GraphicsContext::drawLineForText):
              (WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar):
              (WebCore::GraphicsContext::roundToDevicePixels):
              (WebCore::GraphicsContext::setPlatformShadow):
              (WebCore::GraphicsContext::clearPlatformShadow):
              (WebCore::GraphicsContext::beginTransparencyLayer):
              (WebCore::GraphicsContext::endTransparencyLayer):
              (WebCore::GraphicsContext::clearRect):
              (WebCore::GraphicsContext::strokeRect):
              (WebCore::GraphicsContext::setLineCap):
              (WebCore::GraphicsContext::setLineDash):
              (WebCore::GraphicsContext::setLineJoin):
              (WebCore::GraphicsContext::setMiterLimit):
              (WebCore::GraphicsContext::setAlpha):
              (WebCore::GraphicsContext::setCompositeOperation):
              (WebCore::GraphicsContext::canvasClip):
              (WebCore::GraphicsContext::clipOut):
              (WebCore::GraphicsContext::scale):
              (WebCore::GraphicsContext::rotate):
              (WebCore::GraphicsContext::translate):
              (WebCore::GraphicsContext::origin):
              (WebCore::GraphicsContext::clipOutEllipseInRect):
              (WebCore::GraphicsContext::clipToImageBuffer):
              (WebCore::GraphicsContext::addInnerRoundedRectClip):
              (WebCore::GraphicsContext::concatCTM):
              (WebCore::GraphicsContext::setURLForRect):
              (WebCore::GraphicsContext::setPlatformStrokeColor):
              (WebCore::GraphicsContext::setPlatformStrokeStyle):
              (WebCore::GraphicsContext::setPlatformStrokeThickness):
              (WebCore::GraphicsContext::setPlatformFillColor):
              (WebCore::GraphicsContext::setPlatformShouldAntialias):
              (WebCore::GraphicsContext::setImageInterpolationQuality):
              (WebCore::GraphicsContext::imageInterpolationQuality):
              * platform/graphics/openvg/PainterOpenVG.cpp: Added.
              (WebCore::isNonRotatedAffineTransformation):
              (WebCore::toVGCapStyle):
              (WebCore::toVGJoinStyle):
              (WebCore::toVGFillRule):
              (WebCore::colorToVGColor):
              (WebCore::setVGSolidColor):
              (WebCore::PlatformPainterState::PlatformPainterState):
              (WebCore::PlatformPainterState::copyPaintState):
              (WebCore::PlatformPainterState::applyState):
              (WebCore::PlatformPainterState::applyBlending):
              (WebCore::PlatformPainterState::applyTransformationMatrix):
              (WebCore::PlatformPainterState::applyScissorRect):
              (WebCore::PlatformPainterState::applyStrokeStyle):
              (WebCore::PlatformPainterState::strokeDisabled):
              (WebCore::PlatformPainterState::fillDisabled):
              (WebCore::PainterOpenVG::PainterOpenVG):
              (WebCore::PainterOpenVG::~PainterOpenVG):
              (WebCore::PainterOpenVG::begin):
              (WebCore::PainterOpenVG::end):
              (WebCore::PainterOpenVG::destroyPainterStates):
              (WebCore::PainterOpenVG::applyState):
              (WebCore::PainterOpenVG::blitToSurface):
              (WebCore::PainterOpenVG::transformationMatrix):
              (WebCore::PainterOpenVG::concatTransformationMatrix):
              (WebCore::PainterOpenVG::setTransformationMatrix):
              (WebCore::PainterOpenVG::compositeOperation):
              (WebCore::PainterOpenVG::setCompositeOperation):
              (WebCore::PainterOpenVG::opacity):
              (WebCore::PainterOpenVG::setOpacity):
              (WebCore::PainterOpenVG::strokeThickness):
              (WebCore::PainterOpenVG::setStrokeThickness):
              (WebCore::PainterOpenVG::strokeStyle):
              (WebCore::PainterOpenVG::setStrokeStyle):
              (WebCore::PainterOpenVG::setLineDash):
              (WebCore::PainterOpenVG::setLineCap):
              (WebCore::PainterOpenVG::setLineJoin):
              (WebCore::PainterOpenVG::setMiterLimit):
              (WebCore::PainterOpenVG::strokeColor):
              (WebCore::PainterOpenVG::setStrokeColor):
              (WebCore::PainterOpenVG::fillColor):
              (WebCore::PainterOpenVG::setFillColor):
              (WebCore::PainterOpenVG::antialiasingEnabled):
              (WebCore::PainterOpenVG::setAntialiasingEnabled):
              (WebCore::PainterOpenVG::scale):
              (WebCore::PainterOpenVG::rotate):
              (WebCore::PainterOpenVG::translate):
              (WebCore::PainterOpenVG::intersectScissorRect):
              (WebCore::PainterOpenVG::intersectClipRect):
              (WebCore::PainterOpenVG::drawRect):
              (WebCore::PainterOpenVG::save):
              (WebCore::PainterOpenVG::restore):
              * platform/graphics/openvg/PainterOpenVG.h: Added.
              (WebCore::PainterOpenVG::):
              (WebCore::PainterOpenVG::surface):
              * platform/graphics/openvg/SurfaceOpenVG.cpp:
              (WebCore::SurfaceOpenVG::SurfaceOpenVG):
              (WebCore::SurfaceOpenVG::~SurfaceOpenVG):
              (WebCore::SurfaceOpenVG::makeCurrent):
              (WebCore::SurfaceOpenVG::makeCompatibleCurrent):
              (WebCore::SurfaceOpenVG::setActivePainter):
              (WebCore::SurfaceOpenVG::activePainter):
              * platform/graphics/openvg/SurfaceOpenVG.h:
              (WebCore::SurfaceOpenVG::):
              * platform/graphics/openvg/VGUtils.cpp: Added.
              (WebCore::VGMatrix::VGMatrix):
              (WebCore::VGMatrix::operator TransformationMatrix):
              (WebCore::TransformationMatrix::operator VGMatrix):
              (WebCore::VGRect::VGRect):
              (WebCore::VGRect::operator FloatRect):
              (WebCore::FloatRect::operator VGRect):
              * platform/graphics/openvg/VGUtils.h:
              (WebCore::VGMatrix::toVGfloat):
              (WebCore::VGRect::toVGfloat):
              * platform/graphics/transforms/TransformationMatrix.h:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54063 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a3ace984
    • philn@webkit.org's avatar
      2010-01-29 Philippe Normand <pnormand@igalia.com> · 8ecc05ca
      philn@webkit.org authored
              Unreviewed, build fix.
      
              http/tests/media/video-referer.html fails on mac
              https://bugs.webkit.org/show_bug.cgi?id=34331
      
              Skipping the failing test. Requires further investigation.
      
              * platform/mac-leopard/Skipped:
              * platform/mac-snowleopard/Skipped:
              * platform/mac-tiger/Skipped:
              * platform/mac/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54062 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8ecc05ca
    • philn@webkit.org's avatar
      2010-01-29 Philippe Normand <pnormand@igalia.com> · 970d2fda
      philn@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              [Gtk] Vimeo HTML5 player doesn't work
              https://bugs.webkit.org/show_bug.cgi?id=34327
      
              Send Referer when requesting media over HTTP.
      
              Test: http/tests/media/video-referer.html
      
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mediaPlayerPrivateSourceChangedCallback):
      
      2010-01-29  Philippe Normand  <pnormand@igalia.com>
      
              Reviewed by Gustavo Noronha Silva.
      
              [Gtk] Vimeo HTML5 player doesn't work
              https://bugs.webkit.org/show_bug.cgi?id=34327
      
              Test for HTTP Referer checking when playing remote media.
      
              * http/tests/media/resources/setCookieAndReferer.cgi: Added.
              * http/tests/media/resources/video-referer-check-referer.php: Added.
              * http/tests/media/video-referer-expected.txt: Added.
              * http/tests/media/video-referer.html: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54061 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      970d2fda
    • hausmann@webkit.org's avatar
      [Qt] Speed up the WebCore::String -> QString conversion · d1136a3c
      hausmann@webkit.org authored
      Patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com> on 2010-01-29
      Reviewed by Simon Hausmann.
      
      Use QString(const QChar *, int len) constructor instead of QString::fromUtf16 to
      avoid BOM checks and byteswapping.
      
      * bridge/qt/qt_class.cpp:
      (JSC::Bindings::QtClass::fieldNamed):
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::convertValueToQVariant):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54060 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d1136a3c
    • pfeldman@chromium.org's avatar
      2010-01-29 Alexander Pavlov <apavlov@chromium.org> · 7f12405a
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Source view displays text using wrong fonts
              https://bugs.webkit.org/show_bug.cgi?id=34269
      
              * inspector/front-end/TextEditor.js:
              (WebInspector.TextEditor):
              (WebInspector.TextEditor.prototype._initFont):
              * inspector/front-end/inspector.js:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54059 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7f12405a
    • eric@webkit.org's avatar
      2010-01-29 Andreas Kling <andreas.kling@nokia.com> · f8ba9215
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Add support for Maemo zoom keys in QtLauncher
      
              https://bugs.webkit.org/show_bug.cgi?id=34160
      
              * QtLauncher/main.cpp:
              (LauncherWindow::LauncherWindow):
              (LauncherWindow::~LauncherWindow):
              (LauncherWindow::keyPressEvent):
              (LauncherWindow::grabZoomKeys):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54058 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f8ba9215
    • yurys@chromium.org's avatar
      2010-01-29 Yury Semikhatsky <yurys@chromium.org> · 09608666
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Add API methods for loading inspector utility scripts.
      
              https://bugs.webkit.org/show_bug.cgi?id=34326
      
              * public/WebDevToolsAgentClient.h:
              (WebKit::WebDevToolsAgentClient::injectedScriptSource):
              (WebKit::WebDevToolsAgentClient::injectedScriptDispatcherSource):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54057 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      09608666
    • eric@webkit.org's avatar
      2010-01-29 Philippe Normand <pnormand@igalia.com> · b3f9ccec
      eric@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              [Gtk] Apple trailers don't play anymore
              https://bugs.webkit.org/show_bug.cgi?id=34316
      
              Fake QuickTime when accessing movie trailers.
      
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mediaPlayerPrivateSourceChangedCallback):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54056 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b3f9ccec
    • abecsi@webkit.org's avatar
      Unreviewed. · 0f2e99b7
      abecsi@webkit.org authored
      [Qt] Remove disabled tests from Skiplist. The tests were disabled in r53701.
      
      * platform/qt/Skipped: 
        -css2.1/t1204-increment-00-c-o.html
        -css2.1/t1204-increment-01-c-o.html
        -css2.1/t1204-increment-02-c-o.html
        -css2.1/t1204-reset-00-c-o.html
        -css2.1/t1204-reset-01-c-o.html
        -css2.1/t1204-reset-02-c-o.html
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54055 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0f2e99b7
    • eric@webkit.org's avatar
      2010-01-29 Benjamin Poulain <benjamin.poulain@nokia.com> · 811a2dd4
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Implement the display() method of the layout test controller
              https://bugs.webkit.org/show_bug.cgi?id=34258
      
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::DumpRenderTree::DumpRenderTree):
              (WebCore::DumpRenderTree::showPage):
              (WebCore::DumpRenderTree::hidePage):
              * DumpRenderTree/qt/DumpRenderTreeQt.h:
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::reset):
              (LayoutTestController::display):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54054 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      811a2dd4
    • pfeldman@chromium.org's avatar
      2010-01-29 Pavel Feldman <pfeldman@chromium.org> · f74f26a7
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: migrate to tokenizer-based highlighting in the Elements panel.
      
              https://bugs.webkit.org/show_bug.cgi?id=34273
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * inspector/front-end/CSSSourceSyntaxHighlighter.js: Removed.
              * inspector/front-end/DOMSyntaxHighlighter.js: Added.
              (WebInspector.DOMSyntaxHighlighter):
              (WebInspector.DOMSyntaxHighlighter.prototype.createSpan):
              (WebInspector.DOMSyntaxHighlighter.prototype.syntaxHighlightNode):
              * inspector/front-end/ElementsTreeOutline.js:
              * inspector/front-end/JavaScriptSourceSyntaxHighlighter.js: Removed.
              * inspector/front-end/SourceCSSTokenizer.js:
              (WebInspector.SourceCSSTokenizer):
              (WebInspector.SourceCSSTokenizer.prototype.nextToken):
              * inspector/front-end/SourceCSSTokenizer.re2js:
              * inspector/front-end/SourceHTMLTokenizer.js:
              (WebInspector.SourceHTMLTokenizer):
              (WebInspector.SourceHTMLTokenizer.prototype.nextToken):
              * inspector/front-end/SourceHTMLTokenizer.re2js:
              * inspector/front-end/SourceJavaScriptTokenizer.js:
              (WebInspector.SourceJavaScriptTokenizer):
              (WebInspector.SourceJavaScriptTokenizer.prototype.nextToken):
              * inspector/front-end/SourceJavaScriptTokenizer.re2js:
              * inspector/front-end/SourceSyntaxHighlighter.js: Removed.
              * inspector/front-end/SourceTokenizer.js: Added.
              (WebInspector.SourceTokenizer):
              (WebInspector.SourceTokenizer.prototype.set line):
              (WebInspector.SourceTokenizer.prototype.set condition):
              (WebInspector.SourceTokenizer.prototype.get condition):
              (WebInspector.SourceTokenizer.prototype.hasCondition):
              (WebInspector.SourceTokenizer.prototype.getLexCondition):
              (WebInspector.SourceTokenizer.prototype.setLexCondition):
              (WebInspector.SourceTokenizer.prototype._charAt):
              (WebInspector.SourceTokenizer.Registry):
              (WebInspector.SourceTokenizer.Registry.getInstance):
              (WebInspector.SourceTokenizer.Registry.prototype.getTokenizer):
              * inspector/front-end/TextEditorHighlighter.js:
              (WebInspector.TextEditorHighlighter):
              (WebInspector.TextEditorHighlighter.prototype.set mimeType):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.html:
              LayoutTests:
              * inspector/syntax-highlight-css-expected.txt:
              * inspector/syntax-highlight-css.html:
              * inspector/syntax-highlight-javascript-expected.txt:
              * inspector/syntax-highlight-javascript.html:
              * inspector/syntax-highlight.js:
              (frontend_dumpSyntaxHighlight):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54053 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f74f26a7
    • pfeldman@chromium.org's avatar
      2010-01-29 Pavel Feldman <pfeldman@chromium.org> · 8c4e41ea
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: No need to render background sources
              when performing search.
      
              https://bugs.webkit.org/show_bug.cgi?id=34263
      
              * inspector/front-end/ScriptView.js:
              (WebInspector.ScriptView):
              (WebInspector.ScriptView.prototype.show):
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame):
              (WebInspector.SourceFrame.prototype.set visible):
              (WebInspector.SourceFrame.prototype.set executionLine):
              (WebInspector.SourceFrame.prototype.revealLine):
              (WebInspector.SourceFrame.prototype.clearMessages):
              (WebInspector.SourceFrame.prototype.sizeToFitContentHeight):
              (WebInspector.SourceFrame.prototype.setContent):
              (WebInspector.SourceFrame.prototype._createEditorIfNeeded):
              (WebInspector.SourceFrame.prototype.setSelection):
              (WebInspector.SourceFrame.prototype.clearSelection):
              (WebInspector.SourceFrame.prototype._contextMenu.addConditionalBreakpoint):
              (WebInspector.SourceFrame.prototype._contextMenu):
              (WebInspector.SourceFrame.prototype._toggleBreakpoint):
              (WebInspector.SourceFrame.prototype.resize):
              (WebInspector.BreakpointLineNumberDecorator):
              * inspector/front-end/SourceView.js:
              (WebInspector.SourceView):
              (WebInspector.SourceView.prototype.show):
              (WebInspector.SourceView.prototype.hide):
              (WebInspector.SourceView.prototype.resize):
              * inspector/front-end/TextEditor.js:
              (WebInspector.TextEditor):
              * inspector/front-end/TextEditorHighlighter.js:
              (WebInspector.TextEditorHighlighter):
              * inspector/front-end/TextEditorModel.js:
              (WebInspector.TextEditorModel):
              (WebInspector.TextEditorModel.prototype.set changeListener):
              (WebInspector.TextEditorModel.prototype.setText):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54052 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8c4e41ea
    • yurys@chromium.org's avatar
      2010-01-29 Yury Semikhatsky <yurys@chromium.org> · 921f0e81
      yurys@chromium.org authored
              Reviewed by Adam Barth.
      
              Remove ScriptState::frame which is only used for reporting exceptions
              in some cases in a way that diverges from the regular exception reporting in
              v8 bindings.
      
              Cache ScriptState directly on v8::Context instead of providing
              implementations specific for isolated worlds and ScriptController.
      
              https://bugs.webkit.org/show_bug.cgi?id=34266
      
              * bindings/js/ScriptController.cpp:
              * bindings/js/ScriptController.h:
              * bindings/js/ScriptState.cpp:
              (WebCore::mainWorldScriptState):
              * bindings/js/ScriptState.h:
              * bindings/v8/ScriptCallStack.cpp:
              (WebCore::ScriptCallStack::ScriptCallStack):
              * bindings/v8/ScriptController.cpp:
              (WebCore::ScriptController::evaluate):
              (WebCore::ScriptController::clearWindowShell):
              * bindings/v8/ScriptController.h:
              * bindings/v8/ScriptScope.cpp:
              (WebCore::ScriptScope::ScriptScope):
              (WebCore::ScriptScope::success):
              * bindings/v8/ScriptScope.h:
              * bindings/v8/ScriptState.cpp:
              (WebCore::ScriptState::ScriptState):
              (WebCore::ScriptState::forContext):
              (WebCore::ScriptState::current):
              (WebCore::ScriptState::weakReferenceCallback):
              (WebCore::mainWorldScriptState):
              (WebCore::scriptStateFromPage):
              * bindings/v8/ScriptState.h:
              (WebCore::ScriptState::ScriptState):
              (WebCore::EmptyScriptState::EmptyScriptState):
              (WebCore::EmptyScriptState::~EmptyScriptState):
              * bindings/v8/V8HiddenPropertyName.h:
              * bindings/v8/V8IsolatedContext.cpp:
              * bindings/v8/V8IsolatedContext.h:
              * bindings/v8/V8Utilities.cpp:
              (WebCore::getScriptExecutionContext):
              (WebCore::reportException):
              * bindings/v8/custom/V8NodeIteratorCustom.cpp:
              (WebCore::V8NodeIterator::nextNodeCallback):
              (WebCore::V8NodeIterator::previousNodeCallback):
              * bindings/v8/custom/V8TreeWalkerCustom.cpp:
              (WebCore::V8TreeWalker::parentNodeCallback):
              (WebCore::V8TreeWalker::firstChildCallback):
              (WebCore::V8TreeWalker::lastChildCallback):
              (WebCore::V8TreeWalker::nextNodeCallback):
              (WebCore::V8TreeWalker::previousNodeCallback):
              (WebCore::V8TreeWalker::nextSiblingCallback):
              (WebCore::V8TreeWalker::previousSiblingCallback):
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::injectedScriptForNodeId):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54051 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      921f0e81
    • hausmann@webkit.org's avatar
      Rubber-stamped by Maciej Stachowiak. · a558d2e6
      hausmann@webkit.org authored
      Fix the ARM build.
      
      * runtime/JSNumberCell.h:
      (JSC::JSNumberCell::createStructure): Call the right Structure::create overload.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54050 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a558d2e6
    • darin@chromium.org's avatar
      2010-01-29 Darin Fisher <darin@chromium.org> · 834cc528
      darin@chromium.org authored
              Reviewed by Adam Barth.
      
              Add FrameLoaderClient::allowImages method to allow the client to
              overrule image loading policy on a per frame basis.
      
              https://bugs.webkit.org/show_bug.cgi?id=34225
      
              For completeness, this patch also adds Settings::areImagesEnabled.
              This is different from loadsImagesAutomatically as is explained in
              Settings.h.
      
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::requestImage):
              * loader/FrameLoaderClient.h:
              (WebCore::FrameLoaderClient::allowImages):
              * loader/ImageDocument.cpp:
              (WebCore::ImageTokenizer::writeRawData):
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              (WebCore::Settings::setImagesEnabled):
              * page/Settings.h:
              (WebCore::Settings::areImagesEnabled):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54049 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      834cc528
    • eric@webkit.org's avatar
      2010-01-28 Nicholas Young <nicholas.young@nokia.com> · 354590c8
      eric@webkit.org authored
              Reviewed by Eric Carlson.
      
              Prefer provided video element width/height properties to hard coded
              defaults for intrinsic size when natural video size is unavailable.
              https://bugs.webkit.org/show_bug.cgi?id=34302
      
              No new tests needed.
      
              * rendering/RenderVideo.cpp: Attempt to use width/height properties
              (WebCore::RenderVideo::RenderVideo):
              * rendering/RenderVideo.h: More appropriate constructor signature
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54048 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      354590c8
    • oliver@apple.com's avatar
      2010-01-28 Oliver Hunt <oliver@apple.com> · 350a20a4
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              MessageEvent.data should not be repeated deserialised
              https://bugs.webkit.org/show_bug.cgi?id=34311
      
              Add test to ensure we get the same value back when accessing event.data multiple times
      
              * fast/dom/Window/window-postmessage-clone.html:
      2010-01-28  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Gavin Barraclough.
      
              MessageEvent.data should not be repeated deserialised
              https://bugs.webkit.org/show_bug.cgi?id=34311
      
              Cache the result of deserialising the event data
      
              * bindings/scripts/CodeGeneratorJS.pm:
              * dom/MessageEvent.idl:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54047 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      350a20a4
    • jorlow@chromium.org's avatar
      2010-01-28 Jeremy Orlow <jorlow@chromium.org> · 9899d7db
      jorlow@chromium.org authored
              Reviewed by Darin Fisher.
      
              StorageNamespaceProxy::copy() should be a no-op
              https://bugs.webkit.org/show_bug.cgi?id=34298
      
              The comment in the code should make clear why.
      
              * public/WebViewClient.h:
              * src/StorageNamespaceProxy.cpp:
              (WebCore::StorageNamespaceProxy::copy):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54046 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9899d7db
    • eric@webkit.org's avatar
      2010-01-28 Hayato Ito <hayato@chromium.org> · b0622f8e
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Change CSS 'page-break-inside' property from inherited one to non-inherited one because CSS specification defines so.
      
              Note: Currently, the 'page-break-inside' property is used only when parsing the CSS. That property is not used when rendering.
      
              https://bugs.webkit.org/show_bug.cgi?id=34195
      
              * fast/css/getComputedStyle/computed-style-page-break-inside-expected.txt: Added.
              * fast/css/getComputedStyle/computed-style-page-break-inside.html: Added.
              * fast/css/getComputedStyle/script-tests/computed-style-page-break-inside.js: Added.
      2010-01-28  Hayato Ito  <hayato@chromium.org>
      
              Reviewed by Darin Adler.
      
              Change CSS 'page-break-inside' property from inherited one to non-inherited one because CSS specification defines so.
      
              Note: Currently, the 'page-break-inside' property is used only when parsing the CSS. That property is not used when rendering.
      
              https://bugs.webkit.org/show_bug.cgi?id=34195
      
              * rendering/style/RenderStyle.h:
              (WebCore::InheritedFlags::NonInheritedFlags::operator==):
              (WebCore::InheritedFlags::setBitDefaults):
              (WebCore::InheritedFlags::pageBreakInside):
              (WebCore::InheritedFlags::setPageBreakInside):
              * rendering/style/StyleInheritedData.cpp:
              (WebCore::StyleInheritedData::StyleInheritedData):
              (WebCore::StyleInheritedData::operator==):
              * rendering/style/StyleInheritedData.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54045 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b0622f8e
    • eric@webkit.org's avatar
      2010-01-28 Michael Nordman <michaeln@google.com> · f0b1c349
      eric@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              ApplicationCache events should be deferred until after Document onload has fired.
              https://bugs.webkit.org/show_bug.cgi?id=29690
      
              * http/tests/appcache/deferred-events-expected.txt: Added.
              * http/tests/appcache/deferred-events.html: Added.
              * http/tests/appcache/deferred-events-delete-while-raising-expected.txt: Added.
              * http/tests/appcache/deferred-events-delete-while-raising.html: Added.
      2010-01-28  Michael Nordman  <michaeln@google.com>
      
              Reviewed by Alexey Proskuryakov.
      
              ApplicationCache events should be deferred until after Document onload has fired.
              https://bugs.webkit.org/show_bug.cgi?id=29690
      
              Test: http/tests/appcache/deferred-events.html
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::handledOnloadEvents):  Tells the ApplicationCacheHost to stop deferring events.
              * loader/appcache/ApplicationCacheHost.cpp:
              (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true.
              (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event.
              (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag.
              * loader/appcache/ApplicationCacheHost.h: Declare new data members and method.
      2010-01-28  Michael Nordman  <michaeln@google.com>
      
              Reviewed by Alexey Proskuryakov.
      
              ApplicationCache events should be deferred until after Document onload has fired.
              https://bugs.webkit.org/show_bug.cgi?id=29690
      
              * src/ApplicationCacheHost.cpp:
              (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true.
              (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event.
              (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54044 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f0b1c349
    • kevino@webkit.org's avatar
      [wx] Build fix for MSW, use ThreadingWin.cpp as the Windows pthreads implementation · b2feeb92
      kevino@webkit.org authored
      implements pthread_t in a way that makes it impossible to check its validity,
      which is needed by ThreadingPthreads.cpp.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54043 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b2feeb92
    • eric@webkit.org's avatar
      2010-01-28 Kavita Kanetkar <kkanetkar@chromium.org> · 8ea41dae
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Generate header declaration for custom constructor callbacks
              https://bugs.webkit.org/show_bug.cgi?id=33680
      
              Added handling of 'CanBeConstructed' and 'OmitConstructor' and a new extended attribute
              CustomConstructor'.
      
              Deleted implementation .cpp files for corresponding 'CanBeConstructed'
              extended attributes. These are now generated via CodeGeneratorV8.pm
              Treating 'OmitConstructor' and 'CustomConstructor' to be the same in
              CodeGeneratorJS.pm
              Cleaned idls that had 'CustomConstructor' and 'OmitConstructor' together, and
              same with CustomConstructor and CanBeConstructed.
      
              * Android.v8bindings.mk:
              * WebCore.gypi: Removed deps for classes being generated.
              * bindings/scripts/CodeGeneratorJS.pm: OmitConstructor and CustomConstructor have the same behavior in generator.
              * bindings/scripts/CodeGeneratorV8.pm: Generating the callbacks for constructors.
              * bindings/v8/V8DOMWrapper.cpp: Removed manual calls to SetCallHandler() for constructor callbacks.
              (WebCore::V8DOMWrapper::getTemplate):
              * bindings/v8/custom/V8CustomBinding.h: Removed manual declarations of constructor callbacks.
              * bindings/v8/custom/V8DOMParserConstructor.cpp:
              * bindings/v8/custom/V8EventSourceConstructor.cpp:
              (WebCore::V8EventSource::constructorCallback):
              * bindings/v8/custom/V8MessageChannelConstructor.cpp:
              (WebCore::V8MessageChannel::constructorCallback):
              * bindings/v8/custom/V8SharedWorkerCustom.cpp:
              (WebCore::V8SharedWorker::constructorCallback):
              * bindings/v8/custom/V8WebGLArrayBufferCustom.cpp:
              (WebCore::V8WebGLArrayBuffer::constructorCallback):
              * bindings/v8/custom/V8WebGLByteArrayCustom.cpp:
              (WebCore::V8WebGLByteArray::constructorCallback):
              * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp:
              (WebCore::V8WebGLFloatArray::constructorCallback):
              * bindings/v8/custom/V8WebGLIntArrayCustom.cpp:
              (WebCore::V8WebGLIntArray::constructorCallback):
              * bindings/v8/custom/V8WebGLShortArrayCustom.cpp:
              (WebCore::V8WebGLShortArray::constructorCallback):
              * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp:
              (WebCore::V8WebGLUnsignedByteArray::constructorCallback):
              * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp:
              (WebCore::V8WebGLUnsignedIntArray::constructorCallback):
              * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp:
              (WebCore::V8WebGLUnsignedShortArray::constructorCallback):
              * bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp:
              (WebCore::V8WebKitCSSMatrix::constructorCallback):
              * bindings/v8/custom/V8WebKitPointConstructor.cpp:
              (WebCore::V8WebKitPoint::constructorCallback):
              * bindings/v8/custom/V8WebSocketCustom.cpp:
              (WebCore::V8WebSocket::constructorCallback):
              * bindings/v8/custom/V8WorkerCustom.cpp:
              (WebCore::V8Worker::constructorCallback):
              * bindings/v8/custom/V8XMLHttpRequestConstructor.cpp:
              (WebCore::V8XMLHttpRequest::constructorCallback):
              * bindings/v8/custom/V8XMLSerializerConstructor.cpp:
              * bindings/v8/custom/V8XPathEvaluatorConstructor.cpp: Deleted the file. Implementation now being generated.
              * bindings/v8/custom/V8XSLTProcessorCustom.cpp: Deleted the file. Implementation now being generated.
              (WebCore::V8XSLTProcessor::constructorCallback): Deleted the file. Implementation now being generated.
              * css/WebKitCSSMatrix.idl: Added CustomConstructor attribute.
              * dom/MessageChannel.idl: Added CustomConstructor attribute.
              * html/canvas/WebGLArrayBuffer.idl: Added CustomConstructor attribute.
              * html/canvas/WebGLByteArray.idl: Added CustomConstructor attribute.
              * html/canvas/WebGLFloatArray.idl: Added CustomConstructor attribute.
              * html/canvas/WebGLIntArray.idl: Added CustomConstructor attribute.
              * html/canvas/WebGLShortArray.idl: Added CustomConstructor attribute.
              * html/canvas/WebGLUnsignedByteArray.idl: Added CustomConstructor attribute.
              * html/canvas/WebGLUnsignedIntArray.idl: Added CustomConstructor attribute.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54042 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8ea41dae
    • eric@webkit.org's avatar
      2010-01-28 Steve Block <steveblock@google.com> · d06e8553
      eric@webkit.org authored
              Reviewed by David Levin.
      
              Add stub for AXObjectCache::contentChanged when HAVE(ACCESSIBILITY) is not defined
              https://bugs.webkit.org/show_bug.cgi?id=34271
      
              No new tests, build fix only.
      
              * accessibility/AXObjectCache.cpp: Modified. Added HAVE(ACCESSIBILITY) guards around contentChanged
              * accessibility/AXObjectCache.h: Modified.
              (WebCore::AXObjectCache::contentChanged): Added stub
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54041 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d06e8553
    • oliver@apple.com's avatar
      2010-01-28 Oliver Hunt <oliver@apple.com> · 02c25dcc
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              DOM Objects shouldn't all require custom mark functions
              https://bugs.webkit.org/show_bug.cgi?id=34291
      
              Make getAnonymousValue const-friendly
      
              * runtime/JSObject.h:
              (JSC::JSObject::getAnonymousValue):
      2010-01-28  Steve Block  <steveblock@google.com>
      
              Reviewed by David Levin.
      
              Use long long rather than int64 in V8Binding.h
              https://bugs.webkit.org/show_bug.cgi?id=34270
      
              No new tests, build fix only.
      
              * bindings/v8/V8Binding.h: Modified.
              (WebCore::toInt64): Returns long long
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54040 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      02c25dcc
    • abecsi@webkit.org's avatar
      Adding myself to the committer list. No review needed. · c62033bc
      abecsi@webkit.org authored
      * Scripts/webkitpy/committers.py:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54039 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c62033bc
    • eric@webkit.org's avatar
      2010-01-28 Steve Block <steveblock@google.com> · 5d5cec1e
      eric@webkit.org authored
              Reviewed by David Levin.
      
              Use long long rather than int64 in V8Binding.h
              https://bugs.webkit.org/show_bug.cgi?id=34270
      
              No new tests, build fix only.
      
              * bindings/v8/V8Binding.h: Modified.
              (WebCore::toInt64): Returns long long
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54038 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5d5cec1e
    • eric@webkit.org's avatar
      2010-01-28 Avi Drissman <avi@chromium.org> · ecec6fce
      eric@webkit.org authored
              Reviewed by David Levin.
      
              Unused variable in ThemeMac (followup to change 49103).
              https://bugs.webkit.org/show_bug.cgi?id=34274
      
              Covered by existing tests.
      
              * platform/mac/ThemeMac.mm:
              (WebCore::setupButtonCell):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54037 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ecec6fce
    • enrica@apple.com's avatar
      Huge plain text pastes are slow · 4030c57e
      enrica@apple.com authored
      <rdar://problem/5195056>
      https://bugs.webkit.org/show_bug.cgi?id=34237
      
      Reviewed by Maciej Stachowiak.
      
      WebCore: 
      
      No new tests. It is a performance improvement.
      
      The performance of the plain text paste is now linear.
      We treat as a special case, a fragment that has been
      created from plain text. Finding VisiblePositions and
      applying style is greatly simplified, given the nature of
      the fragment.
      
      * editing/ReplaceSelectionCommand.cpp:
      (WebCore::ReplaceSelectionCommand::doApply):
      * editing/markup.cpp:
      (WebCore::isPlainTextMarkup):
      * editing/markup.h:
      
      WebKit/mac: 
      
      Mail is ignoring the fragment created from plain text or HTML that is
      passed to the delegate function, that creates a new one.
      This fix avoids creating the fragment twice.
      
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54036 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4030c57e