summaryrefslogtreecommitdiffstats
path: root/WebCore/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/ChangeLog')
-rw-r--r--WebCore/ChangeLog6501
1 files changed, 6495 insertions, 6 deletions
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index aac8d9f..85e6aa8 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,6492 @@
+2010-08-10 Pavel Feldman <pfeldman@chromium.org>
+
+ Reviewed by Yury Semikhatsky.
+
+ Web Inspector: move database processing to native layer.
+
+ https://bugs.webkit.org/show_bug.cgi?id=43788
+
+ * English.lproj/localizedStrings.js:
+ * WebCore.gypi:
+ * bindings/js/JSInjectedScriptHostCustom.cpp:
+ * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
+ * inspector/CodeGeneratorInspector.pm:
+ * inspector/InjectedScript.cpp:
+ (WebCore::InjectedScript::dispatch):
+ * inspector/InjectedScript.h:
+ * inspector/InjectedScriptHost.cpp:
+ * inspector/InjectedScriptHost.h:
+ * inspector/InjectedScriptHost.idl:
+ * inspector/Inspector.idl:
+ * inspector/InspectorBackend.cpp:
+ (WebCore::InspectorBackend::dispatchOnInjectedScript):
+ (WebCore::InspectorBackend::executeSQL):
+ * inspector/InspectorBackend.h:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::connectFrontend):
+ (WebCore::InspectorController::releaseFrontendLifetimeAgents):
+ * inspector/InspectorController.h:
+ * inspector/InspectorDebuggerAgent.h:
+ * inspector/InspectorStorageAgent.cpp: Added.
+ (WebCore::):
+ (WebCore::InspectorStorageAgent::InspectorStorageAgent):
+ (WebCore::InspectorStorageAgent::~InspectorStorageAgent):
+ (WebCore::InspectorStorageAgent::executeSQL):
+ (WebCore::InspectorStorageAgent::clearFrontend):
+ * inspector/InspectorStorageAgent.h: Added.
+ (WebCore::InspectorStorageAgent::create):
+ (WebCore::InspectorStorageAgent::frontend):
+ * inspector/front-end/Database.js:
+ (WebInspector.Database.prototype.executeSql):
+ (WebInspector.sqlTransactionSucceeded):
+ (WebInspector.sqlTransactionFailed):
+ * inspector/front-end/DatabaseQueryView.js:
+ (WebInspector.DatabaseQueryView.prototype._queryFinished):
+ (WebInspector.DatabaseQueryView.prototype._queryError):
+ * inspector/front-end/DatabaseTableView.js:
+ (WebInspector.DatabaseTableView.prototype._queryFinished):
+ * inspector/front-end/InjectedScript.js:
+ * inspector/front-end/InjectedScriptAccess.js:
+ (InjectedScriptAccess._installHandler.InjectedScriptAccess.prototype.methodName):
+ (InjectedScriptAccess._installHandler):
+ * inspector/front-end/StoragePanel.js:
+ (WebInspector.StoragePanel.prototype.dataGridForResult):
+
+2010-08-10 Steve Block <steveblock@google.com>
+
+ Reviewed by Jeremy Orlow.
+
+ [V8] DeviceMotionEvent can not be used from JavaScript
+ https://bugs.webkit.org/show_bug.cgi?id=43785
+
+ This is tested by the existing tests fast/dom/DeviceMotion/create-event.html
+ and fast/dom/DeviceMotion/optional-event-properties.html.
+
+ * bindings/v8/custom/V8EventCustom.cpp:
+ (WebCore::toV8):
+
+2010-08-10 Balazs Kelemen <kb@inf.u-szeged.hu>
+
+ Reviewed by Antonio Gomes.
+
+ [Qt] Build WebKit2 into a static lib
+
+ https://bugs.webkit.org/show_bug.cgi?id=43621
+
+ Just build changes so no new tests.
+
+ * WebCore.pri: Moved feature detection logic into features.pri since we need this in WebKit2.pro as well.
+ * WebCore.pro: Moved the specification of the WebKit2 build to WebKit2.pro. Link against the static lib.
+ * features.pri: Added.
+
+2010-08-10 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector, Chromium: reloading of inspected page hits assert in InspectorController::enableDebuggerFromFrontend()
+ https://bugs.webkit.org/show_bug.cgi?id=43780
+
+ * inspector/CodeGeneratorInspector.pm:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::enableDebuggerFromFrontend):
+ * inspector/InspectorController.h:
+ (WebCore::InspectorController::hasFrontend):
+ * inspector/InspectorDebuggerAgent.cpp:
+ (WebCore::InspectorDebuggerAgent::create):
+ (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
+ (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
+ (WebCore::InspectorDebuggerAgent::didParseSource):
+ (WebCore::InspectorDebuggerAgent::failedToParseSource):
+ (WebCore::InspectorDebuggerAgent::didPause):
+ (WebCore::InspectorDebuggerAgent::didContinue):
+ * inspector/InspectorDebuggerAgent.h:
+
+2010-08-10 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
+
+ Reviewed by Simon Hausmann.
+
+ Make sure NPAPI plugins get an initial setNPWindow on Mac
+
+ https://bugs.webkit.org/show_bug.cgi?id=43782
+
+ * plugins/mac/PluginViewMac.mm:
+
+2010-08-10 Dirk Schulze <krit@webkit.org>
+
+ Reviewed by Nikolas Zimmermann.
+
+ Use SVGPathParser to create SVG paths and to perform path animations
+ https://bugs.webkit.org/show_bug.cgi?id=43696
+
+ Removed toString() functions in all SVGPathSeg* objects as well as toPath() in SVGPathSegList.
+ These hacks were used to create a SVG path data string or a platform path from a SVGPathSegList.
+ Use the new SVGPathParser instead.
+
+ Doesn't affect any tests.
+
+ * svg/SVGAnimateElement.cpp:
+ (WebCore::SVGAnimateElement::applyResultsToTarget):
+ * svg/SVGPathElement.cpp:
+ (WebCore::SVGPathElement::toPathData):
+ * svg/SVGPathParserFactory.cpp:
+ (WebCore::SVGPathParserFactory::buildPathFromSVGPathSegList):
+ (WebCore::SVGPathParserFactory::buildStringFromByteStream):
+ (WebCore::SVGPathParserFactory::buildStringFromSVGPathSegList):
+ * svg/SVGPathParserFactory.h:
+ * svg/SVGPathSeg.cpp:
+ * svg/SVGPathSeg.h:
+ * svg/SVGPathSegArc.cpp:
+ * svg/SVGPathSegArc.h:
+ * svg/SVGPathSegClosePath.h:
+ (WebCore::SVGPathSegClosePath::pathSegTypeAsLetter):
+ * svg/SVGPathSegCurvetoCubic.h:
+ * svg/SVGPathSegCurvetoCubicSmooth.h:
+ * svg/SVGPathSegCurvetoQuadratic.h:
+ * svg/SVGPathSegLinetoHorizontal.h:
+ * svg/SVGPathSegLinetoVertical.h:
+ * svg/SVGPathSegList.cpp:
+ (WebCore::SVGPathSegList::getPathSegAtLength):
+ * svg/SVGPathSegList.h:
+
+2010-08-10 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r65056.
+ http://trac.webkit.org/changeset/65056
+ https://bugs.webkit.org/show_bug.cgi?id=43773
+
+ "Clearly I missed something. I'm too tired to try and fix
+ now. Will re-land in the morning." (Requested by eseidel on
+ #webkit).
+
+ * html/HTMLConstructionSite.cpp:
+ (WebCore::HTMLConstructionSite::attach):
+ * html/HTMLElement.cpp:
+ (WebCore::HTMLElement::insertAdjacentHTML):
+ * html/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::processEndTagForInCell):
+
+2010-08-10 Yoshiki Hayashi <yhayashi@google.com>
+
+ Reviewed by Kent Tamura.
+
+ Iterate over :first-letter so that it will be included in innerText.
+ https://bugs.webkit.org/show_bug.cgi?id=39863
+
+ Test: fast/dom/inner-text-first-letter.html
+
+ * editing/TextIterator.cpp:
+ (WebCore::TextIterator::TextIterator):
+ (WebCore::TextIterator::advance):
+ (WebCore::TextIterator::handleTextNode):
+ (WebCore::TextIterator::handleTextBox):
+ (WebCore::TextIterator::emitText):
+ * editing/TextIterator.h:
+
+2010-08-10 Kent Tamura <tkent@chromium.org>
+
+ Reviewed by Darin Adler.
+
+ Fix crashes by SelectionController::modify().
+ https://bugs.webkit.org/show_bug.cgi?id=43032
+
+ Test: editing/selection/selection-modify-crash.html
+
+ * editing/visible_units.cpp:
+ (WebCore::endOfDocument): Add NULL-check for document()->documentElement().
+
+2010-08-10 Dirk Schulze <krit@webkit.org>
+
+ Reviewed by Nikolas Zimmermann.
+
+ Add missing SVGPathSegList source for SVGPathParser
+ https://bugs.webkit.org/show_bug.cgi?id=43691
+
+ Added SVGPathSegListSource to parse normalized or unaltered SVGPathSegLists and transform
+ them to either a SVG path string, or a SVGPathByteStream. This will be needed to synchronize
+ all SVGPathSegLists and the SVG path string of the 'd' attribute.
+ Refactored SVGPathSource code, to read concrete path segments instead of type/flag/coordinates
+ from the data sources. This is a further abstraction and seperates the reading of content from
+ the parsing and interpreting.
+
+ Doesn't affect any tests.
+
+ * Android.mk:
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * svg/SVGAllInOne.cpp:
+ * svg/SVGPathByteStreamSource.cpp:
+ (WebCore::SVGPathByteStreamSource::parseSVGSegmentType):
+ (WebCore::SVGPathByteStreamSource::nextCommand):
+ (WebCore::SVGPathByteStreamSource::parseMoveToSegment):
+ (WebCore::SVGPathByteStreamSource::parseLineToSegment):
+ (WebCore::SVGPathByteStreamSource::parseLineToHorizontalSegment):
+ (WebCore::SVGPathByteStreamSource::parseLineToVerticalSegment):
+ (WebCore::SVGPathByteStreamSource::parseCurveToCubicSegment):
+ (WebCore::SVGPathByteStreamSource::parseCurveToCubicSmoothSegment):
+ (WebCore::SVGPathByteStreamSource::parseCurveToQuadraticSegment):
+ (WebCore::SVGPathByteStreamSource::parseCurveToQuadraticSmoothSegment):
+ (WebCore::SVGPathByteStreamSource::parseArcToSegment):
+ * svg/SVGPathByteStreamSource.h:
+ (WebCore::SVGPathByteStreamSource::moveToNextToken):
+ * svg/SVGPathParser.cpp:
+ (WebCore::SVGPathParser::parseMoveToSegment):
+ (WebCore::SVGPathParser::parseLineToSegment):
+ (WebCore::SVGPathParser::parseLineToHorizontalSegment):
+ (WebCore::SVGPathParser::parseLineToVerticalSegment):
+ (WebCore::SVGPathParser::parseCurveToCubicSegment):
+ (WebCore::SVGPathParser::parseCurveToCubicSmoothSegment):
+ (WebCore::SVGPathParser::parseCurveToQuadraticSegment):
+ (WebCore::SVGPathParser::parseCurveToQuadraticSmoothSegment):
+ (WebCore::SVGPathParser::parseArcToSegment):
+ * svg/SVGPathSegListSource.cpp: Added.
+ (WebCore::SVGPathSegListSource::SVGPathSegListSource):
+ (WebCore::SVGPathSegListSource::~SVGPathSegListSource):
+ (WebCore::SVGPathSegListSource::hasMoreData):
+ (WebCore::SVGPathSegListSource::parseSVGSegmentType):
+ (WebCore::SVGPathSegListSource::nextCommand):
+ (WebCore::SVGPathSegListSource::parseMoveToSegment):
+ (WebCore::SVGPathSegListSource::parseLineToSegment):
+ (WebCore::SVGPathSegListSource::parseLineToHorizontalSegment):
+ (WebCore::SVGPathSegListSource::parseLineToVerticalSegment):
+ (WebCore::SVGPathSegListSource::parseCurveToCubicSegment):
+ (WebCore::SVGPathSegListSource::parseCurveToCubicSmoothSegment):
+ (WebCore::SVGPathSegListSource::parseCurveToQuadraticSegment):
+ (WebCore::SVGPathSegListSource::parseCurveToQuadraticSmoothSegment):
+ (WebCore::SVGPathSegListSource::parseArcToSegment):
+ * svg/SVGPathSegListSource.h: Added.
+ (WebCore::SVGPathSegListSource::create):
+ (WebCore::SVGPathSegListSource::moveToNextToken):
+ * svg/SVGPathSource.h:
+ * svg/SVGPathStringSource.cpp:
+ (WebCore::SVGPathStringSource::parseMoveToSegment):
+ (WebCore::SVGPathStringSource::parseLineToSegment):
+ (WebCore::SVGPathStringSource::parseLineToHorizontalSegment):
+ (WebCore::SVGPathStringSource::parseLineToVerticalSegment):
+ (WebCore::SVGPathStringSource::parseCurveToCubicSegment):
+ (WebCore::SVGPathStringSource::parseCurveToCubicSmoothSegment):
+ (WebCore::SVGPathStringSource::parseCurveToQuadraticSegment):
+ (WebCore::SVGPathStringSource::parseCurveToQuadraticSmoothSegment):
+ (WebCore::SVGPathStringSource::parseArcToSegment):
+ * svg/SVGPathStringSource.h:
+
+2010-08-09 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Reviewed by Yury Semikhatsky.
+
+ Web Inspector: small refactoring for CodeGeneratorInspector.
+ A number of push calls were replaced by embedded text.
+ Just for improve code readability.
+ https://bugs.webkit.org/show_bug.cgi?id=43770
+
+ * inspector/CodeGeneratorInspector.pm:
+
+2010-08-09 Eric Seidel <eric@webkit.org>
+
+ Reviewed by Adam Barth.
+
+ Fix three ASSERTs hit with the HTML5 TreeBuilder in fragment mode
+ https://bugs.webkit.org/show_bug.cgi?id=43762
+
+ In fixing the insertAdjacentHTML I had to make small changes to
+ the error logic, which ended up bringing us closer to HTML5.
+
+ Test: fast/dom/HTMLElement/insertAdjacentHTML-errors.html
+
+ * html/HTMLConstructionSite.cpp:
+ (WebCore::HTMLConstructionSite::attach):
+ - This ASSERT was just wrong, the child should not be attached
+ in the case the parent is not attached.
+ * html/HTMLElement.cpp:
+ (WebCore::contextElementForInsertion):
+ - This is part of HTML5, needed to know what to call the
+ HTML or XML parsers with. The previous code always passed
+ "this" which is wrong in the case of beforeBegin or afterEnd insertion.
+ (WebCore::HTMLElement::insertAdjacentHTML):
+ - Use the right contextElement now that we know how to compute it.
+ * html/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::processEndTagForInCell):
+ - This ASSERT is direct from the spec, but it's wrong, so I've filed a spec bug.
+
+2010-08-09 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: remove InspectorFrontend class and use RemoteInspectorFrontend instead.
+ https://bugs.webkit.org/show_bug.cgi?id=43726
+
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::connectFrontend):
+ (WebCore::InspectorController::close):
+ (WebCore::InspectorController::disconnectFrontend):
+ * inspector/InspectorController.h:
+ * inspector/InspectorFrontend.cpp: Removed.
+ * inspector/InspectorFrontend.h: Removed.
+
+2010-08-09 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: Remove obsolete JS wrappers for did* methods.
+ https://bugs.webkit.org/show_bug.cgi?id=43738
+
+ * inspector/CodeGeneratorInspector.pm:
+ * inspector/Inspector.idl:
+ * inspector/front-end/BreakpointManager.js:
+ * inspector/front-end/Callback.js:
+ * inspector/front-end/ConsoleView.js:
+ * inspector/front-end/DOMAgent.js:
+ * inspector/front-end/DOMStorage.js:
+ * inspector/front-end/Database.js:
+ * inspector/front-end/InjectedScriptAccess.js:
+ * inspector/front-end/ProfilesPanel.js:
+ * inspector/front-end/ResourcesPanel.js:
+ * inspector/front-end/ScriptView.js:
+ * inspector/front-end/ScriptsPanel.js:
+ * inspector/front-end/inspector.js:
+ (WebInspector.reportProtocolError):
+
+2010-08-09 Gavin Barraclough <barraclough@apple.com>
+
+ Qt build fix attempt VIII.
+
+ * dom/QualifiedName.cpp:
+ (WebCore::QualifiedName::toString):
+ * dom/XMLDocumentParserQt.cpp:
+ (WebCore::handleElementNamespaces):
+
+2010-08-09 Gavin Barraclough <barraclough@apple.com>
+
+ Qt build fix attempt VII.
+
+ * dom/QualifiedName.cpp:
+ (WebCore::QualifiedName::toString):
+ * dom/XMLDocumentParserQt.cpp:
+ (WebCore::handleElementNamespaces):
+
+2010-08-09 Gavin Barraclough <barraclough@apple.com>
+
+ Qt build fix attempt VI.
+
+ * dom/QualifiedName.cpp:
+ (WebCore::QualifiedName::toString):
+ * dom/XMLDocumentParserQt.cpp:
+ (WebCore::handleElementNamespaces):
+
+2010-08-09 Gavin Barraclough <barraclough@apple.com>
+
+ Qt build fix attempt V.
+
+ * dom/QualifiedName.cpp:
+ (WebCore::QualifiedName::toString):
+ * dom/XMLDocumentParserQt.cpp:
+ (WebCore::handleElementNamespaces):
+
+2010-08-09 Gavin Barraclough <barraclough@apple.com>
+
+ Qt build fix attempt IV.
+
+ * css/CSSSelector.cpp:
+ (WebCore::CSSSelector::selectorText):
+ * dom/QualifiedName.cpp:
+ (WebCore::QualifiedName::toString):
+ * dom/XMLDocumentParserQt.cpp:
+ (WebCore::handleElementNamespaces):
+
+2010-08-09 Gavin Barraclough <barraclough@apple.com>
+
+ Speculative chromium build fix.
+
+ * platform/graphics/chromium/FontCacheChromiumWin.cpp:
+ (WebCore::charactersAreAllASCII):
+
+2010-08-09 Gavin Barraclough <barraclough@apple.com>
+
+ Qt build fix III.
+
+ * css/CSSSelector.cpp:
+
+2010-08-09 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ Remove error-prone external SegementedSubstring contructor
+ https://bugs.webkit.org/show_bug.cgi?id=43752
+
+ There's a lot of code that assumes that SegmentedString takes ownership
+ of its substrings. For example, when the HTML parser pauses and
+ resumes asynchronously, it could explode if SegmentedString didn't own
+ its substrings.
+
+ Prior to this patch, there was a constructor that let
+ SegmentedSubstring use an external string buffer. It turns out it was
+ only used in a handful of places, but I'd rather pay the memcpy of
+ these small strings than risk having them used after free.
+
+ * bindings/js/JSHTMLDocumentCustom.cpp:
+ (WebCore::documentWrite):
+ * html/LegacyHTMLDocumentParser.cpp:
+ (WebCore::LegacyHTMLDocumentParser::parseNonHTMLText):
+ (WebCore::LegacyHTMLDocumentParser::scriptHandler):
+ (WebCore::LegacyHTMLDocumentParser::parseComment):
+ * platform/text/SegmentedString.h:
+ (WebCore::SegmentedString::SegmentedString):
+
+2010-08-09 Gavin Barraclough <barraclough@apple.com>
+
+ Speculative Qt build fix.
+
+ * css/CSSSelector.cpp:
+
+2010-08-09 Gavin Barraclough <barraclough@apple.com>
+
+ Speculative gtk build fix.
+
+ * plugins/gtk/PluginViewGtk.cpp:
+ (WebCore::PluginView::handlePostReadFile):
+
+2010-08-06 Gavin Barraclough <barraclough@apple.com>
+
+ Rubber stamped by Sam Weinig
+
+ Bug 43594 - Add string forwards to Forward.h
+ This allows us to remove forward declarations for these classes from
+ WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
+
+ * WebCore.xcodeproj/project.pbxproj:
+ * accessibility/AXObjectCache.h:
+ * accessibility/AccessibilityARIAGrid.h:
+ * accessibility/AccessibilityListBoxOption.h:
+ * accessibility/AccessibilityObject.h:
+ * accessibility/AccessibilityRenderObject.h:
+ * accessibility/AccessibilityTable.h:
+ * bindings/cpp/WebDOMCString.h:
+ * bindings/cpp/WebDOMString.h:
+ * bindings/gobject/ConvertToUTF8String.h:
+ * bindings/js/DOMWrapperWorld.h:
+ * bindings/js/JSDOMBinding.h:
+ * bindings/js/JSDOMWindowBase.h:
+ * bindings/js/JSMessagePortCustom.h:
+ * bindings/js/JavaScriptCallFrame.h:
+ * bindings/js/ScriptController.h:
+ * bindings/js/ScriptProfile.h:
+ * bindings/js/ScriptSourceProvider.h:
+ * bindings/js/ScriptString.h:
+ * bindings/js/WorkerScriptController.h:
+ * bindings/objc/DOMImplementationFront.h:
+ * bindings/v8/ScheduledAction.h:
+ * bindings/v8/ScriptController.h:
+ * bindings/v8/V8DOMWindowShell.h:
+ * bindings/v8/V8Proxy.h:
+ * bindings/v8/V8Utilities.h:
+ * bindings/v8/custom/V8CustomXPathNSResolver.h:
+ * bridge/c/c_utility.h:
+ * css/CSSFontSelector.h:
+ * css/CSSHelper.h:
+ * css/CSSOMUtils.h:
+ * css/CSSPrimitiveValue.h:
+ * css/MediaList.h:
+ * css/StyleBase.h:
+ * css/StyleSheetList.h:
+ * css/WebKitCSSKeyframesRule.h:
+ * dom/CheckedRadioButtons.h:
+ * dom/DOMImplementation.h:
+ * dom/DocumentMarker.h:
+ * dom/DynamicNodeList.h:
+ * dom/EventTarget.h:
+ * dom/MessagePort.h:
+ * dom/MessagePortChannel.h:
+ * dom/NameNodeList.h:
+ * dom/Node.h:
+ * dom/NodeList.h:
+ * dom/OptionGroupElement.h:
+ * dom/ScriptExecutionContext.h:
+ * dom/SelectElement.h:
+ * dom/ViewportArguments.h:
+ * dom/make_names.pl:
+ * editing/HTMLInterchange.h:
+ * editing/htmlediting.h:
+ * editing/markup.h:
+ * html/CollectionCache.h:
+ * html/DOMFormData.h:
+ * html/DataGridColumnList.h:
+ * html/DateComponents.h:
+ * html/FileStream.h:
+ * html/FileStreamProxy.h:
+ * html/FormDataList.h:
+ (WebCore::FormDataList::appendData):
+ * html/HTMLCollection.h:
+ * html/HTMLElementStack.h:
+ * html/HTMLFormattingElementList.h:
+ * html/HTMLParserQuirks.h:
+ * html/HTMLQuoteElement.h:
+ * html/HTMLScriptRunnerHost.h:
+ * html/StepRange.h:
+ * html/canvas/CanvasGradient.h:
+ * html/canvas/CanvasNumberArray.h:
+ * html/canvas/CanvasPattern.h:
+ * inspector/InjectedScript.h:
+ * inspector/InspectorCSSStore.h:
+ * inspector/InspectorClient.h:
+ * inspector/InspectorFrontendClient.h:
+ * inspector/InspectorValues.h:
+ * inspector/ScriptDebugListener.h:
+ * loader/CachedResourceClient.h:
+ * loader/CrossOriginAccessControl.h:
+ * loader/DocumentThreadableLoader.h:
+ * loader/FrameLoaderClient.h:
+ * loader/RedirectScheduler.h:
+ * loader/SubframeLoader.h:
+ * loader/appcache/DOMApplicationCache.h:
+ * loader/archive/ArchiveFactory.h:
+ * loader/icon/IconDatabaseClient.h:
+ * notifications/NotificationPresenter.h:
+ * page/Chrome.h:
+ * page/ChromeClient.h:
+ * page/Console.h:
+ * page/ContextMenuClient.h:
+ * page/DOMSelection.h:
+ * page/EditorClient.h:
+ * page/EventHandler.h:
+ * page/FrameView.h:
+ * page/GeolocationPositionCache.h:
+ * page/History.h:
+ * page/Location.h:
+ * page/Navigator.h:
+ * page/NavigatorBase.h:
+ * page/PluginHalterClient.h:
+ * page/PrintContext.h:
+ * page/SpeechInput.h:
+ * page/SpeechInputListener.h:
+ * page/animation/AnimationController.h:
+ * platform/CookieJar.h:
+ * platform/CrossThreadCopier.h:
+ * platform/DragImage.h:
+ * platform/FileSystem.h:
+ * platform/Language.h:
+ * platform/Length.h:
+ * platform/LinkHash.h:
+ * platform/LocalizationStrategy.h:
+ * platform/LocalizedStrings.h:
+ * platform/Logging.h:
+ * platform/Pasteboard.h:
+ * platform/PopupMenuClient.h:
+ * platform/SearchPopupMenu.h:
+ * platform/Widget.h:
+ * platform/cf/BinaryPropertyList.h:
+ * platform/chromium/ChromiumBridge.h:
+ * platform/chromium/ClipboardUtilitiesChromium.h:
+ * platform/cocoa/KeyEventCocoa.h:
+ * platform/graphics/Color.h:
+ * platform/graphics/FontCache.h:
+ * platform/graphics/FontData.h:
+ * platform/graphics/FontSelector.h:
+ * platform/graphics/GraphicsTypes.h:
+ * platform/graphics/Icon.h:
+ * platform/graphics/ImageBuffer.h:
+ * platform/graphics/ImageSource.h:
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
+ * platform/graphics/Path.h:
+ * platform/graphics/StringTruncator.h:
+ * platform/graphics/cairo/FontCustomPlatformData.h:
+ * platform/graphics/cairo/FontPlatformData.h:
+ * platform/graphics/cg/FontPlatformData.h:
+ * platform/graphics/cg/ImageSourceCG.h:
+ * platform/graphics/chromium/FontCustomPlatformData.h:
+ * platform/graphics/chromium/FontPlatformDataChromiumWin.h:
+ * platform/graphics/chromium/FontPlatformDataLinux.h:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
+ * platform/graphics/haiku/FontCustomPlatformData.h:
+ * platform/graphics/mac/FontCustomPlatformData.h:
+ * platform/graphics/mac/FontPlatformData.h:
+ * platform/graphics/qt/FontCustomPlatformData.h:
+ * platform/graphics/qt/FontPlatformData.h:
+ * platform/graphics/win/FontCustomPlatformData.h:
+ * platform/graphics/win/FontCustomPlatformDataCairo.h:
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h:
+ * platform/graphics/wince/FontPlatformData.h:
+ * platform/graphics/wince/MediaPlayerPrivateWince.h:
+ * platform/graphics/wince/MediaPlayerProxy.h:
+ * platform/graphics/wx/FontCustomPlatformData.h:
+ * platform/graphics/wx/FontPlatformData.h:
+ * platform/mac/PasteboardHelper.h:
+ * platform/network/DNS.h:
+ * platform/network/FormData.h:
+ * platform/network/FormDataBuilder.h:
+ * platform/network/HTTPParsers.h:
+ * platform/text/Hyphenation.h:
+ * platform/text/LineEnding.h:
+ * platform/text/TextCodec.h:
+ * platform/text/TextEncoding.h:
+ * platform/text/TextStream.h:
+ * platform/win/BString.h:
+ * platform/win/ClipboardUtilitiesWin.h:
+ * platform/win/WCDataObject.h:
+ * platform/win/WebCoreTextRenderer.h:
+ * plugins/DOMMimeType.h:
+ * plugins/DOMMimeTypeArray.h:
+ * plugins/DOMPlugin.h:
+ * plugins/DOMPluginArray.h:
+ * rendering/CounterNode.h:
+ * rendering/HitTestResult.h:
+ * rendering/RenderObjectChildList.h:
+ * rendering/RenderText.h:
+ * rendering/RenderTreeAsText.h:
+ * rendering/TextControlInnerElements.h:
+ * rendering/style/ContentData.h:
+ * rendering/style/RenderStyle.h:
+ * storage/DatabaseAuthorizer.h:
+ * storage/DatabaseTrackerClient.h:
+ * storage/SQLTransaction.h:
+ * storage/SQLTransactionSync.h:
+ * storage/Storage.h:
+ * storage/chromium/DatabaseObserver.h:
+ * svg/SVGAnimatedTemplate.h:
+ * svg/SVGDocumentExtensions.h:
+ * svg/SVGGlyphElement.h:
+ * svg/SVGHKernElement.h:
+ * svg/SVGNumberList.h:
+ * svg/SVGPointList.h:
+ * svg/SVGPreserveAspectRatio.h:
+ * svg/SVGStylable.h:
+ * svg/SVGTests.h:
+ * svg/SVGTransformList.h:
+ * svg/SVGTransformable.h:
+ * svg/SVGVKernElement.h:
+ * websockets/ThreadableWebSocketChannel.h:
+ * websockets/ThreadableWebSocketChannelClientWrapper.h:
+ * websockets/WebSocket.h:
+ * websockets/WebSocketChannel.h:
+ * websockets/WebSocketHandshakeResponse.h:
+ * wml/WMLErrorHandling.h:
+ * wml/WMLPageState.h:
+ * wml/WMLVariables.h:
+ * workers/DefaultSharedWorkerRepository.h:
+ * workers/SharedWorkerRepository.h:
+ * workers/Worker.h:
+ * workers/WorkerContextProxy.h:
+ * workers/WorkerLoaderProxy.h:
+ * workers/WorkerLocation.h:
+ * workers/WorkerMessagingProxy.h:
+ * workers/WorkerReportingProxy.h:
+ * workers/WorkerThread.h:
+ * xml/DOMParser.h:
+ * xml/XMLHttpRequestUpload.h:
+ * xml/XPathEvaluator.h:
+ * xml/XPathExpression.h:
+ * xml/XPathNSResolver.h:
+ * xml/XPathResult.h:
+ * xml/XPathUtil.h:
+
+2010-08-09 Nat Duca <nduca@chromium.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ [chromium] Blue line visible at the right hand side of the window with accelerated compositor
+ https://bugs.webkit.org/show_bug.cgi?id=43748
+
+ Correct the ortho projection matrix for the root layer, which was
+ too large by 0.5px in both width and height. For even view sizes,
+ this would cause the viewport to appear 1 pixel too small.
+
+ Fixing this requires removal of several 0.5 correction factors
+ that were previously added to compensate for the too-large viewport.
+
+ Finally, compute the translation for the root layer quad using
+ floating point rather than integer arithmetic. This avoids us losing
+ a key half-pixel of translation when the width of the window is odd.
+
+ To test, size window to even/odd dimensions. No blue line should be visible.
+
+ * platform/graphics/chromium/LayerRendererChromium.cpp:
+ (WebCore::LayerRendererChromium::drawLayers):
+
+2010-08-09 Ryosuke Niwa <rniwa@webkit.org>
+
+ Reviewed by Justin Garcia.
+
+ fontColorChangesComputedStyle, fontSizeChangesComputedStyle, and fontFaceChangesComputedStyle should be removed
+ https://bugs.webkit.org/show_bug.cgi?id=43465
+
+ Removed fontColorChangesComputedStyle, fontSizeChangesComputedStyle, and fontFaceChangesComputedStyle
+ because StyleChange's applyFontColor, applyFontFace, and applyFontSize all return false
+ if there was no difference between the new font color, font size, font face and that of the computed style.
+
+ Also added a work-around for the bug 28282 in getPropertiesNotInComputedStyle with a test so that
+ the above change will not add a redundant font or span element.
+
+ Test: editing/style/fore-color-by-name.html
+
+ * editing/ApplyStyleCommand.cpp:
+ (WebCore::getRGBAFontColor): Added.
+ (WebCore::StyleChange::extractTextStyles): Calls getRGBAFontColor.
+ (WebCore::getPropertiesNotInComputedStyle): Removes color property manually by checking the RGBA values.
+ (WebCore::ApplyStyleCommand::addInlineStyleIfNeeded): See above.
+
+2010-08-09 Kenneth Russell <kbr@google.com>
+
+ Reviewed by David Levin.
+
+ Fix compilation of VideoLayerChromium on Mac OS X with compositor
+ https://bugs.webkit.org/show_bug.cgi?id=43757
+
+ No new tests; build fix only (associated functionality not implemented yet).
+
+ * platform/graphics/chromium/VideoLayerChromium.cpp:
+ (WebCore::VideoLayerChromium::VideoLayerChromium):
+ (WebCore::VideoLayerChromium::updateTextureContents):
+ (WebCore::VideoLayerChromium::createTextureRect):
+ (WebCore::VideoLayerChromium::updateTextureRect):
+ * platform/graphics/chromium/VideoLayerChromium.h:
+
+2010-08-09 Ariya Hidayat <ariya@sencha.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ [Qt] Need to implement GraphicsContextQt::clipConvexPolygon()
+ https://bugs.webkit.org/show_bug.cgi?id=41310
+
+ Based on the prototype code by Simon Hausmann.
+
+ * platform/graphics/qt/GraphicsContextQt.cpp:
+ (WebCore::GraphicsContext::clipConvexPolygon):
+ * rendering/RenderObject.h:
+
+2010-08-09 Chris Fleizach <cfleizach@apple.com>
+
+ Reviewed by David Kilzer.
+
+ AX: Placeholder value for text fields not exposed like it should be
+ https://bugs.webkit.org/show_bug.cgi?id=43598
+
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::placeholderValue):
+ * accessibility/AccessibilityObject.h:
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::title):
+ * accessibility/mac/AccessibilityObjectWrapper.mm:
+ (-[AccessibilityObjectWrapper accessibilityAttributeNames]):
+ (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
+
+2010-08-09 Ryosuke Niwa <rniwa@webkit.org>
+
+ Reviewed by Justin Garcia.
+
+ Undo fails in RemoveCSSPropertyCommand when the corresponding style attribute is removed
+ https://bugs.webkit.org/show_bug.cgi?id=43639
+
+ The bug was caused when RemoveCSSPropertyCommand is called with CSSMutableStyleDeclaration of some styled element,
+ and the style attribute of the element is removed subsequently. When the attribute removal is undone, new instance of
+ CSSMutableStyleDeclaration is created and RemoveCSSPropertyCommand's m_style became detached from the element.
+
+ Modified RemoveCSSPropertyCommand to store the styled element directly instead of its CSSMutableStyleDeclaration.
+
+ Test: editing/undo/remove-css-property-and-remove-style.html
+
+ * WebCore.order:
+ * editing/ApplyStyleCommand.cpp:
+ (WebCore::ApplyStyleCommand::removeCSSStyle): Calls removeCSSProperty.
+ (WebCore::ApplyStyleCommand::extractTextDecorationStyle): Calls removeCSSProperty.
+ * editing/CompositeEditCommand.cpp:
+ (WebCore::CompositeEditCommand::removeCSSProperty): Takes StyledElement instead of CSSMutableStyleDeclaration.
+ * editing/CompositeEditCommand.h:
+ * editing/RemoveCSSPropertyCommand.cpp:
+ (WebCore::RemoveCSSPropertyCommand::RemoveCSSPropertyCommand): Takes StyledElement instead of CSSMutableStyleDeclaration.
+ (WebCore::RemoveCSSPropertyCommand::doApply): See above.
+ (WebCore::RemoveCSSPropertyCommand::doUnapply): See above.
+ * editing/RemoveCSSPropertyCommand.h:
+ (WebCore::RemoveCSSPropertyCommand::create): See above.
+
+2010-08-09 Ryosuke Niwa <rniwa@webkit.org>
+
+ Reviewed by Tony Chang.
+
+ Use getIdentifierValue to obtain direction and unicode-bidi properties in ApplyStyleCommand
+ https://bugs.webkit.org/show_bug.cgi?id=43699
+
+ Deployed getIdentifierValue in various parts of ApplyStyleCommand where
+ direction and unicode-bidi properties were obtained manually.
+
+ No new tests since this is a cleanup.
+
+ * editing/ApplyStyleCommand.cpp:
+ (WebCore::getIdentifierValue): Takes CSSStyleDeclaration instead of CSSMutableStyleDeclaration.
+ (WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi): Calls getIdentifierValue.
+ (WebCore::ApplyStyleCommand::removeEmbeddingUpToEnclosingBlock): Calls getIdentifierValue.
+ (WebCore::ApplyStyleCommand::applyInlineStyle): Calls getIdentifierValue.
+ * editing/ApplyStyleCommand.h:
+
+2010-08-09 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ Remove trailing whitespace in HTMLViewSourceDocument.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=43741
+
+ No behavior change. The whitespace was distracting me while porting
+ this class to the new parser.
+
+ * html/HTMLViewSourceDocument.cpp:
+ (WebCore::HTMLViewSourceDocument::createContainingTable):
+ (WebCore::HTMLViewSourceDocument::addViewSourceToken):
+ (WebCore::HTMLViewSourceDocument::addLine):
+ (WebCore::HTMLViewSourceDocument::addText):
+ (WebCore::HTMLViewSourceDocument::addLink):
+
+2010-08-09 Eric Seidel <eric@webkit.org>
+
+ Reviewed by Adam Barth.
+
+ Use the HTML5 TreeBuilder for Fragment Parsing
+ https://bugs.webkit.org/show_bug.cgi?id=43586
+
+ The bulk of this change is just a transcription of the HTML5 spec:
+ http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#fragment-case
+
+ DocumentParser() now sets the right tokenizer state before handling
+ fragments. Since default code path uses the HTML5 tokenizer with the
+ legacy tree builder, this fixes 2 tokenizer-state tests for the html5lib.
+ This fixes 2 more tree-builder tests when the html5 treebuilder is enabled too.
+
+ * dom/DocumentFragment.cpp:
+ (WebCore::DocumentFragment::parseHTML):
+ - HTML5 implementation of fragment parsing requires the context element (parent)
+ pointer. The legacy implementation handles all parsing branches which require
+ the context element outside of the parser itself, which likely produces "wrong"
+ results. We'll remove those branches when we turn on the HMTL5 fragment parser.
+ (WebCore::DocumentFragment::parseXML):
+ - Rename "parent" to "contextElement" to match the HTML path (and the HTML5 spec).
+ * dom/DocumentFragment.h:
+ * dom/Element.cpp:
+ (WebCore::Element::createContextualFragment):
+ - Pass the contextElement (this).
+ * html/HTMLConstructionSite.cpp:
+ (WebCore::HTMLConstructionSite::setForm):
+ - Needed by for the fragment case.
+ (WebCore::HTMLConstructionSite::insertHTMLBodyStartTagInBody):
+ - I'm not sure this method should exist, it only has one caller.
+ but for now, I've moved the fragment case FIXME out to the
+ one caller and implemented it.
+ * html/HTMLConstructionSite.h:
+ * html/HTMLDocumentParser.cpp:
+ (WebCore::HTMLNames::tokenizerStateForContextElement):
+ - Part of the fragment case handling for the HTML5 parser.
+ (WebCore::HTMLDocumentParser::HTMLDocumentParser):
+ - Set the Tokenizer state based on the contextElement.
+ (WebCore::HTMLDocumentParser::parseDocumentFragment):
+ - Take a contextElement argument.
+ * html/HTMLDocumentParser.h:
+ * html/HTMLElement.cpp:
+ (WebCore::HTMLElement::setInnerHTML):
+ - Added a FIXME before the branches the old parser used to avoid ever needing
+ to pass a context element when parsing HTML fragments.
+ (WebCore::HTMLElement::insertAdjacentHTML):
+ - Pass the context element.
+ * html/HTMLTokenizer.h:
+ * html/HTMLTreeBuilder.cpp:
+ - I added a new helper class FragmentParsingContext to simplify the two
+ HTMLTreeBuilder constructors and hide the existence of m_dummyDocumentForFragmentParse.
+ - I also removed m_isParsingFragment and replaced it with an isParsingFragment() function.
+ (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
+ (WebCore::HTMLTreeBuilder::FragmentParsingContext::FragmentParsingContext):
+ (WebCore::HTMLTreeBuilder::FragmentParsingContext::document):
+ (WebCore::HTMLTreeBuilder::FragmentParsingContext::~FragmentParsingContext):
+ (WebCore::HTMLTreeBuilder::passTokenToLegacyParser):
+ (WebCore::HTMLTreeBuilder::processStartTagForInBody):
+ - I had to implement two notImplemented() states in order to get most of the
+ layout tests to pass when using the HTML5 parser fragment case.
+ (WebCore::HTMLTreeBuilder::processColgroupEndTagForInColumnGroup):
+ (WebCore::HTMLTreeBuilder::processStartTagForInTable):
+ (WebCore::HTMLTreeBuilder::processStartTag):
+ (WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately):
+ (WebCore::HTMLTreeBuilder::processEndTagForInTableBody):
+ (WebCore::HTMLTreeBuilder::processEndTagForInRow):
+ (WebCore::HTMLTreeBuilder::processEndTagForInCell):
+ (WebCore::HTMLTreeBuilder::processCaptionEndTagForInCaption):
+ (WebCore::HTMLTreeBuilder::processTrEndTagForInRow):
+ (WebCore::HTMLTreeBuilder::processTableEndTagForInTable):
+ (WebCore::HTMLTreeBuilder::processEndTag):
+ (WebCore::HTMLTreeBuilder::processCharacterBuffer):
+ (WebCore::HTMLTreeBuilder::processEndOfFile):
+ (WebCore::HTMLTreeBuilder::finished):
+ - The HTML5 parsing algorithm fragment case uses a dummy document to handle all the parsing
+ and then moves all the children from the dummy document over into a DocumentFragment
+ when the parse is done. We could avoid this adopt step by making the TreeBuilder a bit
+ more complicated, but I'm not sure that's necessary (yet).
+ * html/HTMLTreeBuilder.h:
+ (WebCore::HTMLTreeBuilder::isParsingFragment):
+ (WebCore::HTMLTreeBuilder::FragmentParsingContext::fragment):
+ (WebCore::HTMLTreeBuilder::FragmentParsingContext::contextElement):
+ (WebCore::HTMLTreeBuilder::FragmentParsingContext::scriptingPermission):
+ * xml/XSLTProcessor.cpp:
+ (WebCore::createFragmentFromSource):
+
+2010-08-09 Dumitru Daniliuc <dumi@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ Auto-generate most HTML5 DB bindings.
+ https://bugs.webkit.org/show_bug.cgi?id=43382
+
+ * Android.jscbindings.mk: Remove {JS|V8}Database{Sync}Custom.cpp
+ and the custom implementations of openDatabase{Sync}().
+ * Android.v8bindings.mk:
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSBindingsAllInOne.cpp:
+ * bindings/js/JSDOMWindowCustom.cpp:
+ * bindings/js/JSDatabaseCustom.cpp: Removed.
+ * bindings/js/JSDatabaseSyncCustom.cpp: Removed.
+ * bindings/js/JSWorkerContextCustom.cpp:
+ * bindings/v8/custom/V8DOMWindowCustom.cpp:
+ * bindings/v8/custom/V8DatabaseCustom.cpp: Removed.
+ * bindings/v8/custom/V8DatabaseSyncCustom.cpp: Removed.
+ * bindings/v8/custom/V8WorkerContextCustom.cpp:
+
+ * bindings/scripts/CodeGeneratorGObject.pm: Change the code generators
+ to check that each value can be converted to the respective
+ argument type.
+ * bindings/scripts/CodeGeneratorJS.pm:
+ * bindings/scripts/CodeGeneratorV8.pm:
+ * bindings/scripts/test/JS/JSTestCallback.cpp:
+ (WebCore::JSTestCallback::~JSTestCallback):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionIntMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
+ (WebCore::jsTestObjPrototypeFunctionSerializedValue):
+ (WebCore::jsTestObjPrototypeFunctionIdbKey):
+ (WebCore::jsTestObjPrototypeFunctionCustomArgsAndException):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndArg):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGesture):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGestureASAD):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithCallbackArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod3):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
+ * bindings/scripts/test/V8/V8TestObj.cpp:
+ (WebCore::TestObjInternal::voidMethodWithArgsCallback):
+ (WebCore::TestObjInternal::intMethodWithArgsCallback):
+ (WebCore::TestObjInternal::objMethodWithArgsCallback):
+ (WebCore::TestObjInternal::methodThatRequiresAllArgsCallback):
+ (WebCore::TestObjInternal::methodThatRequiresAllArgsAndThrowsCallback):
+ (WebCore::TestObjInternal::idbKeyCallback):
+ (WebCore::TestObjInternal::customArgsAndExceptionCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndArgCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndOptionalArgCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndUserGestureCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndUserGestureASADCallback):
+ (WebCore::TestObjInternal::methodWithOptionalArgCallback):
+ (WebCore::TestObjInternal::methodWithNonOptionalArgAndOptionalArgCallback):
+ (WebCore::TestObjInternal::methodWithNonOptionalArgAndTwoOptionalArgsCallback):
+ (WebCore::TestObjInternal::methodWithNonCallbackArgAndCallbackArgCallback):
+ (WebCore::TestObjInternal::methodWithCallbackAndOptionalArgCallback):
+ (WebCore::TestObjInternal::overloadedMethod1Callback):
+ (WebCore::TestObjInternal::overloadedMethod2Callback):
+ (WebCore::TestObjInternal::overloadedMethod3Callback):
+ (WebCore::TestObjInternal::overloadedMethod4Callback):
+ (WebCore::):
+ (WebCore::ConfigureV8TestObjTemplate):
+ * bindings/v8/custom/V8BindingMacros.h:
+
+ * bindings/v8/V8Binding.h: Minor changes required to support the
+ auto-generated bindings.
+ (WebCore::V8Parameter::V8Parameter):
+ * bindings/v8/custom/V8SQLTransactionCustom.cpp:
+ (WebCore::V8SQLTransaction::executeSqlCallback):
+ * bindings/v8/custom/V8SQLTransactionSyncCustom.cpp:
+ (WebCore::V8SQLTransactionSync::executeSqlCallback):
+ * page/DOMWindow.idl:
+ * storage/Database.cpp:
+ (WebCore::Database::transaction):
+ (WebCore::Database::readTransaction):
+ (WebCore::Database::runTransaction):
+ * storage/Database.h:
+ * storage/Database.idl:
+ * storage/DatabaseSync.cpp:
+ (WebCore::DatabaseSync::transaction):
+ (WebCore::DatabaseSync::readTransaction):
+ (WebCore::DatabaseSync::runTransaction):
+ * storage/DatabaseSync.h:
+ * storage/DatabaseSync.idl:
+ * workers/WorkerContext.idl:
+
+2010-08-09 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ Move HTMLViewSourceDocument from legacyParserAddChild to parserAddChild
+ https://bugs.webkit.org/show_bug.cgi?id=43740
+
+ This removes the DTD checks, which aren't needed for view source
+ documents.
+
+ * html/HTMLViewSourceDocument.cpp:
+ (WebCore::HTMLViewSourceDocument::createContainingTable):
+ (WebCore::HTMLViewSourceDocument::addSpanWithClassName):
+ (WebCore::HTMLViewSourceDocument::addLine):
+ (WebCore::HTMLViewSourceDocument::addText):
+ (WebCore::HTMLViewSourceDocument::addLink):
+
+2010-08-09 Dan Bernstein <mitz@apple.com>
+
+ Reviewed by Simon Fraser.
+
+ Fixed an uninitialized member variable in the Color(CGColorRef) constructor.
+
+ * platform/graphics/cg/ColorCG.cpp:
+ (WebCore::Color::Color): Initialize m_valid to true if the color is not 0.
+
+2010-08-09 James Robinson <jamesr@chromium.org>
+
+ Chromium compile fix, unreviewed.
+
+ * platform/graphics/skia/PlatformContextSkia.cpp:
+ (WebCore::PlatformContextSkia::~PlatformContextSkia):
+ (WebCore::PlatformContextSkia::setGraphicsContext3D):
+
+2010-08-09 James Robinson <jamesr@chromium.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ [chromium] Add a PrepareTextureCallback to the chromium canvas layer compositor to upload mixed-mode results before compositing
+ https://bugs.webkit.org/show_bug.cgi?id=43656
+
+ When compositing an accelerated canvas that is using both hardware and software drawing,
+ we need a callback before compositing the layer to make sure that we upload any software
+ drawn results to the texture. This will go away as soon as implement all draw calls
+ in hardware.
+
+ To test, run any canvas demo that runs in mixed mode and verifies that the software results
+ always show up.
+
+ * platform/graphics/chromium/CanvasLayerChromium.cpp:
+ (WebCore::CanvasLayerChromium::updateTextureContents):
+ * platform/graphics/chromium/CanvasLayerChromium.h:
+ (WebCore::CanvasLayerChromium::setPrepareTextureCallback):
+ * platform/graphics/skia/PlatformContextSkia.cpp:
+ (WebCore::PrepareTextureCallbackImpl::create):
+ (WebCore::PrepareTextureCallbackImpl::willPrepareTexture):
+ (WebCore::PrepareTextureCallbackImpl::PrepareTextureCallbackImpl):
+ (WebCore::PlatformContextSkia::setGraphicsContext3D):
+
+2010-08-09 Zhenyao Mo <zmo@google.com>
+
+ Reviewed by David Levin.
+
+ sizeInBytes should be removed
+ https://bugs.webkit.org/show_bug.cgi?id=43693
+
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::sizeInBytes): Don't generate GL errors. Generate them in the callers instead.
+ (WebCore::WebGLRenderingContext::vertexAttribPointer): Generate GL error if sizeInBytes fails.
+ * html/canvas/WebGLRenderingContext.h: Make sizeInBytes private helper.
+ * html/canvas/WebGLRenderingContext.idl: Remove sizeInBytes.
+
+2010-08-09 Eric Carlson <eric.carlson@apple.com>
+
+ Reviewed by Darin Adler.
+
+ https://bugs.webkit.org/show_bug.cgi?id=43702
+ <video> element does not resize correctly
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::setReadyState): RenderVideo::videoSizeChanged is gone, just use
+ updateFromElement instead.
+ (WebCore::HTMLMediaElement::mediaPlayerDurationChanged): Ditto.
+ (WebCore::HTMLMediaElement::mediaPlayerSizeChanged): Ditto.
+
+ * html/HTMLVideoElement.cpp:
+ (WebCore::HTMLVideoElement::parseMappedAttribute): Clear the image loader and cached image when
+ the 'poster' attribute is changed and we aren't displaying a poster.
+
+ * rendering/RenderVideo.cpp:
+ (WebCore::RenderVideo::RenderVideo):
+ (WebCore::RenderVideo::intrinsicSizeChanged): videoSizeChanged -> updateIntrinsicSize.
+ (WebCore::RenderVideo::updateIntrinsicSize): Renamed from videoSizeChanged, calculate initial
+ intrinsic size with calculateIntrinsicSize
+ (WebCore::RenderVideo::calculateIntrinsicSize): New, calculate size according to current spec.
+ (WebCore::RenderVideo::imageChanged): Reset intrinsic size to default when poster fails to load.
+ (WebCore::RenderVideo::updatePlayer): Call updateIntrinsicSize.
+ * rendering/RenderVideo.h: Renamed videoSizeChanged to updateIntrinsicSize and make private.
+
+2010-08-09 Marcus Bulach <bulach@chromium.org>
+
+ Reviewed by Jeremy Orlow.
+
+ Fixes custom JS bindings for IDBCursor after r64828.
+ https://bugs.webkit.org/show_bug.cgi?id=43729
+
+ Build fix, no tests.
+
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSIDBAnyCustom.cpp:
+ (WebCore::toJS):
+ * storage/IDBObjectStore.h:
+
+2010-08-09 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r64993.
+ http://trac.webkit.org/changeset/64993
+ https://bugs.webkit.org/show_bug.cgi?id=43734
+
+ broke chromium compile (Requested by jamesr on #webkit).
+
+ * platform/graphics/chromium/CanvasLayerChromium.cpp:
+ (WebCore::CanvasLayerChromium::updateTextureContents):
+ * platform/graphics/chromium/CanvasLayerChromium.h:
+ * platform/graphics/skia/PlatformContextSkia.cpp:
+ (WebCore::PlatformContextSkia::~PlatformContextSkia):
+ (WebCore::PlatformContextSkia::setGraphicsContext3D):
+
+2010-08-09 James Robinson <jamesr@chromium.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ [chromium] Add a PrepareTextureCallback to the chromium canvas layer compositor to upload mixed-mode results before compositing
+ https://bugs.webkit.org/show_bug.cgi?id=43656
+
+ When compositing an accelerated canvas that is using both hardware and software drawing,
+ we need a callback before compositing the layer to make sure that we upload any software
+ drawn results to the texture. This will go away as soon as implement all draw calls
+ in hardware.
+
+ To test, run any canvas demo that runs in mixed mode and verifies that the software results
+ always show up.
+
+ * platform/graphics/chromium/CanvasLayerChromium.cpp:
+ (WebCore::CanvasLayerChromium::updateTextureContents):
+ * platform/graphics/chromium/CanvasLayerChromium.h:
+ (WebCore::CanvasLayerChromium::setPrepareTextureCallback):
+ * platform/graphics/skia/PlatformContextSkia.cpp:
+ (WebCore::PrepareTextureCallbackImpl::create):
+ (WebCore::PrepareTextureCallbackImpl::willPrepareTexture):
+ (WebCore::PrepareTextureCallbackImpl::PrepareTextureCallbackImpl):
+ (WebCore::PlatformContextSkia::setGraphicsContext3D):
+
+2010-08-09 Dominic Cooney <dominicc@google.com>
+
+ Reviewed by Adam Barth.
+
+ Moves window.open logic into the generic bindings.
+
+ This patch moves window.open logic from V8 into the generic
+ bindings so it could be shared with JSC. JSC sharing is not in
+ this patch. This patch is of the same flavor/intent as 33201.
+
+ https://bugs.webkit.org/show_bug.cgi?id=41392
+
+ * bindings/generic/BindingDOMWindow.h:
+ (WebCore::::createWindow):
+ (WebCore::::open):
+ (WebCore::::completeURL):
+ * bindings/generic/BindingSecurity.h:
+ (WebCore::::allowPopUp):
+ (WebCore::::shouldAllowNavigation):
+ * bindings/v8/V8Binding.h:
+ (WebCore::V8Binding::emptyScriptValue):
+ * bindings/v8/V8Utilities.cpp:
+ (WebCore::transferHiddenDependency):
+ (WebCore::processingUserGesture):
+ (WebCore::shouldAllowNavigation):
+ (WebCore::completeURL):
+ * bindings/v8/custom/V8ArrayBufferCustom.cpp:
+ * bindings/v8/custom/V8DOMWindowCustom.cpp:
+ (WebCore::V8DOMWindow::showModalDialogCallback):
+ (WebCore::V8DOMWindow::openCallback):
+ * bindings/v8/specialization/V8BindingState.cpp:
+ (WebCore::::getActiveFrame):
+ (WebCore::::getFirstFrame):
+ (WebCore::::processingUserGesture):
+ * bindings/v8/specialization/V8BindingState.h:
+ (WebCore::):
+
+2010-08-09 Marcus Bulach <bulach@chromium.org>
+
+ Reviewed by Darin Adler.
+
+ Fixes xcode project issues after r64828:
+ https://bugs.webkit.org/show_bug.cgi?id=43638
+
+ Build fix, no tests (sort-Xcode-project-file should not throw any warnings).
+
+ * WebCore.xcodeproj/project.pbxproj: fixed IDBCursor and related IndexedDB files, and re-ran sort-Xcode-project-file.
+
+2010-08-09 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: Remove callId argument from all backend agents' methods.
+ https://bugs.webkit.org/show_bug.cgi?id=43723
+
+ * inspector/CodeGeneratorInspector.pm:
+ * inspector/InspectorApplicationCacheAgent.cpp:
+ (WebCore::InspectorApplicationCacheAgent::getApplicationCaches):
+ * inspector/InspectorApplicationCacheAgent.h:
+ * inspector/InspectorBackend.cpp:
+ (WebCore::InspectorBackend::getProfilerLogLines):
+ (WebCore::InspectorBackend::clearConsoleMessages):
+ (WebCore::InspectorBackend::getDatabaseTableNames):
+ * inspector/InspectorBackend.h:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::getCookies):
+ (WebCore::InspectorController::getDOMStorageEntries):
+ (WebCore::InspectorController::setDOMStorageItem):
+ (WebCore::InspectorController::removeDOMStorageItem):
+ (WebCore::InspectorController::getProfileHeaders):
+ (WebCore::InspectorController::getProfile):
+ (WebCore::InspectorController::getResourceContent):
+ * inspector/InspectorController.h:
+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::getChildNodes):
+ (WebCore::InspectorDOMAgent::setAttribute):
+ (WebCore::InspectorDOMAgent::removeAttribute):
+ (WebCore::InspectorDOMAgent::removeNode):
+ (WebCore::InspectorDOMAgent::changeTagName):
+ (WebCore::InspectorDOMAgent::getOuterHTML):
+ (WebCore::InspectorDOMAgent::setOuterHTML):
+ (WebCore::InspectorDOMAgent::setTextNodeValue):
+ (WebCore::InspectorDOMAgent::getEventListenersForNode):
+ (WebCore::InspectorDOMAgent::getStyles):
+ (WebCore::InspectorDOMAgent::getAllStyles):
+ (WebCore::InspectorDOMAgent::getStyleSheet):
+ (WebCore::InspectorDOMAgent::getRuleRanges):
+ (WebCore::InspectorDOMAgent::getInlineStyle):
+ (WebCore::InspectorDOMAgent::getComputedStyle):
+ (WebCore::InspectorDOMAgent::applyStyleText):
+ (WebCore::InspectorDOMAgent::setStyleText):
+ (WebCore::InspectorDOMAgent::setStyleProperty):
+ (WebCore::InspectorDOMAgent::toggleStyleEnabled):
+ (WebCore::InspectorDOMAgent::setRuleSelector):
+ (WebCore::InspectorDOMAgent::addRule):
+ (WebCore::InspectorDOMAgent::pushNodeByPathToFrontend):
+ * inspector/InspectorDOMAgent.h:
+ * inspector/InspectorDebuggerAgent.cpp:
+ (WebCore::InspectorDebuggerAgent::setBreakpoint):
+ (WebCore::InspectorDebuggerAgent::editScriptSource):
+ (WebCore::InspectorDebuggerAgent::getScriptSource):
+ * inspector/InspectorDebuggerAgent.h:
+
+2010-08-09 François Sausset <sausset@gmail.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Take into account style color to draw MathML mroot radical.
+ https://bugs.webkit.org/show_bug.cgi?id=43628
+
+ Test: mathml/presentation/roots.xhtml
+
+ * mathml/RenderMathMLRoot.cpp:
+ (WebCore::RenderMathMLRoot::paint):
+
+2010-08-09 François Sausset <sausset@gmail.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Implement MathML deprecated style attributes
+ https://bugs.webkit.org/show_bug.cgi?id=43503
+
+ Test: mathml/presentation/attributes.xhtml
+
+ * mathml/MathMLElement.cpp:
+ (WebCore::MathMLElement::mapToEntry):
+ (WebCore::MathMLElement::parseMappedAttribute):
+ * mathml/mathattrs.in:
+
+2010-08-09 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Reviewed by Yury Semikhatsky.
+
+ Web Inspector: remove unnecessary did* methods from RemoteInspectorFrontend.
+ https://bugs.webkit.org/show_bug.cgi?id=43721
+
+ * inspector/CodeGeneratorInspector.pm:
+
+2010-08-09 Andreas Kling <andreas.kling@nokia.com>
+
+ Reviewed by Antonio Gomes.
+
+ Canvas: Fast-path for setting the already set color with setStrokeColor() and setFillColor()
+ https://bugs.webkit.org/show_bug.cgi?id=43718
+
+ Avoid creating CanvasStyle objects when setting the same fill or stroke color using
+ the WebKit-specific setters of CanvasRenderingContext2D.
+
+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::setStrokeColor):
+ (WebCore::CanvasRenderingContext2D::setFillColor):
+ * html/canvas/CanvasStyle.cpp:
+ (WebCore::CanvasStyle::isEquivalentColor):
+ * html/canvas/CanvasStyle.h: Added CanvasStyle::isEquivalentColor() overloads
+ for RGBA and CMYKA channel values.
+
+2010-08-09 Pavel Feldman <pfeldman@chromium.org>
+
+ Reviewed by Yury Semikhatsky.
+
+ Web Inspector: restore original last panel restore logic.
+
+ https://bugs.webkit.org/show_bug.cgi?id=43719
+
+ * inspector/front-end/inspector.js:
+ (WebInspector.showPanel):
+
+2010-08-09 Dumitru Daniliuc <dumi@chromium.org>
+
+ Unreviewed, fixing the builds after r64967.
+
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+
+2010-05-27 MORITA Hajime <morrita@google.com>
+
+ Reviewed by Ojan Vafai.
+
+ <http://webkit.org/b/36359>
+ Double clicking page's last editable inline element causes assertion failure.
+ <http://webkit.org/b/36360>
+ Double clicking page's first editable inline element cannot select a word.
+
+ nextBoundary() and previousBoundary() assumed that editable
+ boundaries are on block-level elements, But it can appear on
+ inline-level elements. So we start boundary look-up from the given
+ node, instead of the containingBlock of the given node.
+ Also, added TextIteratorEndsAtEditingBoundary to
+ BackwardsCharacterIterator, otherwise, the VisiblePosition
+ returned by BackwardsCharacterIterator might cross an editing
+ boundary.
+
+ Test: editing/selection/doubleclick-inline-first-last-contenteditable.html
+
+ * dom/Position.cpp:
+ (WebCore::Position::parentEditingBoundary): Added.
+ * dom/Position.h:
+ * editing/TextIterator.cpp:
+ (WebCore::TextIterator::TextIterator):
+ (WebCore::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator):
+ (WebCore::SimplifiedBackwardsTextIterator::advance):
+ (WebCore::SimplifiedBackwardsTextIterator::crossesEditingBoundary): Added.
+ (WebCore::SimplifiedBackwardsTextIterator::setCurrentNode): Added.
+ (WebCore::SimplifiedBackwardsTextIterator::clearCurrentNode): Added.
+ (WebCore::BackwardsCharacterIterator::BackwardsCharacterIterator):
+ * editing/TextIterator.h:
+ (WebCore::):
+ * editing/visible_units.cpp:
+ (WebCore::previousBoundary):
+ (WebCore::nextBoundary):
+
+2010-08-09 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Reviewed by Yury Semikhatsky.
+
+ WebInspector: Current implementation of showPanel is a bit complicated.
+ It is using internal enum for all the panels and this is the problem because
+ we should change a lot of code for a new panel.
+ https://bugs.webkit.org/show_bug.cgi?id=43711
+
+ * WebCore.exp.in:
+ * inspector/Inspector.idl:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::InspectorController):
+ (WebCore::InspectorController::storeLastActivePanel):
+ (WebCore::InspectorController::connectFrontend):
+ (WebCore::InspectorController::showPanel):
+ (WebCore::InspectorController::disconnectFrontend):
+ * inspector/InspectorController.h:
+ * inspector/InspectorFrontend.cpp:
+ * inspector/InspectorFrontend.h:
+ * inspector/front-end/ElementsTreeOutline.js:
+ (WebInspector.ElementsTreeElement.prototype.selectOnMouseDown):
+ * inspector/front-end/ExtensionServer.js:
+ (WebInspector.ExtensionServer.prototype._onRevealAndSelectResource):
+ * inspector/front-end/inspector.js:
+ (WebInspector.documentClick.followLink):
+ (WebInspector.documentClick):
+ (WebInspector.toggleSearchingForNode):
+ (WebInspector.showPanel):
+ (WebInspector.selectDatabase):
+ (WebInspector.selectDOMStorage):
+ (WebInspector.showProfileForURL):
+
+2010-08-09 Ariya Hidayat <ariya@sencha.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ [Qt] GraphicsContext::clipOut(IntRect) ignores the transformation matrix.
+ https://bugs.webkit.org/show_bug.cgi?id=43705
+
+ Just like clipOut(Path), which is taken care in r60796 already,
+ clipOut(IntRect) must transform the window bounding box properly.
+
+ * platform/graphics/qt/GraphicsContextQt.cpp:
+ (WebCore::GraphicsContext::clipOut):
+
+2010-08-09 François Sausset <sausset@gmail.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Implement mfenced MathML element
+ Update stretchy operator code to take into account new brackets and to tune layout parameters
+ https://bugs.webkit.org/show_bug.cgi?id=42472
+
+ Test: mathml/presentation/fenced.xhtml
+
+ * WebCore.xcodeproj/project.pbxproj:
+ * mathml/MathMLInlineContainerElement.cpp:
+ (WebCore::MathMLInlineContainerElement::MathMLInlineContainerElement):
+ (WebCore::MathMLInlineContainerElement::createRenderer):
+ * mathml/RenderMathMLFenced.cpp: Added.
+ (WebCore::RenderMathMLFenced::RenderMathMLFenced):
+ (WebCore::RenderMathMLFenced::updateFromElement):
+ (WebCore::RenderMathMLFenced::makeOperatorStyle):
+ (WebCore::RenderMathMLFenced::makeFences):
+ (WebCore::RenderMathMLFenced::addChild):
+ (WebCore::RenderMathMLFenced::layout):
+ * mathml/RenderMathMLFenced.h: Added.
+ * mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::RenderMathMLOperator):
+ (WebCore::RenderMathMLOperator::stretchToHeight):
+ (WebCore::):
+ (WebCore::RenderMathMLOperator::updateFromElement):
+ (WebCore::RenderMathMLOperator::createStackableStyle):
+ (WebCore::RenderMathMLOperator::createGlyph):
+
+2010-08-08 ryuan choi <ryuan.choi@samsung.com>
+
+ Reviewed by Darin Adler.
+
+ REGRESSION(64898,64949) build break because of wrong filename
+ https://bugs.webkit.org/show_bug.cgi?id=43701
+
+ add SVGPathStringSource.cpp and modify SVGPathSourceString.cpp to
+ SVGPathStringSource.cpp
+
+ simple fixing build break, so No new tests.
+
+ * CMakeLists.txt:
+
+2010-08-08 Ariya Hidayat <ariya@sencha.com>
+
+ Reviewed by Antonio Gomes.
+
+ Inconsistent Qt version checks
+ https://bugs.webkit.org/show_bug.cgi?id=43695
+
+ Use QT_VERSION_CHECK macro instead of encoded hex.
+
+ * platform/graphics/qt/ImageBufferQt.cpp:
+ (WebCore::getImageData):
+ * platform/network/qt/NetworkStateNotifierPrivate.h:
+ * platform/network/qt/NetworkStateNotifierQt.cpp:
+ * platform/network/qt/QNetworkReplyHandler.cpp:
+ (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
+ (WebCore::QNetworkReplyHandler::start):
+ * platform/qt/RenderThemeQt.cpp:
+ (WebCore::RenderThemeQt::paintMediaSliderTrack):
+
+2010-08-08 Csaba Osztrogonác <ossy@webkit.org>
+
+ Reviewed by Antonio Gomes.
+
+ Web Inspector: Fix warning in WebCore/inspector/InspectorDebuggerAgent.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=43698
+
+ * inspector/InspectorDebuggerAgent.cpp:
+ (WebCore::InspectorDebuggerAgent::editScriptSource): Add suggested parentheses.
+
+2010-08-05 MORITA Hajime <morrita@google.com>
+
+ Reviewed by Tony Chang.
+
+ Pasting should fire textInput event.
+ https://bugs.webkit.org/show_bug.cgi?id=42958
+
+ - Extended TextEvents to hold paste-specific parameters
+ - Did fire TextEvents at where we originally did immediate pastes.
+ - Factored out TextEvent handling from EventHandler::defaultTextInputEventHandler()
+ to Editor::handleTextEvent() because it's solely done by the editor.
+ - move actual pasting logic to Editor::handleTextEvent()
+
+ Test: editing/pasteboard/paste-text-events.html
+
+ * WebCore.exp.in:
+ * dom/TextEvent.cpp:
+ (WebCore::TextEvent::create):
+ (WebCore::TextEvent::createForPlainTextPaste):
+ (WebCore::TextEvent::createForFragmentPaste):
+ (WebCore::TextEvent::TextEvent):
+ * dom/TextEvent.h:
+ (WebCore::TextEvent::isPaste):
+ (WebCore::TextEvent::shouldSmartReplace):
+ (WebCore::TextEvent::shouldMatchStyle):
+ (WebCore::TextEvent::pastingFragment):
+ * editing/Editor.cpp:
+ (WebCore::Editor::handleTextEvent):
+ (WebCore::Editor::pasteAsPlainText):
+ (WebCore::Editor::pasteAsFragment):
+ (WebCore::Editor::pasteAsPlainTextWithPasteboard):
+ (WebCore::Editor::pasteWithPasteboard):
+ (WebCore::Editor::dispatchCPPEvent):
+ (WebCore::Editor::findEventTargetFromSelection):
+ * editing/Editor.h:
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::defaultTextInputEventHandler):
+
+2010-08-08 Kevin Ollivier <kevino@theolliviers.com>
+
+ [wx] Build fix, add member needed to compile Mac-specific font code.
+
+ * platform/graphics/wx/FontPlatformData.h:
+ (WebCore::FontPlatformData::ctFont):
+
+2010-08-08 Csaba Osztrogonác <ossy@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ [Qt] Fix warnings in WebCore/platform/WindowsKeyboardCodes.h
+ https://bugs.webkit.org/show_bug.cgi?id=43360
+
+ * platform/WindowsKeyboardCodes.h: Undef macros which are also defined in MinGW/include/winuser.h to aviod gcc redefinition warning
+
+2010-08-08 James Robinson <jamesr@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ Set the shouldLazyAttach flag to true in the tree builder's adoption agency algorithm
+ https://bugs.webkit.org/show_bug.cgi?id=43610
+
+ Sets the shouldLazyAttach flag to true for appendChild() calls inside the HTML tree
+ builder's adoption agency flag. This is a speedup assuming that nodes subjected
+ to the adoption agency are likely to be frequently reparented, and thus it is better
+ to delay creating the render tree until later (when hopefully the DOM is finalized).
+
+ On my mac pro this speeds up fast/parser/residual-style-hang.html by 2.6X.
+
+ * html/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
+
+2010-08-08 Nikita Vasilyev <me@elv1s.ru>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: speed-up Element.prototype.removeChildren
+ https://bugs.webkit.org/show_bug.cgi?id=43687
+
+ * inspector/front-end/utilities.js:
+ (Element.prototype.removeChildren):
+
+2010-08-08 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ WebInspector: remove hand written InspectorFrontend from almost all places.
+ https://bugs.webkit.org/show_bug.cgi?id=43630
+
+ * inspector/ConsoleMessage.cpp:
+ * inspector/InjectedScriptHost.cpp:
+ (WebCore::InjectedScriptHost::pushNodePathToFrontend):
+ * inspector/InjectedScriptHost.h:
+ * inspector/Inspector.idl:
+ * inspector/InspectorBackend.cpp:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::inspectedPageDestroyed):
+ (WebCore::InspectorController::inspect):
+ (WebCore::InspectorController::focusNode):
+ (WebCore::InspectorController::windowVisible):
+ (WebCore::InspectorController::addConsoleMessage):
+ (WebCore::InspectorController::inspectedWindowScriptObjectCleared):
+ (WebCore::InspectorController::setSearchingForNode):
+ (WebCore::InspectorController::setMonitoringXHR):
+ (WebCore::InspectorController::connectFrontend):
+ (WebCore::InspectorController::show):
+ (WebCore::InspectorController::showPanel):
+ (WebCore::InspectorController::close):
+ (WebCore::InspectorController::disconnectFrontend):
+ (WebCore::InspectorController::populateScriptObjects):
+ (WebCore::InspectorController::didCommitLoad):
+ (WebCore::InspectorController::enableResourceTracking):
+ (WebCore::InspectorController::disableResourceTracking):
+ (WebCore::InspectorController::startTimelineProfiler):
+ (WebCore::InspectorController::stopTimelineProfiler):
+ (WebCore::InspectorController::postWorkerNotificationToFrontend):
+ (WebCore::InspectorController::didCreateWorker):
+ (WebCore::InspectorController::didDestroyWorker):
+ (WebCore::InspectorController::toggleRecordButton):
+ (WebCore::InspectorController::enableProfiler):
+ (WebCore::InspectorController::disableProfiler):
+ (WebCore::InspectorController::enableDebuggerFromFrontend):
+ (WebCore::InspectorController::enableDebugger):
+ (WebCore::InspectorController::disableDebugger):
+ (WebCore::InspectorController::evaluateForTestInFrontend):
+ * inspector/InspectorFrontend.cpp:
+ * inspector/InspectorFrontend.h:
+ * inspector/InspectorFrontendClientLocal.cpp:
+ * inspector/TimelineRecordFactory.cpp:
+
+2010-08-08 Dan Bernstein <mitz@apple.com>
+
+ Try to fix the Chromium Mac build after r64915.
+
+ * platform/graphics/chromium/FontPlatformDataChromiumMac.mm:
+ (WebCore::FontPlatformData::ctFont): Copied from mac/FontPlatformDataMac.mm.
+
+2010-08-08 Dirk Schulze <krit@webkit.org>
+
+ Reviewed by Nikolas Zimmermann.
+
+ Add missing String builder for SVGPathParser
+ https://bugs.webkit.org/show_bug.cgi?id=43682
+
+ Introduces SVGPathStringBuilder. SVGPathParser clients, like normalized and unaltered
+ SVGPathSegLists or SVGPathByteStreams, can be parsed and transformed to a string.
+ StringBuilder can create a string of individual strings, seperated by spaces now.
+ Share more code in SVGPathParserFactory and use a common general concept to manage SVG path
+ data parsing.
+
+ Doesn't affect any tests.
+
+ * Android.mk:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * platform/text/StringBuilder.cpp:
+ (WebCore::StringBuilder::toString): Added possibility to use a space between individual strings.
+ * platform/text/StringBuilder.h: Cleanup according to WebKit style.
+ (WebCore::):
+ (WebCore::StringBuilder::StringBuilder):
+ (WebCore::StringBuilder::setNonNull):
+ (WebCore::StringBuilder::isNull):
+ * svg/SVGAllInOne.cpp:
+ * svg/SVGPathBuilder.h:
+ (WebCore::SVGPathBuilder::cleanup): Clear all references.
+ * svg/SVGPathByteStreamBuilder.h:
+ (WebCore::SVGPathByteStreamBuilder::cleanup): dito.
+ * svg/SVGPathConsumer.h:
+ * svg/SVGPathParser.cpp:
+ (WebCore::SVGPathParser::cleanup): dito.
+ * svg/SVGPathParser.h:
+ * svg/SVGPathParserFactory.cpp: Cleanup of factory. More code get shared.
+ (WebCore::globalSVGPathBuilder):
+ (WebCore::globalSVGPathSegListBuilder):
+ (WebCore::globalSVGPathByteStreamBuilder):
+ (WebCore::globalSVGPathStringBuilder):
+ (WebCore::globalSVGPathParser):
+ (WebCore::SVGPathParserFactory::buildPathFromString):
+ (WebCore::SVGPathParserFactory::buildPathFromByteStream):
+ (WebCore::SVGPathParserFactory::buildSVGPathSegListFromString):
+ (WebCore::SVGPathParserFactory::buildSVGPathSegListFromByteStream):
+ (WebCore::SVGPathParserFactory::buildStringFromByteStream):
+ (WebCore::SVGPathParserFactory::buildSVGPathByteStreamFromString):
+ * svg/SVGPathParserFactory.h:
+ * svg/SVGPathSegListBuilder.h:
+ (WebCore::SVGPathSegListBuilder::cleanup):
+ * svg/SVGPathStringBuilder.cpp: Added. Build string from parsed SVG data.
+ (WebCore::SVGPathStringBuilder::SVGPathStringBuilder):
+ (WebCore::SVGPathStringBuilder::moveTo):
+ (WebCore::SVGPathStringBuilder::lineTo):
+ (WebCore::SVGPathStringBuilder::lineToHorizontal):
+ (WebCore::SVGPathStringBuilder::lineToVertical):
+ (WebCore::SVGPathStringBuilder::curveToCubic):
+ (WebCore::SVGPathStringBuilder::curveToCubicSmooth):
+ (WebCore::SVGPathStringBuilder::curveToQuadratic):
+ (WebCore::SVGPathStringBuilder::curveToQuadraticSmooth):
+ (WebCore::SVGPathStringBuilder::arcTo):
+ (WebCore::SVGPathStringBuilder::closePath):
+ * svg/SVGPathStringBuilder.h: Added.
+ (WebCore::SVGPathStringBuilder::cleanup):
+ (WebCore::SVGPathStringBuilder::result):
+
+2010-08-08 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ cross_fuzz WebCore::SelectionController::isFocusedAndActive ReadAV@NULL (9e865de49b1800ec790dcc35d8ebd069)
+ https://bugs.webkit.org/show_bug.cgi?id=43040
+
+ The pointer from Document to Frame can be null. See http://webkit.org/coding/major-objects.html.
+
+ * css/CSSStyleSelector.cpp:
+ (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
+
+2010-08-08 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ frame()->selection() can't be null
+ https://bugs.webkit.org/show_bug.cgi?id=43681
+
+ SelectionController is a component of Frame. If frame is non-null, it
+ can't possibly be null.
+
+ * html/HTMLAnchorElement.cpp:
+ (WebCore::HTMLAnchorElement::setActive):
+
+2010-08-08 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ SVGLength uses ASSERTs to validate user input
+ https://bugs.webkit.org/show_bug.cgi?id=43680
+
+ ASSERTs aren't in release builds, so we can't use them to validate user
+ input! We've seen a bunch of examples of this in SVG code. It might
+ be worth auditing all the code to remove this misguided pattern.
+
+ Test: svg/dom/svg-length-units.html
+
+ * svg/SVGLength.cpp:
+ (WebCore::SVGLength::newValueSpecifiedUnits):
+ (WebCore::SVGLength::convertToSpecifiedUnits):
+
+2010-08-07 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Sam Weinig.
+
+ Empty strings can have more than one ref
+ https://bugs.webkit.org/show_bug.cgi?id=43666
+
+ These asserts are trying to say that we have a thread-safe copy of the
+ string, but they're not accurate for empty strings because we use a
+ special static empty string that magically has infinite refs.
+
+ * storage/OriginUsageRecord.cpp:
+ (WebCore::OriginUsageRecord::addDatabase):
+ (WebCore::OriginUsageRecord::markDatabase):
+
+2010-08-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+ Reviewed by Eric Seidel.
+
+ [WML] Add KURL parameter to WMLDocument::create()
+ https://bugs.webkit.org/show_bug.cgi?id=43173
+
+ To fix build break in WML, url parameter is added. Because,
+ Document class has url parameter.
+
+ * wml/WMLDocument.cpp:
+ (WebCore::WMLDocument::WMLDocument):
+ * wml/WMLDocument.h:
+ (WebCore::WMLDocument::create): Add an url parameter to create() method
+
+2010-08-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Reviewed by Eric Seidel.
+
+ [WML] Change getIDAttribute() with getIdAttribute()
+ https://bugs.webkit.org/show_bug.cgi?id=43175
+
+ Change getIDAttribute() with getIdAttribute() because function
+ name was changed.
+
+ * wml/WMLCardElement.cpp:
+ (WebCore::WMLCardElement::findNamedCardInDocument): Change getIDAttribute() with getIdAttribute().
+
+2010-08-07 Mihai Parparita <mihaip@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ WebTiming does not take page cache into account
+ https://bugs.webkit.org/show_bug.cgi?id=42772
+
+ When restoring a page from the page cache, reset its DocumentLoadTiming
+ struct and record navigationStart.
+
+ Test: fast/events/onunload-back-to-page-cache.html
+
+ * loader/DocumentLoadTiming.h: removed Noncopyable, since it's just a simple struct.
+ * loader/DocumentLoader.h:
+ (WebCore::DocumentLoader::resetTiming): Added method.
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::stopLoading): Uncommented assert.
+ (WebCore::FrameLoader::loadProvisionalItemFromCachedPage): Added resetTiming() call.
+
+2010-08-07 Zoltan Horvath <zoltan@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ Allow custom memory allocation control for EventHandlingState struct
+ https://bugs.webkit.org/show_bug.cgi?id=43548
+
+ Inherits the following class from FastAllocBase because it is
+ instantiated by 'new':
+
+ struct name - instantiated at: WebCore/
+ EventHandlingState - html/HTMLInputElement.cpp:2051
+
+ * html/HTMLInputElement.cpp:
+
+2010-08-07 Jay Civelli <jcivelli@chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ [Chromium] Remove unecessary focus code.
+ https://bugs.webkit.org/show_bug.cgi?id=43542
+
+ * platform/chromium/ChromiumBridge.h:
+ * platform/chromium/WidgetChromium.cpp:
+ (WebCore::Widget::setFocus):
+
+2010-08-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Reviewed by Eric Seidel.
+
+ [WML] Include FormDataBuilder.h in WMLGoElement.h
+ https://bugs.webkit.org/show_bug.cgi?id=43177
+
+ To fix build breaks in WMLGoElement.cpp, FormDataBuilder.h needs to be included.
+
+ * wml/WMLGoElement.cpp: Include FormDataBuilder.h
+
+2010-08-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Reviewed by Eric Seidel.
+
+ [WML] Add dummy argument to SelectElement::defaultEventHandler() in WMLSelectElement
+ https://bugs.webkit.org/show_bug.cgi?id=43176
+
+ * wml/WMLSelectElement.cpp:
+ (WebCore::WMLSelectElement::defaultEventHandler): Sets NULL parameter to SelectElement::defaultEventHandler.
+
+2010-08-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Reviewed by Eric Seidel.
+
+ [WML] Change DocumentParser with ScriptableDocumentParser in WMLDocument
+ https://bugs.webkit.org/show_bug.cgi?id=43174
+
+ * wml/WMLDocument.cpp:
+ (WebCore::WMLDocument::finishedParsing): Change DocumentParser with ScriptableDocumentParser.
+
+2010-08-07 Dan Bernstein <mitz@apple.com>
+
+ Reviewed by Sam Weinig.
+
+ Use ctFont() to get the CTFont.
+
+ * platform/graphics/mac/FontMac.mm:
+ (WebCore::showGlyphsWithAdvances):
+
+2010-08-07 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Sam Weinig.
+
+ document->documentElement can always be null
+ https://bugs.webkit.org/show_bug.cgi?id=43677
+
+ This ASSERT is bogus.
+
+ * css/StyleMedia.cpp:
+ (WebCore::StyleMedia::matchMedium):
+
+2010-08-07 Dan Bernstein <mitz@apple.com>
+
+ Reviewed by Anders Carlsson.
+
+ <rdar://problem/8285090> First word on a line doesn’t hyphenate properly
+ https://bugs.webkit.org/show_bug.cgi?id=43679
+
+ Test: fast/text/hyphenate-first-word.html
+
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::tryHyphenating): The character at lastSpace is not necessarily a whitespace character
+ before the current word. It can also be part of the word, such as when the word is the first
+ one on the line. Include the charcater at lastSpace in the string passed to lastHyphenLocation().
+
+2010-08-07 Dan Bernstein <mitz@apple.com>
+
+ Build fix
+
+ * platform/graphics/SimpleFontData.h:
+
+2010-08-07 Dan Bernstein <mitz@apple.com>
+
+ Reviewed by Anders Carlsson.
+
+ Created a separate SimpleFontData constructor exclusively for SVG fonts and moved the CTFontRef
+ from SimpleFontData to FontPlatformData.
+ https://bugs.webkit.org/show_bug.cgi?id=43674
+
+ * config.h: Moved definitions of WTF_USE_CORE_TEXT and WTF_USE_ATSUI from here to wtf/Platform.h.
+ * css/CSSFontFaceSource.cpp:
+ (WebCore::CSSFontFaceSource::getFontData): Use new SimpleFontData constructor for SVG fonts.
+ * platform/graphics/SimpleFontData.cpp:
+ (WebCore::SimpleFontData::SimpleFontData): Separated into two constructors, one for
+ PlatformFontData-based fonts and one for SVG fonts.
+ * platform/graphics/SimpleFontData.h: Moved the m_CTFont member variable and the getCTFont()
+ accessor from here…
+ * platform/graphics/mac/FontPlatformData.h: …to here, renaming the latter ctFont().
+ * platform/graphics/mac/FontPlatformDataMac.mm:
+ (WebCore::FontPlatformData::FontPlatformData): Copy m_CTFont.
+ (WebCore::FontPlatformData::operator=): Copy m_CTFont.
+ (WebCore::FontPlatformData::setFont): Clear m_CTFont.
+ (WebCore::FontPlatformData::ctFont): Moved here from SimpleFontDataCoreText.cpp and renamed.
+ * platform/graphics/mac/SimpleFontDataCoreText.cpp:
+ (WebCore::SimpleFontData::getCFStringAttributes): Updated to use FontPlatformData::ctFont().
+ * svg/SVGFontData.cpp:
+ (WebCore::SVGFontData::SVGFontData): Added an assertion.
+
+2010-08-07 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ Regression: Memory corruption in tree builder
+ https://bugs.webkit.org/show_bug.cgi?id=43672
+
+ Turns out this ASSERT was wrong and we need the branch. Yay for
+ test-driven development.
+
+ * html/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
+
+2010-08-07 Dirk Schulze <krit@webkit.org>
+
+ Unreviewed build-fix.
+
+ Come up with a more efficient way to represent Path segments
+ https://bugs.webkit.org/show_bug.cgi?id=41159
+
+ Landed wrong version of the patch.
+
+ * svg/SVGPathByteStreamSource.cpp:
+ (WebCore::SVGPathByteStreamSource::SVGPathByteStreamSource):
+ (WebCore::SVGPathByteStreamSource::hasMoreData):
+ * svg/SVGPathByteStreamSource.h:
+ (WebCore::SVGPathByteStreamSource::moveToNextToken):
+ * svg/SVGPathParserFactory.cpp:
+ (WebCore::SVGPathParserFactory::buildSVGPathSegListFromByteStream):
+ (WebCore::SVGPathParserFactory::createSVGPathByteStreamFromString):
+ * svg/SVGPathParserFactory.h:
+
+2010-08-07 Dirk Schulze <krit@webkit.org>
+
+ Reviewed by Nikolas Zimmermann.
+
+ Come up with a more efficient way to represent Path segments
+ https://bugs.webkit.org/show_bug.cgi?id=41159
+
+ Introduce SVGPathByteStream as a fast and efficient way to organize the synchronization
+ of Path, SVG path data string and SVGPathSegList in normalized and unaltered modes.
+ Extended SVGPathParserFactory to accept SVGPathByteStreams as input source and to create
+ a SVGPathByteStream from a SVG path data string.
+
+ Doesn't affect any tests.
+
+ * Android.mk:
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * svg/SVGAllInOne.cpp:
+ * svg/SVGPathByteStream.h: Added.
+ (WebCore::):
+ (WebCore::SVGPathByteStream::create):
+ (WebCore::SVGPathByteStream::data):
+ (WebCore::SVGPathByteStream::begin):
+ (WebCore::SVGPathByteStream::end):
+ (WebCore::SVGPathByteStream::append):
+ (WebCore::SVGPathByteStream::clear):
+ (WebCore::SVGPathByteStream::isEmpty):
+ (WebCore::SVGPathByteStream::SVGPathByteStream):
+ * svg/SVGPathByteStreamBuilder.cpp: Added.
+ (WebCore::SVGPathByteStreamBuilder::SVGPathByteStreamBuilder):
+ (WebCore::SVGPathByteStreamBuilder::moveTo):
+ (WebCore::SVGPathByteStreamBuilder::lineTo):
+ (WebCore::SVGPathByteStreamBuilder::lineToHorizontal):
+ (WebCore::SVGPathByteStreamBuilder::lineToVertical):
+ (WebCore::SVGPathByteStreamBuilder::curveToCubic):
+ (WebCore::SVGPathByteStreamBuilder::curveToCubicSmooth):
+ (WebCore::SVGPathByteStreamBuilder::curveToQuadratic):
+ (WebCore::SVGPathByteStreamBuilder::curveToQuadraticSmooth):
+ (WebCore::SVGPathByteStreamBuilder::arcTo):
+ (WebCore::SVGPathByteStreamBuilder::closePath):
+ * svg/SVGPathByteStreamBuilder.h: Added.
+ (WebCore::SVGPathByteStreamBuilder::setCurrentByteStream):
+ (WebCore::SVGPathByteStreamBuilder::writeType):
+ (WebCore::SVGPathByteStreamBuilder::writeFlag):
+ (WebCore::SVGPathByteStreamBuilder::writeFloat):
+ (WebCore::SVGPathByteStreamBuilder::writeFloatPoint):
+ (WebCore::SVGPathByteStreamBuilder::writeSegmentType):
+ * svg/SVGPathByteStreamSource.cpp: Added.
+ (WebCore::SVGPathByteStreamSource::SVGPathByteStreamSource):
+ (WebCore::SVGPathByteStreamSource::~SVGPathByteStreamSource):
+ (WebCore::SVGPathByteStreamSource::hasMoreData):
+ (WebCore::SVGPathByteStreamSource::parseFloat):
+ (WebCore::SVGPathByteStreamSource::parseFlag):
+ (WebCore::SVGPathByteStreamSource::parseSVGSegmentType):
+ (WebCore::SVGPathByteStreamSource::nextCommand):
+ * svg/SVGPathByteStreamSource.h: Added.
+ (WebCore::SVGPathByteStreamSource::create):
+ (WebCore::SVGPathByteStreamSource::readType):
+ (WebCore::SVGPathByteStreamSource::readFlag):
+ (WebCore::SVGPathByteStreamSource::readFloat):
+ (WebCore::SVGPathByteStreamSource::readSVGSegmentType):
+ (WebCore::SVGPathByteStreamSource::readFloatPoint):
+ * svg/SVGPathParserFactory.cpp:
+ (WebCore::globalSVGPathByteStreamBuilder):
+ (WebCore::SVGPathParserFactory::buildPathFromByteStream):
+ (WebCore::SVGPathParserFactory::buildSVGPathSegListFromByteStream):
+ (WebCore::SVGPathParserFactory::buildSVGPathByteStreamFromString):
+ * svg/SVGPathParserFactory.h:
+
+2010-08-07 Dirk Schulze <krit@webkit.org>
+
+ Not reviewed. Sort Xcode project file.
+
+ * WebCore.xcodeproj/project.pbxproj:
+
+2010-08-07 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r64904.
+ http://trac.webkit.org/changeset/64904
+ https://bugs.webkit.org/show_bug.cgi?id=43671
+
+ Broke the Qt Windows builders. (Requested by bbandix on
+ #webkit).
+
+ * WebCore.pri:
+ * WebCore.pro:
+ * features.pri: Removed.
+
+2010-08-07 Balazs Kelemen <kb@inf.u-szeged.hu>
+
+ Reviewed by Eric Seidel.
+
+ [Qt] Build WebKit2 into a static lib
+
+ https://bugs.webkit.org/show_bug.cgi?id=43621
+
+ Just build changes so no new tests.
+
+ * WebCore.pri: Moved feature detection logic into features.pri since we need this in WebKit2.pro as well.
+ * WebCore.pro: Moved the specification of the WebKit2 build to WebKit2.pro. Link against the static lib.
+ * features.pri: Added.
+
+2010-08-07 Nikolas Zimmermann <nzimmermann@rim.com>
+
+ Reviewed by Daniel Bates.
+
+ Pattern fill with image not rendered after reload
+ https://bugs.webkit.org/show_bug.cgi?id=41596
+
+ Fixed by a one-liner. Instead of just invalidating it's own resources, images also have to update
+ resources in the ancestor chain, if imageChanged() has been called (for example, a slow loading image)
+
+ Test: http/tests/misc/slow-loading-image-in-pattern.html
+
+ * rendering/RenderSVGImage.cpp:
+ (WebCore::RenderSVGImage::imageChanged):
+
+2010-08-06 Dirk Schulze <krit@webkit.org>
+
+ Reviewed by Nikolas Zimmermann.
+
+ Generalize SVGPathParser to allow more than just strings as input source
+ https://bugs.webkit.org/show_bug.cgi?id=43618
+
+ Generalize SVGPathParser, by allowing different parsing sources than just strings.
+ For now only a SVGPathStringSource is available, parsing from bytestreams follows soon.
+ Each client that wants to parse strings, like Path or SVGPathSegList objects, only
+ needs to use the new central SVGPathParserFactory, which glues consumer and sources together.
+ Moved the SVGPathSegType enum from SVGPathSeg class in WebCore namespace, for
+ easier access throughout the SVG code.
+
+ Doesn't affect any tests.
+
+ * Android.mk:
+ * CMakeLists.txt
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj
+ * svg/SVGAllInOne.cpp:
+ * svg/SVGAnimateElement.cpp:
+ (WebCore::SVGAnimateElement::calculateFromAndToValues):
+ * svg/SVGAnimateMotionElement.cpp:
+ (WebCore::SVGAnimateMotionElement::parseMappedAttribute):
+ * svg/SVGGlyphElement.cpp:
+ (WebCore::parsePathData):
+ * svg/SVGPathBuilder.cpp:
+ (WebCore::SVGPathBuilder::SVGPathBuilder):
+ (WebCore::SVGPathBuilder::moveTo):
+ (WebCore::SVGPathBuilder::lineTo):
+ (WebCore::SVGPathBuilder::curveToCubic):
+ (WebCore::SVGPathBuilder::closePath):
+ * svg/SVGPathBuilder.h:
+ (WebCore::SVGPathBuilder::setCurrentPath):
+ (WebCore::SVGPathBuilder::arcTo):
+ * svg/SVGPathConsumer.h:
+ * svg/SVGPathElement.cpp:
+ (WebCore::SVGPathElement::parseMappedAttribute):
+ * svg/SVGPathParser.cpp:
+ (WebCore::SVGPathParser::SVGPathParser):
+ (WebCore::SVGPathParser::parseClosePathSegment):
+ (WebCore::SVGPathParser::parseMoveToSegment):
+ (WebCore::SVGPathParser::parseLineToSegment):
+ (WebCore::SVGPathParser::parseLineToHorizontalSegment):
+ (WebCore::SVGPathParser::parseLineToVerticalSegment):
+ (WebCore::SVGPathParser::parseCurveToCubicSegment):
+ (WebCore::SVGPathParser::parseCurveToCubicSmoothSegment):
+ (WebCore::SVGPathParser::parseCurveToQuadraticSegment):
+ (WebCore::SVGPathParser::parseCurveToQuadraticSmoothSegment):
+ (WebCore::SVGPathParser::parseArcToSegment):
+ (WebCore::SVGPathParser::parsePathDataFromSource):
+ (WebCore::SVGPathParser::decomposeArcToCubic):
+ * svg/SVGPathParser.h:
+ (WebCore::SVGPathParser::setCurrentConsumer):
+ * svg/SVGPathParserFactory.cpp: Added.
+ (WebCore::globalSVGPathBuilder):
+ (WebCore::globalSVGPathSegListBuilder):
+ (WebCore::globalSVGPathParser):
+ (WebCore::SVGPathParserFactory::self):
+ (WebCore::SVGPathParserFactory::SVGPathParserFactory):
+ (WebCore::SVGPathParserFactory::~SVGPathParserFactory):
+ (WebCore::SVGPathParserFactory::buildPathFromString):
+ (WebCore::SVGPathParserFactory::buildSVGPathSegListFromString):
+ * svg/SVGPathParserFactory.h: Added.
+ * svg/SVGPathSeg.h:
+ (WebCore::):
+ (WebCore::SVGPathSeg::~SVGPathSeg):
+ (WebCore::SVGPathSeg::):
+ (WebCore::SVGPathSeg::pathSegType):
+ (WebCore::SVGPathSeg::pathSegTypeAsLetter):
+ (WebCore::SVGPathSeg::toString):
+ (WebCore::SVGPathSeg::associatedAttributeName):
+ (WebCore::SVGPathSeg::SVGPathSeg):
+ (WebCore::SVGPathSegSingleCoord::SVGPathSegSingleCoord):
+ (WebCore::SVGPathSegSingleCoord::setX):
+ (WebCore::SVGPathSegSingleCoord::x):
+ (WebCore::SVGPathSegSingleCoord::setY):
+ (WebCore::SVGPathSegSingleCoord::y):
+ (WebCore::SVGPathSegSingleCoord::toString):
+ * svg/SVGPathSegList.cpp:
+ (WebCore::SVGPathSegList::getPathSegAtLength):
+ (WebCore::SVGPathSegList::toPathData):
+ (WebCore::SVGPathSegList::createAnimated):
+ * svg/SVGPathSegListBuilder.cpp:
+ (WebCore::SVGPathSegListBuilder::SVGPathSegListBuilder):
+ (WebCore::SVGPathSegListBuilder::moveTo):
+ (WebCore::SVGPathSegListBuilder::lineTo):
+ (WebCore::SVGPathSegListBuilder::curveToCubic):
+ (WebCore::SVGPathSegListBuilder::curveToCubicSmooth):
+ (WebCore::SVGPathSegListBuilder::curveToQuadratic):
+ (WebCore::SVGPathSegListBuilder::curveToQuadraticSmooth):
+ (WebCore::SVGPathSegListBuilder::arcTo):
+ * svg/SVGPathSegListBuilder.h:
+ (WebCore::SVGPathSegListBuilder::setCurrentSVGPathSegList):
+ * svg/SVGPathSource.h: Added.
+ (WebCore::SVGPathSource::~SVGPathSource):
+ (WebCore::SVGPathSource::SVGPathSource):
+ * svg/SVGPathStringSource.cpp: Added.
+ (WebCore::SVGPathStringSource::SVGPathStringSource):
+ (WebCore::SVGPathStringSource::~SVGPathStringSource):
+ (WebCore::SVGPathStringSource::endOfStream):
+ (WebCore::SVGPathStringSource::parseFloat):
+ (WebCore::SVGPathStringSource::parseFlag):
+ (WebCore::SVGPathStringSource::skipSpaces):
+ (WebCore::SVGPathStringSource::parseSVGSegmentType):
+ (WebCore::SVGPathStringSource::hasRemainingCoordinatesInCurrentCommand):
+ * svg/SVGPathStringSource.h: Added.
+ (WebCore::SVGPathStringSource::create):
+
+2010-08-06 Robert Hogan <robert@webkit.org>
+
+ Reviewed by Adam Barth.
+
+ Define setPrivateBrowsingEnabled()
+ https://bugs.webkit.org/show_bug.cgi?id=42283
+
+ Define the scope of 'private browsing' in WebKit
+ See also https://bugs.webkit.org/show_bug.cgi?id=41801
+
+ * page/Settings.h:
+
+2010-08-06 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ REGRESSION (r64712): YouTube video pages have contents of <noembed> elements overlapping the video description
+ https://bugs.webkit.org/show_bug.cgi?id=43605
+
+ The old parser used to drop <noembed> on the floor. We're supposed to
+ add it to the DOM, but we don't want to create a renderer for it.
+
+ * html/HTMLElement.cpp:
+ (WebCore::HTMLElement::rendererIsNeeded):
+
+2010-08-06 Tony Gentilcore <tonyg@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ Fix style violations in Document
+ https://bugs.webkit.org/show_bug.cgi?id=43657
+
+ No new tests because no new functionality.
+
+ * dom/Document.cpp:
+ (WebCore::acceptsEditingFocus):
+ (WebCore::Document::Document):
+ (WebCore::Document::importNode):
+ (WebCore::Document::adoptNode):
+ (WebCore::Document::getElementById):
+ (WebCore::Document::readyState):
+ (WebCore::Document::createTreeWalker):
+ (WebCore::Document::shouldScheduleLayout):
+ (WebCore::Document::nextFocusableNode):
+ (WebCore::Document::previousFocusableNode):
+ (WebCore::Document::nodeAbsIndex):
+ (WebCore::Document::nodeWithAbsIndex):
+ (WebCore::Document::childTypeAllowed):
+ (WebCore::Document::canReplaceChild):
+ (WebCore::Document::recalcStyleSelector):
+ (WebCore::Document::setFocusedNode):
+ (WebCore::Document::attachNodeIterator):
+ (WebCore::Document::detachNodeIterator):
+ (WebCore::Document::parseQualifiedName):
+ (WebCore::Document::getImageMap):
+ (WebCore::Document::setInPageCache):
+ (WebCore::Document::addMarker):
+ (WebCore::Document::copyMarkers):
+ (WebCore::Document::shiftMarkers):
+ (WebCore::Document::setMarkersActive):
+ (WebCore::Document::parentDocument):
+ (WebCore::Document::topDocument):
+ (WebCore::FormElementKeyHash::hash):
+ (WebCore::Document::initSecurityContext):
+ * dom/Document.h:
+ (WebCore::Document::incDOMTreeVersion):
+ (WebCore::Document::domTreeVersion):
+
+2010-08-06 Eric Carlson <eric.carlson@apple.com>
+
+ Unreviewed, release Qt build fix.
+
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::containsPaintedContent): Guard call to toRenderVideo()
+ with #if ENABLE(VIDEO).
+
+2010-08-06 Eric Carlson <eric.carlson@apple.com>
+
+ Reviewed by Simon Fraser.
+
+ HTML5 "video" tag with poster frame defined "flashes" right before movie displays
+ https://bugs.webkit.org/show_bug.cgi?id=37591
+ <rdar://problem/5650561>
+
+ If a video element has a poster frame, display it until the playback is requested or the movie's
+ time is changed.
+
+ Test: compositing/video/video-poster.html
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize m_displayMode.
+ (WebCore::HTMLMediaElement::prepareForLoad): Set m_displayMode to Unknown.
+ (WebCore::HTMLMediaElement::loadResource): Call updateDisplayState to let it set configure
+ the poster, if necessary.
+ (WebCore::HTMLMediaElement::noneSupported): updatePosterImage -> updateDisplayState.
+ (WebCore::HTMLMediaElement::setNetworkState): Ditto.
+ (WebCore::HTMLMediaElement::setReadyState): Ditto.
+ (WebCore::HTMLMediaElement::finishSeek): Set display mode to Video so a video frame will be
+ displayed if a poster is currently visible.
+ (WebCore::HTMLMediaElement::mediaPlayerRepaint): updatePosterImage -> updateDisplayState.
+ (WebCore::HTMLMediaElement::updatePlayState): Set display mode to Video.
+ * html/HTMLMediaElement.h:
+ (WebCore::HTMLMediaElement::displayMode): New.
+ (WebCore::HTMLMediaElement::setDisplayMode): Ditto.
+ (WebCore::HTMLMediaElement::updateDisplayState): Ditto.
+
+ * html/HTMLVideoElement.cpp:
+ (WebCore::HTMLVideoElement::HTMLVideoElement): Remove m_shouldDisplayPosterImage.
+ (WebCore::HTMLVideoElement::attach): Call shouldDisplayPosterImage instead of checking
+ m_shouldDisplayPosterImage directly.
+ (WebCore::HTMLVideoElement::detach): Ditto.
+ (WebCore::HTMLVideoElement::parseMappedAttribute): Set m_displayMode to Unknown before calling
+ updateDisplayState so shouldDisplayPosterImage() will return the correct result. Remove the
+ PLUGIN_PROXY_FOR_VIDEO code, it is now in updateDisplayState.
+ (WebCore::HTMLVideoElement::setDisplayMode): Renamed from updatePosterImage and rework logic
+ so we tell the media engine it is OK to display video frames when there is no poster, or
+ once the media engine has something to display and the movie has started or seeked.
+ (WebCore::HTMLVideoElement::updateDisplayState): New, manage display mode based on poster
+ attribute.
+ * html/HTMLVideoElement.h:
+ (WebCore::HTMLVideoElement::shouldDisplayPosterImage):
+
+ * platform/graphics/MediaPlayer.cpp:
+ (WebCore::MediaPlayer::prepareForRendering): New, call media engine's prepareForRendering.
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
+ (WebCore::MediaPlayerPrivateInterface::prepareForRendering):
+
+ * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
+ * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
+ (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): Initialize m_isAllowedToRender.
+ (WebCore::MediaPlayerPrivate::setUpVideoRendering):
+ (WebCore::MediaPlayerPrivate::isReadyForVideoSetup): Renamed from isReadyForRendering.
+ (WebCore::MediaPlayerPrivate::prepareForRendering): New, set m_isAllowedToRender and
+ inform the client that render tree should be updated so we correctly switch from showing
+ the poster, which often doens't use a layer, to showing video frames, which do.
+ (WebCore::MediaPlayerPrivate::updateStates): Don't call setUpVideoRendering until
+ isReadyForVideoSetup() returns true.
+ (WebCore::MediaPlayerPrivate::supportsAcceleratedRendering): isReadyForRendering -> isReadyForVideoSetup
+
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::containsPaintedContent): Only consider video when displaying
+ video frames so a poster won't force compositing mode.
+
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::requiresCompositingForVideo): Ditto.
+
+ * rendering/RenderVideo.cpp:
+ (WebCore::RenderVideo::shouldDisplayVideo): New, return true when not displaying a poster.
+ * rendering/RenderVideo.h:
+
+2010-08-06 James Robinson <jamesr@chromium.org>
+
+ Reviewed by Simon Fraser.
+
+ Accelerated 2d canvases should get compositing layers
+ https://bugs.webkit.org/show_bug.cgi?id=43362
+
+ Allows for 2d canvas rendering contexts to use a GraphicsContext3D for
+ accelerated rendering. The rendering context holds the GraphicsContext3D
+ alive and exposes it to the compositor. The 3d context itself is passed
+ down through the GraphicsContext to use for actual rendering:
+ https://bug-43362-attachments.webkit.org/attachment.cgi?id=63557
+
+ This approach will let us simultaneously prototype accelerated techniques
+ for canvas 2d and revise the design of canvas elements without destabilizing
+ all ports.
+
+ * html/HTMLCanvasElement.cpp:
+ (WebCore::HTMLCanvasElement::getContext):
+ (WebCore::HTMLCanvasElement::willDraw):
+ (WebCore::HTMLCanvasElement::makeRenderingResultsAvailable):
+ * html/canvas/CanvasRenderingContext.h:
+ (WebCore::CanvasRenderingContext::paintRenderingResultsToCanvas):
+ * html/canvas/CanvasRenderingContext2D.cpp:
+ (WebCore::CanvasRenderingContext2D::CanvasRenderingContext2D):
+ (WebCore::CanvasRenderingContext2D::isAccelerated):
+ (WebCore::CanvasRenderingContext2D::reset):
+ (WebCore::CanvasRenderingContext2D::willDraw):
+ (WebCore::CanvasRenderingContext2D::paintRenderingResultsToCanvas):
+ * html/canvas/CanvasRenderingContext2D.h:
+ (WebCore::CanvasRenderingContext2D::graphicsContext3D):
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::paintRenderingResultsToCanvas):
+ * html/canvas/WebGLRenderingContext.h:
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/skia/GraphicsContextSkia.cpp:
+ (WebCore::GraphicsContext::syncSoftwareCanvas):
+
+2010-08-06 Eric Seidel <eric@webkit.org>
+
+ Reviewed by Chris Fleizach.
+
+ Make AX Code use more specific RenderObject subclass types
+ https://bugs.webkit.org/show_bug.cgi?id=43632
+
+ No functional change, thus no tests.
+
+ * accessibility/AXObjectCache.cpp:
+ (WebCore::nodeHasRole):
+ - Make this take a String instead of AtomicString, to avoid
+ thrashing the atomic string hash.
+ It would be better to take a const char* here, except
+ one caller passes nullAtom.
+ (WebCore::createFromRenderer):
+ - Split this out from getOrCreate to make it simpler.
+ - No longer needs to deal with setting a "result"
+ pointer and can instead just return.
+ - I've also made this function use RenderBoxModelObject*
+ where appropriate.
+ (WebCore::AXObjectCache::getOrCreate):
+ * accessibility/AXObjectCache.h:
+ * accessibility/AccessibilityImageMapLink.cpp:
+ (WebCore::AccessibilityImageMapLink::AccessibilityImageMapLink):
+ - Fix style.
+ * accessibility/AccessibilityMenuList.cpp:
+ (WebCore::AccessibilityMenuList::AccessibilityMenuList):
+ - Use a more specific type.
+ (WebCore::AccessibilityMenuList::renderer):
+ * accessibility/AccessibilityMenuList.h:
+ (WebCore::AccessibilityMenuList::create):
+ * accessibility/AccessibilityMenuListPopup.cpp:
+ - Need RenderMenuList.h since renderer() is a RenderMenuList*
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::renderListItemContainerForNode):
+ * accessibility/AccessibilityRenderObject.cpp:
+ (WebCore::AccessibilityRenderObject::renderBoxModelObject):
+ - New helper function, similar to Node::renderBoxModelObject()
+ (WebCore::isInlineWithContinuation):
+ (WebCore::AccessibilityRenderObject::isNativeImage):
+ (WebCore::AccessibilityRenderObject::isAttachment):
+ (WebCore::AccessibilityRenderObject::isMultiSelectable):
+ (WebCore::AccessibilityRenderObject::isReadOnly):
+ (WebCore::AccessibilityRenderObject::isFieldset):
+ (WebCore::AccessibilityRenderObject::actionElement):
+ (WebCore::AccessibilityRenderObject::stringValue):
+ (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
+ (WebCore::AccessibilityRenderObject::setValue):
+ (WebCore::AccessibilityRenderObject::widget):
+ (WebCore::AccessibilityRenderObject::visiblePositionForPoint):
+ (WebCore::AccessibilityRenderObject::doAccessibilityHitTest):
+ (WebCore::AccessibilityRenderObject::renderObjectIsObservable):
+ (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
+ (WebCore::AccessibilityRenderObject::addChildren):
+ (WebCore::msaaRoleForRenderer):
+ * accessibility/AccessibilityRenderObject.h:
+ * accessibility/AccessibilityTable.cpp:
+ (WebCore::AccessibilityTable::isTableExposableThroughAccessibility):
+ * accessibility/AccessibilityTable.h:
+ - Remove unneeded "using namespace std".
+
+2010-08-06 Tony Gentilcore <tonyg@chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ Factor an AsyncScriptRunner out of Document
+ https://bugs.webkit.org/show_bug.cgi?id=43633
+
+ This copies the existing implementation exactly. In the future
+ this will use PendingScript which handles ref counting without
+ the need for those manual ref()/deref()s. This is also currently
+ a trivial class, but a little more logic will be added to it to
+ support <script async>.
+
+ No new tests because no new functionality.
+
+ * Android.mk:
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * dom/AsyncScriptRunner.cpp: Added.
+ (WebCore::AsyncScriptRunner::AsyncScriptRunner):
+ (WebCore::AsyncScriptRunner::~AsyncScriptRunner):
+ (WebCore::AsyncScriptRunner::executeScriptSoon):
+ (WebCore::AsyncScriptRunner::suspend):
+ (WebCore::AsyncScriptRunner::resume):
+ (WebCore::AsyncScriptRunner::timerFired):
+ * dom/AsyncScriptRunner.h: Added.
+ (WebCore::AsyncScriptRunner::create):
+ (WebCore::AsyncScriptRunner::hasPendingScripts):
+ * dom/Document.cpp:
+ (WebCore::Document::Document):
+ (WebCore::Document::~Document):
+ * dom/Document.h:
+ (WebCore::Document::asyncScriptRunner):
+ * dom/ScriptElement.cpp:
+ (WebCore::ScriptElementData::notifyFinished):
+ * page/PageGroupLoadDeferrer.cpp:
+ (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
+ (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer):
+
+2010-08-06 James Robinson <jamesr@chromium.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ [chromium] Implement GLES2Canvas/Texture in terms of GraphicsContext3D instead of direct OpenGL calls
+ https://bugs.webkit.org/show_bug.cgi?id=43608
+
+ This converts all OpenGL calls in GLES2(Canvas|Texture) to calls on the corresponding GraphicsContext3D
+ API, due to feedback on https://bugs.webkit.org/show_bug.cgi?id=43362. Nearly all the changes are
+ applying the regex s/gl([A-Z])/m_context->%1</ and removing unnecessary makeCurrent() calls.
+ Other changes hilighted below.
+
+ * platform/graphics/chromium/GLES2Canvas.cpp:
+ (WebCore::affineTo3x3):
+ (WebCore::GLES2Canvas::GLES2Canvas):
+ (WebCore::GLES2Canvas::~GLES2Canvas):
+ (WebCore::GLES2Canvas::clearRect):
+ (WebCore::GLES2Canvas::fillRect):
+ (WebCore::GLES2Canvas::drawTexturedRect):
+ (WebCore::GLES2Canvas::applyCompositeOperator):
+ (WebCore::GLES2Canvas::getQuadVertices):
+ (WebCore::GLES2Canvas::getQuadIndices):
+ - use new typed XXArray classes for buffer uploads
+ (WebCore::loadShader):
+ (WebCore::GLES2Canvas::getSimpleProgram):
+ (WebCore::GLES2Canvas::getTexProgram):
+ (WebCore::GLES2Canvas::createTexture):
+ (WebCore::GLES2Canvas::checkGLError):
+ * platform/graphics/chromium/GLES2Canvas.h:
+ (WebCore::GLES2Canvas::context):
+ * platform/graphics/chromium/GLES2Texture.cpp:
+ (WebCore::GLES2Texture::GLES2Texture):
+ (WebCore::GLES2Texture::~GLES2Texture):
+ (WebCore::GLES2Texture::create):
+ (WebCore::convertFormat):
+ (WebCore::GLES2Texture::load):
+ (WebCore::GLES2Texture::bind):
+ * platform/graphics/chromium/GLES2Texture.h:
+ * platform/graphics/skia/GraphicsContextSkia.cpp:
+ (WebCore::GraphicsContext::fillRect):
+ - add a missing restore() call to the H/W path
+ * platform/graphics/skia/ImageSkia.cpp:
+ (WebCore::drawBitmapGLES2):
+ * platform/graphics/skia/PlatformContextSkia.cpp:
+ (WebCore::PlatformContextSkia::setGraphicsContext3D):
+ (WebCore::PlatformContextSkia::uploadSoftwareToHardware):
+ - avoid applying CTM to uploads
+ (WebCore::PlatformContextSkia::readbackHardwareToSoftware):
+ * platform/graphics/skia/PlatformContextSkia.h:
+
+2010-08-06 James Robinson <jamesr@chromium.org>
+
+ Reviewed by Simon Fraser.
+
+ Composited canvas should be treated the same by the compositor and not be WebGL specific
+ https://bugs.webkit.org/show_bug.cgi?id=43589
+
+ This treats all GraphicsContext3D-backed layers the same instead of special casing WebGL.
+ The cross-platform change is to rename GraphicsLayer::setContentsToWebGL() to
+ GraphicsLayer::setContentsToCanvas() and to rename all implementations.
+
+ This patch also renames the chromium class used for accelerating these layers.
+
+ Cross platform changes:
+ * WebCore.gypi:
+ * platform/graphics/GraphicsLayer.h:
+ (WebCore::GraphicsLayer::setContentsToCanvas):
+ Rename the function on the base class. GraphicsLayerCA and GraphicsLayerChromium implement this.
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::isAcceleratedCanvas):
+ Helper function to see if a renderer is associated with an accelerated compositing layer.
+ (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
+ (WebCore::RenderLayerBacking::containsPaintedContent):
+ (WebCore::RenderLayerBacking::rendererContentChanged):
+ Chromium specific changes:
+ * platform/graphics/chromium/CanvasLayerChromium.cpp: Added.
+ (WebCore::CanvasLayerChromium::create):
+ (WebCore::CanvasLayerChromium::CanvasLayerChromium):
+ (WebCore::CanvasLayerChromium::textureId):
+ (WebCore::CanvasLayerChromium::updateTextureContents):
+ (WebCore::CanvasLayerChromium::setContext):
+ * platform/graphics/chromium/CanvasLayerChromium.h: Added.
+ (WebCore::CanvasLayerChromium::drawsContent):
+ (WebCore::CanvasLayerChromium::ownsTexture):
+ (WebCore::CanvasLayerChromium::shaderProgramId):
+ (WebCore::CanvasLayerChromium::setShaderProgramId):
+ * platform/graphics/chromium/GraphicsLayerChromium.cpp:
+ (WebCore::GraphicsLayerChromium::setContentsNeedsDisplay):
+ (WebCore::GraphicsLayerChromium::setContentsToCanvas):
+ * platform/graphics/chromium/GraphicsLayerChromium.h:
+ (WebCore::GraphicsLayerChromium::):
+ * platform/graphics/chromium/LayerRendererChromium.cpp:
+ (WebCore::LayerRendererChromium::drawLayer):
+ (WebCore::LayerRendererChromium::initializeSharedGLObjects):
+ * platform/graphics/chromium/LayerRendererChromium.h:
+ (WebCore::LayerRendererChromium::):
+ * platform/graphics/chromium/WebGLLayerChromium.cpp: Removed.
+ * platform/graphics/chromium/WebGLLayerChromium.h: Removed.
+ Mac specific changes:
+ * platform/graphics/mac/GraphicsLayerCA.h:
+ (WebCore::GraphicsLayerCA::):
+ * platform/graphics/mac/GraphicsLayerCA.mm:
+ (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers):
+ (WebCore::GraphicsLayerCA::updateContentsCanvasLayer):
+ (WebCore::GraphicsLayerCA::setContentsToCanvas):
+
+2010-08-06 Patrick Gansterer <paroga@paroga.com>
+
+ Reviewed by Eric Seidel.
+
+ Add PluginView::bindingInstance() to PluginViewNone
+ https://bugs.webkit.org/show_bug.cgi?id=42936
+
+ * bindings/js/ScriptControllerEfl.cpp:
+ (WebCore::ScriptController::createScriptInstanceForWidget): Removed workaround.
+ * plugins/PluginViewNone.cpp: Added property svn:eol-style.
+ (WebCore::PluginView::bindingInstance): Added missing method and use it on WinCE.
+
+2010-08-06 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
+
+ Reviewed by Xan Lopez.
+
+ Use new "package" name also for the directory where the inspector
+ support files are installed.
+
+ * GNUmakefile.am:
+
+2010-08-06 Jian Li <jianli@chromium.org>
+
+ Fix chromium build break.
+
+ * inspector/InspectorDebuggerAgent.h:
+
+2010-08-06 Dirk Schulze <krit@webkit.org>
+
+ Not reviewed. Sort Xcode project file.
+
+ * WebCore.xcodeproj/project.pbxproj:
+
+2010-08-06 Jessie Berlin <jberlin@apple.com>
+
+ Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build.
+ Unreviewed.
+
+ * accessibility/AXObjectCache.h:
+ * accessibility/AccessibilityARIAGrid.h:
+ * accessibility/AccessibilityListBoxOption.h:
+ * accessibility/AccessibilityObject.h:
+ * accessibility/AccessibilityRenderObject.h:
+ * accessibility/AccessibilityTable.h:
+ * bindings/cpp/WebDOMCString.h:
+ * bindings/cpp/WebDOMString.h:
+ * bindings/gobject/ConvertToUTF8String.h:
+ * bindings/js/DOMWrapperWorld.h:
+ * bindings/js/JSDOMBinding.h:
+ * bindings/js/JSDOMWindowBase.h:
+ * bindings/js/JSMessagePortCustom.h:
+ * bindings/js/JavaScriptCallFrame.h:
+ * bindings/js/ScriptController.h:
+ * bindings/js/ScriptProfile.h:
+ * bindings/js/ScriptSourceProvider.h:
+ * bindings/js/ScriptString.h:
+ * bindings/js/WorkerScriptController.h:
+ * bindings/objc/DOMImplementationFront.h:
+ * bindings/v8/ScheduledAction.h:
+ * bindings/v8/ScriptController.h:
+ * bindings/v8/V8DOMWindowShell.h:
+ * bindings/v8/V8Proxy.h:
+ * bindings/v8/V8Utilities.h:
+ * bindings/v8/custom/V8CustomXPathNSResolver.h:
+ * bridge/c/c_utility.h:
+ * css/CSSFontSelector.h:
+ * css/CSSHelper.h:
+ * css/CSSOMUtils.h:
+ * css/CSSPrimitiveValue.h:
+ * css/MediaList.h:
+ * css/StyleBase.h:
+ * css/StyleSheetList.h:
+ * css/WebKitCSSKeyframesRule.h:
+ * dom/CheckedRadioButtons.h:
+ * dom/DOMImplementation.h:
+ * dom/DocumentMarker.h:
+ * dom/DynamicNodeList.h:
+ * dom/EventTarget.h:
+ * dom/MessagePort.h:
+ * dom/MessagePortChannel.h:
+ * dom/NameNodeList.h:
+ * dom/Node.h:
+ * dom/NodeList.h:
+ * dom/OptionGroupElement.h:
+ * dom/ScriptExecutionContext.h:
+ * dom/SelectElement.h:
+ * dom/ViewportArguments.h:
+ * dom/make_names.pl:
+ * editing/HTMLInterchange.h:
+ * editing/htmlediting.h:
+ * editing/markup.h:
+ * html/CollectionCache.h:
+ * html/DOMFormData.h:
+ * html/DataGridColumnList.h:
+ * html/DateComponents.h:
+ * html/FileStream.h:
+ * html/FileStreamProxy.h:
+ * html/FormDataList.h:
+ (WebCore::FormDataList::appendData):
+ * html/HTMLCollection.h:
+ * html/HTMLElementStack.h:
+ * html/HTMLFormattingElementList.h:
+ * html/HTMLParserQuirks.h:
+ * html/HTMLQuoteElement.h:
+ * html/HTMLScriptRunnerHost.h:
+ * html/StepRange.h:
+ * html/canvas/CanvasGradient.h:
+ * html/canvas/CanvasNumberArray.h:
+ * html/canvas/CanvasPattern.h:
+ * inspector/InjectedScript.h:
+ * inspector/InspectorCSSStore.h:
+ * inspector/InspectorClient.h:
+ * inspector/InspectorFrontendClient.h:
+ * inspector/InspectorValues.h:
+ * inspector/ScriptDebugListener.h:
+ * loader/CachedResourceClient.h:
+ * loader/CrossOriginAccessControl.h:
+ * loader/DocumentThreadableLoader.h:
+ * loader/FrameLoaderClient.h:
+ * loader/RedirectScheduler.h:
+ * loader/SubframeLoader.h:
+ * loader/appcache/DOMApplicationCache.h:
+ * loader/archive/ArchiveFactory.h:
+ * loader/icon/IconDatabaseClient.h:
+ * notifications/NotificationPresenter.h:
+ * page/Chrome.h:
+ * page/ChromeClient.h:
+ * page/Console.h:
+ * page/ContextMenuClient.h:
+ * page/DOMSelection.h:
+ * page/EditorClient.h:
+ * page/EventHandler.h:
+ * page/FrameView.h:
+ * page/GeolocationPositionCache.h:
+ * page/History.h:
+ * page/Location.h:
+ * page/Navigator.h:
+ * page/NavigatorBase.h:
+ * page/PluginHalterClient.h:
+ * page/PrintContext.h:
+ * page/SpeechInput.h:
+ * page/SpeechInputListener.h:
+ * page/animation/AnimationController.h:
+ * platform/CookieJar.h:
+ * platform/CrossThreadCopier.h:
+ * platform/DragImage.h:
+ * platform/FileSystem.h:
+ * platform/Language.h:
+ * platform/Length.h:
+ * platform/LinkHash.h:
+ * platform/LocalizationStrategy.h:
+ * platform/LocalizedStrings.h:
+ * platform/Logging.h:
+ * platform/Pasteboard.h:
+ * platform/PopupMenuClient.h:
+ * platform/SearchPopupMenu.h:
+ * platform/Widget.h:
+ * platform/cf/BinaryPropertyList.h:
+ * platform/chromium/ChromiumBridge.h:
+ * platform/chromium/ClipboardUtilitiesChromium.h:
+ * platform/cocoa/KeyEventCocoa.h:
+ * platform/graphics/Color.h:
+ * platform/graphics/FontCache.h:
+ * platform/graphics/FontData.h:
+ * platform/graphics/FontSelector.h:
+ * platform/graphics/GraphicsTypes.h:
+ * platform/graphics/Icon.h:
+ * platform/graphics/ImageBuffer.h:
+ * platform/graphics/ImageSource.h:
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
+ * platform/graphics/Path.h:
+ * platform/graphics/StringTruncator.h:
+ * platform/graphics/cairo/FontCustomPlatformData.h:
+ * platform/graphics/cairo/FontPlatformData.h:
+ * platform/graphics/cg/FontPlatformData.h:
+ * platform/graphics/cg/ImageSourceCG.h:
+ * platform/graphics/chromium/FontCustomPlatformData.h:
+ * platform/graphics/chromium/FontPlatformDataChromiumWin.h:
+ * platform/graphics/chromium/FontPlatformDataLinux.h:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
+ * platform/graphics/haiku/FontCustomPlatformData.h:
+ * platform/graphics/mac/FontCustomPlatformData.h:
+ * platform/graphics/mac/FontPlatformData.h:
+ * platform/graphics/qt/FontCustomPlatformData.h:
+ * platform/graphics/qt/FontPlatformData.h:
+ * platform/graphics/win/FontCustomPlatformData.h:
+ * platform/graphics/win/FontCustomPlatformDataCairo.h:
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h:
+ * platform/graphics/wince/FontPlatformData.h:
+ * platform/graphics/wince/MediaPlayerPrivateWince.h:
+ * platform/graphics/wince/MediaPlayerProxy.h:
+ * platform/graphics/wx/FontCustomPlatformData.h:
+ * platform/graphics/wx/FontPlatformData.h:
+ * platform/mac/PasteboardHelper.h:
+ * platform/network/DNS.h:
+ * platform/network/FormData.h:
+ * platform/network/FormDataBuilder.h:
+ * platform/network/HTTPParsers.h:
+ * platform/text/Hyphenation.h:
+ * platform/text/LineEnding.h:
+ * platform/text/TextCodec.h:
+ * platform/text/TextEncoding.h:
+ * platform/text/TextStream.h:
+ * platform/win/BString.h:
+ * platform/win/ClipboardUtilitiesWin.h:
+ * platform/win/WCDataObject.h:
+ * platform/win/WebCoreTextRenderer.h:
+ * plugins/DOMMimeType.h:
+ * plugins/DOMMimeTypeArray.h:
+ * plugins/DOMPlugin.h:
+ * plugins/DOMPluginArray.h:
+ * rendering/CounterNode.h:
+ * rendering/HitTestResult.h:
+ * rendering/RenderObjectChildList.h:
+ * rendering/RenderText.h:
+ * rendering/RenderTreeAsText.h:
+ * rendering/TextControlInnerElements.h:
+ * rendering/style/ContentData.h:
+ * rendering/style/RenderStyle.h:
+ * storage/DatabaseAuthorizer.h:
+ * storage/DatabaseTrackerClient.h:
+ * storage/SQLTransaction.h:
+ * storage/SQLTransactionSync.h:
+ * storage/Storage.h:
+ * storage/chromium/DatabaseObserver.h:
+ * svg/SVGAnimatedTemplate.h:
+ * svg/SVGDocumentExtensions.h:
+ * svg/SVGGlyphElement.h:
+ * svg/SVGHKernElement.h:
+ * svg/SVGNumberList.h:
+ * svg/SVGPointList.h:
+ * svg/SVGPreserveAspectRatio.h:
+ * svg/SVGStylable.h:
+ * svg/SVGTests.h:
+ * svg/SVGTransformList.h:
+ * svg/SVGTransformable.h:
+ * svg/SVGVKernElement.h:
+ * websockets/ThreadableWebSocketChannel.h:
+ * websockets/ThreadableWebSocketChannelClientWrapper.h:
+ * websockets/WebSocket.h:
+ * websockets/WebSocketChannel.h:
+ * websockets/WebSocketHandshakeResponse.h:
+ * wml/WMLErrorHandling.h:
+ * wml/WMLPageState.h:
+ * wml/WMLVariables.h:
+ * workers/DefaultSharedWorkerRepository.h:
+ * workers/SharedWorkerRepository.h:
+ * workers/Worker.h:
+ * workers/WorkerContextProxy.h:
+ * workers/WorkerLoaderProxy.h:
+ * workers/WorkerLocation.h:
+ * workers/WorkerMessagingProxy.h:
+ * workers/WorkerReportingProxy.h:
+ * workers/WorkerThread.h:
+ * xml/DOMParser.h:
+ * xml/XMLHttpRequestUpload.h:
+ * xml/XPathEvaluator.h:
+ * xml/XPathExpression.h:
+ * xml/XPathNSResolver.h:
+ * xml/XPathResult.h:
+ * xml/XPathUtil.h:
+
+2010-08-04 Zhenyao Mo <zmo@google.com>
+
+ Reviewed by Dimitri Glazkov.
+
+ WebGLBuffer::associateBufferData(ArrayBufferView* array) copies incorrect data for sliced views
+ https://bugs.webkit.org/show_bug.cgi?id=42124
+
+ * html/canvas/WebGLBuffer.cpp:
+ (WebCore::WebGLBuffer::associateBufferDataImpl): Helper function that's called by all associateBufferData().
+ (WebCore::WebGLBuffer::associateBufferData): Call associateBufferDataImpl().
+ (WebCore::WebGLBuffer::associateBufferSubDataImpl): Helper function that's called by all associateBufferSubData().
+ (WebCore::WebGLBuffer::associateBufferSubData): Call associateBufferSubDataImpl().
+ * html/canvas/WebGLBuffer.h: Declare helper functions.
+
+2010-08-06 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ noembed should respect whether plugins are enabled
+ https://bugs.webkit.org/show_bug.cgi?id=43611
+
+ This instruction isn't in the HTML5 spec, but it seems like the right
+ thing to do. I suspect this is because the spec doesn't understand
+ that plugins can be disabled.
+
+ I'm not sure how we can test this in DumpRenderTree, but I'm open to
+ suggestions.
+
+ * html/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::adjustedLexerState):
+ (WebCore::HTMLTreeBuilder::processStartTagForInBody):
+ (WebCore::HTMLTreeBuilder::processStartTagForInHead):
+ (WebCore::HTMLTreeBuilder::scriptEnabled):
+ (WebCore::HTMLTreeBuilder::pluginsEnabled):
+ * html/HTMLTreeBuilder.h:
+
+2010-08-06 Tony Gentilcore <tonyg@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ Factor out PendingScript and protect its members
+ https://bugs.webkit.org/show_bug.cgi?id=43391
+
+ This will be shared by AsyncScriptRunner.
+
+ No new tests because no new functionality.
+
+ * Android.mk:
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * dom/PendingScript.cpp: Added.
+ (WebCore::PendingScript::~PendingScript):
+ (WebCore::PendingScript::element):
+ (WebCore::PendingScript::releaseElementAndClear):
+ (WebCore::PendingScript::setCachedScript):
+ (WebCore::PendingScript::cachedScript):
+ * dom/PendingScript.h: Added.
+ (WebCore::PendingScript::PendingScript):
+ (WebCore::PendingScript::startingLineNumber):
+ (WebCore::PendingScript::watchingForLoad):
+ (WebCore::PendingScript::setWatchingForLoad):
+ (WebCore::PendingScript::hasElement):
+ (WebCore::PendingScript::adoptElement):
+ (WebCore::PendingScript::notifyFinished):
+ * html/HTMLScriptRunner.cpp:
+ (WebCore::HTMLScriptRunner::sourceFromPendingScript):
+ (WebCore::HTMLScriptRunner::haveParsingBlockingScript):
+ (WebCore::HTMLScriptRunner::requestScript):
+ * html/HTMLScriptRunner.h:
+
+2010-08-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Reviewed by Darin Adler.
+
+ Change permission to access methods in XMLDocumentParser.h
+ https://bugs.webkit.org/show_bug.cgi?id=43180
+
+ Change permission to access wellFormed(), lineNumber() and columnNumber()
+ in XMLDocumentParser.h. Because, the methods are used by WML.
+
+ * dom/XMLDocumentParser.h:
+ (WebCore::XMLDocumentParser::wellFormed): Change accebility permission.
+
+2010-08-06 Martin Robinson <mrobinson@igalia.com>
+
+ Reviewed by Gustavo Noronha Silva.
+
+ [GTK] Support for image drags
+ https://bugs.webkit.org/show_bug.cgi?id=40788
+
+ Add image drag-and-drop support for WebKit GTK+.
+
+ * platform/gtk/ClipboardGtk.cpp:
+ (WebCore::ClipboardGtk::setDragImage): Filled this stub.
+ (WebCore::ClipboardGtk::setDragImageElement): Filled this stub.
+ (WebCore::ClipboardGtk::createDragImage): Filled this stub.
+ (WebCore::ClipboardGtk::declareAndWriteDragImage): Write the image URL, markup, and image itself to the data object member.
+ * platform/gtk/ClipboardGtk.h: Brought method declarations into line with the parent class.
+
+2010-08-06 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: extract debugger implementation into InspectorDebuggerAgent
+ https://bugs.webkit.org/show_bug.cgi?id=42340
+
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * inspector/CodeGeneratorInspector.pm:
+ * inspector/Inspector.idl:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::InspectorController):
+ (WebCore::InspectorController::connectFrontend):
+ (WebCore::InspectorController::didCommitLoad):
+ (WebCore::InspectorController::enableDebuggerFromFrontend):
+ (WebCore::InspectorController::disableDebugger):
+ (WebCore::InspectorController::resume):
+ (WebCore::InspectorController::loadBreakpoints):
+ (WebCore::InspectorController::saveBreakpoints):
+ * inspector/InspectorController.h:
+ (WebCore::InspectorController::debuggerAgent):
+ * inspector/InspectorDebuggerAgent.cpp: Added.
+ (WebCore::md5Base16):
+ (WebCore::formatBreakpointId):
+ (WebCore::InspectorDebuggerAgent::create):
+ (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
+ (WebCore::InspectorDebuggerAgent::~InspectorDebuggerAgent):
+ (WebCore::InspectorDebuggerAgent::isDebuggerAlwaysEnabled):
+ (WebCore::InspectorDebuggerAgent::activateBreakpoints):
+ (WebCore::InspectorDebuggerAgent::deactivateBreakpoints):
+ (WebCore::InspectorDebuggerAgent::setBreakpoint):
+ (WebCore::InspectorDebuggerAgent::removeBreakpoint):
+ (WebCore::InspectorDebuggerAgent::editScriptSource):
+ (WebCore::InspectorDebuggerAgent::getScriptSource):
+ (WebCore::InspectorDebuggerAgent::pause):
+ (WebCore::InspectorDebuggerAgent::resume):
+ (WebCore::InspectorDebuggerAgent::stepOverStatement):
+ (WebCore::InspectorDebuggerAgent::stepIntoStatement):
+ (WebCore::InspectorDebuggerAgent::stepOutOfFunction):
+ (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
+ (WebCore::InspectorDebuggerAgent::clearForPageNavigation):
+ (WebCore::InspectorDebuggerAgent::currentCallFrames):
+ (WebCore::InspectorDebuggerAgent::loadBreakpoints):
+ (WebCore::InspectorDebuggerAgent::saveBreakpoints):
+ (WebCore::InspectorDebuggerAgent::didParseSource):
+ (WebCore::InspectorDebuggerAgent::failedToParseSource):
+ (WebCore::InspectorDebuggerAgent::didPause):
+ (WebCore::InspectorDebuggerAgent::didContinue):
+ (WebCore::InspectorDebuggerAgent::remoteFrontend):
+ * inspector/InspectorDebuggerAgent.h: Added.
+ * inspector/InspectorFrontend.cpp:
+ * inspector/InspectorFrontend.h:
+ * inspector/front-end/ScriptsPanel.js:
+ (WebInspector.ScriptsPanel):
+
+2010-08-06 Dean Jackson <dino@apple.com>
+
+ Reviewed by Simon Fraser and Steve Block.
+
+ https://bugs.webkit.org/show_bug.cgi?id=42865
+ Implement DeviceMotionEvent
+
+ Implement the DeviceMotionEvent interface as defined
+ in http://dev.w3.org/geo/api/spec-source-orientation.html
+ This is currently an empty implementation, in that there is
+ no motion client connected - the platform implementations
+ will need to do that.
+
+ Tests: fast/dom/DeviceMotion/create-event.html
+ fast/dom/DeviceMotion/optional-event-properties.html
+ fast/dom/DeviceMotion/window-property.html
+
+ * Android.derived.jscbindings.mk:
+ * Android.derived.v8bindings.mk:
+ * Android.jscbindings.mk:
+ * Android.mk:
+ * Android.v8bindings.mk:
+ * CMakeLists.txt:
+ * Configurations/FeatureDefines.xcconfig:
+ * DerivedSources.make:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ - Add new files for DeviceMotionEvent build support
+ * bindings/generic/RuntimeEnabledFeatures.cpp:
+ * bindings/generic/RuntimeEnabledFeatures.h:
+ - new runtime flags for device motion
+ * bindings/js/JSDeviceMotionEventCustom.cpp: Added.
+ * bindings/v8/custom/V8DeviceMotionEventCustom.cpp: Added.
+ - Custom JS binding to translate property access through
+ to the DeviceMotionData object that the Event holds
+ * bindings/js/JSEventCustom.cpp:
+ - Include the custom code for DeviceMotionEvent
+ * dom/DeviceMotionClient.h: Added.
+ - Pure virtual client for DeviceMotion access
+ * dom/DeviceMotionController.cpp: Added.
+ * dom/DeviceMotionController.h: Added.
+ - Controller class that manages event dispatch
+ * dom/DeviceMotionData.cpp: Added.
+ * dom/DeviceMotionData.h: Added.
+ - Representation of the data that comes from a device motion
+ client that is then used within the event.
+ * dom/DeviceMotionEvent.cpp: Added.
+ * dom/DeviceMotionEvent.h: Added.
+ * dom/DeviceMotionEvent.idl: Added.
+ - The actual event implementation
+ * dom/Document.cpp:
+ (WebCore::Document::createEvent):
+ - Update createEvent to allow "devicemotion" events
+ * dom/Event.cpp:
+ * dom/Event.h:
+ - isDeviceMotionEvent virtual method
+ * dom/EventNames.h:
+ - new "devicemotion" event type
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::addEventListener):
+ * page/DOMWindow.h:
+ * page/DOMWindow.idl:
+ - allow creation of "devicemotion" events and pass registration
+ through to the Page's deviceMotionController object
+ * page/Page.cpp:
+ * page/Page.h:
+ - new PageClient for deviceMotionController
+
+2010-08-06 Kavita Kanetkar <kkanetkar@chromium.org>
+
+ Reviewed by Joseph Pecoraro.
+
+ Web Inspector: Remove "Online/Offline" icon for Chrome's appcache devtools UI.
+ https://bugs.webkit.org/show_bug.cgi?id=43450
+
+ * inspector/front-end/ApplicationCacheItemsView.js:
+ (WebInspector.ApplicationCacheItemsView):
+ (WebInspector.ApplicationCacheItemsView.prototype.get statusBarItems):
+ (WebInspector.ApplicationCacheItemsView.prototype.updateNetworkState):
+ * inspector/front-end/Settings.js:
+
+2010-08-06 Pavel Feldman <pfeldman@chromium.org>
+
+ Not reviewed. Rolling out 64835, 64836 and 64839.
+
+ * Android.jscbindings.mk:
+ * Android.v8bindings.mk:
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSBindingsAllInOne.cpp:
+ * bindings/js/JSDOMWindowCustom.cpp:
+ (WebCore::JSDOMWindow::openDatabase):
+ * bindings/js/JSDatabaseCustom.cpp: Added.
+ (WebCore::JSDatabase::changeVersion):
+ (WebCore::createTransaction):
+ (WebCore::JSDatabase::transaction):
+ (WebCore::JSDatabase::readTransaction):
+ * bindings/js/JSDatabaseSyncCustom.cpp: Added.
+ (WebCore::JSDatabaseSync::changeVersion):
+ (WebCore::createTransaction):
+ (WebCore::JSDatabaseSync::transaction):
+ (WebCore::JSDatabaseSync::readTransaction):
+ * bindings/js/JSWorkerContextCustom.cpp:
+ (WebCore::JSWorkerContext::openDatabase):
+ (WebCore::JSWorkerContext::openDatabaseSync):
+ * bindings/scripts/CodeGeneratorGObject.pm:
+ * bindings/scripts/CodeGeneratorJS.pm:
+ * bindings/scripts/CodeGeneratorV8.pm:
+ * bindings/scripts/test/JS/JSTestCallback.cpp:
+ (WebCore::JSTestCallback::~JSTestCallback):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionIntMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
+ (WebCore::jsTestObjPrototypeFunctionSerializedValue):
+ (WebCore::jsTestObjPrototypeFunctionIdbKey):
+ (WebCore::jsTestObjPrototypeFunctionCustomArgsAndException):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndArg):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGesture):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGestureASAD):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithCallbackArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod3):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
+ * bindings/scripts/test/TestObj.idl:
+ * bindings/scripts/test/V8/V8TestObj.cpp:
+ (WebCore::TestObjInternal::voidMethodWithArgsCallback):
+ (WebCore::TestObjInternal::intMethodWithArgsCallback):
+ (WebCore::TestObjInternal::objMethodWithArgsCallback):
+ (WebCore::TestObjInternal::methodThatRequiresAllArgsCallback):
+ (WebCore::TestObjInternal::methodThatRequiresAllArgsAndThrowsCallback):
+ (WebCore::TestObjInternal::serializedValueCallback):
+ (WebCore::TestObjInternal::idbKeyCallback):
+ (WebCore::TestObjInternal::customArgsAndExceptionCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndArgCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndOptionalArgCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndUserGestureCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndUserGestureASADCallback):
+ (WebCore::TestObjInternal::methodWithOptionalArgCallback):
+ (WebCore::TestObjInternal::methodWithNonOptionalArgAndOptionalArgCallback):
+ (WebCore::TestObjInternal::methodWithNonOptionalArgAndTwoOptionalArgsCallback):
+ (WebCore::TestObjInternal::methodWithCallbackArgCallback):
+ (WebCore::TestObjInternal::methodWithNonCallbackArgAndCallbackArgCallback):
+ (WebCore::TestObjInternal::methodWithCallbackAndOptionalArgCallback):
+ (WebCore::TestObjInternal::overloadedMethod1Callback):
+ (WebCore::TestObjInternal::overloadedMethod2Callback):
+ (WebCore::TestObjInternal::overloadedMethod3Callback):
+ (WebCore::TestObjInternal::overloadedMethod4Callback):
+ (WebCore::):
+ (WebCore::ConfigureV8TestObjTemplate):
+ * bindings/v8/V8Binding.h:
+ (WebCore::String):
+ (WebCore::AtomicString):
+ * bindings/v8/custom/V8DOMWindowCustom.cpp:
+ (WebCore::V8DOMWindow::openDatabaseCallback):
+ * bindings/v8/custom/V8DatabaseCustom.cpp: Added.
+ (WebCore::V8Database::changeVersionCallback):
+ (WebCore::createTransaction):
+ (WebCore::V8Database::transactionCallback):
+ (WebCore::V8Database::readTransactionCallback):
+ * bindings/v8/custom/V8DatabaseSyncCustom.cpp: Added.
+ (WebCore::V8DatabaseSync::changeVersionCallback):
+ (WebCore::createTransaction):
+ (WebCore::V8DatabaseSync::transactionCallback):
+ (WebCore::V8DatabaseSync::readTransactionCallback):
+ * bindings/v8/custom/V8WorkerContextCustom.cpp:
+ (WebCore::V8WorkerContext::openDatabaseCallback):
+ (WebCore::V8WorkerContext::openDatabaseSyncCallback):
+ * page/DOMWindow.idl:
+ * storage/Database.cpp:
+ (WebCore::Database::transaction):
+ * storage/Database.h:
+ * storage/Database.idl:
+ * storage/DatabaseSync.cpp:
+ (WebCore::DatabaseSync::transaction):
+ * storage/DatabaseSync.h:
+ * storage/DatabaseSync.idl:
+ * workers/WorkerContext.idl:
+
+2010-08-06 Dumitru Daniliuc <dumi@chromium.org>
+
+ Unreviewed, fix the "GTK Linux 64-bit Debug" bot.
+
+ CodeGeneratorGObject.pm doesn't know yet how to auto-generate
+ callbacks, so we should not auto-generate functions that take
+ callbacks as parameters. This shouldn't break anything, because
+ all these functions were marked as ["Custom"] until now, and this
+ code generator skipped those functions anyway.
+
+ * bindings/scripts/CodeGeneratorGObject.pm:
+
+2010-08-06 Dumitru Daniliuc <dumi@chromium.org>
+
+ Unreviewed, "Qt Linux Realese minimal" build fix.
+
+ * bindings/scripts/CodeGeneratorJS.pm:
+
+2010-08-06 Dumitru Daniliuc <dumi@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ Auto-generate all HTML5 DB bindings.
+ https://bugs.webkit.org/show_bug.cgi?id=43382
+
+ * Android.jscbindings.mk: Remove {JS|V8}Database{Sync}Custom.cpp
+ and the custom implementations of openDatabas{Sync}().
+ * Android.v8bindings.mk:
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSBindingsAllInOne.cpp:
+ * bindings/js/JSDOMWindowCustom.cpp:
+ * bindings/js/JSDatabaseCustom.cpp: Removed.
+ * bindings/js/JSDatabaseSyncCustom.cpp: Removed.
+ * bindings/js/JSWorkerContextCustom.cpp:
+ * bindings/v8/custom/V8DOMWindowCustom.cpp:
+ * bindings/v8/custom/V8DatabaseCustom.cpp: Removed.
+ * bindings/v8/custom/V8DatabaseSyncCustom.cpp: Removed.
+ * bindings/v8/custom/V8WorkerContextCustom.cpp:
+
+ * bindings/scripts/CodeGeneratorJS.pm: Change the code generators
+ to check that a value was passed for each non-optional argument,
+ and that the value can be converted to the argument type.
+ * bindings/scripts/CodeGeneratorV8.pm:
+ * bindings/scripts/test/JS/JSTestCallback.cpp:
+ (WebCore::JSTestCallback::~JSTestCallback):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionIntMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
+ (WebCore::jsTestObjPrototypeFunctionSerializedValue):
+ (WebCore::jsTestObjPrototypeFunctionIdbKey):
+ (WebCore::jsTestObjPrototypeFunctionCustomArgsAndException):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndArg):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGesture):
+ (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGestureASAD):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithCallbackArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg):
+ (WebCore::jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod3):
+ (WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
+ * bindings/scripts/test/TestObj.idl:
+ * bindings/scripts/test/V8/V8TestObj.cpp:
+ (WebCore::TestObjInternal::voidMethodWithArgsCallback):
+ (WebCore::TestObjInternal::intMethodWithArgsCallback):
+ (WebCore::TestObjInternal::objMethodWithArgsCallback):
+ (WebCore::TestObjInternal::methodThatRequiresAllArgsCallback):
+ (WebCore::TestObjInternal::methodThatRequiresAllArgsAndThrowsCallback):
+ (WebCore::TestObjInternal::serializedValueCallback):
+ (WebCore::TestObjInternal::idbKeyCallback):
+ (WebCore::TestObjInternal::customArgsAndExceptionCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndArgCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndOptionalArgCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndUserGestureCallback):
+ (WebCore::TestObjInternal::withDynamicFrameAndUserGestureASADCallback):
+ (WebCore::TestObjInternal::methodWithOptionalArgCallback):
+ (WebCore::TestObjInternal::methodWithNonOptionalArgAndOptionalArgCallback):
+ (WebCore::TestObjInternal::methodWithNonOptionalArgAndTwoOptionalArgsCallback):
+ (WebCore::TestObjInternal::methodWithCallbackArgCallback):
+ (WebCore::TestObjInternal::methodWithNonCallbackArgAndCallbackArgCallback):
+ (WebCore::TestObjInternal::methodWithCallbackAndOptionalArgCallback):
+ (WebCore::TestObjInternal::overloadedMethod1Callback):
+ (WebCore::TestObjInternal::overloadedMethod2Callback):
+ (WebCore::TestObjInternal::overloadedMethod3Callback):
+ (WebCore::TestObjInternal::overloadedMethod4Callback):
+ (WebCore::):
+ (WebCore::ConfigureV8TestObjTemplate):
+ * bindings/v8/V8Binding.h:
+ (WebCore::String):
+ (WebCore::AtomicString):
+
+ * page/DOMWindow.idl: Minor changes required by the auto-generated
+ bindings.
+ * storage/Database.cpp:
+ (WebCore::Database::transaction):
+ (WebCore::Database::readTransaction):
+ (WebCore::Database::runTransaction):
+ * storage/Database.h:
+ * storage/Database.idl:
+ * storage/DatabaseSync.cpp:
+ (WebCore::DatabaseSync::transaction):
+ (WebCore::DatabaseSync::readTransaction):
+ (WebCore::DatabaseSync::runTransaction):
+ * storage/DatabaseSync.h:
+ * storage/DatabaseSync.idl:
+ * workers/WorkerContext.idl:
+
+2010-08-06 Nikolas Zimmermann <nzimmermann@rim.com>
+
+ Not reviewed. Sort Xcode project file.
+
+ * WebCore.xcodeproj/project.pbxproj:
+
+2010-08-06 Nikolas Zimmermann <nzimmermann@rim.com>
+
+ Not reviewed. Fix warning, breaking win build.
+
+ * svg/SVGLength.cpp:
+ (WebCore::SVGLength::toCSSPrimitiveValue):
+
+2010-08-06 Alexey Proskuryakov <ap@apple.com>
+
+ Fix crashing Leopard and Gtk bots.
+
+ * platform/text/TextCodecICU.cpp: (WebCore::TextCodecICU::registerExtendedEncodingNames):
+ Don't register ISO8859-16, because older versions of ICU don't support ISO-8859-16, causing
+ crashes when we try to register an alias. Also, we don't need it, because Firefox doesn't
+ support this particular alias (it supports ISO8859-1 to ISO8859-15, but only supports the
+ main name for ISO-8859-16).
+
+2010-08-06 Nikolas Zimmermann <nzimmermann@rim.com>
+
+ Reviewed by Dirk Schulze.
+
+ SVG - stroke-width:0 bug with stroke other than "none"
+ https://bugs.webkit.org/show_bug.cgi?id=42387
+
+ Stop storing refcounted CSSValue/CSSValueList objects in SVGRenderStyle, replacing them with SVGLength types.
+ Allows us to directly specify default values for stroke-dashoffset/width in the SVGRenderStyle, fixing a problem
+ with stroke-width animations when resetting to the original stored baseVal, exposed in svg/W3C-1.1/animate-elem-40-t.svg
+ Originally discovered by Fady Samuel.
+
+ Test: svg/custom/path-zero-strokewidth.svg
+
+ * css/SVGCSSComputedStyleDeclaration.cpp:
+ (WebCore::strokeDashArrayToCSSValueList): New helper function converting from Vector<SVGLength> to CSSValueList.
+ (WebCore::CSSComputedStyleDeclaration::getSVGPropertyCSSValue): Convert SVGLength values to CSSPrimitiveValues.
+ * css/SVGCSSStyleSelector.cpp:
+ (WebCore::CSSStyleSelector::applySVGProperty): Convert CSSPrimitiveValues to SVGLength objects, for SVGRenderStyle storage.
+ * rendering/RenderPath.cpp:
+ (WebCore::RenderPath::calculateMarkerBoundsIfNeeded): Just grab strokeWidth SVGLength value from SVGRenderSTyle, no need to call cssPrimitiveToLength anymore.
+ * rendering/RenderSVGText.cpp:
+ (WebCore::RenderSVGText::strokeBoundingBox): Ditto.
+ * rendering/SVGCharacterLayoutInfo.cpp:
+ (WebCore::calculateBaselineShift): Ditto (for baseline-shift).
+ * rendering/SVGInlineTextBox.cpp:
+ (WebCore::SVGInlineTextBox::buildLayoutInformation): Ditto (for kerning).
+ * rendering/SVGRenderSupport.cpp:
+ (WebCore::SVGRenderSupport::applyStrokeStyleToContext): Ditto (for stroke-width/stroke-dashoffset/stroke-dasharray).
+ * rendering/SVGRenderSupport.h:
+ * rendering/SVGRenderTreeAsText.cpp:
+ (WebCore::writeStyle): Ditto.
+ * rendering/SVGTextLayoutUtilities.cpp:
+ (WebCore::calculateCSSKerning): Ditto.
+ * rendering/SVGTextLayoutUtilities.h:
+ * rendering/style/SVGRenderStyle.cpp: Remove no longer needed cssPrimitiveToLength function.
+ * rendering/style/SVGRenderStyle.h: Stop storing RefPtr<CSSValue> / RefPtr<CSSValueList> but use SVGLength/Vector<SVGLength>.
+ (WebCore::SVGRenderStyle::initialStrokeDashArray): Allows us to specify correct default values, instead of null pointers.
+ (WebCore::SVGRenderStyle::initialBaselineShiftValue): Specify 0px default value.
+ (WebCore::SVGRenderStyle::initialKerning): Ditto.
+ (WebCore::SVGRenderStyle::initialStrokeDashOffset): Ditto.
+ (WebCore::SVGRenderStyle::initialStrokeWidth): Specify 1px default value.
+ (WebCore::SVGRenderStyle::setStrokeDashArray): Takes a Vector<SVGLength> now, not a PassRefPtr<CSSValueList>.
+ (WebCore::SVGRenderStyle::setStrokeWidth): Takes a SVGLength now, not a PassRefPtr<CSSValue>.
+ (WebCore::SVGRenderStyle::setStrokeDashOffset): Ditto.
+ (WebCore::SVGRenderStyle::setKerning): Ditto.
+ (WebCore::SVGRenderStyle::setStopColor): Pass Color as const-reference.
+ (WebCore::SVGRenderStyle::setFloodColor): Ditto.
+ (WebCore::SVGRenderStyle::setLightingColor): Ditto.
+ (WebCore::SVGRenderStyle::setBaselineShiftValue): Takes a SVGLength now, not a PassRefPtr<CSSValue>.
+ (WebCore::SVGRenderStyle::setShadow): Reformat, had wrong style.
+ (WebCore::SVGRenderStyle::setClipperResource): Pass String as const-reference.
+ (WebCore::SVGRenderStyle::setFilterResource): Ditto.
+ (WebCore::SVGRenderStyle::setMaskerResource): Ditto.
+ (WebCore::SVGRenderStyle::setMarkerStartResource): Ditto.
+ (WebCore::SVGRenderStyle::setMarkerMidResource): Ditto.
+ (WebCore::SVGRenderStyle::setMarkerEndResource): Ditto.
+ (WebCore::SVGRenderStyle::strokeDashArray): Return Vector<SVGLength>.
+ (WebCore::SVGRenderStyle::strokeWidth): Return SVGLength.
+ (WebCore::SVGRenderStyle::strokeDashOffset): Ditto.
+ (WebCore::SVGRenderStyle::kerning): Ditto.
+ (WebCore::SVGRenderStyle::baselineShiftValue): Ditto.
+ * rendering/style/SVGRenderStyleDefs.cpp:
+ (WebCore::StyleStrokeData::StyleStrokeData): Changed initialization order, to group stroke properties.
+ * rendering/style/SVGRenderStyleDefs.h: Store SVGLength values instead of reference counted CSS objects.
+ * svg/SVGLength.cpp:
+ (WebCore::SVGLength::SVGLength): Add copy constructor.
+ (WebCore::SVGLength::operator==): Add comparision operator.
+ (WebCore::SVGLength::operator!=): Ditto.
+ (WebCore::SVGLength::fromCSSPrimitiveValue): New static helper function to convert from a CSSPrimitiveValue.
+ (WebCore::SVGLength::toCSSPrimitiveValue): New static helper function to convert to a CSSPrimitiveValue.
+ * svg/SVGLength.h: Reindent.
+
+2010-08-06 Luiz Agostini <luiz.agostini@openbossa.org>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ [Qt] Move Qt's popup menu implementation from WebCore to WebKit layer
+ https://bugs.webkit.org/show_bug.cgi?id=43427
+
+ After PopupMenu changes in bug 42592 class QtAbstractWebPopup became unecessary and
+ there is no need to keep any Qt specific code for popup menus in WebCore/platform/qt.
+
+ PopupMenuQt has been moved from WebCore/platform/qt to WebKit/qt/WebCoreSupport and
+ assumed the responsibilities of QtAbstractWebPopup. SearchPopupMenuQt has been moved
+ to WebKit/qt/WebCoreSupport as well.
+
+ All classes that previously inherited from QtAbstractWebPopup now inherit from
+ QWebSelectMethod and QtPlatformPlugin's method createSelectInputMethod now returns an
+ instance of class QWebSelectMethod instead of QtAbstractWebPopup.
+
+ * WebCore.pro:
+ * platform/qt/PopupMenuQt.cpp: Removed.
+ * platform/qt/PopupMenuQt.h: Removed.
+ * platform/qt/QtAbstractWebPopup.cpp: Removed.
+ * platform/qt/QtAbstractWebPopup.h: Removed.
+ * platform/qt/SearchPopupMenuQt.cpp: Removed.
+ * platform/qt/SearchPopupMenuQt.h: Removed.
+
+2010-08-05 Marcus Bulach <bulach@chromium.org>
+
+ Reviewed by Jeremy Orlow.
+
+ Initial bindings and plumbing for IDBCursor.
+ https://bugs.webkit.org/show_bug.cgi?id=41888
+
+ Test: storage/indexeddb/idb-opencursor.html
+
+ * Android.derived.jscbindings.mk:
+ * Android.derived.v8bindings.mk:
+ * Android.mk:
+ * CMakeLists.txt:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pri:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/v8/custom/V8IDBAnyCustom.cpp:
+ (WebCore::toV8):
+ * storage/IDBAny.cpp:
+ (WebCore::IDBAny::idbCursor):
+ (WebCore::IDBAny::set):
+ * storage/IDBAny.h:
+ (WebCore::IDBAny::):
+ * storage/IDBCallbacks.h:
+ * storage/IDBCursor.cpp: Added.
+ (WebCore::IDBCursor::IDBCursor):
+ (WebCore::IDBCursor::~IDBCursor):
+ (WebCore::IDBCursor::direction):
+ (WebCore::IDBCursor::key):
+ (WebCore::IDBCursor::value):
+ (WebCore::IDBCursor::update):
+ (WebCore::IDBCursor::continueFunction):
+ (WebCore::IDBCursor::remove):
+ * storage/IDBCursor.h: Added.
+ (WebCore::IDBCursor::):
+ (WebCore::IDBCursor::create):
+ * storage/IDBCursor.idl: Added.
+ * storage/IDBCursorBackendImpl.cpp: Added.
+ (WebCore::IDBCursorBackendImpl::IDBCursorBackendImpl):
+ (WebCore::IDBCursorBackendImpl::~IDBCursorBackendImpl):
+ (WebCore::IDBCursorBackendImpl::direction):
+ (WebCore::IDBCursorBackendImpl::key):
+ (WebCore::IDBCursorBackendImpl::value):
+ (WebCore::IDBCursorBackendImpl::update):
+ (WebCore::IDBCursorBackendImpl::continueFunction):
+ (WebCore::IDBCursorBackendImpl::remove):
+ * storage/IDBCursorBackendImpl.h: Added.
+ (WebCore::IDBCursorBackendImpl::create):
+ * storage/IDBCursorBackendInterface.h: Added.
+ (WebCore::IDBCursorBackendInterface::~IDBCursorBackendInterface):
+ * storage/IDBObjectStore.cpp:
+ (WebCore::IDBObjectStore::openCursor):
+ * storage/IDBObjectStore.h:
+ * storage/IDBObjectStore.idl:
+ * storage/IDBObjectStoreBackendImpl.cpp:
+ (WebCore::IDBObjectStoreBackendImpl::openCursor):
+ * storage/IDBObjectStoreBackendImpl.h:
+ * storage/IDBObjectStoreBackendInterface.h:
+ * storage/IDBRequest.cpp:
+ (WebCore::IDBRequest::onSuccess):
+ (WebCore::IDBRequest::timerFired):
+ * storage/IDBRequest.h:
+
+2010-08-06 Andrei Popescu <andreip@google.com>
+
+ Unreviewed, release build fix.
+
+ Leopard relase build is broken due to absolute path to JSIDBTransaction.cpp file present in Xcode project file.
+ https://bugs.webkit.org/show_bug.cgi?id=43616
+
+ * WebCore.xcodeproj/project.pbxproj:
+
+2010-08-05 Andrei Popescu <andreip@dhcp-172-16-14-12.lon.corp.google.com>
+
+ Reviewed by Jeremy Orlow.
+
+ [IndexedDB] IndexedDB is missing the Transaction interface.
+ https://bugs.webkit.org/show_bug.cgi?id=42970
+
+ Add IDBTransaction boilerplate.
+
+ No new tests, not functional yet.
+
+ * Android.derived.jscbindings.mk:
+ * Android.derived.v8bindings.mk:
+ * Android.mk:
+ * CMakeLists.txt:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pri:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * dom/EventNames.h:
+ * storage/IDBDatabase.cpp:
+ (WebCore::IDBDatabase::transaction):
+ * storage/IDBDatabase.h:
+ * storage/IDBDatabase.idl:
+ * storage/IDBDatabaseBackendImpl.cpp:
+ (WebCore::IDBDatabaseBackendImpl::transaction):
+ * storage/IDBDatabaseBackendImpl.h:
+ * storage/IDBDatabaseBackendInterface.h:
+ * storage/IDBRequest.cpp:
+ (WebCore::IDBRequest::IDBRequest):
+ (WebCore::IDBRequest::canSuspend):
+ (WebCore::IDBRequest::timerFired):
+ (WebCore::IDBRequest::onEventCommon):
+ * storage/IDBRequest.h:
+ * storage/IDBTransaction.cpp: Added.
+ (WebCore::IDBTransaction::IDBTransaction):
+ (WebCore::IDBTransaction::~IDBTransaction):
+ (WebCore::IDBTransaction::mode):
+ (WebCore::IDBTransaction::db):
+ (WebCore::IDBTransaction::objectStore):
+ (WebCore::IDBTransaction::abort):
+ (WebCore::IDBTransaction::scriptExecutionContext):
+ (WebCore::IDBTransaction::canSuspend):
+ (WebCore::IDBTransaction::eventTargetData):
+ (WebCore::IDBTransaction::ensureEventTargetData):
+ * storage/IDBTransaction.h: Added.
+ (WebCore::IDBTransaction::create):
+ (WebCore::IDBTransaction::):
+ (WebCore::IDBTransaction::toIDBTransaction):
+ (WebCore::IDBTransaction::refEventTarget):
+ (WebCore::IDBTransaction::derefEventTarget):
+ * storage/IDBTransaction.idl: Added.
+ * storage/IDBTransactionBackendInterface.h: Added.
+ (WebCore::IDBTransactionBackendInterface::~IDBTransactionBackendInterface):
+
+2010-08-06 Rafael Antognolli <antognolli@profusion.mobi>
+
+ Unreviewed build fix.
+
+ [EFL] Regression (64735) build fix for efl.
+ https://bugs.webkit.org/show_bug.cgi?id=43564
+
+ Removing bindings/js/ScriptArray.cpp from the WebCore_SOURCES.
+ No new features, so no new tests.
+
+ * CMakeLists.txt:
+
+2010-08-05 Alexey Proskuryakov <ap@apple.com>
+
+ Fix http/tests/webarchive/test-css-url-encoding-shift-jis.html
+
+ For some reason, I didn't see the failure locally, but bots complain.
+
+ * platform/text/TextCodecICU.cpp: (WebCore::TextCodecICU::registerExtendedEncodingNames):
+ Register "shift-jis" (with dash instead of underscore). At least Firefox supports it.
+
+2010-08-05 Ben Murdoch <benm@google.com>
+
+ Reviewed by Simon Fraser.
+
+ Form button input elements lacking text in some cases after switching from
+ visibility:collapse to visibility:visible
+ https://bugs.webkit.org/show_bug.cgi?id=38050
+
+ A relayout is required after toggling visibility from collapse to another value.
+
+ Test: fast/css/visibility-collapse-form-buttons.html
+
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::diff): If we're toggling from visibility:collapse to another
+ visibility value (or vice versa) then we need to trigger a relayout.
+
+2010-08-05 Alexey Proskuryakov <ap@apple.com>
+
+ Reviewed by Darin Adler.
+
+ https://bugs.webkit.org/show_bug.cgi?id=43554
+ Way too many encoding aliases are treated as valid
+
+ <rdar://problem/7863399> Garbage characters displayed in some yesky.com pages.
+
+ <rdar://problem/7859068> Garbage characters displayed for most text at ceping.zhaopin.com
+
+ Test: http/tests/misc/bad-charset-alias.html
+
+ * loader/TextResourceDecoder.cpp: (WebCore::TextResourceDecoder::checkForCSSCharset):
+ Fix encoding name length computation. Previously, a trailing quote was ignored by
+ TextEncodingRegistry.
+
+ * platform/text/TextCodecICU.cpp: (WebCore::TextCodecICU::registerExtendedEncodingNames):
+ Added dashes to alias names that didn't have them. Added aliases prompted by regression tests.
+
+ * platform/text/TextCodecLatin1.cpp: (WebCore::TextCodecLatin1::registerEncodingNames):
+ Don't register 8859-1, other browsers do not support this encoding name.
+
+ * platform/text/TextEncoding.cpp: (WebCore::Latin1Encoding):
+ "Latin-1" is not a real encoding name, it's not known to Firefox or IE.
+
+ * platform/text/TextEncodingRegistry.cpp:
+ (WebCore::TextEncodingNameHash::equal): Changed to no longer ignore non-alphanumeric characters.
+ There is a good chance that we'll be missing support for some necessary alias names, but other
+ browsers don't ignore any characters when matching names.
+ (WebCore::TextEncodingNameHash::hash): Ditto.
+ (WebCore::checkExistingName): Re-formatted a line.
+ (WebCore::isUndesiredAlias): Added a filter to reject "8859_1" and any names containing commas.
+ (WebCore::addToTextEncodingNameMap): Used it.
+ (WebCore::atomicCanonicalTextEncodingName): Changed to no longer ignore non-alphanumeric characters.
+
+2010-08-05 Simon Hausmann <simon.hausmann@nokia.com>
+
+ Reviewed by Laszlo Gombos.
+
+ [Qt] Temporary files should not be created in the current directory
+ https://bugs.webkit.org/show_bug.cgi?id=43562
+
+ Don't create temporary files in the current directory, use QDir::tempPath()
+ instead, as suggested by the QTemporaryFile documentation.
+
+ * platform/qt/FileSystemQt.cpp:
+ (WebCore::openTemporaryFile):
+
+2010-08-05 François Sausset <sausset@gmail.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Make STIX font the default one to render MathML
+ https://bugs.webkit.org/show_bug.cgi?id=41961
+
+ * css/mathml.css:
+ (math):
+
+2010-08-05 Cosmin Truta <ctruta@chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ Apply a stylistic fix to the patch 62640.
+ https://bug-41175-attachments.webkit.org/attachment.cgi?id=62640
+ https://bugs.webkit.org/show_bug.cgi?id=41175
+
+ * WebCore/platform/graphics/skia/ImageBufferSkia.cpp:
+ (getImageData):
+
+2010-08-05 Patrick Gansterer <paroga@paroga.com>
+
+ Reviewed by Adam Roben.
+
+ Make SearchPopupMenuWin more portable
+ https://bugs.webkit.org/show_bug.cgi?id=43527
+
+ Add #if PLATFORM(CF) around CoreFoundation code.
+
+ * platform/win/SearchPopupMenuWin.cpp:
+ (WebCore::SearchPopupMenuWin::enabled):
+ (WebCore::SearchPopupMenuWin::saveRecentSearches):
+ (WebCore::SearchPopupMenuWin::loadRecentSearches):
+
+2010-08-05 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r63653.
+ http://trac.webkit.org/changeset/63653
+ https://bugs.webkit.org/show_bug.cgi?id=43592
+
+ regressed multiple background-images (Requested by smfr on
+ #webkit).
+
+ * manual-tests/css3-background-layer-count.html: Removed.
+ * rendering/style/FillLayer.cpp:
+ (WebCore::FillLayer::fillUnsetProperties):
+ (WebCore::FillLayer::cullEmptyLayers):
+ * rendering/style/RenderStyle.h:
+ (WebCore::InheritedFlags::adjustBackgroundLayers):
+ (WebCore::InheritedFlags::adjustMaskLayers):
+
+2010-08-05 Mark Rowe <mrowe@apple.com>
+
+ Reviewed by Jon Honeycutt.
+
+ Fix some leaks seen on the buildbot.
+
+ * platform/graphics/cg/GraphicsContext3DCG.cpp:
+ (WebCore::GraphicsContext3D::paintToCanvas): Adopt the newly-created CoreGraphics objects rather than sharing ownership
+ and over-incrementing their reference count. Also cleaned up the bizarre wrapping used for function arguments while I was
+ touching this code.
+
+2010-08-05 James Robinson <jamesr@chromium.org>
+
+ Rubber stamped by Eric Seidel.
+
+ [SVG] SVGPathSeg.cpp needs an #if ENABLE(SVG) guard
+ https://bugs.webkit.org/show_bug.cgi?id=43599
+
+ Matches the rest of the .cpp files in this directory.
+
+ * svg/SVGPathSeg.cpp:
+
+2010-08-05 Erik Arvidsson <arv@chromium.org>
+
+ Reviewed by Kent Tamura.
+
+ Calling setCustomValidity should trigger a layout
+ https://bugs.webkit.org/show_bug.cgi?id=43582
+
+ Test: fast/forms/setCustomValidity.html
+
+ * html/ValidityState.cpp:
+ (WebCore::ValidityState::setCustomErrorMessage): Call setNeedsValidityCheck to tell the system that the validity might have changed.
+ * html/ValidityState.h:
+
+2010-08-05 Sam Weinig <sam@webkit.org>
+
+ Reviewed by Anders Carlsson.
+
+ Add ability to get a JSValueRef for a node handle and a world
+ https://bugs.webkit.org/show_bug.cgi?id=43591
+
+ * WebCore.exp.in: Add exports.
+
+2010-08-05 Gavin Barraclough <barraclough@apple.com>
+
+ Rubber stamped by Sam Weinig
+
+ Bug 43594 - Add string forwards to Forward.h
+ This allows us to remove forward declarations for these classes from
+ WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
+
+ * WebCore.xcodeproj/project.pbxproj:
+ * accessibility/AXObjectCache.h:
+ * accessibility/AccessibilityARIAGrid.h:
+ * accessibility/AccessibilityListBoxOption.h:
+ * accessibility/AccessibilityObject.h:
+ * accessibility/AccessibilityRenderObject.h:
+ * accessibility/AccessibilityTable.h:
+ * bindings/cpp/WebDOMCString.h:
+ * bindings/cpp/WebDOMString.h:
+ * bindings/gobject/ConvertToUTF8String.h:
+ * bindings/js/DOMWrapperWorld.h:
+ * bindings/js/JSDOMBinding.h:
+ * bindings/js/JSDOMWindowBase.h:
+ * bindings/js/JSMessagePortCustom.h:
+ * bindings/js/JavaScriptCallFrame.h:
+ * bindings/js/ScriptController.h:
+ * bindings/js/ScriptProfile.h:
+ * bindings/js/ScriptSourceProvider.h:
+ * bindings/js/ScriptString.h:
+ * bindings/js/WorkerScriptController.h:
+ * bindings/objc/DOMImplementationFront.h:
+ * bindings/v8/ScheduledAction.h:
+ * bindings/v8/ScriptController.h:
+ * bindings/v8/V8DOMWindowShell.h:
+ * bindings/v8/V8Proxy.h:
+ * bindings/v8/V8Utilities.h:
+ * bindings/v8/custom/V8CustomXPathNSResolver.h:
+ * bridge/c/c_utility.h:
+ * css/CSSFontSelector.h:
+ * css/CSSHelper.h:
+ * css/CSSOMUtils.h:
+ * css/CSSPrimitiveValue.h:
+ * css/MediaList.h:
+ * css/StyleBase.h:
+ * css/StyleSheetList.h:
+ * css/WebKitCSSKeyframesRule.h:
+ * dom/CheckedRadioButtons.h:
+ * dom/DOMImplementation.h:
+ * dom/DocumentMarker.h:
+ * dom/DynamicNodeList.h:
+ * dom/EventTarget.h:
+ * dom/MessagePort.h:
+ * dom/MessagePortChannel.h:
+ * dom/NameNodeList.h:
+ * dom/Node.h:
+ * dom/NodeList.h:
+ * dom/OptionGroupElement.h:
+ * dom/ScriptExecutionContext.h:
+ * dom/SelectElement.h:
+ * dom/ViewportArguments.h:
+ * dom/make_names.pl:
+ * editing/HTMLInterchange.h:
+ * editing/htmlediting.h:
+ * editing/markup.h:
+ * html/CollectionCache.h:
+ * html/DOMFormData.h:
+ * html/DataGridColumnList.h:
+ * html/DateComponents.h:
+ * html/FileStream.h:
+ * html/FileStreamProxy.h:
+ * html/FormDataList.h:
+ (WebCore::FormDataList::appendData):
+ * html/HTMLCollection.h:
+ * html/HTMLElementStack.h:
+ * html/HTMLFormattingElementList.h:
+ * html/HTMLParserQuirks.h:
+ * html/HTMLQuoteElement.h:
+ * html/HTMLScriptRunnerHost.h:
+ * html/StepRange.h:
+ * html/canvas/CanvasGradient.h:
+ * html/canvas/CanvasNumberArray.h:
+ * html/canvas/CanvasPattern.h:
+ * inspector/InjectedScript.h:
+ * inspector/InspectorCSSStore.h:
+ * inspector/InspectorClient.h:
+ * inspector/InspectorFrontendClient.h:
+ * inspector/InspectorValues.h:
+ * inspector/ScriptDebugListener.h:
+ * loader/CachedResourceClient.h:
+ * loader/CrossOriginAccessControl.h:
+ * loader/DocumentThreadableLoader.h:
+ * loader/FrameLoaderClient.h:
+ * loader/RedirectScheduler.h:
+ * loader/SubframeLoader.h:
+ * loader/appcache/DOMApplicationCache.h:
+ * loader/archive/ArchiveFactory.h:
+ * loader/icon/IconDatabaseClient.h:
+ * notifications/NotificationPresenter.h:
+ * page/Chrome.h:
+ * page/ChromeClient.h:
+ * page/Console.h:
+ * page/ContextMenuClient.h:
+ * page/DOMSelection.h:
+ * page/EditorClient.h:
+ * page/EventHandler.h:
+ * page/FrameView.h:
+ * page/GeolocationPositionCache.h:
+ * page/History.h:
+ * page/Location.h:
+ * page/Navigator.h:
+ * page/NavigatorBase.h:
+ * page/PluginHalterClient.h:
+ * page/PrintContext.h:
+ * page/SpeechInput.h:
+ * page/SpeechInputListener.h:
+ * page/animation/AnimationController.h:
+ * platform/CookieJar.h:
+ * platform/CrossThreadCopier.h:
+ * platform/DragImage.h:
+ * platform/FileSystem.h:
+ * platform/Language.h:
+ * platform/Length.h:
+ * platform/LinkHash.h:
+ * platform/LocalizationStrategy.h:
+ * platform/LocalizedStrings.h:
+ * platform/Logging.h:
+ * platform/Pasteboard.h:
+ * platform/PopupMenuClient.h:
+ * platform/SearchPopupMenu.h:
+ * platform/Widget.h:
+ * platform/cf/BinaryPropertyList.h:
+ * platform/chromium/ChromiumBridge.h:
+ * platform/chromium/ClipboardUtilitiesChromium.h:
+ * platform/cocoa/KeyEventCocoa.h:
+ * platform/graphics/Color.h:
+ * platform/graphics/FontCache.h:
+ * platform/graphics/FontData.h:
+ * platform/graphics/FontSelector.h:
+ * platform/graphics/GraphicsTypes.h:
+ * platform/graphics/Icon.h:
+ * platform/graphics/ImageBuffer.h:
+ * platform/graphics/ImageSource.h:
+ * platform/graphics/MediaPlayer.h:
+ * platform/graphics/MediaPlayerPrivate.h:
+ * platform/graphics/Path.h:
+ * platform/graphics/StringTruncator.h:
+ * platform/graphics/cairo/FontCustomPlatformData.h:
+ * platform/graphics/cairo/FontPlatformData.h:
+ * platform/graphics/cg/FontPlatformData.h:
+ * platform/graphics/cg/ImageSourceCG.h:
+ * platform/graphics/chromium/FontCustomPlatformData.h:
+ * platform/graphics/chromium/FontPlatformDataChromiumWin.h:
+ * platform/graphics/chromium/FontPlatformDataLinux.h:
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
+ * platform/graphics/haiku/FontCustomPlatformData.h:
+ * platform/graphics/mac/FontCustomPlatformData.h:
+ * platform/graphics/mac/FontPlatformData.h:
+ * platform/graphics/qt/FontCustomPlatformData.h:
+ * platform/graphics/qt/FontPlatformData.h:
+ * platform/graphics/win/FontCustomPlatformData.h:
+ * platform/graphics/win/FontCustomPlatformDataCairo.h:
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
+ * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h:
+ * platform/graphics/wince/FontPlatformData.h:
+ * platform/graphics/wince/MediaPlayerPrivateWince.h:
+ * platform/graphics/wince/MediaPlayerProxy.h:
+ * platform/graphics/wx/FontCustomPlatformData.h:
+ * platform/graphics/wx/FontPlatformData.h:
+ * platform/mac/PasteboardHelper.h:
+ * platform/network/DNS.h:
+ * platform/network/FormData.h:
+ * platform/network/FormDataBuilder.h:
+ * platform/network/HTTPParsers.h:
+ * platform/text/Hyphenation.h:
+ * platform/text/LineEnding.h:
+ * platform/text/TextCodec.h:
+ * platform/text/TextEncoding.h:
+ * platform/text/TextStream.h:
+ * platform/win/BString.h:
+ * platform/win/ClipboardUtilitiesWin.h:
+ * platform/win/WCDataObject.h:
+ * platform/win/WebCoreTextRenderer.h:
+ * plugins/DOMMimeType.h:
+ * plugins/DOMMimeTypeArray.h:
+ * plugins/DOMPlugin.h:
+ * plugins/DOMPluginArray.h:
+ * rendering/CounterNode.h:
+ * rendering/HitTestResult.h:
+ * rendering/RenderObjectChildList.h:
+ * rendering/RenderText.h:
+ * rendering/RenderTreeAsText.h:
+ * rendering/TextControlInnerElements.h:
+ * rendering/style/ContentData.h:
+ * rendering/style/RenderStyle.h:
+ * storage/DatabaseAuthorizer.h:
+ * storage/DatabaseTrackerClient.h:
+ * storage/SQLTransaction.h:
+ * storage/SQLTransactionSync.h:
+ * storage/Storage.h:
+ * storage/chromium/DatabaseObserver.h:
+ * svg/SVGAnimatedTemplate.h:
+ * svg/SVGDocumentExtensions.h:
+ * svg/SVGGlyphElement.h:
+ * svg/SVGHKernElement.h:
+ * svg/SVGNumberList.h:
+ * svg/SVGPointList.h:
+ * svg/SVGPreserveAspectRatio.h:
+ * svg/SVGStylable.h:
+ * svg/SVGTests.h:
+ * svg/SVGTransformList.h:
+ * svg/SVGTransformable.h:
+ * svg/SVGVKernElement.h:
+ * websockets/ThreadableWebSocketChannel.h:
+ * websockets/ThreadableWebSocketChannelClientWrapper.h:
+ * websockets/WebSocket.h:
+ * websockets/WebSocketChannel.h:
+ * websockets/WebSocketHandshakeResponse.h:
+ * wml/WMLErrorHandling.h:
+ * wml/WMLPageState.h:
+ * wml/WMLVariables.h:
+ * workers/DefaultSharedWorkerRepository.h:
+ * workers/SharedWorkerRepository.h:
+ * workers/Worker.h:
+ * workers/WorkerContextProxy.h:
+ * workers/WorkerLoaderProxy.h:
+ * workers/WorkerLocation.h:
+ * workers/WorkerMessagingProxy.h:
+ * workers/WorkerReportingProxy.h:
+ * workers/WorkerThread.h:
+ * xml/DOMParser.h:
+ * xml/XMLHttpRequestUpload.h:
+ * xml/XPathEvaluator.h:
+ * xml/XPathExpression.h:
+ * xml/XPathNSResolver.h:
+ * xml/XPathResult.h:
+ * xml/XPathUtil.h:
+
+2010-08-05 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ U+0000 is turned to U+FFFD (replacement character)
+ https://bugs.webkit.org/show_bug.cgi?id=42112
+
+ This patch introduces an intentional parsing difference from the HTML5
+ parsing specificiation. The spec requires us to convert NULL
+ characters to U+FFFD, but doing so causes compatibility issues with a
+ number of sites, including US Bank.
+
+ In this patch, we strip the null characters instead in certain cases.
+ Firefox has made a corresponding change. After gathering compatability
+ data, we hope to convince the HTML WG to adopt this change.
+
+ Tests: fast/tokenizer/null-in-text.html
+ fast/tokenizer/null-xss.html
+
+ * html/HTMLTokenizer.cpp:
+ (WebCore::HTMLTokenizer::HTMLTokenizer):
+ (WebCore::HTMLTokenizer::reset):
+ * html/HTMLTokenizer.h:
+ (WebCore::HTMLTokenizer::setSkipLeadingNewLineForListing):
+ (WebCore::HTMLTokenizer::forceNullCharacterReplacement):
+ (WebCore::HTMLTokenizer::setForceNullCharacterReplacement):
+ (WebCore::HTMLTokenizer::shouldSkipNullCharacters):
+ (WebCore::HTMLTokenizer::InputStreamPreprocessor::InputStreamPreprocessor):
+ (WebCore::HTMLTokenizer::InputStreamPreprocessor::peek):
+ * html/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::passTokenToLegacyParser):
+ (WebCore::HTMLTreeBuilder::constructTreeFromToken):
+ (WebCore::HTMLTreeBuilder::processStartTagForInBody):
+
+2010-08-05 Andy Estes <aestes@apple.com>
+
+ Reviewed by David Kilzer.
+
+ Rename iOS-related OS and PLATFORM macros.
+ https://bugs.webkit.org/show_bug.cgi?id=43493
+
+ Rename WTF_OS_IPHONE_OS to WTF_OS_IOS, WTF_PLATFORM_IPHONE to
+ WTF_PLATFORM_IOS, and WTF_PLATFORM_IPHONE_SIMULATOR to
+ WTF_PLATFORM_IOS_SIMULATOR.
+
+ * platform/cocoa/KeyEventCocoa.mm:
+ * platform/iphone/KeyEventIPhone.mm:
+ * platform/network/Credential.h:
+
+2010-08-05 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Sam Weinig.
+
+ Use the visited link provider for visited links
+ https://bugs.webkit.org/show_bug.cgi?id=43583
+
+ Export Page::visitedStateChanged and Page::allvisitedStateChanged.
+
+ * WebCore.exp.in:
+
+2010-08-05 Eric Seidel <eric@webkit.org>
+
+ Reviewed by Nikolas Zimmermann.
+
+ Touching SVGNames should only rebuild hundreds of files, not thousands
+ https://bugs.webkit.org/show_bug.cgi?id=43308
+
+ Remove SVGNames.h include from several core SVG header files
+ which do not need to include it.
+
+ One of them, SVGPathSeg.h, required creation of an SVGPathSeg.cpp.
+ A bunch of SVGPathSeg* could remove PlatformString.h includes if
+ we moved their toString() methods into the .cpp files.
+
+ I re-indented on header to stop check-webkit-style from complaining.
+ I removed a couple mode lines I saw, since my understanding from
+ previous webkit-dev threads is that we plan to remove those all.
+
+ No functional change, thus no tests.
+
+ * Android.mk:
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.xcodeproj/project.pbxproj:
+ * svg/SVGAllInOne.cpp:
+ * svg/SVGAngle.h:
+ * svg/SVGPathSeg.cpp: Added.
+ (WebCore::SVGPathSeg::~SVGPathSeg):
+ (WebCore::SVGPathSeg::pathSegType):
+ (WebCore::SVGPathSeg::pathSegTypeAsLetter):
+ (WebCore::SVGPathSeg::toString):
+ (WebCore::SVGPathSeg::associatedAttributeName):
+ (WebCore::SVGPathSegSingleCoord::toString):
+ * svg/SVGPathSeg.h:
+ (WebCore::SVGPathSegSingleCoord::SVGPathSegSingleCoord):
+ * svg/SVGPathSegArc.cpp:
+ (WebCore::SVGPathSegArc::toString):
+ * svg/SVGPathSegArc.h:
+ (WebCore::SVGPathSegArc::SVGPathSegArc):
+ * svg/SVGPathSegClosePath.h:
+ (WebCore::SVGPathSegClosePath::create):
+ (WebCore::SVGPathSegClosePath::pathSegType):
+ (WebCore::SVGPathSegClosePath::pathSegTypeAsLetter):
+ (WebCore::SVGPathSegClosePath::toString):
+ * svg/SVGPathSegCurvetoCubic.h:
+ * svg/SVGPathSegCurvetoCubicSmooth.h:
+ * svg/SVGPathSegCurvetoQuadratic.h:
+ * svg/SVGPathSegCurvetoQuadraticSmooth.h:
+ * svg/SVGPathSegLineto.h:
+ * svg/SVGPathSegLinetoHorizontal.h:
+ * svg/SVGPathSegLinetoVertical.h:
+ * svg/SVGPathSegMoveto.h:
+ * svg/SVGTransform.h:
+
+2010-08-05 Dirk Schulze <krit@webkit.org>
+
+ Unreviewed sort of Xcode project file.
+
+ * WebCore.xcodeproj/project.pbxproj:
+
+2010-08-05 Adam Barth <abarth@webkit.org>
+
+ Actually make HTMLEntityNames.json valid JSON.
+
+ * html/HTMLEntityNames.json:
+
+2010-08-05 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Fix for https://bugs.webkit.org/show_bug.cgi?id=43516 REGRESSION:
+ Huge number of memory leaks after enabling MathML
+ -and corresponding-
+ <rdar://problem/8274123>
+
+ Destroy the old children in
+ RenderMathMLOperator::updateFromElement() instead of just removing
+ them since just removing them will cause them to leak.
+ * mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::updateFromElement):
+
+2010-08-05 Tony Chang <tony@chromium.org>
+
+ Reviewed by David Hyatt.
+
+ Fix a crash when a hidden iframe with a custom scrollbar finishes loading an image.
+ https://bugs.webkit.org/show_bug.cgi?id=42724
+
+ Test: scrollbars/hidden-iframe-scrollbar-crash2.html
+
+ * page/FrameView.cpp:
+ (WebCore::FrameView::createScrollbar):
+ * rendering/RenderScrollbar.cpp:
+ (WebCore::RenderScrollbar::createCustomScrollbar): Pass in Frame
+ (WebCore::RenderScrollbar::RenderScrollbar): Pass in Frame
+ (WebCore::RenderScrollbar::owningRenderer): Use the frame to get the RenderBox
+ (WebCore::RenderScrollbar::getScrollbarPseudoStyle):
+ (WebCore::RenderScrollbar::updateScrollbarParts):
+ (WebCore::RenderScrollbar::updateScrollbarPart):
+ * rendering/RenderScrollbar.h:
+ * rendering/RenderScrollbarPart.cpp:
+ (WebCore::RenderScrollbarPart::computeScrollbarWidth): null check
+ (WebCore::RenderScrollbarPart::computeScrollbarHeight): null check
+
+2010-08-05 Yong Li <yoli@rim.com>
+
+ Reviewed by Adam Treat.
+
+ Fix the problem that down-sampling code doesn't work
+ for some GIF's. GIF reader can call setSize() multiple times.
+ We should clear the scaling maps before adding new entries.
+ Also add a fast path to check if the size has changed since last time.
+
+ https://bugs.webkit.org/show_bug.cgi?id=43501
+
+ * platform/image-decoders/ImageDecoder.cpp:
+ (WebCore::ImageDecoder::prepareScaleDataIfNecessary):
+ * platform/image-decoders/gif/GIFImageDecoder.cpp:
+ (WebCore::GIFImageDecoder::setSize):
+
+2010-08-05 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Reviewed by Yury Semikhatsky.
+
+ WebInspector: In the current implementation of inspector agents we're calling
+ did methods manually. That is error prone and is bad from protocol point of view.
+ It would be better to call did methods automatically from the corresponding methods
+ of InspectorBackendDispatcher and report the results. As far as our protocol is
+ statefull this trick will keep it in the consistent state.
+ https://bugs.webkit.org/show_bug.cgi?id=43489
+
+ * inspector/CodeGeneratorInspector.pm:
+ * inspector/Inspector.idl:
+ * inspector/InspectorApplicationCacheAgent.cpp:
+ (WebCore::InspectorApplicationCacheAgent::getApplicationCaches):
+ * inspector/InspectorApplicationCacheAgent.h:
+ * inspector/InspectorBackend.cpp:
+ (WebCore::InspectorBackend::getProfilerLogLines):
+ (WebCore::InspectorBackend::setInjectedScriptSource):
+ (WebCore::InspectorBackend::dispatchOnInjectedScript):
+ (WebCore::InspectorBackend::clearConsoleMessages):
+ (WebCore::InspectorBackend::releaseWrapperObjectGroup):
+ (WebCore::InspectorBackend::getDatabaseTableNames):
+ * inspector/InspectorBackend.h:
+ * inspector/InspectorCSSStore.cpp:
+ (WebCore::InspectorCSSStore::inspectorStyleSheet):
+ * inspector/InspectorCSSStore.h:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::InspectorController):
+ (WebCore::InspectorController::getCookies):
+ (WebCore::InspectorController::getDOMStorageEntries):
+ (WebCore::InspectorController::setDOMStorageItem):
+ (WebCore::InspectorController::removeDOMStorageItem):
+ (WebCore::InspectorController::getProfileHeaders):
+ (WebCore::InspectorController::getProfile):
+ (WebCore::InspectorController::editScriptSource):
+ (WebCore::InspectorController::getScriptSource):
+ (WebCore::InspectorController::setBreakpoint):
+ (WebCore::InspectorController::getResourceContent):
+ * inspector/InspectorController.h:
+ (WebCore::InspectorController::inspectorClient):
+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::InspectorDOMAgent::getChildNodes):
+ (WebCore::InspectorDOMAgent::setAttribute):
+ (WebCore::InspectorDOMAgent::removeAttribute):
+ (WebCore::InspectorDOMAgent::removeNode):
+ (WebCore::InspectorDOMAgent::changeTagName):
+ (WebCore::InspectorDOMAgent::getOuterHTML):
+ (WebCore::InspectorDOMAgent::setOuterHTML):
+ (WebCore::InspectorDOMAgent::setTextNodeValue):
+ (WebCore::InspectorDOMAgent::getEventListenersForNode):
+ (WebCore::InspectorDOMAgent::getStyles):
+ (WebCore::InspectorDOMAgent::getAllStyles):
+ (WebCore::InspectorDOMAgent::getStyleSheet):
+ (WebCore::InspectorDOMAgent::getRuleRanges):
+ (WebCore::InspectorDOMAgent::getInlineStyle):
+ (WebCore::InspectorDOMAgent::getComputedStyle):
+ (WebCore::InspectorDOMAgent::applyStyleText):
+ (WebCore::InspectorDOMAgent::setStyleText):
+ (WebCore::InspectorDOMAgent::setStyleProperty):
+ (WebCore::InspectorDOMAgent::toggleStyleEnabled):
+ (WebCore::InspectorDOMAgent::setRuleSelector):
+ (WebCore::InspectorDOMAgent::addRule):
+ (WebCore::InspectorDOMAgent::buildObjectForRule):
+ (WebCore::InspectorDOMAgent::pushNodeByPathToFrontend):
+ * inspector/InspectorDOMAgent.h:
+ * inspector/InspectorValues.cpp:
+ (WebCore::InspectorValue::asNumber):
+ (WebCore::InspectorBasicValue::asNumber):
+ * inspector/InspectorValues.h:
+ * inspector/front-end/Callback.js:
+ (WebInspector.Callback.prototype.processCallback):
+ (WebInspector.Callback.prototype.removeCallbackEntry):
+ * inspector/front-end/ElementsPanel.js:
+ (WebInspector.ElementsPanel.prototype.reset):
+ * inspector/front-end/inspector.js:
+ (WebInspector.reportProtocolError):
+
+2010-08-04 Kenneth Russell <kbr@google.com>
+
+ Reviewed by Dimitri Glazkov.
+
+ Style cleanups in WebGL
+ https://bugs.webkit.org/show_bug.cgi?id=38761
+
+ Cleaned up all style violations in WebGL-related files reported by
+ check-webkit-style. No logic or other changes. Built WebKit and
+ Chromium and ran WebGL layout tests.
+
+ * html/canvas/ArrayBuffer.cpp:
+ (WebCore::ArrayBuffer::ArrayBuffer):
+ (WebCore::ArrayBuffer::data):
+ (WebCore::ArrayBuffer::byteLength):
+ (WebCore::ArrayBuffer::~ArrayBuffer):
+ (WebCore::ArrayBuffer::tryAllocate):
+ * html/canvas/ArrayBufferView.cpp:
+ (WebCore::ArrayBufferView::setImpl):
+ * html/canvas/ArrayBufferView.h:
+ * html/canvas/TypedArrayBase.h:
+ * html/canvas/WebGLBuffer.cpp:
+ (WebCore::WebGLBuffer::deleteObjectImpl):
+ (WebCore::WebGLBuffer::associateBufferData):
+ * html/canvas/WebGLBuffer.h:
+ (WebCore::WebGLBuffer::~WebGLBuffer):
+ (WebCore::WebGLBuffer::elementArrayBuffer):
+ (WebCore::WebGLBuffer::getTarget):
+ (WebCore::WebGLBuffer::isBuffer):
+ * html/canvas/WebGLFramebuffer.cpp:
+ (WebCore::WebGLFramebuffer::deleteObjectImpl):
+ * html/canvas/WebGLFramebuffer.h:
+ (WebCore::WebGLFramebuffer::~WebGLFramebuffer):
+ (WebCore::WebGLFramebuffer::isDepthAttached):
+ (WebCore::WebGLFramebuffer::isStencilAttached):
+ (WebCore::WebGLFramebuffer::isDepthStencilAttached):
+ (WebCore::WebGLFramebuffer::isFramebuffer):
+ * html/canvas/WebGLGetInfo.cpp:
+ * html/canvas/WebGLGetInfo.h:
+ * html/canvas/WebGLObject.cpp:
+ (WebCore::WebGLObject::deleteObject):
+ * html/canvas/WebGLObject.h:
+ (WebCore::WebGLObject::object):
+ (WebCore::WebGLObject::detachContext):
+ (WebCore::WebGLObject::context):
+ (WebCore::WebGLObject::isBuffer):
+ (WebCore::WebGLObject::isFramebuffer):
+ (WebCore::WebGLObject::isProgram):
+ (WebCore::WebGLObject::isRenderbuffer):
+ (WebCore::WebGLObject::isShader):
+ (WebCore::WebGLObject::isTexture):
+ * html/canvas/WebGLProgram.cpp:
+ (WebCore::WebGLProgram::deleteObjectImpl):
+ * html/canvas/WebGLProgram.h:
+ (WebCore::WebGLProgram::~WebGLProgram):
+ (WebCore::WebGLProgram::isLinkFailureFlagSet):
+ (WebCore::WebGLProgram::setLinkFailureFlag):
+ (WebCore::WebGLProgram::isProgram):
+ * html/canvas/WebGLRenderbuffer.cpp:
+ (WebCore::WebGLRenderbuffer::deleteObjectImpl):
+ * html/canvas/WebGLRenderbuffer.h:
+ (WebCore::WebGLRenderbuffer::~WebGLRenderbuffer):
+ (WebCore::WebGLRenderbuffer::setInternalFormat):
+ (WebCore::WebGLRenderbuffer::getInternalFormat):
+ (WebCore::WebGLRenderbuffer::isInitialized):
+ (WebCore::WebGLRenderbuffer::setInitialized):
+ (WebCore::WebGLRenderbuffer::isRenderbuffer):
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::beginPaint):
+ (WebCore::WebGLRenderingContext::blendEquation):
+ (WebCore::WebGLRenderingContext::getActiveAttrib):
+ (WebCore::WebGLRenderingContext::getActiveUniform):
+ (WebCore::WebGLRenderingContext::getBufferParameter):
+ (WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter):
+ (WebCore::WebGLRenderingContext::vertexAttribPointer):
+ * html/canvas/WebGLRenderingContext.h:
+ (WebCore::WebGLRenderingContext::is3d):
+ (WebCore::WebGLRenderingContext::isAccelerated):
+ (WebCore::WebGLRenderingContext::graphicsContext3D):
+ (WebCore::WebGLRenderingContext::cleanupAfterGraphicsCall):
+ (WebCore::WebGLRenderingContext::VertexAttribState::VertexAttribState):
+ (WebCore::WebGLRenderingContext::VertexAttribState::initValue):
+ * html/canvas/WebGLShader.cpp:
+ (WebCore::WebGLShader::deleteObjectImpl):
+ * html/canvas/WebGLShader.h:
+ (WebCore::WebGLShader::~WebGLShader):
+ (WebCore::WebGLShader::getType):
+ (WebCore::WebGLShader::isShader):
+ * html/canvas/WebGLTexture.cpp:
+ (WebCore::WebGLTexture::deleteObjectImpl):
+ * html/canvas/WebGLTexture.h:
+ (WebCore::WebGLTexture::~WebGLTexture):
+ (WebCore::WebGLTexture::isCubeMapRWrapModeInitialized):
+ (WebCore::WebGLTexture::setCubeMapRWrapModeInitialized):
+ (WebCore::WebGLTexture::isTexture):
+ (WebCore::WebGLTexture::LevelInfo::LevelInfo):
+ (WebCore::WebGLTexture::LevelInfo::setInfo):
+ * platform/graphics/GraphicsContext3D.h:
+ (WebCore::GraphicsContext3D::):
+ (WebCore::GraphicsContext3D::Attributes::Attributes):
+ (WebCore::GraphicsContext3D::platformGraphicsContext3D):
+ (WebCore::GraphicsContext3D::platformTexture):
+ (WebCore::GraphicsContext3D::platformLayer):
+
+2010-08-05 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>
+
+ Reviewed by Simon Hausmann.
+
+ Make the viewport meta tag parser support the Android
+ target-densitydpi extension.
+ http://webkit.org/b/43492
+
+ http://developer.android.com/reference/android/webkit/WebView.html
+ Section 'Building web pages to support different screen densities'
+
+ * dom/ViewportArguments.cpp:
+ (WebCore::setViewportFeature):
+ (WebCore::viewportErrorMessageTemplate):
+ * dom/ViewportArguments.h:
+ (WebCore::):
+ (WebCore::ViewportArguments::ViewportArguments):
+ (WebCore::ViewportArguments::hasCustomArgument):
+
+2010-08-05 Jian Li <jianli@chromium.org>
+
+ Reviewed by David Levin.
+
+ Unify blob related feature defines to ENABLE(BLOB).
+ https://bugs.webkit.org/show_bug.cgi?id=43081
+
+ * Configurations/FeatureDefines.xcconfig:
+ * GNUmakefile.am:
+ * WebCore.pri:
+ * bindings/js/JSEventTarget.cpp:
+ (WebCore::toJS):
+ * bindings/v8/V8DOMWrapper.cpp:
+ (WebCore::V8DOMWrapper::convertEventTargetToV8Object):
+ * dom/EventTarget.cpp:
+ * dom/EventTarget.h:
+ * dom/ExceptionCode.h:
+ (WebCore::):
+ * dom/ScriptExecutionContext.cpp:
+ (WebCore::ScriptExecutionContext::~ScriptExecutionContext):
+ * dom/ScriptExecutionContext.h:
+ * html/Blob.cpp:
+ * html/Blob.h:
+ * html/Blob.idl:
+ * html/FileError.h:
+ * html/FileError.idl:
+ * html/FileReader.cpp:
+ * html/FileReader.h:
+ * html/FileReader.idl:
+ * html/FileStream.cpp:
+ (WebCore::FileStream::openForRead):
+ * html/FileStream.h:
+ * html/FileStreamClient.h:
+ * html/FileStreamProxy.cpp:
+ * html/FileStreamProxy.h:
+ * html/FileThread.cpp:
+ * html/FileThread.h:
+ * page/DOMWindow.idl:
+ * platform/BlobItem.cpp:
+ (WebCore::getFileSnapshotModificationTime):
+ (WebCore::DataBlobItem::slice):
+ (WebCore::FileBlobItem::slice):
+ * platform/BlobItem.h:
+ * platform/network/FormData.cpp:
+ (WebCore::FormData::deepCopy):
+ (WebCore::FormData::appendFile):
+ (WebCore::FormData::appendItem):
+ (WebCore::FormData::appendKeyValuePairItems):
+ * platform/network/FormData.h:
+ (WebCore::operator==):
+ * platform/network/mac/FormDataStreamMac.mm:
+ (WebCore::closeCurrentStream):
+ (WebCore::advanceCurrentStream):
+ (WebCore::formCreate):
+ (WebCore::formRead):
+ (WebCore::setHTTPBody):
+
+2010-08-05 Xan Lopez <xlopez@igalia.com>
+
+ Reviewed by Gustavo Noronha.
+
+ When trying to wrap a Node we know is an Element fallback to a
+ simple Element wrapper in the worst case, not to Node.
+
+ * bindings/gobject/WebKitDOMBinding.cpp:
+ (WebKit::createWrapper):
+
+2010-08-05 François Sausset <sausset@gmail.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Implement basic values of MathML mathvariant attribute
+ https://bugs.webkit.org/show_bug.cgi?id=43481
+
+ Test: mathml/presentation/attributes.xhtml
+
+ * css/mathml.css:
+ (math[mathvariant="normal"], mstyle[mathvariant="normal"], mo[mathvariant="normal"], mn[mathvariant="normal"], mi[mathvariant="normal"], mtext[mathvariant="normal"], mspace[mathvariant="normal"], ms[mathvariant="normal"]):
+ (math[mathvariant="bold"], mstyle[mathvariant="bold"], mo[mathvariant="bold"], mn[mathvariant="bold"], mi[mathvariant="bold"], mtext[mathvariant="bold"], mspace[mathvariant="bold"], ms[mathvariant="bold"]):
+ (math[mathvariant="italic"], mstyle[mathvariant="italic"], mo[mathvariant="italic"], mn[mathvariant="italic"], mi[mathvariant="italic"], mtext[mathvariant="italic"], mspace[mathvariant="italic"], ms[mathvariant="italic"]):
+ (math[mathvariant="bold-italic"], mstyle[mathvariant="bold-italic"], mo[mathvariant="bold-italic"], mn[mathvariant="bold-italic"], mi[mathvariant="bold-italic"], mtext[mathvariant="bold-italic"], mspace[mathvariant="bold-italic"], ms[mathvariant="bold-italic"]):
+ * mathml/mathattrs.in:
+
+2010-08-05 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: inspected page crashes when there is a cyclic reference in Object prototype
+ https://bugs.webkit.org/show_bug.cgi?id=43558
+
+ Test: inspector/debugger-cyclic-ref.html
+
+ * bindings/v8/ScriptValue.cpp:
+ (WebCore::v8ToInspectorValue):
+
+2010-08-05 Satish Sampath <satish@chromium.org>
+
+ Reviewed by Jeremy Orlow.
+
+ Fix rendering of speech button and enable layout tests
+ https://bugs.webkit.org/show_bug.cgi?id=43425
+
+ Rewrote the speech button rendering code to match how the spin buttons (for input type=number)
+ are implemented as the previous implementation did not work well on many platforms.
+
+ * rendering/RenderTextControlSingleLine.cpp:
+ (WebCore::RenderTextControlSingleLine::~RenderTextControlSingleLine):
+ (WebCore::RenderTextControlSingleLine::layout):
+ (WebCore::RenderTextControlSingleLine::nodeAtPoint):
+ (WebCore::RenderTextControlSingleLine::styleDidChange):
+ (WebCore::RenderTextControlSingleLine::hasControlClip):
+ (WebCore::RenderTextControlSingleLine::adjustControlHeightBasedOnLineHeight):
+ (WebCore::RenderTextControlSingleLine::createSubtreeIfNeeded):
+ (WebCore::RenderTextControlSingleLine::createInnerTextStyle):
+ (WebCore::RenderTextControlSingleLine::createSpeechButtonStyle):
+ (WebCore::RenderTextControlSingleLine::clientPaddingRight):
+ * rendering/RenderTextControlSingleLine.h:
+ * rendering/TextControlInnerElements.cpp:
+ (WebCore::InputFieldSpeechButtonElement::InputFieldSpeechButtonElement):
+ (WebCore::InputFieldSpeechButtonElement::create):
+ * rendering/TextControlInnerElements.h:
+
+2010-08-05 Andrey Kosyakov <caseq@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: Separated WebInspector extension API injection logic from other scripts that inspector injects.
+ Enabled injection of the API scripts even if inspector is disabled for inspector front-end page.
+ https://bugs.webkit.org/show_bug.cgi?id=43344
+
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::inspectedWindowScriptObjectCleared):
+ (WebCore::InspectorController::setInspectorExtensionAPI):
+ * inspector/InspectorController.h:
+ * inspector/InspectorFrontendHost.cpp:
+ (WebCore::InspectorFrontendHost::setExtensionAPI):
+
+2010-08-05 Charles Wei <charles.wei@torchmobile.com.cn>
+
+ Reviewed by George Staikos.
+
+ <noscript> is working the other way around in some cases with xhtmlmp enabled
+ https://bugs.webkit.org/show_bug.cgi?id=43469
+
+ Test: fast/xhtmlmp/noscript-basic.xhtml
+
+ * dom/Document.cpp:
+ (WebCore::Document::Document):
+
+2010-08-05 Yury Semikhatsky <yurys@chromium.org>
+
+ Unreviewed. Fix Win compilation.
+
+ * bindings/js/JSBindingsAllInOne.cpp:
+
+2010-08-05 Simon Hausmann <simon.hausmann@nokia.com>
+
+ Reviewed by Tor Arne Vestbø.
+
+ [Qt] Clean up the input method handling
+ https://bugs.webkit.org/show_bug.cgi?id=43545
+
+ Changed input method hint interface to be more efficient by setting
+ all hints in one shot, like in QWidget.
+
+ * platform/qt/QWebPageClient.h:
+
+2010-08-05 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: remove mutator methods from ScriptObject and remove ScriptArray.
+ We shouldn't modify JS objects from InspectorController, InspectorValues
+ should be used instead.
+ https://bugs.webkit.org/show_bug.cgi?id=43546
+
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/ScriptArray.cpp: Removed.
+ * bindings/js/ScriptArray.h: Removed.
+ * bindings/js/ScriptCallStack.h:
+ * bindings/js/ScriptObject.cpp:
+ * bindings/js/ScriptObject.h:
+ * bindings/v8/ScriptArray.cpp: Removed.
+ * bindings/v8/ScriptArray.h: Removed.
+ * bindings/v8/ScriptCallStack.h:
+ * bindings/v8/ScriptObject.cpp:
+ * bindings/v8/ScriptObject.h:
+
+2010-08-05 Ned Holbrook <nholbrook@apple.com>
+
+ Reviewed by Darin Adler.
+
+ ~5% complex layout performance improvement.
+ https://bugs.webkit.org/show_bug.cgi?id=43436
+
+ * platform/graphics/mac/ComplexTextController.h:
+ * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
+ (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun): Use Vector rather than CFMutableData.
+ (WebCore::ComplexTextController::ComplexTextRun::createTextRunFromFontDataCoreText): Ditto.
+ (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText): Avoid typesetter allocation unless using typesetter options.
+
+2010-08-05 Steve Block <steveblock@google.com>
+
+ Reviewed by Jeremy Orlow.
+
+ targetReferenceFromResource() in SVGResources.cpp is missing an ENABLE(FILTERS) guard
+ https://bugs.webkit.org/show_bug.cgi?id=43550
+
+ Also updates an existing ENABLE(FILTERS) guard to avoid a compiler
+ warning 'case FilterResourceType not handled in switch' when FILTERS
+ is not enabled.
+
+ No new tests, build fix only.
+
+ * rendering/SVGResources.cpp:
+ (WebCore::targetReferenceFromResource):
+ (WebCore::SVGResources::resourceDestroyed):
+
+2010-08-05 Victoria Kirst <vrk@google.com>
+
+ Reviewed by David Levin.
+
+ Added logic to use glMapTexSubImage2D to write video layer to GPU
+ texture. Also fixes CPU usage problem from previous patch.
+ https://bugs.webkit.org/show_bug.cgi?id=43101
+
+ No change in user-visible functionality (since it isn't turned on),
+ so no new tests.
+
+ * platform/graphics/chromium/VideoLayerChromium.cpp:
+ (WebCore::VideoLayerChromium::VideoLayerChromium):
+ (WebCore::VideoLayerChromium::updateTextureContents):
+ (WebCore::VideoLayerChromium::createTextureRect):
+ (WebCore::VideoLayerChromium::updateTextureRect):
+ (WebCore::VideoLayerChromium::updateCompleted):
+ * platform/graphics/chromium/VideoLayerChromium.h:
+
+2010-08-05 Zoltan Horvath <zoltan@webkit.org>
+
+ Reviewed by Simon Hausmann.
+
+ Allow custom memory allocation control for ClipperData struct
+ https://bugs.webkit.org/show_bug.cgi?id=43337
+
+ Inherits the following class from FastAllocBase because it is
+ instantiated by 'new':
+
+ class name - instantiated at: WebCore/'location'
+ RenderLayerBacking - rendering/RenderSVGResourceClipper.cpp:165
+
+ * rendering/RenderSVGResourceClipper.h:
+
+2010-08-05 Zoltan Horvath <zoltan@webkit.org>
+
+ Reviewed by Simon Hausmann.
+
+ Allow custom memory allocation control for DoctypeData class
+ https://bugs.webkit.org/show_bug.cgi?id=43343
+
+ Inherits the following class from Noncopyable because it is
+ instantiated by 'new' and no need to be copyable:
+
+ class name - instantiated at: WebCore/'location'
+ DoctypeData - html/HTMLToken.h:113
+
+ * html/HTMLToken.h:
+
+2010-08-05 François Sausset <sausset@gmail.com>
+
+ Reviewed by Darin Adler.
+
+ Small style adjustments for MathML merror element.
+ https://bugs.webkit.org/show_bug.cgi?id=43432
+
+ * css/mathml.css:
+ (merror):
+
+2010-08-05 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: forbid InspectorController to create script objects directly in the frontend
+ https://bugs.webkit.org/show_bug.cgi?id=43541
+
+ Cookie and AppCache data are now serialized into InspectorValues instead of
+ ScriptObjects. These were last usages of InspectorFrontend::newScript{Object,Array}
+ so we can remove them now and use only InspectorValues to pass data to the inspector
+ frontend.
+
+ * inspector/Inspector.idl:
+ * inspector/InspectorApplicationCacheAgent.cpp:
+ (WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):
+ (WebCore::InspectorApplicationCacheAgent::getApplicationCaches):
+ (WebCore::InspectorApplicationCacheAgent::buildObjectForApplicationCache):
+ (WebCore::InspectorApplicationCacheAgent::buildArrayForApplicationCacheResources):
+ (WebCore::InspectorApplicationCacheAgent::buildObjectForApplicationCacheResource):
+ * inspector/InspectorApplicationCacheAgent.h:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::connectFrontend):
+ (WebCore::InspectorController::getCookies):
+ (WebCore::InspectorController::buildArrayForCookies):
+ (WebCore::InspectorController::buildObjectForCookie):
+ * inspector/InspectorController.h:
+ * inspector/InspectorFrontend.cpp:
+ (WebCore::InspectorFrontend::setRecordingProfile):
+ * inspector/InspectorFrontend.h:
+
+2010-08-05 Mario Sanchez Prada <msanchez@igalia.com>
+
+ Reviewed by Xan Lopez.
+
+ [GTK] Extra check needed at AccessibilityObject::visiblePositionRangeForRange
+ https://bugs.webkit.org/show_bug.cgi?id=43418
+
+ Ensure the renderer is a RenderText before calling toRenderText()
+
+ Also, simplified code a bit to avoid so many nested if's in that
+ part of the code, while keeping the same logic.
+
+ * accessibility/AccessibilityObject.cpp:
+ (WebCore::AccessibilityObject::visiblePositionRangeForRange):
+
+2010-08-05 Kwang Yul Seo <skyul@company100.net>
+
+ Reviewed by Kent Tamura.
+
+ [BREWMP] Define htonl, htons, ntohl and ntohs
+ https://bugs.webkit.org/show_bug.cgi?id=43397
+
+ In BREWMP, AEEStdLib.h provides macros for byte order conversion: HTONL, HTONS, NTOHL and NTOHS.
+ Use these macros to define htonl, htons, ntohl and ntohs used by WOFFFileFormat.cpp.
+
+ * platform/graphics/WOFFFileFormat.cpp:
+
+2010-08-04 Zoltan Herczeg <zherczeg@webkit.org>
+
+ Reviewed by Nikolas Zimmermann.
+
+ SVGFilterElement & SVGFE*Element don't support dynamic invalidation, when attributes change
+ https://bugs.webkit.org/show_bug.cgi?id=42244
+
+ Implementing svgAttributeChanged for SVGFESpotLightElement object.
+ Furthermore, invalidateFilter has been moved to SVGFilterElement, and
+ it is a static function now.
+
+ Tests: svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr.html
+ svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr.html
+ svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr.html
+ svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr.html
+ svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr.html
+ svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr.html
+ svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr.html
+ svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr.html
+ svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop.html
+ svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop.html
+ svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop.html
+ svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop.html
+ svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop.html
+ svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop.html
+ svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop.html
+ svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop.html
+
+ * svg/SVGFEDiffuseLightingElement.cpp:
+ (WebCore::SVGFEDiffuseLightingElement::svgAttributeChanged):
+ * svg/SVGFELightElement.cpp:
+ (WebCore::SVGFELightElement::svgAttributeChanged):
+ (WebCore::SVGFELightElement::childrenChanged):
+ * svg/SVGFELightElement.h:
+ * svg/SVGFEOffsetElement.cpp:
+ (WebCore::SVGFEOffsetElement::svgAttributeChanged):
+ * svg/SVGFESpecularLightingElement.cpp:
+ * svg/SVGFilterElement.h:
+ (WebCore::SVGFilterElement::invalidateFilter):
+ * svg/SVGFilterPrimitiveStandardAttributes.cpp:
+ (WebCore::SVGFilterPrimitiveStandardAttributes::svgAttributeChanged):
+ (WebCore::SVGFilterPrimitiveStandardAttributes::childrenChanged):
+ * svg/SVGFilterPrimitiveStandardAttributes.h:
+
+2010-08-05 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: serialize DOM storage items to InspectorValues
+ https://bugs.webkit.org/show_bug.cgi?id=43486
+
+ * inspector/Inspector.idl:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::populateScriptObjects):
+ (WebCore::InspectorController::didUseDOMStorage):
+ (WebCore::InspectorController::selectDOMStorage):
+ (WebCore::InspectorController::getDOMStorageEntries):
+ (WebCore::InspectorController::setDOMStorageItem):
+ (WebCore::InspectorController::removeDOMStorageItem):
+ * inspector/InspectorDOMStorageResource.cpp:
+ (WebCore::InspectorDOMStorageResource::bind):
+ * inspector/InspectorDOMStorageResource.h:
+ * inspector/InspectorFrontend.cpp:
+ * inspector/InspectorFrontend.h:
+
+2010-08-04 Eric Seidel <eric@webkit.org>
+
+ Reviewed by Adam Barth.
+
+ Enable HTML5 tree builder
+ https://bugs.webkit.org/show_bug.cgi?id=42804
+
+ Months of work into a single line code change.
+ Geez. Should have thought of this sooner.
+
+ * html/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
+
+2010-08-04 Kent Tamura <tkent@chromium.org>
+
+ Reviewed by Darin Adler.
+
+ Spin-button behavior improvement for out-of-range values
+ https://bugs.webkit.org/show_bug.cgi?id=43463
+
+ If the current value is smaller than the minimum value, the up
+ button should change the value to the minimum value. If the
+ current value is larger than the maximum value, the down button
+ should change the value to the maximum value.
+
+ Test: fast/forms/input-number-outofrange.html
+
+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::stepUpFromRenderer):
+
+2010-08-04 Antonio Gomes <tonikitoo@webkit.org>
+
+ Reviewed by Daniel Bates.
+
+ Remove superfluous non-negative checks in HitTestResult:padding{Width|Height}
+ https://bugs.webkit.org/show_bug.cgi?id=43534
+
+ As pointed out by Steve Block in https://bugs.webkit.org/show_bug.cgi?id=40197#c54 ,
+ the non-negative checks present in both paddingWidth and paddingHeight methods of
+ HitTestResults class are superflous, after we changed the rect based hit testing logic
+ of invalid padding from IntSize(-1, -1) to IntSize(0, 0). Patch addresses this issue.
+
+ No new tests needed.
+
+ * rendering/HitTestResult.h:
+ (WebCore::HitTestResult::paddingWidth):
+ (WebCore::HitTestResult::paddingHeight):
+
+2010-08-04 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r64674.
+ http://trac.webkit.org/changeset/64674
+ https://bugs.webkit.org/show_bug.cgi?id=43532
+
+ Doesn't work with HTML5 tree builder (Requested by tonyg-cr on
+ #webkit).
+
+ * html/HTMLDocumentParser.cpp:
+ (WebCore::HTMLDocumentParser::attemptToEnd):
+ (WebCore::HTMLDocumentParser::endIfDelayed):
+ * html/HTMLDocumentParser.h:
+ * html/HTMLScriptRunner.cpp:
+ (WebCore::HTMLScriptRunner::requestScript):
+ (WebCore::HTMLScriptRunner::runScript):
+ * html/HTMLScriptRunner.h:
+
+2010-08-04 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ fast/parser/residual-style-hang.html hangs
+ https://bugs.webkit.org/show_bug.cgi?id=42950
+
+ We need to cap the iteration of the adoption agency algorithm to
+ prevent this hang. The legacy tree builder does this as well.
+
+ * html/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
+
+2010-08-04 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ Pick up spec change w.r.t. figcaption and summary
+ https://bugs.webkit.org/show_bug.cgi?id=43075
+
+ * html/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::processEndTagForInBody):
+
+2010-08-04 Adam Barth <abarth@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ Pick up spec change w.r.t. replacement character and <frameset>
+ https://bugs.webkit.org/show_bug.cgi?id=43073
+
+ Apparently this fixes parsing for some home router configuration pages.
+
+ * html/HTMLTreeBuilder.cpp:
+ (WebCore::HTMLTreeBuilder::processCharacterBuffer):
+
+2010-08-04 Gavin Barraclough <barraclough@apple.com>
+
+ Reviewed by Sam Weinig.
+
+ Bug 43515 - Fix small design issues with PageAllocation, split out PageReservation.
+ (add forwarding headers)
+
+ * ForwardingHeaders/wtf/Bitmap.h: Added.
+ * ForwardingHeaders/wtf/PageReservation.h: Added.
+
+2010-08-04 Zhenyao Mo <zmo@google.com>
+
+ Reviewed by Adam Barth.
+
+ getAttachedShaders takes wrong parameter type in WebGLRenderingContext.idl
+ https://bugs.webkit.org/show_bug.cgi?id=43517
+
+ * html/canvas/WebGLRenderingContext.idl: Fix the wrong parameter type in getAttachedShaders().
+
+2010-08-04 Kenneth Russell <kbr@google.com>
+
+ Reviewed by Dimitri Glazkov.
+
+ Rename CanvasObject to WebGLObject
+ https://bugs.webkit.org/show_bug.cgi?id=31564
+
+ Renamed CanvasObject to WebGLObject using do-webcore-rename script.
+ Because it seems the new convention is to not check in the changes
+ made to this script, only checking in its effects. No new tests;
+ built and ran WebGL in Safari and Chromium to test.
+
+ * Android.mk:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.xcodeproj/project.pbxproj:
+ * html/canvas/CanvasObject.cpp: Removed.
+ * html/canvas/CanvasObject.h: Removed.
+ * html/canvas/CanvasRenderingContext.h:
+ * html/canvas/WebGLBuffer.cpp:
+ (WebCore::WebGLBuffer::WebGLBuffer):
+ * html/canvas/WebGLBuffer.h:
+ * html/canvas/WebGLFramebuffer.cpp:
+ (WebCore::WebGLFramebuffer::WebGLFramebuffer):
+ (WebCore::WebGLFramebuffer::setAttachment):
+ (WebCore::WebGLFramebuffer::onAttachedObjectChange):
+ (WebCore::WebGLFramebuffer::isUninitialized):
+ (WebCore::WebGLFramebuffer::setInitialized):
+ * html/canvas/WebGLFramebuffer.h:
+ * html/canvas/WebGLObject.cpp: Copied from WebCore/html/canvas/CanvasObject.cpp.
+ (WebCore::WebGLObject::WebGLObject):
+ (WebCore::WebGLObject::~WebGLObject):
+ (WebCore::WebGLObject::setObject):
+ (WebCore::WebGLObject::deleteObject):
+ * html/canvas/WebGLObject.h: Copied from WebCore/html/canvas/CanvasObject.h.
+ * html/canvas/WebGLProgram.cpp:
+ (WebCore::WebGLProgram::WebGLProgram):
+ * html/canvas/WebGLProgram.h:
+ * html/canvas/WebGLRenderbuffer.cpp:
+ (WebCore::WebGLRenderbuffer::WebGLRenderbuffer):
+ * html/canvas/WebGLRenderbuffer.h:
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::objectOrZero):
+ (WebCore::WebGLRenderingContext::validateWebGLObject):
+ (WebCore::WebGLRenderingContext::removeObject):
+ (WebCore::WebGLRenderingContext::addObject):
+ (WebCore::WebGLRenderingContext::detachAndRemoveAllObjects):
+ (WebCore::WebGLRenderingContext::findTexture):
+ (WebCore::WebGLRenderingContext::findRenderbuffer):
+ (WebCore::WebGLRenderingContext::findBuffer):
+ (WebCore::WebGLRenderingContext::findShader):
+ * html/canvas/WebGLRenderingContext.h:
+ * html/canvas/WebGLShader.cpp:
+ (WebCore::WebGLShader::WebGLShader):
+ * html/canvas/WebGLShader.h:
+ * html/canvas/WebGLTexture.cpp:
+ (WebCore::WebGLTexture::WebGLTexture):
+ * html/canvas/WebGLTexture.h:
+ * html/canvas/WebGLUniformLocation.h:
+ * platform/graphics/mac/GraphicsContext3DMac.mm:
+ * platform/graphics/qt/GraphicsContext3DQt.cpp:
+
+2010-08-04 Dan Bernstein <mitz@apple.com>
+
+ Build fix.
+
+ * platform/text/mac/HyphenationMac.mm:
+ (WebCore::lastHyphenLocation):
+
+2010-08-04 Dan Bernstein <mitz@apple.com>
+
+ Release build fix.
+
+ * platform/text/mac/HyphenationMac.mm:
+ (WebCore::lastHyphenLocation):
+
+2010-08-04 Mark Rowe <mrowe@apple.com>
+
+ Reviewed by Sam Weinig.
+
+ Don't leak FontDescription objects inside MathML.
+
+ * mathml/RenderMathMLOperator.cpp:
+ (WebCore::RenderMathMLOperator::updateFromElement): Don't unnecessarily allocate the FontDescription on the heap.
+ (WebCore::RenderMathMLOperator::createStackableStyle): Ditto.
+
+2010-08-04 Kenneth Russell <kbr@google.com>
+
+ Reviewed by Dimitri Glazkov.
+
+ Add ANGLE dependency for Chromium WebCore build
+ https://bugs.webkit.org/show_bug.cgi?id=43508
+
+ No new tests. Built modified version of patch from bug 42405 in
+ Chromium to test.
+
+ * WebCore.gyp/WebCore.gyp:
+
+2010-08-04 Dan Bernstein <mitz@apple.com>
+
+ Allow the language for hyphenation to be specified
+ https://bugs.webkit.org/show_bug.cgi?id=43467
+
+ Test: fast/text/hyphenate-locale.html
+
+ Added a -webkit-hyphenate-locale property whose value can be either auto or a locale identifier
+ string. The initial value is auto and the property is inherited. When the value is a locale
+ identifier, hyphenation should follow the rules for the specified locale.
+
+ * WebCore.xcodeproj/project.pbxproj: Added AtomicStringKeyedMRUCache.h.
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Handle -webkit-hyphenate-locale.
+ Updated for the renaming of RenderStyle::hyphenateCharacter() to hyphenationString().
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::parseValue): Parse -webkit-hyphenate-locale.
+ * css/CSSPropertyNames.in: Added -webkit-hyphenate-locale.
+ * css/CSSStyleSelector.cpp:
+ (WebCore::CSSStyleSelector::applyProperty): Apply the -webkit-hyphenate-locale property to the
+ RenderStyle. Updated for the renaming of RenderStyle::hyphenateCharacter() to hyphenationString().
+ * platform/text/AtomicStringKeyedMRUCache.h: Added.
+ (WebCore::AtomicStringKeyedMRUCache::get):
+ * platform/text/Hyphenation.cpp:
+ (WebCore::canHyphenate): Added an implementation that returns false.
+ (WebCore::lastHyphenLocation): Now asserts that it is not called, because it is an error to call
+ this function if canHyphenate() returned false.
+ * platform/text/Hyphenation.h:
+ Added canHyphenate(). Returns true if hyphenation is possible for the given locale identifier.
+ * platform/text/android/HyphenationAndroid.cpp:
+ (WebCore::canHyphenate): Added an implementation that returns true and a FIXME.
+ (WebCore::lastHyphenLocation): Added unused localeIdentifier parameter.
+ * platform/text/cf/HyphenationCF.cpp:
+ (WebCore::AtomicStringKeyedMRUCache<RetainPtr<CFLocaleRef> >::createValueForNullKey): Returns
+ the CFLocaleRef for the current search locale.
+ (WebCore::AtomicStringKeyedMRUCache<RetainPtr<CFLocaleRef> >::createValueForKey): Returns a
+ CFLocaleRef for the locale identifier.
+ (WebCore::canHyphenate): Added. Returns true.
+ (WebCore::lastHyphenLocation): Added localeIdentifier parameter, used to pass a CFLocaleRef to
+ the hyphenation function.
+ * platform/text/mac/HyphenationMac.mm:
+ (WebCore::AtomicStringKeyedMRUCache<bool>::createValueForNullKey): Returns whether the current
+ search locale is english.
+ (WebCore::AtomicStringKeyedMRUCache<bool>::createValueForKey): Returns whether the locale identifier
+ string identifies locale with the English language.
+ (WebCore::canHyphenate): Added. Returns true if the locale language is English.
+ (WebCore::lastHyphenLocation): Added localeIdentifier parameter and an assertion that its language
+ is English.
+ * rendering/RenderBlockLineLayout.cpp:
+ (WebCore::tryHyphenating): Added a locale identifier parameter, which is passed down to
+ lastHyphenLocation(). Added 1 to the value passed for the beforeIndex parameter to lastHyphenLocation(),
+ because the latter only returns values smaller than that index. The Mac implementation could
+ return a value equal to beforeIndex, but that is fixed in the WebKitSystemInterface part of this patch.
+ (WebCore::RenderBlock::findNextLineBreak): Only set canHyphenate to true if hyphenation is possible
+ for the specified hyphenation locale. Pass the hyphenation locale to tryHyphenating().
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::diff): Compare hyphenation locales.
+ (WebCore::RenderStyle::hyphenString): Updated for the renaming of hyphenateCharacter() to
+ hyphenationString().
+ * rendering/style/RenderStyle.h:
+ (WebCore::InheritedFlags::hyphenationString): Renamed hyphenateCharacter() to this.
+ (WebCore::InheritedFlags::hyphenationLocale): Added this accessor.
+ (WebCore::InheritedFlags::setHyphenationString): Renamed setHyphenateCharacter() to this.
+ (WebCore::InheritedFlags::setHyphenationLocale): Added this accessor.
+ (WebCore::InheritedFlags::initialHyphenationString): Renamed initialHyphenateCharacter() to this.
+ (WebCore::InheritedFlags::initialHyphenateLocale): Added. Returns the null atom, which represents a
+ value of auto.
+ * rendering/style/StyleRareInheritedData.cpp:
+ (WebCore::StyleRareInheritedData::StyleRareInheritedData): Copy the hyphenation locale. Updated for
+ rename.
+ (WebCore::StyleRareInheritedData::operator==): Compare the hyphenation locales. Updated for rename.
+ * rendering/style/StyleRareInheritedData.h:
+
+2010-08-04 Tony Gentilcore <tonyg@chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ Support <script defer> as specified by HTML5
+ https://bugs.webkit.org/show_bug.cgi?id=40934
+
+ See: http://dev.w3.org/html5/spec/Overview.html#the-end
+
+ Tests: fast/dom/HTMLScriptElement/defer-double-defer-write.html
+ fast/dom/HTMLScriptElement/defer-double-write.html
+ fast/dom/HTMLScriptElement/defer-inline-script.html
+ fast/dom/HTMLScriptElement/defer-onbeforeload.html
+ fast/dom/HTMLScriptElement/defer-script-invalid-url.html
+ http/tests/misc/script-defer-after-slow-stylesheet.html
+ http/tests/misc/script-defer-write-slow-stylesheet.html
+ http/tests/misc/script-defer.html
+
+ * html/HTMLDocumentParser.cpp:
+ (WebCore::HTMLDocumentParser::attemptToEnd):
+ (WebCore::HTMLDocumentParser::endIfDelayed):
+ (WebCore::HTMLDocumentParser::executeScriptsWaitingForParsingAndEnd):
+ * html/HTMLDocumentParser.h:
+ * html/HTMLScriptRunner.cpp:
+ (WebCore::HTMLScriptRunner::executeScriptsWaitingForParsing):
+ (WebCore::HTMLScriptRunner::requestScript):
+ (WebCore::HTMLScriptRunner::requestParsingBlockingScript):
+ (WebCore::HTMLScriptRunner::requestDeferredScript):
+ (WebCore::HTMLScriptRunner::runScript):
+ * html/HTMLScriptRunner.h:
+ (WebCore::HTMLScriptRunner::PendingScript::PendingScript):
+ (WebCore::HTMLScriptRunner::PendingScript::operator=):
+
+2010-08-04 Kevin Ollivier <kevino@theolliviers.com>
+
+ [wx] Build fix for gcc not importing all symbols from convenience libraries.
+ Works on 10.6 only for Mac until the build system is reworked.
+
+ * bindings/scripts/CodeGeneratorCPP.pm: Add conditionals in impl. to header as well.
+ * wscript:
+
+2010-08-04 Kevin Ollivier <kevino@theolliviers.com>
+
+ [wx] Build fix. Enclose PlatformStrategy methods in USE(PLATFORM_STRATEGIES).
+
+ * platform/LocalizedStrings.cpp:
+
+2010-08-04 François Sausset <sausset@gmail.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Remove unnecessary calls to setStyle() in MathML code that made RenderLayer crash.
+ https://bugs.webkit.org/show_bug.cgi?id=42894
+
+ Test: mathml/presentation/style.xhtml
+
+ * mathml/MathMLInlineContainerElement.cpp:
+ (WebCore::MathMLInlineContainerElement::createRenderer):
+ * mathml/MathMLMathElement.cpp:
+ (WebCore::MathMLMathElement::createRenderer):
+ * mathml/MathMLTextElement.cpp:
+ (WebCore::MathMLTextElement::createRenderer):
+
+2010-08-03 Kenneth Russell <kbr@google.com>
+
+ Reviewed by Nate Chapin.
+
+ Move WebGL-specific code out of GraphicsContext3D so that G3D can be used as a generic accelerated drawing API
+ https://bugs.webkit.org/show_bug.cgi?id=43221
+
+ Added a helper function to extract the contents of WebGL objects
+ to reduce duplicated code and fix a couple of potential crashes
+ introduced in the previous refactoring.
+
+ No new tests; ran existing WebGL tests.
+
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::attachShader):
+ (WebCore::WebGLRenderingContext::bindAttribLocation):
+ (WebCore::WebGLRenderingContext::bindBuffer):
+ (WebCore::WebGLRenderingContext::bindFramebuffer):
+ (WebCore::WebGLRenderingContext::bindRenderbuffer):
+ (WebCore::WebGLRenderingContext::bindTexture):
+ (WebCore::WebGLRenderingContext::compileShader):
+ (WebCore::WebGLRenderingContext::detachShader):
+ (WebCore::WebGLRenderingContext::framebufferRenderbuffer):
+ (WebCore::WebGLRenderingContext::framebufferTexture2D):
+ (WebCore::WebGLRenderingContext::getActiveAttrib):
+ (WebCore::WebGLRenderingContext::getActiveUniform):
+ (WebCore::WebGLRenderingContext::getAttachedShaders):
+ (WebCore::WebGLRenderingContext::getAttribLocation):
+ (WebCore::WebGLRenderingContext::getProgramParameter):
+ (WebCore::WebGLRenderingContext::getProgramInfoLog):
+ (WebCore::WebGLRenderingContext::getShaderParameter):
+ (WebCore::WebGLRenderingContext::getShaderInfoLog):
+ (WebCore::WebGLRenderingContext::getShaderSource):
+ (WebCore::WebGLRenderingContext::getUniform):
+ (WebCore::WebGLRenderingContext::getUniformLocation):
+ (WebCore::WebGLRenderingContext::linkProgram):
+ (WebCore::WebGLRenderingContext::shaderSource):
+ (WebCore::WebGLRenderingContext::useProgram):
+ (WebCore::WebGLRenderingContext::validateProgram):
+ (WebCore::WebGLRenderingContext::handleNPOTTextures):
+ (WebCore::WebGLRenderingContext::restoreStatesAfterVertexAttrib0Simulation):
+
+2010-08-04 Mario Sanchez Prada <msanchez@igalia.com>
+
+ Reviewed by Jeremy Orlow.
+
+ [Gtk] Make sure DRT return the right AXTitle for controls
+ https://bugs.webkit.org/show_bug.cgi?id=39997
+
+ Fallback to the text under the given element as its name in case
+ it's a control element and has no associated label for it.
+
+ * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
+ (webkit_accessible_get_name):
+
+2010-08-02 Kenneth Russell <kbr@google.com>
+
+ Reviewed by Dimitri Glazkov.
+
+ Port Chromium's accelerated compositing to Mac OS X
+ https://bugs.webkit.org/show_bug.cgi?id=43398
+
+ No new tests. Tested manually with CSS 3D and WebGL tests.
+
+ * platform/graphics/chromium/GraphicsLayerChromium.cpp:
+ (WebCore::clearBorderColor):
+ (WebCore::clearLayerBackgroundColor):
+ - Fixed compilation problems with gcc.
+ * platform/graphics/chromium/ImageLayerChromium.cpp:
+ (WebCore::ImageLayerChromium::updateTextureContents):
+ - Added Core Graphics port.
+ * platform/graphics/chromium/LayerChromium.cpp:
+ (WebCore::LayerChromium::LayerChromium):
+ - Fixed compilation problems with gcc related to initialization
+ order of members.
+ (WebCore::LayerChromium::updateTextureContents):
+ (WebCore::LayerChromium::updateTextureRect):
+ - Ported to Core Graphics, adjusting for lower-left coordinate
+ system origin.
+ * platform/graphics/chromium/LayerRendererChromium.cpp:
+ (WebCore::LayerRendererChromium::LayerRendererChromium):
+ - Fixed compilation problems with gcc related to initialization
+ order of members.
+ (WebCore::LayerRendererChromium::setRootLayerCanvasSize):
+ - Ported to Core Graphics.
+ (WebCore::LayerRendererChromium::drawLayers):
+ - Added more debug-only error calls during drawing phase.
+ Adjusted scrolling and incremental updating code for Core
+ Graphics' lower-left coordinate system origin.
+ (WebCore::LayerRendererChromium::initializeSharedGLObjects):
+ - Removed color channel swizzling in Core Graphics port. Fixed
+ preexisting bug in initialization check of m_rootLayerTextureId.
+ * platform/graphics/chromium/LayerRendererChromium.h:
+ - Added needed data members for Core Graphics port.
+
+2010-08-04 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: use InspectorValue to push dispatch results from the injected script
+ https://bugs.webkit.org/show_bug.cgi?id=43483
+
+ * bindings/js/JSInjectedScriptHostCustom.cpp:
+ (WebCore::JSInjectedScriptHost::reportDidDispatchOnInjectedScript):
+ * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
+ (WebCore::V8InjectedScriptHost::reportDidDispatchOnInjectedScriptCallback):
+ * inspector/InjectedScript.cpp:
+ (WebCore::InjectedScript::dispatch):
+ * inspector/InjectedScript.h:
+ * inspector/InjectedScriptHost.cpp:
+ (WebCore::InjectedScriptHost::reportDidDispatchOnInjectedScript):
+ (WebCore::InjectedScriptHost::remoteFrontend):
+ * inspector/InjectedScriptHost.h:
+ * inspector/Inspector.idl:
+ * inspector/InspectorBackend.cpp:
+ (WebCore::InspectorBackend::dispatchOnInjectedScript):
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::didContinue):
+ * inspector/InspectorFrontend.cpp:
+ * inspector/InspectorFrontend.h:
+
+2010-08-04 Abhishek Arya <inferno@chromium.org>
+
+ Unreviewed. Put missing equivalent js bindings check.
+
+ Forgot putting js bindings check in http://trac.webkit.org/changeset/64647. This fixes the qt crash.
+
+ * bindings/js/JSDesktopNotificationsCustom.cpp:
+ (WebCore::JSNotificationCenter::requestPermission):
+
+2010-08-04 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: serialize database resources to InspectorValues
+ https://bugs.webkit.org/show_bug.cgi?id=43482
+
+ * inspector/Inspector.idl:
+ * inspector/InspectorBackend.cpp:
+ (WebCore::InspectorBackend::getDatabaseTableNames):
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::populateScriptObjects):
+ (WebCore::InspectorController::selectDatabase):
+ (WebCore::InspectorController::didOpenDatabase):
+ * inspector/InspectorController.h:
+ * inspector/InspectorDatabaseResource.cpp:
+ (WebCore::InspectorDatabaseResource::create):
+ (WebCore::InspectorDatabaseResource::InspectorDatabaseResource):
+ (WebCore::InspectorDatabaseResource::bind):
+ * inspector/InspectorDatabaseResource.h:
+ * inspector/InspectorFrontend.cpp:
+ * inspector/InspectorFrontend.h:
+ * storage/Database.cpp:
+ (WebCore::Database::openDatabase):
+
+2010-08-03 Abhishek Arya <inferno@chromium.org>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Null the script execution context when disconnecting frame in notifications.
+ Make sure that script execution context is valid in notification requestPermission.
+ https://bugs.webkit.org/show_bug.cgi?id=43295
+
+ Tests: fast/notifications/notifications-document-close-crash.html
+
+ * bindings/v8/custom/V8NotificationCenterCustom.cpp:
+ (WebCore::V8NotificationCenter::requestPermissionCallback):
+ * notifications/NotificationCenter.cpp:
+ (WebCore::NotificationCenter::disconnectFrame):
+
+2010-08-03 Adam Roben <aroben@apple.com>
+
+ Turn on PLATFORM_STRATEGIES on Windows
+
+ Fixes <http://webkit.org/b/43431>.
+
+ Reviewed by Anders Carlsson.
+
+ * WebCore.vcproj/WebCore.vcproj: Added LocalizedStrings.cpp,
+ PlatformStrategies.h, LocalizationStrategy.h, PluginStrategy.h, and
+ VisitedLinkStrategy.h. Removed PluginDataWin.cpp
+
+ * platform/LocalizedStrings.cpp: Wrapped Mac-only functions in
+ PLATFORM(MAC) guards.
+
+ (WebCore::uploadFileText):
+ (WebCore::allFilesText):
+ Added these Windows-only functions.
+
+ * plugins/win/PluginDataWin.cpp: Removed.
+
+2010-08-04 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: serialize CPU profiles to InspectorValues instead of
+ using JS wrappers.
+ https://bugs.webkit.org/show_bug.cgi?id=43475
+
+ * Android.jscbindings.mk:
+ * CMakeLists.txt:
+ * GNUmakefile.am:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/ScriptProfile.h:
+ * bindings/js/ScriptProfiler.cpp:
+ (WebCore::ScriptProfiler::stop):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ * bindings/v8/ScriptProfile.cpp:
+ (WebCore::buildInspectorObjectFor):
+ (WebCore::ScriptProfile::buildInspectorObjectForHead):
+ * bindings/v8/ScriptProfile.h:
+ * inspector/Inspector.idl:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::addProfile):
+ (WebCore::InspectorController::addProfileFinishedMessageToConsole):
+ (WebCore::InspectorController::getProfileHeaders):
+ (WebCore::InspectorController::getProfile):
+ (WebCore::InspectorController::createProfileHeader):
+ * inspector/InspectorController.h:
+ * inspector/InspectorFrontend.cpp:
+ * inspector/InspectorFrontend.h:
+
+2010-08-04 Andreas Kling <andreas.kling@nokia.com>
+
+ Reviewed by Simon Hausmann.
+
+ [Qt] Use a QImage for the stroke applier scratch context
+
+ This avoids leaking a server-side resource on some graphics systems.
+
+ * platform/graphics/qt/PathQt.cpp:
+ (WebCore::scratchContext):
+
+2010-08-03 Ben Murdoch <benm@google.com>
+
+ Reviewed by Darin Adler.
+
+ HTML5 parser may cause onload not to fire
+ https://bugs.webkit.org/show_bug.cgi?id=43423
+
+ If a complex page causes the HTML parser to yield,
+ then when parsing continues again and eventually
+ finishes, we are missing a call to endIfDelayed(). This
+ results in onload never being called.
+
+ Not for lack of trying, but it seems almost
+ impossible to write a reliable test for this bug,
+ due to the highly timing-dependent nature of the
+ bug. The link above contains further discussion and
+ attempts at writing a test.
+
+ * html/HTMLDocumentParser.cpp:
+ (WebCore::HTMLDocumentParser::resumeParsingAfterYield):
+ Add a call to endIfDelayed() after pumping the tokenizer
+ post the parser yielding to ensure that the parsing step
+ is completed properly and the onload event fires.
+
+2010-08-04 Dirk Schulze <krit@webkit.org>
+
+ Unreviewed sort of Xcode project file.
+
+ * WebCore.xcodeproj/project.pbxproj:
+
+2010-08-03 Darin Adler <darin@apple.com>
+
+ Reviewed by Dan Bernstein.
+
+ System color changes are not applied properly
+ https://bugs.webkit.org/show_bug.cgi?id=43468
+
+ * manual-tests/system-color-change.html: Added.
+
+ * rendering/RenderTheme.cpp:
+ (WebCore::RenderTheme::platformColorsDidChange): Added a call to
+ Page::setNeedsReapplyStyles, so all frames of all pages will recompute
+ in case they use system colors. It's rare for these colors to change,
+ so OK to do a little extra style computation.
+
+2010-08-04 Nikolas Zimmermann <nzimmermann@rim.com>
+
+ Not reviewed. Revert changed license in SVGFEOffsetElement.h, thanks Gabor for noticing.
+
+ * svg/SVGFEOffsetElement.h:
+
+2010-08-03 Alexey Proskuryakov <ap@apple.com>
+
+ Reviewed by Sam Weinig.
+
+ https://bugs.webkit.org/show_bug.cgi?id=42939
+ WebEditorClient::didBeginEditing is never called in WebKit2
+
+ * page/FocusController.cpp: (WebCore::FocusController::setFocused): Focusing a page without
+ a focused frame makes little sense, so WebKit used to focus a frame first when its view
+ became first responder. For viewless frames, WebKit cannot know what to focus. The assumption
+ here is that in all cases with null m_focusedFrame, it's the main frame that needs to be focused.
+
+2010-08-03 Gavin Barraclough <barraclough@apple.com>
+
+ Build fix following r64624.
+
+ * ForwardingHeaders/wtf/BitMap.h: Added.
+
+2010-08-03 Kent Tamura <tkent@chromium.org>
+
+ Reviewed by Ojan Vafai.
+
+ <input type=number> UI: Support wheel events
+ https://bugs.webkit.org/show_bug.cgi?id=42441
+
+ Test: fast/forms/input-number-wheel.html
+
+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::defaultEventHandler):
+ Call stepUpFromRenderer() for wheelDeltaY.
+
+2010-08-03 Joseph Pecoraro <joepeck@webkit.org>
+
+ Reviewed by David Kilzer.
+
+ Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
+ https://bugs.webkit.org/show_bug.cgi?id=40627
+
+ Part 6 - LayoutTest and Cleanup
+
+ Test: http/tests/appcache/origin-quota.html
+
+ * loader/appcache/ApplicationCacheGroup.cpp:
+ (WebCore::ApplicationCacheGroup::scheduleReachedOriginQuotaCallback): made synchronous, as asynchronously the cache group was deleted too soon.
+ * loader/appcache/ApplicationCacheStorage.cpp:
+ (WebCore::ApplicationCacheStorage::storeUpdatedQuotaForOrigin): all storing operations should force the database to be created if needed.
+
+2010-08-03 Ryosuke Niwa <rniwa@webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ extractAndNegateTextDecorationStyle and maxRangeOffset in ApplyStyleCommand.cpp should be deleted
+ https://bugs.webkit.org/show_bug.cgi?id=43437
+
+ Removed extractAndNegateTextDecorationStyle because we never push down text decorations added by CSS rules
+ as discussed on the bug 27809. Also removed pushDownTextDecorationStyleAtBoundaries because it only existed
+ to encapsulate the complexity of calling pushDownTextDecorationStyleAroundNode first with forceNegate = false
+ (calling pushDownTextDecorationStyleAroundNode) and again with forceNegate = true (calling extractAndNegateTextDecorationStyle)
+ after updating layout but neither the layout update nor the second call to pushDownTextDecorationStyleAroundNode
+ is needed after the removal of extractAndNegateTextDecorationStyle.
+
+ Also replaced maxRangeOffset by lastOffsetForEditing as FIXME (added by r48235) indicated.
+
+ No new tests added since this is a clean up.
+
+ * editing/ApplyStyleCommand.cpp:
+ (WebCore::ApplyStyleCommand::pushDownTextDecorationStyleAroundNode): No longer takes forceNegate as an argument.
+ (WebCore::ApplyStyleCommand::removeInlineStyle): Calls pushDownTextDecorationStyleAroundNode directly.
+ * editing/ApplyStyleCommand.h:
+
+2010-08-03 Ryosuke Niwa <rniwa@webkit.org>
+
+ Reviewed by Ojan Vafai.
+
+ Extract a function that serializes nodes from the range version of createMarkup
+ https://bugs.webkit.org/show_bug.cgi?id=43405
+
+ Extracted serializeNodes that serializes nodes from createMarkup.
+ No new tests added since this is a clean up.
+
+ * editing/markup.cpp:
+ (WebCore::serializeNodes): Added.
+ (WebCore::createMarkup): Calls serializeNodes.
+
+2010-08-03 Brian Weinstein <bweinstein@apple.com>
+
+ Fix the build by adding the needed MathML source files to WebCore's vcproj.
+ Also, Visual Studio did some drive-by resorting of the vcproj, the added
+ MathML files are the only important change.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2010-08-03 Joseph Pecoraro <joepeck@webkit.org>
+
+ Reviewed by Nate Chapin.
+
+ Web Inspector: Missing ApplicationCache InspectorBackend Stub
+ https://bugs.webkit.org/show_bug.cgi?id=43265
+
+ Registered "getApplicationCaches".
+
+ * inspector/front-end/InspectorBackendStub.js:
+ (WebInspector.InspectorBackendStub):
+
+2010-08-03 Brian Weinstein <bweinstein@apple.com>
+
+ Fix the Windows build by adding WebCore/mathml to the list of paths to look for header
+ files.
+
+ * WebCore.vcproj/WebCoreCommon.vsprops:
+
+2010-08-03 Mark Rowe <mrowe@apple.com>
+
+ Fix the i386 build with a static_cast hammer.
+
+ * mathml/RenderMathMLFraction.cpp:
+ (WebCore::RenderMathMLFraction::layout):
+
+2010-08-03 Beth Dakin <bdakin@apple.com>
+
+ Speculative build fix for Leopard.
+
+ * mathml/RenderMathMLOperator.cpp:
+ * mathml/RenderMathMLRoot.cpp:
+ (WebCore::RenderMathMLRoot::paint):
+ (WebCore::RenderMathMLRoot::layout):
+ * mathml/RenderMathMLSquareRoot.cpp:
+ (WebCore::RenderMathMLSquareRoot::paint):
+ * mathml/RenderMathMLSubSup.cpp:
+
+2010-08-03 Beth Dakin <bdakin@apple.com>
+
+ Speculative build fix.
+
+ * css/mathml.css:
+ (mi):
+ (math[mathsize="small"], mstyle[mathsize="small"], mo[mathsize="small"], mn[mathsize="small"], mi[mathsize="small"], mtext[mathsize="small"], mspace[mathsize="small"], ms[mathsize="small"]):
+ (math[mathsize="normal"], mstyle[mathsize="normal"], mo[mathsize="normal"], mn[mathsize="normal"], mi[mathsize="normal"], mtext[mathsize="normal"], mspace[mathsize="normal"], ms[mathsize="normal"]):
+ (math[mathsize="big"], mstyle[mathsize="big"], mo[mathsize="big"], mn[mathsize="big"], mi[mathsize="big"], mtext[mathsize="big"], mspace[mathsize="big"], ms[mathsize="big"]):
+
+2010-08-03 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Mark Rowe.
+
+ https://bugs.webkit.org/show_bug.cgi?id=43444
+ PLATFORM(CF) is false on Windows in JavaScriptCore
+
+ Moved some PLATFORM(WIN) #defines down into JavaScriptCore.
+
+ * config.h: Moved WTF_PLATFORM_CF 1 and WTF_USE_PTHREADS 0 to wtf/Platform.h.
+ Removed #undef WTF_USE_WININET because wtf/Platform.h no longer #defines it.
+
+2010-08-03 Alex Milowski <alex@milowski.com>
+
+ Reviewed by Beth Dakin.
+
+ Changed the ENABLE_MATHML value to enable MathML by default.
+
+ * Configurations/FeatureDefines.xcconfig:
+
+2010-07-30 Stephen White <senorblanco@chromium.org>
+
+ Reviewed by Ojan Vafai.
+
+ Move PlatformContextSkia and NativeImageSkia into the WebCore namespace.
+ https://bugs.webkit.org/show_bug.cgi?id=43272
+
+ One wrinkle is that PlatformContext and NativeImagePtr are
+ typedef'ed outside outside the WebCore namespace block, so the
+ PlatformContextSkia and NativeImageSkia have to be forward-declared
+ explicitly within that namespace. Another solution might be to move
+ those declarations into the WebCore namespace block below, but that
+ would affect platforms other than Skia, so I leave it to the reviewer
+ to decide.
+
+ Test: if it compiles, you're happy.
+
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/Image.h:
+ * platform/graphics/ImageSource.h:
+ * platform/graphics/skia/NativeImageSkia.cpp:
+ (WebCore::NativeImageSkia::hasResizedBitmap):
+ (WebCore::NativeImageSkia::shouldCacheResampling):
+ * platform/graphics/skia/NativeImageSkia.h:
+ * platform/graphics/skia/PlatformContextSkia.cpp:
+ (WebCore::PlatformContextSkia::State::State):
+ (WebCore::PlatformContextSkia::beginLayerClippedToImage):
+ (WebCore::PlatformContextSkia::drawRect):
+ (WebCore::PlatformContextSkia::setupPaintForStroking):
+ (WebCore::PlatformContextSkia::getStrokeStyle):
+ (WebCore::PlatformContextSkia::setStrokeStyle):
+ (WebCore::PlatformContextSkia::setTextDrawingMode):
+ (WebCore::PlatformContextSkia::interpolationQuality):
+ (WebCore::PlatformContextSkia::setInterpolationQuality):
+ (WebCore::PlatformContextSkia::getImageResamplingHint):
+ (WebCore::PlatformContextSkia::setImageResamplingHint):
+ (WebCore::PlatformContextSkia::clearImageResamplingHint):
+ (WebCore::PlatformContextSkia::applyClipFromImage):
+ (WebCore::PlatformContextSkia::setGLES2Context):
+ (WebCore::PlatformContextSkia::prepareForSoftwareDraw):
+ (WebCore::PlatformContextSkia::prepareForHardwareDraw):
+ (WebCore::PlatformContextSkia::syncSoftwareCanvas):
+ (WebCore::PlatformContextSkia::uploadSoftwareToHardware):
+ * platform/graphics/skia/PlatformContextSkia.h:
+ (WebCore::PlatformContextSkia::gpuCanvas):
+ * platform/graphics/skia/SkiaFontWin.cpp:
+ (WebCore::windowsCanHandleDrawTextShadow):
+ (WebCore::paintSkiaText):
+ * platform/graphics/skia/SkiaFontWin.h:
+
+2010-08-03 Adam Roben <aroben@apple.com>
+
+ Rename LocalizedStringsMac.mm to LocalizedStrings.cpp
+
+ LocalizedStringsMac.mm should be usable by other ports
+ https://bugs.webkit.org/show_bug.cgi?id=43441
+
+ Reviewed by Anders Carlsson.
+
+ * WebCore.xcodeproj/project.pbxproj: Updated the file's name and path.
+
+ * platform/LocalizedStrings.cpp: Renamed from
+ WebCore/platform/mac/LocalizedStringsMac.mm. Changed #imports to
+ #includes.
+
+2010-08-03 James Robinson <jamesr@chromium.org>
+
+ Reviewed by Darin Fisher.
+
+ Move WebGL-specific code out of GraphicsContext3D so that G3D can be used as a generic accelerated drawing API
+ https://bugs.webkit.org/show_bug.cgi?id=43221
+
+ Changes the GraphicsContext3D API to use Platform3DObjects instead of WebGLFoo* types like WebGLTexture.
+ WebGLRenderingContext still uses WebGLFoo types and converts to Platform3DObjects internally. Other
+ consumers of the GraphicsContext3D can use the Platform3DObject APIs directly without any ties to WebGL.
+
+ The majority of this change is purely mechanical. The less obvious changes are:
+ - move all null checking on WebGLFoo types to WebGLRenderingContext, instead of mixing them
+ between WebGLRenderingContext and the various port-specific implementations of GraphicsContext3D
+ - add a GraphicsContext3D getter to CanvasRenderingContext. This is needed for the readback
+ path on Chromium/mac. It may be possible to remove this, but I would prefer to do that
+ in a follow-up patch to minimize churn.
+ - move some texture cube map logic that existed only in the Chromium port of GC3D to
+ WebGLRenderingContext behind #if PLATFORM(CHROMIUM). I think this logic should either
+ exist for all ports or exist for none, but again I would rather change the behavior
+ in a different patch from this one.
+
+ * html/canvas/CanvasRenderingContext.h:
+ (WebCore::CanvasRenderingContext::graphicsContext3D):
+ * html/canvas/WebGLProgram.cpp:
+ (WebCore::WebGLProgram::cacheActiveAttribLocations):
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::attachShader):
+ (WebCore::WebGLRenderingContext::bindAttribLocation):
+ (WebCore::WebGLRenderingContext::bindBuffer):
+ (WebCore::WebGLRenderingContext::bindFramebuffer):
+ (WebCore::WebGLRenderingContext::bindRenderbuffer):
+ (WebCore::WebGLRenderingContext::bindTexture):
+ (WebCore::WebGLRenderingContext::compileShader):
+ (WebCore::WebGLRenderingContext::detachShader):
+ (WebCore::WebGLRenderingContext::framebufferRenderbuffer):
+ (WebCore::WebGLRenderingContext::framebufferTexture2D):
+ (WebCore::WebGLRenderingContext::getActiveAttrib):
+ (WebCore::WebGLRenderingContext::getActiveUniform):
+ (WebCore::WebGLRenderingContext::getAttachedShaders):
+ (WebCore::WebGLRenderingContext::getAttribLocation):
+ (WebCore::WebGLRenderingContext::getProgramParameter):
+ (WebCore::WebGLRenderingContext::getProgramInfoLog):
+ (WebCore::WebGLRenderingContext::getShaderParameter):
+ (WebCore::WebGLRenderingContext::getShaderInfoLog):
+ (WebCore::WebGLRenderingContext::getShaderSource):
+ (WebCore::WebGLRenderingContext::getUniform):
+ (WebCore::WebGLRenderingContext::getUniformLocation):
+ (WebCore::WebGLRenderingContext::isBuffer):
+ (WebCore::WebGLRenderingContext::isFramebuffer):
+ (WebCore::WebGLRenderingContext::isProgram):
+ (WebCore::WebGLRenderingContext::isRenderbuffer):
+ (WebCore::WebGLRenderingContext::isShader):
+ (WebCore::WebGLRenderingContext::isTexture):
+ (WebCore::WebGLRenderingContext::linkProgram):
+ (WebCore::WebGLRenderingContext::shaderSource):
+ (WebCore::WebGLRenderingContext::useProgram):
+ (WebCore::WebGLRenderingContext::validateProgram):
+ (WebCore::WebGLRenderingContext::handleNPOTTextures):
+ (WebCore::WebGLRenderingContext::createFallbackBlackTextures1x1):
+ (WebCore::WebGLRenderingContext::initVertexAttrib0):
+ (WebCore::WebGLRenderingContext::simulateVertexAttrib0):
+ (WebCore::WebGLRenderingContext::restoreStatesAfterVertexAttrib0Simulation):
+ * html/canvas/WebGLRenderingContext.h:
+ (WebCore::WebGLRenderingContext::graphicsContext3D):
+ * platform/graphics/GraphicsContext3D.h:
+ * platform/graphics/mac/GraphicsContext3DMac.mm:
+ (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
+ (WebCore::GraphicsContext3D::beginPaint):
+ (WebCore::GraphicsContext3D::attachShader):
+ (WebCore::GraphicsContext3D::bindAttribLocation):
+ (WebCore::GraphicsContext3D::bindBuffer):
+ (WebCore::GraphicsContext3D::bindFramebuffer):
+ (WebCore::GraphicsContext3D::bindRenderbuffer):
+ (WebCore::GraphicsContext3D::bindTexture):
+ (WebCore::GraphicsContext3D::compileShader):
+ (WebCore::GraphicsContext3D::detachShader):
+ (WebCore::GraphicsContext3D::framebufferRenderbuffer):
+ (WebCore::GraphicsContext3D::framebufferTexture2D):
+ (WebCore::GraphicsContext3D::getActiveAttrib):
+ (WebCore::GraphicsContext3D::getActiveUniform):
+ (WebCore::GraphicsContext3D::getAttachedShaders):
+ (WebCore::GraphicsContext3D::getAttribLocation):
+ (WebCore::GraphicsContext3D::isBuffer):
+ (WebCore::GraphicsContext3D::isFramebuffer):
+ (WebCore::GraphicsContext3D::isProgram):
+ (WebCore::GraphicsContext3D::isRenderbuffer):
+ (WebCore::GraphicsContext3D::isShader):
+ (WebCore::GraphicsContext3D::isTexture):
+ (WebCore::GraphicsContext3D::linkProgram):
+ (WebCore::GraphicsContext3D::shaderSource):
+ (WebCore::GraphicsContext3D::useProgram):
+ (WebCore::GraphicsContext3D::validateProgram):
+ (WebCore::GraphicsContext3D::getProgramiv):
+ (WebCore::GraphicsContext3D::getProgramInfoLog):
+ (WebCore::GraphicsContext3D::getShaderiv):
+ (WebCore::GraphicsContext3D::getShaderInfoLog):
+ (WebCore::GraphicsContext3D::getShaderSource):
+ (WebCore::GraphicsContext3D::getUniformfv):
+ (WebCore::GraphicsContext3D::getUniformiv):
+ (WebCore::GraphicsContext3D::getUniformLocation):
+ * platform/graphics/qt/GraphicsContext3DQt.cpp:
+ (WebCore::GraphicsContext3D::beginPaint):
+ (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
+ (WebCore::GraphicsContext3D::attachShader):
+ (WebCore::GraphicsContext3D::bindAttribLocation):
+ (WebCore::GraphicsContext3D::bindBuffer):
+ (WebCore::GraphicsContext3D::bindFramebuffer):
+ (WebCore::GraphicsContext3D::bindRenderbuffer):
+ (WebCore::GraphicsContext3D::bindTexture):
+ (WebCore::GraphicsContext3D::compileShader):
+ (WebCore::GraphicsContext3D::detachShader):
+ (WebCore::GraphicsContext3D::framebufferRenderbuffer):
+ (WebCore::GraphicsContext3D::framebufferTexture2D):
+ (WebCore::GraphicsContext3D::getActiveAttrib):
+ (WebCore::GraphicsContext3D::getActiveUniform):
+ (WebCore::GraphicsContext3D::getAttribLocation):
+ (WebCore::GraphicsContext3D::isBuffer):
+ (WebCore::GraphicsContext3D::isFramebuffer):
+ (WebCore::GraphicsContext3D::isProgram):
+ (WebCore::GraphicsContext3D::isRenderbuffer):
+ (WebCore::GraphicsContext3D::isShader):
+ (WebCore::GraphicsContext3D::isTexture):
+ (WebCore::GraphicsContext3D::linkProgram):
+ (WebCore::GraphicsContext3D::shaderSource):
+ (WebCore::GraphicsContext3D::useProgram):
+ (WebCore::GraphicsContext3D::validateProgram):
+ (WebCore::GraphicsContext3D::getProgramiv):
+ (WebCore::GraphicsContext3D::getProgramInfoLog):
+ (WebCore::GraphicsContext3D::getShaderiv):
+ (WebCore::GraphicsContext3D::getShaderInfoLog):
+ (WebCore::GraphicsContext3D::getShaderSource):
+ (WebCore::GraphicsContext3D::getUniformfv):
+ (WebCore::GraphicsContext3D::getUniformiv):
+ (WebCore::GraphicsContext3D::getUniformLocation):
+
+2010-08-03 Xan Lopez <xlopez@igalia.com>
+
+ Reviewed by Gustavo Noronha.
+
+ [GTK] Fix DOM event dispatch
+ https://bugs.webkit.org/show_bug.cgi?id=40847
+
+ Bind UI and Mouse events and add ad-hoc kit method for WebCore
+ Events.
+
+ * GNUmakefile.am:
+ * bindings/gobject/WebKitDOMBinding.cpp:
+ (WebKit::kit):
+ * bindings/gobject/WebKitDOMBinding.h:
+ * bindings/gobject/WebKitDOMEventTarget.cpp:
+ (WebKit::core):
+ * bindings/gobject/WebKitDOMEventTargetPrivate.h: Added.
+ * bindings/scripts/CodeGeneratorGObject.pm:
+
+2010-08-03 Nikolas Zimmermann <nzimmermann@rim.com>
+
+ Reviewed by Eric Seidel.
+
+ Cleanup all of svg/ code
+ https://bugs.webkit.org/show_bug.cgi?id=43311
+
+ Unify the license header in all files in svg/, to use the same template as most WebCore files use.
+ Unified email adress style, etc. all generated with a perl script attached to bug 43311.
+
+ * svg/...: Updated header template in all files, in the svg/ subdirectory.
+
+2010-08-03 Andrei Popescu <andreip@google.com>
+
+ Reviewed by Jeremy Orlow.
+
+ [IndexedDB] IDBObjectStoreRequest should be called IDBObjectStore
+ https://bugs.webkit.org/show_bug.cgi?id=43420
+
+ Renaming IDBObjectStoreRequest to IDBObjectStore.
+
+ No new tests needed, just refactoring.
+
+ * Android.derived.jscbindings.mk:
+ * Android.derived.v8bindings.mk:
+ * Android.mk:
+ * CMakeLists.txt:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pri:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSIDBAnyCustom.cpp:
+ (WebCore::toJS):
+ * bindings/v8/custom/V8IDBAnyCustom.cpp:
+ (WebCore::toV8):
+ * storage/IDBAny.cpp:
+ (WebCore::IDBAny::idbObjectStore):
+ (WebCore::IDBAny::set):
+ * storage/IDBAny.h:
+ (WebCore::IDBAny::):
+ * storage/IDBCallbacks.h:
+ * storage/IDBDatabase.cpp:
+ (WebCore::IDBDatabase::objectStore):
+ * storage/IDBDatabase.h:
+ * storage/IDBDatabaseBackendImpl.cpp:
+ (WebCore::IDBDatabaseBackendImpl::createObjectStore):
+ (WebCore::IDBDatabaseBackendImpl::objectStore):
+ * storage/IDBDatabaseBackendImpl.h:
+ * storage/IDBDatabaseBackendInterface.h:
+ * storage/IDBObjectStore.cpp: Added.
+ (WebCore::IDBObjectStore::IDBObjectStore):
+ (WebCore::IDBObjectStore::name):
+ (WebCore::IDBObjectStore::keyPath):
+ (WebCore::IDBObjectStore::indexNames):
+ (WebCore::IDBObjectStore::get):
+ (WebCore::IDBObjectStore::add):
+ (WebCore::IDBObjectStore::put):
+ (WebCore::IDBObjectStore::remove):
+ (WebCore::IDBObjectStore::createIndex):
+ (WebCore::IDBObjectStore::index):
+ (WebCore::IDBObjectStore::removeIndex):
+ * storage/IDBObjectStore.h:
+ (WebCore::IDBObjectStore::create):
+ (WebCore::IDBObjectStore::~IDBObjectStore):
+ * storage/IDBObjectStore.idl: Added.
+ * storage/IDBObjectStoreBackendImpl.cpp: Added.
+ (WebCore::IDBObjectStoreBackendImpl::~IDBObjectStoreBackendImpl):
+ (WebCore::IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl):
+ (WebCore::IDBObjectStoreBackendImpl::indexNames):
+ (WebCore::IDBObjectStoreBackendImpl::get):
+ (WebCore::IDBObjectStoreBackendImpl::put):
+ (WebCore::IDBObjectStoreBackendImpl::remove):
+ (WebCore::IDBObjectStoreBackendImpl::createIndex):
+ (WebCore::IDBObjectStoreBackendImpl::index):
+ (WebCore::IDBObjectStoreBackendImpl::removeIndex):
+ * storage/IDBObjectStoreBackendImpl.h: Added.
+ (WebCore::IDBObjectStoreBackendImpl::create):
+ (WebCore::IDBObjectStoreBackendImpl::name):
+ (WebCore::IDBObjectStoreBackendImpl::keyPath):
+ * storage/IDBObjectStoreBackendInterface.h: Added.
+ (WebCore::IDBObjectStoreBackendInterface::~IDBObjectStoreBackendInterface):
+ * storage/IDBObjectStoreImpl.cpp: Removed.
+ * storage/IDBObjectStoreImpl.h: Removed.
+ * storage/IDBObjectStoreRequest.cpp: Removed.
+ * storage/IDBObjectStoreRequest.h: Removed.
+ * storage/IDBObjectStoreRequest.idl: Removed.
+ * storage/IDBRequest.cpp:
+ (WebCore::IDBRequest::onSuccess):
+ * storage/IDBRequest.h:
+
+2010-08-03 Martin Robinson <mrobinson@igalia.com>
+
+ Reviewed by Ojan Vafai.
+
+ [GTK] Incorrect keyIdentifier for print screen key events
+ https://bugs.webkit.org/show_bug.cgi?id=43422
+
+ Produce the correct keyIdentifier for GDK_Print (print screen).
+
+ * platform/gtk/KeyEventGtk.cpp:
+ (WebCore::keyIdentifierForGdkKeyCode):
+
+2010-08-03 Anton Muhin <antonm@chromium.org>
+
+ Reviewed by David Levin.
+
+ [v8] Get current memory usage and make it available on stack before crashing due to out of memory
+ https://bugs.webkit.org/show_bug.cgi?id=43426
+
+ That should allow us to diagnose the cases when the process just ran out of memory
+ and hence V8 failed to allocate more OS pages.
+
+ * bindings/v8/V8DOMWindowShell.cpp:
+ (WebCore::reportFatalErrorInV8):
+
+2010-08-03 Leandro Pereira <leandro@profusion.mobi>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ [EFL] Implement HTML5 slider theme (using the scrollbar theme as base).
+ https://bugs.webkit.org/show_bug.cgi?id=43430
+
+ EFL port does not yet support automated tests.
+
+ * platform/efl/RenderThemeEfl.cpp:
+ (WebCore::RenderThemeEfl::paintThemePart):
+ (WebCore::RenderThemeEfl::edjeGroupFromFormType): Add Edje groups
+ for both vertical and horizontal sliders.
+ (WebCore::supportsFocus): Add sliders as focusable elements.
+ (WebCore::RenderThemeEfl::paintSliderTrack): Implement.
+ (WebCore::RenderThemeEfl::adjustSliderTrackStyle): Implement.
+ (WebCore::RenderThemeEfl::adjustSliderThumbStyle): Use
+ adjustSliderTrackStyle() implementation.
+ (WebCore::RenderThemeEfl::paintSliderThumb): Use paintSliderTrack()
+ implementation().
+ * platform/efl/RenderThemeEfl.h: Add SliderVertical and
+ * SliderHorizontal.
+ (WebCore::): Added prototypes for adjustSlider*/paintSlider*.
+
+2010-08-03 Alexander Pavlov <apavlov@chromium.org>
+
+ Reviewed by Joseph Pecoraro.
+
+ Web Inspector: incorrect absolute protocol-less URLs in tooltips of links in the ElementsTreeOutline
+ https://bugs.webkit.org/show_bug.cgi?id=43246
+
+ * inspector/front-end/inspector.js:
+ (WebInspector.completeURL):
+
+2010-08-03 Adam Roben <aroben@apple.com>
+
+ Compile out two Mac-only localized strings on non-Mac platforms
+
+ Fixes <http://webkit.org/b/43433> copyImageUnknownFileLabel and
+ AXARIAContentGroupText should only be compiled on Mac
+
+ Reviewed by Anders Carlsson.
+
+ * platform/LocalizationStrategy.h:
+ * platform/LocalizedStrings.h:
+ Wrapped copyImageUnknownFileLabel and AXARIAContentGroupText in
+ PLATFORM(MAC).
+
+2010-08-03 Kevin Ollivier <kevino@theolliviers.com>
+
+ [wx] Build fix, don't build some DOM bindings we don't use.
+
+ * wscript:
+
+2010-08-03 Martin Robinson <mrobinson@igalia.com>
+
+ Reviewed by Gustavo Noronha Silva.
+
+ [GTK] Remove a memory leak from CusorGtk.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=43424
+
+ * platform/gtk/CursorGtk.cpp:
+ (WebCore::createNamedCursor):
+ (WebCore::createCustomCursor):
+ (WebCore::Cursor::ensurePlatformCursor):
+ * platform/gtk/KeyEventGtk.cpp:
+ (WebCore::keyIdentifierForGdkKeyCode):
+
+2010-08-03 Pavel Feldman <pfeldman@chromium.org>
+
+ Not reviewed: speculative chromium tests fix.
+
+ * inspector/front-end/ExtensionServer.js:
+ * inspector/front-end/inspector.js:
+ (WebInspector.loaded):
+
+2010-08-03 Csaba Osztrogonác <ossy@webkit.org>
+
+ Reviewed by Antonio Gomes.
+
+ Fix warning in WebCore/rendering/RenderBoxModelObject.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=43412
+
+ * rendering/RenderBoxModelObject.cpp:
+ (WebCore::RenderBoxModelObject::clipBorderSidePolygon): Remove useless assignment.
+
+2010-08-03 Xan Lopez <xlopez@igalia.com>
+
+ Reviewed by Gustavo Noronha.
+
+ Make string parameters be 'const char*' instead of just 'char*'.
+
+ * bindings/scripts/CodeGeneratorGObject.pm:
+
+2010-08-03 Xan Lopez <xlopez@igalia.com>
+
+ Reviewed by Gustavo Noronha.
+
+ Get rid of extra spaces in the type strings.
+
+ * bindings/scripts/CodeGeneratorGObject.pm:
+
+2010-08-03 Csaba Osztrogonác <ossy@webkit.org>
+
+ Reviewed by Adam Roben.
+
+ Fix warning in WebCore/plugins/win/PluginMessageThrottlerWin.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=43413
+
+ * plugins/win/PluginMessageThrottlerWin.cpp:
+ (WebCore::PluginMessageThrottlerWin::PluginMessageThrottlerWin): Modify initialization order.
+
+2010-08-03 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: use InspectorValue to push resource data to the frontend
+ https://bugs.webkit.org/show_bug.cgi?id=43414
+
+ * inspector/Inspector.idl:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::disconnectFrontend): destroy remote frontend object along with the old inspector frontend
+ (WebCore::InspectorController::populateScriptObjects):
+ (WebCore::InspectorController::didCommitLoad):
+ (WebCore::InspectorController::didLoadResourceFromMemoryCache):
+ (WebCore::InspectorController::identifierForInitialRequest):
+ (WebCore::InspectorController::mainResourceFiredDOMContentEvent):
+ (WebCore::InspectorController::mainResourceFiredLoadEvent):
+ (WebCore::InspectorController::willSendRequest):
+ (WebCore::InspectorController::didReceiveResponse):
+ (WebCore::InspectorController::didReceiveContentLength):
+ (WebCore::InspectorController::didFinishLoading):
+ (WebCore::InspectorController::didFailLoading):
+ (WebCore::InspectorController::resourceRetrievedByXMLHttpRequest):
+ (WebCore::InspectorController::scriptImported):
+ * inspector/InspectorFrontend.cpp:
+ * inspector/InspectorFrontend.h:
+ * inspector/InspectorResource.cpp:
+ (WebCore::buildHeadersObject):
+ (WebCore::buildObjectForTiming):
+ (WebCore::InspectorResource::updateScriptObject):
+ * inspector/InspectorResource.h:
+ * inspector/front-end/inspector.js:
+ (WebInspector.updateResource):
+
+2010-08-03 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r64539.
+ http://trac.webkit.org/changeset/64539
+ https://bugs.webkit.org/show_bug.cgi?id=43409
+
+ Accidently changed licenses in some files (Requested by
+ WildFox on #webkit).
+
+ * svg/...:
+
+2010-08-03 Andrei Popescu <andreip@google.com>
+
+ Unreviewed, build fix.
+
+ [IndexedDB] Chromium build is broken due to typo in WebCore.gypi:3501
+ https://bugs.webkit.org/show_bug.cgi?id=43408
+
+ Add missing ' in WebCore.gypi:3501.
+
+ * WebCore.gypi:
+
+2010-07-30 Andrei Popescu <andreip@dhcp-172-16-14-12.lon.corp.google.com>
+
+ Reviewed by Jeremy Orlow.
+
+ Rename IDBDatabaseRequest to IDBDatabase
+ https://bugs.webkit.org/show_bug.cgi?id=43250
+
+ No new tests, just refactoring.
+
+ * Android.derived.jscbindings.mk:
+ * Android.derived.v8bindings.mk:
+ * Android.mk:
+ * CMakeLists.txt:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pri:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.vcproj/WebCore.vcproj~: Added.
+ * WebCore.xcodeproj/project.pbxproj:
+ * WebCore.xcodeproj/project.pbxproj~: Added.
+ * bindings/js/JSIDBAnyCustom.cpp:
+ (WebCore::toJS):
+ * bindings/v8/custom/V8IDBAnyCustom.cpp:
+ (WebCore::toV8):
+ * storage/IDBAny.cpp:
+ (WebCore::IDBAny::idbDatabase):
+ (WebCore::IDBAny::set):
+ * storage/IDBAny.h:
+ (WebCore::IDBAny::):
+ * storage/IDBCallbacks.h:
+ * storage/IDBDatabase.cpp: Added.
+ (WebCore::IDBDatabase::IDBDatabase):
+ (WebCore::IDBDatabase::~IDBDatabase):
+ (WebCore::IDBDatabase::createObjectStore):
+ (WebCore::IDBDatabase::objectStore):
+ (WebCore::IDBDatabase::removeObjectStore):
+ * storage/IDBDatabase.h:
+ (WebCore::IDBDatabase::create):
+ (WebCore::IDBDatabase::name):
+ (WebCore::IDBDatabase::description):
+ (WebCore::IDBDatabase::version):
+ (WebCore::IDBDatabase::objectStores):
+ * storage/IDBDatabase.idl: Added.
+ * storage/IDBDatabaseBackendImpl.cpp: Added.
+ (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
+ (WebCore::IDBDatabaseBackendImpl::~IDBDatabaseBackendImpl):
+ (WebCore::IDBDatabaseBackendImpl::objectStores):
+ (WebCore::IDBDatabaseBackendImpl::createObjectStore):
+ (WebCore::IDBDatabaseBackendImpl::objectStore):
+ (WebCore::IDBDatabaseBackendImpl::removeObjectStore):
+ * storage/IDBDatabaseBackendImpl.h: Added.
+ (WebCore::IDBDatabaseBackendImpl::create):
+ (WebCore::IDBDatabaseBackendImpl::name):
+ (WebCore::IDBDatabaseBackendImpl::description):
+ (WebCore::IDBDatabaseBackendImpl::version):
+ * storage/IDBDatabaseBackendInterface.h: Added.
+ (WebCore::IDBDatabaseBackendInterface::~IDBDatabaseBackendInterface):
+ * storage/IDBDatabaseImpl.cpp: Removed.
+ * storage/IDBDatabaseImpl.h: Removed.
+ * storage/IDBDatabaseRequest.cpp: Removed.
+ * storage/IDBDatabaseRequest.h: Removed.
+ * storage/IDBDatabaseRequest.idl: Removed.
+ * storage/IDBFactoryBackendImpl.cpp:
+ (WebCore::IDBFactoryBackendImpl::open):
+ * storage/IDBFactoryBackendImpl.h:
+ * storage/IDBRequest.cpp:
+ (WebCore::IDBRequest::onSuccess):
+ * storage/IDBRequest.h:
+
+2010-08-03 Satish Sampath <satish@chromium.org>
+
+ Reviewed by Kent Tamura.
+
+ Initiate speech input requests on click event
+ https://bugs.webkit.org/show_bug.cgi?id=43352
+
+ * rendering/TextControlInnerElements.cpp:
+ (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
+
+2010-08-02 Yury Semikhatsky <yurys@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ Web Inspector: debugger code should serialize call frames to InspectorObjects instead of SerializedScriptValues.
+ https://bugs.webkit.org/show_bug.cgi?id=43339
+
+ No new tests. Refactoring.
+
+ * inspector/InjectedScript.cpp:
+ (WebCore::InjectedScript::callFrames):
+ * inspector/InjectedScript.h:
+ * inspector/Inspector.idl:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::editScriptSource):
+ (WebCore::InspectorController::getScriptSource):
+ (WebCore::InspectorController::currentCallFrames):
+ (WebCore::InspectorController::didPause):
+ * inspector/InspectorController.h:
+ * inspector/front-end/InspectorBackendStub.js:
+ (WebInspector.InspectorBackendStub):
+
+2010-08-03 Nikolas Zimmermann <nzimmermann@rim.com>
+
+ Reviewed by Dirk Schulze.
+
+ Cleanup all of svg/ code
+ https://bugs.webkit.org/show_bug.cgi?id=43311
+
+ Unify the license header in all files in svg/, to use the same template as most WebCore files use.
+ Unified email adress style, etc. all generated with a perl script attached to bug 43311.i
+
+ * svg/...: Updated header template in all files, in the svg/ subdirectory.
+
+2010-08-03 Dumitru Daniliuc <dumi@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ Turn all callbacks into ActiveDOMObjects and create callbacks in the correct context.
+ https://bugs.webkit.org/show_bug.cgi?id=40112
+
+ Test: http/tests/storage/callbacks-are-called-in-correct-context.html
+
+ * CMakeLists.txt: Added new files.
+ * DerivedSources.make:
+ * GNUmakefile.am:
+ * WebCore.gypi:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+
+ * bindings/generic/ActiveDOMCallback.cpp: Added. The base class
+ for all callbacks, that behaves like an ActiveDOMObject.
+ (WebCore::DestroyOnContextThreadTask::create):
+ (WebCore::DestroyOnContextThreadTask::performTask):
+ (WebCore::DestroyOnContextThreadTask::DestroyOnContextThreadTask):
+ (WebCore::ActiveDOMObjectCallbackImpl::ActiveDOMObjectCallbackImpl):
+ (WebCore::ActiveDOMObjectCallbackImpl::contextDestroyed):
+ (WebCore::ActiveDOMObjectCallbackImpl::canSuspend):
+ (WebCore::ActiveDOMObjectCallbackImpl::suspend):
+ (WebCore::ActiveDOMObjectCallbackImpl::resume):
+ (WebCore::ActiveDOMObjectCallbackImpl::stop):
+ (WebCore::ActiveDOMObjectCallbackImpl::canInvokeCallback):
+ (WebCore::ActiveDOMObjectCallbackImpl::scriptExecutionContext):
+ (WebCore::ActiveDOMObjectCallbackImpl::mutex):
+ (WebCore::destroyOnContextThread):
+ (WebCore::ActiveDOMCallback::ActiveDOMCallback):
+ (WebCore::ActiveDOMCallback::~ActiveDOMCallback):
+ (WebCore::ActiveDOMCallback::canInvokeCallback):
+ (WebCore::ActiveDOMCallback::scriptExecutionContext):
+ * bindings/generic/ActiveDOMCallback.h: Added.
+
+ * bindings/js/JSCustomSQLStatementErrorCallback.cpp: Pass the
+ right ScriptExecutionContext to the JSC callbacks.
+ (WebCore::JSSQLStatementErrorCallback::handleEvent):
+ * bindings/js/JSSQLTransactionCustom.cpp:
+ (WebCore::JSSQLTransaction::executeSql):
+
+ * bindings/scripts/CodeGeneratorJS.pm: Make all callbacks inherit
+ from ActiveDOMCallback, and make them use the right
+ ScriptExecutionContext.
+ * bindings/scripts/CodeGeneratorV8.pm:
+
+ * bindings/scripts/test/JS/JSTestCallback.cpp: Update the
+ expectations for the code generated by CodeGenerator{JS|V8}.pm.
+ (WebCore::JSTestCallback::JSTestCallback):
+ (WebCore::JSTestCallback::~JSTestCallback):
+ (WebCore::JSTestCallback::callbackWithClass1Param):
+ (WebCore::JSTestCallback::callbackWithClass2Param):
+ * bindings/scripts/test/JS/JSTestCallback.h:
+ * bindings/scripts/test/V8/V8TestCallback.cpp:
+ (WebCore::V8TestCallback::V8TestCallback):
+ (WebCore::V8TestCallback::callbackWithClass1Param):
+ (WebCore::V8TestCallback::callbackWithClass2Param):
+ * bindings/scripts/test/V8/V8TestCallback.h:
+ (WebCore::V8TestCallback::create):
+ * bindings/scripts/test/V8/V8TestObj.cpp:
+ (WebCore::TestObjInternal::methodWithCallbackArgCallback):
+ (WebCore::TestObjInternal::methodWithNonCallbackArgAndCallbackArgCallback):
+ (WebCore::TestObjInternal::methodWithCallbackAndOptionalArgCallback):
+
+ * bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp: Pass
+ the right ScriptExecutionContext to the V8 callbacks.
+ (WebCore::V8SQLStatementErrorCallback::handleEvent):
+ * bindings/v8/custom/V8DOMWindowCustom.cpp:
+ (WebCore::V8DOMWindow::openDatabaseCallback):
+ * bindings/v8/custom/V8DatabaseCustom.cpp:
+ (WebCore::V8Database::changeVersionCallback):
+ (WebCore::createTransaction):
+ * bindings/v8/custom/V8DatabaseSyncCustom.cpp:
+ (WebCore::V8DatabaseSync::changeVersionCallback):
+ (WebCore::createTransaction):
+ * bindings/v8/custom/V8SQLTransactionCustom.cpp:
+ (WebCore::V8SQLTransaction::executeSqlCallback):
+ * bindings/v8/custom/V8WorkerContextCustom.cpp:
+ (WebCore::V8WorkerContext::openDatabaseCallback):
+ (WebCore::V8WorkerContext::openDatabaseSyncCallback):
+
+ * dom/ActiveDOMObject.cpp: Simplify the code.
+ (WebCore::ActiveDOMObject::ActiveDOMObject):
+ (WebCore::ActiveDOMObject::~ActiveDOMObject):
+
+ * storage/Database.cpp: CallbackClass::handleEvent() doesn't take
+ a ScriptExecutionContext anymore.
+ (WebCore::DatabaseCreationCallbackTask::performTask):
+ * storage/DatabaseCallback.h:
+ * storage/DatabaseSync.cpp:
+ (WebCore::DatabaseSync::openDatabaseSync):
+ * storage/EntryCallback.h:
+ * storage/ErrorCallback.h:
+ * storage/FileSystemCallback.h:
+ * storage/MetadataCallback.h:
+ * storage/SQLStatement.cpp:
+ (WebCore::SQLStatement::performCallback):
+ * storage/SQLStatementCallback.h:
+ * storage/SQLStatementErrorCallback.h:
+ * storage/SQLTransaction.cpp:
+ (WebCore::SQLTransaction::deliverTransactionCallback):
+ (WebCore::SQLTransaction::deliverTransactionErrorCallback):
+ * storage/SQLTransactionCallback.h:
+ * storage/SQLTransactionErrorCallback.h:
+ * storage/SQLTransactionSync.cpp:
+ (WebCore::SQLTransactionSync::execute):
+ * storage/SQLTransactionSyncCallback.h:
+
+2010-08-02 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Reviewed by Yury Semikhatsky.
+
+ WebInspector: Trivial InspectorBackend functions were removed.
+ And now it is bit simpler to change Inspector API because we have
+ less number of abstraction layers.
+ https://bugs.webkit.org/show_bug.cgi?id=43402
+
+ * inspector/CodeGeneratorInspector.pm:
+ * inspector/Inspector.idl:
+ * inspector/InspectorBackend.cpp:
+ (WebCore::InspectorBackend::clearConsoleMessages):
+ (WebCore::InspectorBackend::releaseWrapperObjectGroup):
+ (WebCore::InspectorBackend::inspectorFrontend):
+ (WebCore::InspectorBackend::remoteFrontend):
+ * inspector/InspectorBackend.h:
+ (WebCore::InspectorBackend::inspectorDOMAgent):
+ (WebCore::InspectorBackend::inspectorApplicationCacheAgent):
+ * inspector/InspectorController.h:
+
+2010-08-03 Alexey Proskuryakov <ap@apple.com>
+
+ Unreviewed (emergency test fix).
+
+ REGRESSION (r64518): Most regression tests fail on ASSERT(shouldTrackVisitedLinks)
+ on Snow Leopard.
+
+ Platforms that use strategies now use a different code path than others, and that code path
+ lacks necessary checks. We don't have a Snow Leopard debug buildbot.
+
+ * page/PageGroup.cpp: (WebCore::PageGroup::addVisitedLinkHash): The private version of
+ addVisitedLink() must not be called when we're not tracking visited links.
+
+2010-08-02 Pavel Feldman <pfeldman@chromium.org>
+
+ Reviewed by Yury Semikhatsky.
+
+ Chromium DevTools: Get rid of DevTools RPC.
+
+ https://bugs.webkit.org/show_bug.cgi?id=43335
+
+ * bindings/js/ScriptProfiler.h:
+ (WebCore::ScriptProfiler::getProfilerLogLines):
+ * bindings/v8/ScriptProfiler.cpp:
+ (WebCore::ScriptProfiler::getProfilerLogLines):
+ * bindings/v8/ScriptProfiler.h:
+ * inspector/Inspector.idl:
+ * inspector/InspectorBackend.cpp:
+ (WebCore::InspectorBackend::takeHeapSnapshot):
+ (WebCore::InspectorBackend::getProfilerLogLines):
+ * inspector/InspectorBackend.h:
+ * inspector/InspectorController.cpp:
+ (WebCore::InspectorController::disableProfiler):
+ * inspector/InspectorController.h:
+ * inspector/InspectorFrontend.h:
+ * inspector/front-end/InspectorBackendStub.js:
+ (WebInspector.InspectorBackendStub):
+
+2010-08-02 Dan Bernstein <mitz@apple.com>
+
+ Rubber-stamped by Sam Weinig.
+
+ Removed temporary build rule introduced in r62594.
+
+ * DerivedSources.make:
+
+2010-08-02 Pavel Feldman <pfeldman@chromium.org>
+
+ Not reviewed. Rolling out r64525 for breaking chromium tests.
+
+ * bindings/v8/V8Proxy.cpp:
+ (WebCore::V8Proxy::retrieve):
+
+2010-08-02 Kevin Ollivier <kevino@theolliviers.com>
+
+ [wx] Build fix, add stubs for FontCustomPlatformData to compile code that uses them.
+
+ * css/CSSFontFaceSource.cpp:
+ * platform/graphics/wx/FontCustomPlatformData.cpp: Added.
+ (WebCore::FontCustomPlatformData::~FontCustomPlatformData):
+ (WebCore::FontCustomPlatformData::fontPlatformData):
+ (WebCore::createFontCustomPlatformData):
+ (WebCore::FontCustomPlatformData::supportsFormat):
+ * platform/graphics/wx/FontCustomPlatformData.h: Added.
+ (WebCore::FontCustomPlatformData::FontCustomPlatformData):
+ * wscript:
+
+2010-08-02 Brady Eidson <beidson@apple.com>
+
+ Reviewed by NOBODY (Build fix, forgot to svn add this file)
+
+ * platform/VisitedLinkStrategy.h: Added.
+ (WebCore::VisitedLinkStrategy::~VisitedLinkStrategy):
+
+2010-08-02 Martin Robinson <mrobinson@igalia.com>
+
+ Reviewed by Gustavo Noronha Silva.
+
+ [GTK] WebKit2 requires lazy cursor support
+ https://bugs.webkit.org/show_bug.cgi?id=43053
+
+ Add lazy cursor support for GTK+. Lazy cursor support is used on some
+ WebKit2 ports to support changing the cursor.
+
+ No new tests, as this should not change functionality.
+
+ * platform/Cursor.h: Changed the m_platformCursor member to be a GRefPtr.
+ This simplifies the logic a great deal.
+ * platform/gtk/CursorGtk.cpp:
+ (WebCore::createNamedCursor): Added, adapted from existing code.
+ (WebCore::createCustomCursor): Added, adapted from existing code.
+ (WebCore::Cursor::ensurePlatformCursor): Added.
+ (WebCore::Cursor::Cursor): Added.
+ (WebCore::Cursor::operator=): Added.
+ (WebCore::Cursor::~Cursor): Added.
+ * platform/gtk/WidgetGtk.cpp:
+ (WebCore::Widget::setCursor): Call platformCusor now to get the actual GdkCursor.
+
+2010-08-02 Rajiv Makhijani <rajivmakhijani@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ Committed by Dirk Pranke.
+
+ Bug 38705 - [v8] chromium fails http/tests/sandbox-inherit-to-initial-document-2
+ https://bugs.webkit.org/show_bug.cgi?id=38705
+
+ WebCore::V8Proxy::retrieve(Frame* frame) calls WebCore::ScriptController::canExecuteScripts
+ and returns 0 if canExecuteScripts is false. It should return the proxy regardless
+ of whether the frame can execute scripts.
+
+ * bindings/v8/V8Proxy.cpp:
+ (WebCore::V8Proxy::retrieve): Removed canExecuteScripts check.
+
2010-08-02 Brady Eidson <beidson@apple.com>
Reviewed by Anders Carlsson.
@@ -662,7 +7151,7 @@
2010-08-02 Dirk Schulze <krit@webkit.org>
- Unreviewed sort of XCode project file.
+ Unreviewed sort of Xcode project file.
* WebCore.xcodeproj/project.pbxproj:
@@ -5535,7 +12024,7 @@
2010-07-26 Dirk Schulze <krit@webkit.org>
- Unreviewed sort of XCode project file.
+ Unreviewed sort of Xcode project file.
* WebCore.xcodeproj/project.pbxproj:
@@ -7918,7 +14407,7 @@
Unreviewed, build fix.
Forgot to update the role of HitTestRequest.h in
- the xcode project after landing patch from
+ the Xcode project after landing patch from
https://bugs.webkit.org/show_bug.cgi?id=39493
* WebCore.xcodeproj/project.pbxproj: Make HitTestRequest.h
@@ -8964,7 +15453,7 @@
Reviewed by Mark Rowe.
- Web Inspector: Do Not Copy *.re2js Inspector Resources in XCode Build Phase
+ Web Inspector: Do Not Copy *.re2js Inspector Resources in Xcode Build Phase
https://bugs.webkit.org/show_bug.cgi?id=42601
Remove *.re2js files after copying them over in the Build Phase. We do
@@ -14068,7 +20557,7 @@
Reviewed by Darin Adler.
- Add missing derrived sources to xcode project
+ Add missing derrived sources to Xcode project
https://bugs.webkit.org/show_bug.cgi?id=42034
This allows --web-timing to work with build-webkit on OSX with JSC.
@@ -19692,7 +26181,7 @@
2010-07-03 Dirk Schulze <krit@webkit.org>
- Unreviewed sort of XCode project file.
+ Unreviewed sort of Xcode project file.
* WebCore.xcodeproj/project.pbxproj: