| Index: Source/WebCore/ChangeLog
|
| ===================================================================
|
| --- Source/WebCore/ChangeLog (revision 92583)
|
| +++ Source/WebCore/ChangeLog (working copy)
|
| @@ -1,3 +1,1773 @@
|
| +2011-08-05 Ben Wells <benwells@chromium.org>
|
| +
|
| + Introduced fast path for border rendering when all visible sides are solid, same rgba color but not all visible
|
| + https://bugs.webkit.org/show_bug.cgi?id=65762
|
| +
|
| + Reviewed by Simon Fraser.
|
| +
|
| + No intended change in behaviour, no new tests.
|
| +
|
| + * rendering/RenderBoxModelObject.cpp:
|
| + (WebCore::calculateSideRect):
|
| + (WebCore::RenderBoxModelObject::paintBorderSides):
|
| + (WebCore::RenderBoxModelObject::paintBorder):
|
| +
|
| +2011-08-05 Kenichi Ishibashi <bashi@chromium.org>
|
| +
|
| + Unreviewed build fix on 32-bit Mac.
|
| +
|
| + * css/CSSParser.cpp:
|
| + (WebCore::CSSParser::parseFontFeatureTag): Added a cast to int.
|
| +
|
| +2011-08-05 Ryosuke Niwa <rniwa@webkit.org>
|
| +
|
| + Upwards cursor movement incorrect when previous block ends with <br>
|
| + https://bugs.webkit.org/show_bug.cgi?id=33247
|
| +
|
| + Reviewed by Tony Chang.
|
| +
|
| + The bug was caused by previousLinePosition's trying to obtain the root line box at the position
|
| + after the previous line's br. This obviously fails because the the position after br is considered
|
| + as a part of the next line.
|
| +
|
| + Fixed the bug by obtaining root inline boxes using position at the minimum caret offset as supposed
|
| + to maximum caret offset. The code was initially introduced by r32508 to fix arrow key movement in RTL text
|
| + but the test added by the revision continues to pass after this change. Furthermore, this change makes
|
| + new code consistent with nextLinePosition.
|
| +
|
| + Also reverted the change added by r55613 because it is no longer needed.
|
| +
|
| + Tests: editing/execCommand/move-selection-back-line-rtl.html
|
| + editing/execCommand/move-selection-back-line-strict.html
|
| +
|
| + * editing/visible_units.cpp:
|
| + (WebCore::previousLinePosition):
|
| +
|
| +2011-08-05 James Robinson <jamesr@chromium.org>
|
| +
|
| + [chromium] Accelerated canvas breaks when moving canvases or resources between Pages
|
| + https://bugs.webkit.org/show_bug.cgi?id=65402
|
| +
|
| + Reviewed by Stephen White.
|
| +
|
| + Use one shared GraphicsContext3D for the whole process instead of one per Page as canvases can move between
|
| + pages and directly draw into contexts in different pages. Also switches DrawingBufferChromium over to use a
|
| + directly shared the color attachment instead of copying it to a separate texture and removes the now-unnecessary
|
| + DrawingBuffer::didReset() call and WillPublishCallback mechanism.
|
| +
|
| + * page/Page.cpp:
|
| + (WebCore::Page::sharedGraphicsContext3D):
|
| + * page/Page.h:
|
| + * platform/graphics/chromium/Canvas2DLayerChromium.cpp:
|
| + (WebCore::Canvas2DLayerChromium::~Canvas2DLayerChromium):
|
| + (WebCore::Canvas2DLayerChromium::updateCompositorResources):
|
| + (WebCore::Canvas2DLayerChromium::textureId):
|
| + (WebCore::Canvas2DLayerChromium::setDrawingBuffer):
|
| + * platform/graphics/chromium/CanvasLayerChromium.cpp:
|
| + (WebCore::CanvasLayerChromium::CanvasLayerChromium):
|
| + * platform/graphics/chromium/CanvasLayerChromium.h:
|
| + * platform/graphics/chromium/DrawingBufferChromium.cpp:
|
| + (WebCore::DrawingBuffer::DrawingBuffer):
|
| + (WebCore::DrawingBuffer::publishToPlatformLayer):
|
| + * platform/graphics/chromium/Extensions3DChromium.h:
|
| + * platform/graphics/chromium/WebGLLayerChromium.cpp:
|
| + (WebCore::WebGLLayerChromium::WebGLLayerChromium):
|
| + * platform/graphics/chromium/WebGLLayerChromium.h:
|
| +
|
| +2011-08-05 Anders Carlsson <andersca@apple.com>
|
| +
|
| + Fix Chromium build.
|
| +
|
| + * WebCore.gypi:
|
| +
|
| +2011-08-05 Anders Carlsson <andersca@apple.com>
|
| +
|
| + Remove PluginHalter
|
| + https://bugs.webkit.org/show_bug.cgi?id=65729
|
| +
|
| + Reviewed by Darin Adler.
|
| +
|
| + Remove plug-in halter and associated classes.
|
| +
|
| + * CMakeLists.txt:
|
| + * GNUmakefile.list.am:
|
| + * WebCore.exp.in:
|
| + * WebCore.pro:
|
| + * WebCore.vcproj/WebCore.vcproj:
|
| + * WebCore.xcodeproj/project.pbxproj:
|
| + * loader/EmptyClients.h:
|
| + * page/HaltablePlugin.h: Removed.
|
| + * page/Page.cpp:
|
| + (WebCore::Page::Page):
|
| + * page/Page.h:
|
| + * page/PluginHalter.cpp: Removed.
|
| + * page/PluginHalter.h: Removed.
|
| + * page/PluginHalterClient.h: Removed.
|
| + * page/Settings.cpp:
|
| + (WebCore::Settings::Settings):
|
| + * page/Settings.h:
|
| + * plugins/PluginView.cpp:
|
| + (WebCore::PluginView::start):
|
| + (WebCore::PluginView::stop):
|
| + (WebCore::PluginView::PluginView):
|
| + * plugins/PluginView.h:
|
| + * plugins/PluginViewNone.cpp:
|
| + * plugins/gtk/PluginViewGtk.cpp:
|
| + * plugins/qt/PluginViewQt.cpp:
|
| + * plugins/win/PluginViewWin.cpp:
|
| + * rendering/RenderWidget.cpp:
|
| + (WebCore::RenderWidget::paint):
|
| + * rendering/RenderWidget.h:
|
| +
|
| +2011-08-05 Jochen Eisinger <jochen@chromium.org>
|
| +
|
| + Introduce a new ResourceRequest::TargetType for XHRs
|
| + https://bugs.webkit.org/show_bug.cgi?id=65544
|
| +
|
| + Reviewed by Darin Fisher.
|
| +
|
| + * platform/network/chromium/ResourceRequest.h:
|
| + * xml/XMLHttpRequest.cpp:
|
| + (WebCore::XMLHttpRequest::createRequest):
|
| +
|
| +2011-08-05 Yael Aharon <yael.aharon@nokia.com>
|
| +
|
| + dir=auto needs to work on value of input and textarea elements
|
| + https://bugs.webkit.org/show_bug.cgi?id=65428
|
| +
|
| + Reviewed by Darin Adler.
|
| +
|
| + Changed the directionality algorithm to evaluate the value of input elements and textarea elements when
|
| + they have the attribute dir-auto Set.
|
| + Also skip these elements when evaluating the directionality of their ancestors.
|
| +
|
| + HTMLTextAreaElement::childrenChanged is not called when a user types into the textarea, so call
|
| + calculateAndAdjustDirectionality() explicitly from HTMLTextAreaElement::subtreeHasChanged().
|
| +
|
| + HTMLInputElement::childrenChanged is not called when a user types into the textarea, so call
|
| + calculateAndAdjustDirectionality() explicitly from HTMLTextAreaElement::subtreeHasChanged().
|
| +
|
| + Tests: fast/dom/HTMLElement/attr-dir-auto-changed-text-form-control.html
|
| + fast/dom/HTMLElement/attr-dir-auto-text-form-control-child.html
|
| + fast/dom/HTMLElement/attr-dir-auto-text-form-control.html
|
| +
|
| + * html/HTMLElement.cpp:
|
| + (WebCore::HTMLElement::directionality):
|
| + * html/HTMLElement.h:
|
| + * html/HTMLTextAreaElement.cpp:
|
| + (WebCore::HTMLTextAreaElement::subtreeHasChanged):
|
| +
|
| +2011-08-05 Keishi Hattori <keishi@webkit.org>
|
| +
|
| + Implement <input type=color> UI behavior WebCore part
|
| + https://bugs.webkit.org/show_bug.cgi?id=62619
|
| +
|
| + Reviewed by Kent Tamura.
|
| +
|
| + * WebCore.exp.in: Added __ZN7WebCore12ColorChooser7chooserEv and
|
| + __ZNK7WebCore12ColorChooser13colorSelectedERKNS_5ColorE
|
| + * WebCore.xcodeproj/project.pbxproj: Added ColorChooser.{h,cpp}
|
| + * html/ColorInputType.cpp:
|
| + (WebCore::ColorInputType::~ColorInputType): Added. Close color chooser. ex. when type attribute changes.
|
| + (WebCore::ColorInputType::valueAsColor): Added.
|
| + (WebCore::ColorInputType::setValueAsColor): Added.
|
| + (WebCore::ColorInputType::valueChanged): Update selected color in color chooser too.
|
| + (WebCore::ColorInputType::handleClickEvent): Opens color chooser.
|
| + (WebCore::ColorInputType::handleDOMActivateEvent): Called when element.click(). Open color chooser only
|
| + when it was initiated by a user interaction.
|
| + (WebCore::ColorInputType::detach): Close color chooser. Called when input element or its ancestors have "display:none"
|
| + or is removed from DOM.
|
| + (WebCore::ColorInputType::colorSelected): Callback from color chooser.
|
| + (WebCore::ColorInputType::closeColorChooserIfClientIsInDocument): Close color chooser if element is in
|
| + document. Called when the page navigates away.
|
| + (WebCore::ColorInputType::closeColorChooserIfCurrentClient): Close color chooser if this input type is the current client of ColorChooser.
|
| + * html/ColorInputType.h:
|
| + * html/FileInputType.cpp:
|
| + * html/FileInputType.h:
|
| + * html/HTMLInputElement.cpp:
|
| + (WebCore::HTMLInputElement::detach): Calls InputType::detach
|
| + * html/InputType.cpp:
|
| + (WebCore::InputType::chrome): Added. Used in FileInputType and ColorInputType.
|
| + (WebCore::InputType::detach): ColorInputType overrides this.
|
| + * html/InputType.h:
|
| + * loader/EmptyClients.h:
|
| + (WebCore::EmptyChromeClient::openColorChooser): Added.
|
| + (WebCore::EmptyChromeClient::closeColorChooser): Added.
|
| + (WebCore::EmptyChromeClient::setSelectedColorInColorChooser): Added.
|
| + * loader/FrameLoader.cpp:
|
| + (WebCore::FrameLoader::transitionToCommitted): Close color chooser when
|
| + navigating away from the page.
|
| + * page/Chrome.cpp:
|
| + (WebCore::Chrome::openColorChooser): Added. Opens the color chooser.
|
| + (WebCore::Chrome::closeColorChooser): Added. Tries to close the color chooser. Might not close if the
|
| + listener of the color chooser is another part of the browser or another render process.
|
| + (WebCore::Chrome::setSelectedColorInColorChooser): Added. Sets the selected color in the color chooser.
|
| + Again, might not be executed if the listener of the color chooser is another part of the browser or another render process.
|
| + * page/Chrome.h:
|
| + * page/ChromeClient.h:
|
| + * platform/ColorChooser.cpp: Added.
|
| + (WebCore::ColorChooserClient::~ColorChooserClient): Disconnects itself from the ColorChooser.
|
| + (WebCore::ColorChooser::chooser): Get shared instance of ColorChooser.
|
| + (WebCore::ColorChooser::chooser): Get shared instance of ColorChooser.
|
| + (WebCore::ColorChooser::connectClient): Connects a ColorChooserClient that receives the colorSelected callbacks.
|
| + (WebCore::ColorChooser::disconnectClient): Disconnects the connectClient.
|
| + (WebCore::ColorChooser::closeColorChooserIfClientIsInDocument): Close the color chooser if the client is
|
| + inside the document.
|
| + (WebCore::ColorChooser::colorSelected): Called from color chooser listener.
|
| + * platform/ColorChooser.h: Added.
|
| + (WebCore::ColorChooser::client): Added. Returns the current connected client.
|
| + (WebCore::ColorChooser::ColorChooser): Added.
|
| +
|
| +2011-08-05 Yury Semikhatsky <yurys@chromium.org>
|
| +
|
| + Web Inspector: check that detaching frame has been attached before removing it from the console selector
|
| + https://bugs.webkit.org/show_bug.cgi?id=65686
|
| +
|
| + Reviewed by Pavel Feldman.
|
| +
|
| + * inspector/front-end/JavaScriptContextManager.js:
|
| + (WebInspector.JavaScriptContextManager.prototype._frameDetached):
|
| +
|
| +2011-08-05 Keishi Hattori <keishi@webkit.org>
|
| +
|
| + Sort WebCore.xcodeproj
|
| + Accomplished using sort-Xcode-project-file.
|
| +
|
| + * WebCore.xcodeproj/project.pbxproj:
|
| +
|
| +2011-08-05 Yury Semikhatsky <yurys@chromium.org>
|
| +
|
| + Web Inspector: constrain maximum depth for returnByValue objects
|
| + https://bugs.webkit.org/show_bug.cgi?id=65761
|
| +
|
| + Set maximum depth to 20 for objects returned by value as a result of evaluations.
|
| +
|
| + Reviewed by Pavel Feldman.
|
| +
|
| + * bindings/js/ScriptValue.cpp:
|
| + (WebCore::jsToInspectorValue):
|
| + (WebCore::ScriptValue::toInspectorValue):
|
| + * bindings/v8/ScriptValue.cpp:
|
| + (WebCore::v8ToInspectorValue):
|
| + (WebCore::ScriptValue::toInspectorValue):
|
| + * inspector/InjectedScript.cpp:
|
| + (WebCore::InjectedScript::makeCall):
|
| + * inspector/InspectorValues.h:
|
| +
|
| +2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
|
| +
|
| + Remove LegacyDefaultOptionalArguments flag from appcache IDL files
|
| + https://bugs.webkit.org/show_bug.cgi?id=65752
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, all existing tests pass.
|
| +
|
| + * loader/appcache/DOMApplicationCache.idl:
|
| +
|
| +2011-08-04 Hans Wennborg <hans@chromium.org>
|
| +
|
| + IndexedDB: Stop using free-lists for database/object store/index ids.
|
| + https://bugs.webkit.org/show_bug.cgi?id=65678
|
| +
|
| + Reviewed by Tony Chang.
|
| +
|
| + Don't use free-lists for database/object store/index ids,
|
| + just assign increasing numbers.
|
| +
|
| + It turns out that deleting an object store and creating a new one with
|
| + the same id would cause the delete markers from the old object store to
|
| + slow down lookups into the new one. Therefore we should generate
|
| + a new id every time. Running out of ids (64 bits for databases and
|
| + object stores, 32 bits for indices) is not realistic.
|
| +
|
| + Also make functions that generate new ids report errors, and make the
|
| + callers of those functions check the return values.
|
| +
|
| + We must still delete free-lists when deleting an object store, and we
|
| + must keep the code for encoding/decoding/comparison of free-list keys
|
| + since users might have them in their databases.
|
| +
|
| + This is just a performance optimization, so no new tests.
|
| +
|
| + * storage/IDBLevelDBBackingStore.cpp:
|
| + (WebCore::getNewDatabaseId):
|
| + (WebCore::IDBLevelDBBackingStore::setIDBDatabaseMetaData):
|
| + (WebCore::getNewObjectStoreId):
|
| + (WebCore::IDBLevelDBBackingStore::createObjectStore):
|
| + (WebCore::IDBLevelDBBackingStore::deleteObjectStore):
|
| + (WebCore::getNewIndexId):
|
| + (WebCore::IDBLevelDBBackingStore::createIndex):
|
| + (WebCore::IDBLevelDBBackingStore::deleteIndex):
|
| +
|
| +2011-08-05 Roland Steiner <rolandsteiner@chromium.org>
|
| +
|
| + Unreviewed: change an instance of isImportRule() that was overlooked in commit 92448.
|
| +
|
| + No new tests. (No functional change)
|
| +
|
| + * xml/XSLImportRule.h:
|
| + (WebCore::XSLImportRule::isImportRule):
|
| +
|
| +2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
|
| +
|
| + Remove LegacyDefaultOptionalArguments flag from remaining SVG IDL files
|
| + https://bugs.webkit.org/show_bug.cgi?id=65751
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, all existing tests pass.
|
| +
|
| + * svg/SVGElementInstance.idl:
|
| +
|
| +2011-08-05 Pavel Feldman <pfeldman@google.com>
|
| +
|
| + Web Inspector: do not delay scroll event handling - scroll is already async.
|
| + https://bugs.webkit.org/show_bug.cgi?id=65693
|
| +
|
| + Reviewed by Yury Semikhatsky.
|
| +
|
| + * inspector/front-end/TextViewer.js:
|
| + (WebInspector.TextViewer.prototype._syncScroll):
|
| +
|
| +2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
|
| +
|
| + Remove LegacyDefaultOptionalArguments flag from web audio API
|
| + https://bugs.webkit.org/show_bug.cgi?id=65750
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, all existing tests pass.
|
| +
|
| + * webaudio/AudioBufferSourceNode.idl:
|
| +
|
| +2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
|
| +
|
| + Remove LegacyDefaultOptionalArguments flag from Web Workers
|
| + https://bugs.webkit.org/show_bug.cgi?id=65746
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, all existing tests pass.
|
| +
|
| + * workers/AbstractWorker.idl:
|
| + * workers/DedicatedWorkerContext.idl:
|
| + * workers/Worker.idl:
|
| + * workers/WorkerContext.idl:
|
| +
|
| +2011-08-05 Kenichi Ishibashi <bashi@chromium.org>
|
| +
|
| + Parsing CSS3 font-feature-settings property
|
| + https://bugs.webkit.org/show_bug.cgi?id=63618
|
| +
|
| + Introduces CSS3 font-feature-settings property as -webkit-font-feature-settings. This change only contains parsing part. Parsed information are stored in FontDescription class.
|
| +
|
| + Reviewed by Shinichiro Hamaji.
|
| +
|
| + Test: css3/font-feature-settings-parsing.html
|
| +
|
| + * CMakeLists.txt: Added FontFeatureValue.{h,cpp} and FontFeatureSettings.{h,cpp}.
|
| + * GNUmakefile.list.am: Ditto.
|
| + * WebCore.gypi: Ditto.
|
| + * WebCore.pro: Ditto.
|
| + * WebCore.vcproj/WebCore.vcproj: Ditto.
|
| + * WebCore.xcodeproj/project.pbxproj: Ditto.
|
| + * css/CSSComputedStyleDeclaration.cpp:
|
| + (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added CSSPropertyWebkitFontFeatureSettings.
|
| + * css/CSSParser.cpp:
|
| + (WebCore::CSSParser::parseValue): Added parsing code for -webkit-font-feature-settings.
|
| + (WebCore::CSSParser::parseFontFeatureTag): Added.
|
| + (WebCore::CSSParser::parseFontFeatureSettings): Added.
|
| + * css/CSSParser.h: Added parseFontFeatureSettings().
|
| + * css/CSSPropertyNames.in: Added -webkit-font-feature-settings.
|
| + * css/CSSStyleSelector.cpp:
|
| + (WebCore::CSSStyleSelector::applyDeclarations): Modified a compile assert to follow adding -webkit-font-feature-settings.
|
| + (WebCore::CSSStyleSelector::applyProperty): Added a case clause for CSSPropertyWebkitFontFeatureSettings.
|
| + * css/CSSValue.h:
|
| + (WebCore::CSSValue::isFontFeatureValue): Added.
|
| + * css/CSSValueKeywords.in: Added 'on' and 'off' keywords.
|
| + * css/FontFeatureValue.cpp: Added.
|
| + (WebCore::FontFeatureValue::FontFeatureValue):
|
| + (WebCore::FontFeatureValue::value):
|
| + (WebCore::FontFeatureValue::cssText):
|
| + * css/FontFeatureValue.h: Added.
|
| + (WebCore::FontFeatureValue::create):
|
| + (WebCore::FontFeatureValue::tag):
|
| + (WebCore::FontFeatureValue::isFontFeatureValue):
|
| + * platform/graphics/FontDescription.cpp:
|
| + (WebCore::FontDescription::makeNormalFeatureSettings): Added.
|
| + * platform/graphics/FontDescription.h:
|
| + (WebCore::FontDescription::FontDescription): Added m_featureSettings member variable.
|
| + (WebCore::FontDescription::featureSettings): Added.
|
| + (WebCore::FontDescription::setFeatureSettings): Added.
|
| + (WebCore::FontDescription::operator==): Modified to take into account m_featureSettings
|
| + * platform/graphics/FontFeatureSettings.cpp: Added.
|
| + (WebCore::FontFeature::FontFeature):
|
| + (WebCore::FontFeature::operator=):
|
| + (WebCore::FontFeature::operator==):
|
| + (WebCore::FontFeatureSettings::FontFeatureSettings):
|
| + * platform/graphics/FontFeatureSettings.h: Added.
|
| + (WebCore::FontFeature::tag):
|
| + (WebCore::FontFeature::value):
|
| + (WebCore::FontFeatureSettings::create):
|
| + (WebCore::FontFeatureSettings::append):
|
| + (WebCore::FontFeatureSettings::size):
|
| + (WebCore::FontFeatureSettings::operator[]):
|
| + (WebCore::FontFeatureSettings::at):
|
| +
|
| +2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
|
| +
|
| + Remove LegacyDefaultOptionalArguments flag from websockets
|
| + https://bugs.webkit.org/show_bug.cgi?id=65749
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, all existing tests pass.
|
| +
|
| + * websockets/WebSocket.idl:
|
| +
|
| +2011-08-05 Adam Barth <abarth@webkit.org>
|
| +
|
| + Attempt to heal media/video-can-play-type.html and media/video-src-change.html.
|
| +
|
| + * html/HTMLMediaElement.idl:
|
| +
|
| +2011-08-05 Mark Pilgrim <pilgrim@chromium.org>
|
| +
|
| + Remove LegacyDefaultOptionalArguments flag from notifications IDL files
|
| + https://bugs.webkit.org/show_bug.cgi?id=65747
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, all existing tests pass.
|
| +
|
| + * notifications/Notification.idl:
|
| + * notifications/NotificationCenter.idl:
|
| +
|
| +2011-08-05 Sheriff Bot <webkit.review.bot@gmail.com>
|
| +
|
| + Unreviewed, rolling out r92439.
|
| + http://trac.webkit.org/changeset/92439
|
| + https://bugs.webkit.org/show_bug.cgi?id=65753
|
| +
|
| + Caused 9 tests to fail on Qt (Requested by abarth on #webkit).
|
| +
|
| + * dom/Document.cpp:
|
| + (WebCore::Document::implicitOpen):
|
| + * loader/FrameLoader.cpp:
|
| + (WebCore::FrameLoader::transitionToCommitted):
|
| + (WebCore::FrameLoader::detachChildren):
|
| +
|
| +2011-08-04 Ryosuke Niwa <rniwa@webkit.org>
|
| +
|
| + Use RenderedPosition instead of getInlineBoxAndOffset in Editor and AccessibilityObject
|
| + https://bugs.webkit.org/show_bug.cgi?id=65647
|
| +
|
| + Reviewed by Hajime Morita.
|
| +
|
| + Encapsulated the use of getInlineBoxAndOffset in Editor.cpp and AccessibilityObject.cpp by RenderedPosition.
|
| +
|
| + Also added rendererFromPosition that returns the renderer of deprecatedNode but using a proper Position interface.
|
| +
|
| + * accessibility/AccessibilityObject.cpp:
|
| + (WebCore::updateAXLineStartForVisiblePosition):
|
| + * editing/Editor.cpp:
|
| + (WebCore::Editor::firstRectForRange):
|
| + * editing/RenderedPosition.cpp:
|
| + (WebCore::rendererFromPosition):
|
| + (WebCore::RenderedPosition::RenderedPosition):
|
| + (WebCore::RenderedPosition::absoluteRect):
|
| + * editing/RenderedPosition.h:
|
| + (WebCore::RenderedPosition::absoluteRect):
|
| +
|
| +2011-08-04 Hayato Ito <hayato@chromium.org>
|
| +
|
| + Make ScopedEventQueue enqueue an EventDispatchMediator, instead of an Event.
|
| + https://bugs.webkit.org/show_bug.cgi?id=65613
|
| +
|
| + Reviewed by Dimitri Glazkov.
|
| +
|
| + No changes to functionality so no new tests.
|
| +
|
| + * dom/Event.h:
|
| + * dom/EventDispatcher.cpp:
|
| + (WebCore::EventDispatcher::dispatchScopedEvent):
|
| + * dom/EventDispatcher.h:
|
| + * dom/Node.cpp:
|
| + (WebCore::Node::dispatchScopedEvent):
|
| + (WebCore::Node::dispatchScopedEventDispatchMediator):
|
| + * dom/Node.h:
|
| + * dom/ScopedEventQueue.cpp:
|
| + (WebCore::ScopedEventQueue::~ScopedEventQueue):
|
| + (WebCore::ScopedEventQueue::enqueueEventDispatchMediator):
|
| + (WebCore::ScopedEventQueue::dispatchAllEvents):
|
| + (WebCore::ScopedEventQueue::dispatchEvent):
|
| + * dom/ScopedEventQueue.h:
|
| +
|
| +2011-08-04 James Robinson <jamesr@chromium.org>
|
| +
|
| + Unreviewed build fix. gcc 4.5 can't figure out that the 'data' variables are always initialized in these functions.
|
| +
|
| + * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
|
| + (WebCore::jsArrayToFloatArray):
|
| + (WebCore::jsArrayToIntArray):
|
| +
|
| +2011-08-05 Roland Steiner <rolandsteiner@chromium.org>
|
| +
|
| + Improve const-correctness in CSS code: type information methods
|
| + https://bugs.webkit.org/show_bug.cgi?id=65506
|
| +
|
| + Reviewed by Simon Fraser.
|
| +
|
| + Make "is...()" functions (e.g., "isStyleRule()") const.
|
| + Also, change CSSRule's type() function to return CSSRuleType.
|
| +
|
| + No new tests. (no change in semantics)
|
| +
|
| + * css/CSSCharsetRule.h:
|
| + (WebCore::CSSCharsetRule::isCharsetRule):
|
| + (WebCore::CSSCharsetRule::type):
|
| + * css/CSSFontFaceRule.h:
|
| + (WebCore::CSSFontFaceRule::isFontFaceRule):
|
| + (WebCore::CSSFontFaceRule::type):
|
| + * css/CSSImportRule.h:
|
| + (WebCore::CSSImportRule::isImportRule):
|
| + (WebCore::CSSImportRule::type):
|
| + * css/CSSMediaRule.h:
|
| + (WebCore::CSSMediaRule::isMediaRule):
|
| + (WebCore::CSSMediaRule::type):
|
| + * css/CSSPageRule.h:
|
| + (WebCore::CSSPageRule::isPageRule):
|
| + (WebCore::CSSPageRule::type):
|
| + * css/CSSRule.h:
|
| + (WebCore::CSSRule::isRule):
|
| + * css/CSSStyleRule.h:
|
| + (WebCore::CSSStyleRule::isStyleRule):
|
| + (WebCore::CSSStyleRule::type):
|
| + * css/CSSUnknownRule.h:
|
| + (WebCore::CSSUnknownRule::type):
|
| + * css/StyleBase.h:
|
| + (WebCore::StyleBase::isCharsetRule):
|
| + (WebCore::StyleBase::isFontFaceRule):
|
| + (WebCore::StyleBase::isImportRule):
|
| + (WebCore::StyleBase::isKeyframeRule):
|
| + (WebCore::StyleBase::isKeyframesRule):
|
| + (WebCore::StyleBase::isMediaRule):
|
| + (WebCore::StyleBase::isPageRule):
|
| + (WebCore::StyleBase::isRule):
|
| + (WebCore::StyleBase::isStyleRule):
|
| + * css/WebKitCSSKeyframeRule.h:
|
| + (WebCore::WebKitCSSKeyframeRule::isKeyframeRule):
|
| + (WebCore::WebKitCSSKeyframeRule::type):
|
| + * css/WebKitCSSKeyframesRule.h:
|
| + (WebCore::WebKitCSSKeyframesRule::isKeyframesRule):
|
| + (WebCore::WebKitCSSKeyframesRule::type):
|
| +
|
| +2011-08-04 Mark Pilgrim <pilgrim@chromium.org>
|
| +
|
| + Remove LegacyDefaultOptionalArguments flag from plugin IDL files
|
| + https://bugs.webkit.org/show_bug.cgi?id=65745
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, all existing tests pass.
|
| +
|
| + * plugins/DOMMimeTypeArray.idl:
|
| + * plugins/DOMPlugin.idl:
|
| + * plugins/DOMPluginArray.idl:
|
| +
|
| +2011-08-04 Mark Pilgrim <pilgrim@chromium.org>
|
| +
|
| + Remove LegacyDefaultOptionalArguments flag from XML/XSL IDL files
|
| + https://bugs.webkit.org/show_bug.cgi?id=65740
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, all existing tests pass.
|
| +
|
| + * xml/DOMParser.idl:
|
| + * xml/XMLSerializer.idl:
|
| + * xml/XPathEvaluator.idl:
|
| + * xml/XPathExpression.idl:
|
| + * xml/XPathNSResolver.idl:
|
| + * xml/XPathResult.idl:
|
| + * xml/XSLTProcessor.idl:
|
| +
|
| +2011-08-04 Mark Pilgrim <pilgrim@chromium.org>
|
| +
|
| + Remove LegacyDefaultOptionalArguments flag from canvas IDL files
|
| + https://bugs.webkit.org/show_bug.cgi?id=65737
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, all existing tests pass.
|
| +
|
| + * html/canvas/CanvasGradient.idl:
|
| + * html/canvas/Float32Array.idl:
|
| + * html/canvas/Float64Array.idl:
|
| + * html/canvas/Int16Array.idl:
|
| + * html/canvas/Int32Array.idl:
|
| + * html/canvas/Int8Array.idl:
|
| + * html/canvas/OESVertexArrayObject.idl:
|
| + * html/canvas/Uint16Array.idl:
|
| + * html/canvas/Uint32Array.idl:
|
| + * html/canvas/Uint8Array.idl:
|
| +
|
| +2011-08-04 MORITA Hajime <morrita@google.com>
|
| +
|
| + Reviewed by Ryosuke Niwa.
|
| +
|
| + DocumentMarker: Type specific details should be separately held by other object.
|
| + https://bugs.webkit.org/show_bug.cgi?id=59855
|
| +
|
| + - Introduced DocumentMarkerDetails abstract class and two its subclasses
|
| + DocumentMarkerDescription and DocumentMarkerActiveMatch,
|
| +
|
| + - Replacing DocumentMarker::m_description and
|
| + DocumentMarker::m_activeMatch with these new details classes.
|
| +
|
| + No new tests. No behavior change.
|
| +
|
| + * CMakeLists.txt:
|
| + * GNUmakefile.list.am:
|
| + * WebCore.gypi:
|
| + * WebCore.pro:
|
| + * WebCore.vcproj/WebCore.vcproj:
|
| + * WebCore.xcodeproj/project.pbxproj:
|
| + * dom/DOMAllInOne.cpp:
|
| + * dom/DocumentMarker.cpp: Added.
|
| + (WebCore::emptyDescription):
|
| + (WebCore::DocumentMarkerDetails::DocumentMarkerDetails):
|
| + (WebCore::DocumentMarkerDetails::~DocumentMarkerDetails):
|
| + (WebCore::DocumentMarkerDescription::description):
|
| + (WebCore::DocumentMarkerDescription::isDescription):
|
| + (WebCore::DocumentMarkerDescription::DocumentMarkerDescription):
|
| + (WebCore::DocumentMarkerDescription::createUnlessEmpty):
|
| + (WebCore::DocumentMarkerDescription::compatibleTypes):
|
| + (WebCore::DocumentMarkerTextMatch::activeMatch):
|
| + (WebCore::DocumentMarkerTextMatch::isTextMatch):
|
| + (WebCore::DocumentMarkerTextMatch::DocumentMarkerTextMatch):
|
| + (WebCore::DocumentMarkerTextMatch::instanceFor):
|
| + (WebCore::DocumentMarkerTextMatch::compatibleTypes):
|
| + (WebCore::DocumentMarker::DocumentMarker):
|
| + (WebCore::DocumentMarker::shiftOffsets):
|
| + (WebCore::DocumentMarker::setActiveMatch):
|
| + (WebCore::DocumentMarker::description):
|
| + (WebCore::DocumentMarker::activeMatch):
|
| + * dom/DocumentMarker.h:
|
| + (WebCore::DocumentMarker::details):
|
| + (WebCore::DocumentMarker::clearDetails):
|
| + (WebCore::DocumentMarkerDetails::isDescription):
|
| + (WebCore::DocumentMarkerDetails::isTextMatch):
|
| + (WebCore::DocumentMarkerDetails::isAllowedFor):
|
| + * dom/DocumentMarkerController.cpp:
|
| + (WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange):
|
| + * editing/CompositeEditCommand.cpp:
|
| + (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers):
|
| +
|
| +2011-08-04 Scott Graham <scottmg@chromium.org>
|
| +
|
| + Bad interaction between document destruction and unload events
|
| + https://bugs.webkit.org/show_bug.cgi?id=64741
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + Three different errors triggered by this test case. The case to
|
| + consider is a subdocument with an onunload on an element, that
|
| + destroys the parent document during the onunload. One fix was a
|
| + lifetime issue fixed by a protecting RefPtr, and another was an
|
| + additional cancel of event triggers. The main fix was that during the
|
| + transition to commited state, the documentLoader is being replaced by
|
| + the provisionalDocumentLoader. But, because during firing events in
|
| + the subdocument the parent is destroyed, that subevent caused the
|
| + provisionalDocumentLoader to be detached from its frame. By marking
|
| + the page as being in committed state before the parent documentLoader
|
| + is set, this is avoided.
|
| +
|
| + Test: loader/document-destruction-within-unload.html
|
| +
|
| + * dom/Document.cpp:
|
| + (WebCore::Document::implicitOpen):
|
| + * loader/FrameLoader.cpp:
|
| + (WebCore::FrameLoader::transitionToCommitted):
|
| + (WebCore::FrameLoader::detachChildren):
|
| +
|
| +2011-08-04 Simon Fraser <simon.fraser@apple.com>
|
| +
|
| + Add code to determine whether a Range in inside fixed position content
|
| + https://bugs.webkit.org/show_bug.cgi?id=65720
|
| +
|
| + Reviewed by Sam Weinig.
|
| +
|
| + Propagate the 'wasFixed' flag out from various methods that
|
| + are used when computing the collection of rects or quads
|
| + for a range. Use the flag in Range to computer whether
|
| + the Range is entirely within, partially within, or outside
|
| + of fixed-position content.
|
| +
|
| + * WebCore.exp.in:
|
| + * accessibility/AccessibilityRenderObject.cpp:
|
| + (WebCore::AccessibilityRenderObject::boundingBoxRect):
|
| + * dom/Range.cpp:
|
| + (WebCore::Range::textRects):
|
| + (WebCore::Range::textQuads):
|
| + * dom/Range.h:
|
| + * rendering/RenderBlock.cpp:
|
| + (WebCore::RenderBlock::absoluteQuads):
|
| + * rendering/RenderBlock.h:
|
| + * rendering/RenderBox.cpp:
|
| + (WebCore::RenderBox::absoluteQuads):
|
| + * rendering/RenderBox.h:
|
| + * rendering/RenderInline.cpp:
|
| + (WebCore::RenderInline::absoluteQuads):
|
| + * rendering/RenderInline.h:
|
| + * rendering/RenderObject.h:
|
| + (WebCore::RenderObject::absoluteQuads):
|
| + * rendering/RenderText.cpp:
|
| + (WebCore::RenderText::absoluteRectsForRange):
|
| + (WebCore::RenderText::absoluteQuads):
|
| + (WebCore::RenderText::absoluteQuadsForRange):
|
| + * rendering/RenderText.h:
|
| + * rendering/RenderView.cpp:
|
| + (WebCore::RenderView::absoluteQuads):
|
| + * rendering/RenderView.h:
|
| + * rendering/svg/RenderSVGHiddenContainer.cpp:
|
| + (WebCore::RenderSVGHiddenContainer::absoluteQuads):
|
| + * rendering/svg/RenderSVGHiddenContainer.h:
|
| + * rendering/svg/RenderSVGInline.cpp:
|
| + (WebCore::RenderSVGInline::absoluteQuads):
|
| + * rendering/svg/RenderSVGInline.h:
|
| + * rendering/svg/RenderSVGModelObject.cpp:
|
| + (WebCore::RenderSVGModelObject::absoluteQuads):
|
| + * rendering/svg/RenderSVGModelObject.h:
|
| + * rendering/svg/RenderSVGText.cpp:
|
| + (WebCore::RenderSVGText::absoluteQuads):
|
| + * rendering/svg/RenderSVGText.h:
|
| +
|
| +2011-08-04 Mark Pilgrim <pilgrim@chromium.org>
|
| +
|
| + Remove LegacyDefaultOptionalArguments flag from Document.idl
|
| + https://bugs.webkit.org/show_bug.cgi?id=65717
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, all existing tests pass.
|
| +
|
| + * dom/Document.idl:
|
| +
|
| +2011-08-04 Simon Fraser <simon.fraser@apple.com>
|
| +
|
| + Fix release build failure with last commit.
|
| +
|
| + * rendering/RenderView.cpp:
|
| + (WebCore::RenderView::mapLocalToContainer):
|
| +
|
| +2011-08-04 Simon Fraser <simon.fraser@apple.com>
|
| +
|
| + Add code to determine whether a Range in inside fixed position content
|
| + https://bugs.webkit.org/show_bug.cgi?id=65720
|
| +
|
| + Reviewed by Dan Bernstein.
|
| +
|
| + Add an out param for various coordinate mapping functions
|
| + that tells us whether the point or rectangle being
|
| + mapped is inside fixed-position content.
|
| +
|
| + This brings back some of the changes from r89754.
|
| +
|
| + No behavior changes, so no tests.
|
| +
|
| + * rendering/RenderBox.cpp:
|
| + (WebCore::RenderBox::mapLocalToContainer):
|
| + * rendering/RenderBox.h:
|
| + * rendering/RenderInline.cpp:
|
| + (WebCore::RenderInline::mapLocalToContainer):
|
| + * rendering/RenderInline.h:
|
| + * rendering/RenderObject.cpp:
|
| + (WebCore::RenderObject::mapLocalToContainer):
|
| + (WebCore::RenderObject::localToContainerQuad):
|
| + * rendering/RenderObject.h:
|
| + (WebCore::RenderObject::localToAbsoluteQuad):
|
| + * rendering/RenderView.cpp:
|
| + (WebCore::RenderView::mapLocalToContainer):
|
| + * rendering/RenderView.h:
|
| + * rendering/svg/RenderSVGForeignObject.cpp:
|
| + (WebCore::RenderSVGForeignObject::mapLocalToContainer):
|
| + * rendering/svg/RenderSVGForeignObject.h:
|
| + * rendering/svg/RenderSVGInline.cpp:
|
| + (WebCore::RenderSVGInline::mapLocalToContainer):
|
| + * rendering/svg/RenderSVGInline.h:
|
| + * rendering/svg/RenderSVGModelObject.cpp:
|
| + (WebCore::RenderSVGModelObject::mapLocalToContainer):
|
| + * rendering/svg/RenderSVGModelObject.h:
|
| + * rendering/svg/RenderSVGRoot.cpp:
|
| + (WebCore::RenderSVGRoot::mapLocalToContainer):
|
| + * rendering/svg/RenderSVGRoot.h:
|
| + * rendering/svg/RenderSVGText.cpp:
|
| + (WebCore::RenderSVGText::mapLocalToContainer):
|
| + * rendering/svg/RenderSVGText.h:
|
| + * rendering/svg/SVGRenderSupport.cpp:
|
| + (WebCore::SVGRenderSupport::mapLocalToContainer):
|
| + * rendering/svg/SVGRenderSupport.h:
|
| +
|
| +2011-08-04 Mark Pilgrim <pilgrim@chromium.org>
|
| +
|
| + Remove LegacyDefaultOptionalArguments flag from DOM-related files except Document.idl
|
| + https://bugs.webkit.org/show_bug.cgi?id=65715
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, all existing tests pass.
|
| +
|
| + * dom/CharacterData.idl:
|
| + * dom/ClientRectList.idl:
|
| + * dom/Clipboard.idl:
|
| + * dom/DOMImplementation.idl:
|
| + * dom/DOMStringList.idl:
|
| + * dom/DataTransferItem.idl:
|
| + * dom/DataTransferItems.idl:
|
| + * dom/DocumentFragment.idl:
|
| + * dom/Element.idl:
|
| + * dom/EventListener.idl:
|
| + * dom/EventTarget.idl:
|
| + * dom/MediaStream.idl:
|
| + * dom/MediaStreamList.idl:
|
| + * dom/MediaStreamTrackList.idl:
|
| + * dom/MessagePort.idl:
|
| + * dom/NamedNodeMap.idl:
|
| + * dom/Node.idl:
|
| + * dom/NodeFilter.idl:
|
| + * dom/NodeList.idl:
|
| + * dom/Range.idl:
|
| + * dom/RequestAnimationFrameCallback.idl:
|
| + * dom/StringCallback.idl:
|
| + * dom/Text.idl:
|
| + * dom/TouchList.idl:
|
| +
|
| +2011-08-04 Mark Rowe <mrowe@apple.com>
|
| +
|
| + Future-proof Xcode configuration settings.
|
| +
|
| + * Configurations/Base.xcconfig:
|
| + * Configurations/DebugRelease.xcconfig:
|
| + * Configurations/Version.xcconfig:
|
| + * Configurations/WebCore.xcconfig:
|
| +
|
| +2011-08-04 Van Lam <vanlam@google.com>
|
| +
|
| + A few purely stylistic modifications to visible_units.cpp
|
| + https://bugs.webkit.org/show_bug.cgi?id=65723
|
| +
|
| + Reviewed by Ryosuke Niwa.
|
| +
|
| + Renamed greatestValueUnder to greatestOffsetUnder, positionIsInsideBox
|
| + to positionIsInBoxButNotOnBoundary (to avoid confusion with
|
| + positionIsInBox, which is just a getInlineBoxAndOffset check).
|
| + Removed use of invalidOffset as an error value in greatestOffsetUnder
|
| + and smallestOffsetAbove since semantically it should only be used to
|
| + check if it makes sense to compare offsets in a single box.
|
| +
|
| + * editing/visible_units.cpp:
|
| + (WebCore::greatestOffsetUnder):
|
| + (WebCore::smallestOffsetAbove):
|
| + (WebCore::positionIsInBoxButNotOnBoundary):
|
| + (WebCore::leftWordPositionAcrossBoundary):
|
| + (WebCore::rightWordPositionAcrossBoundary):
|
| +
|
| +2011-08-04 James Robinson <jamesr@chromium.org>
|
| +
|
| + [chromium] Implement a global resource limit for DrawingBuffer to limit the amount of GPU memory used by 2d canvas backing stores
|
| + https://bugs.webkit.org/show_bug.cgi?id=65655
|
| +
|
| + Reviewed by Kenneth Russell.
|
| +
|
| + * platform/graphics/gpu/DrawingBuffer.cpp:
|
| + (WebCore::DrawingBuffer::setResourceLimit):
|
| + (WebCore::DrawingBuffer::clear):
|
| + (WebCore::DrawingBuffer::reset):
|
| + * platform/graphics/gpu/DrawingBuffer.h:
|
| +
|
| +2011-08-04 Kenichi Ishibashi <bashi@chromium.org>
|
| +
|
| + [Chromium] Reduce memory consumption of HarfbuzzFace
|
| + https://bugs.webkit.org/show_bug.cgi?id=65688
|
| +
|
| + Adds a cache for HB_FaceRec to eliminate multiple allocation for the same font.
|
| +
|
| + Reviewed by Tony Chang.
|
| +
|
| + No new tests since there is no behavior change.
|
| +
|
| + * platform/graphics/chromium/HarfbuzzSkia.cpp:
|
| + (WebCore::getCachedHarfbuzzFace): Added.
|
| + (WebCore::releaseCachedHarfbuzzFace): Ditto.
|
| + (WebCore::HarfbuzzFace::HarfbuzzFace): Calls getCachedHarfbuzzFace() instead of allocating HB_FaceRec.
|
| + (WebCore::HarfbuzzFace::~HarfbuzzFace): Calls releaseCachedHarfbuzzFace() to release the onership of the cache.
|
| + * platform/graphics/chromium/HarfbuzzSkia.h:
|
| +
|
| +2011-08-04 Sheriff Bot <webkit.review.bot@gmail.com>
|
| +
|
| + Unreviewed, rolling out r92415.
|
| + http://trac.webkit.org/changeset/92415
|
| + https://bugs.webkit.org/show_bug.cgi?id=65728
|
| +
|
| + Causes many DEBUG crashes (Requested by abarth on #webkit).
|
| +
|
| + * platform/network/chromium/ResourceRequest.h:
|
| + * xml/XMLHttpRequest.cpp:
|
| + (WebCore::XMLHttpRequest::createRequest):
|
| +
|
| +2011-08-04 Tim Horton <timothy_horton@apple.com>
|
| +
|
| + Reviewed by Nikolas Zimmerman.
|
| +
|
| + Errors encountered within SVG documents should be reported to the console
|
| + https://bugs.webkit.org/show_bug.cgi?id=62599
|
| + <rdar://problem/9727074>
|
| +
|
| + Make use of SVGLength::construct when parsing Length attributes; we will
|
| + now propagate errors which occur while parsing SVGLength attributes to the
|
| + Web Inspector console.
|
| +
|
| + * svg/SVGCircleElement.cpp:
|
| + (WebCore::SVGCircleElement::parseMappedAttribute):
|
| + * svg/SVGCursorElement.cpp:
|
| + (WebCore::SVGCursorElement::parseMappedAttribute):
|
| + * svg/SVGEllipseElement.cpp:
|
| + (WebCore::SVGEllipseElement::parseMappedAttribute):
|
| + * svg/SVGFilterElement.cpp:
|
| + (WebCore::SVGFilterElement::parseMappedAttribute):
|
| + * svg/SVGFilterPrimitiveStandardAttributes.cpp:
|
| + (WebCore::SVGFilterPrimitiveStandardAttributes::parseMappedAttribute):
|
| + * svg/SVGForeignObjectElement.cpp:
|
| + (WebCore::SVGForeignObjectElement::parseMappedAttribute):
|
| + * svg/SVGImageElement.cpp:
|
| + (WebCore::SVGImageElement::parseMappedAttribute):
|
| + * svg/SVGLineElement.cpp:
|
| + (WebCore::SVGLineElement::parseMappedAttribute):
|
| + * svg/SVGLinearGradientElement.cpp:
|
| + (WebCore::SVGLinearGradientElement::parseMappedAttribute):
|
| + * svg/SVGMarkerElement.cpp:
|
| + (WebCore::SVGMarkerElement::parseMappedAttribute):
|
| + * svg/SVGMaskElement.cpp:
|
| + (WebCore::SVGMaskElement::parseMappedAttribute):
|
| + * svg/SVGPatternElement.cpp:
|
| + (WebCore::SVGPatternElement::parseMappedAttribute):
|
| + * svg/SVGRadialGradientElement.cpp:
|
| + (WebCore::SVGRadialGradientElement::parseMappedAttribute):
|
| + * svg/SVGRectElement.cpp:
|
| + (WebCore::SVGRectElement::parseMappedAttribute):
|
| + * svg/SVGSVGElement.cpp:
|
| + (WebCore::SVGSVGElement::parseMappedAttribute):
|
| + * svg/SVGTextContentElement.cpp:
|
| + (WebCore::SVGTextContentElement::parseMappedAttribute):
|
| + * svg/SVGTextPathElement.cpp:
|
| + (WebCore::SVGTextPathElement::parseMappedAttribute):
|
| + * svg/SVGUseElement.cpp:
|
| + (WebCore::SVGUseElement::parseMappedAttribute):
|
| +
|
| +2011-08-04 Sheriff Bot <webkit.review.bot@gmail.com>
|
| +
|
| + Unreviewed, rolling out r92419.
|
| + http://trac.webkit.org/changeset/92419
|
| + https://bugs.webkit.org/show_bug.cgi?id=65726
|
| +
|
| + "committed partially to branch" (Requested by thorton on
|
| + #webkit).
|
| +
|
| + * svg/SVGCircleElement.cpp:
|
| + (WebCore::SVGCircleElement::parseMappedAttribute):
|
| + * svg/SVGCursorElement.cpp:
|
| + (WebCore::SVGCursorElement::parseMappedAttribute):
|
| + * svg/SVGEllipseElement.cpp:
|
| + (WebCore::SVGEllipseElement::parseMappedAttribute):
|
| + * svg/SVGFilterElement.cpp:
|
| + (WebCore::SVGFilterElement::parseMappedAttribute):
|
| + * svg/SVGFilterPrimitiveStandardAttributes.cpp:
|
| + (WebCore::SVGFilterPrimitiveStandardAttributes::parseMappedAttribute):
|
| + * svg/SVGForeignObjectElement.cpp:
|
| + (WebCore::SVGForeignObjectElement::parseMappedAttribute):
|
| + * svg/SVGImageElement.cpp:
|
| + (WebCore::SVGImageElement::parseMappedAttribute):
|
| + * svg/SVGLineElement.cpp:
|
| + (WebCore::SVGLineElement::parseMappedAttribute):
|
| + * svg/SVGLinearGradientElement.cpp:
|
| + (WebCore::SVGLinearGradientElement::parseMappedAttribute):
|
| + * svg/SVGMarkerElement.cpp:
|
| + (WebCore::SVGMarkerElement::parseMappedAttribute):
|
| + * svg/SVGMaskElement.cpp:
|
| + (WebCore::SVGMaskElement::parseMappedAttribute):
|
| + * svg/SVGPatternElement.cpp:
|
| + (WebCore::SVGPatternElement::parseMappedAttribute):
|
| + * svg/SVGRadialGradientElement.cpp:
|
| + (WebCore::SVGRadialGradientElement::parseMappedAttribute):
|
| + * svg/SVGRectElement.cpp:
|
| + (WebCore::SVGRectElement::parseMappedAttribute):
|
| + * svg/SVGSVGElement.cpp:
|
| + (WebCore::SVGSVGElement::parseMappedAttribute):
|
| + * svg/SVGTextContentElement.cpp:
|
| + (WebCore::SVGTextContentElement::parseMappedAttribute):
|
| + * svg/SVGTextPathElement.cpp:
|
| + (WebCore::SVGTextPathElement::parseMappedAttribute):
|
| + * svg/SVGUseElement.cpp:
|
| + (WebCore::SVGUseElement::parseMappedAttribute):
|
| +
|
| +2011-08-04 Fady Samuel <fsamuel@chromium.org>
|
| +
|
| + Background Does Not Scale Correctly with Page
|
| + https://bugs.webkit.org/show_bug.cgi?id=65690
|
| +
|
| + Reviewed by Simon Fraser.
|
| +
|
| + Test: fast/repaint/background-scaling.html
|
| +
|
| + * rendering/RenderBox.cpp:
|
| + (WebCore::RenderBox::paintRootBoxFillLayers):
|
| + * rendering/RenderView.cpp:
|
| + (WebCore::RenderView::unscaledDocumentRect):
|
| + (WebCore::RenderView::documentRect):
|
| + * rendering/RenderView.h:
|
| +
|
| +2011-08-04 Jochen Eisinger <jochen@chromium.org>
|
| +
|
| + Introduce a new ResourceRequest::TargetType for XHRs
|
| + https://bugs.webkit.org/show_bug.cgi?id=65544
|
| +
|
| + Reviewed by Darin Fisher.
|
| +
|
| + * platform/network/chromium/ResourceRequest.h:
|
| + * xml/XMLHttpRequest.cpp:
|
| + (WebCore::XMLHttpRequest::createRequest):
|
| +
|
| +2011-08-04 Sergey Glazunov <serg.glazunov@gmail.com>
|
| +
|
| + Fix integer overflow in custom bindings for WebGLRenderingContext
|
| + https://bugs.webkit.org/show_bug.cgi?id=65646
|
| +
|
| + Reviewed by Kenneth Russell.
|
| +
|
| + Test: fast/canvas/webgl/uniform-array-length-overflow.html
|
| +
|
| + * bindings/js/JSWebGLRenderingContextCustom.cpp:
|
| + (WebCore::toVector): Don't crash if allocation fails.
|
| + * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
|
| + (WebCore::jsArrayToFloatArray):
|
| + (WebCore::jsArrayToIntArray):
|
| +
|
| +2011-08-04 Pratik Solanki <psolanki@apple.com>
|
| +
|
| + Implement CERTIFICATE_CREDENTIALS_SUPPORTED for CFNetwork
|
| + https://bugs.webkit.org/show_bug.cgi?id=65704
|
| + <rdar://problem/9877734>
|
| +
|
| + Reviewed by Oliver Hunt.
|
| +
|
| + Implement support for client side certificate authentication in the CFNetwork based loader.
|
| +
|
| + * platform/network/cf/AuthenticationCF.cpp:
|
| + (WebCore::createCF):
|
| + (WebCore::core): Also fix leak of password string.
|
| +
|
| +2011-08-04 Chris Rogers <crogers@google.com>
|
| +
|
| + Make sure that AudioArray is 16-byte aligned
|
| + https://bugs.webkit.org/show_bug.cgi?id=65651
|
| +
|
| + Reviewed by Kenneth Russell.
|
| +
|
| + No new tests - this does not change JavaScript API.
|
| +
|
| + * platform/audio/AudioArray.h:
|
| + (WebCore::AudioArray::AudioArray):
|
| + (WebCore::AudioArray::~AudioArray):
|
| + (WebCore::AudioArray::allocate):
|
| + (WebCore::AudioArray::data):
|
| + (WebCore::AudioArray::size):
|
| + (WebCore::AudioArray::at):
|
| + (WebCore::AudioArray::operator[]):
|
| + (WebCore::AudioArray::alignedAddress):
|
| + * platform/audio/Biquad.cpp:
|
| + (WebCore::Biquad::Biquad):
|
| + * platform/audio/ReverbConvolverStage.cpp:
|
| + (WebCore::ReverbConvolverStage::ReverbConvolverStage):
|
| + * webaudio/DelayDSPKernel.cpp:
|
| + (WebCore::DelayDSPKernel::DelayDSPKernel):
|
| + * webaudio/RealtimeAnalyser.cpp:
|
| + (WebCore::RealtimeAnalyser::setFftSize):
|
| +
|
| +2011-08-04 Brady Eidson <beidson@apple.com>
|
| +
|
| + <rdar://problem/9882581>, <rdar://problem/9868015>, and https://bugs.webkit.org/show_bug.cgi?id=65712
|
| + REGRESSION (91931) - Two LocalStorage threads started, thread unsafe operations can cause crash or other problems later.
|
| +
|
| + Reviewed by Darin Adler.
|
| +
|
| + * storage/StorageTracker.cpp:
|
| + (WebCore::StorageTracker::internalInitialize): Set the "needs initialization" flag before doing a
|
| + whole bunch of stuff that might need to check it.
|
| +
|
| +2011-08-04 Jeff Miller <jeffm@apple.com>
|
| +
|
| + Adopt AVCF media back end on Windows
|
| + https://bugs.webkit.org/show_bug.cgi?id=65400
|
| + <rdar://problem/9894105>
|
| +
|
| + First cut at implementation in MediaPlayerPrivateAVFoundationCF.cpp/.h, based on
|
| + work by Eric Carlson. Note that use of AVFoundation is determined at runtime, and
|
| + defaults to off.
|
| +
|
| + Reviewed by Darin Adler.
|
| +
|
| + No new tests, uses existing media tests.
|
| +
|
| + * config.h: Turn on WTF_USE_AVFOUNDATION on Windows if AVFoundationCF is available.
|
| +
|
| + * platform/graphics/MediaPlayer.cpp:
|
| + (WebCore::installedMediaEngines): Register MediaPlayerPrivateAVFoundationCF on Windows.
|
| + * platform/graphics/MediaPlayer.h: Add support for an AVCFPlayer.
|
| +
|
| + * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
|
| + (WebCore::MediaPlayerPrivateAVFoundation::setPreload): Workaround an AVCF limitation that prevents an AVCFPlayer from being created without an AVCFItem.
|
| + (WebCore::MediaPlayerPrivateAVFoundation::dispatchNotification): Added support for ContentsNeedsDisplay notification.
|
| +
|
| + * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
|
| + (WebCore::MediaPlayerPrivateAVFoundation::contentsNeedsDisplay): Added support for ContentsNeedsDisplay notification.
|
| +
|
| + * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.cpp: Added implementation.
|
| + (WebCore::AVFWrapper::caVideoLayer):
|
| + (WebCore::AVFWrapper::videoLayerWrapper):
|
| + (WebCore::AVFWrapper::videoLayer):
|
| + (WebCore::AVFWrapper::avPlayer):
|
| + (WebCore::AVFWrapper::avAsset):
|
| + (WebCore::AVFWrapper::avPlayerItem):
|
| + (WebCore::AVFWrapper::timeObserver):
|
| + (WebCore::AVFWrapper::imageGenerator):
|
| + (WebCore::AVFWrapper::dispatchQueue):
|
| + (WebCore::LayerClient::LayerClient):
|
| + (WebCore::LayerClient::~LayerClient):
|
| + (WebCore::LayerClient::platformCALayerRespondsToLayoutChanges):
|
| + (WebCore::LayerClient::platformCALayerAnimationStarted):
|
| + (WebCore::LayerClient::platformCALayerContentsOrientation):
|
| + (WebCore::LayerClient::platformCALayerPaintContents):
|
| + (WebCore::LayerClient::platformCALayerShowDebugBorders):
|
| + (WebCore::LayerClient::platformCALayerShowRepaintCounter):
|
| + (WebCore::LayerClient::platformCALayerIncrementRepaintCount):
|
| + (WebCore::LayerClient::platformCALayerContentsOpaque):
|
| + (WebCore::LayerClient::platformCALayerDrawsContent):
|
| + (WebCore::LayerClient::platformCALayerLayerDidDisplay):
|
| + (WebCore::boolString):
|
| + (WebCore::metadataKeyNames):
|
| + (WebCore::CMTimeRangeStartKey):
|
| + (WebCore::CMTimeRangeDurationKey):
|
| + (WebCore::CACFContextNeedsFlushNotification):
|
| + (WebCore::videoLayer):
|
| + (WebCore::avPlayer):
|
| + (WebCore::avAsset):
|
| + (WebCore::avPlayerItem):
|
| + (WebCore::imageGenerator):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::create):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::registerMediaEngine):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::MediaPlayerPrivateAVFoundationCF):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::~MediaPlayerPrivateAVFoundationCF):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::cancelLoad):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::hasLayerRenderer):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::hasContextRenderer):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::createContextVideoRenderer):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::destroyContextVideoRenderer):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::createVideoLayer):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::destroyVideoLayer):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::hasAvailableVideoFrame):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::createAVPlayer):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::createAVPlayerItem):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::createAVAssetForURL):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::checkPlayability):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::beginLoadingMetadata):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::playerItemStatus):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::platformMedia):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::platformLayer):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::platformSetVisible):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::platformPlay):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::platformPause):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::updateRate):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::platformDuration):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::currentTime):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::seekToTime):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::setVolume):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::setClosedCaptionsVisible):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::rate):
|
| + (WebCore::timeRangeIsValidAndNotEmpty):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::platformBufferedTimeRanges):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::platformMaxTimeSeekable):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::platformMaxTimeLoaded):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::totalBytes):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::assetStatus):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::paintCurrentFrameInContext):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::paint):
|
| + (WebCore::mimeTypeCache):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::getSupportedTypes):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::supportsType):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::isAvailable):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::mediaTimeForTimeValue):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::tracksChanged):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::sizeChanged):
|
| + (WebCore::MediaPlayerPrivateAVFoundationCF::contentsNeedsDisplay):
|
| + (WebCore::AVFWrapper::AVFWrapper):
|
| + (WebCore::AVFWrapper::~AVFWrapper):
|
| + (WebCore::AVFWrapper::scheduleDisconnectAndDelete):
|
| + (WebCore::AVFWrapper::disconnectAndDeleteAVFWrapper):
|
| + (WebCore::AVFWrapper::deleteAVFWrapper):
|
| + (WebCore::AVFWrapper::createAssetForURL):
|
| + (WebCore::AVFWrapper::createPlayer):
|
| + (WebCore::AVFWrapper::createPlayerItem):
|
| + (WebCore::AVFWrapper::periodicTimeObserverCallback):
|
| + (WebCore::AVFWrapper::notificationCallback):
|
| + (WebCore::AVFWrapper::loadPlayableCompletionCallback):
|
| + (WebCore::AVFWrapper::checkPlayability):
|
| + (WebCore::AVFWrapper::loadMetadataCompletionCallback):
|
| + (WebCore::AVFWrapper::beginLoadingMetadata):
|
| + (WebCore::AVFWrapper::seekCompletedCallback):
|
| + (WebCore::AVFWrapper::seekToTime):
|
| + (WebCore::AVFWrapper::setAsset):
|
| + (WebCore::AVFWrapper::platformLayer):
|
| + (WebCore::AVFWrapper::createAVCFVideoLayer):
|
| + (WebCore::AVFWrapper::destroyVideoLayer):
|
| + (WebCore::AVFWrapper::setVideoLayerNeedsCommit):
|
| + (WebCore::AVFWrapper::setVideoLayerHidden):
|
| + (WebCore::AVFWrapper::createImageGenerator):
|
| + (WebCore::AVFWrapper::destroyImageGenerator):
|
| + (WebCore::AVFWrapper::createImageForTimeInRect):
|
| + (WebCore::LayerClient::platformCALayerLayoutSublayersOfLayer):
|
| +
|
| + * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationCF.h: Added implementation.
|
| +
|
| +2011-08-04 Jochen Eisinger <jochen@chromium.org>
|
| +
|
| + Get rid of ResourceRequestBase::m_targetType. Move it to chromium's ResourceRequest.
|
| + https://bugs.webkit.org/show_bug.cgi?id=48483
|
| +
|
| + Reviewed by Alexey Proskuryakov.
|
| +
|
| + * loader/PingLoader.cpp:
|
| + (WebCore::PingLoader::loadImage):
|
| + (WebCore::PingLoader::sendPing):
|
| + (WebCore::PingLoader::reportContentSecurityPolicyViolation):
|
| + * loader/cache/CachedResourceRequest.cpp:
|
| + (WebCore::CachedResourceRequest::load):
|
| + * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
|
| + (webKitWebSrcStart):
|
| + * platform/network/ResourceRequestBase.cpp:
|
| + (WebCore::ResourceRequestBase::adopt):
|
| + (WebCore::ResourceRequestBase::copyData):
|
| + * platform/network/ResourceRequestBase.h:
|
| + (WebCore::ResourceRequestBase::ResourceRequestBase):
|
| + * platform/network/chromium/ResourceRequest.cpp:
|
| + (WebCore::ResourceRequest::doPlatformCopyData):
|
| + (WebCore::ResourceRequest::doPlatformAdopt):
|
| + * platform/network/chromium/ResourceRequest.h:
|
| + (WebCore::ResourceRequest::ResourceRequest):
|
| + (WebCore::ResourceRequest::targetType):
|
| + (WebCore::ResourceRequest::setTargetType):
|
| + * workers/DefaultSharedWorkerRepository.cpp:
|
| + (WebCore::SharedWorkerScriptLoader::load):
|
| + * workers/Worker.cpp:
|
| + (WebCore::Worker::create):
|
| + * workers/WorkerContext.cpp:
|
| + (WebCore::WorkerContext::importScripts):
|
| + * workers/WorkerScriptLoader.cpp:
|
| + (WebCore::WorkerScriptLoader::WorkerScriptLoader):
|
| + (WebCore::WorkerScriptLoader::createResourceRequest):
|
| + * workers/WorkerScriptLoader.h:
|
| + (WebCore::WorkerScriptLoader::create):
|
| + (WebCore::WorkerScriptLoader::setTargetType):
|
| +
|
| +2011-08-04 Jeff Miller <jeffm@apple.com>
|
| +
|
| + Fix WinCE build after r92308.
|
| +
|
| + * config.h: Don't try to include WebCoreHeaderDetection.h for WinCE.
|
| +
|
| +2011-08-04 Darin Fisher <darin@chromium.org>
|
| +
|
| + webkitRequestAnimationFrame's element argument needs to be marked optional
|
| + https://bugs.webkit.org/show_bug.cgi?id=65698
|
| +
|
| + Reviewed by James Robinson.
|
| +
|
| + * page/DOMWindow.idl:
|
| +
|
| +2011-08-04 Adam Roben <aroben@apple.com>
|
| +
|
| + Delete some unused code from platform/graphics/win
|
| +
|
| + MediaPlayerPrivateQuickTimeWin has been unused since r72117, and the GraphicsLayer-related
|
| + classes have been unused since r75262.
|
| +
|
| + Fixes <http://webkit.org/b/65689> platform/graphics/win has a bunch of unused code
|
| +
|
| + Reviewed by Eric Carlson.
|
| +
|
| + * WebCore.gypi:
|
| + * WebCore.vcproj/WebCore.vcproj:
|
| + Removed now-deleted files.
|
| +
|
| + * platform/graphics/win/GraphicsLayerCACF.cpp: Removed.
|
| + * platform/graphics/win/GraphicsLayerCACF.h: Removed.
|
| + * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp: Removed.
|
| + * platform/graphics/win/MediaPlayerPrivateQuickTimeWin.h: Removed.
|
| + * platform/graphics/win/WebLayer.cpp: Removed.
|
| + * platform/graphics/win/WebLayer.h: Removed.
|
| + * platform/graphics/win/WebTiledLayer.cpp: Removed.
|
| + * platform/graphics/win/WebTiledLayer.h: Removed.
|
| +
|
| +2011-08-03 Adam Roben <aroben@apple.com>
|
| +
|
| + Detect and handle overflow in PlatformCALayerWinInternal::constrainedSize
|
| +
|
| + Google Maps sometimes requests very large (i.e., 2^50 pixels or greater) layers when
|
| + zooming. PlatformCALayerWinInternal has code to limit tiled layers to 2^27 pixels, but it
|
| + was not correctly handling overflow. In some cases, this would lead to creating a tiled
|
| + layer with 0 tiles, which was the cause of this crash.
|
| +
|
| + Fixes <http://webkit.org/b/65637> <rdar://problem/9784849> Crash beneath
|
| + PlatformCALayerWinInternal::updateTiles when zooming on Google Maps
|
| +
|
| + Reviewed by Sam Weinig.
|
| +
|
| + Test: compositing/tiling/crash-huge-layer.html
|
| +
|
| + * platform/graphics/ca/win/PlatformCALayerWinInternal.cpp:
|
| + (PlatformCALayerWinInternal::constrainedSize): Check for overflow before seeing if the
|
| + number of required tiles is larger than the maximum number of allowed tiles.
|
| + (PlatformCALayerWinInternal::updateTiles): Added an assertion to catch cases where we have a
|
| + non-empty tiled layer that contains 0 tiles, which would cause the crash in this bug report.
|
| +
|
| +2011-08-04 Stephen White <senorblanco@chromium.org>
|
| +
|
| + Set graphics context current before canvas.toDataURL().
|
| + https://bugs.webkit.org/show_bug.cgi?id=65700
|
| +
|
| + Reviewed by James Robinson.
|
| +
|
| + No new tests, unfortunately. The test infrastucture doesn't seem
|
| + to be conducive to writing multiple-context tests.
|
| +
|
| + * platform/graphics/skia/ImageBufferSkia.cpp:
|
| + (WebCore::ImageBuffer::toDataURL):
|
| +
|
| +2011-08-01 Brian Weinstein <bweinstein@apple.com>
|
| +
|
| + WebKit2: Web Inspector always starts in undocked mode
|
| + https://bugs.webkit.org/show_bug.cgi?id=65493
|
| + <rdar://problem/9353114>
|
| +
|
| + Reviewed by Adam Roben.
|
| +
|
| + Expose some methods on InspectorFrontendClient through the InspectorController so WebKit2
|
| + can request the inspector be docked, or ask whether or not it can be docked.
|
| +
|
| + * WebCore.exp.in: Export needed methods.
|
| + * inspector/InspectorController.cpp:
|
| + (WebCore::InspectorController::requestAttachWindow): Call through to InspectorFrontendClient.
|
| + (WebCore::InspectorController::canAttachWindow): Ditto.
|
| + * inspector/InspectorController.h:
|
| + * inspector/InspectorFrontendClient.h:
|
| + * inspector/InspectorFrontendClientLocal.h:
|
| +
|
| +2011-08-04 Luke Macpherson <macpherson@chromium.org>
|
| +
|
| + Support cast between CSSPrimitiveValue and EborderFit, use in CSSStyleSelector.
|
| + https://bugs.webkit.org/show_bug.cgi?id=65665
|
| +
|
| + Reviewed by Simon Fraser.
|
| +
|
| + No new tests / refactoring only.
|
| +
|
| + * css/CSSPrimitiveValueMappings.h:
|
| + (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
|
| + Support cast from EBorderFit.
|
| + (WebCore::CSSPrimitiveValue::operator EBorderFit):
|
| + Support cast to EBorderFit.
|
| + * css/CSSStyleSelector.cpp:
|
| + (WebCore::CSSStyleSelector::applyProperty):
|
| + Use new cast to allow use of appropriate macro.
|
| +
|
| +2011-08-04 Pavel Feldman <pfeldman@google.com>
|
| +
|
| + Web Inspector: rename sendResultByValue to returnByValue in Runtime agent.
|
| + https://bugs.webkit.org/show_bug.cgi?id=65687
|
| +
|
| + Reviewed by Yury Semikhatsky.
|
| +
|
| + * inspector/InjectedScript.cpp:
|
| + (WebCore::InjectedScript::evaluate):
|
| + (WebCore::InjectedScript::callFunctionOn):
|
| + * inspector/InjectedScript.h:
|
| + * inspector/InjectedScriptSource.js:
|
| + * inspector/Inspector.json:
|
| + * inspector/InspectorRuntimeAgent.cpp:
|
| + (WebCore::InspectorRuntimeAgent::evaluate):
|
| + (WebCore::InspectorRuntimeAgent::callFunctionOn):
|
| + * inspector/InspectorRuntimeAgent.h:
|
| +
|
| +2011-08-04 Matt Falkenhagen <falken@chromium.org>
|
| +
|
| + Use -webkit-locale for font selection.
|
| + https://bugs.webkit.org/show_bug.cgi?id=10874
|
| +
|
| + Reviewed by Dan Bernstein.
|
| +
|
| + Infer a script from -webkit-locale to use to choose a font for generic
|
| + font families and the default unstyled font. The font is retrieved
|
| + from per-script font settings (see bug 20797). Since these settings
|
| + have not changed there should be no visible effect yet.
|
| +
|
| + * CMakeLists.txt:
|
| + * GNUmakefile.list.am:
|
| + * WebCore.gyp/WebCore.gyp:
|
| + * WebCore.gypi:
|
| + * WebCore.pro:
|
| + * WebCore.vcproj/WebCore.vcproj:
|
| + * WebCore.xcodeproj/project.pbxproj:
|
| + * css/CSSFontSelector.cpp: Use script when getting font from Settings
|
| + (WebCore::fontDataForGenericFamily):
|
| + (WebCore::CSSFontSelector::getFontData):
|
| + * css/CSSPropertyNames.in: Increase priority of -webkit-locale since it affects font
|
| + * css/CSSStyleSelector.cpp:
|
| + (WebCore::CSSStyleSelector::styleForDocument):
|
| + (WebCore::CSSStyleSelector::applyDeclarations):
|
| + (WebCore::CSSStyleSelector::applyProperty): Set script in font based on -webkit-locale
|
| + * page/Settings.cpp:
|
| + (WebCore::getGenericFontFamilyForScript): Fallback to USCRIPT_COMMON
|
| + * platform/graphics/FontDescription.h: Add m_script
|
| + (WebCore::FontDescription::FontDescription):
|
| + (WebCore::FontDescription::script):
|
| + (WebCore::FontDescription::setScript):
|
| + (WebCore::FontDescription::operator==):
|
| + * platform/text/LocaleToScriptMapping.h: Added.
|
| + * platform/text/LocaleToScriptMappingDefault.cpp: Added.
|
| + (WebCore::localeToScriptCodeForFontSelection):
|
| + (WebCore::LocaleScript::if):
|
| + (WebCore::LocaleScript::while):
|
| + * platform/text/LocaleToScriptMappingICU.cpp: Added.
|
| + (WebCore::scriptCodeForFontSelection):
|
| + (WebCore::localeToScriptCodeForFontSelection):
|
| +
|
| +2011-08-04 Vsevolod Vlasov <vsevik@chromium.org>
|
| +
|
| + Web Inspector: Pretty print JSONP in network panel preview tab.
|
| + https://bugs.webkit.org/show_bug.cgi?id=65559
|
| +
|
| + Reviewed by Pavel Feldman.
|
| +
|
| + Test: http/tests/inspector/network/network-preview-json.html
|
| +
|
| + * inspector/front-end/ResourceJSONView.js:
|
| + (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.parseJSONP):
|
| + (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.prototype._initialize):
|
| + (WebInspector.ResourceJSONView.parseJSON.WebInspector.ParsedJSON):
|
| + * inspector/front-end/ResourcePreviewView.js:
|
| + (WebInspector.ResourcePreviewView.prototype._createPreviewView):
|
| +
|
| +2011-08-04 Pavel Feldman <pfeldman@google.com>
|
| +
|
| + Web Inspector: replace isRegex with urlRegex in setBreakpointByUrl
|
| + https://bugs.webkit.org/show_bug.cgi?id=65684
|
| +
|
| + Reviewed by Yury Semikhatsky.
|
| +
|
| + * inspector/Inspector.json:
|
| + * inspector/InspectorDebuggerAgent.cpp:
|
| + (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
|
| + * inspector/InspectorDebuggerAgent.h:
|
| + * inspector/front-end/DebuggerModel.js:
|
| + (WebInspector.DebuggerModel.prototype.setBreakpoint):
|
| +
|
| +2011-08-03 Philippe Normand <pnormand@igalia.com>
|
| +
|
| + [GTK] fullscreen/video-controls-override.html fails
|
| + https://bugs.webkit.org/show_bug.cgi?id=65618
|
| +
|
| + Reviewed by Martin Robinson.
|
| +
|
| + Implement extraFullScreenStyleSheet() and provide the QuickTime
|
| + stylesheet for now, later we might want our own stylesheet.
|
| +
|
| + * GNUmakefile.am:
|
| + * platform/gtk/RenderThemeGtk.cpp:
|
| + (WebCore::RenderThemeGtk::extraFullScreenStyleSheet):
|
| + * platform/gtk/RenderThemeGtk.h:
|
| +
|
| +2011-08-04 Pavel Feldman <pfeldman@google.com>
|
| +
|
| + Web Inspector: Rename sourceId -> scriptId in the protocol and the source code.
|
| + https://bugs.webkit.org/show_bug.cgi?id=65682
|
| +
|
| + Reviewed by Yury Semikhatsky.
|
| +
|
| + * inspector/InjectedScriptSource.js:
|
| + ():
|
| + * inspector/Inspector.json:
|
| + * inspector/InspectorConsoleAgent.cpp:
|
| + (WebCore::InspectorConsoleAgent::addMessageToConsole):
|
| + * inspector/InspectorConsoleAgent.h:
|
| + * inspector/InspectorConsoleInstrumentation.h:
|
| + (WebCore::InspectorInstrumentation::addMessageToConsole):
|
| + * inspector/InspectorDOMAgent.cpp:
|
| + (WebCore::InspectorDOMAgent::buildObjectForEventListener):
|
| + * inspector/InspectorDebuggerAgent.cpp:
|
| + (WebCore::parseLocation):
|
| + (WebCore::InspectorDebuggerAgent::setBreakpoint):
|
| + (WebCore::InspectorDebuggerAgent::continueToLocation):
|
| + (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
|
| + (WebCore::InspectorDebuggerAgent::setScriptSource):
|
| + (WebCore::InspectorDebuggerAgent::getScriptSource):
|
| + (WebCore::InspectorDebuggerAgent::didParseSource):
|
| + * inspector/InspectorDebuggerAgent.h:
|
| + * inspector/InspectorInstrumentation.cpp:
|
| + (WebCore::InspectorInstrumentation::addMessageToConsoleImpl):
|
| + * inspector/InspectorInstrumentation.h:
|
| + * inspector/ScriptDebugListener.h:
|
| + * inspector/front-end/DebuggerModel.js:
|
| + (WebInspector.DebuggerModel.prototype.scriptForSourceID):
|
| + (WebInspector.DebuggerModel.prototype.queryScripts):
|
| + (WebInspector.DebuggerModel.prototype.setScriptSource):
|
| + (WebInspector.DebuggerModel.prototype._didEditScriptSource):
|
| + (WebInspector.DebuggerModel.prototype._parsedScriptSource):
|
| + (WebInspector.DebuggerDispatcher.prototype.scriptParsed):
|
| + (WebInspector.DebuggerDispatcher.prototype.breakpointResolved):
|
| + * inspector/front-end/DebuggerPresentationModel.js:
|
| + (WebInspector.DebuggerPresentationModel.prototype.registerAnchor):
|
| + (WebInspector.DebuggerPresentationModel.prototype._updateAnchor):
|
| + (WebInspector.DebuggerPresentationModel.prototype.setScriptSource.didReceiveSource):
|
| + (WebInspector.DebuggerPresentationModel.prototype.setScriptSource):
|
| + (WebInspector.DebuggerPresentationModel.prototype._setBreakpointInDebugger.didGetScriptLocation):
|
| + (WebInspector.DebuggerPresentationModel.prototype._setBreakpointInDebugger):
|
| + (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
|
| + (WebInspector.DebuggerPresentationModel.prototype.set _debuggerPaused):
|
| + (WebInspector.DebuggerPresentationModel.prototype._sourceFileForScript):
|
| + (WebInspector.DebuggerPresentationModel.prototype._scriptForSourceFileId):
|
| + (WebInspector.DebuggerPresentationModel.prototype._createSourceFileId):
|
| + (WebInspector.PresenationCallFrame):
|
| + (WebInspector.PresenationCallFrame.prototype.sourceLine):
|
| + * inspector/front-end/EventListenersSidebarPane.js:
|
| + (.):
|
| + ():
|
| + * inspector/front-end/Script.js:
|
| + (WebInspector.Script):
|
| + (WebInspector.Script.prototype.requestSource):
|
| + (WebInspector.Script.prototype.editSource):
|
| + * inspector/front-end/SourceFile.js:
|
| + (WebInspector.RawSourceCode.prototype.uiLocationToRawLocation):
|
| + (WebInspector.RawSourceCode.prototype.forceLoadContent):
|
| + (WebInspector.RawSourceCode.prototype._concatenateScriptsContent):
|
| +
|
| +2011-08-04 Tommy Widenflycht <tommyw@google.com>
|
| +
|
| + MediaStream API: Rename StreamEvent to MediaStreamEvent
|
| + https://bugs.webkit.org/show_bug.cgi?id=65669
|
| +
|
| + Reviewed by Tony Gentilcore.
|
| +
|
| + * CMakeLists.txt:
|
| + * CodeGenerators.pri:
|
| + * DerivedSources.cpp:
|
| + * DerivedSources.make:
|
| + * GNUmakefile.list.am:
|
| + * WebCore.gypi:
|
| + * WebCore.pro:
|
| + * WebCore.vcproj/WebCore.vcproj:
|
| + * WebCore.xcodeproj/project.pbxproj:
|
| + * bindings/js/JSEventCustom.cpp:
|
| + (WebCore::toJS):
|
| + * bindings/v8/custom/V8EventCustom.cpp:
|
| + (WebCore::toV8):
|
| + * dom/DOMAllInOne.cpp:
|
| + * dom/Event.cpp:
|
| + (WebCore::Event::isMediaStreamEvent):
|
| + * dom/Event.h:
|
| + * p2p/MediaStreamEvent.cpp: Renamed from Source/WebCore/dom/StreamEvent.cpp.
|
| + (WebCore::MediaStreamEvent::create):
|
| + (WebCore::MediaStreamEvent::MediaStreamEvent):
|
| + (WebCore::MediaStreamEvent::~MediaStreamEvent):
|
| + (WebCore::MediaStreamEvent::initMediaStreamEvent):
|
| + (WebCore::MediaStreamEvent::stream):
|
| + * p2p/MediaStreamEvent.h: Renamed from Source/WebCore/dom/StreamEvent.h.
|
| + (WebCore::MediaStreamEvent::isMediaStreamEvent):
|
| + * p2p/MediaStreamEvent.idl: Renamed from Source/WebCore/dom/StreamEvent.idl.
|
| + * p2p/PeerConnection.cpp:
|
| + (WebCore::PeerConnection::dispatchStreamEvent):
|
| +
|
| +2011-08-02 Hans Wennborg <hans@chromium.org>
|
| +
|
| + IndexedDB: Fix index data invalidation bugs.
|
| + https://bugs.webkit.org/show_bug.cgi?id=65547
|
| +
|
| + Reviewed by Tony Chang.
|
| +
|
| + The function that checks whether a key exists in an index failed
|
| + to check whether that key was still valid or not.
|
| +
|
| + Deleting a record from an object store must also delete its exists
|
| + entry, thus invalidating index keys pointing to that record.
|
| +
|
| + Test: storage/indexeddb/index-unique.html
|
| +
|
| + * storage/IDBLevelDBBackingStore.cpp:
|
| + (WebCore::IDBLevelDBBackingStore::deleteObjectStoreRecord):
|
| + (WebCore::findKeyInIndex):
|
| + (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex):
|
| + (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
|
| + (WebCore::CursorOptions::IndexKeyCursorImpl::loadCurrentRow):
|
| +
|
| +2011-08-04 Alexandru Chiculita <achicu@adobe.com>
|
| +
|
| + Move PODIntervalTree to Source/WebCore/platform
|
| + https://bugs.webkit.org/show_bug.cgi?id=65667
|
| +
|
| + It seems the files were not part of any project, so no project files were modified.
|
| +
|
| + Reviewed by Adam Barth.
|
| +
|
| + No new tests, just moving files from one folder to the other.
|
| +
|
| + * platform/PODArena.h: Renamed from Source/WebCore/platform/graphics/gpu/PODArena.h.
|
| + (WebCore::PODArena::Allocator::~Allocator):
|
| + (WebCore::PODArena::FastMallocAllocator::create):
|
| + (WebCore::PODArena::FastMallocAllocator::allocate):
|
| + (WebCore::PODArena::FastMallocAllocator::free):
|
| + (WebCore::PODArena::FastMallocAllocator::FastMallocAllocator):
|
| + (WebCore::PODArena::create):
|
| + (WebCore::PODArena::allocateObject):
|
| + (WebCore::PODArena::~PODArena):
|
| + (WebCore::PODArena::PODArena):
|
| + (WebCore::PODArena::minAlignment):
|
| + (WebCore::PODArena::allocateBase):
|
| + (WebCore::PODArena::roundUp):
|
| + (WebCore::PODArena::Chunk::Chunk):
|
| + (WebCore::PODArena::Chunk::~Chunk):
|
| + (WebCore::PODArena::Chunk::allocate):
|
| + * platform/PODInterval.h: Renamed from Source/WebCore/platform/graphics/gpu/PODInterval.h.
|
| + (WebCore::PODInterval::PODInterval):
|
| + (WebCore::PODInterval::low):
|
| + (WebCore::PODInterval::high):
|
| + (WebCore::PODInterval::data):
|
| + (WebCore::PODInterval::overlaps):
|
| + (WebCore::PODInterval::operator<):
|
| + (WebCore::PODInterval::operator==):
|
| + (WebCore::PODInterval::maxHigh):
|
| + (WebCore::PODInterval::setMaxHigh):
|
| + (WebCore::PODInterval::toString):
|
| + * platform/PODIntervalTree.h: Renamed from Source/WebCore/platform/graphics/gpu/PODIntervalTree.h.
|
| + (WebCore::PODIntervalTree::PODIntervalTree):
|
| + (WebCore::PODIntervalTree::allOverlaps):
|
| + (WebCore::PODIntervalTree::createInterval):
|
| + (WebCore::PODIntervalTree::checkInvariants):
|
| + (WebCore::PODIntervalTree::init):
|
| + (WebCore::PODIntervalTree::searchForOverlapsFrom):
|
| + (WebCore::PODIntervalTree::updateNode):
|
| + (WebCore::PODIntervalTree::checkInvariantsFromNode):
|
| + * platform/PODRedBlackTree.h: Renamed from Source/WebCore/platform/graphics/gpu/PODRedBlackTree.h.
|
| + (WebCore::PODRedBlackTree::Visitor::~Visitor):
|
| + (WebCore::PODRedBlackTree::PODRedBlackTree):
|
| + (WebCore::PODRedBlackTree::~PODRedBlackTree):
|
| + (WebCore::PODRedBlackTree::add):
|
| + (WebCore::PODRedBlackTree::remove):
|
| + (WebCore::PODRedBlackTree::contains):
|
| + (WebCore::PODRedBlackTree::visitInorder):
|
| + (WebCore::PODRedBlackTree::size):
|
| + (WebCore::PODRedBlackTree::setNeedsFullOrderingComparisons):
|
| + (WebCore::PODRedBlackTree::checkInvariants):
|
| + (WebCore::PODRedBlackTree::dump):
|
| + (WebCore::PODRedBlackTree::setVerboseDebugging):
|
| + (WebCore::PODRedBlackTree::Node::Node):
|
| + (WebCore::PODRedBlackTree::Node::~Node):
|
| + (WebCore::PODRedBlackTree::Node::color):
|
| + (WebCore::PODRedBlackTree::Node::setColor):
|
| + (WebCore::PODRedBlackTree::Node::data):
|
| + (WebCore::PODRedBlackTree::Node::copyFrom):
|
| + (WebCore::PODRedBlackTree::Node::left):
|
| + (WebCore::PODRedBlackTree::Node::setLeft):
|
| + (WebCore::PODRedBlackTree::Node::right):
|
| + (WebCore::PODRedBlackTree::Node::setRight):
|
| + (WebCore::PODRedBlackTree::Node::parent):
|
| + (WebCore::PODRedBlackTree::Node::setParent):
|
| + (WebCore::PODRedBlackTree::root):
|
| + (WebCore::PODRedBlackTree::updateNode):
|
| + (WebCore::PODRedBlackTree::treeSearch):
|
| + (WebCore::PODRedBlackTree::treeSearchNormal):
|
| + (WebCore::PODRedBlackTree::treeSearchFullComparisons):
|
| + (WebCore::PODRedBlackTree::treeInsert):
|
| + (WebCore::PODRedBlackTree::treeSuccessor):
|
| + (WebCore::PODRedBlackTree::treeMinimum):
|
| + (WebCore::PODRedBlackTree::propagateUpdates):
|
| + (WebCore::PODRedBlackTree::leftRotate):
|
| + (WebCore::PODRedBlackTree::rightRotate):
|
| + (WebCore::PODRedBlackTree::insertNode):
|
| + (WebCore::PODRedBlackTree::deleteFixup):
|
| + (WebCore::PODRedBlackTree::deleteNode):
|
| + (WebCore::PODRedBlackTree::visitInorderImpl):
|
| + (WebCore::PODRedBlackTree::Counter::Counter):
|
| + (WebCore::PODRedBlackTree::Counter::visit):
|
| + (WebCore::PODRedBlackTree::Counter::count):
|
| + (WebCore::PODRedBlackTree::checkInvariantsFromNode):
|
| + (WebCore::PODRedBlackTree::logIfVerbose):
|
| + (WebCore::PODRedBlackTree::dumpFromNode):
|
| +
|
| +2011-08-03 Alice Boxhall <aboxhall@chromium.org>
|
| +
|
| + An element with role=textbox should have settable AXValue unless read-only
|
| + https://bugs.webkit.org/show_bug.cgi?id=65664
|
| +
|
| + Reviewed by Chris Fleizach.
|
| +
|
| + * accessibility/AccessibilityRenderObject.cpp:
|
| + (WebCore::AccessibilityRenderObject::canSetValueAttribute):
|
| + Return true for non-native text field with aria-readonly not set.
|
| +
|
| +2011-08-03 Luke Macpherson <macpherson@chromium.org>
|
| +
|
| + Clean up value clamping in CSSStyleSelector.
|
| + https://bugs.webkit.org/show_bug.cgi?id=65588
|
| +
|
| + Reviewed by Darin Adler.
|
| +
|
| + No new tests / trivial code cleanup only.
|
| +
|
| + * css/CSSStyleSelector.cpp:
|
| + (WebCore::CSSStyleSelector::applyProperty):
|
| + Replace (unsigned int)primitiveValue->getDoubleValue() with primtiveValue->getValue<unsigned>() for correct clamping.
|
| + Replace clampToInteger(primitiveValue->getDoubleValue()) with primitiveValue->getIntValue().
|
| +
|
| +2011-08-03 Kent Tamura <tkent@chromium.org>
|
| +
|
| + Fix incorrect checks for HTMLMediaElement
|
| + https://bugs.webkit.org/show_bug.cgi?id=65590
|
| +
|
| + Reviewed by Dimitri Glazkov.
|
| +
|
| + <video> and <audio> can be an HTMLElement instance instead of
|
| + HTMLMediaElement if MediaPlayer::isAvailable() returns false or
|
| + the media feature is disabled at runtime.
|
| +
|
| + * html/HTMLSourceElement.cpp:
|
| + (WebCore::HTMLSourceElement::insertedIntoTree):
|
| + (WebCore::HTMLSourceElement::willRemove):
|
| + * html/HTMLTrackElement.cpp:
|
| + (WebCore::HTMLTrackElement::insertedIntoTree):
|
| + (WebCore::HTMLTrackElement::willRemove):
|
| + * html/shadow/MediaControlElements.cpp:
|
| + (WebCore::toParentMediaElement):
|
| + * page/FrameView.cpp:
|
| + (WebCore::FrameView::updateWidget):
|
| + * platform/efl/RenderThemeEfl.cpp:
|
| + (WebCore::RenderThemeEfl::paintMediaMuteButton):
|
| + * platform/gtk/RenderThemeGtk.cpp:
|
| + (WebCore::getMediaElementFromRenderObject):
|
| + * rendering/RenderThemeMac.mm:
|
| + (WebCore::RenderThemeMac::paintMediaSliderTrack):
|
| + * rendering/RenderThemeWinCE.cpp:
|
| + (WebCore::mediaElementParent):
|
| +
|
| 2011-08-03 Sailesh Agrawal <sail@chromium.org>
|
|
|
| Chromium Mac: Fix position of search tickmarks
|
|
|