1. 05 May, 2009 20 commits
    • oliver@apple.com's avatar
      More build fixes · 6e99ca87
      oliver@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e99ca87
    • oliver@apple.com's avatar
    • oliver@apple.com's avatar
      Build fixes · e4537391
      oliver@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4537391
    • oliver@apple.com's avatar
      More build fixes · 0c38c72d
      oliver@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c38c72d
    • oliver@apple.com's avatar
      Windows build fix · 0f7113a3
      oliver@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43223 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f7113a3
    • oliver@apple.com's avatar
      Windows build fix · efb02fed
      oliver@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      efb02fed
    • oliver@apple.com's avatar
      Add missing file · 738b1937
      oliver@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      738b1937
    • oliver@apple.com's avatar
      Bug 25559: Improve native function call performance · e79807b9
      oliver@apple.com authored
      <https://bugs.webkit.org/show_bug.cgi?id=25559>
      
      Reviewed by Gavin Barraclough
      
      In order to cache calls to native functions we now make the standard
      prototype functions use a small assembly thunk that converts the JS
      calling convention into the native calling convention.  As this is
      only beneficial in the JIT we use the NativeFunctionWrapper typedef
      to alternate between PrototypeFunction and JSFunction to keep the
      code sane.  This change from PrototypeFunction to NativeFunctionWrapper
      is the bulk of this patch.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e79807b9
    • hausmann@webkit.org's avatar
      2009-05-05 Simon Hausmann <simon.hausmann@nokia.com> · b0999f7d
      hausmann@webkit.org authored
              Reviewed by Ariya Hidayat.
      
              Make convertValueToQVariant more robust against null JSValues.
      
              Don't require the caller to do the null check.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0999f7d
    • eric@webkit.org's avatar
      No review, just a revert. · 69965db6
      eric@webkit.org authored
              Roll out http://trac.webkit.org/changeset/43213 as it caused 4 tests to crash.
      
              * rendering/RenderSVGRoot.cpp:
              (WebCore::RenderSVGRoot::mapLocalToContainer):
              * rendering/SVGRenderSupport.cpp:
              (WebCore::SVGRenderBase::mapLocalToContainer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69965db6
    • vestbo@webkit.org's avatar
      2009-05-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> · ff460376
      vestbo@webkit.org authored
              Rubber-stamped by Simon Hausmann.
      
              Mention --qt as an option in the build-webkit help
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43217 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff460376
    • barraclough@apple.com's avatar
      2009-05-05 Gavin Barraclough <barraclough@apple.com> · c9d7b8d2
      barraclough@apple.com authored
              Reviewed by Oliver Hunt.
      
              For convenience, let the sampling flags tool clear multiple flags at once.
      
              * jsc.cpp:
              (GlobalObject::GlobalObject):
              (functionSetSamplingFlags):
              (functionClearSamplingFlags):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9d7b8d2
    • ap@webkit.org's avatar
      Reviewed by Dave Hyatt. · d0295906
      ap@webkit.org authored
              <rdar://problem/6576889> REGRESSION (r35185): Cannot watch Flash movies on omg.yahoo.com
      
              The problem was caused by missing <head> element - we used to create it when moving a
              misplaced <style> element, but we now handle those in place. Other browsers always create
              a <head> element.
      
              There is no guarantee that a <head> element always exists - first, it can be removed with
              removeChild or innerHTML, and also, we don't currently create it for frameset documents, or
              for manually created ones (e.g. ImageDocument).
      
              Test: fast/parser/head-element-for-yahoo-player.html
      
      WebKit:
              * dom/Document.cpp: (WebCore::Document::implicitClose): Create a <head> element for about:blank.
              A removed comment talked about rdar://3758785, but that problem doesn't re-occur even if this
              code is removed completely.
      
              * html/HTMLHtmlElement.cpp: (WebCore::HTMLHtmlElement::checkDTD): No longer allow <script>
              elements as children of <html>. This isn't directly related to this bug, but it was easier
              to fix both at once (IE and Firefox both don't allow such mispositioned <script> elements).
      
              * html/HTMLParser.cpp:
              (WebCore::HTMLParser::handleError): Move <script> to <head> if <body> hasn't been created yet.
              Create a <head> it a <body> is created implicitly to contain some other element.
              (WebCore::HTMLParser::bodyCreateErrorCheck): Ensure that a <head> exists when <body> is
              explicitly present in source.
              (WebCore::HTMLParser::createHead): Do the work even if <html> element hasn't been created yet.
      
      LayoutTests:
              * fast/parser/head-element-for-yahoo-player-expected.txt: Added.
              * fast/parser/head-element-for-yahoo-player.html: Added.
              Test the regression case (a misplaced <style> that used to create <head> implicitly).
      
              * editing/selection/select-all-005.html: Use a new index when selecting the body.
      
              * fast/dom/Document/document-write-doctype-expected.txt:
              * fast/dom/Document/resources/document-write-doctype.js:
              Removed checks for "Gecko quirk" of implicitly adding HEAD - that not a quirk, but standard
              behavior per HTML5.
      
              * editing/execCommand/create-list-1-expected.txt:
              * platform/mac/editing/deleting/4845371-expected.txt:
              * platform/mac/editing/deleting/4866671-expected.txt:
              * platform/mac/editing/deleting/4875189-expected.txt:
              * platform/mac/editing/deleting/5026848-1-expected.txt:
              * platform/mac/editing/deleting/5026848-2-expected.txt:
              * platform/mac/editing/deleting/5026848-3-expected.txt:
              * platform/mac/editing/deleting/5032066-expected.txt:
              * platform/mac/editing/deleting/5091898-expected.txt:
              * platform/mac/editing/deleting/5099303-expected.txt:
              * platform/mac/editing/deleting/5115601-expected.txt:
              * platform/mac/editing/deleting/5126166-expected.txt:
              * platform/mac/editing/deleting/5156801-2-expected.txt:
              * platform/mac/editing/deleting/5168598-expected.txt:
              * platform/mac/editing/deleting/5272440-expected.txt:
              * platform/mac/editing/deleting/5300379-expected.txt:
              * platform/mac/editing/deleting/5390681-expected.txt:
              * platform/mac/editing/deleting/5408255-expected.txt:
              * platform/mac/editing/deleting/5433862-2-expected.txt:
              * platform/mac/editing/deleting/5483370-expected.txt:
              * platform/mac/editing/deleting/delete-at-start-or-end-expected.txt:
              * platform/mac/editing/deleting/delete-block-table-expected.txt:
              * platform/mac/editing/deleting/delete-hr-expected.txt:
              * platform/mac/editing/deleting/delete-mixed-editable-content-001-expected.txt:
              * platform/mac/editing/deleting/delete-to-select-table-expected.txt:
              * platform/mac/editing/deleting/deletionUI-single-instance-expected.txt:
              * platform/mac/editing/deleting/merge-endOfParagraph-expected.txt:
              * platform/mac/editing/deleting/merge-no-br-expected.txt:
              * platform/mac/editing/deleting/merge-whitespace-pre-expected.txt:
              * platform/mac/editing/execCommand/4641880-1-expected.txt:
              * platform/mac/editing/execCommand/4641880-2-expected.txt:
              * platform/mac/editing/execCommand/4747450-expected.txt:
              * platform/mac/editing/execCommand/4786404-1-expected.txt:
              * platform/mac/editing/execCommand/4786404-2-expected.txt:
              * platform/mac/editing/execCommand/4916402-expected.txt:
              * platform/mac/editing/execCommand/4916541-expected.txt:
              * platform/mac/editing/execCommand/4916583-expected.txt:
              * platform/mac/editing/execCommand/4920488-expected.txt:
              * platform/mac/editing/execCommand/4920742-1-expected.txt:
              * platform/mac/editing/execCommand/4924441-expected.txt:
              * platform/mac/editing/execCommand/5049671-expected.txt:
              * platform/mac/editing/execCommand/5080333-1-expected.txt:
              * platform/mac/editing/execCommand/5080333-2-expected.txt:
              * platform/mac/editing/execCommand/5119244-expected.txt:
              * platform/mac/editing/execCommand/5120591-expected.txt:
              * platform/mac/editing/execCommand/5136770-expected.txt:
              * platform/mac/editing/execCommand/5142012-1-expected.txt:
              * platform/mac/editing/execCommand/5142012-2-expected.txt:
              * platform/mac/editing/execCommand/5142012-3-expected.txt:
              * platform/mac/editing/execCommand/5144139-1-expected.txt:
              * platform/mac/editing/execCommand/5164796-expected.txt:
              * platform/mac/editing/execCommand/5207369-expected.txt:
              * platform/mac/editing/execCommand/5210032-expected.txt:
              * platform/mac/editing/execCommand/5432254-1-expected.txt:
              * platform/mac/editing/execCommand/5432254-2-expected.txt:
              * platform/mac/editing/execCommand/5481523-expected.txt:
              * platform/mac/editing/execCommand/5482524-expected.txt:
              * platform/mac/editing/execCommand/5569741-expected.txt:
              * platform/mac/editing/execCommand/5573879-expected.txt:
              * platform/mac/editing/execCommand/5700414-1-expected.txt:
              * platform/mac/editing/execCommand/5700414-2-expected.txt:
              * platform/mac/editing/execCommand/insert-list-empty-div-expected.txt:
              * platform/mac/editing/input/5576619-expected.txt:
              * platform/mac/editing/inserting/12882-expected.txt:
              * platform/mac/editing/inserting/4840662-expected.txt:
              * platform/mac/editing/inserting/4875189-1-expected.txt:
              * platform/mac/editing/inserting/4875189-2-expected.txt:
              * platform/mac/editing/inserting/4959067-expected.txt:
              * platform/mac/editing/inserting/4960120-1-expected.txt:
              * platform/mac/editing/inserting/4960120-2-expected.txt:
              * platform/mac/editing/inserting/5002441-expected.txt:
              * platform/mac/editing/inserting/5058163-2-expected.txt:
              * platform/mac/editing/inserting/5156401-2-expected.txt:
              * platform/mac/editing/inserting/5549929-2-expected.txt:
              * platform/mac/editing/inserting/5549929-3-expected.txt:
              * platform/mac/editing/inserting/5607069-2-expected.txt:
              * platform/mac/editing/inserting/5607069-3-expected.txt:
              * platform/mac/editing/inserting/editable-html-element-expected.txt:
              * platform/mac/editing/inserting/editable-inline-element-expected.txt:
              * platform/mac/editing/inserting/edited-whitespace-1-expected.txt:
              * platform/mac/editing/inserting/editing-empty-divs-expected.txt:
              * platform/mac/editing/inserting/typing-tab-designmode-forms-expected.txt:
              * platform/mac/editing/pasteboard/4806874-expected.txt:
              * platform/mac/editing/pasteboard/4861080-expected.txt:
              * platform/mac/editing/pasteboard/4944770-1-expected.txt:
              * platform/mac/editing/pasteboard/4944770-2-expected.txt:
              * platform/mac/editing/pasteboard/4947130-expected.txt:
              * platform/mac/editing/pasteboard/4989774-expected.txt:
              * platform/mac/editing/pasteboard/5027857-expected.txt:
              * platform/mac/editing/pasteboard/5032095-expected.txt:
              * platform/mac/editing/pasteboard/5065605-expected.txt:
              * platform/mac/editing/pasteboard/5071074-2-expected.txt:
              * platform/mac/editing/pasteboard/5071074-expected.txt:
              * platform/mac/editing/pasteboard/5075944-2-expected.txt:
              * platform/mac/editing/pasteboard/5075944-3-expected.txt:
              * platform/mac/editing/pasteboard/5075944-expected.txt:
              * platform/mac/editing/pasteboard/5134759-expected.txt:
              * platform/mac/editing/pasteboard/5156401-1-expected.txt:
              * platform/mac/editing/pasteboard/5247341-expected.txt:
              * platform/mac/editing/pasteboard/5387578-expected.txt:
              * platform/mac/editing/pasteboard/5478250-expected.txt:
              * platform/mac/editing/pasteboard/5483567-expected.txt:
              * platform/mac/editing/pasteboard/5601583-1-expected.txt:
              * platform/mac/editing/pasteboard/copy-paste-bidi-expected.txt:
              * platform/mac/editing/pasteboard/input-field-1-expected.txt:
              * platform/mac/editing/pasteboard/merge-after-delete-1-expected.txt:
              * platform/mac/editing/pasteboard/merge-after-delete-2-expected.txt:
              * platform/mac/editing/pasteboard/merge-after-delete-expected.txt:
              * platform/mac/editing/pasteboard/merge-start-blockquote-expected.txt:
              * platform/mac/editing/pasteboard/paste-unrendered-select-expected.txt:
              * platform/mac/editing/pasteboard/prevent-block-nesting-01-expected.txt:
              * platform/mac/editing/pasteboard/select-element-1-expected.txt:
              * platform/mac/editing/selection/13804-expected.txt:
              * platform/mac/editing/selection/14971-expected.txt:
              * platform/mac/editing/selection/4397952-expected.txt:
              * platform/mac/editing/selection/4818145-expected.txt:
              * platform/mac/editing/selection/4866671-expected.txt:
              * platform/mac/editing/selection/4889598-expected.txt:
              * platform/mac/editing/selection/4895428-1-expected.txt:
              * platform/mac/editing/selection/4895428-2-expected.txt:
              * platform/mac/editing/selection/4895428-3-expected.txt:
              * platform/mac/editing/selection/4895428-4-expected.txt:
              * platform/mac/editing/selection/4932260-1-expected.txt:
              * platform/mac/editing/selection/4932260-2-expected.txt:
              * platform/mac/editing/selection/4932260-3-expected.txt:
              * platform/mac/editing/selection/4947387-expected.txt:
              * platform/mac/editing/selection/4960116-expected.txt:
              * platform/mac/editing/selection/4975120-expected.txt:
              * platform/mac/editing/selection/4983858-expected.txt:
              * platform/mac/editing/selection/5007143-2-expected.txt:
              * platform/mac/editing/selection/5007143-expected.txt:
              * platform/mac/editing/selection/5057506-2-expected.txt:
              * platform/mac/editing/selection/5057506-expected.txt:
              * platform/mac/editing/selection/5076323-1-expected.txt:
              * platform/mac/editing/selection/5076323-2-expected.txt:
              * platform/mac/editing/selection/5076323-3-expected.txt:
              * platform/mac/editing/selection/5081257-1-expected.txt:
              * platform/mac/editing/selection/5081257-2-expected.txt:
              * platform/mac/editing/selection/5099303-expected.txt:
              * platform/mac/editing/selection/5109817-expected.txt:
              * platform/mac/editing/selection/5136696-expected.txt:
              * platform/mac/editing/selection/5195166-1-expected.txt:
              * platform/mac/editing/selection/5195166-2-expected.txt:
              * platform/mac/editing/selection/5234383-1-expected.txt:
              * platform/mac/editing/selection/5234383-2-expected.txt:
              * platform/mac/editing/selection/5240265-expected.txt:
              * platform/mac/editing/selection/5333725-expected.txt:
              * platform/mac/editing/selection/5354455-1-expected.txt:
              * platform/mac/editing/selection/addRange-expected.txt:
              * platform/mac/editing/selection/caret-before-select-expected.txt:
              * platform/mac/editing/selection/contains-boundaries-expected.txt:
              * platform/mac/editing/selection/drag-select-1-expected.txt:
              * platform/mac/editing/selection/editable-html-element-expected.txt:
              * platform/mac/editing/selection/inconsistent-in-removeChildNode-expected.txt:
              * platform/mac/editing/selection/inline-closest-leaf-child-expected.txt:
              * platform/mac/editing/selection/mixed-editability-6-expected.txt:
              * platform/mac/editing/selection/mixed-editability-7-expected.txt:
              * platform/mac/editing/selection/move-by-sentence-linebreak-expected.txt:
              * platform/mac/editing/selection/select-all-005-expected.txt:
              * platform/mac/editing/selection/table-caret-1-expected.txt:
              * platform/mac/editing/selection/table-caret-2-expected.txt:
              * platform/mac/editing/selection/table-caret-3-expected.txt:
              * platform/mac/editing/selection/wrapped-line-caret-1-expected.txt:
              * platform/mac/editing/selection/wrapped-line-caret-2-expected.txt:
              * platform/mac/editing/style/4916887-expected.txt:
              * platform/mac/editing/style/5017613-1-expected.txt:
              * platform/mac/editing/style/5017613-2-expected.txt:
              * platform/mac/editing/style/5046875-1-expected.txt:
              * platform/mac/editing/style/5046875-2-expected.txt:
              * platform/mac/editing/style/5065910-expected.txt:
              * platform/mac/editing/style/5084241-expected.txt:
              * platform/mac/editing/style/5091898-expected.txt:
              * platform/mac/editing/style/5228141-expected.txt:
              * platform/mac/editing/style/5279521-expected.txt:
              * platform/mac/editing/style/font-family-with-space-expected.txt:
              * platform/mac/editing/style/fontsize-1-expected.txt:
              * platform/mac/editing/style/highlight-expected.txt:
              * platform/mac/editing/style/non-inheritable-styles-expected.txt:
              * platform/mac/editing/undo/5378473-expected.txt:
              * platform/mac/fast/block/float/relative-painted-twice-expected.txt:
              * platform/mac/fast/dom/delete-contents-expected.txt:
              * platform/mac/fast/events/context-no-deselect-expected.txt:
              * platform/mac/fast/events/label-focus-expected.txt:
              * platform/mac/fast/forms/input-appearance-focus-expected.txt:
              * platform/mac/fast/forms/input-text-click-inside-expected.txt:
              * platform/mac/fast/forms/input-text-click-outside-expected.txt:
              * platform/mac/fast/forms/input-text-double-click-expected.txt:
              * platform/mac/fast/forms/input-text-drag-down-expected.txt:
              * platform/mac/fast/forms/input-text-option-delete-expected.txt:
              * platform/mac/fast/forms/input-text-scroll-left-on-blur-expected.txt:
              * platform/mac/fast/forms/input-text-self-emptying-click-expected.txt:
              * platform/mac/fast/forms/textfield-drag-into-disabled-expected.txt:
              * platform/mac/fast/forms/textfield-overflow-expected.txt:
              * platform/mac/fast/inline/25277-2-expected.txt:
              * platform/mac/fast/inline/25277-expected.txt:
              * platform/mac/fast/lists/drag-into-marker-expected.txt:
              * platform/mac/fast/overflow/overflow-focus-ring-expected.txt:
              * platform/mac/fast/repaint/4776765-expected.txt:
              * platform/mac/fast/repaint/selection-after-delete-expected.txt:
              * platform/mac/fast/repaint/selection-after-remove-expected.txt:
              * platform/qt/editing/deleting/4845371-expected.txt:
              * platform/qt/editing/deleting/4866671-expected.txt:
              * platform/qt/editing/deleting/4875189-expected.txt:
              * platform/qt/editing/deleting/5026848-1-expected.txt:
              * platform/qt/editing/deleting/5026848-2-expected.txt:
              * platform/qt/editing/deleting/5026848-3-expected.txt:
              * platform/qt/editing/deleting/5032066-expected.txt:
              * platform/qt/editing/deleting/5091898-expected.txt:
              * platform/qt/editing/deleting/5099303-expected.txt:
              * platform/qt/editing/deleting/5115601-expected.txt:
              * platform/qt/editing/deleting/5126166-expected.txt:
              * platform/qt/editing/deleting/5144139-2-expected.txt:
              * platform/qt/editing/deleting/5156801-2-expected.txt:
              * platform/qt/editing/deleting/5168598-expected.txt:
              * platform/qt/editing/deleting/5272440-expected.txt:
              * platform/qt/editing/deleting/5300379-expected.txt:
              * platform/qt/editing/deleting/5390681-expected.txt:
              * platform/qt/editing/deleting/5408255-expected.txt:
              * platform/qt/editing/deleting/delete-at-start-or-end-expected.txt:
              * platform/qt/editing/deleting/delete-block-table-expected.txt:
              * platform/qt/editing/deleting/delete-hr-expected.txt:
              * platform/qt/editing/deleting/delete-link-1-expected.txt:
              * platform/qt/editing/deleting/delete-mixed-editable-content-001-expected.txt:
              * platform/qt/editing/deleting/delete-to-select-table-expected.txt:
              * platform/qt/editing/deleting/deletionUI-single-instance-expected.txt:
              * platform/qt/editing/deleting/merge-endOfParagraph-expected.txt:
              * platform/qt/editing/deleting/merge-no-br-expected.txt:
              * platform/qt/editing/deleting/merge-whitespace-pre-expected.txt:
              * platform/qt/editing/execCommand/4641880-1-expected.txt:
              * platform/qt/editing/execCommand/4641880-2-expected.txt:
              * platform/qt/editing/execCommand/4747450-expected.txt:
              * platform/qt/editing/execCommand/4786404-1-expected.txt:
              * platform/qt/editing/execCommand/4786404-2-expected.txt:
              * platform/qt/editing/execCommand/4916402-expected.txt:
              * platform/qt/editing/execCommand/4916541-expected.txt:
              * platform/qt/editing/execCommand/4916583-expected.txt:
              * platform/qt/editing/execCommand/4920488-expected.txt:
              * platform/qt/editing/execCommand/4920742-1-expected.txt:
              * platform/qt/editing/execCommand/4924441-expected.txt:
              * platform/qt/editing/execCommand/5049671-expected.txt:
              * platform/qt/editing/execCommand/5062376-expected.txt:
              * platform/qt/editing/execCommand/5080333-1-expected.txt:
              * platform/qt/editing/execCommand/5080333-2-expected.txt:
              * platform/qt/editing/execCommand/5119244-expected.txt:
              * platform/qt/editing/execCommand/5120591-expected.txt:
              * platform/qt/editing/execCommand/5136770-expected.txt:
              * platform/qt/editing/execCommand/5142012-1-expected.txt:
              * platform/qt/editing/execCommand/5142012-2-expected.txt:
              * platform/qt/editing/execCommand/5142012-3-expected.txt:
              * platform/qt/editing/execCommand/5144139-1-expected.txt:
              * platform/qt/editing/execCommand/5164796-expected.txt:
              * platform/qt/editing/execCommand/5207369-expected.txt:
              * platform/qt/editing/execCommand/5210032-expected.txt:
              * platform/qt/editing/execCommand/5432254-1-expected.txt:
              * platform/qt/editing/execCommand/5432254-2-expected.txt:
              * platform/qt/editing/execCommand/insert-list-empty-div-expected.txt:
              * platform/qt/editing/inserting/12882-expected.txt:
              * platform/qt/editing/inserting/4840662-expected.txt:
              * platform/qt/editing/inserting/4875189-1-expected.txt:
              * platform/qt/editing/inserting/4875189-2-expected.txt:
              * platform/qt/editing/inserting/4959067-expected.txt:
              * platform/qt/editing/inserting/4960120-1-expected.txt:
              * platform/qt/editing/inserting/4960120-2-expected.txt:
              * platform/qt/editing/inserting/5002441-expected.txt:
              * platform/qt/editing/inserting/5058163-2-expected.txt:
              * platform/qt/editing/inserting/5156401-2-expected.txt:
              * platform/qt/editing/inserting/editable-html-element-expected.txt:
              * platform/qt/editing/inserting/editable-inline-element-expected.txt:
              * platform/qt/editing/inserting/edited-whitespace-1-expected.txt:
              * platform/qt/editing/inserting/editing-empty-divs-expected.txt:
              * platform/qt/editing/inserting/insert-before-link-1-expected.txt:
              * platform/qt/editing/pasteboard/4806874-expected.txt:
              * platform/qt/editing/pasteboard/4840662-expected.txt:
              * platform/qt/editing/pasteboard/4944770-1-expected.txt:
              * platform/qt/editing/pasteboard/4989774-expected.txt:
              * platform/qt/editing/pasteboard/5027857-expected.txt:
              * platform/qt/editing/pasteboard/5032095-expected.txt:
              * platform/qt/editing/pasteboard/5065605-expected.txt:
              * platform/qt/editing/pasteboard/5071074-2-expected.txt:
              * platform/qt/editing/pasteboard/5071074-expected.txt:
              * platform/qt/editing/pasteboard/5075944-2-expected.txt:
              * platform/qt/editing/pasteboard/5075944-3-expected.txt:
              * platform/qt/editing/pasteboard/5075944-expected.txt:
              * platform/qt/editing/pasteboard/5134759-expected.txt:
              * platform/qt/editing/pasteboard/5156401-1-expected.txt:
              * platform/qt/editing/pasteboard/5245519-expected.txt:
              * platform/qt/editing/pasteboard/5247341-expected.txt:
              * platform/qt/editing/pasteboard/5387578-expected.txt:
              * platform/qt/editing/pasteboard/5478250-expected.txt:
              * platform/qt/editing/pasteboard/5483567-expected.txt:
              * platform/qt/editing/pasteboard/copy-paste-bidi-expected.txt:
              * platform/qt/editing/pasteboard/merge-after-delete-1-expected.txt:
              * platform/qt/editing/pasteboard/merge-after-delete-2-expected.txt:
              * platform/qt/editing/pasteboard/merge-after-delete-expected.txt:
              * platform/qt/editing/pasteboard/merge-start-blockquote-expected.txt:
              * platform/qt/editing/pasteboard/paste-unrendered-select-expected.txt:
              * platform/qt/editing/pasteboard/prevent-block-nesting-01-expected.txt:
              * platform/qt/editing/selection/13804-expected.txt:
              * platform/qt/editing/selection/4397952-expected.txt:
              * platform/qt/editing/selection/4818145-expected.txt:
              * platform/qt/editing/selection/4866671-expected.txt:
              * platform/qt/editing/selection/4889598-expected.txt:
              * platform/qt/editing/selection/4895428-2-expected.txt:
              * platform/qt/editing/selection/4895428-3-expected.txt:
              * platform/qt/editing/selection/4932260-1-expected.txt:
              * platform/qt/editing/selection/4932260-2-expected.txt:
              * platform/qt/editing/selection/4932260-3-expected.txt:
              * platform/qt/editing/selection/4960116-expected.txt:
              * platform/qt/editing/selection/4983858-expected.txt:
              * platform/qt/editing/selection/5007143-2-expected.txt:
              * platform/qt/editing/selection/5007143-expected.txt:
              * platform/qt/editing/selection/5076323-1-expected.txt:
              * platform/qt/editing/selection/5076323-2-expected.txt:
              * platform/qt/editing/selection/5076323-3-expected.txt:
              * platform/qt/editing/selection/5081257-1-expected.txt:
              * platform/qt/editing/selection/5081257-2-expected.txt:
              * platform/qt/editing/selection/5099303-expected.txt:
              * platform/qt/editing/selection/5136696-expected.txt:
              * platform/qt/editing/selection/5195166-1-expected.txt:
              * platform/qt/editing/selection/5195166-2-expected.txt:
              * platform/qt/editing/selection/5234383-1-expected.txt:
              * platform/qt/editing/selection/5234383-2-expected.txt:
              * platform/qt/editing/selection/5240265-expected.txt:
              * platform/qt/editing/selection/addRange-expected.txt:
              * platform/qt/editing/selection/caret-before-select-expected.txt:
              * platform/qt/editing/selection/editable-html-element-expected.txt:
              * platform/qt/editing/selection/mixed-editability-6-expected.txt:
              * platform/qt/editing/selection/mixed-editability-7-expected.txt:
              * platform/qt/editing/selection/move-by-sentence-linebreak-expected.txt:
              * platform/qt/editing/selection/select-all-005-expected.txt:
              * platform/qt/editing/selection/table-caret-1-expected.txt:
              * platform/qt/editing/selection/table-caret-2-expected.txt:
              * platform/qt/editing/selection/table-caret-3-expected.txt:
              * platform/qt/editing/style/4916887-expected.txt:
              * platform/qt/editing/style/5017613-1-expected.txt:
              * platform/qt/editing/style/5017613-2-expected.txt:
              * platform/qt/editing/style/5046875-1-expected.txt:
              * platform/qt/editing/style/5046875-2-expected.txt:
              * platform/qt/editing/style/5065910-expected.txt:
              * platform/qt/editing/style/5084241-expected.txt:
              * platform/qt/editing/style/5228141-expected.txt:
              * platform/qt/editing/style/5279521-expected.txt:
              * platform/qt/editing/style/font-family-with-space-expected.txt:
              * platform/qt/editing/style/fontsize-1-expected.txt:
              * platform/qt/editing/style/highlight-expected.txt:
              * platform/qt/editing/style/non-inheritable-styles-expected.txt:
              * platform/qt/editing/undo/5378473-expected.txt:
              * platform/qt/fast/dom/delete-contents-expected.txt:
              * platform/qt/fast/events/label-focus-expected.txt:
              * platform/qt/fast/forms/input-appearance-focus-expected.txt:
              * platform/qt/fast/forms/input-maxlength-2-expected.txt:
              * platform/qt/fast/forms/input-text-click-inside-expected.txt:
              * platform/qt/fast/forms/input-text-option-delete-expected.txt:
              * platform/qt/fast/forms/input-text-self-emptying-click-expected.txt:
              * platform/qt/fast/forms/textfield-drag-into-disabled-expected.txt:
              * platform/qt/fast/forms/textfield-overflow-expected.txt:
              * platform/qt/fast/overflow/overflow-focus-ring-expected.txt:
              * platform/qt/fast/repaint/4776765-expected.txt:
              * platform/qt/fast/repaint/selection-after-delete-expected.txt:
              * platform/qt/fast/repaint/selection-after-remove-expected.txt:
              * platform/win/editing/deleting/5168598-expected.txt:
              * platform/win/editing/inserting/4960120-1-expected.txt:
              * platform/win/editing/inserting/5607069-2-expected.txt:
              * platform/win/editing/inserting/5607069-3-expected.txt:
              * platform/win/editing/inserting/typing-tab-designmode-forms-expected.txt:
              * platform/win/editing/pasteboard/4806874-expected.txt:
              * platform/win/editing/selection/4895428-3-expected.txt:
              * platform/win/editing/selection/5136696-expected.txt:
              * platform/win/editing/selection/drag-select-1-expected.txt:
              * platform/win/fast/events/context-no-deselect-expected.txt:
              * platform/win/fast/events/label-focus-expected.txt:
              * platform/win/fast/forms/input-appearance-focus-expected.txt:
              * platform/win/fast/forms/input-text-click-inside-expected.txt:
              * platform/win/fast/forms/input-text-click-outside-expected.txt:
              * platform/win/fast/forms/input-text-double-click-expected.txt:
              * platform/win/fast/forms/input-text-drag-down-expected.txt:
              * platform/win/fast/forms/input-text-option-delete-expected.txt:
              * platform/win/fast/forms/input-text-scroll-left-on-blur-expected.txt:
              * platform/win/fast/forms/input-text-self-emptying-click-expected.txt:
              * platform/win/fast/forms/textfield-drag-into-disabled-expected.txt:
              * platform/win/fast/forms/textfield-overflow-expected.txt:
              Updated BODY element index in test output (for some tests, it increased because of the
              implicitly added <head>, and for others, it decreased because mispositoned <script> is being
              moved into <head>).
      
              * webarchive/adopt-attribute-styled-body-webarchive-expected.webarchive:
              * webarchive/archive-empty-frame-dom-expected.webarchive:
              Updated to include the implicitly added <head> elements.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0295906
    • hausmann@webkit.org's avatar
      2009-05-04 Jakub Wieczorek <faw217@gmail.com> · 28ce677a
      hausmann@webkit.org authored
              Reviewed by Simon Hausmann.
      
              As Qtish implementation of MIMETypeRegistry::getMIMETypeForExtension()
              returns the application/octet-stream mimetype when it can't associate
              extension with any mimetype, it can happen that the application/octet-stream
              mimetype will hit the list of supported image formats. For instance,
              it is possible when QImageReader or QImageWriter support an extension
              that is not in the extensions map.
      
              Make sure that this mimetype is not treated as displayable image type.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28ce677a
    • eric@webkit.org's avatar
      Reviewed by Simon Fraser. · 1c5aca14
      eric@webkit.org authored
              ASSERT(useTransforms) in SVG mapLocalToContainer implementations
              https://bugs.webkit.org/show_bug.cgi?id=25532
      
              * rendering/RenderSVGRoot.cpp:
              (WebCore::RenderSVGRoot::mapLocalToContainer):
              * rendering/SVGRenderSupport.cpp:
              (WebCore::SVGRenderBase::mapLocalToContainer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c5aca14
    • eric@webkit.org's avatar
      Reviewed by Simon Fraser. · 5255f7a8
      eric@webkit.org authored
              Remove m_absoluteBounds hack from RenderSVGText
              https://bugs.webkit.org/show_bug.cgi?id=25532
      
              No functional changes (SVGs inside CSS transformed HTML should theoretically repaint better)
      
              * rendering/RenderSVGText.cpp:
              (WebCore::RenderSVGText::layout):
              * rendering/RenderSVGText.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5255f7a8
    • eric@webkit.org's avatar
      Reviewed by Simon Fraser. · 491b1ff4
      eric@webkit.org authored
              Remove the vestigial calculateLocalTransform()
              https://bugs.webkit.org/show_bug.cgi?id=25532
      
              RenderSVGContainer is now the only render which needs this
              function, but it no longer returns the unused bool.
      
              calculateLocalTransform() previously was called by the DOM before
              transform updates were part of layout().
      
              * rendering/RenderForeignObject.cpp:
              (WebCore::RenderForeignObject::layout):
              * rendering/RenderForeignObject.h:
              (WebCore::RenderForeignObject::localTransform):
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::layout):
              * rendering/RenderPath.h:
              * rendering/RenderSVGContainer.cpp:
              * rendering/RenderSVGContainer.h:
              (WebCore::RenderSVGContainer::calculateLocalTransform):
              * rendering/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::layout):
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGText.cpp:
              (WebCore::RenderSVGText::layout):
              * rendering/RenderSVGText.h:
              * rendering/RenderSVGTransformableContainer.cpp:
              (WebCore::RenderSVGTransformableContainer::calculateLocalTransform):
              * rendering/RenderSVGTransformableContainer.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      491b1ff4
    • eric@webkit.org's avatar
      Reviewed by Simon Fraser. · abec5eed
      eric@webkit.org authored
              Move more code into SVGRenderBase
              https://bugs.webkit.org/show_bug.cgi?id=25532
      
              clippedOverflowRectForRepaint, computeRectForRepaint and mapLocalToContainer
              are now all shared via SVGRenderBase.
      
              RenderForeignObject should also be sharing this code, but I've left it
              alone for now, as changing that would likely cause test changes.
      
              No test changes.  It's possible that transformed <svg:image> elements will
              now show up with better metrics in the inspector.
      
              * rendering/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::clippedOverflowRectForRepaint):
              (WebCore::RenderSVGImage::computeRectForRepaint):
              (WebCore::RenderSVGImage::mapLocalToContainer):
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGModelObject.cpp:
              (WebCore::RenderSVGModelObject::clippedOverflowRectForRepaint):
              (WebCore::RenderSVGModelObject::computeRectForRepaint):
              (WebCore::RenderSVGModelObject::mapLocalToContainer):
              * rendering/RenderSVGText.cpp:
              (WebCore::RenderSVGText::clippedOverflowRectForRepaint):
              (WebCore::RenderSVGText::computeRectForRepaint):
              (WebCore::RenderSVGText::mapLocalToContainer):
              * rendering/SVGRenderSupport.cpp:
              (WebCore::SVGRenderBase::clippedOverflowRectForRepaint):
              (WebCore::SVGRenderBase::computeRectForRepaint):
              (WebCore::SVGRenderBase::mapLocalToContainer):
              * rendering/SVGRenderSupport.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43210 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      abec5eed
    • eric@webkit.org's avatar
      Reviewed by Simon Fraser. · f5ef91cf
      eric@webkit.org authored
              Add SVGRenderBase to share logic between SVG renderers
              https://bugs.webkit.org/show_bug.cgi?id=25532
      
              I've added an SVGRenderBase base class which is shared by
              all of the SVG renders now.  This patch is just moving code
              there are no functional changes in this patch.
      
              Currently I've left these functions in SVGRenderSupport.h
              In a later patch I will rename SVGRenderSupport.* to SVGRenderBase.*
      
              clampImageBufferSizeToViewport now takes a FrameView* which makes some code easier to read.
      
              * rendering/RenderSVGBlock.h:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGModelObject.h:
              * rendering/RenderSVGRoot.h:
              * rendering/SVGRenderSupport.cpp:
              (WebCore::SVGRenderBase::prepareToRenderSVGContent):
              (WebCore::SVGRenderBase::finishRenderSVGContent):
              (WebCore::clampImageBufferSizeToViewport):
              (WebCore::SVGRenderBase::computeContainerBoundingBox):
              (WebCore::SVGRenderBase::filterBoundingBoxForRenderer):
              * rendering/SVGRenderSupport.h:
              * rendering/SVGRootInlineBox.cpp:
              (WebCore::SVGRootInlineBoxPaintWalker::chunkStartCallback):
              (WebCore::SVGRootInlineBoxPaintWalker::chunkEndCallback):
              (WebCore::SVGRootInlineBox::paint):
              * svg/SVGMaskElement.cpp:
              (WebCore::SVGMaskElement::drawMaskerContent):
              * svg/SVGPatternElement.cpp:
              (WebCore::SVGPatternElement::buildPattern):
              * svg/graphics/SVGPaintServerGradient.cpp:
              (WebCore::createMaskAndSwapContextForTextGradient):
              (WebCore::clipToTextMask):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43209 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5ef91cf
    • hausmann@webkit.org's avatar
      2009-05-05 Simon Hausmann <simon.hausmann@nokia.com> · 18ae0b0b
      hausmann@webkit.org authored
              Unreviewed SVG build fix.
      
              Include MappedAttribute.h after r43187.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18ae0b0b
  2. 04 May, 2009 20 commits
    • mjs@apple.com's avatar
      2009-05-04 Maciej Stachowiak <mjs@apple.com> · 2b8378ff
      mjs@apple.com authored
              Rubber stamped by Gavin.
      
              - inline Vector::resize for a ~1.5% speedup on string-tagcloud
      
              * wtf/Vector.h:
              (WTF::Vector::resize): Inline
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b8378ff
    • zecke@webkit.org's avatar
      2009-05-04 Holger Hans Peter Freyther <zecke@selfish.org> · 39314970
      zecke@webkit.org authored
              Disabling accessibility/canvas.html due the lack of a
              an AccessibilityController implementation in DRT.
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39314970
    • beidson@apple.com's avatar
      2009-05-04 Brady Eidson <beidson@apple.com> · 43ba35c7
      beidson@apple.com authored
              Reviewed by Sam 'The Belly' Weinig
      
              <rdar://problem/6828894> - Facebook photo uploader applet broken on Leopard only
      
              In r41568 we started adding a default codebase attribute to <applet> tags if they didn't specify one
              themselves.  Leopard's Java plug-in mishandles this case and fails to load code for the applet.
      
              The spirit of r41568 can be maintained by removing the "default codebase" piece and only performing
              the canLoad() check if a codebase was actually set on the applet tag.
      
              * html/HTMLAppletElement.cpp:
              (WebCore::HTMLAppletElement::createRenderer): Don't create a default codebase attribute.
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::createJavaAppletWidget): Only perform the canLoad() check if the codebase was set.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43ba35c7
    • aroben@apple.com's avatar
      Windows build fix · 2e68f2c8
      aroben@apple.com authored
              * html/HTMLCollection.h:
              * html/HTMLFormElement.h:
              Declare CollectionCache as a struct, not a class, to match its
              definition.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e68f2c8
    • cfleizach@apple.com's avatar
    • beidson@apple.com's avatar
      2009-05-04 Brady Eidson <beidson@apple.com> · 679e695a
      beidson@apple.com authored
              Fix an ancient Changelog entry where Sam Weinig flat out lied and confused my exploration of a bug.
      
              * ChangeLog
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      679e695a
    • eric@webkit.org's avatar
      2009-05-04 Kai Brüning <kai@granus.net> · 19533492
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=24883
              24883: Bad success test in parseXMLDocumentFragment in XMLTokenizerLibxml2.cpp
      
              Fixed test whether all the chunk has been processed to correctly count utf8 bytes.
      
              Test: fast/innerHTML/innerHTML-nbsp.xhtml
      
              * dom/XMLTokenizerLibxml2.cpp:
              (WebCore::parseXMLDocumentFragment):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43195 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19533492
    • darin@apple.com's avatar
      2009-05-04 Darin Adler <darin@apple.com> · e15bb030
      darin@apple.com authored
              * platform/gtk/Skipped: Disable a test that's timing out.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e15bb030
    • darin@apple.com's avatar
      2009-05-04 Darin Adler <darin@apple.com> · eac02b56
      darin@apple.com authored
              First try at fixing the Windows build.
      
              * DOMHTMLClasses.cpp: Added include of HTMLCollection.h.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eac02b56
    • kov@webkit.org's avatar
      2009-05-04 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · ac2a8aa3
      kov@webkit.org authored
              Disabling new tests, as they are failing because of font
              configuration mismatch between my machine and the bot.
      
              * platform/gtk/Skipped:
              * platform/gtk/editing/spelling/spellcheck-attribute-expected.txt: Removed.
              * platform/gtk/svg/text/foreignObject-repaint-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ac2a8aa3
    • andersca@apple.com's avatar
      2009-05-04 Anders Carlsson <andersca@apple.com> · ba4b96af
      andersca@apple.com authored
              Reviewed by Kevin Decker.
      
              Fix <rdar://problem/6797644>.
              
              Make sure to send a reply even when an instance proxy can't be found.
              
              * Plugins/Hosted/NetscapePluginHostProxy.mm:
              (WKPCEvaluate):
              (WKPCInvoke):
              (WKPCInvokeDefault):
              (WKPCGetProperty):
              (WKPCHasProperty):
              (WKPCHasMethod):
              (WKPCEnumerate):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba4b96af
    • kov@webkit.org's avatar
      LayoutTests: · 9d46e9f1
      kov@webkit.org authored
      2009-05-04  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
      
              Reviewed by Alexey Proskuryakov.
      
              Add results for two new tests, for the GTK+ port.
      
              * platform/gtk/editing/spelling/spellcheck-attribute-expected.txt: Added.
              * platform/gtk/svg/text/foreignObject-repaint-expected.txt: Added.
      
      WebKitTools:
      
      2009-05-04  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
      
              Reviewed by Alexey Proskuryakov.
      
              Enable spell-checking in DumpRenderTree.
      
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (resetWebViewToConsistentStateBeforeTesting):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43188 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d46e9f1
    • darin@apple.com's avatar
      WebCore: · 9a925fa1
      darin@apple.com authored
      2009-05-04  Darin Adler  <darin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Bug 24924: remove Document.h include of Attr.h and HTMLCollection.h,
              and NamedMappedAttrMap.h include of MappedAttribute.h
              https://bugs.webkit.org/show_bug.cgi?id=24924
      
              Make compiles faster, and debugging info smaller.
      
              * GNUmakefile.am: Added new source files.
              * WebCore.pro: Ditto.
              * WebCore.scons: Ditto.
              * WebCore.vcproj/WebCore.vcproj: Ditto.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
              * WebCoreSources.bkl: Ditto.
      
              * bindings/js/JSHTMLCollectionCustom.cpp:
              (WebCore::toJS): Updated for new collection type names.
      
              * dom/Document.cpp:
              (WebCore::Document::createAttribute): Added. No longer inline.
              (WebCore::Document::images): Updated for new collection type names.
              (WebCore::Document::applets): Ditto.
              (WebCore::Document::embeds): Ditto.
              (WebCore::Document::plugins): Ditto.
              (WebCore::Document::objects): Ditto.
              (WebCore::Document::scripts): Ditto.
              (WebCore::Document::links): Ditto.
              (WebCore::Document::forms): Ditto.
              (WebCore::Document::anchors): Ditto.
              (WebCore::Document::all): Ditto.
              (WebCore::Document::windowNamedItems): Ditto.
              (WebCore::Document::documentNamedItems): Ditto.
              (WebCore::Document::nameCollectionInfo): Ditto.
      
              * dom/Document.h: Changed around includes and forward declarations.
              Updated for changes to collection types.
      
              * dom/NamedMappedAttrMap.h: Removed include of MappedAttribute.h.
      
              * html/CollectionCache.cpp: Copied from WebCore/html/HTMLCollection.cpp.
              Contains the class that used to be HTMLCollection::CollectionInfo.
              * html/CollectionCache.h: Copied from WebCore/html/HTMLCollection.h.
              Ditto.
      
              * html/CollectionType.h: Copied from WebCore/html/HTMLCollection.h.
              Has the enum that used to be HTMLCollection::Type.
      
              * html/HTMLCollection.cpp:
              (WebCore::HTMLCollection::HTMLCollection): Update for collection type change.
              (WebCore::HTMLCollection::create): Ditto.
              (WebCore::HTMLCollection::resetCollectionInfo): Ditto.
              (WebCore::HTMLCollection::itemAfter): Ditto.
              * html/HTMLCollection.h: Ditto.
      
              * html/HTMLElement.cpp:
              (WebCore::HTMLElement::children): Updated for new collection type names.
              * html/HTMLFormCollection.cpp:
              (WebCore::HTMLFormCollection::formCollectionInfo): Ditto.
              (WebCore::HTMLFormCollection::HTMLFormCollection): Ditto.
              * html/HTMLFormCollection.h: Ditto.
              * html/HTMLFormElement.h: Ditto.
              * html/HTMLMapElement.cpp:
              (WebCore::HTMLMapElement::areas): Ditto.
              * html/HTMLNameCollection.cpp:
              (WebCore::HTMLNameCollection::HTMLNameCollection): Ditto.
              * html/HTMLNameCollection.h:
              (WebCore::HTMLNameCollection::create): Ditto.
              * html/HTMLSelectElement.h:
              (WebCore::HTMLSelectElement::collectionInfo): Ditto.
              * html/HTMLTableElement.cpp:
              (WebCore::HTMLTableElement::tBodies):Ditto.
              * html/HTMLTableRowElement.cpp:
              (WebCore::HTMLTableRowElement::cells):Ditto.
              * html/HTMLTableRowsCollection.cpp:
              (WebCore::HTMLTableRowsCollection::HTMLTableRowsCollection): Ditto.
              * html/HTMLTableSectionElement.cpp:
              (WebCore::HTMLTableSectionElement::rows): Ditto.
      
              * bindings/js/JSDOMWindowBase.cpp: Added newly-needed includes.
              * bindings/js/JSHTMLFrameSetElementCustom.cpp: Ditto.
              * css/CSSStyleSelector.cpp: Ditto.
              * dom/Element.cpp: Ditto.
              * dom/InputElement.cpp: Ditto.
              * dom/NamedAttrMap.cpp: Ditto.
              * dom/NamedMappedAttrMap.cpp: Ditto.
              * dom/Node.cpp: Ditto.
              * dom/StyledElement.cpp: Ditto.
              * dom/StyledElement.h: Ditto.
              * editing/ApplyStyleCommand.cpp: Ditto.
              * editing/DeleteSelectionCommand.cpp: Ditto.
              * editing/Editor.cpp: Ditto.
              * editing/EditorCommand.cpp: Ditto.
              * editing/InsertParagraphSeparatorCommand.cpp: Ditto.
              * editing/ReplaceSelectionCommand.cpp: Ditto.
              * editing/markup.cpp: Ditto.
              * html/CanvasRenderingContext2D.cpp: Ditto.
              * html/HTMLAnchorElement.cpp: Ditto.
              * html/HTMLAppletElement.cpp: Ditto.
              * html/HTMLAreaElement.cpp: Ditto.
              * html/HTMLBRElement.cpp: Ditto.
              * html/HTMLBaseElement.cpp: Ditto.
              * html/HTMLBodyElement.cpp: Ditto.
              * html/HTMLButtonElement.cpp: Ditto.
              * html/HTMLCanvasElement.cpp: Ditto.
              * html/HTMLDivElement.cpp: Ditto.
              * html/HTMLEmbedElement.cpp: Ditto.
              * html/HTMLFontElement.cpp: Ditto.
              * html/HTMLFormControlElement.cpp: Ditto.
              * html/HTMLFormElement.cpp: Ditto.
              * html/HTMLFrameElement.cpp: Ditto.
              * html/HTMLFrameElementBase.cpp: Ditto.
              * html/HTMLFrameSetElement.cpp: Ditto.
              * html/HTMLHRElement.cpp: Ditto.
              * html/HTMLIFrameElement.cpp: Ditto.
              * html/HTMLImageElement.cpp: Ditto.
              * html/HTMLInputElement.cpp: Ditto.
              * html/HTMLIsIndexElement.cpp: Ditto.
              * html/HTMLKeygenElement.cpp: Ditto.
              * html/HTMLLIElement.cpp: Ditto.
              * html/HTMLLinkElement.cpp: Ditto.
              * html/HTMLMarqueeElement.cpp: Ditto.
              * html/HTMLMetaElement.cpp: Ditto.
              * html/HTMLOListElement.cpp: Ditto.
              * html/HTMLObjectElement.cpp: Ditto.
              * html/HTMLOptionElement.cpp: Ditto.
              * html/HTMLParagraphElement.cpp: Ditto.
              * html/HTMLParamElement.cpp: Ditto.
              * html/HTMLPlugInElement.cpp: Ditto.
              * html/HTMLPreElement.cpp: Ditto.
              * html/HTMLScriptElement.cpp: Ditto.
              * html/HTMLSelectElement.cpp: Ditto.
              * html/HTMLStyleElement.cpp: Ditto.
              * html/HTMLTableCaptionElement.cpp: Ditto.
              * html/HTMLTableCellElement.cpp: Ditto.
              * html/HTMLTableColElement.cpp: Ditto.
              * html/HTMLTablePartElement.cpp: Ditto.
              * html/HTMLTextAreaElement.cpp: Ditto.
              * html/HTMLTokenizer.cpp: Ditto.
              * html/HTMLUListElement.cpp: Ditto.
              * html/HTMLVideoElement.cpp: Ditto.
              * html/HTMLViewSourceDocument.cpp: Ditto.
              * loader/ImageDocument.cpp: Ditto.
              * page/Frame.cpp: Ditto.
              * rendering/RenderTreeAsText.cpp: Ditto.
              * svg/SVGAElement.cpp: Ditto.
              * svg/SVGAnimateMotionElement.cpp: Ditto.
              * svg/SVGAnimateTransformElement.cpp: Ditto.
              * svg/SVGAnimationElement.cpp: Ditto.
              * svg/SVGCircleElement.cpp: Ditto.
              * svg/SVGClipPathElement.cpp: Ditto.
              * svg/SVGCursorElement.cpp: Ditto.
              * svg/SVGElement.cpp: Ditto.
              * svg/SVGEllipseElement.cpp: Ditto.
              * svg/SVGExternalResourcesRequired.cpp: Ditto.
              * svg/SVGFitToViewBox.cpp: Ditto.
              * svg/SVGFontFaceElement.cpp: Ditto.
              * svg/SVGFontFaceUriElement.cpp: Ditto.
              * svg/SVGForeignObjectElement.cpp: Ditto.
              * svg/SVGGlyphElement.cpp: Ditto.
              * svg/SVGGradientElement.cpp: Ditto.
              * svg/SVGImageElement.cpp: Ditto.
              * svg/SVGLangSpace.cpp: Ditto.
              * svg/SVGLineElement.cpp: Ditto.
              * svg/SVGLinearGradientElement.cpp: Ditto.
              * svg/SVGMarkerElement.cpp: Ditto.
              * svg/SVGMaskElement.cpp: Ditto.
              * svg/SVGPathElement.cpp: Ditto.
              * svg/SVGPatternElement.cpp: Ditto.
              * svg/SVGPolyElement.cpp: Ditto.
              * svg/SVGRadialGradientElement.cpp: Ditto.
              * svg/SVGRectElement.cpp: Ditto.
              * svg/SVGSVGElement.cpp: Ditto.
              * svg/SVGScriptElement.cpp: Ditto.
              * svg/SVGStopElement.cpp: Ditto.
              * svg/SVGStyleElement.cpp: Ditto.
              * svg/SVGStyledElement.cpp: Ditto.
              * svg/SVGStyledTransformableElement.cpp: Ditto.
              * svg/SVGTests.cpp: Ditto.
              * svg/SVGTextContentElement.cpp: Ditto.
              * svg/SVGTextElement.cpp: Ditto.
              * svg/SVGTextPathElement.cpp: Ditto.
              * svg/SVGTextPositioningElement.cpp: Ditto.
              * svg/SVGURIReference.cpp: Ditto.
              * svg/SVGUseElement.cpp: Ditto.
              * svg/SVGViewElement.cpp: Ditto.
              * svg/animation/SVGSMILElement.cpp: Ditto.
              * xml/XPathStep.cpp: Ditto.
      
      WebKit/mac:
      
      2009-05-04  Darin Adler  <darin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Bug 24924: remove Document.h include of Attr.h and HTMLCollection.h,
              and NamedMappedAttrMap.h include of MappedAttribute.h
              https://bugs.webkit.org/show_bug.cgi?id=24924
      
              * WebView/WebFrame.mm: Added include of CSSMutableStyleDeclaration.h
              and ScriptValue.h.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a925fa1
    • kevino@webkit.org's avatar
      Initial DRT implementation for wx. · 530e98ae
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      530e98ae
    • pkasting@chromium.org's avatar
      2009-05-04 Pavel Feldman <pfeldman@chromium.org> · cbe36c37
      pkasting@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Do not instantiate hidden WebInspector panels. Otherwise they are hitting unimplemented InspectorController methods.
              https://bugs.webkit.org/show_bug.cgi?id=25520
      
              * inspector/front-end/inspector.js:
              (WebInspector.loaded):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43185 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cbe36c37
    • darin@apple.com's avatar
      2009-05-04 Darin Adler <darin@apple.com> · 9b4fe60b
      darin@apple.com authored
              Reviewed by Adam Roben.
      
              * media/video-size-intrinsic-scale-expected.txt: Changed to match test.
              * media/video-size-intrinsic-scale.html: Removed doubled "Movie" word.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9b4fe60b
    • beidson@apple.com's avatar
      2009-05-04 Brady Eidson <beidson@apple.com> · 359dcb61
      beidson@apple.com authored
              Reviewed by Darin Adler.
      
              <rdar://problem/6839881> With "Mail Contents of This Page" in Safari images don't appear in the Tiger Mail compose window
      
              DocumentLoader::subresource() is the implementation for the WebKit API [WebDataSource subresourceForURL:] and has 
              particularly sticky behavior.  
      
              If the DocumentLoader represents a WebArchive, this method should return ArchiveResources from that archive.  However, we 
              prefer CachedResources over ArchiveResources because they might represent fresher data than what was originally loaded 
              from the WebArchive.
      
              In some instances, CachedResources are created and associated with the DocumentLoader but not immediately run through the 
              loading delegate machinery.  This was always a possibility, but the Preload Scanner made this significantly more likely.
      
              When this happens and someone asks the WebDataSource for a subresource, it would prefer the CachedResource over an 
              ArchiveResource it has even if the CachedResource hasn't been loaded yet.  The CachedResource has nil data, so no
              WebResource is returned, and the client thinks the subresource doesn't exist even though it does.
      
              This broke Tiger Mail and probably various other WebKit applications but has a fairly straightforward fix.
      
              * loader/DocumentLoader.cpp:
              (WebCore::DocumentLoader::subresource): If there is a CachedResource but it hasn't been loaded yet, fallback to the
                ArchiveResource.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      359dcb61
    • eric.carlson@apple.com's avatar
      2009-05-04 Eric Carlson <eric.carlson@apple.com> · 36756dde
      eric.carlson@apple.com authored
              Reviewed by Adam Roben.
              
              https://bugs.webkit.org/show_bug.cgi?id=25545
              Bug 25545: HTMLMediaElement: display anamorphic video correctly
              
              Tell QuickTime to use clean aperture mode so movies with non-square pixels are sized
              and displayed correctly.
      
              * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
              (WebCore::MediaPlayerPrivate::createQTMovie): Ask QuickTime to use clean aperture mode.
              * platform/graphics/win/QTMovieWin.cpp:
              (QTMovieWin::load): Ditto. Add ASSERT to ensure that static movie property array isn't 
              filled beyond capacity.
      
      2009-05-04  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Adam Roben.
      
              https://bugs.webkit.org/show_bug.cgi?id=25545
              Bug 25545: HTMLMediaElement: display anamorphic video correctly
              
              Added 720x576i PAL anamorphic movie, extended video-size-intrinsic-scale
              test to check that it is sized correctly.
      
              * media/content/720x576i-anamorphic.mov: Added.
              * media/video-size-intrinsic-scale-expected.txt:
              * media/video-size-intrinsic-scale.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43182 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36756dde
    • mrowe@apple.com's avatar
      Fix <https://bugs.webkit.org/show_bug.cgi?id=25332>. · 67840e29
      mrowe@apple.com authored
      Bug 25332: Plug-in inserted in to DOM of PluginDocument fails to load
      
      Reviewed by Darin Adler.
      
      Only the first plug-in in a PluginDocument can use the main resource data.  For all
      subsequent plug-ins, such as the plug-in that ClickToFlash inserts when swapping itself
      out for the real Flash plug-in, we need to load the resource data in the same manner
      as for other embedded plug-ins.
      
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::loadPlugin):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43181 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67840e29
    • hausmann@webkit.org's avatar
      2009-05-04 Simon Hausmann <simon.hausmann@nokia.com> · 2465ad4e
      hausmann@webkit.org authored
              Rubber-stamped by Ariya Hidayat.
      
              Update the qrc file for the Web Inspector in the Qt build
              with missing files.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43180 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2465ad4e