Index: Source/WebCore/ChangeLog |
=================================================================== |
--- Source/WebCore/ChangeLog (revision 114633) |
+++ Source/WebCore/ChangeLog (working copy) |
@@ -1,1765 +1,5 @@ |
-2012-04-16 Andrei Burago <aburago@chromium.org> |
- |
- Auto-sized frames may be taller than expected |
- https://bugs.webkit.org/show_bug.cgi?id=84106 |
- |
- Reviewed by David Levin. |
- |
- No new tests. The repro steps require using Chrome notifications on Win. |
- |
- * page/FrameView.cpp: |
- (WebCore::FrameView::autoSizeIfEnabled): |
- |
-2012-04-13 James Robinson <jamesr@chromium.org> |
- |
- [chromium] Expose WebVideoLayer to Platform API and port WebMediaPlayerClientImpl to using it |
- https://bugs.webkit.org/show_bug.cgi?id=83963 |
- |
- Reviewed by Adrienne Walker. |
- |
- Converts VideoLayerChromium / CCVideoLayerImpl to use a Platform WebVideoFrameProvider interface instead of a |
- WebCore VideoFrameProvider. |
- |
- * WebCore.gypi: |
- * platform/graphics/chromium/VideoLayerChromium.cpp: |
- (WebCore::VideoLayerChromium::create): |
- (WebCore::VideoLayerChromium::VideoLayerChromium): |
- * platform/graphics/chromium/VideoLayerChromium.h: |
- (WebKit): |
- (WebCore): |
- (VideoLayerChromium): |
- * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp: |
- (WebCore::CCVideoLayerImpl::CCVideoLayerImpl): |
- * platform/graphics/chromium/cc/CCVideoLayerImpl.h: |
- (WebCore::CCVideoLayerImpl::create): |
- (CCVideoLayerImpl): |
- |
-2012-04-16 Takashi Sakamoto <tasak@google.com> |
- |
- [Shadow DOM] InsertionPoint should have isActive() member function. |
- https://bugs.webkit.org/show_bug.cgi?id=82010 |
- |
- Reviewed by Hajime Morita. |
- |
- This patch adds isActive public member function to InsertionPoint and |
- makes InsertionPoint elements consider whether active or not. |
- If an InsertionPoint is inactive, the element is not shadow boundary |
- and is needed to be rendered. |
- c.f. https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#dfn-active-insertion-point |
- |
- Test: update existing tests, i.e. |
- LayoutTests/fast/dom/shadow/shadow-contents-fallback-dynamic.html and |
- LayoutTests/fast/dom/shadow/shadow-contents-fallback.html |
- |
- * html/shadow/InsertionPoint.cpp: |
- (WebCore::InsertionPoint::isActive): |
- A new public method for checking whether an insertion point is active or inactive. |
- If active, returns true. Otherwise, false. |
- (WebCore::InsertionPoint::isShadowBoundary): |
- Make the method consider whether an insertin point is active or inactive. |
- (WebCore::InsertionPoint::rendererIsNeeded): |
- Changed to return true If an insertion point is inactive. |
- (WebCore::InsertionPoint::attach): |
- Changed to call only HTMLElement::attach If an insertion point is inactive. |
- (WebCore::InsertionPoint::detach): |
- Changed to call only HTMLElement::detach If an insertion point is inactive. |
- * html/shadow/InsertionPoint.h: |
- (InsertionPoint): |
- Added isActive public method. |
- * dom/NodeRenderingContext.cpp: |
- (WebCore::NodeRenderingContext::NodeRenderingContext): |
- Changed to take into account an insertion point's activeness when parent is an insertion point. |
- (WebCore::NodeRenderingContext::firstRendererOf): |
- (WebCore::NodeRenderingContext::lastRendererOf): |
- Changed to take into account an insertion point's activeness. |
- |
-2012-04-16 MORITA Hajime <morrita@google.com> |
- |
- Type tags in NodeFlags could be compressed |
- https://bugs.webkit.org/show_bug.cgi?id=79299 |
- |
- Because existing node flags which indicate the class of each node |
- are mutually exclusive, these flags can be represented as a enum. |
- This patch introduces Node::NodeTypeTag to turn these flags into a |
- enum, and embeds it into Node::m_nodeFlags. |
- |
- Reviewed by Antti Koivisto. |
- |
- No new tests. No bahavior change. |
- |
- * dom/Node.cpp: |
- (WebCore): |
- * dom/Node.h: |
- (WebCore): |
- (Node): |
- (WebCore::Node::typeTag): |
- (WebCore::Node::parentNode): |
- (WebCore::Node::parentNodeGuaranteedHostFree): |
- (WebCore::Node::isContainerNode): |
- (WebCore::Node::isElementNode): |
- (WebCore::Node::isStyledElement): |
- (WebCore::Node::isTextNode): |
- (WebCore::Node::isHTMLElement): |
- (WebCore::Node::isSVGElement): |
- (WebCore::Node::isShadowRoot): |
- |
-2012-04-16 Sheriff Bot <webkit.review.bot@gmail.com> |
- |
- Unreviewed, rolling out r114285. |
- http://trac.webkit.org/changeset/114285 |
- https://bugs.webkit.org/show_bug.cgi?id=84107 |
- |
- broke fast/media/media-query-list-08.html in Mac (Requested by |
- andersca on #webkit). |
- |
- * dom/Document.cpp: |
- (WebCore::Document::styleSelectorChanged): |
- * dom/Document.h: |
- (Document): |
- * page/FrameView.cpp: |
- (WebCore::FrameView::layout): |
- |
-2012-04-16 Nate Chapin <japhet@chromium.org> |
- |
- Remove unused variable CachedResourceLoader::m_loadFinishing |
- https://bugs.webkit.org/show_bug.cgi?id=84100 |
- |
- Reviewed by Alexey Proskuryakov. |
- |
- No new tests, removing dead code. |
- |
- * loader/cache/CachedResourceLoader.cpp: |
- (WebCore::CachedResourceLoader::CachedResourceLoader): |
- (WebCore::CachedResourceLoader::loadDone): |
- (WebCore::CachedResourceLoader::decrementRequestCount): |
- * loader/cache/CachedResourceLoader.h: |
- (CachedResourceLoader): |
- (WebCore::CachedResourceLoader::requestCount): |
- |
-2012-04-16 Andreas Kling <kling@webkit.org> |
- |
- Remove contextStyleSheet argument from CSSValuePool::createFontFaceValue(). |
- <http://webkit.org/b/83988> |
- |
- Reviewed by Antti Koivisto. |
- |
- Remove the 'context style sheet' argument to <font face> value parsing. |
- It was only ever used to grab at the CSSValuePool back when they were per-Document. |
- |
- * css/CSSParser.h: |
- * css/CSSParser.cpp: |
- (WebCore::CSSParser::parseFontFaceValue): |
- * css/CSSValuePool.h: |
- * css/CSSValuePool.cpp: |
- (WebCore::CSSValuePool::createFontFaceValue): |
- * html/HTMLFontElement.cpp: |
- (WebCore::HTMLFontElement::collectStyleForAttribute): |
- |
-2012-04-16 Dana Jansens <danakj@chromium.org> |
- |
- [chromium] Consistent checking for clipped rects when we need the computed result enclosed within the real result |
- https://bugs.webkit.org/show_bug.cgi?id=83543 |
- |
- Reviewed by Adrienne Walker. |
- |
- It should not be possible to make a rect in layer space that is clipped |
- by the camera but for which the screen space transform gives a |
- rectilinear output. But use consistent methods for checking that the |
- result remains enclosed within the actual pixels. |
- |
- One day when clipped is true, we can find an interior axis-aligned rect |
- within the clipped result, and checking clipped explicitly makes this |
- more clear. |
- |
- Covered by existing tests. |
- |
- * platform/graphics/chromium/cc/CCOcclusionTracker.cpp: |
- (WebCore::computeOcclusionBehindLayer): |
- (WebCore::::markOccludedBehindLayer): |
- |
-2012-04-16 Erik Arvidsson <arv@chromium.org> |
- |
- [V8] Don't delete the per context data until the V8IsolatedContext is deleted |
- https://bugs.webkit.org/show_bug.cgi?id=83831 |
- |
- Reviewed by Nate Chapin. |
- |
- Test: http/tests/security/isolatedWorld/context-destroy.html |
- |
- * bindings/v8/V8IsolatedContext.cpp: |
- (WebCore::V8IsolatedContext::destroy): |
- |
-2012-04-16 Greg Billock <gbillock@google.com> |
- |
- Add V8 code generation support for MessagePortArray attributes. |
- https://bugs.webkit.org/show_bug.cgi?id=83943 |
- |
- Reviewed by Kentaro Hara. |
- |
- * bindings/scripts/CodeGeneratorV8.pm: |
- (GenerateNormalAttrGetter): |
- * bindings/scripts/IDLAttributes.txt: |
- * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp: |
- (WebDOMTestSerializedScriptValueInterface::ports): |
- * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h: |
- (WebDOMTestSerializedScriptValueInterface): |
- * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp: |
- (webkit_dom_test_serialized_script_value_interface_get_property): |
- (webkit_dom_test_serialized_script_value_interface_class_init): |
- (webkit_dom_test_serialized_script_value_interface_get_ports): |
- * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h: |
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: |
- (WebCore): |
- (WebCore::jsTestSerializedScriptValueInterfacePorts): |
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h: |
- (WebCore): |
- * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h: |
- * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm: |
- (-[DOMTestSerializedScriptValueInterface ports]): |
- * bindings/scripts/test/TestSerializedScriptValueInterface.idl: |
- * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp: |
- (WebCore::TestSerializedScriptValueInterfaceInternal::portsAttrGetter): |
- (TestSerializedScriptValueInterfaceInternal): |
- (WebCore): |
- |
-2012-04-16 Xiaomei Ji <xji@chromium.org> |
- |
- platform/graphics/skia/GlyphPageTreeNodeSkia.cpp mis-use 'continue' for 'break' |
- https://bugs.webkit.org/show_bug.cgi?id=83521 |
- |
- Reviewed by David Levin. |
- |
- No functionality change, so no new tests. |
- |
- * platform/graphics/skia/GlyphPageTreeNodeSkia.cpp: |
- (WebCore::GlyphPage::fill): |
- |
-2012-04-16 Levi Weintraub <leviw@chromium.org> |
- |
- Make borderBoxRect sub-pixel precise and add a pixel snapped version |
- https://bugs.webkit.org/show_bug.cgi?id=84063 |
- |
- Reviewed by Eric Seidel. |
- |
- In an effort to prevent misuse, we previously decided to have borderBoxRect return a |
- pixel-snapped IntRect. This is because borderBoxRect returns a rect that's positioned |
- at (0,0), and therefore won't snap to the same size as the element it's covering. |
- |
- There are a couple uses of borderBoxRect that don't pixel snap the values and require |
- sub-pixel precision. This patch adds a pixelSnappedBorderBoxRect that makes the snapping |
- explicit, and moves uses that would otherwise pixel snap the rect to this version to |
- avoid producing a rect of the incorrect size. For details about pixel snapping with |
- LayoutUnits, please see https://trac.webkit.org/wiki/LayoutUnit |
- |
- No new tests. No change in behavior. |
- |
- * html/shadow/TextControlInnerElements.cpp: |
- (WebCore::SpinButtonElement::defaultEventHandler): |
- * rendering/RenderBlock.cpp: |
- (WebCore::RenderBlock::addVisualOverflowFromTheme): |
- * rendering/RenderBox.h: |
- (WebCore::RenderBox::borderBoxRect): |
- (WebCore::RenderBox::pixelSnappedBorderBoxRect): |
- (WebCore::RenderBox::borderBoundingBox): |
- (WebCore::RenderBox::hasVisualOverflow): |
- * rendering/RenderLayer.cpp: |
- (WebCore::RenderLayer::scrollCornerRect): |
- (WebCore::RenderLayer::scrollCornerAndResizerRect): |
- (WebCore::RenderLayer::horizontalScrollbarStart): |
- (WebCore::RenderLayer::positionOverflowControls): |
- (WebCore::RenderLayer::paintResizer): |
- (WebCore::RenderLayer::hitTestOverflowControls): |
- * rendering/RenderLayerBacking.cpp: |
- (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): |
- (WebCore::RenderLayerBacking::startAnimation): |
- (WebCore::RenderLayerBacking::startTransition): |
- * rendering/RenderTable.cpp: |
- (WebCore::RenderTable::addOverflowFromChildren): |
- * rendering/RenderThemeMac.mm: |
- (WebCore::RenderThemeMac::paintSearchFieldCancelButton): |
- (WebCore::RenderThemeMac::paintSearchFieldResultsDecoration): |
- (WebCore::RenderThemeMac::paintSearchFieldResultsButton): |
- * rendering/svg/RenderSVGRoot.cpp: |
- (WebCore::RenderSVGRoot::paintReplaced): |
- (WebCore::RenderSVGRoot::computeFloatRectForRepaint): |
- |
-2012-04-16 Anders Carlsson <andersca@apple.com> |
- |
- Crash when running some editing related tests |
- https://bugs.webkit.org/show_bug.cgi?id=84091 |
- |
- Reviewed by Andreas Kling. |
- |
- Null check triggeringEvent. |
- |
- * editing/Editor.cpp: |
- (WebCore::Editor::insertTextWithoutSendingTextEvent): |
- |
-2012-04-16 Simon Fraser <simon.fraser@apple.com> |
- |
- Rename to updateZOrderListsSlowCase to rebuildZOrderLists |
- https://bugs.webkit.org/show_bug.cgi?id=84071 |
- |
- Reviewed by Antti Koivisto. |
- |
- Use a better name for updateZOrderListsSlowCase(). |
- |
- * rendering/RenderLayer.cpp: |
- (WebCore::RenderLayer::rebuildZOrderLists): |
- * rendering/RenderLayer.h: |
- (RenderLayer): |
- (WebCore::RenderLayer::updateZOrderLists): |
- |
-2012-04-16 Terry Anderson <tdanderson@chromium.org> |
- |
- [chromium] Allow WebGestureEvent to store four floating point values |
- https://bugs.webkit.org/show_bug.cgi?id=84053 |
- |
- Reviewed by Darin Fisher. |
- |
- See bug description for an explanation of the changes made. |
- |
- * platform/PlatformGestureEvent.h: |
- (WebCore::PlatformGestureEvent::PlatformGestureEvent): |
- (PlatformGestureEvent): |
- (WebCore::PlatformGestureEvent::gammaX): |
- (WebCore::PlatformGestureEvent::gammaY): |
- |
-2012-04-16 Kentaro Hara <haraken@chromium.org> |
- |
- [Refactoring][V8] Remove $indent from NativeToJSValue() |
- https://bugs.webkit.org/show_bug.cgi?id=84077 |
- |
- Reviewed by Nate Chapin. |
- |
- $indent in NativeToJSValue() in CodeGeneratorV8.pm is not used. |
- This patch removes it. |
- |
- No new tests. No change in behavior. |
- |
- * bindings/scripts/CodeGeneratorV8.pm: |
- (GenerateNormalAttrGetter): |
- (GenerateFunctionCallString): |
- (NativeToJSValue): |
- |
-2012-04-16 Luiz Agostini <luiz.agostini@palm.com> |
- |
- matchMedia() MediaQueryList not updating |
- https://bugs.webkit.org/show_bug.cgi?id=75903 |
- |
- Reviewed by Antti Koivisto. |
- |
- Test: fast/media/media-query-list-08.html |
- |
- Viewport related MediaQueryList listeners were not triggered and the value |
- of matches were not updated if the document's style selector were not |
- affected by viewport changes. |
- |
- The new method evaluateMediaQueries() is now called by FrameView instead of |
- styleSelectorChanged() if the style selector is not affected by viewport changes. |
- |
- * dom/Document.cpp: |
- (WebCore::Document::evaluateMediaQueries): |
- (WebCore): |
- (WebCore::Document::styleSelectorChanged): |
- * dom/Document.h: |
- (Document): |
- * page/FrameView.cpp: |
- (WebCore::FrameView::layout): |
- |
-2012-04-16 James Robinson <jamesr@chromium.org> |
- |
- [chromium] Delete uncalled unreserveContentsTextures function |
- https://bugs.webkit.org/show_bug.cgi?id=84005 |
- |
- Reviewed by Adrienne Walker. |
- |
- This is vestigal dead code. |
- |
- * platform/graphics/chromium/Canvas2DLayerChromium.cpp: |
- * platform/graphics/chromium/Canvas2DLayerChromium.h: |
- (Canvas2DLayerChromium): |
- * platform/graphics/chromium/LayerChromium.h: |
- * platform/graphics/chromium/cc/CCLayerImpl.h: |
- (CCLayerImpl): |
- |
-2012-04-13 Simon Fraser <simon.fraser@apple.com> |
- |
- Avoid using backing store for compositing layers that just need to clip |
- https://bugs.webkit.org/show_bug.cgi?id=40547 |
- |
- Reviewed by Dean Jackson. |
- |
- If a layer becomes composited because it needs to clip composited |
- descendants, or if it has perspective, then it doesn't actually |
- needs its own backing store; its contents can be painted by an |
- ancestor, and we can just have an empty layer that does the clipping |
- or applies the perspective transform. |
- |
- This saves backing store memory on some pages. |
- |
- Tests: compositing/backing/no-backing-for-clip-overlap.html |
- compositing/backing/no-backing-for-clip.html |
- compositing/backing/no-backing-for-perspective.html |
- |
- * rendering/RenderLayer.cpp: |
- (WebCore): |
- (WebCore::RenderLayer::enclosingCompositingLayerForRepaint): |
- (WebCore::RenderLayer::paintLayer): |
- * rendering/RenderLayer.h: |
- (RenderLayer): |
- * rendering/RenderLayerBacking.cpp: |
- (WebCore::RenderLayerBacking::RenderLayerBacking): |
- (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): |
- (WebCore::RenderLayerBacking::containsPaintedContent): |
- (WebCore::RenderLayerBacking::setContentsNeedDisplay): |
- (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect): |
- (WebCore::RenderLayerBacking::paintIntoLayer): |
- * rendering/RenderLayerBacking.h: |
- (RenderLayerBacking): |
- (WebCore::RenderLayerBacking::paintsIntoCompositedAncestor): |
- (WebCore::RenderLayerBacking::setRequiresOwnBackingStore): |
- * rendering/RenderLayerCompositor.cpp: |
- (WebCore::RenderLayerCompositor::layerWillBeRemoved): |
- (WebCore::RenderLayerCompositor::recursiveRepaintLayerRect): |
- (WebCore::RenderLayerCompositor::requiresCompositingLayer): |
- (WebCore::RenderLayerCompositor::requiresOwnBackingStore): |
- (WebCore): |
- * rendering/RenderLayerCompositor.h: |
- * rendering/RenderObject.cpp: |
- (WebCore::RenderObject::containerForRepaint): |
- * rendering/RenderTreeAsText.cpp: |
- (WebCore::write): |
- * rendering/RenderView.cpp: |
- (WebCore::RenderView::paintBoxDecorations): |
- |
-2012-04-16 Brady Eidson <beidson@apple.com> |
- |
- <rdar://problem/11249336> and https://bugs.webkit.org/show_bug.cgi?id=84050 |
- WebKit2 back/forward items in the page cache are never removed when the page is closed |
- |
- Reviewed by Jessie Berlin and unofficially reviewed by Jon Lee. |
- |
- * WebCore.exp.in: Export PageCache::remove() |
- |
-2012-04-16 Philippe Normand <pnormand@igalia.com> |
- |
- Unreviewed, GTK build fix after r114269. |
- |
- * GNUmakefile.list.am: |
- |
-2012-04-16 Andrey Kosyakov <caseq@chromium.org> |
- |
- Web Inspector: timeline. Range selection works incorrect with right click |
- https://bugs.webkit.org/show_bug.cgi?id=83870 |
- |
- Reviewed by Pavel Feldman. |
- |
- - only start window dragging upon mousedown with left button (right will cause a context menu and we won't see mouseup) |
- |
- * inspector/front-end/TimelineOverviewPane.js: |
- (WebInspector.TimelineOverviewWindow.prototype._dragWindow): |
- |
-2012-04-16 Andrey Kosyakov <caseq@chromium.org> |
- |
- Web Inspector: touch pad is pain to use in lower pane of Timeline panel due two two-axis scrolling |
- https://bugs.webkit.org/show_bug.cgi?id=83946 |
- |
- Reviewed by Pavel Feldman. |
- |
- Remove delegation of mousewheel events from lower timeline pane to the timeline overview. This disables |
- support for moving overview window with horizontal swype over lower timeline pane, thus removing |
- an irritating situation when we try to both change overview window and scroll lower timeline pane |
- upon a single touchpad gesture. Those willing to move timeline window now would need to position |
- mouse over overview. |
- |
- * inspector/front-end/TimelineOverviewPane.js: |
- (WebInspector.TimelineOverviewWindow.prototype._onMouseWheel): |
- (WebInspector.TimelineOverviewWindow.prototype._zoom): |
- * inspector/front-end/TimelinePanel.js: |
- (WebInspector.TimelinePanel): |
- |
-2012-04-16 Yury Semikhatsky <yurys@chromium.org> |
- |
- Web Inspector: rename heap profiler files and classes DetailedHeapshot* ->HeapSnapshot* |
- https://bugs.webkit.org/show_bug.cgi?id=84038 |
- |
- A bunch of renames "detailed heapshot" -> "heap snapshot". |
- |
- Reviewed by Pavel Feldman. |
- |
- Tests: inspector/profiler/heap-snapshot-comparison-expansion-preserved-when-sorting.html |
- inspector/profiler/heap-snapshot-comparison-show-all.html |
- inspector/profiler/heap-snapshot-comparison-show-next.html |
- inspector/profiler/heap-snapshot-comparison-shown-node-count-preserved-when-sorting.html |
- inspector/profiler/heap-snapshot-comparison-sorting.html |
- inspector/profiler/heap-snapshot-containment-expansion-preserved-when-sorting.html |
- inspector/profiler/heap-snapshot-containment-show-all.html |
- inspector/profiler/heap-snapshot-containment-show-next.html |
- inspector/profiler/heap-snapshot-containment-shown-node-count-preserved-when-sorting.html |
- inspector/profiler/heap-snapshot-containment-sorting.html |
- inspector/profiler/heap-snapshot-dominators-expansion-preserved-when-sorting.html |
- inspector/profiler/heap-snapshot-dominators-show-all.html |
- inspector/profiler/heap-snapshot-dominators-show-next.html |
- inspector/profiler/heap-snapshot-dominators-shown-node-count-preserved-when-sorting.html |
- inspector/profiler/heap-snapshot-dominators-sorting.html |
- inspector/profiler/heap-snapshot-summary-expansion-preserved-when-sorting.html |
- inspector/profiler/heap-snapshot-summary-show-all.html |
- inspector/profiler/heap-snapshot-summary-show-next.html |
- inspector/profiler/heap-snapshot-summary-shown-node-count-preserved-when-sorting.html |
- inspector/profiler/heap-snapshot-summary-sorting.html |
- |
- * WebCore.gypi: |
- * WebCore.vcproj/WebCore.vcproj: |
- * inspector/compile-front-end.py: |
- * inspector/front-end/HeapSnapshotGridNodes.js: Renamed from Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js. |
- (WebInspector.HeapSnapshotGridNode): |
- (WebInspector.HeapSnapshotGridNode.prototype.ensureContentCreated): |
- (WebInspector.HeapSnapshotGridNode.prototype.createCell): |
- (WebInspector.HeapSnapshotGridNode.prototype.dispose): |
- (WebInspector.HeapSnapshotGridNode.prototype.hasHoverMessage.false.queryObjectContent): |
- (WebInspector.HeapSnapshotGridNode.prototype._toPercentString): |
- (WebInspector.HeapSnapshotGridNode.prototype._createValueCell): |
- (WebInspector.HeapSnapshotGridNode.prototype._populate.sorted): |
- (WebInspector.HeapSnapshotGridNode.prototype._populate): |
- (WebInspector.HeapSnapshotGridNode.prototype.populateChildren.callSerialize): |
- (WebInspector.HeapSnapshotGridNode.prototype.populateChildren.childrenRetrieved.notify): |
- (WebInspector.HeapSnapshotGridNode.prototype.populateChildren.childrenRetrieved): |
- (WebInspector.HeapSnapshotGridNode.prototype.populateChildren): |
- (WebInspector.HeapSnapshotGridNode.prototype._saveChildren): |
- (WebInspector.HeapSnapshotGridNode.prototype.sort.afterSort.afterPopulate): |
- (WebInspector.HeapSnapshotGridNode.prototype.sort.afterSort): |
- (WebInspector.HeapSnapshotGridNode.prototype.sort): |
- (WebInspector.HeapSnapshotLazyGridNode): |
- (WebInspector.HeapSnapshotLazyGridNode.prototype.ensureContentCreated): |
- (WebInspector.HeapSnapshotLazyGridNode.prototype.createCells): |
- (WebInspector.HeapSnapshotGenericObjectNode): |
- (WebInspector.HeapSnapshotGenericObjectNode.prototype.createCell): |
- (WebInspector.HeapSnapshotGenericObjectNode.prototype._createObjectCell): |
- (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data): |
- (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent.else.formatResult): |
- (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent): |
- (WebInspector.HeapSnapshotGenericObjectNode.prototype.get _retainedSizePercent): |
- (WebInspector.HeapSnapshotGenericObjectNode.prototype.get _shallowSizePercent): |
- (WebInspector.HeapSnapshotGenericObjectNode.prototype.updateHasChildren): |
- (WebInspector.HeapSnapshotGenericObjectNode.prototype.isWindow): |
- (WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL): |
- (WebInspector.HeapSnapshotObjectNode): |
- (WebInspector.HeapSnapshotObjectNode.prototype.updateHasChildren): |
- (WebInspector.HeapSnapshotObjectNode.prototype._createChildNode): |
- (WebInspector.HeapSnapshotObjectNode.prototype._childHashForEntity): |
- (WebInspector.HeapSnapshotObjectNode.prototype._childHashForNode): |
- (WebInspector.HeapSnapshotObjectNode.prototype.comparator): |
- (WebInspector.HeapSnapshotObjectNode.prototype._emptyData): |
- (WebInspector.HeapSnapshotObjectNode.prototype._enhanceData): |
- (WebInspector.HeapSnapshotObjectNode.prototype._prefixObjectCell): |
- (WebInspector.HeapSnapshotInstanceNode): |
- (WebInspector.HeapSnapshotInstanceNode.prototype._createChildNode): |
- (WebInspector.HeapSnapshotInstanceNode.prototype._childHashForEntity): |
- (WebInspector.HeapSnapshotInstanceNode.prototype._childHashForNode): |
- (WebInspector.HeapSnapshotInstanceNode.prototype.comparator): |
- (WebInspector.HeapSnapshotInstanceNode.prototype._emptyData): |
- (WebInspector.HeapSnapshotInstanceNode.prototype._enhanceData): |
- (WebInspector.HeapSnapshotInstanceNode.prototype.get isDeletedNode): |
- (WebInspector.HeapSnapshotConstructorNode): |
- (WebInspector.HeapSnapshotConstructorNode.prototype.createCell): |
- (WebInspector.HeapSnapshotConstructorNode.prototype._createChildNode): |
- (WebInspector.HeapSnapshotConstructorNode.prototype._createNodesProvider): |
- (WebInspector.HeapSnapshotConstructorNode.prototype.comparator): |
- (WebInspector.HeapSnapshotConstructorNode.prototype._childHashForEntity): |
- (WebInspector.HeapSnapshotConstructorNode.prototype._childHashForNode): |
- (WebInspector.HeapSnapshotConstructorNode.prototype.get data): |
- (WebInspector.HeapSnapshotConstructorNode.prototype.get _countPercent): |
- (WebInspector.HeapSnapshotConstructorNode.prototype.get _retainedSizePercent): |
- (WebInspector.HeapSnapshotConstructorNode.prototype.get _shallowSizePercent): |
- (WebInspector.HeapSnapshotIteratorsTuple): |
- (WebInspector.HeapSnapshotIteratorsTuple.prototype.dispose): |
- (WebInspector.HeapSnapshotIteratorsTuple.prototype.sortAndRewind): |
- (WebInspector.HeapSnapshotDiffNode): |
- (WebInspector.HeapSnapshotDiffNode.prototype.calculateDiff.diffCalculated): |
- (WebInspector.HeapSnapshotDiffNode.prototype.calculateDiff): |
- (WebInspector.HeapSnapshotDiffNode.prototype.calculateDiff.baseIdsReceived): |
- (WebInspector.HeapSnapshotDiffNode.prototype.calculateDiff.idsReceived): |
- (WebInspector.HeapSnapshotDiffNode.prototype._createChildNode): |
- (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider.createProvider): |
- (WebInspector.HeapSnapshotDiffNode.prototype._createNodesProvider): |
- (WebInspector.HeapSnapshotDiffNode.prototype._childHashForEntity): |
- (WebInspector.HeapSnapshotDiffNode.prototype._childHashForNode): |
- (WebInspector.HeapSnapshotDiffNode.prototype.comparator): |
- (WebInspector.HeapSnapshotDiffNode.prototype.populateChildren.firstProviderPopulated): |
- (WebInspector.HeapSnapshotDiffNode.prototype.populateChildren.else.firstProviderPopulated): |
- (WebInspector.HeapSnapshotDiffNode.prototype.populateChildren): |
- (WebInspector.HeapSnapshotDiffNode.prototype._signForDelta): |
- (WebInspector.HeapSnapshotDiffNode.prototype.get data): |
- (WebInspector.HeapSnapshotDominatorObjectNode): |
- (WebInspector.HeapSnapshotDominatorObjectNode.prototype._createChildNode): |
- (WebInspector.HeapSnapshotDominatorObjectNode.prototype._createProvider): |
- (WebInspector.HeapSnapshotDominatorObjectNode.prototype._childHashForEntity): |
- (WebInspector.HeapSnapshotDominatorObjectNode.prototype._childHashForNode): |
- (WebInspector.HeapSnapshotDominatorObjectNode.prototype.comparator): |
- (WebInspector.HeapSnapshotDominatorObjectNode.prototype._emptyData): |
- (MixInSnapshotNodeFunctions): |
- * inspector/front-end/HeapSnapshotView.js: Renamed from Source/WebCore/inspector/front-end/DetailedHeapshotView.js. |
- (WebInspector.HeapSnapshotSortableDataGrid): |
- (WebInspector.HeapSnapshotSortableDataGrid.prototype.dispose): |
- (WebInspector.HeapSnapshotSortableDataGrid.prototype.resetSortingCache): |
- (WebInspector.HeapSnapshotSortableDataGrid.prototype.sortingChanged.SortByTwoFields): |
- (WebInspector.HeapSnapshotSortableDataGrid.prototype.sortingChanged): |
- (WebInspector.HeapSnapshotSortableDataGrid.prototype.updateVisibleNodes): |
- (WebInspector.HeapSnapshotSortableDataGrid.prototype.onResize): |
- (WebInspector.HeapSnapshotSortableDataGrid.prototype._onScroll): |
- (WebInspector.HeapSnapshotSortableDataGrid.prototype._performSorting): |
- (WebInspector.HeapSnapshotSortableDataGrid.prototype.recursiveSortingEnter): |
- (WebInspector.HeapSnapshotSortableDataGrid.prototype.recursiveSortingLeave): |
- (WebInspector.HeapSnapshotContainmentDataGrid): |
- (WebInspector.HeapSnapshotContainmentDataGrid.prototype._defaultPopulateCount.100.expandRoute.nextStep.else.afterExpand): |
- (WebInspector.HeapSnapshotContainmentDataGrid.prototype._defaultPopulateCount.100.expandRoute): |
- (WebInspector.HeapSnapshotContainmentDataGrid.prototype.setDataSource): |
- (WebInspector.HeapSnapshotContainmentDataGrid.prototype.sortingChanged): |
- (WebInspector.HeapSnapshotRetainmentDataGrid): |
- (WebInspector.HeapSnapshotRetainmentDataGrid.prototype._sortFields): |
- (WebInspector.HeapSnapshotRetainmentDataGrid.prototype.reset): |
- (WebInspector.HeapSnapshotConstructorsDataGrid): |
- (WebInspector.HeapSnapshotConstructorsDataGrid.prototype._defaultPopulateCount.100._sortFields): |
- (WebInspector.HeapSnapshotConstructorsDataGrid.prototype.setDataSource): |
- (WebInspector.HeapSnapshotConstructorsDataGrid.prototype.populateChildren): |
- (WebInspector.HeapSnapshotConstructorsDataGrid.prototype._filterSelectIndexChanged): |
- (WebInspector.HeapSnapshotDiffDataGrid): |
- (WebInspector.HeapSnapshotDiffDataGrid.prototype._defaultPopulateCount.50._sortFields): |
- (WebInspector.HeapSnapshotDiffDataGrid.prototype.setDataSource): |
- (WebInspector.HeapSnapshotDiffDataGrid.prototype._baseProfileIndexChanged): |
- (WebInspector.HeapSnapshotDiffDataGrid.prototype.setBaseDataSource): |
- (WebInspector.HeapSnapshotDiffDataGrid.prototype.populateChildren.baseAggregatesReceived.aggregatesReceived.addNodeIfNonZeroDiff): |
- (WebInspector.HeapSnapshotDiffDataGrid.prototype.populateChildren.baseAggregatesReceived.aggregatesReceived): |
- (WebInspector.HeapSnapshotDiffDataGrid.prototype.populateChildren): |
- (WebInspector.HeapSnapshotDominatorsDataGrid): |
- (WebInspector.HeapSnapshotDominatorsDataGrid.prototype._defaultPopulateCount.25.setDataSource): |
- (WebInspector.HeapSnapshotDominatorsDataGrid.prototype.sortingChanged): |
- (WebInspector.HeapSnapshotView.profileCallback): |
- (WebInspector.HeapSnapshotView): |
- (WebInspector.HeapSnapshotView.prototype.dispose): |
- (WebInspector.HeapSnapshotView.prototype.get statusBarItems): |
- (WebInspector.HeapSnapshotView.prototype.get profile): |
- (WebInspector.HeapSnapshotView.prototype.get profileWrapper): |
- (WebInspector.HeapSnapshotView.prototype.get baseProfile): |
- (WebInspector.HeapSnapshotView.prototype.get baseProfileWrapper): |
- (WebInspector.HeapSnapshotView.prototype.wasShown.profileCallback1): |
- (WebInspector.HeapSnapshotView.prototype.wasShown.profileCallback2): |
- (WebInspector.HeapSnapshotView.prototype.wasShown): |
- (WebInspector.HeapSnapshotView.prototype.willHide): |
- (WebInspector.HeapSnapshotView.prototype.onResize): |
- (WebInspector.HeapSnapshotView.prototype.searchCanceled): |
- (WebInspector.HeapSnapshotView.prototype.performSearch.matchesByName): |
- (WebInspector.HeapSnapshotView.prototype.performSearch.matchesById): |
- (WebInspector.HeapSnapshotView.prototype.performSearch.matchesQuery): |
- (WebInspector.HeapSnapshotView.prototype.performSearch): |
- (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult): |
- (WebInspector.HeapSnapshotView.prototype.jumpToLastSearchResult): |
- (WebInspector.HeapSnapshotView.prototype.jumpToNextSearchResult): |
- (WebInspector.HeapSnapshotView.prototype.jumpToPreviousSearchResult): |
- (WebInspector.HeapSnapshotView.prototype.showingFirstSearchResult): |
- (WebInspector.HeapSnapshotView.prototype.showingLastSearchResult): |
- (WebInspector.HeapSnapshotView.prototype._jumpToSearchResult): |
- (WebInspector.HeapSnapshotView.prototype.refreshVisibleData): |
- (WebInspector.HeapSnapshotView.prototype._changeBase): |
- (WebInspector.HeapSnapshotView.prototype._changeFilter): |
- (WebInspector.HeapSnapshotView.prototype._createToolbarWithClassNameFilter): |
- (WebInspector.HeapSnapshotView.prototype._changeNameFilter): |
- (WebInspector.HeapSnapshotView.prototype._profiles): |
- (WebInspector.HeapSnapshotView.prototype._loadProfile): |
- (WebInspector.HeapSnapshotView.prototype._loadProfileByIndex): |
- (WebInspector.HeapSnapshotView.prototype.isDetailedSnapshot): |
- (WebInspector.HeapSnapshotView.prototype.processLoadedSnapshot): |
- (WebInspector.HeapSnapshotView.prototype._selectionChanged): |
- (WebInspector.HeapSnapshotView.prototype._inspectedObjectChanged): |
- (WebInspector.HeapSnapshotView.prototype._setRetainmentDataGridSource): |
- (WebInspector.HeapSnapshotView.prototype._mouseDownInContentsGrid): |
- (WebInspector.HeapSnapshotView.prototype.changeView.sortingComplete): |
- (WebInspector.HeapSnapshotView.prototype.changeView): |
- (WebInspector.HeapSnapshotView.prototype._changeView): |
- (WebInspector.HeapSnapshotView.prototype._getHoverAnchor): |
- (WebInspector.HeapSnapshotView.prototype._resolveObjectForPopover): |
- (WebInspector.HeapSnapshotView.prototype._helpClicked.appendHelp): |
- (WebInspector.HeapSnapshotView.prototype._helpClicked): |
- (WebInspector.HeapSnapshotView.prototype._startRetainersHeaderDragging): |
- (WebInspector.HeapSnapshotView.prototype._retainersHeaderDragging): |
- (WebInspector.HeapSnapshotView.prototype._endRetainersHeaderDragging): |
- (WebInspector.HeapSnapshotView.prototype._updateRetainmentViewHeight): |
- (WebInspector.HeapSnapshotView.prototype._updateBaseOptions): |
- (WebInspector.HeapSnapshotView.prototype._updateFilterOptions): |
- (WebInspector.HeapSnapshotProfileType): |
- (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip): |
- (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked): |
- (WebInspector.HeapSnapshotProfileType.prototype.get treeItemTitle): |
- (WebInspector.HeapSnapshotProfileType.prototype.get description): |
- (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile): |
- (WebInspector.HeapSnapshotProfileType.prototype.createView): |
- * inspector/front-end/ProfilesPanel.js: |
- (WebInspector.ProfilesPanel.prototype._addHeapSnapshotChunk): |
- (WebInspector.ProfilesPanel.prototype.takeHeapSnapshot): |
- (WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress): |
- * inspector/front-end/WebKit.qrc: |
- * inspector/front-end/heapProfiler.css: |
- (.heap-snapshot-view): |
- (.heap-snapshot-view.visible): |
- (.heap-snapshot-view .view): |
- (.heap-snapshot-view .view.visible): |
- (.heap-snapshot-view .data-grid tr:empty): |
- (.heap-snapshot-view .data-grid): |
- (.heap-snapshot-view .data-grid td.count-column): |
- (.heap-snapshot-view .data-grid td.addedCount-column): |
- (.heap-snapshot-view .data-grid td.removedCount-column): |
- (.heap-snapshot-view .data-grid td.countDelta-column): |
- (.heap-snapshot-view .data-grid td.addedSize-column): |
- (.heap-snapshot-view .data-grid td.removedSize-column): |
- (.heap-snapshot-view .data-grid td.sizeDelta-column): |
- (.heap-snapshot-view .data-grid td.shallowSize-column): |
- (.heap-snapshot-view .data-grid td.retainedSize-column): |
- (.heap-snapshot-view .data-grid td.distanceToWindow-column): |
- (.heap-snapshot-view .data-grid span.percent-column): |
- (.heap-snapshot-view .console-formatted-object, .console-formatted-node): |
- (.heap-snapshot-view .console-formatted-string): |
- (.heap-snapshot-view .console-formatted-id): |
- (.heap-snapshot-view .data-grid tr.selected *): |
- (.heap-snapshot-view .data-grid:focus tr.selected *): |
- (.heap-snapshot-view .delimiter): |
- (.heap-snapshot-view .views-container): |
- (.heap-snapshot-view .views-container .view): |
- (.heap-snapshot-view .retaining-paths-view): |
- (.heap-snapshot-view .class-view-grid): |
- (.heap-snapshot-view .class-view-toolbar): |
- (.heap-snapshot-view .class-view-toolbar input.class-name-filter): |
- (.heap-snapshot-view .retainers-view-header): |
- (.heap-snapshot-view .retainers-view-header .title > span): |
- (.heap-snapshot-view tr:not(.selected) td.object-column span.highlight): |
- (.heap-snapshot-view td.object-column span.grayed): |
- (.heap-snapshot-help-status-bar-item .glyph): |
- (table.heap-snapshot-help): |
- * inspector/front-end/inspector.html: |
- |
-2012-04-16 Andrey Kosyakov <caseq@chromium.org> |
- |
- Web Inspector: touch pad is pain to use in lower pane of Timeline panel due two two-axis scrolling |
- https://bugs.webkit.org/show_bug.cgi?id=83946 |
- |
- Reviewed by Pavel Feldman. |
- |
- Remove delegation of mousewheel events from lower timeline pane to the timeline overview. This disables |
- support for moving overview window with horizontal swype over lower timeline pane, thus removing |
- an irritating situation when we try to both change overview window and scroll lower timeline pane |
- upon a single touchpad gesture. Those willing to move timeline window now would need to position |
- mouse over overview. |
- |
- * inspector/front-end/TimelineOverviewPane.js: |
- (WebInspector.TimelineOverviewWindow.prototype._onMouseWheel): |
- (WebInspector.TimelineOverviewWindow.prototype._zoom): |
- * inspector/front-end/TimelinePanel.js: |
- (WebInspector.TimelinePanel): |
- |
-2012-04-11 Philippe Normand <pnormand@igalia.com> |
- |
- [GStreamer] HRTFDatabaseLoader conflicts with AudioFileReader |
- https://bugs.webkit.org/show_bug.cgi?id=78095 |
- |
- Reviewed by Martin Robinson. |
- |
- Moved the GStreamer initialization logic to a new |
- GStreamerUtilities module, used by the MediaPlayer and the |
- AudioContext. I also removed the static variables as |
- gst_init_check already handles cases where it's called multiple |
- times. |
- |
- * GNUmakefile.list.am: |
- * Modules/webaudio/AudioContext.cpp: |
- (WebCore::AudioContext::constructCommon): |
- * platform/audio/gstreamer/AudioDestinationGStreamer.cpp: |
- (WebCore::AudioDestinationGStreamer::AudioDestinationGStreamer): |
- * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp: |
- (WebCore::AudioFileReader::createBus): |
- * platform/graphics/gstreamer/GRefPtrGStreamer.cpp: |
- (WTF::adoptGRef): |
- (WTF): |
- (WTF::GstElementFactory): |
- * platform/graphics/gstreamer/GRefPtrGStreamer.h: |
- (WTF): |
- * platform/graphics/gstreamer/GStreamerUtilities.cpp: Added. |
- (WebCore): |
- (WebCore::initializeGStreamer): |
- * platform/graphics/gstreamer/GStreamerUtilities.h: Added. |
- (WebCore): |
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: |
- (WebCore::doGstInit): |
- |
-2012-04-16 ChangSeok Oh <shivamidow@gmail.com> |
- |
- Update GraphicsContext3DOpenGLES.cpp and fix some issues to build with GLES. |
- https://bugs.webkit.org/show_bug.cgi?id=83982 |
- |
- Reviewed by Martin Robinson. |
- |
- GL_BGRA is not defined in GLESv2, so it causes build-break at readRenderingResults. |
- To resolve this, a helper function readPixelsAndConvertToBGRAIfNecessary is added |
- in GC3DOpenGL.cpp & GC3DOpenGLES.cpp and it's used in GC3DOpenGLCommon.cpp. |
- And some other issues to build with GLES are gone with this patch. |
- |
- No new tests, since no new feature. |
- |
- * platform/graphics/GraphicsContext3D.h: |
- * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: |
- (WebCore::GraphicsContext3D::readPixelsAndConvertToBGRAIfNecessary): |
- (WebCore): |
- * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: |
- (WebCore::GraphicsContext3D::readRenderingResults): |
- * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp: |
- (WebCore::GraphicsContext3D::readPixelsAndConvertToBGRAIfNecessary): |
- (WebCore): |
- (WebCore::GraphicsContext3D::reshapeFBOs): |
- (WebCore::GraphicsContext3D::resolveMultisamplingIfNecessary): |
- |
-2012-04-16 Xiaomei Ji <xji@chromium.org> |
- |
- [chromium] wrong justification for arabic/persian page in cr-win. |
- https://bugs.webkit.org/show_bug.cgi?id=83227 |
- |
- Reviewed by Kent Tamura. |
- |
- Disable kashida justification if using Skia to draw. |
- |
- Test: fast/text/international/arabic-justify.html |
- |
- * platform/graphics/chromium/UniscribeHelper.cpp: |
- (WebCore::UniscribeHelper::justify): |
- |
-2012-04-16 Jia Pu <jpu@apple.com> |
- |
- Build fix. |
- |
- Change set 114220 broke OS X internal build. Change set 114231 attempted to fix it, but isn't entirely |
- correct. This patch amends change set 114231. |
- |
- * WebCore.exp.in: |
- * editing/DictationAlternative.cpp: |
- (WebCore::DictationAlternative::DictationAlternative): |
- * editing/DictationAlternative.h: |
- (DictationAlternative): |
- |
-2012-04-16 Antti Koivisto <antti@apple.com> |
- |
- REGRESSION (r104445): Style is not recomputed on serenaandlily.com |
- https://bugs.webkit.org/show_bug.cgi?id=83663 |
- |
- Reviewed by Andreas Kling. |
- |
- CSS class and id selectors are case insensitive in non-strict modes. The code |
- that invalidated the scope elements used getElementByID() which is case |
- sensitive in all modes. As a result we would fail to invalidate elements |
- that would match a style rule but used different case in id. |
- |
- The new code invalidates by crawling the DOM tree. This often (when there are classes) |
- actually faster than the existing code as we can now handle everything in a single pass. |
- Each class scope required a crawl with the old code. |
- |
- The code uses the same functions as the selector matching code to get the same behavior. |
- |
- The maximum class limit is lifted as number of classes does not affect complexity anymore. |
- |
- Test: fast/css/id-or-class-before-stylesheet-strict.html |
- |
- * css/SelectorChecker.h: |
- (WebCore::SelectorChecker::elementMatchesSelectorScopes): |
- (WebCore): |
- * dom/Document.cpp: |
- (WebCore::Document::testAddedStylesheetRequiresStyleRecalc): |
- (WebCore): |
- |
-2012-04-16 Uday Kiran <udaykiran@motorola.com> |
- |
- CSS3 Selectors failures on css3test.com |
- https://bugs.webkit.org/show_bug.cgi?id=83885 |
- |
- Reviewed by Zoltan Herczeg. |
- |
- Parsing fix for CSS3 selectors :nth-child(), :nth-last-child() :nth-of-type() :nth-last-of-type() |
- with values -n-b and n-b as they are of valid form an+b where a and b are integers. |
- http://www.w3.org/TR/selectors/#structural-pseudos |
- |
- Descriptors of form n-b or -n-b, where b is number, are valid CSS identifiers. |
- However, in NthChildMode we need to check whether this identifier is a valid nth child descriptor. |
- The original code only checked this if the string was n- or -n- but this is not enough. |
- We need to check everything which starts with an n- or -n- prefix. |
- |
- Test: css3/parsing-css3-nthchild.html |
- |
- * css/CSSParser.cpp: |
- (WebCore::CSSParser::lex): |
- |
-2012-04-16 Eric Carlson <eric.carlson@apple.com> |
- |
- ASSERT in notifyChildInserted when HTMLMediaElement is removed from tree |
- https://bugs.webkit.org/show_bug.cgi?id=83949 |
- |
- Reviewed by Antti Koivisto. |
- |
- No new tests. I was not able to create a reproducible test case, but I have been unable |
- to reproduce the ASSERT that occassionally fired in existing tests since I have been |
- living on these changes. |
- |
- * html/HTMLMediaElement.cpp: |
- (WebCore::HTMLMediaElement::insertedIntoDocument): Call configureMediaControls. |
- (WebCore::HTMLMediaElement::removedFromDocument): Ditto. |
- (WebCore::HTMLMediaElement::configureMediaControls): Don't show controls when the |
- media element is not in a Document. |
- |
-2012-04-16 Eric Carlson <eric.carlson@apple.com> |
- |
- Layout Test media/track/track-delete-during-setup.html is hitting an ASSERT_NOT_REACHED |
- https://bugs.webkit.org/show_bug.cgi?id=82269 |
- |
- Reviewed by Antti Koivisto. |
- |
- No new tests, already tested by media/track/track-delete-during-setup.html. |
- |
- * html/HTMLTrackElement.cpp: |
- (WebCore::HTMLTrackElement::insertedIntoDocument): Don't notify the media element until/unless |
- the track element is inserted into the document. |
- * html/HTMLTrackElement.h: |
- |
-2012-04-16 Yael Aharon <yael.aharon@nokia.com> |
- |
- [Qt][WK2] Fixed elements position is wrong after zooming. |
- https://bugs.webkit.org/show_bug.cgi?id=83981 |
- |
- Reviewed by Kenneth Rohde Christiansen. |
- |
- When setFixedVisibleContentRect is called we mark all fixed elements in the frame for layout. |
- In order to find these elements, RenderView maintains a list of fixed elements. |
- They are added and removed at the same time that they are added and removed from their parent RenderBlock. |
- The idea is taken from the iOS5.1 branch, at opensource.apple.com. |
- Added a manual test that allows removing and adding fixed elements at will. |
- |
- * page/FrameView.cpp: |
- (WebCore::FrameView::setFixedVisibleContentRect): |
- * rendering/RenderBlock.cpp: |
- (WebCore::RenderBlock::insertPositionedObject): |
- (WebCore::RenderBlock::removePositionedObject): |
- * rendering/RenderView.cpp: |
- (WebCore::RenderView::setFixedPositionedObjectsNeedLayout): |
- (WebCore): |
- (WebCore::RenderView::insertFixedPositionedObject): |
- (WebCore::RenderView::removeFixedPositionedObject): |
- * rendering/RenderView.h: |
- (RenderView): |
- |
-2012-04-13 Pavel Feldman <pfeldman@chromium.org> |
- |
- Web Inspector: extract ContentProvider into its own file, make NetworkRequest, Resoruce and others implement it. |
- https://bugs.webkit.org/show_bug.cgi?id=83922 |
- |
- Reviewed by Yury Semikhatsky. |
- |
- We have two different types of requestContent methods: one on the source mapping level and one on the resource level. |
- There are also adapters between the two. I'm aligning it all to a single requestContent method declared in ContentProvider. |
- |
- * WebCore.gypi: |
- * WebCore.vcproj/WebCore.vcproj: |
- * inspector/compile-front-end.py: |
- * inspector/front-end/BreakpointsSidebarPane.js: |
- (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.addBreakpoint.didRequestContent): |
- (WebInspector.JavaScriptBreakpointsSidebarPane.prototype.addBreakpoint): |
- * inspector/front-end/ContentProvider.js: Added. |
- (WebInspector.ContentProvider): |
- (WebInspector.ContentProvider.prototype.contentURL): |
- (WebInspector.ContentProvider.prototype.requestContent): |
- (WebInspector.ContentProvider.prototype.searchInContent): |
- (WebInspector.ContentProvider.SearchMatch): |
- * inspector/front-end/ContentProviders.js: |
- (WebInspector.ScriptContentProvider.prototype.contentURL): |
- (WebInspector.ScriptContentProvider.prototype.requestContent): |
- (WebInspector.ConcatenatedScriptsContentProvider.prototype.contentURL): |
- (WebInspector.ConcatenatedScriptsContentProvider.prototype.requestContent): |
- (WebInspector.CompilerSourceMappingContentProvider.prototype.contentURL): |
- (WebInspector.CompilerSourceMappingContentProvider.prototype.requestContent): |
- (WebInspector.StaticContentProvider.prototype.contentURL): |
- (WebInspector.StaticContentProvider.prototype.requestContent): |
- * inspector/front-end/DebuggerPresentationModel.js: |
- * inspector/front-end/ExtensionServer.js: |
- (WebInspector.ExtensionServer.prototype._getResourceContent): |
- * inspector/front-end/JavaScriptSourceFrame.js: |
- (WebInspector.JavaScriptSourceFrame.prototype.requestContent): |
- * inspector/front-end/NetworkItemView.js: |
- (WebInspector.RequestContentView.prototype._ensureInnerViewShown.callback): |
- (WebInspector.RequestContentView.prototype._ensureInnerViewShown): |
- * inspector/front-end/NetworkRequest.js: |
- (WebInspector.NetworkRequest.prototype.contentURL): |
- (WebInspector.NetworkRequest.prototype.requestContent): |
- (WebInspector.NetworkRequest.prototype.searchInContent): |
- (WebInspector.NetworkRequest.prototype.populateImageSource): |
- (WebInspector.NetworkRequest.prototype._innerRequestContent.onResourceContent): |
- (WebInspector.NetworkRequest.prototype._innerRequestContent): |
- * inspector/front-end/RawSourceCode.js: |
- (WebInspector.RawSourceCode.prototype._createContentProvider): |
- (WebInspector.RawSourceCode.prototype._createSourceMapping.didRequestContent): |
- (WebInspector.RawSourceCode.prototype._createSourceMapping): |
- * inspector/front-end/Resource.js: |
- (WebInspector.Resource.prototype.contentURL): |
- (WebInspector.Resource.prototype.requestContent): |
- (WebInspector.Resource.prototype._innerRequestContent.callback): |
- (WebInspector.Resource.prototype._innerRequestContent): |
- (WebInspector.ResourceRevision.prototype.contentURL): |
- (WebInspector.ResourceRevision.prototype.requestContent.callbackWrapper): |
- (WebInspector.ResourceRevision.prototype.requestContent): |
- (WebInspector.ResourceRevision.prototype.searchInContent): |
- * inspector/front-end/ResourceView.js: |
- (WebInspector.ResourceSourceFrame.prototype.requestContent): |
- (WebInspector.ResourceSourceFrame.prototype._contentChanged): |
- (WebInspector.ResourceRevisionSourceFrame.prototype.requestContent): |
- * inspector/front-end/ScriptFormatter.js: |
- * inspector/front-end/ScriptsPanel.js: |
- (WebInspector.ScriptsPanel.prototype.requestVisibleScriptOutline): |
- * inspector/front-end/SourceFrame.js: |
- (WebInspector.SourceFrame.prototype.setContent): |
- * inspector/front-end/UISourceCode.js: |
- (WebInspector.UISourceCode): |
- (WebInspector.UISourceCode.prototype.requestContent): |
- (WebInspector.UISourceCode.prototype._didRequestContent): |
- * inspector/front-end/WebKit.qrc: |
- * inspector/front-end/inspector.html: |
- |
-2012-04-16 Jason Liu <jason.liu@torchmobile.com.cn> |
- |
- [BlackBerry] Missing readyState 2 when a XMLHttpRequest calls xmlhttp.open("HEAD","notExist.html",true). |
- https://bugs.webkit.org/show_bug.cgi?id=83866 |
- |
- Reviewed by George Staikos. |
- |
- We receive 404 for a XMLHttpRequest which calls open("HEAD", "notExist.html", true). |
- There are no data received because its method is HEAD. |
- This case shouldn't be treated as a failure. |
- |
- Test: http/tests/xmlhttprequest/xmlhttprequest-check-head-readystate-for-404.html |
- |
- * platform/network/blackberry/NetworkJob.cpp: |
- (WebCore::NetworkJob::handleNotifyClose): |
- |
-2012-04-16 Jon Lee <jonlee@apple.com> |
- |
- Build fix. |
- |
- * WebCore.exp.in: |
- * editing/DictationAlternative.cpp: |
- (WebCore::DictationAlternative::DictationAlternative): |
- * editing/DictationAlternative.h: |
- (DictationAlternative): |
- |
-2012-04-16 George Staikos <staikos@webkit.org> |
- |
- Fix signed/unsigned mismatch warning for BlackBerry debug builds. |
- https://bugs.webkit.org/show_bug.cgi?id=80790 |
- |
- Reviewed by Rob Buis. |
- |
- * platform/blackberry/CookieMap.cpp: |
- (WebCore::CookieMap::removeCookieAtIndex): |
- |
-2012-04-15 Kent Tamura <tkent@chromium.org> |
- |
- WebCore::weekDayShortLabels() for ICU always returns the fallback labels |
- https://bugs.webkit.org/show_bug.cgi?id=83991 |
- |
- Reviewed by Hajime Morita. |
- |
- We need to specfiy 1-based index to udat_getSymbols() with |
- UDAT_SHORT_WEEKDAYS. Also, udat_countSymbols() with UDAT_SHORT_WEEKDAYS |
- returns 8. |
- |
- No new tests because this behavior depends on locale setting. |
- |
- * platform/text/LocalizedCalendarICU.cpp: |
- (WebCore::createLabelVector): Add startIndex argument. |
- (WebCore::createMonthLabels): |
- Pass UDAT_JANUARRY(0) as startIndex to createLabelVector(). |
- (WebCore::createWeekDayShortLabels): |
- Pass UDAT_SUNDAY(1) as startIndex to createLabelVector(). |
- |
-2012-04-15 MORITA Hajime <morrita@google.com> |
- |
- Unreviewed attempt to chromium-win build fix. |
- |
- * editing/DictationAlternative.h: |
- |
-2012-04-15 Noel Gordon <noel.gordon@gmail.com> |
- |
- Align JSC/V8 bindings canvas.toDataURL() code flows |
- https://bugs.webkit.org/show_bug.cgi?id=84003 |
- |
- Reviewed by Eric Seidel. |
- |
- Align JSC/V8 bindings canvas.toDataURL() code flow so that the binding |
- code implementations read alike. |
- |
- No new tests. Covered by existing cnavas toDataURL tests. |
- |
- * bindings/js/JSHTMLCanvasElementCustom.cpp: |
- (WebCore::JSHTMLCanvasElement::toDataURL): |
- |
-2012-04-15 Jia Pu <jpu@apple.com> |
- |
- Introducing DictationCommand. |
- https://bugs.webkit.org/show_bug.cgi?id=83549 |
- |
- Reviewed by Hajime Morita. |
- |
- No new tests. This patch doesn't introduce any change of new functionality. It prepares for |
- additional changes which will inlude tests. |
- |
- On OS X, alternative dictation results need to be stored as document markers. This patch introduces |
- following changes to achieve this: |
- 1. Added DictationMarkDetails to store non-string type maker detail. |
- 2. Introduce DictationCommand, which is similor to TypingCommand, but allows inserting text with |
- attached markers. |
- 3. Added Editor::insertDictatedText as interaface to WebKit and WebKit2. |
- 4. Added struct DictationAlternative to pass dictation related info from WebKit to WebCore. |
- |
- Several fragments of code in TypingCommand can be also used by DictationCommand. So this patch |
- introduced a new class, TextInsertionBaseCommand. It's a subclass of CompositeEditCommmand, and |
- base class of both TypingCommand and DictationCommand. |
- |
- This patch also extends InsertTextCommand class. Its constructor will take an TextInsertionMarkerSupplier |
- object. After text is inserted to a node, InsertTextCommand would give marker supplier a chance to |
- add document markers to the inserted text. |
- |
- * CMakeLists.txt: |
- * GNUmakefile.list.am: |
- * Target.pri: |
- * WebCore.exp.in: |
- * WebCore.gypi: |
- * WebCore.vcproj/WebCore.vcproj: |
- * WebCore.xcodeproj/project.pbxproj: |
- * dom/Document.cpp: |
- (WebCore::eventTargetNodeForDocument): Moved this function from EventHandler so that it can be used |
- by AlternativeTextController. |
- (WebCore): |
- * dom/Document.h: |
- (WebCore): |
- * dom/DocumentMarker.cpp: |
- (WebCore::DocumentMarker::DocumentMarker): New constructor that takes a pointer to DocumentMarkerDetails object. |
- (WebCore): |
- * dom/DocumentMarker.h: |
- (WebCore::DocumentMarker::AllMarkers::AllMarkers): |
- (DocumentMarker): |
- * dom/DocumentMarkerController.cpp: |
- (WebCore::DocumentMarkerController::addMarker): |
- (WebCore): |
- * dom/DocumentMarkerController.h: |
- (DocumentMarkerController): |
- * dom/TextEvent.cpp: |
- (WebCore::TextEvent::createForDictation): |
- (WebCore): |
- (WebCore::TextEvent::TextEvent): |
- * dom/TextEvent.h: Added member variable for dictation alternatives. |
- (TextEvent): |
- (WebCore::TextEvent::isDictation): |
- (WebCore::TextEvent::dictationAlternatives): |
- * dom/TextEventInputType.h: |
- * editing/AlternativeTextController.cpp: |
- (WebCore::AlternativeTextController::AlternativeTextController): |
- (WebCore::AlternativeTextController::insertDictatedText): Used by Editor::insertDictatedText(). |
- (WebCore): |
- * editing/AlternativeTextController.h: |
- (WebCore): |
- (DictationMarkerDetails): |
- (WebCore::DictationMarkerDetails::create): |
- (WebCore::DictationMarkerDetails::originalText): |
- (WebCore::DictationMarkerDetails::dictationContext): |
- (WebCore::DictationMarkerDetails::DictationMarkerDetails): |
- (AlternativeTextController): |
- * editing/CompositeEditCommand.h: |
- (WebCore::CompositeEditCommand::isDictationCommand): |
- * editing/DictationAlternative.cpp: Added. |
- (WebCore): |
- (WebCore::DictationAlternative::DictationAlternative): |
- * editing/DictationAlternative.h: Added. Data structure for passing dictation related data from WebKit to WebCore. |
- (DictationAlternative): |
- (WebCore): |
- * editing/DictationCommand.cpp: Added. |
- (WebCore): |
- (DictationCommandLineOperation): |
- (WebCore::DictationCommandLineOperation::DictationCommandLineOperation): |
- (WebCore::DictationCommandLineOperation::operator()): |
- (DictationMarkerSupplier): |
- (WebCore::DictationMarkerSupplier::create): |
- (WebCore::DictationMarkerSupplier::addMarkersToTextNode): |
- (WebCore::DictationMarkerSupplier::DictationMarkerSupplier): |
- (WebCore::DictationCommand::DictationCommand): |
- (WebCore::DictationCommand::insertText): |
- (WebCore::DictationCommand::doApply): |
- (WebCore::DictationCommand::insertTextRunWithoutNewlines): |
- (WebCore::DictationCommand::insertParagraphSeparator): |
- (WebCore::DictationCommand::collectDictationAlternativesInRange): |
- * editing/DictationCommand.h: Added. |
- (WebCore): |
- (DictationCommand): |
- (WebCore::DictationCommand::isDictationCommand): |
- (WebCore::DictationCommand::create): |
- * editing/EditingAllInOne.cpp: |
- * editing/Editor.cpp: |
- (WebCore::Editor::insertDictatedText): Main interface that allows WebKit passes in text with attached dictation information. |
- (WebCore): |
- (WebCore::Editor::insertTextWithoutSendingTextEvent): |
- (WebCore::Editor::updateMarkersForWordsAffectedByEditing): |
- * editing/Editor.h: |
- (Editor): |
- * editing/InsertTextCommand.cpp: |
- (WebCore::InsertTextCommand::InsertTextCommand): |
- (WebCore): |
- (WebCore::InsertTextCommand::doApply): |
- * editing/InsertTextCommand.h: |
- (WebCore): |
- (TextInsertionMarkerSupplier): Interface to allow caller of InsertTextCommand to add document markers to inserted text. |
- (WebCore::TextInsertionMarkerSupplier::~TextInsertionMarkerSupplier): |
- (WebCore::TextInsertionMarkerSupplier::TextInsertionMarkerSupplier): |
- (WebCore::InsertTextCommand::createWithMarkerSupplier): |
- (InsertTextCommand): |
- * editing/TextInsertionBaseCommand.cpp: Added. This class contains functions shared by TypingCommand and DictationCommand. |
- (WebCore): |
- (WebCore::TextInsertionBaseCommand::TextInsertionBaseCommand): |
- (WebCore::TextInsertionBaseCommand::applyTextInsertionCommand): |
- (WebCore::dispatchBeforeTextInsertedEvent): |
- (WebCore::canAppendNewLineFeedToSelection): |
- * editing/TextInsertionBaseCommand.h: Added. |
- (WebCore): |
- (TextInsertionBaseCommand): |
- (WebCore::TextInsertionBaseCommand::~TextInsertionBaseCommand): |
- (WebCore::forEachLineInString): |
- * editing/TypingCommand.cpp: |
- (TypingCommandLineOperation): |
- (WebCore::TypingCommandLineOperation::TypingCommandLineOperation): |
- (WebCore::TypingCommandLineOperation::operator()): |
- (WebCore::TypingCommand::TypingCommand): |
- (WebCore::TypingCommand::insertText): |
- (WebCore::TypingCommand::insertLineBreak): |
- (WebCore::TypingCommand::insertParagraphSeparator): |
- * editing/TypingCommand.h: |
- * page/EventHandler.cpp: |
- * rendering/InlineTextBox.cpp: |
- (WebCore::lineStyleForMarkerType): |
- (WebCore::InlineTextBox::paintDocumentMarker): Renamed existing function to reflect new funcationality. |
- (WebCore::InlineTextBox::paintDocumentMarkers): |
- * rendering/InlineTextBox.h: |
- (InlineTextBox): |
- * testing/Internals.cpp: |
- (WebCore::markerTypesFrom): |
- |
-2012-04-15 James Robinson <jamesr@chromium.org> |
- |
- [chromium] LayerRendererChromium shouldn't know anything about CCLayerImpl |
- https://bugs.webkit.org/show_bug.cgi?id=83415 |
- |
- Reviewed by Adrienne Walker. |
- |
- This removes all knowledge of CCLayerImpl from LayerRendererChromium. The most significant move code-wise is |
- moving the HUD up to live on CCLayerTreeHostImpl, since it's aware of the layer tree. This involves two changes. |
- First, CCHeadsUpDisplay is in charge of populating a ManagedTexture but the actual drawing code now lives in |
- LayerRendererChromium. Second, since we don't recreate CCLayerTreeHostImpl on a lost context, the font atlas |
- ownership is much simpler. Now a CCFontAtlas is created on the main thread if needed and passed asynchronously |
- to the CCHeadsUpDisplay which takes ownership of the atlas. |
- |
- * platform/graphics/chromium/LayerRendererChromium.cpp: |
- (WebCore::LayerRendererChromium::create): |
- (WebCore::LayerRendererChromium::initialize): |
- (WebCore::LayerRendererChromium::~LayerRendererChromium): |
- (WebCore::LayerRendererChromium::beginDrawingFrame): |
- (WebCore::LayerRendererChromium::drawHeadsUpDisplay): |
- (WebCore): |
- (WebCore::LayerRendererChromium::finishDrawingFrame): |
- (WebCore::LayerRendererChromium::swapBuffers): |
- * platform/graphics/chromium/LayerRendererChromium.h: |
- (LayerRendererChromiumClient): |
- (LayerRendererChromium): |
- * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp: |
- (WebCore::CCHeadsUpDisplay::CCHeadsUpDisplay): |
- (WebCore::CCHeadsUpDisplay::setFontAtlas): |
- (WebCore): |
- (WebCore::CCHeadsUpDisplay::enabled): |
- (WebCore::CCHeadsUpDisplay::showPlatformLayerTree): |
- (WebCore::CCHeadsUpDisplay::draw): |
- (WebCore::CCHeadsUpDisplay::drawHudContents): |
- * platform/graphics/chromium/cc/CCHeadsUpDisplay.h: |
- (WebCore): |
- (WebCore::CCHeadsUpDisplay::create): |
- (CCHeadsUpDisplay): |
- * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: |
- (WebCore::CCLayerTreeHost::initialize): |
- * platform/graphics/chromium/cc/CCLayerTreeHost.h: |
- (CCLayerTreeHost): |
- * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp: |
- (WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl): |
- (WebCore::CCLayerTreeHostImpl::~CCLayerTreeHostImpl): |
- (WebCore::CCLayerTreeHostImpl::canDraw): |
- (WebCore::CCLayerTreeHostImpl::calculateRenderPasses): |
- (WebCore::CCLayerTreeHostImpl::prepareToDraw): |
- (WebCore::CCLayerTreeHostImpl::drawLayers): |
- (WebCore::CCLayerTreeHostImpl::swapBuffers): |
- (WebCore::CCLayerTreeHostImpl::initializeLayerRenderer): |
- (WebCore::CCLayerTreeHostImpl::setFullRootLayerDamage): |
- (WebCore::CCLayerTreeHostImpl::layerTreeAsText): |
- (WebCore): |
- (WebCore::CCLayerTreeHostImpl::setFontAtlas): |
- (WebCore::CCLayerTreeHostImpl::dumpRenderSurfaces): |
- * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h: |
- (CCLayerTreeHostImpl): |
- (WebCore::CCLayerTreeHostImpl::rootLayer): |
- * platform/graphics/chromium/cc/CCProxy.h: |
- (WebCore): |
- (CCProxy): |
- * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp: |
- (WebCore::CCSingleThreadProxy::initializeLayerRenderer): |
- (WebCore::CCSingleThreadProxy::recreateContext): |
- (WebCore::CCSingleThreadProxy::setFontAtlas): |
- (WebCore): |
- * platform/graphics/chromium/cc/CCSingleThreadProxy.h: |
- * platform/graphics/chromium/cc/CCThreadProxy.cpp: |
- (WebCore::CCThreadProxy::initializeLayerRendererOnImplThread): |
- (WebCore::CCThreadProxy::setFontAtlas): |
- (WebCore): |
- (WebCore::CCThreadProxy::setFontAtlasOnImplThread): |
- (WebCore::CCThreadProxy::recreateContextOnImplThread): |
- * platform/graphics/chromium/cc/CCThreadProxy.h: |
- (CCThreadProxy): |
- |
-2012-04-15 Antti Koivisto <antti@apple.com> |
- |
- Capture CSS parser context |
- https://bugs.webkit.org/show_bug.cgi?id=83998 |
- |
- Reviewed by Andreas Kling. |
- |
- Currently the CSS parser calls to the Document and StyleSheetInternal objects to get settings, base URL etc. |
- The required information should be passed in on parser construction instead. The parser should not need to |
- know about the document at all. |
- |
- The patch adds CSSParserContext struct that captures the parsing context. StyleSheetInternal saves the |
- parsing context and reuses it for any further parsing. |
- |
- If the same stylesheet source is parsed with an identical context then the resulting stylesheet structure will |
- be identical. This will allow sharing parsed stylesheets in the future. |
- |
- * css/CSSGrammar.y: |
- * css/CSSImportRule.cpp: |
- (WebCore::StyleRuleImport::setCSSStyleSheet): |
- * css/CSSMediaRule.cpp: |
- (WebCore::CSSMediaRule::insertRule): |
- * css/CSSPageRule.cpp: |
- (WebCore::CSSPageRule::setSelectorText): |
- * css/CSSParser.cpp: |
- (WebCore): |
- (WebCore::strictCSSParserContext): |
- (WebCore::CSSParserContext::CSSParserContext): |
- (WebCore::CSSParser::CSSParser): |
- (WebCore::CSSParser::parseKeyframeRule): |
- (WebCore::CSSParser::parseValue): |
- (WebCore::CSSParser::parseSelector): |
- (WebCore::CSSParser::completeURL): |
- (WebCore::CSSParser::parseContent): |
- (WebCore::CSSParser::parseAttr): |
- (WebCore::CSSParser::parseFillImage): |
- (WebCore::CSSParser::parseFontFaceSrcURI): |
- (WebCore::CSSParser::parseFontFaceSrc): |
- (WebCore::CSSParser::parseBorderImage): |
- (WebCore::CSSParser::parseImageSet): |
- (WebCore::CSSParser::parseCustomFilter): |
- (WebCore::CSSParser::parseFilter): |
- (WebCore::CSSParser::cssRegionsEnabled): |
- (WebCore::CSSParser::parseFlowThread): |
- (WebCore::CSSParser::createMediaRule): |
- (WebCore::CSSParser::createStyleRule): |
- (WebCore::CSSParser::createFontFaceRule): |
- (WebCore::CSSParser::createPageRule): |
- (WebCore::CSSParser::createKeyframe): |
- * css/CSSParser.h: |
- (CSSParser): |
- (WebCore::CSSParser::inStrictMode): |
- (WebCore::CSSParser::inQuirksMode): |
- (WebCore::CSSParser::validUnit): |
- * css/CSSParserMode.h: |
- (WebCore): |
- (CSSParserContext): |
- * css/CSSRule.h: |
- (WebCore::CSSRule::parserContext): |
- (CSSRule): |
- * css/CSSStyleRule.cpp: |
- (WebCore::CSSStyleRule::setSelectorText): |
- * css/CSSStyleSheet.cpp: |
- (WebCore::StyleSheetInternal::StyleSheetInternal): |
- (WebCore::StyleSheetInternal::parseString): |
- (WebCore::StyleSheetInternal::parseStringAtLine): |
- (WebCore): |
- (WebCore::StyleSheetInternal::updateBaseURL): |
- (WebCore::StyleSheetInternal::completeURL): |
- (WebCore::CSSStyleSheet::insertRule): |
- * css/CSSStyleSheet.h: |
- (StyleSheetInternal): |
- (WebCore::StyleSheetInternal::parserContext): |
- (WebCore::StyleSheetInternal::charset): |
- (WebCore::StyleSheetInternal::setFinalURL): |
- (WebCore::StyleSheetInternal::baseURL): |
- * css/CSSValuePool.cpp: |
- * css/StylePropertySet.cpp: |
- (WebCore::StylePropertySet::parseDeclaration): |
- * css/WebKitCSSKeyframesRule.cpp: |
- (WebCore::WebKitCSSKeyframesRule::insertRule): |
- * dom/Document.cpp: |
- (WebCore::Document::webkitGetFlowByName): |
- (WebCore::Document::pageUserSheet): |
- (WebCore::Document::pageGroupUserSheets): |
- * dom/Element.cpp: |
- (WebCore::Element::webkitMatchesSelector): |
- * dom/Node.cpp: |
- (WebCore::Node::querySelector): |
- (WebCore::Node::querySelectorAll): |
- * dom/ProcessingInstruction.cpp: |
- (WebCore::ProcessingInstruction::parseStyleSheet): |
- * dom/StyleElement.cpp: |
- (WebCore::StyleElement::createSheet): |
- * html/HTMLLinkElement.cpp: |
- (WebCore::HTMLLinkElement::setCSSStyleSheet): |
- * html/shadow/ContentSelectorQuery.cpp: |
- (WebCore::ContentSelectorQuery::ContentSelectorQuery): |
- * inspector/InspectorStyleSheet.cpp: |
- (WebCore::InspectorStyle::setPropertyText): |
- (WebCore::InspectorStyleSheet::reparseStyleSheet): |
- (WebCore::InspectorStyleSheet::ensureSourceData): |
- (WebCore::InspectorStyleSheetForInlineStyle::getStyleAttributeRanges): |
- |
-2012-04-15 Noel Gordon <noel.gordon@gmail.com> |
- |
- [Cairo] Separate image encoding from dataURL construction |
- https://bugs.webkit.org/show_bug.cgi?id=83975 |
- |
- Reviewed by Martin Robinson. |
- |
- Remove the implicit assumption that a dataURL is the only desired output format |
- of the image encoding phase. |
- |
- No new tests. Covered by existing canvas toDataURL tests. |
- |
- * platform/graphics/cairo/ImageBufferCairo.cpp: |
- (WebCore::writeFunction): Rename closure to output. |
- (WebCore::encodeImage): Output the encoded image to the provided Vector<char>. |
- PNG format is only supported per the Cairo encoding MIMETypeRegistry. |
- (WebCore): |
- (WebCore::ImageBuffer::toDataURL): Refactor to use encodeImage(). |
- |
-2012-04-15 Yuta Kitamura <yutak@chromium.org> |
- |
- Leak in WebSocketChannel with workers/worker-reload.html (part 2) |
- https://bugs.webkit.org/show_bug.cgi?id=83749 |
- |
- Reviewed by David Levin. |
- |
- Second attempt to remove leaks around WorkerThreadableWebSocketChannel. |
- |
- No new tests, as this patch does not impose any functional change. |
- |
- * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp: |
- (WebCore::ThreadableWebSocketChannelClientWrapper::ThreadableWebSocketChannelClientWrapper): |
- (WebCore::ThreadableWebSocketChannelClientWrapper::failedWebSocketChannelCreation): |
- (WebCore::ThreadableWebSocketChannelClientWrapper::setFailedWebSocketChannelCreation): |
- * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h: |
- Add a boolean flag indicating whether Bridge::initialize() has exited without receiving |
- a pointer to the peer object. |
- * Modules/websockets/WorkerThreadableWebSocketChannel.cpp: |
- (WebCore::WorkerThreadableWebSocketChannel::WorkerContextDidInitializeTask::create): |
- (WebCore::WorkerThreadableWebSocketChannel::WorkerContextDidInitializeTask::WorkerContextDidInitializeTask): |
- (WebCore::WorkerThreadableWebSocketChannel::WorkerContextDidInitializeTask::performTask): |
- Kick mainThreadDestroy() to delete the peer if the bridge has failed to receive |
- a pointer to the peer (waitForMethodCompletion() exited due to message queue's |
- termination). |
- (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadInitialize): |
- (WebCore::WorkerThreadableWebSocketChannel::Bridge::initialize): |
- * Modules/websockets/WorkerThreadableWebSocketChannel.h: |
- (WorkerThreadableWebSocketChannel): |
- Make WorkerContextDidInitializeTask an inner class of WorkerThreadableWebSocketChannel |
- so it can refer WorkerThreadableWebSocketChannel's static member function (mainThreadDestroy()). |
- |
-2012-04-14 Emil A Eklund <eae@chromium.org> |
- |
- Fix pixelSnapping for CalendarPicker, MediaControl and ScrollbarPart |
- https://bugs.webkit.org/show_bug.cgi?id=83929 |
- |
- Reviewed by Eric Seidel. |
- |
- Update CalendarPickerElement and MediaControlElements to use |
- pixelSnappedSize in preparation for turning on subpixel support. |
- Update RenderScrollbarPart to pixel snap rect before painting to ensure |
- that it is painted on device pixel boundaries. |
- |
- No new tests, no change in functionality. |
- |
- * html/shadow/CalendarPickerElement.cpp: |
- (WebCore::CalendarPickerElement::openPopup): |
- * html/shadow/MediaControlElements.cpp: |
- (WebCore::RenderMediaVolumeSliderContainer::layout): |
- * rendering/RenderScrollbarPart.cpp: |
- (WebCore::RenderScrollbarPart::paintIntoRect): |
- |
-2012-04-14 Kent Tamura <tkent@chromium.org> |
- |
- Day of week labels are wrong if WebCore::firstDayOfWeek() is not 0 |
- https://bugs.webkit.org/show_bug.cgi?id=83990 |
- |
- Reviewed by Kentaro Hara. |
- |
- We passed the "weekStartDay" property value as a |
- string. CalendarPickerElement::writeDocument() created: |
- weekStartDay: "1", |
- and the JavaScript code used it in the following code: |
- dayLabels[(weekStartDay + i) % 7] |
- If weekStartDay was "1", the expression (weekStartDay + i) |
- produced "10", "11", "12", ... We expected "1", "2", "3", ... |
- |
- We need to pass the "weekStartDay" property as a number. |
- |
- No new tests because we have no ways to test this for now. We'll |
- introduce tests for the calendar picker later. |
- |
- * html/shadow/CalendarPickerElement.cpp: |
- (WebCore::addProperty): Add addProperty() function for a number. |
- (WebCore::CalendarPickerElement::writeDocument): |
- Pass a number, not a serialized number. |
- |
-2012-04-14 Joe Thomas <joethomas@motorola.com> |
- |
- Viewport-percentage Length units does not work for Replaced elements size |
- https://bugs.webkit.org/show_bug.cgi?id=83425 |
- |
- Reviewed by Antti Koivisto. |
- |
- Added the support for viewport-percentage length units while calculating the width/height of replaced elements. |
- |
- Tests: css3/viewport-percentage-lengths/viewport-percentage-image-size.html |
- |
- * platform/Length.h: |
- (WebCore::Length::isSpecified): |
- * rendering/RenderBox.cpp: |
- (WebCore::RenderBox::computeReplacedLogicalWidthUsing): |
- |
-2012-04-14 Joe Thomas <joethomas@motorola.com> |
- |
- CSSStyleDeclaration.getPropertyValue() for 'border-radius' returns null when value is set |
- https://bugs.webkit.org/show_bug.cgi?id=80736 |
- |
- Reviewed by Antti Koivisto. |
- |
- Added support for fetching the value of 'border-radius' CSS property which was missing. |
- |
- Test: fast/css/border-radius-property-value.html |
- |
- * css/StylePropertySet.cpp: |
- (WebCore::StylePropertySet::getPropertyValue): |
- |
-2012-04-14 David Hyatt <hyatt@apple.com> |
- |
- https://bugs.webkit.org/show_bug.cgi?id=83826 |
- |
- Wrong Font code path was chosen after r114032. The TextRun constructor has an additional argument that |
- needs to be included if rounding hacks are mentioned. |
- |
- Reviewed by Dan Bernstein. |
- |
- * html/canvas/CanvasRenderingContext2D.cpp: |
- (WebCore::CanvasRenderingContext2D::drawTextInternal): |
- * rendering/RenderListBox.cpp: |
- (WebCore::RenderListBox::paintItemForeground): |
- * rendering/break_lines.cpp: |
- (WebCore::nextBreakablePosition): |
- |
-2012-04-14 Noel Gordon <noel.gordon@gmail.com> |
- |
- [Cairo] ImageBuffer::toDataURL(): improve error handling, add mimeType ASSERTs |
- https://bugs.webkit.org/show_bug.cgi?id=83569 |
- |
- Reviewed by Eric Seidel. |
- |
- No new tests. Covered by exiting fast/canvas/*toDataURL* tests. |
- |
- * platform/graphics/cairo/ImageBufferCairo.cpp: |
- (WebCore::writeFunction): Return write success or failure with the appropriate |
- cairo status code per http://cairographics.org/manual/cairo-PNG-Support.html |
- (WebCore::ImageBuffer::toDataURL): Add mimeType ASSERT()s. <canvas> ensures that |
- a valid mimeType (supported by the port) is sent to toDataURL() calls. Check for |
- encoding failure and return "data:," if so. |
- |
-2012-04-13 David Reveman <reveman@chromium.org> |
- |
- [Chromium] Avoid unnecessary full tile updates for checkerboard tiles. |
- https://bugs.webkit.org/show_bug.cgi?id=83804 |
- |
- Reviewed by James Robinson. |
- |
- Cleanup code that determines if we need to use a buffered update and |
- avoid buffering of tiles that are not in use by the impl thread. |
- |
- Tests: CCLayerTreeHostTestAtomicCommitWithPartialUpdate.runMultiThread |
- TiledLayerChromiumTest.partialUpdates |
- |
- * platform/graphics/chromium/TiledLayerChromium.cpp: |
- (UpdatableTile): |
- (WebCore::UpdatableTile::UpdatableTile): |
- (WebCore::TiledLayerChromium::pushPropertiesTo): |
- (WebCore::TiledLayerChromium::tileOnlyNeedsPartialUpdate): |
- (WebCore::TiledLayerChromium::tileNeedsBufferedUpdate): |
- (WebCore::TiledLayerChromium::updateTiles): |
- * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: |
- (WebCore::CCLayerTreeHost::bufferedUpdates): |
- (WebCore): |
- * platform/graphics/chromium/cc/CCLayerTreeHost.h: |
- (CCLayerTreeHost): |
- |
2012-04-13 Dana Jansens <danakj@chromium.org> |
- [chromium] Cleanup texture memory eviction when LayerTreeHost becomes invisible |
- https://bugs.webkit.org/show_bug.cgi?id=83899 |
- |
- Reviewed by Adrienne Walker. |
- |
- When a LTH becomes invisible, the texture eviction is spread out across |
- two different functions and is not entirely clear. We move all the logic |
- together into a single place in didBecomeInvisibleOnImplThread() and |
- make the consequences of the current code more clear. |
- |
- Covered by existing tests. |
- |
- * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: |
- (WebCore::CCLayerTreeHost::deleteContentsTexturesOnImplThread): |
- (WebCore::CCLayerTreeHost::setVisible): |
- (WebCore::CCLayerTreeHost::didBecomeInvisibleOnImplThread): |
- |
-2012-04-13 Sheriff Bot <webkit.review.bot@gmail.com> |
- |
- Unreviewed, rolling out r114036. |
- http://trac.webkit.org/changeset/114036 |
- https://bugs.webkit.org/show_bug.cgi?id=83969 |
- |
- Breaks gmail.com causing it to never finish loading (Requested |
- by danakj on #webkit). |
- |
- * bindings/scripts/CodeGeneratorJS.pm: |
- (GenerateHeader): |
- (GenerateImplementation): |
- * bindings/scripts/CodeGeneratorV8.pm: |
- (GenerateNamedConstructorCallback): |
- (GenerateImplementation): |
- * bindings/scripts/IDLAttributes.txt: |
- * bindings/scripts/test/JS/JSTestObj.cpp: |
- (WebCore::JSTestObj::createPrototype): |
- * bindings/scripts/test/JS/JSTestObj.h: |
- * bindings/scripts/test/TestObj.idl: |
- * bindings/scripts/test/V8/V8Float64Array.cpp: |
- (WebCore): |
- * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp: |
- (WebCore): |
- * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp: |
- (WebCore): |
- * bindings/scripts/test/V8/V8TestEventConstructor.cpp: |
- (WebCore): |
- * bindings/scripts/test/V8/V8TestEventTarget.cpp: |
- (WebCore): |
- * bindings/scripts/test/V8/V8TestInterface.cpp: |
- (WebCore): |
- * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp: |
- (WebCore): |
- * bindings/scripts/test/V8/V8TestNamedConstructor.cpp: |
- (WebCore): |
- * bindings/scripts/test/V8/V8TestNode.cpp: |
- (WebCore): |
- * bindings/scripts/test/V8/V8TestObj.cpp: |
- (WebCore): |
- * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp: |
- (WebCore): |
- * bindings/v8/NPV8Object.cpp: |
- (WebCore::npObjectTypeInfo): |
- * bindings/v8/V8BindingPerContextData.cpp: |
- (WebCore::V8BindingPerContextData::init): |
- (WebCore::V8BindingPerContextData::createWrapperFromCacheSlowCase): |
- (WebCore::V8BindingPerContextData::constructorForTypeSlowCase): |
- * bindings/v8/V8BindingPerContextData.h: |
- (V8BindingPerContextData): |
- * bindings/v8/V8HiddenPropertyName.h: |
- (WebCore): |
- * bindings/v8/WrapperTypeInfo.h: |
- (WrapperTypeInfo): |
- * bindings/v8/custom/V8HTMLImageElementConstructor.cpp: |
- (WebCore): |
- * dom/NodeList.idl: |
- |
-2012-04-13 Alexandre Elias <aelias@google.com> |
- |
- [chromium] Add null pointer check to animatePageScale |
- https://bugs.webkit.org/show_bug.cgi?id=83940 |
- |
- Reviewed by James Robinson. |
- |
- Add null pointer check to startPageScaleAnimation. |
- |
- If the root scroll layer goes away in the middle of a page scale |
- animation, there can be a null pointer access here. |
- |
- No new tests. |
- |
- * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp: |
- (WebCore::CCLayerTreeHostImpl::animatePageScale): |
- |
-2012-04-13 Dana Jansens <danakj@chromium.org> |
- |
- [chromium] Replicas should be included in the computed occlusion |
- https://bugs.webkit.org/show_bug.cgi?id=82262 |
- |
- Reviewed by Adrienne Walker. |
- |
- When merging a surface's occlusion up to its target, make a copy of it |
- where the replica will be as well, and make sure that occlusion from a |
- RenderSurface does not leave its clipRect. |
- |
- Unit test: CCOcclusionTrackerTestReplicaDoesOcclude |
- CCOcclusionTrackerTestReplicaWithClipping |
- CCOcclusionTrackerTestSurfaceChildOfSurface |
- |
- * platform/graphics/chromium/RenderSurfaceChromium.cpp: |
- (WebCore::RenderSurfaceChromium::hasReplica): |
- (WebCore): |
- * platform/graphics/chromium/RenderSurfaceChromium.h: |
- (RenderSurfaceChromium): |
- * platform/graphics/chromium/cc/CCOcclusionTracker.cpp: |
- (WebCore::transformSurfaceOpaqueRegion): |
- (WebCore::::leaveToTargetRenderSurface): |
- |
-2012-04-13 Raymond Liu <raymond.liu@intel.com> |
- |
- AudioContext createChannelMerger() method should have optional argument for number of inputs. |
- https://bugs.webkit.org/show_bug.cgi?id=83759 |
- |
- Reviewed by Chris Rogers. |
- |
- Check https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html for the optional argument. |
- |
- Test: webaudio/audiochannelmerger-basic.html |
- |
- * Modules/webaudio/AudioChannelMerger.cpp: |
- (WebCore): |
- (WebCore::AudioChannelMerger::create): |
- (WebCore::AudioChannelMerger::AudioChannelMerger): |
- * Modules/webaudio/AudioChannelMerger.h: |
- (AudioChannelMerger): |
- * Modules/webaudio/AudioContext.cpp: |
- (WebCore::AudioContext::createChannelMerger): |
- (WebCore): |
- * Modules/webaudio/AudioContext.h: |
- (AudioContext): |
- * Modules/webaudio/AudioContext.idl: |
- |
-2012-04-13 Dana Jansens <danakj@chromium.org> |
- |
[chromium] Remove viewport memory restrictions |
https://bugs.webkit.org/show_bug.cgi?id=83316 |