Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: Source/WebCore/ChangeLog

Side-by-side diff isn't available for this file because of its large size.
Issue 7685041: Merge 92298 - Crash in DocumentWriter::endIfNotLoadingMainResource (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: Source/WebCore/ChangeLog
===================================================================
--- Source/WebCore/ChangeLog (revision 93568)
+++ Source/WebCore/ChangeLog (working copy)
@@ -1,9135 +1,25 @@
-2011-08-18 Jing Zhao <jingzhao@chromium.org>
+2011-08-03 Adam Barth <abarth@webkit.org>
- When changing the size of a menulist from x (x>1) to 1, the first item should be selected.
- https://bugs.webkit.org/show_bug.cgi?id=66282
+ Crash in DocumentWriter::endIfNotLoadingMainResource
+ https://bugs.webkit.org/show_bug.cgi?id=65581
- Reviewed by Kent Tamura.
-
- No new tests since it only changes the behavior in Android Browser.
-
- * html/HTMLSelectElement.cpp:
- (WebCore::HTMLSelectElement::parseMappedAttribute):
-
-2011-08-18 Adam Klein <adamk@chromium.org>
-
- Handle "form" attribute updates in parseMappedAttribute() instead of attributeChanged() to better match HTMLElement practices
- https://bugs.webkit.org/show_bug.cgi?id=66321
-
- Reviewed by Darin Adler.
-
- This is simply a cleanup change: there's no need that I can see for
- HTMLFormControlElement and HTMLObjectElement to override
- Element::attributeChanged since they can properly handle form
- attribute changes in parseMappedAttribute, which they also override.
-
- Though no change in behavior, I've added test coverage of the moved
- code to an existing test (fast/forms/form-attribute.html) and added
- a new test.
-
- Test: fast/forms/radio-remove-form-attr.html
-
- * html/HTMLFormControlElement.cpp:
- (WebCore::HTMLFormControlElement::parseMappedAttribute):
- * html/HTMLFormControlElement.h:
- * html/HTMLObjectElement.cpp:
- (WebCore::HTMLObjectElement::parseMappedAttribute):
- * html/HTMLObjectElement.h:
-
-2011-08-18 Chang Shu <cshu@webkit.org>
-
- Add support of setPasswordEchoEnabled and setPasswordEchoDuration for password echo feature
- https://bugs.webkit.org/show_bug.cgi?id=66052
-
- Reviewed by Alexey Proskuryakov.
-
- Added runtime settings in WebCore.
- Added support in window.internals for testing.
-
- Tests: editing/input/password-echo-passnode.html
- editing/input/password-echo-passnode2.html
- editing/input/password-echo-passnode3.html
- editing/input/password-echo-textnode.html
-
- * page/Settings.cpp:
- (WebCore::Settings::Settings):
- * page/Settings.h:
- (WebCore::Settings::setPasswordEchoEnabled):
- (WebCore::Settings::passwordEchoEnabled):
- (WebCore::Settings::setPasswordEchoDurationInSeconds):
- (WebCore::Settings::passwordEchoDurationInSeconds):
- * testing/Internals.cpp:
- (WebCore::Internals::Internals):
- (WebCore::Internals::setPasswordEchoEnabled):
- (WebCore::Internals::setPasswordEchoDurationInSeconds):
- (WebCore::Internals::reset):
- * testing/Internals.h:
- * testing/Internals.idl:
-
-2011-08-18 Wyatt Carss <wcarss@chromium.org>
-
- Selecting all and inserting text into a page with a frameset leads to a NULL ptr
- https://bugs.webkit.org/show_bug.cgi?id=66288
-
- Reviewed by Tony Chang.
-
- VisibleSelection returns a NoSelection to InsertTextCommand::doApply as
- a new endingSelection, which isn't a sane state to be in. The code
- tries to get a position on a higher node for a better selection, but
- cannot go above the frameset (which exists in place of the body tag),
- which lacks a renderer, and therefore cannot have a non-NoSelection
- VisibleSelection.
-
- Because this is a rare corner case, it seemed more reasonable to bail
- out in this circumstance than to change the way VisibleSelection
- canonicalization works. The new behavior is to delete the content, but
- insert nothing. I investigated the possibility of trying to move above
- or below the frameset in this particular case, but there still isn't a
- renderer, so it didn't prevent the crash.
-
- Test: editing/inserting/insert-text-into-empty-frameset-crash.html
-
- * editing/InsertTextCommand.cpp:
- (WebCore::InsertTextCommand::doApply):
-
-2011-08-18 Takashi Toyoshima <toyoshim@chromium.org>
-
- Remove arguments from CloseEvent::create().
- https://bugs.webkit.org/show_bug.cgi?id=66294
-
- Reviewed by Kent Tamura.
-
- CloseEvent objects are initialized by initCloseEvent() in all cases.
- Initialization in create() is redundant.
-
- No new tests for no functional difference.
-
- * websockets/CloseEvent.h:
- (WebCore::CloseEvent::create):
- (WebCore::CloseEvent::CloseEvent):
- * websockets/WebSocket.cpp:
- (WebCore::WebSocket::didClose):
-
-2011-08-18 Fady Samuel <fsamuel@chromium.org>
-
- iframe and frameset scaling is broken
- https://bugs.webkit.org/show_bug.cgi?id=57785
-
- Reviewed by Simon Fraser.
-
- Fixed two iframe and frameset scaling bugs:
- #1 iframes and frameset backgrounds and scroll areas are doubly scaled when they are styled with -webkit-transform.
- #2 frameset does not respect -webkit-transform-origin when scaled
-
- Tests: fast/frames/frame-set-scaling-3d.html
- fast/frames/frame-set-scaling-centered.html
- fast/frames/frame-set-scaling-rotate.html
- fast/frames/frame-set-scaling-skew.html
- fast/frames/frame-set-scaling.html
- fast/frames/iframe-scaling-with-scroll.html
-
- * rendering/RenderFrameSet.cpp:
- (WebCore::RenderFrameSet::layout):
- Update the FrameSet's layer transform after we've computed size to correctly account for the transform origin.
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::childrenClipRect):
- The dirty rect should be the document's unscaled size.
- * rendering/RenderWidget.cpp:
- (WebCore::RenderWidget::setWidget):
- (WebCore::RenderWidget::updateWidgetPosition):
- Don't scale the FrameView rect here. Scaling is done within the FrameView.
-
-2011-08-18 Csaba Osztrogonác <ossy@webkit.org>
-
- Unreviewed buildfix after r93268.
-
- * dom/Document.cpp:
- (WebCore::disableRangeMutation):
-
-2011-08-17 Emil A Eklund <eae@chromium.org>
-
- Switch RenderBox to to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=66156
-
- Reviewed by Eric Seidel.
-
- Convert RenderBox to new layout abstraction as a part of the ongoing
- conversion work.
-
- No new tests as no new functionality.
-
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::scrollWidth):
- (WebCore::RenderBox::scrollHeight):
- (WebCore::RenderBox::scrollLeft):
- (WebCore::RenderBox::scrollTop):
- (WebCore::RenderBox::setScrollLeft):
- (WebCore::RenderBox::setScrollTop):
- (WebCore::RenderBox::absoluteRects):
- (WebCore::RenderBox::absoluteContentBox):
- (WebCore::RenderBox::absoluteContentQuad):
- (WebCore::RenderBox::outlineBoundsForRepaint):
- (WebCore::RenderBox::reflectionBox):
- (WebCore::RenderBox::reflectedRect):
- (WebCore::RenderBox::verticalScrollbarWidth):
- (WebCore::RenderBox::horizontalScrollbarHeight):
- (WebCore::RenderBox::computeContentBoxLogicalWidth):
- (WebCore::RenderBox::computeContentBoxLogicalHeight):
- (WebCore::RenderBox::maskClipRect):
- (WebCore::RenderBox::repaintLayerRectsForImage):
- (WebCore::RenderBox::pushContentsClip):
- (WebCore::RenderBox::overflowClipRect):
- (WebCore::RenderBox::clipRect):
- (WebCore::RenderBox::containingBlockLogicalWidthForContent):
- (WebCore::RenderBox::perpendicularContainingBlockLogicalHeight):
- (WebCore::RenderBox::positionLineBox):
- (WebCore::RenderBox::clippedOverflowRectForRepaint):
- (WebCore::RenderBox::computeRectForRepaint):
- (WebCore::RenderBox::computeLogicalWidth):
- (WebCore::RenderBox::computeInlineDirectionMargins):
- (WebCore::RenderBox::computeLogicalHeight):
- (WebCore::RenderBox::computeLogicalHeightUsing):
- (WebCore::RenderBox::computePercentageLogicalHeight):
- (WebCore::RenderBox::computeBlockDirectionMargins):
- (WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
- (WebCore::RenderBox::containingBlockLogicalHeightForPositioned):
- (WebCore::computeInlineStaticDistance):
- (WebCore::RenderBox::computePositionedLogicalWidth):
- (WebCore::computeLogicalLeftPositionedOffset):
- (WebCore::RenderBox::computePositionedLogicalWidthUsing):
- (WebCore::computeBlockStaticDistance):
- (WebCore::RenderBox::computePositionedLogicalHeight):
- (WebCore::computeLogicalTopPositionedOffset):
- (WebCore::RenderBox::computePositionedLogicalHeightUsing):
- (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
- (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
- (WebCore::RenderBox::localCaretRect):
- (WebCore::RenderBox::lineHeight):
- (WebCore::RenderBox::baselinePosition):
- (WebCore::RenderBox::logicalVisualOverflowRectForPropagation):
- (WebCore::RenderBox::visualOverflowRectForPropagation):
- (WebCore::RenderBox::logicalLayoutOverflowRectForPropagation):
- (WebCore::RenderBox::layoutOverflowRectForPropagation):
- (WebCore::RenderBox::locationOffsetIncludingFlipping):
- * rendering/RenderBox.h:
- (WebCore::RenderBox::borderFitAdjust):
- (WebCore::RenderBox::intrinsicSize):
- (WebCore::RenderBox::intrinsicLogicalWidth):
- (WebCore::RenderBox::intrinsicLogicalHeight):
- (WebCore::RenderBox::scrollbarLogicalHeight):
- (WebCore::RenderBox::controlClipRect):
- (WebCore::RenderBox::firstLineBoxBaseline):
- (WebCore::RenderBox::lastLineBoxBaseline):
-
-2011-08-17 Annie Sullivan <sullivan@chromium.org>
-
- Reduce usages of String::createUninitialized
- https://bugs.webkit.org/show_bug.cgi?id=66399
-
- Constructs Strings with StringBuilder instead of calling createUninitialized.
-
- Reviewed by Adam Barth.
-
- No new tests; no functional change.
-
- * dom/StyleElement.cpp:
- (WebCore::StyleElement::process):
- * dom/Text.cpp:
- (WebCore::Text::wholeText):
- * html/parser/HTMLSourceTracker.cpp:
- (WebCore::HTMLSourceTracker::sourceForToken):
- * platform/graphics/Font.cpp:
- (WebCore::Font::normalizeSpaces):
- * platform/text/TextCodecUserDefined.cpp:
- (WebCore::TextCodecUserDefined::decode):
-
-2011-08-17 Emil A Eklund <eae@chromium.org>
-
- Switch FrameView to to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=66147
-
- Reviewed by Eric Seidel.
-
- Convert Frame & FrameView to new layout abstraction as a part of the
- ongoing conversion work.
-
- No new tests, no new functionality.
-
- * page/Frame.cpp:
- (WebCore::Frame::visiblePositionForPoint):
- (WebCore::Frame::documentAtPoint):
- (WebCore::Frame::rangeForPoint):
- (WebCore::Frame::setPageAndTextZoomFactors):
- (WebCore::Frame::scalePage):
- * page/Frame.h:
- * page/FrameView.cpp:
- (WebCore::FrameView::create):
- (WebCore::FrameView::reset):
- (WebCore::FrameView::init):
- (WebCore::FrameView::invalidateRect):
- (WebCore::FrameView::setFrameRect):
- (WebCore::FrameView::setMarginWidth):
- (WebCore::FrameView::setMarginHeight):
- (WebCore::FrameView::setContentsSize):
- (WebCore::FrameView::adjustViewSize):
- (WebCore::FrameView::scrollXForFixedPosition):
- (WebCore::FrameView::scrollYForFixedPosition):
- (WebCore::FrameView::scrollOffsetForFixedPosition):
- (WebCore::FrameView::currentMousePosition):
- (WebCore::FrameView::scrollContentsFastPath):
- (WebCore::FrameView::scrollContentsSlowPath):
- (WebCore::FrameView::setScrollPosition):
- (WebCore::FrameView::repaintContentRectangle):
- (WebCore::FrameView::scrollToAnchor):
- (WebCore::FrameView::performPostLayoutTasks):
- (WebCore::FrameView::windowClipRect):
- (WebCore::FrameView::windowClipRectForLayer):
- (WebCore::FrameView::scrollTo):
- (WebCore::FrameView::invalidateScrollbarRect):
- (WebCore::FrameView::getTickmarks):
- (WebCore::FrameView::windowResizerRect):
- (WebCore::FrameView::setVisibleScrollerThumbRect):
- (WebCore::FrameView::paintScrollCorner):
- (WebCore::FrameView::paintContents):
- (WebCore::FrameView::paintOverhangAreas):
- (WebCore::FrameView::forceLayoutForPagination):
- (WebCore::FrameView::convertFromRenderer):
- (WebCore::FrameView::convertToRenderer):
- (WebCore::FrameView::convertToContainingView):
- (WebCore::FrameView::convertFromContainingView):
- * page/FrameView.h:
- (WebCore::FrameView::marginWidth):
- (WebCore::FrameView::marginHeight):
- * page/mac/FrameMac.mm:
- (WebCore::Frame::snapshotDragImage):
- (WebCore::Frame::nodeImage):
-
-2011-08-17 Emil A Eklund <eae@chromium.org>
-
- Switch html/* to to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=66347
-
- Reviewed by Eric Seidel.
-
- Convert HTML* and shadow element to new layout abstraction as a part of
- the ongoing conversion work.
-
- No new tests, no new functionality.
-
- * html/HTMLAreaElement.cpp:
- (WebCore::HTMLAreaElement::invalidateCachedRegion):
- (WebCore::HTMLAreaElement::mapMouseEvent):
- (WebCore::HTMLAreaElement::computePath):
- (WebCore::HTMLAreaElement::computeRect):
- (WebCore::HTMLAreaElement::getRegion):
- * html/HTMLAreaElement.h:
- * html/HTMLCanvasElement.cpp:
- (WebCore::HTMLCanvasElement::paint):
- * html/HTMLCanvasElement.h:
- * html/HTMLMapElement.cpp:
- (WebCore::HTMLMapElement::mapMouseEvent):
- * html/HTMLMapElement.h:
- * html/ImageDocument.cpp:
- (WebCore::ImageDocumentParser::finish):
- (WebCore::ImageDocument::scale):
- (WebCore::ImageDocument::resizeImageToFit):
- (WebCore::ImageDocument::imageFitsInWindow):
- * html/ValidationMessage.cpp:
- (WebCore::adjustBubblePosition):
- * html/canvas/CanvasRenderingContext2D.cpp:
- (WebCore::size):
- (WebCore::CanvasRenderingContext2D::drawImage):
- * html/shadow/MediaControlElements.cpp:
- (WebCore::MediaControlPanelElement::startDrag):
- (WebCore::MediaControlPanelElement::continueDrag):
- (WebCore::MediaControlPanelElement::setPosition):
- (WebCore::MediaControlPanelElement::defaultEventHandler):
- * html/shadow/MediaControlElements.h:
- * html/shadow/SliderThumbElement.cpp:
- (WebCore::SliderThumbElement::dragFrom):
- (WebCore::SliderThumbElement::setPositionFromPoint):
- * html/shadow/SliderThumbElement.h:
- * rendering/RenderImage.cpp:
- (WebCore::RenderImage::nodeAtPoint):
-
-2011-08-17 David Grogan <dgrogan@chromium.org>
-
- Change references to leveldb.gyp to leveldatabase.gyp as part of the
- leveldb refactoring going on in chromium: crbug.com/89378
- https://bugs.webkit.org/show_bug.cgi?id=66332
-
- Reviewed by Tony Gentilcore.
-
- Tests: new-run-webkit-tests --debug --chromium --no-retry-failures --build-directory=llvm storage/indexeddb
-
- * WebCore.gyp/WebCore.gyp:
-
-2011-08-17 Hayato Ito <hayato@chromium.org>
-
- Implement proper handling of focus/blur events in regard to shadow DOM boundaries.
- https://bugs.webkit.org/show_bug.cgi?id=61421
-
- Reviewed by Dimitri Glazkov.
-
- Introduces FocusEventDispatchMediator/BlurEventDispatchMediator so
- that focus/blue events are stopped at the lowest common shadow boundary.
-
- * dom/Document.cpp:
- (WebCore::Document::setFocusedNode):
- * dom/Event.cpp:
- (WebCore::FocusEventDispatchMediator::create):
- (WebCore::FocusEventDispatchMediator::FocusEventDispatchMediator):
- (WebCore::FocusEventDispatchMediator::dispatchEvent):
- (WebCore::BlurEventDispatchMediator::create):
- (WebCore::BlurEventDispatchMediator::BlurEventDispatchMediator):
- (WebCore::BlurEventDispatchMediator::dispatchEvent):
- * dom/Event.h:
- * dom/Node.cpp:
- (WebCore::Node::dispatchFocusEvent):
- (WebCore::Node::dispatchBlurEvent):
- * dom/Node.h:
- * html/HTMLFormControlElement.cpp:
- (WebCore::HTMLFormControlElement::dispatchBlurEvent):
- * html/HTMLFormControlElement.h:
- * html/HTMLSelectElement.cpp:
- (WebCore::HTMLSelectElement::dispatchFocusEvent):
- (WebCore::HTMLSelectElement::dispatchBlurEvent):
- * html/HTMLSelectElement.h:
- * html/HTMLTextFormControlElement.cpp:
- (WebCore::HTMLTextFormControlElement::dispatchFocusEvent):
- (WebCore::HTMLTextFormControlElement::dispatchBlurEvent):
- * html/HTMLTextFormControlElement.h:
- * page/FocusController.cpp:
- (WebCore::dispatchEventsOnWindowAndFocusedNode):
-
-2011-08-17 Ben Wells <benwells@chromium.org>
-
- Canvas fill and fillRect with SourceIn, DestinationIn, SourceOut, DestinationAtop and Copy have errors
- https://bugs.webkit.org/show_bug.cgi?id=66036
-
- These modes cannot be passed straight through to the underlying graphics context as the graphics context
- and the HTML5 canvas spec have different interpretations to them. In the graphics context, the compositing
- modes are applied just over the area being filled. In the HTML5 spec, the compositing modes are applied over
- the entire canvas.
-
- The SourceIn, DestinationIn, SourceOut, DestinationAtop and Copy modes all need some kind of extra action
- to just performing the composited fill on the canvas, as they need t he canvas to be cleared outside of the
- area being filled.
-
- Previous to this change the Copy mode did not do this clearing at all. The other modes did but if the
- transformed path being filled contained anti-aliasing at its edges artifacts were introduced.
-
- With this change, Copy now does a complete erase of the canvas before performing a fill as per normal.
- The other modes use a temporary buffer just big enough for the transformed path (in device coordinates).
- The fill is first done there in SourceOver mode. Then this is drawn into the canvas context using the
- appropriate mode, with any areas outside the draw area being cleared.
-
- Reviewed by James Robinson.
-
- Test: fast/canvas/canvas-composite-transformclip.html
-
- * html/HTMLCanvasElement.h:
- * html/canvas/CanvasRenderingContext2D.cpp:
- (WebCore::CanvasRenderingContext2D::fill):
- (WebCore::CanvasRenderingContext2D::fillRect):
- (WebCore::CanvasRenderingContext2D::clearCanvas):
- (WebCore::CanvasRenderingContext2D::transformAreaToDevice):
- (WebCore::CanvasRenderingContext2D::fillAndDisplayTransparencyElsewhere):
- * html/canvas/CanvasRenderingContext2D.h:
- * platform/graphics/skia/ImageBufferSkia.cpp:
- (WebCore::ImageBuffer::ImageBuffer):
-
-2011-08-17 Emil A Eklund <eae@chromium.org>
-
- Switch inspector to to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=66358
-
- Reviewed by Eric Seidel.
-
- Convert inspector code to new layout abstraction as a part of the ongoing
- conversion work.
-
- No new tests, no new functionality.
-
- * inspector/DOMNodeHighlighter.cpp:
- (WebCore::DOMNodeHighlighter::drawNodeHighlight):
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::willPaintImpl):
- * inspector/InspectorInstrumentation.h:
- (WebCore::InspectorInstrumentation::willPaint):
- * inspector/InspectorTimelineAgent.cpp:
- (WebCore::InspectorTimelineAgent::willPaint):
- * inspector/InspectorTimelineAgent.h:
- * inspector/TimelineRecordFactory.cpp:
- (WebCore::TimelineRecordFactory::createPaintData):
- * inspector/TimelineRecordFactory.h:
-
-2011-08-17 Levi Weintraub <leviw@chromium.org>
-
- Switch Editing code to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=66355
-
- Reviewed by Eric Seidel.
-
- Converting remaining editing code to the LayoutUnit abstraction.
-
- No new tests, no change in functionality.
-
- * editing/Editor.cpp:
- (WebCore::Editor::rangeForPoint):
- (WebCore::Editor::insideVisibleArea):
- (WebCore::Editor::countMatchesForText):
- * editing/Editor.h:
- * editing/mac/FrameSelectionMac.mm:
- (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
-
-2011-08-17 Levi Weintraub <leviw@chromium.org>
-
- Switch Accessibility code to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=66348
-
- Reviewed by Eric Seidel.
-
- Converting remaining Accessibility code to the LayoutUnit abstraction.
-
- No new tests, no change in functionality
-
- * accessibility/AccessibilityImageMapLink.cpp:
- (WebCore::AccessibilityImageMapLink::elementRect):
- * accessibility/AccessibilityImageMapLink.h:
- * accessibility/AccessibilityListBox.cpp:
- (WebCore::AccessibilityListBox::elementAccessibilityHitTest):
- * accessibility/AccessibilityListBox.h:
- * accessibility/AccessibilityListBoxOption.cpp:
- (WebCore::AccessibilityListBoxOption::elementRect):
- * accessibility/AccessibilityListBoxOption.h:
- * accessibility/AccessibilityMenuListOption.cpp:
- (WebCore::AccessibilityMenuListOption::elementRect):
- * accessibility/AccessibilityMenuListOption.h:
- (WebCore::AccessibilityMenuListOption::size):
- * accessibility/AccessibilityMenuListPopup.h:
- (WebCore::AccessibilityMenuListPopup::elementRect):
- (WebCore::AccessibilityMenuListPopup::size):
- * accessibility/AccessibilityObject.cpp:
- (WebCore::AccessibilityObject::clickPoint):
- (WebCore::AccessibilityObject::orientation):
- (WebCore::AccessibilityObject::elementAccessibilityHitTest):
- * accessibility/AccessibilityObject.h:
- (WebCore::AccessibilityObject::accessibilityHitTest):
- (WebCore::AccessibilityObject::boundingBoxRect):
- (WebCore::AccessibilityObject::size):
- (WebCore::AccessibilityObject::boundsForVisiblePositionRange):
- (WebCore::AccessibilityObject::doAXBoundsForRange):
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::isOffScreen):
- (WebCore::AccessibilityRenderObject::boundingBoxRect):
- (WebCore::AccessibilityRenderObject::checkboxOrRadioRect):
- (WebCore::AccessibilityRenderObject::elementRect):
- (WebCore::AccessibilityRenderObject::size):
- (WebCore::AccessibilityRenderObject::clickPoint):
- (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
- (WebCore::AccessibilityRenderObject::boundsForVisiblePositionRange):
- (WebCore::AccessibilityRenderObject::visiblePositionForPoint):
- (WebCore::AccessibilityRenderObject::doAXBoundsForRange):
- * accessibility/AccessibilityRenderObject.h:
- * accessibility/AccessibilityScrollView.cpp:
- (WebCore::AccessibilityScrollView::accessibilityHitTest):
- (WebCore::AccessibilityScrollView::elementRect):
- * accessibility/AccessibilityScrollView.h:
- * accessibility/AccessibilityScrollbar.cpp:
- (WebCore::AccessibilityScrollbar::elementRect):
- * accessibility/AccessibilityScrollbar.h:
- * accessibility/AccessibilitySlider.cpp:
- (WebCore::AccessibilitySliderThumb::elementRect):
- (WebCore::AccessibilitySliderThumb::size):
- * accessibility/AccessibilitySlider.h:
- * accessibility/AccessibilityTableColumn.cpp:
- (WebCore::AccessibilityTableColumn::elementRect):
- (WebCore::AccessibilityTableColumn::size):
- * accessibility/AccessibilityTableColumn.h:
- * accessibility/AccessibilityTableHeaderContainer.cpp:
- (WebCore::AccessibilityTableHeaderContainer::elementRect):
- (WebCore::AccessibilityTableHeaderContainer::size):
- * accessibility/AccessibilityTableHeaderContainer.h:
- * accessibility/mac/AccessibilityObjectWrapper.mm:
- (-[AccessibilityObjectWrapper position]):
- (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
- (-[AccessibilityObjectWrapper accessibilityShowContextMenu]):
-
-2011-08-17 Emil A Eklund <eae@chromium.org>
-
- Switch focus handling to to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=66331
-
- Reviewed by Eric Seidel.
-
- Convert FocusController and SpatialNavigation to new layout abstraction
- as a part of the ongoing conversion work.
-
- No new tests, no new functionality.
-
- * page/FocusController.cpp:
- (WebCore::updateFocusCandidateIfNeeded):
- (WebCore::FocusController::findFocusCandidateInContainer):
- (WebCore::FocusController::advanceFocusDirectionallyInContainer):
- (WebCore::FocusController::advanceFocusDirectionally):
- * page/FocusController.h:
- * page/SpatialNavigation.cpp:
- (WebCore::alignmentForRects):
- (WebCore::start):
- (WebCore::middle):
- (WebCore::end):
- (WebCore::areRectsFullyAligned):
- (WebCore::areRectsPartiallyAligned):
- (WebCore::areRectsMoreThanFullScreenApart):
- (WebCore::below):
- (WebCore::rightOf):
- (WebCore::isRectInDirection):
- (WebCore::hasOffscreenRect):
- (WebCore::scrollInDirection):
- (WebCore::deflateIfOverlapped):
- (WebCore::canScrollInDirection):
- (WebCore::rectToAbsoluteCoordinates):
- (WebCore::nodeRectInAbsoluteCoordinates):
- (WebCore::frameRectInAbsoluteCoordinates):
- (WebCore::entryAndExitPointsForDirection):
- (WebCore::distanceDataForNode):
- (WebCore::canBeScrolledIntoView):
- (WebCore::virtualRectForDirection):
- (WebCore::virtualRectForAreaElementAndDirection):
- * page/SpatialNavigation.h:
-
-2011-08-17 Levi Weintraub <leviw@chromium.org>
-
- Switch Document, DocumentMarker, Clipboard, and Range to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=66330
-
- Reviewed by Eric Seidel.
-
- Converting the remaining DOM classes to use the LayoutUnit abstraction.
-
- No new tests, no new behavior.
-
- * dom/Clipboard.h:
- (WebCore::Clipboard::dragLocation):
- * dom/Document.cpp:
- (WebCore::Document::nodesFromRect):
- (WebCore::nodeFromPoint):
- (WebCore::Document::caretRangeFromPoint):
- (WebCore::Document::prepareMouseEvent):
- * dom/Document.h:
- * dom/DocumentMarkerController.cpp:
- (WebCore::DocumentMarkerController::markerContainingPoint):
- (WebCore::DocumentMarkerController::renderedRectsForMarkers):
- (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
- * dom/DocumentMarkerController.h:
- * dom/Range.cpp:
- (WebCore::adjustFloatQuadsForScrollAndAbsoluteZoomAndPageScale):
- * dom/RenderedDocumentMarker.h:
- (WebCore::RenderedDocumentMarker::contains):
- (WebCore::RenderedDocumentMarker::setRenderedRect):
- (WebCore::RenderedDocumentMarker::renderedRect):
- (WebCore::RenderedDocumentMarker::invalidMarkerRect):
- (WebCore::RenderedDocumentMarker::invalidate):
-
-2011-08-17 Dan Bernstein <mitz@apple.com>
-
- Removed an unused setting.
-
- Reviewed by Anders Carlsson.
-
- * WebCore.exp.in:
- * page/Settings.cpp:
- (WebCore::Settings::Settings): Removed initializer for m_needsTigerMailQuirks.
- * page/Settings.h: Removed accessors.
-
-2011-08-17 Oliver Hunt <oliver@apple.com>
-
- Move towards supporting user controlled prototypes on CanvasPixelArray
- https://bugs.webkit.org/show_bug.cgi?id=66429
-
- Reviewed by Gavin Barraclough.
-
- Start using a per-global object structure for canvas pixel array.
-
- * bindings/js/JSImageDataCustom.cpp:
- (WebCore::toJS):
-
-2011-08-17 Luke Macpherson <macpherson@chromium.org>
-
- Support cast from CSSPrimitiveValue to unsigned, and use in appropriate places in CSSStyleSelector::applyProperty
- https://bugs.webkit.org/show_bug.cgi?id=66281
-
- Reviewed by Eric Seidel.
-
- No new tests - refactoring only.
-
- The return if type!=CSS_NUMBER case becomes an ASSERT because it is unreachable unless there is an error in the parser.
-
- * css/CSSPrimitiveValueMappings.h:
- (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- Support cast from unsigned to CSSPrimitiveValue
- (WebCore::CSSPrimitiveValue::operator unsigned):
- Support cast from CSSPrimitiveValue to unsigned
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Use HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE macro for CSSPropertyWebkitBoxFlex,
- CSSPropertyWebkitBoxFlexGroup and CSSPropertyWebkitBoxOrdinalGroup properties.
-
-2011-08-17 Scott Byer <scottbyer@chromium.org>
-
- ScrollAnimatorNone: Remove unused field
- https://bugs.webkit.org/show_bug.cgi?id=66312
-
- Reviewed by Adam Barth.
-
- No functional change; no test needed.
-
- * platform/ScrollAnimatorNone.cpp:
- (WebCore::ScrollAnimatorNone::PerAxisData::updateDataFromParameters):
- (WebCore::ScrollAnimatorNone::scroll):
- * platform/ScrollAnimatorNone.h:
-
-2011-08-17 Jeff Miller <jeffm@apple.com>
-
- Work-in-progress on Soft link against AVFoundationCF and CoreMedia
- https://bugs.webkit.org/show_bug.cgi?id=65725
-
- Don't bother with SOFT_LINK_LIBRARY(libdispatch), we're going to continue to statically link to it since
- the DLL will have already been loaded by other parts of AAS and is guaranteed to be available if AVFoundation
- is enabled.
-
- Reviewed by Anders Carlsson.
-
- No new tests; no functional change.
-
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: Removed SOFT_LINK_DEBUG_LIBRARY(libdispatch) and SOFT_LINK_LIBRARY(libdispatch).
- (WebCore::MediaPlayerPrivateAVFoundationCF::isAvailable): Don't check for libdispatch.
-
-2011-08-17 Brady Eidson <beidson@apple.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=66354 and <rdar://problem/9965209>
- Regression: On Lion, redirects lose HTTP authentication headers
-
- Reviewed by Alexey Proskuryakov and Darin Adler.
-
- This changes makes WebCore try to apply basic credentials after a redirect if the redirect is to the same origin,
- assuming the redirected URL did not contain credentials directly.
-
- Tests: http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin.html
- http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin.html
- http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials.html
-
- * platform/network/cf/ResourceHandleCFNet.cpp:
- (WebCore::applyBasicAuthorizationHeader): Apply the user/password from a credential to the HTTP headers for a request.
- (WebCore::ResourceHandle::createCFURLConnection): Use the applyBasicAuthorizationHeader helper.
- (WebCore::ResourceHandle::willSendRequest): If this is a redirect within the same origin, apply any stored target credentials to the new request.
-
- * platform/network/mac/ResourceHandleMac.mm:
- (WebCore::applyBasicAuthorizationHeader): Apply the user/password from a credential to the HTTP headers for a request.
- (WebCore::ResourceHandle::createNSURLConnection): Use the applyBasicAuthorizationHeader helper.
- (WebCore::ResourceHandle::willSendRequest): If this is a redirect within the same origin, apply any stored target credentials to the new request.
-
-2011-08-17 Chris Fleizach <cfleizach@apple.com>
-
- Accessibility stack exhaustion using role attribute
- https://bugs.webkit.org/show_bug.cgi?id=65174
-
- Reviewed by Darin Adler.
-
- Forgot to commit review comments.
-
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::remapAriaRoleDueToParent):
-
-2011-08-17 Chris Fleizach <cfleizach@apple.com>
-
- Accessibility stack exhaustion using role attribute
- https://bugs.webkit.org/show_bug.cgi?id=65174
-
- Make sure we do not call accessibilityIsIgnored() during the AccessibilityObject
- creation flow. That can lead to loops.
-
- Reviewed by Darin Adler.
-
- Tests: accessibility/crash-determining-aria-role-when-label-present.html
-
- * accessibility/AccessibilityObject.cpp:
- (WebCore::createARIARoleMap):
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::remapAriaRoleDueToParent):
- (WebCore::AccessibilityRenderObject::determineAriaRoleAttribute):
- * accessibility/AccessibilityRenderObject.h:
-
-2011-08-17 James Robinson <jamesr@chromium.org>
-
- [chromium] Crash if compositing is disabled during updateLayers()
- https://bugs.webkit.org/show_bug.cgi?id=66353
-
- Reviewed by Kenneth Russell.
-
- If compositing is turned off during LayerRendererChromium::updateLayers(), the rootLayer() will become null.
- Sicne CCLayerTreeHost::doComposite() calls updateLayers() and then drawLayers() without checking for this case,
- drawLayers() has to return without doing anything if the root layer is null.
-
- Crash fixed based on crash reports. No known reliably repro case, unfortunately.
-
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::LayerRendererChromium::drawLayers):
-
-2011-08-17 Dan Bernstein <mitz@apple.com>
-
- <rdar://problem/9971293> Mid-word breaks can occur in the middle of a surrogate pair
- https://bugs.webkit.org/show_bug.cgi?id=66402
-
- Reviewed by Dave Hyatt.
-
- Test: fast/text/midword-break-before-surrogate-pair-2.html
-
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::LineBreaker::nextLineBreak): Just never allow a mid-word
- break before a trailing surrogate.
-
-2011-08-16 Chang Shu <cshu@webkit.org>
-
- Support reset in WebCore::Internals
- https://bugs.webkit.org/show_bug.cgi?id=66307
-
- Reviewed by Dimitri Glazkov.
-
- New tests will be added when function reset is implemented.
-
- Added framework code in WebCoreTestSupport. The real implementation of
- Internals::reset() depends on the need from the settings that require a reset.
-
- * testing/Internals.cpp:
- (WebCore::Internals::reset):
- * testing/Internals.h:
- * testing/js/WebCoreTestSupport.cpp:
- (WebCoreTestSupport::resetInternalsObject):
- * testing/js/WebCoreTestSupport.h:
- * testing/v8/WebCoreTestSupport.cpp:
- (WebCoreTestSupport::resetInternalsObject):
- * testing/v8/WebCoreTestSupport.h:
-
-2011-08-17 Tony Chang <tony@chromium.org>
-
- Fix chromium mac compile. MediaPlayerPrivateAVFoundationObjC.* moved
- and the WebCore.gypi file wasn't updated.
-
- * WebCore.gypi:
-
-2011-08-17 Abhishek Arya <inferno@chromium.org>
-
- Crash in Document::recalcStyleSelector
- https://bugs.webkit.org/show_bug.cgi?id=66335
-
- Reviewed by Simon Fraser.
-
- When node is getting destroyed and its removedFromDocument
- is not called due to entire document structure torn down(using
- removeAllChildren), make sure to clear out the stylesheet
- candidate node from document's structures in its destructor.
-
- Test: svg/dom/stylesheet-candidate-node-crash-main.html
-
- * dom/ProcessingInstruction.cpp:
- (WebCore::ProcessingInstruction::~ProcessingInstruction):
- * html/HTMLLinkElement.cpp:
- (WebCore::HTMLLinkElement::~HTMLLinkElement):
- * html/HTMLStyleElement.cpp:
- (WebCore::HTMLStyleElement::~HTMLStyleElement):
- * svg/SVGStyleElement.cpp:
- (WebCore::SVGStyleElement::~SVGStyleElement):
-
-2011-08-17 Sam White <samuel.white@rochester.edu>
-
- AccessibilityObject levels are inconsistent
- https://bugs.webkit.org/show_bug.cgi?id=66180
-
- Updated accessibilityTable to return level values consistent with other accessibilityObjects that
- return level values. This means a value of 0 is now only returned when tableLevel() is called on a
- non-table element.
-
- Reviewed by Chris Fleizach.
-
- Test: platform/mac/accessibility/element-level.html
-
- * accessibility/AccessibilityTable.cpp:
- (WebCore::AccessibilityTable::tableLevel):
- * accessibility/mac/AccessibilityObjectWrapper.mm:
- (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
-
-2011-08-17 Ryosuke Niwa <rniwa@webkit.org>
-
- An arrow key collapses directionless selection range in the wrong direction in BiDi
- https://bugs.webkit.org/show_bug.cgi?id=64626
-
- Reviewed by Darin Adler.
-
- The bug was caused by willBeModified's always using block direction to determine
- the direction to which the selection is collapsed. Fixed the bug by calling directionOfSelection
- in willBeModified, which will return the text direction of the surrounding context when
- the start and the end have the same direction. When the text directions at the start and at the end
- of selection do not match, it uses the block's text direction.
-
- Test: editing/selection/collapse-selection-in-bidi.html
-
- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::directionOfSelection): Added.
- (WebCore::FrameSelection::willBeModified): Calls directionOfSelection.
- (WebCore::FrameSelection::modifyMovingRight): Ditto.
- (WebCore::FrameSelection::modifyMovingLeft): Ditto.
- * editing/FrameSelection.h:
-
-2011-08-17 Jeff Miller <jeffm@apple.com>
-
- Some AVFoundation source files should be in platform-specific directories
- https://bugs.webkit.org/show_bug.cgi?id=66352
-
- Moved platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.* files to platform/graphics/avfoundation/cf,
- and moved platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.* files to platform/graphics/avfoundation/objc/.
-
- While I was at it, added svn:eol-style property to the MediaPlayerPrivateAVFoundationObjC.* files.
-
- Also, for some reason, Visual Studio decided to re-sort a couple files in \inspector\front-end\ in WebCore.vcproj, even though
- I just re-sorted the project in r93215.
-
- Reviewed by Eric Carlson.
-
- No new tests; no functional change.
-
- * WebCore.vcproj/WebCore.vcproj: Moved platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.* files to platform/graphics/avfoundation/cf.
-
- * WebCore.vcproj/WebCoreMediaQT.vsprops: Added $(ProjectDir)..\platform\graphics\avfoundation\cf to include paths.
-
- * WebCore.xcodeproj/project.pbxproj: Moved platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.* files to platform/graphics/avfoundation/objc/.
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp: Removed.
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.h: Removed.
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h: Removed.
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm: Removed.
-
- * platform/graphics/avfoundation/cf: Added.
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: Copied from Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp.
- * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h: Copied from Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.h.
-
- * platform/graphics/avfoundation/objc: Added.
- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: Copied from Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h.
- * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: Copied from Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm.
-
-2011-08-17 Luke Macpherson <macpherson@chromium.org>
-
- Only set m_fontDirty if TextSizeAdjust is actually changed.
- https://bugs.webkit.org/show_bug.cgi?id=66022
-
- Reviewed by Darin Adler.
-
- No new tests. Refactoring only.
-
- Reduces instances where the font information is dirtied to save recalculation where it is not necessary.
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Call new setTextSizeAdjust function.
- * css/CSSStyleSelector.h:
- (WebCore::CSSStyleSelector::setTextSizeAdjust):
- Add wrapper for RenderStyle::setTextSizeAdjust() that automatically updates m_fontDirty.
- * rendering/style/RenderStyle.h:
- (WebCore::RenderStyle::setTextSizeAdjust):
- Make setTextSizeAdjust return true if the unlderlying value was changed.
-
-2011-08-17 Kenichi Ishibashi <bashi@chromium.org>
-
- [Chromium] Crash in HarfbuzzFace::~HarfbuzzFace
- https://bugs.webkit.org/show_bug.cgi?id=66211
-
- Holds Skia's unique font ID instead of FontPlatformData to avoid accessing freed FontPlatformData.
-
- Reviewed by Tony Chang.
-
- No new tests; no functional change.
-
- * platform/graphics/chromium/HarfbuzzSkia.cpp:
- (WebCore::releaseCachedHarfbuzzFace): Changed the argument.
- (WebCore::HarfbuzzFace::HarfbuzzFace): Changed to have Skia's font uniqueID instead of FontPlatformData.
- (WebCore::HarfbuzzFace::~HarfbuzzFace): Uses m_uniqueID to call releaseCachedHarfbuzzFace.
- * platform/graphics/chromium/HarfbuzzSkia.h:
-
-2011-08-17 Jeff Miller <jeffm@apple.com>
-
- Re-sort the WebCore project with Visual Studio after recent changes that I assume were done by manually editing the XML.
-
- * WebCore.vcproj/WebCore.vcproj:
-
-2011-08-17 Sailesh Agrawal <sail@chromium.org>
-
- Chromium Mac: Fix implementation of wkScrollbarMinimumTotalLengthNeededForThumb to match WebKitSystemInterface
- https://bugs.webkit.org/show_bug.cgi?id=66311
-
- Reviewed by Dimitri Glazkov.
-
- Updated wkScrollbarMinimumTotalLengthNeededForThumb() based on the latest disassembly of libWebKitSystemInterfaceLion.a.
-
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
- (wkScrollbarMinimumTotalLengthNeededForThumb):
-
-2011-08-17 Steve Block <steveblock@google.com>
-
- Unreviewed, rolling out r93186.
- http://trac.webkit.org/changeset/93186
- https://bugs.webkit.org/show_bug.cgi?id=66114
-
- Breaks LayoutTests on Chromium canary bots
-
- * platform/graphics/chromium/LayerChromium.h:
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::LayerRendererChromium::updateLayers):
- (WebCore::LayerRendererChromium::drawLayersInternal):
- (WebCore::LayerRendererChromium::drawLayer):
- * platform/graphics/chromium/cc/CCLayerImpl.h:
-
-2011-08-17 Ryosuke Niwa <rniwa@webkit.org>
-
- Get rid of calls to deprecatedNode and deprecatedEditingOffset in
- AccessibilityRenderObject.cpp and InsertTextCommand.cpp
- https://bugs.webkit.org/show_bug.cgi?id=66014
-
- Reviewed by Hajime Morita.
-
- Removed calls to deprecatedNode and deprecatedEditingOffsets in the following files.
-
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::indexForVisiblePosition): Calls Position::rootEditableElement
- and Range::setEnd(const Position&, ExceptionCode) instead of manually pulling deprecatedNode
- and deprecatedEditingOffset.
- (WebCore::AccessibilityRenderObject::index): Abstracted the logic to loop through render objects
- from deprecatedNodes' renderer to m_renderer as renderObjectContainsPosition.
- * dom/Position.h:
- (WebCore::Position::rootEditableElement): Added.
- * dom/Range.cpp:
- (WebCore::Range::setStart): Added.
- (WebCore::Range::setEnd): Added.
- * dom/Range.h:
- * editing/InsertTextCommand.cpp:
- (WebCore::InsertTextCommand::insertTab):
- * editing/RenderedPosition.cpp:
- (WebCore::renderObjectContainsPosition): Extracted from AccessibilityRenderObject::index.
- * editing/RenderedPosition.h:
-
-2011-08-17 Sailesh Agrawal <sail@chromium.org>
-
- Chromium Mac: Fix issue where scrollbar wouldn't be drawn until page finished loading
- https://bugs.webkit.org/show_bug.cgi?id=66238
-
- Reviewed by Dimitri Glazkov.
-
- Overlay scrollbars were not visible if the user scrolled a page while the page was loading. The sequence of events necessary to reproduce this bug were:
- 1. -[ScrollbarPainterDelegate scrollerImp:animateKnobAlphaTo:duration:] is called
- 2. animation is delayed because shouldSuspendScrollAnimations() is true
- 3. ScrollAnimatorChromiumMac::scroll() is called before the ScrollAnimatorChromiumMac::m_initialScrollbarPaintTimer is fired.
- 4. At this point the scrollbar painter assumes the scrollbar is already visible (because of 1.) so the scrollbar's alpha stays at 0. Thus the scrollbar isn't visible until the page finishes loading.
- It turns out that the root problem was that when the initialScrollbarPainterTimer fired I wasn't flashing the scrollbar correctly. My implementation of wkScrollbarPainterForceFlashScrollers() just called flashScrollers. The Safari implementation of this function also calls hideOverlayScrollers. Calling hideOverlayScrollers causes the alpha to change to 0 which prevents step 4 from happening.
-
- Also, now that wkScrollbarPainterForceFlashScrollers is working correctly I don't need the extra logic I added to the initialScrollbarPainterTimer handler. That logic restarted the timer if shouldSuspendScrollAnimations() was true. But this isn't necessary since calling wkScrollbarPainterForceFlashScrollers() causes -[ScrollbarPainterDelegate setUpAnimation:...] to be called which does the exact same thing. Removing the extra logic reverts http://trac.webkit.org/changeset/92316.
-
- * platform/chromium/ScrollAnimatorChromiumMac.mm:
- (WebCore::ScrollAnimatorChromiumMac::initialScrollbarPaintTimerFired):
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
- (wkScrollbarPainterForceFlashScrollers):
-
-2011-08-16 Andrey Kosyakov <caseq@chromium.org>
-
- Web Inspector: maintain visible view hierarchy and dispatch common view events automatically
- https://bugs.webkit.org/show_bug.cgi?id=66131
-
- Reviewed by Pavel Feldman.
-
- Test: inspector/view-events.html
-
- - added a notion of an optional parent to a View
- - maintain a list of View children
- - dispatch common view events, such as show/hide/resize automatically through the hierarchy of visible views.
- - promoted Panel's logic of (re)storing scroll positions to view
- - demoted inheritScrollPositionFromView to a couple of views that need it.
-
- * inspector/front-end/ApplicationCacheItemsView.js:
- (WebInspector.ApplicationCacheItemsView.prototype.onResize):
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype.populateStatusBar):
- (WebInspector.ConsoleView.prototype.elementsToRestoreScrollPositionsFor):
- * inspector/front-end/CookieItemsView.js:
- (WebInspector.CookieItemsView.prototype.onResize):
- (WebInspector.SimpleCookiesTable.prototype.onResize):
- * inspector/front-end/DOMStorageItemsView.js:
- (WebInspector.DOMStorageItemsView.prototype.onResize):
- * inspector/front-end/DetailedHeapshotView.js:
- (WebInspector.DetailedHeapshotView.prototype.onResize):
- * inspector/front-end/Drawer.js:
- (WebInspector.Drawer.prototype.set visibleView):
- (WebInspector.Drawer.prototype.show):
- (WebInspector.Drawer.prototype.hide):
- (WebInspector.Drawer.prototype.onResize):
- (WebInspector.Drawer.prototype._animateDrawerHeight.animationFinished):
- (WebInspector.Drawer.prototype._animateDrawerHeight):
- (WebInspector.Drawer.prototype._statusBarDragging):
- (WebInspector.Drawer.prototype._endStatusBarDragging):
- * inspector/front-end/ElementsPanel.js:
- (WebInspector.ElementsPanel.prototype.onResize):
- * inspector/front-end/ExtensionPanel.js:
- * inspector/front-end/FontView.js:
- (WebInspector.FontView.prototype.onResize):
- * inspector/front-end/IFrameView.js:
- (WebInspector.IFrameView):
- * inspector/front-end/NetworkItemView.js:
- (WebInspector.NetworkItemView.prototype._installHighlightSupport):
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkLogView):
- (WebInspector.NetworkLogView.prototype.elementsToRestoreScrollPositionsFor):
- (WebInspector.NetworkLogView.prototype.onResize):
- (WebInspector.NetworkLogView.prototype.wasShown):
- (WebInspector.NetworkLogView.prototype.willHide):
- (WebInspector.NetworkPanel):
- (WebInspector.NetworkPanel.prototype.show):
- (WebInspector.NetworkPanel.prototype._showResource):
- (WebInspector.NetworkPanel.prototype._closeVisibleResource):
- * inspector/front-end/Panel.js:
- (WebInspector.Panel.prototype.show):
- (WebInspector.Panel.prototype.hide):
- (WebInspector.Panel.prototype.performSearch.processChunk):
- (WebInspector.Panel.prototype.performSearch):
- (WebInspector.Panel.prototype.updateSidebarWidth):
- * inspector/front-end/PanelEnablerView.js:
- (WebInspector.PanelEnablerView.prototype.show):
- (WebInspector.PanelEnablerView.prototype.onResize):
- * inspector/front-end/ProfileView.js:
- (WebInspector.CPUProfileView.prototype.onResize):
- * inspector/front-end/ProfilesPanel.js:
- (WebInspector.ProfilesPanel.prototype.updateMainViewWidth):
- * inspector/front-end/ResourceCookiesView.js:
- (WebInspector.ResourceCookiesView.prototype.onResize):
- * inspector/front-end/ResourcePreviewView.js:
- (WebInspector.ResourcePreviewView.prototype.contentLoaded):
- * inspector/front-end/ResourceResponseView.js:
- (WebInspector.ResourceResponseView.prototype.contentLoaded):
- * inspector/front-end/ResourceTimingView.js:
- (WebInspector.ResourceTimingView.prototype.show):
- * inspector/front-end/ResourcesPanel.js:
- (WebInspector.ResourcesPanel.prototype.show):
- (WebInspector.ResourcesPanel.prototype._innerShowView):
- (WebInspector.ResourcesPanel.prototype.closeVisibleView):
- (WebInspector.ResourcesPanel.prototype.updateMainViewWidth):
- (WebInspector.FrameResourceTreeElement.prototype._recreateSourceView):
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype.show):
- (WebInspector.ScriptsPanel.prototype._createSourceFrame):
- (WebInspector.ScriptsPanel.prototype._removeSourceFrame):
- (WebInspector.ScriptsPanel.prototype.setSidebarWidth):
- * inspector/front-end/SourceFrame.js:
- (WebInspector.SourceFrame):
- (WebInspector.SourceFrame.prototype.show):
- (WebInspector.SourceFrame.prototype.willHide):
- (WebInspector.SourceFrame.prototype.clearMessages):
- (WebInspector.SourceFrame.prototype._setTextViewerDecorations):
- (WebInspector.SourceFrame.prototype.inheritScrollPositions):
- * inspector/front-end/TabbedPane.js:
- (WebInspector.TabbedPane.prototype.appendTab):
- * inspector/front-end/TextViewer.js:
- (WebInspector.TextViewer.prototype.elementsToRestoreScrollPositionsFor):
- (WebInspector.TextViewer.prototype.inheritScrollPositions):
- (WebInspector.TextViewer.prototype.onResize):
- * inspector/front-end/TimelinePanel.js:
- (WebInspector.TimelinePanel.prototype.onResize):
- (WebInspector.TimelinePanel.prototype.elementsToRestoreScrollPositionsFor):
- (WebInspector.TimelinePanel.prototype.show):
- * inspector/front-end/View.js:
- (WebInspector.View):
- (WebInspector.View.prototype.wasShown):
- (WebInspector.View.prototype.willHide):
- (WebInspector.View.prototype._innerShow):
- (WebInspector.View.prototype.show):
- (WebInspector.View.prototype._innerHide):
- (WebInspector.View.prototype.hide):
- (WebInspector.View.prototype._detach):
- (WebInspector.View.prototype.elementsToRestoreScrollPositionsFor):
- (WebInspector.View.prototype.storeScrollPositions):
- (WebInspector.View.prototype.restoreScrollPositions):
- (WebInspector.View.prototype.addChildView):
- (WebInspector.View.prototype.removeChildView):
- (WebInspector.View.prototype.onResize):
- (WebInspector.View.prototype.doResize):
- (WebInspector.View.prototype.dispatchToSelfAndVisibleChildren):
- (WebInspector.View.prototype.dispatchToVisibleChildren):
- * inspector/front-end/inspector.js:
- (WebInspector.windowResize):
-
-2011-08-16 Luke Macpherson <macpherson@chromium.org>
-
- Represent RenderStyle::textOverflow property using an enum instead of a bool.
- https://bugs.webkit.org/show_bug.cgi?id=66356
-
- Reviewed by Dan Bernstein.
-
- No new tests - no behavioral changes.
-
- * css/CSSPrimitiveValueMappings.h:
- (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- Support cast from TextOverflow to CSSPrimitiveValue.
- (WebCore::CSSPrimitiveValue::operator TextOverflow):
- Support cast from CSSPrimitiveValue to TextOverflow.
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Use HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE macro for text overflow.
- * rendering/style/RenderStyle.h:
- (WebCore::InheritedFlags::textOverflow):
- Return TextOverflow enum.
- (WebCore::InheritedFlags::setTextOverflow):
- Accept TextOverflow enum parameter.
- (WebCore::InheritedFlags::initialTextOverflow):
- Return TextOverflowClip.
- * rendering/style/RenderStyleConstants.h:
- Define TextOverflow enum.
- * rendering/style/StyleRareNonInheritedData.h:
- Change representation of text overflow from bool to one-bit unsigned.
-
-2011-08-16 Jeff Miller <jeffm@apple.com>
-
- Apple's Windows production build should fail to compile if AVFoundation is not enabled
- https://bugs.webkit.org/show_bug.cgi?id=66339
-
- Generate a compile-time error for Production builds if !USE(AVFOUNDATION).
-
- Reviewed by Darin Adler.
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp: Generate a compile-time error for Production builds if !USE(AVFOUNDATION).
-
-2011-08-16 David Levin <levin@chromium.org>
-
- REGRESSION (r89086): All worker xhr requests trigger preflight requests.
- https://bugs.webkit.org/show_bug.cgi?id=66340
-
- Reviewed by Adam Barth.
-
- Test coming in a more comprehensive patch shortly. This is just a very targetted
- patch to allow for easier merging.
-
- * loader/CrossOriginAccessControl.cpp:
- (WebCore::isOnAccessControlSimpleRequestHeaderWhitelist): Add referer to the list
- of whitelisted headers. It can't be set by xhr so it is ok to whitelist it, but it is
- set before calling this function. This is similar to what is done for "origin" in here.
-
-2011-08-16 Shawn Singh <shawnsingh@chromium.org>
-
- Computing screen-space transform for LayerChromium and CCLayerImpl
- https://bugs.webkit.org/show_bug.cgi?id=66114
-
- Reviewed by James Robinson.
-
- Test: compositing/backface-visibility-hierarchical-transform.html
-
- Added a data member to LayerChromium and CCLayerImpl that holds
- the screen-space transform. The transform is computed in
- calculateDrawTransformsAndVisibility(), which is used during
- updating (LayerChromium) and drawing (CCLayerImpl). This transform
- will also be used for other things, such as HUD drawing, in upcoming
- patches.
-
- Also fixed a FIXME in LayerRendererChromium::drawLayer, which
- was not computing the entire hierarchy of transforms to determine
- back-face visibility. Now it simply uses the screen space transform.
-
- * platform/graphics/chromium/LayerChromium.h:
- (WebCore::LayerChromium::screenSpaceDrawTransform):
- (WebCore::LayerChromium::setScreenSpaceDrawTransform):
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::LayerRendererChromium::updateLayers):
- (WebCore::LayerRendererChromium::drawLayersInternal):
- (WebCore::LayerRendererChromium::drawLayer):
- (WebCore::calculateDrawTransformsAndVisibility):
- * platform/graphics/chromium/cc/CCLayerImpl.h:
- (WebCore::CCLayerImpl::screenSpaceDrawTransform):
- (WebCore::CCLayerImpl::setScreenSpaceDrawTransform):
-
-2011-08-16 Hayato Ito <hayato@chromium.org>
-
- Implement proper handling of events which happen in children of shadow hosts.
- https://bugs.webkit.org/show_bug.cgi?id=66285
-
- Reviewed by Dimitri Glazkov.
-
- Fix the issue where a shadow host stops an event propagation if an
- event happens at the children of shadow hosts, outside of the shadow root.
-
- Test: fast/dom/shadow/shadow-contents-event.html
-
- * dom/EventDispatcher.cpp:
- (WebCore::EventDispatcher::adjustToShadowBoundaries):
-
-2011-08-16 Per-Erik Brodin <per-erik.brodin@ericsson.com>
-
- Make it possible to explicitly prevent a preflight via ThreadableLoaderOptions
- https://bugs.webkit.org/show_bug.cgi?id=65694
-
- Reviewed by Alexey Proskuryakov.
-
- No new tests since there is no change in behavior.
-
- * fileapi/FileReaderLoader.cpp:
- (WebCore::FileReaderLoader::start):
- * loader/DocumentThreadableLoader.cpp:
- (WebCore::DocumentThreadableLoader::DocumentThreadableLoader):
- (WebCore::DocumentThreadableLoader::makeSimpleCrossOriginAccessRequest):
- * loader/ThreadableLoader.h:
- (WebCore::ThreadableLoaderOptions::ThreadableLoaderOptions):
- * notifications/Notification.cpp:
- (WebCore::Notification::startLoading):
- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::createRequest):
-
-2011-08-16 Scott Byer <scottbyer@chromium.org>
-
- Fix spelling error.
- https://bugs.webkit.org/show_bug.cgi?id=66261
-
- Reviewed by Adam Barth.
-
- No functional change, no tests needed.
-
- * platform/ScrollAnimator.cpp:
- (WebCore::ScrollAnimator::scroll):
- (WebCore::ScrollAnimator::scrollToOffsetWithoutAnimation):
- (WebCore::ScrollAnimator::notifyPositionChanged):
- * platform/ScrollAnimator.h:
- * platform/ScrollAnimatorNone.cpp:
- (WebCore::ScrollAnimatorNone::scrollToOffsetWithoutAnimation):
- (WebCore::ScrollAnimatorNone::animationTimerFired):
- * platform/ScrollAnimatorWin.cpp:
- (WebCore::ScrollAnimatorWin::scrollToOffsetWithoutAnimation):
- (WebCore::ScrollAnimatorWin::animateScroll):
- * platform/chromium/ScrollAnimatorChromiumMac.h:
- * platform/chromium/ScrollAnimatorChromiumMac.mm:
- (WebCore::ScrollAnimatorChromiumMac::immediateScrollToPoint):
- (WebCore::ScrollAnimatorChromiumMac::immediateScrollByDeltaX):
- (WebCore::ScrollAnimatorChromiumMac::immediateScrollByDeltaY):
- (WebCore::ScrollAnimatorChromiumMac::notifyPositionChanged):
- * platform/mac/ScrollAnimatorMac.h:
- * platform/mac/ScrollAnimatorMac.mm:
- (WebCore::ScrollAnimatorMac::immediateScrollToPoint):
- (WebCore::ScrollAnimatorMac::immediateScrollByDeltaX):
- (WebCore::ScrollAnimatorMac::immediateScrollByDeltaY):
- (WebCore::ScrollAnimatorMac::notifyPositionChanged):
-
-2011-08-16 Joseph Pecoraro <joepeck@webkit.org>
-
- ASSERT in fast/css/custom-font-xheight.html
- https://bugs.webkit.org/show_bug.cgi?id=66328
-
- Reviewed by Dan Bernstein.
-
- In r93140 the temporary font created for a remote CSS font face
- was created without being retained. We need to protect the
- font from being purged while we hold onto it, so add a font cache
- purge preventer.
-
- * css/CSSFontFaceSource.cpp:
- (WebCore::CSSFontFaceSource::getFontData):
-
-2011-08-16 Joseph Pecoraro <joepeck@webkit.org>
-
- Unreviewed Chromium Windows build fix after r93140. Take 4.
- Namespace the now public enum as FontCache::ShouldRetain.
-
- * platform/graphics/chromium/FontCacheChromiumWin.cpp:
- (WebCore::GetLastResortFallbackFontProcData::GetLastResortFallbackFontProcData):
-
-2011-08-15 Stephen White <senorblanco@chromium.org>
-
- Canvas resizing can be slow
- https://bugs.webkit.org/show_bug.cgi?id=66251
-
- Canvas resizing was slow due to re-allocation of the ImageBuffer on
- each size change (width or height). This was introduced inadvertently
- by calls to isAccelerated() during canvas reset(). Since we won't
- know if we have successfully accelerated until ImageBuffer creation,
- move the compositor invalidation to createImageBuffer() as well.
- This patch also attempts to unify the Skia and CG accelerated canvas
- paths. The DrawingBuffer used by the Skia path is now owned by
- ImageBuffer[Skia], similar to how the IOSurface is owned by
- ImageBuffer[CG]. Some of the logic for when to accelerate was moved
- into HTMLCanvasElement and unified with the CG path. Acceleration is
- also now enabled by the same "Accelerated" ImageBuffer create flag
- used by the CG path. DrawingBuffer is now re-created even for a
- same-size change (same as the memory buffer), but we speed it up
- by calling GraphicsContext3D::texImage2D() with a NULL pixels ptr
- instead of GraphicsContext3D::teximage2DResourceSafe() (no need to
- clear it, since it's done with a glClear anyway).
-
- Reviewed by Kenneth Russell.
-
- Covered by existing tests in fast/canvas and canvas/philip.
-
- * html/HTMLCanvasElement.cpp:
- (WebCore::HTMLCanvasElement::reset):
- Don't call isAccelerated() from reset(), since we don't want to
- inadvertently create the ImageBuffer. Also, since we won't know if
- we have successfully accelerated until createImageBuffer() is
- called, defer the compositor invalidation to createImageBuffer() as
- well.
- (WebCore::HTMLCanvasElement::shouldAccelerate):
- Unify the CG and Skia ports' logic for when to accelerate (Skia
- logic moved in from CanvasRenderingContext2D).
- (WebCore::HTMLCanvasElement::createImageBuffer):
- Use the unified shouldAccelerate() logic, and pass it as a flag
- to ImageBuffer. Do compositor invalidation as well.
- * html/HTMLCanvasElement.h:
- (WebCore::HTMLCanvasElement::hasCreatedImageBuffer):
- Expose hasCreatedImageBuffer() publically, so
- CanvasRenderingContext2D::isAccelerated() doesn't inadvertently create
- it.
- * html/canvas/CanvasRenderingContext2D.cpp:
- (WebCore::CanvasRenderingContext2D::CanvasRenderingContext2D):
- (WebCore::CanvasRenderingContext2D::~CanvasRenderingContext2D):
- Remove all acceleration setting and resetting, since it's now done
- during ImageBuffer creation.
- (WebCore::CanvasRenderingContext2D::isAccelerated):
- Check if the image buffer was created, so we don't inadvertently
- create it here.
- (WebCore::CanvasRenderingContext2D::paintsIntoCanvasBuffer):
- Don't call GraphicsContext3D::paintsIntoCanvasBuffer(), since its
- WebViewImpl may be null. Ask the render tree instead.
- (WebCore::CanvasRenderingContext2D::reset):
- Don't reset acceleration here, since we don't own it anymore.
- (WebCore::CanvasRenderingContext2D::platformLayer):
- Call into the ImageBuffer to get our PlatformLayer.
- * html/canvas/CanvasRenderingContext2D.h:
- Remove m_drawingBuffer, and all acceleration-related calls.
- * platform/graphics/GraphicsContext.cpp:
- * platform/graphics/GraphicsContext.h:
- Remove setGraphicsContext3D(), and paintsIntoImageBuffer().
- * platform/graphics/ImageBuffer.cpp:
- (WebCore::ImageBuffer::platformLayer):
- Implement a dummy platformLayer() call for non-skia ports.
- * platform/graphics/ImageBuffer.h:
- Declare a platformLayer() call (USE(ACCELERATED_COMPOSITING) only).
- * platform/graphics/chromium/ImageBufferDataSkia.h:
- Add a DrawingBuffer data member.
- * platform/graphics/gpu/DrawingBuffer.cpp:
- (WebCore::DrawingBuffer::reset):
- Use texImage2D() with a NULL ptr, not texImage2DResourceSafe().
- Since we immediately clear the framebuffer via glClear(), this whole
- resource safe business is overkill.
- * platform/graphics/skia/GraphicsContextSkia.cpp:
- Remove setGraphicsContext3D() and paintsIntoImageBuffer(). This
- functionality is handled by ImageBuffer now.
- * platform/graphics/skia/ImageBufferSkia.cpp:
- (WebCore::ImageBuffer::ImageBuffer):
- Give the ImageBufferData ownership of the DrawingBuffer.
- (WebCore::ImageBuffer::platformLayer):
- Implement an accessor for the DrawingBuffer's PlatformLayer.
- * platform/graphics/skia/PlatformContextSkia.cpp:
- (WebCore::PlatformContextSkia::setGraphicsContext3D):
- * platform/graphics/skia/PlatformContextSkia.h:
- Remove isPathSkiaSafe() extern (unused).
- Remove paintsIntoImageBuffer() (now unused). Remove IntSize param
- from setGraphicsContext3D() (unused).
-
-2011-08-16 Joseph Pecoraro <joepeck@webkit.org>
-
- Unreviewed Chromium Windows build fix after r93140. Take 3.
- Include the proper includes!
-
- * platform/graphics/FontCache.h:
-
-2011-08-16 Mihnea Ovidenie <mihnea@adobe.com>
-
- Unmatrix algorithm implementation is wrong
- https://bugs.webkit.org/show_bug.cgi?id=66080
-
- Reviewed by Dean Jackson.
-
- Current version of the algorithm negates only the scaleX while
- it should negate also scaleY and scaleZ when appropriate.
-
- Test: animations/animation-matrix-negative-scale-unmatrix.html
-
- * platform/graphics/transforms/TransformationMatrix.cpp:
- (WebCore::decompose):
-
-2011-08-16 Joseph Pecoraro <joepeck@webkit.org>
-
- Unreviewed Chromium Windows build fix after r93140.
-
- This just makes the troublesome enum public. If this
- fixes the build I will file a follow-up bug to clean-up
- these build issues and either keep the enum public and
- cleanup other functions or restore the enum to private.
- There is no harm in making the enum public right now.
-
- * platform/graphics/FontCache.h:
-
-2011-08-16 Joseph Pecoraro <joepeck@webkit.org>
-
- Unreviewed Chromium Windows build fix after r93140.
-
- * platform/graphics/FontCache.h:
-
-2011-08-16 Joseph Pecoraro <joepeck@webkit.org>
-
- Unreviewed Windows and Chromium Windows build fix after r93140.
-
- * platform/graphics/FontCache.h:
- * platform/graphics/chromium/FontCacheChromiumWin.cpp:
- (WebCore::FontCache::fontDataFromDescriptionAndLogFont):
- (WebCore::getLastResortFallbackFontProc):
- (WebCore::FontCache::getLastResortFallbackFont):
- * platform/graphics/win/FontCacheWin.cpp:
- (WebCore::FontCache::fontDataFromDescriptionAndLogFont):
- (WebCore::FontCache::getLastResortFallbackFont):
-
-2011-08-16 Adam Roben <aroben@apple.com>
-
- Make placeholder text remain visible until a character is typed on Windows
-
- Fixes <http://webkit.org/b/66319> Placeholder text in text fields disappears when the field
- is focused on Windows, which doesn't match Lion or Windows native text fields
-
- Covered by existing tests (which are currently failing on the bots until this patch lands).
-
- Reviewed by Dave Hyatt.
-
- * rendering/RenderThemeSafari.h:
- (WebCore::RenderThemeSafari::shouldShowPlaceholderWhenFocused):
- * rendering/RenderThemeWin.h:
- (WebCore::RenderThemeWin::shouldShowPlaceholderWhenFocused):
- Added overrides to return true.
-
-2011-08-16 David Hyatt <hyatt@apple.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=66254
-
- Make region invalidation and repainting work properly. We do this by making RenderFlowThreads into
- repaint containers and then issuing new repaints in the regions that contain the invalidated flow thread
- content.
-
- Reviewed by Simon Fraser.
-
- Added new tests in fast/repaint.
-
- * rendering/RenderFlowThread.cpp:
- (WebCore::RenderFlowThread::repaintRectangleInRegions):
- * rendering/RenderFlowThread.h:
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::enclosingRenderFlowThread):
- (WebCore::RenderObject::containerForRepaint):
- (WebCore::RenderObject::repaintUsingContainer):
- * rendering/RenderObject.h:
- * rendering/RenderView.cpp:
- (WebCore::RenderView::RenderView):
- (WebCore::RenderView::renderFlowThreadWithName):
- * rendering/RenderView.h:
- (WebCore::RenderView::hasRenderFlowThreads):
-
-2011-08-16 Joseph Pecoraro <joepeck@webkit.org>
-
- Abandoned Memory: Temporary CSS Fonts May Never Be Purged
- https://bugs.webkit.org/show_bug.cgi?id=66153
-
- Reviewed by Dan Bernstein.
-
- While a remote CSS font face is loading we fallback to a
- temporary font. We don't want to retain the fallback font
- because noone takes ownership of the temporary font. This
- patch adds a way to get an uncached fallback font, which
- plumbs the ShouldRetain enum through the different platform
- implementations of getLastResortFallbackFont.
-
- No new tests, no functional change.
-
- * css/CSSFontFaceSource.cpp:
- (WebCore::CSSFontFaceSource::getFontData):
- * platform/graphics/FontCache.cpp:
- (WebCore::FontCache::getNonRetainedLastResortFallbackFont):
- * platform/graphics/FontCache.h:
- * platform/graphics/chromium/FontCacheChromiumWin.cpp:
- (WebCore::fontDataFromDescriptionAndLogFont):
- (WebCore::GetLastResortFallbackFontProcData::GetLastResortFallbackFontProcData):
- (WebCore::getLastResortFallbackFontProc):
- (WebCore::FontCache::getLastResortFallbackFont):
- * platform/graphics/chromium/FontCacheLinux.cpp:
- (WebCore::FontCache::getLastResortFallbackFont):
- * platform/graphics/freetype/FontCacheFreeType.cpp:
- (WebCore::FontCache::getLastResortFallbackFont):
- * platform/graphics/haiku/FontCacheHaiku.cpp:
- (WebCore::FontCache::getLastResortFallbackFont):
- * platform/graphics/mac/FontCacheMac.mm:
- (WebCore::FontCache::getLastResortFallbackFont):
- * platform/graphics/pango/FontCachePango.cpp:
- (WebCore::FontCache::getLastResortFallbackFont):
- * platform/graphics/qt/FontCacheQt.cpp:
- (WebCore::FontCache::getLastResortFallbackFont):
- * platform/graphics/win/FontCacheWin.cpp:
- (WebCore::fontDataFromDescriptionAndLogFont):
- (WebCore::FontCache::getLastResortFallbackFont):
- * platform/graphics/wince/FontCacheWinCE.cpp:
- * platform/graphics/wx/FontCacheWx.cpp:
- (WebCore::FontCache::getLastResortFallbackFont):
-
-2011-08-16 Alexei Svitkine <asvitkine@chromium.org>
-
- Chromium Mac: Rubber banding gutter drawing
- https://bugs.webkit.org/show_bug.cgi?id=66226
-
- Make ScrollView::paintOverhangAreas() use the ScrollbarTheme::nativeTheme() to
- draw the overhang areas.
- Move default implementation to ScrollbarThemeComposite::paintOverhangAreas().
- Add a different implementation for Chromium Mac.
-
- Reviewed by Dimitri Glazkov.
-
- No new tests since this is just refactoring code and adding a Chromium-specific path for overhang drawing.
-
- * platform/ScrollView.cpp:
- (WebCore::ScrollView::wheelEvent):
- * platform/ScrollbarTheme.h:
- (WebCore::ScrollbarTheme::paintOverhangAreas):
- * platform/ScrollbarThemeComposite.cpp:
- (WebCore::ScrollbarThemeComposite::paintOverhangAreas):
- * platform/ScrollbarThemeComposite.h:
- * platform/chromium/ScrollbarThemeChromiumMac.h:
- * platform/chromium/ScrollbarThemeChromiumMac.mm:
- (WebCore::ScrollbarThemeChromiumMac::ScrollbarThemeChromiumMac):
- (WebCore::scrollbarStateToThemeState):
- (WebCore::ScrollbarThemeChromiumMac::paintTickmarks):
- (WebCore::ScrollbarThemeChromiumMac::paintOverhangAreas):
-
-2011-08-12 Wyatt Carss <wcarss@chromium.org>
-
- Programmatically set selection should not have direction on Mac
- https://bugs.webkit.org/show_bug.cgi?id=60529
-
- Reviewed by Ryosuke Niwa.
-
- Modified default value of VisibleSelection->m_isDirectional from 'true'
- to 'false' by adding a defaulted argument to several VisibleSelection
- constructors to make programmatic selection be directionless by default
- on Mac. Also modified several calls to VisibleSelection's constructors
- to correctly preserve directionality.
-
- Near the end of FrameSelection::modify (presently FrameSelection.cpp:869)
- a call to setExtent triggers an editing delegate that uses the
- FrameSelection. The direction here should have been preserved from before,
- but setIsDirectional was not called until after FrameSelection.cpp:869. It
- has been moved up to make things behave.
-
- * WebCore.exp.in:
- * editing/ApplyBlockElementCommand.cpp:
- (WebCore::ApplyBlockElementCommand::doApply):
- (WebCore::ApplyBlockElementCommand::formatSelection):
- * editing/ApplyStyleCommand.cpp:
- (WebCore::ApplyStyleCommand::updateStartEnd):
- * editing/BreakBlockquoteCommand.cpp:
- (WebCore::BreakBlockquoteCommand::doApply):
- * editing/CompositeEditCommand.cpp:
- (WebCore::CompositeEditCommand::moveParagraphWithClones):
- (WebCore::CompositeEditCommand::moveParagraphs):
- (WebCore::CompositeEditCommand::breakOutOfEmptyListItem):
- (WebCore::CompositeEditCommand::breakOutOfEmptyMailBlockquotedParagraph):
- * editing/CreateLinkCommand.cpp:
- (WebCore::CreateLinkCommand::doApply):
- * editing/DeleteSelectionCommand.cpp:
- (WebCore::DeleteSelectionCommand::setStartingSelectionOnSmartDelete):
- (WebCore::DeleteSelectionCommand::doApply):
- * editing/Editor.cpp:
- (WebCore::Editor::selectionForCommand):
- * editing/FrameSelection.cpp:
- (WebCore::shouldAlwaysUseDirectionalSelection):
- (WebCore::FrameSelection::FrameSelection):
- (WebCore::FrameSelection::moveTo):
- (WebCore::FrameSelection::setNonDirectionalSelectionIfNeeded):
- (WebCore::FrameSelection::modify):
- (WebCore::FrameSelection::setBase):
- (WebCore::FrameSelection::setExtent):
- * editing/FrameSelection.h:
- * editing/InsertLineBreakCommand.cpp:
- (WebCore::InsertLineBreakCommand::doApply):
- * editing/InsertListCommand.cpp:
- (WebCore::InsertListCommand::doApply):
- * editing/InsertParagraphSeparatorCommand.cpp:
- (WebCore::InsertParagraphSeparatorCommand::doApply):
- * editing/InsertTextCommand.cpp:
- (WebCore::InsertTextCommand::performTrivialReplace):
- (WebCore::InsertTextCommand::doApply):
- * editing/MoveSelectionCommand.cpp:
- (WebCore::MoveSelectionCommand::doApply):
- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::ReplaceSelectionCommand::completeHTMLReplacement):
- * editing/TypingCommand.cpp:
- (WebCore::TypingCommand::makeEditableRootEmpty):
- (WebCore::TypingCommand::deleteKeyPressed):
- (WebCore::TypingCommand::forwardDeleteKeyPressed):
- * editing/VisibleSelection.cpp:
- (WebCore::VisibleSelection::VisibleSelection):
- * editing/VisibleSelection.h:
- * page/EventHandler.cpp:
- (WebCore::EventHandler::updateSelectionForMouseDownDispatchingSelectStart):
- (WebCore::EventHandler::updateSelectionForMouseDrag):
-
-2011-08-16 Jeffrey Pfau <jpfau@apple.com>
-
- New XML parser: Add document fragment parser
- https://bugs.webkit.org/show_bug.cgi?id=66317
-
- Reviewed by Adam Barth.
-
- * dom/DocumentFragment.cpp:
- (WebCore::DocumentFragment::parseXML):
- * xml/parser/NewXMLDocumentParser.cpp:
- (WebCore::NewXMLDocumentParser::NewXMLDocumentParser):
- (WebCore::NewXMLDocumentParser::parseDocumentFragment):
- * xml/parser/NewXMLDocumentParser.h:
- (WebCore::NewXMLDocumentParser::create):
- * xml/parser/XMLTokenizer.h:
- * xml/parser/XMLTreeBuilder.cpp:
- (WebCore::XMLTreeBuilder::XMLTreeBuilder):
- (WebCore::XMLTreeBuilder::pushCurrentNode):
- * xml/parser/XMLTreeBuilder.h:
- (WebCore::XMLTreeBuilder::create):
- (WebCore::XMLTreeBuilder::NodeStackItem::node):
-
-2011-08-16 Jeffrey Pfau <jpfau@apple.com>
-
- New XML parser: Replace assertions regarding character data in the prolog with proper checks
- https://bugs.webkit.org/show_bug.cgi?id=66269
-
- Reviewed by Adam Barth.
-
- This patch checks for character data in the prolog (which is illegal in XML) and discards it, instead of failing an assertion.
-
- * xml/parser/XMLTreeBuilder.cpp:
- (WebCore::XMLTreeBuilder::processProcessingInstruction):
- (WebCore::XMLTreeBuilder::processXMLDeclaration):
- (WebCore::XMLTreeBuilder::processDOCTYPE):
- (WebCore::XMLTreeBuilder::enterText):
- (WebCore::XMLTreeBuilder::failOnText):
- * xml/parser/XMLTreeBuilder.h:
-
-2011-08-16 Alexander Pavlov <apavlov@chromium.org>
-
- Web Inspector: word wrap long edits
- https://bugs.webkit.org/show_bug.cgi?id=65512
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/inspector.css:
- (.styles-section .properties li.child-editing):
-
-2011-08-16 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: convert DOM breakpoint types to strings.
- https://bugs.webkit.org/show_bug.cgi?id=66304
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/Inspector.json:
- * inspector/InspectorDOMDebuggerAgent.cpp:
- (WebCore::domTypeForName):
- (WebCore::InspectorDOMDebuggerAgent::setDOMBreakpoint):
- (WebCore::InspectorDOMDebuggerAgent::removeDOMBreakpoint):
- * inspector/InspectorDOMDebuggerAgent.h:
- * inspector/front-end/DOMBreakpointsSidebarPane.js:
- (WebInspector.DOMBreakpointsSidebarPane):
-
-2011-08-16 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: force pseudo element state when checking it in the styles sidebar.
- https://bugs.webkit.org/show_bug.cgi?id=66292
-
- This reverts http://trac.webkit.org/changeset/89132 and introduces InspectorInstrumentation
- calls from the CSSStyleSelector for pseudo state processing. These calls are very fast:
- they are guarded with the inline checks for the front-end count.
-
- Reviewed by David Hyatt.
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::initForStyleResolve):
- (WebCore::CSSStyleSelector::styleRulesForElement):
- (WebCore::CSSStyleSelector::pseudoStyleRulesForElement):
- (WebCore::CSSStyleSelector::checkSelector):
- (WebCore::CSSStyleSelector::SelectorChecker::checkSelector):
- (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
- * css/CSSStyleSelector.h:
- * inspector/InspectorCSSAgent.cpp:
- (WebCore::computePseudoClassMask):
- (WebCore::InspectorCSSAgent::InspectorCSSAgent):
- (WebCore::InspectorCSSAgent::clearFrontend):
- (WebCore::InspectorCSSAgent::forcePseudoState):
- (WebCore::InspectorCSSAgent::getStylesForNode):
- (WebCore::InspectorCSSAgent::didRemoveDocument):
- (WebCore::InspectorCSSAgent::didRemoveDOMNode):
- (WebCore::InspectorCSSAgent::clearPseudoState):
- * inspector/InspectorCSSAgent.h:
- * inspector/InspectorController.cpp:
- (WebCore::InspectorController::disconnectFrontend):
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::forcePseudoStateImpl):
- * inspector/InspectorInstrumentation.h:
- (WebCore::InspectorInstrumentation::forcePseudoState):
-
-2011-08-16 Tony Chang <tony@chromium.org>
-
- Unreviewed, rolling out r93114.
- http://trac.webkit.org/changeset/93114
- https://bugs.webkit.org/show_bug.cgi?id=66226
-
- broke the chromium mac compile
-
- * platform/ScrollView.cpp:
- (WebCore::ScrollView::wheelEvent):
- * platform/ScrollbarTheme.h:
- * platform/ScrollbarThemeComposite.cpp:
- * platform/ScrollbarThemeComposite.h:
- * platform/chromium/ScrollbarThemeChromiumMac.h:
- * platform/chromium/ScrollbarThemeChromiumMac.mm:
- (WebCore::ScrollbarThemeChromiumMac::ScrollbarThemeChromiumMac):
- (WebCore::scrollbarStateToThemeState):
- (WebCore::ScrollbarThemeChromiumMac::paintTickmarks):
- * platform/mac/ScrollbarThemeMac.h:
-
-2011-08-16 Alexei Svitkine <asvitkine@chromium.org>
-
- Chromium Mac: Rubber banding gutter drawing
- https://bugs.webkit.org/show_bug.cgi?id=66226
-
- Make ScrollView::paintOverhangAreas() use the ScrollbarTheme::nativeTheme() to
- draw the overhang areas.
- Move default implementation to ScrollbarThemeComposite::paintOverhangAreas().
- Add a different implementation for Chromium Mac.
-
- Reviewed by Dimitri Glazkov.
-
- No new tests since this is just refactoring code and adding a Chromium-specific path for overhang drawing.
-
- * platform/ScrollView.cpp:
- (WebCore::ScrollView::wheelEvent):
- * platform/ScrollbarTheme.h:
- (WebCore::ScrollbarTheme::paintOverhangAreas):
- * platform/ScrollbarThemeComposite.cpp:
- (WebCore::ScrollbarThemeComposite::paintOverhangAreas):
- * platform/ScrollbarThemeComposite.h:
- * platform/chromium/ScrollbarThemeChromiumMac.h:
- * platform/chromium/ScrollbarThemeChromiumMac.mm:
- (WebCore::ScrollbarThemeChromiumMac::ScrollbarThemeChromiumMac):
- (WebCore::scrollbarStateToThemeState):
- (WebCore::ScrollbarThemeChromiumMac::paintTickmarks):
- (WebCore::ScrollbarThemeChromiumMac::paintOverhangAreas):
-
-2011-08-16 Luke Macpherson <macpherson@chromium.org>
-
- Support cast between CSSPrimitiveValue and ETransformStyle3D and use in CSSStyleSelector.
- https://bugs.webkit.org/show_bug.cgi?id=66273
-
- Reviewed by Simon Fraser.
-
- No new tests - no functionality changed - refactoring only.
-
- * css/CSSPrimitiveValueMappings.h:
- (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- Define cast from CSSPrimitiveValue to ETransformStyle3D.
- (WebCore::CSSPrimitiveValue::operator ETransformStyle3D):
- Define cast from ETransformStyle3D to CSSPrimitiveValue.
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Use appropriate macro to handle CSSPropertyWebkitTransformStyle.
-
-2011-08-16 Luke Macpherson <macpherson@chromium.org>
-
- Use appropriate macro to handle CSSPropertyWebkitContentOrder in CSSStyleSelector::applyProperty()
- https://bugs.webkit.org/show_bug.cgi?id=66279
-
- Reviewed by Simon Fraser.
-
- No new tests - no functionality changed - simple refactoring only.
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Use HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE macro to handle CSSPropertyWebkitContentOrder.
- This works because PrimitiveValue now supports cast to int.
-
-2011-08-16 Eric Carlson <eric.carlson@apple.com>
-
- [REGRESSION] Media controls should always be enabled when scripting is disabled
- https://bugs.webkit.org/show_bug.cgi?id=66303
-
- Reviewed by Dimitri Glazkov.
-
- Tests: media/video-controls-no-scripting-iframe.html
- media/video-controls-no-scripting.html
-
- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::attributeChanged): Move the controls enabling/disabling code
- to configureMediaControls.
- (WebCore::HTMLMediaElement::prepareForLoad): Call configureMediaControls.
- (WebCore::HTMLMediaElement::configureMediaControls): New, move code duplicated in
- attributeChanged and preDispatchEventHandler here.
- (WebCore::HTMLMediaElement::preDispatchEventHandler): Move the controls enabling/disabling code
- to configureMediaControls.
- * html/HTMLMediaElement.h:
-
-2011-08-16 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: hide non-conservative methods from the protocol documentation.
- https://bugs.webkit.org/show_bug.cgi?id=66301
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/Inspector.json:
-
-2011-08-16 Andras Becsi <abecsi@webkit.org>
-
- Web Inspector: nuke background events collection (dead feature)
- https://bugs.webkit.org/show_bug.cgi?id=66296
-
- Fix the GTK build after r93095.
-
- Unreviewed build fix.
-
- No new tests neede.
-
- * GNUmakefile.list.am: Remove nonexistent sources.
-
-2011-08-16 Andras Becsi <abecsi@webkit.org>
-
- Reviewed by Csaba Osztrogonác.
-
- Need AtomicStrings for the various font family names
- https://bugs.webkit.org/show_bug.cgi?id=28024
-
- Unify the usage of '-webkit' prefixed font family names by using
- global AtomicStrings.
- Use a .in file to generate the needed sources through make_names.pl.
-
- No new tests needed.
-
- * CMakeLists.txt:
- * CodeGenerators.pri:
- * DerivedSources.make:
- * GNUmakefile.am:
- * GNUmakefile.list.am:
- * WebCore.gyp/WebCore.gyp:
- * WebCore.gyp/scripts/action_makenames.py:
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::identifierForFamily):
- * css/CSSFontSelector.cpp:
- (WebCore::CSSFontSelector::addFontFaceRule):
- (WebCore::fontDataForGenericFamily):
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- * css/WebKitFontFamilyNames.in: Added.
- * dom/make_names.pl:
- * page/Frame.cpp:
- (WebCore::Frame::Frame):
- * platform/graphics/FontCache.cpp:
- (WebCore::FontCache::getFontData):
- * platform/graphics/FontDescription.h:
- (WebCore::FontDescription::useFixedDefaultSize):
-
-2011-08-16 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: nuke background events collection (dead feature)
- https://bugs.webkit.org/show_bug.cgi?id=66296
-
- Reviewed by Yury Semikhatsky.
-
- * CMakeLists.txt:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * inspector/EventsCollector.cpp: Removed.
- * inspector/EventsCollector.h: Removed.
- * inspector/Inspector.json:
- * inspector/InspectorFrontendProxy.cpp: Removed.
- * inspector/InspectorFrontendProxy.h: Removed.
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::setFrontend):
- (WebCore::InspectorResourceAgent::clearFrontend):
- (WebCore::InspectorResourceAgent::InspectorResourceAgent):
- * inspector/InspectorResourceAgent.h:
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkLogView):
-
-2011-08-16 Lindsay Mathieson <lindsay.mathieson@gmail.com>
-
- [Qt] Missing spell check support
- https://bugs.webkit.org/show_bug.cgi?id=44114
-
- Reviewed by Benjamin Poulain.
-
- Add drawErrorUnderline() from Cairo to render the line for text checking on the Qt port.
-
- * platform/graphics/qt/GraphicsContextQt.cpp:
- (WebCore::drawErrorUnderline):
- (WebCore::GraphicsContext::drawLineForTextChecking):
-
-2011-08-15 MORITA Hajime <morrita@google.com>
-
- REGRESSION(r70598): [Chromium] Style changes in textInput event can prevent from updating <textarea> value.
- https://bugs.webkit.org/show_bug.cgi?id=66216
-
- Reviewed by Ryosuke Niwa.
-
- Element::spellcheckAttributeState() uses Element::hasAttribute(),
- which calls updateStyleAttribute(), which potentially makes style
- dirty. But that is problematic since Editor calls spellcheckAttributeState()
- during the spell-checking phase and make the style dirty,
- which can trigger re-layout, which wipes the shadow tree of a textarea
- out by pre-committed "value" text.
-
- This change removes the hasAttribute() call from
- spellcheckAttributeState().
-
- Test: editing/input/style-change-during-input.html
-
- * dom/Element.cpp:
- (WebCore::Element::spellcheckAttributeState):
-
-2011-08-15 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- [CMAKE] Wrap files of websocket and worker in each macro.
- https://bugs.webkit.org/show_bug.cgi?id=65012
-
- Move files of web socket and workers into each macro block in CMakeList.txt.
- And, header files related to WORKER and SHARED_WORKER are wrapped by macro in cpp files.
-
- Reviewed by Daniel Bates.
-
- * CMakeLists.txt:
- * UseJSC.cmake:
- * bindings/js/JSDOMWindowCustom.cpp:
- * bindings/js/JSWorkerContextBase.cpp:
- * bindings/js/ScriptState.cpp:
- * bindings/js/WorkerScriptController.cpp:
-
-2011-08-15 Jeffrey Pfau <jpfau@apple.com>
-
- New XML parser: add xml namespace to the default map of namespaces
- https://bugs.webkit.org/show_bug.cgi?id=66266
-
- Reviewed by Adam Barth.
-
- * xml/parser/XMLTreeBuilder.cpp:
- (WebCore::XMLTreeBuilder::NodeStackItem::NodeStackItem):
-
-2011-08-15 Hayato Ito <hayato@chromium.org>
-
- Fix crash when mouse moves from <summary> element to parent <details> element.
- https://bugs.webkit.org/show_bug.cgi?id=66210
-
- Reviewed by Dimitri Glazkov.
-
- This is a regression caused by r92922, which wrongly assumes that
- a shadow host always has a shadow root as an immediate child in
- ancestors chain. This assumption does not apply to <details>
- element. <details> element is implemented as a shadow host, but
- may have a <summary> element as an immediate child element in
- ancestors chain.
-
- Test: fast/dom/shadow/details-summary-mouseover.html
-
- * dom/EventDispatcher.cpp:
- (WebCore::EventDispatcher::adjustToShadowBoundaries):
-
-2011-08-15 Jeffrey Pfau <jpfau@apple.com>
-
- New XML parser: Use xmlnsAtom instead of redundant xmlnsPrefix
- https://bugs.webkit.org/show_bug.cgi?id=66264
-
- Reviewed by Adam Barth.
-
- * xml/parser/XMLTreeBuilder.cpp:
- (WebCore::XMLTreeBuilder::processNamespaces):
- (WebCore::XMLTreeBuilder::processAttributes):
-
-2011-08-15 Emil A Eklund <eae@chromium.org>
-
- Switch Element/Node to to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=66260
-
- Reviewed by Eric Seidel.
-
- Convert Element, Node, ElementRareData and ContainerNode to new layout
- abstraction as a part of the ongoing conversion work.
-
- No new tests, no new functionality.
-
- * dom/ContainerNode.cpp:
- (WebCore::ContainerNode::getLowerRightCorner):
- (WebCore::ContainerNode::getRect):
- * dom/ContainerNode.h:
- * dom/Element.cpp:
- (WebCore::Element::scrollIntoView):
- (WebCore::Element::scrollIntoViewIfNeeded):
- (WebCore::adjustForLocalZoom):
- (WebCore::Element::boundsInWindowSpace):
- (WebCore::Element::getClientRects):
- (WebCore::Element::getBoundingClientRect):
- (WebCore::Element::screenRect):
- (WebCore::Element::minimumSizeForResizing):
- (WebCore::Element::setMinimumSizeForResizing):
- * dom/Element.h:
- * dom/ElementRareData.h:
- * dom/Node.cpp:
- (WebCore::Node::getRect):
- (WebCore::Node::renderRect):
- (WebCore::Node::hasNonEmptyBoundingBox):
- * dom/Node.h:
-
-2011-08-15 Alexey Proskuryakov <ap@apple.com>
-
- Regional indicator symbols that are combined should behave as a single character when editing
- https://bugs.webkit.org/show_bug.cgi?id=65395
-
- Reviewed by Dan Bernstein.
-
- Part one: make backspace work.
-
- Test: editing/deleting/regional-indicators.html
-
- * rendering/RenderText.cpp:
- (WebCore::isRegionalIndicator):
- (WebCore::RenderText::previousOffsetForBackwardDeletion): Added a special case for regional
- indicator symbols.
-
-2011-08-15 Jeffrey Pfau <jpfau@apple.com>
-
- New XML parser: Re-entering a character node should not clobber the buffered characters
- https://bugs.webkit.org/show_bug.cgi?id=66257
-
- Reviewed by Adam Barth.
-
- * xml/parser/XMLTreeBuilder.cpp:
- (WebCore::XMLTreeBuilder::enterText):
-
-2011-08-15 Dmitry Titov <dimich@chromium.org>
-
- FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
- https://bugs.webkit.org/show_bug.cgi?id=66165
-
- Reviewed by Darin Fisher.
-
- No new tests since no change in behavior.
- The original issue is only reproducible on Chromium in multi-process mode
- and is tested there by a browsertest.
-
- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::transferLoadingResourcesFromPage):
- Passing ResourceLoader* into the FrameLoaderClient notification.
- Also, fixed the bug where the same ResourceRequest was passed for all subresources.
- * loader/EmptyClients.h:
- (WebCore::EmptyFrameLoaderClient::transferLoadingResourceFromPage):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::dispatchTransferLoadingResourceFromPage):
- * loader/FrameLoader.h:
- * loader/FrameLoaderClient.h:
- * loader/ResourceLoadNotifier.cpp:
- (WebCore::ResourceLoadNotifier::dispatchTransferLoadingResourceFromPage):
- * loader/ResourceLoadNotifier.h:
- * loader/ResourceLoader.cpp:
- (WebCore::ResourceLoader::init):
- * loader/ResourceLoader.h:
- (WebCore::ResourceLoader::originalRequest): Added the originalRequest() accessor that
- returns the request as it existed before redirects (but after client's will SendRequest).
- This is to be able to pass the original request for loading subresources into
- FrameLoaderClient::transferLoadingResourceFromPage, since that one is used to invoke
- assignIdentifierToInitialRequest, which needs original request.
-
-2011-08-15 Mark Hahnenberg <mhahnenberg@apple.com>
-
- Refactor JS objects to allocate in static create methods rather than constructors
- https://bugs.webkit.org/show_bug.cgi?id=65347
-
- Reviewed by Geoffrey Garen.
-
- No new tests.
-
- Removed all calls to deprecatedGetDOMObject from initialization lists as part of a
- larger refactoring to get rid of all allocation during initialization.
-
- * bindings/js/JSDOMBinding.h:
- * bridge/c/CRuntimeObject.cpp:
- (JSC::Bindings::CRuntimeObject::CRuntimeObject):
- * bridge/c/CRuntimeObject.h:
- (JSC::Bindings::CRuntimeObject::create):
- * bridge/c/c_instance.cpp:
- (JSC::Bindings::CRuntimeMethod::create):
- (JSC::Bindings::CRuntimeMethod::CRuntimeMethod):
- * bridge/jni/jsc/JavaInstanceJSC.cpp:
- (JavaRuntimeMethod::create):
- (JavaRuntimeMethod::JavaRuntimeMethod):
- * bridge/jni/jsc/JavaRuntimeObject.cpp:
- (JSC::Bindings::JavaRuntimeObject::JavaRuntimeObject):
- * bridge/jni/jsc/JavaRuntimeObject.h:
- (JSC::Bindings::JavaRuntimeObject::create):
- * bridge/objc/objc_runtime.h:
- (JSC::Bindings::ObjcFallbackObjectImp::create):
- * bridge/objc/objc_runtime.mm:
- (JSC::Bindings::ObjcFallbackObjectImp::ObjcFallbackObjectImp):
- * bridge/qt/qt_instance.cpp:
- (JSC::Bindings::QtRuntimeObject::create):
- (JSC::Bindings::QtRuntimeObject::QtRuntimeObject):
- * bridge/qt/qt_pixmapruntime.cpp:
- (JSC::Bindings::QtPixmapRuntimeObject::create):
- (JSC::Bindings::QtPixmapRuntimeObject::QtPixmapRuntimeObject):
- * bridge/qt/qt_runtime.cpp:
- (JSC::Bindings::QtRuntimeMethod::QtRuntimeMethod):
- (JSC::Bindings::QtRuntimeMetaMethod::QtRuntimeMetaMethod):
- (JSC::Bindings::QtRuntimeConnectionMethod::QtRuntimeConnectionMethod):
- * bridge/qt/qt_runtime.h:
- (JSC::Bindings::QtRuntimeMetaMethod::create):
- (JSC::Bindings::QtRuntimeConnectionMethod::create):
- * bridge/runtime_array.cpp:
- (JSC::RuntimeArray::RuntimeArray):
- * bridge/runtime_array.h:
- (JSC::RuntimeArray::create):
- * bridge/runtime_object.cpp:
-
-2011-08-15 Adam Roben <aroben@apple.com>
-
- Update pages' style and content scale when the window's backing scale factor changes
-
- Unfortunately, I couldn't think of a way to test this in an automated fashion.
-
- Fixes <http://webkit.org/b/66229> <rdar://problem/9906269> WebKit doesn't react to device
- scale factor changes
-
- Reviewed by Simon Fraser.
-
- * WebCore.exp.in: Export Frame::deviceOrScaleFactorChanged.
-
- * page/Frame.cpp:
- (WebCore::Frame::deviceScaleFactorChanged):
- * page/Frame.h:
- Added this new function. We recalc style so that, e.g., device-scale-factor-dependent media
- queries will be reevaluated, and we tell compositing layers about the new scale factor so
- they can rerender at the new resolution.
-
-2011-08-15 Cary Clark <caryclark@google.com>
-
- Revise Skia on Chrome Mac to return fallback fonts.
- https://bugs.webkit.org/show_bug.cgi?id=62986
-
- Reviewed by Darin Fisher.
-
- Since Skia on Chrome Mac uses CoreText to determine
- text metrics, CG font architecture is used to return
- fallback fonts.
-
- This improves many existing layout tests, including
- justify-ideograph-simple and t0905-c414-flt-04-c
-
- * platform/graphics/skia/FontSkia.cpp:
- (WebCore::Font::canReturnFallbackFontsForComplexText):
-
-2011-08-15 Aaron Boodman <aa@chromium.org>
-
- Pass additional details to client in didCreateIsolatedContext
- https://bugs.webkit.org/show_bug.cgi?id=66037
-
- Reviewed by Darin Fisher.
-
- * bindings/v8/IsolatedWorld.cpp:
- (WebCore::IsolatedWorld::IsolatedWorld):
- * bindings/v8/IsolatedWorld.h:
- (WebCore::IsolatedWorld::create):
- (WebCore::IsolatedWorld::id):
- * bindings/v8/V8IsolatedContext.cpp:
- (WebCore::V8IsolatedContext::V8IsolatedContext):
- * bindings/v8/V8IsolatedContext.h:
- * bindings/v8/V8Proxy.cpp:
- (WebCore::V8Proxy::evaluateInIsolatedWorld):
- * loader/EmptyClients.h:
- (WebCore::EmptyFrameLoaderClient::didCreateIsolatedScriptContext):
- * loader/FrameLoaderClient.h:
-
-2011-08-15 Chris Rogers <crogers@google.com>
-
- Add shell implementation for Web Audio API's MediaElementAudioSourceNode
- https://bugs.webkit.org/show_bug.cgi?id=66175
-
- Reviewed by Kenneth Russell.
-
- Test: webaudio/mediaelementaudiosourcenode.html
-
- * DerivedSources.make:
- * WebCore.gypi:
- * WebCore.xcodeproj/project.pbxproj:
- * html/HTMLMediaElement.idl:
- * webaudio/AudioContext.cpp:
- (WebCore::AudioContext::createMediaElementSource):
- * webaudio/AudioContext.h:
- * webaudio/AudioContext.idl:
- * webaudio/AudioNode.h:
- * webaudio/MediaElementAudioSourceNode.cpp: Added.
- (WebCore::MediaElementAudioSourceNode::create):
- (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode):
- (WebCore::MediaElementAudioSourceNode::process):
- (WebCore::MediaElementAudioSourceNode::reset):
- * webaudio/MediaElementAudioSourceNode.h: Added.
- (WebCore::MediaElementAudioSourceNode::mediaElement):
- * webaudio/MediaElementAudioSourceNode.idl: Added.
-
-2011-08-15 Emil A Eklund <eae@chromium.org>
-
- Switch mouse events to to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=66179
-
- Reviewed by Eric Seidel.
-
- Convert mouse events to new layout abstraction as a part of the ongoing
- conversion work.
-
- No new tests, no new functionality.
-
- * dom/MouseRelatedEvent.cpp:
- (WebCore::contentsScrollOffset):
- (WebCore::MouseRelatedEvent::MouseRelatedEvent):
- (WebCore::MouseRelatedEvent::initCoordinates):
- (WebCore::MouseRelatedEvent::computePageLocation):
- (WebCore::MouseRelatedEvent::computeRelativePosition):
- (WebCore::MouseRelatedEvent::pageLocation):
- * dom/MouseRelatedEvent.h:
- (WebCore::MouseRelatedEvent::screenLocation):
- (WebCore::MouseRelatedEvent::clientLocation):
- (WebCore::MouseRelatedEvent::absoluteLocation):
- (WebCore::MouseRelatedEvent::setAbsoluteLocation):
- * page/EventHandler.cpp:
- (WebCore::EventHandler::clear):
- (WebCore::EventHandler::handleMousePressEventSingleClick):
- (WebCore::selectionExtentRespectingEditingBoundary):
- (WebCore::EventHandler::hitTestResultAtPoint):
- (WebCore::EventHandler::currentMousePosition):
- (WebCore::documentPointForWindowPoint):
- (WebCore::EventHandler::handleMousePressEvent):
- (WebCore::EventHandler::mouseMoved):
- (WebCore::EventHandler::handleWheelEvent):
- (WebCore::EventHandler::sendContextMenuEvent):
- (WebCore::EventHandler::sendContextMenuEventForKey):
- (WebCore::EventHandler::fakeMouseMoveEventTimerFired):
- (WebCore::EventHandler::dragHysteresisExceeded):
- (WebCore::EventHandler::handleDrag):
- (WebCore::EventHandler::handleTouchEvent):
- * page/EventHandler.h:
- * platform/PlatformMouseEvent.h:
- (WebCore::PlatformMouseEvent::PlatformMouseEvent):
- (WebCore::PlatformMouseEvent::pos):
- (WebCore::PlatformMouseEvent::x):
- (WebCore::PlatformMouseEvent::y):
- (WebCore::PlatformMouseEvent::globalX):
- (WebCore::PlatformMouseEvent::globalY):
- * platform/mac/PlatformMouseEventMac.mm:
- (WebCore::globalPoint):
- (WebCore::pointForEvent):
- (WebCore::globalPointForEvent):
-
-2011-08-15 Ryosuke Niwa <rniwa@webkit.org>
-
- webkit-indent-blockquote is unnecessary
- https://bugs.webkit.org/show_bug.cgi?id=66195
-
- Reviewed by Tony Chang.
-
- Stop adding class="webkit-indent-blockquote" on blockquotes created by execCommand('Indent') and
- execCommand('Outdent'). Also removed the code to add the class attribute in ApplyBlockElementCommand
- since no other class inherited from ApplyBlockElementCommand uses this feature.
-
- * editing/ApplyBlockElementCommand.cpp:
- (WebCore::ApplyBlockElementCommand::ApplyBlockElementCommand):
- (WebCore::ApplyBlockElementCommand::createBlockElement):
- * editing/ApplyBlockElementCommand.h:
- * editing/IndentOutdentCommand.cpp:
- (WebCore::IndentOutdentCommand::IndentOutdentCommand):
-
-2011-08-15 Levi Weintraub <leviw@chromium.org>
-
- Switch remaining SVG Rendering methods to LayoutUnits
- https://bugs.webkit.org/show_bug.cgi?id=66169
-
- Reviewed by Eric Seidel.
-
- Changing remaining integer SVG methods to use the LayoutUnits abstraction.
-
- No tests as no change in functionality.
-
- * rendering/svg/RenderSVGBlock.cpp:
- (WebCore::RenderSVGBlock::visualOverflowRect):
- * rendering/svg/RenderSVGBlock.h:
- * rendering/svg/RenderSVGContainer.cpp:
- (WebCore::RenderSVGContainer::paint):
- * rendering/svg/RenderSVGForeignObject.cpp:
- (WebCore::RenderSVGForeignObject::paint):
- (WebCore::RenderSVGForeignObject::clippedOverflowRectForRepaint):
- (WebCore::RenderSVGForeignObject::computeRectForRepaint):
- * rendering/svg/RenderSVGHiddenContainer.cpp:
- (WebCore::RenderSVGHiddenContainer::paint):
- * rendering/svg/RenderSVGImage.cpp:
- (WebCore::RenderSVGImage::paint):
- * rendering/svg/RenderSVGInlineText.cpp:
- (WebCore::RenderSVGInlineText::linesBoundingBox):
- * rendering/svg/RenderSVGInlineText.h:
- * rendering/svg/RenderSVGModelObject.cpp:
- (WebCore::RenderSVGModelObject::outlineBoundsForRepaint):
- * rendering/svg/RenderSVGPath.cpp:
- (WebCore::RenderSVGPath::paint):
- * rendering/svg/RenderSVGRoot.cpp:
- (WebCore::RenderSVGRoot::localToBorderBoxTransform):
- (WebCore::RenderSVGRoot::parentOriginToBorderBox):
- (WebCore::RenderSVGRoot::borderOriginToContentBox):
- (WebCore::RenderSVGRoot::localToRepaintContainerTransform):
- (WebCore::RenderSVGRoot::localToParentTransform):
- (WebCore::RenderSVGRoot::clippedOverflowRectForRepaint):
- (WebCore::RenderSVGRoot::computeRectForRepaint):
- * rendering/svg/RenderSVGRoot.h:
- * rendering/svg/RenderSVGText.cpp:
- (WebCore::RenderSVGText::paint):
- * rendering/svg/SVGInlineFlowBox.cpp:
- (WebCore::SVGInlineFlowBox::paint):
- * rendering/svg/SVGInlineTextBox.cpp:
- (WebCore::SVGInlineTextBox::paint):
- * rendering/svg/SVGRenderSupport.cpp:
- (WebCore::SVGRenderSupport::clippedOverflowRectForRepaint):
- (WebCore::SVGRenderSupport::computeRectForRepaint):
- * rendering/svg/SVGRenderSupport.h:
- * rendering/svg/SVGRootInlineBox.cpp:
- (WebCore::SVGRootInlineBox::paint):
- (WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation):
- (WebCore::SVGRootInlineBox::layoutChildBoxes):
- (WebCore::SVGRootInlineBox::layoutRootBox):
- (WebCore::SVGRootInlineBox::closestLeafChildForPosition):
- * rendering/svg/SVGRootInlineBox.h:
-
-2011-08-12 Jeff Miller <jeffm@apple.com>
-
- MediaPlayerPrivateAVFoundationCF::playerItemStatus() should return MediaPlayerAVPlayerItemStatusDoesNotExist if there is no AVPlayerItem
- https://bugs.webkit.org/show_bug.cgi?id=66171
-
- MediaPlayerPrivateAVFoundationCF::playerItemStatus() should return MediaPlayerAVPlayerItemStatusDoesNotExist if there is no AVPlayerItem
- to match the Mac implementation in MediaPlayerPrivateAVFoundationObjC. I also added better logging to notificationCallback().
-
- Reviewed by Jon Honeycutt.
-
- No new tests, uses existing media tests.
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::MediaPlayerPrivateAVFoundationCF::playerItemStatus): Return MediaPlayerAVPlayerItemStatusDoesNotExist if no AVPlayerItem.
- (WebCore::AVFWrapper::notificationCallback): Log the name of the received notification.
-
-2011-08-15 Adam Roben <aroben@apple.com>
-
- Rename an instance of pageScaleFactorChanged I missed in r93040
-
- I tried to make a test for this but failed. It would probably have been easier if we dumped
- layers' content scales in layerTreeAsText output.
-
- Followup to <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to
- the device scale factor
-
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::deviceOrPageScaleFactorChanged):
- * platform/graphics/ca/GraphicsLayerCA.h:
- Renamed from pageScaleFactorChanged to match the base class.
-
-2011-08-15 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: [V8] crash upon stepIn while not on pause.
- https://bugs.webkit.org/show_bug.cgi?id=66221
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/InspectorDebuggerAgent.cpp:
- (WebCore::InspectorDebuggerAgent::resume):
- (WebCore::InspectorDebuggerAgent::stepOver):
- (WebCore::InspectorDebuggerAgent::stepInto):
- (WebCore::InspectorDebuggerAgent::stepOut):
- (WebCore::InspectorDebuggerAgent::assertPaused):
- * inspector/InspectorDebuggerAgent.h:
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._stepOverClicked):
- (WebInspector.ScriptsPanel.prototype._stepIntoClicked):
- (WebInspector.ScriptsPanel.prototype._stepOutClicked):
-
-2011-08-15 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: Network panel: display the current search match index in the toolbar.
- https://bugs.webkit.org/show_bug.cgi?id=66051
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkLogView.prototype._highlightNthMatchedResource):
- (WebInspector.NetworkLogView.prototype.performSearch):
- (WebInspector.NetworkPanel):
- (WebInspector.NetworkPanel.prototype._onSearchCountUpdated):
- (WebInspector.NetworkPanel.prototype._onSearchIndexUpdated):
-
-2011-08-10 Adam Roben <aroben@apple.com>
-
- Clear up scale factor terminology
-
- WebKit by and large deals with two scale factors: one intrinsic to the device on which the
- software is running, and one that is per-Page and can be controlled via API calls. This
- patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
- code use those names. It should introduce no behavior changes.
-
- Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
- device scale factor
-
- Reviewed by Simon Fraser.
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
- Removed an unused member. This is unrelated to this patch.
-
- * css/MediaQueryEvaluator.cpp:
- * html/HTMLCanvasElement.cpp:
- * html/HTMLCanvasElement.h:
- * loader/EmptyClients.h:
- * page/Chrome.cpp:
- * page/Chrome.h:
- * page/ChromeClient.h:
- * page/DOMWindow.cpp:
- * page/Frame.cpp:
- * page/Frame.h:
- * platform/graphics/GraphicsLayer.cpp:
- * platform/graphics/GraphicsLayer.h:
- * platform/graphics/GraphicsLayerClient.h:
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- * rendering/RenderInline.cpp:
- * rendering/RenderLayerBacking.cpp:
- * rendering/RenderLayerBacking.h:
- * rendering/RenderLayerCompositor.cpp:
- * rendering/RenderLayerCompositor.h:
- * rendering/RenderObject.cpp:
-
-2011-08-15 Oliver Varga <Varga.Oliver@stud.u-szeged.hu>
-
- Reviewed by Nikolas Zimmermann.
-
- Speed up SVGSMILElement::findInstanceTime.
- https://bugs.webkit.org/show_bug.cgi?id=61025
-
- Replace the linear search to binary search on ordered list because
- the previous searches from the beginning was not efficient.
- Out of index error fixed by Renata Hodovan.
-
- No new tests this is only a performance tweak.
-
- * svg/animation/SVGSMILElement.cpp:
- (WebCore::extractTimeFromVector):
- (WebCore::SVGSMILElement::findInstanceTime):
-
-2011-08-15 Hayato Ito <hayato@chromium.org>
-
- Implement proper handling of focusin/focusout events in regard to shadow DOM boundaries.
- https://bugs.webkit.org/show_bug.cgi?id=64249
-
- Reviewed by Dimitri Glazkov.
-
- Introduces FocusInEventDispatchMediator/FocusOutEventDispatchMediator so
- that we can shrink ancestors of event target node considering shadow
- DOM boundaries before dispatching focusin/focusout events.
-
- Test: fast/dom/shadow/shadow-boundary-events.html
-
- * dom/Document.cpp:
- (WebCore::Document::setFocusedNode):
- * dom/Node.cpp:
- (WebCore::Node::dispatchFocusInEvent):
- (WebCore::Node::dispatchFocusOutEvent):
- (WebCore::Node::dispatchDOMActivateEvent):
- (WebCore::Node::defaultEventHandler):
- * dom/Node.h:
- * dom/UIEvent.cpp:
- (WebCore::FocusInEventDispatchMediator::create):
- (WebCore::FocusInEventDispatchMediator::FocusInEventDispatchMediator):
- (WebCore::FocusInEventDispatchMediator::dispatchEvent):
- (WebCore::FocusOutEventDispatchMediator::create):
- (WebCore::FocusOutEventDispatchMediator::FocusOutEventDispatchMediator):
- (WebCore::FocusOutEventDispatchMediator::dispatchEvent):
- * dom/UIEvent.h:
-
-2011-08-15 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: not all of the properties have valid descriptors on all platforms.
- Includes PropertyDescriptor protocol documentation fixes.
- https://bugs.webkit.org/show_bug.cgi?id=66215
-
- Activations, LocalStorage and some other properties potentially don't have
- valid property descriptors. InjectedScript should use conservative getter in order to
- mitigate this.
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/InjectedScriptSource.js:
- * inspector/Inspector.json:
-
-2011-08-15 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: context menu on the link in the console does not have standard link options.
- https://bugs.webkit.org/show_bug.cgi?id=66214
-
- Reviewed by Yury Semikhatsky.
-
- * English.lproj/localizedStrings.js:
- * inspector/front-end/ConsoleView.js:
- * inspector/front-end/ElementsPanel.js:
- * inspector/front-end/ElementsTreeOutline.js:
- (WebInspector.ElementsTreeOutline.prototype.populateContextMenu):
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkLogView.prototype._contextMenu):
- * inspector/front-end/StylesSidebarPane.js:
- (WebInspector.StylesSidebarPane.prototype._contextMenuEventFired):
- * inspector/front-end/inspector.js:
- (WebInspector.openLinkExternallyLabel):
- (WebInspector.copyLinkAddressLabel):
- (WebInspector.populateHrefContextMenu):
-
-2011-08-14 Pavel Feldman <pfeldman@chromium.org>
-
- Web Inspector: showContextMenu missing in Remote DevTools
- https://bugs.webkit.org/show_bug.cgi?id=63725
-
- Reviewed by Yury Semikhatsky.
-
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * inspector/front-end/ConsoleView.js:
- * inspector/front-end/SoftContextMenu.js: Added.
- (.WebInspector.SoftContextMenu):
- (.WebInspector.SoftContextMenu.prototype.show):
- (.WebInspector.SoftContextMenu.prototype._createMenuItem):
- (.WebInspector.SoftContextMenu.prototype._createSeparator):
- (.WebInspector.SoftContextMenu.prototype._menuItemMouseDown):
- (.WebInspector.SoftContextMenu.prototype._menuItemMouseUp):
- (.WebInspector.SoftContextMenu.prototype._triggerAction):
- (.WebInspector.SoftContextMenu.prototype._menuItemMouseOver):
- (.WebInspector.SoftContextMenu.prototype._menuItemMouseOut):
- (.WebInspector.SoftContextMenu.prototype._highlightMenuItem):
- (.WebInspector.SoftContextMenu.prototype._highlightPrevious):
- (.WebInspector.SoftContextMenu.prototype._highlightNext):
- (.WebInspector.SoftContextMenu.prototype._menuKeyDown):
- (.WebInspector.SoftContextMenu.prototype._glassPaneMouseUp):
- (.WebInspector.SoftContextMenu.prototype._discardMenu):
- (.InspectorFrontendHost.showContextMenu):
- * inspector/front-end/WebKit.qrc:
- * inspector/front-end/inspector.css:
- (.soft-context-menu-glass-pane):
- (.soft-context-menu):
- (.soft-context-menu-item):
- (.soft-context-menu-separator):
- (.soft-context-menu-item-mouse-over):
- * inspector/front-end/inspector.html:
-
-2011-08-13 Abhishek Arya <inferno@chromium.org>
-
- Crash in HTMLTreeBuilder::processAnyOtherEndTagForInBody
- https://bugs.webkit.org/show_bug.cgi?id=66187
-
- Reviewed by Adam Barth.
-
- RefPtr a few ContainerNodes to prevent premature deletion.
-
- Test: fast/html/process-end-tag-for-inbody-crash.html
-
- * html/parser/HTMLTreeBuilder.cpp:
- (WebCore::HTMLTreeBuilder::processCloseWhenNestedTag):
- (WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody):
- (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
-
-2011-08-14 Kalev Lember <kalevlember@gmail.com>
-
- Fix GTK Windows build after r92308.
- https://bugs.webkit.org/show_bug.cgi?id=66140
-
- Reviewed by Xan Lopez.
-
- * config.h: Don't try to include WebCoreHeaderDetection.h for GTK.
-
-2011-08-13 Sam Weinig <sam@webkit.org>
-
- Remove forward declaration of -[WebUndefined dealloc] to appease the bot gods.
-
- * bindings/objc/WebScriptObject.mm:
-
-2011-08-13 Sam Weinig <sam@webkit.org>
-
- Remove assertion from -[WebUndefined dealloc] to try to mollify the bots.
-
- * bindings/objc/WebScriptObject.mm:
- (-[WebUndefined dealloc]):
-
-2011-08-13 Sam Weinig <sam@webkit.org>
-
- Remove unused variables from WebVideoFullscreenController.h
- https://bugs.webkit.org/show_bug.cgi?id=66192
-
- Reviewed by Dan Bernstein.
-
- * platform/mac/WebVideoFullscreenController.h:
- Remove _isWindowLoaded, _savedUIMode and _savedUIOptions which were not used.
-
-2011-08-13 Sam Weinig <sam@webkit.org>
-
- Fix incorrect objective-c initialize in WebCore
- https://bugs.webkit.org/show_bug.cgi?id=66191
-
- Reviewed by David Kilzer.
-
- * accessibility/mac/AccessibilityObjectWrapper.mm:
- (-[AccessibilityObjectWrapper initWithAccessibilityObject:]):
- * rendering/RenderThemeMac.mm:
- (-[WebCoreRenderThemeNotificationObserver initWithTheme:WebCore::]):
- Correctly initialize by assigning to self and nil checking the result.
-
-2011-08-13 Adam Barth <abarth@webkit.org>
-
- Fix clang build.
-
- * platform/chromium/PopupMenuChromium.h:
-
-2011-08-13 David Kilzer <ddkilzer@apple.com>
-
- <http://webkit.org/b/66188> WebCore.xcodeproj has duplicate entries again
-
- Reviewed by Dan Bernstein.
-
- * WebCore.xcodeproj/project.pbxproj: Remove duplicate entries
- by using uniq. Originally noticed by Xcode 4.
-
-2011-08-12 Dan Bernstein <mitz@apple.com>
-
- <rdar://problem/7337717> Add an option to automatically show tooltips (with the full text) over truncated text
- https://bugs.webkit.org/show_bug.cgi?id=66178
-
- Reviewed by Simon Fraser.
-
- * WebCore.exp.in: Export setShowsToolTipOverTruncatedText().
- * page/Chrome.cpp:
- (WebCore::Chrome::setToolTip): If no title is found, and the page is set to show tooltips over
- truncated text, try to set the tooltip to the full text of the truncated text, if any.
- * page/Settings.cpp:
- (WebCore::Settings::Settings): Initialize new member variable.
- (WebCore::Settings::setShowsToolTipOverTruncatedText): Added this setter.
- * page/Settings.h:
- (WebCore::Settings::showsToolTipOverTruncatedText): Added this getter.
- * rendering/HitTestResult.cpp:
- (WebCore::HitTestResult::innerTextIfTruncated): Added. If the inner node or its nearest enclosing
- block has text-overflow: ellipsis and has truncated lines, return the node’s (full) inner text.
- * rendering/HitTestResult.h:
- * rendering/RootInlineBox.h:
- (WebCore::RootInlineBox::hasEllipsisBox): Made this public.
-
-2011-08-12 Stephen White <senorblanco@chromium.org>
-
- Ownership of canvas's GraphicsContext3D should be moved to PlatformContextSkia
- https://bugs.webkit.org/show_bug.cgi?id=66154
-
- Reviewed by Kenneth Russell.
-
- Covered by existing tests in fast/canvas and canvas/philip.
-
- * html/canvas/CanvasRenderingContext2D.cpp:
- (WebCore::CanvasRenderingContext2D::isAccelerated):
- Plumb this call through GraphicsContext::isAcceleratedContext().
- (WebCore::CanvasRenderingContext2D::paintsIntoCanvasBuffer):
- For the ACCELERATED_2D_CANVAS path, plumb this call through
- (the new) GraphicsContext::paintsIntoCanvasBuffer().
- (WebCore::CanvasRenderingContext2D::clearAcceleration):
- (WebCore::CanvasRenderingContext2D::resetAcceleration):
- Remove the use of the m_context3D member; use a temporary instead.
- * html/canvas/CanvasRenderingContext2D.h:
- Remove the m_context3D member.
- * platform/graphics/GraphicsContext.cpp:
- (WebCore::GraphicsContext::isAcceleratedContext):
- (WebCore::GraphicsContext::paintsIntoImageBuffer):
- Implement stub versions of these functions for other platforms.
- * platform/graphics/GraphicsContext.h:
- Expose isAcceleratedContext() to all platforms. Add
- paintsIntoImageBuffer() member function.
- * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
- (WebCore::SharedGraphicsContext3D::create):
- * platform/graphics/gpu/SharedGraphicsContext3D.h:
- * platform/graphics/skia/GraphicsContextSkia.cpp:
- (WebCore::GraphicsContext::setGraphicsContext3D):
- (WebCore::GraphicsContext::isAcceleratedContext):
- (WebCore::GraphicsContext::paintsIntoImageBuffer):
- Basically gut this class leaving only a static creation function.
- * platform/graphics/skia/ImageSkia.cpp:
- (WebCore::paintSkBitmap):
- (WebCore::Image::drawPattern):
- Use isAccelerated() in place of useSkiaGpu().
- * platform/graphics/skia/PlatformContextSkia.cpp:
- (WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):
- (WebCore::PlatformContextSkia::paintsIntoImageBuffer):
- * platform/graphics/skia/PlatformContextSkia.h:
- (WebCore::PlatformContextSkia::isAccelerated):
- Rename useSkiaGpu() to isAccelerated(). Plumb through
- paintsIntoImageBuffer() to GraphicsContext3D.
-
-2011-08-12 Sam Weinig <sam@webkit.org>
-
- Use __builtin_trap() for CRASH when building with clang
- https://bugs.webkit.org/show_bug.cgi?id=66152
-
- Reviewed by Anders Carlsson.
-
- * bindings/js/SerializedScriptValue.cpp:
- (WebCore::CloneBase::fail):
- * bindings/objc/WebScriptObject.mm:
- * platform/mac/BlockExceptions.h:
- * platform/text/cf/StringImplCF.cpp:
- Add NO_RETURN_DUE_TO_ASSERT.
-
- * bridge/IdentifierRep.h:
- Don't define the destructor since it is never called,
-
-2011-08-12 Joseph Pecoraro <joepeck@webkit.org>
-
- Abandoned Memory: Temporary CSS Fonts May Never Be Purged
- https://bugs.webkit.org/show_bug.cgi?id=66153
-
- Reviewed by Dan Bernstein.
-
- No new tests, this is not a functional change.
-
- * css/CSSFontFaceSource.cpp:
- (WebCore::CSSFontFaceSource::getFontData):
- If the CSS font-face is loading from a URL then immediately
- fallback to a system font matching the description, since we
- cannot determine a reasonable family name from the m_string
- URL. The URL could be a dataURI.
-
-2011-08-12 Fady Samuel <fsamuel@chromium.org>
-
- Refactoring of PopupMenuChromium For Readability and Maintainability
- https://bugs.webkit.org/show_bug.cgi?id=66009
-
- Reviewed by Darin Fisher.
-
- Split PopupMenuChromium into three sets of files: PopupMenuChromium.{h|cpp}, PopupContainer.{h|cpp},
- and PopupLisBox.{h|cpp} for readability and maintainability.
-
- No new tests as there's no change in functionality.
-
- * WebCore.gypi:
- * platform/chromium/PopupContainer.cpp: Added.
- (WebCore::constructRelativeMouseEvent):
- (WebCore::constructRelativeWheelEvent):
- (WebCore::PopupContainer::create):
- (WebCore::PopupContainer::PopupContainer):
- (WebCore::PopupContainer::~PopupContainer):
- (WebCore::PopupContainer::layoutAndCalculateWidgetRect):
- (WebCore::PopupContainer::showPopup):
- (WebCore::PopupContainer::hidePopup):
- (WebCore::PopupContainer::notifyPopupHidden):
- (WebCore::PopupContainer::layoutAndGetRTLOffset):
- (WebCore::PopupContainer::handleMouseDownEvent):
- (WebCore::PopupContainer::handleMouseMoveEvent):
- (WebCore::PopupContainer::handleMouseReleaseEvent):
- (WebCore::PopupContainer::handleWheelEvent):
- (WebCore::PopupContainer::handleTouchEvent):
- (WebCore::PopupContainer::handleGestureEvent):
- (WebCore::PopupContainer::handleKeyEvent):
- (WebCore::PopupContainer::hide):
- (WebCore::PopupContainer::paint):
- (WebCore::PopupContainer::paintBorder):
- (WebCore::PopupContainer::isInterestedInEventForKey):
- (WebCore::PopupContainer::chromeClientChromium):
- (WebCore::PopupContainer::showInRect):
- (WebCore::PopupContainer::refresh):
- (WebCore::PopupContainer::isRTL):
- (WebCore::PopupContainer::selectedIndex):
- (WebCore::PopupContainer::menuItemHeight):
- (WebCore::PopupContainer::menuItemFontSize):
- (WebCore::PopupContainer::menuStyle):
- (WebCore::popupData):
- (WebCore::PopupContainer::getSelectedItemToolTip):
- * platform/chromium/PopupContainer.h: Added.
- (WebCore::PopupContainer::listBox):
- (WebCore::PopupContainer::popupType):
- * platform/chromium/PopupListBox.cpp: Added.
- (WebCore::PopupListBox::PopupListBox):
- (WebCore::PopupListBox::handleMouseDownEvent):
- (WebCore::PopupListBox::handleMouseMoveEvent):
- (WebCore::PopupListBox::handleMouseReleaseEvent):
- (WebCore::PopupListBox::handleWheelEvent):
- (WebCore::PopupListBox::isInterestedInEventForKey):
- (WebCore::PopupListBox::handleTouchEvent):
- (WebCore::PopupListBox::handleGestureEvent):
- (WebCore::isCharacterTypeEvent):
- (WebCore::PopupListBox::handleKeyEvent):
- (WebCore::PopupListBox::hostWindow):
- (WebCore::stripLeadingWhiteSpace):
- (WebCore::PopupListBox::typeAheadFind):
- (WebCore::PopupListBox::paint):
- (WebCore::PopupListBox::paintRow):
- (WebCore::PopupListBox::getRowFont):
- (WebCore::PopupListBox::abandon):
- (WebCore::PopupListBox::pointToRowIndex):
- (WebCore::PopupListBox::acceptIndex):
- (WebCore::PopupListBox::selectIndex):
- (WebCore::PopupListBox::setOriginalIndex):
- (WebCore::PopupListBox::getRowHeight):
- (WebCore::PopupListBox::getRowBounds):
- (WebCore::PopupListBox::invalidateRow):
- (WebCore::PopupListBox::scrollToRevealRow):
- (WebCore::PopupListBox::isSelectableItem):
- (WebCore::PopupListBox::clearSelection):
- (WebCore::PopupListBox::selectNextRow):
- (WebCore::PopupListBox::selectPreviousRow):
- (WebCore::PopupListBox::adjustSelectedIndex):
- (WebCore::PopupListBox::hidePopup):
- (WebCore::PopupListBox::updateFromElement):
- (WebCore::PopupListBox::setMaxWidthAndLayout):
- (WebCore::PopupListBox::layout):
- (WebCore::PopupListBox::clear):
- (WebCore::PopupListBox::isPointInBounds):
- * platform/chromium/PopupListBox.h: Added.
- (WebCore::PopupItem::PopupItem):
- (WebCore::PopupListBox::create):
- (WebCore::PopupListBox::selectedIndex):
- (WebCore::PopupListBox::numItems):
- (WebCore::PopupListBox::setBaseWidth):
- (WebCore::PopupListBox::setMaxHeight):
- (WebCore::PopupListBox::setMaxWidth):
- (WebCore::PopupListBox::disconnectClient):
- (WebCore::PopupListBox::items):
- (WebCore::PopupListBox::~PopupListBox):
- (WebCore::PopupListBox::scrollToRevealSelection):
- * platform/chromium/PopupMenuChromium.cpp:
- * platform/chromium/PopupMenuChromium.h:
-
-2011-08-12 Mark Rowe <mrowe@apple.com>
-
- Be more forward-looking in the choice of compiler.
-
- Rubber-stamped by Jon Honeycutt.
-
- * Configurations/CompilerVersion.xcconfig:
-
-2011-08-12 Nat Duca <nduca@chromium.org>
-
- [chromium] Fix comile warning on CCLayerTreeHost
-
- * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
- (WebCore::CCLayerTreeHost::CCLayerTreeHost):
-
-2011-08-12 Ryosuke Niwa <rniwa@webkit.org>
-
- Apple-style-span class seems unnecessary
- https://bugs.webkit.org/show_bug.cgi?id=12248
-
- Reviewed by Justin Garcia.
-
- Stop generating span or font elements with class="Apple-style-span" given WebKit's editing component
- no longer depends on Apple-style-span since r92823 removed the dependency of copy and paste code on
- style spans. WebKit continues to recognize Apple style spans to remove them.
-
- Also renamed isSpanWithoutAttributesOrUnstyleStyleSpan to isSpanWithoutAttributesOrUnstyle*d*StyleSpan.
-
- * editing/ApplyStyleCommand.cpp:
- (WebCore::isLegacyAppleStyleSpan): Renamed from isStyleSpan.
- (WebCore::isSpanWithoutAttributesOrUnstyledStyleSpan): Renamed from isSpanWithoutAttributesOr*Unstyle*StyleSpan.
- (WebCore::createFontElement): No longer adds class="Apple-style-span".
- (WebCore::createStyleSpanElement): Ditto.
- (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange): Calls isSpanWithoutAttributesOrUnstyleStyleSpan
- instead of isUnstyledStyleSpan since there won't be any Apple style spans.
- (WebCore::dummySpanAncestorForNode):
- (WebCore::ApplyStyleCommand::cleanupUnstyledAppleStyleSpans): Ditto.
- (WebCore::ApplyStyleCommand::removeEmbeddingUpToEnclosingBlock): Ditto.
- (WebCore::ApplyStyleCommand::removeImplicitlyStyledElement):
- (WebCore::ApplyStyleCommand::removeCSSStyle):
- * editing/ApplyStyleCommand.h:
- * editing/EditingStyle.cpp:
- (WebCore::EditingStyle::removeStyleFromRulesAndContext): Ditto.
- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline): Calls isLegacyAppleStyleSpan instead
- of isStyleSpan.
- (WebCore::handleStyleSpansBeforeInsertion): Ditto.
- (WebCore::ReplaceSelectionCommand::handleStyleSpans): Ditto.
- (WebCore::ReplaceSelectionCommand::doApply): Ditto.
- * editing/markup.cpp:
- (WebCore::StyledMarkupAccumulator::appendStyleNodeOpenTag): No longer adds class="Apple-style-span".
-
-2011-08-12 Nat Duca <nduca@chromium.org>
-
- [chromium] Fix compositor breakage due to duplicate context creation AND by context-lost
- https://bugs.webkit.org/show_bug.cgi?id=66168
-
- * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
- (WebCore::CCLayerTreeHost::CCLayerTreeHost):
- (WebCore::CCLayerTreeHost::initialize):
-
-2011-08-12 Levi Weintraub <leviw@chromium.org>
-
- Switch RenderMenuList, RenderListBox, and RenderFieldSet to new layout units
- https://bugs.webkit.org/show_bug.cgi?id=66149
-
- Reviewed by Eric Seidel.
-
- Changing RenderMenuList, RenderListBox, and RenderFieldSet to the LayoutUnit
- abstraction from ints.
-
- No tests as no change in functionality.
-
- * rendering/RenderFieldset.cpp:
- (WebCore::RenderFieldset::layoutSpecialExcludedChild):
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::numVisibleItems):
- (WebCore::RenderListBox::listHeight):
- (WebCore::RenderListBox::baselinePosition):
- (WebCore::RenderListBox::itemBoundingBoxRect):
- (WebCore::itemOffsetForAlignment):
- (WebCore::RenderListBox::panScroll):
- (WebCore::RenderListBox::scrollToward):
- (WebCore::RenderListBox::autoscroll):
- (WebCore::RenderListBox::scrollSize):
- (WebCore::RenderListBox::scrollPosition):
- (WebCore::RenderListBox::setScrollOffset):
- (WebCore::RenderListBox::itemHeight):
- (WebCore::RenderListBox::verticalScrollbarWidth):
- (WebCore::RenderListBox::scrollWidth):
- (WebCore::RenderListBox::scrollHeight):
- (WebCore::RenderListBox::scrollLeft):
- (WebCore::RenderListBox::setScrollLeft):
- (WebCore::RenderListBox::scrollTop):
- (WebCore::RenderListBox::setScrollTop):
- (WebCore::RenderListBox::controlClipRect):
- (WebCore::RenderListBox::invalidateScrollbarRect):
- (WebCore::RenderListBox::convertFromScrollbarToContainingView):
- (WebCore::RenderListBox::convertFromContainingViewToScrollbar):
- (WebCore::RenderListBox::contentsSize):
- (WebCore::RenderListBox::currentMousePosition):
- * rendering/RenderListBox.h:
- (WebCore::RenderListBox::scrollCornerRect):
- (WebCore::RenderListBox::invalidateScrollCornerRect):
- * rendering/RenderMenuList.cpp:
- (WebCore::RenderMenuList::controlClipRect):
- (WebCore::RenderMenuList::showPopup):
- * rendering/RenderMenuList.h:
-
-2011-08-12 David Hyatt <hyatt@apple.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=66133
-
- Make hit testing work on RenderRegions. Pass off the hit testing to the RenderFlowThread
- layer tree (just as we did with painting).
-
- Reviewed by Sam Weinig.
-
- Added hit-test-float.html to demonstrate basic hit testing of content flowed into regions.
-
- * rendering/HitTestRequest.h:
- (WebCore::HitTestRequest::type):
- * rendering/RenderFlowThread.cpp:
- (WebCore::RenderFlowThread::hitTestRegion):
- * rendering/RenderFlowThread.h:
- * rendering/RenderRegion.cpp:
- (WebCore::RenderRegion::paintReplaced):
- (WebCore::RenderRegion::nodeAtPoint):
- * rendering/RenderRegion.h:
-
-2011-08-12 Levi Weintraub <leviw@chromium.org>
-
- Switch RenderTable* to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=66146
-
- Reviewed by Eric Seidel.
-
- Converting RenderTable* classes to new LayoutUnits from ints.
-
- No new tests as no new functionality.
-
- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::firstLineBoxBaseline):
- (WebCore::RenderTable::overflowClipRect):
- * rendering/RenderTable.h:
- (WebCore::RenderTable::columnPositions):
- * rendering/RenderTableCol.cpp:
- (WebCore::RenderTableCol::clippedOverflowRectForRepaint):
- * rendering/RenderTableRow.cpp:
- (WebCore::RenderTableRow::clippedOverflowRectForRepaint):
- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::setCellLogicalWidths):
- (WebCore::RenderTableSection::calcRowLogicalHeight):
- (WebCore::RenderTableSection::layoutRows):
- (WebCore::RenderTableSection::calcOuterBorderBefore):
- (WebCore::RenderTableSection::calcOuterBorderAfter):
- (WebCore::RenderTableSection::calcOuterBorderStart):
- (WebCore::RenderTableSection::calcOuterBorderEnd):
- (WebCore::RenderTableSection::firstLineBoxBaseline):
- (WebCore::RenderTableSection::paintObject):
- (WebCore::RenderTableSection::nodeAtPoint):
- * rendering/RenderTableSection.h:
- (WebCore::RenderTableSection::outerBorderBefore):
- (WebCore::RenderTableSection::outerBorderAfter):
- (WebCore::RenderTableSection::outerBorderStart):
- (WebCore::RenderTableSection::outerBorderEnd):
- (WebCore::RenderTableSection::getBaseline):
-
-2011-08-12 Adam Bergkvist <adam.bergkvist@ericsson.com>
-
- Reviewed by Alexey Proskuryakov.
-
- EventSource loader should not buffer data
- https://bugs.webkit.org/show_bug.cgi?id=61863
-
- Disabled buffering in the EventSource loader.
-
- Added a manual test.
-
- * manual-tests/eventsource/eventsource-loader-buffering.html: Added.
- * manual-tests/eventsource/eventsource-loader-buffering.php: Added.
- * page/EventSource.cpp:
- (WebCore::EventSource::connect):
-
-2011-08-11 Pratik Solanki <psolanki@apple.com>
-
- ResourceLoader::didReceiveDataArray() does not handle m_shouldBufferData correctly
- https://bugs.webkit.org/show_bug.cgi?id=65926
-
- Reviewed by Alexey Proskuryakov.
-
- * loader/mac/ResourceLoaderMac.mm:
- (WebCore::ResourceLoader::didReceiveDataArray): Make sure we call the client callbacks when
- m_shouldBufferData is set to false.
-
-2011-08-12 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r92976.
- http://trac.webkit.org/changeset/92976
- https://bugs.webkit.org/show_bug.cgi?id=66159
-
- Does not compile on chromium-win (Requested by abarth|gardener
- on #webkit).
-
- * WebCore.gypi:
- * platform/chromium/PopupContainer.cpp: Removed.
- * platform/chromium/PopupContainer.h: Removed.
- * platform/chromium/PopupListBox.cpp: Removed.
- * platform/chromium/PopupListBox.h: Removed.
- * platform/chromium/PopupMenuChromium.cpp:
- (WebCore::PopupListBox::create):
- (WebCore::PopupListBox::selectedIndex):
- (WebCore::PopupListBox::numItems):
- (WebCore::PopupListBox::setBaseWidth):
- (WebCore::PopupListBox::setMaxHeight):
- (WebCore::PopupListBox::setMaxWidth):
- (WebCore::PopupListBox::disconnectClient):
- (WebCore::PopupListBox::items):
- (WebCore::PopupListBox::PopupListBox):
- (WebCore::PopupListBox::~PopupListBox):
- (WebCore::PopupListBox::scrollToRevealSelection):
- (WebCore::constructRelativeMouseEvent):
- (WebCore::constructRelativeWheelEvent):
- (WebCore::PopupContainer::create):
- (WebCore::PopupContainer::PopupContainer):
- (WebCore::PopupContainer::~PopupContainer):
- (WebCore::PopupContainer::layoutAndCalculateWidgetRect):
- (WebCore::PopupContainer::showPopup):
- (WebCore::PopupContainer::hidePopup):
- (WebCore::PopupContainer::notifyPopupHidden):
- (WebCore::PopupContainer::layoutAndGetRTLOffset):
- (WebCore::PopupContainer::handleMouseDownEvent):
- (WebCore::PopupContainer::handleMouseMoveEvent):
- (WebCore::PopupContainer::handleMouseReleaseEvent):
- (WebCore::PopupContainer::handleWheelEvent):
- (WebCore::PopupContainer::handleTouchEvent):
- (WebCore::PopupContainer::handleGestureEvent):
- (WebCore::PopupContainer::handleKeyEvent):
- (WebCore::PopupContainer::hide):
- (WebCore::PopupContainer::paint):
- (WebCore::PopupContainer::paintBorder):
- (WebCore::PopupContainer::isInterestedInEventForKey):
- (WebCore::PopupContainer::chromeClientChromium):
- (WebCore::PopupContainer::showInRect):
- (WebCore::PopupContainer::refresh):
- (WebCore::PopupContainer::isRTL):
- (WebCore::PopupContainer::selectedIndex):
- (WebCore::PopupContainer::menuItemHeight):
- (WebCore::PopupContainer::menuItemFontSize):
- (WebCore::PopupContainer::menuStyle):
- (WebCore::popupData):
- (WebCore::PopupContainer::getSelectedItemToolTip):
- (WebCore::PopupListBox::handleMouseDownEvent):
- (WebCore::PopupListBox::handleMouseMoveEvent):
- (WebCore::PopupListBox::handleMouseReleaseEvent):
- (WebCore::PopupListBox::handleWheelEvent):
- (WebCore::PopupListBox::isInterestedInEventForKey):
- (WebCore::PopupListBox::handleTouchEvent):
- (WebCore::PopupListBox::handleGestureEvent):
- (WebCore::isCharacterTypeEvent):
- (WebCore::PopupListBox::handleKeyEvent):
- (WebCore::PopupListBox::hostWindow):
- (WebCore::stripLeadingWhiteSpace):
- (WebCore::PopupListBox::typeAheadFind):
- (WebCore::PopupListBox::paint):
- (WebCore::PopupListBox::paintRow):
- (WebCore::PopupListBox::getRowFont):
- (WebCore::PopupListBox::abandon):
- (WebCore::PopupListBox::pointToRowIndex):
- (WebCore::PopupListBox::acceptIndex):
- (WebCore::PopupListBox::selectIndex):
- (WebCore::PopupListBox::setOriginalIndex):
- (WebCore::PopupListBox::getRowHeight):
- (WebCore::PopupListBox::getRowBounds):
- (WebCore::PopupListBox::invalidateRow):
- (WebCore::PopupListBox::scrollToRevealRow):
- (WebCore::PopupListBox::isSelectableItem):
- (WebCore::PopupListBox::clearSelection):
- (WebCore::PopupListBox::selectNextRow):
- (WebCore::PopupListBox::selectPreviousRow):
- (WebCore::PopupListBox::adjustSelectedIndex):
- (WebCore::PopupListBox::hidePopup):
- (WebCore::PopupListBox::updateFromElement):
- (WebCore::PopupListBox::setMaxWidthAndLayout):
- (WebCore::PopupListBox::layout):
- (WebCore::PopupListBox::clear):
- (WebCore::PopupListBox::isPointInBounds):
- * platform/chromium/PopupMenuChromium.h:
- (WebCore::PopupItem::PopupItem):
- (WebCore::PopupContainer::listBox):
- (WebCore::PopupContainer::popupType):
-
-2011-08-12 Andy Estes <aestes@apple.com>
-
- Cancel in onbeforeunload dialog sometime causes a button to stop working.
- https://bugs.webkit.org/show_bug.cgi?id=26211
-
- Reviewed by Alexey Proskuryakov.
-
- Test: fast/loader/form-submission-after-beforeunload-cancel.html
-
- If an onbeforeunload handler cancels a navigation that was triggered by
- a form submission, WebCore's multiple form submission protection
- prevents the form from being submitted a second time even though no
- first submission actually took place. Fix this by clearing
- m_submittedFormURL if the onbeforeunload handler cancels the load. This
- allows the submission to be retried.
-
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::shouldClose): Set m_submittedFormURL to KURL()
- if shouldClose() will return false.
-
-2011-08-12 David Hyatt <hyatt@apple.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=66130
-
- RenderRegions need to paint the entire RenderFlowThread layer tree. Instead of just calling
- paintBlock, make sure RenderRegions paint the flow thread's layer tree instead with the appropriate
- offset.
-
- Fix RenderRegions to derive from RenderReplaced instead of RenderBox, since it simplifies the code.
- They no longer have to subclass their own layout method or worry about all of the painting logic
- for anything other than the content area.
-
- Reviewed by Anders Carlsson.
-
- Existing tests have a layer tree example, and so those results are updated to show the tree now.
-
- * rendering/RenderFlowThread.cpp:
- (WebCore::RenderFlowThread::createFlowThreadStyle):
- (WebCore::RenderFlowThread::paintIntoRegion):
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::collectLayers):
- * rendering/RenderRegion.cpp:
- (WebCore::RenderRegion::RenderRegion):
- (WebCore::RenderRegion::paintReplaced):
- (WebCore::RenderRegion::styleDidChange):
- * rendering/RenderRegion.h:
-
-2011-08-12 Chris Rogers <crogers@google.com>
-
- Fix mac build when web audio is enabled
- https://bugs.webkit.org/show_bug.cgi?id=66150
-
- Unreviewed build fix.
-
- * platform/audio/mac/AudioFileReaderMac.cpp:
- (WebCore::AudioFileReader::createBus):
-
-2011-08-12 Jeff Miller <jeffm@apple.com>
-
- Need to handle kCACFContextNeedsFlushNotification notifications that arrive after the AVFWrapper has been disposed
- https://bugs.webkit.org/show_bug.cgi?id=65724
-
- Instead of using a pointer to the AVFWrapper object as the context for various callbacks, assign each object an
- ID and use that instead. Keep track of the mapping between object IDs and AVFWrapper objects in a HashMap, and manage
- access to this map using a Mutex since it can be accessed from multiple threads. This allows us to actually delete
- AVFWrapper objects instead of leaking them (which we were doing before to prevent crashes).
-
- Reviewed by Eric Carlson.
-
- No new tests, uses existing media tests.
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::AVFWrapper::callbackContext): Added.
- (WebCore::AVFWrapper::AVFWrapper): Initialize m_objectID and add it to the HashMap.
- (WebCore::AVFWrapper::~AVFWrapper): Log object ID and remove obsolete assert.
- (WebCore::AVFWrapper::mapLock): Added.
- (WebCore::AVFWrapper::map): Added.
- (WebCore::AVFWrapper::addToMap): Added.
- (WebCore::AVFWrapper::removeFromMap): Added.
- (WebCore::AVFWrapper::avfWrapperForCallbackContext): Added.
- (WebCore::AVFWrapper::scheduleDisconnectAndDelete): Remove AVFWrapper from HashMap instead of zeroing m_owner.
- (WebCore::AVFWrapper::disconnectAndDeleteAVFWrapper): Use callbackContext(), delete the AVFWrapper here.
- (WebCore::AVFWrapper::createPlayer): Use callbackContext().
- (WebCore::AVFWrapper::createPlayerItem): Use callbackContext().
- (WebCore::AVFWrapper::periodicTimeObserverCallback): Retrieve AVFWrapper using the HashMap.
- (WebCore::AVFWrapper::notificationCallback): Retrieve AVFWrapper using the HashMap.
- (WebCore::AVFWrapper::loadPlayableCompletionCallback): Retrieve AVFWrapper using the HashMap.
- (WebCore::AVFWrapper::checkPlayability): Use callbackContext().
- (WebCore::AVFWrapper::loadMetadataCompletionCallback): Retrieve AVFWrapper using the HashMap.
- (WebCore::AVFWrapper::beginLoadingMetadata): Use callbackContext().
- (WebCore::AVFWrapper::seekCompletedCallback): Retrieve AVFWrapper using the HashMap.
- (WebCore::AVFWrapper::seekToTime): Use callbackContext().
- (WebCore::AVFWrapper::platformLayer): Remove overly noisy LOG().
-
-2011-08-12 Fady Samuel <fsamuel@chromium.org>
-
- Refactoring of PopupMenuChromium
- https://bugs.webkit.org/show_bug.cgi?id=66009
-
- Reviewed by Darin Fisher.
-
- Split PopupMenuChromium into three sets of files: PopupMenuChromium.{h|cpp}, PopupContainer.{h|cpp}, and PopupLisBox.{h|cpp}
- for readability and maintainability.
-
- No new tests as no functionality has changed.
-
- * WebCore.gypi:
- * platform/chromium/PopupContainer.cpp: Added.
- (WebCore::constructRelativeMouseEvent):
- (WebCore::constructRelativeWheelEvent):
- (WebCore::PopupContainer::create):
- (WebCore::PopupContainer::PopupContainer):
- (WebCore::PopupContainer::~PopupContainer):
- (WebCore::PopupContainer::layoutAndCalculateWidgetRect):
- (WebCore::PopupContainer::showPopup):
- (WebCore::PopupContainer::hidePopup):
- (WebCore::PopupContainer::notifyPopupHidden):
- (WebCore::PopupContainer::layoutAndGetRTLOffset):
- (WebCore::PopupContainer::handleMouseDownEvent):
- (WebCore::PopupContainer::handleMouseMoveEvent):
- (WebCore::PopupContainer::handleMouseReleaseEvent):
- (WebCore::PopupContainer::handleWheelEvent):
- (WebCore::PopupContainer::handleTouchEvent):
- (WebCore::PopupContainer::handleGestureEvent):
- (WebCore::PopupContainer::handleKeyEvent):
- (WebCore::PopupContainer::hide):
- (WebCore::PopupContainer::paint):
- (WebCore::PopupContainer::paintBorder):
- (WebCore::PopupContainer::isInterestedInEventForKey):
- (WebCore::PopupContainer::chromeClientChromium):
- (WebCore::PopupContainer::showInRect):
- (WebCore::PopupContainer::refresh):
- (WebCore::PopupContainer::isRTL):
- (WebCore::PopupContainer::selectedIndex):
- (WebCore::PopupContainer::menuItemHeight):
- (WebCore::PopupContainer::menuItemFontSize):
- (WebCore::PopupContainer::menuStyle):
- (WebCore::popupData):
- (WebCore::PopupContainer::getSelectedItemToolTip):
- * platform/chromium/PopupContainer.h: Added.
- (WebCore::PopupContainer::listBox):
- (WebCore::PopupContainer::popupType):
- * platform/chromium/PopupListBox.cpp: Added.
- (WebCore::PopupListBox::PopupListBox):
- (WebCore::PopupListBox::handleMouseDownEvent):
- (WebCore::PopupListBox::handleMouseMoveEvent):
- (WebCore::PopupListBox::handleMouseReleaseEvent):
- (WebCore::PopupListBox::handleWheelEvent):
- (WebCore::PopupListBox::isInterestedInEventForKey):
- (WebCore::PopupListBox::handleTouchEvent):
- (WebCore::PopupListBox::handleGestureEvent):
- (WebCore::isCharacterTypeEvent):
- (WebCore::PopupListBox::handleKeyEvent):
- (WebCore::PopupListBox::hostWindow):
- (WebCore::stripLeadingWhiteSpace):
- (WebCore::PopupListBox::typeAheadFind):
- (WebCore::PopupListBox::paint):
- (WebCore::PopupListBox::paintRow):
- (WebCore::PopupListBox::getRowFont):
- (WebCore::PopupListBox::abandon):
- (WebCore::PopupListBox::pointToRowIndex):
- (WebCore::PopupListBox::acceptIndex):
- (WebCore::PopupListBox::selectIndex):
- (WebCore::PopupListBox::setOriginalIndex):
- (WebCore::PopupListBox::getRowHeight):
- (WebCore::PopupListBox::getRowBounds):
- (WebCore::PopupListBox::invalidateRow):
- (WebCore::PopupListBox::scrollToRevealRow):
- (WebCore::PopupListBox::isSelectableItem):
- (WebCore::PopupListBox::clearSelection):
- (WebCore::PopupListBox::selectNextRow):
- (WebCore::PopupListBox::selectPreviousRow):
- (WebCore::PopupListBox::adjustSelectedIndex):
- (WebCore::PopupListBox::hidePopup):
- (WebCore::PopupListBox::updateFromElement):
- (WebCore::PopupListBox::setMaxWidthAndLayout):
- (WebCore::PopupListBox::layout):
- (WebCore::PopupListBox::clear):
- (WebCore::PopupListBox::isPointInBounds):
- * platform/chromium/PopupListBox.h: Added.
- (WebCore::PopupItem::PopupItem):
- (WebCore::PopupListBox::create):
- (WebCore::PopupListBox::selectedIndex):
- (WebCore::PopupListBox::numItems):
- (WebCore::PopupListBox::setBaseWidth):
- (WebCore::PopupListBox::setMaxHeight):
- (WebCore::PopupListBox::setMaxWidth):
- (WebCore::PopupListBox::disconnectClient):
- (WebCore::PopupListBox::items):
- (WebCore::PopupListBox::~PopupListBox):
- (WebCore::PopupListBox::scrollToRevealSelection):
- * platform/chromium/PopupMenuChromium.cpp:
- * platform/chromium/PopupMenuChromium.h:
-
-2011-08-12 Sam Weinig <sam@webkit.org>
-
- Move compiler specific macros to their own header
- https://bugs.webkit.org/show_bug.cgi?id=66119
-
- Reviewed by Anders Carlsson.
-
- * ForwardingHeaders/wtf/Compiler.h: Added.
-
-2011-08-12 No'am Rosenthal <noam.rosenthal@nokia.com>
-
- [Qt][REGRESSION] composited content doesn't render since r92651
- https://bugs.webkit.org/show_bug.cgi?id=66108
-
- Reviewed by Benjamin Poulain.
-
- Changed the signature for GraphicsLayerTextureMapper::syncCompositingState to match
- the new signature in GraphicsLayer.h.
-
- No new tests. This is a regression that's covered by existing pixel tests.
-
- * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
- (WebCore::GraphicsLayerTextureMapper::syncCompositingState):
- * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
-
-2011-08-12 Alexandru Chiculita <achicu@adobe.com>
-
- Original patch by Mihnea Ovidenie <mihnea@adobe.com>.
- Also contains some improvements done by Dave Hyatt <hyatt@apple.com>.
-
- [CSSRegions]RenderFlowThread should display its content using RenderRegion
- https://bugs.webkit.org/show_bug.cgi?id=65627
-
- RenderFlowThread collects RenderObjects from a flow. These objects are displayed by means
- of RenderRegion objects that get the content from the same flow.
-
- Reviewed by David Hyatt.
-
- Tests: fast/regions/content-flowed-into-regions-dynamically-added.html
- fast/regions/content-flowed-into-regions-dynamically-removed.html
- fast/regions/content-flowed-into-regions-with-dyn-index.html
- fast/regions/content-flowed-into-regions-with-index-dom.html
- fast/regions/content-flowed-into-regions-with-index.html
- fast/regions/content-flowed-into-regions.html
- fast/regions/flow-content-basic-vertical-rl.html
- fast/regions/flow-content-basic-vertical.html
-
- * dom/Node.cpp:
- (WebCore::Node::diff):
- * rendering/RenderFlowThread.cpp:
- (WebCore::RenderFlowThread::RenderFlowThread):
- (WebCore::RenderFlowThread::createFlowThreadStyle):
- (WebCore::RenderFlowThread::styleDidChange):
- (WebCore::compareRenderRegions):
- (WebCore::RenderFlowThread::addRegionToThread):
- (WebCore::RenderFlowThread::removeRegionFromThread):
- (WebCore::RenderFlowThread::layout):
- (WebCore::RenderFlowThread::computeLogicalWidth):
- (WebCore::RenderFlowThread::computeLogicalHeight):
- (WebCore::RenderFlowThread::paintIntoRegion):
- * rendering/RenderFlowThread.h:
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::createObject):
- * rendering/RenderRegion.cpp:
- (WebCore::RenderRegion::RenderRegion):
- (WebCore::RenderRegion::~RenderRegion):
- (WebCore::RenderRegion::paint):
- (WebCore::RenderRegion::styleDidChange):
- * rendering/RenderRegion.h:
- (WebCore::RenderRegion::setRegionRect):
- (WebCore::RenderRegion::regionRect):
- * rendering/RenderTreeAsText.cpp:
- (WebCore::writeLayers):
- * rendering/RenderView.cpp:
- (WebCore::RenderView::styleDidChange):
- (WebCore::RenderView::renderFlowThreadWithName):
- * rendering/RenderView.h:
-
-2011-08-12 Abhishek Arya <inferno@chromium.org>
-
- Crash in WebCore::editingIgnoresContent
- https://bugs.webkit.org/show_bug.cgi?id=66125
-
- Reviewed by Ryosuke Niwa.
-
- RefPtr a few nodes in case they get blown away in
- dispatchEvent calls.
-
- Test: editing/selection/select-start-remove-root-crash.html
-
- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::selectAll):
- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::ReplacementFragment::ReplacementFragment):
-
-2011-08-11 Pavel Podivilov <podivilov@chromium.org>
-
- Web Inspector: properly update console message count in source frames and resources panel.
- https://bugs.webkit.org/show_bug.cgi?id=57009
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.messageRepeatCountUpdated):
- * inspector/front-end/SourceFrame.js:
- (WebInspector.SourceFrame.prototype.show):
- (WebInspector.SourceFrame.prototype.addMessageToSource):
- (WebInspector.SourceFrame.prototype._updateMessageRepeatCount):
-
-2011-08-12 Pavel Feldman <pfeldman@google.com>
-
- Not reviewed: follow up to inspector test breakage.
-
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._showScriptFoldersSettingChanged):
-
-2011-08-12 Yury Semikhatsky <yurys@chromium.org>
-
- Web Inspector: expand exception properties when wrapping it as object.
- https://bugs.webkit.org/show_bug.cgi?id=66035
-
- Use toString() value as a description for value thrown during eval.
-
- Reviewed by Pavel Feldman.
-
- * inspector/InjectedScriptSource.js:
- (.):
-
-2011-08-12 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: make folders optional in the Scripts' panel file selector.
- https://bugs.webkit.org/show_bug.cgi?id=66100
-
- Reviewed by Yury Semikhatsky.
-
- * English.lproj/localizedStrings.js:
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._showScriptFoldersSettingChanged):
- (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.insertOrdered.optionCompare):
- (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.insertOrdered):
- (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect):
- (WebInspector.ScriptsPanel.prototype.reset):
- (WebInspector.ScriptsPanel.prototype._resetFilesSelect):
- * inspector/front-end/Settings.js:
- (WebInspector.Settings):
- * inspector/front-end/SettingsScreen.js:
- (WebInspector.SettingsScreen):
-
-2011-08-12 Pavel Podivilov <podivilov@chromium.org>
-
- Web Inspector: add space between error info and error message in source frame message bubble.
- https://bugs.webkit.org/show_bug.cgi?id=65069
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleMessage.prototype._formatMessage):
-
-2011-08-12 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: console loses focus upon reloading the page from the inspector.
- https://bugs.webkit.org/show_bug.cgi?id=66068
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/front-end/AuditsPanel.js:
- (WebInspector.AuditsPanel.prototype._auditFinishedCallback):
- (WebInspector.AuditsPanel.prototype._clearButtonClicked):
- * inspector/front-end/DataGrid.js:
- (WebInspector.DataGrid.prototype.revealAndSelect):
- (WebInspector.DataGridNode.prototype.revealAndSelect):
- * inspector/front-end/DetailedHeapshotView.js:
- (WebInspector.DetailedHeapshotView.prototype._jumpToSearchResult):
- * inspector/front-end/ElementsPanel.js:
- (WebInspector.ElementsPanel.this.treeOutline.selectedNodeChanged):
- (WebInspector.ElementsPanel.get this):
- (WebInspector.ElementsPanel):
- (WebInspector.ElementsPanel.prototype._reset):
- (WebInspector.ElementsPanel.prototype._setDocument.selectNode):
- (WebInspector.ElementsPanel.prototype._setDocument.selectLastSelectedNode):
- (WebInspector.ElementsPanel.prototype._setDocument):
- (WebInspector.ElementsPanel.prototype._domWordWrapSettingChanged):
- (WebInspector.ElementsPanel.prototype.populateHrefContextMenu):
- (WebInspector.ElementsPanel.prototype.switchToAndFocus):
- (WebInspector.ElementsPanel.prototype.selectedDOMNode):
- (WebInspector.ElementsPanel.prototype.selectDOMNode):
- (WebInspector.ElementsPanel.prototype.updateModifiedNodes):
- (WebInspector.ElementsPanel.prototype.updateBreadcrumb.selectCrumbFunction):
- (WebInspector.ElementsPanel.prototype.updateBreadcrumb):
- (WebInspector.ElementsPanel.prototype.updateStyles):
- (WebInspector.ElementsPanel.prototype.updateMetrics):
- (WebInspector.ElementsPanel.prototype.updateProperties):
- (WebInspector.ElementsPanel.prototype.updateEventListeners):
- (WebInspector.ElementsPanel.prototype.handleCopyEvent):
- (WebInspector.ElementsPanel.prototype.updateFocusedNode):
- * inspector/front-end/ElementsTreeOutline.js:
- (WebInspector.ElementsTreeOutline):
- (WebInspector.ElementsTreeOutline.prototype.selectedDOMNode):
- (WebInspector.ElementsTreeOutline.prototype.selectDOMNode):
- (WebInspector.ElementsTreeOutline.prototype.update):
- (WebInspector.ElementsTreeOutline.prototype._revealAndSelectNode):
- (WebInspector.ElementsTreeOutline.prototype._ondrop.callback):
- (WebInspector.ElementsTreeOutline.prototype._ondrop):
- (WebInspector.ElementsTreeElement.prototype._updateChildren.updateChildrenOfNode):
- (WebInspector.ElementsTreeElement.prototype._updateChildren):
- (WebInspector.ElementsTreeElement.prototype.onselect):
- (WebInspector.ElementsTreeElement.prototype.selectOnMouseDown):
- (WebInspector.ElementsTreeElement.prototype._startEditingTarget):
- (WebInspector.ElementsTreeElement.prototype._startEditing):
- * inspector/front-end/Panel.js:
- (WebInspector.Panel.prototype.reset):
- * inspector/front-end/ProfileView.js:
- (WebInspector.CPUProfileView.prototype._jumpToSearchResult):
- * inspector/front-end/ProfilesPanel.js:
- (WebInspector.ProfilesPanel.prototype._addProfileHeader):
- (WebInspector.ProfilesPanel.prototype.showProfile):
- (WebInspector.ProfileSidebarTreeElement.prototype.onselect):
- * inspector/front-end/ResourcesPanel.js:
- (WebInspector.ResourcesPanel.prototype._initDefaultSelection.get if):
- (WebInspector.ResourcesPanel.prototype._initDefaultSelection):
- (WebInspector.ResourcesPanel.prototype.reset):
- (WebInspector.ResourcesPanel.prototype.showResource):
- * inspector/front-end/StylesSidebarPane.js:
- (WebInspector.StylePropertiesSection.prototype.editingSelectorCommitted):
- (WebInspector.StylePropertyTreeElement.prototype.updateTitle.linkifyURL):
- * inspector/front-end/TimelinePanel.js:
- (WebInspector.TimelinePanel.prototype._createTopPane):
- * inspector/front-end/inspector.js:
- * inspector/front-end/inspectorCommon.css:
- (body):
- * inspector/front-end/treeoutline.js:
- (TreeOutline.prototype.revealAndSelect):
- (TreeElement.prototype.selectOnMouseDown):
- (TreeElement.prototype.revealAndSelect):
- (TreeElement.prototype.select):
-
-2011-08-12 Yury Semikhatsky <yurys@chromium.org>
-
- Unreviewed. Inspector clean-up: remove unused method declaration from InspectorAgent.h
-
- * inspector/InspectorAgent.h:
-
-2011-08-12 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: Network resource identifier should have RequestId type and requestId name in protocol.
- https://bugs.webkit.org/show_bug.cgi?id=66061
-
- Reviewed by Pavel Feldman.
-
- * inspector/ConsoleMessage.cpp:
- (WebCore::ConsoleMessage::ConsoleMessage):
- (WebCore::ConsoleMessage::addToFrontend):
- * inspector/ConsoleMessage.h:
- * inspector/IdentifiersFactory.cpp:
- (WebCore::IdentifiersFactory::requestId):
- * inspector/IdentifiersFactory.h:
- * inspector/Inspector.json:
- * inspector/InspectorConsoleAgent.cpp:
- (WebCore::InspectorConsoleAgent::didReceiveResponse):
- (WebCore::InspectorConsoleAgent::didFailLoading):
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::willSendRequest):
- (WebCore::InspectorResourceAgent::markResourceAsCached):
- (WebCore::InspectorResourceAgent::didReceiveResponse):
- (WebCore::InspectorResourceAgent::didReceiveData):
- (WebCore::InspectorResourceAgent::didFinishLoading):
- (WebCore::InspectorResourceAgent::didFailLoading):
- (WebCore::InspectorResourceAgent::didLoadResourceFromMemoryCache):
- (WebCore::InspectorResourceAgent::setInitialScriptContent):
- (WebCore::InspectorResourceAgent::didReceiveScriptResponse):
- (WebCore::InspectorResourceAgent::setInitialXHRContent):
- (WebCore::InspectorResourceAgent::didReceiveXHRResponse):
- (WebCore::InspectorResourceAgent::didCreateWebSocket):
- (WebCore::InspectorResourceAgent::willSendWebSocketHandshakeRequest):
- (WebCore::InspectorResourceAgent::didReceiveWebSocketHandshakeResponse):
- (WebCore::InspectorResourceAgent::didCloseWebSocket):
- (WebCore::InspectorResourceAgent::getResourceContent):
- * inspector/InspectorResourceAgent.h:
- * inspector/InspectorTimelineAgent.cpp:
- (WebCore::InspectorTimelineAgent::willSendResourceRequest):
- (WebCore::InspectorTimelineAgent::willReceiveResourceData):
- (WebCore::InspectorTimelineAgent::willReceiveResourceResponse):
- (WebCore::InspectorTimelineAgent::didFinishLoadingResource):
- * inspector/NetworkResourcesData.cpp:
- (WebCore::NetworkResourcesData::ResourceData::ResourceData):
- (WebCore::NetworkResourcesData::resourceCreated):
- (WebCore::NetworkResourcesData::responseReceived):
- (WebCore::NetworkResourcesData::setResourceType):
- (WebCore::NetworkResourcesData::resourceType):
- (WebCore::NetworkResourcesData::setResourceContent):
- (WebCore::NetworkResourcesData::maybeAddResourceData):
- (WebCore::NetworkResourcesData::maybeDecodeDataToContent):
- (WebCore::NetworkResourcesData::addCachedResource):
- (WebCore::NetworkResourcesData::addResourceSharedBuffer):
- (WebCore::NetworkResourcesData::data):
- (WebCore::NetworkResourcesData::clear):
- (WebCore::NetworkResourcesData::ensureNoDataForRequestId):
- (WebCore::NetworkResourcesData::ensureFreeSpace):
- * inspector/NetworkResourcesData.h:
- (WebCore::NetworkResourcesData::ResourceData::requestId):
- * inspector/TimelineRecordFactory.cpp:
- (WebCore::TimelineRecordFactory::createResourceSendRequestData):
- (WebCore::TimelineRecordFactory::createResourceReceiveResponseData):
- (WebCore::TimelineRecordFactory::createResourceFinishData):
- (WebCore::TimelineRecordFactory::createReceiveResourceData):
- * inspector/TimelineRecordFactory.h:
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.messageAdded):
- * inspector/front-end/ExtensionAPI.js:
- (WebInspector.injectedExtensionAPI.Resources.prototype.getHAR):
- * inspector/front-end/ExtensionServer.js:
- (WebInspector.ExtensionServer):
- (WebInspector.ExtensionServer.prototype._notifyResourceFinished):
- (WebInspector.ExtensionServer.prototype._onGetHAR):
- (WebInspector.ExtensionServer.prototype._requestId):
- * inspector/front-end/NetworkManager.js:
- (WebInspector.NetworkManager.prototype.requestContent):
- (WebInspector.NetworkDispatcher.prototype.requestWillBeSent):
- (WebInspector.NetworkDispatcher.prototype.resourceMarkedAsCached):
- (WebInspector.NetworkDispatcher.prototype.responseReceived):
- (WebInspector.NetworkDispatcher.prototype.dataReceived):
- (WebInspector.NetworkDispatcher.prototype.loadingFinished):
- (WebInspector.NetworkDispatcher.prototype.loadingFailed):
- (WebInspector.NetworkDispatcher.prototype.resourceLoadedFromMemoryCache):
- (WebInspector.NetworkDispatcher.prototype.webSocketCreated):
- (WebInspector.NetworkDispatcher.prototype.webSocketWillSendHandshakeRequest):
- (WebInspector.NetworkDispatcher.prototype.webSocketHandshakeResponseReceived):
- (WebInspector.NetworkDispatcher.prototype.webSocketClosed):
- (WebInspector.NetworkDispatcher.prototype._appendRedirect):
- (WebInspector.NetworkDispatcher.prototype._startResource):
- (WebInspector.NetworkDispatcher.prototype._finishResource):
- (WebInspector.NetworkDispatcher.prototype._createResource):
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkLogView.prototype._appendResource):
- (WebInspector.NetworkLogView.prototype._matchResource):
- (WebInspector.NetworkLogView.prototype._updateSearchMatchedListAfterRequestIdChanged):
- (WebInspector.NetworkLogView.prototype.performSearch):
- * inspector/front-end/Resource.js:
- (WebInspector.Resource):
- * inspector/front-end/TimelinePanel.js:
- (WebInspector.TimelinePanel.prototype._addRecordToTimeline):
- (WebInspector.TimelinePanel.prototype._findParentRecord):
- (WebInspector.TimelinePanel.FormattedRecord):
-
-2011-08-11 Hans Wennborg <hans@chromium.org>
-
- IndexedDB: Object store records don't need to have keys in all indexes
- https://bugs.webkit.org/show_bug.cgi?id=66049
-
- Reviewed by Tony Chang.
-
- Allow inserting records in an object store even though they don't
- yield keys in some index. The spec has changed in this regard.
-
- * storage/IDBObjectStoreBackendImpl.cpp:
- (WebCore::IDBObjectStoreBackendImpl::putInternal):
-
-2011-08-10 Hans Wennborg <hans@chromium.org>
-
- IndexedDB: Overwriting key in unique index should be possible
- https://bugs.webkit.org/show_bug.cgi?id=65993
-
- Reviewed by Tony Chang.
-
- It should be possible to overwrite an object store record even if
- there is a derived key for that record in an index with the unique flag set.
-
- * storage/IDBBackingStore.h:
- * storage/IDBIndexBackendImpl.cpp:
- (WebCore::IDBIndexBackendImpl::addingKeyAllowed):
- * storage/IDBIndexBackendImpl.h:
- * storage/IDBLevelDBBackingStore.cpp:
- (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
- * storage/IDBLevelDBBackingStore.h:
- * storage/IDBObjectStoreBackendImpl.cpp:
- (WebCore::IDBObjectStoreBackendImpl::putInternal):
- * storage/IDBSQLiteBackingStore.cpp:
- (WebCore::IDBSQLiteBackingStore::keyExistsInIndex):
- * storage/IDBSQLiteBackingStore.h:
-
-2011-08-11 Yuta Kitamura <yutak@chromium.org>
-
- WebSocket: Implement "protocol" attribute
- https://bugs.webkit.org/show_bug.cgi?id=65248
-
- Reviewed by Kent Tamura.
-
- Tests: http/tests/websocket/tests/hybi/no-subprotocol.html (added)
- http/tests/websocket/tests/hybi/set-protocol.html (added)
- http/tests/websocket/tests/hybi/workers/no-subprotocol.html (added)
- http/tests/websocket/tests/hixie76/undefined-attributes.html (updated)
- http/tests/websocket/tests/hybi/multiple-subprotocols.html (updated)
- http/tests/websocket/tests/hybi/workers/multiple-subprotocols.html (updated)
-
- * websockets/ThreadableWebSocketChannel.h:
- Added subprotocol() function. This function is named differently from the counterpart of
- WebSocket class, because the name "protocol" can be confused with the WebSocket protocol.
- Added m_useHixie76Protocol and m_subprotocol, because these value may be used after
- m_channel has been released. Using bool should be fine, because boolean literals do not
- appear in ambiguous context.
- * websockets/ThreadableWebSocketChannelClientWrapper.cpp:
- (WebCore::ThreadableWebSocketChannelClientWrapper::ThreadableWebSocketChannelClientWrapper):
- (WebCore::ThreadableWebSocketChannelClientWrapper::subprotocol):
- (WebCore::ThreadableWebSocketChannelClientWrapper::setSubprotocol):
- * websockets/ThreadableWebSocketChannelClientWrapper.h:
- * websockets/WebSocket.cpp:
- (WebCore::WebSocket::WebSocket):
- (WebCore::WebSocket::connect):
- (WebCore::WebSocket::protocol):
- The "protocol" attribute is available only when the hybi-10 protocol is chosen.
- (WebCore::WebSocket::binaryType):
- (WebCore::WebSocket::setBinaryType):
- (WebCore::WebSocket::didConnect):
- * websockets/WebSocket.h:
- * websockets/WebSocket.idl:
- * websockets/WebSocketChannel.cpp:
- (WebCore::WebSocketChannel::subprotocol):
- * websockets/WebSocketChannel.h:
- * websockets/WorkerThreadableWebSocketChannel.cpp:
- (WebCore::WorkerThreadableWebSocketChannel::subprotocol):
- (WebCore::workerContextDidConnect):
- Subprotocol value is saved in the client wrapper object after the WebSocket connection is
- established.
- (WebCore::WorkerThreadableWebSocketChannel::Peer::didConnect):
- * websockets/WorkerThreadableWebSocketChannel.h:
-
-2011-08-11 Hayato Ito <hayato@chromium.org>
-
- Implement proper handling of events with a related target in regard to shadow DOM boundaries.
- https://bugs.webkit.org/show_bug.cgi?id=65899
-
- Reviewed by Dimitri Glazkov.
-
- Fixes issues in the following corner cases:
- 1. When both a target node and a relatedTarget node are immediate children of
- the same shadow root, an event is not dispatched.
- 2. If a target node is an ancestor of a relatedTarget node, crossing
- shadow boundaries, or vice verse, an event is not dispatched or wrongly
- dispatched.
-
- Test: fast/dom/shadow/shadow-boundary-events.html
-
- * dom/EventDispatcher.cpp:
- (WebCore::EventDispatcher::adjustToShadowBoundaries):
-
-2011-08-11 John Bauman <jbauman@chromium.org>
-
- Readback composited webgl results for printing
- https://bugs.webkit.org/show_bug.cgi?id=65658
-
- Reviewed by James Robinson.
-
- The real composited results may be locked inside the compositor
- context's version of a texture because the drawing buffer was
- automatically cleared, so read from there to get the actual presented
- version to draw.
-
- * html/canvas/WebGLRenderingContext.cpp:
- (WebCore::WebGLRenderingContext::paintRenderingResultsToCanvas):
- * platform/graphics/GraphicsContext3D.h:
- * platform/graphics/chromium/Extensions3DChromium.h:
- * platform/graphics/chromium/WebGLLayerChromium.cpp:
- (WebCore::WebGLLayerChromium::paintRenderedResultsToCanvas):
- * platform/graphics/chromium/WebGLLayerChromium.h:
- * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
- (WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
-
-2011-08-11 Andrew Wason <rectalogic@rectalogic.com>
-
- REGRESSION: Qt JavaScript bridge signal connection fails
- https://bugs.webkit.org/show_bug.cgi?id=66097
-
- Reviewed by Gavin Barraclough.
-
- Tests in WebKit/qt/tests/qwebframe
-
- Call toThisObject() on exec->lexicalGlobalObject() so the correct
- object is passed to the JS signal handler.
-
- * bridge/qt/qt_runtime.cpp:
- (JSC::Bindings::QtRuntimeConnectionMethod::call):
-
-2011-08-11 Nico Weber <thakis@chromium.org>
-
- Remove incorrect comment about m_wheelEventHandlerCount
- https://bugs.webkit.org/show_bug.cgi?id=66117
-
- Reviewed by Simon Fraser.
-
- From what I can tell, this number is changed only in
- Frame::notifyChromeClientWheelEventHandlerCountChanged(),
- and there it just reads the number modified in
- Document::didAdd/RemoveWheelEventHandler(). So this is just the number
- of event handlers (and not related to horizontal scrollbars), and the
- variable name expresses that already.
-
- * dom/Document.h:
-
-2011-08-11 James Robinson <jamesr@chromium.org>
-
- [chromium] Defer managed texture creation and destruction until updateCompositorResources
- https://bugs.webkit.org/show_bug.cgi?id=64772
-
- Reviewed by Kenneth Russell.
-
- This adds support for deferring GraphicsContext3D calls for texture creation and destruction for managed
- textures and defers these calls until updateCompositorResources() for contents textures. The primary benefit of
- this change is that it decouples managing the texture budget for the next frame (which has to happen before
- painting layer contents) from the actual GL calls that create/destroy textures. That way, in the threaded
- compositing world we can continue to use textures from the previous frame while software painting contents for
- the next frame into software buffers or SkPictures.
-
- Also renames LayerTexture to ManagedTexture to better reflect what it is. Not all ManagedTextures we create are
- necessarily associated with layers, but they are all managed by a TextureManager.
-
- Covered by compositing/ layout tests.
-
- * WebCore.gypi:
- * platform/graphics/chromium/ContentLayerChromium.h:
- * platform/graphics/chromium/ImageLayerChromium.cpp:
- (WebCore::ImageLayerTextureUpdater::updateTextureRect):
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::LayerRendererChromium::releaseTextures):
- (WebCore::LayerRendererChromium::drawLayers):
- (WebCore::LayerRendererChromium::updateLayers):
- (WebCore::LayerRendererChromium::getOffscreenLayerTexture):
- (WebCore::LayerRendererChromium::useRenderSurface):
- (WebCore::LayerRendererChromium::initializeSharedObjects):
- * platform/graphics/chromium/LayerRendererChromium.h:
- * platform/graphics/chromium/LayerTextureUpdater.h:
- * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
- (WebCore::LayerTextureUpdaterBitmap::updateTextureRect):
- (WebCore::LayerTextureUpdaterSkPicture::updateTextureRect):
- * platform/graphics/chromium/LayerTextureUpdaterCanvas.h:
- * platform/graphics/chromium/LayerTilerChromium.cpp:
- (WebCore::LayerTilerChromium::getSingleTexture):
- (WebCore::LayerTilerChromium::createTile):
- (WebCore::LayerTilerChromium::updateRect):
- (WebCore::LayerTilerChromium::drawTiles):
- * platform/graphics/chromium/LayerTilerChromium.h:
- (WebCore::LayerTilerChromium::Tile::Tile):
- (WebCore::LayerTilerChromium::Tile::texture):
- * platform/graphics/chromium/ManagedTexture.cpp: Renamed from Source/WebCore/platform/graphics/chromium/LayerTexture.cpp.
- (WebCore::ManagedTexture::ManagedTexture):
- (WebCore::ManagedTexture::~ManagedTexture):
- (WebCore::ManagedTexture::isValid):
- (WebCore::ManagedTexture::reserve):
- (WebCore::ManagedTexture::unreserve):
- (WebCore::ManagedTexture::bindTexture):
- (WebCore::ManagedTexture::framebufferTexture2D):
- * platform/graphics/chromium/ManagedTexture.h: Renamed from Source/WebCore/platform/graphics/chromium/LayerTexture.h.
- (WebCore::ManagedTexture::create):
- (WebCore::ManagedTexture::format):
- (WebCore::ManagedTexture::isReserved):
- * platform/graphics/chromium/RenderSurfaceChromium.h:
- * platform/graphics/chromium/TextureManager.cpp:
- (WebCore::TextureManager::TextureManager):
- (WebCore::TextureManager::deleteEvictedTextures):
- (WebCore::TextureManager::removeTexture):
- (WebCore::TextureManager::allocateTexture):
- (WebCore::TextureManager::requestTexture):
- * platform/graphics/chromium/TextureManager.h:
- (WebCore::TextureManager::create):
- (WebCore::TextureManager::setAssociatedContextDebugOnly):
- (WebCore::TextureManager::associatedContextDebugOnly):
- * platform/graphics/chromium/TiledLayerChromium.h:
- * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
- (WebCore::CCHeadsUpDisplay::draw):
- * platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
- * platform/graphics/chromium/cc/CCRenderSurface.cpp:
- (WebCore::CCRenderSurface::prepareContentsTexture):
- (WebCore::CCRenderSurface::drawSurface):
- * platform/graphics/chromium/cc/CCRenderSurface.h:
- (WebCore::CCRenderSurface::contentsTexture):
- * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
- (WebCore::CCTiledLayerImpl::bindContentsTexture):
-
-2011-08-11 David Kilzer <ddkilzer@apple.com>
-
- <http://webkit.org/b/66113> [CFNetwork] willCacheResponse() leaks CFCachedURLResponseRef if delegate changes CacheStoragePolicy
-
- Reviewed by Joseph Pecoraro.
-
- This first appeared in ToT WebKit r23462 (Windows merge).
-
- * platform/network/cf/ResourceHandleCFNet.cpp:
- (WebCore::willCacheResponse): Only retain cachedResponse if we
- are returning the same object passed into the method, otherwise
- we end up double-retaining the new object created.
-
-2011-08-05 Nat Duca <nduca@chromium.org>
-
- [chromium] Make WebViewImpl point at CCLayerTreeHost and related separation
- https://bugs.webkit.org/show_bug.cgi?id=65791
-
- With this patch, LayerRendererChromium becomes increasingly responsible
- for rendering, while render scheduling and tree hosting moves into the
- CCLayerTreeHost.
-
- Reviewed by James Robinson.
-
- * platform/graphics/chromium/ContentLayerChromium.cpp:
- (WebCore::ContentLayerChromium::createTextureUpdaterIfNeeded):
- * platform/graphics/chromium/LayerChromium.h:
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::LayerRendererChromium::create):
- (WebCore::LayerRendererChromium::LayerRendererChromium):
- (WebCore::LayerRendererChromium::initialize):
- (WebCore::LayerRendererChromium::releaseTextures):
- (WebCore::LayerRendererChromium::updateRootLayerContents):
- (WebCore::LayerRendererChromium::drawRootLayer):
- (WebCore::LayerRendererChromium::invalidateRootLayerRect):
- (WebCore::LayerRendererChromium::rootLayerChanged):
- (WebCore::LayerRendererChromium::viewportChanged):
- (WebCore::LayerRendererChromium::updateLayers):
- (WebCore::LayerRendererChromium::drawLayers):
- (WebCore::LayerRendererChromium::drawLayersInternal):
- (WebCore::LayerRendererChromium::getFramebufferPixels):
- (WebCore::LayerRendererChromium::getOffscreenLayerTexture):
- (WebCore::LayerRendererChromium::copyOffscreenTextureToDisplay):
- (WebCore::LayerRendererChromium::useRenderSurface):
- (WebCore::LayerRendererChromium::setScissorToRect):
- (WebCore::LayerRendererChromium::layerTreeAsText):
- (WebCore::LayerRendererChromium::dumpRenderSurfaces):
- * platform/graphics/chromium/LayerRendererChromium.h:
- (WebCore::LayerRendererChromium::settings):
- (WebCore::LayerRendererChromium::owner):
- (WebCore::LayerRendererChromium::rootLayer):
- (WebCore::LayerRendererChromium::skiaContext):
- * platform/graphics/chromium/WebGLLayerChromium.cpp:
- (WebCore::WebGLLayerChromium::setTextureUpdated):
- * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
- (WebCore::CCHeadsUpDisplay::draw):
- (WebCore::CCHeadsUpDisplay::enabled):
- * platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
- * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
- (WebCore::CCLayerTreeHost::create):
- (WebCore::CCLayerTreeHost::CCLayerTreeHost):
- (WebCore::CCLayerTreeHost::initialize):
- (WebCore::CCLayerTreeHost::animateAndLayout):
- (WebCore::CCLayerTreeHost::createLayerTreeHostCommitter):
- (WebCore::CCLayerTreeHost::createLayerTreeHostImpl):
- (WebCore::CCLayerTreeHost::context):
- (WebCore::CCLayerTreeHost::compositeAndReadback):
- (WebCore::CCLayerTreeHost::createRootLayerPainter):
- (WebCore::CCLayerTreeHost::finishAllRendering):
- (WebCore::CCLayerTreeHost::invalidateRootLayerRect):
- (WebCore::CCLayerTreeHost::setNeedsCommitAndRedraw):
- (WebCore::CCLayerTreeHost::setNeedsRedraw):
- (WebCore::CCLayerTreeHost::setRootLayer):
- (WebCore::CCLayerTreeHost::setViewport):
- (WebCore::CCLayerTreeHost::setVisible):
- (WebCore::CCLayerTreeHost::doComposite):
- (WebCore::CCLayerTreeHost::composite):
- (WebCore::CCLayerTreeHost::reallocateRenderer):
- * platform/graphics/chromium/cc/CCLayerTreeHost.h:
- (WebCore::CCLayerTreeHost::animating):
- (WebCore::CCLayerTreeHost::setAnimating):
- (WebCore::CCLayerTreeHost::rootLayer):
- (WebCore::CCLayerTreeHost::settings):
- (WebCore::CCLayerTreeHost::viewportContentRect):
- (WebCore::CCLayerTreeHost::viewportScrollPosition):
- (WebCore::CCLayerTreeHost::viewportVisibleRect):
- * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
- (WebCore::CCLayerTreeHostImpl::create):
- (WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
- (WebCore::CCLayerTreeHostImpl::drawLayers):
- (WebCore::CCLayerTreeHostImpl::drawLayersOnMainThread):
- * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
- * platform/graphics/chromium/cc/CCLayerTreeHostImplProxy.cpp:
- (WebCore::CCLayerTreeHostImplProxy::initImplOnCCThread):
-
-2011-08-11 Jeff Miller <jeffm@apple.com>
-
- WebCore::AVFWrapper fails to remove observer for kCACFContextNeedsFlushNotification
- https://bugs.webkit.org/show_bug.cgi?id=66116
-
- We need to pass 0 as the object parameter to CFNotificationCenterRemoveObserver() when removing
- kCACFContextNeedsFlushNotification to match what we do when we registered for the same
- notification with CFNotificationCenterAddObserver().
-
- Reviewed by John Sullivan.
-
- No new tests, uses existing media tests.
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp:
- (WebCore::AVFWrapper::disconnectAndDeleteAVFWrapper): Pass 0 as the object parameter to CFNotificationCenterRemoveObserver().
- (WebCore::AVFWrapper::notificationCallback): Remove obsolete FIXME comment.
-
-2011-08-11 Ryosuke Niwa <rniwa@webkit.org>
-
- Share code between isStyleSpanOrSpanWithOnlyStyleAttribute, isUnstyledStyleSpan,
- isSpanWithoutAttributesOrUnstyleStyleSpan and replaceWithSpanOrRemoveIfWithoutAttributes
- https://bugs.webkit.org/show_bug.cgi?id=66091
-
- Reviewed by Tony Chang.
-
- Extracted common code as hasNoAttributeOrOnlyStyleAttribute. The only behavioral difference is that
- replaceWithSpanOrRemoveIfWithoutAttributes will now remove elements with class="Apple-style-span",
- for which I'm adding a test.
-
- Test: editing/style/remove-styled-element-with-style-span.html
-
- * editing/ApplyStyleCommand.cpp:
- (WebCore::hasNoAttributeOrOnlyStyleAttribute):
- (WebCore::isStyleSpanOrSpanWithOnlyStyleAttribute):
- (WebCore::isUnstyledStyleSpan):
- (WebCore::isSpanWithoutAttributesOrUnstyleStyleSpan):
- (WebCore::ApplyStyleCommand::replaceWithSpanOrRemoveIfWithoutAttributes):
-
-2011-08-11 Tom Zakrajsek <tomz@codeaurora.org>
-
- Add HTMLUnknownElement interface as defined in
- http://www.w3.org/TR/html5/elements.html#elements-in-the-dom.
- https://bugs.webkit.org/show_bug.cgi?id=41841
-
- Reviewed by Adam Barth.
-
- Test: fast/html/unknown-tag.html
-
- * CMakeLists.txt:
- * CodeGenerators.pri:
- * DerivedSources.cpp:
- * DerivedSources.make:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * bindings/scripts/CodeGeneratorV8.pm:
- (IsDOMNodeType):
- * dom/make_names.pl:
- (defaultParametersHash):
- (buildConstructorMap):
- (printJSElementIncludes):
- (printElementIncludes):
- (printWrapperFunctions):
- (printWrapperFactoryCppFile):
- * html/HTMLTagNames.in:
- * html/HTMLUnknownElement.h: Added.
- (WebCore::HTMLUnknownElement::create):
- (WebCore::HTMLUnknownElement::HTMLUnknownElement):
- * html/HTMLUnknownElement.idl: Added.
- * mathml/mathtags.in:
- * page/DOMWindow.idl:
- * svg/svgtags.in:
-
-2011-08-11 Levi Weintraub <leviw@chromium.org>
-
- Remove dead code: borderInnerRect
- https://bugs.webkit.org/show_bug.cgi?id=66087
-
- Reviewed by Adam Barth.
-
- Removing an old and currently unused function: RenderObject::borderInnerRect.
-
- No new tests since I'm just pruning dead code.
-
- * rendering/RenderObject.cpp:
- * rendering/RenderObject.h:
-
-2011-08-11 Simon Fraser <simon.fraser@apple.com>
-
- Avoid adding the visible wash layer twice
- https://bugs.webkit.org/show_bug.cgi?id=66098
-
- Reviewed by Chris Marrin.
-
- Fix two issues; only create a m_visibleTileWashLayer if we don't have one
- already, and avoid adding multiple m_visibleTileWashLayers to the sublayers
- array when flipping between tiled and non-tiled.
-
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):
-
-2011-08-11 Benjamin Poulain <benjamin@webkit.org>
-
- The PageSerializer should always use absolute URL
- https://bugs.webkit.org/show_bug.cgi?id=66006
-
- Reviewed by Adam Barth.
-
- Page serializer resolves every URL for storing the resources.
- The MarkupAccumulator used there should use the same rules in order to
- create a valid file.
-
- No new tests because the test infrastructure for this
- does not exist with layout tests and the Chromium unit test for
- the serializer are disabled.
-
- * page/PageSerializer.cpp:
- (WebCore::SerializerMarkupAccumulator::SerializerMarkupAccumulator):
-
-2011-08-01 Adrienne Walker <enne@google.com>
-
- Enable fast path scrolling for composited iframes
- https://bugs.webkit.org/show_bug.cgi?id=65056
-
- Reviewed by James Robinson.
-
- iframes with composited layers for content should be able to do fast
- path scrolling because they draw into their own backing. To enable
- this, useSlowRepaints is modified to return true only for the cases
- that apply to composited layers. The fast path scrolling function is
- modified to send the invalidation to the backing itself rather than to
- the window.
-
- Renamed a number of "slow repaint" functions to be the more accurate
- "cannot blit to window" as it will not always force slow path
- scrolling.
-
- * page/FrameView.cpp:
- (WebCore::FrameView::reset):
- (WebCore::FrameView::useSlowRepaints):
- (WebCore::FrameView::useSlowRepaintsIfNotOverlapped):
- (WebCore::FrameView::contentsInCompositedLayer):
- (WebCore::FrameView::setCannotBlitToWindow):
- (WebCore::FrameView::scrollContentsFastPath):
- (WebCore::FrameView::scrollContentsSlowPath):
- * page/FrameView.h:
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::cannotBlitToWindow):
- * rendering/RenderLayer.h:
- * rendering/RenderView.cpp:
- (WebCore::RenderView::paintBoxDecorations):
-
-2011-08-10 Adrienne Walker <enne@google.com>
-
- Support creating compositing layers for scrollable frames and iframes
- https://bugs.webkit.org/show_bug.cgi?id=55257
-
- Reviewed by James Robinson.
-
- When force compositing mode is turned on, iframes with overflow will
- become composited (in order to enable faster scrolling).
-
- This patch was originally by Daniel Sievers <sievers@chromium.org>.
-
- Tests: platform/chromium/compositing/force-compositing-mode/no-overflow-iframe-layer.html
- platform/chromium/compositing/force-compositing-mode/overflow-hidden-iframe-layer.html
- platform/chromium/compositing/force-compositing-mode/overflow-iframe-enter-compositing.html
- platform/chromium/compositing/force-compositing-mode/overflow-iframe-layer.html
- platform/chromium/compositing/force-compositing-mode/overflow-iframe-leave-compositing.html
-
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::cacheAcceleratedCompositingFlags):
- (WebCore::RenderLayerCompositor::requiresCompositingForScrollableFrame):
- * rendering/RenderLayerCompositor.h:
-
-2011-08-11 Yong Li <yoli@rim.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=65944
- Replace QuotesData::operator==() with QuotesData::equal(const QuotesData*
- , const QuotesData*) because QuotesData::operator==() were using non-standard
- C++ code that is not supported by all compilers.
-
- Reviewed by Alexey Proskuryakov.
-
- No new tests because some existing test cases can show the issue,
- for example, fast/css/content/content-quotes-01.html.
-
- * rendering/RenderQuote.cpp:
- (WebCore::RenderQuote::styleDidChange):
- * rendering/style/QuotesData.cpp:
- (WebCore::QuotesData::equal):
- * rendering/style/QuotesData.h:
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::setQuotes):
- * rendering/style/StyleRareInheritedData.cpp:
- (WebCore::StyleRareInheritedData::operator==):
-
-2011-08-11 David Hyatt <hyatt@apple.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=66075
-
- Turn on regions and exclusions by default. Fix one stray ifdef that I missed.
-
- Reviewed by James Robinson.
-
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::contentToCSSValue):
-
-2011-08-11 David Reveman <reveman@chromium.org>
-
- [Chromium] Temporarily disable layer anti-aliasing on ChromeOS.
- https://bugs.webkit.org/show_bug.cgi?id=65922
-
- Reviewed by James Robinson.
-
- No new tests.
-
- * platform/graphics/chromium/LayerTilerChromium.cpp:
- (WebCore::LayerTilerChromium::draw):
-
-2011-08-11 Benjamin Poulain <benjamin@webkit.org>
-
- [Qt] PageSerializer is specific to MHTML, we should not compile it
- https://bugs.webkit.org/show_bug.cgi?id=66054
-
- Reviewed by Noam Rosenthal.
-
- PageSerializer is specific to MHTML. Do not build PageSerializer unless MHTML is enabled.
-
- * WebCore.pro:
-
-2011-08-11 Andrey Kosyakov <caseq@chromium.org>
-
- Web Inspector: [refactoring] make tabbed pane a view
- https://bugs.webkit.org/show_bug.cgi?id=66060
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/NetworkItemView.js:
- (WebInspector.NetworkItemView):
- (WebInspector.NetworkItemView.prototype.show):
- (WebInspector.NetworkItemView.prototype._selectTab.get if):
- (WebInspector.NetworkItemView.prototype._selectTab):
- * inspector/front-end/TabbedPane.js:
- (WebInspector.TabbedPane):
- * inspector/front-end/inspector.html:
-
-2011-08-11 Andrey Kosyakov <caseq@chromium.org>
-
- Web Inspector: source frame popover simetimes pops up after user switches from Scripts panel
- https://bugs.webkit.org/show_bug.cgi?id=66057
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/SourceFrame.js: remove popover timer when removing popover.
- (WebInspector.SourceFrame.prototype._mouseDown):
- (WebInspector.SourceFrame.prototype._hidePopup):
-
-2011-08-11 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: Scripts panel: display the current search match index in the toolbar.
- https://bugs.webkit.org/show_bug.cgi?id=66048
-
- Reviewed by Pavel Feldman.
-
- * English.lproj/localizedStrings.js:
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype.performSearch.finishedCallback):
- (WebInspector.ScriptsPanel.prototype.performSearch):
- (WebInspector.ScriptsPanel.prototype.jumpToNextSearchResult):
- (WebInspector.ScriptsPanel.prototype.jumpToPreviousSearchResult):
- * inspector/front-end/SearchController.js:
- (WebInspector.SearchController.prototype.updateSearchMatchesCount):
- (WebInspector.SearchController.prototype.updateCurrentMatchIndex):
- (WebInspector.SearchController.prototype.activePanelChanged.performPanelSearch):
- (WebInspector.SearchController.prototype.activePanelChanged):
- (WebInspector.SearchController.prototype._updateSearchMatchesCountAndCurrentMatchIndex):
- (WebInspector.SearchController.prototype._performSearch):
- * inspector/front-end/SourceFrame.js:
- (WebInspector.SourceFrame.prototype.get currentSearchResultIndex):
-
-2011-08-11 Xan Lopez <xlopez@igalia.com>
-
- [GTK] Add another missing file to GNUmakefile
-
- Reviewed by Gustavo Noronha.
-
- * GNUmakefile.list.am:
-
-2011-08-11 Xan Lopez <xlopez@igalia.com>
-
- [GTK] Add missing files to GNUMakefile
-
- Reviewed by Gustavo Noronha.
-
- * GNUmakefile.am:
- * GNUmakefile.list.am:
-
-2011-08-11 Yuta Kitamura <yutak@chromium.org>
-
- WebSocket: Use PassRefPtr<> in function arguments in WorkerThreadableWebSocketChannel.cpp
- https://bugs.webkit.org/show_bug.cgi?id=66047
-
- Reviewed by Kent Tamura.
-
- It's safe to use PassRefPtr<> in these functions because:
- - CrossThreadTask knows how to pass a RefPtr<> across threads, and
- - Call sites do not pass the pointers to anywhere else.
-
- No change in functionality, thus no new tests.
-
- * websockets/WorkerThreadableWebSocketChannel.cpp:
- (WebCore::workerContextDidSend):
- (WebCore::workerContextDidGetBufferedAmount):
- (WebCore::workerContextDidConnect):
- (WebCore::workerContextDidReceiveMessage):
- (WebCore::workerContextDidStartClosingHandshake):
- (WebCore::workerContextDidClose):
-
-2011-08-11 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: [Mac] search as you type does not work with the new indent in the script selector.
- https://bugs.webkit.org/show_bug.cgi?id=66039
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect):
- * inspector/front-end/inspector.css:
- (select.status-bar-item):
-
-2011-08-11 Alexis Menard <alexis.menard@openbossa.org>
-
- Unreviewed build fix for Qt.
-
- Make sure we build when Qt is namespaced.
-
- * platform/graphics/gstreamer/PlatformVideoWindowPrivate.h:
-
-2011-08-11 Pavel Podivilov <podivilov@chromium.org>
-
- Web Inspector: use source-file-replaced instead of source-file-changed event.
- https://bugs.webkit.org/show_bug.cgi?id=65551
-
- Reviewed by Pavel Feldman.
-
- Test: inspector/debugger/source-frame-count.html
-
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel.prototype._addScript):
- (WebInspector.DebuggerPresentationModel.prototype._uiSourceCodeReplaced):
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._removeSourceFrame):
- (WebInspector.ScriptsPanel.prototype._sourceFileReplaced):
- * inspector/front-end/SourceFile.js:
- (WebInspector.RawSourceCode):
- (WebInspector.RawSourceCode.prototype.get uiSourceCode):
- (WebInspector.RawSourceCode.prototype.reload):
- * inspector/front-end/inspector.js:
- (WebInspector._createPanels):
-
-2011-08-11 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: [REGRESSION] Resources panel search fails when search result is found in a resource used in several frames.
- https://bugs.webkit.org/show_bug.cgi?id=66007
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/ResourcesPanel.js:
- (WebInspector.ResourcesPanel.prototype.performSearch.callback):
- (WebInspector.ResourcesPanel.prototype.performSearch):
- (WebInspector.FrameTreeElement.prototype.resourceByURL):
-
-2011-08-11 Andras Becsi <abecsi@webkit.org>
-
- [GTK] Fix the build after r92792.
-
- Rubber-stamped by Csaba Osztrogonác.
-
- No new tests needed.
-
- * GNUmakefile.list.am: add missing
- RenderFlowThread.{cpp|h}
- RenderRegion.{cpp|h}
-
-2011-08-11 Renata Hodovan <reni@webkit.org>
-
- [Qt] Fix WebGL on Windows after r92805
- https://bugs.webkit.org/show_bug.cgi?id=66042
-
- WEBGL is temporarly disabled, because it broked the bots.
-
- * features.pri:
-
-2011-08-11 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: do not evaluate watch expressions on load.
- https://bugs.webkit.org/show_bug.cgi?id=66002
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype.show):
- (WebInspector.ScriptsPanel.prototype.hide):
- (WebInspector.ScriptsPanel.prototype.reset):
- * inspector/front-end/WatchExpressionsSidebarPane.js:
- (WebInspector.WatchExpressionsSidebarPane):
- (WebInspector.WatchExpressionsSidebarPane.prototype.hide):
- (WebInspector.WatchExpressionsSidebarPane.prototype.reset):
- (WebInspector.WatchExpressionsSidebarPane.prototype.refreshExpressions):
- (WebInspector.WatchExpressionsSidebarPane.prototype._refreshExpressionsIfNeeded):
- (WebInspector.WatchExpressionsSidebarPane.prototype._refreshButtonClicked):
-
-2011-08-10 Ryosuke Niwa <rniwa@webkit.org>
-
- Copying can result in span around block elements on the clipboard
- https://bugs.webkit.org/show_bug.cgi?id=34564
-
- Reviewed by Tony Chang.
-
- Completely overhauled the way WebKit preserves style in copy and paste. Instead of wrapping the entire
- serialized contents by a Apple style span, WebKit now adds inline style to the top level elements,
- wrap top level text nodes by a style span.
-
- * editing/EditingStyle.cpp:
- (WebCore::EditingStyle::collapseTextDecorationProperties): Remove text-decoration property when the value
- of -webkit-text-decorations-in-effect is none.
- (WebCore::EditingStyle::removeStyleFromRulesAndContext): Since display: inline and float: none are now
- added on copy, remove these properties on paste.
- (WebCore::EditingStyle::removePropertiesInElementDefaultStyle): Takes Element* instead of StyledElement*.
- (WebCore::EditingStyle::forceInline): Added.
- (WebCore::getPropertiesNotIn): Remove properties only when the base style has them.
- * editing/EditingStyle.h:
- * editing/markup.cpp:
- (WebCore::StyledMarkupAccumulator::shouldApplyWrappingStyle): Added.
- (WebCore::StyledMarkupAccumulator::StyledMarkupAccumulator): Takes highestNodeToBeSerialized.
- (WebCore::StyledMarkupAccumulator::wrapWithStyleNode): Calls appendStyleNodeOpenTag and styleNodeCloseTag.
- (WebCore::StyledMarkupAccumulator::appendStyleNodeOpenTag): Extracted from wrapWithStyleNode.
- (WebCore::StyledMarkupAccumulator::styleNodeCloseTag): Ditto.
- (WebCore::StyledMarkupAccumulator::appendText): Wraps text node with a style span if needed.
- Set display: inline and float: none so that it won't be converted to a block on paste side.
- (WebCore::StyledMarkupAccumulator::appendElement): Add wrapping style if appropriate; Remove any properties
- that are overridden by default style and any style that may conflict with the computed style of node to
- avoid modifying the appearance of the serialized nodes.
- (WebCore::StyledMarkupAccumulator::serializeNodes): Compute wrapping style; copies of this style are
- modified as needed when serializing top-level elements or text nodes. We call traverseNodesForSerialization
- with NodeTraversalMode set to DoNotEmitString first to compute the highest node to be serialized. The second
- call to the function actually serialize the nodes.
- (WebCore::StyledMarkupAccumulator::traverseNodesForSerialization): Extracted from serializeNodes.
- Outputs string only if NodeTraversalMode is set to EmitString.
- (WebCore::createMarkup): No longer adds wrapping spans.
-
-2011-08-10 Adam Barth <abarth@webkit.org>
-
- Add tests of optional arguments for Geolocation
- https://bugs.webkit.org/show_bug.cgi?id=65810
-
- Reviewed by Sam Weinig.
-
- Geolocation's treatment of not-enough-arguments almost matches the
- spec. getCurrentPosition and watchPosition work properly, but, because
- they are custom, we should use the prettier form of the [Optional]
- attribute.
-
- Before this series of patches, clearWatch argument was optional, but
- that doesn't match the spec or other browsers. Calling this function
- with zero arguments is pretty non-sensical, so there shouldn't be much
- compat risk to tightening up our behavior here. Matching other
- browsers and the spec seems like the bigger win. If we run into compat
- problems, we can re-evaluate this decision.
-
- Test: fast/dom/Geolocation/not-enough-arguments.html
-
- * page/Geolocation.idl:
-
-2011-08-10 Tim Horton <timothy_horton@apple.com>
-
- SVGAElement check for internal non-view anchors is inside ENABLE(SVG_ANIMATION)
- https://bugs.webkit.org/show_bug.cgi?id=66026
-
- Reviewed by Rob Buis.
-
- Move only the SMIL-related code inside the ENABLE(SVG_ANIMATION) block.
-
- No new tests, as it depends on the enabled features.
-
- * svg/SVGAElement.cpp:
- (WebCore::SVGAElement::defaultEventHandler):
-
-2011-08-10 Tim Horton <timothy_horton@apple.com>
-
- Crash when clicking an SVG <a> link to the local document
- https://bugs.webkit.org/show_bug.cgi?id=66019
- <rdar://problem/9933311>
-
- Reviewed by Rob Buis.
-
- Check if the target element of an internal link is valid before
- making use of it.
-
- Test: svg/custom/click-internal-anchor-with-use-crash.xhtml
-
- * svg/SVGAElement.cpp:
- (WebCore::SVGAElement::defaultEventHandler):
-
-2011-08-10 No'am Rosenthal <noam.rosenthal@nokia.com>
-
- [Qt] Enable WebGL by default for QtWebKit
- https://bugs.webkit.org/show_bug.cgi?id=65998
-
- Reviewed by Benjamin Poulain.
-
- Make ENABLE_WEBGL true by default when Qt is configured with OpenGL.
-
- No new tests. Build change only.
-
- * features.pri:
-
-2011-08-10 Abhishek Arya <inferno@chromium.org>
-
- Check that we do not need layout before trying to dirty
- m_originatingLine for our floats.
- https://bugs.webkit.org/show_bug.cgi?id=65938
-
- Reviewed by Dave Hyatt.
-
- Test: fast/block/float/float-originating-line-deleted-crash.html
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::removeFloatingObject):
- (WebCore::RenderBlock::clearFloats):
-
-2011-08-10 David Hyatt <hyatt@apple.com>
-
- Add missing regions/exclusions-related files to EFL.
-
- * CMakeLists.txt:
-
-2011-08-10 David Hyatt <hyatt@apple.com>
-
- Add missing regions/exclusions-related files to Chromium.
-
- * WebCore.gypi:
-
-2011-08-10 David Hyatt <hyatt@apple.com>
-
- Fix Qt build bustage. Add missing regions/exclusions-related files to their project.
-
- * WebCore.pro:
-
-2011-08-10 David Hyatt <hyatt@apple.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=66004
-
- Remove ifdefs for CSS Exclusions (since the feature doesn't exist any longer and has morphed into positioned
- floats instead). Go ahead and yank the ifdefs for CSS Regions also and just turn them on.
-
- Reviewed by Adam Roben.
-
- * Configurations/FeatureDefines.xcconfig:
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseValue):
- (WebCore::CSSParser::parseContent):
- (WebCore::CSSParser::parseWrapShape):
- (WebCore::CSSParser::parseFromFlowContent):
- * css/CSSParser.h:
- * css/CSSPrimitiveValue.cpp:
- (WebCore::CSSPrimitiveValue::init):
- (WebCore::CSSPrimitiveValue::cleanup):
- (WebCore::CSSPrimitiveValue::getStringValue):
- (WebCore::CSSPrimitiveValue::cssText):
- * css/CSSPrimitiveValue.h:
- (WebCore::CSSPrimitiveValue::getShapeValue):
- * css/CSSPrimitiveValueMappings.h:
- (WebCore::CSSPrimitiveValue::operator RegionOverflow):
- * css/CSSPropertyNames.in:
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- * css/CSSValueKeywords.in:
- * css/CSSWrapShapes.cpp:
- * css/CSSWrapShapes.h:
- * css/SVGCSSValueKeywords.in:
- * dom/Node.cpp:
- (WebCore::Node::diff):
- * dom/NodeRenderingContext.cpp:
- (WebCore::NodeRenderingContext::NodeRenderingContext):
- (WebCore::NodeRenderingContext::setStyle):
- (WebCore::NodeRenderingContext::nextRenderer):
- (WebCore::NodeRenderingContext::previousRenderer):
- (WebCore::NodeRenderingContext::parentRenderer):
- (WebCore::NodeRenderingContext::moveToFlowThreadIfNeeded):
- (WebCore::NodeRendererFactory::createRendererIfNeeded):
- * dom/NodeRenderingContext.h:
- * rendering/RenderFlowThread.cpp:
- * rendering/RenderFlowThread.h:
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::collectLayers):
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::createObject):
- * rendering/RenderObject.h:
- (WebCore::RenderObject::isRenderRegion):
- (WebCore::RenderObject::isRenderFlowThread):
- * rendering/RenderRegion.cpp:
- * rendering/RenderRegion.h:
- * rendering/RenderTreeAsText.cpp:
- (WebCore::writeLayers):
- * rendering/RenderView.cpp:
- (WebCore::RenderView::renderFlowThreadWithName):
- * rendering/RenderView.h:
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::diff):
- * rendering/style/RenderStyle.h:
- (WebCore::InheritedFlags::regionOverflow):
- (WebCore::InheritedFlags::setRegionOverflow):
- (WebCore::InheritedFlags::initialWrapShape):
- (WebCore::InheritedFlags::initialRegionOverflow):
- * rendering/style/RenderStyleConstants.h:
- * rendering/style/StyleRareNonInheritedData.cpp:
- (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
- (WebCore::StyleRareNonInheritedData::operator==):
- * rendering/style/StyleRareNonInheritedData.h:
-
-2011-08-10 Abhishek Arya <inferno@chromium.org>
-
- Don't create html renderer for SVG <glyphRef>
- https://bugs.webkit.org/show_bug.cgi?id=66000
-
- Reviewed by David Hyatt.
-
- Test: svg/text/glyphref-renderer-create-crash.html
-
- * svg/SVGGlyphRefElement.h:
-
-2011-08-10 Scott Graham <scottmg@google.com>
-
- OpenTypeSanitizer in chromium gyp files is linked twice
- https://bugs.webkit.org/show_bug.cgi?id=65927
-
- Reviewed by Adam Barth.
-
- No new tests, should just build and link properly on all platforms.
-
- * WebCore.gyp/WebCore.gyp:
-
-2011-08-10 Oliver Hunt <oliver@apple.com>
-
- Make GC checks more aggressive in release builds
- https://bugs.webkit.org/show_bug.cgi?id=66001
-
- Reviewed by Gavin Barraclough.
-
- Fix GC bugs found while testing increased validation logic
-
- * bindings/js/JSDOMWindowShell.cpp:
- (WebCore::JSDOMWindowShell::JSDOMWindowShell):
- * bindings/js/JSDOMWindowShell.h:
- * bindings/js/ScriptController.cpp:
- (WebCore::ScriptController::createWindowShell):
- * bridge/objc/ObjCRuntimeObject.h:
- (JSC::Bindings::ObjCRuntimeObject::create):
- * bridge/objc/ObjCRuntimeObject.mm:
- (JSC::Bindings::ObjCRuntimeObject::ObjCRuntimeObject):
- * bridge/objc/objc_instance.mm:
-
-2011-08-10 Ben Wells <benwells@chromium.org>
-
- [skia] Move calls to makeGrContextCurrent into clipPathAntiAliased from callers
- https://bugs.webkit.org/show_bug.cgi?id=65733
-
- This protects against callers of clipPathAntiAliased forgetting to call makeGrContextCurrent.
-
- Reviewed by James Robinson.
-
- No change in functionality, no new tests.
-
- * platform/graphics/skia/GraphicsContextSkia.cpp:
- (WebCore::GraphicsContext::addInnerRoundedRectClip):
- (WebCore::GraphicsContext::clip):
- * platform/graphics/skia/PlatformContextSkia.cpp:
- (WebCore::PlatformContextSkia::clipPathAntiAliased):
-
-2011-08-10 Benjamin Poulain <ikipou@gmail.com>
-
- MarkupAccumulator: make resolution of URLs implicit to appendQuotedURLAttributeValue()
- https://bugs.webkit.org/show_bug.cgi?id=65990
-
- Reviewed by Ryosuke Niwa.
-
- Instead of resolving the URLs in the call site of appendQuotedURLAttributeValue(),
- the URL is now resolved if necessary in appendQuotedURLAttributeValue().
-
- * editing/MarkupAccumulator.cpp:
- (WebCore::MarkupAccumulator::appendQuotedURLAttributeValue):
- (WebCore::MarkupAccumulator::appendAttribute):
- * editing/MarkupAccumulator.h:
-
-2011-08-10 Kenichi Ishibashi <bashi@chromium.org>
-
- [Chromium] Implement text shaping with font-feature-settings on Linux
- https://bugs.webkit.org/show_bug.cgi?id=65903
-
- - Modifies Font::codePath() to return Complex when there is font feature settings CSS property.
- - Implements OpenType advanced typography feature using Harfbuzz on Chromium Linux port.
-
- Reviewed by Adam Barth.
-
- Test: css3/font-feature-settings-rendering.html
-
- * platform/graphics/Font.cpp:
- (WebCore::Font::codePath): Returns Complex when fontFeatureSettings exists.
- * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
- (WebCore::setupFontFeatures): Added.
- (WebCore::ComplexTextController::setupFontForScriptRun): Calls setupFontFeatures().
-
-2011-08-10 Tony Gentilcore <tonyg@chromium.org>
-
- [chromium] Notify MemoryCache of decoded data access
- https://bugs.webkit.org/show_bug.cgi?id=65859
-
- Reviewed by James Robinson.
-
- This causes us to call CachedImage::didDraw() which calls CachedResource::didAccessDecodedData()
- which updates the LRU for decoded image data and potentially prunes the cache. This is already done
- by almost all of the other ports.
-
- The decoded bitmaps obviously use quite a bit of memory, so pruning them when necessary is important.
- In my tests, this saves several MB on many popular web pages.
-
- No new tests because no observable difference in functionality.
-
- * platform/graphics/skia/ImageSkia.cpp:
- (WebCore::BitmapImage::draw):
- (WebCore::BitmapImageSingleFrameSkia::draw):
-
-2011-08-10 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: Remove Network.initialContentSet from protocol, store workers content on backend.
- https://bugs.webkit.org/show_bug.cgi?id=65929
-
- Reviewed by Pavel Feldman.
-
- Tests: http/tests/inspector/network/network-shared-worker.html
- http/tests/inspector/network/network-worker.html
-
- * inspector/Inspector.json:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::didReceiveScriptResponseImpl):
- * inspector/InspectorInstrumentation.h:
- (WebCore::InspectorInstrumentation::didReceiveScriptResponse):
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::didReceiveResponse):
- (WebCore::InspectorResourceAgent::setInitialScriptContent):
- (WebCore::InspectorResourceAgent::didReceiveScriptResponse):
- * inspector/InspectorResourceAgent.h:
- * inspector/front-end/NetworkManager.js:
- * inspector/front-end/Resource.js:
- * workers/DefaultSharedWorkerRepository.cpp:
- (WebCore::SharedWorkerScriptLoader::didReceiveResponse):
- * workers/Worker.cpp:
- (WebCore::Worker::didReceiveResponse):
- * workers/Worker.h:
- * workers/WorkerScriptLoader.cpp:
- (WebCore::WorkerScriptLoader::didReceiveResponse):
- * workers/WorkerScriptLoaderClient.h:
- (WebCore::WorkerScriptLoaderClient::didReceiveResponse):
-
-2011-08-10 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: [Network] Filtering by stylesheet does not update the # reqs, filesizes.
- https://bugs.webkit.org/show_bug.cgi?id=65515
-
- Reviewed by Pavel Feldman.
-
- * English.lproj/localizedStrings.js:
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkLogView.prototype._updateSummaryBar):
- (WebInspector.NetworkLogView.prototype._updateFilter):
-
-2011-08-10 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: console messages markers are lost in Resources panel after page reload
- https://bugs.webkit.org/show_bug.cgi?id=60701
-
- Reviewed by Pavel Feldman.
-
- Test: http/tests/inspector/resource-tree/resource-tree-errors-reload.html
-
- * inspector/front-end/ResourceTreeModel.js:
- (WebInspector.ResourceTreeModel):
- (WebInspector.ResourceTreeModel.prototype._consoleMessageAdded):
- (WebInspector.ResourceTreeModel.prototype._addPendingConsoleMessage):
- (WebInspector.ResourceTreeModel.prototype._addPendingConsoleMessagesToResource):
- (WebInspector.ResourceTreeModel.prototype._addConsoleMessageToResource):
- (WebInspector.ResourceTreeModel.prototype._consoleCleared):
- (WebInspector.ResourceTreeModel.prototype._bindResourceURL):
-
-2011-08-10 Lars Knudsen <lars.knudsen@nokia.com>
-
- Add device specific settings to support viewport computing
- https://bugs.webkit.org/show_bug.cgi?id=65984
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Based on patch by Zalan Bujtas.
-
- Added settings for device size, dpi and layout fallback width
- to support viewport computing.
-
- * page/Settings.cpp:
- (WebCore::Settings::Settings):
- * page/Settings.h:
- (WebCore::Settings::setLayoutFallbackWidth):
- (WebCore::Settings::layoutFallbackWidth):
- (WebCore::Settings::setDeviceWidth):
- (WebCore::Settings::deviceWidth):
- (WebCore::Settings::setDeviceHeight):
- (WebCore::Settings::deviceHeight):
- (WebCore::Settings::setDeviceDPI):
- (WebCore::Settings::deviceDPI):
-
-2011-08-10 Benjamin Poulain <benjamin@webkit.org>
-
- Unify the way we generate HTML for an image in the Clipboard
- https://bugs.webkit.org/show_bug.cgi?id=58043
-
- Reviewed by Ryosuke Niwa.
-
- Unify the way we generate the markup when dragging and image.
-
- Previously, the code was using the special function imageToMarkup() that was
- spread from the Chromium port.
- That function ignores some edge cases so this patch replace it by the
- more generic MarkupAccumulator (which is also used by the other pasteboard
- actions).
-
- The MarkupAccumulator was modified because following r61178, the local filepath
- are treated differently (the enum was changed to make this behavior
- explicit).
-
- Tests: fast/drag-and-drop/drag-and-drop-image-contenteditable.html
- fast/drag-and-drop/drag-and-drop-inputimage-contenteditable.html
- fast/drag-and-drop/drag-and-drop-objectimage-contenteditable.html
-
- * editing/MarkupAccumulator.cpp:
- (WebCore::MarkupAccumulator::MarkupAccumulator):
- (WebCore::MarkupAccumulator::resolveURLIfNeeded):
- (WebCore::MarkupAccumulator::appendAttribute):
- * editing/MarkupAccumulator.h:
- * editing/markup.cpp:
- * editing/markup.h:
- * page/PageSerializer.cpp:
- (WebCore::SerializerMarkupAccumulator::SerializerMarkupAccumulator):
- * platform/chromium/ClipboardChromium.cpp:
- (WebCore::ClipboardChromium::declareAndWriteDragImage):
- (WebCore::ClipboardChromium::writeRange):
- * platform/chromium/PasteboardChromium.cpp:
- (WebCore::Pasteboard::writeSelection):
- * platform/gtk/ClipboardGtk.cpp:
- (WebCore::ClipboardGtk::declareAndWriteDragImage):
- (WebCore::ClipboardGtk::writeRange):
- * platform/gtk/DataObjectGtk.cpp:
- (WebCore::DataObjectGtk::markup):
- * platform/gtk/PasteboardGtk.cpp:
- (WebCore::Pasteboard::writeSelection):
- (WebCore::Pasteboard::writeImage):
- * platform/haiku/PasteboardHaiku.cpp:
- (WebCore::Pasteboard::writeSelection):
- * platform/qt/ClipboardQt.cpp:
- (WebCore::ClipboardQt::declareAndWriteDragImage):
- (WebCore::ClipboardQt::writeRange):
- * platform/qt/PasteboardQt.cpp:
- (WebCore::Pasteboard::writeSelection):
- * platform/win/ClipboardWin.cpp:
- (WebCore::ClipboardWin::declareAndWriteDragImage):
-
-2011-08-10 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: auto-completion for string literals doesn't work
- https://bugs.webkit.org/show_bug.cgi?id=65701
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/InjectedScript.cpp:
- (WebCore::InjectedScript::evaluateOnCallFrame):
- * inspector/InjectedScript.h:
- * inspector/InjectedScriptSource.js:
- (.):
- ():
- * inspector/Inspector.json:
- * inspector/InspectorDebuggerAgent.cpp:
- (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
- * inspector/InspectorDebuggerAgent.h:
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype._completions.evaluated.getCompletions):
- (WebInspector.ConsoleView.prototype._completions.evaluated):
- (WebInspector.ConsoleView.prototype._completions.receivedPropertyNamesFromEval):
- (WebInspector.ConsoleView.prototype._completions.receivedPropertyNames):
- (WebInspector.ConsoleView.prototype._completions):
- (WebInspector.ConsoleView.prototype.evalInInspectedWindow):
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.PresenationCallFrame.prototype.evaluate):
- * inspector/front-end/RemoteObject.js:
- (WebInspector.RemoteObject):
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame):
- (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.evaluateInSelectedCallFrame):
-
-2011-08-10 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: CSS editing file containing tabs leads to the whole file change in revision history.
- https://bugs.webkit.org/show_bug.cgi?id=65959
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/front-end/SourceFrame.js:
- (WebInspector.SourceFrame):
- * inspector/front-end/TextEditorModel.js:
- (WebInspector.TextEditorModel.prototype._innerSetText):
-
-2011-08-10 Pavel Feldman <pfeldman@chromium.org>
-
- Web Inspector: there should be a way to tell what properties are non-enumerable when expanding objects.
- https://bugs.webkit.org/show_bug.cgi?id=65518
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/InjectedScript.cpp:
- (WebCore::InjectedScript::getProperties):
- * inspector/InjectedScript.h:
- * inspector/InjectedScriptSource.js:
- (.):
- * inspector/Inspector.json:
- * inspector/InspectorRuntimeAgent.cpp:
- (WebCore::InspectorRuntimeAgent::getProperties):
- * inspector/InspectorRuntimeAgent.h:
- * inspector/front-end/ObjectPropertiesSection.js:
- (WebInspector.ObjectPropertyTreeElement.prototype.ondblclick):
- (WebInspector.ObjectPropertyTreeElement.prototype.update):
- * inspector/front-end/RemoteObject.js:
- (WebInspector.RemoteObject.prototype.getOwnProperties):
- (WebInspector.RemoteObject.prototype.getAllProperties):
- (WebInspector.RemoteObjectProperty):
- * inspector/front-end/inspector.css:
- (.section .properties .dimmed):
-
-2011-08-10 Alexander Pavlov <apavlov@chromium.org>
-
- Web Inspector: [REGRESSION] Editor lost after committing a CSS property value for inline style
- https://bugs.webkit.org/show_bug.cgi?id=65918
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/StylesSidebarPane.js:
- (WebInspector.StylesSidebarPane.prototype._innerUpdate.stylesCallback):
- (WebInspector.StylesSidebarPane.prototype._innerUpdate.computedStyleCallback):
- (WebInspector.StylesSidebarPane.prototype._innerUpdate):
- (WebInspector.StylePropertyTreeElement.prototype):
- (WebInspector.StylePropertyTreeElement.prototype.event):
- (WebInspector.StylePropertyTreeElement.prototype.styleText.updateInterface.majorChange.isRevert.parentPane):
- (WebInspector.StylePropertyTreeElement.prototype.styleText.updateInterface.majorChange.isRevert):
-
-2011-08-10 Yuta Kitamura <yutak@chromium.org>
-
- WebSocket: Add binaryType attribute
- https://bugs.webkit.org/show_bug.cgi?id=65967
-
- Reviewed by Kent Tamura.
-
- Add a new attribute "binaryType" to WebSocket. It controls the data type of MessageEvent
- for WebSocket's binary frames.
-
- Tests: http/tests/websocket/tests/hixie76/undefined-attributes.html
- http/tests/websocket/tests/hybi/binary-type.html
-
- * websockets/WebSocket.cpp:
- (WebCore::WebSocket::WebSocket):
- (WebCore::WebSocket::binaryType):
- (WebCore::WebSocket::setBinaryType):
- * websockets/WebSocket.h:
- * websockets/WebSocket.idl:
-
-2011-08-10 Yuta Kitamura <yutak@chromium.org>
-
- WebSocket: Accept multiple subprotocols
- https://bugs.webkit.org/show_bug.cgi?id=65247
-
- Reviewed by Kent Tamura.
-
- WebSocket constructor should accept an array of subprotocols if hybi-10 protocol is chosen.
-
- Tests: http/tests/websocket/tests/hybi/invalid-subprotocol-characters.html
- http/tests/websocket/tests/hybi/invalid-subprotocols.html
- http/tests/websocket/tests/hybi/multiple-subprotocols.html
- http/tests/websocket/tests/hybi/workers/multiple-subprotocols.html
-
- * bindings/js/JSWebSocketCustom.cpp:
- (WebCore::JSWebSocketConstructor::constructJSWebSocket):
- If the second argument of WebSocket constructor is an array, build a Vector<String> and
- pass it to WebSocket::connect().
- * bindings/v8/custom/V8WebSocketCustom.cpp:
- (WebCore::V8WebSocket::constructorCallback):
- Ditto.
- * websockets/WebSocket.cpp:
- (WebCore::isValidProtocolCharacter): Added.
- (WebCore::isValidProtocolString): Added.
- (WebCore::isValidProtocolStringHixie76): Renamed from isValidProtocolString.
- (WebCore::joinStrings):
- (WebCore::WebSocket::connect):
- If an array is provided as a subprotocol, and if hixie-76 is used for this connection, it
- must be converted to a string in the same manner as JavaScript's Array.toString() in order
- to keep compatibility.
- * websockets/WebSocket.h:
- Removed m_protocol because it was not used at all.
- * websockets/WebSocketChannel.cpp:
- (WebCore::WebSocketChannel::disconnect):
- WebSocketChannel may be released before connect() is called, thus m_handshake may be null.
-
-2011-08-10 Andrey Kosyakov <caseq@chromium.org>
-
- Web Inspector: Network panel always displays file:// resources as "(pending)"
- https://bugs.webkit.org/show_bug.cgi?id=65784
-
- Reviewed by Pavel Feldman.
-
- Test: inspector/network-status-non-http.html
-
- * English.lproj/localizedStrings.js:
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkDataGridNode.prototype._refreshStatusCell):
- * inspector/front-end/Resource.js:
- (WebInspector.Resource.prototype.isHttpFamily):
-
-2011-08-09 Luke Macpherson <macpherson@chromium.org>
-
- Use setFontDescription helper to set m_fontDirty.
- https://bugs.webkit.org/show_bug.cgi?id=65956
-
- Reviewed by Dan Bernstein.
-
- No new tests / trivial cleanup.
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
-
-2011-08-09 Dominic Cooney <dominicc@chromium.org>
-
- [V8] The prototype property of DOM constructors should be read-only.
- https://bugs.webkit.org/show_bug.cgi?id=39655
-
- Reviewed by Dimitri Glazkov.
-
- Test: fast/dom/prototype-property.html
-
- * bindings/scripts/CodeGeneratorV8.pm: Make prototypes read-only.
- * bindings/scripts/test/V8/V8TestInterface.cpp: Update expectations.
- (WebCore::ConfigureV8TestInterfaceTemplate):
- * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
- (WebCore::ConfigureV8TestMediaQueryListListenerTemplate):
- * bindings/scripts/test/V8/V8TestObj.cpp:
- (WebCore::ConfigureV8TestObjTemplate):
- * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
- (WebCore::ConfigureV8TestSerializedScriptValueInterfaceTemplate):
-
-2011-08-09 Abhishek Arya <inferno@chromium.org>
-
- Style change not propagating for before, after content
- for table parts.
- https://bugs.webkit.org/show_bug.cgi?id=51862
-
- Fix by Chris Evans (cevans@chromium.org).
- In the table case, make sure to return the before /
- after parent rather then the before / after node
- itself.
-
- Reviewed by Simon Fraser.
-
- * rendering/RenderObjectChildList.cpp:
- (WebCore::findBeforeAfterParent):
-
-2011-08-09 Luke Macpherson <macpherson@chromium.org>
-
- Implement string based properties in CSSStyleApplyProperty.
- https://bugs.webkit.org/show_bug.cgi?id=65662
-
- Reviewed by Darin Adler.
-
- No new tests / refactoring only.
-
- * css/CSSStyleApplyProperty.cpp:
- (WebCore::ApplyPropertyString::ApplyPropertyString):
- Added class to handle string based properties.
- (WebCore::ApplyPropertyString::applyValue):
- (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- Add initializers for CSSPropertyWebkitHighlight and CSSPropertyWebkitHyphenateCharacter.
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Remove existing implementations for CSSPropertyWebkitHighlight and CSSPropertyWebkitHyphenateCharacter.
-
-2011-08-09 Emil A Eklund <eae@chromium.org>
-
- Switch RenderBlock to to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=65396
-
- Reviewed by Eric Seidel.
-
- No new tests, no new functionality.
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::MarginInfo::MarginInfo):
- (WebCore::RenderBlock::layoutBlock):
- (WebCore::RenderBlock::addOverflowFromChildren):
- (WebCore::RenderBlock::computeOverflow):
- (WebCore::RenderBlock::adjustPositionedBlock):
- (WebCore::RenderBlock::adjustFloatingBlock):
- (WebCore::RenderBlock::collapseMargins):
- (WebCore::RenderBlock::clearFloatsIfNeeded):
- (WebCore::RenderBlock::estimateLogicalTopPosition):
- (WebCore::RenderBlock::determineLogicalLeftPositionForChild):
- (WebCore::RenderBlock::setLogicalLeftForChild):
- (WebCore::RenderBlock::setLogicalTopForChild):
- (WebCore::RenderBlock::layoutBlockChildren):
- (WebCore::RenderBlock::layoutBlockChild):
- (WebCore::RenderBlock::flipFloatForWritingMode):
- (WebCore::RenderBlock::isPointInOverflowControl):
- (WebCore::RenderBlock::hitTestFloats):
- * rendering/RenderBlock.h:
- (WebCore::RenderBlock::logicalTopForFloat):
- (WebCore::RenderBlock::logicalBottomForFloat):
- (WebCore::RenderBlock::logicalLeftForFloat):
- (WebCore::RenderBlock::logicalRightForFloat):
- (WebCore::RenderBlock::logicalWidthForFloat):
- (WebCore::RenderBlock::setLogicalTopForFloat):
- (WebCore::RenderBlock::setLogicalLeftForFloat):
- (WebCore::RenderBlock::setLogicalHeightForFloat):
- (WebCore::RenderBlock::setLogicalWidthForFloat):
-
-2011-08-09 Jeffrey Pfau <jpfau@apple.com>
-
- Initial pass at a new XML tree builder
- https://bugs.webkit.org/show_bug.cgi?id=65803
-
- Reviewed by Adam Barth.
-
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * xml/parser/NewXMLDocumentParser.cpp:
- (WebCore::NewXMLDocumentParser::NewXMLDocumentParser):
- (WebCore::NewXMLDocumentParser::~NewXMLDocumentParser):
- (WebCore::NewXMLDocumentParser::append):
- (WebCore::NewXMLDocumentParser::finish):
- (WebCore::NewXMLDocumentParser::finishWasCalled):
- * xml/parser/NewXMLDocumentParser.h:
- * xml/parser/XMLTreeBuilder.cpp: Added.
- (WebCore::XMLTreeBuilder::XMLTreeBuilder):
- (WebCore::XMLTreeBuilder::processToken):
- (WebCore::XMLTreeBuilder::pushCurrentNode):
- (WebCore::XMLTreeBuilder::popCurrentNode):
- (WebCore::XMLTreeBuilder::processProcessingInstruction):
- (WebCore::XMLTreeBuilder::processXMLDeclaration):
- (WebCore::XMLTreeBuilder::processDOCTYPE):
- (WebCore::XMLTreeBuilder::processStartTag):
- (WebCore::XMLTreeBuilder::processEndTag):
- (WebCore::XMLTreeBuilder::processCharacter):
- (WebCore::XMLTreeBuilder::processCDATA):
- (WebCore::XMLTreeBuilder::processComment):
- (WebCore::XMLTreeBuilder::processEntity):
- (WebCore::XMLTreeBuilder::processNamespaces):
- (WebCore::XMLTreeBuilder::processAttributes):
- (WebCore::XMLTreeBuilder::processXMLEntity):
- (WebCore::XMLTreeBuilder::processHTMLEntity):
- (WebCore::XMLTreeBuilder::add):
- (WebCore::XMLTreeBuilder::appendToText):
- (WebCore::XMLTreeBuilder::enterText):
- (WebCore::XMLTreeBuilder::exitText):
- (WebCore::XMLTreeBuilder::NodeStackItem::NodeStackItem):
- (WebCore::XMLTreeBuilder::NodeStackItem::hasNamespaceURI):
- (WebCore::XMLTreeBuilder::NodeStackItem::namespaceURI):
- (WebCore::XMLTreeBuilder::NodeStackItem::setNamespaceURI):
- (WebCore::XMLTreeBuilder::NodeStackItem::namespaceForPrefix):
- * xml/parser/XMLTreeBuilder.h: Added.
- (WebCore::XMLTreeBuilder::create):
- (WebCore::XMLTreeBuilder::NodeStackItem::namespaceURI):
- (WebCore::XMLTreeBuilder::NodeStackItem::setNamespaceURI):
- (WebCore::XMLTreeBuilder::NodeStackItem::node):
- (WebCore::XMLTreeBuilder::NodeStackItem::setNode):
-
-2011-08-09 Mark Hahnenberg <mhahnenberg@apple.com>
-
- Add ParentClass typedef in all JSC classes
- https://bugs.webkit.org/show_bug.cgi?id=65731
-
- Reviewed by Oliver Hunt.
-
- No new tests.
-
- Just added the Base typedefs in all the classes that are a subclass of JSCell
- to point at their parent classes. This is a change to support future changes to the way
- constructors and destructors are implemented in JS objects, among other things.
-
- * bindings/js/JSAudioConstructor.h:
- * bindings/js/JSImageConstructor.h:
- * bindings/js/JSOptionConstructor.h:
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateHeader):
- (GenerateConstructorDeclaration):
- * bindings/scripts/test/JS/JSTestInterface.cpp:
- * bindings/scripts/test/JS/JSTestInterface.h:
- * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
- * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
- * bindings/scripts/test/JS/JSTestObj.cpp:
- * bindings/scripts/test/JS/JSTestObj.h:
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
- * bridge/c/CRuntimeObject.h:
- * bridge/c/c_instance.cpp:
- * bridge/jni/jsc/JavaInstanceJSC.cpp:
- * bridge/jni/jsc/JavaRuntimeObject.h:
- * bridge/objc/ObjCRuntimeObject.h:
- * bridge/objc/objc_runtime.h:
- * bridge/qt/qt_instance.cpp:
- * bridge/qt/qt_pixmapruntime.cpp:
- * bridge/qt/qt_runtime.h:
- * bridge/runtime_array.h:
- * bridge/runtime_method.h:
- * bridge/runtime_object.h:
- * bridge/testqtbindings.cpp:
- (Global::className):
-
-2011-08-09 Alexei Svitkine <asvitkine@chromium.org>
-
- [Chromium] Enable rubber banding when scrolling.
-
- https://bugs.webkit.org/show_bug.cgi?id=65707
-
- Reviewed by Dimitri Glazkov.
-
- No new tests since this is just syncing changes to chromium platform.
-
- * platform/PlatformWheelEvent.h:
- (WebCore::PlatformWheelEvent::PlatformWheelEvent):
- * platform/chromium/ScrollAnimatorChromiumMac.mm:
- (WebCore::ScrollAnimatorChromiumMac::handleGestureEvent):
-
-2011-08-09 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: XHRs end up in the resources panel.
- https://bugs.webkit.org/show_bug.cgi?id=60321
-
- Reviewed by Pavel Feldman.
-
- Test: http/tests/inspector/resource-tree/resource-tree-no-xhrs.html
-
- * inspector/front-end/ResourceTreeModel.js:
- (WebInspector.ResourceTreeModel.prototype._onResourceUpdated):
- * inspector/front-end/ResourcesPanel.js:
- (WebInspector.ResourcesPanel):
-
-2011-08-08 Adrienne Walker <enne@google.com>
-
- Add testing for --force-compositing-mode to windows.internal
- https://bugs.webkit.org/show_bug.cgi?id=65777
-
- Reviewed by Adam Barth.
-
- Test: platform/chromium/compositing/force-compositing-mode/force-composite-empty.html
-
- Move initial initialization to settings caching function so that RLC
- picks up changes to the force compositing mode flag.
-
- * WebCore.exp.in:
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::RenderLayerCompositor):
- (WebCore::RenderLayerCompositor::cacheAcceleratedCompositingFlags):
- (WebCore::RenderLayerCompositor::updateCompositingLayers):
- * testing/Internals.cpp:
- (WebCore::Internals::setForceCompositingMode):
- * testing/Internals.h:
- * testing/Internals.idl:
-
-2011-08-09 Alexandru Chiculita <achicu@adobe.com>
-
- Fixing 65868 REGRESSION(r92610) caused by 65668 - Optimize floating elements lookup
- https://bugs.webkit.org/show_bug.cgi?id=65871
-
- Added an interval tree in the FloatingObjects structure. Also added new mechanisms to make
- sure the tree is updated correctly when a float is repositioned.
-
- Changed the PODIntervalTree to support giving a search adapter that can be implemented by the
- client. I'm not adding a different bug for that because PODIntervalTree is not used anywhere else
- and would be hard to test that the change is not breaking anything.
-
- Reviewed by Dave Hyatt.
-
- No new tests, just a refactor on the floating objects data structure.
-
- * WebCore.xcodeproj/project.pbxproj:
- * platform/PODIntervalTree.h:
- (WebCore::PODIntervalSearchAdapter::PODIntervalSearchAdapter):
- (WebCore::PODIntervalSearchAdapter::lowValue):
- (WebCore::PODIntervalSearchAdapter::highValue):
- (WebCore::PODIntervalSearchAdapter::collectIfNeeded):
- (WebCore::PODIntervalTree::PODIntervalTree):
- (WebCore::PODIntervalTree::allOverlaps):
- (WebCore::PODIntervalTree::allOverlapsWithAdapter):
- (WebCore::PODIntervalTree::searchForOverlapsFrom):
- * platform/PODRedBlackTree.h:
- (WebCore::PODRedBlackTree::PODRedBlackTree):
- (WebCore::PODRedBlackTree::clear):
- (WebCore::PODRedBlackTree::isInitialized):
- (WebCore::PODRedBlackTree::initIfNeeded):
- (WebCore::PODRedBlackTree::add):
- (WebCore::PODRedBlackTree::remove):
- (WebCore::PODRedBlackTree::contains):
- (WebCore::PODRedBlackTree::visitInorder):
- (WebCore::PODRedBlackTree::size):
- (WebCore::PODRedBlackTree::checkInvariants):
- (WebCore::PODRedBlackTree::dump):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::styleDidChange):
- (WebCore::RenderBlock::addOverflowFromFloats):
- (WebCore::RenderBlock::repaintOverhangingFloats):
- (WebCore::RenderBlock::paintFloats):
- (WebCore::RenderBlock::selectionGaps):
- (WebCore::RenderBlock::insertFloatingObject):
- (WebCore::RenderBlock::removeFloatingObject):
- (WebCore::RenderBlock::removeFloatingObjectsBelow):
- (WebCore::RenderBlock::positionNewFloats):
- (WebCore::::collectIfNeeded):
- (WebCore::RenderBlock::logicalLeftOffsetForLine):
- (WebCore::RenderBlock::logicalRightOffsetForLine):
- (WebCore::RenderBlock::nextFloatLogicalBottomBelow):
- (WebCore::RenderBlock::lowestFloatLogicalBottom):
- (WebCore::RenderBlock::addPositionedFloats):
- (WebCore::RenderBlock::clearFloats):
- (WebCore::RenderBlock::addOverhangingFloats):
- (WebCore::RenderBlock::hasOverhangingFloat):
- (WebCore::RenderBlock::addIntrudingFloats):
- (WebCore::RenderBlock::markSiblingsWithFloatsForLayout):
- (WebCore::RenderBlock::hitTestFloats):
- (WebCore::RenderBlock::adjustForBorderFit):
- (WebCore::RenderBlock::FloatingObjects::clear):
- (WebCore::RenderBlock::FloatingObjects::intervalForFloatingObject):
- (WebCore::RenderBlock::FloatingObjects::addPlacedObject):
- (WebCore::RenderBlock::FloatingObjects::removePlacedObject):
- (WebCore::RenderBlock::FloatingObjects::add):
- (WebCore::RenderBlock::FloatingObjects::remove):
- (WebCore::RenderBlock::FloatingObjects::computePlacedFloatsTree):
- (WebCore::::string):
- * rendering/RenderBlock.h:
- (WebCore::RenderBlock::FloatingObject::FloatingObject):
- (WebCore::RenderBlock::FloatingObject::setX):
- (WebCore::RenderBlock::FloatingObject::setY):
- (WebCore::RenderBlock::FloatingObject::setWidth):
- (WebCore::RenderBlock::FloatingObject::setHeight):
- (WebCore::RenderBlock::FloatingObject::setFrameRect):
- (WebCore::RenderBlock::FloatingObject::isInPlacedTree):
- (WebCore::RenderBlock::FloatingObject::setIsInPlacedTree):
- (WebCore::RenderBlock::FloatIntervalSearchAdapter::FloatIntervalSearchAdapter):
- (WebCore::RenderBlock::FloatIntervalSearchAdapter::lowValue):
- (WebCore::RenderBlock::FloatIntervalSearchAdapter::highValue):
- (WebCore::RenderBlock::FloatingObjects::FloatingObjects):
- (WebCore::RenderBlock::FloatingObjects::setHorizontalWritingMode):
- (WebCore::RenderBlock::FloatingObjects::set):
- (WebCore::RenderBlock::FloatingObjects::placedFloatsTree):
- (WebCore::RenderBlock::FloatingObjects::computePlacedFloatsTreeIfNeeded):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::layoutRunsAndFloatsInRange):
- (WebCore::RenderBlock::linkToEndLineIfNeeded):
- (WebCore::RenderBlock::matchedEndLine):
- (WebCore::RenderBlock::positionNewFloatOnLine):
-
-2011-08-08 Ryosuke Niwa <rniwa@webkit.org>
-
- Repeated copy and paste result in nested font elements
- https://bugs.webkit.org/show_bug.cgi?id=65824
-
- Reviewed by Tony Chang.
-
- Modified isInlineNodeWithStyle to match font element. Also made the function match strictly with those nodes that
- ApplyStyleCommand may add to avoid removing non-styling elements. And fixed a regression from r81887 that
- ReplaceSelectionCommand may remove non-editing styles such as border in the attempt to avoid nesting styling elements.
-
- This patch paves the way to fix the bug 34564.
-
- Tests: editing/pasteboard/paste-text-with-style-2.html
- editing/pasteboard/paste-text-with-style-3.html
- editing/pasteboard/paste-text-with-style-4.html
-
- * editing/EditingStyle.cpp:
- (WebCore::HTMLElementEquivalent::matches): Takes const Element* instead of Element*.
- (WebCore::HTMLAttributeEquivalent::matches): Ditto.
- (WebCore::htmlElementEquivalents): Extracted from conflictsWithImplicitStyleOfElement.
- (WebCore::EditingStyle::conflictsWithImplicitStyleOfElement): Calls htmlElementEquivalents.
- (WebCore::EditingStyle::elementIsStyledSpanOrHTMLEquivalent): Added; determines whether an element is style span
- or a styling element (e.g. b, i, font) possibly with editing style.
- * editing/EditingStyle.h:
- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::isInlineNodeWithStyle): Calls EditingStyle::elementIsStyledSpanOrHTMLEquivalent.
- (WebCore::ReplaceSelectionCommand::doApply): More aggressively avoid nesting styling elements.
- * editing/htmlediting.cpp:
- (WebCore::highestEnclosingNodeOfType):
- * editing/htmlediting.h:
-
-2011-08-09 Dmitry Lomov <dslomov@google.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=65778
- [WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates.
-
- Reviewed by Dmitry Titov.
-
- Covered by existing tests.
-
- * bindings/v8/V8Binding.cpp:
- (WebCore::V8BindingPerIsolateData::V8BindingPerIsolateData):
- * bindings/v8/V8Binding.h:
- (WebCore::V8BindingPerIsolateData::lazyEventListenerToStringTemplate):
- (WebCore::V8BindingPerIsolateData::hiddenPropertyName):
- (WebCore::V8BindingPerIsolateData::globalHandleMap):
- (WebCore::AllowAllocation::AllowAllocation):Moving to V8Binding.h from V8Utilities.h to resolve header dependency.
- (WebCore::AllowAllocation::~AllowAllocation):
- (WebCore::AllowAllocation::current):
- (WebCore::SafeAllocation::newInstance):
- * bindings/v8/V8GCController.cpp:
- (WebCore::currentGlobalHandleMap):
- (WebCore::enumerateGlobalHandles):
- (WebCore::V8GCController::registerGlobalHandle):
- (WebCore::V8GCController::unregisterGlobalHandle):
- * bindings/v8/V8HiddenPropertyName.cpp:
- (WebCore::V8HiddenPropertyName::createString):
- * bindings/v8/V8HiddenPropertyName.h:
- (WebCore::V8HiddenPropertyName::V8HiddenPropertyName):
- * bindings/v8/V8LazyEventListener.cpp:
- (WebCore::V8LazyEventListener::prepareListenerObject):
- * bindings/v8/V8NPObject.cpp:
- * bindings/v8/V8Proxy.cpp:
- (WebCore::V8Proxy::checkNewLegal):
- * bindings/v8/V8Utilities.h:
- * bindings/v8/WorkerContextExecutionProxy.cpp:
- (WebCore::WorkerContextExecutionProxy::WorkerContextExecutionProxy):
- (WebCore::WorkerContextExecutionProxy::initIsolate):
- * bindings/v8/WorkerContextExecutionProxy.h:
- * bindings/v8/WorkerScriptController.cpp:
- (WebCore::WorkerScriptController::scheduleExecutionTermination):
-
-2011-08-09 Steve Block <steveblock@google.com>
-
- JavaString is not needed by V8
- https://bugs.webkit.org/show_bug.cgi?id=65909
-
- Removes the JavaString wrapper class, moves the JSC implementation
- to JavaStringJSC.h and removes the V8 implementation.
-
- Reviewed by Alexey Proskuryakov.
-
- No new tests, refactoring only.
-
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.xcodeproj/project.pbxproj:
- * bridge/jni/JavaString.h: Removed.
- * bridge/jni/jni_jsobject.mm:
- * bridge/jni/jsc/JavaFieldJSC.h:
- * bridge/jni/jsc/JavaInstanceJSC.cpp:
- * bridge/jni/jsc/JavaMethodJSC.h:
- * bridge/jni/jsc/JavaStringJSC.h:
- (JSC::Bindings::JavaString::JavaString):
- (JSC::Bindings::JavaString::~JavaString):
- (JSC::Bindings::JavaString::init):
- * bridge/jni/v8/JavaStringV8.h: Removed.
-
-2011-08-09 Abhishek Arya <inferno@chromium.org>
-
- Regression(83075): Fix updateAlwaysCreateLineBoxes on information
- about full layout which is needed when dirtying lineboxes.
- https://bugs.webkit.org/show_bug.cgi?id=65924
-
- Reviewed by Dave Hyatt.
-
- Test: fast/inline/update-always-create-line-boxes-full-layout-crash.html
-
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::layoutInlineChildren):
- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::updateAlwaysCreateLineBoxes):
- * rendering/RenderInline.h:
-
-2011-08-09 Nate Chapin <japhet@chromium.org>
-
- Remove receivedCancellation() from SubresourceLoaderClient.
-
- http://bugs.webkit.org/show_bug.cgi?id=65330
-
- Reviewed by Alexey Proskuryakov.
-
- No new tests, no change in functionality intended.
-
- * loader/DocumentThreadableLoader.cpp:
- * loader/DocumentThreadableLoader.h:
- * loader/SubresourceLoader.cpp:
- * loader/SubresourceLoader.h:
- * loader/SubresourceLoaderClient.h:
- * loader/ThreadableLoaderClient.h:
- * loader/WorkerThreadableLoader.cpp:
- * loader/WorkerThreadableLoader.h:
- * notifications/Notification.cpp:
- * notifications/Notification.h: Remove receivedCancellation() since it's
- identical to didFail(), which is always called immediately after.
- * workers/WorkerScriptLoader.cpp:
- * workers/WorkerScriptLoader.h: Remove receivedCancellation() since it's
- identical to didFail(), which is always called immediately after.
- * xml/XMLHttpRequest.cpp:
- * xml/XMLHttpRequest.h: Remove receivedCancellation(). All it does is
- set m_response, which is cleared in didFail() before it can be used.
-
-2011-08-09 Steve Block <steveblock@google.com>
-
- Java Bridge leaks local references
- https://bugs.webkit.org/show_bug.cgi?id=64320
-
- Reviewed by Alexey Proskuryakov.
-
- No new tests as this is just an optimization.
-
- * bridge/jni/jsc/JavaFieldJSC.cpp:
- (JavaField::JavaField):
- * bridge/jni/jsc/JavaMethodJSC.cpp:
- (JavaMethod::JavaMethod):
-
-2011-08-09 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: files from different domains are mixed in the file selector in Scripts panel
- https://bugs.webkit.org/show_bug.cgi?id=65601
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect):
- (WebInspector.ScriptsPanel.prototype._folderAndDisplayNameForScriptURL):
- (WebInspector.ScriptsPanel.prototype.reset):
- * inspector/front-end/inspector.css:
- (select.status-bar-item):
-
-2011-08-09 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: provide a way to hide user agent styles
- https://bugs.webkit.org/show_bug.cgi?id=37766
-
- Reviewed by Yury Semikhatsky.
-
- Test: inspector/styles/show-user-agent-styles.html
-
- * English.lproj/localizedStrings.js:
- * inspector/front-end/Settings.js:
- (WebInspector.Settings):
- * inspector/front-end/SettingsScreen.js:
- (WebInspector.SettingsScreen):
- * inspector/front-end/StylesSidebarPane.js:
- (WebInspector.StylesSidebarPane):
- (WebInspector.StylesSidebarPane.prototype._rebuildStyleRules.get continue):
- (WebInspector.StylesSidebarPane.prototype._rebuildStyleRules):
- (WebInspector.StylesSidebarPane.prototype._createElementStatePane):
- (WebInspector.StylesSidebarPane.prototype._showUserAgentStylesSettingChanged):
-
-2011-08-09 Steve Block <steveblock@google.com>
-
- JavaMethodJobject is no longer needed by V8
- https://bugs.webkit.org/show_bug.cgi?id=65910
-
- Reviewed by Tony Gentilcore.
-
- Removes the JavaMethod interface and moves the JavaMethodJobject
- implementation to bridge/jni/jsc/JavaMethodJSC.[cpp|h].
-
- No new tests, refactoring only.
-
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.xcodeproj/project.pbxproj:
- * bridge/jni/JavaMethod.h: Removed.
- * bridge/jni/jsc/JavaClassJSC.cpp:
- (JavaClass::JavaClass):
- * bridge/jni/jsc/JavaFieldJSC.h:
- * bridge/jni/jsc/JavaInstanceJSC.cpp:
- * bridge/jni/jsc/JavaMethodJSC.cpp: Renamed from Source/WebCore/bridge/jni/JavaMethodJobject.cpp.
- (JavaMethod::JavaMethod):
- (JavaMethod::~JavaMethod):
- (appendClassName):
- (JavaMethod::signature):
- * bridge/jni/jsc/JavaMethodJSC.h: Renamed from Source/WebCore/bridge/jni/JavaMethodJobject.h.
- (JSC::Bindings::JavaMethod::name):
- (JSC::Bindings::JavaMethod::returnTypeClassName):
- (JSC::Bindings::JavaMethod::parameterAt):
- (JSC::Bindings::JavaMethod::returnType):
- (JSC::Bindings::JavaMethod::isStatic):
- (JSC::Bindings::JavaMethod::numParameters):
- * bridge/jni/v8/JavaNPObjectV8.cpp:
-
-2011-08-09 Andrey Kosyakov <caseq@chromium.org>
-
- Web Inspector: assertion failure in InspectorDOMStorageResource::bind when opening inspector
- https://bugs.webkit.org/show_bug.cgi?id=65912
-
- Reviewed by Pavel Feldman.
-
- * inspector/InspectorDOMStorageAgent.cpp:
- (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
-
-2011-08-09 Yury Semikhatsky <yurys@chromium.org>
-
- Web Inspector: get rid of InspectorInstrumentation::inspectorAgents() map
- https://bugs.webkit.org/show_bug.cgi?id=54678
-
- Added two functions for retrieving InstrumentingAgents from Page and WorkerContext.
-
- Reviewed by Pavel Feldman.
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * inspector/InspectorController.cpp:
- (WebCore::InspectorController::InspectorController):
- (WebCore::InspectorController::inspectedPageDestroyed):
- * inspector/InspectorController.h:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::instrumentingAgentsForPage):
- * inspector/InspectorInstrumentation.h:
- * inspector/InstrumentingAgents.cpp: Copied from Source/WebCore/inspector/WorkerInspectorController.h.
- (WebCore::instrumentationForPage):
- (WebCore::instrumentationForWorkerContext):
- * inspector/InstrumentingAgents.h:
- * inspector/WorkerInspectorController.h:
-
-2011-08-09 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: Add "Refresh" to context menu of resources panel cookies view.
- https://bugs.webkit.org/show_bug.cgi?id=65854
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/CookieItemsView.js:
- (WebInspector.CookieItemsView):
- (WebInspector.CookieItemsView.prototype._updateWithCookies):
- (WebInspector.CookieItemsView.prototype._refreshButtonClicked):
- (WebInspector.CookieItemsView.prototype._contextMenu):
- * inspector/front-end/CookiesTable.js:
- (WebInspector.CookiesTable):
- * inspector/front-end/DataGrid.js:
- (WebInspector.DataGrid.prototype.get refreshCallback):
- (WebInspector.DataGrid.prototype.set refreshCallback):
- (WebInspector.DataGrid.prototype._contextMenuInDataTable):
- * inspector/front-end/ResourceCookiesView.js:
- (WebInspector.ResourceCookiesView.prototype._buildCookiesTable):
-
-2011-08-09 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: Resources panel does not show main resource cookies.
- https://bugs.webkit.org/show_bug.cgi?id=65770
-
- Reviewed by Pavel Feldman.
-
- Test: http/tests/inspector/resource-main-cookies.php
-
- * inspector/InspectorPageAgent.cpp:
- (WebCore::allResourcesURLsForFrame):
- (WebCore::InspectorPageAgent::getCookies):
- (WebCore::InspectorPageAgent::deleteCookie):
-
-2011-08-09 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r92670.
- http://trac.webkit.org/changeset/92670
- https://bugs.webkit.org/show_bug.cgi?id=65905
-
- It broke 3 inspector tests (Requested by Ossy on #webkit).
-
- * inspector/InjectedScript.cpp:
- (WebCore::InjectedScript::getProperties):
- * inspector/InjectedScript.h:
- * inspector/InjectedScriptSource.js:
- (.):
- * inspector/Inspector.json:
- * inspector/InspectorRuntimeAgent.cpp:
- (WebCore::InspectorRuntimeAgent::getProperties):
- * inspector/InspectorRuntimeAgent.h:
- * inspector/front-end/ObjectPropertiesSection.js:
- (WebInspector.ObjectPropertyTreeElement.prototype.ondblclick):
- (WebInspector.ObjectPropertyTreeElement.prototype.update):
- * inspector/front-end/RemoteObject.js:
- (WebInspector.RemoteObject.prototype.getOwnProperties):
- (WebInspector.RemoteObject.prototype.getAllProperties):
- (WebInspector.RemoteObject.prototype._getProperties.remoteObjectBinder):
- (WebInspector.RemoteObject.prototype._getProperties):
- (WebInspector.RemoteObjectProperty):
- * inspector/front-end/inspector.css:
- (.section .properties .value.dimmed):
-
-2011-08-09 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: there should be a way to tell what properties are non-enumerable when expanding objects.
- https://bugs.webkit.org/show_bug.cgi?id=65518
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/InjectedScript.cpp:
- (WebCore::InjectedScript::getProperties):
- * inspector/InjectedScript.h:
- * inspector/InjectedScriptSource.js:
- (.):
- * inspector/Inspector.json:
- * inspector/InspectorRuntimeAgent.cpp:
- (WebCore::InspectorRuntimeAgent::getProperties):
- * inspector/InspectorRuntimeAgent.h:
- * inspector/front-end/ObjectPropertiesSection.js:
- (WebInspector.ObjectPropertyTreeElement.prototype.ondblclick):
- (WebInspector.ObjectPropertyTreeElement.prototype.update):
- * inspector/front-end/RemoteObject.js:
- (WebInspector.RemoteObject.prototype.getOwnProperties):
- (WebInspector.RemoteObject.prototype.getAllProperties):
- (WebInspector.RemoteObjectProperty):
- * inspector/front-end/inspector.css:
- (.section .properties .dimmed):
-
-2011-08-08 Steve Block <steveblock@google.com>
-
- Removes V8's JavaInstanceJobject, JavaClassJobject and JavaFieldJobject.
- https://bugs.webkit.org/show_bug.cgi?id=57859
-
- Reviewed by Alexey Proskuryakov.
-
- This effectively reverts the changes made in Bugs 55383, 57533 and
- 55766. These classes were only used by Android. In the future, Android
- will use the Chromium WebKit API to implement the Java bridge.
-
- Towards this goal, this patch ...
- - Simplfies the JavaInstance, JavaClass and JavaField interfaces for V8.
- These interfaces will be implemented in Chromium's WebKit layer.
- - Adds a JavaMethod interface for V8
- - Removes the jvalue <-> JavaValue conversion functions for V8, which are
- now superfluous
- - Removes the calls to JavaInstance::begin()/end() for V8, which are now
- superfluous
-
- Will be covered by existing tests once the Chromium WebKit layer is complete.
-
- * WebCore.gypi:
- * bridge/jni/v8/JNIUtilityPrivate.cpp:
- * bridge/jni/v8/JNIUtilityPrivate.h:
- * bridge/jni/v8/JavaClassJobjectV8.cpp: Removed.
- * bridge/jni/v8/JavaFieldJobjectV8.cpp: Removed.
- * bridge/jni/v8/JavaFieldJobjectV8.h: Removed.
- * bridge/jni/v8/JavaFieldV8.h:
- * bridge/jni/v8/JavaInstanceJobjectV8.cpp: Removed.
- * bridge/jni/v8/JavaInstanceJobjectV8.h: Removed.
- * bridge/jni/v8/JavaInstanceV8.h:
- * bridge/jni/v8/JavaMethodV8.h:
- (JSC::Bindings::JavaMethod::~JavaMethod):
- * bridge/jni/v8/JavaNPObjectV8.cpp:
- (JSC::Bindings::JavaNPObjectHasMethod):
- (JSC::Bindings::JavaNPObjectInvoke):
- (JSC::Bindings::JavaNPObjectHasProperty):
- (JSC::Bindings::JavaNPObjectGetProperty):
-
-2011-08-08 Chris Rogers <crogers@google.com>
-
- Fix thread-safety of AudioNode deletion
- https://bugs.webkit.org/show_bug.cgi?id=65888
-
- Reviewed by Kenneth Russell
-
- No new tests - JavaScript API is not affected.
-
- * webaudio/AudioContext.cpp:
- (WebCore::AudioContext::AudioContext):
- (WebCore::AudioContext::constructCommon):
- (WebCore::AudioContext::~AudioContext):
- (WebCore::AudioContext::uninitialize):
- (WebCore::AudioContext::handlePostRenderTasks):
- (WebCore::AudioContext::scheduleNodeDeletion):
- (WebCore::AudioContext::deleteMarkedNodesDispatch):
- (WebCore::AudioContext::deleteMarkedNodes):
- * webaudio/AudioContext.h:
-
-2011-08-08 Chris Marrin <cmarrin@apple.com>
-
- Fix build breakage caused by http://trac.webkit.org/changeset/92651
-
- Unreviewed.
-
- * WebCore.exp.in:
-
-2011-08-08 Chris Marrin <cmarrin@apple.com>
-
- Logic to compute visible display rect in GraphicsLayerCA::syncCompositingState
- https://bugs.webkit.org/show_bug.cgi?id=65708
-
- Add logic to syncCompositingState to compute the visible rect for each
- layer. This can be used to synchronously render the visible tiles of a
- TiledLayer and avoid the flashing that often occurs when tiles are rendered
- asynchronously. A new synchronouslyDisplayTilesInRect is also added to do
- the actual rendering, but the call is not currently being made.
-
- Reviewed by Simon Fraser.
-
- * page/FrameView.cpp:
- (WebCore::FrameView::syncCompositingStateForThisFrame):
- * platform/graphics/GraphicsLayer.h:
- (WebCore::GraphicsLayer::syncCompositingState):
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::syncCompositingState):
- (WebCore::GraphicsLayerCA::recursiveCommitChanges):
- (WebCore::GraphicsLayerCA::platformCALayerPaintContents):
- (WebCore::GraphicsLayerCA::updateSublayerList):
- (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):
- * platform/graphics/ca/GraphicsLayerCA.h:
- * platform/graphics/ca/PlatformCALayer.h:
- * platform/graphics/ca/mac/PlatformCALayerMac.mm:
- (PlatformCALayer::synchronouslyDisplayTilesInRect):
- * platform/graphics/transforms/TransformState.cpp:
- (WebCore::TransformState::operator=):
- * platform/graphics/transforms/TransformState.h:
- (WebCore::TransformState::TransformState):
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
-
-2011-08-08 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r92619.
- http://trac.webkit.org/changeset/92619
- https://bugs.webkit.org/show_bug.cgi?id=65881
-
- This patch breaks chromium canary (Requested by jianli on
- #webkit).
-
- * bindings/v8/V8Binding.h:
- * bindings/v8/V8GCController.cpp:
- (WebCore::globalHandleMap):
- (WebCore::enumerateGlobalHandles):
- (WebCore::V8GCController::registerGlobalHandle):
- (WebCore::V8GCController::unregisterGlobalHandle):
- * bindings/v8/V8HiddenPropertyName.cpp:
- (WebCore::V8HiddenPropertyName::createString):
- * bindings/v8/V8HiddenPropertyName.h:
- * bindings/v8/V8LazyEventListener.cpp:
- (WebCore::V8LazyEventListener::prepareListenerObject):
- * bindings/v8/V8NPObject.cpp:
- * bindings/v8/V8Proxy.cpp:
- (WebCore::V8Proxy::checkNewLegal):
- * bindings/v8/V8Utilities.h:
- (WebCore::AllowAllocation::AllowAllocation):
- (WebCore::AllowAllocation::~AllowAllocation):
- (WebCore::SafeAllocation::newInstance):
- * bindings/v8/WorkerContextExecutionProxy.cpp:
- (WebCore::WorkerContextExecutionProxy::WorkerContextExecutionProxy):
- (WebCore::WorkerContextExecutionProxy::initV8):
- * bindings/v8/WorkerContextExecutionProxy.h:
- * bindings/v8/WorkerScriptController.cpp:
- (WebCore::WorkerScriptController::scheduleExecutionTermination):
-
-2011-08-08 Scott Byer <scottbyer@chromium.org>
-
- Scroll animator changes to nail the framerate
- https://bugs.webkit.org/show_bug.cgi?id=65645
-
- Reviewed by James Robinson.
-
- Partial test in ScrollAnimatorNoneTest::Enabled.
-
- * platform/ScrollAnimatorNone.cpp:
- (WebCore::ScrollAnimatorNone::PerAxisData::PerAxisData):
- (WebCore::ScrollAnimatorNone::PerAxisData::updateDataFromParameters):
- (WebCore::ScrollAnimatorNone::PerAxisData::animateScroll):
- (WebCore::ScrollAnimatorNone::ScrollAnimatorNone):
- (WebCore::ScrollAnimatorNone::~ScrollAnimatorNone):
- (WebCore::ScrollAnimatorNone::scroll):
- (WebCore::ScrollAnimatorNone::scrollToOffsetWithoutAnimation):
- (WebCore::ScrollAnimatorNone::animationTimerFired):
- (WebCore::ScrollAnimatorNone::stopAnimationTimerIfNeeded):
- * platform/ScrollAnimatorNone.h:
-
-2011-08-08 Emil A Eklund <eae@chromium.org>
-
- Switch legacy flexbox to to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=65340
-
- Reviewed by Eric Seidel.
-
- No new tests, no new functionality.
-
- * rendering/RenderDeprecatedFlexibleBox.cpp:
- (WebCore::RenderDeprecatedFlexibleBox::calcHorizontalPrefWidths):
- (WebCore::RenderDeprecatedFlexibleBox::calcVerticalPrefWidths):
- (WebCore::RenderDeprecatedFlexibleBox::computePreferredLogicalWidths):
- (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
- (WebCore::RenderDeprecatedFlexibleBox::layoutHorizontalBox):
- (WebCore::RenderDeprecatedFlexibleBox::layoutVerticalBox):
- (WebCore::RenderDeprecatedFlexibleBox::placeChild):
- (WebCore::RenderDeprecatedFlexibleBox::allowedChildFlex):
- * rendering/RenderDeprecatedFlexibleBox.h:
-
-2011-08-08 Emil A Eklund <eae@chromium.org>
-
- Switch RenderStyle to to new layout types
- https://bugs.webkit.org/show_bug.cgi?id=65208
-
- Reviewed by Eric Seidel.
-
- No new tests, no new functionality.
-
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::addShadowOverflow):
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::applyTransform):
- (WebCore::calcRadiiFor):
- (WebCore::RenderStyle::getRoundedBorderFor):
- (WebCore::RenderStyle::getRoundedInnerBorderFor):
- * rendering/style/RenderStyle.h:
- * rendering/style/ShadowData.cpp:
- (WebCore::ShadowData::adjustRectForShadow):
-
-2011-08-08 Cris Neckar <cdn@chromium.org>
-
- Remove counter nodes from the tree and fix-up children when they are removed from the counter map.
- https://bugs.webkit.org/show_bug.cgi?id=65346
-
- Reviewed by Adam Barth.
-
- Covered by existing CSS counter tests.
-
- * rendering/CounterNode.cpp:
- (WebCore::CounterNode::~CounterNode):
-
-2011-08-08 Tony Chang <tony@chromium.org>
-
- implement basic horizontal flexing
- https://bugs.webkit.org/show_bug.cgi?id=65045
-
- Reviewed by David Hyatt.
-
- Test: css3/flexbox/001.html
-
- * css/CSSPrimitiveValueMappings.h:
- (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::computeLogicalWidth):
- * rendering/RenderFlexibleBox.cpp:
- (WebCore::RenderFlexibleBox::FlexibleBoxIterator::FlexibleBoxIterator): flexitem iterator
- (WebCore::RenderFlexibleBox::FlexibleBoxIterator::first):
- (WebCore::RenderFlexibleBox::FlexibleBoxIterator::next):
- (WebCore::RenderFlexibleBox::FlexibleBoxIterator::reset):
- (WebCore::RenderFlexibleBox::layoutBlock):
- (WebCore::preferredFlexItemContentWidth): Returns the intrinsic size of a flex item's content.
- (WebCore::RenderFlexibleBox::layoutHorizontalBlock): Runs the flex algorithm
- (WebCore::preferredSizeForMarginsAndPadding):
- (WebCore::RenderFlexibleBox::computePreferredSize): Calculate the preferred size of the
- flex items.
- * rendering/RenderFlexibleBox.h:
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::createObject):
- * rendering/style/RenderStyleConstants.h:
-
-2011-08-08 David Grogan <dgrogan@chromium.org>
-
- Add detail to ASSERT message in IDBTransaction::enqueueEvent
- https://bugs.webkit.org/show_bug.cgi?id=65735
-
- I've hit this a few times but haven't been able to pin it down. The
- extra detail could be helpful.
-
Reviewed by Nate Chapin.
- No new tests, just an error message.
+ This function is poorly designed because isLoadingMainResource is a
+ poor proxy for determing whether to flush/finish the parser. Really,
+ we should change how loads complete to match the model in HTML5, but
+ that's pretty tricky. In the meantime, this null check fixes the
+ crash.
- * storage/IDBTransaction.cpp:
- (WebCore::IDBTransaction::enqueueEvent):
+ I'm sure there's another bug on file about this crash, but we've never
+ been able to reproduce it. Thanks to Berend-Jan Wever for the test
+ case!
-2011-08-08 Sheriff Bot <webkit.review.bot@gmail.com>
+ Test: fast/loader/reload-zero-byte-plugin.html
- Unreviewed, rolling out r92610.
- http://trac.webkit.org/changeset/92610
- https://bugs.webkit.org/show_bug.cgi?id=65868
+ * loader/DocumentWriter.cpp:
+ (WebCore::DocumentWriter::endIfNotLoadingMainResource):
- Caused assertion failures when running fast/multicol tests
- (Requested by andersca on #webkit).
-
- * WebCore.xcodeproj/project.pbxproj:
- * platform/PODIntervalTree.h:
- (WebCore::PODIntervalTree::allOverlaps):
- (WebCore::PODIntervalTree::searchForOverlapsFrom):
- * platform/PODRedBlackTree.h:
- (WebCore::PODRedBlackTree::add):
- (WebCore::PODRedBlackTree::remove):
- (WebCore::PODRedBlackTree::contains):
- (WebCore::PODRedBlackTree::visitInorder):
- (WebCore::PODRedBlackTree::size):
- (WebCore::PODRedBlackTree::checkInvariants):
- (WebCore::PODRedBlackTree::dump):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::styleDidChange):
- (WebCore::RenderBlock::addOverflowFromFloats):
- (WebCore::RenderBlock::repaintOverhangingFloats):
- (WebCore::RenderBlock::paintFloats):
- (WebCore::RenderBlock::selectionGaps):
- (WebCore::RenderBlock::insertFloatingObject):
- (WebCore::RenderBlock::removeFloatingObject):
- (WebCore::RenderBlock::removeFloatingObjectsBelow):
- (WebCore::RenderBlock::positionNewFloats):
- (WebCore::RenderBlock::logicalLeftOffsetForLine):
- (WebCore::RenderBlock::logicalRightOffsetForLine):
- (WebCore::RenderBlock::nextFloatLogicalBottomBelow):
- (WebCore::RenderBlock::lowestFloatLogicalBottom):
- (WebCore::RenderBlock::addPositionedFloats):
- (WebCore::RenderBlock::clearFloats):
- (WebCore::RenderBlock::addOverhangingFloats):
- (WebCore::RenderBlock::hasOverhangingFloat):
- (WebCore::RenderBlock::addIntrudingFloats):
- (WebCore::RenderBlock::markSiblingsWithFloatsForLayout):
- (WebCore::RenderBlock::hitTestFloats):
- (WebCore::RenderBlock::adjustForBorderFit):
- (WebCore::RenderBlock::FloatingObjects::clear):
- * rendering/RenderBlock.h:
- (WebCore::RenderBlock::FloatingObject::FloatingObject):
- (WebCore::RenderBlock::FloatingObject::setX):
- (WebCore::RenderBlock::FloatingObject::setY):
- (WebCore::RenderBlock::FloatingObject::setWidth):
- (WebCore::RenderBlock::FloatingObject::setHeight):
- (WebCore::RenderBlock::FloatingObject::setFrameRect):
- (WebCore::RenderBlock::FloatingObjects::FloatingObjects):
- (WebCore::RenderBlock::FloatingObjects::set):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::layoutRunsAndFloatsInRange):
- (WebCore::RenderBlock::linkToEndLineIfNeeded):
- (WebCore::RenderBlock::matchedEndLine):
- (WebCore::RenderBlock::positionNewFloatOnLine):
-
-2011-08-08 Emil A Eklund <eae@chromium.org>
-
- Rename absoluteQuadsForRange and InlineTextBox::selectionRect to local*
- https://bugs.webkit.org/show_bug.cgi?id=65722
-
- Reviewed by Simon Fraser.
-
- No new tests, no new functionality.
-
- * rendering/InlineTextBox.cpp:
- (WebCore::InlineTextBox::localSelectionRect):
- Rename InlineTextBox::selectionRect to localSelectionRect to reflect that
- it, unlike RenderObject::selectionRect returns a rect in the local
- coordinate space.
-
- * rendering/InlineTextBox.h:
- * rendering/RenderText.cpp:
- (WebCore::localQuadForTextBox):
- (WebCore::RenderText::absoluteRectsForRange):
- (WebCore::RenderText::absoluteQuadsForRange):
- (WebCore::RenderText::selectionRectForRepaint):
- Rename absoluteQuadForTextBox to localQuadForTextBox to reflect that it
- returns a quad in the local coordinate space.
-
- * rendering/svg/RenderSVGInlineText.cpp:
- (WebCore::RenderSVGInlineText::localCaretRect):
- * rendering/svg/SVGInlineTextBox.cpp:
- (WebCore::SVGInlineTextBox::localSelectionRect):
- * rendering/svg/SVGInlineTextBox.h:
-
-2011-08-08 Jochen Eisinger <jochen@chromium.org>
-
- Use a raw pointer to the security origin in the ctor of FrameLoadRequest
- https://bugs.webkit.org/show_bug.cgi?id=65852
-
- Reviewed by Alexey Proskuryakov.
-
- * loader/FrameLoadRequest.h:
- (WebCore::FrameLoadRequest::FrameLoadRequest):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::changeLocation):
- * loader/FrameLoader.h:
- * loader/NavigationScheduler.cpp:
- (WebCore::ScheduledURLNavigation::ScheduledURLNavigation):
- (WebCore::ScheduledURLNavigation::fire):
- (WebCore::ScheduledRedirect::ScheduledRedirect):
- (WebCore::ScheduledLocationChange::ScheduledLocationChange):
- (WebCore::ScheduledRefresh::ScheduledRefresh):
- (WebCore::NavigationScheduler::scheduleLocationChange):
- * loader/NavigationScheduler.h:
-
-2011-08-08 Ryosuke Niwa <rniwa@webkit.org>
-
- Remove redundant inline styles from the pasted contents more aggressively
- https://bugs.webkit.org/show_bug.cgi?id=65833
-
- Reviewed by Tony Chang.
-
- Make removeRedundantStylesAndKeepStyleSpanInline more aggressively remove redundant styles by realizing that
- when an editing inheritable property in an inline style declaration of an element can be safely removed
- if it is present either in style rules or in its ancestor and not overridden by style rules or default style
- of the element.
-
- Test: editing/pasteboard/paste-with-redundant-style.html
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::pseudoStyleRulesForElement): Do not match author style sheets if AuthorCSSRules
- is not included in the rules to include. This is used in EditingStyle::removePropertiesInElementDefaultStyle.
- * editing/ApplyStyleCommand.cpp:
- (WebCore::isStyleSpanOrSpanWithOnlyStyleAttribute): Added; returns true if the element is a style span or
- span possibly with a style attribute.
- * editing/ApplyStyleCommand.h:
- * editing/EditingStyle.cpp:
- (WebCore::styleFromMatchedRulesForElement): Takes rulesToInclude.
- (WebCore::EditingStyle::mergeStyleFromRules): Calls styleFromMatchedRulesForElement with AuthorCSSRules
- | CrossOriginCSSRules to keep the original behavior.
- (WebCore::EditingStyle::removeStyleFromRulesAndContext): Renamed from removeStyleFromRules; removes styles that
- are present in context and not overridden by matched rules.
- (WebCore::EditingStyle::removePropertiesInElementDefaultStyle): Added.
- * editing/EditingStyle.h:
- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline): See the description above.
-
-2011-08-08 Dmitry Lomov <dslomov@google.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=65778
- [WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates.
-
- Reviewed by David Levin.
-
- Covered by existing tests.
-
- * bindings/v8/V8Binding.h:
- (WebCore::V8BindingPerIsolateData::lazyEventListenerToStringTemplate):
- (WebCore::V8BindingPerIsolateData::hiddenPropertyName):
- (WebCore::V8BindingPerIsolateData::globalHandleMap):
- (WebCore::AllowAllocation::AllowAllocation): Moving to V8Binding.h from V8Utilities.h to resolve header dependency.
- (WebCore::AllowAllocation::~AllowAllocation):
- (WebCore::AllowAllocation::current):
- (WebCore::SafeAllocation::newInstance):
- * bindings/v8/V8GCController.cpp:
- (WebCore::currentGlobalHandleMap):
- (WebCore::enumerateGlobalHandles):
- (WebCore::V8GCController::registerGlobalHandle):
- (WebCore::V8GCController::unregisterGlobalHandle):
- * bindings/v8/V8HiddenPropertyName.cpp:
- (WebCore::V8HiddenPropertyName::createString):
- * bindings/v8/V8HiddenPropertyName.h:
- * bindings/v8/V8LazyEventListener.cpp:
- (WebCore::V8LazyEventListener::prepareListenerObject):
- * bindings/v8/V8NPObject.cpp:
- * bindings/v8/V8Proxy.cpp:
- (WebCore::V8Proxy::checkNewLegal):
- * bindings/v8/V8Utilities.h:
- * bindings/v8/WorkerContextExecutionProxy.cpp:
- (WebCore::WorkerContextExecutionProxy::WorkerContextExecutionProxy):
- (WebCore::WorkerContextExecutionProxy::initIsolate):
- * bindings/v8/WorkerContextExecutionProxy.h:
- * bindings/v8/WorkerScriptController.cpp:
- (WebCore::WorkerScriptController::scheduleExecutionTermination):
-
-2011-08-08 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r92607.
- http://trac.webkit.org/changeset/92607
- https://bugs.webkit.org/show_bug.cgi?id=65865
-
- This patch breaks Chromium Mac Canary (Requested by jianli on
- #webkit).
-
- * platform/PlatformWheelEvent.h:
- (WebCore::PlatformWheelEvent::PlatformWheelEvent):
- * platform/chromium/ScrollAnimatorChromiumMac.mm:
- (WebCore::ScrollAnimatorChromiumMac::handleGestureEvent):
-
-2011-08-08 Andrew Wason <rectalogic@rectalogic.com>
-
- [Qt] Implement WebGL antialiasing (part 3)
- https://bugs.webkit.org/show_bug.cgi?id=64879
-
- Reviewed by Noam Rosenthal.
-
- Existing WebGL layout tests cover this.
-
- Implement WebGL antialiasing for Qt desktop.
- Existing code in GraphicsContext3DOpenGL.cpp manages the
- multisample FBO. GraphicsContext3DQt.cpp creates it and blits
- it to the regular FBO when painting.
- Requires adoption of Extensions3DOpenGL to be fully functional.
-
- * platform/graphics/qt/GraphicsContext3DQt.cpp:
- (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
- (WebCore::GraphicsContext3DInternal::paintToTextureMapper):
- (WebCore::GraphicsContext3DInternal::paint):
- (WebCore::GraphicsContext3DInternal::multisampleResolve):
- (WebCore::GraphicsContext3D::GraphicsContext3D):
- (WebCore::GraphicsContext3D::~GraphicsContext3D):
-
-2011-08-08 Anders Carlsson <andersca@apple.com>
-
- Fix build.
-
- * platform/PODRedBlackTree.h:
- (WebCore::PODRedBlackTree::Counter::visit):
-
-2011-08-08 Alexandru Chiculita <achicu@adobe.com>
-
- Optimize floating elements lookup
- https://bugs.webkit.org/show_bug.cgi?id=65668
-
- Added an interval tree in the FloatingObjects structure. Also added new mechanisms to make
- sure the tree is updated correctly when a float is repositioned.
-
- Changed the PODIntervalTree to support giving a search adapter that can be implemented by the
- client. I'm not adding a different bug for that because PODIntervalTree is not used anywhere else
- and would be hard to test that the change is not breaking anything.
-
- Reviewed by David Hyatt.
-
- No new tests, just a refactor on the floating objects data structure.
-
- * WebCore.xcodeproj/project.pbxproj:
- * platform/PODIntervalTree.h:
- (WebCore::PODIntervalSearchAdapter::PODIntervalSearchAdapter):
- (WebCore::PODIntervalSearchAdapter::lowValue):
- (WebCore::PODIntervalSearchAdapter::highValue):
- (WebCore::PODIntervalSearchAdapter::collectIfNeeded):
- (WebCore::PODIntervalTree::PODIntervalTree):
- (WebCore::PODIntervalTree::allOverlaps):
- (WebCore::PODIntervalTree::allOverlapsWithAdapter):
- (WebCore::PODIntervalTree::searchForOverlapsFrom):
- * platform/PODRedBlackTree.h:
- (WebCore::PODRedBlackTree::PODRedBlackTree):
- (WebCore::PODRedBlackTree::clear):
- (WebCore::PODRedBlackTree::isInitialized):
- (WebCore::PODRedBlackTree::initIfNeeded):
- (WebCore::PODRedBlackTree::add):
- (WebCore::PODRedBlackTree::remove):
- (WebCore::PODRedBlackTree::contains):
- (WebCore::PODRedBlackTree::visitInorder):
- (WebCore::PODRedBlackTree::size):
- (WebCore::PODRedBlackTree::checkInvariants):
- (WebCore::PODRedBlackTree::dump):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::styleDidChange):
- (WebCore::RenderBlock::addOverflowFromFloats):
- (WebCore::RenderBlock::repaintOverhangingFloats):
- (WebCore::RenderBlock::paintFloats):
- (WebCore::RenderBlock::selectionGaps):
- (WebCore::RenderBlock::insertFloatingObject):
- (WebCore::RenderBlock::removeFloatingObject):
- (WebCore::RenderBlock::removeFloatingObjectsBelow):
- (WebCore::RenderBlock::positionNewFloats):
- (WebCore::::collectIfNeeded):
- (WebCore::RenderBlock::logicalLeftOffsetForLine):
- (WebCore::RenderBlock::logicalRightOffsetForLine):
- (WebCore::RenderBlock::nextFloatLogicalBottomBelow):
- (WebCore::RenderBlock::lowestFloatLogicalBottom):
- (WebCore::RenderBlock::addPositionedFloats):
- (WebCore::RenderBlock::clearFloats):
- (WebCore::RenderBlock::addOverhangingFloats):
- (WebCore::RenderBlock::hasOverhangingFloat):
- (WebCore::RenderBlock::addIntrudingFloats):
- (WebCore::RenderBlock::markSiblingsWithFloatsForLayout):
- (WebCore::RenderBlock::hitTestFloats):
- (WebCore::RenderBlock::adjustForBorderFit):
- (WebCore::RenderBlock::FloatingObjects::clear):
- (WebCore::RenderBlock::FloatingObjects::intervalForFloatingObject):
- (WebCore::RenderBlock::FloatingObjects::addPlacedObject):
- (WebCore::RenderBlock::FloatingObjects::removePlacedObject):
- (WebCore::RenderBlock::FloatingObjects::add):
- (WebCore::RenderBlock::FloatingObjects::remove):
- (WebCore::RenderBlock::FloatingObjects::computePlacedFloatsTree):
- (WebCore::::string):
- * rendering/RenderBlock.h:
- (WebCore::RenderBlock::FloatingObject::FloatingObject):
- (WebCore::RenderBlock::FloatingObject::setX):
- (WebCore::RenderBlock::FloatingObject::setY):
- (WebCore::RenderBlock::FloatingObject::setWidth):
- (WebCore::RenderBlock::FloatingObject::setHeight):
- (WebCore::RenderBlock::FloatingObject::setFrameRect):
- (WebCore::RenderBlock::FloatingObject::isInPlacedTree):
- (WebCore::RenderBlock::FloatingObject::setIsInPlacedTree):
- (WebCore::RenderBlock::FloatIntervalSearchAdapter::FloatIntervalSearchAdapter):
- (WebCore::RenderBlock::FloatIntervalSearchAdapter::lowValue):
- (WebCore::RenderBlock::FloatIntervalSearchAdapter::highValue):
- (WebCore::RenderBlock::FloatingObjects::FloatingObjects):
- (WebCore::RenderBlock::FloatingObjects::setHorizontalWritingMode):
- (WebCore::RenderBlock::FloatingObjects::set):
- (WebCore::RenderBlock::FloatingObjects::placedFloatsTree):
- (WebCore::RenderBlock::FloatingObjects::computePlacedFloatsTreeIfNeeded):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::layoutRunsAndFloatsInRange):
- (WebCore::RenderBlock::linkToEndLineIfNeeded):
- (WebCore::RenderBlock::matchedEndLine):
- (WebCore::RenderBlock::positionNewFloatOnLine):
-
-2011-08-08 Alexei Svitkine <asvitkine@chromium.org>
-
- [Chromium] Enable rubber banding when scrolling.
-
- https://bugs.webkit.org/show_bug.cgi?id=65707
-
- Reviewed by Dimitri Glazkov.
-
- No new tests since this is just syncing changes to chromium platform.
-
- * platform/PlatformWheelEvent.h:
- (WebCore::PlatformWheelEvent::PlatformWheelEvent):
- * platform/chromium/ScrollAnimatorChromiumMac.mm:
- (WebCore::ScrollAnimatorChromiumMac::handleGestureEvent):
-
-2011-08-08 Dan Bernstein <mitz@apple.com>
-
- Build fix.
-
- * html/NumberInputType.cpp:
- (WebCore::NumberInputType::sizeShouldIncludeDecoration): Fixed an obvious typo.
-
-2011-08-08 Andras Becsi <abecsi@webkit.org>
-
- [Qt] Clean up project file after r92492.
-
- Unreviewed gardening.
-
- No new tests needed.
-
- * WebCore.pro: remove nonexistent PluginHalterClient.h, PluginHalter.h, HaltablePlugin.h.
-
-2011-08-08 Pavel Podivilov <podivilov@chromium.org>
-
- Web Inspector: refactor links creation.
- https://bugs.webkit.org/show_bug.cgi?id=65612
-
- Reviewed by Pavel Feldman.
-
- No new tests - it is refactoring, modified code covered by script-formatter.html test.
-
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleMessage.prototype._formatMessage):
- (WebInspector.ConsoleMessage.prototype._linkifyLocation):
- (WebInspector.ConsoleMessage.prototype._linkifyCallFrame):
- (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel):
- (WebInspector.DebuggerPresentationModel.prototype.addSourceMappingListener):
- (WebInspector.DebuggerPresentationModel.prototype.removeSourceMappingListener):
- (WebInspector.DebuggerPresentationModel.prototype.linkifyLocation.updateAnchor.didGetLocation):
- (WebInspector.DebuggerPresentationModel.prototype.linkifyLocation.updateAnchor):
- (WebInspector.DebuggerPresentationModel.prototype.linkifyLocation):
- (WebInspector.DebuggerPresentationModel.prototype.setFormatSourceFiles):
- (WebInspector.DebuggerPresentationModel.prototype._sourceFileForScript):
- (WebInspector.DebuggerPresentationModel.prototype._debuggerReset):
- * inspector/front-end/EventListenersSidebarPane.js:
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkDataGridNode.prototype._refreshInitiatorCell):
- * inspector/front-end/Panel.js:
- * inspector/front-end/ProfileDataGridTree.js:
- (WebInspector.ProfileDataGridNode.prototype.createCell):
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._folderAndDisplayNameForScriptURL):
- * inspector/front-end/StylesSidebarPane.js:
- (WebInspector.StylePropertiesSection.linkifyUncopyable):
- (WebInspector.StylePropertiesSection):
- * inspector/front-end/TimelinePanel.js:
- (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails):
- (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyLocation):
- (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyCallFrame):
- (WebInspector.TimelinePanel.PopupContentHelper.prototype._appendLinkRow):
- (WebInspector.TimelinePanel.PopupContentHelper.prototype._appendStackTrace):
- * inspector/front-end/inspector.js:
- (WebInspector._showSettingsScreen):
- (WebInspector.formatLinkText):
- (WebInspector.linkifyResourceAsNode):
-
-2011-08-08 Andrew Wason <rectalogic@rectalogic.com>
-
- [Qt] Implement WebGL antialiasing (part 3)
- https://bugs.webkit.org/show_bug.cgi?id=64879
-
- Reviewed by Noam Rosenthal.
-
- Existing WebGL layout tests.
-
- Adopt Extensions3DOpenGL for Qt desktop as a prerequisite
- for implementing WebGL antialiasing.
- Extensions3DQt is still used for ES2.
-
- * WebCore.pri:
- * WebCore.pro:
- * platform/graphics/GraphicsContext3D.h:
- * platform/graphics/opengl/Extensions3DOpenGL.cpp:
- (WebCore::Extensions3DOpenGL::createVertexArrayOES):
- (WebCore::Extensions3DOpenGL::deleteVertexArrayOES):
- (WebCore::Extensions3DOpenGL::isVertexArrayOES):
- (WebCore::Extensions3DOpenGL::bindVertexArrayOES):
- * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
- (WebCore::GraphicsContext3D::getExtensions):
- * platform/graphics/qt/GraphicsContext3DQt.cpp:
- (WebCore::GraphicsContext3D::layerComposited):
-
-2011-08-08 Benjamin Poulain <benjamin@webkit.org>
-
- Build fix after r92589, defaultSize is not used.
-
- Reviewed by Andreas Kling.
-
- * html/InputType.cpp:
- (WebCore::InputType::sizeShouldIncludeDecoration):
-
-2011-08-08 Keishi Hattori <keishi@webkit.org>
-
- Implement <input type=color> UI behavior WebCore part
- https://bugs.webkit.org/show_bug.cgi?id=62619
-
- Reviewed by Kent Tamura.
-
- * WebCore.exp.in: Added __ZN7WebCore12ColorChooser7chooserEv and
- __ZNK7WebCore12ColorChooser13colorSelectedERKNS_5ColorE
- * WebCore.xcodeproj/project.pbxproj: Added ColorChooser.{h,cpp}
- * html/ColorInputType.cpp:
- (WebCore::ColorInputType::~ColorInputType): Added. Close color chooser. ex. when type attribute changes.
- (WebCore::ColorInputType::valueAsColor): Added.
- (WebCore::ColorInputType::setValueAsColor): Added.
- (WebCore::ColorInputType::valueChanged): Update selected color in color chooser too.
- (WebCore::ColorInputType::handleClickEvent): Opens color chooser.
- (WebCore::ColorInputType::handleDOMActivateEvent): Called when element.click(). Open color chooser only
- when it was initiated by a user interaction.
- (WebCore::ColorInputType::detach): Close color chooser. Called when input element or its ancestors have "display:none"
- or is removed from DOM.
- (WebCore::ColorInputType::colorSelected): Callback from color chooser.
- (WebCore::ColorInputType::isColorInputType): Returns true.
- (WebCore::ColorInputType::closeColorChooserIfCurrentClient): Close color chooser if this input type is the current client of ColorChooser.
- * html/ColorInputType.h:
- * html/FileInputType.cpp:
- * html/FileInputType.h:
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::detach): Calls InputType::detach
- * html/InputType.cpp:
- (WebCore::InputType::chrome): Added. Used in FileInputType and ColorInputType.
- (WebCore::InputType::detach): ColorInputType overrides this.
- * html/InputType.h:
- * loader/EmptyClients.h:
- (WebCore::EmptyChromeClient::openColorChooser):
- (WebCore::EmptyChromeClient::closeColorChooser):
- (WebCore::EmptyChromeClient::setSelectedColorInColorChooser):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::transitionToCommitted): Close color chooser when navigating away from the page. We do this here
- because ColorInputType::detach() is called seconds after the page transition so it is too slow.
- * page/Chrome.cpp:
- (WebCore::Chrome::openColorChooser): Added.
- (WebCore::Chrome::closeColorChooser): Added.
- (WebCore::Chrome::setSelectedColorInColorChooser): Added.
- * page/Chrome.h:
- * page/ChromeClient.h:
- * platform/ColorChooser.cpp: Added.
- (WebCore::ColorChooserClient::~ColorChooserClient): Disconnects itself from the ColorChooser.
- (WebCore::ColorChooser::chooser): Get shared instance of ColorChooser.
- (WebCore::ColorChooser::connectClient): Connects a ColorChooserClient that receives the colorSelected callbacks.
- (WebCore::ColorChooser::disconnectClient): Disconnects the connectClient.
- (WebCore::ColorChooser::colorSelected): Called from color chooser listener.
- * platform/ColorChooser.h: Added.
- (WebCore::ColorChooserClient::isColorInputType): Added.
- (WebCore::ColorChooser::client): Added. Returns the current connected client.
- (WebCore::ColorChooser::ColorChooser): Added.
-
-2011-08-08 Shinya Kawanaka <shinyak@google.com>
-
- The input[type=number] element should be as wide as necessary to show the widest possible value.
- https://bugs.webkit.org/show_bug.cgi?id=60673
-
- Reviewed by Kent Tamura.
-
- The size of input[type=number] is calculated from min/max/step attributes to show the widest possible value.
- If min or max attribute is absent, the default size is used.
- Also, if its css width is not auto, the width is used with priority.
-
- If min/max/attribute is set dynamically, the size of the input[type=number] will be recalculated.
-
- Test: fast/forms/input-number-size.html
-
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::parseMappedAttribute):
- Added stepAttributeChanged handler.
- (WebCore::HTMLInputElement::sizeShouldIncludeDecoration):
- Returns true if a renderer should include decoration (e.g. inner spinbox).
- Also returns the preferred size of the input.
- * html/HTMLInputElement.h:
- * html/InputType.cpp:
- (WebCore::InputType::sizeShouldIncludeDecoration):
- Same as WebCore::HTMLInputElement::sizeShouldIncludeDecoration.
- (WebCore::InputType::stepAttributeChanged):
- Will be called When step attribute is changed.
- Sets a flag to recalculate layout.
- * html/InputType.h:
- * html/NumberInputType.cpp:
- (WebCore::lengthBeforeDecimalPoint):
- Calculates the width before the decimal point.
- (WebCore::NumberInputType::sizeShouldIncludeDecoration):
- Same as WebCore::HTMLInputElement::sizeShouldIncludeDecoration.
- However, this will calculate the preferred size from min/max/step attribute.
- (WebCore::NumberInputType::minOrMaxAttributeChanged):
- Sets a flag to recalculate layout.
- (WebCore::NumberInputType::stepAttributeChanged): ditto.
- * html/NumberInputType.h:
- * rendering/RenderTextControlSingleLine.cpp:
- (WebCore::RenderTextControlSingleLine::preferredContentWidth):
- Uses preferredSize instead of size.
- Also, adds innerSpinButtonElement size to width if sizeShouldIncludeDecoration returns true.
-
-2011-08-08 Kenichi Ishibashi <bashi@chromium.org>
-
- Should not use C-style cast in CSSParser.cpp
- https://bugs.webkit.org/show_bug.cgi?id=65807
-
- Remove C-style cast.
-
- Reviewed by Kent Tamura.
-
- No new tests because no behavior change.
-
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseAnimationTimingFunction): Replaced a cast with clampToInteger().
- (WebCore::CSSParser::parseFontFeatureTag): Ditto.
- (WebCore::CSSParser::createKeyframeRule): Replaced a cast with C++-style cast.
-
-2011-08-05 Pavel Feldman <pfeldman@chromium.org>
-
- Web Inspector: implement dock/undock in WebKit2 without getting into WebCore.
- https://bugs.webkit.org/show_bug.cgi?id=65763
-
- InspectorFrontendClient.h can't have synchronous canAttachWindow() returning value
- since in the multiprocess environment, you can't immediately get back to it from the host.
-
- r92384 introduced an unhealthy WebKit -> WebCore -> WebKit canAttach query where embedder
- was asking itself a question. This loop was fixed.
-
- Reviewed by Yury Semikhatsky.
-
- * WebCore.exp.in:
- * inspector/InspectorController.cpp:
- * inspector/InspectorController.h:
- * inspector/InspectorFrontendClient.h:
- * inspector/InspectorFrontendClientLocal.h:
- * inspector/front-end/inspector.js:
- (windowLoaded):
-
-2011-07-28 Kent Tamura <tkent@chromium.org>
-
- [Chromium] Make form validation bubble fit with Chrome UI style
- https://bugs.webkit.org/show_bug.cgi?id=65359
-
- Reviewed by Hajime Morita.
-
- Change the appearance of validation message bubble for
- Chromium. Basically it doesn't change for other ports.
-
- - Introduce a new element to put an icon, and enclose it and the
- message text by a flexible box.
- - Repesent the message text by two elements. One for the heading,
- another for the remaining.
-
- - Introduce themeChromium.css
-
- * WebCore.gyp/WebCore.gyp: Add themeChromium.css.
- * css/html.css:
- (::-webkit-validation-bubble-message): Make this a flexible box container.
- (::-webkit-validation-bubble-text-block): Takes flexibility.
- (::-webkit-validation-bubble-heading):
- Make the content bold because we removed <b></b>.
- * css/themeChromium.css: Added.
- (::-webkit-validation-bubble):
- (::-webkit-validation-bubble-message):
- (::-webkit-validation-bubble-arrow):
- (::-webkit-validation-bubble-arrow-clipper):
- (::-webkit-validation-bubble-icon):
- (::-webkit-validation-bubble-heading):
- (::-webkit-validation-bubble-body):
- * html/ValidationMessage.cpp:
- (WebCore::ValidationMessage::setMessageDOMAndStartTimer):
- Sets the text into m_messageHeading and m_messageBody, instead of m_bubbleMessage.
- Use ASSERT_NO_EXCEPTION.
- (WebCore::ValidationMessage::buildBubbleTree):
- Build the new structure, and use ASSERT_NO_EXCEPTION.
- (WebCore::ValidationMessage::deleteBubbleTree):
- Clear m_messageHeading and m_messageBody.
- * html/ValidationMessage.h:
- * rendering/RenderThemeChromiumMac.h: Add extraDefaultStyleSheet().
- * rendering/RenderThemeChromiumMac.mm:
- (WebCore::RenderThemeChromiumMac::extraDefaultStyleSheet): Append themeChromium.css.
- * rendering/RenderThemeChromiumSkia.cpp:
- (WebCore::RenderThemeChromiumSkia::extraDefaultStyleSheet): Append themeChromium.css.
-
-2011-08-07 Keishi Hattori <keishi@webkit.org>
-
- Sort WebCore.xcodeproj
- Accomplished using sort-Xcode-project-file.
-
- * WebCore.xcodeproj/project.pbxproj:
-
-2011-08-07 James Kozianski <koz@chromium.org>
-
- Make the fullscreen JS API enabled at runtime.
- https://bugs.webkit.org/show_bug.cgi?id=65501
-
- Reviewed by Adam Barth.
-
- * bindings/generic/RuntimeEnabledFeatures.cpp:
- * bindings/generic/RuntimeEnabledFeatures.h:
- (WebCore::RuntimeEnabledFeatures::webkitFullScreenAPIEnabled):
- (WebCore::RuntimeEnabledFeatures::setWebkitFullScreenAPIEnabled):
- (WebCore::RuntimeEnabledFeatures::webkitRequestFullScreenEnabled):
- (WebCore::RuntimeEnabledFeatures::webkitIsFullScreenEnabled):
- (WebCore::RuntimeEnabledFeatures::webkitFullScreenKeyboardInputAllowedEnabled):
- (WebCore::RuntimeEnabledFeatures::webkitCurrentFullScreenElementEnabled):
- (WebCore::RuntimeEnabledFeatures::webkitCancelFullScreenEnabled):
- * dom/Document.idl:
- * dom/Element.idl:
-
-2011-08-07 Martin Robinson <mrobinson@igalia.com>
-
- Distribution fix for GTK+.
-
- * GNUmakefile.am: Add some files to the distribution list.
- * GNUmakefile.list.am: Strip removed files from the source list.
-
-2011-08-07 Jochen Eisinger <jochen@chromium.org>
-
- Move FrameLoadRequest to loader/
- https://bugs.webkit.org/show_bug.cgi?id=65817
-
- Reviewed by Alexey Proskuryakov.
-
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * loader/FrameLoadRequest.h:
- (WebCore::FrameLoadRequest::FrameLoadRequest):
- (WebCore::FrameLoadRequest::isEmpty):
- (WebCore::FrameLoadRequest::requester):
- (WebCore::FrameLoadRequest::resourceRequest):
- (WebCore::FrameLoadRequest::frameName):
- (WebCore::FrameLoadRequest::setFrameName):
-
-2011-08-07 Sam White <samuel.white@rochester.edu>
-
- Add the ability to search the AccessibilityObject cache
- https://bugs.webkit.org/show_bug.cgi?id=64994
-
- New AccessibilityObject cache search functionality and API for the mac
- platform to expose it. At this point the AccessibilityObject cache can
- be searched using one of the supported search keys that have been defined
- in AccessibilityObject.h, or by passing search text.
-
- Reviewed by Chris Fleizach.
-
- Test: platform/mac/accessibility/search-predicate.html
-
- * accessibility/AccessibilityObject.cpp:
- (WebCore::AccessibilityObject::isAccessibilityObjectSearchMatch):
- (WebCore::AccessibilityObject::isAccessibilityTextSearchMatch):
- (WebCore::AccessibilityObject::accessibilityObjectContainsText):
- (WebCore::AccessibilityObject::accessibleObjectsWithAccessibilitySearchPredicate):
- * accessibility/AccessibilityObject.h:
- * accessibility/mac/AccessibilityObjectWrapper.mm:
- (createAccessibilitySearchKeyMap):
- (accessibilitySearchKeyForString):
- (-[AccessibilityObjectWrapper accessibilityParameterizedAttributeNames]):
- (-[AccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
-
-2011-08-06 Mark Rowe <mrowe@apple.com>
-
- Fix a memory leak found via code inspection.
-
- Rubber-stamped by Dan Bernstein.
-
- * platform/mac/PasteboardMac.mm:
- (WebCore::Pasteboard::writeSelection): Adopt the newly-allocated WebHTMLConverter
- instance so that it does not leak.
-
-2011-08-05 Darin Adler <darin@apple.com>
-
- Fix Timer heap implementation to work with more libraries (other versions of STL)
- https://bugs.webkit.org/show_bug.cgi?id=65782
-
- Reviewed by Anders Carlsson.
-
- No behavior change, so no tests needed. Existing tests pass.
-
- * platform/Timer.cpp: Added TimerHeapPointer and TimerHeapReference class
- alongside the TimerHeapIterator class. Also added a swap function. Also
- added a TimerHeapLessThanFunction class.
- (WebCore::TimerBase::heapDecreaseKey): Pass pointers in to the TimerHeapIterator
- since that's how the class works now. Pass a TimerHeapLessThanFunction object
- instead of letting the library use the < operator directly.
- (WebCore::TimerBase::heapPopMin): Ditto.
-
- * platform/Timer.h: Updated for above changes.
-
-2011-08-06 Aron Rosenberg <arosenberg@logitech.com>
-
- Reviewed by Benjamin Poulain.
-
- [Qt] Fix build with Intel compiler on Windows
- https://bugs.webkit.org/show_bug.cgi?id=65088
-
- Intel compiler needs .lib suffixes instead of .a
-
- * WebCore.pri:
-
-2011-08-06 Dan Bernstein <mitz@apple.com>
-
- Move the shared LineBreakIteratorPool from ThreadGlobalData into its own ThreadSpecific
- https://bugs.webkit.org/show_bug.cgi?id=65809
-
- Reviewed by Darin Adler and Sam Weinig.
-
- * platform/ThreadGlobalData.cpp:
- (WebCore::ThreadGlobalData::destroy): Removed code to clear the m_lineBreakIteratorPool member
- variable, which was removed.
- * platform/ThreadGlobalData.h: Removed lineBreakIteratorPool() and associated member variable.
- * platform/text/LineBreakIteratorPoolICU.h:
- (WebCore::LineBreakIteratorPool::sharedPool): Changed to return a thread-specific pool.
-
-2011-08-06 Joseph Pecoraro <joepeck@webkit.org>
-
- Potential Leaks - RetainPtr<> over retaining Create'd objects
- https://bugs.webkit.org/show_bug.cgi?id=65806
-
- Reviewed by Darin Adler.
-
- Fix a possible leak by adopting an allocation instead of retaining it.
-
- * platform/network/mac/NetworkStateNotifierMac.cpp:
- (WebCore::NetworkStateNotifier::NetworkStateNotifier):
- * plugins/mac/PluginPackageMac.cpp:
- (WebCore::stringListFromResourceId):
- (WebCore::PluginPackage::fetchInfo):
-
-2011-08-06 Rafael Brandao <rafael.lobo@openbossa.org>
-
- REGRESSION (r91540): Favicons are not loaded
- https://bugs.webkit.org/show_bug.cgi?id=65692
-
- Reviewed by Darin Adler.
-
- The policy that evaluates whether a page can have icon or not should not
- need to be reimplemented each time a new IconDatabaseBase is derived,
- so it was moved to WebCore's scope.
-
- * loader/icon/IconController.cpp:
- (WebCore::IconController::startLoader):
- * loader/icon/IconDatabase.cpp:
- * loader/icon/IconDatabase.h:
- * loader/icon/IconDatabaseBase.cpp:
- (WebCore::documentCanHaveIcon):
- * loader/icon/IconDatabaseBase.h:
-
-2011-08-06 Kenichi Ishibashi <bashi@chromium.org>
-
- Should use C++-style cast in CSSParser.cpp
- https://bugs.webkit.org/show_bug.cgi?id=65807
-
- Replaces C-style cast with C++style cast.
-
- Reviewed by Shinichiro Hamaji.
-
- No new tests because no behavior change.
-
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseAnimationTimingFunction):
- (WebCore::CSSParser::parseFont):
- (WebCore::CSSParser::parseColorFromValue):
- (WebCore::CSSParser::parseFontFeatureTag):
-
-2011-08-06 Nikolas Zimmermann <nzimmermann@rim.com>
-
- REGRESSION(87526): ASSERT(!needsLayout()) followed by graphical glitches on google charts (svg loaded in iframe)
- https://bugs.webkit.org/show_bug.cgi?id=64974
-
- svg/zoom/page/zoom-svg-through-object-with-*.xhtml are flaky
- https://bugs.webkit.org/show_bug.cgi?id=63186
-
- Reviewed by Zoltan Herczeg.
-
- Fix host <-> embedded document size negotiation race. The currently implemented solution relied on a specific
- order of paint/layout calls, which is broken. Consider rendering a document containing an object/iframe/embed
- referencing an external SVG file. When FrameView::layout() is called (associated with the outermost RenderView
- of the host document), it lays out the whole document, and afterwards performPostLayoutTasks() is called.
- This method then asks the Frames contentRenderer to update its widget positions. This triggers a call
- of the embedded documents FrameView::layout() method, which now lays out the embedded SVG documents tree
- through RenderSVGRoot::layout.
-
- And here's the bug: The size of the object/iframe replaced element, which hosts the embedded document
- may depend on the intrinsic size of the SVG. We tried to mark the embedded documents _ownerRenderer_ (the RenderPart)
- as "needs layout and pref width recalc" right from RenderSVGRoot::layout() and hoped that this would cause the whole
- document to be laid out again, now that the size of the embedded SVG document is known.
-
- As soon as the SVG document is laid out, the host document will be painted (flush deferred repaints) and an assertion
- ASSERTS(!needsLayout()) will be fired, as we modified the setNeedsLayout() state after the host document layout finished,
- right before painting.
-
- A proper fix is to only keep track in RenderSVGRoot whether it needs to negotiate the size with the host document, but
- not modify the layout state of the host document in any way. Let FrameView handle the size negotiation right in
- FrameView::layout().
-
- Consider following document:
- <body><iframe src="some.svg"></body>
-
- After initial loading & parsing of the document, a FrameView exists for the main frame, and a sub-FrameView
- for the <iframe>. The external SVG document, may not be loaded yet at this point. That means when RenderIFrame::layout()
- tries to figure out its size (computeLogicalWidth/Height) - the RenderSVGRoot renderer of the external document hasn't
- been created yet (as the external document hasn't received data yet) - so it falls back to eg. 300x150 CSS default size
- (in the simplest case, where width/height are both auto).
-
- Suppose the external document now finished loading, the RenderSVGRoot is created and a global relayout is triggered
- starting from the main FrameView. As we already laid out the document once, needsLayout() is false for the main FrameView,
- so _only_ the child frame view that contains the RenderSVGRoot is now laid out, for the first time.
-
- After layout is done, the SVG document is fully laid out, though the RenderPart which embedded the SVG does NOT notice
- the SVG has been laid out, so it still carries the default 300x150 size (and needsLayout=false!).
-
- The fix is to retrigger layout of the parent frame view by marking the owner renderer of the frame view as "needs layout
- and pref widths recalc" and immediatiely performing a synchronous update of the layout. It's important to do it sync,
- as scripts depend on the result of the size negotiation (covered extensively with the new tests in svg/as-object).
-
- Reenable svg/zoom/page/zoom-svg-through-object* tests to see whether the flakiness is gone.
-
- Tests: svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-1.html
- svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-2.html
- svg/as-object/embedded-svg-immediate-offsetWidth-query.html
- svg/as-object/embedded-svg-size-changes-no-layout-triggers.html
- svg/as-object/embedded-svg-size-changes.html
- svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-1.html
- svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-2.html
- svg/as-object/nested-embedded-svg-size-changes.html
- svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml
- svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml
- svg/zoom/page/zoom-svg-through-object-with-auto-size.html
- svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml
- svg/zoom/page/zoom-svg-through-object-with-override-size.html
- svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml
-
- * page/FrameView.cpp:
- (WebCore::FrameView::layout): Call forceLayoutParentViewIfNeeded() after layout finished.
- (WebCore::FrameView::forceLayoutParentViewIfNeeded): Added helper method.
- (WebCore::FrameView::embeddedContentBox): Moved from RenderPart to a more central place.
- * page/FrameView.h:
- * rendering/RenderPart.cpp:
- (WebCore::RenderPart::embeddedContentBox): Moved to FrameView.
- * rendering/svg/RenderSVGRoot.cpp: Rename m_didNegotiateSize to m_needsSizeNegotiationWithHostDocument.
- (WebCore::RenderSVGRoot::RenderSVGRoot):
- (WebCore::RenderSVGRoot::layout): Only figure out if we need neggotiation, don't actually do anything, let FrameView handle this.
- * rendering/svg/RenderSVGRoot.h: Remove incorrect negotiateSizeWithHostDocumentIfNeeded() logic.
- (WebCore::RenderSVGRoot::needsSizeNegotiationWithHostDocument): Added getter for m_needsSizeNegotiationWithHostDocument.
- (WebCore::RenderSVGRoot::scheduledSizeNegotiationWithHostDocument): Added safe way to clear m_needsSizeNegotiationWithHostDocument (asserts if it was false before).
-
-2011-08-05 Noel Gordon <noel.gordon@gmail.com>
-
- [Chromium] Remove HaltablePlugin references from gyp project files
- https://bugs.webkit.org/show_bug.cgi?id=65808
-
- HaltablePlugin and related classes were removed in r92492. Remove any
- reference to the deleted files from the gyp project files.
-
- Reviewed by Adam Barth.
-
- * WebCore.gypi: remove HaltablePlugin.h reference.
-
-2011-08-05 Mark Rowe <mrowe@apple.com>
-
- Attempt to fix the build after r92538.
-
- Like all of the recent "track"-related work the new files in r92538 appear to have
- been added to completely random places in the Xcode project. However, this time
- the file paths were marked as being relative to their containing group resulting in
- Xcode being unable to find the files on disk.
-
- I've attempted to clean up all of the "track"-related mess in the Xcode project.
- The location of the files in the project now reflect their locations on disk, and
- are all correctly marked as being relative to their containing group as is our
- convention.
-
- * WebCore.xcodeproj/project.pbxproj:
-
-2011-08-05 Tom Hudson <tomhudson@google.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=64613
- Use supported framebuffer renderbuffer mode; chromium command buffer
- allows DEPTH and STENCIL but not DEPTH_STENCIL.
-
- Reviewed by James Robinson.
-
- No new tests because was caught by extant tests, albeit only when
- accelerated drawing and forced compositing were both turned on.
-
- * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
- (WebCore::LayerTextureUpdaterSkPicture::createFrameBuffer):
-
-2011-08-05 Anna Cavender <annacc@chromium.org>
-
- Adding a WebVTTParser for <track>.
- https://bugs.webkit.org/show_bug.cgi?id=62882
-
- Reviewed by Eric Carlson.
-
- Feature is hidden behind VIDEO_TRACK feature define, which is turned off, but
- new tests have been added in media/track/ (and are skipped).
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.xcodeproj/project.pbxproj:
- * html/TextTrackCue.cpp:
- * html/TextTrackCue.h:
- * platform/track/CueParser.cpp:
- * platform/track/CueParser.h:
- * platform/track/CueParserPrivate.h:
- * platform/track/WebVTTParser.cpp: Added.
- * platform/track/WebVTTParser.h: Added.
-
-2011-08-05 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r92330.
- http://trac.webkit.org/changeset/92330
- https://bugs.webkit.org/show_bug.cgi?id=65804
-
- caused various regressions in paste (Requested by rniwa on
- #webkit).
-
- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::isInlineNodeWithStyle):
- (WebCore::ReplaceSelectionCommand::doApply):
- * editing/markup.cpp:
- (WebCore::ancestorToRetainStructureAndAppearance):
- * editing/markup.h:
-
-2011-08-05 Kent Tamura <tkent@chromium.org>
-
- Unreviewed, rolling out r92477.
- http://trac.webkit.org/changeset/92477
- https://bugs.webkit.org/show_bug.cgi?id=62619
-
- Layering violation. We should not use WebCore/dom/ in
- WebCore/platform/.
-
- * WebCore.exp.in:
- * WebCore.xcodeproj/project.pbxproj:
- * html/ColorInputType.cpp:
- (WebCore::ColorInputType::valueChanged):
- * html/ColorInputType.h:
- * html/FileInputType.cpp:
- (WebCore::FileInputType::chrome):
- * html/FileInputType.h:
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::detach):
- * html/InputType.cpp:
- * html/InputType.h:
- * loader/EmptyClients.h:
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::transitionToCommitted):
- * page/Chrome.cpp:
- * page/Chrome.h:
- * page/ChromeClient.h:
- * platform/ColorChooser.cpp: Removed.
- * platform/ColorChooser.h: Removed.
-
-2011-08-05 Darin Adler <darin@apple.com>
-
- Try to fix Qt Mac build.
-
- * plugins/mac/PluginViewMac.mm: Removed PluginHalter functions.
-
-2011-08-05 Joseph Pecoraro <joepeck@webkit.org>
-
- Leak in CFNetwork Loader RetainPtr<> should Adopt a Copy allocation
- https://bugs.webkit.org/show_bug.cgi?id=65789
-
- Reviewed by David Kilzer.
-
- Fix a leak by adopting an allocation instead of retaining it.
-
- * platform/network/cf/FormDataStreamCFNet.cpp:
- (WebCore::httpBodyFromRequest):
-
-2011-08-05 Ben Wells <benwells@chromium.org>
-
- Introduced fast path for border rendering when all visible sides are solid, same rgba color but not all visible
- https://bugs.webkit.org/show_bug.cgi?id=65762
-
- Reviewed by Simon Fraser.
-
- No intended change in behaviour, no new tests.
-
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::calculateSideRect):
- (WebCore::RenderBoxModelObject::paintBorderSides):
- (WebCore::RenderBoxModelObject::paintBorder):
-
-2011-08-05 Kenichi Ishibashi <bashi@chromium.org>
-
- Unreviewed build fix on 32-bit Mac.
-
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseFontFeatureTag): Added a cast to int.
-
-2011-08-05 Ryosuke Niwa <rniwa@webkit.org>
-
- Upwards cursor movement incorrect when previous block ends with <br>
- https://bugs.webkit.org/show_bug.cgi?id=33247
-
- Reviewed by Tony Chang.
-
- The bug was caused by previousLinePosition's trying to obtain the root line box at the position
- after the previous line's br. This obviously fails because the the position after br is considered
- as a part of the next line.
-
- Fixed the bug by obtaining root inline boxes using position at the minimum caret offset as supposed
- to maximum caret offset. The code was initially introduced by r32508 to fix arrow key movement in RTL text
- but the test added by the revision continues to pass after this change. Furthermore, this change makes
- new code consistent with nextLinePosition.
-
- Also reverted the change added by r55613 because it is no longer needed.
-
- Tests: editing/execCommand/move-selection-back-line-rtl.html
- editing/execCommand/move-selection-back-line-strict.html
-
- * editing/visible_units.cpp:
- (WebCore::previousLinePosition):
-
-2011-08-05 James Robinson <jamesr@chromium.org>
-
- [chromium] Accelerated canvas breaks when moving canvases or resources between Pages
- https://bugs.webkit.org/show_bug.cgi?id=65402
-
- Reviewed by Stephen White.
-
- Use one shared GraphicsContext3D for the whole process instead of one per Page as canvases can move between
- pages and directly draw into contexts in different pages. Also switches DrawingBufferChromium over to use a
- directly shared the color attachment instead of copying it to a separate texture and removes the now-unnecessary
- DrawingBuffer::didReset() call and WillPublishCallback mechanism.
-
- * page/Page.cpp:
- (WebCore::Page::sharedGraphicsContext3D):
- * page/Page.h:
- * platform/graphics/chromium/Canvas2DLayerChromium.cpp:
- (WebCore::Canvas2DLayerChromium::~Canvas2DLayerChromium):
- (WebCore::Canvas2DLayerChromium::updateCompositorResources):
- (WebCore::Canvas2DLayerChromium::textureId):
- (WebCore::Canvas2DLayerChromium::setDrawingBuffer):
- * platform/graphics/chromium/CanvasLayerChromium.cpp:
- (WebCore::CanvasLayerChromium::CanvasLayerChromium):
- * platform/graphics/chromium/CanvasLayerChromium.h:
- * platform/graphics/chromium/DrawingBufferChromium.cpp:
- (WebCore::DrawingBuffer::DrawingBuffer):
- (WebCore::DrawingBuffer::publishToPlatformLayer):
- * platform/graphics/chromium/Extensions3DChromium.h:
- * platform/graphics/chromium/WebGLLayerChromium.cpp:
- (WebCore::WebGLLayerChromium::WebGLLayerChromium):
- * platform/graphics/chromium/WebGLLayerChromium.h:
-
-2011-08-05 Anders Carlsson <andersca@apple.com>
-
- Fix Chromium build.
-
- * WebCore.gypi:
-
-2011-08-05 Anders Carlsson <andersca@apple.com>
-
- Remove PluginHalter
- https://bugs.webkit.org/show_bug.cgi?id=65729
-
- Reviewed by Darin Adler.
-
- Remove plug-in halter and associated classes.
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.exp.in:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * loader/EmptyClients.h:
- * page/HaltablePlugin.h: Removed.
- * page/Page.cpp:
- (WebCore::Page::Page):
- * page/Page.h:
- * page/PluginHalter.cpp: Removed.
- * page/PluginHalter.h: Removed.
- * page/PluginHalterClient.h: Removed.
- * page/Settings.cpp:
- (WebCore::Settings::Settings):
- * page/Settings.h:
- * plugins/PluginView.cpp:
- (WebCore::PluginView::start):
- (WebCore::PluginView::stop):
- (WebCore::PluginView::PluginView):
- * plugins/PluginView.h:
- * plugins/PluginViewNone.cpp:
- * plugins/gtk/PluginViewGtk.cpp:
- * plugins/qt/PluginViewQt.cpp:
- * plugins/win/PluginViewWin.cpp:
- * rendering/RenderWidget.cpp:
- (WebCore::RenderWidget::paint):
- * rendering/RenderWidget.h:
-
-2011-08-05 Jochen Eisinger <jochen@chromium.org>
-
- Introduce a new ResourceRequest::TargetType for XHRs
- https://bugs.webkit.org/show_bug.cgi?id=65544
-
- Reviewed by Darin Fisher.
-
- * platform/network/chromium/ResourceRequest.h:
- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::createRequest):
-
-2011-08-05 Yael Aharon <yael.aharon@nokia.com>
-
- dir=auto needs to work on value of input and textarea elements
- https://bugs.webkit.org/show_bug.cgi?id=65428
-
- Reviewed by Darin Adler.
-
- Changed the directionality algorithm to evaluate the value of input elements and textarea elements when
- they have the attribute dir-auto Set.
- Also skip these elements when evaluating the directionality of their ancestors.
-
- HTMLTextAreaElement::childrenChanged is not called when a user types into the textarea, so call
- calculateAndAdjustDirectionality() explicitly from HTMLTextAreaElement::subtreeHasChanged().
-
- HTMLInputElement::childrenChanged is not called when a user types into the textarea, so call
- calculateAndAdjustDirectionality() explicitly from HTMLTextAreaElement::subtreeHasChanged().
-
- Tests: fast/dom/HTMLElement/attr-dir-auto-changed-text-form-control.html
- fast/dom/HTMLElement/attr-dir-auto-text-form-control-child.html
- fast/dom/HTMLElement/attr-dir-auto-text-form-control.html
-
- * html/HTMLElement.cpp:
- (WebCore::HTMLElement::directionality):
- * html/HTMLElement.h:
- * html/HTMLTextAreaElement.cpp:
- (WebCore::HTMLTextAreaElement::subtreeHasChanged):
-
-2011-08-05 Keishi Hattori <keishi@webkit.org>
-
- Implement <input type=color> UI behavior WebCore part
- https://bugs.webkit.org/show_bug.cgi?id=62619
-
- Reviewed by Kent Tamura.
-
- * WebCore.exp.in: Added __ZN7WebCore12ColorChooser7chooserEv and
- __ZNK7WebCore12ColorChooser13colorSelectedERKNS_5ColorE
- * WebCore.xcodeproj/project.pbxproj: Added ColorChooser.{h,cpp}
- * html/ColorInputType.cpp:
- (WebCore::ColorInputType::~ColorInputType): Added. Close color chooser. ex. when type attribute changes.
- (WebCore::ColorInputType::valueAsColor): Added.
- (WebCore::ColorInputType::setValueAsColor): Added.
- (WebCore::ColorInputType::valueChanged): Update selected color in color chooser too.
- (WebCore::ColorInputType::handleClickEvent): Opens color chooser.
- (WebCore::ColorInputType::handleDOMActivateEvent): Called when element.click(). Open color chooser only
- when it was initiated by a user interaction.
- (WebCore::ColorInputType::detach): Close color chooser. Called when input element or its ancestors have "display:none"
- or is removed from DOM.
- (WebCore::ColorInputType::colorSelected): Callback from color chooser.
- (WebCore::ColorInputType::closeColorChooserIfClientIsInDocument): Close color chooser if element is in
- document. Called when the page navigates away.
- (WebCore::ColorInputType::closeColorChooserIfCurrentClient): Close color chooser if this input type is the current client of ColorChooser.
- * html/ColorInputType.h:
- * html/FileInputType.cpp:
- * html/FileInputType.h:
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::detach): Calls InputType::detach
- * html/InputType.cpp:
- (WebCore::InputType::chrome): Added. Used in FileInputType and ColorInputType.
- (WebCore::InputType::detach): ColorInputType overrides this.
- * html/InputType.h:
- * loader/EmptyClients.h:
- (WebCore::EmptyChromeClient::openColorChooser): Added.
- (WebCore::EmptyChromeClient::closeColorChooser): Added.
- (WebCore::EmptyChromeClient::setSelectedColorInColorChooser): Added.
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::transitionToCommitted): Close color chooser when
- navigating away from the page.
- * page/Chrome.cpp:
- (WebCore::Chrome::openColorChooser): Added. Opens the color chooser.
- (WebCore::Chrome::closeColorChooser): Added. Tries to close the color chooser. Might not close if the
- listener of the color chooser is another part of the browser or another render process.
- (WebCore::Chrome::setSelectedColorInColorChooser): Added. Sets the selected color in the color chooser.
- Again, might not be executed if the listener of the color chooser is another part of the browser or another render process.
- * page/Chrome.h:
- * page/ChromeClient.h:
- * platform/ColorChooser.cpp: Added.
- (WebCore::ColorChooserClient::~ColorChooserClient): Disconnects itself from the ColorChooser.
- (WebCore::ColorChooser::chooser): Get shared instance of ColorChooser.
- (WebCore::ColorChooser::chooser): Get shared instance of ColorChooser.
- (WebCore::ColorChooser::connectClient): Connects a ColorChooserClient that receives the colorSelected callbacks.
- (WebCore::ColorChooser::disconnectClient): Disconnects the connectClient.
- (WebCore::ColorChooser::closeColorChooserIfClientIsInDocument): Close the color chooser if the client is
- inside the document.
- (WebCore::ColorChooser::colorSelected): Called from color chooser listener.
- * platform/ColorChooser.h: Added.
- (WebCore::ColorChooser::client): Added. Returns the current connected client.
- (WebCore::ColorChooser::ColorChooser): Added.
-
-2011-08-05 Yury Semikhatsky <yurys@chromium.org>
-
- Web Inspector: check that detaching frame has been attached before removing it from the console selector
- https://bugs.webkit.org/show_bug.cgi?id=65686
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/JavaScriptContextManager.js:
- (WebInspector.JavaScriptContextManager.prototype._frameDetached):
-
-2011-08-05 Keishi Hattori <keishi@webkit.org>
-
- Sort WebCore.xcodeproj
- Accomplished using sort-Xcode-project-file.
-
- * WebCore.xcodeproj/project.pbxproj:
-
-2011-08-05 Yury Semikhatsky <yurys@chromium.org>
-
- Web Inspector: constrain maximum depth for returnByValue objects
- https://bugs.webkit.org/show_bug.cgi?id=65761
-
- Set maximum depth to 20 for objects returned by value as a result of evaluations.
-
- Reviewed by Pavel Feldman.
-
- * bindings/js/ScriptValue.cpp:
- (WebCore::jsToInspectorValue):
- (WebCore::ScriptValue::toInspectorValue):
- * bindings/v8/ScriptValue.cpp:
- (WebCore::v8ToInspectorValue):
- (WebCore::ScriptValue::toInspectorValue):
- * inspector/InjectedScript.cpp:
- (WebCore::InjectedScript::makeCall):
- * inspector/InspectorValues.h:
-
-2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from appcache IDL files
- https://bugs.webkit.org/show_bug.cgi?id=65752
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * loader/appcache/DOMApplicationCache.idl:
-
-2011-08-04 Hans Wennborg <hans@chromium.org>
-
- IndexedDB: Stop using free-lists for database/object store/index ids.
- https://bugs.webkit.org/show_bug.cgi?id=65678
-
- Reviewed by Tony Chang.
-
- Don't use free-lists for database/object store/index ids,
- just assign increasing numbers.
-
- It turns out that deleting an object store and creating a new one with
- the same id would cause the delete markers from the old object store to
- slow down lookups into the new one. Therefore we should generate
- a new id every time. Running out of ids (64 bits for databases and
- object stores, 32 bits for indices) is not realistic.
-
- Also make functions that generate new ids report errors, and make the
- callers of those functions check the return values.
-
- We must still delete free-lists when deleting an object store, and we
- must keep the code for encoding/decoding/comparison of free-list keys
- since users might have them in their databases.
-
- This is just a performance optimization, so no new tests.
-
- * storage/IDBLevelDBBackingStore.cpp:
- (WebCore::getNewDatabaseId):
- (WebCore::IDBLevelDBBackingStore::setIDBDatabaseMetaData):
- (WebCore::getNewObjectStoreId):
- (WebCore::IDBLevelDBBackingStore::createObjectStore):
- (WebCore::IDBLevelDBBackingStore::deleteObjectStore):
- (WebCore::getNewIndexId):
- (WebCore::IDBLevelDBBackingStore::createIndex):
- (WebCore::IDBLevelDBBackingStore::deleteIndex):
-
-2011-08-05 Roland Steiner <rolandsteiner@chromium.org>
-
- Unreviewed: change an instance of isImportRule() that was overlooked in commit 92448.
-
- No new tests. (No functional change)
-
- * xml/XSLImportRule.h:
- (WebCore::XSLImportRule::isImportRule):
-
-2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from remaining SVG IDL files
- https://bugs.webkit.org/show_bug.cgi?id=65751
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * svg/SVGElementInstance.idl:
-
-2011-08-05 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: do not delay scroll event handling - scroll is already async.
- https://bugs.webkit.org/show_bug.cgi?id=65693
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/front-end/TextViewer.js:
- (WebInspector.TextViewer.prototype._syncScroll):
-
-2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from web audio API
- https://bugs.webkit.org/show_bug.cgi?id=65750
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * webaudio/AudioBufferSourceNode.idl:
-
-2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from Web Workers
- https://bugs.webkit.org/show_bug.cgi?id=65746
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * workers/AbstractWorker.idl:
- * workers/DedicatedWorkerContext.idl:
- * workers/Worker.idl:
- * workers/WorkerContext.idl:
-
-2011-08-05 Kenichi Ishibashi <bashi@chromium.org>
-
- Parsing CSS3 font-feature-settings property
- https://bugs.webkit.org/show_bug.cgi?id=63618
-
- Introduces CSS3 font-feature-settings property as -webkit-font-feature-settings. This change only contains parsing part. Parsed information are stored in FontDescription class.
-
- Reviewed by Shinichiro Hamaji.
-
- Test: css3/font-feature-settings-parsing.html
-
- * CMakeLists.txt: Added FontFeatureValue.{h,cpp} and FontFeatureSettings.{h,cpp}.
- * GNUmakefile.list.am: Ditto.
- * WebCore.gypi: Ditto.
- * WebCore.pro: Ditto.
- * WebCore.vcproj/WebCore.vcproj: Ditto.
- * WebCore.xcodeproj/project.pbxproj: Ditto.
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added CSSPropertyWebkitFontFeatureSettings.
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseValue): Added parsing code for -webkit-font-feature-settings.
- (WebCore::CSSParser::parseFontFeatureTag): Added.
- (WebCore::CSSParser::parseFontFeatureSettings): Added.
- * css/CSSParser.h: Added parseFontFeatureSettings().
- * css/CSSPropertyNames.in: Added -webkit-font-feature-settings.
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyDeclarations): Modified a compile assert to follow adding -webkit-font-feature-settings.
- (WebCore::CSSStyleSelector::applyProperty): Added a case clause for CSSPropertyWebkitFontFeatureSettings.
- * css/CSSValue.h:
- (WebCore::CSSValue::isFontFeatureValue): Added.
- * css/CSSValueKeywords.in: Added 'on' and 'off' keywords.
- * css/FontFeatureValue.cpp: Added.
- (WebCore::FontFeatureValue::FontFeatureValue):
- (WebCore::FontFeatureValue::value):
- (WebCore::FontFeatureValue::cssText):
- * css/FontFeatureValue.h: Added.
- (WebCore::FontFeatureValue::create):
- (WebCore::FontFeatureValue::tag):
- (WebCore::FontFeatureValue::isFontFeatureValue):
- * platform/graphics/FontDescription.cpp:
- (WebCore::FontDescription::makeNormalFeatureSettings): Added.
- * platform/graphics/FontDescription.h:
- (WebCore::FontDescription::FontDescription): Added m_featureSettings member variable.
- (WebCore::FontDescription::featureSettings): Added.
- (WebCore::FontDescription::setFeatureSettings): Added.
- (WebCore::FontDescription::operator==): Modified to take into account m_featureSettings
- * platform/graphics/FontFeatureSettings.cpp: Added.
- (WebCore::FontFeature::FontFeature):
- (WebCore::FontFeature::operator=):
- (WebCore::FontFeature::operator==):
- (WebCore::FontFeatureSettings::FontFeatureSettings):
- * platform/graphics/FontFeatureSettings.h: Added.
- (WebCore::FontFeature::tag):
- (WebCore::FontFeature::value):
- (WebCore::FontFeatureSettings::create):
- (WebCore::FontFeatureSettings::append):
- (WebCore::FontFeatureSettings::size):
- (WebCore::FontFeatureSettings::operator[]):
- (WebCore::FontFeatureSettings::at):
-
-2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from websockets
- https://bugs.webkit.org/show_bug.cgi?id=65749
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * websockets/WebSocket.idl:
-
-2011-08-05 Adam Barth <abarth@webkit.org>
-
- Attempt to heal media/video-can-play-type.html and media/video-src-change.html.
-
- * html/HTMLMediaElement.idl:
-
-2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from notifications IDL files
- https://bugs.webkit.org/show_bug.cgi?id=65747
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * notifications/Notification.idl:
- * notifications/NotificationCenter.idl:
-
-2011-08-05 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r92439.
- http://trac.webkit.org/changeset/92439
- https://bugs.webkit.org/show_bug.cgi?id=65753
-
- Caused 9 tests to fail on Qt (Requested by abarth on #webkit).
-
- * dom/Document.cpp:
- (WebCore::Document::implicitOpen):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::transitionToCommitted):
- (WebCore::FrameLoader::detachChildren):
-
-2011-08-04 Ryosuke Niwa <rniwa@webkit.org>
-
- Use RenderedPosition instead of getInlineBoxAndOffset in Editor and AccessibilityObject
- https://bugs.webkit.org/show_bug.cgi?id=65647
-
- Reviewed by Hajime Morita.
-
- Encapsulated the use of getInlineBoxAndOffset in Editor.cpp and AccessibilityObject.cpp by RenderedPosition.
-
- Also added rendererFromPosition that returns the renderer of deprecatedNode but using a proper Position interface.
-
- * accessibility/AccessibilityObject.cpp:
- (WebCore::updateAXLineStartForVisiblePosition):
- * editing/Editor.cpp:
- (WebCore::Editor::firstRectForRange):
- * editing/RenderedPosition.cpp:
- (WebCore::rendererFromPosition):
- (WebCore::RenderedPosition::RenderedPosition):
- (WebCore::RenderedPosition::absoluteRect):
- * editing/RenderedPosition.h:
- (WebCore::RenderedPosition::absoluteRect):
-
-2011-08-04 Hayato Ito <hayato@chromium.org>
-
- Make ScopedEventQueue enqueue an EventDispatchMediator, instead of an Event.
- https://bugs.webkit.org/show_bug.cgi?id=65613
-
- Reviewed by Dimitri Glazkov.
-
- No changes to functionality so no new tests.
-
- * dom/Event.h:
- * dom/EventDispatcher.cpp:
- (WebCore::EventDispatcher::dispatchScopedEvent):
- * dom/EventDispatcher.h:
- * dom/Node.cpp:
- (WebCore::Node::dispatchScopedEvent):
- (WebCore::Node::dispatchScopedEventDispatchMediator):
- * dom/Node.h:
- * dom/ScopedEventQueue.cpp:
- (WebCore::ScopedEventQueue::~ScopedEventQueue):
- (WebCore::ScopedEventQueue::enqueueEventDispatchMediator):
- (WebCore::ScopedEventQueue::dispatchAllEvents):
- (WebCore::ScopedEventQueue::dispatchEvent):
- * dom/ScopedEventQueue.h:
-
-2011-08-04 James Robinson <jamesr@chromium.org>
-
- Unreviewed build fix. gcc 4.5 can't figure out that the 'data' variables are always initialized in these functions.
-
- * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
- (WebCore::jsArrayToFloatArray):
- (WebCore::jsArrayToIntArray):
-
-2011-08-05 Roland Steiner <rolandsteiner@chromium.org>
-
- Improve const-correctness in CSS code: type information methods
- https://bugs.webkit.org/show_bug.cgi?id=65506
-
- Reviewed by Simon Fraser.
-
- Make "is...()" functions (e.g., "isStyleRule()") const.
- Also, change CSSRule's type() function to return CSSRuleType.
-
- No new tests. (no change in semantics)
-
- * css/CSSCharsetRule.h:
- (WebCore::CSSCharsetRule::isCharsetRule):
- (WebCore::CSSCharsetRule::type):
- * css/CSSFontFaceRule.h:
- (WebCore::CSSFontFaceRule::isFontFaceRule):
- (WebCore::CSSFontFaceRule::type):
- * css/CSSImportRule.h:
- (WebCore::CSSImportRule::isImportRule):
- (WebCore::CSSImportRule::type):
- * css/CSSMediaRule.h:
- (WebCore::CSSMediaRule::isMediaRule):
- (WebCore::CSSMediaRule::type):
- * css/CSSPageRule.h:
- (WebCore::CSSPageRule::isPageRule):
- (WebCore::CSSPageRule::type):
- * css/CSSRule.h:
- (WebCore::CSSRule::isRule):
- * css/CSSStyleRule.h:
- (WebCore::CSSStyleRule::isStyleRule):
- (WebCore::CSSStyleRule::type):
- * css/CSSUnknownRule.h:
- (WebCore::CSSUnknownRule::type):
- * css/StyleBase.h:
- (WebCore::StyleBase::isCharsetRule):
- (WebCore::StyleBase::isFontFaceRule):
- (WebCore::StyleBase::isImportRule):
- (WebCore::StyleBase::isKeyframeRule):
- (WebCore::StyleBase::isKeyframesRule):
- (WebCore::StyleBase::isMediaRule):
- (WebCore::StyleBase::isPageRule):
- (WebCore::StyleBase::isRule):
- (WebCore::StyleBase::isStyleRule):
- * css/WebKitCSSKeyframeRule.h:
- (WebCore::WebKitCSSKeyframeRule::isKeyframeRule):
- (WebCore::WebKitCSSKeyframeRule::type):
- * css/WebKitCSSKeyframesRule.h:
- (WebCore::WebKitCSSKeyframesRule::isKeyframesRule):
- (WebCore::WebKitCSSKeyframesRule::type):
-
-2011-08-04 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from plugin IDL files
- https://bugs.webkit.org/show_bug.cgi?id=65745
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * plugins/DOMMimeTypeArray.idl:
- * plugins/DOMPlugin.idl:
- * plugins/DOMPluginArray.idl:
-
-2011-08-04 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from XML/XSL IDL files
- https://bugs.webkit.org/show_bug.cgi?id=65740
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * xml/DOMParser.idl:
- * xml/XMLSerializer.idl:
- * xml/XPathEvaluator.idl:
- * xml/XPathExpression.idl:
- * xml/XPathNSResolver.idl:
- * xml/XPathResult.idl:
- * xml/XSLTProcessor.idl:
-
-2011-08-04 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from canvas IDL files
- https://bugs.webkit.org/show_bug.cgi?id=65737
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * html/canvas/CanvasGradient.idl:
- * html/canvas/Float32Array.idl:
- * html/canvas/Float64Array.idl:
- * html/canvas/Int16Array.idl:
- * html/canvas/Int32Array.idl:
- * html/canvas/Int8Array.idl:
- * html/canvas/OESVertexArrayObject.idl:
- * html/canvas/Uint16Array.idl:
- * html/canvas/Uint32Array.idl:
- * html/canvas/Uint8Array.idl:
-
-2011-08-04 MORITA Hajime <morrita@google.com>
-
- Reviewed by Ryosuke Niwa.
-
- DocumentMarker: Type specific details should be separately held by other object.
- https://bugs.webkit.org/show_bug.cgi?id=59855
-
- - Introduced DocumentMarkerDetails abstract class and two its subclasses
- DocumentMarkerDescription and DocumentMarkerActiveMatch,
-
- - Replacing DocumentMarker::m_description and
- DocumentMarker::m_activeMatch with these new details classes.
-
- No new tests. No behavior change.
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * dom/DOMAllInOne.cpp:
- * dom/DocumentMarker.cpp: Added.
- (WebCore::emptyDescription):
- (WebCore::DocumentMarkerDetails::DocumentMarkerDetails):
- (WebCore::DocumentMarkerDetails::~DocumentMarkerDetails):
- (WebCore::DocumentMarkerDescription::description):
- (WebCore::DocumentMarkerDescription::isDescription):
- (WebCore::DocumentMarkerDescription::DocumentMarkerDescription):
- (WebCore::DocumentMarkerDescription::createUnlessEmpty):
- (WebCore::DocumentMarkerDescription::compatibleTypes):
- (WebCore::DocumentMarkerTextMatch::activeMatch):
- (WebCore::DocumentMarkerTextMatch::isTextMatch):
- (WebCore::DocumentMarkerTextMatch::DocumentMarkerTextMatch):
- (WebCore::DocumentMarkerTextMatch::instanceFor):
- (WebCore::DocumentMarkerTextMatch::compatibleTypes):
- (WebCore::DocumentMarker::DocumentMarker):
- (WebCore::DocumentMarker::shiftOffsets):
- (WebCore::DocumentMarker::setActiveMatch):
- (WebCore::DocumentMarker::description):
- (WebCore::DocumentMarker::activeMatch):
- * dom/DocumentMarker.h:
- (WebCore::DocumentMarker::details):
- (WebCore::DocumentMarker::clearDetails):
- (WebCore::DocumentMarkerDetails::isDescription):
- (WebCore::DocumentMarkerDetails::isTextMatch):
- (WebCore::DocumentMarkerDetails::isAllowedFor):
- * dom/DocumentMarkerController.cpp:
- (WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange):
- * editing/CompositeEditCommand.cpp:
- (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers):
-
-2011-08-04 Scott Graham <scottmg@chromium.org>
-
- Bad interaction between document destruction and unload events
- https://bugs.webkit.org/show_bug.cgi?id=64741
-
- Reviewed by Adam Barth.
-
- Three different errors triggered by this test case. The case to
- consider is a subdocument with an onunload on an element, that
- destroys the parent document during the onunload. One fix was a
- lifetime issue fixed by a protecting RefPtr, and another was an
- additional cancel of event triggers. The main fix was that during the
- transition to commited state, the documentLoader is being replaced by
- the provisionalDocumentLoader. But, because during firing events in
- the subdocument the parent is destroyed, that subevent caused the
- provisionalDocumentLoader to be detached from its frame. By marking
- the page as being in committed state before the parent documentLoader
- is set, this is avoided.
-
- Test: loader/document-destruction-within-unload.html
-
- * dom/Document.cpp:
- (WebCore::Document::implicitOpen):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::transitionToCommitted):
- (WebCore::FrameLoader::detachChildren):
-
-2011-08-04 Simon Fraser <simon.fraser@apple.com>
-
- Add code to determine whether a Range in inside fixed position content
- https://bugs.webkit.org/show_bug.cgi?id=65720
-
- Reviewed by Sam Weinig.
-
- Propagate the 'wasFixed' flag out from various methods that
- are used when computing the collection of rects or quads
- for a range. Use the flag in Range to computer whether
- the Range is entirely within, partially within, or outside
- of fixed-position content.
-
- * WebCore.exp.in:
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::boundingBoxRect):
- * dom/Range.cpp:
- (WebCore::Range::textRects):
- (WebCore::Range::textQuads):
- * dom/Range.h:
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::absoluteQuads):
- * rendering/RenderBlock.h:
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::absoluteQuads):
- * rendering/RenderBox.h:
- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::absoluteQuads):
- * rendering/RenderInline.h:
- * rendering/RenderObject.h:
- (WebCore::RenderObject::absoluteQuads):
- * rendering/RenderText.cpp:
- (WebCore::RenderText::absoluteRectsForRange):
- (WebCore::RenderText::absoluteQuads):
- (WebCore::RenderText::absoluteQuadsForRange):
- * rendering/RenderText.h:
- * rendering/RenderView.cpp:
- (WebCore::RenderView::absoluteQuads):
- * rendering/RenderView.h:
- * rendering/svg/RenderSVGHiddenContainer.cpp:
- (WebCore::RenderSVGHiddenContainer::absoluteQuads):
- * rendering/svg/RenderSVGHiddenContainer.h:
- * rendering/svg/RenderSVGInline.cpp:
- (WebCore::RenderSVGInline::absoluteQuads):
- * rendering/svg/RenderSVGInline.h:
- * rendering/svg/RenderSVGModelObject.cpp:
- (WebCore::RenderSVGModelObject::absoluteQuads):
- * rendering/svg/RenderSVGModelObject.h:
- * rendering/svg/RenderSVGText.cpp:
- (WebCore::RenderSVGText::absoluteQuads):
- * rendering/svg/RenderSVGText.h:
-
-2011-08-04 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from Document.idl
- https://bugs.webkit.org/show_bug.cgi?id=65717
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * dom/Document.idl:
-
-2011-08-04 Simon Fraser <simon.fraser@apple.com>
-
- Fix release build failure with last commit.
-
- * rendering/RenderView.cpp:
- (WebCore::RenderView::mapLocalToContainer):
-
-2011-08-04 Simon Fraser <simon.fraser@apple.com>
-
- Add code to determine whether a Range in inside fixed position content
- https://bugs.webkit.org/show_bug.cgi?id=65720
-
- Reviewed by Dan Bernstein.
-
- Add an out param for various coordinate mapping functions
- that tells us whether the point or rectangle being
- mapped is inside fixed-position content.
-
- This brings back some of the changes from r89754.
-
- No behavior changes, so no tests.
-
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::mapLocalToContainer):
- * rendering/RenderBox.h:
- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::mapLocalToContainer):
- * rendering/RenderInline.h:
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::mapLocalToContainer):
- (WebCore::RenderObject::localToContainerQuad):
- * rendering/RenderObject.h:
- (WebCore::RenderObject::localToAbsoluteQuad):
- * rendering/RenderView.cpp:
- (WebCore::RenderView::mapLocalToContainer):
- * rendering/RenderView.h:
- * rendering/svg/RenderSVGForeignObject.cpp:
- (WebCore::RenderSVGForeignObject::mapLocalToContainer):
- * rendering/svg/RenderSVGForeignObject.h:
- * rendering/svg/RenderSVGInline.cpp:
- (WebCore::RenderSVGInline::mapLocalToContainer):
- * rendering/svg/RenderSVGInline.h:
- * rendering/svg/RenderSVGModelObject.cpp:
- (WebCore::RenderSVGModelObject::mapLocalToContainer):
- * rendering/svg/RenderSVGModelObject.h:
- * rendering/svg/RenderSVGRoot.cpp:
- (WebCore::RenderSVGRoot::mapLocalToContainer):
- * rendering/svg/RenderSVGRoot.h:
- * rendering/svg/RenderSVGText.cpp:
- (WebCore::RenderSVGText::mapLocalToContainer):
- * rendering/svg/RenderSVGText.h:
- * rendering/svg/SVGRenderSupport.cpp:
- (WebCore::SVGRenderSupport::mapLocalToContainer):
- * rendering/svg/SVGRenderSupport.h:
-
-2011-08-04 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from DOM-related files except Document.idl
- https://bugs.webkit.org/show_bug.cgi?id=65715
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * dom/CharacterData.idl:
- * dom/ClientRectList.idl:
- * dom/Clipboard.idl:
- * dom/DOMImplementation.idl:
- * dom/DOMStringList.idl:
- * dom/DataTransferItem.idl:
- * dom/DataTransferItems.idl:
- * dom/DocumentFragment.idl:
- * dom/Element.idl:
- * dom/EventListener.idl:
- * dom/EventTarget.idl:
- * dom/MediaStream.idl:
- * dom/MediaStreamList.idl:
- * dom/MediaStreamTrackList.idl:
- * dom/MessagePort.idl:
- * dom/NamedNodeMap.idl:
- * dom/Node.idl:
- * dom/NodeFilter.idl:
- * dom/NodeList.idl:
- * dom/Range.idl:
- * dom/RequestAnimationFrameCallback.idl:
- * dom/StringCallback.idl:
- * dom/Text.idl:
- * dom/TouchList.idl:
-
-2011-08-04 Mark Rowe <mrowe@apple.com>
-
- Future-proof Xcode configuration settings.
-
- * Configurations/Base.xcconfig:
- * Configurations/DebugRelease.xcconfig:
- * Configurations/Version.xcconfig:
- * Configurations/WebCore.xcconfig:
-
-2011-08-04 Van Lam <vanlam@google.com>
-
- A few purely stylistic modifications to visible_units.cpp
- https://bugs.webkit.org/show_bug.cgi?id=65723
-
- Reviewed by Ryosuke Niwa.
-
- Renamed greatestValueUnder to greatestOffsetUnder, positionIsInsideBox
- to positionIsInBoxButNotOnBoundary (to avoid confusion with
- positionIsInBox, which is just a getInlineBoxAndOffset check).
- Removed use of invalidOffset as an error value in greatestOffsetUnder
- and smallestOffsetAbove since semantically it should only be used to
- check if it makes sense to compare offsets in a single box.
-
- * editing/visible_units.cpp:
- (WebCore::greatestOffsetUnder):
- (WebCore::smallestOffsetAbove):
- (WebCore::positionIsInBoxButNotOnBoundary):
- (WebCore::leftWordPositionAcrossBoundary):
- (WebCore::rightWordPositionAcrossBoundary):
-
-2011-08-04 James Robinson <jamesr@chromium.org>
-
- [chromium] Implement a global resource limit for DrawingBuffer to limit the amount of GPU memory used by 2d canvas backing stores
- https://bugs.webkit.org/show_bug.cgi?id=65655
-
- Reviewed by Kenneth Russell.
-
- * platform/graphics/gpu/DrawingBuffer.cpp:
- (WebCore::DrawingBuffer::setResourceLimit):
- (WebCore::DrawingBuffer::clear):
- (WebCore::DrawingBuffer::reset):
- * platform/graphics/gpu/DrawingBuffer.h:
-
-2011-08-04 Kenichi Ishibashi <bashi@chromium.org>
-
- [Chromium] Reduce memory consumption of HarfbuzzFace
- https://bugs.webkit.org/show_bug.cgi?id=65688
-
- Adds a cache for HB_FaceRec to eliminate multiple allocation for the same font.
-
- Reviewed by Tony Chang.
-
- No new tests since there is no behavior change.
-
- * platform/graphics/chromium/HarfbuzzSkia.cpp:
- (WebCore::getCachedHarfbuzzFace): Added.
- (WebCore::releaseCachedHarfbuzzFace): Ditto.
- (WebCore::HarfbuzzFace::HarfbuzzFace): Calls getCachedHarfbuzzFace() instead of allocating HB_FaceRec.
- (WebCore::HarfbuzzFace::~HarfbuzzFace): Calls releaseCachedHarfbuzzFace() to release the onership of the cache.
- * platform/graphics/chromium/HarfbuzzSkia.h:
-
-2011-08-04 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r92415.
- http://trac.webkit.org/changeset/92415
- https://bugs.webkit.org/show_bug.cgi?id=65728
-
- Causes many DEBUG crashes (Requested by abarth on #webkit).
-
- * platform/network/chromium/ResourceRequest.h:
- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::createRequest):
-
-2011-08-04 Tim Horton <timothy_horton@apple.com>
-
- Reviewed by Nikolas Zimmerman.
-
- Errors encountered within SVG documents should be reported to the console
- https://bugs.webkit.org/show_bug.cgi?id=62599
- <rdar://problem/9727074>
-
- Make use of SVGLength::construct when parsing Length attributes; we will
- now propagate errors which occur while parsing SVGLength attributes to the
- Web Inspector console.
-
- * svg/SVGCircleElement.cpp:
- (WebCore::SVGCircleElement::parseMappedAttribute):
- * svg/SVGCursorElement.cpp:
- (WebCore::SVGCursorElement::parseMappedAttribute):
- * svg/SVGEllipseElement.cpp:
- (WebCore::SVGEllipseElement::parseMappedAttribute):
- * svg/SVGFilterElement.cpp:
- (WebCore::SVGFilterElement::parseMappedAttribute):
- * svg/SVGFilterPrimitiveStandardAttributes.cpp:
- (WebCore::SVGFilterPrimitiveStandardAttributes::parseMappedAttribute):
- * svg/SVGForeignObjectElement.cpp:
- (WebCore::SVGForeignObjectElement::parseMappedAttribute):
- * svg/SVGImageElement.cpp:
- (WebCore::SVGImageElement::parseMappedAttribute):
- * svg/SVGLineElement.cpp:
- (WebCore::SVGLineElement::parseMappedAttribute):
- * svg/SVGLinearGradientElement.cpp:
- (WebCore::SVGLinearGradientElement::parseMappedAttribute):
- * svg/SVGMarkerElement.cpp:
- (WebCore::SVGMarkerElement::parseMappedAttribute):
- * svg/SVGMaskElement.cpp:
- (WebCore::SVGMaskElement::parseMappedAttribute):
- * svg/SVGPatternElement.cpp:
- (WebCore::SVGPatternElement::parseMappedAttribute):
- * svg/SVGRadialGradientElement.cpp:
- (WebCore::SVGRadialGradientElement::parseMappedAttribute):
- * svg/SVGRectElement.cpp:
- (WebCore::SVGRectElement::parseMappedAttribute):
- * svg/SVGSVGElement.cpp:
- (WebCore::SVGSVGElement::parseMappedAttribute):
- * svg/SVGTextContentElement.cpp:
- (WebCore::SVGTextContentElement::parseMappedAttribute):
- * svg/SVGTextPathElement.cpp:
- (WebCore::SVGTextPathElement::parseMappedAttribute):
- * svg/SVGUseElement.cpp:
- (WebCore::SVGUseElement::parseMappedAttribute):
-
-2011-08-04 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r92419.
- http://trac.webkit.org/changeset/92419
- https://bugs.webkit.org/show_bug.cgi?id=65726
-
- "committed partially to branch" (Requested by thorton on
- #webkit).
-
- * svg/SVGCircleElement.cpp:
- (WebCore::SVGCircleElement::parseMappedAttribute):
- * svg/SVGCursorElement.cpp:
- (WebCore::SVGCursorElement::parseMappedAttribute):
- * svg/SVGEllipseElement.cpp:
- (WebCore::SVGEllipseElement::parseMappedAttribute):
- * svg/SVGFilterElement.cpp:
- (WebCore::SVGFilterElement::parseMappedAttribute):
- * svg/SVGFilterPrimitiveStandardAttributes.cpp:
- (WebCore::SVGFilterPrimitiveStandardAttributes::parseMappedAttribute):
- * svg/SVGForeignObjectElement.cpp:
- (WebCore::SVGForeignObjectElement::parseMappedAttribute):
- * svg/SVGImageElement.cpp:
- (WebCore::SVGImageElement::parseMappedAttribute):
- * svg/SVGLineElement.cpp:
- (WebCore::SVGLineElement::parseMappedAttribute):
- * svg/SVGLinearGradientElement.cpp:
- (WebCore::SVGLinearGradientElement::parseMappedAttribute):
- * svg/SVGMarkerElement.cpp:
- (WebCore::SVGMarkerElement::parseMappedAttribute):
- * svg/SVGMaskElement.cpp:
- (WebCore::SVGMaskElement::parseMappedAttribute):
- * svg/SVGPatternElement.cpp:
- (WebCore::SVGPatternElement::parseMappedAttribute):
- * svg/SVGRadialGradientElement.cpp:
- (WebCore::SVGRadialGradientElement::parseMappedAttribute):
- * svg/SVGRectElement.cpp:
- (WebCore::SVGRectElement::parseMappedAttribute):
- * svg/SVGSVGElement.cpp:
- (WebCore::SVGSVGElement::parseMappedAttribute):
- * svg/SVGTextContentElement.cpp:
- (WebCore::SVGTextContentElement::parseMappedAttribute):
- * svg/SVGTextPathElement.cpp:
- (WebCore::SVGTextPathElement::parseMappedAttribute):
- * svg/SVGUseElement.cpp:
- (WebCore::SVGUseElement::parseMappedAttribute):
-
-2011-08-04 Fady Samuel <fsamuel@chromium.org>
-
- Background Does Not Scale Correctly with Page
- https://bugs.webkit.org/show_bug.cgi?id=65690
-
- Reviewed by Simon Fraser.
-
- Test: fast/repaint/background-scaling.html
-
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::paintRootBoxFillLayers):
- * rendering/RenderView.cpp:
- (WebCore::RenderView::unscaledDocumentRect):
- (WebCore::RenderView::documentRect):
- * rendering/RenderView.h:
-
-2011-08-04 Jochen Eisinger <jochen@chromium.org>
-
- Introduce a new ResourceRequest::TargetType for XHRs
- https://bugs.webkit.org/show_bug.cgi?id=65544
-
- Reviewed by Darin Fisher.
-
- * platform/network/chromium/ResourceRequest.h:
- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::createRequest):
-
-2011-08-04 Sergey Glazunov <serg.glazunov@gmail.com>
-
- Fix integer overflow in custom bindings for WebGLRenderingContext
- https://bugs.webkit.org/show_bug.cgi?id=65646
-
- Reviewed by Kenneth Russell.
-
- Test: fast/canvas/webgl/uniform-array-length-overflow.html
-
- * bindings/js/JSWebGLRenderingContextCustom.cpp:
- (WebCore::toVector): Don't crash if allocation fails.
- * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
- (WebCore::jsArrayToFloatArray):
- (WebCore::jsArrayToIntArray):
-
-2011-08-04 Pratik Solanki <psolanki@apple.com>
-
- Implement CERTIFICATE_CREDENTIALS_SUPPORTED for CFNetwork
- https://bugs.webkit.org/show_bug.cgi?id=65704
- <rdar://problem/9877734>
-
- Reviewed by Oliver Hunt.
-
- Implement support for client side certificate authentication in the CFNetwork based loader.
-
- * platform/network/cf/AuthenticationCF.cpp:
- (WebCore::createCF):
- (WebCore::core): Also fix leak of password string.
-
-2011-08-04 Chris Rogers <crogers@google.com>
-
- Make sure that AudioArray is 16-byte aligned
- https://bugs.webkit.org/show_bug.cgi?id=65651
-
- Reviewed by Kenneth Russell.
-
- No new tests - this does not change JavaScript API.
-
- * platform/audio/AudioArray.h:
- (WebCore::AudioArray::AudioArray):
- (WebCore::AudioArray::~AudioArray):
- (WebCore::AudioArray::allocate):
- (WebCore::AudioArray::data):
- (WebCore::AudioArray::size):
- (WebCore::AudioArray::at):
- (WebCore::AudioArray::operator[]):
- (WebCore::AudioArray::alignedAddress):
- * platform/audio/Biquad.cpp:
- (WebCore::Biquad::Biquad):
- * platform/audio/ReverbConvolverStage.cpp:
- (WebCore::ReverbConvolverStage::ReverbConvolverStage):
- * webaudio/DelayDSPKernel.cpp:
- (WebCore::DelayDSPKernel::DelayDSPKernel):
- * webaudio/RealtimeAnalyser.cpp:
- (WebCore::RealtimeAnalyser::setFftSize):
-
-2011-08-04 Brady Eidson <beidson@apple.com>
-
- <rdar://problem/9882581>, <rdar://problem/9868015>, and https://bugs.webkit.org/show_bug.cgi?id=65712
- REGRESSION (91931) - Two LocalStorage threads started, thread unsafe operations can cause crash or other problems later.
-
- Reviewed by Darin Adler.
-
- * storage/StorageTracker.cpp:
- (WebCore::StorageTracker::internalInitialize): Set the "needs initialization" flag before doing a
- whole bunch of stuff that might need to check it.
-
-2011-08-04 Jeff Miller <jeffm@apple.com>
-
- Adopt AVCF media back end on Windows
- https://bugs.webkit.org/show_bug.cgi?id=65400
- <rdar://problem/9894105>
-
- First cut at implementation in MediaPlayerPrivateAVFoundationCF.cpp/.h, based on
- work by Eric Carlson. Note that use of AVFoundation is determined at runtime, and
- defaults to off.
-
- Reviewed by Darin Adler.
-
- No new tests, uses existing media tests.
-
- * config.h: Turn on WTF_USE_AVFOUNDATION on Windows if AVFoundationCF is available.
-
- * platform/graphics/MediaPlayer.cpp:
- (WebCore::installedMediaEngines): Register MediaPlayerPrivateAVFoundationCF on Windows.
- * platform/graphics/MediaPlayer.h: Add support for an AVCFPlayer.
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- (WebCore::MediaPlayerPrivateAVFoundation::setPreload): Workaround an AVCF limitation that prevents an AVCFPlayer from being created without an AVCFItem.
- (WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification): Added support for ContentsNeedsDisplay notification.
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
- (WebCore::MediaPlayerPrivateAVFoundation::contentsNeedsDisplay): Added support for ContentsNeedsDisplay notification.
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp: Added implementation.
- (WebCore::AVFWrapper::caVideoLayer):
- (WebCore::AVFWrapper::videoLayerWrapper):
- (WebCore::AVFWrapper::videoLayer):
- (WebCore::AVFWrapper::avPlayer):
- (WebCore::AVFWrapper::avAsset):
- (WebCore::AVFWrapper::avPlayerItem):
- (WebCore::AVFWrapper::timeObserver):
- (WebCore::AVFWrapper::imageGenerator):
- (WebCore::AVFWrapper::dispatchQueue):
- (WebCore::LayerClient::LayerClient):
- (WebCore::LayerClient::~LayerClient):
- (WebCore::LayerClient::platformCALayerRespondsToLayoutChanges):
- (WebCore::LayerClient::platformCALayerAnimationStarted):
- (WebCore::LayerClient::platformCALayerContentsOrientation):
- (WebCore::LayerClient::platformCALayerPaintContents):
- (WebCore::LayerClient::platformCALayerShowDebugBorders):
- (WebCore::LayerClient::platformCALayerShowRepaintCounter):
- (WebCore::LayerClient::platformCALayerIncrementRepaintCount):
- (WebCore::LayerClient::platformCALayerContentsOpaque):
- (WebCore::LayerClient::platformCALayerDrawsContent):
- (WebCore::LayerClient::platformCALayerLayerDidDisplay):
- (WebCore::boolString):
- (WebCore::metadataKeyNames):
- (WebCore::CMTimeRangeStartKey):
- (WebCore::CMTimeRangeDurationKey):
- (WebCore::CACFContextNeedsFlushNotification):
- (WebCore::videoLayer):
- (WebCore::avPlayer):
- (WebCore::avAsset):
- (WebCore::avPlayerItem):
- (WebCore::imageGenerator):
- (WebCore::MediaPlayerPrivateAVFoundationCF::create):
- (WebCore::MediaPlayerPrivateAVFoundationCF::registerMediaEngine):
- (WebCore::MediaPlayerPrivateAVFoundationCF::MediaPlayerPrivateAVFoundationCF):
- (WebCore::MediaPlayerPrivateAVFoundationCF::~MediaPlayerPrivateAVFoundationCF):
- (WebCore::MediaPlayerPrivateAVFoundationCF::cancelLoad):
- (WebCore::MediaPlayerPrivateAVFoundationCF::hasLayerRenderer):
- (WebCore::MediaPlayerPrivateAVFoundationCF::hasContextRenderer):
- (WebCore::MediaPlayerPrivateAVFoundationCF::createContextVideoRenderer):
- (WebCore::MediaPlayerPrivateAVFoundationCF::destroyContextVideoRenderer):
- (WebCore::MediaPlayerPrivateAVFoundationCF::createVideoLayer):
- (WebCore::MediaPlayerPrivateAVFoundationCF::destroyVideoLayer):
- (WebCore::MediaPlayerPrivateAVFoundationCF::hasAvailableVideoFrame):
- (WebCore::MediaPlayerPrivateAVFoundationCF::createAVPlayer):
- (WebCore::MediaPlayerPrivateAVFoundationCF::createAVPlayerItem):
- (WebCore::MediaPlayerPrivateAVFoundationCF::createAVAssetForURL):
- (WebCore::MediaPlayerPrivateAVFoundationCF::checkPlayability):
- (WebCore::MediaPlayerPrivateAVFoundationCF::beginLoadingMetadata):
- (WebCore::MediaPlayerPrivateAVFoundationCF::playerItemStatus):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformMedia):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformLayer):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformSetVisible):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformPlay):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformPause):
- (WebCore::MediaPlayerPrivateAVFoundationCF::updateRate):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformDuration):
- (WebCore::MediaPlayerPrivateAVFoundationCF::currentTime):
- (WebCore::MediaPlayerPrivateAVFoundationCF::seekToTime):
- (WebCore::MediaPlayerPrivateAVFoundationCF::setVolume):
- (WebCore::MediaPlayerPrivateAVFoundationCF::setClosedCaptionsVisible):
- (WebCore::MediaPlayerPrivateAVFoundationCF::rate):
- (WebCore::timeRangeIsValidAndNotEmpty):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformBufferedTimeRanges):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformMaxTimeSeekable):
- (WebCore::MediaPlayerPrivateAVFoundationCF::platformMaxTimeLoaded):
- (WebCore::MediaPlayerPrivateAVFoundationCF::totalBytes):
- (WebCore::MediaPlayerPrivateAVFoundationCF::assetStatus):
- (WebCore::MediaPlayerPrivateAVFoundationCF::paintCurrentFrameInContext):
- (WebCore::MediaPlayerPrivateAVFoundationCF::paint):
- (WebCore::mimeTypeCache):
- (WebCore::MediaPlayerPrivateAVFoundationCF::getSupportedTypes):
- (WebCore::MediaPlayerPrivateAVFoundationCF::supportsType):
- (WebCore::MediaPlayerPrivateAVFoundationCF::isAvailable):
- (WebCore::MediaPlayerPrivateAVFoundationCF::mediaTimeForTimeValue):
- (WebCore::MediaPlayerPrivateAVFoundationCF::tracksChanged):
- (WebCore::MediaPlayerPrivateAVFoundationCF::sizeChanged):
- (WebCore::MediaPlayerPrivateAVFoundationCF::contentsNeedsDisplay):
- (WebCore::AVFWrapper::AVFWrapper):
- (WebCore::AVFWrapper::~AVFWrapper):
- (WebCore::AVFWrapper::scheduleDisconnectAndDelete):
- (WebCore::AVFWrapper::disconnectAndDeleteAVFWrapper):
- (WebCore::AVFWrapper::deleteAVFWrapper):
- (WebCore::AVFWrapper::createAssetForURL):
- (WebCore::AVFWrapper::createPlayer):
- (WebCore::AVFWrapper::createPlayerItem):
- (WebCore::AVFWrapper::periodicTimeObserverCallback):
- (WebCore::AVFWrapper::notificationCallback):
- (WebCore::AVFWrapper::loadPlayableCompletionCallback):
- (WebCore::AVFWrapper::checkPlayability):
- (WebCore::AVFWrapper::loadMetadataCompletionCallback):
- (WebCore::AVFWrapper::beginLoadingMetadata):
- (WebCore::AVFWrapper::seekCompletedCallback):
- (WebCore::AVFWrapper::seekToTime):
- (WebCore::AVFWrapper::setAsset):
- (WebCore::AVFWrapper::platformLayer):
- (WebCore::AVFWrapper::createAVCFVideoLayer):
- (WebCore::AVFWrapper::destroyVideoLayer):
- (WebCore::AVFWrapper::setVideoLayerNeedsCommit):
- (WebCore::AVFWrapper::setVideoLayerHidden):
- (WebCore::AVFWrapper::createImageGenerator):
- (WebCore::AVFWrapper::destroyImageGenerator):
- (WebCore::AVFWrapper::createImageForTimeInRect):
- (WebCore::LayerClient::platformCALayerLayoutSublayersOfLayer):
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.h: Added implementation.
-
-2011-08-04 Jochen Eisinger <jochen@chromium.org>
-
- Get rid of ResourceRequestBase::m_targetType. Move it to chromium's ResourceRequest.
- https://bugs.webkit.org/show_bug.cgi?id=48483
-
- Reviewed by Alexey Proskuryakov.
-
- * loader/PingLoader.cpp:
- (WebCore::PingLoader::loadImage):
- (WebCore::PingLoader::sendPing):
- (WebCore::PingLoader::reportContentSecurityPolicyViolation):
- * loader/cache/CachedResourceRequest.cpp:
- (WebCore::CachedResourceRequest::load):
- * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
- (webKitWebSrcStart):
- * platform/network/ResourceRequestBase.cpp:
- (WebCore::ResourceRequestBase::adopt):
- (WebCore::ResourceRequestBase::copyData):
- * platform/network/ResourceRequestBase.h:
- (WebCore::ResourceRequestBase::ResourceRequestBase):
- * platform/network/chromium/ResourceRequest.cpp:
- (WebCore::ResourceRequest::doPlatformCopyData):
- (WebCore::ResourceRequest::doPlatformAdopt):
- * platform/network/chromium/ResourceRequest.h:
- (WebCore::ResourceRequest::ResourceRequest):
- (WebCore::ResourceRequest::targetType):
- (WebCore::ResourceRequest::setTargetType):
- * workers/DefaultSharedWorkerRepository.cpp:
- (WebCore::SharedWorkerScriptLoader::load):
- * workers/Worker.cpp:
- (WebCore::Worker::create):
- * workers/WorkerContext.cpp:
- (WebCore::WorkerContext::importScripts):
- * workers/WorkerScriptLoader.cpp:
- (WebCore::WorkerScriptLoader::WorkerScriptLoader):
- (WebCore::WorkerScriptLoader::createResourceRequest):
- * workers/WorkerScriptLoader.h:
- (WebCore::WorkerScriptLoader::create):
- (WebCore::WorkerScriptLoader::setTargetType):
-
-2011-08-04 Jeff Miller <jeffm@apple.com>
-
- Fix WinCE build after r92308.
-
- * config.h: Don't try to include WebCoreHeaderDetection.h for WinCE.
-
-2011-08-04 Darin Fisher <darin@chromium.org>
-
- webkitRequestAnimationFrame's element argument needs to be marked optional
- https://bugs.webkit.org/show_bug.cgi?id=65698
-
- Reviewed by James Robinson.
-
- * page/DOMWindow.idl:
-
-2011-08-04 Adam Roben <aroben@apple.com>
-
- Delete some unused code from platform/graphics/win
-
- MediaPlayerPrivateQuickTimeWin has been unused since r72117, and the GraphicsLayer-related
- classes have been unused since r75262.
-
- Fixes <http://webkit.org/b/65689> platform/graphics/win has a bunch of unused code
-
- Reviewed by Eric Carlson.
-
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- Removed now-deleted files.
-
- * platform/graphics/win/GraphicsLayerCACF.cpp: Removed.
- * platform/graphics/win/GraphicsLayerCACF.h: Removed.
- * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp: Removed.
- * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h: Removed.
- * platform/graphics/win/WebLayer.cpp: Removed.
- * platform/graphics/win/WebLayer.h: Removed.
- * platform/graphics/win/WebTiledLayer.cpp: Removed.
- * platform/graphics/win/WebTiledLayer.h: Removed.
-
-2011-08-03 Adam Roben <aroben@apple.com>
-
- Detect and handle overflow in PlatformCALayerWinInternal::constrainedSize
-
- Google Maps sometimes requests very large (i.e., 2^50 pixels or greater) layers when
- zooming. PlatformCALayerWinInternal has code to limit tiled layers to 2^27 pixels, but it
- was not correctly handling overflow. In some cases, this would lead to creating a tiled
- layer with 0 tiles, which was the cause of this crash.
-
- Fixes <http://webkit.org/b/65637> <rdar://problem/9784849> Crash beneath
- PlatformCALayerWinInternal::updateTiles when zooming on Google Maps
-
- Reviewed by Sam Weinig.
-
- Test: compositing/tiling/crash-huge-layer.html
-
- * platform/graphics/ca/win/PlatformCALayerWinInternal.cpp:
- (PlatformCALayerWinInternal::constrainedSize): Check for overflow before seeing if the
- number of required tiles is larger than the maximum number of allowed tiles.
- (PlatformCALayerWinInternal::updateTiles): Added an assertion to catch cases where we have a
- non-empty tiled layer that contains 0 tiles, which would cause the crash in this bug report.
-
-2011-08-04 Stephen White <senorblanco@chromium.org>
-
- Set graphics context current before canvas.toDataURL().
- https://bugs.webkit.org/show_bug.cgi?id=65700
-
- Reviewed by James Robinson.
-
- No new tests, unfortunately. The test infrastucture doesn't seem
- to be conducive to writing multiple-context tests.
-
- * platform/graphics/skia/ImageBufferSkia.cpp:
- (WebCore::ImageBuffer::toDataURL):
-
-2011-08-01 Brian Weinstein <bweinstein@apple.com>
-
- WebKit2: Web Inspector always starts in undocked mode
- https://bugs.webkit.org/show_bug.cgi?id=65493
- <rdar://problem/9353114>
-
- Reviewed by Adam Roben.
-
- Expose some methods on InspectorFrontendClient through the InspectorController so WebKit2
- can request the inspector be docked, or ask whether or not it can be docked.
-
- * WebCore.exp.in: Export needed methods.
- * inspector/InspectorController.cpp:
- (WebCore::InspectorController::requestAttachWindow): Call through to InspectorFrontendClient.
- (WebCore::InspectorController::canAttachWindow): Ditto.
- * inspector/InspectorController.h:
- * inspector/InspectorFrontendClient.h:
- * inspector/InspectorFrontendClientLocal.h:
-
-2011-08-04 Luke Macpherson <macpherson@chromium.org>
-
- Support cast between CSSPrimitiveValue and EborderFit, use in CSSStyleSelector.
- https://bugs.webkit.org/show_bug.cgi?id=65665
-
- Reviewed by Simon Fraser.
-
- No new tests / refactoring only.
-
- * css/CSSPrimitiveValueMappings.h:
- (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- Support cast from EBorderFit.
- (WebCore::CSSPrimitiveValue::operator EBorderFit):
- Support cast to EBorderFit.
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Use new cast to allow use of appropriate macro.
-
-2011-08-04 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: rename sendResultByValue to returnByValue in Runtime agent.
- https://bugs.webkit.org/show_bug.cgi?id=65687
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/InjectedScript.cpp:
- (WebCore::InjectedScript::evaluate):
- (WebCore::InjectedScript::callFunctionOn):
- * inspector/InjectedScript.h:
- * inspector/InjectedScriptSource.js:
- * inspector/Inspector.json:
- * inspector/InspectorRuntimeAgent.cpp:
- (WebCore::InspectorRuntimeAgent::evaluate):
- (WebCore::InspectorRuntimeAgent::callFunctionOn):
- * inspector/InspectorRuntimeAgent.h:
-
-2011-08-04 Matt Falkenhagen <falken@chromium.org>
-
- Use -webkit-locale for font selection.
- https://bugs.webkit.org/show_bug.cgi?id=10874
-
- Reviewed by Dan Bernstein.
-
- Infer a script from -webkit-locale to use to choose a font for generic
- font families and the default unstyled font. The font is retrieved
- from per-script font settings (see bug 20797). Since these settings
- have not changed there should be no visible effect yet.
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gyp/WebCore.gyp:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * css/CSSFontSelector.cpp: Use script when getting font from Settings
- (WebCore::fontDataForGenericFamily):
- (WebCore::CSSFontSelector::getFontData):
- * css/CSSPropertyNames.in: Increase priority of -webkit-locale since it affects font
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::styleForDocument):
- (WebCore::CSSStyleSelector::applyDeclarations):
- (WebCore::CSSStyleSelector::applyProperty): Set script in font based on -webkit-locale
- * page/Settings.cpp:
- (WebCore::getGenericFontFamilyForScript): Fallback to USCRIPT_COMMON
- * platform/graphics/FontDescription.h: Add m_script
- (WebCore::FontDescription::FontDescription):
- (WebCore::FontDescription::script):
- (WebCore::FontDescription::setScript):
- (WebCore::FontDescription::operator==):
- * platform/text/LocaleToScriptMapping.h: Added.
- * platform/text/LocaleToScriptMappingDefault.cpp: Added.
- (WebCore::localeToScriptCodeForFontSelection):
- (WebCore::LocaleScript::if):
- (WebCore::LocaleScript::while):
- * platform/text/LocaleToScriptMappingICU.cpp: Added.
- (WebCore::scriptCodeForFontSelection):
- (WebCore::localeToScriptCodeForFontSelection):
-
-2011-08-04 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: Pretty print JSONP in network panel preview tab.
- https://bugs.webkit.org/show_bug.cgi?id=65559
-
- Reviewed by Pavel Feldman.
-
- Test: http/tests/inspector/network/network-preview-json.html
-
- * inspector/front-end/ResourceJSONView.js:
- (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.parseJSONP):
- (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.prototype._initialize):
- (WebInspector.ResourceJSONView.parseJSON.WebInspector.ParsedJSON):
- * inspector/front-end/ResourcePreviewView.js:
- (WebInspector.ResourcePreviewView.prototype._createPreviewView):
-
-2011-08-04 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: replace isRegex with urlRegex in setBreakpointByUrl
- https://bugs.webkit.org/show_bug.cgi?id=65684
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/Inspector.json:
- * inspector/InspectorDebuggerAgent.cpp:
- (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
- * inspector/InspectorDebuggerAgent.h:
- * inspector/front-end/DebuggerModel.js:
- (WebInspector.DebuggerModel.prototype.setBreakpoint):
-
-2011-08-03 Philippe Normand <pnormand@igalia.com>
-
- [GTK] fullscreen/video-controls-override.html fails
- https://bugs.webkit.org/show_bug.cgi?id=65618
-
- Reviewed by Martin Robinson.
-
- Implement extraFullScreenStyleSheet() and provide the QuickTime
- stylesheet for now, later we might want our own stylesheet.
-
- * GNUmakefile.am:
- * platform/gtk/RenderThemeGtk.cpp:
- (WebCore::RenderThemeGtk::extraFullScreenStyleSheet):
- * platform/gtk/RenderThemeGtk.h:
-
-2011-08-04 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: Rename sourceId -> scriptId in the protocol and the source code.
- https://bugs.webkit.org/show_bug.cgi?id=65682
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/InjectedScriptSource.js:
- ():
- * inspector/Inspector.json:
- * inspector/InspectorConsoleAgent.cpp:
- (WebCore::InspectorConsoleAgent::addMessageToConsole):
- * inspector/InspectorConsoleAgent.h:
- * inspector/InspectorConsoleInstrumentation.h:
- (WebCore::InspectorInstrumentation::addMessageToConsole):
- * inspector/InspectorDOMAgent.cpp:
- (WebCore::InspectorDOMAgent::buildObjectForEventListener):
- * inspector/InspectorDebuggerAgent.cpp:
- (WebCore::parseLocation):
- (WebCore::InspectorDebuggerAgent::setBreakpoint):
- (WebCore::InspectorDebuggerAgent::continueToLocation):
- (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
- (WebCore::InspectorDebuggerAgent::setScriptSource):
- (WebCore::InspectorDebuggerAgent::getScriptSource):
- (WebCore::InspectorDebuggerAgent::didParseSource):
- * inspector/InspectorDebuggerAgent.h:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::addMessageToConsoleImpl):
- * inspector/InspectorInstrumentation.h:
- * inspector/ScriptDebugListener.h:
- * inspector/front-end/DebuggerModel.js:
- (WebInspector.DebuggerModel.prototype.scriptForSourceID):
- (WebInspector.DebuggerModel.prototype.queryScripts):
- (WebInspector.DebuggerModel.prototype.setScriptSource):
- (WebInspector.DebuggerModel.prototype._didEditScriptSource):
- (WebInspector.DebuggerModel.prototype._parsedScriptSource):
- (WebInspector.DebuggerDispatcher.prototype.scriptParsed):
- (WebInspector.DebuggerDispatcher.prototype.breakpointResolved):
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel.prototype.registerAnchor):
- (WebInspector.DebuggerPresentationModel.prototype._updateAnchor):
- (WebInspector.DebuggerPresentationModel.prototype.setScriptSource.didReceiveSource):
- (WebInspector.DebuggerPresentationModel.prototype.setScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype._setBreakpointInDebugger.didGetScriptLocation):
- (WebInspector.DebuggerPresentationModel.prototype._setBreakpointInDebugger):
- (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
- (WebInspector.DebuggerPresentationModel.prototype.set _debuggerPaused):
- (WebInspector.DebuggerPresentationModel.prototype._sourceFileForScript):
- (WebInspector.DebuggerPresentationModel.prototype._scriptForSourceFileId):
- (WebInspector.DebuggerPresentationModel.prototype._createSourceFileId):
- (WebInspector.PresenationCallFrame):
- (WebInspector.PresenationCallFrame.prototype.sourceLine):
- * inspector/front-end/EventListenersSidebarPane.js:
- (.):
- ():
- * inspector/front-end/Script.js:
- (WebInspector.Script):
- (WebInspector.Script.prototype.requestSource):
- (WebInspector.Script.prototype.editSource):
- * inspector/front-end/SourceFile.js:
- (WebInspector.RawSourceCode.prototype.uiLocationToRawLocation):
- (WebInspector.RawSourceCode.prototype.forceLoadContent):
- (WebInspector.RawSourceCode.prototype._concatenateScriptsContent):
-
-2011-08-04 Tommy Widenflycht <tommyw@google.com>
-
- MediaStream API: Rename StreamEvent to MediaStreamEvent
- https://bugs.webkit.org/show_bug.cgi?id=65669
-
- Reviewed by Tony Gentilcore.
-
- * CMakeLists.txt:
- * CodeGenerators.pri:
- * DerivedSources.cpp:
- * DerivedSources.make:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * bindings/js/JSEventCustom.cpp:
- (WebCore::toJS):
- * bindings/v8/custom/V8EventCustom.cpp:
- (WebCore::toV8):
- * dom/DOMAllInOne.cpp:
- * dom/Event.cpp:
- (WebCore::Event::isMediaStreamEvent):
- * dom/Event.h:
- * p2p/MediaStreamEvent.cpp: Renamed from Source/WebCore/dom/StreamEvent.cpp.
- (WebCore::MediaStreamEvent::create):
- (WebCore::MediaStreamEvent::MediaStreamEvent):
- (WebCore::MediaStreamEvent::~MediaStreamEvent):
- (WebCore::MediaStreamEvent::initMediaStreamEvent):
- (WebCore::MediaStreamEvent::stream):
- * p2p/MediaStreamEvent.h: Renamed from Source/WebCore/dom/StreamEvent.h.
- (WebCore::MediaStreamEvent::isMediaStreamEvent):
- * p2p/MediaStreamEvent.idl: Renamed from Source/WebCore/dom/StreamEvent.idl.
- * p2p/PeerConnection.cpp:
- (WebCore::PeerConnection::dispatchStreamEvent):
-
-2011-08-02 Hans Wennborg <hans@chromium.org>
-
- IndexedDB: Fix index data invalidation bugs.
- https://bugs.webkit.org/show_bug.cgi?id=65547
-
- Reviewed by Tony Chang.
-
- The function that checks whether a key exists in an index failed
- to check whether that key was still valid or not.
-
- Deleting a record from an object store must also delete its exists
- entry, thus invalidating index keys pointing to that record.
-
- Test: storage/indexeddb/index-unique.html
-
- * storage/IDBLevelDBBackingStore.cpp:
- (WebCore::IDBLevelDBBackingStore::deleteObjectStoreRecord):
- (WebCore::findKeyInIndex):
- (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex):
- (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
- (WebCore::CursorOptions::IndexKeyCursorImpl::loadCurrentRow):
-
-2011-08-04 Alexandru Chiculita <achicu@adobe.com>
-
- Move PODIntervalTree to Source/WebCore/platform
- https://bugs.webkit.org/show_bug.cgi?id=65667
-
- It seems the files were not part of any project, so no project files were modified.
-
- Reviewed by Adam Barth.
-
- No new tests, just moving files from one folder to the other.
-
- * platform/PODArena.h: Renamed from Source/WebCore/platform/graphics/gpu/PODArena.h.
- (WebCore::PODArena::Allocator::~Allocator):
- (WebCore::PODArena::FastMallocAllocator::create):
- (WebCore::PODArena::FastMallocAllocator::allocate):
- (WebCore::PODArena::FastMallocAllocator::free):
- (WebCore::PODArena::FastMallocAllocator::FastMallocAllocator):
- (WebCore::PODArena::create):
- (WebCore::PODArena::allocateObject):
- (WebCore::PODArena::~PODArena):
- (WebCore::PODArena::PODArena):
- (WebCore::PODArena::minAlignment):
- (WebCore::PODArena::allocateBase):
- (WebCore::PODArena::roundUp):
- (WebCore::PODArena::Chunk::Chunk):
- (WebCore::PODArena::Chunk::~Chunk):
- (WebCore::PODArena::Chunk::allocate):
- * platform/PODInterval.h: Renamed from Source/WebCore/platform/graphics/gpu/PODInterval.h.
- (WebCore::PODInterval::PODInterval):
- (WebCore::PODInterval::low):
- (WebCore::PODInterval::high):
- (WebCore::PODInterval::data):
- (WebCore::PODInterval::overlaps):
- (WebCore::PODInterval::operator<):
- (WebCore::PODInterval::operator==):
- (WebCore::PODInterval::maxHigh):
- (WebCore::PODInterval::setMaxHigh):
- (WebCore::PODInterval::toString):
- * platform/PODIntervalTree.h: Renamed from Source/WebCore/platform/graphics/gpu/PODIntervalTree.h.
- (WebCore::PODIntervalTree::PODIntervalTree):
- (WebCore::PODIntervalTree::allOverlaps):
- (WebCore::PODIntervalTree::createInterval):
- (WebCore::PODIntervalTree::checkInvariants):
- (WebCore::PODIntervalTree::init):
- (WebCore::PODIntervalTree::searchForOverlapsFrom):
- (WebCore::PODIntervalTree::updateNode):
- (WebCore::PODIntervalTree::checkInvariantsFromNode):
- * platform/PODRedBlackTree.h: Renamed from Source/WebCore/platform/graphics/gpu/PODRedBlackTree.h.
- (WebCore::PODRedBlackTree::Visitor::~Visitor):
- (WebCore::PODRedBlackTree::PODRedBlackTree):
- (WebCore::PODRedBlackTree::~PODRedBlackTree):
- (WebCore::PODRedBlackTree::add):
- (WebCore::PODRedBlackTree::remove):
- (WebCore::PODRedBlackTree::contains):
- (WebCore::PODRedBlackTree::visitInorder):
- (WebCore::PODRedBlackTree::size):
- (WebCore::PODRedBlackTree::setNeedsFullOrderingComparisons):
- (WebCore::PODRedBlackTree::checkInvariants):
- (WebCore::PODRedBlackTree::dump):
- (WebCore::PODRedBlackTree::setVerboseDebugging):
- (WebCore::PODRedBlackTree::Node::Node):
- (WebCore::PODRedBlackTree::Node::~Node):
- (WebCore::PODRedBlackTree::Node::color):
- (WebCore::PODRedBlackTree::Node::setColor):
- (WebCore::PODRedBlackTree::Node::data):
- (WebCore::PODRedBlackTree::Node::copyFrom):
- (WebCore::PODRedBlackTree::Node::left):
- (WebCore::PODRedBlackTree::Node::setLeft):
- (WebCore::PODRedBlackTree::Node::right):
- (WebCore::PODRedBlackTree::Node::setRight):
- (WebCore::PODRedBlackTree::Node::parent):
- (WebCore::PODRedBlackTree::Node::setParent):
- (WebCore::PODRedBlackTree::root):
- (WebCore::PODRedBlackTree::updateNode):
- (WebCore::PODRedBlackTree::treeSearch):
- (WebCore::PODRedBlackTree::treeSearchNormal):
- (WebCore::PODRedBlackTree::treeSearchFullComparisons):
- (WebCore::PODRedBlackTree::treeInsert):
- (WebCore::PODRedBlackTree::treeSuccessor):
- (WebCore::PODRedBlackTree::treeMinimum):
- (WebCore::PODRedBlackTree::propagateUpdates):
- (WebCore::PODRedBlackTree::leftRotate):
- (WebCore::PODRedBlackTree::rightRotate):
- (WebCore::PODRedBlackTree::insertNode):
- (WebCore::PODRedBlackTree::deleteFixup):
- (WebCore::PODRedBlackTree::deleteNode):
- (WebCore::PODRedBlackTree::visitInorderImpl):
- (WebCore::PODRedBlackTree::Counter::Counter):
- (WebCore::PODRedBlackTree::Counter::visit):
- (WebCore::PODRedBlackTree::Counter::count):
- (WebCore::PODRedBlackTree::checkInvariantsFromNode):
- (WebCore::PODRedBlackTree::logIfVerbose):
- (WebCore::PODRedBlackTree::dumpFromNode):
-
-2011-08-03 Alice Boxhall <aboxhall@chromium.org>
-
- An element with role=textbox should have settable AXValue unless read-only
- https://bugs.webkit.org/show_bug.cgi?id=65664
-
- Reviewed by Chris Fleizach.
-
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::canSetValueAttribute):
- Return true for non-native text field with aria-readonly not set.
-
-2011-08-03 Luke Macpherson <macpherson@chromium.org>
-
- Clean up value clamping in CSSStyleSelector.
- https://bugs.webkit.org/show_bug.cgi?id=65588
-
- Reviewed by Darin Adler.
-
- No new tests / trivial code cleanup only.
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Replace (unsigned int)primitiveValue->getDoubleValue() with primtiveValue->getValue<unsigned>() for correct clamping.
- Replace clampToInteger(primitiveValue->getDoubleValue()) with primitiveValue->getIntValue().
-
-2011-08-03 Kent Tamura <tkent@chromium.org>
-
- Fix incorrect checks for HTMLMediaElement
- https://bugs.webkit.org/show_bug.cgi?id=65590
-
- Reviewed by Dimitri Glazkov.
-
- <video> and <audio> can be an HTMLElement instance instead of
- HTMLMediaElement if MediaPlayer::isAvailable() returns false or
- the media feature is disabled at runtime.
-
- * html/HTMLSourceElement.cpp:
- (WebCore::HTMLSourceElement::insertedIntoTree):
- (WebCore::HTMLSourceElement::willRemove):
- * html/HTMLTrackElement.cpp:
- (WebCore::HTMLTrackElement::insertedIntoTree):
- (WebCore::HTMLTrackElement::willRemove):
- * html/shadow/MediaControlElements.cpp:
- (WebCore::toParentMediaElement):
- * page/FrameView.cpp:
- (WebCore::FrameView::updateWidget):
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::paintMediaMuteButton):
- * platform/gtk/RenderThemeGtk.cpp:
- (WebCore::getMediaElementFromRenderObject):
- * rendering/RenderThemeMac.mm:
- (WebCore::RenderThemeMac::paintMediaSliderTrack):
- * rendering/RenderThemeWinCE.cpp:
- (WebCore::mediaElementParent):
-
-2011-08-03 Sailesh Agrawal <sail@chromium.org>
-
- Chromium Mac: Make ScrollbarOverlayUtilitiesChromiumMac.h c++ compatible
- https://bugs.webkit.org/show_bug.cgi?id=65659
-
- Reviewed by James Robinson.
-
- ScrollbarOverlayUtilitiesChromiumMac.h couldn't be included from pure c++ code because it used NSInteger. I fixed this by checking for __OBJC__ before using NSInteger.
-
- Currently no pure c++ files are including ScrollbarOverlayUtilitiesChromiumMac.h but this will change in future patches from jam@chromium.org.
-
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
- (wkScrollbarPainterControllerStyle):
- (wkSetScrollbarPainterControllerStyle):
-
-2011-08-03 Luke Macpherson <macpherson@chromium.org>
-
- Support cast between CSSPrimitiveValue and EBoxSizing, use in CSSStyleSelector.
- https://bugs.webkit.org/show_bug.cgi?id=65657
-
- Reviewed by Simon Fraser.
-
- No new tests / refactoring only.
-
- * css/CSSPrimitiveValueMappings.h:
- (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- Implement cast from EBoxSizing.
- (WebCore::CSSPrimitiveValue::operator EBoxSizing):
- Implement cast to EBoxSizing.
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Use appropriate macro to simplify code using cast.
-
-2011-08-03 Ian Henderson <ianh@apple.com>
-
- Draw rectangular box shadow for elements with border-radius if no corners are visible
- https://bugs.webkit.org/show_bug.cgi?id=65006
-
- Reviewed by Simon Fraser.
-
- Change "unroundClippedCorners" to "allCornersClippedOut" and use it to
- determine when the corners' influence affects the blurred shadow in
- the current drawing region.
-
- Test: fast/box-shadow/box-shadow-clipped-slices.html
-
- * rendering/InlineFlowBox.cpp:
- (WebCore::InlineFlowBox::paintBoxShadow): Pass PaintInfo through to
- RenderBoxModelObject::paintBoxShadow.
- (WebCore::InlineFlowBox::paintBoxDecorations): Ditto.
- * rendering/InlineFlowBox.h:
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::paintBoxDecorations): Ditto.
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::allCornersClippedOut): Determines whether the bounding rects
- for any of the given rounded rect's corners intersects the clip rect.
- (WebCore::RenderBoxModelObject::paintBorder): Instead of "unrounding"
- any corner outside the clip rect, unround all corners at once, and
- only if they are all outside the clip rect.
- (WebCore::RenderBoxModelObject::paintBoxShadow): Determine whether any
- corner will influence shadow drawing using allCornersClippedOut on the
- influenceRect, whose corners extend past the fillRect's corners by the
- blur radius and inside the fillRect's corners by the blur radius.
- * rendering/RenderBoxModelObject.h:
- * rendering/RenderFieldset.cpp:
- (WebCore::RenderFieldset::paintBoxDecorations): Pass PaintInfo into
- RenderBoxModelObject::paintBoxShadow.
- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::paintBoxDecorations): Ditto.
- * rendering/RenderTableCell.cpp:
- (WebCore::RenderTableCell::paintBoxDecorations): Ditto.
-
-2011-08-03 No'am Rosenthal <noam.rosenthal@nokia.com>
-
- [Qt][Texmap][REGRESSION] http://webkit.org/blog-files/transform-style.html doesn't show composited content
- https://bugs.webkit.org/show_bug.cgi?id=65629
-
- Reviewed by Benjamin Poulain.
-
- Some non-ES2 initialization was wrongfully #ifdefed in CPU(X86) and thus compiled-out.
- When put it in the correct #ifdef, composited layers which require an intermediate buffer
- work again.
-
- No new tests. Existing opacity tests in LayoutTests/compositing test this.
-
- * platform/graphics/opengl/TextureMapperGL.cpp:
- (WebCore::BitmapTextureGL::bind):
-
-2011-08-03 Mark Rowe <mrowe@apple.com>
-
- Bring some order to FeatureDefines.xcconfig to make it easier to follow.
-
- Reviewed by Sam Weinig.
-
- * Configurations/FeatureDefines.xcconfig:
-
-2011-08-03 Mark Rowe <mrowe@apple.com>
-
- Clean up FeatureDefines.xcconfig to remove some unnecessary conditional settings
-
- Reviewed by Dave Kilzer.
-
- * Configurations/FeatureDefines.xcconfig:
-
-2011-08-02 Adrienne Walker <enne@google.com>
-
- [chromium] Fix issue where switching composited tabs evicts root textures
- https://bugs.webkit.org/show_bug.cgi?id=65562
-
- Reviewed by James Robinson.
-
- LayerTilerChromium::protectTileTextures was hard-coding texture sizes
- and texture formats. Because this didn't always match textures' actual
- sizes and formats, they weren't getting protected during eviction.
-
- * platform/graphics/chromium/LayerTilerChromium.cpp:
- (WebCore::LayerTilerChromium::protectTileTextures):
-
-2011-08-03 Ryosuke Niwa <rniwa@webkit.org>
-
- select-all, copy, paste of specialAncestorElements (e.g. pre, h1, etc) nests the element inside itself
- https://bugs.webkit.org/show_bug.cgi?id=26483
-
- Reviewed by Enrica Casucci.
-
- The bug was caused by WebKit serializing pre, h1, etc... to retain structure and appearance when copying
- rich content and pasting did not remove such nodes wrapping the copied contents.
-
- Fixed the bug by extending r81887 and r83322 to remove those elements from where WebKit pastes into.
-
- Test: editing/pasteboard/copy-paste-text-in-h1.html
-
- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::nodeHasAttributesToPreserve): Extracted from isInlineNodeWithStyle.
- (WebCore::isInlineNodeWithStyle): Calls nodeHasAttributesToPreserve.
- (WebCore::ReplaceSelectionCommand::doApply): Calls ancestorToRetainStructureAndAppearance.
- Remove nodes copied by ancestorToRetainStructureAndAppearance at insertionPos before pasting the fragment.
- * editing/markup.cpp:
- (WebCore::ancestorToRetainStructureAndAppearance): Takes ShouldIncludeParagraphSeparators.
- * editing/markup.h:
-
-2011-08-03 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from Console.idl
- https://bugs.webkit.org/show_bug.cgi?id=65569
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * page/Console.idl:
-
-2011-08-03 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from HTML DOM IDL files
- https://bugs.webkit.org/show_bug.cgi?id=65338
-
- Reviewed by Adam Barth.
-
- * html/DOMFormData.idl:
- * html/DOMTokenList.idl:
- * html/DOMURL.idl:
- * html/HTMLAllCollection.idl:
- * html/HTMLAnchorElement.idl:
- * html/HTMLAudioElement.idl:
- * html/HTMLButtonElement.idl:
- * html/HTMLCanvasElement.idl:
- * html/HTMLCollection.idl:
- * html/HTMLDivElement.idl:
- * html/HTMLDocument.idl:
- * html/HTMLElement.idl:
- * html/HTMLFieldSetElement.idl:
- * html/HTMLInputElement.idl:
- * html/HTMLKeygenElement.idl:
- * html/HTMLMediaElement.idl:
- * html/HTMLObjectElement.idl:
- * html/HTMLOptionsCollection.idl:
- * html/HTMLOutputElement.idl:
- * html/HTMLSelectElement.idl:
- * html/HTMLTableElement.idl:
- * html/HTMLTableRowElement.idl:
- * html/HTMLTableSectionElement.idl:
- * html/HTMLTextAreaElement.idl:
- * html/HTMLVideoElement.idl:
- * html/TimeRanges.idl:
-
-2011-08-03 Jeffrey Pfau <jpfau@apple.com>
-
- Make atomic XML token
- https://bugs.webkit.org/show_bug.cgi?id=65639
-
- Reviewed by Adam Barth.
-
- Create a shared AtomicMarkupTokenBase that is shared by AtomicHTMLToken and the new AtomicXMLToken
-
- * html/parser/HTMLToken.h:
- (WebCore::HTMLToken::setForceQuirks):
- (WebCore::AtomicHTMLToken::AtomicHTMLToken):
- (WebCore::AtomicHTMLToken::forceQuirks):
- * html/parser/HTMLTokenizer.cpp:
- (WebCore::::nameForAttribute):
- (WebCore::::usesName):
- (WebCore::::usesAttributes):
- * xml/parser/MarkupTokenBase.h:
- (WebCore::AtomicMarkupTokenBase::AtomicMarkupTokenBase):
- (WebCore::AtomicMarkupTokenBase::type):
- (WebCore::AtomicMarkupTokenBase::name):
- (WebCore::AtomicMarkupTokenBase::setName):
- (WebCore::AtomicMarkupTokenBase::selfClosing):
- (WebCore::AtomicMarkupTokenBase::getAttributeItem):
- (WebCore::AtomicMarkupTokenBase::attributes):
- (WebCore::AtomicMarkupTokenBase::takeAtributes):
- (WebCore::AtomicMarkupTokenBase::characters):
- (WebCore::AtomicMarkupTokenBase::comment):
- (WebCore::AtomicMarkupTokenBase::publicIdentifier):
- (WebCore::AtomicMarkupTokenBase::systemIdentifier):
- (WebCore::::initializeAttributes):
- * xml/parser/XMLToken.h:
- (WebCore::AtomicXMLToken::AtomicXMLToken):
- (WebCore::AtomicXMLToken::prefix):
- (WebCore::AtomicXMLToken::target):
- (WebCore::AtomicXMLToken::data):
- (WebCore::AtomicXMLToken::xmlVersion):
- (WebCore::AtomicXMLToken::xmlStandalone):
- * xml/parser/XMLTokenizer.cpp:
- (WebCore::::nameForAttribute):
- (WebCore::::usesName):
- (WebCore::::usesAttributes):
-
-2011-08-03 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from geolocation IDL files
- https://bugs.webkit.org/show_bug.cgi?id=65355
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * page/Geolocation.idl:
- * page/PositionCallback.idl:
- * page/PositionErrorCallback.idl:
-
-2011-08-03 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from DOMSelection.idl
- https://bugs.webkit.org/show_bug.cgi?id=65566
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * page/DOMSelection.idl:
-
-2011-08-03 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from Location.idl
- https://bugs.webkit.org/show_bug.cgi?id=65565
-
- Reviewed by Darin Adler.
-
- No new tests, all existing tests pass.
-
- * page/Location.idl:
-
-2011-08-03 Sailesh Agrawal <sail@chromium.org>
-
- Chromium Mac: Fix position of search tickmarks
- https://bugs.webkit.org/show_bug.cgi?id=65575
-
- This change adjusts the position of search tickmarks so that they are correctly centered.
-
- Also, insetting the tickmark rect by 5 pixels caused tickmarks on the overlay scrollbar to look very small. I changed this to inset by 4 pixels instead. The tickmark is the same width as the overlay scrollbar which looks much better.
-
- Reviewed by James Robinson.
-
- * platform/chromium/ScrollbarThemeChromiumMac.mm:
- (WebCore::ScrollbarThemeChromiumMac::paint):
-
-2011-08-03 Sailesh Agrawal <sail@chromium.org>
-
- Chromium Mac: Make sure scrollbars flash when web page loads
- https://bugs.webkit.org/show_bug.cgi?id=65586
-
- On slow web pages scrollbars wouldn't flash when the page was done loading. The problem was that we were flashing the scrollbar 0.1 second after the load operation had started. If the page was slow to load then we might not have scrollbars to flash. To work around this I added an extra check to make sure that we had indeed finished loading the page before flashing the scrollbars.
-
- Reviewed by James Robinson.
-
- * platform/chromium/ScrollAnimatorChromiumMac.mm:
- (WebCore::ScrollAnimatorChromiumMac::initialScrollbarPaintTimerFired):
-
-2011-08-03 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from navigator IDL files
- https://bugs.webkit.org/show_bug.cgi?id=65370
-
- Reviewed by Adam Barth.
-
- * page/Navigator.idl:
- * page/NavigatorUserMediaErrorCallback.idl:
- * page/NavigatorUserMediaSuccessCallback.idl:
-
2011-08-03 Anders Carlsson <andersca@apple.com>
webarchive/loading/missing-data.html is failing on Mac
« no previous file with comments | « LayoutTests/fast/loader/reload-zero-byte-plugin-expected.txt ('k') | Source/WebCore/loader/DocumentWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698