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

Unified Diff: Source/WebCore/ChangeLog

Side-by-side diff isn't available for this file because of its large size.
Issue 9617034: Merge 109104 - Percent width/height SVG not always scaled on window resize (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: Source/WebCore/ChangeLog
===================================================================
--- Source/WebCore/ChangeLog (revision 109989)
+++ Source/WebCore/ChangeLog (working copy)
@@ -1,9386 +1,3 @@
-2012-03-06 Vangelis Kokkevis <vangelis@chromium.org>
-
- [chromium] Increase the accelerated canvas min size to 256 * 256
- https://bugs.webkit.org/show_bug.cgi?id=80451
-
- Reviewed by Stephen White.
-
- Test: Manually
-
- * page/Settings.cpp:
- (WebCore::Settings::Settings):
-
-2012-03-06 Kentaro Hara <haraken@chromium.org>
-
- [V8][Performance] Optimize V8 bindings for HTMLElement.classList,
- Element.dataset and Node.attributes
- https://bugs.webkit.org/show_bug.cgi?id=80376
-
- Reviewed by Adam Barth.
-
- This patch improves the performance of HTMLElement.classList, Element.dataset
- and Node.attributes by 6.4 times, 7.1 times and 10.9 times, respectively.
-
- Previously, a 'hiddenReferenceName' string was allocated on v8::Handle and
- created every time the DOM attribute is accessed, in spite of the fact that
- the 'hiddenReferenceName' string is static.
-
- This patch moves the 'hiddenReferenceName' string to v8::Persistent and makes it static.
- Also, this patch removes 'if (!elementValue.IsEmpty() && elementValue->IsObject())',
- since if 'element' exists, it is guaranteed that 'elementValue' is not empty
- and is an Object.
-
- Performance tests: https://bugs.webkit.org/attachment.cgi?id=130283
-
- AppleWebKit/JavaScriptCore:
- div.classList : 382ms
- div.classList.foo = 123 : 335ms
- div.dataset : 403ms
- div.dataset.foo = 123 : 5250ms
- div.attributes : 183ms
-
- Chromium/V8 (without this patch):
- div.classList : 9140ms
- div.classList.foo = 123 : 9086ms
- div.dataset : 9930ms
- div.dataset.foo = 123 : 49698ms
- div.attributes : 13489ms
-
- Chromium/V8 (with this patch):
- div.classList : 1435ms
- div.classList.foo = 123 : 1470ms
- div.dataset : 1400ms
- div.dataset.foo = 123 : 30396ms
- div.attributes : 1242ms
-
- No tests. No change in behavior.
-
- * bindings/v8/custom/V8DOMStringMapCustom.cpp: Modified as described above.
- (WebCore::toV8):
- * bindings/v8/custom/V8DOMTokenListCustom.cpp: Ditto.
- (WebCore::toV8):
- * bindings/v8/custom/V8NamedNodeMapCustom.cpp: Ditto.
- (WebCore::toV8):
-
- * bindings/v8/V8HiddenPropertyName.cpp: Defined a hidden property name string statically
- to optimize the macro.
- (WebCore):
- (WebCore::V8HiddenPropertyName::hiddenReferenceName):
- * bindings/v8/V8HiddenPropertyName.h: Modified to switch two prefixes "WebCore::HiddenProperty::"
- and "WebCore::HiddenReference::", depending on whether a given name represents a hidden property
- or a hidden reference.
- (WebCore):
- (V8HiddenPropertyName):
-
-2012-03-06 Alexis Menard <alexis.menard@openbossa.org>
-
- getComputedStyle returns incorrect values for the width and height of pseudo-elements
- https://bugs.webkit.org/show_bug.cgi?id=37835
-
- Reviewed by Tony Chang.
-
- In case we are querying the computed style of an element with a pseudo-element we can't use
- the renderer of the element as this one is not the one used to render the pseudo-element. We need
- to use the one created to render the pseudo-element.
-
- No new tests : Extend the existing getComputedStyle-with-pseudo-element.
-
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
-
-2012-03-06 Shawn Singh <shawnsingh@chromium.org>
-
- [chromium] Make compositeAndReadback and damage tracking play nicely together
- https://bugs.webkit.org/show_bug.cgi?id=80199
-
- Reviewed by James Robinson.
-
- Requires system-level testing (pixels on front-buffer should be
- observed for correct behavior) that cannot be done by layout tests
- or unit tests, have to rely on manual testing.
-
- * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
- (WebCore::CCSingleThreadProxy::compositeAndReadback):
-
-2012-03-06 Luke Macpherson <macpherson@chromium.org>
-
- Make CSSStyleSelector::convertToLength() behave more like CSSPrimitiveValue::convertToLength().
- https://bugs.webkit.org/show_bug.cgi?id=80375
-
- Reviewed by Eric Seidel.
-
- No new tests / cleanup only.
-
- This patch removes the bool* ok parameter from CSSStyleSelector's convertToLength,
- and instead uses the recently added Length(Undefined) value to indicate failure.
- This paves the way for a future patch that will call primitiveValue->convertToLength directly.
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::collectMatchingRulesForList):
-
-2012-03-06 Raymes Khoury <raymes@chromium.org>
-
- Add state variable and ASSERTs to DocumentWriter to help track down
- https://bugs.webkit.org/show_bug.cgi?id=80427 and prevent illegal usage
- of DocumentWriter. This also makes endIfNotLoadingMainResource() private
- as there is no external usage.
-
- Reviewed by Adam Barth.
-
- This only adds ASSERT/CRASH and does not change existing behaviour.
-
- * loader/DocumentWriter.cpp:
- (WebCore::DocumentWriter::DocumentWriter):
- (WebCore::DocumentWriter::begin):
- (WebCore::DocumentWriter::addData):
- (WebCore::DocumentWriter::endIfNotLoadingMainResource):
- (WebCore::DocumentWriter::setDocumentWasLoadedAsPartOfNavigation):
- * loader/DocumentWriter.h:
- (DocumentWriter):
-
-2012-03-06 Mihnea Ovidenie <mihnea@adobe.com>
-
- [CSSRegions][CSSOM]Restrict parsing of named flow name
- https://bugs.webkit.org/show_bug.cgi?id=80359
-
- Reviewed by Andreas Kling.
-
- The function that does the parsing for flow thread name should restrict the
- number of parsed properties to 1, otherwise it would allow parsing of
- "-webkit-flow-into: flow; color: red;" constructions.
-
- Modified fast/regions/webkit-named-flow-invalid-name.html to include the above case.
-
- * css/CSSParser.cpp:
- (WebCore::validFlowName):
- (WebCore::CSSParser::parseFlowThread):
-
-2012-03-06 Joseph Pecoraro <pecoraro@apple.com>
-
- Unreviewed build fix for minimal build after r109939.
-
- Guard access to page->inspectorController with ENABLE(INSPECTOR).
-
- * page/FrameView.cpp:
- (WebCore::FrameView::performPostLayoutTasks):
-
-2012-03-05 Dean Jackson <dino@apple.com>
-
- Enable compositing when a CSS filter is animating
- https://bugs.webkit.org/show_bug.cgi?id=79048
-
- Reviewed by Simon Fraser.
-
- Now that some systems (e.g. OS X) have both hardware accelerated
- CSS filters, and the ability to animate them via the hardware
- compositor, all CSS filters should be composited when animating.
-
- Tests: css3/filters/composited-during-animation-layertree.html
- css3/filters/composited-during-animation.html
- css3/filters/composited-during-transition-layertree.html
-
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore):
- (WebCore::supportsAcceleratedFilterAnimations):
- new method that returns true if the platform supports
- hardware animations of filters.
- (WebCore::GraphicsLayerCA::addAnimation):
- (WebCore::GraphicsLayerCA::createAnimationFromKeyframes):
- only create layer-animations if the platform supports it.
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::requiresCompositingForAnimation):
- create a compositing layer if animating a filter on a
- supported platform.
-
-2012-03-06 Stephen White <senorblanco@chromium.org>
-
- Unreviewed, rolling out r109825.
- http://trac.webkit.org/changeset/109825
- https://bugs.webkit.org/show_bug.cgi?id=79413
-
- Broke webkit_unit_tests on Chromium Win
-
- * Modules/indexeddb/IDBLevelDBBackingStore.cpp:
- (WebCore::IDBLevelDBBackingStore::open):
- * platform/leveldb/LevelDBDatabase.cpp:
- (WebCore):
- * platform/leveldb/LevelDBDatabase.h:
- (LevelDBDatabase):
-
-2012-03-06 Beth Dakin <bdakin@apple.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=80351
- InlineTextBox is using the wrong origin when calling
- addRelevantRepaintedObject
- -and corresponding-
- <rdar://problem/10970221>
-
- Reviewed by Sam Weinig.
-
- boxOrigin represents the actual location of the text. The adjustedPaintOffset
- (which I was using previously) will only correspond to the first line in a
- block of lines.
- * rendering/InlineTextBox.cpp:
- (WebCore::InlineTextBox::paint):
-
-2012-03-06 Filip Spacek <fspacek@rim.com>
-
- [BlackBerry] Disable border radius clips (r95239) for BlackBerry
- https://bugs.webkit.org/show_bug.cgi?id=80416
-
- Reviewed by Antonio Gomes
-
- The BlackBerry port suffers from the same performance
- degradation when border radius clip is enabled as Chromium.
-
- * rendering/RenderLayer.cpp:
-
-2012-03-06 Stephen White <senorblanco@chromium.org>
-
- Unreviewed, rolling out r109832.
- http://trac.webkit.org/changeset/109832
- https://bugs.webkit.org/show_bug.cgi?id=80356
-
- Broke WebSocket tests on Chrome Mac and Linux
-
- * Modules/websockets/ThreadableWebSocketChannel.h:
- (ThreadableWebSocketChannel):
- * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
- (WebCore::ThreadableWebSocketChannelClientWrapper::ThreadableWebSocketChannelClientWrapper):
- (WebCore::ThreadableWebSocketChannelClientWrapper::sendRequestResult):
- (WebCore::ThreadableWebSocketChannelClientWrapper::setSendRequestResult):
- * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
- (ThreadableWebSocketChannelClientWrapper):
- * Modules/websockets/WebSocket.cpp:
- (WebCore::WebSocket::send):
- * Modules/websockets/WebSocketChannel.cpp:
- (WebCore::WebSocketChannel::send):
- (WebCore::WebSocketChannel::enqueueTextFrame):
- (WebCore::WebSocketChannel::processOutgoingFrameQueue):
- * Modules/websockets/WebSocketChannel.h:
- (WebSocketChannel):
- (QueuedFrame):
- * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
- (WebCore::WorkerThreadableWebSocketChannel::send):
- (WebCore::workerContextDidSend):
- (WebCore::WorkerThreadableWebSocketChannel::Peer::send):
- (WebCore::WorkerThreadableWebSocketChannel::Bridge::send):
- * Modules/websockets/WorkerThreadableWebSocketChannel.h:
- (WorkerThreadableWebSocketChannel):
- (Bridge):
-
-2012-03-06 Stephen White <senorblanco@chromium.org>
-
- Unreviewed, rolling out r109840.
- http://trac.webkit.org/changeset/109840
- https://bugs.webkit.org/show_bug.cgi?id=80103
-
- Broke WebSocket tests on Chrome Mac and Linux
-
- * Modules/websockets/WebSocket.cpp:
- (WebCore::WebSocket::send):
- (WebCore::WebSocket::close):
- * Modules/websockets/WebSocketChannel.cpp:
- (WebCore::WebSocketChannel::send):
-
-2012-03-05 Joseph Pecoraro <pecoraro@apple.com>
-
- <http://webkit.org/b/78575> Web Inspector: Disable dock button when not allowed to dock
-
- There are times when an undocked inspector frontend is not allowed to
- attach to the main window. We can disable the dock button in those cases.
-
- Reviewed by Pavel Feldman.
-
- No new tests. This functionality is port specific right now.
-
- * page/FrameView.cpp:
- (WebCore::FrameView::performPostLayoutTasks):
- When the main frame is resized we let the inspector client know,
- so that it can react to it as needed.
-
- * WebCore.exp.in:
- * inspector/InspectorClient.h:
- (WebCore::InspectorClient::didResizeMainFrame):
- * inspector/InspectorController.cpp:
- * inspector/InspectorController.h:
- (WebCore::InspectorController::inspectorClient):
- Call up to the port though to the InspectorClient.
-
- * inspector/InspectorFrontendClientLocal.cpp:
- (WebCore::InspectorFrontendClientLocal::frontendLoaded):
- (WebCore::InspectorFrontendClientLocal::setDockingUnavailable):
- * inspector/InspectorFrontendClientLocal.h:
- On ports where the inspector frontend client is local, provide a
- setDockingUnavailable InspectorFrontendAPI to update the docking state.
- Automatically update availability when the frontend completes loading.
-
- * inspector/front-end/InspectorFrontendAPI.js:
- (InspectorFrontendAPI.setDockingUnavailable):
- * inspector/front-end/inspector.js:
- (WebInspector._createGlobalStatusBarItems):
- (WebInspector.setAttachedWindow):
- (WebInspector.setDockingUnavailable):
- (WebInspector.updateDockToggleButton):
- Update the dock button's enabled/disabled state when its created,
- when the attached state changes, when get a frontend API notification
- that we cannot attach.
-
- * inspector/front-end/InspectorFrontendHostStub.js:
- Remove unused canAttachWindow method.
-
-2012-03-06 Hans Wennborg <hans@chromium.org>
-
- Speech JavaScript API: add SpeechRecognitionError
- https://bugs.webkit.org/show_bug.cgi?id=80410
-
- Reviewed by Adam Barth.
-
- Add SpeechRecognitionError.
-
- Test: fast/speech/scripted/speechrecognitionerror-basics.html
-
- * Modules/speech/DOMWindowSpeech.idl: Added.
- * Modules/speech/SpeechRecognitionError.cpp: Added.
- (WebCore):
- (WebCore::SpeechRecognitionError::create):
- (WebCore::SpeechRecognitionError::SpeechRecognitionError):
- * Modules/speech/SpeechRecognitionError.h: Added.
- (WebCore):
- (SpeechRecognitionError):
- (WebCore::SpeechRecognitionError::code):
- (WebCore::SpeechRecognitionError::message):
- * Modules/speech/SpeechRecognitionError.idl: Added.
- * WebCore.gyp/WebCore.gyp:
- * WebCore.gypi:
-
-2012-03-06 David Corvoysier <david.corvoysier@orange.com>
-
- Unreleased gst_object_reference to audio sink in MediaPlayerPrivateGStreamer
- https://bugs.webkit.org/show_bug.cgi?id=79795
-
- Bug fix: Used a GRefPtr to hold the reference to the audio sink instead of a GstElement*.
- Code cleanup: Used the same pattern for webkit web source and removed explicit gst_unref in destructor.
-
- Reviewed by Philippe Normand.
-
- No new tests. No change in behavior.
-
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
- (WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer):
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
- (MediaPlayerPrivateGStreamer):
-
-2012-03-06 Patrick Gansterer <paroga@webkit.org>
-
- [CMake] Build fix for !ENABLE(WORKERS) after r109556 and r109833.
-
- * CMakeLists.txt:
-
-2012-03-06 Allan Sandfeld Jensen <allan.jensen@nokia.com>
-
- [Qt][WK2] Crash in Frame.cpp when loading index.hu
- https://bugs.webkit.org/show_bug.cgi?id=80165
-
- Guard against possible null document, which can happen
- when unsetting a document in a frame.
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * page/Frame.cpp:
- (WebCore::Frame::setDocument):
-
-2012-03-06 Lucas Forschler <lforschler@apple.com>
-
- WebCore build exceeds address space on 32-bit Windows builds.
- https://bugs.webkit.org/show_bug.cgi?id=80346
-
- Reviewed by Jessie Berlin.
-
- Patch by Lucas Forschler, landed by Jessie Berlin.
-
- Add AllInOne.cpp files for a few projects.
- This will only affect Production and Release builds.
- Let VS rebuild the project file.
-
- * WebCore.vcproj/WebCore.vcproj:
- * css/MediaAllInOne.cpp: Added.
- * loader/appcache/ApplicationCacheAllInOne.cpp: Added.
- * mathml/MathMLAllInOne.cpp: Added.
- * platform/text/TextAllInOne.cpp: Added.
-
-2012-03-06 Pavel Feldman <pfeldman@chromium.org>
-
- Web Inspector: add support for inspection of huge (1M elements) arrays.
- https://bugs.webkit.org/show_bug.cgi?id=80421
-
- Reviewed by Vsevolod Vlasov.
-
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype.completionsForExpression.evaluated):
- * inspector/front-end/ElementsPanel.js:
- * inspector/front-end/ObjectPropertiesSection.js:
- (WebInspector.ObjectPropertiesSection.prototype.update.callback):
- (WebInspector.ObjectPropertiesSection.prototype.update):
- (WebInspector.ObjectPropertiesSection.prototype.updateProperties):
- (WebInspector.ObjectPropertyTreeElement.prototype.onpopulate.callback):
- (WebInspector.ObjectPropertyTreeElement.prototype.onpopulate):
- (WebInspector.ArrayGroupingTreeElement):
- (WebInspector.ArrayGroupingTreeElement._populateArray):
- (WebInspector.ArrayGroupingTreeElement._populateRanges):
- (WebInspector.ArrayGroupingTreeElement._populateRanges.callback):
- (WebInspector.ArrayGroupingTreeElement._populateAsFragment):
- (WebInspector.ArrayGroupingTreeElement._populateAsFragment.processArrayFragment):
- (WebInspector.ArrayGroupingTreeElement._populateAsFragment.processProperties):
- (WebInspector.ArrayGroupingTreeElement._populateNonIndexProperties.buildObjectFragment):
- (WebInspector.ArrayGroupingTreeElement._populateNonIndexProperties.processObjectFragment):
- (WebInspector.ArrayGroupingTreeElement._populateNonIndexProperties.processProperties):
- (WebInspector.ArrayGroupingTreeElement._populateNonIndexProperties):
- (WebInspector.ArrayGroupingTreeElement.prototype.onpopulate):
- (WebInspector.ArrayGroupingTreeElement.prototype.onattach):
- * inspector/front-end/PropertiesSidebarPane.js:
- (WebInspector.PropertiesSidebarPane.prototype.update.nodeResolved):
- * inspector/front-end/RemoteObject.js:
- (WebInspector.RemoteObject.prototype.callFunction):
- (WebInspector.RemoteObject.prototype.callFunctionJSON):
-
-2012-03-06 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: Open link in resources panel only works the second time
- https://bugs.webkit.org/show_bug.cgi?id=80407
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/inspector.js:
- (WebInspector.openResource):
-
-2012-03-02 Yury Semikhatsky <yurys@chromium.org>
-
- Web Inspector: InspectorCounters mechanism should be thread-safe
- https://bugs.webkit.org/show_bug.cgi?id=80166
-
- Make InspectorCounters instance thread local so that it can be safely accessed
- in workers.
-
- Reviewed by Pavel Feldman.
-
- * bindings/js/JSEventListener.cpp:
- (WebCore::JSEventListener::JSEventListener):
- (WebCore::JSEventListener::~JSEventListener):
- * bindings/v8/V8AbstractEventListener.cpp:
- (WebCore::V8AbstractEventListener::V8AbstractEventListener):
- (WebCore::V8AbstractEventListener::~V8AbstractEventListener):
- * dom/Document.cpp:
- (WebCore::Document::Document):
- (WebCore::Document::~Document):
- * dom/Document.h:
- (WebCore::Node::Node):
- * dom/Node.cpp:
- (WebCore::Node::~Node):
- * inspector/InspectorCounters.cpp:
- (WebCore::InspectorCounters::InspectorCounters):
- (WebCore::InspectorCounters::counterValue):
- (WebCore):
- (WebCore::InspectorCounters::current):
- * inspector/InspectorCounters.h:
- (WebCore::InspectorCounters::incrementCounter):
- (WebCore::InspectorCounters::decrementCounter):
- (InspectorCounters):
- * inspector/InspectorTimelineAgent.cpp:
- (WebCore::InspectorTimelineAgent::setHeapSizeStatistic):
- * platform/ThreadGlobalData.cpp:
- (WebCore::ThreadGlobalData::ThreadGlobalData):
- (WebCore::ThreadGlobalData::destroy):
- * platform/ThreadGlobalData.h:
- (WebCore):
- (ThreadGlobalData):
- (WebCore::ThreadGlobalData::inspectorCounters):
-
-2012-03-06 Leo Yang <leo.yang@torchmobile.com.cn>
-
- [BlackBerry] Upstream typedef of NativeImageSourcePtr and NativeImagePtr
- https://bugs.webkit.org/show_bug.cgi?id=80388
-
- Reviewed by Antonio Gomes.
-
- These are the BlackBerry typdefs of NativeImageSourcePtr and NativeImagePtr.
-
- * platform/graphics/ImageSource.h:
- (WebCore):
-
-2012-03-06 Hans Muller <hmuller@adobe.com>
-
- SVG transform-origin presentation attribute
- https://bugs.webkit.org/show_bug.cgi?id=79678
-
- Reviewed by Nikolas Zimmermann.
-
- Added the SVG transform-origin presentation attribute. Currently WebCore::mapAttributeToCSSProperty()
- just maps it to -webkit-transform-origin. When the transform-origin CSS property is supported, this
- part of the change can be removed.
-
- Test: svg/transforms/transform-origin-presentation-attribute.xhtml
-
- * svg/SVGStyledElement.cpp:
- (WebCore::mapAttributeToCSSProperty):
- (WebCore::SVGStyledElement::cssPropertyIdForSVGAttributeName):
- * svg/svgattrs.in:
-
-2012-01-26 Philippe Normand <pnormand@igalia.com>
-
- [GStreamer] disable GStreamerGWorld when building against 0.11
- https://bugs.webkit.org/show_bug.cgi?id=77088
-
- Reviewed by Martin Robinson.
-
- Don't build GStreamerGWorld and PlatformVideoWindow under
- GStreamer 0.11. It's supposed to be removed soon anyway.
-
- * platform/graphics/gstreamer/GStreamerGWorld.cpp:
- * platform/graphics/gstreamer/GStreamerGWorld.h:
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
- (WebCore::MediaPlayerPrivateGStreamer::totalBytes):
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
- (MediaPlayerPrivateGStreamer):
- * platform/graphics/gstreamer/PlatformVideoWindow.h:
- * platform/graphics/gstreamer/PlatformVideoWindowEfl.cpp:
- * platform/graphics/gstreamer/PlatformVideoWindowGtk.cpp:
- * platform/graphics/gstreamer/PlatformVideoWindowMac.mm:
- * platform/graphics/gstreamer/PlatformVideoWindowQt.cpp:
-
-2012-03-06 Alexander Færøy <alexander.faeroy@nokia.com>
-
- Rename m_tileCreationTimer in the tiled backing store
- https://bugs.webkit.org/show_bug.cgi?id=80414
-
- Patch by Kenneth Rohde Christiansen and Alexander Færøy.
-
- Reviewed by Tor Arne Vestbø.
-
- The m_tileCreationTimer member is currently being used to represent a
- timer that is fired when the backing store has been updated which is
- confusing with its current name. This patch fixes this by renaming
- the m_tileCreationTimer to m_backingStoreUpdateTimer.
-
- * platform/graphics/TiledBackingStore.cpp:
- (WebCore::TiledBackingStore::TiledBackingStore):
- (WebCore::TiledBackingStore::setTileSize):
- (WebCore::TiledBackingStore::coverWithTilesIfNeeded):
- (WebCore::TiledBackingStore::createTiles):
- (WebCore::TiledBackingStore::startBackingStoreUpdateTimer):
- (WebCore::TiledBackingStore::backingStoreUpdateTimerFired):
- (WebCore::TiledBackingStore::setContentsFrozen):
- * platform/graphics/TiledBackingStore.h:
- (TiledBackingStore):
-
-2012-03-06 Alexander Færøy <alexander.faeroy@nokia.com>
-
- Remove TileTimer typedef from the tiled backing store
- https://bugs.webkit.org/show_bug.cgi?id=80408
-
- Patch by Kenneth Rohde Christiansen and Alexander Færøy.
-
- Reviewed by Tor Arne Vestbø.
-
- * platform/graphics/TiledBackingStore.cpp:
- (WebCore::TiledBackingStore::tileBufferUpdateTimerFired):
- (WebCore::TiledBackingStore::tileCreationTimerFired):
- * platform/graphics/TiledBackingStore.h:
- (TiledBackingStore):
-
-2012-03-06 Robin Cao <robin.cao@torchmobile.com.cn>
-
- [BlackBerry] Upstream LayerRenderer.{h, cpp}
- https://bugs.webkit.org/show_bug.cgi?id=79874
-
- Reviewed by Antonio Gomes.
-
- Initial upstream, no new tests.
-
- * platform/graphics/blackberry/LayerRenderer.cpp: Added.
- (WebCore):
- (WebCore::checkGLError):
- (WebCore::loadShader):
- (WebCore::loadShaderProgram):
- (WebCore::orthoMatrix):
- (WebCore::rawPtrVectorFromRefPtrVector):
- (WebCore::LayerRenderer::create):
- (WebCore::LayerRenderer::LayerRenderer):
- (WebCore::LayerRenderer::~LayerRenderer):
- (WebCore::LayerRenderer::releaseLayerResources):
- (WebCore::compareLayerZ):
- (WebCore::LayerRenderer::drawLayers):
- (WebCore::LayerRenderer::useSurface):
- (WebCore::LayerRenderer::drawLayersOnSurfaces):
- (WebCore::LayerRenderer::setRootLayer):
- (WebCore::LayerRenderer::addLayer):
- (WebCore::LayerRenderer::removeLayer):
- (WebCore::LayerRenderer::addLayerToReleaseTextureResourcesList):
- (WebCore::LayerRenderer::toOpenGLWindowCoordinates):
- (WebCore::LayerRenderer::toWebKitWindowCoordinates):
- (WebCore::LayerRenderer::toWebKitDocumentCoordinates):
- (WebCore::LayerRenderer::drawDebugBorder):
- (WebCore::LayerRenderer::drawHolePunchRect):
- (WebCore::LayerRenderer::updateLayersRecursive):
- (WebCore::hasRotationalComponent):
- (WebCore::LayerRenderer::layerAlreadyOnSurface):
- (WebCore::collect3DPreservingLayers):
- (WebCore::LayerRenderer::compositeLayersRecursive):
- (WebCore::LayerRenderer::updateScissorIfNeeded):
- (WebCore::LayerRenderer::makeContextCurrent):
- (WebCore::LayerRenderer::bindCommonAttribLocation):
- (WebCore::LayerRenderer::initializeSharedGLObjects):
- (WebCore::LayerRenderingResults::holePunchRect):
- (WebCore::LayerRenderingResults::addHolePunchRect):
- (WebCore::LayerRenderingResults::addDirtyRect):
- (WebCore::LayerRenderingResults::isEmpty):
- * platform/graphics/blackberry/LayerRenderer.h: Added.
- (WebCore):
- (LayerRenderingResults):
- (WebCore::LayerRenderingResults::LayerRenderingResults):
- (WebCore::LayerRenderingResults::holePunchRectSize):
- (WebCore::LayerRenderingResults::dirtyRect):
- (LayerRenderer):
- (WebCore::LayerRenderer::rootLayer):
- (WebCore::LayerRenderer::hardwareCompositing):
- (WebCore::LayerRenderer::setClearSurfaceOnDrawLayers):
- (WebCore::LayerRenderer::clearSurfaceOnDrawLayers):
- (WebCore::LayerRenderer::context):
- (WebCore::LayerRenderer::lastRenderingResults):
- (WebCore::LayerRenderer::setNeedsCommit):
-
-2012-03-06 Roland Steiner <rolandsteiner@chromium.org>
-
- r109563 caused perf regression
- https://bugs.webkit.org/show_bug.cgi?id=80404
-
- Add test for Element or ShadowRoot.
-
- Reviewed by Antti Koivisto.
-
- No new tests. (fix)
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::pushParentElement):
-
-2012-03-06 Pavel Podivilov <podivilov@chromium.org>
-
- Web Inspector: prepare for extracting ScriptMapping implementation from DebuggerPresentationModel.
- https://bugs.webkit.org/show_bug.cgi?id=80396
-
- Limit RawSourceCode usages to a subset of methods. This subset will be moved to ScriptMapping implementation in a separate change.
-
- Reviewed by Vsevolod Vlasov.
-
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel):
- (WebInspector.DebuggerPresentationModel.prototype.createPlacard):
- (WebInspector.DebuggerPresentationModel.prototype.createLiveLocation):
- (WebInspector.DebuggerPresentationModel.prototype._parsedScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype._failedToParseScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype.setScriptSource.didEditScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype.setScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype._forceUpdateSourceMapping):
- (WebInspector.DebuggerPresentationModel.prototype._addConsoleMessageToScript):
- (WebInspector.DebuggerPresentationModel.prototype._debuggerPaused):
- (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
- (WebInspector.PresentationCallFrame):
- (WebInspector.PresentationCallFrame.prototype.uiLocation):
- (WebInspector.DebuggerPresentationModel.CallFramePlacard):
- (WebInspector.DebuggerPresentationModelResourceBinding.prototype.canSetContent):
- (WebInspector.DebuggerPresentationModelResourceBinding.prototype.setContent):
- (WebInspector.DebuggerPresentationModelResourceBinding.prototype._uiSourceCodeForResource):
- (WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyRawLocation):
-
-2012-03-06 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: [Regression] Execution line is not revealed when debugger is stopped if scripts panel was not yet shown.
- https://bugs.webkit.org/show_bug.cgi?id=80306
-
- Reviewed by Pavel Feldman.
-
- Test: inspector/debugger/reveal-execution-line.html
-
- * inspector/front-end/ConsoleView.js:
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel.prototype._debuggerPaused):
- * inspector/front-end/JavaScriptSourceFrame.js:
- (WebInspector.JavaScriptSourceFrame.prototype.afterTextChanged):
- (WebInspector.JavaScriptSourceFrame.prototype.setExecutionLine):
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._executionLineChanged):
- (WebInspector.ScriptsPanel.prototype._revealExecutionLine):
- (WebInspector.ScriptsPanel.prototype._callFrameSelected):
- * inspector/front-end/SourceFrame.js:
- (WebInspector.SourceFrame.prototype.willHide):
- (WebInspector.SourceFrame.prototype.highlightLine):
- (WebInspector.SourceFrame.prototype.revealLine):
- (WebInspector.SourceFrame.prototype._clearLineToReveal):
- (WebInspector.SourceFrame.prototype.setContent):
-
-2012-03-06 Pavel Podivilov <podivilov@chromium.org>
-
- Web Inspector: remove reference to RawSourceCode from UISourceCode.
- https://bugs.webkit.org/show_bug.cgi?id=80395
-
- Reviewed by Vsevolod Vlasov.
-
- * inspector/compile-front-end.sh:
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel):
- (WebInspector.DebuggerPresentationModel.prototype._handleUISourceCodeListChanged):
- (WebInspector.DebuggerPresentationModel.prototype._uiSourceCodeListChanged):
- (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
- (WebInspector.DebuggerPresentationModel.prototype.setScriptSource.didEditScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype.setScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype.continueToLine):
- (WebInspector.DebuggerPresentationModel.prototype._debuggerReset):
- * inspector/front-end/RawSourceCode.js:
- (WebInspector.RawSourceCode.prototype._createUISourceCode):
- * inspector/front-end/UISourceCode.js:
- (WebInspector.UISourceCode):
-
-2012-03-06 Andrey Kosyakov <caseq@chromium.org>
-
- Web Inspector: move timeline panel overview mode toggle buttons to overview sidebar tree
- https://bugs.webkit.org/show_bug.cgi?id=80304
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/Images/statusbarButtonGlyphs.png:
- * inspector/front-end/Settings.js:
- (WebInspector.ExperimentsSettings):
- * inspector/front-end/TimelineOverviewPane.js:
- (WebInspector.TimelineOverviewPane):
- (WebInspector.TimelineOverviewPane.prototype._showTimelines):
- (WebInspector.TimelineOverviewPane.prototype._showMemoryGraph):
- (WebInspector.TimelineOverviewPane.prototype._setVerticalOverview):
- (WebInspector.TimelineOverviewPane.prototype._onOverviewModeChanged):
- (WebInspector.TimelineOverviewPane.prototype.update):
- (WebInspector.TimelineOverviewPane.prototype.reset):
- (WebInspector.TimelineOverviewPane.prototype._onWindowChanged):
- (WebInspector.TimelineVerticalOverview):
- (WebInspector.TimelineOverviewModeSelector):
- (WebInspector.TimelineOverviewModeSelector.prototype.addButton):
- (WebInspector.TimelineOverviewModeSelector.prototype.get value):
- (WebInspector.TimelineOverviewModeSelector.prototype._createButton):
- (WebInspector.TimelineOverviewModeSelector.prototype._select):
- (WebInspector.TimelineOverviewModeSelector.prototype._onClick):
- * inspector/front-end/TimelinePanel.js:
- (WebInspector.TimelinePanel):
- (WebInspector.TimelinePanel.prototype.get statusBarItems):
- (WebInspector.TimelinePanel.prototype._createStatusbarButtons):
- (WebInspector.TimelinePanel.prototype._updateEventDividers):
- (WebInspector.TimelinePanel.prototype._glueParentButtonClicked):
- (WebInspector.TimelinePanel.prototype.revealRecordAt):
- * inspector/front-end/inspector.css:
- * inspector/front-end/timelinePanel.css:
- (.timeline-vertical-overview #timeline-overview-grid):
- (.timeline-vertical-overview .timeline-overview-window):
- (.timeline-vertical-overview .timeline-overview-dividers-background):
- (.timeline-vertical-overview #timeline-overview-memory):
- (.timeline-vertical-overview-status-bar-item.toggled-on .glyph):
- (.timeline-vertical-overview-bars):
- (.timeline-vertical-overview-bars .padding):
- (.timeline-vertical-overview-bars .timeline-bar-vertical):
- (.timeline.timeline-vertical-overview .resources-divider):
- (.sidebar-tree-item .timeline-vertical-overview-status-bar-item):
- (.timeline-overview-mode-selector):
- (.timeline-overview-mode-selector .glyph):
- (.timeline-overview-mode-selector button):
- (.timeline-overview-mode-selector button.toggled):
- (.timeline-overview-mode-selector button:active):
- (.sidebar-tree-item:not(.selected) .timeline-overview-mode-selector button):
- (.sidebar-tree-item:not(.selected) .timeline-overview-mode-selector button.toggled):
- (.timeline-overview-mode-selector button:first-of-type):
- (.timeline-overview-mode-selector button:last-of-type):
- (.timeline-mode-vertical-bars .glyph):
- (.timeline-mode-horizontal-bars .glyph):
-
-2012-03-05 Alexander Færøy <alexander.faeroy@nokia.com>
-
- Make it explicit when we are allowing updates to the actual backing store or the tile buffers
- https://bugs.webkit.org/show_bug.cgi?id=80288
-
- Patch by Kenneth Rohde Christiansen and Alexander Færøy.
-
- Reviewed by Noam Rosenthal.
-
- * platform/graphics/TiledBackingStore.cpp:
- (WebCore::TiledBackingStore::createTiles):
- (WebCore::TiledBackingStore::isBackingStoreUpdatesSuspended):
- (WebCore):
- (WebCore::TiledBackingStore::isTileBufferUpdatesSuspended):
- (WebCore::TiledBackingStore::startTileBufferUpdateTimer):
- (WebCore::TiledBackingStore::startTileCreationTimer):
- * platform/graphics/TiledBackingStore.h:
- (TiledBackingStore):
-
-2012-03-06 Mark Rowe <mrowe@apple.com>
-
- Build fix after r109877.
-
- * WebCore.xcodeproj/project.pbxproj: Ensure that headers are copied in to WebCore.framework so that
- WebKit can still find them.
-
-2012-03-06 Andreas Kling <awesomekling@apple.com>
-
- Remove incorrect WTF::Vector traits for CSSProperty.
- <http://webkit.org/b/53285>
- <rdar://problem/10161286>
-
- Reviewed by Antti Koivisto.
-
- We shouldn't allow copying Vector<CSSProperty> contents around with memcpy()
- as CSSProperty has a RefPtr member and this would muck up the refcount.
- This was added to facilitate fast comparison of property vectors, and we no
- longer use that, so there shouldn't be any performance concerns here.
-
- * css/CSSProperty.h:
-
-2012-03-06 Adam Barth <abarth@webkit.org>
-
- Attempt to fix the Qt minimal build.
-
- * Target.pri:
-
-2012-03-06 Roland Steiner <rolandsteiner@chromium.org>
-
- :scope should behave as :root outside scoped style sheet
- https://bugs.webkit.org/show_bug.cgi?id=80389
-
- Fall through to :root implementation if no scope is used.
-
- Reviewed by Antti Koivisto.
-
- Test: fast/css/style-scoped/scope-pseudo.html
-
- * css/SelectorChecker.cpp:
- (WebCore::SelectorChecker::checkOneSelector):
-
-2012-03-05 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: [Regression] Message bubbles are not removed from scripts panel source frames after console was cleared.
- https://bugs.webkit.org/show_bug.cgi?id=80275
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._consoleMessagesCleared):
- * inspector/front-end/utilities.js:
-
-2012-03-06 Adam Barth <abarth@webkit.org>
-
- Move SQLDatabase code into Modules/webdatabase
- https://bugs.webkit.org/show_bug.cgi?id=80393
-
- Reviewed by Kentaro Hara.
-
- There are still a couple (minor) SQLDatabase references from WebCore
- proper, but we've gotten this code to the point where it makes sense to
- move it into the Modules directory. (This patch just moves code---no
- behavior change.)
-
- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.am:
- * GNUmakefile.list.am:
- * Modules/webdatabase: Added.
- * Modules/webdatabase/AbstractDatabase.cpp: Copied from Source/WebCore/storage/AbstractDatabase.cpp.
- * Modules/webdatabase/AbstractDatabase.h: Copied from Source/WebCore/storage/AbstractDatabase.h.
- * Modules/webdatabase/ChangeVersionWrapper.cpp: Copied from Source/WebCore/storage/ChangeVersionWrapper.cpp.
- * Modules/webdatabase/ChangeVersionWrapper.h: Copied from Source/WebCore/storage/ChangeVersionWrapper.h.
- * Modules/webdatabase/DOMWindowSQLDatabase.cpp: Copied from Source/WebCore/storage/DOMWindowSQLDatabase.cpp.
- * Modules/webdatabase/DOMWindowSQLDatabase.h: Copied from Source/WebCore/storage/DOMWindowSQLDatabase.h.
- * Modules/webdatabase/DOMWindowSQLDatabase.idl: Copied from Source/WebCore/storage/DOMWindowSQLDatabase.idl.
- * Modules/webdatabase/Database.cpp: Copied from Source/WebCore/storage/Database.cpp.
- * Modules/webdatabase/Database.h: Copied from Source/WebCore/storage/Database.h.
- * Modules/webdatabase/Database.idl: Copied from Source/WebCore/storage/Database.idl.
- * Modules/webdatabase/DatabaseAuthorizer.cpp: Copied from Source/WebCore/storage/DatabaseAuthorizer.cpp.
- * Modules/webdatabase/DatabaseAuthorizer.h: Copied from Source/WebCore/storage/DatabaseAuthorizer.h.
- * Modules/webdatabase/DatabaseCallback.h: Copied from Source/WebCore/storage/DatabaseCallback.h.
- * Modules/webdatabase/DatabaseCallback.idl: Copied from Source/WebCore/storage/DatabaseCallback.idl.
- * Modules/webdatabase/DatabaseContext.cpp: Copied from Source/WebCore/storage/DatabaseContext.cpp.
- * Modules/webdatabase/DatabaseContext.h: Copied from Source/WebCore/storage/DatabaseContext.h.
- * Modules/webdatabase/DatabaseDetails.h: Copied from Source/WebCore/storage/DatabaseDetails.h.
- * Modules/webdatabase/DatabaseSync.cpp: Copied from Source/WebCore/storage/DatabaseSync.cpp.
- * Modules/webdatabase/DatabaseSync.h: Copied from Source/WebCore/storage/DatabaseSync.h.
- * Modules/webdatabase/DatabaseSync.idl: Copied from Source/WebCore/storage/DatabaseSync.idl.
- * Modules/webdatabase/DatabaseTask.cpp: Copied from Source/WebCore/storage/DatabaseTask.cpp.
- * Modules/webdatabase/DatabaseTask.h: Copied from Source/WebCore/storage/DatabaseTask.h.
- * Modules/webdatabase/DatabaseThread.cpp: Copied from Source/WebCore/storage/DatabaseThread.cpp.
- * Modules/webdatabase/DatabaseThread.h: Copied from Source/WebCore/storage/DatabaseThread.h.
- * Modules/webdatabase/DatabaseTracker.cpp: Copied from Source/WebCore/storage/DatabaseTracker.cpp.
- * Modules/webdatabase/DatabaseTracker.h: Copied from Source/WebCore/storage/DatabaseTracker.h.
- * Modules/webdatabase/DatabaseTrackerClient.h: Copied from Source/WebCore/storage/DatabaseTrackerClient.h.
- * Modules/webdatabase/OriginQuotaManager.cpp: Copied from Source/WebCore/storage/OriginQuotaManager.cpp.
- * Modules/webdatabase/OriginQuotaManager.h: Copied from Source/WebCore/storage/OriginQuotaManager.h.
- * Modules/webdatabase/OriginUsageRecord.cpp: Copied from Source/WebCore/storage/OriginUsageRecord.cpp.
- * Modules/webdatabase/OriginUsageRecord.h: Copied from Source/WebCore/storage/OriginUsageRecord.h.
- * Modules/webdatabase/SQLCallbackWrapper.h: Copied from Source/WebCore/storage/SQLCallbackWrapper.h.
- * Modules/webdatabase/SQLError.h: Copied from Source/WebCore/storage/SQLError.h.
- * Modules/webdatabase/SQLError.idl: Copied from Source/WebCore/storage/SQLError.idl.
- * Modules/webdatabase/SQLException.cpp: Copied from Source/WebCore/storage/SQLException.cpp.
- * Modules/webdatabase/SQLException.h: Copied from Source/WebCore/storage/SQLException.h.
- * Modules/webdatabase/SQLException.idl: Copied from Source/WebCore/storage/SQLException.idl.
- * Modules/webdatabase/SQLResultSet.cpp: Copied from Source/WebCore/storage/SQLResultSet.cpp.
- * Modules/webdatabase/SQLResultSet.h: Copied from Source/WebCore/storage/SQLResultSet.h.
- * Modules/webdatabase/SQLResultSet.idl: Copied from Source/WebCore/storage/SQLResultSet.idl.
- * Modules/webdatabase/SQLResultSetRowList.cpp: Copied from Source/WebCore/storage/SQLResultSetRowList.cpp.
- * Modules/webdatabase/SQLResultSetRowList.h: Copied from Source/WebCore/storage/SQLResultSetRowList.h.
- * Modules/webdatabase/SQLResultSetRowList.idl: Copied from Source/WebCore/storage/SQLResultSetRowList.idl.
- * Modules/webdatabase/SQLStatement.cpp: Copied from Source/WebCore/storage/SQLStatement.cpp.
- * Modules/webdatabase/SQLStatement.h: Copied from Source/WebCore/storage/SQLStatement.h.
- * Modules/webdatabase/SQLStatementCallback.h: Copied from Source/WebCore/storage/SQLStatementCallback.h.
- * Modules/webdatabase/SQLStatementCallback.idl: Copied from Source/WebCore/storage/SQLStatementCallback.idl.
- * Modules/webdatabase/SQLStatementErrorCallback.h: Copied from Source/WebCore/storage/SQLStatementErrorCallback.h.
- * Modules/webdatabase/SQLStatementErrorCallback.idl: Copied from Source/WebCore/storage/SQLStatementErrorCallback.idl.
- * Modules/webdatabase/SQLStatementSync.cpp: Copied from Source/WebCore/storage/SQLStatementSync.cpp.
- * Modules/webdatabase/SQLStatementSync.h: Copied from Source/WebCore/storage/SQLStatementSync.h.
- * Modules/webdatabase/SQLTransaction.cpp: Copied from Source/WebCore/storage/SQLTransaction.cpp.
- * Modules/webdatabase/SQLTransaction.h: Copied from Source/WebCore/storage/SQLTransaction.h.
- * Modules/webdatabase/SQLTransaction.idl: Copied from Source/WebCore/storage/SQLTransaction.idl.
- * Modules/webdatabase/SQLTransactionCallback.h: Copied from Source/WebCore/storage/SQLTransactionCallback.h.
- * Modules/webdatabase/SQLTransactionCallback.idl: Copied from Source/WebCore/storage/SQLTransactionCallback.idl.
- * Modules/webdatabase/SQLTransactionClient.cpp: Copied from Source/WebCore/storage/SQLTransactionClient.cpp.
- * Modules/webdatabase/SQLTransactionClient.h: Copied from Source/WebCore/storage/SQLTransactionClient.h.
- * Modules/webdatabase/SQLTransactionCoordinator.cpp: Copied from Source/WebCore/storage/SQLTransactionCoordinator.cpp.
- * Modules/webdatabase/SQLTransactionCoordinator.h: Copied from Source/WebCore/storage/SQLTransactionCoordinator.h.
- * Modules/webdatabase/SQLTransactionErrorCallback.h: Copied from Source/WebCore/storage/SQLTransactionErrorCallback.h.
- * Modules/webdatabase/SQLTransactionErrorCallback.idl: Copied from Source/WebCore/storage/SQLTransactionErrorCallback.idl.
- * Modules/webdatabase/SQLTransactionSync.cpp: Copied from Source/WebCore/storage/SQLTransactionSync.cpp.
- * Modules/webdatabase/SQLTransactionSync.h: Copied from Source/WebCore/storage/SQLTransactionSync.h.
- * Modules/webdatabase/SQLTransactionSync.idl: Copied from Source/WebCore/storage/SQLTransactionSync.idl.
- * Modules/webdatabase/SQLTransactionSyncCallback.h: Copied from Source/WebCore/storage/SQLTransactionSyncCallback.h.
- * Modules/webdatabase/SQLTransactionSyncCallback.idl: Copied from Source/WebCore/storage/SQLTransactionSyncCallback.idl.
- * Modules/webdatabase/WorkerContextSQLDatabase.cpp: Copied from Source/WebCore/storage/WorkerContextSQLDatabase.cpp.
- * Modules/webdatabase/WorkerContextSQLDatabase.h: Copied from Source/WebCore/storage/WorkerContextSQLDatabase.h.
- * Modules/webdatabase/WorkerContextSQLDatabase.idl: Copied from Source/WebCore/storage/WorkerContextSQLDatabase.idl.
- * Modules/webdatabase/chromium: Added.
- * Modules/webdatabase/chromium/DatabaseObserver.h: Copied from Source/WebCore/storage/chromium/DatabaseObserver.h.
- * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp: Copied from Source/WebCore/storage/chromium/DatabaseTrackerChromium.cpp.
- * Modules/webdatabase/chromium/QuotaTracker.cpp: Copied from Source/WebCore/storage/chromium/QuotaTracker.cpp.
- * Modules/webdatabase/chromium/QuotaTracker.h: Copied from Source/WebCore/storage/chromium/QuotaTracker.h.
- * Modules/webdatabase/chromium/SQLTransactionClientChromium.cpp: Copied from Source/WebCore/storage/chromium/SQLTransactionClientChromium.cpp.
- * Target.pri:
- * WebCore.gyp/WebCore.gyp:
- * WebCore.gypi:
- * WebCore.pri:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.vcproj/WebCoreCommon.vsprops:
- * WebCore.vcproj/copyForwardingHeaders.cmd:
- * WebCore.xcodeproj/project.pbxproj:
- * storage/AbstractDatabase.cpp: Removed.
- * storage/AbstractDatabase.h: Removed.
- * storage/ChangeVersionWrapper.cpp: Removed.
- * storage/ChangeVersionWrapper.h: Removed.
- * storage/DOMWindowSQLDatabase.cpp: Removed.
- * storage/DOMWindowSQLDatabase.h: Removed.
- * storage/DOMWindowSQLDatabase.idl: Removed.
- * storage/Database.cpp: Removed.
- * storage/Database.h: Removed.
- * storage/Database.idl: Removed.
- * storage/DatabaseAuthorizer.cpp: Removed.
- * storage/DatabaseAuthorizer.h: Removed.
- * storage/DatabaseCallback.h: Removed.
- * storage/DatabaseCallback.idl: Removed.
- * storage/DatabaseContext.cpp: Removed.
- * storage/DatabaseContext.h: Removed.
- * storage/DatabaseDetails.h: Removed.
- * storage/DatabaseSync.cpp: Removed.
- * storage/DatabaseSync.h: Removed.
- * storage/DatabaseSync.idl: Removed.
- * storage/DatabaseTask.cpp: Removed.
- * storage/DatabaseTask.h: Removed.
- * storage/DatabaseThread.cpp: Removed.
- * storage/DatabaseThread.h: Removed.
- * storage/DatabaseTracker.cpp: Removed.
- * storage/DatabaseTracker.h: Removed.
- * storage/DatabaseTrackerClient.h: Removed.
- * storage/OriginQuotaManager.cpp: Removed.
- * storage/OriginQuotaManager.h: Removed.
- * storage/OriginUsageRecord.cpp: Removed.
- * storage/OriginUsageRecord.h: Removed.
- * storage/SQLCallbackWrapper.h: Removed.
- * storage/SQLError.h: Removed.
- * storage/SQLError.idl: Removed.
- * storage/SQLException.cpp: Removed.
- * storage/SQLException.h: Removed.
- * storage/SQLException.idl: Removed.
- * storage/SQLResultSet.cpp: Removed.
- * storage/SQLResultSet.h: Removed.
- * storage/SQLResultSet.idl: Removed.
- * storage/SQLResultSetRowList.cpp: Removed.
- * storage/SQLResultSetRowList.h: Removed.
- * storage/SQLResultSetRowList.idl: Removed.
- * storage/SQLStatement.cpp: Removed.
- * storage/SQLStatement.h: Removed.
- * storage/SQLStatementCallback.h: Removed.
- * storage/SQLStatementCallback.idl: Removed.
- * storage/SQLStatementErrorCallback.h: Removed.
- * storage/SQLStatementErrorCallback.idl: Removed.
- * storage/SQLStatementSync.cpp: Removed.
- * storage/SQLStatementSync.h: Removed.
- * storage/SQLTransaction.cpp: Removed.
- * storage/SQLTransaction.h: Removed.
- * storage/SQLTransaction.idl: Removed.
- * storage/SQLTransactionCallback.h: Removed.
- * storage/SQLTransactionCallback.idl: Removed.
- * storage/SQLTransactionClient.cpp: Removed.
- * storage/SQLTransactionClient.h: Removed.
- * storage/SQLTransactionCoordinator.cpp: Removed.
- * storage/SQLTransactionCoordinator.h: Removed.
- * storage/SQLTransactionErrorCallback.h: Removed.
- * storage/SQLTransactionErrorCallback.idl: Removed.
- * storage/SQLTransactionSync.cpp: Removed.
- * storage/SQLTransactionSync.h: Removed.
- * storage/SQLTransactionSync.idl: Removed.
- * storage/SQLTransactionSyncCallback.h: Removed.
- * storage/SQLTransactionSyncCallback.idl: Removed.
- * storage/WorkerContextSQLDatabase.cpp: Removed.
- * storage/WorkerContextSQLDatabase.h: Removed.
- * storage/WorkerContextSQLDatabase.idl: Removed.
- * storage/chromium/DatabaseObserver.h: Removed.
- * storage/chromium/DatabaseTrackerChromium.cpp: Removed.
- * storage/chromium/QuotaTracker.cpp: Removed.
- * storage/chromium/QuotaTracker.h: Removed.
- * storage/chromium/SQLTransactionClientChromium.cpp: Removed.
-
-2012-03-05 Kent Tamura <tkent@chromium.org>
-
- Do not reformat strings in <input type=number> on platforms using LocalizedNumberICU.
- https://bugs.webkit.org/show_bug.cgi?id=78326
-
- Reviewed by Hajime Morita.
-
- We had bugs such as stripping leading zeros, dropping lower digits
- of large numbers because we parse a user-input string to a double
- value, and generate a string from the double value.
-
- In order to avoid such reformatting, we converts number strings by
- replacing standard digits to corresponding localized digits.
-
- * WebCore.gypi: Added LocalizedNumberICU.h
- * platform/text/LocalizedNumberICU.cpp:
- (WebCore::ICULocale::ICULocale): Added.
- (WebCore::ICULocale::create): A testing factory function.
- (WebCore::ICULocale::createForCurrentLocale): A practical factory function.
- (WebCore::ICULocale::setDecimalSymbol): Initialize a symbol table.
- (WebCore::ICULocale::initializeDecimalFormat): Initialize ICU DecimalFormat.
- (WebCore::ICULocale::convertToLocalizedNumber):
- Replace characters to corresponding localized characters.
- (WebCore::matches): A helper function for convertFromLocalizedNumber.
- (WebCore::endsWith): ditto.
- (WebCore::ICULocale::determineStartPosition): ditto.
- (WebCore::ICULocale::matchedDecimalSymbolIndex): ditto.
- (WebCore::ICULocale::convertFromLocalizedNumber):
- Replace characters to corresponding standard characters.
- (WebCore::currentLocale): Added.
- (WebCore::convertToLocalizedNumber): Uses ICULocale::convertToLocalizedNumber.
- (WebCore::convertFromLocalizedNumber): Uses ICULocale::convertFromLocalizedNumber.
- * platform/text/LocalizedNumberICU.h: Added.
- (ICULocale): Added. This is exposed to WebKit/chromium/tests/LocalizedNumberICUTest.cpp.
-
-2012-03-06 Adam Barth <abarth@webkit.org>
-
- Attempt to fix the GTK minimal build
- https://bugs.webkit.org/show_bug.cgi?id=80390
-
- Reviewed by Csaba Osztrogonác.
-
- Add some missing ifdefs.
-
- * Modules/geolocation/NavigatorGeolocation.cpp:
- * Modules/geolocation/NavigatorGeolocation.h:
-
-2012-03-05 Pavel Podivilov <podivilov@chromium.org>
-
- Web Inspector: stop using RawSourceCode in BreakpointManager.
- https://bugs.webkit.org/show_bug.cgi?id=80286
-
- Reviewed by Vsevolod Vlasov.
-
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * inspector/front-end/BreakpointManager.js:
- (WebInspector.BreakpointManager.prototype.uiSourceCodeAdded):
- (WebInspector.BreakpointManager.prototype.setBreakpoint):
- (WebInspector.BreakpointManager.prototype._materializeBreakpoint):
- (WebInspector.BreakpointManager.prototype._breakpointDebuggerLocationChanged):
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel):
- * inspector/front-end/ScriptMapping.js: Added.
- (WebInspector.ScriptMapping):
- (WebInspector.ScriptMapping.prototype.rawLocationToUILocation):
- (WebInspector.ScriptMapping.prototype.uiLocationToRawLocation):
- (WebInspector.ScriptMapping.prototype.createLiveLocation):
- (WebInspector.ScriptMapping.prototype.uiSourceCodeList):
- * inspector/front-end/WebKit.qrc:
- * inspector/front-end/inspector.html:
-
-2012-03-05 Philippe Normand <pnormand@igalia.com>
-
- WebAudio JSC-related fixes
- https://bugs.webkit.org/show_bug.cgi?id=80299
-
- Reviewed by Adam Barth.
-
- * bindings/js/JSAudioContextCustom.cpp:
- (WebCore::JSAudioContextConstructor::constructJSAudioContext):
- Wrap the audio context in a DOM wrapper.
- * webaudio/AudioContext.idl: No need to protect EventTarget by V8
- guards, I think.
- * webaudio/JavaScriptAudioNode.idl: Ditto.
-
-2012-03-05 Kishore Bolisetty <kbolisetty@innominds.com>
-
- Element not fully repainted after application and removal of transform
- https://bugs.webkit.org/show_bug.cgi?id=61338
-
- Reviewed by Simon Fraser.
- RenderLayer is created and removed when a transform is applied and removed to element.
- To render the element properly after removal of transform on it, preferred widths and dimensions of
- the element and its containing block needs to be recalculated.
-
- Test: fast/repaint/transform-rotate-and-remove.html
-
- * rendering/RenderBoxModelObject.cpp:
- (WebCore):
- (WebCore::RenderBoxModelObject::styleWillChange):
- (WebCore::RenderBoxModelObject::styleDidChange):
- * rendering/RenderBoxModelObject.h:
- (RenderBoxModelObject):
-
-2012-03-05 Gavin Barraclough <barraclough@apple.com>
-
- putByIndex should throw in strict mode
- https://bugs.webkit.org/show_bug.cgi?id=80335
-
- Reviewed by Filip Pizlo.
-
- Make the MethodTable PutByIndex trap take a boolean 'shouldThrow' parameter.
-
- * bindings/js/SerializedScriptValue.cpp:
- (WebCore::CloneDeserializer::putProperty):
- * bindings/objc/WebScriptObject.mm:
- (-[WebScriptObject setWebScriptValueAtIndex:value:]):
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateHeader):
- (GenerateImplementation):
- * bridge/NP_jsobject.cpp:
- (_NPN_SetProperty):
- * bridge/jni/jni_jsobject.mm:
- (JavaJSObject::setSlot):
- * bridge/runtime_array.cpp:
- (JSC::RuntimeArray::putByIndex):
- * bridge/runtime_array.h:
- (RuntimeArray):
-
-2012-03-05 Shinya Kawanaka <shinyak@chromium.org>
-
- InsertionPoint::attach should be consistent with Element.
- https://bugs.webkit.org/show_bug.cgi?id=80373
-
- Reviewed by Hajime Morita.
-
- This patch is preparation for coming <shadow> patches.
-
- InsertionPoint used to attach fallback elements before attaching distributed elements.
- To be consistent with Element::attach behavior, attaching distributed elements first is
- natural, because Element attaches a shadow tree first.
-
- Also, this patch extracts a few methods form InsretionPoint::attach() and detach()
- to keep code clean. They will become messy without this refactoring when adding
- <shadow> patch.
-
- No new tests. Should be covered by existing tests.
-
- * html/shadow/InsertionPoint.cpp:
- (WebCore::InsertionPoint::attach):
- (WebCore::InsertionPoint::detach):
- (WebCore::InsertionPoint::distributeHostChildren):
- (WebCore):
- (WebCore::InsertionPoint::clearDistribution):
- (WebCore::InsertionPoint::attachDistributedNode):
- * html/shadow/InsertionPoint.h:
- (InsertionPoint):
-
-2012-03-05 Adam Barth <abarth@webkit.org>
-
- Attempt to fix a number of GTK tests.
-
- * GNUmakefile.list.am:
-
-2012-03-05 Joseph Pecoraro <pecoraro@apple.com>
-
- Unreviewed rollout of r109858 for restructuring.
-
-2012-03-05 Joseph Pecoraro <pecoraro@apple.com>
-
- <http://webkit.org/b/78575> Web Inspector: Hide dock button when not allowed to dock
-
- There are times when an undocked inspector frontend is not allowed to
- attach to the main window. We can remove the dock button in those cases.
-
- Reviewed by Timothy Hatcher.
-
- No new tests. This functionality is port specific right now.
-
- * page/FrameView.cpp:
- (WebCore::FrameView::performPostLayoutTasks):
- When the main frame is resized we let the inspector frontend client
- update its docked availablility.
-
- * WebCore.exp.in:
- * inspector/InspectorInstrumentation.h:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::didResizeMainFrameImpl):
- (WebCore::InspectorInstrumentation::didResizeMainFrame):
- * inspector/InspectorClient.h:
- (WebCore::InspectorClient::updateDockingAvailability):
- * inspector/InspectorController.h:
- * inspector/InspectorController.cpp:
- (WebCore::InspectorController::resume):
- (WebCore::InspectorController::updateDockingAvailability):
- When the main frame is resized call up to the InspectorClient to let
- it update docking availability of the inspector frontend.
-
- * inspector/InspectorFrontendClient.h:
- * inspector/InspectorFrontendClientLocal.h:
- * inspector/InspectorFrontendClientLocal.cpp:
- (WebCore::InspectorFrontendClientLocal::frontendLoaded):
- (WebCore::InspectorFrontendClientLocal::setDockingUnavailable):
- On ports where the inspector frontend client is local, provide a
- setDockingUnavailable InspectorFrontendAPI to update the docking state.
- Automatically update availablity when the frontend completes loading.
-
- * inspector/front-end/InspectorFrontendAPI.js:
- (InspectorFrontendAPI.setDockingUnavailable):
- * inspector/front-end/inspector.js:
- (WebInspector._createGlobalStatusBarItems):
- (WebInspector.setAttachedWindow):
- (WebInspector.setDockingUnavailable):
- (WebInspector.updateDockToggleButtonVisibility):
- Update the dock button's visibility when its created, when the attached
- state changes, when get a frontend API notification that we cannot attach.
-
-2012-03-05 Adrienne Walker <enne@google.com>
-
- Compositing overlap testing can throw layers into compositing when they should not be.
- https://bugs.webkit.org/show_bug.cgi?id=50192
-
- Reviewed by Simon Fraser.
-
- The previous overlap map behavior was that a non-composited query
- layer would become composited due to overlap if and only if the query
- layer's absolute bounds overlapped the absolute bounds of some other
- layer which:
- - draws before the query layer
- - is or has a compositing ancestor
-
- This behavior, while correct, was too permissive in throwing layers
- into compositing, causing many layers to get their own backing when
- they could have just gone into their compositing ancestor's backing.
-
- The correct logic is that non-composited query layer needs to be
- composited due to overlap if and only if the query layer's absolute
- bounds overlap the absolute bounds of some other layer which:
- - draws before the query layer
- - has a different compositing ancestor than the query layer
- - is or has a compositing ancestor that is a descendent of the
- query layer's compositing ancestor
-
- This patch changes the semantics of the overlap map to enable this
- behavior.
-
- Rather than having one global overlap map, there is now a stack of
- overlap maps. New (empty) overlap maps are pushed onto the stack
- whenever a layer becomes a compositing ancestor and popped after all
- of the compositing requirements for that layer's children have been
- computed.
-
- The compositing ancestor and all of its non-composited children of a
- compositing ancestor do not get considered for overlap until their
- composited ancestor has been popped off the stack. If a compositing
- ancestor has a compositing subtree, then any descendents of that
- compositing ancestor that draw after that subtree will consider
- everything in the compositing subtree for overlap.
-
- Test: compositing/layer-creation/stacking-context-overlap.html
-
- * platform/graphics/Region.cpp:
- (WebCore::Region::intersects):
- (WebCore):
- * platform/graphics/Region.h:
- (Region):
- * rendering/RenderLayerCompositor.cpp:
- (RenderLayerCompositor::OverlapMap):
- (WebCore::RenderLayerCompositor::OverlapMap::OverlapMap):
- (WebCore::RenderLayerCompositor::OverlapMap::add):
- (WebCore::RenderLayerCompositor::OverlapMap::contains):
- (WebCore::RenderLayerCompositor::OverlapMap::overlapsLayers):
- (WebCore::RenderLayerCompositor::OverlapMap::isEmpty):
- (WebCore::RenderLayerCompositor::OverlapMap::popCompositingContainer):
- (WebCore::RenderLayerCompositor::OverlapMap::pushCompositingContainer):
- (WebCore::RenderLayerCompositor::addToOverlapMapRecursive):
- (WebCore::RenderLayerCompositor::computeCompositingRequirements):
- * rendering/RenderLayerCompositor.h:
- (RenderLayerCompositor):
-
-2012-03-05 Anders Carlsson <andersca@apple.com>
-
- Address review comments from https://bugs.webkit.org/show_bug.cgi?id=80368
-
- * platform/graphics/ca/mac/TileCache.mm:
- (WebCore::TileCache::setNeedsDisplayInRect):
-
-2012-03-05 Yoshifumi Inoue <yosin@chromium.org>
-
- [Forms] HTMLFieldSetForms.idl doesn't have type attribute.
- https://bugs.webkit.org/show_bug.cgi?id=80109
-
- Reviewed by Hajime Morita.
-
- Test: fast/forms/fieldset/fieldset-type.html
-
- * html/HTMLFieldSetElement.idl: Add attribute "type"
-
-2012-03-05 Anders Carlsson <andersca@apple.com>
-
- Fix build.
-
- * platform/graphics/ca/mac/TileCache.mm:
- (WebCore::TileCache::setScale):
-
-2012-03-05 Anders Carlsson <andersca@apple.com>
-
- pinch-to-zoom and double-tap flicker when using the new scrolling model
- https://bugs.webkit.org/show_bug.cgi?id=80368
- <rdar://problem/10866221>
-
- Reviewed by Sam Weinig.
-
- In order to work better with zooming, make the tile cache undo the scale transformation
- and handle the scaling manually. This avoids creating huge tile backing stores when zoomed in.
-
- * platform/graphics/ca/mac/TileCache.mm:
- (WebCore::TileCache::TileCache):
- Initialize m_scale to 1.
-
- (WebCore::TileCache::setNeedsDisplayInRect):
- Scale the given rect appropriately.
-
- (WebCore::TileCache::drawLayer):
- Apply a scale context transform.
-
- (WebCore::TileCache::setScale):
- No longer set the contents scale. Instead, update the scale and revalidate the tiles.
-
- (WebCore::TileCache::revalidateTiles):
- Return early if the bounds are empty. This avoids showing a single tile if that happens due to a race condition.
-
- (WebCore::TileCache::getTileIndexRangeForRect):
- Apply the scale to the bounds.
-
- (WebCore::TileCache::createTileLayer):
- Don't set the contents scale.
-
- * platform/graphics/ca/mac/WebTileCacheLayer.mm:
- (-[WebTileCacheLayer setContentsScale:]):
- Call TileCache::setScale.
-
- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::updateCompositedBounds):
- Make sure to give the tile cache layer sane composited bounds, even if the page has absolutely positioned
- elements that are outside of the page.
-
-2012-03-05 Leo Yang <leo.yang@torchmobile.com.cn>
-
- GraphicsContext3D.h should include RefCounted.h explicitly
- https://bugs.webkit.org/show_bug.cgi?id=80251
-
- Reviewed by Rob Buis.
-
- GraphicsContext3D.h was using RefCounted but including RefCounted.h indirectly
- through GraphicsLayer.h through Animation.h. However Animation.h is included
- by GraphicsLayer.h only when ACCELERATED_COMPOSITING is on. For some configurations
- that don't use ACCELERATED_COMPOSITING but use GraphicsContext3D, like the
- BlackBerry x86 configuration, the indirect inclusion will fail.
-
- This patch is adding explicit inclusion of RefCounted.h to avoid that kind of
- problem.
-
- * platform/graphics/GraphicsContext3D.h:
-
-2012-03-05 Kenichi Ishibashi <bashi@chromium.org>
-
- [WebSocket] Should raise SYNTAX_ERR when message contains unpaired surrogates
- https://bugs.webkit.org/show_bug.cgi?id=80103
-
- Reviewed by Kent Tamura.
-
- Add UTF8 validation checks for WebSocket message and close reason.
-
- Tests: http/tests/websocket/tests/hybi/unpaired-surrogates-in-close-reason.html
- http/tests/websocket/tests/hybi/unpaired-surrogates-in-message.html
-
- * Modules/websockets/WebSocket.cpp:
- (WebCore::WebSocket::send): Raise SYNTAX_ERR if the message is invalid.
- (WebCore::WebSocket::close):Raise SYNTAX_ERR if the reason is invalid.
- * Modules/websockets/WebSocketChannel.cpp:
- (WebCore::WebSocketChannel::send): Check whether message is a valid UTF8 string.
-
-2012-03-05 Kenneth Russell <kbr@google.com>
-
- [chromium] Notify CCLayerImpl tree of context loss and restoration
- https://bugs.webkit.org/show_bug.cgi?id=80339
-
- Reviewed by James Robinson.
-
- Tested by manually killing GPU process while playing Flash video.
- Video continues to play after compositor restores its context.
-
- * platform/graphics/chromium/cc/CCLayerImpl.cpp:
- (WebCore::CCLayerImpl::didLoseAndRecreateGraphicsContext):
- (WebCore):
- * platform/graphics/chromium/cc/CCLayerImpl.h:
- (CCLayerImpl):
- * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
- (WebCore::CCLayerTreeHostImpl::sendContextLostAndRestoredNotification):
- (WebCore):
- (WebCore::CCLayerTreeHostImpl::sendContextLostAndRestoredNotificationRecursive):
- * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
- (CCLayerTreeHostImpl):
- * platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
- (WebCore::CCPluginLayerImpl::didLoseAndRecreateGraphicsContext):
- (WebCore):
- * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
- (CCPluginLayerImpl):
- * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
- (WebCore::CCSingleThreadProxy::recreateContext):
-
-2012-03-05 Changhun Kang <temoochin@company100.net>
-
- Change the argument orders to match OpenGL's in GraphicsContext3D functions
- https://bugs.webkit.org/show_bug.cgi?id=80120
-
- Reviewed by Kenneth Russell.
-
- No new tests because this patch just change the order of arguments.
-
- * html/canvas/WebGLRenderingContext.cpp:
- (WebCore):
- (WebCore::WebGLRenderingContext::uniform1fv):
- (WebCore::WebGLRenderingContext::uniform1iv):
- (WebCore::WebGLRenderingContext::uniform2fv):
- (WebCore::WebGLRenderingContext::uniform2iv):
- (WebCore::WebGLRenderingContext::uniform3fv):
- (WebCore::WebGLRenderingContext::uniform3iv):
- (WebCore::WebGLRenderingContext::uniform4fv):
- (WebCore::WebGLRenderingContext::uniform4iv):
- (WebCore::WebGLRenderingContext::uniformMatrix2fv):
- (WebCore::WebGLRenderingContext::uniformMatrix3fv):
- (WebCore::WebGLRenderingContext::uniformMatrix4fv):
- * platform/graphics/GraphicsContext3D.h:
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::LayerRendererChromium::drawDebugBorderQuad):
- (WebCore::LayerRendererChromium::drawTileQuad):
- (WebCore::LayerRendererChromium::drawYUV):
- (WebCore::LayerRendererChromium::drawStreamTexture):
- (WebCore::LayerRendererChromium::drawTexturedQuad):
- * platform/graphics/chromium/cc/CCRenderSurface.cpp:
- (WebCore::CCRenderSurface::drawSurface):
- * platform/graphics/efl/GraphicsContext3DEfl.cpp:
- (WebCore::GraphicsContext3D::uniform1fv):
- (WebCore::GraphicsContext3D::uniform1iv):
- (WebCore::GraphicsContext3D::uniform2fv):
- (WebCore::GraphicsContext3D::uniform2iv):
- (WebCore::GraphicsContext3D::uniform3fv):
- (WebCore::GraphicsContext3D::uniform3iv):
- (WebCore::GraphicsContext3D::uniform4fv):
- (WebCore::GraphicsContext3D::uniform4iv):
- (WebCore::GraphicsContext3D::uniformMatrix2fv):
- (WebCore::GraphicsContext3D::uniformMatrix3fv):
- (WebCore::GraphicsContext3D::uniformMatrix4fv):
- * platform/graphics/filters/FECustomFilter.cpp:
- (WebCore::FECustomFilter::bindProgramAndBuffers):
- * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
- (WebCore::GraphicsContext3D::uniform1fv):
- (WebCore::GraphicsContext3D::uniform2fv):
- (WebCore::GraphicsContext3D::uniform3fv):
- (WebCore::GraphicsContext3D::uniform4fv):
- (WebCore::GraphicsContext3D::uniform1iv):
- (WebCore::GraphicsContext3D::uniform2iv):
- (WebCore::GraphicsContext3D::uniform3iv):
- (WebCore::GraphicsContext3D::uniform4iv):
- (WebCore::GraphicsContext3D::uniformMatrix2fv):
- (WebCore::GraphicsContext3D::uniformMatrix3fv):
- (WebCore::GraphicsContext3D::uniformMatrix4fv):
- * platform/graphics/qt/GraphicsContext3DQt.cpp:
- (WebCore::GraphicsContext3D::uniform1fv):
- (WebCore::GraphicsContext3D::uniform2fv):
- (WebCore::GraphicsContext3D::uniform3fv):
- (WebCore::GraphicsContext3D::uniform4fv):
- (WebCore::GraphicsContext3D::uniform1iv):
- (WebCore::GraphicsContext3D::uniform2iv):
- (WebCore::GraphicsContext3D::uniform3iv):
- (WebCore::GraphicsContext3D::uniform4iv):
- (WebCore::GraphicsContext3D::uniformMatrix2fv):
- (WebCore::GraphicsContext3D::uniformMatrix3fv):
- (WebCore::GraphicsContext3D::uniformMatrix4fv):
-
-2012-03-05 Yoshifumi Inoue <yosin@chromium.org>
-
- [Forms] HTMLFieldSetForms.idl doesn't have name attribute.
- https://bugs.webkit.org/show_bug.cgi?id=80108
-
- Reviewed by Hajime Morita.
-
- Test: fast/forms/fieldset/fieldset-name.html
-
- * html/HTMLFieldSetElement.idl: Add "name" attribute.
-
-2012-03-05 Levi Weintraub <leviw@chromium.org>
-
- Update usage of LayoutUnits in RenderBox
- https://bugs.webkit.org/show_bug.cgi?id=80039
-
- Reviewed by Julien Chaffraix.
-
- Updating the usage of integers versus LayoutUnits in RenderBox to mirror the
- subpixellayout branch. This reverts absoluteRects, intrinsicSize, and focusRingRects
- methods to use integers, and flipForWritingMode functions to LayoutUnits.
-
- No new tests. No change in behavior.
-
- * platform/graphics/FractionalLayoutRect.h:
- (WebCore::FractionalLayoutRect::pixelSnappedX): Convenience methods that only calculate
- the needed values. This requires less computation than pixelSnappedIntRect(r).x().
- (WebCore::FractionalLayoutRect::pixelSnappedY): Ditto.
- (WebCore::FractionalLayoutRect::pixelSnappedWidth): Ditto.
- (WebCore::FractionalLayoutRect::pixelSnappedHeight): Ditto.
- (WebCore::FractionalLayoutRect::pixelSnappedMaxX): Ditto.
- (WebCore::FractionalLayoutRect::pixelSnappedMaxY): Ditto.
- (FractionalLayoutRect):
- * platform/graphics/IntRect.h:
- (IntRect):
- (WebCore::IntRect::pixelSnappedX): Stub methods to allow us to use IntRects like we do
- FractionalLayoutRects.
- (WebCore::IntRect::pixelSnappedY): Ditto.
- (WebCore::IntRect::pixelSnappedMaxX): Ditto.
- (WebCore::IntRect::pixelSnappedMaxY): Ditto.
- (WebCore::IntRect::pixelSnappedWidth): Ditto.
- (WebCore::IntRect::pixelSnappedHeight): Ditto.
- * rendering/LayoutTypes.h:
- (WebCore::pixelSnappedIntRect): Convenience method for building a pixelSnappedIntRect from
- a LayoutPoint and LayoutSize without constructing an intermediate LayoutRect.
- (WebCore):
- (WebCore::snapSizeToPixel): Stub method for snapping a LayoutUnit representing a size to
- its pixel value using its location.
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::pixelSnappedClientWidth): Changing to actually call snapSizeToPixel.
- (WebCore::RenderBox::pixelSnappedClientHeight): Ditto.
- (WebCore::RenderBox::absoluteRects): Switching to return IntRects that represent the actual
- rendered location on screen.
- (WebCore::RenderBox::addFocusRingRects): Ditto.
- (WebCore::RenderBox::paintFillLayer): One-liner switching an IntSize() to LayoutSize() to
- avoid unnecessary conversion.
- (WebCore::RenderBox::shrinkLogicalWidthToAvoidFloats): Preparing for the conversion by
- replacing 0 with zeroLayoutUnit.
- (WebCore::RenderBox::positionLineBox): Preparing for conversion by replacing lroundf
- with roundedLayoutUnit.
- (WebCore::RenderBox::flipForWritingMode): Switching to use LayoutUnits.
- * rendering/RenderBox.h:
- (RenderBox):
- (WebCore::RenderBox::pixelSnappedBorderBoxRect): Convenience method.
- (WebCore::RenderBox::borderBoundingBox): Converting to a pixelSnappedIntRect.
- (WebCore::RenderBox::intrinsicSize): Intrinsic sizes should always be integers.
-
-2012-03-05 Adam Barth <abarth@webkit.org>
-
- WorkerContext shouldn't need to know about SQLDatabase
- https://bugs.webkit.org/show_bug.cgi?id=80352
-
- Reviewed by Eric Seidel.
-
- This patch removes the SQLDatabase functions from WorkerContext in
- preparation for moving the SQLDatabase code into a module. These
- functions don't interact with the rest of WorkerContext.
-
- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * storage/DOMWindowSQLDatabase.cpp:
- * storage/WorkerContextSQLDatabase.cpp: Added.
- (WebCore):
- (WebCore::WorkerContextSQLDatabase::openDatabase):
- (WebCore::WorkerContextSQLDatabase::openDatabaseSync):
- * storage/WorkerContextSQLDatabase.h: Added.
- (WebCore):
- (WorkerContextSQLDatabase):
- (WebCore::WorkerContextSQLDatabase::WorkerContextSQLDatabase):
- (WebCore::WorkerContextSQLDatabase::~WorkerContextSQLDatabase):
- * storage/WorkerContextSQLDatabase.idl: Added.
- * workers/WorkerContext.cpp:
- (WebCore):
- * workers/WorkerContext.h:
- (WebCore):
- (WorkerContext):
- * workers/WorkerContext.idl:
-
-2012-03-05 Kenichi Ishibashi <bashi@chromium.org>
-
- [WebSocket] Introduce ThreadableWebSocketChannel::SendResult
- https://bugs.webkit.org/show_bug.cgi?id=80356
-
- Reviewed by Kent Tamura.
-
- Introduced ThreadableWebSocketChannel::SendResult type so that
- WebSocketChannel can pass the validation result.
-
- No new test. No changes in behavior.
-
- * Modules/websockets/ThreadableWebSocketChannel.h: Added SendResult.
- * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
- (WebCore::ThreadableWebSocketChannelClientWrapper::ThreadableWebSocketChannelClientWrapper):
- (WebCore::ThreadableWebSocketChannelClientWrapper::sendRequestResult): Use ThreadableWebSocketChannel::SendResult instead of bool.
- (WebCore::ThreadableWebSocketChannelClientWrapper::setSendRequestResult): Ditto.
- * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
- (ThreadableWebSocketChannelClientWrapper):
- * Modules/websockets/WebSocketChannel.cpp:
- (WebCore::WebSocketChannel::send): Use ThreadableWebSocketChannel::SendResult instead of bool. Pass Cstring to enqueTextFrame instead of String.
- (WebCore::WebSocketChannel::enqueueTextFrame): Ditto.
- (WebCore::WebSocketChannel::processOutgoingFrameQueue): Ditto.
- * Modules/websockets/WebSocketChannel.h:
- (WebSocketChannel):
- (QueuedFrame): Changed the type of stringData from String to CString.
- * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
- (WebCore::WorkerThreadableWebSocketChannel::send): Use ThreadableWebSocketChannel::SendResult instead of bool.
- (WebCore::workerContextDidSend): Ditto.
- (WebCore::WorkerThreadableWebSocketChannel::Peer::send): Ditto.
- (WebCore::WorkerThreadableWebSocketChannel::Bridge::send): Ditto.
- * Modules/websockets/WorkerThreadableWebSocketChannel.h:
- (WorkerThreadableWebSocketChannel): ditto.
- (Bridge): Ditto.
-
-2012-03-05 Kentaro Hara <haraken@chromium.org>
-
- [JSC] Cache the CSSPropertyID in JSCSSStyleDeclaration
- https://bugs.webkit.org/show_bug.cgi?id=80250
-
- Reviewed by Benjamin Poulain.
-
- V8CSSStyleDeclaration caches the calculated CSSPropertyID.
- Similarly, we can implement the cache in JSCSSStyleDeclaration.
-
- In my local Mac environment, this optimization improves the performance
- of CSS property getters by 35%, and the performance of CSS property setters
- by 8%.
-
- CSS property getter: for (var i = 0; i < 1000000; i++) span.style.fontWeight;
- CSS property setter: for (var i = 0; i < 1000000; i++) span.style.fontWeight = "bold";
-
- Tests: fast/dom/CSSStyleDeclaration/* (No change in test results)
-
- * bindings/js/JSCSSStyleDeclarationCustom.cpp:
- (CSSPropertyInfo):
- (WebCore):
- (WebCore::cssPropertyIDForJSCSSPropertyName):
- (WebCore::JSCSSStyleDeclaration::nameGetter):
- (WebCore::JSCSSStyleDeclaration::putDelegate):
-
-2012-03-05 Joshua Bell <jsbell@chromium.org>
-
- IndexedDB: Handle LevelDB database corruption
- https://bugs.webkit.org/show_bug.cgi?id=79413
-
- Add LevelDBDatabase::destroy() method so that clients can retry if open() fails.
-
- Reviewed by Tony Chang.
-
- Test: webkit_unit_tests --gtest_filter='LevelDBDatabaseTest.CorruptionTest'
-
- * Modules/indexeddb/IDBLevelDBBackingStore.cpp: Implement open/destroy/open strategy.
- (WebCore::IDBLevelDBBackingStore::open):
- * platform/leveldb/LevelDBDatabase.cpp:
- (WebCore::LevelDBDatabase::destroy):
- (WebCore):
- * platform/leveldb/LevelDBDatabase.h:
- (LevelDBDatabase):
-
-2012-03-05 Stephen Chenney <schenney@chromium.org>
-
- [Chromium] SVG Composite of Offset crashes
- https://bugs.webkit.org/show_bug.cgi?id=77245
-
- Reviewed by Stephen White.
-
- The feComposite arithmetic mode filter could readily be made to
- generate invalid pre-multiplied pixel values which would then go on to
- pollute other filters and cause invalid final output pixels. This
- patch checks for filters that require valid inputs, and checks that a
- result is valid, and corrects the result if necessary. This matches
- the behavior of FF and Opera while preventing crashes or other
- undesirable behavior.
-
- Test: svg/filters/feComposite-arithmetic-invalid-rgba.svg
-
- * platform/graphics/filters/FEComposite.h: Override the default validity checks and image cleanup methods.
- * platform/graphics/filters/FEComposite.cpp:
- (WebCore::FEComposite::correctFilterResultIfNeeded): Force valid pixels if this is an arithmetic filter
- * platform/graphics/filters/FilterEffect.cpp:
- (WebCore::FilterEffect::apply): Check for validity status and correct
- (WebCore::FilterEffect::forceValidPremultipliedPixels): Make an image valid
- (WebCore):
- * platform/graphics/filters/FilterEffect.h: New virtual methods for image validity.
- (FilterEffect):
- (WebCore::FilterEffect::requiresValidPreMulultipliedPixels):
- (WebCore::FilterEffect::forceValidPremultipliedPixels):
- (WebCore::FilterEffect::correctFilterResultIfNeeded):
- * rendering/svg/RenderSVGResourceFilter.cpp:
- (WebCore::RenderSVGResourceFilter::postApplyResource): Check that the final filter result is valid
-
-2012-03-05 Alexis Menard <alexis.menard@openbossa.org>
-
- getComputedStyle gives incorrect information for 'height' property
- https://bugs.webkit.org/show_bug.cgi?id=33593
-
- Reviewed by David Hyatt.
-
- Make sure that the contentBoxRect doesn't take into account the
- intrinsic padding when querying it. As stated by http://www.w3.org/TR/css3-box/#the-lsquo0
- the height is the content area which doesn't include the intrinsic padding, the border, and
- the padding.
-
- Test: fast/css/getComputedStyle/getComputedStyle-height.html
-
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- * editing/DeleteSelectionCommand.cpp:
- (WebCore::DeleteSelectionCommand::removeNode):
- * rendering/RenderBox.h:
- (WebCore::RenderBox::contentBoxRect):
- (WebCore::RenderBox::contentWidth):
- (WebCore::RenderBox::contentHeight):
- (WebCore::RenderBox::contentLogicalWidth):
- (WebCore::RenderBox::contentLogicalHeight):
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::paddingTop):
- (WebCore::RenderBoxModelObject::paddingBottom):
- (WebCore::RenderBoxModelObject::paddingLeft):
- (WebCore::RenderBoxModelObject::paddingRight):
- (WebCore::RenderBoxModelObject::paddingBefore):
- (WebCore::RenderBoxModelObject::paddingAfter):
- (WebCore::RenderBoxModelObject::paddingStart):
- (WebCore::RenderBoxModelObject::paddingEnd):
- * rendering/RenderBoxModelObject.h:
- (RenderBoxModelObject):
- * rendering/RenderTableCell.cpp:
- (WebCore::RenderTableCell::paddingTop):
- (WebCore::RenderTableCell::paddingBottom):
- (WebCore::RenderTableCell::paddingLeft):
- (WebCore::RenderTableCell::paddingRight):
- (WebCore::RenderTableCell::paddingBefore):
- (WebCore::RenderTableCell::paddingAfter):
- (WebCore::RenderTableCell::cellBaselinePosition):
- * rendering/RenderTableCell.h:
- (RenderTableCell):
- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::firstLineBoxBaseline):
-
-2012-03-05 MORITA Hajime <morrita@google.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=80257
- Lifecycle of InternalSettings should be simplified.
-
- Reviewed by Ryosuke Niwa.
-
- - Moved settings update code to separate restoreTo() method.
- - Eliminated flags which indidate the changed field.
- Now these modifiable parameters are backed up at the initialization.
-
- No new tests. Refactoring.
-
- * testing/InternalSettings.cpp:
- (WebCore::InternalSettings::create):
- (WebCore::InternalSettings::InternalSettings):
- (WebCore):
- (WebCore::InternalSettings::restoreTo):
- * testing/InternalSettings.h:
- (InternalSettings):
- * testing/Internals.cpp:
- (WebCore::Internals::reset):
-
-2012-03-05 Anders Carlsson <andersca@apple.com>
-
- Be more aggressive about repainting page overlays
- https://bugs.webkit.org/show_bug.cgi?id=80336
- <rdar://problem/10965943>
-
- Reviewed by Simon Fraser.
-
- Add a way to find out if a given GraphicsLayer is going to be repainted.
-
- * WebCore.exp.in:
- * platform/graphics/GraphicsLayer.h:
- (WebCore::GraphicsLayer::needsDisplay):
- (GraphicsLayer):
- * platform/graphics/ca/GraphicsLayerCA.h:
-
-2012-03-05 Robin Cao <robin.cao@torchmobile.com.cn>
-
- [BlackBerry] Upstream LayerRendererSurface.{cpp, h}
- https://bugs.webkit.org/show_bug.cgi?id=80122
-
- Reviewed by Rob Buis.
-
- Initial upstream, no new tests.
-
- * PlatformBlackBerry.cmake:
- * platform/graphics/blackberry/LayerRendererSurface.cpp: Added.
- (WebCore):
- (WebCore::LayerRendererSurface::LayerRendererSurface):
- (WebCore::LayerRendererSurface::~LayerRendererSurface):
- (WebCore::LayerRendererSurface::setContentRect):
- (WebCore::LayerRendererSurface::drawRect):
- (WebCore::LayerRendererSurface::ensureTexture):
- (WebCore::LayerRendererSurface::releaseTexture):
- * platform/graphics/blackberry/LayerRendererSurface.h: Added.
- (WebCore):
- (LayerRendererSurface):
- (WebCore::LayerRendererSurface::size):
- (WebCore::LayerRendererSurface::contentRect):
- (WebCore::LayerRendererSurface::clipRect):
- (WebCore::LayerRendererSurface::setClipRect):
- (WebCore::LayerRendererSurface::setDrawTransform):
- (WebCore::LayerRendererSurface::drawTransform):
- (WebCore::LayerRendererSurface::setReplicaDrawTransform):
- (WebCore::LayerRendererSurface::replicaDrawTransform):
- (WebCore::LayerRendererSurface::texture):
- (WebCore::LayerRendererSurface::drawOpacity):
- (WebCore::LayerRendererSurface::setDrawOpacity):
-
-2012-03-05 Mihnea Ovidenie <mihnea@adobe.com>
-
- [CSSRegions][CSSOM]Prevent creation of NamedFlow object for invalid flow name
- https://bugs.webkit.org/show_bug.cgi?id=79685
-
- Reviewed by David Hyatt.
-
- Asking for a named flow with an invalid flow name should return a null object.
-
- Test: fast/regions/webkit-named-flow-invalid-name.html
-
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseFlowThread):
- (WebCore):
- * css/CSSParser.h:
- * dom/Document.cpp:
- (WebCore::validFlowName):
- (WebCore):
- (WebCore::Document::webkitGetFlowByName):
-
-2012-03-05 Ryosuke Niwa <rniwa@webkit.org>
-
- unicode-bidi should support isolate override and override isolate
- https://bugs.webkit.org/show_bug.cgi?id=73164
-
- Reviewed by Eric Seidel.
-
- Updated CSS parser and CSS style selector to support the union of bidi-override and isolate in
- unicode-bidi property. Added OverrideIsolate to EUnicodeBidi instead of turning Override and Isolate
- into bit flags to avoid increasing the number of bits required to store the unicodeBidi flag.
-
- Also fixed a bug in RenderBlock::constructTextRun to actually check whether an isolated run's direction
- is overridden or not when constructing one.
-
- Tests: fast/css/unicode-bidi-computed-value.html
- fast/text/bidi-override-isolate.html
-
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::renderUnicodeBidiFlagsToCSSValue): Added; Create a CSSValueList when unicode-bidi has both
- isolate and bidi-override specified.
- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Calls renderUnicodeBidiFlagsToCSSValue.
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseValue): Support parsing combinations of -webkit-isolate and bidi-override;
- Create a CSSValueList in such cases.
- * css/CSSPrimitiveValueMappings.h:
- (WebCore):
- * css/CSSStyleApplyProperty.cpp:
- (ApplyPropertyUnicodeBidi):
- (WebCore::ApplyPropertyUnicodeBidi::applyValue): Support combinations of -webkit-isolate and
- bidi-override. Set the unicodeBidi flag to OverrideIsolate in such cases.
- (WebCore::ApplyPropertyUnicodeBidi::createHandler):
- (WebCore):
- (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- * html/canvas/CanvasRenderingContext2D.cpp:
- (WebCore::CanvasRenderingContext2D::drawTextInternal):
- * platform/text/UnicodeBidi.h: Added OverrideIsolate. We don't use bit flags to avoid increasing the
- number of bits required to store flags especially because isolate and bidi-override are only values
- that can be combined.
- (WebCore::isIsolated):
- (WebCore):
- (WebCore::isOverride):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::constructTextRun):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::statusWithDirection): Takes isOverride; we used to assume it's always false.
- (WebCore::constructBidiRuns): Instantiate isolatedResolver with a proper value of isOverride.
- (WebCore::RenderBlock::layoutRunsAndFloatsInRange):
- (WebCore::RenderBlock::determineStartPosition):
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::paintItemForeground):
- * rendering/RenderMenuList.cpp:
- (WebCore::RenderMenuList::itemStyle):
- (WebCore::RenderMenuList::menuStyle):
- * rendering/RenderTextControlSingleLine.cpp:
- (WebCore::RenderTextControlSingleLine::menuStyle):
- * rendering/svg/SVGTextMetrics.cpp:
- (WebCore::SVGTextMetrics::constructTextRun):
-
-2012-03-05 Emil A Eklund <eae@chromium.org>
-
- Replace uses of x(), y() and width(), height() pairs with locationOffset and size()
- https://bugs.webkit.org/show_bug.cgi?id=80196
-
- Reviewed by Julien Chaffraix.
-
- Replace IntSize(x(), y()) with locationOffset()
- Replace IntSize(width(), height()) with size()
- Replace IntRect(0, 0, width(), height()) with IntRect(IntPoint(), size())
- Replace IntRect::move(x(), y()) with IntRect::move(locationOffset())
-
- No new tests.
-
- * html/HTMLCanvasElement.cpp:
- (WebCore::HTMLCanvasElement::createImageBuffer):
- (WebCore::HTMLCanvasElement::baseTransform):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::simplifiedLayout):
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::mapLocalToContainer):
- (WebCore::RenderBox::computeRectForRepaint):
- * rendering/RenderBox.h:
- (WebCore::RenderBox::borderBoxRect):
- * rendering/RenderDeprecatedFlexibleBox.cpp:
- (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
- * rendering/RenderFlexibleBox.cpp:
- (WebCore::RenderFlexibleBox::layoutBlock):
- * rendering/RenderListMarker.cpp:
- (WebCore::RenderListMarker::localSelectionRect):
- * rendering/RenderReplaced.cpp:
- (WebCore::RenderReplaced::localSelectionRect):
- * rendering/RenderScrollbar.cpp:
- (WebCore::RenderScrollbar::updateScrollbarParts):
- (WebCore::RenderScrollbar::buttonRect):
- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::setCellLogicalWidths):
- (WebCore::RenderTableSection::layoutRows):
- * rendering/RenderView.cpp:
- (WebCore::RenderView::viewRect):
- * rendering/svg/RenderSVGRoot.cpp:
- (WebCore::RenderSVGRoot::layout):
-
-2012-03-05 Anders Carlsson <andersca@apple.com>
-
- Always update the scroll layer position on the main thread when we have an overlay
- https://bugs.webkit.org/show_bug.cgi?id=80324
-
- Reviewed by Sam Weinig.
-
- Add a way to ensure that scroll layer position updates happen on the main thread.
-
- * WebCore.exp.in:
- * page/scrolling/ScrollingCoordinator.cpp:
- (WebCore::ScrollingCoordinator::ScrollingCoordinator):
- (WebCore::ScrollingCoordinator::updateShouldUpdateScrollLayerPositionOnMainThread):
- (WebCore):
- (WebCore::ScrollingCoordinator::setForceMainThreadScrollLayerPositionUpdates):
- * page/scrolling/ScrollingCoordinator.h:
- (ScrollingCoordinator):
-
-2012-03-05 Tony Chang <tony@chromium.org>
-
- Implement flex-wrap: wrap
- https://bugs.webkit.org/show_bug.cgi?id=79930
-
- Reviewed by David Hyatt.
-
- Tests: css3/flexbox/multiline-align.html
- css3/flexbox/multiline.html
-
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::sizesToIntrinsicLogicalWidth): Don't apply column+stretch optimization to multiline.
- * rendering/RenderFlexibleBox.cpp:
- (WebCore::RenderFlexibleBox::FlexOrderIterator::FlexOrderIterator):
- (WebCore::RenderFlexibleBox::FlexOrderIterator::currentChild): Expose the current child so we can pause
- in the middle of iteration and resume later.
- (RenderFlexibleBox::FlexOrderIterator):
- (WebCore::RenderFlexibleBox::isMultiline):
- (WebCore):
- (WebCore::RenderFlexibleBox::layoutFlexItems): Loop per line.
- (WebCore::RenderFlexibleBox::availableAlignmentSpaceForChild): Use the line space, not the whole container space.
- (WebCore::RenderFlexibleBox::computeFlexOrder): Return true for each line.
- (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): Use the line offset. Also compute the line height as we go.
- (WebCore::RenderFlexibleBox::layoutColumnReverse): Use the line offset.
- (WebCore::RenderFlexibleBox::alignChildren): Align based on the line height. For multiline + column, we have to relayout
- since the width may change (same as the row case above). We'll have to do something smarter when we implement flex-line-pack.
- * rendering/RenderFlexibleBox.h:
- (RenderFlexibleBox):
-
-2012-03-05 Ben Vanik <benvanik@google.com>
-
- Implement WebGL extension EXT_texture_filter_anisotropic
- https://bugs.webkit.org/show_bug.cgi?id=79541
-
- This exports the EXT_texture_filter_anisotropic extension with the WEBKIT_ prefix as defined at
- https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html
-
- Reviewed by Kenneth Russell.
-
- Tested with the Khronos conformance test for the extension, available at https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/extensions/ext-texture-filter-anisotropic.html
-
- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.gypi:
- * WebCore.xcodeproj/project.pbxproj:
- * bindings/js/JSWebGLRenderingContextCustom.cpp:
- (WebCore::toJS):
- * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
- (WebCore::toV8Object):
- * html/canvas/EXTTextureFilterAnisotropic.cpp: Copied from Source/WebCore/html/canvas/WebGLExtension.h.
- (WebCore):
- (WebCore::EXTTextureFilterAnisotropic::EXTTextureFilterAnisotropic):
- (WebCore::EXTTextureFilterAnisotropic::~EXTTextureFilterAnisotropic):
- (WebCore::EXTTextureFilterAnisotropic::getName):
- (WebCore::EXTTextureFilterAnisotropic::create):
- * html/canvas/EXTTextureFilterAnisotropic.h: Copied from Source/WebCore/html/canvas/WebGLExtension.h.
- (WebCore):
- (EXTTextureFilterAnisotropic):
- * html/canvas/EXTTextureFilterAnisotropic.idl: Copied from Source/WebCore/html/canvas/WebGLExtension.h.
- * html/canvas/WebGLExtension.h:
- * html/canvas/WebGLObject.cpp:
- * html/canvas/WebGLRenderingContext.cpp:
- (WebCore):
- (WebCore::WebGLRenderingContext::getExtension):
- (WebCore::WebGLRenderingContext::getParameter):
- (WebCore::WebGLRenderingContext::getSupportedExtensions):
- (WebCore::WebGLRenderingContext::getTexParameter):
- (WebCore::WebGLRenderingContext::texParameter):
- * html/canvas/WebGLRenderingContext.h:
- (WebCore):
- (WebGLRenderingContext):
- * platform/graphics/Extensions3D.h:
- (Extensions3D):
- * platform/graphics/opengl/Extensions3DOpenGL.cpp:
- (WebCore::Extensions3DOpenGL::supports):
-
-2012-03-05 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r109760.
- http://trac.webkit.org/changeset/109760
- https://bugs.webkit.org/show_bug.cgi?id=80320
-
- Caused many GTK+ tests to crash (Requested by mrobinson on
- #webkit).
-
- * platform/network/ResourceHandleClient.h:
- * platform/network/soup/ResourceHandleSoup.cpp:
- (WebCoreSynchronousLoader):
- (WebCore::WebCoreSynchronousLoader::WebCoreSynchronousLoader):
- (WebCore):
- (WebCore::WebCoreSynchronousLoader::~WebCoreSynchronousLoader):
- (WebCore::WebCoreSynchronousLoader::didReceiveResponse):
- (WebCore::WebCoreSynchronousLoader::didReceiveData):
- (WebCore::WebCoreSynchronousLoader::didFinishLoading):
- (WebCore::WebCoreSynchronousLoader::didFail):
- (WebCore::WebCoreSynchronousLoader::run):
- (WebCore::closeCallback):
- (WebCore::readCallback):
- (WebCore::ResourceHandle::defaultSession):
-
-2012-03-05 Adam Klein <adamk@chromium.org>
-
- Never dispatch mutation events in shadow DOM
- https://bugs.webkit.org/show_bug.cgi?id=79278
-
- Reviewed by Ryosuke Niwa.
-
- Test: fast/dom/shadow/suppress-mutation-events-in-shadow.html
-
- * dom/ContainerNode.cpp:
- (WebCore::ContainerNode::removeChildren): Move allowEventDispatch() call later,
- now that childrenChanged won't trigger mutation events in shadow dom.
- (WebCore::dispatchChildInsertionEvents): Bail out if in shadow tree.
- (WebCore::dispatchChildRemovalEvents): ditto.
- * dom/Node.cpp:
- (WebCore::Node::dispatchSubtreeModifiedEvent): ditto.
-
-2012-03-05 Alexey Proskuryakov <ap@apple.com>
-
- BlobResourceHandle should keep a reference to itself when calling client code.
- https://bugs.webkit.org/show_bug.cgi?id=80318
-
- Reviewed by Brady Eidson.
-
- * platform/network/BlobResourceHandle.cpp:
- (WebCore::BlobResourceHandle::doStart):
- (WebCore::BlobResourceHandle::getSizeForNext):
- (WebCore::BlobResourceHandle::readSync):
- (WebCore::BlobResourceHandle::readDataAsync):
- (WebCore::BlobResourceHandle::consumeData):
- (WebCore::BlobResourceHandle::failed):
- Added RefPtrs in functions that can result in calling client code, and use "this" object afterwards.
-
-2012-03-05 Anders Carlsson <andersca@apple.com>
-
- Let RenderLayerCompositor set the tile cache visible rect
- https://bugs.webkit.org/show_bug.cgi?id=80317
-
- Reviewed by Simon Fraser.
-
- We can't compute the visible rect from CALayers, because that breaks when we're updating
- the scroll layer position on the main thread (since by the time visibleRectChanged() is called,
- the CALayers won't yet have been updated).
-
- * platform/graphics/GraphicsLayer.h:
- (WebCore::GraphicsLayer::visibleRectChanged):
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::visibleRectChanged):
- * platform/graphics/ca/GraphicsLayerCA.h:
- (GraphicsLayerCA):
- * platform/graphics/ca/PlatformCALayer.h:
- (PlatformCALayer):
- * platform/graphics/ca/mac/PlatformCALayerMac.mm:
- (PlatformCALayer::visibleRectChanged):
- * platform/graphics/ca/mac/TileCache.h:
- (TileCache):
- * platform/graphics/ca/mac/TileCache.mm:
- (WebCore::TileCache::visibleRectChanged):
- (WebCore::TileCache::revalidateTiles):
- * platform/graphics/ca/mac/WebTileCacheLayer.h:
- (WebCore):
- * platform/graphics/ca/mac/WebTileCacheLayer.mm:
- (-[WebTileCacheLayer visibleRectChanged:]):
- * platform/graphics/ca/win/PlatformCALayerWin.cpp:
- (PlatformCALayer::visibleRectChanged):
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::frameViewDidScroll):
-
-2012-03-05 Kangil Han <kangil.han@samsung.com>
-
- [CMake][DRT] Add WebCoreTestSupport.
- https://bugs.webkit.org/show_bug.cgi?id=79896
-
- Reviewed by Daniel Bates.
-
- Add WebCoreTestSupport library for DRT in CMake.
- We will use internals object by linking this library on DRT.
-
- * CMakeLists.txt:
- * UseJSC.cmake:
- * UseV8.cmake:
-
-2012-03-05 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r109656.
- http://trac.webkit.org/changeset/109656
- https://bugs.webkit.org/show_bug.cgi?id=80316
-
- This seems to have regressed Parser/html5-full-render by about
- 10% (Requested by anttik on #webkit).
-
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::getPositionOffsetValue):
- (WebCore::getBorderRadiusCornerValues):
- (WebCore::getBorderRadiusCornerValue):
- (WebCore::getBorderRadiusShorthandValue):
- (WebCore::lineHeightFromStyle):
- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- * css/CSSGrammar.y:
- * css/CSSParser.cpp:
- (WebCore::CSSParser::validUnit):
- (WebCore::CSSParser::createPrimitiveNumericValue):
- (WebCore::unitFromString):
- (WebCore::CSSParser::parseValidPrimitive):
- (WebCore::CSSParser::detectNumberToken):
- * css/CSSPrimitiveValue.cpp:
- (WebCore::isValidCSSUnitTypeForDoubleConversion):
- (WebCore::unitCategory):
- (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- (WebCore::CSSPrimitiveValue::canonicalUnitTypeForCategory):
- (WebCore::CSSPrimitiveValue::customCssText):
- * css/CSSPrimitiveValue.h:
- (CSSPrimitiveValue):
- * css/CSSPrimitiveValue.idl:
- * css/CSSStyleApplyProperty.cpp:
- (WebCore::ApplyPropertyLength::applyValue):
- (WebCore::ApplyPropertyBorderRadius::applyValue):
- (WebCore::ApplyPropertyFontSize::applyValue):
- (WebCore::ApplyPropertyLineHeight::applyValue):
- (WebCore::ApplyPropertyVerticalAlign::applyValue):
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::collectMatchingRulesForList):
- * dom/Document.cpp:
- (WebCore::Document::pageSizeAndMarginsInPixels):
- (WebCore):
- * dom/Document.h:
- (Document):
- * html/HTMLAreaElement.cpp:
- (WebCore::HTMLAreaElement::getRegion):
- * platform/Length.h:
- (WebCore::Length::calcValue):
- (WebCore::Length::calcMinValue):
- (WebCore::Length::calcFloatValue):
- (WebCore::Length::blend):
- * rendering/RenderBR.cpp:
- (WebCore::RenderBR::lineHeight):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::lineHeight):
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::reflectionOffset):
- (WebCore::RenderBox::paintBoxDecorations):
- (WebCore::RenderBox::clipRect):
- (WebCore::RenderBox::computeLogicalWidthInRegion):
- (WebCore::RenderBox::computeLogicalWidthInRegionUsing):
- (WebCore::RenderBox::computeInlineDirectionMargins):
- (WebCore::RenderBox::computeLogicalHeightUsing):
- (WebCore::RenderBox::computePercentageLogicalHeight):
- (WebCore::RenderBox::computeReplacedLogicalHeightUsing):
- (WebCore::RenderBox::computeBlockDirectionMargins):
- (WebCore::RenderBox::computePositionedLogicalWidthUsing):
- (WebCore::RenderBox::computePositionedLogicalHeightUsing):
- (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
- (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::relativePositionOffsetX):
- (WebCore::RenderBoxModelObject::relativePositionOffsetY):
- (WebCore::RenderBoxModelObject::paddingTop):
- (WebCore::RenderBoxModelObject::paddingBottom):
- (WebCore::RenderBoxModelObject::paddingLeft):
- (WebCore::RenderBoxModelObject::paddingRight):
- (WebCore::RenderBoxModelObject::paddingBefore):
- (WebCore::RenderBoxModelObject::paddingAfter):
- (WebCore::RenderBoxModelObject::paddingStart):
- (WebCore::RenderBoxModelObject::paddingEnd):
- (WebCore::RenderBoxModelObject::getBackgroundRoundedRect):
- (WebCore::RenderBoxModelObject::calculateFillTileSize):
- (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
- (WebCore::computeBorderImageSide):
- (WebCore::RenderBoxModelObject::paintNinePieceImage):
- (WebCore::RenderBoxModelObject::paintBorder):
- (WebCore::RenderBoxModelObject::paintBoxShadow):
- * rendering/RenderFlexibleBox.cpp:
- (WebCore::RenderFlexibleBox::preferredMainAxisContentExtentForChild):
- (WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes):
- (WebCore::RenderFlexibleBox::runFreeSpaceAllocationAlgorithm):
- * rendering/RenderInline.cpp:
- (WebCore::computeMargin):
- (WebCore::RenderInline::lineHeight):
- * rendering/RenderMenuList.cpp:
- (WebCore::RenderMenuList::updateOptionsWidth):
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::repaintAfterLayoutIfNeeded):
- * rendering/RenderObject.h:
- (RenderObject):
- * rendering/RenderReplaced.cpp:
- (WebCore::RenderReplaced::paint):
- * rendering/RenderScrollbarPart.cpp:
- (WebCore::calcScrollbarThicknessUsing):
- (WebCore::RenderScrollbarPart::computeScrollbarWidth):
- (WebCore::RenderScrollbarPart::computeScrollbarHeight):
- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::computeLogicalWidth):
- (WebCore::RenderTable::convertStyleLogicalWidthToComputedWidth):
- * rendering/RenderTableCell.cpp:
- (WebCore::RenderTableCell::logicalHeightForRowSizing):
- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::calcRowLogicalHeight):
- * rendering/RenderText.h:
- (WebCore::RenderText::marginLeft):
- (WebCore::RenderText::marginRight):
- * rendering/RenderThemeMac.mm:
- (WebCore::RenderThemeMac::paintMenuListButtonGradients):
- * rendering/RenderWidget.cpp:
- (WebCore::RenderWidget::paint):
- * rendering/RootInlineBox.cpp:
- (WebCore::RootInlineBox::verticalPositionForBox):
- * rendering/style/RenderStyle.cpp:
- (WebCore::calcRadiiFor):
- (WebCore::RenderStyle::getRoundedBorderFor):
- * rendering/style/RenderStyle.h:
- * rendering/svg/RenderSVGRoot.cpp:
- (WebCore::resolveLengthAttributeForSVG):
- (WebCore::RenderSVGRoot::computeReplacedLogicalWidth):
- (WebCore::RenderSVGRoot::computeReplacedLogicalHeight):
-
-2012-03-05 Rob Buis <rbuis@rim.com>
-
- [BlackBerry] Add missing method to PasteboardBlackBerry.cpp
- https://bugs.webkit.org/show_bug.cgi?id=80326
-
- Reviewed by Antonio Gomes.
-
- Add missing method.
-
- * platform/blackberry/PasteboardBlackBerry.cpp:
- (WebCore::Pasteboard::writeClipboard):
- (WebCore):
-
-2012-03-05 Rob Buis <rbuis@rim.com>
-
- [BlackBerry] UTF chars printed back from cookie through php shows as ???
- https://bugs.webkit.org/show_bug.cgi?id=80307
-
- Reviewed by Antonio Gomes.
-
- PR: 130055
-
- we need to check the cookies encoding first and encode the cookie header data
- to pass to the request.
-
- * platform/network/blackberry/NetworkManager.cpp:
- (WebCore::NetworkManager::startJob):
-
-2012-03-05 Dana Jansens <danakj@chromium.org>
-
- [chromium] Remove old cleanupResources() code
- https://bugs.webkit.org/show_bug.cgi?id=80290
-
- Reviewed by Adrienne Walker.
-
- cleanupResources() is only called by destructors, and adds no
- value, any more, beyond the destructors themselves, but complicates
- the code path.
-
- Covered by existing tests.
-
- * platform/graphics/chromium/cc/CCLayerImpl.cpp:
- * platform/graphics/chromium/cc/CCLayerImpl.h:
- (CCLayerImpl):
- * platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
- (WebCore::CCPluginLayerImpl::~CCPluginLayerImpl):
- * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
- * platform/graphics/chromium/cc/CCRenderSurface.cpp:
- (WebCore::CCRenderSurface::~CCRenderSurface):
- * platform/graphics/chromium/cc/CCRenderSurface.h:
- (CCRenderSurface):
- * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
- (WebCore::CCVideoLayerImpl::~CCVideoLayerImpl):
-
-2012-03-05 Sami Kyostila <skyostil@chromium.org>
-
- Partially loaded JPEGs should have alpha channel
- https://bugs.webkit.org/show_bug.cgi?id=78239
-
- Reviewed by Kenneth Russell.
-
- While a JPEG image is loading, the area outside the decoded region
- should be fully transparent. Since currently all JPEG frames are marked
- as opaque, a renderer respecting this flag will draw the partially
- loaded image with garbage outside the valid image region.
-
- Hence, a partially loaded JPEG image should be marked as having an alpha
- channel while decoding is in progress. For performance reasons we mark
- the image opaque after decoding has finished.
-
- Graphics corruption caused by this bug was recently observed on
- Chromium (http://code.google.com/p/chromium/issues/detail?id=113171). A
- recent Skia change (r3036) changed SkBitmap::extractSubset() to produce
- a bitmap with the same opaqueness flag as the parent. This meant that
- the renderer was now seeing an opaque image from the JPEG decoder, and
- drawing it appropriately resulted in garbage outside the decoded region.
-
- Test: http/tests/incremental/partial-jpeg.html
-
- * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
- (WebCore::JPEGImageDecoder::outputScanlines):
- (WebCore::JPEGImageDecoder::jpegComplete):
-
-2012-03-05 James Robinson <jamesr@chromium.org>
-
- [chromium] Initialize CCOverdrawCounts struct to zero
- https://bugs.webkit.org/show_bug.cgi?id=80204
-
- Reviewed by Adrienne Walker.
-
- CCOverdrawCounts is stack allocated but not explicitly initialized, so the values are garbage. This adds a c'tor
- to zero out the fields, which is the desired behavior. Bug was initially caught by valgrind, see
- http://crbug.com/116475
-
- * platform/graphics/chromium/cc/CCRenderPass.h:
- (WebCore::CCOverdrawCounts::CCOverdrawCounts):
-
-2012-03-05 Min Qin <qinmin@google.com>
-
- Add media control css for chromium on android
- https://bugs.webkit.org/show_bug.cgi?id=79550
-
- Reviewed by Adam Barth.
-
- This should not change the any test results as it does not affect the any current bots. New test expectations will be added if we have a android bot on webkit.
-
- * WebCore.gyp/WebCore.gyp:
- * css/mediaControlsChromiumAndroid.css: Added.
- (body:-webkit-full-page-media):
- (audio):
- (audio:-webkit-full-page-media, video:-webkit-full-page-media):
- (audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel):
- (video:-webkit-full-page-media::-webkit-media-controls-panel):
- (audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button):
- (audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):
- (audio::-webkit-media-controls-timeline-container):
- (video::-webkit-media-controls-timeline-container):
- (audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display):
- (audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline):
- (video::-webkit-media-controls-fullscreen-button):
- (audio::-webkit-media-controls-fullscreen-button):
- (audio::-webkit-media-controls-volume-slider-container, video::-webkit-media-controls-volume-slider-container):
- (audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider):
- * rendering/RenderMediaControlsChromium.cpp:
- (WebCore::paintMediaFullscreenButton):
- (WebCore):
- (WebCore::RenderMediaControlsChromium::paintMediaControlsPart):
- * rendering/RenderThemeChromiumAndroid.cpp:
- (WebCore::RenderThemeChromiumAndroid::extraMediaControlsStyleSheet):
- (WebCore):
- (WebCore::RenderThemeChromiumAndroid::paintMediaFullscreenButton):
- * rendering/RenderThemeChromiumAndroid.h:
-
-2012-03-05 Anders Carlsson <andersca@apple.com>
-
- Fix crash in ScrollingCoordinator::updateMainFrameScrollPositionAndScrollLayerPosition
- https://bugs.webkit.org/show_bug.cgi?id=80303
- <rdar://problem/10953682>
-
- Reviewed by Beth Dakin.
-
- Add the same null checks that already exist in updateMainFrameScrollPosition.
-
- * page/scrolling/ScrollingCoordinator.cpp:
- (WebCore::ScrollingCoordinator::updateMainFrameScrollPositionAndScrollLayerPosition):
-
-2012-03-05 Alexander Pavlov <apavlov@chromium.org>
-
- Web Inspector: CSS inactive property check should account for vendor prefixes
- https://bugs.webkit.org/show_bug.cgi?id=80225
-
- Reviewed by Pavel Feldman.
-
- Test: inspector/styles/vendor-prefixes.html
-
- * inspector/InspectorStyleSheet.cpp:
- (WebCore::InspectorStyle::populateObjectWithStyleProperties):
- * inspector/front-end/StylesSidebarPane.js:
- (WebInspector.StylesSidebarPane.alteredHexNumber):
- (WebInspector.StylesSidebarPane.canonicalPropertyName):
- (WebInspector.StylesSidebarPane.prototype._markUsedProperties):
- (WebInspector.StylePropertiesSection.prototype.isPropertyOverloaded):
-
-2012-03-05 Adam Barth <abarth@webkit.org>
-
- Geolocation should use a ScriptExecutionContext as its context object
- https://bugs.webkit.org/show_bug.cgi?id=80248
-
- Reviewed by Kentaro Hara.
-
- This patch updates Geolocation to use some more modern WebCore
- mechanisms. Previously, Geolocation used a Frame as a context object,
- which required a bunch of manual integration with the PageCache as well
- as custom signaling for Geolocation::reset(). After this patch,
- Geolocation subclasses ActiveDOMObject, which does all this work
- automatically.
-
- * Modules/geolocation/Geolocation.cpp:
- (WebCore::Geolocation::create):
- (WebCore):
- (WebCore::Geolocation::Geolocation):
- (WebCore::Geolocation::~Geolocation):
- (WebCore::Geolocation::document):
- (WebCore::Geolocation::frame):
- (WebCore::Geolocation::page):
- (WebCore::Geolocation::stop):
- (WebCore::Geolocation::getCurrentPosition):
- (WebCore::Geolocation::watchPosition):
- (WebCore::Geolocation::requestPermission):
- (WebCore::Geolocation::clearWatch):
- (WebCore::Geolocation::setIsAllowed):
- * Modules/geolocation/Geolocation.h:
- (WebCore):
- (Geolocation):
- * Modules/geolocation/NavigatorGeolocation.cpp:
- (WebCore):
- (WebCore::NavigatorGeolocation::geolocation):
- * Modules/geolocation/NavigatorGeolocation.h:
- (NavigatorGeolocation):
- * dom/Document.cpp:
- (WebCore::Document::Document):
- * dom/Document.h:
- (Document):
- * history/PageCache.cpp:
- (WebCore::logCanCacheFrameDecision):
- (WebCore::PageCache::canCachePageContainingThisFrame):
-
-2012-03-05 Martin Robinson <mrobinson@igalia.com>
-
- [soup] Crash while loading http://www.jusco.cn
- https://bugs.webkit.org/show_bug.cgi?id=68238
-
- Reviewed by Philippe Normand.
-
- Test: http/tests/xmlhttprequest/xmlhttprequest-sync-no-timers.html
-
- When running synchronous XMLHttpRequests, push a new inner thread default
- context, so that other sources from timers and network activity do not run.
- This will make synchronous requests truly synchronous with the rest of
- WebCore.
-
- * platform/network/soup/ResourceHandleSoup.cpp:
- (WebCoreSynchronousLoader): Clean up the method definitions a bit by writing them inline.
- (WebCore::WebCoreSynchronousLoader::WebCoreSynchronousLoader): Push a new thread default
- context to prevent other sources from running.
- (WebCore::WebCoreSynchronousLoader::~WebCoreSynchronousLoader): Pop the inner thread default context.
- (WebCore::closeCallback): If the client is synchronous call didFinishLoading now.
- (WebCore::readCallback): Only call didFinishLoading if the client isn't synchronous.
- (WebCore::ResourceHandle::defaultSession): Activate use-thread-context so that the soup session
- respects the inner thread context.
- (ResourceHandleClient):
- (WebCore::ResourceHandleClient::isSynchronousClient): Added this virtual method.
-
-2012-03-05 Alexander Færøy <alexander.faeroy@nokia.com>
-
- Remove pointer to timer and use the timers directly in the tiled backing store
- https://bugs.webkit.org/show_bug.cgi?id=80283
-
- Patch by Kenneth Rohde Christiansen and Alexander Færøy.
-
- Reviewed by Simon Hausmann.
-
- * platform/graphics/TiledBackingStore.cpp:
- (WebCore::TiledBackingStore::TiledBackingStore):
- (WebCore::TiledBackingStore::~TiledBackingStore):
- (WebCore::TiledBackingStore::createTiles):
- (WebCore::TiledBackingStore::startTileBufferUpdateTimer):
- (WebCore::TiledBackingStore::startTileCreationTimer):
- * platform/graphics/TiledBackingStore.h:
- (TiledBackingStore):
-
-2012-03-05 Alexander Pavlov <apavlov@chromium.org>
-
- Web Inspector: [Styles] Tabbing an empty new property in the middle of style moves the editor to the next section
- https://bugs.webkit.org/show_bug.cgi?id=80264
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/StylesSidebarPane.js:
- (WebInspector.StylePropertyTreeElement.prototype.element.userInput.previousContent.context.moveDirection.alreadyNew):
- (WebInspector.StylePropertyTreeElement.prototype):
-
-2012-03-05 Rob Buis <rbuis@rim.com>
-
- [BlackBerry] Update LocalizedStringsBlackBerry.cpp
- https://bugs.webkit.org/show_bug.cgi?id=80278
-
- Reviewed by Antonio Gomes.
-
- Update LocalizedStringsBlackBerry.cpp to current HEAD.
-
- * platform/blackberry/LocalizedStringsBlackBerry.cpp:
- (WebCore::inputElementAltText): fall back to "Submit".
- (WebCore::imageTitle): choose the format "filename(widthxheight)" like Chrome does.
- (WebCore::fileButtonNoFilesSelectedLabel): fall back to "No File Chosen" translation like Chrome does.
- (WebCore):
-
-2012-03-05 Ilya Tikhonovsky <loislo@chromium.org>
-
- Web Inspector: [chromium] introduce HeapSnapshot performance test.
- https://bugs.webkit.org/show_bug.cgi?id=80280
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/HeapSnapshotProxy.js:
- (WebInspector.HeapSnapshotLoaderProxy.prototype.finishLoading.updateStaticData):
- (WebInspector.HeapSnapshotLoaderProxy.prototype.finishLoading):
- (WebInspector.HeapSnapshotLoaderProxy.prototype._callLoadCallbacks):
-
-2012-03-05 Pavel Feldman <pfeldman@chromium.org>
-
- Web Inspector: cannot be launched when localStorage is disabled
- https://bugs.webkit.org/show_bug.cgi?id=80252
-
- Reviewed by Vsevolod Vlasov.
-
- * inspector/front-end/Settings.js:
-
-2012-03-05 Pavel Feldman <pfeldman@chromium.org>
-
- Web Inspector: check for the number of parsed css properties.
- https://bugs.webkit.org/show_bug.cgi?id=80268
-
- Reviewed by Vsevolod Vlasov.
-
- Test: inspector/styles/set-property-boundaries.html
-
- * inspector/InspectorCSSAgent.cpp:
- (WebCore::InspectorCSSAgent::didRemoveDOMNode):
- * inspector/InspectorStyleSheet.cpp:
- (WebCore::InspectorStyle::setPropertyText):
-
-2012-03-05 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: Tabbed pane should redraw tab elements when tab is closed.
- https://bugs.webkit.org/show_bug.cgi?id=80273
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/TabbedPane.js:
- (WebInspector.TabbedPane.prototype.closeTab):
-
-2012-03-05 Alexander Færøy <alexander.faeroy@nokia.com>
-
- Improve comments in the tiled backing store
- https://bugs.webkit.org/show_bug.cgi?id=80279
-
- Patch by Kenneth Rohde Christiansen and Alexander Færøy.
-
- Reviewed by Simon Hausmann.
-
- * platform/graphics/TiledBackingStore.cpp:
- (WebCore::TiledBackingStore::createTiles):
-
-2012-03-05 Alexander Færøy <alexander.faeroy@nokia.com>
-
- TiledBackingStore.{h,cpp} contains unclear variable names
- https://bugs.webkit.org/show_bug.cgi?id=80276
-
- Patch by Kenneth Rohde Christiansen and Alexander Færøy.
-
- Reviewed by Simon Hausmann.
-
- This patch renames some of the variables in TiledBackingStore.cpp to
- enhance the clearity and for consistence.
-
- The visibleContentsRect is renamed to visibleRect as it is not in
- contents coordinates.
-
- The panningTrajectoryVector and m_visibleRectTrajectoryVector are
- renamed to just *[m_]trajectoryVector, as that is descriptive enough.
-
- The previous prefix has also been removed, as it is being used as the
- current one in the code. This avoids confusion.
-
- * platform/graphics/TiledBackingStore.cpp:
- (WebCore::TiledBackingStore::coverWithTilesIfNeeded):
- (WebCore::TiledBackingStore::visibleRect):
- (WebCore::TiledBackingStore::visibleAreaIsCovered):
- (WebCore::TiledBackingStore::createTiles):
- (WebCore::TiledBackingStore::computeCoverAndKeepRect):
- (WebCore::TiledBackingStore::removeAllNonVisibleTiles):
- * platform/graphics/TiledBackingStore.h:
- (TiledBackingStore):
-
-2012-03-05 Simon Hausmann <simon.hausmann@nokia.com>
-
- [Qt] Fix build with Qt 5 and OpenGL ES 2.0
-
- Reviewed by Noam Rosenthal.
-
- * platform/graphics/texmap/TextureMapper.h: Since we don't do QT += opengl with Qt 5 anymore
- here in WebCore, we cannot check for QT_OPENGL_LIB. But since this is Qt5, we know that the
- GLES setting comes qconfig.h and we can rely on it.
-
-2012-03-05 Alexander Færøy <alexander.faeroy@nokia.com>
-
- Whitespace clean-up of TiledBackingStore.cpp.
-
- Rubber-stamped by Kenneth Rohde Christiansen.
-
- Already covered by existing tests.
-
- * platform/graphics/TiledBackingStore.cpp:
- (WebCore):
- (WebCore::TiledBackingStore::updateTileBuffers):
- (WebCore::TiledBackingStore::paint):
-
-2012-03-05 Carlos Garcia Campos <cgarcia@igalia.com>
-
- Unreviewed. Fix make distcheck.
-
- * GNUmakefile.list.am: Add missing header file.
-
-2012-03-05 Alexander Pavlov <apavlov@chromium.org>
-
- Web Inspector: Incorrect appropriateSelectorFor() suggestion for when a DOMNode has more than 2 CSS classes
- https://bugs.webkit.org/show_bug.cgi?id=80258
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/DOMAgent.js:
- (WebInspector.DOMNode.prototype.appropriateSelectorFor):
-
-2012-03-02 Alexander Pavlov <apavlov@chromium.org>
-
- Web Inspector: [Styles] [CRASH] Handle rule addition and inline style editing failure due to Content-Security-Policy in the page
- https://bugs.webkit.org/show_bug.cgi?id=80024
-
- Reviewed by Pavel Feldman.
-
- Test: inspector/styles/add-new-rule-inline-style-csp.html
-
- * inspector/InspectorCSSAgent.cpp:
- (WebCore::InspectorCSSAgent::viaInspectorStyleSheet):
- * inspector/InspectorCSSAgent.h:
- (InlineStyleOverrideScope):
- (WebCore::InspectorCSSAgent::InlineStyleOverrideScope::InlineStyleOverrideScope):
- (WebCore::InspectorCSSAgent::InlineStyleOverrideScope::~InlineStyleOverrideScope):
- (InspectorCSSAgent):
- * inspector/InspectorStyleSheet.cpp:
- (WebCore::InspectorStyleSheetForInlineStyle::setStyleText):
- * page/ContentSecurityPolicy.cpp:
- (WebCore::ContentSecurityPolicy::ContentSecurityPolicy):
- (WebCore::ContentSecurityPolicy::allowInlineStyle):
- (WebCore::ContentSecurityPolicy::setOverrideAllowInlineStyle):
- (WebCore):
- * page/ContentSecurityPolicy.h:
- (ContentSecurityPolicy):
-
-2012-03-05 Yoshifumi Inoue <yosin@chromium.org>
-
- [Forms] The "optgroup" element should not be a form-associated element
- https://bugs.webkit.org/show_bug.cgi?id=80234
-
- Reviewed by Kent Tamura.
-
- This patch changes base class of HTMLOptGroup to HTMLElement from
- HTMLFormControlElement to avoid the "optgroup" element in form-associate
- elements collection.
-
- This patch doesn't affect HTMLOptionElement::disabled's static_cast. However,
- it doesn't good at coding style. This patch also fix it.
-
-
- No new tests. No behavior changes.
-
- * html/HTMLOptGroupElement.cpp:
- (WebCore::HTMLOptGroupElement::HTMLOptGroupElement): Remove "form" parameter.
- (WebCore::HTMLOptGroupElement::create): Remove "form" parameter.
- (WebCore::HTMLOptGroupElement::childrenChanged): Replace base method call.
- (WebCore::HTMLOptGroupElement::parseAttribute): Replace base method call.
- (WebCore::HTMLOptGroupElement::attach): Replace base method call.
- (WebCore::HTMLOptGroupElement::detach): Replace base method call.
- * html/HTMLOptGroupElement.h:
- (HTMLOptGroupElement): Change base class to HTMLElement.
- * html/HTMLOptionElement.cpp:
- (WebCore::HTMLOptionElement::disabled): Replace static_cast<HTMLFormControlElement*> to static_cast<HTMLElement*> with checking isHTMLElement.
- * html/HTMLTagNames.in: Remove "constructorNeedsFormElement" for not passing "form" parameter in HTMLElementFactory.
-
-2012-03-05 Pavel Podivilov <podivilov@chromium.org>
-
- Web Inspector: fix extensions-resource.html test.
- https://bugs.webkit.org/show_bug.cgi?id=80183
-
- Reviewed by Vsevolod Vlasov.
-
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel.Linkifier.prototype._updateAnchor):
-
-2012-03-02 Andrey Kosyakov <caseq@chromium.org>
-
- Add instrumentation for frame start/end on timeline.
-
- Web Inspector: add timeline instrumentation for frame events
- https://bugs.webkit.org/show_bug.cgi?id=80127
-
- Reviewed by Pavel Feldman.
-
- - display frame boundaries when vertical overview mode is on
- - aggregate by frame in vertical overview mode
- - switched event filtering criteria from index to time in vertical overview mode
-
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::didBeginFrameImpl):
- (WebCore):
- * inspector/InspectorInstrumentation.h:
- (InspectorInstrumentation):
- (WebCore::InspectorInstrumentation::didBeginFrame):
- (WebCore):
- * inspector/InspectorTimelineAgent.cpp:
- (TimelineRecordType):
- (WebCore::InspectorTimelineAgent::didBeginFrame):
- (WebCore):
- * inspector/InspectorTimelineAgent.h:
- (InspectorTimelineAgent):
- * inspector/front-end/TimelineModel.js:
- * inspector/front-end/TimelineOverviewPane.js:
- (WebInspector.TimelineOverviewPane):
- (WebInspector.TimelineOverviewPane.prototype._showMemoryGraph):
- (WebInspector.TimelineOverviewPane.prototype.setStartAtZero):
- (WebInspector.TimelineOverviewPane.prototype.updateEventDividers):
- (WebInspector.TimelineOverviewPane.prototype.sidebarResized):
- (WebInspector.TimelineOverviewPane.prototype.reset):
- (WebInspector.TimelineOverviewPane.prototype.accept):
- (WebInspector.TimelineOverviewPane.prototype.windowStartTime):
- (WebInspector.TimelineOverviewPane.prototype.windowEndTime):
- (WebInspector.TimelineOverviewPane.prototype._onWindowChanged):
- (WebInspector.TimelineStartAtZeroOverview):
- (WebInspector.TimelineStartAtZeroOverview.prototype.reset):
- (WebInspector.TimelineStartAtZeroOverview.prototype.update):
- (WebInspector.TimelineStartAtZeroOverview.prototype._aggregateFrames):
- (WebInspector.TimelineStartAtZeroOverview.prototype._aggregateFrameStatistics):
- (WebInspector.TimelineStartAtZeroOverview.prototype._aggregateRecords):
- (WebInspector.TimelineStartAtZeroOverview.prototype._buildBar):
- (WebInspector.TimelineStartAtZeroOverview.prototype.getWindowTimes):
- * inspector/front-end/TimelinePanel.js:
- (WebInspector.TimelinePanel.prototype._updateEventDividers):
- (WebInspector.TimelinePanel.prototype._createEventDivider):
- (WebInspector.TimelinePanel.prototype._toggleStartAtZeroButtonClicked):
- (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline.addTimestampRecords):
- (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
- (WebInspector.TimelinePanel.prototype._refresh):
- (WebInspector.TimelinePanel.prototype._refreshRecords):
- (WebInspector.TimelineCategoryFilter.prototype.accept):
- * inspector/front-end/TimelinePresentationModel.js:
- (WebInspector.TimelinePresentationModel.prototype.get _recordStyles):
- * inspector/front-end/inspectorCommon.css:
- * inspector/front-end/timelinePanel.css:
- (#timeline-container):
- (.timeline .resources-event-divider):
- (.timeline.timeline-start-at-zero .resources-divider):
- (.timeline .resources-event-divider.timeline-frame-divider):
-
-2012-03-05 MORITA Hajime <morrita@google.com>
-
- Unreviewed build fix for !ENABLE(SHADOW_DOM).
-
- * html/shadow/HTMLContentElement.cpp:
- (WebCore::contentTagName):
-
-2012-03-04 MORITA Hajime <morrita@google.com>
-
- Internally used HTMLContentElement subclasses should have correct wrapper.
- https://bugs.webkit.org/show_bug.cgi?id=80237
-
- Reviewed by Kent Tamura.
-
- DetailsContentElement and DetailsSummaryElement used to use
- <div> as their tag name. But this means they are wrapped by
- wrapper objects for HTMLDivElement, which is wrong. This happened
- to work though because HTMLDivElement has no extra state or API.
-
- This change introduces "noConstructor" keyword for make_name.pl
- sources. This keyword allows a tag name to specify its own
- wrapper without making the tag name visible from the parser, or
- HTMLElementFactory in precise.
-
- Following this addition, this change also adds a new tag name
- "webkitShadowContent" for DetailsContentElement and DetailsSummaryElement,
- which has no constructor, and whose wrapper type is HTMLElement.
-
- This change isn't visible from the page author and only matters for testing.
-
- Test: fast/dom/shadow/content-element-user-agent-shadow.html
-
- * dom/make_names.pl:
- (defaultTagPropertyHash):
- (buildConstructorMap):
- (printConstructors):
- (printFunctionInits):
- * html/HTMLDetailsElement.cpp:
- (WebCore::DetailsContentElement::DetailsContentElement):
- (WebCore::DetailsSummaryElement::DetailsSummaryElement):
- * html/HTMLTagNames.in:
- * html/shadow/HTMLContentElement.cpp:
- (WebCore::contentTagName):
-
-2012-03-05 Shinya Kawanaka <shinyak@chromium.org>
-
- Refactoring: Move HTMLContentElement::attach to InsertionPoint::attach.
- https://bugs.webkit.org/show_bug.cgi?id=80243
-
- Reviewed by Hajime Morita.
-
- Since the current code in HTMLContentElement::attach() will be used for coming <shadow>
- elements, it is natural that InsertionPoint::attach() has such code.
-
- No new tests, no change in behavior.
-
- * html/shadow/HTMLContentElement.cpp:
- * html/shadow/HTMLContentElement.h:
- (HTMLContentElement):
- * html/shadow/InsertionPoint.cpp:
- (WebCore::InsertionPoint::attach):
- (WebCore):
- (WebCore::InsertionPoint::detach):
- * html/shadow/InsertionPoint.h:
- (InsertionPoint):
-
-2012-03-05 Adam Barth <abarth@webkit.org>
-
- allowDatabaseAccess and databaseExceededQuota should be part of DatabaseContext not ScriptExecutionContext
- https://bugs.webkit.org/show_bug.cgi?id=80178
-
- Reviewed by Eric Seidel.
-
- These functions are only used by SQLDatabase, which means we can move
- them to DatabaseContext, removing one more tendril of the SQLDatabase
- code.
-
- * dom/Document.cpp:
- (WebCore):
- * dom/Document.h:
- (Document):
- * dom/ScriptExecutionContext.h:
- (ScriptExecutionContext):
- * storage/DatabaseContext.cpp:
- (WebCore::DatabaseContext::DatabaseContext):
- (WebCore::DatabaseContext::from):
- (WebCore::DatabaseContext::allowDatabaseAccess):
- (WebCore):
- (WebCore::DatabaseContext::databaseExceededQuota):
- * storage/DatabaseContext.h:
- (DatabaseContext):
- * storage/DatabaseTracker.cpp:
- (WebCore::DatabaseTracker::canEstablishDatabase):
- * storage/SQLTransaction.cpp:
- (WebCore::SQLTransaction::executeSQL):
- * storage/SQLTransactionClient.cpp:
- (WebCore::SQLTransactionClient::didExceedQuota):
- * storage/SQLTransactionSync.cpp:
- (WebCore::SQLTransactionSync::executeSQL):
- * workers/WorkerContext.cpp:
- (WebCore):
- * workers/WorkerContext.h:
- (WorkerContext):
-
-2012-03-04 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r107551.
- http://trac.webkit.org/changeset/107551
- https://bugs.webkit.org/show_bug.cgi?id=80245
-
- caused incorrect style sharing (Requested by kling on
- #webkit).
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::collectMatchingRulesForList):
-
-2012-03-04 Luke Macpherson <macpherson@chromium.org>
-
- Remove unused macro HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE_WITH_VALUE.
- https://bugs.webkit.org/show_bug.cgi?id=80236
-
- Reviewed by Eric Seidel.
-
- No new tests / unused code deletion only.
-
- * css/CSSStyleSelector.cpp:
- (WebCore):
-
-2012-03-04 Filip Pizlo <fpizlo@apple.com>
-
- JIT heuristics should be hyperbolic
- https://bugs.webkit.org/show_bug.cgi?id=80055
- <rdar://problem/10922260>
-
- Reviewed by Oliver Hunt.
-
- No new tests, since there's no new functionality.
-
- * ForwardingHeaders/wtf/SimpleStats.h: Added.
-
-2012-03-04 Shinya Kawanaka <shinyak@chromium.org>
-
- Methods like firstRendererOf of NodeRenderingContext should be extracted.
- https://bugs.webkit.org/show_bug.cgi?id=79902
-
- Reviewed by Hajime Morita.
-
- firstRendererOfInsertionPoint should return the first renderer of its child, however
- it returns next renderer of parent. The same thing happens lastRendererOfInsertionPoint.
-
- Test: content-element-move.html has another test case.
-
- * dom/NodeRenderingContext.cpp:
- (WebCore):
- (WebCore::nextRendererOfInsertionPoint):
- (WebCore::previousRendererOfInsertionPoint):
- (WebCore::firstRendererOfInsertionPoint):
- (WebCore::lastRendererOfInsertionPoint):
- (WebCore::firstRendererOf):
- (WebCore::lastRendererOf):
- (WebCore::NodeRenderingContext::nextRenderer):
- (WebCore::NodeRenderingContext::previousRenderer):
-
-2012-03-04 MORITA Hajime <morrita@google.com>
-
- Unreviewed build fix for ENABLE(MATHML).
-
- * mathml/MathMLElement.h:
- (WebCore):
-
-2012-03-04 MORITA Hajime <morrita@google.com>
-
- WebKit needs toHTMLUnknownElement() and isUnknown() for sanity check.
- https://bugs.webkit.org/show_bug.cgi?id=80229
-
- Reviewed by Kent Tamura.
-
- The code generator has naked static_cast<> which could be unsafe.
- We can turn it into toHTMLUnknownElement() and the like.
-
- No new tests. Just added a sanity check.
-
- * dom/make_names.pl:
- (printWrapperFactoryCppFile):
- * html/HTMLElement.h:
- (HTMLElement):
- (WebCore::HTMLElement::isHTMLUnknownElement):
- * html/HTMLUnknownElement.h:
- (HTMLUnknownElement):
- (WebCore::toHTMLUnknownElement):
- (WebCore):
- * mathml/MathMLElement.h:
- (toMathMLElement):
- * svg/SVGElement.h:
- (WebCore::toSVGElement):
- (WebCore):
-
-2012-03-04 Luke Macpherson <macpherson@chromium.org>
-
- Handle CSSPropertyWebkitColumnBreakAfter, CSSPropertyWebkitColumnBreakBefore and CSSPropertyWebkitColumnBreakInside in CSSStyleApplyProperty.
- https://bugs.webkit.org/show_bug.cgi?id=80226
-
- Reviewed by Eric Seidel.
-
- No new tests / refactoring only.
-
- * css/CSSStyleApplyProperty.cpp:
- (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::collectMatchingRulesForList):
-
-2012-03-04 Jonathan Dong <jonathan.dong@torchmobile.com.cn>
-
- [BlackBerry] Credential backing store implementation
- https://bugs.webkit.org/show_bug.cgi?id=79650
-
- Reviewed by Antonio Gomes.
-
- Opened Credential database in CedentialBackingStore::instance().
- Added never_remember table and associated sql statment
- members to store the never remember sites.
- Removed CredentialStorage initialize codes because that
- won't give users a chance to re-enter the new credential
- information for an already stored site.
- Changed login update and has statement to support
- autofill feature of multiple credential forms in the
- same page; Also added url as a parameter of hasLogin() function.
- Added calling reset() after each statement calls step(),
- to make it work correctly next time.
- Also fixed a macro typo in HANDLE_SQL_EXEC_FAILURE.
-
- No new tests.
-
- * platform/network/blackberry/CredentialBackingStore.cpp:
- (WebCore::CredentialBackingStore::instance):
- (WebCore::CredentialBackingStore::CredentialBackingStore):
- (WebCore::CredentialBackingStore::open):
- (WebCore::CredentialBackingStore::close):
- (WebCore::CredentialBackingStore::addLogin):
- (WebCore::CredentialBackingStore::updateLogin):
- (WebCore::CredentialBackingStore::hasLogin):
- (WebCore::CredentialBackingStore::getLogin):
- (WebCore):
- (WebCore::CredentialBackingStore::removeLogin):
- (WebCore::CredentialBackingStore::addNeverRemember):
- (WebCore::CredentialBackingStore::hasNeverRemember):
- (WebCore::CredentialBackingStore::getNeverRemember):
- (WebCore::CredentialBackingStore::removeNeverRemember):
- (WebCore::CredentialBackingStore::clearLogins):
- (WebCore::CredentialBackingStore::clearNeverRemember):
- * platform/network/blackberry/CredentialBackingStore.h:
- (CredentialBackingStore):
-
-2012-03-04 Hyowon Kim <hw1008.kim@samsung.com>
-
- [EFL] Evas_GL initialization and destruction in GraphicsContext3DPrivate
- https://bugs.webkit.org/show_bug.cgi?id=80211
-
- Reviewed by Noam Rosenthal.
-
- This patch adds initialization and destruction codes using Evas_GL APIs to GC3DPrivate.
-
- No new tests. No behavior change.
-
- * platform/graphics/efl/GraphicsContext3DPrivate.cpp:
- (WebCore::GraphicsContext3DPrivate::create):
- (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
- (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
- (WebCore::GraphicsContext3DPrivate::initialize):
- (WebCore::GraphicsContext3DPrivate::createSurface):
- (WebCore::GraphicsContext3DPrivate::makeContextCurrent):
- * platform/graphics/efl/GraphicsContext3DPrivate.h:
- (GraphicsContext3DPrivate):
-
-2012-03-04 Raphael Kubo da Costa <kubo@profusion.mobi>
-
- [CMake] Libraries are installed to /usr/lib and not /usr/lib64 on x86_64
- https://bugs.webkit.org/show_bug.cgi?id=71507
-
- Reviewed by Antonio Gomes.
-
- No new tests, buildsystem change.
-
- * CMakeLists.txt: Use ${LIB_INSTALL_DIR} instead of hardcoding "lib".
-
-2012-03-04 Hyowon Kim <hw1008.kim@samsung.com>
-
- [EFL] Implementation of missing functions in GraphicsContext3DPrivate
- https://bugs.webkit.org/show_bug.cgi?id=79759
-
- Reviewed by Noam Rosenthal.
-
- The initial patch (Bug 62961) only contains implementations for simple functions
- which call GL functions through Evas_GL_API.
- This patch implements a little complicated functions such as getActiveAttrib(),
- getShaderSource() and so on.
-
- No new tests. No behavior change.
-
- * platform/graphics/efl/GraphicsContext3DPrivate.cpp:
- (WebCore::GraphicsContext3DPrivate::getActiveAttrib):
- (WebCore::GraphicsContext3DPrivate::getActiveUniform):
- (WebCore::GraphicsContext3DPrivate::getError):
- (WebCore::GraphicsContext3DPrivate::getIntegerv):
- (WebCore::GraphicsContext3DPrivate::getProgramInfoLog):
- (WebCore::GraphicsContext3DPrivate::getShaderInfoLog):
- (WebCore::GraphicsContext3DPrivate::getShaderSource):
-
-2012-03-04 Kentaro Hara <haraken@chromium.org>
-
- Revert SVG-related APIs from DOMWindowSVG.idl back to DOMWindow.idl
- https://bugs.webkit.org/show_bug.cgi?id=80139
-
- Reviewed by Adam Barth.
-
- Based on the discussion on webkit-dev@
- (http://markmail.org/message/kagvswmah67zmrry#query:+page:1+mid:h34vzbiu5suub3ld+state:results),
- this patch reverts SVG-related APIs from DOMWindowSVG.idl back to DOMWindow.idl.
-
- No tests. No change in behavior.
-
- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.xcodeproj/project.pbxproj:
- * page/DOMWindow.idl:
- * svg/DOMWindowSVG.idl: Removed.
-
-2012-03-04 Kentaro Hara <haraken@chromium.org>
-
- Revert WebGL-related APIs from DOMWindowWebGL.idl back to DOMWindow.idl
- https://bugs.webkit.org/show_bug.cgi?id=80144
-
- Reviewed by Adam Barth.
-
- Based on the discussion on webkit-dev@
- (http://markmail.org/message/kagvswmah67zmrry#query:+page:1+mid:h34vzbiu5suub3ld+state:results),
- this patch reverts WebGL-related APIs from DOMWindowWebGL.idl back to DOMWindow.idl.
-
- No tests. No change in behavior.
-
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.xcodeproj/project.pbxproj:
- * html/canvas/DOMWindowWebGL.idl: Removed.
- * page/DOMWindow.idl:
-
-2012-03-04 MORITA Hajime <morrita@google.com>
-
- Unreviewed build fix.
-
- * rendering/RenderButton.cpp:
- (WebCore::RenderButton::canHaveGeneratedChildren):
-
-2012-03-01 MORITA Hajime <morrita@google.com>
-
- REGRESSION(r108758): Assertion failure in WebCore::RenderMenuList::addChild
- https://bugs.webkit.org/show_bug.cgi?id=80096
-
- Reviewed by Dimitri Glazkov.
-
- After r108758 RenderBlock allowed <select> to have generated
- contents. But it shouldn't. This change stops allowing it again by
- replacing some canHaveChildren() invocations with
- less permissive canHaveGeneratedChildren().
-
- This change also pulls back original canHaveChildren() logic to
- RenderButton to allow <button> to have generated contents.
-
- Then RenderDeprecatedFlexibleBox::buttonText() is morphed to
- more intention revealing canHaveGeneratedChildren().
-
- Test: fast/forms/select-generated-content.html
-
- * rendering/RenderBlock.cpp:
- (WebCore):
- (WebCore::canHaveGeneratedChildren):
- (WebCore::RenderBlock::styleDidChange):
- (WebCore::findFirstLetterBlock):
- (WebCore::RenderBlock::updateFirstLetter):
- * rendering/RenderButton.cpp:
- * rendering/RenderButton.h:
- (RenderButton):
- * rendering/RenderDeprecatedFlexibleBox.h:
- (WebCore::RenderDeprecatedFlexibleBox::canHaveGeneratedChildren):
- * rendering/RenderMenuList.h:
-
-2012-03-04 Robin Cao <robin.cao@torchmobile.com.cn>
-
- [BlackBerry] Upstream two helper files from platform/graphics/blackberry
- https://bugs.webkit.org/show_bug.cgi?id=80125
-
- Reviewed by Antonio Gomes.
-
- Initial upstream, no new tests.
-
- * platform/graphics/blackberry/InstrumentedPlatformCanvas.h: Added.
- (WebCore):
- (InstrumentedPlatformCanvas):
- (WebCore::InstrumentedPlatformCanvas::InstrumentedPlatformCanvas):
- (WebCore::InstrumentedPlatformCanvas::~InstrumentedPlatformCanvas):
- (WebCore::InstrumentedPlatformCanvas::isSolidColor):
- (WebCore::InstrumentedPlatformCanvas::solidColor):
- (WebCore::InstrumentedPlatformCanvas::save):
- (WebCore::InstrumentedPlatformCanvas::saveLayer):
- (WebCore::InstrumentedPlatformCanvas::restore):
- (WebCore::InstrumentedPlatformCanvas::translate):
- (WebCore::InstrumentedPlatformCanvas::scale):
- (WebCore::InstrumentedPlatformCanvas::rotate):
- (WebCore::InstrumentedPlatformCanvas::skew):
- (WebCore::InstrumentedPlatformCanvas::concat):
- (WebCore::InstrumentedPlatformCanvas::setMatrix):
- (WebCore::InstrumentedPlatformCanvas::clipRect):
- (WebCore::InstrumentedPlatformCanvas::clipPath):
- (WebCore::InstrumentedPlatformCanvas::clipRegion):
- (WebCore::InstrumentedPlatformCanvas::clear):
- (WebCore::InstrumentedPlatformCanvas::drawPaint):
- (WebCore::InstrumentedPlatformCanvas::drawPoints):
- (WebCore::InstrumentedPlatformCanvas::drawRect):
- (WebCore::InstrumentedPlatformCanvas::drawPath):
- (WebCore::InstrumentedPlatformCanvas::drawBitmap):
- (WebCore::InstrumentedPlatformCanvas::drawBitmapRect):
- (WebCore::InstrumentedPlatformCanvas::drawBitmapMatrix):
- (WebCore::InstrumentedPlatformCanvas::drawSprite):
- (WebCore::InstrumentedPlatformCanvas::drawText):
- (WebCore::InstrumentedPlatformCanvas::drawPosText):
- (WebCore::InstrumentedPlatformCanvas::drawPosTextH):
- (WebCore::InstrumentedPlatformCanvas::drawTextOnPath):
- (WebCore::InstrumentedPlatformCanvas::drawPicture):
- (WebCore::InstrumentedPlatformCanvas::drawVertices):
- (WebCore::InstrumentedPlatformCanvas::drawData):
- * platform/graphics/blackberry/LayerMessage.h: Added.
- (WebCore):
- (WebCore::isCompositingThread):
- (WebCore::compositingThread):
- (WebCore::isWebKitThread):
- (WebCore::webKitThread):
- (WebCore::dispatchCompositingMessage):
- (WebCore::dispatchSyncCompositingMessage):
- (WebCore::dispatchWebKitMessage):
-
-2012-03-04 Nikolas Zimmermann <nzimmermann@rim.com>
-
- Introduce SMIL overrideStyle, to make SVG stop mutating CSS styles directly
- https://bugs.webkit.org/show_bug.cgi?id=79790
-
- Reviewed by Dirk Schulze.
-
- Restore SMIL animation behavior back to pre-r109342.
- 1) Always animate presentation attributes as CSS properties, regardless of the
- attributeTypes value. Matches Opera/FF, and makes the attribute optional again
- as specified in both SMIL & SVG.
-
- Extend existing svg/animations/attributesTypes.html to verify this.
-
- 2) Switch setInstancesUpdatesBlocked calls to the right locations again, to
- avoid chromium assertions (and/or extra work being done). Fixing that reveals another
- problem: in the instance updating code path, we always called setTargetAttributeAnimatedCSSValue
- even for XML animations.
-
- * svg/SVGAnimationElement.cpp:
- (WebCore::SVGAnimationElement::shouldApplyAnimation): Restore old logic.
- (WebCore::SVGAnimationElement::setTargetAttributeAnimatedValue): Fix typo, move setInstancesUpdatesBlocked calls.
-
-2012-03-04 Jonathan Dong <jonathan.dong@torchmobile.com.cn>
-
- [BlackBerry] upstream MediaPlayerPrivateBlackBerry.[cpp|h]
- https://bugs.webkit.org/show_bug.cgi?id=79729
-
- Reviewed by Rob Buis and Antonio Gomes.
-
- Implementation of MediaPlayerPrivate for BlackBerry porting.
- Initial upstream, No new tests.
-
- * PlatformBlackBerry.cmake:
- * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: Added.
- (WebCore):
- (WebCore::MediaPlayerPrivate::create):
- (WebCore::MediaPlayerPrivate::registerMediaEngine):
- (WebCore::MediaPlayerPrivate::getSupportedTypes):
- (WebCore::MediaPlayerPrivate::supportsType):
- (WebCore::MediaPlayerPrivate::notifyAppActivatedEvent):
- (WebCore::MediaPlayerPrivate::setCertificatePath):
- (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
- (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
- (WebCore::MediaPlayerPrivate::load):
- (WebCore::MediaPlayerPrivate::cancelLoad):
- (WebCore::MediaPlayerPrivate::prepareToPlay):
- (WebCore::MediaPlayerPrivate::play):
- (WebCore::MediaPlayerPrivate::pause):
- (WebCore::MediaPlayerPrivate::supportsFullscreen):
- (WebCore::MediaPlayerPrivate::naturalSize):
- (WebCore::MediaPlayerPrivate::hasVideo):
- (WebCore::MediaPlayerPrivate::hasAudio):
- (WebCore::MediaPlayerPrivate::setVisible):
- (WebCore::MediaPlayerPrivate::duration):
- (WebCore::MediaPlayerPrivate::currentTime):
- (WebCore::MediaPlayerPrivate::seek):
- (WebCore::MediaPlayerPrivate::userDrivenSeekTimerFired):
- (WebCore::MediaPlayerPrivate::seeking):
- (WebCore::MediaPlayerPrivate::setRate):
- (WebCore::MediaPlayerPrivate::paused):
- (WebCore::MediaPlayerPrivate::setVolume):
- (WebCore::MediaPlayerPrivate::networkState):
- (WebCore::MediaPlayerPrivate::readyState):
- (WebCore::MediaPlayerPrivate::maxTimeSeekable):
- (WebCore::MediaPlayerPrivate::buffered):
- (WebCore::MediaPlayerPrivate::bytesLoaded):
- (WebCore::MediaPlayerPrivate::setSize):
- (WebCore::MediaPlayerPrivate::paint):
- (WebCore::MediaPlayerPrivate::hasAvailableVideoFrame):
- (WebCore::MediaPlayerPrivate::hasSingleSecurityOrigin):
- (WebCore::MediaPlayerPrivate::movieLoadType):
- (WebCore::MediaPlayerPrivate::userAgent):
- (WebCore::MediaPlayerPrivate::resizeSourceDimensions):
- (WebCore::MediaPlayerPrivate::setFullscreenWebPageClient):
- (WebCore::MediaPlayerPrivate::getWindow):
- (WebCore::MediaPlayerPrivate::getPeerWindow):
- (WebCore::MediaPlayerPrivate::getWindowPosition):
- (WebCore::MediaPlayerPrivate::mmrContextName):
- (WebCore::MediaPlayerPrivate::percentLoaded):
- (WebCore::MediaPlayerPrivate::sourceWidth):
- (WebCore::MediaPlayerPrivate::sourceHeight):
- (WebCore::MediaPlayerPrivate::setAllowPPSVolumeUpdates):
- (WebCore::MediaPlayerPrivate::updateStates):
- (WebCore::MediaPlayerPrivate::onStateChanged):
- (WebCore::MediaPlayerPrivate::onMediaStatusChanged):
- (WebCore::MediaPlayerPrivate::onError):
- (WebCore::MediaPlayerPrivate::onDurationChanged):
- (WebCore::MediaPlayerPrivate::onTimeChanged):
- (WebCore::MediaPlayerPrivate::onPauseStateChanged):
- (WebCore::MediaPlayerPrivate::onRateChanged):
- (WebCore::MediaPlayerPrivate::onVolumeChanged):
- (WebCore::MediaPlayerPrivate::onRepaint):
- (WebCore::MediaPlayerPrivate::onSizeChanged):
- (WebCore::MediaPlayerPrivate::onPlayNotified):
- (WebCore::MediaPlayerPrivate::onPauseNotified):
- (WebCore::MediaPlayerPrivate::onBuffering):
- (WebCore::MediaPlayerPrivate::showErrorDialog):
- (WebCore::MediaPlayerPrivate::frameView):
- (WebCore::MediaPlayerPrivate::platformWindow):
- (WebCore::MediaPlayerPrivate::isFullscreen):
- (WebCore::MediaPlayerPrivate::platformMedia):
- (WebCore::MediaPlayerPrivate::platformLayer):
- (WebCore::loadBufferingImageData):
- (WebCore::MediaPlayerPrivate::bufferingTimerFired):
- (WebCore::MediaPlayerPrivate::setBuffering):
- (WebCore::allocateTextureId):
- (WebCore::MediaPlayerPrivate::drawBufferingAnimation):
- * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: Added.
- (WebKit):
- (WebCore):
- (MediaPlayerPrivate):
- (WebCore::MediaPlayerPrivate::supportsAcceleratedRendering):
- (WebCore::MediaPlayerPrivate::acceleratedRenderingStateChanged):
-
-2012-03-03 Benjamin Poulain <benjamin@webkit.org>
-
- Remove the unused function WebCore::protocolIsInHTTPFamily()
- https://bugs.webkit.org/show_bug.cgi?id=80218
-
- Reviewed by Anders Carlsson.
-
- * WebCore.order:
- * platform/KURL.cpp:
- * platform/KURL.h:
- (WebCore):
-
-2012-03-03 Benjamin Poulain <benjamin@webkit.org>
-
- Implement the basis of KURLWTFURL
- https://bugs.webkit.org/show_bug.cgi?id=79600
-
- Reviewed by Adam Barth.
-
- Add a simple, non-optimized, implementation for the main methods of KURL based
- on ParsedURL.
-
- * platform/KURLWTFURL.cpp:
- (WebCore):
- (WebCore::detach):
- (WebCore::KURL::KURL):
- (WebCore::KURL::copy):
- (WebCore::KURL::isEmpty):
- (WebCore::KURL::isValid):
- (WebCore::KURL::string):
- (WebCore::KURL::protocol):
- (WebCore::KURL::host):
- (WebCore::KURL::hasPort):
- (WebCore::KURL::port):
- (WebCore::KURL::user):
- (WebCore::KURL::pass):
- (WebCore::KURL::hasPath):
- (WebCore::KURL::path):
- (WebCore::KURL::lastPathComponent):
- (WebCore::KURL::query):
- (WebCore::KURL::hasFragmentIdentifier):
- (WebCore::KURL::fragmentIdentifier):
- (WebCore::KURL::baseAsString):
- (WebCore::KURL::fileSystemPath):
- (WebCore::KURL::protocolIs):
- (WebCore::KURL::protocolIsInHTTPFamily):
- (WebCore::KURL::setProtocol):
- (WebCore::KURL::setHost):
- (WebCore::KURL::removePort):
- (WebCore::KURL::setPort):
- (WebCore::KURL::setHostAndPort):
- (WebCore::KURL::setUser):
- (WebCore::KURL::setPass):
- (WebCore::KURL::setPath):
- (WebCore::KURL::setQuery):
- (WebCore::KURL::setFragmentIdentifier):
- (WebCore::KURL::removeFragmentIdentifier):
- (WebCore::protocolHostAndPortAreEqual):
- * platform/KURLWTFURLImpl.h:
- (KURLWTFURLImpl):
- (WebCore::KURLWTFURLImpl::copy):
- (WebCore):
-
-2012-03-03 Benjamin Poulain <benjamin@webkit.org>
-
- Remove the redundant method KURL::protocolInHTTPFamily()
- https://bugs.webkit.org/show_bug.cgi?id=80216
-
- Reviewed by Anders Carlsson.
-
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::open):
- (WebCore::FrameLoader::addExtraFieldsToRequest):
- * loader/ResourceLoadScheduler.cpp:
- (WebCore::ResourceLoadScheduler::hostForURL):
- (WebCore::ResourceLoadScheduler::scheduleLoad):
- * loader/appcache/ApplicationCache.cpp:
- (WebCore::ApplicationCache::requestIsHTTPOrHTTPSGet):
- * loader/cache/CachedResource.cpp:
- (WebCore::CachedResource::freshnessLifetime):
- * loader/cache/MemoryCache.cpp:
- (WebCore::MemoryCache::removeFragmentIdentifierIfNeeded):
- * loader/icon/IconController.cpp:
- (WebCore::IconController::defaultURL):
- * platform/KURL.h:
- (KURL):
- * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
- * platform/network/CredentialStorage.cpp:
- (WebCore::CredentialStorage::set):
- (WebCore::findDefaultProtectionSpaceForURL):
- * platform/network/ResourceRequestBase.cpp:
- (WebCore::ResourceRequestBase::setCachePolicy):
- (WebCore::ResourceRequestBase::setTimeoutInterval):
- (WebCore::ResourceRequestBase::setHTTPMethod):
- (WebCore::ResourceRequestBase::setHTTPHeaderField):
- (WebCore::ResourceRequestBase::clearHTTPAuthorization):
- (WebCore::ResourceRequestBase::clearHTTPReferrer):
- (WebCore::ResourceRequestBase::clearHTTPOrigin):
- (WebCore::ResourceRequestBase::setResponseContentDispositionEncodingFallbackArray):
- (WebCore::ResourceRequestBase::setHTTPBody):
- (WebCore::ResourceRequestBase::setAllowCookies):
- (WebCore::ResourceRequestBase::setPriority):
- (WebCore::ResourceRequestBase::addHTTPHeaderField):
- * platform/network/blackberry/NetworkManager.cpp:
- (WebCore::NetworkManager::startJob):
- * platform/network/cf/ResourceHandleCFNet.cpp:
- (WebCore::ResourceHandle::createCFURLConnection):
- * platform/network/mac/ResourceHandleMac.mm:
- (WebCore::ResourceHandle::createNSURLConnection):
- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::send):
-
-2012-03-03 Robin Cao <robin.cao@torchmobile.com.cn>
-
- [BlackBerry] Upstream LayerWebKitThread and its derived classes
- https://bugs.webkit.org/show_bug.cgi?id=79871
-
- Reviewed by Antonio Gomes.
-
- Initial upstream, no new tests.
-
- * platform/graphics/blackberry/CanvasLayerWebKitThread.cpp: Added.
- (WebCore):
- (WebCore::CanvasLayerWebKitThread::CanvasLayerWebKitThread):
- (WebCore::CanvasLayerWebKitThread::~CanvasLayerWebKitThread):
- (WebCore::CanvasLayerWebKitThread::setCanvas):
- (WebCore::CanvasLayerWebKitThread::setNeedsDisplay):
- (WebCore::CanvasLayerWebKitThread::updateTextureContentsIfNeeded):
- * platform/graphics/blackberry/CanvasLayerWebKitThread.h: Added.
- (WebCore):
- (CanvasLayerWebKitThread):
- (WebCore::CanvasLayerWebKitThread::create):
- * platform/graphics/blackberry/LayerData.h: Added.
- (WebCore):
- (LayerData):
- (WebCore::LayerData::LayerData):
- (WebCore::LayerData::~LayerData):
- (WebCore::LayerData::anchorPoint):
- (WebCore::LayerData::anchorPointZ):
- (WebCore::LayerData::backgroundColor):
- (WebCore::LayerData::borderColor):
- (WebCore::LayerData::borderWidth):
- (WebCore::LayerData::bounds):
- (WebCore::LayerData::doubleSided):
- (WebCore::LayerData::frame):
- (WebCore::LayerData::masksToBounds):
- (WebCore::LayerData::opacity):
- (WebCore::LayerData::opaque):
- (WebCore::LayerData::position):
- (WebCore::LayerData::sublayerTransform):
- (WebCore::LayerData::transform):
- (WebCore::LayerData::preserves3D):
- (WebCore::LayerData::getTextureID):
- (WebCore::LayerData::setTextureID):
- (WebCore::LayerData::needsTexture):
- (WebCore::LayerData::layerProgramShader):
- (WebCore::LayerData::isFixedPosition):
- (WebCore::LayerData::hasFixedContainer):
- (WebCore::LayerData::hasFixedAncestorInDOMTree):
- (WebCore::LayerData::pluginView):
- (WebCore::LayerData::holePunchRect):
- (WebCore::LayerData::hasHolePunchRect):
- (WebCore::LayerData::mediaPlayer):
- (WebCore::LayerData::canvas):
- (WebCore::LayerData::replicate):
- (WebCore::LayerData::layerType):
- (WebCore::LayerData::includeVisibility):
- * platform/graphics/blackberry/LayerWebKitThread.cpp: Added.
- (WebCore):
- (WebCore::LayerWebKitThread::create):
- (WebCore::LayerWebKitThread::LayerWebKitThread):
- (WebCore::LayerWebKitThread::~LayerWebKitThread):
- (WebCore::LayerWebKitThread::paintContents):
- (WebCore::LayerWebKitThread::contentsVisible):
- (WebCore::LayerWebKitThread::createFrontBufferLock):
- (WebCore::LayerWebKitThread::updateTextureContentsIfNeeded):
- (WebCore::LayerWebKitThread::setContents):
- (WebCore::LayerWebKitThread::setDrawable):
- (WebCore::LayerWebKitThread::setNeedsCommit):
- (WebCore::LayerWebKitThread::notifyAnimationStarted):
- (WebCore::LayerWebKitThread::commitOnWebKitThread):
- (WebCore::LayerWebKitThread::startAnimations):
- (WebCore::LayerWebKitThread::updateTextureContents):
- (WebCore::LayerWebKitThread::commitOnCompositingThread):
- (WebCore::LayerWebKitThread::addSublayer):
- (WebCore::LayerWebKitThread::insertSublayer):
- (WebCore::LayerWebKitThread::removeFromSuperlayer):
- (WebCore::LayerWebKitThread::removeSublayer):
- (WebCore::LayerWebKitThread::replaceSublayer):
- (WebCore::LayerWebKitThread::indexOfSublayer):
- (WebCore::LayerWebKitThread::setBounds):
- (WebCore::LayerWebKitThread::setFrame):
- (WebCore::LayerWebKitThread::rootLayer):
- (WebCore::LayerWebKitThread::removeAllSublayers):
- (WebCore::LayerWebKitThread::setSublayers):
- (WebCore::LayerWebKitThread::setNeedsDisplayInRect):
- (WebCore::LayerWebKitThread::setNeedsDisplay):
- (WebCore::LayerWebKitThread::updateLayerHierarchy):
- (WebCore::LayerWebKitThread::setIsMask):
- * platform/graphics/blackberry/LayerWebKitThread.h: Added.
- (WebCore):
- (LayerWebKitThread):
- (WebCore::LayerWebKitThread::setAnchorPoint):
- (WebCore::LayerWebKitThread::setAnchorPointZ):
- (WebCore::LayerWebKitThread::setBackgroundColor):
- (WebCore::LayerWebKitThread::setBorderColor):
- (WebCore::LayerWebKitThread::setBorderWidth):
- (WebCore::LayerWebKitThread::setDoubleSided):
- (WebCore::LayerWebKitThread::setMasksToBounds):
- (WebCore::LayerWebKitThread::setMaskLayer):
- (WebCore::LayerWebKitThread::maskLayer):
- (WebCore::LayerWebKitThread::setReplicaLayer):
- (WebCore::LayerWebKitThread::replicaLayer):
- (WebCore::LayerWebKitThread::setNeedsDisplayOnBoundsChange):
- (WebCore::LayerWebKitThread::setOpacity):
- (WebCore::LayerWebKitThread::setOpaque):
- (WebCore::LayerWebKitThread::setPosition):
- (WebCore::LayerWebKitThread::getSublayers):
- (WebCore::LayerWebKitThread::setSublayerTransform):
- (WebCore::LayerWebKitThread::superlayer):
- (WebCore::LayerWebKitThread::setTransform):
- (WebCore::LayerWebKitThread::setPreserves3D):
- (WebCore::LayerWebKitThread::setFixedPosition):
- (WebCore::LayerWebKitThread::setHasFixedContainer):
- (WebCore::LayerWebKitThread::setHasFixedAncestorInDOMTree):
- (WebCore::LayerWebKitThread::contents):
- (WebCore::LayerWebKitThread::setOwner):
- (WebCore::LayerWebKitThread::drawsContent):
- (WebCore::LayerWebKitThread::layerCompositingThread):
- (WebCore::LayerWebKitThread::setAbsoluteOffset):
- (WebCore::LayerWebKitThread::contentsScale):
- (WebCore::LayerWebKitThread::setRunningAnimations):
- (WebCore::LayerWebKitThread::setSuspendedAnimations):
- (WebCore::LayerWebKitThread::setNeedsTexture):
- (WebCore::LayerWebKitThread::setLayerProgramShader):
- (WebCore::LayerWebKitThread::isDrawable):
- (WebCore::LayerWebKitThread::boundsChanged):
- (WebCore::LayerWebKitThread::setSuperlayer):
- (WebCore::LayerWebKitThread::numSublayers):
- * platform/graphics/blackberry/PluginLayerWebKitThread.cpp: Added.
- (WebCore):
- (WebCore::PluginLayerWebKitThread::PluginLayerWebKitThread):
- (WebCore::PluginLayerWebKitThread::~PluginLayerWebKitThread):
- (WebCore::PluginLayerWebKitThread::setPluginView):
- (WebCore::PluginLayerWebKitThread::setHolePunchRect):
- (WebCore::PluginLayerWebKitThread::setNeedsDisplay):
- (WebCore::PluginLayerWebKitThread::updateTextureContentsIfNeeded):
- * platform/graphics/blackberry/PluginLayerWebKitThread.h: Added.
- (WebCore):
- (PluginLayerWebKitThread):
- (WebCore::PluginLayerWebKitThread::create):
- * platform/graphics/blackberry/VideoLayerWebKitThread.cpp: Added.
- (WebCore):
- (WebCore::VideoLayerWebKitThread::VideoLayerWebKitThread):
- (WebCore::VideoLayerWebKitThread::~VideoLayerWebKitThread):
- (WebCore::VideoLayerWebKitThread::setMediaPlayer):
- (WebCore::VideoLayerWebKitThread::setHolePunchRect):
- (WebCore::VideoLayerWebKitThread::setNeedsDisplay):
- (WebCore::VideoLayerWebKitThread::boundsChanged):
- (WebCore::VideoLayerWebKitThread::updateTextureContentsIfNeeded):
- * platform/graphics/blackberry/VideoLayerWebKitThread.h: Added.
- (WebCore):
- (VideoLayerWebKitThread):
- (WebCore::VideoLayerWebKitThread::create):
-
-2012-03-03 Hans Wennborg <hans@chromium.org>
-
- Implement Speech JavaScript API
- https://bugs.webkit.org/show_bug.cgi?id=80019
-
- Reviewed by Adam Barth.
-
- Add ENABLE_SCRIPTED_SPEECH and runtime flag.
-
- No functionality yet, so no new tests.
-
- * Configurations/FeatureDefines.xcconfig:
- * GNUmakefile.am:
- * Target.pri:
- * bindings/generic/RuntimeEnabledFeatures.cpp:
- (WebCore):
- * bindings/generic/RuntimeEnabledFeatures.h:
- (RuntimeEnabledFeatures):
- (WebCore::RuntimeEnabledFeatures::setScriptedSpeechEnabled):
- (WebCore::RuntimeEnabledFeatures::scriptedSpeechEnabled):
- (WebCore::RuntimeEnabledFeatures::webkitSpeechRecognitionEnabled):
- (WebCore::RuntimeEnabledFeatures::webkitSpeechRecognitionErrorEnabled):
- (WebCore::RuntimeEnabledFeatures::webkitSpeechGrammarEnabled):
- (WebCore::RuntimeEnabledFeatures::webkitSpeechGrammarListEnabled):
-
-2012-03-03 Raymond Toy <rtoy@google.com>
-
- DelayNode has a fixed one second max delay time
- https://bugs.webkit.org/show_bug.cgi?id=78758
-
- Change DelayNode to accept an optional parameter to specify the
- maximum delay allowed. If not specified, the default is 1 sec.
-
- Reviewed by Chris Rogers.
-
- Test: webaudio/delaynode-maxdelay.html
- webaudio/delaynode-maxdelay-expected.txt
-
- * webaudio/AudioContext.cpp:
- (WebCore::AudioContext::createDelayNode): Allow maxDelayTime
- parameter to specify max delay.
- * webaudio/AudioContext.h: Allow maxDelayTime
- parameter to specify max delay but default to 1.
- (AudioContext):
- * webaudio/AudioContext.idl: createDelayNode takes optional max
- delay time parameter.
- * webaudio/DelayDSPKernel.cpp:
- (WebCore::DelayDSPKernel::DelayDSPKernel): Remove unused
- DefaultMaxDelayTime. Set m_maxDelayTime from processor
- maxDelayTime.
- * webaudio/DelayNode.cpp:
- (WebCore::DelayNode::DelayNode): Add maxDelayTime parameter.
- * webaudio/DelayNode.h:
- (WebCore::DelayNode::create): Add maxDelayTime parameter.
- (DelayNode): Add maxDelayTime parameter.
- * webaudio/DelayProcessor.cpp:
- (WebCore::DelayProcessor::DelayProcessor): Add maxDelayTime
- parameter.
- * webaudio/DelayProcessor.h:
- (DelayProcessor): Add maxDelayTime parameter.
- (WebCore::DelayProcessor::maxDelayTime): New slot to hold
- maxDelayTime.
-
-2012-03-03 Raymond Toy <rtoy@google.com>
-
- Simplified discreteTimeConstantForSampleRate
- https://bugs.webkit.org/show_bug.cgi?id=78051
-
- Remove hardcoded constant and simplify computation of discrete
- time constant.
-
- Reviewed by Chris Rogers.
-
- No new tests needed. Covered by existing AudioParam tests.
-
- * platform/audio/AudioUtilities.cpp:
- (WebCore::AudioUtilities::discreteTimeConstantForSampleRate):
- Simplify formula.
- * platform/audio/AudioUtilities.h:
- (AudioUtilities): Update function signature.
- * platform/audio/DynamicsCompressorKernel.cpp:
- (WebCore::DynamicsCompressorKernel::DynamicsCompressorKernel):
- cast to float to avoid warnings.
- * webaudio/AudioParamTimeline.cpp:
- (WebCore::AudioParamTimeline::valuesForTimeRangeImpl): cast to
- float to avoid warnings.
-
-2012-03-03 Anders Carlsson <andersca@apple.com>
-
- Fix build with newer versions of clang.
-
- * bindings/objc/DOM.mm:
- (-[DOMNode description]):
- Remove an unused parameter.
-
- * bridge/objc/objc_instance.mm:
- (ObjcInstance::getClass):
- Use object_getClass instead of accessing isa directly.
-
- * platform/LocalizedStrings.cpp:
- (WebCore::formatLocalizedString):
- Disable the -Wformat-nonliteral warning around the call to CFStringCreateWithFormatAndArguments.
-
- * platform/graphics/mac/WebLayer.mm:
- (-[CALayer _descriptionWithPrefix:]):
- Use %p for the CALayer pointer, and use %lu for the number of sublayers.
-
- * platform/mac/HTMLConverter.mm:
- (-[WebHTMLConverter _addAttachmentForElement:URL:needsParagraph:usePlaceholder:]):
- Cast the NSAttachmentCharacte enum to unichar.
-
-2012-03-03 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r109343.
- http://trac.webkit.org/changeset/109343
- https://bugs.webkit.org/show_bug.cgi?id=80212
-
- Int32array can't handle values for native nodes because they
- have int64 ids (Requested by loislo1 on #webkit).
-
- * inspector/front-end/HeapSnapshot.js:
- (WebInspector.HeapSnapshotLoader.prototype._parseNodes):
- (WebInspector.HeapSnapshotLoader.prototype.pushJSONChunk):
- (WebInspector.HeapSnapshot):
- (WebInspector.HeapSnapshot.prototype._init):
-
-2012-03-03 Andreas Kling <awesomekling@apple.com>
-
- Free up a bit in RenderObject.
- http://webkit.org/b/80208
-
- Reviewed by Anders Carlsson.
-
- Move m_hasMarkupTruncation to RenderBlock, stealing one bit from m_lineHeight.
- This flag is only used by RenderBlock.
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::RenderBlock):
- * rendering/RenderBlock.h:
- (WebCore::RenderBlock::setHasMarkupTruncation):
- (WebCore::RenderBlock::hasMarkupTruncation):
- (RenderBlock):
- * rendering/RenderObject.h:
- (RenderObject):
- (WebCore::RenderObject::RenderObjectBitfields::RenderObjectBitfields):
- (RenderObjectBitfields):
-
-2012-03-03 Joe Thomas <joethomas@motorola.com>
-
- Implement vw/vh/vmin (viewport sizes) from CSS 3 Values and Units
- https://bugs.webkit.org/show_bug.cgi?id=27160
-
- The specification related to this implementation is located at http://dev.w3.org/csswg/css3-values/#viewport-relative-lengths.
- vw/vh/vmin are implemented as primitive length units. Added the parsing logic for these new units and creation of primitive values.
-
- Added new Length types such as ViewportRelativeWidth, ViewportRelativeHeight and ViewportRelativeMin for viewport-relative lengths
- and included the support for fetching the value of these relative length units based on the current viewport size.
-
- Reviewed by Antti Koivisto.
-
- Tests: css3/viewport-relative-lengths/css3-viewport-relative-lengths-getStyle.html
- css3/viewport-relative-lengths/css3-viewport-relative-lengths-vh-absolute.html
- css3/viewport-relative-lengths/css3-viewport-relative-lengths-vh.html
- css3/viewport-relative-lengths/css3-viewport-relative-lengths-vmin-absolute.html
- css3/viewport-relative-lengths/css3-viewport-relative-lengths-vmin.html
- css3/viewport-relative-lengths/css3-viewport-relative-lengths-vw-absolute.html
- css3/viewport-relative-lengths/css3-viewport-relative-lengths-vw.html
-
- * css/CSSComputedStyleDeclaration.cpp: Modified to support viewport relative Length types.
- (WebCore::getPositionOffsetValue): Ditto.
- (WebCore::getBorderRadiusCornerValues): Ditto.
- (WebCore::getBorderRadiusCornerValue): Ditto.
- (WebCore::getBorderRadiusShorthandValue): Ditto.
- (WebCore::lineHeightFromStyle): Ditto.
- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Ditto.
- * css/CSSGrammar.y: Added vw/vh/vmin support.
- * css/CSSParser.cpp: Parsing of relative units and creation of CSSPrimitiveValue.
- (WebCore::CSSParser::validUnit): Added vw/vh/vmin to the valid units.
- (WebCore::CSSParser::createPrimitiveNumericValue): Added vw/vh/vmin as valid primitive units.
- (WebCore::unitFromString):
- (WebCore::CSSParser::parseValidPrimitive): Creation of CSSPrimitiveValue for vw/vh/vmin.
- (WebCore::CSSParser::detectNumberToken): Parsing the vw/vh/vmin tokens.
- * css/CSSPrimitiveValue.cpp:
- (WebCore::isValidCSSUnitTypeForDoubleConversion): Added support for vw/vh/vmin.
- (WebCore::unitCategory): Ditto.
- (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- (WebCore::CSSPrimitiveValue::canonicalUnitTypeForCategory): Added support for vw/vh/vmin.
- (WebCore::CSSPrimitiveValue::customCssText): Ditto.
- (WebCore::CSSPrimitiveValue::viewportRelativeLength): Function to create the Length structure for the viewport-relative unit types.
- (WebCore):
- * css/CSSPrimitiveValue.h:
- (WebCore::CSSPrimitiveValue::isViewportRelativeLength): Checks whether the primitive value is ViewportRelative Lengths.
- (CSSPrimitiveValue):
- * css/CSSPrimitiveValue.idl: Added support for vw/vh/vmin.
- * css/CSSStyleApplyProperty.cpp:
- (WebCore::ApplyPropertyLength::applyValue): Applying relative viewport length units to the specific CSS property.
- (WebCore::ApplyPropertyBorderRadius::applyValue): Ditto.
- (WebCore::ApplyPropertyFontSize::applyValue): Ditto.
- (WebCore::ApplyPropertyLineHeight::applyValue): Ditto.
- (WebCore::ApplyPropertyVerticalAlign::applyValue): Ditto.
- * css/CSSStyleSelector.cpp:
- (WebCore::convertToLength): Added support for viewport relative units.
- (WebCore::createGridTrackBreadth): Ditto.
- (WebCore::CSSStyleSelector::mapFillSize): Ditto.
- (WebCore::CSSStyleSelector::mapFillXPosition): Ditto.
- (WebCore::CSSStyleSelector::mapFillYPosition): Ditto.
- * dom/Document.cpp:
- (WebCore::Document::pageSizeAndMarginsInPixels): Modified to support viewport relative Length types.
- (WebCore::Document::viewportSize): New function to fetch the current viewport size.
- (WebCore):
- * dom/Document.h: Ditto.
- (Document):
- * html/HTMLAreaElement.cpp:
- (WebCore::HTMLAreaElement::getRegion): Modified to support viewport relative Length types.
- * platform/Length.h: New LengthTypes such as ViewportRelativeWidth, ViewportRelativeHeight and ViewportRelativeMin added.
- (WebCore::Length::calcValue): Modified to support viewport relative Length types.
- (WebCore::Length::calcMinValue): Ditto.
- (WebCore::Length::calcFloatValue): Ditto.
- (Length):
- (WebCore::Length::isViewportRelative): To check the Length is of type ViewportRelative.
- (WebCore::Length::viewportRelativeLength): To get the relative value.
- * rendering/RenderBR.cpp:
- (WebCore::RenderBR::lineHeight): Modified to support viewport relative Length types.
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::lineHeight): Ditto.
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::reflectionOffset): Ditto.
- (WebCore::RenderBox::paintBoxDecorations): Ditto.
- (WebCore::RenderBox::clipRect): Ditto.
- (WebCore::RenderBox::computeLogicalWidthInRegion): Ditto.
- (WebCore::RenderBox::computeLogicalWidthInRegionUsing): Ditto.
- (WebCore::RenderBox::computeInlineDirectionMargins): Ditto.
- (WebCore::RenderBox::computeLogicalHeightUsing): Ditto.
- (WebCore::RenderBox::computePercentageLogicalHeight): Ditto.
- (WebCore::RenderBox::computeReplacedLogicalHeightUsing): Ditto.
- (WebCore::RenderBox::computeBlockDirectionMargins): Ditto.
- (WebCore::RenderBox::computePositionedLogicalWidthUsing): Ditto.
- (WebCore::RenderBox::computePositionedLogicalHeightUsing): Ditto.
- (WebCore::RenderBox::computePositionedLogicalWidthReplaced): Ditto.
- (WebCore::RenderBox::computePositionedLogicalHeightReplaced): Ditto.
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::relativePositionOffsetX): Ditto.
- (WebCore::RenderBoxModelObject::relativePositionOffsetY): Ditto.
- (WebCore::RenderBoxModelObject::paddingTop): Ditto.
- (WebCore::RenderBoxModelObject::paddingBottom): Ditto.
- (WebCore::RenderBoxModelObject::paddingLeft): Ditto.
- (WebCore::RenderBoxModelObject::paddingRight): Ditto.
- (WebCore::RenderBoxModelObject::paddingBefore): Ditto.
- (WebCore::RenderBoxModelObject::paddingAfter): Ditto.
- (WebCore::RenderBoxModelObject::paddingStart): Ditto.
- (WebCore::RenderBoxModelObject::paddingEnd): Ditto.
- (WebCore::RenderBoxModelObject::getBackgroundRoundedRect): Ditto.
- (WebCore::RenderBoxModelObject::calculateFillTileSize): Ditto.
- (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry): Ditto.
- (WebCore::computeBorderImageSide): Ditto.
- (WebCore::RenderBoxModelObject::paintNinePieceImage): Ditto.
- (WebCore::RenderBoxModelObject::paintBorder): Ditto.
- (WebCore::RenderBoxModelObject::paintBoxShadow): Ditto.
- * rendering/RenderFlexibleBox.cpp:
- (WebCore::RenderFlexibleBox::preferredMainAxisContentExtentForChild): Ditto.
- (WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes): Ditto.
- (WebCore::RenderFlexibleBox::runFreeSpaceAllocationAlgorithm): Ditto.
- * rendering/RenderInline.cpp:
- (WebCore::computeMargin): Ditto.
- (WebCore::RenderInline::lineHeight): Ditto.
- * rendering/RenderMenuList.cpp:
- (WebCore::RenderMenuList::updateOptionsWidth): Ditto.
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::repaintAfterLayoutIfNeeded): Ditto.
- * rendering/RenderObject.h:
- (WebCore::RenderObject::viewportSize): New function to fetch the current viewport size.
- (RenderObject):
- * rendering/RenderReplaced.cpp:
- (WebCore::RenderReplaced::paint): Modified to support viewport relative Length types.
- * rendering/RenderScrollbarPart.cpp:
- (WebCore::calcScrollbarThicknessUsing): Ditto.
- (WebCore::RenderScrollbarPart::computeScrollbarWidth): Ditto.
- (WebCore::RenderScrollbarPart::computeScrollbarHeight): Ditto.
- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::computeLogicalWidth): Ditto.
- (WebCore::RenderTable::convertStyleLogicalWidthToComputedWidth): Ditto.
- * rendering/RenderTableCell.cpp:
- (WebCore::RenderTableCell::logicalHeightForRowSizing): Ditto.
- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::calcRowLogicalHeight): Ditto.
- * rendering/RenderText.h:
- (WebCore::RenderText::marginLeft): Ditto.
- (WebCore::RenderText::marginRight): Ditto.
- * rendering/RenderThemeMac.mm:
- (WebCore::RenderThemeMac::paintMenuListButtonGradients): Ditto.
- * rendering/RenderWidget.cpp:
- (WebCore::RenderWidget::paint): Ditto.
- * rendering/RootInlineBox.cpp:
- (WebCore::RootInlineBox::verticalPositionForBox): Ditto.
- * rendering/style/RenderStyle.cpp:
- (WebCore::calcRadiiFor): Ditto.
- (WebCore::RenderStyle::getRoundedBorderFor): Ditto.
- * rendering/style/RenderStyle.h: Ditto.
- * rendering/svg/RenderSVGRoot.cpp:
- (WebCore::resolveLengthAttributeForSVG): Ditto.
- (WebCore::RenderSVGRoot::computeReplacedLogicalWidth): Ditto.
- (WebCore::RenderSVGRoot::computeReplacedLogicalHeight): Ditto.
-
-2012-03-02 Pablo Flouret <pablof@motorola.com>
-
- Editor's default paragraph separator is not reset when a frame's document is changed
- https://bugs.webkit.org/show_bug.cgi?id=80065
-
- Reviewed by Ryosuke Niwa.
-
- Test: editing/execCommand/reset-values-after-navigation.html
-
- * editing/Editor.cpp:
- (WebCore::Editor::clear):
-
-2012-03-02 Alexey Proskuryakov <ap@apple.com>
-
- Have a copy of plug-in sandboxing API header in WebCore
- https://bugs.webkit.org/show_bug.cgi?id=80185
- <rdar://problem/8242128>
-
- Reviewed by Anders Carlsson.
-
- * plugins/npapi-sandbox.h: Added.
-
- * WebCore.xcodeproj/project.pbxproj: Added as unused file.
-
-2012-03-02 Emil A Eklund <eae@chromium.org>
-
- Revert borders to integers for subpixel layout
- https://bugs.webkit.org/show_bug.cgi?id=80175
-
- Reviewed by Eric Seidel.
-
- Change border representation and calculation back to integers to ensure
- that borders given the same width are rendered with the same actual width.
-
- This will also avoid unnecessary type conversions when we switch over
- to subpixel precision.
-
- No new tests.
-
- * rendering/LayoutTypes.h:
- (WebCore::pixelSnappedIntRect):
- (WebCore):
- * rendering/RenderBoxModelObject.h:
- (WebCore::RenderBoxModelObject::borderTop):
- (WebCore::RenderBoxModelObject::borderBottom):
- (WebCore::RenderBoxModelObject::borderLeft):
- (WebCore::RenderBoxModelObject::borderRight):
- (WebCore::RenderBoxModelObject::borderBefore):
- (WebCore::RenderBoxModelObject::borderAfter):
- (WebCore::RenderBoxModelObject::borderStart):
- (WebCore::RenderBoxModelObject::borderEnd):
- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::convertStyleLogicalWidthToComputedWidth):
- (WebCore::RenderTable::calcBorderStart):
- (WebCore::RenderTable::calcBorderEnd):
- (WebCore::RenderTable::borderBefore):
- (WebCore::RenderTable::borderAfter):
- (WebCore::RenderTable::outerBorderBefore):
- (WebCore::RenderTable::outerBorderAfter):
- (WebCore::RenderTable::outerBorderStart):
- (WebCore::RenderTable::outerBorderEnd):
- * rendering/RenderTable.h:
- (WebCore::RenderTable::borderStart):
- (WebCore::RenderTable::borderEnd):
- (RenderTable):
- (WebCore::RenderTable::borderLeft):
- (WebCore::RenderTable::borderRight):
- (WebCore::RenderTable::borderTop):
- (WebCore::RenderTable::borderBottom):
- (WebCore::RenderTable::outerBorderLeft):
- (WebCore::RenderTable::outerBorderRight):
- (WebCore::RenderTable::outerBorderTop):
- (WebCore::RenderTable::outerBorderBottom):
- * rendering/RenderTableCell.cpp:
- (WebCore::RenderTableCell::clippedOverflowRectForRepaint):
- (WebCore::RenderTableCell::borderLeft):
- (WebCore::RenderTableCell::borderRight):
- (WebCore::RenderTableCell::borderTop):
- (WebCore::RenderTableCell::borderBottom):
- (WebCore::RenderTableCell::borderStart):
- (WebCore::RenderTableCell::borderEnd):
- (WebCore::RenderTableCell::borderBefore):
- (WebCore::RenderTableCell::borderAfter):
- (WebCore::RenderTableCell::borderHalfLeft):
- (WebCore::RenderTableCell::borderHalfRight):
- (WebCore::RenderTableCell::borderHalfTop):
- (WebCore::RenderTableCell::borderHalfBottom):
- (WebCore::RenderTableCell::borderHalfStart):
- (WebCore::RenderTableCell::borderHalfEnd):
- (WebCore::RenderTableCell::borderHalfBefore):
- (WebCore::RenderTableCell::borderHalfAfter):
- (WebCore::RenderTableCell::paintCollapsedBorders):
- * rendering/RenderTableCell.h:
- (RenderTableCell):
-
-2012-03-01 Eric Seidel <eric@webkit.org>
-
- Chrome 18 fails html5test.com XHR Blob response test
- https://bugs.webkit.org/show_bug.cgi?id=76760
-
- Reviewed by Adam Barth.
-
- Most of the code was already there, this just fixes the FIXME
- which was causing this feature not to work. Chromium already
- had this #ifdef enabled, but other ports (at least Mac) do not.
-
- Test: fast/files/xhr-response-blob.html
-
- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::didFinishLoading):
-
-2012-03-02 Kentaro Hara <haraken@chromium.org>
-
- Revert Worker-related APIs from DOMWindowWorker.idl back to DOMWindow.idl
- https://bugs.webkit.org/show_bug.cgi?id=80151
-
- Reviewed by Adam Barth.
-
- Based on the discussion on webkit-dev@
- (http://markmail.org/message/kagvswmah67zmrry#query:+page:1+mid:h34vzbiu5suub3ld+state:results),
- this patch reverts Worker-related APIs from DOMWindowWorker.idl back to DOMWindow.idl.
-
- No tests. No change in behavior.
-
- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * page/DOMWindow.idl:
- * workers/DOMWindowWorker.idl: Removed.
-
-2012-03-02 Kentaro Hara <haraken@chromium.org>
-
- Revert HTML-related APIs from DOMWindowHTML.idl back to DOMWindow.idl
- https://bugs.webkit.org/show_bug.cgi?id=80140
-
- Reviewed by Adam Barth.
-
- Based on the discussion on webkit-dev@
- (http://markmail.org/message/kagvswmah67zmrry#query:+page:1+mid:h34vzbiu5suub3ld+state:results),
- we should revert HTML-related APIs from DOMWindowHTML.idl back to DOMWindow.idl.
-
- No tests. No change in behavior.
-
- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.xcodeproj/project.pbxproj:
- * html/DOMWindowHTML.idl: Removed.
- * page/DOMWindow.idl:
-
-2012-03-02 Kentaro Hara <haraken@chromium.org>
-
- Revert XML-related APIs from DOMWindowXML.idl back to DOMWindow.idl
- https://bugs.webkit.org/show_bug.cgi?id=80148
-
- Reviewed by Adam Barth.
-
- Based on the discussion on webkit-dev@
- (http://markmail.org/message/kagvswmah67zmrry#query:+page:1+mid:h34vzbiu5suub3ld+state:results),
- this patch reverts XML-related APIs from DOMWindowXML.idl back to DOMWindow.idl.
-
- No tests. No change in behavior.
-
- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.xcodeproj/project.pbxproj:
- * page/DOMWindow.idl:
- * xml/DOMWindowXML.idl: Removed.
-
-2012-03-02 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
-
- Implement NamedNodeMap::setNamedItem() in terms of Element::setAttributeNode() instead of the other way round
- https://bugs.webkit.org/show_bug.cgi?id=80188
-
- Reviewed by Ryosuke Niwa.
-
- Using setNamedItem() in setAttributeNode() implementation made us do unnecessary
- checks like whether the element existed or whether the given node was an
- attribute. So now setAttributeNode() do less work.
-
- No new tests were added, functionality should be unchanged.
-
- * dom/Element.cpp:
- (WebCore::Element::setAttributeNode):
- (WebCore::Element::setAttributeNodeNS):
- * dom/Element.h:
- (Element):
- (WebCore::Element::attributes): We got rid of ensureUpdatedAttributes(), next in
- line will be updatedAttributes().
- * dom/NamedNodeMap.cpp:
- (WebCore::NamedNodeMap::setNamedItem):
-
-2012-03-02 SravanKumar Sandela <ssandela@innominds.com>
-
- Layout issue with fieldset legend element
- https://bugs.webkit.org/show_bug.cgi?id=78684
-
- Reviewed by Dirk Pranke.
-
- The clipping logic for legend element was incorrect and now it has been corrected by taking correct offset in to consideration.
-
- Test: fast/forms/fieldset-legend-padding-unclipped-fieldset-border.html
-
- * rendering/RenderFieldset.cpp:
- (WebCore::RenderFieldset::paintBoxDecorations):
-
-2012-03-02 Erik Arvidsson <arv@chromium.org>
-
- [V8] Bindings for node always check if they are a Document.
- https://bugs.webkit.org/show_bug.cgi?id=79947
-
- Reviewed by Adam Barth.
-
- This changes the generated bindings code to only generate the Document code for the Document wrappers.
-
- No new tests. Covered by existing tests.
-
- * bindings/scripts/CodeGeneratorV8.pm:
- (GenerateToV8Converters):
- * bindings/scripts/test/V8/V8Float64Array.cpp:
- (WebCore::V8Float64Array::wrapSlow):
- * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
- (WebCore::V8TestActiveDOMObject::wrapSlow):
- * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
- (WebCore::V8TestCustomNamedGetter::wrapSlow):
- * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
- (WebCore::V8TestEventConstructor::wrapSlow):
- * bindings/scripts/test/V8/V8TestEventTarget.cpp:
- (WebCore::V8TestEventTarget::wrapSlow):
- * bindings/scripts/test/V8/V8TestInterface.cpp:
- (WebCore::V8TestInterface::wrapSlow):
- * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
- (WebCore::V8TestMediaQueryListListener::wrapSlow):
- * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
- (WebCore::V8TestNamedConstructor::wrapSlow):
- * bindings/scripts/test/V8/V8TestObj.cpp:
- (WebCore::V8TestObj::wrapSlow):
- * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
- (WebCore::V8TestSerializedScriptValueInterface::wrapSlow):
-
-2012-03-02 Igor Oliveira <igor.o@sisa.samsung.com>
-
- animation-timing-function falls back to ease when overriding animation-name
- https://bugs.webkit.org/show_bug.cgi?id=71623
-
- In this patch the animation name needs to be the first value declared, if
- a different value is found, we do not check for the animation name again.
-
- Reviewed by Dean Jackson.
-
- Test: animations/animation-shorthand-overriding.html
-
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseAnimationShorthand):
-
-2012-03-02 Martin Robinson <mrobinson@igalia.com>
-
- [GTK] [AC] Connect WebGL to the TextureMapperGL code
- https://bugs.webkit.org/show_bug.cgi?id=78968
-
- Reviewed by Gustavo Noronha Silva.
-
- No new tests. This is covered by existing accelerated compositing and
- WebGL tests.
-
- Rely on the shared version of GL acquisition from GLContext. This reduces
- a lot of code and now allows us to connect WebGL into the accelerated compositing
- rendering path.
-
- * GNUmakefile.list.am: GLContext should be included for all X11 builds now.
- There are no longer GTK+ specific versions of GraphicsContext3D.
- * platform/graphics/GraphicsContext3D.h: Add a default argument for
- resolveMultisamplingIfNecessary. This will resolve the entire texture.
- * platform/graphics/cairo/GraphicsContext3DCairo.cpp: GraphicsContext3D is
- now responsible for creating GraphicsContext3DPrivate in the constructor.
- (WebCore::GraphicsContext3D::platformLayer): Now return m_private.
- * platform/graphics/cairo/GraphicsContext3DPrivate.cpp: Added.
- * platform/graphics/cairo/GraphicsContext3DPrivate.h: Renamed from Source/WebCore/platform/graphics/glx/GraphicsContext3DPrivate.h.
- * platform/graphics/glx/GraphicsContext3DPrivate.cpp: Removed.
- * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
- (WebCore::GraphicsContext3D::resolveMultisamplingIfNecessary): Properly
- handle the default argument.
- * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
- (WebCore::GraphicsContext3D::prepareTexture): Use the new default argument now.
- (WebCore::GraphicsContext3D::readRenderingResults): Ditto.
-
-2012-02-18 Martin Robinson <mrobinson@igalia.com>
-
- [GTK] [AC] Generalize WindowContextGL
- https://bugs.webkit.org/show_bug.cgi?id=78969
-
- Reviewed by Gustavo Noronha Silva.
-
- No new tests. This should not change functionality.
-
- * GNUmakefile.list.am: Added new files to source list.
- * platform/graphics/cairo/GLContext.h: Added. An abstraction for all GL contexts.
- * platform/graphics/glx/GLContextGLX.cpp: Added. This file is composed of very little
- new code, as the logic for instantiating offscreen GL contexts is copied from
- GraphicsContext3DPrivate. The code duplication will be removed in a followup patch.
- (WebCore::GLContext::platformContext):
- * platform/graphics/gtk/GLContextGtk.cpp: Added. This includes some helper factories
- for creating and caching GL contexts for GTK+ widgets.
-
-2012-03-02 W. James MacLean <wjmaclean@chromium.org>
-
- [chromium] Remove TRACE_EVENT from CCQuadCuller::cullOccludedQuads.
- https://bugs.webkit.org/show_bug.cgi?id=80174
-
- Reviewed by James Robinson.
-
- Covered by existing chromium unit tests.
-
- Firing TRACE_EVENT once per draw quad is overwhelming.
-
- * platform/graphics/chromium/cc/CCQuadCuller.cpp:
- (WebCore::CCQuadCuller::cullOccludedQuads):
-
-2012-03-02 Erik Arvidsson <arv@chromium.org>
-
- [V8] Make inline event attributes use evt for SVG and event otherwise
- https://bugs.webkit.org/show_bug.cgi?id=80167
-
- Reviewed by Ojan Vafai.
-
- Test: fast/dom/inline-event-attributes-event-param-name.html
-
- * bindings/v8/V8LazyEventListener.cpp:
- (WebCore::V8LazyEventListener::prepareListenerObject):
-
-2012-03-02 Gavin Peters <gavinp@chromium.org>
-
- Sync PageCache debugging with PageCache behaviour
- https://bugs.webkit.org/show_bug.cgi?id=79943
-
- Sync up the debug printing code in PageCache with the actual logic,
- and clean up the debug printing at the same time.
-
- Reviewed by Brady Eidson.
-
- No new tests, as this is a refactor of debug only code.
-
- * history/PageCache.cpp:
- (WebCore):
- (WebCore::logCanCacheFrameDecision):
- (WebCore::logCanCachePageDecision):
-
-2012-03-02 Maciej Stachowiak <mjs@apple.com>
-
- REGRESSION(r97353): Crash when accessing location or history properties inside a navigated window
- https://bugs.webkit.org/show_bug.cgi?id=80133
- <rdar://problem/10432233>
-
- Reviewed by Antti Koivisto.
-
- Test: fast/dom/Window/navigated-window-properties.html
-
- * bindings/js/JSDOMWindowCustom.cpp:
- (WebCore): Remove custom getters for window.location and window.history; they
- were unnecessary and did the wrong thing when DOMWindow returned null values
- for these.
- * page/DOMWindow.idl: ditto
- * bindings/js/JSDOMBinding.cpp:
- (WebCore::reportException): Remove assert about null values and update comment,
- since this is now an expected state for navigated inner windows.
-
-2012-03-02 Ryosuke Niwa <rniwa@webkit.org>
-
- REGRESSION(r74971): Can't select a line of RTL text on Facebook
- https://bugs.webkit.org/show_bug.cgi?id=59435
-
- Reviewed by Eric Seidel.
-
- The bug was caused by inline text boxes created by BRs being placed at the end of the line
- according to the block's direction regardless of its unicode bidi-level. e.g. if we have
- <div dir="rtl"><span dir="ltr">hello<br>world</span></div>
- the inline box generated by the br has the bidi-level of 2 like the rest of text in the span.
- This inline text box gives an illusion of having text on the left of "hello" to hit testing
- and editing code and causes all sorts of problems.
-
- Fixed the bug by replacing calls to nextLeafChild and prevLeafChild by newly introduced
- nextLeafChildIgnoringLineBreak and prevLeafChildIgnoringLineBreak. These two functions will
- return 0 when they hit the end of a line or inline text box that's a line break. In effect,
- hit testing and editing code can ignore inline boxes generated by br's.
-
- In the long term, we should move these two functions into RenderedPosition along with the rest
- of code that converts a Position and an inline box, offset pair.
-
- Test: editing/selection/select-line-break-with-opposite-directionality.html
-
- * dom/Position.cpp:
- (WebCore::Position::getInlineBoxAndOffset):
- * editing/RenderedPosition.cpp:
- (WebCore::RenderedPosition::prevLeafChild):
- (WebCore::RenderedPosition::nextLeafChild):
- * rendering/InlineBox.cpp:
- (WebCore::InlineBox::nextLeafChildIgnoringLineBreak):
- (WebCore::InlineBox::prevLeafChildIgnoringLineBreak):
- * rendering/InlineBox.h:
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::positionForPointWithInlineChildren):
- * rendering/RenderText.cpp:
- (WebCore::lineDirectionPointFitsInBox): If we're on the left of a RTL line, we should stay at
- upstream position since we're at the end of a line.
- (WebCore::createVisiblePositionAfterAdjustingOffsetForBiDi): Merge the two special cases into
- the general loop as the comment suggests. Skip an inline text box for a line break at the left
- edge when there are more line boxes on the line.
- (WebCore::RenderText::positionForPoint):
- * rendering/RootInlineBox.cpp:
- (WebCore::RootInlineBox::closestLeafChildForLogicalLeftPosition): Ignore line boxes created for
- line boxes when there are other boxes on the line.
-
-2012-03-02 Adam Treat <atreat@rim.com>
-
- https://bugs.webkit.org/show_bug.cgi?id=80161
- PR: 141157
-
- BlackBerryPlatformScreen.h API has been updated. Reflect those
- changes in our usage.
-
- Reviewed by Antonio Gomes.
- Internally reviewed by Jakob Petsovits
-
- * platform/blackberry/PlatformScreenBlackBerry.cpp:
- (WebCore::screenAvailableRect):
- (WebCore::screenRect):
-
-2012-03-02 Julien Chaffraix <jchaffraix@webkit.org>
-
- Move the 'overflow' event dispatching logic out of RenderLayer
- https://bugs.webkit.org/show_bug.cgi?id=80090
-
- Unreviewed build fix.
-
- * rendering/RenderBlock.cpp:
- (OverflowEventDispatcher): Removed the unused function.
-
-2012-03-02 Julien Chaffraix <jchaffraix@webkit.org>
-
- Move the 'overflow' event dispatching logic out of RenderLayer
- https://bugs.webkit.org/show_bug.cgi?id=80090
-
- Reviewed by Simon Fraser.
-
- Test: fast/events/overflow-events-writing-mode.html
-
- This moves the 'overflow' event dispatch from RenderLayer to an helper class
- OverflowEventDispatcher. For now, the class lives in RenderBlock as it matches
- the existing code but it may be moved later to its own class as FrameView could
- benefit from it too or if we need to support 'overflow' events on RenderBoxes.
-
- * rendering/RenderBlock.cpp:
- (WebCore):
- (OverflowEventDispatcher):
- (WebCore::OverflowEventDispatcher::OverflowEventDispatcher):
- (WebCore::OverflowEventDispatcher::~OverflowEventDispatcher):
- (WebCore::OverflowEventDispatcher::computeOverflowStatus):
- RAII dispatcher class that stores the information before layout and compare
- them after to dispatch the right information.
-
- (WebCore::RenderBlock::layout): Added an instance of OverflowEventDispatcher.
-
- * rendering/RenderBox.h:
- (WebCore::RenderBox::hasHorizontalLayoutOverflow):
- (WebCore::RenderBox::hasVerticalLayoutOverflow):
- Helper method to know if we have an horizontal / vertical layout overflow.
-
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::RenderLayer):
- (WebCore::RenderLayer::updateScrollInfoAfterLayout):
- * rendering/RenderLayer.h:
- Removed the scroll tracking logic as we don't need it anymore. This removes
- 3 booleans from RenderLayer.
-
-2012-03-02 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
-
- Create a method in Element to compare attributes with other Element
- https://bugs.webkit.org/show_bug.cgi?id=80169
-
- Reviewed by Ryosuke Niwa.
-
- Avoid manually peeking at attribute storage to get this information. This
- simplify the callsites. The actual implementation of comparison was moved to
- ElementAttributeData. The mapsEquivalent() function still exists for the sake
- of DocumentType nodes.
-
- * dom/Element.cpp:
- (WebCore::Element::hasEquivalentAttributes):
- (WebCore):
- * dom/Element.h:
- (Element):
- * dom/ElementAttributeData.cpp:
- (WebCore::ElementAttributeData::isEquivalent):
- (WebCore):
- * dom/ElementAttributeData.h:
- (ElementAttributeData):
- * dom/NamedNodeMap.cpp:
- (WebCore::NamedNodeMap::mapsEquivalent):
- * dom/Node.cpp:
- (WebCore::Node::isEqualNode):
- * editing/htmlediting.cpp:
- (WebCore::areIdenticalElements): Use Element::hasTagName() instead of matching
- directly to make code a bit clearer.
-
-2012-03-02 Zan Dobersek <zandobersek@gmail.com>
-
- [GTK] Smooth scrolling support
- https://bugs.webkit.org/show_bug.cgi?id=16123
-
- Reviewed by Martin Robinson.
-
- No new tests - no new functionality.
-
- Add the ScrollAnimatorNone class to compilation and enable
- the smooth scrolling feature by default at compilation time.
-
- * GNUmakefile.am:
- * GNUmakefile.list.am:
-
-2012-03-02 Philippe Normand <pnormand@igalia.com>
-
- [GStreamer] media/media-can-play-flac-audio.html fails
- https://bugs.webkit.org/show_bug.cgi?id=80124
-
- Reviewed by Martin Robinson.
-
- Handle audio/x-flac in the mimeTypeCache() function so that we
- advertize both audio/flac and audio/x-flac.
-
- No new tests, this is covered already by media/media-can-play-flac-audio.html.
-
- * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
-
-2012-03-02 Pavel Podivilov <podivilov@chromium.org>
-
- Web Inspector: fix fronted compilation.
- https://bugs.webkit.org/show_bug.cgi?id=80154
-
- Reviewed by Yury Semikhatsky.
-
- * inspector/front-end/DebuggerModel.js:
- (WebInspector.DebuggerModel.prototype.scriptForSourceID):
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyLocation):
- * inspector/front-end/ScriptsSearchScope.js:
- (WebInspector.ScriptsSearchResultsPane.prototype.createAnchor):
-
-2012-03-02 Kaustubh Atrawalkar <kaustubh@motorola.com>
-
- Rename DOMURL to URL in the bindings
- https://bugs.webkit.org/show_bug.cgi?id=78214
-
- Reviewed by Kentaro Hara.
-
- No new tests. Interface name change.
-
- * html/DOMURL.idl: Added InterfaceName attribute to DOMURL.
-
-2012-03-02 Roland Steiner <rolandsteiner@chromium.org>
-
- Add :scope pseudo-class
- https://bugs.webkit.org/show_bug.cgi?id=79077
-
- Add :scope pseudo class name & pseudoId
- Add selector check for the new pseudo-class
-
- Reviewed by Antti Koivisto.
-
- Test: fast/css/style-scoped/scope-pseudo.html
-
- * css/CSSSelector.cpp:
- (WebCore::CSSSelector::pseudoId):
- (WebCore::nameToPseudoTypeMap):
- (WebCore::CSSSelector::extractPseudoType):
- * css/CSSSelector.h:
- * css/SelectorChecker.cpp:
- (WebCore::SelectorChecker::checkOneSelector):
-
-2012-03-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
-
- Make parser code not depend on NamedNodeMap
- https://bugs.webkit.org/show_bug.cgi?id=79963
-
- Reviewed by Adam Barth.
-
- Instead of creating Element-less NamedNodeMaps, the parsing code now creates
- AttributeVectors, that are used to fill Element via the parserSetAttributes()
- method. This allows us to remove even more methods from the NamedNodeMap.
-
- The AttributeVector class contains convenience methods that take the attribute's
- QualifiedName as parameter. This class is also used inside ElementAttributeData.
-
- * dom/Attr.h:
- (Attr):
- * dom/Element.cpp:
- (WebCore::Element::getAttribute):
- (WebCore::Element::parserSetAttributes): Now we have to create the attribute
- storage, and fill it (by Vector::swap()) with the passed attributes. Also use an
- early return to reduce indentation.
- (WebCore::Element::insertedIntoDocument):
- (WebCore::Element::removedFromDocument):
- (WebCore::Element::getURLAttribute):
- (WebCore::Element::getNonEmptyURLAttribute):
- * dom/Element.h:
- (Element):
- (WebCore::Element::fastHasAttribute):
- (WebCore::Element::fastGetAttribute):
- (WebCore::Element::hasAttributesWithoutUpdate):
- (WebCore::Element::attributeItem):
- (WebCore::Element::getAttributeItem):
- * dom/ElementAttributeData.cpp:
- (WebCore::AttributeVector::removeAttribute):
- (WebCore):
- * dom/ElementAttributeData.h:
- (AttributeVector):
- (WebCore::AttributeVector::create):
- (WebCore::AttributeVector::attributeItem):
- (WebCore::AttributeVector::AttributeVector):
- (WebCore):
- (WebCore::AttributeVector::getAttributeItem):
- (WebCore::AttributeVector::getAttributeItemIndex):
- (WebCore::AttributeVector::insertAttribute): Boolean parameter isn't necessary
- since all the callers used 'false', indicating that duplicates were not allowed.
- (WebCore::ElementAttributeData::attributeItem):
- (WebCore::ElementAttributeData::getAttributeItem):
- (WebCore::ElementAttributeData::getAttributeItemIndex):
- (ElementAttributeData):
- * dom/NamedNodeMap.cpp:
- (WebCore::NamedNodeMap::getNamedItem):
- (WebCore::NamedNodeMap::setNamedItem):
- (WebCore::NamedNodeMap::removeNamedItem):
- (WebCore::NamedNodeMap::mapsEquivalent):
- * dom/NamedNodeMap.h:
- * html/parser/HTMLConstructionSite.cpp:
- (WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagBeforeHTML):
- (WebCore::HTMLConstructionSite::mergeAttributesFromTokenIntoElement):
- (WebCore::HTMLConstructionSite::insertScriptElement):
- (WebCore::HTMLConstructionSite::createElement):
- (WebCore::HTMLConstructionSite::createHTMLElement):
- (WebCore):
- * html/parser/HTMLToken.h:
- (WebCore::AtomicHTMLToken::AtomicHTMLToken):
- * html/parser/HTMLTreeBuilder.cpp:
- (WebCore::HTMLTreeBuilder::processFakeStartTag):
- (WebCore::HTMLTreeBuilder::attributesForIsindexInput):
- (WebCore):
- * html/parser/HTMLTreeBuilder.h:
- * html/parser/TextDocumentParser.cpp:
- (WebCore::TextDocumentParser::insertFakePreElement):
- * xml/parser/MarkupTokenBase.h:
- (WebCore::AtomicMarkupTokenBase::AtomicMarkupTokenBase):
- (WebCore::AtomicMarkupTokenBase::attributes):
- (WebCore::AtomicMarkupTokenBase::takeAttributes):
- (AtomicMarkupTokenBase):
- (WebCore::::initializeAttributes):
- * xml/parser/XMLToken.h:
- (WebCore::AtomicXMLToken::AtomicXMLToken):
- * xml/parser/XMLTreeBuilder.cpp:
- (WebCore::XMLTreeBuilder::processNamespaces):
- (WebCore::XMLTreeBuilder::processAttributes):
-
-2012-03-02 Yury Semikhatsky <yurys@chromium.org>
-
- Web Inspector: assertion failure in JSMainThreadExecState::instrumentedCall
- https://bugs.webkit.org/show_bug.cgi?id=80152
-
- Extracted common code of JS call instrumentation into instrumentFunctionCall method
- and call it directly where the instrumentation is needed instead of calling
- JSMainThreadExecState::instrumentedCall which works on the main thread only.
-
- Reviewed by Pavel Feldman.
-
- * bindings/js/JSCallbackData.cpp:
- (WebCore::JSCallbackData::invokeCallback):
- * bindings/js/JSEventListener.cpp:
- (WebCore::JSEventListener::handleEvent):
- * bindings/js/JSMainThreadExecState.h:
- (WebCore::JSMainThreadExecState::instrumentFunctionCall):
-
-2012-03-02 Yoshifumi Inoue <yosin@chromium.org>
-
- [Forms] Make order of attribute/method in HTMLTextAreaElement.idl as same as specification
- https://bugs.webkit.org/show_bug.cgi?id=80101
-
- Reviewed by Kent Tamura.
-
- No new tests. No behavior changes.
-
- * html/HTMLTextAreaElement.idl: Reorder attribute/method position.
-
-2012-03-02 Patrick Gansterer <paroga@webkit.org>
-
- Build fix after r109538.
-
- * CMakeLists.txt:
- * Modules/websockets/WebSocketDeflater.cpp:
-
-2012-03-02 Roland Steiner <rolandsteiner@chromium.org>
-
- Scoped stylesheets don't appear to work in Shadow DOM
- https://bugs.webkit.org/show_bug.cgi?id=79549
-
- Make the scope stack in CSSStyleSelector use ContainerNode* instead of Element*.
- Adapt using sites accordingly.
- Push the ShadowRoot to the scope stack in the same way that elements are pushed.
- Fix an issue with removedFromDocument() on destruction.
-
- Reviewed by Antti Koivisto.
-
- Test: fast/css/style-scoped/style-scoped-in-shadow.html
-
- * css/CSSStyleSelector.cpp:
- (RuleSet):
- (WebCore::CSSStyleSelector::CSSStyleSelector):
- (WebCore::CSSStyleSelector::determineScope):
- (WebCore::CSSStyleSelector::ruleSetForScope):
- (WebCore::CSSStyleSelector::appendAuthorStylesheets):
- (WebCore::CSSStyleSelector::setupScopeStack):
- (WebCore::CSSStyleSelector::pushScope):
- (WebCore):
- (WebCore::CSSStyleSelector::popScope):
- (WebCore::CSSStyleSelector::pushParentElement):
- (WebCore::CSSStyleSelector::popParentElement):
- (WebCore::CSSStyleSelector::pushParentShadowRoot):
- (WebCore::CSSStyleSelector::popParentShadowRoot):
- (WebCore::CSSStyleSelector::matchScopedAuthorRules):
- (WebCore::CSSStyleSelector::collectMatchingRulesForList):
- * css/CSSStyleSelector.h:
- (CSSStyleSelector):
- (WebCore::CSSStyleSelector::pushScope):
- (WebCore::CSSStyleSelector::popScope):
- (WebCore::CSSStyleSelector::MatchOptions::MatchOptions):
- (MatchOptions):
- (WebCore::CSSStyleSelector::scopeStackIsConsistent):
- (WebCore::CSSStyleSelector::ScopeStackFrame::ScopeStackFrame):
- (ScopeStackFrame):
- * css/SelectorChecker.h:
- (SelectorCheckingContext):
- * dom/Element.cpp:
- (WebCore::StyleSelectorParentPusher::push):
- (WebCore::StyleSelectorParentPusher::~StyleSelectorParentPusher):
- (WebCore::Element::beginParsingChildren):
- (WebCore::Element::finishParsingChildren):
- * dom/ShadowRoot.cpp:
- (WebCore::ShadowRoot::attach):
- (WebCore):
- * dom/ShadowRoot.h:
- (ShadowRoot):
- * dom/ShadowTree.cpp:
- (WebCore::ShadowTree::recalcShadowTreeStyle):
- * html/HTMLStyleElement.cpp:
- (WebCore::HTMLStyleElement::removedFromDocument):
-
-2012-03-02 Yoshifumi Inoue <yosin@chromium.org>
-
- [Forms] Make order of attribute/method in HTMLSelectElement.idl as same as specification
- https://bugs.webkit.org/show_bug.cgi?id=80097
-
- Reviewed by Kent Tamura.
-
- No new tests. No behavior changes.
-
- * html/HTMLSelectElement.idl: Reorder attribute/method position.
-
-2012-03-02 Pavel Podivilov <podivilov@chromium.org>
-
- Web Inspector: limit RawSourceCode usages to DebuggerPresentationModel.
- https://bugs.webkit.org/show_bug.cgi?id=80146
-
- Reviewed by Vsevolod Vlasov.
-
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel.prototype.uiLocationToRawLocation):
- (WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyLocation):
- (WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyRawLocation):
- * inspector/front-end/ObjectPopoverHelper.js:
- (WebInspector.ObjectPopoverHelper.prototype._showObjectPopover.showObjectPopover.):
- (WebInspector.ObjectPopoverHelper.prototype._showObjectPopover):
- * inspector/front-end/ScriptsSearchScope.js:
- (WebInspector.ScriptsSearchResultsPane.prototype.createAnchor):
-
-2012-03-02 Pavel Podivilov <podivilov@chromium.org>
-
- Web Inspector: update execution line using LiveLocation.
- https://bugs.webkit.org/show_bug.cgi?id=80143
-
- Reviewed by Vsevolod Vlasov.
-
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel.prototype._uiSourceCodeListChanged):
- (WebInspector.DebuggerPresentationModel.prototype._debuggerResumed):
- (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame.updateExecutionLine):
- (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
-
-2012-03-02 Leo Yang <leo.yang@torchmobile.com.cn>
-
- [BlackBerry] Build fix for LocalizedStringsBlackBerry.cpp
- https://bugs.webkit.org/show_bug.cgi?id=80099
-
- Unreviewed build fix.
-
- * platform/blackberry/LocalizedStringsBlackBerry.cpp:
-
-2012-03-02 Allan Sandfeld Jensen <allan.jensen@nokia.com>
-
- Fix build on AppleWebKit after 109548.
-
- * WebCore.exp.in:
-
-2012-03-02 Yoshifumi Inoue <yosin@chromium.org>
-
- [Forms] Make order of attribute/method in HTMLOptionElement.idl as same as specification
- https://bugs.webkit.org/show_bug.cgi?id=80095
-
- Reviewed by Kentaro Hara.
-
- No new tests. No behavior changes.
-
- * html/HTMLOptionElement.idl: Reorder attribute/method position.
-
-2012-03-02 Adam Barth <abarth@webkit.org>
-
- WorkerContext shouldn't know about IndexedDB
- https://bugs.webkit.org/show_bug.cgi?id=80094
-
- Reviewed by Kentaro Hara.
-
- There are still a couple IndexedDB stragglers we should clean up in
- WebCore proper. This patch moves some IndexedDB logic from
- WorkerContext into the indexeddb module.
-
- In the process of writing this patch, I noticed that some IndexedDB
- files were missing from various build systems, so I added them. I
- suspect that means IndexedDB is only enabled by default on Chromium.
-
- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * Modules/indexeddb/WorkerContextIndexedDatabase.cpp: Added.
- (WebCore):
- (WebCore::WorkerContextIndexedDatabase::WorkerContextIndexedDatabase):
- (WebCore::WorkerContextIndexedDatabase::~WorkerContextIndexedDatabase):
- (WebCore::WorkerContextIndexedDatabase::from):
- (WebCore::WorkerContextIndexedDatabase::webkitIndexedDB):
- * Modules/indexeddb/WorkerContextIndexedDatabase.h: Added.
- (WebCore):
- (WorkerContextIndexedDatabase):
- * Modules/indexeddb/WorkerContextIndexedDatabase.idl: Added.
- * Target.pri:
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * workers/WorkerContext.cpp:
- (WebCore):
- * workers/WorkerContext.h:
- (WebCore):
- (WorkerContext):
- * workers/WorkerContext.idl:
-
-2012-03-02 Simon Hausmann <simon.hausmann@nokia.com>
-
- [Qt] Compile WebCore without QtWidgets
- https://bugs.webkit.org/show_bug.cgi?id=80141
-
- Reviewed by Tor Arne Vestbø.
-
- * Target.pri: Don't add widgets to QT.
- * WebCore.pri: Use QT += opengl only with Qt 4, because it has an implicit QtWidgets
- dependency. With Qt 5 all necessary OpenGL API is part of QtGui (with a QOpenGL* prefix).
-
-2012-03-02 Yoshifumi Inoue <yosin@chromium.org>
-
- [Forms] Make order of attribute/method in HTMLFormElement.idl as same as specification
- https://bugs.webkit.org/show_bug.cgi?id=80093
-
- Reviewed by Kentaro Hara.
-
- No new tests. No behavior changes
-
- * html/HTMLFormElement.idl: Reorder attribute/method position.
-
-2012-03-02 Yoshifumi Inoue <yosin@chromium.org>
-
- [Forms] Make order of attribute/method in HTMLButtonElement.idl as same as specification
- https://bugs.webkit.org/show_bug.cgi?id=80091
-
- Reviewed by Kentaro Hara.
-
- No new tests. No behavior changes.
-
- * html/HTMLButtonElement.idl: Reorder attribute/method position.
-
-2012-03-02 Allan Sandfeld Jensen <allan.jensen@nokia.com>
-
- Suspend/Resume API for pausing timers and animations.
- https://bugs.webkit.org/show_bug.cgi?id=76063
-
- Reviewed by Kenneth Rohde Christiansen.
-
- * dom/ActiveDOMObject.h:
- New ReasonForSuspension: PageWillBePaused.
- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::suspend): Handle new ReasonForSuspension.
- * page/Frame.cpp:
- (WebCore::Frame::Frame):
- (WebCore::Frame::setDocument):
- (WebCore::Frame::suspendActiveDOMObjectsAndAnimations):
- (WebCore::Frame::resumeActiveDOMObjectsAndAnimations):
- * page/Frame.h:
- (WebCore::Frame::activeDOMObjectsAndAnimationsSuspended):
- Frame now maintains a state of suspending animation and ActiveDOMObjects,
- which is inherited to all child-frames.
- * page/Page.cpp:
- (WebCore::Page::suspendActiveDOMObjectsAndAnimations):
- (WebCore::Page::resumeActiveDOMObjectsAndAnimations):
- * page/Page.h:
- Functions for suspending and resuming active DOM objects and animations in all frames.
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::willRenderImage):
- WillRenderImage now checks for suspension. This causes animated images to pause
- together with all other types of animations.
-
-2012-03-02 Yoshifumi Inoue <yosin@chromium.org>
-
- [Forms] Make order of attribute/method in HTMLFieldSetElement.idl as same as specification
- https://bugs.webkit.org/show_bug.cgi?id=80092
-
- Reviewed by Kentaro Hara.
-
- No new tests. No behavior changes.
-
- * html/HTMLFieldSetElement.idl: Reorder attribute/method position.
-
-2012-03-02 Antti Koivisto <antti@apple.com>
-
- possible regression: r104060 maybe causing crashes
- https://bugs.webkit.org/show_bug.cgi?id=75676
-
- Rubber-stamped by Simon Hausmann.
-
- Remove the speculative fix (the problem was elsewhere, http://trac.webkit.org/changeset/104845).
-
- Also remove the debugging code added for this bug.
-
- * dom/Document.cpp:
- (WebCore::Document::Document):
- (WebCore::Document::clearStyleSelector):
- (WebCore::Document::updateActiveStylesheets):
- * dom/Document.h:
- (Document):
-
-2012-03-01 Alexander Pavlov <apavlov@chromium.org>
-
- Web Inspector: Implement suggestions in Watch Expressions
- https://bugs.webkit.org/show_bug.cgi?id=79912
-
- Drive-by: make subproperties in ObjectPropertySections editable
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView):
- (WebInspector.ConsoleView.prototype.completionsForTextPrompt):
- * inspector/front-end/DatabaseQueryView.js:
- * inspector/front-end/ObjectPropertiesSection.js:
- (WebInspector.ObjectPropertyTreeElement.prototype.onpopulate.callback):
- (WebInspector.ObjectPropertyTreeElement.prototype.onpopulate):
- (WebInspector.ObjectPropertyTreeElement.prototype.ondblclick):
- (WebInspector.ObjectPropertyTreeElement.prototype.renderPromptAsBlock):
- (WebInspector.ObjectPropertyTreeElement.prototype.elementAndValueToEdit):
- (WebInspector.ObjectPropertyTreeElement.prototype.startEditing.blurListener):
- (WebInspector.ObjectPropertyTreeElement.prototype.startEditing):
- (WebInspector.ObjectPropertyTreeElement.prototype.editingEnded):
- (WebInspector.ObjectPropertyTreeElement.prototype.editingCancelled):
- (WebInspector.ObjectPropertyTreeElement.prototype.editingCommitted):
- (WebInspector.ObjectPropertyTreeElement.prototype._promptKeyDown):
- (WebInspector.ObjectPropertyPrompt):
- * inspector/front-end/StylesSidebarPane.js:
- * inspector/front-end/TextPrompt.js:
- (WebInspector.TextPrompt.prototype.complete):
- * inspector/front-end/WatchExpressionsSidebarPane.js:
- (WebInspector.WatchExpressionTreeElement.prototype.renderPromptAsBlock):
- (WebInspector.WatchExpressionTreeElement.prototype.elementAndValueToEdit):
- (WebInspector.WatchExpressionTreeElement.prototype.editingCancelled):
- * inspector/front-end/inspector.css:
- (.watch-expressions > li.editing-sub-part .text-prompt):
-
-2012-03-02 Antti Koivisto <antti@apple.com>
-
- REGRESSION (r104060): Page contents not painted if inserting a new stylesheet and temporary body node
- https://bugs.webkit.org/show_bug.cgi?id=76590
-
- Reviewed by Maciej Stachowiak.
-
- Test: fast/css/pending-stylesheet-repaint.html
-
- If there has been a style recalc with a pending stylesheet, the forced repaint will need to be triggered even
- if the stylesheet doesn't affect the rendering. Otherwise we may end up never painting at all.
-
- * dom/Document.cpp:
- (WebCore::Document::styleSelectorChanged):
-
-2012-03-02 Simon Hausmann <simon.hausmann@nokia.com>
-
- [Qt] Move QStyle theming code out of WebCore into WebKit1
- https://bugs.webkit.org/show_bug.cgi?id=80128
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Moved QStyle dependant code into WebKit1, where it's okay to depend on
- QtWidgets/QStyle. Added factory hooks into RenderThemeQt to allow changing
- the default "mobile" style to QStyle on start-up.
-
- * Target.pri:
- * platform/qt/RenderThemeQt.cpp:
- (WebCore):
- (WebCore::RenderThemeQt::setCustomTheme):
- (WebCore::RenderThemeQt::customScrollbarTheme):
- (WebCore::createTheme):
- (WebCore::RenderTheme::themeForPage):
- (WebCore::RenderThemeQt::extraDefaultStyleSheet):
- * platform/qt/RenderThemeQt.h:
- (WebCore):
- (RenderThemeQt):
- * platform/qt/RenderThemeQtMobile.cpp:
- * platform/qt/ScrollbarThemeQt.cpp:
- (WebCore::ScrollbarTheme::nativeTheme):
-
-2012-03-02 Luke Macpherson <macpherson@chromium.org>
-
- Handle CSSPropertyWebkitColumnRuleStyle in CSSStyleApplyProperty.
- https://bugs.webkit.org/show_bug.cgi?id=80085
-
- Reviewed by Eric Seidel.
-
- No new tests / refactoring only.
-
- * css/CSSStyleApplyProperty.cpp:
- (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::collectMatchingRulesForList):
-
-2012-03-02 Yury Semikhatsky <yurys@chromium.org>
-
- Web Inspector: enable Timeline panel for workers
- https://bugs.webkit.org/show_bug.cgi?id=80130
-
- Enabled Timeline panel for worker inspector. Refactored
- JS function calls instrumentation to work for both
- worker contexts and documents.
-
- Reviewed by Pavel Feldman.
-
- * bindings/js/JSCallbackData.cpp:
- (WebCore::JSCallbackData::invokeCallback):
- * bindings/js/JSEventListener.cpp:
- (WebCore::JSEventListener::handleEvent):
- * bindings/js/JSMainThreadExecState.h:
- (WebCore):
- (WebCore::JSMainThreadExecState::instrumentedCall):
- * bindings/js/ScriptState.cpp:
- (WebCore::scriptExecutionContextFromScriptState):
- (WebCore):
- * bindings/js/ScriptState.h:
- (WebCore):
- * bindings/v8/ScriptState.cpp:
- (WebCore::ScriptState::scriptExecutionContext):
- (WebCore):
- (WebCore::scriptExecutionContextFromScriptState):
- * bindings/v8/ScriptState.h:
- (WebCore):
- (ScriptState):
- * bindings/v8/V8Proxy.cpp:
- (WebCore::V8Proxy::instrumentedCallFunction):
- * bindings/v8/V8WorkerContextEventListener.cpp:
- (WebCore::V8WorkerContextEventListener::callListenerFunction):
- * inspector/InjectedScript.cpp:
- (WebCore::InjectedScript::callFunctionWithEvalEnabled):
- * inspector/InspectorInstrumentation.cpp:
- (WebCore):
- (WebCore::InspectorInstrumentation::instrumentingAgentsForNonDocumentContext):
- * inspector/InspectorInstrumentation.h:
- (InspectorInstrumentation):
- (WebCore::InspectorInstrumentation::willCallFunction):
- (WebCore):
- (WebCore::InspectorInstrumentation::instrumentingAgentsForContext):
- * inspector/WorkerInspectorController.cpp:
- (WebCore::WorkerInspectorController::WorkerInspectorController):
- (WebCore::WorkerInspectorController::connectFrontend):
- (WebCore::WorkerInspectorController::disconnectFrontend):
- (WebCore::WorkerInspectorController::restoreInspectorStateFromCookie):
- * inspector/WorkerInspectorController.h:
- (WebCore):
- (WorkerInspectorController):
- * inspector/front-end/inspector.js:
- (WebInspector._createPanels):
-
-2012-03-02 Kenichi Ishibashi <bashi@chromium.org>
-
- Adding WebSocket per-frame DEFLATE extension
- https://bugs.webkit.org/show_bug.cgi?id=77522
-
- Add WebSocketDeflateFramer class which handles deflate-frame extension.
- This class encapsulates WebSocketDeflater and WebSocketInflater classes,
- which depend on zlib, so that WebSocketChannel is not necessary to aware
- zlib dependency.
-
- Reviewed by Kent Tamura.
-
- Tests: http/tests/websocket/tests/hybi/compressed-control-frame.html
- http/tests/websocket/tests/hybi/deflate-frame-comp-bit-onoff.html
- http/tests/websocket/tests/hybi/deflate-frame-invalid-parameter.html
- http/tests/websocket/tests/hybi/deflate-frame-parameter.html
-
- * CMakeLists.txt: Added WebSocketDeflateFramer.(cpp|h)
- * GNUmakefile.list.am: Ditto.
- * Target.pri: Ditto.
- * WebCore.gypi: Ditto.
- * WebCore.gyp/WebCore.gyp: Added zlib dependency.
- * WebCore.vcproj/WebCore.vcproj: Added WebSocketDeflateFramer.(cpp|h)
- * WebCore.xcodeproj/project.pbxproj: Ditto.
- * websockets/WebSocket.cpp:
- (WebCore::WebSocket::didConnect): Set m_extensions.
- * websockets/WebSocketChannel.cpp:
- (WebCore::WebSocketChannel::connect): Add deflate-frame extension processor to WebSocketHanshake if deflate can use.
- (WebCore::WebSocketChannel::fail): Call m_deflateFramer.didFail().
- (WebCore::WebSocketChannel::processFrame): Decompress frames if needed.
- (WebCore::WebSocketChannel::sendFrame): Compress frames if possible.
- * websockets/WebSocketChannel.h:
- * websockets/WebSocketDeflateFramer.cpp: Added.
- (WebCore):
- (WebSocketExtensionDeflateFrame):
- (WebCore::WebSocketExtensionDeflateFrame::create):
- (WebCore::WebSocketExtensionDeflateFrame::~WebSocketExtensionDeflateFrame):
- (WebCore::WebSocketExtensionDeflateFrame::WebSocketExtensionDeflateFrame):
- (WebCore::WebSocketExtensionDeflateFrame::handshakeString):
- (WebCore::WebSocketExtensionDeflateFrame::processResponse):
- (WebCore::DeflateResultHolder::DeflateResultHolder):
- (WebCore::DeflateResultHolder::~DeflateResultHolder):
- (WebCore::DeflateResultHolder::fail):
- (WebCore::InflateResultHolder::InflateResultHolder):
- (WebCore::InflateResultHolder::~InflateResultHolder):
- (WebCore::InflateResultHolder::fail):
- (WebCore::WebSocketDeflateFramer::WebSocketDeflateFramer):
- (WebCore::WebSocketDeflateFramer::createExtensionProcessor):
- (WebCore::WebSocketDeflateFramer::canDeflate):
- (WebCore::WebSocketDeflateFramer::enableDeflate):
- (WebCore::WebSocketDeflateFramer::deflate):
- (WebCore::WebSocketDeflateFramer::resetDeflateContext):
- (WebCore::WebSocketDeflateFramer::inflate):
- (WebCore::WebSocketDeflateFramer::resetInflateContext):
- (WebCore::WebSocketDeflateFramer::didFail):
- * websockets/WebSocketDeflateFramer.h: Added.
- (WebCore):
- (DeflateResultHolder):
- (WebCore::DeflateResultHolder::succeeded):
- (WebCore::DeflateResultHolder::failureReason):
- (InflateResultHolder):
- (WebCore::InflateResultHolder::succeeded):
- (WebCore::InflateResultHolder::failureReason):
- (WebSocketDeflateFramer):
- (WebCore::WebSocketDeflateFramer::enabled):
-
-2012-03-01 Vsevolod Vlasov <vsevik@chromium.org>
-
- Web Inspector: [InspectorIndexedDB] Show meaningful description for object store items values.
- https://bugs.webkit.org/show_bug.cgi?id=79691
-
- Reviewed by Pavel Feldman.
-
- * inspector/front-end/IndexedDBModel.js:
- (WebInspector.IndexedDBModel.idbKeyFromKey):
- * inspector/front-end/IndexedDBViews.js:
- (WebInspector.IDBDataView.prototype._updateData.callback):
- (WebInspector.IDBDataView.prototype._updateData):
- (WebInspector.IDBDataGridNode.prototype.createCell):
- (WebInspector.IDBDataGridNode.prototype._formatValue):
- * inspector/front-end/ObjectPropertiesSection.js:
- (WebInspector.ObjectPropertyTreeElement.prototype.onpopulate.callback):
- (WebInspector.ObjectPropertyTreeElement.prototype.onpopulate):
- * inspector/front-end/RemoteObject.js:
- (WebInspector.LocalJSONObject.prototype.get subtype):
- * inspector/front-end/indexedDBViews.css:
- (.indexed-db-data-view .data-grid .data-container td):
- (.indexed-db-data-view .data-grid .data-container td.primaryKey-column):
- (.indexed-db-data-view .data-grid .data-container td.primaryKey-column div.primitive-value):
- (.indexed-db-data-view .data-grid .data-container td .section .header .title):
-
-2012-03-02 Wei James <james.wei@intel.com>
-
- [Chromium] Layout Test webaudio/audiobuffersource-channels.html is failing
- https://bugs.webkit.org/show_bug.cgi?id=79765
-
- Reviewed by Chris Rogers.
-
- * webaudio/AudioBuffer.cpp:
- (WebCore::AudioBuffer::create):
- * webaudio/AudioBufferSourceNode.cpp:
- (WebCore::AudioBufferSourceNode::setBuffer):
- * webaudio/AudioContext.h:
- (WebCore):
- (AudioContext):
- (WebCore::AudioContext::maxNumberOfChannels):
- * webaudio/AudioNodeOutput.cpp:
- (WebCore::AudioNodeOutput::AudioNodeOutput):
- (WebCore::AudioNodeOutput::setNumberOfChannels):
-
-2012-03-02 Luke Macpherson <macpherson@chromium.org>
-
- Handle CSSPropertyWebkitRegionBreakAfter, CSSPropertyWebkitRegionBreakBefore and CSSPropertyWebkitRegionBreakInside in CSSStyleApplyProperty.
- https://bugs.webkit.org/show_bug.cgi?id=80066
-
- Reviewed by Eric Seidel.
-
- No new tests / refactoring only.
-
- * css/CSSStyleApplyProperty.cpp:
- (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::collectMatchingRulesForList):
-
-2012-03-02 Pablo Flouret <pablof@motorola.com>
-
- Implement DefaultParagraphSeparator execCommand, to let authors choose the default block element
- https://bugs.webkit.org/show_bug.cgi?id=59961
-
- Reviewed by Ryosuke Niwa.
-
- http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#the-defaultparagraphseparator-command
-
- Test: editing/execCommand/default-paragraph-separator.html
-
- * editing/Editor.cpp:
- (WebCore::Editor::Editor):
- * editing/Editor.h:
- (WebCore::Editor::defaultParagraphSeparator):
- (WebCore::Editor::setDefaultParagraphSeparator):
- (Editor):
- * editing/EditorCommand.cpp:
- (WebCore::executeDefaultParagraphSeparator):
- (WebCore):
- (WebCore::valueDefaultParagraphSeparator):
- (WebCore::createCommandMap):
- * editing/htmlediting.cpp:
- (WebCore::createDefaultParagraphElement):
-
- * html/HTMLParagraphElement.cpp:
- (WebCore::HTMLParagraphElement::create):
- (WebCore):
- * html/HTMLParagraphElement.h:
- (HTMLParagraphElement):
- Added create(Document*) method that defaults to pTag as the QualifiedName.
-
-2012-03-02 Kenneth Russell <kbr@google.com>
-
- [chromium] Fix errors in LayerRendererChromium cleanup
- https://bugs.webkit.org/show_bug.cgi?id=80064
-
- Reviewed by James Robinson.
-
- Tested manually by forcing lost context while rendering Flash on
- Mac OS in a Debug build.
-
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::LayerRendererChromium::cleanupSharedObjects):
-
-2012-03-02 Andy Estes <aestes@apple.com>
-
- Fix errors found when building the Mac port with ICONDATABASE disabled.
- https://bugs.webkit.org/show_bug.cgi?id=80059
-
- Reviewed by Brady Eidson.
-
- * WebCore.exp.in: Only export IconDatabase symbols when the feature is
- enabled.
- * loader/icon/IconDatabase.h:
- (WebCore::IconDatabase::create): WebKit calls this static method, so it
- should be defined on the stub class.
- (WebCore::IconDatabase::allowDatabaseCleanup): Ditto.
- (WebCore::IconDatabase::checkIntegrityBeforeOpening): Ditto.
-
-2012-03-02 Luke Macpherson <macpherson@chromium.org>
-
- Handle CSSPropertyWebkitColorCorrection in CSSStyleApplyProperty.
- https://bugs.webkit.org/show_bug.cgi?id=80056
-
- Reviewed by Eric Seidel.
-
- No new tests / refactoring only.
-
- * css/CSSStyleApplyProperty.cpp:
- (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::collectMatchingRulesForList):
-
-2012-03-02 John Bauman <jbauman@chromium.org>
-
- [chromium] Send didCommitAndDrawFrame after swap
- https://bugs.webkit.org/show_bug.cgi?id=80052
-
- Reviewed by James Robinson.
-
- Sending didCommitAndDrawFrame before the swap was causing plugins to
- redraw themselves between compositing and the swap, which reduces
- opportunities for optimization.
-
- * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
- (WebCore::CCSingleThreadProxy::compositeAndReadback):
- (WebCore::CCSingleThreadProxy::compositeImmediately):
- (WebCore::CCSingleThreadProxy::doComposite):
- (WebCore):
- (WebCore::CCSingleThreadProxy::didSwapFrame):
- * platform/graphics/chromium/cc/CCSingleThreadProxy.h:
- (CCSingleThreadProxy):
-
-2012-03-02 Raymond Toy <rtoy@google.com>
-
- AudioParam needs tests for the parameter automation routines.
- https://bugs.webkit.org/show_bug.cgi?id=77666
-
- Reviewed by Chris Rogers.
-
- Tests: webaudio/audioparam-linearRampToValueAtTime.html
- webaudio/audioparam-setTargetValueAtTime.html
- webaudio/audioparam-setValueAtTime.html
- webaudio/audioparam-setValueCurveAtTime.html
-
- * webaudio/AudioParamTimeline.cpp:
- (WebCore::AudioParamTimeline::valuesForTimeRangeImpl): Round the
- curveIndex to fix timing issue in setValueCurveAtTime.
-
-2012-03-01 Pablo Flouret <pablof@motorola.com>
-
- Fix code generators to correctly guard header declarations that have a [Conditional] attribute.
- https://bugs.webkit.org/show_bug.cgi?id=79375
-
- Reviewed by Kentaro Hara.
-
- In most cases code generators weren't checking the Conditional attribute
- when generating code in headers for function/attribute/constants, they
- were just guarding against the Conditional for the whole interface.
-
- * bindings/scripts/CodeGeneratorCPP.pm:
- (GenerateHeader):
- * bindings/scripts/CodeGeneratorJS.pm:
- (GenerateHeader):
- * bindings/scripts/CodeGeneratorObjC.pm:
- (GenerateHeader):
- * bindings/scripts/CodeGeneratorV8.pm:
- (GenerateHeader):
- * bindings/scripts/test/CPP/WebDOMTestInterface.h:
- * bindings/scripts/test/CPP/WebDOMTestObj.h:
- * bindings/scripts/test/JS/JSTestInterface.h:
- (JSTestInterface):
- (WebCore):
- * bindings/scripts/test/JS/JSTestObj.h:
- (WebCore):
- * bindings/scripts/test/ObjC/DOMTestInterface.h:
- * bindings/scripts/test/ObjC/DOMTestObj.h:
-
-
-2012-03-01 Dana Jansens <danakj@chromium.org>
-
- [chromium] Make opaque paint tracker aware of SkCanvas layers
- https://bugs.webkit.org/show_bug.cgi?id=79145
-
- Reviewed by Stephen White.
-
- The current opaque paint tracker ignored SkCanvas layers entirely. But
- SkCanvas layers can be used to apply things like alpha. So we make it
- know about layers, and apply any clipping and SkPaint objects for layers
- when tracking a paint.
-
- Image clipping is done via a layer, so we can now also remove the
- special-case code around image clipping in PlatformContextSkia and
- OpaqueRegionSkia.
-
- Unit test: PlatformContextSkiaTest.contextTransparencyLayerTest
-
- Test: compositing/culling/clear-fixed-iframe.html
-
- * platform/graphics/skia/OpaqueRegionSkia.cpp:
- (WebCore::OpaqueRegionSkia::didDrawRect):
- (WebCore::OpaqueRegionSkia::didDrawPath):
- (WebCore::OpaqueRegionSkia::didDrawPoints):
- (WebCore::OpaqueRegionSkia::didDrawBounded):
- (WebCore::OpaqueRegionSkia::didDraw):
- (WebCore):
- * platform/graphics/skia/OpaqueRegionSkia.h:
- (OpaqueRegionSkia):
- * platform/graphics/skia/PlatformContextSkia.cpp:
- * platform/graphics/skia/PlatformContextSkia.h:
- (PlatformContextSkia):
-
-2012-03-02 Kent Tamura <tkent@chromium.org>
-
- Add HTML-capable popup API to ChromeClient
- https://bugs.webkit.org/show_bug.cgi?id=79078
-
- Reviewed by Dimitri Glazkov.
-
- This API will be used to implement a calendar picker of <input type=date>.
- The code is enclosed with ENABLE_PAGE_POPUP, and doesn't change any
- behavior for now.
-
- * page/ChromeClient.h: Added declarations of openPagePopup() and closePagePopup().
- * loader/EmptyClients.h:
- (EmptyChromeClient): Add empty implementations of new ChromeClient functions.
- * page/PagePopup.h: Added.
- (PagePopup): Define an empty interface
- * page/PagePopupClient.h: Added.
- (PagePopupClient): Define an interface to provide various information to HTMLPopup.
-
-2012-03-01 Hironori Bono <hbono@chromium.org>
-
- Render overflow controls of an RTL element to its left-side.
- https://bugs.webkit.org/show_bug.cgi?id=54623
-
- This change adds a new flag WTF_USE_RTL_SCROLLBAR and render the
- vertical scrollbars and resizers of RTL elements to their left side if
- this new flag is enabled.
-
- Reviewed by Ryosuke Niwa.
-
- Test: platform/chromium/fast/events/rtl-scrollbar.html
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::addOverflowFromPositionedObjects): Move child elements right.
- (WebCore::RenderBlock::determineLogicalLeftPositionForChild): ditto.
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::overflowClipRect): Move the content rectangle right.
- * rendering/RenderLayer.cpp:
- (WebCore::cornerStart): Added a function that calculates the X position of a resizer.
- (WebCore):
- (WebCore::cornerRect): Use cornerStart to move a resizer.
- (WebCore::RenderLayer::verticalScrollbarStart): Added a function that calculates
- the X position of a vertical scrollbar.
- (WebCore::RenderLayer::horizontalScrollbarStart): Added a function that calculates
- the X position of a horizontal scrollbar.
- (WebCore::RenderLayer::scrollbarOffset): Render a vertical scrollbar to the left side
- and move a horizontal scrollbar right by the width of the vertical scrollbar.
- (WebCore::RenderLayer::invalidateScrollbarRect): ditto.
- (WebCore::RenderLayer::positionOverflowControls): ditto.
- (WebCore::RenderLayer::hitTestOverflowControls): ditto.
- * rendering/RenderLayer.h:
- (RenderLayer):
- * rendering/style/RenderStyle.h: Added shouldPlaceBlockDirectionScrollbarOnLogicalLeft,
- which returns if we need to move a left scrollbar to its right side.
-
-2012-03-01 Kent Tamura <tkent@chromium.org>
-
- REGRESSION(90089): Input type='search' text shakes up and down when the style is changed.
- https://bugs.webkit.org/show_bug.cgi?id=79445
-
- Reviewed by Dimitri Glazkov.
-
- If the inner text height of a search field is smaller than the
- content box height of the <input>, the height of the container
- element should be same as the content box height.
-
- When the element style is changed, the RenderStyle height of the
- container element is cleared, but the renderer height of the
- container element remains. We had a bug that layout() didn't set
- the RenderStyle height in a case that the renderer height was the
- desired height. It shrunk the renderer height as the result of
- layout for children.
-
- Tests: fast/forms/search/search-shaking-text.html
-
- * rendering/RenderTextControlSingleLine.cpp:
- (WebCore::RenderTextControlSingleLine::layout):
- Always set the RenderStyle height explicitly.
-
-2012-03-01 Kentaro Hara <haraken@chromium.org>
-
- Unreviewed, rebaselined run-bindings-tests results.
-
- * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
- * bindings/scripts/test/CPP/WebDOMTestObj.h:
-
-2012-03-01 Dan Bernstein <mitz@apple.com>
-
- <rdar://problem/10942540> REGRESSION (r108956): Safari Webpage Preview Fetcher crashes in WebCore::localizedString() when using a WebKit nightly build
- https://bugs.webkit.org/show_bug.cgi?id=80034
-
- Reviewed by Benjamin Poulain.
-
- Safari Webpage Preview Fetcher can’t access the WebCore framework when launched from a WebKit
- nightly build. After r108956, this causes it to crash.
-
- * platform/mac/LocalizedStringsMac.cpp:
- (WebCore::localizedString): Added a null-check for the value returned from
- CFBundleGetBundleWithIdentifier(CFSTR("com.apple.WebCore")).
-
-2012-03-01 Jason Liu <jason.liu@torchmobile.com.cn>
-
- [BlackBerry]Array of Cookies in HTTP request header are not in order.
- https://bugs.webkit.org/show_bug.cgi?id=79870
-
- Std::sort and HashMap are not stable. So cookies with the same creating
- time sometimes are sent disorder.
- Change std::sort with std::stable-sort.
- We don't need using HashMap to save so few cookies for one domain.
- It is a wast of time to create HashMap, too.
- So change it with vector.
-
- Reviewed by George Staikos.
-
- Test: http/tests/cookies/resources/setArraycookies.php
-
- * platform/blackberry/CookieManager.cpp:
- (WebCore::cookieSorter):
- (WebCore::CookieManager::getRawCookies):
- (WebCore::CookieManager::checkAndTreatCookie):
- (WebCore::CookieManager::addCookieToMap):
- * platform/blackberry/CookieManager.h:
- * platform/blackberry/CookieMap.cpp:
- (WebCore::CookieMap::addOrReplaceCookie):
- (WebCore::CookieMap::removeCookieAtIndex):
- (WebCore::CookieMap::removeCookie):
- (WebCore):
- (WebCore::CookieMap::getAllCookies):
- (WebCore::CookieMap::updateOldestCookie):
- (WebCore::CookieMap::deleteAllCookiesAndDomains):
- * platform/blackberry/CookieMap.h:
- (WebCore::CookieMap::count):
- (CookieMap):
-
-2012-03-01 Adam Barth <abarth@webkit.org>
-
- Move WebCore/storage/IDB* files into WebCore/Modules/indexeddb
- https://bugs.webkit.org/show_bug.cgi?id=80071
-
- Reviewed by Kentaro Hara.
-
- Now that we've removed all the ENABLE(INDEXED_DATABASE) ifdefs from
- WebCore proper, we can move IndexedDB into its own module.
-
- * CMakeLists.txt:
- * DerivedSources.make:
- * DerivedSources.pri:
- * GNUmakefile.list.am:
- * Modules/indexeddb/IDBAny.cpp: Copied from Source/WebCore/storage/IDBAny.cpp.
- * Modules/indexeddb/IDBAny.h: Copied from Source/WebCore/storage/IDBAny.h.
- * Modules/indexeddb/IDBAny.idl: Copied from Source/WebCore/storage/IDBAny.idl.
- * Modules/indexeddb/IDBBackingStore.h: Copied from Source/WebCore/storage/IDBBackingStore.h.
- * Modules/indexeddb/IDBCallbacks.h: Copied from Source/WebCore/storage/IDBCallbacks.h.
- * Modules/indexeddb/IDBCursor.cpp: Copied from Source/WebCore/storage/IDBCursor.cpp.
- * Modules/indexeddb/IDBCursor.h: Copied from Source/WebCore/storage/IDBCursor.h.
- * Modules/indexeddb/IDBCursor.idl: Copied from Source/WebCore/storage/IDBCursor.idl.
- * Modules/indexeddb/IDBCursorBackendImpl.cpp: Copied from Source/WebCore/storage/IDBCursorBackendImpl.cpp.
- * Modules/indexeddb/IDBCursorBackendImpl.h: Copied from Source/WebCore/storage/IDBCursorBackendImpl.h.
- * Modules/indexeddb/IDBCursorBackendInterface.h: Copied from Source/WebCore/storage/IDBCursorBackendInterface.h.
- * Modules/indexeddb/IDBCursorWithValue.cpp: Copied from Source/WebCore/storage/IDBCursorWithValue.cpp.
- * Modules/indexeddb/IDBCursorWithValue.h: Copied from Source/WebCore/storage/IDBCursorWithValue.h.
- * Modules/indexeddb/IDBCursorWithValue.idl: Copied from Source/WebCore/storage/IDBCursorWithValue.idl.
- * Modules/indexeddb/IDBDatabase.cpp: Copied from Source/WebCore/storage/IDBDatabase.cpp.
- * Modules/indexeddb/IDBDatabase.h: Copied from Source/WebCore/storage/IDBDatabase.h.
- * Modules/indexeddb/IDBDatabase.idl: Copied from Source/WebCore/storage/IDBDatabase.idl.
- * Modules/indexeddb/IDBDatabaseBackendImpl.cpp: Copied from Source/WebCore/storage/IDBDatabaseBackendImpl.cpp.
- * Modules/indexeddb/IDBDatabaseBackendImpl.h: Copied from Source/WebCore/storage/IDBDatabaseBackendImpl.h.
- * Modules/indexeddb/IDBDatabaseBackendInterface.h: Copied from Source/WebCore/storage/IDBDatabaseBackendInterface.h.
- * Modules/indexeddb/IDBDatabaseCallbacks.h: Copied from Source/WebCore/storage/IDBDatabaseCallbacks.h.
- * Modules/indexeddb/IDBDatabaseCallbacksImpl.cpp: Copied from Source/WebCore/storage/IDBDatabaseCallbacksImpl.cpp.
- * Modules/indexeddb/IDBDatabaseCallbacksImpl.h: Copied from Source/WebCore/storage/IDBDatabaseCallbacksImpl.h.
- * Modules/indexeddb/IDBDatabaseError.h: Copied from Source/WebCore/storage/IDBDatabaseError.h.
- * Modules/indexeddb/IDBDatabaseError.idl: Copied from Source/WebCore/storage/IDBDatabaseError.idl.
- * Modules/indexeddb/IDBDatabaseException.cpp: Copied from Source/WebCore/storage/IDBDatabaseException.cpp.
- * Modules/indexeddb/IDBDatabaseException.h: Copied from Source/WebCore/storage/IDBDatabaseException.h.
- * Modules/indexeddb/IDBDatabaseException.idl: Copied from Source/WebCore/storage/IDBDatabaseException.idl.
- * Modules/indexeddb/IDBEventDispatcher.cpp: Copied from Source/WebCore/storage/IDBEventDispatcher.cpp.
- * Modules/indexeddb/IDBEventDispatcher.h: Copied from Source/WebCore/storage/IDBEventDispatcher.h.
- * Modules/indexeddb/IDBFactory.cpp: Copied from Source/WebCore/storage/IDBFactory.cpp.
- * Modules/indexeddb/IDBFactory.h: Copied from Source/WebCore/storage/IDBFactory.h.
- * Modules/indexeddb/IDBFactory.idl: Copied from Source/WebCore/storage/IDBFactory.idl.
- * Modules/indexeddb/IDBFactoryBackendImpl.cpp: Copied from Source/WebCore/storage/IDBFactoryBackendImpl.cpp.
- * Modules/indexeddb/IDBFactoryBackendImpl.h: Copied from Source/WebCore/storage/IDBFactoryBackendImpl.h.
- * Modules/indexeddb/IDBFactoryBackendInterface.cpp: Copied from Source/WebCore/storage/IDBFactoryBackendInterface.cpp.
- * Modules/indexeddb/IDBFactoryBackendInterface.h: Copied from Source/WebCore/storage/IDBFactoryBackendInterface.h.
- * Modules/indexeddb/IDBIndex.cpp: Copied from Source/WebCore/storage/IDBIndex.cpp.
- * Modules/indexeddb/IDBIndex.h: Copied from Source/WebCore/storage/IDBIndex.h.
- * Modules/indexeddb/IDBIndex.idl: Copied from Source/WebCore/storage/IDBIndex.idl.
- * Modules/indexeddb/IDBIndexBackendImpl.cpp: Copied from Source/WebCore/storage/IDBIndexBackendImpl.cpp.
- * Modules/indexeddb/IDBIndexBackendImpl.h: Copied from Source/WebCore/storage/IDBIndexBackendImpl.h.
- * Modules/indexeddb/IDBIndexBackendInterface.h: Copied from Source/WebCore/storage/IDBIndexBackendInterface.h.
- * Modules/indexeddb/IDBKey.cpp: Copied from Source/WebCore/storage/IDBKey.cpp.
- * Modules/indexeddb/IDBKey.h: Copied from Source/WebCore/storage/IDBKey.h.
- * Modules/indexeddb/IDBKey.idl: Copied from Source/WebCore/storage/IDBKey.idl.
- * Modules/indexeddb/IDBKeyPath.cpp: Copied from Source/WebCore/storage/IDBKeyPath.cpp.
- * Modules/indexeddb/IDBKeyPath.h: Copied from Source/WebCore/storage/IDBKeyPath.h.
- * Modules/indexeddb/IDBKeyPathBackendImpl.cpp: Copied from Source/WebCore/storage/IDBKeyPathBackendImpl.cpp.
- * Modules/indexeddb/IDBKeyPathBackendImpl.h: Copied from Source/WebCore/storage/IDBKeyPathBackendImpl.h.
- * Modules/indexeddb/IDBKeyRange.cpp: Copied from Source/WebCore/storage/IDBKeyRange.cpp.
- * Modules/indexeddb/IDBKeyRange.h: Copied from Source/WebCore/storage/IDBKeyRange.h.
- * Modules/indexeddb/IDBKeyRange.idl: Copied from Source/WebCore/storage/IDBKeyRange.idl.
- * Modules/indexeddb/IDBLevelDBBackingStore.cpp: Copied from Source/WebCore/storage/IDBLevelDBBackingStore.cpp.
- * Modules/indexeddb/IDBLevelDBBackingStore.h: Copied from Source/WebCore/storage/IDBLevelDBBackingStore.h.
- * Modules/indexeddb/IDBLevelDBCoding.cpp: Copied from Source/WebCore/storage/IDBLevelDBCoding.cpp.
- * Modules/indexeddb/IDBLevelDBCoding.h: Copied from Source/WebCore/storage/IDBLevelDBCoding.h.
- * Modules/indexeddb/IDBObjectStore.cpp: Copied from Source/WebCore/storage/IDBObjectStore.cpp.
- * Modules/indexeddb/IDBObjectStore.h: Copied from Source/WebCore/storage/IDBObjectStore.h.
- * Modules/indexeddb/IDBObjectStore.idl: Copied from Source/WebCore/storage/IDBObjectStore.idl.
- * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp: Copied from Source/WebCore/storage/IDBObjectStoreBackendImpl.cpp.
- * Modules/indexeddb/IDBObjectStoreBackendImpl.h: Copied from Source/WebCore/storage/IDBObjectStoreBackendImpl.h.
- * Modules/indexeddb/IDBObjectStoreBackendInterface.h: Copied from Source/WebCore/storage/IDBObjectStoreBackendInterface.h.
- * Modules/indexeddb/IDBPendingTransactionMonitor.cpp: Copied from Source/WebCore/storage/IDBPendingTransactionMonitor.cpp.
- * Modules/indexeddb/IDBPendingTransactionMonitor.h: Copied from Source/WebCore/storage/IDBPendingTransactionMonitor.h.
- * Modules/indexeddb/IDBRequest.cpp: Copied from Source/WebCore/storage/IDBRequest.cpp.
- * Modules/indexeddb/IDBRequest.h: Copied from Source/WebCore/storage/IDBRequest.h.
- * Modules/indexeddb/IDBRequest.idl: Copied from Source/WebCore/storage/IDBRequest.idl.
- * Modules/indexeddb/IDBTracing.h: Copied from Source/WebCore/storage/IDBTracing.h.
- * Modules/indexeddb/IDBTransaction.cpp: Copied from Source/WebCore/storage/IDBTransaction.cpp.
- * Modules/indexeddb/IDBTransaction.h: Copied from Source/WebCore/storage/IDBTransaction.h.
- * Modules/indexeddb/IDBTransaction.idl: Copied from Source/WebCore/storage/IDBTransaction.idl.
- * Modules/indexeddb/IDBTransactionBackendImpl.cpp: Copied from Source/WebCore/storage/IDBTransactionBackendImpl.cpp.
- * Modules/indexeddb/IDBTransactionBackendImpl.h: Copied from Source/WebCore/storage/IDBTransactionBackendImpl.h.
- * Modules/indexeddb/IDBTransactionBackendInterface.h: Copied from Source/WebCore/storage/IDBTransactionBackendInterface.h.
- * Modules/indexeddb/IDBTransactionCallbacks.h: Copied from Source/WebCore/storage/IDBTransactionCallbacks.h.
- * Modules/indexeddb/IDBTransactionCoordinator.cpp: Copied from Source/WebCore/storage/IDBTransactionCoordinator.cpp.
- * Modules/indexeddb/IDBTransactionCoordinator.h: Copied from Source/WebCore/storage/IDBTransactionCoordinator.h.
- * Modules/indexeddb/IDBVersionChangeEvent.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp.
- * Modules/indexeddb/IDBVersionChangeEvent.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
- * Modules/indexeddb/IDBVersionChangeEvent.idl: Copied from Source/WebCore/storage/IDBVersionChangeEvent.idl.
- * Modules/indexeddb/IDBVersionChangeRequest.cpp: Copied from Source/WebCore/storage/IDBVersionChangeRequest.cpp.
- * Modules/indexeddb/IDBVersionChangeRequest.h: Copied from Source/WebCore/storage/IDBVersionChangeRequest.h.
- * Modules/indexeddb/IDBVersionChangeRequest.idl: Copied from Source/WebCore/storage/IDBVersionChangeRequest.idl.
- * Target.pri:
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * storage/IDBAny.cpp: Removed.
- * storage/IDBAny.h: Removed.
- * storage/IDBAny.idl: Removed.
- * storage/IDBBackingStore.h: Removed.
- * storage/IDBCallbacks.h: Removed.
- * storage/IDBCursor.cpp: Removed.
- * storage/IDBCursor.h: Removed.
- * storage/IDBCursor.idl: Removed.
- * storage/IDBCursorBackendImpl.cpp: Removed.
- * storage/IDBCursorBackendImpl.h: Removed.
- * storage/IDBCursorBackendInterface.h: Removed.
- * storage/IDBCursorWithValue.cpp: Removed.
- * storage/IDBCursorWithValue.h: Removed.
- * storage/IDBCursorWithValue.idl: Removed.
- * storage/IDBDatabase.cpp: Removed.
- * storage/IDBDatabase.h: Removed.
- * storage/IDBDatabase.idl: Removed.
- * storage/IDBDatabaseBackendImpl.cpp: Removed.
- * storage/IDBDatabaseBackendImpl.h: Removed.
- * storage/IDBDatabaseBackendInterface.h: Removed.
- * storage/IDBDatabaseCallbacks.h: Removed.
- * storage/IDBDatabaseCallbacksImpl.cpp: Removed.
- * storage/IDBDatabaseCallbacksImpl.h: Removed.
- * storage/IDBDatabaseError.h: Removed.
- * storage/IDBDatabaseError.idl: Removed.
- * storage/IDBDatabaseException.cpp: Removed.
- * storage/IDBDatabaseException.h: Removed.
- * storage/IDBDatabaseException.idl: Removed.
- * storage/IDBEventDispatcher.cpp: Removed.
- * storage/IDBEventDispatcher.h: Removed.
- * storage/IDBFactory.cpp: Removed.
- * storage/IDBFactory.h: Removed.
- * storage/IDBFactory.idl: Removed.
- * storage/IDBFactoryBackendImpl.cpp: Removed.
- * storage/IDBFactoryBackendImpl.h: Removed.
- * storage/IDBFactoryBackendInterface.cpp: Removed.
- * storage/IDBFactoryBackendInterface.h: Removed.
- * storage/IDBIndex.cpp: Removed.
- * storage/IDBIndex.h: Removed.
- * storage/IDBIndex.idl: Removed.
- * storage/IDBIndexBackendImpl.cpp: Removed.
- * storage/IDBIndexBackendImpl.h: Removed.
- * storage/IDBIndexBackendInterface.h: Removed.
- * storage/IDBKey.cpp: Removed.
- * storage/IDBKey.h: Removed.
- * storage/IDBKey.idl: Removed.
- * storage/IDBKeyPath.cpp: Removed.
- * storage/IDBKeyPath.h: Removed.
- * storage/IDBKeyPathBackendImpl.cpp: Removed.
- * storage/IDBKeyPathBackendImpl.h: Removed.
- * storage/IDBKeyRange.cpp: Removed.
- * storage/IDBKeyRange.h: Removed.
- * storage/IDBKeyRange.idl: Removed.
- * storage/IDBLevelDBBackingStore.cpp: Removed.
- * storage/IDBLevelDBBackingStore.h: Removed.
- * storage/IDBLevelDBCoding.cpp: Removed.
- * storage/IDBLevelDBCoding.h: Removed.
- * storage/IDBObjectStore.cpp: Removed.
- * storage/IDBObjectStore.h: Removed.
- * storage/IDBObjectStore.idl: Removed.
- * storage/IDBObjectStoreBackendImpl.cpp: Removed.
- * storage/IDBObjectStoreBackendImpl.h: Removed.
- * storage/IDBObjectStoreBackendInterface.h: Removed.
- * storage/IDBPendingTransactionMonitor.cpp: Removed.
- * storage/IDBPendingTransactionMonitor.h: Removed.
- * storage/IDBRequest.cpp: Removed.
- * storage/IDBRequest.h: Removed.
- * storage/IDBRequest.idl: Removed.
- * storage/IDBTracing.h: Removed.
- * storage/IDBTransaction.cpp: Removed.
- * storage/IDBTransaction.h: Removed.
- * storage/IDBTransaction.idl: Removed.
- * storage/IDBTransactionBackendImpl.cpp: Removed.
- * storage/IDBTransactionBackendImpl.h: Removed.
- * storage/IDBTransactionBackendInterface.h: Removed.
- * storage/IDBTransactionCallbacks.h: Removed.
- * storage/IDBTransactionCoordinator.cpp: Removed.
- * storage/IDBTransactionCoordinator.h: Removed.
- * storage/IDBVersionChangeEvent.cpp: Removed.
- * storage/IDBVersionChangeEvent.h: Removed.
- * storage/IDBVersionChangeEvent.idl: Removed.
- * storage/IDBVersionChangeRequest.cpp: Removed.
- * storage/IDBVersionChangeRequest.h: Removed.
- * storage/IDBVersionChangeRequest.idl: Removed.
-
-2012-03-01 Luke Macpherson <macpherson@chromium.org>
-
- Handle CSSPropertyWebkitBorderFit in CSSStyleApplyProperty.
- https://bugs.webkit.org/show_bug.cgi?id=79998
-
- Reviewed by Andreas Kling.
-
- No new tests / refactoring only.
-
- * css/CSSStyleApplyProperty.cpp:
- (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::collectMatchingRulesForList):
-
-2012-03-01 Anders Carlsson <andersca@apple.com>
-
- Crash when doing repeated double-tap-to-zoom gesture on apple startpage
- https://bugs.webkit.org/show_bug.cgi?id=80081
- <rdar://problem/10966391>
-
- Reviewed by Sam Weinig.
-
- Setting the contents scale on the tile cache layer was creating a WebTileCacheLayer presentation layer copy with a null _tileCache.
-
- Implement -[WebTileCacheLayer actionForKey:] and have it always return nil so we'll avoid implicit animations, and thus creating presentation layers.
-
- * platform/graphics/ca/mac/WebTileCacheLayer.mm:
- (-[WebTileCacheLayer initWithLayer:]):
- Implement this and assert that it's never reached. We should never create presentation layers since we don't animate this layer.
-
- (-[WebTileCacheLayer actionForKey:]):
- Implement this and always return nil.
-
-2012-03-01 Hajime Morrita <morrita@chromium.org>
-
- Custom scrollbars do not support transparency
- https://bugs.webkit.org/show_bug.cgi?id=50547
-
- Reviewed by James Robinson.
-
- RenderScrollbar, which is used even for outermost frame when
- -webkit-scrollbar is specified, assumes that its background is
- painted by the enclosing container. But there is no such container
- for outermost frame. This causes visual glitches when the
- scrollbar has transparency.
-
- This change clears background region for custom
- outermostscrollbars to erase such glitches.
-
- Test: fast/frames/transparent-scrollbar.html
-
- * page/FrameView.cpp:
- (WebCore::FrameView::paintScrollbar): The background is cleared here.
- (WebCore):
- * page/FrameView.h:
- (FrameView):
- * platform/ScrollView.cpp:
- (WebCore::ScrollView::paintScrollbar): Added to hook in FrameView
- (WebCore):
- (WebCore::ScrollView::paintScrollbars):
- * platform/ScrollView.h:
- (ScrollView):
-
-2012-03-01 Kent Tamura <tkent@chromium.org>
-
- REGRESSION(r106388): Form state is restored to a wrong document.
- https://bugs.webkit.org/show_bug.cgi?id=79206
-
- Reviewed by Brady Eidson.
-
- In some cases, the URL of the current HistoryItem and the document
- URL are mismatched.
- A form state should be restored only if the document was loaded
- with a HistoryItem and the document is not loaded as a
- redirection.
-
- Test: fast/loader/form-state-restore-with-locked-back-forward-list.html
-
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::checkCompleted): Clear m_requestedHistoryItem.
- (WebCore::FrameLoader::loadItem):
- Save the requested HistoryItem for didLoadWithLodItem().
- * loader/FrameLoader.h:
- (WebCore::FrameLoader::requestedHistoryItem):
- Added. Accessor for m_requestedHistoryItem.
- * loader/HistoryController.cpp:
- (WebCore::HistoryController::restoreDocumentState):
- Restore a form state only if the current document was loaded with
- FrameLoader::loadItem() and not redirection.
-
-2012-03-01 Xingnan Wang <xingnan.wang@intel.com>
-
- SSE optimization for vsvesq and vmaxmgv
- https://bugs.webkit.org/show_bug.cgi?id=77950
-
- Reviewed by Chris Rogers.
-
- Achieved the performance of 3.7x on vsvesq and 4.1x on vmaxmgv.
-
- * platform/audio/VectorMath.cpp:
- (WebCore::VectorMath::vsvesq):
- (WebCore::VectorMath::vmaxmgv):
-
-2012-03-01 Luke Macpherson <macpherson@chromium.org>
-
- Handle CSSPropertyBoxSizing in CSSStyleApplyProperty.
- https://bugs.webkit.org/show_bug.cgi?id=80001
-
- Reviewed by Andreas Kling.
-
- No new tests / refactoring only.
-
- * css/CSSStyleApplyProperty.cpp:
- (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::collectMatchingRulesForList):
-
-2012-03-01 James Robinson <jamesr@chromium.org>
-
- [chromium] LayerChromium::contentChanged is redundant with setNeedsDisplay
- https://bugs.webkit.org/show_bug.cgi?id=79708
-
- Reviewed by Adrienne Walker.
-
- Some layer types need special handling when they receive damage. WebGL layers need to know if their texture is
- updated for clear-on-swap behavior and both WebGL and canvas 2d layers have rate limiting mechanisms tied to
- receiving invalidations. This mechanism was implemented by LayerChromium::contentChanged(), but this is
- redundant with setNeedsDisplay().
-
- Covered by existing tests.
-
- * platform/graphics/chromium/Canvas2DLayerChromium.cpp:
- (WebCore::Canvas2DLayerChromium::setNeedsDisplay):
- * platform/graphics/chromium/Canvas2DLayerChromium.h:
- (Canvas2DLayerChromium):
- * platform/graphics/chromium/GraphicsLayerChromium.cpp:
- (WebCore::GraphicsLayerChromium::setContentsNeedsDisplay):
- * platform/graphics/chromium/LayerChromium.cpp:
- (WebCore::LayerChromium::setNeedsDisplay):
- * platform/graphics/chromium/LayerChromium.h:
- (LayerChromium):
- * platform/graphics/chromium/VideoLayerChromium.cpp:
- (WebCore::VideoLayerChromium::setNeedsDisplay):
- * platform/graphics/chromium/VideoLayerChromium.h:
- (VideoLayerChromium):
- * platform/graphics/chromium/WebGLLayerChromium.cpp:
- (WebCore::WebGLLayerChromium::setNeedsDisplay):
- * platform/graphics/chromium/WebGLLayerChromium.h:
- (WebGLLayerChromium):
-
-2012-03-01 James Robinson <jamesr@chromium.org>
-
- [chromium] Rename LayerChromium::name to debugName to be more consistent with other debug properties, make threadsafe
- https://bugs.webkit.org/show_bug.cgi?id=79723
-
- Reviewed by Adrienne Walker.
-
- * platform/graphics/chromium/GraphicsLayerChromium.cpp:
- (WebCore::GraphicsLayerChromium::updateNames):
- * platform/graphics/chromium/LayerChromium.cpp:
- (WebCore::LayerChromium::pushPropertiesTo):
- (WebCore::LayerChromium::setDebugName):
- (WebCore):
- * platform/graphics/chromium/LayerChromium.h:
- (LayerChromium):
- * platform/graphics/chromium/cc/CCLayerImpl.cpp:
- (WebCore::CCLayerImpl::dumpLayer):
- * platform/graphics/chromium/cc/CCLayerImpl.h:
- (CCLayerImpl):
- (WebCore::CCLayerImpl::setDebugName):
- (WebCore::CCLayerImpl::debugName):
- * platform/graphics/chromium/cc/CCRenderSurface.cpp:
- (WebCore::CCRenderSurface::name):
-
-2012-03-01 Adam Barth <abarth@webkit.org>
-
- Remove last ENABLED(INDEXED_DATABASE) ifdef from WebCore proper
- https://bugs.webkit.org/show_bug.cgi?id=80061
-
- Reviewed by Dimitri Glazkov.
-
- This patch removes the last ENABLED(INDEXED_DATABASE) ifdef from
- WebCore proper by moving the backend factory out of PageGroup and into
- a supplement for PageGroup. After this patch, we're ready to move the
- IDB code into Modules.
-
- * Modules/indexeddb/DOMWindowIndexedDatabase.cpp:
- (WebCore::DOMWindowIndexedDatabase::webkitIndexedDB):
- * WebCore.gypi:
- * inspector/InspectorIndexedDBAgent.cpp:
- (WebCore::assertIDBFactory):
- * page/PageGroup.cpp:
- (WebCore):
- * page/PageGroup.h:
- (PageGroup):
-
-2012-03-01 Dale Curtis <dalecurtis@chromium.org>
-
- Remove deprecated FFmpeg build directories.
- https://bugs.webkit.org/show_bug.cgi?id=79282
-
- We've switched the layout of the FFmpeg repo in Chrome and these paths
- are no longer needed or valid.
-
- Reviewed by Dirk Pranke.
-
- No new tests. It either compiles or not.
-
- * WebCore.gyp/WebCore.gyp:
-
-2012-03-01 Xingnan Wang <xingnan.wang@intel.com>
-
- Enable IPP for Biquad filter
- https://bugs.webkit.org/show_bug.cgi?id=77509
-
- Reviewed by Chris Rogers.
-
- Use IIR filter in IPP and improve ~27% performance in linux.
- Changes are covered by current tests.
-
- * platform/audio/Biquad.cpp:
- (WebCore::Biquad::Biquad):
- (WebCore::Biquad::~Biquad):
- (WebCore):
- (WebCore::Biquad::process):
- (WebCore::Biquad::reset):
- (WebCore::Biquad::setLowpassParams):
- (WebCore::Biquad::setHighpassParams):
- (WebCore::Biquad::setNormalizedCoefficients):
- (WebCore::Biquad::setZeroPolePairs):
- * platform/audio/Biquad.h:
- (Biquad):
-
-2012-03-01 Peter Kotwicz <pkotwicz@google.com>
-
- Decouple scrollbar painting from Scrollbar object
- https://bugs.webkit.org/show_bug.cgi?id=78028
-
- Reviewed by James Robinson.
-
- Added interface ScrollbarThemeClient which Scrollbar inherits from.
- This allows painting via ScrollbarTheme with a proxy to a Scrollbar
- object.
-
- * GNUmakefile.list.am:
- * Target.pri:
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * platform/Scrollbar.cpp:
- (WebCore::Scrollbar::scrollbarOverlayStyle):
- (WebCore):
- (WebCore::Scrollbar::getTickmarks):
- (WebCore::Scrollbar::isScrollableAreaActive):
- (WebCore::Scrollbar::isScrollViewScrollbar):
- (WebCore::Scrollbar::setFrameRect):
- * platform/Scrollbar.h:
- (Scrollbar):
- (WebCore::Scrollbar::x):
- (WebCore::Scrollbar::y):
- (WebCore::Scrollbar::width):
- (WebCore::Scrollbar::height):
- (WebCore::Scrollbar::size):
- (WebCore::Scrollbar::location):
- (WebCore::Scrollbar::parent):
- (WebCore::Scrollbar::root):
- (WebCore::Scrollbar::frameRect):
- (WebCore::Scrollbar::invalidate):
- (WebCore::Scrollbar::convertFromContainingWindow):
- (WebCore::Scrollbar::isCustomScrollbar):
- (WebCore::Scrollbar::orientation):
- (WebCore::Scrollbar::value):
- (WebCore::Scrollbar::currentPos):
- (WebCore::Scrollbar::visibleSize):
- (WebCore::Scrollbar::totalSize):
- (WebCore::Scrollbar::maximum):
- (WebCore::Scrollbar::controlSize):
- (WebCore::Scrollbar::lineStep):
- (WebCore::Scrollbar::pageStep):
- (WebCore::Scrollbar::pressedPart):
- (WebCore::Scrollbar::hoveredPart):
- (WebCore::Scrollbar::styleChanged):
- (WebCore::Scrollbar::enabled):
- * platform/ScrollbarTheme.h:
- (WebCore):
- (WebCore::ScrollbarTheme::updateEnabledState):
- (WebCore::ScrollbarTheme::paint):
- (WebCore::ScrollbarTheme::hitTest):
- (WebCore::ScrollbarTheme::updateScrollbarOverlayStyle):
- (WebCore::ScrollbarTheme::invalidateParts):
- (WebCore::ScrollbarTheme::invalidatePart):
- (WebCore::ScrollbarTheme::shouldCenterOnThumb):
- (WebCore::ScrollbarTheme::shouldSnapBackToDragOrigin):
- (WebCore::ScrollbarTheme::shouldDragDocumentInsteadOfThumb):
- (WebCore::ScrollbarTheme::thumbPosition):
- (WebCore::ScrollbarTheme::thumbLength):
- (WebCore::ScrollbarTheme::trackPosition):
- (WebCore::ScrollbarTheme::trackLength):
- (WebCore::ScrollbarTheme::registerScrollbar):
- (WebCore::ScrollbarTheme::unregisterScrollbar):
- * platform/ScrollbarThemeClient.h: Added.
- (WebCore):
- (ScrollbarThemeClient):
- (WebCore::ScrollbarThemeClient::~ScrollbarThemeClient):
- * platform/ScrollbarThemeComposite.cpp:
- (WebCore::ScrollbarThemeComposite::paint):
- (WebCore::ScrollbarThemeComposite::hitTest):
- (WebCore::ScrollbarThemeComposite::invalidatePart):
- (WebCore::ScrollbarThemeComposite::splitTrack):
- (WebCore::usedTotalSize):
- (WebCore::ScrollbarThemeComposite::thumbPosition):
- (WebCore::ScrollbarThemeComposite::thumbLength):
- (WebCore::ScrollbarThemeComposite::minimumThumbLength):
- (WebCore::ScrollbarThemeComposite::trackPosition):
- (WebCore::ScrollbarThemeComposite::trackLength):
- * platform/ScrollbarThemeComposite.h:
- (ScrollbarThemeComposite):
- (WebCore::ScrollbarThemeComposite::paintScrollbarBackground):
- (WebCore::ScrollbarThemeComposite::paintTrackBackground):
- (WebCore::ScrollbarThemeComposite::paintTrackPiece):
- (WebCore::ScrollbarThemeComposite::paintButton):
- (WebCore::ScrollbarThemeComposite::paintThumb):
- (WebCore::ScrollbarThemeComposite::paintTickmarks):
- (WebCore::ScrollbarThemeComposite::constrainTrackRectToTrackPieces):
- * platform/chromium/ScrollbarThemeChromium.cpp:
- (WebCore::ScrollbarThemeChromium::hasThumb):
- (WebCore::ScrollbarThemeChromium::backButtonRect):
- (WebCore::ScrollbarThemeChromium::forwardButtonRect):
- (WebCore::ScrollbarThemeChromium::trackRect):
- (WebCore::ScrollbarThemeChromium::paintTrackBackground):
- (WebCore::ScrollbarThemeChromium::paintTickmarks):
- * platform/chromium/ScrollbarThemeChromium.h:
- (WebCore::ScrollbarThemeChromium::hasButtons):
- (ScrollbarThemeChromium):
- * platform/chromium/ScrollbarThemeChromiumAndroid.cpp:
- (WebCore::ScrollbarThemeChromiumAndroid::paintScrollbarBackground):
- (WebCore::ScrollbarThemeChromiumAndroid::shouldCenterOnThumb):
- (WebCore::ScrollbarThemeChromiumAndroid::buttonSize):
- (WebCore::ScrollbarThemeChromiumAndroid::minimumThumbLength):
- * platform/chromium/ScrollbarThemeChromiumAndroid.h:
- (ScrollbarThemeChromiumAndroid):
- * platform/chromium/ScrollbarThemeChromiumLinux.cpp:
- (WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece):
- (WebCore::ScrollbarThemeChromiumLinux::paintButton):
- (WebCore::ScrollbarThemeChromiumLinux::paintThumb):
- (WebCore::ScrollbarThemeChromiumLinux::shouldCenterOnThumb):
- (WebCore::ScrollbarThemeChromiumLinux::buttonSize):
- (WebCore::ScrollbarThemeChromiumLinux::minimumThumbLength):
- * platform/chromium/ScrollbarThemeChromiumLinux.h:
- (ScrollbarThemeChromiumLinux):
- * platform/chromium/ScrollbarThemeChromiumMac.h:
- (ScrollbarThemeChromiumMac):
- * platform/chromium/ScrollbarThemeChromiumMac.mm:
- (WebCore::scrollbarStateToThemeState):
- (WebCore::ScrollbarThemeChromiumMac::paint):
- (WebCore::ScrollbarThemeChromiumMac::paintGivenTickmarks):
- * platform/chromium/ScrollbarThemeChromiumWin.cpp:
- (WebCore::ScrollbarThemeChromiumWin::shouldSnapBackToDragOrigin):
- (WebCore::ScrollbarThemeChromiumWin::paintTrackPiece):
- (WebCore::ScrollbarThemeChromiumWin::paintButton):
- (WebCore::ScrollbarThemeChromiumWin::paintThumb):
- (WebCore::ScrollbarThemeChromiumWin::getThemeState):
- (WebCore::ScrollbarThemeChromiumWin::getThemeArrowState):
- (WebCore::ScrollbarThemeChromiumWin::getClassicThemeState):
- (WebCore::ScrollbarThemeChromiumWin::shouldCenterOnThumb):
- (WebCore::ScrollbarThemeChromiumWin::buttonSize):
- * platform/chromium/ScrollbarThemeChromiumWin.h:
- (ScrollbarThemeChromiumWin):
- * platform/efl/ScrollbarThemeEfl.cpp:
- (WebCore::ScrollbarThemeEfl::registerScrollbar):
- (WebCore::ScrollbarThemeEfl::unregisterScrollbar):
- * platform/efl/ScrollbarThemeEfl.h:
- (ScrollbarThemeEfl):
- * platform/gtk/ScrollbarThemeGtk.cpp:
- (WebCore):
- (WebCore::ScrollbarThemeGtk::registerScrollbar):
- (WebCore::ScrollbarThemeGtk::unregisterScrollbar):
- (WebCore::ScrollbarThemeGtk::updateScrollbarsFrameThickness):
- (WebCore::ScrollbarThemeGtk::hasThumb):
- (WebCore::ScrollbarThemeGtk::backButtonRect):
- (WebCore::ScrollbarThemeGtk::forwardButtonRect):
- (WebCore::ScrollbarThemeGtk::trackRect):
- (WebCore::ScrollbarThemeGtk::thumbRect):
- (WebCore::ScrollbarThemeGtk::paint):
- (WebCore::ScrollbarThemeGtk::shouldCenterOnThumb):
- (WebCore::ScrollbarThemeGtk::buttonSize):
- (WebCore::ScrollbarThemeGtk::minimumThumbLength):
- * platform/gtk/ScrollbarThemeGtk.h:
- (WebCore::ScrollbarThemeGtk::hasButtons):
- (ScrollbarThemeGtk):
- * platform/gtk/ScrollbarThemeGtk2.cpp:
- (WebCore::getWidgetForScrollbar):
- (WebCore::ScrollbarThemeGtk::paintTrackBackground):
- (WebCore::ScrollbarThemeGtk::paintScrollbarBackground):
- (WebCore::ScrollbarThemeGtk::paintThumb):
- (WebCore::ScrollbarThemeGtk::paintButton):
- * platform/gtk/ScrollbarThemeGtk3.cpp:
- (WebCore::ScrollbarThemeGtk::paintTrackBackground):
- (WebCore::ScrollbarThemeGtk::paintScrollbarBackground):
- (WebCore::ScrollbarThemeGtk::paintThumb):
- (WebCore::ScrollbarThemeGtk::paintButton):
- * platform/mac/ScrollbarThemeMac.h:
- (ScrollbarThemeMac):
- * platform/mac/ScrollbarThemeMac.mm:
- (WebCore):
- (WebCore::ScrollbarThemeMac::registerScrollbar):
- (WebCore::ScrollbarThemeMac::unregisterScrollbar):
- (WebCore::ScrollbarThemeMac::setNewPainterForScrollbar):
- (WebCore::ScrollbarThemeMac::painterForScrollbar):
- (WebCore::ScrollbarThemeMac::updateScrollbarOverlayStyle):
- (WebCore::ScrollbarThemeMac::hasButtons):
- (WebCore::ScrollbarThemeMac::hasThumb):
- (WebCore::ScrollbarThemeMac::backButtonRect):
- (WebCore::ScrollbarThemeMac::forwardButtonRect):
- (WebCore::ScrollbarThemeMac::trackRect):
- (WebCore::ScrollbarThemeMac::minimumThumbLength):
- (WebCore::ScrollbarThemeMac::shouldCenterOnThumb):
- (WebCore::ScrollbarThemeMac::shouldDragDocumentInsteadOfThumb):
- (WebCore::ScrollbarThemeMac::updateEnabledState):
- (WebCore::ScrollbarThemeMac::paint):
- * platform/mock/ScrollbarThemeMock.cpp:
- (WebCore::ScrollbarThemeMock::trackRect):
- (WebCore::ScrollbarThemeMock::paintTrackBackground):
- (WebCore::ScrollbarThemeMock::paintThumb):
- * platform/mock/ScrollbarThemeMock.h:
- (WebCore::ScrollbarThemeMock::hasButtons):
- (WebCore::ScrollbarThemeMock::hasThumb):
- (WebCore::ScrollbarThemeMock::backButtonRect):
- (WebCore::ScrollbarThemeMock::forwardButtonRect):
- (ScrollbarThemeMock):
- * platform/qt/ScrollbarThemeQt.cpp:
- (WebCore::styleOptionSlider):
- (WebCore::ScrollbarThemeQt::paint):
- (WebCore::ScrollbarThemeQt::hitTest):
- (WebCore::ScrollbarThemeQt::shouldCenterOnThumb):
- (WebCore::ScrollbarThemeQt::invalidatePart):
- (WebCore::ScrollbarThemeQt::thumbPosition):
- (WebCore::ScrollbarThemeQt::thumbLength):
- (WebCore::ScrollbarThemeQt::trackPosition):
- (WebCore::ScrollbarThemeQt::trackLength):
- * platform/qt/ScrollbarThemeQt.h:
- (ScrollbarThemeQt):
- * platform/win/ScrollbarThemeSafari.cpp:
- (WebCore::ScrollbarThemeSafari::hasButtons):
- (WebCore::ScrollbarThemeSafari::hasThumb):
- (WebCore::ScrollbarThemeSafari::backButtonRect):
- (WebCore::ScrollbarThemeSafari::forwardButtonRect):
- (WebCore::ScrollbarThemeSafari::trackRect):
- (WebCore::ScrollbarThemeSafari::minimumThumbLength):
- (WebCore::ScrollbarThemeSafari::shouldCenterOnThumb):
- (WebCore::ScrollbarThemeSafari::paintTrackBackground):
- (WebCore::ScrollbarThemeSafari::paintButton):
- (WebCore::ScrollbarThemeSafari::paintThumb):
- * platform/win/ScrollbarThemeSafari.h:
- (ScrollbarThemeSafari):
- * platform/win/ScrollbarThemeWin.cpp:
- (WebCore::ScrollbarThemeWin::hasThumb):
- (WebCore::ScrollbarThemeWin::backButtonRect):
- (WebCore::ScrollbarThemeWin::forwardButtonRect):
- (WebCore::ScrollbarThemeWin::trackRect):
- (WebCore::ScrollbarThemeWin::shouldCenterOnThumb):