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

Unified Diff: Source/WebCore/ChangeLog

Side-by-side diff isn't available for this file because of its large size.
Issue 7631029: Merge 91736 - Source/WebCore: Removed support for the GL_latch_CHROMIUM extension which Chromium ... (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
« no previous file with comments | « no previous file | Source/WebCore/platform/graphics/chromium/Canvas2DLayerChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/ChangeLog
===================================================================
--- Source/WebCore/ChangeLog (revision 93242)
+++ Source/WebCore/ChangeLog (working copy)
@@ -1,10168 +1,3 @@
-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.
-
- * storage/IDBTransaction.cpp:
- (WebCore::IDBTransaction::enqueueEvent):
-
-2011-08-08 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r92610.
- http://trac.webkit.org/changeset/92610
- https://bugs.webkit.org/show_bug.cgi?id=65868
-
- 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
- https://bugs.webkit.org/show_bug.cgi?id=63507
-
- Reviewed by Adam Barth.
-
- When loading a main resource from a web archive, make sure that the working URL is actually
- the URL of the resource, and not the URL of the web archive itself.
-
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::receivedFirstData):
-
-2011-08-03 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from DOMWindow.idl
- https://bugs.webkit.org/show_bug.cgi?id=65353
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateImplementation):
- * bindings/scripts/CodeGeneratorV8.pm:
- (GenerateFunctionCallback):
- * page/DOMWindow.idl:
-
-2011-08-03 Jeff Miller <jeffm@apple.com>
-
- Fix Chromimum and Qt builds after r92308.
-
- * config.h: Don't try to include WebCoreHeaderDetection.h for Chromimum and Qt.
-
-2011-08-03 Jeff Miller <jeffm@apple.com>
-
- Generate WebCoreHeaderDetection.h on Windows to define HAVE_AVCF
- https://bugs.webkit.org/show_bug.cgi?id=65634
-
- AVFoundation support on Windows will (eventually) be predicated on the
- availability of AVFoundationCF headers and libraries in the WebKit Support
- Libraries, so we test for the existence of one of the header files (AVCFBase.h)
- to determine whether to AVCF is available.
-
- For now, even if AVFoundationCF is available, leave WTF_USE_AVFOUNDATION off, since
- it's not ready to be turned on yet (which is covered by http://webkit.org/b/65400).
-
- Ideally, we would generate WebCoreHeaderDetection.h on all platforms so we could
- include it unconditionally in WebCore's config.h, but unfortunately the Mac-only file
- ExportFileGenerator.cpp depends on WTF_USE_AVFOUNDATION being set correctly, and since this
- .cpp file is also generated it doesn't have access to WebCoreHeaderDetection.h.
-
- Reviewed by Adam Roben.
-
- No change in functionality, so new tests.
-
- * DerivedSources.make: Add rule to generate WebCoreHeaderDetection.h to set HAVE_AVCF on Windows.
- * config.h: Include WebCoreHeaderDetection.h on Windows, check for HAVE(AVCF) but always leave WTF_USE_AVFOUNDATION off on Windows for now.
-
-2011-08-03 Tommy Widenflycht <tommyw@google.com>
-
- MediaStream API: Implement PeerConnection and SignalingCallback
- https://bugs.webkit.org/show_bug.cgi?id=65101
-
- Reviewed by Adam Barth.
-
- LayoutTests will be provided by a follow-up CL, see <https://bugs.webkit.org/show_bug.cgi?id=56587>.
-
- * CMakeLists.txt:
- * CodeGenerators.pri:
- * DerivedSources.cpp:
- * DerivedSources.make:
- * GNUmakefile.am:
- * GNUmakefile.list.am:
- * UseJSC.cmake:
- * WebCore.gyp/WebCore.gyp:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * bindings/generic/RuntimeEnabledFeatures.h:
- (WebCore::RuntimeEnabledFeatures::peerConnectionEnabled):
- * bindings/js/JSBindingsAllInOne.cpp:
- * bindings/js/JSPeerConnectionCustom.cpp: Copied from Source/WebCore/page/MediaStreamClient.h.
- (WebCore::JSPeerConnectionConstructor::constructJSPeerConnection):
- * bindings/v8/V8DOMWrapper.cpp:
- (WebCore::V8DOMWrapper::convertEventTargetToV8Object):
- * bindings/v8/custom/V8PeerConnectionCustom.cpp: Added.
- (WebCore::V8PeerConnection::constructorCallback):
- * dom/DispatchTask.h: Added.
- (WebCore::SimpleDispatchTask::create):
- (WebCore::SimpleDispatchTask::performTask):
- (WebCore::SimpleDispatchTask::SimpleDispatchTask):
- (WebCore::DispatchTask::create):
- (WebCore::DispatchTask::performTask):
- (WebCore::DispatchTask::DispatchTask):
- * dom/EventNames.h:
- * dom/EventTarget.cpp:
- (WebCore::EventTarget::toPeerConnection):
- * dom/EventTarget.h:
- * p2p/PeerConnection.cpp: Added.
- (WebCore::PeerConnection::create):
- (WebCore::PeerConnection::PeerConnection):
- (WebCore::PeerConnection::init):
- (WebCore::PeerConnection::~PeerConnection):
- (WebCore::PeerConnection::localStreams):
- (WebCore::PeerConnection::remoteStreams):
- (WebCore::PeerConnection::processSignalingMessage):
- (WebCore::PeerConnection::send):
- (WebCore::PeerConnection::addStream):
- (WebCore::PeerConnection::removeStream):
- (WebCore::PeerConnection::close):
- (WebCore::PeerConnection::onNegotiationStarted):
- (WebCore::PeerConnection::onNegotiationDone):
- (WebCore::PeerConnection::streamAdded):
- (WebCore::PeerConnection::streamRemoved):
- (WebCore::PeerConnection::onMessage):
- (WebCore::PeerConnection::onSignalingMessage):
- (WebCore::PeerConnection::toPeerConnection):
- (WebCore::PeerConnection::scriptExecutionContext):
- (WebCore::PeerConnection::eventTargetData):
- (WebCore::PeerConnection::ensureEventTargetData):
- (WebCore::PeerConnection::postMessageEvent):
- (WebCore::PeerConnection::postSignalingEvent):
- (WebCore::PeerConnection::postStreamAddedEvent):
- (WebCore::PeerConnection::postStreamRemovedEvent):
- (WebCore::PeerConnection::postSimpleEvent):
- (WebCore::PeerConnection::postStartNegotiationTask):
- (WebCore::PeerConnection::dispatchMessageEvent):
- (WebCore::PeerConnection::dispatchSignalingEvent):
- (WebCore::PeerConnection::dispatchStreamEvent):
- (WebCore::PeerConnection::dispatchSimpleEvent):
- (WebCore::PeerConnection::dispatchStartNegotiationTask):
- * p2p/PeerConnection.h: Added.
- (WebCore::PeerConnection::readyState):
- (WebCore::PeerConnection::refEventTarget):
- (WebCore::PeerConnection::derefEventTarget):
- * p2p/PeerConnection.idl: Added.
- * p2p/SignalingCallback.h: Copied from Source/WebCore/page/MediaStreamClient.h.
- (WebCore::SignalingCallback::~SignalingCallback):
- * p2p/SignalingCallback.idl: Added.
- * page/DOMWindow.idl:
- * page/MediaStreamClient.h:
- * page/MediaStreamController.cpp:
- (WebCore::MediaStreamController::MediaStreamController):
- (WebCore::MediaStreamController::unregisterFrameController):
- (WebCore::MediaStreamController::onSignalingMessage):
- (WebCore::MediaStreamController::frameToPagePeerConnectionId):
- (WebCore::MediaStreamController::processSignalingMessage):
- (WebCore::MediaStreamController::message):
- (WebCore::MediaStreamController::onMessage):
- (WebCore::MediaStreamController::addStream):
- (WebCore::MediaStreamController::onAddStream):
- (WebCore::MediaStreamController::removeStream):
- (WebCore::MediaStreamController::onRemoveStream):
- (WebCore::MediaStreamController::newPeerConnection):
- (WebCore::MediaStreamController::closePeerConnection):
- (WebCore::MediaStreamController::startNegotiation):
- (WebCore::MediaStreamController::onNegotiationStarted):
- (WebCore::MediaStreamController::onNegotiationDone):
- * page/MediaStreamController.h:
- * page/MediaStreamFrameController.cpp:
- (WebCore::MediaStreamFrameController::Request::isSignalingRequest):
- (WebCore::MediaStreamFrameController::createPeerConnection):
- (WebCore::MediaStreamFrameController::newPeerConnection):
- (WebCore::MediaStreamFrameController::closePeerConnection):
- (WebCore::MediaStreamFrameController::startNegotiation):
- (WebCore::MediaStreamFrameController::processSignalingMessage):
- (WebCore::MediaStreamFrameController::message):
- (WebCore::MediaStreamFrameController::addStream):
- (WebCore::MediaStreamFrameController::removeStream):
- (WebCore::MediaStreamFrameController::onMessage):
- (WebCore::MediaStreamFrameController::onAddStream):
- (WebCore::MediaStreamFrameController::onRemoveStream):
- (WebCore::MediaStreamFrameController::onSignalingMessage):
- (WebCore::MediaStreamFrameController::onNegotiationStarted):
- (WebCore::MediaStreamFrameController::onNegotiationDone):
- * page/MediaStreamFrameController.h:
- (WebCore::MediaStreamFrameController::ClientBase::isPeerConnection):
- (WebCore::MediaStreamFrameController::PeerConnectionClient::PeerConnectionClient):
- (WebCore::MediaStreamFrameController::PeerConnectionClient::~PeerConnectionClient):
- (WebCore::MediaStreamFrameController::PeerConnectionClient::isPeerConnection):
-
-2011-08-03 Joseph Pecoraro <joepeck@webkit.org>
-
- Web Inspector: Remove InspectorFrontendHost load/saveSessionSetting
- https://bugs.webkit.org/show_bug.cgi?id=65582
-
- Reviewed by Pavel Feldman.
-
- Remove stale code. WebInspector.settings uses localStorage and
- handles the "debuggerEnabled" state. So remove the only remaining
- usage of load/saveSessionSetting.
-
- * inspector/InspectorFrontendClient.h:
- * inspector/InspectorFrontendHost.cpp:
- * inspector/InspectorFrontendHost.h:
- * inspector/InspectorFrontendHost.idl:
- * inspector/front-end/InspectorFrontendHostStub.js:
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._debuggerWasDisabled):
-
-2011-08-03 Adam Barth <abarth@webkit.org>
-
- Crash in DocumentWriter::endIfNotLoadingMainResource
- https://bugs.webkit.org/show_bug.cgi?id=65581
-
- Reviewed by Nate Chapin.
-
- 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.
-
- 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!
-
- Test: fast/loader/reload-zero-byte-plugin.html
-
- * loader/DocumentWriter.cpp:
- (WebCore::DocumentWriter::endIfNotLoadingMainResource):
-
-2011-08-03 Anders Carlsson <andersca@apple.com>
-
- WebCore images backing CG patterns should be released on the main thread
- https://bugs.webkit.org/show_bug.cgi?id=65630
-
- Reviewed by Sam Weinig.
-
- * platform/graphics/cg/PatternCG.cpp:
- (WebCore::patternReleaseOnMainThreadCallback):
- Deref the image.
-
- (WebCore::patternReleaseCallback):
- Call callOnMainThread.
-
-2011-08-03 Luke Macpherson <macpherson@chromium.org>
-
- Use appropriate macro for CSSPropertyImageRendering.
- https://bugs.webkit.org/show_bug.cgi?id=65594
-
- Reviewed by Simon Fraser.
-
- No new tests / trivial code cleanup only.
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Use HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE macro.
-
-2011-08-03 Dan Bernstein <mitz@apple.com>
-
- FontCache::getFontData() does not set the familyIndex to cAllFamiliesScanned if the last font is a custom font
- https://bugs.webkit.org/show_bug.cgi?id=65597
-
- Reviewed by Simon Fraser.
-
- No test added because behavior is unchanged, but this saves a call to getFontData().
-
- * platform/graphics/FontCache.cpp:
- (WebCore::FontCache::getFontData): Eliminated early return inside the loop, allowing execution
- to continue and familyIndex to be set.
-
-2011-08-03 Ryosuke Niwa <rniwa@webkit.org>
-
- Add RenderedPosition
- https://bugs.webkit.org/show_bug.cgi?id=65221
-
- Reviewed by Hajime Morita.
-
- Add the skeleton for RenderedPosition and use it in rootBoxForLine.
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * editing/EditingAllInOne.cpp:
- * editing/RenderedPosition.cpp: Added.
- (WebCore::RenderedPosition::RenderedPosition):
- * editing/RenderedPosition.h: Added.
- (WebCore::RenderedPosition::isNull):
- (WebCore::RenderedPosition::rootBox):
- (WebCore::RenderedPosition::RenderedPosition):
- * editing/visible_units.cpp:
- (WebCore::startPositionForLine):
- (WebCore::endPositionForLine):
- (WebCore::logicalStartPositionForLine):
- (WebCore::logicalEndPositionForLine):
-
-2011-08-03 Roland Steiner <rolandsteiner@chromium.org>
-
- [V8] V8CSSRuleCustom.cpp: not all enum values are listed in switch statement
- https://bugs.webkit.org/show_bug.cgi?id=65598
-
- Reviewed by Dimitri Glazkov.
-
- Added UNKNOWN_RULE to the switch statement.
-
- No new tests. (No semantic change)
-
- * bindings/v8/custom/V8CSSRuleCustom.cpp:
- (WebCore::toV8):
-
-2011-08-03 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
- https://bugs.webkit.org/show_bug.cgi?id=65510
-
- Reviewed by Yury Semikhatsky.
-
- * WebCore.exp.in:
- * WebCore.order:
- * inspector/DOMNodeHighlighter.cpp:
- (WebCore::DOMNodeHighlighter::drawRectHighlight):
- * inspector/DOMNodeHighlighter.h:
- * inspector/Inspector.json:
- * inspector/InspectorController.cpp:
- (WebCore::InspectorController::drawHighlight):
- * inspector/InspectorController.h:
- * inspector/InspectorDOMAgent.cpp:
- (WebCore::InspectorDOMAgent::highlightRect):
- (WebCore::InspectorDOMAgent::hideHighlight):
- (WebCore::InspectorDOMAgent::drawHighlight):
- * inspector/InspectorDOMAgent.h:
- * inspector/front-end/ResourcesPanel.js:
- (WebInspector.FrameTreeElement.prototype.onselect):
- (WebInspector.FrameTreeElement.prototype.set hovered):
- * inspector/front-end/TimelinePanel.js:
- (WebInspector.TimelinePanel):
- (WebInspector.TimelinePanel.prototype._mouseOut):
- (WebInspector.TimelinePanel.prototype._mouseMove):
- (WebInspector.TimelinePanel.prototype._highlightRect):
- (WebInspector.TimelinePanel.prototype._hideRectHighlight):
- * inspector/front-end/inspector.js:
- (WebInspector.highlightDOMNode):
-
-2011-08-03 Pavel Feldman <pfeldman@google.com>
-
- Web Inspector: make text in popover selectable + make popover re-appear faster.
- https://bugs.webkit.org/show_bug.cgi?id=65603
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/front-end/Popover.js:
- (WebInspector.PopoverHelper.prototype.setTimeout):
- (WebInspector.PopoverHelper.prototype._mouseMove):
- (WebInspector.PopoverHelper.prototype._handleMouseAction):
- * inspector/front-end/popover.css:
- (.popover .content):
-
-2011-08-03 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: Console scroll position should be saved when switching panels.
- https://bugs.webkit.org/show_bug.cgi?id=65607
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype._formatAsArrayEntry):
- (WebInspector.ConsoleView.prototype.get scrollLeft):
- (WebInspector.ConsoleView.prototype.set scrollLeft):
- (WebInspector.ConsoleView.prototype.get scrollTop):
- (WebInspector.ConsoleView.prototype.set scrollTop):
- * inspector/front-end/Drawer.js:
- (WebInspector.Drawer.prototype.show):
- (WebInspector.Drawer.prototype._endStatusBarDragging):
- (WebInspector.Drawer.prototype.get scrollLeft):
- (WebInspector.Drawer.prototype.set scrollLeft):
- (WebInspector.Drawer.prototype.get scrollTop):
- (WebInspector.Drawer.prototype.set scrollTop):
-
-2011-08-03 Philippe Normand <pnormand@igalia.com>
-
- libsoup-CRITICAL **: soup_message_io_pause: assertion `io != NULL' failed
- https://bugs.webkit.org/show_bug.cgi?id=64263
-
- Reviewed by Martin Robinson.
-
- Avoid any operation on not yet started messages and completed messages.
-
- * platform/network/ResourceHandleInternal.h:
- (WebCore::ResourceHandleInternal::ResourceHandleInternal):
- * platform/network/soup/ResourceHandleSoup.cpp:
- (WebCore::finishedCallback):
- (WebCore::startHTTPRequest):
- (WebCore::ResourceHandle::platformSetDefersLoading):
-
-2011-08-03 Jeremy Moskovich <jeremy@chromium.org>
-
- [Chromium] Fix OOP font loading to work on 10.6.6 and above.
- https://bugs.webkit.org/show_bug.cgi?id=65543
-
- In 10.6.6 the function used to get the unique ID for an NSFont in the
- renderer was changed so it fails in the sandbox (it now tries to access
- the on-disk font file). In order to work around this, we get the font
- ID from the browser process.
-
- To speed things up, we introduce 2 levels of caching in WebKit. A font
- name cache where we can perform a quick lookup without the need for the
- font id and a font id cache which we can only lookup in after getting
- the unique ID from the browser process.
-
- Reviewed by Kenneth Russell.
-
- No new tests since this is not readily testable.
-
- * platform/chromium/PlatformBridge.h:
- * platform/graphics/chromium/CrossProcessFontLoading.h:
- * platform/graphics/chromium/CrossProcessFontLoading.mm:
- (WebCore::MemoryActivatedFont::create):
- (WebCore::MemoryActivatedFont::MemoryActivatedFont):
- (WebCore::MemoryActivatedFont::~MemoryActivatedFont):
-
-2011-08-03 Hayato Ito <hayato@chromium.org>
-
- Make EventDispatchMediator RefCounted.
- https://bugs.webkit.org/show_bug.cgi?id=65529
-
- Reviewed by Hajime Morita.
-
- Make EventDispatchMediator RefCounted so that it can be enqueued into a
- ScopedEventQueue and called later.
- A necessary change for ScopedEventQueue should be addressed in another patch.
-
- This is a minor update of r92256, which failed on chromium win builds.
-
- No changes to functionality so no new tests.
-
- * dom/Event.cpp:
- (WebCore::EventDispatchMediator::create):
- * dom/Event.h:
- * dom/EventDispatcher.cpp:
- (WebCore::EventDispatcher::dispatchEvent):
- * dom/EventDispatcher.h:
- * dom/KeyboardEvent.cpp:
- (WebCore::KeyboardEventDispatchMediator::create):
- * dom/KeyboardEvent.h:
- * dom/MouseEvent.cpp:
- (WebCore::MouseEventDispatchMediator::create):
- * dom/MouseEvent.h:
- * dom/Node.cpp:
- (WebCore::Node::dispatchEvent):
- (WebCore::Node::dispatchKeyEvent):
- (WebCore::Node::dispatchMouseEvent):
- (WebCore::Node::dispatchWheelEvent):
- * dom/WheelEvent.cpp:
- (WebCore::WheelEventDispatchMediator::create):
- * dom/WheelEvent.h:
-
-2011-08-03 Pavel Feldman <pfeldman@chromium.org>
-
- Web Inspector: remove Node parameter from the InspectorClient::highlight
- https://bugs.webkit.org/show_bug.cgi?id=65549
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/InspectorClient.h:
- * inspector/InspectorDOMAgent.cpp:
- (WebCore::InspectorDOMAgent::highlight):
- * loader/EmptyClients.h:
- (WebCore::EmptyInspectorClient::highlight):
-
-2011-08-03 Antti Koivisto <antti@apple.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=65599
- Image loads should trigger didFirstVisuallyNonEmptyLayout more easily
-
- Reviewed by Dan Bernstein.
-
- Tweak the heuristic pixel count so logo-sized images trigger didFirstVisuallyNonEmptyLayout.
-
- * page/FrameView.h:
- (WebCore::FrameView::incrementVisuallyNonEmptyPixelCount):
-
-2011-08-03 Takashi Toyoshima <toyoshim@chromium.org>
-
- WebSocket: Could not handle zero length text frame.
- https://bugs.webkit.org/show_bug.cgi?id=65592
-
- Reviewed by Kent Tamura.
-
- Test: http/tests/websocket/tests/hybi/zero-length-text.html
-
- * websockets/WebSocketChannel.cpp:
- (WebCore::WebSocketChannel::processFrame):
-
-2011-08-02 Pratik Solanki <psolanki@apple.com>
-
- Crash in ResourceResponse::platformCompare() with USE(CFNETWORK)
- https://bugs.webkit.org/show_bug.cgi?id=65584
-
- Reviewed by David Kilzer.
-
- * platform/network/cf/ResourceResponseCFNet.cpp:
- (WebCore::ResourceResponse::platformCompare): Don't call CFEqual with 0 as an argument.
-
-2011-08-02 Takashi Toyoshima <toyoshim@chromium.org>
-
- WebSocket: Should be closed by receiving invalid continuation frame.
-
- https://bugs.webkit.org/show_bug.cgi?id=65527
-
- Reviewed by Kent Tamura.
-
- Test: http/tests/websocket/tests/hybi/invalid-continuation.html
-
- * websockets/WebSocketChannel.cpp:
- (WebCore::WebSocketChannel::processFrame):
-
-2011-08-02 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r92256.
- http://trac.webkit.org/changeset/92256
- https://bugs.webkit.org/show_bug.cgi?id=65593
-
- Causing tons of crashes on the chromium win bots (Requested by
- jamesr on #webkit).
-
- * dom/Event.cpp:
- * dom/Event.h:
- * dom/EventDispatcher.cpp:
- (WebCore::EventDispatcher::dispatchEvent):
- * dom/EventDispatcher.h:
- * dom/KeyboardEvent.cpp:
- * dom/KeyboardEvent.h:
- * dom/MouseEvent.cpp:
- * dom/MouseEvent.h:
- * dom/Node.cpp:
- (WebCore::Node::dispatchEvent):
- (WebCore::Node::dispatchKeyEvent):
- (WebCore::Node::dispatchMouseEvent):
- (WebCore::Node::dispatchWheelEvent):
- * dom/WheelEvent.cpp:
- * dom/WheelEvent.h:
-
-2011-08-02 Hayato Ito <hayato@chromium.org>
-
- Make EventDispatchMediator RefCounted.
- https://bugs.webkit.org/show_bug.cgi?id=65529
-
- Reviewed by Dimitri Glazkov.
-
- Make EventDispatchMediator RefCounted so that it can be enqueued into a
- ScopedEventQueue and called later.
- A necessary change for ScopedEventQueue should be addressed in another patch.
-
- No changes to functionality so no new tests.
-
- * dom/Event.cpp:
- (WebCore::EventDispatchMediator::create):
- * dom/Event.h:
- * dom/EventDispatcher.cpp:
- (WebCore::EventDispatcher::dispatchEvent):
- * dom/EventDispatcher.h:
- * dom/KeyboardEvent.cpp:
- (WebCore::KeyboardEventDispatchMediator::create):
- * dom/KeyboardEvent.h:
- * dom/MouseEvent.cpp:
- (WebCore::MouseEventDispatchMediator::create):
- * dom/MouseEvent.h:
- * dom/Node.cpp:
- (WebCore::Node::dispatchEvent):
- (WebCore::Node::dispatchKeyEvent):
- (WebCore::Node::dispatchMouseEvent):
- (WebCore::Node::dispatchWheelEvent):
- * dom/WheelEvent.cpp:
- (WebCore::WheelEventDispatchMediator::create):
- * dom/WheelEvent.h:
-
-2011-08-02 David Reveman <reveman@chromium.org>
-
- [Chromium] Use edge-distance method for layer anti-aliasing.
- https://bugs.webkit.org/show_bug.cgi?id=64942
-
- Reviewed by James Robinson.
-
- Use an edge distance based method instead of the current linear
- filtering method for producing anti-aliased edges on 3D transformed
- layers. This removes the outer border handling from TilingData as
- it's no longer needed for anti-aliasing.
-
- Tests: platform/chromium/compositing/tiny-layer-rotated.html (existing)
- platform/chromium/compositing/huge-layer-rotated.html (existing)
- compositing/images/content-image-change.html (existing)
- TilingDataTest in webkit_unit_tests
-
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::screenMatrix):
- (WebCore::LayerRendererChromium::drawLayers):
- (WebCore::LayerRendererChromium::setDrawViewportRect):
- (WebCore::LayerRendererChromium::tilerProgramAA):
- (WebCore::LayerRendererChromium::tilerProgramSwizzleAA):
- * platform/graphics/chromium/LayerRendererChromium.h:
- (WebCore::LayerRendererChromium::windowMatrix):
- * platform/graphics/chromium/LayerTilerChromium.cpp:
- (WebCore::LayerTilerChromium::setTileSize):
- (WebCore::LayerTilerChromium::tileLayerRect):
- (WebCore::LayerTilerChromium::invalidateRect):
- (WebCore::LayerTilerChromium::prepareToUpdate):
- (WebCore::LayerTilerChromium::updateRect):
- (WebCore::LayerTilerChromium::draw):
- (WebCore::LayerTilerChromium::growLayerToContain):
- (WebCore::LayerTilerChromium::drawTiles):
- * platform/graphics/chromium/LayerTilerChromium.h:
- * platform/graphics/chromium/ShaderChromium.cpp:
- (WebCore::VertexShaderTile::VertexShaderTile):
- (WebCore::VertexShaderTile::init):
- (WebCore::VertexShaderTile::getShaderString):
- (WebCore::FragmentTexAlphaAABinding::FragmentTexAlphaAABinding):
- (WebCore::FragmentTexAlphaAABinding::init):
- (WebCore::FragmentShaderRGBATexAlphaAA::getShaderString):
- (WebCore::FragmentShaderRGBATexSwizzleAlphaAA::getShaderString):
- * platform/graphics/chromium/ShaderChromium.h:
- (WebCore::VertexShaderTile::vertexTexTransformLocation):
- (WebCore::FragmentTexAlphaAABinding::alphaLocation):
- (WebCore::FragmentTexAlphaAABinding::samplerLocation):
- (WebCore::FragmentTexAlphaAABinding::fragmentTexTransformLocation):
- (WebCore::FragmentTexAlphaAABinding::edgeLocation):
- * platform/graphics/chromium/TiledLayerChromium.cpp:
- (WebCore::TiledLayerChromium::TiledLayerChromium):
- (WebCore::TiledLayerChromium::updateTileSizeAndTilingOption):
- (WebCore::TiledLayerChromium::createTilerIfNeeded):
- (WebCore::TiledLayerChromium::setIsMask):
- * platform/graphics/chromium/TiledLayerChromium.h:
- * platform/graphics/gpu/TilingData.cpp:
- (WebCore::computeNumTiles):
- (WebCore::TilingData::tileXIndexFromSrcCoord):
- (WebCore::TilingData::tileYIndexFromSrcCoord):
- (WebCore::TilingData::tileSizeX):
- (WebCore::TilingData::tileSizeY):
- (WebCore::TilingData::intersectDrawQuad):
- (WebCore::TilingData::textureOffset):
- * platform/graphics/gpu/TilingData.h:
-
-2011-08-01 David Levin <levin@chromium.org>
-
- Add asserts to RefCounted to make sure ref/deref happens on the right thread.
- https://bugs.webkit.org/show_bug.cgi?id=31639
-
- Reviewed by Dmitry Titov.
-
- No new functionality exposed so no new tests. (The change is basically adding
- more testing.)
-
- * ForwardingHeaders/wtf/ThreadRestrictionVerifier.h: Added.
- * loader/icon/IconDatabase.cpp:
- (WebCore::IconDatabase::defaultIcon): Set the mutex which does the guarding of the variable.
- (WebCore::IconDatabase::setIconDataForIconURL): Ditto.
- (WebCore::IconDatabase::getOrCreateIconRecord): Ditto.
- (WebCore::IconDatabase::readFromDatabase): Ditto.
-
-2011-08-02 Luke Macpherson <macpherson@chromium.org>
-
- Clean up value clampling in CSSStyleSelector and CSSPrimitiveValue.
- https://bugs.webkit.org/show_bug.cgi?id=65441
-
- Reviewed by Simon Fraser.
-
- No new tests / refactoring only.
-
- * css/CSSPrimitiveValue.h:
- (WebCore::CSSPrimitiveValue::getFloatValue):
- Implement in terms of the new templated getValue().
- (WebCore::CSSPrimitiveValue::getIntValue):
- Implement in terms of the new templated getValue().
- (WebCore::CSSPrimitiveValue::getValue):
- Templated getValue that works for all numeric types.
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Use getValue<short> instead of rolling-your-own clamp to short.
-
-2011-08-02 Julien Chaffraix <jchaffraix@webkit.org>
-
- RenderObject::computeRectForRepaint and clippedOverflowRectForRepaint should be const
- https://bugs.webkit.org/show_bug.cgi?id=65494
-
- Reviewed by Darin Adler.
-
- No new tests, const-ness change only.
-
- * rendering/RenderObject.h:
- (WebCore::RenderObject::absoluteClippedOverflowRect):
- (WebCore::RenderObject::computeAbsoluteRepaintRect):
- Made those 2 const as they call a const method now.
-
- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::clippedOverflowRectForRepaint): Use a const RenderObject* for iterating as
- this is const.
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::rectWithOutlineForRepaint):
- * rendering/RenderBlock.h:
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::clippedOverflowRectForRepaint):
- (WebCore::RenderBox::computeRectForRepaint):
- * rendering/RenderBox.h:
- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::clippedOverflowRectForRepaint):
- (WebCore::RenderInline::rectWithOutlineForRepaint):
- (WebCore::RenderInline::computeRectForRepaint):
- * rendering/RenderInline.h:
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::rectWithOutlineForRepaint):
- (WebCore::RenderObject::clippedOverflowRectForRepaint):
- (WebCore::RenderObject::computeRectForRepaint):
- * rendering/RenderReplaced.cpp:
- (WebCore::RenderReplaced::clippedOverflowRectForRepaint):
- * rendering/RenderReplaced.h:
- * rendering/RenderTableCell.cpp:
- (WebCore::RenderTableCell::clippedOverflowRectForRepaint):
- (WebCore::RenderTableCell::computeRectForRepaint):
- * rendering/RenderTableCell.h:
- * rendering/RenderTableCol.cpp:
- (WebCore::RenderTableCol::clippedOverflowRectForRepaint):
- * rendering/RenderTableCol.h:
- * rendering/RenderTableRow.cpp:
- (WebCore::RenderTableRow::clippedOverflowRectForRepaint):
- * rendering/RenderTableRow.h:
- * rendering/RenderText.cpp:
- (WebCore::RenderText::clippedOverflowRectForRepaint):
- * rendering/RenderText.h:
- * rendering/RenderView.cpp:
- (WebCore::RenderView::computeRectForRepaint):
- * rendering/RenderView.h:
- * rendering/svg/RenderSVGForeignObject.cpp:
- (WebCore::RenderSVGForeignObject::clippedOverflowRectForRepaint):
- (WebCore::RenderSVGForeignObject::computeRectForRepaint):
- * rendering/svg/RenderSVGForeignObject.h:
- * rendering/svg/RenderSVGGradientStop.h:
- (WebCore::RenderSVGGradientStop::clippedOverflowRectForRepaint):
- * rendering/svg/RenderSVGHiddenContainer.h:
- (WebCore::RenderSVGHiddenContainer::clippedOverflowRectForRepaint):
- * rendering/svg/RenderSVGInline.cpp:
- (WebCore::RenderSVGInline::clippedOverflowRectForRepaint):
- (WebCore::RenderSVGInline::computeRectForRepaint):
- * rendering/svg/RenderSVGInline.h:
- * rendering/svg/RenderSVGModelObject.cpp:
- (WebCore::RenderSVGModelObject::clippedOverflowRectForRepaint):
- (WebCore::RenderSVGModelObject::computeRectForRepaint):
- * rendering/svg/RenderSVGModelObject.h:
- * rendering/svg/RenderSVGRoot.cpp:
- (WebCore::RenderSVGRoot::clippedOverflowRectForRepaint):
- (WebCore::RenderSVGRoot::computeRectForRepaint):
- * rendering/svg/RenderSVGRoot.h:
- * rendering/svg/RenderSVGText.cpp:
- (WebCore::RenderSVGText::clippedOverflowRectForRepaint):
- (WebCore::RenderSVGText::computeRectForRepaint):
- * rendering/svg/RenderSVGText.h:
- * rendering/svg/SVGRenderSupport.cpp:
- (WebCore::SVGRenderSupport::clippedOverflowRectForRepaint):
- (WebCore::SVGRenderSupport::computeRectForRepaint):
- * rendering/svg/SVGRenderSupport.h:
- Updated the following method's signature to use a const object.
-
-2011-08-02 Jeffrey Pfau <jpfau@apple.com>
-
- Add namespace prefix support in XML tokenizer
- https://bugs.webkit.org/show_bug.cgi?id=65578
-
- Reviewed by Adam Barth.
-
- This also changes markup debug printing to print to stderr instead of stdout
-
- * xml/parser/MarkupTokenBase.h:
- (WebCore::MarkupTokenBase::printString):
- * xml/parser/XMLToken.h:
- (WebCore::XMLToken::XMLDeclarationData::XMLDeclarationData):
- (WebCore::XMLToken::clear):
- (WebCore::XMLToken::appendToName):
- (WebCore::XMLToken::name):
- (WebCore::XMLToken::target):
- (WebCore::XMLToken::data):
- (WebCore::XMLToken::prefix):
- (WebCore::XMLToken::xmlDeclarationData):
- (WebCore::XMLToken::endPrefix):
- (WebCore::XMLToken::hasPrefix):
- (WebCore::XMLToken::endAttributePrefix):
- (WebCore::XMLToken::attributeHasPrefix):
- (WebCore::XMLToken::printAttrs):
- (WebCore::XMLToken::print):
- * xml/parser/XMLTokenizer.cpp:
- (WebCore::XMLTokenizer::nextToken):
-
-2011-08-02 Zhenyao Mo <zmo@google.com>
-
- Unreviewed, rolling out r92238.
- http://trac.webkit.org/changeset/92238
- https://bugs.webkit.org/show_bug.cgi?id=65555
-
- fail fast/events/scrollbar-double-click.html on Mac
-
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
- * platform/chromium/ScrollbarThemeChromiumMac.h:
- * platform/chromium/ScrollbarThemeChromiumMac.mm:
- (WebCore::ScrollbarThemeChromiumMac::registerScrollbar):
- (WebCore::ScrollbarThemeChromiumMac::setNewPainterForScrollbar):
- (WebCore::toScrollbarPainterKnobStyle):
- (WebCore::ScrollbarThemeChromiumMac::paint):
-
-2011-08-02 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from History.idl
- https://bugs.webkit.org/show_bug.cgi?id=65572
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * page/History.idl:
-
-2011-08-02 Mark Pilgrim <pilgrim@chromium.org>
-
- Remove LegacyDefaultOptionalArguments flag from WebKitAnimationList.idl
- https://bugs.webkit.org/show_bug.cgi?id=65571
-
- Reviewed by Adam Barth.
-
- No new tests, all existing tests pass.
-
- * page/WebKitAnimationList.idl:
-
-2011-08-02 James Robinson <jamesr@chromium.org>
-
- [chromium] Decouple layer visibility calculations from render surfaces / computed draw transforms
- https://bugs.webkit.org/show_bug.cgi?id=58840
-
- Reviewed by Kenneth Russell.
-
- This decouples the layer visibility related calculations from the LayerChromium and CCLayerImpl trees. This is
- done by making LayerRendererChromium's "calculate the world" function (renamed
- calculateDrawTransformsAndVisibility()) a templated, free function that can operate on either LayerChromium +
- RenderSurfaceChromium pairs or on CCLayerImpl + CCRenderSurface pairs and invoking it twice, once before
- painting and once before drawing. Before painting, these calculations are used to determine which layers are
- potentially visible and should be painted, which depends on the calculated opacity, render surface bounds, and
- draw transforms. Before drawing, these calculations are used to figure out everything needed to draw.
-
- RenderSurfaceChromium is now used just for visibility calculations when painting. CCRenderSurfaceChromium is
- responsible for actually drawing the render surfaces.
-
- This does mean that in the current implementation the second calculations are redundant, but in the future this
- won't be the case since the pre-draw time calculations might be influenced by animations or gestures. I've
- added some traces to try to monitor if this math is a significant amount of the per-frame computation. Note
- that layer sorting only happens on the CCLayerImpl tree and the layer sort algorithm is the most expensive part
- of the calculations currently.
-
- This removes all of the weak back/forward pointers between LayerChromium and CCLayerImpls, the trees are now
- truly decoupled.
-
- Covered by compositing/ tests.
-
- * WebCore.gypi:
- * platform/graphics/chromium/CanvasLayerChromium.cpp:
- (WebCore::CanvasLayerChromium::createCCLayerImpl):
- * platform/graphics/chromium/LayerChromium.cpp:
- (WebCore::LayerChromium::LayerChromium):
- (WebCore::LayerChromium::~LayerChromium):
- (WebCore::LayerChromium::createCCLayerImpl):
- (WebCore::LayerChromium::createRenderSurface):
- (WebCore::LayerChromium::descendantsDrawsContent):
- * platform/graphics/chromium/LayerChromium.h:
- (WebCore::LayerChromium::setUsesLayerScissor):
- (WebCore::LayerChromium::usesLayerScissor):
- (WebCore::LayerChromium::clearRenderSurface):
- (WebCore::LayerChromium::renderSurface):
- (WebCore::LayerChromium::drawOpacity):
- (WebCore::LayerChromium::setDrawOpacity):
- (WebCore::LayerChromium::scissorRect):
- (WebCore::LayerChromium::setScissorRect):
- (WebCore::LayerChromium::targetRenderSurface):
- (WebCore::LayerChromium::setTargetRenderSurface):
- (WebCore::LayerChromium::drawTransform):
- (WebCore::LayerChromium::setDrawTransform):
- (WebCore::LayerChromium::drawableContentRect):
- (WebCore::LayerChromium::setDrawableContentRect):
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::LayerRendererChromium::updateLayers):
- (WebCore::LayerRendererChromium::drawLayers):
- (WebCore::LayerRendererChromium::paintLayerContents):
- (WebCore::LayerRendererChromium::drawLayersInternal):
- (WebCore::LayerRendererChromium::updateCompositorResources):
- (WebCore::LayerRendererChromium::setCompositeOffscreen):
- (WebCore::LayerRendererChromium::getOffscreenLayerTexture):
- (WebCore::LayerRendererChromium::useRenderSurface):
- (WebCore::LayerRendererChromium::drawLayer):
- (WebCore::LayerRendererChromium::initializeSharedObjects):
- (WebCore::LayerRendererChromium::renderSurfaceProgram):
- (WebCore::LayerRendererChromium::renderSurfaceMaskProgram):
- (WebCore::LayerRendererChromium::dumpRenderSurfaces):
- * platform/graphics/chromium/LayerRendererChromium.h:
- * platform/graphics/chromium/PluginLayerChromium.cpp:
- (WebCore::PluginLayerChromium::createCCLayerImpl):
- * platform/graphics/chromium/RenderSurfaceChromium.cpp:
- (WebCore::RenderSurfaceChromium::RenderSurfaceChromium):
- (WebCore::RenderSurfaceChromium::~RenderSurfaceChromium):
- * platform/graphics/chromium/RenderSurfaceChromium.h:
- (WebCore::RenderSurfaceChromium::clearLayerList):
- (WebCore::RenderSurfaceChromium::layerList):
- (WebCore::RenderSurfaceChromium::setMaskLayer):
- * platform/graphics/chromium/TiledLayerChromium.cpp:
- (WebCore::TiledLayerChromium::createCCLayerImpl):
- (WebCore::TiledLayerChromium::tilingTransform):
- * platform/graphics/chromium/TreeSynchronizer.cpp:
- (WebCore::TreeSynchronizer::synchronizeTreeRecursive):
- * platform/graphics/chromium/VideoLayerChromium.cpp:
- (WebCore::VideoLayerChromium::createCCLayerImpl):
- * platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp:
- (WebCore::CCCanvasLayerImpl::CCCanvasLayerImpl):
- * platform/graphics/chromium/cc/CCCanvasLayerImpl.h:
- (WebCore::CCCanvasLayerImpl::create):
- * platform/graphics/chromium/cc/CCLayerImpl.cpp:
- (WebCore::CCLayerImpl::CCLayerImpl):
- (WebCore::CCLayerImpl::~CCLayerImpl):
- (WebCore::CCLayerImpl::createRenderSurface):
- (WebCore::CCLayerImpl::bindContentsTexture):
- * platform/graphics/chromium/cc/CCLayerImpl.h:
- (WebCore::CCLayerImpl::create):
- (WebCore::CCLayerImpl::renderSurface):
- (WebCore::CCLayerImpl::targetRenderSurface):
- (WebCore::CCLayerImpl::setTargetRenderSurface):
- * platform/graphics/chromium/cc/CCLayerSorter.cpp:
- (WebCore::CCLayerSorter::createGraphNodes):
- * platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
- (WebCore::CCPluginLayerImpl::CCPluginLayerImpl):
- * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
- (WebCore::CCPluginLayerImpl::create):
- * platform/graphics/chromium/cc/CCRenderSurface.cpp: Copied from Source/WebCore/platform/graphics/chromium/RenderSurfaceChromium.cpp.
- (WebCore::CCRenderSurface::CCRenderSurface):
- (WebCore::CCRenderSurface::~CCRenderSurface):
- (WebCore::CCRenderSurface::cleanupResources):
- (WebCore::CCRenderSurface::layerRenderer):
- (WebCore::CCRenderSurface::drawableContentRect):
- (WebCore::CCRenderSurface::prepareContentsTexture):
- (WebCore::CCRenderSurface::releaseContentsTexture):
- (WebCore::CCRenderSurface::drawSurface):
- (WebCore::CCRenderSurface::draw):
- (WebCore::CCRenderSurface::name):
- (WebCore::writeIndent):
- (WebCore::CCRenderSurface::dumpSurfa