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

Unified Diff: Source/WebCore/ChangeLog

Issue 7210023: Merge 88386 - 2011-06-08 John Bauman <jbauman@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 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:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/ChangeLog
===================================================================
--- Source/WebCore/ChangeLog (revision 89272)
+++ Source/WebCore/ChangeLog (working copy)
@@ -1,7803 +1,3 @@
-2011-06-19 Mads Ager <ager@chromium.org>
-
- Reviewed by Adam Barth.
-
- [V8] Fix WebGL bindings for subarrays
- https://bugs.webkit.org/show_bug.cgi?id=62864
-
- Mark WebGL subarrays as independent of other DOM objects in the
- V8 bindings. This allows us to clean them up independently which
- greatly improves performance.
-
- * bindings/v8/V8Proxy.h:
- (WebCore::toV8Independent):
- * bindings/v8/custom/V8ArrayBufferViewCustom.h:
- (WebCore::constructWebGLArrayWithArrayBufferArgument):
- (WebCore::constructWebGLArray):
-
-2011-06-20 Yuta Kitamura <yutak@chromium.org>
-
- Unreviewed build fix for Chromium Clang builders.
-
- * platform/graphics/FontFallbackList.h: Declare SVGTextRunRenderingContext as class, not struct.
-
-2011-06-20 MORITA Hajime <morrita@google.com>
-
- Unreviewed GTK build fix.
- This change touched the file to make the build happen.
-
- * dom/EventTarget.cpp:
-
-2011-06-20 Nikolas Zimmermann <nzimmermann@rim.com>
-
- Reviewed by Rob Buis.
-
- Integrate SVG Fonts within GlyphPage concept, removing the special SVG code paths from Font, making it possible to reuse the simple text code path for SVG Fonts
- https://bugs.webkit.org/show_bug.cgi?id=59085
-
- font substitution doesn't work for HTML text using SVG fonts
- https://bugs.webkit.org/show_bug.cgi?id=17608
-
- Selection rects are wrong for text with SVG fonts
- https://bugs.webkit.org/show_bug.cgi?id=25460
-
- With @font-face, SVG fonts only work as primary, non-segmented
- https://bugs.webkit.org/show_bug.cgi?id=32227
-
- When using SVG fonts with @font-face word-spacing and text-align: justify are not being honored
- https://bugs.webkit.org/show_bug.cgi?id=34236
-
- SVG @font-face breaks text-overflow: ellipsis
- https://bugs.webkit.org/show_bug.cgi?id=36840
-
- REGRESSION: SVG Font selection problems
- https://bugs.webkit.org/show_bug.cgi?id=41934
-
- Tests: svg/custom/svg-fonts-fallback.xhtml (for bug 17608, extended the original test from Mark Ambachtsheer)
- svg/custom/svg-fonts-segmented.xhtml (for bug 32227)
- svg/custom/svg-fonts-word-spacing.html (for bug 34236, from Michael Lewis)
- svg/text/select-text-svgfont.html (for bug 25460/41934, from Emil Schutte)
- svg/text/text-overflow-ellipsis-svgfont.html (for 36840, from Emil Schutte)
-
- Rewrite the SVG Fonts support to fully integrate within the GlyphPage concept and the "simple" code path used to render platform fonts.
- That means the special logic for measuring text using SVG Fonts, calculating offset for positions, computing selection rects etc. is all gone now.
- There's no difference anymore between using a native font or a SVG Font, in terms of these operations.
-
- This makes text selection using SVG Fonts possible again.
-
- * features.pri: Temporarily turn of SVG Fonts for Qt, as long as QRawFont support is not available and the fast path is disabled.
- * page/DOMWindow.idl: Touched file to force Qt regenerating the bindings.
- * platform/graphics/Font.cpp: Remove SVG Font special cases, the simple code path now handles SVG Fonts as well.
- (WebCore::Font::drawText):
- (WebCore::Font::drawEmphasisMarks):
- (WebCore::Font::width):
- (WebCore::Font::selectionRectForText):
- (WebCore::Font::offsetForPosition):
- (WebCore::Font::codePath):
- * platform/graphics/Font.h: Pass TextRun to drawGlyphBuffer/drawEmphasisMarks. Add new glyphDataAndPageForCharacter() method which returns a pair
- std::pair<GlyphData, GlyphPage*>, so we know the associated GlyphPage for a certain GlyphData object, which is needed to properly
- handle font fallback glyph matching for SVG Fonts..
- (WebCore::Font::fontList): Add FontFallbackList accessor.
- * platform/graphics/FontFallbackList.h: Add getters/setters for glyphPageZero -- SVG Fonts support needs access to these objects from SVGTextRunRenderingContext.
- (WebCore::FontFallbackList::glyphPageZero):
- (WebCore::FontFallbackList::glyphPages):
- (WebCore::FontFallbackList::setGlyphPageZero):
- (WebCore::FontFallbackList::setGlyphPages):
- * platform/graphics/FontFastPath.cpp:
- (WebCore::Font::glyphDataForCharacter): Move implementation to glyphDataAndPageForCharacter(), and use that method from here.
- (WebCore::Font::glyphDataAndPageForCharacter): Does the same as before, just returns an additional GlyphPage* pointer.
- (WebCore::Font::getEmphasisMarkGlyphData): Remove SVG Fonts special case.
- (WebCore::Font::drawGlyphBuffer): Ditto.
- * platform/graphics/FontMetrics.h:
- (WebCore::scaleEmToUnits): Refactored scaleEmToUnits free function from SimpleFontDataMac/CGWin to share with SVGFontData/SVGTextRunRenderingContext.
- * platform/graphics/GlyphPageTreeNode.cpp:
- (WebCore::fill): Stop skipping SVG Fonts, they now also fill the GlyphPage using the glyphs defined in the SVG Font.
- * platform/graphics/SVGGlyph.h: s/isValid/isPartOfLigature/. Its usage has been changed.
- (WebCore::SVGGlyph::SVGGlyph):
- (WebCore::SVGGlyph::operator==):
- * platform/graphics/SimpleFontData.cpp: Change font size to be a float, not an int.
- (WebCore::SimpleFontData::SimpleFontData):
- * platform/graphics/SimpleFontData.h: Add new pure virtual methods to the AdditionalFontData interface, to be implemented in SVGFontData.
- (WebCore::SimpleFontData::widthForGlyph): Call widthForSVGGlyph, if we encounter a SVG glyph.
- * platform/graphics/TextRun.h:
- * platform/graphics/WidthIterator.cpp:
- (WebCore::WidthIterator::glyphDataForCharacter):
- (WebCore::WidthIterator::advance):
- * platform/graphics/WidthIterator.h: Store several new members needed for SVG Fonts support (last processed glyph name used for kerning pair lookup)
- and a map mapping each character of a text to its arabic-form (if needed, to perform SVG glyph selection for Arabic text).
- (WebCore::WidthIterator::run):
- (WebCore::WidthIterator::runWidthSoFar):
- (WebCore::WidthIterator::lastGlyphName):
- (WebCore::WidthIterator::setLastGlyphName):
- (WebCore::WidthIterator::arabicForms):
- * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp: Use new scaleEmToUnits free function from FontMetrics.h.
- * platform/graphics/mac/SimpleFontDataMac.mm: Ditto.
- * platform/graphics/win/SimpleFontDataCGWin.cpp: Ditto.
- * rendering/svg/SVGTextMetrics.cpp:
- (WebCore::SVGTextMetrics::SVGTextMetrics):
- (WebCore::constructTextRun):
- (WebCore::SVGTextMetrics::measureCharacterRange):
- * rendering/svg/SVGTextMetrics.h:
- * rendering/svg/SVGTextRunRenderingContext.cpp: Remove drawTextUsingSVGFont/floatWidthUsingSVGFont/selectionRectForTextUsingSVGFont/offsetForPositionForTextUsingSVGFont.
- (WebCore::firstParentRendererForNonTextNode): Don't assert node() exists, doesn't hold true for generated render objects.
- (WebCore::renderObjectFromRun): Renamed from referencingRenderObjectFromRun.
- (WebCore::SVGTextRunRenderingContext::floatWidthUsingSVGFont): Remove extra "extraCharsAvailable" parameter, now solves via TextRun::charactersLength().
- (WebCore::calculateEmUnitToPixelScaleFactor): Add helper method.
- (WebCore::SVGTextRunRenderingContext::drawSVGGlyphs): Main drawing method, this actually creates/renders Paths.
- (WebCore::SVGTextRunRenderingContext::glyphDataForCharacter): Part 1/2 of SVG Glyph selection code.
- * rendering/svg/SVGTextRunRenderingContext.h:
- * svg/SVGAltGlyphElement.cpp:
- (WebCore::SVGAltGlyphElement::hasValidGlyphElement):
- * svg/SVGAltGlyphElement.h:
- * svg/SVGFontData.cpp:
- (WebCore::calculateEmUnitToPixelScaleFactor): Add helper method.
- (WebCore::SVGFontData::initializeFontData): Changed font size from int to float.
- (WebCore::SVGFontData::widthForSVGGlyph): Lookup a SVGGlyph from a Glyph using the glyph table in SVGFontElement and calculate its width.
- (WebCore::SVGFontData::applySVGGlyphSelection): Part 2/2 of SVG Glyph selection code.
- (WebCore::SVGFontData::fillSVGGlyphPage): Fill GlyphPage using glyphs defined in the SVG Font.
- * svg/SVGFontData.h:
- * svg/SVGFontElement.cpp:
- (WebCore::SVGFontElement::registerLigaturesInGlyphCache): Enable ligature registration for the use within GlyphPage.
- (WebCore::SVGFontElement::ensureGlyphCache):
- * svg/SVGGlyphMap.h:
- (WebCore::SVGGlyphMap::addGlyphByUnicodeString): Remove setting isValid, it's not needed anymore and gone.
- * svg/svgtags.in: Surround vkern in ENABLE_SVG_FONTS block.
-
-2011-06-19 MORITA Hajime <morrita@google.com>
-
- Reviewed by Dimitri Glazkov.
-
- The internals object should have createShadowContentElement()
- https://bugs.webkit.org/show_bug.cgi?id=62432
-
- This change:
- - added Internals::createShadowContentElement(), which creates,
- ShadowContentElement instance which includes all host children,
- - added Internals::elementRenderTreeAsText() to help content layout testing, and
- - Unabstracted ShadowContentElement by giving a default shouldInclude() implementation.
-
- Test: fast/dom/shadow/create-content-element.html
-
- * WebCore.exp.in:
- * dom/ShadowContentElement.cpp:
- (WebCore::ShadowContentElement::create): Added.
- (WebCore::ShadowContentElement::ShadowContentElement):
- (WebCore::ShadowContentElement::~ShadowContentElement):
- (WebCore::ShadowContentElement::shouldInclude): Gave a default implementation which always returns true.
- * dom/ShadowContentElement.h:
- * html/HTMLSummaryElement.cpp:
- (WebCore::SummaryContentElement::SummaryContentElement):
- * rendering/RenderTreeAsText.cpp:
- (WebCore::externalRepresentation): Factored out for supportin per-element render tree dump.
- * rendering/RenderTreeAsText.h:
- * testing/Internals.cpp:
- (WebCore::Internals::createShadowContentElement): Added.
- (WebCore::Internals::elementRenderTreeAsText): dded.
- * testing/Internals.h:
- * testing/Internals.idl:
-
-2011-06-19 Keishi Hattori <keishi@webkit.org>
-
- Reviewed by Kent Tamura.
-
- Clicking indeterminate checkbox should flip checkedness state
- https://bugs.webkit.org/show_bug.cgi?id=62262
-
- Test: fast/forms/checkbox-click-indeterminate.html
-
- * html/CheckboxInputType.cpp:
- (WebCore::CheckboxInputType::willDispatchClick): Changed to flip checked flag when indeterminate.
-
-2011-06-19 Adam Bergkvist <adam.bergkvist@ericsson.com>
-
- Reviewed by Martin Robinson.
-
- [GTK] Enable Media Stream feature and make it default on
- https://bugs.webkit.org/show_bug.cgi?id=60394
-
- * GNUmakefile.am:
-
-2011-06-19 Una Sabovic <una.sabovic@palm.com>
-
- Reviewed by Darin Adler.
-
- Optimization: avoid call to clearRect() when bgColor is valid when painting the root background in RenderBoxModelObject::paintFillLayerExtended
- https://bugs.webkit.org/show_bug.cgi?id=62908
-
- When root layers base color is fully transparent backgroundRect was cleared before bgColor is applied.
- Instead of clearing the rect we apply CompositeCopy operation when painting the background color.
-
- No new tests. This is an optimization, it doesn't change any existing functionality.
-
- * platform/graphics/GraphicsContext.cpp:
- (WebCore::GraphicsContext::fillRect):
- * platform/graphics/GraphicsContext.h:
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::paintFillLayerExtended):
-
-2011-06-19 Dirk Schulze <krit@webkit.org>
-
- Reviewed by Nikolas Zimmermann.
-
- SVGAnimatorFactory does not support SVGNumber
- https://bugs.webkit.org/show_bug.cgi?id=62938
-
- Follow up of "SVGAnimation should use direct unit animation for SVGLength": https://bugs.webkit.org/show_bug.cgi?id=61368
- This patch continues the conversion to the new concept of SVGAnimatorFactory with SVGNumber. With the new animator for the
- With the new animator for SVGNumber we also support the scientific notation, and everything else that's supported by
- the SVGNumber parsing, removing the SVGAnimate* specific number parsing functionality.
-
- Moving the content of SVGAnimatedType header into its own cpp.
-
- Changed behavior of parseNumberFromString(). It checks if the String simply consits of a number now. parseNumberFromString()
- is using genericParseNumber() for parsing numbers. But this method just stops at the first char that does not belong to a number and
- returns true. I added a check if the current char pointer is at the last char of the String and return false if not.
-
- Tests: svg/animations/svgnumber-animation-1.html
- svg/animations/svgnumber-animation-2.html
- svg/animations/svgnumber-animation-3.html
-
- * CMakeLists.txt: Added new files to build system.
- * GNUmakefile.list.am: Ditto.
- * WebCore.gypi: Ditto.
- * WebCore.pro: Ditto.
- * WebCore.xcodeproj/project.pbxproj: Ditto.
- * svg/SVGAllInOne.cpp: Ditto.
- * svg/SVGAnimateElement.cpp: Use SVGAnimatedNumberAnimator for animations of SVGNumbers.
- (WebCore::SVGAnimateElement::SVGAnimateElement):
- (WebCore::SVGAnimateElement::calculateAnimatedValue):
- (WebCore::SVGAnimateElement::calculateFromAndToValues):
- (WebCore::SVGAnimateElement::calculateFromAndByValues):
- (WebCore::SVGAnimateElement::resetToBaseValue):
- (WebCore::SVGAnimateElement::applyResultsToTarget):
- (WebCore::SVGAnimateElement::calculateDistance):
- * svg/SVGAnimateElement.h: Remove floats for value storage. This is done by SVGAnimatedTypes now.
- * svg/SVGAnimatedNumber.cpp: Added. Animator for SVGNumbers.
- (WebCore::SVGAnimatedNumberAnimator::SVGAnimatedNumberAnimator):
- (WebCore::SVGAnimatedNumberAnimator::constructFromString):
- (WebCore::SVGAnimatedNumberAnimator::calculateFromAndToValues):
- (WebCore::SVGAnimatedNumberAnimator::calculateFromAndByValues):
- (WebCore::SVGAnimatedNumberAnimator::calculateAnimatedValue):
- (WebCore::SVGAnimatedNumberAnimator::calculateDistance):
- * svg/SVGAnimatedNumber.h:
- (WebCore::SVGAnimatedNumberAnimator::~SVGAnimatedNumberAnimator):
- * svg/SVGAnimatedType.cpp: Added. Moved content from header to cpp.
- (WebCore::SVGAnimatedType::SVGAnimatedType):
- (WebCore::SVGAnimatedType::~SVGAnimatedType):
- (WebCore::SVGAnimatedType::createAngle):
- (WebCore::SVGAnimatedType::createLength):
- (WebCore::SVGAnimatedType::createNumber):
- (WebCore::SVGAnimatedType::angle):
- (WebCore::SVGAnimatedType::length):
- (WebCore::SVGAnimatedType::number):
- (WebCore::SVGAnimatedType::valueAsString):
- (WebCore::SVGAnimatedType::setValueAsString):
- * svg/SVGAnimatedType.h: Removed method create(). Allways call type specific create funtcions.
- * svg/SVGAnimatorFactory.h:
- (WebCore::SVGAnimatorFactory::create):
- * svg/SVGParserUtilities.cpp:
- (WebCore::parseNumberFromString): Check if String simply consits of a number. Return false otherwise.
-
-2011-06-18 Dimitri Glazkov <dglazkov@chromium.org>
-
- Reviewed by Darin Adler.
-
- Separate concerns of loading file icons and choosing files.
- https://bugs.webkit.org/show_bug.cgi?id=62931
-
- Loading an icon and choosing files have similar async nature, but completely different
- lifetimes: FileChooser should only exist when we are actually attempting to choose a file,
- not anytime we need to render an input with a proper icon.
-
- This patch introduces FileIconLoader, a separate abstraction for loading an icon, and removes
- any notion of an icon from the FileChooser.
-
- Also, the loaded icon is now stored on the RenderFileUploadControl, which better matches its
- purpose.
-
- Refactoring, covered by existing tests.
-
- * CMakeLists.txt: Added FileIconLoader to build system.
- * GNUmakefile.list.am: Ditto.
- * WebCore.exp.in: Updated.
- * WebCore.gypi: Added FileIconLoader to build system.
- * WebCore.pro: Ditto.
- * WebCore.vcproj/WebCore.vcproj: Ditto.
- * WebCore.xcodeproj/project.pbxproj: Ditto.
- * loader/EmptyClients.h: Updated.
- (WebCore::EmptyChromeClient::loadIconForFiles): Renamed function to better reflect what it does.
- * page/Chrome.cpp:
- (WebCore::Chrome::loadIconForFiles): Ditto.
- * page/Chrome.h: Ditto.
- * page/ChromeClient.h: Ditto.
- * platform/FileChooser.cpp:
- (WebCore::FileChooser::FileChooser): Removed now-unnecessary bool.
- (WebCore::FileChooser::create): Removed the tangled web.
- (WebCore::FileChooser::clear): Removed icon-related code.
- (WebCore::FileChooser::chooseFiles): Ditto.
- * platform/FileChooser.h:
- * platform/FileIconLoader.cpp: Copied from Source/WebCore/platform/FileChooser.cpp.
- (WebCore::FileIconLoaderClient::~FileIconLoaderClient): Added.
- (WebCore::FileIconLoader::create): Added.
- (WebCore::FileIconLoader::disconnectClient): Added.
- (WebCore::FileIconLoader::notifyFinished): Added.
- (WebCore::FileIconLoader::FileIconLoader): Added.
- * platform/FileIconLoader.h: Copied from Source/WebCore/platform/FileChooser.cpp.
- * rendering/RenderFileUploadControl.cpp:
- (WebCore::RenderFileUploadControl::RenderFileUploadControl): Added new member initializations.
- (WebCore::RenderFileUploadControl::~RenderFileUploadControl): Added FileIconLoader disconnect.s
- (WebCore::RenderFileUploadControl::requestIcon): Added a helper.
- (WebCore::RenderFileUploadControl::valueChanged): Changed to request an icon load.
- (WebCore::RenderFileUploadControl::updateRendering): Added implementation of FileIconLoaderClient func.
- (WebCore::RenderFileUploadControl::updateFromElement): Added clearing of icon.
- (WebCore::RenderFileUploadControl::maxFilenameWidth): Changed to use new member directly.
- (WebCore::RenderFileUploadControl::paintObject): Ditto.
- (WebCore::RenderFileUploadControl::fileTextValue): Ditto.
- * rendering/RenderFileUploadControl.h: Updated decls.
-
-2011-06-19 Michael Saboff <msaboff@apple.com>
-
- Reviewed by Darin Adler.
-
- Add notify handler to trigger MemoryPressureHandler in all builds
- https://bugs.webkit.org/show_bug.cgi?id=62679
-
- Removed SIGUSR2 trigger and added a notify trigger for the
- MemoryPressureHandler. The notify trigger is enabled for all builds.
-
- No test added as only added new memory pressure trigger.
-
- * platform/mac/MemoryPressureHandlerMac.mm:
- (WebCore::MemoryPressureHandler::install):
-
-2011-06-19 Robert Hogan <robert@webkit.org>
-
- Reviewed by Alexey Proskuryakov.
-
- [Qt] Qt Counterpart for http://trac.webkit.org/changeset/42078
- https://bugs.webkit.org/show_bug.cgi?id=62514
-
- * platform/network/qt/ResourceHandleQt.cpp:
- (WebCore::WebCoreSynchronousLoader::willSendRequest):
-
-2011-06-18 Yufeng Shen <miletus@chromium.org>
-
- Reviewed by Darin Fisher.
-
- Adding "force" filed to Touch Event
- https://bugs.webkit.org/show_bug.cgi?id=62766
-
- * dom/Document.cpp:
- (WebCore::Document::createTouch):
- * dom/Document.h:
- * dom/Document.idl:
- * dom/Touch.cpp:
- (WebCore::Touch::Touch):
- * dom/Touch.h:
- (WebCore::Touch::create):
- (WebCore::Touch::webkitForce):
- * dom/Touch.idl:
- * page/EventHandler.cpp:
- (WebCore::EventHandler::handleTouchEvent):
- * platform/PlatformTouchPoint.h:
- (WebCore::PlatformTouchPoint::force):
-
-2011-06-18 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Darin Adler.
-
- Rename Document::setContainsFullScreenElementRecursively
- https://bugs.webkit.org/show_bug.cgi?id=62528
-
- No new tests; no net change in functionality, so this is covered by existing tests.
-
- The name of setContainsFullScreenElementRecursively is confusing, since it doesn't actually use
- recursion, and it walks the ancestor tree instead of the descendent tree (as recursive might
- otherwise imply). Move the function into Element, turn it into a member function, and change
- the behavior so that the function operates on the called object's parents (as opposed to the
- object itself).
-
- * dom/Element.h:
- * dom/Element.cpp:
- (WebCore::parentCrossingFrameBoundaries): Added.
- (WebCore::Element::setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries): Renamed and
- moved from Document.
- (WebCore::Element::willRemove): Use the newly renamed function.
- (WebCore::Element::insertedIntoTree): Ditto.
- * dom/Document.h:
- * dom/Document.cpp:
- (WebCore::Document::webkitWillEnterFullScreenForElement): Ditto.
- (WebCore::Document::webkitWillExitFullScreenForElement): Ditto.
- (WebCore::Document::fullScreenElementRemoved): Ditto.
-
-2011-06-18 Alice Boxhall <aboxhall@chromium.org>
-
- Reviewed by Chris Fleizach.
-
- Accessibility description for an element should make use of aria-labelledby.
- https://bugs.webkit.org/show_bug.cgi?id=61995
-
- Tests: accessibility/aria-labelledby-overrides-aria-label.html
-
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::title): Don't return value from aria-labelledby.
- (WebCore::AccessibilityRenderObject::ariaAccessibilityDescription): Return value from aria-labelledby in preference to value from aria-label.
-
-2011-06-18 Christoph Mende <mende.christoph@gmail.com>
-
- Reviewed by Darin Adler.
-
- compilation fails with libpng-1.5
- https://bugs.webkit.org/show_bug.cgi?id=61738
-
- * platform/image-encoders/skia/PNGImageEncoder.cpp:
- (WebCore::writeOutput): Use getter function instead of direct access
-
-2011-06-18 Jeremy Moskovich <jeremy@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Set text-align:-webkit-match-parent for li elements in the default style sheet.
- https://bugs.webkit.org/show_bug.cgi?id=57232
-
- Test: fast/css/list-item-text-align.html
-
- * css/html.css:
- (li): Specify text-align:-webkit-match-parent .
-
-2011-06-18 Holger Hans Peter Freyther <holger@moiji-mobile.com>
-
- Reviewed by Brent Fulgham.
-
- [misc] JSC/wtf/text/*.h should not be included via #include ""
- https://bugs.webkit.org/show_bug.cgi?id=60836
-
- Adam Barth pointed out that one should not include files from
- JavaScriptCore/wtf/text using #include "File.h". This change
- is addressing it.
-
- * CMakeListsEfl.txt: Remove JavaScriptCore/wtf/text.
- * CMakeListsWinCE.txt: Remove JavaScriptCore/wtf/text.
- * platform/graphics/freetype/FontCacheFreeType.cpp: Change CString.h include.
- * platform/graphics/pango/FontCachePango.cpp: Change CString.h include.
- * platform/graphics/wx/FontPlatformData.h: Change StringImpl.h include.
- * platform/network/soup/ResourceHandleSoup.cpp: Change CString.h include.
- * platform/network/soup/SocketStreamHandleSoup.cpp: Change CString.h include.
-
-2011-06-18 Sam Weinig <sam@webkit.org>
-
- Reviewed by Darin Adler.
-
- REGRESSION (r63854-63958): placeholder not shown for number inputs
- https://bugs.webkit.org/show_bug.cgi?id=61095
-
- Refactor HTMLInputElement supportsPlaceholder support to delegate to the
- InputType. Make BaseTextInputType and NumberInputType return true, matching
- the current HTML5 spec.
-
- * html/BaseTextInputType.cpp:
- (WebCore::BaseTextInputType::supportsPlaceholder):
- * html/BaseTextInputType.h:
- Add override implementation of supportsPlaceholder that returns true.
-
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::supportsPlaceholder):
- Delegate to the InputType.
-
- * html/InputType.cpp:
- (WebCore::InputType::supportsPlaceholder):
- * html/InputType.h:
- Add base implementation of supportsPlaceholder that returns false.
-
- * html/NumberInputType.cpp:
- (WebCore::NumberInputType::supportsPlaceholder):
- * html/NumberInputType.h:
- Add override implementation of supportsPlaceholder that returns true.
-
-2011-06-18 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r89154.
- http://trac.webkit.org/changeset/89154
- https://bugs.webkit.org/show_bug.cgi?id=62926
-
- It broke debug build on Qt (Requested by Ossy_weekend on
- #webkit).
-
- * platform/network/qt/ResourceHandleQt.cpp:
-
-2011-06-18 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r89189.
- http://trac.webkit.org/changeset/89189
- https://bugs.webkit.org/show_bug.cgi?id=62925
-
- It broke Qt build (Requested by Ossy_weekend on #webkit).
-
- * bindings/scripts/test/TestInterface.idl:
- * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
- * css/CSSCharsetRule.idl:
- * css/CSSFontFaceRule.idl:
- * css/CSSImportRule.idl:
- * css/CSSPageRule.idl:
- * css/CSSRule.idl:
- * css/CSSStyleRule.idl:
- * css/CSSUnknownRule.idl:
- * css/CSSValue.idl:
- * css/Counter.idl:
- * css/RGBColor.idl:
- * css/Rect.idl:
- * css/StyleSheet.idl:
- * css/WebKitCSSKeyframeRule.idl:
- * css/WebKitCSSTransformValue.idl:
- * dom/Attr.idl:
- * dom/CDATASection.idl:
- * dom/ClientRect.idl:
- * dom/Comment.idl:
- * dom/DOMCoreException.idl:
- * dom/DOMStringMap.idl:
- * dom/DocumentType.idl:
- * dom/Entity.idl:
- * dom/EntityReference.idl:
- * dom/EventException.idl:
- * dom/GeneratedStream.idl:
- * dom/MessageChannel.idl:
- * dom/NodeIterator.idl:
- * dom/Notation.idl:
- * dom/ProcessingInstruction.idl:
- * dom/RangeException.idl:
- * dom/Touch.idl:
- * dom/TreeWalker.idl:
- * fileapi/DOMFileSystem.idl:
- * fileapi/DOMFileSystemSync.idl:
- * fileapi/DirectoryReaderSync.idl:
- * fileapi/File.idl:
- * fileapi/FileEntrySync.idl:
- * fileapi/FileError.idl:
- * fileapi/FileException.idl:
- * fileapi/Metadata.idl:
- * fileapi/OperationNotAllowedException.idl:
- * fileapi/WebKitFlags.idl:
- * html/DOMSettableTokenList.idl:
- * html/HTMLAppletElement.idl:
- * html/HTMLAreaElement.idl:
- * html/HTMLBRElement.idl:
- * html/HTMLBaseElement.idl:
- * html/HTMLBaseFontElement.idl:
- * html/HTMLBlockquoteElement.idl:
- * html/HTMLBodyElement.idl:
- * html/HTMLDListElement.idl:
- * html/HTMLDataListElement.idl:
- * html/HTMLDetailsElement.idl:
- * html/HTMLDirectoryElement.idl:
- * html/HTMLEmbedElement.idl:
- * html/HTMLFontElement.idl:
- * html/HTMLFormElement.idl:
- * html/HTMLFrameElement.idl:
- * html/HTMLFrameSetElement.idl:
- * html/HTMLHRElement.idl:
- * html/HTMLHeadElement.idl:
- * html/HTMLHeadingElement.idl:
- * html/HTMLHtmlElement.idl:
- * html/HTMLIFrameElement.idl:
- * html/HTMLImageElement.idl:
- * html/HTMLIsIndexElement.idl:
- * html/HTMLLIElement.idl:
- * html/HTMLLabelElement.idl:
- * html/HTMLLegendElement.idl:
- * html/HTMLLinkElement.idl:
- * html/HTMLMapElement.idl:
- * html/HTMLMarqueeElement.idl:
- * html/HTMLMenuElement.idl:
- * html/HTMLMetaElement.idl:
- * html/HTMLMeterElement.idl:
- * html/HTMLModElement.idl:
- * html/HTMLOListElement.idl:
- * html/HTMLOptGroupElement.idl:
- * html/HTMLOptionElement.idl:
- * html/HTMLParagraphElement.idl:
- * html/HTMLParamElement.idl:
- * html/HTMLPreElement.idl:
- * html/HTMLProgressElement.idl:
- * html/HTMLQuoteElement.idl:
- * html/HTMLScriptElement.idl:
- * html/HTMLSourceElement.idl:
- * html/HTMLStyleElement.idl:
- * html/HTMLTableCaptionElement.idl:
- * html/HTMLTableCellElement.idl:
- * html/HTMLTableColElement.idl:
- * html/HTMLTitleElement.idl:
- * html/HTMLTrackElement.idl:
- * html/HTMLUListElement.idl:
- * html/ImageData.idl:
- * html/MediaError.idl:
- * html/SpellcheckRange.idl:
- * html/TextMetrics.idl:
- * html/ValidityState.idl:
- * html/VoidCallback.idl:
- * html/canvas/ArrayBuffer.idl:
- * html/canvas/ArrayBufferView.idl:
- * html/canvas/CanvasPattern.idl:
- * html/canvas/CanvasPixelArray.idl:
- * html/canvas/CanvasRenderingContext.idl:
- * html/canvas/DataView.idl:
- * html/canvas/OESStandardDerivatives.idl:
- * html/canvas/OESTextureFloat.idl:
- * html/canvas/WebGLActiveInfo.idl:
- * html/canvas/WebGLBuffer.idl:
- * html/canvas/WebGLContextAttributes.idl:
- * html/canvas/WebGLFramebuffer.idl:
- * html/canvas/WebGLProgram.idl:
- * html/canvas/WebGLRenderbuffer.idl:
- * html/canvas/WebGLShader.idl:
- * html/canvas/WebGLTexture.idl:
- * html/canvas/WebGLUniformLocation.idl:
- * html/canvas/WebGLVertexArrayObjectOES.idl:
- * html/canvas/WebKitLoseContext.idl:
- * inspector/ScriptProfile.idl:
- * inspector/ScriptProfileNode.idl:
- * page/AbstractView.idl:
- * page/BarInfo.idl:
- * page/Coordinates.idl:
- * page/Geoposition.idl:
- * page/MemoryInfo.idl:
- * page/NavigatorUserMediaError.idl:
- * page/Performance.idl:
- * page/PerformanceNavigation.idl:
- * page/PerformanceTiming.idl:
- * page/PositionError.idl:
- * page/Screen.idl:
- * page/SpeechInputEvent.idl:
- * page/SpeechInputResult.idl:
- * page/WebKitAnimation.idl:
- * page/WebKitPoint.idl:
- * page/WorkerNavigator.idl:
- * plugins/DOMMimeType.idl:
- * storage/Database.idl:
- * storage/DatabaseSync.idl:
- * storage/IDBAny.idl:
- * storage/IDBCursorWithValue.idl:
- * storage/IDBDatabaseError.idl:
- * storage/IDBDatabaseException.idl:
- * storage/IDBKey.idl:
- * storage/IDBVersionChangeEvent.idl:
- * storage/IDBVersionChangeRequest.idl:
- * storage/SQLError.idl:
- * storage/SQLException.idl:
- * storage/SQLResultSet.idl:
- * svg/SVGAElement.idl:
- * svg/SVGAltGlyphElement.idl:
- * svg/SVGAngle.idl:
- * svg/SVGAnimateColorElement.idl:
- * svg/SVGAnimateElement.idl:
- * svg/SVGAnimateMotionElement.idl:
- * svg/SVGAnimateTransformElement.idl:
- * svg/SVGAnimatedAngle.idl:
- * svg/SVGAnimatedBoolean.idl:
- * svg/SVGAnimatedEnumeration.idl:
- * svg/SVGAnimatedInteger.idl:
- * svg/SVGAnimatedLength.idl:
- * svg/SVGAnimatedLengthList.idl:
- * svg/SVGAnimatedNumber.idl:
- * svg/SVGAnimatedNumberList.idl:
- * svg/SVGAnimatedPreserveAspectRatio.idl:
- * svg/SVGAnimatedRect.idl:
- * svg/SVGAnimatedString.idl:
- * svg/SVGAnimatedTransformList.idl:
- * svg/SVGCircleElement.idl:
- * svg/SVGClipPathElement.idl:
- * svg/SVGColor.idl:
- * svg/SVGComponentTransferFunctionElement.idl:
- * svg/SVGCursorElement.idl:
- * svg/SVGDefsElement.idl:
- * svg/SVGDescElement.idl:
- * svg/SVGElement.idl:
- * svg/SVGEllipseElement.idl:
- * svg/SVGExternalResourcesRequired.idl:
- * svg/SVGFEBlendElement.idl:
- * svg/SVGFEColorMatrixElement.idl:
- * svg/SVGFEComponentTransferElement.idl:
- * svg/SVGFECompositeElement.idl:
- * svg/SVGFEConvolveMatrixElement.idl:
- * svg/SVGFEDiffuseLightingElement.idl:
- * svg/SVGFEDisplacementMapElement.idl:
- * svg/SVGFEDistantLightElement.idl:
- * svg/SVGFEFloodElement.idl:
- * svg/SVGFEFuncAElement.idl:
- * svg/SVGFEFuncBElement.idl:
- * svg/SVGFEFuncGElement.idl:
- * svg/SVGFEFuncRElement.idl:
- * svg/SVGFEImageElement.idl:
- * svg/SVGFEMergeElement.idl:
- * svg/SVGFEMergeNodeElement.idl:
- * svg/SVGFEOffsetElement.idl:
- * svg/SVGFEPointLightElement.idl:
- * svg/SVGFESpecularLightingElement.idl:
- * svg/SVGFESpotLightElement.idl:
- * svg/SVGFETileElement.idl:
- * svg/SVGFETurbulenceElement.idl:
- * svg/SVGFilterPrimitiveStandardAttributes.idl:
- * svg/SVGFitToViewBox.idl:
- * svg/SVGFontElement.idl:
- * svg/SVGFontFaceElement.idl:
- * svg/SVGFontFaceFormatElement.idl:
- * svg/SVGFontFaceNameElement.idl:
- * svg/SVGFontFaceSrcElement.idl:
- * svg/SVGFontFaceUriElement.idl:
- * svg/SVGForeignObjectElement.idl:
- * svg/SVGGElement.idl:
- * svg/SVGGlyphElement.idl:
- * svg/SVGGradientElement.idl:
- * svg/SVGHKernElement.idl:
- * svg/SVGImageElement.idl:
- * svg/SVGLangSpace.idl:
- * svg/SVGLength.idl:
- * svg/SVGLengthList.idl:
- * svg/SVGLineElement.idl:
- * svg/SVGLinearGradientElement.idl:
- * svg/SVGMPathElement.idl:
- * svg/SVGMaskElement.idl:
- * svg/SVGMatrix.idl:
- * svg/SVGMetadataElement.idl:
- * svg/SVGMissingGlyphElement.idl:
- * svg/SVGNumber.idl:
- * svg/SVGNumberList.idl:
- * svg/SVGPaint.idl:
- * svg/SVGPathSeg.idl:
- * svg/SVGPathSegArcAbs.idl:
- * svg/SVGPathSegArcRel.idl:
- * svg/SVGPathSegClosePath.idl:
- * svg/SVGPathSegCurvetoCubicAbs.idl:
- * svg/SVGPathSegCurvetoCubicRel.idl:
- * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
- * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
- * svg/SVGPathSegCurvetoQuadraticAbs.idl:
- * svg/SVGPathSegCurvetoQuadraticRel.idl:
- * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
- * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
- * svg/SVGPathSegLinetoAbs.idl:
- * svg/SVGPathSegLinetoHorizontalAbs.idl:
- * svg/SVGPathSegLinetoHorizontalRel.idl:
- * svg/SVGPathSegLinetoRel.idl:
- * svg/SVGPathSegLinetoVerticalAbs.idl:
- * svg/SVGPathSegLinetoVerticalRel.idl:
- * svg/SVGPathSegList.idl:
- * svg/SVGPathSegMovetoAbs.idl:
- * svg/SVGPathSegMovetoRel.idl:
- * svg/SVGPatternElement.idl:
- * svg/SVGPoint.idl:
- * svg/SVGPointList.idl:
- * svg/SVGPolygonElement.idl:
- * svg/SVGPolylineElement.idl:
- * svg/SVGPreserveAspectRatio.idl:
- * svg/SVGRadialGradientElement.idl:
- * svg/SVGRect.idl:
- * svg/SVGRectElement.idl:
- * svg/SVGRenderingIntent.idl:
- * svg/SVGScriptElement.idl:
- * svg/SVGSetElement.idl:
- * svg/SVGStopElement.idl:
- * svg/SVGStringList.idl:
- * svg/SVGSwitchElement.idl:
- * svg/SVGSymbolElement.idl:
- * svg/SVGTRefElement.idl:
- * svg/SVGTSpanElement.idl:
- * svg/SVGTextElement.idl:
- * svg/SVGTextPathElement.idl:
- * svg/SVGTextPositioningElement.idl:
- * svg/SVGTitleElement.idl:
- * svg/SVGTransform.idl:
- * svg/SVGTransformList.idl:
- * svg/SVGTransformable.idl:
- * svg/SVGURIReference.idl:
- * svg/SVGUnitTypes.idl:
- * svg/SVGUseElement.idl:
- * svg/SVGVKernElement.idl:
- * svg/SVGViewElement.idl:
- * svg/SVGViewSpec.idl:
- * svg/SVGZoomAndPan.idl:
- * svg/SVGZoomEvent.idl:
- * testing/Internals.idl:
- * webaudio/AudioChannelMerger.idl:
- * webaudio/AudioChannelSplitter.idl:
- * webaudio/AudioDestinationNode.idl:
- * webaudio/AudioGain.idl:
- * webaudio/AudioGainNode.idl:
- * webaudio/AudioProcessingEvent.idl:
- * webaudio/AudioSourceNode.idl:
- * webaudio/BiquadFilterNode.idl:
- * webaudio/ConvolverNode.idl:
- * webaudio/DelayNode.idl:
- * webaudio/DynamicsCompressorNode.idl:
- * webaudio/HighPass2FilterNode.idl:
- * webaudio/JavaScriptAudioNode.idl:
- * webaudio/LowPass2FilterNode.idl:
- * webaudio/OfflineAudioCompletionEvent.idl:
- * workers/SharedWorker.idl:
- * workers/SharedWorkerContext.idl:
- * workers/WorkerLocation.idl:
- * xml/XMLHttpRequestException.idl:
- * xml/XMLHttpRequestProgressEvent.idl:
- * xml/XPathException.idl:
-
-2011-06-17 Mark Pilgrim <pilgrim@chromium.org>
-
- Reviewed by Darin Adler.
-
- Remove LegacyDefaultOptionalArguments flag from IDL files where it would not change behavior
- https://bugs.webkit.org/show_bug.cgi?id=62904
-
- After bug 62750, there are many IDL files that contain the new
- LegacyDefaultOptionalArguments flag that don't actually need it.
- Some examples:
-
- - the IDL file contains no functions
- - the IDL file contains only functions with no arguments
- - the IDL file contains functions, *all* of which use the
- [RequiresAllArguments=raise] extended attribute
-
- This patch simplifies such IDL files by removing the
- LegacyDefaultOptionalArguments flag and (if needed) removing the
- [RequiresAllArguments=raise] extended attribute from each function
- declaration. This patch does not make any required arguments optional
- or any optional arguments required. It changes no behavior at all.
-
- No new tests needed, all existing tests pass.
-
- * bindings/scripts/test/TestInterface.idl:
- * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
- * css/CSSCharsetRule.idl:
- * css/CSSFontFaceRule.idl:
- * css/CSSImportRule.idl:
- * css/CSSPageRule.idl:
- * css/CSSRule.idl:
- * css/CSSStyleRule.idl:
- * css/CSSUnknownRule.idl:
- * css/CSSValue.idl:
- * css/Counter.idl:
- * css/RGBColor.idl:
- * css/Rect.idl:
- * css/StyleSheet.idl:
- * css/WebKitCSSKeyframeRule.idl:
- * css/WebKitCSSTransformValue.idl:
- * dom/Attr.idl:
- * dom/CDATASection.idl:
- * dom/ClientRect.idl:
- * dom/Comment.idl:
- * dom/DOMCoreException.idl:
- * dom/DOMStringMap.idl:
- * dom/DocumentType.idl:
- * dom/Entity.idl:
- * dom/EntityReference.idl:
- * dom/EventException.idl:
- * dom/GeneratedStream.idl:
- * dom/MessageChannel.idl:
- * dom/NodeIterator.idl:
- * dom/Notation.idl:
- * dom/ProcessingInstruction.idl:
- * dom/RangeException.idl:
- * dom/Touch.idl:
- * dom/TreeWalker.idl:
- * fileapi/DOMFileSystem.idl:
- * fileapi/DOMFileSystemSync.idl:
- * fileapi/DirectoryReaderSync.idl:
- * fileapi/File.idl:
- * fileapi/FileEntrySync.idl:
- * fileapi/FileError.idl:
- * fileapi/FileException.idl:
- * fileapi/Metadata.idl:
- * fileapi/OperationNotAllowedException.idl:
- * fileapi/WebKitFlags.idl:
- * html/DOMSettableTokenList.idl:
- * html/HTMLAppletElement.idl:
- * html/HTMLAreaElement.idl:
- * html/HTMLBRElement.idl:
- * html/HTMLBaseElement.idl:
- * html/HTMLBaseFontElement.idl:
- * html/HTMLBlockquoteElement.idl:
- * html/HTMLBodyElement.idl:
- * html/HTMLDListElement.idl:
- * html/HTMLDataListElement.idl:
- * html/HTMLDetailsElement.idl:
- * html/HTMLDirectoryElement.idl:
- * html/HTMLEmbedElement.idl:
- * html/HTMLFontElement.idl:
- * html/HTMLFormElement.idl:
- * html/HTMLFrameElement.idl:
- * html/HTMLFrameSetElement.idl:
- * html/HTMLHRElement.idl:
- * html/HTMLHeadElement.idl:
- * html/HTMLHeadingElement.idl:
- * html/HTMLHtmlElement.idl:
- * html/HTMLIFrameElement.idl:
- * html/HTMLImageElement.idl:
- * html/HTMLIsIndexElement.idl:
- * html/HTMLLIElement.idl:
- * html/HTMLLabelElement.idl:
- * html/HTMLLegendElement.idl:
- * html/HTMLLinkElement.idl:
- * html/HTMLMapElement.idl:
- * html/HTMLMarqueeElement.idl:
- * html/HTMLMenuElement.idl:
- * html/HTMLMetaElement.idl:
- * html/HTMLMeterElement.idl:
- * html/HTMLModElement.idl:
- * html/HTMLOListElement.idl:
- * html/HTMLOptGroupElement.idl:
- * html/HTMLOptionElement.idl:
- * html/HTMLParagraphElement.idl:
- * html/HTMLParamElement.idl:
- * html/HTMLPreElement.idl:
- * html/HTMLProgressElement.idl:
- * html/HTMLQuoteElement.idl:
- * html/HTMLScriptElement.idl:
- * html/HTMLSourceElement.idl:
- * html/HTMLStyleElement.idl:
- * html/HTMLTableCaptionElement.idl:
- * html/HTMLTableCellElement.idl:
- * html/HTMLTableColElement.idl:
- * html/HTMLTitleElement.idl:
- * html/HTMLTrackElement.idl:
- * html/HTMLUListElement.idl:
- * html/ImageData.idl:
- * html/MediaError.idl:
- * html/SpellcheckRange.idl:
- * html/TextMetrics.idl:
- * html/ValidityState.idl:
- * html/VoidCallback.idl:
- * html/canvas/ArrayBuffer.idl:
- * html/canvas/ArrayBufferView.idl:
- * html/canvas/CanvasPattern.idl:
- * html/canvas/CanvasPixelArray.idl:
- * html/canvas/CanvasRenderingContext.idl:
- * html/canvas/DataView.idl:
- * html/canvas/OESStandardDerivatives.idl:
- * html/canvas/OESTextureFloat.idl:
- * html/canvas/WebGLActiveInfo.idl:
- * html/canvas/WebGLBuffer.idl:
- * html/canvas/WebGLContextAttributes.idl:
- * html/canvas/WebGLFramebuffer.idl:
- * html/canvas/WebGLProgram.idl:
- * html/canvas/WebGLRenderbuffer.idl:
- * html/canvas/WebGLShader.idl:
- * html/canvas/WebGLTexture.idl:
- * html/canvas/WebGLUniformLocation.idl:
- * html/canvas/WebGLVertexArrayObjectOES.idl:
- * html/canvas/WebKitLoseContext.idl:
- * inspector/ScriptProfile.idl:
- * inspector/ScriptProfileNode.idl:
- * page/AbstractView.idl:
- * page/BarInfo.idl:
- * page/Coordinates.idl:
- * page/Geoposition.idl:
- * page/MemoryInfo.idl:
- * page/NavigatorUserMediaError.idl:
- * page/Performance.idl:
- * page/PerformanceNavigation.idl:
- * page/PerformanceTiming.idl:
- * page/PositionError.idl:
- * page/Screen.idl:
- * page/SpeechInputEvent.idl:
- * page/SpeechInputResult.idl:
- * page/WebKitAnimation.idl:
- * page/WebKitPoint.idl:
- * page/WorkerNavigator.idl:
- * plugins/DOMMimeType.idl:
- * storage/Database.idl:
- * storage/DatabaseSync.idl:
- * storage/IDBAny.idl:
- * storage/IDBCursorWithValue.idl:
- * storage/IDBDatabaseError.idl:
- * storage/IDBDatabaseException.idl:
- * storage/IDBKey.idl:
- * storage/IDBVersionChangeEvent.idl:
- * storage/IDBVersionChangeRequest.idl:
- * storage/SQLError.idl:
- * storage/SQLException.idl:
- * storage/SQLResultSet.idl:
- * svg/SVGAElement.idl:
- * svg/SVGAltGlyphElement.idl:
- * svg/SVGAngle.idl:
- * svg/SVGAnimateColorElement.idl:
- * svg/SVGAnimateElement.idl:
- * svg/SVGAnimateMotionElement.idl:
- * svg/SVGAnimateTransformElement.idl:
- * svg/SVGAnimatedAngle.idl:
- * svg/SVGAnimatedBoolean.idl:
- * svg/SVGAnimatedEnumeration.idl:
- * svg/SVGAnimatedInteger.idl:
- * svg/SVGAnimatedLength.idl:
- * svg/SVGAnimatedLengthList.idl:
- * svg/SVGAnimatedNumber.idl:
- * svg/SVGAnimatedNumberList.idl:
- * svg/SVGAnimatedPreserveAspectRatio.idl:
- * svg/SVGAnimatedRect.idl:
- * svg/SVGAnimatedString.idl:
- * svg/SVGAnimatedTransformList.idl:
- * svg/SVGCircleElement.idl:
- * svg/SVGClipPathElement.idl:
- * svg/SVGColor.idl:
- * svg/SVGComponentTransferFunctionElement.idl:
- * svg/SVGCursorElement.idl:
- * svg/SVGDefsElement.idl:
- * svg/SVGDescElement.idl:
- * svg/SVGElement.idl:
- * svg/SVGEllipseElement.idl:
- * svg/SVGExternalResourcesRequired.idl:
- * svg/SVGFEBlendElement.idl:
- * svg/SVGFEColorMatrixElement.idl:
- * svg/SVGFEComponentTransferElement.idl:
- * svg/SVGFECompositeElement.idl:
- * svg/SVGFEConvolveMatrixElement.idl:
- * svg/SVGFEDiffuseLightingElement.idl:
- * svg/SVGFEDisplacementMapElement.idl:
- * svg/SVGFEDistantLightElement.idl:
- * svg/SVGFEFloodElement.idl:
- * svg/SVGFEFuncAElement.idl:
- * svg/SVGFEFuncBElement.idl:
- * svg/SVGFEFuncGElement.idl:
- * svg/SVGFEFuncRElement.idl:
- * svg/SVGFEImageElement.idl:
- * svg/SVGFEMergeElement.idl:
- * svg/SVGFEMergeNodeElement.idl:
- * svg/SVGFEOffsetElement.idl:
- * svg/SVGFEPointLightElement.idl:
- * svg/SVGFESpecularLightingElement.idl:
- * svg/SVGFESpotLightElement.idl:
- * svg/SVGFETileElement.idl:
- * svg/SVGFETurbulenceElement.idl:
- * svg/SVGFilterPrimitiveStandardAttributes.idl:
- * svg/SVGFitToViewBox.idl:
- * svg/SVGFontElement.idl:
- * svg/SVGFontFaceElement.idl:
- * svg/SVGFontFaceFormatElement.idl:
- * svg/SVGFontFaceNameElement.idl:
- * svg/SVGFontFaceSrcElement.idl:
- * svg/SVGFontFaceUriElement.idl:
- * svg/SVGForeignObjectElement.idl:
- * svg/SVGGElement.idl:
- * svg/SVGGlyphElement.idl:
- * svg/SVGGradientElement.idl:
- * svg/SVGHKernElement.idl:
- * svg/SVGImageElement.idl:
- * svg/SVGLangSpace.idl:
- * svg/SVGLength.idl:
- * svg/SVGLengthList.idl:
- * svg/SVGLineElement.idl:
- * svg/SVGLinearGradientElement.idl:
- * svg/SVGMPathElement.idl:
- * svg/SVGMaskElement.idl:
- * svg/SVGMatrix.idl:
- * svg/SVGMetadataElement.idl:
- * svg/SVGMissingGlyphElement.idl:
- * svg/SVGNumber.idl:
- * svg/SVGNumberList.idl:
- * svg/SVGPaint.idl:
- * svg/SVGPathSeg.idl:
- * svg/SVGPathSegArcAbs.idl:
- * svg/SVGPathSegArcRel.idl:
- * svg/SVGPathSegClosePath.idl:
- * svg/SVGPathSegCurvetoCubicAbs.idl:
- * svg/SVGPathSegCurvetoCubicRel.idl:
- * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
- * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
- * svg/SVGPathSegCurvetoQuadraticAbs.idl:
- * svg/SVGPathSegCurvetoQuadraticRel.idl:
- * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
- * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
- * svg/SVGPathSegLinetoAbs.idl:
- * svg/SVGPathSegLinetoHorizontalAbs.idl:
- * svg/SVGPathSegLinetoHorizontalRel.idl:
- * svg/SVGPathSegLinetoRel.idl:
- * svg/SVGPathSegLinetoVerticalAbs.idl:
- * svg/SVGPathSegLinetoVerticalRel.idl:
- * svg/SVGPathSegList.idl:
- * svg/SVGPathSegMovetoAbs.idl:
- * svg/SVGPathSegMovetoRel.idl:
- * svg/SVGPatternElement.idl:
- * svg/SVGPoint.idl:
- * svg/SVGPointList.idl:
- * svg/SVGPolygonElement.idl:
- * svg/SVGPolylineElement.idl:
- * svg/SVGPreserveAspectRatio.idl:
- * svg/SVGRadialGradientElement.idl:
- * svg/SVGRect.idl:
- * svg/SVGRectElement.idl:
- * svg/SVGRenderingIntent.idl:
- * svg/SVGScriptElement.idl:
- * svg/SVGSetElement.idl:
- * svg/SVGStopElement.idl:
- * svg/SVGStringList.idl:
- * svg/SVGSwitchElement.idl:
- * svg/SVGSymbolElement.idl:
- * svg/SVGTRefElement.idl:
- * svg/SVGTSpanElement.idl:
- * svg/SVGTextElement.idl:
- * svg/SVGTextPathElement.idl:
- * svg/SVGTextPositioningElement.idl:
- * svg/SVGTitleElement.idl:
- * svg/SVGTransform.idl:
- * svg/SVGTransformList.idl:
- * svg/SVGTransformable.idl:
- * svg/SVGURIReference.idl:
- * svg/SVGUnitTypes.idl:
- * svg/SVGUseElement.idl:
- * svg/SVGVKernElement.idl:
- * svg/SVGViewElement.idl:
- * svg/SVGViewSpec.idl:
- * svg/SVGZoomAndPan.idl:
- * svg/SVGZoomEvent.idl:
- * testing/Internals.idl:
- * webaudio/AudioChannelMerger.idl:
- * webaudio/AudioChannelSplitter.idl:
- * webaudio/AudioDestinationNode.idl:
- * webaudio/AudioGain.idl:
- * webaudio/AudioGainNode.idl:
- * webaudio/AudioProcessingEvent.idl:
- * webaudio/AudioSourceNode.idl:
- * webaudio/BiquadFilterNode.idl:
- * webaudio/ConvolverNode.idl:
- * webaudio/DelayNode.idl:
- * webaudio/DynamicsCompressorNode.idl:
- * webaudio/HighPass2FilterNode.idl:
- * webaudio/JavaScriptAudioNode.idl:
- * webaudio/LowPass2FilterNode.idl:
- * webaudio/OfflineAudioCompletionEvent.idl:
- * workers/SharedWorker.idl:
- * workers/SharedWorkerContext.idl:
- * workers/WorkerLocation.idl:
- * xml/XMLHttpRequestException.idl:
- * xml/XMLHttpRequestProgressEvent.idl:
- * xml/XPathException.idl:
-
-2011-06-17 Dirk Schulze <krit@webkit.org>
-
- Reviewed by Rob Buis.
-
- SVGAnimation should use direct unit animation for SVGAngle
- https://bugs.webkit.org/show_bug.cgi?id=62807
-
- Follow up of "SVGAnimation should use direct unit animation for SVGLength": https://bugs.webkit.org/show_bug.cgi?id=61368
- This patch continues the conversion to the new concept of SVGAnimatorFactory with SVGAngle. We can animate the SVG primitive datatype SVGAngle
- with different unit types now.
- Removed number and unit parser from SVGAnimateElement. This is not needed anymore.
-
- Tests: svg/animations/svgangle-animation-deg-to-grad.html
- svg/animations/svgangle-animation-deg-to-rad.html
- svg/animations/svgangle-animation-grad-to-deg.html
- svg/animations/svgangle-animation-grad-to-rad.html
- svg/animations/svgangle-animation-rad-to-deg.html
- svg/animations/svgangle-animation-rad-to-grad.html
-
- * CMakeLists.txt: Added SVGAnimatedAngle.cpp.
- * GNUmakefile.list.am: Ditto.
- * WebCore.gypi: Ditto.
- * WebCore.pro: Ditto.
- * WebCore.xcodeproj/project.pbxproj: Ditto.
- * svg/SVGAllInOne.cpp: Ditto.
- * svg/SVGAnimateElement.cpp: Make use of SVGAnimator for AnimatedAngle.
- (WebCore::SVGAnimateElement::SVGAnimateElement):
- (WebCore::SVGAnimateElement::determineAnimatedAttributeType): Ditto.
- (WebCore::SVGAnimateElement::calculateAnimatedValue): Ditto.
- (WebCore::SVGAnimateElement::calculateFromAndToValues): Ditto.
- (WebCore::SVGAnimateElement::calculateFromAndByValues): Ditto.
- (WebCore::SVGAnimateElement::resetToBaseValue): Ditto.
- (WebCore::SVGAnimateElement::applyResultsToTarget): Ditto.
- (WebCore::SVGAnimateElement::calculateDistance): Ditto.
- * svg/SVGAnimateElement.h:
- * svg/SVGAnimatedAngle.cpp: Added. Added SVGAnimatedAngleAnimator for animation of SVGAngles.
- (WebCore::SVGAnimatedAngleAnimator::SVGAnimatedAngleAnimator):
- (WebCore::sharedSVGAngle):
- (WebCore::SVGAnimatedAngleAnimator::constructFromString):
- (WebCore::SVGAnimatedAngleAnimator::calculateFromAndToValues):
- (WebCore::SVGAnimatedAngleAnimator::calculateFromAndByValues):
- (WebCore::SVGAnimatedAngleAnimator::calculateAnimatedValue):
- (WebCore::SVGAnimatedAngleAnimator::calculateDistance):
- * svg/SVGAnimatedAngle.h:
- (WebCore::SVGAnimatedAngleAnimator::~SVGAnimatedAngleAnimator):
- * svg/SVGAnimatedLength.cpp:
- (WebCore::sharedSVGLength): Use an ExceptionCode for SVGLength::setValueAsString.
- * svg/SVGAnimatedType.h:
- (WebCore::SVGAnimatedType::create):
- (WebCore::SVGAnimatedType::createAngle):
- (WebCore::SVGAnimatedType::createLength):
- (WebCore::SVGAnimatedType::~SVGAnimatedType):
- (WebCore::SVGAnimatedType::angle):
- (WebCore::SVGAnimatedType::valueAsString):
- (WebCore::SVGAnimatedType::setValueAsString):
- (WebCore::SVGAnimatedType::SVGAnimatedType):
- * svg/SVGAnimatorFactory.h:
- (WebCore::SVGAnimatorFactory::create):
- * svg/SVGLength.cpp:
- (WebCore::SVGLength::setValueAsString): Added an ExceptionCode for consistency reasons and as preparation for future error handling.
- * svg/SVGLength.h:
- * svg/SVGParserUtilities.cpp:
- (WebCore::parseNumberFromString): Added number parser for String objects.
- * svg/SVGParserUtilities.h:
-
-2011-06-17 Anna Cavender <annacc@chromium.org>
-
- Reviewed by Eric Carlson.
-
- Adding initial interfaces and stubs for track
- https://bugs.webkit.org/show_bug.cgi?id=60379
-
- This marks the first patch of a series to implement out-of-band
- <track> support in WebKit. This patch adds some of the core header files
- and their corresponding stub .cpp files.
-
- No new tests because feature is hidden behind VIDEO_TRACK feature
- define, which is turned off.
-
- * CMakeLists.txt:
- * WebCore.gyp/WebCore.gyp:
- * WebCore.gypi:
- * WebCore.pri:
- * WebCore.pro:
- * WebCore.xcodeproj/project.pbxproj:
- * html/CueIndex.cpp: Added.
- * html/CueIndex.h: Added.
- * html/LoadableTextTrack.cpp: Added.
- * html/LoadableTextTrack.h: Added.
- * html/LoadableTextTrackImpl.cpp: Added.
- * html/LoadableTextTrackImpl.h: Added.
- * html/MutableTextTrack.cpp: Added.
- * html/MutableTextTrack.h: Added.
- * html/MutableTextTrackImpl.cpp: Added.
- * html/MutableTextTrackImpl.h: Added.
- * html/TextTrack.cpp: Added.
- * html/TextTrack.h: Added.
- * html/TextTrackCue.cpp: Added.
- * html/TextTrackCue.h: Added.
- * html/TextTrackCueList.cpp: Added.
- * html/TextTrackCueList.h: Added.
- * html/TextTrackPrivate.h: Added.
- * loader/CueLoader.cpp: Added.
- * loader/CueLoader.h: Added.
- * platform/track/CueParser.cpp: Added.
- * platform/track/CueParser.h: Added.
- * platform/track/CueParserPrivate.h: Added.
-
-2011-06-17 Dmitry Lomov <dslomov@google.com>
-
- Reviewed by Adam Barth.
-
- https://bugs.webkit.org/show_bug.cgi?id=62653
- [V8][Chromium] Make StringCache in V8 bindings per-isolate
- This moves StringCache into V8BindingPerIsolateData.
-
- * bindings/v8/V8Binding.cpp:
- (WebCore::cachedStringCallback):
- (WebCore::StringCache::remove):
- (WebCore::StringCache::v8ExternalStringSlow):
- * bindings/v8/V8Binding.h:
- (WebCore::StringCache::StringCache):
- (WebCore::StringCache::v8ExternalString):
- (WebCore::StringCache::clearOnGC):
- (WebCore::V8BindingPerIsolateData::stringCache):
- (WebCore::v8ExternalString):
- * bindings/v8/V8GCController.cpp:
- (WebCore::V8GCController::gcPrologue):
-
-2011-06-17 Julien Chaffraix <jchaffraix@webkit.org>
-
- Reviewed by Darin Adler.
-
- Assertion failure in SVGTextLayoutEngine constructor (!m_layoutAttributes.isEmpty())
- https://bugs.webkit.org/show_bug.cgi?id=62884
-
- Test: svg/custom/assert-empty-layout-attributes.svg
-
- * rendering/svg/SVGRootInlineBox.cpp:
- (WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation): Added a early return here.
- It is not needed to do the text layout algorithm if you don't have any layout information as
- your size is (0, 0) anyway.
-
-2011-06-17 Alexey Proskuryakov <ap@apple.com>
-
- Reviewed by Dan Bernstein.
-
- https://bugs.webkit.org/show_bug.cgi?id=62913
- Use ICU search collator when available
-
- <rdar://problem/8830218> Search on a webpage in Safari conflates some Czech characters
- <rdar://problem/8468873> Safari search doesn't strip Hamza
-
- This changes behaviors that depend on system language, and isn't practically testable.
-
- * editing/TextIterator.cpp: (WebCore::createSearcher): Ask ICU for search collator, if available.
-
-2011-06-17 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r89143.
- http://trac.webkit.org/changeset/89143
- https://bugs.webkit.org/show_bug.cgi?id=62912
-
- Possible Chromeos test breakage (Requested by senorblanco on
- #webkit).
-
- * platform/KURLGoogle.cpp:
- (WebCore::encodeWithURLEscapeSequences):
-
-2011-06-17 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Ada Chan.
-
- Playing video from the manifest crashes on Windows
- https://bugs.webkit.org/show_bug.cgi?id=62901
-
- No new tests. This will be covered by existing App Cache tests.
-
- Two related fixes. 1) Null-check the CFStringRef and CFURLRef created in QTMovie::load() before
- passing them to CFRelease(). 2) Use CFURL to create an appropriate file-URL on windows in
- createFileURLForApplicationCacheResource.
-
- * html/HTMLMediaElement.cpp:
- (WebCore::createFileURLForApplicationCacheResource):
- * platform/graphics/win/QTMovie.cpp:
- (QTMovie::load):
-
-2011-06-17 Abhishek Arya <inferno@chromium.org>
-
- Reviewed by Dave Hyatt.
-
- When we lose ability to propagate floats, need to find topmost
- parent with that overhanging float, and then iterate over its
- sibling blocks to remove the float.
- https://bugs.webkit.org/show_bug.cgi?id=62875
-
- Test: fast/block/float/float-not-removed-from-next-sibling5.html
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::styleDidChange):
- (WebCore::RenderBlock::hasOverhangingFloat):
- * rendering/RenderBlock.h:
-
-2011-06-17 Vsevolod Vlasov <vsevik@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Network panel does not show main resource content for iframes deleted from the document
- https://bugs.webkit.org/show_bug.cgi?id=62810
-
- Test: http/tests/inspector/network/network-iframe-load-and-delete.html
-
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::didFinishLoadingImpl):
- (WebCore::InspectorInstrumentation::didFailLoadingImpl):
- * inspector/InspectorInstrumentation.h:
- (WebCore::InspectorInstrumentation::didFinishLoading):
- (WebCore::InspectorInstrumentation::didFailLoading):
- * inspector/InspectorPageAgent.cpp:
- (WebCore::cachedResourceContent):
- (WebCore::mainResourceContent):
- (WebCore::InspectorPageAgent::sharedBufferContent):
- (WebCore::InspectorPageAgent::resourceContent):
- (WebCore::InspectorPageAgent::getResourceContent):
- (WebCore::InspectorPageAgent::searchInResources):
- * inspector/InspectorPageAgent.h:
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::didReceiveResponse):
- (WebCore::InspectorResourceAgent::didFinishLoading):
- (WebCore::InspectorResourceAgent::didFailLoading):
- (WebCore::InspectorResourceAgent::didReceiveXHRResponse):
- (WebCore::InspectorResourceAgent::getResourceContent):
- * inspector/InspectorResourceAgent.h:
- * inspector/InspectorStyleSheet.cpp:
- (WebCore::InspectorStyleSheet::resourceStyleSheetText):
- * inspector/NetworkResourcesData.cpp:
- (WebCore::NetworkResourcesData::ResourceData::ResourceData):
- (WebCore::NetworkResourcesData::setResourceType):
- (WebCore::NetworkResourcesData::resourceType):
- (WebCore::NetworkResourcesData::addResourceSharedBuffer):
- * inspector/NetworkResourcesData.h:
- (WebCore::NetworkResourcesData::ResourceData::type):
- (WebCore::NetworkResourcesData::ResourceData::setType):
- (WebCore::NetworkResourcesData::ResourceData::buffer):
- (WebCore::NetworkResourcesData::ResourceData::setBuffer):
- (WebCore::NetworkResourcesData::ResourceData::textEncodingName):
- (WebCore::NetworkResourcesData::ResourceData::setTextEncodingName):
- * loader/ResourceLoadNotifier.cpp:
- (WebCore::ResourceLoadNotifier::didFailToLoad):
- (WebCore::ResourceLoadNotifier::dispatchDidFinishLoading):
- * loader/appcache/ApplicationCacheGroup.cpp:
- (WebCore::ApplicationCacheGroup::didFinishLoading):
- (WebCore::ApplicationCacheGroup::didFail):
-
-2011-06-17 Darin Adler <darin@apple.com>
-
- Fix clang build.
-
- * loader/LinkLoader.h: Use struct, not class, to forward-declare struct.
-
-2011-06-17 Chris Evans <cevans@chromium.org>
-
- Reviewed by Adam Barth.
-
- Detect mixed-scripting involving https -> http redirects
- https://bugs.webkit.org/show_bug.cgi?id=62846
-
- Test: http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html
-
- * loader/cache/CachedResourceLoader.cpp:
- (WebCore::CachedResourceLoader::checkInsecureContent):
- (WebCore::CachedResourceLoader::canRequest): break out insecure content logic.
- * loader/cache/CachedResourceLoader.h:
- * loader/cache/CachedResourceRequest.cpp:
- (WebCore::CachedResourceRequest::willSendRequest): check the redirect target for possible insecure content issues.
-
-2011-06-12 Robert Hogan <robert@webkit.org>
-
- Reviewed by Alexey Proskuryakov.
-
- [Qt] Qt Counterpart for http://trac.webkit.org/changeset/42078
- https://bugs.webkit.org/show_bug.cgi?id=62514
-
- * platform/network/qt/ResourceHandleQt.cpp:
- (WebCore::WebCoreSynchronousLoader::willSendRequest):
-
-2011-06-17 Mark Pilgrim <pilgrim@chromium.org>
-
- Reviewed by Adam Barth.
-
- Change IDL code generator to require all arguments by default
- https://bugs.webkit.org/show_bug.cgi?id=62750
-
- As per discussion on public-webapps, WebIDL is changing the default
- behavior to require all function arguments by default and raise an
- exception when an argument is missing. (This behavior is currently
- opt-in in WebKit's IDL system, on a function-by-function basis, with
- the "RequiresAllArguments=Raise" flag.) To order to match WebIDL as
- closely as possible, this patch adds an interface-level
- "LegacyDefaultOptionalArguments" flag and sets it on all existing IDL
- files (500+), then changes the code generator Perl scripts to behave
- the old way in the presence of the flag.
-
- No new tests required, all existing tests still pass.
-
- * bindings/scripts/CodeGeneratorJS.pm:
- * bindings/scripts/CodeGeneratorV8.pm:
- * bindings/scripts/test/TestCallback.idl:
- * bindings/scripts/test/TestInterface.idl:
- * bindings/scripts/test/TestMediaQueryListListener.idl:
- * bindings/scripts/test/TestObj.idl:
- * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
- * css/CSSCharsetRule.idl:
- * css/CSSFontFaceRule.idl:
- * css/CSSImportRule.idl:
- * css/CSSMediaRule.idl:
- * css/CSSPageRule.idl:
- * css/CSSPrimitiveValue.idl:
- * css/CSSRule.idl:
- * css/CSSRuleList.idl:
- * css/CSSStyleDeclaration.idl:
- * css/CSSStyleRule.idl:
- * css/CSSStyleSheet.idl:
- * css/CSSUnknownRule.idl:
- * css/CSSValue.idl:
- * css/CSSValueList.idl:
- * css/Counter.idl:
- * css/MediaList.idl:
- * css/MediaQueryList.idl:
- * css/MediaQueryListListener.idl:
- * css/RGBColor.idl:
- * css/Rect.idl:
- * css/StyleMedia.idl:
- * css/StyleSheet.idl:
- * css/StyleSheetList.idl:
- * css/WebKitCSSKeyframeRule.idl:
- * css/WebKitCSSKeyframesRule.idl:
- * css/WebKitCSSMatrix.idl:
- * css/WebKitCSSTransformValue.idl:
- * dom/Attr.idl:
- * dom/BeforeLoadEvent.idl:
- * dom/BeforeProcessEvent.idl:
- * dom/CDATASection.idl:
- * dom/CharacterData.idl:
- * dom/ClientRect.idl:
- * dom/ClientRectList.idl:
- * dom/Clipboard.idl:
- * dom/Comment.idl:
- * dom/CompositionEvent.idl:
- * dom/CustomEvent.idl:
- * dom/DOMCoreException.idl:
- * dom/DOMImplementation.idl:
- * dom/DOMStringList.idl:
- * dom/DOMStringMap.idl:
- * dom/DataTransferItem.idl:
- * dom/DataTransferItems.idl:
- * dom/DeviceMotionEvent.idl:
- * dom/DeviceOrientationEvent.idl:
- * dom/Document.idl:
- * dom/DocumentFragment.idl:
- * dom/DocumentType.idl:
- * dom/Element.idl:
- * dom/Entity.idl:
- * dom/EntityReference.idl:
- * dom/ErrorEvent.idl:
- * dom/Event.idl:
- * dom/EventException.idl:
- * dom/EventListener.idl:
- * dom/EventTarget.idl:
- * dom/ExclusiveTrackList.idl:
- * dom/GeneratedStream.idl:
- * dom/HashChangeEvent.idl:
- * dom/KeyboardEvent.idl:
- * dom/MessageChannel.idl:
- * dom/MessageEvent.idl:
- * dom/MessagePort.idl:
- * dom/MouseEvent.idl:
- * dom/MultipleTrackList.idl:
- * dom/MutationEvent.idl:
- * dom/NamedNodeMap.idl:
- * dom/Node.idl:
- * dom/NodeFilter.idl:
- * dom/NodeIterator.idl:
- * dom/NodeList.idl:
- * dom/Notation.idl:
- * dom/OverflowEvent.idl:
- * dom/PageTransitionEvent.idl:
- * dom/PopStateEvent.idl:
- * dom/ProcessingInstruction.idl:
- * dom/ProgressEvent.idl:
- * dom/Range.idl:
- * dom/RangeException.idl:
- * dom/RequestAnimationFrameCallback.idl:
- * dom/Stream.idl:
- * dom/StreamEvent.idl:
- * dom/StreamList.idl:
- * dom/StringCallback.idl:
- * dom/Text.idl:
- * dom/TextEvent.idl:
- * dom/Touch.idl:
- * dom/TouchEvent.idl:
- * dom/TouchList.idl:
- * dom/TrackList.idl:
- * dom/TreeWalker.idl:
- * dom/UIEvent.idl:
- * dom/WebKitAnimationEvent.idl:
- * dom/WebKitTransitionEvent.idl:
- * dom/WheelEvent.idl:
- * fileapi/Blob.idl:
- * fileapi/DOMFileSystem.idl:
- * fileapi/DOMFileSystemSync.idl:
- * fileapi/DirectoryEntry.idl:
- * fileapi/DirectoryEntrySync.idl:
- * fileapi/DirectoryReader.idl:
- * fileapi/DirectoryReaderSync.idl:
- * fileapi/EntriesCallback.idl:
- * fileapi/Entry.idl:
- * fileapi/EntryArray.idl:
- * fileapi/EntryArraySync.idl:
- * fileapi/EntryCallback.idl:
- * fileapi/EntrySync.idl:
- * fileapi/ErrorCallback.idl:
- * fileapi/File.idl:
- * fileapi/FileCallback.idl:
- * fileapi/FileEntry.idl:
- * fileapi/FileEntrySync.idl:
- * fileapi/FileError.idl:
- * fileapi/FileException.idl:
- * fileapi/FileList.idl:
- * fileapi/FileReader.idl:
- * fileapi/FileReaderSync.idl:
- * fileapi/FileSystemCallback.idl:
- * fileapi/FileWriter.idl:
- * fileapi/FileWriterCallback.idl:
- * fileapi/FileWriterSync.idl:
- * fileapi/Metadata.idl:
- * fileapi/MetadataCallback.idl:
- * fileapi/OperationNotAllowedException.idl:
- * fileapi/WebKitBlobBuilder.idl:
- * fileapi/WebKitFlags.idl:
- * html/DOMFormData.idl:
- * html/DOMSettableTokenList.idl:
- * html/DOMTokenList.idl:
- * html/DOMURL.idl:
- * html/HTMLAllCollection.idl:
- * html/HTMLAnchorElement.idl:
- * html/HTMLAppletElement.idl:
- * html/HTMLAreaElement.idl:
- * html/HTMLAudioElement.idl:
- * html/HTMLBRElement.idl:
- * html/HTMLBaseElement.idl:
- * html/HTMLBaseFontElement.idl:
- * html/HTMLBlockquoteElement.idl:
- * html/HTMLBodyElement.idl:
- * html/HTMLButtonElement.idl:
- * html/HTMLCanvasElement.idl:
- * html/HTMLCollection.idl:
- * html/HTMLDListElement.idl:
- * html/HTMLDataListElement.idl:
- * html/HTMLDetailsElement.idl:
- * html/HTMLDirectoryElement.idl:
- * html/HTMLDivElement.idl:
- * html/HTMLDocument.idl:
- * html/HTMLElement.idl:
- * html/HTMLEmbedElement.idl:
- * html/HTMLFieldSetElement.idl:
- * html/HTMLFontElement.idl:
- * html/HTMLFormElement.idl:
- * html/HTMLFrameElement.idl:
- * html/HTMLFrameSetElement.idl:
- * html/HTMLHRElement.idl:
- * html/HTMLHeadElement.idl:
- * html/HTMLHeadingElement.idl:
- * html/HTMLHtmlElement.idl:
- * html/HTMLIFrameElement.idl:
- * html/HTMLImageElement.idl:
- * html/HTMLInputElement.idl:
- * html/HTMLIsIndexElement.idl:
- * html/HTMLKeygenElement.idl:
- * html/HTMLLIElement.idl:
- * html/HTMLLabelElement.idl:
- * html/HTMLLegendElement.idl:
- * html/HTMLLinkElement.idl:
- * html/HTMLMapElement.idl:
- * html/HTMLMarqueeElement.idl:
- * html/HTMLMediaElement.idl:
- * html/HTMLMenuElement.idl:
- * html/HTMLMetaElement.idl:
- * html/HTMLMeterElement.idl:
- * html/HTMLModElement.idl:
- * html/HTMLOListElement.idl:
- * html/HTMLObjectElement.idl:
- * html/HTMLOptGroupElement.idl:
- * html/HTMLOptionElement.idl:
- * html/HTMLOptionsCollection.idl:
- * html/HTMLOutputElement.idl:
- * html/HTMLParagraphElement.idl:
- * html/HTMLParamElement.idl:
- * html/HTMLPreElement.idl:
- * html/HTMLProgressElement.idl:
- * html/HTMLQuoteElement.idl:
- * html/HTMLScriptElement.idl:
- * html/HTMLSelectElement.idl:
- * html/HTMLSourceElement.idl:
- * html/HTMLStyleElement.idl:
- * html/HTMLTableCaptionElement.idl:
- * html/HTMLTableCellElement.idl:
- * html/HTMLTableColElement.idl:
- * html/HTMLTableElement.idl:
- * html/HTMLTableRowElement.idl:
- * html/HTMLTableSectionElement.idl:
- * html/HTMLTextAreaElement.idl:
- * html/HTMLTitleElement.idl:
- * html/HTMLTrackElement.idl:
- * html/HTMLUListElement.idl:
- * html/HTMLVideoElement.idl:
- * html/ImageData.idl:
- * html/MediaError.idl:
- * html/SpellcheckRange.idl:
- * html/SpellcheckRangeList.idl:
- * html/TextMetrics.idl:
- * html/TimeRanges.idl:
- * html/ValidityState.idl:
- * html/VoidCallback.idl:
- * html/canvas/ArrayBuffer.idl:
- * html/canvas/ArrayBufferView.idl:
- * html/canvas/CanvasGradient.idl:
- * html/canvas/CanvasPattern.idl:
- * html/canvas/CanvasPixelArray.idl:
- * html/canvas/CanvasRenderingContext.idl:
- * html/canvas/CanvasRenderingContext2D.idl:
- * html/canvas/DataView.idl:
- * html/canvas/Float32Array.idl:
- * html/canvas/Float64Array.idl:
- * html/canvas/Int16Array.idl:
- * html/canvas/Int32Array.idl:
- * html/canvas/Int8Array.idl:
- * html/canvas/OESStandardDerivatives.idl:
- * html/canvas/OESTextureFloat.idl:
- * html/canvas/OESVertexArrayObject.idl:
- * html/canvas/Uint16Array.idl:
- * html/canvas/Uint32Array.idl:
- * html/canvas/Uint8Array.idl:
- * html/canvas/WebGLActiveInfo.idl:
- * html/canvas/WebGLBuffer.idl:
- * html/canvas/WebGLContextAttributes.idl:
- * html/canvas/WebGLContextEvent.idl:
- * html/canvas/WebGLFramebuffer.idl:
- * html/canvas/WebGLProgram.idl:
- * html/canvas/WebGLRenderbuffer.idl:
- * html/canvas/WebGLRenderingContext.idl:
- * html/canvas/WebGLShader.idl:
- * html/canvas/WebGLTexture.idl:
- * html/canvas/WebGLUniformLocation.idl:
- * html/canvas/WebGLVertexArrayObjectOES.idl:
- * html/canvas/WebKitLoseContext.idl:
- * inspector/InjectedScriptHost.idl:
- * inspector/InspectorFrontendHost.idl:
- * inspector/JavaScriptCallFrame.idl:
- * inspector/ScriptProfile.idl:
- * inspector/ScriptProfileNode.idl:
- * loader/appcache/DOMApplicationCache.idl:
- * notifications/Notification.idl:
- * notifications/NotificationCenter.idl:
- * page/AbstractView.idl:
- * page/BarInfo.idl:
- * page/Console.idl:
- * page/Coordinates.idl:
- * page/Crypto.idl:
- * page/DOMSelection.idl:
- * page/DOMWindow.idl:
- * page/EventSource.idl:
- * page/Geolocation.idl:
- * page/Geoposition.idl:
- * page/History.idl:
- * page/Location.idl:
- * page/MemoryInfo.idl:
- * page/Navigator.idl:
- * page/NavigatorUserMediaError.idl:
- * page/NavigatorUserMediaErrorCallback.idl:
- * page/NavigatorUserMediaSuccessCallback.idl:
- * page/Performance.idl:
- * page/PerformanceNavigation.idl:
- * page/PerformanceTiming.idl:
- * page/PositionCallback.idl:
- * page/PositionError.idl:
- * page/PositionErrorCallback.idl:
- * page/Screen.idl:
- * page/SpeechInputEvent.idl:
- * page/SpeechInputResult.idl:
- * page/SpeechInputResultList.idl:
- * page/WebKitAnimation.idl:
- * page/WebKitAnimationList.idl:
- * page/WebKitPoint.idl:
- * page/WorkerNavigator.idl:
- * plugins/DOMMimeType.idl:
- * plugins/DOMMimeTypeArray.idl:
- * plugins/DOMPlugin.idl:
- * plugins/DOMPluginArray.idl:
- * storage/Database.idl:
- * storage/DatabaseCallback.idl:
- * storage/DatabaseSync.idl:
- * storage/IDBAny.idl:
- * storage/IDBCursor.idl:
- * storage/IDBCursorWithValue.idl:
- * storage/IDBDatabase.idl:
- * storage/IDBDatabaseError.idl:
- * storage/IDBDatabaseException.idl:
- * storage/IDBFactory.idl:
- * storage/IDBIndex.idl:
- * storage/IDBKey.idl:
- * storage/IDBKeyRange.idl:
- * storage/IDBObjectStore.idl:
- * storage/IDBRequest.idl:
- * storage/IDBTransaction.idl:
- * storage/IDBVersionChangeEvent.idl:
- * storage/IDBVersionChangeRequest.idl:
- * storage/SQLError.idl:
- * storage/SQLException.idl:
- * storage/SQLResultSet.idl:
- * storage/SQLResultSetRowList.idl:
- * storage/SQLStatementCallback.idl:
- * storage/SQLStatementErrorCallback.idl:
- * storage/SQLTransaction.idl:
- * storage/SQLTransactionCallback.idl:
- * storage/SQLTransactionErrorCallback.idl:
- * storage/SQLTransactionSync.idl:
- * storage/SQLTransactionSyncCallback.idl:
- * storage/Storage.idl:
- * storage/StorageEvent.idl:
- * storage/StorageInfo.idl:
- * storage/StorageInfoErrorCallback.idl:
- * storage/StorageInfoQuotaCallback.idl:
- * storage/StorageInfoUsageCallback.idl:
- * svg/ElementTimeControl.idl:
- * svg/SVGAElement.idl:
- * svg/SVGAltGlyphElement.idl:
- * svg/SVGAngle.idl:
- * svg/SVGAnimateColorElement.idl:
- * svg/SVGAnimateElement.idl:
- * svg/SVGAnimateMotionElement.idl:
- * svg/SVGAnimateTransformElement.idl:
- * svg/SVGAnimatedAngle.idl:
- * svg/SVGAnimatedBoolean.idl:
- * svg/SVGAnimatedEnumeration.idl:
- * svg/SVGAnimatedInteger.idl:
- * svg/SVGAnimatedLength.idl:
- * svg/SVGAnimatedLengthList.idl:
- * svg/SVGAnimatedNumber.idl:
- * svg/SVGAnimatedNumberList.idl:
- * svg/SVGAnimatedPreserveAspectRatio.idl:
- * svg/SVGAnimatedRect.idl:
- * svg/SVGAnimatedString.idl:
- * svg/SVGAnimatedTransformList.idl:
- * svg/SVGAnimationElement.idl:
- * svg/SVGCircleElement.idl:
- * svg/SVGClipPathElement.idl:
- * svg/SVGColor.idl:
- * svg/SVGComponentTransferFunctionElement.idl:
- * svg/SVGCursorElement.idl:
- * svg/SVGDefsElement.idl:
- * svg/SVGDescElement.idl:
- * svg/SVGDocument.idl:
- * svg/SVGElement.idl:
- * svg/SVGElementInstance.idl:
- * svg/SVGElementInstanceList.idl:
- * svg/SVGEllipseElement.idl:
- * svg/SVGException.idl:
- * svg/SVGExternalResourcesRequired.idl:
- * svg/SVGFEBlendElement.idl:
- * svg/SVGFEColorMatrixElement.idl:
- * svg/SVGFEComponentTransferElement.idl:
- * svg/SVGFECompositeElement.idl:
- * svg/SVGFEConvolveMatrixElement.idl:
- * svg/SVGFEDiffuseLightingElement.idl:
- * svg/SVGFEDisplacementMapElement.idl:
- * svg/SVGFEDistantLightElement.idl:
- * svg/SVGFEDropShadowElement.idl:
- * svg/SVGFEFloodElement.idl:
- * svg/SVGFEFuncAElement.idl:
- * svg/SVGFEFuncBElement.idl:
- * svg/SVGFEFuncGElement.idl:
- * svg/SVGFEFuncRElement.idl:
- * svg/SVGFEGaussianBlurElement.idl:
- * svg/SVGFEImageElement.idl:
- * svg/SVGFEMergeElement.idl:
- * svg/SVGFEMergeNodeElement.idl:
- * svg/SVGFEMorphologyElement.idl:
- * svg/SVGFEOffsetElement.idl:
- * svg/SVGFEPointLightElement.idl:
- * svg/SVGFESpecularLightingElement.idl:
- * svg/SVGFESpotLightElement.idl:
- * svg/SVGFETileElement.idl:
- * svg/SVGFETurbulenceElement.idl:
- * svg/SVGFilterElement.idl:
- * svg/SVGFilterPrimitiveStandardAttributes.idl:
- * svg/SVGFitToViewBox.idl:
- * svg/SVGFontElement.idl:
- * svg/SVGFontFaceElement.idl:
- * svg/SVGFontFaceFormatElement.idl:
- * svg/SVGFontFaceNameElement.idl:
- * svg/SVGFontFaceSrcElement.idl:
- * svg/SVGFontFaceUriElement.idl:
- * svg/SVGForeignObjectElement.idl:
- * svg/SVGGElement.idl:
- * svg/SVGGlyphElement.idl:
- * svg/SVGGradientElement.idl:
- * svg/SVGHKernElement.idl:
- * svg/SVGImageElement.idl:
- * svg/SVGLangSpace.idl:
- * svg/SVGLength.idl:
- * svg/SVGLengthList.idl:
- * svg/SVGLineElement.idl:
- * svg/SVGLinearGradientElement.idl:
- * svg/SVGLocatable.idl:
- * svg/SVGMPathElement.idl:
- * svg/SVGMarkerElement.idl:
- * svg/SVGMaskElement.idl:
- * svg/SVGMatrix.idl:
- * svg/SVGMetadataElement.idl:
- * svg/SVGMissingGlyphElement.idl:
- * svg/SVGNumber.idl:
- * svg/SVGNumberList.idl:
- * svg/SVGPaint.idl:
- * svg/SVGPathElement.idl:
- * svg/SVGPathSeg.idl:
- * svg/SVGPathSegArcAbs.idl:
- * svg/SVGPathSegArcRel.idl:
- * svg/SVGPathSegClosePath.idl:
- * svg/SVGPathSegCurvetoCubicAbs.idl:
- * svg/SVGPathSegCurvetoCubicRel.idl:
- * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
- * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
- * svg/SVGPathSegCurvetoQuadraticAbs.idl:
- * svg/SVGPathSegCurvetoQuadraticRel.idl:
- * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
- * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
- * svg/SVGPathSegLinetoAbs.idl:
- * svg/SVGPathSegLinetoHorizontalAbs.idl:
- * svg/SVGPathSegLinetoHorizontalRel.idl:
- * svg/SVGPathSegLinetoRel.idl:
- * svg/SVGPathSegLinetoVerticalAbs.idl:
- * svg/SVGPathSegLinetoVerticalRel.idl:
- * svg/SVGPathSegList.idl:
- * svg/SVGPathSegMovetoAbs.idl:
- * svg/SVGPathSegMovetoRel.idl:
- * svg/SVGPatternElement.idl:
- * svg/SVGPoint.idl:
- * svg/SVGPointList.idl:
- * svg/SVGPolygonElement.idl:
- * svg/SVGPolylineElement.idl:
- * svg/SVGPreserveAspectRatio.idl:
- * svg/SVGRadialGradientElement.idl:
- * svg/SVGRect.idl:
- * svg/SVGRectElement.idl:
- * svg/SVGRenderingIntent.idl:
- * svg/SVGSVGElement.idl:
- * svg/SVGScriptElement.idl:
- * svg/SVGSetElement.idl:
- * svg/SVGStopElement.idl:
- * svg/SVGStringList.idl:
- * svg/SVGStylable.idl:
- * svg/SVGStyleElement.idl:
- * svg/SVGSwitchElement.idl:
- * svg/SVGSymbolElement.idl:
- * svg/SVGTRefElement.idl:
- * svg/SVGTSpanElement.idl:
- * svg/SVGTests.idl:
- * svg/SVGTextContentElement.idl:
- * svg/SVGTextElement.idl:
- * svg/SVGTextPathElement.idl:
- * svg/SVGTextPositioningElement.idl:
- * svg/SVGTitleElement.idl:
- * svg/SVGTransform.idl:
- * svg/SVGTransformList.idl:
- * svg/SVGTransformable.idl:
- * svg/SVGURIReference.idl:
- * svg/SVGUnitTypes.idl:
- * svg/SVGUseElement.idl:
- * svg/SVGVKernElement.idl:
- * svg/SVGViewElement.idl:
- * svg/SVGViewSpec.idl:
- * svg/SVGZoomAndPan.idl:
- * svg/SVGZoomEvent.idl:
- * testing/Internals.idl:
- * webaudio/AudioBuffer.idl:
- * webaudio/AudioBufferSourceNode.idl:
- * webaudio/AudioChannelMerger.idl:
- * webaudio/AudioChannelSplitter.idl:
- * webaudio/AudioContext.idl:
- * webaudio/AudioDestinationNode.idl:
- * webaudio/AudioGain.idl:
- * webaudio/AudioGainNode.idl:
- * webaudio/AudioListener.idl:
- * webaudio/AudioNode.idl:
- * webaudio/AudioPannerNode.idl:
- * webaudio/AudioParam.idl:
- * webaudio/AudioProcessingEvent.idl:
- * webaudio/AudioSourceNode.idl:
- * webaudio/BiquadFilterNode.idl:
- * webaudio/ConvolverNode.idl:
- * webaudio/DelayNode.idl:
- * webaudio/DynamicsCompressorNode.idl:
- * webaudio/HighPass2FilterNode.idl:
- * webaudio/JavaScriptAudioNode.idl:
- * webaudio/LowPass2FilterNode.idl:
- * webaudio/OfflineAudioCompletionEvent.idl:
- * webaudio/RealtimeAnalyserNode.idl:
- * websockets/CloseEvent.idl:
- * websockets/WebSocket.idl:
- * workers/AbstractWorker.idl:
- * workers/DedicatedWorkerContext.idl:
- * workers/SharedWorker.idl:
- * workers/SharedWorkerContext.idl:
- * workers/Worker.idl:
- * workers/WorkerContext.idl:
- * workers/WorkerLocation.idl:
- * xml/DOMParser.idl:
- * xml/XMLHttpRequest.idl:
- * xml/XMLHttpRequestException.idl:
- * xml/XMLHttpRequestProgressEvent.idl:
- * xml/XMLHttpRequestUpload.idl:
- * xml/XMLSerializer.idl:
- * xml/XPathEvaluator.idl:
- * xml/XPathException.idl:
- * xml/XPathExpression.idl:
- * xml/XPathNSResolver.idl:
- * xml/XPathResult.idl:
- * xml/XSLTProcessor.idl:
-
-2011-06-17 Cary Clark <caryclark@google.com>
-
- Reviewed by Mihai Parparita.
-
- Exclude isCALayerContext check if building Chrome to use Skia on Mac.
- https://bugs.webkit.org/show_bug.cgi?id=62859
-
- No new tests. This change does not affect existing functionality.
-
- * platform/chromium/ScrollbarThemeChromiumMac.mm:
- (WebCore::ScrollbarThemeChromiumMac::paint):
- Add a conditional to always set drawing into layer to false if
- Skia is the WebKit rendering engine. Once USE(SKIA) is enabled,
- this condition can be removed.
-
-2011-06-17 Gavin Peters <gavinp@chromium.org>
-
- Reviewed by Adam Barth.
-
- refactor HTMLLinkElement to allow Link header implementation
- https://bugs.webkit.org/show_bug.cgi?id=51941
-
- This change moves the LinkRelAttribute helper struct into its own
- file in html/, since the LinkRelAttribute is used by the LinkLoader,
- and leaving it in HTMLLinkElement would have been too circular for
- my tastes.
-
- The new LinkLoader class contains the loader code for icons, dns
- prefetching and prefetch/prerender/subresource into a common
- LinkLoader. This is a step in getting the Link header working in
- WebKit, as discussed in webkit-dev For more information, see
- thread "beforeload & link
- (esp rel prefetch)".
-
- No new tests, since this is a refactoring.
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * html/HTMLLinkElement.cpp:
- (WebCore::HTMLLinkElement::HTMLLinkElement):
- (WebCore::HTMLLinkElement::~HTMLLinkElement):
- (WebCore::HTMLLinkElement::parseMappedAttribute):
- (WebCore::HTMLLinkElement::shouldLoadLink):
- (WebCore::HTMLLinkElement::process):
- (WebCore::HTMLLinkElement::linkLoaded):
- (WebCore::HTMLLinkElement::linkLoadingErrored):
- * html/HTMLLinkElement.h:
- * html/LinkRelAttribute.cpp: Added.
- (WebCore::LinkRelAttribute::LinkRelAttribute):
- * html/LinkRelAttribute.h: Added.
- * html/parser/HTMLPreloadScanner.cpp:
- (WebCore::HTMLNames::PreloadTask::relAttributeIsStyleSheet):
- * loader/LinkLoader.cpp: Added.
- (WebCore::LinkLoader::LinkLoader):
- (WebCore::LinkLoader::~LinkLoader):
- (WebCore::LinkLoader::linkLoadedTimerFired):
- (WebCore::LinkLoader::notifyFinished):
- (WebCore::LinkLoader::loadLink):
- * loader/LinkLoader.h: Added.
- * loader/LinkLoaderClient.h: Added.
- (WebCore::LinkLoaderClient::~LinkLoaderClient):
-
-2011-06-17 Annie Sullivan <sullivan@chromium.org>
-
- Reviewed by Ryosuke Niwa.
-
- div can be a child of span on InsertParagraph
- https://bugs.webkit.org/show_bug.cgi?id=62687
-
- Handle the special case where the insertion point is the first position in the enclosing block node.
- The div for the new paragraph should be inserted as a child of the enclosing block node, otherwise
- it could be inserted as a child of a span or other inline element.
-
- * editing/InsertParagraphSeparatorCommand.cpp:
- (WebCore::InsertParagraphSeparatorCommand::doApply):
-
-2011-06-17 Eric Uhrhane <ericu@chromium.org>
-
- Reviewed by Adam Barth.
-
- [filesystem/Chromium] Filesystem paths need proper URL escaping
- https://bugs.webkit.org/show_bug.cgi?id=62811
-
- Fix http://code.google.com/p/chromium/issues/detail?id=78860 by making
- KURLChromium.cpp's escaping code actually work.
-
- Make encodeWithURLEscapeSequences call into googleurl to do proper
- escaping. Tested in WebKit/chromium/tests/KURLTest.cpp.
- * platform/KURLGoogle.cpp:
- (WebCore::encodeWithURLEscapeSequences):
-
-2011-06-17 Julien Chaffraix <jchaffraix@google.com>
-
- Reviewed by Darin Adler.
-
- Avoid extra work in RenderStyle::visitedDependentColor
- https://bugs.webkit.org/show_bug.cgi?id=62868
-
- Refactoring only, no new test required.
-
- The code used to cache the result of borderStyleForColorProperty. However
- the value was either overwritten inside colorIncludingFallback or there was
- not border. Thus I removed borderStyleForColorProperty and inlined the logic in
- colorIncludingFallback.
-
- This shows some nice performance improvements on the bug page (table of 22k rows with a link
- for each row). Using pprof, the time spend in RenderStyle::visitedDependentColor is reduced
- by ~10%, mostly due to removing the call to borderStyleForColorProperty.
-
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::colorIncludingFallback): We now calculate the borderStyle
- inside this function (which was already the case I just made it explicit). Also
- simplified the final 'if' as the border will be set only for the right CSS border
- properties.
-
- (WebCore::RenderStyle::visitedDependentColor): Removed the |borderStyle| variable
- as it was never read.
-
- * rendering/style/RenderStyle.h: Removed the parameter.
-
-2011-06-16 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: breakpointsWithoutSourceFile values should be a maps, not arrays.
- https://bugs.webkit.org/show_bug.cgi?id=62714
-
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
- (WebInspector.DebuggerPresentationModel.prototype.setFormatSourceFiles):
- (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpointsFromSettings):
- (WebInspector.DebuggerPresentationModel.prototype._saveBreakpoints):
- (WebInspector.DebuggerPresentationModel.prototype._reset):
- * inspector/front-end/Settings.js:
- (WebInspector.Settings):
- (WebInspector.Settings.prototype._set):
-
-2011-06-17 Joone Hur <joone.hur@collabora.co.uk>
-
- Reviewed by Martin Robinson.
-
- [GTK] Replace GdkRectangle by cairo_rectangle_int_t
- https://bugs.webkit.org/show_bug.cgi?id=60687
-
- Replace GdkRectangle by cairo_rectangle_int_t.
-
- * GNUmakefile.list.am: Added IntRectCairo.cpp instead of IntRectGtk.cpp
- * platform/graphics/IntRect.h: IntRect class can be instantiated through the given cairo_rectangle_int_t
- instead of GdkRectangle.
- * platform/graphics/cairo/IntRectCairo.cpp: Add the constructor and operator for handling cairo_rectangle_int_t.
- (WebCore::IntRect::IntRect):
- (WebCore::IntRect::operator cairo_rectangle_int_t):
- * platform/graphics/gtk/IntRectGtk.cpp: Include this file only for Gtk+2.
- * platform/gtk/GtkPluginWidget.cpp: Replace GdkRectangle by cairo_rectangle_int_t.
- (WebCore::GtkPluginWidget::invalidateRect):
-
-2011-06-17 Alexander Pavlov <apavlov@chromium.org>
-
- Reviewed by David Hyatt.
-
- Web Inspector: support for emulating element's pseudo class state in styleRulesForElement()
- https://bugs.webkit.org/show_bug.cgi?id=61070
-
- This patch is a slight rework of a solution by Alexander Udalov.
- It is supposed to help implement a feature in Web Inspector to examine
- style rules matched for different states of a given element.
- Web Inspector is supposed to pass a mask of ForcePseudoClassFlags to
- styleRulesForElement(), so that it will filter only the rules whose state
- (a set of pseudo classes in their selectors) matches a given
- mask, ignoring the state of the element itself.
- DoNotForcePseudoClassMask is the default behaviour; it always examines
- the state of a given element to make a match.
-
- Tests will be provided in a subsequent Web Inspector change employing this functionality.
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::initForStyleResolve):
- (WebCore::CSSStyleSelector::styleRulesForElement):
- (WebCore::CSSStyleSelector::pseudoStyleRulesForElement):
- (WebCore::CSSStyleSelector::checkSelector):
- (WebCore::CSSStyleSelector::SelectorChecker::checkSelector):
- (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
- * css/CSSStyleSelector.h:
-
-2011-06-17 Yury Semikhatsky <yurys@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: support preview mode for live edit changes
- https://bugs.webkit.org/show_bug.cgi?id=62851
-
- Debugger.editScriptSource command now supports preview flag.
-
- * bindings/js/ScriptDebugServer.cpp:
- (WebCore::ScriptDebugServer::editScriptSource):
- * bindings/js/ScriptDebugServer.h:
- * bindings/v8/ScriptDebugServer.cpp:
- (WebCore::ScriptDebugServer::editScriptSource):
- * bindings/v8/ScriptDebugServer.h:
- * inspector/Inspector.json:
- * inspector/InspectorDebuggerAgent.cpp:
- (WebCore::InspectorDebuggerAgent::editScriptSource):
- * inspector/InspectorDebuggerAgent.h:
-
-2011-06-09 Hans Wennborg <hans@chromium.org>
-
- Reviewed by Tony Gentilcore.
-
- IndexedDB: backingStoreMap is per backing store, not per database
- https://bugs.webkit.org/show_bug.cgi?id=62382
-
- IDBFactoryBackendImpl::m_backingStoreMap should contain an entry per
- backing store, not per database. Otherwise, we might accidentally open
- the same backing store more than once, which is dangerous.
-
- Also tweak the code that chooses backing store type. It should be
- simple: we default to SQLite; if LevelDB is specifically requested, we
- use that. If LevelDB is requested and there is a SQLite database, we
- migrate.
-
- No new tests, just cleaning up the code.
-
- * storage/IDBFactoryBackendImpl.cpp:
- (WebCore::IDBFactoryBackendImpl::addIDBBackingStore):
- (WebCore::IDBFactoryBackendImpl::removeIDBBackingStore):
- (WebCore::IDBFactoryBackendImpl::open):
- (WebCore::IDBFactoryBackendImpl::migrateFromSQLiteToLevelDB):
- * storage/IDBFactoryBackendImpl.h:
-
-2011-06-17 Andrey Adaikin <aandrey@google.com>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Source code which includes non-Latin character does not correspond to line number field on Inspector
- https://bugs.webkit.org/show_bug.cgi?id=62845
-
- * inspector/front-end/TextViewer.js:
- (WebInspector.TextViewer.prototype._syncLineHeight):
- (WebInspector.TextEditorGutterPanel):
- (WebInspector.TextEditorGutterChunk.prototype.set expanded):
-
-2011-06-16 Yury Semikhatsky <yurys@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: return description of the changes applied in response to editScriptSource command
- https://bugs.webkit.org/show_bug.cgi?id=62801
-
- Return description of the changes made in response to Debugger.editScriptSource command.
-
- * bindings/js/ScriptDebugServer.cpp:
- (WebCore::ScriptDebugServer::editScriptSource):
- * bindings/js/ScriptDebugServer.h:
- * bindings/v8/DebuggerScript.js:
- ():
- * bindings/v8/ScriptDebugServer.cpp:
- (WebCore::ScriptDebugServer::editScriptSource):
- * bindings/v8/ScriptDebugServer.h:
- * inspector/Inspector.json:
-
-2011-06-16 Gabor Loki <loki@webkit.org>
-
- [Qt] Unreviewed, build fix after r89118.
-
- * dom/XMLDocumentParserQt.cpp:
- (WebCore::XMLDocumentParser::initializeParserContext):
-
-2011-06-16 Yuta Kitamura <yutak@chromium.org>
-
- Unreviewed, rolling out r89073.
- http://trac.webkit.org/changeset/89073
- https://bugs.webkit.org/show_bug.cgi?id=62783
-
- Broke Chromium Clang build.
-
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
- (wkScrollbarPainterPaint):
- * platform/chromium/ScrollbarThemeChromiumMac.h:
- * platform/chromium/ScrollbarThemeChromiumMac.mm:
- (WebCore::ScrollbarThemeChromiumMac::paint):
-
-2011-06-16 Jeffrey Pfau <jpfau@apple.com>
-
- Reviewed by Alexey Proskuryakov.
-
- Using null bytes when setting innerHTML in XTHML results in assertion and a crash due to null-pointer dereference
- https://bugs.webkit.org/show_bug.cgi?id=61053
-
- XML parsing in-memory XML chunks now passes around a string object instead of a C string, ensuring null characters are properly handled.
-
- Tests: fast/parser/xhtml-innerhtml-null-byte-first.xhtml
- fast/parser/xhtml-innerhtml-null-byte.xhtml
-
- * dom/XMLDocumentParser.h:
- * dom/XMLDocumentParserLibxml2.cpp:
- (WebCore::XMLParserContext::createMemoryParser):
- (WebCore::XMLDocumentParser::initializeParserContext):
- (WebCore::XMLDocumentParser::appendFragmentSource):
-
-2011-06-16 Robin Dunn <robin@alldunn.com>
-
- Reviewed by Kevin Ollivier.
-
- [wx] Account for differing byte order when decoding images in the PPC build.
-
- https://bugs.webkit.org/show_bug.cgi?id=62830
-
- * platform/image-decoders/wx/ImageDecoderWx.cpp:
- (WebCore::ImageFrame::asNewNativeImage):
-
-2011-06-16 Darin Adler <darin@apple.com>
-
- Reviewed by Dan Bernstein.
-
- REGRESSION (r89035): HTMLTableRowsCollection constructor crashes; depends on compiler order of evaluation
- https://bugs.webkit.org/show_bug.cgi?id=62836
-
- Covered by existing tests on platforms where it occurs.
-
- * html/HTMLTableRowsCollection.cpp:
- (WebCore::HTMLTableRowsCollection::HTMLTableRowsCollection): Add a call to get()
- to prevent the passing behavior of PassRefPtr from kicking in and changing the
- table pointer to 0, possibly before it is dereferenced.
-
-2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r89055.
- http://trac.webkit.org/changeset/89055
- https://bugs.webkit.org/show_bug.cgi?id=62835
-
- Caused failures on all ports except GTK (Requested by
- mrobinson on #webkit).
-
- * platform/network/soup/ResourceHandleSoup.cpp:
- (WebCore::statusWillBeHandledBySoup):
- (WebCore::soupErrorShouldCauseLoadFailure):
- (WebCore::convertSoupErrorToResourceError):
- (WebCore::sendRequestCallback):
-
-2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
-
- Reviewed by Darin Adler.
-
- Support logical line movement in vertical writing mode
- https://bugs.webkit.org/show_bug.cgi?id=62743
-
- Fixed the bug by making xOffsetForVerticalNavigation (now called lineDirectionPointForVerticalNavigation)
- aware of writing modes. Also extracted absoluteLineDirectionPointToLocalPointInBlock from previousLinePosition
- and nextLinePosition to convert a line direction point to a physical point relative to a root inline box.
-
- Tests: editing/selection/vertical-lr-ltr-extend-line-backward-br.html
- editing/selection/vertical-lr-ltr-extend-line-forward-br.html
- editing/selection/vertical-rl-ltr-extend-line-backward-br.html
- editing/selection/vertical-rl-ltr-extend-line-backward-p.html
- editing/selection/vertical-rl-ltr-extend-line-backward-wrap.html
- editing/selection/vertical-rl-ltr-extend-line-forward-br.html
- editing/selection/vertical-rl-ltr-extend-line-forward-p.html
- editing/selection/vertical-rl-ltr-extend-line-forward-wrap.html
- editing/selection/vertical-rl-rtl-extend-line-backward-br.html
- editing/selection/vertical-rl-rtl-extend-line-backward-p.html
- editing/selection/vertical-rl-rtl-extend-line-forward-br.html
- editing/selection/vertical-rl-rtl-extend-line-forward-p.html
-
- * editing/FrameSelection.cpp:
- (WebCore::FrameSelection::modifyExtendingForward): Calls lineDirectionPointForBlockDirectionNavigation.
- (WebCore::FrameSelection::modifyMovingForward): Ditto.
- (WebCore::FrameSelection::modifyExtendingBackward): Ditto.
- (WebCore::FrameSelection::modifyMovingBackward): Ditto.
- (WebCore::FrameSelection::modify): Ditto.
- (WebCore::FrameSelection::lineDirectionPointForBlockDirectionNavigation): Renamed from
- xPosForVerticalArrowNavigation; calls VisiblePosition::lineDirectionPointForVerticalNavigation.
- * editing/FrameSelection.h:
- * editing/VisiblePosition.cpp:
- (WebCore::VisiblePosition::lineDirectionPointForBlockDirectionNavigation): Renamed from
- xOffsetForVerticalNavigation. Returns line direction point instead of visual x coordinate.
- * editing/VisiblePosition.h:
- * editing/visible_units.cpp:
- (WebCore::absoluteLineDirectionPointToLocalPointInBlock): Extracted from previousLinePosition and
- nextLinePosition. Takes care or writing modes.
- (WebCore::previousLinePosition): Calls absoluteLineDirectionPointToLocalPointInBlock.
- (WebCore::nextLinePosition): Ditto.
- * editing/visible_units.h:
- * rendering/RootInlineBox.cpp:
- (WebCore::RootInlineBox::closestLeafChildForPoint): Added; takes a physical point and calls
- closestLeafChildForLogicalLeftPosition with logical x.
- * rendering/RootInlineBox.h:
-
-2011-06-16 Nate Chapin <japhet@chromium.org>
-
- Reviewed by Alexey Proskuryakov.
-
- Set the referrer on a ResourceRequest from a WorkerThreadableLoader
- as soon as the request reaches the main thread and remove the
- optionalOutgoingReferrer parameter from some functions.
- https://bugs.webkit.org/show_bug.cgi?id=62806
-
- * loader/DocumentThreadableLoader.cpp:
- (WebCore::DocumentThreadableLoader::loadResourceSynchronously):
- (WebCore::DocumentThreadableLoader::create):
- (WebCore::DocumentThreadableLoader::DocumentThreadableLoader):
- (WebCore::DocumentThreadableLoader::loadRequest):
- * loader/DocumentThreadableLoader.h:
- * loader/ResourceLoadScheduler.cpp:
- (WebCore::ResourceLoadScheduler::scheduleSubresourceLoad):
- * loader/ResourceLoadScheduler.h:
- * loader/SubresourceLoader.cpp:
- (WebCore::SubresourceLoader::create):
- * loader/SubresourceLoader.h:
- * loader/WorkerThreadableLoader.cpp:
- (WebCore::WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader):
-
-2011-06-16 Eric Seidel <eric@webkit.org>
-
- Reviewed by Adam Barth.
-
- FrameLoader doesn't need completeURL or baseURL
- https://bugs.webkit.org/show_bug.cgi?id=62818
-
- No functional change, thus no tests.
-
- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::isImageType):
- (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
- * inspector/InspectorPageAgent.cpp:
- (WebCore::InspectorPageAgent::open):
- * loader/FrameLoader.cpp:
- * loader/FrameLoader.h:
- * loader/NavigationScheduler.cpp:
- (WebCore::NavigationScheduler::scheduleLocationChange):
- * page/History.cpp:
- (WebCore::History::urlForState):
-
-2011-06-16 Dawit Alemayehu <adawit@kde.org>
-
- Reviewed by Antonio Gomes.
-
- Support for gnash flash player plugin in QtWebKit
-
- [Qt] Support for the gnash flash player plugin
- https://bugs.webkit.org/show_bug.cgi?id=62283
-
- No new tests needed. Existing nsplugin tests are sufficient.
-
- * plugins/qt/PluginPackageQt.cpp:
- (WebCore::PluginPackage::load):
-
-2011-06-16 Sailesh Agrawal <sail@chromium.org>
-
- Reviewed by Mihai Parparita.
-
- [Chromium] Draw search tickmarks on overlay scrollbars
- https://bugs.webkit.org/show_bug.cgi?id=62783
-
- This change adds search tickmark support for overlay scrollbars. Tickmarks are only drawn when the scroll track is visible.
-
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:Split the scrollbar drawing code into a track and knob version.
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
- (wkScrollbarPainterPaint):
- (wkScrollbarPainterPaintTrack):
- (wkScrollbarPainterPaintKnob):
- * platform/chromium/ScrollbarThemeChromiumMac.h:
- * platform/chromium/ScrollbarThemeChromiumMac.mm:Factor out the paint tickmark code and call it from the overlay scrollbar drawing code.
- (WebCore::ScrollbarThemeChromiumMac::paint):
- (WebCore::ScrollbarThemeChromiumMac::paintTickmarks):
-
-2011-06-16 Geoffrey Garen <ggaren@apple.com>
-
- Reviewed by Oliver Hunt.
-
- Introduced SlotVisitor into the project
- https://bugs.webkit.org/show_bug.cgi?id=62820
-
- This resolves a class vs typedef forward declaration issue, and gives all
- exported symbols the correct names.
-
- * dom/EventListener.h:
- * dom/Node.h:
- * dom/NodeFilterCondition.h:
-
-2011-06-16 Abhishek Arya <inferno@chromium.org>
-
- Reviewed by Adam Barth.
-
- RefPtr frame since it can get removed in
- FrameLoader::finishedParsing.
- https://bugs.webkit.org/show_bug.cgi?id=62812
-
- Tests: already tested by fast/parser/document-write-into-initial-document.html.
-
- * dom/Document.cpp:
- (WebCore::Document::finishedParsing):
-
-2011-06-16 Sailesh Agrawal <sail@chromium.org>
-
- Reviewed by Mihai Parparita.
-
- [Chromium] Update forked ScrollAnimatorChromiumMac.mm/h
- https://bugs.webkit.org/show_bug.cgi?id=62779
-
- Updated ScrollAnimatorChromiumMac.mm/h with the latest code in WebCore/platform/mac/ScrollAnimatorMac.mm/h
-
- * platform/chromium/ScrollAnimatorChromiumMac.h:
- (WebCore::ScrollAnimatorChromiumMac::setNeedsScrollerStyleUpdate):
- (WebCore::ScrollAnimatorChromiumMac::needsScrollerStyleUpdate):
- * platform/chromium/ScrollAnimatorChromiumMac.mm:
- (-[ScrollAnimationHelperDelegate _immediateScrollToPoint:]):
- (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]):
- (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
- (WebCore::ScrollAnimatorChromiumMac::scroll):
- (WebCore::ScrollAnimatorChromiumMac::immediateScrollToPointForScrollAnimation):
- (WebCore::isScrollingLeftAndShouldNotRubberBand):
- (WebCore::isScrollingRightAndShouldNotRubberBand):
- (WebCore::ScrollAnimatorChromiumMac::handleWheelEvent):
- (WebCore::ScrollAnimatorChromiumMac::smoothScrollWithEvent):
- (WebCore::ScrollAnimatorChromiumMac::beginScrollGesture):
- (WebCore::ScrollAnimatorChromiumMac::snapRubberBand):
- (WebCore::ScrollAnimatorChromiumMac::snapRubberBandTimerFired):
- (WebCore::ScrollAnimatorChromiumMac::setIsActive):
- (WebCore::ScrollAnimatorChromiumMac::updateScrollerStyle):
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
- (wkScrollbarPainterControllerStyle):
-
-2011-06-16 Sailesh Agrawal <sail@chromium.org>
-
- Reviewed by Mihai Parparita.
-
- [Chromium] Overlay scrollbars leave glitches on web content
- https://bugs.webkit.org/show_bug.cgi?id=62383
-
- Enable overlay scrollbars on Chromium Mac.
-
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
- (preferredScrollerStyle):
-
-2011-06-16 una sabovic <una.sabovic@palm.com>
-
- Reviewed by Simon Fraser.
-
- Optimization: do a single fillRect when painting the root background in RenderBoxModelObject::paintFillLayerExtended
- https://bugs.webkit.org/show_bug.cgi?id=62593
-
- When painting the root background, instead of doing two fillRects blend the base with background color and do a single fillRect.
-
- No new tests. This is an optimization and it doesn't change any existing functionality.
-
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::paintFillLayerExtended):
-
-2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Consider padding and border when looking for the next/previous line position
- https://bugs.webkit.org/show_bug.cgi?id=55481
-
- The bug was caused by previousLinePosition and nextLinePosition passing y coordinate
- above the line in some cases. Fixed the bug by passing the larger of selectionTop and logicalTop.
-
- This patch is based on a patch originally written by Mario Sanchez Prada <msanchez@igalia.com>.
-
- Test: editing/selection/move-vertically-with-paddings-borders.html
-
- * editing/visible_units.cpp:
- (WebCore::previousLinePosition):
- (WebCore::nextLinePosition):
- * rendering/RootInlineBox.h:
- (WebCore::RootInlineBox::blockDirectionPointInLine):
-
-2011-06-16 Keunsoon Lee <keunsoon.lee@samsung.com>
-
- Reviewed by Martin Robinson.
-
- [SOUP] Abnormal operation if server sends 5xx status code without HTTP body
- https://bugs.webkit.org/show_bug.cgi?id=60875
-
- Handle status code 4xx and 5xx after receiving HTTP body
-
- Webkit soup port premises that server always sends error page
- in case server sends error code, 4xx and 5xx.
- But, sometimes there is no HTTP body for error page.
- In that case, Webkit does nothing or tries to download the HTTP response
- according to received MIME Type even if there is no HTTP body. (abnormal operation)
-
- With this modification,
- Browser will show received error page if server sends error page.
- Or it will show its own error page from each port if server sends nothing.
-
- Modified algorithm
- 1) libsoup sends status code 4xx or 5xx (client error or server error)
- 2) Webkit soup port orders to accumulate HTTP body chunks to libsoup.
- 3) Webkit soup port ignores gotHeadersCallback, contentSniffedCallback and gotChunkCallback.
- 4) Webkit soup port checks there is HTTP body or not on sendRequestCallback and;
- 4-1) if there is HTTP body, calls didReceiveResponse()
- 4-2) if there is no HTTP body, calls didFail() - prevent the abnormal operation
-
- Test: http/tests/loading/status-code-error-without-response-body.html
-
- * platform/network/soup/ResourceHandleSoup.cpp:
- (WebCore::statusWillBeHandledBySoup):
- Add a new condition, SOUP_STATUS_IS_CLIENT_ERROR() and SOUP_STATUS_IS_SERVER_ERROR()
- (WebCore::soupErrorAndHaveNotReceivedBody):
- Add a new helper function, it checks received body is exist if soup sends error code
- (WebCore::soupErrorShouldCauseLoadFailure):
- Add a new condition, soupErrorAndHaveNotReceivedBody()
- (WebCore::convertSoupErrorToResourceError):
- Add a new condition, soupErrorAndHaveNotReceivedBody()
- (WebCore::sendRequestCallback):
- Check handle->client() again, because didReceiveResponse() can make it zero
-
-2011-06-16 Vsevolod Vlasov <vsevik@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Network panel shows incorrect query parameters when url has fragment.
- https://bugs.webkit.org/show_bug.cgi?id=62723
-
- * English.lproj/localizedStrings.js:
- * inspector/front-end/HAREntry.js:
- (WebInspector.HAREntry.prototype._buildRequest):
- (WebInspector.HAREntry.prototype._buildRequestURL):
- * inspector/front-end/Resource.js:
- (WebInspector.Resource.prototype.set url):
- (WebInspector.Resource.prototype.get queryParameters):
- * inspector/front-end/ResourceHeadersView.js:
- (WebInspector.ResourceHeadersView):
- (WebInspector.ResourceHeadersView.prototype._refreshUrlFragment):
-
-2011-06-16 Dimitri Glazkov <dglazkov@chromium.org>
-
- Clang fix after r89039.
-
- * rendering/RenderThemeMac.h: Removed spurious constipation.
- * rendering/RenderThemeMac.mm:
- (WebCore::RenderThemeMac::fileListNameForWidth): Ditto.
-
-2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r89026.
- http://trac.webkit.org/changeset/89026
- https://bugs.webkit.org/show_bug.cgi?id=62804
-
- These patches were likely correct. I'll investigate the
- browser_test failures. (Requested by abarth on #webkit).
-
- * WebCore.exp.in:
- * bindings/js/ScheduledAction.cpp:
- (WebCore::ScheduledAction::execute):
- * bindings/js/ScriptController.cpp:
- (WebCore::ScriptController::ScriptController):
- (WebCore::ScriptController::processingUserGesture):
- * bindings/js/ScriptController.h:
- * bindings/v8/ScriptController.cpp:
- (WebCore::ScriptController::ScriptController):
- (WebCore::ScriptController::processingUserGesture):
- * bindings/v8/ScriptController.h:
- * dom/Event.cpp:
- * dom/Event.h:
- * dom/UserGestureIndicator.cpp:
- (WebCore::isDefinite):
- (WebCore::UserGestureIndicator::UserGestureIndicator):
- (WebCore::UserGestureIndicator::~UserGestureIndicator):
- * dom/UserGestureIndicator.h:
- (WebCore::UserGestureIndicator::processingUserGesture):
- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::removedFromDocument):
- (WebCore::HTMLMediaElement::load):
- (WebCore::HTMLMediaElement::play):
- (WebCore::HTMLMediaElement::pause):
- (WebCore::HTMLMediaElement::beginScrubbing):
- (WebCore::HTMLMediaElement::resume):
- * html/HTMLMediaElement.h:
- * html/HTMLMediaElement.idl:
- * html/HTMLVideoElement.cpp:
- (WebCore::HTMLVideoElement::webkitEnterFullscreen):
- * html/HTMLVideoElement.h:
- (WebCore::HTMLVideoElement::webkitEnterFullScreen):
- * html/HTMLVideoElement.idl:
- * html/MediaDocument.cpp:
- (WebCore::MediaDocument::defaultEventHandler):
- * html/shadow/MediaControlElements.cpp:
- (WebCore::MediaControlSeekButtonElement::defaultEventHandler):
- * html/shadow/TextControlInnerElements.cpp:
- (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
-
-2011-06-16 Dimitri Glazkov <dglazkov@chromium.org>
-
- [Qt] Build fix after r89039.
-
- * WebCore.pro: Added StringTruncator to build system.
- * platform/qt/RenderThemeQt.cpp: Reverted previous change.
-
-2011-06-16 Dimitri Glazkov <dglazkov@chromium.org>
-
- [Qt] Build fix after r89039.
-
- * platform/qt/RenderThemeQt.cpp: Added StringTruncator include.
-
-2011-06-16 Dimitri Glazkov <dglazkov@chromium.org>
-
- [Qt] Build fix after r89039.
-
- * platform/qt/RenderThemeQt.h: Renamed local variable f to font.
-
-2011-06-16 Dimitri Glazkov <dglazkov@chromium.org>
-
- [Qt] Build fix after r89039.
-
- * platform/qt/RenderThemeQt.h: Move decl out of ENABLE(VIDEO) ifdef.
-
-2011-06-15 Dimitri Glazkov <dglazkov@chromium.org>
-
- Reviewed by Kent Tamura.
-
- Move FileChooser::basenameForWidth to RenderTheme::fileListNameForWidth, eliminate gnarly FileChooserFoo proliferation.
- https://bugs.webkit.org/show_bug.cgi?id=62748
-
- Refactoring, covered by existing tests.
-
- * CMakeListsEfl.txt: Removed FileChooserFoo from build system.
- * CMakeListsWinCE.txt: Ditto.
- * GNUmakefile.list.am: Ditto.
- * WebCore.gypi: Ditto.
- * WebCore.order: Ditto.
- * WebCore.pro: Ditto.
- * WebCore.vcproj/WebCore.vcproj: Ditto.
- * WebCore.xcodeproj/project.pbxproj: Ditto.
- * platform/FileChooser.h: Removed baseNameForWidth decl.
- * platform/FileSystem.h: Removed now-unnecessary Chromium-specific cruft.
- * platform/android/FileChooserAndroid.cpp: Removed.
- * platform/brew/FileChooserBrew.cpp: Removed.
- * platform/chromium/FileChooserChromium.cpp: Removed.
- * platform/chromium/FileSystemChromiumLinux.cpp: Removed now-unnecessary code.
- * platform/chromium/FileSystemChromiumMac.mm: Ditto.
- * platform/chromium/FileSystemChromiumWin.cpp: Ditto.
- * platform/efl/FileChooserEfl.cpp: Removed.
- * platform/gtk/FileChooserGtk.cpp: Removed.
- * platform/gtk/RenderThemeGtk.cpp:
- (WebCore::stringByAdoptingFileSystemRepresentation): Moved from FileChooserGtk.
- (WebCore::RenderThemeGtk::fileListNameForWidth): Ditto.
- * platform/gtk/RenderThemeGtk.h: Added decl.
- * platform/haiku/FileChooserHaiku.cpp: Removed.
- * platform/mac/FileChooserMac.mm: Removed.
- * platform/qt/FileChooserQt.cpp: Removed.
- * platform/qt/RenderThemeQt.cpp:
- (WebCore::RenderThemeQt::RenderThemeQt): Moved from FileChooserQt.
- (WebCore::RenderThemeQt::fileListNameForWidth): Ditto.
- * platform/qt/RenderThemeQt.h: Adde decl.
- * platform/win/FileChooserWin.cpp: Removed.
- * platform/wx/FileChooserWx.cpp: Removed.
- * rendering/RenderFileUploadControl.cpp:
- (WebCore::RenderFileUploadControl::fileTextValue): Changed to use RenderTheme.
- * rendering/RenderTheme.cpp:
- (WebCore::RenderTheme::fileListNameForWidth): Added default impl.
- * rendering/RenderTheme.h: Added decl.
- * rendering/RenderThemeMac.h: Ditto.
- * rendering/RenderThemeMac.mm:
- (WebCore::RenderThemeMac::fileListNameForWidth): Added default Mac impl.
-
-2011-06-16 Vsevolod Vlasov <vsevik@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
- https://bugs.webkit.org/show_bug.cgi?id=61205
-
- Added inspector backend cache for XHR content.
-
- Tests: http/tests/inspector/network/network-xhr-async.html
- http/tests/inspector/network/network-xhr-sync.html
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * fileapi/FileReaderLoader.cpp:
- (WebCore::FileReaderLoader::didReceiveResponse):
- * fileapi/FileReaderLoader.h:
- * inspector/Inspector.json:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::didReceiveXHRResponseImpl):
- (WebCore::InspectorInstrumentation::willLoadXHRSynchronouslyImpl):
- (WebCore::InspectorInstrumentation::didLoadXHRSynchronouslyImpl):
- (WebCore::InspectorInstrumentation::didCommitLoadImpl):
- * inspector/InspectorInstrumentation.h:
- (WebCore::InspectorInstrumentation::didReceiveXHRResponse):
- (WebCore::InspectorInstrumentation::willLoadXHRSynchronously):
- (WebCore::InspectorInstrumentation::didLoadXHRSynchronously):
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::willSendRequest):
- (WebCore::InspectorResourceAgent::didReceiveResponse):
- (WebCore::InspectorResourceAgent::setInitialXHRContent):
- (WebCore::InspectorResourceAgent::didReceiveXHRResponse):
- (WebCore::InspectorResourceAgent::willLoadXHRSynchronously):
- (WebCore::InspectorResourceAgent::didLoadXHRSynchronously):
- (WebCore::InspectorResourceAgent::getResourceContent):
- (WebCore::InspectorResourceAgent::mainFrameNavigated):
- (WebCore::InspectorResourceAgent::InspectorResourceAgent):
- * inspector/InspectorResourceAgent.h:
- * inspector/NetworkResourcesData.cpp: Added.
- (WebCore::NetworkResourcesData::ResourceData::ResourceData):
- (WebCore::NetworkResourcesData::ResourceData::content):
- (WebCore::NetworkResourcesData::ResourceData::appendContent):
- (WebCore::NetworkResourcesData::ResourceData::purgeContent):
- (WebCore::NetworkResourcesData::NetworkResourcesData):
- (WebCore::NetworkResourcesData::~NetworkResourcesData):
- (WebCore::NetworkResourcesData::resourceCreated):
- (WebCore::NetworkResourcesData::responseReceived):
- (WebCore::NetworkResourcesData::didReceiveXHRResponse):
- (WebCore::NetworkResourcesData::addResourceContent):
- (WebCore::NetworkResourcesData::isXHR):
- (WebCore::NetworkResourcesData::data):
- (WebCore::NetworkResourcesData::clear):
- (WebCore::NetworkResourcesData::ensureNoDataForIdentifier):
- (WebCore::NetworkResourcesData::ensureFreeSpace):
- * inspector/NetworkResourcesData.h: Added.
- (WebCore::NetworkResourcesData::ResourceData::identifier):
- (WebCore::NetworkResourcesData::ResourceData::loaderId):
- (WebCore::NetworkResourcesData::ResourceData::frameId):
- (WebCore::NetworkResourcesData::ResourceData::setFrameId):
- (WebCore::NetworkResourcesData::ResourceData::url):
- (WebCore::NetworkResourcesData::ResourceData::setUrl):
- (WebCore::NetworkResourcesData::ResourceData::isXHR):
- (WebCore::NetworkResourcesData::ResourceData::setIsXHR):
- (WebCore::NetworkResourcesData::ResourceData::hasContent):
- (WebCore::NetworkResourcesData::ResourceData::isContentPurged):
- (WebCore::NetworkResourcesData::ResourceData::setIsContentPurged):
- * inspector/front-end/NetworkManager.js:
- (WebInspector.NetworkManager.prototype.requestContent):
- (WebInspector.NetworkDispatcher.prototype._appendRedirect):
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkPanel.prototype._appendResource):
- (WebInspector.NetworkPanel.prototype._frameNavigated):
- * loader/DocumentThreadableLoader.cpp:
- (WebCore::DocumentThreadableLoader::didReceiveResponse):
- (WebCore::DocumentThreadableLoader::receivedCancellation):
- (WebCore::DocumentThreadableLoader::loadRequest):
- * loader/DocumentThreadableLoader.h:
- * loader/ThreadableLoaderClient.h:
- (WebCore::ThreadableLoaderClient::didReceiveResponse):
- (WebCore::ThreadableLoaderClient::didReceiveAuthenticationCancellation):
- * loader/ThreadableLoaderClientWrapper.h:
- (WebCore::ThreadableLoaderClientWrapper::didReceiveResponse):
- (WebCore::ThreadableLoaderClientWrapper::didReceiveAuthenticationCancellation):
- * loader/WorkerThreadableLoader.cpp:
- (WebCore::workerContextDidReceiveResponse):
- (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveResponse):
- (WebCore::workerContextDidReceiveAuthenticationCancellation):
- (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveAuthenticationCancellation):
- * loader/WorkerThreadableLoader.h:
- * notifications/Notification.cpp:
- (WebCore::Notification::didReceiveResponse):
- (WebCore::Notification::didReceiveAuthenticationCancellation):
- * notifications/Notification.h:
- * page/EventSource.cpp:
- (WebCore::EventSource::didReceiveResponse):
- * page/EventSource.h:
- * workers/WorkerScriptLoader.cpp:
- (WebCore::WorkerScriptLoader::didReceiveResponse):
- (WebCore::WorkerScriptLoader::didReceiveAuthenticationCancellation):
- * workers/WorkerScriptLoader.h:
- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::createRequest):
- (WebCore::XMLHttpRequest::didReceiveResponse):
- (WebCore::XMLHttpRequest::didReceiveAuthenticationCancellation):
- * xml/XMLHttpRequest.h:
-
-2011-06-16 Julien Chaffraix <jchaffraix@webkit.org>
-
- Reviewed by Darin Adler.
-
- HTMLTable should cache its 'rows' collection results
- https://bugs.webkit.org/show_bug.cgi?id=62800
-
- Test: perf/table-rows-length-caching.html
-
- Currently all our HTMLCollection's are recreated on call. This means that
- we don't cache the information about the collection between calls to, for
- example, table.rows.
-
- This change adds a CollectionCache to HTMLTableElement. It is similar to what
- is done for HTMLFormElement.
-
- * html/HTMLTableElement.cpp:
- (WebCore::HTMLTableElement::collectionCache): This method does
- lazy initialization of the table's collectionCache.
- * html/HTMLTableElement.h: Added a new member and the previous
- method.
-
- * html/HTMLTableRowsCollection.cpp:
- (WebCore::HTMLTableRowsCollection::HTMLTableRowsCollection): Pass
- the HTMLTableElement's CollectionCache so that we reuse the cached
- results.
-
-2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r89025.
- http://trac.webkit.org/changeset/89025
- https://bugs.webkit.org/show_bug.cgi?id=62799
-
- "Some layout tests fail" (Requested by yurys on #webkit).
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * fileapi/FileReaderLoader.cpp:
- (WebCore::FileReaderLoader::didReceiveResponse):
- * fileapi/FileReaderLoader.h:
- * inspector/Inspector.json:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::didCommitLoadImpl):
- * inspector/InspectorInstrumentation.h:
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::willSendRequest):
- (WebCore::InspectorResourceAgent::didReceiveResponse):
- (WebCore::InspectorResourceAgent::setInitialXHRContent):
- (WebCore::InspectorResourceAgent::InspectorResourceAgent):
- * inspector/InspectorResourceAgent.h:
- * inspector/NetworkResourcesData.cpp: Removed.
- * inspector/NetworkResourcesData.h: Removed.
- * inspector/front-end/NetworkManager.js:
- (WebInspector.NetworkManager.prototype.requestContent):
- (WebInspector.NetworkDispatcher.prototype._appendRedirect):
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkPanel.prototype._appendResource):
- (WebInspector.NetworkPanel.prototype._frameNavigated):
- * loader/DocumentThreadableLoader.cpp:
- (WebCore::DocumentThreadableLoader::didReceiveResponse):
- (WebCore::DocumentThreadableLoader::receivedCancellation):
- (WebCore::DocumentThreadableLoader::loadRequest):
- * loader/DocumentThreadableLoader.h:
- * loader/ThreadableLoaderClient.h:
- (WebCore::ThreadableLoaderClient::didReceiveResponse):
- (WebCore::ThreadableLoaderClient::didReceiveAuthenticationCancellation):
- * loader/ThreadableLoaderClientWrapper.h:
- (WebCore::ThreadableLoaderClientWrapper::didReceiveResponse):
- (WebCore::ThreadableLoaderClientWrapper::didReceiveAuthenticationCancellation):
- * loader/WorkerThreadableLoader.cpp:
- (WebCore::workerContextDidReceiveResponse):
- (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveResponse):
- (WebCore::workerContextDidReceiveAuthenticationCancellation):
- (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveAuthenticationCancellation):
- * loader/WorkerThreadableLoader.h:
- * notifications/Notification.cpp:
- (WebCore::Notification::didReceiveResponse):
- (WebCore::Notification::didReceiveAuthenticationCancellation):
- * notifications/Notification.h:
- * page/EventSource.cpp:
- (WebCore::EventSource::didReceiveResponse):
- * page/EventSource.h:
- * workers/WorkerScriptLoader.cpp:
- (WebCore::WorkerScriptLoader::didReceiveResponse):
- (WebCore::WorkerScriptLoader::didReceiveAuthenticationCancellation):
- * workers/WorkerScriptLoader.h:
- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::createRequest):
- (WebCore::XMLHttpRequest::didReceiveResponse):
- (WebCore::XMLHttpRequest::didReceiveAuthenticationCancellation):
- * xml/XMLHttpRequest.h:
-
-2011-06-16 Vitaly Repeshko <vitalyr@chromium.org>
-
- Unreviewed.
-
- Revert Adam's user gesture patch series r89002, r89005, r89007, r89018
- https://bugs.webkit.org/show_bug.cgi?id=62796
-
- The patches broke chromium browser tests.
-
- * WebCore.exp.in:
- * bindings/js/ScheduledAction.cpp:
- (WebCore::ScheduledAction::execute):
- * bindings/js/ScriptController.cpp:
- (WebCore::ScriptController::ScriptController):
- (WebCore::ScriptController::processingUserGesture):
- (WebCore::ScriptController::isJavaScriptAnchorNavigation):
- * bindings/js/ScriptController.h:
- (WebCore::ScriptController::setProcessingTimerCallback):
- * bindings/v8/ScriptController.cpp:
- (WebCore::ScriptController::ScriptController):
- (WebCore::ScriptController::processingUserGesture):
- * bindings/v8/ScriptController.h:
- (WebCore::ScriptController::setProcessingTimerCallback):
- * dom/Event.cpp:
- (WebCore::Event::fromUserGesture):
- * dom/Event.h:
- * dom/UserGestureIndicator.cpp:
- (WebCore::UserGestureIndicator::UserGestureIndicator):
- (WebCore::UserGestureIndicator::~UserGestureIndicator):
- * dom/UserGestureIndicator.h:
- (WebCore::UserGestureIndicator::processingUserGesture):
- (WebCore::UserGestureIndicator::getUserGestureState):
- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::removedFromDocument):
- (WebCore::HTMLMediaElement::load):
- (WebCore::HTMLMediaElement::play):
- (WebCore::HTMLMediaElement::pause):
- (WebCore::HTMLMediaElement::beginScrubbing):
- (WebCore::HTMLMediaElement::resume):
- (WebCore::HTMLMediaElement::processingUserGesture):
- * html/HTMLMediaElement.h:
- * html/HTMLMediaElement.idl:
- * html/HTMLVideoElement.cpp:
- (WebCore::HTMLVideoElement::webkitEnterFullscreen):
- * html/HTMLVideoElement.h:
- (WebCore::HTMLVideoElement::webkitEnterFullScreen):
- * html/HTMLVideoElement.idl:
- * html/MediaDocument.cpp:
- (WebCore::MediaDocument::defaultEventHandler):
- * html/shadow/MediaControlElements.cpp:
- (WebCore::MediaControlSeekButtonElement::defaultEventHandler):
- * html/shadow/TextControlInnerElements.cpp:
- (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
-
-2011-06-16 Vsevolod Vlasov <vsevik@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
- https://bugs.webkit.org/show_bug.cgi?id=61205
-
- Added inspector backend cache for XHR content.
-
- Tests: http/tests/inspector/network/network-xhr-async.html
- http/tests/inspector/network/network-xhr-sync.html
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * fileapi/FileReaderLoader.cpp:
- (WebCore::FileReaderLoader::didReceiveResponse):
- * fileapi/FileReaderLoader.h:
- * inspector/Inspector.json:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::didReceiveXHRResponseImpl):
- (WebCore::InspectorInstrumentation::willLoadXHRSynchronouslyImpl):
- (WebCore::InspectorInstrumentation::didLoadXHRSynchronouslyImpl):
- (WebCore::InspectorInstrumentation::didCommitLoadImpl):
- * inspector/InspectorInstrumentation.h:
- (WebCore::InspectorInstrumentation::didReceiveXHRResponse):
- (WebCore::InspectorInstrumentation::willLoadXHRSynchronously):
- (WebCore::InspectorInstrumentation::didLoadXHRSynchronously):
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::willSendRequest):
- (WebCore::InspectorResourceAgent::didReceiveResponse):
- (WebCore::InspectorResourceAgent::setInitialXHRContent):
- (WebCore::InspectorResourceAgent::didReceiveXHRResponse):
- (WebCore::InspectorResourceAgent::willLoadXHRSynchronously):
- (WebCore::InspectorResourceAgent::didLoadXHRSynchronously):
- (WebCore::InspectorResourceAgent::getResourceContent):
- (WebCore::InspectorResourceAgent::mainFrameNavigated):
- (WebCore::InspectorResourceAgent::InspectorResourceAgent):
- * inspector/InspectorResourceAgent.h:
- * inspector/NetworkResourcesData.cpp: Added.
- (WebCore::NetworkResourcesData::ResourceData::ResourceData):
- (WebCore::NetworkResourcesData::ResourceData::content):
- (WebCore::NetworkResourcesData::ResourceData::appendContent):
- (WebCore::NetworkResourcesData::ResourceData::purgeContent):
- (WebCore::NetworkResourcesData::NetworkResourcesData):
- (WebCore::NetworkResourcesData::~NetworkResourcesData):
- (WebCore::NetworkResourcesData::resourceCreated):
- (WebCore::NetworkResourcesData::responseReceived):
- (WebCore::NetworkResourcesData::didReceiveXHRResponse):
- (WebCore::NetworkResourcesData::addResourceContent):
- (WebCore::NetworkResourcesData::isXHR):
- (WebCore::NetworkResourcesData::data):
- (WebCore::NetworkResourcesData::clear):
- (WebCore::NetworkResourcesData::ensureFreeSpace):
- * inspector/NetworkResourcesData.h: Added.
- (WebCore::NetworkResourcesData::ResourceData::identifier):
- (WebCore::NetworkResourcesData::ResourceData::loaderId):
- (WebCore::NetworkResourcesData::ResourceData::frameId):
- (WebCore::NetworkResourcesData::ResourceData::setFrameId):
- (WebCore::NetworkResourcesData::ResourceData::url):
- (WebCore::NetworkResourcesData::ResourceData::setUrl):
- (WebCore::NetworkResourcesData::ResourceData::isXHR):
- (WebCore::NetworkResourcesData::ResourceData::setIsXHR):
- (WebCore::NetworkResourcesData::ResourceData::hasContent):
- (WebCore::NetworkResourcesData::ResourceData::isContentPurged):
- (WebCore::NetworkResourcesData::ResourceData::setIsContentPurged):
- * inspector/front-end/NetworkManager.js:
- (WebInspector.NetworkManager.prototype.requestContent):
- (WebInspector.NetworkDispatcher.prototype._appendRedirect):
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkPanel.prototype._appendResource):
- (WebInspector.NetworkPanel.prototype._frameNavigated):
- * loader/DocumentThreadableLoader.cpp:
- (WebCore::DocumentThreadableLoader::didReceiveResponse):
- (WebCore::DocumentThreadableLoader::receivedCancellation):
- (WebCore::DocumentThreadableLoader::loadRequest):
- * loader/DocumentThreadableLoader.h:
- * loader/ThreadableLoaderClient.h:
- (WebCore::ThreadableLoaderClient::didReceiveResponse):
- (WebCore::ThreadableLoaderClient::didReceiveAuthenticationCancellation):
- * loader/ThreadableLoaderClientWrapper.h:
- (WebCore::ThreadableLoaderClientWrapper::didReceiveResponse):
- (WebCore::ThreadableLoaderClientWrapper::didReceiveAuthenticationCancellation):
- * loader/WorkerThreadableLoader.cpp:
- (WebCore::workerContextDidReceiveResponse):
- (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveResponse):
- (WebCore::workerContextDidReceiveAuthenticationCancellation):
- (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveAuthenticationCancellation):
- * loader/WorkerThreadableLoader.h:
- * notifications/Notification.cpp:
- (WebCore::Notification::didReceiveResponse):
- (WebCore::Notification::didReceiveAuthenticationCancellation):
- * notifications/Notification.h:
- * page/EventSource.cpp:
- (WebCore::EventSource::didReceiveResponse):
- * page/EventSource.h:
- * workers/WorkerScriptLoader.cpp:
- (WebCore::WorkerScriptLoader::didReceiveResponse):
- (WebCore::WorkerScriptLoader::didReceiveAuthenticationCancellation):
- * workers/WorkerScriptLoader.h:
- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::createRequest):
- (WebCore::XMLHttpRequest::didReceiveResponse):
- (WebCore::XMLHttpRequest::didReceiveAuthenticationCancellation):
- * xml/XMLHttpRequest.h:
-
-2011-06-16 Hayato Ito <hayato@chromium.org>
-
- Reviewed by Hajime Morita.
-
- Show child elements of a shadow host in Node::showTreeForThisAcrossFrame.
- https://bugs.webkit.org/show_bug.cgi?id=62782
-
- To make an implementation simple, get rid of traverseNextNodeAcrossFrame
- and traverse each Node recursively.
-
- No new tests since the function is only available in debug builds.
-
- * dom/Node.cpp:
- (WebCore::showSubTreeAcrossFrame):
- (WebCore::Node::showTreeForThisAcrossFrame):
-
-2011-06-16 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Move Initialization of defaultFontSize to top of file.
- https://bugs.webkit.org/show_bug.cgi?id=62787
-
- * platform/efl/RenderThemeEfl.cpp: Move Initialize code of defaultFontSize to top.
-
-2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r88796.
- http://trac.webkit.org/changeset/88796
- https://bugs.webkit.org/show_bug.cgi?id=62790
-
- It made fast/dom/nodesFromRect-basic.html time out on Qt,
- 64-bit, debug mode (Requested by Ossy on #webkit).
-
- * bridge/qt/qt_runtime.cpp:
- (JSC::Bindings::convertValueToQVariant):
-
-2011-06-16 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Remove HTMLVideoElement::processingUserGesture
- https://bugs.webkit.org/show_bug.cgi?id=62784
-
- HTMLMediaElement shouldn't have its own notion of the user gesture
- state. It should just use the normal user gesture state. Also,
- there's no point in having the bindings send the user gesture state in
- a boolean parameter.
-
- * WebCore.exp.in:
- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::removedFromDocument):
- (WebCore::HTMLMediaElement::load):
- (WebCore::HTMLMediaElement::play):
- (WebCore::HTMLMediaElement::pause):
- (WebCore::HTMLMediaElement::beginScrubbing):
- (WebCore::HTMLMediaElement::resume):
- * html/HTMLMediaElement.h:
- * html/HTMLMediaElement.idl:
- * html/HTMLVideoElement.cpp:
- (WebCore::HTMLVideoElement::webkitEnterFullscreen):
- * html/HTMLVideoElement.h:
- (WebCore::HTMLVideoElement::webkitEnterFullScreen):
- * html/HTMLVideoElement.idl:
- * html/MediaDocument.cpp:
- (WebCore::MediaDocument::defaultEventHandler):
- * html/shadow/MediaControlElements.cpp:
- (WebCore::MediaControlSeekButtonElement::defaultEventHandler):
-
-2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r89011.
- http://trac.webkit.org/changeset/89011
- https://bugs.webkit.org/show_bug.cgi?id=62789
-
- Broke mac build (Requested by vitalyr_ on #webkit).
-
- * platform/chromium/ScrollAnimatorChromiumMac.h:
- * platform/chromium/ScrollAnimatorChromiumMac.mm:
- (-[ScrollAnimationHelperDelegate _immediateScrollToPoint:]):
- (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]):
- (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
- (WebCore::ScrollAnimatorChromiumMac::scroll):
- (WebCore::ScrollAnimatorChromiumMac::handleWheelEvent):
- (WebCore::ScrollAnimatorChromiumMac::smoothScrollWithEvent):
- (WebCore::ScrollAnimatorChromiumMac::beginScrollGesture):
- (WebCore::ScrollAnimatorChromiumMac::snapRubberBand):
- (WebCore::ScrollAnimatorChromiumMac::snapRubberBandTimerFired):
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
-
-2011-06-16 Sailesh Agrawal <sail@chromium.org>
-
- Reviewed by James Robinson.
-
- [Chromium] Update forked ScrollAnimatorChromiumMac.mm/h
- https://bugs.webkit.org/show_bug.cgi?id=62779
-
- Updated ScrollAnimatorChromiumMac.mm/h with the latest code in WebCore/platform/mac/ScrollAnimatorMac.mm/h
-
- * platform/chromium/ScrollAnimatorChromiumMac.h:
- (WebCore::ScrollAnimatorChromiumMac::setNeedsScrollerStyleUpdate):
- (WebCore::ScrollAnimatorChromiumMac::needsScrollerStyleUpdate):
- * platform/chromium/ScrollAnimatorChromiumMac.mm:
- (-[ScrollAnimationHelperDelegate _immediateScrollToPoint:]):
- (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]):
- (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
- (WebCore::ScrollAnimatorChromiumMac::scroll):
- (WebCore::ScrollAnimatorChromiumMac::immediateScrollToPointForScrollAnimation):
- (WebCore::isScrollingLeftAndShouldNotRubberBand):
- (WebCore::isScrollingRightAndShouldNotRubberBand):
- (WebCore::ScrollAnimatorChromiumMac::handleWheelEvent):
- (WebCore::ScrollAnimatorChromiumMac::smoothScrollWithEvent):
- (WebCore::ScrollAnimatorChromiumMac::beginScrollGesture):
- (WebCore::ScrollAnimatorChromiumMac::snapRubberBand):
- (WebCore::ScrollAnimatorChromiumMac::snapRubberBandTimerFired):
- (WebCore::ScrollAnimatorChromiumMac::setIsActive):
- (WebCore::ScrollAnimatorChromiumMac::updateScrollerStyle):
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h:
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
- (wkScrollbarPainterControllerStyle):
-
-2011-06-15 Mikhail Naganov <mnaganov@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- WebInspector [Chromium]: Make heap snapshots UI more responsive.
- https://bugs.webkit.org/show_bug.cgi?id=62360
-
- Two changes have been made:
- - when we request elements, sort array only partially;
- - when populating children, do it in batches;
-
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * inspector/front-end/DetailedHeapshotGridNodes.js:
- (WebInspector.HeapSnapshotGridNode.prototype.populateChildren.callSerialize):
- (WebInspector.HeapSnapshotGridNode.prototype.populateChildren.childrenRetrieved):
- (WebInspector.HeapSnapshotGridNode.prototype.populateChildren):
- * inspector/front-end/HeapSnapshot.js:
- (WebInspector.HeapSnapshotFilteredOrderedIterator):
- (WebInspector.HeapSnapshotFilteredOrderedIterator.prototype.serializeNextItems):
- (WebInspector.HeapSnapshotFilteredOrderedIterator.prototype.sortAndRewind):
- (WebInspector.HeapSnapshotEdgesProvider.prototype.sort):
- (WebInspector.HeapSnapshotNodesProvider.prototype.sort):
- * inspector/front-end/HeapSnapshotWorker.js:
- * inspector/front-end/PartialQuickSort.js: Added.
- * inspector/front-end/WebKit.qrc:
- * inspector/front-end/inspector.html:
-
-2011-06-15 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Remove Event::fromUserGesture
- https://bugs.webkit.org/show_bug.cgi?id=62778
-
- This function is a remnant from the old user-gesture design. The list
- of events here is redundant with our selection of call sites for
- setting the user gesture indicator.
-
- As part of this patch, I've also cleaned up the implementation of
- UserGestureIndicator itself to always be definite about whether we're
- processing a user gesture. We now start out in a definite state (no
- user gesture) and inductively state in a definite state.
-
- * WebCore.exp.in:
- * bindings/js/ScriptController.cpp:
- (WebCore::ScriptController::processingUserGesture):
- * bindings/v8/ScriptController.cpp:
- (WebCore::ScriptController::processingUserGesture):
- * dom/Event.cpp:
- * dom/Event.h:
- * dom/UserGestureIndicator.cpp:
- (WebCore::isDefinite):
- (WebCore::UserGestureIndicator::UserGestureIndicator):
- (WebCore::UserGestureIndicator::~UserGestureIndicator):
- * dom/UserGestureIndicator.h:
- (WebCore::UserGestureIndicator::processingUserGesture):
- * html/MediaDocument.cpp:
- (WebCore::MediaDocument::defaultEventHandler):
- * html/shadow/MediaControlElements.cpp:
- (WebCore::MediaControlSeekButtonElement::defaultEventHandler):
- * html/shadow/TextControlInnerElements.cpp:
- (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
-
-2011-06-08 Keishi Hattori <keishi@webkit.org>
-
- Reviewed by Kent Tamura.
-
- Fix range element not updating when value attribute is set with JS
- https://bugs.webkit.org/show_bug.cgi?id=61857
-
- Test: fast/forms/range-set-attribute.html
-
- * html/RangeInputType.cpp:
- (WebCore::RangeInputType::minOrMaxAttributeChanged): Changed to only sanitize the value when the dirty value flag is true.
-
-2011-06-15 Adam Barth <abarth@webkit.org>
-
- Unreviewed. (Technically I should get this reviewed, but I
- accidentally committed part of this patch in my previous commit,
- causing a build break.)
-
- Remove ScriptController::m_processingTimerCallback
- https://bugs.webkit.org/show_bug.cgi?id=62776
-
- This variable is unused. (It used to be used in a user gesture detection hack.)
-
- * bindings/js/ScheduledAction.cpp:
- (WebCore::ScheduledAction::execute):
- * bindings/js/ScriptController.cpp:
- (WebCore::ScriptController::ScriptController):
- * bindings/js/ScriptController.h:
- * bindings/v8/ScriptController.cpp:
- (WebCore::ScriptController::ScriptController):
- * bindings/v8/ScriptController.h:
-
-2011-06-15 Kent Tamura <tkent@chromium.org>
-
- Reviewed by Dimitri Glazkov.
-
- [Chromium][Qt] Some slider clicking tests fail.
- https://bugs.webkit.org/show_bug.cgi?id=62683
-
- When we pressed a mouse button on a slider thumb,
- SliderThumbElement::startDragging() were called twice.
- - From SliderThumbElement::defaultEventHandler(), and
- - from RangeInputType::handleMouseDownEvent()
- The latter is not needed. We should call setDefaultHandled() correctly.
-
- * html/RangeInputType.cpp:
- (WebCore::RangeInputType::handleMouseDownEvent): Calls setDefaultHandled()
- * html/shadow/SliderThumbElement.cpp:
- (WebCore::SliderThumbElement::setPositionFromPoint): Remove FIXME comments.
- (WebCore::SliderThumbElement::defaultEventHandler): Calls setDefaultHandled()
-
-2011-06-15 Adam Barth <abarth@webkit.org>
-
- Reviewed by Anders Carlsson.
-
- Remove ScriptController::isJavaScriptAnchorNavigation
- https://bugs.webkit.org/show_bug.cgi?id=62775
-
- This function no longer plays a role in the user gesture code now that
- we're not encoding the user gesture state into the ScriptSourceCode
- URL.
-
- * bindings/js/ScriptController.cpp:
- (WebCore::ScriptController::processingUserGesture):
- * bindings/js/ScriptController.h:
- * bindings/v8/ScriptController.cpp:
- (WebCore::ScriptController::processingUserGesture):
-
-2011-06-15 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Remove ScriptController::setAllowPopupsFromPlugin
- https://bugs.webkit.org/show_bug.cgi?id=62706
-
- This API is just a poor man's UserGestureIndicator. We should use the
- real deal.
-
- * bindings/js/ScriptController.cpp:
- (WebCore::ScriptController::ScriptController):
- (WebCore::ScriptController::processingUserGesture):
- * bindings/js/ScriptController.h:
- * bindings/v8/NPV8Object.cpp:
- (_NPN_EvaluateHelper):
- * bindings/v8/ScriptController.cpp:
- (WebCore::ScriptController::ScriptController):
- (WebCore::ScriptController::processingUserGesture):
- * bindings/v8/ScriptController.h:
-
-2011-06-15 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Remove forceUserGesture bool in favor of UserGestureIndicator
- https://bugs.webkit.org/show_bug.cgi?id=62702
-
- This patch is an intermediate step towards removing the
- forceUserGesture bool. In this patch, we use the user gesture
- indicator to store the gesture state instead of encoding it in the URL
- of the script source code. In a future patch, we'll push the indicator
- higher up the stack, closer to the reason for setting it.
-
- * bindings/ScriptControllerBase.cpp:
- (WebCore::ScriptController::executeScript):
- (WebCore::ScriptController::executeIfJavaScriptURL):
- * bindings/js/ScriptController.cpp:
- (WebCore::ScriptController::executeScriptInWorld):
-
-2011-06-15 Rob Buis <rbuis@rim.com>
-
- Reviewed by Darin Adler.
-
- Try to use fastGetAttribute where possible
- https://bugs.webkit.org/show_bug.cgi?id=62747
-
- Use the fast versions of get/hasAttribute where we can.
-
- No new tests since this is a simple cleanup.
-
- * svg/SVGAElement.cpp:
- (WebCore::SVGAElement::title):
- (WebCore::SVGAElement::defaultEventHandler):
- * svg/SVGAltGlyphElement.cpp:
- (WebCore::SVGAltGlyphElement::glyphRef):
- (WebCore::SVGAltGlyphElement::format):
- (WebCore::SVGAltGlyphElement::glyphElement):
- * svg/SVGAnimateMotionElement.cpp:
- (WebCore::SVGAnimateMotionElement::rotateMode):
- (WebCore::SVGAnimateMotionElement::animationPath):
- * svg/SVGAnimationElement.cpp:
- (WebCore::SVGAnimationElement::animationMode):
- (WebCore::SVGAnimationElement::calcMode):
- (WebCore::SVGAnimationElement::attributeType):
- (WebCore::SVGAnimationElement::toValue):
- (WebCore::SVGAnimationElement::byValue):
- (WebCore::SVGAnimationElement::fromValue):
- (WebCore::SVGAnimationElement::isAdditive):
- (WebCore::SVGAnimationElement::isAccumulated):
- (WebCore::SVGAnimationElement::startedActiveInterval):
- * svg/SVGElement.cpp:
- (WebCore::SVGElement::xmlbase):
- * svg/SVGFontElement.cpp:
- (WebCore::SVGFontElement::ensureGlyphCache):
- * svg/SVGFontFaceElement.cpp:
- (WebCore::SVGFontFaceElement::unitsPerEm):
- (WebCore::SVGFontFaceElement::xHeight):
- (WebCore::SVGFontFaceElement::horizontalOriginX):
- (WebCore::SVGFontFaceElement::horizontalOriginY):
- (WebCore::SVGFontFaceElement::horizontalAdvanceX):
- (WebCore::SVGFontFaceElement::verticalOriginX):
- (WebCore::SVGFontFaceElement::verticalOriginY):
- (WebCore::SVGFontFaceElement::verticalAdvanceY):
- (WebCore::SVGFontFaceElement::ascent):
- (WebCore::SVGFontFaceElement::descent):
- * svg/SVGFontFaceNameElement.cpp:
- (WebCore::SVGFontFaceNameElement::srcValue):
- * svg/SVGFontFaceUriElement.cpp:
- (WebCore::SVGFontFaceUriElement::srcValue):
- (WebCore::SVGFontFaceUriElement::loadFont):
- * svg/SVGGlyphElement.cpp:
- (WebCore::parseSVGGlyphAttribute):
- (WebCore::SVGGlyphElement::buildGenericGlyphIdentifier):
- (WebCore::SVGGlyphElement::buildGlyphIdentifier):
- * svg/SVGHKernElement.cpp:
- (WebCore::SVGHKernElement::buildHorizontalKerningPair):
- * svg/SVGSVGElement.cpp:
- (WebCore::SVGSVGElement::contentScriptType):
- (WebCore::SVGSVGElement::contentStyleType):
- * svg/SVGStyleElement.cpp:
- (WebCore::SVGStyleElement::type):
- (WebCore::SVGStyleElement::media):
- (WebCore::SVGStyleElement::title):
- * svg/SVGVKernElement.cpp:
- (WebCore::SVGVKernElement::buildVerticalKerningPair):
- * svg/animation/SVGSMILElement.cpp:
- (WebCore::SVGSMILElement::insertedIntoDocument):
- (WebCore::SVGSMILElement::parseMappedAttribute):
- (WebCore::SVGSMILElement::restart):
- (WebCore::SVGSMILElement::fill):
- (WebCore::SVGSMILElement::xlinkHref):
- (WebCore::SVGSMILElement::dur):
- (WebCore::SVGSMILElement::repeatDur):
- (WebCore::SVGSMILElement::repeatCount):
- (WebCore::SVGSMILElement::maxValue):
- (WebCore::SVGSMILElement::minValue):
-
-2011-06-15 Abhishek Arya <inferno@chromium.org>
-
- Reviewed by Antti Koivisto.
-
- Revert speculative fix in r84151. It caused some issues with
- stylesheet lifetimes.
- https://bugs.webkit.org/show_bug.cgi?id=62586
-
- Tests: fast/dom/body-clone-link-decl-parent-crash.html
- fast/dom/styled-clone-inline-style-decl-parent-crash.html
- fast/dom/styled-not-in-document-clone-inline-style-decl-parent-crash.html
-
- * dom/Document.cpp:
- (WebCore::Document::removedLastRef):
-
-2011-06-15 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Implement animationXXX functions for Progress Tag
- https://bugs.webkit.org/show_bug.cgi?id=62713
-
- Progress tag need to implement acnimationXXX functions in order to show animation of
- progress tag. Because, RenderProgress decides to show update progress bar's animation
- according to the functions.
-
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::animationRepeatIntervalForProgressBar):
- (WebCore::RenderThemeEfl::animationDurationForProgressBar):
- * platform/efl/RenderThemeEfl.h:
-
-2011-06-15 Sam Weinig <sam@webkit.org>
-
- Reviewed by Alexey Proskuryakov.
-
- Frequent crashes due to null frame below ApplicationCacheHost::scheduleLoadFallbackResourceFromApplicationCache
- https://bugs.webkit.org/show_bug.cgi?id=62764
-
- This is an non-reproducible high volume crash, so no test :(.
-
- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::detachFromFrame):
- Be conservative and stop loading when we detach a document loader from a frame.
-
-2011-06-15 Beth Dakin <bdakin@apple.com>
-
- Reviewed by Simon Fraser.
-
- https://bugs.webkit.org/show_bug.cgi?id=62746
- Crash possible when switching scrollbar appearance preference on Mac
- -and corresponding-
- <rdar://problem/9323983>
-
- This crash happens because the current mechanism that is intended to flag
- ScrollAnimators as being in the page cache or not does not work correctly.
- Long-term the fix for this is to move the ScrollableArea HashSet to a more
- appropriate place. In the meantime, this patch addresses the crash by getting
- rid of the m_isActive bool on ScrollAnimator that was intended to represent
- whether or not the ScrollableArea is in the page cache. Instead, ScrollableArea
- implementations now have their own functions to compute whether they are in
- active pages. ScrollAnimator::setIsActive() needs to be kept around even though
- there is no bool to flip anymore because scrollbars may need to be properly
- updated if the appearance was switched while the document was in the page cache.
-
- No longer call FrameView::setAnimatorsAreActive() from
- Document::setIsInPageCache(), instead call it in
- Document::documentDidBecomeActive()
- * dom/Document.cpp:
- (WebCore::Document::setInPageCache):
- (WebCore::Document::documentDidBecomeActive):
-
- ScrollableAreas can now assess whether or not they are on active pages (ie, not
- in the page cache).
- * platform/ScrollableArea.h:
- (WebCore::ScrollableArea::isOnActivePage):
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::isOnActivePage):
- * rendering/RenderLayer.h:
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::isOnActivePage):
- * rendering/RenderListBox.h:
-
- A FrameView cannot access its Document when it's in the page cache, so it
- usually determines whether it's in the page cache by checking if its frame
- points to a FrameView other than itself.
- * page/FrameView.cpp:
- (WebCore::FrameView::isOnActivePage):
-
- Make sure ScrollableAreas are on active pages before setting them as
- active. This will not be necessary when the HashSet become a per-web page
- HashSet.
- (WebCore::FrameView::setAnimatorsAreActive):
- * page/FrameView.h:
-
- ScrollAnimator no longer tracks the m_isActive bool.
- * platform/ScrollAnimator.cpp:
- (WebCore::ScrollAnimator::ScrollAnimator):
- * platform/ScrollAnimator.h:
- (WebCore::ScrollAnimator::setIsActive):
-
- setIsActive() now exclusively calls updateScrollStyle() if there is a pending
- need to do so.
- * platform/mac/ScrollAnimatorMac.h:
- * platform/mac/ScrollAnimatorMac.mm:
- (WebCore::ScrollAnimatorMac::setIsActive):
-
- Return early if the ScrollableArea is in the page cache.
- (WebCore::ScrollAnimatorMac::updateScrollerStyle):
-
-2011-06-15 Simon Fraser <simon.fraser@apple.com>
-
- Reviewed by Dan Bernstein.
-
- Have Document keep track of whether scroll listeners are registered
- https://bugs.webkit.org/show_bug.cgi?id=62757
-
- To avoid extra work dispatching scroll events when there are no listeners,
- have Document keep track of whether any scroll listeners are registered,
- just like it does for some other event types.
-
- * dom/Document.cpp:
- (WebCore::Document::addListenerTypeIfNeeded):
- * dom/Document.h:
- * dom/EventQueue.cpp:
- (WebCore::EventQueue::enqueueOrDispatchScrollEvent):
-
-2011-06-15 Dimitri Glazkov <dglazkov@chromium.org>
-
- Reviewed by Adam Barth.
-
- Clarify FileChooser creation code.
- https://bugs.webkit.org/show_bug.cgi?id=62756
-
- initialize() method is only used once and that is not obvious, so just fold it into the create method.
-
- Refactoring, no change in behavior.
-
- * platform/FileChooser.cpp:
- (WebCore::FileChooser::create): Folded initialize() code there.
- * platform/FileChooser.h: Removed decl.
-
-2011-06-15 Eric Carlson <eric.carlson@apple.com>
-
- Reviewed by Alexey Proskuryakov.
-
- MediaPlayerPrivate should not know about application cache
- https://bugs.webkit.org/show_bug.cgi?id=62648
-
- Test: http/tests/appcache/video.html
-
- * html/HTMLMediaElement.cpp:
- (WebCore::createFileURLForApplicationCacheResource): Create a url for a file
- in the application cache folder.
- (WebCore::HTMLMediaElement::loadResource): Change url to point to file in the application
- cache if necessary.
- (WebCore::HTMLMediaElement::mediaLoadingFailed): Split failure logic out of setNetworkState
- so it can be called when asked to load a file that is not in the application cache.
- (WebCore::HTMLMediaElement::setNetworkState): Move failure logic out to mediaLoadingFailed.
- * html/HTMLMediaElement.h:
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
- (WebCore::MediaPlayerPrivateAVFoundation::setPreload): Remove app cache logic.
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm: Ditto.
-
- * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
- * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
- (WebCore::MediaPlayerPrivateQTKit::loadInternal): Ditto.
-
- * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
- (WebCore::MediaPlayerPrivateQuickTimeVisualContext::loadInternal): Ditto.
-
-2011-06-15 Mark Pilgrim <pilgrim@chromium.org>
-
- Reviewed by Tony Chang.
-
- IndexedDB: indexedDB.open() name argument is required
- https://bugs.webkit.org/show_bug.cgi?id=62398
-
- Test: storage/indexeddb/database-name-undefined.html
-
- * storage/IDBFactory.idl: use appropriate IDL magic to force undefined values to null, so we handle missing arguments as well as null arguments
-
-2011-06-15 Tony Chang <tony@chromium.org>
-
- Reviewed by Ojan Vafai.
-
- Rename RenderFlexibleBox to RenderDeprecatedFlexibleBox
- https://bugs.webkit.org/show_bug.cgi?id=62670
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.order:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * html/shadow/MediaControlElements.cpp:
- (WebCore::RenderMediaControlTimeDisplay::RenderMediaControlTimeDisplay):
- (WebCore::RenderMediaControlTimeDisplay::layout):
- * html/shadow/SliderThumbElement.cpp:
- (WebCore::RenderSliderContainer::RenderSliderContainer):
- (WebCore::RenderSliderContainer::layout):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::createAnonymousBlock):
- * rendering/RenderBox.cpp:
- * rendering/RenderButton.cpp:
- (WebCore::RenderButton::RenderButton):
- (WebCore::RenderButton::addChild):
- (WebCore::RenderButton::removeChild):
- * rendering/RenderButton.h:
- * rendering/RenderDeprecatedFlexibleBox.cpp:
- (WebCore::FlexBoxIterator::FlexBoxIterator):
- (WebCore::FlexBoxIterator::reset):
- (WebCore::FlexBoxIterator::first):
- (WebCore::FlexBoxIterator::next):
- (WebCore::RenderDeprecatedFlexibleBox::RenderDeprecatedFlexibleBox):
- (WebCore::RenderDeprecatedFlexibleBox::~RenderDeprecatedFlexibleBox):
- (WebCore::marginWidthForChild):
- (WebCore::RenderDeprecatedFlexibleBox::calcHorizontalPrefWidths):
- (WebCore::RenderDeprecatedFlexibleBox::calcVerticalPrefWidths):
- (WebCore::RenderDeprecatedFlexibleBox::computePreferredLogicalWidths):
- (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
- (WebCore::gatherFlexChildrenInfo):
- (WebCore::RenderDeprecatedFlexibleBox::layoutHorizontalBox):
- (WebCore::RenderDeprecatedFlexibleBox::layoutVerticalBox):
- (WebCore::RenderDeprecatedFlexibleBox::applyLineClamp):
- (WebCore::RenderDeprecatedFlexibleBox::placeChild):
- (WebCore::RenderDeprecatedFlexibleBox::allowedChildFlex):
- (WebCore::RenderDeprecatedFlexibleBox::renderName):
- * rendering/RenderDeprecatedFlexibleBox.h:
- (WebCore::RenderDeprecatedFlexibleBox::avoidsFloats):
- (WebCore::RenderDeprecatedFlexibleBox::isFlexibleBox):
- (WebCore::RenderDeprecatedFlexibleBox::isFlexingChildren):
- (WebCore::RenderDeprecatedFlexibleBox::isStretchingChildren):
- (WebCore::RenderDeprecatedFlexibleBox::hasMultipleLines):
- (WebCore::RenderDeprecatedFlexibleBox::isVertical):
- (WebCore::RenderDeprecatedFlexibleBox::isHorizontal):
- * rendering/RenderDetails.h: Removed the header since it wasn't actually
- needed. Looks like a copy/paste error from RenderButton.h.
- * rendering/RenderFullScreen.cpp:
- (RenderFullScreen::RenderFullScreen):
- (RenderFullScreen::destroy):
- * rendering/RenderFullScreen.h:
- * rendering/RenderMenuList.cpp:
- (WebCore::RenderMenuList::RenderMenuList):
- (WebCore::RenderMenuList::createInnerBlock):
- (WebCore::RenderMenuList::removeChild):
- * rendering/RenderMenuList.h:
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::createObject):
- * rendering/RenderingAllInOne.cpp:
-
-2011-06-15 Alexander Pavlov <apavlov@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Serious performance regression during continuous focused element style updates
- https://bugs.webkit.org/show_bug.cgi?id=61038
-
- Inline style invalidation events are coalesced in the backend and sent over the wire on timer.
-
- * inspector/Inspector.json:
- * inspector/InspectorDOMAgent.cpp:
- (WebCore::RevalidateStyleAttributeTask::onTimer):
- (WebCore::InspectorDOMAgent::getAttributes):
- (WebCore::InspectorDOMAgent::didModifyDOMAttr):
- (WebCore::InspectorDOMAgent::styleAttributeInvalidated):
- * inspector/InspectorDOMAgent.h:
- * inspector/InspectorStyleSheet.cpp:
- (WebCore::InspectorStyleSheetForInlineStyle::didModifyElementAttribute):
- (WebCore::InspectorStyleSheetForInlineStyle::text):
- (WebCore::InspectorStyleSheetForInlineStyle::setStyleText):
- (WebCore::InspectorStyleSheetForInlineStyle::ensureParsedDataReady):
- (WebCore::InspectorStyleSheetForInlineStyle::getStyleAttributeRanges):
- * inspector/InspectorStyleSheet.h:
- * inspector/front-end/DOMAgent.js:
- (WebInspector.DOMAgent):
- (WebInspector.DOMAgent.prototype._attributesUpdated):
- (WebInspector.DOMAgent.prototype._loadNodeAttributesSoon):
- (WebInspector.DOMAgent.prototype._loadNodeAttributes):
- (WebInspector.DOMDispatcher.prototype.attributesUpdated):
- (WebInspector.DOMDispatcher.prototype.inlineStyleInvalidated):
-
-2011-06-15 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Timothy Hatcher.
-
- Full-screen live streams have status text in wrong location
- https://bugs.webkit.org/show_bug.cgi?id=62733
-
- Fix a misspelling in the user-agent stylesheet for full-screen mode.
-
- * css/fullscreenQuickTime.css:
- (video:-webkit-full-screen::-webkit-media-controls-status-display):
-
-2011-06-14 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Eric Carlson.
-
- (AVFoundation) Apple event video appears as live stream and is not seekable
- https://bugs.webkit.org/show_bug.cgi?id=62694
-
- No new tests; There are no media-player port specific tests yet.
-
- Work around a bug in apple.com live stream javascript controller library. When an AVAsset returns an indefinite time
- for its duration, return 0 if the asset has no tracks, and infinity otherwise. This keeps the apple.com controller
- from identifying the stored stream as a live stream.
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::platformDuration):
-
-2011-06-15 Andrey Kosyakov <caseq@chromium.org>
-
- Unreviewed, rolled out r88937 (broke build on mac)
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * fileapi/FileReaderLoader.cpp:
- (WebCore::FileReaderLoader::didReceiveResponse):
- * fileapi/FileReaderLoader.h:
- * inspector/Inspector.json:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::didCommitLoadImpl):
- * inspector/InspectorInstrumentation.h:
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::willSendRequest):
- (WebCore::InspectorResourceAgent::didReceiveResponse):
- (WebCore::InspectorResourceAgent::setInitialXHRContent):
- (WebCore::InspectorResourceAgent::InspectorResourceAgent):
- * inspector/InspectorResourceAgent.h:
- * inspector/NetworkResourcesData.cpp: Removed.
- * inspector/NetworkResourcesData.h: Removed.
- * inspector/front-end/NetworkManager.js:
- (WebInspector.NetworkManager.prototype.requestContent):
- (WebInspector.NetworkDispatcher.prototype._appendRedirect):
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkPanel.prototype._appendResource):
- (WebInspector.NetworkPanel.prototype._frameNavigated):
- * loader/DocumentThreadableLoader.cpp:
- (WebCore::DocumentThreadableLoader::didReceiveResponse):
- (WebCore::DocumentThreadableLoader::receivedCancellation):
- (WebCore::DocumentThreadableLoader::loadRequest):
- * loader/DocumentThreadableLoader.h:
- * loader/ThreadableLoaderClientWrapper.h:
- (WebCore::ThreadableLoaderClientWrapper::didReceiveResponse):
- (WebCore::ThreadableLoaderClientWrapper::didReceiveAuthenticationCancellation):
- * loader/WorkerThreadableLoader.cpp:
- (WebCore::workerContextDidReceiveResponse):
- (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveResponse):
- (WebCore::workerContextDidReceiveAuthenticationCancellation):
- (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveAuthenticationCancellation):
- * loader/WorkerThreadableLoader.h:
- * notifications/Notification.cpp:
- (WebCore::Notification::didReceiveResponse):
- (WebCore::Notification::didReceiveAuthenticationCancellation):
- * notifications/Notification.h:
- * page/EventSource.cpp:
- (WebCore::EventSource::didReceiveResponse):
- * page/EventSource.h:
- * xml/XMLHttpRequest.cpp:
- (WebCore::XMLHttpRequest::createRequest):
- (WebCore::XMLHttpRequest::didReceiveResponse):
- (WebCore::XMLHttpRequest::didReceiveAuthenticationCancellation):
- * xml/XMLHttpRequest.h:
-
-2011-06-15 Pavel Feldman <pfeldman@google.com>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: introduce context menu on ImageView with Copy and Open in new tab actions.
- https://bugs.webkit.org/show_bug.cgi?id=62727
-
- * English.lproj/localizedStrings.js:
- * inspector/front-end/ImageView.js:
- (WebInspector.ImageView.prototype._base64ToSize):
- (WebInspector.ImageView.prototype._contextMenu):
- (WebInspector.ImageView.prototype._copyImageURL):
- (WebInspector.ImageView.prototype._openInNewTab):
-
-2011-06-15 Andrey Kosyakov <caseq@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: provide unique identifiers for frames
- https://bugs.webkit.org/show_bug.cgi?id=62721
-
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::frameDestroyedImpl):
- * inspector/InspectorInstrumentation.h:
- (WebCore::InspectorInstrumentation::frameDestroyed):
- * inspector/InspectorPageAgent.cpp:
- (WebCore::InspectorPageAgent::frameForId):
- (WebCore::InspectorPageAgent::frameId):
- (WebCore::InspectorPageAgent::frameDestroyed):
- * inspector/InspectorPageAgent.h:
- * page/Frame.cpp:
- (WebCore::Frame::~Frame):
-
-2011-06-15 Andrey Kosyakov <caseq@chromium.org>
-
- Unreviewed build fix: comment unused parameter names.
-
- * loader/ThreadableLoaderClient.h:
- (WebCore::ThreadableLoaderClient::didReceiveResponse):
- (WebCore::ThreadableLoaderClient::didReceiveAuthenticationCancellation):
-
-2011-06-15 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: script select can be too wide.
- https://bugs.webkit.org/show_bug.cgi?id=62701
-
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._displayNameForScriptURL):
- (WebInspector.ScriptsPanel.prototype._createSourceFrame):
- (WebInspector.SourceFrameDelegateForScriptsPanel):
- (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.suggestedFileName):
- * inspector/front-end/SourceFile.js:
-
-2011-06-15 Noel Gordon <noel.gordon@gmail.com>
-
- Reviewed by Eric Seidel.
-
- Draw CSS outline style for render widgets: iframe, embed, object, applet.
- https://bugs.webkit.org/show_bug.cgi?id=57439
-
- Draw CSS outlines for render widgets: iframe, embed, object, applet. These elements can
- be focused (via clicks or tabIndex) but should not have a visible focus ring by default.
-
- Tests: fast/replaced/no-focus-ring-embed.html
- fast/replaced/no-focus-ring-iframe.html
- fast/replaced/no-focus-ring-object.html
- fast/replaced/outline-replaced-elements.html
-
- * css/html.css:
- (applet:focus, embed:focus, iframe:focus, object:focus): Default to no focus ring.
- * rendering/RenderWidget.cpp:
- (WebCore::RenderWidget::paint): Paint the render widget CSS outline style.
-
-2011-06-15 Steve Block <steveblock@google.com>
-
- Reviewed by Tony Gentilcore.
-
- V8PerformanceCustom.cpp lacks WEB_TIMING guards
- https://bugs.webkit.org/show_bug.cgi?id=62689
-
- No new tests, build fix only.
-
- * bindings/v8/custom/V8PerformanceCustom.cpp:
-
-2011-06-15 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r88916.
- http://trac.webkit.org/changeset/88916
- https://bugs.webkit.org/show_bug.cgi?id=62728
-
- Broke a bunch of layout tests on chromium (Requested by
- podivilov on #webkit).
-
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._createSourceFrame):
- (WebInspector.SourceFrameDelegateForScriptsPanel):
- (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.suggestedFileName):
- * inspector/front-end/SourceFile.js:
- (WebInspector.SourceFile.prototype.get displayName):
-
-2011-06-15 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: script links are displayed with original line number in pretty-print mode.
- https://bugs.webkit.org/show_bug.cgi?id=62282
-
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel):
- (WebInspector.DebuggerPresentationModel.prototype.registerAnchor):
- (WebInspector.DebuggerPresentationModel.prototype._updateAnchor.didGetUILocation):
- (WebInspector.DebuggerPresentationModel.prototype._updateAnchor):
- (WebInspector.DebuggerPresentationModel.prototype.setFormatSourceFiles):
- (WebInspector.DebuggerPresentationModel.prototype._debuggerReset):
- * inspector/front-end/NetworkPanel.js:
- (WebInspector.NetworkPanel.prototype.showAnchorLocation):
- (WebInspector.NetworkPanel.prototype._showResource):
- * inspector/front-end/Panel.js:
- (WebInspector.Panel.prototype.createAnchor):
- (WebInspector.Panel.prototype.formatAnchorText):
- * inspector/front-end/ResourcesPanel.js:
- (WebInspector.ResourcesPanel.prototype.showAnchorLocation):
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype.createAnchor.):
- (WebInspector.ScriptsPanel.prototype.createAnchor):
- (WebInspector.ScriptsPanel.prototype.showAnchorLocation.didGetUILocation):
- (WebInspector.ScriptsPanel.prototype.showAnchorLocation):
- * inspector/front-end/inspector.js:
- (WebInspector._showAnchorLocation):
- (WebInspector.linkifyResourceAsNode):
-
-2011-06-14 Hans Wennborg <hans@chromium.org>
-
- Reviewed by Tony Gentilcore.
-
- IndexedDB: Use fileExists() first when checking if SQLite db exists
- https://bugs.webkit.org/show_bug.cgi?id=62638
-
- In IDBSQLiteBackingStore::backingStoreExists(), which is used to check
- if a SQLite database exists and should be considered for migration,
- check if the file exists first.
-
- Trying to open a SQLite database for a non-existing file prints a
- noisy error message in debug builds.
-
- No new functionality, no new tests.
-
- * storage/IDBSQLiteBackingStore.cpp:
- (WebCore::IDBSQLiteBackingStore::backingStoreExists):
-
-2011-06-14 Alexander Pavlov <apavlov@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: "data" URLs not detected in CSS url(...) values properly
- https://bugs.webkit.org/show_bug.cgi?id=62643
-
- * inspector/front-end/inspector.js:
- (WebInspector.completeURL):
-
-2011-06-15 Pavel Feldman <pfeldman@google.com>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: [REGRESSION] errors in watches and in console are not rendered in red.
- https://bugs.webkit.org/show_bug.cgi?id=62708
-
- Test: inspector/debugger/error-in-watch-expressions.html
-
- * inspector/front-end/RemoteObject.js:
- * inspector/front-end/WatchExpressionsSidebarPane.js:
- (WebInspector.WatchExpressionsSection.prototype.update.appendResult):
- (WebInspector.WatchExpressionsSection.prototype.update):
- (WebInspector.WatchExpressionTreeElement.prototype.update):
- * inspector/front-end/inspector.css:
- (.console-error-level .console-message-text, .console-error-level .section .header .title):
- (.console-formatted-object, .console-formatted-node):
-
-2011-06-15 Carlos Garcia Campos <cgarcia@igalia.com>
-
- Unreviewed. Remove unneeded constructor declaration added by mistake in r88800.
-
- * platform/gtk/GtkAuthenticationDialog.h:
-
-2011-06-15 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: script select can be too wide.
- https://bugs.webkit.org/show_bug.cgi?id=62701
-
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._displayNameForScriptURL):
- (WebInspector.ScriptsPanel.prototype._createSourceFrame):
- (WebInspector.SourceFrameDelegateForScriptsPanel):
- (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.suggestedFileName):
- * inspector/front-end/SourceFile.js:
-
-2011-06-15 Nikolas Zimmermann <nzimmermann@rim.com>
-
- Reviewed by David Hyatt.
-
- CSS 2.1: Support replaced elements with relative intrinsic sizes
- https://bugs.webkit.org/show_bug.cgi?id=15849
-
- CSS 2.1 failure: html4/replaced-intrinsic-ratio-001
- https://bugs.webkit.org/show_bug.cgi?id=53099
-
- Generalize the recently added SVG specific host <-> embedded document size-negotiation used
- to support embedding SVGs with intrinsic ratio/size via <iframe>/<object>/<embed> from
- RenderPart right into RenderReplaced. It will be used to share the size-negotiation logic
- with RenderImage, which still has its own way to negotiate with the embedded SVG to figure
- out its size (and it's broken in several ways).
-
- This fully implements intrinsic size/ratio support for replaced elements, as specified in:
- http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width
- http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height
-
- RenderImage has not yet been converted to use the new size negotiation logic, this is just
- the ground work. As soon as this is done all ways of embedding SVG is unified in a single
- way: the same size negotiation logic used for object/embed/iframe/img for SVG documents.
-
- To use it for non-SVG target documents, it's just a matter of implementing
- "RenderBox* embeddedContentBox()" which needs to return the root renderer of the embedded document.
- For SVG it's the embedded document RenderSVGRoot renderer, associated with the outermost <svg> element.
- It's easy to implement this for embedded MathML documents or PDF documents now, if needed.
-
- Imported all CSS 2.1 tests named *replaced* and *intrinsic* tests, except the still failing background-intrinsic-*
- which embed SVGs through background-image or <img>, which still use the old size-negotiation logic.
-
- Tests: css2.1/20110323/* (203 tests + support files)
- svg/zoom/page/zoom-replaced-intrinsic-ratio-001.htm (same as replaced-intrinsic-ratio-001.htm, but zooms in a few times, to see whether all boxes react properly)
- http/tests/misc/object-embedding-svg-delayed-size-negotiation-2.htm (same as replaced-intrinsic-ratio-001.htm, but with delayed loading of the SVG to test late-size-negotiation)
-
- This fixes:
- css2.1/20110323/replaced-intrinsic-ratio-001.htm
- css2.1/20110323/replaced-intrinsic-003.htm
- css2.1/20110323/block-replaced-height-007.htm
- css2.1/20110323/float-replaced-height-007.htm
- css2.1/20110323/inline-block-replaced-height-007.htm
- css2.1/20110323/inline-replaced-height-007.htm
-
- We're now the first to properly handle replaced-intrinsic-ratio-001.htm out of Opera/FF/IE9 :-)
- This is an important piece of embedding SVGs though, so glad that we finally have it.
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::layoutBlockChildren): Use new helper needsPreferredWidthsRecalculation() to figure out whether pref widths need to be calculated.
- (WebCore::RenderBlock::layoutPositionedObjects): Ditto.
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::layoutInlineChildren): Ditto.
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::needsPreferredWidthsRecalculation): Refactored and extended from RenderBlock*. We have to recalculate pref widths upon layout
- if we embed a document with an intrinsic ratio/size, extensively covered by
- svg/zoom/page/zoom-replaced-intrinsic-ratio-001.htm
- * rendering/RenderBox.h:
- (WebCore::RenderBox::computeIntrinsicRatioInformation): New virtual function, only implemented in RenderPart so far. This generalizes the existing method from RenderPart.
- * rendering/RenderPart.cpp:
- (WebCore::RenderPart::needsPreferredWidthsRecalculation): Always recompute pref widths of we have an embeddedContentBox() - it may depend on our size.
- (WebCore::RenderPart::embeddedContentBox): Return the RenderSVGRoot box of the embedded SVG document, if we're embedded through object/embed/iframe (soon img as well).
- * rendering/RenderPart.h:
- * rendering/RenderReplaced.cpp:
- (WebCore::RenderReplaced::computeIntrinsicLogicalWidth): New helper function, that either returns a fixed intrinsic size (set by a class inheriting from us) or the embedded target document size.
- (WebCore::RenderReplaced::computeIntrinsicLogicalHeight): Ditto.
- (WebCore::RenderReplaced::computeReplacedLogicalWidth): Full implementation of: 10.3.2 Inline, replaced elements: http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width.
- (WebCore::RenderReplaced::computeReplacedLogicalHeight): Full implementation of: 10.6.2 Inline, replaced elements: http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height
- * rendering/RenderReplaced.h:
- (WebCore::RenderReplaced::embeddedContentBox):
- * rendering/svg/RenderSVGRoot.cpp:
- (WebCore::RenderSVGRoot::computeReplacedLogicalWidth): Fix problem when zooming replaced-intrinsic-ratio-001.htm: if ownerWidth is auto, don't apply style()->effectiveZoom() twice.
- (WebCore::RenderSVGRoot::computeReplacedLogicalHeight): Ditto for ownerHeight auto.
- * rendering/svg/RenderSVGRoot.h: Mark 'computeIntrinsicRatioInformation' virtual.
-
-2011-06-09 MORITA Hajime <morrita@google.com>
-
- Reviewed by Dimitri Glazkov.
-
- ShadowContentElement should detach its inclusions before attaching them.
- https://bugs.webkit.org/show_bug.cgi?id=62428
-
- - On ShadowContentElement::attach(), changed inclusion attach scheme
- from per-node reattach() to detach()-all-and-attach()-them. This
- eliminates attach() order problems which ShadowContentElement
- possibly has.
- - Changed ShadowContentElement to have m_inclusions as a member variable,
- which will be used by upcoming changes.
- - Moved attach() code from ShadowContentSelector to ShadowContentElement
- because the element now owns the inclusion list.
-
- No new tests. No visible behavioral change yet.
-
- * dom/ShadowContentElement.cpp:
- (WebCore::ShadowContentElement::attach):
- (WebCore::ShadowContentElement::detach): Added.
- * dom/ShadowContentElement.h:
- (WebCore::ShadowContentElement::inclusionAt): Added.
- (WebCore::ShadowContentElement::inclusionCount): Added.
- (WebCore::toShadowContentElement):
- * dom/ShadowContentSelector.cpp: Removed attachChildrenFor()
- (WebCore::ShadowContentSelector::selectInclusion): Extracted from attachChildrenFor()
- (WebCore::ShadowContentSelector::willAttachContentFor): Extracted from attachChildrenFor()
- (WebCore::ShadowContentSelector::didAttachContent): Extracted from attachChildrenFor()
- (WebCore::ShadowContentSelector::activeElement):
- * dom/ShadowContentSelector.h:
-
-2011-06-14 David Kilzer <ddkilzer@apple.com>
-
- <http://webkit.org/b/62677> Part 2/2: Remove duplicate header entries in WebCore project file
-
- Reviewed by Darin Adler.
-
- Most of the DOMSVG*.h headers were added in late 2006, and then
- duplicated by late 2007. They've been in the tree a long time.
-
- * WebCore.xcodeproj/project.pbxproj: Let Xcode 4 remove
- duplicate header entries.
-
-2011-06-14 David Kilzer <ddkilzer@apple.com>
-
- <http://webkit.org/b/62677> Part 1/2: Remove duplicate header entries in WebCore project file
-
- Reviewed by Darin Adler.
-
- These headers were added as duplicates in r83256:
-
- DefaultAudioDestinationNode.h
- JSOfflineAudioCompletionEvent.h
- OfflineAudioCompletionEvent.h
- OfflineAudioDestinationNode.h
-
- The following duplicates were introduced in r84053 (after having
- been originally added in r83729):
-
- StorageInfo.h
- StorageInfoErrorCallback.h
- StorageInfoQuotaCallback.h
- StorageInfoUsageCallback.h
-
- * WebCore.xcodeproj/project.pbxproj: Remove duplicates using
- 'uniq' since sort-Xcode-project-file did most of the work.
-
-2011-06-14 Kent Tamura <tkent@chromium.org>
-
- Reviewed by Hajime Morita.
-
- REGRESSION(r88757): [Chromium] Vertical position of media slider thumb is wrong.
- https://bugs.webkit.org/show_bug.cgi?id=62685
-
- No new tests. Covered by existing tests.
-
- * rendering/RenderSlider.cpp:
- (WebCore::RenderSlider::layout): Center the thumb position.
- * rendering/RenderSlider.h:
-
-2011-06-14 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Change color initialization with clear color constant
- https://bugs.webkit.org/show_bug.cgi?id=62691
-
- Some color values are initialized by rbg value. Color constant value is more clear than
- rgb value.
-
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::RenderThemeEfl):
-
-2011-06-14 Julien Chaffraix <jchaffraix@webkit.org>
-
- Reviewed by James Robinson.
-
- Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.fill.destination-in.html
- https://bugs.webkit.org/show_bug.cgi?id=48293
-
- And
-
- Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.pattern.destination-in.html
- https://bugs.webkit.org/show_bug.cgi?id=48303
-
- * html/canvas/CanvasRenderingContext2D.cpp:
- (WebCore::CanvasRenderingContext2D::shouldDisplayTransparencyElsewhere): Added CompositeDestinationIn
- as this is the only one that needs a specific treatment.
-
-2011-06-14 Naoki Takano <takano.naoki@gmail.com>
-
- Reviewed by Kent Tamura.
-
- [Chromium] Forward modifiers + up/down key events to text field when autofill popup window is shown.
- https://bugs.webkit.org/show_bug.cgi?id=62350
- http://code.google.com/p/chromium/issues/detail?id=61349
-
- Manual test: autofill-popup-shiftupdown.html
-
- * manual-tests/chromium/autofill-popup-shiftupdown.hml: Added to check modifier + up/down key is working correctly for text area in autofill popup is shown.
- * platform/chromium/PopupMenuChromium.cpp:
- (WebCore::PopupListBox::handleKeyEvent): Check modifier key and menu style to decide if the event should be forwarded or not.
-
-2011-06-14 Annie Sullivan <sullivan@chromium.org>
-
- Reviewed by Ryosuke Niwa.
-
- Span ID duplicated when pressing enter at beginning of span
- https://bugs.webkit.org/show_bug.cgi?id=62621
-
- Strip id from cloned span, so that it is not duplicated.
-
- Test: editing/inserting/return-key-span-start.html
-
- * editing/InsertParagraphSeparatorCommand.cpp:
- (WebCore::InsertParagraphSeparatorCommand::cloneHierarchyUnderNewBlock):
-
-2011-06-13 Ryosuke Niwa <rniwa@webkit.org>
-
- Reviewed by David Hyatt.
-
- Trailing tabs in a textarea become unselectable under certain conditions
- https://bugs.webkit.org/show_bug.cgi?id=54598
-
- The bug was caused by WebKit's erroneously collapsing leading whitespace when white-space is
- set to pre-wrap. Per CSS 2.1 spec section 16.1.1, leading whitespace should not be removed
- in this case.
-
- See also: http://www.w3.org/TR/CSS2/text.html#white-space-model
-
- Fixed the bug by adding an extra argument to shouldCollapseWhiteSpace, indicating whether
- whitespace is leading or trailing. It defaults to leading because 16.1.1 does not allow allow
- collapsing of whitespace anywhere but at the end of each line.
-
- Test: fast/text/pre-wrap-trailing-tab.html
-
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::shouldCollapseWhiteSpace): Added WhitespacePosition as an argument. Returns false
- when whitespacePosition is not TrailingWhitespace even if white-space is pre-wrap.
- (WebCore::requiresLineBox): Takes WhitespacePosition as an argument and passes it to
- shouldCollapseWhiteSpace.
- (WebCore::RenderBlock::generatesLineBoxesForInlineChild): Calls requiresLineBox.
- (WebCore::RenderBlock::LineBreaker::skipTrailingWhitespace): Ditto.
- (WebCore::RenderBlock::LineBreaker::skipLeadingWhitespace): Ditto.
-
-2011-06-14 Beth Dakin <bdakin@apple.com>
-
- Reviewed by Dan Bernstein.
-
- https://bugs.webkit.org/show_bug.cgi?id=62678
- When the window is small enough, the scrollbars are misplaced with painting
- artifacts, after changing the scrollbar appearance
- -and corresponding-
- <rdar://problem/9414015>
-
- Get rid of the FrameView implementation of scrollbarStyleChanged(). Its approach
- is just not good.
- * page/FrameView.cpp:
- * page/FrameView.h:
-
- Implement scrollbarStyleChanged() on ScrollView instead. And just call
- updatedScrollbars().
- * platform/ScrollView.cpp:
- (WebCore::ScrollView::scrollbarStyleChanged):
- * platform/ScrollView.h:
-
- Invalidate the old scrollbar before changing it to the new scrollbar. This way
- when the scrollbar gets smaller, the older, larger pieces still repaint properly.
- * platform/mac/ScrollAnimatorMac.mm:
- (WebCore::ScrollAnimatorMac::updateScrollerStyle):
-
-2011-06-14 Michael Saboff <msaboff@apple.com>
-
- Reviewed by Joseph Pecoraro.
-
- Incorrect #if[n]def for building without DISPATCH_VM_PRESSURE
- https://bugs.webkit.org/show_bug.cgi?id=62649
-
- Take 2.
- The #ifdef DISPATCH_VM_PRESSURE doesn't work. Combined the code
- inside this #ifdef with the prior #ifndef DISPATCH_SOURCE_TYPE_VM.
-
- No functional changes, fixing build issue therefore no tests.
-
- * platform/mac/MemoryPressureHandlerMac.mm:
-
-2011-06-14 Jeffrey Pfau <jpfau@apple.com>
-
- Reviewed by David Hyatt.
-
- Null dereference in WebCore::RenderBlock::splitFlow regarding use of multicol, inline-block, and spanning elements
- https://bugs.webkit.org/show_bug.cgi?id=60028
-
- Ensure that the parent block of a spanning element, if it is not itself
- a multicol element, is not inline.
-
- Test: fast/multicol/span/span-as-nested-inline-block-child.html
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::columnsBlockForSpanningElement):
-
-2011-06-14 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Eric Carlson.
-
- REGRESSION: Drawing video into canvas gets about one frame every 5 seconds (AVFoundation)
- https://bugs.webkit.org/show_bug.cgi?id=62655
-
- No new tests; we don't have any media-engine specific tests.
-
- AVAssetImageGenerator will, by default, return the nearest keyframe. To get the generator to return
- the image from the current time instead of the nearest keyframe, set the requested time tolerance to
- zero (which defaults to infinity).
-
- * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
- (WebCore::MediaPlayerPrivateAVFoundationObjC::createContextVideoRenderer):
-
-2011-06-14 Eric Uhrhane <ericu@chromium.org>
-
- Reviewed by Darin Fisher.
-
- Clean up filesystem base path code.
- https://bugs.webkit.org/show_bug.cgi?id=60218
-
- Change a bunch of url-held-in-a-string parameters into real KURLS and
- WebURLs.
-
- No new tests--no change in functionality.
-
- * fileapi/DOMFileSystem.cpp:
- (WebCore::DOMFileSystem::createWriter):
- (WebCore::DOMFileSystem::createFile):
- * fileapi/DOMFileSystemBase.cpp:
- (WebCore::DOMFileSystemBase::getMetadata):
- (WebCore::DOMFileSystemBase::move):
- (WebCore::DOMFileSystemBase::copy):
- (WebCore::DOMFileSystemBase::remove):
- (WebCore::DOMFileSystemBase::removeRecursively):
- (WebCore::DOMFileSystemBase::getParent):
- (WebCore::DOMFileSystemBase::getFile):
- (WebCore::DOMFileSystemBase::getDirectory):
- (WebCore::DOMFileSystemBase::readDirectory):
- * fileapi/DOMFileSystemSync.cpp:
- (WebCore::DOMFileSystemSync::createFile):
- (WebCore::DOMFileSystemSync::createWriter):
- * platform/AsyncFileSystem.cpp:
- (WebCore::AsyncFileSystem::openFileSystem):
- * platform/AsyncFileSystem.h:
- (WebCore::AsyncFileSystem::AsyncFileSystem):
-
-2011-06-14 James Robinson <jamesr@chromium.org>
-
- Reviewed by Stephen White.
-
- [chromium] Compositor shader initialization is inefficient
- https://bugs.webkit.org/show_bug.cgi?id=62618
-
- This fixes several issues causing slowdowns in compositor shader initialization, mostly due to lack of
- parallelism:
-
- - Avoid initializing all programs eagerly. We only use two programs on every page, the other programs depend on
- content and are constructed on demand.
-
- - Defer querying uniform locations until draw time. For the eagerly constructed programs (render surface +
- tiler) this means that the GPU process has a chance to compile the shader while the renderer is busy
- painting+uploading instead of blocking on shader compilation in order to get uniform locations.
-
- - Calls to query COMPILE_STATUS/LINK_STATUS moved behind #ifndef NDEBUG guards since these should never fail in
- release builds and force synchronous compilation/linking.
-
- This also adds a number of TRACE_EVENT()s to make analysing the performance of this bit of code easier.
-
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::LayerRendererChromium::updateLayers):
- (WebCore::LayerRendererChromium::initializeSharedObjects):
- (WebCore::LayerRendererChromium::borderProgram):
- (WebCore::LayerRendererChromium::headsUpDisplayProgram):
- (WebCore::LayerRendererChromium::renderSurfaceProgram):
- (WebCore::LayerRendererChromium::renderSurfaceMaskProgram):
- (WebCore::LayerRendererChromium::tilerProgram):
- (WebCore::LayerRendererChromium::canvasLayerProgram):
- (WebCore::LayerRendererChromium::pluginLayerProgram):
- (WebCore::LayerRendererChromium::videoLayerRGBAProgram):
- (WebCore::LayerRendererChromium::videoLayerYUVProgram):
- * platform/graphics/chromium/LayerRendererChromium.h:
- * platform/graphics/chromium/LayerTextureSubImage.cpp:
- (WebCore::LayerTextureSubImage::uploadWithTexSubImage):
- (WebCore::LayerTextureSubImage::uploadWithMapTexSubImage):
- * platform/graphics/chromium/ProgramBinding.cpp:
- (WebCore::ProgramBindingBase::init):
- (WebCore::ProgramBindingBase::loadShader):
- (WebCore::ProgramBindingBase::createShaderProgram):
- * platform/graphics/chromium/ProgramBinding.h:
- (WebCore::ProgramBinding::ProgramBinding):
- (WebCore::ProgramBinding::initialize):
- * platform/graphics/chromium/ShaderChromium.cpp:
- (WebCore::VertexShaderPosTex::init):
- (WebCore::VertexShaderPosTexYUVStretch::init):
- (WebCore::VertexShaderPos::init):
- (WebCore::VertexShaderPosTexTransform::init):
- (WebCore::FragmentTexAlphaBinding::init):
- (WebCore::FragmentShaderRGBATexAlphaMask::init):
- (WebCore::FragmentShaderYUVVideo::init):
- (WebCore::FragmentShaderColor::init):
- * platform/graphics/chromium/ShaderChromium.h:
-
-2011-06-14 Stephanie Lewis <slewis@apple.com>
-
- Rubber stamped by Oliver Hunt.
-
- <rdar://problem/9511169>
- Update order files.
-
- Build system change, no change in functionality so no new tests.
-
- * WebCore.order:
-
-2011-06-14 Chris Fleizach <cfleizach@apple.com>
-
- Reviewed by David Kilzer.
-
- VoiceOver cannot navigate the iTunes album view table
- https://bugs.webkit.org/show_bug.cgi?id=62335
-
- This is a regression from https://bugs.webkit.org/show_bug.cgi?id=57463.
- Part of that patch made a change so that an ARIA table will only look at it's children and grandchildren
- for possible rows. That however, doesn't allow arbitrary hierarchies to work with ARIA, like in iTunes album view.
-
- Test: platform/mac/accessibility/aria-grid-with-strange-hierarchy.html
-
- * accessibility/AccessibilityARIAGrid.cpp:
- (WebCore::AccessibilityARIAGrid::addChild):
- (WebCore::AccessibilityARIAGrid::addChildren):
- * accessibility/AccessibilityARIAGrid.h:
-
-2011-06-14 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r88823.
- http://trac.webkit.org/changeset/88823
- https://bugs.webkit.org/show_bug.cgi?id=62652
-
- Broke the Lion build (Requested by estes on #webkit).
-
- * platform/mac/MemoryPressureHandlerMac.mm:
-
-2011-06-14 Michael Saboff <msaboff@apple.com>
-
- Reviewed by Joseph Pecoraro.
-
- Incorrect #if[n]def for building without DISPATCH_VM_PRESSURE
- https://bugs.webkit.org/show_bug.cgi?id=62649
-
- The #ifdef DISPATCH_VM_PRESSURE actually needs to be #ifndef
- to handle when DISPATCH_VM_PRESSURE is NOT defined in the
- system header files.
-
- No functional changes, fixing build issue therefore no tests.
-
- * platform/mac/MemoryPressureHandlerMac.mm:
-
-2011-06-13 Adrienne Walker <enne@google.com>
-
- Reviewed by James Robinson.
-
- [chromium] Disable drawing for huge mask layers
- https://bugs.webkit.org/show_bug.cgi?id=62607
-
- Because masks have a different layer size than the layer they are
- masking, they are untiled. If they are too large to be contained
- within a single texture, then they should just be disabled.
-
- Test: platform/chromium/compositing/huge-mask-layer.html
-
- * platform/graphics/chromium/ContentLayerChromium.cpp:
- (WebCore::ContentLayerChromium::drawsContent):
- (WebCore::ContentLayerChromium::paintContentsIfDirty):
- * platform/graphics/chromium/LayerTilerChromium.h:
- (WebCore::LayerTilerChromium::getSingleTexture):
- (WebCore::LayerTilerChromium::numTiles):
-
-2011-06-14 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
-
- Reviewed by Laszlo Gombos.
-
- [Qt] [Symbian] GraphicsLayer: support plugins on symbian
- https://bugs.webkit.org/show_bug.cgi?id=57418
-
- Implement graphics layer for plugins on Symbian.
-
- * plugins/PluginView.h:
- * plugins/qt/PluginViewQt.cpp:
- (WebCore::PluginView::shouldUseAcceleratedCompositing):
- (WebCore::PluginView::platformStart):
- * plugins/symbian/PluginViewSymbian.cpp:
- (WebCore::PluginGraphicsLayerQt::PluginGraphicsLayerQt):
- (WebCore::PluginGraphicsLayerQt::~PluginGraphicsLayerQt):
- (WebCore::PluginGraphicsLayerQt::paint):
- (WebCore::PluginView::shouldUseAcceleratedCompositing):
- (WebCore::PluginView::paint):
- (WebCore::PluginView::invalidateRect):
- (WebCore::PluginView::platformStart):
- (WebCore::PluginView::platformLayer):
-
-2011-06-14 Sreeram Ramachandran <sreeram@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Allow the console to persist on page refresh or navigation
- https://bugs.webkit.org/show_bug.cgi?id=53359
-
- Adds a context menu checkbox to preserve the console log across
- navigations. However, the underlying messages and objects are actually
- deleted from the backend, so they are not expandable; their continued
- display in the console frontend is merely cosmetic.
-
- Test: inspector/console/console-preserve-log.html
-
- * English.lproj/localizedStrings.js:
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.messagesCleared):
- (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher):
- (WebInspector.ConsoleView.prototype.requestClearMessages):
- (WebInspector.ConsoleView.prototype._handleContextMenuEvent.monitoringXHRItemAction):
- (WebInspector.ConsoleView.prototype._handleContextMenuEvent.preserveLogItemAction):
- (WebInspector.ConsoleView.prototype._handleContextMenuEvent):
- * inspector/front-end/Settings.js:
- (WebInspector.Settings):
- * inspector/front-end/inspector.js:
- (WebInspector.reset):
-
-2011-06-14 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: add tooltip to file select options in scripts panel.
- https://bugs.webkit.org/show_bug.cgi?id=62537
-
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel):
- (WebInspector.ScriptsPanel.prototype._sourceFileAdded):
- (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.compare):
- (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect):
- (WebInspector.ScriptsPanel.prototype._callFrameSelected.didGetSourceLocation):
- (WebInspector.ScriptsPanel.prototype._callFrameSelected):
-
-2011-06-14 Luke Macpherson <macpherson@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Implement CSS border radius properies in CSSStyleApplyProperty
- https://bugs.webkit.org/show_bug.cgi?id=62265
-
- No new tests / refactoring only.
-
- * css/CSSStyleApplyProperty.cpp:
- Implement new class to culculate border radius, initialize for appropriate properties.
- (WebCore::ApplyPropertyBorderRadius::ApplyPropertyBorderRadius):
- (WebCore::ApplyPropertyBorderRadius::applyValue):
- (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- * css/CSSStyleSelector.cpp:
- Remove old implementations.
- (WebCore::CSSStyleSelector::applyProperty):
- * page/animation/AnimationBase.cpp:
- Pass LengthSize by value.
- (WebCore::AnimationBase::ensurePropertyMap):
- * rendering/style/RenderStyle.h:
- Pass LengthSize by value consistently.
-
-2011-06-14 Carlos Garcia Campos <cgarcia@igalia.com>
-
- Reviewed by Martin Robinson.
-
- [GTK] Rename convertWidgetRectToScreenRect() to convertWidgetPointToScreenPoint()
- https://bugs.webkit.org/show_bug.cgi?id=62626
-
- The method actually converts coordinates, the rectangle size is
- not affected, so it can be modified to return a point
- instead. Fix also a bug in the implementation, it was translating
- the coordinates twice returning the wrong position when the given
- rectangle was not at 0,0.
-
- * platform/gtk/GtkUtilities.cpp:
- (WebCore::convertWidgetPointToScreenPoint):
- * platform/gtk/GtkUtilities.h:
- * platform/gtk/PopupMenuGtk.cpp:
- (WebCore::PopupMenuGtk::show): Use
- convertWidgetPointToScreenPoint().
-
-2011-06-14 Carlos Garcia Campos <cgarcia@igalia.com>
-
- Reviewed by Martin Robinson.
-
- [GTK] Support authentication dialogs in WebKit2
- https://bugs.webkit.org/show_bug.cgi?id=62366
-
- Add a new class to show an authentication dialog that is used by
- both WebKit1 and WebKit2.
-
- * GNUmakefile.list.am: Add new files to compilation.
- * platform/gtk/GtkAuthenticationDialog.cpp: Added.
- (WebCore::addEntryToTable):
- (WebCore::sessionCanSavePasswords):
- (WebCore::GtkAuthenticationDialog::~GtkAuthenticationDialog):
- (WebCore::GtkAuthenticationDialog::GtkAuthenticationDialog):
- (WebCore::getSavedLogin):
- (WebCore::GtkAuthenticationDialog::show):
- (WebCore::GtkAuthenticationDialog::destroy):
- (WebCore::GtkAuthenticationDialog::savePasswordCallback):
- (WebCore::GtkAuthenticationDialog::savePassword):
- (WebCore::GtkAuthenticationDialog::authenticate):
- (WebCore::GtkAuthenticationDialog::authenticationDialogResponseCallback):
- * platform/gtk/GtkAuthenticationDialog.h: Added.
-
-2011-06-14 Tommy Widenflycht <tommyw@google.com>
-
- Reviewed by Tony Gentilcore.
-
- Media Stream PeerConnection API: adding the StreamList and supporting classes.
- https://bugs.webkit.org/show_bug.cgi?id=61539
-
- * dom/StreamContainer.h: Added.
- (WebCore::StreamContainer::create):
- (WebCore::StreamContainer::~StreamContainer):
- (WebCore::StreamContainer::length):
- (WebCore::StreamContainer::item):
- (WebCore::StreamContainer::add):
- (WebCore::StreamContainer::remove):
- (WebCore::StreamContainer::contains):
- (WebCore::StreamContainer::get):
- (WebCore::StreamContainer::StreamContainer):
- * dom/StreamList.cpp: Added.
- (WebCore::StreamList::create):
- (WebCore::StreamList::StreamList):
- (WebCore::StreamList::~StreamList):
- (WebCore::StreamList::length):
- (WebCore::StreamList::item):
- * dom/StreamList.h: Added.
- * dom/StreamList.idl: Added.
-
-2011-06-14 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
-
- Reviewed by Andreas Kling.
-
- [Qt] tst_QWebFrame::overloadedSlots() fails
- https://bugs.webkit.org/show_bug.cgi?id=37319
-
- Increase the likeness that JSElements are converted to QWebElements. When hinted
- with QWebElement metatype, we qualify the conversion from JSElement as a "perfect
- match".
-
- The test was failing because the wrong slot was called, since the QWebElement
- match was taken as equal to the others and not chosen when the metacall happened.
-
- We also remove the implicit conversion between JSDocument (which is not an
- element) to QWebElement. The conversion only worked for calling slots, while
- without hint it returned a QVariantMap (as can be seen in domCycles test). It was
- added for supporting DRT, but since this change we can use it as QVariantMap and
- get the value for "documentElement".
-
- This patch is based on Noam Rosenthal original patch in the same bug.
-
- * bridge/qt/qt_runtime.cpp:
- (JSC::Bindings::hintForRealType):
- Extracted function to choose the metatype hint based on the JSValue type. Add
- QWebElement metatype as a hint for JSElement objects, this way if no hint is
- provided, JSElement objects will always be converted to QWebElements.
-
- (JSC::Bindings::convertValueToQVariant):
- Use previous function. Identify the conversion between JSElement to QWebElement
- as a "perfect match" (dist = 0). And remove the implicit conversion when the hint
- is QWebElement metatype and we have a JSDocument. Changed from JSHTMLElement to
- JSElement to cover the 'documentElement'.
-
-2011-06-14 Andreas Kling <kling@webkit.org>
-
- Reviewed by Benjamin Poulain.
-
- Remove some unnecessary includes.
-
- * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
-
-2011-06-14 Yael Aharon <yael.aharon@nokia.com>
-
- Reviewed by Kent Tamura.
-
- <progress> should support :indeterminate pseudo-class
- https://bugs.webkit.org/show_bug.cgi?id=62430
-
- Add support for :indeterminate pseudo class for progress element.
-
- Tests: fast/dom/HTMLProgressElement/indeterminate-progress-001.html
- fast/dom/HTMLProgressElement/indeterminate-progress-002.html
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::canShareStyleWithControl):
- (WebCore::CSSStyleSelector::canShareStyleWithElement):
- (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
- * html/HTMLProgressElement.cpp:
- (WebCore::HTMLProgressElement::isDeterminate):
- (WebCore::HTMLProgressElement::didElementStateChange):
- * html/HTMLProgressElement.h:
-
-2011-06-14 Pavel Feldman <pfeldman@google.com>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: use ew-resize instead of col-resize for non-columns.
- https://bugs.webkit.org/show_bug.cgi?id=62640
-
- * inspector/front-end/ElementsPanel.js:
- (WebInspector.ElementsPanel.prototype.rightSidebarResizerDragStart):
- * inspector/front-end/Panel.js:
- (WebInspector.Panel.prototype._startSidebarDragging):
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._startSidebarResizeDrag):
- * inspector/front-end/TimelineOverviewPane.js:
- (WebInspector.TimelineOverviewPane.prototype._resizeWindow):
- (WebInspector.TimelineOverviewPane.prototype._dragWindow):
- * inspector/front-end/inspector.css:
- (body.attached #toolbar):
- (body.drawer-visible #main-status-bar):
- (#scripts-sidebar-resizer-widget):
- (.sidebar-resizer-vertical):
- (.timeline-window-resizer):
-
-2011-06-14 Pavel Feldman <pfeldman@google.com>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: reload from within inspector window does not work while debugger is paused.
- https://bugs.webkit.org/show_bug.cgi?id=62631
-
- Test: inspector/debugger/debugger-reload-on-pause.html
-
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
-
-2011-06-14 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Support for painting thumb of media slider
- https://bugs.webkit.org/show_bug.cgi?id=62174
-
- Replace RenderObject parameter with RenderStyle's in adjustSliderThumbSize.
- Because, parameter of the function was changed. And, add constant variable to
- paintMediaSliderThumb().
-
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::RenderThemeEfl):
- (WebCore::RenderThemeEfl::adjustSliderThumbSize):
- (WebCore::RenderThemeEfl::paintMediaSliderThumb):
- * platform/efl/RenderThemeEfl.h:
-
-2011-06-14 Kent Tamura <tkent@chromium.org>
-
- [Qt] Attempt to fix a build break by r88757.
- https://bugs.webkit.org/show_bug.cgi?id=52920
-
- * platform/qt/RenderThemeQt.cpp:
- (WebCore::RenderThemeQt::paintSliderTrack):
-
-2011-06-13 Kent Tamura <tkent@chromium.org>
-
- [EFL] The second try to fix a build break.
-
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::paintThemePart):
-
-2011-06-13 Kent Tamura <tkent@chromium.org>
-
- [EFL] Fix a typo.
-
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::paintThemePart):
-
-2011-06-13 Kent Tamura <tkent@chromium.org>
-
- [EFL] Try to fix a build break by r88757.
-
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::paintThemePart):
-
-2011-06-10 Kent Tamura <tkent@chromium.org>
-
- Reviewed by Dimitri Glazkov.
-
- Use CSS machinery to position slider thumb.
- https://bugs.webkit.org/show_bug.cgi?id=52920
-
- Remove RenderSlider::layout().
- In order to remove it, we introduce new three shadow nodes:
- - A flex box container occupying the whole box
- - A flex box item representing a movable area of the thumb
- - A flex box item limiting the movable area of the thumb
- The thumb position is specified by percentage position in the second element.
-
- This change also fixes Bug 60353.
-
- Tests: fast/forms/input-appearance-range.html
- fast/forms/validation-message-on-range.html
-
- * accessibility/AccessibilitySlider.cpp:
- (WebCore::AccessibilitySliderThumb::elementRect):
- Use Node::getRect() for the thumb element.
- * css/html.css: Add new style definitions for the new node layout.
- (input[type="range"]::-webkit-slider-container):
- (input[type="range"]::-webkit-slider-runnable-track):
- (input[type="range"]::-webkit-slider-thumb):
- * html/RangeInputType.cpp:
- (WebCore::RangeInputType::handleMouseDownEvent):
- Accepts events on shadow nodes, use sliderThumbElementOf().
- (WebCore::RangeInputType::createShadowSubtree):
- Creates new nodes layout.
- (WebCore::RangeInputType::valueChanged): Use sliderThumbElementOf().
- * html/RangeInputType.h: Remove shadowSliderThumb().
- * html/shadow/SliderThumbElement.cpp:
- (WebCore::sliderPosition): Moved from RenderSlider.cpp.
- (WebCore::hasVerticalAppearance): New utility function.
- (WebCore::sliderThumbElementOf): New utility function.
- (WebCore::RenderSliderThumb::layout):
- Sets CSS top/left values.
- (WebCore::RenderSliderContainer::RenderSliderContainer):
- (WebCore::RenderSliderContainer::layout):
- Add some adjustment code.
- - Setting box-orient
- - Adjust heights of some nodes. It is required to pass existing tests.
- (WebCore::SliderThumbElement::setPositionFromValue):
- Update comments.
- (WebCore::SliderThumbElement::setPositionFromPoint):
- Calculate the current position from absolute positions.
- (WebCore::SliderThumbElement::hostInput):
- Removed unnecessary variable.
- (WebCore::TrackLimiterElement::TrackLimiterElement):
- (WebCore::TrackLimiterElement::create): Adjust style.
- (WebCore::TrackLimiterElement::createRenderer):
- This node uses RenderSliderThumb.
- (WebCore::TrackLimiterElement::shadowPseudoId):
- This node also uses -webkit-slider-thumb.
- (WebCore::SliderContainerElement::SliderContainerElement):
- (WebCore::SliderContainerElement::create):
- (WebCore::SliderContainerElement::createRenderer):
- Uses RenderSliderContainer.
- (WebCore::SliderContainerElement::shadowPseudoId):
- * html/shadow/SliderThumbElement.h:
- Make hostInput() public, add declarations of TrackLimiterElement
- and SliderContainerElement.
- * rendering/RenderSlider.cpp:
- (WebCore::RenderSlider::RenderSlider): Added an assertion.
- (WebCore::RenderSlider::inDragMode): Uses sliderThumbElementOf().
- * rendering/RenderSlider.h: Remove declarations of removed functions.
- * rendering/RenderTheme.cpp:
- (WebCore::RenderTheme::adjustSliderThumbStyle):
- Calls adjustSliderThumbSize().
-
-2011-06-13 Joone Hur <joone.hur@collabora.co.uk>
-
- Reviewed by Martin Robinson.
-
- [GTK] Add configure option to enable/disable register protocol handler
- https://bugs.webkit.org/show_bug.cgi?id=62534
-
- * GNUmakefile.am: Add ENABLE_REGISTER_PROTOCOL_HANDLER.
-
-2011-06-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Kent Tamura.
-
- [EFL] Support for painting thumb of media slider
- https://bugs.webkit.org/show_bug.cgi?id=62174
-
- Implement paintMediaSliderThumb() function to show thumb of media slider.
- adjustSliderThumbSize() should be implemented in order to call paintMediaSliderThumb().
-
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::RenderThemeEfl):
- (WebCore::RenderThemeEfl::adjustSliderThumbSize):
- (WebCore::RenderThemeEfl::paintMediaSliderTrack):
- (WebCore::RenderThemeEfl::paintMediaSliderThumb):
- (WebCore::RenderThemeEfl::paintMediaCurrentTime):
- * platform/efl/RenderThemeEfl.h:
-
-2011-06-13 Keishi Hattori <keishi@webkit.org>
-
- Sort WebCore.xcodeproj
- Accomplished using sort-Xcode-project-file.
-
- * WebCore.xcodeproj/project.pbxproj:
-
-2011-06-13 James Simonsen <simonjam@chromium.org>
-
- Reviewed by James Robinson.
-
- [Chromium] Implement monotonicallyIncreasingClock()
- https://bugs.webkit.org/show_bug.cgi?id=62162
-
- * platform/chromium/PlatformBridge.h:
- * platform/chromium/SystemTimeChromium.cpp:
- (WebCore::monotonicallyIncreasingTime): Use Chrome's implementation.
-
-2011-06-13 Steve Block <steveblock@google.com>
-
- Reviewed by Darin Adler.
-
- Remove Android defines from WebCore/config.h
- https://bugs.webkit.org/show_bug.cgi?id=62602
-
- No new tests, build cleanup only.
-
- * config.h:
-
-2011-06-13 Adam Barth <abarth@webkit.org>
-
- Reviewed by David Levin.
-
- Remove redundant "true" parameter to scheduleLocationChange
- https://bugs.webkit.org/show_bug.cgi?id=62612
-
- This parameter defaults to true anyway.
-
- * loader/appcache/ApplicationCacheGroup.cpp:
- (WebCore::ApplicationCacheGroup::selectCache):
-
-2011-06-13 Kentaro Hara <haraken@google.com>
-
- Reviewed by Alexey Proskuryakov.
-
- Add resizePageRectsKeepingRatio(), which expands/shrinks a page, keeping the ratio of the original page
- https://bugs.webkit.org/show_bug.cgi?id=61256
-
- In order to prevent rounding error caused by expanding/shrinking a page
- using different calculation here and there, I added a common calculation
- method, resizePageRectsKeepingRatio(), which expands/shrinks a page,
- keeping the ratio of width and height of the original page.
- PrintContext::computePageRects() and PrintContext::begin()
- use resizePageRectsKeepingRatio() to expand/shrink a page.
-
- Test: printing/page-count-with-one-word.html
-
- * WebCore.exp.in:
- * page/Frame.cpp:
- (WebCore::Frame::resizePageRectsKeepingRatio):
- * page/Frame.h:
- * page/PrintContext.cpp:
- (WebCore::PrintContext::computePageRects):
- (WebCore::PrintContext::begin):
-
-2011-06-13 Adam Barth <abarth@webkit.org>
-
- Reviewed by Darin Adler.
-
- anyPageIsProcessingUserGesture is not longer needed because user gesture state is static
- https://bugs.webkit.org/show_bug.cgi?id=62601
-
- Previously, our user-gesture state was per-frame. Code needed to check
- the "global" user gesture state called anyPageIsProcessingUserGesture()
- to iterate through all the frames and look for one that was processing
- a user gesture. Since we changed the user gesture state to be static,
- iterating over every frame in existence isn't needed.
-
- This patch also cleans up a couple other user-gesture callsites I saw
- while I was in this code. Code should just call
- ScriptController::processingUserGesture directly instead of
- trampolining through other functions.
-
- * bindings/ScriptControllerBase.cpp:
- (WebCore::ScriptController::executeScript):
- * bindings/generic/BindingSecurity.h:
- (WebCore::::allowPopUp):
- * bindings/js/JSDOMBinding.cpp:
- * bindings/js/JSDOMBinding.h:
- * bindings/js/JSDocumentCustom.cpp:
- (WebCore::JSDocument::setLocation):
- * bindings/js/ScriptController.cpp:
- * bindings/js/ScriptController.h:
- * bindings/scripts/CodeGeneratorJS.pm:
- * bindings/scripts/CodeGeneratorV8.pm:
- * bindings/v8/ScriptController.cpp:
- * bindings/v8/ScriptController.h:
- (WebCore::ScriptController::setProcessingTimerCallback):
- * bindings/v8/V8Utilities.cpp:
- * bindings/v8/V8Utilities.h:
- * bindings/v8/specialization/V8BindingState.cpp:
- * bindings/v8/specialization/V8BindingState.h:
- * html/HTMLFormElement.cpp:
- (WebCore::HTMLFormElement::submitFromJavaScript):
- (WebCore::HTMLFormElement::submit):
- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::setLocation):
- (WebCore::DOMWindow::createWindow):
- (WebCore::DOMWindow::open):
-
-2011-06-13 Jeffrey Pfau <jpfau@apple.com>
-
- Reviewed by Darin Adler.
-
- Crash in WebCore::RenderMathMLUnderOver::layout()
- https://bugs.webkit.org/show_bug.cgi?id=57900
-
- Add more null checks so that removing children in MathML elements does not cause crashes.
- Note that this only half fixes the third repro in the Bugzilla bug, as another bug will
- still crash that repro.
-
- Test: mathml/munderover-remove-children.html
-
- * rendering/mathml/RenderMathMLSubSup.cpp:
- (WebCore::RenderMathMLSubSup::stretchToHeight):
- * rendering/mathml/RenderMathMLUnderOver.cpp:
- (WebCore::RenderMathMLUnderOver::layout):
- (WebCore::RenderMathMLUnderOver::nonOperatorHeight):
-
-2011-06-13 Dmitry Lomov <dslomov@google.com>
-
- Reviewed by Adam Barth.
-
- https://bugs.webkit.org/show_bug.cgi?id=62345
- Use per-isolate embedder data instead of statics for caches in bindings.
- This is a prerequisite for more than one v8 isolate per process.
-
- * bindings/scripts/CodeGeneratorV8.pm:
- * bindings/v8/IDBBindingUtilities.cpp:
- (WebCore::createIDBKeyFromSerializedValueAndKeyPath):
- (WebCore::injectIDBKeyIntoSerializedValue):
- * bindings/v8/V8Binding.cpp:
- (WebCore::V8BindingPerIsolateData::V8BindingPerIsolateData):
- (WebCore::V8BindingPerIsolateData::~V8BindingPerIsolateData):
- (WebCore::V8BindingPerIsolateData::create):
- (WebCore::V8BindingPerIsolateData::ensureInitialized):
- (WebCore::V8BindingPerIsolateData::dispose):
- (WebCore::getToStringName):
- (WebCore::getToStringTemplate):
- * bindings/v8/V8Binding.h:
- (WebCore::V8BindingPerIsolateData::get):
- (WebCore::V8BindingPerIsolateData::current):
- (WebCore::V8BindingPerIsolateData::rawTemplateMap):
- (WebCore::V8BindingPerIsolateData::templateMap):
- (WebCore::V8BindingPerIsolateData::toStringName):
- (WebCore::V8BindingPerIsolateData::toStringTemplate):
- * bindings/v8/V8DOMWindowShell.cpp:
- (WebCore::V8DOMWindowShell::initContextIfNeeded):
- * bindings/v8/V8Utilities.cpp:
- (WebCore::V8LocalContext::V8LocalContext):
- (WebCore::V8LocalContext::~V8LocalContext):
- * bindings/v8/V8Utilities.h:
- * bindings/v8/WorkerContextExecutionProxy.cpp:
- (WebCore::WorkerContextExecutionProxy::initV8IfNeeded):
-
-2011-06-13 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
-
- Reviewed by Adam Barth.
-
- Simplify logic in ProgressTracker::progressCompleted()
- https://bugs.webkit.org/show_bug.cgi?id=62598
-
- Testing for "m_numProgressTrackedFrames != 0" is unnecessary because it is
- always true, otherwise we would entered in the first part of the conditional.
-
- * loader/ProgressTracker.cpp:
- (WebCore::ProgressTracker::progressCompleted):
-
-2011-06-13 Dimitri Glazkov <dglazkov@chromium.org>
-
- Unreviewed, rolling out r88704.
- http://trac.webkit.org/changeset/88704
- https://bugs.webkit.org/show_bug.cgi?id=62466
-
- Caused layout test failures on Chromium Mac.
-
- * platform/chromium/ClipboardChromium.cpp:
- (WebCore::ClipboardChromium::declareAndWriteDragImage):
-
-2011-06-13 Morgan Winer <mwiner@apple.com>
-
- Reviewed by Enrica Casucci.
-
- Frame::visiblePositionForPoint returns null position if the point is over an imagemap.
- https://bugs.webkit.org/show_bug.cgi?id=62562
- <rdar://problem/9313885>
-
- The innerNode() of an imageMap is an area, and doesn't have a renderer and
- therefore can't report a position.
- Every result's innerNonSharedNode() should be the same as the innerNode(),
- except for imageMaps, which will have the actual image as its innerNonSharedNode(),
- and will therefore have a renderer and can report a position.
-
- There are no layout tests for this, since it can be tested only at API level.
-
- * page/Frame.cpp:
- (WebCore::Frame::visiblePositionForPoint): Changing innerNode() to innerNonSharedNode().
-
-2011-06-13 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Eric Seidel.
-
- [CMAKE] Conditionally generate DerivedSources
- https://bugs.webkit.org/show_bug.cgi?id=62277
-
- Speedup build by not generating DerivedSources of features that are
- disabled. This was already been done for some features like ENABLE_SVG
- and now it's extended the following features: ENABLE_DATABASE,
- ENABLE_INDEXED_DATABASE, ENABLE_DOM_STORAGE, ENABLE_XPATH,
- ENABLE_OFFLINE_WEB_APPLICATIONS, ENABLE_WEB_SOCKETS,
- ENABLE_DATA_TRANSFER_ITEMS.
-
- No change in functionality so no new tests.
-
- * CMakeLists.txt: move .idl files to be conditionally generated.
-
-2011-06-13 Leandro Pereira <leandro@profusion.mobi>
-
- Reviewed by Eric Seidel.
-
- [CMake] Allow building with ENABLE_NETSCAPE_PLUGIN_API on platforms
- without plugin support
- https://bugs.webkit.org/show_bug.cgi?id=62394
-
- No behaviour changes, so no new tests.
-
- * CMakeLists.txt: Remove references to Plugin{Package,View}.cpp and
- Plugin{Package,View}None.cpp and move them to CMakeListWinCE and
- CMakeListsEfl, respectively.
- * CMakeListsEfl.txt:
- * CMakeListsWinCE.txt:
-
-2011-06-13 Andrey Kosyakov <caseq@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Web Inspector: [refactoring] remove dead code from NetworkPanel
- https://bugs.webkit.org/show_bug.cgi?id=62481
-
- * inspector/front-end/NetworkPanel.js:
-
-2011-06-13 Daniel Cheng <dcheng@chromium.org>
-
- Reviewed by Eric Seidel.
-
- [chromium] Dragging images to Mail.app results in broken attachments
- https://bugs.webkit.org/show_bug.cgi?id=62466
-
- No new tests.
-
- * platform/chromium/ClipboardChromium.cpp:
- (WebCore::ClipboardChromium::declareAndWriteDragImage):
-
-2011-06-13 Adrienne Walker <enne@google.com>
-
- Reviewed by Simon Fraser.
-
- Overlap test needs to consider children of composited layers
- https://bugs.webkit.org/show_bug.cgi?id=62465
-
- Any child layer with a compositing ancestor will be put into a
- composited layer even though they themselves don't need compositing.
- As layer bounds aren't hierarchical, these layer bounds themselves
- need to be put into the overlap map because the composited layer
- itself is not sufficient.
-
- Test: compositing/layer-creation/overlap-animated-layer.html
-
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::computeCompositingRequirements):
-
-2011-06-13 Xan Lopez <xlopez@igalia.com>
-
- Unreviewed build fix.
-
- Touch this to try to fix the build...
-
- * platform/gtk/WidgetGtk.cpp:
- (WebCore::Widget::~Widget):
-
-2011-06-13 Xan Lopez <xlopez@igalia.com>
-
- Try to fix GTK+ build.
-
- * GNUmakefile.list.am: remove CredentialStorage.cpp
-
-2011-06-13 Stephen White <senorblanco@chromium.org>
-
- Reviewed by James Robinson.
-
- Improve GPU canvas startup time on the SkiaGPU path.
- https://bugs.webkit.org/show_bug.cgi?id=62594
-
- Fixed by skipping creation of shaders used only by the legacy path.
-
- Covered by existing canvas tests.
-
- * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
- (WebCore::SharedGraphicsContext3D::create):
-
-2011-06-13 Michael Saboff <msaboff@apple.com>
-
- Reviewed by Oliver Hunt.
-
- Additional FontCache::FontCachePurgePreventer instances needed
- https://bugs.webkit.org/show_bug.cgi?id=62498
-
- Added some needed and speculative FontCachePurgePreventer objects.
- Built and ran Safari with debug version of webkit that purges all
- purgeable fonts in FontCache::purgeInactiveFontDataIfNeeded in order
- to find system fallback fonts access via code paths that aren't
- protected with FontCachePurgePreventer objects. Also examined
- platform specific code that calls either Font::drawText() or
- Canvas::drawText(). For those methods that may be called from currently
- unprotected paths, added FontCachePurgePreventer objects.
-
- No new functionality so no new tests.
-
- * inspector/DOMNodeHighlighter.cpp:
- * platform/graphics/ca/win/PlatformCALayerWinInternal.cpp:
- (PlatformCALayerWinInternal::displayCallback):
- * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
- (WebCore::CCHeadsUpDisplay::drawHudContents):
- * platform/mac/DragImageMac.mm:
- (WebCore::widthWithFont):
- (WebCore::drawAtPoint):
- * rendering/RenderMenuList.cpp:
- (WebCore::RenderMenuList::updateOptionsWidth):
-
-2011-06-13 Ryosuke Niwa <rniwa@webkit.org>
-
- Reviewed by Dan Bernstein.
-
- REGRESSION (r81518): Crash in makeRange() when invoking the dictionary panel over a file input
- https://bugs.webkit.org/show_bug.cgi?id=62544
-
- Fixed the crash by adding null pointer checks.
-
- No new tests since there's no way to open dictionary panel.
-
- * dom/Position.cpp:
- (WebCore::Position::parentAnchoredEquivalent):
- * editing/VisiblePosition.cpp:
- (WebCore::makeRange):
- * page/Frame.cpp:
- (WebCore::Frame::rangeForPoint):
-
-2011-06-13 Adam Barth <abarth@webkit.org>
-
- Reviewed by Nate Chapin.
-
- Factor IconController out of FrameLoader
- https://bugs.webkit.org/show_bug.cgi?id=62509
-
- This new class contains all the icon-related logic from FrameLoader.
- The icon-related logic and state has almost zero interaction with the
- rest of FrameLoader and is better handled as a separate concern.
-
- * CMakeLists.txt:
- * GNUmakefile.list.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * dom/Document.cpp:
- (WebCore::Document::implicitClose):
- (WebCore::Document::setIconURL):
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::didReceiveResponse):
- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::iconLoadDecisionAvailable):
- (WebCore::DocumentLoader::continueIconLoadWithDecision):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::FrameLoader):
- (WebCore::FrameLoader::stop):
- * loader/FrameLoader.h:
- (WebCore::FrameLoader::icon):
- * loader/icon/IconLoader.cpp:
- (WebCore::IconLoader::startLoading):
- (WebCore::IconLoader::finishLoading):
- * loader/icon/IconLoader.h:
-
-2011-06-13 Nate Chapin <japhet@chromium.org>
-
- Reviewed by Darin Fisher.
-
- [V8] Cache V8NPObjects so that we don't create multiple
- NPObjects for the same v8::Object.
- https://bugs.webkit.org/show_bug.cgi?id=61482
-
- Test: plugins/npruntime/embed-property-equality.html
-
- * bindings/v8/NPV8Object.cpp:
- (WebCore::freeV8NPObject):
- (WebCore::npCreateV8ScriptObject):
-
-2011-06-13 Xan Lopez <xlopez@igalia.com>
-
- Reviewed by Martin Robinson.
-
- Distcheck fixes.
-
- * GNUmakefile.am:
- * GNUmakefile.list.am:
-
-2011-06-13 Dirk Schulze <krit@webkit.org>
-
- Reviewed build fix of mac.
-
- SVGAnimation should use direct unit animation for SVGLength
- https://bugs.webkit.org/show_bug.cgi?id=61368
-
- Forgot to add SVGAnimatedLength.cpp.
-
- * WebCore.xcodeproj/project.pbxproj:
-
-2011-06-13 Dirk Schulze <krit@webkit.org>
-
- Reviewed by Nikolas Zimmermann.
-
- SVGAnimation should use direct unit animation for SVGLength
- https://bugs.webkit.org/show_bug.cgi?id=61368
-
- When running SMIL animations within SVG, we unnecessarily transform the underlying SVG primitive datatype to strings, number+units, and back. As first step the target element
- gets asked for its current value. This value gets transformed to a string. In SVGAnimateElement we try to parse this string again and
- split it into a number and its unit. In the further steps we just animate the number. This number gets transformed back to a string
- together with the parsed unit. The string gets passed back to the target element, which is responsible for parsing the passed string back
- to a value as a SVG primitive datatype (like SVGLength, SVGNumber, SVGAngle, SVGColor, ...), relayout and rerendering.
-
- In short: SVG primitive datatype -> string -> number + unit animation -> string -> SVG primitive datatype.
-
- This patch does not attempt to change the string transformations, but addresses the parsing of the string back to a number and unit in the
- SVG animation code. There's no need to write a new parser in SVGAnimateElement to parse SVG primitive datatypes, we can instead reuse the existing ones.
- Also the current parser of SVGAnimateElement does not handle most unit types, nor is it possible to animate lists like SVGLengthList with the
- parsed content. An animation of values with different unit types is not possible:
-
- <rect width="20" height="20">
- <animate animateAttribute="width" from="20px" to="10%" dur="4s"/>
- </rect>
-
- For the example above we would animate the rect width from 20px to 10px in 4 seconds and jump to the 10% of the viewport at the end of the
- animation.
- With using the parsers of SVG primitive datatypes we will also use the SVG primitive datatypes in the animation code itself. And that makes
- it possible to do such animations.
-
- In short: SVG primitive datatype -> string -> SVG primitive datatype animation -> string -> SVG primitive datatype.
-
- It will be easier to avoid the string transformation once all SVG primitive datatypes are supported.
-
- To hide the complexity of the animation code, the actual calculations of SVG animation specific values was moved to the corresponding
- SVGAnimated* files (SVGAnimatedLength.cpp for SVGLength). SVGAnimateElement itself just works with the new added generic datatype SVGAnimationType.
- SVGAnimatorFactory creates the SVG primitive datatype specific animators. This makes the main animation code a lot more readable and
- maintainable.
-
- With this patch I add the SVGAnimatorFactory and convert SVGLength animation to the new concept.
-
- Tests: svg/animations/svglength-animation-LengthModeHeight.html
- svg/animations/svglength-animation-LengthModeOther.html
- svg/animations/svglength-animation-LengthModeWidth.html
- svg/animations/svglength-animation-invalid-value-1.html
- svg/animations/svglength-animation-invalid-value-2.html
- svg/animations/svglength-animation-invalid-value-3.html
- svg/animations/svglength-animation-number-to-number.html
- svg/animations/svglength-animation-px-to-cm.html
- svg/animations/svglength-animation-px-to-ems.html
- svg/animations/svglength-animation-px-to-exs.html
- svg/animations/svglength-animation-px-to-in.html
- svg/animations/svglength-animation-px-to-number.html
- svg/animations/svglength-animation-px-to-pc.html
- svg/animations/svglength-animation-px-to-percentage.html
- svg/animations/svglength-animation-px-to-pt.html
- svg/animations/svglength-animation-px-to-px.html
- svg/animations/svglength-animation-values.html
-
- * CMakeLists.txt: Added new files to build system.
- * GNUmakefile.list.am: Ditto.
- * WebCore.gypi: Ditto.
- * WebCore.pro: Ditto.
- * WebCore.vcproj/WebCore.vcproj: Ditto.
- * WebCore.xcodeproj/project.pbxproj: Ditto.
- * svg/SVGAllInOne.cpp: Added SVGAnimatedLength.cpp for Win and other build systems.
- * svg/SVGAnimateElement.cpp:
- (WebCore::parseNumberValueAndUnit): Remove parsing code for SVGLength. Use SVGLength parser directly.
- (WebCore::SVGAnimateElement::adjustForCurrentColor): Made adjustForCurrentColor public as preperation for SVGAnimatedColor.
- (WebCore::getPropertyValue): Inline function to get computedStyle of CSS property.
- (WebCore::SVGAnimateElement::adjustForInheritance): Made adjustForInheritance as preperation for SVGAnimated* files.
- (WebCore::SVGAnimateElement::determineAnimatedAttributeType): SVGLength need special handling via SVGAnimator now.
- (WebCore::SVGAnimateElement::calculateAnimatedValue): Cleanup. Make use of SVGAnimator for SVGLength.
- (WebCore::SVGAnimateElement::calculateFromAndToValues): Ditto.
- (WebCore::SVGAnimateElement::calculateFromAndByValues): Ditto.
- (WebCore::SVGAnimateElement::resetToBaseValue): Ditto.
- (WebCore::SVGAnimateElement::applyResultsToTarget): Ditto.
- (WebCore::SVGAnimateElement::calculateDistance): Ditto.
- * svg/SVGAnimateElement.h:
- * svg/SVGAnimatedLength.cpp: Added.
- (WebCore::SVGAnimatedLengthAnimator::SVGAnimatedLengthAnimator):
- (WebCore::sharedSVGLength):
- (WebCore::SVGAnimatedLengthAnimator::constructFromString):
- (WebCore::SVGAnimatedLengthAnimator::calculateFromAndToValues):
- (WebCore::SVGAnimatedLengthAnimator::calculateFromAndByValues):
- (WebCore::SVGAnimatedLengthAnimator::calculateAnimatedValue):
- (WebCore::SVGAnimatedLengthAnimator::calculateDistance):
- * svg/SVGAnimatedLength.h: Added new class SVGAnimatedLengthAnimator which is responsible for the actual animation.
- (WebCore::SVGAnimatedLengthAnimator::~SVGAnimatedLengthAnimator):
- * svg/SVGAnimatedType.h: Added. Generic SVG unit type for animations in SVGAnimateElement.
- (WebCore::SVGAnimatedType::createLength):
- (WebCore::SVGAnimatedType::~SVGAnimatedType):
- (WebCore::SVGAnimatedType::type):
- (WebCore::SVGAnimatedType::length):
- (WebCore::SVGAnimatedType::SVGAnimatedType):
- * svg/SVGAnimatedTypeAnimator.h: Added. Base class for SVGAnimatedLengthAnimator and future SVG unit animators.
- (WebCore::SVGAnimatedTypeAnimator::~SVGAnimatedTypeAnimator):
- (WebCore::SVGAnimatedTypeAnimator::setContextElement):
- (WebCore::SVGAnimatedTypeAnimator::SVGAnimatedTypeAnimator):
- * svg/SVGAnimationElement.cpp:
- (WebCore::SVGAnimationElement::parseMappedAttribute): We do not use parseNumberValueAndUnit for SVGLength now. Have to strip white spaces here. Whitespaces shouldn't
- be stripped on the following attributes: 'from', 'to' and 'by'. This is not the case for SVGLength anymore. Added new tests to check this behavior.
- (WebCore::SVGAnimationElement::animationMode): Enum is accessible in WebCore namespace now.
- (WebCore::SVGAnimationElement::calcMode): Ditto.
- * svg/SVGAnimationElement.h:
- * svg/SVGAnimatorFactory.h: Added.
- (WebCore::SVGAnimatorFactory::create):
- * svg/SVGLength.cpp:
- (WebCore::SVGLength::setValueAsString): New setter with string and SVGLengthMode.
- (WebCore::SVGLength::lengthModeForAnimatedLengthAttribute): Get LengthMode for SVGLength depending on the attribute name.
- * svg/SVGLength.h:
-
-2011-06-13 Adam Barth <abarth@webkit.org>
-
- Reviewed by Darin Adler.
-
- r87539 broke HTMLMediaElement url logging
- https://bugs.webkit.org/show_bug.cgi?id=62551
-
- Returning pointers to temporaries is bad times!
-
- * html/HTMLMediaElement.cpp:
- (WebCore::urlForLogging):
- (WebCore::HTMLMediaElement::loadResource):
- (WebCore::HTMLMediaElement::isSafeToLoadURL):
- (WebCore::HTMLMediaElement::selectNextSourceChild):
- (WebCore::HTMLMediaElement::sourceWasAdded):
- (WebCore::HTMLMediaElement::sourceWillBeRemoved):
-
-2011-06-13 Tony Chang <tony@chromium.org>
-
- Reviewed by Dimitri Glazkov.
-
- rename ENABLE_NEW_FLEXBOX to ENABLE_CSS3_FLEXBOX
- https://bugs.webkit.org/show_bug.cgi?id=62578
-
- * Configurations/FeatureDefines.xcconfig:
-
-2011-06-13 Mark Pilgrim <pilgrim@chromium.org>
-
- Reviewed by Tony Chang.
-
- IndexedDB: setVersion() version argument is required
- https://bugs.webkit.org/show_bug.cgi?id=62401
-
- Test: storage/indexeddb/setVersion-undefined.html
-
- * storage/IDBDatabase.cpp:
- (WebCore::IDBDatabase::setVersion): check for null version
- * storage/IDBDatabase.idl: add IDL magic to force undefined to null so we can handle both missing and null arguments
-
-2011-06-13 Simon Fraser <simon.fraser@apple.com>
-
- Reviewed by Adele Peterson.
-
- Print out bounds origin in layer dump
- https://bugs.webkit.org/show_bug.cgi?id=62583
-
- Include m_boundsOrigin in the layer dump, which is used by layerTreeAsText().
-
- * platform/graphics/GraphicsLayer.cpp:
- (WebCore::GraphicsLayer::dumpProperties):
-
-2011-06-13 Simon Fraser <simon.fraser@apple.com>
-
- Reviewed by Adele Peterson.
-
- Add utility method to report whether a RenderLayer has any scrollbars
- https://bugs.webkit.org/show_bug.cgi?id=62579
-
- New method that returns true with either scrollbar is present.
-
- * rendering/RenderLayer.h:
- (WebCore::RenderLayer::hasScrollbars):
-
-2011-06-11 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Anders Carlsson.
-
- Avoid flashing when exiting full-screen mode.
- https://bugs.webkit.org/show_bug.cgi?id=62338
-
- No new tests; covered by the existing full-screen tests.
-
- Now that we are forcing a repaint inside of setRootFullScreenLayer() instead of during
- the next run loop, make sure that we have disabled animation before calling
- setRootFullScreenLayer() so that the RenderFullScreen renderer and its contents are
- painted.
-
- * dom/Document.cpp:
- (WebCore::Document::webkitDidEnterFullScreenForElement):
-
-2011-06-10 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Darin Adler.
-
- Flash of white on left and right edges of screen when showing fullscreen controller when movie doesn't fill the entire screen
- https://bugs.webkit.org/show_bug.cgi?id=62491
- <rdar://problem/9584427>
-
- No new tests; should be covered by existing fullscreen pixel tests.
-
- On certain displays, when a RenderFullScreen renderer is created, it is large enough to trigger the
- creation of a tiled CALayer (instead of a normal CALayer). Painting in these layers necessarily
- happens asynchronously, so the flash is occurring because of the async painting of the RenderFullScreen
- renderer's background color. Since we know the RenderFullScreen does not otherwise paint its contents,
- we can add a special case in the RenderLayerBacking to set the GraphicsLayer contents to be the
- renderer's background color. Fill in support for creating a contentLayer to contain the background
- color inside GraphicsLayerCA.
-
- * platform/graphics/GraphicsLayer.h:
- (WebCore::GraphicsLayer::setContentsToBackgroundColor): Renamed from setContentsBackgroundColor to match
- the other setContentsTo... functions.
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::setContentsToBackgroundColor): Added. Creates a contentsLayer to host the
- background color.
- (WebCore::GraphicsLayerCA::updateLayerBackgroundColor): Removed a comment only.
- * platform/graphics/ca/GraphicsLayerCA.h:
- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration): Special case the RenderFullScreen
- renderer to call updateBackgroundColor.
- (WebCore::RenderLayerBacking::updateBackgroundColor): Added.
- (WebCore::RenderLayerBacking::containsPaintedContent): Tell the backing that the RenderFullScreen
- renderer does not paint its contents.
- * rendering/RenderLayerBacking.h:
-
-2011-06-13 Tim Horton <timothy_horton@apple.com>
-
- Reviewed by Simon Fraser.
-
- REGRESSION(87152): Crash on page with svg fonts
- https://bugs.webkit.org/show_bug.cgi?id=61556
-
- We can't assume that the parent of a SVG-font-styled
- text node won't be an anonymous block.
-
- Test: svg/text/text-font-anonymous-parent.xhtml
-
- * rendering/svg/SVGTextRunRenderingContext.cpp:
- (WebCore::firstParentRendererForNonTextNode):
- (WebCore::SVGTextRunWalker::walk):
- (WebCore::floatWidthOfSubStringUsingSVGFont):
- (WebCore::SVGTextRunRenderingContext::drawTextUsingSVGFont):
-
-2011-06-13 Tony Chang <tony@chromium.org>
-
- Reviewed by Adam Barth.
-
- rename ENABLE_FLEXBOX to ENABLE_NEW_FLEXBOX
- https://bugs.webkit.org/show_bug.cgi?id=62545
-
- * Configurations/FeatureDefines.xcconfig:
-
-2011-06-13 Xan Lopez <xlopez@igalia.com>
-
- Reviewed by Martin Robinson.
-
- Some distcheck fixes. Still broken, but this is moves us closer to
- the target.
-
- * GNUmakefile.am: fix vpath syntax and add missing files to
- EXTRA_DIST.
- * GNUmakefile.list.am: add missing files and remove dead files.
- * bindings/gobject/GNUmakefile.am: fix comment.
-
-2011-06-13 Noam Rosenthal <noam.rosenthal@nokia.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Add layer factory to GraphicsLayer for creating non-default layer type.
- https://bugs.webkit.org/show_bug.cgi?id=61925
-
- Use the new factory function in TextureMapper.
-
- No new functionality so no new tests.
-
- * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
- (WebCore::GraphicsLayer::create):
-
-2011-06-13 Young Han Lee <joybro@company100.net>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [Texmap][Qt] Accelerated animation is repeating as if its direction property is always 'alternate'.
- https://bugs.webkit.org/show_bug.cgi?id=62281
-
- syncAnimations() has miscalculated a normalized progress value as if the animation always has alternate direction property.
-
- Test: animations/animation-direction-normal.html
-
- * platform/graphics/texmap/TextureMapperNode.cpp:
- (WebCore::TextureMapperNode::syncAnimations):
-
-2011-06-13 Dirk Schulze <krit@webkit.org>
-
- Reviewed by Rob Buis.
-
- SVG patternTransform not animatable
- https://bugs.webkit.org/show_bug.cgi?id=62538
-
- SVG animation did not take attribute 'patternTransform' into account. Added support for combination of
- SVGPatternElement and attribute 'patternTransform' to SVGAnimateTransformElement.
-
- Tests: svg/animations/animateTransform-pattern-transform.html
- svg/animations/animateTransform-transformable-transform.html
-
- * svg/SVGAnimateTransformElement.cpp:
- (WebCore::transformListFor):
- (WebCore::SVGAnimateTransformElement::resetToBaseValue):
- (WebCore::SVGAnimateTransformElement::applyResultsToTarget):
-
-2011-06-13 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
-
- Reviewed by Andreas Kling.
-
- [Qt] JSC Bridge: convert QtConnectionObject to use JSC API
- https://bugs.webkit.org/show_bug.cgi?id=62330
-
- This patch is based on the draft patch by Noam Rosenthal in bug 60842.
- Qt API autotests cover the bridge behavior and pass after this patch.
-
- * bridge/qt/qt_runtime.h: Change QtConnectionObject to use JSC API types. In
- particular, we got rid of Strong<JSObject> members. Renamed some members and
- arguments to follow existing naming in QObject::connect().
-
- * bridge/qt/qt_runtime.cpp:
- (JSC::Bindings::QtRuntimeConnectionMethod::call): Use a new helper function
- to create a connection, passing the ExecState* that will be used when the
- connection is activated (signal emitted). Use JSC API types when looking up
- the matching signal to disconnect.
-
- (JSC::Bindings::QtConnectionObject::QtConnectionObject): Use JSC API to
- protect the receiver and receiverFunction from being garbage
- collected. Removed the ASSERT() since we don't hold ProtectedPtrs (in current
- code were Strong<>) anymore.
-
- (JSC::Bindings::QtConnectionObject::~QtConnectionObject): Explain why is safe
- to use m_originalSender here. Unprotect values that we protected in constructor.
-
- (JSC::Bindings::isJavaScriptFunction): Helper function to identify whether a
- JSObjectRef is a JS function (in contrast to a native function exposed to JS).
-
- (JSC::Bindings::QtConnectionObject::execute):
- (JSC::Bindings::QtConnectionObject::match):
- Both updated to use JSC API when appliable. Note that convertQVariantToValue
- still returns JSC internal types, will be handled in a different patch.
-
- (JSC::Bindings::QtConnectionObject::createWithInternalJSC):
- Convenince for the existing caller until it is converted to JSC as well.
-
-2011-06-13 Carlos Garcia Campos <cgarcia@igalia.com>
-
- Reviewed by Martin Robinson.
-
- [GTK] Add context menu support for Webkit2
- https://bugs.webkit.org/show_bug.cgi?id=54827
-
- * platform/ContextMenuItem.h: Add gtkAction().
- * platform/gtk/ContextMenuGtk.cpp:
- (WebCore::ContextMenu::ContextMenu): Implement constructor that
- receives a platform menu.
- (WebCore::ContextMenu::setPlatformDescription): Make sure we don't
- destroy the menu if the new context menu is the current one.
- (WebCore::contextMenuItemVector): Implement this method to return
- the list of menu items in the given context menu, required by WebKit2.
- (WebCore::platformMenuDescription): Implement this method to
- return a platform menu for the given menu items.
- * platform/gtk/ContextMenuItemGtk.cpp:
- (WebCore::createPlatformMenuItemDescription): Helper function to
- create a platform context menu item.
- (WebCore::ContextMenuItem::ContextMenuItem): Use
- createPlatformMenuItemDescription().
- (WebCore::ContextMenuItem::title): Convert the title from UTF-8.
- (WebCore::ContextMenuItem::setTitle): Use gtkAction().
- (WebCore::ContextMenuItem::setSubMenu): Implement setSubMenu()
- that receives a list of items.
- (WebCore::ContextMenuItem::setChecked): Use gtkAction().
- (WebCore::ContextMenuItem::checked): Implement this, required by WebKit2.
- (WebCore::ContextMenuItem::enabled): Ditto.
- (WebCore::ContextMenuItem::setEnabled): Use gtkAction().
- (WebCore::ContextMenuItem::gtkAction): Return the GtkAction
- associated to the context menu item.
-
-2011-06-13 Keishi Hattori <keishi@webkit.org>
-
- Sort WebCore.xcodeproj
-
- Accomplished using sort-Xcode-project-file.
-
- * WebCore.xcodeproj/project.pbxproj:
-
-2011-06-12 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Darin Adler.
-
- REGRESSION (full screen video): Watch Again button is obscured after full screen playback ends at Apple trailers page
- https://bugs.webkit.org/show_bug.cgi?id=62507
-
- No new tests; DRT would have to be modified to delay between receiving exitFullScreenForElement() and calling
- webkitWillExitFullScreenForElement() to be able to test this.
-
- If the full-screen element is removed, and webkitWillExitFullScreenForElement() is not called before
- fullScreenElementRemoved() returns, then ancestors of the full-screen element will not have their
- containsFullScreenElement property removed. To protect against this, reset the property by calling
- setContainsFullScreenElementRecursively() from within fullScreenElementRemoved().
-
- * dom/Document.cpp:
- (WebCore::Document::fullScreenElementRemoved): Added call to setContainsFullScreenElementRecursively.
-
-2011-06-12 Adam Barth <abarth@webkit.org>
-
- Reviewed by Alexey Proskuryakov.
-
- Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
- https://bugs.webkit.org/show_bug.cgi?id=62516
-
- As requested by Alexey in https://bugs.webkit.org/show_bug.cgi?id=62510.
-
- * loader/EmptyClients.h:
- (WebCore::EmptyFrameLoaderClient::interruptedForPolicyChangeError):
- * loader/FrameLoaderClient.h:
- * loader/MainResourceLoader.cpp:
- (WebCore::MainResourceLoader::interruptedForPolicyChangeError):
- (WebCore::MainResourceLoader::stopLoadingForPolicyChange):
- (WebCore::MainResourceLoader::continueAfterContentPolicy):
- * loader/MainResourceLoader.h:
-
-2011-06-12 Hironori Bono <hbono@chromium.org>
-
- Reviewed by Hajime Morita.
-
- Add null checks to HTMLTextAreaElement::removeSpellcheckRange().
- https://bugs.webkit.org/show_bug.cgi?id=62526
-
- This change adds null checks to the following function to prevent crashes
- when calling removeSpellcheckRange() with null:
- HTMLTextAreaElement::removeSpellcheckRange(),
- HTMLInputElement::removeSpellcheckRange(), and
- HTMLDivElement::removeSpellcheckRange().
-
- Test: editing/spelling/spellcheck-api-crash.html
-
- * html/HTMLDivElement.cpp:
- (WebCore::HTMLDivElement::removeSpellcheckRange):
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::removeSpellcheckRange):
- * html/HTMLTextAreaElement.cpp:
- (WebCore::HTMLTextAreaElement::removeSpellcheckRange):
-
-2011-06-12 Adam Barth <abarth@webkit.org>
-
- Reviewed by Darin Adler.
-
- DocumentParser::appendBytes should use size_t for length instead of int
- https://bugs.webkit.org/show_bug.cgi?id=62508
-
- size_t is the proper type for distances in memory, especially on 64 bit
- machines.
-
- * dom/DecodedDataDocumentParser.cpp:
- (WebCore::DecodedDataDocumentParser::appendBytes):
- * dom/DecodedDataDocumentParser.h:
- * dom/DocumentParser.h:
- * html/ImageDocument.cpp:
- (WebCore::ImageDocumentParser::appendBytes):
- * html/MediaDocument.cpp:
- (WebCore::MediaDocumentParser::appendBytes):
- * html/PluginDocument.cpp:
- (WebCore::PluginDocumentParser::appendBytes):
- * loader/SinkDocument.cpp:
- (WebCore::SinkDocumentParser::appendBytes):
-
-2011-06-12 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Remove FrameLoader::isProcessingUserGesture
- https://bugs.webkit.org/show_bug.cgi?id=62519
-
- This function is a remnant of the old user gesture design, which
- involved per-frame state stored on FrameLoader. Now that we're using
- static state, we don't need this function anymore.
-
- This function used to check whether JavaScript was enabled for the
- top-level frame, but that check doesn't make any sense (like much of
- the old user gesture code).
-
- * WebCore.exp.in:
- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::processingUserGesture):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::submitForm):
- * loader/FrameLoader.h:
- * rendering/RenderFileUploadControl.cpp:
- (WebCore::RenderFileUploadControl::click):
-
-2011-06-12 Adam Barth <abarth@webkit.org>
-
- Fix fullscreen/full-screen-iframe-legacy.html.
-
- * html/HTMLVideoElement.idl:
-
-2011-06-12 Adam Barth <abarth@webkit.org>
-
- Reviewed by Alexey Proskuryakov.
-
- Remove trival "forward-to-client" member functions from FrameLoader
- https://bugs.webkit.org/show_bug.cgi?id=62510
-
- Originally, FrameLoader was supposed to abstract FrameLoaderClient, but
- we lost that battle log ago. Nowadays, it's easier if folks just call
- into FrameLoaderClient directly. Many of these functions have direct
- callers already anyway.
-
- * WebCore.exp.in:
- * html/HTMLMediaElement.cpp:
- (WebCore::HTMLMediaElement::createRenderer):
- (WebCore::HTMLMediaElement::attach):
- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::setRequest):
- (WebCore::DocumentLoader::setMainDocumentError):
- (WebCore::DocumentLoader::setupForReplaceByMIMEType):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::didFirstLayout):
- * loader/FrameLoader.h:
- - cancelledError is slightly more delicate, so I'm going to move it in
- a separate patch.
- * loader/MainResourceLoader.cpp:
- (WebCore::MainResourceLoader::interruptForPolicyChangeError):
- (WebCore::MainResourceLoader::stopLoadingForPolicyChange):
- (WebCore::MainResourceLoader::continueAfterContentPolicy):
- (WebCore::MainResourceLoader::handleEmptyLoad):
- (WebCore::MainResourceLoader::loadNow):
- * loader/MainResourceLoader.h:
- * loader/NetscapePlugInStreamLoader.cpp:
- (WebCore::NetscapePlugInStreamLoader::didReceiveResponse):
- * loader/PingLoader.cpp:
- (WebCore::PingLoader::PingLoader):
- * loader/PolicyChecker.cpp:
- (WebCore::PolicyChecker::continueAfterNavigationPolicy):
- * loader/ResourceLoader.cpp:
- (WebCore::ResourceLoader::blockedError):
- (WebCore::ResourceLoader::cannotShowURLError):
- (WebCore::ResourceLoader::shouldUseCredentialStorage):
- (WebCore::ResourceLoader::canAuthenticateAgainstProtectionSpace):
- * page/ContextMenuController.cpp:
- (WebCore::ContextMenuController::populate):
-
-2011-06-12 Dan Bernstein <mitz@apple.com>
-
- Reviewed by Darin Adler.
-
- <rdar://problem/9513180> REGRESSION (r84166): recalcStyle for display:inline to display:none transition has complexity N^2 where N is the number of child Text nodes
- https://bugs.webkit.org/show_bug.cgi?id=61557
-
- Replaced the fix for bug 58500 with a refined version.
-
- * rendering/RenderText.cpp:
- (WebCore::RenderText::clippedOverflowRectForRepaint): Use the containing block unless it is
- across a layer boundary.
-
-2011-06-12 Adam Barth <abarth@webkit.org>
-
- Reviewed by Andreas Kling.
-
- Minor user-gesture related cleanup
- https://bugs.webkit.org/show_bug.cgi?id=62511
-
- In reading the user gesture code, I noticed that these lines of code
- should be deleted because they don't do anything.
-
- * bindings/v8/NPV8Object.cpp:
- * html/HTMLAnchorElement.cpp:
- * html/HTMLVideoElement.idl:
-
-2011-06-11 Nikolas Zimmermann <nzimmermann@rim.com>
-
- Reviewed by Dirk Schulze.
-
- Add TextRun charactersLength member
- https://bugs.webkit.org/show_bug.cgi?id=62501
-
- Preparation patch 2: Propagate the maximum length of the characters buffer the TextRun operates on, even when we're only measuring a substring.
- For example: In RenderText when we're measuring 'len' characters starting from "text()->characters() + start", there's a portion
- of "textLength() - start" characters that we're not processing. In order to support ligatures when integrating SVG Fonts
- within the GlyphPage concept, we need this extra information, to lookup ligatures even when single chars are measured.
- If a font defines an eg "ffl" ligature, and we're measuring the "f" of "ffl", it shall looukp the "ffl" glyph from the font,
- and skip the next two characters (this will be done in WidthIterator).
-
- This doesn't yet affect any test, the new SVG Fonts code is not merged yet, this is the preparaion patch 2.
-
- * platform/graphics/Font.h: Add yet-unused "const TextRun&" parameter to drawGlyphBuffer/drawEmphasisMarks.
- * platform/graphics/FontFastPath.cpp: Ditto. This parameter will be used to looukp the TextRunRenderingContext in a follow-up patch.
- (WebCore::Font::drawSimpleText):
- (WebCore::Font::drawEmphasisMarksForSimpleText):
- (WebCore::Font::drawGlyphBuffer):
- (WebCore::Font::drawEmphasisMarks):
- * platform/graphics/TextRun.h: Add "int m_charactersLength", similar to "int m_len". It denotes the maximum length of the characters buffer
- that we're holding. It defaults to the passed "len" value, but is overriden by explicit setCharactersLength calls.
- (WebCore::TextRun::TextRun):
- (WebCore::TextRun::charactersLength):
- (WebCore::TextRun::setCharactersLength):
- * platform/graphics/mac/FontComplexTextMac.cpp: Pass TextRun do drawGlyphBuffer/drawEmphasisMarks.
- (WebCore::Font::drawComplexText):
- (WebCore::Font::drawEmphasisMarksForComplexText):
- * platform/graphics/win/FontWin.cpp: Ditto.
- (WebCore::Font::drawComplexText):
- (WebCore::Font::drawEmphasisMarksForComplexText):
- * platform/graphics/wx/FontWx.cpp: Ditto.
- (WebCore::Font::drawComplexText):
- (WebCore::Font::drawEmphasisMarksForComplexText):
- * rendering/InlineTextBox.cpp: Call setCharactersLength on the processed TextRun.
- (WebCore::InlineTextBox::constructTextRun):
- * rendering/RenderBlockLineLayout.cpp: Ditto.
- (WebCore::textWidth):
- (WebCore::tryHyphenating):
- * rendering/RenderText.cpp: Ditto.
- (WebCore::RenderText::widthFromCache):
- (WebCore::RenderText::computePreferredLogicalWidths):
- (WebCore::RenderText::width):
- * rendering/svg/SVGInlineTextBox.cpp: Ditto.
- (WebCore::SVGInlineTextBox::constructTextRun):
-
-2011-06-12 Robert Hogan <robert@webkit.org>
-
- Reviewed by Andreas Kling.
-
- [Qt] Fix methods.html and methods-lower-case.html
- https://bugs.webkit.org/show_bug.cgi?id=62221
-
- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyHandler::clearContentsHeaders): Refactor code from sendNetworkRequest
- (WebCore::QNetworkReplyHandler::getIODevice): ditto
- (WebCore::QNetworkReplyHandler::sendNetworkRequest):
- - Remove ContentType and ContentLength headers from GET, DELETE and HEAD requests since
- we do not send data with any of these requests.
- - If a custom HTTP operation contains data, send it.
- * platform/network/qt/QNetworkReplyHandler.h:
-
-2011-06-11 Michael Saboff <msaboff@apple.com>
-
- Reviewed by James Robinson.
-
- REGRESSION(88260): 10-50% performance regression across many page cyclers
- https://bugs.webkit.org/show_bug.cgi?id=62349
-
- Made CHROMIUM platform specific values for cMaxInactiveFontData and
- cTargetInactiveFontData to mitigate the current performance issue on Chromium
- page cycler tests. Made the chromium value for cMaxInactiveFontData 250 based
- on recommendation from James Robinson. Changed cTargetInactiveFontData to 200
- so that 50 inactive fonts will be cleaned up at a time.
-
- Change made to address existing Chromium performance test regression.
-
- * platform/graphics/FontCache.cpp:
-
-2011-06-11 Adam Barth <abarth@webkit.org>
-
- Reviewed by Darin Adler.
-
- Remove unnecessary strlen from DocumentWriter
- https://bugs.webkit.org/show_bug.cgi?id=62505
-
- This ugly piece of code appears not to be needed. Rejoice.
-
- * WebCore.exp.in:
- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::commitData):
- * loader/DocumentLoader.h:
- * loader/DocumentWriter.cpp:
- (WebCore::DocumentWriter::addData):
- * loader/DocumentWriter.h:
-
-2011-06-11 Adam Barth <abarth@webkit.org>
-
- Reviewed by Darin Adler.
-
- DocumentParser::appendBytes shouldn't have a "flush" boolean parameter
- https://bugs.webkit.org/show_bug.cgi?id=62499
-
- This patch removes the "flush" Boolean parameter from
- DocumentParser::appendBytes in favor of a new flush method. This makes
- some code in DocumentWriter look less ridiculous.
-
- There's still lots of on contorting to do here, but it's a start.
-
- * dom/DecodedDataDocumentParser.cpp:
- (WebCore::DecodedDataDocumentParser::appendBytes):
- (WebCore::DecodedDataDocumentParser::flush):
- * dom/DecodedDataDocumentParser.h:
- * dom/DocumentParser.h:
- * dom/RawDataDocumentParser.h:
- (WebCore::RawDataDocumentParser::flush):
- * html/ImageDocument.cpp:
- (WebCore::ImageDocumentParser::appendBytes):
- * html/MediaDocument.cpp:
- (WebCore::MediaDocumentParser::appendBytes):
- * html/PluginDocument.cpp:
- (WebCore::PluginDocumentParser::appendBytes):
- * loader/DocumentWriter.cpp:
- (WebCore::DocumentWriter::reportDataReceived):
- (WebCore::DocumentWriter::addData):
- (WebCore::DocumentWriter::endIfNotLoadingMainResource):
- * loader/DocumentWriter.h:
- * loader/SinkDocument.cpp:
- (WebCore::SinkDocumentParser::appendBytes):
-
-2011-06-11 Dimitri Glazkov <dglazkov@chromium.org>
-
- Unreviewed, rolling out r88569.
- http://trac.webkit.org/changeset/88569
- https://bugs.webkit.org/show_bug.cgi?id=62398
-
- Broke Chromium browser test:
- IndexedDBBrowserTestWithGCExposed.DatabaseCallbacksTest
-
- * storage/IDBFactory.idl:
-
-2011-06-11 Dimitri Glazkov <dglazkov@chromium.org>
-
- Unreviewed, rolling out r88565.
- http://trac.webkit.org/changeset/88565
- https://bugs.webkit.org/show_bug.cgi?id=62401
-
- Broke Chromium browser test:
- IndexedDBBrowserTestWithGCExposed.DatabaseCallbacksTest
-
- * storage/IDBDatabase.cpp:
- (WebCore::IDBDatabase::setVersion):
- * storage/IDBDatabase.idl:
-
-2011-06-10 Abhishek Arya <inferno@chromium.org>
-
- Reviewed by Simon Fraser.
-
- Null parent element sheet pointers in CSSMutableStyleDeclaration consumers
- when removed from document, set them when reinserted into document.
- https://bugs.webkit.org/show_bug.cgi?id=62230
-
- When a HTMLBodyElement, StyledElement are removed from document,
- we didn't clear out the parent pointers from their link, style declarations.
- These parent pointers pointed to the document's element sheet which will
- get removed when document is getting destroyed. It does make sense to
- clear out parent pointers when we are getting removed from document and
- readd them when we get inserted again.
-
- Tests: fast/dom/body-link-decl-parent-crash.html
- fast/dom/styled-inline-style-decl-parent-crash.html
-
- * dom/StyledElement.cpp:
- (WebCore::StyledElement::insertedIntoDocument):
- (WebCore::StyledElement::removedFromDocument):
- * dom/StyledElement.h:
- * html/HTMLBodyElement.cpp:
- (WebCore::HTMLBodyElement::parseMappedAttribute):
- (WebCore::HTMLBodyElement::insertedIntoDocument):
- (WebCore::HTMLBodyElement::removedFromDocument):
- (WebCore::HTMLBodyElement::didMoveToNewOwnerDocument):
- * html/HTMLBodyElement.h:
-
-2011-06-10 Adam Barth <abarth@webkit.org>
-
- Remove bogus ASSERTs. These ASSERTs used to be correct before I
- changed DocumentWriter to put the onus for ignoring empty writes onto
- the parser.
-
- This patch should stop these test from triggering ASSERTs:
-
- plugins/plugin-document-back-forward.html
- plugins/return-error-from-new-stream-callback-in-full-frame-plugin.html
- userscripts/user-script-plugin-document.html
-
- * html/MediaDocument.cpp:
- (WebCore::MediaDocumentParser::appendBytes):
- * html/PluginDocument.cpp:
- (WebCore::PluginDocumentParser::appendBytes):
-
-2011-06-09 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Darin Adler.
-
- REGRESSION: End of apple.com video in full-screen mode leads to unusable page.
- https://bugs.webkit.org/show_bug.cgi?id=62411
-
- Test: fullscreen/full-screen-remove-ancestor-after.html
-
- The placeholder for RenderFullScreen was being created as a non-anonymous object, which led
- to the document's renderer being set to 0 when the placeholder was removed due to its parent
- being removed. Setting the placeholder to be anonymous, however, means that it will be
- coalesced with sibling anonymous blocks, so added the RenderFullScreenPlaceholder to the
- list of anonymous objects that are not considered anonymous blocks, to avoid the placeholder
- being so coalesced. To do so, made the placeholder object a true subclass, and add and
- override its destroy() function to notify the RenderFullScreen object that it has been
- destroyed.
-
- * rendering/RenderFullScreen.cpp:
- (RenderFullScreenPlaceholder::RenderFullScreenPlaceholder): Added.
- (RenderFullScreenPlaceholder::~RenderFullScreenPlaceholder): Added.
- (RenderFullScreenPlaceholder::isRenderFullScreenPlaceholder): Added.
- (RenderFullScreenPlaceholder::destroy): Notify the owner renderer that its placeholder
- has been destroyed.
- (RenderFullScreen::destroy): Assert that the m_placeholder ivar is 0 after destroying it.
- (RenderFullScreen::setPlaceholder): Added.
- (RenderFullScreen::createPlaceholder): Do not make the placeholder anonymous.
- * rendering/RenderFullScreen.h:
- * rendering/RenderObject.h:
- (WebCore::RenderObject::isRenderFullScreenPlaceholder): Added.
- (WebCore::RenderObject::isAnonymousBlock): Added the placeholder class to the list of
- objects which are not anonymous blocks.
-
-2011-06-10 Gavin Barraclough <barraclough@apple.com>
-
- Reviewed by Sam Weinig.
-
- https://bugs.webkit.org/show_bug.cgi?id=16777
- Eliminate JSC::NaN and JSC::Inf
-
- There's no good reason for -K-J-S- JSC to have its own NAN and infinity constants.
- The ones in std::numeric_limits are perfectly good.
- Remove JSC::Inf, JSC::NaN, switch some cases of (isnan || isinf) to !isfinite.
-
- * bindings/js/JSDataViewCustom.cpp:
- (WebCore::getDataViewMember):
-
-2011-06-10 James Simonsen <simonjam@chromium.org>
-
- Reviewed by Eric Seidel.
-
- <script> inside <svg> should be executed
- https://bugs.webkit.org/show_bug.cgi?id=62412
-
- Tests: svg/in-html/script-external.html
- svg/in-html/script-nested.html
- svg/in-html/script-write.html
- svg/in-html/script.html
-
- * html/parser/HTMLTreeBuilder.cpp:
- (WebCore::HTMLTreeBuilder::processEndTag):
-
-2011-06-10 Adam Barth <abarth@webkit.org>
-
- Reviewed by Darin Adler.
-
- Script-created parsers should ignore data from the network
- https://bugs.webkit.org/show_bug.cgi?id=62336
-
- If the network packet boundaries line up just right, we can end up
- feeding network data to a parser created by document.write (or
- document.open). That's incorrect.
-
- This patch causes DocumentWriter to grab hold of the original parser
- and direct all input to that parser.
-
- Test: fast/parser/document-write-ignores-later-network-bytes.html
-
- * dom/Document.cpp:
- (WebCore::Document::explicitClose):
- * loader/DocumentWriter.cpp:
- (WebCore::DocumentWriter::begin):
- (WebCore::DocumentWriter::addData):
- (WebCore::DocumentWriter::endIfNotLoadingMainResource):
- (WebCore::DocumentWriter::setDocumentWasLoadedAsPartOfNavigation):
- * loader/DocumentWriter.h:
-
-2011-06-10 Simon Fraser <simon.fraser@apple.com>
-
- Reviewed by Dan Bernstein.
-
- Keep overlap testing logic until real 3d transforms are being used
- https://bugs.webkit.org/show_bug.cgi?id=49857
-
- For pages that use the translateZ(0) hack to force compositing layers, it's
- advantageous to keep overlap testing, to avoid putting too many other
- elements into layers.
-
- Only turn off overlap testing if non-identity 3D transforms are used.
-
- Tests: compositing/layer-creation/rotate3d-overlap.html
- compositing/layer-creation/translatez-overlap.html
-
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::updateBacking):
- (WebCore::RenderLayerCompositor::hasNonIdentity3DTransform):
- * rendering/RenderLayerCompositor.h:
-
-2011-06-10 David Levin <levin@chromium.org>
-
- Reviewed by Dmitry Titov.
-
- Web Worker fails to fire error event when a resource fetch fails.
- https://bugs.webkit.org/show_bug.cgi?id=62475
-
- Test: http/tests/workers/worker-workerScriptNotThere.html
-
- * workers/WorkerScriptLoader.cpp:
- (WebCore::WorkerScriptLoader::didFinishLoading): Ensure that
- the client is notified of the error when it happens during loading.
-
-2011-06-10 David Levin <levin@chromium.org>
-
- Reviewed by Dmitry Titov.
-
- Fetching a Worker with url that isn't allowed from a file based test causes DRT to crash.
- https://bugs.webkit.org/show_bug.cgi?id=62469
-
- Test: fast/workers/worker-crash-with-invalid-location.html
-
- * workers/DefaultSharedWorkerRepository.cpp:
- (WebCore::SharedWorkerScriptLoader::load): Changed to using the RefCounted version of WorkerScriptLoader.
- * workers/Worker.cpp:
- (WebCore::Worker::create): Ditto.
- * workers/Worker.h: Ditto.
- * workers/WorkerContext.cpp:
- (WebCore::WorkerContext::importScripts): Ditto.
- * workers/WorkerScriptLoader.cpp:
- (WebCore::WorkerScriptLoader::~WorkerScriptLoader): Created to
- allow removing some header includes in WorkerScriptLoader.h.
- (WebCore::WorkerScriptLoader::loadAsynchronously): Fix the ordering
- of setPendingActivity and keep WorkerScriptLoader alive during a
- potential callback.
- * workers/WorkerScriptLoader.h: Made this RefCounted to allow for
- keeping it alive during callbacks. Also, removed unnecessary header
- inclusions (and added a destructor to facilitate that).
- (WebCore::WorkerScriptLoader::create):
-
-2011-06-10 Alok Priyadarshi <alokp@chromium.org>
-
- Reviewed by James Robinson.
-
- [chromium] Top portion of page is rendered messed up with accelerated drawing
- https://bugs.webkit.org/show_bug.cgi?id=62484
-
- Fixed the math in flipping the texture from bottom-up to top-down.
- Test: compositing/repaint/shrink-layer.html (existing)
-
- * platform/graphics/chromium/LayerTilerChromium.cpp:
- (WebCore::LayerTilerChromium::draw):
-
-2011-06-10 Tony Chang <tony@chromium.org>
-
- Reviewed by Ojan Vafai.
-
- add a compile guard ENABLE(FLEXBOX)
- https://bugs.webkit.org/show_bug.cgi?id=62049
-
- * Configurations/FeatureDefines.xcconfig:
-
-2011-06-10 Sam Weinig <sam@webkit.org>
-
- Roll out r88568. It is not the right fix for the problem.
-
- * loader/appcache/ApplicationCacheHost.cpp:
- (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
-
-2011-06-10 Mark Rowe <mrowe@apple.com>
-
- Reviewed by Dimitri Glazkov.
-
- <rdar://problem/9562114> Fix DumpRenderTree build for production configuration.
-
- Rename the built WebCoreTestSupport dylib to libWebCoreTestSupport.dylib so
- that it can be found via the library search path rather than requiring an
- absolute path be passed to the linker.
-
- Install the library and its associated header file in a more appropriate location
- for the production configuration.
-
- * Configurations/WebCoreTestSupport.xcconfig:
-
-2011-06-10 Simon Fraser <simon.fraser@apple.com>
-
- Reviewed by Dave Hyatt.
-
- Add a scheduleSetNeedsStyleRecalc() method to ContainerNode for use by RenderLayerCompositor
- https://bugs.webkit.org/show_bug.cgi?id=62471
-
- RenderLayerCompositor had some code that did a setNeedsStyleRecalc(), but
- in a way that was safe to call during existing style recalc or layout.
-
- Move this code to ContainerElement so it can be called elsewhere.
- Also add a param to the node callback so we can pass the style change type.
-
- * dom/ContainerNode.cpp:
- (WebCore::ContainerNode::queuePostAttachCallback):
- (WebCore::ContainerNode::dispatchPostAttachCallbacks):
- (WebCore::needsStyleRecalcCallback):
- (WebCore::ContainerNode::scheduleSetNeedsStyleRecalc):
- * dom/ContainerNode.h:
- * dom/Node.h:
- (WebCore::Node::scheduleSetNeedsStyleRecalc):
- * html/HTMLFormControlElement.cpp:
- (WebCore::focusPostAttach):
- (WebCore::updateFromElementCallback):
- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::updateWidgetCallback):
- * html/HTMLPlugInImageElement.h:
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::attachRootPlatformLayer):
- (WebCore::RenderLayerCompositor::detachRootPlatformLayer):
- (WebCore::RenderLayerCompositor::notifyIFramesOfCompositingChange):
- * rendering/RenderLayerCompositor.h:
- * svg/SVGUseElement.cpp:
- (WebCore::updateFromElementCallback):
-
-2011-06-10 Mark Pilgrim <pilgrim@chromium.org>
-
- Reviewed by Tony Chang.
-
- IndexedDB: indexedDB.open() name argument is required
- https://bugs.webkit.org/show_bug.cgi?id=62398
-
- Test: storage/indexeddb/database-name-undefined.html
-
- * storage/IDBFactory.idl: use appropriate IDL magic to force undefined values to null, so we handle missing arguments as well as null arguments
-
-2011-06-10 Sam Weinig <sam@webkit.org>
-
- Reviewed by Beth Dakin.
-
- Common crash in ApplicationCacheHost::isApplicationCacheEnabled
- <rdar://problem/9328684>
-
- * loader/appcache/ApplicationCacheHost.cpp:
- (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
- Speculative fix for a null frame on ApplicationCacheHost's DocumentLoader.
-
-2011-06-10 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Remove Document::finishParsing
- https://bugs.webkit.org/show_bug.cgi?id=62474
-
- This function appears to exist only to confuse and befuddle us. This
- patch prepares for DocumentWriter to grab hold of the parser.
-
- This patch removes one of the print statements from
- INSTRUMENT_LAYOUT_SCHEDULING, but I'm not sure
- INSTRUMENT_LAYOUT_SCHEDULING works anymore anyway.
-
- * dom/Document.cpp:
- * dom/Document.h:
- * dom/XMLDocumentParser.cpp:
- (WebCore::XMLDocumentParser::finish):
- * html/parser/HTMLDocumentParser.cpp:
- (WebCore::HTMLDocumentParser::finish):
- * loader/DocumentWriter.cpp:
- (WebCore::DocumentWriter::addData):
- (WebCore::DocumentWriter::endIfNotLoadingMainResource):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::stop):
-
-2011-06-10 Mark Pilgrim <pilgrim@chromium.org>
-
- Reviewed by Tony Chang.
-
- IndexedDB: setVersion() version argument is required
- https://bugs.webkit.org/show_bug.cgi?id=62401
-
- Test: storage/indexeddb/setVersion-undefined.html
-
- * storage/IDBDatabase.cpp:
- (WebCore::IDBDatabase::setVersion): check for null version
- * storage/IDBDatabase.idl: add IDL magic to force undefined to null so we can handle both missing and null arguments
-
-2011-06-10 Simon Fraser <simon.fraser@apple.com>
-
- Reviewed by Dan Bernstein.
-
- Null-check the layer owner again when painting layers
- https://bugs.webkit.org/show_bug.cgi?id=62473
-
- Speculative fix for a crash that occurs when the layer's owner
- gets destroyed during painting.
-
- * platform/graphics/mac/WebLayer.mm:
- (drawLayerContents):
-
-2011-06-08 Robert Hogan <robert@webkit.org>
-
- Reviewed by Andreas Kling.
-
- [Qt] Lighten the --no-svg build a little
- https://bugs.webkit.org/show_bug.cgi?id=62314
-
- Only generate source from SVG*.idl if the build is svg-enabled.
-
- * CodeGenerators.pri:
-
-2011-06-10 Nikolas Zimmermann <nzimmermann@rim.com>
-
- Reviewed by Rob Buis.
-
- Integrate SVG Fonts within GlyphPage concept, removing the special SVG code paths from Font, making it possible to reuse the simple text code path for SVG Fonts
- https://bugs.webkit.org/show_bug.cgi?id=59085
-
- Add glyph table to SVGFontElement mapping between SVGGlyph <-> Glyph
- https://bugs.webkit.org/show_bug.cgi?id=62441
-
- Preparation patch 1: Introduce the internal glyph table in SVGGlyphMap that will be used to identify each
- SVGGlyph identifier with a Glyph (which is just an ushort). It will be used by follow-up patches.
-
- Doesn't affect any test so far.
-
- * platform/graphics/SVGGlyph.h:
- (WebCore::SVGGlyph::SVGGlyph):
- (WebCore::SVGGlyph::operator==):
- * rendering/svg/SVGTextRunRenderingContext.cpp:
- (WebCore::SVGTextRunWalker::walk):
- * svg/SVGFontData.cpp:
- (WebCore::SVGFontData::initializeFontData):
- * svg/SVGFontElement.cpp:
- (WebCore::SVGFontElement::SVGFontElement):
- (WebCore::SVGFontElement::registerLigaturesInGlyphCache):
- (WebCore::SVGFontElement::ensureGlyphCache):
- (WebCore::kerningForPairOfStringsAndGlyphs):
- (WebCore::SVGFontElement::horizontalKerningForPairOfStringsAndGlyphs):
- (WebCore::SVGFontElement::verticalKerningForPairOfStringsAndGlyphs):
- (WebCore::SVGFontElement::collectGlyphsForString):
- (WebCore::SVGFontElement::collectGlyphsForGlyphName):
- (WebCore::SVGFontElement::svgGlyphForGlyph):
- (WebCore::SVGFontElement::missingGlyph):
- * svg/SVGFontElement.h:
- (WebCore::SVGKerningPair::SVGKerningPair):
- * svg/SVGGlyphMap.h:
- (WebCore::SVGGlyphMap::addGlyphByUnicodeString):
- (WebCore::SVGGlyphMap::addGlyphByName):
- (WebCore::SVGGlyphMap::appendToGlyphTable):
- (WebCore::SVGGlyphMap::collectGlyphsForString):
- (WebCore::SVGGlyphMap::clear):
- (WebCore::SVGGlyphMap::svgGlyphForGlyph):
- (WebCore::SVGGlyphMap::glyphIdentifierForGlyphName):
-
-2011-06-10 Emil A Eklund <eae@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Regression r85573: Blank pages appear at the end of some wikipedia documents.
- https://bugs.webkit.org/show_bug.cgi?id=62343
-
- Fix regression caused by r85573. Cached document size not updated after layout.
-
- Test: printing/page-count-relayout-shrink.html
-
- * page/FrameView.cpp:
- (WebCore::FrameView::forceLayoutForPagination):
-
-2011-06-10 Rob Buis <rbuis@rim.com>
-
- Reviewed by Nikolas Zimmermann.
-
- amation event handling broken: focusin
- https://bugs.webkit.org/show_bug.cgi?id=12894
-
- focusin, focusout, activate not implemented in SVG
- https://bugs.webkit.org/show_bug.cgi?id=40545
-
- Make elements that should support GraphicalEventAttribute handle focussing, since focusin, focusout is part of that:
-
- http://www.w3.org/TR/SVG11/intro.html#TermGraphicalEventAttribute
-
- Match Opera behaviour ; elements that support GraphicalEventAttribute can receive visual mouse focus when having either a focusin or focusout event handler. Elements that support GraphicalEventAttribute can receive visual keyboard focus when having either a focusin or focusout event handler. Keyboard focus does not advance to SVG elements that are not focusable at the time.
-
- Tests: svg/custom/focus-event-handling-keyboard.xhtml
- svg/custom/focus-event-handling.xhtml
-
- * rendering/svg/SVGRenderSupport.cpp:
- (WebCore::SVGRenderSupport::computeRectForRepaint):
- * svg/SVGCircleElement.h:
- (WebCore::SVGCircleElement::supportsFocus):
- * svg/SVGEllipseElement.h:
- (WebCore::SVGEllipseElement::supportsFocus):
- * svg/SVGGElement.h:
- (WebCore::SVGGElement::supportsFocus):
- * svg/SVGImageElement.h:
- (WebCore::SVGImageElement::supportsFocus):
- * svg/SVGLineElement.h:
- (WebCore::SVGLineElement::supportsFocus):
- * svg/SVGPathElement.h:
- (WebCore::SVGPathElement::supportsFocus):
- * svg/SVGPolyElement.h:
- (WebCore::SVGPolyElement::supportsFocus):
- * svg/SVGRectElement.h:
- (WebCore::SVGRectElement::supportsFocus):
- * svg/SVGSVGElement.h:
- (WebCore::SVGSVGElement::supportsFocus):
- * svg/SVGStyledElement.cpp:
- (WebCore::SVGStyledElement::isMouseFocusable):
- (WebCore::SVGStyledElement::isKeyboardFocusable):
- * svg/SVGStyledElement.h:
- * svg/SVGSwitchElement.h:
- (WebCore::SVGSwitchElement::supportsFocus):
- * svg/SVGSymbolElement.h:
- (WebCore::SVGSymbolElement::supportsFocus):
- * svg/SVGTextElement.h:
- (WebCore::SVGTextElement::supportsFocus):
- * svg/SVGUseElement.h:
- (WebCore::SVGUseElement::supportsFocus):
-
-2011-06-10 Luke Macpherson <macpherson@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Clean up CSSPrimitiveValue::computeLength*
- https://bugs.webkit.org/show_bug.cgi?id=61612
-
- No new tests as no functionality changed.
-
- * css/CSSGradientValue.cpp:
- Use new computeLength functions.
- * css/CSSPrimitiveValue.cpp:
- (WebCore::CSSPrimitiveValue::computeLengthIntForLength):
- Reduce to a single function using default parameter values.
- (WebCore::CSSPrimitiveValue::computeLength):
- Redefine existing functions with separate names as a single function using templated function specialization.
- * css/CSSPrimitiveValue.h:
- Prototypes for computeLengthIntForLength and computeLength.
- * css/CSSStyleApplyProperty.cpp:
- Use new computeLength functions.
- * css/CSSStyleSelector.cpp:
- Use new computeLength functions.
- * css/MediaQueryEvaluator.cpp:
- Use new computeLength functions.
- * css/SVGCSSStyleSelector.cpp:
- Use new computeLength functions.
-
-2011-06-10 Simon Fraser <simon.fraser@apple.com>
-
- Reviewed by Beth Dakin.
-
- Add utility to RenderLayer to determine if the layer is scrollable
- https://bugs.webkit.org/show_bug.cgi?id=62467
-
- New method that returns true if either scrollbar is present and enabled.
- Not called anywhere yet.
-
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::allowsScrolling):
- * rendering/RenderLayer.h:
-
-2011-06-10 Dimitri Glazkov <dglazkov@chromium.org>
-
- Reviewed by Tony Chang.
-
- REGRESSION (r88332): prototype-inheritance-2 ASSERTS attempting to enumerate spellCheckRanges
- https://bugs.webkit.org/show_bug.cgi?id=62460
-
- Test: fast/dom/prototype-inheritance-2.html
-
- * dom/DocumentMarkerController.cpp:
- (WebCore::DocumentMarkerController::userSpellingMarkersForNode): Added an extra 0-check.
-
-2011-06-10 James Simonsen <simonjam@chromium.org>
-
- Reviewed by Tony Gentilcore.
-
- Don't execute scripts in shadow SVG.
- https://bugs.webkit.org/show_bug.cgi?id=62225
-
- Test: svg/dom/use-style-recalc-script-execute-crash.html
-
- * dom/ScriptElement.cpp:
- (WebCore::ScriptElement::prepareScript):
-
-2011-06-10 Konstantin Tokarev <ktokarev@smartlabs.tv>
-
- Reviewed by Joseph Pecoraro.
-
- Fixed build with enabled workers and disabled inspector
- https://bugs.webkit.org/show_bug.cgi?id=62461
-
- * inspector/InspectorWorkerAgent.cpp: Added inspector guard
-
-2011-06-10 Darin Adler <darin@apple.com>
-
- Reviewed by Eric Carlson.
-
- REGRESSION: Fullscreen video controller can't be dragged
- https://bugs.webkit.org/show_bug.cgi?id=62462
-
- No regression test because we don't have machinery for testing the fullscreen
- mode. We may find a way to add this in the future.
-
- * html/shadow/MediaControlElements.cpp:
- (WebCore::MediaControlPanelElement::MediaControlPanelElement): Initialize new
- booleans related to dragging.
- (WebCore::MediaControlPanelElement::startDrag): Added. Starts drag if dragging
- is allowed and a drag isn't already in progress.
- (WebCore::MediaControlPanelElement::continueDrag): Added. Moves the window if
- dragging is already in progress.
- (WebCore::MediaControlPanelElement::endDrag): Added. Ends the capture that is
- done during the dragging process.
- (WebCore::MediaControlPanelElement::setPosition): Added. Positions the panel
- using explicit top/left.
- (WebCore::MediaControlPanelElement::resetPosition): Added. Removes the positioning
- done by setPosition.
- (WebCore::MediaControlPanelElement::defaultEventHandler): Added. Calls startDrag,
- continueDrag, and endDrag in response to mouse events.
- (WebCore::MediaControlPanelElement::setCanBeDragged): Added.
- * html/shadow/MediaControlElements.h: Added new function and data members
- as mentioned above.
-
- * html/shadow/MediaControlRootElement.cpp:
- (WebCore::MediaControlRootElement::enteredFullscreen): Call setCanBeDragged(true)
- so you can drag the panel while in fullscreen.
- (WebCore::MediaControlRootElement::exitedFullscreen): Call setCanBeDragged(false)
- so you can't drag the panel while not in fullscreen. Also call resetPosition so
- position changes from dragging don't affect the panel in other contexts.
-
-2011-06-10 Darin Adler <darin@apple.com>
-
- Reviewed by Eric Carlson.
-
- REGRESSION: Full screen video HUD is positioned too low for standalone video documents
- https://bugs.webkit.org/show_bug.cgi?id=62463
-
- No test because we don't currently have machinery for testing fullscreen.
-
- * css/fullscreen.css: Removed rule that said bottom: 0px for the control panel
- for full page media in full screen mode. This is not needed because the control
- panel for full screen mode already has style rules to set its vertical position.
- (:-webkit-full-screen-ancestor:not(iframe)): Fixed typo where it said
- -webkit-tranform. This will fix a potential problem where fullscreen would
- malfunction on a page that had a media element inside a transform.
-
-2011-06-10 Sergio Villar Senin <svillar@igalia.com>
-
- Reviewed by Gustavo Noronha Silva.
-
- [GTK] Add support for non-ASCII filenames in Content-Disposition header
- https://bugs.webkit.org/show_bug.cgi?id=62454
-
- Try latin1 as fallback for header parameter values as some servers
- do not follow RFC 2045 for example with filename parameter in
- Content-Disposition.
-
- No new tests required as no functionality changed.
-
- * platform/network/soup/ResourceResponseSoup.cpp:
- (WebCore::ResourceResponse::updateFromSoupMessage):
-
-2011-06-10 No'am Rosenthal <noam.rosenthal@nokia.com> and Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- Add layer factory to GraphicsLayer for creating non-default layer type.
- https://bugs.webkit.org/show_bug.cgi?id=61925
-
- Added a static factory protected member to GraphicsLayer, which should be accessed from
- a port-specific implementation of GraphicsLayer::create. For now this is enabled for Qt only.
-
- This is needed for accelerated compositing across processes in WebKit2, since WebCore
- doesn't know in compile time whether it's in WebKit or WebKit2, which makes having two
- different implementations of GraphicsLayer coexist impossible without some runtime
- factory that can be overridden by the web process.
-
- Note that the use of the factory would be optional, and the port-specific GraphicsLayer::create
- would have to explicitly call it, in order to be unintrusive with current implementations.
-
- No new functionality, so no new tests.
-
- * platform/graphics/GraphicsLayer.cpp:
- (WebCore::GraphicsLayer::setGraphicsLayerFactory):
- * platform/graphics/GraphicsLayer.h:
-
-2011-06-10 Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [CMAKE] Add generic support for building with WebGL
- https://bugs.webkit.org/show_bug.cgi?id=62376
-
- Set new THIRDPARTY_DIR variable to compile sources under ThirdParty.
-
- No change in functionality so no new tests.
-
- * CMakeLists.txt:
-
-2011-06-10 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Andreas Kling.
-
- [GTK][EFL] m_imageInterpolationQuality is not initialized in PlatformContextCairo::PlatformContextCairo.
- https://bugs.webkit.org/show_bug.cgi?id=62435
-
- No new tests required as just fixed warning.
-
- * platform/graphics/cairo/PlatformContextCairo.cpp:
- (WebCore::PlatformContextCairo::PlatformContextCairo):
-
-2011-06-11-06-09 Ilya Tikhonovsky <loislo@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: protocol: json: Whitespace can be inserted between any pair of tokens.
- https://bugs.webkit.org/show_bug.cgi?id=62377
-
- * inspector/InspectorValues.cpp:
-
-2011-06-10 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r88530.
- http://trac.webkit.org/changeset/88530
- https://bugs.webkit.org/show_bug.cgi?id=62440
-
- qt build was broken (Requested by loislo on #webkit).
-
- * inspector/InspectorValues.cpp:
-
-2011-06-09 Ilya Tikhonovsky <loislo@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: protocol: json: Whitespace can be inserted between any pair of tokens.
- https://bugs.webkit.org/show_bug.cgi?id=62377
-
- * inspector/InspectorValues.cpp:
-
-2011-06-09 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Darin Adler.
-
- REGRESSION: Vertical scroll bar appears when taking videos into full screen at jerryseinfeld.com
- https://bugs.webkit.org/show_bug.cgi?id=62402
-
- Sites are able to override the "overflow:hidden" rule for root full-screen nodes
- simply by adding a "html {}" rule. Make this rule !important, and also make it apply
- to root nodes who are merely ancestors of full-screen elements, to cover the case of
- a root node containing an <iframe> whose contents have gone full-screen.
-
- * css/fullscreen.css:
- (:root:-webkit-full-screen-document:not(:-webkit-full-screen),
- :root:-webkit-full-screen-ancestor): Apply the overflow rule to root elements
- who are full-screen ancestors, and make them !important.
-
-2011-06-09 Luke Macpherson <macpherson@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Rename RenderStyle visuallyOrdered property and use an enum instead of a bool.
- https://bugs.webkit.org/show_bug.cgi?id=61495
-
- No new tests required as no functionality changed.
-
- * css/CSSPrimitiveValueMappings.h:
- Support cast to/from Order
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::styleForDocument):
- Convert from bool to enum type.
- (WebCore::CSSStyleSelector::applyProperty):
- Convert to macro that uses the cast defined in CSSPrimitiveValueMappings.
- * dom/Document.cpp:
- (WebCore::Document::setVisuallyOrdered):
- Change call to RenderStyle::setRTLOrdering using enum parameter.
- * rendering/style/RenderStyle.h:
- rename visuallyOrdered proerties rtlOrdering and use appropriate enum types.
- * rendering/style/RenderStyleConstants.h:
- Define enum type.
-
-2011-06-09 Luke Macpherson <macpherson@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Implement CSSPropertyOutlineStyle handler in CSSStyleApplyProperty
- https://bugs.webkit.org/show_bug.cgi?id=61601
-
- No new tests. No new functionality added / covered by existing tests.
-
- * css/CSSPrimitiveValueMappings.h:
- (WebCore::CSSPrimitiveValue::operator EBorderStyle):
- Support CSSValueAuto as required by outline-style property.
- (WebCore::CSSPrimitiveValue::operator OutlineIsAuto):
- Add cast to new OutlineIsAuto enum.
- * css/CSSStyleApplyProperty.cpp:
- (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
- Initialize handler for CSSPropertyOutlineStyle.
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- Remove old handler for CSSPropertyOutlineStyle.
- * rendering/style/OutlineValue.h:
- Use new OutlineIsAuto enum instead of bool.
- * rendering/style/RenderStyle.h:
- Split existing two-parameter setter setOutlineStyle into separate setters for style and auto properties.
- Use new OutlineIsAuto enum type.
- * rendering/style/RenderStyleConstants.h:
- Define new enum OutlineIsAuto.
-
-2011-06-09 Luke Macpherson <macpherson@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Code cleanup - add wrappers for function pointer dereferences to improve readability in ApplyPropertyDefaultBase and derived classes.
- https://bugs.webkit.org/show_bug.cgi?id=62418
-
- No new tests / cleanup only.
-
- * css/CSSStyleApplyProperty.cpp:
- (WebCore::ApplyPropertyDefaultBase::applyInheritValue):
- Use new wrapper functions.
- (WebCore::ApplyPropertyDefaultBase::applyInitialValue):
- Use new wrapper functions.
- (WebCore::ApplyPropertyDefaultBase::setValue):
- Wrapper for calling m_setter function pointer.
- (WebCore::ApplyPropertyDefaultBase::value):
- Wrapper for calling m_getter function pointer.
- (WebCore::ApplyPropertyDefaultBase::initial):
- Wrapper for calling m_initial function pointer.
- (WebCore::ApplyPropertyDefault::applyValue):
- Use new setValue function.
- (WebCore::ApplyPropertyLength::applyValue):
- Use new setValue function.
- (WebCore::ApplyPropertyWidth::applyValue):
- Use new setValue function.
-
-2011-06-09 Hyowon Kim <hw1008.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Make accelerated compositing build in Webkit-EFL
- https://bugs.webkit.org/show_bug.cgi?id=62361
-
- Add a new class, GraphicsLayerEfl - not yet implemented.
- Add ACCELERATED_COMPOSITING related files to CMakeLists.
-
- * CMakeLists.txt:
- * CMakeListsEfl.txt:
- * platform/graphics/efl/GraphicsLayerEfl.cpp: Added.
- (WebCore::GraphicsLayer::create):
- (WebCore::GraphicsLayerEfl::GraphicsLayerEfl):
- (WebCore::GraphicsLayerEfl::~GraphicsLayerEfl):
- (WebCore::GraphicsLayerEfl::setNeedsDisplay):
- (WebCore::GraphicsLayerEfl::setNeedsDisplayInRect):
- * platform/graphics/efl/GraphicsLayerEfl.h: Added.
-
-2011-06-09 Jian Li <jianli@chromium.org>
-
- Reviewed by David Levin.
-
- Calling WebKitBlobBuilder.append with null argument should not crash
- https://bugs.webkit.org/show_bug.cgi?id=62419
-
- Test: fast/files/blob-builder-crash.html
-
- * fileapi/WebKitBlobBuilder.cpp:
- (WebCore::WebKitBlobBuilder::append):
-
-2011-06-09 Jer Noble <jer.noble@apple.com>
-
- Reviewed by David Hyatt.
-
- Roll out r88468, and fix bug #61911 without making Element::offset functions virtual.
- https://bugs.webkit.org/show_bug.cgi?id=62400
-
- No new tests; covered by existing fullscreen/full-screen-video-offset.html test.
-
- * rendering/RenderVideo.cpp:
- (WebCore::rendererPlaceholder): Added; returns the placeholder block, if it exists.
- (WebCore::RenderVideo::offsetLeft): Pass the offset request to the placeholder block.
- (WebCore::RenderVideo::offsetTop): Ditto.
- (WebCore::RenderVideo::offsetWidth): Ditto.
- (WebCore::RenderVideo::offsetHeight): Ditto.
- * rendering/RenderVideo.h: Added virtual overrides for the offset functions.
-
-2011-06-09 James Robinson <jamesr@chromium.org>
-
- Reviewed by Kenneth Russell.
-
- [chromium] Scissor rect not set for clipping layers set offscreen
- https://bugs.webkit.org/show_bug.cgi?id=62339
-
- We set a scissorRect on each layer, but only layers with masksToBounds and their descendants should actually set
- a scissor. Layers that didn't need to scissor had empty scissorRects. Unfortunately layers with masksToBounds
- and their descendants that are scrolled offscreen also end up with an empty clipped scissor rect.
-
- This patch sets an explicit bit on each layer that should scissor and then checks that bit instead of checking
- for an empty scissor rect at draw time. RenderSurfaceChromiums have different requirements for
- setScissorToRect, so the old behavior is still available with a flag. This can probably be cleaned up more.
-
- Test: platform/chromium/compositing/scissor-out-of-viewport.html
-
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::LayerRendererChromium::updatePropertiesAndRenderSurfaces):
- (WebCore::LayerRendererChromium::drawLayer):
- (WebCore::LayerRendererChromium::setScissorToRect):
- * platform/graphics/chromium/LayerRendererChromium.h:
- * platform/graphics/chromium/RenderSurfaceChromium.cpp:
- (WebCore::RenderSurfaceChromium::draw):
- * platform/graphics/chromium/cc/CCLayerImpl.cpp:
- (WebCore::CCLayerImpl::CCLayerImpl):
- * platform/graphics/chromium/cc/CCLayerImpl.h:
- (WebCore::CCLayerImpl::setUsesLayerScissor):
- (WebCore::CCLayerImpl::usesLayerScissor):
-
-2011-06-09 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r88468.
- http://trac.webkit.org/changeset/88468
- https://bugs.webkit.org/show_bug.cgi?id=62408
-
- It broke build if !ENABLE(FULLSCREEN_API) (Requested by Ossy
- on #webkit).
-
- * dom/Element.cpp:
- (WebCore::adjustForLocalZoom):
- * dom/Element.h:
- * html/HTMLMediaElement.cpp:
- * html/HTMLMediaElement.h:
-
-2011-06-09 Kenneth Russell <kbr@google.com>
-
- Reviewed by Adam Barth.
-
- Disallow use of cross-domain media (images, video) in WebGL
- https://bugs.webkit.org/show_bug.cgi?id=62257
-
- Updated WebGL implementation to track recent spec updates in this area.
-
- Tests: http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html
- http/tests/security/webgl-remote-read-remote-image-allowed.html
- http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html
-
- * html/canvas/CanvasRenderingContext.cpp:
- (WebCore::CanvasRenderingContext::wouldTaintOrigin):
- (WebCore::CanvasRenderingContext::checkOrigin):
- * html/canvas/CanvasRenderingContext.h:
- (WebCore::CanvasRenderingContext::checkOrigin):
- * html/canvas/WebGLRenderingContext.cpp:
- (WebCore::WebGLRenderingContext::readPixels):
- (WebCore::WebGLRenderingContext::texImage2D):
- (WebCore::WebGLRenderingContext::videoFrameToImage):
- (WebCore::WebGLRenderingContext::texSubImage2D):
- * html/canvas/WebGLRenderingContext.h:
-
-2011-06-09 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Add an ASSERT to HTMLTreeBuilder
- https://bugs.webkit.org/show_bug.cgi?id=62403
-
- This ASSERT was useful in investigating a re-entrancy bug. We should
- keep it.
-
- * html/parser/HTMLTreeBuilder.cpp:
- (WebCore::HTMLTreeBuilder::processEndOfFile):
-
-2011-06-09 Dan Bernstein <mitz@apple.com>
-
- Reviewed by Darin Adler.
-
- Fix a regression from r88478.
-
- * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
- (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText): Add the runs
- in reverse order in the RTL case here, since the whole vector is reversed by collectComplexTextRuns()
- afterwards.
-
-2011-06-09 Julien Chaffraix <jchaffraix@codeaurora.org>
-
- Reviewed by Antti Koivisto.
-
- REGRESSION(84329): Stylesheets on some pages do not load
- https://bugs.webkit.org/show_bug.cgi?id=61400
-
- Test: fast/css/link-disabled-attr.html
-
- Fixed r84329: the change did not take into account the fact
- that HTMLLinkElement did already contain the disabled information
- and the 2 information were not linked as they should have!
-
- The new logic pushes the information to the stylesheet as this
- is what the spec mandates and what FF is doing. Also it keeps
- one bit of information (that JS enabled the stylesheet) as it
- is needed for the recalcStyleSelector logic.
-
- * dom/Document.cpp:
- (WebCore::Document::recalcStyleSelector): s/isDisabled/disabled.
-
- * html/HTMLLinkElement.cpp:
- (WebCore::HTMLLinkElement::HTMLLinkElement): Removed m_disabledState,
- replaced by m_isEnabledViaScript.
- (WebCore::HTMLLinkElement::setDisabled): Updated the logic after
- m_disabledState removal. It also matches the spec by forwarding
- the disabled state to our stylesheet if we have one.
- (WebCore::HTMLLinkElement::parseMappedAttribute): Removed harmful
- handling of the disabledAttr.
- (WebCore::HTMLLinkElement::process): Updated after m_disabledState removal.
- * html/HTMLLinkElement.h:
- (WebCore::HTMLLinkElement::isEnabledViaScript): Ditto.
- (WebCore::HTMLLinkElement::isAlternate): Ditto.
-
-2011-06-09 Dan Bernstein <mitz@apple.com>
-
- Reviewed by Darin Adler.
-
- Simplify ComplexTextController::collectComplexTextRuns()
- https://bugs.webkit.org/show_bug.cgi?id=62387
-
- No new test, since functionality is unchanged.
-
- * platform/graphics/mac/ComplexTextController.cpp:
- (WebCore::ComplexTextController::collectComplexTextRuns): Always iterate characters in logical order,
- then reverse the run vector for RTL.
-
-2011-06-09 Dimitri Glazkov <dglazkov@chromium.org>
-
- Reviewed by Kent Tamura.
-
- Fold isShadowBoundary into isShadowRoot.
- https://bugs.webkit.org/show_bug.cgi?id=62317
-
- Since there are no longer cases where Node::isShadowBoundary() != Node::isShadowRoot, we can remove this function.
-
- In one case where isShadowBoundary was also tested to find ShadowContentElemnt, added a new isContentElement function.
-
- Refactoring, covered by existing tests.
-
- * css/CSSStyleSelector.cpp:
- (WebCore::isAtShadowBoundary): Changed to use isShadowRoot.
- * dom/Element.cpp:
- (WebCore::Element::isSpellCheckingEnabled): Ditto.
- * dom/Node.cpp:
- (WebCore::Node::nonBoundaryShadowTreeRootNode): Ditto.
- (WebCore::Node::nonShadowBoundaryParentNode): Ditto.
- * dom/Node.h:
- (WebCore::Node::isContentElement): Added.
- * dom/NodeRenderingContext.cpp:
- (WebCore::NodeRenderingContext::NodeRenderingContext): Changed to use isShadowRoot.
- * dom/Position.cpp:
- (WebCore::Position::Position): Ditto.
- * dom/ShadowContentElement.h:
- (WebCore::ShadowContentElement::isContentElement): Added.
- * dom/ShadowRoot.cpp:
- (WebCore::ShadowRoot::hasContentElement): Changed to use isContentElement.
- * editing/CompositeEditCommand.cpp:
- (WebCore::CompositeEditCommand::insertNodeAfter): Changed to use isShadowRoot.
- * editing/htmlediting.cpp:
- (WebCore::visiblePositionBeforeNode): Ditto.
- (WebCore::visiblePositionAfterNode): Ditto.
- * page/DragController.cpp:
- (WebCore::asFileInput): Ditto.
- * rendering/RenderTreeAsText.cpp:
- (WebCore::nodePosition): Ditto.
-
-2011-06-09 Simon Fraser <simon.fraser@apple.com>
-
- Reviewed by Darin Adler.
-
- Crashes in RenderLayerBacking::paintingGoesToWindow
- https://bugs.webkit.org/show_bug.cgi?id=61159
-
- Speculative fix for unreproducible crash that can occur when RenderObject::repaintUsingContainer()
- finds a repaintContainer that is not the RenderView, but that is also not
- composited (for unknown reasons), by checking to see if the layer is
- compositing before using backing(). An assertion remains to try to catch
- this in debug builds.
-
- * rendering/RenderLayer.cpp:
- (WebCore::RenderLayer::setBackingNeedsRepaintInRect):
-
-2011-06-09 Julien Chaffraix <jchaffraix@webkit.org>
-
- Reviewed by Darin Adler.
-
- WebCore::WebKitCSSKeyframesRuleInternal::nameAttrSetter() - crash
- https://bugs.webkit.org/show_bug.cgi?id=62384
-
- Test: fast/css/webkit-keyframes-crash.html
-
- * css/WebKitCSSKeyframesRule.cpp:
- (WebCore::WebKitCSSKeyframesRule::setName): stylesheet() is never garanteed
- to return a non-null pointer. Thus null-check here like the rest of the code.
-
-2011-06-09 Julien Chaffraix <jchaffraix@codeaurora.org>
-
- Reviewed by David Hyatt.
-
- chrome.dll!WebCore::RenderStyle::fontMetrics ReadAV@NULL (two crashes)
- https://bugs.webkit.org/show_bug.cgi?id=57756
-
- Tests: fast/css/fontMetric-border-radius-null-crash.html
- fast/css/fontMetric-webkit-border-end-width-null-crash.html
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::styleForElement): Added a call to Font::update
- so that our FontFallbackList is allocated if we ever need it when applying our
- style rules.
-
-2011-06-09 Cary Clark <caryclark@google.com>
-
- Reviewed by Eric Seidel.
-
- Create local CG context for Mac UI elements when Skia is renderer
- https://bugs.webkit.org/show_bug.cgi?id=62213
-
- When building Mac Chrome using Skia as the WebKit renderer,
- add state to LocalCurrentGraphicsContext to convert the SkCanvas
- context passed by WebKit into the CGContext needed by UI
- rendering.
-
- No new tests. The define typo in question is
- not yet enabled, so this change has no functional
- impact.
-
- * platform/mac/LocalCurrentGraphicsContext.h:
- Add SkiaBitLocker to create and release the converted CGContext.
- Add ContextContainer, a class for Skia to create and release
- the converted CGContext. If Skia is not used, the class has no effect.
-
- * platform/mac/LocalCurrentGraphicsContext.mm:
- (WebCore::LocalCurrentGraphicsContext::LocalCurrentGraphicsContext):
- When building with Skia, create the CGContext before passing it on.
-
- (WebCore::LocalCurrentGraphicsContext::cgContext):
- Get the CGContext from the SkiaBitLocker, or the saved context,
- as appropriate.
-
- * rendering/RenderThemeMac.mm:
- Get the CGContext from Skia conversion or native, as appropriate.
- Use the LocalCurrentGraphicsContext if there is one. Otherwise,
- add a ContextContainer to house the SkCanvas to CGContext conversion.
-
- (WebCore::RenderThemeMac::paintCapsLockIndicator):
- (WebCore::RenderThemeMac::paintProgressBar):
- (WebCore::RenderThemeMac::paintMenuListButtonGradients):
- (WebCore::RenderThemeMac::paintSliderTrack):
- (WebCore::RenderThemeMac::paintMediaFullscreenButton):
- (WebCore::RenderThemeMac::paintMediaMuteButton):
- (WebCore::RenderThemeMac::paintMediaPlayButton):
- (WebCore::RenderThemeMac::paintMediaSeekBackButton):
- (WebCore::RenderThemeMac::paintMediaSeekForwardButton):
- (WebCore::RenderThemeMac::paintMediaSliderTrack):
- (WebCore::RenderThemeMac::paintMediaSliderThumb):
- (WebCore::RenderThemeMac::paintMediaRewindButton):
- (WebCore::RenderThemeMac::paintMediaReturnToRealtimeButton):
- (WebCore::RenderThemeMac::paintMediaToggleClosedCaptionsButton):
- (WebCore::RenderThemeMac::paintMediaControlsBackground):
- (WebCore::RenderThemeMac::paintMediaCurrentTime):
- (WebCore::RenderThemeMac::paintMediaTimeRemaining):
- (WebCore::RenderThemeMac::paintMediaVolumeSliderContainer):
- (WebCore::RenderThemeMac::paintMediaVolumeSliderTrack):
- (WebCore::RenderThemeMac::paintMediaVolumeSliderThumb):
-
-2011-06-02 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Maciej Stachowiak.
-
- REGRESSION: Page layout messed up after exiting full screen after video ends at jerryseinfeld.com
- https://bugs.webkit.org/show_bug.cgi?id=61911
- <rdar://problem/9523017>
-
- Test: fullscreen/full-screen-video-offset.html
-
- When the video element is taken full-screen in the new element full-screen API, return the
- offset width and height of the placeholder renderer which is filling in for the full-screen
- element. To do so, override offsetWidth, Height, Left, and Top from Element. These are
- non-virtual functions, so make them virtual.
-
- * dom/Element.cpp:
- (WebCore::Element::adjustForLocalZoom): Made into a class-static function.
- * dom/Element.h: Made offset functions virtual.
- * html/HTMLMediaElement.cpp:
- (WebCore::elementPlaceholder): Added; utility function.
- (WebCore::HTMLMediaElement::offsetLeft): Added; virtual override of the
- Element function. Will be called directly via javascript.
- (WebCore::HTMLMediaElement::offsetTop): Ditto.
- (WebCore::HTMLMediaElement::offsetWidth): Ditto.
- (WebCore::HTMLMediaElement::offsetHeight): Ditto.
- * html/HTMLMediaElement.h:
-
-2011-06-09 Dave Tapuska <dtapuska@rim.com>
-
- Reviewed by Daniel Bates.
-
- PingLoader destructor could dereference 0 if the Resource
- Handle creation failed.
-
- https://bugs.webkit.org/show_bug.cgi?id=62304
-
- * loader/PingLoader.cpp:
- (WebCore::PingLoader::~PingLoader):
-
-2011-06-08 Abhishek Arya <inferno@chromium.org>
-
- Reviewed by Ryosuke Niwa.
-
- Make indexForVisiblePosition and isSelectableElement static.
- https://bugs.webkit.org/show_bug.cgi?id=62329
-
- This protects us when converting frame->selection->start() or end()
- to VisiblePosition which blows away the RenderTextControl from
- underneath (due to layout update).
-
- Test: fast/forms/text-control-selection-crash.html
-
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::indexForVisiblePosition):
- * rendering/RenderTextControl.cpp:
- (WebCore::RenderTextControl::selectionStart):
- (WebCore::RenderTextControl::selectionEnd):
- (WebCore::RenderTextControl::isSelectableElement):
- (WebCore::RenderTextControl::indexForVisiblePosition):
- * rendering/RenderTextControl.h:
-
-2011-06-09 Ben Murdoch <benm@google.com>
-
- Reviewed by Yury Semikhatsky.
-
- Build break in ScriptProfile.cpp and inspector disabled.
- https://bugs.webkit.org/show_bug.cgi?id=62373
-
- No new tests - build fix only.
-
- * bindings/v8/ScriptProfile.cpp: Add necessary guards.
- * bindings/v8/ScriptProfile.h: ditto.
-
-2011-06-09 Vsevolod Vlasov <vsevik@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: Network panel preview tab does not reattach SourceFrame when switching between preview and response tabs.
- https://bugs.webkit.org/show_bug.cgi?id=62298
-
- * inspector/front-end/ResourcePreviewView.js:
- (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown.callback):
- (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown):
-
-2011-06-09 Csaba Osztrogonác <ossy@webkit.org>
-
- [Qt][Mac] Speculative buildfix after r88286.
-
- * platform/graphics/IntPoint.h:
-
-2011-06-09 Mike Lawther <mikelawther@chromium.org>
-
- Reviewed by Kent Tamura.
-
- Parsing issue with -webkit-calc
- https://bugs.webkit.org/show_bug.cgi?id=62276
-
- Set the CSSParserString for the calc functions.
-
- Test: css3/calc/regression-62276.html
-
- * css/CSSParser.cpp:
- (WebCore::CSSParser::lex):
-
-2011-06-09 Robert Hogan <robert@webkit.org>
-
- Reviewed by Andreas Kling.
-
- Teach Qt about window.internals
- https://bugs.webkit.org/show_bug.cgi?id=61074
-
- A weakness of the Qt DRT setup is that things like JSContextRef are abstracted
- away from the QtWebKit API so we need DumpRenderTreeSupportQt to access WebCore internals.
- Since the window.internals object requires JSContextRef we need to implement it in DumpRenderTreeSupportQt
- where we can access it. DumpRenderTreeSupportQt cannot be compiled outside Qt's WebCore and as it
- is our only possible route into the WebCoreTestSupport class neither can the new window.internals plumbing.
- Likewise we can't put the accessor in WebCoreTestSupport because it would then need to know about QWebFrame
- and others. The only alternative seems like a compile time guard which we would have to teach the bots about.
-
- * CodeGenerators.pri:
- * WebCore.pri:
- * WebCore.pro:
-
-2011-06-08 Mikołaj Małecki <m.malecki@samsung.com>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Crash by buffer overrun crash when serializing inspector object tree.
- https://bugs.webkit.org/show_bug.cgi?id=52791
-
- No new tests. The problem can be reproduced by trying to create InspectorValue
- from 1.0e-100 and call ->toJSONString() on this.
-
- * inspector/InspectorValues.cpp:
- (WebCore::InspectorBasicValue::writeJSON):
- Added checking the predicted buffer size and choosing exponential format, or
- eventually "NaN" if the buffer is too small for decimal format.
-
-2011-06-09 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r88387.
- http://trac.webkit.org/changeset/88387
- https://bugs.webkit.org/show_bug.cgi?id=62368
-
- New tests introduced in 88387 fail on Leopard,GTK,Qt bots
- (Requested by Ossy on #webkit).
-
- * html/canvas/CanvasRenderingContext.cpp:
- (WebCore::CanvasRenderingContext::checkOrigin):
- * html/canvas/CanvasRenderingContext.h:
- * html/canvas/WebGLRenderingContext.cpp:
- (WebCore::WebGLRenderingContext::readPixels):
- (WebCore::WebGLRenderingContext::texImage2D):
- (WebCore::WebGLRenderingContext::videoFrameToImage):
- (WebCore::WebGLRenderingContext::texSubImage2D):
- * html/canvas/WebGLRenderingContext.h:
-
-2011-06-09 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Running script from attach can remove elements from the stack of open elements
- https://bugs.webkit.org/show_bug.cgi?id=62160
-
- When the tree build runs script synchronously, that script can remove
- arbitrary elements from the stack of open elements. We need to hold a
- reference to |parent| in attach instead of rely upon the reference in
- the stack of open elements.
-
- Test: fast/parser/document-write-onload-clear.html
-
- * html/parser/HTMLConstructionSite.cpp:
- (WebCore::HTMLConstructionSite::attach):
-
-2011-06-08 Luke Macpherson <macpherson@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Make CSSPrimitiveValue support cast to EVerticalAlign.
- https://bugs.webkit.org/show_bug.cgi?id=62356
-
- No new tests / refactoring only.
-
- * css/CSSPrimitiveValueMappings.h:
- (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- (WebCore::CSSPrimitiveValue::operator EVerticalAlign):
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
-
-2011-06-08 Justin Novosad <junov@chromium.org>
-
- Reviewed by James Robinson.
-
- [Chromium] Crash when closing a tab with accelerated 2d canvas
- https://bugs.webkit.org/show_bug.cgi?id=62324
- Upon graphics context destruction, it is important to signal skia
- to abandon all of its resource handles. This prevents a crash caused
- by skia attempting to release resources that were in the destroyed
- graphics context.
-
- * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
- (WebCore::SharedGraphicsContext3D::~SharedGraphicsContext3D):
-
-2011-06-08 James Robinson <jamesr@chromium.org>
-
- Reviewed by Darin Fisher.
-
- REGRESSION(88260): 10-50% performance regression across many page cyclers
- https://bugs.webkit.org/show_bug.cgi?id=62349
-
- r88260 fixed a font cache resource leak and lowered the inactive font cache threshold. The latter caused a
- significant performance regression across many chromium page cyclers, for example
- http://build.chromium.org/f/chromium/perf/linux-release-webkit-latest/moz/report.html?history=50&rev=88279.
-
- This restores the previous inactive font size thresholds to their previous values, but retains the font cleanup
- logic.
-
- * platform/graphics/FontCache.cpp:
-
-2011-06-08 Hayato Ito <hayato@chromium.org>
-
- Reviewed by Dimitri Glazkov.
-
- A forward/backward tab traversal now visits focusable elements in a shadow root.
- https://bugs.webkit.org/show_bug.cgi?id=61410
-
- Test: fast/dom/shadow/tab-order-iframe-and-shadow.html
-
- Like a iframe element, a shadow host becomes a scope of
- tabindex. That means all descendant elements in a shadow root are
- skipped if the host node of the shadow root is not focusable.
-
- The patch doesn't affect HTMLInputElement and HTMLTextAreaElement,
- which uses a shadow root and do extra works in their focus()
- method.
-
- A shadow root's <content> is not considered in this patch.
- That will be addressed in a following patch.
-
- * page/FocusController.cpp:
- (WebCore::shadowRoot):
- (WebCore::isTreeScopeOwner):
- (WebCore::FocusController::deepFocusableNode):
- (WebCore::FocusController::advanceFocusInDocumentOrder):
- (WebCore::FocusController::findFocusableNodeAcrossTreeScope):
- (WebCore::FocusController::findFocusableNode):
- (WebCore::FocusController::nextFocusableNode):
- (WebCore::FocusController::previousFocusableNode):
- (WebCore::FocusController::ownerOfTreeScope):
- * page/FocusController.h:
-
-2011-06-08 Hayato Ito <hayato@chromium.org>
-
- Reviewed by Hajime Morita.
-
- Makes sure that document.activeElement won't be an element in shadow root.
-
- https://bugs.webkit.org/show_bug.cgi?id=61413
-
- Test: fast/dom/shadow/activeelement-should-be-shadowhost.html
-
- * html/HTMLDocument.cpp:
- (WebCore::focusedFrameOwnerElement):
- (WebCore::HTMLDocument::activeElement):
-
-2011-06-08 Kent Tamura <tkent@chromium.org>
-
- Reviewed by Dimitri Glazkov.
-
- Allow drawing a slider thumb for any nodes.
- https://bugs.webkit.org/show_bug.cgi?id=62196
-
- RenderObject::node() should provide various information which is
- necessary for rendering. We don't need to refer the parent renderer.
-
- * dom/Node.cpp:
- (WebCore::Node::focusDe1egate): Added.
- * dom/Node.h: Added a declaration.
- * html/shadow/MediaControlElements.cpp:
- (WebCore::toParentMediaElement):
- Added an overload of toParentMediaElement() with Node* parameter.
- * html/shadow/MediaControlElements.h:
- (WebCore::toParentMediaElement): ditto.
- * html/shadow/SliderThumbElement.cpp:
- (WebCore::SliderThumbElement::isEnabledFormControl):
- Returns the status of the host node.
- (WebCore::SliderThumbElement::isReadOnlyFormControl): ditto.
- (WebCore::SliderThumbElement::focusDe1egate):
- Returns the host node so that RenderTheme::isFocused() returns true.
- (WebCore::SliderThumbElement::detach): Style nit.
- (WebCore::SliderThumbElement::hostInput):
- Make it const because it is called by const functions.
- * html/shadow/SliderThumbElement.h:
- - Remove inDragMode()
- - Update declarations
- * platform/qt/RenderThemeQt.cpp:
- (WebCore::RenderThemeQt::paintMediaSliderThumb):
- Use Node::shadowAncestorNode() instead of RenderObject::parent() to
- support deeper thumb nodes.
- * rendering/RenderMediaControlsChromium.cpp:
- (WebCore::paintMediaSliderThumb): ditto.
- (WebCore::paintMediaVolumeSliderThumb): Remove isSlider() check.
- * rendering/RenderSlider.cpp:
- (WebCore::RenderSlider::inDragMode):
- SliderThumbElement::inDragMode() was removed, and Node::active() has
- the same information.
- * rendering/RenderTheme.cpp:
- (WebCore::RenderTheme::paint): Remove isSlider() checks.
- (WebCore::RenderTheme::isFocused): Apply Node::focusDelegate().
- * rendering/RenderThemeChromiumLinux.cpp:
- (WebCore::RenderThemeChromiumLinux::paintSliderThumb):
- isPressed() is enough.
- * rendering/RenderThemeChromiumWin.cpp:
- isEnabled(), isFocused(), and isPressed() are enough.
- (WebCore::RenderThemeChromiumWin::determineSliderThumbState):
- (WebCore::RenderThemeChromiumWin::determineClassicState):
- * rendering/RenderThemeMac.mm:
- (WebCore::RenderThemeMac::paintSliderThumb):
- - Remove isSlider() check.
- - Passing 'o' to udpateFooState functions is enough.
- - isPressed() is enough.
- * rendering/RenderThemeSafari.cpp:
- (WebCore::RenderThemeSafari::paintSliderThumb):
- We don't need special handling anymore.
- * rendering/RenderThemeWin.cpp:
- (WebCore::RenderThemeWin::determineSliderThumbState):
- isEnabled(), isFocused(), and isPressed() are enough.
-
-2011-06-08 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- constructTreeFromToken can re-enter parser, causing ASSERTs
- https://bugs.webkit.org/show_bug.cgi?id=62160
-
- This patch clears the HTMLToken before constructing the tree from the
- token, putting the HTMLDocumentParser in a good state to be re-entered.
-
- Tests: fast/parser/document-write-onload-nesting.html
- fast/parser/document-write-onload-ordering.html
-
- * html/parser/HTMLDocumentParser.cpp:
- (WebCore::HTMLDocumentParser::pumpTokenizer):
- * html/parser/HTMLToken.h:
- (WebCore::HTMLToken::isUninitialized):
- * html/parser/HTMLTreeBuilder.cpp:
- (WebCore::HTMLTreeBuilder::constructTreeFromToken):
-
-2011-06-08 Kent Tamura <tkent@chromium.org>
-
- Fix Qt build for r88405.
- https://bugs.webkit.org/show_bug.cgi?id=62208
-
- * platform/qt/RenderThemeQt.h:
-
-2011-06-08 Kent Tamura <tkent@chromium.org>
-
- Reviewed by Dimitri Glazkov.
-
- Change the argument of RenderTheme::adjustSliderThumbSize(): RenderObject* -> RenderStyle*
- https://bugs.webkit.org/show_bug.cgi?id=62208
-
- Change the argument type of RenderTheme::adjustSliderThumbSize() and
- RenderMediaControls::adjustMediaSliderThumbSize() from RenderObject* to RenderStyle*.
-
- Also, each of adjustSliderThumbStyle() overrides calls RenderTheme::
- adjustSliderThumbStyle() for future changes.
-
- No new tests. This is a refactoring and should not change any behavior.
-
- * html/shadow/SliderThumbElement.cpp:
- (WebCore::RenderSliderThumb::layout): Passing RenderStyle* and remove a FIXME comment.
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::adjustSliderThumbStyle): Calls RenderTheme::adjustSliderThumbStyle().
- * platform/gtk/RenderThemeGtk.cpp:
- (WebCore::RenderThemeGtk::adjustSliderThumbStyle): ditto.
- (WebCore::RenderThemeGtk::adjustMediaSliderThumbSize):
- * platform/gtk/RenderThemeGtk.h:
- * platform/gtk/RenderThemeGtk2.cpp:
- (WebCore::RenderThemeGtk::adjustSliderThumbSize):
- * platform/gtk/RenderThemeGtk3.cpp:
- (WebCore::RenderThemeGtk::adjustSliderThumbSize):
- * platform/qt/RenderThemeQt.cpp:
- (WebCore::RenderThemeQt::adjustSliderThumbStyle): ditto.
- (WebCore::RenderThemeQt::adjustSliderThumbSize):
- * rendering/RenderMediaControls.cpp:
- (WebCore::RenderMediaControls::adjustMediaSliderThumbSize):
- * rendering/RenderMediaControls.h:
- * rendering/RenderMediaControlsChromium.cpp:
- (WebCore::RenderMediaControlsChromium::adjustMediaSliderThumbSize):
- * rendering/RenderMediaControlsChromium.h:
- * rendering/RenderSlider.cpp:
- (WebCore::RenderSlider::layout): Passing RenderStyle* and remove a FIXME comment.
- * rendering/RenderTheme.cpp:
- (WebCore::RenderTheme::adjustSliderThumbStyle): Add a comment.
- (WebCore::RenderTheme::adjustSliderThumbSize):
- * rendering/RenderTheme.h:
- * rendering/RenderThemeChromiumLinux.cpp:
- (WebCore::RenderThemeChromiumLinux::adjustSliderThumbSize):
- * rendering/RenderThemeChromiumLinux.h:
- * rendering/RenderThemeChromiumMac.h:
- * rendering/RenderThemeChromiumMac.mm:
- (WebCore::RenderThemeChromiumMac::adjustMediaSliderThumbSize):
- * rendering/RenderThemeChromiumSkia.cpp:
- (WebCore::RenderThemeChromiumSkia::adjustSliderThumbSize):
- * rendering/RenderThemeChromiumSkia.h:
- * rendering/RenderThemeChromiumWin.cpp:
- (WebCore::RenderThemeChromiumWin::adjustSliderThumbSize):
- * rendering/RenderThemeChromiumWin.h:
- * rendering/RenderThemeMac.h:
- * rendering/RenderThemeMac.mm:
- (WebCore::RenderThemeMac::adjustSliderThumbStyle): Calls RenderTheme::adjustSliderThumbStyle().
- (WebCore::RenderThemeMac::adjustSliderThumbSize):
- (WebCore::RenderThemeMac::adjustMediaSliderThumbSize):
- * rendering/RenderThemeSafari.cpp:
- (WebCore::RenderThemeSafari::adjustSliderThumbStyle): Calls RenderTheme::adjustSliderThumbStyle().
- (WebCore::RenderThemeSafari::adjustSliderThumbSize):
- * rendering/RenderThemeSafari.h:
- * rendering/RenderThemeWin.cpp:
- (WebCore::RenderThemeWin::adjustSliderThumbSize):
- * rendering/RenderThemeWin.h:
- * rendering/RenderThemeWinCE.cpp:
- (WebCore::RenderThemeWinCE::adjustSliderThumbSize):
- * rendering/RenderThemeWinCE.h:
-
-2011-06-08 Brian Salomon <bsalomon@google.com>
-
- Reviewed by James Robinson.
-
- Avoid always binding FBO 0 implicitly when deleting FBO in DrawingBuffer code because it invalidates Ganesh's cache of the current FBO.
- https://bugs.webkit.org/show_bug.cgi?id=62318
-
- Chromium-only crash
- Failures takes multiple seconds to occur, relying on JS garbage-collection to occur
- http://www.hotbazooka.com/privatejoe-large
-
- * platform/graphics/gpu/DrawingBuffer.cpp:
- (WebCore::DrawingBuffer::clear):
-
-2011-06-08 Emil A Eklund <eae@chromium.org>
-
- Reviewed by Eric Seidel.
-
- RenderEmbeddedObject::getReplacementTextGeometry
- https://bugs.webkit.org/show_bug.cgi?id=62313
-
- Replace the last use of tx, ty with IntPoint.
-
- Covered by existing tests.
-
- * platform/graphics/FloatRect.h:
- (WebCore::FloatRect::move):
- (WebCore::FloatRect::moveBy):
- * rendering/RenderEmbeddedObject.cpp:
- (WebCore::RenderEmbeddedObject::paintReplaced):
- (WebCore::RenderEmbeddedObject::getReplacementTextGeometry):
- (WebCore::RenderEmbeddedObject::isInMissingPluginIndicator):
- * rendering/RenderEmbeddedObject.h:
-
-2011-06-08 Tim Horton <timothy_horton@apple.com>
-
- Reviewed by Ryosuke Niwa.
-
- Use correct CFURLStorageSessionRef definition on Leopard, as
- we created an inconsistency in const-ness between
- WebCoreSystemInterface.h and these two files in the case
- of Leopard only.
- https://bugs.webkit.org/show_bug.cgi?id=62223
-
- * platform/network/ResourceHandle.h:
- * platform/network/cf/ResourceRequest.h:
-
-2011-06-08 Sailesh Agrawal <sail@chromium.org>
-
- Reviewed by Mihai Parparita.
-
- Chromium Mac: Enable overlay scrollbars
- https://bugs.webkit.org/show_bug.cgi?id=59756
-
- Sync ScrollbarThemeChromiumMac.mm/.h with ScrollbarThemeMac.mm to pick up support for overlay scrollbars. The only changes are renaming ScrollbarThemeMac to ScrollbarThemeChromiumMac and using runtime checks instead of #ifdef's.
-
- No new tests, since this code is only enabled on future versions of Mac OS X.
-
- * platform/chromium/ScrollAnimatorChromiumMac.mm: All changes to this file except in scroll() were to swap #if USE(WK_SCROLLBAR_PAINTER) with runtime checks.
- (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
- (WebCore::ScrollAnimatorChromiumMac::~ScrollAnimatorChromiumMac):
- (WebCore::ScrollAnimatorChromiumMac::notityPositionChanged):
- (WebCore::ScrollAnimatorChromiumMac::contentAreaWillPaint):
- (WebCore::ScrollAnimatorChromiumMac::mouseEnteredContentArea):
- (WebCore::ScrollAnimatorChromiumMac::mouseExitedContentArea):
- (WebCore::ScrollAnimatorChromiumMac::mouseMovedInContentArea):
- (WebCore::ScrollAnimatorChromiumMac::willStartLiveResize):
- (WebCore::ScrollAnimatorChromiumMac::contentsResized):
- (WebCore::ScrollAnimatorChromiumMac::willEndLiveResize):
- (WebCore::ScrollAnimatorChromiumMac::contentAreaDidShow):
- (WebCore::ScrollAnimatorChromiumMac::contentAreaDidHide):
- (WebCore::ScrollAnimatorChromiumMac::didBeginScrollGesture):
- (WebCore::ScrollAnimatorChromiumMac::didEndScrollGesture):
- (WebCore::ScrollAnimatorChromiumMac::didAddVerticalScrollbar):
- (WebCore::ScrollAnimatorChromiumMac::willRemoveVerticalScrollbar):
- (WebCore::ScrollAnimatorChromiumMac::didAddHorizontalScrollbar):
- (WebCore::ScrollAnimatorChromiumMac::willRemoveHorizontalScrollbar):
- (WebCore::ScrollAnimatorChromiumMac::cancelAnimations):
- * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm:
- (preferredScrollerStyle): Disabled overlay scrollbar styles due to trailing artifacts.
- (wkScrollbarPainterPaint): Fixed a problem where the scrollbar track wasn't being drawn.
- (wkScrollbarPainterKnobRect): Implemented a previously unimplemented function.
- (wkSetScrollbarPainterKnobStyle): Implemented a function that's now supported by the latest Mac OS X seeds.
- (isScrollbarOverlayAPIAvailable): Enabled new scrollbar code.
- * platform/chromium/ScrollbarThemeChromiumMac.h:
- * platform/chromium/ScrollbarThemeChromiumMac.mm: Sync with ScrollbarThemeMac.mm.
- (WebCore::scrollbarMap):
- (+[ScrollbarPrefsObserver appearancePrefsChanged:]):
- (WebCore::updateArrowPlacement):
- (WebCore::ScrollbarThemeChromiumMac::registerScrollbar):
- (WebCore::ScrollbarThemeChromiumMac::unregisterScrollbar):
- (WebCore::ScrollbarThemeChromiumMac::setNewPainterForScrollbar):
- (WebCore::ScrollbarThemeChromiumMac::painterForScrollbar):
- (WebCore::ScrollbarThemeChromiumMac::scrollbarThickness):
- (WebCore::ScrollbarThemeChromiumMac::usesOverlayScrollbars):
- (WebCore::ScrollbarThemeChromiumMac::hasButtons):
- (WebCore::ScrollbarThemeChromiumMac::hasThumb):
- (WebCore::buttonRepaintRect):
- (WebCore::ScrollbarThemeChromiumMac::minimumThumbLength):
- (WebCore::ScrollbarThemeChromiumMac::shouldDragDocumentInsteadOfThumb):
- (WebCore::toScrollbarPainterKnobStyle):
- (WebCore::ScrollbarThemeChromiumMac::paint):
-
-2011-06-06 Nate Chapin <japhet@chromium.org>
-
- Reviewed by Adam Barth.
-
- Remove all knowledge of CachedResourceRequests from
- CachedResourceLoader. This puts the full burden of
- canceling these requests on DocumentLoader (via
- SubresourceLoader), and makes a CachedResourceRequest
- an OwnPtr in CachedResource.
-
- https://bugs.webkit.org/show_bug.cgi?id=62308
-
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::stopLoading):
- * loader/cache/CachedResource.cpp:
- (WebCore::CachedResource::CachedResource):
- (WebCore::CachedResource::load):
- (WebCore::CachedResource::stopLoading):
- * loader/cache/CachedResource.h:
- * loader/cache/CachedResourceLoader.cpp:
- (WebCore::CachedResourceLoader::~CachedResourceLoader):
- (WebCore::CachedResourceLoader::loadDone):
- * loader/cache/CachedResourceLoader.h:
- * loader/cache/CachedResourceRequest.cpp:
- (WebCore::CachedResourceRequest::CachedResourceRequest):
- (WebCore::CachedResourceRequest::~CachedResourceRequest):
- (WebCore::CachedResourceRequest::load):
- (WebCore::CachedResourceRequest::didFinishLoading):
- (WebCore::CachedResourceRequest::didFail):
- (WebCore::CachedResourceRequest::didReceiveResponse):
- (WebCore::CachedResourceRequest::end):
- * loader/cache/CachedResourceRequest.h:
-
-2011-06-08 Mike Reed <reed@google.com>
-
- Reviewed by James Robinson.
-
- [Skia] check for null-shader from gradient factory
- https://bugs.webkit.org/show_bug.cgi?id=62319
-
- * platform/graphics/skia/GradientSkia.cpp:
- (WebCore::Gradient::platformDestroy):
- (WebCore::Gradient::platformGradient):
-
-2011-06-08 Kenneth Russell <kbr@google.com>
-
- Reviewed by Adam Barth.
-
- Disallow use of cross-domain media (images, video) in WebGL
- https://bugs.webkit.org/show_bug.cgi?id=62257
-
- Updated WebGL implementation to track recent spec updates in this area.
-
- Tests: http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html
- http/tests/security/webgl-remote-read-remote-image-allowed.html
- http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html
-
- * html/canvas/CanvasRenderingContext.cpp:
- (WebCore::CanvasRenderingContext::wouldTaintOrigin):
- (WebCore::CanvasRenderingContext::checkOrigin):
- * html/canvas/CanvasRenderingContext.h:
- (WebCore::CanvasRenderingContext::checkOrigin):
- * html/canvas/WebGLRenderingContext.cpp:
- (WebCore::WebGLRenderingContext::readPixels):
- (WebCore::WebGLRenderingContext::texImage2D):
- (WebCore::WebGLRenderingContext::videoFrameToImage):
- (WebCore::WebGLRenderingContext::texSubImage2D):
- * html/canvas/WebGLRenderingContext.h:
-
2011-06-08 John Bauman <jbauman@chromium.org>
Reviewed by James Robinson.
« no previous file with comments | « LayoutTests/platform/chromium/test_expectations.txt ('k') | Source/WebCore/platform/graphics/chromium/LayerTilerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698