1. 31 May, 2006 2 commits
    • ggaren's avatar
      Reviewed by Maciej. · 0aa50c48
      ggaren authored
              - Fixed <rdar://problem/4559720> window sizing: make javascript window 
              and screen sizing methods and properties work @ HIDPI
              
              The general approach here is to change some ints to floats, make 
              a few key functions that scale between WebView and window/screen 
              coordinates, and change other functions that work with screen 
              coordinates to use the scaling functions for their underlying 
              implementations.
      
              * manual-tests/window-open-features.html: Removed.
              * manual-tests/window-sizing.html: Added. More test coverage.
      
              * bindings/js/kjs_window.cpp: Changed ints to floats and IntRects to
              FloatRects, because window coordinates can be fractional when scaled 
              to WebView/DOM coordinates.
              (KJS::floatFeature):
              (KJS::showModalDialog):
              (KJS::Window::getValueProperty):
              (KJS::constrainToVisible):
              (KJS::WindowFunc::callAsFunction):
              * bridge/BrowserExtension.h:
              * bridge/mac/BrowserExtensionMac.mm:
              (WebCore::BrowserExtensionMac::createNewWindow): Removed custom scaling
              code and replaced with calls to Page::windowRect and 
              Page::setWindowRect. Renamed 'page' and 'bridge' to 'pageBridge' and
              'frameBridge,' respectively.
              * bridge/mac/PageMac.mm:
              (WebCore::Page::windowRect): Changed to use scaling
              (WebCore::Page::setWindowRect): ditto
              * bridge/mac/WebCoreFrameBridge.mm:
              (globalPoint):
              * page/Page.h:
              * platform/IntRect.h:
              * platform/Screen.h:
              * platform/mac/MouseEventMac.mm:
              (WebCore::globalPositionForEvent): Changed to use flipScreenPoint
              * platform/mac/ScreenMac.mm:
              (WebCore::flipScreenRect): New key function
              (WebCore::flipScreenPoint): New key function
              (WebCore::scaleScreenRectToView): New key function
              (WebCore::scaleViewRectToScreen): New key function
              (WebCore::screenRect): Changed to use scaling
              (WebCore::usableScreenRect): ditto
      
              Feeble attempt to preserve Windows build:
              
              * platform/win/ScreenWin.cpp:
              (WebCore::scaleScreenRectToWidget): stub -- doesn't actually scale
              (WebCore::scaleWidgetRectToScreen): ditto
              * bridge/win/PageWin.cpp:
              (WebCore::Page::Page):
              (WebCore::Page::widget):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0aa50c48
    • hyatt's avatar
      Fix layout tests. · 337bfd30
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      337bfd30
  2. 30 May, 2006 7 commits
    • hyatt's avatar
      Rename RenderCanvas to RenderView. Rename canvas(), isCanvas() · d804834e
      hyatt authored
              to view(), isView().  Rename the frame view accessor on the old canvas
              from view() to frameView() (to avoid view()->view(), since that just looks
              stupid). :)
      
              Reviewed by andersca
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_window.cpp:
              * bridge/mac/FrameMac.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge _setupRootForPrinting:]):
              (-[WebCoreFrameBridge computePageRectsWithPrintWidthScaleFactor:printHeight:]):
              (-[WebCoreFrameBridge selectionColor]):
              (-[WebCoreFrameBridge accessibilityTree]):
              * dom/Document.cpp:
              (WebCore::Document::attach):
              (WebCore::Document::updateSelection):
              (WebCore::Document::prepareMouseEvent):
              * editing/SelectionController.cpp:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              * ksvg2/svg/SVGClipPathElement.cpp:
              (SVGClipPathElement::canvasResource):
              * ksvg2/svg/SVGFEFloodElement.cpp:
              (SVGFEFloodElement::filterEffect):
              * ksvg2/svg/SVGGradientElement.cpp:
              (SVGGradientElement::rebuildStops):
              * ksvg2/svg/SVGHelper.cpp:
              (SVGHelper::PercentageOfViewport):
              * ksvg2/svg/SVGPathElement.cpp:
              (WebCore::SVGPathElement::getPointAtLength):
              * ksvg2/svg/SVGSVGElement.cpp:
              (WebCore::SVGSVGElement::currentTranslate):
              * ksvg2/svg/SVGStyledElement.cpp:
              (WebCore::SVGStyledElement::view):
              (WebCore::SVGStyledElement::pushAttributeContext):
              * ksvg2/svg/SVGStyledElement.h:
              * kwq/WebCoreAXObject.mm:
              (-[WebCoreAXObject accessibilityShouldUseUniqueId]):
              (-[WebCoreAXObject role]):
              (-[WebCoreAXObject value]):
              (-[WebCoreAXObject position]):
              (-[WebCoreAXObject accessibilityIsIgnored]):
              (-[WebCoreAXObject accessibilityAttributeNames]):
              (-[WebCoreAXObject topView]):
              (-[WebCoreAXObject accessibilityAttributeValue:]):
              * page/Frame.cpp:
              (WebCore::Frame::selectionRect):
              (WebCore::Frame::paint):
              (WebCore::Frame::adjustPageHeight):
              (WebCore::Frame::forceLayoutWithPageWidthRange):
              * page/FrameView.cpp:
              (WebCore::FrameView::adjustViewSize):
              (WebCore::FrameView::layout):
              * page/FrameView.h:
              * rendering/AutoTableLayout.cpp:
              (WebCore::shouldScaleColumns):
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::MarginInfo::MarginInfo):
              (WebCore::RenderBlock::isSelfCollapsingBlock):
              (WebCore::RenderBlock::layoutBlock):
              (WebCore::RenderBlock::paintChildren):
              (WebCore::RenderBlock::setSelectionState):
              (WebCore::RenderBlock::isSelectionRoot):
              (WebCore::RenderBlock::fillInlineSelectionGaps):
              (WebCore::RenderBlock::lowestPosition):
              (WebCore::RenderBlock::rightmostPosition):
              (WebCore::RenderBlock::leftmostPosition):
              (WebCore::RenderBlock::clearFloats):
              (WebCore::RenderBlock::nodeAtPoint):
              (WebCore::RenderBlock::calcBlocminMaxWidth):
              (WebCore::RenderBlock::inRootBlockContext):
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::setStyle):
              (WebCore::RenderBox::paintRootBoxDecorations):
              (WebCore::RenderBox::paintBackgroundExtended):
              (WebCore::RenderBox::calcHeight):
              (WebCore::RenderBox::calcPercentageHeight):
              (WebCore::RenderBox::availableHeightUsing):
              * rendering/RenderCanvas.cpp: Removed.
              * rendering/RenderCanvas.h: Removed.
              * rendering/RenderContainer.cpp:
              (WebCore::RenderContainer::removeChildNode):
              * rendering/RenderFileButton.cpp:
              (WebCore::RenderFileButton::RenderFileButton):
              * rendering/RenderFlow.cpp:
              (WebCore::RenderFlow::destroy):
              (WebCore::RenderFlow::paintLines):
              * rendering/RenderFrameSet.cpp:
              (WebCore::RenderFrameSet::layout):
              (WebCore::RenderFrameSet::userResize):
              (WebCore::RenderFrameSet::setResizing):
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::paint):
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::updateLayerPositions):
              (WebCore::RenderLayer::updateLayerPosition):
              (WebCore::RenderLayer::stackingContext):
              (WebCore::RenderLayer::enclosingPositionedAncestor):
              (WebCore::RenderLayer::convertToLayerCoords):
              (WebCore::RenderLayer::scrollToOffset):
              (WebCore::isSubframeCanvas):
              (WebCore::RenderLayer::intersectsDamageRect):
              * rendering/RenderLayer.h:
              (WebCore::RenderLayer::isStackingContext):
              * rendering/RenderListMarker.cpp:
              (WebCore::RenderListMarker::paint):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::scroll):
              (WebCore::RenderObject::containingBlock):
              (WebCore::RenderObject::repaint):
              (WebCore::RenderObject::repaintRectangle):
              (WebCore::RenderObject::repaintAfterLayoutIfNeeded):
              (WebCore::RenderObject::draggableNode):
              (WebCore::RenderObject::selectionStartEnd):
              (WebCore::RenderObject::setStyle):
              (WebCore::RenderObject::viewRect):
              (WebCore::RenderObject::view):
              (WebCore::RenderObject::container):
              (WebCore::RenderObject::removeFromObjectLists):
              (WebCore::RenderObject::scheduleRelayout):
              (WebCore::RenderObject::imageChanged):
              (WebCore::RenderObject::maximalOutlineSize):
              * rendering/RenderObject.h:
              (WebCore::RenderObject::isRenderView):
              * rendering/RenderTextArea.cpp:
              (WebCore::RenderTextArea::RenderTextArea):
              * rendering/RenderThemeMac.mm:
              (WebCore::RenderThemeMac::paintCheckbox):
              (WebCore::RenderThemeMac::paintRadio):
              (WebCore::RenderThemeMac::paintButton):
              * rendering/RenderTreeAsText.cpp:
              (externalRepresentation):
              * rendering/RenderView.cpp: Added.
              (WebCore::RenderView::RenderView):
              (WebCore::RenderView::~RenderView):
              (WebCore::RenderView::calcHeight):
              (WebCore::RenderView::calcWidth):
              (WebCore::RenderView::calcMinMaxWidth):
              (WebCore::RenderView::layout):
              (WebCore::RenderView::absolutePosition):
              (WebCore::RenderView::paint):
              (WebCore::RenderView::paintBoxDecorations):
              (WebCore::RenderView::repaintViewRectangle):
              (WebCore::RenderView::getAbsoluteRepaintRect):
              (WebCore::RenderView::computeAbsoluteRepaintRect):
              (WebCore::RenderView::absoluteRects):
              (WebCore::RenderView::selectionRect):
              (WebCore::RenderView::setSelection):
              (WebCore::RenderView::clearSelection):
              (WebCore::RenderView::selectionStartEnd):
              (WebCore::RenderView::updateWidgetPositions):
              (WebCore::RenderView::addWidget):
              (WebCore::RenderView::removeWidget):
              (WebCore::RenderView::viewRect):
              (WebCore::RenderView::docHeight):
              (WebCore::RenderView::docWidth):
              (WebCore::RenderView::setBestTruncatedAt):
              * rendering/RenderView.h: Added.
              (WebCore::RenderView::renderName):
              (WebCore::RenderView::isRenderView):
              (WebCore::RenderView::frameView):
              * rendering/RenderWidget.cpp:
              (WebCore::RenderWidget::RenderWidget):
              (WebCore::RenderWidget::destroy):
              (WebCore::RenderWidget::updateWidgetPosition):
              * rendering/RenderWidget.h:
              (WebCore::RenderWidget::widget):
              * rendering/bidi.cpp:
              (WebCore::RenderBlock::layoutInlineChildren):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d804834e
    • tomernic's avatar
      Reviewed by Geoff. · 73020339
      tomernic authored
              <rdar://problem/4567776> REGRESSION: window.open() links do not work at www.newarchery.com
      
              * bindings/js/kjs_window.cpp:
              (KJS::WindowFunc::callAsFunction):
              Set the URL in the ResourceRequest; otherwise, it'll be uninitialized and createNewWindow() will
              not be able to load the URL into a pre-existing frame.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73020339
    • bdakin's avatar
      Reviewed by Maciej, landed by Beth. · f941d8cf
      bdakin authored
              - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=9137
                Children with percentage heights of absolutely positioned element 
                with height: auto and top and bottom non-auto does not lay out 
                correctly
      
              Adds special case.
      
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::calcPercentageHeight):
              (WebCore::RenderBox::calcReplacedHeightUsing):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f941d8cf
    • bdakin's avatar
      Reviewed by Hyatt, landed by Beth. · 05b73122
      bdakin authored
              - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=9085
                Absolutely positioned objects with 'height': auto and 'top': and
                'bottom': non-auto should not be content based
      
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::calcAbsoluteVertical):
              (WebCore::RenderBox::calcAbsoluteVerticalValues):
              (WebCore::RenderBox::calcAbsoluteHorizontalReplaced):
              (WebCore::RenderBox::calcAbsoluteVerticalReplaced):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      05b73122
    • thatcher's avatar
      Versioning · 1c2f6e6d
      thatcher authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c2f6e6d
    • eseidel's avatar
      2006-05-30 Eric Seidel <eric@eseidel.com> · 931e6e50
      eseidel authored
              Reviewed by andersca.
      
              Small amount of svg-related code cleanup.
              No test case possible.
      
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGLength.cpp:
              (SVGLength::SVGLength):
              (SVGLength::value):
              * ksvg2/svg/SVGMarkerElement.cpp:
              * ksvg2/svg/SVGMatrix.cpp:
              (SVGMatrix::SVGMatrix):
              (SVGMatrix::copy):
              (SVGMatrix::postMultiply):
              (SVGMatrix::inverse):
              (SVGMatrix::postTranslate):
              (SVGMatrix::postScale):
              (SVGMatrix::postScaleNonUniform):
              (SVGMatrix::postRotate):
              (SVGMatrix::postRotateFromVector):
              (SVGMatrix::postFlipX):
              (SVGMatrix::postFlipY):
              (SVGMatrix::postSkewX):
              (SVGMatrix::postSkewY):
              (SVGMatrix::multiply):
              (SVGMatrix::translate):
              (SVGMatrix::scale):
              (SVGMatrix::scaleNonUniform):
              (SVGMatrix::rotate):
              (SVGMatrix::rotateFromVector):
              (SVGMatrix::flipX):
              (SVGMatrix::flipY):
              (SVGMatrix::skewX):
              (SVGMatrix::skewY):
              (SVGMatrix::setMatrix):
              (SVGMatrix::qmatrix):
              (SVGMatrix::removeScale):
              * ksvg2/svg/SVGMatrix.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      931e6e50
    • eseidel's avatar
      2006-05-30 Eric Seidel <eric@eseidel.com> · c5090ec7
      eseidel authored
              Reviewed by andersca.
      
              Small ammount of bindings-related code cleanup.
              No test case possible.
      
              * bindings/js/JSHTMLFormElementCustom.cpp:
              (WebCore::JSHTMLFormElement::nameGetter):
              * bindings/js/JSXMLSerializer.cpp:
              (WebCore::JSXMLSerializerConstructorImp::JSXMLSerializerConstructorImp):
              (WebCore::JSXMLSerializerConstructorImp::implementsConstruct):
              (WebCore::JSXMLSerializerConstructorImp::construct):
              (WebCore::):
              (WebCore::JSXMLSerializer::JSXMLSerializer):
              (WebCore::JSXMLSerializerProtoFunc::callAsFunction):
              * bindings/js/JSXMLSerializer.h:
              (WebCore::JSXMLSerializer::toBoolean):
              (WebCore::JSXMLSerializer::classInfo):
              (WebCore::JSXMLSerializer::):
              * bindings/js/kjs_window.cpp:
              (KJS::Window::getValueProperty):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c5090ec7
  3. 27 May, 2006 1 commit
  4. 26 May, 2006 11 commits
    • justing's avatar
      LayoutTests: · d745df2e
      justing authored
              Reviewed by levi
      
              Added, test for the crash by focusing an editable html element and then
              inserting a tab
              * editing/selection/editable-html-element-expected.checksum: Added.
              * editing/selection/editable-html-element-expected.png: Added.
              * editing/selection/editable-html-element-expected.txt: Added.
              * editing/selection/editable-html-element.html: Added.
              Fixed:
              * editing/selection/focus_editable_html-expected.checksum:
              * editing/selection/focus_editable_html-expected.png:
              * editing/selection/focus_editable_html-expected.txt:
      
      WebCore:
      
              Reviewed by levi
              
              <rdar://problem/4564296> Mail crashes on Leopard9A184 when I attempt to compose a new message
      
              * dom/Position.cpp:
              (WebCore::Position::inRenderedContent):
              Removed a candidate at [html, 0].
              * editing/CreateLinkCommand.cpp:
              (WebCore::CreateLinkCommand::doApply): Added early return when there is no selection.
              * editing/InsertLineBreakCommand.cpp:
              (WebCore::InsertLineBreakCommand::doApply): Ditto.
              * editing/InsertTextCommand.cpp:
              (WebCore::InsertTextCommand::input): Ditto.
              * editing/Selection.cpp:
              (WebCore::Selection::validate): If visible positions can't be created from the endpoints, 
              then create a null selection.  Not doing this was making editing code think there was
              a valid, editable selection even though there wasn't.
              * editing/UnlinkCommand.cpp:
              (WebCore::UnlinkCommand::doApply): Early return.
              * editing/VisiblePosition.cpp:
              (WebCore::VisiblePosition::initDeepPosition): Special case the html/body element boundary.
              It looks like a non-editable/editable boundary since rootEditableElement stops at the body
              even if the html element is editable.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d745df2e
    • adele's avatar
      Reviewed by Justin. · 65fd5575
      adele authored
              Fixes a mistake in my last checkin.  Uses maxDeepOffset to get the end position for
              the textarea's inner div.
      
              * rendering/RenderTextField.cpp: (WebCore::RenderTextField::textWithHardLineBreaks):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65fd5575
    • adele's avatar
      LayoutTests: · 3be74fe8
      adele authored
              Reviewed by Hyatt.
      
              Added test for new textarea implementation.  Tests
              wrap attributes and form submission.
      
              * fast/forms/textarea-appearance-wrap-expected.txt: Added.
              * fast/forms/textarea-appearance-wrap.html: Added.
      
      WebCore:
      
              Reviewed by Hyatt.
      
              Added support for wrap=hard for new textarea implementation.
      
              Tests: fast/forms/textarea-appearance-wrap.html
      
              * dom/Range.h: Added version of toString that will convert BRs to newlines.
              * dom/Range.cpp: (WebCore::Range::toString):
              * editing/ReplaceSelectionCommand.cpp: (WebCore::ReplacementFragment::ReplacementFragment): 
                When in plain-text mode, and a white-space mode that doesn't collapse whitespace, create a fragment with one text node.
              * editing/visible_units.cpp:
              (WebCore::previousLinePosition): Subtract scroll offset so the absolute position for the containing block is correct.
              (WebCore::nextLinePosition): ditto.
              * rendering/RenderText.cpp:
              (WebCore::RenderText::positionForCoordinates): If the position is equal to the left edge of the box,
              make the affinity downstream so the position doesn't jump back to the previous line.
              (WebCore::RenderText::atLineWrap): The logic was reversed here in a recent change.
              If the box is not at a line break, then its at a line wrap.
              (WebCore::RenderText::caretRect): Only go to the next text box if its at a line wrap and the
               affinity is also downstream.  If its upstream, then the correct box is on the current line.
              (WebCore::RenderText::inlineBox): ditto.
              * rendering/RenderTextField.cpp:
              (WebCore::RenderTextField::updateFromElement): multi line controls don't need to check
               valueMatchesRenderer before updating the renderer.  For textareas, the renderer should always try to update.
               This matches our old textarea behavior.
              (WebCore::RenderTextField::text): Pass true to textContent so it converts BRs to newlines.
              (WebCore::RenderTextField::textWithHardLineBreaks): Iterate through the RootLineBoxes to find the soft wraps and replace them with newlines.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3be74fe8
    • andersca's avatar
      WebCore: · a32b7791
      andersca authored
      2006-05-26  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Geoff.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9127
              Invoke capturing event listeners when AT_TARGET
              
              * dom/EventTargetNode.cpp:
              (WebCore::EventTargetNode::handleLocalEvents):    
              Invoke capturing event listeners for the AT_TARGET phase. This violates the
              DOM spec but it's what Mozilla does.
      
      LayoutTests:
      
      2006-05-26  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Geoff.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9127
              Invoke capturing event listeners when AT_TARGET
      
              * dom/html/level2/events/dispatchEvent09-expected.txt:
              * dom/xhtml/level2/events/dispatchEvent09-expected.txt:
              These fail now.
              
              * fast/dom/capturing-event-listeners-expected.txt: Added.
              * fast/dom/capturing-event-listeners.html: Added.
              
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a32b7791
    • harrison's avatar
      Reviewed by John Sullivan. · a2c687bb
      harrison authored
              <rdar://problem/4514529> Add a list type parameter and a return value to _increaseSelectionListLevel
      
              * WebView/WebHTMLView.m:
              (-[WebHTMLView _increaseSelectionListLevel]):
              - Now returns DOMNode*
      
              (-[WebHTMLView _increaseSelectionListLevelOrdered]):
              (-[WebHTMLView _increaseSelectionListLevelUnordered]):
              - Added.  These also return DOMNode*
      
              * WebView/WebHTMLViewPrivate.h:
              - Updated as above
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2c687bb
    • harrison's avatar
      Reviewed by John Sullivan. · c4c0f605
      harrison authored
              <rdar://problem/4514529> Add a list type parameter and a return value to _increaseSelectionListLevel
              
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              - Renamed ModifySelectionListLevelCommand .cpp and .h to ModifySelectionListLevel .cpp and .h
              
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge canIncreaseSelectionListLevel]):
              (-[WebCoreFrameBridge canDecreaseSelectionListLevel]):
              (-[WebCoreFrameBridge increaseSelectionListLevel]):
              (-[WebCoreFrameBridge decreaseSelectionListLevel]):
              - Call functions in IncreaseSelectionListLevelCommand or DecreaseSelectionListLevelCommand instead
              of ModifySelectionListLevelCommand.
              
              (-[WebCoreFrameBridge increaseSelectionListLevelOrdered]):
              (-[WebCoreFrameBridge increaseSelectionListLevelUnordered]):
              - Added.
              
              * editing/ModifySelectionListLevel.cpp: Added.
              - Renamed from ModifySelectionListLevelCommand.cpp
              - Made ModifySelectionListLevelCommand class into a useful base class for new
              classes IncreaseSelectionListLevelCommand and DecreaseSelectionListLevelCommand.
              
              (WebCore::ModifySelectionListLevelCommand::ModifySelectionListLevelCommand):
              (WebCore::getStartEndListChildren):
              (WebCore::ModifySelectionListLevelCommand::insertSiblingNodeRangeBefore):
              (WebCore::ModifySelectionListLevelCommand::appendSiblingNodeRange):
              - ModifySelectionListLevelCommand is base class for IncreaseSelectionListLevelCommand and DecreaseSelectionListLevelCommand
              
              (WebCore::IncreaseSelectionListLevelCommand::IncreaseSelectionListLevelCommand):
              (WebCore::IncreaseSelectionListLevelCommand::listElement):
              (WebCore::canIncreaseListLevel):
              (WebCore::IncreaseSelectionListLevelCommand::doApply):
              (WebCore::IncreaseSelectionListLevelCommand::canIncreaseSelectionListLevel):
              (WebCore::increaseSelectionListLevelWithType):
              (WebCore::IncreaseSelectionListLevelCommand::increaseSelectionListLevel):
              (WebCore::IncreaseSelectionListLevelCommand::increaseSelectionListLevelOrdered):
              (WebCore::IncreaseSelectionListLevelCommand::increaseSelectionListLevelUnordered):
              - Now a subclass of ModifySelectionListLevelCommand
              - Added Ordered and Unordered increaser functions
              - Increaser functions return the list element that the items were moved into
              
              (WebCore::DecreaseSelectionListLevelCommand::DecreaseSelectionListLevelCommand):
              (WebCore::canDecreaseListLevel):
              (WebCore::DecreaseSelectionListLevelCommand::doApply):
              (WebCore::DecreaseSelectionListLevelCommand::canDecreaseSelectionListLevel):
              (WebCore::DecreaseSelectionListLevelCommand::decreaseSelectionListLevel):
              - No functional changes other than to become a subclass of ModifySelectionListLevelCommand
      
              * editing/ModifySelectionListLevel.h: Added.
              (WebCore::):
               - Renamed from ModifySelectionListLevelCommand.cpp
             
              * editing/ModifySelectionListLevelCommand.cpp: Removed.
              - Renamed to ModifySelectionListLevel.cpp
              
              * editing/ModifySelectionListLevelCommand.h: Removed.
              - Renamed to ModifySelectionListLevel.h
      
              * editing/htmlediting.cpp:
              (WebCore::createOrderedListElement):
              (WebCore::createUnorderedListElement):
              * editing/htmlediting.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4c0f605
    • tomernic's avatar
      Reviewed by Anders. · 7a5a71ad
      tomernic authored
              <http://bugzilla.opendarwin.org/show_bug.cgi?id=8347>
              REGRESSION: Flash movie audible but not visible until window is resized
      
              * Plugins/WebNetscapePluginDocumentView.m:
              (-[WebNetscapePluginDocumentView dataSourceUpdated:]):
              Layout if needed here.  Maciej recently removed the "LayoutAcceptable" frame state, which used to
              cause plugin document views to lay out immediately upon receiving data.  This call to -layout has
              the same effect.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a5a71ad
    • sfalken's avatar
      2006-05-26 Steve Falkenburg <sfalken@apple.com> · b0dc24de
      sfalken authored
              Reviewed by adele.
      
              Build fixes/tweaks
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * config.h:
              * ksvg2/scripts/make_names.pl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0dc24de
    • sfalken's avatar
      2006-05-26 Steve Falkenburg <sfalken@apple.com> · 43c10910
      sfalken authored
              Build fixes/tweaks
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43c10910
    • sfalken's avatar
      2006-05-26 Steve Falkenburg <sfalken@apple.com> · 18aa3708
      sfalken authored
              Build fixes/tweaks
      
              * WebKitWin.vcproj/WebKitWin/WebKitWin.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18aa3708
    • sfalken's avatar
      2006-05-26 Steve Falkenburg <sfalken@apple.com> · 2e49f8c6
      sfalken authored
              Build fixes/tweaks
      
              * Spinneret/Spinneret.sln:
              * Spinneret/Spinneret/Spinneret.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e49f8c6
  5. 25 May, 2006 19 commits