1. 28 Apr, 2009 40 commits
    • eric@webkit.org's avatar
      Reviewed by David Hyatt. · ae4051fd
      eric@webkit.org authored
              Add text repaint test to cover
              https://bugs.webkit.org/show_bug.cgi?id=16188
      
              * platform/mac/svg/text/text-repaint-rects-expected.checksum: Added.
              * platform/mac/svg/text/text-repaint-rects-expected.png: Added.
              * platform/mac/svg/text/text-repaint-rects-expected.txt: Added.
              * svg/text/text-repaint-rects.xhtml: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42964 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ae4051fd
    • xan@webkit.org's avatar
      WebCore: · 44fb3bdf
      xan@webkit.org authored
      2009-04-28  Xan Lopez  <xlopez@igalia.com>
      
              Unreviewed: fix distcheck build, add missing header to file list.
      
              * GNUmakefile.am:
      
      JavaScriptCore:
      
      2009-04-28  Xan Lopez  <xlopez@igalia.com>
      
              Unreviewed: fix distcheck build, add missing header to file list.
      
              * GNUmakefile.am:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42963 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      44fb3bdf
    • kov@webkit.org's avatar
      2009-04-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · d91c2eaf
      kov@webkit.org authored
              Unreviewed. Update gtk-doc control and base sgml files for 1.1.6.
      
              * docs/webkitgtk-docs.sgml:
              * docs/webkitgtk-sections.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42962 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d91c2eaf
    • eric@webkit.org's avatar
      Reviewed by Sam Weinig. · 8aa9d381
      eric@webkit.org authored
              Fix foreignObject transform order
              https://bugs.webkit.org/show_bug.cgi?id=25433
      
              Transforms were being applied in the wrong order.
              When mapping from local to parent, first apply the viewport transform
              then map from the viewport box to the parent box.
      
              * rendering/RenderForeignObject.cpp:
              (WebCore::RenderForeignObject::localToParentTransform):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42961 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8aa9d381
    • eric@webkit.org's avatar
      Reviewed by Simon Fraser. · 53203e40
      eric@webkit.org authored
              Simplify nodeAtPoint for SVG
              https://bugs.webkit.org/show_bug.cgi?id=25432
      
              Added a new nodeAtFloatPoint method which takes a FloatPoint
              instead of the *super confusing* x/y tx/ty pairs that HTML uses.
              Mostly this is just lots of minus-lines as the new code is *much* simpler.
      
              I made all the SVG renderers use the new nodeAtFloatPoint and ASSERT_NOT_REACHED
              for the nodeAtPoint HTML/CSS int x/y version.
      
              Eventually the rest of CSS/HTML render objects will follow suit
              and move to nodeAtFloatPoint (possibly renamed back to nodeAtPoint), but changing them
              over was well outside the scope of this change.
      
              SVG hit testing is not actually floating point precise yet, since its still
              passed in an integer x/y.  Certain transform hit-test edge cases are likely fixed
              by moving to FloatPoint here, but I didn't try to find one.
      
              This should not cause functional changes for common-case hit testing, thus
              no tests changed, nor should new tests be needed.
      
              * rendering/RenderForeignObject.cpp:
              (WebCore::RenderForeignObject::translationForAttributes):
              (WebCore::RenderForeignObject::paint):
              (WebCore::RenderForeignObject::computeRectForRepaint):
              (WebCore::RenderForeignObject::localToParentTransform):
              (WebCore::RenderForeignObject::layout):
              (WebCore::RenderForeignObject::nodeAtFloatPoint):
              * rendering/RenderForeignObject.h:
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::nodeAtFloatPoint):
              * rendering/RenderObject.h:
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::nodeAtFloatPoint):
              * rendering/RenderPath.h:
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::nodeAtFloatPoint):
              * rendering/RenderSVGContainer.h:
              (WebCore::RenderSVGContainer::pointIsInsideViewportClip):
              * rendering/RenderSVGHiddenContainer.cpp:
              (WebCore::RenderSVGHiddenContainer::nodeAtFloatPoint):
              * rendering/RenderSVGHiddenContainer.h:
              * rendering/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::paint):
              (WebCore::RenderSVGImage::nodeAtFloatPoint):
              * rendering/RenderSVGImage.h:
              (WebCore::RenderSVGImage::localToParentTransform):
              (WebCore::RenderSVGImage::localTransform):
              * rendering/RenderSVGModelObject.cpp:
              (WebCore::RenderSVGModelObject::nodeAtFloatPoint):
              * rendering/RenderSVGModelObject.h:
              * rendering/RenderSVGRoot.cpp:
              (WebCore::RenderSVGRoot::nodeAtFloatPoint):
              * rendering/RenderSVGText.cpp:
              (WebCore::RenderSVGText::nodeAtFloatPoint):
              * rendering/RenderSVGText.h:
              * rendering/RenderSVGViewportContainer.cpp:
              (WebCore::RenderSVGViewportContainer::pointIsInsideViewportClip):
              * rendering/RenderSVGViewportContainer.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42960 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      53203e40
    • eric.carlson@apple.com's avatar
      2009-04-28 Eric Carlson <eric.carlson@apple.com> · dc449487
      eric.carlson@apple.com authored
              - fix the Tiger build
      
              * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
              (WebCore::MediaPlayerPrivate::cacheMovieScale):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42959 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      dc449487
    • weinig@apple.com's avatar
      2009-04-28 Sam Weinig <sam@webkit.org> · f21bf405
      weinig@apple.com authored
              Reviewed by Beth Dakin.
      
              Consolidate ScheduleAction creation into ScheduledAction::create.
              Autogenerate JSWorkerContext.clearTimeout and clearInterval.
      
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::setTimeout):
              (WebCore::JSDOMWindow::setInterval):
              * bindings/js/JSWorkerContextCustom.cpp:
              (WebCore::JSWorkerContext::setTimeout):
              (WebCore::JSWorkerContext::setInterval):
              * bindings/js/ScheduledAction.cpp:
              (WebCore::ScheduledAction::create):
              (WebCore::ScheduledAction::ScheduledAction):
              (WebCore::ScheduledAction::execute):
              * bindings/js/ScheduledAction.h:
              * workers/WorkerContext.cpp:
              (WebCore::DOMWindow::setTimeout):
              (WebCore::DOMWindow::clearTimeout):
              (WebCore::DOMWindow::setInterval):
              (WebCore::DOMWindow::clearInterval):
              * workers/WorkerContext.h:
              * workers/WorkerContext.idl:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42958 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f21bf405
    • sfalken@apple.com's avatar
      Fix link warnings building TestNetscapePlugin on Windows due to mismatched · b5f45f1d
      sfalken@apple.com authored
              DLL name vs. LIBRARY directive name.
              
              Reviewed by Jon Honeycutt.
      
              * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.def:
              * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
              * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42957 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b5f45f1d
    • kov@webkit.org's avatar
      2009-04-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · e0ebbf0d
      kov@webkit.org authored
              Reviewed by Xan Lopez.
      
      	Updated with news for the 1.1.6 release.
      
              * NEWS:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42956 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e0ebbf0d
    • beidson@apple.com's avatar
      WebCore: · 27ca35a8
      beidson@apple.com authored
      2009-04-28  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Darin Adler
      
              <rdar://problem/6643219> Crashes after moving nodes between documents with Safari 4 Beta installed
      
              When moving Nodes between documents we weren't properly updating style declarations.  Certain operations, such
              as creating webarchives, would tickle this bug.
      
              Tests: webarchive/adopt-attribute-styled-body-webarchive.html
                     webarchive/adopt-attribute-styled-node-webarchive.html
                     webarchive/adopt-inline-styled-node-webarchive.html
      
              * dom/Node.cpp:  Add a debug-only mechanism to insure that anyone who overrides (did/will)MoveToNewOwnerDocument
                calls their parent-class implementation after they've done their own work.
              (WebCore::setWillMoveToNewOwnerDocumentWasCalled): 
              (WebCore::setDidMoveToNewOwnerDocumentWasCalled):
              (WebCore::Node::setDocument):
              (WebCore::Node::willMoveToNewOwnerDocument):
              (WebCore::Node::didMoveToNewOwnerDocument):
      
              * dom/StyledElement.cpp:
              (WebCore::StyledElement::attributeChanged): Add a comment explaining why we don't need to walk the nameAttrMap
                to update style declarations.
              (WebCore::StyledElement::didMoveToNewOwnerDocument): Update the parent pointer for the inline style declaration.
              * dom/StyledElement.h:
      
              * html/HTMLBodyElement.cpp:
              (WebCore::HTMLBodyElement::didMoveToNewOwnerDocument): Update the parent pointer for the link declaration.
              * html/HTMLBodyElement.h:
      
      LayoutTests:
      
      2009-04-28  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Darin Adler
      
              <rdar://problem/6643219> Crashes after moving nodes between documents with Safari 4 Beta installed
      
              * webarchive/adopt-attribute-styled-body-webarchive-expected.webarchive: Added.
              * webarchive/adopt-attribute-styled-body-webarchive.html: Added.
              * webarchive/resources/adopt-attribute-styled-body-iframe.html: Added.
              * webarchive/resources/adopt-attribute-styled-body-second-window.html: Added.
      
              * webarchive/adopt-attribute-styled-node-webarchive-expected.webarchive: Added.
              * webarchive/adopt-attribute-styled-node-webarchive.html: Added.
              * webarchive/resources/adopt-attribute-styled-node-second-window.html: Added.
      
              * webarchive/adopt-inline-styled-node-webarchive-expected.webarchive: Added.
              * webarchive/adopt-inline-styled-node-webarchive.html: Added.
              * webarchive/resources/adopt-inline-styled-node-second-window.html: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42955 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      27ca35a8
    • sfalken@apple.com's avatar
      Fix warnings about PRODUCTION and ARCHIVE_BUILD on Windows builds · 86b0c99d
      sfalken@apple.com authored
              of ImageDiff and DumpRenderTree.
              
              Rubber stamped by Adam Roben.
      
              * DumpRenderTree/win/DumpRenderTree.vcproj:
              * DumpRenderTree/win/ImageDiff.vcproj:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42953 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      86b0c99d
    • eric.carlson@apple.com's avatar
      2009-04-28 Eric Carlson <eric.carlson@apple.com> · 7a38a06c
      eric.carlson@apple.com authored
               Reviewed by Darin Adler.
              
              <rdar://problem/6834876> Don't use BlockExceptions macros until QTKit supports 
              QTMoviePreferredTransformAttribute
      
              * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
              (WebCore::MediaPlayerPrivate::cacheMovieScale): use @try and @catch instead of 
              BEGIN_BLOCK_OBJC_EXCEPTIONS and END_BLOCK_OBJC_EXCEPTIONS for builds of QTKit 
              that throw an exception on QTMovieCurrentSizeAttribute but don't support 
              QTMoviePreferredTransformAttribute
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42952 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7a38a06c
    • darin@apple.com's avatar
      2009-04-28 Darin Adler <darin@apple.com> · e19551fa
      darin@apple.com authored
              Reviewed by Sam Weinig.
      
              * rendering/RenderText.cpp:
              (WebCore::RenderText::RenderText): Streamline code path to avoid a bit of reference count
              churn and remove a strange unneeeded PassRefPtr typecast. Also added a comment.
              (WebCore::RenderText::setTextInternal): Ditto.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e19551fa
    • eric@webkit.org's avatar
      Reviewed by Simon Fraser. · 9aa3af47
      eric@webkit.org authored
              Simplify how SVG containers paint
              https://bugs.webkit.org/show_bug.cgi?id=25431
      
              Moved filterBoundingBox() from RenderSVGModelObject to SVGRenderSupport to share with other classes.
              Gave RenderSVGText a modern clippedOverflowRectForRepaint and computeRectForRepaint.
              RenderSVGText now applies transforms at paint() time instead of during chunk draw time
              this should be much more efficient.
      
              Fixed the order in which RenderSVGViewportContainer applied
              transforms and clips.  We now clip to the viewport first and apply
              all transforms at once.  Also since the viewport logic is now only
              inside RenderSVGViewportContainer (instead of inside RenderSVGContainer)
              we always know we have a viewport.  We now use only viewportSize instead of
              viewport() since RenderSVGViewportContainers can't have x/y offsets.
      
              We now correctly transform the PaintInfo::rect (damage rect) when applying transforms.
              This allowed us to apply the transform during text paint() instead of at chunk paint
              time. Previously we had to apply the transform during chunk paint time because
              RenderBlock (superclass of RenderSVGBlock) would check intersection with the damageRect
              before telling any of the inlines to draw.  Now that we adjust the damage rect correctly
              we pass the intersection check correctly!  (This probably fixed some <text> redraw bugs
              but since I still have a bunch of those to fix, I've not tried to write additional tests
              to cover these potential fixes yet.)
      
              SVGRootInlineBox no longer needs to deal with transforms at chunk paint time, yay!
      
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::repaintRectInLocalCoordinates):
              (WebCore::RenderPath::paint):
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::paint):
              (WebCore::RenderSVGContainer::repaintRectInLocalCoordinates):
              * rendering/RenderSVGContainer.h:
              (WebCore::RenderSVGContainer::applyViewportClip):
              * rendering/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::layout):
              (WebCore::RenderSVGImage::repaintRectInLocalCoordinates):
              (WebCore::RenderSVGImage::clippedOverflowRectForRepaint):
              (WebCore::RenderSVGImage::computeRectForRepaint):
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGModelObject.cpp:
              * rendering/RenderSVGModelObject.h:
              * rendering/RenderSVGRoot.cpp:
              (WebCore::RenderSVGRoot::layout):
              (WebCore::RenderSVGRoot::selfWillPaint):
              (WebCore::RenderSVGRoot::paint):
              (WebCore::RenderSVGRoot::viewportSize):
              (WebCore::RenderSVGRoot::calcViewport):
              (WebCore::RenderSVGRoot::localToBorderBoxTransform):
              (WebCore::RenderSVGRoot::parentOriginToBorderBox):
              (WebCore::RenderSVGRoot::borderOriginToContentBox):
              (WebCore::RenderSVGRoot::localToRepaintContainerTransform):
              (WebCore::RenderSVGRoot::localToParentTransform):
              (WebCore::RenderSVGRoot::computeRectForRepaint):
              (WebCore::RenderSVGRoot::nodeAtPoint):
              * rendering/RenderSVGRoot.h:
              * rendering/RenderSVGText.cpp:
              (WebCore::RenderSVGText::clippedOverflowRectForRepaint):
              (WebCore::RenderSVGText::computeRectForRepaint):
              (WebCore::RenderSVGText::paint):
              (WebCore::RenderSVGText::repaintRectInLocalCoordinates):
              * rendering/RenderSVGText.h:
              (WebCore::RenderSVGText::localToParentTransform):
              (WebCore::RenderSVGText::localTransform):
              * rendering/RenderSVGViewportContainer.cpp:
              (WebCore::RenderSVGViewportContainer::applyViewportClip):
              * rendering/RenderSVGViewportContainer.h:
              * rendering/SVGRenderSupport.cpp:
              (WebCore::filterBoundingBoxForRenderer):
              (WebCore::applyTransformToPaintInfo):
              * rendering/SVGRenderSupport.h:
              * rendering/SVGRootInlineBox.cpp:
              (WebCore::SVGRootInlineBoxPaintWalker::chunkStartCallback):
              (WebCore::SVGRootInlineBox::paint):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9aa3af47
    • cfleizach@apple.com's avatar
    • cfleizach@apple.com's avatar
    • mrowe@apple.com's avatar
      Work around <rdar://problem/6833240> by relying on static initialization to zero the entire struct. · 0e70b793
      mrowe@apple.com authored
      This removes the need for us to explicitly initialize all of the members, which have a tendency
      to change in meaning and number between versions of libxml2.
      
      Reviewed by Sam Weinig.
      
      * dom/XMLTokenizerLibxml2.cpp:
      (WebCore::):
      (WebCore::sharedXHTMLEntity):
      (WebCore::getXHTMLEntity):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42945 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0e70b793
    • sfalken@apple.com's avatar
      Fix extraneous warning about AnalyzeWithLargeStack not being defined in Windows builds. · 2a996d8a
      sfalken@apple.com authored
              Indirected definition through a UserMacro.
              
              Reviewed by Mark Rowe.
      
              * win/tools/vsprops/common.vsprops:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42944 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2a996d8a
    • sfalken@apple.com's avatar
      Fix linker warning by specifying /NODEFAULTLIB:LIBCMT for QTMovieWin. · 3970298a
      sfalken@apple.com authored
              
              Reviewed by Mark Rowe.
      
              * WebCore.vcproj/QTMovieWin.vcproj:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3970298a
    • cfleizach@apple.com's avatar
    • sfalken@apple.com's avatar
      Fix extraneous warning about PRODUCTION not being defined in Windows builds. · 8848306e
      sfalken@apple.com authored
              Indirected definition for __PRODUCTION__ through a UserMacro.
              
              Reviewed by Mark Rowe.
      
              * win/tools/vsprops/common.vsprops:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8848306e
    • mitz@apple.com's avatar
      Reviewed by John Sullivan. · 207ed689
      mitz@apple.com authored
              - formatting cleanup
      
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::calcHeight): Corrected indentation and added braces
              around a multi-line "else" clause.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      207ed689
    • eric.carlson@apple.com's avatar
      2009-04-28 Eric Carlson <eric.carlson@apple.com> · 9a3fd3d3
      eric.carlson@apple.com authored
              Reviewed by Adam Roben
              
              <rdar://problem/6769968> media/video-size-intrinsic-scale.html fails on Windows
              https://bugs.webkit.org/show_bug.cgi?id=25094
              
              Display movies saved with a non-identity matrix at the correct size.
      
              * platform/graphics/win/QTMovieWin.cpp:
              (QTMovieWinPrivate::QTMovieWinPrivate): Initialize m_widthScaleFactor and m_heightScaleFactor.
              (QTMovieWinPrivate::cacheMovieScale): New, calculate difference between initial
              size and natural size so naturalSize() accounts for non-identity movie matrix.
              (QTMovieWinPrivate::task):Call cacheMovieScale when load state reaches
              kMovieLoadStateLoaded for the first time. kMovieLoadState -> QTMovieLoadState.
              (QTMovieWinPrivate::drawingComplete): kMovieLoadState -> QTMovieLoadState.
              (QTMovieWinPrivate::createGWorld): Don't bother creating gworld until load state reaches
              kMovieLoadStateLoaded because we do not try to draw it before that point.
              (QTMovieWinPrivate::setSize): Do not change movie box before reaching kMovieLoadStateLoaded
              because we need to get the movie's initial size in cacheMovieScale.
              (QTMovieWin::getNaturalSize): Multiply width and height by initial scale.
      
      2009-04-28  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Adam Roben
      
              <rdar://problem/6769968> media/video-size-intrinsic-scale.html fails on Windows
              https://bugs.webkit.org/show_bug.cgi?id=25094
      
              * platform/win/Skipped: Re-enable video-size-intrinsic-scale.html.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42939 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9a3fd3d3
    • weinig@apple.com's avatar
      2009-04-28 Sam Weinig <sam@webkit.org> · 0421f88a
      weinig@apple.com authored
              Reviewed by Dan Bernstein.
      
              Move timer code from JSDOMWindow to DOMWindow. clearTimeout and
              clearInterval can now be autogenerated.
      
              * bindings/js/JSDOMWindowBase.cpp:
              * bindings/js/JSDOMWindowBase.h:
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::createScheduledAction):
              (WebCore::JSDOMWindow::setTimeout):
              (WebCore::JSDOMWindow::setInterval):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::setTimeout):
              (WebCore::DOMWindow::clearTimeout):
              (WebCore::DOMWindow::setInterval):
              (WebCore::DOMWindow::clearInterval):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42938 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0421f88a
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · a5b97d28
      kevino@webkit.org authored
      Small optimization, don't get the widget's handle twice in one method.
              
      https://bugs.webkit.org/show_bug.cgi?id=25446
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a5b97d28
    • mitz@apple.com's avatar
      Reviewed by John Sullivan. · da57bfc3
      mitz@apple.com authored
              - fix <rdar://problem/6786360> Make PDF an insertable pasteboard type
      
              * WebCoreSupport/WebPasteboardHelper.mm:
              (WebPasteboardHelper::insertablePasteboardTypes):
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:]):
              (+[WebHTMLView _insertablePasteboardTypes]):
              (-[WebHTMLView _documentFragmentFromPasteboard:forType:inContext:subresources:]):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      da57bfc3
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · 59c2ca25
      kevino@webkit.org authored
      ScrollView copy and paste typo fix.
              
      https://bugs.webkit.org/show_bug.cgi?id=25445
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      59c2ca25
    • hausmann@webkit.org's avatar
      2009-04-28 Simon Hausmann <simon.hausmann@nokia.com> · b721f14b
      hausmann@webkit.org authored
              Reviewed by Tor Arne Vestbø.
      
              QWebElement API changes after another round of API review:
      
              * Fix argument names of findAll/findFirst
              * Split up toXml into innerXml and outerXml
              * Removed confusing toggleClass overload
              * Fixed casing of namespaceUri to follow QXmlStreamReader
              * Removed tagName from firstChild/nextSibling/etc.
              * Renamed append/prepend/insertAfter/insertBefore to [append|prepend][Inside|Outside]
              * Renamed wrapWith() back to wrap()
              * Made clone() const
              * Renamed remove() to takeFromDocument(), added removeFromDocument()
              * Renamed clear() to removeChildren()
              * Renamed scriptsFunctions/callScriptFunction to functions()/callFunction()
              * Renamed scriptProperty to scriptableProperty
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b721f14b
    • xan@webkit.org's avatar
      2009-04-28 Xan Lopez <xlopez@igalia.com> · f69a3349
      xan@webkit.org authored
              Unreviewed: bump versions in preparation for 1.1.6 release.
      
              * configure.ac:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42933 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f69a3349
    • xan@webkit.org's avatar
      2009-04-28 Xan Lopez <xlopez@igalia.com> · 1764bae9
      xan@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              Leave a bit of space from the previous page when advacing a whole
              page. This matches the behavior of our scrollbar scrolling code
              and is just nicer in general.
      
              * webkit/webkitwebview.cpp:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1764bae9
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · 30fbf448
      kevino@webkit.org authored
              
      Add a function for resetting the zoom factor to 1.0.
              
      https://bugs.webkit.org/show_bug.cgi?id=25447
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42931 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      30fbf448
    • sullivan@apple.com's avatar
      2009-04-28 John Sullivan <sullivan@apple.com> · 7b22c65b
      sullivan@apple.com authored
              <rdar://problem/6820221> REGRESSION: 2-byte character names of images are displayed as %-encoded ASCII
      
              Reviewed by Adam Roben
      
              * loader/ImageDocument.cpp:
              (WebCore::ImageTokenizer::finish):
              decode the filename before processing it as part of the image name that's passed to the client
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7b22c65b
    • hausmann@webkit.org's avatar
      2009-04-28 Simon Hausmann <simon.hausmann@nokia.com> · c02c9232
      hausmann@webkit.org authored
              Reviewed by Tor Arne Vestbø.
      
              Fix some qdoc warnings.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42929 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c02c9232
    • mjs@apple.com's avatar
      2009-04-28 Maciej Stachowiak <mjs@apple.com> · 06c7ace3
      mjs@apple.com authored
              Not reviewed, build fix.
      
              - fix initialization order to match declaration order to fix release build
      
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      06c7ace3
    • xan@webkit.org's avatar
      2009-04-28 Xan Lopez <xlopez@igalia.com> · 2df5d3cf
      xan@webkit.org authored
              Unreviewed: committed a few bits by mistake, remove them.
      
              * WebCoreSupport/EditorClientGtk.cpp:
              (WebKit::handleEditingKeyboardEvent):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2df5d3cf
    • xan@webkit.org's avatar
      2009-04-28 Xan Lopez <xlopez@igalia.com> · 684e5784
      xan@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              https://bugs.webkit.org/show_bug.cgi?id=16135
              [GTK] Support caret browsing
      
              Refactor keyboard event handling to work properly under caret
              browsing mode. Most of the code comes from the Windows port.
      
              * WebCoreSupport/EditorClientGtk.cpp:
              (WebKit::):
              (WebKit::interpretKeyEvent):
              (WebKit::handleEditingKeyboardEvent):
              (WebKit::EditorClient::handleKeyboardEvent):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      684e5784
    • xan@webkit.org's avatar
      2009-04-28 Xan Lopez <xlopez@igalia.com> · a186e394
      xan@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              https://bugs.webkit.org/show_bug.cgi?id=16135
              [GTK] Support caret browsing
      
              Based on a patch by Alp Toker.
      
              Add enable-caret-browsing setting to WebKitWebView.
      
              * webkit/webkitwebsettings.cpp:
              (_WebKitWebSettingsPrivate::):
              (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
              (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
              (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
              (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
              * webkit/webkitwebview.cpp:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a186e394
    • xan@webkit.org's avatar
      2009-04-28 Xan Lopez <xlopez@igalia.com> · e1bddb7d
      xan@webkit.org authored
              Reviewed by Justin Garcia.
      
              https://bugs.webkit.org/show_bug.cgi?id=16135
              [GTK] Support caret browsing
      
              Based on a patch by Alp Toker.
      
              Implement basic support for caret browsing, active only when the
              corresponding setting is enabled.
      
              * page/EventHandler.cpp:
              (WebCore::EventHandler::handleMouseReleaseEvent):
              * page/FocusController.cpp:
              (WebCore::FocusController::advanceFocus):
              (WebCore::clearSelectionIfNeeded):
              (WebCore::FocusController::setFocusedNode):
              * page/Frame.cpp:
              (WebCore::Frame::setFocusedNodeIfNeeded):
              (WebCore::Frame::setSelectionFromNone):
              (WebCore::Frame::respondToChangedSelection):
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              * page/Settings.h:
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::paintCaret):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42924 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e1bddb7d
    • barraclough@apple.com's avatar
      2009-04-28 Gavin Barraclough <barraclough@apple.com> · 856e6a8b
      barraclough@apple.com authored
              Rubber stamped by Maciej "Henry Morgan" Stachowiak.
      
              Enable YARR.
              (Again.)
      
              * wtf/Platform.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      856e6a8b
    • barraclough@apple.com's avatar
      2009-04-27 Gavin Barraclough <barraclough@apple.com> · e456632f
      barraclough@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              Tweak a loop condition to keep GCC happy,
              some GCCs seem to be having issues with this. :-/
      
              * bytecompiler/BytecodeGenerator.cpp:
              (JSC::BytecodeGenerator::breakTarget):
              * wtf/Platform.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42922 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e456632f