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

Unified Diff: WebCore/ChangeLog

Side-by-side diff isn't available for this file because of its large size.
Issue 5605003: Merge 73270 - 2010-12-03 Dimitri Glazkov <dglazkov@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « LayoutTests/fast/events/shadow-boundary-crossing-2-expected.txt ('k') | WebCore/dom/EventContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/ChangeLog
===================================================================
--- WebCore/ChangeLog (revision 73270)
+++ WebCore/ChangeLog (working copy)
@@ -1,3 +1,1067 @@
+2010-12-03 Dimitri Glazkov <dglazkov@chromium.org>
+
+ Reviewed by Darin Adler.
+
+ REGRESSION(r72783): DOMActivate fires multiple times from input type=file
+ https://bugs.webkit.org/show_bug.cgi?id=50396
+
+ Test: fast/events/shadow-boundary-crossing-2.html
+
+ * dom/EventContext.cpp: Reverted changes made in r72783.
+ * dom/EventContext.h: Ditto.
+ * dom/Node.cpp:
+ (WebCore::Node::containsIncludingShadowDOM): Added.
+ (WebCore::Node::dispatchGenericEvent): Reverted changes made in r72783.
+ * dom/Node.h: Added decl.
+ * html/HTMLLabelElement.cpp:
+ (WebCore::HTMLLabelElement::defaultEventHandler): Reverted changes made in r72783.
+
+2010-12-03 Patrick Gansterer <paroga@webkit.org>
+
+ Reviewed by Andreas Kling.
+
+ Move StringBrew.cpp into wtf directory
+ https://bugs.webkit.org/show_bug.cgi?id=50058
+
+ * platform/text/brew/StringBrew.cpp: Removed.
+
+2010-12-03 Patrick Gansterer <paroga@webkit.org>
+
+ Reviewed by Andreas Kling.
+
+ Move StringHaiku.cpp into wtf directory
+ https://bugs.webkit.org/show_bug.cgi?id=50057
+
+ * platform/text/haiku/StringHaiku.cpp: Removed.
+
+2010-12-03 Jessie Berlin <jberlin@apple.com>
+
+ Reviewed by Sam Weinig.
+
+ Need a WebKit2 Equivalent of WebSecurityOrigin
+ https://bugs.webkit.org/show_bug.cgi?id=50170
+
+ * WebCore.exp.in:
+ Export the symbol for SecurityOrigin::createFromDatabaseIdentifier.
+
+2010-12-03 Andras Becsi <abecsi@inf.u-szeged.hu>
+
+ Unreviewed build fix after r73254.
+
+ [Qt][V8] Add missing headers to $headerIncludes rather than $implIncludes
+ because headers are needed by the generated .h files.
+
+ No new tests needed.
+
+ * bindings/scripts/CodeGeneratorV8.pm:
+
+2010-12-03 Nikolas Zimmermann <nzimmermann@rim.com>
+
+ Reviewed by Dirk Schulze.
+
+ 1336 files in WebCore rebuild when you touch SVGNames
+ https://bugs.webkit.org/show_bug.cgi?id=42025
+
+ Remove global SVGNames.h dependency, as SVGAnimatedPropertyMacros.h included it.
+ This requires to add the SVGNames.h include to lots of cpp files.
+
+ No functional changes, thus no new tests.
+
+ * css/CSSCursorImageValue.cpp:
+ * css/CSSFontFaceSource.cpp:
+ * dom/Node.cpp:
+ * loader/cache/CachedFont.cpp:
+ * rendering/RenderSVGResourceClipper.cpp:
+ * rendering/RenderSVGResourceFilter.cpp:
+ * rendering/RenderSVGTransformableContainer.cpp:
+ * rendering/RenderSVGViewportContainer.cpp:
+ * rendering/SVGRenderTreeAsText.cpp:
+ * rendering/SVGResources.cpp:
+ * rendering/svg/RenderSVGTextPath.cpp:
+ * rendering/svg/SVGRootInlineBox.cpp:
+ * svg/SVGAnimateElement.cpp:
+ * svg/SVGAnimateMotionElement.cpp:
+ * svg/SVGAnimateTransformElement.cpp:
+ * svg/SVGDefsElement.cpp:
+ * svg/SVGFEBlendElement.cpp:
+ * svg/SVGFEDisplacementMapElement.cpp:
+ * svg/SVGFEMergeElement.cpp:
+ * svg/SVGFEMergeNodeElement.cpp:
+ * svg/SVGFEOffsetElement.cpp:
+ * svg/SVGFETileElement.cpp:
+ * svg/SVGFETurbulenceElement.cpp:
+ * svg/SVGFont.cpp:
+ * svg/SVGGElement.cpp:
+ * svg/SVGImageElement.cpp:
+ * svg/SVGLength.cpp:
+ * svg/SVGMPathElement.cpp:
+ * svg/SVGPathElement.cpp:
+ * svg/SVGPathSegList.cpp:
+ * svg/SVGStyledTransformableElement.cpp:
+ * svg/SVGSymbolElement.cpp:
+ * svg/SVGTextContentElement.cpp:
+ * svg/SVGTextElement.cpp:
+ * svg/SVGTextPathElement.cpp:
+ * svg/SVGUseElement.cpp:
+ * svg/SVGViewSpec.cpp:
+ * svg/animation/SMILTimeContainer.cpp:
+ * svg/properties/SVGAnimatedPropertyMacros.h:
+ * svg/properties/SVGPathSegListPropertyTearOff.cpp:
+
+2010-12-02 Philippe Normand <pnormand@igalia.com>
+
+ Reviewed by Martin Robinson.
+
+ [GStreamer] hasVideo/Audio return false until the pipeline reaches PAUSED
+ https://bugs.webkit.org/show_bug.cgi?id=50382
+
+ Go to PAUSED even if preload is deactivated. In that case don't
+ process the GStreamer state changes until commitLoad() has been
+ called. This patch also fixes hasVideo and hasAudio methods,
+ making them reactive to the playbin2 audio/video tags-changed
+ signals.
+
+ Test: media/controls-without-preload.html
+
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+ (WebCore::mediaPlayerPrivateMessageCallback):
+ (WebCore::mediaPlayerPrivateVideoTagsChangedCallback):
+ (WebCore::mediaPlayerPrivateAudioTagsChangedCallback):
+ (WebCore::mediaPlayerPrivateAudioTagsChangeTimeoutCallback):
+ (WebCore::mediaPlayerPrivateVideoTagsChangeTimeoutCallback):
+ (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
+ (WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer):
+ (WebCore::MediaPlayerPrivateGStreamer::load):
+ (WebCore::MediaPlayerPrivateGStreamer::commitLoad):
+ (WebCore::MediaPlayerPrivateGStreamer::videoTagsChanged):
+ (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVideoTags):
+ (WebCore::MediaPlayerPrivateGStreamer::audioTagsChanged):
+ (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfAudioTags):
+ (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
+ (WebCore::MediaPlayerPrivateGStreamer::hasVideo):
+ (WebCore::MediaPlayerPrivateGStreamer::hasAudio):
+ (WebCore::MediaPlayerPrivateGStreamer::loadDelayed):
+
+2010-12-03 Nikolas Zimmermann <nzimmermann@rim.com>
+
+ Reviewed by Dirk Schulze.
+
+ Finish splitting DECLARE_ANIMATED_PROPERTY* in DECLARE/DEFINE parts for the remaining SVGAnimated* types
+ https://bugs.webkit.org/show_bug.cgi?id=50440
+
+ Continuing the work on bug 42025: Introduce (DECLARE|DEFINE)_ANIMATED_(ANGLE|BOOLEAN|INTEGER|PRESERVEASPECTRATIO|RECT).
+ The animated property declaration lives in the header, the definition in the cpp file, to avoid the dependency on SVGNames.h in all headers.
+
+ No functional changes, thus no new tests.
+
+ * svg/SVGAElement.cpp:
+ * svg/SVGAElement.h:
+ * svg/SVGAnimatedAngle.h:
+ * svg/SVGAnimatedBoolean.h:
+ * svg/SVGAnimatedInteger.h:
+ * svg/SVGAnimatedPreserveAspectRatio.h:
+ * svg/SVGAnimatedRect.h:
+ * svg/SVGAnimationElement.cpp:
+ * svg/SVGAnimationElement.h:
+ (WebCore::SVGAnimationElement::calculateDistance):
+ (WebCore::SVGAnimationElement::animationPath):
+ * svg/SVGCircleElement.cpp:
+ * svg/SVGCircleElement.h:
+ * svg/SVGClipPathElement.cpp:
+ * svg/SVGClipPathElement.h:
+ * svg/SVGCursorElement.cpp:
+ * svg/SVGCursorElement.h:
+ * svg/SVGDefsElement.cpp:
+ * svg/SVGDefsElement.h:
+ * svg/SVGEllipseElement.cpp:
+ * svg/SVGEllipseElement.h:
+ * svg/SVGFEConvolveMatrixElement.cpp:
+ * svg/SVGFEConvolveMatrixElement.h:
+ * svg/SVGFEImageElement.cpp:
+ * svg/SVGFEImageElement.h:
+ * svg/SVGFETurbulenceElement.cpp:
+ * svg/SVGFETurbulenceElement.h:
+ * svg/SVGFilterElement.cpp:
+ * svg/SVGFilterElement.h:
+ * svg/SVGFilterPrimitiveStandardAttributes.h:
+ * svg/SVGFontElement.cpp:
+ (WebCore::SVGFontElement::firstMissingGlyphElement):
+ (WebCore::SVGFontElement::ensureGlyphCache):
+ * svg/SVGFontElement.h:
+ * svg/SVGForeignObjectElement.cpp:
+ * svg/SVGForeignObjectElement.h:
+ * svg/SVGGElement.cpp:
+ * svg/SVGGElement.h:
+ (WebCore::SVGGElement::isShadowTreeContainerElement):
+ (WebCore::SVGGElement::isValid):
+ * svg/SVGGradientElement.cpp:
+ * svg/SVGGradientElement.h:
+ * svg/SVGImageElement.cpp:
+ * svg/SVGImageElement.h:
+ * svg/SVGLineElement.cpp:
+ * svg/SVGLineElement.h:
+ * svg/SVGLinearGradientElement.h:
+ * svg/SVGMPathElement.cpp:
+ * svg/SVGMPathElement.h:
+ * svg/SVGMarkerElement.cpp:
+ * svg/SVGMarkerElement.h:
+ * svg/SVGMaskElement.cpp:
+ * svg/SVGMaskElement.h:
+ * svg/SVGPathElement.cpp:
+ * svg/SVGPathElement.h:
+ * svg/SVGPatternElement.cpp:
+ * svg/SVGPatternElement.h:
+ * svg/SVGPolyElement.cpp:
+ * svg/SVGPolyElement.h:
+ * svg/SVGRadialGradientElement.h:
+ * svg/SVGRectElement.cpp:
+ * svg/SVGRectElement.h:
+ * svg/SVGSVGElement.cpp:
+ (WebCore::SVGSVGElement::contentScriptType):
+ (WebCore::SVGSVGElement::contentStyleType):
+ (WebCore::SVGSVGElement::parseMappedAttribute):
+ * svg/SVGSVGElement.h:
+ * svg/SVGScriptElement.cpp:
+ * svg/SVGScriptElement.h:
+ * svg/SVGSwitchElement.cpp:
+ * svg/SVGSwitchElement.h:
+ (WebCore::SVGSwitchElement::isValid):
+ * svg/SVGSymbolElement.cpp:
+ * svg/SVGSymbolElement.h:
+ (WebCore::SVGSymbolElement::rendererIsNeeded):
+ * svg/SVGTextContentElement.cpp:
+ * svg/SVGTextContentElement.h:
+ * svg/SVGUseElement.cpp:
+ * svg/SVGUseElement.h:
+ * svg/SVGViewElement.cpp:
+ * svg/SVGViewElement.h:
+ (WebCore::SVGViewElement::viewTarget):
+ (WebCore::SVGViewElement::rendererIsNeeded):
+ * svg/SVGViewSpec.cpp:
+ * svg/SVGViewSpec.h:
+ (WebCore::SVGViewSpec::transform):
+ (WebCore::SVGViewSpec::viewTargetString):
+ (WebCore::SVGViewSpec::contextElement):
+ * svg/properties/SVGAnimatedPropertyMacros.h:
+
+2010-12-03 Noel Gordon <noel.gordon@gmail.com>
+
+ Reviewed by Darin Fisher.
+
+ [chromium] PNG encoder leaks memory on png_write_row errors.
+ https://bugs.webkit.org/show_bug.cgi?id=50439
+
+ Move the creation of needed C++ objects before the setjmp() point so
+ those objects have their destructors called if libpng errors invoke
+ the setjmp() return path.
+
+ Other minor cleanup: use the skia bitmap locker class, and remove the
+ PNGDestroyer class - instead directly call png_destroy_write_struct()
+ at each of the encodeImpl() return points.
+
+ No change in behaviour, so no new tests.
+
+ * platform/image-encoders/skia/PNGImageEncoder.cpp:
+ (WebCore::encodeImpl):
+ (WebCore::PNGImageEncoder::encode):
+
+2010-12-02 Philippe Normand <pnormand@igalia.com>
+
+ Reviewed by Eric Carlson.
+
+ Theme not updated when MediaPlayer m_private engine changes
+ https://bugs.webkit.org/show_bug.cgi?id=50228
+
+ Trigger a new rendering of the media element when the private
+ media-player backend is updated.
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::mediaPlayerEngineUpdated):
+ * html/HTMLMediaElement.h:
+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::MediaPlayer):
+ (WebCore::MediaPlayer::load):
+ * platform/graphics/MediaPlayer.h:
+ (WebCore::MediaPlayerClient::mediaPlayerEngineUpdated):
+
+2010-12-03 Yonathan Randolph <yonathan@gmail.com>
+
+ Reviewed by Alexey Proskuryakov.
+
+ XPath lexer misinterprets expression starting with "div".
+ https://bugs.webkit.org/show_bug.cgi?id=50366
+
+ * xml/XPathParser.cpp:
+ * xml/XPathParser.h:
+ (WebCore::XPath::Parser::isOperatorContext): removed (renamed)
+ (WebCore::XPath::Parser::isBinaryOperatorContext): added
+
+2010-12-02 Rob Buis <rwlbuis@gmail.com>
+
+ Reviewed by Alexey Proskuryakov.
+
+ CSS 2.1 failure: at-import-*
+ https://bugs.webkit.org/show_bug.cgi?id=47153
+
+ Fix at-import-010.htm by only setting m_allowImportRules
+ to false when creating valid style or page rules.
+
+ Test: css2.1/t040105-import-10-b.html
+
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::createStyleRule):
+
+2010-12-02 Aaron Boodman <aa@chromium.org>
+
+ Reviewed by David Hyatt.
+
+ Reduce the number of cases where we end up with a stale value for
+ minimumPreferredLogicalWidth(). This isn't a complete fix, but fixes a
+ large number of cases.
+
+ RenderObject::minimumPreferredLogicalWidth() sometimes reports wrong value.
+ https://bugs.webkit.org/show_bug.cgi?id=50119
+
+ * rendering/RenderBox.cpp:
+ (WebCore::RenderBox::styleDidChange):
+
+2010-12-02 Gregg Tavares <gman@google.com>
+
+ Reviewed by David Levin.
+
+ Need to initialize destination variables before calling GL
+ https://bugs.webkit.org/show_bug.cgi?id=50048
+
+ No new tests because no change in functionality.
+
+ * html/canvas/WebGLFramebuffer.cpp:
+ (WebCore::WebGLFramebuffer::initializeRenderbuffers):
+ * html/canvas/WebGLProgram.cpp:
+ (WebCore::WebGLProgram::cacheActiveAttribLocations):
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::getAttachedShaders):
+ (WebCore::WebGLRenderingContext::getBufferParameter):
+ (WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter):
+ (WebCore::WebGLRenderingContext::getBooleanParameter):
+ (WebCore::WebGLRenderingContext::getFloatParameter):
+ (WebCore::WebGLRenderingContext::getLongParameter):
+ (WebCore::WebGLRenderingContext::getUnsignedLongParameter):
+ * platform/graphics/chromium/LayerChromium.cpp:
+ (WebCore::loadShader):
+ (WebCore::LayerChromium::createShaderProgram):
+ * platform/graphics/chromium/LayerRendererChromium.cpp:
+ (WebCore::LayerRendererChromium::initializeSharedObjects):
+ * platform/graphics/gpu/DrawingBuffer.cpp:
+ (WebCore::DrawingBuffer::reset):
+ * platform/graphics/gpu/Shader.cpp:
+ (WebCore::Shader::loadProgram):
+
+2010-12-02 Laszlo Gombos <laszlo.1.gombos@nokia.com>
+
+ Reviewed by Andreas Kling.
+
+ [Qt] Enable Web Timing for Qt
+ https://bugs.webkit.org/show_bug.cgi?id=42433
+
+ * features.pri: Enable Web Timing for trunk (but not yet for
+ production)
+
+2010-12-02 Andy Estes <aestes@apple.com>
+
+ Rubber-stamped by Mark Rowe.
+
+ Update bindings test results with new GObject results.
+
+ * bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
+ (WebKit::kit):
+ * bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h:
+ * bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:
+ (WebKit::kit):
+ * bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h:
+ * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:
+ (WebKit::kit):
+ * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h:
+ * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
+ (WebKit::kit):
+ (webkit_dom_test_obj_obj_method):
+ (webkit_dom_test_obj_obj_method_with_args):
+ (webkit_dom_test_obj_method_that_requires_all_args):
+ (webkit_dom_test_obj_method_that_requires_all_args_and_throws):
+ (webkit_dom_test_obj_with_script_state_obj):
+ (webkit_dom_test_obj_with_script_state_obj_exception):
+ (webkit_dom_test_obj_get_read_only_test_obj_attr):
+ (webkit_dom_test_obj_get_test_obj_attr):
+ (webkit_dom_test_obj_get_xml_obj_attr):
+ * bindings/scripts/test/GObject/WebKitDOMTestObjPrivate.h:
+
+2010-12-02 Simon Fraser <simon.fraser@apple.com>
+
+ Revert r73217 and r73227 because of continued bustage.
+
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/graphics/GraphicsLayer.h:
+ (WebCore::GraphicsLayer::nativeLayer):
+ * platform/graphics/ca/PlatformCAAnimation.h: Removed.
+ * platform/graphics/ca/PlatformCALayer.h: Removed.
+ * platform/graphics/ca/mac/PlatformCAAnimationMac.mm: Removed.
+ * platform/graphics/ca/mac/PlatformCALayerMac.mm: Removed.
+ * platform/graphics/chromium/GraphicsLayerChromium.cpp:
+ (WebCore::GraphicsLayerChromium::nativeLayer):
+ * platform/graphics/chromium/GraphicsLayerChromium.h:
+ * platform/graphics/mac/GraphicsLayerMac.h: Renamed from WebCore/platform/graphics/ca/GraphicsLayerCA.h.
+ (WebCore::GraphicsLayerMac::hasContentsLayer):
+ (WebCore::GraphicsLayerMac::primaryLayer):
+ (WebCore::GraphicsLayerMac::isReplicatedRootClone):
+ (WebCore::GraphicsLayerMac::primaryLayerClones):
+ (WebCore::GraphicsLayerMac::animationIsRunning):
+ (WebCore::GraphicsLayerMac::contentsLayer):
+ (WebCore::GraphicsLayerMac::ReplicaState::ReplicaState):
+ (WebCore::GraphicsLayerMac::ReplicaState::push):
+ (WebCore::GraphicsLayerMac::ReplicaState::setBranchType):
+ (WebCore::GraphicsLayerMac::ReplicaState::pop):
+ (WebCore::GraphicsLayerMac::ReplicaState::depth):
+ (WebCore::GraphicsLayerMac::ReplicaState::replicaDepth):
+ (WebCore::GraphicsLayerMac::hasCloneLayers):
+ (WebCore::GraphicsLayerMac::LayerPropertyAnimation::LayerPropertyAnimation):
+ (WebCore::GraphicsLayerMac::AnimationProcessingAction::AnimationProcessingAction):
+ * platform/graphics/mac/GraphicsLayerMac.mm: Renamed from WebCore/platform/graphics/ca/GraphicsLayerCA.cpp.
+ (WebCore::currentTimeToMediaTime):
+ (WebCore::mediaTimeToCurrentTime):
+ (-[WebAnimationDelegate animationDidStart:]):
+ (-[WebAnimationDelegate WebCore::]):
+ (-[WebAnimationDelegate setLayer:WebCore::]):
+ (WebCore::copyTransform):
+ (WebCore::getTransformFunctionValue):
+ (WebCore::getValueFunctionNameForTransformOperation):
+ (WebCore::propertyIdToString):
+ (WebCore::animationIdentifier):
+ (WebCore::getCAMediaTimingFunction):
+ (WebCore::setLayerBorderColor):
+ (WebCore::clearBorderColor):
+ (WebCore::setLayerBackgroundColor):
+ (WebCore::clearLayerBackgroundColor):
+ (WebCore::safeSetSublayers):
+ (WebCore::caValueFunctionSupported):
+ (WebCore::forceSoftwareAnimation):
+ (WebCore::nullActionsDictionary):
+ (WebCore::animationHasStepsTimingFunction):
+ (WebCore::GraphicsLayer::create):
+ (WebCore::GraphicsLayerMac::GraphicsLayerMac):
+ (WebCore::GraphicsLayerMac::~GraphicsLayerMac):
+ (WebCore::GraphicsLayerMac::setName):
+ (WebCore::GraphicsLayerMac::nativeLayer):
+ (WebCore::GraphicsLayerMac::setChildren):
+ (WebCore::GraphicsLayerMac::addChild):
+ (WebCore::GraphicsLayerMac::addChildAtIndex):
+ (WebCore::GraphicsLayerMac::addChildBelow):
+ (WebCore::GraphicsLayerMac::addChildAbove):
+ (WebCore::GraphicsLayerMac::replaceChild):
+ (WebCore::GraphicsLayerMac::removeFromParent):
+ (WebCore::GraphicsLayerMac::setMaskLayer):
+ (WebCore::GraphicsLayerMac::setReplicatedLayer):
+ (WebCore::GraphicsLayerMac::setReplicatedByLayer):
+ (WebCore::GraphicsLayerMac::setPosition):
+ (WebCore::GraphicsLayerMac::setAnchorPoint):
+ (WebCore::GraphicsLayerMac::setSize):
+ (WebCore::GraphicsLayerMac::setTransform):
+ (WebCore::GraphicsLayerMac::setChildrenTransform):
+ (WebCore::GraphicsLayerMac::moveOrCopyLayerAnimation):
+ (WebCore::GraphicsLayerMac::moveOrCopyAnimationsForProperty):
+ (WebCore::GraphicsLayerMac::setPreserves3D):
+ (WebCore::GraphicsLayerMac::setMasksToBounds):
+ (WebCore::GraphicsLayerMac::setDrawsContent):
+ (WebCore::GraphicsLayerMac::setBackgroundColor):
+ (WebCore::GraphicsLayerMac::clearBackgroundColor):
+ (WebCore::GraphicsLayerMac::setContentsOpaque):
+ (WebCore::GraphicsLayerMac::setBackfaceVisibility):
+ (WebCore::GraphicsLayerMac::setOpacity):
+ (WebCore::GraphicsLayerMac::setNeedsDisplay):
+ (WebCore::GraphicsLayerMac::setNeedsDisplayInRect):
+ (WebCore::GraphicsLayerMac::setContentsNeedsDisplay):
+ (WebCore::GraphicsLayerMac::setContentsRect):
+ (WebCore::GraphicsLayerMac::addAnimation):
+ (WebCore::GraphicsLayerMac::pauseAnimation):
+ (WebCore::GraphicsLayerMac::removeAnimation):
+ (WebCore::GraphicsLayerMac::animationDidStart):
+ (WebCore::GraphicsLayerMac::setContentsToImage):
+ (WebCore::GraphicsLayerMac::setContentsToMedia):
+ (WebCore::GraphicsLayerMac::didDisplay):
+ (WebCore::GraphicsLayerMac::syncCompositingState):
+ (WebCore::GraphicsLayerMac::syncCompositingStateForThisLayerOnly):
+ (WebCore::GraphicsLayerMac::recursiveCommitChanges):
+ (WebCore::GraphicsLayerMac::commitLayerChangesBeforeSublayers):
+ (WebCore::GraphicsLayerMac::commitLayerChangesAfterSublayers):
+ (WebCore::GraphicsLayerMac::updateLayerNames):
+ (WebCore::GraphicsLayerMac::updateSublayerList):
+ (WebCore::GraphicsLayerMac::updateLayerPosition):
+ (WebCore::GraphicsLayerMac::updateLayerSize):
+ (WebCore::GraphicsLayerMac::updateAnchorPoint):
+ (WebCore::GraphicsLayerMac::updateTransform):
+ (WebCore::GraphicsLayerMac::updateChildrenTransform):
+ (WebCore::GraphicsLayerMac::updateMasksToBounds):
+ (WebCore::GraphicsLayerMac::updateContentsOpaque):
+ (WebCore::GraphicsLayerMac::updateBackfaceVisibility):
+ (WebCore::GraphicsLayerMac::updateStructuralLayer):
+ (WebCore::GraphicsLayerMac::ensureStructuralLayer):
+ (WebCore::GraphicsLayerMac::structuralLayerPurpose):
+ (WebCore::GraphicsLayerMac::updateLayerDrawsContent):
+ (WebCore::GraphicsLayerMac::updateLayerBackgroundColor):
+ (WebCore::GraphicsLayerMac::updateContentsImage):
+ (WebCore::GraphicsLayerMac::updateContentsMediaLayer):
+ (WebCore::GraphicsLayerMac::updateContentsCanvasLayer):
+ (WebCore::GraphicsLayerMac::updateContentsRect):
+ (WebCore::GraphicsLayerMac::updateMaskLayer):
+ (WebCore::GraphicsLayerMac::updateReplicatedLayers):
+ (WebCore::GraphicsLayerMac::ReplicaState::cloneID):
+ (WebCore::GraphicsLayerMac::replicatedLayerRoot):
+ (WebCore::GraphicsLayerMac::updateLayerAnimations):
+ (WebCore::GraphicsLayerMac::setCAAnimationOnLayer):
+ (WebCore::bug7311367Workaround):
+ (WebCore::GraphicsLayerMac::removeCAAnimationFromLayer):
+ (WebCore::copyAnimationProperties):
+ (WebCore::GraphicsLayerMac::pauseCAAnimationOnLayer):
+ (WebCore::GraphicsLayerMac::setContentsToCanvas):
+ (WebCore::GraphicsLayerMac::repaintLayerDirtyRects):
+ (WebCore::GraphicsLayerMac::updateContentsNeedsDisplay):
+ (WebCore::GraphicsLayerMac::createAnimationFromKeyframes):
+ (WebCore::GraphicsLayerMac::createTransformAnimationsFromKeyframes):
+ (WebCore::GraphicsLayerMac::createBasicAnimation):
+ (WebCore::GraphicsLayerMac::createKeyframeAnimation):
+ (WebCore::GraphicsLayerMac::setupAnimation):
+ (WebCore::GraphicsLayerMac::timingFunctionForAnimationValue):
+ (WebCore::GraphicsLayerMac::setAnimationEndpoints):
+ (WebCore::GraphicsLayerMac::setAnimationKeyframes):
+ (WebCore::GraphicsLayerMac::setTransformAnimationEndpoints):
+ (WebCore::GraphicsLayerMac::setTransformAnimationKeyframes):
+ (WebCore::GraphicsLayerMac::suspendAnimations):
+ (WebCore::GraphicsLayerMac::resumeAnimations):
+ (WebCore::GraphicsLayerMac::hostLayerForSublayers):
+ (WebCore::GraphicsLayerMac::layerForSuperlayer):
+ (WebCore::GraphicsLayerMac::animatedLayer):
+ (WebCore::GraphicsLayerMac::animatedLayerClones):
+ (WebCore::GraphicsLayerMac::platformLayer):
+ (WebCore::GraphicsLayerMac::setDebugBackgroundColor):
+ (WebCore::GraphicsLayerMac::setDebugBorder):
+ (WebCore::GraphicsLayerMac::constrainedSize):
+ (WebCore::GraphicsLayerMac::requiresTiledLayer):
+ (WebCore::GraphicsLayerMac::swapFromOrToTiledLayer):
+ (WebCore::GraphicsLayerMac::defaultContentsOrientation):
+ (WebCore::GraphicsLayerMac::updateContentsTransform):
+ (WebCore::GraphicsLayerMac::setupContentsLayer):
+ (WebCore::GraphicsLayerMac::findOrMakeClone):
+ (WebCore::GraphicsLayerMac::ensureCloneLayers):
+ (WebCore::GraphicsLayerMac::removeCloneLayers):
+ (WebCore::GraphicsLayerMac::positionForCloneRootLayer):
+ (WebCore::GraphicsLayerMac::propagateLayerChangeToReplicas):
+ (WebCore::GraphicsLayerMac::fetchCloneLayers):
+ (WebCore::GraphicsLayerMac::cloneLayer):
+ (WebCore::GraphicsLayerMac::setOpacityInternal):
+ (WebCore::GraphicsLayerMac::updateOpacityOnLayer):
+ (WebCore::GraphicsLayerMac::noteSublayersChanged):
+ (WebCore::GraphicsLayerMac::noteLayerPropertyChanged):
+ * platform/graphics/mac/WebLayer.h:
+ * platform/graphics/mac/WebLayer.mm:
+ (-[WebLayer initWithLayer:]):
+ (-[WebLayer setNeedsDisplay]):
+ (-[WebLayer setNeedsDisplayInRect:]):
+ (-[WebLayer display]):
+ (-[WebLayer drawInContext:]):
+ (-[WebLayer setLayerOwner:]):
+ (-[WebLayer layerOwner]):
+ * platform/graphics/mac/WebTiledLayer.h:
+ * platform/graphics/mac/WebTiledLayer.mm:
+ (-[WebTiledLayer initWithLayer:]):
+ (-[WebTiledLayer setNeedsDisplay]):
+ (-[WebTiledLayer setNeedsDisplayInRect:]):
+ (-[WebTiledLayer display]):
+ (-[WebTiledLayer drawInContext:]):
+ (-[WebTiledLayer setLayerOwner:]):
+ (-[WebTiledLayer layerOwner]):
+ * platform/graphics/qt/GraphicsLayerQt.cpp:
+ (WebCore::GraphicsLayerQtImpl::flushChanges):
+ (WebCore::GraphicsLayerQt::nativeLayer):
+ * platform/graphics/qt/GraphicsLayerQt.h:
+ * platform/graphics/win/GraphicsLayerCACF.cpp:
+ (WebCore::GraphicsLayerCACF::nativeLayer):
+ * platform/graphics/win/GraphicsLayerCACF.h:
+
+2010-12-02 Noel Gordon <noel.gordon@gmail.com>
+
+ Reviewed by David Levin.
+ [chromium] Remove dead code from PNG encoder
+ https://bugs.webkit.org/show_bug.cgi?id=50377
+
+ Also webkit style the PNG encoder files.
+
+ No change in behaviour, so no new tests.
+
+ * platform/image-encoders/skia/PNGImageEncoder.cpp:
+ (WebCore::encodeImpl):
+ (WebCore::PNGImageEncoder::encode):
+ * platform/image-encoders/skia/PNGImageEncoder.h:
+
+2010-12-02 Yuta Kitamura <yutak@chromium.org>
+
+ Reviewed by Alexey Proskuryakov.
+
+ An attempt to fix Chromium's clang build.
+
+ Implement (non-EventListener) marquee IDL attributes from HTML5.
+ https://bugs.webkit.org/show_bug.cgi?id=49786
+
+ * rendering/style/RenderStyle.h:
+ (WebCore::InheritedFlags::initialMarqueeSpeed):
+
+2010-12-02 Mikhail Naganov <mnaganov@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: Fix heap snapshots loading. Loading is now
+ conducted by the Profiles panel which prevents accidental
+ simultaneous attempts to load the same profile several times in
+ parallel.
+
+ https://bugs.webkit.org/show_bug.cgi?id=50427
+
+ * inspector/front-end/HeapSnapshotView.js:
+ (WebInspector.HeapSnapshotView.prototype._loadProfile):
+ (WebInspector.HeapSnapshotView.prototype.processLoadedSnapshot):
+ * inspector/front-end/ProfilesPanel.js:
+ (WebInspector.ProfilesPanel.prototype.loadHeapSnapshot):
+ (WebInspector.ProfilesPanel.prototype.addHeapSnapshotChunk):
+ (WebInspector.ProfilesPanel.prototype.finishHeapSnapshot):
+
+2010-12-02 Chris Marrin <cmarrin@apple.com>
+
+ Reviewed by Simon Fraser.
+
+ Fix Leopard build broken by http://trac.webkit.org/changeset/73217
+
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::getTransformFunctionValue):
+ (WebCore::GraphicsLayerCA::updateContentsTransform):
+ * platform/graphics/ca/PlatformCALayer.h:
+ * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
+ (PlatformCAAnimation::valueFunction):
+ (PlatformCAAnimation::setValueFunction):
+ * platform/graphics/ca/mac/PlatformCALayerMac.mm:
+ (PlatformCALayer::PlatformCALayer):
+ (PlatformCALayer::anchorPoint):
+ (PlatformCALayer::setAnchorPoint):
+ (PlatformCALayer::contentsTransform):
+ (PlatformCALayer::setContentsTransform):
+ (PlatformCALayer::isGeometryFlipped):
+ (PlatformCALayer::setGeometryFlipped):
+ (PlatformCALayer::setMinificationFilter):
+ (PlatformCALayer::setMagnificationFilter):
+
+2010-12-02 Dan Bernstein <mitz@apple.com>
+
+ Reviewed by Dave Hyatt.
+
+ CSS support for the text-emphasis properties
+ https://bugs.webkit.org/show_bug.cgi?id=48539
+
+ Test: fast/css/parsing-text-emphasis.html
+
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added text-emphasis-color,
+ text-emphasis-position and text-emphasis-style. Left the text-emphasis shorthand unsupported.
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseValue): Parse the properties.
+ (WebCore::CSSParser::parseTextEmphasisStyle): Added.
+ * css/CSSParser.h:
+ * css/CSSPrimitiveValueMappings.h:
+ (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added TextEmphasisPosition, TextEmphasisFill
+ and TextEmphasisMark mappings.
+ (WebCore::CSSPrimitiveValue::operator TextEmphasisPosition): Added.
+ (WebCore::CSSPrimitiveValue::operator TextEmphasisFill): Added.
+ (WebCore::CSSPrimitiveValue::operator TextEmphasisMark): Added.
+ * css/CSSPropertyLonghand.cpp:
+ (WebCore::initShorthandMap): Added the text-emphasis shorthand.
+ * css/CSSPropertyNames.in: Added -webkit-text-emphasis, -webkit-text-emphasis-color,
+ -webkit-text-emphasis-position, and -webkit-text-emphasis-style.
+ * css/CSSStyleSelector.cpp:
+ (WebCore::isValidVisitedLinkProperty): Added text-emphasis-color.
+ (WebCore::CSSStyleSelector::applyProperty): Handle the properties.
+ * css/CSSValueKeywords.in: Added 'over' and 'under' for text-emphasis-position. Added 'dot',
+ 'double-circle', 'triangle', 'sesame', 'filled' and 'open' for text-emphasis-style.
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::colorIncludingFallback): Handle text-emphasis-color.
+ (WebCore::RenderStyle::textEmphasisMark): Added. Maps the fake 'auto' value to 'dot' or
+ 'sesame' based on writing direction.
+ * rendering/style/RenderStyle.h: Added accessors.
+ (WebCore::InheritedFlags::textEmphasisFill):
+ (WebCore::InheritedFlags::textEmphasisCustomMark):
+ (WebCore::InheritedFlags::textEmphasisPosition):
+ (WebCore::InheritedFlags::setTextEmphasisColor):
+ (WebCore::InheritedFlags::setTextEmphasisFill):
+ (WebCore::InheritedFlags::setTextEmphasisMark):
+ (WebCore::InheritedFlags::setTextEmphasisCustomMark):
+ (WebCore::InheritedFlags::setTextEmphasisPosition):
+ (WebCore::InheritedFlags::initialTextEmphasisColor):
+ (WebCore::InheritedFlags::initialTextEmphasisFill):
+ (WebCore::InheritedFlags::initialTextEmphasisMark):
+ (WebCore::InheritedFlags::initialTextEmphasisCustomMark):
+ (WebCore::InheritedFlags::initialTextEmphasisPosition):
+ (WebCore::InheritedFlags::textEmphasisColor):
+ * rendering/style/RenderStyleConstants.h:
+ * rendering/style/StyleRareInheritedData.cpp:
+ (WebCore::StyleRareInheritedData::StyleRareInheritedData):
+ (WebCore::StyleRareInheritedData::operator==):
+ * rendering/style/StyleRareInheritedData.h:
+
+2010-12-02 Chris Marrin <cmarrin@apple.com>
+
+ Reviewed by Simon Fraser.
+
+ Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
+ https://bugs.webkit.org/show_bug.cgi?id=49388
+
+ Replaced GraphicsLayerMac with GraphicsLayerCA. GraphicsLayerCA is essentially
+ identical to GraphicsLayerMac, but replaces all the CoreAnimation specific calls
+ with calls to PlatformCALayer and PlatformCAAnimation. This makes GraphicsLayerCA
+ platform neutral as long as implementations of those two classes are available.
+ Added implementations in PlatformCALayerMac and PlatformCAAnimationMac. Also got
+ rid of GraphicsLayer::nativeLayer() and replaced it with GraphicsLayer::platformLayer()
+ to avoid confusion since both names were used to refer to the same thing.
+
+ This patch is only for Mac. Windows implementation has not changed.
+
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/graphics/GraphicsLayer.h:
+ * platform/graphics/ca: Added.
+ * platform/graphics/ca/GraphicsLayerCA.cpp: Added.
+ * platform/graphics/ca/GraphicsLayerCA.h: Added.
+ * platform/graphics/ca/PlatformCAAnimation.h: Added.
+ * platform/graphics/ca/PlatformCALayer.h: Added.
+ * platform/graphics/ca/mac: Added.
+ * platform/graphics/ca/mac/PlatformCAAnimationMac.mm: Added.
+ * platform/graphics/ca/mac/PlatformCALayerMac.mm: Added.
+ * platform/graphics/chromium/GraphicsLayerChromium.cpp:
+ * platform/graphics/chromium/GraphicsLayerChromium.h:
+ * platform/graphics/mac/GraphicsLayerMac.h: Removed.
+ * platform/graphics/mac/GraphicsLayerMac.mm: Removed.
+ * platform/graphics/mac/WebLayer.h:
+ * platform/graphics/mac/WebLayer.mm:
+ * platform/graphics/mac/WebTiledLayer.h:
+ * platform/graphics/mac/WebTiledLayer.mm:
+ * platform/graphics/qt/GraphicsLayerQt.cpp:
+ * platform/graphics/qt/GraphicsLayerQt.h:
+ * platform/graphics/win/GraphicsLayerCACF.cpp:
+ * platform/graphics/win/GraphicsLayerCACF.h:
+
+2010-12-02 Joseph Pecoraro <joepeck@webkit.org>
+
+ Reviewed by Darin Adler.
+
+ Update ResourceLoaderSet Enumeration
+ https://bugs.webkit.org/show_bug.cgi?id=50405
+
+ Use size_t when working with Vectors and when comparing between size_t types.
+
+ * loader/DocumentLoader.cpp:
+ (WebCore::cancelAll):
+ (WebCore::setAllDefersLoading):
+
+2010-12-02 Jian Li <jianli@chromium.org>
+
+ Reviewed by Kenneth Russell.
+
+ Integer calculation issues in DataView constructor
+ https://bugs.webkit.org/show_bug.cgi?id=50354
+
+ Test: fast/canvas/webgl/data-view-crash.html
+
+ * html/canvas/DataView.cpp:
+ (WebCore::DataView::create):
+
+2010-12-02 Patrick Gansterer <paroga@webkit.org>
+
+ Reviewed by Darin Adler.
+
+ Add AtomicString::fromUTF8
+ https://bugs.webkit.org/show_bug.cgi?id=45594
+
+ Use AtomicString::fromUTF8 directly in the libxml2 parser.
+
+ * dom/XMLDocumentParserLibxml2.cpp:
+ (WebCore::toAtomicString):
+
+2010-12-02 Andy Estes <aestes@apple.com>
+
+ Fix the Qt Linux Release minimal build.
+
+ * html/HTMLMarqueeElement.cpp: Include ExceptionCode.h
+
+2010-12-02 Joseph Pecoraro <joepeck@webkit.org>
+
+ Reviewed by Darin Adler.
+
+ Update ResourceLoaderSet Enumeration
+ https://bugs.webkit.org/show_bug.cgi?id=50405
+
+ * loader/DocumentLoader.cpp:
+ (WebCore::cancelAll): instead of copying the HashSet, use copyToVector.
+ (WebCore::setAllDefersLoading): instead of copying the HashSet, use copyToVector.
+
+2010-12-02 Andy Estes <aestes@apple.com>
+
+ Reviewed by Darin Adler.
+
+ Implement (non-EventListener) marquee IDL attributes from HTML5.
+ https://bugs.webkit.org/show_bug.cgi?id=49786
+
+ Test: fast/html/marquee-element.html
+
+ * html/HTMLMarqueeElement.cpp:
+ (WebCore::HTMLMarqueeElement::scrollAmount): If the content attribute
+ can be converted to a signed integer and is >= 0, return it.
+ Otherwise, return the default scrollAmount value.
+ (WebCore::HTMLMarqueeElement::setScrollAmount): Update the content
+ attribute if it is >= 0. Otherwise, raise INDEX_SIZE_ERR.
+ (WebCore::HTMLMarqueeElement::scrollDelay): Same as scrollAmount.
+ (WebCore::HTMLMarqueeElement::setScrollDelay): Same as setScrollAmount.
+ (WebCore::HTMLMarqueeElement::loop): If the content attribute can be
+ converted to a signed integer and is greater than 0 or equal to -1,
+ return it. Otherwise, return the default loop value.
+ (WebCore::HTMLMarqueeElement::setLoop): Update the content attribute if
+ it is greater than 0 or equal to -1. Otherwise, raise INDEX_SIZE_ERR.
+ * html/HTMLMarqueeElement.h:
+ * html/HTMLMarqueeElement.idl: Update the IDL to match what is in HTML5.
+ * rendering/style/RenderStyle.h:
+ (WebCore::InheritedFlags::initialMarqueeSpeed):
+
+2010-12-02 Patrick Gansterer <paroga@webkit.org>
+
+ Reviewed by Andreas Kling.
+
+ [OpenVG] Remove "current path" of GraphicsContext
+ https://bugs.webkit.org/show_bug.cgi?id=50294
+
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/openvg/GraphicsContextOpenVG.cpp:
+ (WebCore::GraphicsContext::fillPath):
+ (WebCore::GraphicsContext::strokePath):
+ (WebCore::GraphicsContext::clipPath):
+ * platform/graphics/openvg/PainterOpenVG.cpp:
+ (WebCore::PainterOpenVG::PainterOpenVG):
+ (WebCore::PainterOpenVG::~PainterOpenVG):
+ (WebCore::PainterOpenVG::drawPath):
+ * platform/graphics/openvg/PainterOpenVG.h:
+
+2010-12-02 Patrick Gansterer <paroga@webkit.org>
+
+ Reviewed by Andreas Kling.
+
+ [WINCE] Remove "current path" of GraphicsContext
+ https://bugs.webkit.org/show_bug.cgi?id=50284
+
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/wince/GraphicsContextWinCE.cpp:
+ (WebCore::GraphicsContext::fillPath):
+ (WebCore::GraphicsContext::strokePath):
+
+2010-12-02 Johnny Ding <jnd@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ Set the right gesture status for URL redirections.
+ https://bugs.webkit.org/show_bug.cgi?id=47817
+
+ Tests: fast/frames/location-redirect-user-gesture.html
+ fast/frames/meta-refresh-user-gesture.html
+
+ * loader/NavigationScheduler.cpp:
+ (WebCore::ScheduledNavigation::clearUserGesture):
+ (WebCore::ScheduledRedirect::ScheduledRedirect):
+
+2010-12-02 Chris Rogers <crogers@google.com>
+
+ Reviewed by Kenneth Russell.
+
+ AudioContext needs createBuffer() method from ArrayBuffer
+ https://bugs.webkit.org/show_bug.cgi?id=50343
+
+ No new tests since audio API is not yet implemented.
+
+ * webaudio/AudioContext.cpp:
+ (WebCore::AudioContext::createBuffer):
+ * webaudio/AudioContext.h:
+ * webaudio/AudioContext.idl:
+
+2010-12-02 Noel Gordon <noel.gordon@gmail.com>
+
+ Reviewed by David Levin.
+
+ [chromium] Add canvas.toDataURL("image/jpeg", quality) support
+ https://bugs.webkit.org/show_bug.cgi?id=49365
+
+ Adds a libjpeg-based image encoder for Skia bitmaps. Default encoding quality
+ is 92 to match Mozilla, also Safari, though the actual value used by Safari is
+ undocumented, and it appears to pre-blur images prior to compression.
+
+ The preMultipliedBGRAtoRGB() routine restores the un-premultiplied RGB colors
+ where there is non-zero alpha. Again, this matches Firefox and Safari, but no
+ browser conforms to the HTML5 canvas standard here, I believe, considering the
+ result of canvas/philip/tests/toDataURL.jpeg.alpha.html; that test ignores the
+ alpha channel when extracting an "image/jpeg".toDataURL(). The correct answer
+ needs more investigation, bug http://webkit.org/b/40147.
+
+ Canvas toDataURL is covered by existing tests canvas/philip/tests/toDataURL.*,
+ and fast/canvas/*toDataURL* tests.
+
+ * WebCore.gypi:
+ * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
+ (WebCore::V8HTMLCanvasElement::toDataURLCallback): don't set encoding quality
+ here, just pass the toDataURL parameters through to the canvas layer.
+ * platform/chromium/MIMETypeRegistryChromium.cpp:
+ (WebCore::MIMETypeRegistry::isSupportedImageMIMETypeForEncoding): implement
+ the supported mimeTypes for encoding in-place.
+ * platform/graphics/skia/ImageBufferSkia.cpp:
+ (WebCore::ImageBuffer::toDataURL): add jpeg encoding and quality support.
+ * platform/image-encoders/skia/JPEGImageEncoder.cpp: Added.
+ (WebCore::prepareOutput):
+ (WebCore::writeOutput):
+ (WebCore::finishOutput):
+ (WebCore::handleError):
+ (WebCore::preMultipliedBGRAtoRGB): FIXME: bug 40147.
+ (WebCore::JPEGImageEncoder::encode):
+ * platform/image-encoders/skia/JPEGImageEncoder.h: Added.
+
+2010-12-02 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r73152.
+ http://trac.webkit.org/changeset/73152
+ https://bugs.webkit.org/show_bug.cgi?id=50401
+
+ the patch has broken chromium win layout tests (Requested by
+ loislo on #webkit).
+
+ * inspector/CodeGeneratorInspector.pm:
+ * inspector/Inspector.idl:
+ * inspector/front-end/Callback.js:
+ * inspector/front-end/DOMAgent.js:
+ (WebInspector.DOMNode):
+ * inspector/front-end/inspector.js:
+ (WebInspector.loaded.WebInspector.socket.onmessage):
+ (WebInspector.dispatch):
+ (WebInspector_syncDispatch):
+ (WebInspector.reportProtocolError):
+
+2010-12-02 W. James MacLean <wjmaclean@chromium.org>
+
+ Reviewed by James Robinson.
+
+ Scaled Resized images are blurred when sent to Skia
+ https://bugs.webkit.org/show_bug.cgi?id=42370
+
+ This patch modifies ImageSkia.cpp to fix the calculation of resampled
+ bitmap sizes so as to include the transform matrix of the canvas.
+ Includes new tests to catch a scrolling regression and a clipping regression.
+
+ Tests: svg/custom/image-rescale-clip.html
+ svg/custom/image-rescale-scroll.html
+ svg/custom/image-rescale.svg
+
+ * platform/graphics/skia/ImageSkia.cpp:
+ (WebCore::computeResamplingMode):
+ (WebCore::drawResampledBitmap):
+
+2010-12-02 Erik Arvidsson <arv@chromium.org>
+
+ Reviewed by Darin Adler.
+
+ Missing DOM property for incremental input attribute
+ https://bugs.webkit.org/show_bug.cgi?id=50335
+
+ Test: fast/forms/incremental-dom-property.html
+
+ * html/HTMLInputElement.idl: Added attribute
+
+2010-12-02 John Knottenbelt <jknotten@chromium.org>
+
+ Reviewed by Steve Block.
+
+ Move requestGeolocationPermissionForFrame to GeolocationClient
+ https://bugs.webkit.org/show_bug.cgi?id=50061
+
+ This change facilitates client-based geolocation implementation by
+ bringing together permission control into the geolocation client
+ interface.
+
+ * page/Chrome.h:
+ * page/ChromeClient.h:
+ * page/Geolocation.cpp:
+ (WebCore::Geolocation::disconnectFrame):
+ (WebCore::Geolocation::requestPermission):
+ * page/GeolocationClient.h:
+ * page/GeolocationController.cpp:
+ (WebCore::GeolocationController::requestPermission):
+ (WebCore::GeolocationController::cancelPermissionRequest):
+ * page/GeolocationController.h:
+ * platform/mock/GeolocationClientMock.cpp:
+ (WebCore::GeolocationClientMock::GeolocationClientMock):
+ (WebCore::GeolocationClientMock::setPermission):
+ (WebCore::GeolocationClientMock::requestPermission):
+ (WebCore::GeolocationClientMock::cancelPermissionRequest):
+ (WebCore::GeolocationClientMock::asyncUpdatePermission):
+ (WebCore::GeolocationClientMock::permissionTimerFired):
+ (WebCore::GeolocationClientMock::reset):
+ (WebCore::GeolocationClientMock::stopUpdating):
+ (WebCore::GeolocationClientMock::asyncUpdateController):
+ (WebCore::GeolocationClientMock::controllerTimerFired):
+ * platform/mock/GeolocationClientMock.h:
+
+2010-12-01 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: Inspector protocol cleanup task.
+
+ The patch has just small renames and adjustments for the protocol things.
+ 'handler' keyword in idl file was replaced with 'domain'.
+ 'domain' property was assigned for the each backend to frontend messages.
+ At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.
+
+ https://bugs.webkit.org/show_bug.cgi?id=50337
+
+ * inspector/CodeGeneratorInspector.pm:
+ * inspector/Inspector.idl:
+ * inspector/front-end/inspector.js:
+ (WebInspector_syncDispatch):
+
+2010-12-01 Andrey Kosyakov <caseq@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
+ Re-implementing HAR export functionality that used to be in Resources
+ tab in Network tab.
+ https://bugs.webkit.org/show_bug.cgi?id=45663
+
+ * inspector/front-end/NetworkPanel.js:
+ (WebInspector.NetworkPanel.prototype._createTable):
+ (WebInspector.NetworkPanel.prototype._toggleViewingResourceMode):
+ (WebInspector.NetworkPanel.prototype._contextMenu):
+ (WebInspector.NetworkPanel.prototype._exportAll):
+ (WebInspector.NetworkPanel.prototype._exportResource):
+ (WebInspector.NetworkDataGridNode.prototype.refreshResource):
+ * inspector/front-end/networkPanel.css:
+ (.data-grid table.data tr.revealed.network-item):
+ (.data-grid.filter-other table.data tr.revealed.network-category-other):
+
+2010-12-02 Dai Mikurube <dmikurube@google.com>
+
+ Reviewed by Kent Tamura.
+
+ Reject named colors, accept only #rrggbb in <input type=color />
+ https://bugs.webkit.org/show_bug.cgi?id=50308
+
+ * html/ColorInputType.cpp: Modified to accept only simple colors like #xxxxxx.
+ (WebCore::isValidColorString):
+
2010-12-02 Vincent Scheib <scheib@chromium.org>
Reviewed by Darin Fisher.
@@ -1005,7 +2069,6 @@
(WebCore::TextFieldInputType::shouldSubmitImplicitly):
* html/TextFieldInputType.h:
->>>>>>> .r73054
2010-11-30 Patrick Gansterer <paroga@webkit.org>
Reviewed by Andreas Kling.
« no previous file with comments | « LayoutTests/fast/events/shadow-boundary-crossing-2-expected.txt ('k') | WebCore/dom/EventContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698