| Index: WebCore/ChangeLog
|
| ===================================================================
|
| --- WebCore/ChangeLog (revision 10232)
|
| +++ WebCore/ChangeLog (working copy)
|
| @@ -1,3 +1,290 @@
|
| +2009-02-24 Alexey Proskuryakov <ap@webkit.org>
|
| +
|
| + Reviewed by Darin Adler.
|
| +
|
| + https://bugs.webkit.org/show_bug.cgi?id=24091
|
| + <rdar://problem/6468660> Start of redirect chain ends up as master entry in Application Cache
|
| +
|
| + Test: http/tests/appcache/access-via-redirect.php
|
| +
|
| + * loader/appcache/ApplicationCacheGroup.cpp:
|
| + (WebCore::ApplicationCacheGroup::finishedLoadingMainResource): Use the URL we ended up with,
|
| + not the original one.
|
| +
|
| +2009-02-24 Jian Li <jianli@chromium.org>
|
| +
|
| + Reviewed by Alexey Proskuryakov.
|
| +
|
| + Change to include WorkerObjectProxy.h instead of WorkerMessagingProxy.h in WorkerContext.cpp and WorkerScriptController.cpp.
|
| + https://bugs.webkit.org/show_bug.cgi?id=24112
|
| +
|
| + * bindings/js/WorkerScriptController.cpp:
|
| + * dom/WorkerContext.cpp:
|
| +
|
| +2009-02-23 Antti Koivisto <antti@apple.com>
|
| +
|
| + Reviewed by Oliver Hunt.
|
| +
|
| + <rdar://problem/6613796> Extended text codecs registered on webview creation
|
| +
|
| + Comparing a text encoding with string "GBK" ended up constructing
|
| + TextEncoding("GBK") which in turn initialized all extended
|
| + text codecs.
|
| +
|
| + * platform/text/TextCodecICU.cpp:
|
| + (WebCore::TextCodecICU::decode):
|
| +
|
| +2009-02-23 Sam Weinig <sam@webkit.org>
|
| +
|
| + Fix Qt build.
|
| +
|
| + * bridge/qt/qt_runtime.cpp:
|
| + (JSC::Bindings::valueRealType):
|
| +
|
| +2009-02-23 Julien Chaffraix <jchaffraix@webkit.org>
|
| +
|
| + Reviewed by Darin Adler.
|
| +
|
| + Bug 23956: Safari crashes when cloneNode fails (cloning a XML element with an invalid nodeName)
|
| +
|
| + The crash occurred because Document::cloneNode would call Document::createElementNS. Unfortunately
|
| + element created with createElement could have a wrong nodeName (createElement sets the string as the
|
| + localName without checking for a prefix).
|
| +
|
| + The fix is to call Document::createElement(const QualifiedName&, bool) that will not do any checks on the QualifiedName
|
| + and will always succeed.
|
| + Also rolled-out the HTMLElement specialisation of clonedNode as it was equivalent to what is done now (added an ASSERT
|
| + to ensure that).
|
| +
|
| + Test: fast/dom/cloneNode.html
|
| +
|
| + * dom/Element.cpp:
|
| + (WebCore::Element::cloneNode): Call createElement(const QualifiedName&, bool) instead of createElementNS as it will
|
| + always return an element.
|
| +
|
| + * html/HTMLElement.cpp:
|
| + * html/HTMLElement.h: Removed HTMLElement::clonedNode as it is equivalent to what is now done.
|
| +
|
| +2009-02-23 Dimitri Glazkov <dglazkov@chromium.org>
|
| +
|
| + Reviewed by Eric Seidel.
|
| +
|
| + https://bugs.webkit.org/show_bug.cgi?id=24109
|
| + Upstream V8 Script abstractions, all except ScriptController.
|
| +
|
| + * bindings/v8/ScriptCachedFrameData.h: Added.
|
| + (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
|
| + (WebCore::ScriptCachedFrameData::~ScriptCachedFrameData):
|
| + (WebCore::ScriptCachedFrameData::restore):
|
| + (WebCore::ScriptCachedFrameData::clear):
|
| + (WebCore::ScriptCachedFrameData::domWindow):
|
| + * bindings/v8/ScriptCallFrame.cpp: Added.
|
| + (WebCore::ScriptCallFrame::ScriptCallFrame):
|
| + (WebCore::ScriptCallFrame::~ScriptCallFrame):
|
| + (WebCore::ScriptCallFrame::argumentAt):
|
| + * bindings/v8/ScriptCallFrame.h: Added.
|
| + (WebCore::ScriptCallFrame::functionName):
|
| + (WebCore::ScriptCallFrame::sourceURL):
|
| + (WebCore::ScriptCallFrame::lineNumber):
|
| + (WebCore::ScriptCallFrame::argumentCount):
|
| + * bindings/v8/ScriptCallStack.cpp: Added.
|
| + (WebCore::ScriptCallStack::ScriptCallStack):
|
| + (WebCore::ScriptCallStack::~ScriptCallStack):
|
| + (WebCore::ScriptCallStack::at):
|
| + * bindings/v8/ScriptCallStack.h: Added.
|
| + (WebCore::ScriptCallStack::size):
|
| + * bindings/v8/ScriptInstance.cpp: Added.
|
| + (WebCore::V8ScriptInstance::V8ScriptInstance):
|
| + (WebCore::V8ScriptInstance::~V8ScriptInstance):
|
| + (WebCore::V8ScriptInstance::instance):
|
| + (WebCore::V8ScriptInstance::clear):
|
| + (WebCore::V8ScriptInstance::set):
|
| + * bindings/v8/ScriptInstance.h: Added.
|
| + (WebCore::V8ScriptInstance::create):
|
| + * bindings/v8/ScriptSourceCode.h: Added.
|
| + (WebCore::ScriptSourceCode::ScriptSourceCode):
|
| + (WebCore::ScriptSourceCode::isEmpty):
|
| + (WebCore::ScriptSourceCode::source):
|
| + (WebCore::ScriptSourceCode::url):
|
| + (WebCore::ScriptSourceCode::startLine):
|
| + * bindings/v8/ScriptState.h: Added.
|
| + (WebCore::ScriptState::hadException):
|
| + (WebCore::ScriptState::setException):
|
| + (WebCore::ScriptState::exception):
|
| + * bindings/v8/ScriptString.h: Added.
|
| + (WebCore::ScriptString::ScriptString):
|
| + (WebCore::ScriptString::operator String):
|
| + (WebCore::ScriptString::isNull):
|
| + (WebCore::ScriptString::size):
|
| + (WebCore::ScriptString::operator=):
|
| + (WebCore::ScriptString::operator+=):
|
| + * bindings/v8/ScriptValue.cpp: Added.
|
| + (WebCore::ScriptValue::getString):
|
| + * bindings/v8/ScriptValue.h: Added.
|
| + (WebCore::ScriptValue::ScriptValue):
|
| + (WebCore::ScriptValue::operator=):
|
| + (WebCore::ScriptValue::operator==):
|
| + (WebCore::ScriptValue::operator!=):
|
| + (WebCore::ScriptValue::isNull):
|
| + (WebCore::ScriptValue::isUndefined):
|
| + (WebCore::ScriptValue::clear):
|
| + (WebCore::ScriptValue::~ScriptValue):
|
| + (WebCore::ScriptValue::v8Value):
|
| +
|
| +2009-02-23 Adam Treat <adam.treat@torchmobile.com>
|
| +
|
| + Reviewed by Timothy Hatcher.
|
| +
|
| + https://bugs.webkit.org/show_bug.cgi?id=24106
|
| + The Qt port is crashing on exit because the tear down procedure involves
|
| + the WebCore::InspectorController trying to access the JS execution context
|
| + for a page that is being deleted. This patch amends the inspector so
|
| + that it does not try and access the execution context of the WebCore::Page
|
| + in the midst of deletion.
|
| +
|
| + * inspector/InspectorController.cpp:
|
| + (WebCore::InspectorController::inspectedPageDestroyed):
|
| + (WebCore::InspectorController::stopUserInitiatedProfiling):
|
| +
|
| +2009-02-23 David Levin <levin@chromium.org>
|
| +
|
| + Reviewed by Alexey Proskuryakov.
|
| +
|
| + Bug 24088: ThreadableLoaderClient::didFailWillSendRequestCheck isn't wired up completely for workers and could use a better name.
|
| + <https://bugs.webkit.org/show_bug.cgi?id=24088>
|
| +
|
| + No observable change in behavior, so no test.
|
| +
|
| + * loader/DocumentThreadableLoader.cpp:
|
| + (WebCore::DocumentThreadableLoader::create):
|
| + * loader/ThreadableLoaderClient.h:
|
| + (WebCore::ThreadableLoaderClient::didFailRedirectCheck):
|
| + * loader/ThreadableLoaderClientWrapper.h:
|
| + (WebCore::ThreadableLoaderClientWrapper::didFailRedirectCheck):
|
| + * loader/WorkerThreadableLoader.cpp:
|
| + (WebCore::workerContextDidFailRedirectCheck):
|
| + (WebCore::WorkerThreadableLoader::MainThreadBridge::didFailRedirectCheck):
|
| + * loader/WorkerThreadableLoader.h:
|
| + * xml/XMLHttpRequest.cpp:
|
| + (WebCore::XMLHttpRequest::didFinishLoading):
|
| + * xml/XMLHttpRequest.h:
|
| +
|
| +2009-02-23 David Levin <levin@chromium.org>
|
| +
|
| + Reviewed by Alexey Proskuryakov.
|
| +
|
| + Bug 24047: Need to simplify nested if's in WorkerRunLoop::runInMode
|
| + <https://bugs.webkit.org/show_bug.cgi?id=24047>
|
| +
|
| + Made a nested if inside of WorkerRunLoop::runInMode a lot simpler by
|
| + using only MessageQueue::waitForMessageFilteredWithTimeout instead
|
| + of three different MessageQueue methods.
|
| +
|
| + No observable change in behavior, so no test.
|
| +
|
| + * dom/WorkerRunLoop.cpp:
|
| + (WebCore::ModePredicate::operator()):
|
| + Minor clean-up to able to pass a const ref point for ModePredicate into runInMode.
|
| + (WebCore::WorkerRunLoop::runInMode):
|
| + * dom/WorkerRunLoop.h:
|
| +
|
| +2009-02-23 David Hyatt <hyatt@apple.com>
|
| +
|
| + In preparation for making layers for multicol objects (so that they can properly split child layers
|
| + into multiple columns), rename all of the "overflowOnly" and "overflowList" members and functions
|
| + of RenderLayer to use the term "normal flow" instead.
|
| +
|
| + Reviewed by Cameron Zwarich
|
| +
|
| + * rendering/RenderLayer.cpp:
|
| + (WebCore::RenderLayer::RenderLayer):
|
| + (WebCore::RenderLayer::~RenderLayer):
|
| + (WebCore::RenderLayer::setHasVisibleContent):
|
| + (WebCore::RenderLayer::enclosingCompositingLayer):
|
| + (WebCore::RenderLayer::addChild):
|
| + (WebCore::RenderLayer::removeChild):
|
| + (WebCore::RenderLayer::paintLayer):
|
| + (WebCore::RenderLayer::hitTestLayer):
|
| + (WebCore::RenderLayer::dirtyNormalFlowList):
|
| + (WebCore::RenderLayer::updateNormalFlowList):
|
| + (WebCore::RenderLayer::collectLayers):
|
| + (WebCore::RenderLayer::updateLayerListsIfNeeded):
|
| + (WebCore::RenderLayer::shouldBeNormalFlowOnly):
|
| + (WebCore::RenderLayer::styleChanged):
|
| + * rendering/RenderLayer.h:
|
| + (WebCore::RenderLayer::isNormalFlowOnly):
|
| + (WebCore::RenderLayer::normalFlowList):
|
| + * rendering/RenderTreeAsText.cpp:
|
| + (WebCore::writeLayers):
|
| +
|
| +2009-02-23 David Hyatt <hyatt@apple.com>
|
| +
|
| + Fix the stacking order for column rules in multi-column layout. Column rules should paint as part of the background of an element, just
|
| + after all other components of the background have been painted. This allows negative z-index children to still paint on top of the
|
| + column rules (rather than ending up above the background of the box but behind the column rules).
|
| +
|
| + Reviewed by Eric Seidel
|
| +
|
| + Added fast/multicol/column-rules-stacking.html
|
| +
|
| + * rendering/RenderBlock.cpp:
|
| + (WebCore::RenderBlock::paintColumnRules):
|
| + (WebCore::RenderBlock::paintColumnContents):
|
| + (WebCore::RenderBlock::paintObject):
|
| + * rendering/RenderBlock.h:
|
| +
|
| +2009-02-23 Adam Treat <adam.treat@torchmobile.com>
|
| +
|
| + Reviewed by David Hyatt.
|
| +
|
| + No testcases have been added or modified since this patch should not result in
|
| + a behavior change for ports that have layout tests enabled.
|
| +
|
| + Currently, the implementation of GraphicsContext::drawLineForText amongst
|
| + the various ports differ in that some of them are honoring the context's
|
| + strokeStyle when drawing a text-decoration and some of them are not.
|
| + For instance, Apple's Mac port *does not* honor the context's strokeStyle(),
|
| + but the Cairo implementation does and has an explicit workaround that
|
| + sets the strokeStyle() temporarily.
|
| +
|
| + This patch fixes so that all ports are consistent by explicitly making sure
|
| + to set the GraphicsContext strokeStyle to SolidStroke whenever
|
| + painting the text-decoration of an InlineFlowBox or InlineTextBox as these
|
| + should always use a solid stroke.
|
| +
|
| + This patch addresses these bugs:
|
| + https://bugs.webkit.org/show_bug.cgi?id=19364
|
| + https://bugs.webkit.org/show_bug.cgi?id=15659
|
| +
|
| + * rendering/InlineFlowBox.cpp:
|
| + (WebCore::InlineFlowBox::paintTextDecorations):
|
| + * rendering/InlineTextBox.cpp:
|
| + (WebCore::InlineTextBox::paintDecoration):
|
| +
|
| +2009-02-23 Scott Violet <sky@google.com>
|
| +
|
| + Reviewed by Eric Seidel.
|
| +
|
| + https://bugs.webkit.org/show_bug.cgi?id=24098
|
| + Bugs in ClipboardChromium
|
| +
|
| + Fixes the following bugs in ClipboardChromium:
|
| + * It's possible for the extension to be empty, resulting in a bad file
|
| + name, for example, 'foo.' or just '.'.
|
| + * We weren't restricting the size of the file to MAX_PATH.
|
| + * We weren't removing characters that are invalid for file system names.
|
| +
|
| + * platform/chromium/ClipboardChromium.cpp:
|
| + (WebCore::writeImageToDataObject):
|
| + * platform/chromium/ClipboardChromium.h:
|
| + * platform/chromium/ClipboardChromiumLinux.cpp: Added.
|
| + (WebCore::ClipboardChromium::validateFileName):
|
| + * platform/chromium/ClipboardChromiumMac.cpp: Added.
|
| + (WebCore::ClipboardChromium::validateFileName):
|
| + * platform/chromium/ClipboardChromiumWin.cpp: Added.
|
| + (WebCore::isInvalidFileCharacter):
|
| + (WebCore::ClipboardChromium::validateFileName):
|
| +
|
| 2009-02-23 Thiago Macieira <thiago.macieira@nokia.com>
|
|
|
| Reviewed by Simon Hausmann.
|
|
|